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 { MessageDirection } from './messageDirection';
import type { MessageTimelineQueryActivityAfter } from './messageTimelineQueryActivityAfter';
import type { MessageTimelineQueryActivityBefore } from './messageTimelineQueryActivityBefore';
import type { MessageTimelineQueryAnchored } from './messageTimelineQueryAnchored';
import type { MessageTimelineQueryAround } from './messageTimelineQueryAround';
import type { MessageTimelineQueryCursor } from './messageTimelineQueryCursor';
import type { MessageTimelineQueryLimit } from './messageTimelineQueryLimit';
/**
* Root selection shared by channel timelines and document discussions.
*/
export interface MessageTimelineQuery {
/** Include roots or live replies created at or after this time. */
activity_after?: MessageTimelineQueryActivityAfter;
/** Include roots or live replies created before this time. */
activity_before?: MessageTimelineQueryActivityBefore;
/** Select anchored or unanchored roots; absent includes both. */
anchored?: MessageTimelineQueryAnchored;
/** Center on the root containing this message. */
around?: MessageTimelineQueryAround;
cursor?: MessageTimelineQueryCursor;
/** Which side of the cursor to fetch. */
direction?: MessageDirection;
/** Restrict roots to this set, for selected source threads. */
ids?: string[];
/** Include whole-thread tombstones when reconciling persisted document marks. */
include_deleted_threads?: boolean;
/**
* Page size, clamped by the application to 1..=100.
* @minimum 0
*/
limit?: MessageTimelineQueryLimit;
}