scanbot-web-sdk 7.0.0-dev.1 → 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.
Files changed (42) hide show
  1. package/@types/core/bridge/compiled/BarcodeDocumentModel.d.ts +1421 -0
  2. package/@types/core/bridge/compiled/CheckDocumentModel.d.ts +130 -0
  3. package/@types/core/bridge/compiled/CreditCardDocumentModel.d.ts +16 -0
  4. package/@types/core/bridge/compiled/DocumentsModel.d.ts +489 -0
  5. package/@types/core/bridge/compiled/TextPatternScannerTypes.d.ts +1 -21
  6. package/@types/core/bridge/compiled/VinScannerTypes.d.ts +79 -0
  7. package/@types/core/bridge/worker-bridge.d.ts +26 -12
  8. package/@types/core/worker/ScanbotSDK.Core.d.ts +8 -2
  9. package/@types/core-types.d.ts +5 -0
  10. package/@types/index.d.ts +1 -1
  11. package/@types/model/configuration/vin-scanner-configuration.d.ts +4 -4
  12. package/@types/scanbot-sdk.d.ts +14 -12
  13. package/@types/service/vin-scanner.d.ts +16 -0
  14. package/@types/text-pattern-scanner-view.d.ts +7 -7
  15. package/@types/ui2/document/views/acknowledgement-screen/acknowledgement-image.d.ts +0 -1
  16. package/@types/ui2/scanbot-sdk-ui.d.ts +1 -1
  17. package/@types/utils/image-utils.d.ts +1 -0
  18. package/@types/worker/worker-bridge.d.ts +26 -12
  19. package/bundle/ScanbotSDK.min.js +5 -5
  20. package/bundle/ScanbotSDK.ui2.min.js +17 -17
  21. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
  22. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  23. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
  24. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm.wasm +0 -0
  25. package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
  26. package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd.js +1 -1
  27. package/bundle/bin/barcode-scanner/ScanbotSDK.Core.js +1 -1
  28. package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.js +1 -1
  29. package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  30. package/bundle/bin/complete/ScanbotSDK.Asm-simd.wasm +0 -0
  31. package/bundle/bin/complete/ScanbotSDK.Asm.wasm +0 -0
  32. package/bundle/bin/complete/ScanbotSDK.Core-simd-threads.js +1 -1
  33. package/bundle/bin/complete/ScanbotSDK.Core-simd.js +1 -1
  34. package/bundle/bin/complete/ScanbotSDK.Core.js +1 -1
  35. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
  36. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  37. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
  38. package/bundle/bin/document-scanner/ScanbotSDK.Asm.wasm +0 -0
  39. package/bundle/bin/document-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
  40. package/bundle/bin/document-scanner/ScanbotSDK.Core-simd.js +1 -1
  41. package/bundle/bin/document-scanner/ScanbotSDK.Core.js +1 -1
  42. package/package.json +1 -1
