mindee
Version:
Mindee Client Library for Node.js
41 lines (40 loc) • 1.28 kB
TypeScript
import { StringDict } from "../../../parsing/common";
import { Polygon } from "../../../geometry";
/**
* Information about the employee.
*/
export declare class PayslipV2Employee {
#private;
/** The address of the employee. */
address: string | null;
/** The date of birth of the employee. */
dateOfBirth: string | null;
/** The first name of the employee. */
firstName: string | null;
/** The last name of the employee. */
lastName: string | null;
/** The phone number of the employee. */
phoneNumber: string | null;
/** The registration number of the employee. */
registrationNumber: string | null;
/** The social security number of the employee. */
socialSecurityNumber: string | null;
/** Confidence score */
confidence: number;
/** The document page on which the information was found. */
pageId: number;
/**
* Contains the relative vertices coordinates (points) of a polygon containing
* the field in the document.
*/
polygon: Polygon;
constructor({ prediction }: StringDict);
/**
* Default string representation.
*/
toString(): string;
/**
* Output in a format suitable for inclusion in a field list.
*/
toFieldList(): string;
}