@drttix/drt-sdk 1.3.5 → 1.4.0

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 (277) hide show
  1. package/README.md +29 -4
  2. package/azure-pipelines.yml +2 -0
  3. package/dist/cjs/src/functions/sdkConfig.d.ts +47 -16
  4. package/dist/cjs/src/functions/sdkConfig.js +63 -43
  5. package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
  6. package/dist/cjs/src/generated/portal/core/request.js +41 -7
  7. package/dist/cjs/src/generated/scanner/core/OpenAPI.js +1 -1
  8. package/dist/cjs/src/generated/scanner/core/request.js +41 -7
  9. package/dist/cjs/src/generated/scanner/index.d.ts +1 -0
  10. package/dist/cjs/src/generated/scanner/models/OrderScan.d.ts +9 -0
  11. package/dist/cjs/src/generated/scanner/models/OrderScan.js +2 -0
  12. package/dist/cjs/src/generated/scanner/models/TicketScan.d.ts +1 -0
  13. package/dist/cjs/src/generated/scanner/services/ScanningService.d.ts +16 -0
  14. package/dist/cjs/src/generated/scanner/services/ScanningService.js +28 -0
  15. package/dist/cjs/src/generated/scanner/types.d.ts +1 -0
  16. package/dist/cjs/src/generated/shopper/core/OpenAPI.js +1 -1
  17. package/dist/cjs/src/generated/shopper/core/request.js +41 -7
  18. package/dist/cjs/src/generated/shopper/index.d.ts +29 -1
  19. package/dist/cjs/src/generated/shopper/models/AnswerInput.d.ts +6 -0
  20. package/dist/cjs/src/generated/shopper/models/AnswerInput.js +2 -0
  21. package/dist/cjs/src/generated/shopper/models/CartAmounts.d.ts +38 -0
  22. package/dist/cjs/src/generated/shopper/models/CartAmounts.js +2 -0
  23. package/dist/cjs/src/generated/shopper/models/CartClearResult.d.ts +14 -0
  24. package/dist/cjs/src/generated/shopper/models/CartClearResult.js +2 -0
  25. package/dist/cjs/src/generated/shopper/models/CartCountsLite.d.ts +14 -0
  26. package/dist/cjs/src/generated/shopper/models/CartCountsLite.js +2 -0
  27. package/dist/cjs/src/generated/shopper/models/CartTotals.d.ts +22 -0
  28. package/dist/cjs/src/generated/shopper/models/CartTotals.js +2 -0
  29. package/dist/cjs/src/generated/shopper/models/CheckoutStep.d.ts +10 -0
  30. package/dist/cjs/src/generated/shopper/models/CheckoutStep.js +2 -0
  31. package/dist/cjs/src/generated/shopper/models/CheckoutStepsResponse.d.ts +7 -0
  32. package/dist/cjs/src/generated/shopper/models/CheckoutStepsResponse.js +2 -0
  33. package/dist/cjs/src/generated/shopper/models/CheckoutSubmitBody.d.ts +3 -13
  34. package/dist/cjs/src/generated/shopper/models/CorrelatedCode.d.ts +14 -0
  35. package/dist/cjs/src/generated/shopper/models/CorrelatedCode.js +2 -0
  36. package/dist/cjs/src/generated/shopper/models/EventLegend.d.ts +12 -0
  37. package/dist/cjs/src/generated/shopper/models/EventLegend.js +2 -0
  38. package/dist/cjs/src/generated/shopper/models/EventLegendItem.d.ts +9 -0
  39. package/dist/cjs/src/generated/shopper/models/EventLegendItem.js +2 -0
  40. package/dist/cjs/src/generated/shopper/models/ExchangeAnswersBody.d.ts +4 -0
  41. package/dist/cjs/src/generated/shopper/models/ExchangeAnswersBody.js +2 -0
  42. package/dist/cjs/src/generated/shopper/models/ExchangeCancelSeatResponse.d.ts +7 -0
  43. package/dist/cjs/src/generated/shopper/models/ExchangeCancelSeatResponse.js +2 -0
  44. package/dist/cjs/src/generated/shopper/models/ExchangeShow.d.ts +12 -0
  45. package/dist/cjs/src/generated/shopper/models/ExchangeShow.js +2 -0
  46. package/dist/cjs/src/generated/shopper/models/ExchangeShowsResponse.d.ts +8 -0
  47. package/dist/cjs/src/generated/shopper/models/ExchangeShowsResponse.js +2 -0
  48. package/dist/cjs/src/generated/shopper/models/ExtendTimerDto.d.ts +6 -0
  49. package/dist/cjs/src/generated/shopper/models/ExtendTimerDto.js +2 -0
  50. package/dist/cjs/src/generated/shopper/models/ExtendTimerResponseDto.d.ts +10 -0
  51. package/dist/cjs/src/generated/shopper/models/ExtendTimerResponseDto.js +2 -0
  52. package/dist/cjs/src/generated/shopper/models/FullEventDetails.d.ts +2 -0
  53. package/dist/cjs/src/generated/shopper/models/GaSelection.d.ts +24 -0
  54. package/dist/cjs/src/generated/shopper/models/GaSelection.js +2 -0
  55. package/dist/cjs/src/generated/shopper/models/GaTier.d.ts +27 -0
  56. package/dist/cjs/src/generated/shopper/models/GaTier.js +2 -0
  57. package/dist/cjs/src/generated/shopper/models/LandingPageResponse.d.ts +10 -0
  58. package/dist/cjs/src/generated/shopper/models/LandingProduct.d.ts +11 -0
  59. package/dist/cjs/src/generated/shopper/models/LandingProduct.js +2 -0
  60. package/dist/cjs/src/generated/shopper/models/LandingShow.d.ts +16 -0
  61. package/dist/cjs/src/generated/shopper/models/LandingShow.js +2 -0
  62. package/dist/cjs/src/generated/shopper/models/LandingVenue.d.ts +10 -0
  63. package/dist/cjs/src/generated/shopper/models/LandingVenue.js +2 -0
  64. package/dist/cjs/src/generated/shopper/models/NextStepResponse.d.ts +7 -0
  65. package/dist/cjs/src/generated/shopper/models/NextStepResponse.js +2 -0
  66. package/dist/cjs/src/generated/shopper/models/OrderBalance.d.ts +26 -0
  67. package/dist/cjs/src/generated/shopper/models/OrderBalance.js +2 -0
  68. package/dist/cjs/src/generated/shopper/models/OrderPaymentStatus.d.ts +14 -0
  69. package/dist/cjs/src/generated/shopper/models/OrderPaymentStatus.js +2 -0
  70. package/dist/cjs/src/generated/shopper/models/PosDefaultInfoResponse.d.ts +7 -0
  71. package/dist/cjs/src/generated/shopper/models/PosDefaultInfoResponse.js +2 -0
  72. package/dist/cjs/src/generated/shopper/models/ProductAddResponse.d.ts +4 -0
  73. package/dist/cjs/src/generated/shopper/models/SeatInCart.d.ts +8 -0
  74. package/dist/cjs/src/generated/shopper/models/SetLanguageDto.d.ts +6 -0
  75. package/dist/cjs/src/generated/shopper/models/SetLanguageDto.js +2 -0
  76. package/dist/cjs/src/generated/shopper/models/ShowExtras.d.ts +14 -0
  77. package/dist/cjs/src/generated/shopper/models/ShowExtras.js +2 -0
  78. package/dist/cjs/src/generated/shopper/models/StreamDetails.d.ts +25 -0
  79. package/dist/cjs/src/generated/shopper/models/StreamDetails.js +2 -0
  80. package/dist/cjs/src/generated/shopper/models/StreamDownloadLink.d.ts +4 -0
  81. package/dist/cjs/src/generated/shopper/models/StreamDownloadLink.js +2 -0
  82. package/dist/cjs/src/generated/shopper/services/AccountService.d.ts +20 -4
  83. package/dist/cjs/src/generated/shopper/services/AccountService.js +13 -4
  84. package/dist/cjs/src/generated/shopper/services/CartService.d.ts +76 -7
  85. package/dist/cjs/src/generated/shopper/services/CartService.js +98 -7
  86. package/dist/cjs/src/generated/shopper/services/CheckoutService.d.ts +47 -14
  87. package/dist/cjs/src/generated/shopper/services/CheckoutService.js +50 -19
  88. package/dist/cjs/src/generated/shopper/services/CodeService.d.ts +38 -5
  89. package/dist/cjs/src/generated/shopper/services/CodeService.js +39 -5
  90. package/dist/cjs/src/generated/shopper/services/DonationService.d.ts +23 -2
  91. package/dist/cjs/src/generated/shopper/services/DonationService.js +29 -2
  92. package/dist/cjs/src/generated/shopper/services/EventService.d.ts +46 -4
  93. package/dist/cjs/src/generated/shopper/services/EventService.js +59 -4
  94. package/dist/cjs/src/generated/shopper/services/GiftCardService.d.ts +25 -5
  95. package/dist/cjs/src/generated/shopper/services/GiftCardService.js +16 -5
  96. package/dist/cjs/src/generated/shopper/services/OrderService.d.ts +209 -16
  97. package/dist/cjs/src/generated/shopper/services/OrderService.js +276 -16
  98. package/dist/cjs/src/generated/shopper/services/PaymentService.d.ts +15 -3
  99. package/dist/cjs/src/generated/shopper/services/PaymentService.js +10 -3
  100. package/dist/cjs/src/generated/shopper/services/ProductService.d.ts +15 -3
  101. package/dist/cjs/src/generated/shopper/services/ProductService.js +10 -3
  102. package/dist/cjs/src/generated/shopper/services/SeatService.d.ts +30 -6
  103. package/dist/cjs/src/generated/shopper/services/SeatService.js +19 -6
  104. package/dist/cjs/src/generated/shopper/services/SessionService.d.ts +37 -2
  105. package/dist/cjs/src/generated/shopper/services/SessionService.js +51 -2
  106. package/dist/cjs/src/generated/shopper/types.d.ts +29 -1
  107. package/dist/cjs/src/scripts/build-all.js +83 -19
  108. package/dist/esm/src/functions/sdkConfig.d.ts +47 -16
  109. package/dist/esm/src/functions/sdkConfig.js +61 -41
  110. package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
  111. package/dist/esm/src/generated/portal/core/request.js +41 -7
  112. package/dist/esm/src/generated/scanner/core/OpenAPI.js +1 -1
  113. package/dist/esm/src/generated/scanner/core/request.js +41 -7
  114. package/dist/esm/src/generated/scanner/index.d.ts +1 -0
  115. package/dist/esm/src/generated/scanner/models/OrderScan.d.ts +9 -0
  116. package/dist/esm/src/generated/scanner/models/OrderScan.js +1 -0
  117. package/dist/esm/src/generated/scanner/models/TicketScan.d.ts +1 -0
  118. package/dist/esm/src/generated/scanner/services/ScanningService.d.ts +16 -0
  119. package/dist/esm/src/generated/scanner/services/ScanningService.js +28 -0
  120. package/dist/esm/src/generated/scanner/types.d.ts +1 -0
  121. package/dist/esm/src/generated/shopper/core/OpenAPI.js +1 -1
  122. package/dist/esm/src/generated/shopper/core/request.js +41 -7
  123. package/dist/esm/src/generated/shopper/index.d.ts +29 -1
  124. package/dist/esm/src/generated/shopper/models/AnswerInput.d.ts +6 -0
  125. package/dist/esm/src/generated/shopper/models/AnswerInput.js +1 -0
  126. package/dist/esm/src/generated/shopper/models/CartAmounts.d.ts +38 -0
  127. package/dist/esm/src/generated/shopper/models/CartAmounts.js +1 -0
  128. package/dist/esm/src/generated/shopper/models/CartClearResult.d.ts +14 -0
  129. package/dist/esm/src/generated/shopper/models/CartClearResult.js +1 -0
  130. package/dist/esm/src/generated/shopper/models/CartCountsLite.d.ts +14 -0
  131. package/dist/esm/src/generated/shopper/models/CartCountsLite.js +1 -0
  132. package/dist/esm/src/generated/shopper/models/CartTotals.d.ts +22 -0
  133. package/dist/esm/src/generated/shopper/models/CartTotals.js +1 -0
  134. package/dist/esm/src/generated/shopper/models/CheckoutStep.d.ts +10 -0
  135. package/dist/esm/src/generated/shopper/models/CheckoutStep.js +1 -0
  136. package/dist/esm/src/generated/shopper/models/CheckoutStepsResponse.d.ts +7 -0
  137. package/dist/esm/src/generated/shopper/models/CheckoutStepsResponse.js +1 -0
  138. package/dist/esm/src/generated/shopper/models/CheckoutSubmitBody.d.ts +3 -13
  139. package/dist/esm/src/generated/shopper/models/CorrelatedCode.d.ts +14 -0
  140. package/dist/esm/src/generated/shopper/models/CorrelatedCode.js +1 -0
  141. package/dist/esm/src/generated/shopper/models/EventLegend.d.ts +12 -0
  142. package/dist/esm/src/generated/shopper/models/EventLegend.js +1 -0
  143. package/dist/esm/src/generated/shopper/models/EventLegendItem.d.ts +9 -0
  144. package/dist/esm/src/generated/shopper/models/EventLegendItem.js +1 -0
  145. package/dist/esm/src/generated/shopper/models/ExchangeAnswersBody.d.ts +4 -0
  146. package/dist/esm/src/generated/shopper/models/ExchangeAnswersBody.js +1 -0
  147. package/dist/esm/src/generated/shopper/models/ExchangeCancelSeatResponse.d.ts +7 -0
  148. package/dist/esm/src/generated/shopper/models/ExchangeCancelSeatResponse.js +1 -0
  149. package/dist/esm/src/generated/shopper/models/ExchangeShow.d.ts +12 -0
  150. package/dist/esm/src/generated/shopper/models/ExchangeShow.js +1 -0
  151. package/dist/esm/src/generated/shopper/models/ExchangeShowsResponse.d.ts +8 -0
  152. package/dist/esm/src/generated/shopper/models/ExchangeShowsResponse.js +1 -0
  153. package/dist/esm/src/generated/shopper/models/ExtendTimerDto.d.ts +6 -0
  154. package/dist/esm/src/generated/shopper/models/ExtendTimerDto.js +1 -0
  155. package/dist/esm/src/generated/shopper/models/ExtendTimerResponseDto.d.ts +10 -0
  156. package/dist/esm/src/generated/shopper/models/ExtendTimerResponseDto.js +1 -0
  157. package/dist/esm/src/generated/shopper/models/FullEventDetails.d.ts +2 -0
  158. package/dist/esm/src/generated/shopper/models/GaSelection.d.ts +24 -0
  159. package/dist/esm/src/generated/shopper/models/GaSelection.js +1 -0
  160. package/dist/esm/src/generated/shopper/models/GaTier.d.ts +27 -0
  161. package/dist/esm/src/generated/shopper/models/GaTier.js +1 -0
  162. package/dist/esm/src/generated/shopper/models/LandingPageResponse.d.ts +10 -0
  163. package/dist/esm/src/generated/shopper/models/LandingProduct.d.ts +11 -0
  164. package/dist/esm/src/generated/shopper/models/LandingProduct.js +1 -0
  165. package/dist/esm/src/generated/shopper/models/LandingShow.d.ts +16 -0
  166. package/dist/esm/src/generated/shopper/models/LandingShow.js +1 -0
  167. package/dist/esm/src/generated/shopper/models/LandingVenue.d.ts +10 -0
  168. package/dist/esm/src/generated/shopper/models/LandingVenue.js +1 -0
  169. package/dist/esm/src/generated/shopper/models/NextStepResponse.d.ts +7 -0
  170. package/dist/esm/src/generated/shopper/models/NextStepResponse.js +1 -0
  171. package/dist/esm/src/generated/shopper/models/OrderBalance.d.ts +26 -0
  172. package/dist/esm/src/generated/shopper/models/OrderBalance.js +1 -0
  173. package/dist/esm/src/generated/shopper/models/OrderPaymentStatus.d.ts +14 -0
  174. package/dist/esm/src/generated/shopper/models/OrderPaymentStatus.js +1 -0
  175. package/dist/esm/src/generated/shopper/models/PosDefaultInfoResponse.d.ts +7 -0
  176. package/dist/esm/src/generated/shopper/models/PosDefaultInfoResponse.js +1 -0
  177. package/dist/esm/src/generated/shopper/models/ProductAddResponse.d.ts +4 -0
  178. package/dist/esm/src/generated/shopper/models/SeatInCart.d.ts +8 -0
  179. package/dist/esm/src/generated/shopper/models/SetLanguageDto.d.ts +6 -0
  180. package/dist/esm/src/generated/shopper/models/SetLanguageDto.js +1 -0
  181. package/dist/esm/src/generated/shopper/models/ShowExtras.d.ts +14 -0
  182. package/dist/esm/src/generated/shopper/models/ShowExtras.js +1 -0
  183. package/dist/esm/src/generated/shopper/models/StreamDetails.d.ts +25 -0
  184. package/dist/esm/src/generated/shopper/models/StreamDetails.js +1 -0
  185. package/dist/esm/src/generated/shopper/models/StreamDownloadLink.d.ts +4 -0
  186. package/dist/esm/src/generated/shopper/models/StreamDownloadLink.js +1 -0
  187. package/dist/esm/src/generated/shopper/services/AccountService.d.ts +20 -4
  188. package/dist/esm/src/generated/shopper/services/AccountService.js +13 -4
  189. package/dist/esm/src/generated/shopper/services/CartService.d.ts +76 -7
  190. package/dist/esm/src/generated/shopper/services/CartService.js +98 -7
  191. package/dist/esm/src/generated/shopper/services/CheckoutService.d.ts +47 -14
  192. package/dist/esm/src/generated/shopper/services/CheckoutService.js +50 -19
  193. package/dist/esm/src/generated/shopper/services/CodeService.d.ts +38 -5
  194. package/dist/esm/src/generated/shopper/services/CodeService.js +39 -5
  195. package/dist/esm/src/generated/shopper/services/DonationService.d.ts +23 -2
  196. package/dist/esm/src/generated/shopper/services/DonationService.js +29 -2
  197. package/dist/esm/src/generated/shopper/services/EventService.d.ts +46 -4
  198. package/dist/esm/src/generated/shopper/services/EventService.js +59 -4
  199. package/dist/esm/src/generated/shopper/services/GiftCardService.d.ts +25 -5
  200. package/dist/esm/src/generated/shopper/services/GiftCardService.js +16 -5
  201. package/dist/esm/src/generated/shopper/services/OrderService.d.ts +209 -16
  202. package/dist/esm/src/generated/shopper/services/OrderService.js +276 -16
  203. package/dist/esm/src/generated/shopper/services/PaymentService.d.ts +15 -3
  204. package/dist/esm/src/generated/shopper/services/PaymentService.js +10 -3
  205. package/dist/esm/src/generated/shopper/services/ProductService.d.ts +15 -3
  206. package/dist/esm/src/generated/shopper/services/ProductService.js +10 -3
  207. package/dist/esm/src/generated/shopper/services/SeatService.d.ts +30 -6
  208. package/dist/esm/src/generated/shopper/services/SeatService.js +19 -6
  209. package/dist/esm/src/generated/shopper/services/SessionService.d.ts +37 -2
  210. package/dist/esm/src/generated/shopper/services/SessionService.js +51 -2
  211. package/dist/esm/src/generated/shopper/types.d.ts +29 -1
  212. package/dist/esm/src/scripts/build-all.js +83 -19
  213. package/package.json +3 -2
  214. package/pnpm-workspace.yaml +2 -0
  215. package/src/custom/custom-request.txt +43 -9
  216. package/src/functions/sdkConfig.ts +91 -54
  217. package/src/generated/portal/core/OpenAPI.ts +1 -1
  218. package/src/generated/portal/core/request.ts +43 -9
  219. package/src/generated/scanner/core/OpenAPI.ts +1 -1
  220. package/src/generated/scanner/core/request.ts +43 -9
  221. package/src/generated/scanner/index.ts +1 -0
  222. package/src/generated/scanner/models/OrderScan.ts +14 -0
  223. package/src/generated/scanner/models/TicketScan.ts +1 -0
  224. package/src/generated/scanner/services/ScanningService.ts +38 -0
  225. package/src/generated/scanner/types.ts +1 -0
  226. package/src/generated/shopper/core/OpenAPI.ts +1 -1
  227. package/src/generated/shopper/core/request.ts +43 -9
  228. package/src/generated/shopper/index.ts +29 -1
  229. package/src/generated/shopper/models/AnswerInput.ts +11 -0
  230. package/src/generated/shopper/models/CartAmounts.ts +43 -0
  231. package/src/generated/shopper/models/CartClearResult.ts +19 -0
  232. package/src/generated/shopper/models/CartCountsLite.ts +19 -0
  233. package/src/generated/shopper/models/CartTotals.ts +27 -0
  234. package/src/generated/shopper/models/CheckoutStep.ts +15 -0
  235. package/src/generated/shopper/models/CheckoutStepsResponse.ts +12 -0
  236. package/src/generated/shopper/models/CheckoutSubmitBody.ts +3 -13
  237. package/src/generated/shopper/models/CorrelatedCode.ts +19 -0
  238. package/src/generated/shopper/models/EventLegend.ts +17 -0
  239. package/src/generated/shopper/models/EventLegendItem.ts +14 -0
  240. package/src/generated/shopper/models/ExchangeAnswersBody.ts +9 -0
  241. package/src/generated/shopper/models/ExchangeCancelSeatResponse.ts +12 -0
  242. package/src/generated/shopper/models/ExchangeShow.ts +17 -0
  243. package/src/generated/shopper/models/ExchangeShowsResponse.ts +13 -0
  244. package/src/generated/shopper/models/ExtendTimerDto.ts +11 -0
  245. package/src/generated/shopper/models/ExtendTimerResponseDto.ts +15 -0
  246. package/src/generated/shopper/models/FullEventDetails.ts +2 -0
  247. package/src/generated/shopper/models/GaSelection.ts +29 -0
  248. package/src/generated/shopper/models/GaTier.ts +32 -0
  249. package/src/generated/shopper/models/LandingPageResponse.ts +10 -0
  250. package/src/generated/shopper/models/LandingProduct.ts +16 -0
  251. package/src/generated/shopper/models/LandingShow.ts +21 -0
  252. package/src/generated/shopper/models/LandingVenue.ts +15 -0
  253. package/src/generated/shopper/models/NextStepResponse.ts +12 -0
  254. package/src/generated/shopper/models/OrderBalance.ts +31 -0
  255. package/src/generated/shopper/models/OrderPaymentStatus.ts +19 -0
  256. package/src/generated/shopper/models/PosDefaultInfoResponse.ts +12 -0
  257. package/src/generated/shopper/models/ProductAddResponse.ts +4 -0
  258. package/src/generated/shopper/models/SeatInCart.ts +8 -0
  259. package/src/generated/shopper/models/SetLanguageDto.ts +11 -0
  260. package/src/generated/shopper/models/ShowExtras.ts +19 -0
  261. package/src/generated/shopper/models/StreamDetails.ts +30 -0
  262. package/src/generated/shopper/models/StreamDownloadLink.ts +9 -0
  263. package/src/generated/shopper/services/AccountService.ts +22 -9
  264. package/src/generated/shopper/services/CartService.ts +123 -14
  265. package/src/generated/shopper/services/CheckoutService.ts +69 -29
  266. package/src/generated/shopper/services/CodeService.ts +58 -15
  267. package/src/generated/shopper/services/DonationService.ts +38 -5
  268. package/src/generated/shopper/services/EventService.ts +77 -10
  269. package/src/generated/shopper/services/GiftCardService.ts +28 -12
  270. package/src/generated/shopper/services/OrderService.ts +356 -41
  271. package/src/generated/shopper/services/PaymentService.ts +19 -9
  272. package/src/generated/shopper/services/ProductService.ts +19 -9
  273. package/src/generated/shopper/services/SeatService.ts +38 -19
  274. package/src/generated/shopper/services/SessionService.ts +65 -5
  275. package/src/generated/shopper/types.ts +29 -1
  276. package/src/scripts/build-all.ts +127 -26
  277. package/src/generated/shopper/models/SaveNonceBody.ts +0 -15
