@drttix/drt-sdk 1.2.5 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
  2. package/dist/cjs/src/generated/portal/services/ShowsService.d.ts +4 -2
  3. package/dist/cjs/src/generated/portal/services/ShowsService.js +10 -4
  4. package/dist/cjs/src/generated/shopper/core/OpenAPI.js +1 -1
  5. package/dist/cjs/src/generated/shopper/index.d.ts +8 -0
  6. package/dist/cjs/src/generated/shopper/models/Account.d.ts +10 -0
  7. package/dist/cjs/src/generated/shopper/models/CartHashResponse.d.ts +6 -0
  8. package/dist/cjs/src/generated/shopper/models/CartHashResponse.js +2 -0
  9. package/dist/cjs/src/generated/shopper/models/CartItemCounts.d.ts +10 -0
  10. package/dist/cjs/src/generated/shopper/models/CartItemCounts.js +2 -0
  11. package/dist/cjs/src/generated/shopper/models/CartSummary.d.ts +26 -0
  12. package/dist/cjs/src/generated/shopper/models/CartSummary.js +2 -0
  13. package/dist/cjs/src/generated/shopper/models/CashPaymentDetail.d.ts +18 -0
  14. package/dist/cjs/src/generated/shopper/models/CashPaymentDetail.js +2 -0
  15. package/dist/cjs/src/generated/shopper/models/DonateOrderRequest.d.ts +4 -0
  16. package/dist/cjs/src/generated/shopper/models/DonateOrderRequest.js +2 -0
  17. package/dist/cjs/src/generated/shopper/models/ExchangeRequest.d.ts +11 -0
  18. package/dist/cjs/src/generated/shopper/models/ExchangeRequest.js +2 -0
  19. package/dist/cjs/src/generated/shopper/models/SeatIdInput.d.ts +4 -0
  20. package/dist/cjs/src/generated/shopper/models/SeatIdInput.js +2 -0
  21. package/dist/cjs/src/generated/shopper/models/SeatsByShow.d.ts +18 -0
  22. package/dist/cjs/src/generated/shopper/models/SeatsByShow.js +2 -0
  23. package/dist/cjs/src/generated/shopper/models/SessionInfoDto.d.ts +9 -0
  24. package/dist/cjs/src/generated/shopper/services/CartService.d.ts +24 -0
  25. package/dist/cjs/src/generated/shopper/services/CartService.js +51 -0
  26. package/dist/cjs/src/generated/shopper/services/OrderService.d.ts +18 -0
  27. package/dist/cjs/src/generated/shopper/services/OrderService.js +40 -0
  28. package/dist/cjs/src/generated/shopper/types.d.ts +8 -0
  29. package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
  30. package/dist/esm/src/generated/portal/services/ShowsService.d.ts +4 -2
  31. package/dist/esm/src/generated/portal/services/ShowsService.js +10 -4
  32. package/dist/esm/src/generated/shopper/core/OpenAPI.js +1 -1
  33. package/dist/esm/src/generated/shopper/index.d.ts +8 -0
  34. package/dist/esm/src/generated/shopper/models/Account.d.ts +10 -0
  35. package/dist/esm/src/generated/shopper/models/CartHashResponse.d.ts +6 -0
  36. package/dist/esm/src/generated/shopper/models/CartHashResponse.js +1 -0
  37. package/dist/esm/src/generated/shopper/models/CartItemCounts.d.ts +10 -0
  38. package/dist/esm/src/generated/shopper/models/CartItemCounts.js +1 -0
  39. package/dist/esm/src/generated/shopper/models/CartSummary.d.ts +26 -0
  40. package/dist/esm/src/generated/shopper/models/CartSummary.js +1 -0
  41. package/dist/esm/src/generated/shopper/models/CashPaymentDetail.d.ts +18 -0
  42. package/dist/esm/src/generated/shopper/models/CashPaymentDetail.js +1 -0
  43. package/dist/esm/src/generated/shopper/models/DonateOrderRequest.d.ts +4 -0
  44. package/dist/esm/src/generated/shopper/models/DonateOrderRequest.js +1 -0
  45. package/dist/esm/src/generated/shopper/models/ExchangeRequest.d.ts +11 -0
  46. package/dist/esm/src/generated/shopper/models/ExchangeRequest.js +1 -0
  47. package/dist/esm/src/generated/shopper/models/SeatIdInput.d.ts +4 -0
  48. package/dist/esm/src/generated/shopper/models/SeatIdInput.js +1 -0
  49. package/dist/esm/src/generated/shopper/models/SeatsByShow.d.ts +18 -0
  50. package/dist/esm/src/generated/shopper/models/SeatsByShow.js +1 -0
  51. package/dist/esm/src/generated/shopper/models/SessionInfoDto.d.ts +9 -0
  52. package/dist/esm/src/generated/shopper/services/CartService.d.ts +24 -0
  53. package/dist/esm/src/generated/shopper/services/CartService.js +51 -0
  54. package/dist/esm/src/generated/shopper/services/OrderService.d.ts +18 -0
  55. package/dist/esm/src/generated/shopper/services/OrderService.js +40 -0
  56. package/dist/esm/src/generated/shopper/types.d.ts +8 -0
  57. package/package.json +1 -1
  58. package/src/generated/portal/core/OpenAPI.ts +1 -1
  59. package/src/generated/portal/services/ShowsService.ts +11 -3
  60. package/src/generated/shopper/core/OpenAPI.ts +1 -1
  61. package/src/generated/shopper/index.ts +8 -0
  62. package/src/generated/shopper/models/Account.ts +10 -0
  63. package/src/generated/shopper/models/CartHashResponse.ts +11 -0
  64. package/src/generated/shopper/models/CartItemCounts.ts +15 -0
  65. package/src/generated/shopper/models/CartSummary.ts +31 -0
  66. package/src/generated/shopper/models/CashPaymentDetail.ts +23 -0
  67. package/src/generated/shopper/models/DonateOrderRequest.ts +9 -0
  68. package/src/generated/shopper/models/ExchangeRequest.ts +16 -0
  69. package/src/generated/shopper/models/SeatIdInput.ts +9 -0
  70. package/src/generated/shopper/models/SeatsByShow.ts +23 -0
  71. package/src/generated/shopper/models/SessionInfoDto.ts +9 -0
  72. package/src/generated/shopper/services/CartService.ts +57 -0
  73. package/src/generated/shopper/services/OrderService.ts +46 -0
  74. package/src/generated/shopper/types.ts +8 -0
