Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

2.5 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * document_storage_service
 * OpenAPI spec version: 0.1.0
 */
import type { DocumentResponseMetadataBranchedFromId } from './documentResponseMetadataBranchedFromId';
import type { DocumentResponseMetadataBranchedFromVersionId } from './documentResponseMetadataBranchedFromVersionId';
import type { DocumentResponseMetadataCreatedAt } from './documentResponseMetadataCreatedAt';
import type { DocumentResponseMetadataDocumentBom } from './documentResponseMetadataDocumentBom';
import type { DocumentResponseMetadataDocumentFamilyId } from './documentResponseMetadataDocumentFamilyId';
import type { DocumentResponseMetadataFileType } from './documentResponseMetadataFileType';
import type { DocumentResponseMetadataSha } from './documentResponseMetadataSha';
import type { DocumentResponseMetadataSubType } from './documentResponseMetadataSubType';
import type { DocumentResponseMetadataUpdatedAt } from './documentResponseMetadataUpdatedAt';

export interface DocumentResponseMetadata {
  /** The id of the document this document branched from */
  branchedFromId?: DocumentResponseMetadataBranchedFromId;
  /** The id of the version this document branched from
This could be either DocumentInstance or DocumentBom id depending on
the file type */
  branchedFromVersionId?: DocumentResponseMetadataBranchedFromVersionId;
  /** The time the document was created */
  createdAt?: DocumentResponseMetadataCreatedAt;
  /** If the document is a DOCX document, the document_bom will be present */
  documentBom?: DocumentResponseMetadataDocumentBom;
  /** The id of the document family this document belongs to */
  documentFamilyId?: DocumentResponseMetadataDocumentFamilyId;
  /** The document id */
  documentId: string;
  /** The name of the document */
  documentName: string;
  /** 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 */
  fileType?: DocumentResponseMetadataFileType;
  /** The modification data for the document instance.
This is only used for PDF documents. */
  modificationData?: unknown;
  /** The owner of the document */
  owner: string;
  /** 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?: DocumentResponseMetadataSha;
  subType?: DocumentResponseMetadataSubType;
  /** The time the document instance / document BOM was updated */
  updatedAt?: DocumentResponseMetadataUpdatedAt;
}