OBJECT

AppointmentTypeEntity

Configurable category of appointments, such as a meeting or a call, that defines their form layout and icon.

link GraphQL Schema definition

  • type AppointmentTypeEntity {
  • # Unique identifier of entity.
  • id: ID!
  • # Specifies if the entity is considered deleted.
  • isDeleted: Boolean
  • # Last modification time.
  • modified: DateTime
  • # Creation time.
  • created: DateTime
  • # JSON definition of the form layout used by the UI when creating or editing
  • # appointments of this type. This payload conforms to the `Form` JSON Schema:
  • # https://api-doc.coevera.com/schemas/Form.json
  • formEdit: JSONString!
  • # Icon used to display appointments of this type in the UI.
  • icon: ActivityTypeIconEnum
  • # True when the appointment type is system-managed and cannot be edited or deleted
  • # by users.
  • isReadonly: Boolean!
  • # Name of the entity and its default text representation.
  • name: String!
  • # True when the entity configuration is published; false while it exists only as
  • # an unpublished draft.
  • isPublished: Boolean
  • # Revision when entity was lastly changed.
  • revision: Int
  • # True when the record has unpublished draft changes, including pending
  • # translation changes, that can be published.
  • hasDraft: Boolean
  • # 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!
  • # Typed, read-only view of a form layout of this type: formEditApi mirrors the
  • # edit form (formEdit), formLostApi the form shown when archiving as lost
  • # (formLost).
  • formEditApi: Form
  • # False for types whose read-only setting is fixed, such as the recurrent
  • # appointment type; true otherwise.
  • canChangeReadonly: Boolean
  • # 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!]!
  • }