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 { SoupChannelThreadDeletedAt } from './soupChannelThreadDeletedAt';
import type { SoupChannelThreadEditedAt } from './soupChannelThreadEditedAt';
import type { SoupCountedReaction } from './soupCountedReaction';
import type { SoupMessageAttachment } from './soupMessageAttachment';
import type { SoupMessageSender } from './soupMessageSender';
import type { SoupThreadInfo } from './soupThreadInfo';
/**
* A top-level channel message thread for soup payloads.
This mirrors the public channel-message API shape so soup consumers can
render a thread root the same way they render a channel timeline message.
*/
export interface SoupChannelThread {
/** Attachments on this message. */
attachments: SoupMessageAttachment[];
/** Channel id. */
channel_id: string;
/** Message content. */
content: string;
/** Creation timestamp. */
created_at: string;
/** Deletion timestamp. */
deleted_at?: SoupChannelThreadDeletedAt;
/** Edit timestamp. */
edited_at?: SoupChannelThreadEditedAt;
/** Message id. */
id: string;
/** Reactions on this message. */
reactions: SoupCountedReaction[];
/** Structured sender identity. */
sender: SoupMessageSender;
/** Sender id. */
sender_id: string;
/** Thread metadata and preview replies. */
thread: SoupThreadInfo;
/** Update timestamp. */
updated_at: string;
}