Skip to content

Commit

Permalink
Merge pull request #1134 from Allyson-Santana/bugfix/import-prisma-type
Browse files Browse the repository at this point in the history
bugfix: import prisma types
  • Loading branch information
DavidsonGomes authored Jan 7, 2025
2 parents 18626c9 + 1773f27 commit f971f38
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 f971f38

Please sign in to comment.