EnableMfaEvents

type EnableMfaEvents =
  | { type: 'GENERATE' }
  | { type: 'ACTIVATE'; code: string; activeMfaType: 'totp' }
  | { type: 'GENERATED' }
  | { type: 'GENERATED_ERROR'; error: AuthErrorPayload | null }
  | { type: 'SUCCESS' }
  | { type: 'ERROR'; error: AuthErrorPayload | null }