Commit Graph

167 Commits

Author SHA1 Message Date
Richards0n
bfd8c08987 Add Windows support for database deployment and improve error handling in runWithProvider.js 2024-11-18 20:01:10 -03:00
Davidson Gomes
fbccf2eb2a feat: send pix button 2024-10-29 10:00:32 -03:00
Davidson Gomes
171f460f3b fix: ignoreJids in integrations dont work 2024-10-21 13:52:08 -03:00
Davidson Gomes
3af8f968c2 Add support for splitMessages and timePerChar in Integrations 2024-10-11 18:52:56 -03:00
Davidson Gomes
29e2cfaf96 feat: pusher event integration 2024-10-11 07:01:38 -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
b80b203670 feat: adiciona a funcionalidade de fake call 2024-10-07 01:13:02 -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
ec2d7e349f feat: send media with form-data 2024-10-04 14:45:16 -03:00
Davidson Gomes
23549e3c1f chore: update baileys version 2024-10-03 16:56:13 -03:00
Davidson Gomes
182c5fc25e change version 2024-10-03 14:23:10 -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
5ebebbf211 fix: chatbot integrations send media and links 2024-09-22 08:53:10 -03:00
Davidson Gomes
25daec9f41 fix: use chatwoot with evolution channel 2024-09-03 17:23:05 -03:00
Davidson Gomes
849d5f79dc fix: sentry version 2024-09-03 16:53:23 -03:00
Davidson Gomes
acd4100b23 fix: fixed bugs in the frontend, on the event screens 2024-09-03 13:09:42 -03:00
Davidson Gomes
c00f46b105 changelog 2024-08-24 07:48:51 -03:00
Davidson Gomes
25cbe3a035 license: change in license to apache-2.0 2024-08-24 07:27:06 -03:00
Davidson Gomes
fff11ea452 fix: update baileys version 2024-08-22 23:08:42 -03:00
Davidson Gomes
046c64c65d feat: translation in manager: English, Portuguese, Spanish and French 2024-08-20 07:29:14 -03:00
Davidson Gomes
0dbb5f53f1 changelog 2024-08-16 16:24:34 -03:00
Davidson Gomes
b921a4d324 feat: IA send images and Sentry implemented 2024-08-16 11:31:46 -03:00
Davidson Gomes
00cb80f173 fix: docker 2024-08-15 14:05:52 -03:00
Davidson Gomes
975f41d58e fix: migrations 2024-08-15 13:13:08 -03:00
Judson Cairo
b68814795d Fixed mime types version 2024-08-14 17:41:25 -03:00
Davidson Gomes
daa4c76967 update package.json 2024-08-14 11:36:54 -03:00
Davidson Gomes
881a011493 chore: Deprecate buttons and list in new Baileys version
Updated CHANGELOG.md, package.json, src/api/dto/chat.dto.ts, and src/api/services/channels/whatsapp.baileys.service.ts to deprecate buttons and list due to the new Baileys version. This change improves compatibility and maintainability of the codebase.
2024-08-14 11:27:54 -03:00
Davidson Gomes
04f6e11cbd fix: adjusts in migrations 2024-08-13 13:15:13 -03:00
Davidson Gomes
dbb6ea9147 fix: adjusts 2.0.9 2024-08-12 13:24:19 -03:00
Davidson Gomes
6800b63945
Merge pull request #750 from judsonjuniorr/v2-path-mappings
V2 Path mapping & deps fix & bundler changed to tsup
2024-08-12 09:43:08 -03:00
Judson Cairo
32e58debc6 Path mapping & deps fix & bundler changed to tsup 2024-08-11 20:47:17 -03:00
Judson Cairo
66ae86b6f5 Improve database scripts to retrieve the provider from env file 2024-08-11 16:29:42 -03:00
Davidson Gomes
feb7b795e9 refactor: .env.example 2024-08-09 14:38:33 -03:00
Davidson Gomes
678f2c2b5d prisma: adjusts for mysql and postgres 2024-08-09 07:58:33 -03:00
Davidson Gomes
fa05cf85ab changelog 2024-08-09 06:49:49 -03:00
Davidson Gomes
56a165db54 feat: added general session button in typebot, dify and openai in manager 2024-08-08 23:14:51 -03:00
Davidson Gomes
e3ba803247 changelog 2024-08-08 19:12:53 -03:00
Davidson Gomes
59edf4ffb7 feat: Variables passed to the input in dify 2024-08-08 17:51:12 -03:00
Davidson Gomes
7ad96f54ca fix: update typebot, openai and dify 2024-08-02 19:42:54 -03:00
Davidson Gomes
359908041b fix: instance screen scroll bar in manager 2024-08-01 18:00:49 -03:00
Davidson Gomes
a5d72a0dfd feat: Integration with Dify
Adds support for Dify integration, including new routes, services, and controllers. The configuration for Dify has been added to the environment file, and the necessary changes have been made to the `.env.example` file. Additionally, the WhatsApp Baileys service has been updated to handle Dify notifications.

Modified files:
- `.env.example`
- `package.json`
- `src/api/integrations/openai/services/openai.service.ts`
- `src/api/routes/index.router.ts`
- `src/api/server.module.ts`
- `src/api/services/channel.service.ts`
- `src/api/services/channels/whatsapp.baileys.service.ts`
- `src/config/env.config.ts`
- `src/validate/validate.schema.ts`

