Module Values_0.ParticipantMetricsSource

Information about a participant's interactions in a contact.

Sourcetype nonrec t = {
  1. participantId : ParticipantId.t option;
    (*

    The Participant's ID.

    *)
  2. participantType : ParticipantType.t option;
    (*

    Information about the conversation participant. Following are the participant types: [Agent, Customer, Supervisor].

    *)
  3. conversationAbandon : NullableBoolean.t option;
    (*

    A boolean flag indicating whether the chat conversation was abandoned by a Participant.

    *)
  4. messagesSent : Count.t option;
    (*

    Number of chat messages sent by Participant.

    *)
  5. numResponses : Count.t option;
    (*

    Number of chat messages sent by Participant.

    *)
  6. messageLengthInChars : Count.t option;
    (*

    Number of chat characters sent by Participant.

    *)
  7. totalResponseTimeInMillis : DurationMillis.t option;
    (*

    Total chat response time by Participant.

    *)
  8. maxResponseTimeInMillis : DurationMillis.t option;
    (*

    Maximum chat response time by Participant.

    *)
  9. lastMessageTimestamp : string option;
    (*

    Timestamp of last chat message by Participant.

    *)
}
Sourceval make : ?participantId:??? -> ?participantType:??? -> ?conversationAbandon:??? -> ?messagesSent:??? -> ?numResponses:??? -> ?messageLengthInChars:??? -> ?totalResponseTimeInMillis:??? -> ?maxResponseTimeInMillis:??? -> ?lastMessageTimestamp:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of NullableBoolean.t | `Enum of string | `Integer of Count.t | `Long of DurationMillis.t | `String of ParticipantId.t | `Timestamp of string ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t