OBJECT

EntityFitnessEntity

Fitness configuration of a lead or opportunity type: the indicators that flag records of that type needing attention.

link GraphQL Schema definition

  • type EntityFitnessEntity {
  • # 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
  • # Lead type this fitness configuration applies to. Set when configuring fitness
  • # for leads.
  • leadType: LeadTypeEntity
  • # Opportunity type this fitness configuration applies to. Set when configuring
  • # fitness for opportunities.
  • opptyType: OpportunityTypeEntity
  • # Id of the lead type this fitness configuration applies to. Set when configuring
  • # fitness for leads.
  • leadTypeId: ID
  • # Id of the opportunity type.
  • opptyTypeId: ID
  • # Revision when entity was lastly changed.
  • revision: Int
  • # Fitness indicators (system or custom rules) defined for this configuration.
  • #
  • # Arguments
  • # filter: Filter EntityFitnessIndicator relations by target
  • # EntityFitnessIndicator attributes.
  • # orderBy: Order EntityFitnessIndicator relations by target
  • # EntityFitnessIndicator 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.
  • indicatorRelations(
  • filter: EntityFitnessIndicatorFilterInput,
  • orderBy: [EntityFitnessIndicatorOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): EntityFitnessIndicatorEntityConnection
  • # Id of the lead or opportunity type this fitness configuration applies to.
  • entityTypeId: UUID!
  • # Entity kind this fitness configuration applies to (Lead or Opportunity). Derived
  • # from whichever of leadType/opptyType is set.
  • entityType: BaseEntityTypeEnum!
  • # 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!]!
  • }