scanbot-web-sdk 7.1.0 → 7.2.0-rc.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.
Files changed (136) hide show
  1. package/@types/barcode-scanner-view.d.ts +2 -11
  2. package/@types/core/bridge/compiled/BarcodeConfigurationTypes.d.ts +1 -6
  3. package/@types/core/bridge/compiled/BarcodeDocumentTypes.d.ts +1 -1
  4. package/@types/core/bridge/compiled/BarcodeScannerTypes.d.ts +3 -3
  5. package/@types/core/bridge/compiled/BarcodeTypes.d.ts +1 -1
  6. package/@types/core/bridge/compiled/CheckScannerTypes.d.ts +12 -12
  7. package/@types/core/bridge/compiled/CreditCardTypes.d.ts +2 -7
  8. package/@types/core/bridge/compiled/DocumentDataExtractorConfigurationTypes.d.ts +1 -1
  9. package/@types/core/bridge/compiled/DocumentDataExtractorTypes.d.ts +2 -2
  10. package/@types/core/bridge/compiled/DocumentQualityAnalyzerTypes.d.ts +2 -2
  11. package/@types/core/bridge/compiled/DocumentScannerTypes.d.ts +11 -11
  12. package/@types/core/bridge/compiled/EuropeanHealthInsuranceCardTypes.d.ts +1 -1
  13. package/@types/core/bridge/compiled/FrameAccumulationTypes.d.ts +1 -1
  14. package/@types/core/bridge/compiled/GenericDocument.d.ts +3 -3
  15. package/@types/core/bridge/compiled/Geometry.d.ts +2 -2
  16. package/@types/core/bridge/compiled/LicensePlateScannerTypes.d.ts +2 -2
  17. package/@types/core/bridge/compiled/MedicalCertificateTypes.d.ts +3 -3
  18. package/@types/core/bridge/compiled/MrzTypes.d.ts +2 -7
  19. package/@types/core/bridge/compiled/ObjectPoolTypes.d.ts +6 -1
  20. package/@types/core/bridge/compiled/OcrTypes.d.ts +2 -2
  21. package/@types/core/bridge/compiled/ParametricFilters.d.ts +1 -1
  22. package/@types/core/bridge/compiled/PdfConfigurationTypes.d.ts +1 -1
  23. package/@types/core/bridge/compiled/SdkLicenseInfo.d.ts +1 -1
  24. package/@types/core/bridge/compiled/TextPatternScannerTypes.d.ts +2 -2
  25. package/@types/core/bridge/compiled/TiffTypes.d.ts +1 -1
  26. package/@types/core/bridge/compiled/VinScannerTypes.d.ts +2 -2
  27. package/@types/core/bridge/worker-bridge.d.ts +12 -12
  28. package/@types/core/worker/ScanbotSDK.Core.d.ts +1 -1
  29. package/@types/core-types.d.ts +2 -2
  30. package/@types/document-scanner-view.d.ts +0 -2
  31. package/@types/index.d.ts +13 -2
  32. package/@types/model/configuration/barcode-scanner-view-configuration.d.ts +0 -5
  33. package/@types/model/configuration/view-finder-scanner-configuration.d.ts +7 -2
  34. package/@types/scanbot-sdk.d.ts +2 -2
  35. package/@types/scanner-view.d.ts +10 -1
  36. package/@types/service/storage/local/sb-local-storage.d.ts +2 -2
  37. package/@types/ui2/assets/intro-image/PassportIcon.d.ts +3 -0
  38. package/@types/ui2/barcode/utils/styled-button.d.ts +1 -1
  39. package/@types/ui2/barcode/utils/useScanningViewSize.d.ts +2 -2
  40. package/@types/ui2/barcode/views/action-button/action-button-container.d.ts +5 -3
  41. package/@types/ui2/barcode/views/barcode-scanner.d.ts +0 -2
  42. package/@types/ui2/barcode/views/camera-permission-denied.d.ts +2 -1
  43. package/@types/ui2/barcode/views/navigation-bar.d.ts +1 -0
  44. package/@types/ui2/barcode/views/styled-text.d.ts +1 -0
  45. package/@types/ui2/common.d.ts +1 -0
  46. package/@types/ui2/configuration/CreditCardTypes.d.ts +2 -0
  47. package/@types/ui2/configuration/{document/DocumentScannerUIResult.d.ts → DocumentScannerUIResult.d.ts} +1 -1
  48. package/@types/ui2/configuration/FrameAccumulationTypes.d.ts +2 -0
  49. package/@types/ui2/configuration/MrzTypes.d.ts +2 -0
  50. package/@types/ui2/configuration/TextPatternScannerTypes.d.ts +1 -0
  51. package/@types/ui2/configuration/barcode/BarcodeInfoMapping.d.ts +1 -1
  52. package/@types/ui2/configuration/barcode/BarcodeScannerConfiguration.d.ts +29 -11
  53. package/@types/ui2/configuration/barcode/BarcodeScannerScreenConfiguration.d.ts +175 -170
  54. package/@types/ui2/configuration/barcode/BarcodeTextLocalization.d.ts +48 -18
  55. package/@types/ui2/configuration/common/ActionBarConfiguration.d.ts +8 -5
  56. package/@types/ui2/configuration/common/CameraConfiguration.d.ts +5 -5
  57. package/@types/ui2/configuration/common/CameraPermission.d.ts +6 -8
  58. package/@types/ui2/configuration/common/Common.d.ts +106 -79
  59. package/@types/ui2/configuration/common/NavigationBarConfiguration.d.ts +1 -1
  60. package/@types/ui2/configuration/common/ScanCompletionOverlay.d.ts +32 -0
  61. package/@types/ui2/configuration/common/ScanbotAlertDialog.d.ts +8 -8
  62. package/@types/ui2/configuration/common/TopBarConfiguration.d.ts +6 -6
  63. package/@types/ui2/configuration/common/UserGuidanceConfiguration.d.ts +8 -8
  64. package/@types/ui2/configuration/common/ViewFinderConfiguration.d.ts +87 -14
  65. package/@types/ui2/configuration/creditcard/CreditCardScannerIntroScreenConfiguration.d.ts +114 -0
  66. package/@types/ui2/configuration/creditcard/CreditCardScannerScreenConfiguration.d.ts +216 -0
  67. package/@types/ui2/configuration/creditcard/CreditCardScannerScreenTextLocalization.d.ts +133 -0
  68. package/@types/ui2/configuration/creditcard/CreditCardScannerUIResult.d.ts +18 -0
  69. package/@types/ui2/configuration/creditcard/CreditCardScannerUserGuidance.d.ts +68 -0
  70. package/@types/ui2/configuration/creditcard/CreditCardScanningProgressConfiguration.d.ts +23 -0
  71. package/@types/ui2/configuration/document/CameraScreenConfiguration.d.ts +14 -3
  72. package/@types/ui2/configuration/document/DocumentScannerCameraConfiguration.d.ts +0 -26
  73. package/@types/ui2/configuration/document/DocumentScannerTextLocalization.d.ts +39 -39
  74. package/@types/ui2/configuration/document/DocumentScannerUserGuidance.d.ts +3 -3
  75. package/@types/ui2/configuration/document/IntroductionScreenConfiguration.d.ts +13 -13
  76. package/@types/ui2/configuration/mrz/MRZFinderLayoutPreset.d.ts +71 -0
  77. package/@types/ui2/configuration/mrz/MRZScannerIntroScreenConfiguration.d.ts +106 -0
  78. package/@types/ui2/configuration/mrz/MRZScannerScreenConfiguration.d.ts +200 -0
  79. package/@types/ui2/configuration/mrz/MRZScannerScreenTextLocalization.d.ts +108 -0
  80. package/@types/ui2/configuration/mrz/MRZScannerUIResult.d.ts +17 -0
  81. package/@types/ui2/configuration/native/PageData.d.ts +1 -1
  82. package/@types/ui2/configuration/textpattern/TextPatternScannerIntroScreenConfiguration.d.ts +114 -0
  83. package/@types/ui2/configuration/textpattern/TextPatternScannerScreenConfiguration.d.ts +256 -0
  84. package/@types/ui2/configuration/textpattern/TextPatternScannerScreenTextLocalization.d.ts +133 -0
  85. package/@types/ui2/configuration/textpattern/TextPatternScannerUIResult.d.ts +27 -0
  86. package/@types/ui2/configuration/utils.d.ts +3 -3
  87. package/@types/ui2/configuration.d.ts +6 -0
  88. package/@types/ui2/data-scanner/assets/checkmark-outlined.d.ts +2 -0
  89. package/@types/ui2/data-scanner/mrz-scanner-controller.d.ts +11 -0
  90. package/@types/ui2/data-scanner/views/introduction-popup.d.ts +9 -0
  91. package/@types/ui2/data-scanner/views/mrz-preset-overlay.d.ts +12 -0
  92. package/@types/ui2/data-scanner/views/mrz-scanner-box.d.ts +15 -0
  93. package/@types/ui2/data-scanner/views/scan-completion-overlay-fade.d.ts +9 -0
  94. package/@types/ui2/document/controller/document-scanner-controller.d.ts +1 -1
  95. package/@types/ui2/document/model/sb-document.d.ts +1 -1
  96. package/@types/ui2/document/views/camera-screen/introduction/introduction-image.d.ts +6 -3
  97. package/@types/ui2/document/views/camera-screen/introduction/introduction.d.ts +1 -1
  98. package/@types/ui2/document/views/camera-screen/top-user-guidance.d.ts +1 -0
  99. package/@types/ui2/document/views/camera-screen/use-document-scanner-view.d.ts +0 -2
  100. package/@types/ui2/scanbot-sdk-ui.d.ts +10 -5
  101. package/@types/ui2/scanbot-ui-library.d.ts +4 -3
  102. package/@types/ui2/views/introduction-popup-base.d.ts +9 -0
  103. package/@types/view/view-finder.d.ts +2 -13
  104. package/@types/worker/worker-bridge.d.ts +4 -4
  105. package/bundle/ScanbotSDK.min.js +4 -4
  106. package/bundle/ScanbotSDK.ui2.min.js +16 -16
  107. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
  108. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  109. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
  110. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm.wasm +0 -0
  111. package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
  112. package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd.js +1 -1
  113. package/bundle/bin/barcode-scanner/ScanbotSDK.Core.js +1 -1
  114. package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.js +1 -1
  115. package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  116. package/bundle/bin/complete/ScanbotSDK.Asm-simd.wasm +0 -0
  117. package/bundle/bin/complete/ScanbotSDK.Asm.wasm +0 -0
  118. package/bundle/bin/complete/ScanbotSDK.Core-simd-threads.js +1 -1
  119. package/bundle/bin/complete/ScanbotSDK.Core-simd.js +1 -1
  120. package/bundle/bin/complete/ScanbotSDK.Core.js +1 -1
  121. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
  122. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  123. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
  124. package/bundle/bin/document-scanner/ScanbotSDK.Asm.wasm +0 -0
  125. package/bundle/bin/document-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
  126. package/bundle/bin/document-scanner/ScanbotSDK.Core-simd.js +1 -1
  127. package/bundle/bin/document-scanner/ScanbotSDK.Core.js +1 -1
  128. package/package.json +1 -1
  129. /package/@types/core/bridge/{compiled/utils.d.ts → common.d.ts} +0 -0
  130. /package/@types/ui2/{document/views/camera-screen/introduction/assets → assets/intro-image}/CheckIcon.d.ts +0 -0
  131. /package/@types/ui2/{document/views/camera-screen/introduction/assets → assets/intro-image}/CreditCardsIcon.d.ts +0 -0
  132. /package/@types/ui2/{document/views/camera-screen/introduction/assets → assets/intro-image}/DocumentsIcon.d.ts +0 -0
  133. /package/@types/ui2/{document/views/camera-screen/introduction/assets → assets/intro-image}/IdCardsIcon.d.ts +0 -0
  134. /package/@types/ui2/{document/views/camera-screen/introduction/assets → assets/intro-image}/MedicalCertsIcon.d.ts +0 -0
  135. /package/@types/ui2/{document/views/camera-screen/introduction/assets → assets/intro-image}/Props.d.ts +0 -0
  136. /package/@types/ui2/{document/views/camera-screen/introduction/assets → assets/intro-image}/ReceiptsIcon.d.ts +0 -0
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { ScanbotCameraProps, ScanbotCameraState, ScannerView } from "./scanner-view";
3
3
  import { IBarcodeScannerHandle } from "./interfaces/i-barcode-scanner-handle";
