UNPKG

mindee

Version:

Mindee Client Library for Node.js

41 lines (40 loc) 1.22 kB
import { StringDict } from "../../../parsing/common"; import { Polygon } from "../../../geometry"; /** * Information about the employer. */ export declare class PayslipV2Employer { #private; /** The address of the employer. */ address: string | null; /** The company ID of the employer. */ companyId: string | null; /** The site of the company. */ companySite: string | null; /** The NAF code of the employer. */ nafCode: string | null; /** The name of the employer. */ name: string | null; /** The phone number of the employer. */ phoneNumber: string | null; /** The URSSAF number of the employer. */ urssafNumber: 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; }