@drttix/drt-sdk 1.3.4 → 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 (278) 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 -2
  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 -2
  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 -2
  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 -2
  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 -2
  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 -2
  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 -2
  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 -2
  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 -2
  276. package/src/scripts/build-all.ts +127 -26
  277. package/src/generated/shopper/models/Chart.ts +0 -13
  278. package/src/generated/shopper/models/SaveNonceBody.ts +0 -15
@@ -18,4 +18,12 @@ export type SeatInCart = {
18
18
  isLivestream: number;
19
19
  tierName: string;
20
20
  tierId: number;
21
+ /**
22
+ * Taxable seat price = price − discount − serviceCharge (legacy cart-get seatPriceTaxable).
23
+ */
24
+ seatPriceTaxable: number;
25
+ /**
26
+ * The priority code applied to this seat, if any (legacy priorityCodeID).
27
+ */
28
+ priorityCodeId: number | null;
21
29
  };
@@ -0,0 +1,6 @@
1
+ export type SetLanguageDto = {
2
+ /**
3
+ * The language code to set (e.g. "en").
4
+ */
5
+ lang: string;
6
+ };
@@ -0,0 +1,14 @@
1
+ export type ShowExtras = {
2
+ /**
3
+ * Whether the event is hidden behind a priority code; the UI should prompt for a code before showing the seat map (legacy hidden_priority).
4
+ */
5
+ hiddenPriority: number;
6
+ /**
7
+ * Comma-separated list of disabled floor ids, if any.
8
+ */
9
+ disabledFloors: string | null;
10
+ /**
11
+ * Maximum age for a lap child, if a lap-child policy applies.
12
+ */
13
+ lapChildMaxAge: number | null;
14
+ };
@@ -0,0 +1,25 @@
1
+ export type StreamDetails = {
2
+ providerId: number;
3
+ streamCode: string | null;
4
+ name: string | null;
5
+ hrefSd: string | null;
6
+ hrefHd: string | null;
7
+ streamGuid: string;
8
+ embedCode: string | null;
9
+ directLink: string | null;
10
+ /**
11
+ * Direct-link password / digital-asset password, if set.
12
+ */
13
+ directLinkPw: string | null;
14
+ title: string | null;
15
+ /**
16
+ * Whether the stream is available right now.
17
+ */
18
+ isAvailable: number;
19
+ /**
20
+ * Whether the stream window has passed.
21
+ */
22
+ isExpired: number;
23
+ dateAvailable: string | null;
24
+ dateUnavailable: string | null;
25
+ };
@@ -0,0 +1,4 @@
1
+ export type StreamDownloadLink = {
2
+ success: boolean;
3
+ url: string | null;
4
+ };
@@ -7,29 +7,45 @@ export declare class AccountService {
7
7
  /**
8
8
  * Get the site theme
9
9
  * Retrieves the current theme for the site.
10
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
10
11
  * @returns SiteTheme Returns the site theme.
11
12
  * @throws ApiError
12
13
  */
13
- static getTheme(): CancelablePromise<SiteTheme>;
14
+ static getTheme(context?: {
15
+ shopperGuid?: string;
16
+ accountId?: string;
17
+ }): CancelablePromise<SiteTheme>;
14
18
  /**
15
19
  * Get the site disposition
16
20
  * Retrieves the current disposition for the site.
21
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
17
22
  * @returns SiteDisposition Returns the site disposition.
18
23
  * @throws ApiError
19
24
  */
20
- static getDisposition(): CancelablePromise<SiteDisposition>;
25
+ static getDisposition(context?: {
26
+ shopperGuid?: string;
27
+ accountId?: string;
28
+ }): CancelablePromise<SiteDisposition>;
21
29
  /**
22
30
  * Get the root site configuration
23
31
  * Retrieves the root configuration including theme, disposition, and details.
32
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
24
33
  * @returns RootConfigResponse Returns the root site configuration.
25
34
  * @throws ApiError
26
35
  */
27
- static getRoot(): CancelablePromise<RootConfigResponse>;
36
+ static getRoot(context?: {
37
+ shopperGuid?: string;
38
+ accountId?: string;
39
+ }): CancelablePromise<RootConfigResponse>;
28
40
  /**
29
41
  * Get the landing page configuration
30
42
  * Retrieves the landing page configuration including theme, disposition, and album details.
43
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
31
44
  * @returns LandingPageResponse Returns the landing page configuration.
32
45
  * @throws ApiError
33
46
  */
34
- static getLandingPage(): CancelablePromise<LandingPageResponse>;
47
+ static getLandingPage(context?: {
48
+ shopperGuid?: string;
49
+ accountId?: string;
50
+ }): CancelablePromise<LandingPageResponse>;
35
51
  }
