mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-19 11:52:20 -06:00
Simplify events structure and fix minor issues
This commit is contained in:
@@ -60,14 +60,6 @@ export declare namespace wa {
|
||||
businessId?: string;
|
||||
};
|
||||
|
||||
export type LocalWebHook = {
|
||||
enabled?: boolean;
|
||||
url?: string;
|
||||
events?: JsonValue;
|
||||
webhookByEvents?: boolean;
|
||||
webhookBase64?: boolean;
|
||||
};
|
||||
|
||||
export type LocalChatwoot = {
|
||||
enabled?: boolean;
|
||||
accountId?: string;
|
||||
@@ -95,19 +87,15 @@ export declare namespace wa {
|
||||
syncFullHistory?: boolean;
|
||||
};
|
||||
|
||||
export type LocalWebsocket = {
|
||||
export type LocalEvent = {
|
||||
enabled?: boolean;
|
||||
events?: JsonValue;
|
||||
};
|
||||
|
||||
export type LocalRabbitmq = {
|
||||
enabled?: boolean;
|
||||
events?: JsonValue;
|
||||
};
|
||||
|
||||
export type LocalSqs = {
|
||||
enabled?: boolean;
|
||||
events?: JsonValue;
|
||||
export type LocalWebHook = LocalEvent & {
|
||||
url?: string;
|
||||
webhookByEvents?: boolean;
|
||||
webhookBase64?: boolean;
|
||||
};
|
||||
|
||||
type Session = {
|
||||
|
||||
Reference in New Issue
Block a user