{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":651487266,"defaultBranch":"main","name":"evolution-api","ownerLogin":"EvolutionAPI","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-06-09T10:46:49.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/136080052?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1720970867.0","currentOid":""},"activityList":{"items":[{"before":"a03ce984f68d5cbfb95037f6fc2b8a94bbc24042","after":"6188944100b7fbb9f5c7fff1cc1f5aa77e5542f8","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-15T20:43:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"chore: Update README.md with new contributors\n\n- Added new contributors to the README.md file\n- Updated the Comunidade Hub Connect link with a new one\n- Added four new content creators to the README.md file\n- The changes will improve the visibility of the project and its contributors\n- The updated file is README.md","shortMessageHtmlLink":"chore: Update README.md with new contributors"}},{"before":"22a24b1b88dd7195b832a66674492625c978f85d","after":"a03ce984f68d5cbfb95037f6fc2b8a94bbc24042","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-15T15:43:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"chore: Update telemetry and add new integrations\n\nRefactored the telemetry guard to use a new sendTelemetry utility function,\nwhich allows for easier tracking of API routes. Also, added telemetry events\nfor message sending in the Chatwoot and Typebot services.\n\nAdditionally, updated the README.md to include new content creators and\nadded new integrations with Typebot and Chatwoot services.\n\nModified:\n- README.md\n- package.json\n- src/api/guards/telemetry.guard.ts\n- src/api/integrations/chatwoot/services/chatwoot.service.ts\n- src/api/integrations/typebot/services/typebot.service.ts\n\nAdded:\n- src/utils/sendTelemetry.ts","shortMessageHtmlLink":"chore: Update telemetry and add new integrations"}},{"before":"e33893d943c8eb6827e3a5b54c22032413e45365","after":"22a24b1b88dd7195b832a66674492625c978f85d","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-15T12:36:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"chore: Implement telemetry and update README\n\nUpdated README.md to include a notice about the implementation of telemetry. The telemetry collects data on the routes used, the most accessed routes, and the version of the API in use, without collecting any sensitive or personal data. This change will help identify improvements and provide a better experience for users.","shortMessageHtmlLink":"chore: Implement telemetry and update README"}},{"before":"7a675e7b37ebdd46567271b730518471cbe83dd5","after":"e33893d943c8eb6827e3a5b54c22032413e45365","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-15T12:25:49.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"chore: Add telemetry system\n\nAdded new file 'telemetry.guard.ts' in 'src/api/guards' directory.\nModified 'index.router.ts' in 'src/api/routes' directory to integrate the new telemetry system.\n\nThis change improves the monitoring and data gathering capabilities of the application, allowing for better performance analysis and potential issue detection.","shortMessageHtmlLink":"chore: Add telemetry system"}},{"before":"cb1921d28c7a357c71f8db359126fb8857593a7d","after":"7a675e7b37ebdd46567271b730518471cbe83dd5","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-14T15:29:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"fix(CHANGELOG): update version from alpha to beta\n\n- Updated the version from 2.0.0 (alpha) to 2.0.0 (beta) in the CHANGELOG.md file.\n- This change reflects the progression of the project towards a beta version.","shortMessageHtmlLink":"fix(CHANGELOG): update version from alpha to beta"}},{"before":"585421c514c245cf754cbe477cfe7a6afdbe8764","after":"cb1921d28c7a357c71f8db359126fb8857593a7d","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-14T15:28:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"chore: Updated Docker image tag for v2.0.0 in publish workflow\n\nThis commit updates the Docker image tag from 'v2.0.0-alpha' to 'v2.0.0-beta' in the 'publish\\_docker\\_image\\_v2.yml' workflow file. The change aims to reflect the progress of the version towards a more stable release.\n\nThe main file affected by this change is '.github/workflows/publish\\_docker\\_image\\_v2.yml'.","shortMessageHtmlLink":"chore: Updated Docker image tag for v2.0.0 in publish workflow"}},{"before":"0d0171866313b753289081d4ae097bd304fda599","after":null,"ref":"refs/heads/DavidsonGomes-patch-1","pushedAt":"2024-07-14T15:27:47.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"}},{"before":"549ecd8801ad8796a89b3df7359f46faf6125dae","after":"7c92d140c0516f0b2f2995662bc5bb296207198a","ref":"refs/heads/main","pushedAt":"2024-07-14T15:27:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"Update publish_docker_image_v2.yml","shortMessageHtmlLink":"Update publish_docker_image_v2.yml"}},{"before":null,"after":"0d0171866313b753289081d4ae097bd304fda599","ref":"refs/heads/DavidsonGomes-patch-1","pushedAt":"2024-07-14T15:27:14.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"Update publish_docker_image_v2.yml","shortMessageHtmlLink":"Update publish_docker_image_v2.yml"}},{"before":"484736facd06b27b8085a86da17c8fc9fdb9e8ce","after":"585421c514c245cf754cbe477cfe7a6afdbe8764","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-14T13:50:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"chore: Update changelog with new features and bug fixes\n\n- Update CHANGELOG.md with new typebot integration improvements\n - Media sent to typebot now goes as a template string, example: imageMessage|MESSAGE\\_ID\n - Added debounce time for typebot messages\n - Tagging in chatwoot contact by instance\n - Ignore jids configuration added to typebot (will be used for both groups and contacts)\n - When S3 integration enabled, the media sent to typebot now goes as a template string, example: imageMessage|MEDIA\\_URL\n- Fix typo in CHANGELOG.md: * Media sent to typebot now goes as a template string, example: imageMessage:MESSAGE\\_ID (corrected to |)\n\nPlease review the updated changelog for accuracy and completeness.","shortMessageHtmlLink":"chore: Update changelog with new features and bug fixes"}},{"before":"e6916acf45a6597d8478cb142c727af7565e8cd1","after":"484736facd06b27b8085a86da17c8fc9fdb9e8ce","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-14T13:39:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"fix: Updated media handling in WhatsApp Baileys and Typebot services\n\nThis commit fixes issues with media handling in the WhatsApp Baileys and Typebot services. Specifically, it updates the way media messages are processed and stored. The changes include:\n\n- Importing the `S3` class from the configuration in the Typebot service (`src/api/integrations/typebot/services/typebot.service.ts`).\n- Modifying the `getTypeMessage` method in the Typebot service to handle media messages more efficiently.\n- Refactoring the `BaileysStartupService` in the WhatsApp Baileys service (`src/api/services/channels/whatsapp.baileys.service.ts`) to handle media messages more consistently.\n\nThese changes improve the handling and storage of media messages, ensuring that they are processed correctly and efficiently.","shortMessageHtmlLink":"fix: Updated media handling in WhatsApp Baileys and Typebot services"}},{"before":"d80b0d14ac5c64d7963673c622115093fdb6cd93","after":"e6916acf45a6597d8478cb142c727af7565e8cd1","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-13T19:16:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"chore: Improve 'getBase64FromMediaMessage' function in Whatsapp Baileys service\n\nThe 'getBase64FromMediaMessage' function in the Whatsapp Baileys service has been improved. Now, the 'getBuffer' parameter has a default value of 'false', making it optional. This change simplifies the function call and enhances readability.\n\nModified file:\n- src/api/services/channels/whatsapp.baileys.service.ts","shortMessageHtmlLink":"chore: Improve 'getBase64FromMediaMessage' function in Whatsapp Baile…"}},{"before":"db1ab7404b99aa51e682784859691690c15a85b4","after":"d80b0d14ac5c64d7963673c622115093fdb6cd93","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-13T19:12:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"chore: Whatsapp Baileys service - disable webhook media download when S3 is not enabled\n\nThis change disables the download of media messages through the Whatsapp Baileys service's local webhook when the S3 storage is not enabled. This is to prevent unnecessary media downloads and potential storage issues. The modified file is 'whatsapp.baileys.service.ts'.","shortMessageHtmlLink":"chore: Whatsapp Baileys service - disable webhook media download when…"}},{"before":"e73d9c1982deb95345918515e84e47f5ec0cb82a","after":"db1ab7404b99aa51e682784859691690c15a85b4","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-13T19:09:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"chore: Update environment variables and add Minio/S3 integration\n\nUpdated .env.example with new environment variables for Minio/S3 integration.\nAdded configuration for Minio/S3 endpoint, bucket, access key, secret key, and other related settings.\nUpdated CHANGELOG.md to include the Minio/S3 integration.\n\nThis change allows for the addition of Minio/S3 as a storage option for the project, improving flexibility and scalability.","shortMessageHtmlLink":"chore: Update environment variables and add Minio/S3 integration"}},{"before":"f7a731a19393c5877ed0f2811a7888a464f53405","after":"e73d9c1982deb95345918515e84e47f5ec0cb82a","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-13T19:07:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"chore: Integration with MinIO and S3\n\nAdds 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.\n\nThis change allows for more flexible media storage options and enables the use of MinIO or S3 for storing media files.","shortMessageHtmlLink":"chore: Integration with MinIO and S3"}},{"before":"e3a97d00714161e351392cc78d4cd64c70d0e634","after":"f7a731a19393c5877ed0f2811a7888a464f53405","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-13T16:55:53.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"chore: Add ignoreJid feature to typebot and improve comparison\n\nAdds a new feature to the typebot integration that allows ignoring specific remote JIDs. Also improves the comparison functionality. The main changes are in the typebot controller, DTO, route, and service. Additionally, the WhatsApp Business Service and event configuration files have been updated.\n\nThe main files modified are:\n- typebot.controller.ts\n- typebot.dto.ts\n- typebot.router.ts\n- typebot.service.ts\n- typebot.schema.ts\n- whatsapp.business.service.ts\n- event.config.ts","shortMessageHtmlLink":"chore: Add ignoreJid feature to typebot and improve comparison"}},{"before":"b2bf5d231871dd4b54d7beb3ce91dd757797f38e","after":"e3a97d00714161e351392cc78d4cd64c70d0e634","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-13T11:10:47.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"refactor: using stream instead of temp files in chatwoot and repository services\n\nThis commit refactors the code in the `chatwoot.service.ts` and `repository.service.ts` files to use streams instead of temporary files. This change reduces the number of disk operations, making the application faster and more efficient.\n\nIn the `chatwoot.service.ts` file, the `createReadStream`, `unlinkSync`, and `writeFileSync` functions have been replaced with the `Readable` stream. The `sendData` method has been updated to accept a `fileStream` and `fileName` instead of a file path. The `processImage` method has been refactored to use a stream instead of writing the image to a file.\n\nIn the `repository.service.ts` file, the `initStoreFolders` method has been removed, as it is no longer needed.\n\nThese changes improve the maintainability of the codebase by reducing the number of disk operations and simplifying the code. This refactoring also makes the application more efficient and faster, as it reduces the number of disk operations.\n\nMotivation:\nThe motivation behind this refactoring is to improve the performance and efficiency of the application by reducing the number of disk operations.\n\nImpact:\nThis refactoring reduces the number of disk operations, making the application faster and more efficient. It also simplifies the codebase and improves its maintainability.","shortMessageHtmlLink":"refactor: using stream instead of temp files in chatwoot and reposito…"}},{"before":"480cc6792758817392edccd1be77a1c512a8fedc","after":"b2bf5d231871dd4b54d7beb3ce91dd757797f38e","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-12T23:15:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"chore: Ignore specific JIDs in Typebot integration\n\nImplements the ability to ignore specific JIDs in the Typebot integration, improving the flexibility of the feature. This change includes modifications in the Prisma schema, DTOs, services, and validation schema.\n\n- Adds 'ignoreJids' field to the PostgreSQL schema (prisma/postgresql-schema.prisma).\n- Updates TypebotDto and TypebotSettingDto to include 'ignoreJids' (src/api/integrations/typebot/dto/typebot.dto.ts).\n- Modifies TypebotService to handle 'ignoreJids' when creating and updating Typebot instances (src/api/integrations/typebot/services/typebot.service.ts).\n- Adds 'ignoreJids' to the Typebot validation schema (src/api/integrations/typebot/validate/typebot.schema.ts).\n\nThis update allows for more precise control over which JIDs are processed by the Typebot integration, reducing unnecessary processing and improving performance.","shortMessageHtmlLink":"chore: Ignore specific JIDs in Typebot integration"}},{"before":"a52a6874931b91d218e2ea4992f40c97681c83b7","after":"480cc6792758817392edccd1be77a1c512a8fedc","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-12T23:03:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"feat: Fixes and implementation of regex and fallback in typebot","shortMessageHtmlLink":"feat: Fixes and implementation of regex and fallback in typebot"}},{"before":"38bf859f4328b96df911c66cb316f81015e2de08","after":"293f6a39c558023e6ef779bafbfdad1d749f7718","ref":"refs/heads/develop","pushedAt":"2024-07-12T21:29:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"chore: Update changelog with fixed issues and maintain compatibility\n\n- Updated CHANGELOG.md with fixed issues in version 1.8.3\n- Fixed issue sending group messages when ignore groups enabled\n- Fixed groups\\_ignore in /instance/create and maintained compatibility","shortMessageHtmlLink":"chore: Update changelog with fixed issues and maintain compatibility"}},{"before":"1d81c79fe6f068489a0b42977390d6e49b32c252","after":"38bf859f4328b96df911c66cb316f81015e2de08","ref":"refs/heads/develop","pushedAt":"2024-07-12T21:27:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"Fix: Resolve issue with group messages when ignore groups is enabled\n\nThis commit resolves an issue where group messages were not being sent when the 'ignore groups' feature was enabled. The modification in the `whatsapp.baileys.service.ts` file ensures that group messages are sent even if the 'ignore groups' feature is enabled. Additionally, the `CHANGELOG.md` file has been updated to reflect this fix in version 1.8.3.\n\nChanges:\n- src/api/services/channels/whatsapp.baileys.service.ts\n- CHANGELOG.md","shortMessageHtmlLink":"Fix: Resolve issue with group messages when ignore groups is enabled"}},{"before":"634ee9b4b3f8bef346aff1f71cfa76f418698c94","after":"a52a6874931b91d218e2ea4992f40c97681c83b7","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-12T17:15:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"chore: Remove unused fileExists function in use-multi-file-auth-state-prisma.ts\n\nExplanation:\nThis commit removes an unused `fileExists` function from the `use-multi-file-auth-state-prisma.ts` file. This change simplifies the code and reduces the potential for confusion or maintenance issues in the future. The previously implemented `fileExists` function was commented out and not used in any other part of the file, so it was safe to remove. This change does not affect the functionality of the module and is a pure code improvement.\n\nAffected files:\n- `src/utils/use-multi-file-auth-state-prisma.ts`","shortMessageHtmlLink":"chore: Remove unused fileExists function in use-multi-file-auth-state…"}},{"before":"49ad9812a40ed722dfd8e8f548d102500a3ce5c7","after":"634ee9b4b3f8bef346aff1f71cfa76f418698c94","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-12T17:01:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"fix: Resolve 'no such file or directory' error (#123)\n\nThis commit fixes an issue where a 'no such file or directory' error was being thrown. The error was caused by the absence of a temporary directory used for storing data. To resolve this issue, the `initStoreFolders` method was added to the `PrismaRepository` class, which creates the necessary store path and temporary directory during initialization.\n\nThe modifications include changes to the `repository.service.ts` file, where the `initStoreFolders` method was implemented. The `fs` and `path` modules were imported to facilitate file system operations.\n\nWith these changes, the error should no longer occur, ensuring the proper functioning of the application.","shortMessageHtmlLink":"fix: Resolve 'no such file or directory' error (#123)"}},{"before":"05eb58be0e593f255895c6c4120877887f24c81f","after":"1d81c79fe6f068489a0b42977390d6e49b32c252","ref":"refs/heads/develop","pushedAt":"2024-07-12T16:59:20.000Z","pushType":"pr_merge","commitsCount":6,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"Merge pull request #682 from jtapeg/fix-groups-ignore\n\nFix: groups_ignore in /instance/create and maintaining compatibility","shortMessageHtmlLink":"Merge pull request #682 from jtapeg/fix-groups-ignore"}},{"before":"c7823054565da64acfc4f30c053c8e9ef1ab2b8a","after":"49ad9812a40ed722dfd8e8f548d102500a3ce5c7","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-12T16:45:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"fix: Correction in response returns from buttons, lists and templates\n\nFixes the display of unnecessary logs in the webhook controller and updates the way context data is handled in the Whatsapp Business service. Adds private methods to handle different types of messages, such as buttons, reactions and contacts.\n\nModified files:\n- webhook.controller.ts\n- whatsapp.business.service.ts","shortMessageHtmlLink":"fix: Correction in response returns from buttons, lists and templates"}},{"before":"ca3dadfb3547034b8531161233d135f0801fa6dc","after":"c7823054565da64acfc4f30c053c8e9ef1ab2b8a","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-12T16:26:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"Remove template model and related functionality (prisma/postgresql-schema.prisma, src/api/services/template.service.ts)\n\nThis commit removes the Template model, including its related functionality, from the project. The template table has been removed from the database schema, and all related functions and methods in the template service have been deleted. This change was made because the project now uses the persistence of the meta, eliminating the need for a separate template model.\n\nPlease note that this change may affect other parts of the application that rely on the Template model. Ensure that all necessary adjustments have been made before merging this commit.","shortMessageHtmlLink":"Remove template model and related functionality (prisma/postgresql-sc…"}},{"before":"99a091ec613ed8943cbd493566c339b8bb2878b3","after":"ca3dadfb3547034b8531161233d135f0801fa6dc","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-12T16:01:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"Fix: Resolve issue with template association in Instance model\n\nThe Issue:\nThe Instance model in the postgresql-schema.prisma file previously had a Template field that was a single Template object, but this caused issues with the association of multiple templates to a single instance.\n\nThe Change:\nThis commit resolves the issue by changing the Template field to an array of Template objects. This allows for multiple templates to be associated with a single instance.\n\nThe Impact:\nThis change allows for more flexible use of templates in the system and resolves a previous limitation in the association of templates to instances.\n\nAffected Files:\n- prisma/postgresql-schema.prisma\n- src/api/services/template.service.ts\n\nNote: The migration folder added in the untracked files section is a result of the Prisma schema change and can be safely ignored in this commit message.","shortMessageHtmlLink":"Fix: Resolve issue with template association in Instance model"}},{"before":"26bddf3c53f3db9231da9df575dc9b966126a446","after":"99a091ec613ed8943cbd493566c339b8bb2878b3","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-12T15:55:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"fix: Correção no retorno dos envios na API oficial do WhatsApp\n\nCorreção no serviço WhatsApp Business para retornar a mensagem após o envio.\nAlém disso, foi adicionada a capacidade de deletar templates por ID.\n\nArquivos modificados:\n- whatsapp.business.service.ts\n- template.service.ts","shortMessageHtmlLink":"fix: Correção no retorno dos envios na API oficial do WhatsApp"}},{"before":"a145935366ba7310a6d592e0df5cf743e96788f4","after":"26bddf3c53f3db9231da9df575dc9b966126a446","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-12T15:32:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"Add support for managing WhatsApp templates via official API\n\nThis commit introduces changes to support managing WhatsApp templates using the official WhatsApp Business API. The following modifications have been made:\n\n- Implemented a new Template model in the Prisma schema, including fields for template ID, name, language, and associated Instance (business ID, instance ID, and created/updated timestamps).\n- Modified the Instance model in the Prisma schema to include a Template relationship.\n- Updated InstanceController to include a new `businessId` property in the InstanceDto.\n- Added a new TemplateRouter, TemplateController, and TemplateService to handle template-related requests and services.\n- Updated the WebhookService to utilize the new TemplateService.\n- Added new TypebotController, WebhookController, and WAMonitoringService methods to handle template-related events.\n- Updated the validate schema to include a new template schema.\n\nThe main goal of this commit is to enable managing WhatsApp templates, including creating, updating, and deleting templates, as well as associating them with specific instances.","shortMessageHtmlLink":"Add support for managing WhatsApp templates via official API"}},{"before":"f6d4f940a3c40ae94b97e1d1df1a196b400ba0d2","after":"a145935366ba7310a6d592e0df5cf743e96788f4","ref":"refs/heads/v2.0.0","pushedAt":"2024-07-12T14:52:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DavidsonGomes","name":"Davidson Gomes","path":"/DavidsonGomes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24706726?s=80&v=4"},"commit":{"message":"chore: Add businessId to Instance model\n\nUpdated the Instance model to include a new optional string property called businessId. This change affects the following files:\n\n- prisma/postgresql-schema.prisma\n- src/api/controllers/instance.controller.ts\n- src/api/dto/instance.dto.ts\n- src/api/services/monitor.service.ts\n- src/validate/instance.schema.ts\n\nA new untracked migration folder has been created to manage database schema updates:\n\n- prisma/migrations/20240712144948_add_business_id_column_to_instances/\n\nThis change allows for storing a business identifier alongside the instance, enhancing the ability to categorize and manage instances more effectively.","shortMessageHtmlLink":"chore: Add businessId to Instance model"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEgBxoawA","startCursor":null,"endCursor":null}},"title":"Activity · EvolutionAPI/evolution-api"}