@@ -1,16 +1,19 @@
1
1
  import { OpenAPI } from '../core/OpenAPI.js';
2
2
  import { request as __request } from '../core/request.js';
3
+ import { resolveShopperHeaders } from '../../../functions/sdkConfig.js';
3
4
  export class AccountService {
4
5
  /**
5
6
  * Get the site theme
6
7
  * Retrieves the current theme for the site.
8
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
7
9
  * @returns SiteTheme Returns the site theme.
8
10
  * @throws ApiError
9
11
  */
10
- static getTheme() {
12
+ static getTheme(context) {
11
13
  return __request(OpenAPI, {
12
14
  method: 'GET',
13
15
  url: '/theme',
16
+ headers: resolveShopperHeaders(context),
14
17
  errors: {
15
18
  400: `Bad Request error with error details.`,
16
19
  404: `Not found error with error details.`,
@@ -21,13 +24,15 @@ export class AccountService {
21
24
  /**
22
25
  * Get the site disposition
23
26
  * Retrieves the current disposition for the site.
27
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
24
28
  * @returns SiteDisposition Returns the site disposition.
25
29
  * @throws ApiError
26
30
  */
27
- static getDisposition() {
31
+ static getDisposition(context) {
28
32
  return __request(OpenAPI, {
29
33
  method: 'GET',
30
34
  url: '/disposition',
35
+ headers: resolveShopperHeaders(context),
31
36
  errors: {
32
37
  400: `Bad Request error with error details.`,
33
38
  404: `Not found error with error details.`,
@@ -38,13 +43,15 @@ export class AccountService {
38
43
  /**
39
44
  * Get the root site configuration
40
45
  * Retrieves the root configuration including theme, disposition, and details.
46
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
41
47
  * @returns RootConfigResponse Returns the root site configuration.
42
48
  * @throws ApiError
43
49
  */
44
- static getRoot() {
50
+ static getRoot(context) {
45
51
  return __request(OpenAPI, {
46
52
  method: 'GET',
47
53
  url: '/root',
54
+ headers: resolveShopperHeaders(context),
48
55
  errors: {
49
56
  400: `Bad Request error with error details.`,
50
57
  404: `Not found error with error details.`,
@@ -55,13 +62,15 @@ export class AccountService {
55
62
  /**
56
63
  * Get the landing page configuration
57
64
  * Retrieves the landing page configuration including theme, disposition, and album details.
65
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
58
66
  * @returns LandingPageResponse Returns the landing page configuration.
59
67
  * @throws ApiError
60
68
  */
61
- static getLandingPage() {
69
+ static getLandingPage(context) {
62
70
  return __request(OpenAPI, {
63
71
  method: 'GET',
64
72
  url: '/landing',
73
+ headers: resolveShopperHeaders(context),
65
74
  errors: {
66
75
  400: `Bad Request error with error details.`,
67
76
  404: `Not found error with error details.`,
@@ -1,5 +1,9 @@
1
+ import type { CartAmounts } from '../models/CartAmounts';
2
+ import type { CartClearResult } from '../models/CartClearResult';
3
+ import type { CartCountsLite } from '../models/CartCountsLite';
1
4
  import type { CartHashResponse } from '../models/CartHashResponse';
2
5
  import type { CartSummary } from '../models/CartSummary';
6
+ import type { CartTotals } from '../models/CartTotals';
3
7
  import type { CartWithTime } from '../models/CartWithTime';
4
8
  import type { CashPaymentDetail } from '../models/CashPaymentDetail';
5
9
  import type { CancelablePromise } from '../core/CancelablePromise';
@@ -7,36 +11,101 @@ export declare class CartService {
7
11
  /**
8
12
  * Get Cart
9
13
  * Retrieves the cart along with its associated time.
14
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
10
15
  * @returns CartWithTime Cart retrieved successfully with time.
11
16
  * @throws ApiError
12
17
  */
13
- static getCart(): CancelablePromise<CartWithTime>;
18
+ static getCart(context?: {
19
+ shopperGuid?: string;
20
+ accountId?: string;
21
+ }): CancelablePromise<CartWithTime>;
14
22
  /**
15
23
  * Delete Cart
16
- * Deletes the cart for the specified shopper and account.
17
- * @returns any Cart deleted successfully.
24
+ * 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.
25
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
26
+ * @returns CartClearResult Cart clear result.
18
27
  * @throws ApiError
19
28
  */
20
- static deleteCart(): CancelablePromise<any>;
29
+ static deleteCart(context?: {
30
+ shopperGuid?: string;
31
+ accountId?: string;
32
+ }): CancelablePromise<CartClearResult>;
21
33
  /**
22
34
  * Get Cart Summary
23
35
  * 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.
36
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
24
37
  * @returns CartSummary Cart summary retrieved successfully.
25
38
  * @throws ApiError
26
39
  */
27
- static getCartSummary(): CancelablePromise<CartSummary>;
40
+ static getCartSummary(context?: {
41
+ shopperGuid?: string;
42
+ accountId?: string;
43
+ }): CancelablePromise<CartSummary>;
28
44
  /**
29
45
  * Get Cart Hash
30
46
  * Returns the computed cart hash for the current shopper session.
47
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
31
48
  * @returns CartHashResponse Cart hash retrieved successfully.
32
49
  * @throws ApiError
33
50
  */
34
- static getCartHash(): CancelablePromise<CartHashResponse>;
51
+ static getCartHash(context?: {
52
+ shopperGuid?: string;
53
+ accountId?: string;
54
+ }): CancelablePromise<CartHashResponse>;
35
55
  /**
36
56
  * Get Cash Payment Detail
37
57
  * Returns cash payment details for the current shopper session, including order total, payments total, and house card credentials.
58
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
38
59
  * @returns CashPaymentDetail Cash payment detail retrieved successfully.
39
60
  * @throws ApiError
40
61
  */
41
- static getCashPaymentDetail(): CancelablePromise<CashPaymentDetail>;
62
+ static getCashPaymentDetail(context?: {
63
+ shopperGuid?: string;
64
+ accountId?: string;
65
+ }): CancelablePromise<CashPaymentDetail>;
66
+ /**
67
+ * Get lightweight cart counts
68
+ * Returns a cheap cart summary for header/badge polling: seat count, product count, and seconds remaining on the cart timer.
69
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
70
+ * @returns CartCountsLite Cart counts retrieved successfully.
71
+ * @throws ApiError
72
+ */
73
+ static getCartCounts(context?: {
74
+ shopperGuid?: string;
75
+ accountId?: string;
76
+ }): CancelablePromise<CartCountsLite>;
77
+ /**
78
+ * Get cart totals
79
+ * Recomputes the cart (custom logic, coupon, sales tax) and returns the current totals ledger. Call after any cart mutation.
80
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
81
+ * @returns CartTotals Cart totals retrieved successfully.
82
+ * @throws ApiError
83
+ */
84
+ static getCartTotals(context?: {
85
+ shopperGuid?: string;
86
+ accountId?: string;
87
+ }): CancelablePromise<CartTotals>;
88
+ /**
89
+ * Get cart amounts ledger
90
+ * Returns the full amounts ledger (item/product/donation/order/tax totals, coupon, discount, payments, and gift cards + adjustments).
91
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
92
+ * @returns CartAmounts Cart amounts retrieved successfully.
93
+ * @throws ApiError
94
+ */
95
+ static getCartAmounts(context?: {
96
+ shopperGuid?: string;
97
+ accountId?: string;
98
+ }): CancelablePromise<CartAmounts>;
99
+ /**
100
+ * Clear a single show from the cart
101
+ * 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.
102
+ * @param showId
103
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
104
+ * @returns CartClearResult Show clear result.
105
+ * @throws ApiError
106
+ */
107
+ static clearCartShow(showId: number, context?: {
108
+ shopperGuid?: string;
109
+ accountId?: string;
110
+ }): CancelablePromise<CartClearResult>;
42
111
  }
@@ -1,16 +1,19 @@
1
1
  import { OpenAPI } from '../core/OpenAPI.js';
2
2
  import { request as __request } from '../core/request.js';
3
+ import { resolveShopperHeaders } from '../../../functions/sdkConfig.js';
3
4
  export class CartService {
4
5
  /**
5
6
  * Get Cart
6
7
  * Retrieves the cart along with its associated time.
8
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
7
9
  * @returns CartWithTime Cart retrieved successfully with time.
8
10
  * @throws ApiError
9
11
  */
10
- static getCart() {
12
+ static getCart(context) {
11
13
  return __request(OpenAPI, {
12
14
  method: 'GET',
13
15
  url: '/cart',
16
+ headers: resolveShopperHeaders(context),
14
17
  errors: {
15
18
  400: `Bad Request error with error details.`,
16
19
  404: `Not found error with error details.`,
@@ -20,14 +23,16 @@ export class CartService {
20
23
  }
21
24
  /**
22
25
  * Delete Cart
23
- * Deletes the cart for the specified shopper and account.
24
- * @returns any Cart deleted successfully.
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.
27
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
28
+ * @returns CartClearResult Cart clear result.
25
29
  * @throws ApiError
26
30
  */
27
- static deleteCart() {
31
+ static deleteCart(context) {
28
32
  return __request(OpenAPI, {
29
33
  method: 'DELETE',
30
34
  url: '/cart',
35
+ headers: resolveShopperHeaders(context),
31
36
  errors: {
32
37
  400: `Bad Request error with error details.`,
33
38
  404: `Not found error with error details.`,
@@ -38,13 +43,15 @@ export class CartService {
38
43
  /**
39
44
  * Get Cart Summary
40
45
  * 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.
46
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
41
47
  * @returns CartSummary Cart summary retrieved successfully.
42
48
  * @throws ApiError
43
49
  */
44
- static getCartSummary() {
50
+ static getCartSummary(context) {
45
51
  return __request(OpenAPI, {
46
52
  method: 'GET',
47
53
  url: '/cart/summary',
54
+ headers: resolveShopperHeaders(context),
48
55
  errors: {
49
56
  400: `Bad Request error with error details.`,
50
57
  404: `Not found error with error details.`,
@@ -55,13 +62,15 @@ export class CartService {
55
62
  /**
56
63
  * Get Cart Hash
57
64
  * Returns the computed cart hash for the current shopper session.
65
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
58
66
  * @returns CartHashResponse Cart hash retrieved successfully.
59
67
  * @throws ApiError
60
68
  */
61
- static getCartHash() {
69
+ static getCartHash(context) {
62
70
  return __request(OpenAPI, {
63
71
  method: 'GET',
64
72
  url: '/cart/hash',
73
+ headers: resolveShopperHeaders(context),
65
74
  errors: {
66
75
  400: `Bad Request error with error details.`,
67
76
  404: `Not found error with error details.`,
@@ -72,13 +81,95 @@ export class CartService {
72
81
  /**
73
82
  * Get Cash Payment Detail
74
83
  * Returns cash payment details for the current shopper session, including order total, payments total, and house card credentials.
84
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
75
85
  * @returns CashPaymentDetail Cash payment detail retrieved successfully.
76
86
  * @throws ApiError
77
87
  */
78
- static getCashPaymentDetail() {
88
+ static getCashPaymentDetail(context) {
79
89
  return __request(OpenAPI, {
80
90
  method: 'GET',
81
91
  url: '/cart/cash-payment-detail',
92
+ headers: resolveShopperHeaders(context),
93
+ errors: {
94
+ 400: `Bad Request error with error details.`,
95
+ 404: `Not found error with error details.`,
96
+ 500: `Internal Server Error, please contact developers.`,
97
+ },
98
+ });
99
+ }
100
+ /**
101
+ * Get lightweight cart counts
102
+ * Returns a cheap cart summary for header/badge polling: seat count, product count, and seconds remaining on the cart timer.
103
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
104
+ * @returns CartCountsLite Cart counts retrieved successfully.
105
+ * @throws ApiError
106
+ */
107
+ static getCartCounts(context) {
108
+ return __request(OpenAPI, {
109
+ method: 'GET',
110
+ url: '/cart/counts',
111
+ headers: resolveShopperHeaders(context),
112
+ errors: {
113
+ 400: `Bad Request error with error details.`,
114
+ 404: `Not found error with error details.`,
115
+ 500: `Internal Server Error, please contact developers.`,
116
+ },
117
+ });
118
+ }
119
+ /**
120
+ * Get cart totals
121
+ * Recomputes the cart (custom logic, coupon, sales tax) and returns the current totals ledger. Call after any cart mutation.
122
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
123
+ * @returns CartTotals Cart totals retrieved successfully.
124
+ * @throws ApiError
125
+ */
126
+ static getCartTotals(context) {
127
+ return __request(OpenAPI, {
128
+ method: 'GET',
129
+ url: '/cart/totals',
130
+ headers: resolveShopperHeaders(context),
131
+ errors: {
132
+ 400: `Bad Request error with error details.`,
133
+ 404: `Not found error with error details.`,
134
+ 500: `Internal Server Error, please contact developers.`,
135
+ },
136
+ });
137
+ }
138
+ /**
139
+ * Get cart amounts ledger
140
+ * Returns the full amounts ledger (item/product/donation/order/tax totals, coupon, discount, payments, and gift cards + adjustments).
141
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
142
+ * @returns CartAmounts Cart amounts retrieved successfully.
143
+ * @throws ApiError
144
+ */
145
+ static getCartAmounts(context) {
146
+ return __request(OpenAPI, {
147
+ method: 'GET',
148
+ url: '/cart/amounts',
149
+ headers: resolveShopperHeaders(context),
150
+ errors: {
151
+ 400: `Bad Request error with error details.`,
152
+ 404: `Not found error with error details.`,
153
+ 500: `Internal Server Error, please contact developers.`,
154
+ },
155
+ });
156
+ }
157
+ /**
158
+ * Clear a single show from the cart
159
+ * 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.
160
+ * @param showId
161
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
162
+ * @returns CartClearResult Show clear result.
163
+ * @throws ApiError
164
+ */
165
+ static clearCartShow(showId, context) {
166
+ return __request(OpenAPI, {
167
+ method: 'DELETE',
168
+ url: '/cart/show/{showId}',
169
+ path: {
170
+ 'showId': showId,
171
+ },
172
+ headers: resolveShopperHeaders(context),
82
173
  errors: {
83
174
  400: `Bad Request error with error details.`,
84
175
  404: `Not found error with error details.`,
@@ -1,46 +1,79 @@
1
1
  import type { CheckoutPageData } from '../models/CheckoutPageData';
2
+ import type { CheckoutStepsResponse } from '../models/CheckoutStepsResponse';
2
3
  import type { CheckoutSubmitBody } from '../models/CheckoutSubmitBody';
3
4
  import type { CheckoutSuccessResponse } from '../models/CheckoutSuccessResponse';
5
+ import type { NextStepResponse } from '../models/NextStepResponse';
6
+ import type { PosDefaultInfoResponse } from '../models/PosDefaultInfoResponse';
4
7
  import type { SaveDetailsBody } from '../models/SaveDetailsBody';
5
- import type { SaveNonceBody } from '../models/SaveNonceBody';
6
8
  import type { CancelablePromise } from '../core/CancelablePromise';
7
9
  export declare class CheckoutService {
8
10
  /**
9
11
  * Get checkout page data
10
12
  * Returns all data needed to render the checkout page including session, studio settings, questions, products, donations, gift cards, and shipping info.
13
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
11
14
  * @returns CheckoutPageData Returns checkout page data.
12
15
  * @throws ApiError
13
16
  */
14
- static getCheckout(): CancelablePromise<CheckoutPageData>;
17
+ static getCheckout(context?: {
18
+ shopperGuid?: string;
19
+ accountId?: string;
20
+ }): CancelablePromise<CheckoutPageData>;
15
21
  /**
16
22
  * Submit checkout
17
- * Validates and saves checkout form data. Supports both token (Authorize.net/Moneris) and Stripe payment flows.
23
+ * Validates and saves checkout form data, enforcing studio custom validation and priority-code minimum-seats before payment. Stripe-only payment flow.
24
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
18
25
  * @param requestBody Checkout form data.
19
26
  * @returns CheckoutSuccessResponse Returns success response.
20
27
  * @throws ApiError
21
28
  */
22
- static submitCheckout(requestBody: CheckoutSubmitBody): CancelablePromise<CheckoutSuccessResponse>;
29
+ static submitCheckout(requestBody: CheckoutSubmitBody, context?: {
30
+ shopperGuid?: string;
31
+ accountId?: string;
32
+ }): CancelablePromise<CheckoutSuccessResponse>;
23
33
  /**
24
- * Save payment nonce
25
- * Saves a payment nonce (token) from Authorize.net or Moneris to the session.
26
- * @param requestBody Nonce data to save.
27
- * @returns CheckoutSuccessResponse Returns success response.
34
+ * Get the next checkout step
35
+ * Server-side checkout wizard driver. Given the current step, returns the next applicable one (expiry ADA tiers merchandise → donations → checkout → confirm → receipt). JSON only.
36
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
37
+ * @param curr The current step. Defaults to 'seats'.
38
+ * @returns NextStepResponse Returns the next step.
28
39
  * @throws ApiError
29
40
  */
30
- static saveNonce(requestBody: SaveNonceBody): CancelablePromise<CheckoutSuccessResponse>;
41
+ static getNextStep(context?: {
42
+ shopperGuid?: string;
43
+ accountId?: string;
44
+ }, curr?: string): CancelablePromise<NextStepResponse>;
31
45
  /**
32
- * Clear payment nonce
33
- * Clears the payment nonce and related CC fields from the session.
34
- * @returns CheckoutSuccessResponse Returns success response.
46
+ * Get applicable checkout steps
47
+ * 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).
48
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
49
+ * @returns CheckoutStepsResponse Returns the applicable steps.
35
50
  * @throws ApiError
36
51
  */
37
- static clearNonce(): CancelablePromise<CheckoutSuccessResponse>;
52
+ static getSteps(context?: {
53
+ shopperGuid?: string;
54
+ accountId?: string;
55
+ }): CancelablePromise<CheckoutStepsResponse>;
38
56
  /**
39
57
  * Auto-save checkout details
40
58
  * Auto-saves checkout form fields without full validation. Used for partial saves as the user fills out the form.
59
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
41
60
  * @param requestBody Partial checkout data to auto-save.
42
61
  * @returns CheckoutSuccessResponse Returns success response.
43
62
  * @throws ApiError
44
63
  */
45
- static saveDetails(requestBody: SaveDetailsBody): CancelablePromise<CheckoutSuccessResponse>;
64
+ static saveDetails(requestBody: SaveDetailsBody, context?: {
65
+ shopperGuid?: string;
66
+ accountId?: string;
67
+ }): CancelablePromise<CheckoutSuccessResponse>;
68
+ /**
69
+ * Fill contact fields from POS defaults
70
+ * 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).
71
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
72
+ * @returns PosDefaultInfoResponse Returns the filled-in contact info.
73
+ * @throws ApiError
74
+ */
75
+ static fillDefaultInfo(context?: {
76
+ shopperGuid?: string;
77
+ accountId?: string;
78
+ }): CancelablePromise<PosDefaultInfoResponse>;
46
79
  }