Description of icon
Flex UI
API Reference

IWorker

Worker


Properties:

  • source: object

    source object backing the worker

  • 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

    • routing?: WorkerSkillsType - skills used for routing
      • skills?: Array.<string> - skills for the user
      • levels?: object - skill levels for the user. Key of the level is skill name
        • name?: number - level of a particular skill
    • disabled_skills?: WorkerSkillsType - all other skills that are currently not active
      • skills?: Array.<string> - skills for the user
      • levels?: object - skill levels for the user. Key of the level is skill name
        • name?: number - level of a particular skill
  • 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

Need some help?