@seatlayer/js 0.86.8 → 0.86.10

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
@@ -1,7 +1,7 @@
1
1
  import { PickerSeat, PickerGAArea, PickerMapTheme, PickerTransport, PickerSelectionValidator, RendererViewMode, PickerSelectionValidity, ChartTheme, AccessibilityType, FloorLabelStyle, LodRung, SectionSummary, PickerAccessNeed, SeatHoverDetails, AccessibleSectionStep, AvailabilityRefreshOutcome, PickerController, ExpandedSeat, TableSelectionDetails } from '@seatlayer/core';
2
2
  export { ExpandedSeat, PickerMapTheme, PickerSelectionValidator, PickerSelectionValidity, PickerSelectionViolation, RendererViewMode, SeatHoverDetails } from '@seatlayer/core';
3
- import { T as ThemeMode } from './channelsMode-goczEzyt.cjs';
4
- export { A as AccessIntentForbidsDetails, a as AccessLinkRecord, b as AccessLinkReveal, c as AccessLinkState, d as AccessLinkStatus, e as AccessLinkStatusRecord, f as ArchiveBlockedDetails, g as AssignmentBuckets, h as AssignmentDropDetails, i as AssignmentResult, B as BucketRow, C as ChannelAccessIntent, j as ChannelAccessSummary, k as ChannelAllocationPage, l as ChannelAttribution, m as ChannelAuditEntry, n as ChannelAuditPage, o as ChannelCounts, p as ChannelListResult, q as ChannelPreviewProjection, r as ChannelRecord, s as ChannelReport, t as ChannelReportLinkRecord, u as ChannelReportLinkReveal, v as ChannelReportResult, w as ChannelReportRow, x as ChannelSeatStatus, y as ChannelState, z as ChannelsCapabilities, D as ChannelsClient, E as ChannelsMode, F as ChannelsModeHost, G as ChannelsRowView, H as ChannelsSeatView, I as ControlRoomActivityEntry, J as ControlRoomSectionMetric, K as ControlRoomSnapshot, L as EventCategoryAssignmentResult, M as EventScopedManageToken, N as EventTableBookingMode, O as EventTableBookingResult, P as IntentSwitchBlockedDetails, Q as InventoryBooking, R as InventoryBookingActivity, S as InventoryBookingDetail, U as InventoryBookingObject, V as InventoryBookingState, W as InventoryBookingsPage, X as InventoryBookingsQuery, Y as LogEntry, Z as LogPage, _ as ManageApi, $ as ManageApiError, a0 as ReportByStatus, a1 as ReportCategoryMeta, a2 as ReportCategoryRow, a3 as ReportResult, a4 as SeatManager, a5 as SeatManagerActionResult, a6 as SeatManagerActivity, a7 as SeatManagerCapability, a8 as SeatManagerConnection, a9 as SeatManagerFilteredSection, aa as SeatManagerMode, ab as SeatManagerOptions, ac as SeatManagerSelectionValidity, ad as SeatManagerTallies, ae as SelectionSourceRow } from './channelsMode-goczEzyt.cjs';
3
+ import { T as ThemeMode } from './channelsMode-CP2yegbE.cjs';
4
+ export { A as AccessIntentForbidsDetails, a as AccessLinkRecord, b as AccessLinkReveal, c as AccessLinkState, d as AccessLinkStatus, e as AccessLinkStatusRecord, f as ArchiveBlockedDetails, g as AssignmentBuckets, h as AssignmentDropDetails, i as AssignmentResult, B as BucketRow, C as ChannelAccessIntent, j as ChannelAccessSummary, k as ChannelAllocationPage, l as ChannelAttribution, m as ChannelAuditEntry, n as ChannelAuditPage, o as ChannelCounts, p as ChannelListResult, q as ChannelPreviewProjection, r as ChannelRecord, s as ChannelReport, t as ChannelReportLinkRecord, u as ChannelReportLinkReveal, v as ChannelReportResult, w as ChannelReportRow, x as ChannelSeatStatus, y as ChannelState, z as ChannelsCapabilities, D as ChannelsClient, E as ChannelsMode, F as ChannelsModeHost, G as ChannelsRowView, H as ChannelsSeatView, I as ControlRoomActivityEntry, J as ControlRoomSectionMetric, K as ControlRoomSnapshot, L as EventCategoryAssignmentResult, M as EventScopedManageToken, N as EventTableBookingMode, O as EventTableBookingResult, P as IntentSwitchBlockedDetails, Q as InventoryBooking, R as InventoryBookingActivity, S as InventoryBookingDetail, U as InventoryBookingObject, V as InventoryBookingState, W as InventoryBookingsPage, X as InventoryBookingsQuery, Y as LogEntry, Z as LogPage, _ as ManageApi, $ as ManageApiError, a0 as ReportByStatus, a1 as ReportCategoryMeta, a2 as ReportCategoryRow, a3 as ReportResult, a4 as SeatManager, a5 as SeatManagerActionResult, a6 as SeatManagerActivity, a7 as SeatManagerCapability, a8 as SeatManagerConnection, a9 as SeatManagerFilteredSection, aa as SeatManagerMode, ab as SeatManagerOptions, ac as SeatManagerSelectionValidity, ad as SeatManagerTallies, ae as SelectionSourceRow } from './channelsMode-CP2yegbE.cjs';
5
5
  import * as _seatlayer_core_core_seatConfidence from '@seatlayer/core/core/seatConfidence';
