@drttix/drt-sdk 0.9.6 → 0.9.8
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.
- package/README.md +59 -59
- package/azure-pipelines.yml +80 -80
- package/demo/README.md +28 -28
- package/demo/default.html +35 -35
- package/demo/test.html +2306 -870
- package/demo/with-base.html +39 -39
- package/dist/bundle/drt-sdk.js +1 -0
- package/dist/cjs/src/generated/portal/models/StudentCreditBuyerResponseDto.d.ts +12 -0
- package/dist/cjs/src/generated/portal/models/StudentCreditBuyerResponseDto.js +2 -0
- package/dist/cjs/src/generated/shopper/services/AccountService.d.ts +4 -16
- package/dist/cjs/src/generated/shopper/services/AccountService.js +4 -36
- package/dist/cjs/src/generated/shopper/services/CartService.d.ts +2 -8
- package/dist/cjs/src/generated/shopper/services/CartService.js +2 -18
- package/dist/cjs/src/generated/shopper/services/CheckoutService.d.ts +5 -20
- package/dist/cjs/src/generated/shopper/services/CheckoutService.js +5 -45
- package/dist/cjs/src/generated/shopper/services/CodeService.d.ts +5 -20
- package/dist/cjs/src/generated/shopper/services/CodeService.js +5 -45
- package/dist/cjs/src/generated/shopper/services/DonationService.d.ts +2 -8
- package/dist/cjs/src/generated/shopper/services/DonationService.js +2 -16
- package/dist/cjs/src/generated/shopper/services/EventService.d.ts +4 -16
- package/dist/cjs/src/generated/shopper/services/EventService.js +4 -36
- package/dist/cjs/src/generated/shopper/services/GiftCardService.d.ts +5 -20
- package/dist/cjs/src/generated/shopper/services/GiftCardService.js +5 -45
- package/dist/cjs/src/generated/shopper/services/OrderService.d.ts +14 -56
- package/dist/cjs/src/generated/shopper/services/OrderService.js +14 -126
- package/dist/cjs/src/generated/shopper/services/PaymentService.d.ts +3 -12
- package/dist/cjs/src/generated/shopper/services/PaymentService.js +3 -27
- package/dist/cjs/src/generated/shopper/services/ProductService.d.ts +3 -12
- package/dist/cjs/src/generated/shopper/services/ProductService.js +3 -27
- package/dist/cjs/src/generated/shopper/services/SeatService.d.ts +6 -24
- package/dist/cjs/src/generated/shopper/services/SeatService.js +6 -54
- package/dist/cjs/src/generated/shopper/services/SessionService.d.ts +2 -8
- package/dist/cjs/src/generated/shopper/services/SessionService.js +2 -18
- package/dist/cjs/src/scripts/build-all.js +39 -0
- package/dist/esm/src/generated/portal/models/StudentCreditBuyerResponseDto.d.ts +12 -0
- package/dist/esm/src/generated/portal/models/StudentCreditBuyerResponseDto.js +1 -0
- package/dist/esm/src/generated/shopper/services/AccountService.d.ts +4 -16
- package/dist/esm/src/generated/shopper/services/AccountService.js +4 -36
- package/dist/esm/src/generated/shopper/services/CartService.d.ts +2 -8
- package/dist/esm/src/generated/shopper/services/CartService.js +2 -18
- package/dist/esm/src/generated/shopper/services/CheckoutService.d.ts +5 -20
- package/dist/esm/src/generated/shopper/services/CheckoutService.js +5 -45
- package/dist/esm/src/generated/shopper/services/CodeService.d.ts +5 -20
- package/dist/esm/src/generated/shopper/services/CodeService.js +5 -45
- package/dist/esm/src/generated/shopper/services/DonationService.d.ts +2 -8
- package/dist/esm/src/generated/shopper/services/DonationService.js +2 -16
- package/dist/esm/src/generated/shopper/services/EventService.d.ts +4 -16
- package/dist/esm/src/generated/shopper/services/EventService.js +4 -36
- package/dist/esm/src/generated/shopper/services/GiftCardService.d.ts +5 -20
- package/dist/esm/src/generated/shopper/services/GiftCardService.js +5 -45
- package/dist/esm/src/generated/shopper/services/OrderService.d.ts +14 -56
- package/dist/esm/src/generated/shopper/services/OrderService.js +14 -126
- package/dist/esm/src/generated/shopper/services/PaymentService.d.ts +3 -12
- package/dist/esm/src/generated/shopper/services/PaymentService.js +3 -27
- package/dist/esm/src/generated/shopper/services/ProductService.d.ts +3 -12
- package/dist/esm/src/generated/shopper/services/ProductService.js +3 -27
- package/dist/esm/src/generated/shopper/services/SeatService.d.ts +6 -24
- package/dist/esm/src/generated/shopper/services/SeatService.js +6 -54
- package/dist/esm/src/generated/shopper/services/SessionService.d.ts +2 -8
- package/dist/esm/src/generated/shopper/services/SessionService.js +2 -18
- package/dist/esm/src/scripts/build-all.js +39 -0
- package/drt-api-specs.json +14 -14
- package/package.json +40 -40
- package/public/sdk/latest/drt-sdk.js +1 -1
- package/scripts/fix-import-extensions.mjs +88 -88
- package/src/custom/custom-request.txt +387 -387
- package/src/functions/sdkConfig.ts +132 -132
- package/src/functions/setBaseURL.ts +47 -47
- package/src/generated/portal/core/ApiError.ts +1 -1
- package/src/generated/portal/core/ApiRequestOptions.ts +1 -1
- package/src/generated/portal/core/ApiResult.ts +1 -1
- package/src/generated/portal/core/CancelablePromise.ts +1 -1
- package/src/generated/portal/core/OpenAPI.ts +1 -1
- package/src/generated/portal/core/request.ts +387 -387
- package/src/generated/portal/models/AbandonedCartResponseDto.ts +13 -13
- package/src/generated/portal/models/AccountDetailResponseDto.ts +10 -10
- package/src/generated/portal/models/AddSessionSeatRequestDto.ts +9 -9
- package/src/generated/portal/models/AdminUserLevelResponseDto.ts +9 -9
- package/src/generated/portal/models/AdminUserResponseDto.ts +13 -13
- package/src/generated/portal/models/AdvancedPricing.ts +14 -14
- package/src/generated/portal/models/AlbumImageResponseDto.ts +9 -9
- package/src/generated/portal/models/AnswerOrder.ts +10 -10
- package/src/generated/portal/models/ApproveOrderRequestDto.ts +9 -9
- package/src/generated/portal/models/ApproveRefundRequestDto.ts +10 -10
- package/src/generated/portal/models/ApproveShowRequestDto.ts +8 -8
- package/src/generated/portal/models/AssignSeatsRequestDto.ts +13 -13
- package/src/generated/portal/models/AssignWaitlistRequestDto.ts +11 -11
- package/src/generated/portal/models/AutoDiscounts.ts +8 -8
- package/src/generated/portal/models/AvaliableSeats.ts +12 -12
- package/src/generated/portal/models/BankDetails.ts +24 -24
- package/src/generated/portal/models/BlockChartSeatRequestDto.ts +12 -12
- package/src/generated/portal/models/BlockGeneralSeatResponseDto.ts +11 -11
- package/src/generated/portal/models/BlockGeneralSeatsRequestDto.ts +9 -9
- package/src/generated/portal/models/BlockSeatsRequestDto.ts +8 -8
- package/src/generated/portal/models/BlockedSeatDetailResponseDto.ts +15 -15
- package/src/generated/portal/models/BookmarkResponseDto.ts +12 -12
- package/src/generated/portal/models/BugReportRequestDto.ts +9 -9
- package/src/generated/portal/models/BulkCreateGiftCardRequestDto.ts +20 -20
- package/src/generated/portal/models/BulkEditRequestDto.ts +18 -18
- package/src/generated/portal/models/BuyerResponseDto.ts +17 -17
- package/src/generated/portal/models/CancelExchangeTicketRequestDto.ts +9 -9
- package/src/generated/portal/models/CartCountResponseDto.ts +8 -8
- package/src/generated/portal/models/CartToggleTickerResponseDto.ts +8 -8
- package/src/generated/portal/models/ChangePasswordRequestDto.ts +10 -10
- package/src/generated/portal/models/ChartReviewRequestDto.ts +9 -9
- package/src/generated/portal/models/ChartReviewValidationResponseDto.ts +9 -9
- package/src/generated/portal/models/CheckBookmarkResponseDto.ts +10 -10
- package/src/generated/portal/models/CheckSelectedSeatResponseDto.ts +10 -10
- package/src/generated/portal/models/CheckoutAnswerOrderRequestDto.ts +9 -9
- package/src/generated/portal/models/CheckoutAnswerOrderResponseDto.ts +19 -19
- package/src/generated/portal/models/CheckoutAnswerQuestionResponseDto.ts +11 -11
- package/src/generated/portal/models/CheckoutQuestionResponseDto.ts +29 -29
- package/src/generated/portal/models/CheckoutResponseShowResponseDto.ts +10 -10
- package/src/generated/portal/models/CodeDetailResponseDto.ts +29 -29
- package/src/generated/portal/models/CodeDetailsResponseDto.ts +11 -11
- package/src/generated/portal/models/CodeShopperDetail.ts +10 -10
- package/src/generated/portal/models/CodeUsageDetail.ts +16 -16
- package/src/generated/portal/models/CodeUsageResponseDto.ts +12 -12
- package/src/generated/portal/models/CollectionDetailsRequestDto.ts +8 -8
- package/src/generated/portal/models/CollectionDetailsResponseDto.ts +14 -14
- package/src/generated/portal/models/CouponCodeResponseDto.ts +14 -14
- package/src/generated/portal/models/CouponDataResponseDto.ts +17 -17
- package/src/generated/portal/models/CouponDetailResponseDto.ts +35 -35
- package/src/generated/portal/models/CouponFilterResponseDto.ts +11 -11
- package/src/generated/portal/models/CouponType.ts +10 -10
- package/src/generated/portal/models/CreateAccountRequestDto.ts +11 -11
- package/src/generated/portal/models/CreateAccountResponseDto.ts +8 -8
- package/src/generated/portal/models/CreatePatronCodeRequestDto.ts +9 -9
- package/src/generated/portal/models/CreatePatronTagsRequestDto.ts +9 -9
- package/src/generated/portal/models/CreatePerformersRequestDto.ts +10 -10
- package/src/generated/portal/models/CreatePriorityCodeRequestDto.ts +26 -26
- package/src/generated/portal/models/CreateProductResponseDto.ts +8 -8
- package/src/generated/portal/models/CreateProductVariantRequestDto.ts +9 -9
- package/src/generated/portal/models/CreateUpdateAdminUserRequestDto.ts +12 -12
- package/src/generated/portal/models/CreateUpdateAlbumRequestDto.ts +8 -8
- package/src/generated/portal/models/CreateUpdateFundRequestDto.ts +24 -24
- package/src/generated/portal/models/CreateUpdateGiftCardRequestDto.ts +15 -15
- package/src/generated/portal/models/CreateUpdateGoldenTicketRequestDto.ts +12 -12
- package/src/generated/portal/models/CreateUpdateProductRequestDto.ts +35 -35
- package/src/generated/portal/models/CreateUpdateQuestionRequestDto.ts +23 -23
- package/src/generated/portal/models/CreateUpdateWaitlistRequestDto.ts +15 -15
- package/src/generated/portal/models/CreateYoutubeVideoRequestDto.ts +11 -11
- package/src/generated/portal/models/CustomLogicResponseDto.ts +9 -9
- package/src/generated/portal/models/DashboardResponseDto.ts +11 -11
- package/src/generated/portal/models/DeleteAbandonedCartsRequestDto.ts +11 -11
- package/src/generated/portal/models/DeleteAlbumImageRequestDto.ts +8 -8
- package/src/generated/portal/models/DeleteCodesRequestDto.ts +9 -9
- package/src/generated/portal/models/DeleteCouponCodeRequestDto.ts +8 -8
- package/src/generated/portal/models/DeleteMailRequestDto.ts +8 -8
- package/src/generated/portal/models/DeletePatronCodeRequestDto.ts +8 -8
- package/src/generated/portal/models/DeletePriorityCodeRequestDto.ts +8 -8
- package/src/generated/portal/models/DeleteProductVariantRequestDto.ts +9 -9
- package/src/generated/portal/models/DigitalAssetLogResponseDto.ts +10 -10
- package/src/generated/portal/models/DigitalAssetsListResponseDto.ts +16 -16
- package/src/generated/portal/models/DiscountAccessRequestDto.ts +33 -33
- package/src/generated/portal/models/DisputeResponseDTO.ts +21 -21
- package/src/generated/portal/models/DonationFundsResponseDto.ts +9 -9
- package/src/generated/portal/models/DonationReportResponseDto.ts +18 -18
- package/src/generated/portal/models/DonationRequestDto.ts +9 -9
- package/src/generated/portal/models/DonationResponseDto.ts +14 -14
- package/src/generated/portal/models/DownloadLog.ts +10 -10
- package/src/generated/portal/models/DuplicateFundRequestDto.ts +8 -8
- package/src/generated/portal/models/DuplicateProductRequestDto.ts +8 -8
- package/src/generated/portal/models/EditMailRequestDto.ts +10 -10
- package/src/generated/portal/models/EditShowRequestDto.ts +23 -23
- package/src/generated/portal/models/EmailBuyersListResponseDto.ts +11 -11
- package/src/generated/portal/models/EmailBuyersRequestDto.ts +13 -13
- package/src/generated/portal/models/EmailDetailResponseDto.ts +9 -9
- package/src/generated/portal/models/ExchangeShowDetailResponseDto.ts +30 -30
- package/src/generated/portal/models/ExchangeTierDetailResponseDto.ts +14 -14
- package/src/generated/portal/models/ExecuteReleaseSeatRequestDto.ts +16 -16
- package/src/generated/portal/models/ExecuteSeatExchangeRequestDto.ts +11 -11
- package/src/generated/portal/models/ExpireHiddenCodesRequestDto.ts +8 -8
- package/src/generated/portal/models/FilterShowsResponseDto.ts +14 -14
- package/src/generated/portal/models/ForgotPasswordRequestDto.ts +9 -9
- package/src/generated/portal/models/FundListResponseDto.ts +13 -13
- package/src/generated/portal/models/FundResponseDto.ts +34 -34
- package/src/generated/portal/models/FutureMailResponseDto.ts +13 -13
- package/src/generated/portal/models/GatewayStatus.ts +16 -16
- package/src/generated/portal/models/GenerateCodeRequestDto.ts +23 -23
- package/src/generated/portal/models/GenerateGroupCodeRequestDto.ts +12 -12
- package/src/generated/portal/models/GetSettingsResponseDto.ts +14 -14
- package/src/generated/portal/models/GiftCardResponseDto.ts +19 -19
- package/src/generated/portal/models/GiftCardTransactionsResponseDto.ts +13 -13
- package/src/generated/portal/models/GoldenTicketDetailResponseDto.ts +10 -10
- package/src/generated/portal/models/GoldenTicketShowsResponseDto.ts +10 -10
- package/src/generated/portal/models/GroupCodeResponseDto.ts +17 -17
- package/src/generated/portal/models/HashLoginResponseDto.ts +20 -20
- package/src/generated/portal/models/HashTicketingLinkResponseDto.ts +15 -15
- package/src/generated/portal/models/HiddenCodeResponseDto.ts +8 -8
- package/src/generated/portal/models/HoldChartSeatResponseDto.ts +14 -14
- package/src/generated/portal/models/HoldSeatDetailsResponseDto.ts +7 -7
- package/src/generated/portal/models/IconShowGroupResponseDto.ts +11 -11
- package/src/generated/portal/models/InterviewDetailResponseDto.ts +12 -12
- package/src/generated/portal/models/InterviewResponseDto.ts +16 -16
- package/src/generated/portal/models/LandingPageAlbumResponseDto.ts +12 -12
- package/src/generated/portal/models/LandingPageResponseDto.ts +28 -28
- package/src/generated/portal/models/LoginRequestDto.ts +9 -9
- package/src/generated/portal/models/MailDetailResponseDto.ts +12 -12
- package/src/generated/portal/models/MailResponseDto.ts +11 -11
- package/src/generated/portal/models/ManagedShowResponseDto.ts +13 -13
- package/src/generated/portal/models/MappedPortalObjectPermission.ts +13 -13
- package/src/generated/portal/models/MappedPortalObjectSimple.ts +10 -10
- package/src/generated/portal/models/MessageSettingResponseDto.ts +10 -10
- package/src/generated/portal/models/MigrateTicketDetails.ts +13 -13
- package/src/generated/portal/models/MigrateTicketRequestDto.ts +10 -10
- package/src/generated/portal/models/MigrationPossibleShow.ts +13 -13
- package/src/generated/portal/models/ModifyTicketRequestDto.ts +11 -11
- package/src/generated/portal/models/NotificationDto.ts +10 -10
- package/src/generated/portal/models/NotificationResponseDto.ts +13 -13
- package/src/generated/portal/models/NotificationSettingRequestDto.ts +9 -9
- package/src/generated/portal/models/NotificationSettingsResponseDto.ts +13 -13
- package/src/generated/portal/models/OTPResponseDto.ts +9 -9
- package/src/generated/portal/models/OrderActionsResponseDto.ts +13 -13
- package/src/generated/portal/models/OrderDetails.ts +13 -13
- package/src/generated/portal/models/OrderEmailBuyersRequestDto.ts +16 -16
- package/src/generated/portal/models/OrderFiltersResponseDto.ts +10 -10
- package/src/generated/portal/models/OrderLedgerDetailsResponseDto.ts +20 -20
- package/src/generated/portal/models/OrderListRequestDto.ts +10 -10
- package/src/generated/portal/models/OrderListResponseDto.ts +24 -24
- package/src/generated/portal/models/OrderRecalculateRequestDto.ts +15 -15
- package/src/generated/portal/models/OrderSeatDetailsResponseDto.ts +15 -15
- package/src/generated/portal/models/OrderTicketDetailResponseDto.ts +21 -21
- package/src/generated/portal/models/OtherResponseDto.ts +14 -14
- package/src/generated/portal/models/PartialShowDetail.ts +12 -12
- package/src/generated/portal/models/PartialTicketResponseDto.ts +20 -20
- package/src/generated/portal/models/PatronAccessRequestDto.ts +26 -26
- package/src/generated/portal/models/PatronCodeSendMailRequestDto.ts +14 -14
- package/src/generated/portal/models/PatronCodesResponseDto.ts +18 -18
- package/src/generated/portal/models/PatronManifestDetailResponseDto.ts +28 -28
- package/src/generated/portal/models/PatronShowGroupResponseDto.ts +21 -21
- package/src/generated/portal/models/PatronStatsResponseDto.ts +21 -21
- package/src/generated/portal/models/PaymentGatewayResponseDto.ts +17 -17
- package/src/generated/portal/models/PerformerCreditOrderRequestDto.ts +9 -9
- package/src/generated/portal/models/Performers.ts +9 -9
- package/src/generated/portal/models/PerformersListRequestDto.ts +9 -9
- package/src/generated/portal/models/PerformersListResponseDto.ts +11 -11
- package/src/generated/portal/models/PolicyDetailResponseDto.ts +15 -15
- package/src/generated/portal/models/PolicyDto.ts +9 -9
- package/src/generated/portal/models/PolicyRequestDto.ts +9 -9
- package/src/generated/portal/models/PolicyResponseDto.ts +12 -12
- package/src/generated/portal/models/PortalObjectRequestDto.ts +13 -13
- package/src/generated/portal/models/PosSettingsRequestDto.ts +13 -13
- package/src/generated/portal/models/PosSettingsResponseDto.ts +13 -13
- package/src/generated/portal/models/PriorityCode.ts +10 -10
- package/src/generated/portal/models/PriorityCodeResponseDto.ts +13 -13
- package/src/generated/portal/models/PriorityWaveDetail.ts +12 -12
- package/src/generated/portal/models/ProductDetailResponseDto.ts +35 -35
- package/src/generated/portal/models/ProductIconResponseDto.ts +11 -11
- package/src/generated/portal/models/ProductListResponseDto.ts +17 -17
- package/src/generated/portal/models/ProductRecipientResponseDto.ts +11 -11
- package/src/generated/portal/models/ProductResponseDto.ts +14 -14
- package/src/generated/portal/models/ProductSalesRequestDto.ts +11 -11
- package/src/generated/portal/models/ProductSalesResponseDto.ts +11 -11
- package/src/generated/portal/models/ProductSendMailRequestDto.ts +18 -18
- package/src/generated/portal/models/ProductVariantResponseDto.ts +18 -18
- package/src/generated/portal/models/QuestionDetailsResponseDto.ts +16 -16
- package/src/generated/portal/models/QuestionResponseDto.ts +9 -9
- package/src/generated/portal/models/QuestionShowGroupAndProductResponse.ts +9 -9
- package/src/generated/portal/models/QuestionShowResponse.ts +13 -13
- package/src/generated/portal/models/QuestionTypeResponse.ts +10 -10
- package/src/generated/portal/models/RecalculateOrderResponseDto.ts +35 -35
- package/src/generated/portal/models/RefundDetailResponseDto.ts +33 -33
- package/src/generated/portal/models/RefundOrderDetail.ts +17 -17
- package/src/generated/portal/models/RefundResponseDto.ts +24 -24
- package/src/generated/portal/models/RefundSetting.ts +9 -9
- package/src/generated/portal/models/RefundSettingsResponseDto.ts +7 -7
- package/src/generated/portal/models/ReleaseSeatDetailResponseDto.ts +29 -29
- package/src/generated/portal/models/RemoveReservationCodeRequestDto.ts +10 -10
- package/src/generated/portal/models/RemoveSeatsRequestDto.ts +11 -11
- package/src/generated/portal/models/ReorderBookmarkRequestDto.ts +11 -11
- package/src/generated/portal/models/ReorderImageRequestDto.ts +8 -8
- package/src/generated/portal/models/ReportProductSalesResponseDto.ts +30 -30
- package/src/generated/portal/models/ResendMailRequestDto.ts +9 -9
- package/src/generated/portal/models/ReservationCodeResponseDto.ts +20 -20
- package/src/generated/portal/models/ReservationDetailResponseDto.ts +18 -18
- package/src/generated/portal/models/ResetTaxPaymentRequestDto.ts +9 -9
- package/src/generated/portal/models/RevenueByShowRequestDto.ts +10 -10
- package/src/generated/portal/models/RevenueShowCalculationsResponseDto.ts +19 -19
- package/src/generated/portal/models/SaleDetail.ts +14 -14
- package/src/generated/portal/models/SalesByTierReponseDto.ts +17 -17
- package/src/generated/portal/models/SalesProductResponseDto.ts +11 -11
- package/src/generated/portal/models/SaveAdministrativeNoteRequestDto.ts +9 -9
- package/src/generated/portal/models/ScannedTicketOrderResponseDto.ts +22 -22
- package/src/generated/portal/models/ScannedTicketResponseDto.ts +10 -10
- package/src/generated/portal/models/SearchCodeResponseDto.ts +9 -9
- package/src/generated/portal/models/SearchFeatureResponseDto.ts +18 -18
- package/src/generated/portal/models/SearchOrderResponseDto.ts +15 -15
- package/src/generated/portal/models/SearchResponseDto.ts +15 -15
- package/src/generated/portal/models/SeatDetails.ts +22 -22
- package/src/generated/portal/models/SeatDetailsResponseDto.ts +10 -10
- package/src/generated/portal/models/SeatResponseDto.ts +17 -17
- package/src/generated/portal/models/SectionDetail.ts +10 -10
- package/src/generated/portal/models/SectionRule.ts +12 -12
- package/src/generated/portal/models/SelectedSeatExchangeResponseDto.ts +11 -11
- package/src/generated/portal/models/SendBlockedSeatsMailRequestDto.ts +12 -12
- package/src/generated/portal/models/SendMailRequestDto.ts +10 -10
- package/src/generated/portal/models/SendReservationCodeMailRequestDto.ts +12 -12
- package/src/generated/portal/models/SentMailResponseDto.ts +14 -14
- package/src/generated/portal/models/SettingsAndWavesResponseDto.ts +13 -13
- package/src/generated/portal/models/SettingsDetailsResponseDto.ts +57 -57
- package/src/generated/portal/models/Show.ts +11 -11
- package/src/generated/portal/models/ShowAndGroupResponseDto.ts +14 -14
- package/src/generated/portal/models/ShowBlockedSeatResponseDto.ts +26 -26
- package/src/generated/portal/models/ShowChartPreviewResponseDto.ts +10 -10
- package/src/generated/portal/models/ShowDetailDto.ts +71 -71
- package/src/generated/portal/models/ShowDetails.ts +12 -12
- package/src/generated/portal/models/ShowDetailsResponseDto.ts +16 -16
- package/src/generated/portal/models/ShowGroupResponseDto.ts +9 -9
- package/src/generated/portal/models/ShowGroups.ts +9 -9
- package/src/generated/portal/models/ShowListResponseDto.ts +15 -15
- package/src/generated/portal/models/ShowOrders.ts +11 -11
- package/src/generated/portal/models/ShowPricing.ts +17 -17
- package/src/generated/portal/models/ShowPricingDetail.ts +11 -11
- package/src/generated/portal/models/ShowReportListResponseDto.ts +14 -14
- package/src/generated/portal/models/ShowSeatDetailResponseDto.ts +11 -11
- package/src/generated/portal/models/ShowSeatPair.ts +9 -9
- package/src/generated/portal/models/ShowSeatTierPair.ts +10 -10
- package/src/generated/portal/models/ShowSectionDetail.ts +14 -14
- package/src/generated/portal/models/ShowSnapshotResponseDto.ts +22 -22
- package/src/generated/portal/models/ShowStatDetail.ts +34 -34
- package/src/generated/portal/models/ShowTicketSectionListResponseDto.ts +11 -11
- package/src/generated/portal/models/ShowTierRequestDto.ts +8 -8
- package/src/generated/portal/models/ShowTierResponseDto.ts +30 -30
- package/src/generated/portal/models/ShowTiers.ts +32 -32
- package/src/generated/portal/models/ShowTypeResponseDto.ts +10 -10
- package/src/generated/portal/models/ShowTypes.ts +10 -10
- package/src/generated/portal/models/Shows.ts +13 -13
- package/src/generated/portal/models/ShowsList.ts +32 -32
- package/src/generated/portal/models/ShowsResponseDto.ts +17 -17
- package/src/generated/portal/models/SingleFundDetailResponseDto.ts +11 -11
- package/src/generated/portal/models/SingleOrderDetailResponseDto.ts +21 -21
- package/src/generated/portal/models/SinglePatronCodeResponseDto.ts +23 -23
- package/src/generated/portal/models/SinglePerformerRequestDto.ts +9 -9
- package/src/generated/portal/models/SoldTicketsResponseDto.ts +32 -32
- package/src/generated/portal/models/StartImageUploadRequestDto.ts +8 -8
- package/src/generated/portal/models/StartImageUploadResponseDto.ts +9 -9
- package/src/generated/portal/models/StopShowRequestDto.ts +11 -11
- package/src/generated/portal/models/StringValidation.ts +13 -13
- package/src/generated/portal/models/StripeResponseDto.ts +13 -13
- package/src/generated/portal/models/StripeSettingsResponseDto.ts +13 -13
- package/src/generated/portal/models/StudentCreditOrdersResponseDto.ts +13 -13
- package/src/generated/portal/models/StudentCreditResponseDto.ts +10 -10
- package/src/generated/portal/models/StudioIntegratorDetailResponseDto.ts +11 -11
- package/src/generated/portal/models/SuccessResponse.ts +8 -8
- package/src/generated/portal/models/TaxAndBankDetailsResponseDto.ts +11 -11
- package/src/generated/portal/models/TaxByMonthRequestDto.ts +9 -9
- package/src/generated/portal/models/TaxByMonthResponseDto.ts +19 -19
- package/src/generated/portal/models/TaxDocuments.ts +9 -9
- package/src/generated/portal/models/TaxResponseDto.ts +14 -14
- package/src/generated/portal/models/TemplateResponseDto.ts +9 -9
- package/src/generated/portal/models/TheatreList.ts +8 -8
- package/src/generated/portal/models/ThemeBannerImageResponseDto.ts +11 -11
- package/src/generated/portal/models/ThemeCategoryResponseDto.ts +10 -10
- package/src/generated/portal/models/ThemeDesignResponseDto.ts +37 -37
- package/src/generated/portal/models/ThemeDetailResponseDto.ts +10 -10
- package/src/generated/portal/models/ThemeLinkResponseDto.ts +11 -11
- package/src/generated/portal/models/ThemeResponseDto.ts +11 -11
- package/src/generated/portal/models/TicketDetail.ts +24 -24
- package/src/generated/portal/models/TicketDetails.ts +18 -18
- package/src/generated/portal/models/TicketRequestDto.ts +9 -9
- package/src/generated/portal/models/TicketResponseDto.ts +19 -19
- package/src/generated/portal/models/TicketScanningShowResponseDto.ts +18 -18
- package/src/generated/portal/models/TicketSeatDetailResponseDto.ts +27 -27
- package/src/generated/portal/models/TicketingShowResponseDto.ts +13 -13
- package/src/generated/portal/models/TierDetail.ts +14 -14
- package/src/generated/portal/models/TierRequestDto.ts +10 -10
- package/src/generated/portal/models/TieredPrice.ts +17 -17
- package/src/generated/portal/models/TimeZoneResponse.ts +9 -9
- package/src/generated/portal/models/ToggleModifyTierRequestDto.ts +10 -10
- package/src/generated/portal/models/ToggleModifyTierResponseDto.ts +10 -10
- package/src/generated/portal/models/ToggleTierRequestDto.ts +9 -9
- package/src/generated/portal/models/ToggleTierResponseDto.ts +12 -12
- package/src/generated/portal/models/TransactionDetail.ts +14 -14
- package/src/generated/portal/models/UnApprovedOrderSeatDetailResponseDto.ts +12 -12
- package/src/generated/portal/models/UnAvailableSeating.ts +14 -14
- package/src/generated/portal/models/UnapprovedOrderDetailResponseDto.ts +10 -10
- package/src/generated/portal/models/UnapprovedOrderResponseDto.ts +17 -17
- package/src/generated/portal/models/UnblockSeatsRequestDto.ts +9 -9
- package/src/generated/portal/models/UnsoldTicketsResponseDto.ts +21 -21
- package/src/generated/portal/models/UpdateBankingRequestDto.ts +21 -21
- package/src/generated/portal/models/UpdateDiscountCodeRequestDto.ts +21 -21
- package/src/generated/portal/models/UpdateEmailRequestDto.ts +8 -8
- package/src/generated/portal/models/UpdateImageUploadRequestDto.ts +10 -10
- package/src/generated/portal/models/UpdateLandingPageConfigSettingRequestDto.ts +23 -23
- package/src/generated/portal/models/UpdateLandingPageRequestDto.ts +13 -13
- package/src/generated/portal/models/UpdateMessageRequestDto.ts +10 -10
- package/src/generated/portal/models/UpdatePatronCodeRequestDto.ts +15 -15
- package/src/generated/portal/models/UpdatePatronSettingsRequestDto.ts +11 -11
- package/src/generated/portal/models/UpdatePatronTagsRequestDto.ts +10 -10
- package/src/generated/portal/models/UpdatePriorityCodeRequestDto.ts +19 -19
- package/src/generated/portal/models/UpdateProductVariantRequestDto.ts +15 -15
- package/src/generated/portal/models/UpdateSearchLogRequestDto.ts +9 -9
- package/src/generated/portal/models/UpdateStudioSettingsRequestDto.ts +16 -16
- package/src/generated/portal/models/UpdateTaxRequestDto.ts +12 -12
- package/src/generated/portal/models/UpdateThemeDesignRequestDto.ts +32 -32
- package/src/generated/portal/models/ValidateEmailRequestDto.ts +8 -8
- package/src/generated/portal/models/ValidateEmailResponseDto.ts +9 -9
- package/src/generated/portal/models/VerifyOtpRequestDto.ts +9 -9
- package/src/generated/portal/models/VideoStreamResponseDto.ts +19 -19
- package/src/generated/portal/models/VirtualStreamResponseDto.ts +15 -15
- package/src/generated/portal/models/WaitlistDetailResponseDto.ts +18 -18
- package/src/generated/portal/models/WaitlistShowFilterResponseDto.ts +9 -9
- package/src/generated/portal/models/WaitlistShowResponseDto.ts +22 -22
- package/src/generated/portal/models/WavesResponseDto.ts +9 -9
- package/src/generated/portal/models/WeeklyResponseDto.ts +15 -15
- package/src/generated/portal/models/createServiceAgreementRequestDto.ts +9 -9
- package/src/generated/portal/models/seatShowIdPair.ts +9 -9
- package/src/generated/portal/models/tierIdQuantityPair.ts +9 -9
- package/src/generated/portal/services/AccountService.ts +140 -140
- package/src/generated/portal/services/AccountingService.ts +493 -493
- package/src/generated/portal/services/AppService.ts +33 -33
- package/src/generated/portal/services/AuthService.ts +183 -183
- package/src/generated/portal/services/BookmarkService.ts +127 -127
- package/src/generated/portal/services/ClientToolsGeneratedEmailsService.ts +109 -109
- package/src/generated/portal/services/ClientToolsParentLetterService.ts +28 -28
- package/src/generated/portal/services/ClientToolsPatronDatabaseService.ts +441 -441
- package/src/generated/portal/services/ClientToolsSeatAssignmentToolService.ts +28 -28
- package/src/generated/portal/services/ClientToolsStripeOnboardingService.ts +28 -28
- package/src/generated/portal/services/ClientToolsThemeBuilderService.ts +149 -149
- package/src/generated/portal/services/ClientToolsThemesLibraryService.ts +63 -63
- package/src/generated/portal/services/ClientToolsTicketScanningService.ts +71 -71
- package/src/generated/portal/services/ClientToolsTicketingLinkService.ts +58 -58
- package/src/generated/portal/services/ClientToolsUnapprovedOrdersService.ts +81 -81
- package/src/generated/portal/services/ClientToolsWaitlistService.ts +204 -204
- package/src/generated/portal/services/DashboardService.ts +71 -71
- package/src/generated/portal/services/FeaturesBlockedSeatsService.ts +548 -548
- package/src/generated/portal/services/FeaturesCheckoutQuestionsService.ts +144 -144
- package/src/generated/portal/services/FeaturesDiscountsService.ts +319 -319
- package/src/generated/portal/services/FeaturesDonationsService.ts +247 -247
- package/src/generated/portal/services/FeaturesGiftCardsService.ts +177 -177
- package/src/generated/portal/services/FeaturesGoldenTicketsService.ts +208 -208
- package/src/generated/portal/services/FeaturesLandingPageService.ts +299 -299
- package/src/generated/portal/services/FeaturesPriorityService.ts +255 -255
- package/src/generated/portal/services/FeaturesProductsService.ts +441 -441
- package/src/generated/portal/services/OrderLookupService.ts +615 -615
- package/src/generated/portal/services/ReportsService.ts +488 -488
- package/src/generated/portal/services/SettingsService.ts +377 -377
- package/src/generated/portal/services/ShowsService.ts +658 -658
- package/src/generated/portal/services/SuperUserAbandonedCartsService.ts +52 -52
- package/src/generated/scanner/core/ApiError.ts +1 -1
- package/src/generated/scanner/core/ApiRequestOptions.ts +1 -1
- package/src/generated/scanner/core/ApiResult.ts +1 -1
- package/src/generated/scanner/core/CancelablePromise.ts +1 -1
- package/src/generated/scanner/core/OpenAPI.ts +1 -1
- package/src/generated/scanner/core/request.ts +387 -387
- package/src/generated/scanner/models/DatabaseUpload.ts +10 -10
- package/src/generated/scanner/models/DatabaseUploadData.ts +10 -10
- package/src/generated/scanner/models/DisplayMessage.ts +10 -10
- package/src/generated/scanner/models/EventResponse.ts +16 -16
- package/src/generated/scanner/models/EventResponseStats.ts +11 -11
- package/src/generated/scanner/models/EventSkin.ts +23 -23
- package/src/generated/scanner/models/MobileReceiptResponse.ts +21 -21
- package/src/generated/scanner/models/OrderDetails.ts +15 -15
- package/src/generated/scanner/models/OrderProduct.ts +15 -15
- package/src/generated/scanner/models/OrderSeat.ts +19 -19
- package/src/generated/scanner/models/OrderSummary.ts +11 -11
- package/src/generated/scanner/models/Product.ts +15 -15
- package/src/generated/scanner/models/ProductQR.ts +8 -8
- package/src/generated/scanner/models/ProductScan.ts +16 -16
- package/src/generated/scanner/models/QueryDatabaseUnionResult.ts +13 -13
- package/src/generated/scanner/models/ReceiptBuyerDetails.ts +11 -11
- package/src/generated/scanner/models/ReceiptEventDetails.ts +12 -12
- package/src/generated/scanner/models/ReceiptProductDetails.ts +19 -19
- package/src/generated/scanner/models/ReceiptResponse.ts +21 -21
- package/src/generated/scanner/models/ReceiptSeatDetails.ts +15 -15
- package/src/generated/scanner/models/ResultMessage.ts +9 -9
- package/src/generated/scanner/models/RowResult.ts +8 -8
- package/src/generated/scanner/models/SeatQR.ts +8 -8
- package/src/generated/scanner/models/SeatResponse.ts +12 -12
- package/src/generated/scanner/models/SeatResult.ts +8 -8
- package/src/generated/scanner/models/SectionResult.ts +8 -8
- package/src/generated/scanner/models/TicketDatabase.ts +19 -19
- package/src/generated/scanner/models/TicketScan.ts +24 -24
- package/src/generated/scanner/models/TicketScanStats.ts +10 -10
- package/src/generated/scanner/models/TicketSeats.ts +14 -14
- package/src/generated/scanner/models/UploadDatabaseResponse.ts +10 -10
- package/src/generated/scanner/services/DatabaseService.ts +110 -110
- package/src/generated/scanner/services/OrdersService.ts +114 -114
- package/src/generated/scanner/services/ScanningService.ts +331 -331
- package/src/generated/shopper/core/ApiError.ts +1 -1
- package/src/generated/shopper/core/ApiRequestOptions.ts +1 -1
- package/src/generated/shopper/core/ApiResult.ts +1 -1
- package/src/generated/shopper/core/CancelablePromise.ts +1 -1
- package/src/generated/shopper/core/OpenAPI.ts +1 -1
- package/src/generated/shopper/core/request.ts +387 -387
- package/src/generated/shopper/models/Account.ts +57 -57
- package/src/generated/shopper/models/Album.ts +13 -13
- package/src/generated/shopper/models/AlbumImage.ts +13 -13
- package/src/generated/shopper/models/AlbumWithImages.ts +11 -11
- package/src/generated/shopper/models/AssignNamesReturn.ts +9 -9
- package/src/generated/shopper/models/BAHold.ts +10 -10
- package/src/generated/shopper/models/BlockOfTickets.ts +18 -18
- package/src/generated/shopper/models/Cart.ts +13 -13
- package/src/generated/shopper/models/CartCounts.ts +11 -11
- package/src/generated/shopper/models/CartWithTime.ts +10 -10
- package/src/generated/shopper/models/Chart.ts +13 -13
- package/src/generated/shopper/models/CheckoutDonation.ts +9 -9
- package/src/generated/shopper/models/CheckoutFailResponse.ts +10 -10
- package/src/generated/shopper/models/CheckoutGiftCard.ts +9 -9
- package/src/generated/shopper/models/CheckoutPageData.ts +23 -23
- package/src/generated/shopper/models/CheckoutProduct.ts +14 -14
- package/src/generated/shopper/models/CheckoutQuestion.ts +20 -20
- package/src/generated/shopper/models/CheckoutSessionData.ts +35 -35
- package/src/generated/shopper/models/CheckoutSubmitBody.ts +35 -35
- package/src/generated/shopper/models/CheckoutSuccessResponse.ts +8 -8
- package/src/generated/shopper/models/CodeDto.ts +11 -11
- package/src/generated/shopper/models/CompleteBody.ts +9 -9
- package/src/generated/shopper/models/CreateCustomerResponse.ts +9 -9
- package/src/generated/shopper/models/CreateSessionDto.ts +15 -15
- package/src/generated/shopper/models/DigitalAsset.ts +21 -21
- package/src/generated/shopper/models/DonationContribution.ts +10 -10
- package/src/generated/shopper/models/DonationFund.ts +34 -34
- package/src/generated/shopper/models/DonationInCart.ts +19 -19
- package/src/generated/shopper/models/DonationResult.ts +23 -23
- package/src/generated/shopper/models/DonationText.ts +9 -9
- package/src/generated/shopper/models/DonationsandContributions.ts +17 -17
- package/src/generated/shopper/models/EmailUpdate.ts +12 -12
- package/src/generated/shopper/models/EngineSeat.ts +7 -7
- package/src/generated/shopper/models/EventDetails.ts +51 -51
- package/src/generated/shopper/models/EventGroup.ts +16 -16
- package/src/generated/shopper/models/ExistingRefundDetails.ts +9 -9
- package/src/generated/shopper/models/FullEventDetails.ts +17 -17
- package/src/generated/shopper/models/GAHold.ts +11 -11
- package/src/generated/shopper/models/GAResponse.ts +19 -19
- package/src/generated/shopper/models/GASeatRelease.ts +10 -10
- package/src/generated/shopper/models/GetEventsResponse.ts +11 -11
- package/src/generated/shopper/models/GiftCardApplyDto.ts +23 -23
- package/src/generated/shopper/models/GiftCardApplyResponse.ts +35 -35
- package/src/generated/shopper/models/GiftCardCheckoutInfo.ts +35 -35
- package/src/generated/shopper/models/GiftCardEditFormResponse.ts +15 -15
- package/src/generated/shopper/models/GiftCardLookupResponse.ts +23 -23
- package/src/generated/shopper/models/GiftCardRemoveResponse.ts +19 -19
- package/src/generated/shopper/models/GuidReturn.ts +8 -8
- package/src/generated/shopper/models/HasAccessResponse.ts +8 -8
- package/src/generated/shopper/models/LandingConfig.ts +27 -27
- package/src/generated/shopper/models/LandingPageResponse.ts +17 -17
- package/src/generated/shopper/models/LinkWithSuccess.ts +9 -9
- package/src/generated/shopper/models/NameUpdate.ts +9 -9
- package/src/generated/shopper/models/OrderDetails.ts +42 -42
- package/src/generated/shopper/models/OrderRecalc.ts +11 -11
- package/src/generated/shopper/models/OrderRefundDetails.ts +10 -10
- package/src/generated/shopper/models/OrderSeat.ts +30 -30
- package/src/generated/shopper/models/OrderStream.ts +16 -16
- package/src/generated/shopper/models/OrderTicketReceipt.ts +30 -30
- package/src/generated/shopper/models/PatronName.ts +10 -10
- package/src/generated/shopper/models/PaymentDetail.ts +40 -40
- package/src/generated/shopper/models/PaymentFail.ts +23 -23
- package/src/generated/shopper/models/PaymentSuccess.ts +23 -23
- package/src/generated/shopper/models/PerformerEventList.ts +9 -9
- package/src/generated/shopper/models/PickupReturn.ts +11 -11
- package/src/generated/shopper/models/PriorityCode.ts +10 -10
- package/src/generated/shopper/models/Product.ts +28 -28
- package/src/generated/shopper/models/ProductAddResponse.ts +12 -12
- package/src/generated/shopper/models/ProductBody.ts +12 -12
- package/src/generated/shopper/models/ProductData.ts +11 -11
- package/src/generated/shopper/models/ProductDeleteBody.ts +11 -11
- package/src/generated/shopper/models/ProductDetails.ts +16 -16
- package/src/generated/shopper/models/ProductInCart.ts +17 -17
- package/src/generated/shopper/models/ProductUpdateResponse.ts +10 -10
- package/src/generated/shopper/models/ProductVariant.ts +18 -18
- package/src/generated/shopper/models/RecalcResponse.ts +10 -10
- package/src/generated/shopper/models/RecalcReturn.ts +31 -31
- package/src/generated/shopper/models/Receipt.ts +38 -38
- package/src/generated/shopper/models/ReceiptMessages.ts +8 -8
- package/src/generated/shopper/models/ReceiptQuestions.ts +12 -12
- package/src/generated/shopper/models/Refund.ts +12 -12
- package/src/generated/shopper/models/RefundPolicy.ts +8 -8
- package/src/generated/shopper/models/RefundReason.ts +12 -12
- package/src/generated/shopper/models/RefundRequest.ts +13 -13
- package/src/generated/shopper/models/RefundRequestInfo.ts +15 -15
- package/src/generated/shopper/models/RegisterStreamRequest.ts +9 -9
- package/src/generated/shopper/models/RegisterStreamResponse.ts +10 -10
- package/src/generated/shopper/models/RootConfigResponse.ts +22 -22
- package/src/generated/shopper/models/SaveDetailsBody.ts +26 -26
- package/src/generated/shopper/models/SaveNonceBody.ts +15 -15
- package/src/generated/shopper/models/SeatData.ts +9 -9
- package/src/generated/shopper/models/SeatHoldReturn.ts +11 -11
- package/src/generated/shopper/models/SeatInCart.ts +26 -26
- package/src/generated/shopper/models/SeatingTier.ts +27 -27
- package/src/generated/shopper/models/Section.ts +20 -20
- package/src/generated/shopper/models/SectionRule.ts +15 -15
- package/src/generated/shopper/models/SessionHeartbeatDto.ts +9 -9
- package/src/generated/shopper/models/SessionInfoDto.ts +20 -20
- package/src/generated/shopper/models/SiteDisposition.ts +10 -10
- package/src/generated/shopper/models/SiteTheme.ts +40 -40
- package/src/generated/shopper/models/StudioOrderSettings.ts +14 -14
- package/src/generated/shopper/models/StudioSettings.ts +12 -12
- package/src/generated/shopper/models/SuccessResponse.ts +8 -8
- package/src/generated/shopper/models/SuccessWithTime.ts +15 -15
- package/src/generated/shopper/models/SummaryBody.ts +8 -8
- package/src/generated/shopper/models/TheatreAddresses.ts +15 -15
- package/src/generated/shopper/models/Ticket.ts +9 -9
- package/src/generated/shopper/models/TicketBlock.ts +18 -18
- package/src/generated/shopper/models/TicketInstructions.ts +8 -8
- package/src/generated/shopper/models/UniversalCodeResponse.ts +27 -27
- package/src/generated/shopper/models/UpdateTierData.ts +10 -10
- package/src/generated/shopper/models/UpdateTierFail.ts +10 -10
- package/src/generated/shopper/models/WaitlistResponse.ts +9 -9
- package/src/generated/shopper/models/WaitlistUpdate.ts +14 -14
- package/src/generated/shopper/services/AccountService.ts +85 -129
- package/src/generated/shopper/services/CartService.ts +46 -68
- package/src/generated/shopper/services/CheckoutService.ts +116 -171
- package/src/generated/shopper/services/CodeService.ts +125 -180
- package/src/generated/shopper/services/DonationService.ts +57 -77
- package/src/generated/shopper/services/EventService.ts +100 -144
- package/src/generated/shopper/services/GiftCardService.ts +117 -172
- package/src/generated/shopper/services/OrderService.ts +359 -513
- package/src/generated/shopper/services/PaymentService.ts +76 -109
- package/src/generated/shopper/services/ProductService.ts +76 -109
- package/src/generated/shopper/services/SeatService.ts +165 -231
- package/src/generated/shopper/services/SessionService.ts +70 -92
- package/src/scripts/build-all.ts +181 -129
- package/src/scripts/check-version-not-published.ts +28 -28
- package/src/scripts/generate-definition.ts +89 -89
- package/src/staging/index.ts +39 -39
- package/src/staging/portal.ts +73 -73
- package/src/staging/wrapService.ts +51 -51
- package/staging.ts +2 -2
- package/test.ts +31 -31
- package/tsconfig.cjs.json +11 -11
- package/tsconfig.esm.json +11 -11
- package/tsconfig.json +16 -16
|
@@ -11,52 +11,37 @@ export declare class GiftCardService {
|
|
|
11
11
|
* Retrieves gift card balance and availability information for the specified code and PIN.
|
|
12
12
|
* @param code Gift card code
|
|
13
13
|
* @param pin Gift card PIN
|
|
14
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
15
|
-
* @param accountid Unique identifier for the account.
|
|
16
|
-
* @param apikey API key for authentication.
|
|
17
14
|
* @returns GiftCardLookupResponse Returns gift card balance and availability information.
|
|
18
15
|
* @throws ApiError
|
|
19
16
|
*/
|
|
20
|
-
static lookupGiftCard(code: string, pin: string
|
|
17
|
+
static lookupGiftCard(code: string, pin: string): CancelablePromise<GiftCardLookupResponse>;
|
|
21
18
|
/**
|
|
22
19
|
* Apply a gift card to the current session
|
|
23
20
|
* Applies a gift card to the current shopper session. Removes any previously applied gift card.
|
|
24
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
25
|
-
* @param accountid Unique identifier for the account.
|
|
26
|
-
* @param apikey API key for authentication.
|
|
27
21
|
* @param requestBody Gift card details to apply
|
|
28
22
|
* @returns GiftCardApplyResponse Gift card applied successfully.
|
|
29
23
|
* @throws ApiError
|
|
30
24
|
*/
|
|
31
|
-
static applyGiftCard(
|
|
25
|
+
static applyGiftCard(requestBody: GiftCardApplyDto): CancelablePromise<GiftCardApplyResponse>;
|
|
32
26
|
/**
|
|
33
27
|
* Remove the gift card from the current session
|
|
34
28
|
* Removes all gift cards from the current shopper session and recalculates payment totals.
|
|
35
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
36
|
-
* @param accountid Unique identifier for the account.
|
|
37
|
-
* @param apikey API key for authentication.
|
|
38
29
|
* @returns GiftCardRemoveResponse Gift card removed successfully.
|
|
39
30
|
* @throws ApiError
|
|
40
31
|
*/
|
|
41
|
-
static removeGiftCard(
|
|
32
|
+
static removeGiftCard(): CancelablePromise<GiftCardRemoveResponse>;
|
|
42
33
|
/**
|
|
43
34
|
* Get gift card checkout information
|
|
44
35
|
* Retrieves gift card information for the checkout page, including applied gift card details and remaining balance.
|
|
45
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
46
|
-
* @param accountid Unique identifier for the account.
|
|
47
|
-
* @param apikey API key for authentication.
|
|
48
36
|
* @returns GiftCardCheckoutInfo Returns gift card checkout information.
|
|
49
37
|
* @throws ApiError
|
|
50
38
|
*/
|
|
51
|
-
static getGiftCardCheckoutInfo(
|
|
39
|
+
static getGiftCardCheckoutInfo(): CancelablePromise<GiftCardCheckoutInfo>;
|
|
52
40
|
/**
|
|
53
41
|
* Get gift card edit form data
|
|
54
42
|
* Retrieves the currently applied gift card information for editing purposes.
|
|
55
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
56
|
-
* @param accountid Unique identifier for the account.
|
|
57
|
-
* @param apikey API key for authentication.
|
|
58
43
|
* @returns GiftCardEditFormResponse Returns the applied gift card code and amount.
|
|
59
44
|
* @throws ApiError
|
|
60
45
|
*/
|
|
61
|
-
static getGiftCardEditForm(
|
|
46
|
+
static getGiftCardEditForm(): CancelablePromise<GiftCardEditFormResponse>;
|
|
62
47
|
}
|
|
@@ -6,21 +6,13 @@ export class GiftCardService {
|
|
|
6
6
|
* Retrieves gift card balance and availability information for the specified code and PIN.
|
|
7
7
|
* @param code Gift card code
|
|
8
8
|
* @param pin Gift card PIN
|
|
9
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
10
|
-
* @param accountid Unique identifier for the account.
|
|
11
|
-
* @param apikey API key for authentication.
|
|
12
9
|
* @returns GiftCardLookupResponse Returns gift card balance and availability information.
|
|
13
10
|
* @throws ApiError
|
|
14
11
|
*/
|
|
15
|
-
static lookupGiftCard(code, pin
|
|
12
|
+
static lookupGiftCard(code, pin) {
|
|
16
13
|
return __request(OpenAPI, {
|
|
17
14
|
method: 'GET',
|
|
18
15
|
url: '/gift-card',
|
|
19
|
-
headers: {
|
|
20
|
-
'shopperguid': shopperguid,
|
|
21
|
-
'accountid': accountid,
|
|
22
|
-
'apikey': apikey,
|
|
23
|
-
},
|
|
24
16
|
query: {
|
|
25
17
|
'code': code,
|
|
26
18
|
'pin': pin,
|
|
@@ -35,22 +27,14 @@ export class GiftCardService {
|
|
|
35
27
|
/**
|
|
36
28
|
* Apply a gift card to the current session
|
|
37
29
|
* Applies a gift card to the current shopper session. Removes any previously applied gift card.
|
|
38
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
39
|
-
* @param accountid Unique identifier for the account.
|
|
40
|
-
* @param apikey API key for authentication.
|
|
41
30
|
* @param requestBody Gift card details to apply
|
|
42
31
|
* @returns GiftCardApplyResponse Gift card applied successfully.
|
|
43
32
|
* @throws ApiError
|
|
44
33
|
*/
|
|
45
|
-
static applyGiftCard(
|
|
34
|
+
static applyGiftCard(requestBody) {
|
|
46
35
|
return __request(OpenAPI, {
|
|
47
36
|
method: 'POST',
|
|
48
37
|
url: '/gift-card',
|
|
49
|
-
headers: {
|
|
50
|
-
'shopperguid': shopperguid,
|
|
51
|
-
'accountid': accountid,
|
|
52
|
-
'apikey': apikey,
|
|
53
|
-
},
|
|
54
38
|
body: requestBody,
|
|
55
39
|
mediaType: 'application/json',
|
|
56
40
|
errors: {
|
|
@@ -63,21 +47,13 @@ export class GiftCardService {
|
|
|
63
47
|
/**
|
|
64
48
|
* Remove the gift card from the current session
|
|
65
49
|
* Removes all gift cards from the current shopper session and recalculates payment totals.
|
|
66
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
67
|
-
* @param accountid Unique identifier for the account.
|
|
68
|
-
* @param apikey API key for authentication.
|
|
69
50
|
* @returns GiftCardRemoveResponse Gift card removed successfully.
|
|
70
51
|
* @throws ApiError
|
|
71
52
|
*/
|
|
72
|
-
static removeGiftCard(
|
|
53
|
+
static removeGiftCard() {
|
|
73
54
|
return __request(OpenAPI, {
|
|
74
55
|
method: 'DELETE',
|
|
75
56
|
url: '/gift-card',
|
|
76
|
-
headers: {
|
|
77
|
-
'shopperguid': shopperguid,
|
|
78
|
-
'accountid': accountid,
|
|
79
|
-
'apikey': apikey,
|
|
80
|
-
},
|
|
81
57
|
errors: {
|
|
82
58
|
400: `Bad Request error with error details.`,
|
|
83
59
|
404: `Not found error with error details.`,
|
|
@@ -88,21 +64,13 @@ export class GiftCardService {
|
|
|
88
64
|
/**
|
|
89
65
|
* Get gift card checkout information
|
|
90
66
|
* Retrieves gift card information for the checkout page, including applied gift card details and remaining balance.
|
|
91
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
92
|
-
* @param accountid Unique identifier for the account.
|
|
93
|
-
* @param apikey API key for authentication.
|
|
94
67
|
* @returns GiftCardCheckoutInfo Returns gift card checkout information.
|
|
95
68
|
* @throws ApiError
|
|
96
69
|
*/
|
|
97
|
-
static getGiftCardCheckoutInfo(
|
|
70
|
+
static getGiftCardCheckoutInfo() {
|
|
98
71
|
return __request(OpenAPI, {
|
|
99
72
|
method: 'GET',
|
|
100
73
|
url: '/gift-card/checkout',
|
|
101
|
-
headers: {
|
|
102
|
-
'shopperguid': shopperguid,
|
|
103
|
-
'accountid': accountid,
|
|
104
|
-
'apikey': apikey,
|
|
105
|
-
},
|
|
106
74
|
errors: {
|
|
107
75
|
400: `Bad Request error with error details.`,
|
|
108
76
|
404: `Not found error with error details.`,
|
|
@@ -113,21 +81,13 @@ export class GiftCardService {
|
|
|
113
81
|
/**
|
|
114
82
|
* Get gift card edit form data
|
|
115
83
|
* Retrieves the currently applied gift card information for editing purposes.
|
|
116
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
117
|
-
* @param accountid Unique identifier for the account.
|
|
118
|
-
* @param apikey API key for authentication.
|
|
119
84
|
* @returns GiftCardEditFormResponse Returns the applied gift card code and amount.
|
|
120
85
|
* @throws ApiError
|
|
121
86
|
*/
|
|
122
|
-
static getGiftCardEditForm(
|
|
87
|
+
static getGiftCardEditForm() {
|
|
123
88
|
return __request(OpenAPI, {
|
|
124
89
|
method: 'GET',
|
|
125
90
|
url: '/gift-card/edit',
|
|
126
|
-
headers: {
|
|
127
|
-
'shopperguid': shopperguid,
|
|
128
|
-
'accountid': accountid,
|
|
129
|
-
'apikey': apikey,
|
|
130
|
-
},
|
|
131
91
|
errors: {
|
|
132
92
|
400: `Bad Request error with error details.`,
|
|
133
93
|
404: `Not found error with error details.`,
|
|
@@ -18,158 +18,116 @@ export declare class OrderService {
|
|
|
18
18
|
* Get order receipt by guid
|
|
19
19
|
* Fetches the receipt for an order using its unique guid.
|
|
20
20
|
* @param guid Unique identifier for an order.
|
|
21
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
22
|
-
* @param accountid Unique identifier for the account.
|
|
23
|
-
* @param apikey API key for authentication.
|
|
24
21
|
* @returns Receipt Returns the order receipt.
|
|
25
22
|
* @throws ApiError
|
|
26
23
|
*/
|
|
27
|
-
static getReceipt(guid: string
|
|
24
|
+
static getReceipt(guid: string): CancelablePromise<Receipt>;
|
|
28
25
|
/**
|
|
29
26
|
* Get Gwallet link by guid
|
|
30
27
|
* Fetches the Gwallet link for an order using its unique guid.
|
|
31
28
|
* @param guid Unique identifier for an order.
|
|
32
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
33
|
-
* @param accountid Unique identifier for the account.
|
|
34
|
-
* @param apikey API key for authentication.
|
|
35
29
|
* @returns LinkWithSuccess Returns the Gwallet link.
|
|
36
30
|
* @throws ApiError
|
|
37
31
|
*/
|
|
38
|
-
static getGwalletLink(guid: string
|
|
32
|
+
static getGwalletLink(guid: string): CancelablePromise<LinkWithSuccess>;
|
|
39
33
|
/**
|
|
40
34
|
* Get testing guid
|
|
41
35
|
* Fetches a testing guid for development purposes.
|
|
42
36
|
* @param guid Unique identifier for an order.
|
|
43
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
44
|
-
* @param accountid Unique identifier for the account.
|
|
45
|
-
* @param apikey API key for authentication.
|
|
46
37
|
* @returns GuidReturn Returns a testing guid.
|
|
47
38
|
* @throws ApiError
|
|
48
39
|
*/
|
|
49
|
-
static getTestingGuid(guid: string
|
|
40
|
+
static getTestingGuid(guid: string): CancelablePromise<GuidReturn>;
|
|
50
41
|
/**
|
|
51
42
|
* Get assign names by guid
|
|
52
43
|
* Fetches the assign names information for an order using its unique guid.
|
|
53
44
|
* @param guid Unique identifier for an order.
|
|
54
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
55
|
-
* @param accountid Unique identifier for the account.
|
|
56
|
-
* @param apikey API key for authentication.
|
|
57
45
|
* @returns AssignNamesReturn Returns the assign names information.
|
|
58
46
|
* @throws ApiError
|
|
59
47
|
*/
|
|
60
|
-
static getAssignNames(guid: string
|
|
48
|
+
static getAssignNames(guid: string): CancelablePromise<AssignNamesReturn>;
|
|
61
49
|
/**
|
|
62
50
|
* Post assign names
|
|
63
51
|
* Assigns names to an order using its unique guid and the provided names.
|
|
64
52
|
* @param guid Unique identifier for an order.
|
|
65
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
66
|
-
* @param accountid Unique identifier for the account.
|
|
67
|
-
* @param apikey API key for authentication.
|
|
68
53
|
* @param requestBody Names to be assigned to the order.
|
|
69
54
|
* @returns SuccessResponse Returns success status after assigning names.
|
|
70
55
|
* @throws ApiError
|
|
71
56
|
*/
|
|
72
|
-
static postAssignNames(guid: string,
|
|
57
|
+
static postAssignNames(guid: string, requestBody: NameUpdate): CancelablePromise<SuccessResponse>;
|
|
73
58
|
/**
|
|
74
59
|
* Post email tickets
|
|
75
60
|
* Sends email tickets for an order using its unique guid and the provided email update.
|
|
76
61
|
* @param guid Unique identifier for an order.
|
|
77
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
78
|
-
* @param accountid Unique identifier for the account.
|
|
79
|
-
* @param apikey API key for authentication.
|
|
80
62
|
* @param requestBody Email update containing the email address to send tickets.
|
|
81
63
|
* @returns SuccessResponse Returns success status after sending email tickets.
|
|
82
64
|
* @throws ApiError
|
|
83
65
|
*/
|
|
84
|
-
static postEmailTickets(guid: string,
|
|
66
|
+
static postEmailTickets(guid: string, requestBody: EmailUpdate): CancelablePromise<SuccessResponse>;
|
|
85
67
|
/**
|
|
86
68
|
* Get ticket block by guid
|
|
87
69
|
* Fetches the ticket block for an order using its unique guid.
|
|
88
70
|
* @param guid Unique identifier for an order.
|
|
89
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
90
|
-
* @param accountid Unique identifier for the account.
|
|
91
|
-
* @param apikey API key for authentication.
|
|
92
71
|
* @returns PickupReturn Returns the ticket block for the order.
|
|
93
72
|
* @throws ApiError
|
|
94
73
|
*/
|
|
95
|
-
static getTicketBlock(guid: string
|
|
74
|
+
static getTicketBlock(guid: string): CancelablePromise<PickupReturn>;
|
|
96
75
|
/**
|
|
97
76
|
* Post ticket block by guid
|
|
98
77
|
* Sends the ticket block for an order using its unique guid.
|
|
99
78
|
* @param guid Unique identifier for an order.
|
|
100
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
101
|
-
* @param accountid Unique identifier for the account.
|
|
102
|
-
* @param apikey API key for authentication.
|
|
103
79
|
* @returns SuccessResponse Returns the ticket block for the order.
|
|
104
80
|
* @throws ApiError
|
|
105
81
|
*/
|
|
106
|
-
static postPickup(guid: string
|
|
82
|
+
static postPickup(guid: string): CancelablePromise<SuccessResponse>;
|
|
107
83
|
/**
|
|
108
84
|
* Send order receipt via email
|
|
109
85
|
* Sends the order receipt to the shopper's email address for the specified order guid.
|
|
110
86
|
* @param guid Unique identifier for an order.
|
|
111
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
112
|
-
* @param accountid Unique identifier for the account.
|
|
113
|
-
* @param apikey API key for authentication.
|
|
114
87
|
* @returns SuccessResponse Returns success status after emailing the receipt.
|
|
115
88
|
* @throws ApiError
|
|
116
89
|
*/
|
|
117
|
-
static postEmailReceipt(guid: string
|
|
90
|
+
static postEmailReceipt(guid: string): CancelablePromise<SuccessResponse>;
|
|
118
91
|
/**
|
|
119
92
|
* Get refund request information
|
|
120
93
|
* Fetches the refund request information for an order using its unique guid.
|
|
121
94
|
* @param guid Unique identifier for an order.
|
|
122
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
123
|
-
* @param accountid Unique identifier for the account.
|
|
124
|
-
* @param apikey API key for authentication.
|
|
125
95
|
* @returns RefundRequestInfo Returns the refund request information for the order.
|
|
126
96
|
* @throws ApiError
|
|
127
97
|
*/
|
|
128
|
-
static getRefundRequest(guid: string
|
|
98
|
+
static getRefundRequest(guid: string): CancelablePromise<RefundRequestInfo>;
|
|
129
99
|
/**
|
|
130
100
|
* Submit a refund request
|
|
131
101
|
* Submits a refund request for an order using its unique guid and the provided refund details.
|
|
132
102
|
* @param guid Unique identifier for an order.
|
|
133
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
134
|
-
* @param accountid Unique identifier for the account.
|
|
135
|
-
* @param apikey API key for authentication.
|
|
136
103
|
* @param requestBody Refund request details.
|
|
137
104
|
* @returns SuccessResponse Returns success status after submitting the refund request.
|
|
138
105
|
* @throws ApiError
|
|
139
106
|
*/
|
|
140
|
-
static postRefundRequest(guid: string,
|
|
107
|
+
static postRefundRequest(guid: string, requestBody: RefundRequest): CancelablePromise<SuccessResponse>;
|
|
141
108
|
/**
|
|
142
109
|
* Recalculate order totals
|
|
143
110
|
* Recalculates the totals for an order using the provided recalculation data.
|
|
144
111
|
* @param guid Unique identifier for an order.
|
|
145
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
146
|
-
* @param accountid Unique identifier for the account.
|
|
147
|
-
* @param apikey API key for authentication.
|
|
148
112
|
* @param requestBody Order recalculation data.
|
|
149
113
|
* @returns RecalcResponse Returns the recalculated order totals and success status.
|
|
150
114
|
* @throws ApiError
|
|
151
115
|
*/
|
|
152
|
-
static postRecalcOrder(guid: string,
|
|
116
|
+
static postRecalcOrder(guid: string, requestBody: OrderRecalc): CancelablePromise<RecalcResponse>;
|
|
153
117
|
/**
|
|
154
118
|
* Register a stream for a shopper
|
|
155
119
|
* Registers a stream for the specified shopper and account using the provided stream registration details.
|
|
156
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
157
|
-
* @param accountid Unique identifier for the account.
|
|
158
|
-
* @param apikey API key for authentication.
|
|
159
120
|
* @param requestBody Stream registration details.
|
|
160
121
|
* @returns RegisterStreamResponse Returns the stream registration response.
|
|
161
122
|
* @throws ApiError
|
|
162
123
|
*/
|
|
163
|
-
static postRegisterStream(
|
|
124
|
+
static postRegisterStream(requestBody: RegisterStreamRequest): CancelablePromise<RegisterStreamResponse>;
|
|
164
125
|
/**
|
|
165
126
|
* Deregister a stream for a shopper
|
|
166
127
|
* Removes the stream registration for the specified shopper and account using the provided stream registration details.
|
|
167
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
168
|
-
* @param accountid Unique identifier for the account.
|
|
169
|
-
* @param apikey API key for authentication.
|
|
170
128
|
* @param requestBody Stream registration details to be deregistered.
|
|
171
129
|
* @returns SuccessResponse Returns success status after deregistering the stream.
|
|
172
130
|
* @throws ApiError
|
|
173
131
|
*/
|
|
174
|
-
static deleteRegisteredStream(
|
|
132
|
+
static deleteRegisteredStream(requestBody: RegisterStreamRequest): CancelablePromise<SuccessResponse>;
|
|
175
133
|
}
|
|
@@ -5,21 +5,13 @@ export class OrderService {
|
|
|
5
5
|
* Get order receipt by guid
|
|
6
6
|
* Fetches the receipt for an order using its unique guid.
|
|
7
7
|
* @param guid Unique identifier for an order.
|
|
8
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
9
|
-
* @param accountid Unique identifier for the account.
|
|
10
|
-
* @param apikey API key for authentication.
|
|
11
8
|
* @returns Receipt Returns the order receipt.
|
|
12
9
|
* @throws ApiError
|
|
13
10
|
*/
|
|
14
|
-
static getReceipt(guid
|
|
11
|
+
static getReceipt(guid) {
|
|
15
12
|
return __request(OpenAPI, {
|
|
16
13
|
method: 'GET',
|
|
17
14
|
url: '/order/receipt',
|
|
18
|
-
headers: {
|
|
19
|
-
'shopperguid': shopperguid,
|
|
20
|
-
'accountid': accountid,
|
|
21
|
-
'apikey': apikey,
|
|
22
|
-
},
|
|
23
15
|
query: {
|
|
24
16
|
'guid': guid,
|
|
25
17
|
},
|
|
@@ -34,21 +26,13 @@ export class OrderService {
|
|
|
34
26
|
* Get Gwallet link by guid
|
|
35
27
|
* Fetches the Gwallet link for an order using its unique guid.
|
|
36
28
|
* @param guid Unique identifier for an order.
|
|
37
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
38
|
-
* @param accountid Unique identifier for the account.
|
|
39
|
-
* @param apikey API key for authentication.
|
|
40
29
|
* @returns LinkWithSuccess Returns the Gwallet link.
|
|
41
30
|
* @throws ApiError
|
|
42
31
|
*/
|
|
43
|
-
static getGwalletLink(guid
|
|
32
|
+
static getGwalletLink(guid) {
|
|
44
33
|
return __request(OpenAPI, {
|
|
45
34
|
method: 'GET',
|
|
46
35
|
url: '/order/gwallet',
|
|
47
|
-
headers: {
|
|
48
|
-
'shopperguid': shopperguid,
|
|
49
|
-
'accountid': accountid,
|
|
50
|
-
'apikey': apikey,
|
|
51
|
-
},
|
|
52
36
|
query: {
|
|
53
37
|
'guid': guid,
|
|
54
38
|
},
|
|
@@ -63,21 +47,13 @@ export class OrderService {
|
|
|
63
47
|
* Get testing guid
|
|
64
48
|
* Fetches a testing guid for development purposes.
|
|
65
49
|
* @param guid Unique identifier for an order.
|
|
66
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
67
|
-
* @param accountid Unique identifier for the account.
|
|
68
|
-
* @param apikey API key for authentication.
|
|
69
50
|
* @returns GuidReturn Returns a testing guid.
|
|
70
51
|
* @throws ApiError
|
|
71
52
|
*/
|
|
72
|
-
static getTestingGuid(guid
|
|
53
|
+
static getTestingGuid(guid) {
|
|
73
54
|
return __request(OpenAPI, {
|
|
74
55
|
method: 'GET',
|
|
75
56
|
url: '/order/testing',
|
|
76
|
-
headers: {
|
|
77
|
-
'shopperguid': shopperguid,
|
|
78
|
-
'accountid': accountid,
|
|
79
|
-
'apikey': apikey,
|
|
80
|
-
},
|
|
81
57
|
query: {
|
|
82
58
|
'guid': guid,
|
|
83
59
|
},
|
|
@@ -92,21 +68,13 @@ export class OrderService {
|
|
|
92
68
|
* Get assign names by guid
|
|
93
69
|
* Fetches the assign names information for an order using its unique guid.
|
|
94
70
|
* @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
71
|
* @returns AssignNamesReturn Returns the assign names information.
|
|
99
72
|
* @throws ApiError
|
|
100
73
|
*/
|
|
101
|
-
static getAssignNames(guid
|
|
74
|
+
static getAssignNames(guid) {
|
|
102
75
|
return __request(OpenAPI, {
|
|
103
76
|
method: 'GET',
|
|
104
77
|
url: '/order/assign-names',
|
|
105
|
-
headers: {
|
|
106
|
-
'shopperguid': shopperguid,
|
|
107
|
-
'accountid': accountid,
|
|
108
|
-
'apikey': apikey,
|
|
109
|
-
},
|
|
110
78
|
query: {
|
|
111
79
|
'guid': guid,
|
|
112
80
|
},
|
|
@@ -121,22 +89,14 @@ export class OrderService {
|
|
|
121
89
|
* Post assign names
|
|
122
90
|
* Assigns names to an order using its unique guid and the provided names.
|
|
123
91
|
* @param guid Unique identifier for an order.
|
|
124
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
125
|
-
* @param accountid Unique identifier for the account.
|
|
126
|
-
* @param apikey API key for authentication.
|
|
127
92
|
* @param requestBody Names to be assigned to the order.
|
|
128
93
|
* @returns SuccessResponse Returns success status after assigning names.
|
|
129
94
|
* @throws ApiError
|
|
130
95
|
*/
|
|
131
|
-
static postAssignNames(guid,
|
|
96
|
+
static postAssignNames(guid, requestBody) {
|
|
132
97
|
return __request(OpenAPI, {
|
|
133
98
|
method: 'POST',
|
|
134
99
|
url: '/order/assign-names',
|
|
135
|
-
headers: {
|
|
136
|
-
'shopperguid': shopperguid,
|
|
137
|
-
'accountid': accountid,
|
|
138
|
-
'apikey': apikey,
|
|
139
|
-
},
|
|
140
100
|
query: {
|
|
141
101
|
'guid': guid,
|
|
142
102
|
},
|
|
@@ -153,22 +113,14 @@ export class OrderService {
|
|
|
153
113
|
* Post email tickets
|
|
154
114
|
* Sends email tickets for an order using its unique guid and the provided email update.
|
|
155
115
|
* @param guid Unique identifier for an order.
|
|
156
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
157
|
-
* @param accountid Unique identifier for the account.
|
|
158
|
-
* @param apikey API key for authentication.
|
|
159
116
|
* @param requestBody Email update containing the email address to send tickets.
|
|
160
117
|
* @returns SuccessResponse Returns success status after sending email tickets.
|
|
161
118
|
* @throws ApiError
|
|
162
119
|
*/
|
|
163
|
-
static postEmailTickets(guid,
|
|
120
|
+
static postEmailTickets(guid, requestBody) {
|
|
164
121
|
return __request(OpenAPI, {
|
|
165
122
|
method: 'POST',
|
|
166
123
|
url: '/order/email-tickets',
|
|
167
|
-
headers: {
|
|
168
|
-
'shopperguid': shopperguid,
|
|
169
|
-
'accountid': accountid,
|
|
170
|
-
'apikey': apikey,
|
|
171
|
-
},
|
|
172
124
|
query: {
|
|
173
125
|
'guid': guid,
|
|
174
126
|
},
|
|
@@ -185,21 +137,13 @@ export class OrderService {
|
|
|
185
137
|
* Get ticket block by guid
|
|
186
138
|
* Fetches the ticket block for an order using its unique guid.
|
|
187
139
|
* @param guid Unique identifier for an order.
|
|
188
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
189
|
-
* @param accountid Unique identifier for the account.
|
|
190
|
-
* @param apikey API key for authentication.
|
|
191
140
|
* @returns PickupReturn Returns the ticket block for the order.
|
|
192
141
|
* @throws ApiError
|
|
193
142
|
*/
|
|
194
|
-
static getTicketBlock(guid
|
|
143
|
+
static getTicketBlock(guid) {
|
|
195
144
|
return __request(OpenAPI, {
|
|
196
145
|
method: 'GET',
|
|
197
146
|
url: '/order/pickup',
|
|
198
|
-
headers: {
|
|
199
|
-
'shopperguid': shopperguid,
|
|
200
|
-
'accountid': accountid,
|
|
201
|
-
'apikey': apikey,
|
|
202
|
-
},
|
|
203
147
|
query: {
|
|
204
148
|
'guid': guid,
|
|
205
149
|
},
|
|
@@ -214,21 +158,13 @@ export class OrderService {
|
|
|
214
158
|
* Post ticket block by guid
|
|
215
159
|
* Sends the ticket block for an order using its unique guid.
|
|
216
160
|
* @param guid Unique identifier for an order.
|
|
217
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
218
|
-
* @param accountid Unique identifier for the account.
|
|
219
|
-
* @param apikey API key for authentication.
|
|
220
161
|
* @returns SuccessResponse Returns the ticket block for the order.
|
|
221
162
|
* @throws ApiError
|
|
222
163
|
*/
|
|
223
|
-
static postPickup(guid
|
|
164
|
+
static postPickup(guid) {
|
|
224
165
|
return __request(OpenAPI, {
|
|
225
166
|
method: 'POST',
|
|
226
167
|
url: '/order/pickup',
|
|
227
|
-
headers: {
|
|
228
|
-
'shopperguid': shopperguid,
|
|
229
|
-
'accountid': accountid,
|
|
230
|
-
'apikey': apikey,
|
|
231
|
-
},
|
|
232
168
|
query: {
|
|
233
169
|
'guid': guid,
|
|
234
170
|
},
|
|
@@ -243,21 +179,13 @@ export class OrderService {
|
|
|
243
179
|
* Send order receipt via email
|
|
244
180
|
* Sends the order receipt to the shopper's email address for the specified order guid.
|
|
245
181
|
* @param guid Unique identifier for an order.
|
|
246
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
247
|
-
* @param accountid Unique identifier for the account.
|
|
248
|
-
* @param apikey API key for authentication.
|
|
249
182
|
* @returns SuccessResponse Returns success status after emailing the receipt.
|
|
250
183
|
* @throws ApiError
|
|
251
184
|
*/
|
|
252
|
-
static postEmailReceipt(guid
|
|
185
|
+
static postEmailReceipt(guid) {
|
|
253
186
|
return __request(OpenAPI, {
|
|
254
187
|
method: 'POST',
|
|
255
188
|
url: '/order/email-receipt',
|
|
256
|
-
headers: {
|
|
257
|
-
'shopperguid': shopperguid,
|
|
258
|
-
'accountid': accountid,
|
|
259
|
-
'apikey': apikey,
|
|
260
|
-
},
|
|
261
189
|
query: {
|
|
262
190
|
'guid': guid,
|
|
263
191
|
},
|
|
@@ -272,21 +200,13 @@ export class OrderService {
|
|
|
272
200
|
* Get refund request information
|
|
273
201
|
* Fetches the refund request information for an order using its unique guid.
|
|
274
202
|
* @param guid Unique identifier for an order.
|
|
275
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
276
|
-
* @param accountid Unique identifier for the account.
|
|
277
|
-
* @param apikey API key for authentication.
|
|
278
203
|
* @returns RefundRequestInfo Returns the refund request information for the order.
|
|
279
204
|
* @throws ApiError
|
|
280
205
|
*/
|
|
281
|
-
static getRefundRequest(guid
|
|
206
|
+
static getRefundRequest(guid) {
|
|
282
207
|
return __request(OpenAPI, {
|
|
283
208
|
method: 'GET',
|
|
284
209
|
url: '/order/refund-request',
|
|
285
|
-
headers: {
|
|
286
|
-
'shopperguid': shopperguid,
|
|
287
|
-
'accountid': accountid,
|
|
288
|
-
'apikey': apikey,
|
|
289
|
-
},
|
|
290
210
|
query: {
|
|
291
211
|
'guid': guid,
|
|
292
212
|
},
|
|
@@ -301,22 +221,14 @@ export class OrderService {
|
|
|
301
221
|
* Submit a refund request
|
|
302
222
|
* Submits a refund request for an order using its unique guid and the provided refund details.
|
|
303
223
|
* @param guid Unique identifier for an order.
|
|
304
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
305
|
-
* @param accountid Unique identifier for the account.
|
|
306
|
-
* @param apikey API key for authentication.
|
|
307
224
|
* @param requestBody Refund request details.
|
|
308
225
|
* @returns SuccessResponse Returns success status after submitting the refund request.
|
|
309
226
|
* @throws ApiError
|
|
310
227
|
*/
|
|
311
|
-
static postRefundRequest(guid,
|
|
228
|
+
static postRefundRequest(guid, requestBody) {
|
|
312
229
|
return __request(OpenAPI, {
|
|
313
230
|
method: 'POST',
|
|
314
231
|
url: '/order/refund-request',
|
|
315
|
-
headers: {
|
|
316
|
-
'shopperguid': shopperguid,
|
|
317
|
-
'accountid': accountid,
|
|
318
|
-
'apikey': apikey,
|
|
319
|
-
},
|
|
320
232
|
query: {
|
|
321
233
|
'guid': guid,
|
|
322
234
|
},
|
|
@@ -333,22 +245,14 @@ export class OrderService {
|
|
|
333
245
|
* Recalculate order totals
|
|
334
246
|
* Recalculates the totals for an order using the provided recalculation data.
|
|
335
247
|
* @param guid Unique identifier for an order.
|
|
336
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
337
|
-
* @param accountid Unique identifier for the account.
|
|
338
|
-
* @param apikey API key for authentication.
|
|
339
248
|
* @param requestBody Order recalculation data.
|
|
340
249
|
* @returns RecalcResponse Returns the recalculated order totals and success status.
|
|
341
250
|
* @throws ApiError
|
|
342
251
|
*/
|
|
343
|
-
static postRecalcOrder(guid,
|
|
252
|
+
static postRecalcOrder(guid, requestBody) {
|
|
344
253
|
return __request(OpenAPI, {
|
|
345
254
|
method: 'POST',
|
|
346
255
|
url: '/order/recalc',
|
|
347
|
-
headers: {
|
|
348
|
-
'shopperguid': shopperguid,
|
|
349
|
-
'accountid': accountid,
|
|
350
|
-
'apikey': apikey,
|
|
351
|
-
},
|
|
352
256
|
query: {
|
|
353
257
|
'guid': guid,
|
|
354
258
|
},
|
|
@@ -364,22 +268,14 @@ export class OrderService {
|
|
|
364
268
|
/**
|
|
365
269
|
* Register a stream for a shopper
|
|
366
270
|
* Registers a stream for the specified shopper and account using the provided stream registration details.
|
|
367
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
368
|
-
* @param accountid Unique identifier for the account.
|
|
369
|
-
* @param apikey API key for authentication.
|
|
370
271
|
* @param requestBody Stream registration details.
|
|
371
272
|
* @returns RegisterStreamResponse Returns the stream registration response.
|
|
372
273
|
* @throws ApiError
|
|
373
274
|
*/
|
|
374
|
-
static postRegisterStream(
|
|
275
|
+
static postRegisterStream(requestBody) {
|
|
375
276
|
return __request(OpenAPI, {
|
|
376
277
|
method: 'POST',
|
|
377
278
|
url: '/order/stream-register',
|
|
378
|
-
headers: {
|
|
379
|
-
'shopperguid': shopperguid,
|
|
380
|
-
'accountid': accountid,
|
|
381
|
-
'apikey': apikey,
|
|
382
|
-
},
|
|
383
279
|
body: requestBody,
|
|
384
280
|
mediaType: 'application/json',
|
|
385
281
|
errors: {
|
|
@@ -392,22 +288,14 @@ export class OrderService {
|
|
|
392
288
|
/**
|
|
393
289
|
* Deregister a stream for a shopper
|
|
394
290
|
* Removes the stream registration for the specified shopper and account using the provided stream registration details.
|
|
395
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
396
|
-
* @param accountid Unique identifier for the account.
|
|
397
|
-
* @param apikey API key for authentication.
|
|
398
291
|
* @param requestBody Stream registration details to be deregistered.
|
|
399
292
|
* @returns SuccessResponse Returns success status after deregistering the stream.
|
|
400
293
|
* @throws ApiError
|
|
401
294
|
*/
|
|
402
|
-
static deleteRegisteredStream(
|
|
295
|
+
static deleteRegisteredStream(requestBody) {
|
|
403
296
|
return __request(OpenAPI, {
|
|
404
297
|
method: 'DELETE',
|
|
405
298
|
url: '/order/stream-register',
|
|
406
|
-
headers: {
|
|
407
|
-
'shopperguid': shopperguid,
|
|
408
|
-
'accountid': accountid,
|
|
409
|
-
'apikey': apikey,
|
|
410
|
-
},
|
|
411
299
|
body: requestBody,
|
|
412
300
|
mediaType: 'application/json',
|
|
413
301
|
errors: {
|