Module Values_1.UserDataSource

Data for a user.

Sourcetype nonrec t = {
  1. user : UserReference.t option;
    (*

    Information about the user for the data that is returned. It contains the resourceId and ARN of the user.

    *)
  2. routingProfile : RoutingProfileReference.t option;
    (*

    Information about the routing profile that is assigned to the user.

    *)
  3. hierarchyPath : HierarchyPathReference.t option;
    (*

    Contains information about the levels of a hierarchy group assigned to a user.

    *)
  4. status : Values_0.AgentStatusReference.t option;
    (*

    The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor manually changes in the real-time metrics report.

    *)
  5. availableSlotsByChannel : Values_0.ChannelToCountMap.t option;
    (*

    A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.

    *)
  6. maxSlotsByChannel : Values_0.ChannelToCountMap.t option;
    (*

    A map of maximum slots by channel. The key is a channel name. The value is an integer: the maximum number of slots. This is calculated from MediaConcurrency of the RoutingProfile assigned to the agent.

    *)
  7. activeSlotsByChannel : Values_0.ChannelToCountMap.t option;
    (*

    A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.

    *)
  8. contacts : Values_0.AgentContactReferenceList.t option;
    (*

    A list of contact reference information.

    *)
  9. nextStatus : Values_0.AgentStatusName.t option;
    (*

    The Next status of the agent.

    *)
}
Sourceval make : ?user:??? -> ?routingProfile:??? -> ?hierarchyPath:??? -> ?status:??? -> ?availableSlotsByChannel:??? -> ?maxSlotsByChannel:??? -> ?activeSlotsByChannel:??? -> ?contacts:??? -> ?nextStatus:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `String of string ]) list | `Timestamp of string ]) list ] list | `Map of ([> `Enum of string ] * [> `Integer of int ]) list | `String of Values_0.AgentStatusName.t | `Structure of (string * [> `String of Values_0.UserId.t | `Structure of (string * [> `String of Values_0.HierarchyGroupId.t ]) list | `Timestamp of string ]) list ]) 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