Worker
Properties:
Name | Type | Description |
---|---|---|
sid |
string | SID of the user |
name |
string | user name |
fullName |
string | full name of the user. Either `full_name` from attributes of the user or `name` |
activityName |
string | name of the activity set for the user |
attributes |
IWorker.WorkerAttributes | attributes of the worker |
dateUpdated |
Date | date when user was updated |
isAvailable |
boolean | whether activity set for the user is an available activity |
activityDuration |
string | for how long user has been in the current activity state |
Type Definitions
Object
# WorkerAttributes
Worker attributes
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
routing |
WorkerSkillsType |
<optional> |
skills used for routing |
disabled_skills |
WorkerSkillsType |
<optional> |
all other skills that are currently not active |
# WorkerSkillsType
Worker skills
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
skills |
Array.<string> |
<optional> |
skills for the user |
levels |
Object |
<optional> |
skill levels for the user. Key of the level is skill `name` |
name |
number |
<optional> |
level of a particular skill |