Skip to content

Commit

Permalink
bugfix: import prisma types
Browse files Browse the repository at this point in the history
  • Loading branch information
Allyson-Santana committed Jan 6, 2025
1 parent 18626c9 commit 1773f27
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/api/dto/instance.dto.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -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;
Expand Down

0 comments on commit 1773f27

Please sign in to comment.