export interface CreateRunbookDto {
  name: string;
  description: string;
  triggerType: 'manual' | 'alert' | 'scheduled';
  promptTemplate: string;
  allowedTools: string[];
  maxRiskLevel: number;
  autoApprove: boolean;
  enabled: boolean;
}

export interface UpdateRunbookDto {
  name?: string;
  description?: string;
  triggerType?: 'manual' | 'alert' | 'scheduled';
  promptTemplate?: string;
  allowedTools?: string[];
  maxRiskLevel?: number;
  autoApprove?: boolean;
  enabled?: boolean;
}

export interface RunbookExecutionDto {
  id: string;
  runbookId: string;
  status: 'running' | 'completed' | 'failed';
  triggeredBy: string;
  startedAt: string;
  endedAt?: string;
  durationMs?: number;
}
