tRPC router
inquiries
Booking inquiries — anyone asks to book an artist or venue from their page (/@handle, or /@handle/book on the artist's own site), no account needed. The page's team is emailed (Reply-To = the asker) and sees it under "Needs you"; nobody running it → its private booking email, else WeDance passes it on. Limits: 3 a day per asker per page, 10 a day per asker, 30 a day per page.
Procedures (5)
Input
{
handle: string // len 1..200
}Input
{
eventId: string // uuid
handle: string // len 1..200
}Input
{
handle: string // len 1..200
name: string // len 1..120
email: string // email
phone?: string | "" // default ""
organization?: string // len 0..160, default ""
what: string // len 1..60
eventDate?: string | "" // default ""
city?: string // len 0..120, default ""
guests?: number /* int */ | null
budget?: string // len 0..80, default ""
message: string // len 10..2000
asProfile?: string // len 0..200
website?: string // len 0..0, default ""
}Input
{
username: string // len 1..∞
}Input
{
username: string // len 1..∞
id: string // uuid
status: "new" | "answered" | "declined"
}Source: server/trpc/routers/inquiries.ts