OBJECT

Professional

A professional agent employed by a brand ('Admin', 'Manager' or 'Operator')

link GraphQL Schema definition

  • type Professional implements User {
  • # Id used to bind a user from a SAML identity provider to an iAdvize user
  • samlUserId: String @deprecated( reason: "Use 'samlId' field instead." )
  • # Id used to bind a user from a SAML identity provider to an iAdvize user
  • samlId: String
  • # Language in which to display the platform interface
  • interfaceLanguage: Locale @deprecated( reason: "Use 'countryPreferences' field instead" )
  • # The external id is an identifier representing the user in another system.
  • externalId: String
  • # Group this user is a member of.
  • # For more information, see
  • # https://help.iadvize.com/hc/en-gb/articles/203280696-Use-the-user-groups.
  • group: UserGroup
  • # Specifies if the operator should be prompted for a click to call phone number
  • askForClickToCallPhoneNumber: Boolean @deprecated( reason: "Define call settings in 'channelConfiguration' field instead" )
  • # The phone number used to call the operator or a voip identifier
  • clickToCallPhoneNumber: String @deprecated( reason: "Define call settings in 'channelConfiguration' field instead" )
  • # Role name, e.g. "admin", "manager", "operator"
  • roleName: String @deprecated( reason: "Use 'role' field instead" )
  • # The User's role, including custom roles
  • role: ProfessionalRoleWithPermissions
  • # Configuration of the different channels for this user
  • channels: ChannelConfiguration
  • # Last time the user logged in
  • lastLoggedAt: DateTime
  • # User id
  • id: LegacyId!
  • # User email
  • email: String
  • # User last name
  • lastName: String!
  • # User first name
  • firstName: String
  • # The user pseudo will be displayed under the avatar in the chatbox. It can be
  • # used to keep the real identity of agents secret and to attribute a nickname to
  • # the user profile.
  • pseudo: String @deprecated( reason: "Use 'userName' field instead" )
  • # The user-name will be displayed under the avatar in the chatbox. It can be used
  • # to keep the real identity of agents secret and to attribute a nickname to the
  • # user profile.
  • userName: String
  • # User avatar url
  • avatarUrl: URL @deprecated( reason: "Use 'avatar' field instead" )
  • # User avatar url
  • avatar: URL
  • # User creation datetime
  • createdAt: DateTime
  • # Indicates if User has been deleted
  • isDeleted: Boolean
  • # User deletion datetime
  • deletedAt: DateTime
  • # Languages in which the user is able to accept a chat
  • spokenLanguages: [Language!]! @deprecated( reason: "Use 'countryPreferences' field instead" )
  • # Skills of the user.
  • # The user's skills can be used to determine which routing group the user will be
  • # a member of.
  • # For more information regarding how to create and use skills, please see the
  • # following documentation:
  • # https://help.iadvize.com/hc/en-gb/articles/203444283-Use-the-skills.
  • skills: [Skill!]
  • # Presence of the user
  • presence: UserPresence
  • # Channels availabilities of the user
  • availability: UserAvailability
  • # Projects assigned to the user, determining which projects the user can handle
  • # conversations for
  • #
  • # Arguments
  • # before: Returns the elements in the list that come before the
  • # specified cursor.
  • # after: Returns the elements in the list that come after the
  • # specified cursor.
  • # first: Returns the first n elements from the list.
  • # last: Returns the last n elements from the list.
  • projects(before: String, after: String, first: Int, last: Int): UserProjectConnection
  • # User's preferences concerning locale, time/date format, etc
  • countryPreferences: CountryPreferences
  • }