@drttix/drt-sdk 0.9.0 → 0.9.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 (572) hide show
  1. package/README.md +59 -59
  2. package/azure-pipelines.yml +80 -80
  3. package/demo/README.md +28 -28
  4. package/demo/default.html +35 -35
  5. package/demo/test.html +870 -870
  6. package/demo/with-base.html +39 -39
  7. package/dist/bundle/drt-sdk.js +1 -0
  8. package/dist/cjs/src/generated/portal/models/StudentCreditBuyerResponseDto.d.ts +12 -0
  9. package/dist/cjs/src/generated/portal/models/StudentCreditBuyerResponseDto.js +2 -0
  10. package/dist/esm/src/generated/portal/models/StudentCreditBuyerResponseDto.d.ts +12 -0
  11. package/dist/esm/src/generated/portal/models/StudentCreditBuyerResponseDto.js +1 -0
  12. package/drt-api-specs.json +14 -14
  13. package/package.json +40 -40
  14. package/public/sdk/latest/drt-sdk.js +1 -1
  15. package/scripts/fix-import-extensions.mjs +88 -88
  16. package/src/custom/custom-request.txt +387 -387
  17. package/src/functions/sdkConfig.ts +132 -132
  18. package/src/functions/setBaseURL.ts +47 -47
  19. package/src/generated/portal/core/ApiError.ts +1 -1
  20. package/src/generated/portal/core/ApiRequestOptions.ts +1 -1
  21. package/src/generated/portal/core/ApiResult.ts +1 -1
  22. package/src/generated/portal/core/CancelablePromise.ts +1 -1
  23. package/src/generated/portal/core/OpenAPI.ts +32 -32
  24. package/src/generated/portal/core/request.ts +387 -387
  25. package/src/generated/portal/index.ts +373 -373
  26. package/src/generated/portal/models/AccountDetailResponseDto.ts +11 -11
  27. package/src/generated/portal/models/AddSessionSeatRequestDto.ts +9 -9
  28. package/src/generated/portal/models/AdminUserLevelResponseDto.ts +9 -9
  29. package/src/generated/portal/models/AdminUserResponseDto.ts +13 -13
  30. package/src/generated/portal/models/AdvancedPricing.ts +14 -14
  31. package/src/generated/portal/models/AlbumImageResponseDto.ts +9 -9
  32. package/src/generated/portal/models/AnswerOrder.ts +10 -10
  33. package/src/generated/portal/models/ApproveOrderRequestDto.ts +9 -9
  34. package/src/generated/portal/models/ApproveRefundRequestDto.ts +10 -10
  35. package/src/generated/portal/models/ApproveShowRequestDto.ts +8 -8
  36. package/src/generated/portal/models/AssignSeatsRequestDto.ts +13 -13
  37. package/src/generated/portal/models/AssignWaitlistRequestDto.ts +11 -11
  38. package/src/generated/portal/models/AutoDiscounts.ts +8 -8
  39. package/src/generated/portal/models/AvaliableSeats.ts +12 -12
  40. package/src/generated/portal/models/BankDetails.ts +24 -24
  41. package/src/generated/portal/models/BlockChartSeatRequestDto.ts +12 -12
  42. package/src/generated/portal/models/BlockGeneralSeatResponseDto.ts +11 -11
  43. package/src/generated/portal/models/BlockGeneralSeatsRequestDto.ts +9 -9
  44. package/src/generated/portal/models/BlockSeatsRequestDto.ts +8 -8
  45. package/src/generated/portal/models/BlockedSeatDetailResponseDto.ts +15 -15
  46. package/src/generated/portal/models/BookmarkResponseDto.ts +12 -12
  47. package/src/generated/portal/models/BugReportRequestDto.ts +9 -9
  48. package/src/generated/portal/models/BulkCreateGiftCardRequestDto.ts +20 -20
  49. package/src/generated/portal/models/BulkEditRequestDto.ts +18 -18
  50. package/src/generated/portal/models/BuyerResponseDto.ts +17 -17
  51. package/src/generated/portal/models/CancelExchangeTicketRequestDto.ts +9 -9
  52. package/src/generated/portal/models/CartCountResponseDto.ts +8 -8
  53. package/src/generated/portal/models/CartToggleTickerResponseDto.ts +8 -8
  54. package/src/generated/portal/models/ChangePasswordRequestDto.ts +10 -10
  55. package/src/generated/portal/models/ChartReviewRequestDto.ts +9 -9
  56. package/src/generated/portal/models/ChartReviewValidationResponseDto.ts +9 -9
  57. package/src/generated/portal/models/CheckBookmarkResponseDto.ts +10 -10
  58. package/src/generated/portal/models/CheckSelectedSeatResponseDto.ts +10 -10
  59. package/src/generated/portal/models/CheckoutAnswerOrderRequestDto.ts +9 -9
  60. package/src/generated/portal/models/CheckoutAnswerOrderResponseDto.ts +19 -19
  61. package/src/generated/portal/models/CheckoutAnswerQuestionResponseDto.ts +11 -11
  62. package/src/generated/portal/models/CheckoutQuestionResponseDto.ts +29 -29
  63. package/src/generated/portal/models/CheckoutResponseShowResponseDto.ts +10 -10
  64. package/src/generated/portal/models/CodeDetailResponseDto.ts +29 -29
  65. package/src/generated/portal/models/CodeDetailsResponseDto.ts +11 -11
  66. package/src/generated/portal/models/CodeShopperDetail.ts +10 -10
  67. package/src/generated/portal/models/CodeUsageDetail.ts +16 -16
  68. package/src/generated/portal/models/CodeUsageResponseDto.ts +12 -12
  69. package/src/generated/portal/models/CollectionDetailsRequestDto.ts +8 -8
  70. package/src/generated/portal/models/CollectionDetailsResponseDto.ts +14 -14
  71. package/src/generated/portal/models/CouponCodeResponseDto.ts +14 -14
  72. package/src/generated/portal/models/CouponDataResponseDto.ts +17 -17
  73. package/src/generated/portal/models/CouponDetailResponseDto.ts +35 -35
  74. package/src/generated/portal/models/CouponFilterResponseDto.ts +11 -11
  75. package/src/generated/portal/models/CouponType.ts +10 -10
  76. package/src/generated/portal/models/CreateAccountRequestDto.ts +11 -11
  77. package/src/generated/portal/models/CreateAccountResponseDto.ts +8 -8
  78. package/src/generated/portal/models/CreatePatronCodeRequestDto.ts +9 -9
  79. package/src/generated/portal/models/CreatePatronTagsRequestDto.ts +9 -9
  80. package/src/generated/portal/models/CreatePerformersRequestDto.ts +10 -10
  81. package/src/generated/portal/models/CreatePriorityCodeRequestDto.ts +26 -26
  82. package/src/generated/portal/models/CreateProductResponseDto.ts +8 -8
  83. package/src/generated/portal/models/CreateProductVariantRequestDto.ts +9 -9
  84. package/src/generated/portal/models/CreateUpdateAdminUserRequestDto.ts +12 -12
  85. package/src/generated/portal/models/CreateUpdateAlbumRequestDto.ts +8 -8
  86. package/src/generated/portal/models/CreateUpdateFundRequestDto.ts +24 -24
  87. package/src/generated/portal/models/CreateUpdateGiftCardRequestDto.ts +15 -15
  88. package/src/generated/portal/models/CreateUpdateGoldenTicketRequestDto.ts +12 -12
  89. package/src/generated/portal/models/CreateUpdateProductRequestDto.ts +35 -35
  90. package/src/generated/portal/models/CreateUpdateQuestionRequestDto.ts +23 -23
  91. package/src/generated/portal/models/CreateUpdateWaitlistRequestDto.ts +15 -15
  92. package/src/generated/portal/models/CreateYoutubeVideoRequestDto.ts +11 -11
  93. package/src/generated/portal/models/CustomLogicResponseDto.ts +9 -9
  94. package/src/generated/portal/models/DashboardResponseDto.ts +11 -11
  95. package/src/generated/portal/models/DeleteAlbumImageRequestDto.ts +8 -8
  96. package/src/generated/portal/models/DeleteCodesRequestDto.ts +9 -9
  97. package/src/generated/portal/models/DeleteCouponCodeRequestDto.ts +8 -8
  98. package/src/generated/portal/models/DeleteMailRequestDto.ts +8 -8
  99. package/src/generated/portal/models/DeletePatronCodeRequestDto.ts +8 -8
  100. package/src/generated/portal/models/DeletePriorityCodeRequestDto.ts +8 -8
  101. package/src/generated/portal/models/DeleteProductVariantRequestDto.ts +9 -9
  102. package/src/generated/portal/models/DigitalAssetLogResponseDto.ts +10 -10
  103. package/src/generated/portal/models/DigitalAssetsListResponseDto.ts +16 -16
  104. package/src/generated/portal/models/DiscountAccessRequestDto.ts +32 -32
  105. package/src/generated/portal/models/DisputeResponseDTO.ts +21 -21
  106. package/src/generated/portal/models/DonationFundsResponseDto.ts +9 -9
  107. package/src/generated/portal/models/DonationReportResponseDto.ts +18 -18
  108. package/src/generated/portal/models/DonationRequestDto.ts +9 -9
  109. package/src/generated/portal/models/DonationResponseDto.ts +14 -14
  110. package/src/generated/portal/models/DownloadLog.ts +10 -10
  111. package/src/generated/portal/models/DuplicateFundRequestDto.ts +8 -8
  112. package/src/generated/portal/models/DuplicateProductRequestDto.ts +8 -8
  113. package/src/generated/portal/models/EditMailRequestDto.ts +10 -10
  114. package/src/generated/portal/models/EditShowRequestDto.ts +23 -23
  115. package/src/generated/portal/models/EmailBuyersListResponseDto.ts +11 -11
  116. package/src/generated/portal/models/EmailBuyersRequestDto.ts +13 -13
  117. package/src/generated/portal/models/EmailDetailResponseDto.ts +9 -9
  118. package/src/generated/portal/models/ExchangeShowDetailResponseDto.ts +30 -30
  119. package/src/generated/portal/models/ExchangeTierDetailResponseDto.ts +14 -14
  120. package/src/generated/portal/models/ExecuteReleaseSeatRequestDto.ts +16 -16
  121. package/src/generated/portal/models/ExecuteSeatExchangeRequestDto.ts +11 -11
  122. package/src/generated/portal/models/ExpireHiddenCodesRequestDto.ts +8 -8
  123. package/src/generated/portal/models/FilterShowsResponseDto.ts +14 -14
  124. package/src/generated/portal/models/ForgotPasswordRequestDto.ts +9 -9
  125. package/src/generated/portal/models/FundListResponseDto.ts +13 -13
  126. package/src/generated/portal/models/FundResponseDto.ts +34 -34
  127. package/src/generated/portal/models/FutureMailResponseDto.ts +13 -13
  128. package/src/generated/portal/models/GatewayStatus.ts +16 -16
  129. package/src/generated/portal/models/GenerateCodeRequestDto.ts +23 -23
  130. package/src/generated/portal/models/GenerateGroupCodeRequestDto.ts +12 -12
  131. package/src/generated/portal/models/GetSettingsResponseDto.ts +14 -14
  132. package/src/generated/portal/models/GiftCardResponseDto.ts +19 -19
  133. package/src/generated/portal/models/GiftCardTransactionsResponseDto.ts +13 -13
  134. package/src/generated/portal/models/GoldenTicketDetailResponseDto.ts +10 -10
  135. package/src/generated/portal/models/GoldenTicketShowsResponseDto.ts +10 -10
  136. package/src/generated/portal/models/GroupCodeResponseDto.ts +17 -17
  137. package/src/generated/portal/models/HashLoginResponseDto.ts +20 -20
  138. package/src/generated/portal/models/HashTicketingLinkResponseDto.ts +15 -15
  139. package/src/generated/portal/models/HiddenCodeResponseDto.ts +8 -8
  140. package/src/generated/portal/models/HoldChartSeatResponseDto.ts +14 -14
  141. package/src/generated/portal/models/HoldSeatDetailsResponseDto.ts +7 -7
  142. package/src/generated/portal/models/IconShowGroupResponseDto.ts +11 -11
  143. package/src/generated/portal/models/InterviewDetailResponseDto.ts +12 -12
  144. package/src/generated/portal/models/InterviewResponseDto.ts +16 -16
  145. package/src/generated/portal/models/LandingPageAlbumResponseDto.ts +12 -12
  146. package/src/generated/portal/models/LandingPageResponseDto.ts +28 -28
  147. package/src/generated/portal/models/LoginRequestDto.ts +9 -9
  148. package/src/generated/portal/models/MailDetailResponseDto.ts +12 -12
  149. package/src/generated/portal/models/MailResponseDto.ts +11 -11
  150. package/src/generated/portal/models/ManagedShowResponseDto.ts +13 -13
  151. package/src/generated/portal/models/MappedPortalObjectPermission.ts +13 -13
  152. package/src/generated/portal/models/MappedPortalObjectSimple.ts +10 -10
  153. package/src/generated/portal/models/MessageSettingResponseDto.ts +10 -10
  154. package/src/generated/portal/models/MigrateTicketDetails.ts +13 -13
  155. package/src/generated/portal/models/MigrateTicketRequestDto.ts +10 -10
  156. package/src/generated/portal/models/MigrationPossibleShow.ts +13 -13
  157. package/src/generated/portal/models/ModifyTicketRequestDto.ts +11 -11
  158. package/src/generated/portal/models/NotificationDto.ts +10 -10
  159. package/src/generated/portal/models/NotificationResponseDto.ts +13 -13
  160. package/src/generated/portal/models/NotificationSettingRequestDto.ts +9 -9
  161. package/src/generated/portal/models/NotificationSettingsResponseDto.ts +13 -13
  162. package/src/generated/portal/models/OTPResponseDto.ts +9 -9
  163. package/src/generated/portal/models/OrderActionsResponseDto.ts +11 -11
  164. package/src/generated/portal/models/OrderDetail.ts +9 -9
  165. package/src/generated/portal/models/OrderDetails.ts +13 -13
  166. package/src/generated/portal/models/OrderEmailBuyersRequestDto.ts +16 -16
  167. package/src/generated/portal/models/OrderFiltersResponseDto.ts +10 -10
  168. package/src/generated/portal/models/OrderLedgerDetailsResponseDto.ts +20 -20
  169. package/src/generated/portal/models/OrderListRequestDto.ts +10 -10
  170. package/src/generated/portal/models/OrderListResponseDto.ts +24 -24
  171. package/src/generated/portal/models/OrderRecalculateRequestDto.ts +12 -12
  172. package/src/generated/portal/models/OrderSeatDetailsResponseDto.ts +15 -15
  173. package/src/generated/portal/models/OrderTicketDetailResponseDto.ts +21 -21
  174. package/src/generated/portal/models/OtherResponseDto.ts +14 -14
  175. package/src/generated/portal/models/PartialShowDetail.ts +12 -12
  176. package/src/generated/portal/models/PartialTicketResponseDto.ts +20 -20
  177. package/src/generated/portal/models/PatronAccessRequestDto.ts +25 -25
  178. package/src/generated/portal/models/PatronCodeSendMailRequestDto.ts +14 -14
  179. package/src/generated/portal/models/PatronCodesResponseDto.ts +18 -18
  180. package/src/generated/portal/models/PatronManifestDetailResponseDto.ts +28 -28
  181. package/src/generated/portal/models/PatronShowGroupResponseDto.ts +21 -21
  182. package/src/generated/portal/models/PatronStatsResponseDto.ts +21 -21
  183. package/src/generated/portal/models/PaymentGatewayResponseDto.ts +17 -17
  184. package/src/generated/portal/models/PerformerCreditOrderRequestDto.ts +9 -9
  185. package/src/generated/portal/models/Performers.ts +9 -9
  186. package/src/generated/portal/models/PerformersListRequestDto.ts +9 -9
  187. package/src/generated/portal/models/PerformersListResponseDto.ts +11 -11
  188. package/src/generated/portal/models/PolicyDetailResponseDto.ts +15 -15
  189. package/src/generated/portal/models/PolicyDto.ts +9 -9
  190. package/src/generated/portal/models/PolicyRequestDto.ts +9 -9
  191. package/src/generated/portal/models/PolicyResponseDto.ts +12 -12
  192. package/src/generated/portal/models/PortalObjectRequestDto.ts +13 -13
  193. package/src/generated/portal/models/PosSettingsRequestDto.ts +13 -13
  194. package/src/generated/portal/models/PosSettingsResponseDto.ts +13 -13
  195. package/src/generated/portal/models/PriorityCode.ts +10 -10
  196. package/src/generated/portal/models/PriorityCodeResponseDto.ts +13 -13
  197. package/src/generated/portal/models/PriorityWaveDetail.ts +12 -12
  198. package/src/generated/portal/models/ProductDetailResponseDto.ts +35 -35
  199. package/src/generated/portal/models/ProductIconResponseDto.ts +11 -11
  200. package/src/generated/portal/models/ProductListResponseDto.ts +17 -17
  201. package/src/generated/portal/models/ProductRecipientResponseDto.ts +11 -11
  202. package/src/generated/portal/models/ProductResponseDto.ts +14 -14
  203. package/src/generated/portal/models/ProductSalesRequestDto.ts +11 -11
  204. package/src/generated/portal/models/ProductSalesResponseDto.ts +11 -11
  205. package/src/generated/portal/models/ProductSendMailRequestDto.ts +18 -18
  206. package/src/generated/portal/models/ProductVariantResponseDto.ts +18 -18
  207. package/src/generated/portal/models/QuestionDetailsResponseDto.ts +16 -16
  208. package/src/generated/portal/models/QuestionResponseDto.ts +9 -9
  209. package/src/generated/portal/models/QuestionShowGroupAndProductResponse.ts +9 -9
  210. package/src/generated/portal/models/QuestionShowResponse.ts +13 -13
  211. package/src/generated/portal/models/QuestionTypeResponse.ts +10 -10
  212. package/src/generated/portal/models/RecalculateOrderResponseDto.ts +35 -35
  213. package/src/generated/portal/models/RefundDetailResponseDto.ts +33 -33
  214. package/src/generated/portal/models/RefundOrderDetail.ts +17 -17
  215. package/src/generated/portal/models/RefundResponseDto.ts +24 -24
  216. package/src/generated/portal/models/RefundSetting.ts +9 -9
  217. package/src/generated/portal/models/RefundSettingsResponseDto.ts +7 -7
  218. package/src/generated/portal/models/ReleaseSeatDetailResponseDto.ts +29 -29
  219. package/src/generated/portal/models/RemoveReservationCodeRequestDto.ts +10 -10
  220. package/src/generated/portal/models/RemoveSeatsRequestDto.ts +11 -11
  221. package/src/generated/portal/models/ReorderBookmarkRequestDto.ts +11 -11
  222. package/src/generated/portal/models/ReorderImageRequestDto.ts +8 -8
  223. package/src/generated/portal/models/ReportProductSalesResponseDto.ts +30 -30
  224. package/src/generated/portal/models/ResendMailRequestDto.ts +9 -9
  225. package/src/generated/portal/models/ReservationCodeResponseDto.ts +20 -20
  226. package/src/generated/portal/models/ReservationDetailResponseDto.ts +18 -18
  227. package/src/generated/portal/models/ResetTaxPaymentRequestDto.ts +9 -9
  228. package/src/generated/portal/models/RevenueByShowRequestDto.ts +10 -10
  229. package/src/generated/portal/models/RevenueShowCalculationsResponseDto.ts +19 -19
  230. package/src/generated/portal/models/SaleDetail.ts +14 -14
  231. package/src/generated/portal/models/SalesByTierReponseDto.ts +17 -17
  232. package/src/generated/portal/models/SalesProductResponseDto.ts +11 -11
  233. package/src/generated/portal/models/SaveAdministrativeNoteRequestDto.ts +9 -9
  234. package/src/generated/portal/models/ScannedTicketOrderResponseDto.ts +22 -22
  235. package/src/generated/portal/models/ScannedTicketResponseDto.ts +10 -10
  236. package/src/generated/portal/models/SearchCodeResponseDto.ts +9 -9
  237. package/src/generated/portal/models/SearchFeatureResponseDto.ts +18 -18
  238. package/src/generated/portal/models/SearchOrderResponseDto.ts +15 -15
  239. package/src/generated/portal/models/SearchResponseDto.ts +15 -15
  240. package/src/generated/portal/models/SeatDetails.ts +22 -22
  241. package/src/generated/portal/models/SeatDetailsResponseDto.ts +10 -10
  242. package/src/generated/portal/models/SeatResponseDto.ts +17 -17
  243. package/src/generated/portal/models/SectionDetail.ts +10 -10
  244. package/src/generated/portal/models/SectionRule.ts +12 -12
  245. package/src/generated/portal/models/SelectedSeatExchangeResponseDto.ts +11 -11
  246. package/src/generated/portal/models/SendBlockedSeatsMailRequestDto.ts +12 -12
  247. package/src/generated/portal/models/SendMailRequestDto.ts +10 -10
  248. package/src/generated/portal/models/SendReservationCodeMailRequestDto.ts +12 -12
  249. package/src/generated/portal/models/SentMailResponseDto.ts +14 -14
  250. package/src/generated/portal/models/SettingsAndWavesResponseDto.ts +13 -13
  251. package/src/generated/portal/models/SettingsDetailsResponseDto.ts +56 -56
  252. package/src/generated/portal/models/Show.ts +11 -11
  253. package/src/generated/portal/models/ShowAndGroupResponseDto.ts +14 -14
  254. package/src/generated/portal/models/ShowBlockedSeatResponseDto.ts +26 -26
  255. package/src/generated/portal/models/ShowChartPreviewResponseDto.ts +10 -10
  256. package/src/generated/portal/models/ShowDetailDto.ts +71 -71
  257. package/src/generated/portal/models/ShowDetails.ts +12 -12
  258. package/src/generated/portal/models/ShowDetailsResponseDto.ts +16 -16
  259. package/src/generated/portal/models/ShowGroupResponseDto.ts +9 -9
  260. package/src/generated/portal/models/ShowGroups.ts +9 -9
  261. package/src/generated/portal/models/ShowListResponseDto.ts +15 -15
  262. package/src/generated/portal/models/ShowOrders.ts +11 -11
  263. package/src/generated/portal/models/ShowPricing.ts +17 -17
  264. package/src/generated/portal/models/ShowPricingDetail.ts +11 -11
  265. package/src/generated/portal/models/ShowReportListResponseDto.ts +14 -14
  266. package/src/generated/portal/models/ShowSeatDetailResponseDto.ts +11 -11
  267. package/src/generated/portal/models/ShowSeatPair.ts +9 -9
  268. package/src/generated/portal/models/ShowSectionDetail.ts +14 -14
  269. package/src/generated/portal/models/ShowSnapshotResponseDto.ts +22 -22
  270. package/src/generated/portal/models/ShowStatDetail.ts +34 -34
  271. package/src/generated/portal/models/ShowTicketSectionListResponseDto.ts +11 -11
  272. package/src/generated/portal/models/ShowTierRequestDto.ts +8 -8
  273. package/src/generated/portal/models/ShowTierResponseDto.ts +30 -30
  274. package/src/generated/portal/models/ShowTiers.ts +32 -32
  275. package/src/generated/portal/models/ShowTypeResponseDto.ts +10 -10
  276. package/src/generated/portal/models/ShowTypes.ts +10 -10
  277. package/src/generated/portal/models/Shows.ts +13 -13
  278. package/src/generated/portal/models/ShowsList.ts +32 -32
  279. package/src/generated/portal/models/ShowsResponseDto.ts +17 -17
  280. package/src/generated/portal/models/SingleFundDetailResponseDto.ts +11 -11
  281. package/src/generated/portal/models/SingleOrderDetailResponseDto.ts +21 -21
  282. package/src/generated/portal/models/SinglePatronCodeResponseDto.ts +23 -23
  283. package/src/generated/portal/models/SinglePerformerRequestDto.ts +9 -9
  284. package/src/generated/portal/models/SoldTicketsResponseDto.ts +32 -32
  285. package/src/generated/portal/models/StartImageUploadRequestDto.ts +8 -8
  286. package/src/generated/portal/models/StartImageUploadResponseDto.ts +9 -9
  287. package/src/generated/portal/models/StopShowRequestDto.ts +11 -11
  288. package/src/generated/portal/models/StringValidation.ts +13 -13
  289. package/src/generated/portal/models/StripeResponseDto.ts +13 -13
  290. package/src/generated/portal/models/StripeSettingsResponseDto.ts +13 -13
  291. package/src/generated/portal/models/StudentCreditOrdersResponseDto.ts +13 -13
  292. package/src/generated/portal/models/StudentCreditResponseDto.ts +10 -10
  293. package/src/generated/portal/models/StudioIntegratorDetailResponseDto.ts +11 -11
  294. package/src/generated/portal/models/SuccessResponse.ts +8 -8
  295. package/src/generated/portal/models/TaxAndBankDetailsResponseDto.ts +11 -11
  296. package/src/generated/portal/models/TaxByMonthRequestDto.ts +9 -9
  297. package/src/generated/portal/models/TaxByMonthResponseDto.ts +19 -19
  298. package/src/generated/portal/models/TaxDocuments.ts +9 -9
  299. package/src/generated/portal/models/TaxResponseDto.ts +14 -14
  300. package/src/generated/portal/models/TemplateResponseDto.ts +9 -9
  301. package/src/generated/portal/models/TheatreList.ts +8 -8
  302. package/src/generated/portal/models/ThemeBannerImageResponseDto.ts +11 -11
  303. package/src/generated/portal/models/ThemeCategoryResponseDto.ts +10 -10
  304. package/src/generated/portal/models/ThemeDesignResponseDto.ts +37 -37
  305. package/src/generated/portal/models/ThemeDetailResponseDto.ts +10 -10
  306. package/src/generated/portal/models/ThemeLinkResponseDto.ts +11 -11
  307. package/src/generated/portal/models/ThemeResponseDto.ts +11 -11
  308. package/src/generated/portal/models/TicketDetail.ts +24 -24
  309. package/src/generated/portal/models/TicketDetails.ts +18 -18
  310. package/src/generated/portal/models/TicketRequestDto.ts +9 -9
  311. package/src/generated/portal/models/TicketResponseDto.ts +19 -19
  312. package/src/generated/portal/models/TicketScanningShowResponseDto.ts +18 -18
  313. package/src/generated/portal/models/TicketSeatDetailResponseDto.ts +27 -27
  314. package/src/generated/portal/models/TicketingShowResponseDto.ts +13 -13
  315. package/src/generated/portal/models/TierDetail.ts +14 -14
  316. package/src/generated/portal/models/TierRequestDto.ts +10 -10
  317. package/src/generated/portal/models/TieredPrice.ts +17 -17
  318. package/src/generated/portal/models/TimeZoneResponse.ts +9 -9
  319. package/src/generated/portal/models/ToggleModifyTierRequestDto.ts +10 -10
  320. package/src/generated/portal/models/ToggleModifyTierResponseDto.ts +10 -10
  321. package/src/generated/portal/models/ToggleTierRequestDto.ts +9 -9
  322. package/src/generated/portal/models/ToggleTierResponseDto.ts +12 -12
  323. package/src/generated/portal/models/TransactionDetail.ts +14 -14
  324. package/src/generated/portal/models/UnApprovedOrderSeatDetailResponseDto.ts +12 -12
  325. package/src/generated/portal/models/UnAvailableSeating.ts +14 -14
  326. package/src/generated/portal/models/UnapprovedOrderDetailResponseDto.ts +10 -10
  327. package/src/generated/portal/models/UnapprovedOrderResponseDto.ts +17 -17
  328. package/src/generated/portal/models/UnblockSeatsRequestDto.ts +9 -9
  329. package/src/generated/portal/models/UnsoldTicketsResponseDto.ts +21 -21
  330. package/src/generated/portal/models/UpdateBankingRequestDto.ts +21 -21
  331. package/src/generated/portal/models/UpdateDiscountCodeRequestDto.ts +21 -21
  332. package/src/generated/portal/models/UpdateEmailRequestDto.ts +8 -8
  333. package/src/generated/portal/models/UpdateImageUploadRequestDto.ts +10 -10
  334. package/src/generated/portal/models/UpdateLandingPageConfigSettingRequestDto.ts +23 -23
  335. package/src/generated/portal/models/UpdateLandingPageRequestDto.ts +13 -13
  336. package/src/generated/portal/models/UpdateMessageRequestDto.ts +10 -10
  337. package/src/generated/portal/models/UpdatePatronCodeRequestDto.ts +15 -15
  338. package/src/generated/portal/models/UpdatePatronSettingsRequestDto.ts +11 -11
  339. package/src/generated/portal/models/UpdatePatronTagsRequestDto.ts +10 -10
  340. package/src/generated/portal/models/UpdatePriorityCodeRequestDto.ts +19 -19
  341. package/src/generated/portal/models/UpdateProductVariantRequestDto.ts +15 -15
  342. package/src/generated/portal/models/UpdateSearchLogRequestDto.ts +9 -9
  343. package/src/generated/portal/models/UpdateStudioSettingsRequestDto.ts +16 -16
  344. package/src/generated/portal/models/UpdateTaxRequestDto.ts +12 -12
  345. package/src/generated/portal/models/UpdateThemeDesignRequestDto.ts +32 -32
  346. package/src/generated/portal/models/ValidateEmailRequestDto.ts +8 -8
  347. package/src/generated/portal/models/ValidateEmailResponseDto.ts +9 -9
  348. package/src/generated/portal/models/VerifyOtpRequestDto.ts +9 -9
  349. package/src/generated/portal/models/VideoStreamResponseDto.ts +19 -19
  350. package/src/generated/portal/models/VirtualStreamResponseDto.ts +15 -15
  351. package/src/generated/portal/models/WaitlistDetailResponseDto.ts +18 -18
  352. package/src/generated/portal/models/WaitlistShowFilterResponseDto.ts +9 -9
  353. package/src/generated/portal/models/WaitlistShowResponseDto.ts +22 -22
  354. package/src/generated/portal/models/WavesResponseDto.ts +9 -9
  355. package/src/generated/portal/models/WeeklyResponseDto.ts +15 -15
  356. package/src/generated/portal/models/createServiceAgreementRequestDto.ts +9 -9
  357. package/src/generated/portal/models/seatShowIdPair.ts +9 -9
  358. package/src/generated/portal/models/tierIdQuantityPair.ts +9 -9
  359. package/src/generated/portal/services/AccountService.ts +140 -140
  360. package/src/generated/portal/services/AccountingService.ts +493 -493
  361. package/src/generated/portal/services/AppService.ts +33 -33
  362. package/src/generated/portal/services/AuthService.ts +183 -183
  363. package/src/generated/portal/services/BookmarkService.ts +127 -127
  364. package/src/generated/portal/services/ClientToolsGeneratedEmailsService.ts +109 -109
  365. package/src/generated/portal/services/ClientToolsParentLetterService.ts +28 -28
  366. package/src/generated/portal/services/ClientToolsPatronDatabaseService.ts +441 -441
  367. package/src/generated/portal/services/ClientToolsSeatAssignmentToolService.ts +28 -28
  368. package/src/generated/portal/services/ClientToolsStripeOnboardingService.ts +28 -28
  369. package/src/generated/portal/services/ClientToolsThemeBuilderService.ts +149 -149
  370. package/src/generated/portal/services/ClientToolsThemesLibraryService.ts +63 -63
  371. package/src/generated/portal/services/ClientToolsTicketScanningService.ts +71 -71
  372. package/src/generated/portal/services/ClientToolsTicketingLinkService.ts +58 -58
  373. package/src/generated/portal/services/ClientToolsUnapprovedOrdersService.ts +81 -81
  374. package/src/generated/portal/services/ClientToolsWaitlistService.ts +204 -204
  375. package/src/generated/portal/services/DashboardService.ts +71 -71
  376. package/src/generated/portal/services/FeaturesBlockedSeatsService.ts +548 -548
  377. package/src/generated/portal/services/FeaturesCheckoutQuestionsService.ts +144 -144
  378. package/src/generated/portal/services/FeaturesDiscountsService.ts +319 -319
  379. package/src/generated/portal/services/FeaturesDonationsService.ts +247 -247
  380. package/src/generated/portal/services/FeaturesGiftCardsService.ts +177 -177
  381. package/src/generated/portal/services/FeaturesGoldenTicketsService.ts +208 -208
  382. package/src/generated/portal/services/FeaturesLandingPageService.ts +299 -299
  383. package/src/generated/portal/services/FeaturesPriorityService.ts +255 -255
  384. package/src/generated/portal/services/FeaturesProductsService.ts +441 -441
  385. package/src/generated/portal/services/OrderLookupService.ts +615 -615
  386. package/src/generated/portal/services/ReportsService.ts +488 -488
  387. package/src/generated/portal/services/SettingsService.ts +377 -377
  388. package/src/generated/portal/services/ShowsService.ts +658 -658
  389. package/src/generated/portal/types.ts +336 -336
  390. package/src/generated/scanner/core/ApiError.ts +1 -1
  391. package/src/generated/scanner/core/ApiRequestOptions.ts +1 -1
  392. package/src/generated/scanner/core/ApiResult.ts +1 -1
  393. package/src/generated/scanner/core/CancelablePromise.ts +1 -1
  394. package/src/generated/scanner/core/OpenAPI.ts +1 -1
  395. package/src/generated/scanner/core/request.ts +387 -387
  396. package/src/generated/scanner/models/DatabaseUpload.ts +10 -10
  397. package/src/generated/scanner/models/DatabaseUploadData.ts +10 -10
  398. package/src/generated/scanner/models/DisplayMessage.ts +10 -10
  399. package/src/generated/scanner/models/EventResponse.ts +16 -16
  400. package/src/generated/scanner/models/EventResponseStats.ts +11 -11
  401. package/src/generated/scanner/models/EventSkin.ts +23 -23
  402. package/src/generated/scanner/models/MobileReceiptResponse.ts +21 -21
  403. package/src/generated/scanner/models/OrderDetails.ts +15 -15
  404. package/src/generated/scanner/models/OrderProduct.ts +15 -15
  405. package/src/generated/scanner/models/OrderSeat.ts +19 -19
  406. package/src/generated/scanner/models/OrderSummary.ts +11 -11
  407. package/src/generated/scanner/models/Product.ts +15 -15
  408. package/src/generated/scanner/models/ProductQR.ts +8 -8
  409. package/src/generated/scanner/models/ProductScan.ts +16 -16
  410. package/src/generated/scanner/models/QueryDatabaseUnionResult.ts +13 -13
  411. package/src/generated/scanner/models/ReceiptBuyerDetails.ts +11 -11
  412. package/src/generated/scanner/models/ReceiptEventDetails.ts +12 -12
  413. package/src/generated/scanner/models/ReceiptProductDetails.ts +19 -19
  414. package/src/generated/scanner/models/ReceiptResponse.ts +21 -21
  415. package/src/generated/scanner/models/ReceiptSeatDetails.ts +15 -15
  416. package/src/generated/scanner/models/ResultMessage.ts +9 -9
  417. package/src/generated/scanner/models/RowResult.ts +8 -8
  418. package/src/generated/scanner/models/SeatQR.ts +8 -8
  419. package/src/generated/scanner/models/SeatResponse.ts +12 -12
  420. package/src/generated/scanner/models/SeatResult.ts +8 -8
  421. package/src/generated/scanner/models/SectionResult.ts +8 -8
  422. package/src/generated/scanner/models/TicketDatabase.ts +19 -19
  423. package/src/generated/scanner/models/TicketScan.ts +24 -24
  424. package/src/generated/scanner/models/TicketScanStats.ts +10 -10
  425. package/src/generated/scanner/models/TicketSeats.ts +14 -14
  426. package/src/generated/scanner/models/UploadDatabaseResponse.ts +10 -10
  427. package/src/generated/scanner/services/DatabaseService.ts +110 -110
  428. package/src/generated/scanner/services/OrdersService.ts +114 -114
  429. package/src/generated/scanner/services/ScanningService.ts +331 -331
  430. package/src/generated/shopper/core/ApiError.ts +1 -1
  431. package/src/generated/shopper/core/ApiRequestOptions.ts +1 -1
  432. package/src/generated/shopper/core/ApiResult.ts +1 -1
  433. package/src/generated/shopper/core/CancelablePromise.ts +1 -1
  434. package/src/generated/shopper/core/OpenAPI.ts +1 -1
  435. package/src/generated/shopper/core/request.ts +387 -387
  436. package/src/generated/shopper/models/Account.ts +57 -57
  437. package/src/generated/shopper/models/Album.ts +13 -13
  438. package/src/generated/shopper/models/AlbumImage.ts +13 -13
  439. package/src/generated/shopper/models/AlbumWithImages.ts +11 -11
  440. package/src/generated/shopper/models/AssignNamesReturn.ts +9 -9
  441. package/src/generated/shopper/models/BAHold.ts +10 -10
  442. package/src/generated/shopper/models/BlockOfTickets.ts +18 -18
  443. package/src/generated/shopper/models/Cart.ts +13 -13
  444. package/src/generated/shopper/models/CartCounts.ts +11 -11
  445. package/src/generated/shopper/models/CartWithTime.ts +10 -10
  446. package/src/generated/shopper/models/Chart.ts +13 -13
  447. package/src/generated/shopper/models/CheckoutDonation.ts +9 -9
  448. package/src/generated/shopper/models/CheckoutFailResponse.ts +10 -10
  449. package/src/generated/shopper/models/CheckoutGiftCard.ts +9 -9
  450. package/src/generated/shopper/models/CheckoutPageData.ts +23 -23
  451. package/src/generated/shopper/models/CheckoutProduct.ts +14 -14
  452. package/src/generated/shopper/models/CheckoutQuestion.ts +20 -20
  453. package/src/generated/shopper/models/CheckoutSessionData.ts +35 -35
  454. package/src/generated/shopper/models/CheckoutSubmitBody.ts +35 -35
  455. package/src/generated/shopper/models/CheckoutSuccessResponse.ts +8 -8
  456. package/src/generated/shopper/models/CodeDto.ts +11 -11
  457. package/src/generated/shopper/models/CompleteBody.ts +9 -9
  458. package/src/generated/shopper/models/CreateCustomerResponse.ts +9 -9
  459. package/src/generated/shopper/models/CreateSessionDto.ts +15 -15
  460. package/src/generated/shopper/models/DigitalAsset.ts +21 -21
  461. package/src/generated/shopper/models/DonationContribution.ts +10 -10
  462. package/src/generated/shopper/models/DonationFund.ts +34 -34
  463. package/src/generated/shopper/models/DonationInCart.ts +19 -19
  464. package/src/generated/shopper/models/DonationResult.ts +23 -23
  465. package/src/generated/shopper/models/DonationText.ts +9 -9
  466. package/src/generated/shopper/models/DonationsandContributions.ts +17 -17
  467. package/src/generated/shopper/models/EmailUpdate.ts +12 -12
  468. package/src/generated/shopper/models/EngineSeat.ts +7 -7
  469. package/src/generated/shopper/models/EventDetails.ts +51 -51
  470. package/src/generated/shopper/models/EventGroup.ts +16 -16
  471. package/src/generated/shopper/models/ExistingRefundDetails.ts +9 -9
  472. package/src/generated/shopper/models/FullEventDetails.ts +17 -17
  473. package/src/generated/shopper/models/GAHold.ts +11 -11
  474. package/src/generated/shopper/models/GAResponse.ts +19 -19
  475. package/src/generated/shopper/models/GASeatRelease.ts +10 -10
  476. package/src/generated/shopper/models/GetEventsResponse.ts +11 -11
  477. package/src/generated/shopper/models/GiftCardApplyDto.ts +23 -23
  478. package/src/generated/shopper/models/GiftCardApplyResponse.ts +35 -35
  479. package/src/generated/shopper/models/GiftCardCheckoutInfo.ts +35 -35
  480. package/src/generated/shopper/models/GiftCardEditFormResponse.ts +15 -15
  481. package/src/generated/shopper/models/GiftCardLookupResponse.ts +23 -23
  482. package/src/generated/shopper/models/GiftCardRemoveResponse.ts +19 -19
  483. package/src/generated/shopper/models/GuidReturn.ts +8 -8
  484. package/src/generated/shopper/models/HasAccessResponse.ts +8 -8
  485. package/src/generated/shopper/models/LandingConfig.ts +27 -27
  486. package/src/generated/shopper/models/LandingPageResponse.ts +17 -17
  487. package/src/generated/shopper/models/LinkWithSuccess.ts +9 -9
  488. package/src/generated/shopper/models/NameUpdate.ts +9 -9
  489. package/src/generated/shopper/models/OrderDetails.ts +42 -42
  490. package/src/generated/shopper/models/OrderRecalc.ts +11 -11
  491. package/src/generated/shopper/models/OrderRefundDetails.ts +10 -10
  492. package/src/generated/shopper/models/OrderSeat.ts +30 -30
  493. package/src/generated/shopper/models/OrderStream.ts +16 -16
  494. package/src/generated/shopper/models/OrderTicketReceipt.ts +30 -30
  495. package/src/generated/shopper/models/PatronName.ts +10 -10
  496. package/src/generated/shopper/models/PaymentDetail.ts +40 -40
  497. package/src/generated/shopper/models/PaymentFail.ts +23 -23
  498. package/src/generated/shopper/models/PaymentSuccess.ts +23 -23
  499. package/src/generated/shopper/models/PerformerEventList.ts +9 -9
  500. package/src/generated/shopper/models/PickupReturn.ts +11 -11
  501. package/src/generated/shopper/models/PriorityCode.ts +10 -10
  502. package/src/generated/shopper/models/Product.ts +28 -28
  503. package/src/generated/shopper/models/ProductAddResponse.ts +12 -12
  504. package/src/generated/shopper/models/ProductBody.ts +12 -12
  505. package/src/generated/shopper/models/ProductData.ts +11 -11
  506. package/src/generated/shopper/models/ProductDeleteBody.ts +11 -11
  507. package/src/generated/shopper/models/ProductDetails.ts +16 -16
  508. package/src/generated/shopper/models/ProductInCart.ts +17 -17
  509. package/src/generated/shopper/models/ProductUpdateResponse.ts +10 -10
  510. package/src/generated/shopper/models/ProductVariant.ts +18 -18
  511. package/src/generated/shopper/models/RecalcResponse.ts +10 -10
  512. package/src/generated/shopper/models/RecalcReturn.ts +31 -31
  513. package/src/generated/shopper/models/Receipt.ts +38 -38
  514. package/src/generated/shopper/models/ReceiptMessages.ts +8 -8
  515. package/src/generated/shopper/models/ReceiptQuestions.ts +12 -12
  516. package/src/generated/shopper/models/Refund.ts +12 -12
  517. package/src/generated/shopper/models/RefundPolicy.ts +8 -8
  518. package/src/generated/shopper/models/RefundReason.ts +12 -12
  519. package/src/generated/shopper/models/RefundRequest.ts +13 -13
  520. package/src/generated/shopper/models/RefundRequestInfo.ts +15 -15
  521. package/src/generated/shopper/models/RegisterStreamRequest.ts +9 -9
  522. package/src/generated/shopper/models/RegisterStreamResponse.ts +10 -10
  523. package/src/generated/shopper/models/RootConfigResponse.ts +22 -22
  524. package/src/generated/shopper/models/SaveDetailsBody.ts +26 -26
  525. package/src/generated/shopper/models/SaveNonceBody.ts +15 -15
  526. package/src/generated/shopper/models/SeatData.ts +9 -9
  527. package/src/generated/shopper/models/SeatHoldReturn.ts +11 -11
  528. package/src/generated/shopper/models/SeatInCart.ts +26 -26
  529. package/src/generated/shopper/models/SeatingTier.ts +27 -27
  530. package/src/generated/shopper/models/Section.ts +20 -20
  531. package/src/generated/shopper/models/SectionRule.ts +15 -15
  532. package/src/generated/shopper/models/SessionHeartbeatDto.ts +9 -9
  533. package/src/generated/shopper/models/SessionInfoDto.ts +20 -20
  534. package/src/generated/shopper/models/SiteDisposition.ts +10 -10
  535. package/src/generated/shopper/models/SiteTheme.ts +40 -40
  536. package/src/generated/shopper/models/StudioOrderSettings.ts +14 -14
  537. package/src/generated/shopper/models/StudioSettings.ts +12 -12
  538. package/src/generated/shopper/models/SuccessResponse.ts +8 -8
  539. package/src/generated/shopper/models/SuccessWithTime.ts +15 -15
  540. package/src/generated/shopper/models/SummaryBody.ts +8 -8
  541. package/src/generated/shopper/models/TheatreAddresses.ts +15 -15
  542. package/src/generated/shopper/models/Ticket.ts +9 -9
  543. package/src/generated/shopper/models/TicketBlock.ts +18 -18
  544. package/src/generated/shopper/models/TicketInstructions.ts +8 -8
  545. package/src/generated/shopper/models/UniversalCodeResponse.ts +27 -27
  546. package/src/generated/shopper/models/UpdateTierData.ts +10 -10
  547. package/src/generated/shopper/models/UpdateTierFail.ts +10 -10
  548. package/src/generated/shopper/models/WaitlistResponse.ts +9 -9
  549. package/src/generated/shopper/models/WaitlistUpdate.ts +14 -14
  550. package/src/generated/shopper/services/AccountService.ts +129 -129
  551. package/src/generated/shopper/services/CartService.ts +68 -68
  552. package/src/generated/shopper/services/CheckoutService.ts +171 -171
  553. package/src/generated/shopper/services/CodeService.ts +180 -180
  554. package/src/generated/shopper/services/DonationService.ts +77 -77
  555. package/src/generated/shopper/services/EventService.ts +144 -144
  556. package/src/generated/shopper/services/GiftCardService.ts +172 -172
  557. package/src/generated/shopper/services/OrderService.ts +513 -513
  558. package/src/generated/shopper/services/PaymentService.ts +109 -109
  559. package/src/generated/shopper/services/ProductService.ts +109 -109
  560. package/src/generated/shopper/services/SeatService.ts +231 -231
  561. package/src/generated/shopper/services/SessionService.ts +92 -92
  562. package/src/scripts/build-all.ts +129 -129
  563. package/src/scripts/check-version-not-published.ts +28 -28
  564. package/src/scripts/generate-definition.ts +89 -89
  565. package/src/staging/index.ts +39 -39
  566. package/src/staging/portal.ts +73 -73
  567. package/src/staging/wrapService.ts +51 -51
  568. package/staging.ts +2 -2
  569. package/test.ts +31 -31
  570. package/tsconfig.cjs.json +11 -11
  571. package/tsconfig.esm.json +11 -11
  572. package/tsconfig.json +16 -16
