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.
* email_service
* OpenAPI spec version: 0.1.0
*/
import type { Message } from './message';
import type { ThreadLatestInboundMessageTs } from './threadLatestInboundMessageTs';
import type { ThreadLatestNonSpamMessageTs } from './threadLatestNonSpamMessageTs';
import type { ThreadLatestOutboundMessageTs } from './threadLatestOutboundMessageTs';
import type { ThreadProviderId } from './threadProviderId';
export interface Thread {
created_at: string;
db_id: string;
inbox_visible: boolean;
is_read: boolean;
latest_inbound_message_ts?: ThreadLatestInboundMessageTs;
latest_non_spam_message_ts?: ThreadLatestNonSpamMessageTs;
latest_outbound_message_ts?: ThreadLatestOutboundMessageTs;
link_id: string;
messages: Message[];
provider_id?: ThreadProviderId;
updated_at: string;
}