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.3 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * document_storage_service
 * OpenAPI spec version: 0.1.0
 */
import type { AgentActionId } from './agentActionId';
import type { MacroUserIdStr } from './macroUserIdStr';
import type { SessionIdentity } from './sessionIdentity';
import type { SessionMentionedMetadataMentionedBy } from './sessionMentionedMetadataMentionedBy';
import type { SessionMentionedMetadataOriginMessageId } from './sessionMentionedMetadataOriginMessageId';

/**
 * A prompt named other users who can open the session. Published when the
prompt is accepted, not when it is answered: "come look at this" should
not wait for the turn.
 */
export interface SessionMentionedMetadata {
  /** The action carrying the prompt. */
  action_id: AgentActionId;
  /** The session. */
  identity: SessionIdentity;
  /** The users named, already narrowed to those who can open the session
and never including the author. */
  mentioned: MacroUserIdStr[];
  mentioned_by?: SessionMentionedMetadataMentionedBy;
  /** The channel or document message the prompt was posted as, when it
arrived from a thread rather than the session view. That message
already notified the users it named when it was posted. */
  origin_message_id?: SessionMentionedMetadataOriginMessageId;
}