/** * This file was auto-generated by Fern from our API Definition. */ import * as Vectara from "../index"; export interface Document { /** The document ID. */ id?: string; /** The document metadata. */ metadata?: Record; /** The tables that this document contains. Tables are not available when table extraction is not enabled. */ tables?: Vectara.Table[]; /** * Parts of the document that make up the document. However, parts are not available when * retrieving a list of documents or when creating a document. This property is only available * when retrieving a document by ID. */ parts?: Vectara.DocumentPart[]; storageUsage?: Vectara.DocumentStorageUsage; extractionUsage?: Vectara.ExtractionUsage; }