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 { ApiAttachmentGenericReferenceUserId } from './apiAttachmentGenericReferenceUserId';
/**
* A reference to an attachment entity from a non-message source.
*/
export interface ApiAttachmentGenericReference {
/** When this reference was created. */
created_at: string;
/** ID of the referenced entity. */
entity_id: string;
/** Type of the referenced entity. */
entity_type: string;
/** ID of the source entity. */
source_entity_id: string;
/** Type of the source entity (e.g., "document", "chat", etc.). */
source_entity_type: string;
/** User who created this reference (optional for non-user sources). */
user_id?: ApiAttachmentGenericReferenceUserId;
}