scandit-datacapture-frameworks-id 7.6.1 → 8.0.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.
Files changed (32) hide show
  1. package/dist/dts/common/DataConsistencyCheck.d.ts +9 -0
  2. package/dist/dts/common/DateResult.d.ts +1 -1
  3. package/dist/dts/common/RegionSpecificSubtype.d.ts +0 -1
  4. package/dist/dts/common/Sex.d.ts +5 -0
  5. package/dist/dts/common/index.d.ts +2 -0
  6. package/dist/dts/defaults/IdDefaults.d.ts +7 -1
  7. package/dist/dts/defaults/SerializedTypes.d.ts +58 -39
  8. package/dist/dts/id/AamvaBarcodeVerificationResult.d.ts +0 -3
  9. package/dist/dts/id/BarcodeResult.d.ts +10 -0
  10. package/dist/dts/id/CapturedId.d.ts +22 -13
  11. package/dist/dts/id/DataConsistencyResult.d.ts +14 -0
  12. package/dist/dts/id/DrivingLicenseCategory.d.ts +12 -0
  13. package/dist/dts/id/DrivingLicenseDetails.d.ts +13 -0
  14. package/dist/dts/id/IdFieldType.d.ts +31 -0
  15. package/dist/dts/id/MRZResult.d.ts +10 -8
  16. package/dist/dts/id/MobileDocumentResult.d.ts +35 -0
  17. package/dist/dts/id/ProfessionalDrivingPermit.d.ts +1 -1
  18. package/dist/dts/id/VIZResult.d.ts +11 -2
  19. package/dist/dts/id/VerificationResult.d.ts +14 -0
  20. package/dist/dts/id/index.d.ts +8 -4
  21. package/dist/dts/idcapture/IdCapture.d.ts +11 -21
  22. package/dist/dts/idcapture/IdCaptureFeedback.d.ts +3 -1
  23. package/dist/dts/idcapture/IdCaptureOverlay.d.ts +4 -16
  24. package/dist/dts/idcapture/controller/IdCaptureController.d.ts +22 -11
  25. package/dist/dts/idcapture/controller/IdCaptureListenerController.d.ts +33 -5
  26. package/dist/dts/idcapture/index.d.ts +0 -1
  27. package/dist/index.js +585 -467
  28. package/dist/index.js.map +1 -1
  29. package/package.json +5 -5
  30. package/dist/dts/id/AamvaBarcodeVerifier.d.ts +0 -16
  31. package/dist/dts/id/CommonCapturedIdFields.d.ts +0 -28
  32. package/dist/dts/idcapture/controller/IdCaptureListenerProxy.d.ts +0 -12
@@ -0,0 +1,9 @@
1
+ export declare enum DataConsistencyCheck {
2
+ IssuingCountryComparison = "issuingCountryComparison",
3
+ IssuingJurisdictionComparison = "issuingJurisdictionComparison",
4
+ FullNameComparison = "fullNameComparison",
5
+ DocumentNumberComparison = "documentNumberComparison",
6
+ DateOfBirthComparison = "dateOfBirthComparison",
7
+ DateOfExpiryComparison = "dateOfExpiryComparison",
8
+ DateOfIssueComparison = "dateOfIssueComparison"
9
+ }
@@ -9,5 +9,5 @@ export declare class DateResult {
9
9
  private static fromJSON;
10
10
  }
11
11
  export interface PrivateDateResult {
12
- fromJSON(json: DateResultJSON | null): DateResult;
12
+ fromJSON(json: DateResultJSON | null): DateResult | null;
13
13
  }
