Add live CEO briefing, Wereldexport CRM, halal engine, and realtime cockpit.
Ship export intel with contact filters and CRM push, Herman live digest with Telegram briefing, halal recommendation engine, revenue cockpit, and dashboard polling/WebSocket fixes.
This commit is contained in:
@@ -34,6 +34,17 @@ def register_recommendation_routes(router: APIRouter) -> None:
|
||||
async def reco_dismiss(rec_id: int):
|
||||
return await _proxy("POST", f"/recommendations/{rec_id}/dismiss")
|
||||
|
||||
@router.get("/recommendations/halal/live")
|
||||
async def halal_reco_live(limit: int = 5, refresh: bool = False):
|
||||
q = f"/recommendations/halal/live?limit={limit}"
|
||||
if refresh:
|
||||
q += "&refresh=true"
|
||||
return await _proxy("GET", q)
|
||||
|
||||
@router.post("/recommendations/halal/refresh")
|
||||
async def halal_reco_refresh(limit: int = 5):
|
||||
return await _proxy("POST", f"/recommendations/halal/refresh?limit={limit}")
|
||||
|
||||
@router.post("/research/run")
|
||||
async def research_run():
|
||||
return await _proxy("POST", "/research/run")
|
||||
|
||||
Reference in New Issue
Block a user