{"openapi":"3.1.0","info":{"title":"GenZ Play Fest API","version":"0.1.0"},"paths":{"/":{"get":{"tags":["Health"],"summary":"Read Root","operationId":"read_root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health":{"get":{"tags":["Health"],"summary":"Health Check","description":"Liveness + readiness probe.\nVerifies the database connection so platform health checks (Fast API cloud)\nare meaningful: 200 when the DB is reachable, 503 when it isn't.","operationId":"health_check_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/users":{"get":{"tags":["Users"],"summary":"Get Users","description":"Admin user list, enriched with per-user ticket source so the admin\npanel can distinguish PAID tickets from GRANTED (free) ones.\n\nticket_source logic per user:\n  - \"granted\"  — every ticket-bearing order has no payment_reference\n                 (created by the grant-ticket endpoint)\n  - \"paid\"     — at least one ticket-bearing order has a payment_reference\n  - None       — no tickets at all\n\nRequires a known admin (super admin email or is_admin flag). Silent\nusers are invisible to everyone except the super admin email.","operationId":"get_users_users_get","parameters":[{"name":"requester_email","in":"query","required":false,"schema":{"type":"string","title":"Requester Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Users"],"summary":"Create User","operationId":"create_user_users_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/{user_id}":{"delete":{"tags":["Users"],"summary":"Delete User","description":"Delete a user and everything tied to them: tickets, orders, order items.\nSUPER ADMIN ONLY — the requester email must match the silent-grant gate.\nThe Neon Auth account itself (login) is not touched; only fest data goes.","operationId":"delete_user_users__user_id__delete","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/{auth_user_id}":{"get":{"tags":["Users"],"summary":"Get User","description":"Single-user lookup. Closes a ghost-mode hole: the ungated version let\nanonymous callers fetch any user's record — including silent-granted\nghost users — by ID. Self-lookup stays open (cart/sign-in flows fetch\ntheir own record); fetching a DIFFERENT user's record requires a known\nadmin, and silent users stay invisible to non-super-admins.","operationId":"get_user_users__auth_user_id__get","parameters":[{"name":"auth_user_id","in":"path","required":true,"schema":{"type":"string","title":"Auth User Id"}},{"name":"requester_email","in":"query","required":false,"schema":{"type":"string","title":"Requester Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/signup":{"post":{"tags":["Users"],"summary":"Track Signup","description":"Record a fresh sign-up BEFORE email verification completes.\nThe admin verification-fallback tool uses these rows to email a fresh\nverification code to anyone who created a Neon Auth account but hasn't\nverified (and therefore has no usable account yet).\nRows are deleted once the user verifies (see sync_user).","operationId":"track_signup_users_signup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupTrackRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sync-user":{"post":{"tags":["Users"],"summary":"Sync User","operationId":"sync_user_sync_user_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncUserRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/{auth_user_id}":{"get":{"tags":["Profile"],"summary":"Get User Profile","operationId":"get_user_profile_profile__auth_user_id__get","parameters":[{"name":"auth_user_id","in":"path","required":true,"schema":{"type":"string","title":"Auth User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/merch":{"get":{"tags":["Merch"],"summary":"Get Merch","operationId":"get_merch_merch_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/merch":{"get":{"tags":["Merch"],"summary":"Get All Merch","operationId":"get_all_merch_admin_merch_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["Merch"],"summary":"Create Merch","operationId":"create_merch_admin_merch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MerchCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/merch/{item_id}":{"put":{"tags":["Merch"],"summary":"Update Merch","operationId":"update_merch_admin_merch__item_id__put","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"integer","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MerchUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Merch"],"summary":"Delete Merch","operationId":"delete_merch_admin_merch__item_id__delete","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"integer","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tickets/{auth_user_id}":{"get":{"tags":["Tickets"],"summary":"Get User Tickets","operationId":"get_user_tickets_tickets__auth_user_id__get","parameters":[{"name":"auth_user_id","in":"path","required":true,"schema":{"type":"string","title":"Auth User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tickets/transfer":{"post":{"tags":["Tickets"],"summary":"Transfer Ticket","description":"Start a pending transfer: emails the recipient a claim link.\nThe ticket stays with the owner until the recipient claims it, so the\nowner can reclaim (cancel) the transfer at any time before that.","operationId":"transfer_ticket_tickets_transfer_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketTransferRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tickets/claim":{"post":{"tags":["Tickets"],"summary":"Claim Ticket","description":"Recipient claims a pending transfer using the secret token from the email.","operationId":"claim_ticket_tickets_claim_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketClaimRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tickets/reclaim":{"post":{"tags":["Tickets"],"summary":"Reclaim Ticket","description":"Owner cancels a pending transfer before the recipient claims it.","operationId":"reclaim_ticket_tickets_reclaim_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketReclaimRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/orders/{auth_user_id}":{"get":{"tags":["Orders"],"summary":"Get User Orders","operationId":"get_user_orders_orders__auth_user_id__get","parameters":[{"name":"auth_user_id","in":"path","required":true,"schema":{"type":"string","title":"Auth User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/checkout":{"post":{"tags":["Checkout"],"summary":"Checkout","operationId":"checkout_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/houses":{"get":{"tags":["Admin"],"summary":"Get Houses","description":"House configs + live gender counts. Silent-granted tickets are\nexcluded from the counts unless the requester is the super admin email,\nso ghost users never surface through house numbers on any admin or\npublic surface.","operationId":"get_houses_admin_houses_get","parameters":[{"name":"requester_email","in":"query","required":false,"schema":{"type":"string","title":"Requester Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Admin"],"summary":"Create House","operationId":"create_house_admin_houses_post","parameters":[{"name":"requester_email","in":"query","required":false,"schema":{"type":"string","title":"Requester Email"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HouseCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/houses/{house_name}":{"put":{"tags":["Admin"],"summary":"Update House","operationId":"update_house_admin_houses__house_name__put","parameters":[{"name":"house_name","in":"path","required":true,"schema":{"type":"string","title":"House Name"}},{"name":"requester_email","in":"query","required":false,"schema":{"type":"string","title":"Requester Email"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HouseUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Admin"],"summary":"Delete House","operationId":"delete_house_admin_houses__house_name__delete","parameters":[{"name":"house_name","in":"path","required":true,"schema":{"type":"string","title":"House Name"}},{"name":"requester_email","in":"query","required":false,"schema":{"type":"string","title":"Requester Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/houses/reseed":{"post":{"tags":["Admin"],"summary":"Reseed Houses","operationId":"reseed_houses_admin_houses_reseed_post","parameters":[{"name":"requester_email","in":"query","required":false,"schema":{"type":"string","title":"Requester Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/stats":{"get":{"tags":["Admin"],"summary":"Get Admin Stats","operationId":"get_admin_stats_admin_stats_get","parameters":[{"name":"requester_email","in":"query","required":false,"schema":{"type":"string","title":"Requester Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/orders":{"get":{"tags":["Admin"],"summary":"Get All Orders","operationId":"get_all_orders_admin_orders_get","parameters":[{"name":"requester_email","in":"query","required":false,"schema":{"type":"string","title":"Requester Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/orders/clear":{"post":{"tags":["Admin"],"summary":"Clear All Orders","description":"Delete all orders, order items, tickets, and reset user house/ticket_status.\nPreserves users, houses, merch items, and events. Silent grants are\nuntouched — ghost users survive a test-data clear by design.","operationId":"clear_all_orders_admin_orders_clear_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/orders/recover-stuck":{"post":{"tags":["Admin"],"summary":"Recover Stuck Orders","description":"Re-fulfill orders stuck at status 'paid' with total ₦0 (a crash after\nthe payment was verified but before tickets were issued).\n\nPass ?order_id=ORD-... to recover one order, or call without it to sweep\nevery stuck order. Idempotent — already-completed orders are skipped.","operationId":"recover_stuck_orders_admin_orders_recover_stuck_post","parameters":[{"name":"order_id","in":"query","required":false,"schema":{"type":"string","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/resend-grant-emails":{"post":{"tags":["Admin"],"summary":"Resend Grant Emails","description":"Send confirmation emails to all users who have granted tickets (free orders).\nIdempotent — calling it again just re-sends the emails.","operationId":"resend_grant_emails_admin_resend_grant_emails_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/users/{user_id}/role":{"patch":{"tags":["Admin"],"summary":"Update User Role","description":"Toggle a user's admin role. Send {\"is_admin\": true} or {\"is_admin\": false}.","operationId":"update_user_role_admin_users__user_id__role_patch","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/house":{"patch":{"tags":["Admin"],"summary":"Update User House","description":"Set a user's house as admin. Keeps everything consistent:\n- user.house (shown in admin)\n- the user's own ticket.house (used in emails/QR) — for 4-pack buyers,\n  only the ticket belonging to the buyer is moved, not the whole group's\n- optionally resends the rich confirmation email with the new house\n(Counts need no maintenance — they derive live from tickets.)","operationId":"update_user_house_admin_users__user_id__house_patch","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserHouseRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/grant-ticket":{"post":{"tags":["Admin"],"summary":"Grant Ticket","description":"Grant a free ticket to a user (super admin only).\nResolve the user by auth_user_id or email. If neither matches an existing\nuser, a guest account is created from the email so sponsors/VIPs don't\nneed to sign up first.\nAssigns a house via round-robin, generates serial number and QR code.","operationId":"grant_ticket_admin_users_grant_ticket_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantTicketRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/resend-grant-email":{"post":{"tags":["Admin"],"summary":"Resend Grant Email","description":"Re-send the ticket confirmation email to a user who already has a ticket.\nSuper admin only (same gate as silent grants). Useful when the first send\nfailed or a silent grant needs its email re-delivered. Updates the\nticket's email_status with the new outcome.","operationId":"resend_grant_email_admin_users_resend_grant_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResendGrantEmailRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/recalculate-house-counts":{"post":{"tags":["Admin"],"summary":"Recalculate House Counts","description":"Report live-derived house counts computed from actual tickets.\nKept for backwards compatibility with the admin button — there are no\nstored counters to recalculate anymore. Silent-granted tickets are\nexcluded unless the requester is the super admin email.","operationId":"recalculate_house_counts_admin_recalculate_house_counts_post","parameters":[{"name":"requester_email","in":"query","required":false,"schema":{"type":"string","title":"Requester Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/rebalance-houses":{"post":{"tags":["Admin"],"summary":"Rebalance Houses","description":"Reassign tickets to balance house distribution.\nGroups tickets by gender, then distributes each group evenly across\nhouses using round-robin. Updates both ticket.house and user.house.\nSilent-granted tickets are left exactly where they are and never appear\nin the report counts (or the tickets_processed total) — rebalancing must\nnot reshuffle ghosts or expose them.","operationId":"rebalance_houses_admin_rebalance_houses_post","parameters":[{"name":"requester_email","in":"query","required":false,"schema":{"type":"string","title":"Requester Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/sync-user-houses":{"post":{"tags":["Admin"],"summary":"Sync User Houses","description":"Set every user's house to the house of their most recent ticket.\nUsers without tickets keep their current value. Idempotent. Silent\ntickets are skipped so ghost houses stay as granted.","operationId":"sync_user_houses_admin_sync_user_houses_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/backfill-qr":{"post":{"tags":["Admin"],"summary":"Backfill Qr Codes","description":"Generate QR codes for all existing tickets that don't have one.\nTries Cloudinary first for permanent URLs, falls back to base64 data URI.","operationId":"backfill_qr_codes_admin_backfill_qr_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/sync-unverified-users":{"post":{"tags":["Admin"],"summary":"Sync Unverified Users","description":"Import unverified users from Neon Auth (neon_auth.user) into\nfest_pending_signup so the verification-fallback tool can email them.\nCovers users who signed up before pending-signup tracking existed.\nIdempotent: existing pending rows are left untouched.","operationId":"sync_unverified_users_admin_sync_unverified_users_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/verification-fallback":{"post":{"tags":["Admin"],"summary":"Send Verification Fallback","description":"Send a fallback verification-code email to users who signed up but\nhaven't verified their email yet. See services.reminders for the rules.","operationId":"send_verification_fallback_admin_verification_fallback_post","parameters":[{"name":"min_age_minutes","in":"query","required":false,"schema":{"type":"integer","default":15,"title":"Min Age Minutes"}},{"name":"force","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Force"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/carts/remind":{"post":{"tags":["Admin"],"summary":"Remind Abandoned Carts","description":"Manually trigger the abandoned-cart email sweep.","operationId":"remind_abandoned_carts_admin_carts_remind_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/carts/abandoned":{"get":{"tags":["Admin"],"summary":"Get Abandoned Carts","description":"List pending checkout sessions older than 1 hour (abandoned carts).","operationId":"get_abandoned_carts_admin_carts_abandoned_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/remind-no-ticket":{"post":{"tags":["Admin"],"summary":"Remind No Ticket Users","description":"Send a \"your ticket is waiting\" reminder email to every signed-up\nuser who hasn't purchased a ticket yet. See services.reminders.","operationId":"remind_no_ticket_users_admin_remind_no_ticket_post","parameters":[{"name":"force","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Force"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/remind-no-ticket/stats":{"get":{"tags":["Admin"],"summary":"No Ticket Reminder Stats","description":"Stats for the no-ticket reminder tool. See services.reminders.","operationId":"no_ticket_reminder_stats_admin_remind_no_ticket_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/remind-no-ticket/check-and-send":{"post":{"tags":["Admin"],"summary":"Check And Send No Ticket Reminder","description":"Called by Vercel Cron (daily). See services.reminders.","operationId":"check_and_send_no_ticket_reminder_admin_remind_no_ticket_check_and_send_post","parameters":[{"name":"interval_days","in":"query","required":false,"schema":{"type":"integer","default":3,"title":"Interval Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/resend-emails":{"post":{"tags":["Admin"],"summary":"Resend Confirmation Emails","description":"Re-send ticket confirmation emails with QR codes to all ticket holders.\nSafe to call multiple times — idempotent (just sends emails, updates nothing).","operationId":"resend_confirmation_emails_admin_resend_emails_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/cleanup/schedule":{"post":{"tags":["Admin"],"summary":"Schedule Cleanup Reminder","description":"Schedule the security cleanup reminder to fire on July 30, 2026.\nOnce scheduled, calling again is a no-op (idempotent).","operationId":"schedule_cleanup_reminder_admin_cleanup_schedule_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/cleanup/check-and-send":{"post":{"tags":["Admin"],"summary":"Check And Send Cleanup Reminder","description":"Check if it's time to send the cleanup reminder (July 30+).\nIf yes and not sent yet, sends an email via Brevo to the admin.\nSafe to call daily via cron - only fires once.","operationId":"check_and_send_cleanup_reminder_admin_cleanup_check_and_send_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/cleanup/status":{"get":{"tags":["Admin"],"summary":"Get Cleanup Reminder Status","description":"Get the current status of the cleanup reminder.","operationId":"get_cleanup_reminder_status_admin_cleanup_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/payments/initialize":{"post":{"tags":["Payments"],"summary":"Initialize Payment","operationId":"initialize_payment_payments_initialize_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Req"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/payments/verify/{reference}":{"get":{"tags":["Payments"],"summary":"Verify Payment","operationId":"verify_payment_payments_verify__reference__get","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/payments/checkout":{"post":{"tags":["Payments"],"summary":"Paystack Checkout","operationId":"paystack_checkout_payments_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutCompleteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/payments/webhook":{"post":{"tags":["Payments"],"summary":"Paystack Webhook","operationId":"paystack_webhook_payments_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/payments/preview-houses":{"post":{"tags":["Payments"],"summary":"Preview Houses","description":"Predict house assignments for 4-pack recipients.\nReturns each attendee's name, gender, and predicted house.\nDoes NOT create tickets or modify any data (read-only).","operationId":"preview_houses_payments_preview_houses_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Req"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/upload/base64":{"post":{"tags":["Upload"],"summary":"Upload Base64","operationId":"upload_base64_upload_base64_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Base64UploadRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/upload/file":{"post":{"tags":["Upload"],"summary":"Upload File","operationId":"upload_file_upload_file_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_file_upload_file_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events":{"get":{"tags":["Events"],"summary":"Get Events","description":"Get all active events (public)","operationId":"get_events_events_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/events/{event_id}":{"get":{"tags":["Events"],"summary":"Get Event","operationId":"get_event_events__event_id__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/stats/capacity":{"get":{"tags":["Events"],"summary":"Get Event Capacity","description":"Get overall event capacity info: tickets sold vs max attendees.","operationId":"get_event_capacity_events_stats_capacity_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/events":{"get":{"tags":["Events"],"summary":"Get All Events Admin","description":"Get all events including inactive (admin)","operationId":"get_all_events_admin_admin_events_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["Events"],"summary":"Create Event","operationId":"create_event_admin_events_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/events/{event_id}":{"put":{"tags":["Events"],"summary":"Update Event","operationId":"update_event_admin_events__event_id__put","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Events"],"summary":"Delete Event","operationId":"delete_event_admin_events__event_id__delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/tickets/validate":{"post":{"tags":["Validation"],"summary":"Validate Ticket","operationId":"validate_ticket_admin_tickets_validate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/tickets/checkin":{"post":{"tags":["Validation"],"summary":"Checkin Ticket","operationId":"checkin_ticket_admin_tickets_checkin_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/tickets/all":{"get":{"tags":["Validation"],"summary":"Get All Tickets","operationId":"get_all_tickets_admin_tickets_all_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/pitches/submit":{"post":{"tags":["Pitches"],"summary":"Submit Pitch","description":"Submit a startup pitch for consideration.\nOnly ticket holders can submit.","operationId":"submit_pitch_pitches_submit_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Data"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pitches/{pitch_id}":{"put":{"tags":["Pitches"],"summary":"Update Pitch","description":"Update a pitch that the user previously submitted.\nOnly allowed if the pitch is still in \"pending\" status.","operationId":"update_pitch_pitches__pitch_id__put","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"integer","title":"Pitch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pitches/my/{auth_user_id}":{"get":{"tags":["Pitches"],"summary":"Get My Pitches","operationId":"get_my_pitches_pitches_my__auth_user_id__get","parameters":[{"name":"auth_user_id","in":"path","required":true,"schema":{"type":"string","title":"Auth User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pitches/admin":{"get":{"tags":["Pitches"],"summary":"Get All Pitches","operationId":"get_all_pitches_pitches_admin_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/pitches/admin/{pitch_id}":{"get":{"tags":["Pitches"],"summary":"Get Admin Pitch","operationId":"get_admin_pitch_pitches_admin__pitch_id__get","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"integer","title":"Pitch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Pitches"],"summary":"Update Pitch Status","operationId":"update_pitch_status_pitches_admin__pitch_id__patch","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"integer","title":"Pitch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/flash-sale/current":{"get":{"tags":["Flash Sale"],"summary":"Current Flash Sale","description":"The live flash sale for client pricing display, or {\"active\": False}.","operationId":"current_flash_sale_flash_sale_current_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/flash-sale":{"get":{"tags":["Flash Sale"],"summary":"List Flash Sales","description":"All sales, newest first, with live sold counts.","operationId":"list_flash_sales_admin_flash_sale_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["Flash Sale"],"summary":"Create Flash Sale","description":"Schedule (or immediately open) a flash sale. Deactivates any previous\nsale so only one can run at a time.","operationId":"create_flash_sale_admin_flash_sale_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlashSaleRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/flash-sale/{sale_id}/end":{"post":{"tags":["Flash Sale"],"summary":"End Flash Sale","description":"Manually close a sale now (tickets revert to the normal price).","operationId":"end_flash_sale_admin_flash_sale__sale_id__end_post","parameters":[{"name":"sale_id","in":"path","required":true,"schema":{"type":"integer","title":"Sale Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sponsors/submit":{"post":{"tags":["Sponsors"],"summary":"Submit Sponsorship","description":"Phase 1 — save the application as an UNPAID draft and initialize the\n₦2,000 Paystack charge. The application enters the admin pipeline only\nafter the payment verifies (POST /sponsors/complete).","operationId":"submit_sponsorship_sponsors_submit_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SponsorSubmitRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sponsors/complete":{"post":{"tags":["Sponsors"],"summary":"Complete Sponsor Payment","description":"Phase 2 — verify the ₦2,000 charge with Paystack and activate the\napplication. Idempotent: completing twice returns success without\nre-notifying.","operationId":"complete_sponsor_payment_sponsors_complete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SponsorCompleteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sponsors/admin":{"get":{"tags":["Sponsors"],"summary":"List Sponsors","description":"Admin: all sponsor submissions, newest first (optionally filtered by\nstatus). Unpaid drafts come back with payment_status='unpaid' so the panel\ncan separate real applications from abandoned checkouts.","operationId":"list_sponsors_sponsors_admin_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sponsors/admin/{submission_id}":{"patch":{"tags":["Sponsors"],"summary":"Update Sponsor Status","description":"Admin: approve or reject a sponsor submission.","operationId":"update_sponsor_status_sponsors_admin__submission_id__patch","parameters":[{"name":"submission_id","in":"path","required":true,"schema":{"type":"integer","title":"Submission Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SponsorStatusRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/feedback/submit":{"post":{"tags":["Feedback"],"summary":"Submit Feedback","description":"Public: submit event feedback from feedback.thegenzplayfest.com (1.0 only).","operationId":"submit_feedback_feedback_submit_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackSubmitRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/feedback/featured":{"get":{"tags":["Feedback"],"summary":"Get Featured Feedback","description":"Public: featured, non-hidden testimonials for the landing page.","operationId":"get_featured_feedback_feedback_featured_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/feedback/admin":{"get":{"tags":["Feedback"],"summary":"List Feedback Admin","description":"Admin: every submission, newest first, plus the featured count.","operationId":"list_feedback_admin_feedback_admin_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/feedback/admin/{feedback_id}":{"patch":{"tags":["Feedback"],"summary":"Update Feedback Admin","description":"Admin: feature/unfeature or hide/unhide a submission.","operationId":"update_feedback_admin_feedback_admin__feedback_id__patch","parameters":[{"name":"feedback_id","in":"path","required":true,"schema":{"type":"integer","title":"Feedback Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Feedback"],"summary":"Delete Feedback Admin","operationId":"delete_feedback_admin_feedback_admin__feedback_id__delete","parameters":[{"name":"feedback_id","in":"path","required":true,"schema":{"type":"integer","title":"Feedback Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sieve/scrapes":{"post":{"tags":["Sieve"],"summary":"Start Scrape","description":"Start a Sieve run. Persists session_id immediately, then polls in the\nbackground. Accepted calls spend credits and are not idempotent, so this\nendpoint intentionally does not auto-retry on timeout.","operationId":"start_scrape_sieve_scrapes_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartScrapeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Sieve"],"summary":"List Scrapes","operationId":"list_scrapes_sieve_scrapes_get","parameters":[{"name":"requested_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested By"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sieve/scrapes/{session_id}":{"get":{"tags":["Sieve"],"summary":"Get Scrape","operationId":"get_scrape_sieve_scrapes__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"requested_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested By"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sieve/scrapes/{session_id}/messages":{"post":{"tags":["Sieve"],"summary":"Send Followup","description":"Send a follow-up turn. Records the expected turn count first, then\nrecords the turn and polls until status is done AND turns has advanced.","operationId":"send_followup_sieve_scrapes__session_id__messages_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowUpRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sieve/scrapes/{session_id}/files":{"get":{"tags":["Sieve"],"summary":"Download File","operationId":"download_file_sieve_scrapes__session_id__files_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"url","in":"query","required":true,"schema":{"type":"string","description":"Relative file url from files[]","title":"Url"},"description":"Relative file url from files[]"},{"name":"requested_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested By"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Base64UploadRequest":{"properties":{"file_data":{"type":"string","title":"File Data"},"folder":{"type":"string","title":"Folder","default":"genzplayfest/uploads"},"public_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Id"}},"type":"object","required":["file_data"],"title":"Base64UploadRequest"},"Body_upload_file_upload_file_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"folder":{"type":"string","title":"Folder","default":"genzplayfest/uploads"},"public_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Id"}},"type":"object","required":["file"],"title":"Body_upload_file_upload_file_post"},"CheckoutCompleteRequest":{"properties":{"payment_reference":{"type":"string","title":"Payment Reference"},"checkout_token":{"type":"string","title":"Checkout Token"}},"type":"object","required":["payment_reference","checkout_token"],"title":"CheckoutCompleteRequest"},"CheckoutRequest":{"properties":{"auth_user_id":{"type":"string","title":"Auth User Id"},"email":{"type":"string","title":"Email"},"name":{"type":"string","title":"Name"},"gender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender"},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"},"payment_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Reference"},"idempotency_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency Key"}},"type":"object","required":["auth_user_id","email","name","items"],"title":"CheckoutRequest"},"CheckoutResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"order_id":{"type":"string","title":"Order Id"},"house":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"House"},"tickets":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Tickets","default":[]},"total":{"type":"integer","title":"Total"}},"type":"object","required":["success","order_id","total"],"title":"CheckoutResponse"},"CreateUserRequest":{"properties":{"auth_user_id":{"type":"string","title":"Auth User Id"},"email":{"type":"string","title":"Email"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"}},"type":"object","required":["auth_user_id","email"],"title":"CreateUserRequest"},"EventCreate":{"properties":{"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","default":""},"date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date","default":""},"time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Time","default":""},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address","default":""},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City","default":""},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"is_active":{"type":"boolean","title":"Is Active","default":true},"max_attendees":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Attendees"},"sales_deadline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sales Deadline"}},"type":"object","required":["title"],"title":"EventCreate"},"FeedbackSubmitRequest":{"properties":{"name":{"type":"string","maxLength":80,"minLength":1,"title":"Name"},"email":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Email"},"rating":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Rating"},"message":{"type":"string","maxLength":1000,"minLength":1,"title":"Message"},"photo_url":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}],"title":"Photo Url"},"photo_public_id":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Photo Public Id"},"edition":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Edition"}},"type":"object","required":["name","rating","message"],"title":"FeedbackSubmitRequest"},"FeedbackUpdateRequest":{"properties":{"featured":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Featured"},"hidden":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Hidden"}},"type":"object","title":"FeedbackUpdateRequest"},"FlashSaleRequest":{"properties":{"name":{"type":"string","title":"Name","default":"Flash Sale"},"price":{"type":"integer","title":"Price"},"quantity":{"type":"integer","title":"Quantity"},"starts_at":{"type":"string","title":"Starts At"},"ends_at":{"type":"string","title":"Ends At"}},"type":"object","required":["price","quantity","starts_at","ends_at"],"title":"FlashSaleRequest"},"FollowUpRequest":{"properties":{"instruction":{"type":"string","title":"Instruction"},"target_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Target Urls"},"fields":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Fields"},"schema":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Schema"},"output_schema":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Output Schema"},"table_shape":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Shape"},"compliance_mode":{"type":"string","title":"Compliance Mode","default":"regular"},"requested_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested By"}},"type":"object","required":["instruction"],"title":"FollowUpRequest"},"GrantTicketRequest":{"properties":{"auth_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth User Id"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"gender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender","default":"male"},"silent":{"type":"boolean","title":"Silent","default":false},"requested_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested By"},"recipient_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Name"},"include_whatsapp":{"type":"boolean","title":"Include Whatsapp","default":true}},"type":"object","title":"GrantTicketRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HouseCreate":{"properties":{"house_name":{"type":"string","title":"House Name"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name","default":""},"sigil":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sigil","default":"H"},"words":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Words","default":"Play Hard"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","default":""},"traits":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Traits","default":"[]"},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color","default":"from-purple-600 to-purple-800"},"bg":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bg","default":"bg-purple-50"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text","default":"text-purple-800"},"border":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Border","default":"border-purple-600"},"accent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accent","default":"bg-purple-600"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"whatsapp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Whatsapp"}},"type":"object","required":["house_name"],"title":"HouseCreate"},"HouseUpdate":{"properties":{"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"sigil":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sigil"},"words":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Words"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"traits":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Traits"},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color"},"bg":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bg"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"border":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Border"},"accent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accent"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"whatsapp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Whatsapp"}},"type":"object","title":"HouseUpdate"},"MerchCreate":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"price":{"type":"integer","title":"Price"},"category":{"type":"string","title":"Category","default":"general"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"stock":{"type":"integer","title":"Stock","default":0},"sizes":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Sizes"},"stock_by_size":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Stock By Size"},"badge":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Badge"},"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","required":["name","price"],"title":"MerchCreate"},"MerchUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"price":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Price"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"stock":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stock"},"sizes":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Sizes"},"stock_by_size":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Stock By Size"},"badge":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Badge"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"MerchUpdate"},"ResendGrantEmailRequest":{"properties":{"auth_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth User Id"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"requested_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested By"}},"type":"object","title":"ResendGrantEmailRequest"},"SignupTrackRequest":{"properties":{"email":{"type":"string","title":"Email"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"whatsapp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Whatsapp"},"gender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender"}},"type":"object","required":["email"],"title":"SignupTrackRequest"},"SponsorCompleteRequest":{"properties":{"draft_id":{"type":"integer","title":"Draft Id"},"payment_reference":{"type":"string","title":"Payment Reference"}},"type":"object","required":["draft_id","payment_reference"],"title":"SponsorCompleteRequest","description":"Complete a paid application: verify the Paystack charge server-side\nand activate the submission. payment_reference + draft_id must match."},"SponsorStatusRequest":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"SponsorStatusRequest"},"SponsorSubmitRequest":{"properties":{"brand_name":{"type":"string","maxLength":120,"minLength":1,"title":"Brand Name"},"contact_name":{"type":"string","maxLength":120,"minLength":1,"title":"Contact Name"},"email":{"type":"string","maxLength":200,"minLength":3,"title":"Email"},"phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Phone"},"website":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Website"},"sponsor_tier":{"type":"string","title":"Sponsor Tier","default":"red-carpet"},"logo_url":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}],"title":"Logo Url","description":"Cloudinary URL from /upload/file"},"notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Notes"},"callback_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Callback Url"}},"type":"object","required":["brand_name","contact_name","email"],"title":"SponsorSubmitRequest"},"StartScrapeRequest":{"properties":{"instruction":{"type":"string","title":"Instruction"},"target_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Target Urls"},"fields":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Fields"},"schema":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Schema"},"output_schema":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Output Schema"},"table_shape":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Shape"},"compliance_mode":{"type":"string","title":"Compliance Mode","default":"regular"},"requested_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested By"}},"type":"object","required":["instruction"],"title":"StartScrapeRequest"},"SyncUserRequest":{"properties":{"auth_user_id":{"type":"string","title":"Auth User Id"},"email":{"type":"string","title":"Email"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"whatsapp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Whatsapp"},"gender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender"},"date_of_birth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Of Birth"}},"type":"object","required":["auth_user_id","email"],"title":"SyncUserRequest"},"TicketClaimRequest":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"TicketClaimRequest"},"TicketReclaimRequest":{"properties":{"auth_user_id":{"type":"string","title":"Auth User Id"}},"type":"object","required":["auth_user_id"],"title":"TicketReclaimRequest"},"TicketTransferRequest":{"properties":{"auth_user_id":{"type":"string","title":"Auth User Id"},"recipient_email":{"type":"string","title":"Recipient Email"},"recipient_name":{"type":"string","title":"Recipient Name","default":"Gamer"},"gender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender"}},"type":"object","required":["auth_user_id","recipient_email"],"title":"TicketTransferRequest"},"UpdateUserHouseRequest":{"properties":{"house":{"type":"string","title":"House"},"resend_email":{"type":"boolean","title":"Resend Email","default":false}},"type":"object","required":["house"],"title":"UpdateUserHouseRequest"},"UploadResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"public_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Id"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["success"],"title":"UploadResponse"},"ValidateRequest":{"properties":{"ticket_id":{"type":"string","title":"Ticket Id"}},"type":"object","required":["ticket_id"],"title":"ValidateRequest"},"ValidateResponse":{"properties":{"valid":{"type":"boolean","title":"Valid"},"ticket_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticket Id"},"holder_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Holder Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"house":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"House"},"tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"},"checked_in":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Checked In"},"checked_in_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checked In At"},"checked_in_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Checked In Count"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"scans_remaining":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Scans Remaining"}},"type":"object","required":["valid"],"title":"ValidateResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}