tRPC router
businessFlyers
server_flyer_generated — every paint request (each is an AI image call). `mode`: paint (new, in a look) / direction (fresh ideas) / again / recompose (4:5 feed post) / fix / refresh. Keeping one is `server_flyer_kept`.
Procedures (15)
Input
{
eventId: string // uuid
}Input
{
eventId: string // uuid
language?: "en+de" | "en" | "de" | "es" | "ru" | "en+es" // default "en+de"
}Input
{
eventId: string // uuid
text: string // len 0..5000
}Input
{
eventId: string // uuid
postId?: string | null
}Input
{
eventId: string // uuid
urls: string[] // items 1..5
}Input
{
eventId: string // uuid
postId?: string | null
lookId?: string | null
look?: {
name?: string // len 0..60
description: string // len 10..2000
palette?: {
name: string // len 0..40
hex: string // /^#[0-9a-fA-F]{6}$/
}[] // items 0..8
inspiration?: string | null
}
references?: string[] // items 0..5
}Input
{
eventId: string // uuid
postId?: string | null
feelings: string[] // items 1..3
inspiration?: string | null
picks?: {
builtIn: string // len 0..60
} | {
lookId: string // uuid
}[] // items 1..4
}Input
{
flyerIds: string[] // items 1..20
}Input
{
flyerId: string // uuid
}Input
{
flyerId: string // uuid
}Input
{
flyerId: string // uuid
notes: string // len 2..500
}Input
{
eventId: string // uuid
postId?: string | null
}Input
{
batchId: string // uuid
}Input
{
flyerId: string // uuid
lookName?: string // len 1..60
}Input
{
fromUsername: string // len 1..∞
toUsername: string // len 1..∞
}