mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2026-02-05 14:56:29 -06:00
Fix import prisma types
This commit is contained in:
@@ -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 {
|
||||||
@@ -27,7 +28,7 @@ export class InstanceDto extends IntegrationDto {
|
|||||||
webhook?: {
|
webhook?: {
|
||||||
enabled?: boolean;
|
enabled?: boolean;
|
||||||
events?: string[];
|
events?: string[];
|
||||||
headers?: { [key: string]: string };
|
headers?: JsonValue;
|
||||||
url?: string;
|
url?: string;
|
||||||
byEvents?: boolean;
|
byEvents?: boolean;
|
||||||
base64?: boolean;
|
base64?: boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user