/**
 * [BE-ROUTE-018] 风控决策路由
 * 提供风控决策AI介入的RESTful API路由
 */

import { Router } from 'express';
import { RiskControlController } from '../controllers/RiskControlController';
import { requireTraceContext } from '../../core/guards/trace-context.guard';

const router = Router();

router.post('/ai-decision', requireTraceContext, RiskControlController.makeDecision);
router.post('/assess', requireTraceContext, RiskControlController.assessRisk);
router.post('/block', requireTraceContext, RiskControlController.blockTransaction);
router.post('/scan', requireTraceContext, RiskControlController.scanRisks);

export default router;
