- attachment_association_jobs:从票据夹批量关联附件到报销单,识别城市/日期并创建明细项,内存态 job 跟踪 - linked_reimbursement_draft_jobs:基于申请单异步生成关联报销草稿,调用 Orchestrator 编排,区分 succeeded/failed 终态 - application_location_semantics:抽取差旅出发/到达城市、判断具体地址/业务动作等位置语义,供申请单校验复用 - router 注册两个 job 端点,新增对应 job/语义单元测试
57 lines
3.7 KiB
Python
57 lines
3.7 KiB
Python
from fastapi import APIRouter
|
|
|
|
from app.api.v1.endpoints.agent_asset_risk_rules import router as agent_asset_risk_rules_router
|
|
from app.api.v1.endpoints.agent_assets import router as agent_assets_router
|
|
from app.api.v1.endpoints.agent_feedback import router as agent_feedback_router
|
|
from app.api.v1.endpoints.agent_runs import router as agent_runs_router
|
|
from app.api.v1.endpoints.agent_traces import router as agent_traces_router
|
|
from app.api.v1.endpoints.analytics import router as analytics_router
|
|
from app.api.v1.endpoints.attachment_association_jobs import router as attachment_association_jobs_router
|
|
from app.api.v1.endpoints.audit_logs import router as audit_logs_router
|
|
from app.api.v1.endpoints.auth import router as auth_router
|
|
from app.api.v1.endpoints.bootstrap import router as bootstrap_router
|
|
from app.api.v1.endpoints.budgets import router as budgets_router
|
|
from app.api.v1.endpoints.employees import router as employees_router
|
|
from app.api.v1.endpoints.employee_profiles import router as employee_profiles_router
|
|
from app.api.v1.endpoints.health import router as health_router
|
|
from app.api.v1.endpoints.knowledge import router as knowledge_router
|
|
from app.api.v1.endpoints.linked_reimbursement_draft_jobs import router as linked_reimbursement_draft_jobs_router
|
|
from app.api.v1.endpoints.notification_states import router as notification_states_router
|
|
from app.api.v1.endpoints.ocr import router as ocr_router
|
|
from app.api.v1.endpoints.ontology import router as ontology_router
|
|
from app.api.v1.endpoints.orchestrator import router as orchestrator_router
|
|
from app.api.v1.endpoints.receipt_folder import router as receipt_folder_router
|
|
from app.api.v1.endpoints.reimbursements import router as reimbursements_router
|
|
from app.api.v1.endpoints.risk_observations import router as risk_observations_router
|
|
from app.api.v1.endpoints.settings import router as settings_router
|
|
from app.api.v1.endpoints.steward import router as steward_router
|
|
from app.api.v1.endpoints.system_logs import router as system_logs_router
|
|
|
|
router = APIRouter()
|
|
router.include_router(health_router, tags=["health"])
|
|
router.include_router(bootstrap_router, tags=["bootstrap"])
|
|
router.include_router(auth_router, tags=["auth"])
|
|
router.include_router(budgets_router, tags=["budgets"])
|
|
router.include_router(agent_assets_router, tags=["agent-assets"])
|
|
router.include_router(agent_asset_risk_rules_router, tags=["agent-assets"])
|
|
router.include_router(agent_feedback_router, tags=["agent-feedback"])
|
|
router.include_router(agent_runs_router, tags=["agent-runs"])
|
|
router.include_router(agent_traces_router, tags=["agent-traces"])
|
|
router.include_router(analytics_router, tags=["analytics"])
|
|
router.include_router(attachment_association_jobs_router, tags=["attachment-association-jobs"])
|
|
router.include_router(audit_logs_router, tags=["audit-logs"])
|
|
router.include_router(knowledge_router, tags=["knowledge"])
|
|
router.include_router(linked_reimbursement_draft_jobs_router, tags=["linked-reimbursement-draft-jobs"])
|
|
router.include_router(notification_states_router, tags=["notification-states"])
|
|
router.include_router(ocr_router, tags=["ocr"])
|
|
router.include_router(ontology_router, tags=["ontology"])
|
|
router.include_router(orchestrator_router, tags=["orchestrator"])
|
|
router.include_router(receipt_folder_router, tags=["receipt-folder"])
|
|
router.include_router(employees_router, prefix="/employees", tags=["employees"])
|
|
router.include_router(employee_profiles_router, tags=["employee-profiles"])
|
|
router.include_router(reimbursements_router, prefix="/reimbursements", tags=["reimbursements"])
|
|
router.include_router(risk_observations_router, tags=["risk-observations"])
|
|
router.include_router(settings_router, tags=["settings"])
|
|
router.include_router(steward_router, tags=["steward"])
|
|
router.include_router(system_logs_router, tags=["system-logs"])
|