Commit Graph

1767 Commits

Author SHA1 Message Date
Davidson Gomes
eee43bb073
Merge pull request #952 from fmedeiros95/v2.0.0
Adiciona a função de fake call
2024-10-07 11:02:06 -03:00
Felipe Medeiros
51a3710b46
Merge branch 'EvolutionAPI:v2.0.0' into v2.0.0 2024-10-07 10:55:41 -03:00
Felipe Medeiros
0aa8150070 Update dependency: baileys
The package.json file was updated to use the latest version of the baileys dependency from the EvolutionAPI repository.
2024-10-07 10:55:21 -03:00
Felipe Medeiros
8e8a3db529 Merge branch 'v2.0.0' of https://github.com/fmedeiros95/evolution-api into v2.0.0 2024-10-07 10:49:55 -03:00
Felipe Medeiros
bcf59a2015 feat: adiciona controlador de chamadas
Adiciona o controlador de chamadas para oferecer chamadas falsas.

- Adiciona o arquivo `call.controller.ts` com a classe `CallController` que possui o método `offerCall` para oferecer chamadas falsas.
- Adiciona o arquivo `call.dto.ts` com as classes `Metadata` e `OfferCallDto` para definir os dados da chamada.
- Atualiza o arquivo `sendMessage.dto.ts` removendo a classe `OfferCallDto`.
- Atualiza o arquivo `whatsapp.baileys.service.ts` importando a classe `OfferCallDto` corretamente e atualizando o método `offerCall` para receber os parâmetros corretos.
- Adiciona o arquivo `call.router.ts` com a classe `CallRouter` para lidar com as rotas relacionadas a chamadas.
- Atualiza o arquivo `index.router.ts` para incluir as rotas relacionadas a chamadas.
2024-10-07 10:49:51 -03:00
Davidson Gomes
aac8d446b4 changelog 2024-10-07 10:42:01 -03:00
Davidson Gomes
a0a62b997c
Merge pull request #951 from lucas-tomasi/patch-1
Fix duplicate file upload
2024-10-07 10:41:10 -03:00
Felipe Medeiros
070840d364
Merge branch 'EvolutionAPI:v2.0.0' into v2.0.0 2024-10-07 01:33:13 -03:00
Felipe Medeiros
0af00582f0 refactor: simplifica a lógica de terminação de chamada 2024-10-07 01:30:03 -03:00
Felipe Medeiros
b80b203670 feat: adiciona a funcionalidade de fake call 2024-10-07 01:13:02 -03:00
Davidson Gomes
29a1d99d05 fix: Fixed prefilledVariables in startTypebot 2024-10-06 20:05:14 -03:00
Lucas Tomasi
2e43683835
Fix duplicate file upload
Currently, we face an issue when a file with the same name is uploaded more than once:
1.⁠ ⁠It results in a unique key error in the database.
2.⁠ ⁠If the file is sent to S3, it overwrites the old file.

To resolve this problem, I've implemented a solution where we concatenate the message ID to the filename. This approach ensures uniqueness for each uploaded file, even if users upload files with identical names multiple times in a chat.


