@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.
Files changed (491) hide show
  1. package/dist/cjs/index.d.ts +4 -0
  2. package/dist/cjs/src/definitions/portal.d.ts +6 -0
  3. package/dist/cjs/src/definitions/portal.js +46 -40
  4. package/dist/cjs/src/definitions/shopper.d.ts +2 -0
  5. package/dist/cjs/src/definitions/shopper.js +6 -4
  6. package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
  7. package/dist/cjs/src/generated/portal/index.d.ts +23 -1
  8. package/dist/cjs/src/generated/portal/index.js +10 -2
  9. package/dist/cjs/src/generated/portal/models/ActivityLogEntryDto.d.ts +13 -0
  10. package/dist/cjs/src/generated/portal/models/ActivityLogEntryDto.js +2 -0
  11. package/dist/cjs/src/generated/portal/models/ActivityLogResponseDto.d.ts +5 -0
  12. package/dist/cjs/src/generated/portal/models/ActivityLogResponseDto.js +2 -0
  13. package/dist/cjs/src/generated/portal/models/BulkEditRequestDto.d.ts +2 -2
  14. package/dist/cjs/src/generated/portal/models/CreateDocumentResponseDto.d.ts +1 -0
  15. package/dist/cjs/src/generated/portal/models/CreateImageFileResponseDto.d.ts +1 -0
  16. package/dist/cjs/src/generated/portal/models/CreatePriorityCodeRequestDto.d.ts +2 -2
  17. package/dist/cjs/src/generated/portal/models/CreateShowRequestDto.d.ts +9 -1
  18. package/dist/cjs/src/generated/portal/models/CreateShowTimeDto.d.ts +52 -0
  19. package/dist/cjs/src/generated/portal/models/CreateTicketTypeDto.d.ts +4 -1
  20. package/dist/cjs/src/generated/portal/models/CreateUpdateProductRequestDto.d.ts +4 -4
  21. package/dist/cjs/src/generated/portal/models/CreateUpdateQuestionRequestDto.d.ts +8 -8
  22. package/dist/cjs/src/generated/portal/models/DashboardResponseDto.d.ts +4 -0
  23. package/dist/cjs/src/generated/portal/models/DownloadTicketsResponseDto.d.ts +7 -0
  24. package/dist/cjs/src/generated/portal/models/DownloadTicketsResponseDto.js +2 -0
  25. package/dist/cjs/src/generated/portal/models/EditMailRequestDto.d.ts +7 -0
  26. package/dist/cjs/src/generated/portal/models/EditMailRequestDto.js +9 -0
  27. package/dist/cjs/src/generated/portal/models/FacebookRescrapeResponseDto.d.ts +12 -0
  28. package/dist/cjs/src/generated/portal/models/FacebookRescrapeResponseDto.js +2 -0
  29. package/dist/cjs/src/generated/portal/models/ImportBlockedSeatResponse.d.ts +1 -0
  30. package/dist/cjs/src/generated/portal/models/OccupancyVisualizerOrderDto.d.ts +5 -0
  31. package/dist/cjs/src/generated/portal/models/OccupancyVisualizerOrderDto.js +2 -0
  32. package/dist/cjs/src/generated/portal/models/OccupancyVisualizerShowDto.d.ts +10 -0
  33. package/dist/cjs/src/generated/portal/models/OccupancyVisualizerShowDto.js +2 -0
  34. package/dist/cjs/src/generated/portal/models/PerformancePixDetailsResponseDto.d.ts +18 -0
  35. package/dist/cjs/src/generated/portal/models/PerformancePixDetailsResponseDto.js +2 -0
  36. package/dist/cjs/src/generated/portal/models/PerformancePixLoginUrlResponseDto.d.ts +11 -0
  37. package/dist/cjs/src/generated/portal/models/PerformancePixLoginUrlResponseDto.js +2 -0
  38. package/dist/cjs/src/generated/portal/models/PricingSetBodyDto.d.ts +5 -0
  39. package/dist/cjs/src/generated/portal/models/PricingSetBodyDto.js +2 -0
  40. package/dist/cjs/src/generated/portal/models/PricingSetRuleDto.d.ts +10 -0
  41. package/dist/cjs/src/generated/portal/models/PricingSetRuleDto.js +2 -0
  42. package/dist/cjs/src/generated/portal/models/ProductDetailResponseDto.d.ts +2 -2
  43. package/dist/cjs/src/generated/portal/models/RefundDetailResponseDto.d.ts +4 -0
  44. package/dist/cjs/src/generated/portal/models/RevenueVisualizerInterviewDto.d.ts +5 -0
  45. package/dist/cjs/src/generated/portal/models/RevenueVisualizerInterviewDto.js +2 -0
  46. package/dist/cjs/src/generated/portal/models/RevenueVisualizerPricingSetDto.d.ts +7 -0
  47. package/dist/cjs/src/generated/portal/models/RevenueVisualizerPricingSetDto.js +2 -0
  48. package/dist/cjs/src/generated/portal/models/RevenueVisualizerRuleDto.d.ts +7 -0
  49. package/dist/cjs/src/generated/portal/models/RevenueVisualizerRuleDto.js +2 -0
  50. package/dist/cjs/src/generated/portal/models/RevenueVisualizerSectionDto.d.ts +9 -0
  51. package/dist/cjs/src/generated/portal/models/RevenueVisualizerSectionDto.js +2 -0
  52. package/dist/cjs/src/generated/portal/models/RevenueVisualizerShowDto.d.ts +8 -0
  53. package/dist/cjs/src/generated/portal/models/RevenueVisualizerShowDto.js +2 -0
  54. package/dist/cjs/src/generated/portal/models/SavePricingSetRequestDto.d.ts +6 -0
  55. package/dist/cjs/src/generated/portal/models/SavePricingSetRequestDto.js +2 -0
  56. package/dist/cjs/src/generated/portal/models/SavePricingSetResponseDto.d.ts +4 -0
  57. package/dist/cjs/src/generated/portal/models/SavePricingSetResponseDto.js +2 -0
  58. package/dist/cjs/src/generated/portal/models/SeatResponseDto.d.ts +1 -0
  59. package/dist/cjs/src/generated/portal/models/SettingsDetailsResponseDto.d.ts +8 -0
  60. package/dist/cjs/src/generated/portal/models/ShowOccupancyVisualizerResponseDto.d.ts +9 -0
  61. package/dist/cjs/src/generated/portal/models/ShowOccupancyVisualizerResponseDto.js +2 -0
  62. package/dist/cjs/src/generated/portal/models/ShowPricing.d.ts +1 -0
  63. package/dist/cjs/src/generated/portal/models/ShowRevenueVisualizerResponseDto.d.ts +12 -0
  64. package/dist/cjs/src/generated/portal/models/ShowRevenueVisualizerResponseDto.js +2 -0
  65. package/dist/cjs/src/generated/portal/models/ShowsList.d.ts +44 -0
  66. package/dist/cjs/src/generated/portal/models/SoldTicketsResponseDto.d.ts +1 -0
  67. package/dist/cjs/src/generated/portal/models/SuccessResponse.d.ts +1 -0
  68. package/dist/cjs/src/generated/portal/models/UpdatePriorityCodeRequestDto.d.ts +2 -2
  69. package/dist/cjs/src/generated/portal/services/ClientToolsPerformancePixService.d.ts +21 -0
  70. package/dist/cjs/src/generated/portal/services/ClientToolsPerformancePixService.js +40 -0
  71. package/dist/cjs/src/generated/portal/services/ClientToolsTicketingLinkService.d.ts +9 -0
  72. package/dist/cjs/src/generated/portal/services/ClientToolsTicketingLinkService.js +16 -0
  73. package/dist/cjs/src/generated/portal/services/FeaturesBlockedSeatsService.d.ts +4 -3
  74. package/dist/cjs/src/generated/portal/services/FeaturesBlockedSeatsService.js +2 -2
  75. package/dist/cjs/src/generated/portal/services/ShowsService.d.ts +32 -0
  76. package/dist/cjs/src/generated/portal/services/ShowsService.js +63 -0
  77. package/dist/cjs/src/generated/portal/services/SuperUserActivityLogService.d.ts +26 -0
  78. package/dist/cjs/src/generated/portal/services/SuperUserActivityLogService.js +54 -0
  79. package/dist/cjs/src/generated/portal/services/SuperuserPerformancePixService.d.ts +21 -0
  80. package/dist/cjs/src/generated/portal/services/SuperuserPerformancePixService.js +40 -0
  81. package/dist/cjs/src/generated/portal/types.d.ts +19 -1
  82. package/dist/cjs/src/generated/scanner/core/OpenAPI.js +1 -1
  83. package/dist/cjs/src/generated/shopper/core/OpenAPI.js +1 -1
  84. package/dist/cjs/src/generated/shopper/index.d.ts +27 -1
  85. package/dist/cjs/src/generated/shopper/index.js +5 -1
  86. package/dist/cjs/src/generated/shopper/models/Account.d.ts +4 -0
  87. package/dist/cjs/src/generated/shopper/models/AssetDownloadRequest.d.ts +4 -0
  88. package/dist/cjs/src/generated/shopper/models/AssetDownloadRequest.js +2 -0
  89. package/dist/cjs/src/generated/shopper/models/AssetDownloadResponse.d.ts +7 -0
  90. package/dist/cjs/src/generated/shopper/models/AssetDownloadResponse.js +2 -0
  91. package/dist/cjs/src/generated/shopper/models/CapabilityManifestDto.d.ts +5 -1
  92. package/dist/cjs/src/generated/shopper/models/ClientRequestErrorResponse.d.ts +6 -0
  93. package/dist/cjs/src/generated/shopper/models/ClientRequestErrorResponse.js +2 -0
  94. package/dist/cjs/src/generated/shopper/models/CreatePaymentLinkBody.d.ts +18 -0
  95. package/dist/cjs/src/generated/shopper/models/CreatePaymentLinkBody.js +2 -0
  96. package/dist/cjs/src/generated/shopper/models/CreatePaymentLinkResponse.d.ts +40 -0
  97. package/dist/cjs/src/generated/shopper/models/CreatePaymentLinkResponse.js +2 -0
  98. package/dist/cjs/src/generated/shopper/models/DayPassDto.d.ts +10 -0
  99. package/dist/cjs/src/generated/shopper/models/DayPassDto.js +2 -0
  100. package/dist/cjs/src/generated/shopper/models/EventDetails.d.ts +4 -0
  101. package/dist/cjs/src/generated/shopper/models/EventFormat.d.ts +12 -0
  102. package/dist/cjs/src/generated/shopper/models/EventGroup.d.ts +20 -0
  103. package/dist/cjs/src/generated/shopper/models/EventListItem.d.ts +4 -0
  104. package/dist/cjs/src/generated/shopper/models/ExchangeValidateResponse.d.ts +4 -0
  105. package/dist/cjs/src/generated/shopper/models/FullEventDetails.d.ts +4 -0
  106. package/dist/cjs/src/generated/shopper/models/GaSelection.d.ts +5 -0
  107. package/dist/cjs/src/generated/shopper/models/GaTier.d.ts +11 -0
  108. package/dist/cjs/src/generated/shopper/models/GetEventsResponse.d.ts +4 -0
  109. package/dist/cjs/src/generated/shopper/models/ManifestSeat.d.ts +14 -0
  110. package/dist/cjs/src/generated/shopper/models/ManifestSeat.js +12 -0
  111. package/dist/cjs/src/generated/shopper/models/OrderLookupBody.d.ts +14 -0
  112. package/dist/cjs/src/generated/shopper/models/OrderLookupBody.js +2 -0
  113. package/dist/cjs/src/generated/shopper/models/OrderLookupResult.d.ts +14 -0
  114. package/dist/cjs/src/generated/shopper/models/OrderLookupResult.js +2 -0
  115. package/dist/cjs/src/generated/shopper/models/OrderRefundDetails.d.ts +1 -0
  116. package/dist/cjs/src/generated/shopper/models/OrderSeat.d.ts +8 -0
  117. package/dist/cjs/src/generated/shopper/models/PaymentLinkSession.d.ts +18 -0
  118. package/dist/cjs/src/generated/shopper/models/PaymentLinkSession.js +2 -0
  119. package/dist/cjs/src/generated/shopper/models/PaymentLinkStatus.d.ts +32 -0
  120. package/dist/cjs/src/generated/shopper/models/PaymentLinkStatus.js +2 -0
  121. package/dist/cjs/src/generated/shopper/models/RecalcReturn.d.ts +8 -0
  122. package/dist/cjs/src/generated/shopper/models/Receipt.d.ts +2 -0
  123. package/dist/cjs/src/generated/shopper/models/RefundExchangeOffer.d.ts +38 -0
  124. package/dist/cjs/src/generated/shopper/models/RefundExchangeOffer.js +2 -0
  125. package/dist/cjs/src/generated/shopper/models/RefundReason.d.ts +1 -0
  126. package/dist/cjs/src/generated/shopper/models/RefundRequestInfo.d.ts +2 -0
  127. package/dist/cjs/src/generated/shopper/models/RegisterStreamResponse.d.ts +4 -0
  128. package/dist/cjs/src/generated/shopper/models/ResetStreamInviteRequest.d.ts +8 -0
  129. package/dist/cjs/src/generated/shopper/models/ResetStreamInviteRequest.js +2 -0
  130. package/dist/cjs/src/generated/shopper/models/SaveStreamInvitesRequest.d.ts +10 -0
  131. package/dist/cjs/src/generated/shopper/models/SaveStreamInvitesRequest.js +2 -0
  132. package/dist/cjs/src/generated/shopper/models/SaveStreamInvitesResponse.d.ts +7 -0
  133. package/dist/cjs/src/generated/shopper/models/SaveStreamInvitesResponse.js +2 -0
  134. package/dist/cjs/src/generated/shopper/models/SeatInCart.d.ts +8 -0
  135. package/dist/cjs/src/generated/shopper/models/SeatManifest.d.ts +20 -0
  136. package/dist/cjs/src/generated/shopper/models/SeatManifest.js +2 -0
  137. package/dist/cjs/src/generated/shopper/models/SetShowGroupRequest.d.ts +6 -0
  138. package/dist/cjs/src/generated/shopper/models/SetShowGroupRequest.js +2 -0
  139. package/dist/cjs/src/generated/shopper/models/SetShowGroupResponse.d.ts +7 -0
  140. package/dist/cjs/src/generated/shopper/models/SetShowGroupResponse.js +2 -0
  141. package/dist/cjs/src/generated/shopper/models/SharedStream.d.ts +37 -0
  142. package/dist/cjs/src/generated/shopper/models/SharedStream.js +2 -0
  143. package/dist/cjs/src/generated/shopper/models/ShowExtras.d.ts +4 -0
  144. package/dist/cjs/src/generated/shopper/models/StartSupportSessionDto.d.ts +10 -0
  145. package/dist/cjs/src/generated/shopper/models/StartSupportSessionDto.js +2 -0
  146. package/dist/cjs/src/generated/shopper/models/StreamAuthorization.d.ts +14 -0
  147. package/dist/cjs/src/generated/shopper/models/StreamAuthorization.js +2 -0
  148. package/dist/cjs/src/generated/shopper/models/StreamInvite.d.ts +19 -0
  149. package/dist/cjs/src/generated/shopper/models/StreamInvite.js +2 -0
  150. package/dist/cjs/src/generated/shopper/models/StreamInviteInput.d.ts +7 -0
  151. package/dist/cjs/src/generated/shopper/models/StreamInviteInput.js +2 -0
  152. package/dist/cjs/src/generated/shopper/models/StreamInvitesResponse.d.ts +8 -0
  153. package/dist/cjs/src/generated/shopper/models/StreamInvitesResponse.js +2 -0
  154. package/dist/cjs/src/generated/shopper/models/SupportSessionStateDto.d.ts +14 -0
  155. package/dist/cjs/src/generated/shopper/models/SupportSessionStateDto.js +2 -0
  156. package/dist/cjs/src/generated/shopper/models/TimedEntrySlot.d.ts +38 -0
  157. package/dist/cjs/src/generated/shopper/models/TimedEntrySlot.js +2 -0
  158. package/dist/cjs/src/generated/shopper/services/AccountService.d.ts +8 -4
  159. package/dist/cjs/src/generated/shopper/services/AccountService.js +20 -9
  160. package/dist/cjs/src/generated/shopper/services/CartService.d.ts +20 -10
  161. package/dist/cjs/src/generated/shopper/services/CartService.js +50 -21
  162. package/dist/cjs/src/generated/shopper/services/CheckoutService.d.ts +16 -8
  163. package/dist/cjs/src/generated/shopper/services/CheckoutService.js +40 -17
  164. package/dist/cjs/src/generated/shopper/services/CodeService.d.ts +26 -6
  165. package/dist/cjs/src/generated/shopper/services/CodeService.js +55 -13
  166. package/dist/cjs/src/generated/shopper/services/DonationService.d.ts +6 -3
  167. package/dist/cjs/src/generated/shopper/services/DonationService.js +13 -6
  168. package/dist/cjs/src/generated/shopper/services/EventService.d.ts +27 -6
  169. package/dist/cjs/src/generated/shopper/services/EventService.js +55 -13
  170. package/dist/cjs/src/generated/shopper/services/GiftCardService.d.ts +10 -5
  171. package/dist/cjs/src/generated/shopper/services/GiftCardService.js +25 -11
  172. package/dist/cjs/src/generated/shopper/services/OrderService.d.ts +179 -30
  173. package/dist/cjs/src/generated/shopper/services/OrderService.js +364 -61
  174. package/dist/cjs/src/generated/shopper/services/PaymentLinkService.d.ts +40 -0
  175. package/dist/cjs/src/generated/shopper/services/PaymentLinkService.js +78 -0
  176. package/dist/cjs/src/generated/shopper/services/PaymentService.d.ts +6 -3
  177. package/dist/cjs/src/generated/shopper/services/PaymentService.js +16 -8
  178. package/dist/cjs/src/generated/shopper/services/ProductService.d.ts +6 -3
  179. package/dist/cjs/src/generated/shopper/services/ProductService.js +15 -7
  180. package/dist/cjs/src/generated/shopper/services/SeatService.d.ts +47 -8
  181. package/dist/cjs/src/generated/shopper/services/SeatService.js +96 -17
  182. package/dist/cjs/src/generated/shopper/services/SessionService.d.ts +53 -6
  183. package/dist/cjs/src/generated/shopper/services/SessionService.js +102 -13
  184. package/dist/cjs/src/generated/shopper/types.d.ts +25 -1
  185. package/dist/cjs/src/staging/index.d.ts +4 -0
  186. package/dist/cjs/src/staging/portal.d.ts +6 -0
  187. package/dist/cjs/src/staging/portal.js +46 -40
  188. package/dist/esm/index.d.ts +4 -0
  189. package/dist/esm/src/definitions/portal.d.ts +6 -0
  190. package/dist/esm/src/definitions/portal.js +6 -0
  191. package/dist/esm/src/definitions/shopper.d.ts +2 -0
  192. package/dist/esm/src/definitions/shopper.js +2 -0
  193. package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
  194. package/dist/esm/src/generated/portal/index.d.ts +23 -1
  195. package/dist/esm/src/generated/portal/index.js +4 -0
  196. package/dist/esm/src/generated/portal/models/ActivityLogEntryDto.d.ts +13 -0
  197. package/dist/esm/src/generated/portal/models/ActivityLogEntryDto.js +1 -0
  198. package/dist/esm/src/generated/portal/models/ActivityLogResponseDto.d.ts +5 -0
  199. package/dist/esm/src/generated/portal/models/ActivityLogResponseDto.js +1 -0
  200. package/dist/esm/src/generated/portal/models/BulkEditRequestDto.d.ts +2 -2
  201. package/dist/esm/src/generated/portal/models/CreateDocumentResponseDto.d.ts +1 -0
  202. package/dist/esm/src/generated/portal/models/CreateImageFileResponseDto.d.ts +1 -0
  203. package/dist/esm/src/generated/portal/models/CreatePriorityCodeRequestDto.d.ts +2 -2
  204. package/dist/esm/src/generated/portal/models/CreateShowRequestDto.d.ts +9 -1
  205. package/dist/esm/src/generated/portal/models/CreateShowTimeDto.d.ts +52 -0
  206. package/dist/esm/src/generated/portal/models/CreateTicketTypeDto.d.ts +4 -1
  207. package/dist/esm/src/generated/portal/models/CreateUpdateProductRequestDto.d.ts +4 -4
  208. package/dist/esm/src/generated/portal/models/CreateUpdateQuestionRequestDto.d.ts +8 -8
  209. package/dist/esm/src/generated/portal/models/DashboardResponseDto.d.ts +4 -0
  210. package/dist/esm/src/generated/portal/models/DownloadTicketsResponseDto.d.ts +7 -0
  211. package/dist/esm/src/generated/portal/models/DownloadTicketsResponseDto.js +1 -0
  212. package/dist/esm/src/generated/portal/models/EditMailRequestDto.d.ts +7 -0
  213. package/dist/esm/src/generated/portal/models/EditMailRequestDto.js +8 -1
  214. package/dist/esm/src/generated/portal/models/FacebookRescrapeResponseDto.d.ts +12 -0
  215. package/dist/esm/src/generated/portal/models/FacebookRescrapeResponseDto.js +1 -0
  216. package/dist/esm/src/generated/portal/models/ImportBlockedSeatResponse.d.ts +1 -0
  217. package/dist/esm/src/generated/portal/models/OccupancyVisualizerOrderDto.d.ts +5 -0
  218. package/dist/esm/src/generated/portal/models/OccupancyVisualizerOrderDto.js +1 -0
  219. package/dist/esm/src/generated/portal/models/OccupancyVisualizerShowDto.d.ts +10 -0
  220. package/dist/esm/src/generated/portal/models/OccupancyVisualizerShowDto.js +1 -0
  221. package/dist/esm/src/generated/portal/models/PerformancePixDetailsResponseDto.d.ts +18 -0
  222. package/dist/esm/src/generated/portal/models/PerformancePixDetailsResponseDto.js +1 -0
  223. package/dist/esm/src/generated/portal/models/PerformancePixLoginUrlResponseDto.d.ts +11 -0
  224. package/dist/esm/src/generated/portal/models/PerformancePixLoginUrlResponseDto.js +1 -0
  225. package/dist/esm/src/generated/portal/models/PricingSetBodyDto.d.ts +5 -0
  226. package/dist/esm/src/generated/portal/models/PricingSetBodyDto.js +1 -0
  227. package/dist/esm/src/generated/portal/models/PricingSetRuleDto.d.ts +10 -0
  228. package/dist/esm/src/generated/portal/models/PricingSetRuleDto.js +1 -0
  229. package/dist/esm/src/generated/portal/models/ProductDetailResponseDto.d.ts +2 -2
  230. package/dist/esm/src/generated/portal/models/RefundDetailResponseDto.d.ts +4 -0
  231. package/dist/esm/src/generated/portal/models/RevenueVisualizerInterviewDto.d.ts +5 -0
  232. package/dist/esm/src/generated/portal/models/RevenueVisualizerInterviewDto.js +1 -0
  233. package/dist/esm/src/generated/portal/models/RevenueVisualizerPricingSetDto.d.ts +7 -0
  234. package/dist/esm/src/generated/portal/models/RevenueVisualizerPricingSetDto.js +1 -0
  235. package/dist/esm/src/generated/portal/models/RevenueVisualizerRuleDto.d.ts +7 -0
  236. package/dist/esm/src/generated/portal/models/RevenueVisualizerRuleDto.js +1 -0
  237. package/dist/esm/src/generated/portal/models/RevenueVisualizerSectionDto.d.ts +9 -0
  238. package/dist/esm/src/generated/portal/models/RevenueVisualizerSectionDto.js +1 -0
  239. package/dist/esm/src/generated/portal/models/RevenueVisualizerShowDto.d.ts +8 -0
  240. package/dist/esm/src/generated/portal/models/RevenueVisualizerShowDto.js +1 -0
  241. package/dist/esm/src/generated/portal/models/SavePricingSetRequestDto.d.ts +6 -0
  242. package/dist/esm/src/generated/portal/models/SavePricingSetRequestDto.js +1 -0
  243. package/dist/esm/src/generated/portal/models/SavePricingSetResponseDto.d.ts +4 -0
  244. package/dist/esm/src/generated/portal/models/SavePricingSetResponseDto.js +1 -0
  245. package/dist/esm/src/generated/portal/models/SeatResponseDto.d.ts +1 -0
  246. package/dist/esm/src/generated/portal/models/SettingsDetailsResponseDto.d.ts +8 -0
  247. package/dist/esm/src/generated/portal/models/ShowOccupancyVisualizerResponseDto.d.ts +9 -0
  248. package/dist/esm/src/generated/portal/models/ShowOccupancyVisualizerResponseDto.js +1 -0
  249. package/dist/esm/src/generated/portal/models/ShowPricing.d.ts +1 -0
  250. package/dist/esm/src/generated/portal/models/ShowRevenueVisualizerResponseDto.d.ts +12 -0
  251. package/dist/esm/src/generated/portal/models/ShowRevenueVisualizerResponseDto.js +1 -0
  252. package/dist/esm/src/generated/portal/models/ShowsList.d.ts +44 -0
  253. package/dist/esm/src/generated/portal/models/SoldTicketsResponseDto.d.ts +1 -0
  254. package/dist/esm/src/generated/portal/models/SuccessResponse.d.ts +1 -0
  255. package/dist/esm/src/generated/portal/models/UpdatePriorityCodeRequestDto.d.ts +2 -2
  256. package/dist/esm/src/generated/portal/services/ClientToolsPerformancePixService.d.ts +21 -0
  257. package/dist/esm/src/generated/portal/services/ClientToolsPerformancePixService.js +36 -0
  258. package/dist/esm/src/generated/portal/services/ClientToolsTicketingLinkService.d.ts +9 -0
  259. package/dist/esm/src/generated/portal/services/ClientToolsTicketingLinkService.js +16 -0
  260. package/dist/esm/src/generated/portal/services/FeaturesBlockedSeatsService.d.ts +4 -3
  261. package/dist/esm/src/generated/portal/services/FeaturesBlockedSeatsService.js +2 -2
  262. package/dist/esm/src/generated/portal/services/ShowsService.d.ts +32 -0
  263. package/dist/esm/src/generated/portal/services/ShowsService.js +63 -0
  264. package/dist/esm/src/generated/portal/services/SuperUserActivityLogService.d.ts +26 -0
  265. package/dist/esm/src/generated/portal/services/SuperUserActivityLogService.js +50 -0
  266. package/dist/esm/src/generated/portal/services/SuperuserPerformancePixService.d.ts +21 -0
  267. package/dist/esm/src/generated/portal/services/SuperuserPerformancePixService.js +36 -0
  268. package/dist/esm/src/generated/portal/types.d.ts +19 -1
  269. package/dist/esm/src/generated/scanner/core/OpenAPI.js +1 -1
  270. package/dist/esm/src/generated/shopper/core/OpenAPI.js +1 -1
  271. package/dist/esm/src/generated/shopper/index.d.ts +27 -1
  272. package/dist/esm/src/generated/shopper/index.js +2 -0
  273. package/dist/esm/src/generated/shopper/models/Account.d.ts +4 -0
  274. package/dist/esm/src/generated/shopper/models/AssetDownloadRequest.d.ts +4 -0
  275. package/dist/esm/src/generated/shopper/models/AssetDownloadRequest.js +1 -0
  276. package/dist/esm/src/generated/shopper/models/AssetDownloadResponse.d.ts +7 -0
  277. package/dist/esm/src/generated/shopper/models/AssetDownloadResponse.js +1 -0
  278. package/dist/esm/src/generated/shopper/models/CapabilityManifestDto.d.ts +5 -1
  279. package/dist/esm/src/generated/shopper/models/ClientRequestErrorResponse.d.ts +6 -0
  280. package/dist/esm/src/generated/shopper/models/ClientRequestErrorResponse.js +1 -0
  281. package/dist/esm/src/generated/shopper/models/CreatePaymentLinkBody.d.ts +18 -0
  282. package/dist/esm/src/generated/shopper/models/CreatePaymentLinkBody.js +1 -0
  283. package/dist/esm/src/generated/shopper/models/CreatePaymentLinkResponse.d.ts +40 -0
  284. package/dist/esm/src/generated/shopper/models/CreatePaymentLinkResponse.js +1 -0
  285. package/dist/esm/src/generated/shopper/models/DayPassDto.d.ts +10 -0
  286. package/dist/esm/src/generated/shopper/models/DayPassDto.js +1 -0
  287. package/dist/esm/src/generated/shopper/models/EventDetails.d.ts +4 -0
  288. package/dist/esm/src/generated/shopper/models/EventFormat.d.ts +12 -0
  289. package/dist/esm/src/generated/shopper/models/EventGroup.d.ts +20 -0
  290. package/dist/esm/src/generated/shopper/models/EventListItem.d.ts +4 -0
  291. package/dist/esm/src/generated/shopper/models/ExchangeValidateResponse.d.ts +4 -0
  292. package/dist/esm/src/generated/shopper/models/FullEventDetails.d.ts +4 -0
  293. package/dist/esm/src/generated/shopper/models/GaSelection.d.ts +5 -0
  294. package/dist/esm/src/generated/shopper/models/GaTier.d.ts +11 -0
  295. package/dist/esm/src/generated/shopper/models/GetEventsResponse.d.ts +4 -0
  296. package/dist/esm/src/generated/shopper/models/ManifestSeat.d.ts +14 -0
  297. package/dist/esm/src/generated/shopper/models/ManifestSeat.js +9 -0
  298. package/dist/esm/src/generated/shopper/models/OrderLookupBody.d.ts +14 -0
  299. package/dist/esm/src/generated/shopper/models/OrderLookupBody.js +1 -0
  300. package/dist/esm/src/generated/shopper/models/OrderLookupResult.d.ts +14 -0
  301. package/dist/esm/src/generated/shopper/models/OrderLookupResult.js +1 -0
  302. package/dist/esm/src/generated/shopper/models/OrderRefundDetails.d.ts +1 -0
  303. package/dist/esm/src/generated/shopper/models/OrderSeat.d.ts +8 -0
  304. package/dist/esm/src/generated/shopper/models/PaymentLinkSession.d.ts +18 -0
  305. package/dist/esm/src/generated/shopper/models/PaymentLinkSession.js +1 -0
  306. package/dist/esm/src/generated/shopper/models/PaymentLinkStatus.d.ts +32 -0
  307. package/dist/esm/src/generated/shopper/models/PaymentLinkStatus.js +1 -0
  308. package/dist/esm/src/generated/shopper/models/RecalcReturn.d.ts +8 -0
  309. package/dist/esm/src/generated/shopper/models/Receipt.d.ts +2 -0
  310. package/dist/esm/src/generated/shopper/models/RefundExchangeOffer.d.ts +38 -0
  311. package/dist/esm/src/generated/shopper/models/RefundExchangeOffer.js +1 -0
  312. package/dist/esm/src/generated/shopper/models/RefundReason.d.ts +1 -0
  313. package/dist/esm/src/generated/shopper/models/RefundRequestInfo.d.ts +2 -0
  314. package/dist/esm/src/generated/shopper/models/RegisterStreamResponse.d.ts +4 -0
  315. package/dist/esm/src/generated/shopper/models/ResetStreamInviteRequest.d.ts +8 -0
  316. package/dist/esm/src/generated/shopper/models/ResetStreamInviteRequest.js +1 -0
  317. package/dist/esm/src/generated/shopper/models/SaveStreamInvitesRequest.d.ts +10 -0
  318. package/dist/esm/src/generated/shopper/models/SaveStreamInvitesRequest.js +1 -0
  319. package/dist/esm/src/generated/shopper/models/SaveStreamInvitesResponse.d.ts +7 -0
  320. package/dist/esm/src/generated/shopper/models/SaveStreamInvitesResponse.js +1 -0
  321. package/dist/esm/src/generated/shopper/models/SeatInCart.d.ts +8 -0
  322. package/dist/esm/src/generated/shopper/models/SeatManifest.d.ts +20 -0
  323. package/dist/esm/src/generated/shopper/models/SeatManifest.js +1 -0
  324. package/dist/esm/src/generated/shopper/models/SetShowGroupRequest.d.ts +6 -0
  325. package/dist/esm/src/generated/shopper/models/SetShowGroupRequest.js +1 -0
  326. package/dist/esm/src/generated/shopper/models/SetShowGroupResponse.d.ts +7 -0
  327. package/dist/esm/src/generated/shopper/models/SetShowGroupResponse.js +1 -0
  328. package/dist/esm/src/generated/shopper/models/SharedStream.d.ts +37 -0
  329. package/dist/esm/src/generated/shopper/models/SharedStream.js +1 -0
  330. package/dist/esm/src/generated/shopper/models/ShowExtras.d.ts +4 -0
  331. package/dist/esm/src/generated/shopper/models/StartSupportSessionDto.d.ts +10 -0
  332. package/dist/esm/src/generated/shopper/models/StartSupportSessionDto.js +1 -0
  333. package/dist/esm/src/generated/shopper/models/StreamAuthorization.d.ts +14 -0
  334. package/dist/esm/src/generated/shopper/models/StreamAuthorization.js +1 -0
  335. package/dist/esm/src/generated/shopper/models/StreamInvite.d.ts +19 -0
  336. package/dist/esm/src/generated/shopper/models/StreamInvite.js +1 -0
  337. package/dist/esm/src/generated/shopper/models/StreamInviteInput.d.ts +7 -0
  338. package/dist/esm/src/generated/shopper/models/StreamInviteInput.js +1 -0
  339. package/dist/esm/src/generated/shopper/models/StreamInvitesResponse.d.ts +8 -0
  340. package/dist/esm/src/generated/shopper/models/StreamInvitesResponse.js +1 -0
  341. package/dist/esm/src/generated/shopper/models/SupportSessionStateDto.d.ts +14 -0
  342. package/dist/esm/src/generated/shopper/models/SupportSessionStateDto.js +1 -0
  343. package/dist/esm/src/generated/shopper/models/TimedEntrySlot.d.ts +38 -0
  344. package/dist/esm/src/generated/shopper/models/TimedEntrySlot.js +1 -0
  345. package/dist/esm/src/generated/shopper/services/AccountService.d.ts +8 -4
  346. package/dist/esm/src/generated/shopper/services/AccountService.js +20 -9
  347. package/dist/esm/src/generated/shopper/services/CartService.d.ts +20 -10
  348. package/dist/esm/src/generated/shopper/services/CartService.js +50 -21
  349. package/dist/esm/src/generated/shopper/services/CheckoutService.d.ts +16 -8
  350. package/dist/esm/src/generated/shopper/services/CheckoutService.js +40 -17
  351. package/dist/esm/src/generated/shopper/services/CodeService.d.ts +26 -6
  352. package/dist/esm/src/generated/shopper/services/CodeService.js +55 -13
  353. package/dist/esm/src/generated/shopper/services/DonationService.d.ts +6 -3
  354. package/dist/esm/src/generated/shopper/services/DonationService.js +13 -6
  355. package/dist/esm/src/generated/shopper/services/EventService.d.ts +27 -6
  356. package/dist/esm/src/generated/shopper/services/EventService.js +55 -13
  357. package/dist/esm/src/generated/shopper/services/GiftCardService.d.ts +10 -5
  358. package/dist/esm/src/generated/shopper/services/GiftCardService.js +25 -11
  359. package/dist/esm/src/generated/shopper/services/OrderService.d.ts +179 -30
  360. package/dist/esm/src/generated/shopper/services/OrderService.js +364 -61
  361. package/dist/esm/src/generated/shopper/services/PaymentLinkService.d.ts +40 -0
  362. package/dist/esm/src/generated/shopper/services/PaymentLinkService.js +74 -0
  363. package/dist/esm/src/generated/shopper/services/PaymentService.d.ts +6 -3
  364. package/dist/esm/src/generated/shopper/services/PaymentService.js +16 -8
  365. package/dist/esm/src/generated/shopper/services/ProductService.d.ts +6 -3
  366. package/dist/esm/src/generated/shopper/services/ProductService.js +15 -7
  367. package/dist/esm/src/generated/shopper/services/SeatService.d.ts +47 -8
  368. package/dist/esm/src/generated/shopper/services/SeatService.js +96 -17
  369. package/dist/esm/src/generated/shopper/services/SessionService.d.ts +53 -6
  370. package/dist/esm/src/generated/shopper/services/SessionService.js +102 -13
  371. package/dist/esm/src/generated/shopper/types.d.ts +25 -1
  372. package/dist/esm/src/staging/index.d.ts +4 -0
  373. package/dist/esm/src/staging/portal.d.ts +6 -0
  374. package/dist/esm/src/staging/portal.js +6 -0
  375. package/package.json +1 -1
  376. package/src/definitions/portal.ts +6 -0
  377. package/src/definitions/shopper.ts +2 -0
  378. package/src/generated/portal/core/OpenAPI.ts +1 -1
  379. package/src/generated/portal/index.ts +23 -1
  380. package/src/generated/portal/models/ActivityLogEntryDto.ts +18 -0
  381. package/src/generated/portal/models/ActivityLogResponseDto.ts +10 -0
  382. package/src/generated/portal/models/BulkEditRequestDto.ts +2 -2
  383. package/src/generated/portal/models/CreateDocumentResponseDto.ts +1 -0
  384. package/src/generated/portal/models/CreateImageFileResponseDto.ts +1 -0
  385. package/src/generated/portal/models/CreatePriorityCodeRequestDto.ts +2 -2
  386. package/src/generated/portal/models/CreateShowRequestDto.ts +9 -1
  387. package/src/generated/portal/models/CreateShowTimeDto.ts +52 -0
  388. package/src/generated/portal/models/CreateTicketTypeDto.ts +4 -1
  389. package/src/generated/portal/models/CreateUpdateProductRequestDto.ts +4 -4
  390. package/src/generated/portal/models/CreateUpdateQuestionRequestDto.ts +8 -8
  391. package/src/generated/portal/models/DashboardResponseDto.ts +4 -0
  392. package/src/generated/portal/models/DownloadTicketsResponseDto.ts +12 -0
  393. package/src/generated/portal/models/EditMailRequestDto.ts +7 -0
  394. package/src/generated/portal/models/FacebookRescrapeResponseDto.ts +17 -0
  395. package/src/generated/portal/models/ImportBlockedSeatResponse.ts +1 -0
  396. package/src/generated/portal/models/OccupancyVisualizerOrderDto.ts +10 -0
  397. package/src/generated/portal/models/OccupancyVisualizerShowDto.ts +15 -0
  398. package/src/generated/portal/models/PerformancePixDetailsResponseDto.ts +23 -0
  399. package/src/generated/portal/models/PerformancePixLoginUrlResponseDto.ts +16 -0
  400. package/src/generated/portal/models/PricingSetBodyDto.ts +10 -0
  401. package/src/generated/portal/models/PricingSetRuleDto.ts +15 -0
  402. package/src/generated/portal/models/ProductDetailResponseDto.ts +2 -2
  403. package/src/generated/portal/models/RefundDetailResponseDto.ts +4 -0
  404. package/src/generated/portal/models/RevenueVisualizerInterviewDto.ts +10 -0
  405. package/src/generated/portal/models/RevenueVisualizerPricingSetDto.ts +12 -0
  406. package/src/generated/portal/models/RevenueVisualizerRuleDto.ts +12 -0
  407. package/src/generated/portal/models/RevenueVisualizerSectionDto.ts +14 -0
  408. package/src/generated/portal/models/RevenueVisualizerShowDto.ts +13 -0
  409. package/src/generated/portal/models/SavePricingSetRequestDto.ts +11 -0
  410. package/src/generated/portal/models/SavePricingSetResponseDto.ts +9 -0
  411. package/src/generated/portal/models/SeatResponseDto.ts +1 -0
  412. package/src/generated/portal/models/SettingsDetailsResponseDto.ts +8 -0
  413. package/src/generated/portal/models/ShowOccupancyVisualizerResponseDto.ts +14 -0
  414. package/src/generated/portal/models/ShowPricing.ts +1 -0
  415. package/src/generated/portal/models/ShowRevenueVisualizerResponseDto.ts +17 -0
  416. package/src/generated/portal/models/ShowsList.ts +44 -0
  417. package/src/generated/portal/models/SoldTicketsResponseDto.ts +1 -0
  418. package/src/generated/portal/models/SuccessResponse.ts +1 -0
  419. package/src/generated/portal/models/UpdatePriorityCodeRequestDto.ts +2 -2
  420. package/src/generated/portal/services/ClientToolsPerformancePixService.ts +47 -0
  421. package/src/generated/portal/services/ClientToolsTicketingLinkService.ts +19 -0
  422. package/src/generated/portal/services/FeaturesBlockedSeatsService.ts +4 -3
  423. package/src/generated/portal/services/ShowsService.ts +77 -0
  424. package/src/generated/portal/services/SuperUserActivityLogService.ts +66 -0
  425. package/src/generated/portal/services/SuperuserPerformancePixService.ts +47 -0
  426. package/src/generated/portal/types.ts +19 -1
  427. package/src/generated/scanner/core/OpenAPI.ts +1 -1
  428. package/src/generated/shopper/core/OpenAPI.ts +1 -1
  429. package/src/generated/shopper/index.ts +27 -1
  430. package/src/generated/shopper/models/Account.ts +4 -0
  431. package/src/generated/shopper/models/AssetDownloadRequest.ts +9 -0
  432. package/src/generated/shopper/models/AssetDownloadResponse.ts +12 -0
  433. package/src/generated/shopper/models/CapabilityManifestDto.ts +5 -1
  434. package/src/generated/shopper/models/ClientRequestErrorResponse.ts +11 -0
  435. package/src/generated/shopper/models/CreatePaymentLinkBody.ts +23 -0
  436. package/src/generated/shopper/models/CreatePaymentLinkResponse.ts +45 -0
  437. package/src/generated/shopper/models/DayPassDto.ts +15 -0
  438. package/src/generated/shopper/models/EventDetails.ts +4 -0
  439. package/src/generated/shopper/models/EventFormat.ts +12 -0
  440. package/src/generated/shopper/models/EventGroup.ts +20 -0
  441. package/src/generated/shopper/models/EventListItem.ts +4 -0
  442. package/src/generated/shopper/models/ExchangeValidateResponse.ts +4 -0
  443. package/src/generated/shopper/models/FullEventDetails.ts +4 -0
  444. package/src/generated/shopper/models/GaSelection.ts +5 -0
  445. package/src/generated/shopper/models/GaTier.ts +11 -0
  446. package/src/generated/shopper/models/GetEventsResponse.ts +4 -0
  447. package/src/generated/shopper/models/ManifestSeat.ts +19 -0
  448. package/src/generated/shopper/models/OrderLookupBody.ts +19 -0
  449. package/src/generated/shopper/models/OrderLookupResult.ts +19 -0
  450. package/src/generated/shopper/models/OrderRefundDetails.ts +1 -0
  451. package/src/generated/shopper/models/OrderSeat.ts +8 -0
  452. package/src/generated/shopper/models/PaymentLinkSession.ts +23 -0
  453. package/src/generated/shopper/models/PaymentLinkStatus.ts +37 -0
  454. package/src/generated/shopper/models/RecalcReturn.ts +8 -0
  455. package/src/generated/shopper/models/Receipt.ts +2 -0
  456. package/src/generated/shopper/models/RefundExchangeOffer.ts +43 -0
  457. package/src/generated/shopper/models/RefundReason.ts +1 -0
  458. package/src/generated/shopper/models/RefundRequestInfo.ts +2 -0
  459. package/src/generated/shopper/models/RegisterStreamResponse.ts +4 -0
  460. package/src/generated/shopper/models/ResetStreamInviteRequest.ts +13 -0
  461. package/src/generated/shopper/models/SaveStreamInvitesRequest.ts +15 -0
  462. package/src/generated/shopper/models/SaveStreamInvitesResponse.ts +12 -0
  463. package/src/generated/shopper/models/SeatInCart.ts +8 -0
  464. package/src/generated/shopper/models/SeatManifest.ts +25 -0
  465. package/src/generated/shopper/models/SetShowGroupRequest.ts +11 -0
  466. package/src/generated/shopper/models/SetShowGroupResponse.ts +12 -0
  467. package/src/generated/shopper/models/SharedStream.ts +42 -0
  468. package/src/generated/shopper/models/ShowExtras.ts +4 -0
  469. package/src/generated/shopper/models/StartSupportSessionDto.ts +15 -0
  470. package/src/generated/shopper/models/StreamAuthorization.ts +19 -0
  471. package/src/generated/shopper/models/StreamInvite.ts +24 -0
  472. package/src/generated/shopper/models/StreamInviteInput.ts +12 -0
  473. package/src/generated/shopper/models/StreamInvitesResponse.ts +13 -0
  474. package/src/generated/shopper/models/SupportSessionStateDto.ts +19 -0
  475. package/src/generated/shopper/models/TimedEntrySlot.ts +43 -0
  476. package/src/generated/shopper/services/AccountService.ts +20 -4
  477. package/src/generated/shopper/services/CartService.ts +50 -10
  478. package/src/generated/shopper/services/CheckoutService.ts +40 -8
  479. package/src/generated/shopper/services/CodeService.ts +60 -6
  480. package/src/generated/shopper/services/DonationService.ts +13 -2
  481. package/src/generated/shopper/services/EventService.ts +61 -6
  482. package/src/generated/shopper/services/GiftCardService.ts +25 -5
  483. package/src/generated/shopper/services/OrderService.ts +411 -30
  484. package/src/generated/shopper/services/PaymentLinkService.ts +93 -0
  485. package/src/generated/shopper/services/PaymentService.ts +16 -4
  486. package/src/generated/shopper/services/ProductService.ts +15 -3
  487. package/src/generated/shopper/services/SeatService.ts +105 -8
  488. package/src/generated/shopper/services/SessionService.ts +116 -6
  489. package/src/generated/shopper/types.ts +25 -1
  490. package/src/staging/portal.ts +6 -0
  491. package/src/generated/shopper/models/PaymentFail.ts +0 -23
