stayAccess.clearOverride
writesconfirm
Clear an assistant access-code override for a stay.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
stayId | string | yes |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
ok | boolean | yes |
stayAccess.getResolved
read-only
Returns the resolved access info for a stay (override > extracted > tenant default). Join chain (corrected — no propertyUuid): stays.externalRef = hospitablePropertyReservations.exReservationId hospitablePropertyReservations.exPropertyId = hospitableProperties.exId Every query carries explicit tenant fence (eq(table.tenantId, ctx.tenantId)). Read-only query.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
stayId | string | yes |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
entranceCode | string · nullable | yes | |
rooms | array of object | yes | |
rooms.roomNumber | string | yes | |
rooms.keyboxCode | string | yes |
stayAccess.setOverride
writes
Set an assistant access-code override for a stay.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
stayId | string | yes | |
entranceCode | string · nullable | yes | |
rooms | array of object | yes | |
rooms.roomNumber | string | yes | |
rooms.keyboxCode | string | yes |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
ok | boolean | yes |