@@ -3,17 +3,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EventService = 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");
6
7
  class EventService {
7
8
  /**
8
9
  * Get all events for a shopper
9
10
  * Retrieves all events associated with the shopper.
11
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
10
12
  * @returns GetEventsResponse Returns a list of events and their groups.
11
13
  * @throws ApiError
12
14
  */
13
- static getEvents() {
15
+ static getEvents(context) {
14
16
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
15
17
  method: 'GET',
16
18
  url: '/event',
19
+ headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
17
20
  errors: {
18
21
  400: `Bad Request error with error details.`,
19
22
  404: `Not found error with error details.`,
@@ -25,13 +28,15 @@ class EventService {
25
28
  * Get events for a specific performer
26
29
  * Retrieves events associated with a specific performer.
27
30
  * @param performer The name of the performer to filter events by.
31
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
28
32
  * @returns PerformerEventList Returns a list of event IDs and their primary status.
29
33
  * @throws ApiError
30
34
  */
31
- static getPerformers(performer) {
35
+ static getPerformers(performer, context) {
32
36
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
33
37
  method: 'GET',
34
38
  url: '/event/performer',
39
+ headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
35
40
  query: {
36
41
  'performer': performer,
37
42
  },
@@ -46,16 +51,64 @@ class EventService {
46
51
  * Get event details by ID
47
52
  * Retrieves detailed information for a specific event.
48
53
  * @param id
54
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
49
55
  * @returns FullEventDetails Returns the event details.
50
56
  * @throws ApiError
51
57
  */
52
- static getEventById(id) {
58
+ static getEventById(id, context) {
53
59
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
54
60
  method: 'GET',
55
61
  url: '/event/{id}',
56
62
  path: {
57
63
  'id': id,
58
64
  },
65
+ headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
66
+ errors: {
67
+ 400: `Bad Request error with error details.`,
68
+ 404: `Not found error with error details.`,
69
+ 500: `Internal Server Error, please contact developers.`,
70
+ },
71
+ });
72
+ }
73
+ /**
74
+ * Get the seat-map legend for an event
75
+ * Returns the structured seat-map legend (per-tier color/label, the raw legend text, and the chair-token color map) as JSON (SEAT-2).
76
+ * @param id
77
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
78
+ * @returns EventLegend Returns the event legend.
79
+ * @throws ApiError
80
+ */
81
+ static getEventLegend(id, context) {
82
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
83
+ method: 'GET',
84
+ url: '/event/{id}/legend',
85
+ path: {
86
+ 'id': id,
87
+ },
88
+ headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
89
+ errors: {
90
+ 400: `Bad Request error with error details.`,
91
+ 404: `Not found error with error details.`,
92
+ 500: `Internal Server Error, please contact developers.`,
93
+ },
94
+ });
95
+ }
96
+ /**
97
+ * Get GA / best-available selection data for an event
98
+ * Returns the GA/BA purchase-view payload: per-tier advance/door/effective price, capacity & remaining, plus order limits and lap-child policy (SEAT-3).
99
+ * @param id
100
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
101
+ * @returns GaSelection Returns the GA selection payload.
102
+ * @throws ApiError
103
+ */
104
+ static getGaSelection(id, context) {
105
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
106
+ method: 'GET',
107
+ url: '/event/{id}/ga',
108
+ path: {
109
+ 'id': id,
110
+ },
111
+ headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
59
112
  errors: {
60
113
  400: `Bad Request error with error details.`,
61
114
  404: `Not found error with error details.`,
@@ -66,14 +119,16 @@ class EventService {
66
119
  /**
67
120
  * Assign names to the waitlist
68
121
  * Updates the waitlist with shopper details.
122
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
69
123
  * @param requestBody Details of the waitlist update
70
124
  * @returns WaitlistResponse Returns the result of the waitlist update.
71
125
  * @throws ApiError
72
126
  */
73
- static postWishlist(requestBody) {
127
+ static postWishlist(requestBody, context) {
74
128
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
75
129
  method: 'POST',
76
130
  url: '/event/waitlist',
131
+ headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
77
132
  body: requestBody,
78
133
  mediaType: 'application/json',
79
134
  errors: {
@@ -11,37 +11,57 @@ export declare class GiftCardService {
11
11
  * Retrieves gift card balance and availability information for the specified code and PIN.
12
12
  * @param code Gift card code
13
13
  * @param pin Gift card PIN
14
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
14
15
  * @returns GiftCardLookupResponse Returns gift card balance and availability information.
15
16
  * @throws ApiError
16
17
  */
17
- static lookupGiftCard(code: string, pin: string): CancelablePromise<GiftCardLookupResponse>;
18
+ static lookupGiftCard(code: string, pin: string, context?: {
19
+ shopperGuid?: string;
20
+ accountId?: string;
21
+ }): CancelablePromise<GiftCardLookupResponse>;
18
22
  /**
19
23
  * Apply a gift card to the current session
20
24
  * Applies a gift card to the current shopper session. Removes any previously applied gift card.
25
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
21
26
  * @param requestBody Gift card details to apply
22
27
  * @returns GiftCardApplyResponse Gift card applied successfully.
23
28
  * @throws ApiError
24
29
  */
25
- static applyGiftCard(requestBody: GiftCardApplyDto): CancelablePromise<GiftCardApplyResponse>;
30
+ static applyGiftCard(requestBody: GiftCardApplyDto, context?: {
31
+ shopperGuid?: string;
32
+ accountId?: string;
33
+ }): CancelablePromise<GiftCardApplyResponse>;
26
34
  /**
27
35
  * Remove the gift card from the current session
28
36
  * Removes all gift cards from the current shopper session and recalculates payment totals.
37
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
29
38
  * @returns GiftCardRemoveResponse Gift card removed successfully.
30
39
  * @throws ApiError
31
40
  */
32
- static removeGiftCard(): CancelablePromise<GiftCardRemoveResponse>;
41
+ static removeGiftCard(context?: {
42
+ shopperGuid?: string;
43
+ accountId?: string;
44
+ }): CancelablePromise<GiftCardRemoveResponse>;
33
45
  /**
34
46
  * Get gift card checkout information
35
47
  * Retrieves gift card information for the checkout page, including applied gift card details and remaining balance.
48
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
36
49
  * @returns GiftCardCheckoutInfo Returns gift card checkout information.
37
50
  * @throws ApiError
38
51
  */
39
- static getGiftCardCheckoutInfo(): CancelablePromise<GiftCardCheckoutInfo>;
52
+ static getGiftCardCheckoutInfo(context?: {
53
+ shopperGuid?: string;
54
+ accountId?: string;
55
+ }): CancelablePromise<GiftCardCheckoutInfo>;
40
56
  /**
41
57
  * Get gift card edit form data
42
58
  * Retrieves the currently applied gift card information for editing purposes.
59
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
43
60
  * @returns GiftCardEditFormResponse Returns the applied gift card code and amount.
44
61
  * @throws ApiError
45
62
  */
46
- static getGiftCardEditForm(): CancelablePromise<GiftCardEditFormResponse>;
63
+ static getGiftCardEditForm(context?: {
64
+ shopperGuid?: string;
65
+ accountId?: string;
66
+ }): CancelablePromise<GiftCardEditFormResponse>;
47
67
  }
@@ -3,19 +3,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GiftCardService = 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");
6
7
  class GiftCardService {
7
8
  /**
8
9
  * Look up a gift card by code and PIN
9
10
  * Retrieves gift card balance and availability information for the specified code and PIN.
10
11
  * @param code Gift card code
11
12
  * @param pin Gift card PIN
13
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
12
14
  * @returns GiftCardLookupResponse Returns gift card balance and availability information.
13
15
  * @throws ApiError
14
16
  */
15
- static lookupGiftCard(code, pin) {
17
+ static lookupGiftCard(code, pin, context) {
16
18
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
17
19
  method: 'GET',
18
20
  url: '/gift-card',
21
+ headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
19
22
  query: {
20
23
  'code': code,
21
24
  'pin': pin,
@@ -30,14 +33,16 @@ class GiftCardService {
30
33
  /**
31
34
  * Apply a gift card to the current session
32
35
  * Applies a gift card to the current shopper session. Removes any previously applied gift card.
36
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
33
37
  * @param requestBody Gift card details to apply
34
38
  * @returns GiftCardApplyResponse Gift card applied successfully.
35
39
  * @throws ApiError
36
40
  */
37
- static applyGiftCard(requestBody) {
41
+ static applyGiftCard(requestBody, context) {
38
42
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
39
43
  method: 'POST',
40
44
  url: '/gift-card',
45
+ headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
41
46
  body: requestBody,
42
47
  mediaType: 'application/json',
43
48
  errors: {
@@ -50,13 +55,15 @@ class GiftCardService {
50
55
  /**
51
56
  * Remove the gift card from the current session
52
57
  * Removes all gift cards from the current shopper session and recalculates payment totals.
58
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
53
59
  * @returns GiftCardRemoveResponse Gift card removed successfully.
54
60
  * @throws ApiError
55
61
  */
56
- static removeGiftCard() {
62
+ static removeGiftCard(context) {
57
63
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
58
64
  method: 'DELETE',
59
65
  url: '/gift-card',
66
+ headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
60
67
  errors: {
61
68
  400: `Bad Request error with error details.`,
62
69
  404: `Not found error with error details.`,
@@ -67,13 +74,15 @@ class GiftCardService {
67
74
  /**
68
75
  * Get gift card checkout information
69
76
  * Retrieves gift card information for the checkout page, including applied gift card details and remaining balance.
77
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
70
78
  * @returns GiftCardCheckoutInfo Returns gift card checkout information.
71
79
  * @throws ApiError
72
80
  */
73
- static getGiftCardCheckoutInfo() {
81
+ static getGiftCardCheckoutInfo(context) {
74
82
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
75
83
  method: 'GET',
76
84
  url: '/gift-card/checkout',
85
+ headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
77
86
  errors: {
78
87
  400: `Bad Request error with error details.`,
79
88
  404: `Not found error with error details.`,
@@ -84,13 +93,15 @@ class GiftCardService {
84
93
  /**
85
94
  * Get gift card edit form data
86
95
  * Retrieves the currently applied gift card information for editing purposes.
96
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
87
97
  * @returns GiftCardEditFormResponse Returns the applied gift card code and amount.
88
98
  * @throws ApiError
89
99
  */
90
- static getGiftCardEditForm() {
100
+ static getGiftCardEditForm(context) {
91
101
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
92
102
  method: 'GET',
93
103
  url: '/gift-card/edit',
104
+ headers: (0, sdkConfig_1.resolveShopperHeaders)(context),
94
105
  errors: {
95
106
  400: `Bad Request error with error details.`,
96
107
  404: `Not found error with error details.`,
@@ -1,10 +1,15 @@
1
1
  import type { AssignNamesReturn } from '../models/AssignNamesReturn';
2
2
  import type { DonateOrderRequest } from '../models/DonateOrderRequest';
3
3
  import type { EmailUpdate } from '../models/EmailUpdate';
4
+ import type { ExchangeAnswersBody } from '../models/ExchangeAnswersBody';
5
+ import type { ExchangeCancelSeatResponse } from '../models/ExchangeCancelSeatResponse';
4
6
  import type { ExchangeRequest } from '../models/ExchangeRequest';
7
+ import type { ExchangeShowsResponse } from '../models/ExchangeShowsResponse';
5
8
  import type { GuidReturn } from '../models/GuidReturn';
6
9
  import type { LinkWithSuccess } from '../models/LinkWithSuccess';
7
10
  import type { NameUpdate } from '../models/NameUpdate';
11
+ import type { OrderBalance } from '../models/OrderBalance';
12
+ import type { OrderPaymentStatus } from '../models/OrderPaymentStatus';
8
13
  import type { OrderRecalc } from '../models/OrderRecalc';
9
14
  import type { PickupReturn } from '../models/PickupReturn';
10
15
  import type { RecalcResponse } from '../models/RecalcResponse';
@@ -13,6 +18,9 @@ import type { RefundRequest } from '../models/RefundRequest';
13
18
  import type { RefundRequestInfo } from '../models/RefundRequestInfo';
14
19
  import type { RegisterStreamRequest } from '../models/RegisterStreamRequest';
15
20
  import type { RegisterStreamResponse } from '../models/RegisterStreamResponse';
21
+ import type { SeatInCart } from '../models/SeatInCart';
22
+ import type { StreamDetails } from '../models/StreamDetails';
23
+ import type { StreamDownloadLink } from '../models/StreamDownloadLink';
16
24
  import type { SuccessResponse } from '../models/SuccessResponse';
17
25
  import type { CancelablePromise } from '../core/CancelablePromise';
18
26
  export declare class OrderService {
@@ -20,132 +28,317 @@ export declare class OrderService {
20
28
  * Get order receipt by guid
21
29
  * Fetches the receipt for an order using its unique guid.
22
30
  * @param guid Unique identifier for an order.
31
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
23
32
  * @returns Receipt Returns the order receipt.
24
33
  * @throws ApiError
25
34
  */
26
- static getReceipt(guid: string): CancelablePromise<Receipt>;
35
+ static getReceipt(guid: string, context?: {
36
+ shopperGuid?: string;
37
+ accountId?: string;
38
+ }): CancelablePromise<Receipt>;
39
+ /**
40
+ * Stamp the session source order
41
+ * Records the given order as the current session's source order (session.src_order_id) for attribution (ORD-1, legacy order-set-src).
42
+ * @param guid Unique identifier for an order.
43
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
44
+ * @returns SuccessResponse Returns success after stamping the source order.
45
+ * @throws ApiError
46
+ */
47
+ static setOrderSrc(guid: string, context?: {
48
+ shopperGuid?: string;
49
+ accountId?: string;
50
+ }): CancelablePromise<SuccessResponse>;
51
+ /**
52
+ * Get the balance owed on an order
53
+ * Returns the balance owed on an existing order and whether the account offers an additional payment (enable_adjustment_payment). Read-only — the charge itself is collected by the Stripe Payment Element on the frontend and recorded downstream (PAY-1).
54
+ * @param guid Unique identifier for an order.
55
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
56
+ * @returns OrderBalance Returns the order balance and adjustment-payment gating.
57
+ * @throws ApiError
58
+ */
59
+ static getOrderBalance(guid: string, context?: {
60
+ shopperGuid?: string;
61
+ accountId?: string;
62
+ }): CancelablePromise<OrderBalance>;
63
+ /**
64
+ * Poll the payment status of an order
65
+ * Returns whether an order is fully paid (for the pay-by-link page to poll). The Stripe link/intent is created on the frontend via the existing /payment* flow; this endpoint only reports completion (PAY-2).
66
+ * @param guid Unique identifier for an order.
67
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
68
+ * @returns OrderPaymentStatus Returns the order payment status.
69
+ * @throws ApiError
70
+ */
71
+ static getOrderPaymentStatus(guid: string, context?: {
72
+ shopperGuid?: string;
73
+ accountId?: string;
74
+ }): CancelablePromise<OrderPaymentStatus>;
27
75
  /**
28
76
  * Get Gwallet link by guid
29
77
  * Fetches the Gwallet link for an order using its unique guid.
30
78
  * @param guid Unique identifier for an order.
79
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
31
80
  * @returns LinkWithSuccess Returns the Gwallet link.
32
81
  * @throws ApiError
33
82
  */
34
- static getGwalletLink(guid: string): CancelablePromise<LinkWithSuccess>;
83
+ static getGwalletLink(guid: string, context?: {
84
+ shopperGuid?: string;
85
+ accountId?: string;
86
+ }): CancelablePromise<LinkWithSuccess>;
35
87
  /**
36
88
  * Get testing guid
37
89
  * Fetches a testing guid for development purposes.
38
90
  * @param guid Unique identifier for an order.
91
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
39
92
  * @returns GuidReturn Returns a testing guid.
40
93
  * @throws ApiError
41
94
  */
42
- static getTestingGuid(guid: string): CancelablePromise<GuidReturn>;
95
+ static getTestingGuid(guid: string, context?: {
96
+ shopperGuid?: string;
97
+ accountId?: string;
98
+ }): CancelablePromise<GuidReturn>;
43
99
  /**
44
100
  * Get assign names by guid
45
101
  * Fetches the assign names information for an order using its unique guid.
46
102
  * @param guid Unique identifier for an order.
103
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
47
104
  * @returns AssignNamesReturn Returns the assign names information.
48
105
  * @throws ApiError
49
106
  */
50
- static getAssignNames(guid: string): CancelablePromise<AssignNamesReturn>;
107
+ static getAssignNames(guid: string, context?: {
108
+ shopperGuid?: string;
109
+ accountId?: string;
110
+ }): CancelablePromise<AssignNamesReturn>;
51
111
  /**
52
112
  * Post assign names
53
113
  * Assigns names to an order using its unique guid and the provided names.
54
114
  * @param guid Unique identifier for an order.
115
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
55
116
  * @param requestBody Names to be assigned to the order.
56
117
  * @returns SuccessResponse Returns success status after assigning names.
57
118
  * @throws ApiError
58
119
  */
59
- static postAssignNames(guid: string, requestBody: NameUpdate): CancelablePromise<SuccessResponse>;
120
+ static postAssignNames(guid: string, requestBody: NameUpdate, context?: {
121
+ shopperGuid?: string;
122
+ accountId?: string;
123
+ }): CancelablePromise<SuccessResponse>;
60
124
  /**
61
125
  * Post email tickets
62
126
  * Sends email tickets for an order using its unique guid and the provided email update.
63
127
  * @param guid Unique identifier for an order.
128
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
64
129
  * @param requestBody Email update containing the email address to send tickets.
65
130
  * @returns SuccessResponse Returns success status after sending email tickets.
66
131
  * @throws ApiError
67
132
  */
68
- static postEmailTickets(guid: string, requestBody: EmailUpdate): CancelablePromise<SuccessResponse>;
133
+ static postEmailTickets(guid: string, requestBody: EmailUpdate, context?: {
134
+ shopperGuid?: string;
135
+ accountId?: string;
136
+ }): CancelablePromise<SuccessResponse>;
69
137
  /**
70
138
  * Get ticket block by guid
71
139
  * Fetches the ticket block for an order using its unique guid.
72
140
  * @param guid Unique identifier for an order.
141
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
73
142
  * @returns PickupReturn Returns the ticket block for the order.
74
143
  * @throws ApiError
75
144
  */
76
- static getTicketBlock(guid: string): CancelablePromise<PickupReturn>;
145
+ static getTicketBlock(guid: string, context?: {
146
+ shopperGuid?: string;
147
+ accountId?: string;
148
+ }): CancelablePromise<PickupReturn>;
77
149
  /**
78
150
  * Post ticket block by guid
79
151
  * Sends the ticket block for an order using its unique guid.
80
152
  * @param guid Unique identifier for an order.
153
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
81
154
  * @returns SuccessResponse Returns the ticket block for the order.
82
155
  * @throws ApiError
83
156
  */
84
- static postPickup(guid: string): CancelablePromise<SuccessResponse>;
157
+ static postPickup(guid: string, context?: {
158
+ shopperGuid?: string;
159
+ accountId?: string;
160
+ }): CancelablePromise<SuccessResponse>;
85
161
  /**
86
162
  * Send order receipt via email
87
163
  * Sends the order receipt to the shopper's email address for the specified order guid.
88
164
  * @param guid Unique identifier for an order.
165
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
89
166
  * @returns SuccessResponse Returns success status after emailing the receipt.
90
167
  * @throws ApiError
91
168
  */
92
- static postEmailReceipt(guid: string): CancelablePromise<SuccessResponse>;
169
+ static postEmailReceipt(guid: string, context?: {
170
+ shopperGuid?: string;
171
+ accountId?: string;
172
+ }): CancelablePromise<SuccessResponse>;
93
173
  /**
94
174
  * Get refund request information
95
175
  * Fetches the refund request information for an order using its unique guid.
96
176
  * @param guid Unique identifier for an order.
177
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
97
178
  * @returns RefundRequestInfo Returns the refund request information for the order.
98
179
  * @throws ApiError
99
180
  */
100
- static getRefundRequest(guid: string): CancelablePromise<RefundRequestInfo>;
181
+ static getRefundRequest(guid: string, context?: {
182
+ shopperGuid?: string;
183
+ accountId?: string;
184
+ }): CancelablePromise<RefundRequestInfo>;
101
185
  /**
102
186
  * Submit a refund request
103
187
  * Submits a refund request for an order using its unique guid and the provided refund details.
104
188
  * @param guid Unique identifier for an order.
189
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
105
190
  * @param requestBody Refund request details.
106
191
  * @returns SuccessResponse Returns success status after submitting the refund request.
107
192
  * @throws ApiError
108
193
  */
109
- static postRefundRequest(guid: string, requestBody: RefundRequest): CancelablePromise<SuccessResponse>;
194
+ static postRefundRequest(guid: string, requestBody: RefundRequest, context?: {
195
+ shopperGuid?: string;
196
+ accountId?: string;
197
+ }): CancelablePromise<SuccessResponse>;
110
198
  /**
111
199
  * Recalculate order totals
112
200
  * Recalculates the totals for an order using the provided recalculation data.
113
201
  * @param guid Unique identifier for an order.
202
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
114
203
  * @param requestBody Order recalculation data.
115
204
  * @returns RecalcResponse Returns the recalculated order totals and success status.
116
205
  * @throws ApiError
117
206
  */
118
- static postRecalcOrder(guid: string, requestBody: OrderRecalc): CancelablePromise<RecalcResponse>;
207
+ static postRecalcOrder(guid: string, requestBody: OrderRecalc, context?: {
208
+ shopperGuid?: string;
209
+ accountId?: string;
210
+ }): CancelablePromise<RecalcResponse>;
119
211
  /**
120
212
  * Donate order in lieu of refund
121
213
  * Marks an order as donated in lieu of refund using the provided order guid and donated IP address.
214
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
122
215
  * @param requestBody Donate order payload containing guid and donatedIpAddress.
123
216
  * @returns SuccessResponse Returns success status after donating the order.
124
217
  * @throws ApiError
125
218
  */
126
- static postDonateOrder(requestBody: DonateOrderRequest): CancelablePromise<SuccessResponse>;
219
+ static postDonateOrder(requestBody: DonateOrderRequest, context?: {
220
+ shopperGuid?: string;
221
+ accountId?: string;
222
+ }): CancelablePromise<SuccessResponse>;
223
+ /**
224
+ * Get virtual-stream details/embed for an order
225
+ * Returns the stream provider/code/embed/links and whether it's available right now (date-gated by the session effective date). The stream must belong to the order (VS-1).
226
+ * @param orderGuid
227
+ * @param streamGuid
228
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
229
+ * @returns StreamDetails Returns the stream details.
230
+ * @throws ApiError
231
+ */
232
+ static getStreamDetails(orderGuid: string, streamGuid: string, context?: {
233
+ shopperGuid?: string;
234
+ accountId?: string;
235
+ }): CancelablePromise<StreamDetails>;
236
+ /**
237
+ * Get the digital-download link for a stream
238
+ * Returns the best-quality digital-download cloud URL for a stream on the order (VS-1, legacy digital-download-get-link).
239
+ * @param orderGuid
240
+ * @param streamGuid
241
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
242
+ * @returns StreamDownloadLink Returns the download link.
243
+ * @throws ApiError
244
+ */
245
+ static getStreamDownloadLink(orderGuid: string, streamGuid: string, context?: {
246
+ shopperGuid?: string;
247
+ accountId?: string;
248
+ }): CancelablePromise<StreamDownloadLink>;
127
249
  /**
128
250
  * Register a stream for a shopper
129
251
  * Registers a stream for the specified shopper and account using the provided stream registration details.
252
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
130
253
  * @param requestBody Stream registration details.
131
254
  * @returns RegisterStreamResponse Returns the stream registration response.
132
255
  * @throws ApiError
133
256
  */
134
- static postRegisterStream(requestBody: RegisterStreamRequest): CancelablePromise<RegisterStreamResponse>;
257
+ static postRegisterStream(requestBody: RegisterStreamRequest, context?: {
258
+ shopperGuid?: string;
259
+ accountId?: string;
260
+ }): CancelablePromise<RegisterStreamResponse>;
135
261
  /**
136
262
  * Deregister a stream for a shopper
137
263
  * Removes the stream registration for the specified shopper and account using the provided stream registration details.
264
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
138
265
  * @param requestBody Stream registration details to be deregistered.
139
266
  * @returns SuccessResponse Returns success status after deregistering the stream.
140
267
  * @throws ApiError
141
268
  */
142
- static deleteRegisteredStream(requestBody: RegisterStreamRequest): CancelablePromise<SuccessResponse>;
269
+ static deleteRegisteredStream(requestBody: RegisterStreamRequest, context?: {
270
+ shopperGuid?: string;
271
+ accountId?: string;
272
+ }): CancelablePromise<SuccessResponse>;
273
+ /**
274
+ * List shows available to exchange into
275
+ * Returns the shows a buyer can exchange into (ticketed, on sale, in the future) plus how many seats they already hold (EXC-1). Load GA tiers/pricing for a target via GET /event/:id/ga.
276
+ * @param guid Unique identifier for an order.
277
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
278
+ * @returns ExchangeShowsResponse Returns exchange-eligible shows and held-seat count.
279
+ * @throws ApiError
280
+ */
281
+ static getExchangeShows(guid: string, context?: {
282
+ shopperGuid?: string;
283
+ accountId?: string;
284
+ }): CancelablePromise<ExchangeShowsResponse>;
285
+ /**
286
+ * Get the seats currently held for the exchange
287
+ * Returns the seats held in the exchange cart (EXC-1).
288
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
289
+ * @returns SeatInCart Returns the held exchange seats.
290
+ * @throws ApiError
291
+ */
292
+ static getExchangeSeats(context?: {
293
+ shopperGuid?: string;
294
+ accountId?: string;
295
+ }): CancelablePromise<Array<SeatInCart>>;
296
+ /**
297
+ * Save per-seat answers for the new exchange seats
298
+ * Persists checkout answers for the new seats being exchanged into (EXC-1, legacy exchange-questions-save).
299
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
300
+ * @param requestBody
301
+ * @returns SuccessResponse Returns success after saving answers.
302
+ * @throws ApiError
303
+ */
304
+ static saveExchangeAnswers(requestBody: ExchangeAnswersBody, context?: {
305
+ shopperGuid?: string;
306
+ accountId?: string;
307
+ }): CancelablePromise<SuccessResponse>;
308
+ /**
309
+ * Release one held seat during an exchange
310
+ * Releases a single held seat from the exchange cart; clears the cart timer when no held seats remain (EXC-1, legacy exchange-cancel).
311
+ * @param showId
312
+ * @param seatId
313
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
314
+ * @returns ExchangeCancelSeatResponse Returns success and whether the cart timer still runs.
315
+ * @throws ApiError
316
+ */
317
+ static cancelExchangeSeat(showId: number, seatId: number, context?: {
318
+ shopperGuid?: string;
319
+ accountId?: string;
320
+ }): CancelablePromise<ExchangeCancelSeatResponse>;
321
+ /**
322
+ * Cancel an in-progress exchange
323
+ * Aborts an in-progress exchange: releases all held seats, clears the cart timer, and clears the exchange lock (EXC-1, legacy exchange-cancel-all).
324
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
325
+ * @returns SuccessResponse Returns success after cancelling the exchange.
326
+ * @throws ApiError
327
+ */
328
+ static cancelExchange(context?: {
329
+ shopperGuid?: string;
330
+ accountId?: string;
331
+ }): CancelablePromise<SuccessResponse>;
143
332
  /**
144
333
  * Execute a seat exchange for an order
145
334
  * Swaps seats held in the cart for the seats specified in seatIds on an existing order.
335
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
146
336
  * @param requestBody Exchange request containing the order GUID and seat IDs to exchange out.
147
337
  * @returns SuccessResponse Returns success after completing the exchange.
148
338
  * @throws ApiError
149
339
  */
150
- static postExchange(requestBody: ExchangeRequest): CancelablePromise<SuccessResponse>;
340
+ static postExchange(requestBody: ExchangeRequest, context?: {
341
+ shopperGuid?: string;
342
+ accountId?: string;
343
+ }): CancelablePromise<SuccessResponse>;
151
344
  }