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.
* scheduled_action
* API for managing scheduled actions
* OpenAPI spec version: 0.1.0
*/
import type { ExecutionResultCondition } from './executionResultCondition';
import type { ExecutionResultConfigurationRevision } from './executionResultConfigurationRevision';
import type { ExecutionResultError } from './executionResultError';
import type { ExecutionResultResource } from './executionResultResource';
import type { ExecutionResultRun } from './executionResultRun';
import type { ExecutionResultStepsItem } from './executionResultStepsItem';
/**
* Version 1 execution metadata stored in the existing JSON result column.
Null/string column values predate this envelope and refer to legacy chats.
*/
export interface ExecutionResult {
condition?: ExecutionResultCondition;
/** The routine configuration the run used. Step paths only name the same
steps in that configuration; a later edit can put another step there. */
configuration_revision?: ExecutionResultConfigurationRevision;
error?: ExecutionResultError;
resource?: ExecutionResultResource;
run?: ExecutionResultRun;
/** What each step that ran did, in order: decisions, tool calls, the agent. */
steps?: ExecutionResultStepsItem[];
/** @minimum 0 */
version: number;
}