scandit-datacapture-frameworks-id 8.4.0 → 8.5.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 (37) hide show
  1. package/dist/dts/common/DateResult.d.ts +1 -1
  2. package/dist/dts/common/IdImages.d.ts +2 -2
  3. package/dist/dts/common/RegionSpecificSubtype.d.ts +3 -1
  4. package/dist/dts/defaults/IdDefaults.d.ts +5 -6
  5. package/dist/dts/defaults/getIdDefaults.d.ts +2 -0
  6. package/dist/dts/defaults/index.d.ts +1 -0
  7. package/dist/dts/defaults/loadDefaults.d.ts +1 -1
  8. package/dist/dts/id/AamvaBarcodeVerificationResult.d.ts +1 -1
  9. package/dist/dts/id/BarcodeResult.d.ts +4 -4
  10. package/dist/dts/id/DataConsistencyResult.d.ts +2 -2
  11. package/dist/dts/id/DrivingLicenseCategory.d.ts +2 -2
  12. package/dist/dts/id/DrivingLicenseDetails.d.ts +2 -2
  13. package/dist/dts/id/MRZResult.d.ts +2 -2
  14. package/dist/dts/id/MobileDocumentOCRResult.d.ts +1 -1
  15. package/dist/dts/id/MobileDocumentResult.d.ts +3 -3
  16. package/dist/dts/id/NfcResult.d.ts +4 -4
  17. package/dist/dts/id/ProfessionalDrivingPermit.d.ts +2 -2
  18. package/dist/dts/id/VehicleRestriction.d.ts +2 -2
  19. package/dist/dts/id/VerificationResult.d.ts +3 -3
  20. package/dist/dts/idcapture/IdCapture.d.ts +4 -4
  21. package/dist/dts/idcapture/IdCaptureFeedback.d.ts +2 -2
  22. package/dist/dts/iddocumenttype/DriverLicense.d.ts +4 -4
  23. package/dist/dts/iddocumenttype/HealthInsuranceCard.d.ts +4 -4
  24. package/dist/dts/iddocumenttype/IdCaptureDocument.d.ts +2 -2
  25. package/dist/dts/iddocumenttype/IdCard.d.ts +4 -4
  26. package/dist/dts/iddocumenttype/Passport.d.ts +4 -4
  27. package/dist/dts/iddocumenttype/RegionSpecific.d.ts +5 -5
  28. package/dist/dts/iddocumenttype/ResidencePermit.d.ts +4 -4
  29. package/dist/dts/iddocumenttype/VisaIcao.d.ts +4 -4
  30. package/dist/dts/proxy-types.d.ts +1 -1
  31. package/dist/dts/scanner/FullDocumentScanner.d.ts +2 -2
  32. package/dist/dts/scanner/IdCaptureScanner.d.ts +3 -3
  33. package/dist/dts/scanner/MobileDocumentScanner.d.ts +2 -2
  34. package/dist/dts/scanner/SingleSideScanner.d.ts +2 -2
  35. package/dist/index.js +252 -120
  36. package/dist/index.js.map +1 -1
  37. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { DateResultJSON } from "../defaults";
