@drttix/drt-sdk 2.0.1 → 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 +3 -0
- package/dist/cjs/src/definitions/portal.d.ts +6 -0
- package/dist/cjs/src/definitions/portal.js +46 -40
- 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/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/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/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 +32 -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 +4 -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/EventGroup.d.ts +20 -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/OrderSeat.d.ts +8 -0
- package/dist/cjs/src/generated/shopper/models/RecalcReturn.d.ts +8 -0
- package/dist/cjs/src/generated/shopper/models/SeatInCart.d.ts +8 -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/TimedEntrySlot.d.ts +38 -0
- package/dist/cjs/src/generated/shopper/models/TimedEntrySlot.js +2 -0
- package/dist/cjs/src/generated/shopper/services/EventService.d.ts +15 -0
- package/dist/cjs/src/generated/shopper/services/EventService.js +25 -0
- package/dist/cjs/src/generated/shopper/services/SeatService.d.ts +17 -0
- package/dist/cjs/src/generated/shopper/services/SeatService.js +30 -0
- package/dist/cjs/src/generated/shopper/services/SessionService.d.ts +14 -0
- package/dist/cjs/src/generated/shopper/services/SessionService.js +25 -0
- package/dist/cjs/src/generated/shopper/types.d.ts +4 -0
- package/dist/cjs/src/staging/index.d.ts +3 -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 +3 -0
- package/dist/esm/src/definitions/portal.d.ts +6 -0
- package/dist/esm/src/definitions/portal.js +6 -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/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/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/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 +32 -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 +4 -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/EventGroup.d.ts +20 -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/OrderSeat.d.ts +8 -0
- package/dist/esm/src/generated/shopper/models/RecalcReturn.d.ts +8 -0
- package/dist/esm/src/generated/shopper/models/SeatInCart.d.ts +8 -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/TimedEntrySlot.d.ts +38 -0
- package/dist/esm/src/generated/shopper/models/TimedEntrySlot.js +1 -0
- package/dist/esm/src/generated/shopper/services/EventService.d.ts +15 -0
- package/dist/esm/src/generated/shopper/services/EventService.js +25 -0
- package/dist/esm/src/generated/shopper/services/SeatService.d.ts +17 -0
- package/dist/esm/src/generated/shopper/services/SeatService.js +30 -0
- package/dist/esm/src/generated/shopper/services/SessionService.d.ts +14 -0
- package/dist/esm/src/generated/shopper/services/SessionService.js +25 -0
- package/dist/esm/src/generated/shopper/types.d.ts +4 -0
- package/dist/esm/src/staging/index.d.ts +3 -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/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/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/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/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 +32 -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 +4 -0
- package/src/generated/shopper/models/DayPassDto.ts +15 -0
- package/src/generated/shopper/models/EventGroup.ts +20 -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/OrderSeat.ts +8 -0
- package/src/generated/shopper/models/RecalcReturn.ts +8 -0
- package/src/generated/shopper/models/SeatInCart.ts +8 -0
- package/src/generated/shopper/models/SetShowGroupRequest.ts +11 -0
- package/src/generated/shopper/models/SetShowGroupResponse.ts +12 -0
- package/src/generated/shopper/models/TimedEntrySlot.ts +43 -0
- package/src/generated/shopper/services/EventService.ts +31 -0
- package/src/generated/shopper/services/SeatService.ts +34 -0
- package/src/generated/shopper/services/SessionService.ts +30 -0
- package/src/generated/shopper/types.ts +4 -0
- package/src/staging/portal.ts +6 -0
|
@@ -20,12 +20,16 @@ import type { MigrateTicketDetails } from '../models/MigrateTicketDetails';
|
|
|
20
20
|
import type { MigrateTicketRequestDto } from '../models/MigrateTicketRequestDto';
|
|
21
21
|
import type { PerformersListRequestDto } from '../models/PerformersListRequestDto';
|
|
22
22
|
import type { PerformersListResponseDto } from '../models/PerformersListResponseDto';
|
|
23
|
+
import type { SavePricingSetRequestDto } from '../models/SavePricingSetRequestDto';
|
|
24
|
+
import type { SavePricingSetResponseDto } from '../models/SavePricingSetResponseDto';
|
|
23
25
|
import type { SeatDetailsResponseDto } from '../models/SeatDetailsResponseDto';
|
|
24
26
|
import type { ShowCapacityResponseDto } from '../models/ShowCapacityResponseDto';
|
|
25
27
|
import type { ShowChartPreviewResponseDto } from '../models/ShowChartPreviewResponseDto';
|
|
26
28
|
import type { ShowDetailDto } from '../models/ShowDetailDto';
|
|
27
29
|
import type { ShowListResponseDto } from '../models/ShowListResponseDto';
|
|
30
|
+
import type { ShowOccupancyVisualizerResponseDto } from '../models/ShowOccupancyVisualizerResponseDto';
|
|
28
31
|
import type { ShowPricingDetail } from '../models/ShowPricingDetail';
|
|
32
|
+
import type { ShowRevenueVisualizerResponseDto } from '../models/ShowRevenueVisualizerResponseDto';
|
|
29
33
|
import type { ShowSectionDetail } from '../models/ShowSectionDetail';
|
|
30
34
|
import type { ShowStatDetail } from '../models/ShowStatDetail';
|
|
31
35
|
import type { ShowTicketSectionListResponseDto } from '../models/ShowTicketSectionListResponseDto';
|
|
@@ -239,6 +243,79 @@ export class ShowsService {
|
|
|
239
243
|
},
|
|
240
244
|
});
|
|
241
245
|
}
|
|
246
|
+
/**
|
|
247
|
+
* Fetch the show occupancy history
|
|
248
|
+
* The blocked seats and every order with the seats it holds, oldest first, for replaying how the show filled
|
|
249
|
+
* @param xStudioId The ID of the studio
|
|
250
|
+
* @param showId The ID of the show
|
|
251
|
+
* @returns ShowOccupancyVisualizerResponseDto Show occupancy history fetched successfully
|
|
252
|
+
* @throws ApiError
|
|
253
|
+
*/
|
|
254
|
+
public static getShowOccupancyVisualizer(
|
|
255
|
+
xStudioId: string,
|
|
256
|
+
showId: string,
|
|
257
|
+
): CancelablePromise<ShowOccupancyVisualizerResponseDto> {
|
|
258
|
+
return __request(OpenAPI, {
|
|
259
|
+
method: 'GET',
|
|
260
|
+
url: '/admin-portal/shows/{showId}/occupancy-visualizer',
|
|
261
|
+
path: {
|
|
262
|
+
'showId': showId,
|
|
263
|
+
},
|
|
264
|
+
headers: {
|
|
265
|
+
'x-studio-id': xStudioId,
|
|
266
|
+
},
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* Fetch the show pricing sections
|
|
271
|
+
* The show sections with their seat rules and default prices, the pricing sets the studio has shared, and its open interviews
|
|
272
|
+
* @param xStudioId The ID of the studio
|
|
273
|
+
* @param showId The ID of the show
|
|
274
|
+
* @returns ShowRevenueVisualizerResponseDto Show pricing sections fetched successfully
|
|
275
|
+
* @throws ApiError
|
|
276
|
+
*/
|
|
277
|
+
public static getShowRevenueVisualizer(
|
|
278
|
+
xStudioId: string,
|
|
279
|
+
showId: string,
|
|
280
|
+
): CancelablePromise<ShowRevenueVisualizerResponseDto> {
|
|
281
|
+
return __request(OpenAPI, {
|
|
282
|
+
method: 'GET',
|
|
283
|
+
url: '/admin-portal/shows/{showId}/revenue-visualizer',
|
|
284
|
+
path: {
|
|
285
|
+
'showId': showId,
|
|
286
|
+
},
|
|
287
|
+
headers: {
|
|
288
|
+
'x-studio-id': xStudioId,
|
|
289
|
+
},
|
|
290
|
+
});
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* Share a pricing set with DRT
|
|
294
|
+
* Save the section pricing drawn up in the revenue visualizer for DRT to import onto the run it names
|
|
295
|
+
* @param xStudioId The ID of the studio
|
|
296
|
+
* @param showId The ID of the show
|
|
297
|
+
* @param requestBody
|
|
298
|
+
* @returns SavePricingSetResponseDto Pricing set saved successfully
|
|
299
|
+
* @throws ApiError
|
|
300
|
+
*/
|
|
301
|
+
public static saveShowPricingSet(
|
|
302
|
+
xStudioId: string,
|
|
303
|
+
showId: string,
|
|
304
|
+
requestBody: SavePricingSetRequestDto,
|
|
305
|
+
): CancelablePromise<SavePricingSetResponseDto> {
|
|
306
|
+
return __request(OpenAPI, {
|
|
307
|
+
method: 'POST',
|
|
308
|
+
url: '/admin-portal/shows/{showId}/pricing-set',
|
|
309
|
+
path: {
|
|
310
|
+
'showId': showId,
|
|
311
|
+
},
|
|
312
|
+
headers: {
|
|
313
|
+
'x-studio-id': xStudioId,
|
|
314
|
+
},
|
|
315
|
+
body: requestBody,
|
|
316
|
+
mediaType: 'application/json',
|
|
317
|
+
});
|
|
318
|
+
}
|
|
242
319
|
/**
|
|
243
320
|
* Fetch the show tickets
|
|
244
321
|
* To fetch the tickets of the show
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { ActivityLogResponseDto } from '../models/ActivityLogResponseDto';
|
|
6
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
7
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
8
|
+
import { request as __request } from '../core/request';
|
|
9
|
+
export class SuperUserActivityLogService {
|
|
10
|
+
/**
|
|
11
|
+
* Read the admin portal activity log
|
|
12
|
+
* One page of logs.dbo.admin_portal_log for the studio in the request header, newest first, filtered by date range and action. Covers the new admin portal only; the legacy portal writes nothing here.
|
|
13
|
+
* @param xStudioId The ID of the studio
|
|
14
|
+
* @param startDate
|
|
15
|
+
* @param endDate
|
|
16
|
+
* @param category
|
|
17
|
+
* @param action
|
|
18
|
+
* @param page
|
|
19
|
+
* @param pageSize
|
|
20
|
+
* @returns ActivityLogResponseDto Activity log fetched successfully
|
|
21
|
+
* @throws ApiError
|
|
22
|
+
*/
|
|
23
|
+
public static getActivityLog(
|
|
24
|
+
xStudioId: string,
|
|
25
|
+
startDate?: string,
|
|
26
|
+
endDate?: string,
|
|
27
|
+
category?: string,
|
|
28
|
+
action?: string,
|
|
29
|
+
page?: number,
|
|
30
|
+
pageSize?: number,
|
|
31
|
+
): CancelablePromise<ActivityLogResponseDto> {
|
|
32
|
+
return __request(OpenAPI, {
|
|
33
|
+
method: 'GET',
|
|
34
|
+
url: '/admin-portal/superuser/activity-log',
|
|
35
|
+
headers: {
|
|
36
|
+
'x-studio-id': xStudioId,
|
|
37
|
+
},
|
|
38
|
+
query: {
|
|
39
|
+
'startDate': startDate,
|
|
40
|
+
'endDate': endDate,
|
|
41
|
+
'category': category,
|
|
42
|
+
'action': action,
|
|
43
|
+
'page': page,
|
|
44
|
+
'pageSize': pageSize,
|
|
45
|
+
},
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* List the actions the portal logs
|
|
50
|
+
* Every action in the reference table, with its label and category.
|
|
51
|
+
* @param xStudioId The ID of the studio
|
|
52
|
+
* @returns any The actions the log can contain, for the filter
|
|
53
|
+
* @throws ApiError
|
|
54
|
+
*/
|
|
55
|
+
public static getActivityLogActions(
|
|
56
|
+
xStudioId: string,
|
|
57
|
+
): CancelablePromise<any> {
|
|
58
|
+
return __request(OpenAPI, {
|
|
59
|
+
method: 'GET',
|
|
60
|
+
url: '/admin-portal/superuser/activity-log/actions',
|
|
61
|
+
headers: {
|
|
62
|
+
'x-studio-id': xStudioId,
|
|
63
|
+
},
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { PerformancePixDetailsResponseDto } from '../models/PerformancePixDetailsResponseDto';
|
|
6
|
+
import type { PerformancePixLoginUrlResponseDto } from '../models/PerformancePixLoginUrlResponseDto';
|
|
7
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
8
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
9
|
+
import { request as __request } from '../core/request';
|
|
10
|
+
export class SuperuserPerformancePixService {
|
|
11
|
+
/**
|
|
12
|
+
* DRT Performance Pix page details
|
|
13
|
+
* Whether the login may use the Performance Pix SSO button (superuser only for now) and whether SSO is configured.
|
|
14
|
+
* @param xStudioId The ID of the studio
|
|
15
|
+
* @returns PerformancePixDetailsResponseDto
|
|
16
|
+
* @throws ApiError
|
|
17
|
+
*/
|
|
18
|
+
public static fetchPerformancePixDetails(
|
|
19
|
+
xStudioId: string,
|
|
20
|
+
): CancelablePromise<PerformancePixDetailsResponseDto> {
|
|
21
|
+
return __request(OpenAPI, {
|
|
22
|
+
method: 'GET',
|
|
23
|
+
url: '/admin-portal/superuser/performance-pix/details',
|
|
24
|
+
headers: {
|
|
25
|
+
'x-studio-id': xStudioId,
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Mint a single-use Performance Pix (Picfolio) login link
|
|
31
|
+
* Mints a fresh single-use magic link for this studio via the integrations service (which provisions the Picfolio studio on first use). One link per click; the client must redirect immediately and never store it. Superuser only.
|
|
32
|
+
* @param xStudioId The ID of the studio
|
|
33
|
+
* @returns PerformancePixLoginUrlResponseDto
|
|
34
|
+
* @throws ApiError
|
|
35
|
+
*/
|
|
36
|
+
public static createPerformancePixLoginUrl(
|
|
37
|
+
xStudioId: string,
|
|
38
|
+
): CancelablePromise<PerformancePixLoginUrlResponseDto> {
|
|
39
|
+
return __request(OpenAPI, {
|
|
40
|
+
method: 'POST',
|
|
41
|
+
url: '/admin-portal/superuser/performance-pix/login-url',
|
|
42
|
+
headers: {
|
|
43
|
+
'x-studio-id': xStudioId,
|
|
44
|
+
},
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -5,6 +5,8 @@ export type { AbandonedCartResponseDto } from './models/AbandonedCartResponseDto
|
|
|
5
5
|
export type { AcceptAgreementRequestDto } from './models/AcceptAgreementRequestDto';
|
|
6
6
|
export type { AccountDetailResponseDto } from './models/AccountDetailResponseDto';
|
|
7
7
|
export type { ActionResponseDto } from './models/ActionResponseDto';
|
|
8
|
+
export type { ActivityLogEntryDto } from './models/ActivityLogEntryDto';
|
|
9
|
+
export type { ActivityLogResponseDto } from './models/ActivityLogResponseDto';
|
|
8
10
|
export type { AddSessionSeatRequestDto } from './models/AddSessionSeatRequestDto';
|
|
9
11
|
export type { AddSessionSeatResponseDto } from './models/AddSessionSeatResponseDto';
|
|
10
12
|
export type { AddVideoAssetFormatRequestDto } from './models/AddVideoAssetFormatRequestDto';
|
|
@@ -127,9 +129,9 @@ export type { DonationReportResponseDto } from './models/DonationReportResponseD
|
|
|
127
129
|
export type { DonationRequestDto } from './models/DonationRequestDto';
|
|
128
130
|
export type { DonationResponseDto } from './models/DonationResponseDto';
|
|
129
131
|
export type { DownloadLog } from './models/DownloadLog';
|
|
132
|
+
export type { DownloadTicketsResponseDto } from './models/DownloadTicketsResponseDto';
|
|
130
133
|
export type { DuplicateFundRequestDto } from './models/DuplicateFundRequestDto';
|
|
131
134
|
export type { DuplicateProductRequestDto } from './models/DuplicateProductRequestDto';
|
|
132
|
-
export type { EditMailRequestDto } from './models/EditMailRequestDto';
|
|
133
135
|
export type { EditShowRequestDto } from './models/EditShowRequestDto';
|
|
134
136
|
export type { EmailBuyersListResponseDto } from './models/EmailBuyersListResponseDto';
|
|
135
137
|
export type { EmailBuyersRequestDto } from './models/EmailBuyersRequestDto';
|
|
@@ -140,6 +142,7 @@ export type { ExecuteReleaseSeatRequestDto } from './models/ExecuteReleaseSeatRe
|
|
|
140
142
|
export type { ExecuteSeatExchangeRequestDto } from './models/ExecuteSeatExchangeRequestDto';
|
|
141
143
|
export type { ExpireHiddenCodesRequestDto } from './models/ExpireHiddenCodesRequestDto';
|
|
142
144
|
export type { ExtraCartResponseDto } from './models/ExtraCartResponseDto';
|
|
145
|
+
export type { FacebookRescrapeResponseDto } from './models/FacebookRescrapeResponseDto';
|
|
143
146
|
export type { FeatureNotificationResponseDto } from './models/FeatureNotificationResponseDto';
|
|
144
147
|
export type { FilterShowsResponseDto } from './models/FilterShowsResponseDto';
|
|
145
148
|
export type { ForgotPasswordRequestDto } from './models/ForgotPasswordRequestDto';
|
|
@@ -214,6 +217,8 @@ export type { NotificationDto } from './models/NotificationDto';
|
|
|
214
217
|
export type { NotificationResponseDto } from './models/NotificationResponseDto';
|
|
215
218
|
export type { NotificationSettingRequestDto } from './models/NotificationSettingRequestDto';
|
|
216
219
|
export type { NotificationSettingsResponseDto } from './models/NotificationSettingsResponseDto';
|
|
220
|
+
export type { OccupancyVisualizerOrderDto } from './models/OccupancyVisualizerOrderDto';
|
|
221
|
+
export type { OccupancyVisualizerShowDto } from './models/OccupancyVisualizerShowDto';
|
|
217
222
|
export type { OperationResultResponseDto } from './models/OperationResultResponseDto';
|
|
218
223
|
export type { OrderActionsResponseDto } from './models/OrderActionsResponseDto';
|
|
219
224
|
export type { OrderDetail } from './models/OrderDetail';
|
|
@@ -238,6 +243,8 @@ export type { PatronManifestDetailResponseDto } from './models/PatronManifestDet
|
|
|
238
243
|
export type { PatronShowGroupResponseDto } from './models/PatronShowGroupResponseDto';
|
|
239
244
|
export type { PatronStatsResponseDto } from './models/PatronStatsResponseDto';
|
|
240
245
|
export type { PaymentGatewayResponseDto } from './models/PaymentGatewayResponseDto';
|
|
246
|
+
export type { PerformancePixDetailsResponseDto } from './models/PerformancePixDetailsResponseDto';
|
|
247
|
+
export type { PerformancePixLoginUrlResponseDto } from './models/PerformancePixLoginUrlResponseDto';
|
|
241
248
|
export type { PerformerCreditOrderRequestDto } from './models/PerformerCreditOrderRequestDto';
|
|
242
249
|
export type { Performers } from './models/Performers';
|
|
243
250
|
export type { PerformersListRequestDto } from './models/PerformersListRequestDto';
|
|
@@ -250,6 +257,8 @@ export type { PolicyResponseDto } from './models/PolicyResponseDto';
|
|
|
250
257
|
export type { PortalObjectRequestDto } from './models/PortalObjectRequestDto';
|
|
251
258
|
export type { PosSettingsRequestDto } from './models/PosSettingsRequestDto';
|
|
252
259
|
export type { PosSettingsResponseDto } from './models/PosSettingsResponseDto';
|
|
260
|
+
export type { PricingSetBodyDto } from './models/PricingSetBodyDto';
|
|
261
|
+
export type { PricingSetRuleDto } from './models/PricingSetRuleDto';
|
|
253
262
|
export type { PriorityCode } from './models/PriorityCode';
|
|
254
263
|
export type { PriorityCodeResponseDto } from './models/PriorityCodeResponseDto';
|
|
255
264
|
export type { PriorityWaveDetail } from './models/PriorityWaveDetail';
|
|
@@ -294,10 +303,17 @@ export type { ReservedShowDto } from './models/ReservedShowDto';
|
|
|
294
303
|
export type { ResetTaxPaymentRequestDto } from './models/ResetTaxPaymentRequestDto';
|
|
295
304
|
export type { RevenueByShowRequestDto } from './models/RevenueByShowRequestDto';
|
|
296
305
|
export type { RevenueShowCalculationsResponseDto } from './models/RevenueShowCalculationsResponseDto';
|
|
306
|
+
export type { RevenueVisualizerInterviewDto } from './models/RevenueVisualizerInterviewDto';
|
|
307
|
+
export type { RevenueVisualizerPricingSetDto } from './models/RevenueVisualizerPricingSetDto';
|
|
308
|
+
export type { RevenueVisualizerRuleDto } from './models/RevenueVisualizerRuleDto';
|
|
309
|
+
export type { RevenueVisualizerSectionDto } from './models/RevenueVisualizerSectionDto';
|
|
310
|
+
export type { RevenueVisualizerShowDto } from './models/RevenueVisualizerShowDto';
|
|
297
311
|
export type { SaleDetail } from './models/SaleDetail';
|
|
298
312
|
export type { SalesByTierResponseDto } from './models/SalesByTierResponseDto';
|
|
299
313
|
export type { SalesProductResponseDto } from './models/SalesProductResponseDto';
|
|
300
314
|
export type { SaveAdministrativeNoteRequestDto } from './models/SaveAdministrativeNoteRequestDto';
|
|
315
|
+
export type { SavePricingSetRequestDto } from './models/SavePricingSetRequestDto';
|
|
316
|
+
export type { SavePricingSetResponseDto } from './models/SavePricingSetResponseDto';
|
|
301
317
|
export type { SaveVideoAssetChapterRequestDto } from './models/SaveVideoAssetChapterRequestDto';
|
|
302
318
|
export type { SaveVideoAssetRequestDto } from './models/SaveVideoAssetRequestDto';
|
|
303
319
|
export type { ScannedTicketOrderResponseDto } from './models/ScannedTicketOrderResponseDto';
|
|
@@ -342,10 +358,12 @@ export type { ShowDetailsResponseDto } from './models/ShowDetailsResponseDto';
|
|
|
342
358
|
export type { ShowGroupResponseDto } from './models/ShowGroupResponseDto';
|
|
343
359
|
export type { ShowGroups } from './models/ShowGroups';
|
|
344
360
|
export type { ShowListResponseDto } from './models/ShowListResponseDto';
|
|
361
|
+
export type { ShowOccupancyVisualizerResponseDto } from './models/ShowOccupancyVisualizerResponseDto';
|
|
345
362
|
export type { ShowOrders } from './models/ShowOrders';
|
|
346
363
|
export type { ShowPricing } from './models/ShowPricing';
|
|
347
364
|
export type { ShowPricingDetail } from './models/ShowPricingDetail';
|
|
348
365
|
export type { ShowReportListResponseDto } from './models/ShowReportListResponseDto';
|
|
366
|
+
export type { ShowRevenueVisualizerResponseDto } from './models/ShowRevenueVisualizerResponseDto';
|
|
349
367
|
export type { Shows } from './models/Shows';
|
|
350
368
|
export type { ShowSeatDetailResponseDto } from './models/ShowSeatDetailResponseDto';
|
|
351
369
|
export type { ShowSeatPair } from './models/ShowSeatPair';
|
|
@@ -54,6 +54,7 @@ export type { CreatePaymentIntentResponse } from './models/CreatePaymentIntentRe
|
|
|
54
54
|
export type { CreatePaymentLinkBody } from './models/CreatePaymentLinkBody';
|
|
55
55
|
export type { CreatePaymentLinkResponse } from './models/CreatePaymentLinkResponse';
|
|
56
56
|
export type { CreateSessionDto } from './models/CreateSessionDto';
|
|
57
|
+
export type { DayPassDto } from './models/DayPassDto';
|
|
57
58
|
export type { DigitalAsset } from './models/DigitalAsset';
|
|
58
59
|
export type { DonateOrderRequest } from './models/DonateOrderRequest';
|
|
59
60
|
export type { DonationContribution } from './models/DonationContribution';
|
|
@@ -173,6 +174,8 @@ export type { SectionRule } from './models/SectionRule';
|
|
|
173
174
|
export type { SessionHeartbeatDto } from './models/SessionHeartbeatDto';
|
|
174
175
|
export type { SessionInfoDto } from './models/SessionInfoDto';
|
|
175
176
|
export type { SetLanguageDto } from './models/SetLanguageDto';
|
|
177
|
+
export type { SetShowGroupRequest } from './models/SetShowGroupRequest';
|
|
178
|
+
export type { SetShowGroupResponse } from './models/SetShowGroupResponse';
|
|
176
179
|
export type { SharedStream } from './models/SharedStream';
|
|
177
180
|
export type { ShowExtras } from './models/ShowExtras';
|
|
178
181
|
export type { SiteDisposition } from './models/SiteDisposition';
|
|
@@ -194,6 +197,7 @@ export type { TheatreAddresses } from './models/TheatreAddresses';
|
|
|
194
197
|
export type { Ticket } from './models/Ticket';
|
|
195
198
|
export type { TicketBlock } from './models/TicketBlock';
|
|
196
199
|
export type { TicketInstructions } from './models/TicketInstructions';
|
|
200
|
+
export type { TimedEntrySlot } from './models/TimedEntrySlot';
|
|
197
201
|
export type { UniversalCodeResponse } from './models/UniversalCodeResponse';
|
|
198
202
|
export type { UpdateTierData } from './models/UpdateTierData';
|
|
199
203
|
export type { UpdateTierFail } from './models/UpdateTierFail';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type DayPassDto = {
|
|
6
|
+
/**
|
|
7
|
+
* The studio's day-pass access code for today (Eastern Time): MD5(studioId + salt + MM/DD/YYYY), 32 hex characters. Minted by the admin portal (Priority Codes → View day passes) and rotated daily.
|
|
8
|
+
*/
|
|
9
|
+
accessCode: string;
|
|
10
|
+
/**
|
|
11
|
+
* Optional: the session to hand this browser. When it is a live session of this studio the pass is set on IT and its session is returned, so the caller adopts that identity (the legacy cookie overwrite). Otherwise the caller's own session gets the pass.
|
|
12
|
+
*/
|
|
13
|
+
shopperGuid?: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
@@ -11,6 +11,26 @@ export type EventGroup = {
|
|
|
11
11
|
shortDescription: string;
|
|
12
12
|
longDescription: string;
|
|
13
13
|
image: number;
|
|
14
|
+
/**
|
|
15
|
+
* The group's artwork resolved to a URL (image.cloud_src, else the legacy on-disk /images/{studioId}/{server_filename} path). Null when the group carries no image_id. The site paints it as the banner on the group's own /sg/{id} page.
|
|
16
|
+
*/
|
|
17
|
+
imageSrc: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* show_group.compact - 0/1. When 1 the site renders the group as a compact block: the group's own name and descriptions lead and its shows become narrow one-line rows instead of full cards.
|
|
20
|
+
*/
|
|
21
|
+
compact: number;
|
|
22
|
+
/**
|
|
23
|
+
* show_group.dedicated_page_only - 0/1. When 1 the group is browsed on its own page: the events list carries a LINK to the group in place of its shows, and the shows are listed only on that page. Independent of compact, which still decides how they are drawn once the shopper is there. It does NOT pin the session - only POST /event/group does that - so a catalogue filtered this way is the site's own doing and this flag never narrows GET /event.
|
|
24
|
+
*/
|
|
25
|
+
dedicatedPageOnly: number;
|
|
26
|
+
/**
|
|
27
|
+
* show_group.display_banner_logo - 0/1. Whether the studio LOGO still paints on top of this group's banner artwork on the group's own page. 1 (the default a never-written row answers) is the banner every other page draws; 0 is the studio asking for the artwork alone. Independent of displayBannerText.
|
|
28
|
+
*/
|
|
29
|
+
displayBannerLogo: number;
|
|
30
|
+
/**
|
|
31
|
+
* show_group.display_banner_text - 0/1. The same, for the banner's PRESENTS / show-title block.
|
|
32
|
+
*/
|
|
33
|
+
displayBannerText: number;
|
|
14
34
|
isPublished: number | null;
|
|
15
35
|
};
|
|
16
36
|
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
import type { GaTier } from './GaTier';
|
|
6
|
+
import type { TimedEntrySlot } from './TimedEntrySlot';
|
|
6
7
|
export type GaSelection = {
|
|
7
8
|
tiers: Array<GaTier>;
|
|
8
9
|
/**
|
|
@@ -25,5 +26,9 @@ export type GaSelection = {
|
|
|
25
26
|
* Lap-child max age, if a lap-child policy applies.
|
|
26
27
|
*/
|
|
27
28
|
lapChildMaxAge: number | null;
|
|
29
|
+
/**
|
|
30
|
+
* The entry windows of a TIMED-ENTRY show (`show_type` 5), earliest first. Empty for every other show type — a client that does not know about timed entry sees exactly what it saw before.
|
|
31
|
+
*/
|
|
32
|
+
slots: Array<TimedEntrySlot>;
|
|
28
33
|
};
|
|
29
34
|
|
|
@@ -30,6 +30,17 @@ export type GaTier = {
|
|
|
30
30
|
remaining: number | null;
|
|
31
31
|
ticketColor: string | null;
|
|
32
32
|
isHandicap: number;
|
|
33
|
+
/**
|
|
34
|
+
* `seat_pricing_tier.rank` — the studio's own ordering column. Ascending, and it is the FIRST key a client should offer these levels by; this array is not returned in any meaningful order (it comes off the cached tier blob as written).
|
|
35
|
+
*/
|
|
33
36
|
rank: number;
|
|
37
|
+
/**
|
|
38
|
+
* `seat_pricing_tier.is_default` — the show's headline price level. Breaks a tie on `rank`, which is not hypothetical: a studio that never touched the ordering column leaves every tier at rank 0. Reported for the same reason `TimedEntrySlot` reports it — a client cannot order what it cannot see. The implicit level (tierId 0) is the only one there is, so it reports 1.
|
|
39
|
+
*/
|
|
40
|
+
isDefault: number;
|
|
41
|
+
/**
|
|
42
|
+
* `seat_pricing_tier.section_id` — the show section this price level belongs to, or null when it belongs to none. It has always decided where a GA hold lands (the seat engine reads a hold's section off its tier, seat-engine lib/event-ga.js `#holdSeat`); it is exposed here because a TIMED-ENTRY show needs it visible: the shopper picks an entry window (a section) and then a ticket type, and this is what says which types belong to which window. The implicit level (tierId 0) reports the show's default section.
|
|
43
|
+
*/
|
|
44
|
+
sectionId: number | null;
|
|
34
45
|
};
|
|
35
46
|
|
|
@@ -7,5 +7,9 @@ import type { EventListItem } from './EventListItem';
|
|
|
7
7
|
export type GetEventsResponse = {
|
|
8
8
|
events: Array<EventListItem>;
|
|
9
9
|
groups: Array<EventGroup>;
|
|
10
|
+
/**
|
|
11
|
+
* The show group this session is scoped to (`session.show_group_id`, set by POST /event/group), or null for the whole catalogue. It is the reason `events` may be a subset, and on a cold page load it is the only thing that tells the client the scope exists.
|
|
12
|
+
*/
|
|
13
|
+
showGroupId: number | null;
|
|
10
14
|
};
|
|
11
15
|
|
|
@@ -5,6 +5,14 @@
|
|
|
5
5
|
export type OrderSeat = {
|
|
6
6
|
seat_id: number;
|
|
7
7
|
show_id: number;
|
|
8
|
+
/**
|
|
9
|
+
* TIMED ENTRY (show_type 5): when this ticket may be scanned in, from show_section.date_scan_earliest_allowed. Null on every other show type, whose sections are seating blocks rather than windows. NAIVE (no Z) - the venue wall clock, which is what the door enforces and what the receipt must print.
|
|
10
|
+
*/
|
|
11
|
+
entry_from: string | null;
|
|
12
|
+
/**
|
|
13
|
+
* TIMED ENTRY (show_type 5): when this ticket stops being valid, from show_section.date_scan_latest_allowed. Null otherwise, naive.
|
|
14
|
+
*/
|
|
15
|
+
entry_to: string | null;
|
|
8
16
|
show_name: string;
|
|
9
17
|
show_title: string;
|
|
10
18
|
show_date_start: string;
|
|
@@ -31,5 +31,13 @@ export type RecalcReturn = {
|
|
|
31
31
|
* The auto discount adjustment amount for the order.
|
|
32
32
|
*/
|
|
33
33
|
autodiscountAdjust: number;
|
|
34
|
+
/**
|
|
35
|
+
* The change in ticketing/service fees between the original order and the recalculated order (new fees minus fees already charged). 0 when fees are even. Positive values drive the Stripe application fee on exchange upcharges.
|
|
36
|
+
*/
|
|
37
|
+
feeAdjust: number;
|
|
38
|
+
/**
|
|
39
|
+
* The ledger correction needed on the order's coupon (type 8) row: the reapplied coupon for the recalculated order minus what the ledger currently carries. Positive when seats covered by a coupon are removed. 0 when the coupon still applies unchanged.
|
|
40
|
+
*/
|
|
41
|
+
couponAdjust: number;
|
|
34
42
|
};
|
|
35
43
|
|
|
@@ -30,5 +30,13 @@ export type SeatInCart = {
|
|
|
30
30
|
* The priority code applied to this seat, if any (legacy priorityCodeID).
|
|
31
31
|
*/
|
|
32
32
|
priorityCodeId: number | null;
|
|
33
|
+
/**
|
|
34
|
+
* TIMED ENTRY only: when this ticket may first be scanned in (`show_section.date_scan_earliest_allowed` of the seat's section). A naive Eastern wall clock, no zone suffix. Null on every other show type — those have one curtain time and their sections are seating blocks, not entry windows.
|
|
35
|
+
*/
|
|
36
|
+
entryFrom: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* TIMED ENTRY only: when this ticket may last be scanned in (`show_section.date_scan_latest_allowed`). Null otherwise.
|
|
39
|
+
*/
|
|
40
|
+
entryTo: string | null;
|
|
33
41
|
};
|
|
34
42
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type SetShowGroupRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* The show group to scope this session to, or null to clear the scope and see the whole catalogue again.
|
|
8
|
+
*/
|
|
9
|
+
groupId: number | null;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { EventGroup } from './EventGroup';
|
|
6
|
+
export type SetShowGroupResponse = {
|
|
7
|
+
/**
|
|
8
|
+
* The group now pinned to the session, or null when the pin was cleared.
|
|
9
|
+
*/
|
|
10
|
+
group: EventGroup | null;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type TimedEntrySlot = {
|
|
6
|
+
/**
|
|
7
|
+
* `show_section.id` — the window.
|
|
8
|
+
*/
|
|
9
|
+
sectionId: number;
|
|
10
|
+
/**
|
|
11
|
+
* The section's own name. Present for completeness — the site labels a window by its scan window, not by this, because a studio names sections for its own back office.
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* `show_section.date_scan_earliest_allowed` — when entry opens. A NAIVE Eastern wall clock with no zone suffix, like every other date on this API.
|
|
16
|
+
*/
|
|
17
|
+
dateScanEarliestAllowed: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* `show_section.date_scan_latest_allowed` — when entry closes.
|
|
20
|
+
*/
|
|
21
|
+
dateScanLatestAllowed: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* The window's capacity (`ga_capacity`, else `capacity`), or null when uncapped.
|
|
24
|
+
*/
|
|
25
|
+
capacity: number | null;
|
|
26
|
+
/**
|
|
27
|
+
* Seats left in this window (capacity − taken), or null when uncapped. Best-effort DB count; the engine is the authority at hold, exactly as for `GaTier.remaining`.
|
|
28
|
+
*/
|
|
29
|
+
remaining: number | null;
|
|
30
|
+
/**
|
|
31
|
+
* `show_section.max_order_seats`, or null when unset.
|
|
32
|
+
*/
|
|
33
|
+
maxOrderSeats: number | null;
|
|
34
|
+
/**
|
|
35
|
+
* `show_section.is_default` — 0/1.
|
|
36
|
+
*/
|
|
37
|
+
isDefault: number;
|
|
38
|
+
/**
|
|
39
|
+
* `show_section.is_ada_seating` — 0/1.
|
|
40
|
+
*/
|
|
41
|
+
isAdaSeating: number;
|
|
42
|
+
};
|
|
43
|
+
|
|
@@ -7,6 +7,8 @@ import type { FullEventDetails } from '../models/FullEventDetails';
|
|
|
7
7
|
import type { GaSelection } from '../models/GaSelection';
|
|
8
8
|
import type { GetEventsResponse } from '../models/GetEventsResponse';
|
|
9
9
|
import type { PerformerEventList } from '../models/PerformerEventList';
|
|
10
|
+
import type { SetShowGroupRequest } from '../models/SetShowGroupRequest';
|
|
11
|
+
import type { SetShowGroupResponse } from '../models/SetShowGroupResponse';
|
|
10
12
|
import type { WaitlistResponse } from '../models/WaitlistResponse';
|
|
11
13
|
import type { WaitlistUpdate } from '../models/WaitlistUpdate';
|
|
12
14
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
@@ -69,6 +71,35 @@ export class EventService {
|
|
|
69
71
|
},
|
|
70
72
|
});
|
|
71
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* Scope this session to a show group
|
|
76
|
+
* Pins a show group to the shopper's session (legacy r/apply-sg.cfm), so GET /event answers only that group's shows. Pass groupId: null to clear the scope. 404 when the group does not belong to this studio.
|
|
77
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
78
|
+
* @param requestBody The show group to pin, or null to clear.
|
|
79
|
+
* @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).
|
|
80
|
+
* @returns SetShowGroupResponse The group now pinned, or null when the pin was cleared.
|
|
81
|
+
* @throws ApiError
|
|
82
|
+
*/
|
|
83
|
+
public static setShowGroup(
|
|
84
|
+
requestBody: SetShowGroupRequest,
|
|
85
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
86
|
+
xDrtDomain?: string,
|
|
87
|
+
): CancelablePromise<SetShowGroupResponse> {
|
|
88
|
+
return __request(OpenAPI, {
|
|
89
|
+
method: 'POST',
|
|
90
|
+
url: '/event/group',
|
|
91
|
+
headers: {
|
|
92
|
+
'x-drt-domain': xDrtDomain,
|
|
93
|
+
},
|
|
94
|
+
body: requestBody,
|
|
95
|
+
mediaType: 'application/json',
|
|
96
|
+
errors: {
|
|
97
|
+
400: `Bad Request error with error details.`,
|
|
98
|
+
404: `Not found error with error details.`,
|
|
99
|
+
500: `Internal Server Error, please contact developers.`,
|
|
100
|
+
},
|
|
101
|
+
});
|
|
102
|
+
}
|
|
72
103
|
/**
|
|
73
104
|
* Get event details by ID
|
|
74
105
|
* Retrieves detailed information for a specific event.
|
|
@@ -63,6 +63,40 @@ export class SeatService {
|
|
|
63
63
|
},
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* Get live entry-window occupancy for a timed-entry show
|
|
68
|
+
* How full each ENTRY WINDOW of a timed-entry show (`show_type` 5) is right now: `{eventId, capacity: {max, taken, available}, sections: [{sectionId, taken}]}`. A `sectionId` is a window — the same `show_section` row `GET /event/{id}/ga`'s `slots` describe — and `taken` counts sold, held and reservation-blocked seats alike, the same count those slots carry at first paint.
|
|
69
|
+
*
|
|
70
|
+
* CAPACITY IS NOT REPEATED PER WINDOW. It is static show configuration and already arrives with the slot list; subtract `taken` from a slot’s own `capacity` to get what is left. The show-level `capacity` block here is NOT the sum of the windows: a venue cap can close every window while none reached its own limit.
|
|
71
|
+
*
|
|
72
|
+
* Served from this API's ingest cache (the seat engine pushes every change here), or read from the engine directly on a miss. This is the first-paint read and the POLLING fallback; live updates reach the browser as `ga-occupancy-update` frames in the room provisioned by GET /seat/occupancy/socket.
|
|
73
|
+
* @param eventId The timed-entry show to read window occupancy for.
|
|
74
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
75
|
+
* @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).
|
|
76
|
+
* @returns any The entry-window occupancy snapshot.
|
|
77
|
+
* @throws ApiError
|
|
78
|
+
*/
|
|
79
|
+
public static getGaSeatOccupancy(
|
|
80
|
+
eventId: number,
|
|
81
|
+
context?: { shopperGuid?: string; accountId?: string },
|
|
82
|
+
xDrtDomain?: string,
|
|
83
|
+
): CancelablePromise<any> {
|
|
84
|
+
return __request(OpenAPI, {
|
|
85
|
+
method: 'GET',
|
|
86
|
+
url: '/seat/occupancy/ga',
|
|
87
|
+
headers: {
|
|
88
|
+
'x-drt-domain': xDrtDomain,
|
|
89
|
+
},
|
|
90
|
+
query: {
|
|
91
|
+
'eventId': eventId,
|
|
92
|
+
},
|
|
93
|
+
errors: {
|
|
94
|
+
400: `Bad Request error with error details.`,
|
|
95
|
+
404: `Not found error with error details.`,
|
|
96
|
+
500: `Internal Server Error, please contact developers.`,
|
|
97
|
+
},
|
|
98
|
+
});
|
|
99
|
+
}
|
|
66
100
|
/**
|
|
67
101
|
* Provision a read-only websocket for live occupancy
|
|
68
102
|
* Mints a listen-only websocket-server token bound to this event's occupancy room and returns the connection details: {url, token, roomId, event, expiresAt}. The browser connects with `new WebSocket(url, ["bearer." + token])` and receives {type:"event", event:"occupancy-update", payload:{occupancy}} frames — a 0/1 string, one character per seat, in seat-number order. The token cannot write: the websocket server enforces the listen-only capability itself. No snapshot arrives on join — clients paint from GET /seat/occupancy first. A 503 means "run poll-only for now", not a page failure.
|