OBJECT

SalesUnitClientRelationEntity

Membership of a user in a sales unit, as a member or manager.

link GraphQL Schema definition

  • type SalesUnitClientRelationEntity {
  • # True when the record is protected against deletion because it must always exist
  • # in the space. Deleting a record that is not protected can still fail on other
  • # checks. Read-only.
  • isDeleteProtected: Boolean!
  • # Unique identifier of entity.
  • id: ID!
  • # Specifies if the entity is considered deleted.
  • isDeleted: Boolean
  • # Last modification time.
  • modified: DateTime
  • # Creation time.
  • created: DateTime
  • # User belonging to the sales unit.
  • client: ClientEntity
  • # Sales unit the user belongs to.
  • unit: SalesUnitEntity
  • # Id of the user.
  • clientId: ID!
  • # Id of the sales unit.
  • unitId: ID!
  • # Role of the user in the sales unit: Member, or Manager, which also covers all
  • # subunits of the unit.
  • unitRole: UnitRoleEnum
  • # Revision when entity was lastly changed.
  • revision: Int
  • # Permissions the current user has on this record, out of the requested ones.
  • #
  • # Arguments
  • # permissions: Permissions to check; the result lists those the
  • # current user has.
  • instancePermissions(permissions: [EntityPermsEnum!]!): [EntityPermsEnum!]!
  • }