@drttix/drt-sdk 2.1.2 → 2.1.4
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 -120
- 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/bundle/drt-sdk.js +1 -0
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/src/definitions/portal.d.ts +2 -0
- package/dist/cjs/src/definitions/portal.js +37 -35
- package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/portal/index.d.ts +16 -0
- package/dist/cjs/src/generated/portal/index.js +6 -2
- package/dist/cjs/src/generated/portal/models/AvaliableSeats.d.ts +7 -0
- package/dist/cjs/src/generated/portal/models/BlockedSeatDetail.d.ts +9 -0
- package/dist/cjs/src/generated/portal/models/BlockedSeatDetail.js +2 -0
- package/dist/cjs/src/generated/portal/models/CartCountResponseDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/ChargebackHistoryResponseDto.d.ts +10 -0
- package/dist/cjs/src/generated/portal/models/ChargebackHistoryResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/CodeDetailResponseDto.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/CreateShowRequestDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/CreateTimedTriggerResponseDto.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/DiyShowResponseDto.d.ts +60 -0
- package/dist/cjs/src/generated/portal/models/DiyShowResponseDto.js +11 -0
- package/dist/cjs/src/generated/portal/models/DiyShowTicketTypeDto.d.ts +12 -0
- package/dist/cjs/src/generated/portal/models/DiyShowTicketTypeDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ExchangeAnswerDto.d.ts +6 -0
- package/dist/cjs/src/generated/portal/models/ExchangeAnswerDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ExchangePaymentLinkDeliveryDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/ExchangePaymentLinkDeliveryDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ExchangePaymentLinkDto.d.ts +37 -0
- package/dist/cjs/src/generated/portal/models/ExchangePaymentLinkDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ExchangePaymentLinkResponseDto.d.ts +17 -0
- package/dist/cjs/src/generated/portal/models/ExchangePaymentLinkResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ExchangePaymentPageResponseDto.d.ts +26 -0
- package/dist/cjs/src/generated/portal/models/ExchangePaymentPageResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ExchangePaymentSeatDto.d.ts +7 -0
- package/dist/cjs/src/generated/portal/models/ExchangePaymentSeatDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ExchangeQuestionResponseDto.d.ts +16 -0
- package/dist/cjs/src/generated/portal/models/ExchangeQuestionResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ExecuteSeatExchangeRequestDto.d.ts +11 -2
- package/dist/cjs/src/generated/portal/models/InsertUpdateTimedTriggerRequestDto.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/OrderActionsResponseDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/PatronImportCheckResponseDto.d.ts +11 -0
- package/dist/cjs/src/generated/portal/models/PatronImportCheckResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/PatronImportRowDto.d.ts +14 -0
- package/dist/cjs/src/generated/portal/models/PatronImportRowDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/PatronImportRowRequestDto.d.ts +7 -0
- package/dist/cjs/src/generated/portal/models/PatronImportRowRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ProductIconResponseDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/SalesByTierReponseDto.d.ts +12 -0
- package/dist/cjs/src/generated/portal/models/SalesByTierReponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SelectedSeatExchangeResponseDto.d.ts +9 -0
- package/dist/cjs/src/generated/portal/models/SendExchangePaymentLinkRequestDto.d.ts +23 -0
- package/dist/cjs/src/generated/portal/models/SendExchangePaymentLinkRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ShowsList.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/StudentCreditBuyerResponseDto.d.ts +12 -0
- package/dist/cjs/src/generated/portal/models/StudentCreditBuyerResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SubmitExchangePaymentRequestDto.d.ts +6 -0
- package/dist/cjs/src/generated/portal/models/SubmitExchangePaymentRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/TicketingShowResponseDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/TimedTriggerTargetObjectResponseDto.d.ts +2 -0
- package/dist/cjs/src/generated/portal/models/UnAvailableSeating.js +2 -0
- package/dist/cjs/src/generated/portal/services/ClientToolsPatronDatabaseService.d.ts +30 -0
- package/dist/cjs/src/generated/portal/services/ClientToolsPatronDatabaseService.js +54 -0
- package/dist/cjs/src/generated/portal/services/ExchangePaymentService.d.ts +22 -0
- package/dist/cjs/src/generated/portal/services/ExchangePaymentService.js +49 -0
- package/dist/cjs/src/generated/portal/services/FeaturesBlockedSeatsService.d.ts +2 -1
- package/dist/cjs/src/generated/portal/services/FeaturesBlockedSeatsService.js +3 -1
- package/dist/cjs/src/generated/portal/services/OrderLookupService.d.ts +30 -0
- package/dist/cjs/src/generated/portal/services/OrderLookupService.js +63 -0
- package/dist/cjs/src/generated/portal/services/ShowsService.d.ts +38 -0
- package/dist/cjs/src/generated/portal/services/ShowsService.js +79 -0
- package/dist/cjs/src/generated/portal/types.d.ts +14 -0
- package/dist/cjs/src/generated/scanner/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/scanner/services/ScanningService.d.ts +43 -1
- package/dist/cjs/src/generated/scanner/services/ScanningService.js +103 -1
- package/dist/cjs/src/generated/shopper/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/shopper/index.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/Account.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/Chart.d.ts +8 -0
- package/dist/cjs/src/generated/shopper/models/Chart.js +2 -0
- package/dist/cjs/src/generated/shopper/models/CheckoutProduct.d.ts +4 -1
- package/dist/cjs/src/generated/shopper/models/CheckoutSuccessResponse.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/EventDetails.d.ts +20 -0
- package/dist/cjs/src/generated/shopper/models/EventListItem.d.ts +20 -0
- package/dist/cjs/src/generated/shopper/models/IgnorePriorityStateDto.d.ts +6 -0
- package/dist/cjs/src/generated/shopper/models/IgnorePriorityStateDto.js +2 -0
- package/dist/cjs/src/generated/shopper/models/LandingProduct.d.ts +3 -0
- package/dist/cjs/src/generated/shopper/models/Product.d.ts +3 -0
- package/dist/cjs/src/generated/shopper/models/SessionSuccessDto.d.ts +3 -0
- package/dist/cjs/src/generated/shopper/models/SessionSuccessDto.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SetAffiliateDto.d.ts +6 -0
- package/dist/cjs/src/generated/shopper/models/SetAffiliateDto.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SetIgnorePriorityDto.d.ts +6 -0
- package/dist/cjs/src/generated/shopper/models/SetIgnorePriorityDto.js +2 -0
- package/dist/cjs/src/generated/shopper/models/ShowExtras.d.ts +20 -0
- package/dist/cjs/src/generated/shopper/services/SessionService.d.ts +42 -0
- package/dist/cjs/src/generated/shopper/services/SessionService.js +66 -0
- package/dist/cjs/src/generated/shopper/types.d.ts +4 -0
- package/dist/cjs/src/staging/index.d.ts +1 -0
- package/dist/cjs/src/staging/portal.d.ts +2 -0
- package/dist/cjs/src/staging/portal.js +37 -35
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/src/definitions/portal.d.ts +2 -0
- package/dist/esm/src/definitions/portal.js +2 -0
- package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/portal/index.d.ts +16 -0
- package/dist/esm/src/generated/portal/index.js +2 -0
- package/dist/esm/src/generated/portal/models/AvaliableSeats.d.ts +7 -0
- package/dist/esm/src/generated/portal/models/BlockedSeatDetail.d.ts +9 -0
- package/dist/esm/src/generated/portal/models/BlockedSeatDetail.js +1 -0
- package/dist/esm/src/generated/portal/models/CartCountResponseDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/ChargebackHistoryResponseDto.d.ts +10 -0
- package/dist/esm/src/generated/portal/models/ChargebackHistoryResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/CodeDetailResponseDto.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/CreateShowRequestDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/CreateTimedTriggerResponseDto.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/DiyShowResponseDto.d.ts +60 -0
- package/dist/esm/src/generated/portal/models/DiyShowResponseDto.js +8 -0
- package/dist/esm/src/generated/portal/models/DiyShowTicketTypeDto.d.ts +12 -0
- package/dist/esm/src/generated/portal/models/DiyShowTicketTypeDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ExchangeAnswerDto.d.ts +6 -0
- package/dist/esm/src/generated/portal/models/ExchangeAnswerDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ExchangePaymentLinkDeliveryDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/ExchangePaymentLinkDeliveryDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ExchangePaymentLinkDto.d.ts +37 -0
- package/dist/esm/src/generated/portal/models/ExchangePaymentLinkDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ExchangePaymentLinkResponseDto.d.ts +17 -0
- package/dist/esm/src/generated/portal/models/ExchangePaymentLinkResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ExchangePaymentPageResponseDto.d.ts +26 -0
- package/dist/esm/src/generated/portal/models/ExchangePaymentPageResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ExchangePaymentSeatDto.d.ts +7 -0
- package/dist/esm/src/generated/portal/models/ExchangePaymentSeatDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ExchangeQuestionResponseDto.d.ts +16 -0
- package/dist/esm/src/generated/portal/models/ExchangeQuestionResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ExecuteSeatExchangeRequestDto.d.ts +11 -2
- package/dist/esm/src/generated/portal/models/InsertUpdateTimedTriggerRequestDto.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/OrderActionsResponseDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/PatronImportCheckResponseDto.d.ts +11 -0
- package/dist/esm/src/generated/portal/models/PatronImportCheckResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/PatronImportRowDto.d.ts +14 -0
- package/dist/esm/src/generated/portal/models/PatronImportRowDto.js +1 -0
- package/dist/esm/src/generated/portal/models/PatronImportRowRequestDto.d.ts +7 -0
- package/dist/esm/src/generated/portal/models/PatronImportRowRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ProductIconResponseDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/SalesByTierReponseDto.d.ts +12 -0
- package/dist/esm/src/generated/portal/models/SalesByTierReponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SelectedSeatExchangeResponseDto.d.ts +9 -0
- package/dist/esm/src/generated/portal/models/SendExchangePaymentLinkRequestDto.d.ts +23 -0
- package/dist/esm/src/generated/portal/models/SendExchangePaymentLinkRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ShowsList.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/StudentCreditBuyerResponseDto.d.ts +12 -0
- package/dist/esm/src/generated/portal/models/StudentCreditBuyerResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SubmitExchangePaymentRequestDto.d.ts +6 -0
- package/dist/esm/src/generated/portal/models/SubmitExchangePaymentRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/TicketingShowResponseDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/TimedTriggerTargetObjectResponseDto.d.ts +2 -0
- package/dist/esm/src/generated/portal/models/UnAvailableSeating.js +1 -0
- package/dist/esm/src/generated/portal/services/ClientToolsPatronDatabaseService.d.ts +30 -0
- package/dist/esm/src/generated/portal/services/ClientToolsPatronDatabaseService.js +54 -0
- package/dist/esm/src/generated/portal/services/ExchangePaymentService.d.ts +22 -0
- package/dist/esm/src/generated/portal/services/ExchangePaymentService.js +45 -0
- package/dist/esm/src/generated/portal/services/FeaturesBlockedSeatsService.d.ts +2 -1
- package/dist/esm/src/generated/portal/services/FeaturesBlockedSeatsService.js +3 -1
- package/dist/esm/src/generated/portal/services/OrderLookupService.d.ts +30 -0
- package/dist/esm/src/generated/portal/services/OrderLookupService.js +63 -0
- package/dist/esm/src/generated/portal/services/ShowsService.d.ts +38 -0
- package/dist/esm/src/generated/portal/services/ShowsService.js +79 -0
- package/dist/esm/src/generated/portal/types.d.ts +14 -0
- package/dist/esm/src/generated/scanner/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/scanner/services/ScanningService.d.ts +43 -1
- package/dist/esm/src/generated/scanner/services/ScanningService.js +103 -1
- package/dist/esm/src/generated/shopper/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/shopper/index.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/Account.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/Chart.d.ts +8 -0
- package/dist/esm/src/generated/shopper/models/Chart.js +1 -0
- package/dist/esm/src/generated/shopper/models/CheckoutProduct.d.ts +4 -1
- package/dist/esm/src/generated/shopper/models/CheckoutSuccessResponse.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/EventDetails.d.ts +20 -0
- package/dist/esm/src/generated/shopper/models/EventListItem.d.ts +20 -0
- package/dist/esm/src/generated/shopper/models/IgnorePriorityStateDto.d.ts +6 -0
- package/dist/esm/src/generated/shopper/models/IgnorePriorityStateDto.js +1 -0
- package/dist/esm/src/generated/shopper/models/LandingProduct.d.ts +3 -0
- package/dist/esm/src/generated/shopper/models/Product.d.ts +3 -0
- package/dist/esm/src/generated/shopper/models/SessionSuccessDto.d.ts +3 -0
- package/dist/esm/src/generated/shopper/models/SessionSuccessDto.js +1 -0
- package/dist/esm/src/generated/shopper/models/SetAffiliateDto.d.ts +6 -0
- package/dist/esm/src/generated/shopper/models/SetAffiliateDto.js +1 -0
- package/dist/esm/src/generated/shopper/models/SetIgnorePriorityDto.d.ts +6 -0
- package/dist/esm/src/generated/shopper/models/SetIgnorePriorityDto.js +1 -0
- package/dist/esm/src/generated/shopper/models/ShowExtras.d.ts +20 -0
- package/dist/esm/src/generated/shopper/services/SessionService.d.ts +42 -0
- package/dist/esm/src/generated/shopper/services/SessionService.js +66 -0
- package/dist/esm/src/generated/shopper/types.d.ts +4 -0
- package/dist/esm/src/staging/index.d.ts +1 -0
- package/dist/esm/src/staging/portal.d.ts +2 -0
- package/dist/esm/src/staging/portal.js +2 -0
- package/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 -425
- package/src/definitions/portal.ts +2 -0
- package/src/functions/sdkConfig.ts +234 -234
- 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 -425
- package/src/generated/portal/index.ts +16 -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/ActivityLogEntryDto.ts +25 -25
- package/src/generated/portal/models/ActivityLogResponseDto.ts +10 -10
- package/src/generated/portal/models/AddSessionSeatRequestDto.ts +9 -9
- package/src/generated/portal/models/AddSessionSeatResponseDto.ts +12 -12
- 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 +25 -25
- 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/AppSkinResponseDto.ts +37 -37
- package/src/generated/portal/models/AppSkinSiteThemeDto.ts +16 -16
- package/src/generated/portal/models/AppSkinValuesDto.ts +23 -23
- 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 +44 -44
- 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 +17 -17
- 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 +16 -12
- package/src/generated/portal/models/CartToggleTickerResponseDto.ts +8 -8
- package/src/generated/portal/models/ChangePasswordRequestDto.ts +10 -10
- package/src/generated/portal/models/ChargebackHistoryResponseDto.ts +15 -0
- 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 +34 -33
- package/src/generated/portal/models/CodeDetailsResponseDto.ts +11 -11
- package/src/generated/portal/models/CodeIssuesResponseDto.ts +15 -15
- 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 +56 -56
- package/src/generated/portal/models/CouponFilterResponseDto.ts +11 -11
- package/src/generated/portal/models/CouponImportCheckResponseDto.ts +18 -18
- package/src/generated/portal/models/CouponImportRowDto.ts +21 -21
- 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/CreateCodesResponseDto.ts +11 -11
- package/src/generated/portal/models/CreateDocumentRequestDto.ts +13 -13
- package/src/generated/portal/models/CreateDocumentResponseDto.ts +13 -13
- 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 +13 -13
- 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 +14 -14
- package/src/generated/portal/models/CreatePriorityCodeRequestDto.ts +36 -36
- 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/CreateShowCodeRequestDto.ts +15 -15
- package/src/generated/portal/models/CreateShowRequestDto.ts +141 -137
- package/src/generated/portal/models/CreateShowResponseDto.ts +16 -16
- package/src/generated/portal/models/CreateShowTimeDto.ts +72 -72
- package/src/generated/portal/models/CreateTicketTypeDto.ts +14 -14
- package/src/generated/portal/models/CreateTimedTriggerResponseDto.ts +10 -9
- 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 +36 -36
- 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 +15 -15
- 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/DeletePushSubscriptionRequestDto.ts +8 -8
- 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/DiyShowResponseDto.ts +65 -0
- package/src/generated/portal/models/DiyShowTicketTypeDto.ts +17 -0
- package/src/generated/portal/models/DiyStepTimeRequestDto.ts +15 -15
- package/src/generated/portal/models/DiySurveyRequestDto.ts +16 -16
- 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/DownloadTicketsResponseDto.ts +12 -12
- 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 +17 -17
- package/src/generated/portal/models/EditShowRequestDto.ts +24 -24
- 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 +8 -8
- package/src/generated/portal/models/ExchangeAnswerDto.ts +11 -0
- package/src/generated/portal/models/ExchangePaymentLinkDeliveryDto.ts +9 -0
- package/src/generated/portal/models/ExchangePaymentLinkDto.ts +42 -0
- package/src/generated/portal/models/ExchangePaymentLinkResponseDto.ts +22 -0
- package/src/generated/portal/models/ExchangePaymentPageResponseDto.ts +31 -0
- package/src/generated/portal/models/ExchangePaymentSeatDto.ts +12 -0
- package/src/generated/portal/models/ExchangeQuestionResponseDto.ts +21 -0
- 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 +19 -19
- package/src/generated/portal/models/ExecuteReleaseSeatResponseDto.ts +25 -25
- package/src/generated/portal/models/ExecuteSeatExchangeRequestDto.ts +39 -30
- package/src/generated/portal/models/ExpireHiddenCodesRequestDto.ts +8 -8
- package/src/generated/portal/models/ExtraCartResponseDto.ts +11 -11
- package/src/generated/portal/models/FacebookRescrapeResponseDto.ts +17 -17
- 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 +43 -43
- 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 +13 -13
- package/src/generated/portal/models/GroupCodeResponseDto.ts +34 -34
- 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 +19 -19
- 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 +17 -17
- package/src/generated/portal/models/ImportBlockedSeatResponse.ts +10 -10
- package/src/generated/portal/models/ImportCheckRequestDto.ts +11 -11
- package/src/generated/portal/models/ImportColumnDto.ts +35 -35
- package/src/generated/portal/models/ImportFormatResponseDto.ts +13 -13
- package/src/generated/portal/models/ImportFromEventRequestDto.ts +9 -9
- package/src/generated/portal/models/ImportFromEventResponseDto.ts +20 -20
- package/src/generated/portal/models/ImportIssueDto.ts +18 -18
- package/src/generated/portal/models/InsertUpdateBlacklistBuyerRequestDto.ts +17 -17
- package/src/generated/portal/models/InsertUpdateTimedTriggerRequestDto.ts +16 -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 +17 -17
- 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 +33 -33
- 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/MigrateTicketResultDto.ts +15 -15
- 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/OccupancyVisualizerOrderDto.ts +10 -10
- package/src/generated/portal/models/OccupancyVisualizerShowDto.ts +15 -15
- package/src/generated/portal/models/OperationResultResponseDto.ts +9 -9
- package/src/generated/portal/models/OrderActionsResponseDto.ts +25 -21
- 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 +14 -14
- package/src/generated/portal/models/OrderListResponseDto.ts +25 -25
- package/src/generated/portal/models/OrderRecalculateRequestDto.ts +27 -27
- package/src/generated/portal/models/OrderSeatDetailsResponseDto.ts +15 -15
- package/src/generated/portal/models/OrderSeatDto.ts +10 -10
- package/src/generated/portal/models/OrderSeatTierDto.ts +19 -19
- 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 +24 -24
- 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/PatronImportCheckResponseDto.ts +16 -0
- package/src/generated/portal/models/PatronImportRowDto.ts +19 -0
- package/src/generated/portal/models/PatronImportRowRequestDto.ts +12 -0
- package/src/generated/portal/models/PatronManifestDetailResponseDto.ts +29 -29
- package/src/generated/portal/models/PatronSendMailResponseDto.ts +11 -11
- 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/PerformancePixDetailsResponseDto.ts +23 -23
- package/src/generated/portal/models/PerformancePixLoginUrlResponseDto.ts +16 -16
- 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/PricingSetBodyDto.ts +10 -10
- package/src/generated/portal/models/PricingSetRuleDto.ts +16 -16
- package/src/generated/portal/models/PriorityCode.ts +10 -10
- package/src/generated/portal/models/PriorityCodeResponseDto.ts +13 -13
- package/src/generated/portal/models/PriorityImportCheckResponseDto.ts +18 -18
- package/src/generated/portal/models/PriorityImportRowDto.ts +21 -21
- package/src/generated/portal/models/PriorityWaveDetail.ts +12 -12
- package/src/generated/portal/models/ProductDetailResponseDto.ts +36 -36
- package/src/generated/portal/models/ProductIconResponseDto.ts +15 -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/PushPublicKeyResponseDto.ts +11 -11
- package/src/generated/portal/models/PushSendResponseDto.ts +20 -20
- package/src/generated/portal/models/PushSubscriptionKeysDto.ts +9 -9
- 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 +55 -55
- package/src/generated/portal/models/RefundDetailResponseDto.ts +39 -39
- 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 +11 -11
- 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/RevenueVisualizerInterviewDto.ts +10 -10
- package/src/generated/portal/models/RevenueVisualizerPricingSetDto.ts +13 -13
- package/src/generated/portal/models/RevenueVisualizerRuleDto.ts +12 -12
- package/src/generated/portal/models/RevenueVisualizerSectionDto.ts +14 -14
- package/src/generated/portal/models/RevenueVisualizerShowDto.ts +13 -13
- 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/SalesTaxLookupRequestDto.ts +14 -14
- package/src/generated/portal/models/SalesTaxLookupResponseDto.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/SavePricingSetRequestDto.ts +11 -11
- package/src/generated/portal/models/SavePricingSetResponseDto.ts +10 -10
- package/src/generated/portal/models/SavePushSubscriptionRequestDto.ts +12 -12
- 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/ScannerLogDeviceDto.ts +10 -10
- package/src/generated/portal/models/ScannerLogEntryDto.ts +26 -26
- package/src/generated/portal/models/ScannerLogFiltersResponseDto.ts +9 -9
- package/src/generated/portal/models/ScannerLogResponseDto.ts +10 -10
- package/src/generated/portal/models/ScanningEndResponseDto.ts +11 -11
- 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 -18
- 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 +36 -27
- package/src/generated/portal/models/SendBlockedSeatsMailRequestDto.ts +13 -13
- package/src/generated/portal/models/SendEmailRequestDto.ts +13 -13
- package/src/generated/portal/models/SendExchangePaymentLinkRequestDto.ts +28 -0
- package/src/generated/portal/models/SendMailRequestDto.ts +10 -10
- package/src/generated/portal/models/SendReservationCodeMailRequestDto.ts +12 -12
- package/src/generated/portal/models/SendSupportChatMessageRequestDto.ts +20 -20
- package/src/generated/portal/models/SendSupportChatMessageResponseDto.ts +10 -10
- package/src/generated/portal/models/SendTextRequestDto.ts +12 -12
- package/src/generated/portal/models/SentMailResponseDto.ts +18 -18
- package/src/generated/portal/models/SessionSeatRefDto.ts +9 -9
- package/src/generated/portal/models/SetScanningEndRequestDto.ts +11 -11
- package/src/generated/portal/models/SetTiersRequestDto.ts +19 -19
- package/src/generated/portal/models/SettingsAndWavesResponseDto.ts +17 -17
- package/src/generated/portal/models/SettingsDetailsResponseDto.ts +91 -91
- 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 -37
- 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/ShowCodeResponseDto.ts +22 -22
- package/src/generated/portal/models/ShowDeployOption.ts +12 -12
- package/src/generated/portal/models/ShowDetailDto.ts +84 -84
- package/src/generated/portal/models/ShowDetails.ts +12 -12
- package/src/generated/portal/models/ShowDetailsResponseDto.ts +23 -23
- 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/ShowOccupancyVisualizerResponseDto.ts +14 -14
- package/src/generated/portal/models/ShowOrders.ts +11 -11
- package/src/generated/portal/models/ShowPricing.ts +18 -18
- package/src/generated/portal/models/ShowPricingDetail.ts +11 -11
- package/src/generated/portal/models/ShowReportListResponseDto.ts +20 -20
- package/src/generated/portal/models/ShowRevenueVisualizerResponseDto.ts +17 -17
- 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 +90 -86
- 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 -22
- package/src/generated/portal/models/SoldTicketsResponseDto.ts +33 -33
- 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 +20 -20
- 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/SubmitExchangePaymentRequestDto.ts +11 -0
- package/src/generated/portal/models/SuccessResponse.ts +9 -9
- package/src/generated/portal/models/SupportChatAttachmentDto.ts +9 -9
- package/src/generated/portal/models/SupportChatConversationDto.ts +30 -30
- package/src/generated/portal/models/SupportChatConversationSummaryDto.ts +21 -21
- package/src/generated/portal/models/SupportChatMessageDto.ts +29 -29
- package/src/generated/portal/models/SupportChatReadRequestDto.ts +11 -11
- package/src/generated/portal/models/SupportChatResponseDto.ts +18 -18
- package/src/generated/portal/models/SupportChatSocketDto.ts +18 -18
- package/src/generated/portal/models/SupportChatSocketResponseDto.ts +9 -9
- 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 +25 -25
- package/src/generated/portal/models/TicketSeatDetailResponseDto.ts +27 -27
- package/src/generated/portal/models/TicketingShowResponseDto.ts +21 -17
- package/src/generated/portal/models/TicketingSiteResponseDto.ts +10 -10
- 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/TimedTriggerDetailResponseDto.ts +21 -21
- package/src/generated/portal/models/TimedTriggerFieldResponseDto.ts +17 -17
- package/src/generated/portal/models/TimedTriggerResponseDto.ts +14 -14
- package/src/generated/portal/models/TimedTriggerTargetObjectResponseDto.ts +12 -10
- 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 +17 -17
- package/src/generated/portal/models/UpdateAppSkinRequestDto.ts +23 -23
- 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 +38 -38
- 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/UpdateShowCodeRequestDto.ts +15 -15
- 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 +12 -12
- 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 +616 -616
- 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 +511 -445
- package/src/generated/portal/services/ClientToolsPerformancePixService.ts +47 -47
- 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/ClientToolsStudioManagementIntegrationService.ts +28 -28
- package/src/generated/portal/services/ClientToolsThemeBuilderService.ts +210 -210
- package/src/generated/portal/services/ClientToolsThemesLibraryService.ts +68 -68
- package/src/generated/portal/services/ClientToolsTicketScanningService.ts +329 -329
- package/src/generated/portal/services/ClientToolsTicketingLinkService.ts +76 -76
- 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/ExchangePaymentService.ts +57 -0
- package/src/generated/portal/services/FeaturesBlockedSeatsService.ts +603 -600
- package/src/generated/portal/services/FeaturesCheckoutQuestionsService.ts +144 -144
- package/src/generated/portal/services/FeaturesDiscountsService.ts +386 -386
- 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 +299 -299
- 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 +692 -617
- package/src/generated/portal/services/PushNotificationsService.ts +75 -75
- 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 +980 -887
- package/src/generated/portal/services/SuperUserAbandonedCartsService.ts +52 -52
- package/src/generated/portal/services/SuperUserActivityLogService.ts +66 -66
- package/src/generated/portal/services/SuperUserAdvancedStudioSettingsService.ts +204 -204
- 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/SuperUserPushNotificationsService.ts +33 -33
- 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 +170 -170
- package/src/generated/portal/services/SuperUserVideoAssetsService.ts +303 -303
- package/src/generated/portal/services/SuperuserPerformancePixService.ts +47 -47
- package/src/generated/portal/services/SupportChatService.ts +132 -132
- package/src/generated/portal/types.ts +14 -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 +2 -2
- package/src/generated/scanner/core/request.ts +425 -425
- 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 +29 -29
- 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 +14 -14
- 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 +126 -126
- package/src/generated/scanner/services/ScanningService.ts +474 -372
- 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 -425
- package/src/generated/shopper/index.ts +4 -0
- package/src/generated/shopper/models/Account.ts +83 -79
- 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 -9
- package/src/generated/shopper/models/AssetDownloadResponse.ts +12 -12
- 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 -27
- 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 +17 -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 +12 -8
- package/src/generated/shopper/models/ClientRequestErrorResponse.ts +11 -11
- 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 -42
- 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 -23
- package/src/generated/shopper/models/CreatePaymentLinkResponse.ts +45 -45
- package/src/generated/shopper/models/CreateSessionDto.ts +15 -15
- package/src/generated/shopper/models/DayPassDto.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 +40 -40
- 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 +75 -55
- package/src/generated/shopper/models/EventFormat.ts +35 -35
- package/src/generated/shopper/models/EventGroup.ts +36 -36
- 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 +97 -77
- 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 -24
- 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 -21
- package/src/generated/shopper/models/GAHold.ts +11 -11
- package/src/generated/shopper/models/GAResponse.ts +36 -36
- package/src/generated/shopper/models/GASeatRelease.ts +10 -10
- package/src/generated/shopper/models/GaSelection.ts +34 -34
- package/src/generated/shopper/models/GaTier.ts +46 -46
- package/src/generated/shopper/models/GetEventsResponse.ts +15 -15
- 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/IgnorePriorityStateDto.ts +11 -0
- 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 +19 -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 -19
- 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 -19
- package/src/generated/shopper/models/OrderLookupResult.ts +19 -19
- 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 -11
- package/src/generated/shopper/models/OrderSeat.ts +38 -38
- 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 -23
- package/src/generated/shopper/models/PaymentLinkStatus.ts +37 -37
- package/src/generated/shopper/models/PaymentSuccess.ts +23 -23
- package/src/generated/shopper/models/PerformerEventList.ts +9 -9
- package/src/generated/shopper/models/PerformerSuggestion.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 +39 -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/QixAdmissionBody.ts +11 -11
- package/src/generated/shopper/models/QixAdmissionDto.ts +15 -15
- package/src/generated/shopper/models/QixGateDto.ts +15 -15
- package/src/generated/shopper/models/QixPrecheckDto.ts +15 -15
- package/src/generated/shopper/models/QixSaleWindowDto.ts +19 -19
- package/src/generated/shopper/models/RecalcResponse.ts +10 -10
- package/src/generated/shopper/models/RecalcReturn.ts +43 -43
- package/src/generated/shopper/models/Receipt.ts +40 -40
- 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 -43
- 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 -13
- package/src/generated/shopper/models/RefundRequest.ts +13 -13
- package/src/generated/shopper/models/RefundRequestInfo.ts +17 -17
- package/src/generated/shopper/models/RegisterStreamRequest.ts +9 -9
- package/src/generated/shopper/models/RegisterStreamResponse.ts +14 -14
- package/src/generated/shopper/models/ResetStreamInviteRequest.ts +13 -13
- package/src/generated/shopper/models/RootConfigResponse.ts +22 -22
- package/src/generated/shopper/models/SaveDetailsBody.ts +25 -25
- package/src/generated/shopper/models/SaveNonceBody.ts +15 -15
- package/src/generated/shopper/models/SaveStreamInvitesRequest.ts +15 -15
- package/src/generated/shopper/models/SaveStreamInvitesResponse.ts +12 -12
- package/src/generated/shopper/models/SeatData.ts +9 -9
- package/src/generated/shopper/models/SeatHoldObject.ts +14 -14
- package/src/generated/shopper/models/SeatHoldReturn.ts +19 -19
- package/src/generated/shopper/models/SeatIdInput.ts +9 -9
- package/src/generated/shopper/models/SeatInCart.ts +42 -42
- package/src/generated/shopper/models/SeatManifest.ts +25 -25
- 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/SessionSuccessDto.ts +8 -0
- package/src/generated/shopper/models/SetAffiliateDto.ts +11 -0
- package/src/generated/shopper/models/SetIgnorePriorityDto.ts +11 -0
- package/src/generated/shopper/models/SetLanguageDto.ts +11 -11
- package/src/generated/shopper/models/SetShowGroupRequest.ts +11 -11
- package/src/generated/shopper/models/SetShowGroupResponse.ts +12 -12
- package/src/generated/shopper/models/SharedStream.ts +42 -42
- package/src/generated/shopper/models/ShowExtras.ts +59 -39
- package/src/generated/shopper/models/SiteDisposition.ts +10 -10
- package/src/generated/shopper/models/SiteTheme.ts +48 -48
- package/src/generated/shopper/models/StartSupportSessionDto.ts +15 -15
- package/src/generated/shopper/models/StreamAuthorization.ts +19 -19
- 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 -24
- package/src/generated/shopper/models/StreamInviteInput.ts +12 -12
- package/src/generated/shopper/models/StreamInvitesResponse.ts +13 -13
- 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 -19
- 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/TimedEntrySlot.ts +43 -43
- 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 +101 -101
- package/src/generated/shopper/services/CartService.ts +243 -243
- package/src/generated/shopper/services/CheckoutService.ts +207 -207
- package/src/generated/shopper/services/CodeService.ts +195 -195
- package/src/generated/shopper/services/DonationService.ts +90 -90
- package/src/generated/shopper/services/EventService.ts +226 -226
- package/src/generated/shopper/services/GiftCardService.ts +136 -136
- package/src/generated/shopper/services/HealthService.ts +21 -21
- package/src/generated/shopper/services/OccupancyService.ts +43 -43
- package/src/generated/shopper/services/OrderService.ts +1079 -1079
- package/src/generated/shopper/services/PaymentLinkService.ts +85 -85
- package/src/generated/shopper/services/PaymentService.ts +86 -86
- package/src/generated/shopper/services/ProductService.ts +86 -86
- package/src/generated/shopper/services/QixService.ts +105 -105
- package/src/generated/shopper/services/SeatService.ts +297 -297
- package/src/generated/shopper/services/SessionService.ts +333 -252
- package/src/generated/shopper/services/StripeService.ts +84 -84
- package/src/generated/shopper/types.ts +4 -0
- package/src/scripts/build-all.ts +412 -412
- 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/portal.ts +2 -0
- 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/cjs/src/generated/portal/models/{UnavailableSeating.js → AvaliableSeats.js} +0 -0
- /package/dist/cjs/src/generated/portal/models/{UnavailableSeating.d.ts → UnAvailableSeating.d.ts} +0 -0
- /package/dist/esm/src/generated/portal/models/{UnavailableSeating.js → AvaliableSeats.js} +0 -0
- /package/dist/esm/src/generated/portal/models/{UnavailableSeating.d.ts → UnAvailableSeating.d.ts} +0 -0
|
@@ -1,1134 +1,1134 @@
|
|
|
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';
|
|
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';
|
|
49
49
|
import { request as __request } from '../core/request';
|
|
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.
|
|
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
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: resolveShopperHeaders(context, xDrtDomain),
|
|
70
|
-
query: {
|
|
71
|
-
'guid': guid,
|
|
72
|
-
},
|
|
73
|
-
errors: {
|
|
74
|
-
400: `Bad Request error with error details.`,
|
|
75
|
-
404: `Not found error with error details.`,
|
|
76
|
-
500: `Internal Server Error, please contact developers.`,
|
|
77
|
-
},
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* Stamp the session source order
|
|
82
|
-
* Records the given order as the current session's source order (session.src_order_id) for attribution (ORD-1, legacy order-set-src).
|
|
83
|
-
* @param guid Unique identifier for an order.
|
|
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: resolveShopperHeaders(context, xDrtDomain),
|
|
70
|
+
query: {
|
|
71
|
+
'guid': guid,
|
|
72
|
+
},
|
|
73
|
+
errors: {
|
|
74
|
+
400: `Bad Request error with error details.`,
|
|
75
|
+
404: `Not found error with error details.`,
|
|
76
|
+
500: `Internal Server Error, please contact developers.`,
|
|
77
|
+
},
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Stamp the session source order
|
|
82
|
+
* Records the given order as the current session's source order (session.src_order_id) for attribution (ORD-1, legacy order-set-src).
|
|
83
|
+
* @param guid Unique identifier for an order.
|
|
84
84
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
85
|
-
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
86
|
-
* @returns SuccessResponse Returns success after stamping the source order.
|
|
87
|
-
* @throws ApiError
|
|
88
|
-
*/
|
|
89
|
-
public static setOrderSrc(
|
|
90
|
-
guid: string,
|
|
91
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
92
|
-
xDrtDomain?: string,
|
|
93
|
-
): CancelablePromise<SuccessResponse> {
|
|
94
|
-
return __request(OpenAPI, {
|
|
95
|
-
method: 'POST',
|
|
96
|
-
url: '/order/set-src',
|
|
97
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
98
|
-
query: {
|
|
99
|
-
'guid': guid,
|
|
100
|
-
},
|
|
101
|
-
errors: {
|
|
102
|
-
400: `Bad Request error with error details.`,
|
|
103
|
-
404: `Not found error with error details.`,
|
|
104
|
-
500: `Internal Server Error, please contact developers.`,
|
|
105
|
-
},
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* Get the balance owed on an order
|
|
110
|
-
* 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).
|
|
111
|
-
* @param guid Unique identifier for an order.
|
|
85
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
86
|
+
* @returns SuccessResponse Returns success after stamping the source order.
|
|
87
|
+
* @throws ApiError
|
|
88
|
+
*/
|
|
89
|
+
public static setOrderSrc(
|
|
90
|
+
guid: string,
|
|
91
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
92
|
+
xDrtDomain?: string,
|
|
93
|
+
): CancelablePromise<SuccessResponse> {
|
|
94
|
+
return __request(OpenAPI, {
|
|
95
|
+
method: 'POST',
|
|
96
|
+
url: '/order/set-src',
|
|
97
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
98
|
+
query: {
|
|
99
|
+
'guid': guid,
|
|
100
|
+
},
|
|
101
|
+
errors: {
|
|
102
|
+
400: `Bad Request error with error details.`,
|
|
103
|
+
404: `Not found error with error details.`,
|
|
104
|
+
500: `Internal Server Error, please contact developers.`,
|
|
105
|
+
},
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Get the balance owed on an order
|
|
110
|
+
* 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).
|
|
111
|
+
* @param guid Unique identifier for an order.
|
|
112
112
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
113
|
-
* @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).
|
|
114
|
-
* @returns OrderBalance Returns the order balance and adjustment-payment gating.
|
|
115
|
-
* @throws ApiError
|
|
116
|
-
*/
|
|
117
|
-
public static getOrderBalance(
|
|
118
|
-
guid: string,
|
|
119
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
120
|
-
xDrtDomain?: string,
|
|
121
|
-
): CancelablePromise<OrderBalance> {
|
|
122
|
-
return __request(OpenAPI, {
|
|
123
|
-
method: 'GET',
|
|
124
|
-
url: '/order/balance',
|
|
125
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
126
|
-
query: {
|
|
127
|
-
'guid': guid,
|
|
128
|
-
},
|
|
129
|
-
errors: {
|
|
130
|
-
400: `Bad Request error with error details.`,
|
|
131
|
-
404: `Not found error with error details.`,
|
|
132
|
-
500: `Internal Server Error, please contact developers.`,
|
|
133
|
-
},
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
/**
|
|
137
|
-
* Poll the payment status of an order
|
|
138
|
-
* 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).
|
|
139
|
-
* @param guid Unique identifier for an order.
|
|
113
|
+
* @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).
|
|
114
|
+
* @returns OrderBalance Returns the order balance and adjustment-payment gating.
|
|
115
|
+
* @throws ApiError
|
|
116
|
+
*/
|
|
117
|
+
public static getOrderBalance(
|
|
118
|
+
guid: string,
|
|
119
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
120
|
+
xDrtDomain?: string,
|
|
121
|
+
): CancelablePromise<OrderBalance> {
|
|
122
|
+
return __request(OpenAPI, {
|
|
123
|
+
method: 'GET',
|
|
124
|
+
url: '/order/balance',
|
|
125
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
126
|
+
query: {
|
|
127
|
+
'guid': guid,
|
|
128
|
+
},
|
|
129
|
+
errors: {
|
|
130
|
+
400: `Bad Request error with error details.`,
|
|
131
|
+
404: `Not found error with error details.`,
|
|
132
|
+
500: `Internal Server Error, please contact developers.`,
|
|
133
|
+
},
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Poll the payment status of an order
|
|
138
|
+
* 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).
|
|
139
|
+
* @param guid Unique identifier for an order.
|
|
140
140
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
141
|
-
* @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).
|
|
142
|
-
* @returns OrderPaymentStatus Returns the order payment status.
|
|
143
|
-
* @throws ApiError
|
|
144
|
-
*/
|
|
145
|
-
public static getOrderPaymentStatus(
|
|
146
|
-
guid: string,
|
|
147
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
148
|
-
xDrtDomain?: string,
|
|
149
|
-
): CancelablePromise<OrderPaymentStatus> {
|
|
150
|
-
return __request(OpenAPI, {
|
|
151
|
-
method: 'GET',
|
|
152
|
-
url: '/order/payment-status',
|
|
153
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
154
|
-
query: {
|
|
155
|
-
'guid': guid,
|
|
156
|
-
},
|
|
157
|
-
errors: {
|
|
158
|
-
400: `Bad Request error with error details.`,
|
|
159
|
-
404: `Not found error with error details.`,
|
|
160
|
-
500: `Internal Server Error, please contact developers.`,
|
|
161
|
-
},
|
|
162
|
-
});
|
|
163
|
-
}
|
|
164
|
-
/**
|
|
165
|
-
* Find an existing order
|
|
166
|
-
* 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.
|
|
141
|
+
* @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).
|
|
142
|
+
* @returns OrderPaymentStatus Returns the order payment status.
|
|
143
|
+
* @throws ApiError
|
|
144
|
+
*/
|
|
145
|
+
public static getOrderPaymentStatus(
|
|
146
|
+
guid: string,
|
|
147
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
148
|
+
xDrtDomain?: string,
|
|
149
|
+
): CancelablePromise<OrderPaymentStatus> {
|
|
150
|
+
return __request(OpenAPI, {
|
|
151
|
+
method: 'GET',
|
|
152
|
+
url: '/order/payment-status',
|
|
153
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
154
|
+
query: {
|
|
155
|
+
'guid': guid,
|
|
156
|
+
},
|
|
157
|
+
errors: {
|
|
158
|
+
400: `Bad Request error with error details.`,
|
|
159
|
+
404: `Not found error with error details.`,
|
|
160
|
+
500: `Internal Server Error, please contact developers.`,
|
|
161
|
+
},
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Find an existing order
|
|
166
|
+
* 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.
|
|
167
167
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
168
|
-
* @param requestBody
|
|
169
|
-
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
170
|
-
* @returns OrderLookupResult Matching orders, newest first. An empty list is a valid answer.
|
|
171
|
-
* @throws ApiError
|
|
172
|
-
*/
|
|
173
|
-
public static lookupOrders(
|
|
168
|
+
* @param requestBody
|
|
169
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
170
|
+
* @returns OrderLookupResult Matching orders, newest first. An empty list is a valid answer.
|
|
171
|
+
* @throws ApiError
|
|
172
|
+
*/
|
|
173
|
+
public static lookupOrders(
|
|
174
174
|
requestBody: OrderLookupBody,
|
|
175
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
176
|
-
xDrtDomain?: string,
|
|
177
|
-
): CancelablePromise<Array<OrderLookupResult>> {
|
|
178
|
-
return __request(OpenAPI, {
|
|
179
|
-
method: 'POST',
|
|
180
|
-
url: '/order/lookup',
|
|
181
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
182
|
-
body: requestBody,
|
|
183
|
-
mediaType: 'application/json',
|
|
184
|
-
errors: {
|
|
185
|
-
400: `Fewer than two identification factors.`,
|
|
186
|
-
404: `Not found error with error details.`,
|
|
187
|
-
500: `Internal Server Error, please contact developers.`,
|
|
188
|
-
},
|
|
189
|
-
});
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* Get Gwallet link by guid
|
|
193
|
-
* Fetches the Gwallet link for an order using its unique guid.
|
|
194
|
-
* @param guid Unique identifier for an order.
|
|
175
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
176
|
+
xDrtDomain?: string,
|
|
177
|
+
): CancelablePromise<Array<OrderLookupResult>> {
|
|
178
|
+
return __request(OpenAPI, {
|
|
179
|
+
method: 'POST',
|
|
180
|
+
url: '/order/lookup',
|
|
181
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
182
|
+
body: requestBody,
|
|
183
|
+
mediaType: 'application/json',
|
|
184
|
+
errors: {
|
|
185
|
+
400: `Fewer than two identification factors.`,
|
|
186
|
+
404: `Not found error with error details.`,
|
|
187
|
+
500: `Internal Server Error, please contact developers.`,
|
|
188
|
+
},
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Get Gwallet link by guid
|
|
193
|
+
* Fetches the Gwallet link for an order using its unique guid.
|
|
194
|
+
* @param guid Unique identifier for an order.
|
|
195
195
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
196
|
-
* @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).
|
|
197
|
-
* @returns LinkWithSuccess Returns the Gwallet link.
|
|
198
|
-
* @throws ApiError
|
|
199
|
-
*/
|
|
200
|
-
public static getGwalletLink(
|
|
201
|
-
guid: string,
|
|
202
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
203
|
-
xDrtDomain?: string,
|
|
204
|
-
): CancelablePromise<LinkWithSuccess> {
|
|
205
|
-
return __request(OpenAPI, {
|
|
206
|
-
method: 'GET',
|
|
207
|
-
url: '/order/gwallet',
|
|
208
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
209
|
-
query: {
|
|
210
|
-
'guid': guid,
|
|
211
|
-
},
|
|
212
|
-
errors: {
|
|
213
|
-
400: `Bad Request error with error details.`,
|
|
214
|
-
404: `Not found error with error details.`,
|
|
215
|
-
500: `Internal Server Error, please contact developers.`,
|
|
216
|
-
},
|
|
217
|
-
});
|
|
218
|
-
}
|
|
219
|
-
/**
|
|
220
|
-
* Get Gwallet link by block-of-tickets guid
|
|
221
|
-
* 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.
|
|
222
|
-
* @param guid Unique identifier for an order.
|
|
196
|
+
* @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).
|
|
197
|
+
* @returns LinkWithSuccess Returns the Gwallet link.
|
|
198
|
+
* @throws ApiError
|
|
199
|
+
*/
|
|
200
|
+
public static getGwalletLink(
|
|
201
|
+
guid: string,
|
|
202
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
203
|
+
xDrtDomain?: string,
|
|
204
|
+
): CancelablePromise<LinkWithSuccess> {
|
|
205
|
+
return __request(OpenAPI, {
|
|
206
|
+
method: 'GET',
|
|
207
|
+
url: '/order/gwallet',
|
|
208
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
209
|
+
query: {
|
|
210
|
+
'guid': guid,
|
|
211
|
+
},
|
|
212
|
+
errors: {
|
|
213
|
+
400: `Bad Request error with error details.`,
|
|
214
|
+
404: `Not found error with error details.`,
|
|
215
|
+
500: `Internal Server Error, please contact developers.`,
|
|
216
|
+
},
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Get Gwallet link by block-of-tickets guid
|
|
221
|
+
* 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.
|
|
222
|
+
* @param guid Unique identifier for an order.
|
|
223
223
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
224
|
-
* @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).
|
|
225
|
-
* @returns LinkWithSuccess Returns the Gwallet link.
|
|
226
|
-
* @throws ApiError
|
|
227
|
-
*/
|
|
228
|
-
public static getGwalletBlockLink(
|
|
229
|
-
guid: string,
|
|
230
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
231
|
-
xDrtDomain?: string,
|
|
232
|
-
): CancelablePromise<LinkWithSuccess> {
|
|
233
|
-
return __request(OpenAPI, {
|
|
234
|
-
method: 'GET',
|
|
235
|
-
url: '/order/gwallet-block',
|
|
236
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
237
|
-
query: {
|
|
238
|
-
'guid': guid,
|
|
239
|
-
},
|
|
240
|
-
errors: {
|
|
241
|
-
400: `Bad Request error with error details.`,
|
|
242
|
-
404: `Not found error with error details.`,
|
|
243
|
-
500: `Internal Server Error, please contact developers.`,
|
|
244
|
-
},
|
|
245
|
-
});
|
|
246
|
-
}
|
|
247
|
-
/**
|
|
248
|
-
* Get testing guid (operator only)
|
|
249
|
-
* Fetches a random order guid for development purposes. Requires a logged-in operator session — returns 403 for a plain shopper.
|
|
250
|
-
* @param guid Unique identifier for an order.
|
|
224
|
+
* @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).
|
|
225
|
+
* @returns LinkWithSuccess Returns the Gwallet link.
|
|
226
|
+
* @throws ApiError
|
|
227
|
+
*/
|
|
228
|
+
public static getGwalletBlockLink(
|
|
229
|
+
guid: string,
|
|
230
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
231
|
+
xDrtDomain?: string,
|
|
232
|
+
): CancelablePromise<LinkWithSuccess> {
|
|
233
|
+
return __request(OpenAPI, {
|
|
234
|
+
method: 'GET',
|
|
235
|
+
url: '/order/gwallet-block',
|
|
236
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
237
|
+
query: {
|
|
238
|
+
'guid': guid,
|
|
239
|
+
},
|
|
240
|
+
errors: {
|
|
241
|
+
400: `Bad Request error with error details.`,
|
|
242
|
+
404: `Not found error with error details.`,
|
|
243
|
+
500: `Internal Server Error, please contact developers.`,
|
|
244
|
+
},
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* Get testing guid (operator only)
|
|
249
|
+
* Fetches a random order guid for development purposes. Requires a logged-in operator session — returns 403 for a plain shopper.
|
|
250
|
+
* @param guid Unique identifier for an order.
|
|
251
251
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
252
|
-
* @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).
|
|
253
|
-
* @returns GuidReturn Returns a testing guid.
|
|
254
|
-
* @throws ApiError
|
|
255
|
-
*/
|
|
256
|
-
public static getTestingGuid(
|
|
257
|
-
guid: string,
|
|
258
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
259
|
-
xDrtDomain?: string,
|
|
260
|
-
): CancelablePromise<GuidReturn> {
|
|
261
|
-
return __request(OpenAPI, {
|
|
262
|
-
method: 'GET',
|
|
263
|
-
url: '/order/testing',
|
|
264
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
265
|
-
query: {
|
|
266
|
-
'guid': guid,
|
|
267
|
-
},
|
|
268
|
-
errors: {
|
|
269
|
-
400: `Bad Request error with error details.`,
|
|
270
|
-
404: `Not found error with error details.`,
|
|
271
|
-
500: `Internal Server Error, please contact developers.`,
|
|
272
|
-
},
|
|
273
|
-
});
|
|
274
|
-
}
|
|
275
|
-
/**
|
|
276
|
-
* Get assign names by guid
|
|
277
|
-
* Fetches the assign names information for an order using its unique guid.
|
|
278
|
-
* @param guid Unique identifier for an order.
|
|
252
|
+
* @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).
|
|
253
|
+
* @returns GuidReturn Returns a testing guid.
|
|
254
|
+
* @throws ApiError
|
|
255
|
+
*/
|
|
256
|
+
public static getTestingGuid(
|
|
257
|
+
guid: string,
|
|
258
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
259
|
+
xDrtDomain?: string,
|
|
260
|
+
): CancelablePromise<GuidReturn> {
|
|
261
|
+
return __request(OpenAPI, {
|
|
262
|
+
method: 'GET',
|
|
263
|
+
url: '/order/testing',
|
|
264
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
265
|
+
query: {
|
|
266
|
+
'guid': guid,
|
|
267
|
+
},
|
|
268
|
+
errors: {
|
|
269
|
+
400: `Bad Request error with error details.`,
|
|
270
|
+
404: `Not found error with error details.`,
|
|
271
|
+
500: `Internal Server Error, please contact developers.`,
|
|
272
|
+
},
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* Get assign names by guid
|
|
277
|
+
* Fetches the assign names information for an order using its unique guid.
|
|
278
|
+
* @param guid Unique identifier for an order.
|
|
279
279
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
280
|
-
* @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).
|
|
281
|
-
* @returns AssignNamesReturn Returns the assign names information.
|
|
282
|
-
* @throws ApiError
|
|
283
|
-
*/
|
|
284
|
-
public static getAssignNames(
|
|
285
|
-
guid: string,
|
|
286
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
287
|
-
xDrtDomain?: string,
|
|
288
|
-
): CancelablePromise<AssignNamesReturn> {
|
|
289
|
-
return __request(OpenAPI, {
|
|
290
|
-
method: 'GET',
|
|
291
|
-
url: '/order/assign-names',
|
|
292
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
293
|
-
query: {
|
|
294
|
-
'guid': guid,
|
|
295
|
-
},
|
|
296
|
-
errors: {
|
|
297
|
-
400: `Bad Request error with error details.`,
|
|
298
|
-
404: `Not found error with error details.`,
|
|
299
|
-
500: `Internal Server Error, please contact developers.`,
|
|
300
|
-
},
|
|
301
|
-
});
|
|
302
|
-
}
|
|
303
|
-
/**
|
|
304
|
-
* Post assign names
|
|
305
|
-
* Assigns names to an order using its unique guid and the provided names.
|
|
306
|
-
* @param guid Unique identifier for an order.
|
|
280
|
+
* @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).
|
|
281
|
+
* @returns AssignNamesReturn Returns the assign names information.
|
|
282
|
+
* @throws ApiError
|
|
283
|
+
*/
|
|
284
|
+
public static getAssignNames(
|
|
285
|
+
guid: string,
|
|
286
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
287
|
+
xDrtDomain?: string,
|
|
288
|
+
): CancelablePromise<AssignNamesReturn> {
|
|
289
|
+
return __request(OpenAPI, {
|
|
290
|
+
method: 'GET',
|
|
291
|
+
url: '/order/assign-names',
|
|
292
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
293
|
+
query: {
|
|
294
|
+
'guid': guid,
|
|
295
|
+
},
|
|
296
|
+
errors: {
|
|
297
|
+
400: `Bad Request error with error details.`,
|
|
298
|
+
404: `Not found error with error details.`,
|
|
299
|
+
500: `Internal Server Error, please contact developers.`,
|
|
300
|
+
},
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Post assign names
|
|
305
|
+
* Assigns names to an order using its unique guid and the provided names.
|
|
306
|
+
* @param guid Unique identifier for an order.
|
|
307
307
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
308
|
-
* @param requestBody Names to be assigned to the order.
|
|
309
|
-
* @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).
|
|
310
|
-
* @returns SuccessResponse Returns success status after assigning names.
|
|
311
|
-
* @throws ApiError
|
|
312
|
-
*/
|
|
313
|
-
public static postAssignNames(
|
|
314
|
-
guid: string,
|
|
308
|
+
* @param requestBody Names to be assigned to the order.
|
|
309
|
+
* @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).
|
|
310
|
+
* @returns SuccessResponse Returns success status after assigning names.
|
|
311
|
+
* @throws ApiError
|
|
312
|
+
*/
|
|
313
|
+
public static postAssignNames(
|
|
314
|
+
guid: string,
|
|
315
315
|
requestBody: NameUpdate,
|
|
316
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
317
|
-
xDrtDomain?: string,
|
|
318
|
-
): CancelablePromise<SuccessResponse> {
|
|
319
|
-
return __request(OpenAPI, {
|
|
320
|
-
method: 'POST',
|
|
321
|
-
url: '/order/assign-names',
|
|
322
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
323
|
-
query: {
|
|
324
|
-
'guid': guid,
|
|
325
|
-
},
|
|
326
|
-
body: requestBody,
|
|
327
|
-
mediaType: 'application/json',
|
|
328
|
-
errors: {
|
|
329
|
-
400: `Bad Request error with error details.`,
|
|
330
|
-
404: `Not found error with error details.`,
|
|
331
|
-
500: `Internal Server Error, please contact developers.`,
|
|
332
|
-
},
|
|
333
|
-
});
|
|
334
|
-
}
|
|
335
|
-
/**
|
|
336
|
-
* Post email tickets
|
|
337
|
-
* Sends email tickets for an order using its unique guid and the provided email update.
|
|
338
|
-
* @param guid Unique identifier for an order.
|
|
316
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
317
|
+
xDrtDomain?: string,
|
|
318
|
+
): CancelablePromise<SuccessResponse> {
|
|
319
|
+
return __request(OpenAPI, {
|
|
320
|
+
method: 'POST',
|
|
321
|
+
url: '/order/assign-names',
|
|
322
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
323
|
+
query: {
|
|
324
|
+
'guid': guid,
|
|
325
|
+
},
|
|
326
|
+
body: requestBody,
|
|
327
|
+
mediaType: 'application/json',
|
|
328
|
+
errors: {
|
|
329
|
+
400: `Bad Request error with error details.`,
|
|
330
|
+
404: `Not found error with error details.`,
|
|
331
|
+
500: `Internal Server Error, please contact developers.`,
|
|
332
|
+
},
|
|
333
|
+
});
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* Post email tickets
|
|
337
|
+
* Sends email tickets for an order using its unique guid and the provided email update.
|
|
338
|
+
* @param guid Unique identifier for an order.
|
|
339
339
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
340
|
-
* @param requestBody Email update containing the email address to send tickets.
|
|
341
|
-
* @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).
|
|
342
|
-
* @returns SuccessResponse Returns success status after sending email tickets.
|
|
343
|
-
* @throws ApiError
|
|
344
|
-
*/
|
|
345
|
-
public static postEmailTickets(
|
|
346
|
-
guid: string,
|
|
340
|
+
* @param requestBody Email update containing the email address to send tickets.
|
|
341
|
+
* @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).
|
|
342
|
+
* @returns SuccessResponse Returns success status after sending email tickets.
|
|
343
|
+
* @throws ApiError
|
|
344
|
+
*/
|
|
345
|
+
public static postEmailTickets(
|
|
346
|
+
guid: string,
|
|
347
347
|
requestBody: EmailUpdate,
|
|
348
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
349
|
-
xDrtDomain?: string,
|
|
350
|
-
): CancelablePromise<SuccessResponse> {
|
|
351
|
-
return __request(OpenAPI, {
|
|
352
|
-
method: 'POST',
|
|
353
|
-
url: '/order/email-tickets',
|
|
354
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
355
|
-
query: {
|
|
356
|
-
'guid': guid,
|
|
357
|
-
},
|
|
358
|
-
body: requestBody,
|
|
359
|
-
mediaType: 'application/json',
|
|
360
|
-
errors: {
|
|
361
|
-
400: `Bad Request error with error details.`,
|
|
362
|
-
404: `Not found error with error details.`,
|
|
363
|
-
500: `Internal Server Error, please contact developers.`,
|
|
364
|
-
},
|
|
365
|
-
});
|
|
366
|
-
}
|
|
367
|
-
/**
|
|
368
|
-
* Get ticket block by guid
|
|
369
|
-
* Fetches the ticket block for an order using its unique guid.
|
|
370
|
-
* @param guid Unique identifier for an order.
|
|
348
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
349
|
+
xDrtDomain?: string,
|
|
350
|
+
): CancelablePromise<SuccessResponse> {
|
|
351
|
+
return __request(OpenAPI, {
|
|
352
|
+
method: 'POST',
|
|
353
|
+
url: '/order/email-tickets',
|
|
354
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
355
|
+
query: {
|
|
356
|
+
'guid': guid,
|
|
357
|
+
},
|
|
358
|
+
body: requestBody,
|
|
359
|
+
mediaType: 'application/json',
|
|
360
|
+
errors: {
|
|
361
|
+
400: `Bad Request error with error details.`,
|
|
362
|
+
404: `Not found error with error details.`,
|
|
363
|
+
500: `Internal Server Error, please contact developers.`,
|
|
364
|
+
},
|
|
365
|
+
});
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* Get ticket block by guid
|
|
369
|
+
* Fetches the ticket block for an order using its unique guid.
|
|
370
|
+
* @param guid Unique identifier for an order.
|
|
371
371
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
372
|
-
* @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).
|
|
373
|
-
* @returns PickupReturn Returns the ticket block for the order.
|
|
374
|
-
* @throws ApiError
|
|
375
|
-
*/
|
|
376
|
-
public static getTicketBlock(
|
|
377
|
-
guid: string,
|
|
378
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
379
|
-
xDrtDomain?: string,
|
|
380
|
-
): CancelablePromise<PickupReturn> {
|
|
381
|
-
return __request(OpenAPI, {
|
|
382
|
-
method: 'GET',
|
|
383
|
-
url: '/order/pickup',
|
|
384
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
385
|
-
query: {
|
|
386
|
-
'guid': guid,
|
|
387
|
-
},
|
|
388
|
-
errors: {
|
|
389
|
-
400: `Bad Request error with error details.`,
|
|
390
|
-
404: `Not found error with error details.`,
|
|
391
|
-
500: `Internal Server Error, please contact developers.`,
|
|
392
|
-
},
|
|
393
|
-
});
|
|
394
|
-
}
|
|
395
|
-
/**
|
|
396
|
-
* Post ticket block by guid
|
|
397
|
-
* Sends the ticket block for an order using its unique guid.
|
|
398
|
-
* @param guid Unique identifier for an order.
|
|
372
|
+
* @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).
|
|
373
|
+
* @returns PickupReturn Returns the ticket block for the order.
|
|
374
|
+
* @throws ApiError
|
|
375
|
+
*/
|
|
376
|
+
public static getTicketBlock(
|
|
377
|
+
guid: string,
|
|
378
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
379
|
+
xDrtDomain?: string,
|
|
380
|
+
): CancelablePromise<PickupReturn> {
|
|
381
|
+
return __request(OpenAPI, {
|
|
382
|
+
method: 'GET',
|
|
383
|
+
url: '/order/pickup',
|
|
384
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
385
|
+
query: {
|
|
386
|
+
'guid': guid,
|
|
387
|
+
},
|
|
388
|
+
errors: {
|
|
389
|
+
400: `Bad Request error with error details.`,
|
|
390
|
+
404: `Not found error with error details.`,
|
|
391
|
+
500: `Internal Server Error, please contact developers.`,
|
|
392
|
+
},
|
|
393
|
+
});
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Post ticket block by guid
|
|
397
|
+
* Sends the ticket block for an order using its unique guid.
|
|
398
|
+
* @param guid Unique identifier for an order.
|
|
399
399
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
400
|
-
* @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).
|
|
401
|
-
* @returns SuccessResponse Returns the ticket block for the order.
|
|
402
|
-
* @throws ApiError
|
|
403
|
-
*/
|
|
404
|
-
public static postPickup(
|
|
405
|
-
guid: string,
|
|
406
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
407
|
-
xDrtDomain?: string,
|
|
408
|
-
): CancelablePromise<SuccessResponse> {
|
|
409
|
-
return __request(OpenAPI, {
|
|
410
|
-
method: 'POST',
|
|
411
|
-
url: '/order/pickup',
|
|
412
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
413
|
-
query: {
|
|
414
|
-
'guid': guid,
|
|
415
|
-
},
|
|
416
|
-
errors: {
|
|
417
|
-
400: `Bad Request error with error details.`,
|
|
418
|
-
404: `Not found error with error details.`,
|
|
419
|
-
500: `Internal Server Error, please contact developers.`,
|
|
420
|
-
},
|
|
421
|
-
});
|
|
422
|
-
}
|
|
423
|
-
/**
|
|
424
|
-
* Send order receipt via email
|
|
425
|
-
* Sends the order receipt to the shopper's email address for the specified order guid.
|
|
426
|
-
* @param guid Unique identifier for an order.
|
|
400
|
+
* @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).
|
|
401
|
+
* @returns SuccessResponse Returns the ticket block for the order.
|
|
402
|
+
* @throws ApiError
|
|
403
|
+
*/
|
|
404
|
+
public static postPickup(
|
|
405
|
+
guid: string,
|
|
406
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
407
|
+
xDrtDomain?: string,
|
|
408
|
+
): CancelablePromise<SuccessResponse> {
|
|
409
|
+
return __request(OpenAPI, {
|
|
410
|
+
method: 'POST',
|
|
411
|
+
url: '/order/pickup',
|
|
412
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
413
|
+
query: {
|
|
414
|
+
'guid': guid,
|
|
415
|
+
},
|
|
416
|
+
errors: {
|
|
417
|
+
400: `Bad Request error with error details.`,
|
|
418
|
+
404: `Not found error with error details.`,
|
|
419
|
+
500: `Internal Server Error, please contact developers.`,
|
|
420
|
+
},
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
/**
|
|
424
|
+
* Send order receipt via email
|
|
425
|
+
* Sends the order receipt to the shopper's email address for the specified order guid.
|
|
426
|
+
* @param guid Unique identifier for an order.
|
|
427
427
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
428
|
-
* @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).
|
|
429
|
-
* @returns SuccessResponse Returns success status after emailing the receipt.
|
|
430
|
-
* @throws ApiError
|
|
431
|
-
*/
|
|
432
|
-
public static postEmailReceipt(
|
|
433
|
-
guid: string,
|
|
434
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
435
|
-
xDrtDomain?: string,
|
|
436
|
-
): CancelablePromise<SuccessResponse> {
|
|
437
|
-
return __request(OpenAPI, {
|
|
438
|
-
method: 'POST',
|
|
439
|
-
url: '/order/email-receipt',
|
|
440
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
441
|
-
query: {
|
|
442
|
-
'guid': guid,
|
|
443
|
-
},
|
|
444
|
-
errors: {
|
|
445
|
-
400: `Bad Request error with error details.`,
|
|
446
|
-
404: `Not found error with error details.`,
|
|
447
|
-
500: `Internal Server Error, please contact developers.`,
|
|
448
|
-
},
|
|
449
|
-
});
|
|
450
|
-
}
|
|
451
|
-
/**
|
|
452
|
-
* Get refund request information
|
|
453
|
-
* Fetches the refund request information for an order using its unique guid.
|
|
454
|
-
* @param guid Unique identifier for an order.
|
|
428
|
+
* @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).
|
|
429
|
+
* @returns SuccessResponse Returns success status after emailing the receipt.
|
|
430
|
+
* @throws ApiError
|
|
431
|
+
*/
|
|
432
|
+
public static postEmailReceipt(
|
|
433
|
+
guid: string,
|
|
434
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
435
|
+
xDrtDomain?: string,
|
|
436
|
+
): CancelablePromise<SuccessResponse> {
|
|
437
|
+
return __request(OpenAPI, {
|
|
438
|
+
method: 'POST',
|
|
439
|
+
url: '/order/email-receipt',
|
|
440
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
441
|
+
query: {
|
|
442
|
+
'guid': guid,
|
|
443
|
+
},
|
|
444
|
+
errors: {
|
|
445
|
+
400: `Bad Request error with error details.`,
|
|
446
|
+
404: `Not found error with error details.`,
|
|
447
|
+
500: `Internal Server Error, please contact developers.`,
|
|
448
|
+
},
|
|
449
|
+
});
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* Get refund request information
|
|
453
|
+
* Fetches the refund request information for an order using its unique guid.
|
|
454
|
+
* @param guid Unique identifier for an order.
|
|
455
455
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
456
|
-
* @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).
|
|
457
|
-
* @returns RefundRequestInfo Returns the refund request information for the order.
|
|
458
|
-
* @throws ApiError
|
|
459
|
-
*/
|
|
460
|
-
public static getRefundRequest(
|
|
461
|
-
guid: string,
|
|
462
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
463
|
-
xDrtDomain?: string,
|
|
464
|
-
): CancelablePromise<RefundRequestInfo> {
|
|
465
|
-
return __request(OpenAPI, {
|
|
466
|
-
method: 'GET',
|
|
467
|
-
url: '/order/refund-request',
|
|
468
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
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
|
-
* Submit a refund request
|
|
481
|
-
* Submits a refund request for an order using its unique guid and the provided refund details.
|
|
482
|
-
* @param guid Unique identifier for an order.
|
|
456
|
+
* @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).
|
|
457
|
+
* @returns RefundRequestInfo Returns the refund request information for the order.
|
|
458
|
+
* @throws ApiError
|
|
459
|
+
*/
|
|
460
|
+
public static getRefundRequest(
|
|
461
|
+
guid: string,
|
|
462
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
463
|
+
xDrtDomain?: string,
|
|
464
|
+
): CancelablePromise<RefundRequestInfo> {
|
|
465
|
+
return __request(OpenAPI, {
|
|
466
|
+
method: 'GET',
|
|
467
|
+
url: '/order/refund-request',
|
|
468
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
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
|
+
* Submit a refund request
|
|
481
|
+
* Submits a refund request for an order using its unique guid and the provided refund details.
|
|
482
|
+
* @param guid Unique identifier for an order.
|
|
483
483
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
484
|
-
* @param requestBody Refund request details.
|
|
485
|
-
* @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).
|
|
486
|
-
* @returns SuccessResponse Returns success status after submitting the refund request.
|
|
487
|
-
* @throws ApiError
|
|
488
|
-
*/
|
|
489
|
-
public static postRefundRequest(
|
|
490
|
-
guid: string,
|
|
484
|
+
* @param requestBody Refund request details.
|
|
485
|
+
* @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).
|
|
486
|
+
* @returns SuccessResponse Returns success status after submitting the refund request.
|
|
487
|
+
* @throws ApiError
|
|
488
|
+
*/
|
|
489
|
+
public static postRefundRequest(
|
|
490
|
+
guid: string,
|
|
491
491
|
requestBody: RefundRequest,
|
|
492
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
493
|
-
xDrtDomain?: string,
|
|
494
|
-
): CancelablePromise<SuccessResponse> {
|
|
495
|
-
return __request(OpenAPI, {
|
|
496
|
-
method: 'POST',
|
|
497
|
-
url: '/order/refund-request',
|
|
498
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
499
|
-
query: {
|
|
500
|
-
'guid': guid,
|
|
501
|
-
},
|
|
502
|
-
body: requestBody,
|
|
503
|
-
mediaType: 'application/json',
|
|
504
|
-
errors: {
|
|
505
|
-
400: `Bad Request error with error details.`,
|
|
506
|
-
404: `Not found error with error details.`,
|
|
507
|
-
500: `Internal Server Error, please contact developers.`,
|
|
508
|
-
},
|
|
509
|
-
});
|
|
510
|
-
}
|
|
511
|
-
/**
|
|
512
|
-
* Recalculate order totals
|
|
513
|
-
* Recalculates the totals for an order using the provided recalculation data.
|
|
514
|
-
* @param guid Unique identifier for an order.
|
|
492
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
493
|
+
xDrtDomain?: string,
|
|
494
|
+
): CancelablePromise<SuccessResponse> {
|
|
495
|
+
return __request(OpenAPI, {
|
|
496
|
+
method: 'POST',
|
|
497
|
+
url: '/order/refund-request',
|
|
498
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
499
|
+
query: {
|
|
500
|
+
'guid': guid,
|
|
501
|
+
},
|
|
502
|
+
body: requestBody,
|
|
503
|
+
mediaType: 'application/json',
|
|
504
|
+
errors: {
|
|
505
|
+
400: `Bad Request error with error details.`,
|
|
506
|
+
404: `Not found error with error details.`,
|
|
507
|
+
500: `Internal Server Error, please contact developers.`,
|
|
508
|
+
},
|
|
509
|
+
});
|
|
510
|
+
}
|
|
511
|
+
/**
|
|
512
|
+
* Recalculate order totals
|
|
513
|
+
* Recalculates the totals for an order using the provided recalculation data.
|
|
514
|
+
* @param guid Unique identifier for an order.
|
|
515
515
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
516
|
-
* @param requestBody Order recalculation data.
|
|
517
|
-
* @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).
|
|
518
|
-
* @returns RecalcResponse Returns the recalculated order totals and success status.
|
|
519
|
-
* @throws ApiError
|
|
520
|
-
*/
|
|
521
|
-
public static postRecalcOrder(
|
|
522
|
-
guid: string,
|
|
516
|
+
* @param requestBody Order recalculation data.
|
|
517
|
+
* @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).
|
|
518
|
+
* @returns RecalcResponse Returns the recalculated order totals and success status.
|
|
519
|
+
* @throws ApiError
|
|
520
|
+
*/
|
|
521
|
+
public static postRecalcOrder(
|
|
522
|
+
guid: string,
|
|
523
523
|
requestBody: OrderRecalc,
|
|
524
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
525
|
-
xDrtDomain?: string,
|
|
526
|
-
): CancelablePromise<RecalcResponse> {
|
|
527
|
-
return __request(OpenAPI, {
|
|
528
|
-
method: 'POST',
|
|
529
|
-
url: '/order/recalc',
|
|
530
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
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
|
-
* Donate order in lieu of refund
|
|
545
|
-
* Marks an order as donated in lieu of refund using the provided order guid and donated IP address.
|
|
524
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
525
|
+
xDrtDomain?: string,
|
|
526
|
+
): CancelablePromise<RecalcResponse> {
|
|
527
|
+
return __request(OpenAPI, {
|
|
528
|
+
method: 'POST',
|
|
529
|
+
url: '/order/recalc',
|
|
530
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
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
|
+
* Donate order in lieu of refund
|
|
545
|
+
* Marks an order as donated in lieu of refund using the provided order guid and donated IP address.
|
|
546
546
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
547
|
-
* @param requestBody Donate order payload containing guid and donatedIpAddress.
|
|
548
|
-
* @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).
|
|
549
|
-
* @returns SuccessResponse Returns success status after donating the order.
|
|
550
|
-
* @throws ApiError
|
|
551
|
-
*/
|
|
552
|
-
public static postDonateOrder(
|
|
547
|
+
* @param requestBody Donate order payload containing guid and donatedIpAddress.
|
|
548
|
+
* @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).
|
|
549
|
+
* @returns SuccessResponse Returns success status after donating the order.
|
|
550
|
+
* @throws ApiError
|
|
551
|
+
*/
|
|
552
|
+
public static postDonateOrder(
|
|
553
553
|
requestBody: DonateOrderRequest,
|
|
554
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
555
|
-
xDrtDomain?: string,
|
|
556
|
-
): CancelablePromise<SuccessResponse> {
|
|
557
|
-
return __request(OpenAPI, {
|
|
558
|
-
method: 'POST',
|
|
559
|
-
url: '/order/donate-order',
|
|
560
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
561
|
-
body: requestBody,
|
|
562
|
-
mediaType: 'application/json',
|
|
563
|
-
errors: {
|
|
564
|
-
400: `Bad Request error with error details.`,
|
|
565
|
-
404: `Not found error with error details.`,
|
|
566
|
-
500: `Internal Server Error, please contact developers.`,
|
|
567
|
-
},
|
|
568
|
-
});
|
|
569
|
-
}
|
|
570
|
-
/**
|
|
571
|
-
* Get virtual-stream details/embed for an order
|
|
572
|
-
* 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).
|
|
573
|
-
* @param orderGuid
|
|
574
|
-
* @param streamGuid
|
|
554
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
555
|
+
xDrtDomain?: string,
|
|
556
|
+
): CancelablePromise<SuccessResponse> {
|
|
557
|
+
return __request(OpenAPI, {
|
|
558
|
+
method: 'POST',
|
|
559
|
+
url: '/order/donate-order',
|
|
560
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
561
|
+
body: requestBody,
|
|
562
|
+
mediaType: 'application/json',
|
|
563
|
+
errors: {
|
|
564
|
+
400: `Bad Request error with error details.`,
|
|
565
|
+
404: `Not found error with error details.`,
|
|
566
|
+
500: `Internal Server Error, please contact developers.`,
|
|
567
|
+
},
|
|
568
|
+
});
|
|
569
|
+
}
|
|
570
|
+
/**
|
|
571
|
+
* Get virtual-stream details/embed for an order
|
|
572
|
+
* 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).
|
|
573
|
+
* @param orderGuid
|
|
574
|
+
* @param streamGuid
|
|
575
575
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
576
|
-
* @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).
|
|
577
|
-
* @returns StreamDetails Returns the stream details.
|
|
578
|
-
* @throws ApiError
|
|
579
|
-
*/
|
|
580
|
-
public static getStreamDetails(
|
|
581
|
-
orderGuid: string,
|
|
582
|
-
streamGuid: string,
|
|
583
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
584
|
-
xDrtDomain?: string,
|
|
585
|
-
): CancelablePromise<StreamDetails> {
|
|
586
|
-
return __request(OpenAPI, {
|
|
587
|
-
method: 'GET',
|
|
588
|
-
url: '/order/stream',
|
|
589
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
590
|
-
query: {
|
|
591
|
-
'orderGuid': orderGuid,
|
|
592
|
-
'streamGuid': streamGuid,
|
|
593
|
-
},
|
|
594
|
-
errors: {
|
|
595
|
-
400: `Bad Request error with error details.`,
|
|
596
|
-
404: `Not found error with error details.`,
|
|
597
|
-
500: `Internal Server Error, please contact developers.`,
|
|
598
|
-
},
|
|
599
|
-
});
|
|
600
|
-
}
|
|
601
|
-
/**
|
|
602
|
-
* Is this device still authorised to watch? (VS-2)
|
|
603
|
-
* 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.
|
|
604
|
-
* @param registrationGuid
|
|
605
|
-
* @param streamGuid
|
|
576
|
+
* @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).
|
|
577
|
+
* @returns StreamDetails Returns the stream details.
|
|
578
|
+
* @throws ApiError
|
|
579
|
+
*/
|
|
580
|
+
public static getStreamDetails(
|
|
581
|
+
orderGuid: string,
|
|
582
|
+
streamGuid: string,
|
|
583
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
584
|
+
xDrtDomain?: string,
|
|
585
|
+
): CancelablePromise<StreamDetails> {
|
|
586
|
+
return __request(OpenAPI, {
|
|
587
|
+
method: 'GET',
|
|
588
|
+
url: '/order/stream',
|
|
589
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
590
|
+
query: {
|
|
591
|
+
'orderGuid': orderGuid,
|
|
592
|
+
'streamGuid': streamGuid,
|
|
593
|
+
},
|
|
594
|
+
errors: {
|
|
595
|
+
400: `Bad Request error with error details.`,
|
|
596
|
+
404: `Not found error with error details.`,
|
|
597
|
+
500: `Internal Server Error, please contact developers.`,
|
|
598
|
+
},
|
|
599
|
+
});
|
|
600
|
+
}
|
|
601
|
+
/**
|
|
602
|
+
* Is this device still authorised to watch? (VS-2)
|
|
603
|
+
* 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.
|
|
604
|
+
* @param registrationGuid
|
|
605
|
+
* @param streamGuid
|
|
606
606
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
607
|
-
* @param accessGuid
|
|
608
|
-
* @param orderGuid
|
|
609
|
-
* @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).
|
|
610
|
-
* @returns StreamAuthorization Returns the authorisation decision.
|
|
611
|
-
* @throws ApiError
|
|
612
|
-
*/
|
|
613
|
-
public static getStreamAuthorization(
|
|
614
|
-
registrationGuid: string,
|
|
615
|
-
streamGuid: string,
|
|
616
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
617
|
-
accessGuid?: string,
|
|
618
|
-
orderGuid?: string,
|
|
619
|
-
xDrtDomain?: string,
|
|
620
|
-
): CancelablePromise<StreamAuthorization> {
|
|
621
|
-
return __request(OpenAPI, {
|
|
622
|
-
method: 'GET',
|
|
623
|
-
url: '/order/stream/authorized',
|
|
624
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
625
|
-
query: {
|
|
626
|
-
'registrationGuid': registrationGuid,
|
|
627
|
-
'streamGuid': streamGuid,
|
|
628
|
-
'accessGuid': accessGuid,
|
|
629
|
-
'orderGuid': orderGuid,
|
|
630
|
-
},
|
|
631
|
-
errors: {
|
|
632
|
-
400: `Bad Request error with error details.`,
|
|
633
|
-
404: `Not found error with error details.`,
|
|
634
|
-
500: `Internal Server Error, please contact developers.`,
|
|
635
|
-
},
|
|
636
|
-
});
|
|
637
|
-
}
|
|
638
|
-
/**
|
|
639
|
-
* Resolve a shared /tv/{code} watch link (VS-2)
|
|
640
|
-
* 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.
|
|
641
|
-
* @param code
|
|
607
|
+
* @param accessGuid
|
|
608
|
+
* @param orderGuid
|
|
609
|
+
* @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).
|
|
610
|
+
* @returns StreamAuthorization Returns the authorisation decision.
|
|
611
|
+
* @throws ApiError
|
|
612
|
+
*/
|
|
613
|
+
public static getStreamAuthorization(
|
|
614
|
+
registrationGuid: string,
|
|
615
|
+
streamGuid: string,
|
|
616
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
617
|
+
accessGuid?: string,
|
|
618
|
+
orderGuid?: string,
|
|
619
|
+
xDrtDomain?: string,
|
|
620
|
+
): CancelablePromise<StreamAuthorization> {
|
|
621
|
+
return __request(OpenAPI, {
|
|
622
|
+
method: 'GET',
|
|
623
|
+
url: '/order/stream/authorized',
|
|
624
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
625
|
+
query: {
|
|
626
|
+
'registrationGuid': registrationGuid,
|
|
627
|
+
'streamGuid': streamGuid,
|
|
628
|
+
'accessGuid': accessGuid,
|
|
629
|
+
'orderGuid': orderGuid,
|
|
630
|
+
},
|
|
631
|
+
errors: {
|
|
632
|
+
400: `Bad Request error with error details.`,
|
|
633
|
+
404: `Not found error with error details.`,
|
|
634
|
+
500: `Internal Server Error, please contact developers.`,
|
|
635
|
+
},
|
|
636
|
+
});
|
|
637
|
+
}
|
|
638
|
+
/**
|
|
639
|
+
* Resolve a shared /tv/{code} watch link (VS-2)
|
|
640
|
+
* 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.
|
|
641
|
+
* @param code
|
|
642
642
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
643
|
-
* @param accessGuid
|
|
644
|
-
* @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).
|
|
645
|
-
* @returns SharedStream Returns the shared stream.
|
|
646
|
-
* @throws ApiError
|
|
647
|
-
*/
|
|
648
|
-
public static getSharedStream(
|
|
649
|
-
code: string,
|
|
650
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
651
|
-
accessGuid?: string,
|
|
652
|
-
xDrtDomain?: string,
|
|
653
|
-
): CancelablePromise<SharedStream> {
|
|
654
|
-
return __request(OpenAPI, {
|
|
655
|
-
method: 'GET',
|
|
656
|
-
url: '/order/stream/shared',
|
|
657
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
658
|
-
query: {
|
|
659
|
-
'code': code,
|
|
660
|
-
'accessGuid': accessGuid,
|
|
661
|
-
},
|
|
662
|
-
errors: {
|
|
663
|
-
400: `Bad Request error with error details.`,
|
|
664
|
-
404: `Not found error with error details.`,
|
|
665
|
-
500: `Internal Server Error, please contact developers.`,
|
|
666
|
-
},
|
|
667
|
-
});
|
|
668
|
-
}
|
|
669
|
-
/**
|
|
670
|
-
* The stream invite list for an order (VS-3)
|
|
671
|
-
* 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".
|
|
672
|
-
* @param orderGuid
|
|
673
|
-
* @param streamGuid
|
|
643
|
+
* @param accessGuid
|
|
644
|
+
* @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).
|
|
645
|
+
* @returns SharedStream Returns the shared stream.
|
|
646
|
+
* @throws ApiError
|
|
647
|
+
*/
|
|
648
|
+
public static getSharedStream(
|
|
649
|
+
code: string,
|
|
650
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
651
|
+
accessGuid?: string,
|
|
652
|
+
xDrtDomain?: string,
|
|
653
|
+
): CancelablePromise<SharedStream> {
|
|
654
|
+
return __request(OpenAPI, {
|
|
655
|
+
method: 'GET',
|
|
656
|
+
url: '/order/stream/shared',
|
|
657
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
658
|
+
query: {
|
|
659
|
+
'code': code,
|
|
660
|
+
'accessGuid': accessGuid,
|
|
661
|
+
},
|
|
662
|
+
errors: {
|
|
663
|
+
400: `Bad Request error with error details.`,
|
|
664
|
+
404: `Not found error with error details.`,
|
|
665
|
+
500: `Internal Server Error, please contact developers.`,
|
|
666
|
+
},
|
|
667
|
+
});
|
|
668
|
+
}
|
|
669
|
+
/**
|
|
670
|
+
* The stream invite list for an order (VS-3)
|
|
671
|
+
* 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".
|
|
672
|
+
* @param orderGuid
|
|
673
|
+
* @param streamGuid
|
|
674
674
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
675
|
-
* @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).
|
|
676
|
-
* @returns StreamInvitesResponse Returns the invite rows.
|
|
677
|
-
* @throws ApiError
|
|
678
|
-
*/
|
|
679
|
-
public static getStreamInvites(
|
|
680
|
-
orderGuid: string,
|
|
681
|
-
streamGuid: string,
|
|
682
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
683
|
-
xDrtDomain?: string,
|
|
684
|
-
): CancelablePromise<StreamInvitesResponse> {
|
|
685
|
-
return __request(OpenAPI, {
|
|
686
|
-
method: 'GET',
|
|
687
|
-
url: '/order/stream/invites',
|
|
688
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
689
|
-
query: {
|
|
690
|
-
'orderGuid': orderGuid,
|
|
691
|
-
'streamGuid': streamGuid,
|
|
692
|
-
},
|
|
693
|
-
errors: {
|
|
694
|
-
400: `Bad Request error with error details.`,
|
|
695
|
-
404: `Not found error with error details.`,
|
|
696
|
-
500: `Internal Server Error, please contact developers.`,
|
|
697
|
-
},
|
|
698
|
-
});
|
|
699
|
-
}
|
|
700
|
-
/**
|
|
701
|
-
* Save the stream invite rows and send the links (VS-3)
|
|
702
|
-
* 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).
|
|
675
|
+
* @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).
|
|
676
|
+
* @returns StreamInvitesResponse Returns the invite rows.
|
|
677
|
+
* @throws ApiError
|
|
678
|
+
*/
|
|
679
|
+
public static getStreamInvites(
|
|
680
|
+
orderGuid: string,
|
|
681
|
+
streamGuid: string,
|
|
682
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
683
|
+
xDrtDomain?: string,
|
|
684
|
+
): CancelablePromise<StreamInvitesResponse> {
|
|
685
|
+
return __request(OpenAPI, {
|
|
686
|
+
method: 'GET',
|
|
687
|
+
url: '/order/stream/invites',
|
|
688
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
689
|
+
query: {
|
|
690
|
+
'orderGuid': orderGuid,
|
|
691
|
+
'streamGuid': streamGuid,
|
|
692
|
+
},
|
|
693
|
+
errors: {
|
|
694
|
+
400: `Bad Request error with error details.`,
|
|
695
|
+
404: `Not found error with error details.`,
|
|
696
|
+
500: `Internal Server Error, please contact developers.`,
|
|
697
|
+
},
|
|
698
|
+
});
|
|
699
|
+
}
|
|
700
|
+
/**
|
|
701
|
+
* Save the stream invite rows and send the links (VS-3)
|
|
702
|
+
* 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).
|
|
703
703
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
704
|
-
* @param requestBody Invite rows.
|
|
705
|
-
* @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).
|
|
706
|
-
* @returns SaveStreamInvitesResponse Returns how many invite emails were sent.
|
|
707
|
-
* @throws ApiError
|
|
708
|
-
*/
|
|
709
|
-
public static saveStreamInvites(
|
|
704
|
+
* @param requestBody Invite rows.
|
|
705
|
+
* @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).
|
|
706
|
+
* @returns SaveStreamInvitesResponse Returns how many invite emails were sent.
|
|
707
|
+
* @throws ApiError
|
|
708
|
+
*/
|
|
709
|
+
public static saveStreamInvites(
|
|
710
710
|
requestBody: SaveStreamInvitesRequest,
|
|
711
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
712
|
-
xDrtDomain?: string,
|
|
713
|
-
): CancelablePromise<SaveStreamInvitesResponse> {
|
|
714
|
-
return __request(OpenAPI, {
|
|
715
|
-
method: 'POST',
|
|
716
|
-
url: '/order/stream/invites',
|
|
717
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
718
|
-
body: requestBody,
|
|
719
|
-
mediaType: 'application/json',
|
|
720
|
-
errors: {
|
|
721
|
-
400: `Bad Request error with error details.`,
|
|
722
|
-
404: `Not found error with error details.`,
|
|
723
|
-
500: `Internal Server Error, please contact developers.`,
|
|
724
|
-
},
|
|
725
|
-
});
|
|
726
|
-
}
|
|
727
|
-
/**
|
|
728
|
-
* Clear one invite row's registration (VS-3)
|
|
729
|
-
* 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.
|
|
711
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
712
|
+
xDrtDomain?: string,
|
|
713
|
+
): CancelablePromise<SaveStreamInvitesResponse> {
|
|
714
|
+
return __request(OpenAPI, {
|
|
715
|
+
method: 'POST',
|
|
716
|
+
url: '/order/stream/invites',
|
|
717
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
718
|
+
body: requestBody,
|
|
719
|
+
mediaType: 'application/json',
|
|
720
|
+
errors: {
|
|
721
|
+
400: `Bad Request error with error details.`,
|
|
722
|
+
404: `Not found error with error details.`,
|
|
723
|
+
500: `Internal Server Error, please contact developers.`,
|
|
724
|
+
},
|
|
725
|
+
});
|
|
726
|
+
}
|
|
727
|
+
/**
|
|
728
|
+
* Clear one invite row's registration (VS-3)
|
|
729
|
+
* 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.
|
|
730
730
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
731
|
-
* @param requestBody Which invite row to reset.
|
|
732
|
-
* @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).
|
|
733
|
-
* @returns SuccessResponse Returns success.
|
|
734
|
-
* @throws ApiError
|
|
735
|
-
*/
|
|
736
|
-
public static resetStreamInvite(
|
|
731
|
+
* @param requestBody Which invite row to reset.
|
|
732
|
+
* @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).
|
|
733
|
+
* @returns SuccessResponse Returns success.
|
|
734
|
+
* @throws ApiError
|
|
735
|
+
*/
|
|
736
|
+
public static resetStreamInvite(
|
|
737
737
|
requestBody: ResetStreamInviteRequest,
|
|
738
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
739
|
-
xDrtDomain?: string,
|
|
740
|
-
): CancelablePromise<SuccessResponse> {
|
|
741
|
-
return __request(OpenAPI, {
|
|
742
|
-
method: 'POST',
|
|
743
|
-
url: '/order/stream/invites/reset',
|
|
744
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
745
|
-
body: requestBody,
|
|
746
|
-
mediaType: 'application/json',
|
|
747
|
-
errors: {
|
|
748
|
-
400: `Bad Request error with error details.`,
|
|
749
|
-
404: `Not found error with error details.`,
|
|
750
|
-
500: `Internal Server Error, please contact developers.`,
|
|
751
|
-
},
|
|
752
|
-
});
|
|
753
|
-
}
|
|
754
|
-
/**
|
|
755
|
-
* Record a digital-asset download (VS-4)
|
|
756
|
-
* 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.
|
|
738
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
739
|
+
xDrtDomain?: string,
|
|
740
|
+
): CancelablePromise<SuccessResponse> {
|
|
741
|
+
return __request(OpenAPI, {
|
|
742
|
+
method: 'POST',
|
|
743
|
+
url: '/order/stream/invites/reset',
|
|
744
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
745
|
+
body: requestBody,
|
|
746
|
+
mediaType: 'application/json',
|
|
747
|
+
errors: {
|
|
748
|
+
400: `Bad Request error with error details.`,
|
|
749
|
+
404: `Not found error with error details.`,
|
|
750
|
+
500: `Internal Server Error, please contact developers.`,
|
|
751
|
+
},
|
|
752
|
+
});
|
|
753
|
+
}
|
|
754
|
+
/**
|
|
755
|
+
* Record a digital-asset download (VS-4)
|
|
756
|
+
* 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.
|
|
757
757
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
758
|
-
* @param requestBody The order and asset to log.
|
|
759
|
-
* @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).
|
|
760
|
-
* @returns AssetDownloadResponse Returns the asset href.
|
|
761
|
-
* @throws ApiError
|
|
762
|
-
*/
|
|
763
|
-
public static logAssetDownload(
|
|
758
|
+
* @param requestBody The order and asset to log.
|
|
759
|
+
* @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).
|
|
760
|
+
* @returns AssetDownloadResponse Returns the asset href.
|
|
761
|
+
* @throws ApiError
|
|
762
|
+
*/
|
|
763
|
+
public static logAssetDownload(
|
|
764
764
|
requestBody: AssetDownloadRequest,
|
|
765
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
766
|
-
xDrtDomain?: string,
|
|
767
|
-
): CancelablePromise<AssetDownloadResponse> {
|
|
768
|
-
return __request(OpenAPI, {
|
|
769
|
-
method: 'POST',
|
|
770
|
-
url: '/order/asset-download',
|
|
771
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
772
|
-
body: requestBody,
|
|
773
|
-
mediaType: 'application/json',
|
|
774
|
-
errors: {
|
|
775
|
-
400: `Bad Request error with error details.`,
|
|
776
|
-
404: `Not found error with error details.`,
|
|
777
|
-
500: `Internal Server Error, please contact developers.`,
|
|
778
|
-
},
|
|
779
|
-
});
|
|
780
|
-
}
|
|
781
|
-
/**
|
|
782
|
-
* Get the digital-download link for a stream
|
|
783
|
-
* Returns the best-quality digital-download cloud URL for a stream on the order (VS-1, legacy digital-download-get-link).
|
|
784
|
-
* @param orderGuid
|
|
785
|
-
* @param streamGuid
|
|
765
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
766
|
+
xDrtDomain?: string,
|
|
767
|
+
): CancelablePromise<AssetDownloadResponse> {
|
|
768
|
+
return __request(OpenAPI, {
|
|
769
|
+
method: 'POST',
|
|
770
|
+
url: '/order/asset-download',
|
|
771
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
772
|
+
body: requestBody,
|
|
773
|
+
mediaType: 'application/json',
|
|
774
|
+
errors: {
|
|
775
|
+
400: `Bad Request error with error details.`,
|
|
776
|
+
404: `Not found error with error details.`,
|
|
777
|
+
500: `Internal Server Error, please contact developers.`,
|
|
778
|
+
},
|
|
779
|
+
});
|
|
780
|
+
}
|
|
781
|
+
/**
|
|
782
|
+
* Get the digital-download link for a stream
|
|
783
|
+
* Returns the best-quality digital-download cloud URL for a stream on the order (VS-1, legacy digital-download-get-link).
|
|
784
|
+
* @param orderGuid
|
|
785
|
+
* @param streamGuid
|
|
786
786
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
787
|
-
* @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).
|
|
788
|
-
* @returns StreamDownloadLink Returns the download link.
|
|
789
|
-
* @throws ApiError
|
|
790
|
-
*/
|
|
791
|
-
public static getStreamDownloadLink(
|
|
792
|
-
orderGuid: string,
|
|
793
|
-
streamGuid: string,
|
|
794
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
795
|
-
xDrtDomain?: string,
|
|
796
|
-
): CancelablePromise<StreamDownloadLink> {
|
|
797
|
-
return __request(OpenAPI, {
|
|
798
|
-
method: 'GET',
|
|
799
|
-
url: '/order/stream/download',
|
|
800
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
801
|
-
query: {
|
|
802
|
-
'orderGuid': orderGuid,
|
|
803
|
-
'streamGuid': streamGuid,
|
|
804
|
-
},
|
|
805
|
-
errors: {
|
|
806
|
-
400: `Bad Request error with error details.`,
|
|
807
|
-
404: `Not found error with error details.`,
|
|
808
|
-
500: `Internal Server Error, please contact developers.`,
|
|
809
|
-
},
|
|
810
|
-
});
|
|
811
|
-
}
|
|
812
|
-
/**
|
|
813
|
-
* Register a stream for a shopper
|
|
814
|
-
* Registers a stream for the specified shopper and account using the provided stream registration details.
|
|
787
|
+
* @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).
|
|
788
|
+
* @returns StreamDownloadLink Returns the download link.
|
|
789
|
+
* @throws ApiError
|
|
790
|
+
*/
|
|
791
|
+
public static getStreamDownloadLink(
|
|
792
|
+
orderGuid: string,
|
|
793
|
+
streamGuid: string,
|
|
794
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
795
|
+
xDrtDomain?: string,
|
|
796
|
+
): CancelablePromise<StreamDownloadLink> {
|
|
797
|
+
return __request(OpenAPI, {
|
|
798
|
+
method: 'GET',
|
|
799
|
+
url: '/order/stream/download',
|
|
800
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
801
|
+
query: {
|
|
802
|
+
'orderGuid': orderGuid,
|
|
803
|
+
'streamGuid': streamGuid,
|
|
804
|
+
},
|
|
805
|
+
errors: {
|
|
806
|
+
400: `Bad Request error with error details.`,
|
|
807
|
+
404: `Not found error with error details.`,
|
|
808
|
+
500: `Internal Server Error, please contact developers.`,
|
|
809
|
+
},
|
|
810
|
+
});
|
|
811
|
+
}
|
|
812
|
+
/**
|
|
813
|
+
* Register a stream for a shopper
|
|
814
|
+
* Registers a stream for the specified shopper and account using the provided stream registration details.
|
|
815
815
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
816
|
-
* @param requestBody Stream registration details.
|
|
817
|
-
* @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).
|
|
818
|
-
* @returns RegisterStreamResponse Returns the stream registration response.
|
|
819
|
-
* @throws ApiError
|
|
820
|
-
*/
|
|
821
|
-
public static postRegisterStream(
|
|
816
|
+
* @param requestBody Stream registration details.
|
|
817
|
+
* @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).
|
|
818
|
+
* @returns RegisterStreamResponse Returns the stream registration response.
|
|
819
|
+
* @throws ApiError
|
|
820
|
+
*/
|
|
821
|
+
public static postRegisterStream(
|
|
822
822
|
requestBody: RegisterStreamRequest,
|
|
823
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
824
|
-
xDrtDomain?: string,
|
|
825
|
-
): CancelablePromise<RegisterStreamResponse> {
|
|
826
|
-
return __request(OpenAPI, {
|
|
827
|
-
method: 'POST',
|
|
828
|
-
url: '/order/stream-register',
|
|
829
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
830
|
-
body: requestBody,
|
|
831
|
-
mediaType: 'application/json',
|
|
832
|
-
errors: {
|
|
833
|
-
400: `Bad Request error with error details.`,
|
|
834
|
-
404: `Not found error with error details.`,
|
|
835
|
-
500: `Internal Server Error, please contact developers.`,
|
|
836
|
-
},
|
|
837
|
-
});
|
|
838
|
-
}
|
|
839
|
-
/**
|
|
840
|
-
* Deregister a stream for a shopper
|
|
841
|
-
* Removes the stream registration for the specified shopper and account using the provided stream registration details.
|
|
823
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
824
|
+
xDrtDomain?: string,
|
|
825
|
+
): CancelablePromise<RegisterStreamResponse> {
|
|
826
|
+
return __request(OpenAPI, {
|
|
827
|
+
method: 'POST',
|
|
828
|
+
url: '/order/stream-register',
|
|
829
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
830
|
+
body: requestBody,
|
|
831
|
+
mediaType: 'application/json',
|
|
832
|
+
errors: {
|
|
833
|
+
400: `Bad Request error with error details.`,
|
|
834
|
+
404: `Not found error with error details.`,
|
|
835
|
+
500: `Internal Server Error, please contact developers.`,
|
|
836
|
+
},
|
|
837
|
+
});
|
|
838
|
+
}
|
|
839
|
+
/**
|
|
840
|
+
* Deregister a stream for a shopper
|
|
841
|
+
* Removes the stream registration for the specified shopper and account using the provided stream registration details.
|
|
842
842
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
843
|
-
* @param requestBody Stream registration details to be deregistered.
|
|
844
|
-
* @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).
|
|
845
|
-
* @returns SuccessResponse Returns success status after deregistering the stream.
|
|
846
|
-
* @throws ApiError
|
|
847
|
-
*/
|
|
848
|
-
public static deleteRegisteredStream(
|
|
843
|
+
* @param requestBody Stream registration details to be deregistered.
|
|
844
|
+
* @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).
|
|
845
|
+
* @returns SuccessResponse Returns success status after deregistering the stream.
|
|
846
|
+
* @throws ApiError
|
|
847
|
+
*/
|
|
848
|
+
public static deleteRegisteredStream(
|
|
849
849
|
requestBody: RegisterStreamRequest,
|
|
850
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
851
|
-
xDrtDomain?: string,
|
|
852
|
-
): CancelablePromise<SuccessResponse> {
|
|
853
|
-
return __request(OpenAPI, {
|
|
854
|
-
method: 'DELETE',
|
|
855
|
-
url: '/order/stream-register',
|
|
856
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
857
|
-
body: requestBody,
|
|
858
|
-
mediaType: 'application/json',
|
|
859
|
-
errors: {
|
|
860
|
-
400: `Bad Request error with error details.`,
|
|
861
|
-
404: `Not found error with error details.`,
|
|
862
|
-
500: `Internal Server Error, please contact developers.`,
|
|
863
|
-
},
|
|
864
|
-
});
|
|
865
|
-
}
|
|
866
|
-
/**
|
|
867
|
-
* Start an exchange (arm the exchange lock)
|
|
868
|
-
* 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.
|
|
850
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
851
|
+
xDrtDomain?: string,
|
|
852
|
+
): CancelablePromise<SuccessResponse> {
|
|
853
|
+
return __request(OpenAPI, {
|
|
854
|
+
method: 'DELETE',
|
|
855
|
+
url: '/order/stream-register',
|
|
856
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
857
|
+
body: requestBody,
|
|
858
|
+
mediaType: 'application/json',
|
|
859
|
+
errors: {
|
|
860
|
+
400: `Bad Request error with error details.`,
|
|
861
|
+
404: `Not found error with error details.`,
|
|
862
|
+
500: `Internal Server Error, please contact developers.`,
|
|
863
|
+
},
|
|
864
|
+
});
|
|
865
|
+
}
|
|
866
|
+
/**
|
|
867
|
+
* Start an exchange (arm the exchange lock)
|
|
868
|
+
* 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.
|
|
869
869
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
870
|
-
* @param requestBody
|
|
871
|
-
* @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).
|
|
872
|
-
* @returns ExchangeStartResponse Exchange started; lock armed.
|
|
873
|
-
* @throws ApiError
|
|
874
|
-
*/
|
|
875
|
-
public static startExchange(
|
|
870
|
+
* @param requestBody
|
|
871
|
+
* @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).
|
|
872
|
+
* @returns ExchangeStartResponse Exchange started; lock armed.
|
|
873
|
+
* @throws ApiError
|
|
874
|
+
*/
|
|
875
|
+
public static startExchange(
|
|
876
876
|
requestBody: ExchangeStartRequest,
|
|
877
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
878
|
-
xDrtDomain?: string,
|
|
879
|
-
): CancelablePromise<ExchangeStartResponse> {
|
|
880
|
-
return __request(OpenAPI, {
|
|
881
|
-
method: 'POST',
|
|
882
|
-
url: '/order/exchange/start',
|
|
883
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
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
|
-
* Get the order's exchange-eligible seats
|
|
895
|
-
* 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.
|
|
896
|
-
* @param guid Unique identifier for an order.
|
|
877
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
878
|
+
xDrtDomain?: string,
|
|
879
|
+
): CancelablePromise<ExchangeStartResponse> {
|
|
880
|
+
return __request(OpenAPI, {
|
|
881
|
+
method: 'POST',
|
|
882
|
+
url: '/order/exchange/start',
|
|
883
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
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
|
+
* Get the order's exchange-eligible seats
|
|
895
|
+
* 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.
|
|
896
|
+
* @param guid Unique identifier for an order.
|
|
897
897
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
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 ExchangeEligibleSeatsResponse Returns the exchange-eligible seats.
|
|
900
|
-
* @throws ApiError
|
|
901
|
-
*/
|
|
902
|
-
public static getExchangeEligibleSeats(
|
|
903
|
-
guid: string,
|
|
904
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
905
|
-
xDrtDomain?: string,
|
|
906
|
-
): CancelablePromise<ExchangeEligibleSeatsResponse> {
|
|
907
|
-
return __request(OpenAPI, {
|
|
908
|
-
method: 'GET',
|
|
909
|
-
url: '/order/exchange/eligible-seats',
|
|
910
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
911
|
-
query: {
|
|
912
|
-
'guid': guid,
|
|
913
|
-
},
|
|
914
|
-
errors: {
|
|
915
|
-
400: `Bad Request error with error details.`,
|
|
916
|
-
404: `Not found error with error details.`,
|
|
917
|
-
500: `Internal Server Error, please contact developers.`,
|
|
918
|
-
},
|
|
919
|
-
});
|
|
920
|
-
}
|
|
921
|
-
/**
|
|
922
|
-
* List shows available to exchange into
|
|
923
|
-
* 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.
|
|
924
|
-
* @param guid Unique identifier for an order.
|
|
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 ExchangeEligibleSeatsResponse Returns the exchange-eligible seats.
|
|
900
|
+
* @throws ApiError
|
|
901
|
+
*/
|
|
902
|
+
public static getExchangeEligibleSeats(
|
|
903
|
+
guid: string,
|
|
904
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
905
|
+
xDrtDomain?: string,
|
|
906
|
+
): CancelablePromise<ExchangeEligibleSeatsResponse> {
|
|
907
|
+
return __request(OpenAPI, {
|
|
908
|
+
method: 'GET',
|
|
909
|
+
url: '/order/exchange/eligible-seats',
|
|
910
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
911
|
+
query: {
|
|
912
|
+
'guid': guid,
|
|
913
|
+
},
|
|
914
|
+
errors: {
|
|
915
|
+
400: `Bad Request error with error details.`,
|
|
916
|
+
404: `Not found error with error details.`,
|
|
917
|
+
500: `Internal Server Error, please contact developers.`,
|
|
918
|
+
},
|
|
919
|
+
});
|
|
920
|
+
}
|
|
921
|
+
/**
|
|
922
|
+
* List shows available to exchange into
|
|
923
|
+
* 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.
|
|
924
|
+
* @param guid Unique identifier for an order.
|
|
925
925
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
926
|
-
* @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).
|
|
927
|
-
* @returns ExchangeShowsResponse Returns exchange-eligible shows and held-seat count.
|
|
928
|
-
* @throws ApiError
|
|
929
|
-
*/
|
|
930
|
-
public static getExchangeShows(
|
|
931
|
-
guid: string,
|
|
932
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
933
|
-
xDrtDomain?: string,
|
|
934
|
-
): CancelablePromise<ExchangeShowsResponse> {
|
|
935
|
-
return __request(OpenAPI, {
|
|
936
|
-
method: 'GET',
|
|
937
|
-
url: '/order/exchange/shows',
|
|
938
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
939
|
-
query: {
|
|
940
|
-
'guid': guid,
|
|
941
|
-
},
|
|
942
|
-
errors: {
|
|
943
|
-
400: `Bad Request error with error details.`,
|
|
944
|
-
404: `Not found error with error details.`,
|
|
945
|
-
500: `Internal Server Error, please contact developers.`,
|
|
946
|
-
},
|
|
947
|
-
});
|
|
948
|
-
}
|
|
949
|
-
/**
|
|
950
|
-
* Get the seats currently held for the exchange
|
|
951
|
-
* Returns the seats held in the exchange cart (EXC-1).
|
|
926
|
+
* @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).
|
|
927
|
+
* @returns ExchangeShowsResponse Returns exchange-eligible shows and held-seat count.
|
|
928
|
+
* @throws ApiError
|
|
929
|
+
*/
|
|
930
|
+
public static getExchangeShows(
|
|
931
|
+
guid: string,
|
|
932
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
933
|
+
xDrtDomain?: string,
|
|
934
|
+
): CancelablePromise<ExchangeShowsResponse> {
|
|
935
|
+
return __request(OpenAPI, {
|
|
936
|
+
method: 'GET',
|
|
937
|
+
url: '/order/exchange/shows',
|
|
938
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
939
|
+
query: {
|
|
940
|
+
'guid': guid,
|
|
941
|
+
},
|
|
942
|
+
errors: {
|
|
943
|
+
400: `Bad Request error with error details.`,
|
|
944
|
+
404: `Not found error with error details.`,
|
|
945
|
+
500: `Internal Server Error, please contact developers.`,
|
|
946
|
+
},
|
|
947
|
+
});
|
|
948
|
+
}
|
|
949
|
+
/**
|
|
950
|
+
* Get the seats currently held for the exchange
|
|
951
|
+
* Returns the seats held in the exchange cart (EXC-1).
|
|
952
952
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
953
|
-
* @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).
|
|
954
|
-
* @returns SeatInCart Returns the held exchange seats.
|
|
955
|
-
* @throws ApiError
|
|
956
|
-
*/
|
|
957
|
-
public static getExchangeSeats(
|
|
958
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
959
|
-
xDrtDomain?: string,
|
|
960
|
-
): CancelablePromise<Array<SeatInCart>> {
|
|
961
|
-
return __request(OpenAPI, {
|
|
962
|
-
method: 'GET',
|
|
963
|
-
url: '/order/exchange/seats',
|
|
964
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
965
|
-
errors: {
|
|
966
|
-
400: `Bad Request error with error details.`,
|
|
967
|
-
404: `Not found error with error details.`,
|
|
968
|
-
500: `Internal Server Error, please contact developers.`,
|
|
969
|
-
},
|
|
970
|
-
});
|
|
971
|
-
}
|
|
972
|
-
/**
|
|
973
|
-
* Save per-seat answers for the new exchange seats
|
|
974
|
-
* Persists checkout answers for the new seats being exchanged into (EXC-1, legacy exchange-questions-save).
|
|
953
|
+
* @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).
|
|
954
|
+
* @returns SeatInCart Returns the held exchange seats.
|
|
955
|
+
* @throws ApiError
|
|
956
|
+
*/
|
|
957
|
+
public static getExchangeSeats(
|
|
958
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
959
|
+
xDrtDomain?: string,
|
|
960
|
+
): CancelablePromise<Array<SeatInCart>> {
|
|
961
|
+
return __request(OpenAPI, {
|
|
962
|
+
method: 'GET',
|
|
963
|
+
url: '/order/exchange/seats',
|
|
964
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
965
|
+
errors: {
|
|
966
|
+
400: `Bad Request error with error details.`,
|
|
967
|
+
404: `Not found error with error details.`,
|
|
968
|
+
500: `Internal Server Error, please contact developers.`,
|
|
969
|
+
},
|
|
970
|
+
});
|
|
971
|
+
}
|
|
972
|
+
/**
|
|
973
|
+
* Save per-seat answers for the new exchange seats
|
|
974
|
+
* Persists checkout answers for the new seats being exchanged into (EXC-1, legacy exchange-questions-save).
|
|
975
975
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
976
|
-
* @param requestBody
|
|
977
|
-
* @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).
|
|
978
|
-
* @returns SuccessResponse Returns success after saving answers.
|
|
979
|
-
* @throws ApiError
|
|
980
|
-
*/
|
|
981
|
-
public static saveExchangeAnswers(
|
|
976
|
+
* @param requestBody
|
|
977
|
+
* @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).
|
|
978
|
+
* @returns SuccessResponse Returns success after saving answers.
|
|
979
|
+
* @throws ApiError
|
|
980
|
+
*/
|
|
981
|
+
public static saveExchangeAnswers(
|
|
982
982
|
requestBody: ExchangeAnswersBody,
|
|
983
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
984
|
-
xDrtDomain?: string,
|
|
985
|
-
): CancelablePromise<SuccessResponse> {
|
|
986
|
-
return __request(OpenAPI, {
|
|
987
|
-
method: 'POST',
|
|
988
|
-
url: '/order/exchange/questions',
|
|
989
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
990
|
-
body: requestBody,
|
|
991
|
-
mediaType: 'application/json',
|
|
992
|
-
errors: {
|
|
993
|
-
400: `Bad Request error with error details.`,
|
|
994
|
-
404: `Not found error with error details.`,
|
|
995
|
-
500: `Internal Server Error, please contact developers.`,
|
|
996
|
-
},
|
|
997
|
-
});
|
|
998
|
-
}
|
|
999
|
-
/**
|
|
1000
|
-
* Release one held seat during an exchange
|
|
1001
|
-
* Releases a single held seat from the exchange cart; clears the cart timer when no held seats remain (EXC-1, legacy exchange-cancel).
|
|
1002
|
-
* @param showId
|
|
1003
|
-
* @param seatId
|
|
983
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
984
|
+
xDrtDomain?: string,
|
|
985
|
+
): CancelablePromise<SuccessResponse> {
|
|
986
|
+
return __request(OpenAPI, {
|
|
987
|
+
method: 'POST',
|
|
988
|
+
url: '/order/exchange/questions',
|
|
989
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
990
|
+
body: requestBody,
|
|
991
|
+
mediaType: 'application/json',
|
|
992
|
+
errors: {
|
|
993
|
+
400: `Bad Request error with error details.`,
|
|
994
|
+
404: `Not found error with error details.`,
|
|
995
|
+
500: `Internal Server Error, please contact developers.`,
|
|
996
|
+
},
|
|
997
|
+
});
|
|
998
|
+
}
|
|
999
|
+
/**
|
|
1000
|
+
* Release one held seat during an exchange
|
|
1001
|
+
* Releases a single held seat from the exchange cart; clears the cart timer when no held seats remain (EXC-1, legacy exchange-cancel).
|
|
1002
|
+
* @param showId
|
|
1003
|
+
* @param seatId
|
|
1004
1004
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
1005
|
-
* @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).
|
|
1006
|
-
* @returns ExchangeCancelSeatResponse Returns success and whether the cart timer still runs.
|
|
1007
|
-
* @throws ApiError
|
|
1008
|
-
*/
|
|
1009
|
-
public static cancelExchangeSeat(
|
|
1010
|
-
showId: number,
|
|
1011
|
-
seatId: number,
|
|
1012
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
1013
|
-
xDrtDomain?: string,
|
|
1014
|
-
): CancelablePromise<ExchangeCancelSeatResponse> {
|
|
1015
|
-
return __request(OpenAPI, {
|
|
1016
|
-
method: 'DELETE',
|
|
1017
|
-
url: '/order/exchange/seat',
|
|
1018
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
1019
|
-
query: {
|
|
1020
|
-
'showId': showId,
|
|
1021
|
-
'seatId': seatId,
|
|
1022
|
-
},
|
|
1023
|
-
errors: {
|
|
1024
|
-
400: `Bad Request error with error details.`,
|
|
1025
|
-
404: `Not found error with error details.`,
|
|
1026
|
-
500: `Internal Server Error, please contact developers.`,
|
|
1027
|
-
},
|
|
1028
|
-
});
|
|
1029
|
-
}
|
|
1030
|
-
/**
|
|
1031
|
-
* Cancel an in-progress exchange
|
|
1032
|
-
* Aborts an in-progress exchange: releases all held seats, clears the cart timer, and clears the exchange lock (EXC-1, legacy exchange-cancel-all).
|
|
1005
|
+
* @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).
|
|
1006
|
+
* @returns ExchangeCancelSeatResponse Returns success and whether the cart timer still runs.
|
|
1007
|
+
* @throws ApiError
|
|
1008
|
+
*/
|
|
1009
|
+
public static cancelExchangeSeat(
|
|
1010
|
+
showId: number,
|
|
1011
|
+
seatId: number,
|
|
1012
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
1013
|
+
xDrtDomain?: string,
|
|
1014
|
+
): CancelablePromise<ExchangeCancelSeatResponse> {
|
|
1015
|
+
return __request(OpenAPI, {
|
|
1016
|
+
method: 'DELETE',
|
|
1017
|
+
url: '/order/exchange/seat',
|
|
1018
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
1019
|
+
query: {
|
|
1020
|
+
'showId': showId,
|
|
1021
|
+
'seatId': seatId,
|
|
1022
|
+
},
|
|
1023
|
+
errors: {
|
|
1024
|
+
400: `Bad Request error with error details.`,
|
|
1025
|
+
404: `Not found error with error details.`,
|
|
1026
|
+
500: `Internal Server Error, please contact developers.`,
|
|
1027
|
+
},
|
|
1028
|
+
});
|
|
1029
|
+
}
|
|
1030
|
+
/**
|
|
1031
|
+
* Cancel an in-progress exchange
|
|
1032
|
+
* Aborts an in-progress exchange: releases all held seats, clears the cart timer, and clears the exchange lock (EXC-1, legacy exchange-cancel-all).
|
|
1033
1033
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
1034
|
-
* @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).
|
|
1035
|
-
* @returns ExchangeCancelResponse Returns success and whether the exchange lock was cleared.
|
|
1036
|
-
* @throws ApiError
|
|
1037
|
-
*/
|
|
1038
|
-
public static cancelExchange(
|
|
1039
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
1040
|
-
xDrtDomain?: string,
|
|
1041
|
-
): CancelablePromise<ExchangeCancelResponse> {
|
|
1042
|
-
return __request(OpenAPI, {
|
|
1043
|
-
method: 'POST',
|
|
1044
|
-
url: '/order/exchange/cancel',
|
|
1045
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
1046
|
-
errors: {
|
|
1047
|
-
400: `Bad Request error with error details.`,
|
|
1048
|
-
404: `Not found error with error details.`,
|
|
1049
|
-
500: `Internal Server Error, please contact developers.`,
|
|
1050
|
-
},
|
|
1051
|
-
});
|
|
1052
|
-
}
|
|
1053
|
-
/**
|
|
1054
|
-
* Execute a seat exchange for an order
|
|
1055
|
-
* Swaps seats held in the cart for the seats specified in seatIds on an existing order.
|
|
1034
|
+
* @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).
|
|
1035
|
+
* @returns ExchangeCancelResponse Returns success and whether the exchange lock was cleared.
|
|
1036
|
+
* @throws ApiError
|
|
1037
|
+
*/
|
|
1038
|
+
public static cancelExchange(
|
|
1039
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
1040
|
+
xDrtDomain?: string,
|
|
1041
|
+
): CancelablePromise<ExchangeCancelResponse> {
|
|
1042
|
+
return __request(OpenAPI, {
|
|
1043
|
+
method: 'POST',
|
|
1044
|
+
url: '/order/exchange/cancel',
|
|
1045
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
1046
|
+
errors: {
|
|
1047
|
+
400: `Bad Request error with error details.`,
|
|
1048
|
+
404: `Not found error with error details.`,
|
|
1049
|
+
500: `Internal Server Error, please contact developers.`,
|
|
1050
|
+
},
|
|
1051
|
+
});
|
|
1052
|
+
}
|
|
1053
|
+
/**
|
|
1054
|
+
* Execute a seat exchange for an order
|
|
1055
|
+
* Swaps seats held in the cart for the seats specified in seatIds on an existing order.
|
|
1056
1056
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
1057
|
-
* @param requestBody Exchange request containing the order GUID and seat IDs to exchange out.
|
|
1058
|
-
* @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).
|
|
1059
|
-
* @returns SuccessResponse Returns success after completing the exchange.
|
|
1060
|
-
* @throws ApiError
|
|
1061
|
-
*/
|
|
1062
|
-
public static postExchange(
|
|
1057
|
+
* @param requestBody Exchange request containing the order GUID and seat IDs to exchange out.
|
|
1058
|
+
* @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).
|
|
1059
|
+
* @returns SuccessResponse Returns success after completing the exchange.
|
|
1060
|
+
* @throws ApiError
|
|
1061
|
+
*/
|
|
1062
|
+
public static postExchange(
|
|
1063
1063
|
requestBody: ExchangeRequest,
|
|
1064
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
1065
|
-
xDrtDomain?: string,
|
|
1066
|
-
): CancelablePromise<SuccessResponse> {
|
|
1067
|
-
return __request(OpenAPI, {
|
|
1068
|
-
method: 'POST',
|
|
1069
|
-
url: '/order/exchange',
|
|
1070
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
1071
|
-
body: requestBody,
|
|
1072
|
-
mediaType: 'application/json',
|
|
1073
|
-
errors: {
|
|
1074
|
-
400: `Bad Request error with error details.`,
|
|
1075
|
-
404: `Not found error with error details.`,
|
|
1076
|
-
500: `Internal Server Error, please contact developers.`,
|
|
1077
|
-
},
|
|
1078
|
-
});
|
|
1079
|
-
}
|
|
1080
|
-
/**
|
|
1081
|
-
* Validate an in-progress exchange without swapping seats
|
|
1082
|
-
* 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).
|
|
1064
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
1065
|
+
xDrtDomain?: string,
|
|
1066
|
+
): CancelablePromise<SuccessResponse> {
|
|
1067
|
+
return __request(OpenAPI, {
|
|
1068
|
+
method: 'POST',
|
|
1069
|
+
url: '/order/exchange',
|
|
1070
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
1071
|
+
body: requestBody,
|
|
1072
|
+
mediaType: 'application/json',
|
|
1073
|
+
errors: {
|
|
1074
|
+
400: `Bad Request error with error details.`,
|
|
1075
|
+
404: `Not found error with error details.`,
|
|
1076
|
+
500: `Internal Server Error, please contact developers.`,
|
|
1077
|
+
},
|
|
1078
|
+
});
|
|
1079
|
+
}
|
|
1080
|
+
/**
|
|
1081
|
+
* Validate an in-progress exchange without swapping seats
|
|
1082
|
+
* 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).
|
|
1083
1083
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
1084
|
-
* @param requestBody Validation request containing the order GUID and the seats being exchanged out.
|
|
1085
|
-
* @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).
|
|
1086
|
-
* @returns ExchangeValidateResponse Returns success plus the recalculated money consequence.
|
|
1087
|
-
* @throws ApiError
|
|
1088
|
-
*/
|
|
1089
|
-
public static validateExchange(
|
|
1084
|
+
* @param requestBody Validation request containing the order GUID and the seats being exchanged out.
|
|
1085
|
+
* @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).
|
|
1086
|
+
* @returns ExchangeValidateResponse Returns success plus the recalculated money consequence.
|
|
1087
|
+
* @throws ApiError
|
|
1088
|
+
*/
|
|
1089
|
+
public static validateExchange(
|
|
1090
1090
|
requestBody: ExchangeValidateRequest,
|
|
1091
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
1092
|
-
xDrtDomain?: string,
|
|
1093
|
-
): CancelablePromise<ExchangeValidateResponse> {
|
|
1094
|
-
return __request(OpenAPI, {
|
|
1095
|
-
method: 'POST',
|
|
1096
|
-
url: '/order/exchange/validate',
|
|
1097
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
1098
|
-
body: requestBody,
|
|
1099
|
-
mediaType: 'application/json',
|
|
1100
|
-
errors: {
|
|
1101
|
-
400: `Bad Request error with error details.`,
|
|
1102
|
-
404: `Not found error with error details.`,
|
|
1103
|
-
500: `Internal Server Error, please contact developers.`,
|
|
1104
|
-
},
|
|
1105
|
-
});
|
|
1106
|
-
}
|
|
1107
|
-
/**
|
|
1108
|
-
* Collect the upcharge for an in-progress exchange
|
|
1109
|
-
* 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.
|
|
1091
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
1092
|
+
xDrtDomain?: string,
|
|
1093
|
+
): CancelablePromise<ExchangeValidateResponse> {
|
|
1094
|
+
return __request(OpenAPI, {
|
|
1095
|
+
method: 'POST',
|
|
1096
|
+
url: '/order/exchange/validate',
|
|
1097
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
1098
|
+
body: requestBody,
|
|
1099
|
+
mediaType: 'application/json',
|
|
1100
|
+
errors: {
|
|
1101
|
+
400: `Bad Request error with error details.`,
|
|
1102
|
+
404: `Not found error with error details.`,
|
|
1103
|
+
500: `Internal Server Error, please contact developers.`,
|
|
1104
|
+
},
|
|
1105
|
+
});
|
|
1106
|
+
}
|
|
1107
|
+
/**
|
|
1108
|
+
* Collect the upcharge for an in-progress exchange
|
|
1109
|
+
* 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.
|
|
1110
1110
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
1111
|
-
* @param requestBody Upcharge request containing the order GUID and the seats being exchanged out.
|
|
1112
|
-
* @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).
|
|
1113
|
-
* @returns ExchangeUpchargeResponse Returns the recorded upcharge payment details.
|
|
1114
|
-
* @throws ApiError
|
|
1115
|
-
*/
|
|
1116
|
-
public static collectExchangeUpcharge(
|
|
1111
|
+
* @param requestBody Upcharge request containing the order GUID and the seats being exchanged out.
|
|
1112
|
+
* @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).
|
|
1113
|
+
* @returns ExchangeUpchargeResponse Returns the recorded upcharge payment details.
|
|
1114
|
+
* @throws ApiError
|
|
1115
|
+
*/
|
|
1116
|
+
public static collectExchangeUpcharge(
|
|
1117
1117
|
requestBody: ExchangeUpchargeRequest,
|
|
1118
|
-
context?: { shopperGuid?: string; accountId?: string },
|
|
1119
|
-
xDrtDomain?: string,
|
|
1120
|
-
): CancelablePromise<ExchangeUpchargeResponse> {
|
|
1121
|
-
return __request(OpenAPI, {
|
|
1122
|
-
method: 'POST',
|
|
1123
|
-
url: '/order/exchange/upcharge',
|
|
1124
|
-
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
1125
|
-
body: requestBody,
|
|
1126
|
-
mediaType: 'application/json',
|
|
1127
|
-
errors: {
|
|
1128
|
-
400: `Bad Request error with error details.`,
|
|
1129
|
-
404: `Not found error with error details.`,
|
|
1130
|
-
500: `Internal Server Error, please contact developers.`,
|
|
1131
|
-
},
|
|
1132
|
-
});
|
|
1133
|
-
}
|
|
1134
|
-
}
|
|
1118
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
1119
|
+
xDrtDomain?: string,
|
|
1120
|
+
): CancelablePromise<ExchangeUpchargeResponse> {
|
|
1121
|
+
return __request(OpenAPI, {
|
|
1122
|
+
method: 'POST',
|
|
1123
|
+
url: '/order/exchange/upcharge',
|
|
1124
|
+
headers: resolveShopperHeaders(context, xDrtDomain),
|
|
1125
|
+
body: requestBody,
|
|
1126
|
+
mediaType: 'application/json',
|
|
1127
|
+
errors: {
|
|
1128
|
+
400: `Bad Request error with error details.`,
|
|
1129
|
+
404: `Not found error with error details.`,
|
|
1130
|
+
500: `Internal Server Error, please contact developers.`,
|
|
1131
|
+
},
|
|
1132
|
+
});
|
|
1133
|
+
}
|
|
1134
|
+
}
|