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.

707 B
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * document_storage_service
 * OpenAPI spec version: 0.1.0
 */
import type { MessageChange } from './messageChange';
import type { MessageEventNonce } from './messageEventNonce';
import type { MessageParent } from './messageParent';

/**
 * A committed message or thread change sent to delivery adapters.
 */
export interface MessageEvent {
  /** User or bot who initiated the operation. */
  actor: string;
  /** Persisted change. */
  change: MessageChange;
  /** Mutation nonce for optimistic reconciliation. */
  nonce?: MessageEventNonce;
  /** Changed parent, used for subscriptions and cache invalidation. */
  parent: MessageParent;
}