Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

1.7 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * search_service
 * OpenAPI spec version: 0.1.0
 */
import type { ChannelSearchResultCreatedAt } from './channelSearchResultCreatedAt';
import type { ChannelSearchResultDeletedAt } from './channelSearchResultDeletedAt';
import type { ChannelSearchResultMessageId } from './channelSearchResultMessageId';
import type { ChannelSearchResultScore } from './channelSearchResultScore';
import type { ChannelSearchResultSenderId } from './channelSearchResultSenderId';
import type { ChannelSearchResultThreadId } from './channelSearchResultThreadId';
import type { ChannelSearchResultUpdatedAt } from './channelSearchResultUpdatedAt';
import type { SearchHighlight } from './searchHighlight';

/**
 * A channel message match for a given channel id
 */
export interface ChannelSearchResult {
  /** When the channel message was created
This is only prsent if the search result is on the message content */
  created_at?: ChannelSearchResultCreatedAt;
  /** When the channel message was deleted, if it has been */
  deleted_at?: ChannelSearchResultDeletedAt;
  /** The highlights for the channel message */
  highlight: SearchHighlight;
  /** The channel message id
This is only prsent if the search result is on the message content */
  message_id?: ChannelSearchResultMessageId;
  /** The score of the result */
  score?: ChannelSearchResultScore;
  /** The sender id
This is only prsent if the search result is on the message content */
  sender_id?: ChannelSearchResultSenderId;
  /** The channel message thread id */
  thread_id?: ChannelSearchResultThreadId;
  /** When the channel message was last updated
This is only prsent if the search result is on the message content */
  updated_at?: ChannelSearchResultUpdatedAt;
}