FoyerDevelopers

Generated · Live registry

breakfast tools

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

All tool domains

breakfast.confirm

writes

Confirms a breakfast booking (id) with the actual number of guests (pax) and an optional note, and sets the confirmation timestamp. Owner only. Changes data. Mutation — changes data.

Input parameters

FieldTypeRequiredNotes
idstringyes
paxintegeryes
notestringno

Output fields

FieldTypeRequiredNotes
okliteralyesOne of: true

breakfast.getSettings

read-only

Returns the property's breakfast settings (enabled, price in cents, currency); without an entry, breakfast is off. Any signed-in role. Read-only.

Input parameters

Returns object.

Output fields

FieldTypeRequiredNotes
enabledbooleanno
priceCentsintegerno
currencystringno

breakfast.listForDate

read-only

Lists the breakfast bookings for one day (date as YYYY-MM-DD) with number of guests, note and confirmation status. Any signed-in role. Read-only.

Input parameters

FieldTypeRequiredNotes
datestringyes

Output fields

Returns array of object. Fields of each element:

FieldTypeRequiredNotes
idstringyes
tenantIdstringyes
stayIdstringyes
datestringyes
paxinteger · nullableyes
notestring · nullableyes
reminderSentAtstringyes
confirmedAtstring · nullableyes

breakfast.setSettings

writes

Sets the property's breakfast settings: enabled, optional priceCents (price in cents) and currency (default EUR). Owner only. Changes data. Mutation — changes data.

Input parameters

FieldTypeRequiredNotes
enabledbooleanyes
priceCentsintegerno
currencystringnoDefault: "EUR"

Output fields

FieldTypeRequiredNotes
okliteralyesOne of: true