@drttix/drt-sdk 1.4.9 → 1.5.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/cjs/index.d.ts +2 -0
- package/dist/cjs/src/definitions/portal.d.ts +2 -0
- package/dist/cjs/src/definitions/portal.js +49 -47
- package/dist/cjs/src/definitions/shopper.d.ts +2 -0
- package/dist/cjs/src/definitions/shopper.js +8 -6
- package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/portal/index.d.ts +6 -1
- package/dist/cjs/src/generated/portal/index.js +8 -2
- package/dist/cjs/src/generated/portal/models/AcceptAgreementRequestDto.d.ts +23 -0
- package/dist/cjs/src/generated/portal/models/AcceptAgreementRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/AgreementStatusResponseDto.d.ts +61 -0
- package/dist/cjs/src/generated/portal/models/AgreementStatusResponseDto.js +38 -0
- package/dist/cjs/src/generated/portal/models/CheckoutAnswerOrderResponseDto.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/CreateImageFileRequestDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/CreateShowRequestDto.d.ts +48 -5
- package/dist/cjs/src/generated/portal/models/CreateShowRequestDto.js +23 -0
- package/dist/cjs/src/generated/portal/models/CreateShowTimeDto.d.ts +8 -0
- package/dist/cjs/src/generated/portal/models/DeployShowRequestDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/DisputeResponseDTO.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/DonationReportResponseDto.d.ts +2 -0
- package/dist/cjs/src/generated/portal/models/ImportBlockedSeatRequestDto.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/ImportBlockedSeatResponse.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/ImportBlockedSeatResponse.js +2 -0
- package/dist/cjs/src/generated/portal/models/IntegratorPaymentResponseDto.d.ts +29 -0
- package/dist/cjs/src/generated/portal/models/IntegratorPaymentResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/OrderListResponseDto.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/PatronManifestDetailResponseDto.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/PolicyDetailResponseDto.d.ts +8 -0
- package/dist/cjs/src/generated/portal/models/RecalculateOrderResponseDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/ReleasedTicketResponseDto.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/ReportProductSalesResponseDto.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/SettingsDetailsResponseDto.d.ts +5 -0
- package/dist/cjs/src/generated/portal/models/ThemeDesignResponseDto.d.ts +12 -0
- package/dist/cjs/src/generated/portal/models/TicketingShowResponseDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/TieredPrice.d.ts +4 -0
- package/dist/cjs/src/generated/portal/services/AccountingService.d.ts +9 -0
- package/dist/cjs/src/generated/portal/services/AccountingService.js +16 -0
- package/dist/cjs/src/generated/portal/services/AgreementsService.d.ts +32 -0
- package/dist/cjs/src/generated/portal/services/AgreementsService.js +67 -0
- package/dist/cjs/src/generated/portal/services/FeaturesDonationsService.d.ts +4 -2
- package/dist/cjs/src/generated/portal/services/FeaturesDonationsService.js +4 -2
- package/dist/cjs/src/generated/portal/services/FeaturesProductsService.d.ts +13 -2
- package/dist/cjs/src/generated/portal/services/FeaturesProductsService.js +24 -2
- package/dist/cjs/src/generated/portal/services/SuperUserImportBlockedSeatsService.d.ts +3 -3
- package/dist/cjs/src/generated/portal/services/SuperUserImportBlockedSeatsService.js +1 -1
- package/dist/cjs/src/generated/portal/services/SuperUserManageImageFilesService.d.ts +8 -0
- package/dist/cjs/src/generated/portal/services/SuperUserManageImageFilesService.js +16 -0
- package/dist/cjs/src/generated/portal/types.d.ts +3 -1
- package/dist/cjs/src/generated/scanner/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/shopper/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/shopper/index.d.ts +7 -0
- package/dist/cjs/src/generated/shopper/index.js +3 -1
- package/dist/cjs/src/generated/shopper/models/Account.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/CartCounts.d.ts +10 -0
- package/dist/cjs/src/generated/shopper/models/CartCountsLite.d.ts +11 -3
- package/dist/cjs/src/generated/shopper/models/CartStateEnvelope.d.ts +26 -0
- package/dist/cjs/src/generated/shopper/models/CartStateEnvelope.js +2 -0
- package/dist/cjs/src/generated/shopper/models/CartTierOption.d.ts +28 -0
- package/dist/cjs/src/generated/shopper/models/CartTierOption.js +2 -0
- package/dist/cjs/src/generated/shopper/models/CartTierSeat.d.ts +21 -0
- package/dist/cjs/src/generated/shopper/models/CartTierSeat.js +2 -0
- package/dist/cjs/src/generated/shopper/models/CartTiersResponse.d.ts +7 -0
- package/dist/cjs/src/generated/shopper/models/CartTiersResponse.js +2 -0
- package/dist/cjs/src/generated/shopper/models/DonationFund.d.ts +0 -2
- package/dist/cjs/src/generated/shopper/models/EventListItem.d.ts +79 -0
- package/dist/cjs/src/generated/shopper/models/EventListItem.js +2 -0
- package/dist/cjs/src/generated/shopper/models/GAResponse.d.ts +5 -0
- package/dist/cjs/src/generated/shopper/models/GetEventsResponse.d.ts +2 -2
- package/dist/cjs/src/generated/shopper/models/Product.d.ts +8 -0
- package/dist/cjs/src/generated/shopper/models/SeatHoldObject.d.ts +10 -0
- package/dist/cjs/src/generated/shopper/models/SeatHoldObject.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SeatHoldReturn.d.ts +5 -0
- package/dist/cjs/src/generated/shopper/models/ShowExtras.d.ts +12 -0
- package/dist/cjs/src/generated/shopper/models/SiteTheme.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/services/CartService.d.ts +12 -0
- package/dist/cjs/src/generated/shopper/services/CartService.js +19 -0
- package/dist/cjs/src/generated/shopper/services/HealthService.d.ts +10 -0
- package/dist/cjs/src/generated/shopper/services/HealthService.js +20 -0
- package/dist/cjs/src/generated/shopper/services/SeatService.d.ts +27 -2
- package/dist/cjs/src/generated/shopper/services/SeatService.js +47 -1
- package/dist/cjs/src/generated/shopper/types.d.ts +6 -0
- package/dist/cjs/src/staging/index.d.ts +2 -0
- package/dist/cjs/src/staging/portal.d.ts +2 -0
- package/dist/cjs/src/staging/portal.js +49 -47
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/src/definitions/portal.d.ts +2 -0
- package/dist/esm/src/definitions/portal.js +2 -0
- package/dist/esm/src/definitions/shopper.d.ts +2 -0
- package/dist/esm/src/definitions/shopper.js +2 -0
- package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/portal/index.d.ts +6 -1
- package/dist/esm/src/generated/portal/index.js +3 -0
- package/dist/esm/src/generated/portal/models/AcceptAgreementRequestDto.d.ts +23 -0
- package/dist/esm/src/generated/portal/models/AcceptAgreementRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/AgreementStatusResponseDto.d.ts +61 -0
- package/dist/esm/src/generated/portal/models/AgreementStatusResponseDto.js +35 -0
- package/dist/esm/src/generated/portal/models/CheckoutAnswerOrderResponseDto.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/CreateImageFileRequestDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/CreateShowRequestDto.d.ts +48 -5
- package/dist/esm/src/generated/portal/models/CreateShowRequestDto.js +22 -1
- package/dist/esm/src/generated/portal/models/CreateShowTimeDto.d.ts +8 -0
- package/dist/esm/src/generated/portal/models/DeployShowRequestDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/DisputeResponseDTO.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/DonationReportResponseDto.d.ts +2 -0
- package/dist/esm/src/generated/portal/models/ImportBlockedSeatRequestDto.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/ImportBlockedSeatResponse.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/ImportBlockedSeatResponse.js +1 -0
- package/dist/esm/src/generated/portal/models/IntegratorPaymentResponseDto.d.ts +29 -0
- package/dist/esm/src/generated/portal/models/IntegratorPaymentResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/OrderListResponseDto.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/PatronManifestDetailResponseDto.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/PolicyDetailResponseDto.d.ts +8 -0
- package/dist/esm/src/generated/portal/models/RecalculateOrderResponseDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/ReleasedTicketResponseDto.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/ReportProductSalesResponseDto.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/SettingsDetailsResponseDto.d.ts +5 -0
- package/dist/esm/src/generated/portal/models/ThemeDesignResponseDto.d.ts +12 -0
- package/dist/esm/src/generated/portal/models/TicketingShowResponseDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/TieredPrice.d.ts +4 -0
- package/dist/esm/src/generated/portal/services/AccountingService.d.ts +9 -0
- package/dist/esm/src/generated/portal/services/AccountingService.js +16 -0
- package/dist/esm/src/generated/portal/services/AgreementsService.d.ts +32 -0
- package/dist/esm/src/generated/portal/services/AgreementsService.js +63 -0
- package/dist/esm/src/generated/portal/services/FeaturesDonationsService.d.ts +4 -2
- package/dist/esm/src/generated/portal/services/FeaturesDonationsService.js +4 -2
- package/dist/esm/src/generated/portal/services/FeaturesProductsService.d.ts +13 -2
- package/dist/esm/src/generated/portal/services/FeaturesProductsService.js +24 -2
- package/dist/esm/src/generated/portal/services/SuperUserImportBlockedSeatsService.d.ts +3 -3
- package/dist/esm/src/generated/portal/services/SuperUserImportBlockedSeatsService.js +1 -1
- package/dist/esm/src/generated/portal/services/SuperUserManageImageFilesService.d.ts +8 -0
- package/dist/esm/src/generated/portal/services/SuperUserManageImageFilesService.js +16 -0
- package/dist/esm/src/generated/portal/types.d.ts +3 -1
- package/dist/esm/src/generated/scanner/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/shopper/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/shopper/index.d.ts +7 -0
- package/dist/esm/src/generated/shopper/index.js +1 -0
- package/dist/esm/src/generated/shopper/models/Account.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/CartCounts.d.ts +10 -0
- package/dist/esm/src/generated/shopper/models/CartCountsLite.d.ts +11 -3
- package/dist/esm/src/generated/shopper/models/CartStateEnvelope.d.ts +26 -0
- package/dist/esm/src/generated/shopper/models/CartStateEnvelope.js +1 -0
- package/dist/esm/src/generated/shopper/models/CartTierOption.d.ts +28 -0
- package/dist/esm/src/generated/shopper/models/CartTierOption.js +1 -0
- package/dist/esm/src/generated/shopper/models/CartTierSeat.d.ts +21 -0
- package/dist/esm/src/generated/shopper/models/CartTierSeat.js +1 -0
- package/dist/esm/src/generated/shopper/models/CartTiersResponse.d.ts +7 -0
- package/dist/esm/src/generated/shopper/models/CartTiersResponse.js +1 -0
- package/dist/esm/src/generated/shopper/models/DonationFund.d.ts +0 -2
- package/dist/esm/src/generated/shopper/models/EventListItem.d.ts +79 -0
- package/dist/esm/src/generated/shopper/models/EventListItem.js +1 -0
- package/dist/esm/src/generated/shopper/models/GAResponse.d.ts +5 -0
- package/dist/esm/src/generated/shopper/models/GetEventsResponse.d.ts +2 -2
- package/dist/esm/src/generated/shopper/models/Product.d.ts +8 -0
- package/dist/esm/src/generated/shopper/models/SeatHoldObject.d.ts +10 -0
- package/dist/esm/src/generated/shopper/models/SeatHoldObject.js +1 -0
- package/dist/esm/src/generated/shopper/models/SeatHoldReturn.d.ts +5 -0
- package/dist/esm/src/generated/shopper/models/ShowExtras.d.ts +12 -0
- package/dist/esm/src/generated/shopper/models/SiteTheme.d.ts +4 -0
- package/dist/esm/src/generated/shopper/services/CartService.d.ts +12 -0
- package/dist/esm/src/generated/shopper/services/CartService.js +19 -0
- package/dist/esm/src/generated/shopper/services/HealthService.d.ts +10 -0
- package/dist/esm/src/generated/shopper/services/HealthService.js +16 -0
- package/dist/esm/src/generated/shopper/services/SeatService.d.ts +27 -2
- package/dist/esm/src/generated/shopper/services/SeatService.js +47 -1
- package/dist/esm/src/generated/shopper/types.d.ts +6 -0
- package/dist/esm/src/staging/index.d.ts +2 -0
- package/dist/esm/src/staging/portal.d.ts +2 -0
- package/dist/esm/src/staging/portal.js +2 -0
- package/package.json +1 -1
- package/src/definitions/portal.ts +2 -0
- package/src/definitions/shopper.ts +2 -0
- package/src/generated/portal/core/OpenAPI.ts +1 -1
- package/src/generated/portal/index.ts +6 -1
- package/src/generated/portal/models/AcceptAgreementRequestDto.ts +28 -0
- package/src/generated/portal/models/AgreementStatusResponseDto.ts +66 -0
- package/src/generated/portal/models/CheckoutAnswerOrderResponseDto.ts +1 -0
- package/src/generated/portal/models/CreateImageFileRequestDto.ts +4 -0
- package/src/generated/portal/models/CreateShowRequestDto.ts +48 -5
- package/src/generated/portal/models/CreateShowTimeDto.ts +8 -0
- package/src/generated/portal/models/DeployShowRequestDto.ts +4 -0
- package/src/generated/portal/models/DisputeResponseDTO.ts +1 -0
- package/src/generated/portal/models/DonationReportResponseDto.ts +2 -0
- package/src/generated/portal/models/ImportBlockedSeatRequestDto.ts +1 -0
- package/src/generated/portal/models/ImportBlockedSeatResponse.ts +9 -0
- package/src/generated/portal/models/IntegratorPaymentResponseDto.ts +34 -0
- package/src/generated/portal/models/OrderListResponseDto.ts +1 -0
- package/src/generated/portal/models/PatronManifestDetailResponseDto.ts +1 -0
- package/src/generated/portal/models/PolicyDetailResponseDto.ts +8 -0
- package/src/generated/portal/models/RecalculateOrderResponseDto.ts +4 -0
- package/src/generated/portal/models/ReleasedTicketResponseDto.ts +1 -0
- package/src/generated/portal/models/ReportProductSalesResponseDto.ts +1 -0
- package/src/generated/portal/models/SettingsDetailsResponseDto.ts +5 -0
- package/src/generated/portal/models/ThemeDesignResponseDto.ts +12 -0
- package/src/generated/portal/models/TicketingShowResponseDto.ts +4 -0
- package/src/generated/portal/models/TieredPrice.ts +4 -0
- package/src/generated/portal/services/AccountingService.ts +19 -0
- package/src/generated/portal/services/AgreementsService.ts +79 -0
- package/src/generated/portal/services/FeaturesDonationsService.ts +4 -2
- package/src/generated/portal/services/FeaturesProductsService.ts +27 -2
- package/src/generated/portal/services/SuperUserImportBlockedSeatsService.ts +3 -3
- package/src/generated/portal/services/SuperUserManageImageFilesService.ts +18 -0
- package/src/generated/portal/types.ts +3 -1
- package/src/generated/scanner/core/OpenAPI.ts +1 -1
- package/src/generated/shopper/core/OpenAPI.ts +1 -1
- package/src/generated/shopper/index.ts +7 -0
- package/src/generated/shopper/models/Account.ts +4 -0
- package/src/generated/shopper/models/CartCounts.ts +10 -0
- package/src/generated/shopper/models/CartCountsLite.ts +11 -3
- package/src/generated/shopper/models/CartStateEnvelope.ts +31 -0
- package/src/generated/shopper/models/CartTierOption.ts +33 -0
- package/src/generated/shopper/models/CartTierSeat.ts +26 -0
- package/src/generated/shopper/models/CartTiersResponse.ts +12 -0
- package/src/generated/shopper/models/DonationFund.ts +0 -2
- package/src/generated/shopper/models/EventListItem.ts +84 -0
- package/src/generated/shopper/models/GAResponse.ts +5 -0
- package/src/generated/shopper/models/GetEventsResponse.ts +2 -2
- package/src/generated/shopper/models/Product.ts +8 -0
- package/src/generated/shopper/models/SeatHoldObject.ts +15 -0
- package/src/generated/shopper/models/SeatHoldReturn.ts +5 -0
- package/src/generated/shopper/models/ShowExtras.ts +12 -0
- package/src/generated/shopper/models/SiteTheme.ts +4 -0
- package/src/generated/shopper/services/CartService.ts +22 -0
- package/src/generated/shopper/services/HealthService.ts +21 -0
- package/src/generated/shopper/services/SeatService.ts +55 -2
- package/src/generated/shopper/types.ts +6 -0
- package/src/staging/portal.ts +2 -0
|
@@ -22,7 +22,11 @@ export type { CartCounts } from './models/CartCounts';
|
|
|
22
22
|
export type { CartCountsLite } from './models/CartCountsLite';
|
|
23
23
|
export type { CartHashResponse } from './models/CartHashResponse';
|
|
24
24
|
export type { CartItemCounts } from './models/CartItemCounts';
|
|
25
|
+
export type { CartStateEnvelope } from './models/CartStateEnvelope';
|
|
25
26
|
export type { CartSummary } from './models/CartSummary';
|
|
27
|
+
export type { CartTierOption } from './models/CartTierOption';
|
|
28
|
+
export type { CartTierSeat } from './models/CartTierSeat';
|
|
29
|
+
export type { CartTiersResponse } from './models/CartTiersResponse';
|
|
26
30
|
export type { CartTotals } from './models/CartTotals';
|
|
27
31
|
export type { CartWithTime } from './models/CartWithTime';
|
|
28
32
|
export type { CashPaymentDetail } from './models/CashPaymentDetail';
|
|
@@ -59,6 +63,7 @@ export type { EventDetails } from './models/EventDetails';
|
|
|
59
63
|
export type { EventGroup } from './models/EventGroup';
|
|
60
64
|
export type { EventLegend } from './models/EventLegend';
|
|
61
65
|
export type { EventLegendItem } from './models/EventLegendItem';
|
|
66
|
+
export type { EventListItem } from './models/EventListItem';
|
|
62
67
|
export type { ExchangeAnswersBody } from './models/ExchangeAnswersBody';
|
|
63
68
|
export type { ExchangeCancelResponse } from './models/ExchangeCancelResponse';
|
|
64
69
|
export type { ExchangeCancelSeatResponse } from './models/ExchangeCancelSeatResponse';
|
|
@@ -142,6 +147,7 @@ export type { RootConfigResponse } from './models/RootConfigResponse';
|
|
|
142
147
|
export type { SaveDetailsBody } from './models/SaveDetailsBody';
|
|
143
148
|
export type { SaveNonceBody } from './models/SaveNonceBody';
|
|
144
149
|
export type { SeatData } from './models/SeatData';
|
|
150
|
+
export type { SeatHoldObject } from './models/SeatHoldObject';
|
|
145
151
|
export type { SeatHoldReturn } from './models/SeatHoldReturn';
|
|
146
152
|
export type { SeatIdInput } from './models/SeatIdInput';
|
|
147
153
|
export type { SeatInCart } from './models/SeatInCart';
|
|
@@ -179,6 +185,7 @@ export { CodeService } from './services/CodeService';
|
|
|
179
185
|
export { DonationService } from './services/DonationService';
|
|
180
186
|
export { EventService } from './services/EventService';
|
|
181
187
|
export { GiftCardService } from './services/GiftCardService';
|
|
188
|
+
export { HealthService } from './services/HealthService';
|
|
182
189
|
export { OrderService } from './services/OrderService';
|
|
183
190
|
export { PaymentService } from './services/PaymentService';
|
|
184
191
|
export { ProductService } from './services/ProductService';
|
|
@@ -61,6 +61,10 @@ export type Account = {
|
|
|
61
61
|
enableOrderDonation: number;
|
|
62
62
|
obfuscateData: number;
|
|
63
63
|
paymentGatewayId: number | null;
|
|
64
|
+
/**
|
|
65
|
+
* The studio's Stripe connected account id (studio_pmt_gateway_assoc.pmt_gateway_acct_id), resolved live at request time — the cached Account row predates the field. The site passes it as stripeAccount when initializing Stripe.js; without it the Payment Element mounts on the platform account and confirmation tokens cannot confirm connected-account intents. Null when the studio has no Stripe connected account.
|
|
66
|
+
*/
|
|
67
|
+
pmtGatewayAcctId: string | null;
|
|
64
68
|
enableAdjustmentPayment: number;
|
|
65
69
|
groupShows: number;
|
|
66
70
|
};
|
|
@@ -3,9 +3,19 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
export type CartCounts = {
|
|
6
|
+
/**
|
|
7
|
+
* Total tickets (seats) in the cart.
|
|
8
|
+
*/
|
|
6
9
|
numSeats: number;
|
|
7
10
|
numDonations: number;
|
|
11
|
+
/**
|
|
12
|
+
* Total product ITEMS (sum of line quantities) — was the line count before PROJ-900.
|
|
13
|
+
*/
|
|
8
14
|
numProducts: number;
|
|
15
|
+
/**
|
|
16
|
+
* Number of distinct product lines in the cart.
|
|
17
|
+
*/
|
|
18
|
+
numUniqueProducts: number;
|
|
9
19
|
numTotal: number;
|
|
10
20
|
};
|
|
11
21
|
|
|
@@ -4,15 +4,23 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
export type CartCountsLite = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Total number of tickets (seats) currently in the cart.
|
|
8
8
|
*/
|
|
9
9
|
numSeats: number;
|
|
10
10
|
/**
|
|
11
|
-
* Number of
|
|
11
|
+
* Number of distinct shows those tickets span (PROJ-900).
|
|
12
|
+
*/
|
|
13
|
+
numShows: number;
|
|
14
|
+
/**
|
|
15
|
+
* Total number of product ITEMS in the cart (sum of line quantities — three of the same shirt counts as 3). Previously this was the line count (PROJ-900).
|
|
12
16
|
*/
|
|
13
17
|
numProducts: number;
|
|
14
18
|
/**
|
|
15
|
-
*
|
|
19
|
+
* Number of distinct product lines in the cart (three of the same shirt counts as 1).
|
|
20
|
+
*/
|
|
21
|
+
numUniqueProducts: number;
|
|
22
|
+
/**
|
|
23
|
+
* Time remaining on the cart timer, in MILLISECONDS (from the Session-Service heartbeat); 0 when no timer is running. The field name is historical and kept for compatibility — the value has always been ms, confirmed empirically by the site team (audit BUG-7; their session layer measures and documents the same). Do not divide by 1000 server-side without coordinating a field rename with every consumer.
|
|
16
24
|
*/
|
|
17
25
|
secondsRemaining: number;
|
|
18
26
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { CartAmounts } from './CartAmounts';
|
|
6
|
+
import type { CartCountsLite } from './CartCountsLite';
|
|
7
|
+
import type { CartTotals } from './CartTotals';
|
|
8
|
+
import type { CartWithTime } from './CartWithTime';
|
|
9
|
+
export type CartStateEnvelope = {
|
|
10
|
+
/**
|
|
11
|
+
* Server-side build order (ms epoch). Rapid mutations answer with envelopes whose RESPONSES can arrive out of order; the client applies only an envelope newer than the last applied, so a late older snapshot never overwrites fresher truth.
|
|
12
|
+
*/
|
|
13
|
+
builtAt: number;
|
|
14
|
+
/**
|
|
15
|
+
* Post-recompute money — the GET /cart/totals payload.
|
|
16
|
+
*/
|
|
17
|
+
totals: CartTotals;
|
|
18
|
+
/**
|
|
19
|
+
* The GET /cart payload (rows are post-recompute).
|
|
20
|
+
*/
|
|
21
|
+
cart: CartWithTime;
|
|
22
|
+
/**
|
|
23
|
+
* The GET /cart/counts payload (carries the cart clock).
|
|
24
|
+
*/
|
|
25
|
+
counts: CartCountsLite;
|
|
26
|
+
/**
|
|
27
|
+
* The GET /cart/amounts ledger (tax, subtotals, payments) — post-recompute. Lets the client serve ledger-level refreshes from the envelope instead of chasing four extra reads after every mutation.
|
|
28
|
+
*/
|
|
29
|
+
amounts: CartAmounts;
|
|
30
|
+
};
|
|
31
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type CartTierOption = {
|
|
6
|
+
/**
|
|
7
|
+
* seat_pricing_tier id.
|
|
8
|
+
*/
|
|
9
|
+
id: number;
|
|
10
|
+
name: string;
|
|
11
|
+
description: string | null;
|
|
12
|
+
/**
|
|
13
|
+
* The online price for this tier — fee-inclusive, door-pricing aware (dbo.seat_availableSectionTiers semantics).
|
|
14
|
+
*/
|
|
15
|
+
price: number;
|
|
16
|
+
/**
|
|
17
|
+
* The price without the service charge — render as "{basePrice} + Fee" when showPricingSplit is set.
|
|
18
|
+
*/
|
|
19
|
+
basePrice: number | null;
|
|
20
|
+
/**
|
|
21
|
+
* Whether prices should be presented split (base + fee) for this show right now.
|
|
22
|
+
*/
|
|
23
|
+
showPricingSplit: number;
|
|
24
|
+
/**
|
|
25
|
+
* Show service charge (the fee component).
|
|
26
|
+
*/
|
|
27
|
+
serviceCharge: number;
|
|
28
|
+
/**
|
|
29
|
+
* Display rank (1 = first).
|
|
30
|
+
*/
|
|
31
|
+
rank: number;
|
|
32
|
+
};
|
|
33
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { CartTierOption } from './CartTierOption';
|
|
6
|
+
export type CartTierSeat = {
|
|
7
|
+
showId: number;
|
|
8
|
+
showShortName: string | null;
|
|
9
|
+
seatId: number;
|
|
10
|
+
/**
|
|
11
|
+
* Physical section label; null for GA rows.
|
|
12
|
+
*/
|
|
13
|
+
section: string | null;
|
|
14
|
+
row: string | null;
|
|
15
|
+
seat: number | null;
|
|
16
|
+
/**
|
|
17
|
+
* Nonzero when the row should display as GENERAL instead of Sec-Row-Seat.
|
|
18
|
+
*/
|
|
19
|
+
isGeneralSeating: number;
|
|
20
|
+
/**
|
|
21
|
+
* The tier currently assigned to this held seat.
|
|
22
|
+
*/
|
|
23
|
+
currentTierId: number | null;
|
|
24
|
+
tiers: Array<CartTierOption>;
|
|
25
|
+
};
|
|
26
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { CartTierSeat } from './CartTierSeat';
|
|
6
|
+
export type CartTiersResponse = {
|
|
7
|
+
/**
|
|
8
|
+
* Held seats that need a pricing-tier selection (more than one applicable tier). Empty when the tiers step should be skipped — this list agrees with GET /checkout/next-step by construction (both read dbo.SessionGetSeatsWithTiers).
|
|
9
|
+
*/
|
|
10
|
+
seats: Array<CartTierSeat>;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type EventListItem = {
|
|
6
|
+
id: number;
|
|
7
|
+
chartId: number;
|
|
8
|
+
isSoldOut: number;
|
|
9
|
+
maxOrderSeats: number;
|
|
10
|
+
dateMaxOrderSeatsEnd: string | null;
|
|
11
|
+
eventGroupId: number;
|
|
12
|
+
dateOpenStart: string | null;
|
|
13
|
+
dateOpenEnd: string | null;
|
|
14
|
+
datePriorityStart: string | null;
|
|
15
|
+
datePriorityEnd: string | null;
|
|
16
|
+
dateApproved: string | null;
|
|
17
|
+
dateStart: string | null;
|
|
18
|
+
dateTerminated: string | null;
|
|
19
|
+
waitlistEnabled: number;
|
|
20
|
+
isGeneralSeating: number;
|
|
21
|
+
statusId: number;
|
|
22
|
+
typeId: number;
|
|
23
|
+
designation: string | null;
|
|
24
|
+
isVirtual: number;
|
|
25
|
+
isSd: number;
|
|
26
|
+
handicapPolicy: string | null;
|
|
27
|
+
title: string | null;
|
|
28
|
+
name: string | null;
|
|
29
|
+
shortName: string | null;
|
|
30
|
+
basePricing: number;
|
|
31
|
+
serviceCharge: number;
|
|
32
|
+
showPricingSplit: number;
|
|
33
|
+
showDoorPrice: number;
|
|
34
|
+
otherInfo: string | null;
|
|
35
|
+
reservedInfo: string | null;
|
|
36
|
+
generalSeatingInfo: string | null;
|
|
37
|
+
afterSalesInfo: string | null;
|
|
38
|
+
parkingInfo: string | null;
|
|
39
|
+
legend: string | null;
|
|
40
|
+
venueNameOverride: string | null;
|
|
41
|
+
venueLocationNameOverride: string | null;
|
|
42
|
+
venueAddressOverride: string | null;
|
|
43
|
+
venueCityOverride: string | null;
|
|
44
|
+
venueStateOverride: string | null;
|
|
45
|
+
venuePostalOverride: string | null;
|
|
46
|
+
venueCountyOverride: string | null;
|
|
47
|
+
venueTimezoneOverride: string | null;
|
|
48
|
+
salesTax: number;
|
|
49
|
+
theatreName: string;
|
|
50
|
+
/**
|
|
51
|
+
* Show type ids of every format collapsed into this row (parallel to showIdList).
|
|
52
|
+
*/
|
|
53
|
+
typeIdList: Array<number>;
|
|
54
|
+
/**
|
|
55
|
+
* Show ids of every format collapsed into this row.
|
|
56
|
+
*/
|
|
57
|
+
showIdList: Array<number>;
|
|
58
|
+
/**
|
|
59
|
+
* Chart ids parallel to showIdList (PROJ-902 — lets a sibling format's pill link directly without resolving the chart id on click).
|
|
60
|
+
*/
|
|
61
|
+
chartIdList: Array<number>;
|
|
62
|
+
/**
|
|
63
|
+
* Roster (performer) counts parallel to showIdList (PROJ-912).
|
|
64
|
+
*/
|
|
65
|
+
rosterCountList: Array<number>;
|
|
66
|
+
/**
|
|
67
|
+
* Show artwork URL (cloud URL, or the legacy local path when not clouded — dbo.ShowsAvailable derivation). Null when the show has no artwork (PROJ-901).
|
|
68
|
+
*/
|
|
69
|
+
imageSrc: string | null;
|
|
70
|
+
/**
|
|
71
|
+
* Ticket-stub display colour (ticket_color.display_rgb) — paints the calendar-tile fallback of the card-art chain (PROJ-902).
|
|
72
|
+
*/
|
|
73
|
+
ticketColorRgb: string | null;
|
|
74
|
+
ticketColorTextRgb: string | null;
|
|
75
|
+
/**
|
|
76
|
+
* show_type.name — badge Livestream/VOD/Download without a client-side typeId map (PROJ-902).
|
|
77
|
+
*/
|
|
78
|
+
showTypeName: string | null;
|
|
79
|
+
/**
|
|
80
|
+
* Number of performers on this show’s roster (PROJ-912 — the events page renders performer search only when performers exist).
|
|
81
|
+
*/
|
|
82
|
+
rosterCount: number;
|
|
83
|
+
};
|
|
84
|
+
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
+
import type { CartStateEnvelope } from './CartStateEnvelope';
|
|
5
6
|
export type GAResponse = {
|
|
6
7
|
/**
|
|
7
8
|
* The number of seats involved in the operation.
|
|
@@ -15,5 +16,9 @@ export type GAResponse = {
|
|
|
15
16
|
* The number of seats held, if applicable.
|
|
16
17
|
*/
|
|
17
18
|
seatsHeld?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Post-hold/release cart state (SEAT-1C) — no follow-up cart calls needed. Absent only if the state build failed.
|
|
21
|
+
*/
|
|
22
|
+
cartState?: CartStateEnvelope;
|
|
18
23
|
};
|
|
19
24
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
import type { EventDetails } from './EventDetails';
|
|
6
5
|
import type { EventGroup } from './EventGroup';
|
|
6
|
+
import type { EventListItem } from './EventListItem';
|
|
7
7
|
export type GetEventsResponse = {
|
|
8
|
-
events: Array<
|
|
8
|
+
events: Array<EventListItem>;
|
|
9
9
|
groups: Array<EventGroup>;
|
|
10
10
|
};
|
|
11
11
|
|
|
@@ -21,6 +21,14 @@ export type Product = {
|
|
|
21
21
|
customTextExample: string | null;
|
|
22
22
|
noDefaultOption: number | null;
|
|
23
23
|
qtyAvailable: number | null;
|
|
24
|
+
/**
|
|
25
|
+
* Legacy products.cfm gate: Max Available shows only when this AND qtyAvailable are both set.
|
|
26
|
+
*/
|
|
27
|
+
displayQtyAvailable: number | null;
|
|
28
|
+
/**
|
|
29
|
+
* Legacy products.cfm gate: nonzero = show the product PHOTO inline; zero/null = show the icon with a "View Image" link.
|
|
30
|
+
*/
|
|
31
|
+
displayCustomImage: number | null;
|
|
24
32
|
numVariants: number;
|
|
25
33
|
iconSrc: string | null;
|
|
26
34
|
imageSrc: string | null;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { CartStateEnvelope } from './CartStateEnvelope';
|
|
6
|
+
import type { EngineSeat } from './EngineSeat';
|
|
7
|
+
export type SeatHoldObject = {
|
|
8
|
+
seats: Array<EngineSeat>;
|
|
9
|
+
success: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Post-release cart state (SEAT-1C) — everything the client would otherwise refetch. Absent only if the state build failed; fall back to the cart routes then.
|
|
12
|
+
*/
|
|
13
|
+
cartState?: CartStateEnvelope;
|
|
14
|
+
};
|
|
15
|
+
|
|
@@ -2,10 +2,15 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
+
import type { CartStateEnvelope } from './CartStateEnvelope';
|
|
5
6
|
import type { EngineSeat } from './EngineSeat';
|
|
6
7
|
export type SeatHoldReturn = {
|
|
7
8
|
seats: Array<EngineSeat>;
|
|
8
9
|
success: boolean;
|
|
9
10
|
message: string;
|
|
11
|
+
/**
|
|
12
|
+
* Post-hold cart state (SEAT-1C): the GET /cart/totals, GET /cart and GET /cart/counts payloads produced after the recompute — a seat click needs NO follow-up calls. Present on failures too (the unchanged cart, for optimistic-UI rollback). Absent only if the state build itself failed.
|
|
13
|
+
*/
|
|
14
|
+
cartState?: CartStateEnvelope;
|
|
10
15
|
};
|
|
11
16
|
|
|
@@ -15,5 +15,17 @@ export type ShowExtras = {
|
|
|
15
15
|
* Maximum age for a lap child, if a lap-child policy applies.
|
|
16
16
|
*/
|
|
17
17
|
lapChildMaxAge: number | null;
|
|
18
|
+
/**
|
|
19
|
+
* Chart-Builder slug naming this venue's published chart files on the public CDN — public/databases/{name}.txt and public/configs/{name}.txt (e.g. "ia-cedar-rapids-the-concert-hall"). Null when the venue has no published chart. Without this the client has no way to name the file: chartId and theatreName do not appear in the slug, so it is reduced to guessing from the display name, which fails or, worse, ties between two different houses (SEAT-DB-1).
|
|
20
|
+
*/
|
|
21
|
+
chartDatabase: string | null;
|
|
22
|
+
imageSrc: string | null;
|
|
23
|
+
ticketColorRgb: string | null;
|
|
24
|
+
ticketColorTextRgb: string | null;
|
|
25
|
+
showTypeName: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* Number of performers on this show’s roster.
|
|
28
|
+
*/
|
|
29
|
+
rosterCount: number;
|
|
18
30
|
};
|
|
19
31
|
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
export type SiteTheme = {
|
|
6
|
+
/**
|
|
7
|
+
* Resolved studio logo URL (legacy application.cfm rule): the newest image row named logo.png with a cloud_src wins; null means fall back to the legacy on-disk path /client-content/images/{studioId}/logo.png on the legacy host.
|
|
8
|
+
*/
|
|
9
|
+
logoSrc: string | null;
|
|
6
10
|
id: number;
|
|
7
11
|
studio_id: number;
|
|
8
12
|
facebook_image_id: number | null;
|
|
@@ -7,6 +7,7 @@ import type { CartClearResult } from '../models/CartClearResult';
|
|
|
7
7
|
import type { CartCountsLite } from '../models/CartCountsLite';
|
|
8
8
|
import type { CartHashResponse } from '../models/CartHashResponse';
|
|
9
9
|
import type { CartSummary } from '../models/CartSummary';
|
|
10
|
+
import type { CartTiersResponse } from '../models/CartTiersResponse';
|
|
10
11
|
import type { CartTotals } from '../models/CartTotals';
|
|
11
12
|
import type { CartWithTime } from '../models/CartWithTime';
|
|
12
13
|
import type { CashPaymentDetail } from '../models/CashPaymentDetail';
|
|
@@ -141,6 +142,27 @@ export class CartService {
|
|
|
141
142
|
},
|
|
142
143
|
});
|
|
143
144
|
}
|
|
145
|
+
/**
|
|
146
|
+
* Get the pricing-tiers page data
|
|
147
|
+
* Held seats that need a pricing-tier selection (their section offers more than one applicable tier), each with its tier options — fee-inclusive, door-pricing-aware prices. Empty seats list = the tiers step should be skipped; this agrees with GET /checkout/next-step by construction (PROJ-903). Change a tier with POST /seat/update-tier.
|
|
148
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
149
|
+
* @returns CartTiersResponse Cart tier-selection data retrieved successfully.
|
|
150
|
+
* @throws ApiError
|
|
151
|
+
*/
|
|
152
|
+
public static getCartTiers(
|
|
153
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
154
|
+
): CancelablePromise<CartTiersResponse> {
|
|
155
|
+
return __request(OpenAPI, {
|
|
156
|
+
method: 'GET',
|
|
157
|
+
url: '/cart/tiers',
|
|
158
|
+
headers: resolveShopperHeaders(context),
|
|
159
|
+
errors: {
|
|
160
|
+
400: `Bad Request error with error details.`,
|
|
161
|
+
404: `Not found error with error details.`,
|
|
162
|
+
500: `Internal Server Error, please contact developers.`,
|
|
163
|
+
},
|
|
164
|
+
});
|
|
165
|
+
}
|
|
144
166
|
/**
|
|
145
167
|
* Get cart totals
|
|
146
168
|
* Recomputes the cart (custom logic, coupon, sales tax) and returns the current totals ledger. Call after any cart mutation.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
7
|
+
import { request as __request } from '../core/request';
|
|
8
|
+
export class HealthService {
|
|
9
|
+
/**
|
|
10
|
+
* Liveness check
|
|
11
|
+
* Returns 200 while the process is serving requests. Used by external uptime monitoring.
|
|
12
|
+
* @returns any Healthy.
|
|
13
|
+
* @throws ApiError
|
|
14
|
+
*/
|
|
15
|
+
public static healthRoot(): CancelablePromise<any> {
|
|
16
|
+
return __request(OpenAPI, {
|
|
17
|
+
method: 'GET',
|
|
18
|
+
url: '/health',
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -7,6 +7,7 @@ import type { GAHold } from '../models/GAHold';
|
|
|
7
7
|
import type { GAResponse } from '../models/GAResponse';
|
|
8
8
|
import type { GASeatRelease } from '../models/GASeatRelease';
|
|
9
9
|
import type { SeatData } from '../models/SeatData';
|
|
10
|
+
import type { SeatHoldObject } from '../models/SeatHoldObject';
|
|
10
11
|
import type { SeatHoldReturn } from '../models/SeatHoldReturn';
|
|
11
12
|
import type { UpdateTierData } from '../models/UpdateTierData';
|
|
12
13
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
@@ -31,6 +32,58 @@ export class SeatService {
|
|
|
31
32
|
},
|
|
32
33
|
});
|
|
33
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* Get live seat occupancy for an event
|
|
37
|
+
* Streams the occupancy bitfield as application/octet-stream — one bit per seat, MSB-first, in seat-number order. Served from this API's ingest cache (the seat engine pushes every change here), or read from the engine directly on a cache miss. This is the first-paint read and the POLLING fallback; live updates reach the browser over the websocket room provisioned by GET /seat/occupancy/socket.
|
|
38
|
+
* @param eventId The event to read occupancy for.
|
|
39
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
40
|
+
* @returns binary The packed occupancy bitfield.
|
|
41
|
+
* @throws ApiError
|
|
42
|
+
*/
|
|
43
|
+
public static getSeatOccupancy(
|
|
44
|
+
eventId: number,
|
|
45
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
46
|
+
): CancelablePromise<Blob> {
|
|
47
|
+
return __request(OpenAPI, {
|
|
48
|
+
method: 'GET',
|
|
49
|
+
url: '/seat/occupancy',
|
|
50
|
+
headers: resolveShopperHeaders(context),
|
|
51
|
+
query: {
|
|
52
|
+
'eventId': eventId,
|
|
53
|
+
},
|
|
54
|
+
errors: {
|
|
55
|
+
400: `Bad Request error with error details.`,
|
|
56
|
+
404: `Not found error with error details.`,
|
|
57
|
+
500: `Internal Server Error, please contact developers.`,
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Provision a read-only websocket for live occupancy
|
|
63
|
+
* Mints a listen-only websocket-server token bound to this event's occupancy room and returns the connection details: {url, token, roomId, event, expiresAt}. The browser connects with `new WebSocket(url, ["bearer." + token])` and receives {type:"event", event:"occupancy-update", payload:{occupancy}} frames — a 0/1 string, one character per seat, in seat-number order. The token cannot write: the websocket server enforces the listen-only capability itself. No snapshot arrives on join — clients paint from GET /seat/occupancy first. A 503 means "run poll-only for now", not a page failure.
|
|
64
|
+
* @param eventId The event whose occupancy room to join.
|
|
65
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
66
|
+
* @returns any The websocket connection details.
|
|
67
|
+
* @throws ApiError
|
|
68
|
+
*/
|
|
69
|
+
public static getSeatOccupancySocket(
|
|
70
|
+
eventId: number,
|
|
71
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
72
|
+
): CancelablePromise<any> {
|
|
73
|
+
return __request(OpenAPI, {
|
|
74
|
+
method: 'GET',
|
|
75
|
+
url: '/seat/occupancy/socket',
|
|
76
|
+
headers: resolveShopperHeaders(context),
|
|
77
|
+
query: {
|
|
78
|
+
'eventId': eventId,
|
|
79
|
+
},
|
|
80
|
+
errors: {
|
|
81
|
+
400: `Bad Request error with error details.`,
|
|
82
|
+
404: `Not found error with error details.`,
|
|
83
|
+
500: `Internal Server Error, please contact developers.`,
|
|
84
|
+
},
|
|
85
|
+
});
|
|
86
|
+
}
|
|
34
87
|
/**
|
|
35
88
|
* Hold a reserved seat
|
|
36
89
|
* Holds a reserved seat for the shopper.
|
|
@@ -111,13 +164,13 @@ export class SeatService {
|
|
|
111
164
|
* Releases a reserved seat for the shopper.
|
|
112
165
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
113
166
|
* @param requestBody Seat data for releasing a reserved seat
|
|
114
|
-
* @returns
|
|
167
|
+
* @returns SeatHoldObject Successfully released the reserved seat. Carries the embedded post-release cart state (SEAT-1C).
|
|
115
168
|
* @throws ApiError
|
|
116
169
|
*/
|
|
117
170
|
public static releaseReservedSeat(
|
|
118
171
|
requestBody: SeatData,
|
|
119
172
|
context?: { shopperGuid?: string; accountId?: string },
|
|
120
|
-
): CancelablePromise<
|
|
173
|
+
): CancelablePromise<SeatHoldObject> {
|
|
121
174
|
return __request(OpenAPI, {
|
|
122
175
|
method: 'DELETE',
|
|
123
176
|
url: '/seat/release-reserved',
|
|
@@ -16,7 +16,11 @@ export type { CartCounts } from './models/CartCounts';
|
|
|
16
16
|
export type { CartCountsLite } from './models/CartCountsLite';
|
|
17
17
|
export type { CartHashResponse } from './models/CartHashResponse';
|
|
18
18
|
export type { CartItemCounts } from './models/CartItemCounts';
|
|
19
|
+
export type { CartStateEnvelope } from './models/CartStateEnvelope';
|
|
19
20
|
export type { CartSummary } from './models/CartSummary';
|
|
21
|
+
export type { CartTierOption } from './models/CartTierOption';
|
|
22
|
+
export type { CartTierSeat } from './models/CartTierSeat';
|
|
23
|
+
export type { CartTiersResponse } from './models/CartTiersResponse';
|
|
20
24
|
export type { CartTotals } from './models/CartTotals';
|
|
21
25
|
export type { CartWithTime } from './models/CartWithTime';
|
|
22
26
|
export type { CashPaymentDetail } from './models/CashPaymentDetail';
|
|
@@ -53,6 +57,7 @@ export type { EventDetails } from './models/EventDetails';
|
|
|
53
57
|
export type { EventGroup } from './models/EventGroup';
|
|
54
58
|
export type { EventLegend } from './models/EventLegend';
|
|
55
59
|
export type { EventLegendItem } from './models/EventLegendItem';
|
|
60
|
+
export type { EventListItem } from './models/EventListItem';
|
|
56
61
|
export type { ExchangeAnswersBody } from './models/ExchangeAnswersBody';
|
|
57
62
|
export type { ExchangeCancelResponse } from './models/ExchangeCancelResponse';
|
|
58
63
|
export type { ExchangeCancelSeatResponse } from './models/ExchangeCancelSeatResponse';
|
|
@@ -136,6 +141,7 @@ export type { RootConfigResponse } from './models/RootConfigResponse';
|
|
|
136
141
|
export type { SaveDetailsBody } from './models/SaveDetailsBody';
|
|
137
142
|
export type { SaveNonceBody } from './models/SaveNonceBody';
|
|
138
143
|
export type { SeatData } from './models/SeatData';
|
|
144
|
+
export type { SeatHoldObject } from './models/SeatHoldObject';
|
|
139
145
|
export type { SeatHoldReturn } from './models/SeatHoldReturn';
|
|
140
146
|
export type { SeatIdInput } from './models/SeatIdInput';
|
|
141
147
|
export type { SeatInCart } from './models/SeatInCart';
|
package/src/staging/portal.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { wrapServiceForStaging, STAGING_URLS } from "./wrapService";
|
|
|
6
6
|
|
|
7
7
|
import { AccountService } from "../generated/portal";
|
|
8
8
|
import { AccountingService } from "../generated/portal";
|
|
9
|
+
import { AgreementsService } from "../generated/portal";
|
|
9
10
|
import { AppService } from "../generated/portal";
|
|
10
11
|
import { AuthService } from "../generated/portal";
|
|
11
12
|
import { BookmarkService } from "../generated/portal";
|
|
@@ -60,6 +61,7 @@ const wrap = <T extends object>(service: T) =>
|
|
|
60
61
|
export const portalStaging = {
|
|
61
62
|
account: wrap(AccountService),
|
|
62
63
|
accounting: wrap(AccountingService),
|
|
64
|
+
agreements: wrap(AgreementsService),
|
|
63
65
|
app: wrap(AppService),
|
|
64
66
|
auth: wrap(AuthService),
|
|
65
67
|
bookmark: wrap(BookmarkService),
|