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.
* search_service
* OpenAPI spec version: 0.1.0
*/
import type { ChatMessageSearchResultChatMessageId } from './chatMessageSearchResultChatMessageId';
import type { ChatMessageSearchResultRole } from './chatMessageSearchResultRole';
import type { ChatMessageSearchResultScore } from './chatMessageSearchResultScore';
import type { SearchHighlight } from './searchHighlight';
/**
* A chat match for a given message id
*/
export interface ChatMessageSearchResult {
/** The chat message id for the chat
This is only present if the search match was on the chat message content */
chat_message_id?: ChatMessageSearchResultChatMessageId;
/** The highlights for the chat message */
highlight: SearchHighlight;
/** The role of the chat message
This is only present if the search match was on the chat message content */
role?: ChatMessageSearchResultRole;
/** The score of the result */
score?: ChatMessageSearchResultScore;
}