import { WAPresence } from 'baileys';

export class InstanceDto {
  instanceName: string;
  instanceId?: string;
  qrcode?: boolean;
  number?: string;
  integration?: string;
  token?: string;
  webhookUrl?: string;
  webhookByEvents?: boolean;
  webhookBase64?: boolean;
  webhookEvents?: string[];
  rejectCall?: boolean;
  msgCall?: string;
  groupsIgnore?: boolean;
  alwaysOnline?: boolean;
  readMessages?: boolean;
  readStatus?: boolean;
  syncFullHistory?: boolean;
  chatwootAccountId?: string;
  chatwootToken?: string;
  chatwootUrl?: string;
  chatwootSignMsg?: boolean;
  chatwootReopenConversation?: boolean;
  chatwootConversationPending?: boolean;
  chatwootMergeBrazilContacts?: boolean;
  chatwootImportContacts?: boolean;
  chatwootImportMessages?: boolean;
  chatwootDaysLimitImportMessages?: number;
  chatwootNameInbox?: string;
  chatwootOrganization?: string;
  chatwootLogo?: string;
  websocketEnabled?: boolean;
  websocketEvents?: string[];
  rabbitmqEnabled?: boolean;
  rabbitmqEvents?: string[];
  sqsEnabled?: boolean;
  sqsEvents?: string[];
  proxyHost?: string;
  proxyPort?: string;
  proxyProtocol?: string;
  proxyUsername?: string;
  proxyPassword?: string;
  businessId?: string;
}

export class SetPresenceDto {
  presence: WAPresence;
}
