type alias AttendeeWithBookings

An attendee with all their listing bookings (for token resolution)

Properties

id: number

Base attendee fields (PII, token, created — shared across listings)

created: string
kind: string
ticket_token: string
ticket_token_index: BlindIndex
pii_blob: OwnerKeyEncrypted
remaining_balance: number

Order-level remaining balance in minor units (plaintext).

status_id: number | null

Owner-defined status id (plaintext); null for legacy/default.

Per-listing bookings, sorted by start_at then listing_id

Usage

import { type AttendeeWithBookings } from "docs/database.ts";