scanbot-web-sdk 8.1.0-alpha.1 → 8.1.0-beta.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 (96) hide show
  1. package/@types/core/bridge/worker-bridge.d.ts +28 -0
  2. package/@types/core/compiled/BarcodeConfigurationTypes.d.ts +146 -52
  3. package/@types/core/compiled/BarcodeDocumentModel.d.ts +12 -12
  4. package/@types/core/compiled/BarcodeScannerTypes.d.ts +13 -5
  5. package/@types/core/compiled/BarcodeTypes.d.ts +35 -0
  6. package/@types/core/compiled/CommonFieldType.d.ts +7 -1
  7. package/@types/core/compiled/DocumentQualityAnalyzerTypes.d.ts +43 -24
  8. package/@types/core/compiled/DocumentScannerTypes.d.ts +19 -19
  9. package/@types/core/compiled/DocumentsModel.d.ts +443 -1
  10. package/@types/core/compiled/MrzTypes.d.ts +9 -0
  11. package/@types/core/compiled/ParametricFilters.d.ts +36 -1
  12. package/@types/core/compiled/TextPatternScannerTypes.d.ts +5 -0
  13. package/@types/core/compiled/VinScannerTypes.d.ts +5 -0
  14. package/@types/core/compiled/utils.d.ts +1 -1
  15. package/@types/core-types.d.ts +1 -1
  16. package/@types/model/configuration/document-scanner-view-configuration.d.ts +4 -0
  17. package/@types/model/configuration/scanner-configuration.d.ts +3 -0
  18. package/@types/scanbot-sdk.d.ts +14 -0
  19. package/@types/service/pdf-generator.d.ts +2 -1
  20. package/@types/ui2/barcode/controllers/multiple-scanning-mode-controller.d.ts +4 -0
  21. package/@types/ui2/barcode/controllers/single-scanning-mode-controller.d.ts +4 -0
  22. package/@types/ui2/barcode/views/barcode-scanner.d.ts +2 -0
  23. package/@types/ui2/barcode/views/drawer/barcode-result-drawer.d.ts +2 -0
  24. package/@types/ui2/barcode/views/drawer/barcode-result-sidebar.d.ts +2 -0
  25. package/@types/ui2/barcode/views/navigation-bar.d.ts +1 -0
  26. package/@types/ui2/common.d.ts +1 -1
  27. package/@types/ui2/configuration/BarcodeTypes.d.ts +1 -1
  28. package/@types/ui2/configuration/barcode/BarcodeScannerScreenConfiguration.d.ts +2 -2
  29. package/@types/ui2/configuration/barcode/BarcodeTextLocalization.d.ts +15 -0
  30. package/@types/ui2/configuration/barcode/BarcodeUseCase.d.ts +3 -3
  31. package/@types/ui2/configuration/barcode/FindAndPickScanningModeUseCase.d.ts +4 -4
  32. package/@types/ui2/configuration/barcode/MultipleScanningModeUseCase.d.ts +2 -2
  33. package/@types/ui2/configuration/barcode/SingleScanningModeUseCase.d.ts +2 -2
  34. package/@types/ui2/configuration/check/CheckScannerScreenConfiguration.d.ts +4 -4
  35. package/@types/ui2/configuration/check/CheckScannerScreenTextLocalization.d.ts +15 -0
  36. package/@types/ui2/configuration/common/ActionBarConfiguration.d.ts +1 -1
  37. package/@types/ui2/configuration/common/CameraConfiguration.d.ts +6 -0
  38. package/@types/ui2/configuration/common/CameraPermission.d.ts +3 -3
  39. package/@types/ui2/configuration/common/Common.d.ts +19 -0
  40. package/@types/ui2/configuration/common/ScanCompletionOverlay.d.ts +1 -1
  41. package/@types/ui2/configuration/common/ScanbotAlertDialog.d.ts +2 -2
  42. package/@types/ui2/configuration/common/SelectCameraMenu.d.ts +63 -0
  43. package/@types/ui2/configuration/common/TopBarConfiguration.d.ts +8 -2
  44. package/@types/ui2/configuration/common/UserGuidanceConfiguration.d.ts +3 -3
  45. package/@types/ui2/configuration/common/ViewFinderConfiguration.d.ts +1 -1
  46. package/@types/ui2/configuration/credit_card/CreditCardScannerScreenConfiguration.d.ts +4 -4
  47. package/@types/ui2/configuration/credit_card/CreditCardScannerScreenTextLocalization.d.ts +15 -0
  48. package/@types/ui2/configuration/document/CameraScreenConfiguration.d.ts +6 -65
  49. package/@types/ui2/configuration/document/DocumentScannerCameraConfiguration.d.ts +6 -0
  50. package/@types/ui2/configuration/document/DocumentScannerScreens.d.ts +3 -3
  51. package/@types/ui2/configuration/document/DocumentScannerTextLocalization.d.ts +15 -15
  52. package/@types/ui2/configuration/document/DocumentScannerUserGuidance.d.ts +1 -1
  53. package/@types/ui2/configuration/document/DocumentScanningFlow.d.ts +3 -3
  54. package/@types/ui2/configuration/document_data/DocumentDataExtractorScreenConfiguration.d.ts +4 -4
  55. package/@types/ui2/configuration/document_data/DocumentDataExtractorScreenTextLocalization.d.ts +15 -0
  56. package/@types/ui2/configuration/mrz/MRZScannerScreenConfiguration.d.ts +3 -3
  57. package/@types/ui2/configuration/mrz/MRZScannerScreenTextLocalization.d.ts +15 -0
  58. package/@types/ui2/configuration/native/DocumentData.d.ts +1 -1
  59. package/@types/ui2/configuration/native/PageData.d.ts +1 -1
  60. package/@types/ui2/configuration/text_pattern/TextPatternScannerScreenConfiguration.d.ts +2 -2
  61. package/@types/ui2/configuration/text_pattern/TextPatternScannerScreenTextLocalization.d.ts +15 -0
  62. package/@types/ui2/configuration/vin/VINScannerScreenConfiguration.d.ts +2 -2
  63. package/@types/ui2/configuration/vin/VINScannerScreenTextLocalization.d.ts +15 -0
  64. package/@types/ui2/configuration.d.ts +1 -0
  65. package/@types/ui2/data-scanner/views/mrz-scanner-box.d.ts +4 -2
  66. package/@types/ui2/document/views/camera-screen/camera-select-dropdown.d.ts +2 -2
  67. package/@types/ui2/document/views/camera-screen/top-bar.d.ts +18 -3
  68. package/@types/ui2/document/views/camera-screen/use-document-scanner-view.d.ts +1 -0
  69. package/@types/ui2/document/views/common/common-top-bar.d.ts +1 -1
  70. package/@types/utils/assets/camera-localization.d.ts +44 -0
  71. package/@types/view/scanbot-camera-view.d.ts +2 -0
  72. package/@types/worker/worker-bridge.d.ts +28 -0
  73. package/bundle/ScanbotSDK.min.js +4 -4
  74. package/bundle/ScanbotSDK.ui2.min.js +85 -85
  75. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
  76. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  77. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
  78. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm.wasm +0 -0
  79. package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
  80. package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd.js +1 -1
  81. package/bundle/bin/barcode-scanner/ScanbotSDK.Core.js +1 -1
  82. package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.js +1 -1
  83. package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  84. package/bundle/bin/complete/ScanbotSDK.Asm-simd.wasm +0 -0
  85. package/bundle/bin/complete/ScanbotSDK.Asm.wasm +0 -0
  86. package/bundle/bin/complete/ScanbotSDK.Core-simd-threads.js +1 -1
  87. package/bundle/bin/complete/ScanbotSDK.Core-simd.js +1 -1
  88. package/bundle/bin/complete/ScanbotSDK.Core.js +1 -1
  89. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
  90. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  91. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
  92. package/bundle/bin/document-scanner/ScanbotSDK.Asm.wasm +0 -0
  93. package/bundle/bin/document-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
  94. package/bundle/bin/document-scanner/ScanbotSDK.Core-simd.js +1 -1
  95. package/bundle/bin/document-scanner/ScanbotSDK.Core.js +1 -1
  96. package/package.json +1 -1
