@drttix/drt-sdk 2.1.3 → 2.1.4

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 (191) hide show
  1. package/dist/bundle/drt-sdk.js +1 -0
  2. package/dist/cjs/index.d.ts +1 -0
  3. package/dist/cjs/src/definitions/portal.d.ts +2 -0
  4. package/dist/cjs/src/definitions/portal.js +37 -35
  5. package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
  6. package/dist/cjs/src/generated/portal/index.d.ts +10 -0
  7. package/dist/cjs/src/generated/portal/index.js +4 -2
  8. package/dist/cjs/src/generated/portal/models/AvaliableSeats.d.ts +7 -0
  9. package/dist/cjs/src/generated/portal/models/BlockedSeatDetail.d.ts +9 -0
  10. package/dist/cjs/src/generated/portal/models/BlockedSeatDetail.js +2 -0
  11. package/dist/cjs/src/generated/portal/models/CartCountResponseDto.d.ts +4 -0
  12. package/dist/cjs/src/generated/portal/models/CodeDetailResponseDto.d.ts +1 -0
  13. package/dist/cjs/src/generated/portal/models/CreateShowRequestDto.d.ts +4 -0
  14. package/dist/cjs/src/generated/portal/models/CreateTimedTriggerResponseDto.d.ts +1 -0
  15. package/dist/cjs/src/generated/portal/models/ExchangeAnswerDto.d.ts +6 -0
  16. package/dist/cjs/src/generated/portal/models/ExchangeAnswerDto.js +2 -0
  17. package/dist/cjs/src/generated/portal/models/ExchangePaymentLinkDeliveryDto.d.ts +4 -0
  18. package/dist/cjs/src/generated/portal/models/ExchangePaymentLinkDeliveryDto.js +2 -0
  19. package/dist/cjs/src/generated/portal/models/ExchangePaymentLinkDto.d.ts +37 -0
  20. package/dist/cjs/src/generated/portal/models/ExchangePaymentLinkDto.js +2 -0
  21. package/dist/cjs/src/generated/portal/models/ExchangePaymentLinkResponseDto.d.ts +17 -0
  22. package/dist/cjs/src/generated/portal/models/ExchangePaymentLinkResponseDto.js +2 -0
  23. package/dist/cjs/src/generated/portal/models/ExchangePaymentPageResponseDto.d.ts +26 -0
  24. package/dist/cjs/src/generated/portal/models/ExchangePaymentPageResponseDto.js +2 -0
  25. package/dist/cjs/src/generated/portal/models/ExchangePaymentSeatDto.d.ts +7 -0
  26. package/dist/cjs/src/generated/portal/models/ExchangePaymentSeatDto.js +2 -0
  27. package/dist/cjs/src/generated/portal/models/ExchangeQuestionResponseDto.d.ts +16 -0
  28. package/dist/cjs/src/generated/portal/models/ExchangeQuestionResponseDto.js +2 -0
  29. package/dist/cjs/src/generated/portal/models/ExecuteSeatExchangeRequestDto.d.ts +11 -2
  30. package/dist/cjs/src/generated/portal/models/InsertUpdateTimedTriggerRequestDto.d.ts +1 -0
  31. package/dist/cjs/src/generated/portal/models/OrderActionsResponseDto.d.ts +4 -0
  32. package/dist/cjs/src/generated/portal/models/SalesByTierReponseDto.d.ts +12 -0
  33. package/dist/cjs/src/generated/portal/models/SalesByTierReponseDto.js +2 -0
  34. package/dist/cjs/src/generated/portal/models/SelectedSeatExchangeResponseDto.d.ts +9 -0
  35. package/dist/cjs/src/generated/portal/models/SendExchangePaymentLinkRequestDto.d.ts +23 -0
  36. package/dist/cjs/src/generated/portal/models/SendExchangePaymentLinkRequestDto.js +2 -0
  37. package/dist/cjs/src/generated/portal/models/StudentCreditBuyerResponseDto.d.ts +12 -0
  38. package/dist/cjs/src/generated/portal/models/StudentCreditBuyerResponseDto.js +2 -0
  39. package/dist/cjs/src/generated/portal/models/SubmitExchangePaymentRequestDto.d.ts +6 -0
  40. package/dist/cjs/src/generated/portal/models/SubmitExchangePaymentRequestDto.js +2 -0
  41. package/dist/cjs/src/generated/portal/models/TicketingShowResponseDto.d.ts +4 -0
  42. package/dist/cjs/src/generated/portal/models/TimedTriggerTargetObjectResponseDto.d.ts +2 -0
  43. package/dist/cjs/src/generated/portal/models/UnAvailableSeating.js +2 -0
  44. package/dist/cjs/src/generated/portal/services/ExchangePaymentService.d.ts +22 -0
  45. package/dist/cjs/src/generated/portal/services/ExchangePaymentService.js +49 -0
  46. package/dist/cjs/src/generated/portal/services/FeaturesBlockedSeatsService.d.ts +2 -1
  47. package/dist/cjs/src/generated/portal/services/FeaturesBlockedSeatsService.js +3 -1
  48. package/dist/cjs/src/generated/portal/services/OrderLookupService.d.ts +30 -0
  49. package/dist/cjs/src/generated/portal/services/OrderLookupService.js +63 -0
  50. package/dist/cjs/src/generated/portal/types.d.ts +9 -0
  51. package/dist/cjs/src/generated/scanner/core/OpenAPI.js +1 -1
  52. package/dist/cjs/src/generated/scanner/services/ScanningService.d.ts +43 -1
  53. package/dist/cjs/src/generated/scanner/services/ScanningService.js +103 -1
  54. package/dist/cjs/src/generated/shopper/core/OpenAPI.js +1 -1
  55. package/dist/cjs/src/generated/shopper/index.d.ts +4 -0
  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/Chart.d.ts +8 -0
  59. package/dist/cjs/src/generated/shopper/models/Chart.js +2 -0
  60. package/dist/cjs/src/generated/shopper/models/IgnorePriorityStateDto.d.ts +6 -0
  61. package/dist/cjs/src/generated/shopper/models/IgnorePriorityStateDto.js +2 -0
  62. package/dist/cjs/src/generated/shopper/models/PaymentFail.d.ts +18 -0
  63. package/dist/cjs/src/generated/shopper/models/PaymentFail.js +2 -0
  64. package/dist/cjs/src/generated/shopper/models/SessionSuccessDto.d.ts +3 -0
  65. package/dist/cjs/src/generated/shopper/models/SessionSuccessDto.js +2 -0
  66. package/dist/cjs/src/generated/shopper/models/SetAffiliateDto.d.ts +6 -0
  67. package/dist/cjs/src/generated/shopper/models/SetAffiliateDto.js +2 -0
  68. package/dist/cjs/src/generated/shopper/models/SetIgnorePriorityDto.d.ts +6 -0
  69. package/dist/cjs/src/generated/shopper/models/SetIgnorePriorityDto.js +2 -0
  70. package/dist/cjs/src/generated/shopper/services/SessionService.d.ts +42 -0
  71. package/dist/cjs/src/generated/shopper/services/SessionService.js +66 -0
  72. package/dist/cjs/src/generated/shopper/types.d.ts +4 -0
  73. package/dist/cjs/src/staging/index.d.ts +1 -0
  74. package/dist/cjs/src/staging/portal.d.ts +2 -0
  75. package/dist/cjs/src/staging/portal.js +37 -35
  76. package/dist/esm/index.d.ts +1 -0
  77. package/dist/esm/src/definitions/portal.d.ts +2 -0
  78. package/dist/esm/src/definitions/portal.js +2 -0
  79. package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
  80. package/dist/esm/src/generated/portal/index.d.ts +10 -0
  81. package/dist/esm/src/generated/portal/index.js +1 -0
  82. package/dist/esm/src/generated/portal/models/AvaliableSeats.d.ts +7 -0
  83. package/dist/esm/src/generated/portal/models/BlockedSeatDetail.d.ts +9 -0
  84. package/dist/esm/src/generated/portal/models/BlockedSeatDetail.js +1 -0
  85. package/dist/esm/src/generated/portal/models/CartCountResponseDto.d.ts +4 -0
  86. package/dist/esm/src/generated/portal/models/CodeDetailResponseDto.d.ts +1 -0
  87. package/dist/esm/src/generated/portal/models/CreateShowRequestDto.d.ts +4 -0
  88. package/dist/esm/src/generated/portal/models/CreateTimedTriggerResponseDto.d.ts +1 -0
  89. package/dist/esm/src/generated/portal/models/ExchangeAnswerDto.d.ts +6 -0
  90. package/dist/esm/src/generated/portal/models/ExchangeAnswerDto.js +1 -0
  91. package/dist/esm/src/generated/portal/models/ExchangePaymentLinkDeliveryDto.d.ts +4 -0
  92. package/dist/esm/src/generated/portal/models/ExchangePaymentLinkDeliveryDto.js +1 -0
  93. package/dist/esm/src/generated/portal/models/ExchangePaymentLinkDto.d.ts +37 -0
  94. package/dist/esm/src/generated/portal/models/ExchangePaymentLinkDto.js +1 -0
  95. package/dist/esm/src/generated/portal/models/ExchangePaymentLinkResponseDto.d.ts +17 -0
  96. package/dist/esm/src/generated/portal/models/ExchangePaymentLinkResponseDto.js +1 -0
  97. package/dist/esm/src/generated/portal/models/ExchangePaymentPageResponseDto.d.ts +26 -0
  98. package/dist/esm/src/generated/portal/models/ExchangePaymentPageResponseDto.js +1 -0
  99. package/dist/esm/src/generated/portal/models/ExchangePaymentSeatDto.d.ts +7 -0
  100. package/dist/esm/src/generated/portal/models/ExchangePaymentSeatDto.js +1 -0
  101. package/dist/esm/src/generated/portal/models/ExchangeQuestionResponseDto.d.ts +16 -0
  102. package/dist/esm/src/generated/portal/models/ExchangeQuestionResponseDto.js +1 -0
  103. package/dist/esm/src/generated/portal/models/ExecuteSeatExchangeRequestDto.d.ts +11 -2
  104. package/dist/esm/src/generated/portal/models/InsertUpdateTimedTriggerRequestDto.d.ts +1 -0
  105. package/dist/esm/src/generated/portal/models/OrderActionsResponseDto.d.ts +4 -0
  106. package/dist/esm/src/generated/portal/models/SalesByTierReponseDto.d.ts +12 -0
  107. package/dist/esm/src/generated/portal/models/SalesByTierReponseDto.js +1 -0
  108. package/dist/esm/src/generated/portal/models/SelectedSeatExchangeResponseDto.d.ts +9 -0
  109. package/dist/esm/src/generated/portal/models/SendExchangePaymentLinkRequestDto.d.ts +23 -0
  110. package/dist/esm/src/generated/portal/models/SendExchangePaymentLinkRequestDto.js +1 -0
  111. package/dist/esm/src/generated/portal/models/StudentCreditBuyerResponseDto.d.ts +12 -0
  112. package/dist/esm/src/generated/portal/models/StudentCreditBuyerResponseDto.js +1 -0
  113. package/dist/esm/src/generated/portal/models/SubmitExchangePaymentRequestDto.d.ts +6 -0
  114. package/dist/esm/src/generated/portal/models/SubmitExchangePaymentRequestDto.js +1 -0
  115. package/dist/esm/src/generated/portal/models/TicketingShowResponseDto.d.ts +4 -0
  116. package/dist/esm/src/generated/portal/models/TimedTriggerTargetObjectResponseDto.d.ts +2 -0
  117. package/dist/esm/src/generated/portal/models/UnAvailableSeating.js +1 -0
  118. package/dist/esm/src/generated/portal/services/ExchangePaymentService.d.ts +22 -0
  119. package/dist/esm/src/generated/portal/services/ExchangePaymentService.js +45 -0
  120. package/dist/esm/src/generated/portal/services/FeaturesBlockedSeatsService.d.ts +2 -1
  121. package/dist/esm/src/generated/portal/services/FeaturesBlockedSeatsService.js +3 -1
  122. package/dist/esm/src/generated/portal/services/OrderLookupService.d.ts +30 -0
  123. package/dist/esm/src/generated/portal/services/OrderLookupService.js +63 -0
  124. package/dist/esm/src/generated/portal/types.d.ts +9 -0
  125. package/dist/esm/src/generated/scanner/core/OpenAPI.js +1 -1
  126. package/dist/esm/src/generated/scanner/services/ScanningService.d.ts +43 -1
  127. package/dist/esm/src/generated/scanner/services/ScanningService.js +103 -1
  128. package/dist/esm/src/generated/shopper/core/OpenAPI.js +1 -1
  129. package/dist/esm/src/generated/shopper/index.d.ts +4 -0
  130. package/dist/esm/src/generated/shopper/models/CartStateEnvelope.d.ts +26 -0
  131. package/dist/esm/src/generated/shopper/models/CartStateEnvelope.js +1 -0
  132. package/dist/esm/src/generated/shopper/models/Chart.d.ts +8 -0
  133. package/dist/esm/src/generated/shopper/models/Chart.js +1 -0
  134. package/dist/esm/src/generated/shopper/models/IgnorePriorityStateDto.d.ts +6 -0
  135. package/dist/esm/src/generated/shopper/models/IgnorePriorityStateDto.js +1 -0
  136. package/dist/esm/src/generated/shopper/models/PaymentFail.d.ts +18 -0
  137. package/dist/esm/src/generated/shopper/models/PaymentFail.js +1 -0
  138. package/dist/esm/src/generated/shopper/models/SessionSuccessDto.d.ts +3 -0
  139. package/dist/esm/src/generated/shopper/models/SessionSuccessDto.js +1 -0
  140. package/dist/esm/src/generated/shopper/models/SetAffiliateDto.d.ts +6 -0
  141. package/dist/esm/src/generated/shopper/models/SetAffiliateDto.js +1 -0
  142. package/dist/esm/src/generated/shopper/models/SetIgnorePriorityDto.d.ts +6 -0
  143. package/dist/esm/src/generated/shopper/models/SetIgnorePriorityDto.js +1 -0
  144. package/dist/esm/src/generated/shopper/services/SessionService.d.ts +42 -0
  145. package/dist/esm/src/generated/shopper/services/SessionService.js +66 -0
  146. package/dist/esm/src/generated/shopper/types.d.ts +4 -0
  147. package/dist/esm/src/staging/index.d.ts +1 -0
  148. package/dist/esm/src/staging/portal.d.ts +2 -0
  149. package/dist/esm/src/staging/portal.js +2 -0
  150. package/package.json +1 -1
  151. package/src/definitions/portal.ts +2 -0
  152. package/src/generated/portal/core/OpenAPI.ts +1 -1
  153. package/src/generated/portal/index.ts +10 -0
  154. package/src/generated/portal/models/CartCountResponseDto.ts +4 -0
  155. package/src/generated/portal/models/CodeDetailResponseDto.ts +1 -0
  156. package/src/generated/portal/models/CreateShowRequestDto.ts +4 -0
  157. package/src/generated/portal/models/CreateTimedTriggerResponseDto.ts +1 -0
  158. package/src/generated/portal/models/ExchangeAnswerDto.ts +11 -0
  159. package/src/generated/portal/models/ExchangePaymentLinkDeliveryDto.ts +9 -0
  160. package/src/generated/portal/models/ExchangePaymentLinkDto.ts +42 -0
  161. package/src/generated/portal/models/ExchangePaymentLinkResponseDto.ts +22 -0
  162. package/src/generated/portal/models/ExchangePaymentPageResponseDto.ts +31 -0
  163. package/src/generated/portal/models/ExchangePaymentSeatDto.ts +12 -0
  164. package/src/generated/portal/models/ExchangeQuestionResponseDto.ts +21 -0
  165. package/src/generated/portal/models/ExecuteSeatExchangeRequestDto.ts +11 -2
  166. package/src/generated/portal/models/InsertUpdateTimedTriggerRequestDto.ts +1 -0
  167. package/src/generated/portal/models/OrderActionsResponseDto.ts +4 -0
  168. package/src/generated/portal/models/SelectedSeatExchangeResponseDto.ts +9 -0
  169. package/src/generated/portal/models/SendExchangePaymentLinkRequestDto.ts +28 -0
  170. package/src/generated/portal/models/SubmitExchangePaymentRequestDto.ts +11 -0
  171. package/src/generated/portal/models/TicketingShowResponseDto.ts +4 -0
  172. package/src/generated/portal/models/TimedTriggerTargetObjectResponseDto.ts +2 -0
  173. package/src/generated/portal/services/ExchangePaymentService.ts +57 -0
  174. package/src/generated/portal/services/FeaturesBlockedSeatsService.ts +3 -0
  175. package/src/generated/portal/services/OrderLookupService.ts +75 -0
  176. package/src/generated/portal/types.ts +9 -0
  177. package/src/generated/scanner/core/OpenAPI.ts +1 -1
  178. package/src/generated/scanner/services/ScanningService.ts +103 -1
  179. package/src/generated/shopper/core/OpenAPI.ts +1 -1
  180. package/src/generated/shopper/index.ts +4 -0
  181. package/src/generated/shopper/models/IgnorePriorityStateDto.ts +11 -0
  182. package/src/generated/shopper/models/SessionSuccessDto.ts +8 -0
  183. package/src/generated/shopper/models/SetAffiliateDto.ts +11 -0
  184. package/src/generated/shopper/models/SetIgnorePriorityDto.ts +11 -0
  185. package/src/generated/shopper/services/SessionService.ts +81 -0
  186. package/src/generated/shopper/types.ts +4 -0
  187. package/src/staging/portal.ts +2 -0
  188. /package/dist/cjs/src/generated/portal/models/{UnavailableSeating.js → AvaliableSeats.js} +0 -0
  189. /package/dist/cjs/src/generated/portal/models/{UnavailableSeating.d.ts → UnAvailableSeating.d.ts} +0 -0
  190. /package/dist/esm/src/generated/portal/models/{UnavailableSeating.js → AvaliableSeats.js} +0 -0
  191. /package/dist/esm/src/generated/portal/models/{UnavailableSeating.d.ts → UnAvailableSeating.d.ts} +0 -0
