Safe Haskell | None |
---|---|
Language | Haskell2010 |
Shared type declarations.
Synopsis
- newtype DeviceId = DeviceId (CI Text)
- newtype CallId = CallId Text
- newtype UCID = UCID Text
- newtype Extension = Extension Text
- newtype SwitchName = SwitchName Text
- newtype AgentId = AgentId (SwitchName, Extension)
- data CallDirection
- data Call = Call {}
- data SettableAgentState
- data AgentState
- data ParticipationType
- newtype LoggingOptions = LoggingOptions {}
- data SessionOptions = SessionOptions {}
Documentation
Device ID used in DMCC requests.
This is based on text as stated in DMCC specification.
Globally unique call ID.
Instances
Eq Extension Source # | |
Data Extension Source # | |
Defined in DMCC.Types gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Extension -> c Extension # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Extension # toConstr :: Extension -> Constr # dataTypeOf :: Extension -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Extension) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Extension) # gmapT :: (forall b. Data b => b -> b) -> Extension -> Extension # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Extension -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Extension -> r # gmapQ :: (forall d. Data d => d -> u) -> Extension -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Extension -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Extension -> m Extension # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Extension -> m Extension # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Extension -> m Extension # | |
Ord Extension Source # | |
Defined in DMCC.Types | |
Show Extension Source # | |
ToJSON Extension Source # | |
Defined in DMCC.Types | |
FromJSON Extension Source # | |
ToText Extension Source # | |
newtype SwitchName Source #
Instances
Instances
Eq AgentId Source # | |
Data AgentId Source # | |
Defined in DMCC.Types gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AgentId -> c AgentId # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AgentId # toConstr :: AgentId -> Constr # dataTypeOf :: AgentId -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AgentId) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AgentId) # gmapT :: (forall b. Data b => b -> b) -> AgentId -> AgentId # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AgentId -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AgentId -> r # gmapQ :: (forall d. Data d => d -> u) -> AgentId -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> AgentId -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> AgentId -> m AgentId # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AgentId -> m AgentId # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AgentId -> m AgentId # | |
Ord AgentId Source # | |
Show AgentId Source # | |
ToJSON AgentId Source # | |
Defined in DMCC.Types | |
FromJSON AgentId Source # | |
data CallDirection Source #
Instances
Eq CallDirection Source # | |
Defined in DMCC.Types (==) :: CallDirection -> CallDirection -> Bool # (/=) :: CallDirection -> CallDirection -> Bool # | |
Show CallDirection Source # | |
Defined in DMCC.Types showsPrec :: Int -> CallDirection -> ShowS # show :: CallDirection -> String # showList :: [CallDirection] -> ShowS # | |
ToJSON CallDirection Source # | |
Defined in DMCC.Types toJSON :: CallDirection -> Value # toEncoding :: CallDirection -> Encoding # toJSONList :: [CallDirection] -> Value # toEncodingList :: [CallDirection] -> Encoding # | |
FromJSON CallDirection Source # | |
Defined in DMCC.Types parseJSON :: Value -> Parser CallDirection # parseJSONList :: Value -> Parser [CallDirection] # |
data SettableAgentState Source #
Instances
Eq SettableAgentState Source # | |
Defined in DMCC.Types (==) :: SettableAgentState -> SettableAgentState -> Bool # (/=) :: SettableAgentState -> SettableAgentState -> Bool # | |
Show SettableAgentState Source # | |
Defined in DMCC.Types showsPrec :: Int -> SettableAgentState -> ShowS # show :: SettableAgentState -> String # showList :: [SettableAgentState] -> ShowS # | |
ToJSON SettableAgentState Source # | |
Defined in DMCC.Types toJSON :: SettableAgentState -> Value # toEncoding :: SettableAgentState -> Encoding # toJSONList :: [SettableAgentState] -> Value # toEncodingList :: [SettableAgentState] -> Encoding # | |
FromJSON SettableAgentState Source # | |
Defined in DMCC.Types parseJSON :: Value -> Parser SettableAgentState # parseJSONList :: Value -> Parser [SettableAgentState] # | |
ToText SettableAgentState Source # | |
Defined in DMCC.XML.Request toText :: SettableAgentState -> Text Source # |
data AgentState Source #
Instances
Eq AgentState Source # | |
Defined in DMCC.Types (==) :: AgentState -> AgentState -> Bool # (/=) :: AgentState -> AgentState -> Bool # | |
Show AgentState Source # | |
Defined in DMCC.Types showsPrec :: Int -> AgentState -> ShowS # show :: AgentState -> String # showList :: [AgentState] -> ShowS # | |
ToJSON AgentState Source # | |
Defined in DMCC.Types toJSON :: AgentState -> Value # toEncoding :: AgentState -> Encoding # toJSONList :: [AgentState] -> Value # toEncodingList :: [AgentState] -> Encoding # | |
FromJSON AgentState Source # | |
Defined in DMCC.Types parseJSON :: Value -> Parser AgentState # parseJSONList :: Value -> Parser [AgentState] # |
data ParticipationType Source #
Instances
Eq ParticipationType Source # | |
Defined in DMCC.Types (==) :: ParticipationType -> ParticipationType -> Bool # (/=) :: ParticipationType -> ParticipationType -> Bool # | |
Show ParticipationType Source # | |
Defined in DMCC.Types showsPrec :: Int -> ParticipationType -> ShowS # show :: ParticipationType -> String # showList :: [ParticipationType] -> ShowS # | |
ToJSON ParticipationType Source # | |
Defined in DMCC.Types toJSON :: ParticipationType -> Value # toEncoding :: ParticipationType -> Encoding # toJSONList :: [ParticipationType] -> Value # toEncodingList :: [ParticipationType] -> Encoding # | |
FromJSON ParticipationType Source # | |
Defined in DMCC.Types parseJSON :: Value -> Parser ParticipationType # parseJSONList :: Value -> Parser [ParticipationType] # | |
ToText ParticipationType Source # | |
Defined in DMCC.XML.Request toText :: ParticipationType -> Text Source # |
newtype LoggingOptions Source #
data SessionOptions Source #
SessionOptions | |
|