@@ -0,0 +1,10 @@
1
+ export type CartItemCounts = {
2
+ /**
3
+ * Number of products available for the account on the session date.
4
+ */
5
+ numProducts: number;
6
+ /**
7
+ * Number of donation funds available for the account on the session date.
8
+ */
9
+ numFunds: number;
10
+ };
@@ -0,0 +1,26 @@
1
+ import type { CartItemCounts } from './CartItemCounts';
2
+ import type { CheckoutDonation } from './CheckoutDonation';
3
+ import type { CheckoutProduct } from './CheckoutProduct';
4
+ import type { SeatsByShow } from './SeatsByShow';
5
+ export type CartSummary = {
6
+ /**
7
+ * Number of shows currently available to the shopper.
8
+ */
9
+ availableShowCount: number;
10
+ /**
11
+ * Products currently in the session.
12
+ */
13
+ products: Array<CheckoutProduct>;
14
+ /**
15
+ * Donations currently in the session.
16
+ */
17
+ donations: Array<CheckoutDonation>;
18
+ /**
19
+ * Held seats grouped by show.
20
+ */
21
+ seatsGroupedByShow: Array<SeatsByShow>;
22
+ /**
23
+ * Count of available products and donation funds.
24
+ */
25
+ availableItemCounts: CartItemCounts;
26
+ };
@@ -0,0 +1,18 @@
1
+ export type CashPaymentDetail = {
2
+ /**
3
+ * The total amount of the order
4
+ */
5
+ orderTotal: number;
6
+ /**
7
+ * The total amount paid via cash/adjustments
8
+ */
9
+ paymentsTotal: number;
10
+ /**
11
+ * House card code for cash payment
12
+ */
13
+ code: string;
14
+ /**
15
+ * House card PIN for cash payment
16
+ */
17
+ pin: string;
18
+ };
@@ -0,0 +1,4 @@
1
+ export type DonateOrderRequest = {
2
+ guid: string;
3
+ donatedIpAddress: string;
4
+ };
@@ -0,0 +1,11 @@
1
+ import type { SeatIdInput } from './SeatIdInput';
2
+ export type ExchangeRequest = {
3
+ /**
4
+ * Order GUID
5
+ */
6
+ guid: string;
7
+ /**
8
+ * Seats to exchange out
9
+ */
10
+ seats: Array<SeatIdInput>;
11
+ };
@@ -0,0 +1,4 @@
1
+ export type SeatIdInput = {
2
+ showId: number;
3
+ seatId: number;
4
+ };
@@ -0,0 +1,18 @@
1
+ export type SeatsByShow = {
2
+ /**
3
+ * Number of seats held for the show.
4
+ */
5
+ numSeats: number;
6
+ /**
7
+ * Full name of the show.
8
+ */
9
+ showName: string;
10
+ /**
11
+ * Short display name of the show.
12
+ */
13
+ shortName: string;
14
+ /**
15
+ * Title of the show.
16
+ */
17
+ showTitle: Record<string, any>;
18
+ };
@@ -14,4 +14,13 @@ export type SessionInfoDto = {
14
14
  superuser: boolean;
15
15
  expireOnUnlock: boolean;
16
16
  tierReminderShown: boolean;
17
+ modifyingOrderId: number | null;
18
+ /**
19
+ * Resolved session/cart effective date (legacy cart_sessionDate). Use this for availability/priority checks instead of new Date().
20
+ */
21
+ effectiveDate: string;
22
+ /**
23
+ * Whether an admin/preview date override is active.
24
+ */
25
+ usingDateOverride: boolean;
17
26
  };
