mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-22 20:12:02 -06:00
32 lines
721 B
TypeScript
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;
|
|
}
|