@@ -0,0 +1,14 @@
1
+ export type SupportSessionStateDto = {
2
+ /**
3
+ * First name on the session row — the prefill for the tech-assist form.
4
+ */
5
+ firstName: string;
6
+ /**
7
+ * Last name on the session row.
8
+ */
9
+ lastName: string;
10
+ /**
11
+ * Whether this session is already flagged for technical assistance.
12
+ */
13
+ supportFlag: boolean;
14
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,38 @@
1
+ export type TimedEntrySlot = {
2
+ /**
3
+ * `show_section.id` — the window.
4
+ */
5
+ sectionId: number;
6
+ /**
7
+ * 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.
8
+ */
9
+ name: string;
10
+ /**
11
+ * `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.
12
+ */
13
+ dateScanEarliestAllowed: string | null;
14
+ /**
15
+ * `show_section.date_scan_latest_allowed` — when entry closes.
16
+ */
17
+ dateScanLatestAllowed: string | null;
18
+ /**
19
+ * The window's capacity (`ga_capacity`, else `capacity`), or null when uncapped.
20
+ */
21
+ capacity: number | null;
22
+ /**
23
+ * 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`.
24
+ */
25
+ remaining: number | null;
26
+ /**
27
+ * `show_section.max_order_seats`, or null when unset.
28
+ */
29
+ maxOrderSeats: number | null;
30
+ /**
31
+ * `show_section.is_default` — 0/1.
32
+ */
33
+ isDefault: number;
34
+ /**
35
+ * `show_section.is_ada_seating` — 0/1.
36
+ */
37
+ isAdaSeating: number;
38
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -8,44 +8,48 @@ export declare class AccountService {
8
8
  * Get the site theme
9
9
  * Retrieves the current theme for the site.
10
10
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
11
+ * @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).
11
12
  * @returns SiteTheme Returns the site theme.
12
13
  * @throws ApiError
13
14
  */
14
15
  static getTheme(context?: {
15
16
  shopperGuid?: string;
16
17
  accountId?: string;
17
- }): CancelablePromise<SiteTheme>;
18
+ }, xDrtDomain?: string): CancelablePromise<SiteTheme>;
18
19
  /**
19
20
  * Get the site disposition
20
21
  * Retrieves the current disposition for the site.
21
22
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
23
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
22
24
  * @returns SiteDisposition Returns the site disposition.
23
25
  * @throws ApiError
24
26
  */
