@drttix/drt-sdk 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/src/definitions/shopper.d.ts +2 -0
- package/dist/cjs/src/definitions/shopper.js +6 -4
- package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/portal/models/CreateShowRequestDto.d.ts +1 -1
- package/dist/cjs/src/generated/portal/models/CreateUpdateProductRequestDto.d.ts +4 -4
- package/dist/cjs/src/generated/portal/models/ProductDetailResponseDto.d.ts +2 -2
- package/dist/cjs/src/generated/portal/models/SeatResponseDto.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/ShowsList.d.ts +12 -0
- package/dist/cjs/src/generated/shopper/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/shopper/index.d.ts +23 -1
- package/dist/cjs/src/generated/shopper/index.js +5 -1
- package/dist/cjs/src/generated/shopper/models/Account.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/AssetDownloadRequest.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/AssetDownloadRequest.js +2 -0
- package/dist/cjs/src/generated/shopper/models/AssetDownloadResponse.d.ts +7 -0
- package/dist/cjs/src/generated/shopper/models/AssetDownloadResponse.js +2 -0
- package/dist/cjs/src/generated/shopper/models/CapabilityManifestDto.d.ts +5 -1
- package/dist/cjs/src/generated/shopper/models/ClientRequestErrorResponse.d.ts +6 -0
- package/dist/cjs/src/generated/shopper/models/ClientRequestErrorResponse.js +2 -0
- package/dist/cjs/src/generated/shopper/models/CreatePaymentLinkBody.d.ts +18 -0
- package/dist/cjs/src/generated/shopper/models/CreatePaymentLinkBody.js +2 -0
- package/dist/cjs/src/generated/shopper/models/CreatePaymentLinkResponse.d.ts +40 -0
- package/dist/cjs/src/generated/shopper/models/CreatePaymentLinkResponse.js +2 -0
- package/dist/cjs/src/generated/shopper/models/EventDetails.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/EventFormat.d.ts +12 -0
- package/dist/cjs/src/generated/shopper/models/EventListItem.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/ExchangeValidateResponse.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/FullEventDetails.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/ManifestSeat.d.ts +14 -0
- package/dist/cjs/src/generated/shopper/models/ManifestSeat.js +12 -0
- package/dist/cjs/src/generated/shopper/models/OrderLookupBody.d.ts +14 -0
- package/dist/cjs/src/generated/shopper/models/OrderLookupBody.js +2 -0
- package/dist/cjs/src/generated/shopper/models/OrderLookupResult.d.ts +14 -0
- package/dist/cjs/src/generated/shopper/models/OrderLookupResult.js +2 -0
- package/dist/cjs/src/generated/shopper/models/OrderRefundDetails.d.ts +1 -0
- package/dist/cjs/src/generated/shopper/models/PaymentLinkSession.d.ts +18 -0
- package/dist/cjs/src/generated/shopper/models/PaymentLinkSession.js +2 -0
- package/dist/cjs/src/generated/shopper/models/PaymentLinkStatus.d.ts +32 -0
- package/dist/cjs/src/generated/shopper/models/PaymentLinkStatus.js +2 -0
- package/dist/cjs/src/generated/shopper/models/Receipt.d.ts +2 -0
- package/dist/cjs/src/generated/shopper/models/RefundExchangeOffer.d.ts +38 -0
- package/dist/cjs/src/generated/shopper/models/RefundExchangeOffer.js +2 -0
- package/dist/cjs/src/generated/shopper/models/RefundReason.d.ts +1 -0
- package/dist/cjs/src/generated/shopper/models/RefundRequestInfo.d.ts +2 -0
- package/dist/cjs/src/generated/shopper/models/RegisterStreamResponse.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/ResetStreamInviteRequest.d.ts +8 -0
- package/dist/cjs/src/generated/shopper/models/ResetStreamInviteRequest.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SaveStreamInvitesRequest.d.ts +10 -0
- package/dist/cjs/src/generated/shopper/models/SaveStreamInvitesRequest.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SaveStreamInvitesResponse.d.ts +7 -0
- package/dist/cjs/src/generated/shopper/models/SaveStreamInvitesResponse.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SeatManifest.d.ts +20 -0
- package/dist/cjs/src/generated/shopper/models/SeatManifest.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SharedStream.d.ts +37 -0
- package/dist/cjs/src/generated/shopper/models/SharedStream.js +2 -0
- package/dist/cjs/src/generated/shopper/models/ShowExtras.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/StartSupportSessionDto.d.ts +10 -0
- package/dist/cjs/src/generated/shopper/models/StartSupportSessionDto.js +2 -0
- package/dist/cjs/src/generated/shopper/models/StreamAuthorization.d.ts +14 -0
- package/dist/cjs/src/generated/shopper/models/StreamAuthorization.js +2 -0
- package/dist/cjs/src/generated/shopper/models/StreamInvite.d.ts +19 -0
- package/dist/cjs/src/generated/shopper/models/StreamInvite.js +2 -0
- package/dist/cjs/src/generated/shopper/models/StreamInviteInput.d.ts +7 -0
- package/dist/cjs/src/generated/shopper/models/StreamInviteInput.js +2 -0
- package/dist/cjs/src/generated/shopper/models/StreamInvitesResponse.d.ts +8 -0
- package/dist/cjs/src/generated/shopper/models/StreamInvitesResponse.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SupportSessionStateDto.d.ts +14 -0
- package/dist/cjs/src/generated/shopper/models/SupportSessionStateDto.js +2 -0
- package/dist/cjs/src/generated/shopper/services/AccountService.d.ts +8 -4
- package/dist/cjs/src/generated/shopper/services/AccountService.js +20 -9
- package/dist/cjs/src/generated/shopper/services/CartService.d.ts +20 -10
- package/dist/cjs/src/generated/shopper/services/CartService.js +50 -21
- package/dist/cjs/src/generated/shopper/services/CheckoutService.d.ts +16 -8
- package/dist/cjs/src/generated/shopper/services/CheckoutService.js +40 -17
- package/dist/cjs/src/generated/shopper/services/CodeService.d.ts +26 -6
- package/dist/cjs/src/generated/shopper/services/CodeService.js +55 -13
- package/dist/cjs/src/generated/shopper/services/DonationService.d.ts +6 -3
- package/dist/cjs/src/generated/shopper/services/DonationService.js +13 -6
- package/dist/cjs/src/generated/shopper/services/EventService.d.ts +12 -6
- package/dist/cjs/src/generated/shopper/services/EventService.js +30 -13
- package/dist/cjs/src/generated/shopper/services/GiftCardService.d.ts +10 -5
- package/dist/cjs/src/generated/shopper/services/GiftCardService.js +25 -11
- package/dist/cjs/src/generated/shopper/services/OrderService.d.ts +179 -30
- package/dist/cjs/src/generated/shopper/services/OrderService.js +364 -61
- package/dist/cjs/src/generated/shopper/services/PaymentLinkService.d.ts +40 -0
- package/dist/cjs/src/generated/shopper/services/PaymentLinkService.js +78 -0
- package/dist/cjs/src/generated/shopper/services/PaymentService.d.ts +6 -3
- package/dist/cjs/src/generated/shopper/services/PaymentService.js +16 -8
- package/dist/cjs/src/generated/shopper/services/ProductService.d.ts +6 -3
- package/dist/cjs/src/generated/shopper/services/ProductService.js +15 -7
- package/dist/cjs/src/generated/shopper/services/SeatService.d.ts +30 -8
- package/dist/cjs/src/generated/shopper/services/SeatService.js +66 -17
- package/dist/cjs/src/generated/shopper/services/SessionService.d.ts +39 -6
- package/dist/cjs/src/generated/shopper/services/SessionService.js +77 -13
- package/dist/cjs/src/generated/shopper/types.d.ts +21 -1
- package/dist/cjs/src/staging/index.d.ts +1 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/src/definitions/shopper.d.ts +2 -0
- package/dist/esm/src/definitions/shopper.js +2 -0
- package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/portal/models/CreateShowRequestDto.d.ts +1 -1
- package/dist/esm/src/generated/portal/models/CreateUpdateProductRequestDto.d.ts +4 -4
- package/dist/esm/src/generated/portal/models/ProductDetailResponseDto.d.ts +2 -2
- package/dist/esm/src/generated/portal/models/SeatResponseDto.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/ShowsList.d.ts +12 -0
- package/dist/esm/src/generated/shopper/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/shopper/index.d.ts +23 -1
- package/dist/esm/src/generated/shopper/index.js +2 -0
- package/dist/esm/src/generated/shopper/models/Account.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/AssetDownloadRequest.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/AssetDownloadRequest.js +1 -0
- package/dist/esm/src/generated/shopper/models/AssetDownloadResponse.d.ts +7 -0
- package/dist/esm/src/generated/shopper/models/AssetDownloadResponse.js +1 -0
- package/dist/esm/src/generated/shopper/models/CapabilityManifestDto.d.ts +5 -1
- package/dist/esm/src/generated/shopper/models/ClientRequestErrorResponse.d.ts +6 -0
- package/dist/esm/src/generated/shopper/models/ClientRequestErrorResponse.js +1 -0
- package/dist/esm/src/generated/shopper/models/CreatePaymentLinkBody.d.ts +18 -0
- package/dist/esm/src/generated/shopper/models/CreatePaymentLinkBody.js +1 -0
- package/dist/esm/src/generated/shopper/models/CreatePaymentLinkResponse.d.ts +40 -0
- package/dist/esm/src/generated/shopper/models/CreatePaymentLinkResponse.js +1 -0
- package/dist/esm/src/generated/shopper/models/EventDetails.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/EventFormat.d.ts +12 -0
- package/dist/esm/src/generated/shopper/models/EventListItem.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/ExchangeValidateResponse.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/FullEventDetails.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/ManifestSeat.d.ts +14 -0
- package/dist/esm/src/generated/shopper/models/ManifestSeat.js +9 -0
- package/dist/esm/src/generated/shopper/models/OrderLookupBody.d.ts +14 -0
- package/dist/esm/src/generated/shopper/models/OrderLookupBody.js +1 -0
- package/dist/esm/src/generated/shopper/models/OrderLookupResult.d.ts +14 -0
- package/dist/esm/src/generated/shopper/models/OrderLookupResult.js +1 -0
- package/dist/esm/src/generated/shopper/models/OrderRefundDetails.d.ts +1 -0
- package/dist/esm/src/generated/shopper/models/PaymentLinkSession.d.ts +18 -0
- package/dist/esm/src/generated/shopper/models/PaymentLinkSession.js +1 -0
- package/dist/esm/src/generated/shopper/models/PaymentLinkStatus.d.ts +32 -0
- package/dist/esm/src/generated/shopper/models/PaymentLinkStatus.js +1 -0
- package/dist/esm/src/generated/shopper/models/Receipt.d.ts +2 -0
- package/dist/esm/src/generated/shopper/models/RefundExchangeOffer.d.ts +38 -0
- package/dist/esm/src/generated/shopper/models/RefundExchangeOffer.js +1 -0
- package/dist/esm/src/generated/shopper/models/RefundReason.d.ts +1 -0
- package/dist/esm/src/generated/shopper/models/RefundRequestInfo.d.ts +2 -0
- package/dist/esm/src/generated/shopper/models/RegisterStreamResponse.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/ResetStreamInviteRequest.d.ts +8 -0
- package/dist/esm/src/generated/shopper/models/ResetStreamInviteRequest.js +1 -0
- package/dist/esm/src/generated/shopper/models/SaveStreamInvitesRequest.d.ts +10 -0
- package/dist/esm/src/generated/shopper/models/SaveStreamInvitesRequest.js +1 -0
- package/dist/esm/src/generated/shopper/models/SaveStreamInvitesResponse.d.ts +7 -0
- package/dist/esm/src/generated/shopper/models/SaveStreamInvitesResponse.js +1 -0
- package/dist/esm/src/generated/shopper/models/SeatManifest.d.ts +20 -0
- package/dist/esm/src/generated/shopper/models/SeatManifest.js +1 -0
- package/dist/esm/src/generated/shopper/models/SharedStream.d.ts +37 -0
- package/dist/esm/src/generated/shopper/models/SharedStream.js +1 -0
- package/dist/esm/src/generated/shopper/models/ShowExtras.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/StartSupportSessionDto.d.ts +10 -0
- package/dist/esm/src/generated/shopper/models/StartSupportSessionDto.js +1 -0
- package/dist/esm/src/generated/shopper/models/StreamAuthorization.d.ts +14 -0
- package/dist/esm/src/generated/shopper/models/StreamAuthorization.js +1 -0
- package/dist/esm/src/generated/shopper/models/StreamInvite.d.ts +19 -0
- package/dist/esm/src/generated/shopper/models/StreamInvite.js +1 -0
- package/dist/esm/src/generated/shopper/models/StreamInviteInput.d.ts +7 -0
- package/dist/esm/src/generated/shopper/models/StreamInviteInput.js +1 -0
- package/dist/esm/src/generated/shopper/models/StreamInvitesResponse.d.ts +8 -0
- package/dist/esm/src/generated/shopper/models/StreamInvitesResponse.js +1 -0
- package/dist/esm/src/generated/shopper/models/SupportSessionStateDto.d.ts +14 -0
- package/dist/esm/src/generated/shopper/models/SupportSessionStateDto.js +1 -0
- package/dist/esm/src/generated/shopper/services/AccountService.d.ts +8 -4
- package/dist/esm/src/generated/shopper/services/AccountService.js +20 -9
- package/dist/esm/src/generated/shopper/services/CartService.d.ts +20 -10
- package/dist/esm/src/generated/shopper/services/CartService.js +50 -21
- package/dist/esm/src/generated/shopper/services/CheckoutService.d.ts +16 -8
- package/dist/esm/src/generated/shopper/services/CheckoutService.js +40 -17
- package/dist/esm/src/generated/shopper/services/CodeService.d.ts +26 -6
- package/dist/esm/src/generated/shopper/services/CodeService.js +55 -13
- package/dist/esm/src/generated/shopper/services/DonationService.d.ts +6 -3
- package/dist/esm/src/generated/shopper/services/DonationService.js +13 -6
- package/dist/esm/src/generated/shopper/services/EventService.d.ts +12 -6
- package/dist/esm/src/generated/shopper/services/EventService.js +30 -13
- package/dist/esm/src/generated/shopper/services/GiftCardService.d.ts +10 -5
- package/dist/esm/src/generated/shopper/services/GiftCardService.js +25 -11
- package/dist/esm/src/generated/shopper/services/OrderService.d.ts +179 -30
- package/dist/esm/src/generated/shopper/services/OrderService.js +364 -61
- package/dist/esm/src/generated/shopper/services/PaymentLinkService.d.ts +40 -0
- package/dist/esm/src/generated/shopper/services/PaymentLinkService.js +74 -0
- package/dist/esm/src/generated/shopper/services/PaymentService.d.ts +6 -3
- package/dist/esm/src/generated/shopper/services/PaymentService.js +16 -8
- package/dist/esm/src/generated/shopper/services/ProductService.d.ts +6 -3
- package/dist/esm/src/generated/shopper/services/ProductService.js +15 -7
- package/dist/esm/src/generated/shopper/services/SeatService.d.ts +30 -8
- package/dist/esm/src/generated/shopper/services/SeatService.js +66 -17
- package/dist/esm/src/generated/shopper/services/SessionService.d.ts +39 -6
- package/dist/esm/src/generated/shopper/services/SessionService.js +77 -13
- package/dist/esm/src/generated/shopper/types.d.ts +21 -1
- package/dist/esm/src/staging/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/definitions/shopper.ts +2 -0
- package/src/generated/portal/core/OpenAPI.ts +1 -1
- package/src/generated/portal/models/CreateShowRequestDto.ts +1 -1
- package/src/generated/portal/models/CreateUpdateProductRequestDto.ts +4 -4
- package/src/generated/portal/models/ProductDetailResponseDto.ts +2 -2
- package/src/generated/portal/models/SeatResponseDto.ts +1 -0
- package/src/generated/portal/models/ShowsList.ts +12 -0
- package/src/generated/shopper/core/OpenAPI.ts +1 -1
- package/src/generated/shopper/index.ts +23 -1
- package/src/generated/shopper/models/Account.ts +4 -0
- package/src/generated/shopper/models/AssetDownloadRequest.ts +9 -0
- package/src/generated/shopper/models/AssetDownloadResponse.ts +12 -0
- package/src/generated/shopper/models/CapabilityManifestDto.ts +5 -1
- package/src/generated/shopper/models/ClientRequestErrorResponse.ts +11 -0
- package/src/generated/shopper/models/CreatePaymentLinkBody.ts +23 -0
- package/src/generated/shopper/models/CreatePaymentLinkResponse.ts +45 -0
- package/src/generated/shopper/models/EventDetails.ts +4 -0
- package/src/generated/shopper/models/EventFormat.ts +12 -0
- package/src/generated/shopper/models/EventListItem.ts +4 -0
- package/src/generated/shopper/models/ExchangeValidateResponse.ts +4 -0
- package/src/generated/shopper/models/FullEventDetails.ts +4 -0
- package/src/generated/shopper/models/ManifestSeat.ts +19 -0
- package/src/generated/shopper/models/OrderLookupBody.ts +19 -0
- package/src/generated/shopper/models/OrderLookupResult.ts +19 -0
- package/src/generated/shopper/models/OrderRefundDetails.ts +1 -0
- package/src/generated/shopper/models/PaymentLinkSession.ts +23 -0
- package/src/generated/shopper/models/PaymentLinkStatus.ts +37 -0
- package/src/generated/shopper/models/Receipt.ts +2 -0
- package/src/generated/shopper/models/RefundExchangeOffer.ts +43 -0
- package/src/generated/shopper/models/RefundReason.ts +1 -0
- package/src/generated/shopper/models/RefundRequestInfo.ts +2 -0
- package/src/generated/shopper/models/RegisterStreamResponse.ts +4 -0
- package/src/generated/shopper/models/ResetStreamInviteRequest.ts +13 -0
- package/src/generated/shopper/models/SaveStreamInvitesRequest.ts +15 -0
- package/src/generated/shopper/models/SaveStreamInvitesResponse.ts +12 -0
- package/src/generated/shopper/models/SeatManifest.ts +25 -0
- package/src/generated/shopper/models/SharedStream.ts +42 -0
- package/src/generated/shopper/models/ShowExtras.ts +4 -0
- package/src/generated/shopper/models/StartSupportSessionDto.ts +15 -0
- package/src/generated/shopper/models/StreamAuthorization.ts +19 -0
- package/src/generated/shopper/models/StreamInvite.ts +24 -0
- package/src/generated/shopper/models/StreamInviteInput.ts +12 -0
- package/src/generated/shopper/models/StreamInvitesResponse.ts +13 -0
- package/src/generated/shopper/models/SupportSessionStateDto.ts +19 -0
- package/src/generated/shopper/services/AccountService.ts +20 -4
- package/src/generated/shopper/services/CartService.ts +50 -10
- package/src/generated/shopper/services/CheckoutService.ts +40 -8
- package/src/generated/shopper/services/CodeService.ts +60 -6
- package/src/generated/shopper/services/DonationService.ts +13 -2
- package/src/generated/shopper/services/EventService.ts +30 -6
- package/src/generated/shopper/services/GiftCardService.ts +25 -5
- package/src/generated/shopper/services/OrderService.ts +411 -30
- package/src/generated/shopper/services/PaymentLinkService.ts +93 -0
- package/src/generated/shopper/services/PaymentService.ts +16 -4
- package/src/generated/shopper/services/ProductService.ts +15 -3
- package/src/generated/shopper/services/SeatService.ts +71 -8
- package/src/generated/shopper/services/SessionService.ts +86 -6
- package/src/generated/shopper/types.ts +21 -1
- package/src/generated/shopper/models/PaymentFail.ts +0 -23
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { AssetDownloadRequest } from '../models/AssetDownloadRequest';
|
|
2
|
+
import type { AssetDownloadResponse } from '../models/AssetDownloadResponse';
|
|
1
3
|
import type { AssignNamesReturn } from '../models/AssignNamesReturn';
|
|
2
4
|
import type { DonateOrderRequest } from '../models/DonateOrderRequest';
|
|
3
5
|
import type { EmailUpdate } from '../models/EmailUpdate';
|
|
@@ -17,6 +19,8 @@ import type { GuidReturn } from '../models/GuidReturn';
|
|
|
17
19
|
import type { LinkWithSuccess } from '../models/LinkWithSuccess';
|
|
18
20
|
import type { NameUpdate } from '../models/NameUpdate';
|
|
19
21
|
import type { OrderBalance } from '../models/OrderBalance';
|
|
22
|
+
import type { OrderLookupBody } from '../models/OrderLookupBody';
|
|
23
|
+
import type { OrderLookupResult } from '../models/OrderLookupResult';
|
|
20
24
|
import type { OrderPaymentStatus } from '../models/OrderPaymentStatus';
|
|
21
25
|
import type { OrderRecalc } from '../models/OrderRecalc';
|
|
22
26
|
import type { PickupReturn } from '../models/PickupReturn';
|
|
@@ -26,9 +30,15 @@ import type { RefundRequest } from '../models/RefundRequest';
|
|
|
26
30
|
import type { RefundRequestInfo } from '../models/RefundRequestInfo';
|
|
27
31
|
import type { RegisterStreamRequest } from '../models/RegisterStreamRequest';
|
|
28
32
|
import type { RegisterStreamResponse } from '../models/RegisterStreamResponse';
|
|
33
|
+
import type { ResetStreamInviteRequest } from '../models/ResetStreamInviteRequest';
|
|
34
|
+
import type { SaveStreamInvitesRequest } from '../models/SaveStreamInvitesRequest';
|
|
35
|
+
import type { SaveStreamInvitesResponse } from '../models/SaveStreamInvitesResponse';
|
|
29
36
|
import type { SeatInCart } from '../models/SeatInCart';
|
|
37
|
+
import type { SharedStream } from '../models/SharedStream';
|
|
38
|
+
import type { StreamAuthorization } from '../models/StreamAuthorization';
|
|
30
39
|
import type { StreamDetails } from '../models/StreamDetails';
|
|
31
40
|
import type { StreamDownloadLink } from '../models/StreamDownloadLink';
|
|
41
|
+
import type { StreamInvitesResponse } from '../models/StreamInvitesResponse';
|
|
32
42
|
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
33
43
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
34
44
|
export declare class OrderService {
|
|
@@ -37,364 +47,503 @@ export declare class OrderService {
|
|
|
37
47
|
* Fetches the receipt for an order using its unique guid.
|
|
38
48
|
* @param guid Unique identifier for an order.
|
|
39
49
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
50
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
40
51
|
* @returns Receipt Returns the order receipt.
|
|
41
52
|
* @throws ApiError
|
|
42
53
|
*/
|
|
43
54
|
static getReceipt(guid: string, context?: {
|
|
44
55
|
shopperGuid?: string;
|
|
45
56
|
accountId?: string;
|
|
46
|
-
}): CancelablePromise<Receipt>;
|
|
57
|
+
}, xDrtDomain?: string): CancelablePromise<Receipt>;
|
|
47
58
|
/**
|
|
48
59
|
* Stamp the session source order
|
|
49
60
|
* Records the given order as the current session's source order (session.src_order_id) for attribution (ORD-1, legacy order-set-src).
|
|
50
61
|
* @param guid Unique identifier for an order.
|
|
51
62
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
63
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
52
64
|
* @returns SuccessResponse Returns success after stamping the source order.
|
|
53
65
|
* @throws ApiError
|
|
54
66
|
*/
|
|
55
67
|
static setOrderSrc(guid: string, context?: {
|
|
56
68
|
shopperGuid?: string;
|
|
57
69
|
accountId?: string;
|
|
58
|
-
}): CancelablePromise<SuccessResponse>;
|
|
70
|
+
}, xDrtDomain?: string): CancelablePromise<SuccessResponse>;
|
|
59
71
|
/**
|
|
60
72
|
* Get the balance owed on an order
|
|
61
73
|
* Returns the balance owed on an existing order and whether the account offers an additional payment (enable_adjustment_payment). Read-only — the charge itself is collected by the Stripe Payment Element on the frontend and recorded downstream (PAY-1).
|
|
62
74
|
* @param guid Unique identifier for an order.
|
|
63
75
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
76
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
64
77
|
* @returns OrderBalance Returns the order balance and adjustment-payment gating.
|
|
65
78
|
* @throws ApiError
|
|
66
79
|
*/
|
|
67
80
|
static getOrderBalance(guid: string, context?: {
|
|
68
81
|
shopperGuid?: string;
|
|
69
82
|
accountId?: string;
|
|
70
|
-
}): CancelablePromise<OrderBalance>;
|
|
83
|
+
}, xDrtDomain?: string): CancelablePromise<OrderBalance>;
|
|
71
84
|
/**
|
|
72
85
|
* Poll the payment status of an order
|
|
73
86
|
* Returns whether an order is fully paid (for the pay-by-link page to poll). The Stripe link/intent is created on the frontend via the existing /payment* flow; this endpoint only reports completion (PAY-2).
|
|
74
87
|
* @param guid Unique identifier for an order.
|
|
75
88
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
89
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
76
90
|
* @returns OrderPaymentStatus Returns the order payment status.
|
|
77
91
|
* @throws ApiError
|
|
78
92
|
*/
|
|
79
93
|
static getOrderPaymentStatus(guid: string, context?: {
|
|
80
94
|
shopperGuid?: string;
|
|
81
95
|
accountId?: string;
|
|
82
|
-
}): CancelablePromise<OrderPaymentStatus>;
|
|
96
|
+
}, xDrtDomain?: string): CancelablePromise<OrderPaymentStatus>;
|
|
97
|
+
/**
|
|
98
|
+
* Find an existing order
|
|
99
|
+
* The Box Office Help Desk lookup: at least TWO of phone, order number and last-four-of-card, scoped to the calling studio. Fewer than two factors is refused — any one of them alone is guessable. Returns order numbers with their receipt guids, newest first.
|
|
100
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
101
|
+
* @param requestBody
|
|
102
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
103
|
+
* @returns OrderLookupResult Matching orders, newest first. An empty list is a valid answer.
|
|
104
|
+
* @throws ApiError
|
|
105
|
+
*/
|
|
106
|
+
static lookupOrders(requestBody: OrderLookupBody, context?: {
|
|
107
|
+
shopperGuid?: string;
|
|
108
|
+
accountId?: string;
|
|
109
|
+
}, xDrtDomain?: string): CancelablePromise<Array<OrderLookupResult>>;
|
|
83
110
|
/**
|
|
84
111
|
* Get Gwallet link by guid
|
|
85
112
|
* Fetches the Gwallet link for an order using its unique guid.
|
|
86
113
|
* @param guid Unique identifier for an order.
|
|
87
114
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
115
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
88
116
|
* @returns LinkWithSuccess Returns the Gwallet link.
|
|
89
117
|
* @throws ApiError
|
|
90
118
|
*/
|
|
91
119
|
static getGwalletLink(guid: string, context?: {
|
|
92
120
|
shopperGuid?: string;
|
|
93
121
|
accountId?: string;
|
|
94
|
-
}): CancelablePromise<LinkWithSuccess>;
|
|
122
|
+
}, xDrtDomain?: string): CancelablePromise<LinkWithSuccess>;
|
|
123
|
+
/**
|
|
124
|
+
* Get Gwallet link by block-of-tickets guid
|
|
125
|
+
* Fetches the Google Wallet link for a block of tickets using the block guid — the ticket-pickup page, where the recipient holds the block guid and never sees the order.
|
|
126
|
+
* @param guid Unique identifier for an order.
|
|
127
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
128
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
129
|
+
* @returns LinkWithSuccess Returns the Gwallet link.
|
|
130
|
+
* @throws ApiError
|
|
131
|
+
*/
|
|
132
|
+
static getGwalletBlockLink(guid: string, context?: {
|
|
133
|
+
shopperGuid?: string;
|
|
134
|
+
accountId?: string;
|
|
135
|
+
}, xDrtDomain?: string): CancelablePromise<LinkWithSuccess>;
|
|
95
136
|
/**
|
|
96
137
|
* Get testing guid (operator only)
|
|
97
138
|
* Fetches a random order guid for development purposes. Requires a logged-in operator session — returns 403 for a plain shopper.
|
|
98
139
|
* @param guid Unique identifier for an order.
|
|
99
140
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
141
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
100
142
|
* @returns GuidReturn Returns a testing guid.
|
|
101
143
|
* @throws ApiError
|
|
102
144
|
*/
|
|
103
145
|
static getTestingGuid(guid: string, context?: {
|
|
104
146
|
shopperGuid?: string;
|
|
105
147
|
accountId?: string;
|
|
106
|
-
}): CancelablePromise<GuidReturn>;
|
|
148
|
+
}, xDrtDomain?: string): CancelablePromise<GuidReturn>;
|
|
107
149
|
/**
|
|
108
150
|
* Get assign names by guid
|
|
109
151
|
* Fetches the assign names information for an order using its unique guid.
|
|
110
152
|
* @param guid Unique identifier for an order.
|
|
111
153
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
154
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
112
155
|
* @returns AssignNamesReturn Returns the assign names information.
|
|
113
156
|
* @throws ApiError
|
|
114
157
|
*/
|
|
115
158
|
static getAssignNames(guid: string, context?: {
|
|
116
159
|
shopperGuid?: string;
|
|
117
160
|
accountId?: string;
|
|
118
|
-
}): CancelablePromise<AssignNamesReturn>;
|
|
161
|
+
}, xDrtDomain?: string): CancelablePromise<AssignNamesReturn>;
|
|
119
162
|
/**
|
|
120
163
|
* Post assign names
|
|
121
164
|
* Assigns names to an order using its unique guid and the provided names.
|
|
122
165
|
* @param guid Unique identifier for an order.
|
|
123
166
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
124
167
|
* @param requestBody Names to be assigned to the order.
|
|
168
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
125
169
|
* @returns SuccessResponse Returns success status after assigning names.
|
|
126
170
|
* @throws ApiError
|
|
127
171
|
*/
|
|
128
172
|
static postAssignNames(guid: string, requestBody: NameUpdate, context?: {
|
|
129
173
|
shopperGuid?: string;
|
|
130
174
|
accountId?: string;
|
|
131
|
-
}): CancelablePromise<SuccessResponse>;
|
|
175
|
+
}, xDrtDomain?: string): CancelablePromise<SuccessResponse>;
|
|
132
176
|
/**
|
|
133
177
|
* Post email tickets
|
|
134
178
|
* Sends email tickets for an order using its unique guid and the provided email update.
|
|
135
179
|
* @param guid Unique identifier for an order.
|
|
136
180
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
137
181
|
* @param requestBody Email update containing the email address to send tickets.
|
|
182
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
138
183
|
* @returns SuccessResponse Returns success status after sending email tickets.
|
|
139
184
|
* @throws ApiError
|
|
140
185
|
*/
|
|
141
186
|
static postEmailTickets(guid: string, requestBody: EmailUpdate, context?: {
|
|
142
187
|
shopperGuid?: string;
|
|
143
188
|
accountId?: string;
|
|
144
|
-
}): CancelablePromise<SuccessResponse>;
|
|
189
|
+
}, xDrtDomain?: string): CancelablePromise<SuccessResponse>;
|
|
145
190
|
/**
|
|
146
191
|
* Get ticket block by guid
|
|
147
192
|
* Fetches the ticket block for an order using its unique guid.
|
|
148
193
|
* @param guid Unique identifier for an order.
|
|
149
194
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
195
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
150
196
|
* @returns PickupReturn Returns the ticket block for the order.
|
|
151
197
|
* @throws ApiError
|
|
152
198
|
*/
|
|
153
199
|
static getTicketBlock(guid: string, context?: {
|
|
154
200
|
shopperGuid?: string;
|
|
155
201
|
accountId?: string;
|
|
156
|
-
}): CancelablePromise<PickupReturn>;
|
|
202
|
+
}, xDrtDomain?: string): CancelablePromise<PickupReturn>;
|
|
157
203
|
/**
|
|
158
204
|
* Post ticket block by guid
|
|
159
205
|
* Sends the ticket block for an order using its unique guid.
|
|
160
206
|
* @param guid Unique identifier for an order.
|
|
161
207
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
208
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
162
209
|
* @returns SuccessResponse Returns the ticket block for the order.
|
|
163
210
|
* @throws ApiError
|
|
164
211
|
*/
|
|
165
212
|
static postPickup(guid: string, context?: {
|
|
166
213
|
shopperGuid?: string;
|
|
167
214
|
accountId?: string;
|
|
168
|
-
}): CancelablePromise<SuccessResponse>;
|
|
215
|
+
}, xDrtDomain?: string): CancelablePromise<SuccessResponse>;
|
|
169
216
|
/**
|
|
170
217
|
* Send order receipt via email
|
|
171
218
|
* Sends the order receipt to the shopper's email address for the specified order guid.
|
|
172
219
|
* @param guid Unique identifier for an order.
|
|
173
220
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
221
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
174
222
|
* @returns SuccessResponse Returns success status after emailing the receipt.
|
|
175
223
|
* @throws ApiError
|
|
176
224
|
*/
|
|
177
225
|
static postEmailReceipt(guid: string, context?: {
|
|
178
226
|
shopperGuid?: string;
|
|
179
227
|
accountId?: string;
|
|
180
|
-
}): CancelablePromise<SuccessResponse>;
|
|
228
|
+
}, xDrtDomain?: string): CancelablePromise<SuccessResponse>;
|
|
181
229
|
/**
|
|
182
230
|
* Get refund request information
|
|
183
231
|
* Fetches the refund request information for an order using its unique guid.
|
|
184
232
|
* @param guid Unique identifier for an order.
|
|
185
233
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
234
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
186
235
|
* @returns RefundRequestInfo Returns the refund request information for the order.
|
|
187
236
|
* @throws ApiError
|
|
188
237
|
*/
|
|
189
238
|
static getRefundRequest(guid: string, context?: {
|
|
190
239
|
shopperGuid?: string;
|
|
191
240
|
accountId?: string;
|
|
192
|
-
}): CancelablePromise<RefundRequestInfo>;
|
|
241
|
+
}, xDrtDomain?: string): CancelablePromise<RefundRequestInfo>;
|
|
193
242
|
/**
|
|
194
243
|
* Submit a refund request
|
|
195
244
|
* Submits a refund request for an order using its unique guid and the provided refund details.
|
|
196
245
|
* @param guid Unique identifier for an order.
|
|
197
246
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
198
247
|
* @param requestBody Refund request details.
|
|
248
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
199
249
|
* @returns SuccessResponse Returns success status after submitting the refund request.
|
|
200
250
|
* @throws ApiError
|
|
201
251
|
*/
|
|
202
252
|
static postRefundRequest(guid: string, requestBody: RefundRequest, context?: {
|
|
203
253
|
shopperGuid?: string;
|
|
204
254
|
accountId?: string;
|
|
205
|
-
}): CancelablePromise<SuccessResponse>;
|
|
255
|
+
}, xDrtDomain?: string): CancelablePromise<SuccessResponse>;
|
|
206
256
|
/**
|
|
207
257
|
* Recalculate order totals
|
|
208
258
|
* Recalculates the totals for an order using the provided recalculation data.
|
|
209
259
|
* @param guid Unique identifier for an order.
|
|
210
260
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
211
261
|
* @param requestBody Order recalculation data.
|
|
262
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
212
263
|
* @returns RecalcResponse Returns the recalculated order totals and success status.
|
|
213
264
|
* @throws ApiError
|
|
214
265
|
*/
|
|
215
266
|
static postRecalcOrder(guid: string, requestBody: OrderRecalc, context?: {
|
|
216
267
|
shopperGuid?: string;
|
|
217
268
|
accountId?: string;
|
|
218
|
-
}): CancelablePromise<RecalcResponse>;
|
|
269
|
+
}, xDrtDomain?: string): CancelablePromise<RecalcResponse>;
|
|
219
270
|
/**
|
|
220
271
|
* Donate order in lieu of refund
|
|
221
272
|
* Marks an order as donated in lieu of refund using the provided order guid and donated IP address.
|
|
222
273
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
223
274
|
* @param requestBody Donate order payload containing guid and donatedIpAddress.
|
|
275
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
224
276
|
* @returns SuccessResponse Returns success status after donating the order.
|
|
225
277
|
* @throws ApiError
|
|
226
278
|
*/
|
|
227
279
|
static postDonateOrder(requestBody: DonateOrderRequest, context?: {
|
|
228
280
|
shopperGuid?: string;
|
|
229
281
|
accountId?: string;
|
|
230
|
-
}): CancelablePromise<SuccessResponse>;
|
|
282
|
+
}, xDrtDomain?: string): CancelablePromise<SuccessResponse>;
|
|
231
283
|
/**
|
|
232
284
|
* Get virtual-stream details/embed for an order
|
|
233
285
|
* Returns the stream provider/code/embed/links and whether it's available right now (date-gated by the session effective date). The stream must belong to the order (VS-1).
|
|
234
286
|
* @param orderGuid
|
|
235
287
|
* @param streamGuid
|
|
236
288
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
289
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
237
290
|
* @returns StreamDetails Returns the stream details.
|
|
238
291
|
* @throws ApiError
|
|
239
292
|
*/
|
|
240
293
|
static getStreamDetails(orderGuid: string, streamGuid: string, context?: {
|
|
241
294
|
shopperGuid?: string;
|
|
242
295
|
accountId?: string;
|
|
243
|
-
}): CancelablePromise<StreamDetails>;
|
|
296
|
+
}, xDrtDomain?: string): CancelablePromise<StreamDetails>;
|
|
297
|
+
/**
|
|
298
|
+
* Is this device still authorised to watch? (VS-2)
|
|
299
|
+
* The watch heartbeat, polled while a stream plays (legacy tv/rpc/check-auth.cfm, every 10s from the receipt and every 30s from /tv). Authorised means an assoc row exists for this registration guid, scoped to the stream (and to the order when one is supplied), matching either the caller's IP or their access guid — so every revoke path in the system (the studio reset, a per-row invite reset, Stop Watching, deleting the row) closes playback within one poll. A row matched on the ACCESS GUID from a new address re-binds the stored IP, which is what lets a phone move from wifi to cellular and keep playing. `expired` is judged against the session effective date and falls back to the show end when date_unavailable is NULL. Staff sessions always pass.
|
|
300
|
+
* @param registrationGuid
|
|
301
|
+
* @param streamGuid
|
|
302
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
303
|
+
* @param accessGuid
|
|
304
|
+
* @param orderGuid
|
|
305
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
306
|
+
* @returns StreamAuthorization Returns the authorisation decision.
|
|
307
|
+
* @throws ApiError
|
|
308
|
+
*/
|
|
309
|
+
static getStreamAuthorization(registrationGuid: string, streamGuid: string, context?: {
|
|
310
|
+
shopperGuid?: string;
|
|
311
|
+
accountId?: string;
|
|
312
|
+
}, accessGuid?: string, orderGuid?: string, xDrtDomain?: string): CancelablePromise<StreamAuthorization>;
|
|
313
|
+
/**
|
|
314
|
+
* Resolve a shared /tv/{code} watch link (VS-2)
|
|
315
|
+
* Takes the qecom_order_virtual_stream_assoc guid that dbo.sendVideoLink mails to each invited viewer and answers the playback payload for it (legacy tv/index.cfm). On first view the row is bound to the caller's IP and an access guid is minted. A caller from a different IP with no matching access guid is refused; one holding the token re-binds the row instead. Staff skip both. Availability is judged against the session effective date, not the wall clock legacy used, and falls back to the show start/end. It deliberately does NOT return the order guid: that is a bearer token for the whole receipt and a watch link is forwarded by design.
|
|
316
|
+
* @param code
|
|
317
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
318
|
+
* @param accessGuid
|
|
319
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
320
|
+
* @returns SharedStream Returns the shared stream.
|
|
321
|
+
* @throws ApiError
|
|
322
|
+
*/
|
|
323
|
+
static getSharedStream(code: string, context?: {
|
|
324
|
+
shopperGuid?: string;
|
|
325
|
+
accountId?: string;
|
|
326
|
+
}, accessGuid?: string, xDrtDomain?: string): CancelablePromise<SharedStream>;
|
|
327
|
+
/**
|
|
328
|
+
* The stream invite list for an order (VS-3)
|
|
329
|
+
* One row per ticket purchased for the stream's show on this order — which is the only concurrency cap the product has (legacy virtual-stream-email-form.cfm). No assoc guid is returned: the guid is the watch credential, and the buyer's tool is "send the email", not "hand me the token".
|
|
330
|
+
* @param orderGuid
|
|
331
|
+
* @param streamGuid
|
|
332
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
333
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
334
|
+
* @returns StreamInvitesResponse Returns the invite rows.
|
|
335
|
+
* @throws ApiError
|
|
336
|
+
*/
|
|
337
|
+
static getStreamInvites(orderGuid: string, streamGuid: string, context?: {
|
|
338
|
+
shopperGuid?: string;
|
|
339
|
+
accountId?: string;
|
|
340
|
+
}, xDrtDomain?: string): CancelablePromise<StreamInvitesResponse>;
|
|
341
|
+
/**
|
|
342
|
+
* Save the stream invite rows and send the links (VS-3)
|
|
343
|
+
* Row 1 is the buyer and is required. An emptied or changed address deletes its row, which revokes that link — the intended behaviour, not a side effect. A new or changed address gets a fresh guid and dbo.sendVideoLink mails it; `resend` re-mails unchanged rows too (legacy virtual-stream-email-send.cfm).
|
|
344
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
345
|
+
* @param requestBody Invite rows.
|
|
346
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
347
|
+
* @returns SaveStreamInvitesResponse Returns how many invite emails were sent.
|
|
348
|
+
* @throws ApiError
|
|
349
|
+
*/
|
|
350
|
+
static saveStreamInvites(requestBody: SaveStreamInvitesRequest, context?: {
|
|
351
|
+
shopperGuid?: string;
|
|
352
|
+
accountId?: string;
|
|
353
|
+
}, xDrtDomain?: string): CancelablePromise<SaveStreamInvitesResponse>;
|
|
354
|
+
/**
|
|
355
|
+
* Clear one invite row's registration (VS-3)
|
|
356
|
+
* Nulls ip_address + access_guid for ONE invite row, so that viewer can start again on a new network. Deliberately per-row: the legacy checkbox promised "clear that email's IP registration" but its SQL had no guid filter and reset every viewer on the stream, the purchaser included.
|
|
357
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
358
|
+
* @param requestBody Which invite row to reset.
|
|
359
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
360
|
+
* @returns SuccessResponse Returns success.
|
|
361
|
+
* @throws ApiError
|
|
362
|
+
*/
|
|
363
|
+
static resetStreamInvite(requestBody: ResetStreamInviteRequest, context?: {
|
|
364
|
+
shopperGuid?: string;
|
|
365
|
+
accountId?: string;
|
|
366
|
+
}, xDrtDomain?: string): CancelablePromise<SuccessResponse>;
|
|
367
|
+
/**
|
|
368
|
+
* Record a digital-asset download (VS-4)
|
|
369
|
+
* Proves the asset ↔ order ↔ seat linkage, writes digital_asset_download_log (asset, order, IP) and returns the href from the same statement (legacy r/digital-asset-download.cfm). The IP is the server's own req.ip — a browser-supplied one would make the audit trail AdminPortal shows studios forgeable.
|
|
370
|
+
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
371
|
+
* @param requestBody The order and asset to log.
|
|
372
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
373
|
+
* @returns AssetDownloadResponse Returns the asset href.
|
|
374
|
+
* @throws ApiError
|
|
375
|
+
*/
|
|
376
|
+
static logAssetDownload(requestBody: AssetDownloadRequest, context?: {
|
|
377
|
+
shopperGuid?: string;
|
|
378
|
+
accountId?: string;
|
|
379
|
+
}, xDrtDomain?: string): CancelablePromise<AssetDownloadResponse>;
|
|
244
380
|
/**
|
|
245
381
|
* Get the digital-download link for a stream
|
|
246
382
|
* Returns the best-quality digital-download cloud URL for a stream on the order (VS-1, legacy digital-download-get-link).
|
|
247
383
|
* @param orderGuid
|
|
248
384
|
* @param streamGuid
|
|
249
385
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
386
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
250
387
|
* @returns StreamDownloadLink Returns the download link.
|
|
251
388
|
* @throws ApiError
|
|
252
389
|
*/
|
|
253
390
|
static getStreamDownloadLink(orderGuid: string, streamGuid: string, context?: {
|
|
254
391
|
shopperGuid?: string;
|
|
255
392
|
accountId?: string;
|
|
256
|
-
}): CancelablePromise<StreamDownloadLink>;
|
|
393
|
+
}, xDrtDomain?: string): CancelablePromise<StreamDownloadLink>;
|
|
257
394
|
/**
|
|
258
395
|
* Register a stream for a shopper
|
|
259
396
|
* Registers a stream for the specified shopper and account using the provided stream registration details.
|
|
260
397
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
261
398
|
* @param requestBody Stream registration details.
|
|
399
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
262
400
|
* @returns RegisterStreamResponse Returns the stream registration response.
|
|
263
401
|
* @throws ApiError
|
|
264
402
|
*/
|
|
265
403
|
static postRegisterStream(requestBody: RegisterStreamRequest, context?: {
|
|
266
404
|
shopperGuid?: string;
|
|
267
405
|
accountId?: string;
|
|
268
|
-
}): CancelablePromise<RegisterStreamResponse>;
|
|
406
|
+
}, xDrtDomain?: string): CancelablePromise<RegisterStreamResponse>;
|
|
269
407
|
/**
|
|
270
408
|
* Deregister a stream for a shopper
|
|
271
409
|
* Removes the stream registration for the specified shopper and account using the provided stream registration details.
|
|
272
410
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
273
411
|
* @param requestBody Stream registration details to be deregistered.
|
|
412
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
274
413
|
* @returns SuccessResponse Returns success status after deregistering the stream.
|
|
275
414
|
* @throws ApiError
|
|
276
415
|
*/
|
|
277
416
|
static deleteRegisteredStream(requestBody: RegisterStreamRequest, context?: {
|
|
278
417
|
shopperGuid?: string;
|
|
279
418
|
accountId?: string;
|
|
280
|
-
}): CancelablePromise<SuccessResponse>;
|
|
419
|
+
}, xDrtDomain?: string): CancelablePromise<SuccessResponse>;
|
|
281
420
|
/**
|
|
282
421
|
* Start an exchange (arm the exchange lock)
|
|
283
422
|
* Validates the order and exchange policy, applies the re-modification block (an already-exchanged order or one with a live refund request is rejected, clearing any stale lock), and arms the session exchange lock (modifyingOrderId) that /order/exchange/validate, /order/exchange/upcharge, and POST /order/exchange require (EXT-2, legacy r/exchange.cfm page load). Returns the refund-messaging and online-upcharge gating flags for the exchange UI.
|
|
284
423
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
285
424
|
* @param requestBody
|
|
425
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
286
426
|
* @returns ExchangeStartResponse Exchange started; lock armed.
|
|
287
427
|
* @throws ApiError
|
|
288
428
|
*/
|
|
289
429
|
static startExchange(requestBody: ExchangeStartRequest, context?: {
|
|
290
430
|
shopperGuid?: string;
|
|
291
431
|
accountId?: string;
|
|
292
|
-
}): CancelablePromise<ExchangeStartResponse>;
|
|
432
|
+
}, xDrtDomain?: string): CancelablePromise<ExchangeStartResponse>;
|
|
293
433
|
/**
|
|
294
434
|
* Get the order's exchange-eligible seats
|
|
295
435
|
* Returns the seats on the order that can be exchanged out, with hasStarted/hasEnded flags so the UI can block ended shows (EXT-9, legacy r/exchange.cfm seat list). Ended-show seats are also rejected server-side at execute time.
|
|
296
436
|
* @param guid Unique identifier for an order.
|
|
297
437
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
438
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
298
439
|
* @returns ExchangeEligibleSeatsResponse Returns the exchange-eligible seats.
|
|
299
440
|
* @throws ApiError
|
|
300
441
|
*/
|
|
301
442
|
static getExchangeEligibleSeats(guid: string, context?: {
|
|
302
443
|
shopperGuid?: string;
|
|
303
444
|
accountId?: string;
|
|
304
|
-
}): CancelablePromise<ExchangeEligibleSeatsResponse>;
|
|
445
|
+
}, xDrtDomain?: string): CancelablePromise<ExchangeEligibleSeatsResponse>;
|
|
305
446
|
/**
|
|
306
447
|
* List shows available to exchange into
|
|
307
448
|
* Returns the shows a buyer can exchange into (ticketed, on sale, in the future) plus how many seats they already hold (EXC-1). Load GA tiers/pricing for a target via GET /event/:id/ga.
|
|
308
449
|
* @param guid Unique identifier for an order.
|
|
309
450
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
451
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
310
452
|
* @returns ExchangeShowsResponse Returns exchange-eligible shows and held-seat count.
|
|
311
453
|
* @throws ApiError
|
|
312
454
|
*/
|
|
313
455
|
static getExchangeShows(guid: string, context?: {
|
|
314
456
|
shopperGuid?: string;
|
|
315
457
|
accountId?: string;
|
|
316
|
-
}): CancelablePromise<ExchangeShowsResponse>;
|
|
458
|
+
}, xDrtDomain?: string): CancelablePromise<ExchangeShowsResponse>;
|
|
317
459
|
/**
|
|
318
460
|
* Get the seats currently held for the exchange
|
|
319
461
|
* Returns the seats held in the exchange cart (EXC-1).
|
|
320
462
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
463
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
321
464
|
* @returns SeatInCart Returns the held exchange seats.
|
|
322
465
|
* @throws ApiError
|
|
323
466
|
*/
|
|
324
467
|
static getExchangeSeats(context?: {
|
|
325
468
|
shopperGuid?: string;
|
|
326
469
|
accountId?: string;
|
|
327
|
-
}): CancelablePromise<Array<SeatInCart>>;
|
|
470
|
+
}, xDrtDomain?: string): CancelablePromise<Array<SeatInCart>>;
|
|
328
471
|
/**
|
|
329
472
|
* Save per-seat answers for the new exchange seats
|
|
330
473
|
* Persists checkout answers for the new seats being exchanged into (EXC-1, legacy exchange-questions-save).
|
|
331
474
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
332
475
|
* @param requestBody
|
|
476
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
333
477
|
* @returns SuccessResponse Returns success after saving answers.
|
|
334
478
|
* @throws ApiError
|
|
335
479
|
*/
|
|
336
480
|
static saveExchangeAnswers(requestBody: ExchangeAnswersBody, context?: {
|
|
337
481
|
shopperGuid?: string;
|
|
338
482
|
accountId?: string;
|
|
339
|
-
}): CancelablePromise<SuccessResponse>;
|
|
483
|
+
}, xDrtDomain?: string): CancelablePromise<SuccessResponse>;
|
|
340
484
|
/**
|
|
341
485
|
* Release one held seat during an exchange
|
|
342
486
|
* Releases a single held seat from the exchange cart; clears the cart timer when no held seats remain (EXC-1, legacy exchange-cancel).
|
|
343
487
|
* @param showId
|
|
344
488
|
* @param seatId
|
|
345
489
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
490
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
346
491
|
* @returns ExchangeCancelSeatResponse Returns success and whether the cart timer still runs.
|
|
347
492
|
* @throws ApiError
|
|
348
493
|
*/
|
|
349
494
|
static cancelExchangeSeat(showId: number, seatId: number, context?: {
|
|
350
495
|
shopperGuid?: string;
|
|
351
496
|
accountId?: string;
|
|
352
|
-
}): CancelablePromise<ExchangeCancelSeatResponse>;
|
|
497
|
+
}, xDrtDomain?: string): CancelablePromise<ExchangeCancelSeatResponse>;
|
|
353
498
|
/**
|
|
354
499
|
* Cancel an in-progress exchange
|
|
355
500
|
* Aborts an in-progress exchange: releases all held seats, clears the cart timer, and clears the exchange lock (EXC-1, legacy exchange-cancel-all).
|
|
356
501
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
502
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
357
503
|
* @returns ExchangeCancelResponse Returns success and whether the exchange lock was cleared.
|
|
358
504
|
* @throws ApiError
|
|
359
505
|
*/
|
|
360
506
|
static cancelExchange(context?: {
|
|
361
507
|
shopperGuid?: string;
|
|
362
508
|
accountId?: string;
|
|
363
|
-
}): CancelablePromise<ExchangeCancelResponse>;
|
|
509
|
+
}, xDrtDomain?: string): CancelablePromise<ExchangeCancelResponse>;
|
|
364
510
|
/**
|
|
365
511
|
* Execute a seat exchange for an order
|
|
366
512
|
* Swaps seats held in the cart for the seats specified in seatIds on an existing order.
|
|
367
513
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
368
514
|
* @param requestBody Exchange request containing the order GUID and seat IDs to exchange out.
|
|
515
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
369
516
|
* @returns SuccessResponse Returns success after completing the exchange.
|
|
370
517
|
* @throws ApiError
|
|
371
518
|
*/
|
|
372
519
|
static postExchange(requestBody: ExchangeRequest, context?: {
|
|
373
520
|
shopperGuid?: string;
|
|
374
521
|
accountId?: string;
|
|
375
|
-
}): CancelablePromise<SuccessResponse>;
|
|
522
|
+
}, xDrtDomain?: string): CancelablePromise<SuccessResponse>;
|
|
376
523
|
/**
|
|
377
524
|
* Validate an in-progress exchange without swapping seats
|
|
378
525
|
* Reruns the studio's order validation rules against the recalculated post-exchange order WITHOUT swapping seats or collecting any payment (EXC-4) — used by the legacy exchange tool's execute step for even exchanges and downgrades, which never reach the upcharge endpoint. The session must hold the exchange lock for the order and the held cart must match the outgoing seats. A failing rule rejects with ORDER_VALIDATION_FAILED ("Order validation has failed."). Returns the money consequence (balanceOwed / refundDue / willCreateRefund) so the review step can show it before the buyer confirms (EXT-5).
|
|
379
526
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
380
527
|
* @param requestBody Validation request containing the order GUID and the seats being exchanged out.
|
|
528
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
381
529
|
* @returns ExchangeValidateResponse Returns success plus the recalculated money consequence.
|
|
382
530
|
* @throws ApiError
|
|
383
531
|
*/
|
|
384
532
|
static validateExchange(requestBody: ExchangeValidateRequest, context?: {
|
|
385
533
|
shopperGuid?: string;
|
|
386
534
|
accountId?: string;
|
|
387
|
-
}): CancelablePromise<ExchangeValidateResponse>;
|
|
535
|
+
}, xDrtDomain?: string): CancelablePromise<ExchangeValidateResponse>;
|
|
388
536
|
/**
|
|
389
537
|
* Collect the upcharge for an in-progress exchange
|
|
390
538
|
* Charges the additional amount owed for an in-progress exchange WITHOUT swapping seats (EXC-3) — used by the legacy exchange tool, whose execute step performs the seat swap itself. The session must hold the exchange lock for the order, the held cart must match the outgoing seats, and the amount is recomputed server-side before Payment-API charges the card saved by /payment/customer + /payment/summary.
|
|
391
539
|
* @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
|
|
392
540
|
* @param requestBody Upcharge request containing the order GUID and the seats being exchanged out.
|
|
541
|
+
* @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
|
|
393
542
|
* @returns ExchangeUpchargeResponse Returns the recorded upcharge payment details.
|
|
394
543
|
* @throws ApiError
|
|
395
544
|
*/
|
|
396
545
|
static collectExchangeUpcharge(requestBody: ExchangeUpchargeRequest, context?: {
|
|
397
546
|
shopperGuid?: string;
|
|
398
547
|
accountId?: string;
|
|
399
|
-
}): CancelablePromise<ExchangeUpchargeResponse>;
|
|
548
|
+
}, xDrtDomain?: string): CancelablePromise<ExchangeUpchargeResponse>;
|
|
400
549
|
}
|