Introduced files:
- `src/api/integrations/dify/`
- `src/api/integrations/dify/controllers/dify.controller.ts`
- `src/api/integrations/dify/dto/dify.dto.ts`
- `src/api/integrations/dify/routes/dify.router.ts`
- `src/api/integrations/dify/services/dify.service.ts`
- `src/api/integrations/dify/validate/dify.schema.ts`
2024-07-30 13:34:35 -03:00
Davidson Gomes
95bc5e6b21 chore: Updated dependencies and added new manager
In this commit, the following changes were made:

- Updated the version of the project to 2.0.4-beta.
- Added the new manager with version 2.0.0.
- Updated the Baileys version.
- Modified several files such as CHANGELOG.md, Dockerfile, package.json, src/api/routes/index.router.ts, and src/api/routes/view.router.ts.
- Deleted the views/manager.hbs file and added the manager/ folder.

These changes update the dependencies and include a new manager, which may impact the application's functionality.
2024-07-30 09:17:49 -03:00
Davidson Gomes
089810fb55 fix: Update Baileys version in package.json and CHANGELOG.md
This commit updates the Baileys version from 'github:EvolutionAPI/Baileys' to '6.7.5' in the package.json file. Additionally, it includes an update to the CHANGELOG.md file, adding a new section for version 2.0.4-beta with a fixed issue related to Baileys. This change improves the stability and compatibility of the project with the latest Baileys version.
2024-07-29 09:34:29 -03:00
Davidson Gomes
50591e9ed6 chore: Update package version and changelog
Bumped package version from 2.0.2-beta to 2.0.3-beta to reflect recent changes.
Updated the changelog accordingly. The modification was made in the package.json file.
This change is a preparation for the next release and does not introduce new features or bug fixes.
2024-07-23 12:35:56 -03:00
Davidson Gomes
5b13de377b feat: started openai integration, added models to the database
This commit introduces a new openai integration in the project, along with necessary changes in the database schema. The package.json file has been updated to include the openai package, and the prisma/postgresql-schema.prisma file has been modified to include OpenaiCreds, OpenaiAssistant, OpenaiAssistantThread, and OpenaiChatCompletion models. These models will handle the integration with OpenAI's API for various tasks.

Some of the key changes include:

- Addition of OpenaiCreds model to manage API credentials.
- Addition of OpenaiAssistant model to handle OpenAI assistant instances.
- Addition of OpenaiAssistantThread model to manage OpenAI assistant threads.
- Addition of OpenaiChatCompletion model to handle OpenAI chat completions.

These changes will enable seamless integration with OpenAI's API and allow for better management of assistant instances, threads, and chat completions.
2024-07-18 08:48:56 -03:00
Davidson Gomes
d1098cfcae fix: Update version and fix data saving function
This commit updates the package version from 2.0.1-beta to 2.0.2-beta and fixes an issue with the function of saving or not saving data in the database. It modifies the package.json and CHANGELOG.md files.

Note: The CHANGELOG.md file includes a detailed list of changes and can be reviewed for more information.
2024-07-17 18:43:44 -03:00
Davidson Gomes
19e9ff9cc8 Fix: Resolved issue with Chatwoot not receiving messages sent by Typebot
Modified: CHANGELOG.md, src/api/integrations/typebot/services/typebot.service.ts

This commit resolves an issue where Chatwoot was not receiving messages sent by Typebot. The necessary changes were made to the typebot service file and the changelog was updated accordingly.
2024-07-17 15:49:03 -03:00
Davidson Gomes
a03ce984f6 chore: Update telemetry and add new integrations
Refactored the telemetry guard to use a new sendTelemetry utility function,
which allows for easier tracking of API routes. Also, added telemetry events
for message sending in the Chatwoot and Typebot services.

Additionally, updated the README.md to include new content creators and
added new integrations with Typebot and Chatwoot services.

Modified:
- README.md
- package.json
- src/api/guards/telemetry.guard.ts
- src/api/integrations/chatwoot/services/chatwoot.service.ts
- src/api/integrations/typebot/services/typebot.service.ts

Added:
- src/utils/sendTelemetry.ts
2024-07-15 12:43:20 -03:00
Davidson Gomes
e73d9c1982 chore: Integration with MinIO and S3
Adds support for MinIO and S3 for storing media files. Modified several files to implement this feature, including package.json, prisma/postgresql-schema.prisma, src/api/integrations/typebot/services/typebot.service.ts, src/api/routes/index.router.ts, src/api/services/channels/whatsapp.baileys.service.ts, and src/config/env.config.ts. Added untracked files for the new S3 integration. Also added a new S3Controller and S3Service for handling S3 related operations.

This change allows for more flexible media storage options and enables the use of MinIO or S3 for storing media files.
2024-07-13 16:07:16 -03:00
Davidson Gomes
b5683aed2a chore: Update 'baileys' dependency to use 'EvolutionAPI' repository
The 'baileys' dependency in the 'package.json' file has been updated to use the 'EvolutionAPI' repository instead of 'WhiskeySockets'. This change ensures that the latest version of 'baileys' is used, which includes improvements in group message sending and cache utilization.

Modified files:
- package.json
2024-06-27 17:49:48 -03:00