export const AUDIT_EVENTS = {
	LOGIN_SUCCESS: 'LOGIN_SUCCESS',
	LOGIN_FAILED: 'LOGIN_FAILED',
	LOGOUT: 'LOGOUT',
	TOKEN_REFRESH: 'TOKEN_REFRESH',
	TOKEN_VERIFY_FAILED: 'TOKEN_VERIFY_FAILED',
	PASSWORD_CHANGED: 'PASSWORD_CHANGED',
	ROLE_CHANGED: 'ROLE_CHANGED',
	DB_CONNECTION_FAILED: 'DB_CONNECTION_FAILED',
	DB_FAILOVER_STARTED: 'DB_FAILOVER_STARTED',
	DB_FAILOVER_SUCCESS: 'DB_FAILOVER_SUCCESS',
	DB_FAILOVER_FAILED: 'DB_FAILOVER_FAILED',
	DB_BACKUP_STARTED: 'DB_BACKUP_STARTED',
	DB_BACKUP_SUCCESS: 'DB_BACKUP_SUCCESS',
	DB_BACKUP_FAILED: 'DB_BACKUP_FAILED',
	ADMIN_ACTION: 'ADMIN_ACTION',
	SESSION_REUSED: 'SESSION_REUSED',
	SESSION_EXPIRED: 'SESSION_EXPIRED',
	ACCOUNT_LOCKED: 'ACCOUNT_LOCKED',
	ACCOUNT_UNLOCKED: 'ACCOUNT_UNLOCKED',
	REGISTER_SUCCESS: 'REGISTER_SUCCESS',
	REGISTER_FAILED: 'REGISTER_FAILED',
	EMAIL_VERIFICATION_SENT: 'EMAIL_VERIFICATION_SENT',
	EMAIL_VERIFIED: 'EMAIL_VERIFIED',
} as const;

export type AuditEventType = keyof typeof AUDIT_EVENTS;
