Prioritize reservations without a room, review stays blocked by availability, and assign eligible rooms individually or in a batch.
Stays Awaiting a Room · Preview
Loading widget…
Preparing integration examples…
Source under review
The source code and files will be available after this version passes review.
Idle
API contract
Props for integrating the React component in your app.
snapshotUnassignedQueueSnapshot | null (optional)
The front desk queue, eligible room candidates, confirmed assignments and optional local business date. Omit for the built-in example. Pass null for an unavailable queue.
Handles manual or automatic assignment. Publish an updated snapshot after processing, even if no rooms could be assigned. Reject on failure. Omit for a read-only connected queue.
indexnumber (optional)
Applies a short delay to the entrance of the reservation rows.
Data and integration
Preview
A fictional hotel with four unassigned stays, a blocked suite and room choices for the other reservations.
Inputs
Supply reservations with stable id, guest, roomType, arrivalDate and departureDate as local calendar dates in YYYY-MM-DD. Optional avatarSrc and blockedReason add context. Each candidate has id, label and optional description. Omit candidates if availability has not been checked. An empty list means no eligible room was found. Supply optional property, businessDate, stale and recentAssignments. Confirmed entries carry reservationId, guest, optional avatarSrc and room, most recent first.
Source options
Transform the property management system's unassigned bookings to this shape. The host supplies room candidates that cover every night, with departure excluded. The server rechecks room availability, permissions and booking state when applying a request and handles concurrent attempts to assign the same rooms. The widget has no room matching or inventory write logic for connected queues.
Actions
Open a reservation to review blockers or select an eligible room and confirm. Auto assign sends the available batch. View queue shows every unresolved reservation and Assigned opens the confirmation list.
Integration requirements
The preview orders reservations by arrival and counts valid arrivals on or before businessDate as Due now. Invalid stay dates, unknown availability, an empty candidate list or a reported blocker prevent assignment. Stale feeds are read-only. Manual requests contain kind, reservationId and roomId. Auto requests contain kind and the eligible reservationIds in queue order. After a successful request, replace the snapshot with the authoritative queue and any confirmed assignments. Keep unresolved stays and their current blocker reasons. Update recentAssignments and remove confirmed reservations in the same snapshot so the avatar transition can link them.