import { Document } from 'mongoose'; import { IDefaultAttributes } from './commonInterface'; import { RMS_AUDIT_ACTION } from '../constants/app'; export interface IRmsAuditLogAttributes extends IDefaultAttributes, Document { id: string; instituteId: string; entityName: string; entityId: string; action: RMS_AUDIT_ACTION; performedBy: string; performedAt: Date; ipAddress?: string | null; userAgent?: string | null; oldValue?: object | null; newValue?: object | null; requestId?: string | null; }