@drttix/drt-sdk 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.d.ts +4 -0
- package/dist/cjs/src/definitions/portal.d.ts +6 -0
- package/dist/cjs/src/definitions/portal.js +46 -40
- package/dist/cjs/src/definitions/shopper.d.ts +2 -0
- package/dist/cjs/src/definitions/shopper.js +6 -4
- package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/portal/index.d.ts +23 -1
- package/dist/cjs/src/generated/portal/index.js +10 -2
- package/dist/cjs/src/generated/portal/models/ActivityLogEntryDto.d.ts +13 -0
- package/dist/cjs/src/generated/portal/models/ActivityLogEntryDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ActivityLogResponseDto.d.ts +5 -0
- package/dist/cjs/src/generated/portal/models/ActivityLogResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/BulkEditRequestDto.d.ts +2 -2
- package/dist/cjs/src/generated/portal/models/CreateDocumentResponseDto.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/CreateImageFileResponseDto.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/CreatePriorityCodeRequestDto.d.ts +2 -2
- package/dist/cjs/src/generated/portal/models/CreateShowRequestDto.d.ts +9 -1
- package/dist/cjs/src/generated/portal/models/CreateShowTimeDto.d.ts +52 -0
- package/dist/cjs/src/generated/portal/models/CreateTicketTypeDto.d.ts +4 -1
- package/dist/cjs/src/generated/portal/models/CreateUpdateProductRequestDto.d.ts +4 -4
- package/dist/cjs/src/generated/portal/models/CreateUpdateQuestionRequestDto.d.ts +8 -8
- package/dist/cjs/src/generated/portal/models/DashboardResponseDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/DownloadTicketsResponseDto.d.ts +7 -0
- package/dist/cjs/src/generated/portal/models/DownloadTicketsResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/EditMailRequestDto.d.ts +7 -0
- package/dist/cjs/src/generated/portal/models/EditMailRequestDto.js +9 -0
- package/dist/cjs/src/generated/portal/models/FacebookRescrapeResponseDto.d.ts +12 -0
- package/dist/cjs/src/generated/portal/models/FacebookRescrapeResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ImportBlockedSeatResponse.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/OccupancyVisualizerOrderDto.d.ts +5 -0
- package/dist/cjs/src/generated/portal/models/OccupancyVisualizerOrderDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/OccupancyVisualizerShowDto.d.ts +10 -0
- package/dist/cjs/src/generated/portal/models/OccupancyVisualizerShowDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/PerformancePixDetailsResponseDto.d.ts +18 -0
- package/dist/cjs/src/generated/portal/models/PerformancePixDetailsResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/PerformancePixLoginUrlResponseDto.d.ts +11 -0
- package/dist/cjs/src/generated/portal/models/PerformancePixLoginUrlResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/PricingSetBodyDto.d.ts +5 -0
- package/dist/cjs/src/generated/portal/models/PricingSetBodyDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/PricingSetRuleDto.d.ts +10 -0
- package/dist/cjs/src/generated/portal/models/PricingSetRuleDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ProductDetailResponseDto.d.ts +2 -2
- package/dist/cjs/src/generated/portal/models/RefundDetailResponseDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/RevenueVisualizerInterviewDto.d.ts +5 -0
- package/dist/cjs/src/generated/portal/models/RevenueVisualizerInterviewDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/RevenueVisualizerPricingSetDto.d.ts +7 -0
- package/dist/cjs/src/generated/portal/models/RevenueVisualizerPricingSetDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/RevenueVisualizerRuleDto.d.ts +7 -0
- package/dist/cjs/src/generated/portal/models/RevenueVisualizerRuleDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/RevenueVisualizerSectionDto.d.ts +9 -0
- package/dist/cjs/src/generated/portal/models/RevenueVisualizerSectionDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/RevenueVisualizerShowDto.d.ts +8 -0
- package/dist/cjs/src/generated/portal/models/RevenueVisualizerShowDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SavePricingSetRequestDto.d.ts +6 -0
- package/dist/cjs/src/generated/portal/models/SavePricingSetRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SavePricingSetResponseDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/SavePricingSetResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SeatResponseDto.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/SettingsDetailsResponseDto.d.ts +8 -0
- package/dist/cjs/src/generated/portal/models/ShowOccupancyVisualizerResponseDto.d.ts +9 -0
- package/dist/cjs/src/generated/portal/models/ShowOccupancyVisualizerResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ShowPricing.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/ShowRevenueVisualizerResponseDto.d.ts +12 -0
- package/dist/cjs/src/generated/portal/models/ShowRevenueVisualizerResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ShowsList.d.ts +44 -0
- package/dist/cjs/src/generated/portal/models/SoldTicketsResponseDto.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/SuccessResponse.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/UpdatePriorityCodeRequestDto.d.ts +2 -2
- package/dist/cjs/src/generated/portal/services/ClientToolsPerformancePixService.d.ts +21 -0
- package/dist/cjs/src/generated/portal/services/ClientToolsPerformancePixService.js +40 -0
- package/dist/cjs/src/generated/portal/services/ClientToolsTicketingLinkService.d.ts +9 -0
- package/dist/cjs/src/generated/portal/services/ClientToolsTicketingLinkService.js +16 -0
- package/dist/cjs/src/generated/portal/services/FeaturesBlockedSeatsService.d.ts +4 -3
- package/dist/cjs/src/generated/portal/services/FeaturesBlockedSeatsService.js +2 -2
- package/dist/cjs/src/generated/portal/services/ShowsService.d.ts +32 -0
- package/dist/cjs/src/generated/portal/services/ShowsService.js +63 -0
- package/dist/cjs/src/generated/portal/services/SuperUserActivityLogService.d.ts +26 -0
- package/dist/cjs/src/generated/portal/services/SuperUserActivityLogService.js +54 -0
- package/dist/cjs/src/generated/portal/services/SuperuserPerformancePixService.d.ts +21 -0
- package/dist/cjs/src/generated/portal/services/SuperuserPerformancePixService.js +40 -0
- package/dist/cjs/src/generated/portal/types.d.ts +19 -1
- package/dist/cjs/src/generated/scanner/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/shopper/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/shopper/index.d.ts +27 -1
- package/dist/cjs/src/generated/shopper/index.js +5 -1
- package/dist/cjs/src/generated/shopper/models/Account.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/AssetDownloadRequest.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/AssetDownloadRequest.js +2 -0
- package/dist/cjs/src/generated/shopper/models/AssetDownloadResponse.d.ts +7 -0
- package/dist/cjs/src/generated/shopper/models/AssetDownloadResponse.js +2 -0
- package/dist/cjs/src/generated/shopper/models/CapabilityManifestDto.d.ts +5 -1
- package/dist/cjs/src/generated/shopper/models/ClientRequestErrorResponse.d.ts +6 -0
- package/dist/cjs/src/generated/shopper/models/ClientRequestErrorResponse.js +2 -0
- package/dist/cjs/src/generated/shopper/models/CreatePaymentLinkBody.d.ts +18 -0
- package/dist/cjs/src/generated/shopper/models/CreatePaymentLinkBody.js +2 -0
- package/dist/cjs/src/generated/shopper/models/CreatePaymentLinkResponse.d.ts +40 -0
- package/dist/cjs/src/generated/shopper/models/CreatePaymentLinkResponse.js +2 -0
- package/dist/cjs/src/generated/shopper/models/DayPassDto.d.ts +10 -0
- package/dist/cjs/src/generated/shopper/models/DayPassDto.js +2 -0
- package/dist/cjs/src/generated/shopper/models/EventDetails.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/EventFormat.d.ts +12 -0
- package/dist/cjs/src/generated/shopper/models/EventGroup.d.ts +20 -0
- package/dist/cjs/src/generated/shopper/models/EventListItem.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/ExchangeValidateResponse.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/FullEventDetails.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/GaSelection.d.ts +5 -0
- package/dist/cjs/src/generated/shopper/models/GaTier.d.ts +11 -0
- package/dist/cjs/src/generated/shopper/models/GetEventsResponse.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/ManifestSeat.d.ts +14 -0
- package/dist/cjs/src/generated/shopper/models/ManifestSeat.js +12 -0
- package/dist/cjs/src/generated/shopper/models/OrderLookupBody.d.ts +14 -0
- package/dist/cjs/src/generated/shopper/models/OrderLookupBody.js +2 -0
- package/dist/cjs/src/generated/shopper/models/OrderLookupResult.d.ts +14 -0
- package/dist/cjs/src/generated/shopper/models/OrderLookupResult.js +2 -0
- package/dist/cjs/src/generated/shopper/models/OrderRefundDetails.d.ts +1 -0
- package/dist/cjs/src/generated/shopper/models/OrderSeat.d.ts +8 -0
- package/dist/cjs/src/generated/shopper/models/PaymentLinkSession.d.ts +18 -0
- package/dist/cjs/src/generated/shopper/models/PaymentLinkSession.js +2 -0
- package/dist/cjs/src/generated/shopper/models/PaymentLinkStatus.d.ts +32 -0
- package/dist/cjs/src/generated/shopper/models/PaymentLinkStatus.js +2 -0
- package/dist/cjs/src/generated/shopper/models/RecalcReturn.d.ts +8 -0
- package/dist/cjs/src/generated/shopper/models/Receipt.d.ts +2 -0
- package/dist/cjs/src/generated/shopper/models/RefundExchangeOffer.d.ts +38 -0
- package/dist/cjs/src/generated/shopper/models/RefundExchangeOffer.js +2 -0
- package/dist/cjs/src/generated/shopper/models/RefundReason.d.ts +1 -0
- package/dist/cjs/src/generated/shopper/models/RefundRequestInfo.d.ts +2 -0
- package/dist/cjs/src/generated/shopper/models/RegisterStreamResponse.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/ResetStreamInviteRequest.d.ts +8 -0
- package/dist/cjs/src/generated/shopper/models/ResetStreamInviteRequest.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SaveStreamInvitesRequest.d.ts +10 -0
- package/dist/cjs/src/generated/shopper/models/SaveStreamInvitesRequest.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SaveStreamInvitesResponse.d.ts +7 -0
- package/dist/cjs/src/generated/shopper/models/SaveStreamInvitesResponse.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SeatInCart.d.ts +8 -0
- package/dist/cjs/src/generated/shopper/models/SeatManifest.d.ts +20 -0
- package/dist/cjs/src/generated/shopper/models/SeatManifest.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SetShowGroupRequest.d.ts +6 -0
- package/dist/cjs/src/generated/shopper/models/SetShowGroupRequest.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SetShowGroupResponse.d.ts +7 -0
- package/dist/cjs/src/generated/shopper/models/SetShowGroupResponse.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SharedStream.d.ts +37 -0
- package/dist/cjs/src/generated/shopper/models/SharedStream.js +2 -0
- package/dist/cjs/src/generated/shopper/models/ShowExtras.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/StartSupportSessionDto.d.ts +10 -0
- package/dist/cjs/src/generated/shopper/models/StartSupportSessionDto.js +2 -0
- package/dist/cjs/src/generated/shopper/models/StreamAuthorization.d.ts +14 -0
- package/dist/cjs/src/generated/shopper/models/StreamAuthorization.js +2 -0
- package/dist/cjs/src/generated/shopper/models/StreamInvite.d.ts +19 -0
- package/dist/cjs/src/generated/shopper/models/StreamInvite.js +2 -0
- package/dist/cjs/src/generated/shopper/models/StreamInviteInput.d.ts +7 -0
- package/dist/cjs/src/generated/shopper/models/StreamInviteInput.js +2 -0
- package/dist/cjs/src/generated/shopper/models/StreamInvitesResponse.d.ts +8 -0
- package/dist/cjs/src/generated/shopper/models/StreamInvitesResponse.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SupportSessionStateDto.d.ts +14 -0
- package/dist/cjs/src/generated/shopper/models/SupportSessionStateDto.js +2 -0
- package/dist/cjs/src/generated/shopper/models/TimedEntrySlot.d.ts +38 -0
- package/dist/cjs/src/generated/shopper/models/TimedEntrySlot.js +2 -0
- package/dist/cjs/src/generated/shopper/services/AccountService.d.ts +8 -4
- package/dist/cjs/src/generated/shopper/services/AccountService.js +20 -9
- package/dist/cjs/src/generated/shopper/services/CartService.d.ts +20 -10
- package/dist/cjs/src/generated/shopper/services/CartService.js +50 -21
- package/dist/cjs/src/generated/shopper/services/CheckoutService.d.ts +16 -8
- package/dist/cjs/src/generated/shopper/services/CheckoutService.js +40 -17
- package/dist/cjs/src/generated/shopper/services/CodeService.d.ts +26 -6
- package/dist/cjs/src/generated/shopper/services/CodeService.js +55 -13
- package/dist/cjs/src/generated/shopper/services/DonationService.d.ts +6 -3
- package/dist/cjs/src/generated/shopper/services/DonationService.js +13 -6
- package/dist/cjs/src/generated/shopper/services/EventService.d.ts +27 -6
- package/dist/cjs/src/generated/shopper/services/EventService.js +55 -13
- package/dist/cjs/src/generated/shopper/services/GiftCardService.d.ts +10 -5
- package/dist/cjs/src/generated/shopper/services/GiftCardService.js +25 -11
- package/dist/cjs/src/generated/shopper/services/OrderService.d.ts +179 -30
- package/dist/cjs/src/generated/shopper/services/OrderService.js +364 -61
- package/dist/cjs/src/generated/shopper/services/PaymentLinkService.d.ts +40 -0
- package/dist/cjs/src/generated/shopper/services/PaymentLinkService.js +78 -0
- package/dist/cjs/src/generated/shopper/services/PaymentService.d.ts +6 -3
- package/dist/cjs/src/generated/shopper/services/PaymentService.js +16 -8
- package/dist/cjs/src/generated/shopper/services/ProductService.d.ts +6 -3
- package/dist/cjs/src/generated/shopper/services/ProductService.js +15 -7
- package/dist/cjs/src/generated/shopper/services/SeatService.d.ts +47 -8
- package/dist/cjs/src/generated/shopper/services/SeatService.js +96 -17
- package/dist/cjs/src/generated/shopper/services/SessionService.d.ts +53 -6
- package/dist/cjs/src/generated/shopper/services/SessionService.js +102 -13
- package/dist/cjs/src/generated/shopper/types.d.ts +25 -1
- package/dist/cjs/src/staging/index.d.ts +4 -0
- package/dist/cjs/src/staging/portal.d.ts +6 -0
- package/dist/cjs/src/staging/portal.js +46 -40
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/src/definitions/portal.d.ts +6 -0
- package/dist/esm/src/definitions/portal.js +6 -0
- package/dist/esm/src/definitions/shopper.d.ts +2 -0
- package/dist/esm/src/definitions/shopper.js +2 -0
- package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/portal/index.d.ts +23 -1
- package/dist/esm/src/generated/portal/index.js +4 -0
- package/dist/esm/src/generated/portal/models/ActivityLogEntryDto.d.ts +13 -0
- package/dist/esm/src/generated/portal/models/ActivityLogEntryDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ActivityLogResponseDto.d.ts +5 -0
- package/dist/esm/src/generated/portal/models/ActivityLogResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/BulkEditRequestDto.d.ts +2 -2
- package/dist/esm/src/generated/portal/models/CreateDocumentResponseDto.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/CreateImageFileResponseDto.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/CreatePriorityCodeRequestDto.d.ts +2 -2
- package/dist/esm/src/generated/portal/models/CreateShowRequestDto.d.ts +9 -1
- package/dist/esm/src/generated/portal/models/CreateShowTimeDto.d.ts +52 -0
- package/dist/esm/src/generated/portal/models/CreateTicketTypeDto.d.ts +4 -1
- package/dist/esm/src/generated/portal/models/CreateUpdateProductRequestDto.d.ts +4 -4
- package/dist/esm/src/generated/portal/models/CreateUpdateQuestionRequestDto.d.ts +8 -8
- package/dist/esm/src/generated/portal/models/DashboardResponseDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/DownloadTicketsResponseDto.d.ts +7 -0
- package/dist/esm/src/generated/portal/models/DownloadTicketsResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/EditMailRequestDto.d.ts +7 -0
- package/dist/esm/src/generated/portal/models/EditMailRequestDto.js +8 -1
- package/dist/esm/src/generated/portal/models/FacebookRescrapeResponseDto.d.ts +12 -0
- package/dist/esm/src/generated/portal/models/FacebookRescrapeResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ImportBlockedSeatResponse.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/OccupancyVisualizerOrderDto.d.ts +5 -0
- package/dist/esm/src/generated/portal/models/OccupancyVisualizerOrderDto.js +1 -0
- package/dist/esm/src/generated/portal/models/OccupancyVisualizerShowDto.d.ts +10 -0
- package/dist/esm/src/generated/portal/models/OccupancyVisualizerShowDto.js +1 -0
- package/dist/esm/src/generated/portal/models/PerformancePixDetailsResponseDto.d.ts +18 -0
- package/dist/esm/src/generated/portal/models/PerformancePixDetailsResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/PerformancePixLoginUrlResponseDto.d.ts +11 -0
- package/dist/esm/src/generated/portal/models/PerformancePixLoginUrlResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/PricingSetBodyDto.d.ts +5 -0
- package/dist/esm/src/generated/portal/models/PricingSetBodyDto.js +1 -0
- package/dist/esm/src/generated/portal/models/PricingSetRuleDto.d.ts +10 -0
- package/dist/esm/src/generated/portal/models/PricingSetRuleDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ProductDetailResponseDto.d.ts +2 -2
- package/dist/esm/src/generated/portal/models/RefundDetailResponseDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/RevenueVisualizerInterviewDto.d.ts +5 -0
- package/dist/esm/src/generated/portal/models/RevenueVisualizerInterviewDto.js +1 -0
- package/dist/esm/src/generated/portal/models/RevenueVisualizerPricingSetDto.d.ts +7 -0
- package/dist/esm/src/generated/portal/models/RevenueVisualizerPricingSetDto.js +1 -0
- package/dist/esm/src/generated/portal/models/RevenueVisualizerRuleDto.d.ts +7 -0
- package/dist/esm/src/generated/portal/models/RevenueVisualizerRuleDto.js +1 -0
- package/dist/esm/src/generated/portal/models/RevenueVisualizerSectionDto.d.ts +9 -0
- package/dist/esm/src/generated/portal/models/RevenueVisualizerSectionDto.js +1 -0
- package/dist/esm/src/generated/portal/models/RevenueVisualizerShowDto.d.ts +8 -0
- package/dist/esm/src/generated/portal/models/RevenueVisualizerShowDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SavePricingSetRequestDto.d.ts +6 -0
- package/dist/esm/src/generated/portal/models/SavePricingSetRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SavePricingSetResponseDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/SavePricingSetResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SeatResponseDto.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/SettingsDetailsResponseDto.d.ts +8 -0
- package/dist/esm/src/generated/portal/models/ShowOccupancyVisualizerResponseDto.d.ts +9 -0
- package/dist/esm/src/generated/portal/models/ShowOccupancyVisualizerResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ShowPricing.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/ShowRevenueVisualizerResponseDto.d.ts +12 -0
- package/dist/esm/src/generated/portal/models/ShowRevenueVisualizerResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ShowsList.d.ts +44 -0
- package/dist/esm/src/generated/portal/models/SoldTicketsResponseDto.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/SuccessResponse.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/UpdatePriorityCodeRequestDto.d.ts +2 -2
- package/dist/esm/src/generated/portal/services/ClientToolsPerformancePixService.d.ts +21 -0
- package/dist/esm/src/generated/portal/services/ClientToolsPerformancePixService.js +36 -0
- package/dist/esm/src/generated/portal/services/ClientToolsTicketingLinkService.d.ts +9 -0
- package/dist/esm/src/generated/portal/services/ClientToolsTicketingLinkService.js +16 -0
- package/dist/esm/src/generated/portal/services/FeaturesBlockedSeatsService.d.ts +4 -3
- package/dist/esm/src/generated/portal/services/FeaturesBlockedSeatsService.js +2 -2
- package/dist/esm/src/generated/portal/services/ShowsService.d.ts +32 -0
- package/dist/esm/src/generated/portal/services/ShowsService.js +63 -0
- package/dist/esm/src/generated/portal/services/SuperUserActivityLogService.d.ts +26 -0
- package/dist/esm/src/generated/portal/services/SuperUserActivityLogService.js +50 -0
- package/dist/esm/src/generated/portal/services/SuperuserPerformancePixService.d.ts +21 -0
- package/dist/esm/src/generated/portal/services/SuperuserPerformancePixService.js +36 -0
- package/dist/esm/src/generated/portal/types.d.ts +19 -1
- package/dist/esm/src/generated/scanner/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/shopper/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/shopper/index.d.ts +27 -1
- package/dist/esm/src/generated/shopper/index.js +2 -0
- package/dist/esm/src/generated/shopper/models/Account.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/AssetDownloadRequest.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/AssetDownloadRequest.js +1 -0
- package/dist/esm/src/generated/shopper/models/AssetDownloadResponse.d.ts +7 -0
- package/dist/esm/src/generated/shopper/models/AssetDownloadResponse.js +1 -0
- package/dist/esm/src/generated/shopper/models/CapabilityManifestDto.d.ts +5 -1
- package/dist/esm/src/generated/shopper/models/ClientRequestErrorResponse.d.ts +6 -0
- package/dist/esm/src/generated/shopper/models/ClientRequestErrorResponse.js +1 -0
- package/dist/esm/src/generated/shopper/models/CreatePaymentLinkBody.d.ts +18 -0
- package/dist/esm/src/generated/shopper/models/CreatePaymentLinkBody.js +1 -0
- package/dist/esm/src/generated/shopper/models/CreatePaymentLinkResponse.d.ts +40 -0
- package/dist/esm/src/generated/shopper/models/CreatePaymentLinkResponse.js +1 -0
- package/dist/esm/src/generated/shopper/models/DayPassDto.d.ts +10 -0
- package/dist/esm/src/generated/shopper/models/DayPassDto.js +1 -0
- package/dist/esm/src/generated/shopper/models/EventDetails.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/EventFormat.d.ts +12 -0
- package/dist/esm/src/generated/shopper/models/EventGroup.d.ts +20 -0
- package/dist/esm/src/generated/shopper/models/EventListItem.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/ExchangeValidateResponse.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/FullEventDetails.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/GaSelection.d.ts +5 -0
- package/dist/esm/src/generated/shopper/models/GaTier.d.ts +11 -0
- package/dist/esm/src/generated/shopper/models/GetEventsResponse.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/ManifestSeat.d.ts +14 -0
- package/dist/esm/src/generated/shopper/models/ManifestSeat.js +9 -0
- package/dist/esm/src/generated/shopper/models/OrderLookupBody.d.ts +14 -0
- package/dist/esm/src/generated/shopper/models/OrderLookupBody.js +1 -0
- package/dist/esm/src/generated/shopper/models/OrderLookupResult.d.ts +14 -0
- package/dist/esm/src/generated/shopper/models/OrderLookupResult.js +1 -0
- package/dist/esm/src/generated/shopper/models/OrderRefundDetails.d.ts +1 -0
- package/dist/esm/src/generated/shopper/models/OrderSeat.d.ts +8 -0
- package/dist/esm/src/generated/shopper/models/PaymentLinkSession.d.ts +18 -0
- package/dist/esm/src/generated/shopper/models/PaymentLinkSession.js +1 -0
- package/dist/esm/src/generated/shopper/models/PaymentLinkStatus.d.ts +32 -0
- package/dist/esm/src/generated/shopper/models/PaymentLinkStatus.js +1 -0
- package/dist/esm/src/generated/shopper/models/RecalcReturn.d.ts +8 -0
- package/dist/esm/src/generated/shopper/models/Receipt.d.ts +2 -0
- package/dist/esm/src/generated/shopper/models/RefundExchangeOffer.d.ts +38 -0
- package/dist/esm/src/generated/shopper/models/RefundExchangeOffer.js +1 -0
- package/dist/esm/src/generated/shopper/models/RefundReason.d.ts +1 -0
- package/dist/esm/src/generated/shopper/models/RefundRequestInfo.d.ts +2 -0
- package/dist/esm/src/generated/shopper/models/RegisterStreamResponse.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/ResetStreamInviteRequest.d.ts +8 -0
- package/dist/esm/src/generated/shopper/models/ResetStreamInviteRequest.js +1 -0
- package/dist/esm/src/generated/shopper/models/SaveStreamInvitesRequest.d.ts +10 -0
- package/dist/esm/src/generated/shopper/models/SaveStreamInvitesRequest.js +1 -0
- package/dist/esm/src/generated/shopper/models/SaveStreamInvitesResponse.d.ts +7 -0
- package/dist/esm/src/generated/shopper/models/SaveStreamInvitesResponse.js +1 -0
- package/dist/esm/src/generated/shopper/models/SeatInCart.d.ts +8 -0
- package/dist/esm/src/generated/shopper/models/SeatManifest.d.ts +20 -0
- package/dist/esm/src/generated/shopper/models/SeatManifest.js +1 -0
- package/dist/esm/src/generated/shopper/models/SetShowGroupRequest.d.ts +6 -0
- package/dist/esm/src/generated/shopper/models/SetShowGroupRequest.js +1 -0
- package/dist/esm/src/generated/shopper/models/SetShowGroupResponse.d.ts +7 -0
- package/dist/esm/src/generated/shopper/models/SetShowGroupResponse.js +1 -0
- package/dist/esm/src/generated/shopper/models/SharedStream.d.ts +37 -0
- package/dist/esm/src/generated/shopper/models/SharedStream.js +1 -0
- package/dist/esm/src/generated/shopper/models/ShowExtras.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/StartSupportSessionDto.d.ts +10 -0
- package/dist/esm/src/generated/shopper/models/StartSupportSessionDto.js +1 -0
- package/dist/esm/src/generated/shopper/models/StreamAuthorization.d.ts +14 -0
- package/dist/esm/src/generated/shopper/models/StreamAuthorization.js +1 -0
- package/dist/esm/src/generated/shopper/models/StreamInvite.d.ts +19 -0
- package/dist/esm/src/generated/shopper/models/StreamInvite.js +1 -0
- package/dist/esm/src/generated/shopper/models/StreamInviteInput.d.ts +7 -0
- package/dist/esm/src/generated/shopper/models/StreamInviteInput.js +1 -0
- package/dist/esm/src/generated/shopper/models/StreamInvitesResponse.d.ts +8 -0
- package/dist/esm/src/generated/shopper/models/StreamInvitesResponse.js +1 -0
- package/dist/esm/src/generated/shopper/models/SupportSessionStateDto.d.ts +14 -0
- package/dist/esm/src/generated/shopper/models/SupportSessionStateDto.js +1 -0
- package/dist/esm/src/generated/shopper/models/TimedEntrySlot.d.ts +38 -0
- package/dist/esm/src/generated/shopper/models/TimedEntrySlot.js +1 -0
- package/dist/esm/src/generated/shopper/services/AccountService.d.ts +8 -4
- package/dist/esm/src/generated/shopper/services/AccountService.js +20 -9
- package/dist/esm/src/generated/shopper/services/CartService.d.ts +20 -10
- package/dist/esm/src/generated/shopper/services/CartService.js +50 -21
- package/dist/esm/src/generated/shopper/services/CheckoutService.d.ts +16 -8
- package/dist/esm/src/generated/shopper/services/CheckoutService.js +40 -17
- package/dist/esm/src/generated/shopper/services/CodeService.d.ts +26 -6
- package/dist/esm/src/generated/shopper/services/CodeService.js +55 -13
- package/dist/esm/src/generated/shopper/services/DonationService.d.ts +6 -3
- package/dist/esm/src/generated/shopper/services/DonationService.js +13 -6
- package/dist/esm/src/generated/shopper/services/EventService.d.ts +27 -6
- package/dist/esm/src/generated/shopper/services/EventService.js +55 -13
- package/dist/esm/src/generated/shopper/services/GiftCardService.d.ts +10 -5
- package/dist/esm/src/generated/shopper/services/GiftCardService.js +25 -11
- package/dist/esm/src/generated/shopper/services/OrderService.d.ts +179 -30
- package/dist/esm/src/generated/shopper/services/OrderService.js +364 -61
- package/dist/esm/src/generated/shopper/services/PaymentLinkService.d.ts +40 -0
- package/dist/esm/src/generated/shopper/services/PaymentLinkService.js +74 -0
- package/dist/esm/src/generated/shopper/services/PaymentService.d.ts +6 -3
- package/dist/esm/src/generated/shopper/services/PaymentService.js +16 -8
- package/dist/esm/src/generated/shopper/services/ProductService.d.ts +6 -3
- package/dist/esm/src/generated/shopper/services/ProductService.js +15 -7
- package/dist/esm/src/generated/shopper/services/SeatService.d.ts +47 -8
- package/dist/esm/src/generated/shopper/services/SeatService.js +96 -17
- package/dist/esm/src/generated/shopper/services/SessionService.d.ts +53 -6
- package/dist/esm/src/generated/shopper/services/SessionService.js +102 -13
- package/dist/esm/src/generated/shopper/types.d.ts +25 -1
- package/dist/esm/src/staging/index.d.ts +4 -0
- package/dist/esm/src/staging/portal.d.ts +6 -0
- package/dist/esm/src/staging/portal.js +6 -0
- package/package.json +1 -1
- package/src/definitions/portal.ts +6 -0
- package/src/definitions/shopper.ts +2 -0
- package/src/generated/portal/core/OpenAPI.ts +1 -1
- package/src/generated/portal/index.ts +23 -1
- package/src/generated/portal/models/ActivityLogEntryDto.ts +18 -0
- package/src/generated/portal/models/ActivityLogResponseDto.ts +10 -0
- package/src/generated/portal/models/BulkEditRequestDto.ts +2 -2
- package/src/generated/portal/models/CreateDocumentResponseDto.ts +1 -0
- package/src/generated/portal/models/CreateImageFileResponseDto.ts +1 -0
- package/src/generated/portal/models/CreatePriorityCodeRequestDto.ts +2 -2
- package/src/generated/portal/models/CreateShowRequestDto.ts +9 -1
- package/src/generated/portal/models/CreateShowTimeDto.ts +52 -0
- package/src/generated/portal/models/CreateTicketTypeDto.ts +4 -1
- package/src/generated/portal/models/CreateUpdateProductRequestDto.ts +4 -4
- package/src/generated/portal/models/CreateUpdateQuestionRequestDto.ts +8 -8
- package/src/generated/portal/models/DashboardResponseDto.ts +4 -0
- package/src/generated/portal/models/DownloadTicketsResponseDto.ts +12 -0
- package/src/generated/portal/models/EditMailRequestDto.ts +7 -0
- package/src/generated/portal/models/FacebookRescrapeResponseDto.ts +17 -0
- package/src/generated/portal/models/ImportBlockedSeatResponse.ts +1 -0
- package/src/generated/portal/models/OccupancyVisualizerOrderDto.ts +10 -0
- package/src/generated/portal/models/OccupancyVisualizerShowDto.ts +15 -0
- package/src/generated/portal/models/PerformancePixDetailsResponseDto.ts +23 -0
- package/src/generated/portal/models/PerformancePixLoginUrlResponseDto.ts +16 -0
- package/src/generated/portal/models/PricingSetBodyDto.ts +10 -0
- package/src/generated/portal/models/PricingSetRuleDto.ts +15 -0
- package/src/generated/portal/models/ProductDetailResponseDto.ts +2 -2
- package/src/generated/portal/models/RefundDetailResponseDto.ts +4 -0
- package/src/generated/portal/models/RevenueVisualizerInterviewDto.ts +10 -0
- package/src/generated/portal/models/RevenueVisualizerPricingSetDto.ts +12 -0
- package/src/generated/portal/models/RevenueVisualizerRuleDto.ts +12 -0
- package/src/generated/portal/models/RevenueVisualizerSectionDto.ts +14 -0
- package/src/generated/portal/models/RevenueVisualizerShowDto.ts +13 -0
- package/src/generated/portal/models/SavePricingSetRequestDto.ts +11 -0
- package/src/generated/portal/models/SavePricingSetResponseDto.ts +9 -0
- package/src/generated/portal/models/SeatResponseDto.ts +1 -0
- package/src/generated/portal/models/SettingsDetailsResponseDto.ts +8 -0
- package/src/generated/portal/models/ShowOccupancyVisualizerResponseDto.ts +14 -0
- package/src/generated/portal/models/ShowPricing.ts +1 -0
- package/src/generated/portal/models/ShowRevenueVisualizerResponseDto.ts +17 -0
- package/src/generated/portal/models/ShowsList.ts +44 -0
- package/src/generated/portal/models/SoldTicketsResponseDto.ts +1 -0
- package/src/generated/portal/models/SuccessResponse.ts +1 -0
- package/src/generated/portal/models/UpdatePriorityCodeRequestDto.ts +2 -2
- package/src/generated/portal/services/ClientToolsPerformancePixService.ts +47 -0
- package/src/generated/portal/services/ClientToolsTicketingLinkService.ts +19 -0
- package/src/generated/portal/services/FeaturesBlockedSeatsService.ts +4 -3
- package/src/generated/portal/services/ShowsService.ts +77 -0
- package/src/generated/portal/services/SuperUserActivityLogService.ts +66 -0
- package/src/generated/portal/services/SuperuserPerformancePixService.ts +47 -0
- package/src/generated/portal/types.ts +19 -1
- package/src/generated/scanner/core/OpenAPI.ts +1 -1
- package/src/generated/shopper/core/OpenAPI.ts +1 -1
- package/src/generated/shopper/index.ts +27 -1
- package/src/generated/shopper/models/Account.ts +4 -0
- package/src/generated/shopper/models/AssetDownloadRequest.ts +9 -0
- package/src/generated/shopper/models/AssetDownloadResponse.ts +12 -0
- package/src/generated/shopper/models/CapabilityManifestDto.ts +5 -1
- package/src/generated/shopper/models/ClientRequestErrorResponse.ts +11 -0
- package/src/generated/shopper/models/CreatePaymentLinkBody.ts +23 -0
- package/src/generated/shopper/models/CreatePaymentLinkResponse.ts +45 -0
- package/src/generated/shopper/models/DayPassDto.ts +15 -0
- package/src/generated/shopper/models/EventDetails.ts +4 -0
- package/src/generated/shopper/models/EventFormat.ts +12 -0
- package/src/generated/shopper/models/EventGroup.ts +20 -0
- package/src/generated/shopper/models/EventListItem.ts +4 -0
- package/src/generated/shopper/models/ExchangeValidateResponse.ts +4 -0
- package/src/generated/shopper/models/FullEventDetails.ts +4 -0
- package/src/generated/shopper/models/GaSelection.ts +5 -0
- package/src/generated/shopper/models/GaTier.ts +11 -0
- package/src/generated/shopper/models/GetEventsResponse.ts +4 -0
- package/src/generated/shopper/models/ManifestSeat.ts +19 -0
- package/src/generated/shopper/models/OrderLookupBody.ts +19 -0
- package/src/generated/shopper/models/OrderLookupResult.ts +19 -0
- package/src/generated/shopper/models/OrderRefundDetails.ts +1 -0
- package/src/generated/shopper/models/OrderSeat.ts +8 -0
- package/src/generated/shopper/models/PaymentLinkSession.ts +23 -0
- package/src/generated/shopper/models/PaymentLinkStatus.ts +37 -0
- package/src/generated/shopper/models/RecalcReturn.ts +8 -0
- package/src/generated/shopper/models/Receipt.ts +2 -0
- package/src/generated/shopper/models/RefundExchangeOffer.ts +43 -0
- package/src/generated/shopper/models/RefundReason.ts +1 -0
- package/src/generated/shopper/models/RefundRequestInfo.ts +2 -0
- package/src/generated/shopper/models/RegisterStreamResponse.ts +4 -0
- package/src/generated/shopper/models/ResetStreamInviteRequest.ts +13 -0
- package/src/generated/shopper/models/SaveStreamInvitesRequest.ts +15 -0
- package/src/generated/shopper/models/SaveStreamInvitesResponse.ts +12 -0
- package/src/generated/shopper/models/SeatInCart.ts +8 -0
- package/src/generated/shopper/models/SeatManifest.ts +25 -0
- package/src/generated/shopper/models/SetShowGroupRequest.ts +11 -0
- package/src/generated/shopper/models/SetShowGroupResponse.ts +12 -0
- package/src/generated/shopper/models/SharedStream.ts +42 -0
- package/src/generated/shopper/models/ShowExtras.ts +4 -0
- package/src/generated/shopper/models/StartSupportSessionDto.ts +15 -0
- package/src/generated/shopper/models/StreamAuthorization.ts +19 -0
- package/src/generated/shopper/models/StreamInvite.ts +24 -0
- package/src/generated/shopper/models/StreamInviteInput.ts +12 -0
- package/src/generated/shopper/models/StreamInvitesResponse.ts +13 -0
- package/src/generated/shopper/models/SupportSessionStateDto.ts +19 -0
- package/src/generated/shopper/models/TimedEntrySlot.ts +43 -0
- package/src/generated/shopper/services/AccountService.ts +20 -4
- package/src/generated/shopper/services/CartService.ts +50 -10
- package/src/generated/shopper/services/CheckoutService.ts +40 -8
- package/src/generated/shopper/services/CodeService.ts +60 -6
- package/src/generated/shopper/services/DonationService.ts +13 -2
- package/src/generated/shopper/services/EventService.ts +61 -6
- package/src/generated/shopper/services/GiftCardService.ts +25 -5
- package/src/generated/shopper/services/OrderService.ts +411 -30
- package/src/generated/shopper/services/PaymentLinkService.ts +93 -0
- package/src/generated/shopper/services/PaymentService.ts +16 -4
- package/src/generated/shopper/services/ProductService.ts +15 -3
- package/src/generated/shopper/services/SeatService.ts +105 -8
- package/src/generated/shopper/services/SessionService.ts +116 -6
- package/src/generated/shopper/types.ts +25 -1
- package/src/staging/portal.ts +6 -0
- package/src/generated/shopper/models/PaymentFail.ts +0 -23
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
2
|
import { request as __request } from '../core/request.js';
|
|
3
|
-
import { resolveShopperHeaders } from '../../../functions/sdkConfig.js';
|
|
4
3
|
export class OrderService {
|
|
5
4
|
/**
|
|
6
5
|
* Get order receipt by guid
|
|
7
6
|
* Fetches the receipt for an order using its unique guid.
|
|
8
7
|
* @param guid Unique identifier for an order.
|
|
9
8
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
9
|
+
* @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).
|
|
10
10
|
* @returns Receipt Returns the order receipt.
|
|
11
11
|
* @throws ApiError
|
|
12
12
|
*/
|
|
13
|
-
static getReceipt(guid, context) {
|
|
13
|
+
static getReceipt(guid, context, xDrtDomain) {
|
|
14
14
|
return __request(OpenAPI, {
|
|
15
15
|
method: 'GET',
|
|
16
16
|
url: '/order/receipt',
|
|
17
|
-
headers:
|
|
17
|
+
headers: {
|
|
18
|
+
'x-drt-domain': xDrtDomain,
|
|
19
|
+
},
|
|
18
20
|
query: {
|
|
19
21
|
'guid': guid,
|
|
20
22
|
},
|
|
@@ -30,14 +32,17 @@ export class OrderService {
|
|
|
30
32
|
* Records the given order as the current session's source order (session.src_order_id) for attribution (ORD-1, legacy order-set-src).
|
|
31
33
|
* @param guid Unique identifier for an order.
|
|
32
34
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
35
|
+
* @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).
|
|
33
36
|
* @returns SuccessResponse Returns success after stamping the source order.
|
|
34
37
|
* @throws ApiError
|
|
35
38
|
*/
|
|
36
|
-
static setOrderSrc(guid, context) {
|
|
39
|
+
static setOrderSrc(guid, context, xDrtDomain) {
|
|
37
40
|
return __request(OpenAPI, {
|
|
38
41
|
method: 'POST',
|
|
39
42
|
url: '/order/set-src',
|
|
40
|
-
headers:
|
|
43
|
+
headers: {
|
|
44
|
+
'x-drt-domain': xDrtDomain,
|
|
45
|
+
},
|
|
41
46
|
query: {
|
|
42
47
|
'guid': guid,
|
|
43
48
|
},
|
|
@@ -53,14 +58,17 @@ export class OrderService {
|
|
|
53
58
|
* 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).
|
|
54
59
|
* @param guid Unique identifier for an order.
|
|
55
60
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
61
|
+
* @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).
|
|
56
62
|
* @returns OrderBalance Returns the order balance and adjustment-payment gating.
|
|
57
63
|
* @throws ApiError
|
|
58
64
|
*/
|
|
59
|
-
static getOrderBalance(guid, context) {
|
|
65
|
+
static getOrderBalance(guid, context, xDrtDomain) {
|
|
60
66
|
return __request(OpenAPI, {
|
|
61
67
|
method: 'GET',
|
|
62
68
|
url: '/order/balance',
|
|
63
|
-
headers:
|
|
69
|
+
headers: {
|
|
70
|
+
'x-drt-domain': xDrtDomain,
|
|
71
|
+
},
|
|
64
72
|
query: {
|
|
65
73
|
'guid': guid,
|
|
66
74
|
},
|
|
@@ -76,14 +84,17 @@ export class OrderService {
|
|
|
76
84
|
* 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).
|
|
77
85
|
* @param guid Unique identifier for an order.
|
|
78
86
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
87
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
79
88
|
* @returns OrderPaymentStatus Returns the order payment status.
|
|
80
89
|
* @throws ApiError
|
|
81
90
|
*/
|
|
82
|
-
static getOrderPaymentStatus(guid, context) {
|
|
91
|
+
static getOrderPaymentStatus(guid, context, xDrtDomain) {
|
|
83
92
|
return __request(OpenAPI, {
|
|
84
93
|
method: 'GET',
|
|
85
94
|
url: '/order/payment-status',
|
|
86
|
-
headers:
|
|
95
|
+
headers: {
|
|
96
|
+
'x-drt-domain': xDrtDomain,
|
|
97
|
+
},
|
|
87
98
|
query: {
|
|
88
99
|
'guid': guid,
|
|
89
100
|
},
|
|
@@ -94,19 +105,73 @@ export class OrderService {
|
|
|
94
105
|
},
|
|
95
106
|
});
|
|
96
107
|
}
|
|
108
|
+
/**
|
|
109
|
+
* Find an existing order
|
|
110
|
+
* 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.
|
|
111
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
112
|
+
* @param requestBody
|
|
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 OrderLookupResult Matching orders, newest first. An empty list is a valid answer.
|
|
115
|
+
* @throws ApiError
|
|
116
|
+
*/
|
|
117
|
+
static lookupOrders(requestBody, context, xDrtDomain) {
|
|
118
|
+
return __request(OpenAPI, {
|
|
119
|
+
method: 'POST',
|
|
120
|
+
url: '/order/lookup',
|
|
121
|
+
headers: {
|
|
122
|
+
'x-drt-domain': xDrtDomain,
|
|
123
|
+
},
|
|
124
|
+
body: requestBody,
|
|
125
|
+
mediaType: 'application/json',
|
|
126
|
+
errors: {
|
|
127
|
+
400: `Fewer than two identification factors.`,
|
|
128
|
+
404: `Not found error with error details.`,
|
|
129
|
+
500: `Internal Server Error, please contact developers.`,
|
|
130
|
+
},
|
|
131
|
+
});
|
|
132
|
+
}
|
|
97
133
|
/**
|
|
98
134
|
* Get Gwallet link by guid
|
|
99
135
|
* Fetches the Gwallet link for an order using its unique guid.
|
|
100
136
|
* @param guid Unique identifier for an order.
|
|
101
137
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
138
|
+
* @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).
|
|
102
139
|
* @returns LinkWithSuccess Returns the Gwallet link.
|
|
103
140
|
* @throws ApiError
|
|
104
141
|
*/
|
|
105
|
-
static getGwalletLink(guid, context) {
|
|
142
|
+
static getGwalletLink(guid, context, xDrtDomain) {
|
|
106
143
|
return __request(OpenAPI, {
|
|
107
144
|
method: 'GET',
|
|
108
145
|
url: '/order/gwallet',
|
|
109
|
-
headers:
|
|
146
|
+
headers: {
|
|
147
|
+
'x-drt-domain': xDrtDomain,
|
|
148
|
+
},
|
|
149
|
+
query: {
|
|
150
|
+
'guid': guid,
|
|
151
|
+
},
|
|
152
|
+
errors: {
|
|
153
|
+
400: `Bad Request error with error details.`,
|
|
154
|
+
404: `Not found error with error details.`,
|
|
155
|
+
500: `Internal Server Error, please contact developers.`,
|
|
156
|
+
},
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Get Gwallet link by block-of-tickets guid
|
|
161
|
+
* 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.
|
|
162
|
+
* @param guid Unique identifier for an order.
|
|
163
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
164
|
+
* @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).
|
|
165
|
+
* @returns LinkWithSuccess Returns the Gwallet link.
|
|
166
|
+
* @throws ApiError
|
|
167
|
+
*/
|
|
168
|
+
static getGwalletBlockLink(guid, context, xDrtDomain) {
|
|
169
|
+
return __request(OpenAPI, {
|
|
170
|
+
method: 'GET',
|
|
171
|
+
url: '/order/gwallet-block',
|
|
172
|
+
headers: {
|
|
173
|
+
'x-drt-domain': xDrtDomain,
|
|
174
|
+
},
|
|
110
175
|
query: {
|
|
111
176
|
'guid': guid,
|
|
112
177
|
},
|
|
@@ -122,14 +187,17 @@ export class OrderService {
|
|
|
122
187
|
* Fetches a random order guid for development purposes. Requires a logged-in operator session — returns 403 for a plain shopper.
|
|
123
188
|
* @param guid Unique identifier for an order.
|
|
124
189
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
190
|
+
* @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).
|
|
125
191
|
* @returns GuidReturn Returns a testing guid.
|
|
126
192
|
* @throws ApiError
|
|
127
193
|
*/
|
|
128
|
-
static getTestingGuid(guid, context) {
|
|
194
|
+
static getTestingGuid(guid, context, xDrtDomain) {
|
|
129
195
|
return __request(OpenAPI, {
|
|
130
196
|
method: 'GET',
|
|
131
197
|
url: '/order/testing',
|
|
132
|
-
headers:
|
|
198
|
+
headers: {
|
|
199
|
+
'x-drt-domain': xDrtDomain,
|
|
200
|
+
},
|
|
133
201
|
query: {
|
|
134
202
|
'guid': guid,
|
|
135
203
|
},
|
|
@@ -145,14 +213,17 @@ export class OrderService {
|
|
|
145
213
|
* Fetches the assign names information for an order using its unique guid.
|
|
146
214
|
* @param guid Unique identifier for an order.
|
|
147
215
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
216
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
148
217
|
* @returns AssignNamesReturn Returns the assign names information.
|
|
149
218
|
* @throws ApiError
|
|
150
219
|
*/
|
|
151
|
-
static getAssignNames(guid, context) {
|
|
220
|
+
static getAssignNames(guid, context, xDrtDomain) {
|
|
152
221
|
return __request(OpenAPI, {
|
|
153
222
|
method: 'GET',
|
|
154
223
|
url: '/order/assign-names',
|
|
155
|
-
headers:
|
|
224
|
+
headers: {
|
|
225
|
+
'x-drt-domain': xDrtDomain,
|
|
226
|
+
},
|
|
156
227
|
query: {
|
|
157
228
|
'guid': guid,
|
|
158
229
|
},
|
|
@@ -169,14 +240,17 @@ export class OrderService {
|
|
|
169
240
|
* @param guid Unique identifier for an order.
|
|
170
241
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
171
242
|
* @param requestBody Names to be assigned to the order.
|
|
243
|
+
* @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).
|
|
172
244
|
* @returns SuccessResponse Returns success status after assigning names.
|
|
173
245
|
* @throws ApiError
|
|
174
246
|
*/
|
|
175
|
-
static postAssignNames(guid, requestBody, context) {
|
|
247
|
+
static postAssignNames(guid, requestBody, context, xDrtDomain) {
|
|
176
248
|
return __request(OpenAPI, {
|
|
177
249
|
method: 'POST',
|
|
178
250
|
url: '/order/assign-names',
|
|
179
|
-
headers:
|
|
251
|
+
headers: {
|
|
252
|
+
'x-drt-domain': xDrtDomain,
|
|
253
|
+
},
|
|
180
254
|
query: {
|
|
181
255
|
'guid': guid,
|
|
182
256
|
},
|
|
@@ -195,14 +269,17 @@ export class OrderService {
|
|
|
195
269
|
* @param guid Unique identifier for an order.
|
|
196
270
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
197
271
|
* @param requestBody Email update containing the email address to send tickets.
|
|
272
|
+
* @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).
|
|
198
273
|
* @returns SuccessResponse Returns success status after sending email tickets.
|
|
199
274
|
* @throws ApiError
|
|
200
275
|
*/
|
|
201
|
-
static postEmailTickets(guid, requestBody, context) {
|
|
276
|
+
static postEmailTickets(guid, requestBody, context, xDrtDomain) {
|
|
202
277
|
return __request(OpenAPI, {
|
|
203
278
|
method: 'POST',
|
|
204
279
|
url: '/order/email-tickets',
|
|
205
|
-
headers:
|
|
280
|
+
headers: {
|
|
281
|
+
'x-drt-domain': xDrtDomain,
|
|
282
|
+
},
|
|
206
283
|
query: {
|
|
207
284
|
'guid': guid,
|
|
208
285
|
},
|
|
@@ -220,14 +297,17 @@ export class OrderService {
|
|
|
220
297
|
* Fetches the ticket block for an order using its unique guid.
|
|
221
298
|
* @param guid Unique identifier for an order.
|
|
222
299
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
300
|
+
* @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).
|
|
223
301
|
* @returns PickupReturn Returns the ticket block for the order.
|
|
224
302
|
* @throws ApiError
|
|
225
303
|
*/
|
|
226
|
-
static getTicketBlock(guid, context) {
|
|
304
|
+
static getTicketBlock(guid, context, xDrtDomain) {
|
|
227
305
|
return __request(OpenAPI, {
|
|
228
306
|
method: 'GET',
|
|
229
307
|
url: '/order/pickup',
|
|
230
|
-
headers:
|
|
308
|
+
headers: {
|
|
309
|
+
'x-drt-domain': xDrtDomain,
|
|
310
|
+
},
|
|
231
311
|
query: {
|
|
232
312
|
'guid': guid,
|
|
233
313
|
},
|
|
@@ -243,14 +323,17 @@ export class OrderService {
|
|
|
243
323
|
* Sends the ticket block for an order using its unique guid.
|
|
244
324
|
* @param guid Unique identifier for an order.
|
|
245
325
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
326
|
+
* @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).
|
|
246
327
|
* @returns SuccessResponse Returns the ticket block for the order.
|
|
247
328
|
* @throws ApiError
|
|
248
329
|
*/
|
|
249
|
-
static postPickup(guid, context) {
|
|
330
|
+
static postPickup(guid, context, xDrtDomain) {
|
|
250
331
|
return __request(OpenAPI, {
|
|
251
332
|
method: 'POST',
|
|
252
333
|
url: '/order/pickup',
|
|
253
|
-
headers:
|
|
334
|
+
headers: {
|
|
335
|
+
'x-drt-domain': xDrtDomain,
|
|
336
|
+
},
|
|
254
337
|
query: {
|
|
255
338
|
'guid': guid,
|
|
256
339
|
},
|
|
@@ -266,14 +349,17 @@ export class OrderService {
|
|
|
266
349
|
* Sends the order receipt to the shopper's email address for the specified order guid.
|
|
267
350
|
* @param guid Unique identifier for an order.
|
|
268
351
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
352
|
+
* @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).
|
|
269
353
|
* @returns SuccessResponse Returns success status after emailing the receipt.
|
|
270
354
|
* @throws ApiError
|
|
271
355
|
*/
|
|
272
|
-
static postEmailReceipt(guid, context) {
|
|
356
|
+
static postEmailReceipt(guid, context, xDrtDomain) {
|
|
273
357
|
return __request(OpenAPI, {
|
|
274
358
|
method: 'POST',
|
|
275
359
|
url: '/order/email-receipt',
|
|
276
|
-
headers:
|
|
360
|
+
headers: {
|
|
361
|
+
'x-drt-domain': xDrtDomain,
|
|
362
|
+
},
|
|
277
363
|
query: {
|
|
278
364
|
'guid': guid,
|
|
279
365
|
},
|
|
@@ -289,14 +375,17 @@ export class OrderService {
|
|
|
289
375
|
* Fetches the refund request information for an order using its unique guid.
|
|
290
376
|
* @param guid Unique identifier for an order.
|
|
291
377
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
378
|
+
* @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).
|
|
292
379
|
* @returns RefundRequestInfo Returns the refund request information for the order.
|
|
293
380
|
* @throws ApiError
|
|
294
381
|
*/
|
|
295
|
-
static getRefundRequest(guid, context) {
|
|
382
|
+
static getRefundRequest(guid, context, xDrtDomain) {
|
|
296
383
|
return __request(OpenAPI, {
|
|
297
384
|
method: 'GET',
|
|
298
385
|
url: '/order/refund-request',
|
|
299
|
-
headers:
|
|
386
|
+
headers: {
|
|
387
|
+
'x-drt-domain': xDrtDomain,
|
|
388
|
+
},
|
|
300
389
|
query: {
|
|
301
390
|
'guid': guid,
|
|
302
391
|
},
|
|
@@ -313,14 +402,17 @@ export class OrderService {
|
|
|
313
402
|
* @param guid Unique identifier for an order.
|
|
314
403
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
315
404
|
* @param requestBody Refund request details.
|
|
405
|
+
* @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).
|
|
316
406
|
* @returns SuccessResponse Returns success status after submitting the refund request.
|
|
317
407
|
* @throws ApiError
|
|
318
408
|
*/
|
|
319
|
-
static postRefundRequest(guid, requestBody, context) {
|
|
409
|
+
static postRefundRequest(guid, requestBody, context, xDrtDomain) {
|
|
320
410
|
return __request(OpenAPI, {
|
|
321
411
|
method: 'POST',
|
|
322
412
|
url: '/order/refund-request',
|
|
323
|
-
headers:
|
|
413
|
+
headers: {
|
|
414
|
+
'x-drt-domain': xDrtDomain,
|
|
415
|
+
},
|
|
324
416
|
query: {
|
|
325
417
|
'guid': guid,
|
|
326
418
|
},
|
|
@@ -339,14 +431,17 @@ export class OrderService {
|
|
|
339
431
|
* @param guid Unique identifier for an order.
|
|
340
432
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
341
433
|
* @param requestBody Order recalculation data.
|
|
434
|
+
* @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
435
|
* @returns RecalcResponse Returns the recalculated order totals and success status.
|
|
343
436
|
* @throws ApiError
|
|
344
437
|
*/
|
|
345
|
-
static postRecalcOrder(guid, requestBody, context) {
|
|
438
|
+
static postRecalcOrder(guid, requestBody, context, xDrtDomain) {
|
|
346
439
|
return __request(OpenAPI, {
|
|
347
440
|
method: 'POST',
|
|
348
441
|
url: '/order/recalc',
|
|
349
|
-
headers:
|
|
442
|
+
headers: {
|
|
443
|
+
'x-drt-domain': xDrtDomain,
|
|
444
|
+
},
|
|
350
445
|
query: {
|
|
351
446
|
'guid': guid,
|
|
352
447
|
},
|
|
@@ -364,14 +459,17 @@ export class OrderService {
|
|
|
364
459
|
* Marks an order as donated in lieu of refund using the provided order guid and donated IP address.
|
|
365
460
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
366
461
|
* @param requestBody Donate order payload containing guid and donatedIpAddress.
|
|
462
|
+
* @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).
|
|
367
463
|
* @returns SuccessResponse Returns success status after donating the order.
|
|
368
464
|
* @throws ApiError
|
|
369
465
|
*/
|
|
370
|
-
static postDonateOrder(requestBody, context) {
|
|
466
|
+
static postDonateOrder(requestBody, context, xDrtDomain) {
|
|
371
467
|
return __request(OpenAPI, {
|
|
372
468
|
method: 'POST',
|
|
373
469
|
url: '/order/donate-order',
|
|
374
|
-
headers:
|
|
470
|
+
headers: {
|
|
471
|
+
'x-drt-domain': xDrtDomain,
|
|
472
|
+
},
|
|
375
473
|
body: requestBody,
|
|
376
474
|
mediaType: 'application/json',
|
|
377
475
|
errors: {
|
|
@@ -387,14 +485,17 @@ export class OrderService {
|
|
|
387
485
|
* @param orderGuid
|
|
388
486
|
* @param streamGuid
|
|
389
487
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
488
|
+
* @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).
|
|
390
489
|
* @returns StreamDetails Returns the stream details.
|
|
391
490
|
* @throws ApiError
|
|
392
491
|
*/
|
|
393
|
-
static getStreamDetails(orderGuid, streamGuid, context) {
|
|
492
|
+
static getStreamDetails(orderGuid, streamGuid, context, xDrtDomain) {
|
|
394
493
|
return __request(OpenAPI, {
|
|
395
494
|
method: 'GET',
|
|
396
495
|
url: '/order/stream',
|
|
397
|
-
headers:
|
|
496
|
+
headers: {
|
|
497
|
+
'x-drt-domain': xDrtDomain,
|
|
498
|
+
},
|
|
398
499
|
query: {
|
|
399
500
|
'orderGuid': orderGuid,
|
|
400
501
|
'streamGuid': streamGuid,
|
|
@@ -406,20 +507,186 @@ export class OrderService {
|
|
|
406
507
|
},
|
|
407
508
|
});
|
|
408
509
|
}
|
|
510
|
+
/**
|
|
511
|
+
* Is this device still authorised to watch? (VS-2)
|
|
512
|
+
* 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.
|
|
513
|
+
* @param registrationGuid
|
|
514
|
+
* @param streamGuid
|
|
515
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
516
|
+
* @param accessGuid
|
|
517
|
+
* @param orderGuid
|
|
518
|
+
* @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).
|
|
519
|
+
* @returns StreamAuthorization Returns the authorisation decision.
|
|
520
|
+
* @throws ApiError
|
|
521
|
+
*/
|
|
522
|
+
static getStreamAuthorization(registrationGuid, streamGuid, context, accessGuid, orderGuid, xDrtDomain) {
|
|
523
|
+
return __request(OpenAPI, {
|
|
524
|
+
method: 'GET',
|
|
525
|
+
url: '/order/stream/authorized',
|
|
526
|
+
headers: {
|
|
527
|
+
'x-drt-domain': xDrtDomain,
|
|
528
|
+
},
|
|
529
|
+
query: {
|
|
530
|
+
'registrationGuid': registrationGuid,
|
|
531
|
+
'streamGuid': streamGuid,
|
|
532
|
+
'accessGuid': accessGuid,
|
|
533
|
+
'orderGuid': orderGuid,
|
|
534
|
+
},
|
|
535
|
+
errors: {
|
|
536
|
+
400: `Bad Request error with error details.`,
|
|
537
|
+
404: `Not found error with error details.`,
|
|
538
|
+
500: `Internal Server Error, please contact developers.`,
|
|
539
|
+
},
|
|
540
|
+
});
|
|
541
|
+
}
|
|
542
|
+
/**
|
|
543
|
+
* Resolve a shared /tv/{code} watch link (VS-2)
|
|
544
|
+
* 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.
|
|
545
|
+
* @param code
|
|
546
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
547
|
+
* @param accessGuid
|
|
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 SharedStream Returns the shared stream.
|
|
550
|
+
* @throws ApiError
|
|
551
|
+
*/
|
|
552
|
+
static getSharedStream(code, context, accessGuid, xDrtDomain) {
|
|
553
|
+
return __request(OpenAPI, {
|
|
554
|
+
method: 'GET',
|
|
555
|
+
url: '/order/stream/shared',
|
|
556
|
+
headers: {
|
|
557
|
+
'x-drt-domain': xDrtDomain,
|
|
558
|
+
},
|
|
559
|
+
query: {
|
|
560
|
+
'code': code,
|
|
561
|
+
'accessGuid': accessGuid,
|
|
562
|
+
},
|
|
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
|
+
* The stream invite list for an order (VS-3)
|
|
572
|
+
* 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".
|
|
573
|
+
* @param orderGuid
|
|
574
|
+
* @param streamGuid
|
|
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 StreamInvitesResponse Returns the invite rows.
|
|
578
|
+
* @throws ApiError
|
|
579
|
+
*/
|
|
580
|
+
static getStreamInvites(orderGuid, streamGuid, context, xDrtDomain) {
|
|
581
|
+
return __request(OpenAPI, {
|
|
582
|
+
method: 'GET',
|
|
583
|
+
url: '/order/stream/invites',
|
|
584
|
+
headers: {
|
|
585
|
+
'x-drt-domain': xDrtDomain,
|
|
586
|
+
},
|
|
587
|
+
query: {
|
|
588
|
+
'orderGuid': orderGuid,
|
|
589
|
+
'streamGuid': streamGuid,
|
|
590
|
+
},
|
|
591
|
+
errors: {
|
|
592
|
+
400: `Bad Request error with error details.`,
|
|
593
|
+
404: `Not found error with error details.`,
|
|
594
|
+
500: `Internal Server Error, please contact developers.`,
|
|
595
|
+
},
|
|
596
|
+
});
|
|
597
|
+
}
|
|
598
|
+
/**
|
|
599
|
+
* Save the stream invite rows and send the links (VS-3)
|
|
600
|
+
* 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).
|
|
601
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
602
|
+
* @param requestBody Invite rows.
|
|
603
|
+
* @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).
|
|
604
|
+
* @returns SaveStreamInvitesResponse Returns how many invite emails were sent.
|
|
605
|
+
* @throws ApiError
|
|
606
|
+
*/
|
|
607
|
+
static saveStreamInvites(requestBody, context, xDrtDomain) {
|
|
608
|
+
return __request(OpenAPI, {
|
|
609
|
+
method: 'POST',
|
|
610
|
+
url: '/order/stream/invites',
|
|
611
|
+
headers: {
|
|
612
|
+
'x-drt-domain': xDrtDomain,
|
|
613
|
+
},
|
|
614
|
+
body: requestBody,
|
|
615
|
+
mediaType: 'application/json',
|
|
616
|
+
errors: {
|
|
617
|
+
400: `Bad Request error with error details.`,
|
|
618
|
+
404: `Not found error with error details.`,
|
|
619
|
+
500: `Internal Server Error, please contact developers.`,
|
|
620
|
+
},
|
|
621
|
+
});
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* Clear one invite row's registration (VS-3)
|
|
625
|
+
* 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.
|
|
626
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
627
|
+
* @param requestBody Which invite row to reset.
|
|
628
|
+
* @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).
|
|
629
|
+
* @returns SuccessResponse Returns success.
|
|
630
|
+
* @throws ApiError
|
|
631
|
+
*/
|
|
632
|
+
static resetStreamInvite(requestBody, context, xDrtDomain) {
|
|
633
|
+
return __request(OpenAPI, {
|
|
634
|
+
method: 'POST',
|
|
635
|
+
url: '/order/stream/invites/reset',
|
|
636
|
+
headers: {
|
|
637
|
+
'x-drt-domain': xDrtDomain,
|
|
638
|
+
},
|
|
639
|
+
body: requestBody,
|
|
640
|
+
mediaType: 'application/json',
|
|
641
|
+
errors: {
|
|
642
|
+
400: `Bad Request error with error details.`,
|
|
643
|
+
404: `Not found error with error details.`,
|
|
644
|
+
500: `Internal Server Error, please contact developers.`,
|
|
645
|
+
},
|
|
646
|
+
});
|
|
647
|
+
}
|
|
648
|
+
/**
|
|
649
|
+
* Record a digital-asset download (VS-4)
|
|
650
|
+
* 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.
|
|
651
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
652
|
+
* @param requestBody The order and asset to log.
|
|
653
|
+
* @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).
|
|
654
|
+
* @returns AssetDownloadResponse Returns the asset href.
|
|
655
|
+
* @throws ApiError
|
|
656
|
+
*/
|
|
657
|
+
static logAssetDownload(requestBody, context, xDrtDomain) {
|
|
658
|
+
return __request(OpenAPI, {
|
|
659
|
+
method: 'POST',
|
|
660
|
+
url: '/order/asset-download',
|
|
661
|
+
headers: {
|
|
662
|
+
'x-drt-domain': xDrtDomain,
|
|
663
|
+
},
|
|
664
|
+
body: requestBody,
|
|
665
|
+
mediaType: 'application/json',
|
|
666
|
+
errors: {
|
|
667
|
+
400: `Bad Request error with error details.`,
|
|
668
|
+
404: `Not found error with error details.`,
|
|
669
|
+
500: `Internal Server Error, please contact developers.`,
|
|
670
|
+
},
|
|
671
|
+
});
|
|
672
|
+
}
|
|
409
673
|
/**
|
|
410
674
|
* Get the digital-download link for a stream
|
|
411
675
|
* Returns the best-quality digital-download cloud URL for a stream on the order (VS-1, legacy digital-download-get-link).
|
|
412
676
|
* @param orderGuid
|
|
413
677
|
* @param streamGuid
|
|
414
678
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
679
|
+
* @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).
|
|
415
680
|
* @returns StreamDownloadLink Returns the download link.
|
|
416
681
|
* @throws ApiError
|
|
417
682
|
*/
|
|
418
|
-
static getStreamDownloadLink(orderGuid, streamGuid, context) {
|
|
683
|
+
static getStreamDownloadLink(orderGuid, streamGuid, context, xDrtDomain) {
|
|
419
684
|
return __request(OpenAPI, {
|
|
420
685
|
method: 'GET',
|
|
421
686
|
url: '/order/stream/download',
|
|
422
|
-
headers:
|
|
687
|
+
headers: {
|
|
688
|
+
'x-drt-domain': xDrtDomain,
|
|
689
|
+
},
|
|
423
690
|
query: {
|
|
424
691
|
'orderGuid': orderGuid,
|
|
425
692
|
'streamGuid': streamGuid,
|
|
@@ -436,14 +703,17 @@ export class OrderService {
|
|
|
436
703
|
* Registers a stream for the specified shopper and account using the provided stream registration details.
|
|
437
704
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
438
705
|
* @param requestBody Stream registration details.
|
|
706
|
+
* @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).
|
|
439
707
|
* @returns RegisterStreamResponse Returns the stream registration response.
|
|
440
708
|
* @throws ApiError
|
|
441
709
|
*/
|
|
442
|
-
static postRegisterStream(requestBody, context) {
|
|
710
|
+
static postRegisterStream(requestBody, context, xDrtDomain) {
|
|
443
711
|
return __request(OpenAPI, {
|
|
444
712
|
method: 'POST',
|
|
445
713
|
url: '/order/stream-register',
|
|
446
|
-
headers:
|
|
714
|
+
headers: {
|
|
715
|
+
'x-drt-domain': xDrtDomain,
|
|
716
|
+
},
|
|
447
717
|
body: requestBody,
|
|
448
718
|
mediaType: 'application/json',
|
|
449
719
|
errors: {
|
|
@@ -458,14 +728,17 @@ export class OrderService {
|
|
|
458
728
|
* Removes the stream registration for the specified shopper and account using the provided stream registration details.
|
|
459
729
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
460
730
|
* @param requestBody Stream registration details to be deregistered.
|
|
731
|
+
* @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).
|
|
461
732
|
* @returns SuccessResponse Returns success status after deregistering the stream.
|
|
462
733
|
* @throws ApiError
|
|
463
734
|
*/
|
|
464
|
-
static deleteRegisteredStream(requestBody, context) {
|
|
735
|
+
static deleteRegisteredStream(requestBody, context, xDrtDomain) {
|
|
465
736
|
return __request(OpenAPI, {
|
|
466
737
|
method: 'DELETE',
|
|
467
738
|
url: '/order/stream-register',
|
|
468
|
-
headers:
|
|
739
|
+
headers: {
|
|
740
|
+
'x-drt-domain': xDrtDomain,
|
|
741
|
+
},
|
|
469
742
|
body: requestBody,
|
|
470
743
|
mediaType: 'application/json',
|
|
471
744
|
errors: {
|
|
@@ -480,14 +753,17 @@ export class OrderService {
|
|
|
480
753
|
* 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.
|
|
481
754
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
482
755
|
* @param requestBody
|
|
756
|
+
* @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).
|
|
483
757
|
* @returns ExchangeStartResponse Exchange started; lock armed.
|
|
484
758
|
* @throws ApiError
|
|
485
759
|
*/
|
|
486
|
-
static startExchange(requestBody, context) {
|
|
760
|
+
static startExchange(requestBody, context, xDrtDomain) {
|
|
487
761
|
return __request(OpenAPI, {
|
|
488
762
|
method: 'POST',
|
|
489
763
|
url: '/order/exchange/start',
|
|
490
|
-
headers:
|
|
764
|
+
headers: {
|
|
765
|
+
'x-drt-domain': xDrtDomain,
|
|
766
|
+
},
|
|
491
767
|
body: requestBody,
|
|
492
768
|
mediaType: 'application/json',
|
|
493
769
|
errors: {
|
|
@@ -502,14 +778,17 @@ export class OrderService {
|
|
|
502
778
|
* 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.
|
|
503
779
|
* @param guid Unique identifier for an order.
|
|
504
780
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
781
|
+
* @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).
|
|
505
782
|
* @returns ExchangeEligibleSeatsResponse Returns the exchange-eligible seats.
|
|
506
783
|
* @throws ApiError
|
|
507
784
|
*/
|
|
508
|
-
static getExchangeEligibleSeats(guid, context) {
|
|
785
|
+
static getExchangeEligibleSeats(guid, context, xDrtDomain) {
|
|
509
786
|
return __request(OpenAPI, {
|
|
510
787
|
method: 'GET',
|
|
511
788
|
url: '/order/exchange/eligible-seats',
|
|
512
|
-
headers:
|
|
789
|
+
headers: {
|
|
790
|
+
'x-drt-domain': xDrtDomain,
|
|
791
|
+
},
|
|
513
792
|
query: {
|
|
514
793
|
'guid': guid,
|
|
515
794
|
},
|
|
@@ -525,14 +804,17 @@ export class OrderService {
|
|
|
525
804
|
* 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.
|
|
526
805
|
* @param guid Unique identifier for an order.
|
|
527
806
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
807
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
528
808
|
* @returns ExchangeShowsResponse Returns exchange-eligible shows and held-seat count.
|
|
529
809
|
* @throws ApiError
|
|
530
810
|
*/
|
|
531
|
-
static getExchangeShows(guid, context) {
|
|
811
|
+
static getExchangeShows(guid, context, xDrtDomain) {
|
|
532
812
|
return __request(OpenAPI, {
|
|
533
813
|
method: 'GET',
|
|
534
814
|
url: '/order/exchange/shows',
|
|
535
|
-
headers:
|
|
815
|
+
headers: {
|
|
816
|
+
'x-drt-domain': xDrtDomain,
|
|
817
|
+
},
|
|
536
818
|
query: {
|
|
537
819
|
'guid': guid,
|
|
538
820
|
},
|
|
@@ -547,14 +829,17 @@ export class OrderService {
|
|
|
547
829
|
* Get the seats currently held for the exchange
|
|
548
830
|
* Returns the seats held in the exchange cart (EXC-1).
|
|
549
831
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
832
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
550
833
|
* @returns SeatInCart Returns the held exchange seats.
|
|
551
834
|
* @throws ApiError
|
|
552
835
|
*/
|
|
553
|
-
static getExchangeSeats(context) {
|
|
836
|
+
static getExchangeSeats(context, xDrtDomain) {
|
|
554
837
|
return __request(OpenAPI, {
|
|
555
838
|
method: 'GET',
|
|
556
839
|
url: '/order/exchange/seats',
|
|
557
|
-
headers:
|
|
840
|
+
headers: {
|
|
841
|
+
'x-drt-domain': xDrtDomain,
|
|
842
|
+
},
|
|
558
843
|
errors: {
|
|
559
844
|
400: `Bad Request error with error details.`,
|
|
560
845
|
404: `Not found error with error details.`,
|
|
@@ -567,14 +852,17 @@ export class OrderService {
|
|
|
567
852
|
* Persists checkout answers for the new seats being exchanged into (EXC-1, legacy exchange-questions-save).
|
|
568
853
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
569
854
|
* @param requestBody
|
|
855
|
+
* @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).
|
|
570
856
|
* @returns SuccessResponse Returns success after saving answers.
|
|
571
857
|
* @throws ApiError
|
|
572
858
|
*/
|
|
573
|
-
static saveExchangeAnswers(requestBody, context) {
|
|
859
|
+
static saveExchangeAnswers(requestBody, context, xDrtDomain) {
|
|
574
860
|
return __request(OpenAPI, {
|
|
575
861
|
method: 'POST',
|
|
576
862
|
url: '/order/exchange/questions',
|
|
577
|
-
headers:
|
|
863
|
+
headers: {
|
|
864
|
+
'x-drt-domain': xDrtDomain,
|
|
865
|
+
},
|
|
578
866
|
body: requestBody,
|
|
579
867
|
mediaType: 'application/json',
|
|
580
868
|
errors: {
|
|
@@ -590,14 +878,17 @@ export class OrderService {
|
|
|
590
878
|
* @param showId
|
|
591
879
|
* @param seatId
|
|
592
880
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
881
|
+
* @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).
|
|
593
882
|
* @returns ExchangeCancelSeatResponse Returns success and whether the cart timer still runs.
|
|
594
883
|
* @throws ApiError
|
|
595
884
|
*/
|
|
596
|
-
static cancelExchangeSeat(showId, seatId, context) {
|
|
885
|
+
static cancelExchangeSeat(showId, seatId, context, xDrtDomain) {
|
|
597
886
|
return __request(OpenAPI, {
|
|
598
887
|
method: 'DELETE',
|
|
599
888
|
url: '/order/exchange/seat',
|
|
600
|
-
headers:
|
|
889
|
+
headers: {
|
|
890
|
+
'x-drt-domain': xDrtDomain,
|
|
891
|
+
},
|
|
601
892
|
query: {
|
|
602
893
|
'showId': showId,
|
|
603
894
|
'seatId': seatId,
|
|
@@ -613,14 +904,17 @@ export class OrderService {
|
|
|
613
904
|
* Cancel an in-progress exchange
|
|
614
905
|
* Aborts an in-progress exchange: releases all held seats, clears the cart timer, and clears the exchange lock (EXC-1, legacy exchange-cancel-all).
|
|
615
906
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
907
|
+
* @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).
|
|
616
908
|
* @returns ExchangeCancelResponse Returns success and whether the exchange lock was cleared.
|
|
617
909
|
* @throws ApiError
|
|
618
910
|
*/
|
|
619
|
-
static cancelExchange(context) {
|
|
911
|
+
static cancelExchange(context, xDrtDomain) {
|
|
620
912
|
return __request(OpenAPI, {
|
|
621
913
|
method: 'POST',
|
|
622
914
|
url: '/order/exchange/cancel',
|
|
623
|
-
headers:
|
|
915
|
+
headers: {
|
|
916
|
+
'x-drt-domain': xDrtDomain,
|
|
917
|
+
},
|
|
624
918
|
errors: {
|
|
625
919
|
400: `Bad Request error with error details.`,
|
|
626
920
|
404: `Not found error with error details.`,
|
|
@@ -633,14 +927,17 @@ export class OrderService {
|
|
|
633
927
|
* Swaps seats held in the cart for the seats specified in seatIds on an existing order.
|
|
634
928
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
635
929
|
* @param requestBody Exchange request containing the order GUID and seat IDs to exchange out.
|
|
930
|
+
* @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).
|
|
636
931
|
* @returns SuccessResponse Returns success after completing the exchange.
|
|
637
932
|
* @throws ApiError
|
|
638
933
|
*/
|
|
639
|
-
static postExchange(requestBody, context) {
|
|
934
|
+
static postExchange(requestBody, context, xDrtDomain) {
|
|
640
935
|
return __request(OpenAPI, {
|
|
641
936
|
method: 'POST',
|
|
642
937
|
url: '/order/exchange',
|
|
643
|
-
headers:
|
|
938
|
+
headers: {
|
|
939
|
+
'x-drt-domain': xDrtDomain,
|
|
940
|
+
},
|
|
644
941
|
body: requestBody,
|
|
645
942
|
mediaType: 'application/json',
|
|
646
943
|
errors: {
|
|
@@ -655,14 +952,17 @@ export class OrderService {
|
|
|
655
952
|
* 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).
|
|
656
953
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
657
954
|
* @param requestBody Validation request containing the order GUID and the seats being exchanged out.
|
|
955
|
+
* @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).
|
|
658
956
|
* @returns ExchangeValidateResponse Returns success plus the recalculated money consequence.
|
|
659
957
|
* @throws ApiError
|
|
660
958
|
*/
|
|
661
|
-
static validateExchange(requestBody, context) {
|
|
959
|
+
static validateExchange(requestBody, context, xDrtDomain) {
|
|
662
960
|
return __request(OpenAPI, {
|
|
663
961
|
method: 'POST',
|
|
664
962
|
url: '/order/exchange/validate',
|
|
665
|
-
headers:
|
|
963
|
+
headers: {
|
|
964
|
+
'x-drt-domain': xDrtDomain,
|
|
965
|
+
},
|
|
666
966
|
body: requestBody,
|
|
667
967
|
mediaType: 'application/json',
|
|
668
968
|
errors: {
|
|
@@ -677,14 +977,17 @@ export class OrderService {
|
|
|
677
977
|
* 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.
|
|
678
978
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
679
979
|
* @param requestBody Upcharge request containing the order GUID and the seats being exchanged out.
|
|
980
|
+
* @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).
|
|
680
981
|
* @returns ExchangeUpchargeResponse Returns the recorded upcharge payment details.
|
|
681
982
|
* @throws ApiError
|
|
682
983
|
*/
|
|
683
|
-
static collectExchangeUpcharge(requestBody, context) {
|
|
984
|
+
static collectExchangeUpcharge(requestBody, context, xDrtDomain) {
|
|
684
985
|
return __request(OpenAPI, {
|
|
685
986
|
method: 'POST',
|
|
686
987
|
url: '/order/exchange/upcharge',
|
|
687
|
-
headers:
|
|
988
|
+
headers: {
|
|
989
|
+
'x-drt-domain': xDrtDomain,
|
|
990
|
+
},
|
|
688
991
|
body: requestBody,
|
|
689
992
|
mediaType: 'application/json',
|
|
690
993
|
errors: {
|