@drttix/drt-sdk 0.8.2 → 0.8.3

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