OBJECT

ClientEntity

link GraphQL Schema definition

  • type ClientEntity {
  • # Tells if the entity instance is protected against delete (Entities that need to
  • # be present in the system at any time). Delete action still may fail if entity is
  • # deletable, due some other additional validations.
  • 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
  • # Default sales unit for the user. New records the user creates are assigned to
  • # this unit by default.
  • defaultUnit: SalesUnitEntity
  • # User role assigned to the user. Determines what features and entities the user
  • # can access.
  • masterRight: MasterRightEntity
  • # Id of the default sales unit.
  • defaultUnitId: ID!
  • # Email. Readonly information from UserProfile.
  • email: String!
  • # First name. Readonly information from UserProfile.
  • firstName: String
  • # Timestamp of the user's most recent login or API request.
  • lastActive: DateTime
  • # Last name. Readonly information from UserProfile.
  • lastName: String
  • # Id of the assigned user role.
  • masterRightId: ID!
  • # Middle name. Readonly information from UserProfile.
  • middleName: String
  • # Phone number. Readonly information from UserProfile.
  • phone: String
  • # Picture name. Readonly information from UserProfile.
  • pictureUrl: String
  • # Job title or position of the user.
  • position: String
  • # Region. Readonly information from UserProfile.
  • region: String
  • # Timezone offset (DEPRECATED)Readonly information from UserProfile.
  • timezone: String
  • # Field whose values are strictly defined with an enumeration of values.
  • type: ClientTypeEnum
  • # Revision when entity was lastly changed.
  • revision: Int
  • # default_idp retrieved from user, if enabled [HEAVY]
  • defaultIdp: Int
  • # ID of the associated user account [HEAVY]
  • userProfileId: Int
  • # Sales units the user belongs to (as member or manager).
  • #
  • # Arguments
  • # filter: Filter SalesUnit relations by target SalesUnit
  • # attributes.
  • # filterEdge: Filter SalesUnitClientRelation relations by edge
  • # (relation) SalesUnitClientRelation attributes.
  • # orderBy: Order SalesUnit relations by target SalesUnit
  • # attributes.
  • # includeDeleted: Returns deleted target records as well. Default
  • # is true.
  • # before: Cursor until which to take entities to result set.
  • # after: Cursor after which to start taking entities to result
  • # set.
  • # first: Number of entities to return from beginning of the
  • # result set.
  • # last: Return only the "last" number of entities from result
  • # set.
  • unitMembership(
  • filter: SalesUnitFilterInput,
  • filterEdge: SalesUnitClientRelationFilterInput,
  • orderBy: [SalesUnitOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): SalesUnitClientRelationEntityConnection
  • # Appointments marked as favorite by the user.
  • #
  • # Arguments
  • # filter: Filter Appointment relations by target Appointment
  • # attributes.
  • # filterEdge: Filter ClientFavorite relations by edge (relation)
  • # ClientFavorite attributes.
  • # orderBy: Order Appointment relations by target Appointment
  • # attributes.
  • # includeDeleted: Returns deleted target records as well. Default
  • # is true.
  • # before: Cursor until which to take entities to result set.
  • # after: Cursor after which to start taking entities to result
  • # set.
  • # first: Number of entities to return from beginning of the
  • # result set.
  • # last: Return only the "last" number of entities from result
  • # set.
  • appointmentFavorite(
  • filter: AppointmentFilterInput,
  • filterEdge: ClientFavoriteFilterInput,
  • orderBy: [AppointmentOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): ClientFavoriteEntityConnection
  • # Tasks marked as favorite by the user.
  • #
  • # Arguments
  • # filter: Filter Task relations by target Task attributes.
  • # filterEdge: Filter ClientFavorite relations by edge (relation)
  • # ClientFavorite attributes.
  • # orderBy: Order Task relations by target Task attributes.
  • # includeDeleted: Returns deleted target records as well. Default
  • # is true.
  • # before: Cursor until which to take entities to result set.
  • # after: Cursor after which to start taking entities to result
  • # set.
  • # first: Number of entities to return from beginning of the
  • # result set.
  • # last: Return only the "last" number of entities from result
  • # set.
  • taskFavorite(
  • filter: TaskFilterInput,
  • filterEdge: ClientFavoriteFilterInput,
  • orderBy: [TaskOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): ClientFavoriteEntityConnection
  • # Accounts marked as favorite by the user.
  • #
  • # Arguments
  • # filter: Filter Account relations by target Account attributes.
  • # filterEdge: Filter ClientFavorite relations by edge (relation)
  • # ClientFavorite attributes.
  • # orderBy: Order Account relations by target Account attributes.
  • # includeDeleted: Returns deleted target records as well. Default
  • # is true.
  • # before: Cursor until which to take entities to result set.
  • # after: Cursor after which to start taking entities to result
  • # set.
  • # first: Number of entities to return from beginning of the
  • # result set.
  • # last: Return only the "last" number of entities from result
  • # set.
  • accountFavorite(
  • filter: AccountFilterInput,
  • filterEdge: ClientFavoriteFilterInput,
  • orderBy: [AccountOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): ClientFavoriteEntityConnection
  • # Contacts marked as favorite by the user.
  • #
  • # Arguments
  • # filter: Filter Contact relations by target Contact attributes.
  • # filterEdge: Filter ClientFavorite relations by edge (relation)
  • # ClientFavorite attributes.
  • # orderBy: Order Contact relations by target Contact attributes.
  • # includeDeleted: Returns deleted target records as well. Default
  • # is true.
  • # before: Cursor until which to take entities to result set.
  • # after: Cursor after which to start taking entities to result
  • # set.
  • # first: Number of entities to return from beginning of the
  • # result set.
  • # last: Return only the "last" number of entities from result
  • # set.
  • contactFavorite(
  • filter: ContactFilterInput,
  • filterEdge: ClientFavoriteFilterInput,
  • orderBy: [ContactOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): ClientFavoriteEntityConnection
  • # Screen profiles marked as favorite by the user.
  • #
  • # Arguments
  • # filter: Filter Profile relations by target Profile attributes.
  • # filterEdge: Filter ClientFavorite relations by edge (relation)
  • # ClientFavorite attributes.
  • # orderBy: Order Profile relations by target Profile attributes.
  • # includeDeleted: Returns deleted target records as well. Default
  • # is true.
  • # before: Cursor until which to take entities to result set.
  • # after: Cursor after which to start taking entities to result
  • # set.
  • # first: Number of entities to return from beginning of the
  • # result set.
  • # last: Return only the "last" number of entities from result
  • # set.
  • profileFavorite(
  • filter: ProfileFilterInput,
  • filterEdge: ClientFavoriteFilterInput,
  • orderBy: [ProfileOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): ClientFavoriteEntityConnection
  • # Reports marked as favorite by the user.
  • #
  • # Arguments
  • # filter: Filter Report relations by target Report attributes.
  • # filterEdge: Filter ClientFavorite relations by edge (relation)
  • # ClientFavorite attributes.
  • # orderBy: Order Report relations by target Report attributes.
  • # includeDeleted: Returns deleted target records as well. Default
  • # is true.
  • # before: Cursor until which to take entities to result set.
  • # after: Cursor after which to start taking entities to result
  • # set.
  • # first: Number of entities to return from beginning of the
  • # result set.
  • # last: Return only the "last" number of entities from result
  • # set.
  • reportFavorite(
  • filter: ReportFilterInput,
  • filterEdge: ClientFavoriteFilterInput,
  • orderBy: [ReportOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): ClientFavoriteEntityConnection
  • # Leads marked as favorite by the user.
  • #
  • # Arguments
  • # filter: Filter Lead relations by target Lead attributes.
  • # filterEdge: Filter ClientFavorite relations by edge (relation)
  • # ClientFavorite attributes.
  • # orderBy: Order Lead relations by target Lead attributes.
  • # includeDeleted: Returns deleted target records as well. Default
  • # is true.
  • # before: Cursor until which to take entities to result set.
  • # after: Cursor after which to start taking entities to result
  • # set.
  • # first: Number of entities to return from beginning of the
  • # result set.
  • # last: Return only the "last" number of entities from result
  • # set.
  • leadFavorite(
  • filter: LeadFilterInput,
  • filterEdge: ClientFavoriteFilterInput,
  • orderBy: [LeadOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): ClientFavoriteEntityConnection
  • # Opportunities marked as favorite by the user.
  • #
  • # Arguments
  • # filter: Filter Opportunity relations by target Opportunity
  • # attributes.
  • # filterEdge: Filter ClientFavorite relations by edge (relation)
  • # ClientFavorite attributes.
  • # orderBy: Order Opportunity relations by target Opportunity
  • # attributes.
  • # includeDeleted: Returns deleted target records as well. Default
  • # is true.
  • # before: Cursor until which to take entities to result set.
  • # after: Cursor after which to start taking entities to result
  • # set.
  • # first: Number of entities to return from beginning of the
  • # result set.
  • # last: Return only the "last" number of entities from result
  • # set.
  • opportunityFavorite(
  • filter: OpportunityFilterInput,
  • filterEdge: ClientFavoriteFilterInput,
  • orderBy: [OpportunityOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): ClientFavoriteEntityConnection
  • # IANA timezone name from UserProfile
  • timezoneName: String
  • # Display name of the user, formatted according to the user's name format
  • # preference.
  • name: String
  • # Display name of the user (alias of name).
  • formattedName: String!
  • # List of all managed units (with expanded managed trees, includes whole
  • # managed unit subtree).
  • #
  • unitManagerIds: [UUID!]!
  • # List of all units where a client is member only, not manager.
  • #
  • unitMemberIds: [UUID!]!
  • # State of the user's row-level access recalculation: NoRecalculation (up to
  • # date), Pending (queued), or InProgress.
  • userRecalculationState: UserRecalculationStateEnum
  • # Checks which permissions current user has on concrete entity instance.
  • #
  • # Arguments
  • # permissions: [Not documented]
  • instancePermissions(permissions: [EntityPermsEnum!]!): [EntityPermsEnum!]!
  • }

link Require by