@drttix/drt-sdk 0.6.4 → 0.6.15

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 (590) hide show
  1. package/README.md +59 -59
  2. package/azure-pipelines.yml +80 -71
  3. package/demo/README.md +28 -28
  4. package/demo/default.html +35 -34
  5. package/demo/test.html +667 -240
  6. package/demo/with-base.html +39 -37
  7. package/dist/cjs/index.d.ts +5 -0
  8. package/dist/cjs/index.js +5 -0
  9. package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
  10. package/dist/cjs/src/generated/portal/core/request.js +3 -1
  11. package/dist/cjs/src/generated/portal/services/AccountService.d.ts +4 -2
  12. package/dist/cjs/src/generated/portal/services/AccountService.js +10 -2
  13. package/dist/cjs/src/generated/portal/services/AuthService.d.ts +2 -1
  14. package/dist/cjs/src/generated/portal/services/AuthService.js +5 -1
  15. package/dist/cjs/src/generated/portal/services/FeaturesBlockedSeatsService.d.ts +10 -7
  16. package/dist/cjs/src/generated/portal/services/FeaturesBlockedSeatsService.js +19 -7
  17. package/dist/cjs/src/generated/portal/services/OrderLookupService.d.ts +4 -3
  18. package/dist/cjs/src/generated/portal/services/OrderLookupService.js +7 -3
  19. package/dist/cjs/src/generated/scanner/core/request.d.ts +7 -10
  20. package/dist/cjs/src/generated/scanner/core/request.js +56 -37
  21. package/dist/cjs/src/generated/shopper/core/request.js +3 -1
  22. package/dist/cjs/src/scripts/build-all.js +9 -1
  23. package/dist/esm/index.d.ts +5 -0
  24. package/dist/esm/index.js +5 -0
  25. package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
  26. package/dist/esm/src/generated/portal/core/request.js +3 -1
  27. package/dist/esm/src/generated/portal/services/AccountService.d.ts +4 -2
  28. package/dist/esm/src/generated/portal/services/AccountService.js +10 -2
  29. package/dist/esm/src/generated/portal/services/AuthService.d.ts +2 -1
  30. package/dist/esm/src/generated/portal/services/AuthService.js +5 -1
  31. package/dist/esm/src/generated/portal/services/FeaturesBlockedSeatsService.d.ts +10 -7
  32. package/dist/esm/src/generated/portal/services/FeaturesBlockedSeatsService.js +19 -7
  33. package/dist/esm/src/generated/portal/services/OrderLookupService.d.ts +4 -3
  34. package/dist/esm/src/generated/portal/services/OrderLookupService.js +7 -3
  35. package/dist/esm/src/generated/scanner/core/request.d.ts +7 -10
  36. package/dist/esm/src/generated/scanner/core/request.js +58 -39
  37. package/dist/esm/src/generated/shopper/core/request.js +3 -1
  38. package/dist/esm/src/scripts/build-all.js +9 -1
  39. package/drt-api-specs.json +14 -14
  40. package/index.ts +5 -0
  41. package/package.json +32 -30
  42. package/scripts/fix-import-extensions.mjs +88 -88
  43. package/src/custom/custom-request.txt +387 -382
  44. package/src/functions/sdkConfig.ts +132 -132
  45. package/src/functions/setBaseURL.ts +47 -47
  46. package/src/generated/portal/core/ApiError.ts +1 -1
  47. package/src/generated/portal/core/ApiRequestOptions.ts +1 -1
  48. package/src/generated/portal/core/ApiResult.ts +1 -1
  49. package/src/generated/portal/core/CancelablePromise.ts +1 -1
  50. package/src/generated/portal/core/OpenAPI.ts +2 -2
  51. package/src/generated/portal/core/request.ts +387 -382
  52. package/src/generated/portal/models/AccountDetailResponseDto.ts +11 -11
  53. package/src/generated/portal/models/AddSessionSeatRequestDto.ts +9 -9
  54. package/src/generated/portal/models/AdminUserLevelResponseDto.ts +9 -9
  55. package/src/generated/portal/models/AdminUserResponseDto.ts +13 -13
  56. package/src/generated/portal/models/AdvancedPricing.ts +14 -14
  57. package/src/generated/portal/models/AlbumImageResponseDto.ts +9 -9
  58. package/src/generated/portal/models/AnswerOrder.ts +10 -10
  59. package/src/generated/portal/models/ApproveOrderRequestDto.ts +9 -9
  60. package/src/generated/portal/models/ApproveRefundRequestDto.ts +10 -10
  61. package/src/generated/portal/models/ApproveShowRequestDto.ts +8 -8
  62. package/src/generated/portal/models/AssignSeatsRequestDto.ts +13 -13
  63. package/src/generated/portal/models/AssignWaitlistRequestDto.ts +11 -11
  64. package/src/generated/portal/models/AutoDiscounts.ts +8 -8
  65. package/src/generated/portal/models/AvaliableSeats.ts +12 -12
  66. package/src/generated/portal/models/BankDetails.ts +24 -24
  67. package/src/generated/portal/models/BlockChartSeatRequestDto.ts +12 -12
  68. package/src/generated/portal/models/BlockGeneralSeatResponseDto.ts +11 -11
  69. package/src/generated/portal/models/BlockGeneralSeatsRequestDto.ts +9 -9
  70. package/src/generated/portal/models/BlockSeatsRequestDto.ts +8 -8
  71. package/src/generated/portal/models/BlockedSeatDetailResponseDto.ts +15 -15
  72. package/src/generated/portal/models/BookmarkResponseDto.ts +12 -12
  73. package/src/generated/portal/models/BulkCreateGiftCardRequestDto.ts +20 -20
  74. package/src/generated/portal/models/BulkEditRequestDto.ts +18 -18
  75. package/src/generated/portal/models/BuyerResponseDto.ts +17 -17
  76. package/src/generated/portal/models/CancelExchangeTicketRequestDto.ts +9 -9
  77. package/src/generated/portal/models/CartCountResponseDto.ts +8 -8
  78. package/src/generated/portal/models/CartToggleTickerResponseDto.ts +8 -8
  79. package/src/generated/portal/models/ChangePasswordRequestDto.ts +10 -10
  80. package/src/generated/portal/models/ChartReviewRequestDto.ts +9 -9
  81. package/src/generated/portal/models/ChartReviewValidationResponseDto.ts +9 -9
  82. package/src/generated/portal/models/CheckSelectedSeatResponseDto.ts +10 -10
  83. package/src/generated/portal/models/CheckoutAnswerOrderRequestDto.ts +9 -9
  84. package/src/generated/portal/models/CheckoutAnswerOrderResponseDto.ts +19 -19
  85. package/src/generated/portal/models/CheckoutAnswerQuestionResponseDto.ts +11 -11
  86. package/src/generated/portal/models/CheckoutQuestionResponseDto.ts +29 -29
  87. package/src/generated/portal/models/CheckoutResponseShowResponseDto.ts +10 -10
  88. package/src/generated/portal/models/CodeDetailResponseDto.ts +29 -29
  89. package/src/generated/portal/models/CodeDetailsResponseDto.ts +11 -11
  90. package/src/generated/portal/models/CodeShopperDetail.ts +10 -10
  91. package/src/generated/portal/models/CodeUsageDetail.ts +16 -16
  92. package/src/generated/portal/models/CodeUsageResponseDto.ts +12 -12
  93. package/src/generated/portal/models/CollectionDetailsRequestDto.ts +8 -8
  94. package/src/generated/portal/models/CollectionDetailsResponseDto.ts +14 -14
  95. package/src/generated/portal/models/CouponCodeResponseDto.ts +14 -14
  96. package/src/generated/portal/models/CouponDataResponseDto.ts +17 -17
  97. package/src/generated/portal/models/CouponDetailResponseDto.ts +35 -35
  98. package/src/generated/portal/models/CouponFilterResponseDto.ts +11 -11
  99. package/src/generated/portal/models/CouponType.ts +10 -10
  100. package/src/generated/portal/models/CreateAccountRequestDto.ts +11 -11
  101. package/src/generated/portal/models/CreateAccountResponseDto.ts +8 -8
  102. package/src/generated/portal/models/CreatePatronCodeRequestDto.ts +9 -9
  103. package/src/generated/portal/models/CreatePatronTagsRequestDto.ts +9 -9
  104. package/src/generated/portal/models/CreatePerformersRequestDto.ts +10 -10
  105. package/src/generated/portal/models/CreatePriorityCodeRequestDto.ts +25 -25
  106. package/src/generated/portal/models/CreateProductResponseDto.ts +8 -8
  107. package/src/generated/portal/models/CreateProductVariantRequestDto.ts +9 -9
  108. package/src/generated/portal/models/CreateUpdateAdminUserRequestDto.ts +12 -12
  109. package/src/generated/portal/models/CreateUpdateAlbumRequestDto.ts +8 -8
  110. package/src/generated/portal/models/CreateUpdateFundRequestDto.ts +24 -24
  111. package/src/generated/portal/models/CreateUpdateGiftCardRequestDto.ts +15 -15
  112. package/src/generated/portal/models/CreateUpdateGoldenTicketRequestDto.ts +12 -12
  113. package/src/generated/portal/models/CreateUpdateProductRequestDto.ts +35 -35
  114. package/src/generated/portal/models/CreateUpdateQuestionRequestDto.ts +23 -23
  115. package/src/generated/portal/models/CreateUpdateWaitlistRequestDto.ts +15 -15
  116. package/src/generated/portal/models/CreateYoutubeVideoRequestDto.ts +11 -11
  117. package/src/generated/portal/models/CustomLogicResponseDto.ts +9 -9
  118. package/src/generated/portal/models/DashboardResponseDto.ts +11 -11
  119. package/src/generated/portal/models/DeleteAlbumImageRequestDto.ts +8 -8
  120. package/src/generated/portal/models/DeleteCodesRequestDto.ts +8 -8
  121. package/src/generated/portal/models/DeleteCouponCodeRequestDto.ts +8 -8
  122. package/src/generated/portal/models/DeleteMailRequestDto.ts +8 -8
  123. package/src/generated/portal/models/DeletePatronCodeRequestDto.ts +8 -8
  124. package/src/generated/portal/models/DeletePriorityCodeRequestDto.ts +8 -8
  125. package/src/generated/portal/models/DeleteProductVariantRequestDto.ts +9 -9
  126. package/src/generated/portal/models/DigitalAssetLogResponseDto.ts +10 -10
  127. package/src/generated/portal/models/DigitalAssetsListResponseDto.ts +16 -16
  128. package/src/generated/portal/models/DiscountAccessRequestDto.ts +32 -32
  129. package/src/generated/portal/models/DisputeResponseDTO.ts +21 -21
  130. package/src/generated/portal/models/DonationFundsResponseDto.ts +9 -9
  131. package/src/generated/portal/models/DonationReportResponseDto.ts +18 -18
  132. package/src/generated/portal/models/DonationRequestDto.ts +9 -9
  133. package/src/generated/portal/models/DonationResponseDto.ts +14 -14
  134. package/src/generated/portal/models/DownloadLog.ts +10 -10
  135. package/src/generated/portal/models/DuplicateFundRequestDto.ts +8 -8
  136. package/src/generated/portal/models/DuplicateProductRequestDto.ts +8 -8
  137. package/src/generated/portal/models/EditMailRequestDto.ts +10 -10
  138. package/src/generated/portal/models/EditShowRequestDto.ts +23 -23
  139. package/src/generated/portal/models/EmailBuyersListResponseDto.ts +11 -11
  140. package/src/generated/portal/models/EmailBuyersRequestDto.ts +13 -13
  141. package/src/generated/portal/models/EmailDetailResponseDto.ts +9 -9
  142. package/src/generated/portal/models/ExchangeShowDetailResponseDto.ts +30 -30
  143. package/src/generated/portal/models/ExchangeTierDetailResponseDto.ts +14 -14
  144. package/src/generated/portal/models/ExecuteReleaseSeatRequestDto.ts +16 -16
  145. package/src/generated/portal/models/ExecuteSeatExchangeRequestDto.ts +11 -11
  146. package/src/generated/portal/models/ExpireHiddenCodesRequestDto.ts +8 -8
  147. package/src/generated/portal/models/FilterShowsResponseDto.ts +14 -14
  148. package/src/generated/portal/models/ForgotPasswordRequestDto.ts +8 -8
  149. package/src/generated/portal/models/FundListResponseDto.ts +13 -13
  150. package/src/generated/portal/models/FundResponseDto.ts +34 -34
  151. package/src/generated/portal/models/FutureMailResponseDto.ts +13 -13
  152. package/src/generated/portal/models/GatewayStatus.ts +16 -16
  153. package/src/generated/portal/models/GenerateCodeRequestDto.ts +23 -23
  154. package/src/generated/portal/models/GenerateGroupCodeRequestDto.ts +12 -12
  155. package/src/generated/portal/models/GetSettingsResponseDto.ts +14 -14
  156. package/src/generated/portal/models/GiftCardResponseDto.ts +19 -19
  157. package/src/generated/portal/models/GiftCardTransactionsResponseDto.ts +13 -13
  158. package/src/generated/portal/models/GoldenTicketDetailResponseDto.ts +10 -10
  159. package/src/generated/portal/models/GoldenTicketShowsResponseDto.ts +10 -10
  160. package/src/generated/portal/models/GroupCodeResponseDto.ts +17 -17
  161. package/src/generated/portal/models/HiddenCodeResponseDto.ts +8 -8
  162. package/src/generated/portal/models/HoldChartSeatResponseDto.ts +14 -14
  163. package/src/generated/portal/models/HoldSeatDetailsResponseDto.ts +7 -7
  164. package/src/generated/portal/models/IconShowGroupResponseDto.ts +11 -11
  165. package/src/generated/portal/models/InterviewDetailResponseDto.ts +12 -12
  166. package/src/generated/portal/models/InterviewResponseDto.ts +16 -16
  167. package/src/generated/portal/models/LandingPageAlbumResponseDto.ts +12 -12
  168. package/src/generated/portal/models/LandingPageResponseDto.ts +28 -28
  169. package/src/generated/portal/models/LoginRequestDto.ts +9 -9
  170. package/src/generated/portal/models/MailDetailResponseDto.ts +12 -12
  171. package/src/generated/portal/models/MailResponseDto.ts +11 -11
  172. package/src/generated/portal/models/ManagedShowResponseDto.ts +13 -13
  173. package/src/generated/portal/models/MappedPortalObjectPermission.ts +13 -13
  174. package/src/generated/portal/models/MappedPortalObjectSimple.ts +10 -10
  175. package/src/generated/portal/models/MessageSettingResponseDto.ts +10 -10
  176. package/src/generated/portal/models/MigrateTicketDetails.ts +13 -13
  177. package/src/generated/portal/models/MigrateTicketRequestDto.ts +10 -10
  178. package/src/generated/portal/models/MigrationPossibleShow.ts +13 -13
  179. package/src/generated/portal/models/ModifyTicketRequestDto.ts +11 -11
  180. package/src/generated/portal/models/NotificationDto.ts +10 -10
  181. package/src/generated/portal/models/NotificationResponseDto.ts +13 -13
  182. package/src/generated/portal/models/NotificationSettingRequestDto.ts +9 -9
  183. package/src/generated/portal/models/NotificationSettingsResponseDto.ts +13 -13
  184. package/src/generated/portal/models/OTPResponseDto.ts +9 -9
  185. package/src/generated/portal/models/OrderActionsResponseDto.ts +11 -11
  186. package/src/generated/portal/models/OrderDetail.ts +9 -9
  187. package/src/generated/portal/models/OrderDetails.ts +13 -13
  188. package/src/generated/portal/models/OrderEmailBuyersRequestDto.ts +16 -16
  189. package/src/generated/portal/models/OrderFiltersResponseDto.ts +10 -10
  190. package/src/generated/portal/models/OrderLedgerDetailsResponseDto.ts +20 -20
  191. package/src/generated/portal/models/OrderListRequestDto.ts +10 -10
  192. package/src/generated/portal/models/OrderListResponseDto.ts +24 -24
  193. package/src/generated/portal/models/OrderRecalculateRequestDto.ts +12 -12
  194. package/src/generated/portal/models/OrderSeatDetailsResponseDto.ts +15 -15
  195. package/src/generated/portal/models/OrderTicketDetailResponseDto.ts +21 -21
  196. package/src/generated/portal/models/OtherResponseDto.ts +14 -14
  197. package/src/generated/portal/models/PartialShowDetail.ts +12 -12
  198. package/src/generated/portal/models/PartialTicketResponseDto.ts +20 -20
  199. package/src/generated/portal/models/PatronAccessRequestDto.ts +25 -25
  200. package/src/generated/portal/models/PatronCodeSendMailRequestDto.ts +14 -14
  201. package/src/generated/portal/models/PatronCodesResponseDto.ts +18 -18
  202. package/src/generated/portal/models/PatronManifestDetailResponseDto.ts +28 -28
  203. package/src/generated/portal/models/PatronShowGroupResponseDto.ts +21 -21
  204. package/src/generated/portal/models/PatronStatsResponseDto.ts +21 -21
  205. package/src/generated/portal/models/PaymentGatewayResponseDto.ts +17 -17
  206. package/src/generated/portal/models/PerformerCreditOrderRequestDto.ts +9 -9
  207. package/src/generated/portal/models/Performers.ts +9 -9
  208. package/src/generated/portal/models/PerformersListRequestDto.ts +9 -9
  209. package/src/generated/portal/models/PerformersListResponseDto.ts +11 -11
  210. package/src/generated/portal/models/PolicyDetailResponseDto.ts +15 -15
  211. package/src/generated/portal/models/PolicyDto.ts +9 -9
  212. package/src/generated/portal/models/PolicyRequestDto.ts +9 -9
  213. package/src/generated/portal/models/PolicyResponseDto.ts +12 -12
  214. package/src/generated/portal/models/PortalObjectRequestDto.ts +13 -13
  215. package/src/generated/portal/models/PosSettingsRequestDto.ts +13 -13
  216. package/src/generated/portal/models/PosSettingsResponseDto.ts +13 -13
  217. package/src/generated/portal/models/PriorityCode.ts +10 -10
  218. package/src/generated/portal/models/PriorityCodeResponseDto.ts +13 -13
  219. package/src/generated/portal/models/PriorityWaveDetail.ts +12 -12
  220. package/src/generated/portal/models/ProductDetailResponseDto.ts +35 -35
  221. package/src/generated/portal/models/ProductIconResponseDto.ts +11 -11
  222. package/src/generated/portal/models/ProductListResponseDto.ts +17 -17
  223. package/src/generated/portal/models/ProductRecipientResponseDto.ts +11 -11
  224. package/src/generated/portal/models/ProductResponseDto.ts +14 -14
  225. package/src/generated/portal/models/ProductSalesRequestDto.ts +11 -11
  226. package/src/generated/portal/models/ProductSalesResponseDto.ts +11 -11
  227. package/src/generated/portal/models/ProductSendMailRequestDto.ts +17 -17
  228. package/src/generated/portal/models/ProductVariantResponseDto.ts +18 -18
  229. package/src/generated/portal/models/QuestionDetailsResponseDto.ts +16 -16
  230. package/src/generated/portal/models/QuestionResponseDto.ts +9 -9
  231. package/src/generated/portal/models/QuestionShowGroupAndProductResponse.ts +9 -9
  232. package/src/generated/portal/models/QuestionShowResponse.ts +13 -13
  233. package/src/generated/portal/models/QuestionTypeResponse.ts +10 -10
  234. package/src/generated/portal/models/RecalculateOrderResponseDto.ts +35 -35
  235. package/src/generated/portal/models/RefundDetailResponseDto.ts +33 -33
  236. package/src/generated/portal/models/RefundOrderDetail.ts +17 -17
  237. package/src/generated/portal/models/RefundResponseDto.ts +24 -24
  238. package/src/generated/portal/models/RefundSetting.ts +9 -9
  239. package/src/generated/portal/models/RefundSettingsResponseDto.ts +7 -7
  240. package/src/generated/portal/models/ReleaseSeatDetailResponseDto.ts +29 -29
  241. package/src/generated/portal/models/RemoveReservationCodeRequestDto.ts +10 -10
  242. package/src/generated/portal/models/RemoveSeatsRequestDto.ts +11 -11
  243. package/src/generated/portal/models/ReorderImageRequestDto.ts +8 -8
  244. package/src/generated/portal/models/ReportProductSalesResponseDto.ts +30 -30
  245. package/src/generated/portal/models/ResendMailRequestDto.ts +9 -9
  246. package/src/generated/portal/models/ReservationCodeResponseDto.ts +20 -20
  247. package/src/generated/portal/models/ReservationDetailResponseDto.ts +18 -18
  248. package/src/generated/portal/models/ResetTaxPaymentRequestDto.ts +9 -9
  249. package/src/generated/portal/models/RevenueByShowRequestDto.ts +10 -10
  250. package/src/generated/portal/models/RevenueShowCalculationsResponseDto.ts +19 -19
  251. package/src/generated/portal/models/SaleDetail.ts +14 -14
  252. package/src/generated/portal/models/SalesByTierReponseDto.ts +17 -17
  253. package/src/generated/portal/models/SalesProductResponseDto.ts +11 -11
  254. package/src/generated/portal/models/SaveAdministrativeNoteRequestDto.ts +9 -9
  255. package/src/generated/portal/models/ScannedTicketOrderResponseDto.ts +22 -22
  256. package/src/generated/portal/models/ScannedTicketResponseDto.ts +10 -10
  257. package/src/generated/portal/models/SearchCodeResponseDto.ts +9 -9
  258. package/src/generated/portal/models/SearchFeatureResponseDto.ts +17 -17
  259. package/src/generated/portal/models/SearchOrderResponseDto.ts +15 -15
  260. package/src/generated/portal/models/SearchResponseDto.ts +15 -15
  261. package/src/generated/portal/models/SeatDetails.ts +22 -22
  262. package/src/generated/portal/models/SeatDetailsResponseDto.ts +10 -10
  263. package/src/generated/portal/models/SeatResponseDto.ts +17 -17
  264. package/src/generated/portal/models/SectionDetail.ts +10 -10
  265. package/src/generated/portal/models/SectionRule.ts +12 -12
  266. package/src/generated/portal/models/SelectedSeatExchangeResponseDto.ts +11 -11
  267. package/src/generated/portal/models/SendBlockedSeatsMailRequestDto.ts +12 -12
  268. package/src/generated/portal/models/SendMailRequestDto.ts +10 -10
  269. package/src/generated/portal/models/SendReservationCodeMailRequestDto.ts +12 -12
  270. package/src/generated/portal/models/SentMailResponseDto.ts +14 -14
  271. package/src/generated/portal/models/SettingsAndWavesResponseDto.ts +13 -13
  272. package/src/generated/portal/models/SettingsDetailsResponseDto.ts +56 -56
  273. package/src/generated/portal/models/Show.ts +11 -11
  274. package/src/generated/portal/models/ShowAndGroupResponseDto.ts +14 -14
  275. package/src/generated/portal/models/ShowBlockedSeatResponseDto.ts +26 -26
  276. package/src/generated/portal/models/ShowChartPreviewResponseDto.ts +10 -10
  277. package/src/generated/portal/models/ShowDetailDto.ts +71 -71
  278. package/src/generated/portal/models/ShowDetails.ts +12 -12
  279. package/src/generated/portal/models/ShowDetailsResponseDto.ts +16 -16
  280. package/src/generated/portal/models/ShowGroupResponseDto.ts +9 -9
  281. package/src/generated/portal/models/ShowGroups.ts +9 -9
  282. package/src/generated/portal/models/ShowListResponseDto.ts +15 -15
  283. package/src/generated/portal/models/ShowOrders.ts +11 -11
  284. package/src/generated/portal/models/ShowPricing.ts +17 -17
  285. package/src/generated/portal/models/ShowPricingDetail.ts +11 -11
  286. package/src/generated/portal/models/ShowReportListResponseDto.ts +14 -14
  287. package/src/generated/portal/models/ShowSeatDetailResponseDto.ts +11 -11
  288. package/src/generated/portal/models/ShowSeatPair.ts +9 -9
  289. package/src/generated/portal/models/ShowSectionDetail.ts +14 -14
  290. package/src/generated/portal/models/ShowSnapshotResponseDto.ts +22 -22
  291. package/src/generated/portal/models/ShowStatDetail.ts +34 -34
  292. package/src/generated/portal/models/ShowTicketSectionListResponseDto.ts +11 -11
  293. package/src/generated/portal/models/ShowTierRequestDto.ts +8 -8
  294. package/src/generated/portal/models/ShowTierResponseDto.ts +30 -30
  295. package/src/generated/portal/models/ShowTiers.ts +32 -32
  296. package/src/generated/portal/models/ShowTypeResponseDto.ts +10 -10
  297. package/src/generated/portal/models/ShowTypes.ts +10 -10
  298. package/src/generated/portal/models/Shows.ts +13 -13
  299. package/src/generated/portal/models/ShowsList.ts +32 -32
  300. package/src/generated/portal/models/ShowsResponseDto.ts +17 -17
  301. package/src/generated/portal/models/SingleFundDetailResponseDto.ts +11 -11
  302. package/src/generated/portal/models/SingleOrderDetailResponseDto.ts +21 -21
  303. package/src/generated/portal/models/SinglePatronCodeResponseDto.ts +23 -23
  304. package/src/generated/portal/models/SinglePerformerRequestDto.ts +9 -9
  305. package/src/generated/portal/models/SoldTicketsResponseDto.ts +32 -32
  306. package/src/generated/portal/models/StartImageUploadRequestDto.ts +8 -8
  307. package/src/generated/portal/models/StartImageUploadResponseDto.ts +9 -9
  308. package/src/generated/portal/models/StopShowRequestDto.ts +10 -10
  309. package/src/generated/portal/models/StringValidation.ts +13 -13
  310. package/src/generated/portal/models/StripeResponseDto.ts +13 -13
  311. package/src/generated/portal/models/StripeSettingsResponseDto.ts +13 -13
  312. package/src/generated/portal/models/StudentCreditOrdersResponseDto.ts +13 -13
  313. package/src/generated/portal/models/StudentCreditResponseDto.ts +10 -10
  314. package/src/generated/portal/models/StudioIntegratorDetailResponseDto.ts +11 -11
  315. package/src/generated/portal/models/SuccessResponse.ts +8 -8
  316. package/src/generated/portal/models/TaxAndBankDetailsResponseDto.ts +11 -11
  317. package/src/generated/portal/models/TaxByMonthRequestDto.ts +9 -9
  318. package/src/generated/portal/models/TaxByMonthResponseDto.ts +19 -19
  319. package/src/generated/portal/models/TaxDocuments.ts +9 -9
  320. package/src/generated/portal/models/TaxResponseDto.ts +14 -14
  321. package/src/generated/portal/models/TemplateResponseDto.ts +9 -9
  322. package/src/generated/portal/models/TheatreList.ts +8 -8
  323. package/src/generated/portal/models/ThemeBannerImageResponseDto.ts +11 -11
  324. package/src/generated/portal/models/ThemeCategoryResponseDto.ts +10 -10
  325. package/src/generated/portal/models/ThemeDesignResponseDto.ts +37 -37
  326. package/src/generated/portal/models/ThemeDetailResponseDto.ts +10 -10
  327. package/src/generated/portal/models/ThemeLinkResponseDto.ts +11 -11
  328. package/src/generated/portal/models/ThemeResponseDto.ts +11 -11
  329. package/src/generated/portal/models/TicketDetail.ts +24 -24
  330. package/src/generated/portal/models/TicketDetails.ts +18 -18
  331. package/src/generated/portal/models/TicketRequestDto.ts +9 -9
  332. package/src/generated/portal/models/TicketResponseDto.ts +19 -19
  333. package/src/generated/portal/models/TicketScanningShowResponseDto.ts +18 -18
  334. package/src/generated/portal/models/TicketSeatDetailResponseDto.ts +27 -27
  335. package/src/generated/portal/models/TicketingShowResponseDto.ts +13 -13
  336. package/src/generated/portal/models/TierDetail.ts +14 -14
  337. package/src/generated/portal/models/TierRequestDto.ts +10 -10
  338. package/src/generated/portal/models/TieredPrice.ts +17 -17
  339. package/src/generated/portal/models/TimeZoneResponse.ts +9 -9
  340. package/src/generated/portal/models/ToggleModifyTierRequestDto.ts +10 -10
  341. package/src/generated/portal/models/ToggleModifyTierResponseDto.ts +10 -10
  342. package/src/generated/portal/models/ToggleTierRequestDto.ts +9 -9
  343. package/src/generated/portal/models/ToggleTierResponseDto.ts +12 -12
  344. package/src/generated/portal/models/TransactionDetail.ts +14 -14
  345. package/src/generated/portal/models/UnApprovedOrderSeatDetailResponseDto.ts +12 -12
  346. package/src/generated/portal/models/UnAvailableSeating.ts +14 -14
  347. package/src/generated/portal/models/UnapprovedOrderDetailResponseDto.ts +10 -10
  348. package/src/generated/portal/models/UnapprovedOrderResponseDto.ts +17 -17
  349. package/src/generated/portal/models/UnblockSeatsRequestDto.ts +9 -9
  350. package/src/generated/portal/models/UnsoldTicketsResponseDto.ts +21 -21
  351. package/src/generated/portal/models/UpdateBankingRequestDto.ts +21 -21
  352. package/src/generated/portal/models/UpdateDiscountCodeRequestDto.ts +21 -21
  353. package/src/generated/portal/models/UpdateEmailRequestDto.ts +8 -8
  354. package/src/generated/portal/models/UpdateImageUploadRequestDto.ts +10 -10
  355. package/src/generated/portal/models/UpdateLandingPageConfigSettingRequestDto.ts +23 -23
  356. package/src/generated/portal/models/UpdateLandingPageRequestDto.ts +13 -13
  357. package/src/generated/portal/models/UpdateMessageRequestDto.ts +10 -10
  358. package/src/generated/portal/models/UpdatePatronCodeRequestDto.ts +15 -15
  359. package/src/generated/portal/models/UpdatePatronSettingsRequestDto.ts +11 -11
  360. package/src/generated/portal/models/UpdatePatronTagsRequestDto.ts +10 -10
  361. package/src/generated/portal/models/UpdatePriorityCodeRequestDto.ts +19 -19
  362. package/src/generated/portal/models/UpdateProductVariantRequestDto.ts +15 -15
  363. package/src/generated/portal/models/UpdateSearchLogRequestDto.ts +9 -9
  364. package/src/generated/portal/models/UpdateStudioSettingsRequestDto.ts +16 -16
  365. package/src/generated/portal/models/UpdateTaxRequestDto.ts +11 -11
  366. package/src/generated/portal/models/UpdateThemeDesignRequestDto.ts +32 -32
  367. package/src/generated/portal/models/ValidateEmailRequestDto.ts +8 -8
  368. package/src/generated/portal/models/ValidateEmailResponseDto.ts +9 -9
  369. package/src/generated/portal/models/VerifyOtpRequestDto.ts +9 -9
  370. package/src/generated/portal/models/VideoStreamResponseDto.ts +19 -19
  371. package/src/generated/portal/models/VirtualStreamResponseDto.ts +15 -15
  372. package/src/generated/portal/models/WaitlistDetailResponseDto.ts +18 -18
  373. package/src/generated/portal/models/WaitlistShowFilterResponseDto.ts +9 -9
  374. package/src/generated/portal/models/WaitlistShowResponseDto.ts +22 -22
  375. package/src/generated/portal/models/WavesResponseDto.ts +9 -9
  376. package/src/generated/portal/models/WeeklyResponseDto.ts +15 -15
  377. package/src/generated/portal/models/createServiceAgreementRequestDto.ts +9 -9
  378. package/src/generated/portal/models/seatShowIdPair.ts +9 -9
  379. package/src/generated/portal/models/tierIdQuantityPair.ts +9 -9
  380. package/src/generated/portal/services/AccountService.ts +122 -111
  381. package/src/generated/portal/services/AccountingService.ts +493 -493
  382. package/src/generated/portal/services/AppService.ts +33 -33
  383. package/src/generated/portal/services/AuthService.ts +134 -128
  384. package/src/generated/portal/services/ClientToolsGeneratedEmailsService.ts +109 -109
  385. package/src/generated/portal/services/ClientToolsParentLetterService.ts +28 -28
  386. package/src/generated/portal/services/ClientToolsPatronDatabaseService.ts +441 -441
  387. package/src/generated/portal/services/ClientToolsSeatAssignmentToolService.ts +28 -28
  388. package/src/generated/portal/services/ClientToolsStripeOnboardingService.ts +28 -28
  389. package/src/generated/portal/services/ClientToolsThemeBuilderService.ts +149 -149
  390. package/src/generated/portal/services/ClientToolsThemesLibraryService.ts +63 -63
  391. package/src/generated/portal/services/ClientToolsTicketScanningService.ts +71 -71
  392. package/src/generated/portal/services/ClientToolsTicketingLinkService.ts +58 -58
  393. package/src/generated/portal/services/ClientToolsUnapprovedOrdersService.ts +81 -81
  394. package/src/generated/portal/services/ClientToolsWaitlistService.ts +204 -204
  395. package/src/generated/portal/services/DashboardService.ts +90 -90
  396. package/src/generated/portal/services/FeaturesBlockedSeatsService.ts +548 -531
  397. package/src/generated/portal/services/FeaturesCheckoutQuestionsService.ts +144 -144
  398. package/src/generated/portal/services/FeaturesDiscountsService.ts +319 -319
  399. package/src/generated/portal/services/FeaturesDonationsService.ts +247 -247
  400. package/src/generated/portal/services/FeaturesGiftCardsService.ts +177 -177
  401. package/src/generated/portal/services/FeaturesGoldenTicketsService.ts +208 -208
  402. package/src/generated/portal/services/FeaturesLandingPageService.ts +299 -299
  403. package/src/generated/portal/services/FeaturesPriorityService.ts +255 -255
  404. package/src/generated/portal/services/FeaturesProductsService.ts +441 -441
  405. package/src/generated/portal/services/OrderLookupService.ts +615 -610
  406. package/src/generated/portal/services/ReportsService.ts +488 -488
  407. package/src/generated/portal/services/SettingsService.ts +354 -354
  408. package/src/generated/portal/services/ShowsService.ts +658 -658
  409. package/src/generated/scanner/core/ApiError.ts +1 -1
  410. package/src/generated/scanner/core/ApiRequestOptions.ts +1 -1
  411. package/src/generated/scanner/core/ApiResult.ts +1 -1
  412. package/src/generated/scanner/core/CancelablePromise.ts +1 -1
  413. package/src/generated/scanner/core/OpenAPI.ts +1 -1
  414. package/src/generated/scanner/core/request.ts +387 -322
  415. package/src/generated/scanner/models/DatabaseUpload.ts +10 -10
  416. package/src/generated/scanner/models/DatabaseUploadData.ts +10 -10
  417. package/src/generated/scanner/models/DisplayMessage.ts +10 -10
  418. package/src/generated/scanner/models/EventResponse.ts +16 -16
  419. package/src/generated/scanner/models/EventResponseStats.ts +11 -11
  420. package/src/generated/scanner/models/EventSkin.ts +23 -23
  421. package/src/generated/scanner/models/MobileReceiptResponse.ts +21 -21
  422. package/src/generated/scanner/models/OrderDetails.ts +15 -15
  423. package/src/generated/scanner/models/OrderProduct.ts +15 -15
  424. package/src/generated/scanner/models/OrderSeat.ts +19 -19
  425. package/src/generated/scanner/models/OrderSummary.ts +11 -11
  426. package/src/generated/scanner/models/Product.ts +15 -15
  427. package/src/generated/scanner/models/ProductQR.ts +8 -8
  428. package/src/generated/scanner/models/ProductScan.ts +16 -16
  429. package/src/generated/scanner/models/QueryDatabaseUnionResult.ts +13 -13
  430. package/src/generated/scanner/models/ReceiptBuyerDetails.ts +11 -11
  431. package/src/generated/scanner/models/ReceiptEventDetails.ts +12 -12
  432. package/src/generated/scanner/models/ReceiptProductDetails.ts +19 -19
  433. package/src/generated/scanner/models/ReceiptResponse.ts +21 -21
  434. package/src/generated/scanner/models/ReceiptSeatDetails.ts +15 -15
  435. package/src/generated/scanner/models/ResultMessage.ts +9 -9
  436. package/src/generated/scanner/models/RowResult.ts +8 -8
  437. package/src/generated/scanner/models/SeatQR.ts +8 -8
  438. package/src/generated/scanner/models/SeatResponse.ts +12 -12
  439. package/src/generated/scanner/models/SeatResult.ts +8 -8
  440. package/src/generated/scanner/models/SectionResult.ts +8 -8
  441. package/src/generated/scanner/models/TicketDatabase.ts +19 -19
  442. package/src/generated/scanner/models/TicketScan.ts +24 -24
  443. package/src/generated/scanner/models/TicketScanStats.ts +10 -10
  444. package/src/generated/scanner/models/TicketSeats.ts +14 -14
  445. package/src/generated/scanner/models/UploadDatabaseResponse.ts +10 -10
  446. package/src/generated/scanner/services/DatabaseService.ts +110 -110
  447. package/src/generated/scanner/services/OrdersService.ts +114 -114
  448. package/src/generated/scanner/services/ScanningService.ts +331 -331
  449. package/src/generated/shopper/core/ApiError.ts +1 -1
  450. package/src/generated/shopper/core/ApiRequestOptions.ts +1 -1
  451. package/src/generated/shopper/core/ApiResult.ts +1 -1
  452. package/src/generated/shopper/core/CancelablePromise.ts +1 -1
  453. package/src/generated/shopper/core/OpenAPI.ts +1 -1
  454. package/src/generated/shopper/core/request.ts +387 -382
  455. package/src/generated/shopper/models/Account.ts +57 -57
  456. package/src/generated/shopper/models/Album.ts +13 -13
  457. package/src/generated/shopper/models/AlbumImage.ts +13 -13
  458. package/src/generated/shopper/models/AlbumWithImages.ts +11 -11
  459. package/src/generated/shopper/models/AssignNamesReturn.ts +9 -9
  460. package/src/generated/shopper/models/BAHold.ts +10 -10
  461. package/src/generated/shopper/models/BlockOfTickets.ts +18 -18
  462. package/src/generated/shopper/models/Cart.ts +13 -13
  463. package/src/generated/shopper/models/CartCounts.ts +11 -11
  464. package/src/generated/shopper/models/CartWithTime.ts +10 -10
  465. package/src/generated/shopper/models/Chart.ts +13 -13
  466. package/src/generated/shopper/models/CheckoutDonation.ts +9 -9
  467. package/src/generated/shopper/models/CheckoutFailResponse.ts +10 -10
  468. package/src/generated/shopper/models/CheckoutGiftCard.ts +9 -9
  469. package/src/generated/shopper/models/CheckoutPageData.ts +23 -23
  470. package/src/generated/shopper/models/CheckoutProduct.ts +14 -14
  471. package/src/generated/shopper/models/CheckoutQuestion.ts +20 -20
  472. package/src/generated/shopper/models/CheckoutSessionData.ts +35 -35
  473. package/src/generated/shopper/models/CheckoutSubmitBody.ts +35 -35
  474. package/src/generated/shopper/models/CheckoutSuccessResponse.ts +8 -8
  475. package/src/generated/shopper/models/CodeDto.ts +11 -11
  476. package/src/generated/shopper/models/CompleteBody.ts +9 -9
  477. package/src/generated/shopper/models/CreateCustomerResponse.ts +9 -9
  478. package/src/generated/shopper/models/DigitalAsset.ts +21 -21
  479. package/src/generated/shopper/models/DonationContribution.ts +10 -10
  480. package/src/generated/shopper/models/DonationFund.ts +34 -34
  481. package/src/generated/shopper/models/DonationInCart.ts +19 -19
  482. package/src/generated/shopper/models/DonationResult.ts +23 -23
  483. package/src/generated/shopper/models/DonationText.ts +9 -9
  484. package/src/generated/shopper/models/DonationsandContributions.ts +17 -17
  485. package/src/generated/shopper/models/EmailUpdate.ts +12 -12
  486. package/src/generated/shopper/models/EngineSeat.ts +7 -7
  487. package/src/generated/shopper/models/EventDetails.ts +51 -51
  488. package/src/generated/shopper/models/EventGroup.ts +16 -16
  489. package/src/generated/shopper/models/ExistingRefundDetails.ts +9 -9
  490. package/src/generated/shopper/models/FullEventDetails.ts +17 -17
  491. package/src/generated/shopper/models/GAHold.ts +11 -11
  492. package/src/generated/shopper/models/GAResponse.ts +19 -19
  493. package/src/generated/shopper/models/GASeatRelease.ts +10 -10
  494. package/src/generated/shopper/models/GetEventsResponse.ts +11 -11
  495. package/src/generated/shopper/models/GiftCardApplyDto.ts +23 -23
  496. package/src/generated/shopper/models/GiftCardApplyResponse.ts +35 -35
  497. package/src/generated/shopper/models/GiftCardCheckoutInfo.ts +35 -35
  498. package/src/generated/shopper/models/GiftCardEditFormResponse.ts +15 -15
  499. package/src/generated/shopper/models/GiftCardLookupResponse.ts +23 -23
  500. package/src/generated/shopper/models/GiftCardRemoveResponse.ts +19 -19
  501. package/src/generated/shopper/models/GuidReturn.ts +8 -8
  502. package/src/generated/shopper/models/HasAccessResponse.ts +8 -8
  503. package/src/generated/shopper/models/LandingConfig.ts +27 -27
  504. package/src/generated/shopper/models/LandingPageResponse.ts +17 -17
  505. package/src/generated/shopper/models/LinkWithSuccess.ts +9 -9
  506. package/src/generated/shopper/models/NameUpdate.ts +9 -9
  507. package/src/generated/shopper/models/OrderDetails.ts +42 -42
  508. package/src/generated/shopper/models/OrderRecalc.ts +11 -11
  509. package/src/generated/shopper/models/OrderRefundDetails.ts +10 -10
  510. package/src/generated/shopper/models/OrderSeat.ts +30 -30
  511. package/src/generated/shopper/models/OrderStream.ts +16 -16
  512. package/src/generated/shopper/models/OrderTicketReceipt.ts +30 -30
  513. package/src/generated/shopper/models/PatronName.ts +10 -10
  514. package/src/generated/shopper/models/PaymentDetail.ts +40 -40
  515. package/src/generated/shopper/models/PaymentFail.ts +23 -23
  516. package/src/generated/shopper/models/PaymentSuccess.ts +23 -23
  517. package/src/generated/shopper/models/PerformerEventList.ts +9 -9
  518. package/src/generated/shopper/models/PickupReturn.ts +11 -11
  519. package/src/generated/shopper/models/PriorityCode.ts +10 -10
  520. package/src/generated/shopper/models/Product.ts +28 -28
  521. package/src/generated/shopper/models/ProductAddResponse.ts +12 -12
  522. package/src/generated/shopper/models/ProductBody.ts +12 -12
  523. package/src/generated/shopper/models/ProductData.ts +11 -11
  524. package/src/generated/shopper/models/ProductDeleteBody.ts +11 -11
  525. package/src/generated/shopper/models/ProductDetails.ts +16 -16
  526. package/src/generated/shopper/models/ProductInCart.ts +17 -17
  527. package/src/generated/shopper/models/ProductUpdateResponse.ts +10 -10
  528. package/src/generated/shopper/models/ProductVariant.ts +18 -18
  529. package/src/generated/shopper/models/RecalcResponse.ts +10 -10
  530. package/src/generated/shopper/models/RecalcReturn.ts +31 -31
  531. package/src/generated/shopper/models/Receipt.ts +38 -38
  532. package/src/generated/shopper/models/ReceiptMessages.ts +8 -8
  533. package/src/generated/shopper/models/ReceiptQuestions.ts +12 -12
  534. package/src/generated/shopper/models/Refund.ts +12 -12
  535. package/src/generated/shopper/models/RefundPolicy.ts +8 -8
  536. package/src/generated/shopper/models/RefundReason.ts +12 -12
  537. package/src/generated/shopper/models/RefundRequest.ts +13 -13
  538. package/src/generated/shopper/models/RefundRequestInfo.ts +15 -15
  539. package/src/generated/shopper/models/RegisterStreamRequest.ts +9 -9
  540. package/src/generated/shopper/models/RegisterStreamResponse.ts +10 -10
  541. package/src/generated/shopper/models/RootConfigResponse.ts +22 -22
  542. package/src/generated/shopper/models/SaveDetailsBody.ts +26 -26
  543. package/src/generated/shopper/models/SaveNonceBody.ts +15 -15
  544. package/src/generated/shopper/models/SeatData.ts +9 -9
  545. package/src/generated/shopper/models/SeatHoldReturn.ts +11 -11
  546. package/src/generated/shopper/models/SeatInCart.ts +26 -26
  547. package/src/generated/shopper/models/SeatingTier.ts +27 -27
  548. package/src/generated/shopper/models/Section.ts +20 -20
  549. package/src/generated/shopper/models/SectionRule.ts +15 -15
  550. package/src/generated/shopper/models/SessionHeartbeatDto.ts +9 -9
  551. package/src/generated/shopper/models/SessionInfoDto.ts +20 -20
  552. package/src/generated/shopper/models/SiteDisposition.ts +10 -10
  553. package/src/generated/shopper/models/SiteTheme.ts +40 -40
  554. package/src/generated/shopper/models/StudioOrderSettings.ts +14 -14
  555. package/src/generated/shopper/models/StudioSettings.ts +12 -12
  556. package/src/generated/shopper/models/SuccessResponse.ts +8 -8
  557. package/src/generated/shopper/models/SuccessWithTime.ts +15 -15
  558. package/src/generated/shopper/models/SummaryBody.ts +8 -8
  559. package/src/generated/shopper/models/TheatreAddresses.ts +15 -15
  560. package/src/generated/shopper/models/Ticket.ts +9 -9
  561. package/src/generated/shopper/models/TicketBlock.ts +18 -18
  562. package/src/generated/shopper/models/TicketInstructions.ts +8 -8
  563. package/src/generated/shopper/models/UniversalCodeResponse.ts +27 -27
  564. package/src/generated/shopper/models/UpdateTierData.ts +10 -10
  565. package/src/generated/shopper/models/UpdateTierFail.ts +10 -10
  566. package/src/generated/shopper/models/WaitlistResponse.ts +9 -9
  567. package/src/generated/shopper/models/WaitlistUpdate.ts +14 -14
  568. package/src/generated/shopper/services/AccountService.ts +129 -129
  569. package/src/generated/shopper/services/CartService.ts +68 -68
  570. package/src/generated/shopper/services/CheckoutService.ts +171 -171
  571. package/src/generated/shopper/services/CodeService.ts +180 -180
  572. package/src/generated/shopper/services/DonationService.ts +77 -77
  573. package/src/generated/shopper/services/EventService.ts +144 -144
  574. package/src/generated/shopper/services/GiftCardService.ts +172 -172
  575. package/src/generated/shopper/services/OrderService.ts +513 -513
  576. package/src/generated/shopper/services/PaymentService.ts +109 -109
  577. package/src/generated/shopper/services/ProductService.ts +109 -109
  578. package/src/generated/shopper/services/SeatService.ts +231 -231
  579. package/src/generated/shopper/services/SessionService.ts +69 -69
  580. package/src/scripts/build-all.ts +129 -116
  581. package/src/scripts/check-version-not-published.ts +28 -28
  582. package/src/scripts/generate-definition.ts +89 -89
  583. package/test.ts +31 -31
  584. package/tsconfig.cjs.json +11 -11
  585. package/tsconfig.esm.json +11 -11
  586. package/tsconfig.json +16 -16
  587. package/dist/cjs/src/generated/portal/models/StudentCreditBuyerResponseDto.d.ts +0 -12
  588. package/dist/cjs/src/generated/portal/models/StudentCreditBuyerResponseDto.js +0 -2
  589. package/dist/esm/src/generated/portal/models/StudentCreditBuyerResponseDto.d.ts +0 -12
  590. package/dist/esm/src/generated/portal/models/StudentCreditBuyerResponseDto.js +0 -1
