Add webhook endpoints to receive events from Odoo (sale orders, stock
picking, invoices) and send WhatsApp notifications when orders are
confirmed, shipped, or payments are received.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add bidirectional contact synchronization between WhatsApp Central and Odoo,
including sync endpoints and ContactSyncService.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add OdooConfig page component with form for Odoo connection settings
(URL, database, username, API key) and test connection functionality.
Integrate into main navigation with ApiOutlined icon.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Replace hardcoded if/elif chain in _execute_node with dynamic node
executor lookup via NodeRegistry. All node executors are registered at
module load time, enabling extensibility without modifying engine code.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add schemas and router for global variables with CRUD operations
and admin-only access controls for create/update/delete.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add TeamOutlined and BarChartOutlined icons
- Import Queues and SupervisorDashboard pages
- Add /queues and /supervisor menu items
- Add routes for Queues and SupervisorDashboard
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add comprehensive agent inbox functionality including:
- Status filter dropdown to filter conversations by bot/waiting/active/resolved
- Priority tags displayed in conversation list for non-normal priorities
- Internal notes feature with visual distinction (orange styling, dashed border)
- Quick replies panel showing shortcut tags with tooltip previews
- Transfer modal for moving conversations to queues or agents
- Transfer to bot action for returning conversations to bot handling
- Resolve conversation action to close conversations
- Helper functions for message styling (background, color, border)
- Refactored render functions for improved code organization
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add FLOW_ENGINE_URL to API Gateway config
- Integrate flow engine in message handler (BOT status only)
- Add /flows routes to MainLayout with FlowList and FlowBuilder
- Add Flujos menu item with ApartmentOutlined icon
This completes Phase 2: Flow Engine Básico
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- alembic.ini with configuration
- alembic/env.py with model imports and connection handling
- alembic/versions/ for migration scripts
This completes Fase 1 Foundation implementation.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
API Gateway:
- main.py with FastAPI app, CORS, health endpoints
- WhatsApp routes: accounts CRUD, conversations, messages, internal events
- WhatsApp schemas for request/response validation
Frontend:
- Login page with register option for first admin
- MainLayout with sidebar navigation and user dropdown
- Dashboard with statistics cards (accounts, conversations)
- WhatsApp Accounts page with QR modal for connection
- Inbox page with conversation list and real-time chat
Full feature set for Fase 1 Foundation complete.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>