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 Cognition Service
* OpenAPI spec version: 1.0.0
*/
import type { AttachmentType } from './attachmentType';
import type { ChatAttachmentChatId } from './chatAttachmentChatId';
import type { ChatAttachmentMessageId } from './chatAttachmentMessageId';
export interface ChatAttachment {
/** The id of the attachment
either a `document_id` or `project_id` or `chat_id` */
attachment_id: string;
/** The type of attachment */
attachment_type: AttachmentType;
/** The id of the chat if the attachment is a chat */
chat_id?: ChatAttachmentChatId;
/** db attachment id - unused */
id: string;
/** The id of the message if the attachment is a message */
message_id?: ChatAttachmentMessageId;
}