oex2003/evolution-api
0
1import { IntegrationDto } from '@api/integrations/integration.dto';2import { JsonValue } from '@prisma/client/runtime/library';3import { WAPresence } from 'baileys';4 5export class InstanceDto extends IntegrationDto {6 instanceName: string;7 instanceId?: string;8 qrcode?: boolean;9 businessId?: string;10 number?: string;11 integration?: string;12 token?: string;13 status?: string;14 ownerJid?: string;15 profileName?: string;16 profilePicUrl?: string;17 // settings18 rejectCall?: boolean;19 msgCall?: string;20 groupsIgnore?: boolean;21 alwaysOnline?: boolean;22 readMessages?: boolean;23 readStatus?: boolean;24 syncFullHistory?: boolean;25 wavoipToken?: string;26 // proxy27 proxyHost?: string;28 proxyPort?: string;29 proxyProtocol?: string;30 proxyUsername?: string;31 proxyPassword?: string;32 webhook?: {33 enabled?: boolean;34 events?: string[];35 headers?: JsonValue;36 url?: string;37 byEvents?: boolean;38 base64?: boolean;39 };40 chatwootAccountId?: string;41 chatwootConversationPending?: boolean;42 chatwootAutoCreate?: boolean;43 chatwootDaysLimitImportMessages?: number;44 chatwootImportContacts?: boolean;45 chatwootImportMessages?: boolean;46 chatwootLogo?: string;47 chatwootMergeBrazilContacts?: boolean;48 chatwootNameInbox?: string;49 chatwootOrganization?: string;50 chatwootReopenConversation?: boolean;51 chatwootSignMsg?: boolean;52 chatwootToken?: string;53 chatwootUrl?: string;54}55 56export class SetPresenceDto {57 presence: WAPresence;58}59 