hotelFacts.getInfoSections
Read hotel info sections (wifi, parking, transit, house_rules, checkout, luggage). Read-only query.
Input parameters
Returns object.
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
wifi | object | yes | |
wifi.enabled | boolean | yes | |
wifi.content | string | yes | |
parking | object | yes | |
parking.enabled | boolean | yes | |
parking.content | string | yes | |
transit | object | yes | |
transit.enabled | boolean | yes | |
transit.content | string | yes | |
house_rules | object | yes | |
house_rules.enabled | boolean | yes | |
house_rules.content | string | yes | |
checkout | object | yes | |
checkout.enabled | boolean | yes | |
checkout.content | string | yes | |
luggage | object | yes | |
luggage.enabled | boolean | yes | |
luggage.content | string | yes |
hotelFacts.getTimeSettings
Read hotel time thresholds (minutes since midnight) for this tenant. Read-only query.
Input parameters
Returns object.
Output fields
The whole object may be null.
| Field | Type | Required | Notes |
|---|---|---|---|
checkInStartMin | integer | yes | |
checkInEndMin | integer | yes | |
checkInEarlyStartMin | integer | yes | |
checkInLateEndMin | integer | yes | |
checkoutStandardMin | integer | yes | |
checkoutLateEndMin | integer | yes | |
accessWindowStartMin | integer | yes | |
accessWindowEndMin | integer | yes |
hotelFacts.updateInfoSection
Update a single hotel info section (owner-only). Mutation — changes data.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
key | enum | yes | One of: wifi, parking, transit, house_rules, checkout, luggage |
enabled | boolean | yes | |
content | string | yes |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
ok | boolean | yes |
hotelFacts.updateTimeSettings
Update hotel time thresholds (owner-only). Mutation — changes data.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
checkInStartMin | integer | yes | |
checkInEndMin | integer | yes | |
checkInEarlyStartMin | integer | yes | |
checkInLateEndMin | integer | yes | |
checkoutStandardMin | integer | yes | |
checkoutLateEndMin | integer | yes | |
accessWindowStartMin | integer | yes | |
accessWindowEndMin | integer | yes |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
ok | boolean | yes |
hotelFacts.upsert
Upsert a single fact's value for a given locale (default: "de"). Creates the fact if it doesn't exist (with optional description), merges translations if it does. Also updates description when provided. Pattern A: explicit tenantId eq filter on all DB operations. Mutation — changes data.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
key | string | yes | |
locale | string | no | Default: "de" |
value | string | yes | |
description | string | no |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |