UNPKG

mindee

Version:

Mindee Client Library for Node.js

39 lines (38 loc) 1.18 kB
import { StringDict } from "../../parsing/common"; import { Polygon } from "../../geometry"; /** * The goods being shipped. */ export declare class BillOfLadingV1CarrierItem { #private; /** A description of the item. */ description: string | null; /** The gross weight of the item. */ grossWeight: number | null; /** The measurement of the item. */ measurement: number | null; /** The unit of measurement for the measurement. */ measurementUnit: string | null; /** The quantity of the item being shipped. */ quantity: number | null; /** The unit of measurement for weights. */ weightUnit: 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 an rST table. */ toTableLine(): string; }