Toni Moreira
fc84e0f327
fix: dify truncated messages
2025-02-01 11:47:50 -03:00
Davidson Gomes
540467293c
Enhance settings and integrate Baileys controller for WhatsApp functionality
...
- Added `wavoipToken` field to `Setting` model in both MySQL and PostgreSQL schemas.
- Updated `package.json` and `package-lock.json` to include `mime-types` and `socket.io-client` dependencies.
- Introduced `BaileysController` and `BaileysRouter` for handling WhatsApp interactions.
- Refactored media type handling to use `mime-types` instead of `mime` across various services.
- Updated DTOs and validation schemas to accommodate the new `wavoipToken` field.
- Implemented voice call functionalities using the Wavoip service in the Baileys integration.
- Enhanced event handling in the WebSocket controller to support new features.
2025-01-16 11:58:33 -03:00
Davidson Gomes
d598c4ed0b
Update ESLint configuration, Dockerfile, and package dependencies; refactor bot trigger logic
...
- Updated ESLint configuration to use TypeScript project references and adjusted parser options.
- Modified Dockerfile to include OpenSSL in both builder and final stages.
- Changed `mime` package version from `^4.0.6` to `^3.0.0` in `package.json` and updated TypeScript ESLint packages to `^6.21.0`.
- Refactored `findBotByTrigger` function to remove unnecessary settings repository parameter.
- Adjusted bot trigger logic in multiple controller files to streamline function calls.
2025-01-09 12:57:21 -03:00
Davidson Gomes
09a33a423e
Merge pull request #1070 from help-corretora/main
...
Quando a conversa está aberta e o cliente manda mensagem, o status da conversa muda para pendente.
2024-11-15 10:59:10 -03:00
Vitor
99a533afc1
o chat está colocando a conversa como pendente quando o cliente manda mensagem, esse código visa corrigir isso.
2024-11-14 20:48:47 -03:00
Davidson Gomes
b603021f56
Merge pull request #1067 from Alexandre-Prado/fix-chatbots-send-message
...
fix: esvazia textBuffer dos chatbots no sendMessageWhatsapp quando splitMessages é true
2024-11-14 18:37:07 -03:00
Alexandre Prado
753f4ba141
fix: chatbots send message text buffer
2024-11-14 02:25:15 -03:00
Richards0n
7ef8afa9b3
Refactor phone number formatting in ChatwootService to improve parsing logic
2024-11-11 16:57:04 -03:00
Richards0n
3d51b45e2b
feat: format participant phone number in messages
2024-11-08 00:25:00 -03:00
Davidson Gomes
1665654676
feat: typebot send list
2024-10-29 19:30:17 -03:00
Davidson Gomes
c55312d206
feat: typebot send list
2024-10-29 17:51:06 -03:00
Davidson Gomes
65a9c78d86
feat: typebot send buttons
2024-10-29 16:03:00 -03:00
Davidson Gomes
c10680df41
brand
2024-10-21 18:53:21 -03:00
Davidson Gomes
171f460f3b
fix: ignoreJids in integrations dont work
2024-10-21 13:52:08 -03:00
Davidson Gomes
34769e2293
fix: receive medias on chatwoot
2024-10-18 19:49:14 -03:00
Davidson Gomes
84451ba3e0
fix: receive messages on chatwoot
2024-10-18 17:43:43 -03:00
Davidson Gomes
1aeda4e1f4
fix: ads messages in chatwoot
2024-10-17 17:40:37 -03:00
Davidson Gomes
b18e83d293
Merge pull request #986 from deivisonrpg/refactor-onSendMessageError
...
refactor: Remove unnecessary code for handling contact not in WhatsApp and onSendMessageError
2024-10-17 10:17:32 -03:00
Deivison Lincoln
a6fb8cbd30
refactor: Remove unnecessary code for handling contact not in WhatsApp
...
The code changes in `whatsapp.baileys.service.ts` remove the unnecessary code that handles the case when a contact is not in WhatsApp. The code was previously sending a notification to Chatwoot, but it is no longer needed. This change improves the code by removing unnecessary complexity.
2024-10-16 15:31:54 -03:00
Richards0n
aa8396d437
refactor: Update content_attributes in ChatwootService
...
This commit refactors the code in ChatwootService to update the content_attributes when replyToIds are present. Instead of directly spreading the replyToIds object, the code now converts it to a JSON string and appends it to the data object.
Refactor the code to improve readability and maintainability.
2024-10-15 18:01:57 -03:00
Davidson Gomes
3af8f968c2
Add support for splitMessages and timePerChar in Integrations
2024-10-11 18:52:56 -03:00
Davidson Gomes
84df14ef93
changelog
2024-10-11 10:57:43 -03:00
Davidson Gomes
d50da79f22
feat: Add support for splitMessages and timePerChar in Integrations
2024-10-11 07:45:50 -03:00
Davidson Gomes
29a1d99d05
fix: Fixed prefilledVariables in startTypebot
2024-10-06 20:05:14 -03:00
Davidson Gomes
d7ddb99fb0
fix: Fixed bot fallback not working on integrations
2024-10-04 19:08:23 -03:00
Davidson Gomes
0d2125ddff
fix: Does not search message without chatwoot Message Id for reply
2024-10-04 18:52:32 -03:00
Davidson Gomes
5c046d51c5
fix: fixed issue of always creating a new label when saving chatwoot
2024-10-04 17:51:32 -03:00
Davidson Gomes
487d8b93fb
fix: startTypebot with startSession = true
2024-10-04 17:40:38 -03:00
Davidson Gomes
db065ab942
fix: send media message in chatwoot
2024-10-04 17:14:12 -03:00
Davidson Gomes
14d10c00ec
chore: chatwoot verbose logs
2024-10-03 17:40:21 -03:00
Davidson Gomes
0ff421121f
Merge pull request #918 from judsonjuniorr/fix/validate-message-before-sending-chatwoot
...
Fix/validate message before sending chatwoot
2024-09-27 14:02:58 -03:00
Judson Cairo
f35f8dd7e0
feat: Update the cw message with the wpp time
2024-09-27 13:56:52 -03:00
Judson Cairo
f9726863ef
feat: Update chatwoot source ID and status after sent
2024-09-27 09:40:18 -03:00
Judson Cairo
49ceb44102
fix: Validate if chatwoot connection is available
2024-09-25 13:07:20 -03:00
Judson Cairo
f54a00a07f
fix: Validate if source id already exists in chatwoot
...
Check if message is already saved before sending it
2024-09-25 11:56:51 -03:00
Judson Cairo
e241cf4ee0
feat: Sync lost messages on chatwoot
...
Runs the sync method every 30min
2024-09-25 11:48:19 -03:00
Davidson Gomes
ffac87835b
fix: settings on dify, flowise and openai
2024-09-22 10:10:36 -03:00
Davidson Gomes
5ebebbf211
fix: chatbot integrations send media and links
2024-09-22 08:53:10 -03:00
OlaRonyMax
ae69eb0bce
Visualização única no ChatWoot
...
Permite receber imagens e vídeos de visualização unica direto no ChatWoot
2024-09-21 16:26:35 -03:00
Davidson Gomes
cecbf59f46
clear console logs
2024-09-21 13:42:23 -03:00
Davidson Gomes
d3f90a7abd
fix: chatwoot integration
2024-09-21 13:41:51 -03:00
Davidson Gomes
4e4caab970
fix: chatwoot integration
2024-09-21 12:34:40 -03:00
Judson Cairo
aeb422b3f7
Fix ignoreJids on typebot
2024-09-18 21:47:37 -03:00
Junior Vidotti
83f87bc1c5
debounce message break
2024-09-11 21:58:46 +00:00
Davidson Gomes
599560bdd7
fix: It is now possible to send images via the Evolution Channel
2024-09-11 17:20:07 -03:00
Davidson Gomes
c20a3b643f
fix: no response evolution bot
2024-09-05 20:52:46 -03:00
Judson Cairo
16a0e6b18e
Fix chatwoot not mentioning the quoted message
2024-09-05 09:28:57 -03:00
Davidson Gomes
ff78954383
Revert "V2 fix chatwoot reply quote"
2024-09-05 09:26:33 -03:00
Judson Cairo
71289fb919
Fix chatwoot not mentioning the quoted message
2024-09-04 15:38:11 -03:00
Davidson Gomes
25daec9f41
fix: use chatwoot with evolution channel
2024-09-03 17:23:05 -03:00