scanbot-web-sdk 6.0.0-dev.6 → 7.0.0-dev.2
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/BarcodeDocumentModel.d.ts +1421 -0
- 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/CheckDocumentModel.d.ts +130 -0
- 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/CreditCardDocumentModel.d.ts +16 -0
- 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/DocumentsModel.d.ts +489 -0
- 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} +20 -39
- package/@types/core/bridge/compiled/TiffTypes.d.ts +48 -50
- package/@types/core/bridge/compiled/VinScannerTypes.d.ts +79 -0
- package/@types/core/bridge/worker-bridge.d.ts +512 -374
- package/@types/core/worker/ScanbotSDK.Core.d.ts +28 -22
- package/@types/core-types.d.ts +15 -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 +37 -24
- 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 +4 -4
- package/@types/scanbot-sdk.d.ts +276 -210
- 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/service/vin-scanner.d.ts +16 -0
- package/@types/{text-data-scanner-view.d.ts → text-pattern-scanner-view.d.ts} +10 -10
- 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 +6 -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 +2 -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 +522 -384
- package/Libraries.txt +1510 -36
- package/bundle/ScanbotSDK.min.js +5 -5
- 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
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { DeepPartial, PartiallyConstructible } from "../common";
|
|
2
|
-
import { DocumentDetectionResult } from "./
|
|
2
|
+
import { DocumentDetectionResult } from "./DocumentScannerTypes";
|
|
3
3
|
import { Point } from "../common";
|
|
4
4
|
import { RawImage } from "../common";
|
|
5
5
|
/**
|
|
6
|
-
Parameters for the medical certificate
|
|
6
|
+
Parameters for the medical certificate scanning. The scanner supports
|
|
7
7
|
Form 1 (Arbeitsunfähigkeitsbescheinigung) and
|
|
8
8
|
Form 21a (Ärztliche Bescheinigung für den Bezug von Krankengeld bei Erkrankung eines Kindes)
|
|
9
9
|
from the KBV (Kassenärztliche Bundesvereinigung) list of forms.
|
|
10
|
-
|
|
11
10
|
*/
|
|
12
|
-
export declare class
|
|
11
|
+
export declare class MedicalCertificateScanningParameters extends PartiallyConstructible {
|
|
13
12
|
/**
|
|
14
13
|
Document will be detected and cropped before recognition.
|
|
15
14
|
If false, a cropped image of a document is assumed.
|
|
@@ -35,70 +34,71 @@ export declare class RecognitionParameters extends PartiallyConstructible {
|
|
|
35
34
|
*/
|
|
36
35
|
extractCroppedImage: boolean;
|
|
37
36
|
/**
|
|
38
|
-
If true, the image is sharpened before processing
|
|
37
|
+
If true, the image is sharpened before processing.
|
|
39
38
|
@defaultValue false;
|
|
40
39
|
*/
|
|
41
40
|
preprocessInput: boolean;
|
|
42
|
-
/** @param source {@displayType `DeepPartial<
|
|
43
|
-
constructor(source?: DeepPartial<
|
|
41
|
+
/** @param source {@displayType `DeepPartial<MedicalCertificateScanningParameters>`} */
|
|
42
|
+
constructor(source?: DeepPartial<MedicalCertificateScanningParameters>);
|
|
44
43
|
}
|
|
45
44
|
/**
|
|
46
|
-
Type of the checkbox
|
|
45
|
+
Type of the checkbox.
|
|
47
46
|
|
|
48
47
|
- `UNKNOWN`:
|
|
49
|
-
Unknown checkbox type
|
|
48
|
+
Unknown checkbox type.
|
|
50
49
|
- `WORK_ACCIDENT`:
|
|
51
|
-
(Form 1) Work accident (Arbeitsunfall, Arbeitsunfall-folgen, Berufskrankheit) checkbox
|
|
50
|
+
(Form 1) Work accident (Arbeitsunfall, Arbeitsunfall-folgen, Berufskrankheit) checkbox.
|
|
52
51
|
- `ASSIGNED_TO_ACCIDENT_INSURANCE_DOCTOR`:
|
|
53
|
-
(Form 1) Assigned to accident insurance doctor (dem Durchgangsarzt zugewiesen) checkbox
|
|
52
|
+
(Form 1) Assigned to accident insurance doctor (dem Durchgangsarzt zugewiesen) checkbox.
|
|
54
53
|
- `INITIAL_CERTIFICATE`:
|
|
55
|
-
(Form 1) Initial certificate (Erstbescheinigung) checkbox
|
|
54
|
+
(Form 1) Initial certificate (Erstbescheinigung) checkbox.
|
|
56
55
|
- `RENEWED_CERTIFICATE`:
|
|
57
|
-
(Form 1) Renewed certificate (Folgebescheinigung) checkbox
|
|
56
|
+
(Form 1) Renewed certificate (Folgebescheinigung) checkbox.
|
|
58
57
|
- `INSURED_PAY_CASE`:
|
|
59
|
-
(Form 1) Insured pay case (ab 7. AU-Woche oder sonstiger Krankengeldfall) checkbox
|
|
58
|
+
(Form 1) Insured pay case (ab 7. AU-Woche oder sonstiger Krankengeldfall) checkbox.
|
|
60
59
|
- `FINAL_CERTIFICATE`:
|
|
61
|
-
(Form 1) Final certificate (Endbescheinigung) checkbox
|
|
60
|
+
(Form 1) Final certificate (Endbescheinigung) checkbox.
|
|
62
61
|
- `REQUIRES_CARE_YES`:
|
|
63
|
-
(Form 21a) Requires care yes (Die Art der Erkrankung macht die Betreuung und Beaufsichtigung notwendig... ja) checkbox
|
|
62
|
+
(Form 21a) Requires care yes (Die Art der Erkrankung macht die Betreuung und Beaufsichtigung notwendig... ja) checkbox.
|
|
64
63
|
- `REQUIRES_CARE_NO`:
|
|
65
|
-
(Form 21a) Requires care no (Die Art der Erkrankung macht die Betreuung und Beaufsichtigung notwendig... nein) checkbox
|
|
64
|
+
(Form 21a) Requires care no (Die Art der Erkrankung macht die Betreuung und Beaufsichtigung notwendig... nein) checkbox.
|
|
66
65
|
- `ACCIDENT_YES`:
|
|
67
|
-
(Form 21a) Accident yes (Unfall... ja) checkbox
|
|
66
|
+
(Form 21a) Accident yes (Unfall... ja) checkbox.
|
|
68
67
|
- `ACCIDENT_NO`:
|
|
69
|
-
(Form 21a) Accident no (Unfall... nein) checkbox
|
|
68
|
+
(Form 21a) Accident no (Unfall... nein) checkbox.
|
|
70
69
|
- `OTHER_ACCIDENT`:
|
|
71
|
-
(Form 1) Other accident (Sonstiger Unfall, Unfallfolgen) checkbox
|
|
70
|
+
(Form 1) Other accident (Sonstiger Unfall, Unfallfolgen) checkbox.
|
|
72
71
|
- `ENTITLEMENT_TO_CONTINUED_PAYMENT_YES`:
|
|
73
|
-
(Form 21a) Entitlement to continued payment yes (Anspruch auf Entgeltfortzahlung) checkbox
|
|
72
|
+
(Form 21a) Entitlement to continued payment yes (Anspruch auf Entgeltfortzahlung) checkbox.
|
|
74
73
|
- `ENTITLEMENT_TO_CONTINUED_PAYMENT_NO`:
|
|
75
|
-
(Form 21a) Entitlement to continued payment no (keinen Anspruch auf Entgeltfortzahlung) checkbox
|
|
74
|
+
(Form 21a) Entitlement to continued payment no (keinen Anspruch auf Entgeltfortzahlung) checkbox.
|
|
76
75
|
- `SICK_PAY_WAS_CLAIMED_NO`:
|
|
77
|
-
(Form 21a) Sick pay was claimed no (Krankengeld aus Anlass einer früheren Erkrankung des umseitig genannten Kindes wurde in diesem Kalenderjahr NICHT bezogen) checkbox
|
|
76
|
+
(Form 21a) Sick pay was claimed no (Krankengeld aus Anlass einer früheren Erkrankung des umseitig genannten Kindes wurde in diesem Kalenderjahr NICHT bezogen) checkbox.
|
|
78
77
|
- `SICK_PAY_WAS_CLAIMED_YES`:
|
|
79
|
-
(Form 21a) Sick pay was claimed yes (Krankengeld aus Anlass einer früheren Erkrankung des umseitig genannten Kindes wurde in diesem Kalenderjahr bezogen) checkbox
|
|
78
|
+
(Form 21a) Sick pay was claimed yes (Krankengeld aus Anlass einer früheren Erkrankung des umseitig genannten Kindes wurde in diesem Kalenderjahr bezogen) checkbox.
|
|
80
79
|
- `SINGLE_PARENT_NO`:
|
|
81
|
-
(Form 21a) Single parent no (Ich bin Alleinerziehende(r)... nein) checkbox
|
|
80
|
+
(Form 21a) Single parent no (Ich bin Alleinerziehende(r)... nein) checkbox.
|
|
82
81
|
- `SINGLE_PARENT_YES`:
|
|
83
|
-
(Form 21a) Single parent yes (Ich bin Alleinerziehende(r)... ja) checkbox
|
|
82
|
+
(Form 21a) Single parent yes (Ich bin Alleinerziehende(r)... ja) checkbox.
|
|
84
83
|
*/
|
|
85
|
-
export type
|
|
84
|
+
export type MedicalCertificateCheckBoxType = "UNKNOWN" | "WORK_ACCIDENT" | "ASSIGNED_TO_ACCIDENT_INSURANCE_DOCTOR" | "INITIAL_CERTIFICATE" | "RENEWED_CERTIFICATE" | "INSURED_PAY_CASE" | "FINAL_CERTIFICATE" | "REQUIRES_CARE_YES" | "REQUIRES_CARE_NO" | "ACCIDENT_YES" | "ACCIDENT_NO" | "OTHER_ACCIDENT" | "ENTITLEMENT_TO_CONTINUED_PAYMENT_YES" | "ENTITLEMENT_TO_CONTINUED_PAYMENT_NO" | "SICK_PAY_WAS_CLAIMED_NO" | "SICK_PAY_WAS_CLAIMED_YES" | "SINGLE_PARENT_NO" | "SINGLE_PARENT_YES";
|
|
85
|
+
export declare const MedicalCertificateCheckBoxTypeValues: MedicalCertificateCheckBoxType[];
|
|
86
86
|
/**
|
|
87
|
-
Structure to contain full information about found box
|
|
87
|
+
Structure to contain full information about found box.
|
|
88
88
|
*/
|
|
89
|
-
export declare class
|
|
89
|
+
export declare class MedicalCertificateCheckBox extends PartiallyConstructible {
|
|
90
90
|
/**
|
|
91
|
-
Box type
|
|
91
|
+
Box type.
|
|
92
92
|
@defaultValue "UNKNOWN";
|
|
93
93
|
*/
|
|
94
|
-
readonly type:
|
|
94
|
+
readonly type: MedicalCertificateCheckBoxType;
|
|
95
95
|
/**
|
|
96
|
-
True if the box is checked
|
|
96
|
+
True if the box is checked.
|
|
97
97
|
@defaultValue false;
|
|
98
98
|
*/
|
|
99
99
|
readonly checked: boolean;
|
|
100
100
|
/**
|
|
101
|
-
Confidence of the checked/unchecked prediction
|
|
101
|
+
Confidence of the checked/unchecked prediction.
|
|
102
102
|
@defaultValue 0.0;
|
|
103
103
|
*/
|
|
104
104
|
readonly checkedConfidence: number;
|
|
@@ -106,98 +106,100 @@ export declare class CheckBox extends PartiallyConstructible {
|
|
|
106
106
|
Points of the box
|
|
107
107
|
*/
|
|
108
108
|
readonly quad: Point[];
|
|
109
|
-
/** @param source {@displayType `DeepPartial<
|
|
110
|
-
constructor(source?: DeepPartial<
|
|
109
|
+
/** @param source {@displayType `DeepPartial<MedicalCertificateCheckBox>`} */
|
|
110
|
+
constructor(source?: DeepPartial<MedicalCertificateCheckBox>);
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
113
|
-
Type of a date record
|
|
113
|
+
Type of a date record.
|
|
114
114
|
|
|
115
115
|
- `INCAPABLE_OF_WORK_SINCE`:
|
|
116
|
-
(Form 1) Incapable of work since (arbeitsunfähig seit) date
|
|
116
|
+
(Form 1) Incapable of work since (arbeitsunfähig seit) date.
|
|
117
117
|
- `INCAPABLE_OF_WORK_UNTIL`:
|
|
118
|
-
(Form 1) Incapable of work until (voraussichtlich arbeitsunfähig bis einschließlich oder letzter Tag der Arbeitsunfähigkeit) date
|
|
118
|
+
(Form 1) Incapable of work until (voraussichtlich arbeitsunfähig bis einschließlich oder letzter Tag der Arbeitsunfähigkeit) date.
|
|
119
119
|
- `DIAGNOSED_ON`:
|
|
120
|
-
(Form 1) Diagnosed on (festgestellt am) date
|
|
120
|
+
(Form 1) Diagnosed on (festgestellt am) date.
|
|
121
121
|
- `DOCUMENT_DATE`:
|
|
122
|
-
Document date
|
|
122
|
+
Document date.
|
|
123
123
|
- `BIRTH_DATE`:
|
|
124
|
-
Birthdate (geb. am)
|
|
124
|
+
Birthdate (geb. am).
|
|
125
125
|
- `CHILD_NEEDS_CARE_FROM`:
|
|
126
|
-
(Form 21a) Child needs care from (Das genannte Kind bedarf/bedurfte vom) date
|
|
126
|
+
(Form 21a) Child needs care from (Das genannte Kind bedarf/bedurfte vom) date.
|
|
127
127
|
- `CHILD_NEEDS_CARE_UNTIL`:
|
|
128
|
-
(Form 21a) Child needs care until (Das genannte Kind bedarf/bedurfte bis einschließlich) date
|
|
128
|
+
(Form 21a) Child needs care until (Das genannte Kind bedarf/bedurfte bis einschließlich) date.
|
|
129
129
|
- `UNDEFINED`:
|
|
130
|
-
Undefined date type
|
|
130
|
+
Undefined date type.
|
|
131
131
|
*/
|
|
132
|
-
export type
|
|
132
|
+
export type MedicalCertificateDateRecordType = "INCAPABLE_OF_WORK_SINCE" | "INCAPABLE_OF_WORK_UNTIL" | "DIAGNOSED_ON" | "DOCUMENT_DATE" | "BIRTH_DATE" | "CHILD_NEEDS_CARE_FROM" | "CHILD_NEEDS_CARE_UNTIL" | "UNDEFINED";
|
|
133
|
+
export declare const MedicalCertificateDateRecordTypeValues: MedicalCertificateDateRecordType[];
|
|
133
134
|
/**
|
|
134
|
-
Structure to contain date record information
|
|
135
|
+
Structure to contain date record information.
|
|
135
136
|
*/
|
|
136
|
-
export declare class
|
|
137
|
+
export declare class MedicalCertificateDateRecord extends PartiallyConstructible {
|
|
137
138
|
/**
|
|
138
139
|
Date box
|
|
139
140
|
*/
|
|
140
141
|
readonly quad: Point[];
|
|
141
142
|
/**
|
|
142
|
-
Validated date string
|
|
143
|
+
Validated date string.
|
|
143
144
|
@defaultValue "";
|
|
144
145
|
*/
|
|
145
146
|
readonly value: string;
|
|
146
147
|
/**
|
|
147
|
-
Raw date string
|
|
148
|
+
Raw date string.
|
|
148
149
|
@defaultValue "";
|
|
149
150
|
*/
|
|
150
151
|
readonly rawString: string;
|
|
151
152
|
/**
|
|
152
|
-
Date type
|
|
153
|
+
Date type.
|
|
153
154
|
@defaultValue "UNDEFINED";
|
|
154
155
|
*/
|
|
155
|
-
readonly type:
|
|
156
|
+
readonly type: MedicalCertificateDateRecordType;
|
|
156
157
|
/**
|
|
157
|
-
Confidence in the recognized value
|
|
158
|
+
Confidence in the recognized value.
|
|
158
159
|
@defaultValue 0.0;
|
|
159
160
|
*/
|
|
160
161
|
readonly recognitionConfidence: number;
|
|
161
|
-
/** @param source {@displayType `DeepPartial<
|
|
162
|
-
constructor(source?: DeepPartial<
|
|
162
|
+
/** @param source {@displayType `DeepPartial<MedicalCertificateDateRecord>`} */
|
|
163
|
+
constructor(source?: DeepPartial<MedicalCertificateDateRecord>);
|
|
163
164
|
}
|
|
164
165
|
/**
|
|
165
|
-
Type of a field in the patient info box
|
|
166
|
+
Type of a field in the patient info box.
|
|
166
167
|
|
|
167
168
|
- `INSURANCE_PROVIDER`:
|
|
168
|
-
Insurance provider (Krankenkasse bzw. Kostenträger)
|
|
169
|
+
Insurance provider (Krankenkasse bzw. Kostenträger).
|
|
169
170
|
- `FIRST_NAME`:
|
|
170
|
-
First name (Vorname des Versicherten)
|
|
171
|
+
First name (Vorname des Versicherten).
|
|
171
172
|
- `LAST_NAME`:
|
|
172
|
-
Last name (Name des Versicherten)
|
|
173
|
+
Last name (Name des Versicherten).
|
|
173
174
|
- `ADDRESS_STRING1`:
|
|
174
|
-
First line of address
|
|
175
|
+
First line of address.
|
|
175
176
|
- `ADDRESS_STRING2`:
|
|
176
|
-
Second line of address
|
|
177
|
+
Second line of address.
|
|
177
178
|
- `DIAGNOSE`:
|
|
178
|
-
Diagnose
|
|
179
|
+
Diagnose.
|
|
179
180
|
- `HEALTH_INSURANCE_NUMBER`:
|
|
180
|
-
Number of the health insurance provider (Kostenträgerkennung)
|
|
181
|
+
Number of the health insurance provider (Kostenträgerkennung).
|
|
181
182
|
- `INSURED_PERSON_NUMBER`:
|
|
182
|
-
Personal number of the insured person (Versicherten-Nr.)
|
|
183
|
+
Personal number of the insured person (Versicherten-Nr.).
|
|
183
184
|
- `STATUS`:
|
|
184
|
-
Status
|
|
185
|
+
Status.
|
|
185
186
|
- `PLACE_OF_OPERATION_NUMBER`:
|
|
186
|
-
Number of the place of operation (Betriebsstätten-Nr.)
|
|
187
|
+
Number of the place of operation (Betriebsstätten-Nr.).
|
|
187
188
|
- `DOCTOR_NUMBER`:
|
|
188
|
-
Number of the doctor (Arzt-Nr.)
|
|
189
|
+
Number of the doctor (Arzt-Nr.).
|
|
189
190
|
- `UNDEFINED`:
|
|
190
|
-
Undefined
|
|
191
|
+
Undefined.
|
|
191
192
|
*/
|
|
192
|
-
export type
|
|
193
|
+
export type MedicalCertificatePatientInfoFieldType = "INSURANCE_PROVIDER" | "FIRST_NAME" | "LAST_NAME" | "ADDRESS_STRING1" | "ADDRESS_STRING2" | "DIAGNOSE" | "HEALTH_INSURANCE_NUMBER" | "INSURED_PERSON_NUMBER" | "STATUS" | "PLACE_OF_OPERATION_NUMBER" | "DOCTOR_NUMBER" | "UNDEFINED";
|
|
194
|
+
export declare const MedicalCertificatePatientInfoFieldTypeValues: MedicalCertificatePatientInfoFieldType[];
|
|
193
195
|
/**
|
|
194
|
-
Patient information field
|
|
196
|
+
Patient information field.
|
|
195
197
|
*/
|
|
196
|
-
export declare class
|
|
198
|
+
export declare class MedicalCertificatePatientInfoField extends PartiallyConstructible {
|
|
197
199
|
/**
|
|
198
200
|
Field type
|
|
199
201
|
*/
|
|
200
|
-
readonly type:
|
|
202
|
+
readonly type: MedicalCertificatePatientInfoFieldType;
|
|
201
203
|
/**
|
|
202
204
|
Field value
|
|
203
205
|
*/
|
|
@@ -206,13 +208,13 @@ export declare class PatientInfoField extends PartiallyConstructible {
|
|
|
206
208
|
Confidence in the recognized value
|
|
207
209
|
*/
|
|
208
210
|
readonly recognitionConfidence: number;
|
|
209
|
-
/** @param source {@displayType `DeepPartial<
|
|
210
|
-
constructor(source?: DeepPartial<
|
|
211
|
+
/** @param source {@displayType `DeepPartial<MedicalCertificatePatientInfoField>`} */
|
|
212
|
+
constructor(source?: DeepPartial<MedicalCertificatePatientInfoField>);
|
|
211
213
|
}
|
|
212
214
|
/**
|
|
213
|
-
Patient information box
|
|
215
|
+
Patient information box.
|
|
214
216
|
*/
|
|
215
|
-
export declare class
|
|
217
|
+
export declare class MedicalCertificatePatientInfoBox extends PartiallyConstructible {
|
|
216
218
|
/**
|
|
217
219
|
Four corners of the patient info box
|
|
218
220
|
*/
|
|
@@ -220,62 +222,63 @@ export declare class PatientInfoBox extends PartiallyConstructible {
|
|
|
220
222
|
/**
|
|
221
223
|
Vector of found fields
|
|
222
224
|
*/
|
|
223
|
-
readonly fields:
|
|
225
|
+
readonly fields: MedicalCertificatePatientInfoField[];
|
|
224
226
|
/**
|
|
225
|
-
Whether the patient info box has contents
|
|
227
|
+
Whether the patient info box has contents.
|
|
226
228
|
@defaultValue false;
|
|
227
229
|
*/
|
|
228
230
|
readonly hasContents: boolean;
|
|
229
|
-
/** @param source {@displayType `DeepPartial<
|
|
230
|
-
constructor(source?: DeepPartial<
|
|
231
|
+
/** @param source {@displayType `DeepPartial<MedicalCertificatePatientInfoBox>`} */
|
|
232
|
+
constructor(source?: DeepPartial<MedicalCertificatePatientInfoBox>);
|
|
231
233
|
}
|
|
232
234
|
/**
|
|
233
|
-
Type of the medical certificate form
|
|
235
|
+
Type of the medical certificate form.
|
|
234
236
|
|
|
235
237
|
- `UNKNOWN`:
|
|
236
|
-
Unknown form type
|
|
238
|
+
Unknown form type.
|
|
237
239
|
- `FORM_1A`:
|
|
238
|
-
Form 1A
|
|
240
|
+
Form 1A.
|
|
239
241
|
- `FORM_1B`:
|
|
240
|
-
Form 1B
|
|
242
|
+
Form 1B.
|
|
241
243
|
- `FORM_1C`:
|
|
242
|
-
Form 1C
|
|
244
|
+
Form 1C.
|
|
243
245
|
- `FORM_1D`:
|
|
244
|
-
Form 1D
|
|
246
|
+
Form 1D.
|
|
245
247
|
- `FORM_21A`:
|
|
246
|
-
Form 21A
|
|
248
|
+
Form 21A.
|
|
247
249
|
- `FORM_21A_BACK`:
|
|
248
|
-
Form 21A back
|
|
250
|
+
Form 21A back.
|
|
249
251
|
- `FORM_1B_CUSTOM`:
|
|
250
|
-
Form 1B custom
|
|
252
|
+
Form 1B custom.
|
|
251
253
|
*/
|
|
252
|
-
export type
|
|
254
|
+
export type MedicalCertificateFormType = "UNKNOWN" | "FORM_1A" | "FORM_1B" | "FORM_1C" | "FORM_1D" | "FORM_21A" | "FORM_21A_BACK" | "FORM_1B_CUSTOM";
|
|
255
|
+
export declare const MedicalCertificateFormTypeValues: MedicalCertificateFormType[];
|
|
253
256
|
/**
|
|
254
|
-
The result of the medical certificate
|
|
257
|
+
The result of the medical certificate scanning.
|
|
255
258
|
*/
|
|
256
|
-
export declare class
|
|
259
|
+
export declare class MedicalCertificateScanningResult extends PartiallyConstructible {
|
|
257
260
|
/**
|
|
258
|
-
True if
|
|
261
|
+
True if scanning was successful.
|
|
259
262
|
@defaultValue false;
|
|
260
263
|
*/
|
|
261
|
-
readonly
|
|
264
|
+
readonly scanningSuccessful: boolean;
|
|
262
265
|
/**
|
|
263
266
|
Patient info box
|
|
264
267
|
*/
|
|
265
|
-
readonly patientInfoBox:
|
|
268
|
+
readonly patientInfoBox: MedicalCertificatePatientInfoBox;
|
|
266
269
|
/**
|
|
267
270
|
Found checkboxes
|
|
268
271
|
*/
|
|
269
|
-
readonly checkBoxes:
|
|
272
|
+
readonly checkBoxes: MedicalCertificateCheckBox[];
|
|
270
273
|
/**
|
|
271
274
|
Found dates
|
|
272
275
|
*/
|
|
273
|
-
readonly dates:
|
|
276
|
+
readonly dates: MedicalCertificateDateRecord[];
|
|
274
277
|
/**
|
|
275
|
-
Form type
|
|
278
|
+
Form type.
|
|
276
279
|
@defaultValue "UNKNOWN";
|
|
277
280
|
*/
|
|
278
|
-
readonly formType:
|
|
281
|
+
readonly formType: MedicalCertificateFormType;
|
|
279
282
|
/**
|
|
280
283
|
The number of 90-degree clockwise rotations that were applied to the original image.
|
|
281
284
|
The same number of counter-clockwise rotations are necessary to make the image upright again.
|
|
@@ -283,24 +286,24 @@ export declare class RecognitionResult extends PartiallyConstructible {
|
|
|
283
286
|
*/
|
|
284
287
|
readonly clockwiseRotations: number;
|
|
285
288
|
/**
|
|
286
|
-
The cropped image used for recognition
|
|
289
|
+
The cropped image used for recognition.
|
|
287
290
|
@defaultValue null;
|
|
288
291
|
*/
|
|
289
292
|
readonly croppedImage: RawImage | null;
|
|
290
293
|
/**
|
|
291
|
-
The scale factor used to scale the image to the recognition size
|
|
294
|
+
The scale factor used to scale the image to the recognition size.
|
|
292
295
|
@defaultValue 1.0;
|
|
293
296
|
*/
|
|
294
297
|
readonly scaleX: number;
|
|
295
298
|
/**
|
|
296
|
-
The scale factor used to scale the image to the recognition size
|
|
299
|
+
The scale factor used to scale the image to the recognition size.
|
|
297
300
|
@defaultValue 1.0;
|
|
298
301
|
*/
|
|
299
302
|
readonly scaleY: number;
|
|
300
303
|
/**
|
|
301
|
-
|
|
304
|
+
Result of the document detection in the input image. Is available only if the shouldCropDocument parameter is set to true.
|
|
302
305
|
*/
|
|
303
|
-
readonly
|
|
304
|
-
/** @param source {@displayType `DeepPartial<
|
|
305
|
-
constructor(source?: DeepPartial<
|
|
306
|
+
readonly documentDetectionResult: DocumentDetectionResult | null;
|
|
307
|
+
/** @param source {@displayType `DeepPartial<MedicalCertificateScanningResult>`} */
|
|
308
|
+
constructor(source?: DeepPartial<MedicalCertificateScanningResult>);
|
|
306
309
|
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { AccumulatedResultsVerifierConfiguration } from "./FrameAccumulationTypes";
|
|
2
|
+
import { DeepPartial, PartiallyConstructible } from "../common";
|
|
3
|
+
import { GenericDocument } from "./GenericDocument";
|
|
4
|
+
/**
|
|
5
|
+
Type of document containing the MRZ.
|
|
6
|
+
|
|
7
|
+
- `UNKNOWN`:
|
|
8
|
+
Undefined.
|
|
9
|
+
- `CREW_MEMBER_CERTIFICATE`:
|
|
10
|
+
Crew member certificate.
|
|
11
|
+
- `ID_CARD`:
|
|
12
|
+
ID card.
|
|
13
|
+
- `PASSPORT`:
|
|
14
|
+
Passport.
|
|
15
|
+
- `VISA`:
|
|
16
|
+
Visa card.
|
|
17
|
+
- `CH_DRIVING_LICENSE`:
|
|
18
|
+
Swiss driver license.
|
|
19
|
+
*/
|
|
20
|
+
export type MrzDocumentType = "UNKNOWN" | "CREW_MEMBER_CERTIFICATE" | "ID_CARD" | "PASSPORT" | "VISA" | "CH_DRIVING_LICENSE";
|
|
21
|
+
export declare const MrzDocumentTypeValues: MrzDocumentType[];
|
|
22
|
+
/**
|
|
23
|
+
Container for result of MRZ scanning attempt.
|
|
24
|
+
*/
|
|
25
|
+
export declare class MrzScannerResult extends PartiallyConstructible {
|
|
26
|
+
/**
|
|
27
|
+
Scanning successful.
|
|
28
|
+
@defaultValue false;
|
|
29
|
+
*/
|
|
30
|
+
readonly success: boolean;
|
|
31
|
+
/**
|
|
32
|
+
Raw string value of MRZ
|
|
33
|
+
*/
|
|
34
|
+
readonly rawMRZ: string;
|
|
35
|
+
/**
|
|
36
|
+
Generic document containing MRZ data
|
|
37
|
+
*/
|
|
38
|
+
readonly document: GenericDocument | null;
|
|
39
|
+
/** @param source {@displayType `DeepPartial<MrzScannerResult>`} */
|
|
40
|
+
constructor(source?: DeepPartial<MrzScannerResult>);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
Defines how to handle incomplete MRZ results (e.g. caused by failed validation).
|
|
44
|
+
|
|
45
|
+
- `ACCEPT`:
|
|
46
|
+
Accept incomplete results. Fields failing validation will have a validation status of INVALID. Typically used for single-shot scanning.
|
|
47
|
+
- `REJECT`:
|
|
48
|
+
Reject incomplete results. If any fields are missing or fail validation, the result document will be empty. Typically used for live scanning.
|
|
49
|
+
*/
|
|
50
|
+
export type MrzIncompleteResultHandling = "ACCEPT" | "REJECT";
|
|
51
|
+
export declare const MrzIncompleteResultHandlingValues: MrzIncompleteResultHandling[];
|
|
52
|
+
/**
|
|
53
|
+
Configuration for MRZ scanner.
|
|
54
|
+
*/
|
|
55
|
+
export declare class MrzScannerConfiguration extends PartiallyConstructible {
|
|
56
|
+
/**
|
|
57
|
+
Configure the frame accumulation process.
|
|
58
|
+
@defaultValue new AccumulatedResultsVerifierConfiguration({});
|
|
59
|
+
*/
|
|
60
|
+
frameAccumulationConfiguration: AccumulatedResultsVerifierConfiguration;
|
|
61
|
+
/**
|
|
62
|
+
Enable MRZ detection. If disabled, the scanner skips the detection step and assumes that the input image is a crop of the MRZ area.
|
|
63
|
+
@defaultValue true;
|
|
64
|
+
*/
|
|
65
|
+
enableDetection: boolean;
|
|
66
|
+
/**
|
|
67
|
+
Defines how to handle incomplete MRZ results (e.g. caused by failed validation).
|
|
68
|
+
@defaultValue "ACCEPT";
|
|
69
|
+
*/
|
|
70
|
+
incompleteResultHandling: MrzIncompleteResultHandling;
|
|
71
|
+
/** @param source {@displayType `DeepPartial<MrzScannerConfiguration>`} */
|
|
72
|
+
constructor(source?: DeepPartial<MrzScannerConfiguration>);
|
|
73
|
+
}
|
|
@@ -11,6 +11,7 @@ Output mode of binarization filter.
|
|
|
11
11
|
which makes this mode slower than BINARY mode.
|
|
12
12
|
*/
|
|
13
13
|
export type OutputMode = "BINARY" | "ANTIALIASED";
|
|
14
|
+
export declare const OutputModeValues: OutputMode[];
|
|
14
15
|
/**
|
|
15
16
|
Preset of parameters for custom binarization filter.
|
|
16
17
|
|
|
@@ -28,6 +29,7 @@ Preset of parameters for custom binarization filter.
|
|
|
28
29
|
Binarized barcodes typically remain readable.
|
|
29
30
|
*/
|
|
30
31
|
export type BinarizationFilterPreset = "PRESET_1" | "PRESET_2" | "PRESET_3" | "PRESET_4" | "PRESET_5";
|
|
32
|
+
export declare const BinarizationFilterPresetValues: BinarizationFilterPreset[];
|
|
31
33
|
/**
|
|
32
34
|
Base class for all parametric filters.
|
|
33
35
|
*/
|
|
@@ -138,7 +140,7 @@ export declare class GrayscaleFilter extends PartiallyConstructible {
|
|
|
138
140
|
Increasing the range of middle gray levels at the expense of the brightest and darkest levels
|
|
139
141
|
may improve the overall contrast and quality of the result.
|
|
140
142
|
Sum of blackOutliersFraction and whiteOutliersFraction must be less than 1 but usually
|
|
141
|
-
good values for the parameters do not exceed 0.05
|
|
143
|
+
good values for the parameters do not exceed 0.05;.
|
|
142
144
|
@defaultValue 0.0;
|
|
143
145
|
*/
|
|
144
146
|
blackOutliersFraction: number;
|
|
@@ -147,7 +149,7 @@ export declare class GrayscaleFilter extends PartiallyConstructible {
|
|
|
147
149
|
Increasing the range of middle gray levels at the expense of the brightest and darkest levels
|
|
148
150
|
may improve the overall contrast and quality of the result.
|
|
149
151
|
Sum of blackOutliersFraction and whiteOutliersFraction must be less than 1 but usually
|
|
150
|
-
good values for the parameters do not exceed 0.05
|
|
152
|
+
good values for the parameters do not exceed 0.05;.
|
|
151
153
|
@defaultValue 0.02;
|
|
152
154
|
*/
|
|
153
155
|
whiteOutliersFraction: number;
|
|
@@ -171,7 +173,6 @@ export declare class LegacyFilter extends PartiallyConstructible {
|
|
|
171
173
|
Maps image value channel so that all the pixels darker than the black point are set to 0,
|
|
172
174
|
all the pixels brighter than the white point are set to 255, and the pixels in between
|
|
173
175
|
are linearly scaled.
|
|
174
|
-
|
|
175
176
|
*/
|
|
176
177
|
export declare class WhiteBlackPointFilter extends PartiallyConstructible {
|
|
177
178
|
readonly _type: "WhiteBlackPointFilter";
|