@@ -262,6 +262,9 @@ module Database.Bloodhound.Types
262 , TermsResult(..)
262 , TermsResult(..)
263 , DateHistogramResult(..)
263 , DateHistogramResult(..)
264 , DateRangeResult(..)
264 , DateRangeResult(..)
267import Control.Applicative
270import Control.Applicative
@@ -3533,3 +3536,9 @@ instance Enum DocVersion where
3533 fromEnum = docVersionNumber
3536 fromEnum = docVersionNumber
3534 enumFrom = boundedEnumFrom
3537 enumFrom = boundedEnumFrom
3535 enumFromThen = boundedEnumFromThen
3538 enumFromThen = boundedEnumFromThen
3540+-- | Username type used for HTTP Basic authentication. See 'basicAuthHook'.
3541+newtype EsUsername = EsUsername { esUsername :: Text } deriving (Show, Eq)
3543+-- | Password type used for HTTP Basic authentication. See 'basicAuthHook'.
3544+newtype EsPassword = EsPassword { esPassword :: Text } deriving (Show, Eq)