export interface FetchV2SourceFetchResponse { /** Extracted text content of the source document. */ content?: string; /** Base64-encoded binary content, for binary file types. */ contentBase64?: string; /** MIME type of the source (e.g. `application/pdf`, `text/plain`). */ contentType?: string; /** Error message, empty string on success. */ error?: string; /** Unique identifier for this resource. */ id?: string; /** LLM-generated summary of the source content. */ inferredContent?: string; /** Human-readable result message. */ message?: string; /** Time-limited download URL for the original file. */ presignedUrl?: string; /** File size in bytes. */ sizeBytes?: number; /** * Deprecated for API clients: to decide whether the request succeeded, * check the HTTP status code — 2xx is success — or equivalently the * envelope's top-level `success`. This nested copy always carries the same * value as that flag and never carries independent information. Still * emitted unchanged for existing clients (PRO-1208). */ success?: boolean; }