@drttix/drt-sdk 1.5.1 → 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/README.md +120 -84
- package/azure-pipelines.yml +82 -82
- package/demo/README.md +28 -28
- package/demo/default.html +35 -35
- package/demo/test.html +2306 -2306
- package/demo/with-base.html +39 -39
- 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/functions/sdkConfig.d.ts +37 -2
- package/dist/cjs/src/functions/sdkConfig.js +37 -3
- package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/portal/core/request.js +4 -0
- package/dist/cjs/src/generated/portal/index.d.ts +3 -0
- package/dist/cjs/src/generated/portal/index.js +4 -2
- package/dist/cjs/src/generated/portal/models/AddSessionSeatResponseDto.d.ts +7 -0
- 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/OrderRecalculateRequestDto.d.ts +4 -0
- 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/SessionSeatRefDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/ShowBlockedSeatResponseDto.d.ts +11 -0
- package/dist/cjs/src/generated/portal/models/ShowsList.d.ts +12 -0
- package/dist/cjs/src/generated/portal/models/SkippedSessionSeatDto.d.ts +17 -0
- package/dist/cjs/src/generated/portal/models/SkippedSessionSeatDto.js +14 -0
- package/dist/cjs/src/generated/portal/services/OrderLookupService.d.ts +3 -2
- package/dist/cjs/src/generated/portal/services/OrderLookupService.js +1 -1
- package/dist/cjs/src/generated/portal/types.d.ts +2 -0
- package/dist/cjs/src/generated/scanner/core/request.js +4 -0
- package/dist/cjs/src/generated/shopper/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/shopper/core/request.js +4 -0
- package/dist/cjs/src/generated/shopper/index.d.ts +26 -3
- package/dist/cjs/src/generated/shopper/index.js +7 -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/AssetDownloadResponse.d.ts +7 -0
- package/dist/cjs/src/generated/shopper/models/CapabilityManifestDto.d.ts +22 -0
- 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/CompleteBody.d.ts +1 -1
- package/dist/cjs/src/generated/shopper/models/CorrelatedCode.d.ts +23 -0
- package/dist/cjs/src/generated/shopper/models/CorrelatedCode.js +14 -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/EmailUpdate.d.ts +1 -1
- package/dist/cjs/src/generated/shopper/models/EventDetails.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/EventFormat.d.ts +30 -0
- package/dist/cjs/src/generated/shopper/models/EventFormat.js +2 -0
- package/dist/cjs/src/generated/shopper/models/EventListItem.d.ts +7 -14
- 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/GAResponse.d.ts +15 -3
- package/dist/cjs/src/generated/shopper/models/GaTier.d.ts +4 -1
- 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/SaveDetailsBody.d.ts +0 -1
- 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/SeatHoldObject.d.ts +2 -3
- package/dist/cjs/src/generated/shopper/models/SeatHoldReturn.d.ts +2 -3
- 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/SiteTheme.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 +22 -12
- package/dist/cjs/src/generated/shopper/services/CartService.js +52 -23
- 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 +16 -7
- 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 +181 -32
- package/dist/cjs/src/generated/shopper/services/OrderService.js +366 -63
- 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 +60 -4
- package/dist/cjs/src/generated/shopper/services/SessionService.js +111 -9
- package/dist/cjs/src/generated/shopper/types.d.ts +23 -3
- 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/functions/sdkConfig.d.ts +37 -2
- package/dist/esm/src/functions/sdkConfig.js +35 -3
- package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/portal/core/request.js +4 -0
- package/dist/esm/src/generated/portal/index.d.ts +3 -0
- package/dist/esm/src/generated/portal/index.js +1 -0
- package/dist/esm/src/generated/portal/models/AddSessionSeatResponseDto.d.ts +7 -0
- 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/OrderRecalculateRequestDto.d.ts +4 -0
- 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/SessionSeatRefDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/ShowBlockedSeatResponseDto.d.ts +11 -0
- package/dist/esm/src/generated/portal/models/ShowsList.d.ts +12 -0
- package/dist/esm/src/generated/portal/models/SkippedSessionSeatDto.d.ts +17 -0
- package/dist/esm/src/generated/portal/models/SkippedSessionSeatDto.js +11 -0
- package/dist/esm/src/generated/portal/services/OrderLookupService.d.ts +3 -2
- package/dist/esm/src/generated/portal/services/OrderLookupService.js +1 -1
- package/dist/esm/src/generated/portal/types.d.ts +2 -0
- package/dist/esm/src/generated/scanner/core/request.js +4 -0
- package/dist/esm/src/generated/shopper/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/shopper/core/request.js +4 -0
- package/dist/esm/src/generated/shopper/index.d.ts +26 -3
- package/dist/esm/src/generated/shopper/index.js +3 -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/AssetDownloadResponse.d.ts +7 -0
- package/dist/esm/src/generated/shopper/models/CapabilityManifestDto.d.ts +22 -0
- 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/CompleteBody.d.ts +1 -1
- package/dist/esm/src/generated/shopper/models/CorrelatedCode.d.ts +23 -0
- package/dist/esm/src/generated/shopper/models/CorrelatedCode.js +13 -1
- 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/EmailUpdate.d.ts +1 -1
- package/dist/esm/src/generated/shopper/models/EventDetails.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/EventFormat.d.ts +30 -0
- package/dist/esm/src/generated/shopper/models/EventFormat.js +1 -0
- package/dist/esm/src/generated/shopper/models/EventListItem.d.ts +7 -14
- 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/GAResponse.d.ts +15 -3
- package/dist/esm/src/generated/shopper/models/GaTier.d.ts +4 -1
- 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/SaveDetailsBody.d.ts +0 -1
- 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/SeatHoldObject.d.ts +2 -3
- package/dist/esm/src/generated/shopper/models/SeatHoldReturn.d.ts +2 -3
- 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/SiteTheme.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 +22 -12
- package/dist/esm/src/generated/shopper/services/CartService.js +52 -23
- 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 +16 -7
- 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 +181 -32
- package/dist/esm/src/generated/shopper/services/OrderService.js +366 -63
- 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 +60 -4
- package/dist/esm/src/generated/shopper/services/SessionService.js +111 -9
- package/dist/esm/src/generated/shopper/types.d.ts +23 -3
- package/dist/esm/src/staging/index.d.ts +1 -0
- package/drt-api-specs-staging.json +14 -14
- package/drt-api-specs.json +14 -14
- package/package.json +41 -41
- package/pnpm-workspace.yaml +2 -2
- package/public/sdk/latest/drt-sdk.js +1 -1
- package/scripts/fix-import-extensions.mjs +104 -104
- package/src/custom/custom-request.txt +425 -421
- package/src/definitions/shopper.ts +2 -0
- package/src/functions/sdkConfig.ts +222 -169
- package/src/functions/setBaseURL.ts +47 -47
- package/src/generated/portal/core/ApiError.ts +1 -1
- package/src/generated/portal/core/ApiRequestOptions.ts +1 -1
- package/src/generated/portal/core/ApiResult.ts +1 -1
- package/src/generated/portal/core/CancelablePromise.ts +1 -1
- package/src/generated/portal/core/OpenAPI.ts +2 -2
- package/src/generated/portal/core/request.ts +425 -421
- package/src/generated/portal/index.ts +3 -0
- package/src/generated/portal/models/AbandonedCartResponseDto.ts +13 -13
- package/src/generated/portal/models/AcceptAgreementRequestDto.ts +28 -28
- package/src/generated/portal/models/AccountDetailResponseDto.ts +11 -11
- package/src/generated/portal/models/AccountingTimezone.ts +11 -11
- package/src/generated/portal/models/ActionResponseDto.ts +9 -9
- package/src/generated/portal/models/AddSessionSeatRequestDto.ts +9 -9
- package/src/generated/portal/models/AddSessionSeatResponseDto.ts +12 -0
- package/src/generated/portal/models/AddVideoAssetFormatRequestDto.ts +8 -8
- package/src/generated/portal/models/AdminUserLevelResponseDto.ts +9 -9
- package/src/generated/portal/models/AdminUserResponseDto.ts +13 -13
- package/src/generated/portal/models/AdvancedPricing.ts +14 -14
- package/src/generated/portal/models/AdvancedStudioSettingsResponseDto.ts +17 -17
- package/src/generated/portal/models/AdvancedStudioWaveResponseDto.ts +12 -12
- package/src/generated/portal/models/AgreementStatusResponseDto.ts +66 -66
- package/src/generated/portal/models/AlbumImageResponseDto.ts +9 -9
- package/src/generated/portal/models/AlertActionTemplateResponseDto.ts +11 -11
- package/src/generated/portal/models/AlertDetailResponseDto.ts +17 -17
- package/src/generated/portal/models/AlertLoginDetailResponseDto.ts +13 -13
- package/src/generated/portal/models/AlertNotificationResponseDto.ts +18 -18
- package/src/generated/portal/models/AlertTemplateDetailResponseDto.ts +13 -13
- package/src/generated/portal/models/AlertTemplateResponseDto.ts +10 -10
- package/src/generated/portal/models/AnswerOrder.ts +10 -10
- package/src/generated/portal/models/ApproveOrderRequestDto.ts +9 -9
- package/src/generated/portal/models/ApproveRefundRequestDto.ts +10 -10
- package/src/generated/portal/models/ApproveShowRequestDto.ts +8 -8
- package/src/generated/portal/models/AssignSeatsRequestDto.ts +13 -13
- package/src/generated/portal/models/AssignWaitlistRequestDto.ts +11 -11
- package/src/generated/portal/models/AssignmentOrderDto.ts +39 -39
- package/src/generated/portal/models/AutoDiscounts.ts +8 -8
- package/src/generated/portal/models/AvailableSeats.ts +12 -12
- package/src/generated/portal/models/BankDetails.ts +24 -24
- package/src/generated/portal/models/BlacklistedBuyerResponseDto.ts +7 -7
- package/src/generated/portal/models/BlockChartSeatRequestDto.ts +12 -12
- package/src/generated/portal/models/BlockGeneralSeatResponseDto.ts +11 -11
- package/src/generated/portal/models/BlockGeneralSeatsRequestDto.ts +9 -9
- package/src/generated/portal/models/BlockSeatsRequestDto.ts +8 -8
- package/src/generated/portal/models/BlockedByToggleResponseDto.ts +8 -8
- package/src/generated/portal/models/BlockedSeatDetailResponseDto.ts +15 -15
- package/src/generated/portal/models/BookkeeperTransactionResponseDto.ts +28 -28
- package/src/generated/portal/models/BookmarkResponseDto.ts +12 -12
- package/src/generated/portal/models/BugReportRequestDto.ts +13 -13
- package/src/generated/portal/models/BulkCreateGiftCardRequestDto.ts +20 -20
- package/src/generated/portal/models/BulkEditCouponRequestDto.ts +21 -21
- package/src/generated/portal/models/BulkEditRequestDto.ts +18 -18
- package/src/generated/portal/models/BuyerResponseDto.ts +17 -17
- package/src/generated/portal/models/CancelExchangeTicketRequestDto.ts +9 -9
- package/src/generated/portal/models/CartCountResponseDto.ts +12 -12
- package/src/generated/portal/models/CartToggleTickerResponseDto.ts +8 -8
- package/src/generated/portal/models/ChangePasswordRequestDto.ts +10 -10
- package/src/generated/portal/models/ChartReviewRequestDto.ts +9 -9
- package/src/generated/portal/models/ChartReviewValidationResponseDto.ts +9 -9
- package/src/generated/portal/models/CheckBookmarkResponseDto.ts +10 -10
- package/src/generated/portal/models/CheckSelectedSeatResponseDto.ts +10 -10
- package/src/generated/portal/models/CheckoutAnswerOrderRequestDto.ts +12 -12
- package/src/generated/portal/models/CheckoutAnswerOrderResponseDto.ts +20 -20
- package/src/generated/portal/models/CheckoutAnswerQuestionResponseDto.ts +11 -11
- package/src/generated/portal/models/CheckoutAnswerType.ts +9 -9
- package/src/generated/portal/models/CheckoutQuestionResponseDto.ts +29 -29
- package/src/generated/portal/models/CheckoutResponseShowResponseDto.ts +12 -12
- package/src/generated/portal/models/CodeDetailResponseDto.ts +31 -31
- package/src/generated/portal/models/CodeDetailsResponseDto.ts +11 -11
- package/src/generated/portal/models/CodeShopperDetail.ts +10 -10
- package/src/generated/portal/models/CodeUsageDetail.ts +16 -16
- package/src/generated/portal/models/CodeUsageResponseDto.ts +12 -12
- package/src/generated/portal/models/CollabNotesResponseDto.ts +8 -8
- package/src/generated/portal/models/CollectionDetailsRequestDto.ts +8 -8
- package/src/generated/portal/models/CollectionDetailsResponseDto.ts +14 -14
- package/src/generated/portal/models/ContactResponseDto.ts +13 -13
- package/src/generated/portal/models/CouponCodeResponseDto.ts +14 -14
- package/src/generated/portal/models/CouponDataResponseDto.ts +17 -17
- package/src/generated/portal/models/CouponDetailResponseDto.ts +36 -36
- package/src/generated/portal/models/CouponFilterResponseDto.ts +11 -11
- package/src/generated/portal/models/CouponType.ts +10 -10
- package/src/generated/portal/models/CreateAccountRequestDto.ts +11 -11
- package/src/generated/portal/models/CreateAccountResponseDto.ts +8 -8
- package/src/generated/portal/models/CreateDocumentRequestDto.ts +13 -13
- package/src/generated/portal/models/CreateDocumentResponseDto.ts +12 -12
- package/src/generated/portal/models/CreateFeatureAlertRequestDto.ts +11 -11
- package/src/generated/portal/models/CreateImageFileRequestDto.ts +27 -27
- package/src/generated/portal/models/CreateImageFileResponseDto.ts +12 -12
- package/src/generated/portal/models/CreatePatronCodeRequestDto.ts +9 -9
- package/src/generated/portal/models/CreatePatronTagsRequestDto.ts +9 -9
- package/src/generated/portal/models/CreatePerformersRequestDto.ts +10 -10
- package/src/generated/portal/models/CreatePriorityCodeRequestDto.ts +27 -27
- package/src/generated/portal/models/CreateProductReminderRequestDto.ts +11 -11
- package/src/generated/portal/models/CreateProductResponseDto.ts +8 -8
- package/src/generated/portal/models/CreateProductVariantRequestDto.ts +9 -9
- package/src/generated/portal/models/CreateRefundRequestDto.ts +12 -12
- package/src/generated/portal/models/CreateShowRequestDto.ts +129 -129
- package/src/generated/portal/models/CreateShowResponseDto.ts +12 -12
- package/src/generated/portal/models/CreateShowTimeDto.ts +20 -20
- package/src/generated/portal/models/CreateTicketTypeDto.ts +11 -11
- package/src/generated/portal/models/CreateUpdateAdminUserRequestDto.ts +12 -12
- package/src/generated/portal/models/CreateUpdateAlbumRequestDto.ts +8 -8
- package/src/generated/portal/models/CreateUpdateAlertRequestDto.ts +14 -14
- package/src/generated/portal/models/CreateUpdateFundRequestDto.ts +24 -24
- package/src/generated/portal/models/CreateUpdateGiftCardRequestDto.ts +15 -15
- package/src/generated/portal/models/CreateUpdateGoldenTicketRequestDto.ts +12 -12
- package/src/generated/portal/models/CreateUpdatePriorityWaveRequestDto.ts +13 -13
- package/src/generated/portal/models/CreateUpdateProductRequestDto.ts +35 -35
- package/src/generated/portal/models/CreateUpdateQuestionRequestDto.ts +23 -23
- package/src/generated/portal/models/CreateUpdateWaitlistRequestDto.ts +15 -15
- package/src/generated/portal/models/CreateYoutubeVideoRequestDto.ts +11 -11
- package/src/generated/portal/models/CustomLogicResponseDto.ts +9 -9
- package/src/generated/portal/models/DashboardResponseDto.ts +11 -11
- package/src/generated/portal/models/DeleteAbandonedCartsRequestDto.ts +11 -11
- package/src/generated/portal/models/DeleteAlbumImageRequestDto.ts +8 -8
- package/src/generated/portal/models/DeleteCodesRequestDto.ts +9 -9
- package/src/generated/portal/models/DeleteCouponCodeRequestDto.ts +8 -8
- package/src/generated/portal/models/DeleteDocumentRequestDto.ts +8 -8
- package/src/generated/portal/models/DeleteImageFilesRequestDto.ts +8 -8
- package/src/generated/portal/models/DeleteMailRequestDto.ts +8 -8
- package/src/generated/portal/models/DeletePatronCodeRequestDto.ts +8 -8
- package/src/generated/portal/models/DeletePriorityCodeRequestDto.ts +8 -8
- package/src/generated/portal/models/DeleteProductVariantRequestDto.ts +9 -9
- package/src/generated/portal/models/DeployShowRequestDto.ts +21 -21
- package/src/generated/portal/models/DigitalAssetLogResponseDto.ts +10 -10
- package/src/generated/portal/models/DigitalAssetsListResponseDto.ts +16 -16
- package/src/generated/portal/models/DiscountAccessRequestDto.ts +33 -33
- package/src/generated/portal/models/DismissNotificationRequestDto.ts +8 -8
- package/src/generated/portal/models/DisputeResponseDTO.ts +22 -22
- package/src/generated/portal/models/DocumentLibraryResponseDto.ts +13 -13
- package/src/generated/portal/models/DocumentLibraryTypeResponseDto.ts +10 -10
- package/src/generated/portal/models/DocumentLibraryUserResponseDto.ts +11 -11
- package/src/generated/portal/models/DonationFundsResponseDto.ts +9 -9
- package/src/generated/portal/models/DonationReportResponseDto.ts +20 -20
- package/src/generated/portal/models/DonationRequestDto.ts +9 -9
- package/src/generated/portal/models/DonationResponseDto.ts +14 -14
- package/src/generated/portal/models/DownloadLog.ts +10 -10
- package/src/generated/portal/models/DuplicateFundRequestDto.ts +8 -8
- package/src/generated/portal/models/DuplicateProductRequestDto.ts +8 -8
- package/src/generated/portal/models/EditMailRequestDto.ts +10 -10
- package/src/generated/portal/models/EditShowRequestDto.ts +23 -23
- package/src/generated/portal/models/EmailBuyersListResponseDto.ts +11 -11
- package/src/generated/portal/models/EmailBuyersRequestDto.ts +13 -13
- package/src/generated/portal/models/EmailDetailResponseDto.ts +9 -9
- package/src/generated/portal/models/ExchangeShowDetailResponseDto.ts +30 -30
- package/src/generated/portal/models/ExchangeTierDetailResponseDto.ts +14 -14
- package/src/generated/portal/models/ExecuteReleaseSeatRequestDto.ts +16 -16
- package/src/generated/portal/models/ExecuteSeatExchangeRequestDto.ts +11 -11
- package/src/generated/portal/models/ExpireHiddenCodesRequestDto.ts +8 -8
- package/src/generated/portal/models/ExtraCartResponseDto.ts +11 -11
- package/src/generated/portal/models/FeatureNotificationResponseDto.ts +13 -13
- package/src/generated/portal/models/FilterShowsResponseDto.ts +16 -16
- package/src/generated/portal/models/ForgotPasswordRequestDto.ts +9 -9
- package/src/generated/portal/models/FundListResponseDto.ts +13 -13
- package/src/generated/portal/models/FundResponseDto.ts +34 -34
- package/src/generated/portal/models/FutureMailResponseDto.ts +13 -13
- package/src/generated/portal/models/GatewayStatus.ts +16 -16
- package/src/generated/portal/models/GenerateCodeRequestDto.ts +34 -34
- package/src/generated/portal/models/GenerateGroupCodeRequestDto.ts +15 -15
- package/src/generated/portal/models/GetCssImageResponseDto.ts +10 -10
- package/src/generated/portal/models/GetCssResponseDto.ts +8 -8
- package/src/generated/portal/models/GetOrderBySeatResponseDto.ts +10 -10
- package/src/generated/portal/models/GetOrderNotesResponseDto.ts +11 -11
- package/src/generated/portal/models/GetOrderSeatsResponseDto.ts +9 -9
- package/src/generated/portal/models/GetOrdersResponseDto.ts +14 -14
- package/src/generated/portal/models/GetReservedShowsResponseDto.ts +9 -9
- package/src/generated/portal/models/GetSettingsResponseDto.ts +14 -14
- package/src/generated/portal/models/GetShowTiersResponseDto.ts +9 -9
- package/src/generated/portal/models/GetShowsResponseDto.ts +9 -9
- package/src/generated/portal/models/GetSourceShowResponseDto.ts +17 -17
- package/src/generated/portal/models/GiftCardResponseDto.ts +19 -19
- package/src/generated/portal/models/GiftCardTransactionsResponseDto.ts +13 -13
- package/src/generated/portal/models/GoldenTicketDetailResponseDto.ts +10 -10
- package/src/generated/portal/models/GoldenTicketShowsResponseDto.ts +12 -12
- package/src/generated/portal/models/GroupCodeResponseDto.ts +17 -17
- package/src/generated/portal/models/GsShowDto.ts +11 -11
- package/src/generated/portal/models/HashLoginResponseDto.ts +20 -20
- package/src/generated/portal/models/HashTicketingLinkResponseDto.ts +15 -15
- package/src/generated/portal/models/HelpResponseDto.ts +13 -13
- package/src/generated/portal/models/HiddenCodeResponseDto.ts +8 -8
- package/src/generated/portal/models/HoldChartSeatResponseDto.ts +14 -14
- package/src/generated/portal/models/HoldSeatDetailsResponseDto.ts +7 -7
- package/src/generated/portal/models/IconShowGroupResponseDto.ts +11 -11
- package/src/generated/portal/models/ImageCategoryResponseDto.ts +16 -16
- package/src/generated/portal/models/ImportBlockedSeatRequestDto.ts +15 -15
- package/src/generated/portal/models/ImportBlockedSeatResponse.ts +9 -9
- package/src/generated/portal/models/ImportFromEventRequestDto.ts +9 -9
- package/src/generated/portal/models/ImportFromEventResponseDto.ts +20 -20
- package/src/generated/portal/models/InsertUpdateBlacklistBuyerRequestDto.ts +17 -17
- package/src/generated/portal/models/InsertUpdateTimedTriggerRequestDto.ts +15 -15
- package/src/generated/portal/models/IntegratorDetailResponseDto.ts +12 -12
- package/src/generated/portal/models/IntegratorPaymentResponseDto.ts +34 -34
- package/src/generated/portal/models/IntegratorResponseDto.ts +9 -9
- package/src/generated/portal/models/InterviewDetailDto.ts +56 -56
- package/src/generated/portal/models/InterviewDetailResponseDto.ts +12 -12
- package/src/generated/portal/models/InterviewFollowupDto.ts +10 -10
- package/src/generated/portal/models/InterviewResponseDto.ts +16 -16
- package/src/generated/portal/models/InterviewSummaryResponseDto.ts +12 -12
- package/src/generated/portal/models/InterviewUpdateResponseDto.ts +16 -16
- package/src/generated/portal/models/InterviewUpdateSubmitRequestDto.ts +56 -56
- package/src/generated/portal/models/LandingPageAlbumResponseDto.ts +12 -12
- package/src/generated/portal/models/LandingPageResponseDto.ts +28 -28
- package/src/generated/portal/models/LastEmailResponseDto.ts +11 -11
- package/src/generated/portal/models/LaunchReadinessInterviewDetailResponseDto.ts +56 -56
- package/src/generated/portal/models/LaunchReadinessTaskResponseDto.ts +28 -28
- package/src/generated/portal/models/LeadDto.ts +11 -11
- package/src/generated/portal/models/LeadNoteResponseDto.ts +12 -12
- package/src/generated/portal/models/LoginRequestDto.ts +9 -9
- package/src/generated/portal/models/MailDetailResponseDto.ts +12 -12
- package/src/generated/portal/models/MailResponseDto.ts +11 -11
- package/src/generated/portal/models/ManageImageFileResponseDto.ts +18 -18
- package/src/generated/portal/models/ManagedShowResponseDto.ts +15 -15
- package/src/generated/portal/models/MappedPortalObjectPermission.ts +13 -13
- package/src/generated/portal/models/MappedPortalObjectSimple.ts +10 -10
- package/src/generated/portal/models/MarkedUnavailableSeatResponseDto.ts +16 -16
- package/src/generated/portal/models/MessageSettingResponseDto.ts +10 -10
- package/src/generated/portal/models/MigrateTicketDetails.ts +13 -13
- package/src/generated/portal/models/MigrateTicketRequestDto.ts +10 -10
- package/src/generated/portal/models/MigrationPossibleShow.ts +15 -15
- package/src/generated/portal/models/ModifyTicketRequestDto.ts +11 -11
- package/src/generated/portal/models/NotificationDto.ts +10 -10
- package/src/generated/portal/models/NotificationResponseDto.ts +13 -13
- package/src/generated/portal/models/NotificationSettingRequestDto.ts +9 -9
- package/src/generated/portal/models/NotificationSettingsResponseDto.ts +13 -13
- package/src/generated/portal/models/OTPResponseDto.ts +9 -9
- package/src/generated/portal/models/OperationResultResponseDto.ts +9 -9
- package/src/generated/portal/models/OrderActionsResponseDto.ts +14 -14
- package/src/generated/portal/models/OrderDetail.ts +9 -9
- package/src/generated/portal/models/OrderDetails.ts +13 -13
- package/src/generated/portal/models/OrderEmailBuyersRequestDto.ts +16 -16
- package/src/generated/portal/models/OrderFiltersResponseDto.ts +10 -10
- package/src/generated/portal/models/OrderLedgerDetailsResponseDto.ts +20 -20
- package/src/generated/portal/models/OrderListRequestDto.ts +10 -10
- package/src/generated/portal/models/OrderListResponseDto.ts +25 -25
- package/src/generated/portal/models/OrderRecalculateRequestDto.ts +23 -19
- package/src/generated/portal/models/OrderSeatDetailsResponseDto.ts +15 -15
- package/src/generated/portal/models/OrderSeatDto.ts +10 -10
- package/src/generated/portal/models/OrderTicketDetailResponseDto.ts +21 -21
- package/src/generated/portal/models/OtherResponseDto.ts +14 -14
- package/src/generated/portal/models/PartialShowDetail.ts +12 -12
- package/src/generated/portal/models/PartialTicketResponseDto.ts +20 -20
- package/src/generated/portal/models/PatronAccessRequestDto.ts +26 -26
- package/src/generated/portal/models/PatronCodeSendMailRequestDto.ts +14 -14
- package/src/generated/portal/models/PatronCodesResponseDto.ts +18 -18
- package/src/generated/portal/models/PatronManifestDetailResponseDto.ts +29 -29
- package/src/generated/portal/models/PatronShowGroupResponseDto.ts +21 -21
- package/src/generated/portal/models/PatronStatsResponseDto.ts +21 -21
- package/src/generated/portal/models/PaymentGatewayResponseDto.ts +17 -17
- package/src/generated/portal/models/PerformerCreditOrderRequestDto.ts +9 -9
- package/src/generated/portal/models/Performers.ts +9 -9
- package/src/generated/portal/models/PerformersListRequestDto.ts +9 -9
- package/src/generated/portal/models/PerformersListResponseDto.ts +11 -11
- package/src/generated/portal/models/PhoneHoursDto.ts +9 -9
- package/src/generated/portal/models/PolicyDetailResponseDto.ts +23 -23
- package/src/generated/portal/models/PolicyDto.ts +9 -9
- package/src/generated/portal/models/PolicyRequestDto.ts +9 -9
- package/src/generated/portal/models/PolicyResponseDto.ts +12 -12
- package/src/generated/portal/models/PortalObjectRequestDto.ts +13 -13
- package/src/generated/portal/models/PosSettingsRequestDto.ts +13 -13
- package/src/generated/portal/models/PosSettingsResponseDto.ts +13 -13
- package/src/generated/portal/models/PriorityCode.ts +10 -10
- package/src/generated/portal/models/PriorityCodeResponseDto.ts +13 -13
- package/src/generated/portal/models/PriorityWaveDetail.ts +12 -12
- package/src/generated/portal/models/ProductDetailResponseDto.ts +35 -35
- package/src/generated/portal/models/ProductIconResponseDto.ts +11 -11
- package/src/generated/portal/models/ProductListResponseDto.ts +17 -17
- package/src/generated/portal/models/ProductRecipientResponseDto.ts +11 -11
- package/src/generated/portal/models/ProductReminderResponseDto.ts +14 -14
- package/src/generated/portal/models/ProductResponseDto.ts +14 -14
- package/src/generated/portal/models/ProductSalesRequestDto.ts +11 -11
- package/src/generated/portal/models/ProductSalesResponseDto.ts +11 -11
- package/src/generated/portal/models/ProductSendMailRequestDto.ts +18 -18
- package/src/generated/portal/models/ProductVariantResponseDto.ts +18 -18
- package/src/generated/portal/models/QuestionDetailsResponseDto.ts +16 -16
- package/src/generated/portal/models/QuestionResponseDto.ts +9 -9
- package/src/generated/portal/models/QuestionShowGroupAndProductResponse.ts +9 -9
- package/src/generated/portal/models/QuestionShowResponse.ts +15 -15
- package/src/generated/portal/models/QuestionTypeResponse.ts +10 -10
- package/src/generated/portal/models/RecalculateOrderResponseDto.ts +39 -39
- package/src/generated/portal/models/RefundDetailResponseDto.ts +35 -35
- package/src/generated/portal/models/RefundOrderDetail.ts +17 -17
- package/src/generated/portal/models/RefundPolicyResponseDto.ts +9 -9
- package/src/generated/portal/models/RefundResponseDto.ts +24 -24
- package/src/generated/portal/models/RefundSetting.ts +9 -9
- package/src/generated/portal/models/RefundSettingsResponseDto.ts +7 -7
- package/src/generated/portal/models/ReleaseSeatDetailResponseDto.ts +29 -29
- package/src/generated/portal/models/ReleasedTicketResponseDto.ts +13 -13
- package/src/generated/portal/models/RemoveReservationCodeRequestDto.ts +10 -10
- package/src/generated/portal/models/RemoveSeatsRequestDto.ts +11 -11
- package/src/generated/portal/models/RenameImageFileRequestDto.ts +8 -8
- package/src/generated/portal/models/ReorderBookmarkRequestDto.ts +11 -11
- package/src/generated/portal/models/ReorderImageRequestDto.ts +8 -8
- package/src/generated/portal/models/ReportProductSalesResponseDto.ts +31 -31
- package/src/generated/portal/models/RequestChangesShowDto.ts +15 -15
- package/src/generated/portal/models/RequestChangesShowsResponseDto.ts +9 -9
- package/src/generated/portal/models/RequestChangesSubmitRequestDto.ts +44 -44
- package/src/generated/portal/models/RequestDocumentResponseDto.ts +26 -26
- package/src/generated/portal/models/ResendMailRequestDto.ts +9 -9
- package/src/generated/portal/models/ReservationCodeResponseDto.ts +20 -20
- package/src/generated/portal/models/ReservationDetailResponseDto.ts +18 -18
- package/src/generated/portal/models/ReservedShowDto.ts +10 -10
- package/src/generated/portal/models/ResetTaxPaymentRequestDto.ts +9 -9
- package/src/generated/portal/models/RevenueByShowRequestDto.ts +10 -10
- package/src/generated/portal/models/RevenueShowCalculationsResponseDto.ts +19 -19
- package/src/generated/portal/models/SaleDetail.ts +14 -14
- package/src/generated/portal/models/SalesByTierResponseDto.ts +18 -18
- package/src/generated/portal/models/SalesProductResponseDto.ts +11 -11
- package/src/generated/portal/models/SalesTaxRegistrationOption.ts +8 -8
- package/src/generated/portal/models/SaveAdministrativeNoteRequestDto.ts +9 -9
- package/src/generated/portal/models/SaveVideoAssetChapterRequestDto.ts +21 -21
- package/src/generated/portal/models/SaveVideoAssetRequestDto.ts +15 -15
- package/src/generated/portal/models/ScannedTicketOrderResponseDto.ts +24 -24
- package/src/generated/portal/models/ScannedTicketResponseDto.ts +10 -10
- package/src/generated/portal/models/SdReadyRequestDto.ts +11 -11
- package/src/generated/portal/models/SdReadyResponseDto.ts +12 -12
- package/src/generated/portal/models/SearchAiResponseDto.ts +11 -11
- package/src/generated/portal/models/SearchCodeResponseDto.ts +9 -9
- package/src/generated/portal/models/SearchFeatureResponseDto.ts +16 -16
- package/src/generated/portal/models/SearchOrderResponseDto.ts +15 -15
- package/src/generated/portal/models/SearchResponseDto.ts +18 -18
- package/src/generated/portal/models/SeatDetails.ts +22 -22
- package/src/generated/portal/models/SeatDetailsResponseDto.ts +10 -10
- package/src/generated/portal/models/SeatResponseDto.ts +18 -17
- package/src/generated/portal/models/SectionDetail.ts +10 -10
- package/src/generated/portal/models/SectionRule.ts +12 -12
- package/src/generated/portal/models/SelectedSeatExchangeResponseDto.ts +11 -11
- package/src/generated/portal/models/SendBlockedSeatsMailRequestDto.ts +12 -12
- package/src/generated/portal/models/SendEmailRequestDto.ts +13 -13
- package/src/generated/portal/models/SendMailRequestDto.ts +10 -10
- package/src/generated/portal/models/SendReservationCodeMailRequestDto.ts +12 -12
- package/src/generated/portal/models/SendTextRequestDto.ts +12 -12
- package/src/generated/portal/models/SentMailResponseDto.ts +14 -14
- package/src/generated/portal/models/SessionSeatRefDto.ts +9 -0
- package/src/generated/portal/models/SetTiersRequestDto.ts +19 -19
- package/src/generated/portal/models/SettingsAndWavesResponseDto.ts +13 -13
- package/src/generated/portal/models/SettingsDetailsResponseDto.ts +83 -83
- package/src/generated/portal/models/ShopperDetailResponseDto.ts +19 -19
- package/src/generated/portal/models/ShopperSeatResponseDto.ts +15 -15
- package/src/generated/portal/models/ShopperSessionResponseDto.ts +14 -14
- package/src/generated/portal/models/ShopperShowGroupResponseDto.ts +9 -9
- package/src/generated/portal/models/Show.ts +13 -13
- package/src/generated/portal/models/ShowAndGroupResponseDto.ts +14 -14
- package/src/generated/portal/models/ShowBlockedSeatResponseDto.ts +37 -26
- package/src/generated/portal/models/ShowCapacityResponseDto.ts +11 -11
- package/src/generated/portal/models/ShowCashDetailsResponseDto.ts +12 -12
- package/src/generated/portal/models/ShowChartPreviewResponseDto.ts +10 -10
- package/src/generated/portal/models/ShowDeployOption.ts +12 -12
- package/src/generated/portal/models/ShowDetailDto.ts +83 -83
- package/src/generated/portal/models/ShowDetails.ts +12 -12
- package/src/generated/portal/models/ShowDetailsResponseDto.ts +19 -19
- package/src/generated/portal/models/ShowGroupResponseDto.ts +9 -9
- package/src/generated/portal/models/ShowGroups.ts +9 -9
- package/src/generated/portal/models/ShowListResponseDto.ts +15 -15
- package/src/generated/portal/models/ShowOrders.ts +11 -11
- package/src/generated/portal/models/ShowPricing.ts +17 -17
- package/src/generated/portal/models/ShowPricingDetail.ts +11 -11
- package/src/generated/portal/models/ShowReportListResponseDto.ts +20 -20
- package/src/generated/portal/models/ShowSeatDetailResponseDto.ts +11 -11
- package/src/generated/portal/models/ShowSeatPair.ts +9 -9
- package/src/generated/portal/models/ShowSeatTierPair.ts +10 -10
- package/src/generated/portal/models/ShowSectionDetail.ts +14 -14
- package/src/generated/portal/models/ShowSnapshotResponseDto.ts +24 -24
- package/src/generated/portal/models/ShowStatDetail.ts +34 -34
- package/src/generated/portal/models/ShowTicketSectionListResponseDto.ts +11 -11
- package/src/generated/portal/models/ShowTierDto.ts +9 -9
- package/src/generated/portal/models/ShowTierRequestDto.ts +8 -8
- package/src/generated/portal/models/ShowTierResponseDto.ts +30 -30
- package/src/generated/portal/models/ShowTiers.ts +32 -32
- package/src/generated/portal/models/ShowTypeResponseDto.ts +10 -10
- package/src/generated/portal/models/ShowTypes.ts +10 -10
- package/src/generated/portal/models/Shows.ts +15 -15
- package/src/generated/portal/models/ShowsList.ts +46 -34
- package/src/generated/portal/models/ShowsResponseDto.ts +19 -19
- package/src/generated/portal/models/SingleFundDetailResponseDto.ts +11 -11
- package/src/generated/portal/models/SingleOrderDetailResponseDto.ts +21 -21
- package/src/generated/portal/models/SinglePatronCodeResponseDto.ts +23 -23
- package/src/generated/portal/models/SinglePerformerRequestDto.ts +9 -9
- package/src/generated/portal/models/SkippedSessionSeatDto.ts +22 -0
- package/src/generated/portal/models/SoldTicketsResponseDto.ts +32 -32
- package/src/generated/portal/models/StartImageUploadRequestDto.ts +8 -8
- package/src/generated/portal/models/StartImageUploadResponseDto.ts +9 -9
- package/src/generated/portal/models/StartVideoAssetUploadRequestDto.ts +12 -12
- package/src/generated/portal/models/StartVideoAssetUploadResponseDto.ts +20 -20
- package/src/generated/portal/models/StopShowRequestDto.ts +11 -11
- package/src/generated/portal/models/StringValidation.ts +13 -13
- package/src/generated/portal/models/StripeResponseDto.ts +13 -13
- package/src/generated/portal/models/StripeSettingsResponseDto.ts +13 -13
- package/src/generated/portal/models/StripeUsageOption.ts +8 -8
- package/src/generated/portal/models/StudentCreditOrdersResponseDto.ts +13 -13
- package/src/generated/portal/models/StudentCreditResponseDto.ts +10 -10
- package/src/generated/portal/models/StudioFeesDetailsResponseDto.ts +19 -19
- package/src/generated/portal/models/StudioFeesLedgerRequestDto.ts +14 -14
- package/src/generated/portal/models/StudioFeesLedgerResponseDto.ts +21 -21
- package/src/generated/portal/models/StudioFeesLedgerType.ts +11 -11
- package/src/generated/portal/models/StudioFeesResponseDto.ts +11 -11
- package/src/generated/portal/models/StudioIntegratorDetailResponseDto.ts +11 -11
- package/src/generated/portal/models/SuccessResponse.ts +8 -8
- package/src/generated/portal/models/SupportTicketResponseDto.ts +31 -31
- package/src/generated/portal/models/SupportTicketStatusResponseDto.ts +9 -9
- package/src/generated/portal/models/TakeoverSessionResponseDto.ts +9 -9
- package/src/generated/portal/models/TaxAndBankDetailsResponseDto.ts +11 -11
- package/src/generated/portal/models/TaxByMonthRequestDto.ts +9 -9
- package/src/generated/portal/models/TaxByMonthResponseDto.ts +19 -19
- package/src/generated/portal/models/TaxDocuments.ts +9 -9
- package/src/generated/portal/models/TaxResponseDto.ts +14 -14
- package/src/generated/portal/models/TemplateResponseDto.ts +9 -9
- package/src/generated/portal/models/TheatreList.ts +8 -8
- package/src/generated/portal/models/ThemeBannerImageResponseDto.ts +11 -11
- package/src/generated/portal/models/ThemeCategoryResponseDto.ts +10 -10
- package/src/generated/portal/models/ThemeDesignResponseDto.ts +49 -49
- package/src/generated/portal/models/ThemeDetailResponseDto.ts +10 -10
- package/src/generated/portal/models/ThemeImageFormat.ts +8 -8
- package/src/generated/portal/models/ThemeLinkResponseDto.ts +11 -11
- package/src/generated/portal/models/ThemeResponseDto.ts +11 -11
- package/src/generated/portal/models/TicketDetail.ts +24 -24
- package/src/generated/portal/models/TicketDetails.ts +18 -18
- package/src/generated/portal/models/TicketRequestDto.ts +9 -9
- package/src/generated/portal/models/TicketResponseDto.ts +19 -19
- package/src/generated/portal/models/TicketScanningShowResponseDto.ts +20 -20
- package/src/generated/portal/models/TicketSeatDetailResponseDto.ts +27 -27
- package/src/generated/portal/models/TicketingShowResponseDto.ts +17 -17
- package/src/generated/portal/models/TierDetail.ts +14 -14
- package/src/generated/portal/models/TierRequestDto.ts +10 -10
- package/src/generated/portal/models/TieredPrice.ts +21 -21
- package/src/generated/portal/models/TimeZoneResponse.ts +9 -9
- package/src/generated/portal/models/TimedTriggerFieldResponseDto.ts +17 -17
- package/src/generated/portal/models/TimedTriggerResponseDto.ts +14 -14
- package/src/generated/portal/models/ToggleCompletionRequestDto.ts +18 -18
- package/src/generated/portal/models/ToggleModifyTierRequestDto.ts +10 -10
- package/src/generated/portal/models/ToggleModifyTierResponseDto.ts +10 -10
- package/src/generated/portal/models/ToggleTierRequestDto.ts +9 -9
- package/src/generated/portal/models/ToggleTierResponseDto.ts +12 -12
- package/src/generated/portal/models/ToggleType.ts +12 -12
- package/src/generated/portal/models/TransactionDetail.ts +14 -14
- package/src/generated/portal/models/TransferRequestDto.ts +23 -23
- package/src/generated/portal/models/TypeAndUserResponseDto.ts +11 -11
- package/src/generated/portal/models/UnApprovedOrderSeatDetailResponseDto.ts +12 -12
- package/src/generated/portal/models/UnapprovedOrderDetailResponseDto.ts +10 -10
- package/src/generated/portal/models/UnapprovedOrderResponseDto.ts +17 -17
- package/src/generated/portal/models/UnavailableSeating.ts +14 -14
- package/src/generated/portal/models/UnblockSeatsRequestDto.ts +9 -9
- package/src/generated/portal/models/UnsoldTicketsResponseDto.ts +21 -21
- package/src/generated/portal/models/UpdateAdvancedStudioSettingsRequestDto.ts +16 -16
- package/src/generated/portal/models/UpdateBankingRequestDto.ts +21 -21
- package/src/generated/portal/models/UpdateCssRequestDto.ts +8 -8
- package/src/generated/portal/models/UpdateDiscountCodeRequestDto.ts +21 -21
- package/src/generated/portal/models/UpdateEmailRequestDto.ts +8 -8
- package/src/generated/portal/models/UpdateHelpRequestDto.ts +19 -19
- package/src/generated/portal/models/UpdateImageUploadRequestDto.ts +10 -10
- package/src/generated/portal/models/UpdateLandingPageConfigSettingRequestDto.ts +23 -23
- package/src/generated/portal/models/UpdateLandingPageRequestDto.ts +13 -13
- package/src/generated/portal/models/UpdateMessageRequestDto.ts +10 -10
- package/src/generated/portal/models/UpdateNoteRequestDto.ts +8 -8
- package/src/generated/portal/models/UpdatePatronCodeRequestDto.ts +15 -15
- package/src/generated/portal/models/UpdatePatronSettingsRequestDto.ts +11 -11
- package/src/generated/portal/models/UpdatePatronTagsRequestDto.ts +10 -10
- package/src/generated/portal/models/UpdatePriorityCodeRequestDto.ts +19 -19
- package/src/generated/portal/models/UpdateProductReminderRequestDto.ts +12 -12
- package/src/generated/portal/models/UpdateProductVariantRequestDto.ts +15 -15
- package/src/generated/portal/models/UpdateSearchLogRequestDto.ts +9 -9
- package/src/generated/portal/models/UpdateSessionRequestDto.ts +16 -16
- package/src/generated/portal/models/UpdateSettingsRequestDto.ts +23 -23
- package/src/generated/portal/models/UpdateStripeUsageRequestDto.ts +9 -9
- package/src/generated/portal/models/UpdateStudioSettingsRequestDto.ts +17 -17
- package/src/generated/portal/models/UpdateTaxRegistrationRequestDto.ts +9 -9
- package/src/generated/portal/models/UpdateTaxRequestDto.ts +12 -12
- package/src/generated/portal/models/UpdateThemeDesignRequestDto.ts +33 -33
- package/src/generated/portal/models/ValidateEmailRequestDto.ts +8 -8
- package/src/generated/portal/models/ValidateEmailResponseDto.ts +9 -9
- package/src/generated/portal/models/VerifyOtpRequestDto.ts +9 -9
- package/src/generated/portal/models/VideoAssetAvailableFormatResponseDto.ts +12 -12
- package/src/generated/portal/models/VideoAssetChapterResponseDto.ts +16 -16
- package/src/generated/portal/models/VideoAssetChaptersResponseDto.ts +11 -11
- package/src/generated/portal/models/VideoAssetDirectLinkResponseDto.ts +8 -8
- package/src/generated/portal/models/VideoAssetFormatResponseDto.ts +15 -15
- package/src/generated/portal/models/VideoAssetFormatsResponseDto.ts +13 -13
- package/src/generated/portal/models/VideoAssetResponseDto.ts +22 -22
- package/src/generated/portal/models/VideoAssetSelectableShowResponseDto.ts +11 -11
- package/src/generated/portal/models/VideoAssetShowDetailResponseDto.ts +11 -11
- package/src/generated/portal/models/VideoStreamResponseDto.ts +23 -23
- package/src/generated/portal/models/VirtualStreamResponseDto.ts +19 -19
- package/src/generated/portal/models/WaitlistDetailResponseDto.ts +18 -18
- package/src/generated/portal/models/WaitlistShowFilterResponseDto.ts +11 -11
- package/src/generated/portal/models/WaitlistShowResponseDto.ts +22 -22
- package/src/generated/portal/models/WavesResponseDto.ts +9 -9
- package/src/generated/portal/models/WeeklyResponseDto.ts +15 -15
- package/src/generated/portal/models/createServiceAgreementRequestDto.ts +9 -9
- package/src/generated/portal/models/seatShowIdPair.ts +9 -9
- package/src/generated/portal/models/tierIdQuantityPair.ts +9 -9
- package/src/generated/portal/services/AccountService.ts +140 -140
- package/src/generated/portal/services/AccountingService.ts +620 -620
- package/src/generated/portal/services/AgreementsService.ts +79 -79
- package/src/generated/portal/services/AppService.ts +33 -33
- package/src/generated/portal/services/AuthService.ts +183 -183
- package/src/generated/portal/services/BookmarkService.ts +127 -127
- package/src/generated/portal/services/ClientToolsGeneratedEmailsService.ts +109 -109
- package/src/generated/portal/services/ClientToolsInterviewUpdateService.ts +57 -57
- package/src/generated/portal/services/ClientToolsParentLetterService.ts +28 -28
- package/src/generated/portal/services/ClientToolsPatronDatabaseService.ts +444 -444
- package/src/generated/portal/services/ClientToolsRequestChangesService.ts +57 -57
- package/src/generated/portal/services/ClientToolsSeatAssignmentToolService.ts +333 -333
- package/src/generated/portal/services/ClientToolsStripeOnboardingService.ts +75 -75
- package/src/generated/portal/services/ClientToolsThemeBuilderService.ts +150 -150
- package/src/generated/portal/services/ClientToolsThemesLibraryService.ts +68 -68
- package/src/generated/portal/services/ClientToolsTicketScanningService.ts +76 -76
- package/src/generated/portal/services/ClientToolsTicketingLinkService.ts +57 -57
- package/src/generated/portal/services/ClientToolsUnapprovedOrdersService.ts +81 -81
- package/src/generated/portal/services/ClientToolsWaitlistService.ts +204 -204
- package/src/generated/portal/services/DashboardService.ts +118 -118
- package/src/generated/portal/services/FeaturesBlockedSeatsService.ts +599 -599
- package/src/generated/portal/services/FeaturesCheckoutQuestionsService.ts +144 -144
- package/src/generated/portal/services/FeaturesDiscountsService.ts +342 -342
- package/src/generated/portal/services/FeaturesDonationsService.ts +249 -249
- package/src/generated/portal/services/FeaturesGiftCardsService.ts +177 -177
- package/src/generated/portal/services/FeaturesGoldenTicketsService.ts +208 -208
- package/src/generated/portal/services/FeaturesLandingPageService.ts +299 -299
- package/src/generated/portal/services/FeaturesPriorityService.ts +255 -255
- package/src/generated/portal/services/FeaturesProductsService.ts +551 -551
- package/src/generated/portal/services/HelpService.ts +57 -57
- package/src/generated/portal/services/OrderLookupService.ts +616 -615
- package/src/generated/portal/services/ReportsService.ts +528 -528
- package/src/generated/portal/services/SettingsService.ts +401 -401
- package/src/generated/portal/services/ShowsService.ts +734 -734
- package/src/generated/portal/services/SuperUserAbandonedCartsService.ts +52 -52
- package/src/generated/portal/services/SuperUserAdvancedStudioSettingsService.ts +185 -185
- package/src/generated/portal/services/SuperUserAlertsAndNotificationsService.ts +216 -216
- package/src/generated/portal/services/SuperUserBuyerBlacklistService.ts +125 -125
- package/src/generated/portal/services/SuperUserDocumentLibraryService.ts +138 -138
- package/src/generated/portal/services/SuperUserEditCssService.ts +71 -71
- package/src/generated/portal/services/SuperUserExtraService.ts +66 -66
- package/src/generated/portal/services/SuperUserImportBlockedSeatsService.ts +33 -33
- package/src/generated/portal/services/SuperUserLaunchReadinessService.ts +323 -323
- package/src/generated/portal/services/SuperUserManageImageFilesService.ts +159 -159
- package/src/generated/portal/services/SuperUserReleasedTicketsService.ts +28 -28
- package/src/generated/portal/services/SuperUserShoppersService.ts +129 -129
- package/src/generated/portal/services/SuperUserStudioManagementIntegrationService.ts +28 -28
- package/src/generated/portal/services/SuperUserSupportTicketsService.ts +46 -46
- package/src/generated/portal/services/SuperUserTimedTriggersService.ts +99 -99
- package/src/generated/portal/services/SuperUserVideoAssetsService.ts +303 -303
- package/src/generated/portal/types.ts +2 -0
- package/src/generated/scanner/core/ApiError.ts +1 -1
- package/src/generated/scanner/core/ApiRequestOptions.ts +1 -1
- package/src/generated/scanner/core/ApiResult.ts +1 -1
- package/src/generated/scanner/core/CancelablePromise.ts +1 -1
- package/src/generated/scanner/core/OpenAPI.ts +1 -1
- package/src/generated/scanner/core/request.ts +425 -421
- package/src/generated/scanner/models/DatabaseUpload.ts +10 -10
- package/src/generated/scanner/models/DatabaseUploadData.ts +10 -10
- package/src/generated/scanner/models/DisplayMessage.ts +10 -10
- package/src/generated/scanner/models/EventResponse.ts +16 -16
- package/src/generated/scanner/models/EventResponseStats.ts +11 -11
- package/src/generated/scanner/models/EventSkin.ts +23 -23
- package/src/generated/scanner/models/MobileReceiptResponse.ts +21 -21
- package/src/generated/scanner/models/OrderDetails.ts +15 -15
- package/src/generated/scanner/models/OrderProduct.ts +15 -15
- package/src/generated/scanner/models/OrderScan.ts +14 -14
- package/src/generated/scanner/models/OrderSeat.ts +19 -19
- package/src/generated/scanner/models/OrderSummary.ts +11 -11
- package/src/generated/scanner/models/Product.ts +15 -15
- package/src/generated/scanner/models/ProductQR.ts +8 -8
- package/src/generated/scanner/models/ProductScan.ts +16 -16
- package/src/generated/scanner/models/QueryDatabaseUnionResult.ts +13 -13
- package/src/generated/scanner/models/ReceiptBuyerDetails.ts +11 -11
- package/src/generated/scanner/models/ReceiptEventDetails.ts +12 -12
- package/src/generated/scanner/models/ReceiptProductDetails.ts +19 -19
- package/src/generated/scanner/models/ReceiptResponse.ts +21 -21
- package/src/generated/scanner/models/ReceiptSeatDetails.ts +15 -15
- package/src/generated/scanner/models/ResultMessage.ts +9 -9
- package/src/generated/scanner/models/RowResult.ts +8 -8
- package/src/generated/scanner/models/SeatQR.ts +8 -8
- package/src/generated/scanner/models/SeatResponse.ts +12 -12
- package/src/generated/scanner/models/SeatResult.ts +8 -8
- package/src/generated/scanner/models/SectionResult.ts +8 -8
- package/src/generated/scanner/models/TicketDatabase.ts +19 -19
- package/src/generated/scanner/models/TicketScan.ts +25 -25
- package/src/generated/scanner/models/TicketScanStats.ts +10 -10
- package/src/generated/scanner/models/TicketSeats.ts +14 -14
- package/src/generated/scanner/models/UploadDatabaseResponse.ts +10 -10
- package/src/generated/scanner/services/DatabaseService.ts +110 -110
- package/src/generated/scanner/services/OrdersService.ts +114 -114
- package/src/generated/scanner/services/ScanningService.ts +369 -369
- package/src/generated/shopper/core/ApiError.ts +1 -1
- package/src/generated/shopper/core/ApiRequestOptions.ts +1 -1
- package/src/generated/shopper/core/ApiResult.ts +1 -1
- package/src/generated/shopper/core/CancelablePromise.ts +1 -1
- package/src/generated/shopper/core/OpenAPI.ts +2 -2
- package/src/generated/shopper/core/request.ts +425 -421
- package/src/generated/shopper/index.ts +26 -3
- package/src/generated/shopper/models/Account.ts +75 -71
- package/src/generated/shopper/models/Album.ts +13 -13
- package/src/generated/shopper/models/AlbumImage.ts +13 -13
- package/src/generated/shopper/models/AlbumWithImages.ts +11 -11
- package/src/generated/shopper/models/AnswerInput.ts +11 -11
- package/src/generated/shopper/models/AssetDownloadRequest.ts +9 -0
- package/src/generated/shopper/models/AssetDownloadResponse.ts +12 -0
- package/src/generated/shopper/models/AssignNamesReturn.ts +9 -9
- package/src/generated/shopper/models/BAHold.ts +10 -10
- package/src/generated/shopper/models/BlockOfTickets.ts +18 -18
- package/src/generated/shopper/models/CapabilityManifestDto.ts +27 -0
- package/src/generated/shopper/models/Cart.ts +13 -13
- package/src/generated/shopper/models/CartAmounts.ts +43 -43
- package/src/generated/shopper/models/CartClearResult.ts +19 -19
- package/src/generated/shopper/models/CartCounts.ts +21 -21
- package/src/generated/shopper/models/CartCountsLite.ts +27 -27
- package/src/generated/shopper/models/CartHashResponse.ts +11 -11
- package/src/generated/shopper/models/CartItemCounts.ts +15 -15
- package/src/generated/shopper/models/CartSummary.ts +31 -31
- package/src/generated/shopper/models/CartTierOption.ts +33 -33
- package/src/generated/shopper/models/CartTierSeat.ts +26 -26
- package/src/generated/shopper/models/CartTiersResponse.ts +12 -12
- package/src/generated/shopper/models/CartTotals.ts +27 -27
- package/src/generated/shopper/models/CartWithTime.ts +10 -10
- package/src/generated/shopper/models/CashPaymentDetail.ts +23 -23
- package/src/generated/shopper/models/CheckoutDonation.ts +9 -9
- package/src/generated/shopper/models/CheckoutFailResponse.ts +10 -10
- package/src/generated/shopper/models/CheckoutGiftCard.ts +9 -9
- package/src/generated/shopper/models/CheckoutPageData.ts +23 -23
- package/src/generated/shopper/models/CheckoutProduct.ts +14 -14
- package/src/generated/shopper/models/CheckoutQuestion.ts +20 -20
- package/src/generated/shopper/models/CheckoutSessionData.ts +35 -35
- package/src/generated/shopper/models/CheckoutStep.ts +15 -15
- package/src/generated/shopper/models/CheckoutStepsResponse.ts +12 -12
- package/src/generated/shopper/models/CheckoutSubmitBody.ts +38 -38
- package/src/generated/shopper/models/CheckoutSuccessResponse.ts +8 -8
- package/src/generated/shopper/models/ClientRequestErrorResponse.ts +11 -0
- package/src/generated/shopper/models/CodeDto.ts +11 -11
- package/src/generated/shopper/models/CompleteBody.ts +9 -9
- package/src/generated/shopper/models/ConnectedAccountResponse.ts +27 -27
- package/src/generated/shopper/models/CorrelatedCode.ts +42 -19
- package/src/generated/shopper/models/CreateCustomerResponse.ts +9 -9
- package/src/generated/shopper/models/CreatePaymentIntentBody.ts +52 -52
- package/src/generated/shopper/models/CreatePaymentIntentResponse.ts +56 -56
- package/src/generated/shopper/models/CreatePaymentLinkBody.ts +23 -0
- package/src/generated/shopper/models/CreatePaymentLinkResponse.ts +45 -0
- package/src/generated/shopper/models/CreateSessionDto.ts +15 -15
- package/src/generated/shopper/models/DigitalAsset.ts +21 -21
- package/src/generated/shopper/models/DonateOrderRequest.ts +9 -9
- package/src/generated/shopper/models/DonationContribution.ts +10 -10
- package/src/generated/shopper/models/DonationFund.ts +32 -32
- package/src/generated/shopper/models/DonationInCart.ts +19 -19
- package/src/generated/shopper/models/DonationResult.ts +23 -23
- package/src/generated/shopper/models/DonationText.ts +9 -9
- package/src/generated/shopper/models/DonationsandContributions.ts +17 -17
- package/src/generated/shopper/models/EmailUpdate.ts +12 -12
- package/src/generated/shopper/models/EngineSeat.ts +7 -7
- package/src/generated/shopper/models/EventDetails.ts +55 -51
- package/src/generated/shopper/models/EventFormat.ts +35 -0
- package/src/generated/shopper/models/EventGroup.ts +16 -16
- package/src/generated/shopper/models/EventLegend.ts +17 -17
- package/src/generated/shopper/models/EventLegendItem.ts +14 -14
- package/src/generated/shopper/models/EventListItem.ts +77 -84
- package/src/generated/shopper/models/ExchangeAnswersBody.ts +9 -9
- package/src/generated/shopper/models/ExchangeCancelResponse.ts +12 -12
- package/src/generated/shopper/models/ExchangeCancelSeatResponse.ts +12 -12
- package/src/generated/shopper/models/ExchangeEligibleSeat.ts +26 -26
- package/src/generated/shopper/models/ExchangeEligibleSeatsResponse.ts +9 -9
- package/src/generated/shopper/models/ExchangeRequest.ts +20 -20
- package/src/generated/shopper/models/ExchangeShow.ts +17 -17
- package/src/generated/shopper/models/ExchangeShowsResponse.ts +13 -13
- package/src/generated/shopper/models/ExchangeStartRequest.ts +11 -11
- package/src/generated/shopper/models/ExchangeStartResponse.ts +16 -16
- package/src/generated/shopper/models/ExchangeUpchargeRequest.ts +20 -20
- package/src/generated/shopper/models/ExchangeUpchargeResponse.ts +27 -27
- package/src/generated/shopper/models/ExchangeValidateRequest.ts +16 -16
- package/src/generated/shopper/models/ExchangeValidateResponse.ts +24 -20
- package/src/generated/shopper/models/ExistingRefundDetails.ts +9 -9
- package/src/generated/shopper/models/ExtendTimerDto.ts +11 -11
- package/src/generated/shopper/models/ExtendTimerResponseDto.ts +15 -15
- package/src/generated/shopper/models/FullEventDetails.ts +21 -17
- package/src/generated/shopper/models/GAHold.ts +11 -11
- package/src/generated/shopper/models/GAResponse.ts +36 -24
- package/src/generated/shopper/models/GASeatRelease.ts +10 -10
- package/src/generated/shopper/models/GaSelection.ts +29 -29
- package/src/generated/shopper/models/GaTier.ts +35 -32
- package/src/generated/shopper/models/GetEventsResponse.ts +11 -11
- package/src/generated/shopper/models/GiftCardApplyDto.ts +23 -23
- package/src/generated/shopper/models/GiftCardApplyResponse.ts +35 -35
- package/src/generated/shopper/models/GiftCardCheckoutInfo.ts +35 -35
- package/src/generated/shopper/models/GiftCardEditFormResponse.ts +15 -15
- package/src/generated/shopper/models/GiftCardLookupResponse.ts +23 -23
- package/src/generated/shopper/models/GiftCardRemoveResponse.ts +19 -19
- package/src/generated/shopper/models/GuidReturn.ts +8 -8
- package/src/generated/shopper/models/HasAccessResponse.ts +8 -8
- package/src/generated/shopper/models/LandingConfig.ts +27 -27
- package/src/generated/shopper/models/LandingPageResponse.ts +27 -27
- package/src/generated/shopper/models/LandingProduct.ts +16 -16
- package/src/generated/shopper/models/LandingShow.ts +21 -21
- package/src/generated/shopper/models/LandingVenue.ts +15 -15
- package/src/generated/shopper/models/LinkWithSuccess.ts +9 -9
- package/src/generated/shopper/models/ManifestSeat.ts +19 -0
- package/src/generated/shopper/models/NameUpdate.ts +9 -9
- package/src/generated/shopper/models/NextStepResponse.ts +12 -12
- package/src/generated/shopper/models/OrderBalance.ts +31 -31
- package/src/generated/shopper/models/OrderDetails.ts +42 -42
- package/src/generated/shopper/models/OrderLookupBody.ts +19 -0
- package/src/generated/shopper/models/OrderLookupResult.ts +19 -0
- package/src/generated/shopper/models/OrderPaymentStatus.ts +19 -19
- package/src/generated/shopper/models/OrderRecalc.ts +11 -11
- package/src/generated/shopper/models/OrderRefundDetails.ts +11 -10
- package/src/generated/shopper/models/OrderSeat.ts +30 -30
- package/src/generated/shopper/models/OrderStream.ts +16 -16
- package/src/generated/shopper/models/OrderTicketReceipt.ts +30 -30
- package/src/generated/shopper/models/PatronName.ts +10 -10
- package/src/generated/shopper/models/PaymentDetail.ts +40 -40
- package/src/generated/shopper/models/PaymentLinkSession.ts +23 -0
- package/src/generated/shopper/models/PaymentLinkStatus.ts +37 -0
- package/src/generated/shopper/models/PaymentSuccess.ts +23 -23
- package/src/generated/shopper/models/PerformerEventList.ts +9 -9
- package/src/generated/shopper/models/PickupReturn.ts +11 -11
- package/src/generated/shopper/models/PosDefaultInfoResponse.ts +12 -12
- package/src/generated/shopper/models/PriorityCode.ts +10 -10
- package/src/generated/shopper/models/Product.ts +36 -36
- package/src/generated/shopper/models/ProductAddResponse.ts +16 -16
- package/src/generated/shopper/models/ProductBody.ts +12 -12
- package/src/generated/shopper/models/ProductData.ts +11 -11
- package/src/generated/shopper/models/ProductDeleteBody.ts +11 -11
- package/src/generated/shopper/models/ProductDetails.ts +16 -16
- package/src/generated/shopper/models/ProductInCart.ts +17 -17
- package/src/generated/shopper/models/ProductUpdateResponse.ts +10 -10
- package/src/generated/shopper/models/ProductVariant.ts +18 -18
- package/src/generated/shopper/models/RecalcResponse.ts +10 -10
- package/src/generated/shopper/models/RecalcReturn.ts +35 -35
- package/src/generated/shopper/models/Receipt.ts +40 -38
- package/src/generated/shopper/models/ReceiptMessages.ts +8 -8
- package/src/generated/shopper/models/ReceiptQuestions.ts +12 -12
- package/src/generated/shopper/models/Refund.ts +12 -12
- package/src/generated/shopper/models/RefundExchangeOffer.ts +43 -0
- package/src/generated/shopper/models/RefundPaymentIntentBody.ts +27 -27
- package/src/generated/shopper/models/RefundPaymentIntentResponse.ts +25 -25
- package/src/generated/shopper/models/RefundPolicy.ts +8 -8
- package/src/generated/shopper/models/RefundReason.ts +13 -12
- package/src/generated/shopper/models/RefundRequest.ts +13 -13
- package/src/generated/shopper/models/RefundRequestInfo.ts +17 -15
- package/src/generated/shopper/models/RegisterStreamRequest.ts +9 -9
- package/src/generated/shopper/models/RegisterStreamResponse.ts +14 -10
- package/src/generated/shopper/models/ResetStreamInviteRequest.ts +13 -0
- package/src/generated/shopper/models/RootConfigResponse.ts +22 -22
- package/src/generated/shopper/models/SaveDetailsBody.ts +25 -26
- package/src/generated/shopper/models/SaveNonceBody.ts +15 -15
- package/src/generated/shopper/models/SaveStreamInvitesRequest.ts +15 -0
- package/src/generated/shopper/models/SaveStreamInvitesResponse.ts +12 -0
- package/src/generated/shopper/models/SeatData.ts +9 -9
- package/src/generated/shopper/models/SeatHoldObject.ts +14 -15
- package/src/generated/shopper/models/SeatHoldReturn.ts +15 -16
- package/src/generated/shopper/models/SeatIdInput.ts +9 -9
- package/src/generated/shopper/models/SeatInCart.ts +34 -34
- package/src/generated/shopper/models/SeatManifest.ts +25 -0
- package/src/generated/shopper/models/SeatingTier.ts +27 -27
- package/src/generated/shopper/models/SeatsByShow.ts +23 -23
- package/src/generated/shopper/models/Section.ts +20 -20
- package/src/generated/shopper/models/SectionRule.ts +15 -15
- package/src/generated/shopper/models/SessionHeartbeatDto.ts +9 -9
- package/src/generated/shopper/models/SessionInfoDto.ts +31 -31
- package/src/generated/shopper/models/SetLanguageDto.ts +11 -11
- package/src/generated/shopper/models/SharedStream.ts +42 -0
- package/src/generated/shopper/models/ShowExtras.ts +35 -31
- package/src/generated/shopper/models/SiteDisposition.ts +10 -10
- package/src/generated/shopper/models/SiteTheme.ts +48 -44
- package/src/generated/shopper/models/StartSupportSessionDto.ts +15 -0
- package/src/generated/shopper/models/StreamAuthorization.ts +19 -0
- package/src/generated/shopper/models/StreamDetails.ts +30 -30
- package/src/generated/shopper/models/StreamDownloadLink.ts +9 -9
- 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/StudioOrderSettings.ts +14 -14
- package/src/generated/shopper/models/StudioSettings.ts +12 -12
- package/src/generated/shopper/models/SuccessResponse.ts +8 -8
- package/src/generated/shopper/models/SuccessWithTime.ts +15 -15
- package/src/generated/shopper/models/SummaryBody.ts +8 -8
- package/src/generated/shopper/models/SupportSessionStateDto.ts +19 -0
- package/src/generated/shopper/models/TheatreAddresses.ts +15 -15
- package/src/generated/shopper/models/Ticket.ts +9 -9
- package/src/generated/shopper/models/TicketBlock.ts +18 -18
- package/src/generated/shopper/models/TicketInstructions.ts +8 -8
- package/src/generated/shopper/models/UniversalCodeResponse.ts +27 -27
- package/src/generated/shopper/models/UpdateTierData.ts +10 -10
- package/src/generated/shopper/models/UpdateTierFail.ts +10 -10
- package/src/generated/shopper/models/WaitlistResponse.ts +9 -9
- package/src/generated/shopper/models/WaitlistUpdate.ts +14 -14
- package/src/generated/shopper/services/AccountService.ts +109 -93
- package/src/generated/shopper/services/CartService.ts +263 -223
- package/src/generated/shopper/services/CheckoutService.ts +223 -191
- package/src/generated/shopper/services/CodeService.ts +211 -157
- package/src/generated/shopper/services/DonationService.ts +96 -86
- package/src/generated/shopper/services/EventService.ts +183 -159
- package/src/generated/shopper/services/GiftCardService.ts +146 -126
- package/src/generated/shopper/services/HealthService.ts +21 -21
- package/src/generated/shopper/services/OrderService.ts +1197 -816
- package/src/generated/shopper/services/PaymentLinkService.ts +93 -0
- package/src/generated/shopper/services/PaymentService.ts +92 -80
- package/src/generated/shopper/services/ProductService.ts +92 -80
- package/src/generated/shopper/services/SeatService.ts +285 -222
- package/src/generated/shopper/services/SessionService.ts +247 -124
- package/src/generated/shopper/services/StripeService.ts +84 -84
- package/src/generated/shopper/types.ts +23 -3
- package/src/scripts/build-all.ts +380 -380
- package/src/scripts/check-version-not-published.ts +28 -28
- package/src/scripts/generate-definition.ts +124 -124
- package/src/staging/index.ts +39 -39
- package/src/staging/wrapService.ts +51 -51
- package/staging.ts +2 -2
- package/test.ts +31 -31
- package/tsconfig.cjs.json +11 -11
- package/tsconfig.esm.json +11 -11
- package/tsconfig.json +16 -16
- package/dist/bundle/drt-sdk.js +0 -1
- package/dist/cjs/src/generated/portal/models/AvaliableSeats.d.ts +0 -7
- package/dist/cjs/src/generated/portal/models/BlockedSeatDetail.d.ts +0 -9
- package/dist/cjs/src/generated/portal/models/SalesByTierReponseDto.d.ts +0 -12
- package/dist/cjs/src/generated/portal/models/StudentCreditBuyerResponseDto.d.ts +0 -12
- package/dist/cjs/src/generated/shopper/models/Chart.d.ts +0 -8
- package/dist/esm/src/generated/portal/models/AvaliableSeats.d.ts +0 -7
- package/dist/esm/src/generated/portal/models/BlockedSeatDetail.d.ts +0 -9
- package/dist/esm/src/generated/portal/models/SalesByTierReponseDto.d.ts +0 -12
- package/dist/esm/src/generated/portal/models/StudentCreditBuyerResponseDto.d.ts +0 -12
- package/dist/esm/src/generated/shopper/models/Chart.d.ts +0 -8
- package/src/generated/shopper/models/CartStateEnvelope.ts +0 -31
- package/src/generated/shopper/models/PaymentFail.ts +0 -23
- /package/dist/cjs/src/generated/portal/models/{AvaliableSeats.js → AddSessionSeatResponseDto.js} +0 -0
- /package/dist/cjs/src/generated/portal/models/{BlockedSeatDetail.js → SessionSeatRefDto.js} +0 -0
- /package/dist/cjs/src/generated/portal/models/{UnAvailableSeating.d.ts → UnavailableSeating.d.ts} +0 -0
- /package/dist/cjs/src/generated/portal/models/{SalesByTierReponseDto.js → UnavailableSeating.js} +0 -0
- /package/dist/cjs/src/generated/{portal/models/StudentCreditBuyerResponseDto.js → shopper/models/AssetDownloadRequest.js} +0 -0
- /package/dist/cjs/src/generated/{portal/models/UnAvailableSeating.js → shopper/models/AssetDownloadResponse.js} +0 -0
- /package/dist/cjs/src/generated/shopper/models/{Chart.js → CapabilityManifestDto.js} +0 -0
- /package/dist/esm/src/generated/portal/models/{AvaliableSeats.js → AddSessionSeatResponseDto.js} +0 -0
- /package/dist/esm/src/generated/portal/models/{BlockedSeatDetail.js → SessionSeatRefDto.js} +0 -0
- /package/dist/esm/src/generated/portal/models/{UnAvailableSeating.d.ts → UnavailableSeating.d.ts} +0 -0
- /package/dist/esm/src/generated/portal/models/{SalesByTierReponseDto.js → UnavailableSeating.js} +0 -0
- /package/dist/esm/src/generated/{portal/models/StudentCreditBuyerResponseDto.js → shopper/models/AssetDownloadRequest.js} +0 -0
- /package/dist/esm/src/generated/{portal/models/UnAvailableSeating.js → shopper/models/AssetDownloadResponse.js} +0 -0
- /package/dist/esm/src/generated/shopper/models/{Chart.js → CapabilityManifestDto.js} +0 -0
|
@@ -1,829 +1,1210 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
import type {
|
|
6
|
-
import type {
|
|
7
|
-
import type {
|
|
8
|
-
import type {
|
|
9
|
-
import type {
|
|
10
|
-
import type {
|
|
11
|
-
import type {
|
|
12
|
-
import type {
|
|
13
|
-
import type {
|
|
14
|
-
import type {
|
|
15
|
-
import type {
|
|
16
|
-
import type {
|
|
17
|
-
import type {
|
|
18
|
-
import type {
|
|
19
|
-
import type {
|
|
20
|
-
import type {
|
|
21
|
-
import type {
|
|
22
|
-
import type {
|
|
23
|
-
import type {
|
|
24
|
-
import type {
|
|
25
|
-
import type {
|
|
26
|
-
import type {
|
|
27
|
-
import type {
|
|
28
|
-
import type {
|
|
29
|
-
import type {
|
|
30
|
-
import type {
|
|
31
|
-
import type {
|
|
32
|
-
import type {
|
|
33
|
-
import type {
|
|
34
|
-
import type {
|
|
35
|
-
import type {
|
|
36
|
-
import type {
|
|
37
|
-
import type {
|
|
38
|
-
import {
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { AssetDownloadRequest } from '../models/AssetDownloadRequest';
|
|
6
|
+
import type { AssetDownloadResponse } from '../models/AssetDownloadResponse';
|
|
7
|
+
import type { AssignNamesReturn } from '../models/AssignNamesReturn';
|
|
8
|
+
import type { DonateOrderRequest } from '../models/DonateOrderRequest';
|
|
9
|
+
import type { EmailUpdate } from '../models/EmailUpdate';
|
|
10
|
+
import type { ExchangeAnswersBody } from '../models/ExchangeAnswersBody';
|
|
11
|
+
import type { ExchangeCancelResponse } from '../models/ExchangeCancelResponse';
|
|
12
|
+
import type { ExchangeCancelSeatResponse } from '../models/ExchangeCancelSeatResponse';
|
|
13
|
+
import type { ExchangeEligibleSeatsResponse } from '../models/ExchangeEligibleSeatsResponse';
|
|
14
|
+
import type { ExchangeRequest } from '../models/ExchangeRequest';
|
|
15
|
+
import type { ExchangeShowsResponse } from '../models/ExchangeShowsResponse';
|
|
16
|
+
import type { ExchangeStartRequest } from '../models/ExchangeStartRequest';
|
|
17
|
+
import type { ExchangeStartResponse } from '../models/ExchangeStartResponse';
|
|
18
|
+
import type { ExchangeUpchargeRequest } from '../models/ExchangeUpchargeRequest';
|
|
19
|
+
import type { ExchangeUpchargeResponse } from '../models/ExchangeUpchargeResponse';
|
|
20
|
+
import type { ExchangeValidateRequest } from '../models/ExchangeValidateRequest';
|
|
21
|
+
import type { ExchangeValidateResponse } from '../models/ExchangeValidateResponse';
|
|
22
|
+
import type { GuidReturn } from '../models/GuidReturn';
|
|
23
|
+
import type { LinkWithSuccess } from '../models/LinkWithSuccess';
|
|
24
|
+
import type { NameUpdate } from '../models/NameUpdate';
|
|
25
|
+
import type { OrderBalance } from '../models/OrderBalance';
|
|
26
|
+
import type { OrderLookupBody } from '../models/OrderLookupBody';
|
|
27
|
+
import type { OrderLookupResult } from '../models/OrderLookupResult';
|
|
28
|
+
import type { OrderPaymentStatus } from '../models/OrderPaymentStatus';
|
|
29
|
+
import type { OrderRecalc } from '../models/OrderRecalc';
|
|
30
|
+
import type { PickupReturn } from '../models/PickupReturn';
|
|
31
|
+
import type { RecalcResponse } from '../models/RecalcResponse';
|
|
32
|
+
import type { Receipt } from '../models/Receipt';
|
|
33
|
+
import type { RefundRequest } from '../models/RefundRequest';
|
|
34
|
+
import type { RefundRequestInfo } from '../models/RefundRequestInfo';
|
|
35
|
+
import type { RegisterStreamRequest } from '../models/RegisterStreamRequest';
|
|
36
|
+
import type { RegisterStreamResponse } from '../models/RegisterStreamResponse';
|
|
37
|
+
import type { ResetStreamInviteRequest } from '../models/ResetStreamInviteRequest';
|
|
38
|
+
import type { SaveStreamInvitesRequest } from '../models/SaveStreamInvitesRequest';
|
|
39
|
+
import type { SaveStreamInvitesResponse } from '../models/SaveStreamInvitesResponse';
|
|
40
|
+
import type { SeatInCart } from '../models/SeatInCart';
|
|
41
|
+
import type { SharedStream } from '../models/SharedStream';
|
|
42
|
+
import type { StreamAuthorization } from '../models/StreamAuthorization';
|
|
43
|
+
import type { StreamDetails } from '../models/StreamDetails';
|
|
44
|
+
import type { StreamDownloadLink } from '../models/StreamDownloadLink';
|
|
45
|
+
import type { StreamInvitesResponse } from '../models/StreamInvitesResponse';
|
|
46
|
+
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
47
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
48
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
39
49
|
import { request as __request } from '../core/request';
|
|
40
|
-
import { resolveShopperHeaders } from '../../../functions/sdkConfig';
|
|
41
|
-
export class OrderService {
|
|
42
|
-
/**
|
|
43
|
-
* Get order receipt by guid
|
|
44
|
-
* Fetches the receipt for an order using its unique guid.
|
|
45
|
-
* @param guid Unique identifier for an order.
|
|
46
|
-
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
47
|
-
* @
|
|
48
|
-
* @
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
},
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
*
|
|
226
|
-
*
|
|
227
|
-
* @
|
|
228
|
-
* @
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
50
|
+
import { resolveShopperHeaders } from '../../../functions/sdkConfig';
|
|
51
|
+
export class OrderService {
|
|
52
|
+
/**
|
|
53
|
+
* Get order receipt by guid
|
|
54
|
+
* Fetches the receipt for an order using its unique guid.
|
|
55
|
+
* @param guid Unique identifier for an order.
|
|
56
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
57
|
+
* @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).
|
|
58
|
+
* @returns Receipt Returns the order receipt.
|
|
59
|
+
* @throws ApiError
|
|
60
|
+
*/
|
|
61
|
+
public static getReceipt(
|
|
62
|
+
guid: string,
|
|
63
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
64
|
+
xDrtDomain?: string,
|
|
65
|
+
): CancelablePromise<Receipt> {
|
|
66
|
+
return __request(OpenAPI, {
|
|
67
|
+
method: 'GET',
|
|
68
|
+
url: '/order/receipt',
|
|
69
|
+
headers: {
|
|
70
|
+
'x-drt-domain': xDrtDomain,
|
|
71
|
+
},
|
|
72
|
+
query: {
|
|
73
|
+
'guid': guid,
|
|
74
|
+
},
|
|
75
|
+
errors: {
|
|
76
|
+
400: `Bad Request error with error details.`,
|
|
77
|
+
404: `Not found error with error details.`,
|
|
78
|
+
500: `Internal Server Error, please contact developers.`,
|
|
79
|
+
},
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Stamp the session source order
|
|
84
|
+
* Records the given order as the current session's source order (session.src_order_id) for attribution (ORD-1, legacy order-set-src).
|
|
85
|
+
* @param guid Unique identifier for an order.
|
|
86
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
87
|
+
* @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).
|
|
88
|
+
* @returns SuccessResponse Returns success after stamping the source order.
|
|
89
|
+
* @throws ApiError
|
|
90
|
+
*/
|
|
91
|
+
public static setOrderSrc(
|
|
92
|
+
guid: string,
|
|
93
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
94
|
+
xDrtDomain?: string,
|
|
95
|
+
): CancelablePromise<SuccessResponse> {
|
|
96
|
+
return __request(OpenAPI, {
|
|
97
|
+
method: 'POST',
|
|
98
|
+
url: '/order/set-src',
|
|
99
|
+
headers: {
|
|
100
|
+
'x-drt-domain': xDrtDomain,
|
|
101
|
+
},
|
|
102
|
+
query: {
|
|
103
|
+
'guid': guid,
|
|
104
|
+
},
|
|
105
|
+
errors: {
|
|
106
|
+
400: `Bad Request error with error details.`,
|
|
107
|
+
404: `Not found error with error details.`,
|
|
108
|
+
500: `Internal Server Error, please contact developers.`,
|
|
109
|
+
},
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Get the balance owed on an order
|
|
114
|
+
* Returns the balance owed on an existing order and whether the account offers an additional payment (enable_adjustment_payment). Read-only — the charge itself is collected by the Stripe Payment Element on the frontend and recorded downstream (PAY-1).
|
|
115
|
+
* @param guid Unique identifier for an order.
|
|
116
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
117
|
+
* @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).
|
|
118
|
+
* @returns OrderBalance Returns the order balance and adjustment-payment gating.
|
|
119
|
+
* @throws ApiError
|
|
120
|
+
*/
|
|
121
|
+
public static getOrderBalance(
|
|
122
|
+
guid: string,
|
|
123
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
124
|
+
xDrtDomain?: string,
|
|
125
|
+
): CancelablePromise<OrderBalance> {
|
|
126
|
+
return __request(OpenAPI, {
|
|
127
|
+
method: 'GET',
|
|
128
|
+
url: '/order/balance',
|
|
129
|
+
headers: {
|
|
130
|
+
'x-drt-domain': xDrtDomain,
|
|
131
|
+
},
|
|
132
|
+
query: {
|
|
133
|
+
'guid': guid,
|
|
134
|
+
},
|
|
135
|
+
errors: {
|
|
136
|
+
400: `Bad Request error with error details.`,
|
|
137
|
+
404: `Not found error with error details.`,
|
|
138
|
+
500: `Internal Server Error, please contact developers.`,
|
|
139
|
+
},
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Poll the payment status of an order
|
|
144
|
+
* Returns whether an order is fully paid (for the pay-by-link page to poll). The Stripe link/intent is created on the frontend via the existing /payment* flow; this endpoint only reports completion (PAY-2).
|
|
145
|
+
* @param guid Unique identifier for an order.
|
|
146
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
147
|
+
* @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).
|
|
148
|
+
* @returns OrderPaymentStatus Returns the order payment status.
|
|
149
|
+
* @throws ApiError
|
|
150
|
+
*/
|
|
151
|
+
public static getOrderPaymentStatus(
|
|
152
|
+
guid: string,
|
|
153
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
154
|
+
xDrtDomain?: string,
|
|
155
|
+
): CancelablePromise<OrderPaymentStatus> {
|
|
156
|
+
return __request(OpenAPI, {
|
|
157
|
+
method: 'GET',
|
|
158
|
+
url: '/order/payment-status',
|
|
159
|
+
headers: {
|
|
160
|
+
'x-drt-domain': xDrtDomain,
|
|
161
|
+
},
|
|
162
|
+
query: {
|
|
163
|
+
'guid': guid,
|
|
164
|
+
},
|
|
165
|
+
errors: {
|
|
166
|
+
400: `Bad Request error with error details.`,
|
|
167
|
+
404: `Not found error with error details.`,
|
|
168
|
+
500: `Internal Server Error, please contact developers.`,
|
|
169
|
+
},
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Find an existing order
|
|
174
|
+
* The Box Office Help Desk lookup: at least TWO of phone, order number and last-four-of-card, scoped to the calling studio. Fewer than two factors is refused — any one of them alone is guessable. Returns order numbers with their receipt guids, newest first.
|
|
175
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
176
|
+
* @param requestBody
|
|
177
|
+
* @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).
|
|
178
|
+
* @returns OrderLookupResult Matching orders, newest first. An empty list is a valid answer.
|
|
179
|
+
* @throws ApiError
|
|
180
|
+
*/
|
|
181
|
+
public static lookupOrders(
|
|
182
|
+
requestBody: OrderLookupBody,
|
|
183
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
184
|
+
xDrtDomain?: string,
|
|
185
|
+
): CancelablePromise<Array<OrderLookupResult>> {
|
|
186
|
+
return __request(OpenAPI, {
|
|
187
|
+
method: 'POST',
|
|
188
|
+
url: '/order/lookup',
|
|
189
|
+
headers: {
|
|
190
|
+
'x-drt-domain': xDrtDomain,
|
|
191
|
+
},
|
|
192
|
+
body: requestBody,
|
|
193
|
+
mediaType: 'application/json',
|
|
194
|
+
errors: {
|
|
195
|
+
400: `Fewer than two identification factors.`,
|
|
196
|
+
404: `Not found error with error details.`,
|
|
197
|
+
500: `Internal Server Error, please contact developers.`,
|
|
198
|
+
},
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Get Gwallet link by guid
|
|
203
|
+
* Fetches the Gwallet link for an order using its unique guid.
|
|
204
|
+
* @param guid Unique identifier for an order.
|
|
205
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
206
|
+
* @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).
|
|
207
|
+
* @returns LinkWithSuccess Returns the Gwallet link.
|
|
208
|
+
* @throws ApiError
|
|
209
|
+
*/
|
|
210
|
+
public static getGwalletLink(
|
|
211
|
+
guid: string,
|
|
212
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
213
|
+
xDrtDomain?: string,
|
|
214
|
+
): CancelablePromise<LinkWithSuccess> {
|
|
215
|
+
return __request(OpenAPI, {
|
|
216
|
+
method: 'GET',
|
|
217
|
+
url: '/order/gwallet',
|
|
218
|
+
headers: {
|
|
219
|
+
'x-drt-domain': xDrtDomain,
|
|
220
|
+
},
|
|
221
|
+
query: {
|
|
222
|
+
'guid': guid,
|
|
223
|
+
},
|
|
224
|
+
errors: {
|
|
225
|
+
400: `Bad Request error with error details.`,
|
|
226
|
+
404: `Not found error with error details.`,
|
|
227
|
+
500: `Internal Server Error, please contact developers.`,
|
|
228
|
+
},
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Get Gwallet link by block-of-tickets guid
|
|
233
|
+
* Fetches the Google Wallet link for a block of tickets using the block guid — the ticket-pickup page, where the recipient holds the block guid and never sees the order.
|
|
234
|
+
* @param guid Unique identifier for an order.
|
|
235
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
236
|
+
* @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).
|
|
237
|
+
* @returns LinkWithSuccess Returns the Gwallet link.
|
|
238
|
+
* @throws ApiError
|
|
239
|
+
*/
|
|
240
|
+
public static getGwalletBlockLink(
|
|
241
|
+
guid: string,
|
|
242
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
243
|
+
xDrtDomain?: string,
|
|
244
|
+
): CancelablePromise<LinkWithSuccess> {
|
|
245
|
+
return __request(OpenAPI, {
|
|
246
|
+
method: 'GET',
|
|
247
|
+
url: '/order/gwallet-block',
|
|
248
|
+
headers: {
|
|
249
|
+
'x-drt-domain': xDrtDomain,
|
|
250
|
+
},
|
|
251
|
+
query: {
|
|
252
|
+
'guid': guid,
|
|
253
|
+
},
|
|
254
|
+
errors: {
|
|
255
|
+
400: `Bad Request error with error details.`,
|
|
256
|
+
404: `Not found error with error details.`,
|
|
257
|
+
500: `Internal Server Error, please contact developers.`,
|
|
258
|
+
},
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Get testing guid (operator only)
|
|
263
|
+
* Fetches a random order guid for development purposes. Requires a logged-in operator session — returns 403 for a plain shopper.
|
|
264
|
+
* @param guid Unique identifier for an order.
|
|
265
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
266
|
+
* @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).
|
|
267
|
+
* @returns GuidReturn Returns a testing guid.
|
|
268
|
+
* @throws ApiError
|
|
269
|
+
*/
|
|
270
|
+
public static getTestingGuid(
|
|
271
|
+
guid: string,
|
|
272
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
273
|
+
xDrtDomain?: string,
|
|
274
|
+
): CancelablePromise<GuidReturn> {
|
|
275
|
+
return __request(OpenAPI, {
|
|
276
|
+
method: 'GET',
|
|
277
|
+
url: '/order/testing',
|
|
278
|
+
headers: {
|
|
279
|
+
'x-drt-domain': xDrtDomain,
|
|
280
|
+
},
|
|
281
|
+
query: {
|
|
282
|
+
'guid': guid,
|
|
283
|
+
},
|
|
284
|
+
errors: {
|
|
285
|
+
400: `Bad Request error with error details.`,
|
|
286
|
+
404: `Not found error with error details.`,
|
|
287
|
+
500: `Internal Server Error, please contact developers.`,
|
|
288
|
+
},
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Get assign names by guid
|
|
293
|
+
* Fetches the assign names information for an order using its unique guid.
|
|
294
|
+
* @param guid Unique identifier for an order.
|
|
295
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
296
|
+
* @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).
|
|
297
|
+
* @returns AssignNamesReturn Returns the assign names information.
|
|
298
|
+
* @throws ApiError
|
|
299
|
+
*/
|
|
300
|
+
public static getAssignNames(
|
|
301
|
+
guid: string,
|
|
302
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
303
|
+
xDrtDomain?: string,
|
|
304
|
+
): CancelablePromise<AssignNamesReturn> {
|
|
305
|
+
return __request(OpenAPI, {
|
|
306
|
+
method: 'GET',
|
|
307
|
+
url: '/order/assign-names',
|
|
308
|
+
headers: {
|
|
309
|
+
'x-drt-domain': xDrtDomain,
|
|
310
|
+
},
|
|
311
|
+
query: {
|
|
312
|
+
'guid': guid,
|
|
313
|
+
},
|
|
314
|
+
errors: {
|
|
315
|
+
400: `Bad Request error with error details.`,
|
|
316
|
+
404: `Not found error with error details.`,
|
|
317
|
+
500: `Internal Server Error, please contact developers.`,
|
|
318
|
+
},
|
|
319
|
+
});
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Post assign names
|
|
323
|
+
* Assigns names to an order using its unique guid and the provided names.
|
|
324
|
+
* @param guid Unique identifier for an order.
|
|
325
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
326
|
+
* @param requestBody Names to be assigned to the order.
|
|
327
|
+
* @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).
|
|
328
|
+
* @returns SuccessResponse Returns success status after assigning names.
|
|
329
|
+
* @throws ApiError
|
|
330
|
+
*/
|
|
331
|
+
public static postAssignNames(
|
|
332
|
+
guid: string,
|
|
235
333
|
requestBody: NameUpdate,
|
|
236
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
'
|
|
244
|
-
},
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
*
|
|
259
|
-
*
|
|
260
|
-
* @
|
|
261
|
-
* @
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
334
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
335
|
+
xDrtDomain?: string,
|
|
336
|
+
): CancelablePromise<SuccessResponse> {
|
|
337
|
+
return __request(OpenAPI, {
|
|
338
|
+
method: 'POST',
|
|
339
|
+
url: '/order/assign-names',
|
|
340
|
+
headers: {
|
|
341
|
+
'x-drt-domain': xDrtDomain,
|
|
342
|
+
},
|
|
343
|
+
query: {
|
|
344
|
+
'guid': guid,
|
|
345
|
+
},
|
|
346
|
+
body: requestBody,
|
|
347
|
+
mediaType: 'application/json',
|
|
348
|
+
errors: {
|
|
349
|
+
400: `Bad Request error with error details.`,
|
|
350
|
+
404: `Not found error with error details.`,
|
|
351
|
+
500: `Internal Server Error, please contact developers.`,
|
|
352
|
+
},
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* Post email tickets
|
|
357
|
+
* Sends email tickets for an order using its unique guid and the provided email update.
|
|
358
|
+
* @param guid Unique identifier for an order.
|
|
359
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
360
|
+
* @param requestBody Email update containing the email address to send tickets.
|
|
361
|
+
* @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).
|
|
362
|
+
* @returns SuccessResponse Returns success status after sending email tickets.
|
|
363
|
+
* @throws ApiError
|
|
364
|
+
*/
|
|
365
|
+
public static postEmailTickets(
|
|
366
|
+
guid: string,
|
|
265
367
|
requestBody: EmailUpdate,
|
|
266
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
'
|
|
274
|
-
},
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
*
|
|
289
|
-
*
|
|
290
|
-
* @
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
368
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
369
|
+
xDrtDomain?: string,
|
|
370
|
+
): CancelablePromise<SuccessResponse> {
|
|
371
|
+
return __request(OpenAPI, {
|
|
372
|
+
method: 'POST',
|
|
373
|
+
url: '/order/email-tickets',
|
|
374
|
+
headers: {
|
|
375
|
+
'x-drt-domain': xDrtDomain,
|
|
376
|
+
},
|
|
377
|
+
query: {
|
|
378
|
+
'guid': guid,
|
|
379
|
+
},
|
|
380
|
+
body: requestBody,
|
|
381
|
+
mediaType: 'application/json',
|
|
382
|
+
errors: {
|
|
383
|
+
400: `Bad Request error with error details.`,
|
|
384
|
+
404: `Not found error with error details.`,
|
|
385
|
+
500: `Internal Server Error, please contact developers.`,
|
|
386
|
+
},
|
|
387
|
+
});
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* Get ticket block by guid
|
|
391
|
+
* Fetches the ticket block for an order using its unique guid.
|
|
392
|
+
* @param guid Unique identifier for an order.
|
|
393
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
394
|
+
* @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).
|
|
395
|
+
* @returns PickupReturn Returns the ticket block for the order.
|
|
396
|
+
* @throws ApiError
|
|
397
|
+
*/
|
|
398
|
+
public static getTicketBlock(
|
|
399
|
+
guid: string,
|
|
400
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
401
|
+
xDrtDomain?: string,
|
|
402
|
+
): CancelablePromise<PickupReturn> {
|
|
403
|
+
return __request(OpenAPI, {
|
|
404
|
+
method: 'GET',
|
|
405
|
+
url: '/order/pickup',
|
|
406
|
+
headers: {
|
|
407
|
+
'x-drt-domain': xDrtDomain,
|
|
408
|
+
},
|
|
409
|
+
query: {
|
|
410
|
+
'guid': guid,
|
|
411
|
+
},
|
|
412
|
+
errors: {
|
|
413
|
+
400: `Bad Request error with error details.`,
|
|
414
|
+
404: `Not found error with error details.`,
|
|
415
|
+
500: `Internal Server Error, please contact developers.`,
|
|
416
|
+
},
|
|
417
|
+
});
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* Post ticket block by guid
|
|
421
|
+
* Sends the ticket block for an order using its unique guid.
|
|
422
|
+
* @param guid Unique identifier for an order.
|
|
423
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
424
|
+
* @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).
|
|
425
|
+
* @returns SuccessResponse Returns the ticket block for the order.
|
|
426
|
+
* @throws ApiError
|
|
427
|
+
*/
|
|
428
|
+
public static postPickup(
|
|
429
|
+
guid: string,
|
|
430
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
431
|
+
xDrtDomain?: string,
|
|
432
|
+
): CancelablePromise<SuccessResponse> {
|
|
433
|
+
return __request(OpenAPI, {
|
|
434
|
+
method: 'POST',
|
|
435
|
+
url: '/order/pickup',
|
|
436
|
+
headers: {
|
|
437
|
+
'x-drt-domain': xDrtDomain,
|
|
438
|
+
},
|
|
439
|
+
query: {
|
|
440
|
+
'guid': guid,
|
|
441
|
+
},
|
|
442
|
+
errors: {
|
|
443
|
+
400: `Bad Request error with error details.`,
|
|
444
|
+
404: `Not found error with error details.`,
|
|
445
|
+
500: `Internal Server Error, please contact developers.`,
|
|
446
|
+
},
|
|
447
|
+
});
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
* Send order receipt via email
|
|
451
|
+
* Sends the order receipt to the shopper's email address for the specified order guid.
|
|
452
|
+
* @param guid Unique identifier for an order.
|
|
453
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
454
|
+
* @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).
|
|
455
|
+
* @returns SuccessResponse Returns success status after emailing the receipt.
|
|
456
|
+
* @throws ApiError
|
|
457
|
+
*/
|
|
458
|
+
public static postEmailReceipt(
|
|
459
|
+
guid: string,
|
|
460
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
461
|
+
xDrtDomain?: string,
|
|
462
|
+
): CancelablePromise<SuccessResponse> {
|
|
463
|
+
return __request(OpenAPI, {
|
|
464
|
+
method: 'POST',
|
|
465
|
+
url: '/order/email-receipt',
|
|
466
|
+
headers: {
|
|
467
|
+
'x-drt-domain': xDrtDomain,
|
|
468
|
+
},
|
|
469
|
+
query: {
|
|
470
|
+
'guid': guid,
|
|
471
|
+
},
|
|
472
|
+
errors: {
|
|
473
|
+
400: `Bad Request error with error details.`,
|
|
474
|
+
404: `Not found error with error details.`,
|
|
475
|
+
500: `Internal Server Error, please contact developers.`,
|
|
476
|
+
},
|
|
477
|
+
});
|
|
478
|
+
}
|
|
479
|
+
/**
|
|
480
|
+
* Get refund request information
|
|
481
|
+
* Fetches the refund request information for an order using its unique guid.
|
|
482
|
+
* @param guid Unique identifier for an order.
|
|
483
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
484
|
+
* @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).
|
|
485
|
+
* @returns RefundRequestInfo Returns the refund request information for the order.
|
|
486
|
+
* @throws ApiError
|
|
487
|
+
*/
|
|
488
|
+
public static getRefundRequest(
|
|
489
|
+
guid: string,
|
|
490
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
491
|
+
xDrtDomain?: string,
|
|
492
|
+
): CancelablePromise<RefundRequestInfo> {
|
|
493
|
+
return __request(OpenAPI, {
|
|
494
|
+
method: 'GET',
|
|
495
|
+
url: '/order/refund-request',
|
|
496
|
+
headers: {
|
|
497
|
+
'x-drt-domain': xDrtDomain,
|
|
498
|
+
},
|
|
499
|
+
query: {
|
|
500
|
+
'guid': guid,
|
|
501
|
+
},
|
|
502
|
+
errors: {
|
|
503
|
+
400: `Bad Request error with error details.`,
|
|
504
|
+
404: `Not found error with error details.`,
|
|
505
|
+
500: `Internal Server Error, please contact developers.`,
|
|
506
|
+
},
|
|
507
|
+
});
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* Submit a refund request
|
|
511
|
+
* Submits a refund request for an order using its unique guid and the provided refund details.
|
|
512
|
+
* @param guid Unique identifier for an order.
|
|
513
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
514
|
+
* @param requestBody Refund request details.
|
|
515
|
+
* @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).
|
|
516
|
+
* @returns SuccessResponse Returns success status after submitting the refund request.
|
|
517
|
+
* @throws ApiError
|
|
518
|
+
*/
|
|
519
|
+
public static postRefundRequest(
|
|
520
|
+
guid: string,
|
|
399
521
|
requestBody: RefundRequest,
|
|
400
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
'
|
|
408
|
-
},
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
*
|
|
423
|
-
*
|
|
424
|
-
* @
|
|
425
|
-
* @
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
522
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
523
|
+
xDrtDomain?: string,
|
|
524
|
+
): CancelablePromise<SuccessResponse> {
|
|
525
|
+
return __request(OpenAPI, {
|
|
526
|
+
method: 'POST',
|
|
527
|
+
url: '/order/refund-request',
|
|
528
|
+
headers: {
|
|
529
|
+
'x-drt-domain': xDrtDomain,
|
|
530
|
+
},
|
|
531
|
+
query: {
|
|
532
|
+
'guid': guid,
|
|
533
|
+
},
|
|
534
|
+
body: requestBody,
|
|
535
|
+
mediaType: 'application/json',
|
|
536
|
+
errors: {
|
|
537
|
+
400: `Bad Request error with error details.`,
|
|
538
|
+
404: `Not found error with error details.`,
|
|
539
|
+
500: `Internal Server Error, please contact developers.`,
|
|
540
|
+
},
|
|
541
|
+
});
|
|
542
|
+
}
|
|
543
|
+
/**
|
|
544
|
+
* Recalculate order totals
|
|
545
|
+
* Recalculates the totals for an order using the provided recalculation data.
|
|
546
|
+
* @param guid Unique identifier for an order.
|
|
547
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
548
|
+
* @param requestBody Order recalculation data.
|
|
549
|
+
* @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).
|
|
550
|
+
* @returns RecalcResponse Returns the recalculated order totals and success status.
|
|
551
|
+
* @throws ApiError
|
|
552
|
+
*/
|
|
553
|
+
public static postRecalcOrder(
|
|
554
|
+
guid: string,
|
|
429
555
|
requestBody: OrderRecalc,
|
|
430
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
'
|
|
438
|
-
},
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
*
|
|
453
|
-
*
|
|
454
|
-
* @
|
|
455
|
-
|
|
456
|
-
|
|
556
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
557
|
+
xDrtDomain?: string,
|
|
558
|
+
): CancelablePromise<RecalcResponse> {
|
|
559
|
+
return __request(OpenAPI, {
|
|
560
|
+
method: 'POST',
|
|
561
|
+
url: '/order/recalc',
|
|
562
|
+
headers: {
|
|
563
|
+
'x-drt-domain': xDrtDomain,
|
|
564
|
+
},
|
|
565
|
+
query: {
|
|
566
|
+
'guid': guid,
|
|
567
|
+
},
|
|
568
|
+
body: requestBody,
|
|
569
|
+
mediaType: 'application/json',
|
|
570
|
+
errors: {
|
|
571
|
+
400: `Bad Request error with error details.`,
|
|
572
|
+
404: `Not found error with error details.`,
|
|
573
|
+
500: `Internal Server Error, please contact developers.`,
|
|
574
|
+
},
|
|
575
|
+
});
|
|
576
|
+
}
|
|
577
|
+
/**
|
|
578
|
+
* Donate order in lieu of refund
|
|
579
|
+
* Marks an order as donated in lieu of refund using the provided order guid and donated IP address.
|
|
580
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
581
|
+
* @param requestBody Donate order payload containing guid and donatedIpAddress.
|
|
582
|
+
* @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).
|
|
583
|
+
* @returns SuccessResponse Returns success status after donating the order.
|
|
584
|
+
* @throws ApiError
|
|
585
|
+
*/
|
|
586
|
+
public static postDonateOrder(
|
|
457
587
|
requestBody: DonateOrderRequest,
|
|
458
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
*
|
|
478
|
-
*
|
|
479
|
-
* @
|
|
480
|
-
* @
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
588
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
589
|
+
xDrtDomain?: string,
|
|
590
|
+
): CancelablePromise<SuccessResponse> {
|
|
591
|
+
return __request(OpenAPI, {
|
|
592
|
+
method: 'POST',
|
|
593
|
+
url: '/order/donate-order',
|
|
594
|
+
headers: {
|
|
595
|
+
'x-drt-domain': xDrtDomain,
|
|
596
|
+
},
|
|
597
|
+
body: requestBody,
|
|
598
|
+
mediaType: 'application/json',
|
|
599
|
+
errors: {
|
|
600
|
+
400: `Bad Request error with error details.`,
|
|
601
|
+
404: `Not found error with error details.`,
|
|
602
|
+
500: `Internal Server Error, please contact developers.`,
|
|
603
|
+
},
|
|
604
|
+
});
|
|
605
|
+
}
|
|
606
|
+
/**
|
|
607
|
+
* Get virtual-stream details/embed for an order
|
|
608
|
+
* Returns the stream provider/code/embed/links and whether it's available right now (date-gated by the session effective date). The stream must belong to the order (VS-1).
|
|
609
|
+
* @param orderGuid
|
|
610
|
+
* @param streamGuid
|
|
611
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
612
|
+
* @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).
|
|
613
|
+
* @returns StreamDetails Returns the stream details.
|
|
614
|
+
* @throws ApiError
|
|
615
|
+
*/
|
|
616
|
+
public static getStreamDetails(
|
|
617
|
+
orderGuid: string,
|
|
618
|
+
streamGuid: string,
|
|
619
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
620
|
+
xDrtDomain?: string,
|
|
621
|
+
): CancelablePromise<StreamDetails> {
|
|
622
|
+
return __request(OpenAPI, {
|
|
623
|
+
method: 'GET',
|
|
624
|
+
url: '/order/stream',
|
|
625
|
+
headers: {
|
|
626
|
+
'x-drt-domain': xDrtDomain,
|
|
627
|
+
},
|
|
628
|
+
query: {
|
|
629
|
+
'orderGuid': orderGuid,
|
|
630
|
+
'streamGuid': streamGuid,
|
|
631
|
+
},
|
|
632
|
+
errors: {
|
|
633
|
+
400: `Bad Request error with error details.`,
|
|
634
|
+
404: `Not found error with error details.`,
|
|
635
|
+
500: `Internal Server Error, please contact developers.`,
|
|
636
|
+
},
|
|
637
|
+
});
|
|
638
|
+
}
|
|
639
|
+
/**
|
|
640
|
+
* Is this device still authorised to watch? (VS-2)
|
|
641
|
+
* The watch heartbeat, polled while a stream plays (legacy tv/rpc/check-auth.cfm, every 10s from the receipt and every 30s from /tv). Authorised means an assoc row exists for this registration guid, scoped to the stream (and to the order when one is supplied), matching either the caller's IP or their access guid — so every revoke path in the system (the studio reset, a per-row invite reset, Stop Watching, deleting the row) closes playback within one poll. A row matched on the ACCESS GUID from a new address re-binds the stored IP, which is what lets a phone move from wifi to cellular and keep playing. `expired` is judged against the session effective date and falls back to the show end when date_unavailable is NULL. Staff sessions always pass.
|
|
642
|
+
* @param registrationGuid
|
|
643
|
+
* @param streamGuid
|
|
644
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
645
|
+
* @param accessGuid
|
|
646
|
+
* @param orderGuid
|
|
647
|
+
* @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).
|
|
648
|
+
* @returns StreamAuthorization Returns the authorisation decision.
|
|
649
|
+
* @throws ApiError
|
|
650
|
+
*/
|
|
651
|
+
public static getStreamAuthorization(
|
|
652
|
+
registrationGuid: string,
|
|
653
|
+
streamGuid: string,
|
|
654
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
655
|
+
accessGuid?: string,
|
|
656
|
+
orderGuid?: string,
|
|
657
|
+
xDrtDomain?: string,
|
|
658
|
+
): CancelablePromise<StreamAuthorization> {
|
|
659
|
+
return __request(OpenAPI, {
|
|
660
|
+
method: 'GET',
|
|
661
|
+
url: '/order/stream/authorized',
|
|
662
|
+
headers: {
|
|
663
|
+
'x-drt-domain': xDrtDomain,
|
|
664
|
+
},
|
|
665
|
+
query: {
|
|
666
|
+
'registrationGuid': registrationGuid,
|
|
667
|
+
'streamGuid': streamGuid,
|
|
668
|
+
'accessGuid': accessGuid,
|
|
669
|
+
'orderGuid': orderGuid,
|
|
670
|
+
},
|
|
671
|
+
errors: {
|
|
672
|
+
400: `Bad Request error with error details.`,
|
|
673
|
+
404: `Not found error with error details.`,
|
|
674
|
+
500: `Internal Server Error, please contact developers.`,
|
|
675
|
+
},
|
|
676
|
+
});
|
|
677
|
+
}
|
|
678
|
+
/**
|
|
679
|
+
* Resolve a shared /tv/{code} watch link (VS-2)
|
|
680
|
+
* Takes the qecom_order_virtual_stream_assoc guid that dbo.sendVideoLink mails to each invited viewer and answers the playback payload for it (legacy tv/index.cfm). On first view the row is bound to the caller's IP and an access guid is minted. A caller from a different IP with no matching access guid is refused; one holding the token re-binds the row instead. Staff skip both. Availability is judged against the session effective date, not the wall clock legacy used, and falls back to the show start/end. It deliberately does NOT return the order guid: that is a bearer token for the whole receipt and a watch link is forwarded by design.
|
|
681
|
+
* @param code
|
|
682
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
683
|
+
* @param accessGuid
|
|
684
|
+
* @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).
|
|
685
|
+
* @returns SharedStream Returns the shared stream.
|
|
686
|
+
* @throws ApiError
|
|
687
|
+
*/
|
|
688
|
+
public static getSharedStream(
|
|
689
|
+
code: string,
|
|
690
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
691
|
+
accessGuid?: string,
|
|
692
|
+
xDrtDomain?: string,
|
|
693
|
+
): CancelablePromise<SharedStream> {
|
|
694
|
+
return __request(OpenAPI, {
|
|
695
|
+
method: 'GET',
|
|
696
|
+
url: '/order/stream/shared',
|
|
697
|
+
headers: {
|
|
698
|
+
'x-drt-domain': xDrtDomain,
|
|
699
|
+
},
|
|
700
|
+
query: {
|
|
701
|
+
'code': code,
|
|
702
|
+
'accessGuid': accessGuid,
|
|
703
|
+
},
|
|
704
|
+
errors: {
|
|
705
|
+
400: `Bad Request error with error details.`,
|
|
706
|
+
404: `Not found error with error details.`,
|
|
707
|
+
500: `Internal Server Error, please contact developers.`,
|
|
708
|
+
},
|
|
709
|
+
});
|
|
710
|
+
}
|
|
711
|
+
/**
|
|
712
|
+
* The stream invite list for an order (VS-3)
|
|
713
|
+
* One row per ticket purchased for the stream's show on this order — which is the only concurrency cap the product has (legacy virtual-stream-email-form.cfm). No assoc guid is returned: the guid is the watch credential, and the buyer's tool is "send the email", not "hand me the token".
|
|
714
|
+
* @param orderGuid
|
|
715
|
+
* @param streamGuid
|
|
716
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
717
|
+
* @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).
|
|
718
|
+
* @returns StreamInvitesResponse Returns the invite rows.
|
|
719
|
+
* @throws ApiError
|
|
720
|
+
*/
|
|
721
|
+
public static getStreamInvites(
|
|
722
|
+
orderGuid: string,
|
|
723
|
+
streamGuid: string,
|
|
724
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
725
|
+
xDrtDomain?: string,
|
|
726
|
+
): CancelablePromise<StreamInvitesResponse> {
|
|
727
|
+
return __request(OpenAPI, {
|
|
728
|
+
method: 'GET',
|
|
729
|
+
url: '/order/stream/invites',
|
|
730
|
+
headers: {
|
|
731
|
+
'x-drt-domain': xDrtDomain,
|
|
732
|
+
},
|
|
733
|
+
query: {
|
|
734
|
+
'orderGuid': orderGuid,
|
|
735
|
+
'streamGuid': streamGuid,
|
|
736
|
+
},
|
|
737
|
+
errors: {
|
|
738
|
+
400: `Bad Request error with error details.`,
|
|
739
|
+
404: `Not found error with error details.`,
|
|
740
|
+
500: `Internal Server Error, please contact developers.`,
|
|
741
|
+
},
|
|
742
|
+
});
|
|
743
|
+
}
|
|
744
|
+
/**
|
|
745
|
+
* Save the stream invite rows and send the links (VS-3)
|
|
746
|
+
* Row 1 is the buyer and is required. An emptied or changed address deletes its row, which revokes that link — the intended behaviour, not a side effect. A new or changed address gets a fresh guid and dbo.sendVideoLink mails it; `resend` re-mails unchanged rows too (legacy virtual-stream-email-send.cfm).
|
|
747
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
748
|
+
* @param requestBody Invite rows.
|
|
749
|
+
* @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).
|
|
750
|
+
* @returns SaveStreamInvitesResponse Returns how many invite emails were sent.
|
|
751
|
+
* @throws ApiError
|
|
752
|
+
*/
|
|
753
|
+
public static saveStreamInvites(
|
|
754
|
+
requestBody: SaveStreamInvitesRequest,
|
|
755
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
756
|
+
xDrtDomain?: string,
|
|
757
|
+
): CancelablePromise<SaveStreamInvitesResponse> {
|
|
758
|
+
return __request(OpenAPI, {
|
|
759
|
+
method: 'POST',
|
|
760
|
+
url: '/order/stream/invites',
|
|
761
|
+
headers: {
|
|
762
|
+
'x-drt-domain': xDrtDomain,
|
|
763
|
+
},
|
|
764
|
+
body: requestBody,
|
|
765
|
+
mediaType: 'application/json',
|
|
766
|
+
errors: {
|
|
767
|
+
400: `Bad Request error with error details.`,
|
|
768
|
+
404: `Not found error with error details.`,
|
|
769
|
+
500: `Internal Server Error, please contact developers.`,
|
|
770
|
+
},
|
|
771
|
+
});
|
|
772
|
+
}
|
|
773
|
+
/**
|
|
774
|
+
* Clear one invite row's registration (VS-3)
|
|
775
|
+
* Nulls ip_address + access_guid for ONE invite row, so that viewer can start again on a new network. Deliberately per-row: the legacy checkbox promised "clear that email's IP registration" but its SQL had no guid filter and reset every viewer on the stream, the purchaser included.
|
|
776
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
777
|
+
* @param requestBody Which invite row to reset.
|
|
778
|
+
* @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).
|
|
779
|
+
* @returns SuccessResponse Returns success.
|
|
780
|
+
* @throws ApiError
|
|
781
|
+
*/
|
|
782
|
+
public static resetStreamInvite(
|
|
783
|
+
requestBody: ResetStreamInviteRequest,
|
|
784
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
785
|
+
xDrtDomain?: string,
|
|
786
|
+
): CancelablePromise<SuccessResponse> {
|
|
787
|
+
return __request(OpenAPI, {
|
|
788
|
+
method: 'POST',
|
|
789
|
+
url: '/order/stream/invites/reset',
|
|
790
|
+
headers: {
|
|
791
|
+
'x-drt-domain': xDrtDomain,
|
|
792
|
+
},
|
|
793
|
+
body: requestBody,
|
|
794
|
+
mediaType: 'application/json',
|
|
795
|
+
errors: {
|
|
796
|
+
400: `Bad Request error with error details.`,
|
|
797
|
+
404: `Not found error with error details.`,
|
|
798
|
+
500: `Internal Server Error, please contact developers.`,
|
|
799
|
+
},
|
|
800
|
+
});
|
|
801
|
+
}
|
|
802
|
+
/**
|
|
803
|
+
* Record a digital-asset download (VS-4)
|
|
804
|
+
* Proves the asset ↔ order ↔ seat linkage, writes digital_asset_download_log (asset, order, IP) and returns the href from the same statement (legacy r/digital-asset-download.cfm). The IP is the server's own req.ip — a browser-supplied one would make the audit trail AdminPortal shows studios forgeable.
|
|
805
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
806
|
+
* @param requestBody The order and asset to log.
|
|
807
|
+
* @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).
|
|
808
|
+
* @returns AssetDownloadResponse Returns the asset href.
|
|
809
|
+
* @throws ApiError
|
|
810
|
+
*/
|
|
811
|
+
public static logAssetDownload(
|
|
812
|
+
requestBody: AssetDownloadRequest,
|
|
813
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
814
|
+
xDrtDomain?: string,
|
|
815
|
+
): CancelablePromise<AssetDownloadResponse> {
|
|
816
|
+
return __request(OpenAPI, {
|
|
817
|
+
method: 'POST',
|
|
818
|
+
url: '/order/asset-download',
|
|
819
|
+
headers: {
|
|
820
|
+
'x-drt-domain': xDrtDomain,
|
|
821
|
+
},
|
|
822
|
+
body: requestBody,
|
|
823
|
+
mediaType: 'application/json',
|
|
824
|
+
errors: {
|
|
825
|
+
400: `Bad Request error with error details.`,
|
|
826
|
+
404: `Not found error with error details.`,
|
|
827
|
+
500: `Internal Server Error, please contact developers.`,
|
|
828
|
+
},
|
|
829
|
+
});
|
|
830
|
+
}
|
|
831
|
+
/**
|
|
832
|
+
* Get the digital-download link for a stream
|
|
833
|
+
* Returns the best-quality digital-download cloud URL for a stream on the order (VS-1, legacy digital-download-get-link).
|
|
834
|
+
* @param orderGuid
|
|
835
|
+
* @param streamGuid
|
|
836
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
837
|
+
* @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).
|
|
838
|
+
* @returns StreamDownloadLink Returns the download link.
|
|
839
|
+
* @throws ApiError
|
|
840
|
+
*/
|
|
841
|
+
public static getStreamDownloadLink(
|
|
842
|
+
orderGuid: string,
|
|
843
|
+
streamGuid: string,
|
|
844
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
845
|
+
xDrtDomain?: string,
|
|
846
|
+
): CancelablePromise<StreamDownloadLink> {
|
|
847
|
+
return __request(OpenAPI, {
|
|
848
|
+
method: 'GET',
|
|
849
|
+
url: '/order/stream/download',
|
|
850
|
+
headers: {
|
|
851
|
+
'x-drt-domain': xDrtDomain,
|
|
852
|
+
},
|
|
853
|
+
query: {
|
|
854
|
+
'orderGuid': orderGuid,
|
|
855
|
+
'streamGuid': streamGuid,
|
|
856
|
+
},
|
|
857
|
+
errors: {
|
|
858
|
+
400: `Bad Request error with error details.`,
|
|
859
|
+
404: `Not found error with error details.`,
|
|
860
|
+
500: `Internal Server Error, please contact developers.`,
|
|
861
|
+
},
|
|
862
|
+
});
|
|
863
|
+
}
|
|
864
|
+
/**
|
|
865
|
+
* Register a stream for a shopper
|
|
866
|
+
* Registers a stream for the specified shopper and account using the provided stream registration details.
|
|
867
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
868
|
+
* @param requestBody Stream registration details.
|
|
869
|
+
* @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).
|
|
870
|
+
* @returns RegisterStreamResponse Returns the stream registration response.
|
|
871
|
+
* @throws ApiError
|
|
872
|
+
*/
|
|
873
|
+
public static postRegisterStream(
|
|
540
874
|
requestBody: RegisterStreamRequest,
|
|
541
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
*
|
|
561
|
-
*
|
|
562
|
-
* @
|
|
563
|
-
|
|
564
|
-
|
|
875
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
876
|
+
xDrtDomain?: string,
|
|
877
|
+
): CancelablePromise<RegisterStreamResponse> {
|
|
878
|
+
return __request(OpenAPI, {
|
|
879
|
+
method: 'POST',
|
|
880
|
+
url: '/order/stream-register',
|
|
881
|
+
headers: {
|
|
882
|
+
'x-drt-domain': xDrtDomain,
|
|
883
|
+
},
|
|
884
|
+
body: requestBody,
|
|
885
|
+
mediaType: 'application/json',
|
|
886
|
+
errors: {
|
|
887
|
+
400: `Bad Request error with error details.`,
|
|
888
|
+
404: `Not found error with error details.`,
|
|
889
|
+
500: `Internal Server Error, please contact developers.`,
|
|
890
|
+
},
|
|
891
|
+
});
|
|
892
|
+
}
|
|
893
|
+
/**
|
|
894
|
+
* Deregister a stream for a shopper
|
|
895
|
+
* Removes the stream registration for the specified shopper and account using the provided stream registration details.
|
|
896
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
897
|
+
* @param requestBody Stream registration details to be deregistered.
|
|
898
|
+
* @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).
|
|
899
|
+
* @returns SuccessResponse Returns success status after deregistering the stream.
|
|
900
|
+
* @throws ApiError
|
|
901
|
+
*/
|
|
902
|
+
public static deleteRegisteredStream(
|
|
565
903
|
requestBody: RegisterStreamRequest,
|
|
566
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
*
|
|
586
|
-
*
|
|
587
|
-
* @
|
|
588
|
-
|
|
589
|
-
|
|
904
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
905
|
+
xDrtDomain?: string,
|
|
906
|
+
): CancelablePromise<SuccessResponse> {
|
|
907
|
+
return __request(OpenAPI, {
|
|
908
|
+
method: 'DELETE',
|
|
909
|
+
url: '/order/stream-register',
|
|
910
|
+
headers: {
|
|
911
|
+
'x-drt-domain': xDrtDomain,
|
|
912
|
+
},
|
|
913
|
+
body: requestBody,
|
|
914
|
+
mediaType: 'application/json',
|
|
915
|
+
errors: {
|
|
916
|
+
400: `Bad Request error with error details.`,
|
|
917
|
+
404: `Not found error with error details.`,
|
|
918
|
+
500: `Internal Server Error, please contact developers.`,
|
|
919
|
+
},
|
|
920
|
+
});
|
|
921
|
+
}
|
|
922
|
+
/**
|
|
923
|
+
* Start an exchange (arm the exchange lock)
|
|
924
|
+
* Validates the order and exchange policy, applies the re-modification block (an already-exchanged order or one with a live refund request is rejected, clearing any stale lock), and arms the session exchange lock (modifyingOrderId) that /order/exchange/validate, /order/exchange/upcharge, and POST /order/exchange require (EXT-2, legacy r/exchange.cfm page load). Returns the refund-messaging and online-upcharge gating flags for the exchange UI.
|
|
925
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
926
|
+
* @param requestBody
|
|
927
|
+
* @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).
|
|
928
|
+
* @returns ExchangeStartResponse Exchange started; lock armed.
|
|
929
|
+
* @throws ApiError
|
|
930
|
+
*/
|
|
931
|
+
public static startExchange(
|
|
590
932
|
requestBody: ExchangeStartRequest,
|
|
591
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
*
|
|
611
|
-
*
|
|
612
|
-
* @
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
933
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
934
|
+
xDrtDomain?: string,
|
|
935
|
+
): CancelablePromise<ExchangeStartResponse> {
|
|
936
|
+
return __request(OpenAPI, {
|
|
937
|
+
method: 'POST',
|
|
938
|
+
url: '/order/exchange/start',
|
|
939
|
+
headers: {
|
|
940
|
+
'x-drt-domain': xDrtDomain,
|
|
941
|
+
},
|
|
942
|
+
body: requestBody,
|
|
943
|
+
mediaType: 'application/json',
|
|
944
|
+
errors: {
|
|
945
|
+
400: `Bad Request error with error details.`,
|
|
946
|
+
404: `Not found error with error details.`,
|
|
947
|
+
500: `Internal Server Error, please contact developers.`,
|
|
948
|
+
},
|
|
949
|
+
});
|
|
950
|
+
}
|
|
951
|
+
/**
|
|
952
|
+
* Get the order's exchange-eligible seats
|
|
953
|
+
* Returns the seats on the order that can be exchanged out, with hasStarted/hasEnded flags so the UI can block ended shows (EXT-9, legacy r/exchange.cfm seat list). Ended-show seats are also rejected server-side at execute time.
|
|
954
|
+
* @param guid Unique identifier for an order.
|
|
955
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
956
|
+
* @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).
|
|
957
|
+
* @returns ExchangeEligibleSeatsResponse Returns the exchange-eligible seats.
|
|
958
|
+
* @throws ApiError
|
|
959
|
+
*/
|
|
960
|
+
public static getExchangeEligibleSeats(
|
|
961
|
+
guid: string,
|
|
962
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
963
|
+
xDrtDomain?: string,
|
|
964
|
+
): CancelablePromise<ExchangeEligibleSeatsResponse> {
|
|
965
|
+
return __request(OpenAPI, {
|
|
966
|
+
method: 'GET',
|
|
967
|
+
url: '/order/exchange/eligible-seats',
|
|
968
|
+
headers: {
|
|
969
|
+
'x-drt-domain': xDrtDomain,
|
|
970
|
+
},
|
|
971
|
+
query: {
|
|
972
|
+
'guid': guid,
|
|
973
|
+
},
|
|
974
|
+
errors: {
|
|
975
|
+
400: `Bad Request error with error details.`,
|
|
976
|
+
404: `Not found error with error details.`,
|
|
977
|
+
500: `Internal Server Error, please contact developers.`,
|
|
978
|
+
},
|
|
979
|
+
});
|
|
980
|
+
}
|
|
981
|
+
/**
|
|
982
|
+
* List shows available to exchange into
|
|
983
|
+
* Returns the shows a buyer can exchange into (ticketed, on sale, in the future) plus how many seats they already hold (EXC-1). Load GA tiers/pricing for a target via GET /event/:id/ga.
|
|
984
|
+
* @param guid Unique identifier for an order.
|
|
985
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
986
|
+
* @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).
|
|
987
|
+
* @returns ExchangeShowsResponse Returns exchange-eligible shows and held-seat count.
|
|
988
|
+
* @throws ApiError
|
|
989
|
+
*/
|
|
990
|
+
public static getExchangeShows(
|
|
991
|
+
guid: string,
|
|
992
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
993
|
+
xDrtDomain?: string,
|
|
994
|
+
): CancelablePromise<ExchangeShowsResponse> {
|
|
995
|
+
return __request(OpenAPI, {
|
|
996
|
+
method: 'GET',
|
|
997
|
+
url: '/order/exchange/shows',
|
|
998
|
+
headers: {
|
|
999
|
+
'x-drt-domain': xDrtDomain,
|
|
1000
|
+
},
|
|
1001
|
+
query: {
|
|
1002
|
+
'guid': guid,
|
|
1003
|
+
},
|
|
1004
|
+
errors: {
|
|
1005
|
+
400: `Bad Request error with error details.`,
|
|
1006
|
+
404: `Not found error with error details.`,
|
|
1007
|
+
500: `Internal Server Error, please contact developers.`,
|
|
1008
|
+
},
|
|
1009
|
+
});
|
|
1010
|
+
}
|
|
1011
|
+
/**
|
|
1012
|
+
* Get the seats currently held for the exchange
|
|
1013
|
+
* Returns the seats held in the exchange cart (EXC-1).
|
|
1014
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
1015
|
+
* @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).
|
|
1016
|
+
* @returns SeatInCart Returns the held exchange seats.
|
|
1017
|
+
* @throws ApiError
|
|
1018
|
+
*/
|
|
1019
|
+
public static getExchangeSeats(
|
|
1020
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
1021
|
+
xDrtDomain?: string,
|
|
1022
|
+
): CancelablePromise<Array<SeatInCart>> {
|
|
1023
|
+
return __request(OpenAPI, {
|
|
1024
|
+
method: 'GET',
|
|
1025
|
+
url: '/order/exchange/seats',
|
|
1026
|
+
headers: {
|
|
1027
|
+
'x-drt-domain': xDrtDomain,
|
|
1028
|
+
},
|
|
1029
|
+
errors: {
|
|
1030
|
+
400: `Bad Request error with error details.`,
|
|
1031
|
+
404: `Not found error with error details.`,
|
|
1032
|
+
500: `Internal Server Error, please contact developers.`,
|
|
1033
|
+
},
|
|
1034
|
+
});
|
|
1035
|
+
}
|
|
1036
|
+
/**
|
|
1037
|
+
* Save per-seat answers for the new exchange seats
|
|
1038
|
+
* Persists checkout answers for the new seats being exchanged into (EXC-1, legacy exchange-questions-save).
|
|
1039
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
1040
|
+
* @param requestBody
|
|
1041
|
+
* @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).
|
|
1042
|
+
* @returns SuccessResponse Returns success after saving answers.
|
|
1043
|
+
* @throws ApiError
|
|
1044
|
+
*/
|
|
1045
|
+
public static saveExchangeAnswers(
|
|
688
1046
|
requestBody: ExchangeAnswersBody,
|
|
689
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
*
|
|
709
|
-
*
|
|
710
|
-
* @
|
|
711
|
-
* @
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
1047
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
1048
|
+
xDrtDomain?: string,
|
|
1049
|
+
): CancelablePromise<SuccessResponse> {
|
|
1050
|
+
return __request(OpenAPI, {
|
|
1051
|
+
method: 'POST',
|
|
1052
|
+
url: '/order/exchange/questions',
|
|
1053
|
+
headers: {
|
|
1054
|
+
'x-drt-domain': xDrtDomain,
|
|
1055
|
+
},
|
|
1056
|
+
body: requestBody,
|
|
1057
|
+
mediaType: 'application/json',
|
|
1058
|
+
errors: {
|
|
1059
|
+
400: `Bad Request error with error details.`,
|
|
1060
|
+
404: `Not found error with error details.`,
|
|
1061
|
+
500: `Internal Server Error, please contact developers.`,
|
|
1062
|
+
},
|
|
1063
|
+
});
|
|
1064
|
+
}
|
|
1065
|
+
/**
|
|
1066
|
+
* Release one held seat during an exchange
|
|
1067
|
+
* Releases a single held seat from the exchange cart; clears the cart timer when no held seats remain (EXC-1, legacy exchange-cancel).
|
|
1068
|
+
* @param showId
|
|
1069
|
+
* @param seatId
|
|
1070
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
1071
|
+
* @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).
|
|
1072
|
+
* @returns ExchangeCancelSeatResponse Returns success and whether the cart timer still runs.
|
|
1073
|
+
* @throws ApiError
|
|
1074
|
+
*/
|
|
1075
|
+
public static cancelExchangeSeat(
|
|
1076
|
+
showId: number,
|
|
1077
|
+
seatId: number,
|
|
1078
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
1079
|
+
xDrtDomain?: string,
|
|
1080
|
+
): CancelablePromise<ExchangeCancelSeatResponse> {
|
|
1081
|
+
return __request(OpenAPI, {
|
|
1082
|
+
method: 'DELETE',
|
|
1083
|
+
url: '/order/exchange/seat',
|
|
1084
|
+
headers: {
|
|
1085
|
+
'x-drt-domain': xDrtDomain,
|
|
1086
|
+
},
|
|
1087
|
+
query: {
|
|
1088
|
+
'showId': showId,
|
|
1089
|
+
'seatId': seatId,
|
|
1090
|
+
},
|
|
1091
|
+
errors: {
|
|
1092
|
+
400: `Bad Request error with error details.`,
|
|
1093
|
+
404: `Not found error with error details.`,
|
|
1094
|
+
500: `Internal Server Error, please contact developers.`,
|
|
1095
|
+
},
|
|
1096
|
+
});
|
|
1097
|
+
}
|
|
1098
|
+
/**
|
|
1099
|
+
* Cancel an in-progress exchange
|
|
1100
|
+
* Aborts an in-progress exchange: releases all held seats, clears the cart timer, and clears the exchange lock (EXC-1, legacy exchange-cancel-all).
|
|
1101
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
1102
|
+
* @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).
|
|
1103
|
+
* @returns ExchangeCancelResponse Returns success and whether the exchange lock was cleared.
|
|
1104
|
+
* @throws ApiError
|
|
1105
|
+
*/
|
|
1106
|
+
public static cancelExchange(
|
|
1107
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
1108
|
+
xDrtDomain?: string,
|
|
1109
|
+
): CancelablePromise<ExchangeCancelResponse> {
|
|
1110
|
+
return __request(OpenAPI, {
|
|
1111
|
+
method: 'POST',
|
|
1112
|
+
url: '/order/exchange/cancel',
|
|
1113
|
+
headers: {
|
|
1114
|
+
'x-drt-domain': xDrtDomain,
|
|
1115
|
+
},
|
|
1116
|
+
errors: {
|
|
1117
|
+
400: `Bad Request error with error details.`,
|
|
1118
|
+
404: `Not found error with error details.`,
|
|
1119
|
+
500: `Internal Server Error, please contact developers.`,
|
|
1120
|
+
},
|
|
1121
|
+
});
|
|
1122
|
+
}
|
|
1123
|
+
/**
|
|
1124
|
+
* Execute a seat exchange for an order
|
|
1125
|
+
* Swaps seats held in the cart for the seats specified in seatIds on an existing order.
|
|
1126
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
1127
|
+
* @param requestBody Exchange request containing the order GUID and seat IDs to exchange out.
|
|
1128
|
+
* @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).
|
|
1129
|
+
* @returns SuccessResponse Returns success after completing the exchange.
|
|
1130
|
+
* @throws ApiError
|
|
1131
|
+
*/
|
|
1132
|
+
public static postExchange(
|
|
763
1133
|
requestBody: ExchangeRequest,
|
|
764
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
*
|
|
784
|
-
*
|
|
785
|
-
* @
|
|
786
|
-
|
|
787
|
-
|
|
1134
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
1135
|
+
xDrtDomain?: string,
|
|
1136
|
+
): CancelablePromise<SuccessResponse> {
|
|
1137
|
+
return __request(OpenAPI, {
|
|
1138
|
+
method: 'POST',
|
|
1139
|
+
url: '/order/exchange',
|
|
1140
|
+
headers: {
|
|
1141
|
+
'x-drt-domain': xDrtDomain,
|
|
1142
|
+
},
|
|
1143
|
+
body: requestBody,
|
|
1144
|
+
mediaType: 'application/json',
|
|
1145
|
+
errors: {
|
|
1146
|
+
400: `Bad Request error with error details.`,
|
|
1147
|
+
404: `Not found error with error details.`,
|
|
1148
|
+
500: `Internal Server Error, please contact developers.`,
|
|
1149
|
+
},
|
|
1150
|
+
});
|
|
1151
|
+
}
|
|
1152
|
+
/**
|
|
1153
|
+
* Validate an in-progress exchange without swapping seats
|
|
1154
|
+
* Reruns the studio's order validation rules against the recalculated post-exchange order WITHOUT swapping seats or collecting any payment (EXC-4) — used by the legacy exchange tool's execute step for even exchanges and downgrades, which never reach the upcharge endpoint. The session must hold the exchange lock for the order and the held cart must match the outgoing seats. A failing rule rejects with ORDER_VALIDATION_FAILED ("Order validation has failed."). Returns the money consequence (balanceOwed / refundDue / willCreateRefund) so the review step can show it before the buyer confirms (EXT-5).
|
|
1155
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
1156
|
+
* @param requestBody Validation request containing the order GUID and the seats being exchanged out.
|
|
1157
|
+
* @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).
|
|
1158
|
+
* @returns ExchangeValidateResponse Returns success plus the recalculated money consequence.
|
|
1159
|
+
* @throws ApiError
|
|
1160
|
+
*/
|
|
1161
|
+
public static validateExchange(
|
|
788
1162
|
requestBody: ExchangeValidateRequest,
|
|
789
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
*
|
|
809
|
-
*
|
|
810
|
-
* @
|
|
811
|
-
|
|
812
|
-
|
|
1163
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
1164
|
+
xDrtDomain?: string,
|
|
1165
|
+
): CancelablePromise<ExchangeValidateResponse> {
|
|
1166
|
+
return __request(OpenAPI, {
|
|
1167
|
+
method: 'POST',
|
|
1168
|
+
url: '/order/exchange/validate',
|
|
1169
|
+
headers: {
|
|
1170
|
+
'x-drt-domain': xDrtDomain,
|
|
1171
|
+
},
|
|
1172
|
+
body: requestBody,
|
|
1173
|
+
mediaType: 'application/json',
|
|
1174
|
+
errors: {
|
|
1175
|
+
400: `Bad Request error with error details.`,
|
|
1176
|
+
404: `Not found error with error details.`,
|
|
1177
|
+
500: `Internal Server Error, please contact developers.`,
|
|
1178
|
+
},
|
|
1179
|
+
});
|
|
1180
|
+
}
|
|
1181
|
+
/**
|
|
1182
|
+
* Collect the upcharge for an in-progress exchange
|
|
1183
|
+
* Charges the additional amount owed for an in-progress exchange WITHOUT swapping seats (EXC-3) — used by the legacy exchange tool, whose execute step performs the seat swap itself. The session must hold the exchange lock for the order, the held cart must match the outgoing seats, and the amount is recomputed server-side before Payment-API charges the card saved by /payment/customer + /payment/summary.
|
|
1184
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
1185
|
+
* @param requestBody Upcharge request containing the order GUID and the seats being exchanged out.
|
|
1186
|
+
* @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).
|
|
1187
|
+
* @returns ExchangeUpchargeResponse Returns the recorded upcharge payment details.
|
|
1188
|
+
* @throws ApiError
|
|
1189
|
+
*/
|
|
1190
|
+
public static collectExchangeUpcharge(
|
|
813
1191
|
requestBody: ExchangeUpchargeRequest,
|
|
814
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
}
|
|
1192
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
1193
|
+
xDrtDomain?: string,
|
|
1194
|
+
): CancelablePromise<ExchangeUpchargeResponse> {
|
|
1195
|
+
return __request(OpenAPI, {
|
|
1196
|
+
method: 'POST',
|
|
1197
|
+
url: '/order/exchange/upcharge',
|
|
1198
|
+
headers: {
|
|
1199
|
+
'x-drt-domain': xDrtDomain,
|
|
1200
|
+
},
|
|
1201
|
+
body: requestBody,
|
|
1202
|
+
mediaType: 'application/json',
|
|
1203
|
+
errors: {
|
|
1204
|
+
400: `Bad Request error with error details.`,
|
|
1205
|
+
404: `Not found error with error details.`,
|
|
1206
|
+
500: `Internal Server Error, please contact developers.`,
|
|
1207
|
+
},
|
|
1208
|
+
});
|
|
1209
|
+
}
|
|
1210
|
+
}
|