25
27
  static getDisposition(context?: {
26
28
  shopperGuid?: string;
27
29
  accountId?: string;
28
- }): CancelablePromise<SiteDisposition>;
30
+ }, xDrtDomain?: string): CancelablePromise<SiteDisposition>;
29
31
  /**
30
32
  * Get the root site configuration
31
33
  * Retrieves the root configuration including theme, disposition, and details.
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 RootConfigResponse Returns the root site configuration.
34
37
  * @throws ApiError
35
38
  */
36
39
  static getRoot(context?: {
37
40
  shopperGuid?: string;
38
41
  accountId?: string;
39
- }): CancelablePromise<RootConfigResponse>;
42
+ }, xDrtDomain?: string): CancelablePromise<RootConfigResponse>;
40
43
  /**
41
44
  * Get the landing page configuration
42
45
  * Retrieves the landing page configuration including theme, disposition, and album details.
43
46
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
47
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
44
48
  * @returns LandingPageResponse Returns the landing page configuration.
45
49
  * @throws ApiError
46
50
  */
47
51
  static getLandingPage(context?: {
48
52
  shopperGuid?: string;
49
53
  accountId?: string;
50
- }): CancelablePromise<LandingPageResponse>;
54
+ }, xDrtDomain?: string): CancelablePromise<LandingPageResponse>;
51
55
  }