@@ -1,4 +1,7 @@
1
+ import type { CartHashResponse } from '../models/CartHashResponse';
2
+ import type { CartSummary } from '../models/CartSummary';
1
3
  import type { CartWithTime } from '../models/CartWithTime';
4
+ import type { CashPaymentDetail } from '../models/CashPaymentDetail';
2
5
  import type { CancelablePromise } from '../core/CancelablePromise';
3
6
  export declare class CartService {
4
7
  /**
@@ -15,4 +18,25 @@ export declare class CartService {
15
18
  * @throws ApiError
16
19
  */
17
20
  static deleteCart(): CancelablePromise<any>;
21
+ /**
22
+ * Get Cart Summary
23
+ * Returns a consolidated summary of the shopper's current cart, including: products in session, donations in session, held seats grouped by show, the count of available shows, and the count of available products and donation funds for the account based on the session date.
24
+ * @returns CartSummary Cart summary retrieved successfully.
25
+ * @throws ApiError
26
+ */
27
+ static getCartSummary(): CancelablePromise<CartSummary>;
28
+ /**
29
+ * Get Cart Hash
30
+ * Returns the computed cart hash for the current shopper session.
31
+ * @returns CartHashResponse Cart hash retrieved successfully.
32
+ * @throws ApiError
33
+ */
34
+ static getCartHash(): CancelablePromise<CartHashResponse>;
35
+ /**
36
+ * Get Cash Payment Detail
37
+ * Returns cash payment details for the current shopper session, including order total, payments total, and house card credentials.
38
+ * @returns CashPaymentDetail Cash payment detail retrieved successfully.
39
+ * @throws ApiError
40
+ */
41
+ static getCashPaymentDetail(): CancelablePromise<CashPaymentDetail>;
18
42
  }
@@ -35,4 +35,55 @@ export class CartService {
35
35
  },
36
36
  });
37
37
  }
