import { DocumentType } from './document-type';
import { DocumentFormat } from '../labels/document-formats';

/** @description Basic structure for a document */
export 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;
}
