export const APP_EVENTS = {
  // User Events
  USER_CREATED: 'user.created',
  USER_UPDATED: 'user.updated',
  USER_DELETED: 'user.deleted',
  USER_LOGIN: 'user.login',
  USER_LOGOUT: 'user.logout',
  USER_PASSWORD_CHANGED: 'user.password_changed',

  // Document Events
  DOCUMENT_UPLOADED: 'document.uploaded',
  DOCUMENT_VERIFIED: 'document.verified',
  DOCUMENT_REJECTED: 'document.rejected',
  DOCUMENT_REVOKED: 'document.revoked',
  DOCUMENT_ARCHIVED: 'document.archived',
  DOCUMENT_RESTORED: 'document.restored',
  DOCUMENT_DOWNLOADED: 'document.downloaded',

  // Blockchain Events
  BLOCKCHAIN_VERIFICATION_STARTED: 'blockchain.verification_started',
  BLOCKCHAIN_VERIFICATION_COMPLETED: 'blockchain.verification_completed',
  BLOCKCHAIN_VERIFICATION_FAILED: 'blockchain.verification_failed',
  TRANSACTION_CREATED: 'blockchain.transaction_created',
  TRANSACTION_CONFIRMED: 'blockchain.transaction_confirmed',
  TRANSACTION_FAILED: 'blockchain.transaction_failed',

  // Department Events
  DEPARTMENT_CREATED: 'department.created',
  DEPARTMENT_UPDATED: 'department.updated',
  DEPARTMENT_DELETED: 'department.deleted',

  // Audit Events
  AUDIT_LOG_CREATED: 'audit.log_created',
  AUDIT_LOG_ACCESSED: 'audit.log_accessed',

  // System Events
  SYSTEM_HEALTH_CHECK: 'system.health_check',
  SYSTEM_ALERT: 'system.alert',
  SYSTEM_ERROR: 'system.error',
  DATABASE_BACKUP: 'database.backup',
  STORAGE_BACKUP: 'storage.backup',

  // Queue Events
  JOB_QUEUED: 'queue.job_queued',
  JOB_PROCESSING: 'queue.job_processing',
  JOB_COMPLETED: 'queue.job_completed',
  JOB_FAILED: 'queue.job_failed',
  JOB_RETRY: 'queue.job_retry',
};
