@seatlayer/js 0.109.2 → 0.110.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -657,8 +657,12 @@ interface HoldLineItem {
657
657
  objectType: 'seat' | 'booth' | 'ga' | 'table';
658
658
  categoryKey: string;
659
659
  tierId: string | null;
660
- /** Price in major currency units (for example 45 means $45.00). */
660
+ /** Price in major currency units (for example 45 means $45.00). Includes any booking fee. */
661
661
  unitPrice: number;
662
+ /** The ticket price alone, major units, when a booking fee applies. Absent = no fee. */
663
+ basePrice?: number;
664
+ /** The booking fee per ticket, minor units, frozen on the hold. Absent = 0. */
665
+ bookingFeeMinor?: number;
662
666
  currency: string;
663
667
  quantity?: number;
664
668
  /** Channel pricing revision captured when this line used an override. */
@@ -1044,6 +1048,17 @@ interface TicketOfferAvailability {
1044
1048
  prices: TicketOfferPrice[];
1045
1049
  channelPricing: BuyerChannelPricing | null;
1046
1050
  nextPriceChangeAt?: number | null;
1051
+ /**
1052
+ * EH20: the booking fee THIS buyer pays per ticket, already inside every
1053
+ * price above. Null or absent: no fee (an older worker, a partner, a free
1054
+ * event). Only for the words "includes … booking fee"; never added to a price.
1055
+ */
1056
+ bookingFee?: BookingFeeOffer | null;
1057
+ }
1058
+ /** One fixed amount per ticket, in minor units of `currency`. */
1059
+ interface BookingFeeOffer {
1060
+ amountMinor: number;
1061
+ currency: string;
1047
1062
  }
1048
1063
  /** Parse a public offer payload without repairing a half-understood price. */
1049
1064
  declare function parseTicketOfferAvailability(body: unknown): TicketOfferAvailability | null;
@@ -1091,8 +1106,16 @@ interface CheckoutLineItem {
1091
1106
  categoryKey: string;
1092
1107
  /** Chosen ticket tier id (Adult/Child/…), or null when the category has no tiers. */
1093
1108
  tierId: string | null;
1094
- /** Unit price in MAJOR currency units (e.g. 45 = 45.00). Server-authoritative. */
1109
+ /** Unit price in MAJOR currency units (e.g. 45 = 45.00). Server-authoritative; includes any booking fee. */
1095
1110
  unitPrice: number;
1111
+ /**
1112
+ * The ticket price alone (MAJOR units), when the line pays a booking fee:
1113
+ * `unitPrice` = `basePrice` + the fee. Absent = no fee, the ticket price is
1114
+ * `unitPrice`. Additive: a host that ignores it still totals correctly.
1115
+ */
1116
+ basePrice?: number;
1117
+ /** The booking fee per ticket in MINOR units, frozen on the hold. Absent = 0. */
1118
+ bookingFeeMinor?: number;
1096
1119
  /** ISO-4217, resolved server-side (per-event override → org → USD). */
1097
1120
  currency: string;
1098
1121
  quantity: number;
@@ -1136,6 +1159,37 @@ interface CheckoutHandoff {
1136
1159
  /** Convenience total in major units (Σ unitPrice × quantity). */
1137
1160
  total: number;
1138
1161
  }
1162
+ /**
1163
+ * Why {@link SeatPicker.holdSelection} held nothing. Every refusal but `busy`
1164
+ * and `nothing_selected` is one the checkout button meets the same way:
1165
+ * - `busy`: a hold or a checkout handoff is already in flight;
1166
+ * - `nothing_selected`: no seats or tickets are picked;
1167
+ * - `sales_closed`: the event isn't selling (or closed during the hold);
1168
+ * - `selection_invalid`: the picked seats break the event's rules (a required
1169
+ * count, a stranded single seat);
1170
+ * - `too_many_tickets`: more than the picker's maximum;
1171
+ * - `seats_taken`: a seat was taken first, or the hold failed for another
1172
+ * reason (which also reaches `onError`);
1173
+ * - `paused`: SeatLayer is briefly paused for maintenance; the seats stay picked;
1174
+ * - `companion_pair_required`, `ticket_option_not_applicable`: the server's own
1175
+ * seat rules.
1176
+ */
1177
+ type HoldSelectionRefusal = 'busy' | 'nothing_selected' | 'sales_closed' | 'selection_invalid' | 'too_many_tickets' | 'seats_taken' | 'paused' | 'companion_pair_required' | 'ticket_option_not_applicable';
1178
+ /**
1179
+ * What {@link SeatPicker.holdSelection} did: the hold and its seats, or why
1180
+ * not, with the words the picker shows the buyer for it (`labels`: the seats a
1181
+ * refusal names, when the server named them).
1182
+ */
1183
+ type HoldSelectionResult = {
1184
+ ok: true;
1185
+ hold: HoldResult;
1186
+ seats: PickerSeat[];
1187
+ } | {
1188
+ ok: false;
1189
+ reason: HoldSelectionRefusal;
1190
+ message: string;
1191
+ labels?: string[];
1192
+ };
1139
1193
  /** Host-authoritative pricing — see {@link SeatPickerOptions.pricing}. */
1140
1194
  interface SeatPickerPricing {
1141
1195
  /** Unit prices by category key: a flat number, or `{ base, tiers: { tierId: price } }`. */
@@ -1299,6 +1353,12 @@ interface SeatPickerOptions {
1299
1353
  selectedObjects?: string[];
1300
1354
  /** Object ids or public labels the buyer may select. Omit for all free objects. */
1301
1355
  selectableObjects?: string[] | null;
1356
+ /**
1357
+ * Paint a free seat outside `selectableObjects` as the buyers' one
1358
+ * "Unavailable", so a narrowed list (a guest's own seats) never shows a seat
1359
+ * a tap can't take. Only the paint changes. Default false.
1360
+ */
1361
+ unselectableAsUnavailable?: boolean;
1302
1362
  /** Require exactly this many total seated/table/GA guest units before checkout. */
1303
1363
  numberOfPlacesToSelect?: number;
1304
1364
  /** Optional sale guards evaluated after every change and enforced before a
@@ -1421,9 +1481,8 @@ interface SeatPickerOptions {
1421
1481
  */
1422
1482
  referral?: string;
1423
1483
  /**
1424
- * @deprecated No effect since 0.81: the badge follows the account's
1425
- * white-label entitlement, which the server applies to the served chart.
1426
- * Accepted and ignored so existing embeds keep type-checking.
1484
+ * @deprecated No effect: the picker draws no attribution badge. Accepted and
1485
+ * ignored so existing embeds keep type-checking.
1427
1486
  */
1428
1487
  hideBadge?: boolean;
1429
1488
  /**
@@ -1446,6 +1505,15 @@ interface SeatPickerOptions {
1446
1505
  * host can drive it later through `setPanelCollapsed()`. Default false.
1447
1506
  */
1448
1507
  panelCollapsed?: boolean;
1508
+ /**
1509
+ * Draw the picker's checkout bar: the ticket count, the total and the
1510
+ * checkout button at the foot of the ticket panel (on a phone, the sheet's
1511
+ * foot). Default true. Set false when the host draws its own button and
1512
+ * holds through `holdSelection()`, as a guest list's "Confirm 3 seats" does
1513
+ * where nobody pays. The map, the tray and every other control stay; on a
1514
+ * phone the sheet keeps its handle and cart.
1515
+ */
1516
+ checkoutBar?: boolean;
1449
1517
  /** Host theme overrides — see SeatPickerTheme. */
1450
1518
  theme?: SeatPickerTheme;
1451
1519
  /**
@@ -2132,9 +2200,8 @@ interface SeatingChartOptions {
2132
2200
  /** Internal hosted-runtime control. Defaults true for direct web embeds. */
2133
2201
  showTestModeIndicator?: boolean;
2134
2202
  /**
2135
- * @deprecated No effect since 0.81: the badge follows the account's
2136
- * white-label entitlement, which the server applies to the served chart.
2137
- * Accepted and ignored.
2203
+ * @deprecated No effect: the chart draws no attribution badge. Accepted and
2204
+ * ignored so existing embeds keep type-checking.
2138
2205
  */
2139
2206
  showAttribution?: boolean;
2140
2207
  /**
@@ -2287,6 +2354,12 @@ declare class SeatingChart {
2287
2354
  * for, which is how someone who picks French ends up reading German.
2288
2355
  */
2289
2356
  private localeGeneration;
2357
+ /**
2358
+ * The locale this chart's own words were last drawn in. `setLocale` compares
2359
+ * with this, not with the shared active locale, which a host page may have
2360
+ * switched first.
2361
+ */
2362
+ private paintedLocale;
2290
2363
  /** The switcher, kept in step with a language change made from anywhere else. */
2291
2364
  private languageSelect;
2292
2365
  private rendered;
@@ -2332,15 +2405,6 @@ declare class SeatingChart {
2332
2405
  private notifyMapStateChange;
2333
2406
  /** Fetch the chart, mount the renderer, seed statuses and go live. Idempotent. */
2334
2407
  render(): Promise<this>;
2335
- /**
2336
- * Attribution badge pinned to the embed's bottom-right, linking to
2337
- * seatlayer.io. Rendered as an absolutely-positioned overlay with
2338
- * self-contained inline styles — the SDK embed ships no widget CSS, and an
2339
- * overlay keeps it out of the layout flow so it never disturbs the SDK v0.22
2340
- * fill-height resize contract. Mirrors the full widget's mark + wordmark and
2341
- * reuses the `picker.poweredBy` i18n string.
2342
- */
2343
- private buildBadge;
2344
2408
  private placeTooltip;
2345
2409
  private updateTooltip;
2346
2410
  /**
@@ -3188,6 +3252,14 @@ declare class BuyerAssetObjectUrls {
3188
3252
  dispose(): void;
3189
3253
  }
3190
3254
 
3255
+ /** What the widget's words need: the fee, if this buyer's prices include one. */
3256
+ interface BookingFeeWords {
3257
+ /** "includes £2.00 booking fee" under a seat's price; '' when it pays none. */
3258
+ seat(price: number): string;
3259
+ /** " · includes booking fee" after the tray's count; '' when nothing in the cart pays one. */
3260
+ tray(heldItems: readonly HoldLineItem[], count: number, total: number): string;
3261
+ }
3262
+
3191
3263
  /**
3192
3264
  * One performance of the group, already formatted by the wrapper.
3193
3265
  *
@@ -3327,6 +3399,85 @@ interface PerformanceGroupPickerInternal {
3327
3399
  * the DOM for screen readers, copy-paste and the accessibility tree.
3328
3400
  */
3329
3401
  suppressPricing?: boolean;
3402
+ /**
3403
+ * A Season package, priced by the wrapper, shown in the event cart.
3404
+ *
3405
+ * `suppressPricing` blanks every amount because a per-performance price is
3406
+ * one the buyer cannot act on. A Season package has a price the buyer CAN
3407
+ * act on: one per seat, for every included date. With this set, the cart's
3408
+ * seat cards carry that price and the type the seat is sold as (the cart's
3409
+ * own type select), the footer the package total, and the seat card its
3410
+ * package price. Absent, nothing changes. All Season maths stays in the
3411
+ * wrapper; the picker only places the words it is given.
3412
+ */
3413
+ packagePricing?: SeasonCartPricing | null;
3414
+ /**
3415
+ * The wrapper's own words for a seat free on some dates only, in place of
3416
+ * the group's "nights" copy: the card's title and advice, and the map key's
3417
+ * entry. A Season sells games, matches or concerts, not nights.
3418
+ */
3419
+ partialWords?: {
3420
+ title: string;
3421
+ advice: string;
3422
+ legend: string;
3423
+ } | null;
3424
+ /**
3425
+ * The wrapper opened the picker in its own popup (SeasonPicker.open()): the
3426
+ * picker shows the same ✕ SeatPicker.open() shows, and a press on it asks the
3427
+ * wrapper to close, which may first ask the buyer about held seats.
3428
+ */
3429
+ modalClose?: (() => void) | null;
3430
+ /**
3431
+ * The club's own logo (the Season read's `orgLogoUrl`), for the header when
3432
+ * neither the host's theme nor the chart's theme gives one. It comes before
3433
+ * the event's poster: one date's poster is not the Season's crest.
3434
+ */
3435
+ brandLogoUrl?: string | null;
3436
+ /**
3437
+ * The club's own colour (the Season read's `orgAccent`), the accent when
3438
+ * neither the host's theme nor the chart's theme sets one, before the default.
3439
+ */
3440
+ brandAccent?: string | null;
3441
+ /**
3442
+ * The wrapper's own line, placed straight under the picker's header: a
3443
+ * Season's steps, its package and Change package (R2c). Absent, the header
3444
+ * is followed by what it always was.
3445
+ */
3446
+ subheader?: HTMLElement | null;
3447
+ }
3448
+ /** One seat's package line in the cart. */
3449
+ interface SeasonCartLine {
3450
+ /** The seat's package price, formatted; '' while it is unpriced. */
3451
+ amountText: string;
3452
+ /** The types it can be sold as, for the cart's select; null when there is no choice. */
3453
+ types: {
3454
+ options: ReadonlyArray<{
3455
+ id: string;
3456
+ name: string;
3457
+ }>;
3458
+ selected: string;
3459
+ } | null;
3460
+ }
3461
+ interface SeasonCartPricing {
3462
+ seat(label: string, categoryKey: string): SeasonCartLine | null;
3463
+ /**
3464
+ * The footer for the seats in the cart right now (held and chosen): "£874"
3465
+ * and "2 seats · for all 19 dates", or null while any of them is unpriced.
3466
+ */
3467
+ total(lines: ReadonlyArray<{
3468
+ label: string;
3469
+ categoryKey: string;
3470
+ }>): {
3471
+ amountText: string;
3472
+ countText: string;
3473
+ } | null;
3474
+ /** The buyer picked a type in the cart. The picker repaints the cart after it. */
3475
+ setType(label: string, type: string): void;
3476
+ /** The seat card's price and the line under it ("for all 19 dates"), or null when unpriced. */
3477
+ seatCardPrice(categoryKey: string): {
3478
+ price: string;
3479
+ note: string;
3480
+ } | null;
3330
3481
  }
3331
3482
 
3332
3483
  /**
@@ -3935,6 +4086,13 @@ declare class SeatPicker implements GaPromptPicker {
3935
4086
  /** Bumped on every locale REQUEST, so a load that resolves late can tell it
3936
4087
  * is no longer the one asked for. See {@link applyActiveLocale}. */
3937
4088
  private localeGeneration;
4089
+ /**
4090
+ * The locale the picker's own words were last drawn in. `setLocale` compares
4091
+ * with this, not with the shared active locale: a host that switched the
4092
+ * shared locale first (the guest page does, then calls `setLocale`) would
4093
+ * otherwise find nothing to change and leave every word in the old language.
4094
+ */
4095
+ private paintedLocale;
3938
4096
  /** @internal */ els: Record<string, HTMLElement>;
3939
4097
  /** Feature 6 anchor regions — positioned flex containers over the map. */
3940
4098
  /** @internal */ regions: Record<string, HTMLElement>;
@@ -4278,7 +4436,6 @@ declare class SeatPicker implements GaPromptPicker {
4278
4436
  private setFsFallback;
4279
4437
  private cbEl;
4280
4438
  private modalCleanup;
4281
- private prevFocus;
4282
4439
  private escHandler;
4283
4440
  /** Set by open(): closes the modal (scroll restore + destroy + onClose). */
4284
4441
  private closeModal;
@@ -4564,18 +4721,6 @@ declare class SeatPicker implements GaPromptPicker {
4564
4721
  */
4565
4722
  private setSalesClosed;
4566
4723
  /** @internal */ applySalesClosed(): void;
4567
- /**
4568
- * The badge follows the SERVED chart theme, and nothing else.
4569
- *
4570
- * The API writes `theme.hideBadge` from the owning account's white-label
4571
- * entitlement on every buyer-facing document, so this one flag is the whole
4572
- * answer. The host's own `hideBadge` option is deliberately NOT consulted:
4573
- * an un-entitled embed could otherwise strip the attribution by passing a
4574
- * boolean. It stays in the option type for compatibility, inert.
4575
- */
4576
- private badgeHidden;
4577
- /** Attribution badge in the side-panel foot (Gap 7). Hidden per host/theme. */
4578
- private buildBadge;
4579
4724
  /**
4580
4725
  * Create the positioned flex containers that own every persistent map overlay.
4581
4726
  * Appended once after controller.render(); each chrome piece is then appended
@@ -4805,6 +4950,8 @@ declare class SeatPicker implements GaPromptPicker {
4805
4950
  */
4806
4951
  private openSeatView;
4807
4952
  private closeSeatView;
4953
+ /** @internal EH20: "includes … booking fee" for this buyer's prices (pickerBookingFee). */
4954
+ feeWords(): BookingFeeWords;
4808
4955
  /** @internal */ money(n: number): string;
4809
4956
  /**
4810
4957
  * Sleep until the offer schedule's next known transition, then re-read.
@@ -4887,6 +5034,27 @@ declare class SeatPicker implements GaPromptPicker {
4887
5034
  /** The half of a legend's inputs the rail and the price list share, resolved
4888
5035
  * once so the two renderings cannot be given different answers. */
4889
5036
  /** @internal */ legendDeps(): LegendDeps;
5037
+ /** Seats drawn two-tone right now (free on some dates only). */
5038
+ private readonly markedSeatIds;
5039
+ /**
5040
+ * @internal The chart category of a seat on this map, or null when the map
5041
+ * has no seat with that label. A Season hold's lines are identity-only, so a
5042
+ * held seat that was never clicked (Best Available) has its category here.
5043
+ */
5044
+ seatCategory(label: string): string | null;
5045
+ /**
5046
+ * @internal Where each seat is, as the cart names it (section, row, seat
5047
+ * number), for a wrapper's own words: a Season's Change package says which
5048
+ * held seats it releases (SE55). A label the map can't place is left bare.
5049
+ */
5050
+ seatPlaces(labels: readonly string[]): Array<{
5051
+ label: string;
5052
+ section?: string;
5053
+ row?: string;
5054
+ seat?: string;
5055
+ }>;
5056
+ /** @internal The map key's entry for them, when the wrapper words one and the map has any. */
5057
+ partialLegend(): string | null;
4890
5058
  /** Paint the phone's always-visible legend; the chip HTML lives in
4891
5059
  * pickerLegend.ts. A legend of ONE teaches nothing, so it stays away. */
4892
5060
  /** @internal */ syncPriceRail(categories: LegendCategory[], left: Record<string, number>, deps?: LegendDeps): void;
@@ -4920,7 +5088,16 @@ declare class SeatPicker implements GaPromptPicker {
4920
5088
  * "PIT · Adult ×2" means both of them, not one of two identical cards.
4921
5089
  */
4922
5090
  private removeHeldLabels;
4923
- /** @internal */ handleCta(): Promise<void>;
5091
+ /**
5092
+ * Hold the buyer's picked seats exactly as the checkout button does (the
5093
+ * same checks, words and hold) without the checkout handoff: `onCheckout`
5094
+ * isn't called and hosted checkout doesn't open. For a host that draws its
5095
+ * own button (see `checkoutBar: false`) and finishes the order itself.
5096
+ * Resolves with the hold, or a typed refusal with the words the picker
5097
+ * showed; it never rejects. A second call while one is in flight is `busy`.
5098
+ */
5099
+ holdSelection(): Promise<HoldSelectionResult>;
5100
+ /** @internal */ handleCta(handoff?: boolean): Promise<HoldSelectionResult>;
4924
5101
  /** @internal */ startHoldTimer(expiresAt: number): void;
4925
5102
  /** @internal */ stopHoldTimer(): void;
4926
5103
  /** Show/refresh (or hide) the "Need more time?" prompt with the live seconds left. */
@@ -4948,6 +5125,13 @@ declare class SeatPicker implements GaPromptPicker {
4948
5125
  * that reports the failure.
4949
5126
  */
4950
5127
  private raiseHoldConflict;
5128
+ /**
5129
+ * After the ticket count on the booked screen. Only SeatLayer checkout sends
5130
+ * the buyer an email, so only it promises one: on your own checkout your
5131
+ * platform owns the confirmation, and a promise nobody keeps leaves the buyer
5132
+ * waiting (season trial C11). Both lines can be reworded with `messages`.
5133
+ */
5134
+ private bookedLine;
4951
5135
  private showBooked;
4952
5136
  /** Take the confirmation down and give the map back. The booking stands. */
4953
5137
  private dismissBooked;
@@ -5819,6 +6003,89 @@ declare class PerformanceGroupPicker {
5819
6003
  private checkout;
5820
6004
  }
5821
6005
 
6006
+ /**
6007
+ * The anonymous Season buyer session — how a page with no backend at all can
6008
+ * put a Season on sale.
6009
+ *
6010
+ * Until now every `SeasonPicker` needed a `bss_` bearer minted by the
6011
+ * organizer's own server with their secret key, which meant only a developer
6012
+ * could embed a Season. `POST /pub/seasons/:key/sessions` removes that step: it
6013
+ * takes no credential, checks the Season is public, its sales are open and the
6014
+ * browser's Origin is one the organizer declared, and hands back an ordinary
6015
+ * Season buyer bearer. Every existing `/pub/seasons/:key/*` call then works
6016
+ * unchanged — this module mints and renews the bearer and does nothing else.
6017
+ *
6018
+ * A publishable `pk_…` key is NOT sent here. It is accepted by the picker for
6019
+ * parity with `SeatPicker` (one snippet shape across surfaces) and to name the
6020
+ * account in a host's own source, but the Season key plus the registered Origin
6021
+ * are what the server actually verifies, so putting a key on the wire would add
6022
+ * a value to leak without adding a check.
6023
+ *
6024
+ * WHAT MAKES THIS SAFE TO BE ANONYMOUS: the session it mints is Public-sale
6025
+ * only. It can never select a private channel or a renewal allocation — that
6026
+ * still needs `buyerAccessTokenProvider` with the organizer's own scope — and
6027
+ * an explicit host token always takes precedence over this path.
6028
+ */
6029
+
6030
+ /** The three ways the server refuses to mint an anonymous Season session. */
6031
+ type SeasonPublicRefusalReason = 'audience_not_public' | 'sales_not_open' | 'origin_not_allowed';
6032
+ /** What `POST /pub/seasons/:key/sessions` returns. */
6033
+ interface SeasonPublicSession {
6034
+ token: string;
6035
+ expiresAt: number;
6036
+ seasonKey: string;
6037
+ planActivationIds: string[];
6038
+ }
6039
+
6040
+ /**
6041
+ * The Season errors a host can test with `instanceof`, in a module of their own.
6042
+ *
6043
+ * On the CDN the Season picker is a lazy chunk (seatlayer-season.mjs) that reaches
6044
+ * these classes through its host object rather than bundling a second copy, so an
6045
+ * error the picker throws is still `instanceof seatlayer.SeasonApiError`. Here
6046
+ * rather than in seasonApi.ts and seasonPublicSession.ts, whose other code moves
6047
+ * into that chunk; both still export them, so nothing changes for npm.
6048
+ */
6049
+
6050
+ declare class SeasonApiError extends Error {
6051
+ readonly code: string;
6052
+ readonly status: number;
6053
+ /** Seconds from a 503's `Retry-After`, when the server sent one. */
6054
+ readonly retryAfterS?: number;
6055
+ /** The server's `retryable` flag from the error body, when present. */
6056
+ readonly retryable?: boolean;
6057
+ /** The error body's `reason` (for example `maintenance_mode`), when present. */
6058
+ readonly reason?: string;
6059
+ /** For `seats_unavailable` or a refused operation: each refused date and why (slice 2.23). */
6060
+ readonly refusals?: readonly SeasonRefusal[];
6061
+ /**
6062
+ * The sentence the seat map shows the buyer for this failure, when the
6063
+ * Season knows better than the map's generic wording (season trial C8).
6064
+ */
6065
+ readonly buyerMessage?: string;
6066
+ constructor(code: string, status: number, details?: {
6067
+ retryAfterS?: number;
6068
+ retryable?: boolean;
6069
+ reason?: string;
6070
+ refusals?: readonly SeasonRefusal[];
6071
+ buyerMessage?: string;
6072
+ });
6073
+ }
6074
+ declare class SeasonRecoveryTimeoutError extends Error {
6075
+ readonly operationId: string;
6076
+ constructor(operationId: string);
6077
+ }
6078
+ /**
6079
+ * Thrown when the server refuses to mint. Carries the machine reason and
6080
+ * nothing else — no origin, no account, no audience detail — because the
6081
+ * refusal is reported to an anonymous browser.
6082
+ */
6083
+ declare class SeasonPublicSessionRefused extends Error {
6084
+ readonly reason: SeasonPublicRefusalReason;
6085
+ readonly status: number;
6086
+ constructor(reason: SeasonPublicRefusalReason, status: number);
6087
+ }
6088
+
5822
6089
  type SeasonOperationState = 'preparing' | 'commit_pending' | 'committed' | 'expire_pending' | 'booking_pending' | 'abort_pending' | 'aborted' | 'partial_terminal' | 'expired' | 'booked';
5823
6090
  /**
5824
6091
  * Who may open this Season in a browser.
@@ -5849,6 +6116,21 @@ interface SeasonDescriptor {
5849
6116
  audience: SeasonAudience;
5850
6117
  /** Absent on a worker that predates hosted Season checkout; read as `null`. */
5851
6118
  checkoutMode?: SeasonCheckoutMode | null;
6119
+ /** The Season's sales state (`open` while it sells). Absent on a worker that predates it. */
6120
+ salesState?: string | null;
6121
+ /** The club's Brand settings: its name, logo and colour, or null when unset. Absent on an older worker. */
6122
+ organizerName?: string | null;
6123
+ orgLogoUrl?: string | null;
6124
+ orgAccent?: string | null;
6125
+ /**
6126
+ * The buyer the host's server named when it minted this session, for the
6127
+ * payment card's prefill only (C44). Null when it named nobody or the picker
6128
+ * minted its own session; absent on an older worker.
6129
+ */
6130
+ buyer?: {
6131
+ email: string | null;
6132
+ name: string | null;
6133
+ } | null;
5852
6134
  planActivationId: string;
5853
6135
  occurrenceCount: number;
5854
6136
  occurrences: Array<{
@@ -5856,6 +6138,10 @@ interface SeasonDescriptor {
5856
6138
  eventKey: string;
5857
6139
  name: string;
5858
6140
  startsAt: number | null;
6141
+ /** No longer part of what a new hold takes: marked past, or cancelled. Absent on an older worker. */
6142
+ past?: boolean;
6143
+ /** A cancel took this date off sale (it is also `past`). Absent on an older worker. */
6144
+ cancelled?: boolean;
5859
6145
  }>;
5860
6146
  }
5861
6147
  interface SeasonAvailability {
@@ -5882,8 +6168,37 @@ interface SeasonOperation {
5882
6168
  allocations: Array<{
5883
6169
  eventId: string;
5884
6170
  state: string;
6171
+ code?: SeasonRefusalCode;
5885
6172
  }>;
5886
6173
  }
6174
+ /**
6175
+ * Why a date refused a seat (slice 2.23), on a refused date of an operation or
6176
+ * handoff: sold or held by another buyer, or kept for a holder's renewal.
6177
+ */
6178
+ type SeasonRefusalCode = 'seat_unavailable' | 'seat_held_for_renewal';
6179
+ /** One refused date and its reason. */
6180
+ interface SeasonRefusal {
6181
+ eventKey: string;
6182
+ code: SeasonRefusalCode;
6183
+ }
6184
+ /**
6185
+ * A Season package's price types (slice 2.10). A package prices each category
6186
+ * once per type it offers ("Stalls, adult $480; Stalls, child $240"); a seat is
6187
+ * sold as one type, chosen before the hold. `adult` is the default wherever a
6188
+ * type is not named, so every price and hold from before price types is adult.
6189
+ */
6190
+ type SeasonPriceType = 'adult' | 'child' | 'concession' | 'senior' | 'student';
6191
+ /**
6192
+ * Each seat's price type, by seat label, for a programmatic hold
6193
+ * (`holdSameSeat(labels, operationId, { 'A-2': 'child' })`). A label the map
6194
+ * leaves out is adult.
6195
+ */
6196
+ type SeasonSeatPriceTypes = Readonly<Record<string, SeasonPriceType>>;
6197
+ /** One held seat and the price type it was held as. */
6198
+ interface SeasonCheckoutSeat {
6199
+ label: string;
6200
+ priceTypeKey: SeasonPriceType;
6201
+ }
5887
6202
  interface SeasonCheckoutHandoff {
5888
6203
  seasonKey: string;
5889
6204
  planActivationId: string;
@@ -5897,10 +6212,17 @@ interface SeasonCheckoutHandoff {
5897
6212
  allocations: Array<{
5898
6213
  eventKey: string;
5899
6214
  state: string;
6215
+ code?: SeasonRefusalCode;
5900
6216
  }>;
6217
+ /**
6218
+ * Each held seat and its price type (slice 2.10), `adult` where the picker
6219
+ * sells no other type. Absent only on an operation restored by id, whose
6220
+ * seats this page did not choose.
6221
+ */
6222
+ seats?: SeasonCheckoutSeat[];
5901
6223
  }
5902
6224
  /**
5903
- * One category's package price, for one package.
6225
+ * One category's package price, for one package and one price type.
5904
6226
  *
5905
6227
  * `unitPrice` is an integer in the currency's MINOR unit, like every other
5906
6228
  * money field the API returns, and it is the price of the whole package for one
@@ -5909,11 +6231,22 @@ interface SeasonCheckoutHandoff {
5909
6231
  */
5910
6232
  interface SeasonCategoryPrice {
5911
6233
  categoryKey: string;
6234
+ /** The type this price is for. Absent from a worker before price types, which reads as `'adult'`. */
6235
+ priceTypeKey?: SeasonPriceType;
6236
+ /** The server's name for that type ("Child"). */
6237
+ priceTypeLabel?: string;
5912
6238
  unitPrice: number;
5913
6239
  }
5914
6240
  interface SeasonPackagePrices {
5915
6241
  planKey: string;
6242
+ /** The package's Plan activation: what a buyer session is bound to, as the Season read names it. */
6243
+ planActivationId: string;
5916
6244
  name: string;
6245
+ /** The package's dates still to come, by the Season read's rule. Absent on an older worker. */
6246
+ datesToCome?: number;
6247
+ /** The first and last of those dates (epoch ms); null when none is left or none has a time. */
6248
+ firstDateAt?: number | null;
6249
+ lastDateAt?: number | null;
5917
6250
  prices: SeasonCategoryPrice[];
5918
6251
  }
5919
6252
  /**
@@ -5953,41 +6286,14 @@ interface SeasonRenewalIntent {
5953
6286
  intentId: string;
5954
6287
  receivedAt: number;
5955
6288
  }
5956
- declare class SeasonApiError extends Error {
5957
- readonly code: string;
5958
- readonly status: number;
5959
- /** Seconds from a 503's `Retry-After`, when the server sent one. */
5960
- readonly retryAfterS?: number;
5961
- /** The server's `retryable` flag from the error body, when present. */
5962
- readonly retryable?: boolean;
5963
- /** The error body's `reason` (for example `maintenance_mode`), when present. */
5964
- readonly reason?: string;
5965
- constructor(code: string, status: number, details?: {
5966
- retryAfterS?: number;
5967
- retryable?: boolean;
5968
- reason?: string;
5969
- });
5970
- }
5971
- declare class SeasonRecoveryTimeoutError extends Error {
5972
- readonly operationId: string;
5973
- constructor(operationId: string);
5974
- }
5975
6289
 
5976
- interface SeasonStatusEvent {
5977
- kind: 'loading' | 'ready' | 'pending' | 'held' | 'booked' | 'released' | 'renewal_intent' | 'partial_terminal' | 'failed';
5978
- message: string;
5979
- operationId?: string;
5980
- }
5981
- /** Host-authored commercial context. Display only; checkout must re-price server-side. */
5982
- interface SeasonOfferPresentation {
5983
- eyebrow?: string;
5984
- priceLabel?: string;
5985
- compareAtPriceLabel?: string;
5986
- savingsLabel?: string;
5987
- priceNote?: string;
5988
- benefits?: readonly string[];
5989
- renewalLabel?: string;
5990
- }
6290
+ /**
6291
+ * The Season picker's transport: what the event SeatPicker calls to read the
6292
+ * map, hold and release seats, and poll availability, spoken in Season
6293
+ * operations. Moved out of SeasonPickerInteractive.ts unchanged, so the
6294
+ * vendored copy stays under the app's 1,500-line cap.
6295
+ */
6296
+
5991
6297
  interface SeasonBestAvailableOptions {
5992
6298
  categoryKey?: string;
5993
6299
  zoneId?: string;
@@ -5996,6 +6302,20 @@ interface SeasonBestAvailableOptions {
5996
6302
  /** Refuse scattered fallback when no contiguous block of `qty` exists. */
5997
6303
  requireContiguous?: boolean;
5998
6304
  }
6305
+
6306
+ interface SeasonStatusEvent {
6307
+ kind: 'loading' | 'ready' | 'pending' | 'held' | 'booked' | 'released' | 'renewal_intent' | 'partial_terminal' | 'failed';
6308
+ message: string;
6309
+ operationId?: string;
6310
+ }
6311
+ /**
6312
+ * A host's token source for a Season: the event picker's, plus the package the
6313
+ * token is for once the buyer has chosen one (`planActivationId`, R2c). Absent
6314
+ * means the host's own default package.
6315
+ */
6316
+ type SeasonAccessTokenProvider = (context: Parameters<BuyerAccessTokenProvider>[0] & {
6317
+ planActivationId?: string;
6318
+ }) => ReturnType<BuyerAccessTokenProvider>;
5999
6319
  interface SeasonPickerOptions {
6000
6320
  container: string | HTMLElement;
6001
6321
  season: string;
@@ -6037,21 +6357,45 @@ interface SeasonPickerOptions {
6037
6357
  * cannot authorize it.
6038
6358
  */
6039
6359
  returnUrl?: string;
6040
- buyerAccessTokenProvider?: BuyerAccessTokenProvider;
6360
+ /**
6361
+ * The buyer's email, when your page already knows it (a signed-in member).
6362
+ * It prefills SeatLayer checkout's card for `checkout: 'hosted'`; the buyer
6363
+ * can still change it before paying.
6364
+ */
6365
+ buyerEmail?: string;
6366
+ /** The buyer's name, prefilled on the card the same way as `buyerEmail`. */
6367
+ buyerName?: string;
6368
+ /**
6369
+ * The host's own token source. Once the buyer chooses another package on
6370
+ * step 1, it is asked for that package's token: the context then carries
6371
+ * `planActivationId`, and the session the host mints must be bound to it.
6372
+ */
6373
+ buyerAccessTokenProvider?: SeasonAccessTokenProvider;
6041
6374
  buyerAccessToken?: string | BuyerAccessToken;
6042
6375
  initialOperationId?: string;
6376
+ /**
6377
+ * The package to open on, by its key (the package's key in the dashboard).
6378
+ * Without it, or for a key that is not on sale, the picker opens on the
6379
+ * Season's first package. Ignored with a host token, which is bound to one.
6380
+ */
6381
+ package?: string;
6043
6382
  recoveryTimeoutMs?: number;
6044
6383
  realtimePollMs?: number;
6045
6384
  fetch?: typeof fetch;
6046
- offer?: SeasonOfferPresentation;
6047
6385
  /**
6048
- * Show the picker's own season header: name, venue chips, package prices
6049
- * and dates. Defaults to true. Set it to false when the host page already
6050
- * shows those facts, so the buyer does not read them twice; the picker then
6051
- * starts at its step bar. The offer and benefits live in that header, so
6052
- * `offer` has no visible effect while it is hidden.
6386
+ * The price types this picker sells, for example `['adult', 'child']`
6387
+ * (slice 2.10). When it names a type besides adult, each seat card in the
6388
+ * cart offers the types the package prices for that seat's category, at
6389
+ * that type's price, in the cart's own type select, and the hold and the
6390
+ * handoff carry each seat's type. Absent or `['adult']`: every seat is adult.
6053
6391
  */
6054
- header?: boolean;
6392
+ priceTypes?: readonly SeasonPriceType[];
6393
+ /**
6394
+ * The host emails a ticket for every date itself (its own checkout does), so
6395
+ * step 1 says so: "One ticket per date, sent by email." Our own checkout
6396
+ * says it without this. Default off: a host that hands off may not email.
6397
+ */
6398
+ ticketsByEmail?: boolean;
6055
6399
  maxSelection?: number;
6056
6400
  selectedObjects?: string[];
6057
6401
  selectableObjects?: string[] | null;
@@ -6099,63 +6443,61 @@ interface SeasonPickerOptions {
6099
6443
  onStatusChange?: (event: SeasonStatusEvent) => void;
6100
6444
  onError?: (error: unknown) => void;
6101
6445
  }
6446
+ /** `SeasonPicker.open()`'s options: the picker's own, without a container. */
6447
+ interface SeasonPickerOpenOptions extends Omit<SeasonPickerOptions, 'container'> {
6448
+ /** The popup closed: ✕, Escape, a press on the page around it, or close(). */
6449
+ onClose?: () => void;
6450
+ }
6451
+
6102
6452
  declare class SeasonPicker {
6103
6453
  #private;
6104
6454
  constructor(options: SeasonPickerOptions);
6105
6455
  render(): Promise<this>;
6106
- holdSameSeat(labels: readonly string[], operationId: string): Promise<SeasonCheckoutHandoff>;
6456
+ /**
6457
+ * @internal Sell another of the Season's packages (R2c, the package step):
6458
+ * a session bound to that package, and its dates, availability and prices,
6459
+ * shown on step 1 with its card chosen. Seats chosen but not held are
6460
+ * dropped; a hold must be released first. A newer call wins, and an older
6461
+ * call's reads are dropped.
6462
+ */
6463
+ choosePackage(planActivationId: string): Promise<void>;
6464
+ /** @internal Step 2: the chosen package's map (step 1's Choose seats). */
6465
+ chooseSeats(): Promise<void>;
6466
+ /**
6467
+ * Hold `labels` for every performance. `priceTypes` names each seat's price
6468
+ * type by label (slice 2.10), and a label it leaves out is adult; without it,
6469
+ * each seat keeps the type the buyer chose (adult when none). A type the
6470
+ * package does not price for that seat rejects with a `SeasonApiError` coded
6471
+ * `price_type_not_offered`, and nothing is held.
6472
+ */
6473
+ holdSameSeat(labels: readonly string[], operationId: string, priceTypes?: SeasonSeatPriceTypes): Promise<SeasonCheckoutHandoff>;
6107
6474
  holdBestAvailable(qty: number, operationId: string, options?: SeasonBestAvailableOptions): Promise<SeasonCheckoutHandoff>;
6108
6475
  restoreOperation(operationId: string): Promise<SeasonCheckoutHandoff | null>;
6476
+ /**
6477
+ * Your server booked the held seats (`bookSeasonHold`, on your own checkout):
6478
+ * tell the picker. It reads the operation back once. When SeatLayer has it
6479
+ * booked, the picker shows its booked state, stops the hold clock and stops
6480
+ * offering checkout, and this resolves `true`. It resolves `false`, leaving
6481
+ * the picker as it was, when nothing is held here or the operation is not
6482
+ * booked yet.
6483
+ */
6484
+ markBooked(): Promise<boolean>;
6109
6485
  release(releaseActionId: string): Promise<void>;
6110
6486
  createRenewalIntent(offerId: string): Promise<SeasonRenewalIntent>;
6111
6487
  getDescriptor(): SeasonDescriptor | null;
6112
6488
  getAvailability(): SeasonAvailability | null;
6113
6489
  getHandoff(): SeasonCheckoutHandoff | null;
6114
6490
  destroy(): void;
6115
- }
6116
-
6117
- /**
6118
- * The anonymous Season buyer session — how a page with no backend at all can
6119
- * put a Season on sale.
6120
- *
6121
- * Until now every `SeasonPicker` needed a `bss_` bearer minted by the
6122
- * organizer's own server with their secret key, which meant only a developer
6123
- * could embed a Season. `POST /pub/seasons/:key/sessions` removes that step: it
6124
- * takes no credential, checks the Season is public, its sales are open and the
6125
- * browser's Origin is one the organizer declared, and hands back an ordinary
6126
- * Season buyer bearer. Every existing `/pub/seasons/:key/*` call then works
6127
- * unchanged — this module mints and renews the bearer and does nothing else.
6128
- *
6129
- * A publishable `pk_…` key is NOT sent here. It is accepted by the picker for
6130
- * parity with `SeatPicker` (one snippet shape across surfaces) and to name the
6131
- * account in a host's own source, but the Season key plus the registered Origin
6132
- * are what the server actually verifies, so putting a key on the wire would add
6133
- * a value to leak without adding a check.
6134
- *
6135
- * WHAT MAKES THIS SAFE TO BE ANONYMOUS: the session it mints is Public-sale
6136
- * only. It can never select a private channel or a renewal allocation — that
6137
- * still needs `buyerAccessTokenProvider` with the organizer's own scope — and
6138
- * an explicit host token always takes precedence over this path.
6139
- */
6140
-
6141
- /** The three ways the server refuses to mint an anonymous Season session. */
6142
- type SeasonPublicRefusalReason = 'audience_not_public' | 'sales_not_open' | 'origin_not_allowed';
6143
- /** What `POST /pub/seasons/:key/sessions` returns. */
6144
- interface SeasonPublicSession {
6145
- token: string;
6146
- expiresAt: number;
6147
- seasonKey: string;
6148
- planActivationIds: string[];
6149
- }
6150
- /**
6151
- * Thrown when the server refuses to mint. Carries the machine reason and
6152
- * nothing else — no origin, no account, no audience detail — because the
6153
- * refusal is reported to an anonymous browser.
6154
- */
6155
- declare class SeasonPublicSessionRefused extends Error {
6156
- readonly reason: SeasonPublicRefusalReason;
6157
- readonly status: number;
6158
- constructor(reason: SeasonPublicRefusalReason, status: number);
6491
+ /** Close the picker: in a popup (open()) exactly as its ✕ does; inline, destroy it. */
6492
+ close(): void;
6493
+ /**
6494
+ * Open the Season in the event picker's own popup over the page, and resolve
6495
+ * once it has rendered. Closing it (✕, Escape, a press on the page around it,
6496
+ * or close()) with seats held asks once (board SE60): Release seats, or Keep
6497
+ * and close. The next open() of the same Season on this page picks a kept
6498
+ * hold up, with its seats back in the cart.
6499
+ */
6500
+ static open(options: SeasonPickerOpenOptions): Promise<SeasonPicker>;
6159
6501
  }
6160
6502
 
6161
6503
  /**
@@ -6198,4 +6540,4 @@ interface AttachPickerFrameOptions {
6198
6540
  */
6199
6541
  declare function attachPickerFrame(iframe: HTMLIFrameElement, opts?: AttachPickerFrameOptions): () => void;
6200
6542
 
6201
- export { ApiError, type AttachPickerFrameOptions, type AttendeeFieldMode, type BestAvailableResult, type BookingForm, type BookingFormFieldError, type BookingQuestion, type BookingQuestionType, BuyerAccessContext, type BuyerAccessExpiredEvent, type BuyerAccessRefreshReason, type BuyerAccessToken, type BuyerAccessTokenProvider, BuyerAccessUnavailableError, type BuyerAccessUnavailableEvent, type BuyerAccessUnavailableReason, BuyerRealtimeClient, type BuyerRealtimeOptions, type CheckoutAnswer, type CheckoutAttendee, type CheckoutHandoff, type CheckoutLineItem, type CheckoutSessionResult, EmbeddedDesigner, type EmbeddedDesignerEventType, type EmbeddedDesignerMessage, type EmbeddedDesignerOptions, type GAAreaAvailability, type GAPromptRequest, type GaPromptTier, type HoldConflict, type HoldLineItem, type HoldResult, type OrderStatusResult, type PaymentOptionsReason, type PaymentOptionsResult, type PaymentProviderName, type PerformanceGroupAvailability, type PerformanceGroupCheckoutHandoff, type PerformanceGroupDescriptor, PerformanceGroupDestroyedError, type PerformanceGroupHold, type PerformanceGroupHoldAllocation, type PerformanceGroupOperationEvent, type PerformanceGroupOperationState, PerformanceGroupPicker, type PerformanceGroupPickerOptions, type PerformanceGroupRecoveryState, type PerformanceGroupSeatAllocation, type PerformanceGroupSelectionMode, type PerformanceGroupStatusEvent, type Projection, type PubApiOptions, type RealtimeSink, type ResumedHoldResult, SEATING_CHART_CALLBACK_PROPS, SEATING_CHART_HANDLE_METHODS, SEATING_CHART_IDENTITY_PROPS, SEATING_CHART_VALUE_PROPS, type SaleState, SeasonApiError, type SeasonAudience, type SeasonAvailability, type SeasonBestAvailableOptions, type SeasonCategoryPrice, type SeasonCheckoutHandoff, type SeasonCheckoutMode, type SeasonCheckoutRequest, type SeasonCheckoutSession, type SeasonDescriptor, type SeasonOfferPresentation, type SeasonOperation, type SeasonOperationState, type SeasonPackagePrices, SeasonPicker, type SeasonPickerOptions, type SeasonPrices, type SeasonPublicRefusalReason, type SeasonPublicSession, SeasonPublicSessionRefused, SeasonRecoveryTimeoutError, type SeasonRenewalIntent, type SeasonStatusEvent, SeatPicker, type SeatPickerBestAvailableOptions, type SeatPickerBuyerView, type SeatPickerBuyerViewOptions, type SeatPickerOptions, type SeatPickerPrewarmOptions, type SeatPickerPricing, type SeatPickerTheme, type SeatPickerWebMcpOptions, SeatingChart, type SeatingChartCallbackProp, type SeatingChartCallbacks, type SeatingChartHandle, type SeatingChartHandleMethod, type SeatingChartIdentityProp, type SeatingChartOptions, type SeatingChartSeatViewInfo, type SeatingChartValueProp, type SeatingChartValues, type SelectedObjectUnavailableEvent, type SelectedSeat, type StatusChange, type SubscribeTicket, ThemeMode, type TicketKeyDetail, type TicketOfferAvailability, type TicketOfferPrice, type TicketOfferSummary, attachPickerFrame, bindSeatingChartHandle, buildSeatingChartOptions, createBuyerAccessContext, createControllerSink, parseTicketOfferAvailability, prewarmSeatPicker, shortOperationReference, ticketOfferPrices };
6543
+ export { ApiError, type AttachPickerFrameOptions, type AttendeeFieldMode, type BestAvailableResult, type BookingForm, type BookingFormFieldError, type BookingQuestion, type BookingQuestionType, BuyerAccessContext, type BuyerAccessExpiredEvent, type BuyerAccessRefreshReason, type BuyerAccessToken, type BuyerAccessTokenProvider, BuyerAccessUnavailableError, type BuyerAccessUnavailableEvent, type BuyerAccessUnavailableReason, BuyerRealtimeClient, type BuyerRealtimeOptions, type CheckoutAnswer, type CheckoutAttendee, type CheckoutHandoff, type CheckoutLineItem, type CheckoutSessionResult, EmbeddedDesigner, type EmbeddedDesignerEventType, type EmbeddedDesignerMessage, type EmbeddedDesignerOptions, type GAAreaAvailability, type GAPromptRequest, type GaPromptTier, type HoldConflict, type HoldLineItem, type HoldResult, type HoldSelectionRefusal, type HoldSelectionResult, type OrderStatusResult, type PaymentOptionsReason, type PaymentOptionsResult, type PaymentProviderName, type PerformanceGroupAvailability, type PerformanceGroupCheckoutHandoff, type PerformanceGroupDescriptor, PerformanceGroupDestroyedError, type PerformanceGroupHold, type PerformanceGroupHoldAllocation, type PerformanceGroupOperationEvent, type PerformanceGroupOperationState, PerformanceGroupPicker, type PerformanceGroupPickerOptions, type PerformanceGroupRecoveryState, type PerformanceGroupSeatAllocation, type PerformanceGroupSelectionMode, type PerformanceGroupStatusEvent, type Projection, type PubApiOptions, type RealtimeSink, type ResumedHoldResult, SEATING_CHART_CALLBACK_PROPS, SEATING_CHART_HANDLE_METHODS, SEATING_CHART_IDENTITY_PROPS, SEATING_CHART_VALUE_PROPS, type SaleState, type SeasonAccessTokenProvider, SeasonApiError, type SeasonAudience, type SeasonAvailability, type SeasonBestAvailableOptions, type SeasonCategoryPrice, type SeasonCheckoutHandoff, type SeasonCheckoutMode, type SeasonCheckoutRequest, type SeasonCheckoutSeat, type SeasonCheckoutSession, type SeasonDescriptor, type SeasonOperation, type SeasonOperationState, type SeasonPackagePrices, SeasonPicker, type SeasonPickerOpenOptions, type SeasonPickerOptions, type SeasonPriceType, type SeasonPrices, type SeasonPublicRefusalReason, type SeasonPublicSession, SeasonPublicSessionRefused, SeasonRecoveryTimeoutError, type SeasonRenewalIntent, type SeasonSeatPriceTypes, type SeasonStatusEvent, SeatPicker, type SeatPickerBestAvailableOptions, type SeatPickerBuyerView, type SeatPickerBuyerViewOptions, type SeatPickerOptions, type SeatPickerPrewarmOptions, type SeatPickerPricing, type SeatPickerTheme, type SeatPickerWebMcpOptions, SeatingChart, type SeatingChartCallbackProp, type SeatingChartCallbacks, type SeatingChartHandle, type SeatingChartHandleMethod, type SeatingChartIdentityProp, type SeatingChartOptions, type SeatingChartSeatViewInfo, type SeatingChartValueProp, type SeatingChartValues, type SelectedObjectUnavailableEvent, type SelectedSeat, type StatusChange, type SubscribeTicket, ThemeMode, type TicketKeyDetail, type TicketOfferAvailability, type TicketOfferPrice, type TicketOfferSummary, attachPickerFrame, bindSeatingChartHandle, buildSeatingChartOptions, createBuyerAccessContext, createControllerSink, parseTicketOfferAvailability, prewarmSeatPicker, shortOperationReference, ticketOfferPrices };