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 { BasicDocumentBranchedFromId } from './basicDocumentBranchedFromId';
import type { BasicDocumentBranchedFromVersionId } from './basicDocumentBranchedFromVersionId';
import type { BasicDocumentCreatedAt } from './basicDocumentCreatedAt';
import type { BasicDocumentDeletedAt } from './basicDocumentDeletedAt';
import type { BasicDocumentDocumentFamilyId } from './basicDocumentDocumentFamilyId';
import type { BasicDocumentFileType } from './basicDocumentFileType';
import type { BasicDocumentProjectId } from './basicDocumentProjectId';
import type { BasicDocumentSha } from './basicDocumentSha';
import type { BasicDocumentSubTypeProperty } from './basicDocumentSubTypeProperty';
import type { BasicDocumentType } from './basicDocumentType';
import type { BasicDocumentUpdatedAt } from './basicDocumentUpdatedAt';
export interface BasicDocument {
/** The id of the document this document branched from */
branchedFromId?: BasicDocumentBranchedFromId;
/** The id of the version this document branched from
This could be either DocumentInstance or DocumentBom id depending on
the file type */
branchedFromVersionId?: BasicDocumentBranchedFromVersionId;
/** The time the document was created */
createdAt?: BasicDocumentCreatedAt;
/** The time the document was deleted */
deletedAt?: BasicDocumentDeletedAt;
/** The id of the document family this document belongs to */
documentFamilyId?: BasicDocumentDocumentFamilyId;
/** The version of the document
This could be the document_instance_id or document_bom_id depending on
the file type */
documentVersionId: number;
/** The file type of the document (e.g. pdf, docx) */
fileType?: BasicDocumentFileType;
/** The document id */
id: string;
/** The name of the document */
name: string;
/** The owner of the document */
owner: string;
/** The id of the project that this document belongs to */
projectId?: BasicDocumentProjectId;
/** If the document is a PDF, this is the SHA of the pdf
If the document is a DOCX, this will not be present */
sha?: BasicDocumentSha;
subType?: BasicDocumentSubTypeProperty;
/** The time the document instance / document BOM was updated */
updatedAt?: BasicDocumentUpdatedAt;
type: BasicDocumentType;
}