@@ -53,6 +53,44 @@ export declare class DocumentQualityThreshold {
53
53
  constructor(source?: DeepPartial<DocumentQualityThreshold>);
54
54
  }
55
55
  /**
56
+ Configuration for processing image by tiles.
57
+ This can be used to make the document quality analyzer processing faster with lower memory consumption,
58
+ but prediction can be less accurate.
59
+ */
60
+ export declare class ProcessByTileConfiguration {
61
+ /**
62
+ Enable processing by tiles.
63
+ @defaultValue true;
64
+ */
65
+ enabled: boolean;
66
+ /**
67
+ At least this fraction of the image will be processed, range is from 0 to 1.
68
+ Decreasing this value below 1.0 can lead to faster processing but may result in
69
+ less accurate prediction, as only a subset of the image tiles will be analyzed.
70
+ @defaultValue 1.0;
71
+ */
72
+ minProcessedFraction: number;
73
+ /**
74
+ At most this fraction of the image will be processed, range is from 0 to 1.
75
+ Decreasing this value below 1.0 can lead to faster processing but may result in
76
+ less accurate prediction, as only a subset of the image tiles will be analyzed.
77
+ @defaultValue 1.0;
78
+ */
79
+ maxProcessedFraction: number;
80
+ /**
81
+ If this number of symbols is found and minProcessedFraction of the image is processed, the processing stops.
82
+ @defaultValue 100;
83
+ */
84
+ minNumberOfRequiredSymbols: number;
85
+ /**
86
+ Image will be processed in tiles of this size; will be ignored if image is small.
87
+ @defaultValue 300;
88
+ */
89
+ tileSize: number;
90
+ /** @param source {@displayType `DeepPartial<ProcessByTileConfiguration>`} */
91
+ constructor(source?: DeepPartial<ProcessByTileConfiguration>);
92
+ }
93
+ /**
56
94
  Document Quality Analyzer configuration.
57
95
  */