@@ -3,20 +3,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AccountService = void 0;
4
4
  const OpenAPI_1 = require("../core/OpenAPI");
5
5
  const request_1 = require("../core/request");
6
- const sdkConfig_1 = require("../../../functions/sdkConfig");
7
6
  class AccountService {
8
7
  /**
9
8
  * Get the site theme
10
9
  * Retrieves the current theme for the site.
11
10
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
11
+ * @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).
12
12
  * @returns SiteTheme Returns the site theme.
13
13
  * @throws ApiError
14
14
  */
15
- static getTheme(context) {
15
+ static getTheme(context, xDrtDomain) {
16
16
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
17
17
  method: 'GET',
18
18
  url: '/theme',
19
- headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
19
+ headers: {
20
+ 'x-drt-domain': xDrtDomain,
21
+ },
20
22
  errors: {
21
23
  400: `Bad Request error with error details.`,
22
24
  404: `Not found error with error details.`,
@@ -28,14 +30,17 @@ class AccountService {
28
30
  * Get the site disposition
29
31
  * Retrieves the current disposition for the site.
30
32
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
33
+ * @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).
31
34
  * @returns SiteDisposition Returns the site disposition.
32
35
  * @throws ApiError
33
36
  */
34
- static getDisposition(context) {
37
+ static getDisposition(context, xDrtDomain) {
35
38
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
36
39
  method: 'GET',
37
40
  url: '/disposition',
38
- headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
41
+ headers: {
42
+ 'x-drt-domain': xDrtDomain,
43
+ },
39
44
  errors: {
40
45
  400: `Bad Request error with error details.`,
41
46
  404: `Not found error with error details.`,
@@ -47,14 +52,17 @@ class AccountService {
47
52
  * Get the root site configuration
48
53
  * Retrieves the root configuration including theme, disposition, and details.
49
54
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
55
+ * @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).
50
56
  * @returns RootConfigResponse Returns the root site configuration.
51
57
  * @throws ApiError
52
58
  */
53
- static getRoot(context) {
59
+ static getRoot(context, xDrtDomain) {
54
60
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
55
61
  method: 'GET',
56
62
  url: '/root',
57
- headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
63
+ headers: {
64
+ 'x-drt-domain': xDrtDomain,
65
+ },
58
66
  errors: {
59
67
  400: `Bad Request error with error details.`,
60
68
  404: `Not found error with error details.`,
@@ -66,14 +74,17 @@ class AccountService {
66
74
  * Get the landing page configuration
67
75
  * Retrieves the landing page configuration including theme, disposition, and album details.
68
76
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
77
+ * @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).
69
78
  * @returns LandingPageResponse Returns the landing page configuration.
70
79
  * @throws ApiError
71
80
  */
72
- static getLandingPage(context) {
81
+ static getLandingPage(context, xDrtDomain) {
73
82
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
74
83
  method: 'GET',
75
84
  url: '/landing',
76
- headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
85
+ headers: {
86
+ 'x-drt-domain': xDrtDomain,
87
+ },
77
88
  errors: {
78
89
  400: `Bad Request error with error details.`,
79
90
  404: `Not found error with error details.`,
@@ -13,111 +13,121 @@ export declare class CartService {
13
13
  * Get Cart
14
14
  * Retrieves the cart along with its associated time.
15
15
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
16
+ * @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).
16
17
  * @returns CartWithTime Cart retrieved successfully with time.
17
18
  * @throws ApiError
18
19
  */
19
20
  static getCart(context?: {
20
21
  shopperGuid?: string;
21
22
  accountId?: string;
22
- }): CancelablePromise<CartWithTime>;
23
+ }, xDrtDomain?: string): CancelablePromise<CartWithTime>;
23
24
  /**
24
25
  * Delete Cart
25
26
  * Clears the entire cart (seats, products, donations) for the shopper. Respects the session lock: if the session is locked (e.g. an in-flight payment) the cart is left intact and { cleared: false, locked: true } is returned.
26
27
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
28
+ * @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).
27
29
  * @returns CartClearResult Cart clear result.
28
30
  * @throws ApiError
29
31
  */
30
32
  static deleteCart(context?: {
31
33
  shopperGuid?: string;
32
34
  accountId?: string;
33
- }): CancelablePromise<CartClearResult>;
35
+ }, xDrtDomain?: string): CancelablePromise<CartClearResult>;
34
36
  /**
35
37
  * Get Cart Summary
36
38
  * Returns a consolidated summary of the shopper's current cart, including: products in session, donations in session, held seats grouped by show, the count of available shows, and the count of available products and donation funds for the account based on the session date.
37
39
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
40
+ * @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).
38
41
  * @returns CartSummary Cart summary retrieved successfully.
39
42
  * @throws ApiError
40
43
  */
41
44
  static getCartSummary(context?: {
42
45
  shopperGuid?: string;
43
46
  accountId?: string;
44
- }): CancelablePromise<CartSummary>;
47
+ }, xDrtDomain?: string): CancelablePromise<CartSummary>;
45
48
  /**
46
49
  * Get Cart Hash
47
50
  * Returns the computed cart hash for the current shopper session.
48
51
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
52
+ * @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).
49
53
  * @returns CartHashResponse Cart hash retrieved successfully.
50
54
  * @throws ApiError
51
55
  */
52
56
  static getCartHash(context?: {
53
57
  shopperGuid?: string;
54
58
  accountId?: string;
55
- }): CancelablePromise<CartHashResponse>;
59
+ }, xDrtDomain?: string): CancelablePromise<CartHashResponse>;
56
60
  /**
57
61
  * Get Cash Payment Detail (operator only)
58
62
  * Returns cash payment details for the current shopper session, including order total, payments total, and house card credentials. Requires a logged-in operator session — returns 403 for a plain shopper.
59
63
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
64
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
60
65
  * @returns CashPaymentDetail Cash payment detail retrieved successfully.
61
66
  * @throws ApiError
62
67
  */
63
68
  static getCashPaymentDetail(context?: {
64
69
  shopperGuid?: string;
65
70
  accountId?: string;
66
- }): CancelablePromise<CashPaymentDetail>;
71
+ }, xDrtDomain?: string): CancelablePromise<CashPaymentDetail>;
67
72
  /**
68
73
  * Get lightweight cart counts
69
74
  * Returns a cheap cart summary for header/badge polling: seat count, product count, and seconds remaining on the cart timer.
70
75
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
76
+ * @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).
71
77
  * @returns CartCountsLite Cart counts retrieved successfully.
72
78
  * @throws ApiError
73
79
  */
74
80
  static getCartCounts(context?: {
75
81
  shopperGuid?: string;
76
82
  accountId?: string;
77
- }): CancelablePromise<CartCountsLite>;
83
+ }, xDrtDomain?: string): CancelablePromise<CartCountsLite>;
78
84
  /**
79
85
  * Get the pricing-tiers page data
80
86
  * Held seats that need a pricing-tier selection (their section offers more than one applicable tier), each with its tier options — fee-inclusive, door-pricing-aware prices. Empty seats list = the tiers step should be skipped; this agrees with GET /checkout/next-step by construction (PROJ-903). Change a tier with POST /seat/update-tier.
81
87
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
88
+ * @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).
82
89
  * @returns CartTiersResponse Cart tier-selection data retrieved successfully.
83
90
  * @throws ApiError
84
91
  */
85
92
  static getCartTiers(context?: {
86
93
  shopperGuid?: string;
87
94
  accountId?: string;
88
- }): CancelablePromise<CartTiersResponse>;
95
+ }, xDrtDomain?: string): CancelablePromise<CartTiersResponse>;
89
96
  /**
90
97
  * Get cart totals
91
98
  * Recomputes the cart (custom logic, coupon, sales tax) and returns the current totals ledger. Call after any cart mutation.
92
99
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
100
+ * @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).
93
101
  * @returns CartTotals Cart totals retrieved successfully.
94
102
  * @throws ApiError
95
103
  */