@@ -0,0 +1,130 @@
1
+ import { GenericDocument, Field } from './GenericDocument';
2
+ export type CheckDocumentModelRootType = typeof USACheckDocumentType | typeof UAECheckDocumentType | typeof FRACheckDocumentType | typeof ISRCheckDocumentType | typeof KWTCheckDocumentType | typeof AUSCheckDocumentType | typeof INDCheckDocumentType | typeof CANCheckDocumentType | typeof UnknownCheckDocumentType;
3
+ export declare const CheckDocumentType = "Check";
4
+ export declare const USACheckDocumentType = "USACheck";
5
+ export declare const UAECheckDocumentType = "UAECheck";
6
+ export declare const FRACheckDocumentType = "FRACheck";
7
+ export declare const ISRCheckDocumentType = "ISRCheck";
8
+ export declare const KWTCheckDocumentType = "KWTCheck";
9
+ export declare const AUSCheckDocumentType = "AUSCheck";
10
+ export declare const INDCheckDocumentType = "INDCheck";
11
+ export declare const CANCheckDocumentType = "CANCheck";
12
+ export declare const UnknownCheckDocumentType = "UnknownCheck";
13
+ /** Check Document */
14
+ export declare abstract class Check {
15
+ private _document;
16
+ get document(): GenericDocument;
17
+ constructor(document: GenericDocument);
18
+ abstract requiredDocumentType(): string;
19
+ /** type of check font */
20
+ get fontType(): Field | undefined;
21
+ /** Detected raw string */
22
+ get rawString(): Field;
23
+ }
24
+ /** A check compatible with the ASC X9 standard used in the USA */
25
+ export declare class USACheck extends Check {
26
+ constructor(document: GenericDocument);
27
+ requiredDocumentType(): string;
28
+ /** Account number */
29
+ get accountNumber(): Field;
30
+ /** Auxiliary On-Us */
31
+ get auxiliaryOnUs(): Field | undefined;
32
+ /** Transit number */
33
+ get transitNumber(): Field;
34
+ }
35
+ /** A check format commonly used in the United Arab Emirates */
36
+ export declare class UAECheck extends Check {
37
+ constructor(document: GenericDocument);
38
+ requiredDocumentType(): string;
39
+ /** Account number */
40
+ get accountNumber(): Field;
41
+ /** Cheque number */
42
+ get chequeNumber(): Field;
43
+ /** Routing number */
44
+ get routingNumber(): Field;
45
+ }
46
+ /** A check format commonly used in France */
47
+ export declare class FRACheck extends Check {
48
+ constructor(document: GenericDocument);
49
+ requiredDocumentType(): string;
50
+ /** Account number */
51
+ get accountNumber(): Field;
52
+ /** Cheque number */
53
+ get chequeNumber(): Field;
54
+ /** Routing number */
55
+ get routingNumber(): Field;
56
+ }
57
+ /** A check format commonly used in Israel */
58
+ export declare class ISRCheck extends Check {
59
+ constructor(document: GenericDocument);
60
+ requiredDocumentType(): string;
61
+ /** Account number */
62
+ get accountNumber(): Field;
63
+ /** Bank number */
64
+ get bankNumber(): Field;
65
+ /** Branch number */
66
+ get branchNumber(): Field;
67
+ /** Cheque number */
68
+ get chequeNumber(): Field;
69
+ }
70
+ /** A check format commonly used in Kuwait */
71
+ export declare class KWTCheck extends Check {
72
+ constructor(document: GenericDocument);
73
+ requiredDocumentType(): string;
74
+ /** Account number */
75
+ get accountNumber(): Field;
76
+ /** Cheque number */
77
+ get chequeNumber(): Field;
78
+ /** Sort code */
79
+ get sortCode(): Field;
80
+ }
81
+ /** A check compatible with the Australian Paper Clearing System cheque standard */
82
+ export declare class AUSCheck extends Check {
83
+ constructor(document: GenericDocument);
84
+ requiredDocumentType(): string;
85
+ /** Account number */
86
+ get accountNumber(): Field;
87
+ /** Auxiliary domestic */
88
+ get auxDomestic(): Field | undefined;
89
+ /** BSB */
90
+ get bsb(): Field;
91
+ /** Extra auxiliary domestic */
92
+ get extraAuxDomestic(): Field | undefined;
93
+ /** Transaction code */
94
+ get transactionCode(): Field;
95
+ }
96
+ /** A check compatible with the CTS-2010 standard issued by the Reserve Bank of India in 2012 */
97
+ export declare class INDCheck extends Check {
98
+ constructor(document: GenericDocument);
99
+ requiredDocumentType(): string;
100
+ /** Account number */
101
+ get accountNumber(): Field;
102
+ /** Serial number */
103
+ get serialNumber(): Field;
104
+ /** Sort number */
105
+ get sortNumber(): Field | undefined;
106
+ /** Transaction code */
107
+ get transactionCode(): Field;
108
+ }
109
+ /** A check format commonly used in Canada */
110
+ export declare class CANCheck extends Check {
111
+ constructor(document: GenericDocument);
112
+ requiredDocumentType(): string;
113
+ /** Account number */
114
+ get accountNumber(): Field;
115
+ /** Bank number */
116
+ get bankNumber(): Field;
117
+ /** Cheque number */
118
+ get chequeNumber(): Field;
119
+ /** Designation number */
120
+ get designationNumber(): Field | undefined;
121
+ /** Transaction code */
122
+ get transactionCode(): Field | undefined;
123
+ /** Transit number */
124
+ get transitNumber(): Field;
125
+ }
126
+ /** A check that doesn't conform to any supported standard */
127
+ export declare class UnknownCheck extends Check {
128
+ constructor(document: GenericDocument);
129
+ requiredDocumentType(): string;
130
+ }
@@ -0,0 +1,16 @@
1
+ import { GenericDocument, Field } from './GenericDocument';
2
+ export type CreditCardDocumentModelRootType = typeof CreditCardDocumentType;
3
+ export declare const CreditCardDocumentType = "CreditCard";
4
+ /** Credit Card Document */
5
+ export declare class CreditCard {
6
+ private _document;
7
+ get document(): GenericDocument;
8
+ constructor(document: GenericDocument);
9
+ requiredDocumentType(): string;
10
+ /** The card number of the recognized credit card */
11
+ get cardNumber(): Field;
12
+ /** The cardholder name of the recognized credit card */
13
+ get cardholderName(): Field | undefined;
14
+ /** The expiry date of the recognized credit card */
15
+ get expiryDate(): Field | undefined;
16
+ }
@@ -0,0 +1,489 @@
1
+ import { GenericDocument, Field } from './GenericDocument';
2
+ export type DocumentsModelRootType = typeof MRZDocumentType | typeof DeIdCardFrontDocumentType | typeof DeIdCardBackDocumentType | typeof DePassportDocumentType | typeof DeDriverLicenseFrontDocumentType | typeof DeDriverLicenseBackDocumentType | typeof DeResidencePermitFrontDocumentType | typeof DeResidencePermitBackDocumentType | typeof EuropeanHealthInsuranceCardDocumentType | typeof DeHealthInsuranceCardFrontDocumentType;
3
+ export declare const MRZDocumentType = "MRZ";
4
+ export declare const DeIdCardFrontDocumentType = "DeIdCardFront";
5
+ export declare const DeIdCardBackDocumentType = "DeIdCardBack";
6
+ export declare const DePassportDocumentType = "DePassport";
7
+ export declare const DeDriverLicenseFrontDocumentType = "DeDriverLicenseFront";
8
+ export declare const DeDriverLicenseBackDocumentType = "DeDriverLicenseBack";
9
+ export declare const DeDriverLicenseBackCategoryDocumentType = "Category";
10
+ export declare const DeDriverLicenseBackCategoriesDocumentType = "Categories";
11
+ export declare const DeDriverLicenseBackCategoriesADocumentType = "A";
12
+ export declare const DeDriverLicenseBackCategoriesA1DocumentType = "A1";
13
+ export declare const DeDriverLicenseBackCategoriesA2DocumentType = "A2";
14
+ export declare const DeDriverLicenseBackCategoriesAMDocumentType = "AM";
15
+ export declare const DeDriverLicenseBackCategoriesBDocumentType = "B";
16
+ export declare const DeDriverLicenseBackCategoriesB1DocumentType = "B1";
17
+ export declare const DeDriverLicenseBackCategoriesBEDocumentType = "BE";
18
+ export declare const DeDriverLicenseBackCategoriesCDocumentType = "C";
19
+ export declare const DeDriverLicenseBackCategoriesC1DocumentType = "C1";
20
+ export declare const DeDriverLicenseBackCategoriesC1EDocumentType = "C1E";
21
+ export declare const DeDriverLicenseBackCategoriesCEDocumentType = "CE";
22
+ export declare const DeDriverLicenseBackCategoriesDDocumentType = "D";
23
+ export declare const DeDriverLicenseBackCategoriesD1DocumentType = "D1";
24
+ export declare const DeDriverLicenseBackCategoriesD1EDocumentType = "D1E";
25
+ export declare const DeDriverLicenseBackCategoriesDEDocumentType = "DE";
26
+ export declare const DeDriverLicenseBackCategoriesLDocumentType = "L";
27
+ export declare const DeDriverLicenseBackCategoriesTDocumentType = "T";
28
+ export declare const DeResidencePermitFrontDocumentType = "DeResidencePermitFront";
29
+ export declare const DeResidencePermitBackDocumentType = "DeResidencePermitBack";
30
+ export declare const EuropeanHealthInsuranceCardDocumentType = "EuropeanHealthInsuranceCard";
31
+ export declare const DeHealthInsuranceCardFrontDocumentType = "DeHealthInsuranceCardFront";
32
+ /** MRZ part of the document */
33
+ export declare class MRZ {
34
+ private _document;
35
+ get document(): GenericDocument;
36
+ constructor(document: GenericDocument);
37
+ requiredDocumentType(): string;
38
+ /** Birth date */
39
+ get birthDate(): Field;
40
+ /** Check digit birth date */
41
+ get checkDigitBirthDate(): Field | undefined;
42
+ /** Check digit document number */
43
+ get checkDigitDocumentNumber(): Field | undefined;
44
+ /** Check digit expiry date */
45
+ get checkDigitExpiryDate(): Field | undefined;
46
+ /** Check digit general */
47
+ get checkDigitGeneral(): Field | undefined;
48
+ /** Check digit personal number */
49
+ get checkDigitPersonalNumber(): Field | undefined;
50
+ /** Date of issuance */
51
+ get dateOfIssuance(): Field | undefined;
52
+ /** Document number */
53
+ get documentNumber(): Field | undefined;
54
+ /** Document type from the DocumentType enum */
55
+ get documentType(): Field;
56
+ /** Document type code */
57
+ get documentTypeCode(): Field | undefined;
58
+ /** Expiry date */
59
+ get expiryDate(): Field | undefined;
60
+ /** Gender */
61
+ get gender(): Field | undefined;
62
+ /** Given names */
63
+ get givenNames(): Field;
64
+ /** Issuing authority */
65
+ get issuingAuthority(): Field | undefined;
66
+ /** Language code */
67
+ get languageCode(): Field | undefined;
68
+ /** Nationality */
69
+ get nationality(): Field;
70
+ /** Office of issuance */
71
+ get officeOfIssuance(): Field | undefined;
72
+ /** TD1 Optional field (line 2) */
73
+ get optional1(): Field | undefined;
74
+ /** TD1 Optional field (line 3) */
75
+ get optional2(): Field | undefined;
76
+ /** PIN code */
77
+ get pinCode(): Field | undefined;
78
+ /** Personal number */
79
+ get personalNumber(): Field | undefined;
80
+ /** Surname */
81
+ get surname(): Field;
82
+ /** Travel document type */
83
+ get travelDocType(): Field | undefined;
84
+ /** Travel document type variant */
85
+ get travelDocTypeVariant(): Field | undefined;
86
+ /** Unknown */
87
+ get unknown(): Field | undefined;
88
+ /** Version number */
89
+ get versionNumber(): Field | undefined;
90
+ /** MRV-A/MRV-B (Travel Visa) Optional field */
91
+ get visaOptional(): Field | undefined;
92
+ }
93
+ /** German ID card, front side */
94
+ export declare class DeIdCardFront {
95
+ private _document;
96
+ get document(): GenericDocument;
97
+ constructor(document: GenericDocument);
98
+ requiredDocumentType(): string;
99
+ /** Birth date */
100
+ get birthDate(): Field;
101
+ /** Birthplace */
102
+ get birthplace(): Field;
103
+ /** Six digit card access number */
104
+ get cardAccessNumber(): Field;
105
+ /** Expiry date */
106
+ get expiryDate(): Field;
107
+ /** Given names */
108
+ get givenNames(): Field;
109
+ /** Document ID number (in the top-right corner) */
110
+ get id(): Field;
111
+ /** Maiden name */
112
+ get maidenName(): Field | undefined;
113
+ /** Nationality */
114
+ get nationality(): Field;
115
+ /** Photo image */
116
+ get photo(): Field;
117
+ /** Signature image */
118
+ get signature(): Field;
119
+ /** Surname */
120
+ get surname(): Field;
121
+ }
122
+ /** German ID card, back side */
123
+ export declare class DeIdCardBack {
124
+ private _document;
125
+ get document(): GenericDocument;
126
+ constructor(document: GenericDocument);
127
+ requiredDocumentType(): string;
128
+ /** Address */
129
+ get address(): Field;
130
+ /** Eye color */
131
+ get eyeColor(): Field;
132
+ /** Height */
133
+ get height(): Field;
134
+ /** Issue date */
135
+ get issueDate(): Field;
136
+ /** Issuing authority */
137
+ get issuingAuthority(): Field;
138
+ /** Pseudonym */
139
+ get pseudonym(): Field | undefined;
140
+ /** Raw MRZ text value */
141
+ get rawMRZ(): Field;
142
+ /** The child document of type "MRZ". */
143
+ get mrz(): MRZ;
144
+ }
145
+ export declare namespace DeIdCardBack {
146
+ }
147
+ /** German travel passport (Reisepass) */
148
+ export declare class DePassport {
149
+ private _document;
150
+ get document(): GenericDocument;
151
+ constructor(document: GenericDocument);
152
+ requiredDocumentType(): string;
153
+ /** Birth date */
154
+ get birthDate(): Field;
155
+ /** Birthplace */
156
+ get birthplace(): Field;
157
+ /** Country code */
158
+ get countryCode(): Field;
159
+ /** Expiry date */
160
+ get expiryDate(): Field;
161
+ /** Gender */
162
+ get gender(): Field;
163
+ /** Given names */
164
+ get givenNames(): Field;
165
+ /** Document ID number (in the top-right corner) */
166
+ get id(): Field;
167
+ /** Issue date */
168
+ get issueDate(): Field;
169
+ /** Issuing authority */
170
+ get issuingAuthority(): Field;
171
+ /** Maiden name */
172
+ get maidenName(): Field | undefined;
173
+ /** Nationality */
174
+ get nationality(): Field;
175
+ /** Passport type */
176
+ get passportType(): Field;
177
+ /** Photo image */
178
+ get photo(): Field;
179
+ /** Raw MRZ text value */
180
+ get rawMRZ(): Field;
181
+ /** Signature image */
182
+ get signature(): Field;
183
+ /** Surname */
184
+ get surname(): Field;
185
+ /** The child document of type "MRZ". */
186
+ get mrz(): MRZ;
187
+ }
188
+ export declare namespace DePassport {
189
+ }
190
+ /** German driver license (Führerschein), front side */
191
+ export declare class DeDriverLicenseFront {
192
+ private _document;
193
+ get document(): GenericDocument;
194
+ constructor(document: GenericDocument);
195
+ requiredDocumentType(): string;
196
+ /** Birth date (Field 3.) */
197
+ get birthDate(): Field;
198
+ /** Birthplace (Field 3.) */
199
+ get birthplace(): Field;
200
+ /** Expiry date (Field 4b.) */
201
+ get expiryDate(): Field;
202
+ /** Given names (Field 2.) */
203
+ get givenNames(): Field;
204
+ /** Document ID number (in the top-right corner, Field 5.) */
205
+ get id(): Field;
206
+ /** Issue date (Field 4a.) */
207
+ get issueDate(): Field;
208
+ /** Issuing authority (Field 4c.) */
209
+ get issuingAuthority(): Field;
210
+ /** Driver's license categories (Field 9.) */
211
+ get licenseCategories(): Field;
212
+ /** Photo image */
213
+ get photo(): Field;
214
+ /** Serial number (Field 5b. on Driver Qualification Card) */
215
+ get serialNumber(): Field | undefined;
216
+ /** Signature image (Field 7.) */
217
+ get signature(): Field;
218
+ /** Surname (Field 1.) */
219
+ get surname(): Field;
220
+ }
221
+ /** German driver license (Führerschein), back side */
222
+ export declare class DeDriverLicenseBack {
223
+ private _document;
224
+ get document(): GenericDocument;
225
+ constructor(document: GenericDocument);
226
+ requiredDocumentType(): string;
227
+ /** Restrictions applied for the driver's license (Field 12.) */
228
+ get restrictions(): Field | undefined;
229
+ /** The child document of type "Categories". */
230
+ get categories(): DeDriverLicenseBack.Categories;
231
+ }
232
+ export declare namespace DeDriverLicenseBack {
233
+ /** A category row from the categories table */
234
+ abstract class Category {
235
+ private _document;
236
+ get document(): GenericDocument;
237
+ constructor(document: GenericDocument);
238
+ abstract requiredDocumentType(): string;
239
+ /** Restrictions (Column 12.) */
240
+ get restrictions(): Field | undefined;
241
+ /** Valid from (Column 10.) */
242
+ get validFrom(): Field;
243
+ /** Valid until (Column 11.) */
244
+ get validUntil(): Field;
245
+ }
246
+ /** Categories table row container */
247
+ class Categories {
248
+ private _document;
249
+ get document(): GenericDocument;
250
+ constructor(document: GenericDocument);
251
+ requiredDocumentType(): string;
252
+ /** The child document of type "A". */
253
+ get a(): DeDriverLicenseBack.Categories.A;
254
+ /** The child document of type "A1". */
255
+ get a1(): DeDriverLicenseBack.Categories.A1;
256
+ /** The child document of type "A2". */
257
+ get a2(): DeDriverLicenseBack.Categories.A2;
258
+ /** The child document of type "AM". */
259
+ get am(): DeDriverLicenseBack.Categories.AM;
260
+ /** The child document of type "B". */
261
+ get b(): DeDriverLicenseBack.Categories.B;
262
+ /** The child document of type "B1". */
263
+ get b1(): DeDriverLicenseBack.Categories.B1 | undefined;
264
+ /** The child document of type "BE". */
265
+ get be(): DeDriverLicenseBack.Categories.BE;
266
+ /** The child document of type "C". */
267
+ get c(): DeDriverLicenseBack.Categories.C;
268
+ /** The child document of type "C1". */
269
+ get c1(): DeDriverLicenseBack.Categories.C1;
270
+ /** The child document of type "C1E". */
271
+ get c1E(): DeDriverLicenseBack.Categories.C1E;
272
+ /** The child document of type "CE". */
273
+ get ce(): DeDriverLicenseBack.Categories.CE;
274
+ /** The child document of type "D". */
275
+ get d(): DeDriverLicenseBack.Categories.D;
276
+ /** The child document of type "D1". */
277
+ get d1(): DeDriverLicenseBack.Categories.D1;
278
+ /** The child document of type "D1E". */
279
+ get d1E(): DeDriverLicenseBack.Categories.D1E;
280
+ /** The child document of type "DE". */
281
+ get de(): DeDriverLicenseBack.Categories.DE;
282
+ /** The child document of type "L". */
283
+ get l(): DeDriverLicenseBack.Categories.L;
284
+ /** The child document of type "T". */
285
+ get t(): DeDriverLicenseBack.Categories.T;
286
+ }
287
+ namespace Categories {
288
+ /** DeDriverLicenseBack.Categories.A */
289
+ class A extends Category {
290
+ constructor(document: GenericDocument);
291
+ requiredDocumentType(): string;
292
+ }
293
+ /** DeDriverLicenseBack.Categories.A1 */
294
+ class A1 extends Category {
295
+ constructor(document: GenericDocument);
296
+ requiredDocumentType(): string;
297
+ }
298
+ /** DeDriverLicenseBack.Categories.A2 */
299
+ class A2 extends Category {
300
+ constructor(document: GenericDocument);
301
+ requiredDocumentType(): string;
302
+ }
303
+ /** DeDriverLicenseBack.Categories.AM */
304
+ class AM extends Category {
305
+ constructor(document: GenericDocument);
306
+ requiredDocumentType(): string;
307
+ }
308
+ /** DeDriverLicenseBack.Categories.B */
309
+ class B extends Category {
310
+ constructor(document: GenericDocument);
311
+ requiredDocumentType(): string;
312
+ }
313
+ /** DeDriverLicenseBack.Categories.B1 */
314
+ class B1 extends Category {
315
+ constructor(document: GenericDocument);
316
+ requiredDocumentType(): string;
317
+ }
318
+ /** DeDriverLicenseBack.Categories.BE */
319
+ class BE extends Category {
320
+ constructor(document: GenericDocument);
321
+ requiredDocumentType(): string;
322
+ }
323
+ /** DeDriverLicenseBack.Categories.C */
324
+ class C extends Category {
325
+ constructor(document: GenericDocument);
326
+ requiredDocumentType(): string;
327
+ }
328
+ /** DeDriverLicenseBack.Categories.C1 */
329
+ class C1 extends Category {
330
+ constructor(document: GenericDocument);
331
+ requiredDocumentType(): string;
332
+ }
333
+ /** DeDriverLicenseBack.Categories.C1E */
334
+ class C1E extends Category {
335
+ constructor(document: GenericDocument);
336
+ requiredDocumentType(): string;
337
+ }
338
+ /** DeDriverLicenseBack.Categories.CE */
339
+ class CE extends Category {
340
+ constructor(document: GenericDocument);
341
+ requiredDocumentType(): string;
342
+ }
343
+ /** DeDriverLicenseBack.Categories.D */
344
+ class D extends Category {
345
+ constructor(document: GenericDocument);
346
+ requiredDocumentType(): string;
347
+ }
348
+ /** DeDriverLicenseBack.Categories.D1 */
349
+ class D1 extends Category {
350
+ constructor(document: GenericDocument);
351
+ requiredDocumentType(): string;
352
+ }
353
+ /** DeDriverLicenseBack.Categories.D1E */
354
+ class D1E extends Category {
355
+ constructor(document: GenericDocument);
356
+ requiredDocumentType(): string;
357
+ }
358
+ /** DeDriverLicenseBack.Categories.DE */
359
+ class DE extends Category {
360
+ constructor(document: GenericDocument);
361
+ requiredDocumentType(): string;
362
+ }
363
+ /** DeDriverLicenseBack.Categories.L */
364
+ class L extends Category {
365
+ constructor(document: GenericDocument);
366
+ requiredDocumentType(): string;
367
+ }
368
+ /** DeDriverLicenseBack.Categories.T */
369
+ class T extends Category {
370
+ constructor(document: GenericDocument);
371
+ requiredDocumentType(): string;
372
+ }
373
+ }
374
+ }
375
+ /** German Residence Permit (Aufenthaltstitel), Front side */
376
+ export declare class DeResidencePermitFront {
377
+ private _document;
378
+ get document(): GenericDocument;
379
+ constructor(document: GenericDocument);
380
+ requiredDocumentType(): string;
381
+ /** Birth date (Geburtsdatum) */
382
+ get birthDate(): Field | undefined;
383
+ /** Six digit card access number */
384
+ get cardAccessNumber(): Field;
385
+ /** Expiry date (Gültig bis) */
386
+ get expiryDate(): Field;
387
+ /** Gender (Geschlecht) */
388
+ get gender(): Field | undefined;
389
+ /** Given names */
390
+ get givenNames(): Field;
391
+ /** Document ID number (in the top-right corner) */
392
+ get id(): Field;
393
+ /** Nationality (Staatsangehörigkeit) */
394
+ get nationality(): Field | undefined;
395
+ /** Photo image */
396
+ get photo(): Field;
397
+ /** Place of issue (Ausstellungsort) */
398
+ get placeOfIssue(): Field | undefined;
399
+ /** Remarks (Anmerkungen) */
400
+ get remarks(): Field;
401
+ /** Signature image */
402
+ get signature(): Field;
403
+ /** Surname */
404
+ get surname(): Field;
405
+ /** Title type (Art des Titels) */
406
+ get titleType(): Field;
407
+ /** Valid from date (Gültig ab) */
408
+ get validFrom(): Field | undefined;
409
+ }
410
+ /** German Residence Permit (Aufenthaltstitel), Back side */
411
+ export declare class DeResidencePermitBack {
412
+ private _document;
413
+ get document(): GenericDocument;
414
+ constructor(document: GenericDocument);
415
+ requiredDocumentType(): string;
416
+ /** Address (Anschrift) */
417
+ get address(): Field;
418
+ /** Birth date (Geburtsdatum) */
419
+ get birthDate(): Field | undefined;
420
+ /** Birthplace (Geburtsort) */
421
+ get birthplace(): Field;
422
+ /** Eye color (Augenfarbe) */
423
+ get eyeColor(): Field;
424
+ /** Gender (Geschlecht) */
425
+ get gender(): Field | undefined;
426
+ /** Height (Größe) */
427
+ get height(): Field;
428
+ /** Issuing authority (Ausländerbehörde) */
429
+ get issuingAuthority(): Field;
430
+ /** Nationality (Staatsangehörigkeit) */
431
+ get nationality(): Field | undefined;
432
+ /** Raw MRZ text value */
433
+ get rawMRZ(): Field;
434
+ /** Remarks (Anmerkungen) */
435
+ get remarks(): Field | undefined;
436
+ /** The child document of type "MRZ". */
437
+ get mrz(): MRZ;
438
+ }
439
+ export declare namespace DeResidencePermitBack {
440
+ }
441
+ /** European Health Insurance Card (EHIC). Supports formats with both four and five lines of data.
442
+ */
443
+ export declare class EuropeanHealthInsuranceCard {
444
+ private _document;
445
+ get document(): GenericDocument;
446
+ constructor(document: GenericDocument);
447
+ requiredDocumentType(): string;
448
+ /** Barcode image (only present in some formats) */
449
+ get barcode(): Field | undefined;
450
+ /** Birth date */
451
+ get birthDate(): Field;
452
+ /** Card number */
453
+ get cardNumber(): Field;
454
+ /** Country code (ISO 3166-1 alpha-2) */
455
+ get countryCode(): Field;
456
+ /** Expiry date */
457
+ get expiryDate(): Field;
458
+ /** Given names */
459
+ get givenNames(): Field;
460
+ /** Issuer name */
461
+ get issuerName(): Field;
462
+ /** Issuer number */
463
+ get issuerNumber(): Field;
464
+ /** Personal number */
465
+ get personalNumber(): Field;
466
+ /** Signature image */
467
+ get signature(): Field | undefined;
468
+ /** Surname */
469
+ get surname(): Field;
470
+ }
471
+ /** Front side of the German health insurance card (elektronische Gesundheitskarte).
472
+ For the backside, see EuropeanHealthInsuranceCard.
473
+ */
474
+ export declare class DeHealthInsuranceCardFront {
475
+ private _document;
476
+ get document(): GenericDocument;
477
+ constructor(document: GenericDocument);
478
+ requiredDocumentType(): string;
479
+ /** Six digit card access number */
480
+ get cardAccessNumber(): Field | undefined;
481
+ /** Issuer name */
482
+ get issuerName(): Field;
483
+ /** Issuer number (Versicherung bzw. Kennnummer des Trägers) */
484
+ get issuerNumber(): Field;
485
+ /** Full name with title */
486
+ get name(): Field;
487
+ /** Personal number (Versichertennummer) */
488
+ get personalNumber(): Field;
489
+ }
@@ -69,17 +69,9 @@ export declare class TextPatternScannerResult extends PartiallyConstructible {
69
69
  constructor(source?: DeepPartial<TextPatternScannerResult>);
70
70
  }
