@drttix/drt-sdk 2.0.0 → 2.0.1

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 (254) hide show
  1. package/dist/cjs/index.d.ts +1 -0
  2. package/dist/cjs/src/definitions/shopper.d.ts +2 -0
  3. package/dist/cjs/src/definitions/shopper.js +6 -4
  4. package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
  5. package/dist/cjs/src/generated/portal/models/CreateShowRequestDto.d.ts +1 -1
  6. package/dist/cjs/src/generated/portal/models/CreateUpdateProductRequestDto.d.ts +4 -4
  7. package/dist/cjs/src/generated/portal/models/ProductDetailResponseDto.d.ts +2 -2
  8. package/dist/cjs/src/generated/portal/models/SeatResponseDto.d.ts +1 -0
  9. package/dist/cjs/src/generated/portal/models/ShowsList.d.ts +12 -0
  10. package/dist/cjs/src/generated/shopper/core/OpenAPI.js +1 -1
  11. package/dist/cjs/src/generated/shopper/index.d.ts +23 -1
  12. package/dist/cjs/src/generated/shopper/index.js +5 -1
  13. package/dist/cjs/src/generated/shopper/models/Account.d.ts +4 -0
  14. package/dist/cjs/src/generated/shopper/models/AssetDownloadRequest.d.ts +4 -0
  15. package/dist/cjs/src/generated/shopper/models/AssetDownloadRequest.js +2 -0
  16. package/dist/cjs/src/generated/shopper/models/AssetDownloadResponse.d.ts +7 -0
  17. package/dist/cjs/src/generated/shopper/models/AssetDownloadResponse.js +2 -0
  18. package/dist/cjs/src/generated/shopper/models/CapabilityManifestDto.d.ts +5 -1
  19. package/dist/cjs/src/generated/shopper/models/ClientRequestErrorResponse.d.ts +6 -0
  20. package/dist/cjs/src/generated/shopper/models/ClientRequestErrorResponse.js +2 -0
  21. package/dist/cjs/src/generated/shopper/models/CreatePaymentLinkBody.d.ts +18 -0
  22. package/dist/cjs/src/generated/shopper/models/CreatePaymentLinkBody.js +2 -0
  23. package/dist/cjs/src/generated/shopper/models/CreatePaymentLinkResponse.d.ts +40 -0
  24. package/dist/cjs/src/generated/shopper/models/CreatePaymentLinkResponse.js +2 -0
  25. package/dist/cjs/src/generated/shopper/models/EventDetails.d.ts +4 -0
  26. package/dist/cjs/src/generated/shopper/models/EventFormat.d.ts +12 -0
  27. package/dist/cjs/src/generated/shopper/models/EventListItem.d.ts +4 -0
  28. package/dist/cjs/src/generated/shopper/models/ExchangeValidateResponse.d.ts +4 -0
  29. package/dist/cjs/src/generated/shopper/models/FullEventDetails.d.ts +4 -0
  30. package/dist/cjs/src/generated/shopper/models/ManifestSeat.d.ts +14 -0
  31. package/dist/cjs/src/generated/shopper/models/ManifestSeat.js +12 -0
  32. package/dist/cjs/src/generated/shopper/models/OrderLookupBody.d.ts +14 -0
  33. package/dist/cjs/src/generated/shopper/models/OrderLookupBody.js +2 -0
  34. package/dist/cjs/src/generated/shopper/models/OrderLookupResult.d.ts +14 -0
  35. package/dist/cjs/src/generated/shopper/models/OrderLookupResult.js +2 -0
  36. package/dist/cjs/src/generated/shopper/models/OrderRefundDetails.d.ts +1 -0
  37. package/dist/cjs/src/generated/shopper/models/PaymentLinkSession.d.ts +18 -0
  38. package/dist/cjs/src/generated/shopper/models/PaymentLinkSession.js +2 -0
  39. package/dist/cjs/src/generated/shopper/models/PaymentLinkStatus.d.ts +32 -0
  40. package/dist/cjs/src/generated/shopper/models/PaymentLinkStatus.js +2 -0
  41. package/dist/cjs/src/generated/shopper/models/Receipt.d.ts +2 -0
  42. package/dist/cjs/src/generated/shopper/models/RefundExchangeOffer.d.ts +38 -0
  43. package/dist/cjs/src/generated/shopper/models/RefundExchangeOffer.js +2 -0
  44. package/dist/cjs/src/generated/shopper/models/RefundReason.d.ts +1 -0
  45. package/dist/cjs/src/generated/shopper/models/RefundRequestInfo.d.ts +2 -0
  46. package/dist/cjs/src/generated/shopper/models/RegisterStreamResponse.d.ts +4 -0
  47. package/dist/cjs/src/generated/shopper/models/ResetStreamInviteRequest.d.ts +8 -0
  48. package/dist/cjs/src/generated/shopper/models/ResetStreamInviteRequest.js +2 -0
  49. package/dist/cjs/src/generated/shopper/models/SaveStreamInvitesRequest.d.ts +10 -0
  50. package/dist/cjs/src/generated/shopper/models/SaveStreamInvitesRequest.js +2 -0
  51. package/dist/cjs/src/generated/shopper/models/SaveStreamInvitesResponse.d.ts +7 -0
  52. package/dist/cjs/src/generated/shopper/models/SaveStreamInvitesResponse.js +2 -0
  53. package/dist/cjs/src/generated/shopper/models/SeatManifest.d.ts +20 -0
  54. package/dist/cjs/src/generated/shopper/models/SeatManifest.js +2 -0
  55. package/dist/cjs/src/generated/shopper/models/SharedStream.d.ts +37 -0
  56. package/dist/cjs/src/generated/shopper/models/SharedStream.js +2 -0
  57. package/dist/cjs/src/generated/shopper/models/ShowExtras.d.ts +4 -0
  58. package/dist/cjs/src/generated/shopper/models/StartSupportSessionDto.d.ts +10 -0
  59. package/dist/cjs/src/generated/shopper/models/StartSupportSessionDto.js +2 -0
  60. package/dist/cjs/src/generated/shopper/models/StreamAuthorization.d.ts +14 -0
  61. package/dist/cjs/src/generated/shopper/models/StreamAuthorization.js +2 -0
  62. package/dist/cjs/src/generated/shopper/models/StreamInvite.d.ts +19 -0
  63. package/dist/cjs/src/generated/shopper/models/StreamInvite.js +2 -0
  64. package/dist/cjs/src/generated/shopper/models/StreamInviteInput.d.ts +7 -0
  65. package/dist/cjs/src/generated/shopper/models/StreamInviteInput.js +2 -0
  66. package/dist/cjs/src/generated/shopper/models/StreamInvitesResponse.d.ts +8 -0
  67. package/dist/cjs/src/generated/shopper/models/StreamInvitesResponse.js +2 -0
  68. package/dist/cjs/src/generated/shopper/models/SupportSessionStateDto.d.ts +14 -0
  69. package/dist/cjs/src/generated/shopper/models/SupportSessionStateDto.js +2 -0
  70. package/dist/cjs/src/generated/shopper/services/AccountService.d.ts +8 -4
  71. package/dist/cjs/src/generated/shopper/services/AccountService.js +20 -9
  72. package/dist/cjs/src/generated/shopper/services/CartService.d.ts +20 -10
  73. package/dist/cjs/src/generated/shopper/services/CartService.js +50 -21
  74. package/dist/cjs/src/generated/shopper/services/CheckoutService.d.ts +16 -8
  75. package/dist/cjs/src/generated/shopper/services/CheckoutService.js +40 -17
  76. package/dist/cjs/src/generated/shopper/services/CodeService.d.ts +26 -6
  77. package/dist/cjs/src/generated/shopper/services/CodeService.js +55 -13
  78. package/dist/cjs/src/generated/shopper/services/DonationService.d.ts +6 -3
  79. package/dist/cjs/src/generated/shopper/services/DonationService.js +13 -6
  80. package/dist/cjs/src/generated/shopper/services/EventService.d.ts +12 -6
  81. package/dist/cjs/src/generated/shopper/services/EventService.js +30 -13
  82. package/dist/cjs/src/generated/shopper/services/GiftCardService.d.ts +10 -5
  83. package/dist/cjs/src/generated/shopper/services/GiftCardService.js +25 -11
  84. package/dist/cjs/src/generated/shopper/services/OrderService.d.ts +179 -30
  85. package/dist/cjs/src/generated/shopper/services/OrderService.js +364 -61
  86. package/dist/cjs/src/generated/shopper/services/PaymentLinkService.d.ts +40 -0
  87. package/dist/cjs/src/generated/shopper/services/PaymentLinkService.js +78 -0
  88. package/dist/cjs/src/generated/shopper/services/PaymentService.d.ts +6 -3
  89. package/dist/cjs/src/generated/shopper/services/PaymentService.js +16 -8
  90. package/dist/cjs/src/generated/shopper/services/ProductService.d.ts +6 -3
  91. package/dist/cjs/src/generated/shopper/services/ProductService.js +15 -7
  92. package/dist/cjs/src/generated/shopper/services/SeatService.d.ts +30 -8
  93. package/dist/cjs/src/generated/shopper/services/SeatService.js +66 -17
  94. package/dist/cjs/src/generated/shopper/services/SessionService.d.ts +39 -6
  95. package/dist/cjs/src/generated/shopper/services/SessionService.js +77 -13
  96. package/dist/cjs/src/generated/shopper/types.d.ts +21 -1
  97. package/dist/cjs/src/staging/index.d.ts +1 -0
  98. package/dist/esm/index.d.ts +1 -0
  99. package/dist/esm/src/definitions/shopper.d.ts +2 -0
  100. package/dist/esm/src/definitions/shopper.js +2 -0
  101. package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
  102. package/dist/esm/src/generated/portal/models/CreateShowRequestDto.d.ts +1 -1
  103. package/dist/esm/src/generated/portal/models/CreateUpdateProductRequestDto.d.ts +4 -4
  104. package/dist/esm/src/generated/portal/models/ProductDetailResponseDto.d.ts +2 -2
  105. package/dist/esm/src/generated/portal/models/SeatResponseDto.d.ts +1 -0
  106. package/dist/esm/src/generated/portal/models/ShowsList.d.ts +12 -0
  107. package/dist/esm/src/generated/shopper/core/OpenAPI.js +1 -1
  108. package/dist/esm/src/generated/shopper/index.d.ts +23 -1
  109. package/dist/esm/src/generated/shopper/index.js +2 -0
  110. package/dist/esm/src/generated/shopper/models/Account.d.ts +4 -0
  111. package/dist/esm/src/generated/shopper/models/AssetDownloadRequest.d.ts +4 -0
  112. package/dist/esm/src/generated/shopper/models/AssetDownloadRequest.js +1 -0
  113. package/dist/esm/src/generated/shopper/models/AssetDownloadResponse.d.ts +7 -0
  114. package/dist/esm/src/generated/shopper/models/AssetDownloadResponse.js +1 -0
  115. package/dist/esm/src/generated/shopper/models/CapabilityManifestDto.d.ts +5 -1
  116. package/dist/esm/src/generated/shopper/models/ClientRequestErrorResponse.d.ts +6 -0
  117. package/dist/esm/src/generated/shopper/models/ClientRequestErrorResponse.js +1 -0
  118. package/dist/esm/src/generated/shopper/models/CreatePaymentLinkBody.d.ts +18 -0
  119. package/dist/esm/src/generated/shopper/models/CreatePaymentLinkBody.js +1 -0
  120. package/dist/esm/src/generated/shopper/models/CreatePaymentLinkResponse.d.ts +40 -0
  121. package/dist/esm/src/generated/shopper/models/CreatePaymentLinkResponse.js +1 -0
  122. package/dist/esm/src/generated/shopper/models/EventDetails.d.ts +4 -0
  123. package/dist/esm/src/generated/shopper/models/EventFormat.d.ts +12 -0
  124. package/dist/esm/src/generated/shopper/models/EventListItem.d.ts +4 -0
  125. package/dist/esm/src/generated/shopper/models/ExchangeValidateResponse.d.ts +4 -0
  126. package/dist/esm/src/generated/shopper/models/FullEventDetails.d.ts +4 -0
  127. package/dist/esm/src/generated/shopper/models/ManifestSeat.d.ts +14 -0
  128. package/dist/esm/src/generated/shopper/models/ManifestSeat.js +9 -0
  129. package/dist/esm/src/generated/shopper/models/OrderLookupBody.d.ts +14 -0
  130. package/dist/esm/src/generated/shopper/models/OrderLookupBody.js +1 -0
  131. package/dist/esm/src/generated/shopper/models/OrderLookupResult.d.ts +14 -0
  132. package/dist/esm/src/generated/shopper/models/OrderLookupResult.js +1 -0
  133. package/dist/esm/src/generated/shopper/models/OrderRefundDetails.d.ts +1 -0
  134. package/dist/esm/src/generated/shopper/models/PaymentLinkSession.d.ts +18 -0
  135. package/dist/esm/src/generated/shopper/models/PaymentLinkSession.js +1 -0
  136. package/dist/esm/src/generated/shopper/models/PaymentLinkStatus.d.ts +32 -0
  137. package/dist/esm/src/generated/shopper/models/PaymentLinkStatus.js +1 -0
  138. package/dist/esm/src/generated/shopper/models/Receipt.d.ts +2 -0
  139. package/dist/esm/src/generated/shopper/models/RefundExchangeOffer.d.ts +38 -0
  140. package/dist/esm/src/generated/shopper/models/RefundExchangeOffer.js +1 -0
  141. package/dist/esm/src/generated/shopper/models/RefundReason.d.ts +1 -0
  142. package/dist/esm/src/generated/shopper/models/RefundRequestInfo.d.ts +2 -0
  143. package/dist/esm/src/generated/shopper/models/RegisterStreamResponse.d.ts +4 -0
  144. package/dist/esm/src/generated/shopper/models/ResetStreamInviteRequest.d.ts +8 -0
  145. package/dist/esm/src/generated/shopper/models/ResetStreamInviteRequest.js +1 -0
  146. package/dist/esm/src/generated/shopper/models/SaveStreamInvitesRequest.d.ts +10 -0
  147. package/dist/esm/src/generated/shopper/models/SaveStreamInvitesRequest.js +1 -0
  148. package/dist/esm/src/generated/shopper/models/SaveStreamInvitesResponse.d.ts +7 -0
  149. package/dist/esm/src/generated/shopper/models/SaveStreamInvitesResponse.js +1 -0
  150. package/dist/esm/src/generated/shopper/models/SeatManifest.d.ts +20 -0
  151. package/dist/esm/src/generated/shopper/models/SeatManifest.js +1 -0
  152. package/dist/esm/src/generated/shopper/models/SharedStream.d.ts +37 -0
  153. package/dist/esm/src/generated/shopper/models/SharedStream.js +1 -0
  154. package/dist/esm/src/generated/shopper/models/ShowExtras.d.ts +4 -0
  155. package/dist/esm/src/generated/shopper/models/StartSupportSessionDto.d.ts +10 -0
  156. package/dist/esm/src/generated/shopper/models/StartSupportSessionDto.js +1 -0
  157. package/dist/esm/src/generated/shopper/models/StreamAuthorization.d.ts +14 -0
  158. package/dist/esm/src/generated/shopper/models/StreamAuthorization.js +1 -0
  159. package/dist/esm/src/generated/shopper/models/StreamInvite.d.ts +19 -0
  160. package/dist/esm/src/generated/shopper/models/StreamInvite.js +1 -0
  161. package/dist/esm/src/generated/shopper/models/StreamInviteInput.d.ts +7 -0
  162. package/dist/esm/src/generated/shopper/models/StreamInviteInput.js +1 -0
  163. package/dist/esm/src/generated/shopper/models/StreamInvitesResponse.d.ts +8 -0
  164. package/dist/esm/src/generated/shopper/models/StreamInvitesResponse.js +1 -0
  165. package/dist/esm/src/generated/shopper/models/SupportSessionStateDto.d.ts +14 -0
  166. package/dist/esm/src/generated/shopper/models/SupportSessionStateDto.js +1 -0
  167. package/dist/esm/src/generated/shopper/services/AccountService.d.ts +8 -4
  168. package/dist/esm/src/generated/shopper/services/AccountService.js +20 -9
  169. package/dist/esm/src/generated/shopper/services/CartService.d.ts +20 -10
  170. package/dist/esm/src/generated/shopper/services/CartService.js +50 -21
  171. package/dist/esm/src/generated/shopper/services/CheckoutService.d.ts +16 -8
  172. package/dist/esm/src/generated/shopper/services/CheckoutService.js +40 -17
  173. package/dist/esm/src/generated/shopper/services/CodeService.d.ts +26 -6
  174. package/dist/esm/src/generated/shopper/services/CodeService.js +55 -13
  175. package/dist/esm/src/generated/shopper/services/DonationService.d.ts +6 -3
  176. package/dist/esm/src/generated/shopper/services/DonationService.js +13 -6
  177. package/dist/esm/src/generated/shopper/services/EventService.d.ts +12 -6
  178. package/dist/esm/src/generated/shopper/services/EventService.js +30 -13
  179. package/dist/esm/src/generated/shopper/services/GiftCardService.d.ts +10 -5
  180. package/dist/esm/src/generated/shopper/services/GiftCardService.js +25 -11
  181. package/dist/esm/src/generated/shopper/services/OrderService.d.ts +179 -30
  182. package/dist/esm/src/generated/shopper/services/OrderService.js +364 -61
  183. package/dist/esm/src/generated/shopper/services/PaymentLinkService.d.ts +40 -0
  184. package/dist/esm/src/generated/shopper/services/PaymentLinkService.js +74 -0
  185. package/dist/esm/src/generated/shopper/services/PaymentService.d.ts +6 -3
  186. package/dist/esm/src/generated/shopper/services/PaymentService.js +16 -8
  187. package/dist/esm/src/generated/shopper/services/ProductService.d.ts +6 -3
  188. package/dist/esm/src/generated/shopper/services/ProductService.js +15 -7
  189. package/dist/esm/src/generated/shopper/services/SeatService.d.ts +30 -8
  190. package/dist/esm/src/generated/shopper/services/SeatService.js +66 -17
  191. package/dist/esm/src/generated/shopper/services/SessionService.d.ts +39 -6
  192. package/dist/esm/src/generated/shopper/services/SessionService.js +77 -13
  193. package/dist/esm/src/generated/shopper/types.d.ts +21 -1
  194. package/dist/esm/src/staging/index.d.ts +1 -0
  195. package/package.json +1 -1
  196. package/src/definitions/shopper.ts +2 -0
  197. package/src/generated/portal/core/OpenAPI.ts +1 -1
  198. package/src/generated/portal/models/CreateShowRequestDto.ts +1 -1
  199. package/src/generated/portal/models/CreateUpdateProductRequestDto.ts +4 -4
  200. package/src/generated/portal/models/ProductDetailResponseDto.ts +2 -2
  201. package/src/generated/portal/models/SeatResponseDto.ts +1 -0
  202. package/src/generated/portal/models/ShowsList.ts +12 -0
  203. package/src/generated/shopper/core/OpenAPI.ts +1 -1
  204. package/src/generated/shopper/index.ts +23 -1
  205. package/src/generated/shopper/models/Account.ts +4 -0
  206. package/src/generated/shopper/models/AssetDownloadRequest.ts +9 -0
  207. package/src/generated/shopper/models/AssetDownloadResponse.ts +12 -0
  208. package/src/generated/shopper/models/CapabilityManifestDto.ts +5 -1
  209. package/src/generated/shopper/models/ClientRequestErrorResponse.ts +11 -0
  210. package/src/generated/shopper/models/CreatePaymentLinkBody.ts +23 -0
  211. package/src/generated/shopper/models/CreatePaymentLinkResponse.ts +45 -0
  212. package/src/generated/shopper/models/EventDetails.ts +4 -0
  213. package/src/generated/shopper/models/EventFormat.ts +12 -0
  214. package/src/generated/shopper/models/EventListItem.ts +4 -0
  215. package/src/generated/shopper/models/ExchangeValidateResponse.ts +4 -0
  216. package/src/generated/shopper/models/FullEventDetails.ts +4 -0
  217. package/src/generated/shopper/models/ManifestSeat.ts +19 -0
  218. package/src/generated/shopper/models/OrderLookupBody.ts +19 -0
  219. package/src/generated/shopper/models/OrderLookupResult.ts +19 -0
  220. package/src/generated/shopper/models/OrderRefundDetails.ts +1 -0
  221. package/src/generated/shopper/models/PaymentLinkSession.ts +23 -0
  222. package/src/generated/shopper/models/PaymentLinkStatus.ts +37 -0
  223. package/src/generated/shopper/models/Receipt.ts +2 -0
  224. package/src/generated/shopper/models/RefundExchangeOffer.ts +43 -0
  225. package/src/generated/shopper/models/RefundReason.ts +1 -0
  226. package/src/generated/shopper/models/RefundRequestInfo.ts +2 -0
  227. package/src/generated/shopper/models/RegisterStreamResponse.ts +4 -0
  228. package/src/generated/shopper/models/ResetStreamInviteRequest.ts +13 -0
  229. package/src/generated/shopper/models/SaveStreamInvitesRequest.ts +15 -0
  230. package/src/generated/shopper/models/SaveStreamInvitesResponse.ts +12 -0
  231. package/src/generated/shopper/models/SeatManifest.ts +25 -0
  232. package/src/generated/shopper/models/SharedStream.ts +42 -0
  233. package/src/generated/shopper/models/ShowExtras.ts +4 -0
  234. package/src/generated/shopper/models/StartSupportSessionDto.ts +15 -0
  235. package/src/generated/shopper/models/StreamAuthorization.ts +19 -0
  236. package/src/generated/shopper/models/StreamInvite.ts +24 -0
  237. package/src/generated/shopper/models/StreamInviteInput.ts +12 -0
  238. package/src/generated/shopper/models/StreamInvitesResponse.ts +13 -0
  239. package/src/generated/shopper/models/SupportSessionStateDto.ts +19 -0
  240. package/src/generated/shopper/services/AccountService.ts +20 -4
  241. package/src/generated/shopper/services/CartService.ts +50 -10
  242. package/src/generated/shopper/services/CheckoutService.ts +40 -8
  243. package/src/generated/shopper/services/CodeService.ts +60 -6
  244. package/src/generated/shopper/services/DonationService.ts +13 -2
  245. package/src/generated/shopper/services/EventService.ts +30 -6
  246. package/src/generated/shopper/services/GiftCardService.ts +25 -5
  247. package/src/generated/shopper/services/OrderService.ts +411 -30
  248. package/src/generated/shopper/services/PaymentLinkService.ts +93 -0
  249. package/src/generated/shopper/services/PaymentService.ts +16 -4
  250. package/src/generated/shopper/services/ProductService.ts +15 -3
  251. package/src/generated/shopper/services/SeatService.ts +71 -8
  252. package/src/generated/shopper/services/SessionService.ts +86 -6
  253. package/src/generated/shopper/types.ts +21 -1
  254. package/src/generated/shopper/models/PaymentFail.ts +0 -23
