bugfix: import prisma types

This commit is contained in:
Allyson Santana 2025-01-06 18:31:40 -03:00
parent 18626c9846
commit 1773f2738e

View File

@ -1,4 +1,5 @@
import { IntegrationDto } from '@api/integrations/integration.dto'; import { IntegrationDto } from '@api/integrations/integration.dto';
import { JsonValue } from '@prisma/client/runtime/library';
import { WAPresence } from 'baileys'; import { WAPresence } from 'baileys';
export class InstanceDto extends IntegrationDto { export class InstanceDto extends IntegrationDto {
@ -24,7 +25,14 @@ export class InstanceDto extends IntegrationDto {
proxyProtocol?: string; proxyProtocol?: string;
proxyUsername?: string; proxyUsername?: string;
proxyPassword?: 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; chatwootAccountId?: string;
chatwootConversationPending?: boolean; chatwootConversationPending?: boolean;
chatwootAutoCreate?: boolean; chatwootAutoCreate?: boolean;