96
104
  static getCartTotals(context?: {
97
105
  shopperGuid?: string;
98
106
  accountId?: string;
99
- }): CancelablePromise<CartTotals>;
107
+ }, xDrtDomain?: string): CancelablePromise<CartTotals>;
100
108
  /**
101
109
  * Get cart amounts ledger
102
110
  * Returns the full amounts ledger (item/product/donation/order/tax totals, coupon, discount, payments, and gift cards + adjustments).
103
111
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
112
+ * @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).
104
113
  * @returns CartAmounts Cart amounts retrieved successfully.
105
114
  * @throws ApiError
106
115
  */
107
116
  static getCartAmounts(context?: {
108
117
  shopperGuid?: string;
109
118
  accountId?: string;
110
- }): CancelablePromise<CartAmounts>;
119
+ }, xDrtDomain?: string): CancelablePromise<CartAmounts>;
111
120
  /**
112
121
  * Clear a single show from the cart
113
122
  * Removes only the given show's seats from the cart, leaving merchandise and donations intact, then re-runs the recompute chain. Respects the session lock like DELETE /cart.
114
123
  * @param showId
115
124
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
125
+ * @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).
116
126
  * @returns CartClearResult Show clear result.
117
127
  * @throws ApiError
118
128
  */
119
129
  static clearCartShow(showId: number, context?: {
120
130
  shopperGuid?: string;
121
131
  accountId?: string;
122
- }): CancelablePromise<CartClearResult>;
132
+ }, xDrtDomain?: string): CancelablePromise<CartClearResult>;
123
133
  }
