@drttix/drt-sdk 1.4.9 → 1.5.0

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 (226) hide show
  1. package/dist/cjs/index.d.ts +2 -0
  2. package/dist/cjs/src/definitions/portal.d.ts +2 -0
  3. package/dist/cjs/src/definitions/portal.js +49 -47
  4. package/dist/cjs/src/definitions/shopper.d.ts +2 -0
  5. package/dist/cjs/src/definitions/shopper.js +8 -6
  6. package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
  7. package/dist/cjs/src/generated/portal/index.d.ts +6 -1
  8. package/dist/cjs/src/generated/portal/index.js +8 -2
  9. package/dist/cjs/src/generated/portal/models/AcceptAgreementRequestDto.d.ts +23 -0
  10. package/dist/cjs/src/generated/portal/models/AcceptAgreementRequestDto.js +2 -0
  11. package/dist/cjs/src/generated/portal/models/AgreementStatusResponseDto.d.ts +61 -0
  12. package/dist/cjs/src/generated/portal/models/AgreementStatusResponseDto.js +38 -0
  13. package/dist/cjs/src/generated/portal/models/CheckoutAnswerOrderResponseDto.d.ts +1 -0
  14. package/dist/cjs/src/generated/portal/models/CreateImageFileRequestDto.d.ts +4 -0
  15. package/dist/cjs/src/generated/portal/models/CreateShowRequestDto.d.ts +48 -5
  16. package/dist/cjs/src/generated/portal/models/CreateShowRequestDto.js +23 -0
  17. package/dist/cjs/src/generated/portal/models/CreateShowTimeDto.d.ts +8 -0
  18. package/dist/cjs/src/generated/portal/models/DeployShowRequestDto.d.ts +4 -0
  19. package/dist/cjs/src/generated/portal/models/DisputeResponseDTO.d.ts +1 -0
  20. package/dist/cjs/src/generated/portal/models/DonationReportResponseDto.d.ts +2 -0
  21. package/dist/cjs/src/generated/portal/models/ImportBlockedSeatRequestDto.d.ts +1 -0
  22. package/dist/cjs/src/generated/portal/models/ImportBlockedSeatResponse.d.ts +4 -0
  23. package/dist/cjs/src/generated/portal/models/ImportBlockedSeatResponse.js +2 -0
  24. package/dist/cjs/src/generated/portal/models/IntegratorPaymentResponseDto.d.ts +29 -0
  25. package/dist/cjs/src/generated/portal/models/IntegratorPaymentResponseDto.js +2 -0
  26. package/dist/cjs/src/generated/portal/models/OrderListResponseDto.d.ts +1 -0
  27. package/dist/cjs/src/generated/portal/models/PatronManifestDetailResponseDto.d.ts +1 -0
  28. package/dist/cjs/src/generated/portal/models/PolicyDetailResponseDto.d.ts +8 -0
  29. package/dist/cjs/src/generated/portal/models/RecalculateOrderResponseDto.d.ts +4 -0
  30. package/dist/cjs/src/generated/portal/models/ReleasedTicketResponseDto.d.ts +1 -0
  31. package/dist/cjs/src/generated/portal/models/ReportProductSalesResponseDto.d.ts +1 -0
  32. package/dist/cjs/src/generated/portal/models/SettingsDetailsResponseDto.d.ts +5 -0
  33. package/dist/cjs/src/generated/portal/models/ThemeDesignResponseDto.d.ts +12 -0
  34. package/dist/cjs/src/generated/portal/models/TicketingShowResponseDto.d.ts +4 -0
  35. package/dist/cjs/src/generated/portal/models/TieredPrice.d.ts +4 -0
  36. package/dist/cjs/src/generated/portal/services/AccountingService.d.ts +9 -0
  37. package/dist/cjs/src/generated/portal/services/AccountingService.js +16 -0
  38. package/dist/cjs/src/generated/portal/services/AgreementsService.d.ts +32 -0
  39. package/dist/cjs/src/generated/portal/services/AgreementsService.js +67 -0
  40. package/dist/cjs/src/generated/portal/services/FeaturesDonationsService.d.ts +4 -2
  41. package/dist/cjs/src/generated/portal/services/FeaturesDonationsService.js +4 -2
  42. package/dist/cjs/src/generated/portal/services/FeaturesProductsService.d.ts +13 -2
  43. package/dist/cjs/src/generated/portal/services/FeaturesProductsService.js +24 -2
  44. package/dist/cjs/src/generated/portal/services/SuperUserImportBlockedSeatsService.d.ts +3 -3
  45. package/dist/cjs/src/generated/portal/services/SuperUserImportBlockedSeatsService.js +1 -1
  46. package/dist/cjs/src/generated/portal/services/SuperUserManageImageFilesService.d.ts +8 -0
  47. package/dist/cjs/src/generated/portal/services/SuperUserManageImageFilesService.js +16 -0
  48. package/dist/cjs/src/generated/portal/types.d.ts +3 -1
  49. package/dist/cjs/src/generated/scanner/core/OpenAPI.js +1 -1
  50. package/dist/cjs/src/generated/shopper/core/OpenAPI.js +1 -1
  51. package/dist/cjs/src/generated/shopper/index.d.ts +7 -0
  52. package/dist/cjs/src/generated/shopper/index.js +3 -1
  53. package/dist/cjs/src/generated/shopper/models/Account.d.ts +4 -0
  54. package/dist/cjs/src/generated/shopper/models/CartCounts.d.ts +10 -0
  55. package/dist/cjs/src/generated/shopper/models/CartCountsLite.d.ts +11 -3
  56. package/dist/cjs/src/generated/shopper/models/CartStateEnvelope.d.ts +26 -0
  57. package/dist/cjs/src/generated/shopper/models/CartStateEnvelope.js +2 -0
  58. package/dist/cjs/src/generated/shopper/models/CartTierOption.d.ts +28 -0
  59. package/dist/cjs/src/generated/shopper/models/CartTierOption.js +2 -0
  60. package/dist/cjs/src/generated/shopper/models/CartTierSeat.d.ts +21 -0
  61. package/dist/cjs/src/generated/shopper/models/CartTierSeat.js +2 -0
  62. package/dist/cjs/src/generated/shopper/models/CartTiersResponse.d.ts +7 -0
  63. package/dist/cjs/src/generated/shopper/models/CartTiersResponse.js +2 -0
  64. package/dist/cjs/src/generated/shopper/models/DonationFund.d.ts +0 -2
  65. package/dist/cjs/src/generated/shopper/models/EventListItem.d.ts +79 -0
  66. package/dist/cjs/src/generated/shopper/models/EventListItem.js +2 -0
  67. package/dist/cjs/src/generated/shopper/models/GAResponse.d.ts +5 -0
  68. package/dist/cjs/src/generated/shopper/models/GetEventsResponse.d.ts +2 -2
  69. package/dist/cjs/src/generated/shopper/models/Product.d.ts +8 -0
  70. package/dist/cjs/src/generated/shopper/models/SeatHoldObject.d.ts +10 -0
  71. package/dist/cjs/src/generated/shopper/models/SeatHoldObject.js +2 -0
  72. package/dist/cjs/src/generated/shopper/models/SeatHoldReturn.d.ts +5 -0
  73. package/dist/cjs/src/generated/shopper/models/ShowExtras.d.ts +12 -0
  74. package/dist/cjs/src/generated/shopper/models/SiteTheme.d.ts +4 -0
  75. package/dist/cjs/src/generated/shopper/services/CartService.d.ts +12 -0
  76. package/dist/cjs/src/generated/shopper/services/CartService.js +19 -0
  77. package/dist/cjs/src/generated/shopper/services/HealthService.d.ts +10 -0
  78. package/dist/cjs/src/generated/shopper/services/HealthService.js +20 -0
  79. package/dist/cjs/src/generated/shopper/services/SeatService.d.ts +27 -2
  80. package/dist/cjs/src/generated/shopper/services/SeatService.js +47 -1
  81. package/dist/cjs/src/generated/shopper/types.d.ts +6 -0
  82. package/dist/cjs/src/staging/index.d.ts +2 -0
  83. package/dist/cjs/src/staging/portal.d.ts +2 -0
  84. package/dist/cjs/src/staging/portal.js +49 -47
  85. package/dist/esm/index.d.ts +2 -0
  86. package/dist/esm/src/definitions/portal.d.ts +2 -0
  87. package/dist/esm/src/definitions/portal.js +2 -0
  88. package/dist/esm/src/definitions/shopper.d.ts +2 -0
  89. package/dist/esm/src/definitions/shopper.js +2 -0
  90. package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
  91. package/dist/esm/src/generated/portal/index.d.ts +6 -1
  92. package/dist/esm/src/generated/portal/index.js +3 -0
  93. package/dist/esm/src/generated/portal/models/AcceptAgreementRequestDto.d.ts +23 -0
  94. package/dist/esm/src/generated/portal/models/AcceptAgreementRequestDto.js +1 -0
  95. package/dist/esm/src/generated/portal/models/AgreementStatusResponseDto.d.ts +61 -0
  96. package/dist/esm/src/generated/portal/models/AgreementStatusResponseDto.js +35 -0
  97. package/dist/esm/src/generated/portal/models/CheckoutAnswerOrderResponseDto.d.ts +1 -0
  98. package/dist/esm/src/generated/portal/models/CreateImageFileRequestDto.d.ts +4 -0
  99. package/dist/esm/src/generated/portal/models/CreateShowRequestDto.d.ts +48 -5
  100. package/dist/esm/src/generated/portal/models/CreateShowRequestDto.js +22 -1
  101. package/dist/esm/src/generated/portal/models/CreateShowTimeDto.d.ts +8 -0
  102. package/dist/esm/src/generated/portal/models/DeployShowRequestDto.d.ts +4 -0
  103. package/dist/esm/src/generated/portal/models/DisputeResponseDTO.d.ts +1 -0
  104. package/dist/esm/src/generated/portal/models/DonationReportResponseDto.d.ts +2 -0
  105. package/dist/esm/src/generated/portal/models/ImportBlockedSeatRequestDto.d.ts +1 -0
  106. package/dist/esm/src/generated/portal/models/ImportBlockedSeatResponse.d.ts +4 -0
  107. package/dist/esm/src/generated/portal/models/ImportBlockedSeatResponse.js +1 -0
  108. package/dist/esm/src/generated/portal/models/IntegratorPaymentResponseDto.d.ts +29 -0
  109. package/dist/esm/src/generated/portal/models/IntegratorPaymentResponseDto.js +1 -0
  110. package/dist/esm/src/generated/portal/models/OrderListResponseDto.d.ts +1 -0
  111. package/dist/esm/src/generated/portal/models/PatronManifestDetailResponseDto.d.ts +1 -0
  112. package/dist/esm/src/generated/portal/models/PolicyDetailResponseDto.d.ts +8 -0
  113. package/dist/esm/src/generated/portal/models/RecalculateOrderResponseDto.d.ts +4 -0
  114. package/dist/esm/src/generated/portal/models/ReleasedTicketResponseDto.d.ts +1 -0
  115. package/dist/esm/src/generated/portal/models/ReportProductSalesResponseDto.d.ts +1 -0
  116. package/dist/esm/src/generated/portal/models/SettingsDetailsResponseDto.d.ts +5 -0
  117. package/dist/esm/src/generated/portal/models/ThemeDesignResponseDto.d.ts +12 -0
  118. package/dist/esm/src/generated/portal/models/TicketingShowResponseDto.d.ts +4 -0
  119. package/dist/esm/src/generated/portal/models/TieredPrice.d.ts +4 -0
  120. package/dist/esm/src/generated/portal/services/AccountingService.d.ts +9 -0
  121. package/dist/esm/src/generated/portal/services/AccountingService.js +16 -0
  122. package/dist/esm/src/generated/portal/services/AgreementsService.d.ts +32 -0
  123. package/dist/esm/src/generated/portal/services/AgreementsService.js +63 -0
  124. package/dist/esm/src/generated/portal/services/FeaturesDonationsService.d.ts +4 -2
  125. package/dist/esm/src/generated/portal/services/FeaturesDonationsService.js +4 -2
  126. package/dist/esm/src/generated/portal/services/FeaturesProductsService.d.ts +13 -2
  127. package/dist/esm/src/generated/portal/services/FeaturesProductsService.js +24 -2
  128. package/dist/esm/src/generated/portal/services/SuperUserImportBlockedSeatsService.d.ts +3 -3
  129. package/dist/esm/src/generated/portal/services/SuperUserImportBlockedSeatsService.js +1 -1
  130. package/dist/esm/src/generated/portal/services/SuperUserManageImageFilesService.d.ts +8 -0
  131. package/dist/esm/src/generated/portal/services/SuperUserManageImageFilesService.js +16 -0
  132. package/dist/esm/src/generated/portal/types.d.ts +3 -1
  133. package/dist/esm/src/generated/scanner/core/OpenAPI.js +1 -1
  134. package/dist/esm/src/generated/shopper/core/OpenAPI.js +1 -1
  135. package/dist/esm/src/generated/shopper/index.d.ts +7 -0
  136. package/dist/esm/src/generated/shopper/index.js +1 -0
  137. package/dist/esm/src/generated/shopper/models/Account.d.ts +4 -0
  138. package/dist/esm/src/generated/shopper/models/CartCounts.d.ts +10 -0
  139. package/dist/esm/src/generated/shopper/models/CartCountsLite.d.ts +11 -3
  140. package/dist/esm/src/generated/shopper/models/CartStateEnvelope.d.ts +26 -0
  141. package/dist/esm/src/generated/shopper/models/CartStateEnvelope.js +1 -0
  142. package/dist/esm/src/generated/shopper/models/CartTierOption.d.ts +28 -0
  143. package/dist/esm/src/generated/shopper/models/CartTierOption.js +1 -0
  144. package/dist/esm/src/generated/shopper/models/CartTierSeat.d.ts +21 -0
  145. package/dist/esm/src/generated/shopper/models/CartTierSeat.js +1 -0
  146. package/dist/esm/src/generated/shopper/models/CartTiersResponse.d.ts +7 -0
  147. package/dist/esm/src/generated/shopper/models/CartTiersResponse.js +1 -0
  148. package/dist/esm/src/generated/shopper/models/DonationFund.d.ts +0 -2
  149. package/dist/esm/src/generated/shopper/models/EventListItem.d.ts +79 -0
  150. package/dist/esm/src/generated/shopper/models/EventListItem.js +1 -0
  151. package/dist/esm/src/generated/shopper/models/GAResponse.d.ts +5 -0
  152. package/dist/esm/src/generated/shopper/models/GetEventsResponse.d.ts +2 -2
  153. package/dist/esm/src/generated/shopper/models/Product.d.ts +8 -0
  154. package/dist/esm/src/generated/shopper/models/SeatHoldObject.d.ts +10 -0
  155. package/dist/esm/src/generated/shopper/models/SeatHoldObject.js +1 -0
  156. package/dist/esm/src/generated/shopper/models/SeatHoldReturn.d.ts +5 -0
  157. package/dist/esm/src/generated/shopper/models/ShowExtras.d.ts +12 -0
  158. package/dist/esm/src/generated/shopper/models/SiteTheme.d.ts +4 -0
  159. package/dist/esm/src/generated/shopper/services/CartService.d.ts +12 -0
  160. package/dist/esm/src/generated/shopper/services/CartService.js +19 -0
  161. package/dist/esm/src/generated/shopper/services/HealthService.d.ts +10 -0
  162. package/dist/esm/src/generated/shopper/services/HealthService.js +16 -0
  163. package/dist/esm/src/generated/shopper/services/SeatService.d.ts +27 -2
  164. package/dist/esm/src/generated/shopper/services/SeatService.js +47 -1
  165. package/dist/esm/src/generated/shopper/types.d.ts +6 -0
  166. package/dist/esm/src/staging/index.d.ts +2 -0
  167. package/dist/esm/src/staging/portal.d.ts +2 -0
  168. package/dist/esm/src/staging/portal.js +2 -0
  169. package/package.json +1 -1
  170. package/src/definitions/portal.ts +2 -0
  171. package/src/definitions/shopper.ts +2 -0
  172. package/src/generated/portal/core/OpenAPI.ts +1 -1
  173. package/src/generated/portal/index.ts +6 -1
  174. package/src/generated/portal/models/AcceptAgreementRequestDto.ts +28 -0
  175. package/src/generated/portal/models/AgreementStatusResponseDto.ts +66 -0
  176. package/src/generated/portal/models/CheckoutAnswerOrderResponseDto.ts +1 -0
  177. package/src/generated/portal/models/CreateImageFileRequestDto.ts +4 -0
  178. package/src/generated/portal/models/CreateShowRequestDto.ts +48 -5
  179. package/src/generated/portal/models/CreateShowTimeDto.ts +8 -0
  180. package/src/generated/portal/models/DeployShowRequestDto.ts +4 -0
  181. package/src/generated/portal/models/DisputeResponseDTO.ts +1 -0
  182. package/src/generated/portal/models/DonationReportResponseDto.ts +2 -0
  183. package/src/generated/portal/models/ImportBlockedSeatRequestDto.ts +1 -0
  184. package/src/generated/portal/models/ImportBlockedSeatResponse.ts +9 -0
  185. package/src/generated/portal/models/IntegratorPaymentResponseDto.ts +34 -0
  186. package/src/generated/portal/models/OrderListResponseDto.ts +1 -0
  187. package/src/generated/portal/models/PatronManifestDetailResponseDto.ts +1 -0
  188. package/src/generated/portal/models/PolicyDetailResponseDto.ts +8 -0
  189. package/src/generated/portal/models/RecalculateOrderResponseDto.ts +4 -0
  190. package/src/generated/portal/models/ReleasedTicketResponseDto.ts +1 -0
  191. package/src/generated/portal/models/ReportProductSalesResponseDto.ts +1 -0
  192. package/src/generated/portal/models/SettingsDetailsResponseDto.ts +5 -0
  193. package/src/generated/portal/models/ThemeDesignResponseDto.ts +12 -0
  194. package/src/generated/portal/models/TicketingShowResponseDto.ts +4 -0
  195. package/src/generated/portal/models/TieredPrice.ts +4 -0
  196. package/src/generated/portal/services/AccountingService.ts +19 -0
  197. package/src/generated/portal/services/AgreementsService.ts +79 -0
  198. package/src/generated/portal/services/FeaturesDonationsService.ts +4 -2
  199. package/src/generated/portal/services/FeaturesProductsService.ts +27 -2
  200. package/src/generated/portal/services/SuperUserImportBlockedSeatsService.ts +3 -3
  201. package/src/generated/portal/services/SuperUserManageImageFilesService.ts +18 -0
  202. package/src/generated/portal/types.ts +3 -1
  203. package/src/generated/scanner/core/OpenAPI.ts +1 -1
  204. package/src/generated/shopper/core/OpenAPI.ts +1 -1
  205. package/src/generated/shopper/index.ts +7 -0
  206. package/src/generated/shopper/models/Account.ts +4 -0
  207. package/src/generated/shopper/models/CartCounts.ts +10 -0
  208. package/src/generated/shopper/models/CartCountsLite.ts +11 -3
  209. package/src/generated/shopper/models/CartStateEnvelope.ts +31 -0
  210. package/src/generated/shopper/models/CartTierOption.ts +33 -0
  211. package/src/generated/shopper/models/CartTierSeat.ts +26 -0
  212. package/src/generated/shopper/models/CartTiersResponse.ts +12 -0
  213. package/src/generated/shopper/models/DonationFund.ts +0 -2
  214. package/src/generated/shopper/models/EventListItem.ts +84 -0
  215. package/src/generated/shopper/models/GAResponse.ts +5 -0
  216. package/src/generated/shopper/models/GetEventsResponse.ts +2 -2
  217. package/src/generated/shopper/models/Product.ts +8 -0
  218. package/src/generated/shopper/models/SeatHoldObject.ts +15 -0
  219. package/src/generated/shopper/models/SeatHoldReturn.ts +5 -0
  220. package/src/generated/shopper/models/ShowExtras.ts +12 -0
  221. package/src/generated/shopper/models/SiteTheme.ts +4 -0
  222. package/src/generated/shopper/services/CartService.ts +22 -0
  223. package/src/generated/shopper/services/HealthService.ts +21 -0
  224. package/src/generated/shopper/services/SeatService.ts +55 -2
  225. package/src/generated/shopper/types.ts +6 -0
  226. package/src/staging/portal.ts +2 -0
