diff --git a/src/api/dto/instance.dto.ts b/src/api/dto/instance.dto.ts index 0f61a9a32..58298d578 100644 --- a/src/api/dto/instance.dto.ts +++ b/src/api/dto/instance.dto.ts @@ -1,4 +1,5 @@ import { IntegrationDto } from '@api/integrations/integration.dto'; +import { JsonValue } from '@prisma/client/runtime/library'; import { WAPresence } from 'baileys'; export class InstanceDto extends IntegrationDto { @@ -24,7 +25,14 @@ export class InstanceDto extends IntegrationDto { proxyProtocol?: string; proxyUsername?: string; proxyPassword?: string; - webhook?: { enabled?: boolean; events?: string[]; headers?: JsonValue; url?: string; byEvents?: boolean; base64?: boolean; }; + webhook?: { + enabled?: boolean; + events?: string[]; + headers?: JsonValue; + url?: string; + byEvents?: boolean; + base64?: boolean; + }; chatwootAccountId?: string; chatwootConversationPending?: boolean; chatwootAutoCreate?: boolean;