FoyerDevelopers

Generated · Live registry

hotelFacts tools

5 tools in this domain, generated from the running registry.

All tool domains

hotelFacts.getInfoSections

read-only

Read hotel info sections (wifi, parking, transit, house_rules, checkout, luggage). Read-only query.

Input parameters

Returns object.

Output fields

FieldTypeRequiredNotes
wifiobjectyes
wifi.enabledbooleanyes
wifi.contentstringyes
parkingobjectyes
parking.enabledbooleanyes
parking.contentstringyes
transitobjectyes
transit.enabledbooleanyes
transit.contentstringyes
house_rulesobjectyes
house_rules.enabledbooleanyes
house_rules.contentstringyes
checkoutobjectyes
checkout.enabledbooleanyes
checkout.contentstringyes
luggageobjectyes
luggage.enabledbooleanyes
luggage.contentstringyes

hotelFacts.getTimeSettings

read-only

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.

FieldTypeRequiredNotes
checkInStartMinintegeryes
checkInEndMinintegeryes
checkInEarlyStartMinintegeryes
checkInLateEndMinintegeryes
checkoutStandardMinintegeryes
checkoutLateEndMinintegeryes
accessWindowStartMinintegeryes
accessWindowEndMinintegeryes

hotelFacts.updateInfoSection

writes

Update a single hotel info section (owner-only). Mutation — changes data.

Input parameters

FieldTypeRequiredNotes
keyenumyesOne of: wifi, parking, transit, house_rules, checkout, luggage
enabledbooleanyes
contentstringyes

Output fields

FieldTypeRequiredNotes
okbooleanyes

hotelFacts.updateTimeSettings

writes

Update hotel time thresholds (owner-only). Mutation — changes data.

Input parameters

FieldTypeRequiredNotes
checkInStartMinintegeryes
checkInEndMinintegeryes
checkInEarlyStartMinintegeryes
checkInLateEndMinintegeryes
checkoutStandardMinintegeryes
checkoutLateEndMinintegeryes
accessWindowStartMinintegeryes
accessWindowEndMinintegeryes

Output fields

FieldTypeRequiredNotes
okbooleanyes

hotelFacts.upsert

writes

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

FieldTypeRequiredNotes
keystringyes
localestringnoDefault: "de"
valuestringyes
descriptionstringno

Output fields

FieldTypeRequiredNotes
idstringyes