OBJECT

InterfacePreviewEntity

link GraphQL Schema definition

  • type InterfacePreviewEntity {
  • # 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!
  • hasDraft: 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
  • # Account type the interface preview applies to.
  • accountType: AccountTypeEntity
  • # Appointment type the interface preview applies to.
  • appointmentType: AppointmentTypeEntity
  • # Contact type the interface preview applies to.
  • contactType: ContactTypeEntity
  • # Custom entity type the interface preview applies to.
  • customEntityType: CustomEntityTypeEntity
  • # Lead type the interface preview applies to.
  • leadType: LeadTypeEntity
  • # Opportunity type the interface preview applies to.
  • opptyType: OpportunityTypeEntity
  • # Product type the interface preview applies to.
  • productType: ProductTypeEntity
  • # Project type the interface preview applies to.
  • projectType: ProjectTypeEntity
  • # Quote type the interface preview applies to.
  • quoteType: QuoteTypeEntity
  • # Task type the interface preview applies to.
  • taskType: TaskTypeEntity
  • # Id of the account type.
  • accountTypeId: ID
  • # Id of the appointment type.
  • appointmentTypeId: ID
  • # Ordered ids of fields shown on the record's compact card view.
  • cardFieldIds: [UUID!]!
  • # Chart configurations shown in the preview, each linked to a related entity (e.g.
  • # recent activities, related contacts, comments).
  • charts: [InterfacePreviewChart!]!
  • # Id of the contact type.
  • contactTypeId: ID
  • # Id of the custom entity type.
  • customEntityTypeId: ID
  • # Tab configurations shown on the record's detail screen (Detail tab plus
  • # related-entity and lookup tabs).
  • detailTabs: [InterfaceDetailTab!]!
  • # Widget configurations shown on the record's detail screen sidebar (e.g. Status,
  • # KPIs).
  • detailWidgets: [InterfaceDetailWidget!]!
  • # Ordered ids of fields shown in the record's preview pane.
  • fieldIds: [UUID!]!
  • # Id of the lead type.
  • leadTypeId: ID
  • # Id of the opportunity type.
  • opptyTypeId: ID
  • # Id of the product type.
  • productTypeId: ID
  • # Id of the project type.
  • projectTypeId: ID
  • # Id of the quote type.
  • quoteTypeId: ID
  • # Layout-customization settings for the preview (e.g.
  • # is_layout_customization_enabled).
  • settings: InterfacePreviewCustomSettings!
  • # Id of the task type.
  • taskTypeId: ID
  • # True when the interface preview is published; false while it exists only as an
  • # unpublished draft.
  • isPublished: Boolean
  • # Revision when entity was lastly changed.
  • revision: Int
  • # Id of the type the interface preview is configured for, derived from whichever
  • # of the per-entity-type relations is set.
  • entityTypeId: UUID!
  • # For custom entities, the API name of the targeted custom entity. Empty when the
  • # preview targets a built-in entity (use entity_type to identify it).
  • entityApiName: String
  • # Entity kind the interface preview applies to (Account, Lead, Opportunity,
  • # Contact, Task, Appointment, Project, Quote, CustomEntity, or Product). Derived
  • # from whichever of the per-entity-type relations is set.
  • entityType: BaseEntityTypeEnum!
  • # Checks which permissions current user has on concrete entity instance.
  • #
  • # Arguments
  • # permissions: [Not documented]
  • instancePermissions(permissions: [EntityPermsEnum!]!): [EntityPermsEnum!]!
  • }