import express from 'express';
import authRoutes from './auth';
import productRoutes from './product';
import orderRoutes from './order';
import financeRoutes from './finance';
import syncRoutes from './sync';
// import monitoringRoutes from './monitoring';
// import operationAgentRoutes from './operation-agent';
// import aiSelfImprovementRoutes from './ai-self-improvement';
// import aiBatchRoutes from './ai-batch';
// import batchRoutes from './batch';
import serviceManagerRoutes from './service-manager';
import saasTenantRoutes from './saas-tenant';
import consoleLiteRoutes from './console_lite';
import currencyRoutes from './currency';
import leaderboardRoutes from './leaderboard';
import traceRoutes from './trace';
import tradeRoutes from './trade';
import vaultRoutes from './vault';

const router = express.Router();

// 注册所有路由
router.use('/auth', authRoutes);
router.use('/products', productRoutes);
router.use('/orders', orderRoutes);
router.use('/finance', financeRoutes);
router.use('/sync', syncRoutes);
// router.use('/monitoring', monitoringRoutes);
// router.use('/telemetry', telemetryRoutes);
// router.use('/ai', aiRoutes);
// router.use('/chatbot', chatbotRoutes);
// router.use('/recommendation', recommendationRoutes);
// router.use('/image-recognition', imageRecognitionRoutes);
// router.use('/nlp', nlpRoutes);
// router.use('/operation-agent', operationAgentRoutes);
// router.use('/batch', batchRoutes);
// router.use('/after-sales', afterSalesRoutes);
// router.use('/pricing', pricingRoutes);
// router.use('/inventory', inventoryRoutes);
// router.use('/logistics', logisticsRoutes);
// router.use('/risk-control', riskControlRoutes);
// router.use('/governance', governanceRoutes);
// router.use('/settings', settingsRoutes);
// router.use('/tenant', tenantRoutes);
// router.use('/webhook', webhookRoutes);
// router.use('/command', commandRoutes);
// router.use('/certificate', certificateRoutes);
// router.use('/platform-auth', platformAuthRoutes);
// router.use('/shop-report', shopReportRoutes);
// router.use('/data-abstraction', dataAbstractionRoutes);
// router.use('/dynamic-pricing', dynamicPricingRoutes);
// router.use('/marketing', marketingRoutes);
// router.use('/creative', creativeRoutes);
// router.use('/customer', customerRoutes);
// router.use('/billing', billingRoutes);
// router.use('/arbitrage', arbitrageRoutes);
// router.use('/report', reportRoutes);
// router.use('/publish', publishRoutes);
// router.use('/node', nodeRoutes);
// router.use('/omnichannel', omnichannelRoutes);
// router.use('/auto-execution', autoExecutionRoutes);
// router.use('/autopilot', autopilotRoutes);
// router.use('/strategy', strategyRoutes);
// router.use('/biz', bizRoutes);
// router.use('/ai-batch', aiBatchRoutes);
// router.use('/ai-self-improvement', aiSelfImprovementRoutes);
// router.use('/after-sales-decision', afterSalesDecisionRoutes);
// router.use('/order-central', orderCentralRoutes);
// router.use('/order-fulfillment', orderFulfillmentRoutes);
// router.use('/smart-pricing', smartPricingRoutes);
// router.use('/sovereignty', sovereigntyRoutes);
router.use('/service-manager', serviceManagerRoutes);
router.use('/saas-tenant', saasTenantRoutes);
router.use('/console-lite', consoleLiteRoutes);
router.use('/currency', currencyRoutes);
router.use('/leaderboard', leaderboardRoutes);
router.use('/trace', traceRoutes);
router.use('/trade', tradeRoutes);
router.use('/vault', vaultRoutes);

export default router;
