aamva-parser
Version:
Plugin to parse AAMVA Drivers License Data from the PDF417 barcode
40 lines (39 loc) • 1.3 kB
TypeScript
import { ParsedLicense } from '../parsedLicense';
import { Gender, EyeColor, IssuingCountry, Truncation, HairColor, NameSuffix } from '../enums';
export declare class License implements ParsedLicense {
firstName: string | null;
lastName: string | null;
middleName: string | null;
expirationDate: Date | null;
issueDate: Date | null;
dateOfBirth: Date | null;
gender: Gender;
eyeColor: EyeColor;
height: number | null;
streetAddress: string | null;
city: string | null;
state: string | null;
postalCode: string | null;
driversLicenseId: string | null;
documentId: string | null;
country: IssuingCountry;
middleNameTruncation: Truncation;
firstNameTruncation: Truncation;
lastNameTruncation: Truncation;
streetAddressSupplement: string | null;
hairColor: HairColor;
placeOfBirth: string | null;
auditInformation: string | null;
inventoryControlNumber: string | null;
lastNameAlias: string | null;
firstNameAlias: string | null;
suffixAlias: string | null;
suffix: NameSuffix;
version: string | null;
pdf417: string | null;
expired: boolean;
constructor(data?: Partial<ParsedLicense>);
isExpired(): boolean;
hasBeenIssued(): boolean;
isAcceptable(): boolean;
}