@scandit/web-datacapture-id
Version:
Scandit Data Capture SDK for the Web
41 lines (40 loc) • 1.7 kB
TypeScript
import type { Serializable } from "@scandit/web-datacapture-core/build/js/private/Serializable";
import { DateResult } from "./DateResult";
import type { MRZResultJSON } from "../SerializedTypes";
export declare class MRZResult implements Serializable<MRZResultJSON> {
protected json: MRZResultJSON;
get documentCode(): string;
get namesAreTruncated(): boolean;
/**
* @deprecated Use optionalDataInLine1 and optionalDataInLine2 instead. This property will be removed in SDK version 8.0.
*/
get optional(): string | null;
/**
* @deprecated Use optionalDataInLine1 and optionalDataInLine2 instead. This property will be removed in SDK version 8.0.
*/
get optional1(): string | null;
get optionalDataInLine1(): string | null;
get optionalDataInLine2(): string | null;
get capturedMrz(): string;
get personalIdNumber(): string | null;
get renewalTimes(): number | null;
get fullNameSimplifiedChinese(): string | null;
get omittedCharacterCountInGbkName(): number | null;
get omittedNameCount(): number | null;
get issuingAuthorityCode(): string | null;
get passportIssuerIso(): string | null;
get passportNumber(): string | null;
get passportDateOfExpiry(): DateResult | null;
get firstName(): string | null;
get lastName(): string | null;
get fullName(): string;
get sex(): string | null;
get dateOfBirth(): DateResult | null;
get nationality(): string | null;
get address(): string | null;
get documentNumber(): string | null;
get dateOfExpiry(): DateResult | null;
get dateOfIssue(): DateResult | null;
private static fromJSON;
toJSONObject(): MRZResultJSON;
}