/**
 * Generated by orval v7.13.0 🍺
 * Do not edit manually.
 * AutoGPT Agent Server
 * This server is used to execute agents that are created by the AutoGPT system.
 * OpenAPI spec version: 0.1
 */
import type { GraphExecutionMetaInputs } from "./graphExecutionMetaInputs";
import type { GraphExecutionMetaCredentialInputs } from "./graphExecutionMetaCredentialInputs";
import type { GraphExecutionMetaNodesInputMasks } from "./graphExecutionMetaNodesInputMasks";
import type { GraphExecutionMetaPresetId } from "./graphExecutionMetaPresetId";
import type { AgentExecutionStatus } from "./agentExecutionStatus";
import type { GraphExecutionMetaStartedAt } from "./graphExecutionMetaStartedAt";
import type { GraphExecutionMetaEndedAt } from "./graphExecutionMetaEndedAt";
import type { GraphExecutionMetaShareToken } from "./graphExecutionMetaShareToken";
import type { GraphExecutionMetaStats } from "./graphExecutionMetaStats";

export interface GraphExecutionMeta {
  id: string;
  user_id: string;
  graph_id: string;
  graph_version: number;
  inputs: GraphExecutionMetaInputs;
  credential_inputs: GraphExecutionMetaCredentialInputs;
  nodes_input_masks: GraphExecutionMetaNodesInputMasks;
  preset_id: GraphExecutionMetaPresetId;
  status: AgentExecutionStatus;
  /** When execution started running. Null if not yet started (QUEUED). */
  started_at?: GraphExecutionMetaStartedAt;
  /** When execution finished. Null if not yet completed (QUEUED, RUNNING, INCOMPLETE, REVIEW). */
  ended_at?: GraphExecutionMetaEndedAt;
  is_shared?: boolean;
  share_token?: GraphExecutionMetaShareToken;
  is_dry_run?: boolean;
  stats: GraphExecutionMetaStats;
}
