@drttix/drt-sdk 2.0.0 → 2.0.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/shopper.d.ts +2 -0
- package/dist/cjs/src/definitions/shopper.js +6 -4
- package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/portal/models/CreateShowRequestDto.d.ts +1 -1
- package/dist/cjs/src/generated/portal/models/CreateUpdateProductRequestDto.d.ts +4 -4
- package/dist/cjs/src/generated/portal/models/ProductDetailResponseDto.d.ts +2 -2
- package/dist/cjs/src/generated/portal/models/SeatResponseDto.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/ShowsList.d.ts +12 -0
- package/dist/cjs/src/generated/shopper/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/shopper/index.d.ts +23 -1
- package/dist/cjs/src/generated/shopper/index.js +5 -1
- package/dist/cjs/src/generated/shopper/models/Account.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/AssetDownloadRequest.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/AssetDownloadRequest.js +2 -0
- package/dist/cjs/src/generated/shopper/models/AssetDownloadResponse.d.ts +7 -0
- package/dist/cjs/src/generated/shopper/models/AssetDownloadResponse.js +2 -0
- package/dist/cjs/src/generated/shopper/models/CapabilityManifestDto.d.ts +5 -1
- package/dist/cjs/src/generated/shopper/models/ClientRequestErrorResponse.d.ts +6 -0
- package/dist/cjs/src/generated/shopper/models/ClientRequestErrorResponse.js +2 -0
- package/dist/cjs/src/generated/shopper/models/CreatePaymentLinkBody.d.ts +18 -0
- package/dist/cjs/src/generated/shopper/models/CreatePaymentLinkBody.js +2 -0
- package/dist/cjs/src/generated/shopper/models/CreatePaymentLinkResponse.d.ts +40 -0
- package/dist/cjs/src/generated/shopper/models/CreatePaymentLinkResponse.js +2 -0
- package/dist/cjs/src/generated/shopper/models/EventDetails.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/EventFormat.d.ts +12 -0
- package/dist/cjs/src/generated/shopper/models/EventListItem.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/ExchangeValidateResponse.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/FullEventDetails.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/ManifestSeat.d.ts +14 -0
- package/dist/cjs/src/generated/shopper/models/ManifestSeat.js +12 -0
- package/dist/cjs/src/generated/shopper/models/OrderLookupBody.d.ts +14 -0
- package/dist/cjs/src/generated/shopper/models/OrderLookupBody.js +2 -0
- package/dist/cjs/src/generated/shopper/models/OrderLookupResult.d.ts +14 -0
- package/dist/cjs/src/generated/shopper/models/OrderLookupResult.js +2 -0
- package/dist/cjs/src/generated/shopper/models/OrderRefundDetails.d.ts +1 -0
- package/dist/cjs/src/generated/shopper/models/PaymentLinkSession.d.ts +18 -0
- package/dist/cjs/src/generated/shopper/models/PaymentLinkSession.js +2 -0
- package/dist/cjs/src/generated/shopper/models/PaymentLinkStatus.d.ts +32 -0
- package/dist/cjs/src/generated/shopper/models/PaymentLinkStatus.js +2 -0
- package/dist/cjs/src/generated/shopper/models/Receipt.d.ts +2 -0
- package/dist/cjs/src/generated/shopper/models/RefundExchangeOffer.d.ts +38 -0
- package/dist/cjs/src/generated/shopper/models/RefundExchangeOffer.js +2 -0
- package/dist/cjs/src/generated/shopper/models/RefundReason.d.ts +1 -0
- package/dist/cjs/src/generated/shopper/models/RefundRequestInfo.d.ts +2 -0
- package/dist/cjs/src/generated/shopper/models/RegisterStreamResponse.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/ResetStreamInviteRequest.d.ts +8 -0
- package/dist/cjs/src/generated/shopper/models/ResetStreamInviteRequest.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SaveStreamInvitesRequest.d.ts +10 -0
- package/dist/cjs/src/generated/shopper/models/SaveStreamInvitesRequest.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SaveStreamInvitesResponse.d.ts +7 -0
- package/dist/cjs/src/generated/shopper/models/SaveStreamInvitesResponse.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SeatManifest.d.ts +20 -0
- package/dist/cjs/src/generated/shopper/models/SeatManifest.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SharedStream.d.ts +37 -0
- package/dist/cjs/src/generated/shopper/models/SharedStream.js +2 -0
- package/dist/cjs/src/generated/shopper/models/ShowExtras.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/StartSupportSessionDto.d.ts +10 -0
- package/dist/cjs/src/generated/shopper/models/StartSupportSessionDto.js +2 -0
- package/dist/cjs/src/generated/shopper/models/StreamAuthorization.d.ts +14 -0
- package/dist/cjs/src/generated/shopper/models/StreamAuthorization.js +2 -0
- package/dist/cjs/src/generated/shopper/models/StreamInvite.d.ts +19 -0
- package/dist/cjs/src/generated/shopper/models/StreamInvite.js +2 -0
- package/dist/cjs/src/generated/shopper/models/StreamInviteInput.d.ts +7 -0
- package/dist/cjs/src/generated/shopper/models/StreamInviteInput.js +2 -0
- package/dist/cjs/src/generated/shopper/models/StreamInvitesResponse.d.ts +8 -0
- package/dist/cjs/src/generated/shopper/models/StreamInvitesResponse.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SupportSessionStateDto.d.ts +14 -0
- package/dist/cjs/src/generated/shopper/models/SupportSessionStateDto.js +2 -0
- package/dist/cjs/src/generated/shopper/services/AccountService.d.ts +8 -4
- package/dist/cjs/src/generated/shopper/services/AccountService.js +20 -9
- package/dist/cjs/src/generated/shopper/services/CartService.d.ts +20 -10
- package/dist/cjs/src/generated/shopper/services/CartService.js +50 -21
- package/dist/cjs/src/generated/shopper/services/CheckoutService.d.ts +16 -8
- package/dist/cjs/src/generated/shopper/services/CheckoutService.js +40 -17
- package/dist/cjs/src/generated/shopper/services/CodeService.d.ts +26 -6
- package/dist/cjs/src/generated/shopper/services/CodeService.js +55 -13
- package/dist/cjs/src/generated/shopper/services/DonationService.d.ts +6 -3
- package/dist/cjs/src/generated/shopper/services/DonationService.js +13 -6
- package/dist/cjs/src/generated/shopper/services/EventService.d.ts +12 -6
- package/dist/cjs/src/generated/shopper/services/EventService.js +30 -13
- package/dist/cjs/src/generated/shopper/services/GiftCardService.d.ts +10 -5
- package/dist/cjs/src/generated/shopper/services/GiftCardService.js +25 -11
- package/dist/cjs/src/generated/shopper/services/OrderService.d.ts +179 -30
- package/dist/cjs/src/generated/shopper/services/OrderService.js +364 -61
- package/dist/cjs/src/generated/shopper/services/PaymentLinkService.d.ts +40 -0
- package/dist/cjs/src/generated/shopper/services/PaymentLinkService.js +78 -0
- package/dist/cjs/src/generated/shopper/services/PaymentService.d.ts +6 -3
- package/dist/cjs/src/generated/shopper/services/PaymentService.js +16 -8
- package/dist/cjs/src/generated/shopper/services/ProductService.d.ts +6 -3
- package/dist/cjs/src/generated/shopper/services/ProductService.js +15 -7
- package/dist/cjs/src/generated/shopper/services/SeatService.d.ts +30 -8
- package/dist/cjs/src/generated/shopper/services/SeatService.js +66 -17
- package/dist/cjs/src/generated/shopper/services/SessionService.d.ts +39 -6
- package/dist/cjs/src/generated/shopper/services/SessionService.js +77 -13
- package/dist/cjs/src/generated/shopper/types.d.ts +21 -1
- package/dist/cjs/src/staging/index.d.ts +1 -0
- package/dist/esm/index.d.ts +1 -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/models/CreateShowRequestDto.d.ts +1 -1
- package/dist/esm/src/generated/portal/models/CreateUpdateProductRequestDto.d.ts +4 -4
- package/dist/esm/src/generated/portal/models/ProductDetailResponseDto.d.ts +2 -2
- package/dist/esm/src/generated/portal/models/SeatResponseDto.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/ShowsList.d.ts +12 -0
- package/dist/esm/src/generated/shopper/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/shopper/index.d.ts +23 -1
- package/dist/esm/src/generated/shopper/index.js +2 -0
- package/dist/esm/src/generated/shopper/models/Account.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/AssetDownloadRequest.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/AssetDownloadRequest.js +1 -0
- package/dist/esm/src/generated/shopper/models/AssetDownloadResponse.d.ts +7 -0
- package/dist/esm/src/generated/shopper/models/AssetDownloadResponse.js +1 -0
- package/dist/esm/src/generated/shopper/models/CapabilityManifestDto.d.ts +5 -1
- package/dist/esm/src/generated/shopper/models/ClientRequestErrorResponse.d.ts +6 -0
- package/dist/esm/src/generated/shopper/models/ClientRequestErrorResponse.js +1 -0
- package/dist/esm/src/generated/shopper/models/CreatePaymentLinkBody.d.ts +18 -0
- package/dist/esm/src/generated/shopper/models/CreatePaymentLinkBody.js +1 -0
- package/dist/esm/src/generated/shopper/models/CreatePaymentLinkResponse.d.ts +40 -0
- package/dist/esm/src/generated/shopper/models/CreatePaymentLinkResponse.js +1 -0
- package/dist/esm/src/generated/shopper/models/EventDetails.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/EventFormat.d.ts +12 -0
- package/dist/esm/src/generated/shopper/models/EventListItem.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/ExchangeValidateResponse.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/FullEventDetails.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/ManifestSeat.d.ts +14 -0
- package/dist/esm/src/generated/shopper/models/ManifestSeat.js +9 -0
- package/dist/esm/src/generated/shopper/models/OrderLookupBody.d.ts +14 -0
- package/dist/esm/src/generated/shopper/models/OrderLookupBody.js +1 -0
- package/dist/esm/src/generated/shopper/models/OrderLookupResult.d.ts +14 -0
- package/dist/esm/src/generated/shopper/models/OrderLookupResult.js +1 -0
- package/dist/esm/src/generated/shopper/models/OrderRefundDetails.d.ts +1 -0
- package/dist/esm/src/generated/shopper/models/PaymentLinkSession.d.ts +18 -0
- package/dist/esm/src/generated/shopper/models/PaymentLinkSession.js +1 -0
- package/dist/esm/src/generated/shopper/models/PaymentLinkStatus.d.ts +32 -0
- package/dist/esm/src/generated/shopper/models/PaymentLinkStatus.js +1 -0
- package/dist/esm/src/generated/shopper/models/Receipt.d.ts +2 -0
- package/dist/esm/src/generated/shopper/models/RefundExchangeOffer.d.ts +38 -0
- package/dist/esm/src/generated/shopper/models/RefundExchangeOffer.js +1 -0
- package/dist/esm/src/generated/shopper/models/RefundReason.d.ts +1 -0
- package/dist/esm/src/generated/shopper/models/RefundRequestInfo.d.ts +2 -0
- package/dist/esm/src/generated/shopper/models/RegisterStreamResponse.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/ResetStreamInviteRequest.d.ts +8 -0
- package/dist/esm/src/generated/shopper/models/ResetStreamInviteRequest.js +1 -0
- package/dist/esm/src/generated/shopper/models/SaveStreamInvitesRequest.d.ts +10 -0
- package/dist/esm/src/generated/shopper/models/SaveStreamInvitesRequest.js +1 -0
- package/dist/esm/src/generated/shopper/models/SaveStreamInvitesResponse.d.ts +7 -0
- package/dist/esm/src/generated/shopper/models/SaveStreamInvitesResponse.js +1 -0
- package/dist/esm/src/generated/shopper/models/SeatManifest.d.ts +20 -0
- package/dist/esm/src/generated/shopper/models/SeatManifest.js +1 -0
- package/dist/esm/src/generated/shopper/models/SharedStream.d.ts +37 -0
- package/dist/esm/src/generated/shopper/models/SharedStream.js +1 -0
- package/dist/esm/src/generated/shopper/models/ShowExtras.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/StartSupportSessionDto.d.ts +10 -0
- package/dist/esm/src/generated/shopper/models/StartSupportSessionDto.js +1 -0
- package/dist/esm/src/generated/shopper/models/StreamAuthorization.d.ts +14 -0
- package/dist/esm/src/generated/shopper/models/StreamAuthorization.js +1 -0
- package/dist/esm/src/generated/shopper/models/StreamInvite.d.ts +19 -0
- package/dist/esm/src/generated/shopper/models/StreamInvite.js +1 -0
- package/dist/esm/src/generated/shopper/models/StreamInviteInput.d.ts +7 -0
- package/dist/esm/src/generated/shopper/models/StreamInviteInput.js +1 -0
- package/dist/esm/src/generated/shopper/models/StreamInvitesResponse.d.ts +8 -0
- package/dist/esm/src/generated/shopper/models/StreamInvitesResponse.js +1 -0
- package/dist/esm/src/generated/shopper/models/SupportSessionStateDto.d.ts +14 -0
- package/dist/esm/src/generated/shopper/models/SupportSessionStateDto.js +1 -0
- package/dist/esm/src/generated/shopper/services/AccountService.d.ts +8 -4
- package/dist/esm/src/generated/shopper/services/AccountService.js +20 -9
- package/dist/esm/src/generated/shopper/services/CartService.d.ts +20 -10
- package/dist/esm/src/generated/shopper/services/CartService.js +50 -21
- package/dist/esm/src/generated/shopper/services/CheckoutService.d.ts +16 -8
- package/dist/esm/src/generated/shopper/services/CheckoutService.js +40 -17
- package/dist/esm/src/generated/shopper/services/CodeService.d.ts +26 -6
- package/dist/esm/src/generated/shopper/services/CodeService.js +55 -13
- package/dist/esm/src/generated/shopper/services/DonationService.d.ts +6 -3
- package/dist/esm/src/generated/shopper/services/DonationService.js +13 -6
- package/dist/esm/src/generated/shopper/services/EventService.d.ts +12 -6
- package/dist/esm/src/generated/shopper/services/EventService.js +30 -13
- package/dist/esm/src/generated/shopper/services/GiftCardService.d.ts +10 -5
- package/dist/esm/src/generated/shopper/services/GiftCardService.js +25 -11
- package/dist/esm/src/generated/shopper/services/OrderService.d.ts +179 -30
- package/dist/esm/src/generated/shopper/services/OrderService.js +364 -61
- package/dist/esm/src/generated/shopper/services/PaymentLinkService.d.ts +40 -0
- package/dist/esm/src/generated/shopper/services/PaymentLinkService.js +74 -0
- package/dist/esm/src/generated/shopper/services/PaymentService.d.ts +6 -3
- package/dist/esm/src/generated/shopper/services/PaymentService.js +16 -8
- package/dist/esm/src/generated/shopper/services/ProductService.d.ts +6 -3
- package/dist/esm/src/generated/shopper/services/ProductService.js +15 -7
- package/dist/esm/src/generated/shopper/services/SeatService.d.ts +30 -8
- package/dist/esm/src/generated/shopper/services/SeatService.js +66 -17
- package/dist/esm/src/generated/shopper/services/SessionService.d.ts +39 -6
- package/dist/esm/src/generated/shopper/services/SessionService.js +77 -13
- package/dist/esm/src/generated/shopper/types.d.ts +21 -1
- package/dist/esm/src/staging/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/definitions/shopper.ts +2 -0
- package/src/generated/portal/core/OpenAPI.ts +1 -1
- package/src/generated/portal/models/CreateShowRequestDto.ts +1 -1
- package/src/generated/portal/models/CreateUpdateProductRequestDto.ts +4 -4
- package/src/generated/portal/models/ProductDetailResponseDto.ts +2 -2
- package/src/generated/portal/models/SeatResponseDto.ts +1 -0
- package/src/generated/portal/models/ShowsList.ts +12 -0
- package/src/generated/shopper/core/OpenAPI.ts +1 -1
- package/src/generated/shopper/index.ts +23 -1
- package/src/generated/shopper/models/Account.ts +4 -0
- package/src/generated/shopper/models/AssetDownloadRequest.ts +9 -0
- package/src/generated/shopper/models/AssetDownloadResponse.ts +12 -0
- package/src/generated/shopper/models/CapabilityManifestDto.ts +5 -1
- package/src/generated/shopper/models/ClientRequestErrorResponse.ts +11 -0
- package/src/generated/shopper/models/CreatePaymentLinkBody.ts +23 -0
- package/src/generated/shopper/models/CreatePaymentLinkResponse.ts +45 -0
- package/src/generated/shopper/models/EventDetails.ts +4 -0
- package/src/generated/shopper/models/EventFormat.ts +12 -0
- package/src/generated/shopper/models/EventListItem.ts +4 -0
- package/src/generated/shopper/models/ExchangeValidateResponse.ts +4 -0
- package/src/generated/shopper/models/FullEventDetails.ts +4 -0
- package/src/generated/shopper/models/ManifestSeat.ts +19 -0
- package/src/generated/shopper/models/OrderLookupBody.ts +19 -0
- package/src/generated/shopper/models/OrderLookupResult.ts +19 -0
- package/src/generated/shopper/models/OrderRefundDetails.ts +1 -0
- package/src/generated/shopper/models/PaymentLinkSession.ts +23 -0
- package/src/generated/shopper/models/PaymentLinkStatus.ts +37 -0
- package/src/generated/shopper/models/Receipt.ts +2 -0
- package/src/generated/shopper/models/RefundExchangeOffer.ts +43 -0
- package/src/generated/shopper/models/RefundReason.ts +1 -0
- package/src/generated/shopper/models/RefundRequestInfo.ts +2 -0
- package/src/generated/shopper/models/RegisterStreamResponse.ts +4 -0
- package/src/generated/shopper/models/ResetStreamInviteRequest.ts +13 -0
- package/src/generated/shopper/models/SaveStreamInvitesRequest.ts +15 -0
- package/src/generated/shopper/models/SaveStreamInvitesResponse.ts +12 -0
- package/src/generated/shopper/models/SeatManifest.ts +25 -0
- package/src/generated/shopper/models/SharedStream.ts +42 -0
- package/src/generated/shopper/models/ShowExtras.ts +4 -0
- package/src/generated/shopper/models/StartSupportSessionDto.ts +15 -0
- package/src/generated/shopper/models/StreamAuthorization.ts +19 -0
- package/src/generated/shopper/models/StreamInvite.ts +24 -0
- package/src/generated/shopper/models/StreamInviteInput.ts +12 -0
- package/src/generated/shopper/models/StreamInvitesResponse.ts +13 -0
- package/src/generated/shopper/models/SupportSessionStateDto.ts +19 -0
- package/src/generated/shopper/services/AccountService.ts +20 -4
- package/src/generated/shopper/services/CartService.ts +50 -10
- package/src/generated/shopper/services/CheckoutService.ts +40 -8
- package/src/generated/shopper/services/CodeService.ts +60 -6
- package/src/generated/shopper/services/DonationService.ts +13 -2
- package/src/generated/shopper/services/EventService.ts +30 -6
- package/src/generated/shopper/services/GiftCardService.ts +25 -5
- package/src/generated/shopper/services/OrderService.ts +411 -30
- package/src/generated/shopper/services/PaymentLinkService.ts +93 -0
- package/src/generated/shopper/services/PaymentService.ts +16 -4
- package/src/generated/shopper/services/ProductService.ts +15 -3
- package/src/generated/shopper/services/SeatService.ts +71 -8
- package/src/generated/shopper/services/SessionService.ts +86 -6
- package/src/generated/shopper/types.ts +21 -1
- package/src/generated/shopper/models/PaymentFail.ts +0 -23
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { ManifestSeat } from './ManifestSeat';
|
|
6
|
+
export type SeatManifest = {
|
|
7
|
+
eventId: number;
|
|
8
|
+
/**
|
|
9
|
+
* When this snapshot was built, ISO 8601.
|
|
10
|
+
*/
|
|
11
|
+
generatedAt: string;
|
|
12
|
+
/**
|
|
13
|
+
* Seconds until this snapshot is thrown away server-side. The browser reuses its copy for exactly this long and no longer.
|
|
14
|
+
*/
|
|
15
|
+
ttlSeconds: number;
|
|
16
|
+
/**
|
|
17
|
+
* How many chairs are in `seats`.
|
|
18
|
+
*/
|
|
19
|
+
count: number;
|
|
20
|
+
/**
|
|
21
|
+
* seat.num → who has it.
|
|
22
|
+
*/
|
|
23
|
+
seats: ManifestSeat;
|
|
24
|
+
};
|
|
25
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type SharedStream = {
|
|
6
|
+
providerId: number;
|
|
7
|
+
streamCode: string | null;
|
|
8
|
+
name: string | null;
|
|
9
|
+
hrefSd: string | null;
|
|
10
|
+
hrefHd: string | null;
|
|
11
|
+
streamGuid: string;
|
|
12
|
+
embedCode: string | null;
|
|
13
|
+
directLink: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* Direct-link password / digital-asset password, if set.
|
|
16
|
+
*/
|
|
17
|
+
directLinkPw: string | null;
|
|
18
|
+
title: string | null;
|
|
19
|
+
/**
|
|
20
|
+
* Whether the stream is available right now.
|
|
21
|
+
*/
|
|
22
|
+
isAvailable: number;
|
|
23
|
+
/**
|
|
24
|
+
* Whether the stream window has passed.
|
|
25
|
+
*/
|
|
26
|
+
isExpired: number;
|
|
27
|
+
dateAvailable: string | null;
|
|
28
|
+
dateUnavailable: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* Echo of the assoc guid, so the viewer can poll GET /order/stream/authorized with it.
|
|
31
|
+
*/
|
|
32
|
+
registrationGuid: string;
|
|
33
|
+
/**
|
|
34
|
+
* The access token bound to this row, minted on first view. Empty when the row was already bound to someone else and the caller only cleared the check by IP.
|
|
35
|
+
*/
|
|
36
|
+
accessGuid: string;
|
|
37
|
+
/**
|
|
38
|
+
* Whether this device may watch right now.
|
|
39
|
+
*/
|
|
40
|
+
authorized: boolean;
|
|
41
|
+
};
|
|
42
|
+
|
|
@@ -15,6 +15,10 @@ 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
|
+
* The show's performer positions across the front of the stage, as the studio keys them: a list, a span, or spans and singles mixed ("1-10", "1,3,5,7", "10-1" for a house that counts the other way), with "|" breaking a cast too wide for one legible line onto a second ("1-12|13-24"). Read live from show.stage_numbers, and mirrored onto the event as stageNumbers.
|
|
20
|
+
*/
|
|
21
|
+
stageNumbers: string | null;
|
|
18
22
|
/**
|
|
19
23
|
* 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
24
|
*/
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type StartSupportSessionDto = {
|
|
6
|
+
/**
|
|
7
|
+
* The shopper’s first name.
|
|
8
|
+
*/
|
|
9
|
+
firstName: string;
|
|
10
|
+
/**
|
|
11
|
+
* The shopper’s last name.
|
|
12
|
+
*/
|
|
13
|
+
lastName: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type StreamAuthorization = {
|
|
6
|
+
/**
|
|
7
|
+
* Whether this device may keep watching. False means the registration was revoked or moved to another network.
|
|
8
|
+
*/
|
|
9
|
+
authorized: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Whether the stream window has closed, judged against the session effective date (dbo.cart_sessionDate) and falling back to the show end when date_unavailable is NULL.
|
|
12
|
+
*/
|
|
13
|
+
expired: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* The caller's own IP as the server saw it, echoed back for the /tv page's "Authorized IP" line. Empty on the unauthorized branch — never another viewer's address.
|
|
16
|
+
*/
|
|
17
|
+
ipAddress: string;
|
|
18
|
+
};
|
|
19
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type StreamInvite = {
|
|
6
|
+
/**
|
|
7
|
+
* 1-based ticket index; row 1 is the buyer.
|
|
8
|
+
*/
|
|
9
|
+
row: number;
|
|
10
|
+
email: string;
|
|
11
|
+
/**
|
|
12
|
+
* Whether this is the buyer’s own row.
|
|
13
|
+
*/
|
|
14
|
+
isPrimary: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Whether a viewer is currently bound to this row (ip_address is not null). What makes "Reset registration" meaningful.
|
|
17
|
+
*/
|
|
18
|
+
isRegistered: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Whether an assoc row exists yet for this ticket.
|
|
21
|
+
*/
|
|
22
|
+
exists: boolean;
|
|
23
|
+
};
|
|
24
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type StreamInviteInput = {
|
|
6
|
+
row: number;
|
|
7
|
+
/**
|
|
8
|
+
* Empty deletes the row (legacy -send.cfm:84).
|
|
9
|
+
*/
|
|
10
|
+
email: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { StreamInvite } from './StreamInvite';
|
|
6
|
+
export type StreamInvitesResponse = {
|
|
7
|
+
/**
|
|
8
|
+
* Tickets purchased for the stream’s show on this order — the cap on how many invites may exist.
|
|
9
|
+
*/
|
|
10
|
+
ticketCount: number;
|
|
11
|
+
invites: Array<StreamInvite>;
|
|
12
|
+
};
|
|
13
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type SupportSessionStateDto = {
|
|
6
|
+
/**
|
|
7
|
+
* First name on the session row — the prefill for the tech-assist form.
|
|
8
|
+
*/
|
|
9
|
+
firstName: string;
|
|
10
|
+
/**
|
|
11
|
+
* Last name on the session row.
|
|
12
|
+
*/
|
|
13
|
+
lastName: string;
|
|
14
|
+
/**
|
|
15
|
+
* Whether this session is already flagged for technical assistance.
|
|
16
|
+
*/
|
|
17
|
+
supportFlag: boolean;
|
|
18
|
+
};
|
|
19
|
+
|
|
@@ -15,16 +15,20 @@ export class AccountService {
|
|
|
15
15
|
* Get the site theme
|
|
16
16
|
* Retrieves the current theme for the site.
|
|
17
17
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
18
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
18
19
|
* @returns SiteTheme Returns the site theme.
|
|
19
20
|
* @throws ApiError
|
|
20
21
|
*/
|
|
21
22
|
public static getTheme(
|
|
22
23
|
context?: { shopperGuid?: string; accountId?: string },
|
|
24
|
+
xDrtDomain?: string,
|
|
23
25
|
): CancelablePromise<SiteTheme> {
|
|
24
26
|
return __request(OpenAPI, {
|
|
25
27
|
method: 'GET',
|
|
26
28
|
url: '/theme',
|
|
27
|
-
headers:
|
|
29
|
+
headers: {
|
|
30
|
+
'x-drt-domain': xDrtDomain,
|
|
31
|
+
},
|
|
28
32
|
errors: {
|
|
29
33
|
400: `Bad Request error with error details.`,
|
|
30
34
|
404: `Not found error with error details.`,
|
|
@@ -36,16 +40,20 @@ export class AccountService {
|
|
|
36
40
|
* Get the site disposition
|
|
37
41
|
* Retrieves the current disposition for the site.
|
|
38
42
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
43
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
39
44
|
* @returns SiteDisposition Returns the site disposition.
|
|
40
45
|
* @throws ApiError
|
|
41
46
|
*/
|
|
42
47
|
public static getDisposition(
|
|
43
48
|
context?: { shopperGuid?: string; accountId?: string },
|
|
49
|
+
xDrtDomain?: string,
|
|
44
50
|
): CancelablePromise<SiteDisposition> {
|
|
45
51
|
return __request(OpenAPI, {
|
|
46
52
|
method: 'GET',
|
|
47
53
|
url: '/disposition',
|
|
48
|
-
headers:
|
|
54
|
+
headers: {
|
|
55
|
+
'x-drt-domain': xDrtDomain,
|
|
56
|
+
},
|
|
49
57
|
errors: {
|
|
50
58
|
400: `Bad Request error with error details.`,
|
|
51
59
|
404: `Not found error with error details.`,
|
|
@@ -57,16 +65,20 @@ export class AccountService {
|
|
|
57
65
|
* Get the root site configuration
|
|
58
66
|
* Retrieves the root configuration including theme, disposition, and details.
|
|
59
67
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
68
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
60
69
|
* @returns RootConfigResponse Returns the root site configuration.
|
|
61
70
|
* @throws ApiError
|
|
62
71
|
*/
|
|
63
72
|
public static getRoot(
|
|
64
73
|
context?: { shopperGuid?: string; accountId?: string },
|
|
74
|
+
xDrtDomain?: string,
|
|
65
75
|
): CancelablePromise<RootConfigResponse> {
|
|
66
76
|
return __request(OpenAPI, {
|
|
67
77
|
method: 'GET',
|
|
68
78
|
url: '/root',
|
|
69
|
-
headers:
|
|
79
|
+
headers: {
|
|
80
|
+
'x-drt-domain': xDrtDomain,
|
|
81
|
+
},
|
|
70
82
|
errors: {
|
|
71
83
|
400: `Bad Request error with error details.`,
|
|
72
84
|
404: `Not found error with error details.`,
|
|
@@ -78,16 +90,20 @@ export class AccountService {
|
|
|
78
90
|
* Get the landing page configuration
|
|
79
91
|
* Retrieves the landing page configuration including theme, disposition, and album details.
|
|
80
92
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
93
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
81
94
|
* @returns LandingPageResponse Returns the landing page configuration.
|
|
82
95
|
* @throws ApiError
|
|
83
96
|
*/
|
|
84
97
|
public static getLandingPage(
|
|
85
98
|
context?: { shopperGuid?: string; accountId?: string },
|
|
99
|
+
xDrtDomain?: string,
|
|
86
100
|
): CancelablePromise<LandingPageResponse> {
|
|
87
101
|
return __request(OpenAPI, {
|
|
88
102
|
method: 'GET',
|
|
89
103
|
url: '/landing',
|
|
90
|
-
headers:
|
|
104
|
+
headers: {
|
|
105
|
+
'x-drt-domain': xDrtDomain,
|
|
106
|
+
},
|
|
91
107
|
errors: {
|
|
92
108
|
400: `Bad Request error with error details.`,
|
|
93
109
|
404: `Not found error with error details.`,
|
|
@@ -20,16 +20,20 @@ export class CartService {
|
|
|
20
20
|
* Get Cart
|
|
21
21
|
* Retrieves the cart along with its associated time.
|
|
22
22
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
23
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
23
24
|
* @returns CartWithTime Cart retrieved successfully with time.
|
|
24
25
|
* @throws ApiError
|
|
25
26
|
*/
|
|
26
27
|
public static getCart(
|
|
27
28
|
context?: { shopperGuid?: string; accountId?: string },
|
|
29
|
+
xDrtDomain?: string,
|
|
28
30
|
): CancelablePromise<CartWithTime> {
|
|
29
31
|
return __request(OpenAPI, {
|
|
30
32
|
method: 'GET',
|
|
31
33
|
url: '/cart',
|
|
32
|
-
headers:
|
|
34
|
+
headers: {
|
|
35
|
+
'x-drt-domain': xDrtDomain,
|
|
36
|
+
},
|
|
33
37
|
errors: {
|
|
34
38
|
400: `Bad Request error with error details.`,
|
|
35
39
|
404: `Not found error with error details.`,
|
|
@@ -41,16 +45,20 @@ export class CartService {
|
|
|
41
45
|
* Delete Cart
|
|
42
46
|
* Clears the entire cart (seats, products, donations) for the shopper. Respects the session lock: if the session is locked (e.g. an in-flight payment) the cart is left intact and { cleared: false, locked: true } is returned.
|
|
43
47
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
48
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
44
49
|
* @returns CartClearResult Cart clear result.
|
|
45
50
|
* @throws ApiError
|
|
46
51
|
*/
|
|
47
52
|
public static deleteCart(
|
|
48
53
|
context?: { shopperGuid?: string; accountId?: string },
|
|
54
|
+
xDrtDomain?: string,
|
|
49
55
|
): CancelablePromise<CartClearResult> {
|
|
50
56
|
return __request(OpenAPI, {
|
|
51
57
|
method: 'DELETE',
|
|
52
58
|
url: '/cart',
|
|
53
|
-
headers:
|
|
59
|
+
headers: {
|
|
60
|
+
'x-drt-domain': xDrtDomain,
|
|
61
|
+
},
|
|
54
62
|
errors: {
|
|
55
63
|
400: `Bad Request error with error details.`,
|
|
56
64
|
404: `Not found error with error details.`,
|
|
@@ -62,16 +70,20 @@ export class CartService {
|
|
|
62
70
|
* Get Cart Summary
|
|
63
71
|
* Returns a consolidated summary of the shopper's current cart, including: products in session, donations in session, held seats grouped by show, the count of available shows, and the count of available products and donation funds for the account based on the session date.
|
|
64
72
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
73
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
65
74
|
* @returns CartSummary Cart summary retrieved successfully.
|
|
66
75
|
* @throws ApiError
|
|
67
76
|
*/
|
|
68
77
|
public static getCartSummary(
|
|
69
78
|
context?: { shopperGuid?: string; accountId?: string },
|
|
79
|
+
xDrtDomain?: string,
|
|
70
80
|
): CancelablePromise<CartSummary> {
|
|
71
81
|
return __request(OpenAPI, {
|
|
72
82
|
method: 'GET',
|
|
73
83
|
url: '/cart/summary',
|
|
74
|
-
headers:
|
|
84
|
+
headers: {
|
|
85
|
+
'x-drt-domain': xDrtDomain,
|
|
86
|
+
},
|
|
75
87
|
errors: {
|
|
76
88
|
400: `Bad Request error with error details.`,
|
|
77
89
|
404: `Not found error with error details.`,
|
|
@@ -83,16 +95,20 @@ export class CartService {
|
|
|
83
95
|
* Get Cart Hash
|
|
84
96
|
* Returns the computed cart hash for the current shopper session.
|
|
85
97
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
98
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
86
99
|
* @returns CartHashResponse Cart hash retrieved successfully.
|
|
87
100
|
* @throws ApiError
|
|
88
101
|
*/
|
|
89
102
|
public static getCartHash(
|
|
90
103
|
context?: { shopperGuid?: string; accountId?: string },
|
|
104
|
+
xDrtDomain?: string,
|
|
91
105
|
): CancelablePromise<CartHashResponse> {
|
|
92
106
|
return __request(OpenAPI, {
|
|
93
107
|
method: 'GET',
|
|
94
108
|
url: '/cart/hash',
|
|
95
|
-
headers:
|
|
109
|
+
headers: {
|
|
110
|
+
'x-drt-domain': xDrtDomain,
|
|
111
|
+
},
|
|
96
112
|
errors: {
|
|
97
113
|
400: `Bad Request error with error details.`,
|
|
98
114
|
404: `Not found error with error details.`,
|
|
@@ -104,16 +120,20 @@ export class CartService {
|
|
|
104
120
|
* Get Cash Payment Detail (operator only)
|
|
105
121
|
* Returns cash payment details for the current shopper session, including order total, payments total, and house card credentials. Requires a logged-in operator session — returns 403 for a plain shopper.
|
|
106
122
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
123
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
107
124
|
* @returns CashPaymentDetail Cash payment detail retrieved successfully.
|
|
108
125
|
* @throws ApiError
|
|
109
126
|
*/
|
|
110
127
|
public static getCashPaymentDetail(
|
|
111
128
|
context?: { shopperGuid?: string; accountId?: string },
|
|
129
|
+
xDrtDomain?: string,
|
|
112
130
|
): CancelablePromise<CashPaymentDetail> {
|
|
113
131
|
return __request(OpenAPI, {
|
|
114
132
|
method: 'GET',
|
|
115
133
|
url: '/cart/cash-payment-detail',
|
|
116
|
-
headers:
|
|
134
|
+
headers: {
|
|
135
|
+
'x-drt-domain': xDrtDomain,
|
|
136
|
+
},
|
|
117
137
|
errors: {
|
|
118
138
|
400: `Bad Request error with error details.`,
|
|
119
139
|
404: `Not found error with error details.`,
|
|
@@ -125,16 +145,20 @@ export class CartService {
|
|
|
125
145
|
* Get lightweight cart counts
|
|
126
146
|
* Returns a cheap cart summary for header/badge polling: seat count, product count, and seconds remaining on the cart timer.
|
|
127
147
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
148
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
128
149
|
* @returns CartCountsLite Cart counts retrieved successfully.
|
|
129
150
|
* @throws ApiError
|
|
130
151
|
*/
|
|
131
152
|
public static getCartCounts(
|
|
132
153
|
context?: { shopperGuid?: string; accountId?: string },
|
|
154
|
+
xDrtDomain?: string,
|
|
133
155
|
): CancelablePromise<CartCountsLite> {
|
|
134
156
|
return __request(OpenAPI, {
|
|
135
157
|
method: 'GET',
|
|
136
158
|
url: '/cart/counts',
|
|
137
|
-
headers:
|
|
159
|
+
headers: {
|
|
160
|
+
'x-drt-domain': xDrtDomain,
|
|
161
|
+
},
|
|
138
162
|
errors: {
|
|
139
163
|
400: `Bad Request error with error details.`,
|
|
140
164
|
404: `Not found error with error details.`,
|
|
@@ -146,16 +170,20 @@ export class CartService {
|
|
|
146
170
|
* Get the pricing-tiers page data
|
|
147
171
|
* 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
172
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
173
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
149
174
|
* @returns CartTiersResponse Cart tier-selection data retrieved successfully.
|
|
150
175
|
* @throws ApiError
|
|
151
176
|
*/
|
|
152
177
|
public static getCartTiers(
|
|
153
178
|
context?: { shopperGuid?: string; accountId?: string },
|
|
179
|
+
xDrtDomain?: string,
|
|
154
180
|
): CancelablePromise<CartTiersResponse> {
|
|
155
181
|
return __request(OpenAPI, {
|
|
156
182
|
method: 'GET',
|
|
157
183
|
url: '/cart/tiers',
|
|
158
|
-
headers:
|
|
184
|
+
headers: {
|
|
185
|
+
'x-drt-domain': xDrtDomain,
|
|
186
|
+
},
|
|
159
187
|
errors: {
|
|
160
188
|
400: `Bad Request error with error details.`,
|
|
161
189
|
404: `Not found error with error details.`,
|
|
@@ -167,16 +195,20 @@ export class CartService {
|
|
|
167
195
|
* Get cart totals
|
|
168
196
|
* Recomputes the cart (custom logic, coupon, sales tax) and returns the current totals ledger. Call after any cart mutation.
|
|
169
197
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
198
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
170
199
|
* @returns CartTotals Cart totals retrieved successfully.
|
|
171
200
|
* @throws ApiError
|
|
172
201
|
*/
|
|
173
202
|
public static getCartTotals(
|
|
174
203
|
context?: { shopperGuid?: string; accountId?: string },
|
|
204
|
+
xDrtDomain?: string,
|
|
175
205
|
): CancelablePromise<CartTotals> {
|
|
176
206
|
return __request(OpenAPI, {
|
|
177
207
|
method: 'GET',
|
|
178
208
|
url: '/cart/totals',
|
|
179
|
-
headers:
|
|
209
|
+
headers: {
|
|
210
|
+
'x-drt-domain': xDrtDomain,
|
|
211
|
+
},
|
|
180
212
|
errors: {
|
|
181
213
|
400: `Bad Request error with error details.`,
|
|
182
214
|
404: `Not found error with error details.`,
|
|
@@ -188,16 +220,20 @@ export class CartService {
|
|
|
188
220
|
* Get cart amounts ledger
|
|
189
221
|
* Returns the full amounts ledger (item/product/donation/order/tax totals, coupon, discount, payments, and gift cards + adjustments).
|
|
190
222
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
223
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
191
224
|
* @returns CartAmounts Cart amounts retrieved successfully.
|
|
192
225
|
* @throws ApiError
|
|
193
226
|
*/
|
|
194
227
|
public static getCartAmounts(
|
|
195
228
|
context?: { shopperGuid?: string; accountId?: string },
|
|
229
|
+
xDrtDomain?: string,
|
|
196
230
|
): CancelablePromise<CartAmounts> {
|
|
197
231
|
return __request(OpenAPI, {
|
|
198
232
|
method: 'GET',
|
|
199
233
|
url: '/cart/amounts',
|
|
200
|
-
headers:
|
|
234
|
+
headers: {
|
|
235
|
+
'x-drt-domain': xDrtDomain,
|
|
236
|
+
},
|
|
201
237
|
errors: {
|
|
202
238
|
400: `Bad Request error with error details.`,
|
|
203
239
|
404: `Not found error with error details.`,
|
|
@@ -210,12 +246,14 @@ export class CartService {
|
|
|
210
246
|
* Removes only the given show's seats from the cart, leaving merchandise and donations intact, then re-runs the recompute chain. Respects the session lock like DELETE /cart.
|
|
211
247
|
* @param showId
|
|
212
248
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
249
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
213
250
|
* @returns CartClearResult Show clear result.
|
|
214
251
|
* @throws ApiError
|
|
215
252
|
*/
|
|
216
253
|
public static clearCartShow(
|
|
217
254
|
showId: number,
|
|
218
255
|
context?: { shopperGuid?: string; accountId?: string },
|
|
256
|
+
xDrtDomain?: string,
|
|
219
257
|
): CancelablePromise<CartClearResult> {
|
|
220
258
|
return __request(OpenAPI, {
|
|
221
259
|
method: 'DELETE',
|
|
@@ -223,7 +261,9 @@ export class CartService {
|
|
|
223
261
|
path: {
|
|
224
262
|
'showId': showId,
|
|
225
263
|
},
|
|
226
|
-
headers:
|
|
264
|
+
headers: {
|
|
265
|
+
'x-drt-domain': xDrtDomain,
|
|
266
|
+
},
|
|
227
267
|
errors: {
|
|
228
268
|
400: `Bad Request error with error details.`,
|
|
229
269
|
404: `Not found error with error details.`,
|