fix compileation eror

This commit is contained in:
androidlover5842
2026-01-26 14:56:52 +05:30
parent 9835435aab
commit 31398d3822
5 changed files with 30 additions and 26 deletions

View File

@@ -98,28 +98,31 @@ Properties / Orgs
- Org create/get returns emailAliases + allowedTransportModes.
Booking flow
- /bookings/{id}/check-in (creates RoomStay rows)
- /bookings/{id}/check-out (closes RoomStay)
- /bookings/{id}/cancel, /no-show
- /bookings/{id}/room-stays (pre-assign RoomStay with date range)
- /room-stays/{id}/change-room (idempotent via RoomStayChange)
- /properties/{propertyId}/bookings/{bookingId}/check-in (creates RoomStay rows)
- /properties/{propertyId}/bookings/{bookingId}/check-out (closes RoomStay)
- /properties/{propertyId}/bookings/{bookingId}/cancel
- /properties/{propertyId}/bookings/{bookingId}/no-show
- /properties/{propertyId}/bookings/{bookingId}/room-stays (pre-assign RoomStay with date range)
- /properties/{propertyId}/room-stays/{roomStayId}/change-room (idempotent via RoomStayChange)
Card issuing
- /room-stays/{id}/cards/prepare -> returns cardIndex + sector0 payload
- /room-stays/{id}/cards -> store issued card
- /room-stays/{id}/cards (list)
- /room-stays/cards/{id}/revoke (ADMIN only)
- /properties/{propertyId}/room-stays/{roomStayId}/cards/prepare -> returns cardIndex + sector0 payload
- /properties/{propertyId}/room-stays/{roomStayId}/cards -> store issued card
- /properties/{propertyId}/room-stays/{roomStayId}/cards (list)
- /properties/{propertyId}/room-stays/cards/{cardId}/revoke (ADMIN only)
Guest APIs
- /properties/{propertyId}/guests/search?phone=... or ?vehicleNumber=...
- /properties/{propertyId}/guests/{guestId}/vehicles (add vehicle)
Guest documents
- /properties/{propertyId}/guests/{guestId}/documents (upload/list/file)
- /properties/{propertyId}/guests/{guestId}/documents (upload/list)
- /properties/{propertyId}/guests/{guestId}/documents/{documentId}/file
- AI extraction with strict system prompt.
Room images
- /properties/{propertyId}/rooms/{roomId}/images (upload/list/file)
- /properties/{propertyId}/rooms/{roomId}/images (upload/list)
- /properties/{propertyId}/rooms/{roomId}/images/{imageId}/file
- Thumbnails generated (320px).
Transport modes
@@ -130,8 +133,8 @@ Inbound email ingestion
- Saves audit PDF + raw .eml under /home/androidlover5842/docs/emails.
- Property match: To/CC email first; fallback to name/code/address/otaAliases.
- AI extracts booking fields; creates/cancels Booking.
- Booking emailAuditPdfUrl -> /properties/{propertyId}/inbound-emails/{emailId}/file
- Manual upload: POST /properties/{propertyId}/inbound-emails/manual (PDF).
- /properties/{propertyId}/inbound-emails/{emailId}/file (audit PDF)
- POST /properties/{propertyId}/inbound-emails/manual (PDF upload)
Realtime
- SSE room board events with heartbeat, on room create/update, check-in/out, and room change.