My App
RoomKitType Reference

Enums

Enumeration types used in the RoomKit library

LocationNodeType

Types of nodes in the location hierarchy.

enum LocationNodeType {
    INSTITUTION = "institution",
    CAMPUS = "campus",
    BUILDING = "building",
    FLOOR = "floor",
    WING = "wing",
    ROOM = "room",
}
ValueDescription
institutionTop-level institution (e.g., university)
campusA campus within an institution
buildingA building within a campus
floorA floor within a building
wingA wing or section within a floor
roomA bookable room (leaf node)

BookingStatus

Lifecycle states for a booking.

enum BookingStatus {
    REQUESTED = "requested",
    CONFIRMED = "confirmed",
    IN_PROGRESS = "in_progress",
    COMPLETED = "completed",
    CANCELLED = "cancelled",
}
ValueDescriptionTerminal
requestedInitial state after creationNo
confirmedApproved and scheduledNo
in_progressCurrently active (checked in)No
completedFinished successfullyYes
cancelledCancelled at any stageYes

RecurrenceFrequency

Frequency patterns for recurring bookings.

enum RecurrenceFrequency {
    WEEKLY = "weekly",
    BIWEEKLY = "biweekly",
    CUSTOM = "custom",
}
ValueDescription
weeklyEvery week on the specified days
biweeklyEvery other week on the specified days
customOnly on specified ISO calendar weeks

RecurrenceModType

Tracks how a recurring booking instance relates to its series.

enum RecurrenceModType {
    ORIGINAL = "original",
    MODIFIED = "modified",
    DETACHED = "detached",
}
ValueDescription
originalUnmodified instance as expanded from the rule
modifiedIndividual instance that was changed
detachedInstance detached from the series

BlackoutScope

Scope levels for blackout windows.

enum BlackoutScope {
    ROOM = "room",
    FLOOR = "floor",
    BUILDING = "building",
    CAMPUS = "campus",
    INSTITUTION = "institution",
}

ExamLayoutType

Layout configurations for exam sessions.

enum ExamLayoutType {
    EVERY_OTHER_SEAT = "every-other-seat",
    FULL = "full",
}
ValueCapacity Used
every-other-seatRoom.examCapacity
fullRoom.seatedCapacity

ConflictResolutionType

How a booking conflict was resolved.

enum ConflictResolutionType {
    REJECT_NEW = "reject_new",
    DISPLACE_EXISTING = "displace_existing",
    MANUAL = "manual",
}

BulkOperationType

Types of bulk operations.

enum BulkOperationType {
    SEMESTER_IMPORT = "semester_import",
    DATE_SHIFT = "date_shift",
    BATCH_CANCEL = "batch_cancel",
}

BulkOperationStatus

Lifecycle states for bulk operations.

enum BulkOperationStatus {
    PENDING = "pending",
    PROCESSING = "processing",
    COMPLETED = "completed",
    FAILED = "failed",
}

On this page