@@ -1,513 +1,513 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { AssignNamesReturn } from '../models/AssignNamesReturn';
6
- import type { EmailUpdate } from '../models/EmailUpdate';
7
- import type { GuidReturn } from '../models/GuidReturn';
8
- import type { LinkWithSuccess } from '../models/LinkWithSuccess';
9
- import type { NameUpdate } from '../models/NameUpdate';
10
- import type { OrderRecalc } from '../models/OrderRecalc';
11
- import type { PickupReturn } from '../models/PickupReturn';
12
- import type { RecalcResponse } from '../models/RecalcResponse';
13
- import type { Receipt } from '../models/Receipt';
14
- import type { RefundRequest } from '../models/RefundRequest';
15
- import type { RefundRequestInfo } from '../models/RefundRequestInfo';
16
- import type { RegisterStreamRequest } from '../models/RegisterStreamRequest';
17
- import type { RegisterStreamResponse } from '../models/RegisterStreamResponse';
18
- import type { SuccessResponse } from '../models/SuccessResponse';
19
- import type { CancelablePromise } from '../core/CancelablePromise';
20
- import { OpenAPI } from '../core/OpenAPI';
21
- import { request as __request } from '../core/request';
22
- export class OrderService {
23
- /**
24
- * Get order receipt by guid
25
- * Fetches the receipt for an order using its unique guid.
26
- * @param guid Unique identifier for an order.
27
- * @param shopperguid Unique identifier for the shopper.
28
- * @param accountid Unique identifier for the account.
29
- * @param apikey API key for authentication.
30
- * @returns Receipt Returns the order receipt.
31
- * @throws ApiError
32
- */
33
- public static getReceipt(
34
- guid: string,
35
- shopperguid: string,
36
- accountid: string,
37
- apikey: string,
38
- ): CancelablePromise<Receipt> {
39
- return __request(OpenAPI, {
40
- method: 'GET',
41
- url: '/order/receipt',
42
- headers: {
43
- 'shopperguid': shopperguid,
44
- 'accountid': accountid,
45
- 'apikey': apikey,
46
- },
47
- query: {
48
- 'guid': guid,
49
- },
50
- errors: {
51
- 400: `Bad Request error with error details.`,
52
- 404: `Not found error with error details.`,
53
- 500: `Internal Server Error, please contact developers.`,
54
- },
55
- });
56
- }
57
- /**
58
- * Get Gwallet link by guid
59
- * Fetches the Gwallet link for an order using its unique guid.
60
- * @param guid Unique identifier for an order.
61
- * @param shopperguid Unique identifier for the shopper.
62
- * @param accountid Unique identifier for the account.
63
- * @param apikey API key for authentication.
64
- * @returns LinkWithSuccess Returns the Gwallet link.
65
- * @throws ApiError
66
- */
67
- public static getGwalletLink(
68
- guid: string,
69
- shopperguid: string,
70
- accountid: string,
71
- apikey: string,
72
- ): CancelablePromise<LinkWithSuccess> {
73
- return __request(OpenAPI, {
74
- method: 'GET',
75
- url: '/order/gwallet',
76
- headers: {
77
- 'shopperguid': shopperguid,
78
- 'accountid': accountid,
79
- 'apikey': apikey,
80
- },
81
- query: {
82
- 'guid': guid,
83
- },
84
- errors: {
85
- 400: `Bad Request error with error details.`,
86
- 404: `Not found error with error details.`,
87
- 500: `Internal Server Error, please contact developers.`,
88
- },
89
- });
90
- }
91
- /**
92
- * Get testing guid
93
- * Fetches a testing guid for development purposes.
94
- * @param guid Unique identifier for an order.
95
- * @param shopperguid Unique identifier for the shopper.
96
- * @param accountid Unique identifier for the account.
97
- * @param apikey API key for authentication.
98
- * @returns GuidReturn Returns a testing guid.
99
- * @throws ApiError
100
- */
101
- public static getTestingGuid(
102
- guid: string,
103
- shopperguid: string,
104
- accountid: string,
105
- apikey: string,
106
- ): CancelablePromise<GuidReturn> {
107
- return __request(OpenAPI, {
108
- method: 'GET',
109
- url: '/order/testing',
110
- headers: {
111
- 'shopperguid': shopperguid,
112
- 'accountid': accountid,
113
- 'apikey': apikey,
114
- },
115
- query: {
116
- 'guid': guid,
117
- },
118
- errors: {
119
- 400: `Bad Request error with error details.`,
120
- 404: `Not found error with error details.`,
121
- 500: `Internal Server Error, please contact developers.`,
122
- },
123
- });
124
- }
125
- /**
126
- * Get assign names by guid
127
- * Fetches the assign names information for an order using its unique guid.
128
- * @param guid Unique identifier for an order.
129
- * @param shopperguid Unique identifier for the shopper.
130
- * @param accountid Unique identifier for the account.
131
- * @param apikey API key for authentication.
132
- * @returns AssignNamesReturn Returns the assign names information.
133
- * @throws ApiError
134
- */
135
- public static getAssignNames(
136
- guid: string,
137
- shopperguid: string,
138
- accountid: string,
139
- apikey: string,
140
- ): CancelablePromise<AssignNamesReturn> {
141
- return __request(OpenAPI, {
142
- method: 'GET',
143
- url: '/order/assign-names',
144
- headers: {
145
- 'shopperguid': shopperguid,
146
- 'accountid': accountid,
147
- 'apikey': apikey,
148
- },
149
- query: {
150
- 'guid': guid,
151
- },
152
- errors: {
153
- 400: `Bad Request error with error details.`,
154
- 404: `Not found error with error details.`,
155
- 500: `Internal Server Error, please contact developers.`,
156
- },
157
- });
158
- }
159
- /**
160
- * Post assign names
161
- * Assigns names to an order using its unique guid and the provided names.
162
- * @param guid Unique identifier for an order.
163
- * @param shopperguid Unique identifier for the shopper.
164
- * @param accountid Unique identifier for the account.
165
- * @param apikey API key for authentication.
166
- * @param requestBody Names to be assigned to the order.
167
- * @returns SuccessResponse Returns success status after assigning names.
168
- * @throws ApiError
169
- */
170
- public static postAssignNames(
171
- guid: string,
172
- shopperguid: string,
173
- accountid: string,
174
- apikey: string,
175
- requestBody: NameUpdate,
176
- ): CancelablePromise<SuccessResponse> {
177
- return __request(OpenAPI, {
178
- method: 'POST',
179
- url: '/order/assign-names',
180
- headers: {
181
- 'shopperguid': shopperguid,
182
- 'accountid': accountid,
183
- 'apikey': apikey,
184
- },
185
- query: {
186
- 'guid': guid,
187
- },
188
- body: requestBody,
189
- mediaType: 'application/json',
190
- errors: {
191
- 400: `Bad Request error with error details.`,
192
- 404: `Not found error with error details.`,
193
- 500: `Internal Server Error, please contact developers.`,
194
- },
195
- });
196
- }
197
- /**
198
- * Post email tickets
199
- * Sends email tickets for an order using its unique guid and the provided email update.
200
- * @param guid Unique identifier for an order.
201
- * @param shopperguid Unique identifier for the shopper.
202
- * @param accountid Unique identifier for the account.
203
- * @param apikey API key for authentication.
204
- * @param requestBody Email update containing the email address to send tickets.
205
- * @returns SuccessResponse Returns success status after sending email tickets.
206
- * @throws ApiError
207
- */
208
- public static postEmailTickets(
209
- guid: string,
210
- shopperguid: string,
211
- accountid: string,
212
- apikey: string,
213
- requestBody: EmailUpdate,
214
- ): CancelablePromise<SuccessResponse> {
215
- return __request(OpenAPI, {
216
- method: 'POST',
217
- url: '/order/email-tickets',
218
- headers: {
219
- 'shopperguid': shopperguid,
220
- 'accountid': accountid,
221
- 'apikey': apikey,
222
- },
223
- query: {
224
- 'guid': guid,
225
- },
226
- body: requestBody,
227
- mediaType: 'application/json',
228
- errors: {
229
- 400: `Bad Request error with error details.`,
230
- 404: `Not found error with error details.`,
231
- 500: `Internal Server Error, please contact developers.`,
232
- },
233
- });
234
- }
235
- /**
236
- * Get ticket block by guid
237
- * Fetches the ticket block for an order using its unique guid.
238
- * @param guid Unique identifier for an order.
239
- * @param shopperguid Unique identifier for the shopper.
240
- * @param accountid Unique identifier for the account.
241
- * @param apikey API key for authentication.
242
- * @returns PickupReturn Returns the ticket block for the order.
243
- * @throws ApiError
244
- */
245
- public static getTicketBlock(
246
- guid: string,
247
- shopperguid: string,
248
- accountid: string,
249
- apikey: string,
250
- ): CancelablePromise<PickupReturn> {
251
- return __request(OpenAPI, {
252
- method: 'GET',
253
- url: '/order/pickup',
254
- headers: {
255
- 'shopperguid': shopperguid,
256
- 'accountid': accountid,
257
- 'apikey': apikey,
258
- },
259
- query: {
260
- 'guid': guid,
261
- },
262
- errors: {
263
- 400: `Bad Request error with error details.`,
264
- 404: `Not found error with error details.`,
265
- 500: `Internal Server Error, please contact developers.`,
266
- },
267
- });
268
- }
269
- /**
270
- * Post ticket block by guid
271
- * Sends the ticket block for an order using its unique guid.
272
- * @param guid Unique identifier for an order.
273
- * @param shopperguid Unique identifier for the shopper.
274
- * @param accountid Unique identifier for the account.
275
- * @param apikey API key for authentication.
276
- * @returns SuccessResponse Returns the ticket block for the order.
277
- * @throws ApiError
278
- */
279
- public static postPickup(
280
- guid: string,
281
- shopperguid: string,
282
- accountid: string,
283
- apikey: string,
284
- ): CancelablePromise<SuccessResponse> {
285
- return __request(OpenAPI, {
286
- method: 'POST',
287
- url: '/order/pickup',
288
- headers: {
289
- 'shopperguid': shopperguid,
290
- 'accountid': accountid,
291
- 'apikey': apikey,
292
- },
293
- query: {
294
- 'guid': guid,
295
- },
296
- errors: {
297
- 400: `Bad Request error with error details.`,
298
- 404: `Not found error with error details.`,
299
- 500: `Internal Server Error, please contact developers.`,
300
- },
301
- });
302
- }
303
- /**
304
- * Send order receipt via email
305
- * Sends the order receipt to the shopper's email address for the specified order guid.
306
- * @param guid Unique identifier for an order.
307
- * @param shopperguid Unique identifier for the shopper.
308
- * @param accountid Unique identifier for the account.
309
- * @param apikey API key for authentication.
310
- * @returns SuccessResponse Returns success status after emailing the receipt.
311
- * @throws ApiError
312
- */
313
- public static postEmailReceipt(
314
- guid: string,
315
- shopperguid: string,
316
- accountid: string,
317
- apikey: string,
318
- ): CancelablePromise<SuccessResponse> {
319
- return __request(OpenAPI, {
320
- method: 'POST',
321
- url: '/order/email-receipt',
322
- headers: {
323
- 'shopperguid': shopperguid,
324
- 'accountid': accountid,
325
- 'apikey': apikey,
326
- },
327
- query: {
328
- 'guid': guid,
329
- },
330
- errors: {
331
- 400: `Bad Request error with error details.`,
332
- 404: `Not found error with error details.`,
333
- 500: `Internal Server Error, please contact developers.`,
334
- },
335
- });
336
- }
337
- /**
338
- * Get refund request information
339
- * Fetches the refund request information for an order using its unique guid.
340
- * @param guid Unique identifier for an order.
341
- * @param shopperguid Unique identifier for the shopper.
342
- * @param accountid Unique identifier for the account.
343
- * @param apikey API key for authentication.
344
- * @returns RefundRequestInfo Returns the refund request information for the order.
345
- * @throws ApiError
346
- */
347
- public static getRefundRequest(
348
- guid: string,
349
- shopperguid: string,
350
- accountid: string,
351
- apikey: string,
352
- ): CancelablePromise<RefundRequestInfo> {
353
- return __request(OpenAPI, {
354
- method: 'GET',
355
- url: '/order/refund-request',
356
- headers: {
357
- 'shopperguid': shopperguid,
358
- 'accountid': accountid,
359
- 'apikey': apikey,
360
- },
361
- query: {
362
- 'guid': guid,
363
- },
364
- errors: {
365
- 400: `Bad Request error with error details.`,
366
- 404: `Not found error with error details.`,
367
- 500: `Internal Server Error, please contact developers.`,
368
- },
369
- });
370
- }
371
- /**
372
- * Submit a refund request
373
- * Submits a refund request for an order using its unique guid and the provided refund details.
374
- * @param guid Unique identifier for an order.
375
- * @param shopperguid Unique identifier for the shopper.
376
- * @param accountid Unique identifier for the account.
377
- * @param apikey API key for authentication.
378
- * @param requestBody Refund request details.
379
- * @returns SuccessResponse Returns success status after submitting the refund request.
380
- * @throws ApiError
381
- */
382
- public static postRefundRequest(
383
- guid: string,
384
- shopperguid: string,
385
- accountid: string,
386
- apikey: string,
387
- requestBody: RefundRequest,
388
- ): CancelablePromise<SuccessResponse> {
389
- return __request(OpenAPI, {
390
- method: 'POST',
391
- url: '/order/refund-request',
392
- headers: {
393
- 'shopperguid': shopperguid,
394
- 'accountid': accountid,
395
- 'apikey': apikey,
396
- },
397
- query: {
398
- 'guid': guid,
399
- },
400
- body: requestBody,
401
- mediaType: 'application/json',
402
- errors: {
403
- 400: `Bad Request error with error details.`,
404
- 404: `Not found error with error details.`,
405
- 500: `Internal Server Error, please contact developers.`,
406
- },
407
- });
408
- }
409
- /**
410
- * Recalculate order totals
411
- * Recalculates the totals for an order using the provided recalculation data.
412
- * @param guid Unique identifier for an order.
413
- * @param shopperguid Unique identifier for the shopper.
414
- * @param accountid Unique identifier for the account.
415
- * @param apikey API key for authentication.
416
- * @param requestBody Order recalculation data.
417
- * @returns RecalcResponse Returns the recalculated order totals and success status.
418
- * @throws ApiError
419
- */
420
- public static postRecalcOrder(
421
- guid: string,
422
- shopperguid: string,
423
- accountid: string,
424
- apikey: string,
425
- requestBody: OrderRecalc,
426
- ): CancelablePromise<RecalcResponse> {
427
- return __request(OpenAPI, {
428
- method: 'POST',
429
- url: '/order/recalc',
430
- headers: {
431
- 'shopperguid': shopperguid,
432
- 'accountid': accountid,
433
- 'apikey': apikey,
434
- },
435
- query: {
436
- 'guid': guid,
437
- },
438
- body: requestBody,
439
- mediaType: 'application/json',
440
- errors: {
441
- 400: `Bad Request error with error details.`,
442
- 404: `Not found error with error details.`,
443
- 500: `Internal Server Error, please contact developers.`,
444
- },
445
- });
446
- }
447
- /**
448
- * Register a stream for a shopper
449
- * Registers a stream for the specified shopper and account using the provided stream registration details.
450
- * @param shopperguid Unique identifier for the shopper.
451
- * @param accountid Unique identifier for the account.
452
- * @param apikey API key for authentication.
453
- * @param requestBody Stream registration details.
454
- * @returns RegisterStreamResponse Returns the stream registration response.
455
- * @throws ApiError
456
- */
457
- public static postRegisterStream(
458
- shopperguid: string,
459
- accountid: string,
460
- apikey: string,
461
- requestBody: RegisterStreamRequest,
462
- ): CancelablePromise<RegisterStreamResponse> {
463
- return __request(OpenAPI, {
464
- method: 'POST',
465
- url: '/order/stream-register',
466
- headers: {
467
- 'shopperguid': shopperguid,
468
- 'accountid': accountid,
469
- 'apikey': apikey,
470
- },
471
- body: requestBody,
472
- mediaType: 'application/json',
473
- errors: {
474
- 400: `Bad Request error with error details.`,
475
- 404: `Not found error with error details.`,
476
- 500: `Internal Server Error, please contact developers.`,
477
- },
478
- });
479
- }
480
- /**
481
- * Deregister a stream for a shopper
482
- * Removes the stream registration for the specified shopper and account using the provided stream registration details.
483
- * @param shopperguid Unique identifier for the shopper.
484
- * @param accountid Unique identifier for the account.
485
- * @param apikey API key for authentication.
486
- * @param requestBody Stream registration details to be deregistered.
487
- * @returns SuccessResponse Returns success status after deregistering the stream.
488
- * @throws ApiError
489
- */
490
- public static deleteRegisteredStream(
491
- shopperguid: string,
492
- accountid: string,
493
- apikey: string,
494
- requestBody: RegisterStreamRequest,
495
- ): CancelablePromise<SuccessResponse> {
496
- return __request(OpenAPI, {
497
- method: 'DELETE',
498
- url: '/order/stream-register',
499
- headers: {
500
- 'shopperguid': shopperguid,
501
- 'accountid': accountid,
502
- 'apikey': apikey,
503
- },
504
- body: requestBody,
505
- mediaType: 'application/json',
506
- errors: {
507
- 400: `Bad Request error with error details.`,
508
- 404: `Not found error with error details.`,
509
- 500: `Internal Server Error, please contact developers.`,
510
- },
511
- });
512
- }
513
- }
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { AssignNamesReturn } from '../models/AssignNamesReturn';
6
+ import type { EmailUpdate } from '../models/EmailUpdate';
7
+ import type { GuidReturn } from '../models/GuidReturn';
8
+ import type { LinkWithSuccess } from '../models/LinkWithSuccess';
9
+ import type { NameUpdate } from '../models/NameUpdate';
10
+ import type { OrderRecalc } from '../models/OrderRecalc';
11
+ import type { PickupReturn } from '../models/PickupReturn';
12
+ import type { RecalcResponse } from '../models/RecalcResponse';
13
+ import type { Receipt } from '../models/Receipt';
14
+ import type { RefundRequest } from '../models/RefundRequest';
15
+ import type { RefundRequestInfo } from '../models/RefundRequestInfo';
16
+ import type { RegisterStreamRequest } from '../models/RegisterStreamRequest';
17
+ import type { RegisterStreamResponse } from '../models/RegisterStreamResponse';
18
+ import type { SuccessResponse } from '../models/SuccessResponse';
19
+ import type { CancelablePromise } from '../core/CancelablePromise';
20
+ import { OpenAPI } from '../core/OpenAPI';
21
+ import { request as __request } from '../core/request';
22
+ export class OrderService {
23
+ /**
24
+ * Get order receipt by guid
25
+ * Fetches the receipt for an order using its unique guid.
26
+ * @param guid Unique identifier for an order.
27
+ * @param shopperguid Unique identifier for the shopper.
28
+ * @param accountid Unique identifier for the account.
29
+ * @param apikey API key for authentication.
30
+ * @returns Receipt Returns the order receipt.
31
+ * @throws ApiError
32
+ */
33
+ public static getReceipt(
34
+ guid: string,
35
+ shopperguid: string,
36
+ accountid: string,
37
+ apikey: string,
38
+ ): CancelablePromise<Receipt> {
39
+ return __request(OpenAPI, {
40
+ method: 'GET',
41
+ url: '/order/receipt',
42
+ headers: {
43
+ 'shopperguid': shopperguid,
44
+ 'accountid': accountid,
45
+ 'apikey': apikey,
46
+ },
47
+ query: {
48
+ 'guid': guid,
49
+ },
50
+ errors: {
51
+ 400: `Bad Request error with error details.`,
52
+ 404: `Not found error with error details.`,
53
+ 500: `Internal Server Error, please contact developers.`,
54
+ },
55
+ });
56
+ }
57
+ /**
58
+ * Get Gwallet link by guid
59
+ * Fetches the Gwallet link for an order using its unique guid.
60
+ * @param guid Unique identifier for an order.
61
+ * @param shopperguid Unique identifier for the shopper.
62
+ * @param accountid Unique identifier for the account.
63
+ * @param apikey API key for authentication.
64
+ * @returns LinkWithSuccess Returns the Gwallet link.
65
+ * @throws ApiError
66
+ */
67
+ public static getGwalletLink(
68
+ guid: string,
69
+ shopperguid: string,
70
+ accountid: string,
71
+ apikey: string,
72
+ ): CancelablePromise<LinkWithSuccess> {
73
+ return __request(OpenAPI, {
74
+ method: 'GET',
75
+ url: '/order/gwallet',
76
+ headers: {
77
+ 'shopperguid': shopperguid,
78
+ 'accountid': accountid,
79
+ 'apikey': apikey,
80
+ },
81
+ query: {
82
+ 'guid': guid,
83
+ },
84
+ errors: {
85
+ 400: `Bad Request error with error details.`,
86
+ 404: `Not found error with error details.`,
87
+ 500: `Internal Server Error, please contact developers.`,
88
+ },
89
+ });
90
+ }
91
+ /**
92
+ * Get testing guid
93
+ * Fetches a testing guid for development purposes.
94
+ * @param guid Unique identifier for an order.
95
+ * @param shopperguid Unique identifier for the shopper.
96
+ * @param accountid Unique identifier for the account.
97
+ * @param apikey API key for authentication.
98
+ * @returns GuidReturn Returns a testing guid.
99
+ * @throws ApiError
100
+ */
101
+ public static getTestingGuid(
102
+ guid: string,
103
+ shopperguid: string,
104
+ accountid: string,
105
+ apikey: string,
106
+ ): CancelablePromise<GuidReturn> {
107
+ return __request(OpenAPI, {
108
+ method: 'GET',
109
+ url: '/order/testing',
110
+ headers: {
111
+ 'shopperguid': shopperguid,
112
+ 'accountid': accountid,
113
+ 'apikey': apikey,
114
+ },
115
+ query: {
116
+ 'guid': guid,
117
+ },
118
+ errors: {
119
+ 400: `Bad Request error with error details.`,
120
+ 404: `Not found error with error details.`,
121
+ 500: `Internal Server Error, please contact developers.`,
122
+ },
123
+ });
124
+ }
125
+ /**
126
+ * Get assign names by guid
127
+ * Fetches the assign names information for an order using its unique guid.
128
+ * @param guid Unique identifier for an order.
129
+ * @param shopperguid Unique identifier for the shopper.
130
+ * @param accountid Unique identifier for the account.
131
+ * @param apikey API key for authentication.
132
+ * @returns AssignNamesReturn Returns the assign names information.
133
+ * @throws ApiError
134
+ */
135
+ public static getAssignNames(
136
+ guid: string,
137
+ shopperguid: string,
138
+ accountid: string,
139
+ apikey: string,
140
+ ): CancelablePromise<AssignNamesReturn> {
141
+ return __request(OpenAPI, {
142
+ method: 'GET',
143
+ url: '/order/assign-names',
144
+ headers: {
145
+ 'shopperguid': shopperguid,
146
+ 'accountid': accountid,
147
+ 'apikey': apikey,
148
+ },
149
+ query: {
150
+ 'guid': guid,
151
+ },
152
+ errors: {
153
+ 400: `Bad Request error with error details.`,
154
+ 404: `Not found error with error details.`,
155
+ 500: `Internal Server Error, please contact developers.`,
156
+ },
157
+ });
158
+ }
159
+ /**
160
+ * Post assign names
161
+ * Assigns names to an order using its unique guid and the provided names.
162
+ * @param guid Unique identifier for an order.
163
+ * @param shopperguid Unique identifier for the shopper.
164
+ * @param accountid Unique identifier for the account.
165
+ * @param apikey API key for authentication.
166
+ * @param requestBody Names to be assigned to the order.
167
+ * @returns SuccessResponse Returns success status after assigning names.
168
+ * @throws ApiError
169
+ */
170
+ public static postAssignNames(
171
+ guid: string,
172
+ shopperguid: string,
173
+ accountid: string,
174
+ apikey: string,
175
+ requestBody: NameUpdate,
176
+ ): CancelablePromise<SuccessResponse> {
177
+ return __request(OpenAPI, {
178
+ method: 'POST',
179
+ url: '/order/assign-names',
180
+ headers: {
181
+ 'shopperguid': shopperguid,
182
+ 'accountid': accountid,
183
+ 'apikey': apikey,
184
+ },
185
+ query: {
186
+ 'guid': guid,
187
+ },
188
+ body: requestBody,
189
+ mediaType: 'application/json',
190
+ errors: {
191
+ 400: `Bad Request error with error details.`,
192
+ 404: `Not found error with error details.`,
193
+ 500: `Internal Server Error, please contact developers.`,
194
+ },
195
+ });
196
+ }
197
+ /**
198
+ * Post email tickets
199
+ * Sends email tickets for an order using its unique guid and the provided email update.
200
+ * @param guid Unique identifier for an order.
201
+ * @param shopperguid Unique identifier for the shopper.
202
+ * @param accountid Unique identifier for the account.
203
+ * @param apikey API key for authentication.
204
+ * @param requestBody Email update containing the email address to send tickets.
205
+ * @returns SuccessResponse Returns success status after sending email tickets.
206
+ * @throws ApiError
207
+ */
208
+ public static postEmailTickets(
209
+ guid: string,
210
+ shopperguid: string,
211
+ accountid: string,
212
+ apikey: string,
213
+ requestBody: EmailUpdate,
214
+ ): CancelablePromise<SuccessResponse> {
215
+ return __request(OpenAPI, {
216
+ method: 'POST',
217
+ url: '/order/email-tickets',
218
+ headers: {
219
+ 'shopperguid': shopperguid,
220
+ 'accountid': accountid,
221
+ 'apikey': apikey,
222
+ },
223
+ query: {
224
+ 'guid': guid,
225
+ },
226
+ body: requestBody,
227
+ mediaType: 'application/json',
228
+ errors: {
229
+ 400: `Bad Request error with error details.`,
230
+ 404: `Not found error with error details.`,
231
+ 500: `Internal Server Error, please contact developers.`,
232
+ },
233
+ });
234
+ }
235
+ /**
236
+ * Get ticket block by guid
237
+ * Fetches the ticket block for an order using its unique guid.
238
+ * @param guid Unique identifier for an order.
239
+ * @param shopperguid Unique identifier for the shopper.
240
+ * @param accountid Unique identifier for the account.
241
+ * @param apikey API key for authentication.
242
+ * @returns PickupReturn Returns the ticket block for the order.
243
+ * @throws ApiError
244
+ */
245
+ public static getTicketBlock(
246
+ guid: string,
247
+ shopperguid: string,
248
+ accountid: string,
249
+ apikey: string,
250
+ ): CancelablePromise<PickupReturn> {
251
+ return __request(OpenAPI, {
252
+ method: 'GET',
253
+ url: '/order/pickup',
254
+ headers: {
255
+ 'shopperguid': shopperguid,
256
+ 'accountid': accountid,
257
+ 'apikey': apikey,
258
+ },
259
+ query: {
260
+ 'guid': guid,
261
+ },
262
+ errors: {
263
+ 400: `Bad Request error with error details.`,
264
+ 404: `Not found error with error details.`,
265
+ 500: `Internal Server Error, please contact developers.`,
266
+ },
267
+ });
268
+ }
269
+ /**
270
+ * Post ticket block by guid
271
+ * Sends the ticket block for an order using its unique guid.
272
+ * @param guid Unique identifier for an order.
273
+ * @param shopperguid Unique identifier for the shopper.
274
+ * @param accountid Unique identifier for the account.
275
+ * @param apikey API key for authentication.
276
+ * @returns SuccessResponse Returns the ticket block for the order.
277
+ * @throws ApiError
278
+ */
279
+ public static postPickup(
280
+ guid: string,
281
+ shopperguid: string,
282
+ accountid: string,
283
+ apikey: string,
284
+ ): CancelablePromise<SuccessResponse> {
285
+ return __request(OpenAPI, {
286
+ method: 'POST',
287
+ url: '/order/pickup',
288
+ headers: {
289
+ 'shopperguid': shopperguid,
290
+ 'accountid': accountid,
291
+ 'apikey': apikey,
292
+ },
293
+ query: {
294
+ 'guid': guid,
295
+ },
296
+ errors: {
297
+ 400: `Bad Request error with error details.`,
298
+ 404: `Not found error with error details.`,
299
+ 500: `Internal Server Error, please contact developers.`,
300
+ },
301
+ });
302
+ }
303
+ /**
304
+ * Send order receipt via email
305
+ * Sends the order receipt to the shopper's email address for the specified order guid.
306
+ * @param guid Unique identifier for an order.
307
+ * @param shopperguid Unique identifier for the shopper.
308
+ * @param accountid Unique identifier for the account.
309
+ * @param apikey API key for authentication.
310
+ * @returns SuccessResponse Returns success status after emailing the receipt.
311
+ * @throws ApiError
312
+ */
313
+ public static postEmailReceipt(
314
+ guid: string,
315
+ shopperguid: string,
316
+ accountid: string,
317
+ apikey: string,
318
+ ): CancelablePromise<SuccessResponse> {
319
+ return __request(OpenAPI, {
320
+ method: 'POST',
321
+ url: '/order/email-receipt',
322
+ headers: {
323
+ 'shopperguid': shopperguid,
324
+ 'accountid': accountid,
325
+ 'apikey': apikey,
326
+ },
327
+ query: {
328
+ 'guid': guid,
329
+ },
330
+ errors: {
331
+ 400: `Bad Request error with error details.`,
332
+ 404: `Not found error with error details.`,
333
+ 500: `Internal Server Error, please contact developers.`,
334
+ },
335
+ });
336
+ }
337
+ /**
338
+ * Get refund request information
339
+ * Fetches the refund request information for an order using its unique guid.
340
+ * @param guid Unique identifier for an order.
341
+ * @param shopperguid Unique identifier for the shopper.
342
+ * @param accountid Unique identifier for the account.
343
+ * @param apikey API key for authentication.
344
+ * @returns RefundRequestInfo Returns the refund request information for the order.
345
+ * @throws ApiError
346
+ */
347
+ public static getRefundRequest(
348
+ guid: string,
349
+ shopperguid: string,
350
+ accountid: string,
351
+ apikey: string,
352
+ ): CancelablePromise<RefundRequestInfo> {
353
+ return __request(OpenAPI, {
354
+ method: 'GET',
355
+ url: '/order/refund-request',
356
+ headers: {
357
+ 'shopperguid': shopperguid,
358
+ 'accountid': accountid,
359
+ 'apikey': apikey,
360
+ },
361
+ query: {
362
+ 'guid': guid,
363
+ },
364
+ errors: {
365
+ 400: `Bad Request error with error details.`,
366
+ 404: `Not found error with error details.`,
367
+ 500: `Internal Server Error, please contact developers.`,
368
+ },
369
+ });
370
+ }
371
+ /**
372
+ * Submit a refund request
373
+ * Submits a refund request for an order using its unique guid and the provided refund details.
374
+ * @param guid Unique identifier for an order.
375
+ * @param shopperguid Unique identifier for the shopper.
376
+ * @param accountid Unique identifier for the account.
377
+ * @param apikey API key for authentication.
378
+ * @param requestBody Refund request details.
379
+ * @returns SuccessResponse Returns success status after submitting the refund request.
380
+ * @throws ApiError
381
+ */
382
+ public static postRefundRequest(
383
+ guid: string,
384
+ shopperguid: string,
385
+ accountid: string,
386
+ apikey: string,
387
+ requestBody: RefundRequest,
388
+ ): CancelablePromise<SuccessResponse> {
389
+ return __request(OpenAPI, {
390
+ method: 'POST',
391
+ url: '/order/refund-request',
392
+ headers: {
393
+ 'shopperguid': shopperguid,
394
+ 'accountid': accountid,
395
+ 'apikey': apikey,
396
+ },
397
+ query: {
398
+ 'guid': guid,
399
+ },
400
+ body: requestBody,
401
+ mediaType: 'application/json',
402
+ errors: {
403
+ 400: `Bad Request error with error details.`,
404
+ 404: `Not found error with error details.`,
405
+ 500: `Internal Server Error, please contact developers.`,
406
+ },
407
+ });
408
+ }
409
+ /**
410
+ * Recalculate order totals
411
+ * Recalculates the totals for an order using the provided recalculation data.
412
+ * @param guid Unique identifier for an order.
413
+ * @param shopperguid Unique identifier for the shopper.
414
+ * @param accountid Unique identifier for the account.
415
+ * @param apikey API key for authentication.
416
+ * @param requestBody Order recalculation data.
417
+ * @returns RecalcResponse Returns the recalculated order totals and success status.
418
+ * @throws ApiError
419
+ */
420
+ public static postRecalcOrder(
421
+ guid: string,
422
+ shopperguid: string,
423
+ accountid: string,
424
+ apikey: string,
425
+ requestBody: OrderRecalc,
426
+ ): CancelablePromise<RecalcResponse> {
427
+ return __request(OpenAPI, {
428
+ method: 'POST',
429
+ url: '/order/recalc',
430
+ headers: {
431
+ 'shopperguid': shopperguid,
432
+ 'accountid': accountid,
433
+ 'apikey': apikey,
434
+ },
435
+ query: {
436
+ 'guid': guid,
437
+ },
438
+ body: requestBody,
439
+ mediaType: 'application/json',
440
+ errors: {
441
+ 400: `Bad Request error with error details.`,
442
+ 404: `Not found error with error details.`,
443
+ 500: `Internal Server Error, please contact developers.`,
444
+ },
445
+ });
446
+ }
447
+ /**
448
+ * Register a stream for a shopper
449
+ * Registers a stream for the specified shopper and account using the provided stream registration details.
450
+ * @param shopperguid Unique identifier for the shopper.
451
+ * @param accountid Unique identifier for the account.
452
+ * @param apikey API key for authentication.
453
+ * @param requestBody Stream registration details.
454
+ * @returns RegisterStreamResponse Returns the stream registration response.
455
+ * @throws ApiError
456
+ */
457
+ public static postRegisterStream(
458
+ shopperguid: string,
459
+ accountid: string,
460
+ apikey: string,
461
+ requestBody: RegisterStreamRequest,
462
+ ): CancelablePromise<RegisterStreamResponse> {
463
+ return __request(OpenAPI, {
464
+ method: 'POST',
465
+ url: '/order/stream-register',
466
+ headers: {
467
+ 'shopperguid': shopperguid,
468
+ 'accountid': accountid,
469
+ 'apikey': apikey,
470
+ },
471
+ body: requestBody,
472
+ mediaType: 'application/json',
473
+ errors: {
474
+ 400: `Bad Request error with error details.`,
475
+ 404: `Not found error with error details.`,
476
+ 500: `Internal Server Error, please contact developers.`,
477
+ },
478
+ });
479
+ }
480
+ /**
481
+ * Deregister a stream for a shopper
482
+ * Removes the stream registration for the specified shopper and account using the provided stream registration details.
483
+ * @param shopperguid Unique identifier for the shopper.
484
+ * @param accountid Unique identifier for the account.
485
+ * @param apikey API key for authentication.
486
+ * @param requestBody Stream registration details to be deregistered.
487
+ * @returns SuccessResponse Returns success status after deregistering the stream.
488
+ * @throws ApiError
489
+ */
490
+ public static deleteRegisteredStream(
491
+ shopperguid: string,
492
+ accountid: string,
493
+ apikey: string,
494
+ requestBody: RegisterStreamRequest,
495
+ ): CancelablePromise<SuccessResponse> {
496
+ return __request(OpenAPI, {
497
+ method: 'DELETE',
498
+ url: '/order/stream-register',
499
+ headers: {
500
+ 'shopperguid': shopperguid,
501
+ 'accountid': accountid,
502
+ 'apikey': apikey,
503
+ },
504
+ body: requestBody,
505
+ mediaType: 'application/json',
506
+ errors: {
507
+ 400: `Bad Request error with error details.`,
508
+ 404: `Not found error with error details.`,
509
+ 500: `Internal Server Error, please contact developers.`,
510
+ },
511
+ });
512
+ }
513
+ }