evolution-api/src/utils
jaison-x 8a5ebe83a3 feat(chatwoot): import history messages to chatwoot on whatsapp connection
Messages are imported direct to chatwoot database. Media and group messages are ignored.

New env.yml variables:
CHATWOOT_IMPORT_DATABASE_CONNECTION_URI: URI to connect direct on chatwoot database.
CHATWOOT_IMPORT_PLACEHOLDER_MEDIA_MESSAGE: Indicates to use a text placeholder on media messages.

New instance setting:
sync_full_history: Indicates to request a full history sync to baileys.

New chatwoot options:
import_contacts: Indicates to import contacts.
import_messages: Indicates to import messages.
days_limit_import_messages: Number of days to limit history messages to import.
2024-02-02 15:32:34 -03:00
..
translations Add translate capabilities to QRMessages in CW 2024-01-25 16:19:08 -03:00
chatwoot-import-helper.ts feat(chatwoot): import history messages to chatwoot on whatsapp connection 2024-02-02 15:32:34 -03:00
i18n.ts Add translate capabilities to QRMessages in CW 2024-01-25 16:19:08 -03:00
makeProxyAgent.ts Remove unused dependencies and refactor proxy handling 2024-01-21 13:54:42 -03:00
server-up.ts wip 2023-07-26 11:12:00 -03:00
use-multi-file-auth-state-db.ts Fixes in mongodb and chatwoot 2023-12-06 15:21:50 -03:00
use-multi-file-auth-state-redis-db.ts feat: Added websocket with lib socket.io 2023-08-02 13:08:30 -03:00