INPUT_OBJECT

ProfessionalUpdateInput

Input for the professionalUpdate mutation. Besides userId, all fields are optional, which allows updating only the desired user information.

link GraphQL Schema definition

  • input ProfessionalUpdateInput {
  • # Id of the professional user to update.
  • userId: LegacyId!
  • # Set the user's email address to the given value.
  • # If omitted or `null`, the user's email won't be changed.
  • email: String
  • # Set the user's password to the given value.
  • # The password must be at least 10 characters long.
  • # If omitted or `null`, the user's password won't be changed.
  • password: String
  • # Set the user's last name to the given value.
  • # If omitted or `null`, the user's last name won't be changed.
  • lastName: String
  • # Set the user's pseudo to the given value.
  • # 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.
  • # If omitted or `null`, the user's pseudo won't be changed.
  • pseudo: String
  • # Set the user's role to the given value.
  • # The role name must be either "operator", "manager", or "admin".
  • # If omitted or `null`, the user's role won't be changed.
  • roleName: String
  • # Set the user's interface language to the given value.
  • # If omitted or `null`, the user's interface language won't be changed.
  • interfaceLanguage: Locale
  • # Set the user's click to call phone number
  • clickToCallPhoneNumber: String
  • # Set the user's first name to the given value.
  • # If `null`, the user's first name will be unset.
  • # If omitted, the user's first name will not be changed.
  • firstName: String
  • # Set the user's spoken languages to the given values.
  • # This field determines in which languages the user will be able to handle
  • # conversations.
  • # If omitted or `null`, the user's spoken languages won't be changed.
  • spokenLanguages: [Language!]
  • }

link Require by