58
96
  export declare class DocumentQualityAnalyzerConfiguration {
@@ -91,7 +129,7 @@ export declare class DocumentQualityAnalyzerConfiguration {
91
129
  */
92
130
  inspectSmallText: boolean;
93
131
  /**
94
- Maximum image size in pixels, if image is bigger, it will be resized.
132
+ Maximum image size in pixels, if image is bigger, it will be resized. Zero or negative value means no limit.
95
133
  @defaultValue 2000;
96
134
  */
97
135
  maxImageSize: number;
@@ -101,24 +139,10 @@ export declare class DocumentQualityAnalyzerConfiguration {
101
139
  */
102
140
  minEstimatedNumberOfSymbolsForDocument: number;
103
141
  /**
104
- At least this fraction of the image will be processed, range is from 0 to 1.
105
- Decreasing this value below 1.0 can lead to faster processing but may result in
106
- less accurate prediction, as only a subset of the image tiles will be analyzed.
107
- @defaultValue 1.0;
142
+ Configuration for processing image by tiles.
143
+ @defaultValue new ProcessByTileConfiguration({});
108
144
  */
109
- minProcessedFraction: number;
110
- /**
111
- At most this fraction of the image will be processed, range is from 0 to 1.
112
- Decreasing this value below 1.0 can lead to faster processing but may result in
113
- less accurate prediction, as only a subset of the image tiles will be analyzed.
114
- @defaultValue 1.0;
115
- */
116
- maxProcessedFraction: number;
117
- /**
118
- If this number of symbols is found and minProcessedFraction of the image is processed, the processing stops.
119
- @defaultValue 100;
120
- */
121
- minNumberOfRequiredSymbols: number;
145
+ processByTileConfiguration: ProcessByTileConfiguration;
122
146
  /**
123
147
  If detectOrientation is True, minNumberOfRequiredSymbols is found, and orientationConfidence is bigger than this threshold, the processing stops.
124
148
  If the maxProcessedFraction part of the image is processed and orientationConfidence is lower than the threshold, the returned orientation will be 0.
@@ -126,11 +150,6 @@ export declare class DocumentQualityAnalyzerConfiguration {
126
150
  */
127
151
  minRequiredOrientationConfidence: number;
128
152
  /**
129
- Image will be processed in tiles of this size; will be ignored if image is small.
130
- @defaultValue 300;
131
- */
132
- tileSize: number;
133
- /**
134
153
  If true, will return the quality heatmap as a part of the result.
135
154
  In this case, the entire image will be processed and the minProcessedFraction will be ignored.
136
155
  Useful for debugging situations where the returned quality doesn't appear to match the perceived quality.
@@ -166,7 +185,7 @@ export declare class DocumentQualityAnalyzerResult {
166
185
  * Document contains text with multiple orientations.
167
186
  * Text on the document is poorly readable.
168
187
  * Text on the document is on the edge of detectable text range (text is too small or too big).
169
- * Insufficient statistics because only part of the image was processed. See minProcessedFraction, maxProcessedFraction, and earlyStopIfNSymbolsFound options in the DocumentQualityAnalyzerConfiguration.
188
+ * Insufficient statistics because only part of the image was processed. See ProcessByTileConfiguration options in the DocumentQualityAnalyzerConfiguration.
170
189
  */
171
190
  readonly orientationConfidence: number | null;
172
191
  /**
@@ -140,26 +140,26 @@ export declare class DocumentScannerConfiguration {
140
140
  constructor(source?: DeepPartial<DocumentScannerConfiguration>);
141
141
  }
142
142
  /**
143
- The displacement of the document from the image center if the document is partially visible.
143
+ The direction towards the center of the document if the document is partially visible.
144
144
 
145
145
  - `NONE`:
146
146
  The document is fully visible.
147
147
  - `UP`:
148
- The document is partially visible and occupies the upper part of the image.
148
+ The document is partially visible. Move the camera up to capture the full document.
149
149
  - `UPPER_RIGHT`:
150
- The document is partially visible and occupies the upper right part of the image.
150
+ The document is partially visible. Move the camera up and to the right to capture the full document.
151
151
  - `RIGHT`:
152
- The document is partially visible and occupies the right part of the image.
152
+ The document is partially visible. Move the camera to the right to capture the full document.
153
153
  - `LOWER_RIGHT`:
154
- The document is partially visible and occupies the lower right part of the image.
154
+ The document is partially visible. Move the camera down and to the right to capture the full document.
155
155
  - `DOWN`:
156
- The document is partially visible and occupies the lower part of the image.
156
+ The document is partially visible. Move the camera down to capture the full document.
157
157
  - `LOWER_LEFT`:
158
- The document is partially visible and occupies the lower left part of the image.
158
+ The document is partially visible. Move the camera down and to the left to capture the full document.
159
159
  - `LEFT`:
160
- The document is partially visible and occupies the left part of the image.
160
+ The document is partially visible. Move the camera to the left to capture the full document.
161
161
  - `UPPER_LEFT`:
162
- The document is partially visible and occupies the upper left part of the image.
162
+ The document is partially visible. Move the camera up and to the left to capture the full document.
163
163
  */
164
164
  export type DocumentDisplacement =
165
165
  /**
@@ -167,35 +167,35 @@ The document is fully visible.
167
167
  */
168
168
  "NONE" |
169
169
  /**
170
- The document is partially visible and occupies the upper part of the image.
170
+ The document is partially visible. Move the camera up to capture the full document.
171
171
  */
172
172
  "UP" |
173
173
  /**
174
- The document is partially visible and occupies the upper right part of the image.
174
+ The document is partially visible. Move the camera up and to the right to capture the full document.
175
175
  */
176
176
  "UPPER_RIGHT" |
177
177
  /**
178
- The document is partially visible and occupies the right part of the image.
178
+ The document is partially visible. Move the camera to the right to capture the full document.
179
179
  */
180
180
  "RIGHT" |
181
181
  /**
182
- The document is partially visible and occupies the lower right part of the image.
182
+ The document is partially visible. Move the camera down and to the right to capture the full document.
183
183
  */
184
184
  "LOWER_RIGHT" |
185
185
  /**
186
- The document is partially visible and occupies the lower part of the image.
186
+ The document is partially visible. Move the camera down to capture the full document.
187
187
  */
188
188
  "DOWN" |
189
189
  /**
190
- The document is partially visible and occupies the lower left part of the image.
190
+ The document is partially visible. Move the camera down and to the left to capture the full document.
191
191
  */
192
192
  "LOWER_LEFT" |
193
193
  /**
194
- The document is partially visible and occupies the left part of the image.
194
+ The document is partially visible. Move the camera to the left to capture the full document.
195
195
  */
196
196
  "LEFT" |
197
197
  /**
198
- The document is partially visible and occupies the upper left part of the image.
198
+ The document is partially visible. Move the camera up and to the left to capture the full document.
199
199
  */
200
200
  "UPPER_LEFT";
201
201
  /** @hidden */
@@ -385,12 +385,12 @@ export declare class DocumentDetectionResult {
385
385
  */
386
386
  readonly averageBrightness: number;
387
387
  /**
388
- The displacement of the document from the image center if the document is partially visible.
388
+ The direction towards the center of the document if the document is partially visible.
389
389
  @defaultValue "NONE";
390
390
  */
391
391
  readonly displacement: DocumentDisplacement;
392
392
  /**
393
- The displacement vector of the document from the image center if the document is partially visible
393
+ The direction vector towards the center of the document if the document is partially visible
394
394
  in normalized coordinates.
395
395
  */
396
396
  readonly displacementVector: Point;
@@ -1505,4 +1505,446 @@ export declare class MoIdentityCardFront {
1505
1505
  }
1506
1506
  export declare namespace MoIdentityCardFront {
1507
1507
  }
1508
- export type DocumentsModelRootType = typeof Metadata.DOCUMENT_TYPE | typeof MRZ.DOCUMENT_TYPE | typeof ParsedDeAddress.DOCUMENT_TYPE | typeof DeIdCardFront.DOCUMENT_TYPE | typeof DeIdCardBack.DOCUMENT_TYPE | typeof DePassport.DOCUMENT_TYPE | typeof EuropeanDriverLicenseFront.DOCUMENT_TYPE | typeof EuropeanDriverLicenseBack.DOCUMENT_TYPE | typeof DeResidencePermitFront.DOCUMENT_TYPE | typeof DeResidencePermitBack.DOCUMENT_TYPE | typeof EuropeanHealthInsuranceCard.DOCUMENT_TYPE | typeof DeHealthInsuranceCardFront.DOCUMENT_TYPE | typeof BrIdCardFront.DOCUMENT_TYPE | typeof BrIdCardBack.DOCUMENT_TYPE | typeof BrIdCardFrontPhotoOnly.DOCUMENT_TYPE | typeof CnEntryAndExitPermitBack.DOCUMENT_TYPE | typeof CnEntryAndExitPermitFront.DOCUMENT_TYPE | typeof CnPermanentResidentCardFront.DOCUMENT_TYPE | typeof HkIdentityCardFront.DOCUMENT_TYPE | typeof TwEntryAndExitPermit.DOCUMENT_TYPE | typeof MoIdentityCardBack.DOCUMENT_TYPE | typeof MoIdentityCardFront.DOCUMENT_TYPE;
1508
+ /** RoIdCardTD3 */
1509
+ export declare class RoIdCardTD3 {
1510
+ private _document;
1511
+ get document(): GenericDocument;
1512
+ static readonly DOCUMENT_TYPE = "RoIdCardTD3";
1513
+ static readonly ADDRESS_FIELD_NAME = "Address";
1514
+ static readonly ADDRESS_FIELD_NAME_NORMALIZED = "RoIdCardTD3.Address";
1515
+ static readonly BIRTHPLACE_FIELD_NAME = "Birthplace";
1516
+ static readonly BIRTHPLACE_FIELD_NAME_NORMALIZED = "RoIdCardTD3.Birthplace";
1517
+ static readonly EXPIRY_DATE_FIELD_NAME = "ExpiryDate";
1518
+ static readonly EXPIRY_DATE_FIELD_NAME_NORMALIZED = "RoIdCardTD3.ExpiryDate";
1519
+ static readonly GENDER_FIELD_NAME = "Gender";
1520
+ static readonly GENDER_FIELD_NAME_NORMALIZED = "RoIdCardTD3.Gender";
1521
+ static readonly GIVEN_NAMES_FIELD_NAME = "GivenNames";
1522
+ static readonly GIVEN_NAMES_FIELD_NAME_NORMALIZED = "RoIdCardTD3.GivenNames";
1523
+ static readonly ID_FIELD_NAME = "ID";
1524
+ static readonly ID_FIELD_NAME_NORMALIZED = "RoIdCardTD3.ID";
1525
+ static readonly ISSUING_AUTHORITY_FIELD_NAME = "IssuingAuthority";
1526
+ static readonly ISSUING_AUTHORITY_FIELD_NAME_NORMALIZED = "RoIdCardTD3.IssuingAuthority";
1527
+ static readonly NATIONALITY_FIELD_NAME = "Nationality";
1528
+ static readonly NATIONALITY_FIELD_NAME_NORMALIZED = "RoIdCardTD3.Nationality";
1529
+ static readonly PERSONAL_NUMBER_FIELD_NAME = "PersonalNumber";
1530
+ static readonly PERSONAL_NUMBER_FIELD_NAME_NORMALIZED = "RoIdCardTD3.PersonalNumber";
1531
+ static readonly PHOTO_FIELD_NAME = "Photo";
1532
+ static readonly PHOTO_FIELD_NAME_NORMALIZED = "RoIdCardTD3.Photo";
1533
+ static readonly RAW_MRZ_FIELD_NAME = "RawMRZ";
1534
+ static readonly RAW_MRZ_FIELD_NAME_NORMALIZED = "RoIdCardTD3.RawMRZ";
1535
+ static readonly SURNAME_FIELD_NAME = "Surname";
1536
+ static readonly SURNAME_FIELD_NAME_NORMALIZED = "RoIdCardTD3.Surname";
1537
+ static readonly VALID_FROM_DATE_FIELD_NAME = "ValidFromDate";
1538
+ static readonly VALID_FROM_DATE_FIELD_NAME_NORMALIZED = "RoIdCardTD3.ValidFromDate";
1539
+ constructor(document: GenericDocument);
1540
+ requiredDocumentType(): string;
1541
+ /** Address */
1542
+ get address(): Field;
1543
+ /** Birthplace */
1544
+ get birthplace(): Field;
1545
+ /** Expiry date */
1546
+ get expiryDate(): Field;
1547
+ /** Gender */
1548
+ get gender(): Field;
1549
+ /** Given Names */
1550
+ get givenNames(): Field;
1551
+ /** Series and number of the ID card */
1552
+ get id(): Field;
1553
+ /** Issuing authority */
1554
+ get issuingAuthority(): Field;
1555
+ /** Nationality */
1556
+ get nationality(): Field;
1557
+ /** Personal Number (CNP) */
1558
+ get personalNumber(): Field;
1559
+ /** Photo image */
1560
+ get photo(): Field;
1561
+ /** Raw MRZ text value */
1562
+ get rawMRZ(): Field;
1563
+ /** Surname */
1564
+ get surname(): Field;
1565
+ /** Valid from date */
1566
+ get validFromDate(): Field;
1567
+ /** The child document of type "MRZ". */
1568
+ get mrz(): MRZ;
1569
+ /** The child document of type "Metadata". */
1570
+ get metadata(): Metadata;
1571
+ }
1572
+ export declare namespace RoIdCardTD3 {
1573
+ }
1574
+ /** ItIdCardFront */
1575
+ export declare class ItIdCardFront {
1576
+ private _document;
1577
+ get document(): GenericDocument;
1578
+ static readonly DOCUMENT_TYPE = "ItIdCardFront";
1579
+ static readonly BIRTH_DATE_FIELD_NAME = "BirthDate";
1580
+ static readonly BIRTH_DATE_FIELD_NAME_NORMALIZED = "ItIdCardFront.BirthDate";
1581
+ static readonly BIRTHPLACE_FIELD_NAME = "Birthplace";
1582
+ static readonly BIRTHPLACE_FIELD_NAME_NORMALIZED = "ItIdCardFront.Birthplace";
1583
+ static readonly CARD_ACCESS_NUMBER_FIELD_NAME = "CardAccessNumber";
1584
+ static readonly CARD_ACCESS_NUMBER_FIELD_NAME_NORMALIZED = "ItIdCardFront.CardAccessNumber";
1585
+ static readonly EXPIRY_DATE_FIELD_NAME = "ExpiryDate";
1586
+ static readonly EXPIRY_DATE_FIELD_NAME_NORMALIZED = "ItIdCardFront.ExpiryDate";
1587
+ static readonly GENDER_FIELD_NAME = "Gender";
1588
+ static readonly GENDER_FIELD_NAME_NORMALIZED = "ItIdCardFront.Gender";
1589
+ static readonly GIVEN_NAMES_FIELD_NAME = "GivenNames";
1590
+ static readonly GIVEN_NAMES_FIELD_NAME_NORMALIZED = "ItIdCardFront.GivenNames";
1591
+ static readonly HEIGHT_FIELD_NAME = "Height";
1592
+ static readonly HEIGHT_FIELD_NAME_NORMALIZED = "ItIdCardFront.Height";
1593
+ static readonly ID_FIELD_NAME = "ID";
1594
+ static readonly ID_FIELD_NAME_NORMALIZED = "ItIdCardFront.ID";
1595
+ static readonly ISSUE_DATE_FIELD_NAME = "IssueDate";
1596
+ static readonly ISSUE_DATE_FIELD_NAME_NORMALIZED = "ItIdCardFront.IssueDate";
1597
+ static readonly NATIONALITY_FIELD_NAME = "Nationality";
1598
+ static readonly NATIONALITY_FIELD_NAME_NORMALIZED = "ItIdCardFront.Nationality";
1599
+ static readonly PHOTO_FIELD_NAME = "Photo";
1600
+ static readonly PHOTO_FIELD_NAME_NORMALIZED = "ItIdCardFront.Photo";
1601
+ static readonly PLACE_OF_ISSUE_FIELD_NAME = "PlaceOfIssue";
1602
+ static readonly PLACE_OF_ISSUE_FIELD_NAME_NORMALIZED = "ItIdCardFront.PlaceOfIssue";
1603
+ static readonly SIGNATURE_FIELD_NAME = "Signature";
1604
+ static readonly SIGNATURE_FIELD_NAME_NORMALIZED = "ItIdCardFront.Signature";
1605
+ static readonly SURNAME_FIELD_NAME = "Surname";
1606
+ static readonly SURNAME_FIELD_NAME_NORMALIZED = "ItIdCardFront.Surname";
1607
+ constructor(document: GenericDocument);
1608
+ requiredDocumentType(): string;
1609
+ /** Date of Birth */
1610
+ get birthDate(): Field;
1611
+ /** Birthplace */
1612
+ get birthplace(): Field;
1613
+ /** Card Access Number */
1614
+ get cardAccessNumber(): Field;
1615
+ /** Expiry date */
1616
+ get expiryDate(): Field;
1617
+ /** Gender */
1618
+ get gender(): Field;
1619
+ /** Given Names */
1620
+ get givenNames(): Field;
1621
+ /** Height */
1622
+ get height(): Field;
1623
+ /** Identity Document Number */
1624
+ get id(): Field;
1625
+ /** Date of Issue */
1626
+ get issueDate(): Field;
1627
+ /** Nationality */
1628
+ get nationality(): Field;
1629
+ /** Photo image */
1630
+ get photo(): Field;
1631
+ /** Municipality of Issue */
1632
+ get placeOfIssue(): Field;
1633
+ /** Signature image */
1634
+ get signature(): Field;
1635
+ /** Surname */
1636
+ get surname(): Field;
1637
+ /** The child document of type "Metadata". */
1638
+ get metadata(): Metadata;
1639
+ }
1640
+ export declare namespace ItIdCardFront {
1641
+ }
1642
+ /** ItIdCardBack */
1643
+ export declare class ItIdCardBack {
1644
+ private _document;
1645
+ get document(): GenericDocument;
1646
+ static readonly DOCUMENT_TYPE = "ItIdCardBack";
1647
+ static readonly ADDRESS_FIELD_NAME = "Address";
1648
+ static readonly ADDRESS_FIELD_NAME_NORMALIZED = "ItIdCardBack.Address";
1649
+ static readonly BARCODE_FIELD_NAME = "Barcode";
1650
+ static readonly BARCODE_FIELD_NAME_NORMALIZED = "ItIdCardBack.Barcode";
1651
+ static readonly FISCAL_CODE_FIELD_NAME = "FiscalCode";
1652
+ static readonly FISCAL_CODE_FIELD_NAME_NORMALIZED = "ItIdCardBack.FiscalCode";
1653
+ static readonly ISSUING_AUTHORITY_FIELD_NAME = "IssuingAuthority";
1654
+ static readonly ISSUING_AUTHORITY_FIELD_NAME_NORMALIZED = "ItIdCardBack.IssuingAuthority";
1655
+ static readonly PARENTS_FIELD_NAME = "Parents";
1656
+ static readonly PARENTS_FIELD_NAME_NORMALIZED = "ItIdCardBack.Parents";
1657
+ static readonly RAW_MRZ_FIELD_NAME = "RawMRZ";
1658
+ static readonly RAW_MRZ_FIELD_NAME_NORMALIZED = "ItIdCardBack.RawMRZ";
1659
+ static readonly REMARKS_FIELD_NAME = "Remarks";
1660
+ static readonly REMARKS_FIELD_NAME_NORMALIZED = "ItIdCardBack.Remarks";
1661
+ static readonly VALIDATION_PHOTO_FIELD_NAME = "ValidationPhoto";
1662
+ static readonly VALIDATION_PHOTO_FIELD_NAME_NORMALIZED = "ItIdCardBack.ValidationPhoto";
1663
+ constructor(document: GenericDocument);
1664
+ requiredDocumentType(): string;
1665
+ /** Address */
1666
+ get address(): Field;
1667
+ /** Barcode data */
1668
+ get barcode(): Field;
1669
+ /** Fiscal Code */
1670
+ get fiscalCode(): Field;
1671
+ /** Issuing authority */
1672
+ get issuingAuthority(): Field | undefined;
1673
+ /** Parents information */
1674
+ get parents(): Field;
1675
+ /** Raw MRZ text value */
1676
+ get rawMRZ(): Field;
1677
+ /** Remarks */
1678
+ get remarks(): Field;
1679
+ /** Validation Photo */
1680
+ get validationPhoto(): Field;
1681
+ /** The child document of type "MRZ". */
1682
+ get mrz(): MRZ;
1683
+ /** The child document of type "Metadata". */
1684
+ get metadata(): Metadata;
1685
+ }
1686
+ export declare namespace ItIdCardBack {
1687
+ }
1688
+ /** PoIdCardFront */
1689
+ export declare class PoIdCardFront {
1690
+ private _document;
1691
+ get document(): GenericDocument;
1692
+ static readonly DOCUMENT_TYPE = "PoIdCardFront";
1693
+ static readonly BIRTH_DATE_FIELD_NAME = "BirthDate";
1694
+ static readonly BIRTH_DATE_FIELD_NAME_NORMALIZED = "PoIdCardFront.BirthDate";
1695
+ static readonly CARD_ACCESS_NUMBER_FIELD_NAME = "CardAccessNumber";
1696
+ static readonly CARD_ACCESS_NUMBER_FIELD_NAME_NORMALIZED = "PoIdCardFront.CardAccessNumber";
1697
+ static readonly EXPIRY_DATE_FIELD_NAME = "ExpiryDate";
1698
+ static readonly EXPIRY_DATE_FIELD_NAME_NORMALIZED = "PoIdCardFront.ExpiryDate";
1699
+ static readonly GENDER_FIELD_NAME = "Gender";
1700
+ static readonly GENDER_FIELD_NAME_NORMALIZED = "PoIdCardFront.Gender";
1701
+ static readonly GIVEN_NAMES_FIELD_NAME = "GivenNames";
1702
+ static readonly GIVEN_NAMES_FIELD_NAME_NORMALIZED = "PoIdCardFront.GivenNames";
1703
+ static readonly ID_FIELD_NAME = "ID";
1704
+ static readonly ID_FIELD_NAME_NORMALIZED = "PoIdCardFront.ID";
1705
+ static readonly NATIONALITY_FIELD_NAME = "Nationality";
1706
+ static readonly NATIONALITY_FIELD_NAME_NORMALIZED = "PoIdCardFront.Nationality";
1707
+ static readonly PHOTO_FIELD_NAME = "Photo";
1708
+ static readonly PHOTO_FIELD_NAME_NORMALIZED = "PoIdCardFront.Photo";
1709
+ static readonly SIGNATURE_FIELD_NAME = "Signature";
1710
+ static readonly SIGNATURE_FIELD_NAME_NORMALIZED = "PoIdCardFront.Signature";
1711
+ static readonly SURNAME_FIELD_NAME = "Surname";
1712
+ static readonly SURNAME_FIELD_NAME_NORMALIZED = "PoIdCardFront.Surname";
1713
+ constructor(document: GenericDocument);
1714
+ requiredDocumentType(): string;
1715
+ /** Date of Birth */
1716
+ get birthDate(): Field;
1717
+ /** Card Access Number */
1718
+ get cardAccessNumber(): Field | undefined;
1719
+ /** Expiry date */
1720
+ get expiryDate(): Field;
1721
+ /** Gender */
1722
+ get gender(): Field;
1723
+ /** Given Names */
1724
+ get givenNames(): Field;
1725
+ /** Identity Document Number */
1726
+ get id(): Field;
1727
+ /** Nationality */
1728
+ get nationality(): Field;
1729
+ /** Photo image */
1730
+ get photo(): Field;
1731
+ /** Signature image */
1732
+ get signature(): Field | undefined;
1733
+ /** Surname */
1734
+ get surname(): Field;
1735
+ /** The child document of type "Metadata". */
1736
+ get metadata(): Metadata;
1737
+ }
1738
+ export declare namespace PoIdCardFront {
1739
+ }
1740
+ /** RoIdCardBack */
1741
+ export declare class RoIdCardBack {
1742
+ private _document;
1743
+ get document(): GenericDocument;
1744
+ static readonly DOCUMENT_TYPE = "RoIdCardBack";
1745
+ static readonly ISSUE_DATE_FIELD_NAME = "IssueDate";
1746
+ static readonly ISSUE_DATE_FIELD_NAME_NORMALIZED = "RoIdCardBack.IssueDate";
1747
+ static readonly ISSUING_AUTHORITY_FIELD_NAME = "IssuingAuthority";
1748
+ static readonly ISSUING_AUTHORITY_FIELD_NAME_NORMALIZED = "RoIdCardBack.IssuingAuthority";
1749
+ static readonly RAW_MRZ_FIELD_NAME = "RawMRZ";
1750
+ static readonly RAW_MRZ_FIELD_NAME_NORMALIZED = "RoIdCardBack.RawMRZ";
1751
+ constructor(document: GenericDocument);
1752
+ requiredDocumentType(): string;
1753
+ /** Date of Issue */
1754
+ get issueDate(): Field;
1755
+ /** Issuing authority */
1756
+ get issuingAuthority(): Field;
1757
+ /** Raw MRZ text value */
1758
+ get rawMRZ(): Field;
1759
+ /** The child document of type "MRZ". */
1760
+ get mrz(): MRZ;
1761
+ /** The child document of type "Metadata". */
1762
+ get metadata(): Metadata;
1763
+ }
1764
+ export declare namespace RoIdCardBack {
1765
+ }
1766
+ /** RoIdCardFront */
1767
+ export declare class RoIdCardFront {
1768
+ private _document;
1769
+ get document(): GenericDocument;
1770
+ static readonly DOCUMENT_TYPE = "RoIdCardFront";
1771
+ static readonly BIRTH_DATE_FIELD_NAME = "BirthDate";
1772
+ static readonly BIRTH_DATE_FIELD_NAME_NORMALIZED = "RoIdCardFront.BirthDate";
1773
+ static readonly CARD_ACCESS_NUMBER_FIELD_NAME = "CardAccessNumber";
1774
+ static readonly CARD_ACCESS_NUMBER_FIELD_NAME_NORMALIZED = "RoIdCardFront.CardAccessNumber";
1775
+ static readonly EXPIRY_DATE_FIELD_NAME = "ExpiryDate";
1776
+ static readonly EXPIRY_DATE_FIELD_NAME_NORMALIZED = "RoIdCardFront.ExpiryDate";
1777
+ static readonly GENDER_FIELD_NAME = "Gender";
1778
+ static readonly GENDER_FIELD_NAME_NORMALIZED = "RoIdCardFront.Gender";
1779
+ static readonly GIVEN_NAMES_FIELD_NAME = "GivenNames";
1780
+ static readonly GIVEN_NAMES_FIELD_NAME_NORMALIZED = "RoIdCardFront.GivenNames";
1781
+ static readonly ID_FIELD_NAME = "ID";
1782
+ static readonly ID_FIELD_NAME_NORMALIZED = "RoIdCardFront.ID";
1783
+ static readonly NATIONALITY_FIELD_NAME = "Nationality";
1784
+ static readonly NATIONALITY_FIELD_NAME_NORMALIZED = "RoIdCardFront.Nationality";
1785
+ static readonly PERSONAL_NUMBER_FIELD_NAME = "PersonalNumber";
1786
+ static readonly PERSONAL_NUMBER_FIELD_NAME_NORMALIZED = "RoIdCardFront.PersonalNumber";
1787
+ static readonly SIGNATURE_FIELD_NAME = "Signature";
1788
+ static readonly SIGNATURE_FIELD_NAME_NORMALIZED = "RoIdCardFront.Signature";
1789
+ static readonly SURNAME_FIELD_NAME = "Surname";
1790
+ static readonly SURNAME_FIELD_NAME_NORMALIZED = "RoIdCardFront.Surname";
1791
+ constructor(document: GenericDocument);
1792
+ requiredDocumentType(): string;
1793
+ /** Date of Birth */
1794
+ get birthDate(): Field;
1795
+ /** Card Access Number */
1796
+ get cardAccessNumber(): Field;
1797
+ /** Expiry date */
1798
+ get expiryDate(): Field;
1799
+ /** Gender */
1800
+ get gender(): Field;
1801
+ /** Given Names */
1802
+ get givenNames(): Field;
1803
+ /** Identity Document Number */
1804
+ get id(): Field;
1805
+ /** Nationality */
1806
+ get nationality(): Field;
1807
+ /** Personal Number (CNP) */
1808
+ get personalNumber(): Field;
1809
+ /** Signature image */
1810
+ get signature(): Field;
1811
+ /** Surname */
1812
+ get surname(): Field;
1813
+ /** The child document of type "Metadata". */
1814
+ get metadata(): Metadata;
1815
+ }
1816
+ export declare namespace RoIdCardFront {
1817
+ }
1818
+ /** PoIdCardBack */
1819
+ export declare class PoIdCardBack {
1820
+ private _document;
1821
+ get document(): GenericDocument;
1822
+ static readonly DOCUMENT_TYPE = "PoIdCardBack";
1823
+ static readonly BARCODE_FIELD_NAME = "Barcode";
1824
+ static readonly BARCODE_FIELD_NAME_NORMALIZED = "PoIdCardBack.Barcode";
1825
+ static readonly BIRTHPLACE_FIELD_NAME = "Birthplace";
1826
+ static readonly BIRTHPLACE_FIELD_NAME_NORMALIZED = "PoIdCardBack.Birthplace";
1827
+ static readonly ID_FIELD_NAME = "ID";
1828
+ static readonly ID_FIELD_NAME_NORMALIZED = "PoIdCardBack.ID";
1829
+ static readonly ISSUE_DATE_FIELD_NAME = "IssueDate";
1830
+ static readonly ISSUE_DATE_FIELD_NAME_NORMALIZED = "PoIdCardBack.IssueDate";
1831
+ static readonly ISSUING_AUTHORITY_FIELD_NAME = "IssuingAuthority";
1832
+ static readonly ISSUING_AUTHORITY_FIELD_NAME_NORMALIZED = "PoIdCardBack.IssuingAuthority";
1833
+ static readonly PARENTS_GIVEN_NAMES_FIELD_NAME = "ParentsGivenNames";
1834
+ static readonly PARENTS_GIVEN_NAMES_FIELD_NAME_NORMALIZED = "PoIdCardBack.ParentsGivenNames";
1835
+ static readonly PERSONAL_NUMBER_FIELD_NAME = "PersonalNumber";
1836
+ static readonly PERSONAL_NUMBER_FIELD_NAME_NORMALIZED = "PoIdCardBack.PersonalNumber";
1837
+ static readonly RAW_MRZ_FIELD_NAME = "RawMRZ";
1838
+ static readonly RAW_MRZ_FIELD_NAME_NORMALIZED = "PoIdCardBack.RawMRZ";
1839
+ static readonly SURNAME_FIELD_NAME = "Surname";
1840
+ static readonly SURNAME_FIELD_NAME_NORMALIZED = "PoIdCardBack.Surname";
1841
+ constructor(document: GenericDocument);
1842
+ requiredDocumentType(): string;
1843
+ /** Barcode data */
1844
+ get barcode(): Field;
1845
+ /** Birthplace */
1846
+ get birthplace(): Field;
1847
+ /** Identity Document Number */
1848
+ get id(): Field;
1849
+ /** Date of Issue */
1850
+ get issueDate(): Field;
1851
+ /** Issuing authority */
1852
+ get issuingAuthority(): Field;
1853
+ /** Parents Given Names */
1854
+ get parentsGivenNames(): Field;
1855
+ /** Personal Number */
1856
+ get personalNumber(): Field;
1857
+ /** Raw MRZ text value */
1858
+ get rawMRZ(): Field;
1859
+ /** Surname */
1860
+ get surname(): Field;
1861
+ /** The child document of type "MRZ". */
1862
+ get mrz(): MRZ;
1863
+ /** The child document of type "Metadata". */
1864
+ get metadata(): Metadata;
1865
+ }
1866
+ export declare namespace PoIdCardBack {
1867
+ }
1868
+ /** TrIdCardBack */
1869
+ export declare class TrIdCardBack {
1870
+ private _document;
1871
+ get document(): GenericDocument;
1872
+ static readonly DOCUMENT_TYPE = "TrIdCardBack";
1873
+ static readonly BARCODE_FIELD_NAME = "Barcode";
1874
+ static readonly BARCODE_FIELD_NAME_NORMALIZED = "TrIdCardBack.Barcode";
1875
+ static readonly FATHERS_NAME_FIELD_NAME = "FathersName";
1876
+ static readonly FATHERS_NAME_FIELD_NAME_NORMALIZED = "TrIdCardBack.FathersName";
1877
+ static readonly ISSUING_AUTHORITY_FIELD_NAME = "IssuingAuthority";
1878
+ static readonly ISSUING_AUTHORITY_FIELD_NAME_NORMALIZED = "TrIdCardBack.IssuingAuthority";
1879
+ static readonly MOTHERS_NAME_FIELD_NAME = "MothersName";
1880
+ static readonly MOTHERS_NAME_FIELD_NAME_NORMALIZED = "TrIdCardBack.MothersName";
1881
+ static readonly RAW_MRZ_FIELD_NAME = "RawMRZ";
1882
+ static readonly RAW_MRZ_FIELD_NAME_NORMALIZED = "TrIdCardBack.RawMRZ";
1883
+ constructor(document: GenericDocument);
1884
+ requiredDocumentType(): string;
1885
+ /** Barcode data */
1886
+ get barcode(): Field;
1887
+ /** Father's Name */
1888
+ get fathersName(): Field;
1889
+ /** Issuing authority */
1890
+ get issuingAuthority(): Field;
1891
+ /** Mother's Name */
1892
+ get mothersName(): Field;
1893
+ /** Raw MRZ text value */
1894
+ get rawMRZ(): Field;
1895
+ /** The child document of type "MRZ". */
1896
+ get mrz(): MRZ;
1897
+ /** The child document of type "Metadata". */
1898
+ get metadata(): Metadata;
1899
+ }
1900
+ export declare namespace TrIdCardBack {
1901
+ }
1902
+ /** TrIdCardFront */
1903
+ export declare class TrIdCardFront {
1904
+ private _document;
1905
+ get document(): GenericDocument;
1906
+ static readonly DOCUMENT_TYPE = "TrIdCardFront";
1907
+ static readonly BIRTH_DATE_FIELD_NAME = "BirthDate";
1908
+ static readonly BIRTH_DATE_FIELD_NAME_NORMALIZED = "TrIdCardFront.BirthDate";
1909
+ static readonly EXPIRY_DATE_FIELD_NAME = "ExpiryDate";
1910
+ static readonly EXPIRY_DATE_FIELD_NAME_NORMALIZED = "TrIdCardFront.ExpiryDate";
1911
+ static readonly GENDER_FIELD_NAME = "Gender";
1912
+ static readonly GENDER_FIELD_NAME_NORMALIZED = "TrIdCardFront.Gender";
1913
+ static readonly GIVEN_NAMES_FIELD_NAME = "GivenNames";
1914
+ static readonly GIVEN_NAMES_FIELD_NAME_NORMALIZED = "TrIdCardFront.GivenNames";
1915
+ static readonly ID_FIELD_NAME = "ID";
1916
+ static readonly ID_FIELD_NAME_NORMALIZED = "TrIdCardFront.ID";
1917
+ static readonly NATIONALITY_FIELD_NAME = "Nationality";
1918
+ static readonly NATIONALITY_FIELD_NAME_NORMALIZED = "TrIdCardFront.Nationality";
1919
+ static readonly PERSONAL_NUMBER_FIELD_NAME = "PersonalNumber";
1920
+ static readonly PERSONAL_NUMBER_FIELD_NAME_NORMALIZED = "TrIdCardFront.PersonalNumber";
1921
+ static readonly SIGNATURE_FIELD_NAME = "Signature";
1922
+ static readonly SIGNATURE_FIELD_NAME_NORMALIZED = "TrIdCardFront.Signature";
1923
+ static readonly SURNAME_FIELD_NAME = "Surname";
1924
+ static readonly SURNAME_FIELD_NAME_NORMALIZED = "TrIdCardFront.Surname";
1925
+ constructor(document: GenericDocument);
1926
+ requiredDocumentType(): string;
1927
+ /** Date of Birth */
1928
+ get birthDate(): Field;
1929
+ /** Expiry date */
1930
+ get expiryDate(): Field;
1931
+ /** Gender */
1932
+ get gender(): Field;
1933
+ /** Given Names */
1934
+ get givenNames(): Field;
1935
+ /** Identity Document Number */
1936
+ get id(): Field;
1937
+ /** Nationality */
1938
+ get nationality(): Field;
1939
+ /** Personal Number */
1940
+ get personalNumber(): Field;
1941
+ /** Signature image */
1942
+ get signature(): Field;
1943
+ /** Surname */
1944
+ get surname(): Field;
1945
+ /** The child document of type "Metadata". */
1946
+ get metadata(): Metadata;
1947
+ }
1948
+ export declare namespace TrIdCardFront {
1949
+ }
1950
+ export type DocumentsModelRootType = typeof Metadata.DOCUMENT_TYPE | typeof MRZ.DOCUMENT_TYPE | typeof ParsedDeAddress.DOCUMENT_TYPE | typeof DeIdCardFront.DOCUMENT_TYPE | typeof DeIdCardBack.DOCUMENT_TYPE | typeof DePassport.DOCUMENT_TYPE | typeof EuropeanDriverLicenseFront.DOCUMENT_TYPE | typeof EuropeanDriverLicenseBack.DOCUMENT_TYPE | typeof DeResidencePermitFront.DOCUMENT_TYPE | typeof DeResidencePermitBack.DOCUMENT_TYPE | typeof EuropeanHealthInsuranceCard.DOCUMENT_TYPE | typeof DeHealthInsuranceCardFront.DOCUMENT_TYPE | typeof BrIdCardFront.DOCUMENT_TYPE | typeof BrIdCardBack.DOCUMENT_TYPE | typeof BrIdCardFrontPhotoOnly.DOCUMENT_TYPE | typeof CnEntryAndExitPermitBack.DOCUMENT_TYPE | typeof CnEntryAndExitPermitFront.DOCUMENT_TYPE | typeof CnPermanentResidentCardFront.DOCUMENT_TYPE | typeof HkIdentityCardFront.DOCUMENT_TYPE | typeof TwEntryAndExitPermit.DOCUMENT_TYPE | typeof MoIdentityCardBack.DOCUMENT_TYPE | typeof MoIdentityCardFront.DOCUMENT_TYPE | typeof RoIdCardTD3.DOCUMENT_TYPE | typeof ItIdCardFront.DOCUMENT_TYPE | typeof ItIdCardBack.DOCUMENT_TYPE | typeof PoIdCardFront.DOCUMENT_TYPE | typeof RoIdCardBack.DOCUMENT_TYPE | typeof RoIdCardFront.DOCUMENT_TYPE | typeof PoIdCardBack.DOCUMENT_TYPE | typeof TrIdCardBack.DOCUMENT_TYPE | typeof TrIdCardFront.DOCUMENT_TYPE;
@@ -1,6 +1,7 @@
1
1
  import type { DeepPartial } from "./utils";
2
2
  import { AccumulatedResultsVerifierConfiguration } from "./FrameAccumulationTypes";
3
3
  import { GenericDocument } from "./GenericDocument";
4
+ import { ProcessingMode } from "./CommonTypes";
4
5
  /**
5
6
  Type of document containing the MRZ.
6
7
 
@@ -107,6 +108,14 @@ export declare class MrzScannerConfiguration {
107
108
  @defaultValue false;
108
109
  */
109
110
  returnCrops: boolean;
111
+ /**
112
+ Scanners typically can produce better results from a single image if they are allowed to spend a longer time analyzing it.
113
+
114
+ On the other hand, scanners can produce even better results if they can analyze multiple images of the same subject and cross-check and combine the results.
115
+ The processing mode tells the scanner whether to optimize for single or multiple images of a subject.
116
+ @defaultValue "AUTO";
117
+ */
118
+ processingMode: ProcessingMode;
110
119
  /** @param source {@displayType `DeepPartial<MrzScannerConfiguration>`} */
111
120
  constructor(source?: DeepPartial<MrzScannerConfiguration>);
112
121
  }