@@ -8,7 +8,6 @@ export declare enum RegionSpecificSubtype {
8
8
  ApecBusinessTravelCard = "apecBusinessTravelCard",
9
9
  PakistanAfghanCitizenCard = "pakistanAfghanCitizenCard",
10
10
  SingaporeFinCard = "singaporeFinCard",
11
- UsGreenCard = "usGreenCard",
12
11
  MalaysiaIkad = "malaysiaIkad",
13
12
  MalaysiaMykad = "malaysiaMykad",
14
13
  MalaysiaMypr = "malaysiaMypr",
@@ -0,0 +1,5 @@
1
+ export declare enum Sex {
2
+ Female = "female",
3
+ Male = "male",
4
+ Unspecified = "unspecified"
5
+ }
@@ -1,4 +1,5 @@
1
1
  export * from './DateResult';
2
+ export * from './DataConsistencyCheck';
2
3
  export * from './IdAnonymizationMode';
3
4
  export * from './IdImageType';
4
5
  export * from './CapturedSides';
@@ -10,3 +11,4 @@ export * from './RegionSpecificSubtype';
10
11
  export * from './IdSide';
11
12
  export * from './IdImages';
12
13
  export * from './Duration';
14
+ export * from './Sex';
@@ -1,12 +1,16 @@
1
- import { CameraSettings, Color, Feedback } from "scandit-datacapture-frameworks-core";
1
+ import { CameraSettings, Color, Feedback, Sound } from "scandit-datacapture-frameworks-core";
2
2
  import { IdAnonymizationMode } from "../common/IdAnonymizationMode";
3
3
  import { Duration } from "../common/Duration";
4
+ import { IdLayoutStyle } from "../idcapture/IdLayoutStyle";
5
+ import { IdLayoutLineStyle } from "../idcapture/IdLayoutLineStyle";
4
6
  export interface IdDefaults {
5
7
  IdCapture: {
6
8
  Feedback: {
7
9
  idCaptured: Feedback;
8
10
  idRejected: Feedback;
9
11
  };
12
+ DefaultSuccessSound: Sound;
13
+ DefaultFailureSound: Sound;
10
14
  IdCaptureOverlayDefaults: {
11
15
  defaultCapturedBrush: {
12
16
  fillColor: Color;
@@ -23,6 +27,8 @@ export interface IdDefaults {
23
27
  strokeColor: Color;
24
28
  strokeWidth: number;
25
29
  };
30
+ defaultIdLayoutStyle: IdLayoutStyle;
31
+ defaultIdLayoutLineStyle: IdLayoutLineStyle;
26
32
  };
27
33
  RecommendedCameraSettings: CameraSettings;
28
34
  IdCaptureSettings: {
@@ -5,6 +5,18 @@ export interface DateResultJSON {
5
5
  month: number;
6
6
  year: number;
7
7
  }
8
+ export interface CommonIdFieldsJSON {
9
+ firstName: string | null;
10
+ lastName: string | null;
11
+ fullName: string;
12
+ sex: string | null;
13
+ dateOfBirth: DateResultJSON | null;
14
+ nationality: string | null;
15
+ address: string | null;
16
+ documentNumber: string | null;
17
+ dateOfExpiry: DateResultJSON | null;
18
+ dateOfIssue: DateResultJSON | null;
19
+ }
8
20
  export interface ProfessionalDrivingPermitJSON {
9
21
  dateOfExpiry: DateResultJSON;
10
22
  codes: string[];
@@ -14,25 +26,42 @@ export interface VehicleRestrictionJSON {
14
26
  vehicleRestriction: string;
15
27
  dateOfIssue: DateResultJSON;
16
28
  }
17
- export interface CommonCapturedIdFieldsJSON {
18
- firstName: string | null;
19
- lastName: string | null;
20
- fullName: string;
21
- secondaryLastName: string | null;
22
- sex: string | null;
23
- dateOfBirth: DateResultJSON | null;
29
+ export interface DrivingLicenseCategoryJSON {
30
+ code: string;
31
+ dateOfIssue: DateResultJSON | null;
32
+ dateOfExpiry: DateResultJSON | null;
33
+ }
34
+ export interface DrivingLicenseDetailsJSON {
35
+ drivingLicenseCategories: DrivingLicenseCategoryJSON[];
36
+ restrictions: string | null;
37
+ endorsements: string | null;
38
+ }
39
+ export interface DataConsistencyResultJSON {
40
+ allChecksPassed: boolean;
41
+ failedChecks: string[];
42
+ skippedChecks: string[];
43
+ passedChecks: string[];
44
+ frontReviewImage: string | null;
45
+ }
46
+ export interface MobileDocumentResultJSON extends CommonIdFieldsJSON {
47
+ portrait: string | null;
48
+ issuingAuthority: string;
49
+ administrativeNumber: string | null;
50
+ height: number | null;
51
+ weight: number | null;
52
+ eyeColor: string | null;
53
+ hairColor: string | null;
54
+ birthPlace: string | null;
55
+ drivingLicenseCategories: DrivingLicenseCategoryJSON[];
56
+ residentCity: string | null;
57
+ residentCountry: string | null;
24
58
  age: number | null;
25
- isExpired: boolean | null;
26
- nationality: string | null;
27
- address: string | null;
28
- documentAdditionalNumber: string | null;
29
- documentType: IdCaptureDocumentType | null;
30
- documentSubtype: RegionSpecificSubtype | null;
31
- documentNumber: string | null;
32
- issuingCountry: IdCaptureRegion;
33
59
  issuingCountryIso: string | null;
34
- dateOfExpiry: DateResultJSON | null;
35
- dateOfIssue: DateResultJSON | null;
60
+ issuingJurisdictionIso: string | null;
61
+ }
62
+ export interface VerificationResultJSON {
63
+ dataConsistency: DataConsistencyResultJSON | null;
64
+ aamvaBarcodeVerification: AamvaBarcodeVerificationResultJSON | null;
36
65
  }
37
66
  export interface ImageInfoJSON {
38
67
  front: ImageJSON | null;
@@ -43,30 +72,24 @@ export interface ImageJSON {
43
72
  frame: string | null;
44
73
  croppedDocument: string | null;
45
74
  }
46
- export interface CapturedIdJSON {
47
- firstName: string | null;
48
- lastName: string | null;
49
- fullName: string;
50
- secondaryLastName: string | null;
51
- sex: string | null;
52
- dateOfBirth: DateResultJSON | null;
75
+ export interface CapturedIdJSON extends CommonIdFieldsJSON {
53
76
  age: number | null;
54
77
  isExpired: boolean | null;
55
- nationality: string | null;
56
- address: string | null;
57
78
  documentType: IdCaptureDocumentType | null;
79
+ documentSubtype: RegionSpecificSubtype | null;
58
80
  issuingCountryIso: string | null;
59
- issuingCountry: string | null;
81
+ issuingCountry: IdCaptureRegion;
60
82
  documentAdditionalNumber: string | null;
61
- documentNumber: string | null;
62
- dateOfExpiry: DateResultJSON | null;
63
- dateOfIssue: DateResultJSON | null;
64
83
  imageInfo: ImageInfoJSON | null;
65
84
  barcodeResult: BarcodeResultJSON | null;
66
85
  mrzResult: MRZResultJSON | null;
67
86
  vizResult: VIZResultJSON | null;
87
+ mobileDocument: MobileDocumentResultJSON | null;
88
+ verificationResult: VerificationResultJSON | null;
89
+ isCitizenPassport: boolean;
90
+ anonymizedFields: string[];
68
91
  }
69
- export interface BarcodeResultJSON {
92
+ export interface BarcodeResultJSON extends CommonIdFieldsJSON {
70
93
  aamvaVersion: number;
71
94
  isRealId: boolean;
72
95
  aliasFamilyName: string | null;
@@ -159,11 +182,9 @@ export interface AamvaBarcodeVerificationResultJSON {
159
182
  allChecksPassed: boolean;
160
183
  verificationStatus: 'authentic' | 'maybeForged' | 'forged';
161
184
  }
162
- export interface MRZResultJSON {
185
+ export interface MRZResultJSON extends CommonIdFieldsJSON {
163
186
  documentCode: string;
164
187
  namesAreTruncated: boolean;
165
- optional: string | null;
166
- optional1: string | null;
167
188
  optionalDataInLine1: string | null;
168
189
  optionalDataInLine2: string | null;
169
190
  capturedMrz: string;
@@ -177,7 +198,7 @@ export interface MRZResultJSON {
177
198
  passportNumber: string | null;
178
199
  passportDateOfExpiry: DateResultJSON | null;
179
200
  }
180
- export interface VIZResultJSON {
201
+ export interface VIZResultJSON extends CommonIdFieldsJSON {
181
202
  additionalAddressInformation: string | null;
182
203
  additionalNameInformation: string | null;
183
204
  documentAdditionalNumber: string | null;
@@ -201,8 +222,6 @@ export interface VIZResultJSON {
201
222
  fathersName: string | null;
202
223
  visaNumber: string | null;
203
224
  passportNumber: string | null;
204
- firstName: string | null;
205
- lastName: string | null;
206
- secondaryLastName: string | null;
207
- fullName: string;
225
+ vehicleOwner: string | null;
226
+ drivingLicenseDetails: DrivingLicenseDetailsJSON | null;
208
227
  }
@@ -1,9 +1,6 @@
1
1
  import { AamvaBarcodeVerificationStatus } from "./AamvaBarcodeVerificationStatus";
2
2
  export declare class AamvaBarcodeVerificationResult {
3
3
  private json;
4
- /**
5
- * @deprecated
6
- */
7
4
  get allChecksPassed(): boolean;
8
5
  private _status;
9
6
  get status(): AamvaBarcodeVerificationStatus;
@@ -91,6 +91,16 @@ export declare class BarcodeResult {
91
91
  get barcodeDataElements(): {
92
92
  [key: string]: string;
93
93
  };
94
+ get firstName(): string | null;
95
+ get lastName(): string | null;
96
+ get fullName(): string;
97
+ get sex(): string | null;
98
+ get dateOfBirth(): DateResult | null;
99
+ get nationality(): string | null;
100
+ get address(): string | null;
101
+ get documentNumber(): string | null;
102
+ get dateOfExpiry(): DateResult | null;
103
+ get dateOfIssue(): DateResult | null;
94
104
  }
95
105
  export interface PrivateBarcodeResult {
96
106
  fromJSON(json: BarcodeResultJSON): BarcodeResult;
@@ -1,32 +1,24 @@
1
1
  import { CapturedIdJSON } from '../defaults/SerializedTypes';
2
- import { IdCaptureRegion, RegionSpecificSubtype, UsRealIdStatus } from '../common';
2
+ import { IdCaptureRegion, RegionSpecificSubtype, Sex, UsRealIdStatus } from '../common';
3
3
  import { DateResult } from '../common/DateResult';
4
4
  import { MRZResult } from './MRZResult';
5
5
  import { VIZResult } from './VIZResult';
6
6
  import { BarcodeResult } from './BarcodeResult';
7
7
  import { IdCaptureDocument } from '../iddocumenttype';
8
8
  import { IdImages } from '../common/IdImages';
9
+ import { MobileDocumentResult } from './MobileDocumentResult';
10
+ import { VerificationResult } from './VerificationResult';
11
+ import { IdFieldType } from './IdFieldType';
9
12
  export declare class CapturedId {
10
13
  private json;
11
- private commonCapturedFields;
12
- get firstName(): string | null;
13
- get lastName(): string | null;
14
- get fullName(): string;
15
- get secondaryLastName(): string | null;
16
- get sex(): string | null;
17
- get dateOfBirth(): DateResult | null;
18
14
  get age(): number | null;
19
15
  get isExpired(): boolean | null;
20
- get nationality(): string | null;
21
- get address(): string | null;
16
+ get isCitizenPassport(): boolean;
22
17
  private _document;
23
18
  get document(): IdCaptureDocument | null;
24
19
  get issuingCountryIso(): string | null;
25
20
  get issuingCountry(): IdCaptureRegion;
26
21
  get documentAdditionalNumber(): string | null;
27
- get documentNumber(): string | null;
28
- get dateOfExpiry(): DateResult | null;
29
- get dateOfIssue(): DateResult | null;
30
22
  private _barcodeResult;
31
23
  get barcode(): BarcodeResult | null;
32
24
  private _mrzResult;
@@ -43,6 +35,23 @@ export declare class CapturedId {
43
35
  isResidencePermit(): boolean;
44
36
  isHealthInsuranceCard(): boolean;
45
37
  get images(): IdImages;
38
+ get firstName(): string | null;
39
+ get lastName(): string | null;
40
+ get fullName(): string;
41
+ get sex(): string | null;
42
+ get dateOfBirth(): DateResult | null;
43
+ get nationality(): string | null;
44
+ get address(): string | null;
45
+ get documentNumber(): string | null;
46
+ get dateOfExpiry(): DateResult | null;
47
+ get dateOfIssue(): DateResult | null;
48
+ get sexType(): Sex;
49
+ private _mobileDocument;
50
+ get mobileDocument(): MobileDocumentResult | null;
51
+ private _verificationResult;
52
+ get verificationResult(): VerificationResult;
53
+ get anonymizedFields(): IdFieldType[];
54
+ isAnonymized(field: IdFieldType): boolean;
46
55
  private static fromJSON;
47
56
  private static getDocument;
48
57
  }
@@ -0,0 +1,14 @@
1
+ import { DataConsistencyResultJSON } from "../defaults";
2
+ import { DataConsistencyCheck } from "../common/DataConsistencyCheck";
3
+ export declare class DataConsistencyResult {
4
+ private json;
5
+ get allChecksPassed(): boolean;
6
+ get failedChecks(): DataConsistencyCheck[];
7
+ get skippedChecks(): DataConsistencyCheck[];
8
+ get passedChecks(): DataConsistencyCheck[];
9
+ get frontReviewImage(): string | null;
10
+ private static fromJSON;
11
+ }
12
+ export interface PrivateDataConsistencyResult {
13
+ fromJSON(json: DataConsistencyResultJSON | null): DataConsistencyResult | null;
14
+ }
@@ -0,0 +1,12 @@
1
+ import { DrivingLicenseCategoryJSON } from "../defaults";
2
+ import { DateResult } from "../common/DateResult";
3
+ export declare class DrivingLicenseCategory {
4
+ private json;
5
+ get code(): string;
6
+ get dateOfIssue(): DateResult | null;
7
+ get dateOfExpiry(): DateResult | null;
8
+ private static fromJSON;
9
+ }
10
+ export interface PrivateDrivingLicenseCategory {
11
+ fromJSON(json: DrivingLicenseCategoryJSON | null): DrivingLicenseCategory | null;
12
+ }
@@ -0,0 +1,13 @@
1
+ import { DrivingLicenseDetailsJSON } from "../defaults";
2
+ import { DrivingLicenseCategory } from "./DrivingLicenseCategory";
3
+ export declare class DrivingLicenseDetails {
4
+ private json;
5
+ private _drivingLicenseCategories;
6
+ get drivingLicenseCategories(): DrivingLicenseCategory[];
7
+ get restrictions(): string | null;
8
+ get endorsements(): string | null;
9
+ private static fromJSON;
10
+ }
11
+ export interface PrivateDrivingLicenseDetails {
12
+ fromJSON(json: DrivingLicenseDetailsJSON | null): DrivingLicenseDetails | null;
13
+ }
@@ -0,0 +1,31 @@
1
+ export declare enum IdFieldType {
2
+ AdditionalAddressInformation = "additionalAddressInformation",
3
+ AdditionalNameInformation = "additionalNameInformation",
4
+ Address = "address",
5
+ Age = "age",
6
+ BarcodeDictionary = "barcodeDictionary",
7
+ BloodType = "bloodType",
8
+ DateOfBirth = "dateOfBirth",
9
+ DateOfExpiry = "dateOfExpiry",
10
+ DateOfIssue = "dateOfIssue",
11
+ DocumentAdditionalNumber = "documentAdditionalNumber",
12
+ DocumentNumber = "documentNumber",
13
+ Employer = "employer",
14
+ FathersName = "fathersName",
15
+ FirstName = "firstName",
16
+ FullName = "fullName",
17
+ IssuingAuthority = "issuingAuthority",
18
+ LastName = "lastName",
19
+ MaritalStatus = "maritalStatus",
20
+ MothersName = "mothersName",
21
+ MrzOptionalDataInLine1 = "mrzOptionalDataInLine1",
22
+ MrzOptionalDataInLine2 = "mrzOptionalDataInLine2",
23
+ Nationality = "nationality",
24
+ PersonalIdNumber = "personalIdNumber",
25
+ PlaceOfBirth = "placeOfBirth",
26
+ Profession = "profession",
27
+ Race = "race",
28
+ Religion = "religion",
29
+ ResidentialStatus = "residentialStatus",
30
+ Sex = "sex"
31
+ }
@@ -4,14 +4,6 @@ export declare class MRZResult {
4
4
  private json;
5
5
  get documentCode(): string;
6
6
  get namesAreTruncated(): boolean;
7
- /**
8
- * @deprecated Use optionalDataInLine1 and optionalDataInLine2 instead. This property will be removed in SDK version 8.0.
9
- */
10
- get optional(): string | null;
11
- /**
12
- * @deprecated Use optionalDataInLine1 and optionalDataInLine2 instead. This property will be removed in SDK version 8.0.
13
- */
14
- get optional1(): string | null;
15
7
  get optionalDataInLine1(): string | null;
16
8
  get optionalDataInLine2(): string | null;
17
9
  get capturedMrz(): string;
@@ -24,6 +16,16 @@ export declare class MRZResult {
24
16
  get passportIssuerIso(): string | null;
25
17
  get passportNumber(): string | null;
26
18
  get passportDateOfExpiry(): DateResult | null;
19
+ get firstName(): string | null;
20
+ get lastName(): string | null;
21
+ get fullName(): string;
22
+ get sex(): string | null;
23
+ get dateOfBirth(): DateResult | null;
24
+ get nationality(): string | null;
25
+ get address(): string | null;
26
+ get documentNumber(): string | null;
27
+ get dateOfExpiry(): DateResult | null;
28
+ get dateOfIssue(): DateResult | null;
27
29
  private static fromJSON;
28
30
  }
29
31
  export interface PrivateMRZResult {
@@ -0,0 +1,35 @@
1
+ import { MobileDocumentResultJSON } from "../defaults";
2
+ import { DateResult } from "../common/DateResult";
3
+ import { DrivingLicenseCategory } from "./DrivingLicenseCategory";
4
+ export declare class MobileDocumentResult {
5
+ private json;
6
+ private _drivingLicenseCategories;
7
+ get portrait(): string | null;
8
+ get issuingAuthority(): string;
9
+ get administrativeNumber(): string | null;
10
+ get height(): number | null;
11
+ get weight(): number | null;
12
+ get eyeColor(): string | null;
13
+ get hairColor(): string | null;
14
+ get birthPlace(): string | null;
15
+ get drivingLicenseCategories(): DrivingLicenseCategory[];
16
+ get residentCity(): string | null;
17
+ get residentCountry(): string | null;
18
+ get firstName(): string | null;
19
+ get lastName(): string | null;
20
+ get fullName(): string;
21
+ get sex(): string | null;
22
+ get dateOfBirth(): DateResult | null;
23
+ get age(): number | null;
24
+ get nationality(): string | null;
25
+ get address(): string | null;
26
+ get issuingCountryIso(): string | null;
27
+ get issuingJurisdictionIso(): string | null;
28
+ get documentNumber(): string | null;
29
+ get dateOfExpiry(): DateResult | null;
30
+ get dateOfIssue(): DateResult | null;
31
+ private static fromJSON;
32
+ }
33
+ export interface PrivateMobileDocumentResult {
34
+ fromJSON(json: MobileDocumentResultJSON | null): MobileDocumentResult | null;
35
+ }
@@ -7,5 +7,5 @@ export declare class ProfessionalDrivingPermit {
7
7
  private static fromJSON;
8
8
  }
9
9
  export interface PrivateProfessionalDrivingPermit {
10
- fromJSON(json: ProfessionalDrivingPermitJSON | null): ProfessionalDrivingPermit;
10
+ fromJSON(json: ProfessionalDrivingPermitJSON | null): ProfessionalDrivingPermit | null;
11
11
  }
@@ -1,5 +1,6 @@
1
1
  import { VIZResultJSON } from '../defaults';
2
- import { CapturedSides, UsRealIdStatus } from '../common';
2
+ import { CapturedSides, DateResult, UsRealIdStatus } from '../common';
3
+ import { DrivingLicenseDetails } from './DrivingLicenseDetails';
3
4
  export declare class VIZResult {
4
5
  private json;
5
6
  get additionalAddressInformation(): string | null;
@@ -25,10 +26,18 @@ export declare class VIZResult {
25
26
  get fathersName(): string | null;
26
27
  get passportNumber(): string | null;
27
28
  get visaNumber(): string | null;
29
+ get vehicleOwner(): string | null;
30
+ get drivingLicenseDetails(): DrivingLicenseDetails | null;
28
31
  get firstName(): string | null;
29
32
  get lastName(): string | null;
30
- get secondaryLastName(): string | null;
31
33
  get fullName(): string;
34
+ get sex(): string | null;
35
+ get dateOfBirth(): DateResult | null;
36
+ get nationality(): string | null;
37
+ get address(): string | null;
38
+ get documentNumber(): string | null;
39
+ get dateOfExpiry(): DateResult | null;
40
+ get dateOfIssue(): DateResult | null;
32
41
  private static fromJSON;
33
42
  }
34
43
  export interface PrivateVIZResult {
@@ -0,0 +1,14 @@
1
+ import { VerificationResultJSON } from "../defaults";
2
+ import { DataConsistencyResult } from "./DataConsistencyResult";
3
+ import { AamvaBarcodeVerificationResult } from "./AamvaBarcodeVerificationResult";
4
+ export declare class VerificationResult {
5
+ private json;
6
+ private _dataConsistency;
7
+ private _aamvaBarcodeVerification;
8
+ get dataConsistency(): DataConsistencyResult | null;
9
+ get aamvaBarcodeVerification(): AamvaBarcodeVerificationResult | null;
10
+ private static fromJSON;
11
+ }
12
+ export interface PrivateVerificationResult {
13
+ fromJSON(json: VerificationResultJSON | null): VerificationResult;
14
+ }
@@ -1,10 +1,14 @@
1
1
  export * from './AamvaBarcodeVerificationResult';
2
- export * from './AamvaBarcodeVerifier';
2
+ export * from './AamvaBarcodeVerificationStatus';
3
+ export * from './BarcodeResult';
3
4
  export * from './CapturedId';
4
- export * from './CommonCapturedIdFields';
5
+ export * from './DataConsistencyResult';
6
+ export * from './DrivingLicenseCategory';
7
+ export * from './DrivingLicenseDetails';
8
+ export * from './IdFieldType';
9
+ export * from './MobileDocumentResult';
5
10
  export * from './MRZResult';
6
11
  export * from './ProfessionalDrivingPermit';
7
12
  export * from './VehicleRestriction';
13
+ export * from './VerificationResult';
8
14
  export * from './VIZResult';
9
- export * from './AamvaBarcodeVerificationStatus';
10
- export * from './BarcodeResult';
@@ -1,50 +1,40 @@
1
1
  import { DefaultSerializeable, DataCaptureMode, DataCaptureContext, CameraSettings, PrivateDataCaptureMode } from "scandit-datacapture-frameworks-core";
2
2
  import { IdCaptureListener } from "./IdCaptureListener";
3
3
  import { IdCaptureSettings } from "./IdCaptureSettings";
4
- import { IdCaptureController } from "./controller/IdCaptureController";
5
4
  import { IdCaptureFeedback } from "./IdCaptureFeedback";
6
5
  export declare class IdCapture extends DefaultSerializeable implements DataCaptureMode {
7
6
  private type;
8
7
  private modeId;
9
- get isEnabled(): boolean;
10
- set isEnabled(isEnabled: boolean);
8
+ private parentId;
9
+ private settings;
11
10
  get context(): DataCaptureContext | null;
12
11
  get feedback(): IdCaptureFeedback;
13
12
  set feedback(feedback: IdCaptureFeedback);
14
13
  static createRecommendedCameraSettings(): CameraSettings;
15
- private static _recommendedCameraSettings;
16
- /**
17
- * @deprecated Use createRecommendedCameraSettings() instead to get a new instance that can be safely modified.
18
- */
19
- static get recommendedCameraSettings(): CameraSettings;
20
14
  private _isEnabled;
15
+ get isEnabled(): boolean;
16
+ set isEnabled(isEnabled: boolean);
17
+ private _externalTransactionId;
18
+ get externalTransactionId(): string | null;
19
+ set externalTransactionId(externalTransactionId: string | null);
21
20
  private _feedback;
22
- private settings;
23
21
  private privateContext;
24
22
  private get _context();
25
23
  private set _context(value);
26
24
  private listeners;
25
+ private _hasListeners;
27
26
  private controller;
28
27
  private listenerController;
29
28
  private isInListenerCallback;
30
29
  private static get idCaptureDefaults();
31
- /**
32
- * @deprecated Since 7.6. This factory will be removed in 8.0.
33
- * Use the public constructor instead and configure the instance manually:
34
- * ```ts
35
- * const idCapture = new IdCapture(settings);
36
- * context.addMode(idCapture);
37
- * ```
38
- */
39
- static forContext(context: DataCaptureContext | null, settings: IdCaptureSettings): IdCapture;
40
30
  constructor(settings: IdCaptureSettings);
41
31
  applySettings(settings: IdCaptureSettings): Promise<void>;
42
- addListener(listener: IdCaptureListener): void;
43
- removeListener(listener: IdCaptureListener): void;
32
+ addListener(listener: IdCaptureListener): Promise<void>;
33
+ removeListener(listener: IdCaptureListener): Promise<void>;
44
34
  reset(): Promise<void>;
45
35
  }
46
36
  export interface PrivateIdCapture extends PrivateDataCaptureMode {
47
37
  _context: DataCaptureContext | null;
48
38
  listeners: IdCaptureListener[];
49
- controller: IdCaptureController;
39
+ parentId: number | null;
50
40
  }
@@ -1,4 +1,4 @@
1
- import { DefaultSerializeable, Feedback } from "scandit-datacapture-frameworks-core";
1
+ import { DefaultSerializeable, Feedback, Sound } from "scandit-datacapture-frameworks-core";
2
2
  import { IdCaptureController } from "./controller/IdCaptureController";
3
3
  export declare class IdCaptureFeedback extends DefaultSerializeable {
4
4
  private controller;
@@ -9,6 +9,8 @@ export declare class IdCaptureFeedback extends DefaultSerializeable {
9
9
  private _idRejected;
10
10
  get idRejected(): Feedback;
11
11
  set idRejected(idRejected: Feedback);
12
+ static get defaultSuccessSound(): Sound;
13
+ static get defaultFailureSound(): Sound;
12
14
  private static fromJSON;
13
15
  private static get idDefaults();
14
16
  private updateFeedback;
@@ -1,8 +1,8 @@
1
- import { Brush, DataCaptureOverlay, DataCaptureView, DefaultSerializeable } from 'scandit-datacapture-frameworks-core';
2
- import { IdCapture } from './IdCapture';
1
+ import { Brush, DataCaptureOverlay, DefaultSerializeable } from 'scandit-datacapture-frameworks-core';
3
2
  import { IdLayoutLineStyle } from './IdLayoutLineStyle';
4
3
  import { IdLayoutStyle } from './IdLayoutStyle';
5
4
  import { TextHintPosition } from '../common/TextHintPosition';
5
+ import { IdCapture } from './IdCapture';
6
6
  export declare class IdCaptureOverlay extends DefaultSerializeable implements DataCaptureOverlay {
7
7
  private type;
8
8
  private controller;
@@ -15,6 +15,8 @@ export declare class IdCaptureOverlay extends DefaultSerializeable implements Da
15
15
  private _textHintPosition;
16
16
  private _showTextHints;
17
17
  private static get idCaptureDefaults();
18
+ static get defaultIdLayoutStyle(): IdLayoutStyle;
19
+ static get defaultIdLayoutLineStyle(): IdLayoutLineStyle;
18
20
  private _defaultCapturedBrush;
19
21
  private _defaultLocalizedBrush;
20
22
  private _defaultRejectedBrush;
@@ -23,20 +25,6 @@ export declare class IdCaptureOverlay extends DefaultSerializeable implements Da
23
25
  private _rejectedBrush;
24
26
  private _frontSideTextHint;
25
27
  private _backSideTextHint;
26
- /**
27
- * @deprecated Since 7.6. These factories will be removed in 8.0.
28
- * Use the public constructor instead and add the overlay to the view manually:
29
- * const overlay = new IdCaptureOverlay(idCapture);
30
- * view.addOverlay(overlay);
31
- */
32
- static withIdCapture(idCapture: IdCapture): IdCaptureOverlay;
33
- /**
34
- * @deprecated Since 7.6. These factories will be removed in 8.0.
35
- * Use the public constructor instead and add the overlay to the view manually:
36
- * const overlay = new IdCaptureOverlay(idCapture);
37
- * view.addOverlay(overlay);
38
- */
39
- static withIdCaptureForView(idCapture: IdCapture, view: DataCaptureView | null): IdCaptureOverlay;
40
28
  constructor(mode: IdCapture);
41
29
  setFrontSideTextHint(text: string): void;
42
30
  setBackSideTextHint(text: string): void;