-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
382 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM node:20.7.0-alpine AS builder | ||
|
||
LABEL version="1.7.2" description="Api to control whatsapp features through http requests." | ||
LABEL version="1.7.3" description="Api to control whatsapp features through http requests." | ||
LABEL maintainer="Davidson Gomes" git="https://github.com/DavidsonGomes" | ||
LABEL contact="[email protected]" | ||
|
||
|
@@ -58,10 +58,6 @@ ENV DATABASE_SAVE_MESSAGE_UPDATE=false | |
ENV DATABASE_SAVE_DATA_CONTACTS=false | ||
ENV DATABASE_SAVE_DATA_CHATS=false | ||
|
||
ENV REDIS_ENABLED=false | ||
ENV REDIS_URI=redis://redis:6379 | ||
ENV REDIS_PREFIX_KEY=evolution | ||
|
||
ENV RABBITMQ_ENABLED=false | ||
ENV RABBITMQ_MODE=global | ||
ENV RABBITMQ_EXCHANGE_NAME=evolution_exchange | ||
|
@@ -129,6 +125,14 @@ ENV QRCODE_COLOR=#198754 | |
|
||
ENV TYPEBOT_API_VERSION=latest | ||
|
||
ENV CACHE_REDIS_ENABLED=false | ||
ENV CACHE_REDIS_URI=redis://redis:6379 | ||
ENV CACHE_REDIS_PREFIX_KEY=evolution | ||
ENV CACHE_REDIS_TTL=604800 | ||
ENV CACHE_REDIS_SAVE_INSTANCES=false | ||
ENV CACHE_LOCAL_ENABLED=false | ||
ENV CACHE_LOCAL_TTL=604800 | ||
|
||
ENV AUTHENTICATION_TYPE=apikey | ||
|
||
ENV AUTHENTICATION_API_KEY=B6D711FCDE4D4FD5936544120E713976 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
export interface ICache { | ||
get(key: string): Promise<any>; | ||
|
||
hGet(key: string, field: string): Promise<any>; | ||
|
||
set(key: string, value: any, ttl?: number): void; | ||
|
||
hSet(key: string, field: string, value: any): Promise<void>; | ||
|
||
has(key: string): Promise<boolean>; | ||
|
||
keys(appendCriteria?: string): Promise<string[]>; | ||
|
||
delete(key: string | string[]): Promise<number>; | ||
|
||
hDelete(key: string, field: string): Promise<any>; | ||
|
||
deleteAll(appendCriteria?: string): Promise<number>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/api/integrations/chatwoot/controllers/chatwoot.controller.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.