4
- import ViewFinder, { ViewFinderPadding } from "./view/view-finder";
4
+ import ViewFinder from "./view/view-finder";
5
5
  import { ShutterButtonAction } from "./view/shutter-button";
6
6
  import BarcodeCalculationPopup from "./view/barcode-calculation/barcode-calculation-popup";
7
7
  import AnimatedBarcodeSelectionOverlay from "./view/barcode-polygon/animated-barcode-selection-overlay";
@@ -12,16 +12,9 @@ import { Size } from "./utils/dto/Size";
12
12
  import { BarcodeItem } from "./core-types";
13
13
  import type { ObjectId } from "./core-types";
14
14
  export declare class BarcodeScannerProps extends ScanbotCameraProps {
15
- viewFinderPadding?: ViewFinderPadding;
16
- /**
17
- * The user should check that the license is valid before using the BarcodeScannerView.
18
- * In case the license expires while the scanner is open, `onLicenseError` will be called.
19
- */
20
- onLicenseError?: () => void;
21
15
  }
22
16
  export declare class BarcodeScannerState extends ScanbotCameraState {
23
17
  isFinderVisible?: boolean;
24
- zoom?: number;
25
18
  action: ShutterButtonAction;
26
19
  image?: string;
27
20
  bottomHintText?: string;
@@ -53,6 +46,7 @@ export default class BarcodeScannerView extends ScannerView<BarcodeScannerProps,
53
46
  * React Overrides
54
47
  */
55
48
  componentDidMount(): Promise<void>;
49
+ componentDidUpdate(prevProps: Readonly<BarcodeScannerProps>, prevState: Readonly<BarcodeScannerState>, snapshot?: any): void;
56
50
  componentWillUnmount(): void;
57
51
  updateDimensions(): Promise<void>;
58
52
  resume(): Promise<void>;
@@ -66,10 +60,7 @@ export default class BarcodeScannerView extends ScannerView<BarcodeScannerProps,
66
60
  getResolution(): Promise<Size>;
67
61
  saveExtractedImageData(): void;
68
62
  setFinderVisible(isVisible: boolean): void;
69
- setZoom(zoom: number): void;
70
- setCameraDirection(direction: "environment" | "user"): void;
71
63
  updateTorch(enabled: boolean): void;
72
- getCapabilities(): MediaTrackCapabilities | undefined;
73
64
  render(): React.JSX.Element;
74
65
  resetCountImage(): void;
75
66
  countLabelText(barcodes: BarcodeItem[]): string;
@@ -1,5 +1,5 @@
1
1
  import { BarcodeFormat } from "./BarcodeTypes";
2
- import { DeepPartial, PartiallyConstructible } from "./utils";
2
+ import { DeepPartial, PartiallyConstructible } from "../common";
3
3
  import { Gs1Handling } from "./BarcodeTypes";
4
4
  import { UpcEanExtensionBehavior } from "./BarcodeTypes";
5
5
  /**
@@ -230,11 +230,6 @@ export declare class BarcodeFormatCode93Configuration extends PartiallyConstruct
230
230
  */
231
231
  minimum1DQuietZoneSize: number;
232
232
  /**
233
- If true, the check digits are stripped from the result.
234
- @defaultValue false;
235
- */
236
- stripCheckDigits: boolean;
237
- /**
238
233
  Minimum text length. Applied only to linear barcode formats that allow variable length.
239
234
  @defaultValue 1;
240
235
  */
@@ -1,5 +1,5 @@
1
1
  import { BarcodeFormat } from "./BarcodeTypes";
2
- import { DeepPartial, PartiallyConstructible } from "./utils";
2
+ import { DeepPartial, PartiallyConstructible } from "../common";
3
3
  /**
4
4
  Type of barcode document format used.
5
5
 
@@ -1,10 +1,10 @@
1
1
  import { BarcodeDocumentFormat } from "./BarcodeDocumentTypes";
2
2
  import { BarcodeFormatConfigurationBase } from "./BarcodeConfigurationTypes";
3
3
  import { BarcodeFormat } from "./BarcodeTypes";
4
- import { DeepPartial, PartiallyConstructible } from "./utils";
4
+ import { DeepPartial, PartiallyConstructible } from "../common";
5
5
  import { GenericDocument } from "./GenericDocument";
6
- import { Point } from "./utils";
7
- import { RawImage } from "./utils";
6
+ import { Point } from "../common";
7
+ import { RawImage } from "../common";
8
8
  /**
9
9
  A single barcode found in the input image. Barcodes with the same content but different locations in the image are considered separate barcodes.
10
10
  */
@@ -1,4 +1,4 @@
1
- import { DeepPartial, PartiallyConstructible } from "./utils";
1
+ import { DeepPartial, PartiallyConstructible } from "../common";
2
2
  /**
3
3
  Enumerates barcode formats.
4
4
 
@@ -1,7 +1,7 @@
1
- import { DeepPartial, PartiallyConstructible } from "./utils";
1
+ import { DeepPartial, PartiallyConstructible } from "../common";
2
2
  import { DocumentDetectionResult } from "./DocumentScannerTypes";
3
3
  import { GenericDocument } from "./GenericDocument";
4
- import { RawImage } from "./utils";
4
+ import { RawImage } from "../common";
5
5
  /**
6
6
  Check document detection and extraction mode.
7
7
 
@@ -15,26 +15,26 @@ Check document detection and extraction mode.
15
15
  export type CheckDocumentDetectionMode = "DISABLED" | "DETECT_DOCUMENT" | "DETECT_AND_CROP_DOCUMENT";
16
16
  export declare const CheckDocumentDetectionModeValues: CheckDocumentDetectionMode[];
17
17
  /**
18
- Check magnetic ink (MICR) strip scanning status.
18
+ Check Scanning Status.
19
19
 
20
20
  - `SUCCESS`:
21
21
  Scanning successful.
22
- - `INCOMPLETE_VALIDATION`:
23
- Magnetic ink strip was found, but validation failed, because of a format violation, an unsupported format, or OCR error.
24
- - `ERROR_NOTHING_FOUND`:
25
- Magnetic ink strip was not found.
22
+ - `VALIDATION_FAILED`:
23
+ A check was recognized, but validation failed, indication a standard violation, unsupported standard, or scanner error.
24
+ - `FAIL`:
25
+ No check was recognized.
26
26
  */
27
- export type CheckMagneticInkStripScanningStatus = "SUCCESS" | "INCOMPLETE_VALIDATION" | "ERROR_NOTHING_FOUND";
28
- export declare const CheckMagneticInkStripScanningStatusValues: CheckMagneticInkStripScanningStatus[];
27
+ export type CheckRecognitionStatus = "SUCCESS" | "VALIDATION_FAILED" | "FAIL";
28
+ export declare const CheckRecognitionStatusValues: CheckRecognitionStatus[];
29
29
  /**
30
30
  The result of check scanning.
31
31
  */
32
32
  export declare class CheckScanningResult extends PartiallyConstructible {
33
33
  /**
34
- Magnetic ink strip scanning status.
35
- @defaultValue "ERROR_NOTHING_FOUND";
34
+ Check recognition status.
35
+ @defaultValue "FAIL";
36
36
  */
37
- readonly status: CheckMagneticInkStripScanningStatus;
37
+ readonly status: CheckRecognitionStatus;
38
38
  /**
39
39
  Generic document containing check data. Not present, if status is FAIL.
40
40
  */
@@ -1,7 +1,7 @@
1
- import { DeepPartial, PartiallyConstructible } from "./utils";
1
+ import { DeepPartial, PartiallyConstructible } from "../common";
2
2
  import { DocumentDetectionStatus } from "./DocumentScannerTypes";
3
3
  import { GenericDocument } from "./GenericDocument";
4
- import { Point } from "./utils";
4
+ import { Point } from "../common";
5
5
  import { ResultAccumulationConfiguration } from "./FrameAccumulationTypes";
6
6
  /**
7
7
  The status of the scanning process.
@@ -83,11 +83,6 @@ export declare class CreditCardScannerConfiguration extends PartiallyConstructib
83
83
  @defaultValue new ResultAccumulationConfiguration({});
84
84
  */
85
85
  resultAccumulationConfig: ResultAccumulationConfiguration;
86
- /**
87
- If true, the credit card image will be returned in creditCard field of CreditCardScanningResult.
88
- @defaultValue false;
89
- */
90
- returnCreditCardImage: boolean;
91
86
  /** @param source {@displayType `DeepPartial<CreditCardScannerConfiguration>`} */
92
87
  constructor(source?: DeepPartial<CreditCardScannerConfiguration>);
93
88
  }
@@ -1,4 +1,4 @@
1
- import { DeepPartial, PartiallyConstructible } from "./utils";
1
+ import { DeepPartial, PartiallyConstructible } from "../common";
2
2
  import { MrzDocumentType } from "./MrzTypes";
3
3
  /**
4
4
  Base class for all generic document configuration elements.
@@ -1,8 +1,8 @@
1
- import { DeepPartial, PartiallyConstructible } from "./utils";
1
+ import { DeepPartial, PartiallyConstructible } from "../common";
2
2
  import { DocumentDataExtractorConfigurationElement } from "./DocumentDataExtractorConfigurationTypes";
3
3
  import { DocumentDetectionResult } from "./DocumentScannerTypes";
4
4
  import { GenericDocument } from "./GenericDocument";
5
- import { RawImage } from "./utils";
5
+ import { RawImage } from "../common";
6
6
  import { ResultAccumulationConfiguration } from "./FrameAccumulationTypes";
7
7
  /**
8
8
  The status of the extraction process.
@@ -1,5 +1,5 @@
1
- import { DeepPartial, PartiallyConstructible } from "./utils";
2
- import { RawImage } from "./utils";
1
+ import { DeepPartial, PartiallyConstructible } from "../common";
2
+ import { RawImage } from "../common";
3
3
  /**
4
4
  Result of document quality analysis.
5
5
 
@@ -1,8 +1,8 @@
1
1
  import { AspectRatio } from "./Geometry";
2
- import { DeepPartial, PartiallyConstructible } from "./utils";
2
+ import { DeepPartial, PartiallyConstructible } from "../common";
3
3
  import { LineSegmentFloat } from "./Geometry";
4
4
  import { LineSegmentInt } from "./Geometry";
5
- import { Point } from "./utils";
5
+ import { Point } from "../common";
6
6
  /**
7
7
  Engines for document scanning.
8
8
 
@@ -17,12 +17,18 @@ export declare const DocumentScannerEngineModeValues: DocumentScannerEngineMode[
17
17
  Parameters for the document scanner.
18
18
  */
19
19
  export declare class DocumentScannerParameters extends PartiallyConstructible {
20
+ /**
21
+ If true, the document scanner will return only the best document contour.
22
+ If false, the document scanner will additionally return alternative document contours suitable for the cropping screen.
23
+ @defaultValue false;
24
+ */
25
+ isLive: boolean;
20
26
  /**
21
27
  The minimum score in percent (0 - 100) of the perspective distortion to accept a detected document.
22
28
  Set lower values to accept more perspective distortion.
23
29
 
24
30
  Warning: Lower values result in more blurred document images.
25
- @defaultValue 75;
31
+ @defaultValue 75.0;
26
32
  */
27
33
  acceptedAngleScore: number;
28
34
  /**
@@ -30,7 +36,7 @@ export declare class DocumentScannerParameters extends PartiallyConstructible {
30
36
  It is sufficient that height or width match the score.
31
37
 
32
38
  Warning: Lower values result in low resolution document images.
33
- @defaultValue 80;
39
+ @defaultValue 80.0;
34
40
  */
35
41
  acceptedSizeScore: number;
36
42
  /**
@@ -43,7 +49,7 @@ export declare class DocumentScannerParameters extends PartiallyConstructible {
43
49
  must match one of the required aspect ratios (if any) to accept a detected document.
44
50
  If acceptedAspectRatioScore is more than 0, then the document is only accepted if the aspect ratio
45
51
  matches one of the given aspect ratios (if any), otherwise OK_BUT_BAD_ASPECT_RATIO is returned.
46
- @defaultValue 85;
52
+ @defaultValue 85.0;
47
53
  */
48
54
  acceptedAspectRatioScore: number;
49
55
  /**
@@ -76,12 +82,6 @@ export declare class DocumentScannerConfiguration extends PartiallyConstructible
76
82
  */
77
83
  engineMode: DocumentScannerEngineMode;
78
84
  /**
79
- If true, the document scanner will return only the best document contour.
80
- If false, the document scanner will additionally return alternative document contours suitable for the cropping screen.
81
- @defaultValue false;
82
- */
83
- isLive: boolean;
84
- /**
85
85
  Initial parameters for the document scanner.
86
86
  @defaultValue new DocumentScannerParameters({});
87
87
  */
@@ -1,4 +1,4 @@
1
- import { DeepPartial, PartiallyConstructible } from "./utils";
1
+ import { DeepPartial, PartiallyConstructible } from "../common";
2
2
  import { EuropeanHealthInsuranceCardIssuingCountry } from "./DocumentDataExtractorConfigurationTypes";
3
3
  /**
4
4
  The result of the health insurance card recognition.
@@ -1,4 +1,4 @@
1
- import { DeepPartial, PartiallyConstructible } from "./utils";
1
+ import { DeepPartial, PartiallyConstructible } from "../common";
2
2
  /**
3
3
  Method used to confirm a result.
4
4
 
@@ -1,7 +1,7 @@
1
1
  import { CommonFieldType } from "./CommonFieldType";
2
- import { DeepPartial, PartiallyConstructible } from "./utils";
3
- import { Point } from "./utils";
4
- import { RawImage } from "./utils";
2
+ import { DeepPartial, PartiallyConstructible } from "../common";
3
+ import { Point } from "../common";
4
+ import { RawImage } from "../common";
5
5
  /**
6
6
  Result of OCR text recognition.
7
7
  */
@@ -1,5 +1,5 @@
1
- import { DeepPartial, PartiallyConstructible } from "./utils";
2
- import { Point } from "./utils";
1
+ import { DeepPartial, PartiallyConstructible } from "../common";
2
+ import { Point } from "../common";
3
3
  /**
4
4
  Represents a line segment in 2D space.
5
5
  */
@@ -1,5 +1,5 @@
1
- import { DeepPartial, PartiallyConstructible } from "./utils";
2
- import { RawImage } from "./utils";
1
+ import { DeepPartial, PartiallyConstructible } from "../common";
2
+ import { RawImage } from "../common";
3
3
  /**
4
4
  Type of the scanner internally to scan the license plate.
5
5
 
@@ -1,7 +1,7 @@
1
- import { DeepPartial, PartiallyConstructible } from "./utils";
1
+ import { DeepPartial, PartiallyConstructible } from "../common";
2
2
  import { DocumentDetectionResult } from "./DocumentScannerTypes";
3
- import { Point } from "./utils";
4
- import { RawImage } from "./utils";
3
+ import { Point } from "../common";
4
+ import { RawImage } from "../common";
5
5
  /**
6
6
  Parameters for the medical certificate scanning. The scanner supports
7
7
  Form 1 (Arbeitsunfähigkeitsbescheinigung) and
@@ -1,5 +1,5 @@
1
1
  import { AccumulatedResultsVerifierConfiguration } from "./FrameAccumulationTypes";
2
- import { DeepPartial, PartiallyConstructible } from "./utils";
2
+ import { DeepPartial, PartiallyConstructible } from "../common";
3
3
  import { GenericDocument } from "./GenericDocument";
4
4
  /**
5
5
  Type of document containing the MRZ.
@@ -65,14 +65,9 @@ export declare class MrzScannerConfiguration extends PartiallyConstructible {
65
65
  enableDetection: boolean;
66
66
  /**
67
67
  Defines how to handle incomplete MRZ results (e.g. caused by failed validation).
68
- @defaultValue "REJECT";
68
+ @defaultValue "ACCEPT";
69
69
  */
70
70
  incompleteResultHandling: MrzIncompleteResultHandling;
71
- /**
72
- If true, crops of the detected MRZ and its fields will be returned in the result.
73
- @defaultValue false;
74
- */
75
- returnCrops: boolean;
76
71
  /** @param source {@displayType `DeepPartial<MrzScannerConfiguration>`} */
77
72
  constructor(source?: DeepPartial<MrzScannerConfiguration>);
78
73
  }
@@ -1,4 +1,4 @@
1
- import { DeepPartial, PartiallyConstructible } from "./utils";
1
+ import { DeepPartial, PartiallyConstructible } from "../common";
2
2
  /**
3
3
  Profile info of a reference-counted stored object.
4
4
  */
@@ -21,6 +21,11 @@ export declare class RefCountedObjectProfile extends PartiallyConstructible {
21
21
  @defaultValue 0;
22
22
  */
23
23
  readonly serializedReferences: number;
24
+ /**
25
+ True, if a serialized reference to this object has likely leaked. Serialized references cannot be tracked via garbage collection (GC) or automatic reference counting (ARC), so they're much more likely to leak. On the other hand, serialized references are almost immediately deserialized (and thus converted to strong references) in all code paths, so the serialized reference count should be zero most of the time. If a serialized reference has existed for more than 5 seconds, it can be assumed that it has leaked.
26
+ @defaultValue false;
27
+ */
28
+ readonly serializedReferenceLeak: boolean;
24
29
  /** @param source {@displayType `DeepPartial<RefCountedObjectProfile>`} */
25
30
  constructor(source?: DeepPartial<RefCountedObjectProfile>);
26
31
  }
@@ -1,5 +1,5 @@
1
- import { DeepPartial, PartiallyConstructible } from "./utils";
2
- import { Point } from "./utils";
1
+ import { DeepPartial, PartiallyConstructible } from "../common";
2
+ import { Point } from "../common";
3
3
  /**
4
4
  Base class for units of text, e.g. glyphs, words, lines, blocks, pages.
5
5
  */
@@ -1,4 +1,4 @@
1
- import { DeepPartial, PartiallyConstructible } from "./utils";
1
+ import { DeepPartial, PartiallyConstructible } from "../common";
2
2
  /**
3
3
  Output mode of binarization filter.
4
4
 
@@ -1,4 +1,4 @@
1
- import { DeepPartial, PartiallyConstructible } from "./utils";
1
+ import { DeepPartial, PartiallyConstructible } from "../common";
2
2
  /**
3
3
  PDF attributes.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { DeepPartial, PartiallyConstructible } from "./utils";
1
+ import { DeepPartial, PartiallyConstructible } from "../common";
2
2
  /**
3
3
  Status of the license plate scanner.
4
4
 
@@ -1,5 +1,5 @@
1
- import { DeepPartial, PartiallyConstructible } from "./utils";
2
- import { Rectangle } from "./utils";
1
+ import { DeepPartial, PartiallyConstructible } from "../common";
2
+ import { Rectangle } from "../common";
3
3
  /**
4
4
  Structure containing recognized word text and bounds.
5
5
  */
@@ -1,4 +1,4 @@
1
- import { DeepPartial, PartiallyConstructible } from "./utils";
1
+ import { DeepPartial, PartiallyConstructible } from "../common";
2
2
  import { ParametricFilter } from "./ParametricFilters";
3
3
  /**
4
4
  TIFF compression type.
@@ -1,5 +1,5 @@
1
- import { DeepPartial, PartiallyConstructible } from "./utils";
2
- import { Point } from "./utils";
1
+ import { DeepPartial, PartiallyConstructible } from "../common";
2
+ import { Point } from "../common";
3
3
  import { TextPatternScannerResult } from "./TextPatternScannerTypes";
4
4
  /**
5
5
  Status of the barcode extraction.
@@ -24,6 +24,7 @@ export declare class WorkerBridge {
24
24
  getLicenseInfo: () => Promise<import("./compiled/SdkLicenseInfo").SdkLicenseInfo>;
25
25
  encodeJpeg: (image: import("../worker/ScanbotSDK.Core").Image) => Promise<Uint8Array>;
26
26
  detectDocument: (image: import("../worker/ScanbotSDK.Core").Image, options: {
27
+ isLive?: boolean;
27
28
  acceptedAngleScore?: number;
28
29
  acceptedSizeScore?: number;
29
30
  acceptedBrightnessThreshold?: number;
@@ -38,6 +39,7 @@ export declare class WorkerBridge {
38
39
  }) => Promise<import("./compiled/DocumentScannerTypes").DocumentDetectionResult>;
39
40
  detectAndCropDocument: (image: import("../worker/ScanbotSDK.Core").Image) => Promise<import("../worker/ScanbotSDK.Core").CroppedDetectionResult>;
40
41
  createDocumentScanner: (options: {
42
+ isLive?: boolean;
41
43
  acceptedAngleScore?: number;
42
44
  acceptedSizeScore?: number;
43
45
  acceptedBrightnessThreshold?: number;
@@ -98,7 +100,6 @@ export declare class WorkerBridge {
98
100
  minimumSizeScore?: number;
99
101
  addAdditionalQuietZone?: boolean;
100
102
  minimum1DQuietZoneSize?: number;
101
- stripCheckDigits?: boolean;
102
103
  minimumTextLength?: number;
103
104
  maximumTextLength?: number;
104
105
  _marker?: () => void;
@@ -433,7 +434,6 @@ export declare class WorkerBridge {
433
434
  };
434
435
  enableDetection?: boolean;
435
436
  incompleteResultHandling?: import("./compiled/MrzTypes").MrzIncompleteResultHandling;
436
- returnCrops?: boolean;
437
437
  _marker?: () => void;
438
438
  }) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"MRZScannerContext">>;
439
439
  scanMRZ: <ImageType_2 extends import("../worker/ScanbotSDK.Core").Image>(mrzScannerToken: import("../worker/ScanbotSDK.Core").ObjectId<"MRZScannerContext">, image: ImageType_2) => Promise<import("./compiled/MrzTypes").MrzScannerResult & {
@@ -492,10 +492,10 @@ export declare class WorkerBridge {
492
492
  _marker?: () => void;
493
493
  }) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"DocumentQualityAnalyzer">>;
494
494
  documentQualityAnalyzerAnalyze: (dqaToken: import("../worker/ScanbotSDK.Core").ObjectId<"DocumentQualityAnalyzer">, image: import("../worker/ScanbotSDK.Core").Image) => Promise<import("./compiled/DocumentQualityAnalyzerTypes").DocumentQualityAnalyzerResult>;
495
- imageApplyFilter: (image: import("../worker/ScanbotSDK.Core").Image, filter: import("./compiled/utils").DeepPartial<import("./compiled/ParametricFilters").ParametricFilter>) => Promise<import("./compiled/utils").RawImage>;
496
- imageCrop: (image: import("../worker/ScanbotSDK.Core").Image, polygon: [import("./compiled/utils").Point, import("./compiled/utils").Point, import("./compiled/utils").Point, import("./compiled/utils").Point]) => Promise<import("./compiled/utils").RawImage>;
497
- imageResize: (image: import("../worker/ScanbotSDK.Core").Image, destinationSize: number) => Promise<import("./compiled/utils").RawImage>;
498
- imageRotate: (image: import("../worker/ScanbotSDK.Core").Image, rotations: import("./compiled/ImageTypes").ImageRotation) => Promise<import("./compiled/utils").RawImage>;
495
+ imageApplyFilter: (image: import("../worker/ScanbotSDK.Core").Image, filter: import("./common").DeepPartial<import("./compiled/ParametricFilters").ParametricFilter>) => Promise<import("./common").RawImage>;
496
+ imageCrop: (image: import("../worker/ScanbotSDK.Core").Image, polygon: [import("./common").Point, import("./common").Point, import("./common").Point, import("./common").Point]) => Promise<import("./common").RawImage>;
497
+ imageResize: (image: import("../worker/ScanbotSDK.Core").Image, destinationSize: number) => Promise<import("./common").RawImage>;
498
+ imageRotate: (image: import("../worker/ScanbotSDK.Core").Image, rotations: import("./compiled/ImageTypes").ImageRotation) => Promise<import("./common").RawImage>;
499
499
  documentDataExtractorCreate: (parameters: {
500
500
  resultAccumulationConfig?: {
501
501
  confirmationMethod?: import("./compiled/FrameAccumulationTypes").ConfirmationMethod;
@@ -548,6 +548,7 @@ export declare class WorkerBridge {
548
548
  getLicenseInfo: () => Promise<import("./compiled/SdkLicenseInfo").SdkLicenseInfo>;
549
549
  encodeJpeg: (image: import("../worker/ScanbotSDK.Core").Image) => Promise<Uint8Array>;
550
550
  detectDocument: (image: import("../worker/ScanbotSDK.Core").Image, options: {
551
+ isLive?: boolean;
551
552
  acceptedAngleScore?: number;
552
553
  acceptedSizeScore?: number;
553
554
  acceptedBrightnessThreshold?: number;
@@ -562,6 +563,7 @@ export declare class WorkerBridge {
562
563
  }) => Promise<import("./compiled/DocumentScannerTypes").DocumentDetectionResult>;
563
564
  detectAndCropDocument: (image: import("../worker/ScanbotSDK.Core").Image) => Promise<import("../worker/ScanbotSDK.Core").CroppedDetectionResult>;
564
565
  createDocumentScanner: (options: {
566
+ isLive?: boolean;
565
567
  acceptedAngleScore?: number;
566
568
  acceptedSizeScore?: number;
567
569
  acceptedBrightnessThreshold?: number;
@@ -622,7 +624,6 @@ export declare class WorkerBridge {
622
624
  minimumSizeScore?: number;
623
625
  addAdditionalQuietZone?: boolean;
624
626
  minimum1DQuietZoneSize?: number;
625
- stripCheckDigits?: boolean;
626
627
  minimumTextLength?: number;
627
628
  maximumTextLength?: number;
628
629
  _marker?: () => void;
@@ -957,7 +958,6 @@ export declare class WorkerBridge {
957
958
  };
958
959
  enableDetection?: boolean;
959
960
  incompleteResultHandling?: import("./compiled/MrzTypes").MrzIncompleteResultHandling;
960
- returnCrops?: boolean;
961
961
  _marker?: () => void;
962
962
  }) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"MRZScannerContext">>;
963
963
  scanMRZ: <ImageType_2 extends import("../worker/ScanbotSDK.Core").Image>(mrzScannerToken: import("../worker/ScanbotSDK.Core").ObjectId<"MRZScannerContext">, image: ImageType_2) => Promise<import("./compiled/MrzTypes").MrzScannerResult & {
@@ -1016,10 +1016,10 @@ export declare class WorkerBridge {
1016
1016
  _marker?: () => void;
1017
1017
  }) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"DocumentQualityAnalyzer">>;
1018
1018
  documentQualityAnalyzerAnalyze: (dqaToken: import("../worker/ScanbotSDK.Core").ObjectId<"DocumentQualityAnalyzer">, image: import("../worker/ScanbotSDK.Core").Image) => Promise<import("./compiled/DocumentQualityAnalyzerTypes").DocumentQualityAnalyzerResult>;
1019
- imageApplyFilter: (image: import("../worker/ScanbotSDK.Core").Image, filter: import("./compiled/utils").DeepPartial<import("./compiled/ParametricFilters").ParametricFilter>) => Promise<import("./compiled/utils").RawImage>;
1020
- imageCrop: (image: import("../worker/ScanbotSDK.Core").Image, polygon: [import("./compiled/utils").Point, import("./compiled/utils").Point, import("./compiled/utils").Point, import("./compiled/utils").Point]) => Promise<import("./compiled/utils").RawImage>;
1021
- imageResize: (image: import("../worker/ScanbotSDK.Core").Image, destinationSize: number) => Promise<import("./compiled/utils").RawImage>;
1022
- imageRotate: (image: import("../worker/ScanbotSDK.Core").Image, rotations: import("./compiled/ImageTypes").ImageRotation) => Promise<import("./compiled/utils").RawImage>;
1019
+ imageApplyFilter: (image: import("../worker/ScanbotSDK.Core").Image, filter: import("./common").DeepPartial<import("./compiled/ParametricFilters").ParametricFilter>) => Promise<import("./common").RawImage>;
1020
+ imageCrop: (image: import("../worker/ScanbotSDK.Core").Image, polygon: [import("./common").Point, import("./common").Point, import("./common").Point, import("./common").Point]) => Promise<import("./common").RawImage>;
1021
+ imageResize: (image: import("../worker/ScanbotSDK.Core").Image, destinationSize: number) => Promise<import("./common").RawImage>;
1022
+ imageRotate: (image: import("../worker/ScanbotSDK.Core").Image, rotations: import("./compiled/ImageTypes").ImageRotation) => Promise<import("./common").RawImage>;
1023
1023
  documentDataExtractorCreate: (parameters: {
1024
1024
  resultAccumulationConfig?: {
1025
1025
  confirmationMethod?: import("./compiled/FrameAccumulationTypes").ConfirmationMethod;
@@ -11,7 +11,7 @@ import { type BarcodeDocumentFormat } from "../bridge/compiled/BarcodeDocumentTy
11
11
  import { BarcodeScannerConfiguration, type BarcodeScannerResult } from "../bridge/compiled/BarcodeScannerTypes";
12
12
  import { DocumentDataExtractorConfiguration, DocumentDataFrameExtractionParameters as GdrRecognitionParameters, type DocumentDataExtractionResult as GdrRecognitionResult } from "../bridge/compiled/DocumentDataExtractorTypes";
13
13
  import { type Binarization, TiffGeneratorParameters } from "../bridge/compiled/TiffTypes";
14
- import type { RawImage, Point, DeepPartial } from "../bridge/compiled/utils";
14
+ import type { RawImage, Point, DeepPartial } from "../bridge/common";
15
15
  import type { GenericDocument } from "../bridge/compiled/GenericDocument";
16
16
  import { SdkLicenseInfo } from "../bridge/compiled/SdkLicenseInfo";
17
17
  /** Represents an object of type T residing in the WASM's memory. */
@@ -22,10 +22,10 @@ export * from './core/bridge/compiled/TiffTypes';
22
22
  export * from './core/bridge/compiled/FrameAccumulationTypes';
23
23
  export * from './core/bridge/compiled/ImageTypes';
24
24
  export * from './core/bridge/compiled/VinScannerTypes';
25
- export type { ObjectId, Image, CroppedDetectionResult } from './core/worker/ScanbotSDK.Core';
26
25
  export * from './core/bridge/compiled/DocumentsModel';
27
26
  export * from './core/bridge/compiled/BarcodeDocumentModel';
28
27
  export * from './core/bridge/compiled/CheckDocumentModel';
29
28
  export * from './core/bridge/compiled/CreditCardDocumentModel';
30
29
  export * from './core/bridge/compiled/SdkLicenseInfo';
31
- export { PartiallyConstructible, type RawImage, type DeepPartial, type Point, type Rectangle } from './core/bridge/compiled/utils';
30
+ export { PartiallyConstructible, type RawImage, type DeepPartial, type Point, type Rectangle } from './core/bridge/common';
31
+ export type { ObjectId, Image, CroppedDetectionResult } from './core/worker/ScanbotSDK.Core';
@@ -8,7 +8,6 @@ import { PolygonMovementPredicate } from "./utils/predicate/polygon-movement-pre
8
8
  import { Polygon } from "./utils/dto/Polygon";
9
9
  import { IDocumentScannerHandle } from "./interfaces/i-document-scanner-handle";
10
10
  import { CroppedDetectionResult, DocumentDetectionResult, ObjectId } from "./core-types";
11
- import { ViewFinderPadding } from "./view/view-finder";
12
11
  export declare class DocumentScannerState extends ScanbotCameraState {
13
12
  action: ShutterButtonAction;
14
13
  }
@@ -16,7 +15,6 @@ export declare class DocumentScannerProps extends ScanbotCameraProps {
16
15
  sdk: ScanbotSDK;
17
16
  hideShutterButton?: boolean;
18
17
  onStatusStringUpdate?: (status: keyof HintTextConfiguration) => void;
19
- viewFinderPadding?: ViewFinderPadding;
20
18
  pauseAR?: boolean;
21
19
  }
22
20
  export default class DocumentScannerView extends ScannerView<DocumentScannerProps, DocumentScannerState> implements IDocumentScannerHandle {
package/@types/index.d.ts CHANGED
@@ -49,13 +49,24 @@ export { PublicUtils } from "./service/public-utils";
49
49
  export { Size } from "./utils/dto/Size";
50
50
  export { VideoSize } from "./utils/dto/VideoSize";
51
51
 
52
- export { SelectionOverlayConfiguration, IBarcodePolygonHandle, IBarcodePolygonLabelHandle, BarcodePolygonStyle, SelectionOverlayTextFormat, SelectionOverlayStyleConfiguration, BarcodePolygonLabelStyle } from "./model/configuration/selection-overlay-configuration";
52
+ export {
53
+ SelectionOverlayConfiguration,
54
+ IBarcodePolygonHandle,
55
+ IBarcodePolygonLabelHandle,
56
+ BarcodePolygonStyle,
57
+ SelectionOverlayTextFormat,
58
+ SelectionOverlayStyleConfiguration,
59
+ BarcodePolygonLabelStyle
60
+ } from "./model/configuration/selection-overlay-configuration";
53
61
 
54
62
  export { Polygon } from "./utils/dto/Polygon";
55
63
 
56
64
  //TODO We currently have two implementations of Point in: utils/dto/Point & core-types. Should this be refactored?
57
65
  export { Point as Point2 } from "./utils/dto/Point";
58
66
 
67
+ // cf. declaration of the override file for an explanation
68
+ export { DeepPartial as DeepPartialOverride, TypesThatAreOpaqueToDeepPartial } from "./ui2/configuration/utils";
69
+
59
70
  export { InitializationOptions } from "./model/configuration/initialization-options";
60
71
  export { LicenseInfo } from "./model/response/license-info";
61
72
  export { CameraInfo, CameraFacingMode } from "./model/camera-info";
@@ -64,7 +75,7 @@ export { ConsumeType } from "./consume-type";
64
75
 
65
76
  export { BrowserCameras, CameraDetectionStrategy, DiscoverCameraMode } from './utils/browser-cameras';
66
77
 
67
- export { DocumentScannerUIResult } from "./ui2/configuration/document/DocumentScannerUIResult";
78
+ export { DocumentScannerUIResult } from "./ui2/configuration/DocumentScannerUIResult";
68
79
 
69
80
  /** Storage-related exports */
70
81
  export { SBStorage, SBStoreCroppedDetectionResult } from "./service/storage/sb-storage";
@@ -20,11 +20,6 @@ export declare class BarcodeScannerViewConfiguration extends ViewFinderScannerCo
20
20
  * Please note that results are returned for each consecutive scan, not only after the last scan
21
21
  */
22
22
  scanAndCount?: BarcodeCountConfiguration;
23
- /**
24
- * Digital zoom level of the video stream. Defaults to 1.0.
25
- * Please note that this is not the same as the optical zoom of the camera.
26
- */
27
- zoom?: number;
28
23
  /**
29
24
  */
30
25
  onBarcodesDetected?: (e: BarcodeScannerResultWithSize) => void;
@@ -1,5 +1,5 @@
1
1
  import { ScannerConfiguration } from "./scanner-configuration";
2
- import { ViewFinderConfiguration, UserGuidanceConfiguration } from "../../ui2/configuration";
2
+ import { ViewFinderConfiguration, UserGuidanceConfiguration, BaseViewFinderConfiguration } from "../../ui2/configuration";
3
3
  import { DeepPartial } from "../../ui2/configuration/utils";
4
4
  export declare function finderDefaultConfig(): ViewFinderConfiguration;
5
5
  export declare class ViewFinderScannerConfiguration extends ScannerConfiguration {
@@ -7,7 +7,12 @@ export declare class ViewFinderScannerConfiguration extends ScannerConfiguration
7
7
  width: number;
8
8
  height: number;
9
9
  });
10
- finder?: DeepPartial<ViewFinderConfiguration>;
10
+ /**
11
+ * Digital zoom level of the video stream. Defaults to 1.0.
12
+ * Please note that this is not the same as the optical zoom of the camera.
13
+ */
14
+ zoom?: number;
15
+ finder?: DeepPartial<BaseViewFinderConfiguration>;
11
16
  userGuidance?: DeepPartial<UserGuidanceConfiguration>;
12
17
  static mapFinderConfiguration(result: ViewFinderScannerConfiguration, json: any): void;
13
18
  }