whatsapp-crm-common
Version:
Componentes compartidos para servicios de WhatsApp CRM - Common utilities and types for WhatsApp CRM system
40 lines • 1.11 kB
TypeScript
export interface Connection {
id: number;
session_id: string;
tenantId: string;
agentId: string;
connection_state: string;
last_disconnect_error: string | null;
last_disconnect_date: Date | null;
is_new_login: boolean | null;
qr_code: string | null;
received_pending_notifications: boolean | null;
is_online: boolean | null;
device_info: any;
created_at: Date;
updated_at: Date;
}
export interface CreateConnectionDTO {
session_id: string;
tenantId: string;
agentId: string;
connection_state: string;
last_disconnect_error?: string;
last_disconnect_date?: Date;
is_new_login?: boolean;
qr_code?: string;
received_pending_notifications?: boolean;
is_online?: boolean;
device_info?: any;
}
export interface UpdateConnectionDTO {
connection_state?: string;
last_disconnect_error?: string;
last_disconnect_date?: Date;
is_new_login?: boolean;
qr_code?: string;
received_pending_notifications?: boolean;
is_online?: boolean;
device_info?: any;
}
//# sourceMappingURL=IConnections.d.ts.map