This change allows normal users to upload files with the same name multiple times in a chat without encountering errors or unintended file overwrites.
2024-10-06 15:42:17 -03:00
Davidson Gomes
ebbba7b7e9 version: 2.1.2 2024-10-06 10:10:00 -03:00
Davidson Gomes
c823f84c70 fix: status on send message 2024-10-06 10:04:02 -03:00
Davidson Gomes
0f7c2437bc fix: status on send message 2024-10-06 09:58:57 -03:00
Davidson Gomes
1f6473cfd5 version: 2.1.2 2024-10-06 09:47:42 -03:00
Davidson Gomes
db7428abd9
Merge pull request #949 from nestordavalos/v2.0.0
fix: Corrected audio file handling in WhatsApp
2024-10-06 09:27:27 -03:00
nestordavalos
59af93251d fix: Corregir manejo de archivo de audio en WhatsApp 2024-10-06 01:16:08 -03:00
nestordavalos
83567d6466 fix: Corrected audio file handling in WhatsApp
An error in the WhatsApp audio message handler has been fixed. The system now checks if the file has a valid buffer before sending it. Additionally, validation has been added to verify if the audio is a valid URL or Base64. If these conditions are not met, an error message is shown, and a BadRequestException is thrown.
2024-10-05 22:49:30 -04:00
Davidson Gomes
d7ddb99fb0 fix: Fixed bot fallback not working on integrations 2024-10-04 19:08:23 -03:00
Davidson Gomes
2d732c8071 fix: Does not search message without chatwoot Message Id for reply 2024-10-04 18:52:56 -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
0791e1afe9 fix: Fixed bug when send message when dont have mentionsEveryOne on payload 2024-10-04 18:33:08 -03:00
Davidson Gomes
fcfa96d97d fix: Fixed bug when send message when dont have mentionsEveryOne on payload 2024-10-04 18:33:01 -03:00
Davidson Gomes
01ae55f02a fix: Fixed getBase64FromMediaMessage with convertToMp4 2024-10-04 18:27:25 -03:00
Davidson Gomes
97f633a69a fix: fixed issue of always creating a new label when saving chatwoot 2024-10-04 17:51:47 -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
373268c938 fix: send message to group without no cache (local or redis) 2024-10-04 16:23:09 -03:00
Davidson Gomes
fcc26f931e
Merge pull request #947 from oismaelash/v2.0.0
fix: send message to group without no cache (local or redis)
2024-10-04 16:19:34 -03:00
oismaelash
2037e78045 fix: send message to group without no cache (local or redis) 2024-10-04 16:05:49 -03:00
Davidson Gomes
161abf1d03 feat: send media with form-data 2024-10-04 14:55:21 -03:00
Davidson Gomes
ec2d7e349f feat: send media with form-data 2024-10-04 14:45:16 -03:00
Davidson Gomes
44e152bea2 license: license terms updated 2024-10-04 13:27:46 -03:00
Davidson Gomes
9083bf44fe readme 2024-10-04 12:55:00 -03:00
Ismael Ash
7b41d333d7
Merge branch 'EvolutionAPI:v2.0.0' into v2.0.0 2024-10-04 06:18:31 -03:00
oismaelash
0a4b8d202a fix: transform any string on number to Lower Case, for not show reading id of undefined 2024-10-04 00:41:19 -03:00
Davidson Gomes
d84713f6ca license: license terms updated 2024-10-03 18:14:52 -03:00
Davidson Gomes
d1bc0e6150 fix: adjusts on prisma connections 2024-10-03 17:59:40 -03:00
Davidson Gomes
14d10c00ec chore: chatwoot verbose logs 2024-10-03 17:40:21 -03:00
Davidson Gomes
88c1830bf5 fix: timeout error on send status message 2024-10-03 17:22:52 -03:00
Davidson Gomes
23549e3c1f chore: update baileys version 2024-10-03 16:56:13 -03:00
Davidson Gomes
1ded6c81ad chore: Set the maximum number of listeners that can be registered for events 2024-10-03 16:46:50 -03:00
Davidson Gomes
7ca9bff6e0 fix: mexico number 2024-10-03 16:36:42 -03:00
Davidson Gomes
4fa3c50138 fix: mexico number 2024-10-03 16:36:28 -03:00
Davidson Gomes
14df0b368b changelog 2024-10-03 16:34:32 -03:00
Davidson Gomes
8dee8a1ec0
Merge pull request #944 from oismaelash/v2.0.0
fix: buildkey function in hSet and hDelete
2024-10-03 16:33:47 -03:00
Ismael Ash
acad895c9d
Merge branch 'EvolutionAPI:v2.0.0' into v2.0.0 2024-10-03 15:09:53 -03:00
oismaelash
49327593a9 fix: buildkey function in hSet and hDelete 2024-10-03 14:44:46 -03:00