38
+ /**
39
+ * Get Cart Summary
40
+ * Returns a consolidated summary of the shopper's current cart, including: products in session, donations in session, held seats grouped by show, the count of available shows, and the count of available products and donation funds for the account based on the session date.
41
+ * @returns CartSummary Cart summary retrieved successfully.
42
+ * @throws ApiError
43
+ */
44
+ static getCartSummary() {
45
+ return __request(OpenAPI, {
46
+ method: 'GET',
47
+ url: '/cart/summary',
48
+ errors: {
49
+ 400: `Bad Request error with error details.`,
50
+ 404: `Not found error with error details.`,
51
+ 500: `Internal Server Error, please contact developers.`,
52
+ },
53
+ });
54
+ }
55
+ /**
56
+ * Get Cart Hash
57
+ * Returns the computed cart hash for the current shopper session.
58
+ * @returns CartHashResponse Cart hash retrieved successfully.
59
+ * @throws ApiError
60
+ */
61
+ static getCartHash() {
62
+ return __request(OpenAPI, {
63
+ method: 'GET',
64
+ url: '/cart/hash',
65
+ errors: {
66
+ 400: `Bad Request error with error details.`,
67
+ 404: `Not found error with error details.`,
68
+ 500: `Internal Server Error, please contact developers.`,
69
+ },
70
+ });
71
+ }
72
+ /**
73
+ * Get Cash Payment Detail
74
+ * Returns cash payment details for the current shopper session, including order total, payments total, and house card credentials.
75
+ * @returns CashPaymentDetail Cash payment detail retrieved successfully.
76
+ * @throws ApiError
77
+ */
78
+ static getCashPaymentDetail() {
79
+ return __request(OpenAPI, {
80
+ method: 'GET',
81
+ url: '/cart/cash-payment-detail',
82
+ errors: {
83
+ 400: `Bad Request error with error details.`,
84
+ 404: `Not found error with error details.`,
85
+ 500: `Internal Server Error, please contact developers.`,
86
+ },
87
+ });
88
+ }
38
89
  }
@@ -1,5 +1,7 @@
1
1
  import type { AssignNamesReturn } from '../models/AssignNamesReturn';
2
+ import type { DonateOrderRequest } from '../models/DonateOrderRequest';
2
3
  import type { EmailUpdate } from '../models/EmailUpdate';
4
+ import type { ExchangeRequest } from '../models/ExchangeRequest';
3
5
  import type { GuidReturn } from '../models/GuidReturn';
4
6
  import type { LinkWithSuccess } from '../models/LinkWithSuccess';
5
7
  import type { NameUpdate } from '../models/NameUpdate';
@@ -114,6 +116,14 @@ export declare class OrderService {
114
116
  * @throws ApiError
115
117
  */
116
118
  static postRecalcOrder(guid: string, requestBody: OrderRecalc): CancelablePromise<RecalcResponse>;
119
+ /**
120
+ * Donate order in lieu of refund
121
+ * Marks an order as donated in lieu of refund using the provided order guid and donated IP address.
122
+ * @param requestBody Donate order payload containing guid and donatedIpAddress.
123
+ * @returns SuccessResponse Returns success status after donating the order.
124
+ * @throws ApiError
125
+ */
126
+ static postDonateOrder(requestBody: DonateOrderRequest): CancelablePromise<SuccessResponse>;
117
127
  /**
118
128
  * Register a stream for a shopper
119
129
  * Registers a stream for the specified shopper and account using the provided stream registration details.
@@ -130,4 +140,12 @@ export declare class OrderService {
130
140
  * @throws ApiError
131
141
  */
132
142
  static deleteRegisteredStream(requestBody: RegisterStreamRequest): CancelablePromise<SuccessResponse>;
143
+ /**
144
+ * Execute a seat exchange for an order
145
+ * Swaps seats held in the cart for the seats specified in seatIds on an existing order.
146
+ * @param requestBody Exchange request containing the order GUID and seat IDs to exchange out.
147
+ * @returns SuccessResponse Returns success after completing the exchange.
148
+ * @throws ApiError
149
+ */
150
+ static postExchange(requestBody: ExchangeRequest): CancelablePromise<SuccessResponse>;
133
151
  }
@@ -265,6 +265,26 @@ export class OrderService {
265
265
  },
266
266
  });
267
267
  }
