/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ /** * Serializer for a single audit log entry. * * Transforms DMAuditLogEntry model instances into API response format. */ export type MentorAuditLogEntry = { /** * Audit log entry ID */ id: number; /** * When the action occurred */ timestamp: string; /** * Username of the user who performed the action */ actor_username: string | null; /** * Email of the user who performed the action */ actor_email: string | null; /** * Action type: create, update, or delete */ action: string; /** * Type of resource modified (e.g., mentor, mentorsettings) */ resource_type: string; /** * ID of the modified resource */ resource_id: string; /** * Human-readable representation of the resource */ resource_repr: string; /** * Dictionary of field changes with old and new values */ changes: Record; };