UNPKG

mindee

Version:

Mindee Client Library for Node.js

33 lines (32 loc) 1.14 kB
import { Prediction, StringDict } from "../../../parsing/common"; import { DateField, StringField } from "../../../parsing/standard"; /** * Carte Nationale d'Identité API version 1.1 document data. */ export declare class IdCardV1Document implements Prediction { /** The name of the issuing authority. */ authority: StringField; /** The date of birth of the card holder. */ birthDate: DateField; /** The place of birth of the card holder. */ birthPlace: StringField; /** The expiry date of the identification card. */ expiryDate: DateField; /** The gender of the card holder. */ gender: StringField; /** The given name(s) of the card holder. */ givenNames: StringField[]; /** The identification card number. */ idNumber: StringField; /** Machine Readable Zone, first line */ mrz1: StringField; /** Machine Readable Zone, second line */ mrz2: StringField; /** The surname of the card holder. */ surname: StringField; constructor(rawPrediction: StringDict, pageId?: number); /** * Default string representation. */ toString(): string; }