Magidoc

ProfessionalUpdateInput
Input Object

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

Fields

#

clickToCallPhoneNumber

Set the user's click to call phone number

email

Set the user's email address to the given value. If omitted or `null`, the user's email won't be changed.

firstName

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.

interfaceLanguage

Set the user's interface language to the given value. If omitted or `null`, the user's interface language won't be changed.

lastName

Set the user's last name to the given value. If omitted or `null`, the user's last name won't be changed.

password

Set the user's password to the given value. The password must be at least 16 characters long. If omitted or `null`, the user's password won't be changed.

pseudo

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.

roleName

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.

spokenLanguages

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.

userId

Non-null

Id of the professional user to update.

Usages

#

References

#

  • Argument input of field professionalUpdate from type Mutation