UNPKG

mindee

Version:

Mindee Client Library for Node.js

25 lines (24 loc) 939 B
import { Prediction, StringDict } from "../../../parsing/common"; import { UsMailV3SenderAddress } from "./usMailV3SenderAddress"; import { UsMailV3RecipientAddress } from "./usMailV3RecipientAddress"; import { BooleanField, StringField } from "../../../parsing/standard"; /** * US Mail API version 3.0 document data. */ export declare class UsMailV3Document implements Prediction { /** Whether the mailing is marked as return to sender. */ isReturnToSender: BooleanField; /** The addresses of the recipients. */ recipientAddresses: UsMailV3RecipientAddress[]; /** The names of the recipients. */ recipientNames: StringField[]; /** The address of the sender. */ senderAddress: UsMailV3SenderAddress; /** The name of the sender. */ senderName: StringField; constructor(rawPrediction: StringDict, pageId?: number); /** * Default string representation. */ toString(): string; }