268
+ /**
269
+ * Donate order in lieu of refund
270
+ * Marks an order as donated in lieu of refund using the provided order guid and donated IP address.
271
+ * @param requestBody Donate order payload containing guid and donatedIpAddress.
272
+ * @returns SuccessResponse Returns success status after donating the order.
273
+ * @throws ApiError
274
+ */
275
+ static postDonateOrder(requestBody) {
276
+ return __request(OpenAPI, {
277
+ method: 'POST',
278
+ url: '/order/donate-order',
279
+ body: requestBody,
280
+ mediaType: 'application/json',
281
+ errors: {
282
+ 400: `Bad Request error with error details.`,
283
+ 404: `Not found error with error details.`,
284
+ 500: `Internal Server Error, please contact developers.`,
285
+ },
286
+ });
287
+ }
268
288
  /**
269
289
  * Register a stream for a shopper
270
290
  * Registers a stream for the specified shopper and account using the provided stream registration details.
@@ -305,4 +325,24 @@ export class OrderService {
305
325
  },
306
326
  });
307
327
  }
328
+ /**
329
+ * Execute a seat exchange for an order
330
+ * Swaps seats held in the cart for the seats specified in seatIds on an existing order.
331
+ * @param requestBody Exchange request containing the order GUID and seat IDs to exchange out.
332
+ * @returns SuccessResponse Returns success after completing the exchange.
333
+ * @throws ApiError
334
+ */
335
+ static postExchange(requestBody) {
336
+ return __request(OpenAPI, {
337
+ method: 'POST',
338
+ url: '/order/exchange',
339
+ body: requestBody,
340
+ mediaType: 'application/json',
341
+ errors: {
342
+ 400: `Bad Request error with error details.`,
343
+ 404: `Not found error with error details.`,
344
+ 500: `Internal Server Error, please contact developers.`,
345
+ },
346
+ });
347
+ }
308
348
  }
@@ -7,7 +7,11 @@ export type { BAHold } from './models/BAHold';
7
7
  export type { BlockOfTickets } from './models/BlockOfTickets';
8
8
  export type { Cart } from './models/Cart';
9
9
  export type { CartCounts } from './models/CartCounts';
10
+ export type { CartHashResponse } from './models/CartHashResponse';
11
+ export type { CartItemCounts } from './models/CartItemCounts';
12
+ export type { CartSummary } from './models/CartSummary';
10
13
  export type { CartWithTime } from './models/CartWithTime';
14
+ export type { CashPaymentDetail } from './models/CashPaymentDetail';
11
15
  export type { Chart } from './models/Chart';
12
16
  export type { CheckoutDonation } from './models/CheckoutDonation';
13
17
  export type { CheckoutFailResponse } from './models/CheckoutFailResponse';
@@ -23,6 +27,7 @@ export type { CompleteBody } from './models/CompleteBody';
23
27
  export type { CreateCustomerResponse } from './models/CreateCustomerResponse';
24
28
  export type { CreateSessionDto } from './models/CreateSessionDto';
25
29
  export type { DigitalAsset } from './models/DigitalAsset';
30
+ export type { DonateOrderRequest } from './models/DonateOrderRequest';
26
31
  export type { DonationContribution } from './models/DonationContribution';
27
32
  export type { DonationFund } from './models/DonationFund';
28
33
  export type { DonationInCart } from './models/DonationInCart';
@@ -33,6 +38,7 @@ export type { EmailUpdate } from './models/EmailUpdate';
33
38
  export type { EngineSeat } from './models/EngineSeat';
34
39
  export type { EventDetails } from './models/EventDetails';
35
40
  export type { EventGroup } from './models/EventGroup';
41
+ export type { ExchangeRequest } from './models/ExchangeRequest';
36
42
  export type { ExistingRefundDetails } from './models/ExistingRefundDetails';
37
43
  export type { FullEventDetails } from './models/FullEventDetails';
38
44
  export type { GAHold } from './models/GAHold';
@@ -90,8 +96,10 @@ export type { SaveDetailsBody } from './models/SaveDetailsBody';
90
96
  export type { SaveNonceBody } from './models/SaveNonceBody';
91
97
  export type { SeatData } from './models/SeatData';
92
98
  export type { SeatHoldReturn } from './models/SeatHoldReturn';
99
+ export type { SeatIdInput } from './models/SeatIdInput';
93
100
  export type { SeatInCart } from './models/SeatInCart';
94
101
  export type { SeatingTier } from './models/SeatingTier';
102
+ export type { SeatsByShow } from './models/SeatsByShow';
95
103
  export type { Section } from './models/Section';
96
104
  export type { SectionRule } from './models/SectionRule';
97
105
  export type { SessionHeartbeatDto } from './models/SessionHeartbeatDto';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@drttix/drt-sdk",
3
3
  "description": "DRT SDK",
