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 { SoupDocumentSoupPropertiesFieldAllOfTwoBranchedFromId } from './soupDocumentSoupPropertiesFieldAllOfTwoBranchedFromId';
import type { SoupDocumentSoupPropertiesFieldAllOfTwoBranchedFromVersionId } from './soupDocumentSoupPropertiesFieldAllOfTwoBranchedFromVersionId';
import type { SoupDocumentSoupPropertiesFieldAllOfTwoDeletedAt } from './soupDocumentSoupPropertiesFieldAllOfTwoDeletedAt';
import type { SoupDocumentSoupPropertiesFieldAllOfTwoDocumentFamilyId } from './soupDocumentSoupPropertiesFieldAllOfTwoDocumentFamilyId';
import type { SoupDocumentSoupPropertiesFieldAllOfTwoFileType } from './soupDocumentSoupPropertiesFieldAllOfTwoFileType';
import type { SoupDocumentSoupPropertiesFieldAllOfTwoProjectId } from './soupDocumentSoupPropertiesFieldAllOfTwoProjectId';
import type { SoupDocumentSoupPropertiesFieldAllOfTwoSha } from './soupDocumentSoupPropertiesFieldAllOfTwoSha';
import type { SoupDocumentSoupPropertiesFieldAllOfTwoSubType } from './soupDocumentSoupPropertiesFieldAllOfTwoSubType';
import type { SoupDocumentSoupPropertiesFieldAllOfTwoViewedAt } from './soupDocumentSoupPropertiesFieldAllOfTwoViewedAt';
export type SoupDocumentSoupPropertiesFieldAllOfTwo = {
/** The id of the document this document branched from */
branchedFromId?: SoupDocumentSoupPropertiesFieldAllOfTwoBranchedFromId;
/** The id of the version this document branched from
This could be either DocumentInstance or DocumentBom id depending on the file type */
branchedFromVersionId?: SoupDocumentSoupPropertiesFieldAllOfTwoBranchedFromVersionId;
/** The time the document was created */
createdAt: string;
/** The time the document was deleted */
deletedAt?: SoupDocumentSoupPropertiesFieldAllOfTwoDeletedAt;
/** The id of the document family this document belongs to */
documentFamilyId?: SoupDocumentSoupPropertiesFieldAllOfTwoDocumentFamilyId;
/** 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?: SoupDocumentSoupPropertiesFieldAllOfTwoFileType;
/** The document id */
id: string;
/** The name of the document */
name: string;
/** The owner of the document */
ownerId: string;
/** The id of the project that this document belongs to */
projectId?: SoupDocumentSoupPropertiesFieldAllOfTwoProjectId;
/** 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?: SoupDocumentSoupPropertiesFieldAllOfTwoSha;
subType?: SoupDocumentSoupPropertiesFieldAllOfTwoSubType;
/** The time the document instance / document BOM was updated */
updatedAt: string;
/** The time the document was last viewed */
viewedAt?: SoupDocumentSoupPropertiesFieldAllOfTwoViewedAt;
};