71
71
  /**
72
- Preset for the validation.
73
-
74
- - `VEHICLE_IDENTIFICATION_NUMBER`:
75
- Validation rules for vehicle identification numbers.
76
- */
77
- export type ValidatorPreset = "VEHICLE_IDENTIFICATION_NUMBER";
78
- export declare const ValidatorPresetValues: ValidatorPreset[];
79
- /**
80
72
  Base class for content validators.
81
73
  */
82
- export type ContentValidator = DefaultContentValidator | PresetContentValidator | PatternContentValidator;
74
+ export type ContentValidator = DefaultContentValidator | PatternContentValidator;
83
75
  /** @internal */
84
76
  export declare namespace ContentValidator {
85
77
  /** @internal */
@@ -101,18 +93,6 @@ export declare class DefaultContentValidator extends PartiallyConstructible {
101
93
  constructor(source?: DeepPartial<DefaultContentValidator>);
102
94
  }
103
95
  /**
104
- Preset content validator.
105
- */
106
- export declare class PresetContentValidator extends PartiallyConstructible {
107
- readonly _type: "PresetContentValidator";
108
- /**
109
- Validator preset
110
- */
111
- preset: ValidatorPreset;
112
- /** @param source {@displayType `DeepPartial<PresetContentValidator>`} */
113
- constructor(source?: DeepPartial<PresetContentValidator>);
114
- }
115
- /**
116
96
  Pattern content validator.
117
97
  */
118
98
  export declare class PatternContentValidator extends PartiallyConstructible {