1
+ import { DateResultJSON } from '../defaults';
2
2
  export declare class DateResult {
3
3
  private _day;
4
4
  private _month;
@@ -1,5 +1,5 @@
1
- import { ImageInfoJSON } from "../defaults";
2
- import { IdSide } from "./IdSide";
1
+ import { ImageInfoJSON } from '../defaults';
2
+ import { IdSide } from './IdSide';
3
3
  export declare class IdImages {
4
4
  private json;
5
5
  private static fromJSON;
@@ -63,5 +63,7 @@ export declare enum RegionSpecificSubtype {
63
63
  AustraliaAsicCard = "australiaAsicCard",
64
64
  UaeVehicleRegistrationCard = "uaeVehicleRegistrationCard",
65
65
  UaeEsaadCard = "uaeEsaadCard",
66
- UkMilitaryId = "ukMilitaryId"
66
+ UkMilitaryId = "ukMilitaryId",
67
+ ChinaBusinessTravelPermitHongKongMacau = "chinaBusinessTravelPermitHongKongMacau",
68
+ IrelandAgeCard = "irelandAgeCard"
67
69
  }
@@ -1,8 +1,8 @@
1
- import { CameraSettings, Color, Feedback, Sound } from "scandit-datacapture-frameworks-core";
2
- import { IdAnonymizationMode } from "../common/IdAnonymizationMode";
3
- import { Duration } from "../common/Duration";
4
- import { IdLayoutStyle } from "../idcapture/IdLayoutStyle";
5
- import { IdLayoutLineStyle } from "../idcapture/IdLayoutLineStyle";
1
+ import { CameraSettings, Color, Feedback, Sound } from 'scandit-datacapture-frameworks-core';
2
+ import { IdAnonymizationMode } from '../common/IdAnonymizationMode';
3
+ import { Duration } from '../common/Duration';
4
+ import { IdLayoutStyle } from '../idcapture/IdLayoutStyle';
5
+ import { IdLayoutLineStyle } from '../idcapture/IdLayoutLineStyle';
6
6
  export interface IdDefaults {
7
7
  IdCapture: {
8
8
  Feedback: {
@@ -45,5 +45,4 @@ export interface IdDefaults {
45
45
  };
46
46
  };
47
47
  }
48
- export declare function getIdDefaults(): IdDefaults;
49
48
  export declare function parseIdDefaults(jsonDefaults: any): IdDefaults;
@@ -0,0 +1,2 @@
1
+ import { IdDefaults } from './IdDefaults';
2
+ export declare function getIdDefaults(): IdDefaults;
@@ -1,3 +1,4 @@
1
1
  export * from './IdDefaults';
2
+ export * from './getIdDefaults';
2
3
  export * from './SerializedTypes';
3
4
  export * from './loadDefaults';
@@ -1,4 +1,4 @@
1
- import { IdDefaults } from "./IdDefaults";
1
+ import { IdDefaults } from './IdDefaults';
2
2
  export declare function setIdDefaultsLoader(loader: () => void): void;
3
3
  export declare function ensureIdDefaults(): IdDefaults;
4
4
  export declare function loadIdDefaults(jsonDefaults: any): void;
@@ -1,4 +1,4 @@
1
- import { AamvaBarcodeVerificationStatus } from "./AamvaBarcodeVerificationStatus";
1
+ import { AamvaBarcodeVerificationStatus } from './AamvaBarcodeVerificationStatus';
2
2
  export declare class AamvaBarcodeVerificationResult {
3
3
  private json;
4
4
  get allChecksPassed(): boolean;
@@ -1,7 +1,7 @@
1
- import { DateResult } from "../common";
2
- import { BarcodeResultJSON } from "../defaults";
3
- import { ProfessionalDrivingPermit } from "./ProfessionalDrivingPermit";
4
- import { VehicleRestriction } from "./VehicleRestriction";
1
+ import { DateResult } from '../common';
2
+ import { BarcodeResultJSON } from '../defaults';
3
+ import { ProfessionalDrivingPermit } from './ProfessionalDrivingPermit';
4
+ import { VehicleRestriction } from './VehicleRestriction';
5
5
  export declare class BarcodeResult {
6
6
  private json;
7
7
  private static fromJSON;
@@ -1,5 +1,5 @@
1
- import { DataConsistencyResultJSON } from "../defaults";
2
- import { DataConsistencyCheck } from "../common/DataConsistencyCheck";
1
+ import { DataConsistencyResultJSON } from '../defaults';
2
+ import { DataConsistencyCheck } from '../common/DataConsistencyCheck';
3
3
  export declare class DataConsistencyResult {
4
4
  private json;
5
5
  get allChecksPassed(): boolean;
@@ -1,5 +1,5 @@
1
- import { DrivingLicenseCategoryJSON } from "../defaults";
2
- import { DateResult } from "../common/DateResult";
1
+ import { DrivingLicenseCategoryJSON } from '../defaults';
2
+ import { DateResult } from '../common/DateResult';
3
3
  export declare class DrivingLicenseCategory {
4
4
  private json;
5
5
  get code(): string;
@@ -1,5 +1,5 @@
1
- import { DrivingLicenseDetailsJSON } from "../defaults";
2
- import { DrivingLicenseCategory } from "./DrivingLicenseCategory";
1
+ import { DrivingLicenseDetailsJSON } from '../defaults';
2
+ import { DrivingLicenseCategory } from './DrivingLicenseCategory';
3
3
  export declare class DrivingLicenseDetails {
4
4
  private json;
5
5
  private _drivingLicenseCategories;
@@ -1,5 +1,5 @@
1
- import { MRZResultJSON } from "../defaults";
2
- import { DateResult } from "../common/DateResult";
1
+ import { MRZResultJSON } from '../defaults';
2
+ import { DateResult } from '../common/DateResult';
3
3
  export declare class MRZResult {
4
4
  private json;
5
5
  get documentCode(): string;
@@ -1,4 +1,4 @@
1
- import { DateResult } from "../common";
1
+ import { DateResult } from '../common';
2
2
  import type { MobileDocumentOCRResultJSON } from '../defaults';
3
3
  export declare class MobileDocumentOCRResult {
4
4
  private json;
@@ -1,6 +1,6 @@
1
- import { MobileDocumentResultJSON } from "../defaults";
2
- import { DateResult } from "../common/DateResult";
3
- import { DrivingLicenseCategory } from "./DrivingLicenseCategory";
1
+ import { MobileDocumentResultJSON } from '../defaults';
2
+ import { DateResult } from '../common/DateResult';
3
+ import { DrivingLicenseCategory } from './DrivingLicenseCategory';
4
4
  export declare class MobileDocumentResult {
5
5
  private json;
6
6
  private _drivingLicenseCategories;
@@ -1,7 +1,7 @@
1
- import { DateResult } from "../common/DateResult";
2
- import { NfcResultJSON } from "../defaults/SerializedTypes";
3
- import { ChipVerificationStatus } from "./ChipVerificationStatus";
4
- import { CloneDetectionStatus } from "./CloneDetectionStatus";
1
+ import { DateResult } from '../common/DateResult';
2
+ import { NfcResultJSON } from '../defaults/SerializedTypes';
3
+ import { ChipVerificationStatus } from './ChipVerificationStatus';
4
+ import { CloneDetectionStatus } from './CloneDetectionStatus';
5
5
  export declare class NfcResult {
6
6
  private _firstName;
7
7
  private _lastName;
@@ -1,5 +1,5 @@
1
- import { ProfessionalDrivingPermitJSON } from "../defaults";
2
- import { DateResult } from "../common/DateResult";
1
+ import { ProfessionalDrivingPermitJSON } from '../defaults';
2
+ import { DateResult } from '../common/DateResult';
3
3
  export declare class ProfessionalDrivingPermit {
4
4
  private json;
5
5
  get dateOfExpiry(): DateResult;
@@ -1,5 +1,5 @@
1
- import { VehicleRestrictionJSON } from "../defaults";
2
- import { DateResult } from "../common/DateResult";
1
+ import { VehicleRestrictionJSON } from '../defaults';
2
+ import { DateResult } from '../common/DateResult';
3
3
  export declare class VehicleRestriction {
4
4
  private json;
5
5
  get vehicleCode(): string;
@@ -1,6 +1,6 @@
1
- import { VerificationResultJSON } from "../defaults";
2
- import { DataConsistencyResult } from "./DataConsistencyResult";
3
- import { AamvaBarcodeVerificationResult } from "./AamvaBarcodeVerificationResult";
1
+ import { VerificationResultJSON } from '../defaults';
2
+ import { DataConsistencyResult } from './DataConsistencyResult';
3
+ import { AamvaBarcodeVerificationResult } from './AamvaBarcodeVerificationResult';
4
4
  export declare class VerificationResult {
5
5
  private json;
6
6
  private _dataConsistency;
@@ -1,7 +1,7 @@
1
- import { DefaultSerializeable, DataCaptureMode, DataCaptureContext, CameraSettings, PrivateDataCaptureMode } from "scandit-datacapture-frameworks-core";
2
- import { IdCaptureListener } from "./IdCaptureListener";
3
- import { IdCaptureSettings } from "./IdCaptureSettings";
4
- import { IdCaptureFeedback } from "./IdCaptureFeedback";
1
+ import { DefaultSerializeable, DataCaptureMode, DataCaptureContext, CameraSettings, PrivateDataCaptureMode } from 'scandit-datacapture-frameworks-core';
2
+ import { IdCaptureListener } from './IdCaptureListener';
3
+ import { IdCaptureSettings } from './IdCaptureSettings';
4
+ import { IdCaptureFeedback } from './IdCaptureFeedback';
5
5
  export declare class IdCapture extends DefaultSerializeable implements DataCaptureMode {
6
6
  protected parentId: number | null;
7
7
  private type;
@@ -1,5 +1,5 @@
1
- import { DefaultSerializeable, Feedback, Sound } from "scandit-datacapture-frameworks-core";
2
- import { IdCaptureController } from "./controller/IdCaptureController";
1
+ import { DefaultSerializeable, Feedback, Sound } from 'scandit-datacapture-frameworks-core';
2
+ import { IdCaptureController } from './controller/IdCaptureController';
3
3
  export declare class IdCaptureFeedback extends DefaultSerializeable {
4
4
  private controller;
5
5
  static get defaultFeedback(): IdCaptureFeedback;
@@ -1,7 +1,7 @@
1
- import { IdCaptureDocument } from "./IdCaptureDocument";
2
- import { IdCaptureDocumentType } from "./IdCaptureDocumentType";
3
- import { IdCaptureRegion } from "../common/IdCaptureRegion";
4
- import { DefaultSerializeable } from "scandit-datacapture-frameworks-core";
1
+ import { IdCaptureDocument } from './IdCaptureDocument';
2
+ import { IdCaptureDocumentType } from './IdCaptureDocumentType';
3
+ import { IdCaptureRegion } from '../common/IdCaptureRegion';
4
+ import { DefaultSerializeable } from 'scandit-datacapture-frameworks-core';
5
5
  export declare class DriverLicense extends DefaultSerializeable implements IdCaptureDocument {
6
6
  private readonly _region;
7
7
  private readonly _documentType;
@@ -1,7 +1,7 @@
1
- import { IdCaptureDocument } from "./IdCaptureDocument";
2
- import { IdCaptureDocumentType } from "./IdCaptureDocumentType";
3
- import { IdCaptureRegion } from "../common/IdCaptureRegion";
4
- import { DefaultSerializeable } from "scandit-datacapture-frameworks-core";
1
+ import { IdCaptureDocument } from './IdCaptureDocument';
2
+ import { IdCaptureDocumentType } from './IdCaptureDocumentType';
3
+ import { IdCaptureRegion } from '../common/IdCaptureRegion';
4
+ import { DefaultSerializeable } from 'scandit-datacapture-frameworks-core';
5
5
  export declare class HealthInsuranceCard extends DefaultSerializeable implements IdCaptureDocument {
6
6
  private readonly _region;
7
7
  private readonly _documentType;
@@ -1,5 +1,5 @@
1
- import { IdCaptureRegion } from "../common/IdCaptureRegion";
2
- import { IdCaptureDocumentType } from "./IdCaptureDocumentType";
1
+ import { IdCaptureRegion } from '../common/IdCaptureRegion';
2
+ import { IdCaptureDocumentType } from './IdCaptureDocumentType';
3
3
  export interface IdCaptureDocument {
4
4
  readonly region: IdCaptureRegion;
5
5
  readonly documentType: IdCaptureDocumentType;
@@ -1,7 +1,7 @@
1
- import { IdCaptureDocument } from "./IdCaptureDocument";
2
- import { IdCaptureDocumentType } from "./IdCaptureDocumentType";
3
- import { IdCaptureRegion } from "../common/IdCaptureRegion";
4
- import { DefaultSerializeable } from "scandit-datacapture-frameworks-core";
1
+ import { IdCaptureDocument } from './IdCaptureDocument';
2
+ import { IdCaptureDocumentType } from './IdCaptureDocumentType';
3
+ import { IdCaptureRegion } from '../common/IdCaptureRegion';
4
+ import { DefaultSerializeable } from 'scandit-datacapture-frameworks-core';
5
5
  export declare class IdCard extends DefaultSerializeable implements IdCaptureDocument {
6
6
  private readonly _region;
7
7
  private readonly _documentType;
@@ -1,7 +1,7 @@
1
- import { IdCaptureDocument } from "./IdCaptureDocument";
2
- import { IdCaptureDocumentType } from "./IdCaptureDocumentType";
3
- import { IdCaptureRegion } from "../common/IdCaptureRegion";
4
- import { DefaultSerializeable } from "scandit-datacapture-frameworks-core";
1
+ import { IdCaptureDocument } from './IdCaptureDocument';
2
+ import { IdCaptureDocumentType } from './IdCaptureDocumentType';
3
+ import { IdCaptureRegion } from '../common/IdCaptureRegion';
4
+ import { DefaultSerializeable } from 'scandit-datacapture-frameworks-core';
5
5
  export declare class Passport extends DefaultSerializeable implements IdCaptureDocument {
6
6
  private readonly _region;
7
7
  private readonly _documentType;
@@ -1,8 +1,8 @@
1
- import { IdCaptureDocument } from "./IdCaptureDocument";
2
- import { IdCaptureDocumentType } from "./IdCaptureDocumentType";
3
- import { IdCaptureRegion } from "../common/IdCaptureRegion";
4
- import { DefaultSerializeable } from "scandit-datacapture-frameworks-core";
5
- import { RegionSpecificSubtype } from "../common";
1
+ import { IdCaptureDocument } from './IdCaptureDocument';
2
+ import { IdCaptureDocumentType } from './IdCaptureDocumentType';
3
+ import { IdCaptureRegion } from '../common/IdCaptureRegion';
4
+ import { DefaultSerializeable } from 'scandit-datacapture-frameworks-core';
5
+ import { RegionSpecificSubtype } from '../common';
6
6
  export declare class RegionSpecific extends DefaultSerializeable implements IdCaptureDocument {
7
7
  private readonly _region;
8
8
  private readonly _documentSubtype;
@@ -1,7 +1,7 @@
1
- import { IdCaptureDocument } from "./IdCaptureDocument";
2
- import { IdCaptureDocumentType } from "./IdCaptureDocumentType";
3
- import { IdCaptureRegion } from "../common/IdCaptureRegion";
4
- import { DefaultSerializeable } from "scandit-datacapture-frameworks-core";
1
+ import { IdCaptureDocument } from './IdCaptureDocument';
2
+ import { IdCaptureDocumentType } from './IdCaptureDocumentType';
3
+ import { IdCaptureRegion } from '../common/IdCaptureRegion';
4
+ import { DefaultSerializeable } from 'scandit-datacapture-frameworks-core';
5
5
  export declare class ResidencePermit extends DefaultSerializeable implements IdCaptureDocument {
6
6
  private readonly _region;
7
7
  private readonly _documentType;
@@ -1,7 +1,7 @@
1
- import { IdCaptureDocument } from "./IdCaptureDocument";
2
- import { IdCaptureDocumentType } from "./IdCaptureDocumentType";
3
- import { IdCaptureRegion } from "../common/IdCaptureRegion";
4
- import { DefaultSerializeable } from "scandit-datacapture-frameworks-core";
1
+ import { IdCaptureDocument } from './IdCaptureDocument';
2
+ import { IdCaptureDocumentType } from './IdCaptureDocumentType';
3
+ import { IdCaptureRegion } from '../common/IdCaptureRegion';
4
+ import { DefaultSerializeable } from 'scandit-datacapture-frameworks-core';
5
5
  export declare class VisaIcao extends DefaultSerializeable implements IdCaptureDocument {
6
6
  private readonly _region;
7
7
  private readonly _documentType;
@@ -1,5 +1,5 @@
1
1
  import { NativeCallerProvider } from 'scandit-datacapture-frameworks-core';
2
2
  export declare const ID_PROXY_TYPE_NAMES: readonly ["IdProxy"];
3
- export type IdProxyType = typeof ID_PROXY_TYPE_NAMES[number];
3
+ export type IdProxyType = (typeof ID_PROXY_TYPE_NAMES)[number];
4
4
  export interface IdNativeCallerProvider extends NativeCallerProvider<IdProxyType> {
5
5
  }
@@ -1,5 +1,5 @@
1
- import { DefaultSerializeable } from "scandit-datacapture-frameworks-core";
2
- import { PhysicalDocumentScanner } from "./PhysicalDocumentScanner";
1
+ import { DefaultSerializeable } from 'scandit-datacapture-frameworks-core';
2
+ import { PhysicalDocumentScanner } from './PhysicalDocumentScanner';
3
3
  export declare class FullDocumentScanner extends DefaultSerializeable implements PhysicalDocumentScanner {
4
4
  protected readonly _barcode: boolean;
5
5
  protected readonly _machineReadableZone: boolean;
@@ -1,6 +1,6 @@
1
- import { DefaultSerializeable } from "scandit-datacapture-frameworks-core";
2
- import { PhysicalDocumentScanner } from "./PhysicalDocumentScanner";
3
- import { MobileDocumentScanner } from "./MobileDocumentScanner";
1
+ import { DefaultSerializeable } from 'scandit-datacapture-frameworks-core';
2
+ import { PhysicalDocumentScanner } from './PhysicalDocumentScanner';
3
+ import { MobileDocumentScanner } from './MobileDocumentScanner';
4
4
  export declare class IdCaptureScanner extends DefaultSerializeable {
5
5
  private readonly _physicalDocumentScanner;
6
6
  private readonly _mobileDocumentScanner;
@@ -1,5 +1,5 @@
1
- import { DefaultSerializeable } from "scandit-datacapture-frameworks-core";
2
- import { MobileDocumentDataElement } from "../id/MobileDocumentDataElement";
1
+ import { DefaultSerializeable } from 'scandit-datacapture-frameworks-core';
2
+ import { MobileDocumentDataElement } from '../id/MobileDocumentDataElement';
3
3
  export declare class MobileDocumentScanner extends DefaultSerializeable {
4
4
  private readonly _iso180135;
5
5
  private readonly _ocr;
@@ -1,5 +1,5 @@
1
- import { DefaultSerializeable } from "scandit-datacapture-frameworks-core";
2
- import { PhysicalDocumentScanner } from "./PhysicalDocumentScanner";
1
+ import { DefaultSerializeable } from 'scandit-datacapture-frameworks-core';
2
+ import { PhysicalDocumentScanner } from './PhysicalDocumentScanner';
3
3
  export declare class SingleSideScanner extends DefaultSerializeable implements PhysicalDocumentScanner {
4
4
  protected readonly _barcode: boolean;
5
5
  protected readonly _machineReadableZone: boolean;