content: {-# LANGUAGE ApplicativeDo #-}
  {-# OPTIONS_GHC -Wno-unused-imports #-}
  
  module Domain.Types.SuspectStatusHistory where
  
  import qualified "lib-dashboard" Domain.Types.Merchant
  import qualified Domain.Types.Suspect
  import qualified Domain.Types.SuspectFlagRequest
  import Kernel.Prelude
  import qualified Kernel.Types.Id
  
  data SuspectStatusHistory = SuspectStatusHistory
    { adminApproval :: Kernel.Prelude.Maybe Domain.Types.SuspectFlagRequest.AdminApproval,
      approvedBy :: Kernel.Prelude.Maybe Kernel.Prelude.Text,
      createdAt :: Kernel.Prelude.UTCTime,
      dl :: Kernel.Prelude.Maybe Kernel.Prelude.Text,
      firstName :: Kernel.Prelude.Maybe Kernel.Prelude.Text,
      flaggedBy :: Kernel.Prelude.Maybe [Domain.Types.Suspect.FlaggedBy],
      flaggedStatus :: Domain.Types.Suspect.FlaggedStatus,
      id :: Kernel.Types.Id.Id Domain.Types.SuspectStatusHistory.SuspectStatusHistory,
      lastName :: Kernel.Prelude.Maybe Kernel.Prelude.Text,
      merchantShortId :: Kernel.Prelude.Maybe Kernel.Prelude.Text,
      statusChangedReason :: Kernel.Prelude.Maybe Kernel.Prelude.Text,
      updatedAt :: Kernel.Prelude.UTCTime,
      voterId :: Kernel.Prelude.Maybe Kernel.Prelude.Text,
      merchantId :: Kernel.Prelude.Maybe (Kernel.Types.Id.Id Domain.Types.Merchant.Merchant)
    }
    deriving (Generic, Show, ToJSON, FromJSON, ToSchema)
  