v2 Unit 1 โ Core App
Request IDs, JSON logging, security headers, CORS, rate limiting, built-in /health, error handlers
v2 Unit 2 โ Data Layer
6 tables (incl. ActivityLog), typed enums, composite indexes, to_dict/__repr__ helpers, revenue/margin properties
v2 Unit 3 โ Routing & API
20+ routes, activity logging on every action, lead edit/status, supplier GSTIN/terms, API activity log endpoint
v2 Unit 4 โ Shunya Pipeline
5-destination knowledge base, occasion detection (wedding/honeymoon/family), wedding templates, HTML proposals, budget estimation
# Honeymoon โ Bali โ 3-day itinerary
POST /shunya/process
{
"customer_name": "Rajat",
"destination": "Bali",
"pax": "2 adults",
"dates": "15-20 Dec 2026",
"notes": "honeymoon"
}
# Wedding โ Sri Lanka โ 4-day itinerary + HTML
POST /shunya/process (format: all)
{
"customer_name": "Arshlin & Dilpreet",
"destination": "Sri Lanka",
"pax": "2 adults",
"dates": "10-14 Jan 2027",
"notes": "wedding at Radisson Blu Galle",
"format": "all"
}