Commit Graph

77 Commits

Author SHA1 Message Date
Richards0n
287f387e82 refactor: Add indexes to improve performance in ChatwootService 2024-10-17 11:50:28 -03:00
Davidson Gomes
3af8f968c2 Add support for splitMessages and timePerChar in Integrations 2024-10-11 18:52:56 -03:00
Davidson Gomes
d50da79f22 feat: Add support for splitMessages and timePerChar in Integrations 2024-10-11 07:45:50 -03:00
Davidson Gomes
29e2cfaf96 feat: pusher event integration 2024-10-11 07:01:38 -03:00
João Victor Souza
e19ee05e9f fix: migration update after alter 2024-10-10 13:41:07 -03:00
Davidson Gomes
f5f778ecbe feat: Added unreadMessages to chats 2024-10-07 13:45:19 -03:00
Davidson Gomes
f2bb01a640 Merge branch 'v2.0.0' of github.com:EvolutionAPI/evolution-api into v2.0.0 2024-10-07 13:37:56 -03:00
Jesus
edb3875b91 Added unreadMessages to chats 2024-10-07 17:39:00 +02:00
Davidson Gomes
e66f877b4c fix: migrations 2024-10-07 10:49:26 -03:00
Davidson Gomes
c823f84c70 fix: status on send message 2024-10-06 10:04:02 -03:00
vagnersantos
af56b06f50 fix: add migration field message status 2024-10-01 15:11:36 -03:00
Felipe Medeiros
65c6ecff88 feat: adiciona headers no cadastro de webhook da instância 2024-09-06 20:46:10 -03:00
Davidson Gomes
ff78954383
Revert "V2 fix chatwoot reply quote" 2024-09-05 09:26:33 -03:00
Judson Cairo
b93725dd32 Merge branch 'v2.0.0' into v2 2024-09-04 13:24:12 -03:00
Judson Cairo
4cdf76f381 Refactor database table name for IsOnWhatsapp 2024-08-30 16:37:20 -03:00
Judson Junior
47d56f9c52
Merge pull request #18 from judsonjuniorr/v2-is-on-whatsapp-cache
V2 is on whatsapp cache
2024-08-30 10:38:55 -03:00
Judson Cairo
a57842519b Change tables & columns maps 2024-08-29 15:45:42 -03:00
Judson Cairo
8b5ca0c9c4 Add DIRECT_URI on env and prisma 2024-08-29 15:10:04 -03:00
Judson Cairo
ce6438b9a8 Save is on whatsapp on the database 2024-08-28 11:19:47 -03:00
Davidson Gomes
d776770d09 refactor: evolution bot 2024-08-25 10:22:22 -03:00
Davidson Gomes
238c332df5 fix: get integrations sessions by type 2024-08-24 13:20:30 -03:00
Davidson Gomes
aeea61ef4b fix: get integrations sessions by type 2024-08-24 13:18:58 -03:00
Davidson Gomes
e9f4477d11 feat: flowise integration 2024-08-21 17:33:45 -03:00
Davidson Gomes
0e6a78d011 feat: flowise integration 2024-08-21 17:21:23 -03:00
Davidson Gomes
35bde8498b feat: generic chatbot 2024-08-21 14:42:26 -03:00
Davidson Gomes
8876797172 refactor: openai integration 2024-08-21 09:29:49 -03:00
Davidson Gomes
046c64c65d feat: translation in manager: English, Portuguese, Spanish and French 2024-08-20 07:29:14 -03:00
Judson Cairo
fcd038924d Advanced operators trigger fro OpenAI/Dify/Typebot 2024-08-17 08:32:05 -03:00
Davidson Gomes
975f41d58e fix: migrations 2024-08-15 13:13:08 -03:00
Davidson Gomes
061696e140 feat: dify now identifies images 2024-08-15 11:12:07 -03:00
Judson Cairo
448aefb989 Typo fix 2024-08-14 17:50:11 -03:00
Judson Cairo
1059c92583 Unification of integrations, Typebot & OpenAI & Dify 2024-08-14 17:47:31 -03:00
Davidson Gomes
b3991cf6bb feat: Added ignoreJids in chatwoot settings 2024-08-14 14:59:47 -03:00
Davidson Gomes
78da13fcab
Merge pull request #759 from judsonjuniorr/V2-duplicated-label-creation
Changed labels to be unique on the same instance
2024-08-13 15:56:24 -03:00
Davidson Gomes
04f6e11cbd fix: adjusts in migrations 2024-08-13 13:15:13 -03:00
Judson Cairo
48febec36a Changed labels to be unique on the same instance 2024-08-12 21:35:31 -03:00
Davidson Gomes
404edaa4e1
Merge pull request #747 from judsonjuniorr/v2-update-contacts-database
V2 update contacts database
2024-08-12 09:41:18 -03:00
Judson Cairo
93cc25b513 Add migration for unique index in contacts 2024-08-11 15:33:46 -03:00
Judson Cairo
77cf4125dd Added migration for name column in chats 2024-08-11 15:29:39 -03:00
Judson Cairo
dacd408f8d Make contacts unique for the same instance
Avoid duplicated contacts in the database
2024-08-10 23:42:45 -03:00
Judson Cairo
926197b1ba Save chat names for groups identification 2024-08-10 23:15:20 -03:00
Davidson Gomes
678f2c2b5d prisma: adjusts for mysql and postgres 2024-08-09 07:58:33 -03:00
Davidson Gomes
26a974a239 feat: function for openai assistant added 2024-08-08 18:47:52 -03:00
Felipe Medeiros
1c3bea4225 feat: add disconnection information to BaileysStartupService and Instance model
- Updated BaileysStartupService to include disconnection handling logic.
- Enhanced Instance model to store disconnection status and details.
2024-08-06 10:38:53 -03:00
Davidson Gomes
2aa0e08ae4 fix: Added description column on typebot, dify and openai 2024-08-03 13:51:24 -03:00
Davidson Gomes
385307edc6 chore(readme): update on readme 2024-08-03 10:00:26 -03:00
Davidson Gomes
67409e1bf5 Add speech-to-text functionality using OpenAI
This commit introduces a new feature that transcribes audio messages to text using OpenAI's Whisper model. The following files were modified to implement this feature:

- `CHANGELOG.md`: Added a new entry under the 'Features' section to document the speech-to-text functionality.
- `prisma/postgresql-schema.prisma`: Added a new boolean field `speechToText` to the `OpenaiSetting` model.
- `src/api/integrations/openai/dto/openai.dto.ts`: Added a new optional boolean property `speechToText` to the `OpenaiSettingDto` class.
- `src/api/integrations/openai/services/openai.service.ts`: Implemented the `speechToText` method to handle the transcription process.
- `src/api/integrations/openai/validate/openai.schema.ts`: Added a new required boolean schema for the `speechToText` property in the `openaiSettingSchema`.
- `src/api/integrations/typebot/services/typebot.service.ts`: Updated the `audioMessage` property to consider the new `speechToText` field.
- `src/api/services/channels/whatsapp.baileys.service.ts` and `src/api/services/channels/whatsapp.business.service.ts`: Added logic to handle the transcription of audio messages when the `speechToText` setting is enabled.

The purpose of this change is to provide a more accessible way for users to interact with audio messages by converting them to text. This improvement will be particularly useful for users with hearing impairments or those in noisy environments.
2024-08-01 17:15:20 -03:00
Davidson Gomes
b604e4ecc7 feat: Introduce dify tables with related migrations
This commit introduces a new feature, dify tables, along with related migration scripts. The `prisma/migrations/20240730152156_create_dify_tables/migration.sql` file contains the migration for creating the dify tables, while the `prisma/postgresql-schema.prisma` file has been modified to include the necessary schema changes for these tables. This change improves data organization and simplifies data management for the project.
2024-07-30 12:22:39 -03:00
Davidson Gomes
2a7f9698d2 fix: adjusts for new manager 2024-07-29 15:09:40 -03:00
Davidson Gomes
d00e3677f5 chore: adjust TriggerType for OpenAI and Typebot integrations
Modifies the TriggerType enum to include a 'none' option and updates the OpenAI and Typebot services to handle this new option. Additionally, the services now require a trigger operator and value when the trigger type is set to 'keyword'.

Modified files:
- prisma/postgresql-schema.prisma
- src/api/integrations/openai/services/openai.service.ts
- src/api/integrations/typebot/services/typebot.service.ts

Untracked file:
- prisma/migrations/20240729115127_modify_trigger_type_openai_typebot_table/
2024-07-29 08:53:15 -03:00