6
6
  import { SeatConfidenceDisclosure } from '@seatlayer/core/core/seatConfidence';
7
7
  import { SeatViewStopName, Venue3DHandle, SeatState3D, SeatView } from '@seatlayer/core/view3d';
@@ -506,6 +506,7 @@ interface HoldLineItem {
506
506
  quantity?: number;
507
507
  /** Channel pricing revision captured when this line used an override. */
508
508
  channelPricingVersion?: number | null;
509
+ releaseId?: string | null;
509
510
  }
510
511
  declare class ApiError extends Error {
511
512
  status: number;
@@ -721,6 +722,8 @@ interface SeatingChartSeatViewInfo {
721
722
  */
722
723
  type SaleState = 'on-sale' | 'low' | 'sold-out' | 'presale' | 'closed';
723
724
  interface TicketOfferSummary {
725
+ /** Explicit tier offers use the compact active-only deadline banner. */
726
+ pricingMode?: 'matrix';
724
727
  /** Legacy ordering fields kept for older page templates and payloads. */
725
728
  index: number;
726
729
  count: number;
@@ -735,6 +738,7 @@ interface TicketOfferSummary {
735
738
  }
736
739
  interface TicketOfferPrice {
737
740
  categoryKey: string;
741
+ tierId?: string | null;
738
742
  /** Major units. What a hold on this category is charged right now. */
739
743
  price: number;
740
744
  /** Major units, or null. Printed only when genuinely higher. */
@@ -777,11 +781,15 @@ interface TicketOfferAvailability {
777
781
  /** Server-resolved active offer prices by category, in major units. */
778
782
  prices: TicketOfferPrice[];
779
783
  channelPricing: BuyerChannelPricing | null;
784
+ nextPriceChangeAt?: number | null;
780
785
  }
781
786
  /** Parse a public offer payload without repairing a half-understood price. */
782
787
  declare function parseTicketOfferAvailability(body: unknown): TicketOfferAvailability | null;
783
788
  /** Translate the server-resolved category map into SeatPicker pricing. */
784
- declare function ticketOfferPrices(availability: TicketOfferAvailability | null): Record<string, number>;
789
+ declare function ticketOfferPrices(availability: TicketOfferAvailability | null): Record<string, number | {
790
+ base?: number;
791
+ tiers?: Record<string, number>;
792
+ }>;
785
793
 
786
794
  /**
787
795
  * pickerTypes — the SeatPicker public option/theme/pricing contract, plus the
@@ -3340,6 +3348,8 @@ declare class SeatPicker implements GaPromptPicker {
3340
3348
  /** Armed only when the offer schedule has a known future transition (or as a
3341
3349
  * bounded retry after a failed read) — never a fixed-cadence poll. */
3342
3350
  private offerBoundaryTimer;
3351
+ /** Repaints the visible relative offer deadline at its next minute change. */
3352
+ private offerCountdownTimer;
3343
3353
  private offerVisibilityHandler;
3344
3354
  /** Short-lived UI motion timers; all are cancelled on destroy. */
3345
3355
  private motionTimers;
@@ -4118,7 +4128,10 @@ declare class SeatPicker implements GaPromptPicker {
4118
4128
  private refreshOfferAvailability;
4119
4129
  /** The read itself. Never rejects — see the catch. */
4120
4130
  private readOfferAvailability;
4121
- /** @internal */ offerPrice(categoryKey: string | undefined): TicketOfferPrice | null;
4131
+ /** @internal */ offerPrice(categoryKey: string | undefined, tierId?: string | null): TicketOfferPrice | null;
4132
+ /** Keep authored regular prices out of canvas labels during matrix offers. */
4133
+ private mapPriceRanges;
4134
+ private syncMapPriceRanges;
4122
4135
  private applyChannelPricing;
4123
4136
  private syncOffer;
4124
4137
  /**
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { PickerSeat, PickerGAArea, PickerMapTheme, PickerTransport, PickerSelectionValidator, RendererViewMode, PickerSelectionValidity, ChartTheme, AccessibilityType, FloorLabelStyle, LodRung, SectionSummary, PickerAccessNeed, SeatHoverDetails, AccessibleSectionStep, AvailabilityRefreshOutcome, PickerController, ExpandedSeat, TableSelectionDetails } from '@seatlayer/core';
2
2
  export { ExpandedSeat, PickerMapTheme, PickerSelectionValidator, PickerSelectionValidity, PickerSelectionViolation, RendererViewMode, SeatHoverDetails } from '@seatlayer/core';
3
- import { T as ThemeMode } from './channelsMode-goczEzyt.js';
4
- export { A as AccessIntentForbidsDetails, a as AccessLinkRecord, b as AccessLinkReveal, c as AccessLinkState, d as AccessLinkStatus, e as AccessLinkStatusRecord, f as ArchiveBlockedDetails, g as AssignmentBuckets, h as AssignmentDropDetails, i as AssignmentResult, B as BucketRow, C as ChannelAccessIntent, j as ChannelAccessSummary, k as ChannelAllocationPage, l as ChannelAttribution, m as ChannelAuditEntry, n as ChannelAuditPage, o as ChannelCounts, p as ChannelListResult, q as ChannelPreviewProjection, r as ChannelRecord, s as ChannelReport, t as ChannelReportLinkRecord, u as ChannelReportLinkReveal, v as ChannelReportResult, w as ChannelReportRow, x as ChannelSeatStatus, y as ChannelState, z as ChannelsCapabilities, D as ChannelsClient, E as ChannelsMode, F as ChannelsModeHost, G as ChannelsRowView, H as ChannelsSeatView, I as ControlRoomActivityEntry, J as ControlRoomSectionMetric, K as ControlRoomSnapshot, L as EventCategoryAssignmentResult, M as EventScopedManageToken, N as EventTableBookingMode, O as EventTableBookingResult, P as IntentSwitchBlockedDetails, Q as InventoryBooking, R as InventoryBookingActivity, S as InventoryBookingDetail, U as InventoryBookingObject, V as InventoryBookingState, W as InventoryBookingsPage, X as InventoryBookingsQuery, Y as LogEntry, Z as LogPage, _ as ManageApi, $ as ManageApiError, a0 as ReportByStatus, a1 as ReportCategoryMeta, a2 as ReportCategoryRow, a3 as ReportResult, a4 as SeatManager, a5 as SeatManagerActionResult, a6 as SeatManagerActivity, a7 as SeatManagerCapability, a8 as SeatManagerConnection, a9 as SeatManagerFilteredSection, aa as SeatManagerMode, ab as SeatManagerOptions, ac as SeatManagerSelectionValidity, ad as SeatManagerTallies, ae as SelectionSourceRow } from './channelsMode-goczEzyt.js';
3
+ import { T as ThemeMode } from './channelsMode-CP2yegbE.js';
4
+ export { A as AccessIntentForbidsDetails, a as AccessLinkRecord, b as AccessLinkReveal, c as AccessLinkState, d as AccessLinkStatus, e as AccessLinkStatusRecord, f as ArchiveBlockedDetails, g as AssignmentBuckets, h as AssignmentDropDetails, i as AssignmentResult, B as BucketRow, C as ChannelAccessIntent, j as ChannelAccessSummary, k as ChannelAllocationPage, l as ChannelAttribution, m as ChannelAuditEntry, n as ChannelAuditPage, o as ChannelCounts, p as ChannelListResult, q as ChannelPreviewProjection, r as ChannelRecord, s as ChannelReport, t as ChannelReportLinkRecord, u as ChannelReportLinkReveal, v as ChannelReportResult, w as ChannelReportRow, x as ChannelSeatStatus, y as ChannelState, z as ChannelsCapabilities, D as ChannelsClient, E as ChannelsMode, F as ChannelsModeHost, G as ChannelsRowView, H as ChannelsSeatView, I as ControlRoomActivityEntry, J as ControlRoomSectionMetric, K as ControlRoomSnapshot, L as EventCategoryAssignmentResult, M as EventScopedManageToken, N as EventTableBookingMode, O as EventTableBookingResult, P as IntentSwitchBlockedDetails, Q as InventoryBooking, R as InventoryBookingActivity, S as InventoryBookingDetail, U as InventoryBookingObject, V as InventoryBookingState, W as InventoryBookingsPage, X as InventoryBookingsQuery, Y as LogEntry, Z as LogPage, _ as ManageApi, $ as ManageApiError, a0 as ReportByStatus, a1 as ReportCategoryMeta, a2 as ReportCategoryRow, a3 as ReportResult, a4 as SeatManager, a5 as SeatManagerActionResult, a6 as SeatManagerActivity, a7 as SeatManagerCapability, a8 as SeatManagerConnection, a9 as SeatManagerFilteredSection, aa as SeatManagerMode, ab as SeatManagerOptions, ac as SeatManagerSelectionValidity, ad as SeatManagerTallies, ae as SelectionSourceRow } from './channelsMode-CP2yegbE.js';
5
5
  import * as _seatlayer_core_core_seatConfidence from '@seatlayer/core/core/seatConfidence';
6
6
  import { SeatConfidenceDisclosure } from '@seatlayer/core/core/seatConfidence';
7
7
  import { SeatViewStopName, Venue3DHandle, SeatState3D, SeatView } from '@seatlayer/core/view3d';
@@ -506,6 +506,7 @@ interface HoldLineItem {
506
506
  quantity?: number;
507
507
  /** Channel pricing revision captured when this line used an override. */
508
508
  channelPricingVersion?: number | null;
509
+ releaseId?: string | null;
509
510
  }
510
511
  declare class ApiError extends Error {
511
512
  status: number;
@@ -721,6 +722,8 @@ interface SeatingChartSeatViewInfo {
721
722
  */
722
723
  type SaleState = 'on-sale' | 'low' | 'sold-out' | 'presale' | 'closed';
723
724
  interface TicketOfferSummary {
725
+ /** Explicit tier offers use the compact active-only deadline banner. */
726
+ pricingMode?: 'matrix';
724
727
  /** Legacy ordering fields kept for older page templates and payloads. */
725
728
  index: number;
726
729
  count: number;
@@ -735,6 +738,7 @@ interface TicketOfferSummary {
735
738
  }
736
739
  interface TicketOfferPrice {
737
740
  categoryKey: string;
741
+ tierId?: string | null;
738
742
  /** Major units. What a hold on this category is charged right now. */
739
743
  price: number;
740
744
  /** Major units, or null. Printed only when genuinely higher. */
@@ -777,11 +781,15 @@ interface TicketOfferAvailability {
777
781
  /** Server-resolved active offer prices by category, in major units. */
778
782
  prices: TicketOfferPrice[];
779
783
  channelPricing: BuyerChannelPricing | null;
784
+ nextPriceChangeAt?: number | null;
780
785
  }
781
786
  /** Parse a public offer payload without repairing a half-understood price. */
782
787
  declare function parseTicketOfferAvailability(body: unknown): TicketOfferAvailability | null;
783
788
  /** Translate the server-resolved category map into SeatPicker pricing. */
784
- declare function ticketOfferPrices(availability: TicketOfferAvailability | null): Record<string, number>;
789
+ declare function ticketOfferPrices(availability: TicketOfferAvailability | null): Record<string, number | {
790
+ base?: number;
791
+ tiers?: Record<string, number>;
792
+ }>;
785
793
 
786
794
  /**
787
795
  * pickerTypes — the SeatPicker public option/theme/pricing contract, plus the
@@ -3340,6 +3348,8 @@ declare class SeatPicker implements GaPromptPicker {
3340
3348
  /** Armed only when the offer schedule has a known future transition (or as a
3341
3349
  * bounded retry after a failed read) — never a fixed-cadence poll. */
3342
3350
  private offerBoundaryTimer;
3351
+ /** Repaints the visible relative offer deadline at its next minute change. */
3352
+ private offerCountdownTimer;
3343
3353
  private offerVisibilityHandler;
3344
3354
  /** Short-lived UI motion timers; all are cancelled on destroy. */
3345
3355
  private motionTimers;
@@ -4118,7 +4128,10 @@ declare class SeatPicker implements GaPromptPicker {
4118
4128
  private refreshOfferAvailability;
4119
4129
  /** The read itself. Never rejects — see the catch. */
4120
4130
  private readOfferAvailability;
4121
- /** @internal */ offerPrice(categoryKey: string | undefined): TicketOfferPrice | null;
4131
+ /** @internal */ offerPrice(categoryKey: string | undefined, tierId?: string | null): TicketOfferPrice | null;
4132
+ /** Keep authored regular prices out of canvas labels during matrix offers. */
4133
+ private mapPriceRanges;
4134
+ private syncMapPriceRanges;
4122
4135
  private applyChannelPricing;
4123
4136
  private syncOffer;
4124
4137
  /**