/**
 * src/approval/types.ts
 * Approval Workflow Types — Ask before running dangerous tools
 */
import { z } from 'zod';
export const approvalRequestSchema = z.object({
    id: z.string().uuid(),
    tenant_id: z.string().uuid(),
    session_id: z.string().uuid().nullable(),
    tool_name: z.string(),
    tool_args: z.any(),
    reason: z.string(),
    risk_level: z.enum(['low', 'medium', 'high', 'critical']),
    status: z.enum(['pending', 'approved', 'denied', 'expired']),
    requested_by: z.string(),
    approved_by: z.string().nullable(),
    approved_at: z.string().nullable(),
    expires_at: z.string(),
    created_at: z.string(),
});
//# sourceMappingURL=types.js.map