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 { NewAttachment } from './newAttachment';
import type { PostMessageAnchor } from './postMessageAnchor';
import type { PostMessageId } from './postMessageId';
import type { PostMessageNonce } from './postMessageNonce';
import type { PostMessageThreadId } from './postMessageThreadId';
import type { SimpleMention } from './simpleMention';
/**
* Create a root or reply. Thread state may only be supplied on a root.
*/
export interface PostMessage {
anchor?: PostMessageAnchor;
/** Initial attachments. */
attachments?: NewAttachment[];
/** Macro Markdown body. */
content: string;
/** Client-minted UUIDv7 for the new message, so an optimistic message
already carries its final id; the server mints one when absent. */
id?: PostMessageId;
/** Mentions tracked by the editor. */
mentions?: SimpleMention[];
/** Client nonce for optimistic reconciliation. */
nonce?: PostMessageNonce;
/** Root to reply to, if this is a reply. */
thread_id?: PostMessageThreadId;
}