@@ -0,0 +1,25 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ManifestSeat } from './ManifestSeat';
6
+ export type SeatManifest = {
7
+ eventId: number;
8
+ /**
9
+ * When this snapshot was built, ISO 8601.
10
+ */
11
+ generatedAt: string;
12
+ /**
13
+ * Seconds until this snapshot is thrown away server-side. The browser reuses its copy for exactly this long and no longer.
14
+ */
15
+ ttlSeconds: number;
16
+ /**
17
+ * How many chairs are in `seats`.
18
+ */
19
+ count: number;
20
+ /**
21
+ * seat.num → who has it.
22
+ */
23
+ seats: ManifestSeat;
24
+ };
25
+
@@ -0,0 +1,42 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type SharedStream = {
6
+ providerId: number;
7
+ streamCode: string | null;
8
+ name: string | null;
9
+ hrefSd: string | null;
10
+ hrefHd: string | null;
11
+ streamGuid: string;
12
+ embedCode: string | null;
13
+ directLink: string | null;
14
+ /**
15
+ * Direct-link password / digital-asset password, if set.
16
+ */
17
+ directLinkPw: string | null;
18
+ title: string | null;
19
+ /**
20
+ * Whether the stream is available right now.
21
+ */
22
+ isAvailable: number;
23
+ /**
24
+ * Whether the stream window has passed.
25
+ */
26
+ isExpired: number;
27
+ dateAvailable: string | null;
28
+ dateUnavailable: string | null;
29
+ /**
30
+ * Echo of the assoc guid, so the viewer can poll GET /order/stream/authorized with it.
31
+ */
32
+ registrationGuid: string;
33
+ /**
34
+ * The access token bound to this row, minted on first view. Empty when the row was already bound to someone else and the caller only cleared the check by IP.
35
+ */
36
+ accessGuid: string;
37
+ /**
38
+ * Whether this device may watch right now.
39
+ */
40
+ authorized: boolean;
41
+ };
42
+
@@ -15,6 +15,10 @@ export type ShowExtras = {
15
15
  * Maximum age for a lap child, if a lap-child policy applies.
16
16
  */
17
17
  lapChildMaxAge: number | null;
18
+ /**
19
+ * The show's performer positions across the front of the stage, as the studio keys them: a list, a span, or spans and singles mixed ("1-10", "1,3,5,7", "10-1" for a house that counts the other way), with "|" breaking a cast too wide for one legible line onto a second ("1-12|13-24"). Read live from show.stage_numbers, and mirrored onto the event as stageNumbers.
20
+ */
21
+ stageNumbers: string | null;
18
22
  /**
19
23
  * Chart-Builder slug naming this venue's published chart files on the public CDN — public/databases/{name}.txt and public/configs/{name}.txt (e.g. "ia-cedar-rapids-the-concert-hall"). Null when the venue has no published chart. Without this the client has no way to name the file: chartId and theatreName do not appear in the slug, so it is reduced to guessing from the display name, which fails or, worse, ties between two different houses (SEAT-DB-1).
20
24
  */
@@ -0,0 +1,15 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type StartSupportSessionDto = {
6
+ /**
7
+ * The shopper’s first name.
8
+ */
9
+ firstName: string;
10
+ /**
11
+ * The shopper’s last name.
12
+ */
13
+ lastName: string;
14
+ };
15
+
@@ -0,0 +1,19 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type StreamAuthorization = {
6
+ /**
7
+ * Whether this device may keep watching. False means the registration was revoked or moved to another network.
8
+ */
9
+ authorized: boolean;
10
+ /**
11
+ * Whether the stream window has closed, judged against the session effective date (dbo.cart_sessionDate) and falling back to the show end when date_unavailable is NULL.
12
+ */
13
+ expired: boolean;
14
+ /**
15
+ * The caller's own IP as the server saw it, echoed back for the /tv page's "Authorized IP" line. Empty on the unauthorized branch — never another viewer's address.
16
+ */
17
+ ipAddress: string;
18
+ };
19
+
@@ -0,0 +1,24 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type StreamInvite = {
6
+ /**
7
+ * 1-based ticket index; row 1 is the buyer.
8
+ */
9
+ row: number;
10
+ email: string;
11
+ /**
12
+ * Whether this is the buyer’s own row.
13
+ */
14
+ isPrimary: boolean;
15
+ /**
16
+ * Whether a viewer is currently bound to this row (ip_address is not null). What makes "Reset registration" meaningful.
17
+ */
18
+ isRegistered: boolean;
19
+ /**
20
+ * Whether an assoc row exists yet for this ticket.
21
+ */
22
+ exists: boolean;
23
+ };
24
+
@@ -0,0 +1,12 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type StreamInviteInput = {
6
+ row: number;
7
+ /**
8
+ * Empty deletes the row (legacy -send.cfm:84).
9
+ */
10
+ email: string;
11
+ };
12
+
@@ -0,0 +1,13 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { StreamInvite } from './StreamInvite';
6
+ export type StreamInvitesResponse = {
7
+ /**
8
+ * Tickets purchased for the stream’s show on this order — the cap on how many invites may exist.
9
+ */
10
+ ticketCount: number;
11
+ invites: Array<StreamInvite>;
12
+ };
13
+
@@ -0,0 +1,19 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type SupportSessionStateDto = {
6
+ /**
7
+ * First name on the session row — the prefill for the tech-assist form.
8
+ */
9
+ firstName: string;
10
+ /**
11
+ * Last name on the session row.
12
+ */
13
+ lastName: string;
14
+ /**
15
+ * Whether this session is already flagged for technical assistance.
16
+ */
17
+ supportFlag: boolean;
18
+ };
19
+
@@ -15,16 +15,20 @@ export class AccountService {
15
15
  * Get the site theme
16
16
  * Retrieves the current theme for the site.
17
17
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
18
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
18
19
  * @returns SiteTheme Returns the site theme.
19
20
  * @throws ApiError
20
21
  */
21
22
  public static getTheme(
22
23
  context?: { shopperGuid?: string; accountId?: string },
24
+ xDrtDomain?: string,
23
25
  ): CancelablePromise<SiteTheme> {
24
26
  return __request(OpenAPI, {
25
27
  method: 'GET',
26
28
  url: '/theme',
27
- headers: resolveShopperHeaders(context),
29
+ headers: {
30
+ 'x-drt-domain': xDrtDomain,
31
+ },
28
32
  errors: {
29
33
  400: `Bad Request error with error details.`,
30
34
  404: `Not found error with error details.`,
@@ -36,16 +40,20 @@ export class AccountService {
36
40
  * Get the site disposition
37
41
  * Retrieves the current disposition for the site.
38
42
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
43
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
39
44
  * @returns SiteDisposition Returns the site disposition.
40
45
  * @throws ApiError
41
46
  */
42
47
  public static getDisposition(
43
48
  context?: { shopperGuid?: string; accountId?: string },
49
+ xDrtDomain?: string,
44
50
  ): CancelablePromise<SiteDisposition> {
45
51
  return __request(OpenAPI, {
46
52
  method: 'GET',
47
53
  url: '/disposition',
48
- headers: resolveShopperHeaders(context),
54
+ headers: {
55
+ 'x-drt-domain': xDrtDomain,
56
+ },
49
57
  errors: {
50
58
  400: `Bad Request error with error details.`,
51
59
  404: `Not found error with error details.`,
@@ -57,16 +65,20 @@ export class AccountService {
57
65
  * Get the root site configuration
58
66
  * Retrieves the root configuration including theme, disposition, and details.
59
67
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
68
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
60
69
  * @returns RootConfigResponse Returns the root site configuration.
61
70
  * @throws ApiError
62
71
  */
63
72
  public static getRoot(
64
73
  context?: { shopperGuid?: string; accountId?: string },
74
+ xDrtDomain?: string,
65
75
  ): CancelablePromise<RootConfigResponse> {
66
76
  return __request(OpenAPI, {
67
77
  method: 'GET',
68
78
  url: '/root',
69
- headers: resolveShopperHeaders(context),
79
+ headers: {
80
+ 'x-drt-domain': xDrtDomain,
81
+ },
70
82
  errors: {
71
83
  400: `Bad Request error with error details.`,
72
84
  404: `Not found error with error details.`,
@@ -78,16 +90,20 @@ export class AccountService {
78
90
  * Get the landing page configuration
79
91
  * Retrieves the landing page configuration including theme, disposition, and album details.
80
92
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
93
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
81
94
  * @returns LandingPageResponse Returns the landing page configuration.
82
95
  * @throws ApiError
83
96
  */
84
97
  public static getLandingPage(
85
98
  context?: { shopperGuid?: string; accountId?: string },
99
+ xDrtDomain?: string,
86
100
  ): CancelablePromise<LandingPageResponse> {
87
101
  return __request(OpenAPI, {
88
102
  method: 'GET',
89
103
  url: '/landing',
90
- headers: resolveShopperHeaders(context),
104
+ headers: {
105
+ 'x-drt-domain': xDrtDomain,
106
+ },
91
107
  errors: {
92
108
  400: `Bad Request error with error details.`,
93
109
  404: `Not found error with error details.`,
@@ -20,16 +20,20 @@ export class CartService {
20
20
  * Get Cart
21
21
  * Retrieves the cart along with its associated time.
22
22
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
23
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
23
24
  * @returns CartWithTime Cart retrieved successfully with time.
24
25
  * @throws ApiError
25
26
  */
26
27
  public static getCart(
27
28
  context?: { shopperGuid?: string; accountId?: string },
29
+ xDrtDomain?: string,
28
30
  ): CancelablePromise<CartWithTime> {
29
31
  return __request(OpenAPI, {
30
32
  method: 'GET',
31
33
  url: '/cart',
32
- headers: resolveShopperHeaders(context),
34
+ headers: {
35
+ 'x-drt-domain': xDrtDomain,
36
+ },
33
37
  errors: {
34
38
  400: `Bad Request error with error details.`,
35
39
  404: `Not found error with error details.`,
@@ -41,16 +45,20 @@ export class CartService {
41
45
  * Delete Cart
42
46
  * 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.
43
47
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
48
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
44
49
  * @returns CartClearResult Cart clear result.
45
50
  * @throws ApiError
46
51
  */
47
52
  public static deleteCart(
48
53
  context?: { shopperGuid?: string; accountId?: string },
54
+ xDrtDomain?: string,
49
55
  ): CancelablePromise<CartClearResult> {
50
56
  return __request(OpenAPI, {
51
57
  method: 'DELETE',
52
58
  url: '/cart',
53
- headers: resolveShopperHeaders(context),
59
+ headers: {
60
+ 'x-drt-domain': xDrtDomain,
61
+ },
54
62
  errors: {
55
63
  400: `Bad Request error with error details.`,
56
64
  404: `Not found error with error details.`,
@@ -62,16 +70,20 @@ export class CartService {
62
70
  * Get Cart Summary
63
71
  * 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.
64
72
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
73
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
65
74
  * @returns CartSummary Cart summary retrieved successfully.
66
75
  * @throws ApiError
67
76
  */
68
77
  public static getCartSummary(
69
78
  context?: { shopperGuid?: string; accountId?: string },
79
+ xDrtDomain?: string,
70
80
  ): CancelablePromise<CartSummary> {
71
81
  return __request(OpenAPI, {
72
82
  method: 'GET',
73
83
  url: '/cart/summary',
74
- headers: resolveShopperHeaders(context),
84
+ headers: {
85
+ 'x-drt-domain': xDrtDomain,
86
+ },
75
87
  errors: {
76
88
  400: `Bad Request error with error details.`,
77
89
  404: `Not found error with error details.`,
@@ -83,16 +95,20 @@ export class CartService {
83
95
  * Get Cart Hash
84
96
  * Returns the computed cart hash for the current shopper session.
85
97
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
98
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
86
99
  * @returns CartHashResponse Cart hash retrieved successfully.
87
100
  * @throws ApiError
88
101
  */
89
102
  public static getCartHash(
90
103
  context?: { shopperGuid?: string; accountId?: string },
104
+ xDrtDomain?: string,
91
105
  ): CancelablePromise<CartHashResponse> {
92
106
  return __request(OpenAPI, {
93
107
  method: 'GET',
94
108
  url: '/cart/hash',
95
- headers: resolveShopperHeaders(context),
109
+ headers: {
110
+ 'x-drt-domain': xDrtDomain,
111
+ },
96
112
  errors: {
97
113
  400: `Bad Request error with error details.`,
98
114
  404: `Not found error with error details.`,
@@ -104,16 +120,20 @@ export class CartService {
104
120
  * Get Cash Payment Detail (operator only)
105
121
  * Returns cash payment details for the current shopper session, including order total, payments total, and house card credentials. Requires a logged-in operator session — returns 403 for a plain shopper.
106
122
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
123
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
107
124
  * @returns CashPaymentDetail Cash payment detail retrieved successfully.
108
125
  * @throws ApiError
109
126
  */
110
127
  public static getCashPaymentDetail(
111
128
  context?: { shopperGuid?: string; accountId?: string },
129
+ xDrtDomain?: string,
112
130
  ): CancelablePromise<CashPaymentDetail> {
113
131
  return __request(OpenAPI, {
114
132
  method: 'GET',
115
133
  url: '/cart/cash-payment-detail',
116
- headers: resolveShopperHeaders(context),
134
+ headers: {
135
+ 'x-drt-domain': xDrtDomain,
136
+ },
117
137
  errors: {
118
138
  400: `Bad Request error with error details.`,
119
139
  404: `Not found error with error details.`,
@@ -125,16 +145,20 @@ export class CartService {
125
145
  * Get lightweight cart counts
126
146
  * Returns a cheap cart summary for header/badge polling: seat count, product count, and seconds remaining on the cart timer.
127
147
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
148
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
128
149
  * @returns CartCountsLite Cart counts retrieved successfully.
129
150
  * @throws ApiError
130
151
  */
131
152
  public static getCartCounts(
132
153
  context?: { shopperGuid?: string; accountId?: string },
154
+ xDrtDomain?: string,
133
155
  ): CancelablePromise<CartCountsLite> {
134
156
  return __request(OpenAPI, {
135
157
  method: 'GET',
136
158
  url: '/cart/counts',
137
- headers: resolveShopperHeaders(context),
159
+ headers: {
160
+ 'x-drt-domain': xDrtDomain,
161
+ },
138
162
  errors: {
139
163
  400: `Bad Request error with error details.`,
140
164
  404: `Not found error with error details.`,
@@ -146,16 +170,20 @@ export class CartService {
146
170
  * Get the pricing-tiers page data
147
171
  * Held seats that need a pricing-tier selection (their section offers more than one applicable tier), each with its tier options — fee-inclusive, door-pricing-aware prices. Empty seats list = the tiers step should be skipped; this agrees with GET /checkout/next-step by construction (PROJ-903). Change a tier with POST /seat/update-tier.
148
172
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
173
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
149
174
  * @returns CartTiersResponse Cart tier-selection data retrieved successfully.
150
175
  * @throws ApiError
151
176
  */
152
177
  public static getCartTiers(
153
178
  context?: { shopperGuid?: string; accountId?: string },
179
+ xDrtDomain?: string,
154
180
  ): CancelablePromise<CartTiersResponse> {
155
181
  return __request(OpenAPI, {
156
182
  method: 'GET',
157
183
  url: '/cart/tiers',
158
- headers: resolveShopperHeaders(context),
184
+ headers: {
185
+ 'x-drt-domain': xDrtDomain,
186
+ },
159
187
  errors: {
160
188
  400: `Bad Request error with error details.`,
161
189
  404: `Not found error with error details.`,
@@ -167,16 +195,20 @@ export class CartService {
167
195
  * Get cart totals
168
196
  * Recomputes the cart (custom logic, coupon, sales tax) and returns the current totals ledger. Call after any cart mutation.
169
197
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
198
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
170
199
  * @returns CartTotals Cart totals retrieved successfully.
171
200
  * @throws ApiError
172
201
  */
173
202
  public static getCartTotals(
174
203
  context?: { shopperGuid?: string; accountId?: string },
204
+ xDrtDomain?: string,
175
205
  ): CancelablePromise<CartTotals> {
176
206
  return __request(OpenAPI, {
177
207
  method: 'GET',
178
208
  url: '/cart/totals',
179
- headers: resolveShopperHeaders(context),
209
+ headers: {
210
+ 'x-drt-domain': xDrtDomain,
211
+ },
180
212
  errors: {
181
213
  400: `Bad Request error with error details.`,
182
214
  404: `Not found error with error details.`,
@@ -188,16 +220,20 @@ export class CartService {
188
220
  * Get cart amounts ledger
189
221
  * Returns the full amounts ledger (item/product/donation/order/tax totals, coupon, discount, payments, and gift cards + adjustments).
190
222
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
223
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
191
224
  * @returns CartAmounts Cart amounts retrieved successfully.
192
225
  * @throws ApiError
193
226
  */
194
227
  public static getCartAmounts(
195
228
  context?: { shopperGuid?: string; accountId?: string },
229
+ xDrtDomain?: string,
196
230
  ): CancelablePromise<CartAmounts> {
197
231
  return __request(OpenAPI, {
198
232
  method: 'GET',
199
233
  url: '/cart/amounts',
200
- headers: resolveShopperHeaders(context),
234
+ headers: {
235
+ 'x-drt-domain': xDrtDomain,
236
+ },
201
237
  errors: {
202
238
  400: `Bad Request error with error details.`,
203
239
  404: `Not found error with error details.`,
@@ -210,12 +246,14 @@ export class CartService {
210
246
  * 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.
211
247
  * @param showId
212
248
  * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
249
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
213
250
  * @returns CartClearResult Show clear result.
214
251
  * @throws ApiError
215
252
  */
216
253
  public static clearCartShow(
217
254
  showId: number,
218
255
  context?: { shopperGuid?: string; accountId?: string },
256
+ xDrtDomain?: string,
219
257
  ): CancelablePromise<CartClearResult> {
220
258
  return __request(OpenAPI, {
221
259
  method: 'DELETE',
@@ -223,7 +261,9 @@ export class CartService {
223
261
  path: {
224
262
  'showId': showId,
225
263
  },
226
- headers: resolveShopperHeaders(context),
264
+ headers: {
265
+ 'x-drt-domain': xDrtDomain,
266
+ },
227
267
  errors: {
228
268
  400: `Bad Request error with error details.`,
229
269
  404: `Not found error with error details.`,