refactor: remove Evolution Channel provider integration

Remove the Evolution Channel provider from WhatsApp integrations as it is no longer needed.
Only Baileys and Meta Business API providers are now supported.

Changes:
- Deleted Evolution Channel service, controller, and router files
- Updated ChannelController factory to remove Evolution provider case
- Removed Integration.EVOLUTION from type definitions
- Updated channel router to remove Evolution routes
- Cleaned up imports and exports in server.module.ts
- Updated documentation (CLAUDE.md, AGENTS.md, integration-channel-rules.mdc)

Note: EvolutionBot chatbot integration remains unchanged (different component)
This commit is contained in:
Claude
2025-11-09 06:24:09 +00:00
parent 3454bec79f
commit f7f8bf1182
10 changed files with 5 additions and 1133 deletions

View File

@@ -14,7 +14,7 @@ This document provides comprehensive guidelines for AI agents (Claude, GPT, Curs
- `api/services/` Business logic (core functionality)
- `api/routes/` Express route definitions (RouterBroker pattern)
- `api/integrations/` External service integrations
- `channel/` WhatsApp providers (Baileys, Business API, Evolution)
- `channel/` WhatsApp providers (Baileys, Business API)
- `chatbot/` AI/Bot integrations (OpenAI, Dify, Typebot, Chatwoot)
- `event/` Event systems (WebSocket, RabbitMQ, SQS, NATS, Pusher)
- `storage/` File storage (S3, MinIO)
@@ -229,8 +229,7 @@ const result = await this.prismaRepository.instance.findUnique({
### Channel Integration (WhatsApp Providers)
- **Baileys**: WhatsApp Web with QR code authentication
- **Business API**: Official Meta WhatsApp Business API
- **Evolution API**: Custom WhatsApp integration
- **Business API**: Official Meta WhatsApp Business API
- **Pattern**: Extend base channel service classes
### Chatbot Integration