@seatlayer/js 0.55.0 → 0.56.0
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/{channelsMode-1b6xBWKM.d.cts → channelsMode-CFxx1jp3.d.cts} +30 -0
- package/dist/{channelsMode-1b6xBWKM.d.ts → channelsMode-CFxx1jp3.d.ts} +30 -0
- package/dist/{channelsMode-LDIT556C.js → channelsMode-XA5FM2LX.js} +1 -1
- package/dist/{chunk-MZAMI4UR.js → chunk-VCVUAOOK.js} +75 -39
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +29 -4
- package/dist/index.d.ts +29 -4
- package/dist/index.js +4 -4
- package/dist/manager.cjs +116 -80
- package/dist/manager.d.cts +2 -2
- package/dist/manager.d.ts +2 -2
- package/dist/manager.js +2 -2
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PickerSeat, RendererViewMode, SeatHoverDetails, PickerSelectionValidity, PickerTransport, PickerMapTheme } from '@seatlayer/core';
|
|
2
2
|
export { ExpandedSeat, PickerMapTheme, PickerSelectionValidity, RendererViewMode, SeatHoverDetails } from '@seatlayer/core';
|
|
3
|
-
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, T as InventoryBookingObject, U as InventoryBookingState, V as InventoryBookingsPage, W as InventoryBookingsQuery, X as LogEntry, Y as LogPage, Z as ManageApi, _ as ManageApiError, $ as ReportByStatus, a0 as ReportCategoryMeta, a1 as ReportCategoryRow, a2 as ReportResult, a3 as SeatManager, a4 as SeatManagerActionResult, a5 as SeatManagerActivity, a6 as SeatManagerCapability, a7 as SeatManagerConnection, a8 as SeatManagerFilteredSection, a9 as SeatManagerMode, aa as SeatManagerOptions, ab as SeatManagerSelectionValidity, ac as SeatManagerTallies, ad as SelectionSourceRow } from './channelsMode-
|
|
3
|
+
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, T as InventoryBookingObject, U as InventoryBookingState, V as InventoryBookingsPage, W as InventoryBookingsQuery, X as LogEntry, Y as LogPage, Z as ManageApi, _ as ManageApiError, $ as ReportByStatus, a0 as ReportCategoryMeta, a1 as ReportCategoryRow, a2 as ReportResult, a3 as SeatManager, a4 as SeatManagerActionResult, a5 as SeatManagerActivity, a6 as SeatManagerCapability, a7 as SeatManagerConnection, a8 as SeatManagerFilteredSection, a9 as SeatManagerMode, aa as SeatManagerOptions, ab as SeatManagerSelectionValidity, ac as SeatManagerTallies, ad as SelectionSourceRow } from './channelsMode-CFxx1jp3.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Buyer access context — the browser half of the Sales Channels contract
|
|
@@ -393,6 +393,8 @@ interface HoldLineItem {
|
|
|
393
393
|
unitPrice: number;
|
|
394
394
|
currency: string;
|
|
395
395
|
quantity?: number;
|
|
396
|
+
/** Channel pricing revision captured when this line used an override. */
|
|
397
|
+
channelPricingVersion?: number | null;
|
|
396
398
|
}
|
|
397
399
|
declare class ApiError extends Error {
|
|
398
400
|
status: number;
|
|
@@ -1297,6 +1299,24 @@ interface TicketOfferPrice {
|
|
|
1297
1299
|
startsAt?: number | null;
|
|
1298
1300
|
endsAt?: number | null;
|
|
1299
1301
|
}
|
|
1302
|
+
interface ChannelPriceOverride {
|
|
1303
|
+
categoryKey: string;
|
|
1304
|
+
tierId: string | null;
|
|
1305
|
+
price: number;
|
|
1306
|
+
}
|
|
1307
|
+
/** Pricing configuration projected only for the private channels in this grant. */
|
|
1308
|
+
interface BuyerChannelPricing {
|
|
1309
|
+
assignmentVersion: number;
|
|
1310
|
+
channels: Array<{
|
|
1311
|
+
channelId: string;
|
|
1312
|
+
pricingVersion: number;
|
|
1313
|
+
priceOverrides: ChannelPriceOverride[];
|
|
1314
|
+
}>;
|
|
1315
|
+
objects: Array<{
|
|
1316
|
+
label: string;
|
|
1317
|
+
channelId: string;
|
|
1318
|
+
}>;
|
|
1319
|
+
}
|
|
1300
1320
|
interface TicketOfferAvailability {
|
|
1301
1321
|
state: SaleState;
|
|
1302
1322
|
/** Currently advertised offer price, in minor units. */
|
|
@@ -1309,6 +1329,7 @@ interface TicketOfferAvailability {
|
|
|
1309
1329
|
upcoming: TicketOfferSummary | null;
|
|
1310
1330
|
/** Server-resolved active offer prices by category, in major units. */
|
|
1311
1331
|
prices: TicketOfferPrice[];
|
|
1332
|
+
channelPricing: BuyerChannelPricing | null;
|
|
1312
1333
|
}
|
|
1313
1334
|
/** Parse a public offer payload without repairing a half-understood price. */
|
|
1314
1335
|
declare function parseTicketOfferAvailability(body: unknown): TicketOfferAvailability | null;
|
|
@@ -1822,6 +1843,9 @@ declare class SeatPicker {
|
|
|
1822
1843
|
/** The event's formatted date-time (event-zone), reused by the closed-state note. */
|
|
1823
1844
|
private eventWhenText;
|
|
1824
1845
|
private offerAvailability;
|
|
1846
|
+
/** Server-authoritative channel rules, projected only for this buyer scope. */
|
|
1847
|
+
private readonly channelByObject;
|
|
1848
|
+
private readonly pricesByChannel;
|
|
1825
1849
|
private hold;
|
|
1826
1850
|
/** Latest server expiry for the open hold (moves on extend). */
|
|
1827
1851
|
private holdExpiresAt;
|
|
@@ -2144,7 +2168,7 @@ declare class SeatPicker {
|
|
|
2144
2168
|
private activeFloorObjects;
|
|
2145
2169
|
/** Attach the F3 overview minimap into the bottom-left chrome region. */
|
|
2146
2170
|
private buildMinimap;
|
|
2147
|
-
/** Effective
|
|
2171
|
+
/** Effective category summary price. Object-specific channel prices are added to the range below. */
|
|
2148
2172
|
private catPrice;
|
|
2149
2173
|
/** Complete buyer-visible price range, including every ticket tier and
|
|
2150
2174
|
* tier-specific host override. */
|
|
@@ -2247,11 +2271,12 @@ declare class SeatPicker {
|
|
|
2247
2271
|
*/
|
|
2248
2272
|
private refreshOfferAvailability;
|
|
2249
2273
|
private offerPrice;
|
|
2274
|
+
private applyChannelPricing;
|
|
2250
2275
|
/** The compact current/upcoming offer card above Ticket prices. */
|
|
2251
2276
|
private syncOffer;
|
|
2252
2277
|
/**
|
|
2253
|
-
* The price the buyer will actually pay for
|
|
2254
|
-
*
|
|
2278
|
+
* The price the buyer will actually pay for an object/category/tier: its
|
|
2279
|
+
* scoped channel override, then the host/server offer, then the chart. Every
|
|
2255
2280
|
* price the widget DISPLAYS or hands off must flow through here — a map
|
|
2256
2281
|
* that shows one price while checkout charges another destroys trust.
|
|
2257
2282
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PickerSeat, RendererViewMode, SeatHoverDetails, PickerSelectionValidity, PickerTransport, PickerMapTheme } from '@seatlayer/core';
|
|
2
2
|
export { ExpandedSeat, PickerMapTheme, PickerSelectionValidity, RendererViewMode, SeatHoverDetails } from '@seatlayer/core';
|
|
3
|
-
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, T as InventoryBookingObject, U as InventoryBookingState, V as InventoryBookingsPage, W as InventoryBookingsQuery, X as LogEntry, Y as LogPage, Z as ManageApi, _ as ManageApiError, $ as ReportByStatus, a0 as ReportCategoryMeta, a1 as ReportCategoryRow, a2 as ReportResult, a3 as SeatManager, a4 as SeatManagerActionResult, a5 as SeatManagerActivity, a6 as SeatManagerCapability, a7 as SeatManagerConnection, a8 as SeatManagerFilteredSection, a9 as SeatManagerMode, aa as SeatManagerOptions, ab as SeatManagerSelectionValidity, ac as SeatManagerTallies, ad as SelectionSourceRow } from './channelsMode-
|
|
3
|
+
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, T as InventoryBookingObject, U as InventoryBookingState, V as InventoryBookingsPage, W as InventoryBookingsQuery, X as LogEntry, Y as LogPage, Z as ManageApi, _ as ManageApiError, $ as ReportByStatus, a0 as ReportCategoryMeta, a1 as ReportCategoryRow, a2 as ReportResult, a3 as SeatManager, a4 as SeatManagerActionResult, a5 as SeatManagerActivity, a6 as SeatManagerCapability, a7 as SeatManagerConnection, a8 as SeatManagerFilteredSection, a9 as SeatManagerMode, aa as SeatManagerOptions, ab as SeatManagerSelectionValidity, ac as SeatManagerTallies, ad as SelectionSourceRow } from './channelsMode-CFxx1jp3.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Buyer access context — the browser half of the Sales Channels contract
|
|
@@ -393,6 +393,8 @@ interface HoldLineItem {
|
|
|
393
393
|
unitPrice: number;
|
|
394
394
|
currency: string;
|
|
395
395
|
quantity?: number;
|
|
396
|
+
/** Channel pricing revision captured when this line used an override. */
|
|
397
|
+
channelPricingVersion?: number | null;
|
|
396
398
|
}
|
|
397
399
|
declare class ApiError extends Error {
|
|
398
400
|
status: number;
|
|
@@ -1297,6 +1299,24 @@ interface TicketOfferPrice {
|
|
|
1297
1299
|
startsAt?: number | null;
|
|
1298
1300
|
endsAt?: number | null;
|
|
1299
1301
|
}
|
|
1302
|
+
interface ChannelPriceOverride {
|
|
1303
|
+
categoryKey: string;
|
|
1304
|
+
tierId: string | null;
|
|
1305
|
+
price: number;
|
|
1306
|
+
}
|
|
1307
|
+
/** Pricing configuration projected only for the private channels in this grant. */
|
|
1308
|
+
interface BuyerChannelPricing {
|
|
1309
|
+
assignmentVersion: number;
|
|
1310
|
+
channels: Array<{
|
|
1311
|
+
channelId: string;
|
|
1312
|
+
pricingVersion: number;
|
|
1313
|
+
priceOverrides: ChannelPriceOverride[];
|
|
1314
|
+
}>;
|
|
1315
|
+
objects: Array<{
|
|
1316
|
+
label: string;
|
|
1317
|
+
channelId: string;
|
|
1318
|
+
}>;
|
|
1319
|
+
}
|
|
1300
1320
|
interface TicketOfferAvailability {
|
|
1301
1321
|
state: SaleState;
|
|
1302
1322
|
/** Currently advertised offer price, in minor units. */
|
|
@@ -1309,6 +1329,7 @@ interface TicketOfferAvailability {
|
|
|
1309
1329
|
upcoming: TicketOfferSummary | null;
|
|
1310
1330
|
/** Server-resolved active offer prices by category, in major units. */
|
|
1311
1331
|
prices: TicketOfferPrice[];
|
|
1332
|
+
channelPricing: BuyerChannelPricing | null;
|
|
1312
1333
|
}
|
|
1313
1334
|
/** Parse a public offer payload without repairing a half-understood price. */
|
|
1314
1335
|
declare function parseTicketOfferAvailability(body: unknown): TicketOfferAvailability | null;
|
|
@@ -1822,6 +1843,9 @@ declare class SeatPicker {
|
|
|
1822
1843
|
/** The event's formatted date-time (event-zone), reused by the closed-state note. */
|
|
1823
1844
|
private eventWhenText;
|
|
1824
1845
|
private offerAvailability;
|
|
1846
|
+
/** Server-authoritative channel rules, projected only for this buyer scope. */
|
|
1847
|
+
private readonly channelByObject;
|
|
1848
|
+
private readonly pricesByChannel;
|
|
1825
1849
|
private hold;
|
|
1826
1850
|
/** Latest server expiry for the open hold (moves on extend). */
|
|
1827
1851
|
private holdExpiresAt;
|
|
@@ -2144,7 +2168,7 @@ declare class SeatPicker {
|
|
|
2144
2168
|
private activeFloorObjects;
|
|
2145
2169
|
/** Attach the F3 overview minimap into the bottom-left chrome region. */
|
|
2146
2170
|
private buildMinimap;
|
|
2147
|
-
/** Effective
|
|
2171
|
+
/** Effective category summary price. Object-specific channel prices are added to the range below. */
|
|
2148
2172
|
private catPrice;
|
|
2149
2173
|
/** Complete buyer-visible price range, including every ticket tier and
|
|
2150
2174
|
* tier-specific host override. */
|
|
@@ -2247,11 +2271,12 @@ declare class SeatPicker {
|
|
|
2247
2271
|
*/
|
|
2248
2272
|
private refreshOfferAvailability;
|
|
2249
2273
|
private offerPrice;
|
|
2274
|
+
private applyChannelPricing;
|
|
2250
2275
|
/** The compact current/upcoming offer card above Ticket prices. */
|
|
2251
2276
|
private syncOffer;
|
|
2252
2277
|
/**
|
|
2253
|
-
* The price the buyer will actually pay for
|
|
2254
|
-
*
|
|
2278
|
+
* The price the buyer will actually pay for an object/category/tier: its
|
|
2279
|
+
* scoped channel override, then the host/server offer, then the chart. Every
|
|
2255
2280
|
* price the widget DISPLAYS or hands off must flow through here — a map
|
|
2256
2281
|
* that shows one price while checkout charges another destroys trust.
|
|
2257
2282
|
*/
|