@drttix/drt-sdk 1.4.10 → 1.5.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/cjs/index.d.ts +1 -0
- package/dist/cjs/src/definitions/portal.d.ts +2 -0
- package/dist/cjs/src/definitions/portal.js +49 -47
- package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/portal/index.d.ts +3 -0
- package/dist/cjs/src/generated/portal/index.js +6 -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/CreateShowTimeDto.d.ts +8 -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/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/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 +1 -0
- 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 +6 -0
- 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 +8 -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/SeatService.d.ts +3 -2
- package/dist/cjs/src/generated/shopper/services/SeatService.js +1 -1
- package/dist/cjs/src/generated/shopper/types.d.ts +6 -0
- package/dist/cjs/src/staging/index.d.ts +1 -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 +1 -0
- package/dist/esm/src/definitions/portal.d.ts +2 -0
- package/dist/esm/src/definitions/portal.js +2 -0
- package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/portal/index.d.ts +3 -0
- package/dist/esm/src/generated/portal/index.js +2 -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/CreateShowTimeDto.d.ts +8 -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/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/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 +1 -0
- 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 +6 -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 +8 -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/SeatService.d.ts +3 -2
- package/dist/esm/src/generated/shopper/services/SeatService.js +1 -1
- package/dist/esm/src/generated/shopper/types.d.ts +6 -0
- package/dist/esm/src/staging/index.d.ts +1 -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/generated/portal/core/OpenAPI.ts +1 -1
- package/src/generated/portal/index.ts +3 -0
- package/src/generated/portal/models/AcceptAgreementRequestDto.ts +28 -0
- package/src/generated/portal/models/AgreementStatusResponseDto.ts +66 -0
- package/src/generated/portal/models/CreateShowTimeDto.ts +8 -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/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/SuperUserManageImageFilesService.ts +18 -0
- package/src/generated/portal/types.ts +1 -0
- package/src/generated/scanner/core/OpenAPI.ts +1 -1
- package/src/generated/shopper/core/OpenAPI.ts +1 -1
- package/src/generated/shopper/index.ts +6 -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 +8 -0
- package/src/generated/shopper/models/SiteTheme.ts +4 -0
- package/src/generated/shopper/services/CartService.ts +22 -0
- package/src/generated/shopper/services/SeatService.ts +3 -2
- package/src/generated/shopper/types.ts +6 -0
- package/src/staging/portal.ts +2 -0
|
@@ -51,6 +51,14 @@ export declare class SuperUserManageImageFilesService {
|
|
|
51
51
|
* @throws ApiError
|
|
52
52
|
*/
|
|
53
53
|
static startImageFileUpload(xStudioId: string, requestBody: StartImageUploadRequestDto): CancelablePromise<StartImageUploadResponseDto>;
|
|
54
|
+
/**
|
|
55
|
+
* Upload an image through the AWS-Gateway pipeline
|
|
56
|
+
* Multipart upload: the bytes are validated and stored by the AWS-Gateway /image/process route (preset none) and the image row is created with the gateway-measured dimensions. Replaces start-image-upload + the browser PUT for this flow.
|
|
57
|
+
* @param xStudioId The ID of the studio
|
|
58
|
+
* @returns CreateImageFileResponseDto Image processed, stored and recorded successfully
|
|
59
|
+
* @throws ApiError
|
|
60
|
+
*/
|
|
61
|
+
static uploadImageFile(xStudioId: string): CancelablePromise<CreateImageFileResponseDto>;
|
|
54
62
|
/**
|
|
55
63
|
* Rename an image file
|
|
56
64
|
* Rename an image file by id
|
|
@@ -89,6 +89,22 @@ class SuperUserManageImageFilesService {
|
|
|
89
89
|
mediaType: 'application/json',
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
|
+
/**
|
|
93
|
+
* Upload an image through the AWS-Gateway pipeline
|
|
94
|
+
* Multipart upload: the bytes are validated and stored by the AWS-Gateway /image/process route (preset none) and the image row is created with the gateway-measured dimensions. Replaces start-image-upload + the browser PUT for this flow.
|
|
95
|
+
* @param xStudioId The ID of the studio
|
|
96
|
+
* @returns CreateImageFileResponseDto Image processed, stored and recorded successfully
|
|
97
|
+
* @throws ApiError
|
|
98
|
+
*/
|
|
99
|
+
static uploadImageFile(xStudioId) {
|
|
100
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
101
|
+
method: 'POST',
|
|
102
|
+
url: '/admin-portal/superuser/manage-image-files/upload-image',
|
|
103
|
+
headers: {
|
|
104
|
+
'x-studio-id': xStudioId,
|
|
105
|
+
},
|
|
106
|
+
});
|
|
107
|
+
}
|
|
92
108
|
/**
|
|
93
109
|
* Rename an image file
|
|
94
110
|
* Rename an image file by id
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export type { AbandonedCartResponseDto } from './models/AbandonedCartResponseDto';
|
|
2
|
+
export type { AcceptAgreementRequestDto } from './models/AcceptAgreementRequestDto';
|
|
2
3
|
export type { AccountDetailResponseDto } from './models/AccountDetailResponseDto';
|
|
3
4
|
export type { ActionResponseDto } from './models/ActionResponseDto';
|
|
4
5
|
export type { AddSessionSeatRequestDto } from './models/AddSessionSeatRequestDto';
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.OpenAPI = void 0;
|
|
4
4
|
exports.OpenAPI = {
|
|
5
5
|
BASE: 'https://api.drttix.com/scanner-v3',
|
|
6
|
-
VERSION: '
|
|
6
|
+
VERSION: '20260826.1',
|
|
7
7
|
WITH_CREDENTIALS: false,
|
|
8
8
|
CREDENTIALS: 'include',
|
|
9
9
|
TOKEN: undefined,
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.OpenAPI = void 0;
|
|
4
4
|
exports.OpenAPI = {
|
|
5
5
|
BASE: 'https://api.drttix.com/shopper',
|
|
6
|
-
VERSION: '
|
|
6
|
+
VERSION: '20260831.4',
|
|
7
7
|
WITH_CREDENTIALS: false,
|
|
8
8
|
CREDENTIALS: 'include',
|
|
9
9
|
TOKEN: undefined,
|
|
@@ -17,7 +17,11 @@ export type { CartCounts } from './models/CartCounts';
|
|
|
17
17
|
export type { CartCountsLite } from './models/CartCountsLite';
|
|
18
18
|
export type { CartHashResponse } from './models/CartHashResponse';
|
|
19
19
|
export type { CartItemCounts } from './models/CartItemCounts';
|
|
20
|
+
export type { CartStateEnvelope } from './models/CartStateEnvelope';
|
|
20
21
|
export type { CartSummary } from './models/CartSummary';
|
|
22
|
+
export type { CartTierOption } from './models/CartTierOption';
|
|
23
|
+
export type { CartTierSeat } from './models/CartTierSeat';
|
|
24
|
+
export type { CartTiersResponse } from './models/CartTiersResponse';
|
|
21
25
|
export type { CartTotals } from './models/CartTotals';
|
|
22
26
|
export type { CartWithTime } from './models/CartWithTime';
|
|
23
27
|
export type { CashPaymentDetail } from './models/CashPaymentDetail';
|
|
@@ -54,6 +58,7 @@ export type { EventDetails } from './models/EventDetails';
|
|
|
54
58
|
export type { EventGroup } from './models/EventGroup';
|
|
55
59
|
export type { EventLegend } from './models/EventLegend';
|
|
56
60
|
export type { EventLegendItem } from './models/EventLegendItem';
|
|
61
|
+
export type { EventListItem } from './models/EventListItem';
|
|
57
62
|
export type { ExchangeAnswersBody } from './models/ExchangeAnswersBody';
|
|
58
63
|
export type { ExchangeCancelResponse } from './models/ExchangeCancelResponse';
|
|
59
64
|
export type { ExchangeCancelSeatResponse } from './models/ExchangeCancelSeatResponse';
|
|
@@ -137,6 +142,7 @@ export type { RootConfigResponse } from './models/RootConfigResponse';
|
|
|
137
142
|
export type { SaveDetailsBody } from './models/SaveDetailsBody';
|
|
138
143
|
export type { SaveNonceBody } from './models/SaveNonceBody';
|
|
139
144
|
export type { SeatData } from './models/SeatData';
|
|
145
|
+
export type { SeatHoldObject } from './models/SeatHoldObject';
|
|
140
146
|
export type { SeatHoldReturn } from './models/SeatHoldReturn';
|
|
141
147
|
export type { SeatIdInput } from './models/SeatIdInput';
|
|
142
148
|
export type { SeatInCart } from './models/SeatInCart';
|
|
@@ -57,6 +57,10 @@ export type Account = {
|
|
|
57
57
|
enableOrderDonation: number;
|
|
58
58
|
obfuscateData: number;
|
|
59
59
|
paymentGatewayId: number | null;
|
|
60
|
+
/**
|
|
61
|
+
* 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.
|
|
62
|
+
*/
|
|
63
|
+
pmtGatewayAcctId: string | null;
|
|
60
64
|
enableAdjustmentPayment: number;
|
|
61
65
|
groupShows: number;
|
|
62
66
|
};
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
export type CartCounts = {
|
|
2
|
+
/**
|
|
3
|
+
* Total tickets (seats) in the cart.
|
|
4
|
+
*/
|
|
2
5
|
numSeats: number;
|
|
3
6
|
numDonations: number;
|
|
7
|
+
/**
|
|
8
|
+
* Total product ITEMS (sum of line quantities) — was the line count before PROJ-900.
|
|
9
|
+
*/
|
|
4
10
|
numProducts: number;
|
|
11
|
+
/**
|
|
12
|
+
* Number of distinct product lines in the cart.
|
|
13
|
+
*/
|
|
14
|
+
numUniqueProducts: number;
|
|
5
15
|
numTotal: number;
|
|
6
16
|
};
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
export type CartCountsLite = {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Total number of tickets (seats) currently in the cart.
|
|
4
4
|
*/
|
|
5
5
|
numSeats: number;
|
|
6
6
|
/**
|
|
7
|
-
* Number of
|
|
7
|
+
* Number of distinct shows those tickets span (PROJ-900).
|
|
8
|
+
*/
|
|
9
|
+
numShows: number;
|
|
10
|
+
/**
|
|
11
|
+
* 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).
|
|
8
12
|
*/
|
|
9
13
|
numProducts: number;
|
|
10
14
|
/**
|
|
11
|
-
*
|
|
15
|
+
* Number of distinct product lines in the cart (three of the same shirt counts as 1).
|
|
16
|
+
*/
|
|
17
|
+
numUniqueProducts: number;
|
|
18
|
+
/**
|
|
19
|
+
* 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.
|
|
12
20
|
*/
|
|
13
21
|
secondsRemaining: number;
|
|
14
22
|
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { CartAmounts } from './CartAmounts';
|
|
2
|
+
import type { CartCountsLite } from './CartCountsLite';
|
|
3
|
+
import type { CartTotals } from './CartTotals';
|
|
4
|
+
import type { CartWithTime } from './CartWithTime';
|
|
5
|
+
export type CartStateEnvelope = {
|
|
6
|
+
/**
|
|
7
|
+
* 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.
|
|
8
|
+
*/
|
|
9
|
+
builtAt: number;
|
|
10
|
+
/**
|
|
11
|
+
* Post-recompute money — the GET /cart/totals payload.
|
|
12
|
+
*/
|
|
13
|
+
totals: CartTotals;
|
|
14
|
+
/**
|
|
15
|
+
* The GET /cart payload (rows are post-recompute).
|
|
16
|
+
*/
|
|
17
|
+
cart: CartWithTime;
|
|
18
|
+
/**
|
|
19
|
+
* The GET /cart/counts payload (carries the cart clock).
|
|
20
|
+
*/
|
|
21
|
+
counts: CartCountsLite;
|
|
22
|
+
/**
|
|
23
|
+
* 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.
|
|
24
|
+
*/
|
|
25
|
+
amounts: CartAmounts;
|
|
26
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export type CartTierOption = {
|
|
2
|
+
/**
|
|
3
|
+
* seat_pricing_tier id.
|
|
4
|
+
*/
|
|
5
|
+
id: number;
|
|
6
|
+
name: string;
|
|
7
|
+
description: string | null;
|
|
8
|
+
/**
|
|
9
|
+
* The online price for this tier — fee-inclusive, door-pricing aware (dbo.seat_availableSectionTiers semantics).
|
|
10
|
+
*/
|
|
11
|
+
price: number;
|
|
12
|
+
/**
|
|
13
|
+
* The price without the service charge — render as "{basePrice} + Fee" when showPricingSplit is set.
|
|
14
|
+
*/
|
|
15
|
+
basePrice: number | null;
|
|
16
|
+
/**
|
|
17
|
+
* Whether prices should be presented split (base + fee) for this show right now.
|
|
18
|
+
*/
|
|
19
|
+
showPricingSplit: number;
|
|
20
|
+
/**
|
|
21
|
+
* Show service charge (the fee component).
|
|
22
|
+
*/
|
|
23
|
+
serviceCharge: number;
|
|
24
|
+
/**
|
|
25
|
+
* Display rank (1 = first).
|
|
26
|
+
*/
|
|
27
|
+
rank: number;
|
|
28
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { CartTierOption } from './CartTierOption';
|
|
2
|
+
export type CartTierSeat = {
|
|
3
|
+
showId: number;
|
|
4
|
+
showShortName: string | null;
|
|
5
|
+
seatId: number;
|
|
6
|
+
/**
|
|
7
|
+
* Physical section label; null for GA rows.
|
|
8
|
+
*/
|
|
9
|
+
section: string | null;
|
|
10
|
+
row: string | null;
|
|
11
|
+
seat: number | null;
|
|
12
|
+
/**
|
|
13
|
+
* Nonzero when the row should display as GENERAL instead of Sec-Row-Seat.
|
|
14
|
+
*/
|
|
15
|
+
isGeneralSeating: number;
|
|
16
|
+
/**
|
|
17
|
+
* The tier currently assigned to this held seat.
|
|
18
|
+
*/
|
|
19
|
+
currentTierId: number | null;
|
|
20
|
+
tiers: Array<CartTierOption>;
|
|
21
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CartTierSeat } from './CartTierSeat';
|
|
2
|
+
export type CartTiersResponse = {
|
|
3
|
+
/**
|
|
4
|
+
* 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).
|
|
5
|
+
*/
|
|
6
|
+
seats: Array<CartTierSeat>;
|
|
7
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
export type EventListItem = {
|
|
2
|
+
id: number;
|
|
3
|
+
chartId: number;
|
|
4
|
+
isSoldOut: number;
|
|
5
|
+
maxOrderSeats: number;
|
|
6
|
+
dateMaxOrderSeatsEnd: string | null;
|
|
7
|
+
eventGroupId: number;
|
|
8
|
+
dateOpenStart: string | null;
|
|
9
|
+
dateOpenEnd: string | null;
|
|
10
|
+
datePriorityStart: string | null;
|
|
11
|
+
datePriorityEnd: string | null;
|
|
12
|
+
dateApproved: string | null;
|
|
13
|
+
dateStart: string | null;
|
|
14
|
+
dateTerminated: string | null;
|
|
15
|
+
waitlistEnabled: number;
|
|
16
|
+
isGeneralSeating: number;
|
|
17
|
+
statusId: number;
|
|
18
|
+
typeId: number;
|
|
19
|
+
designation: string | null;
|
|
20
|
+
isVirtual: number;
|
|
21
|
+
isSd: number;
|
|
22
|
+
handicapPolicy: string | null;
|
|
23
|
+
title: string | null;
|
|
24
|
+
name: string | null;
|
|
25
|
+
shortName: string | null;
|
|
26
|
+
basePricing: number;
|
|
27
|
+
serviceCharge: number;
|
|
28
|
+
showPricingSplit: number;
|
|
29
|
+
showDoorPrice: number;
|
|
30
|
+
otherInfo: string | null;
|
|
31
|
+
reservedInfo: string | null;
|
|
32
|
+
generalSeatingInfo: string | null;
|
|
33
|
+
afterSalesInfo: string | null;
|
|
34
|
+
parkingInfo: string | null;
|
|
35
|
+
legend: string | null;
|
|
36
|
+
venueNameOverride: string | null;
|
|
37
|
+
venueLocationNameOverride: string | null;
|
|
38
|
+
venueAddressOverride: string | null;
|
|
39
|
+
venueCityOverride: string | null;
|
|
40
|
+
venueStateOverride: string | null;
|
|
41
|
+
venuePostalOverride: string | null;
|
|
42
|
+
venueCountyOverride: string | null;
|
|
43
|
+
venueTimezoneOverride: string | null;
|
|
44
|
+
salesTax: number;
|
|
45
|
+
theatreName: string;
|
|
46
|
+
/**
|
|
47
|
+
* Show type ids of every format collapsed into this row (parallel to showIdList).
|
|
48
|
+
*/
|
|
49
|
+
typeIdList: Array<number>;
|
|
50
|
+
/**
|
|
51
|
+
* Show ids of every format collapsed into this row.
|
|
52
|
+
*/
|
|
53
|
+
showIdList: Array<number>;
|
|
54
|
+
/**
|
|
55
|
+
* Chart ids parallel to showIdList (PROJ-902 — lets a sibling format's pill link directly without resolving the chart id on click).
|
|
56
|
+
*/
|
|
57
|
+
chartIdList: Array<number>;
|
|
58
|
+
/**
|
|
59
|
+
* Roster (performer) counts parallel to showIdList (PROJ-912).
|
|
60
|
+
*/
|
|
61
|
+
rosterCountList: Array<number>;
|
|
62
|
+
/**
|
|
63
|
+
* 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).
|
|
64
|
+
*/
|
|
65
|
+
imageSrc: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* Ticket-stub display colour (ticket_color.display_rgb) — paints the calendar-tile fallback of the card-art chain (PROJ-902).
|
|
68
|
+
*/
|
|
69
|
+
ticketColorRgb: string | null;
|
|
70
|
+
ticketColorTextRgb: string | null;
|
|
71
|
+
/**
|
|
72
|
+
* show_type.name — badge Livestream/VOD/Download without a client-side typeId map (PROJ-902).
|
|
73
|
+
*/
|
|
74
|
+
showTypeName: string | null;
|
|
75
|
+
/**
|
|
76
|
+
* Number of performers on this show’s roster (PROJ-912 — the events page renders performer search only when performers exist).
|
|
77
|
+
*/
|
|
78
|
+
rosterCount: number;
|
|
79
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CartStateEnvelope } from './CartStateEnvelope';
|
|
1
2
|
export type GAResponse = {
|
|
2
3
|
/**
|
|
3
4
|
* The number of seats involved in the operation.
|
|
@@ -11,4 +12,8 @@ export type GAResponse = {
|
|
|
11
12
|
* The number of seats held, if applicable.
|
|
12
13
|
*/
|
|
13
14
|
seatsHeld?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Post-hold/release cart state (SEAT-1C) — no follow-up cart calls needed. Absent only if the state build failed.
|
|
17
|
+
*/
|
|
18
|
+
cartState?: CartStateEnvelope;
|
|
14
19
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { EventDetails } from './EventDetails';
|
|
2
1
|
import type { EventGroup } from './EventGroup';
|
|
2
|
+
import type { EventListItem } from './EventListItem';
|
|
3
3
|
export type GetEventsResponse = {
|
|
4
|
-
events: Array<
|
|
4
|
+
events: Array<EventListItem>;
|
|
5
5
|
groups: Array<EventGroup>;
|
|
6
6
|
};
|
|
@@ -17,6 +17,14 @@ export type Product = {
|
|
|
17
17
|
customTextExample: string | null;
|
|
18
18
|
noDefaultOption: number | null;
|
|
19
19
|
qtyAvailable: number | null;
|
|
20
|
+
/**
|
|
21
|
+
* Legacy products.cfm gate: Max Available shows only when this AND qtyAvailable are both set.
|
|
22
|
+
*/
|
|
23
|
+
displayQtyAvailable: number | null;
|
|
24
|
+
/**
|
|
25
|
+
* Legacy products.cfm gate: nonzero = show the product PHOTO inline; zero/null = show the icon with a "View Image" link.
|
|
26
|
+
*/
|
|
27
|
+
displayCustomImage: number | null;
|
|
20
28
|
numVariants: number;
|
|
21
29
|
iconSrc: string | null;
|
|
22
30
|
imageSrc: string | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { CartStateEnvelope } from './CartStateEnvelope';
|
|
2
|
+
import type { EngineSeat } from './EngineSeat';
|
|
3
|
+
export type SeatHoldObject = {
|
|
4
|
+
seats: Array<EngineSeat>;
|
|
5
|
+
success: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* 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.
|
|
8
|
+
*/
|
|
9
|
+
cartState?: CartStateEnvelope;
|
|
10
|
+
};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
import type { CartStateEnvelope } from './CartStateEnvelope';
|
|
1
2
|
import type { EngineSeat } from './EngineSeat';
|
|
2
3
|
export type SeatHoldReturn = {
|
|
3
4
|
seats: Array<EngineSeat>;
|
|
4
5
|
success: boolean;
|
|
5
6
|
message: string;
|
|
7
|
+
/**
|
|
8
|
+
* 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.
|
|
9
|
+
*/
|
|
10
|
+
cartState?: CartStateEnvelope;
|
|
6
11
|
};
|
|
@@ -15,4 +15,12 @@ export type ShowExtras = {
|
|
|
15
15
|
* 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).
|
|
16
16
|
*/
|
|
17
17
|
chartDatabase: string | null;
|
|
18
|
+
imageSrc: string | null;
|
|
19
|
+
ticketColorRgb: string | null;
|
|
20
|
+
ticketColorTextRgb: string | null;
|
|
21
|
+
showTypeName: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* Number of performers on this show’s roster.
|
|
24
|
+
*/
|
|
25
|
+
rosterCount: number;
|
|
18
26
|
};
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export type SiteTheme = {
|
|
2
|
+
/**
|
|
3
|
+
* 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.
|
|
4
|
+
*/
|
|
5
|
+
logoSrc: string | null;
|
|
2
6
|
id: number;
|
|
3
7
|
studio_id: number;
|
|
4
8
|
facebook_image_id: number | null;
|
|
@@ -3,6 +3,7 @@ import type { CartClearResult } from '../models/CartClearResult';
|
|
|
3
3
|
import type { CartCountsLite } from '../models/CartCountsLite';
|
|
4
4
|
import type { CartHashResponse } from '../models/CartHashResponse';
|
|
5
5
|
import type { CartSummary } from '../models/CartSummary';
|
|
6
|
+
import type { CartTiersResponse } from '../models/CartTiersResponse';
|
|
6
7
|
import type { CartTotals } from '../models/CartTotals';
|
|
7
8
|
import type { CartWithTime } from '../models/CartWithTime';
|
|
8
9
|
import type { CashPaymentDetail } from '../models/CashPaymentDetail';
|
|
@@ -74,6 +75,17 @@ export declare class CartService {
|
|
|
74
75
|
shopperGuid?: string;
|
|
75
76
|
accountId?: string;
|
|
76
77
|
}): CancelablePromise<CartCountsLite>;
|
|
78
|
+
/**
|
|
79
|
+
* Get the pricing-tiers page data
|
|
80
|
+
* 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.
|
|
81
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
82
|
+
* @returns CartTiersResponse Cart tier-selection data retrieved successfully.
|
|
83
|
+
* @throws ApiError
|
|
84
|
+
*/
|
|
85
|
+
static getCartTiers(context?: {
|
|
86
|
+
shopperGuid?: string;
|
|
87
|
+
accountId?: string;
|
|
88
|
+
}): CancelablePromise<CartTiersResponse>;
|
|
77
89
|
/**
|
|
78
90
|
* Get cart totals
|
|
79
91
|
* Recomputes the cart (custom logic, coupon, sales tax) and returns the current totals ledger. Call after any cart mutation.
|
|
@@ -119,6 +119,25 @@ class CartService {
|
|
|
119
119
|
},
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
* Get the pricing-tiers page data
|
|
124
|
+
* 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.
|
|
125
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
126
|
+
* @returns CartTiersResponse Cart tier-selection data retrieved successfully.
|
|
127
|
+
* @throws ApiError
|
|
128
|
+
*/
|
|
129
|
+
static getCartTiers(context) {
|
|
130
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
131
|
+
method: 'GET',
|
|
132
|
+
url: '/cart/tiers',
|
|
133
|
+
headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
|
|
134
|
+
errors: {
|
|
135
|
+
400: `Bad Request error with error details.`,
|
|
136
|
+
404: `Not found error with error details.`,
|
|
137
|
+
500: `Internal Server Error, please contact developers.`,
|
|
138
|
+
},
|
|
139
|
+
});
|
|
140
|
+
}
|
|
122
141
|
/**
|
|
123
142
|
* Get cart totals
|
|
124
143
|
* Recomputes the cart (custom logic, coupon, sales tax) and returns the current totals ledger. Call after any cart mutation.
|
|
@@ -3,6 +3,7 @@ import type { GAHold } from '../models/GAHold';
|
|
|
3
3
|
import type { GAResponse } from '../models/GAResponse';
|
|
4
4
|
import type { GASeatRelease } from '../models/GASeatRelease';
|
|
5
5
|
import type { SeatData } from '../models/SeatData';
|
|
6
|
+
import type { SeatHoldObject } from '../models/SeatHoldObject';
|
|
6
7
|
import type { SeatHoldReturn } from '../models/SeatHoldReturn';
|
|
7
8
|
import type { UpdateTierData } from '../models/UpdateTierData';
|
|
8
9
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
@@ -79,13 +80,13 @@ export declare class SeatService {
|
|
|
79
80
|
* Releases a reserved seat for the shopper.
|
|
80
81
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
81
82
|
* @param requestBody Seat data for releasing a reserved seat
|
|
82
|
-
* @returns
|
|
83
|
+
* @returns SeatHoldObject Successfully released the reserved seat. Carries the embedded post-release cart state (SEAT-1C).
|
|
83
84
|
* @throws ApiError
|
|
84
85
|
*/
|
|
85
86
|
static releaseReservedSeat(requestBody: SeatData, context?: {
|
|
86
87
|
shopperGuid?: string;
|
|
87
88
|
accountId?: string;
|
|
88
|
-
}): CancelablePromise<
|
|
89
|
+
}): CancelablePromise<SeatHoldObject>;
|
|
89
90
|
/**
|
|
90
91
|
* Release a general admission seat
|
|
91
92
|
* Releases a general admission seat for the shopper.
|
|
@@ -139,7 +139,7 @@ class SeatService {
|
|
|
139
139
|
* Releases a reserved seat for the shopper.
|
|
140
140
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
141
141
|
* @param requestBody Seat data for releasing a reserved seat
|
|
142
|
-
* @returns
|
|
142
|
+
* @returns SeatHoldObject Successfully released the reserved seat. Carries the embedded post-release cart state (SEAT-1C).
|
|
143
143
|
* @throws ApiError
|
|
144
144
|
*/
|
|
145
145
|
static releaseReservedSeat(requestBody, context) {
|
|
@@ -13,7 +13,11 @@ export type { CartCounts } from './models/CartCounts';
|
|
|
13
13
|
export type { CartCountsLite } from './models/CartCountsLite';
|
|
14
14
|
export type { CartHashResponse } from './models/CartHashResponse';
|
|
15
15
|
export type { CartItemCounts } from './models/CartItemCounts';
|
|
16
|
+
export type { CartStateEnvelope } from './models/CartStateEnvelope';
|
|
16
17
|
export type { CartSummary } from './models/CartSummary';
|
|
18
|
+
export type { CartTierOption } from './models/CartTierOption';
|
|
19
|
+
export type { CartTierSeat } from './models/CartTierSeat';
|
|
20
|
+
export type { CartTiersResponse } from './models/CartTiersResponse';
|
|
17
21
|
export type { CartTotals } from './models/CartTotals';
|
|
18
22
|
export type { CartWithTime } from './models/CartWithTime';
|
|
19
23
|
export type { CashPaymentDetail } from './models/CashPaymentDetail';
|
|
@@ -50,6 +54,7 @@ export type { EventDetails } from './models/EventDetails';
|
|
|
50
54
|
export type { EventGroup } from './models/EventGroup';
|
|
51
55
|
export type { EventLegend } from './models/EventLegend';
|
|
52
56
|
export type { EventLegendItem } from './models/EventLegendItem';
|
|
57
|
+
export type { EventListItem } from './models/EventListItem';
|
|
53
58
|
export type { ExchangeAnswersBody } from './models/ExchangeAnswersBody';
|
|
54
59
|
export type { ExchangeCancelResponse } from './models/ExchangeCancelResponse';
|
|
55
60
|
export type { ExchangeCancelSeatResponse } from './models/ExchangeCancelSeatResponse';
|
|
@@ -133,6 +138,7 @@ export type { RootConfigResponse } from './models/RootConfigResponse';
|
|
|
133
138
|
export type { SaveDetailsBody } from './models/SaveDetailsBody';
|
|
134
139
|
export type { SaveNonceBody } from './models/SaveNonceBody';
|
|
135
140
|
export type { SeatData } from './models/SeatData';
|
|
141
|
+
export type { SeatHoldObject } from './models/SeatHoldObject';
|
|
136
142
|
export type { SeatHoldReturn } from './models/SeatHoldReturn';
|
|
137
143
|
export type { SeatIdInput } from './models/SeatIdInput';
|
|
138
144
|
export type { SeatInCart } from './models/SeatInCart';
|
|
@@ -42,6 +42,7 @@ export declare const DRT: {
|
|
|
42
42
|
portal: {
|
|
43
43
|
account: typeof import("../generated/portal").AccountService;
|
|
44
44
|
accounting: typeof import("../generated/portal").AccountingService;
|
|
45
|
+
agreements: typeof import("../generated/portal").AgreementsService;
|
|
45
46
|
app: typeof import("../generated/portal").AppService;
|
|
46
47
|
auth: typeof import("../generated/portal").AuthService;
|
|
47
48
|
bookmark: typeof import("../generated/portal").BookmarkService;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AccountService } from "../generated/portal";
|
|
2
2
|
import { AccountingService } from "../generated/portal";
|
|
3
|
+
import { AgreementsService } from "../generated/portal";
|
|
3
4
|
import { AppService } from "../generated/portal";
|
|
4
5
|
import { AuthService } from "../generated/portal";
|
|
5
6
|
import { BookmarkService } from "../generated/portal";
|
|
@@ -50,6 +51,7 @@ import { SuperUserVideoAssetsService } from "../generated/portal";
|
|
|
50
51
|
export declare const portalStaging: {
|
|
51
52
|
account: typeof AccountService;
|
|
52
53
|
accounting: typeof AccountingService;
|
|
54
|
+
agreements: typeof AgreementsService;
|
|
53
55
|
app: typeof AppService;
|
|
54
56
|
auth: typeof AuthService;
|
|
55
57
|
bookmark: typeof BookmarkService;
|