Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* document_storage_service
* OpenAPI spec version: 0.1.0
*/
import type { DocumentContentUploadedMetadataDocumentVersionId } from './documentContentUploadedMetadataDocumentVersionId';
import type { FileType } from './fileType';
/**
* Metadata for [`DocumentTopicEvent::ContentUploaded`].
*/
export interface DocumentContentUploadedMetadata {
/** The id of the document whose stored bytes changed. */
document_id: string;
/** Version written, or the converted-file marker; `None` for unversioned
writes (mirrors `SearchExtractorMessage::document_version_id`). */
document_version_id?: DocumentContentUploadedMetadataDocumentVersionId;
/** File type of the uploaded object (may differ from the document's own
type, e.g. `pdf` for the converted rendition of a docx). */
file_type: FileType;
/** The owner of the document (used by the extractor to resolve S3 keys). */
owner: string;
}