content: {-# OPTIONS_GHC -Wno-unused-imports #-}
  
  module API.Types.UI.Suspect where
  
  import Data.OpenApi (ToSchema)
  import qualified Data.Text
  import qualified Domain.Types.Suspect
  import EulerHS.Prelude hiding (id)
  import qualified Kernel.Prelude
  import Servant hiding (Summary)
  import "lib-dashboard" Tools.Auth
  
  data SuspectBulkUploadReq = SuspectBulkUploadReq {suspects :: [SuspectUploadReq]}
    deriving stock (Generic)
    deriving anyclass (ToJSON, FromJSON, ToSchema)
  
  data SuspectBulkUploadResp = SuspectBulkUploadResp {dlList :: [Kernel.Prelude.Maybe Data.Text.Text], message :: Data.Text.Text, voterIdList :: [Kernel.Prelude.Maybe Data.Text.Text]}
    deriving stock (Generic)
    deriving anyclass (ToJSON, FromJSON, ToSchema)
  
  data SuspectFlagStatusChangeReq = SuspectFlagStatusChangeReq {dl :: Kernel.Prelude.Maybe Data.Text.Text, reasonToChange :: Data.Text.Text, voterId :: Kernel.Prelude.Maybe Data.Text.Text}
    deriving stock (Generic)
    deriving anyclass (ToJSON, FromJSON, ToSchema)
  
  data SuspectUploadReq = SuspectUploadReq
    { dl :: Kernel.Prelude.Maybe Data.Text.Text,
      firstName :: Data.Text.Text,
      flaggedCategory :: Data.Text.Text,
      flaggedReason :: Data.Text.Text,
      lastName :: Data.Text.Text,
      mobileNumber :: Kernel.Prelude.Maybe Data.Text.Text,
      reportDetails :: Kernel.Prelude.Maybe Domain.Types.Suspect.ReportDetails,
      totalComplaintsCount :: Kernel.Prelude.Maybe Kernel.Prelude.Int,
      voterId :: Kernel.Prelude.Maybe Data.Text.Text
    }
    deriving stock (Generic)
    deriving anyclass (ToJSON, FromJSON, ToSchema)
  