INTERFACE

User

link GraphQL Schema definition

  • interface User {
  • # 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
  • # Language in which to display the platform interface
  • interfaceLanguage: Locale @deprecated( reason: "Use 'countryPreferences' field instead" )
  • # 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
  • }