evolution-api/src/api/dto/instance.dto.ts
2024-09-03 12:13:30 -03:00

32 lines
721 B
TypeScript

import { IntegrationDto } from '@api/integrations/integration.dto';
import { WAPresence } from 'baileys';
export class InstanceDto extends IntegrationDto {
instanceName: string;
instanceId?: string;
qrcode?: boolean;
businessId?: string;
number?: string;
integration?: string;
token?: string;
// settings
rejectCall?: boolean;
msgCall?: string;
groupsIgnore?: boolean;
alwaysOnline?: boolean;
readMessages?: boolean;
readStatus?: boolean;
syncFullHistory?: boolean;
// proxy
proxyHost?: string;
proxyPort?: string;
proxyProtocol?: string;
proxyUsername?: string;
proxyPassword?: string;
chatwootAutoCreate?: boolean;
}
export class SetPresenceDto {
presence: WAPresence;
}