@@ -27,4 +27,8 @@ export type RecalculateOrderResponseDto = {
27
27
  * The autdiscount adjustment amount for the order.
28
28
  */
29
29
  autodiscountAdjust: number;
30
+ /**
31
+ * The ledger correction needed on the order's coupon (type 8) row after the recalc — positive when couponed seats are removed (the coupon backout). Optional until the DRT-API SDK is regenerated with the new Admin-API field.
32
+ */
33
+ couponAdjust?: number;
30
34
  };
@@ -1,5 +1,6 @@
1
1
  export type ReleasedTicketResponseDto = {
2
2
  id: number;
3
+ guid: string;
3
4
  firstName: string;
4
5
  lastName: string;
5
6
  numReleased: number;
@@ -1,5 +1,6 @@
1
1
  export type ReportProductSalesResponseDto = {
2
2
  orderId: number;
3
+ guid: string;
3
4
  firstName: string;
4
5
  lastName: string;
5
6
  email: string;
@@ -1,4 +1,5 @@
1
1
  import type { AccountingTimezone } from './AccountingTimezone';
2
+ import type { AgreementStatusResponseDto } from './AgreementStatusResponseDto';
2
3
  import type { TimeZoneResponse } from './TimeZoneResponse';
3
4
  export type SettingsDetailsResponseDto = {
4
5
  holdTime: number;
@@ -70,4 +71,8 @@ export type SettingsDetailsResponseDto = {
70
71
  */
71
72
  accountingTimezone: AccountingTimezone;
72
73
  timezoneList: Array<TimeZoneResponse>;
74
+ /**
75
+ * Service-agreement status for the current login. A portal-gated entry with required = true means the login must accept it before using the portal.
76
+ */
77
+ agreements: Array<AgreementStatusResponseDto>;
73
78
  };
@@ -29,4 +29,16 @@ export type ThemeDesignResponseDto = {
29
29
  logoMaxHeight: string | null;
30
30
  logoMaxWidth: string | null;
31
31
  logoTop: string | null;
32
+ /**
33
+ * The studio's logo, taken from the image they stored in Manage Image Files as logo.png. Null when they have none, in which case the client falls back to the buyer site default at /client-content/images/{studioId}/logo.png. Read-only: not accepted on update.
34
+ */
35
+ logoSrc: string | null;
36
+ /**
37
+ * Whether the studio currently has active products - gates the Merchandise checkout step, mirroring the shopper site.
38
+ */
39
+ hasProducts: boolean;
40
+ /**
41
+ * Whether the studio currently has enabled donation funds - gates the Donation checkout step, mirroring the shopper site.
42
+ */
43
+ hasDonations: boolean;
32
44
  };
@@ -5,4 +5,8 @@ export type TicketingShowResponseDto = {
5
5
  domainURL: string;
6
6
  shows: Array<ShowsResponseDto>;
7
7
  showGroups: Array<ShowGroupResponseDto>;
8
+ /**
9
+ * The studio's social-media graphic, taken from the image they uploaded to Manage Image Files as facebook.jpg. Null when they have none, so the client shows the DRT default instead.
10
+ */
11
+ socialGraphicSrc: Record<string, any> | null;
8
12
  };
@@ -9,4 +9,8 @@ export type TieredPrice = {
9
9
  maxCapacity: number | null;
10
10
  isDefault: number | null;
11
11
  doorPrice: number | null;
12
+ /**
13
+ * When door pricing starts, in the studio's own timezone — the column is stored in Eastern and converted on read, same as dateStart and dateEnd.
14
+ */
15
+ dateDoorPricingStart: string | null;
12
16
  };
@@ -6,6 +6,7 @@ import type { CollectionDetailsResponseDto } from '../models/CollectionDetailsRe
6
6
  import type { CreateRefundRequestDto } from '../models/CreateRefundRequestDto';
7
7
  import type { DisputeResponseDTO } from '../models/DisputeResponseDTO';
8
8
  import type { DonationResponseDto } from '../models/DonationResponseDto';
9
+ import type { IntegratorPaymentResponseDto } from '../models/IntegratorPaymentResponseDto';
9
10
  import type { OtherResponseDto } from '../models/OtherResponseDto';
10
11
  import type { PaymentGatewayResponseDto } from '../models/PaymentGatewayResponseDto';
11
12
  import type { ProductResponseDto } from '../models/ProductResponseDto';
@@ -113,6 +114,14 @@ export declare class AccountingService {
113
114
  * @throws ApiError
114
115
  */
115
116
  static getBookkeeperTransactionDetails(xStudioId: string): CancelablePromise<Array<BookkeeperTransactionResponseDto>>;
117
+ /**
118
+ * Fetch the integrator payment details
119
+ * Every successful external (integrator) payment in the admin date range — orders charged through our payment processor without going through the ticketing platform
120
+ * @param xStudioId
121
+ * @returns IntegratorPaymentResponseDto Integrator payment details fetched successfully
122
+ * @throws ApiError
123
+ */
124
+ static getIntegratorPayments(xStudioId: string): CancelablePromise<Array<IntegratorPaymentResponseDto>>;
116
125
  /**
117
126
  * Fetch the dispute details
118
127
  * Fetch the dispute details
@@ -176,6 +176,22 @@ export class AccountingService {
176
176
  },
177
177
  });
178
178
  }
179
+ /**
180
+ * Fetch the integrator payment details
181
+ * Every successful external (integrator) payment in the admin date range — orders charged through our payment processor without going through the ticketing platform
182
+ * @param xStudioId
183
+ * @returns IntegratorPaymentResponseDto Integrator payment details fetched successfully
184
+ * @throws ApiError
185
+ */
186
+ static getIntegratorPayments(xStudioId) {
187
+ return __request(OpenAPI, {
188
+ method: 'GET',
189
+ url: '/admin-portal/accounting/integrator-payments',
190
+ headers: {
191
+ 'x-studio-id': xStudioId,
192
+ },
193
+ });
194
+ }
179
195
  /**
180
196
  * Fetch the dispute details
181
197
  * Fetch the dispute details
@@ -0,0 +1,32 @@
1
+ import type { AcceptAgreementRequestDto } from '../models/AcceptAgreementRequestDto';
2
+ import type { AgreementStatusResponseDto } from '../models/AgreementStatusResponseDto';
3
+ import type { CancelablePromise } from '../core/CancelablePromise';
4
+ export declare class AgreementsService {
5
+ /**
6
+ * List agreement statuses
7
+ * Whether the current login/account has accepted each service agreement, and whether it must before continuing.
8
+ * @param xStudioId The ID of the studio
9
+ * @returns AgreementStatusResponseDto Status of every agreement for the current login
10
+ * @throws ApiError
11
+ */
12
+ static getAgreements(xStudioId: string): CancelablePromise<Array<AgreementStatusResponseDto>>;
13
+ /**
14
+ * Fetch one agreement
15
+ * Status plus the current agreement body (versioned agreements) and the address the signature will be recorded from.
16
+ * @param xStudioId The ID of the studio
17
+ * @param scope Agreement slug (msa, donations, products) or scope value (MSA, donations, products).
18
+ * @returns AgreementStatusResponseDto Agreement status, with the text to sign when versioned
19
+ * @throws ApiError
20
+ */
21
+ static getAgreement(xStudioId: string, scope: string): CancelablePromise<AgreementStatusResponseDto>;
22
+ /**
23
+ * Accept an agreement
24
+ * Records the signature for the current login/account and runs the agreement's follow-up actions.
25
+ * @param xStudioId The ID of the studio
26
+ * @param scope Agreement slug (msa, donations, products) or scope value (MSA, donations, products).
27
+ * @param requestBody Signature details
28
+ * @returns AgreementStatusResponseDto Agreement status after the signature was recorded
29
+ * @throws ApiError
30
+ */
31
+ static acceptAgreement(xStudioId: string, scope: string, requestBody: AcceptAgreementRequestDto): CancelablePromise<AgreementStatusResponseDto>;
32
+ }
@@ -0,0 +1,63 @@
1
+ import { OpenAPI } from '../core/OpenAPI.js';
2
+ import { request as __request } from '../core/request.js';
3
+ export class AgreementsService {
4
+ /**
5
+ * List agreement statuses
6
+ * Whether the current login/account has accepted each service agreement, and whether it must before continuing.
7
+ * @param xStudioId The ID of the studio
8
+ * @returns AgreementStatusResponseDto Status of every agreement for the current login
9
+ * @throws ApiError
10
+ */
11
+ static getAgreements(xStudioId) {
12
+ return __request(OpenAPI, {
13
+ method: 'GET',
14
+ url: '/admin-portal/agreements',
15
+ headers: {
16
+ 'x-studio-id': xStudioId,
17
+ },
18
+ });
19
+ }
20
+ /**
21
+ * Fetch one agreement
22
+ * Status plus the current agreement body (versioned agreements) and the address the signature will be recorded from.
23
+ * @param xStudioId The ID of the studio
24
+ * @param scope Agreement slug (msa, donations, products) or scope value (MSA, donations, products).
25
+ * @returns AgreementStatusResponseDto Agreement status, with the text to sign when versioned
26
+ * @throws ApiError
27
+ */
28
+ static getAgreement(xStudioId, scope) {
29
+ return __request(OpenAPI, {
30
+ method: 'GET',
31
+ url: '/admin-portal/agreements/{scope}',
32
+ path: {
33
+ 'scope': scope,
34
+ },
35
+ headers: {
36
+ 'x-studio-id': xStudioId,
37
+ },
38
+ });
39
+ }
40
+ /**
41
+ * Accept an agreement
42
+ * Records the signature for the current login/account and runs the agreement's follow-up actions.
43
+ * @param xStudioId The ID of the studio
44
+ * @param scope Agreement slug (msa, donations, products) or scope value (MSA, donations, products).
45
+ * @param requestBody Signature details
46
+ * @returns AgreementStatusResponseDto Agreement status after the signature was recorded
47
+ * @throws ApiError
48
+ */
49
+ static acceptAgreement(xStudioId, scope, requestBody) {
50
+ return __request(OpenAPI, {
51
+ method: 'POST',
52
+ url: '/admin-portal/agreements/{scope}/accept',
53
+ path: {
54
+ 'scope': scope,
55
+ },
56
+ headers: {
57
+ 'x-studio-id': xStudioId,
58
+ },
59
+ body: requestBody,
60
+ mediaType: 'application/json',
61
+ });
62
+ }
63
+ }
@@ -26,16 +26,18 @@ export declare class FeaturesDonationsService {
26
26
  */
27
27
  static createFund(xStudioId: string, requestBody: CreateUpdateFundRequestDto): CancelablePromise<SuccessResponse>;
28
28
  /**
29
+ * @deprecated
29
30
  * Validate the service agreement exist or not
30
- * Check if the service agreement exists for the given studio ID
31
+ * Check if the service agreement exists for the given studio ID. Deprecated: use GET /agreements/donations.
31
32
  * @param xStudioId The ID of the studio
32
33
  * @returns SuccessResponse Service agreement fetched successfully
33
34
  * @throws ApiError
34
35
  */
35
36
  static getServiceAgreement(xStudioId: string): CancelablePromise<SuccessResponse>;
36
37
  /**
38
+ * @deprecated
37
39
  * Create the service agreement
38
- * Create a new service agreement for the given studio ID
40
+ * Create a new service agreement for the given studio ID. Deprecated: use POST /agreements/donations/accept.
39
41
  * @param xStudioId The ID of the studio
40
42
  * @param requestBody Payload to create service agreement
41
43
  * @returns SuccessResponse Service agreement created successfully
@@ -37,8 +37,9 @@ export class FeaturesDonationsService {
37
37
  });
38
38
  }
39
39
  /**
40
+ * @deprecated
40
41
  * Validate the service agreement exist or not
41
- * Check if the service agreement exists for the given studio ID
42
+ * Check if the service agreement exists for the given studio ID. Deprecated: use GET /agreements/donations.
42
43
  * @param xStudioId The ID of the studio
43
44
  * @returns SuccessResponse Service agreement fetched successfully
44
45
  * @throws ApiError
@@ -53,8 +54,9 @@ export class FeaturesDonationsService {
53
54
  });
54
55
  }
55
56
  /**
57
+ * @deprecated
56
58
  * Create the service agreement
57
- * Create a new service agreement for the given studio ID
59
+ * Create a new service agreement for the given studio ID. Deprecated: use POST /agreements/donations/accept.
58
60
  * @param xStudioId The ID of the studio
59
61
  * @param requestBody Payload to create service agreement
60
62
  * @returns SuccessResponse Service agreement created successfully
@@ -56,16 +56,18 @@ export declare class FeaturesProductsService {
56
56
  */
57
57
  static getProductSales(xStudioId: string, productId: string): CancelablePromise<ProductSalesResponseDto>;
58
58
  /**
59
+ * @deprecated
59
60
  * Validate the service agreement exist or not
60
- * Check if the service agreement exists for the given studio ID
61
+ * Check if the service agreement exists for the given studio ID. Deprecated: use GET /agreements/products.
61
62
  * @param xStudioId The ID of the studio
62
63
  * @returns SuccessResponse Service agreement fetched successfully
63
64
  * @throws ApiError
64
65
  */
65
66
  static getServiceAgreement(xStudioId: string): CancelablePromise<SuccessResponse>;
66
67
  /**
68
+ * @deprecated
67
69
  * Create the service agreement
68
- * Create a new service agreement for the given studio ID
70
+ * Create a new service agreement for the given studio ID. Deprecated: use POST /agreements/products/accept.
69
71
  * @param xStudioId The ID of the studio
70
72
  * @param requestBody Payload to create service agreement
71
73
  * @returns SuccessResponse Service agreement created successfully
@@ -136,6 +138,15 @@ export declare class FeaturesProductsService {
136
138
  * @throws ApiError
137
139
  */
138
140
  static startImageUpload(xStudioId: string, requestBody: StartImageUploadRequestDto): CancelablePromise<StartImageUploadResponseDto>;
141
+ /**
142
+ * Upload a product image through the AWS-Gateway pipeline
143
+ * Multipart upload: the bytes are validated and resized by the AWS-Gateway /image/process route (preset product, matching the legacy CF admin) and the image/product rows are updated. Replaces start-image-upload + the browser PUT for this flow.
144
+ * @param xStudioId The ID of the studio
145
+ * @param productId The ID of the product
146
+ * @returns SuccessResponse Product image processed, stored and attached
147
+ * @throws ApiError
148
+ */
149
+ static uploadProductImage(xStudioId: string, productId: string): CancelablePromise<SuccessResponse>;
139
150
  /**
140
151
  * Create the duplicate product
141
152
  * Create a new duplicate product for the given product ID
@@ -73,8 +73,9 @@ export class FeaturesProductsService {
73
73
  });
74
74
  }
75
75
  /**
76
+ * @deprecated
76
77
  * Validate the service agreement exist or not
77
- * Check if the service agreement exists for the given studio ID
78
+ * Check if the service agreement exists for the given studio ID. Deprecated: use GET /agreements/products.
78
79
  * @param xStudioId The ID of the studio
79
80
  * @returns SuccessResponse Service agreement fetched successfully
80
81
  * @throws ApiError
@@ -89,8 +90,9 @@ export class FeaturesProductsService {
89
90
  });
90
91
  }
91
92
  /**
93
+ * @deprecated
92
94
  * Create the service agreement
93
- * Create a new service agreement for the given studio ID
95
+ * Create a new service agreement for the given studio ID. Deprecated: use POST /agreements/products/accept.
94
96
  * @param xStudioId The ID of the studio
95
97
  * @param requestBody Payload to create service agreement
96
98
  * @returns SuccessResponse Service agreement created successfully
@@ -249,6 +251,26 @@ export class FeaturesProductsService {
249
251
  mediaType: 'application/json',
250
252
  });
251
253
  }
254
+ /**
255
+ * Upload a product image through the AWS-Gateway pipeline
256
+ * Multipart upload: the bytes are validated and resized by the AWS-Gateway /image/process route (preset product, matching the legacy CF admin) and the image/product rows are updated. Replaces start-image-upload + the browser PUT for this flow.
257
+ * @param xStudioId The ID of the studio
258
+ * @param productId The ID of the product
259
+ * @returns SuccessResponse Product image processed, stored and attached
260
+ * @throws ApiError
261
+ */
262
+ static uploadProductImage(xStudioId, productId) {
263
+ return __request(OpenAPI, {
264
+ method: 'POST',
265
+ url: '/admin-portal/features/products/{productId}/upload-image',
266
+ path: {
267
+ 'productId': productId,
268
+ },
269
+ headers: {
270
+ 'x-studio-id': xStudioId,
271
+ },
272
+ });
273
+ }
252
274
  /**
253
275
  * Create the duplicate product
254
276
  * Create a new duplicate product for the given product ID
@@ -1,5 +1,5 @@
1
1
  import type { ImportBlockedSeatRequestDto } from '../models/ImportBlockedSeatRequestDto';
2
- import type { SuccessResponse } from '../models/SuccessResponse';
2
+ import type { ImportBlockedSeatResponse } from '../models/ImportBlockedSeatResponse';
3
3
  import type { CancelablePromise } from '../core/CancelablePromise';
4
4
  export declare class SuperUserImportBlockedSeatsService {
5
5
  /**
@@ -7,8 +7,8 @@ export declare class SuperUserImportBlockedSeatsService {
7
7
  * Import blocked seats for a studio
8
8
  * @param xStudioId The ID of the studio
9
9
  * @param requestBody Payload for importing blocked seats
10
- * @returns SuccessResponse Blocked seats imported successfully
10
+ * @returns ImportBlockedSeatResponse Blocked seats imported successfully
11
11
  * @throws ApiError
12
12
  */
13
- static importBlockedSeats(xStudioId: string, requestBody: ImportBlockedSeatRequestDto): CancelablePromise<SuccessResponse>;
13
+ static importBlockedSeats(xStudioId: string, requestBody: ImportBlockedSeatRequestDto): CancelablePromise<ImportBlockedSeatResponse>;
14
14
  }
@@ -6,7 +6,7 @@ export class SuperUserImportBlockedSeatsService {
6
6
  * Import blocked seats for a studio
7
7
  * @param xStudioId The ID of the studio
8
8
  * @param requestBody Payload for importing blocked seats
9
- * @returns SuccessResponse Blocked seats imported successfully
9
+ * @returns ImportBlockedSeatResponse Blocked seats imported successfully
10
10
  * @throws ApiError
11
11
  */
12
12
  static importBlockedSeats(xStudioId, requestBody) {
@@ -51,6 +51,14 @@ export declare class SuperUserManageImageFilesService {
51
51
  * @throws ApiError
52
52
  */
53
53
  static startImageFileUpload(xStudioId: string, requestBody: StartImageUploadRequestDto): CancelablePromise<StartImageUploadResponseDto>;
54
+ /**
55
+ * Upload an image through the AWS-Gateway pipeline
56
+ * Multipart upload: the bytes are validated and stored by the AWS-Gateway /image/process route (preset none) and the image row is created with the gateway-measured dimensions. Replaces start-image-upload + the browser PUT for this flow.
57
+ * @param xStudioId The ID of the studio
58
+ * @returns CreateImageFileResponseDto Image processed, stored and recorded successfully
59
+ * @throws ApiError
60
+ */
61
+ static uploadImageFile(xStudioId: string): CancelablePromise<CreateImageFileResponseDto>;
54
62
  /**
55
63
  * Rename an image file
56
64
  * Rename an image file by id
@@ -86,6 +86,22 @@ export class SuperUserManageImageFilesService {
86
86
  mediaType: 'application/json',
87
87
  });
88
88
  }
89
+ /**
90
+ * Upload an image through the AWS-Gateway pipeline
91
+ * Multipart upload: the bytes are validated and stored by the AWS-Gateway /image/process route (preset none) and the image row is created with the gateway-measured dimensions. Replaces start-image-upload + the browser PUT for this flow.
92
+ * @param xStudioId The ID of the studio
93
+ * @returns CreateImageFileResponseDto Image processed, stored and recorded successfully
94
+ * @throws ApiError
95
+ */
96
+ static uploadImageFile(xStudioId) {
97
+ return __request(OpenAPI, {
98
+ method: 'POST',
99
+ url: '/admin-portal/superuser/manage-image-files/upload-image',
100
+ headers: {
101
+ 'x-studio-id': xStudioId,
102
+ },
103
+ });
104
+ }
89
105
  /**
90
106
  * Rename an image file
91
107
  * Rename an image file by id
@@ -1,4 +1,5 @@
1
1
  export type { AbandonedCartResponseDto } from './models/AbandonedCartResponseDto';
2
+ export type { AcceptAgreementRequestDto } from './models/AcceptAgreementRequestDto';
2
3
  export type { AccountDetailResponseDto } from './models/AccountDetailResponseDto';
3
4
  export type { ActionResponseDto } from './models/ActionResponseDto';
4
5
  export type { AddSessionSeatRequestDto } from './models/AddSessionSeatRequestDto';
@@ -82,7 +83,6 @@ export type { CreateProductResponseDto } from './models/CreateProductResponseDto
82
83
  export type { CreateProductVariantRequestDto } from './models/CreateProductVariantRequestDto';
83
84
  export type { CreateRefundRequestDto } from './models/CreateRefundRequestDto';
84
85
  export type { createServiceAgreementRequestDto } from './models/createServiceAgreementRequestDto';
85
- export type { CreateShowRequestDto } from './models/CreateShowRequestDto';
86
86
  export type { CreateShowResponseDto } from './models/CreateShowResponseDto';
87
87
  export type { CreateShowTimeDto } from './models/CreateShowTimeDto';
88
88
  export type { CreateTicketTypeDto } from './models/CreateTicketTypeDto';
@@ -171,11 +171,13 @@ export type { HoldSeatDetailsResponseDto } from './models/HoldSeatDetailsRespons
171
171
  export type { IconShowGroupResponseDto } from './models/IconShowGroupResponseDto';
172
172
  export type { ImageCategoryResponseDto } from './models/ImageCategoryResponseDto';
173
173
  export type { ImportBlockedSeatRequestDto } from './models/ImportBlockedSeatRequestDto';
174
+ export type { ImportBlockedSeatResponse } from './models/ImportBlockedSeatResponse';
174
175
  export type { ImportFromEventRequestDto } from './models/ImportFromEventRequestDto';
175
176
  export type { ImportFromEventResponseDto } from './models/ImportFromEventResponseDto';
176
177
  export type { InsertUpdateBlacklistBuyerRequestDto } from './models/InsertUpdateBlacklistBuyerRequestDto';
177
178
  export type { InsertUpdateTimedTriggerRequestDto } from './models/InsertUpdateTimedTriggerRequestDto';
178
179
  export type { IntegratorDetailResponseDto } from './models/IntegratorDetailResponseDto';
180
+ export type { IntegratorPaymentResponseDto } from './models/IntegratorPaymentResponseDto';
179
181
  export type { IntegratorResponseDto } from './models/IntegratorResponseDto';
180
182
  export type { InterviewDetailDto } from './models/InterviewDetailDto';
181
183
  export type { InterviewDetailResponseDto } from './models/InterviewDetailResponseDto';
@@ -1,6 +1,6 @@
1
1
  export const OpenAPI = {
2
2
  BASE: 'https://api.drttix.com/scanner-v3',
3
- VERSION: '20260713.1',
3
+ VERSION: '20260826.1',
4
4
  WITH_CREDENTIALS: false,
5
5
  CREDENTIALS: 'include',
6
6
  TOKEN: undefined,
@@ -1,6 +1,6 @@
1
1
  export const OpenAPI = {
2
2
  BASE: 'https://api.drttix.com/shopper',
3
- VERSION: '20260817.1',
3
+ VERSION: '20260831.4',
4
4
  WITH_CREDENTIALS: false,
5
5
  CREDENTIALS: 'include',
6
6
  TOKEN: undefined,
@@ -17,7 +17,11 @@ export type { CartCounts } from './models/CartCounts';
17
17
  export type { CartCountsLite } from './models/CartCountsLite';
18
18
  export type { CartHashResponse } from './models/CartHashResponse';
19
19
  export type { CartItemCounts } from './models/CartItemCounts';
20
+ export type { CartStateEnvelope } from './models/CartStateEnvelope';
20
21
  export type { CartSummary } from './models/CartSummary';
22
+ export type { CartTierOption } from './models/CartTierOption';
23
+ export type { CartTierSeat } from './models/CartTierSeat';
24
+ export type { CartTiersResponse } from './models/CartTiersResponse';
21
25
  export type { CartTotals } from './models/CartTotals';
22
26
  export type { CartWithTime } from './models/CartWithTime';
23
27
  export type { CashPaymentDetail } from './models/CashPaymentDetail';
@@ -54,6 +58,7 @@ export type { EventDetails } from './models/EventDetails';
54
58
  export type { EventGroup } from './models/EventGroup';
55
59
  export type { EventLegend } from './models/EventLegend';
56
60
  export type { EventLegendItem } from './models/EventLegendItem';
61
+ export type { EventListItem } from './models/EventListItem';
57
62
  export type { ExchangeAnswersBody } from './models/ExchangeAnswersBody';
58
63
  export type { ExchangeCancelResponse } from './models/ExchangeCancelResponse';
59
64
  export type { ExchangeCancelSeatResponse } from './models/ExchangeCancelSeatResponse';
@@ -137,6 +142,7 @@ export type { RootConfigResponse } from './models/RootConfigResponse';
137
142
  export type { SaveDetailsBody } from './models/SaveDetailsBody';
138
143
  export type { SaveNonceBody } from './models/SaveNonceBody';
139
144
  export type { SeatData } from './models/SeatData';
145
+ export type { SeatHoldObject } from './models/SeatHoldObject';
140
146
  export type { SeatHoldReturn } from './models/SeatHoldReturn';
141
147
  export type { SeatIdInput } from './models/SeatIdInput';
142
148
  export type { SeatInCart } from './models/SeatInCart';
@@ -173,6 +179,7 @@ export { CodeService } from './services/CodeService';
173
179
  export { DonationService } from './services/DonationService';
174
180
  export { EventService } from './services/EventService';
175
181
  export { GiftCardService } from './services/GiftCardService';
182
+ export { HealthService } from './services/HealthService';
176
183
  export { OrderService } from './services/OrderService';
177
184
  export { PaymentService } from './services/PaymentService';
178
185
  export { ProductService } from './services/ProductService';
@@ -12,6 +12,7 @@ export { CodeService } from './services/CodeService.js';
12
12
  export { DonationService } from './services/DonationService.js';
13
13
  export { EventService } from './services/EventService.js';
14
14
  export { GiftCardService } from './services/GiftCardService.js';
15
+ export { HealthService } from './services/HealthService.js';
15
16
  export { OrderService } from './services/OrderService.js';
16
17
  export { PaymentService } from './services/PaymentService.js';
17
18
  export { ProductService } from './services/ProductService.js';
@@ -57,6 +57,10 @@ export type Account = {
57
57
  enableOrderDonation: number;
58
58
  obfuscateData: number;
59
59
  paymentGatewayId: number | null;
60
+ /**
61
+ * The studio's Stripe connected account id (studio_pmt_gateway_assoc.pmt_gateway_acct_id), resolved live at request time — the cached Account row predates the field. The site passes it as stripeAccount when initializing Stripe.js; without it the Payment Element mounts on the platform account and confirmation tokens cannot confirm connected-account intents. Null when the studio has no Stripe connected account.
62
+ */
63
+ pmtGatewayAcctId: string | null;
60
64
  enableAdjustmentPayment: number;
61
65
  groupShows: number;
62
66
  };
@@ -1,6 +1,16 @@
1
1
  export type CartCounts = {
2
+ /**
3
+ * Total tickets (seats) in the cart.
4
+ */
2
5
  numSeats: number;
3
6
  numDonations: number;
7
+ /**
8
+ * Total product ITEMS (sum of line quantities) — was the line count before PROJ-900.
9
+ */
4
10
  numProducts: number;
11
+ /**
12
+ * Number of distinct product lines in the cart.
13
+ */
14
+ numUniqueProducts: number;
5
15
  numTotal: number;
6
16
  };
@@ -1,14 +1,22 @@
1
1
  export type CartCountsLite = {
2
2
  /**
3
- * Number of seats currently held in the cart.
3
+ * Total number of tickets (seats) currently in the cart.
4
4
  */
5
5
  numSeats: number;
6
6
  /**
7
- * Number of products currently in the cart.
7
+ * Number of distinct shows those tickets span (PROJ-900).
8
+ */
9
+ numShows: number;
10
+ /**
11
+ * Total number of product ITEMS in the cart (sum of line quantities — three of the same shirt counts as 3). Previously this was the line count (PROJ-900).
8
12
  */
9
13
  numProducts: number;
10
14
  /**
11
- * Seconds remaining on the cart timer (from the Session-Service heartbeat); 0 when no timer is running.
15
+ * Number of distinct product lines in the cart (three of the same shirt counts as 1).
16
+ */
17
+ numUniqueProducts: number;
18
+ /**
19
+ * Time remaining on the cart timer, in MILLISECONDS (from the Session-Service heartbeat); 0 when no timer is running. The field name is historical and kept for compatibility — the value has always been ms, confirmed empirically by the site team (audit BUG-7; their session layer measures and documents the same). Do not divide by 1000 server-side without coordinating a field rename with every consumer.
12
20
  */
13
21
  secondsRemaining: number;
14
22
  };
@@ -0,0 +1,26 @@
1
+ import type { CartAmounts } from './CartAmounts';
2
+ import type { CartCountsLite } from './CartCountsLite';
3
+ import type { CartTotals } from './CartTotals';
4
+ import type { CartWithTime } from './CartWithTime';
5
+ export type CartStateEnvelope = {
6
+ /**
7
+ * Server-side build order (ms epoch). Rapid mutations answer with envelopes whose RESPONSES can arrive out of order; the client applies only an envelope newer than the last applied, so a late older snapshot never overwrites fresher truth.
8
+ */
9
+ builtAt: number;
10
+ /**
11
+ * Post-recompute money — the GET /cart/totals payload.
12
+ */
13
+ totals: CartTotals;
14
+ /**
15
+ * The GET /cart payload (rows are post-recompute).
16
+ */
17
+ cart: CartWithTime;
18
+ /**
19
+ * The GET /cart/counts payload (carries the cart clock).
20
+ */
21
+ counts: CartCountsLite;
22
+ /**
23
+ * The GET /cart/amounts ledger (tax, subtotals, payments) — post-recompute. Lets the client serve ledger-level refreshes from the envelope instead of chasing four extra reads after every mutation.
24
+ */
25
+ amounts: CartAmounts;
26
+ };
@@ -0,0 +1,28 @@
1
+ export type CartTierOption = {
2
+ /**
3
+ * seat_pricing_tier id.
4
+ */
5
+ id: number;
6
+ name: string;
7
+ description: string | null;
8
+ /**
9
+ * The online price for this tier — fee-inclusive, door-pricing aware (dbo.seat_availableSectionTiers semantics).
10
+ */
11
+ price: number;
12
+ /**
13
+ * The price without the service charge — render as "{basePrice} + Fee" when showPricingSplit is set.
14
+ */
15
+ basePrice: number | null;
16
+ /**
17
+ * Whether prices should be presented split (base + fee) for this show right now.
18
+ */
19
+ showPricingSplit: number;
20
+ /**
21
+ * Show service charge (the fee component).
22
+ */
23
+ serviceCharge: number;
24
+ /**
25
+ * Display rank (1 = first).
26
+ */
27
+ rank: number;
28
+ };