@scandit/web-datacapture-id 7.1.0 → 7.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/js/IdCaptureSettings.d.ts +7 -5
- package/build/js/SerializedTypes.d.ts +1 -0
- package/build/js/captured-id/BarcodeResult.d.ts +10 -0
- package/build/js/captured-id/MRZResult.d.ts +10 -0
- package/build/js/captured-id/VIZResult.d.ts +9 -0
- package/build/js/document/RegionSpecificSubtype.d.ts +2 -1
- package/build/js/index.js +3 -3
- package/build/js/worker/dataCapture.inlineWorker.d.ts +1 -1
- package/build/js/worker/dataCaptureEngine.d.ts +2 -2
- package/build/js/worker/dataCaptureWorkerRelated.d.ts +6 -3
- package/package.json +3 -12
- package/sdc-lib/idcapture/Centaurus.worker.min.js +1 -1
- package/sdc-lib/idcapture/lightweight/advanced/Centaurus.data +0 -0
- package/sdc-lib/idcapture/lightweight/advanced/Centaurus.js +1 -1
- package/sdc-lib/idcapture/lightweight/advanced/Centaurus.wasm +0 -0
- package/sdc-lib/idcapture/lightweight/advanced-threads/Centaurus.data +0 -0
- package/sdc-lib/idcapture/lightweight/advanced-threads/Centaurus.js +1 -1
- package/sdc-lib/idcapture/lightweight/advanced-threads/Centaurus.wasm +0 -0
- package/sdc-lib/idcapture/lightweight/basic/Centaurus.data +0 -0
- package/sdc-lib/idcapture/lightweight/basic/Centaurus.js +1 -1
- package/sdc-lib/idcapture/lightweight/basic/Centaurus.wasm +0 -0
- package/sdc-lib/resources/models/barcode_classification_default_model.b90ecc5d362d6cb82801c877fdde7c3e64b6b5ef.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_generic_postal_code_default_model.4c1ba34eafc0f30fbafdd458c6eed156bd3b3498.model +0 -0
- package/sdc-lib/resources/models/barcode_semantics_ocr_detector_default_model.e440ae4acaf7c7a2f42814ddc46c0920423eb372.model +0 -0
- package/sdc-lib/resources/models/ocr_barcode_semantics_default_model.4df1cd250f2d31a69eecb30466b7823bbdd06730.model +0 -0
- package/sdc-lib/scandit-datacapture-sdk-id-pthreads.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-id-pthreads.wasm +0 -0
- package/sdc-lib/scandit-datacapture-sdk-id-simd-pthreads.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-id-simd-pthreads.wasm +0 -0
- package/sdc-lib/scandit-datacapture-sdk-id-simd.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-id-simd.wasm +0 -0
- package/sdc-lib/scandit-datacapture-sdk-id.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-id.wasm +0 -0
- package/sdc-lib/resources/models/barcode_classification_default_model.0e0f78dcf2b31abc9b4fc5c1b7c5cb342a7d5e63.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_french_post_default_model.8843b5d5d2eb71ebeab43204fbb9574c76f94fe7.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_generic_postal_code_default_model.48b44ea31495024d80a11e1ca3ecde3d958eaf2d.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_upu_enhanced_orange.da67055d9aa866fe157514a4d55c2c504ec68306.model +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { JSONType } from "@scandit/web-datacapture-core";
|
|
2
2
|
import type { Serializable } from "@scandit/web-datacapture-core/build/js/private/Serializable";
|
|
3
|
-
import { IdAnonymizationMode, IdCaptureTrigger, IdImageType } from "./Enums";
|
|
4
|
-
import type { IdCaptureDocument, IdCaptureDocumentJSON } from "./document/IdCaptureDocument";
|
|
5
|
-
import type { ScannerJSON, IdCaptureScanner } from "./scanner/Scanner";
|
|
6
3
|
import { Duration } from "./Duration";
|
|
7
4
|
import type { DurationJSON } from "./SerializedTypes";
|
|
5
|
+
import { IdAnonymizationMode, IdCaptureTrigger, IdImageType } from "./Enums";
|
|
6
|
+
import type { IdCaptureDocument, IdCaptureDocumentJSON } from "./document/IdCaptureDocument";
|
|
7
|
+
import type { IdCaptureScanner, ScannerJSON } from "./scanner/Scanner";
|
|
8
8
|
export interface IdCaptureSettingsJSON {
|
|
9
9
|
acceptedDocuments: IdCaptureDocumentJSON[];
|
|
10
10
|
rejectedDocuments: IdCaptureDocumentJSON[];
|
|
@@ -19,6 +19,7 @@ export interface IdCaptureSettingsJSON {
|
|
|
19
19
|
rejectInconsistentData: boolean;
|
|
20
20
|
rejectHolderBelowAge: number | null;
|
|
21
21
|
rejectIdsExpiringIn: DurationJSON | null;
|
|
22
|
+
decodeMobileDriverLicenses: boolean;
|
|
22
23
|
properties: JSONType;
|
|
23
24
|
}
|
|
24
25
|
export declare class IdCaptureSettings implements Serializable<IdCaptureSettingsJSON> {
|
|
@@ -34,6 +35,7 @@ export declare class IdCaptureSettings implements Serializable<IdCaptureSettings
|
|
|
34
35
|
rejectInconsistentData: boolean;
|
|
35
36
|
rejectHolderBelowAge: number | null;
|
|
36
37
|
rejectIdsExpiringIn: Duration | null;
|
|
38
|
+
decodeMobileDriverLicenses: boolean;
|
|
37
39
|
private properties;
|
|
38
40
|
private imageToResult;
|
|
39
41
|
constructor();
|
|
@@ -43,5 +45,5 @@ export declare class IdCaptureSettings implements Serializable<IdCaptureSettings
|
|
|
43
45
|
getShouldPassImageTypeToResult(type: IdImageType): boolean;
|
|
44
46
|
toJSONObject(): IdCaptureSettingsJSON;
|
|
45
47
|
private static fromJSON;
|
|
46
|
-
private
|
|
48
|
+
private static createDocumentFromJSON;
|
|
47
49
|
}
|
|
@@ -242,6 +242,7 @@ export interface VIZResultJSON extends CommonFieldsJSON {
|
|
|
242
242
|
visaNumber: string | null;
|
|
243
243
|
passportNumber: string | null;
|
|
244
244
|
usRealIdStatus: string | null;
|
|
245
|
+
vehicleOwner: string | null;
|
|
245
246
|
}
|
|
246
247
|
export interface IdCaptureErrorJSON {
|
|
247
248
|
type: string;
|
|
@@ -90,6 +90,16 @@ export declare class BarcodeResult implements Serializable<BarcodeResultJSON> {
|
|
|
90
90
|
get weightKg(): number | null;
|
|
91
91
|
get weightLbs(): number | null;
|
|
92
92
|
get isRealId(): boolean | null;
|
|
93
|
+
get firstName(): string | null;
|
|
94
|
+
get lastName(): string | null;
|
|
95
|
+
get fullName(): string;
|
|
96
|
+
get sex(): string | null;
|
|
97
|
+
get dateOfBirth(): DateResult | null;
|
|
98
|
+
get nationality(): string | null;
|
|
99
|
+
get address(): string | null;
|
|
100
|
+
get documentNumber(): string | null;
|
|
101
|
+
get dateOfExpiry(): DateResult | null;
|
|
102
|
+
get dateOfIssue(): DateResult | null;
|
|
93
103
|
get barcodeDataElements(): Record<string, string>;
|
|
94
104
|
private static fromJSON;
|
|
95
105
|
toJSONObject(): BarcodeResultJSON;
|
|
@@ -17,6 +17,16 @@ export declare class MRZResult implements Serializable<MRZResultJSON> {
|
|
|
17
17
|
get passportIssuerIso(): string | null;
|
|
18
18
|
get passportNumber(): string | null;
|
|
19
19
|
get passportDateOfExpiry(): DateResult | null;
|
|
20
|
+
get firstName(): string | null;
|
|
21
|
+
get lastName(): string | null;
|
|
22
|
+
get fullName(): string;
|
|
23
|
+
get sex(): string | null;
|
|
24
|
+
get dateOfBirth(): DateResult | null;
|
|
25
|
+
get nationality(): string | null;
|
|
26
|
+
get address(): string | null;
|
|
27
|
+
get documentNumber(): string | null;
|
|
28
|
+
get dateOfExpiry(): DateResult | null;
|
|
29
|
+
get dateOfIssue(): DateResult | null;
|
|
20
30
|
private static fromJSON;
|
|
21
31
|
toJSONObject(): MRZResultJSON;
|
|
22
32
|
}
|
|
@@ -2,6 +2,7 @@ import type { Serializable } from "@scandit/web-datacapture-core/build/js/privat
|
|
|
2
2
|
import type { CapturedSides } from "../Enums";
|
|
3
3
|
import { DrivingLicenseDetails } from "./DrivingLicenseDetails";
|
|
4
4
|
import type { VIZResultJSON } from "../SerializedTypes";
|
|
5
|
+
import { DateResult } from "./DateResult";
|
|
5
6
|
export declare class VIZResult implements Serializable<VIZResultJSON> {
|
|
6
7
|
protected json: VIZResultJSON;
|
|
7
8
|
get firstName(): string | null;
|
|
@@ -31,6 +32,14 @@ export declare class VIZResult implements Serializable<VIZResultJSON> {
|
|
|
31
32
|
get sponsor(): string | null;
|
|
32
33
|
get visaNumber(): string | null;
|
|
33
34
|
get passportNumber(): string | null;
|
|
35
|
+
get sex(): string | null;
|
|
36
|
+
get dateOfBirth(): DateResult | null;
|
|
37
|
+
get nationality(): string | null;
|
|
38
|
+
get address(): string | null;
|
|
39
|
+
get documentNumber(): string | null;
|
|
40
|
+
get dateOfExpiry(): DateResult | null;
|
|
41
|
+
get dateOfIssue(): DateResult | null;
|
|
42
|
+
get vehicleOwner(): string | null;
|
|
34
43
|
private static fromJSON;
|
|
35
44
|
toJSONObject(): VIZResultJSON;
|
|
36
45
|
}
|
|
@@ -62,5 +62,6 @@ export declare enum RegionSpecificSubtype {
|
|
|
62
62
|
UsMedicalMarijuanaCard = "usMedicalMarijuanaCard",
|
|
63
63
|
UsMunicipalId = "usMunicipalId",
|
|
64
64
|
AustraliaAsicCard = "australiaAsicCard",
|
|
65
|
-
UaeVehicleRegistrationCard = "uaeVehicleRegistrationCard"
|
|
65
|
+
UaeVehicleRegistrationCard = "uaeVehicleRegistrationCard",
|
|
66
|
+
UaeEsaadCard = "uaeEsaadCard"
|
|
66
67
|
}
|