@@ -0,0 +1,26 @@
1
+ import type { ExchangePaymentSeatDto } from './ExchangePaymentSeatDto';
2
+ export type ExchangePaymentPageResponseDto = {
3
+ /**
4
+ * awaiting_card: show the card form. card_received: the card is stored and the exchange is being completed. paid: done.
5
+ */
6
+ state: string;
7
+ orderId: number;
8
+ studioName: string | null;
9
+ firstName: string | null;
10
+ amount: number;
11
+ currency: string;
12
+ /**
13
+ * The new seats.
14
+ */
15
+ seats: Array<ExchangePaymentSeatDto>;
16
+ /**
17
+ * awaiting_card only: why the previous card was not accepted.
18
+ */
19
+ lastError: string | null;
20
+ expiresAt: string | null;
21
+ /**
22
+ * awaiting_card only. Null: card payments are unavailable.
23
+ */
24
+ publishableKey: string | null;
25
+ stripeAccountId: string | null;
26
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ export type ExchangePaymentSeatDto = {
2
+ showName: string | null;
3
+ section: string | null;
4
+ row: string | null;
5
+ seat: string | null;
6
+ tierName: string | null;
7
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ export type ExchangeQuestionResponseDto = {
2
+ questionId: number;
3
+ /**
4
+ * L = pick from answers, T = text
5
+ */
6
+ questionType: string;
7
+ question: string;
8
+ answers: string | null;
9
+ comment: string | null;
10
+ isOptional: number;
11
+ showId: number;
12
+ seatId: number;
13
+ showName: string;
14
+ designation: string | null;
15
+ seatLabel: string | null;
16
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,4 @@
1
+ import type { ExchangeAnswerDto } from './ExchangeAnswerDto';
1
2
  import type { ShowSeatPair } from './ShowSeatPair';
2
3
  export type ExecuteSeatExchangeRequestDto = {
3
4
  showSeatBody: Array<ShowSeatPair>;
@@ -7,7 +8,7 @@ export type ExecuteSeatExchangeRequestDto = {
7
8
  */
8
9
  executeRefund: number;
9
10
  /**
10
- * Upgrades only: 1 charges the buyer the cost difference with confirmationToken, 0 waives it. Waiving needs policyOverrideAcknowledged. Omitted is treated as 0.
11
+ * Upgrades only: 1 charges the buyer the cost difference with confirmationToken, 0 waives it. Any admin may waive. Omitted is treated as 0.
11
12
  */
12
13
  collectUpcharge?: number;
13
14
  /**
@@ -15,11 +16,19 @@ export type ExecuteSeatExchangeRequestDto = {
15
16
  */
16
17
  confirmationToken?: string;
17
18
  /**
18
- * The client signed off on an exchange outcome that departs from their Support Policies (refund given where the policy gives none, refund withheld where the policy gives one, or the upcharge waived).
19
+ * With collectUpcharge 1: charge the card the buyer entered on this order's exchange payment link (sent from this session) instead of a confirmationToken. The link must hold a card, and must have been sent for this exact exchange and amount. Superusers collect upcharges only this way.
20
+ */
21
+ usePaymentLink?: number;
22
+ /**
23
+ * The client signed off on an exchange outcome that departs from their Support Policies (refund given where the policy gives none, refund withheld where the policy gives one, a chosen refund amount, a failed validation rule or stranded merchandise).
19
24
  */
20
25
  policyOverrideAcknowledged?: number;
21
26
  /**
22
27
  * Primary admins and superusers only: refund this amount instead of the cost difference, on any exchange that does not charge an upcharge. Capped at what the buyer has paid by card, less refunds already made or pending. An amount other than the cost difference needs policyOverrideAcknowledged. Omitted: the executeRefund choice applies.
23
28
  */
24
29
  refundAmount?: number;
30
+ /**
31
+ * Answers to the ticket questions that apply to the new seats (questions in the selected-seats response). Required questions must be answered.
32
+ */
33
+ answers?: Array<ExchangeAnswerDto>;
25
34
  };
@@ -3,6 +3,7 @@ export type InsertUpdateTimedTriggerRequestDto = {
3
3
  dateToTrigger: string;
4
4
  targetFieldId: number;
5
5
  targetPkId: number;
6
+ interviewId?: number;
6
7
  newValueShorttext: string;
7
8
  newValueLongtext: string;
8
9
  conditionalDescription: string;
@@ -11,6 +11,10 @@ export type OrderActionsResponseDto = {
11
11
  * 1 when classic would offer Exchange Tickets: the ledger is in balance, no refund request is active and the order still holds seats. Show dates and show type do not matter.
12
12
  */
13
13
  isExchangeEligible: number;
14
+ /**
15
+ * 1 when the account's Exchanges Permitted policy stops this DRT login from exchanging the order.
16
+ */
17
+ exchangeBlockedByPolicy: number;
14
18
  isReleaseEligible: number;
15
19
  isModifyEligible: number;
16
20
  };
@@ -0,0 +1,12 @@
1
+ export type SalesByTierReponseDto = {
2
+ showId: number;
3
+ tierName: Record<string, any>;
4
+ maxCapacity: Record<string, any>;
5
+ price: number;
6
+ numSeatsHeld: number;
7
+ numSeatsSold: number;
8
+ name: string;
9
+ title: string;
10
+ dateStart: string;
11
+ designation: string;
12
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,4 @@
1
+ import type { ExchangeQuestionResponseDto } from './ExchangeQuestionResponseDto';
1
2
  import type { SeatResponseDto } from './SeatResponseDto';
2
3
  export type SelectedSeatExchangeResponseDto = {
3
4
  seats: Array<SeatResponseDto>;
@@ -19,4 +20,12 @@ export type SelectedSeatExchangeResponseDto = {
19
20
  * 1 for a primary admin or a superuser: may sign off an exchange outside the Support Policies and choose the refund amount.
20
21
  */
21
22
  canOverridePolicy: number;
23
+ /**
24
+ * 1 for a DRT superuser: an upcharge is collected by sending the buyer a payment link, never by keying a card into the modal.
25
+ */
26
+ upchargeByPaymentLink: number;
27
+ /**
28
+ * Per-ticket checkout questions for the held seats. Send the answers with execute-seat-exchange.
29
+ */
30
+ questions: Array<ExchangeQuestionResponseDto>;
22
31
  };
@@ -0,0 +1,23 @@
1
+ import type { ShowSeatPair } from './ShowSeatPair';
2
+ export type SendExchangePaymentLinkRequestDto = {
3
+ /**
4
+ * The seats leaving the order, as for execute-seat-exchange.
5
+ */
6
+ showSeatBody: Array<ShowSeatPair>;
7
+ /**
8
+ * Where to email the link. Required when sendEmail is set.
9
+ */
10
+ email?: string;
11
+ /**
12
+ * Where to text the link. Required when sendSms is set.
13
+ */
14
+ phone?: string;
15
+ /**
16
+ * Email the link.
17
+ */
18
+ sendEmail?: boolean;
19
+ /**
20
+ * Text the link.
21
+ */
22
+ sendSms?: boolean;
23
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ export type StudentCreditBuyerResponseDto = {
2
+ id: number;
3
+ firstName: string;
4
+ lastName: string;
5
+ phone: string;
6
+ email: string;
7
+ shippingAddress1: string;
8
+ shippingAddress2: string;
9
+ shippingCity: string;
10
+ shippingState: string;
11
+ shippingPostal: string;
12
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export type SubmitExchangePaymentRequestDto = {
2
+ /**
3
+ * Stripe confirmation token from the Payment Element on the pay page. Stored on the link, not charged: the exchange is completed (and the card charged) from the portal.
4
+ */
5
+ confirmationToken: string;
6
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,6 +3,10 @@ import type { ShowsResponseDto } from './ShowsResponseDto';
3
3
  export type TicketingShowResponseDto = {
4
4
  isSuperUser: boolean;
5
5
  domainURL: string;
6
+ /**
7
+ * True when the studio sells on the new storefront (site.drttix.com), the only site that records ?affiliate=.
8
+ */
9
+ isNewStorefront: boolean;
6
10
  shows: Array<ShowsResponseDto>;
7
11
  showGroups: Array<ShowGroupResponseDto>;
8
12
  /**
@@ -2,4 +2,6 @@ export type TimedTriggerTargetObjectResponseDto = {
2
2
  id: number;
3
3
  name: string;
4
4
  grouping: string;
5
+ interviewId?: Record<string, any> | null;
6
+ interviewName?: Record<string, any> | null;
5
7
  };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,22 @@
1
+ import type { ExchangePaymentPageResponseDto } from '../models/ExchangePaymentPageResponseDto';
2
+ import type { SubmitExchangePaymentRequestDto } from '../models/SubmitExchangePaymentRequestDto';
3
+ import type { CancelablePromise } from '../core/CancelablePromise';
4
+ export declare class ExchangePaymentService {
5
+ /**
6
+ * Resolve an exchange payment link for the buyer
7
+ * What the pay page shows: the amount, the new seats and the public Stripe values for the Payment Element. No session; the code is the credential.
8
+ * @param code
9
+ * @returns ExchangePaymentPageResponseDto
10
+ * @throws ApiError
11
+ */
12
+ static getExchangePayment(code: string): CancelablePromise<ExchangePaymentPageResponseDto>;
13
+ /**
14
+ * Store the buyer's card on an exchange payment link
15
+ * Stores the Payment Element's confirmation token on the link. Nothing is charged until the exchange is completed in the portal.
16
+ * @param code
17
+ * @param requestBody
18
+ * @returns ExchangePaymentPageResponseDto
19
+ * @throws ApiError
20
+ */
21
+ static submitExchangePaymentCard(code: string, requestBody: SubmitExchangePaymentRequestDto): CancelablePromise<ExchangePaymentPageResponseDto>;
22
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExchangePaymentService = void 0;
4
+ const OpenAPI_1 = require("../core/OpenAPI");
5
+ const request_1 = require("../core/request");
6
+ class ExchangePaymentService {
7
+ /**
8
+ * Resolve an exchange payment link for the buyer
9
+ * What the pay page shows: the amount, the new seats and the public Stripe values for the Payment Element. No session; the code is the credential.
10
+ * @param code
11
+ * @returns ExchangePaymentPageResponseDto
12
+ * @throws ApiError
13
+ */
14
+ static getExchangePayment(code) {
15
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
16
+ method: 'GET',
17
+ url: '/exchange-payment/{code}',
18
+ path: {
19
+ 'code': code,
20
+ },
21
+ errors: {
22
+ 404: `Unknown, cancelled or expired code.`,
23
+ },
24
+ });
25
+ }
26
+ /**
27
+ * Store the buyer's card on an exchange payment link
28
+ * Stores the Payment Element's confirmation token on the link. Nothing is charged until the exchange is completed in the portal.
29
+ * @param code
30
+ * @param requestBody
31
+ * @returns ExchangePaymentPageResponseDto
32
+ * @throws ApiError
33
+ */
34
+ static submitExchangePaymentCard(code, requestBody) {
35
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
36
+ method: 'POST',
37
+ url: '/exchange-payment/{code}',
38
+ path: {
39
+ 'code': code,
40
+ },
41
+ body: requestBody,
42
+ mediaType: 'application/json',
43
+ errors: {
44
+ 404: `Unknown, cancelled or expired code.`,
45
+ },
46
+ });
47
+ }
48
+ }
49
+ exports.ExchangePaymentService = ExchangePaymentService;
@@ -83,10 +83,11 @@ export declare class FeaturesBlockedSeatsService {
83
83
  * Fetch the seat engine occupancy for a show
84
84
  * @param xStudioId The ID of the studio
85
85
  * @param showId The ID of the show
86
+ * @param xSeatEngineReload
86
87
  * @returns any Show occupancy fetched successfully
87
88
  * @throws ApiError
88
89
  */
89
- static getSeatEngineOccupancy(xStudioId: string, showId: string): CancelablePromise<any>;
90
+ static getSeatEngineOccupancy(xStudioId: string, showId: string, xSeatEngineReload: string): CancelablePromise<any>;
90
91
  /**
91
92
  * Check the selected seats against show
92
93
  * Check the selected seats against show
@@ -117,10 +117,11 @@ class FeaturesBlockedSeatsService {
117
117
  * Fetch the seat engine occupancy for a show
118
118
  * @param xStudioId The ID of the studio
119
119
  * @param showId The ID of the show
120
+ * @param xSeatEngineReload
120
121
  * @returns any Show occupancy fetched successfully
121
122
  * @throws ApiError
122
123
  */
123
- static getSeatEngineOccupancy(xStudioId, showId) {
124
+ static getSeatEngineOccupancy(xStudioId, showId, xSeatEngineReload) {
124
125
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
125
126
  method: 'GET',
126
127
  url: '/features/blocked-seats/{showId}/occupancy',
@@ -129,6 +130,7 @@ class FeaturesBlockedSeatsService {
129
130
  },
130
131
  headers: {
131
132
  'x-studio-id': xStudioId,
133
+ 'x-seat-engine-reload': xSeatEngineReload,
132
134
  },
133
135
  });
134
136
  }
@@ -1,6 +1,7 @@
1
1
  import type { AddSessionSeatRequestDto } from '../models/AddSessionSeatRequestDto';
2
2
  import type { AddSessionSeatResponseDto } from '../models/AddSessionSeatResponseDto';
3
3
  import type { CancelExchangeTicketRequestDto } from '../models/CancelExchangeTicketRequestDto';
4
+ import type { ExchangePaymentLinkResponseDto } from '../models/ExchangePaymentLinkResponseDto';
4
5
  import type { ExecuteReleaseSeatRequestDto } from '../models/ExecuteReleaseSeatRequestDto';
5
6
  import type { ExecuteReleaseSeatResponseDto } from '../models/ExecuteReleaseSeatResponseDto';
6
7
  import type { ExecuteSeatExchangeRequestDto } from '../models/ExecuteSeatExchangeRequestDto';
@@ -18,6 +19,7 @@ import type { RecalculateOrderResponseDto } from '../models/RecalculateOrderResp
18
19
  import type { ReleaseSeatDetailResponseDto } from '../models/ReleaseSeatDetailResponseDto';
19
20
  import type { SaveAdministrativeNoteRequestDto } from '../models/SaveAdministrativeNoteRequestDto';
20
21
  import type { SelectedSeatExchangeResponseDto } from '../models/SelectedSeatExchangeResponseDto';
22
+ import type { SendExchangePaymentLinkRequestDto } from '../models/SendExchangePaymentLinkRequestDto';
21
23
  import type { ShowBlockedSeatResponseDto } from '../models/ShowBlockedSeatResponseDto';
22
24
  import type { ShowDetailsResponseDto } from '../models/ShowDetailsResponseDto';
23
25
  import type { ShowTierRequestDto } from '../models/ShowTierRequestDto';
@@ -220,6 +222,34 @@ export declare class OrderLookupService {
220
222
  * @throws ApiError
221
223
  */
222
224
  static executeSeatExchange(xStudioId: string, orderId: string, requestBody: ExecuteSeatExchangeRequestDto): CancelablePromise<SuccessResponse>;
225
+ /**
226
+ * Get the exchange payment link
227
+ * Superusers only. The payment link this session sent for the order's exchange, if one is still open (waiting for a card, holding one, or being charged), and the order's email and phone to send one to.
228
+ * @param xStudioId The ID of the studio
229
+ * @param orderId The ID of the order
230
+ * @returns ExchangePaymentLinkResponseDto The exchange payment link this session has out for the order
231
+ * @throws ApiError
232
+ */
233
+ static getExchangePaymentLink(xStudioId: string, orderId: string): CancelablePromise<ExchangePaymentLinkResponseDto>;
234
+ /**
235
+ * Send an exchange payment link
236
+ * Superusers only. Texts and / or emails the buyer a link to pay an upgrade exchange's cost difference by card. Nothing is charged until the exchange is completed with usePaymentLink.
237
+ * @param xStudioId The ID of the studio
238
+ * @param orderId The ID of the order
239
+ * @param requestBody
240
+ * @returns ExchangePaymentLinkResponseDto The link that was sent, and which channels went out
241
+ * @throws ApiError
242
+ */
243
+ static sendExchangePaymentLink(xStudioId: string, orderId: string, requestBody: SendExchangePaymentLinkRequestDto): CancelablePromise<ExchangePaymentLinkResponseDto>;
244
+ /**
245
+ * Cancel the exchange payment link
246
+ * Superusers only. Withdraws the open payment link; a card on it is dropped without being charged.
247
+ * @param xStudioId The ID of the studio
248
+ * @param orderId The ID of the order
249
+ * @returns ExchangePaymentLinkResponseDto The order's link state after cancelling
250
+ * @throws ApiError
251
+ */
252
+ static cancelExchangePaymentLink(xStudioId: string, orderId: string): CancelablePromise<ExchangePaymentLinkResponseDto>;
223
253
  /**
224
254
  * Modify order tickets
225
255
  * To modify order tickets for the orders. Answers 400 NO_TIER_CHANGE_ERROR, writing nothing, when no seat in `tier` differs from its current tier.
@@ -415,6 +415,69 @@ class OrderLookupService {
415
415
  mediaType: 'application/json',
416
416
  });
417
417
  }
418
+ /**
419
+ * Get the exchange payment link
420
+ * Superusers only. The payment link this session sent for the order's exchange, if one is still open (waiting for a card, holding one, or being charged), and the order's email and phone to send one to.
421
+ * @param xStudioId The ID of the studio
422
+ * @param orderId The ID of the order
423
+ * @returns ExchangePaymentLinkResponseDto The exchange payment link this session has out for the order
424
+ * @throws ApiError
425
+ */
426
+ static getExchangePaymentLink(xStudioId, orderId) {
427
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
428
+ method: 'GET',
429
+ url: '/order-lookup/{orderId}/exchange-payment-link',
430
+ path: {
431
+ 'orderId': orderId,
432
+ },
433
+ headers: {
434
+ 'x-studio-id': xStudioId,
435
+ },
436
+ });
437
+ }
438
+ /**
439
+ * Send an exchange payment link
440
+ * Superusers only. Texts and / or emails the buyer a link to pay an upgrade exchange's cost difference by card. Nothing is charged until the exchange is completed with usePaymentLink.
441
+ * @param xStudioId The ID of the studio
442
+ * @param orderId The ID of the order
443
+ * @param requestBody
444
+ * @returns ExchangePaymentLinkResponseDto The link that was sent, and which channels went out
445
+ * @throws ApiError
446
+ */
447
+ static sendExchangePaymentLink(xStudioId, orderId, requestBody) {
448
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
449
+ method: 'POST',
450
+ url: '/order-lookup/{orderId}/exchange-payment-link',
451
+ path: {
452
+ 'orderId': orderId,
453
+ },
454
+ headers: {
455
+ 'x-studio-id': xStudioId,
456
+ },
457
+ body: requestBody,
458
+ mediaType: 'application/json',
459
+ });
460
+ }
461
+ /**
462
+ * Cancel the exchange payment link
463
+ * Superusers only. Withdraws the open payment link; a card on it is dropped without being charged.
464
+ * @param xStudioId The ID of the studio
465
+ * @param orderId The ID of the order
466
+ * @returns ExchangePaymentLinkResponseDto The order's link state after cancelling
467
+ * @throws ApiError
468
+ */
469
+ static cancelExchangePaymentLink(xStudioId, orderId) {
470
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
471
+ method: 'POST',
472
+ url: '/order-lookup/{orderId}/exchange-payment-link/cancel',
473
+ path: {
474
+ 'orderId': orderId,
475
+ },
476
+ headers: {
477
+ 'x-studio-id': xStudioId,
478
+ },
479
+ });
480
+ }
418
481
  /**
419
482
  * Modify order tickets
420
483
  * To modify order tickets for the orders. Answers 400 NO_TIER_CHANGE_ERROR, writing nothing, when no seat in `tier` differs from its current tier.
@@ -145,6 +145,13 @@ export type { EditShowRequestDto } from './models/EditShowRequestDto';
145
145
  export type { EmailBuyersListResponseDto } from './models/EmailBuyersListResponseDto';
146
146
  export type { EmailBuyersRequestDto } from './models/EmailBuyersRequestDto';
147
147
  export type { EmailDetailResponseDto } from './models/EmailDetailResponseDto';
148
+ export type { ExchangeAnswerDto } from './models/ExchangeAnswerDto';
149
+ export type { ExchangePaymentLinkDeliveryDto } from './models/ExchangePaymentLinkDeliveryDto';
150
+ export type { ExchangePaymentLinkDto } from './models/ExchangePaymentLinkDto';
151
+ export type { ExchangePaymentLinkResponseDto } from './models/ExchangePaymentLinkResponseDto';
152
+ export type { ExchangePaymentPageResponseDto } from './models/ExchangePaymentPageResponseDto';
153
+ export type { ExchangePaymentSeatDto } from './models/ExchangePaymentSeatDto';
154
+ export type { ExchangeQuestionResponseDto } from './models/ExchangeQuestionResponseDto';
148
155
  export type { ExchangeShowDetailResponseDto } from './models/ExchangeShowDetailResponseDto';
149
156
  export type { ExchangeTierDetailResponseDto } from './models/ExchangeTierDetailResponseDto';
150
157
  export type { ExecuteReleaseSeatRequestDto } from './models/ExecuteReleaseSeatRequestDto';
@@ -364,6 +371,7 @@ export type { SectionRule } from './models/SectionRule';
364
371
  export type { SelectedSeatExchangeResponseDto } from './models/SelectedSeatExchangeResponseDto';
365
372
  export type { SendBlockedSeatsMailRequestDto } from './models/SendBlockedSeatsMailRequestDto';
366
373
  export type { SendEmailRequestDto } from './models/SendEmailRequestDto';
374
+ export type { SendExchangePaymentLinkRequestDto } from './models/SendExchangePaymentLinkRequestDto';
367
375
  export type { SendMailRequestDto } from './models/SendMailRequestDto';
368
376
  export type { SendReservationCodeMailRequestDto } from './models/SendReservationCodeMailRequestDto';
369
377
  export type { SendSupportChatMessageRequestDto } from './models/SendSupportChatMessageRequestDto';
@@ -433,6 +441,7 @@ export type { StudioFeesLedgerRequestDto } from './models/StudioFeesLedgerReques
433
441
  export type { StudioFeesLedgerResponseDto } from './models/StudioFeesLedgerResponseDto';
434
442
  export type { StudioFeesResponseDto } from './models/StudioFeesResponseDto';
435
443
  export type { StudioIntegratorDetailResponseDto } from './models/StudioIntegratorDetailResponseDto';
444
+ export type { SubmitExchangePaymentRequestDto } from './models/SubmitExchangePaymentRequestDto';
436
445
  export type { SuccessResponse } from './models/SuccessResponse';
437
446
  export type { SupportChatAttachmentDto } from './models/SupportChatAttachmentDto';
438
447
  export type { SupportChatConversationDto } from './models/SupportChatConversationDto';
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OpenAPI = void 0;
4
4
  exports.OpenAPI = {
5
5
  BASE: 'https://api.drttix.com/scanner-v3',
6
- VERSION: '20261104.2',
6
+ VERSION: '20261112.1',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -17,7 +17,49 @@ export declare class ScanningService {
17
17
  * @returns any Healthy.
18
18
  * @throws ApiError
19
19
  */
20
- static appControllerHealth(): CancelablePromise<any>;
20
+ static appControllerHealthGet(): CancelablePromise<any>;
21
+ /**
22
+ * Used to check if the server is healthy
23
+ * Checks if the server is healthy
24
+ * @returns any Healthy.
25
+ * @throws ApiError
26
+ */
27
+ static appControllerHealthPost(): CancelablePromise<any>;
28
+ /**
29
+ * Used to check if the server is healthy
30
+ * Checks if the server is healthy
31
+ * @returns any Healthy.
32
+ * @throws ApiError
33
+ */
34
+ static appControllerHealthPut(): CancelablePromise<any>;
35
+ /**
36
+ * Used to check if the server is healthy
37
+ * Checks if the server is healthy
38
+ * @returns any Healthy.
39
+ * @throws ApiError
40
+ */
41
+ static appControllerHealthDelete(): CancelablePromise<any>;
42
+ /**
43
+ * Used to check if the server is healthy
44
+ * Checks if the server is healthy
45
+ * @returns any Healthy.
46
+ * @throws ApiError
47
+ */
48
+ static appControllerHealthPatch(): CancelablePromise<any>;
49
+ /**
50
+ * Used to check if the server is healthy
51
+ * Checks if the server is healthy
52
+ * @returns any Healthy.
53
+ * @throws ApiError
54
+ */
55
+ static appControllerHealthOptions(): CancelablePromise<any>;
56
+ /**
57
+ * Used to check if the server is healthy
58
+ * Checks if the server is healthy
59
+ * @returns any Healthy.
60
+ * @throws ApiError
61
+ */
62
+ static appControllerHealthHead(): CancelablePromise<any>;
21
63
  /**
22
64
  * Used to reset scanned tickets for a show given a showCode
23
65
  * Resets the shows scanned tickets. This will not reset the merch scans as those are not show specific