@shipengine/connect-carrier-api
Version:
This is the typescript/javascript definitions for carrier api
12 lines (11 loc) • 586 B
TypeScript
import { DocumentType } from './document-type';
import { DocumentFormat } from '../labels/document-formats';
/** @description Basic structure for a document */
export declare class Document {
/** @description The document type(s) being returned. In most cases this is just a single document type; however, some carriers return multiple document types in the same PDF or ZPL */
type: DocumentType[];
/** @description Base64 encoded data for the document */
data: string;
/** @description The format the document is in (Pdf, Zpl, etc) */
format: DocumentFormat;
}