FoyerDevelopers

Generated · Live registry

guests tools

1 tool in this domain, generated from the running registry.

All tool domains

guests.set-email

writes

Set the canonical email (guests.canonical_email) for a guest. Tenant-scoped via RLS — only the guest's own tenant can update it. Returns { ok: true } or throws if guest not found. DRY: delegates to the shared setGuestEmail() function (same as the tRPC router).

Input parameters

FieldTypeRequiredNotes
guestIdstringyes
emailstringyes

Output fields

FieldTypeRequiredNotes
okliteralyesOne of: true