@@ -1 +1 @@
1
- var H=class extends Error{constructor(e,t,r){super(r),this.name="ApiError",this.url=t.url,this.status=t.status,this.statusText=t.statusText,this.body=t.body,this.request=e}};var b=function(a,e,t,r,i){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?a!==e||!i:!e.has(a))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?i.call(a,t):i?i.value=t:e.set(a,t),t},m=function(a,e,t,r){if(t==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?a!==e||!r:!e.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?r:t==="a"?r.call(a):r?r.value:e.get(a)},k,j,I,D,$,z,B,Qe=class extends Error{constructor(e){super(e),this.name="CancelError"}get isCancelled(){return!0}},K=class{constructor(e){k.set(this,void 0),j.set(this,void 0),I.set(this,void 0),D.set(this,void 0),$.set(this,void 0),z.set(this,void 0),B.set(this,void 0),b(this,k,!1,"f"),b(this,j,!1,"f"),b(this,I,!1,"f"),b(this,D,[],"f"),b(this,$,new Promise((t,r)=>{b(this,z,t,"f"),b(this,B,r,"f");let i=n=>{m(this,k,"f")||m(this,j,"f")||m(this,I,"f")||(b(this,k,!0,"f"),m(this,z,"f")&&m(this,z,"f").call(this,n))},d=n=>{m(this,k,"f")||m(this,j,"f")||m(this,I,"f")||(b(this,j,!0,"f"),m(this,B,"f")&&m(this,B,"f").call(this,n))},l=n=>{m(this,k,"f")||m(this,j,"f")||m(this,I,"f")||m(this,D,"f").push(n)};return Object.defineProperty(l,"isResolved",{get:()=>m(this,k,"f")}),Object.defineProperty(l,"isRejected",{get:()=>m(this,j,"f")}),Object.defineProperty(l,"isCancelled",{get:()=>m(this,I,"f")}),e(i,d,l)}),"f")}get[(k=new WeakMap,j=new WeakMap,I=new WeakMap,D=new WeakMap,$=new WeakMap,z=new WeakMap,B=new WeakMap,Symbol.toStringTag)](){return"Cancellable Promise"}then(e,t){return m(this,$,"f").then(e,t)}catch(e){return m(this,$,"f").catch(e)}finally(e){return m(this,$,"f").finally(e)}cancel(){if(!(m(this,k,"f")||m(this,j,"f")||m(this,I,"f"))){if(b(this,I,!0,"f"),m(this,D,"f").length)try{for(let e of m(this,D,"f"))e()}catch(e){console.warn("Cancellation threw an error",e);return}m(this,D,"f").length=0,m(this,B,"f")&&m(this,B,"f").call(this,new Qe("Request aborted"))}}get isCancelled(){return m(this,I,"f")}};var u={BASE:"https://api.drttix.com/shopper",VERSION:"20260327.1",WITH_CREDENTIALS:!1,CREDENTIALS:"include",TOKEN:void 0,USERNAME:void 0,PASSWORD:void 0,HEADERS:void 0,ENCODE_PATH:void 0};var Ke=a=>a!=null,Y=a=>typeof a=="string",ot=a=>Y(a)&&a!=="",at=a=>typeof a=="object"&&typeof a.type=="string"&&typeof a.stream=="function"&&typeof a.arrayBuffer=="function"&&typeof a.constructor=="function"&&typeof a.constructor.name=="string"&&/^(Blob|File)$/.test(a.constructor.name)&&/^(Blob|File)$/.test(a[Symbol.toStringTag]),ft=a=>a instanceof FormData,jt=a=>{try{return btoa(a)}catch{return Buffer.from(a).toString("base64")}},Ct=a=>{let e=[],t=(i,d)=>{e.push(`${encodeURIComponent(i)}=${encodeURIComponent(String(d))}`)},r=(i,d)=>{Ke(d)&&(Array.isArray(d)?d.forEach(l=>{r(i,l)}):typeof d=="object"?Object.entries(d).forEach(([l,n])=>{r(`${i}[${l}]`,n)}):t(i,d))};return Object.entries(a).forEach(([i,d])=>{r(i,d)}),e.length>0?`?${e.join("&")}`:""},Gt=(a,e)=>{let t=a.ENCODE_PATH||encodeURI,r=e.url.replace("{api-version}",a.VERSION).replace(/{(.*?)}/g,(d,l)=>{var n;return!((n=e.path)===null||n===void 0)&&n.hasOwnProperty(l)?t(String(e.path[l])):d}),i=`${a.BASE}${r}`;return e.query?`${i}${Ct(e.query)}`:i},Rt=a=>{if(a.formData){let e=new FormData,t=(r,i)=>{Y(i)||at(i)?e.append(r,i):e.append(r,JSON.stringify(i))};return Object.entries(a.formData).filter(([r,i])=>Ke(i)).forEach(([r,i])=>{Array.isArray(i)?i.forEach(d=>t(r,d)):t(r,i)}),e}},ze=async(a,e)=>typeof e=="function"?e(a):e,_t=async(a,e)=>{let[t,r,i,d]=await Promise.all([ze(e,a.TOKEN),ze(e,a.USERNAME),ze(e,a.PASSWORD),ze(e,a.HEADERS)]),l=Object.fromEntries(Object.entries(e.headers||{}).filter(([p,h])=>Ke(h))),n=Object.entries(Object.assign(Object.assign({Accept:"application/json"},l),d)).filter(([p,h])=>Ke(h)).reduce((p,[h,w])=>Object.assign(Object.assign({},p),{[h]:String(w)}),{});if(ot(t)&&(n.Authorization=`Bearer ${t}`),ot(r)&&ot(i)){let p=jt(`${r}:${i}`);n.Authorization=`Basic ${p}`}return e.body!==void 0&&(e.mediaType?n["Content-Type"]=e.mediaType:at(e.body)?n["Content-Type"]=e.body.type||"application/octet-stream":Y(e.body)?n["Content-Type"]="text/plain":ft(e.body)||(n["Content-Type"]="application/json")),new Headers(n)},At=a=>{var e;if(a.body!==void 0)return!((e=a.mediaType)===null||e===void 0)&&e.includes("/json")?JSON.stringify(a.body):Y(a.body)||at(a.body)||ft(a.body)?a.body:JSON.stringify(a.body)},Dt=async(a,e,t,r,i,d,l)=>{let n=new AbortController,p={headers:d,body:r??i,method:e.method,signal:n.signal};return a.WITH_CREDENTIALS&&(p.credentials=a.CREDENTIALS),l(()=>n.abort()),await fetch(t,p)},Bt=(a,e)=>{if(e){let t=a.headers.get(e);if(Y(t))return t}},Nt=async a=>{if(a.status!==204)try{let e=a.headers.get("Content-Type");if(e)return["application/json","application/problem+json"].some(i=>e.toLowerCase().startsWith(i))?await a.json():await a.text()}catch(e){console.error(e)}},Ut=(a,e)=>{var t,r;let d=Object.assign({400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable"},a.errors)[e.status];if(d)throw new H(a,e,d);if(!e.ok){let l=(t=e.status)!==null&&t!==void 0?t:"unknown",n=(r=e.statusText)!==null&&r!==void 0?r:"unknown",p=(()=>{try{return JSON.stringify(e.body,null,2)}catch{return}})();throw new H(a,e,`Generic Error: status: ${l}; status text: ${n}; body: ${p}`)}},st,c=(a,e)=>new K(async(t,r,i)=>{try{let d=Gt(a,e),l=Rt(e),n=At(e),p=await _t(a,e),h={};p.forEach((g,E)=>{h[E]=g}),st&&(h.Cookie=st);let w=new Headers(h);if(!i.isCancelled){let g=await Dt(a,e,d,n,l,w,i),E=g.headers.get("set-cookie");E&&(st=E);let Q=await Nt(g),S=Bt(g,e.responseHeader),A={url:d,ok:g.ok,status:g.status,statusText:g.statusText,body:S??Q};Ut(e,A),t(A.body)}}catch(d){r(d)}});var X=class{static getTheme(e,t,r){return c(u,{method:"GET",url:"/theme",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getDisposition(e,t,r){return c(u,{method:"GET",url:"/disposition",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getRoot(e,t,r){return c(u,{method:"GET",url:"/root",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getLandingPage(e,t,r){return c(u,{method:"GET",url:"/landing",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var Z=class{static getCart(e,t,r){return c(u,{method:"GET",url:"/cart",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static deleteCart(e,t,r){return c(u,{method:"DELETE",url:"/cart",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var ee=class{static getCheckout(e,t,r){return c(u,{method:"GET",url:"/checkout",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static submitCheckout(e,t,r,i){return c(u,{method:"POST",url:"/checkout",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Returns validation error.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static saveNonce(e,t,r,i){return c(u,{method:"POST",url:"/checkout/nonce",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static clearNonce(e,t,r){return c(u,{method:"DELETE",url:"/checkout/nonce",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static saveDetails(e,t,r,i){return c(u,{method:"POST",url:"/checkout/details",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var te=class{static requestEventAccess(e,t,r,i){return c(u,{method:"GET",url:"/code/access",headers:{shopperguid:t,accountid:r,apikey:i},query:{eventId:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static applyCode(e,t,r,i){return c(u,{method:"POST",url:"/code",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static applyCoupon(e,t,r,i){return c(u,{method:"POST",url:"/code/discount",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static removeCoupon(e,t,r,i){return c(u,{method:"DELETE",url:"/code/discount",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static applyPriorityCode(e,t,r,i){return c(u,{method:"POST",url:"/code/priority",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var re=class{static getDonations(e,t,r){return c(u,{method:"GET",url:"/donation",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postDonation(e,t,r,i,d){return c(u,{method:"POST",url:"/donation",headers:{ipAddress:e,shopperguid:t,accountid:r,apikey:i},body:d,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var oe=class{static getEvents(e,t,r){return c(u,{method:"GET",url:"/event",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getPerformers(e,t,r,i){return c(u,{method:"GET",url:"/event/performer",headers:{shopperguid:t,accountid:r,apikey:i},query:{performer:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getEventById(e,t,r,i){return c(u,{method:"GET",url:"/event/{id}",path:{id:e},headers:{shopperguid:t,accountid:r,apikey:i},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postWishlist(e,t,r,i){return c(u,{method:"POST",url:"/event/waitlist",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var se=class{static lookupGiftCard(e,t,r,i,d){return c(u,{method:"GET",url:"/gift-card",headers:{shopperguid:r,accountid:i,apikey:d},query:{code:e,pin:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static applyGiftCard(e,t,r,i){return c(u,{method:"POST",url:"/gift-card",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static removeGiftCard(e,t,r){return c(u,{method:"DELETE",url:"/gift-card",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getGiftCardCheckoutInfo(e,t,r){return c(u,{method:"GET",url:"/gift-card/checkout",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getGiftCardEditForm(e,t,r){return c(u,{method:"GET",url:"/gift-card/edit",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var ae=class{static getReceipt(e,t,r,i){return c(u,{method:"GET",url:"/order/receipt",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getGwalletLink(e,t,r,i){return c(u,{method:"GET",url:"/order/gwallet",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getTestingGuid(e,t,r,i){return c(u,{method:"GET",url:"/order/testing",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getAssignNames(e,t,r,i){return c(u,{method:"GET",url:"/order/assign-names",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postAssignNames(e,t,r,i,d){return c(u,{method:"POST",url:"/order/assign-names",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},body:d,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postEmailTickets(e,t,r,i,d){return c(u,{method:"POST",url:"/order/email-tickets",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},body:d,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getTicketBlock(e,t,r,i){return c(u,{method:"GET",url:"/order/pickup",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postPickup(e,t,r,i){return c(u,{method:"POST",url:"/order/pickup",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postEmailReceipt(e,t,r,i){return c(u,{method:"POST",url:"/order/email-receipt",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getRefundRequest(e,t,r,i){return c(u,{method:"GET",url:"/order/refund-request",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postRefundRequest(e,t,r,i,d){return c(u,{method:"POST",url:"/order/refund-request",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},body:d,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postRecalcOrder(e,t,r,i,d){return c(u,{method:"POST",url:"/order/recalc",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},body:d,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postRegisterStream(e,t,r,i){return c(u,{method:"POST",url:"/order/stream-register",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static deleteRegisteredStream(e,t,r,i){return c(u,{method:"DELETE",url:"/order/stream-register",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var ie=class{static summarizePayment(e,t,r,i){return c(u,{method:"POST",url:"/payment/summary",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static completePayment(e,t,r,i){return c(u,{method:"POST",url:"/payment/complete",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Returns the result of the payment failure.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static createCustomerSession(e,t,r){return c(u,{method:"POST",url:"/payment/customer",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var de=class{static getProducts(e,t,r){return c(u,{method:"GET",url:"/product",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static addProduct(e,t,r,i){return c(u,{method:"POST",url:"/product",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static deleteProduct(e,t,r,i){return c(u,{method:"DELETE",url:"/product",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var ne=class{static health(){return c(u,{method:"GET",url:"/seat/health",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static holdReservedSeat(e,t,r,i){return c(u,{method:"POST",url:"/seat/hold-reserved",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static holdGaSeat(e,t,r,i){return c(u,{method:"POST",url:"/seat/hold-ga",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static holdBaSeat(e,t,r,i){return c(u,{method:"POST",url:"/seat/hold-ba",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static releaseReservedSeat(e,t,r,i){return c(u,{method:"DELETE",url:"/seat/release-reserved",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static releaseGaSeat(e,t,r,i){return c(u,{method:"DELETE",url:"/seat/release-ga",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static updateTier(e,t,r,i){return c(u,{method:"POST",url:"/seat/update-tier",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Failed to update the tier information.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var ue=class{static createSession(e){return c(u,{method:"POST",url:"/session",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getSessions(e,t,r){return c(u,{method:"GET",url:"/session",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getHeartbeat(e,t,r){return c(u,{method:"GET",url:"/session/heartbeat",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var yt={};var Tt={account:X,cart:Z,checkout:ee,code:te,donation:re,event:oe,giftcard:se,order:ae,payment:ie,product:de,seat:ne,session:ue};var W=class extends Error{constructor(e,t,r){super(r),this.name="ApiError",this.url=t.url,this.status=t.status,this.statusText=t.statusText,this.body=t.body,this.request=e}};var P=function(a,e,t,r,i){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?a!==e||!i:!e.has(a))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?i.call(a,t):i?i.value=t:e.set(a,t),t},f=function(a,e,t,r){if(t==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?a!==e||!r:!e.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?r:t==="a"?r.call(a):r?r.value:e.get(a)},C,G,v,N,M,ce,U,Ye=class extends Error{constructor(e){super(e),this.name="CancelError"}get isCancelled(){return!0}},le=class{constructor(e){C.set(this,void 0),G.set(this,void 0),v.set(this,void 0),N.set(this,void 0),M.set(this,void 0),ce.set(this,void 0),U.set(this,void 0),P(this,C,!1,"f"),P(this,G,!1,"f"),P(this,v,!1,"f"),P(this,N,[],"f"),P(this,M,new Promise((t,r)=>{P(this,ce,t,"f"),P(this,U,r,"f");let i=n=>{f(this,C,"f")||f(this,G,"f")||f(this,v,"f")||(P(this,C,!0,"f"),f(this,ce,"f")&&f(this,ce,"f").call(this,n))},d=n=>{f(this,C,"f")||f(this,G,"f")||f(this,v,"f")||(P(this,G,!0,"f"),f(this,U,"f")&&f(this,U,"f").call(this,n))},l=n=>{f(this,C,"f")||f(this,G,"f")||f(this,v,"f")||f(this,N,"f").push(n)};return Object.defineProperty(l,"isResolved",{get:()=>f(this,C,"f")}),Object.defineProperty(l,"isRejected",{get:()=>f(this,G,"f")}),Object.defineProperty(l,"isCancelled",{get:()=>f(this,v,"f")}),e(i,d,l)}),"f")}get[(C=new WeakMap,G=new WeakMap,v=new WeakMap,N=new WeakMap,M=new WeakMap,ce=new WeakMap,U=new WeakMap,Symbol.toStringTag)](){return"Cancellable Promise"}then(e,t){return f(this,M,"f").then(e,t)}catch(e){return f(this,M,"f").catch(e)}finally(e){return f(this,M,"f").finally(e)}cancel(){if(!(f(this,C,"f")||f(this,G,"f")||f(this,v,"f"))){if(P(this,v,!0,"f"),f(this,N,"f").length)try{for(let e of f(this,N,"f"))e()}catch(e){console.warn("Cancellation threw an error",e);return}f(this,N,"f").length=0,f(this,U,"f")&&f(this,U,"f").call(this,new Ye("Request aborted"))}}get isCancelled(){return f(this,v,"f")}};var T={BASE:"https://api.drttix.com/scanner-v3",VERSION:"20260307.1",WITH_CREDENTIALS:!1,CREDENTIALS:"include",TOKEN:void 0,USERNAME:void 0,PASSWORD:void 0,HEADERS:void 0,ENCODE_PATH:void 0};var Ze=a=>a!=null,pe=a=>typeof a=="string",it=a=>pe(a)&&a!=="",nt=a=>typeof a=="object"&&typeof a.type=="string"&&typeof a.stream=="function"&&typeof a.arrayBuffer=="function"&&typeof a.constructor=="function"&&typeof a.constructor.name=="string"&&/^(Blob|File)$/.test(a.constructor.name)&&/^(Blob|File)$/.test(a[Symbol.toStringTag]),gt=a=>a instanceof FormData,Lt=a=>{try{return btoa(a)}catch{return Buffer.from(a).toString("base64")}},Ft=a=>{let e=[],t=(i,d)=>{e.push(`${encodeURIComponent(i)}=${encodeURIComponent(String(d))}`)},r=(i,d)=>{Ze(d)&&(Array.isArray(d)?d.forEach(l=>{r(i,l)}):typeof d=="object"?Object.entries(d).forEach(([l,n])=>{r(`${i}[${l}]`,n)}):t(i,d))};return Object.entries(a).forEach(([i,d])=>{r(i,d)}),e.length>0?`?${e.join("&")}`:""},Ht=(a,e)=>{let t=a.ENCODE_PATH||encodeURI,r=e.url.replace("{api-version}",a.VERSION).replace(/{(.*?)}/g,(d,l)=>{var n;return!((n=e.path)===null||n===void 0)&&n.hasOwnProperty(l)?t(String(e.path[l])):d}),i=`${a.BASE}${r}`;return e.query?`${i}${Ft(e.query)}`:i},$t=a=>{if(a.formData){let e=new FormData,t=(r,i)=>{pe(i)||nt(i)?e.append(r,i):e.append(r,JSON.stringify(i))};return Object.entries(a.formData).filter(([r,i])=>Ze(i)).forEach(([r,i])=>{Array.isArray(i)?i.forEach(d=>t(r,d)):t(r,i)}),e}},Xe=async(a,e)=>typeof e=="function"?e(a):e,Wt=async(a,e)=>{let[t,r,i,d]=await Promise.all([Xe(e,a.TOKEN),Xe(e,a.USERNAME),Xe(e,a.PASSWORD),Xe(e,a.HEADERS)]),l=Object.fromEntries(Object.entries(e.headers||{}).filter(([p,h])=>Ze(h))),n=Object.entries(Object.assign(Object.assign({Accept:"application/json"},l),d)).filter(([p,h])=>Ze(h)).reduce((p,[h,w])=>Object.assign(Object.assign({},p),{[h]:String(w)}),{});if(it(t)&&(n.Authorization=`Bearer ${t}`),it(r)&&it(i)){let p=Lt(`${r}:${i}`);n.Authorization=`Basic ${p}`}return e.body!==void 0&&(e.mediaType?n["Content-Type"]=e.mediaType:nt(e.body)?n["Content-Type"]=e.body.type||"application/octet-stream":pe(e.body)?n["Content-Type"]="text/plain":gt(e.body)||(n["Content-Type"]="application/json")),new Headers(n)},Mt=a=>{var e;if(a.body!==void 0)return!((e=a.mediaType)===null||e===void 0)&&e.includes("/json")?JSON.stringify(a.body):pe(a.body)||nt(a.body)||gt(a.body)?a.body:JSON.stringify(a.body)},Jt=async(a,e,t,r,i,d,l)=>{let n=new AbortController,p={headers:d,body:r??i,method:e.method,signal:n.signal};return a.WITH_CREDENTIALS&&(p.credentials=a.CREDENTIALS),l(()=>n.abort()),await fetch(t,p)},Vt=(a,e)=>{if(e){let t=a.headers.get(e);if(pe(t))return t}},Qt=async a=>{if(a.status!==204)try{let e=a.headers.get("Content-Type");if(e)return["application/json","application/problem+json"].some(i=>e.toLowerCase().startsWith(i))?await a.json():await a.text()}catch(e){console.error(e)}},zt=(a,e)=>{var t,r;let d=Object.assign({400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable"},a.errors)[e.status];if(d)throw new W(a,e,d);if(!e.ok){let l=(t=e.status)!==null&&t!==void 0?t:"unknown",n=(r=e.statusText)!==null&&r!==void 0?r:"unknown",p=(()=>{try{return JSON.stringify(e.body,null,2)}catch{return}})();throw new W(a,e,`Generic Error: status: ${l}; status text: ${n}; body: ${p}`)}},dt,x=(a,e)=>new le(async(t,r,i)=>{try{let d=Ht(a,e),l=$t(e),n=Mt(e),p=await Wt(a,e),h={};p.forEach((g,E)=>{h[E]=g}),dt&&(h.Cookie=dt);let w=new Headers(h);if(!i.isCancelled){let g=await Jt(a,e,d,n,l,w,i),E=g.headers.get("set-cookie");E&&(dt=E);let Q=await Qt(g),S=Vt(g,e.responseHeader),A={url:d,ok:g.ok,status:g.status,statusText:g.statusText,body:S??Q};zt(e,A),t(A.body)}}catch(d){r(d)}});var he=class{static download(e,t,r,i,d){return x(T,{method:"GET",url:"/db/dl",query:{c:e,devicename:t,username:r,ovr:d,lang:i},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static query(e,t,r,i){return x(T,{method:"GET",url:"/db/q",query:{c:e,ds:t,s:r,r:i},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static upload(e,t,r){return x(T,{method:"POST",url:"/db/ul",query:{c:e,devicename:t},body:r,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var me=class{static ordersControllerGetOrdersByPhone(e,t){return x(T,{method:"GET",url:"/orders/by-phone",query:{c:e,q:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static ordersControllerGetOrdersByName(e,t){return x(T,{method:"GET",url:"/orders/by-name",query:{c:e,q:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static ordersControllerGetOrdersByCreditCard(e,t){return x(T,{method:"GET",url:"/orders/by-cc",query:{c:e,q:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static ordersControllerGetOrdersByNumber(e,t){return x(T,{method:"GET",url:"/orders/by-number",query:{c:e,q:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var fe=class{static appControllerHealth(){return x(T,{method:"GET",url:"/health",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerResetEvent(e,t){return x(T,{method:"GET",url:"/reset",query:{c:e,lang:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerScanProduct(e,t,r,i){return x(T,{method:"POST",url:"/merch",query:{c:e,devicename:t,lang:i},body:r,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerScanBarcode(e,t,r,i){return x(T,{method:"GET",url:"/ticket",query:{c:e,devicename:t,bc:r,lang:i},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerScanTicketFromPost(e,t,r,i){return x(T,{method:"POST",url:"/ticket",query:{c:e,devicename:t,lang:i},body:r,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerGetSeat(e,t,r,i,d){return x(T,{method:"GET",url:"/seat",query:{c:e,section:t,row:r,seat:i,lang:d},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerGetReceipt(e,t){return x(T,{method:"GET",url:"/receipt",query:{guid:e,lang:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerGetReceiptMobile(e,t){return x(T,{method:"GET",url:"/receipt-mobile",query:{guid:e,lang:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerGetOrder(e,t,r,i){return x(T,{method:"GET",url:"/order",query:{c:e,oid:t,type:r,lang:i},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerGetShow(e,t,r){return x(T,{method:"GET",url:"/show",query:{c:e,devicename:t,lang:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerGetStrings(e){return x(T,{method:"GET",url:"/strings",query:{lang:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var xt={};var Et={database:he,orders:me,scanning:fe};var J=class extends Error{constructor(e,t,r){super(r),this.name="ApiError",this.url=t.url,this.status=t.status,this.statusText=t.statusText,this.body=t.body,this.request=e}};var O=function(a,e,t,r,i){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?a!==e||!i:!e.has(a))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?i.call(a,t):i?i.value=t:e.set(a,t),t},y=function(a,e,t,r){if(t==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?a!==e||!r:!e.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?r:t==="a"?r.call(a):r?r.value:e.get(a)},R,_,q,L,V,ye,F,et=class extends Error{constructor(e){super(e),this.name="CancelError"}get isCancelled(){return!0}},Te=class{constructor(e){R.set(this,void 0),_.set(this,void 0),q.set(this,void 0),L.set(this,void 0),V.set(this,void 0),ye.set(this,void 0),F.set(this,void 0),O(this,R,!1,"f"),O(this,_,!1,"f"),O(this,q,!1,"f"),O(this,L,[],"f"),O(this,V,new Promise((t,r)=>{O(this,ye,t,"f"),O(this,F,r,"f");let i=n=>{y(this,R,"f")||y(this,_,"f")||y(this,q,"f")||(O(this,R,!0,"f"),y(this,ye,"f")&&y(this,ye,"f").call(this,n))},d=n=>{y(this,R,"f")||y(this,_,"f")||y(this,q,"f")||(O(this,_,!0,"f"),y(this,F,"f")&&y(this,F,"f").call(this,n))},l=n=>{y(this,R,"f")||y(this,_,"f")||y(this,q,"f")||y(this,L,"f").push(n)};return Object.defineProperty(l,"isResolved",{get:()=>y(this,R,"f")}),Object.defineProperty(l,"isRejected",{get:()=>y(this,_,"f")}),Object.defineProperty(l,"isCancelled",{get:()=>y(this,q,"f")}),e(i,d,l)}),"f")}get[(R=new WeakMap,_=new WeakMap,q=new WeakMap,L=new WeakMap,V=new WeakMap,ye=new WeakMap,F=new WeakMap,Symbol.toStringTag)](){return"Cancellable Promise"}then(e,t){return y(this,V,"f").then(e,t)}catch(e){return y(this,V,"f").catch(e)}finally(e){return y(this,V,"f").finally(e)}cancel(){if(!(y(this,R,"f")||y(this,_,"f")||y(this,q,"f"))){if(O(this,q,!0,"f"),y(this,L,"f").length)try{for(let e of y(this,L,"f"))e()}catch(e){console.warn("Cancellation threw an error",e);return}y(this,L,"f").length=0,y(this,F,"f")&&y(this,F,"f").call(this,new et("Request aborted"))}}get isCancelled(){return y(this,q,"f")}};var o={BASE:"",VERSION:"20260327.1",WITH_CREDENTIALS:!1,CREDENTIALS:"include",TOKEN:void 0,USERNAME:void 0,PASSWORD:void 0,HEADERS:void 0,ENCODE_PATH:void 0};var rt=a=>a!=null,ge=a=>typeof a=="string",ut=a=>ge(a)&&a!=="",lt=a=>typeof a=="object"&&typeof a.type=="string"&&typeof a.stream=="function"&&typeof a.arrayBuffer=="function"&&typeof a.constructor=="function"&&typeof a.constructor.name=="string"&&/^(Blob|File)$/.test(a.constructor.name)&&/^(Blob|File)$/.test(a[Symbol.toStringTag]),wt=a=>a instanceof FormData,Kt=a=>{try{return btoa(a)}catch{return Buffer.from(a).toString("base64")}},Yt=a=>{let e=[],t=(i,d)=>{e.push(`${encodeURIComponent(i)}=${encodeURIComponent(String(d))}`)},r=(i,d)=>{rt(d)&&(Array.isArray(d)?d.forEach(l=>{r(i,l)}):typeof d=="object"?Object.entries(d).forEach(([l,n])=>{r(`${i}[${l}]`,n)}):t(i,d))};return Object.entries(a).forEach(([i,d])=>{r(i,d)}),e.length>0?`?${e.join("&")}`:""},Xt=(a,e)=>{let t=a.ENCODE_PATH||encodeURI,r=e.url.replace("{api-version}",a.VERSION).replace(/{(.*?)}/g,(d,l)=>{var n;return!((n=e.path)===null||n===void 0)&&n.hasOwnProperty(l)?t(String(e.path[l])):d}),i=`${a.BASE}${r}`;return e.query?`${i}${Yt(e.query)}`:i},Zt=a=>{if(a.formData){let e=new FormData,t=(r,i)=>{ge(i)||lt(i)?e.append(r,i):e.append(r,JSON.stringify(i))};return Object.entries(a.formData).filter(([r,i])=>rt(i)).forEach(([r,i])=>{Array.isArray(i)?i.forEach(d=>t(r,d)):t(r,i)}),e}},tt=async(a,e)=>typeof e=="function"?e(a):e,er=async(a,e)=>{let[t,r,i,d]=await Promise.all([tt(e,a.TOKEN),tt(e,a.USERNAME),tt(e,a.PASSWORD),tt(e,a.HEADERS)]),l=Object.fromEntries(Object.entries(e.headers||{}).filter(([p,h])=>rt(h))),n=Object.entries(Object.assign(Object.assign({Accept:"application/json"},l),d)).filter(([p,h])=>rt(h)).reduce((p,[h,w])=>Object.assign(Object.assign({},p),{[h]:String(w)}),{});if(ut(t)&&(n.Authorization=`Bearer ${t}`),ut(r)&&ut(i)){let p=Kt(`${r}:${i}`);n.Authorization=`Basic ${p}`}return e.body!==void 0&&(e.mediaType?n["Content-Type"]=e.mediaType:lt(e.body)?n["Content-Type"]=e.body.type||"application/octet-stream":ge(e.body)?n["Content-Type"]="text/plain":wt(e.body)||(n["Content-Type"]="application/json")),new Headers(n)},tr=a=>{var e;if(a.body!==void 0)return!((e=a.mediaType)===null||e===void 0)&&e.includes("/json")?JSON.stringify(a.body):ge(a.body)||lt(a.body)||wt(a.body)?a.body:JSON.stringify(a.body)},rr=async(a,e,t,r,i,d,l)=>{let n=new AbortController,p={headers:d,body:r??i,method:e.method,signal:n.signal};return a.WITH_CREDENTIALS&&(p.credentials=a.CREDENTIALS),l(()=>n.abort()),await fetch(t,p)},or=(a,e)=>{if(e){let t=a.headers.get(e);if(ge(t))return t}},sr=async a=>{if(a.status!==204)try{let e=a.headers.get("Content-Type");if(e)return["application/json","application/problem+json"].some(i=>e.toLowerCase().startsWith(i))?await a.json():await a.text()}catch(e){console.error(e)}},ar=(a,e)=>{var t,r;let d=Object.assign({400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable"},a.errors)[e.status];if(d)throw new J(a,e,d);if(!e.ok){let l=(t=e.status)!==null&&t!==void 0?t:"unknown",n=(r=e.statusText)!==null&&r!==void 0?r:"unknown",p=(()=>{try{return JSON.stringify(e.body,null,2)}catch{return}})();throw new J(a,e,`Generic Error: status: ${l}; status text: ${n}; body: ${p}`)}},ct,s=(a,e)=>new Te(async(t,r,i)=>{try{let d=Xt(a,e),l=Zt(e),n=tr(e),p=await er(a,e),h={};p.forEach((g,E)=>{h[E]=g}),ct&&(h.Cookie=ct);let w=new Headers(h);if(!i.isCancelled){let g=await rr(a,e,d,n,l,w,i),E=g.headers.get("set-cookie");E&&(ct=E);let Q=await sr(g),S=or(g,e.responseHeader),A={url:d,ok:g.ok,status:g.status,statusText:g.statusText,body:S??Q};ar(e,A),t(A.body)}}catch(d){r(d)}});var xe=class{static getPortalObject(e){return s(o,{method:"GET",url:"/account/permission",headers:{"x-studio-id":e}})}static createAccount(e,t){return s(o,{method:"POST",url:"/account/create",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updatePermission(e,t,r){return s(o,{method:"PUT",url:"/account/{id}",path:{id:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static deleteuser(e){return s(o,{method:"DELETE",url:"/account/{id}",path:{id:e}})}static renewPolicy(e,t){return s(o,{method:"PUT",url:"/account/{policyId}/renew-policy",path:{policyId:t},headers:{"x-studio-id":e}})}static clearPermissionsCache(e){return s(o,{method:"POST",url:"/account/cache",query:{studio_login_id:e}})}};var Ee=class{static getTicketDetails(e,t){return s(o,{method:"POST",url:"/accounting/tickets",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getCollectionDetails(e,t){return s(o,{method:"POST",url:"/accounting/collection-details",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getProductDetails(e,t){return s(o,{method:"POST",url:"/accounting/products",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getDonationDetails(e,t){return s(o,{method:"POST",url:"/accounting/donations",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getTaxDetails(e,t){return s(o,{method:"POST",url:"/accounting/taxes",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getAccountingDetails(e){return s(o,{method:"GET",url:"/accounting",headers:{"x-studio-id":e}})}static getOtherDetails(e){return s(o,{method:"GET",url:"/accounting/others",headers:{"x-studio-id":e}})}static getWeeklyDetails(e){return s(o,{method:"GET",url:"/accounting/weekly",headers:{"x-studio-id":e}})}static getStudioFinancialDetails(e){return s(o,{method:"GET",url:"/accounting/financials",headers:{"x-studio-id":e}})}static getStudioDisputes(e){return s(o,{method:"GET",url:"/accounting/disputes",headers:{"x-studio-id":e}})}static getStudioRefunds(e){return s(o,{method:"GET",url:"/accounting/refunds",headers:{"x-studio-id":e}})}static getStripeDetails(e){return s(o,{method:"GET",url:"/accounting/stripe",headers:{"x-studio-id":e}})}static acknowledgeDispute(e,t){return s(o,{method:"PUT",url:"/accounting/{disputeId}/acknowledge-dispute",path:{disputeId:t},headers:{"x-studio-id":e}})}static getRefundSettings(e){return s(o,{method:"GET",url:"/accounting/refund-settings",headers:{"x-studio-id":e}})}static getPaymentGatewayDetails(e){return s(o,{method:"GET",url:"/accounting/payment-details",headers:{"x-studio-id":e}})}static getRefundDetails(e,t){return s(o,{method:"GET",url:"/accounting/{refundId}/refund-details",path:{refundId:t},headers:{"x-studio-id":e}})}static resetTaxPayment(e,t){return s(o,{method:"PUT",url:"/accounting/reset-tax-payment",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateBankingInfo(e,t){return s(o,{method:"PUT",url:"/accounting/update-banking-info",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateTaxInfo(e,t){return s(o,{method:"PUT",url:"/accounting/update-tax-info",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static declineRefund(e,t){return s(o,{method:"PUT",url:"/accounting/{refundId}/decline-refund",path:{refundId:t},headers:{"x-studio-id":e}})}static refundUpdateAmount(e,t,r){return s(o,{method:"PUT",url:"/accounting/{refundId}/refund-update-amount",path:{refundId:t},headers:{"x-studio-id":e},query:{amount:r}})}static acceptRefund(e,t,r){return s(o,{method:"PUT",url:"/accounting/{refundId}/accept-refund",path:{refundId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}};var we=class{static getBuyer(e,t){return s(o,{method:"GET",url:"/{orderId}/buyer-details",path:{orderId:t},headers:{"x-studio-id":e}})}};var Se=class{static sendForgotPassword(e,t){return s(o,{method:"POST",url:"/auth/forgot-password",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static verifyOtp(e,t){return s(o,{method:"POST",url:"/auth/verify-otp",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static login(e,t){return s(o,{method:"POST",url:"/auth/login",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static logout(e){return s(o,{method:"POST",url:"/auth/logout",headers:{"x-studio-id":e}})}static changePassword(e,t){return s(o,{method:"POST",url:"/auth/change-password",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static refreshPortalRoutesCache(){return s(o,{method:"POST",url:"/auth/refresh-portal-routes-cache"})}};var be=class{static getAllEmail(e,t){return s(o,{method:"GET",url:"/client-tools/generated-emails",headers:{"x-studio-id":e},query:{searchQuery:t}})}static deleteEmails(e,t){return s(o,{method:"DELETE",url:"/client-tools/generated-emails",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getEmailDetails(e,t){return s(o,{method:"GET",url:"/client-tools/generated-emails/{mailId}",path:{mailId:t},headers:{"x-studio-id":e}})}static editEmail(e,t,r){return s(o,{method:"PUT",url:"/client-tools/generated-emails/{mailId}",path:{mailId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}};var Ie=class{static getInterview(e){return s(o,{method:"GET",url:"/client-tools/parent-letter",headers:{"x-studio-id":e}})}};var Pe=class{static getPatronStats(e){return s(o,{method:"GET",url:"/client-tools/patron-database",headers:{"x-studio-id":e}})}static deletePatronCodes(e,t){return s(o,{method:"DELETE",url:"/client-tools/patron-database",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getShowDetails(e){return s(o,{method:"GET",url:"/client-tools/patron-database/show-details",headers:{"x-studio-id":e}})}static getStudioIntegratorDetails(e){return s(o,{method:"GET",url:"/client-tools/patron-database/studio-integrator-details",headers:{"x-studio-id":e}})}static getPatronCodes(e,t,r){return s(o,{method:"GET",url:"/client-tools/patron-database/codes",headers:{"x-studio-id":e},query:{status:t,searchQuery:r}})}static getPatronTags(e){return s(o,{method:"GET",url:"/client-tools/patron-database/tags",headers:{"x-studio-id":e}})}static getPatronCodeDetails(e,t){return s(o,{method:"GET",url:"/client-tools/patron-database/code-details",headers:{"x-studio-id":e},query:{emailId:t}})}static getPatronCodeDetails1(e,t){return s(o,{method:"GET",url:"/client-tools/patron-database/{patronId}/code-details",path:{patronId:t},headers:{"x-studio-id":e}})}static createPatronTag(e,t){return s(o,{method:"POST",url:"/client-tools/patron-database/create-patron-tag",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static createPatronCodes(e,t){return s(o,{method:"POST",url:"/client-tools/patron-database/create-patron-codes",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static sendMail(e,t){return s(o,{method:"POST",url:"/client-tools/patron-database/send-mail",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static provideDiscountAccess(e,t){return s(o,{method:"POST",url:"/client-tools/patron-database/discount-access",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static providePatronAccess(e,t){return s(o,{method:"POST",url:"/client-tools/patron-database/patron-access",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updatePatronSettings(e,t){return s(o,{method:"PUT",url:"/client-tools/patron-database/settings",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updatePatronTag(e,t){return s(o,{method:"PUT",url:"/client-tools/patron-database/tag",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static deletePatronTag(e,t){return s(o,{method:"DELETE",url:"/client-tools/patron-database/tag",headers:{"x-studio-id":e},query:{tag:t}})}static updatePatronCode(e,t,r){return s(o,{method:"PUT",url:"/client-tools/patron-database/{patronId}",path:{patronId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static deletePatronCouponCode(e,t){return s(o,{method:"DELETE",url:"/client-tools/patron-database/coupon-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static deletePriorityCode(e,t){return s(o,{method:"DELETE",url:"/client-tools/patron-database/priority-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}};var ve=class{static getSeatAssignmentSettings(e){return s(o,{method:"GET",url:"/client-tools/seat-assignment-tool/settings",headers:{"x-studio-id":e}})}};var Oe=class{static getStripeSettings(e){return s(o,{method:"GET",url:"/client-tools/stripe-onboarding",headers:{"x-studio-id":e}})}};var qe=class{static getStudioDesign(e){return s(o,{method:"GET",url:"/client-tools/theme-builder/studio-design",headers:{"x-studio-id":e}})}static updateStudioDesign(e,t){return s(o,{method:"PUT",url:"/client-tools/theme-builder/studio-design",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getStudioImages(e,t,r,i,d,l,n){return s(o,{method:"GET",url:"/client-tools/theme-builder/images",headers:{"x-studio-id":e},query:{format:t,library:r,minWidth:i,maxWidth:d,minHeight:l,maxHeight:n}})}static startImageUpload(e,t){return s(o,{method:"POST",url:"/client-tools/theme-builder/start-image-upload",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateImageUrl(e,t,r,i,d){return s(o,{method:"POST",url:"/client-tools/theme-builder/update-image-url",headers:{"x-studio-id":e},query:{format:t,width:r,height:i},body:d,mediaType:"application/json"})}};var ke=class{static getThemes(e,t){return s(o,{method:"GET",url:"/client-tools/theme-library",query:{categoryId:e,searchQuery:t}})}static getThemeCategories(){return s(o,{method:"GET",url:"/client-tools/theme-library/categories"})}static getThemeDetails(e){return s(o,{method:"GET",url:"/client-tools/theme-library/{themeId}",path:{themeId:e}})}};var je=class{static fetchTicketingDetails(e){return s(o,{method:"GET",url:"/client-tools/ticketing-link/details",headers:{"x-studio-id":e}})}static generateFlyer(e,t,r,i){return s(o,{method:"GET",url:"/client-tools/ticketing-link/flyer",headers:{"x-studio-id":e},query:{show:t,start:r,end:i}})}};var Ce=class{static getShows(e){return s(o,{method:"GET",url:"/client-tools/ticket-scanning",headers:{"x-studio-id":e}})}static scannedTicketDetails(e,t){return s(o,{method:"GET",url:"/client-tools/ticket-scanning/{showId}",path:{showId:t},headers:{"x-studio-id":e}})}static resetScannedTicketDetails(e){return s(o,{method:"PUT",url:"/client-tools/ticket-scanning/{showId}",path:{showId:e}})}};var Ge=class{static getUnapprovedOrders(e){return s(o,{method:"GET",url:"/client-tools/unapproved-orders",headers:{"x-studio-id":e}})}static getOrderSeats(e,t){return s(o,{method:"GET",url:"/client-tools/unapproved-orders/{orderId}/seats",path:{orderId:t},headers:{"x-studio-id":e}})}static approveOrder(e,t,r){return s(o,{method:"PUT",url:"/client-tools/unapproved-orders/{orderId}/approve-order",path:{orderId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}};var Re=class{static getWaitlistShows(e,t,r){return s(o,{method:"GET",url:"/client-tools/waitlist",headers:{"x-studio-id":e},query:{showId:t,showFulfilled:r}})}static createWaitlist(e,t){return s(o,{method:"POST",url:"/client-tools/waitlist",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getWaitlistFilterShows(e){return s(o,{method:"GET",url:"/client-tools/waitlist/shows",headers:{"x-studio-id":e}})}static getWaitlistById(e,t){return s(o,{method:"GET",url:"/client-tools/waitlist/{waitlistId}",path:{waitlistId:t},headers:{"x-studio-id":e}})}static updateWaitlist(e,t,r){return s(o,{method:"PUT",url:"/client-tools/waitlist/{waitlistId}",path:{waitlistId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static deleteWaitlist(e,t){return s(o,{method:"DELETE",url:"/client-tools/waitlist/{waitlistId}",path:{waitlistId:t},headers:{"x-studio-id":e}})}static assignWaitlistToShows(e,t,r){return s(o,{method:"POST",url:"/client-tools/waitlist/{waitlistId}/assign-waitlist",path:{waitlistId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static updateAllOrNoneStatus(e,t){return s(o,{method:"PUT",url:"/client-tools/waitlist/{waitlistId}/all-or-none",path:{waitlistId:t},headers:{"x-studio-id":e}})}};var _e=class{static getDashboard(e){return s(o,{method:"GET",url:"/dashboard",headers:{"x-studio-id":e}})}static getBookmarks(e){return s(o,{method:"GET",url:"/dashboard/bookmarks",headers:{"x-studio-id":e}})}static search(e,t){return s(o,{method:"GET",url:"/dashboard/search",headers:{"x-studio-id":e},query:{q:t}})}static searchLog(e){return s(o,{method:"POST",url:"/dashboard/search-log",body:e,mediaType:"application/json"})}};var Ae=class{static getShowsForFilter(e){return s(o,{method:"GET",url:"/features/blocked-seats/shows",headers:{"x-studio-id":e}})}static getShowsForBlocking(e){return s(o,{method:"GET",url:"/features/blocked-seats/shows-for-blocking",headers:{"x-studio-id":e}})}static getSeatDetails(e,t,r,i){return s(o,{method:"GET",url:"/features/blocked-seats/seat-details",headers:{"x-studio-id":e},query:{showId:i,filter:t,searchQuery:r}})}static getReservationCodes(e){return s(o,{method:"GET",url:"/features/blocked-seats/reservation-codes",headers:{"x-studio-id":e}})}static getSelectedSeats(e){return s(o,{method:"GET",url:"/features/blocked-seats/selected-seats",headers:{"x-studio-id":e}})}static initializeSeatEngine(e,t){return s(o,{method:"GET",url:"/features/blocked-seats/{showId}/initialize-seat-engine",path:{showId:t},headers:{"x-studio-id":e}})}static getSeatEngineOccupancy(e,t){return s(o,{method:"GET",url:"/features/blocked-seats/{showId}/occupancy",path:{showId:t},headers:{"x-studio-id":e}})}static getSelectedSeats1(e,t){return s(o,{method:"GET",url:"/features/blocked-seats/{showId}/blocked-seats-check",path:{showId:t},headers:{"x-studio-id":e}})}static exchangeShowDetail(e,t){return s(o,{method:"GET",url:"/features/blocked-seats/{showId}/exchange-show-detail",path:{showId:t},headers:{"x-studio-id":e}})}static getReservationCodeDetails(e,t){return s(o,{method:"GET",url:"/features/blocked-seats/{codeId}/reservation-code-detail",path:{codeId:t},headers:{"x-studio-id":e}})}static getEmailDetails(e,t,r){return s(o,{method:"POST",url:"/features/blocked-seats/email-details",path:{seatId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static sendEmail(e,t){return s(o,{method:"POST",url:"/features/blocked-seats/send-email",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static sendMailForReservationCode(e,t){return s(o,{method:"POST",url:"/features/blocked-seats/send-reservation-code-email",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static assignSeats(e,t){return s(o,{method:"POST",url:"/features/blocked-seats/assign-seats",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static blockSeats(e,t){return s(o,{method:"POST",url:"/features/blocked-seats/block-seats",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static unblockSeats(e,t){return s(o,{method:"POST",url:"/features/blocked-seats/unblock-seats",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static downloadTickets(e,t){return s(o,{method:"POST",url:"/features/blocked-seats/download-tickets",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static holdGeneralSeatTickets(e,t,r){return s(o,{method:"POST",url:"/features/blocked-seats/{showId}/hold-general-seat-tickets",path:{showId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static holdChartSeatTickets(e,t,r){return s(o,{method:"POST",url:"/features/blocked-seats/{showId}/hold-chart-seat-tickets",path:{showId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static releaseSeat(e,t){return s(o,{method:"PUT",url:"/features/blocked-seats/release-seat",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static releaseReservationCode(e,t){return s(o,{method:"PUT",url:"/features/blocked-seats/release-reservation-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static releaseAllSeats(e){return s(o,{method:"PUT",url:"/features/blocked-seats/release-all-seats",headers:{"x-studio-id":e}})}static toggleSeatInCartTicket(e,t,r){return s(o,{method:"PUT",url:"/features/blocked-seats/{showId}/{seatId}/toggle-cart-ticket",path:{showId:t,seatId:r},headers:{"x-studio-id":e}})}};var De=class{static getCheckoutQuestions(e){return s(o,{method:"GET",url:"/features/checkout-questions",headers:{"x-studio-id":e}})}static createCheckoutQuestion(e,t){return s(o,{method:"POST",url:"/features/checkout-questions",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getShowsTypesProducts(e){return s(o,{method:"GET",url:"/features/checkout-questions/details",headers:{"x-studio-id":e}})}static getCheckoutQuestionById(e,t){return s(o,{method:"GET",url:"/features/checkout-questions/{questionId}",path:{questionId:t},headers:{"x-studio-id":e}})}static updateCheckoutQuestion(e,t,r){return s(o,{method:"PUT",url:"/features/checkout-questions/{questionId}",path:{questionId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static deleteCheckoutQuestion(e,t){return s(o,{method:"DELETE",url:"/features/checkout-questions/{questionId}",path:{questionId:t},headers:{"x-studio-id":e}})}};var Be=class{static getCouponFilter(e){return s(o,{method:"GET",url:"/features/discounts/coupon-filter",headers:{"x-studio-id":e}})}static getCoupons(e,t,r,i){return s(o,{method:"GET",url:"/features/discounts/coupons",headers:{"x-studio-id":e},query:{status:t,searchQuery:r,filter:i}})}static getGroupCodes(e){return s(o,{method:"GET",url:"/features/discounts/group-codes",headers:{"x-studio-id":e}})}static getCouponData(e){return s(o,{method:"GET",url:"/features/discounts/coupon-data",headers:{"x-studio-id":e}})}static getAvailableCouponData(e){return s(o,{method:"GET",url:"/features/discounts/available-coupons",headers:{"x-studio-id":e}})}static getCustomLogic(e,t){return s(o,{method:"GET",url:"/features/discounts/{couponId}/custom-logic",path:{couponId:t},headers:{"x-studio-id":e}})}static resendMailForCoupons(e,t){return s(o,{method:"POST",url:"/features/discounts/resend-mail",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static validateEmailForCoupons(e,t){return s(o,{method:"POST",url:"/features/discounts/validate-email",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static createCode(e,t){return s(o,{method:"POST",url:"/features/discounts/create-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static createGroupCode(e,t){return s(o,{method:"POST",url:"/features/discounts/create-group-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateCode(e,t){return s(o,{method:"PUT",url:"/features/discounts/update-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static expireGroupCode(e,t){return s(o,{method:"PUT",url:"/features/discounts/{groupCodeId}/expire",path:{groupCodeId:t},headers:{"x-studio-id":e}})}static expireAllCoupons(e){return s(o,{method:"PUT",url:"/features/discounts/expire-all",headers:{"x-studio-id":e}})}static deleteCoupons(e,t){return s(o,{method:"DELETE",url:"/features/discounts",headers:{"x-studio-id":e},query:{couponIds:t}})}};var Ne=class{static getFunds(e){return s(o,{method:"GET",url:"/features/donations",headers:{"x-studio-id":e}})}static createFund(e,t){return s(o,{method:"POST",url:"/features/donations",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getServiceAgreement(e){return s(o,{method:"GET",url:"/features/donations/service-agreement",headers:{"x-studio-id":e}})}static createServiceAgreement(e,t){return s(o,{method:"POST",url:"/features/donations/service-agreement",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getFundDetails(e,t){return s(o,{method:"GET",url:"/features/donations/{fundId}",path:{fundId:t},headers:{"x-studio-id":e}})}static updateFund(e,t,r){return s(o,{method:"PUT",url:"/features/donations/{fundId}",path:{fundId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static deleteFund(e,t){return s(o,{method:"DELETE",url:"/features/donations/{fundId}",path:{fundId:t},headers:{"x-studio-id":e}})}static getFund(e,t){return s(o,{method:"GET",url:"/features/donations/{fundId}/detail",path:{fundId:t},headers:{"x-studio-id":e}})}static duplicateFund(e,t,r){return s(o,{method:"POST",url:"/features/donations/{fundId}/duplicate",path:{fundId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static sendEmail(e,t,r){return s(o,{method:"POST",url:"/features/donations/{fundId}/send-mail",path:{fundId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}};var Ue=class{static getGiftCards(e,t){return s(o,{method:"GET",url:"/features/gift-cards",headers:{"x-studio-id":e},query:{isVoid:t}})}static createGiftCard(e,t){return s(o,{method:"POST",url:"/features/gift-cards",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getTransactions(e,t){return s(o,{method:"GET",url:"/features/gift-cards/{giftCardId}/transactions",path:{giftCardId:t},headers:{"x-studio-id":e}})}static getGiftCard(e,t){return s(o,{method:"GET",url:"/features/gift-cards/{giftCardId}",path:{giftCardId:t},headers:{"x-studio-id":e}})}static updateGiftCard(e,t,r){return s(o,{method:"PUT",url:"/features/gift-cards/{giftCardId}",path:{giftCardId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static deleteGiftCard(e,t){return s(o,{method:"DELETE",url:"/features/gift-cards/{giftCardId}",path:{giftCardId:t},headers:{"x-studio-id":e}})}static createGiftCardsBulk(e,t){return s(o,{method:"POST",url:"/features/gift-cards/bulk-create",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}};var Le=class{static getGoldenTicketList(e,t){return s(o,{method:"GET",url:"/features/golden-tickets",headers:{"x-studio-id":e},query:{showId:t}})}static createGoldenTicket(e,t){return s(o,{method:"POST",url:"/features/golden-tickets",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getShowsForGoldenTickets(e){return s(o,{method:"GET",url:"/features/golden-tickets/shows",headers:{"x-studio-id":e}})}static getSectionDetails(e,t){return s(o,{method:"GET",url:"/features/golden-tickets/{showId}/section-detail",path:{showId:t},headers:{"x-studio-id":e}})}static getRowDetails(e,t,r){return s(o,{method:"GET",url:"/features/golden-tickets/{showId}/row-detail",path:{showId:t},headers:{"x-studio-id":e},query:{section:r}})}static getSeatDetails(e,t,r,i){return s(o,{method:"GET",url:"/features/golden-tickets/{showId}/seat-detail",path:{showId:t},headers:{"x-studio-id":e},query:{section:r,row:i}})}static updateGoldenTicket(e,t,r){return s(o,{method:"PUT",url:"/features/golden-tickets/{ticketId}",path:{ticketId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static deleteGoldenTicket(e,t){return s(o,{method:"DELETE",url:"/features/golden-tickets/{ticketId}",path:{ticketId:t},headers:{"x-studio-id":e}})}};var Fe=class{static getLandingPage(e){return s(o,{method:"GET",url:"/features/landing-page",headers:{"x-studio-id":e}})}static updateLandingPageSettings(e,t){return s(o,{method:"PUT",url:"/features/landing-page",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getAlbums(e){return s(o,{method:"GET",url:"/features/landing-page/albums",headers:{"x-studio-id":e}})}static getAlbumImages(e,t){return s(o,{method:"GET",url:"/features/landing-page/{albumId}/images",path:{albumId:t},headers:{"x-studio-id":e}})}static deleteAlbumImages(e,t,r){return s(o,{method:"DELETE",url:"/features/landing-page/{albumId}/images",path:{albumId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static createAlbum(e,t){return s(o,{method:"POST",url:"/features/landing-page/album",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateImageOrder(e,t){return s(o,{method:"POST",url:"/features/landing-page/reorder-images",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static startImageUpload(e,t,r){return s(o,{method:"POST",url:"/features/landing-page/{albumId}/start-image-upload",path:{albumId:e},headers:{"x-studio-id":t},body:r,mediaType:"application/json"})}static updateImageUrl(e,t,r){return s(o,{method:"POST",url:"/features/landing-page/{albumId}/update-image-url",path:{albumId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static updateLandingPageSettings1(e,t){return s(o,{method:"PUT",url:"/features/landing-page/settings",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateAlbum(e,t,r){return s(o,{method:"PUT",url:"/features/landing-page/{albumId}",path:{albumId:e},headers:{"x-studio-id":t},body:r,mediaType:"application/json"})}static deleteAlbum(e,t){return s(o,{method:"DELETE",url:"/features/landing-page/{albumId}",path:{albumId:e},headers:{"x-studio-id":t}})}};var He=class{static getPriorityCodes(e,t,r){return s(o,{method:"GET",url:"/features/priority/codes",headers:{"x-studio-id":e},query:{status:t,searchQuery:r}})}static getHiddenPriorityCodes(e){return s(o,{method:"GET",url:"/features/priority/hidden-codes",headers:{"x-studio-id":e}})}static getShowAndGroup(e){return s(o,{method:"GET",url:"/features/priority/shows-and-groups",headers:{"x-studio-id":e}})}static getSettingsAndWaves(e){return s(o,{method:"GET",url:"/features/priority/settings-and-waves",headers:{"x-studio-id":e}})}static getCodeUsageDetails(e,t){return s(o,{method:"GET",url:"/features/priority/code-usage/{codeId}",path:{codeId:t},headers:{"x-studio-id":e}})}static createCodes(e,t){return s(o,{method:"POST",url:"/features/priority/create-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateCodes(e,t){return s(o,{method:"PUT",url:"/features/priority/bulk-edit",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateCode(e,t){return s(o,{method:"PUT",url:"/features/priority/edit-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static resendMail(e,t){return s(o,{method:"PUT",url:"/features/priority/resend-mail",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static expireHiddenCodes(e,t){return s(o,{method:"PUT",url:"/features/priority/expire-hidden-codes",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static deleteCodes(e,t){return s(o,{method:"DELETE",url:"/features/priority/delete-codes",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}};var $e=class{static getProducts(e){return s(o,{method:"GET",url:"/features/products",headers:{"x-studio-id":e}})}static createProduct(e,t){return s(o,{method:"POST",url:"/features/products",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getIconsShowGroups(e){return s(o,{method:"GET",url:"/features/products/icons-show-groups",headers:{"x-studio-id":e}})}static getProductSales(e,t){return s(o,{method:"GET",url:"/features/products/{productId}/sales",path:{productId:t},headers:{"x-studio-id":e}})}static getServiceAgreement(e){return s(o,{method:"GET",url:"/features/products/service-agreement",headers:{"x-studio-id":e}})}static createServiceAgreement(e,t){return s(o,{method:"POST",url:"/features/products/service-agreement",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getProductDetails(e,t){return s(o,{method:"GET",url:"/features/products/{productId}",path:{productId:t},headers:{"x-studio-id":e}})}static updateProduct(e,t,r){return s(o,{method:"PUT",url:"/features/products/{productId}",path:{productId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static deleteProduct(e,t){return s(o,{method:"DELETE",url:"/features/products/{productId}",path:{productId:t},headers:{"x-studio-id":e}})}static getProductRecipients(e,t){return s(o,{method:"GET",url:"/features/products/{productId}/recipients",path:{productId:t},headers:{"x-studio-id":e}})}static getProductVariants(e){return s(o,{method:"GET",url:"/features/products/{productId}/variants",path:{productId:e}})}static startImageUpload(e,t){return s(o,{method:"POST",url:"/features/products/start-image-upload",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static createDuplicateProduct(e,t,r){return s(o,{method:"POST",url:"/features/products/{productId}/duplicate",path:{productId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static sendEmail(e,t,r){return s(o,{method:"POST",url:"/features/products/{productId}/send-mail",path:{productId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static createVariant(e,t,r){return s(o,{method:"POST",url:"/features/products/{productId}/create-variant",path:{productId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static updateImageUrl(e,t,r){return s(o,{method:"PUT",url:"/features/products/{productId}/update-image-url",path:{productId:e},headers:{"x-studio-id":t},body:r,mediaType:"application/json"})}static updateVariant(e,t,r){return s(o,{method:"PUT",url:"/features/products/{productId}/update-variant",path:{productId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static deleteProduct1(e,t){return s(o,{method:"DELETE",url:"/features/products/variant",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}};var We=class{static getOrderFilters(e){return s(o,{method:"GET",url:"/order-lookup",headers:{"x-studio-id":e}})}static getOrderActions(e,t){return s(o,{method:"GET",url:"/order-lookup/{orderId}/order-actions",path:{orderId:t},headers:{"x-studio-id":e}})}static getOrderDetails(e,t){return s(o,{method:"GET",url:"/order-lookup/{orderId}/order-details",path:{orderId:t},headers:{"x-studio-id":e}})}static getOrderLedger(e,t){return s(o,{method:"GET",url:"/order-lookup/{orderId}/order-ledger",path:{orderId:t},headers:{"x-studio-id":e}})}static getOrderTicketDetails(e,t){return s(o,{method:"GET",url:"/order-lookup/{orderId}/order-ticket-details",path:{orderId:t},headers:{"x-studio-id":e}})}static getOrderSeatDetails(e,t){return s(o,{method:"GET",url:"/order-lookup/{orderId}/order-seats",path:{orderId:t},headers:{"x-studio-id":e}})}static getShowDetails(e,t){return s(o,{method:"GET",url:"/order-lookup/{orderId}/shows-list",path:{orderId:t},headers:{"x-studio-id":e}})}static exchangeSelectedSeats(e,t){return s(o,{method:"GET",url:"/order-lookup/ticket-exchange-selected-seats",headers:{"x-studio-id":e},query:{shopperGuid:t}})}static getReleaseSeatDetails(e,t){return s(o,{method:"GET",url:"/order-lookup/{orderId}/release-seat",path:{orderId:t},headers:{"x-studio-id":e}})}static releaseSeat(e,t,r){return s(o,{method:"POST",url:"/order-lookup/{orderId}/release-seat",path:{orderId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static getBlockedSeatsDetails(e,t){return s(o,{method:"GET",url:"/order-lookup/{showId}/blocked-seats",path:{showId:t},headers:{"x-studio-id":e}})}static getOrderListDetails(e,t){return s(o,{method:"POST",url:"/order-lookup/order-list",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static toggleTier(e,t){return s(o,{method:"POST",url:"/order-lookup/toggle-tier",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getShowAndTier(e,t){return s(o,{method:"POST",url:"/order-lookup/show-tier",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static emailBuyers(e,t){return s(o,{method:"POST",url:"/order-lookup/email-buyers",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static saveNote(e,t){return s(o,{method:"POST",url:"/order-lookup/save-note",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static recalculateOrder(e,t){return s(o,{method:"POST",url:"/order-lookup/recalculate-order",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static cancelExchangeTicket(e,t){return s(o,{method:"POST",url:"/order-lookup/cancel-exchange-ticket",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static cancelAllExchangeTickets(e){return s(o,{method:"POST",url:"/order-lookup/cancel-all-exchange-tickets",headers:{"x-studio-id":e}})}static resetPrimaryVideoStream(e,t){return s(o,{method:"POST",url:"/order-lookup/{orderId}/reset-primary-video-stream",path:{orderId:e},headers:{"x-studio-id":t}})}static executeSeatExchange(e,t,r){return s(o,{method:"POST",url:"/order-lookup/{orderId}/execute-seat-exchange",path:{orderId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static modifyOrderTickets(e,t,r){return s(o,{method:"POST",url:"/order-lookup/{orderId}/order-ticket",path:{orderId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static updateEmailId(e,t,r){return s(o,{method:"PUT",url:"/order-lookup/{orderId}/update-email",path:{orderId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static toggleModifyTierStatus(e,t,r){return s(o,{method:"PUT",url:"/order-lookup/{orderId}/toggle-modify-tier",path:{orderId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static addSeatsToSession(e,t){return s(o,{method:"PUT",url:"/order-lookup/add-seat-to-session",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}};var Me=class{static getPatronManifestReport(e){return s(o,{method:"GET",url:"/reports/patron-manifest",headers:{"x-studio-id":e}})}static getPatronManifestByShow(e,t){return s(o,{method:"GET",url:"/reports/patron-manifest/{showId}",path:{showId:t},headers:{"x-studio-id":e}})}static getTicketSalesReport(e){return s(o,{method:"GET",url:"/reports/ticket-sales",headers:{"x-studio-id":e}})}static getSoldSeatsByShow(e,t){return s(o,{method:"GET",url:"/reports/ticket-sales/{showId}/sold",path:{showId:e},headers:{"x-studio-id":t}})}static getUnsoldSeatsByShow(e,t){return s(o,{method:"GET",url:"/reports/ticket-sales/{showId}/unsold",path:{showId:e},headers:{"x-studio-id":t}})}static getSalesByTierReport(e){return s(o,{method:"GET",url:"/reports/sales-by-tier",headers:{"x-studio-id":e}})}static getShowSeatSales(e,t,r,i){return s(o,{method:"GET",url:"/reports/sales-by-tier/{showId}/seat-sales",path:{showId:t},headers:{"x-studio-id":e},query:{price:r,name:i}})}static getRevenueByShow(e,t){return s(o,{method:"POST",url:"/reports/revenue-by-show",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getCreditedPerformerReport(e,t,r){return s(o,{method:"GET",url:"/reports/credited-performers",headers:{"x-studio-id":e},query:{showId:t,orderId:r}})}static getCreditedPerformerDetails(e,t){return s(o,{method:"POST",url:"/reports/credited-performer-details",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getCreditedPerformerByOrder(e,t){return s(o,{method:"GET",url:"/reports/credited-performer/{orderId}",path:{orderId:t},headers:{"x-studio-id":e}})}static productSalesReport(e,t){return s(o,{method:"POST",url:"/reports/products",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getDonationsReport(e,t){return s(o,{method:"POST",url:"/reports/donations",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getCheckoutResponsesShow(e){return s(o,{method:"GET",url:"/reports/checkout-responses-show",headers:{"x-studio-id":e}})}static getCheckoutResponsesReport(e,t){return s(o,{method:"POST",url:"/reports/checkout-responses",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getScannedTicketsReport(e){return s(o,{method:"GET",url:"/reports/scanned-tickets",headers:{"x-studio-id":e}})}static getTaxReport(e,t){return s(o,{method:"POST",url:"/reports/tax-by-month",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getCheckoutResponsesReport1(e,t){return s(o,{method:"GET",url:"/reports/checkout-response-details",headers:{"x-studio-id":e},query:{showId:t}})}static getProductSalesReport(e){return s(o,{method:"GET",url:"/reports/product-sale-details",headers:{"x-studio-id":e}})}static getDonationsReport1(e){return s(o,{method:"GET",url:"/reports/donation-details",headers:{"x-studio-id":e}})}static getUnsoldSeatsByShow1(e,t){return s(o,{method:"PUT",url:"/reports/{showId}/reset-ticket-scanning",path:{showId:e},headers:{"x-studio-id":t}})}};var Je=class{static getStudioSettings(e){return s(o,{method:"GET",url:"/settings",headers:{"x-studio-id":e}})}static getNotificationSettings(e){return s(o,{method:"GET",url:"/settings/notifications",headers:{"x-studio-id":e}})}static getPosSettings(e){return s(o,{method:"GET",url:"/settings/pos-settings",headers:{"x-studio-id":e}})}static getPolicies(e){return s(o,{method:"GET",url:"/settings/policies",headers:{"x-studio-id":e}})}static getMessages(e){return s(o,{method:"GET",url:"/settings/messages",headers:{"x-studio-id":e}})}static getUsers(e){return s(o,{method:"GET",url:"/settings/users",headers:{"x-studio-id":e}})}static getUsersLoginLevels(e){return s(o,{method:"GET",url:"/settings/login-levels",headers:{"x-studio-id":e}})}static getUsersLoginDetails(e,t){return s(o,{method:"GET",url:"/settings/{loginId}/login-details",headers:{"x-studio-id":e},query:{loginId:t}})}static createUserLogin(e,t){return s(o,{method:"POST",url:"/settings/user-login",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateStudioSettings(e,t){return s(o,{method:"PUT",url:"/settings/update-studio-settings",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateNotificationSettings(e,t){return s(o,{method:"PUT",url:"/settings/update-notification-settings",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updatePosSettings(e,t){return s(o,{method:"PUT",url:"/settings/update-pos-settings",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updatePolicySettings(e,t){return s(o,{method:"PUT",url:"/settings/update-policy-settings",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateMessageSettings(e,t){return s(o,{method:"PUT",url:"/settings/update-message",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateUserLogin(e,t,r){return s(o,{method:"PUT",url:"/settings/{loginId}/user-login",headers:{"x-studio-id":e},query:{loginId:t},body:r,mediaType:"application/json"})}static deleteUserLogin(e,t){return s(o,{method:"DELETE",url:"/settings/{loginId}",headers:{"x-studio-id":e},query:{loginId:t}})}};var Ve=class{static getShowList(e){return s(o,{method:"GET",url:"/shows",headers:{"x-studio-id":e}})}static getRentedShowList(e){return s(o,{method:"GET",url:"/shows/rented-shows",headers:{"x-studio-id":e}})}static getShowDetail(e,t){return s(o,{method:"GET",url:"/shows/{showId}",path:{showId:t},headers:{"x-studio-id":e}})}static getShowStatDetail(e,t){return s(o,{method:"GET",url:"/shows/{showId}/stats",path:{showId:t},headers:{"x-studio-id":e}})}static getShowPricingDetail(e,t){return s(o,{method:"GET",url:"/shows/{showId}/pricing",path:{showId:t},headers:{"x-studio-id":e}})}static getShowEmailBuyers(e,t){return s(o,{method:"GET",url:"/shows/{showId}/email-buyers",path:{showId:t},headers:{"x-studio-id":e}})}static emailBuyers(e,t,r){return s(o,{method:"POST",url:"/shows/{showId}/email-buyers",path:{showId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static getShowChartPreview(e,t){return s(o,{method:"GET",url:"/shows/{showId}/chart-preview",path:{showId:t},headers:{"x-studio-id":e}})}static getShowTicketSections(e,t){return s(o,{method:"GET",url:"/shows/{showId}/print-ticket",path:{showId:t},headers:{"x-studio-id":e}})}static getShowVideoStreams(e,t){return s(o,{method:"GET",url:"/shows/{showId}/stream",path:{showId:t},headers:{"x-studio-id":e}})}static getShowVirtualStream(e){return s(o,{method:"GET",url:"/shows/{guid}/virtual-stream",path:{guid:e}})}static getMigrateTicketDetails(e,t){return s(o,{method:"GET",url:"/shows/{showId}/migrate-tickets",path:{showId:t},headers:{"x-studio-id":e}})}static getDigitalAssets(e,t){return s(o,{method:"GET",url:"/shows/{showId}/digital-assets",path:{showId:t},headers:{"x-studio-id":e}})}static getAssetLog(e,t){return s(o,{method:"GET",url:"/shows/{assetId}/asset-log",path:{assetId:t},headers:{"x-studio-id":e}})}static getOrderSeats(e,t){return s(o,{method:"GET",url:"/shows/{orderId}/order-seats",path:{orderId:t},headers:{"x-studio-id":e}})}static getShowChartReviewStatus(e,t){return s(o,{method:"GET",url:"/shows/{showId}/chart-review-status",path:{showId:t},headers:{"x-studio-id":e}})}static getShowSectionDetail(e,t){return s(o,{method:"GET",url:"/shows/{showId}/{sectionId}/section-detail",path:{showId:e,sectionId:t}})}static getShowPerformersDetail(e,t){return s(o,{method:"POST",url:"/shows/performers/list",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static addPerformers(e,t){return s(o,{method:"POST",url:"/shows/performers/create",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static generateChartReview(e,t,r){return s(o,{method:"POST",url:"/shows/{showId}/chart-review",path:{showId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static addYouTubeVideo(e,t){return s(o,{method:"POST",url:"/shows/{showId}/add-youtube-video",path:{showId:e},body:t,mediaType:"application/json"})}static approveShow(e,t,r){return s(o,{method:"POST",url:"/shows/{showId}/approve-show",path:{showId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static migrateTickets(e){return s(o,{method:"PUT",url:"/shows/migrate-ticket",body:e,mediaType:"application/json"})}static editShow(e,t){return s(o,{method:"PUT",url:"/shows/edit-show",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updatePerformers(e,t){return s(o,{method:"PUT",url:"/shows/performers/toggle-primary",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static stopSale(e,t,r){return s(o,{method:"PUT",url:"/shows/{showId}/stop-sale",path:{showId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static deletePerformer(e){return s(o,{method:"DELETE",url:"/shows/performers/remove-performer",body:e,mediaType:"application/json"})}static deleteAllPerformers(e){return s(o,{method:"DELETE",url:"/shows/{showId}/performers/remove-all",path:{showId:e}})}};var St={};var bt={account:xe,accounting:Ee,app:we,auth:Se,clienttoolsgeneratedemails:be,clienttoolsparentletter:Ie,clienttoolspatrondatabase:Pe,clienttoolsseatassignmenttool:ve,clienttoolsstripeonboarding:Oe,clienttoolsthemebuilder:qe,clienttoolsthemeslibrary:ke,clienttoolsticketinglink:je,clienttoolsticketscanning:Ce,clienttoolsunapprovedorders:Ge,clienttoolswaitlist:Re,dashboard:_e,featuresblockedseats:Ae,featurescheckoutquestions:De,featuresdiscounts:Be,featuresdonations:Ne,featuresgiftcards:Ue,featuresgoldentickets:Le,featureslandingpage:Fe,featurespriority:He,featuresproducts:$e,orderlookup:We,reports:Me,settings:Je,shows:Ve};o.WITH_CREDENTIALS=!0;var pt={shopper:"https://api.drttix.com/shopper",scanner:"https://api.drttix.com/scanner-v3",portal:"https://api.staging.drttix.com/admin-portal"},It=!1;function Pt(){var a;if(It)return;It=!0;let e=typeof globalThis<"u"?globalThis:{},t=(a=e.DRT_API_BASE_URL)!==null&&a!==void 0?a:null,r=e.DRT_API_LOCAL===!0||e.DRT_API_LOCAL==="true",i=t||(r?"http://localhost:3000":null);u.BASE=i?`${i}/shopper`:pt.shopper,T.BASE=i?`${i}/scanner-v3`:pt.scanner,o.BASE=i?`${i}/portal`:pt.portal}var ht=!1,mt=null;function vt(a){if(!a.shopperGuid||!a.accountId||!a.apiKey)throw new Error("DRT SDK init requires shopperGuid, accountId, and apiKey");mt=a;let e={shopperguid:a.shopperGuid,accountid:a.accountId,apikey:a.apiKey};u.HEADERS=e,T.HEADERS=e,o.HEADERS=e,ht=!0}function Ot(){return ht}function qt(){return mt}function kt(){mt=null,ht=!1,u.HEADERS=void 0,T.HEADERS=void 0,o.HEADERS=void 0}var od={shopper:Tt,scanner:Et,portal:bt,init:vt,isReady:Ot,getConfig:qt,reset:kt};Pt();export{od as DRT,St as PortalTypes,xt as ScannerTypes,yt as ShopperTypes};
1
+ var H=class extends Error{constructor(e,t,r){super(r),this.name="ApiError",this.url=t.url,this.status=t.status,this.statusText=t.statusText,this.body=t.body,this.request=e}};var b=function(a,e,t,r,i){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?a!==e||!i:!e.has(a))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?i.call(a,t):i?i.value=t:e.set(a,t),t},m=function(a,e,t,r){if(t==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?a!==e||!r:!e.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?r:t==="a"?r.call(a):r?r.value:e.get(a)},k,j,I,D,$,z,B,Qe=class extends Error{constructor(e){super(e),this.name="CancelError"}get isCancelled(){return!0}},K=class{constructor(e){k.set(this,void 0),j.set(this,void 0),I.set(this,void 0),D.set(this,void 0),$.set(this,void 0),z.set(this,void 0),B.set(this,void 0),b(this,k,!1,"f"),b(this,j,!1,"f"),b(this,I,!1,"f"),b(this,D,[],"f"),b(this,$,new Promise((t,r)=>{b(this,z,t,"f"),b(this,B,r,"f");let i=n=>{m(this,k,"f")||m(this,j,"f")||m(this,I,"f")||(b(this,k,!0,"f"),m(this,z,"f")&&m(this,z,"f").call(this,n))},d=n=>{m(this,k,"f")||m(this,j,"f")||m(this,I,"f")||(b(this,j,!0,"f"),m(this,B,"f")&&m(this,B,"f").call(this,n))},l=n=>{m(this,k,"f")||m(this,j,"f")||m(this,I,"f")||m(this,D,"f").push(n)};return Object.defineProperty(l,"isResolved",{get:()=>m(this,k,"f")}),Object.defineProperty(l,"isRejected",{get:()=>m(this,j,"f")}),Object.defineProperty(l,"isCancelled",{get:()=>m(this,I,"f")}),e(i,d,l)}),"f")}get[(k=new WeakMap,j=new WeakMap,I=new WeakMap,D=new WeakMap,$=new WeakMap,z=new WeakMap,B=new WeakMap,Symbol.toStringTag)](){return"Cancellable Promise"}then(e,t){return m(this,$,"f").then(e,t)}catch(e){return m(this,$,"f").catch(e)}finally(e){return m(this,$,"f").finally(e)}cancel(){if(!(m(this,k,"f")||m(this,j,"f")||m(this,I,"f"))){if(b(this,I,!0,"f"),m(this,D,"f").length)try{for(let e of m(this,D,"f"))e()}catch(e){console.warn("Cancellation threw an error",e);return}m(this,D,"f").length=0,m(this,B,"f")&&m(this,B,"f").call(this,new Qe("Request aborted"))}}get isCancelled(){return m(this,I,"f")}};var u={BASE:"https://api.drttix.com/shopper",VERSION:"20260327.1",WITH_CREDENTIALS:!1,CREDENTIALS:"include",TOKEN:void 0,USERNAME:void 0,PASSWORD:void 0,HEADERS:void 0,ENCODE_PATH:void 0};var Ke=a=>a!=null,Y=a=>typeof a=="string",ot=a=>Y(a)&&a!=="",at=a=>typeof a=="object"&&typeof a.type=="string"&&typeof a.stream=="function"&&typeof a.arrayBuffer=="function"&&typeof a.constructor=="function"&&typeof a.constructor.name=="string"&&/^(Blob|File)$/.test(a.constructor.name)&&/^(Blob|File)$/.test(a[Symbol.toStringTag]),ft=a=>a instanceof FormData,jt=a=>{try{return btoa(a)}catch{return Buffer.from(a).toString("base64")}},Ct=a=>{let e=[],t=(i,d)=>{e.push(`${encodeURIComponent(i)}=${encodeURIComponent(String(d))}`)},r=(i,d)=>{Ke(d)&&(Array.isArray(d)?d.forEach(l=>{r(i,l)}):typeof d=="object"?Object.entries(d).forEach(([l,n])=>{r(`${i}[${l}]`,n)}):t(i,d))};return Object.entries(a).forEach(([i,d])=>{r(i,d)}),e.length>0?`?${e.join("&")}`:""},Gt=(a,e)=>{let t=a.ENCODE_PATH||encodeURI,r=e.url.replace("{api-version}",a.VERSION).replace(/{(.*?)}/g,(d,l)=>{var n;return!((n=e.path)===null||n===void 0)&&n.hasOwnProperty(l)?t(String(e.path[l])):d}),i=`${a.BASE}${r}`;return e.query?`${i}${Ct(e.query)}`:i},Rt=a=>{if(a.formData){let e=new FormData,t=(r,i)=>{Y(i)||at(i)?e.append(r,i):e.append(r,JSON.stringify(i))};return Object.entries(a.formData).filter(([r,i])=>Ke(i)).forEach(([r,i])=>{Array.isArray(i)?i.forEach(d=>t(r,d)):t(r,i)}),e}},ze=async(a,e)=>typeof e=="function"?e(a):e,_t=async(a,e)=>{let[t,r,i,d]=await Promise.all([ze(e,a.TOKEN),ze(e,a.USERNAME),ze(e,a.PASSWORD),ze(e,a.HEADERS)]),l=Object.fromEntries(Object.entries(e.headers||{}).filter(([p,h])=>Ke(h))),n=Object.entries(Object.assign(Object.assign({Accept:"application/json"},l),d)).filter(([p,h])=>Ke(h)).reduce((p,[h,w])=>Object.assign(Object.assign({},p),{[h]:String(w)}),{});if(ot(t)&&(n.Authorization=`Bearer ${t}`),ot(r)&&ot(i)){let p=jt(`${r}:${i}`);n.Authorization=`Basic ${p}`}return e.body!==void 0&&(e.mediaType?n["Content-Type"]=e.mediaType:at(e.body)?n["Content-Type"]=e.body.type||"application/octet-stream":Y(e.body)?n["Content-Type"]="text/plain":ft(e.body)||(n["Content-Type"]="application/json")),new Headers(n)},At=a=>{var e;if(a.body!==void 0)return!((e=a.mediaType)===null||e===void 0)&&e.includes("/json")?JSON.stringify(a.body):Y(a.body)||at(a.body)||ft(a.body)?a.body:JSON.stringify(a.body)},Dt=async(a,e,t,r,i,d,l)=>{let n=new AbortController,p={headers:d,body:r??i,method:e.method,signal:n.signal};return a.WITH_CREDENTIALS&&(p.credentials=a.CREDENTIALS),l(()=>n.abort()),await fetch(t,p)},Bt=(a,e)=>{if(e){let t=a.headers.get(e);if(Y(t))return t}},Nt=async a=>{if(a.status!==204)try{let e=a.headers.get("Content-Type");if(e)return["application/json","application/problem+json"].some(i=>e.toLowerCase().startsWith(i))?await a.json():await a.text()}catch(e){console.error(e)}},Ut=(a,e)=>{var t,r;let d=Object.assign({400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable"},a.errors)[e.status];if(d)throw new H(a,e,d);if(!e.ok){let l=(t=e.status)!==null&&t!==void 0?t:"unknown",n=(r=e.statusText)!==null&&r!==void 0?r:"unknown",p=(()=>{try{return JSON.stringify(e.body,null,2)}catch{return}})();throw new H(a,e,`Generic Error: status: ${l}; status text: ${n}; body: ${p}`)}},st,c=(a,e)=>new K(async(t,r,i)=>{try{let d=Gt(a,e),l=Rt(e),n=At(e),p=await _t(a,e),h={};p.forEach((g,E)=>{h[E]=g}),st&&(h.Cookie=st);let w=new Headers(h);if(!i.isCancelled){let g=await Dt(a,e,d,n,l,w,i),E=g.headers.get("set-cookie");E&&(st=E);let Q=await Nt(g),S=Bt(g,e.responseHeader),A={url:d,ok:g.ok,status:g.status,statusText:g.statusText,body:S??Q};Ut(e,A),t(A.body)}}catch(d){r(d)}});var X=class{static getTheme(e,t,r){return c(u,{method:"GET",url:"/theme",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getDisposition(e,t,r){return c(u,{method:"GET",url:"/disposition",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getRoot(e,t,r){return c(u,{method:"GET",url:"/root",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getLandingPage(e,t,r){return c(u,{method:"GET",url:"/landing",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var Z=class{static getCart(e,t,r){return c(u,{method:"GET",url:"/cart",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static deleteCart(e,t,r){return c(u,{method:"DELETE",url:"/cart",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var ee=class{static getCheckout(e,t,r){return c(u,{method:"GET",url:"/checkout",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static submitCheckout(e,t,r,i){return c(u,{method:"POST",url:"/checkout",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Returns validation error.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static saveNonce(e,t,r,i){return c(u,{method:"POST",url:"/checkout/nonce",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static clearNonce(e,t,r){return c(u,{method:"DELETE",url:"/checkout/nonce",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static saveDetails(e,t,r,i){return c(u,{method:"POST",url:"/checkout/details",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var te=class{static requestEventAccess(e,t,r,i){return c(u,{method:"GET",url:"/code/access",headers:{shopperguid:t,accountid:r,apikey:i},query:{eventId:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static applyCode(e,t,r,i){return c(u,{method:"POST",url:"/code",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static applyCoupon(e,t,r,i){return c(u,{method:"POST",url:"/code/discount",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static removeCoupon(e,t,r,i){return c(u,{method:"DELETE",url:"/code/discount",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static applyPriorityCode(e,t,r,i){return c(u,{method:"POST",url:"/code/priority",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var re=class{static getDonations(e,t,r){return c(u,{method:"GET",url:"/donation",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postDonation(e,t,r,i,d){return c(u,{method:"POST",url:"/donation",headers:{ipAddress:e,shopperguid:t,accountid:r,apikey:i},body:d,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var oe=class{static getEvents(e,t,r){return c(u,{method:"GET",url:"/event",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getPerformers(e,t,r,i){return c(u,{method:"GET",url:"/event/performer",headers:{shopperguid:t,accountid:r,apikey:i},query:{performer:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getEventById(e,t,r,i){return c(u,{method:"GET",url:"/event/{id}",path:{id:e},headers:{shopperguid:t,accountid:r,apikey:i},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postWishlist(e,t,r,i){return c(u,{method:"POST",url:"/event/waitlist",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var se=class{static lookupGiftCard(e,t,r,i,d){return c(u,{method:"GET",url:"/gift-card",headers:{shopperguid:r,accountid:i,apikey:d},query:{code:e,pin:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static applyGiftCard(e,t,r,i){return c(u,{method:"POST",url:"/gift-card",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static removeGiftCard(e,t,r){return c(u,{method:"DELETE",url:"/gift-card",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getGiftCardCheckoutInfo(e,t,r){return c(u,{method:"GET",url:"/gift-card/checkout",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getGiftCardEditForm(e,t,r){return c(u,{method:"GET",url:"/gift-card/edit",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var ae=class{static getReceipt(e,t,r,i){return c(u,{method:"GET",url:"/order/receipt",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getGwalletLink(e,t,r,i){return c(u,{method:"GET",url:"/order/gwallet",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getTestingGuid(e,t,r,i){return c(u,{method:"GET",url:"/order/testing",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getAssignNames(e,t,r,i){return c(u,{method:"GET",url:"/order/assign-names",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postAssignNames(e,t,r,i,d){return c(u,{method:"POST",url:"/order/assign-names",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},body:d,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postEmailTickets(e,t,r,i,d){return c(u,{method:"POST",url:"/order/email-tickets",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},body:d,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getTicketBlock(e,t,r,i){return c(u,{method:"GET",url:"/order/pickup",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postPickup(e,t,r,i){return c(u,{method:"POST",url:"/order/pickup",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postEmailReceipt(e,t,r,i){return c(u,{method:"POST",url:"/order/email-receipt",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getRefundRequest(e,t,r,i){return c(u,{method:"GET",url:"/order/refund-request",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postRefundRequest(e,t,r,i,d){return c(u,{method:"POST",url:"/order/refund-request",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},body:d,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postRecalcOrder(e,t,r,i,d){return c(u,{method:"POST",url:"/order/recalc",headers:{shopperguid:t,accountid:r,apikey:i},query:{guid:e},body:d,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static postRegisterStream(e,t,r,i){return c(u,{method:"POST",url:"/order/stream-register",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static deleteRegisteredStream(e,t,r,i){return c(u,{method:"DELETE",url:"/order/stream-register",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var ie=class{static summarizePayment(e,t,r,i){return c(u,{method:"POST",url:"/payment/summary",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static completePayment(e,t,r,i){return c(u,{method:"POST",url:"/payment/complete",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Returns the result of the payment failure.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static createCustomerSession(e,t,r){return c(u,{method:"POST",url:"/payment/customer",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var de=class{static getProducts(e,t,r){return c(u,{method:"GET",url:"/product",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static addProduct(e,t,r,i){return c(u,{method:"POST",url:"/product",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static deleteProduct(e,t,r,i){return c(u,{method:"DELETE",url:"/product",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var ne=class{static health(){return c(u,{method:"GET",url:"/seat/health",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static holdReservedSeat(e,t,r,i){return c(u,{method:"POST",url:"/seat/hold-reserved",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static holdGaSeat(e,t,r,i){return c(u,{method:"POST",url:"/seat/hold-ga",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static holdBaSeat(e,t,r,i){return c(u,{method:"POST",url:"/seat/hold-ba",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static releaseReservedSeat(e,t,r,i){return c(u,{method:"DELETE",url:"/seat/release-reserved",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static releaseGaSeat(e,t,r,i){return c(u,{method:"DELETE",url:"/seat/release-ga",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static updateTier(e,t,r,i){return c(u,{method:"POST",url:"/seat/update-tier",headers:{shopperguid:e,accountid:t,apikey:r},body:i,mediaType:"application/json",errors:{400:"Failed to update the tier information.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var ue=class{static createSession(e){return c(u,{method:"POST",url:"/session",body:e,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getSessions(e,t,r){return c(u,{method:"GET",url:"/session",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static getHeartbeat(e,t,r){return c(u,{method:"GET",url:"/session/heartbeat",headers:{shopperguid:e,accountid:t,apikey:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var yt={};var Tt={account:X,cart:Z,checkout:ee,code:te,donation:re,event:oe,giftcard:se,order:ae,payment:ie,product:de,seat:ne,session:ue};var W=class extends Error{constructor(e,t,r){super(r),this.name="ApiError",this.url=t.url,this.status=t.status,this.statusText=t.statusText,this.body=t.body,this.request=e}};var P=function(a,e,t,r,i){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?a!==e||!i:!e.has(a))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?i.call(a,t):i?i.value=t:e.set(a,t),t},f=function(a,e,t,r){if(t==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?a!==e||!r:!e.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?r:t==="a"?r.call(a):r?r.value:e.get(a)},C,G,v,N,M,ce,U,Ye=class extends Error{constructor(e){super(e),this.name="CancelError"}get isCancelled(){return!0}},le=class{constructor(e){C.set(this,void 0),G.set(this,void 0),v.set(this,void 0),N.set(this,void 0),M.set(this,void 0),ce.set(this,void 0),U.set(this,void 0),P(this,C,!1,"f"),P(this,G,!1,"f"),P(this,v,!1,"f"),P(this,N,[],"f"),P(this,M,new Promise((t,r)=>{P(this,ce,t,"f"),P(this,U,r,"f");let i=n=>{f(this,C,"f")||f(this,G,"f")||f(this,v,"f")||(P(this,C,!0,"f"),f(this,ce,"f")&&f(this,ce,"f").call(this,n))},d=n=>{f(this,C,"f")||f(this,G,"f")||f(this,v,"f")||(P(this,G,!0,"f"),f(this,U,"f")&&f(this,U,"f").call(this,n))},l=n=>{f(this,C,"f")||f(this,G,"f")||f(this,v,"f")||f(this,N,"f").push(n)};return Object.defineProperty(l,"isResolved",{get:()=>f(this,C,"f")}),Object.defineProperty(l,"isRejected",{get:()=>f(this,G,"f")}),Object.defineProperty(l,"isCancelled",{get:()=>f(this,v,"f")}),e(i,d,l)}),"f")}get[(C=new WeakMap,G=new WeakMap,v=new WeakMap,N=new WeakMap,M=new WeakMap,ce=new WeakMap,U=new WeakMap,Symbol.toStringTag)](){return"Cancellable Promise"}then(e,t){return f(this,M,"f").then(e,t)}catch(e){return f(this,M,"f").catch(e)}finally(e){return f(this,M,"f").finally(e)}cancel(){if(!(f(this,C,"f")||f(this,G,"f")||f(this,v,"f"))){if(P(this,v,!0,"f"),f(this,N,"f").length)try{for(let e of f(this,N,"f"))e()}catch(e){console.warn("Cancellation threw an error",e);return}f(this,N,"f").length=0,f(this,U,"f")&&f(this,U,"f").call(this,new Ye("Request aborted"))}}get isCancelled(){return f(this,v,"f")}};var T={BASE:"https://api.drttix.com/scanner-v3",VERSION:"20260307.1",WITH_CREDENTIALS:!1,CREDENTIALS:"include",TOKEN:void 0,USERNAME:void 0,PASSWORD:void 0,HEADERS:void 0,ENCODE_PATH:void 0};var Ze=a=>a!=null,pe=a=>typeof a=="string",it=a=>pe(a)&&a!=="",nt=a=>typeof a=="object"&&typeof a.type=="string"&&typeof a.stream=="function"&&typeof a.arrayBuffer=="function"&&typeof a.constructor=="function"&&typeof a.constructor.name=="string"&&/^(Blob|File)$/.test(a.constructor.name)&&/^(Blob|File)$/.test(a[Symbol.toStringTag]),gt=a=>a instanceof FormData,Lt=a=>{try{return btoa(a)}catch{return Buffer.from(a).toString("base64")}},Ft=a=>{let e=[],t=(i,d)=>{e.push(`${encodeURIComponent(i)}=${encodeURIComponent(String(d))}`)},r=(i,d)=>{Ze(d)&&(Array.isArray(d)?d.forEach(l=>{r(i,l)}):typeof d=="object"?Object.entries(d).forEach(([l,n])=>{r(`${i}[${l}]`,n)}):t(i,d))};return Object.entries(a).forEach(([i,d])=>{r(i,d)}),e.length>0?`?${e.join("&")}`:""},Ht=(a,e)=>{let t=a.ENCODE_PATH||encodeURI,r=e.url.replace("{api-version}",a.VERSION).replace(/{(.*?)}/g,(d,l)=>{var n;return!((n=e.path)===null||n===void 0)&&n.hasOwnProperty(l)?t(String(e.path[l])):d}),i=`${a.BASE}${r}`;return e.query?`${i}${Ft(e.query)}`:i},$t=a=>{if(a.formData){let e=new FormData,t=(r,i)=>{pe(i)||nt(i)?e.append(r,i):e.append(r,JSON.stringify(i))};return Object.entries(a.formData).filter(([r,i])=>Ze(i)).forEach(([r,i])=>{Array.isArray(i)?i.forEach(d=>t(r,d)):t(r,i)}),e}},Xe=async(a,e)=>typeof e=="function"?e(a):e,Wt=async(a,e)=>{let[t,r,i,d]=await Promise.all([Xe(e,a.TOKEN),Xe(e,a.USERNAME),Xe(e,a.PASSWORD),Xe(e,a.HEADERS)]),l=Object.fromEntries(Object.entries(e.headers||{}).filter(([p,h])=>Ze(h))),n=Object.entries(Object.assign(Object.assign({Accept:"application/json"},l),d)).filter(([p,h])=>Ze(h)).reduce((p,[h,w])=>Object.assign(Object.assign({},p),{[h]:String(w)}),{});if(it(t)&&(n.Authorization=`Bearer ${t}`),it(r)&&it(i)){let p=Lt(`${r}:${i}`);n.Authorization=`Basic ${p}`}return e.body!==void 0&&(e.mediaType?n["Content-Type"]=e.mediaType:nt(e.body)?n["Content-Type"]=e.body.type||"application/octet-stream":pe(e.body)?n["Content-Type"]="text/plain":gt(e.body)||(n["Content-Type"]="application/json")),new Headers(n)},Mt=a=>{var e;if(a.body!==void 0)return!((e=a.mediaType)===null||e===void 0)&&e.includes("/json")?JSON.stringify(a.body):pe(a.body)||nt(a.body)||gt(a.body)?a.body:JSON.stringify(a.body)},Jt=async(a,e,t,r,i,d,l)=>{let n=new AbortController,p={headers:d,body:r??i,method:e.method,signal:n.signal};return a.WITH_CREDENTIALS&&(p.credentials=a.CREDENTIALS),l(()=>n.abort()),await fetch(t,p)},Vt=(a,e)=>{if(e){let t=a.headers.get(e);if(pe(t))return t}},Qt=async a=>{if(a.status!==204)try{let e=a.headers.get("Content-Type");if(e)return["application/json","application/problem+json"].some(i=>e.toLowerCase().startsWith(i))?await a.json():await a.text()}catch(e){console.error(e)}},zt=(a,e)=>{var t,r;let d=Object.assign({400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable"},a.errors)[e.status];if(d)throw new W(a,e,d);if(!e.ok){let l=(t=e.status)!==null&&t!==void 0?t:"unknown",n=(r=e.statusText)!==null&&r!==void 0?r:"unknown",p=(()=>{try{return JSON.stringify(e.body,null,2)}catch{return}})();throw new W(a,e,`Generic Error: status: ${l}; status text: ${n}; body: ${p}`)}},dt,x=(a,e)=>new le(async(t,r,i)=>{try{let d=Ht(a,e),l=$t(e),n=Mt(e),p=await Wt(a,e),h={};p.forEach((g,E)=>{h[E]=g}),dt&&(h.Cookie=dt);let w=new Headers(h);if(!i.isCancelled){let g=await Jt(a,e,d,n,l,w,i),E=g.headers.get("set-cookie");E&&(dt=E);let Q=await Qt(g),S=Vt(g,e.responseHeader),A={url:d,ok:g.ok,status:g.status,statusText:g.statusText,body:S??Q};zt(e,A),t(A.body)}}catch(d){r(d)}});var he=class{static download(e,t,r,i,d){return x(T,{method:"GET",url:"/db/dl",query:{c:e,devicename:t,username:r,ovr:d,lang:i},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static query(e,t,r,i){return x(T,{method:"GET",url:"/db/q",query:{c:e,ds:t,s:r,r:i},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static upload(e,t,r){return x(T,{method:"POST",url:"/db/ul",query:{c:e,devicename:t},body:r,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var me=class{static ordersControllerGetOrdersByPhone(e,t){return x(T,{method:"GET",url:"/orders/by-phone",query:{c:e,q:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static ordersControllerGetOrdersByName(e,t){return x(T,{method:"GET",url:"/orders/by-name",query:{c:e,q:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static ordersControllerGetOrdersByCreditCard(e,t){return x(T,{method:"GET",url:"/orders/by-cc",query:{c:e,q:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static ordersControllerGetOrdersByNumber(e,t){return x(T,{method:"GET",url:"/orders/by-number",query:{c:e,q:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var fe=class{static appControllerHealth(){return x(T,{method:"GET",url:"/health",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerResetEvent(e,t){return x(T,{method:"GET",url:"/reset",query:{c:e,lang:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerScanProduct(e,t,r,i){return x(T,{method:"POST",url:"/merch",query:{c:e,devicename:t,lang:i},body:r,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerScanBarcode(e,t,r,i){return x(T,{method:"GET",url:"/ticket",query:{c:e,devicename:t,bc:r,lang:i},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerScanTicketFromPost(e,t,r,i){return x(T,{method:"POST",url:"/ticket",query:{c:e,devicename:t,lang:i},body:r,mediaType:"application/json",errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerGetSeat(e,t,r,i,d){return x(T,{method:"GET",url:"/seat",query:{c:e,section:t,row:r,seat:i,lang:d},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerGetReceipt(e,t){return x(T,{method:"GET",url:"/receipt",query:{guid:e,lang:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerGetReceiptMobile(e,t){return x(T,{method:"GET",url:"/receipt-mobile",query:{guid:e,lang:t},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerGetOrder(e,t,r,i){return x(T,{method:"GET",url:"/order",query:{c:e,oid:t,type:r,lang:i},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerGetShow(e,t,r){return x(T,{method:"GET",url:"/show",query:{c:e,devicename:t,lang:r},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}static appControllerGetStrings(e){return x(T,{method:"GET",url:"/strings",query:{lang:e},errors:{400:"Bad Request error with error details.",404:"Not found error with error details.",500:"Internal Server Error, please contact developers."}})}};var xt={};var Et={database:he,orders:me,scanning:fe};var J=class extends Error{constructor(e,t,r){super(r),this.name="ApiError",this.url=t.url,this.status=t.status,this.statusText=t.statusText,this.body=t.body,this.request=e}};var O=function(a,e,t,r,i){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?a!==e||!i:!e.has(a))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?i.call(a,t):i?i.value=t:e.set(a,t),t},y=function(a,e,t,r){if(t==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?a!==e||!r:!e.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?r:t==="a"?r.call(a):r?r.value:e.get(a)},R,_,q,L,V,ye,F,et=class extends Error{constructor(e){super(e),this.name="CancelError"}get isCancelled(){return!0}},Te=class{constructor(e){R.set(this,void 0),_.set(this,void 0),q.set(this,void 0),L.set(this,void 0),V.set(this,void 0),ye.set(this,void 0),F.set(this,void 0),O(this,R,!1,"f"),O(this,_,!1,"f"),O(this,q,!1,"f"),O(this,L,[],"f"),O(this,V,new Promise((t,r)=>{O(this,ye,t,"f"),O(this,F,r,"f");let i=n=>{y(this,R,"f")||y(this,_,"f")||y(this,q,"f")||(O(this,R,!0,"f"),y(this,ye,"f")&&y(this,ye,"f").call(this,n))},d=n=>{y(this,R,"f")||y(this,_,"f")||y(this,q,"f")||(O(this,_,!0,"f"),y(this,F,"f")&&y(this,F,"f").call(this,n))},l=n=>{y(this,R,"f")||y(this,_,"f")||y(this,q,"f")||y(this,L,"f").push(n)};return Object.defineProperty(l,"isResolved",{get:()=>y(this,R,"f")}),Object.defineProperty(l,"isRejected",{get:()=>y(this,_,"f")}),Object.defineProperty(l,"isCancelled",{get:()=>y(this,q,"f")}),e(i,d,l)}),"f")}get[(R=new WeakMap,_=new WeakMap,q=new WeakMap,L=new WeakMap,V=new WeakMap,ye=new WeakMap,F=new WeakMap,Symbol.toStringTag)](){return"Cancellable Promise"}then(e,t){return y(this,V,"f").then(e,t)}catch(e){return y(this,V,"f").catch(e)}finally(e){return y(this,V,"f").finally(e)}cancel(){if(!(y(this,R,"f")||y(this,_,"f")||y(this,q,"f"))){if(O(this,q,!0,"f"),y(this,L,"f").length)try{for(let e of y(this,L,"f"))e()}catch(e){console.warn("Cancellation threw an error",e);return}y(this,L,"f").length=0,y(this,F,"f")&&y(this,F,"f").call(this,new et("Request aborted"))}}get isCancelled(){return y(this,q,"f")}};var o={BASE:"",VERSION:"20260327.1",WITH_CREDENTIALS:!1,CREDENTIALS:"include",TOKEN:void 0,USERNAME:void 0,PASSWORD:void 0,HEADERS:void 0,ENCODE_PATH:void 0};var rt=a=>a!=null,ge=a=>typeof a=="string",ut=a=>ge(a)&&a!=="",lt=a=>typeof a=="object"&&typeof a.type=="string"&&typeof a.stream=="function"&&typeof a.arrayBuffer=="function"&&typeof a.constructor=="function"&&typeof a.constructor.name=="string"&&/^(Blob|File)$/.test(a.constructor.name)&&/^(Blob|File)$/.test(a[Symbol.toStringTag]),wt=a=>a instanceof FormData,Kt=a=>{try{return btoa(a)}catch{return Buffer.from(a).toString("base64")}},Yt=a=>{let e=[],t=(i,d)=>{e.push(`${encodeURIComponent(i)}=${encodeURIComponent(String(d))}`)},r=(i,d)=>{rt(d)&&(Array.isArray(d)?d.forEach(l=>{r(i,l)}):typeof d=="object"?Object.entries(d).forEach(([l,n])=>{r(`${i}[${l}]`,n)}):t(i,d))};return Object.entries(a).forEach(([i,d])=>{r(i,d)}),e.length>0?`?${e.join("&")}`:""},Xt=(a,e)=>{let t=a.ENCODE_PATH||encodeURI,r=e.url.replace("{api-version}",a.VERSION).replace(/{(.*?)}/g,(d,l)=>{var n;return!((n=e.path)===null||n===void 0)&&n.hasOwnProperty(l)?t(String(e.path[l])):d}),i=`${a.BASE}${r}`;return e.query?`${i}${Yt(e.query)}`:i},Zt=a=>{if(a.formData){let e=new FormData,t=(r,i)=>{ge(i)||lt(i)?e.append(r,i):e.append(r,JSON.stringify(i))};return Object.entries(a.formData).filter(([r,i])=>rt(i)).forEach(([r,i])=>{Array.isArray(i)?i.forEach(d=>t(r,d)):t(r,i)}),e}},tt=async(a,e)=>typeof e=="function"?e(a):e,er=async(a,e)=>{let[t,r,i,d]=await Promise.all([tt(e,a.TOKEN),tt(e,a.USERNAME),tt(e,a.PASSWORD),tt(e,a.HEADERS)]),l=Object.fromEntries(Object.entries(e.headers||{}).filter(([p,h])=>rt(h))),n=Object.entries(Object.assign(Object.assign({Accept:"application/json"},l),d)).filter(([p,h])=>rt(h)).reduce((p,[h,w])=>Object.assign(Object.assign({},p),{[h]:String(w)}),{});if(ut(t)&&(n.Authorization=`Bearer ${t}`),ut(r)&&ut(i)){let p=Kt(`${r}:${i}`);n.Authorization=`Basic ${p}`}return e.body!==void 0&&(e.mediaType?n["Content-Type"]=e.mediaType:lt(e.body)?n["Content-Type"]=e.body.type||"application/octet-stream":ge(e.body)?n["Content-Type"]="text/plain":wt(e.body)||(n["Content-Type"]="application/json")),new Headers(n)},tr=a=>{var e;if(a.body!==void 0)return!((e=a.mediaType)===null||e===void 0)&&e.includes("/json")?JSON.stringify(a.body):ge(a.body)||lt(a.body)||wt(a.body)?a.body:JSON.stringify(a.body)},rr=async(a,e,t,r,i,d,l)=>{let n=new AbortController,p={headers:d,body:r??i,method:e.method,signal:n.signal};return a.WITH_CREDENTIALS&&(p.credentials=a.CREDENTIALS),l(()=>n.abort()),await fetch(t,p)},or=(a,e)=>{if(e){let t=a.headers.get(e);if(ge(t))return t}},sr=async a=>{if(a.status!==204)try{let e=a.headers.get("Content-Type");if(e)return["application/json","application/problem+json"].some(i=>e.toLowerCase().startsWith(i))?await a.json():await a.text()}catch(e){console.error(e)}},ar=(a,e)=>{var t,r;let d=Object.assign({400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable"},a.errors)[e.status];if(d)throw new J(a,e,d);if(!e.ok){let l=(t=e.status)!==null&&t!==void 0?t:"unknown",n=(r=e.statusText)!==null&&r!==void 0?r:"unknown",p=(()=>{try{return JSON.stringify(e.body,null,2)}catch{return}})();throw new J(a,e,`Generic Error: status: ${l}; status text: ${n}; body: ${p}`)}},ct,s=(a,e)=>new Te(async(t,r,i)=>{try{let d=Xt(a,e),l=Zt(e),n=tr(e),p=await er(a,e),h={};p.forEach((g,E)=>{h[E]=g}),ct&&(h.Cookie=ct);let w=new Headers(h);if(!i.isCancelled){let g=await rr(a,e,d,n,l,w,i),E=g.headers.get("set-cookie");E&&(ct=E);let Q=await sr(g),S=or(g,e.responseHeader),A={url:d,ok:g.ok,status:g.status,statusText:g.statusText,body:S??Q};ar(e,A),t(A.body)}}catch(d){r(d)}});var xe=class{static getPortalObject(e){return s(o,{method:"GET",url:"/account/permission",headers:{"x-studio-id":e}})}static createAccount(e,t){return s(o,{method:"POST",url:"/account/create",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updatePermission(e,t,r){return s(o,{method:"PUT",url:"/account/{id}",path:{id:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static deleteuser(e){return s(o,{method:"DELETE",url:"/account/{id}",path:{id:e}})}static renewPolicy(e,t){return s(o,{method:"PUT",url:"/account/{policyId}/renew-policy",path:{policyId:t},headers:{"x-studio-id":e}})}static clearPermissionsCache(e){return s(o,{method:"POST",url:"/account/cache",query:{studio_login_id:e}})}};var Ee=class{static getTicketDetails(e,t){return s(o,{method:"POST",url:"/accounting/tickets",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getCollectionDetails(e,t){return s(o,{method:"POST",url:"/accounting/collection-details",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getProductDetails(e,t){return s(o,{method:"POST",url:"/accounting/products",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getDonationDetails(e,t){return s(o,{method:"POST",url:"/accounting/donations",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getTaxDetails(e,t){return s(o,{method:"POST",url:"/accounting/taxes",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getAccountingDetails(e){return s(o,{method:"GET",url:"/accounting",headers:{"x-studio-id":e}})}static getOtherDetails(e){return s(o,{method:"GET",url:"/accounting/others",headers:{"x-studio-id":e}})}static getWeeklyDetails(e){return s(o,{method:"GET",url:"/accounting/weekly",headers:{"x-studio-id":e}})}static getStudioFinancialDetails(e){return s(o,{method:"GET",url:"/accounting/financials",headers:{"x-studio-id":e}})}static getStudioDisputes(e){return s(o,{method:"GET",url:"/accounting/disputes",headers:{"x-studio-id":e}})}static getStudioRefunds(e){return s(o,{method:"GET",url:"/accounting/refunds",headers:{"x-studio-id":e}})}static getStripeDetails(e){return s(o,{method:"GET",url:"/accounting/stripe",headers:{"x-studio-id":e}})}static acknowledgeDispute(e,t){return s(o,{method:"PUT",url:"/accounting/{disputeId}/acknowledge-dispute",path:{disputeId:t},headers:{"x-studio-id":e}})}static getRefundSettings(e){return s(o,{method:"GET",url:"/accounting/refund-settings",headers:{"x-studio-id":e}})}static getPaymentGatewayDetails(e){return s(o,{method:"GET",url:"/accounting/payment-details",headers:{"x-studio-id":e}})}static getRefundDetails(e,t){return s(o,{method:"GET",url:"/accounting/{refundId}/refund-details",path:{refundId:t},headers:{"x-studio-id":e}})}static resetTaxPayment(e,t){return s(o,{method:"PUT",url:"/accounting/reset-tax-payment",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateBankingInfo(e,t){return s(o,{method:"PUT",url:"/accounting/update-banking-info",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateTaxInfo(e,t){return s(o,{method:"PUT",url:"/accounting/update-tax-info",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static declineRefund(e,t){return s(o,{method:"PUT",url:"/accounting/{refundId}/decline-refund",path:{refundId:t},headers:{"x-studio-id":e}})}static refundUpdateAmount(e,t,r){return s(o,{method:"PUT",url:"/accounting/{refundId}/refund-update-amount",path:{refundId:t},headers:{"x-studio-id":e},query:{amount:r}})}static acceptRefund(e,t,r){return s(o,{method:"PUT",url:"/accounting/{refundId}/accept-refund",path:{refundId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}};var we=class{static getBuyer(e,t){return s(o,{method:"GET",url:"/{orderId}/buyer-details",path:{orderId:t},headers:{"x-studio-id":e}})}};var Se=class{static sendForgotPassword(e,t){return s(o,{method:"POST",url:"/auth/forgot-password",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static verifyOtp(e,t){return s(o,{method:"POST",url:"/auth/verify-otp",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static login(e,t){return s(o,{method:"POST",url:"/auth/login",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static logout(e){return s(o,{method:"POST",url:"/auth/logout",headers:{"x-studio-id":e}})}static changePassword(e,t){return s(o,{method:"POST",url:"/auth/change-password",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static refreshPortalRoutesCache(){return s(o,{method:"POST",url:"/auth/refresh-portal-routes-cache"})}};var be=class{static getAllEmail(e,t){return s(o,{method:"GET",url:"/client-tools/generated-emails",headers:{"x-studio-id":e},query:{searchQuery:t}})}static deleteEmails(e,t){return s(o,{method:"DELETE",url:"/client-tools/generated-emails",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getEmailDetails(e,t){return s(o,{method:"GET",url:"/client-tools/generated-emails/{mailId}",path:{mailId:t},headers:{"x-studio-id":e}})}static editEmail(e,t,r){return s(o,{method:"PUT",url:"/client-tools/generated-emails/{mailId}",path:{mailId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}};var Ie=class{static getInterview(e){return s(o,{method:"GET",url:"/client-tools/parent-letter",headers:{"x-studio-id":e}})}};var Pe=class{static getPatronStats(e){return s(o,{method:"GET",url:"/client-tools/patron-database",headers:{"x-studio-id":e}})}static deletePatronCodes(e,t){return s(o,{method:"DELETE",url:"/client-tools/patron-database",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getShowDetails(e){return s(o,{method:"GET",url:"/client-tools/patron-database/show-details",headers:{"x-studio-id":e}})}static getStudioIntegratorDetails(e){return s(o,{method:"GET",url:"/client-tools/patron-database/studio-integrator-details",headers:{"x-studio-id":e}})}static getPatronCodes(e,t,r){return s(o,{method:"GET",url:"/client-tools/patron-database/codes",headers:{"x-studio-id":e},query:{status:t,searchQuery:r}})}static getPatronTags(e){return s(o,{method:"GET",url:"/client-tools/patron-database/tags",headers:{"x-studio-id":e}})}static getPatronCodeDetails(e,t){return s(o,{method:"GET",url:"/client-tools/patron-database/code-details",headers:{"x-studio-id":e},query:{emailId:t}})}static getPatronCodeDetails1(e,t){return s(o,{method:"GET",url:"/client-tools/patron-database/{patronId}/code-details",path:{patronId:t},headers:{"x-studio-id":e}})}static createPatronTag(e,t){return s(o,{method:"POST",url:"/client-tools/patron-database/create-patron-tag",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static createPatronCodes(e,t){return s(o,{method:"POST",url:"/client-tools/patron-database/create-patron-codes",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static sendMail(e,t){return s(o,{method:"POST",url:"/client-tools/patron-database/send-mail",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static provideDiscountAccess(e,t){return s(o,{method:"POST",url:"/client-tools/patron-database/discount-access",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static providePatronAccess(e,t){return s(o,{method:"POST",url:"/client-tools/patron-database/patron-access",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updatePatronSettings(e,t){return s(o,{method:"PUT",url:"/client-tools/patron-database/settings",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updatePatronTag(e,t){return s(o,{method:"PUT",url:"/client-tools/patron-database/tag",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static deletePatronTag(e,t){return s(o,{method:"DELETE",url:"/client-tools/patron-database/tag",headers:{"x-studio-id":e},query:{tag:t}})}static updatePatronCode(e,t,r){return s(o,{method:"PUT",url:"/client-tools/patron-database/{patronId}",path:{patronId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static deletePatronCouponCode(e,t){return s(o,{method:"DELETE",url:"/client-tools/patron-database/coupon-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static deletePriorityCode(e,t){return s(o,{method:"DELETE",url:"/client-tools/patron-database/priority-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}};var ve=class{static getSeatAssignmentSettings(e){return s(o,{method:"GET",url:"/client-tools/seat-assignment-tool/settings",headers:{"x-studio-id":e}})}};var Oe=class{static getStripeSettings(e){return s(o,{method:"GET",url:"/client-tools/stripe-onboarding",headers:{"x-studio-id":e}})}};var qe=class{static getStudioDesign(e){return s(o,{method:"GET",url:"/client-tools/theme-builder/studio-design",headers:{"x-studio-id":e}})}static updateStudioDesign(e,t){return s(o,{method:"PUT",url:"/client-tools/theme-builder/studio-design",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getStudioImages(e,t,r,i,d,l,n){return s(o,{method:"GET",url:"/client-tools/theme-builder/images",headers:{"x-studio-id":e},query:{format:t,library:r,minWidth:i,maxWidth:d,minHeight:l,maxHeight:n}})}static startImageUpload(e,t){return s(o,{method:"POST",url:"/client-tools/theme-builder/start-image-upload",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateImageUrl(e,t,r,i,d){return s(o,{method:"POST",url:"/client-tools/theme-builder/update-image-url",headers:{"x-studio-id":e},query:{format:t,width:r,height:i},body:d,mediaType:"application/json"})}};var ke=class{static getThemes(e,t){return s(o,{method:"GET",url:"/client-tools/theme-library",query:{categoryId:e,searchQuery:t}})}static getThemeCategories(){return s(o,{method:"GET",url:"/client-tools/theme-library/categories"})}static getThemeDetails(e){return s(o,{method:"GET",url:"/client-tools/theme-library/{themeId}",path:{themeId:e}})}};var je=class{static fetchTicketingDetails(e){return s(o,{method:"GET",url:"/client-tools/ticketing-link/details",headers:{"x-studio-id":e}})}static generateFlyer(e,t,r,i){return s(o,{method:"GET",url:"/client-tools/ticketing-link/flyer",headers:{"x-studio-id":e},query:{show:t,start:r,end:i}})}};var Ce=class{static getShows(e){return s(o,{method:"GET",url:"/client-tools/ticket-scanning",headers:{"x-studio-id":e}})}static scannedTicketDetails(e,t){return s(o,{method:"GET",url:"/client-tools/ticket-scanning/{showId}",path:{showId:t},headers:{"x-studio-id":e}})}static resetScannedTicketDetails(e){return s(o,{method:"PUT",url:"/client-tools/ticket-scanning/{showId}",path:{showId:e}})}};var Ge=class{static getUnapprovedOrders(e){return s(o,{method:"GET",url:"/client-tools/unapproved-orders",headers:{"x-studio-id":e}})}static getOrderSeats(e,t){return s(o,{method:"GET",url:"/client-tools/unapproved-orders/{orderId}/seats",path:{orderId:t},headers:{"x-studio-id":e}})}static approveOrder(e,t,r){return s(o,{method:"PUT",url:"/client-tools/unapproved-orders/{orderId}/approve-order",path:{orderId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}};var Re=class{static getWaitlistShows(e,t,r){return s(o,{method:"GET",url:"/client-tools/waitlist",headers:{"x-studio-id":e},query:{showId:t,showFulfilled:r}})}static createWaitlist(e,t){return s(o,{method:"POST",url:"/client-tools/waitlist",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getWaitlistFilterShows(e){return s(o,{method:"GET",url:"/client-tools/waitlist/shows",headers:{"x-studio-id":e}})}static getWaitlistById(e,t){return s(o,{method:"GET",url:"/client-tools/waitlist/{waitlistId}",path:{waitlistId:t},headers:{"x-studio-id":e}})}static updateWaitlist(e,t,r){return s(o,{method:"PUT",url:"/client-tools/waitlist/{waitlistId}",path:{waitlistId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static deleteWaitlist(e,t){return s(o,{method:"DELETE",url:"/client-tools/waitlist/{waitlistId}",path:{waitlistId:t},headers:{"x-studio-id":e}})}static assignWaitlistToShows(e,t,r){return s(o,{method:"POST",url:"/client-tools/waitlist/{waitlistId}/assign-waitlist",path:{waitlistId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static updateAllOrNoneStatus(e,t){return s(o,{method:"PUT",url:"/client-tools/waitlist/{waitlistId}/all-or-none",path:{waitlistId:t},headers:{"x-studio-id":e}})}};var _e=class{static getDashboard(e){return s(o,{method:"GET",url:"/dashboard",headers:{"x-studio-id":e}})}static getBookmarks(e){return s(o,{method:"GET",url:"/dashboard/bookmarks",headers:{"x-studio-id":e}})}static search(e,t){return s(o,{method:"GET",url:"/dashboard/search",headers:{"x-studio-id":e},query:{q:t}})}static searchLog(e){return s(o,{method:"POST",url:"/dashboard/search-log",body:e,mediaType:"application/json"})}};var Ae=class{static getShowsForFilter(e){return s(o,{method:"GET",url:"/features/blocked-seats/shows",headers:{"x-studio-id":e}})}static getShowsForBlocking(e){return s(o,{method:"GET",url:"/features/blocked-seats/shows-for-blocking",headers:{"x-studio-id":e}})}static getSeatDetails(e,t,r,i){return s(o,{method:"GET",url:"/features/blocked-seats/seat-details",headers:{"x-studio-id":e},query:{showId:i,filter:t,searchQuery:r}})}static getReservationCodes(e){return s(o,{method:"GET",url:"/features/blocked-seats/reservation-codes",headers:{"x-studio-id":e}})}static getSelectedSeats(e){return s(o,{method:"GET",url:"/features/blocked-seats/selected-seats",headers:{"x-studio-id":e}})}static initializeSeatEngine(e,t){return s(o,{method:"GET",url:"/features/blocked-seats/{showId}/initialize-seat-engine",path:{showId:t},headers:{"x-studio-id":e}})}static getSeatEngineOccupancy(e,t){return s(o,{method:"GET",url:"/features/blocked-seats/{showId}/occupancy",path:{showId:t},headers:{"x-studio-id":e}})}static getSelectedSeats1(e,t){return s(o,{method:"GET",url:"/features/blocked-seats/{showId}/blocked-seats-check",path:{showId:t},headers:{"x-studio-id":e}})}static exchangeShowDetail(e,t){return s(o,{method:"GET",url:"/features/blocked-seats/{showId}/exchange-show-detail",path:{showId:t},headers:{"x-studio-id":e}})}static getReservationCodeDetails(e,t){return s(o,{method:"GET",url:"/features/blocked-seats/{codeId}/reservation-code-detail",path:{codeId:t},headers:{"x-studio-id":e}})}static getEmailDetails(e,t,r){return s(o,{method:"POST",url:"/features/blocked-seats/email-details",path:{seatId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static sendEmail(e,t){return s(o,{method:"POST",url:"/features/blocked-seats/send-email",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static sendMailForReservationCode(e,t){return s(o,{method:"POST",url:"/features/blocked-seats/send-reservation-code-email",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static assignSeats(e,t){return s(o,{method:"POST",url:"/features/blocked-seats/assign-seats",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static blockSeats(e,t){return s(o,{method:"POST",url:"/features/blocked-seats/block-seats",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static unblockSeats(e,t){return s(o,{method:"POST",url:"/features/blocked-seats/unblock-seats",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static downloadTickets(e,t){return s(o,{method:"POST",url:"/features/blocked-seats/download-tickets",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static holdGeneralSeatTickets(e,t,r){return s(o,{method:"POST",url:"/features/blocked-seats/{showId}/hold-general-seat-tickets",path:{showId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static holdChartSeatTickets(e,t,r){return s(o,{method:"POST",url:"/features/blocked-seats/{showId}/hold-chart-seat-tickets",path:{showId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static releaseSeat(e,t){return s(o,{method:"PUT",url:"/features/blocked-seats/release-seat",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static releaseReservationCode(e,t){return s(o,{method:"PUT",url:"/features/blocked-seats/release-reservation-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static releaseAllSeats(e){return s(o,{method:"PUT",url:"/features/blocked-seats/release-all-seats",headers:{"x-studio-id":e}})}static toggleSeatInCartTicket(e,t,r){return s(o,{method:"PUT",url:"/features/blocked-seats/{showId}/{seatId}/toggle-cart-ticket",path:{showId:t,seatId:r},headers:{"x-studio-id":e}})}};var De=class{static getCheckoutQuestions(e){return s(o,{method:"GET",url:"/features/checkout-questions",headers:{"x-studio-id":e}})}static createCheckoutQuestion(e,t){return s(o,{method:"POST",url:"/features/checkout-questions",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getShowsTypesProducts(e){return s(o,{method:"GET",url:"/features/checkout-questions/details",headers:{"x-studio-id":e}})}static getCheckoutQuestionById(e,t){return s(o,{method:"GET",url:"/features/checkout-questions/{questionId}",path:{questionId:t},headers:{"x-studio-id":e}})}static updateCheckoutQuestion(e,t,r){return s(o,{method:"PUT",url:"/features/checkout-questions/{questionId}",path:{questionId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static deleteCheckoutQuestion(e,t){return s(o,{method:"DELETE",url:"/features/checkout-questions/{questionId}",path:{questionId:t},headers:{"x-studio-id":e}})}};var Be=class{static getCouponFilter(e){return s(o,{method:"GET",url:"/features/discounts/coupon-filter",headers:{"x-studio-id":e}})}static getCoupons(e,t,r,i){return s(o,{method:"GET",url:"/features/discounts/coupons",headers:{"x-studio-id":e},query:{status:t,searchQuery:r,filter:i}})}static getGroupCodes(e){return s(o,{method:"GET",url:"/features/discounts/group-codes",headers:{"x-studio-id":e}})}static getCouponData(e){return s(o,{method:"GET",url:"/features/discounts/coupon-data",headers:{"x-studio-id":e}})}static getAvailableCouponData(e){return s(o,{method:"GET",url:"/features/discounts/available-coupons",headers:{"x-studio-id":e}})}static getCustomLogic(e,t){return s(o,{method:"GET",url:"/features/discounts/{couponId}/custom-logic",path:{couponId:t},headers:{"x-studio-id":e}})}static resendMailForCoupons(e,t){return s(o,{method:"POST",url:"/features/discounts/resend-mail",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static validateEmailForCoupons(e,t){return s(o,{method:"POST",url:"/features/discounts/validate-email",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static createCode(e,t){return s(o,{method:"POST",url:"/features/discounts/create-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static createGroupCode(e,t){return s(o,{method:"POST",url:"/features/discounts/create-group-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateCode(e,t){return s(o,{method:"PUT",url:"/features/discounts/update-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static expireGroupCode(e,t){return s(o,{method:"PUT",url:"/features/discounts/{groupCodeId}/expire",path:{groupCodeId:t},headers:{"x-studio-id":e}})}static expireAllCoupons(e){return s(o,{method:"PUT",url:"/features/discounts/expire-all",headers:{"x-studio-id":e}})}static deleteCoupons(e,t){return s(o,{method:"DELETE",url:"/features/discounts",headers:{"x-studio-id":e},query:{couponIds:t}})}};var Ne=class{static getFunds(e){return s(o,{method:"GET",url:"/features/donations",headers:{"x-studio-id":e}})}static createFund(e,t){return s(o,{method:"POST",url:"/features/donations",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getServiceAgreement(e){return s(o,{method:"GET",url:"/features/donations/service-agreement",headers:{"x-studio-id":e}})}static createServiceAgreement(e,t){return s(o,{method:"POST",url:"/features/donations/service-agreement",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getFundDetails(e,t){return s(o,{method:"GET",url:"/features/donations/{fundId}",path:{fundId:t},headers:{"x-studio-id":e}})}static updateFund(e,t,r){return s(o,{method:"PUT",url:"/features/donations/{fundId}",path:{fundId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static deleteFund(e,t){return s(o,{method:"DELETE",url:"/features/donations/{fundId}",path:{fundId:t},headers:{"x-studio-id":e}})}static getFund(e,t){return s(o,{method:"GET",url:"/features/donations/{fundId}/detail",path:{fundId:t},headers:{"x-studio-id":e}})}static duplicateFund(e,t,r){return s(o,{method:"POST",url:"/features/donations/{fundId}/duplicate",path:{fundId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static sendEmail(e,t,r){return s(o,{method:"POST",url:"/features/donations/{fundId}/send-mail",path:{fundId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}};var Ue=class{static getGiftCards(e,t){return s(o,{method:"GET",url:"/features/gift-cards",headers:{"x-studio-id":e},query:{isVoid:t}})}static createGiftCard(e,t){return s(o,{method:"POST",url:"/features/gift-cards",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getTransactions(e,t){return s(o,{method:"GET",url:"/features/gift-cards/{giftCardId}/transactions",path:{giftCardId:t},headers:{"x-studio-id":e}})}static getGiftCard(e,t){return s(o,{method:"GET",url:"/features/gift-cards/{giftCardId}",path:{giftCardId:t},headers:{"x-studio-id":e}})}static updateGiftCard(e,t,r){return s(o,{method:"PUT",url:"/features/gift-cards/{giftCardId}",path:{giftCardId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static deleteGiftCard(e,t){return s(o,{method:"DELETE",url:"/features/gift-cards/{giftCardId}",path:{giftCardId:t},headers:{"x-studio-id":e}})}static createGiftCardsBulk(e,t){return s(o,{method:"POST",url:"/features/gift-cards/bulk-create",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}};var Le=class{static getGoldenTicketList(e,t){return s(o,{method:"GET",url:"/features/golden-tickets",headers:{"x-studio-id":e},query:{showId:t}})}static createGoldenTicket(e,t){return s(o,{method:"POST",url:"/features/golden-tickets",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getShowsForGoldenTickets(e){return s(o,{method:"GET",url:"/features/golden-tickets/shows",headers:{"x-studio-id":e}})}static getSectionDetails(e,t){return s(o,{method:"GET",url:"/features/golden-tickets/{showId}/section-detail",path:{showId:t},headers:{"x-studio-id":e}})}static getRowDetails(e,t,r){return s(o,{method:"GET",url:"/features/golden-tickets/{showId}/row-detail",path:{showId:t},headers:{"x-studio-id":e},query:{section:r}})}static getSeatDetails(e,t,r,i){return s(o,{method:"GET",url:"/features/golden-tickets/{showId}/seat-detail",path:{showId:t},headers:{"x-studio-id":e},query:{section:r,row:i}})}static updateGoldenTicket(e,t,r){return s(o,{method:"PUT",url:"/features/golden-tickets/{ticketId}",path:{ticketId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static deleteGoldenTicket(e,t){return s(o,{method:"DELETE",url:"/features/golden-tickets/{ticketId}",path:{ticketId:t},headers:{"x-studio-id":e}})}};var Fe=class{static getLandingPage(e){return s(o,{method:"GET",url:"/features/landing-page",headers:{"x-studio-id":e}})}static updateLandingPageSettings(e,t){return s(o,{method:"PUT",url:"/features/landing-page",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getAlbums(e){return s(o,{method:"GET",url:"/features/landing-page/albums",headers:{"x-studio-id":e}})}static getAlbumImages(e,t){return s(o,{method:"GET",url:"/features/landing-page/{albumId}/images",path:{albumId:t},headers:{"x-studio-id":e}})}static deleteAlbumImages(e,t,r){return s(o,{method:"DELETE",url:"/features/landing-page/{albumId}/images",path:{albumId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static createAlbum(e,t){return s(o,{method:"POST",url:"/features/landing-page/album",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateImageOrder(e,t){return s(o,{method:"POST",url:"/features/landing-page/reorder-images",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static startImageUpload(e,t,r){return s(o,{method:"POST",url:"/features/landing-page/{albumId}/start-image-upload",path:{albumId:e},headers:{"x-studio-id":t},body:r,mediaType:"application/json"})}static updateImageUrl(e,t,r){return s(o,{method:"POST",url:"/features/landing-page/{albumId}/update-image-url",path:{albumId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static updateLandingPageSettings1(e,t){return s(o,{method:"PUT",url:"/features/landing-page/settings",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateAlbum(e,t,r){return s(o,{method:"PUT",url:"/features/landing-page/{albumId}",path:{albumId:e},headers:{"x-studio-id":t},body:r,mediaType:"application/json"})}static deleteAlbum(e,t){return s(o,{method:"DELETE",url:"/features/landing-page/{albumId}",path:{albumId:e},headers:{"x-studio-id":t}})}};var He=class{static getPriorityCodes(e,t,r){return s(o,{method:"GET",url:"/features/priority/codes",headers:{"x-studio-id":e},query:{status:t,searchQuery:r}})}static getHiddenPriorityCodes(e){return s(o,{method:"GET",url:"/features/priority/hidden-codes",headers:{"x-studio-id":e}})}static getShowAndGroup(e){return s(o,{method:"GET",url:"/features/priority/shows-and-groups",headers:{"x-studio-id":e}})}static getSettingsAndWaves(e){return s(o,{method:"GET",url:"/features/priority/settings-and-waves",headers:{"x-studio-id":e}})}static getCodeUsageDetails(e,t){return s(o,{method:"GET",url:"/features/priority/code-usage/{codeId}",path:{codeId:t},headers:{"x-studio-id":e}})}static createCodes(e,t){return s(o,{method:"POST",url:"/features/priority/create-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateCodes(e,t){return s(o,{method:"PUT",url:"/features/priority/bulk-edit",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateCode(e,t){return s(o,{method:"PUT",url:"/features/priority/edit-code",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static resendMail(e,t){return s(o,{method:"PUT",url:"/features/priority/resend-mail",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static expireHiddenCodes(e,t){return s(o,{method:"PUT",url:"/features/priority/expire-hidden-codes",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static deleteCodes(e,t){return s(o,{method:"DELETE",url:"/features/priority/delete-codes",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}};var $e=class{static getProducts(e){return s(o,{method:"GET",url:"/features/products",headers:{"x-studio-id":e}})}static createProduct(e,t){return s(o,{method:"POST",url:"/features/products",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getIconsShowGroups(e){return s(o,{method:"GET",url:"/features/products/icons-show-groups",headers:{"x-studio-id":e}})}static getProductSales(e,t){return s(o,{method:"GET",url:"/features/products/{productId}/sales",path:{productId:t},headers:{"x-studio-id":e}})}static getServiceAgreement(e){return s(o,{method:"GET",url:"/features/products/service-agreement",headers:{"x-studio-id":e}})}static createServiceAgreement(e,t){return s(o,{method:"POST",url:"/features/products/service-agreement",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getProductDetails(e,t){return s(o,{method:"GET",url:"/features/products/{productId}",path:{productId:t},headers:{"x-studio-id":e}})}static updateProduct(e,t,r){return s(o,{method:"PUT",url:"/features/products/{productId}",path:{productId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static deleteProduct(e,t){return s(o,{method:"DELETE",url:"/features/products/{productId}",path:{productId:t},headers:{"x-studio-id":e}})}static getProductRecipients(e,t){return s(o,{method:"GET",url:"/features/products/{productId}/recipients",path:{productId:t},headers:{"x-studio-id":e}})}static getProductVariants(e){return s(o,{method:"GET",url:"/features/products/{productId}/variants",path:{productId:e}})}static startImageUpload(e,t){return s(o,{method:"POST",url:"/features/products/start-image-upload",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static createDuplicateProduct(e,t,r){return s(o,{method:"POST",url:"/features/products/{productId}/duplicate",path:{productId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static sendEmail(e,t,r){return s(o,{method:"POST",url:"/features/products/{productId}/send-mail",path:{productId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static createVariant(e,t,r){return s(o,{method:"POST",url:"/features/products/{productId}/create-variant",path:{productId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static updateImageUrl(e,t,r){return s(o,{method:"PUT",url:"/features/products/{productId}/update-image-url",path:{productId:e},headers:{"x-studio-id":t},body:r,mediaType:"application/json"})}static updateVariant(e,t,r){return s(o,{method:"PUT",url:"/features/products/{productId}/update-variant",path:{productId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static deleteProduct1(e,t){return s(o,{method:"DELETE",url:"/features/products/variant",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}};var We=class{static getOrderFilters(e){return s(o,{method:"GET",url:"/order-lookup",headers:{"x-studio-id":e}})}static getOrderActions(e,t){return s(o,{method:"GET",url:"/order-lookup/{orderId}/order-actions",path:{orderId:t},headers:{"x-studio-id":e}})}static getOrderDetails(e,t){return s(o,{method:"GET",url:"/order-lookup/{orderId}/order-details",path:{orderId:t},headers:{"x-studio-id":e}})}static getOrderLedger(e,t){return s(o,{method:"GET",url:"/order-lookup/{orderId}/order-ledger",path:{orderId:t},headers:{"x-studio-id":e}})}static getOrderTicketDetails(e,t){return s(o,{method:"GET",url:"/order-lookup/{orderId}/order-ticket-details",path:{orderId:t},headers:{"x-studio-id":e}})}static getOrderSeatDetails(e,t){return s(o,{method:"GET",url:"/order-lookup/{orderId}/order-seats",path:{orderId:t},headers:{"x-studio-id":e}})}static getShowDetails(e,t){return s(o,{method:"GET",url:"/order-lookup/{orderId}/shows-list",path:{orderId:t},headers:{"x-studio-id":e}})}static exchangeSelectedSeats(e,t){return s(o,{method:"GET",url:"/order-lookup/ticket-exchange-selected-seats",headers:{"x-studio-id":e},query:{shopperGuid:t}})}static getReleaseSeatDetails(e,t){return s(o,{method:"GET",url:"/order-lookup/{orderId}/release-seat",path:{orderId:t},headers:{"x-studio-id":e}})}static releaseSeat(e,t,r){return s(o,{method:"POST",url:"/order-lookup/{orderId}/release-seat",path:{orderId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static getBlockedSeatsDetails(e,t){return s(o,{method:"GET",url:"/order-lookup/{showId}/blocked-seats",path:{showId:t},headers:{"x-studio-id":e}})}static getOrderListDetails(e,t){return s(o,{method:"POST",url:"/order-lookup/order-list",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static toggleTier(e,t){return s(o,{method:"POST",url:"/order-lookup/toggle-tier",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getShowAndTier(e,t){return s(o,{method:"POST",url:"/order-lookup/show-tier",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static emailBuyers(e,t){return s(o,{method:"POST",url:"/order-lookup/email-buyers",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static saveNote(e,t){return s(o,{method:"POST",url:"/order-lookup/save-note",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static recalculateOrder(e,t){return s(o,{method:"POST",url:"/order-lookup/recalculate-order",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static cancelExchangeTicket(e,t){return s(o,{method:"POST",url:"/order-lookup/cancel-exchange-ticket",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static cancelAllExchangeTickets(e){return s(o,{method:"POST",url:"/order-lookup/cancel-all-exchange-tickets",headers:{"x-studio-id":e}})}static resetPrimaryVideoStream(e,t){return s(o,{method:"POST",url:"/order-lookup/{orderId}/reset-primary-video-stream",path:{orderId:e},headers:{"x-studio-id":t}})}static executeSeatExchange(e,t,r){return s(o,{method:"POST",url:"/order-lookup/{orderId}/execute-seat-exchange",path:{orderId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static modifyOrderTickets(e,t,r){return s(o,{method:"POST",url:"/order-lookup/{orderId}/order-ticket",path:{orderId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static updateEmailId(e,t,r){return s(o,{method:"PUT",url:"/order-lookup/{orderId}/update-email",path:{orderId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static toggleModifyTierStatus(e,t,r){return s(o,{method:"PUT",url:"/order-lookup/{orderId}/toggle-modify-tier",path:{orderId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static addSeatsToSession(e,t){return s(o,{method:"PUT",url:"/order-lookup/add-seat-to-session",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}};var Me=class{static getPatronManifestReport(e){return s(o,{method:"GET",url:"/reports/patron-manifest",headers:{"x-studio-id":e}})}static getPatronManifestByShow(e,t){return s(o,{method:"GET",url:"/reports/patron-manifest/{showId}",path:{showId:t},headers:{"x-studio-id":e}})}static getTicketSalesReport(e){return s(o,{method:"GET",url:"/reports/ticket-sales",headers:{"x-studio-id":e}})}static getSoldSeatsByShow(e,t){return s(o,{method:"GET",url:"/reports/ticket-sales/{showId}/sold",path:{showId:e},headers:{"x-studio-id":t}})}static getUnsoldSeatsByShow(e,t){return s(o,{method:"GET",url:"/reports/ticket-sales/{showId}/unsold",path:{showId:e},headers:{"x-studio-id":t}})}static getSalesByTierReport(e){return s(o,{method:"GET",url:"/reports/sales-by-tier",headers:{"x-studio-id":e}})}static getShowSeatSales(e,t,r,i){return s(o,{method:"GET",url:"/reports/sales-by-tier/{showId}/seat-sales",path:{showId:t},headers:{"x-studio-id":e},query:{price:r,name:i}})}static getRevenueByShow(e,t){return s(o,{method:"POST",url:"/reports/revenue-by-show",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getCreditedPerformerReport(e,t,r){return s(o,{method:"GET",url:"/reports/credited-performers",headers:{"x-studio-id":e},query:{showId:t,orderId:r}})}static getCreditedPerformerDetails(e,t){return s(o,{method:"POST",url:"/reports/credited-performer-details",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getCreditedPerformerByOrder(e,t){return s(o,{method:"GET",url:"/reports/credited-performer/{orderId}",path:{orderId:t},headers:{"x-studio-id":e}})}static productSalesReport(e,t){return s(o,{method:"POST",url:"/reports/products",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getDonationsReport(e,t){return s(o,{method:"POST",url:"/reports/donations",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getCheckoutResponsesShow(e){return s(o,{method:"GET",url:"/reports/checkout-responses-show",headers:{"x-studio-id":e}})}static getCheckoutResponsesReport(e,t){return s(o,{method:"POST",url:"/reports/checkout-responses",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getScannedTicketsReport(e){return s(o,{method:"GET",url:"/reports/scanned-tickets",headers:{"x-studio-id":e}})}static getTaxReport(e,t){return s(o,{method:"POST",url:"/reports/tax-by-month",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static getCheckoutResponsesReport1(e,t){return s(o,{method:"GET",url:"/reports/checkout-response-details",headers:{"x-studio-id":e},query:{showId:t}})}static getProductSalesReport(e){return s(o,{method:"GET",url:"/reports/product-sale-details",headers:{"x-studio-id":e}})}static getDonationsReport1(e){return s(o,{method:"GET",url:"/reports/donation-details",headers:{"x-studio-id":e}})}static getUnsoldSeatsByShow1(e,t){return s(o,{method:"PUT",url:"/reports/{showId}/reset-ticket-scanning",path:{showId:e},headers:{"x-studio-id":t}})}};var Je=class{static getStudioSettings(e){return s(o,{method:"GET",url:"/settings",headers:{"x-studio-id":e}})}static getNotificationSettings(e){return s(o,{method:"GET",url:"/settings/notifications",headers:{"x-studio-id":e}})}static getPosSettings(e){return s(o,{method:"GET",url:"/settings/pos-settings",headers:{"x-studio-id":e}})}static getPolicies(e){return s(o,{method:"GET",url:"/settings/policies",headers:{"x-studio-id":e}})}static getMessages(e){return s(o,{method:"GET",url:"/settings/messages",headers:{"x-studio-id":e}})}static getUsers(e){return s(o,{method:"GET",url:"/settings/users",headers:{"x-studio-id":e}})}static getUsersLoginLevels(e){return s(o,{method:"GET",url:"/settings/login-levels",headers:{"x-studio-id":e}})}static getUsersLoginDetails(e,t){return s(o,{method:"GET",url:"/settings/{loginId}/login-details",headers:{"x-studio-id":e},query:{loginId:t}})}static createUserLogin(e,t){return s(o,{method:"POST",url:"/settings/user-login",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateStudioSettings(e,t){return s(o,{method:"PUT",url:"/settings/update-studio-settings",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateNotificationSettings(e,t){return s(o,{method:"PUT",url:"/settings/update-notification-settings",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updatePosSettings(e,t){return s(o,{method:"PUT",url:"/settings/update-pos-settings",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updatePolicySettings(e,t){return s(o,{method:"PUT",url:"/settings/update-policy-settings",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateMessageSettings(e,t){return s(o,{method:"PUT",url:"/settings/update-message",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updateUserLogin(e,t,r){return s(o,{method:"PUT",url:"/settings/{loginId}/user-login",headers:{"x-studio-id":e},query:{loginId:t},body:r,mediaType:"application/json"})}static deleteUserLogin(e,t){return s(o,{method:"DELETE",url:"/settings/{loginId}",headers:{"x-studio-id":e},query:{loginId:t}})}};var Ve=class{static getShowList(e){return s(o,{method:"GET",url:"/shows",headers:{"x-studio-id":e}})}static getRentedShowList(e){return s(o,{method:"GET",url:"/shows/rented-shows",headers:{"x-studio-id":e}})}static getShowDetail(e,t){return s(o,{method:"GET",url:"/shows/{showId}",path:{showId:t},headers:{"x-studio-id":e}})}static getShowStatDetail(e,t){return s(o,{method:"GET",url:"/shows/{showId}/stats",path:{showId:t},headers:{"x-studio-id":e}})}static getShowPricingDetail(e,t){return s(o,{method:"GET",url:"/shows/{showId}/pricing",path:{showId:t},headers:{"x-studio-id":e}})}static getShowEmailBuyers(e,t){return s(o,{method:"GET",url:"/shows/{showId}/email-buyers",path:{showId:t},headers:{"x-studio-id":e}})}static emailBuyers(e,t,r){return s(o,{method:"POST",url:"/shows/{showId}/email-buyers",path:{showId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static getShowChartPreview(e,t){return s(o,{method:"GET",url:"/shows/{showId}/chart-preview",path:{showId:t},headers:{"x-studio-id":e}})}static getShowTicketSections(e,t){return s(o,{method:"GET",url:"/shows/{showId}/print-ticket",path:{showId:t},headers:{"x-studio-id":e}})}static getShowVideoStreams(e,t){return s(o,{method:"GET",url:"/shows/{showId}/stream",path:{showId:t},headers:{"x-studio-id":e}})}static getShowVirtualStream(e){return s(o,{method:"GET",url:"/shows/{guid}/virtual-stream",path:{guid:e}})}static getMigrateTicketDetails(e,t){return s(o,{method:"GET",url:"/shows/{showId}/migrate-tickets",path:{showId:t},headers:{"x-studio-id":e}})}static getDigitalAssets(e,t){return s(o,{method:"GET",url:"/shows/{showId}/digital-assets",path:{showId:t},headers:{"x-studio-id":e}})}static getAssetLog(e,t){return s(o,{method:"GET",url:"/shows/{assetId}/asset-log",path:{assetId:t},headers:{"x-studio-id":e}})}static getOrderSeats(e,t){return s(o,{method:"GET",url:"/shows/{orderId}/order-seats",path:{orderId:t},headers:{"x-studio-id":e}})}static getShowChartReviewStatus(e,t){return s(o,{method:"GET",url:"/shows/{showId}/chart-review-status",path:{showId:t},headers:{"x-studio-id":e}})}static getShowSectionDetail(e,t){return s(o,{method:"GET",url:"/shows/{showId}/{sectionId}/section-detail",path:{showId:e,sectionId:t}})}static getShowPerformersDetail(e,t){return s(o,{method:"POST",url:"/shows/performers/list",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static addPerformers(e,t){return s(o,{method:"POST",url:"/shows/performers/create",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static generateChartReview(e,t,r){return s(o,{method:"POST",url:"/shows/{showId}/chart-review",path:{showId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static addYouTubeVideo(e,t){return s(o,{method:"POST",url:"/shows/{showId}/add-youtube-video",path:{showId:e},body:t,mediaType:"application/json"})}static approveShow(e,t,r){return s(o,{method:"POST",url:"/shows/{showId}/approve-show",path:{showId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static migrateTickets(e){return s(o,{method:"PUT",url:"/shows/migrate-ticket",body:e,mediaType:"application/json"})}static editShow(e,t){return s(o,{method:"PUT",url:"/shows/edit-show",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static updatePerformers(e,t){return s(o,{method:"PUT",url:"/shows/performers/toggle-primary",headers:{"x-studio-id":e},body:t,mediaType:"application/json"})}static stopSale(e,t,r){return s(o,{method:"PUT",url:"/shows/{showId}/stop-sale",path:{showId:t},headers:{"x-studio-id":e},body:r,mediaType:"application/json"})}static deletePerformer(e){return s(o,{method:"DELETE",url:"/shows/performers/remove-performer",body:e,mediaType:"application/json"})}static deleteAllPerformers(e){return s(o,{method:"DELETE",url:"/shows/{showId}/performers/remove-all",path:{showId:e}})}};var St={};var bt={account:xe,accounting:Ee,app:we,auth:Se,clienttoolsgeneratedemails:be,clienttoolsparentletter:Ie,clienttoolspatrondatabase:Pe,clienttoolsseatassignmenttool:ve,clienttoolsstripeonboarding:Oe,clienttoolsthemebuilder:qe,clienttoolsthemeslibrary:ke,clienttoolsticketinglink:je,clienttoolsticketscanning:Ce,clienttoolsunapprovedorders:Ge,clienttoolswaitlist:Re,dashboard:_e,featuresblockedseats:Ae,featurescheckoutquestions:De,featuresdiscounts:Be,featuresdonations:Ne,featuresgiftcards:Ue,featuresgoldentickets:Le,featureslandingpage:Fe,featurespriority:He,featuresproducts:$e,orderlookup:We,reports:Me,settings:Je,shows:Ve};o.WITH_CREDENTIALS=!0;var pt={shopper:"https://api.drttix.com/shopper",scanner:"https://api.drttix.com/scanner-v3",portal:"https://api.staging.drttix.com/admin-portal"},It=!1;function Pt(){var a;if(It)return;It=!0;let e=typeof globalThis<"u"?globalThis:{},t=(a=e.DRT_API_BASE_URL)!==null&&a!==void 0?a:null,r=e.DRT_API_LOCAL===!0||e.DRT_API_LOCAL==="true",i=t||(r?"http://localhost:3000":null);u.BASE=i?`${i}/shopper`:pt.shopper,T.BASE=i?`${i}/scanner-v3`:pt.scanner,o.BASE=i?`${i}/portal`:pt.portal}var ht=!1,mt=null;function vt(a){if(!a.shopperGuid||!a.accountId||!a.apiKey)throw new Error("DRT SDK init requires shopperGuid, accountId, and apiKey");mt=a;let e={shopperguid:a.shopperGuid,accountid:a.accountId,apikey:a.apiKey};u.HEADERS=e,T.HEADERS=e,o.HEADERS=e,ht=!0}function Ot(){return ht}function qt(){return mt}function kt(){mt=null,ht=!1,u.HEADERS=void 0,T.HEADERS=void 0,o.HEADERS=void 0}var od={shopper:Tt,scanner:Et,portal:bt,init:vt,isReady:Ot,getConfig:qt,reset:kt};Pt();export{od as DRT,St as PortalTypes,xt as ScannerTypes,yt as ShopperTypes};