@@ -3,20 +3,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CartService = void 0;
4
4
  const OpenAPI_1 = require("../core/OpenAPI");
5
5
  const request_1 = require("../core/request");
6
- const sdkConfig_1 = require("../../../functions/sdkConfig");
7
6
  class CartService {
8
7
  /**
9
8
  * Get Cart
10
9
  * Retrieves the cart along with its associated time.
11
10
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
11
+ * @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).
12
12
  * @returns CartWithTime Cart retrieved successfully with time.
13
13
  * @throws ApiError
14
14
  */
15
- static getCart(context) {
15
+ static getCart(context, xDrtDomain) {
16
16
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
17
17
  method: 'GET',
18
18
  url: '/cart',
19
- headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
19
+ headers: {
20
+ 'x-drt-domain': xDrtDomain,
21
+ },
20
22
  errors: {
21
23
  400: `Bad Request error with error details.`,
22
24
  404: `Not found error with error details.`,
@@ -28,14 +30,17 @@ class CartService {
28
30
  * Delete Cart
29
31
  * Clears the entire cart (seats, products, donations) for the shopper. Respects the session lock: if the session is locked (e.g. an in-flight payment) the cart is left intact and { cleared: false, locked: true } is returned.
30
32
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
33
+ * @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).
31
34
  * @returns CartClearResult Cart clear result.
32
35
  * @throws ApiError
33
36
  */
34
- static deleteCart(context) {
37
+ static deleteCart(context, xDrtDomain) {
35
38
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
36
39
  method: 'DELETE',
37
40
  url: '/cart',
38
- headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
41
+ headers: {
42
+ 'x-drt-domain': xDrtDomain,
43
+ },
39
44
  errors: {
40
45
  400: `Bad Request error with error details.`,
41
46
  404: `Not found error with error details.`,
@@ -47,14 +52,17 @@ class CartService {
47
52
  * Get Cart Summary
48
53
  * Returns a consolidated summary of the shopper's current cart, including: products in session, donations in session, held seats grouped by show, the count of available shows, and the count of available products and donation funds for the account based on the session date.
49
54
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
55
+ * @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).
50
56
  * @returns CartSummary Cart summary retrieved successfully.
51
57
  * @throws ApiError
52
58
  */
53
- static getCartSummary(context) {
59
+ static getCartSummary(context, xDrtDomain) {
54
60
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
55
61
  method: 'GET',
56
62
  url: '/cart/summary',
57
- headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
63
+ headers: {
64
+ 'x-drt-domain': xDrtDomain,
65
+ },
58
66
  errors: {
59
67
  400: `Bad Request error with error details.`,
60
68
  404: `Not found error with error details.`,
@@ -66,14 +74,17 @@ class CartService {
66
74
  * Get Cart Hash
67
75
  * Returns the computed cart hash for the current shopper session.
68
76
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
77
+ * @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).
69
78
  * @returns CartHashResponse Cart hash retrieved successfully.
70
79
  * @throws ApiError
71
80
  */
72
- static getCartHash(context) {
81
+ static getCartHash(context, xDrtDomain) {
73
82
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
74
83
  method: 'GET',
75
84
  url: '/cart/hash',
76
- headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
85
+ headers: {
86
+ 'x-drt-domain': xDrtDomain,
87
+ },
77
88
  errors: {
78
89
  400: `Bad Request error with error details.`,
79
90
  404: `Not found error with error details.`,
@@ -85,14 +96,17 @@ class CartService {
85
96
  * Get Cash Payment Detail (operator only)
86
97
  * Returns cash payment details for the current shopper session, including order total, payments total, and house card credentials. Requires a logged-in operator session — returns 403 for a plain shopper.
87
98
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
99
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
88
100
  * @returns CashPaymentDetail Cash payment detail retrieved successfully.
89
101
  * @throws ApiError
90
102
  */
91
- static getCashPaymentDetail(context) {
103
+ static getCashPaymentDetail(context, xDrtDomain) {
92
104
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
93
105
  method: 'GET',
94
106
  url: '/cart/cash-payment-detail',
95
- headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
107
+ headers: {
108
+ 'x-drt-domain': xDrtDomain,
109
+ },
96
110
  errors: {
97
111
  400: `Bad Request error with error details.`,
98
112
  404: `Not found error with error details.`,
@@ -104,14 +118,17 @@ class CartService {
104
118
  * Get lightweight cart counts
105
119
  * Returns a cheap cart summary for header/badge polling: seat count, product count, and seconds remaining on the cart timer.
106
120
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
121
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
107
122
  * @returns CartCountsLite Cart counts retrieved successfully.
108
123
  * @throws ApiError
109
124
  */
110
- static getCartCounts(context) {
125
+ static getCartCounts(context, xDrtDomain) {
111
126
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
112
127
  method: 'GET',
113
128
  url: '/cart/counts',
114
- headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
129
+ headers: {
130
+ 'x-drt-domain': xDrtDomain,
131
+ },
115
132
  errors: {
116
133
  400: `Bad Request error with error details.`,
117
134
  404: `Not found error with error details.`,
@@ -123,14 +140,17 @@ class CartService {
123
140
  * Get the pricing-tiers page data
124
141
  * Held seats that need a pricing-tier selection (their section offers more than one applicable tier), each with its tier options — fee-inclusive, door-pricing-aware prices. Empty seats list = the tiers step should be skipped; this agrees with GET /checkout/next-step by construction (PROJ-903). Change a tier with POST /seat/update-tier.
125
142
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
143
+ * @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).
126
144
  * @returns CartTiersResponse Cart tier-selection data retrieved successfully.
127
145
  * @throws ApiError
128
146
  */
129
- static getCartTiers(context) {
147
+ static getCartTiers(context, xDrtDomain) {
130
148
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
131
149
  method: 'GET',
132
150
  url: '/cart/tiers',
133
- headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
151
+ headers: {
152
+ 'x-drt-domain': xDrtDomain,
153
+ },
134
154
  errors: {
135
155
  400: `Bad Request error with error details.`,
136
156
  404: `Not found error with error details.`,
@@ -142,14 +162,17 @@ class CartService {
142
162
  * Get cart totals
143
163
  * Recomputes the cart (custom logic, coupon, sales tax) and returns the current totals ledger. Call after any cart mutation.
144
164
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
165
+ * @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).
145
166
  * @returns CartTotals Cart totals retrieved successfully.
146
167
  * @throws ApiError
147
168
  */
148
- static getCartTotals(context) {
169
+ static getCartTotals(context, xDrtDomain) {
149
170
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
150
171
  method: 'GET',
151
172
  url: '/cart/totals',
152
- headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
173
+ headers: {
174
+ 'x-drt-domain': xDrtDomain,
175
+ },
153
176
  errors: {
154
177
  400: `Bad Request error with error details.`,
155
178
  404: `Not found error with error details.`,
@@ -161,14 +184,17 @@ class CartService {
161
184
  * Get cart amounts ledger
162
185
  * Returns the full amounts ledger (item/product/donation/order/tax totals, coupon, discount, payments, and gift cards + adjustments).
163
186
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
187
+ * @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).
164
188
  * @returns CartAmounts Cart amounts retrieved successfully.
165
189
  * @throws ApiError
166
190
  */
167
- static getCartAmounts(context) {
191
+ static getCartAmounts(context, xDrtDomain) {
168
192
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
169
193
  method: 'GET',
170
194
  url: '/cart/amounts',
171
- headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
195
+ headers: {
196
+ 'x-drt-domain': xDrtDomain,
197
+ },
172
198
  errors: {
173
199
  400: `Bad Request error with error details.`,
174
200
  404: `Not found error with error details.`,
@@ -181,17 +207,20 @@ class CartService {
181
207
  * Removes only the given show's seats from the cart, leaving merchandise and donations intact, then re-runs the recompute chain. Respects the session lock like DELETE /cart.
182
208
  * @param showId
183
209
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
210
+ * @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).
184
211
  * @returns CartClearResult Show clear result.
185
212
  * @throws ApiError
186
213
  */
187
- static clearCartShow(showId, context) {
214
+ static clearCartShow(showId, context, xDrtDomain) {
188
215
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
189
216
  method: 'DELETE',
190
217
  url: '/cart/show/{showId}',
191
218
  path: {
192
219
  'showId': showId,
193
220
  },
194
- headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
221
+ headers: {
222
+ 'x-drt-domain': xDrtDomain,
223
+ },
195
224
  errors: {
196
225
  400: `Bad Request error with error details.`,
197
226
  404: `Not found error with error details.`,
@@ -12,92 +12,100 @@ export declare class CheckoutService {
12
12
  * Get checkout page data
13
13
  * Returns all data needed to render the checkout page including session, studio settings, questions, products, donations, gift cards, and shipping info.
14
14
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
15
+ * @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).
15
16
  * @returns CheckoutPageData Returns checkout page data.
16
17
  * @throws ApiError
17
18
  */
18
19
  static getCheckout(context?: {
19
20
  shopperGuid?: string;
20
21
  accountId?: string;
21
- }): CancelablePromise<CheckoutPageData>;
22
+ }, xDrtDomain?: string): CancelablePromise<CheckoutPageData>;
22
23
  /**
23
24
  * Submit checkout
24
25
  * Validates and saves checkout form data, enforcing studio custom validation and priority-code minimum-seats before payment. Supports both token (EMS/Authorize.net) and Stripe payment flows.
25
26
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
26
27
  * @param requestBody Checkout form data.
28
+ * @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).
27
29
  * @returns CheckoutSuccessResponse Returns success response.
28
30
  * @throws ApiError
29
31
  */
30
32
  static submitCheckout(requestBody: CheckoutSubmitBody, context?: {
31
33
  shopperGuid?: string;
32
34
  accountId?: string;
33
- }): CancelablePromise<CheckoutSuccessResponse>;
35
+ }, xDrtDomain?: string): CancelablePromise<CheckoutSuccessResponse>;
34
36
  /**
35
37
  * Get the next checkout step
36
38
  * Server-side checkout wizard driver. Given the current step, returns the next applicable one (expiry → ADA → tiers → merchandise → donations → checkout → confirm → receipt). JSON only.
37
39
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
38
40
  * @param curr The current step. Defaults to 'seats'.
41
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
39
42
  * @returns NextStepResponse Returns the next step.
40
43
  * @throws ApiError
41
44
  */
42
45
  static getNextStep(context?: {
43
46
  shopperGuid?: string;
44
47
  accountId?: string;
45
- }, curr?: string): CancelablePromise<NextStepResponse>;
48
+ }, curr?: string, xDrtDomain?: string): CancelablePromise<NextStepResponse>;
46
49
  /**
47
50
  * Get applicable checkout steps
48
51
  * Returns the wizard steps that apply to this session, in order, with required flags. Merchandise and donations appear only when items or funds are available. JSON only (replaces the legacy HTML step bar).
49
52
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
53
+ * @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).
50
54
  * @returns CheckoutStepsResponse Returns the applicable steps.
51
55
  * @throws ApiError
52
56
  */
53
57
  static getSteps(context?: {
54
58
  shopperGuid?: string;
55
59
  accountId?: string;
56
- }): CancelablePromise<CheckoutStepsResponse>;
60
+ }, xDrtDomain?: string): CancelablePromise<CheckoutStepsResponse>;
57
61
  /**
58
62
  * Save payment nonce
59
63
  * Saves a payment nonce (token) from EMS/Authorize.net to the session.
60
64
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
61
65
  * @param requestBody Nonce data to save.
66
+ * @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).
62
67
  * @returns CheckoutSuccessResponse Returns success response.
63
68
  * @throws ApiError
64
69
  */
65
70
  static saveNonce(requestBody: SaveNonceBody, context?: {
66
71
  shopperGuid?: string;
67
72
  accountId?: string;
68
- }): CancelablePromise<CheckoutSuccessResponse>;
73
+ }, xDrtDomain?: string): CancelablePromise<CheckoutSuccessResponse>;
69
74
  /**
70
75
  * Clear payment nonce
71
76
  * Clears the payment nonce and related CC fields from the session.
72
77
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
78
+ * @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).
73
79
  * @returns CheckoutSuccessResponse Returns success response.
74
80
  * @throws ApiError
75
81
  */
76
82
  static clearNonce(context?: {
77
83
  shopperGuid?: string;
78
84
  accountId?: string;
79
- }): CancelablePromise<CheckoutSuccessResponse>;
85
+ }, xDrtDomain?: string): CancelablePromise<CheckoutSuccessResponse>;
80
86
  /**
81
87
  * Auto-save checkout details
82
88
  * Auto-saves checkout form fields without full validation. Used for partial saves as the user fills out the form.
83
89
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
84
90
  * @param requestBody Partial checkout data to auto-save.
91
+ * @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).
85
92
  * @returns CheckoutSuccessResponse Returns success response.
86
93
  * @throws ApiError
87
94
  */
88
95
  static saveDetails(requestBody: SaveDetailsBody, context?: {
89
96
  shopperGuid?: string;
90
97
  accountId?: string;
91
- }): CancelablePromise<CheckoutSuccessResponse>;
98
+ }, xDrtDomain?: string): CancelablePromise<CheckoutSuccessResponse>;
92
99
  /**
93
100
  * Fill contact fields from POS defaults
94
101
  * Fills empty session contact fields (name/email/phone) from the account POS defaults and returns the resulting contact. Logged-in shoppers only (legacy default-shopper-set-info).
95
102
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
103
+ * @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).
96
104
  * @returns PosDefaultInfoResponse Returns the filled-in contact info.
97
105
  * @throws ApiError
98
106
  */
99
107
  static fillDefaultInfo(context?: {
100
108
  shopperGuid?: string;
101
109
  accountId?: string;
102
- }): CancelablePromise<PosDefaultInfoResponse>;
110
+ }, xDrtDomain?: string): CancelablePromise<PosDefaultInfoResponse>;
103
111
  }