mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-14 01:41:24 -06:00
Merge pull request #1134 from Allyson-Santana/bugfix/import-prisma-type
bugfix: import prisma types
This commit is contained in:
commit
f971f388d5
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user