Skip to content

Commit f971f38

Browse files
Merge pull request #1134 from Allyson-Santana/bugfix/import-prisma-type
bugfix: import prisma types
2 parents 18626c9 + 1773f27 commit f971f38

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/api/dto/instance.dto.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { IntegrationDto } from '@api/integrations/integration.dto';
2+
import { JsonValue } from '@prisma/client/runtime/library';
23
import { WAPresence } from 'baileys';
34

45
export class InstanceDto extends IntegrationDto {
@@ -24,7 +25,14 @@ export class InstanceDto extends IntegrationDto {
2425
proxyProtocol?: string;
2526
proxyUsername?: string;
2627
proxyPassword?: string;
27-
webhook?: { enabled?: boolean; events?: string[]; headers?: JsonValue; url?: string; byEvents?: boolean; base64?: boolean; };
28+
webhook?: {
29+
enabled?: boolean;
30+
events?: string[];
31+
headers?: JsonValue;
32+
url?: string;
33+
byEvents?: boolean;
34+
base64?: boolean;
35+
};
2836
chatwootAccountId?: string;
2937
chatwootConversationPending?: boolean;
3038
chatwootAutoCreate?: boolean;

0 commit comments

Comments
 (0)