Files
crosscode-platform/apps/events/frontend/src/lib/api-v2/schema.d.ts
T

13088 lines
406 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* This file was auto-generated by openapi-typescript.
* Do not make direct changes to the file.
*/
export interface paths {
"/events/manage": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Every event staff can see
* @description Hidden ones too. Upcoming by default; `past`, `inactive` and `closed` (cashed-up) widen it. Campus-scoped staff see their campuses' events and church-wide ones. Not paged — it's what the event pickers search.
*
* **Who:** Staff, supervisors and admins.
*/
get: operations["getEventsManage"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Upcoming public events
* @description Events anyone can see (active, not hidden, live) that have not ended, soonest first.
*
* **Who:** Anyone.
*/
get: operations["getEvents"];
put?: never;
/**
* Create an event
* @description Gets a "Main Ticket" at the event price (unless registration is off). A campus-scoped supervisor must choose one of their campuses.
*
* **Who:** Supervisors and admins.
*/
post: operations["postEvents"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* One public event
* @description With its ticket options (internal kids check-in and volunteer tickets left out) and sessions. Hidden events can be fetched by id (they are unlisted, not private).
*
* **Who:** Anyone.
*/
get: operations["getEventsId"];
put?: never;
post?: never;
/**
* Deactivate an event
* @description Admins only. The event is deactivated, not deleted: registrations, payments and tickets stay.
*
* **Who:** Admins only.
*/
delete: operations["deleteEventsId"];
options?: never;
head?: never;
/**
* Change an event
* @description Only the fields sent change. Sessions save with the event (a refused schedule change saves nothing). A cashed-up event can't change until an admin reopens it. The answer includes `sessionChanges` (added, moved, cancelled… counts) when sessions were sent.
*
* **Who:** Supervisors and admins.
*/
patch: operations["patchEventsId"];
trace?: never;
};
"/events/{id}/copy-from": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Copy set-up from another event
* @description Allocation groups, and planned costs for admins — used right after copying an event.
*
* **Who:** Supervisors and admins.
*/
post: operations["postEventsIdCopy-from"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/notify-recipients": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Who gets this event's emails
* @description Registration, payment and daily-summary emails.
*
* **Who:** Supervisors and admins.
*/
get: operations["getEventsIdNotify-recipients"];
/**
* Set who gets this event's emails
* @description **Who:** Supervisors and admins.
*/
put: operations["putEventsIdNotify-recipients"];
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/full": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* One event in full
* @description What the registration page and the set-up screens need: ticket options with what's left (per variant, and per session for "pick sessions" tickets), early-bird tiers, sessions with bookings, the attendee form, attachments, bundle deals on sale and the next event in its series.
*
* Staff (of a campus they work with) also get inactive and not-yet-live events, who created it, who gets its emails, and the kids/volunteer tickets. Everyone else gets NOT_FOUND for events that aren't public.
*
* **Who:** Anyone; signed-in staff may see more.
*/
get: operations["getEventsIdFull"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/calendar.ics": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* The event as a calendar file
* @description An .ics file (each session for a multi-day event). Same visibility as the event.
*
* **Who:** Anyone; signed-in staff may see more.
*/
get: operations["getEventsIdCalendar.ics"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/by-alias/{alias}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* An event by its short link
* @description The part after the site address (`/camp2026`), any letter case. Active events only.
*
* **Who:** Anyone.
*/
get: operations["getEventsBy-aliasAlias"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/ticket-options": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Add a ticket option
* @description **Who:** Supervisors and admins.
*/
post: operations["postEventsIdTicket-options"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/ticket-options/{id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
post?: never;
/**
* Remove a ticket option
* @description Admins only. Not one anybody has bought, and never the event's only main ticket.
*
* **Who:** Admins only.
*/
delete: operations["deleteTicket-optionsId"];
options?: never;
head?: never;
/**
* Change a ticket option
* @description Only what's sent changes. `earlyBirdTiers` and `variants`, when sent, are the full lists: kept by id, added without one, and ones left out removed when nothing was bought under them.
*
* **Who:** Supervisors and admins.
*/
patch: operations["patchTicket-optionsId"];
trace?: never;
};
"/ticket-options/{id}/variants": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Add a variant (e.g. a T-shirt size)
* @description **Who:** Supervisors and admins.
*/
post: operations["postTicket-optionsIdVariants"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/variants/{id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
post?: never;
/**
* Remove a variant
* @description Admins only, and not one anybody has bought.
*
* **Who:** Admins only.
*/
delete: operations["deleteVariantsId"];
options?: never;
head?: never;
/**
* Change a variant
* @description **Who:** Supervisors and admins.
*/
patch: operations["patchVariantsId"];
trace?: never;
};
"/events/{id}/attachments": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* An event's attachments
* @description Files for attendees (programmes, packing lists…), newest first.
*
* **Who:** Anyone.
*/
get: operations["getEventsIdAttachments"];
put?: never;
/**
* Attach a file to an event
* @description **Who:** Supervisors and admins.
*/
post: operations["postEventsIdAttachments"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/attachments/{attachmentId}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
post?: never;
/**
* Remove an attachment
* @description **Who:** Supervisors and admins.
*/
delete: operations["deleteEventsIdAttachmentsAttachmentId"];
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/attachments/status": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Attachments diagnostics
* @description **Who:** Admins only.
*/
get: operations["getAttachmentsStatus"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/attachments/sync": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Import attachments from old manifests
* @description Attachments recorded in JSON files on disk by very old versions go into the database. `dryRun` only reports; `remove` deletes each manifest once imported.
*
* **Who:** Admins only.
*/
post: operations["postAttachmentsSync"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/sections": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Scanning sections
* @description Which ticket types may come in at which door, for one event or every event you can see.
*
* **Who:** Staff, supervisors and admins.
*/
get: operations["getSections"];
put?: never;
/**
* Add a scanning section
* @description **Who:** Supervisors and admins.
*/
post: operations["postSections"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/sections/{id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
post?: never;
/**
* Remove a scanning section
* @description **Who:** Admins only.
*/
delete: operations["deleteSectionsId"];
options?: never;
head?: never;
/**
* Change a scanning section
* @description `allowedOptionIds`, when sent, replaces its ticket types.
*
* **Who:** Supervisors and admins.
*/
patch: operations["patchSectionsId"];
trace?: never;
};
"/events/{id}/costs": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* An event's planned costs
* @description **Who:** Supervisors and admins.
*/
get: operations["getEventsIdCosts"];
put?: never;
/**
* Add a planned cost
* @description Admins. Not on a cashed-up event.
*
* **Who:** Admins only.
*/
post: operations["postEventsIdCosts"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/costs/{id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
post?: never;
/**
* Remove a planned cost
* @description **Who:** Admins only.
*/
delete: operations["deleteCostsId"];
options?: never;
head?: never;
/**
* Change a planned cost
* @description **Who:** Admins only.
*/
patch: operations["patchCostsId"];
trace?: never;
};
"/uploads/event-image": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Upload an event picture
* @description Returns the path to save as the event's `picture`.
*
* **Who:** Supervisors and admins.
*/
post: operations["postUploadsEvent-image"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/uploads/logo": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Upload the site logo
* @description Admins — or anyone during first-time setup, before any account exists.
*
* **Who:** Anyone.
*/
post: operations["postUploadsLogo"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/uploads/favicon": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Upload the site icon (favicon)
* @description Admins — or anyone during first-time setup, before any account exists.
*
* **Who:** Anyone.
*/
post: operations["postUploadsFavicon"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/series": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Every series
* @description With its events (the ones you may see — a series spans campuses), followers and event count.
*
* **Who:** Supervisors and admins.
*/
get: operations["getSeries"];
put?: never;
/**
* Create a series
* @description **Who:** Supervisors and admins.
*/
post: operations["postSeries"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/series/{id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
post?: never;
/**
* Delete a series
* @description Admins. Its events stay (without a series) and followers are dropped. Not once season passes have been sold.
*
* **Who:** Admins only.
*/
delete: operations["deleteSeriesId"];
options?: never;
head?: never;
/**
* Change a series
* @description **Who:** Supervisors and admins.
*/
patch: operations["patchSeriesId"];
trace?: never;
};
"/series/by-slug/{slug}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* A series' public page
* @description Upcoming and past public events, season passes on sale, and whether you follow it.
*
* **Who:** Anyone; signed-in staff may see more.
*/
get: operations["getSeriesBy-slugSlug"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/series/{id}/compare": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Year on year
* @description Registrations, tickets, income and attendance for each event in the series that you may see, oldest first.
*
* **Who:** Supervisors and admins.
*/
get: operations["getSeriesIdCompare"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/series/{id}/follow": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
/**
* Follow a series
* @description Hear about new events in it (News & announcements).
*
* **Who:** Any signed-in person.
*/
put: operations["putSeriesIdFollow"];
post?: never;
/**
* Stop following a series
* @description **Who:** Any signed-in person.
*/
delete: operations["deleteSeriesIdFollow"];
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/season-passes": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Season passes
* @description With their events, how the price is shared between them, and how many were sold or are unpaid.
*
* **Who:** Supervisors and admins.
*/
get: operations["getSeason-passes"];
put?: never;
/**
* Create a season pass
* @description One price for several events in a series. Campus-scoped supervisors can only include their own campuses' events.
*
* **Who:** Supervisors and admins.
*/
post: operations["postSeason-passes"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/season-passes/{id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
post?: never;
/**
* Delete a season pass
* @description Only one nobody has bought — otherwise switch it off.
*
* **Who:** Supervisors and admins.
*/
delete: operations["deleteSeason-passesId"];
options?: never;
head?: never;
/**
* Change a season pass
* @description Its events and price can't change once somebody has bought it (switch it off and make a new one).
*
* **Who:** Supervisors and admins.
*/
patch: operations["patchSeason-passesId"];
trace?: never;
};
"/season-passes/{id}/buy": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Buy a season pass
* @description Registers you at every event on it, then answers with a checkout to pay (or issues the tickets when it's free).
*
* **Who:** Any signed-in person.
*/
post: operations["postSeason-passesIdBuy"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/season-pass-purchases/{id}/checkout": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Pay what's owed on a pass
* @description **Who:** Any signed-in person.
*/
post: operations["postSeason-pass-purchasesIdCheckout"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/me/season-passes": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* My season passes
* @description **Who:** Any signed-in person.
*/
get: operations["getMeSeason-passes"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/bundles": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* An event's bundle deals
* @description With how often each has been used and the discount given.
*
* **Who:** Supervisors and admins.
*/
get: operations["getEventsIdBundles"];
put?: never;
/**
* Add a bundle deal
* @description **Who:** Supervisors and admins.
*/
post: operations["postEventsIdBundles"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/bundles/{id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
post?: never;
/**
* Remove a bundle deal
* @description One that's been used is switched off instead (`switchedOff`), so registrations that got it keep their price.
*
* **Who:** Supervisors and admins.
*/
delete: operations["deleteBundlesId"];
options?: never;
head?: never;
/**
* Change a bundle deal
* @description Only what's sent changes; when a pricing field is sent the whole deal is checked again.
*
* **Who:** Supervisors and admins.
*/
patch: operations["patchBundlesId"];
trace?: never;
};
"/bundles/quote": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* The bundle deals a basket gets
* @description Before any coupon code — what the register page shows as you choose tickets.
*
* **Who:** Anyone; signed-in staff may see more.
*/
post: operations["postBundlesQuote"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/coupons": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Coupon codes
* @description With how often each has been used and the discount given. Campus-scoped supervisors see codes for their campuses' events.
*
* **Who:** Supervisors and admins.
*/
get: operations["getCoupons"];
put?: never;
/**
* Create a coupon code
* @description **Who:** Supervisors and admins.
*/
post: operations["postCoupons"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/coupons/redemptions": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Coupon and bundle uses
* @description For the Discounts report, newest first.
*
* **Who:** Supervisors and admins.
*/
get: operations["getCouponsRedemptions"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/coupons/{id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* One coupon code with its uses
* @description **Who:** Supervisors and admins.
*/
get: operations["getCouponsId"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
/**
* Change a coupon code
* @description Only what's sent changes. Discounts already given keep their amount; a used code can't be renamed.
*
* **Who:** Supervisors and admins.
*/
patch: operations["patchCouponsId"];
trace?: never;
};
"/coupons/check": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Check a coupon code against a basket
* @description Always a 200: `valid` with the discount and total, or `valid: false` with why. Restricted codes need you signed in.
*
* **Who:** Anyone; signed-in staff may see more.
*/
post: operations["postCouponsCheck"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/campuses": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* The active campuses
* @description `enabled` false means campuses are switched off (the list is then empty).
*
* **Who:** Anyone.
*/
get: operations["getCampuses"];
put?: never;
/**
* Add a campus
* @description **Who:** Admins only.
*/
post: operations["postCampuses"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/campuses/admin": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Every campus (Site settings)
* @description Archived ones last, with event counts and summary recipients.
*
* **Who:** Admins only.
*/
get: operations["getCampusesAdmin"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/campuses/by-slug/{slug}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* A campus landing page
* @description **Who:** Anyone.
*/
get: operations["getCampusesBy-slugSlug"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/campuses/enabled": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
/**
* Switch campuses on or off
* @description Off hides campus fields and filters; nothing is deleted.
*
* **Who:** Admins only.
*/
put: operations["putCampusesEnabled"];
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/campuses/order": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
/**
* Put the campuses in order
* @description **Who:** Admins only.
*/
put: operations["putCampusesOrder"];
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/campuses/{id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
post?: never;
/**
* Delete a campus
* @description Only one with no events and no staff limited to it — otherwise archive it (CONFLICT, `reason` CAMPUS_HAS_EVENTS or CAMPUS_HAS_SCOPED_STAFF).
*
* **Who:** Admins only.
*/
delete: operations["deleteCampusesId"];
options?: never;
head?: never;
/**
* Change a campus
* @description Details, summary recipients, or `archived`.
*
* **Who:** Admins only.
*/
patch: operations["patchCampusesId"];
trace?: never;
};
"/campuses/{id}/audience": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Everyone at a campus
* @description For the email and WhatsApp composers: people whose home campus it is, plus (`registrants=true`) people registered for its events in the last 12 months. News consent is checked when sending.
*
* **Who:** Supervisors and admins.
*/
get: operations["getCampusesIdAudience"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/registrations": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Every registration (staff)
* @description Newest first, for the events you may see. `unpaid=true` for ones still owing; `userId` for one person's.
*
* **Who:** Staff, supervisors and admins.
*/
get: operations["getRegistrations"];
put?: never;
/**
* Register for an event
* @description Signed in, or as a guest for a free event that allows it (`guest` then required), or with a waitlist link (`waitlistToken`).
*
* Registering again for the same event adds to the existing registration. When nothing is owed it is marked paid and tickets are issued; otherwise pay with `POST /registrations/{id}/checkout`.
*
* A coupon that was valid when checked but used up a moment later is reported in `couponError`; the registration is still made.
*
* **Who:** Anyone; signed-in staff may see more.
*/
post: operations["postRegistrations"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/registrations/{id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* One of my registrations
* @description **Who:** Any signed-in person.
*/
get: operations["getRegistrationsId"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/registrations/{id}/cancel": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Cancel my registration
* @description Not after the event has ended, and not once anything has been paid (the church can do that). Its places go to the waitlist.
*
* **Who:** Any signed-in person.
*/
post: operations["postRegistrationsIdCancel"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/registrations/{id}/checkout": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Pay what I owe online
* @description Starts a payment with the church's provider (Yoco or PayFast) and returns where to send the person (`redirectUrl`).
*
* If an early-bird price ran out since the registration was made, nothing is started: `priceUpdated` is true with the new amount owing — show it, then call again.
*
* **Who:** Any signed-in person.
*/
post: operations["postRegistrationsIdCheckout"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/me": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* The signed-in person
* @description **Who:** Any signed-in person.
*/
get: operations["getMe"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
/**
* Change my details
* @description Only what is sent changes. A new `password` needs `currentPassword`; it sends a security notice and stops other devices skipping the 2FA code. The answer has a fresh `token` (the old one keeps working).
*
* **Who:** Any signed-in person.
*/
patch: operations["patchMe"];
trace?: never;
};
"/me/registrations": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* My registrations
* @description Newest first. By default only ones for events that have not ended, and not cancelled; `past=true` lists everything.
*
* **Who:** Any signed-in person.
*/
get: operations["getMeRegistrations"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/registrations/{id}/full": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* A registration with everything on it
* @description Items and prices, payments, coupons and bundles, named attendees, form answers and the total due.
*
* The owner, a named attendee or staff — or anyone with the link when not signed in (registration ids can't be guessed). Attendees' contact details are only shown to the payer and staff.
*
* **Who:** Anyone; signed-in staff may see more.
*/
get: operations["getRegistrationsIdFull"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/me/registrations/full": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* My registrations with everything on them
* @description What the dashboard shows: as `/registrations/{id}/full`, newest first, with the event and its form. Only upcoming ones unless `past=true`.
*
* **Who:** Any signed-in person.
*/
get: operations["getMeRegistrationsFull"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/registrations/{id}/items": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
/**
* Change the tickets on a registration
* @description The whole list of items it should have. Added places need stock and are priced now; places already paid for keep their price, and nothing goes below tickets already issued or the amount paid.
*
* Not for registrations made with a season pass, nor once the event has ended or is closed. Staff can add kids and volunteer places; owners can only keep or lower them.
*
* **Who:** Any signed-in person.
*/
put: operations["putRegistrationsIdItems"];
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/registrations/{id}/invoice": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Send me the invoice again
* @description **Who:** Any signed-in person.
*/
post: operations["postRegistrationsIdInvoice"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/registrations/{id}/coupon": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Apply a coupon code
* @description By the owner, or by staff on their behalf (logged). Not on season pass registrations.
*
* **Who:** Any signed-in person.
*/
post: operations["postRegistrationsIdCoupon"];
/**
* Take a coupon code off
* @description Staff. Its use is freed. Not once a ticket on it has been scanned; unused tickets are withdrawn if it's no longer paid.
*
* **Who:** Staff, supervisors and admins.
*/
delete: operations["deleteRegistrationsIdCoupon"];
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/registrations/{id}/attendees": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
/**
* Name the people on a registration
* @description The whole list: attendees left out are removed (not once their ticket has been scanned). `ticketDelivery` says who gets the tickets.
*
* **Who:** Any signed-in person.
*/
put: operations["putRegistrationsIdAttendees"];
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/registrations/{id}/attendees/{attendeeId}/form-link": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Send an attendee their form
* @description A link to fill in their own attendee form, by email and/or WhatsApp.
*
* **Who:** Any signed-in person.
*/
post: operations["postRegistrationsIdAttendeesAttendeeIdForm-link"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/registrations/{id}/form-draft": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Attendee forms saved part-way
* @description **Who:** Anyone; signed-in staff may see more.
*/
get: operations["getRegistrationsIdForm-draft"];
/**
* Save attendee forms part-way
* @description Kept for the registration's owner (also when staff save it), until the forms are submitted.
*
* **Who:** Anyone; signed-in staff may see more.
*/
put: operations["putRegistrationsIdForm-draft"];
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/registrations/{id}/form-responses": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
/**
* Replace the attendee forms
* @description Supervisors: every response on the registration is replaced by these.
*
* **Who:** Supervisors and admins.
*/
put: operations["putRegistrationsIdForm-responses"];
/**
* Submit attendee forms
* @description One response per main ticket at most; each named attendee answers once. Tickets are issued once it's paid and the forms are in.
*
* **Who:** Anyone; signed-in staff may see more.
*/
post: operations["postRegistrationsIdForm-responses"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/registrations": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* An event's registrations
* @description Oldest first, with tickets, payments and attendees. `search` matches the name, email or phone.
*
* **Who:** Staff, supervisors and admins.
*/
get: operations["getEventsIdRegistrations"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/registrations/{id}/status": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
/**
* Set a registration's status
* @description Staff. `paid` issues and sends the tickets; leaving `paid` withdraws unused tickets (refused once one has been scanned); `cancelled` frees its places for the waitlist.
*
* **Who:** Staff, supervisors and admins.
*/
patch: operations["patchRegistrationsIdStatus"];
trace?: never;
};
"/registrations/manual": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Register someone (at the door, by phone)
* @description Supervisors. Finds the person by email or phone (refused when those are two different accounts) or makes an account and sends them an activation link (`skipActivationNotice` to not).
*
* Added to their existing registration for the event if they have one. Free ones are marked paid and get their tickets; otherwise they're sent a link to pay.
*
* **Who:** Supervisors and admins.
*/
post: operations["postRegistrationsManual"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/registrations/bulk": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Do one thing to many registrations
* @description `markPaid`, `cancel`, `moveOption`, `allocate` or `message`, for up to 500 you may manage. Each is done on its own: the answer lists what worked and what didn't.
*
* **Who:** Supervisors and admins.
*/
post: operations["postRegistrationsBulk"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/payments/providers": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* The payment providers switched on
* @description **Who:** Anyone.
*/
get: operations["getPaymentsProviders"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/payments/providers/settings": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Payment provider settings
* @description Admins. Keys are masked.
*
* **Who:** Admins only.
*/
get: operations["getPaymentsProvidersSettings"];
/**
* Change payment provider settings
* @description **Who:** Admins only.
*/
put: operations["putPaymentsProvidersSettings"];
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/payments/open-checkouts": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Checkouts started but not finished
* @description **Who:** Supervisors and admins.
*/
get: operations["getPaymentsOpen-checkouts"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/payments/open-checkouts/check": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Ask the provider about open checkouts
* @description Records any that were paid (for when a webhook was missed).
*
* **Who:** Supervisors and admins.
*/
post: operations["postPaymentsOpen-checkoutsCheck"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/payments/stats": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Payment totals
* @description **Who:** Admins only.
*/
get: operations["getPaymentsStats"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/payments": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Every payment
* @description For the events you may see. `page` and `limit` page it (otherwise everything); see v1 for the filters it takes.
*
* **Who:** Supervisors and admins.
*/
get: operations["getPayments"];
put?: never;
/**
* Record a payment
* @description Cash, card, EFT or other, against a registration or (a donation) an event. Paid in full issues and sends the tickets.
*
* **Who:** Supervisors and admins.
*/
post: operations["postPayments"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/payments/refunds": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Refund a payment
* @description **Who:** Supervisors and admins.
*/
post: operations["postPaymentsRefunds"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/payments/donations/assign": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Put a donation towards a registration
* @description **Who:** Supervisors and admins.
*/
post: operations["postPaymentsDonationsAssign"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/payments/donations/unassign": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Take a donation back off a registration
* @description **Who:** Supervisors and admins.
*/
post: operations["postPaymentsDonationsUnassign"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/donations/checkout": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Give to an event
* @description Starts a checkout for a donation of `amount` to `eventId`; answers where to send the person (`redirectUrl`).
*
* **Who:** Any signed-in person.
*/
post: operations["postDonationsCheckout"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/me/payments": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* My payments
* @description **Who:** Any signed-in person.
*/
get: operations["getMePayments"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/payments/{id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* One payment
* @description **Who:** Any signed-in person.
*/
get: operations["getPaymentsId"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/payments/{id}/receipt": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Send the receipt again
* @description **Who:** Any signed-in person.
*/
post: operations["postPaymentsIdReceipt"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/registrations/{id}/payments": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* A registration's payments
* @description **Who:** Any signed-in person.
*/
get: operations["getRegistrationsIdPayments"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/registrations/{id}/payment-link": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Make a link to pay
* @description Supervisors: a checkout for `amount` (part of what's owed) for someone else to pay. Answers `redirectUrl` (the link) — or `priceUpdated` when an early-bird price ran out.
*
* **Who:** Supervisors and admins.
*/
post: operations["postRegistrationsIdPayment-link"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/registrations/{id}/payment-link/send": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Send someone a link to pay
* @description By email and/or WhatsApp, for what's still owing.
*
* **Who:** Supervisors and admins.
*/
post: operations["postRegistrationsIdPayment-linkSend"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/payments": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* An event's payments
* @description **Who:** Staff, supervisors and admins.
*/
get: operations["getEventsIdPayments"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/payment-links/{id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* A pay page
* @description What a payment link shows: what's owed and the providers to pay with. The id in the link is the credential.
*
* **Who:** Anyone.
*/
get: operations["getPayment-linksId"];
put?: never;
/**
* Pay from a pay page
* @description Starts a checkout with the chosen provider; answers where to send the person.
*
* **Who:** Anyone.
*/
post: operations["postPayment-linksId"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/cashups/audit": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Cash-up history
* @description **Who:** Supervisors and admins.
*/
get: operations["getCashupsAudit"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/cashup": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* An event's cash-up
* @description Income by method, costs, what each drawer should hold, and the saved draft.
*
* **Who:** Supervisors and admins.
*/
get: operations["getEventsIdCashup"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/cashup/cash-by-user": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Cash taken by each person
* @description **Who:** Supervisors and admins.
*/
get: operations["getEventsIdCashupCash-by-user"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/cashup/person-cash/{userId}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
/**
* Count one person's cash
* @description **Who:** Supervisors and admins.
*/
put: operations["putEventsIdCashupPerson-cashUserId"];
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/cashup/draft": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
/**
* Save the cash-up as a draft
* @description **Who:** Admins only.
*/
put: operations["putEventsIdCashupDraft"];
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/cashup/close": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Close the event
* @description Admins. Nothing about the event's money can change until it's reopened.
*
* **Who:** Admins only.
*/
post: operations["postEventsIdCashupClose"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/cashup/reopen": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Reopen a closed event
* @description **Who:** Admins only.
*/
post: operations["postEventsIdCashupReopen"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/cashup-lines/{id}/pending": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Settle a pending cash-up line
* @description **Who:** Admins only.
*/
post: operations["postCashup-linesIdPending"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/provider-transactions": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Transactions from Yoco and PayFast
* @description **Who:** Supervisors and admins.
*/
get: operations["getProvider-transactions"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/provider-transactions/unreconciled": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Provider transactions not matched yet
* @description **Who:** Supervisors and admins.
*/
get: operations["getProvider-transactionsUnreconciled"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/provider-transactions/{id}/reconcile": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Match a provider transaction to a registration
* @description **Who:** Supervisors and admins.
*/
post: operations["postProvider-transactionsIdReconcile"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/provider-transactions/{id}/ignore": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Ignore a provider transaction
* @description **Who:** Supervisors and admins.
*/
post: operations["postProvider-transactionsIdIgnore"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/waitlist": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Join a sold-out event's waitlist
* @description Signed in, or with a name and email or phone. When places free up, people are offered them in order.
*
* **Who:** Anyone; signed-in staff may see more.
*/
post: operations["postWaitlist"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/me/waitlist": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Waitlists I'm on
* @description **Who:** Any signed-in person.
*/
get: operations["getMeWaitlist"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/waitlist/claims/{token}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* A waitlist offer
* @description What an offer link shows (the token is the credential). Register with `waitlistToken` to take it.
*
* **Who:** Anyone.
*/
get: operations["getWaitlistClaimsToken"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/waitlist": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* An event's waitlist
* @description **Who:** Staff, supervisors and admins.
*/
get: operations["getEventsIdWaitlist"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/waitlist/{id}/offer": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Offer someone their places now
* @description **Who:** Supervisors and admins.
*/
post: operations["postWaitlistIdOffer"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/waitlist/{id}/move": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Move someone up or down the waitlist
* @description **Who:** Supervisors and admins.
*/
post: operations["postWaitlistIdMove"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/waitlist/{id}/remove": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Take someone off the waitlist
* @description **Who:** Supervisors and admins.
*/
post: operations["postWaitlistIdRemove"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/waitlist/{id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
post?: never;
/**
* Leave a waitlist
* @description **Who:** Any signed-in person.
*/
delete: operations["deleteWaitlistId"];
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/sponsorship": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Sponsoring places at an event
* @description Whether it's on, and the suggested amounts.
*
* **Who:** Anyone.
*/
get: operations["getEventsIdSponsorship"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/sponsorship/pool": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* The sponsorship pool
* @description What's been given and what's been used.
*
* **Who:** Supervisors and admins.
*/
get: operations["getEventsIdSponsorshipPool"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/sponsorships/checkout": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Give towards places
* @description Starts a checkout; answers where to send the person.
*
* **Who:** Anyone; signed-in staff may see more.
*/
post: operations["postSponsorshipsCheckout"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/consent": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Parental consent for an event
* @description **Who:** Staff, supervisors and admins.
*/
get: operations["getEventsIdConsent"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/consent/medical": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Medical notes from consent forms
* @description **Who:** Supervisors and admins.
*/
get: operations["getEventsIdConsentMedical"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/consent/resend-pending": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Remind everyone who hasn't answered
* @description **Who:** Supervisors and admins.
*/
post: operations["postEventsIdConsentResend-pending"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/consent/rerequest": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Ask for consent again
* @description After the consent wording changed.
*
* **Who:** Supervisors and admins.
*/
post: operations["postEventsIdConsentRerequest"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/consent-requests/{id}/resend": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Send a consent request again
* @description **Who:** Any signed-in person.
*/
post: operations["postConsent-requestsIdResend"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/consent/{token}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* A consent form
* @description What the link in a consent request shows (the token is the parent's credential).
*
* **Who:** Anyone.
*/
get: operations["getConsentToken"];
put?: never;
/**
* Answer a consent form
* @description **Who:** Anyone.
*/
post: operations["postConsentToken"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/form-responses": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Attendee form answers
* @description For an event (`eventId`) or a registration (`registrationId`), for events you may see.
*
* **Who:** Staff, supervisors and admins.
*/
get: operations["getForm-responses"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/feedback/summary": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Feedback across events
* @description **Who:** Supervisors and admins.
*/
get: operations["getFeedbackSummary"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/feedback-forms/{token}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* A feedback form
* @description What the link sent after an event shows (the token is the credential).
*
* **Who:** Anyone.
*/
get: operations["getFeedback-formsToken"];
put?: never;
/**
* Answer a feedback form
* @description **Who:** Anyone.
*/
post: operations["postFeedback-formsToken"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/feedback": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* An event's feedback set-up and answers
* @description **Who:** Supervisors and admins.
*/
get: operations["getEventsIdFeedback"];
/**
* Set up an event's feedback form
* @description **Who:** Supervisors and admins.
*/
put: operations["putEventsIdFeedback"];
post?: never;
/**
* Remove an event's feedback form
* @description **Who:** Supervisors and admins.
*/
delete: operations["deleteEventsIdFeedback"];
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/events/{id}/feedback/send-now": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Send the feedback form now
* @description **Who:** Supervisors and admins.
*/
post: operations["postEventsIdFeedbackSend-now"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/checkin/{qrCode}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Look a ticket up before checking it in
* @description Who it is for, how many are left to check in (for today's session on multi-day events, or `sessionId`), and parental consent. Nothing is changed.
*
* **Who:** Staff, supervisors and admins.
*/
get: operations["getCheckinQrCode"];
put?: never;
/**
* Check a ticket in
* @description Checks in everyone left on the ticket, or `people`. Every normal result is a 200 with an `outcome`:
*
* `checked_in`, `already_used`, `consent_required` (a supervisor can resend with `overrideConsent`, which is logged), `wrong_event`, `wrong_section`, `section_not_found`, `no_session` (multi-day: nothing open now), `locked` (offline-locked to another device) or `transferred` (handed on; `message` says to whom).
*
* An unknown code is `NOT_FOUND`.
*
* **Who:** Staff, supervisors and admins.
*/
post: operations["postCheckinQrCode"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/auth/signup": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Create an account
* @description Signs the new account in straight away. `acceptTerms` must be true (the Terms of Use and Privacy Policy); `newsOptIn` is the unticked "News & announcements" box.
*
* **Who:** Anyone.
*/
post: operations["postAuthSignup"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/auth/login": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Log in
* @description With an email address or phone number. Five wrong passwords lock the account for five minutes (`RATE_LIMITED`).
*
* With two-factor authentication (always for supervisors and admins), the answer is `code_required`: a code was sent by email or WhatsApp — finish with `POST /auth/login/code`.
*
* **Who:** Anyone.
*/
post: operations["postAuthLogin"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/auth/login/code": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Finish logging in with the code
* @description **Who:** Anyone.
*/
post: operations["postAuthLoginCode"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
}
export type webhooks = Record<string, never>;
export interface components {
schemas: {
Error: {
error: {
/** @enum {string} */
code: "VALIDATION_FAILED" | "UNAUTHENTICATED" | "FORBIDDEN" | "NOT_FOUND" | "CONFLICT" | "RATE_LIMITED" | "READ_ONLY" | "INTERNAL";
message: string;
/** @description Per-field problems (VALIDATION_FAILED only) */
fields?: {
[key: string]: string;
};
/** @description A more specific cause when there is one, e.g. TWO_FACTOR_REQUIRED, IMPERSONATION_ENDED, LICENCE_READ_ONLY, OTHER_CAMPUS */
reason?: string;
};
};
};
responses: never;
parameters: never;
requestBodies: never;
headers: never;
pathItems: never;
}
export type $defs = Record<string, never>;
export interface operations {
getEventsManage: {
parameters: {
query?: {
/** @description Include events that have ended */
past?: "true" | "false";
/** @description Include deactivated events */
inactive?: "true" | "false";
/** @description Include cashed-up events (default true) */
closed?: "true" | "false";
/** @description A campus id or slug, or 'all' for church-wide events only */
campus?: string;
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: ({
id: string;
title: string;
description: string | null;
/** Format: date-time */
startDate: string;
/** Format: date-time */
endDate: string;
isActive: boolean;
isHidden: boolean;
requiresRegistration: boolean;
/** @enum {string} */
scheduleType: "single" | "sessions";
/** @enum {string} */
attendanceMode: "whole" | "pick";
/** @enum {string} */
cashupStatus: "open" | "closed";
campusId: string | null;
seriesId: string | null;
picture: string | null;
eventOptions?: ({
id: string;
name: string;
price: number;
isMainTicket: boolean;
stockLimit: number;
} & {
[key: string]: unknown;
})[];
sessions?: ({
id: string;
label: string | null;
/** Format: date-time */
startsAt: string;
/** Format: date-time */
endsAt: string;
cancelled: boolean;
} & {
[key: string]: unknown;
})[];
} & {
[key: string]: unknown;
})[];
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getEvents: {
parameters: {
query?: {
/** @description Page number, from 1 */
page?: number;
/** @description Items per page (at most 100) */
limit?: number;
/** @description Search the title */
q?: string;
/** @description A campus id or slug (its events plus church-wide ones), or 'all' for church-wide events only */
campus?: string;
/** @description A series slug */
series?: string;
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
title: string;
/** Format: date-time */
startDate: string;
/** Format: date-time */
endDate: string;
location: string | null;
/** @description The headline price in rand (0 = free) */
price: number;
pictureUrl: string | null;
requiresRegistration: boolean;
/** @enum {string} */
scheduleType: "single" | "sessions";
/** @description null = for all campuses (or campuses are off) */
campus: {
id: string;
name: string;
slug: string;
} | null;
series: {
id: string;
name: string;
slug: string;
} | null;
}[];
meta: {
page: number;
limit: number;
/** @description Items across all pages */
total: number;
/** @description Number of pages (at least 1) */
pages: number;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postEvents: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
title: string;
description?: string | null;
startDate: string;
endDate: string;
price?: number | string;
campusId?: string | null;
seriesId?: string | null;
/** @enum {string} */
scheduleType?: "single" | "sessions";
sessions?: {
[key: string]: unknown;
}[];
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
title: string;
description: string | null;
/** Format: date-time */
startDate: string;
/** Format: date-time */
endDate: string;
isActive: boolean;
isHidden: boolean;
requiresRegistration: boolean;
/** @enum {string} */
scheduleType: "single" | "sessions";
/** @enum {string} */
attendanceMode: "whole" | "pick";
/** @enum {string} */
cashupStatus: "open" | "closed";
campusId: string | null;
seriesId: string | null;
picture: string | null;
eventOptions?: ({
id: string;
name: string;
price: number;
isMainTicket: boolean;
stockLimit: number;
} & {
[key: string]: unknown;
})[];
sessions?: ({
id: string;
label: string | null;
/** Format: date-time */
startsAt: string;
/** Format: date-time */
endsAt: string;
cancelled: boolean;
} & {
[key: string]: unknown;
})[];
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getEventsId: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
title: string;
/** Format: date-time */
startDate: string;
/** Format: date-time */
endDate: string;
location: string | null;
/** @description The headline price in rand (0 = free) */
price: number;
pictureUrl: string | null;
requiresRegistration: boolean;
/** @enum {string} */
scheduleType: "single" | "sessions";
/** @description null = for all campuses (or campuses are off) */
campus: {
id: string;
name: string;
slug: string;
} | null;
series: {
id: string;
name: string;
slug: string;
} | null;
description: string | null;
registrationDeadline: string | null;
ticketOptions: {
id: string;
name: string;
/** @description The normal price in rand */
price: number;
/** @description What it costs now (an early-bird price while one runs) */
currentPrice: number;
isMainTicket: boolean;
/**
* @description "pick" = the buyer chooses sessions
* @enum {string}
*/
sessionMode: "all" | "pick";
}[];
/** @description Multi-day events only; empty otherwise */
sessions: {
id: string;
label: string | null;
/** Format: date-time */
startsAt: string;
/** Format: date-time */
endsAt: string;
location: string | null;
cancelled: boolean;
}[];
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
deleteEventsId: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
/** @constant */
isActive: false;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
patchEventsId: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
title?: string;
description?: string | null;
startDate?: string;
endDate?: string;
price?: number | string;
campusId?: string | null;
seriesId?: string | null;
/** @enum {string} */
scheduleType?: "single" | "sessions";
sessions?: {
[key: string]: unknown;
}[];
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
title: string;
description: string | null;
/** Format: date-time */
startDate: string;
/** Format: date-time */
endDate: string;
isActive: boolean;
isHidden: boolean;
requiresRegistration: boolean;
/** @enum {string} */
scheduleType: "single" | "sessions";
/** @enum {string} */
attendanceMode: "whole" | "pick";
/** @enum {string} */
cashupStatus: "open" | "closed";
campusId: string | null;
seriesId: string | null;
picture: string | null;
eventOptions?: ({
id: string;
name: string;
price: number;
isMainTicket: boolean;
stockLimit: number;
} & {
[key: string]: unknown;
})[];
sessions?: ({
id: string;
label: string | null;
/** Format: date-time */
startsAt: string;
/** Format: date-time */
endsAt: string;
cancelled: boolean;
} & {
[key: string]: unknown;
})[];
sessionChanges: {
[key: string]: number;
} | null;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"postEventsIdCopy-from": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
fromEventId: string;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"getEventsIdNotify-recipients": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
name: string;
email: string;
/** @enum {string} */
role: "admin" | "supervisor" | "staff" | "user";
}[];
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"putEventsIdNotify-recipients": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
userIds: string[];
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
name: string;
email: string;
/** @enum {string} */
role: "admin" | "supervisor" | "staff" | "user";
}[];
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getEventsIdFull: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
title: string;
description: string | null;
/** Format: date-time */
startDate: string;
/** Format: date-time */
endDate: string;
isActive: boolean;
isHidden: boolean;
requiresRegistration: boolean;
/** @enum {string} */
scheduleType: "single" | "sessions";
/** @enum {string} */
attendanceMode: "whole" | "pick";
/** @enum {string} */
cashupStatus: "open" | "closed";
campusId: string | null;
seriesId: string | null;
picture: string | null;
eventOptions?: ({
id: string;
name: string;
price: number;
isMainTicket: boolean;
stockLimit: number;
} & {
[key: string]: unknown;
})[];
sessions?: ({
id: string;
label: string | null;
/** Format: date-time */
startsAt: string;
/** Format: date-time */
endsAt: string;
cancelled: boolean;
} & {
[key: string]: unknown;
})[];
form: ({
id: string;
isRequired: boolean;
fields: ({
id: string;
type: string;
label: string;
} & {
[key: string]: unknown;
})[];
} & {
[key: string]: unknown;
}) | null;
attachments: ({
id: string;
originalName: string;
url: string | null;
} & {
[key: string]: unknown;
})[];
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"getEventsIdCalendar.ics": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description The file */
200: {
headers: {
[name: string]: unknown;
};
content: {
"text/calendar": string;
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"getEventsBy-aliasAlias": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The short link, e.g. camp2026 */
alias: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
title: string;
description: string | null;
/** Format: date-time */
startDate: string;
/** Format: date-time */
endDate: string;
registrationDeadline: string | null;
goLiveAt: string | null;
price: number;
picture: string | null;
redirectUrl: string | null;
/** @description Not over yet */
isLive: boolean;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"postEventsIdTicket-options": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
name: string;
price: number | string;
isMainTicket?: boolean;
/** @description 0 = no limit */
stockLimit?: number | string;
/** @description What staff pay (empty = the normal price) */
staffPrice?: (number | string) | null;
/**
* @description "pick" = buyers choose sessions (multi-day events)
* @enum {string}
*/
sessionMode?: "all" | "pick";
};
};
};
responses: {
/** @description OK */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
eventId: string;
name: string;
price: number;
isMainTicket: boolean;
stockLimit: number;
staffPrice: number | null;
/** @enum {string} */
sessionMode: "all" | "pick";
earlyBirdTiers?: ({
id: string;
/** Format: date-time */
deadline: string;
price: number;
stockLimit: number;
variantId: string | null;
} & {
[key: string]: unknown;
})[];
variants?: ({
id: string;
name: string;
price: number | null;
stockLimit: number;
staffPrice: number | null;
order: number;
} & {
[key: string]: unknown;
})[];
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"deleteTicket-optionsId": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
/** @constant */
deleted: true;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"patchTicket-optionsId": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
name?: string;
price?: number | string;
isMainTicket?: boolean;
/** @description 0 = no limit */
stockLimit?: number | string;
/** @description What staff pay (empty = the normal price) */
staffPrice?: (number | string) | null;
/**
* @description "pick" = buyers choose sessions (multi-day events)
* @enum {string}
*/
sessionMode?: "all" | "pick";
earlyBirdTiers?: ({
id?: string;
deadline: string;
price: number | string;
stockLimit?: number | string;
variantId?: string | null;
} & {
[key: string]: unknown;
})[];
variants?: {
name: string;
/** @description Empty = the option's price */
price?: (number | string) | null;
stockLimit?: number | string;
staffPrice?: (number | string) | null;
order?: number | string;
id?: string;
}[];
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
eventId: string;
name: string;
price: number;
isMainTicket: boolean;
stockLimit: number;
staffPrice: number | null;
/** @enum {string} */
sessionMode: "all" | "pick";
earlyBirdTiers?: ({
id: string;
/** Format: date-time */
deadline: string;
price: number;
stockLimit: number;
variantId: string | null;
} & {
[key: string]: unknown;
})[];
variants?: ({
id: string;
name: string;
price: number | null;
stockLimit: number;
staffPrice: number | null;
order: number;
} & {
[key: string]: unknown;
})[];
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"postTicket-optionsIdVariants": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
name: string;
/** @description Empty = the option's price */
price?: (number | string) | null;
stockLimit?: number | string;
staffPrice?: (number | string) | null;
order?: number | string;
};
};
};
responses: {
/** @description OK */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
name: string;
price: number | null;
stockLimit: number;
staffPrice: number | null;
order: number;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
deleteVariantsId: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
/** @constant */
deleted: true;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
patchVariantsId: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
name?: string;
/** @description Empty = the option's price */
price?: (number | string) | null;
stockLimit?: number | string;
staffPrice?: (number | string) | null;
order?: number | string;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
name: string;
price: number | null;
stockLimit: number;
staffPrice: number | null;
order: number;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getEventsIdAttachments: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
eventId: string;
originalName: string;
filename: string;
mimeType: string;
size: number;
url: string | null;
/** Format: date-time */
createdAt: string;
}[];
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postEventsIdAttachments: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"multipart/form-data": {
/**
* Format: binary
* @description PDF, Word, Excel, PowerPoint, text, CSV or ZIP, up to 20 MB
*/
file: string;
};
};
};
responses: {
/** @description OK */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
eventId: string;
originalName: string;
filename: string;
mimeType: string;
size: number;
url: string | null;
/** Format: date-time */
createdAt: string;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
deleteEventsIdAttachmentsAttachmentId: {
parameters: {
query?: never;
header?: never;
path: {
id: string;
attachmentId: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
/** @constant */
deleted: true;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getAttachmentsStatus: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
databaseTableQueryable: boolean;
probeError: string | null;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postAttachmentsSync: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
/** @default false */
dryRun?: boolean;
/** @default false */
remove?: boolean;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
dryRun: boolean;
remove: boolean;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getSections: {
parameters: {
query?: {
eventId?: string;
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: ({
id: string;
eventId: string;
name: string;
allowedOptions: ({
eventOptionId: string;
eventOption: {
id: string;
name: string;
} & {
[key: string]: unknown;
};
} & {
[key: string]: unknown;
})[];
event: {
id: string;
title: string;
};
} & {
[key: string]: unknown;
})[];
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postSections: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
eventId: string;
name: string;
allowedOptionIds?: string[];
};
};
};
responses: {
/** @description OK */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
eventId: string;
name: string;
allowedOptions: ({
eventOptionId: string;
eventOption: {
id: string;
name: string;
} & {
[key: string]: unknown;
};
} & {
[key: string]: unknown;
})[];
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
deleteSectionsId: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
/** @constant */
deleted: true;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
patchSectionsId: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
name?: string;
allowedOptionIds?: string[];
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
eventId: string;
name: string;
allowedOptions: ({
eventOptionId: string;
eventOption: {
id: string;
name: string;
} & {
[key: string]: unknown;
};
} & {
[key: string]: unknown;
})[];
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getEventsIdCosts: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
eventId: string;
label: string;
/** @enum {string} */
costType: "once_off" | "per_item";
amount: number;
eventOptionId: string | null;
eventOption: {
id: string;
name: string;
} | null;
/** @description How it was paid out of the takings (cash, card, eft, other) */
paidFromMethod: string | null;
notes: string | null;
/** Format: date-time */
createdAt: string;
/** Format: date-time */
updatedAt?: string;
}[];
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postEventsIdCosts: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
label: string;
/**
* @description per_item = per ticket sold of `eventOptionId`
* @enum {string}
*/
costType: "once_off" | "per_item";
amount: number | string;
eventOptionId?: string | null;
notes?: string | null;
paidFromMethod?: ("cash" | "card" | "eft" | "other") | null;
};
};
};
responses: {
/** @description OK */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
eventId: string;
label: string;
/** @enum {string} */
costType: "once_off" | "per_item";
amount: number;
eventOptionId: string | null;
eventOption: {
id: string;
name: string;
} | null;
/** @description How it was paid out of the takings (cash, card, eft, other) */
paidFromMethod: string | null;
notes: string | null;
/** Format: date-time */
createdAt: string;
/** Format: date-time */
updatedAt?: string;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
deleteCostsId: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
/** @constant */
deleted: true;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
patchCostsId: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
label?: string;
/**
* @description per_item = per ticket sold of `eventOptionId`
* @enum {string}
*/
costType?: "once_off" | "per_item";
amount?: number | string;
eventOptionId?: string | null;
notes?: string | null;
paidFromMethod?: ("cash" | "card" | "eft" | "other") | null;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
eventId: string;
label: string;
/** @enum {string} */
costType: "once_off" | "per_item";
amount: number;
eventOptionId: string | null;
eventOption: {
id: string;
name: string;
} | null;
/** @description How it was paid out of the takings (cash, card, eft, other) */
paidFromMethod: string | null;
notes: string | null;
/** Format: date-time */
createdAt: string;
/** Format: date-time */
updatedAt?: string;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"postUploadsEvent-image": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"multipart/form-data": {
/**
* Format: binary
* @description A JPEG, PNG, GIF or WebP image
*/
image: string;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
/** @description What to save on the event or setting */
path: string;
/** @description The same, as a full address */
url: string;
};
};
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postUploadsLogo: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"multipart/form-data": {
/**
* Format: binary
* @description A JPEG, PNG, WebP or SVG image
*/
image: string;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
/** @description What to save on the event or setting */
path: string;
/** @description The same, as a full address */
url: string;
};
};
};
};
};
};
postUploadsFavicon: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"multipart/form-data": {
/**
* Format: binary
* @description An ICO, PNG or SVG image
*/
image: string;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
/** @description What to save on the event or setting */
path: string;
/** @description The same, as a full address */
url: string;
};
};
};
};
};
};
getSeries: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: ({
id: string;
name: string;
slug: string;
description: string | null;
picture: string | null;
followers: number;
eventCount: number;
events: ({
id: string;
title: string;
/** Format: date-time */
startDate: string;
} & {
[key: string]: unknown;
})[];
} & {
[key: string]: unknown;
})[];
};
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postSeries: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
name: string;
/** @description The web address part (/series/<slug>); made from the name when left out */
slug?: string;
description?: string | null;
picture?: string | null;
};
};
};
responses: {
/** @description OK */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
name: string;
slug: string;
description: string | null;
picture: string | null;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
deleteSeriesId: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
/** @constant */
deleted: true;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
patchSeriesId: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
name?: string;
/** @description The web address part (/series/<slug>); made from the name when left out */
slug?: string;
description?: string | null;
picture?: string | null;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
name: string;
slug: string;
description: string | null;
picture: string | null;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"getSeriesBy-slugSlug": {
parameters: {
query?: never;
header?: never;
path: {
slug: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
name: string;
slug: string;
description: string | null;
picture: string | null;
upcoming: ({
id: string;
} & {
[key: string]: unknown;
})[];
past: ({
id: string;
} & {
[key: string]: unknown;
})[];
following: boolean;
passes: ({
id: string;
name: string;
price: number;
} & {
[key: string]: unknown;
})[];
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getSeriesIdCompare: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
putSeriesIdFollow: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
following: boolean;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
deleteSeriesIdFollow: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
following: boolean;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"getSeason-passes": {
parameters: {
query?: {
seriesId?: string;
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: ({
id: string;
seriesId: string;
name: string;
price: number;
isActive: boolean;
items: ({
eventId: string;
} & {
[key: string]: unknown;
})[];
sold: number;
unpaid: number;
} & {
[key: string]: unknown;
})[];
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"postSeason-passes": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
seriesId: string;
name: string;
description?: string | null;
price: number | string;
saleEndsAt?: string | null;
isActive?: boolean;
items: {
eventId: string;
eventOptionId: string;
variantId?: string | null;
}[];
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
seriesId: string;
name: string;
price: number;
isActive: boolean;
items: ({
eventId: string;
} & {
[key: string]: unknown;
})[];
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"deleteSeason-passesId": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
/** @constant */
deleted: true;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"patchSeason-passesId": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
seriesId?: string;
name?: string;
description?: string | null;
price?: number | string;
saleEndsAt?: string | null;
isActive?: boolean;
items?: {
eventId: string;
eventOptionId: string;
variantId?: string | null;
}[];
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
seriesId: string;
name: string;
price: number;
isActive: boolean;
items: ({
eventId: string;
} & {
[key: string]: unknown;
})[];
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"postSeason-passesIdBuy": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
/** @default 1 */
quantity?: number;
provider?: string;
};
};
};
responses: {
/** @description OK */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"postSeason-pass-purchasesIdCheckout": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
provider?: string;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"getMeSeason-passes": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: ({
id: string;
quantity: number;
total: number;
status: string;
/** Format: date-time */
createdAt: string;
} & {
[key: string]: unknown;
})[];
};
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getEventsIdBundles: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: ({
id: string;
eventId: string;
name: string;
/** @enum {string} */
kind: "exact" | "mix" | "free" | "group";
price: number | null;
isActive: boolean;
summary: string;
headline: string;
available: boolean;
uses: number;
registrations: number;
totalDiscount: number;
} & {
[key: string]: unknown;
})[];
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postEventsIdBundles: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
name: string;
/**
* @description exact = this set; mix = any N; free = buy N get M free; group = a price for groups
* @enum {string}
*/
kind?: "exact" | "mix" | "free" | "group";
price?: (number | string) | null;
setSize?: number | null;
freeCount?: number | null;
groupPricing?: ("per_ticket" | "percent") | null;
items?: {
eventOptionId: string;
variantId?: string | null;
quantity?: number;
}[];
description?: string | null;
isActive?: boolean;
validFrom?: string | null;
validUntil?: string | null;
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
eventId: string;
name: string;
/** @enum {string} */
kind: "exact" | "mix" | "free" | "group";
price: number | null;
isActive: boolean;
summary: string;
headline: string;
available: boolean;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
deleteBundlesId: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
/** @constant */
deleted?: true;
/** @constant */
switchedOff?: true;
message: string;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
patchBundlesId: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
name?: string;
/**
* @description exact = this set; mix = any N; free = buy N get M free; group = a price for groups
* @enum {string}
*/
kind?: "exact" | "mix" | "free" | "group";
price?: (number | string) | null;
setSize?: number | null;
freeCount?: number | null;
groupPricing?: ("per_ticket" | "percent") | null;
items?: {
eventOptionId: string;
variantId?: string | null;
quantity?: number;
}[];
description?: string | null;
isActive?: boolean;
validFrom?: string | null;
validUntil?: string | null;
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
eventId: string;
name: string;
/** @enum {string} */
kind: "exact" | "mix" | "free" | "group";
price: number | null;
isActive: boolean;
summary: string;
headline: string;
available: boolean;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postBundlesQuote: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
eventId: string;
options: {
eventOptionId: string;
variantId?: string | null;
quantity: number;
sessionIds?: string[];
}[];
/** @description Staff: price it for this person (null = a walk-in without an account) */
forUserId?: string | null;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
subtotal: number;
bundleDiscount: number;
bundles: {
[key: string]: unknown;
}[];
total: number;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getCoupons: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: ({
id: string;
code: string;
/** @enum {string} */
type: "percent" | "fixed" | "comp";
value: number;
active: boolean;
summary: string;
uses: number;
totalDiscount: number;
} & {
[key: string]: unknown;
})[];
};
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postCoupons: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
code: string;
/**
* @description comp = free
* @enum {string}
*/
type: "percent" | "fixed" | "comp";
value?: number | string;
description?: string | null;
active?: boolean;
stackEarlyBird?: boolean;
validFrom?: string | null;
validUntil?: string | null;
maxUses?: (number | string) | null;
maxUsesPerUser?: (number | string) | null;
minQuantity?: (number | string) | null;
restrictRoles?: ("user" | "staff" | "supervisor" | "admin")[];
restrictDomain?: string | null;
/** @description Empty = every event (not for campus-scoped supervisors) */
eventIds?: string[];
options?: {
eventOptionId: string;
variantId?: string | null;
}[];
userIds?: string[];
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
code: string;
/** @enum {string} */
type: "percent" | "fixed" | "comp";
value: number;
active: boolean;
summary: string;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getCouponsRedemptions: {
parameters: {
query?: {
/** @description Comma-separated */
eventIds?: string;
from?: string;
to?: string;
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: ({
id: string;
/** @enum {string} */
kind: "coupon" | "bundle";
uses: number;
discountAmount: number;
/** Format: date-time */
createdAt: string;
} & {
[key: string]: unknown;
})[];
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getCouponsId: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
code: string;
/** @enum {string} */
type: "percent" | "fixed" | "comp";
value: number;
active: boolean;
summary: string;
redemptions: ({
id: string;
} & {
[key: string]: unknown;
})[];
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
patchCouponsId: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
code?: string;
/**
* @description comp = free
* @enum {string}
*/
type?: "percent" | "fixed" | "comp";
value?: number | string;
description?: string | null;
active?: boolean;
stackEarlyBird?: boolean;
validFrom?: string | null;
validUntil?: string | null;
maxUses?: (number | string) | null;
maxUsesPerUser?: (number | string) | null;
minQuantity?: (number | string) | null;
restrictRoles?: ("user" | "staff" | "supervisor" | "admin")[];
restrictDomain?: string | null;
/** @description Empty = every event (not for campus-scoped supervisors) */
eventIds?: string[];
options?: {
eventOptionId: string;
variantId?: string | null;
}[];
userIds?: string[];
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
code: string;
/** @enum {string} */
type: "percent" | "fixed" | "comp";
value: number;
active: boolean;
summary: string;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postCouponsCheck: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
eventId: string;
options: {
eventOptionId: string;
variantId?: string | null;
quantity: number;
sessionIds?: string[];
}[];
/** @description Staff: price it for this person (null = a walk-in without an account) */
forUserId?: string | null;
code: string;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
/** @constant */
valid: true;
code: string;
type: string;
value: number;
summary: string;
description: string | null;
discount: number;
bundleDiscount: number;
bundles: {
[key: string]: unknown;
}[];
subtotal: number;
total: number;
} | {
/** @constant */
valid: false;
message: string;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getCampuses: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
enabled: boolean;
campuses: ({
id: string;
name: string;
slug: string;
} & {
[key: string]: unknown;
})[];
};
};
};
};
};
};
postCampuses: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
name: string;
slug?: string;
colour?: string | null;
/** @description Who gets this campus's daily summary (staff only) */
notifyRecipientIds?: string[];
archived?: boolean;
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
name: string;
slug: string;
archivedAt: string | null;
order: number;
_count: {
events: number;
} & {
[key: string]: unknown;
};
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getCampusesAdmin: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
enabled: boolean;
campuses: ({
id: string;
name: string;
slug: string;
archivedAt: string | null;
order: number;
_count: {
events: number;
} & {
[key: string]: unknown;
};
} & {
[key: string]: unknown;
})[];
};
};
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"getCampusesBy-slugSlug": {
parameters: {
query?: never;
header?: never;
path: {
slug: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
name: string;
slug: string;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
putCampusesEnabled: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
enabled: boolean;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
enabled: boolean;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
putCampusesOrder: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
ids: string[];
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
ids: string[];
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
deleteCampusesId: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
/** @constant */
deleted: true;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
patchCampusesId: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
name?: string;
slug?: string;
colour?: string | null;
/** @description Who gets this campus's daily summary (staff only) */
notifyRecipientIds?: string[];
archived?: boolean;
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
name: string;
slug: string;
archivedAt: string | null;
order: number;
_count: {
events: number;
} & {
[key: string]: unknown;
};
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getCampusesIdAudience: {
parameters: {
query?: {
registrants?: "true" | "false";
};
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
campus: {
id: string;
name: string;
};
users: {
id: string;
name: string;
email: string;
phoneNumber: string | null;
}[];
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getRegistrations: {
parameters: {
query?: {
page?: number;
/** @description At most 200 */
limit?: number;
unpaid?: "true" | "false";
userId?: string;
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: ({
id: string;
/** @enum {string} */
status: "pending" | "confirmed" | "partial_paid" | "paid" | "cancelled";
eventId: string;
userId: string;
totalDueComputed?: number;
} & {
[key: string]: unknown;
})[];
meta: {
page: number;
limit: number;
total: number;
pages: number;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postRegistrations: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
eventId: string;
options: {
eventOptionId: string;
quantity: number;
variantId?: string | null;
/** @description "Pick sessions" tickets: the sessions chosen */
sessionIds?: string[];
}[];
guest?: {
name: string;
/** Format: email */
email: string;
phone?: string;
};
couponCode?: string;
/** @description Names for the places (events that collect them) */
attendees?: {
eventOptionId: string;
variantId?: string | null;
name: string;
email?: string | null;
phone?: string | null;
/** @description YYYY-MM-DD (youth events) */
dateOfBirth?: string | null;
gender?: string | null;
parentName?: string | null;
parentEmail?: string | null;
parentPhone?: string | null;
}[];
/**
* @description With attendees: tickets to the payer, or to each attendee
* @enum {string}
*/
ticketDelivery?: "payer" | "each";
waitlistToken?: string;
analyticsSessionId?: string;
};
};
};
responses: {
/** @description OK */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
/** @enum {string} */
status: "pending" | "confirmed" | "partial_paid" | "paid" | "cancelled";
/** Format: date-time */
createdAt: string;
event: {
id: string;
title: string;
/** Format: date-time */
startDate: string;
/** Format: date-time */
endDate: string;
};
items: {
ticket: string;
variant: string | null;
quantity: number;
unitPrice: number;
}[];
/** @description In rand, after discounts */
totalDue: number;
/** @description In rand (refunds subtracted) */
amountPaid: number;
/** @description totalDue − amountPaid; 0 or less = nothing owing */
balance: number;
/** @description false = added to an existing registration */
isNew: boolean;
couponError: string | null;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getRegistrationsId: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
/** @enum {string} */
status: "pending" | "confirmed" | "partial_paid" | "paid" | "cancelled";
/** Format: date-time */
createdAt: string;
event: {
id: string;
title: string;
/** Format: date-time */
startDate: string;
/** Format: date-time */
endDate: string;
};
items: {
ticket: string;
variant: string | null;
quantity: number;
unitPrice: number;
}[];
/** @description In rand, after discounts */
totalDue: number;
/** @description In rand (refunds subtracted) */
amountPaid: number;
/** @description totalDue − amountPaid; 0 or less = nothing owing */
balance: number;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postRegistrationsIdCancel: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
/** @enum {string} */
status: "pending" | "confirmed" | "partial_paid" | "paid" | "cancelled";
/** Format: date-time */
createdAt: string;
event: {
id: string;
title: string;
/** Format: date-time */
startDate: string;
/** Format: date-time */
endDate: string;
};
items: {
ticket: string;
variant: string | null;
quantity: number;
unitPrice: number;
}[];
/** @description In rand, after discounts */
totalDue: number;
/** @description In rand (refunds subtracted) */
amountPaid: number;
/** @description totalDue − amountPaid; 0 or less = nothing owing */
balance: number;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postRegistrationsIdCheckout: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
/** @description An optional donation added on top, in rand */
donationAmount?: number;
/** @description yoco or payfast (default: the first one switched on) */
provider?: string;
/** Format: uri */
successUrl?: string;
/** Format: uri */
cancelUrl?: string;
/** Format: uri */
failureUrl?: string;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
/** @constant */
priceUpdated: true;
newBalance: number;
message: string;
} | {
/** @constant */
priceUpdated: false;
checkoutId: string;
redirectUrl: string;
provider: string;
/** @description Charged now, in rand (with any donation) */
amount: number;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getMe: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
name: string;
email: string;
phone: string | null;
/** @enum {string} */
role: "admin" | "supervisor" | "staff" | "user";
twoFactorEnabled: boolean;
/** @enum {string} */
notificationPreference: "email" | "whatsapp" | "both";
homeCampusId: string | null;
/** Format: date-time */
createdAt: string;
};
};
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
patchMe: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
name?: string;
/** Format: email */
email?: string;
/** @description null or empty removes it */
phone?: string | null;
/** @enum {string} */
notificationPreference?: "email" | "whatsapp" | "both";
/** @description While campuses are on */
homeCampusId?: string | null;
password?: string;
currentPassword?: string;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
name: string;
email: string;
phone: string | null;
/** @enum {string} */
role: "admin" | "supervisor" | "staff" | "user";
twoFactorEnabled: boolean;
/** @enum {string} */
notificationPreference: "email" | "whatsapp" | "both";
homeCampusId: string | null;
/** Format: date-time */
createdAt: string;
};
token: string;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getMeRegistrations: {
parameters: {
query?: {
/** @description Page number, from 1 */
page?: number;
/** @description Items per page (at most 100) */
limit?: number;
/** @description Include past and cancelled registrations */
past?: "true" | "false";
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
/** @enum {string} */
status: "pending" | "confirmed" | "partial_paid" | "paid" | "cancelled";
/** Format: date-time */
createdAt: string;
event: {
id: string;
title: string;
/** Format: date-time */
startDate: string;
/** Format: date-time */
endDate: string;
};
items: {
ticket: string;
variant: string | null;
quantity: number;
unitPrice: number;
}[];
/** @description In rand, after discounts */
totalDue: number;
/** @description In rand (refunds subtracted) */
amountPaid: number;
/** @description totalDue − amountPaid; 0 or less = nothing owing */
balance: number;
}[];
meta: {
page: number;
limit: number;
/** @description Items across all pages */
total: number;
/** @description Number of pages (at least 1) */
pages: number;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getRegistrationsIdFull: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
/** @enum {string} */
status: "pending" | "confirmed" | "partial_paid" | "paid" | "cancelled";
eventId: string;
userId: string;
totalDueComputed?: number;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getMeRegistrationsFull: {
parameters: {
query?: {
past?: "true" | "false";
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: ({
id: string;
/** @enum {string} */
status: "pending" | "confirmed" | "partial_paid" | "paid" | "cancelled";
eventId: string;
userId: string;
totalDueComputed?: number;
} & {
[key: string]: unknown;
})[];
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
putRegistrationsIdItems: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
options: {
eventOptionId: string;
variantId?: string | null;
quantity: number;
}[];
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
/** @enum {string} */
status: "pending" | "confirmed" | "partial_paid" | "paid" | "cancelled";
eventId: string;
userId: string;
totalDueComputed?: number;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postRegistrationsIdInvoice: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
/**
* @default email
* @enum {string}
*/
channel?: "email" | "whatsapp";
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
message: string;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postRegistrationsIdCoupon: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
code: string;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
/** @enum {string} */
status: "pending" | "confirmed" | "partial_paid" | "paid" | "cancelled";
eventId: string;
userId: string;
totalDueComputed?: number;
message: string;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
deleteRegistrationsIdCoupon: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
message: string;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
putRegistrationsIdAttendees: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
attendees: ({
/** @description An attendee already on it (left out = removed) */
id?: string;
eventOptionId: string;
variantId?: string | null;
name: string;
} & {
[key: string]: unknown;
})[];
/** @enum {string} */
ticketDelivery?: "payer" | "each";
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
ticketDelivery: string | null;
attendees: ({
id: string;
name: string;
} & {
[key: string]: unknown;
})[];
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"postRegistrationsIdAttendeesAttendeeIdForm-link": {
parameters: {
query?: never;
header?: never;
path: {
id: string;
attendeeId: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
message: string;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"getRegistrationsIdForm-draft": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
data: {
[key: string]: unknown;
};
updatedAt: string | null;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"putRegistrationsIdForm-draft": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
data: {
[key: string]: unknown;
};
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
message: string;
updatedAt: string;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"putRegistrationsIdForm-responses": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
responses: {
/** @description The named attendee this form is for */
attendeeId?: string | null;
/** @description Field id → answer (stored as text) */
answers: {
[key: string]: unknown;
};
}[];
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
message: string;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"postRegistrationsIdForm-responses": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
responses: {
/** @description The named attendee this form is for */
attendeeId?: string | null;
/** @description Field id → answer (stored as text) */
answers: {
[key: string]: unknown;
};
}[];
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
message: string;
count?: number;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getEventsIdRegistrations: {
parameters: {
query?: {
search?: string;
};
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: ({
id: string;
/** @enum {string} */
status: "pending" | "confirmed" | "partial_paid" | "paid" | "cancelled";
eventId: string;
userId: string;
totalDueComputed?: number;
} & {
[key: string]: unknown;
})[];
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
patchRegistrationsIdStatus: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
/** @enum {string} */
status: "pending" | "confirmed" | "partial_paid" | "paid" | "cancelled";
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
/** @enum {string} */
status: "pending" | "confirmed" | "partial_paid" | "paid" | "cancelled";
eventId: string;
userId: string;
totalDueComputed?: number;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postRegistrationsManual: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
eventId: string;
options: {
eventOptionId: string;
variantId?: string | null;
quantity: number;
sessionIds?: string[];
}[];
user: {
name: string;
email?: string | null;
phoneNumber?: string | null;
/** @description Self-service kiosk: the visitor sets it, and the account is active at once */
password?: string;
} & {
[key: string]: unknown;
};
/** @description email, whatsapp or both (anything else: worked out from the contact details given) */
notificationPreference?: string | null;
skipActivationNotice?: boolean;
couponCode?: string | null;
attendees?: ({
/** @description An attendee already on it (left out = removed) */
id?: string;
eventOptionId: string;
variantId?: string | null;
name: string;
} & {
[key: string]: unknown;
})[];
/** @enum {string} */
ticketDelivery?: "payer" | "each";
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
id: string;
/** @enum {string} */
status: "pending" | "confirmed" | "partial_paid" | "paid" | "cancelled";
eventId: string;
userId: string;
totalDueComputed?: number;
couponError?: string;
} & {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postRegistrationsBulk: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
/** @enum {string} */
action: "markPaid" | "cancel" | "moveOption" | "allocate" | "message";
registrationIds: string[];
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
[key: string]: unknown;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getPaymentsProviders: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
};
};
getPaymentsProvidersSettings: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
putPaymentsProvidersSettings: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"getPaymentsOpen-checkouts": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"postPaymentsOpen-checkoutsCheck": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getPaymentsStats: {
parameters: {
query?: {
page?: string;
limit?: string;
userId?: string;
from?: string;
donations?: string;
method?: string;
kind?: string;
startDate?: string;
endDate?: string;
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getPayments: {
parameters: {
query?: {
page?: string;
limit?: string;
userId?: string;
from?: string;
donations?: string;
method?: string;
kind?: string;
startDate?: string;
endDate?: string;
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postPayments: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
registrationId?: string | null;
eventId?: string | null;
amount: number | string;
method?: string;
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postPaymentsRefunds: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
paymentId?: string;
registrationId?: string;
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postPaymentsDonationsAssign: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
paymentId: string;
registrationId: string;
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postPaymentsDonationsUnassign: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
legId: string;
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postDonationsCheckout: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
eventId: string;
amount: number | string;
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getMePayments: {
parameters: {
query?: {
page?: string;
limit?: string;
userId?: string;
from?: string;
donations?: string;
method?: string;
kind?: string;
startDate?: string;
endDate?: string;
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getPaymentsId: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postPaymentsIdReceipt: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
channel?: string;
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getRegistrationsIdPayments: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
[key: string]: unknown;
}[];
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"postRegistrationsIdPayment-link": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
amount?: number | string;
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"postRegistrationsIdPayment-linkSend": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getEventsIdPayments: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"getPayment-linksId": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"postPayment-linksId": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
provider?: string;
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getCashupsAudit: {
parameters: {
query?: {
eventId?: string;
from?: string;
to?: string;
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getEventsIdCashup: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"getEventsIdCashupCash-by-user": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"putEventsIdCashupPerson-cashUserId": {
parameters: {
query?: never;
header?: never;
path: {
id: string;
userId: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
putEventsIdCashupDraft: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postEventsIdCashupClose: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postEventsIdCashupReopen: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"postCashup-linesIdPending": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"getProvider-transactions": {
parameters: {
query?: {
provider?: string;
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"getProvider-transactionsUnreconciled": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"postProvider-transactionsIdReconcile": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"postProvider-transactionsIdIgnore": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postWaitlist: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
eventId: string;
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getMeWaitlist: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getWaitlistClaimsToken: {
parameters: {
query?: never;
header?: never;
path: {
token: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getEventsIdWaitlist: {
parameters: {
query?: {
all?: string;
};
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postWaitlistIdOffer: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postWaitlistIdMove: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postWaitlistIdRemove: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
deleteWaitlistId: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getEventsIdSponsorship: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getEventsIdSponsorshipPool: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postSponsorshipsCheckout: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
eventId: string;
} & {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getEventsIdConsent: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getEventsIdConsentMedical: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"postEventsIdConsentResend-pending": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postEventsIdConsentRerequest: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"postConsent-requestsIdResend": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getConsentToken: {
parameters: {
query?: never;
header?: never;
path: {
token: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postConsentToken: {
parameters: {
query?: never;
header?: never;
path: {
token: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"getForm-responses": {
parameters: {
query?: {
eventId?: string;
registrationId?: string;
userId?: string;
cursor?: string;
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getFeedbackSummary: {
parameters: {
query?: {
eventIds?: string;
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"getFeedback-formsToken": {
parameters: {
query?: never;
header?: never;
path: {
token: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"postFeedback-formsToken": {
parameters: {
query?: never;
header?: never;
path: {
token: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getEventsIdFeedback: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
putEventsIdFeedback: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
deleteEventsIdFeedback: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
"postEventsIdFeedbackSend-now": {
parameters: {
query?: never;
header?: never;
path: {
/** @description The id */
id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
[key: string]: unknown;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: unknown;
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
getCheckinQrCode: {
parameters: {
query?: {
/** @description Multi-day events: the session (default: today's) */
sessionId?: string;
};
header?: never;
path: {
/** @description The code in the ticket's QR */
qrCode: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
/** @enum {string} */
outcome: "found" | "transferred";
/** @description For a transferred ticket: who has it now */
message: string | null;
ticket: {
id: string;
eventId: string;
eventTitle: string | null;
/** @description For section checks */
ticketOptionId: string | null;
ticketName: string | null;
variant: string | null;
/** @description The attendee named on it, if any */
attendee: string | null;
/** @description Who registered */
bookedBy: string | null;
quantity: number;
/** @description Still to check in (this session, on multi-day events) */
remaining: number;
session: {
id: string;
label: string;
} | null;
/** @description Why no session is open for check-in now */
sessionError: string | null;
/** @description not_required, given, pending, declined or missing */
consentStatus: string;
} | null;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postCheckinQrCode: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The code in the ticket's QR */
qrCode: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": {
/** @description Refuse tickets for any other event */
eventId?: string;
/** @description Only tickets valid for this section */
sectionId?: string;
/** @description Multi-day events: the session (default: today's) */
sessionId?: string;
/** @description How many to check in (default: everyone left) */
people?: number;
overrideConsent?: boolean;
/** @description This scanner, so its own offline lock doesn't block it */
deviceId?: string;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
/** @enum {string} */
outcome: "checked_in" | "already_used" | "consent_required" | "wrong_event" | "wrong_section" | "section_not_found" | "no_session" | "locked" | "transferred";
message: string;
ticket: {
id: string;
eventId: string;
eventTitle: string | null;
/** @description The ticket option, e.g. "Adult" */
ticketName: string | null;
/** @description People on this ticket */
quantity: number;
} | null;
/** @description People checked in by this request (0 unless checked_in) */
checkedIn: number;
/** @description Still to check in afterwards */
remaining: number | null;
session: {
id: string;
label: string;
} | null;
consentStatus: string | null;
/** @description consent_required: whether you may override */
canOverride: boolean;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not signed in (UNAUTHENTICATED) */
401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not allowed for this role (FORBIDDEN) */
403: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Not found (NOT_FOUND) */
404: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postAuthSignup: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
name: string;
/** Format: email */
email: string;
password: string;
phone?: string;
/**
* @description WhatsApp needs a valid South African number; otherwise email is used
* @enum {string}
*/
notificationPreference?: "email" | "whatsapp" | "both";
newsOptIn?: boolean;
/** @constant */
acceptTerms: true;
};
};
};
responses: {
/** @description OK */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
/** @constant */
status: "signed_in";
/** @description Send as `Authorization: Bearer <token>` */
token: string;
user: {
id: string;
name: string;
email: string;
/** @enum {string} */
role: "admin" | "supervisor" | "staff" | "user";
};
/** @description Ask once whether they want News & announcements */
newsPromptPending: boolean;
/** @description A privacy notice they must accept: never accepted (first) or a newer version (updated) */
noticePromptPending: false | ("first" | "updated");
/** @description With rememberDevice: send it with the next login to skip the code on this device */
deviceToken?: string;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postAuthLogin: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
/** @description Email address or phone number */
identifier: string;
password: string;
/** @description From an earlier login with rememberDevice */
deviceToken?: string;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
/** @constant */
status: "signed_in";
/** @description Send as `Authorization: Bearer <token>` */
token: string;
user: {
id: string;
name: string;
email: string;
/** @enum {string} */
role: "admin" | "supervisor" | "staff" | "user";
};
/** @description Ask once whether they want News & announcements */
newsPromptPending: boolean;
/** @description A privacy notice they must accept: never accepted (first) or a newer version (updated) */
noticePromptPending: false | ("first" | "updated");
/** @description With rememberDevice: send it with the next login to skip the code on this device */
deviceToken?: string;
} | {
/** @constant */
status: "code_required";
challengeId: string;
/** @enum {string} */
method: "email" | "whatsapp";
/** @description Where the code went, partly hidden */
destination: string | null;
/** @description true = this turns two-factor on (required for the role) */
enrolling: boolean;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
postAuthLoginCode: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": {
challengeId: string;
code: string;
/** @description Skip the code on this device next time (30 days) */
rememberDevice?: boolean;
};
};
};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
data: {
/** @constant */
status: "signed_in";
/** @description Send as `Authorization: Bearer <token>` */
token: string;
user: {
id: string;
name: string;
email: string;
/** @enum {string} */
role: "admin" | "supervisor" | "staff" | "user";
};
/** @description Ask once whether they want News & announcements */
newsPromptPending: boolean;
/** @description A privacy notice they must accept: never accepted (first) or a newer version (updated) */
noticePromptPending: false | ("first" | "updated");
/** @description With rememberDevice: send it with the next login to skip the code on this device */
deviceToken?: string;
};
};
};
};
/** @description Validation failed (VALIDATION_FAILED) */
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
};
};
}