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.
* agent_harness_service
* OpenAPI spec version: 0.1.0
*/
import type { ActivityWireRowAgentCorrelationId } from './activityWireRowAgentCorrelationId';
import type { EntityType } from './entityType';
/**
* One activity row on the wire — the realtime projection of an inserted
`activity_events` row.
*/
export interface ActivityWireRow {
/** The stored action tag. */
action: string;
/** The stored action payload, if any. */
action_payload?: unknown;
/** Who mechanically acted, as a principal string (`macro|…` / `bot|…`). */
actor_id: string;
/** Originating code-mode invocation, absent on older events. */
agent_correlation_id?: ActivityWireRowAgentCorrelationId;
/** The entity acted on. */
entity_id: string;
/** The kind of entity acted on. */
entity_type: EntityType;
/** The stored activity id. */
id: string;
/** When it happened. */
occurred_at: string;
/** Whose activity this is (a principal string). */
subject_id: string;
}