dmcc-1.1.0.2: AVAYA DMCC API bindings and WebSockets server for AVAYA

Safe HaskellNone
LanguageHaskell2010

DMCC.WebHook

Description

Types and instances for implementing webhook interface for DMCC.

Synopsis

Documentation

data WHEvent Source #

Web hook event.

Constructors

WHEvent 
Instances
Show WHEvent Source # 
Instance details

Defined in DMCC.Agent

ToJSON WHEvent Source # 
Instance details

Defined in DMCC.Agent

FromJSON WHEvent Source # 
Instance details

Defined in DMCC.Agent

data AgentEvent Source #

Events/errors are published to external clients of the agents and may be used by agent subscribers to provide information to user.

Constructors

TelephonyEvent

A telephony-related event, along with an updated snapshot.

StateChange

Arrives when an agent state change has been observed.

TelephonyEventError

An error caused by a telephony-related event.

Fields

RequestError

An error caused by a request from this agent.

Fields