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 { ThreadStateAnchor } from './threadStateAnchor';
import type { ThreadStateDeletedAt } from './threadStateDeletedAt';
/**
* State belonging to a whole thread, keyed by its root message.
*/
export interface ThreadState {
anchor?: ThreadStateAnchor;
/** Creation time of the discussion. */
created_at: string;
/** Explicit deletion of the entire thread, distinct from root deletion. */
deleted_at?: ThreadStateDeletedAt;
/** Whether this discussion has been resolved. */
resolved: boolean;
/** Root message UUID; there is no separate thread identity. */
root_id: string;
/** Last state change. */
updated_at: string;
/** User who owns this discussion, including imported discussions. */
user_id: string;
}