{"message":"Welcome to Urban Company CRM - Node.js Edition","version":"2.0.0","status":"running","environment":"production","api_prefix":"/api/v1","migration_status":"Phase 3 - Complete + Email + Webhooks + Notifications + Contacts + Call Lists + Campaigns + Quarantine + System Settings + Profile + User Hierarchy + Lead Aggregated + Roulette Log + Schema + Activity Notifications + Facebook OAuth + Roulette Hierarchy + Properties (100%)","completed":["✅ Project structure initialized","✅ TypeScript configuration","✅ Prisma schema created (22+ models)","✅ Configuration module ported","✅ Security utilities ported (JWT + bcrypt)","✅ Error handling middleware","✅ Database client setup","✅ Zod schemas (auth, users, leads, pipelines, departments, roles, activities, attachments, lead-sources, audit, custom-fields, email, webhooks, notifications, contacts, call-lists, campaigns, quarantine, profile, user-hierarchy, lead-aggregated, roulette-log, schema, activity-notification)","✅ Auth service (register/login)","✅ User service (full CRUD)","✅ Lead service (CRUD + stats)","✅ Pipeline service (Kanban support)","✅ Department service (hierarchy management)","✅ Role service (RBAC permission management)","✅ Activity service (activities, comments, interactions, timeline)","✅ Attachment service (file upload/download with Railway volumes)","✅ Lead Source service (source management with analytics)","✅ Audit service (comprehensive audit logging and security monitoring)","✅ Custom Field service (dynamic field configuration)","✅ Email service (Resend/SMTP integration with templates and rate limiting)","✅ Webhook service (API key management and external lead intake)","✅ Notification service (in-app notifications with bulk operations and cleanup)","✅ Contact service (lead contact management with bulk operations and transfers)","✅ Call List service (active outreach management with dual storage)","✅ Assignment service (Redis-based distributed locking for lead assignments)","✅ Import service (CSV/XLSX import with duplicate handling)","✅ Campaign service (campaign management with roulette distribution)","✅ Roulette Distribution service (circular lead distribution with priority)","✅ Quarantine service (lead quarantine with call list auto-removal)","✅ System Settings service (app-wide configuration with logo upload)","✅ Profile service (user profile management with email/password change)","✅ User Hierarchy service (department-based access control and hierarchical queries)","✅ Lead Aggregated service (dashboard views with hierarchy-based aggregations)","✅ Roulette Log service (audit trail for roulette distribution with SHA256 integrity)","✅ Schema service (dynamic field schemas for entities with context-aware filtering)","✅ Activity Notification service (activity-based reminders and due dates)","✅ Roulette Hierarchy service (department-based user hierarchy visualization)","✅ Authentication middleware (RBAC)","✅ Auth router (6 endpoints)","✅ Users router (9 endpoints)","✅ Leads router (9 endpoints)","✅ Pipelines router (11 endpoints)","✅ Departments router (12 endpoints)","✅ Roles router (10 endpoints)","✅ Activities router (13 endpoints)","✅ Attachments router (7 endpoints)","✅ Lead Sources router (15 endpoints)","✅ Audit router (11 endpoints)","✅ Custom Fields router (9 endpoints)","✅ Webhooks router (5 endpoints)","✅ Notifications router (10 endpoints)","✅ Contacts router (12 endpoints)","✅ Call Lists router (10 endpoints)","✅ Campaigns router (18 endpoints)","✅ Quarantine router (9 endpoints)","✅ System Settings router (10 endpoints)","✅ Profile router (9 endpoints)","✅ User Hierarchy router (5 endpoints)","✅ Lead Aggregated router (4 endpoints)","✅ Roulette Log router (3 endpoints)","✅ Schema router (1 endpoint)","✅ Activity Notifications router (8 endpoints)","✅ Facebook OAuth router (4 endpoints)","✅ Facebook router (3 endpoints)","✅ Roulette Hierarchy router (1 endpoint)","✅ Property Category service and router (7 endpoints)","✅ Property Status service and router (8 endpoints)","✅ Property Field Section service and router (8 endpoints)","✅ Property Fixed Field Config service and router (7 endpoints)","✅ Property Custom Field service and router (9 endpoints)","✅ Property service and router (12 endpoints)","✅ Static file serving for uploads"],"next_steps":["Test E2E workflows","Add unit tests (Jest)","Add integration tests","Add remaining routers (6+)"]}