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 { MessageParent } from './messageParent';
import type { ThreadOriginChannelId } from './threadOriginChannelId';
/**
* The thread a session was opened from, when it was.
*/
export interface ThreadOrigin {
/** Channel the thread lives in, for channel parents only. Kept beside
`parent` for consumers written when every origin was a channel. */
channel_id?: ThreadOriginChannelId;
/** The message whose mention opened the session. */
originating_message_id: string;
/** Entity owning the thread: the channel or document it was posted in. */
parent: MessageParent;
/** Root message of the thread. */
thread_id: string;
}