Details about the user and merchant authenticated in this request.
merchantMerchantDetails about the authenticated merchant.
rights[Right!]Associated rights based on authentication.
userUserDetails about the authenticated user.
idIDDeprecatedsince 2019-05-29Use user for id instead.
Unique identifier.
roles[Role!]Deprecatedsince 2019-05-29Use user for roles instead.
Associated roles.
statusUserUse user for status instead.
Current status.
type Viewer {
id: ID @deprecated(reason: "Use `user` for id instead.")
email: String @deprecated(reason: "Use `user` for email instead.")
status: UserStatus @deprecated(reason: "Use `user` for status instead.")
name: String @deprecated(reason: "Use `user` for name instead.")
roles: [Role!] @deprecated(reason: "Use `user` for roles instead.")
user: User
merchant: Merchant
rights: [Right!]
}