4
- "version": "1.2.5",
4
+ "version": "1.3.3",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
7
7
  "types": "dist/esm/index.d.ts",
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: '',
24
- VERSION: '20260615.1',
24
+ VERSION: '20260622.2',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -262,18 +262,26 @@ export class ShowsService {
262
262
  /**
263
263
  * Fetch the show virtual stream details
264
264
  * To fetch the virtual stream details of the show
265
- * @param guid The GUID of the resource
265
+ * @param guid
266
+ * @param shopperGuid Unique identifier for an shopper.
267
+ * @param showId The ID of the show
266
268
  * @returns VirtualStreamResponseDto Virtual stream details fetched successfully
267
269
  * @throws ApiError
268
270
  */
269
271
  public static getShowVirtualStream(
270
272
  guid: string,
273
+ shopperGuid: any,
274
+ showId: string,
271
275
  ): CancelablePromise<VirtualStreamResponseDto> {
272
276
  return __request(OpenAPI, {
273
277
  method: 'GET',
274
- url: '/shows/{guid}/virtual-stream',
278
+ url: '/shows/{showId}/virtual-stream',
275
279
  path: {
280
+ 'showId': showId,
281
+ },
282
+ query: {
276
283
  'guid': guid,
284
+ 'shopperGuid': shopperGuid,
277
285
  },
278
286
  });
279
287
  }
@@ -427,7 +435,7 @@ export class ShowsService {
427
435
  ): CancelablePromise<Array<SuccessResponse>> {
428
436
  return __request(OpenAPI, {
429
437
  method: 'POST',
430
- url: '/shows/shows/new',
438
+ url: '/shows/new',
431
439
  headers: {
432
440
  'x-studio-id': xStudioId,
433
441
  },
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: 'https://api.drttix.com/shopper',
24
- VERSION: '20260615.1',
24
+ VERSION: '20260622.1',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -16,7 +16,11 @@ export type { BAHold } from './models/BAHold';
16
16
  export type { BlockOfTickets } from './models/BlockOfTickets';
17
17
  export type { Cart } from './models/Cart';
18
18
  export type { CartCounts } from './models/CartCounts';
19
+ export type { CartHashResponse } from './models/CartHashResponse';
20
+ export type { CartItemCounts } from './models/CartItemCounts';
21
+ export type { CartSummary } from './models/CartSummary';
19
22
  export type { CartWithTime } from './models/CartWithTime';
23
+ export type { CashPaymentDetail } from './models/CashPaymentDetail';
20
24
  export type { Chart } from './models/Chart';
21
25
  export type { CheckoutDonation } from './models/CheckoutDonation';
22
26
  export type { CheckoutFailResponse } from './models/CheckoutFailResponse';
@@ -32,6 +36,7 @@ export type { CompleteBody } from './models/CompleteBody';
32
36
  export type { CreateCustomerResponse } from './models/CreateCustomerResponse';
33
37
  export type { CreateSessionDto } from './models/CreateSessionDto';
34
38
  export type { DigitalAsset } from './models/DigitalAsset';
39
+ export type { DonateOrderRequest } from './models/DonateOrderRequest';
35
40
  export type { DonationContribution } from './models/DonationContribution';
36
41
  export type { DonationFund } from './models/DonationFund';
37
42
  export type { DonationInCart } from './models/DonationInCart';
@@ -42,6 +47,7 @@ export type { EmailUpdate } from './models/EmailUpdate';
42
47
  export type { EngineSeat } from './models/EngineSeat';
43
48
  export type { EventDetails } from './models/EventDetails';
44
49
  export type { EventGroup } from './models/EventGroup';
50
+ export type { ExchangeRequest } from './models/ExchangeRequest';
45
51
  export type { ExistingRefundDetails } from './models/ExistingRefundDetails';
46
52
  export type { FullEventDetails } from './models/FullEventDetails';
47
53
  export type { GAHold } from './models/GAHold';
@@ -99,8 +105,10 @@ export type { SaveDetailsBody } from './models/SaveDetailsBody';
99
105
  export type { SaveNonceBody } from './models/SaveNonceBody';
100
106
  export type { SeatData } from './models/SeatData';
101
107
  export type { SeatHoldReturn } from './models/SeatHoldReturn';
108
+ export type { SeatIdInput } from './models/SeatIdInput';
102
109
  export type { SeatInCart } from './models/SeatInCart';
103
110
  export type { SeatingTier } from './models/SeatingTier';
111
+ export type { SeatsByShow } from './models/SeatsByShow';
104
112
  export type { Section } from './models/Section';
105
113
  export type { SectionRule } from './models/SectionRule';
106
114
  export type { SessionHeartbeatDto } from './models/SessionHeartbeatDto';
@@ -53,5 +53,15 @@ export type Account = {
53
53
  csPhone: string;
54
54
  numCouponAliases: number;
55
55
  maxOrderSeats: number;
56
+ receiptFrom: string | null;
57
+ refundExchangePolicy: string | null;
58
+ eTickets: number;
59
+ canAssignTickets: number;
60
+ canEmailTickets: number;
61
+ enableOrderDonation: number;
62
+ obfuscateData: number;
63
+ paymentGatewayId: number | null;
64
+ enableAdjustmentPayment: number;
65
+ groupShows: number;
56
66
  };
57
67
 
@@ -0,0 +1,11 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type CartHashResponse = {
6
+ /**
7
+ * The computed hash string for the shopper cart.
8
+ */
9
+ hash: string;
10
+ };
11
+
@@ -0,0 +1,15 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type CartItemCounts = {
6
+ /**
7
+ * Number of products available for the account on the session date.
8
+ */
9
+ numProducts: number;
10
+ /**
11
+ * Number of donation funds available for the account on the session date.
12
+ */
13
+ numFunds: number;
14
+ };
15
+
@@ -0,0 +1,31 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { CartItemCounts } from './CartItemCounts';
6
+ import type { CheckoutDonation } from './CheckoutDonation';
7
+ import type { CheckoutProduct } from './CheckoutProduct';
8
+ import type { SeatsByShow } from './SeatsByShow';
9
+ export type CartSummary = {
10
+ /**
11
+ * Number of shows currently available to the shopper.
12
+ */
13
+ availableShowCount: number;
14
+ /**
15
+ * Products currently in the session.
16
+ */
17
+ products: Array<CheckoutProduct>;
18
+ /**
19
+ * Donations currently in the session.
20
+ */
21
+ donations: Array<CheckoutDonation>;
22
+ /**
23
+ * Held seats grouped by show.
24
+ */
25
+ seatsGroupedByShow: Array<SeatsByShow>;
26
+ /**
27
+ * Count of available products and donation funds.
28
+ */
29
+ availableItemCounts: CartItemCounts;
30
+ };
31
+
@@ -0,0 +1,23 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type CashPaymentDetail = {
6
+ /**
7
+ * The total amount of the order
8
+ */
9
+ orderTotal: number;
10
+ /**
11
+ * The total amount paid via cash/adjustments
12
+ */
13
+ paymentsTotal: number;
14
+ /**
15
+ * House card code for cash payment
16
+ */
17
+ code: string;
18
+ /**
19
+ * House card PIN for cash payment
20
+ */
21
+ pin: string;
22
+ };
23
+
@@ -0,0 +1,9 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type DonateOrderRequest = {
6
+ guid: string;
7
+ donatedIpAddress: string;
8
+ };
9
+
@@ -0,0 +1,16 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { SeatIdInput } from './SeatIdInput';
6
+ export type ExchangeRequest = {
7
+ /**
8
+ * Order GUID
9
+ */
10
+ guid: string;
11
+ /**
12
+ * Seats to exchange out
13
+ */
14
+ seats: Array<SeatIdInput>;
15
+ };
16
+
@@ -0,0 +1,9 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type SeatIdInput = {
6
+ showId: number;
7
+ seatId: number;
8
+ };
9
+
@@ -0,0 +1,23 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type SeatsByShow = {
6
+ /**
7
+ * Number of seats held for the show.
8
+ */
9
+ numSeats: number;
10
+ /**
11
+ * Full name of the show.
12
+ */
13
+ showName: string;
14
+ /**
15
+ * Short display name of the show.
16
+ */
17
+ shortName: string;
18
+ /**
19
+ * Title of the show.
20
+ */
21
+ showTitle: Record<string, any>;
22
+ };
23
+
@@ -18,5 +18,14 @@ export type SessionInfoDto = {
18
18
  superuser: boolean;
19
19
  expireOnUnlock: boolean;
20
20
  tierReminderShown: boolean;
21
+ modifyingOrderId: number | null;
22
+ /**
23
+ * Resolved session/cart effective date (legacy cart_sessionDate). Use this for availability/priority checks instead of new Date().
24
+ */
25
+ effectiveDate: string;
26
+ /**
27
+ * Whether an admin/preview date override is active.
28
+ */
29
+ usingDateOverride: boolean;
21
30
  };
22
31