@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,7 @@
1
+ export type AvaliableSeats = {
2
+ id: number;
3
+ seat: number;
4
+ row: string;
5
+ section: string;
6
+ isHandicap: number;
7
+ };
@@ -0,0 +1,9 @@
1
+ export type BlockedSeatDetail = {
2
+ designation: Record<string, any>;
3
+ section: string;
4
+ row: string;
5
+ seat: number;
6
+ showName: string;
7
+ isGeneralSeating: number;
8
+ tierId: Record<string, any>;
9
+ };
@@ -4,4 +4,8 @@ export type CartCountResponseDto = {
4
4
  * True when the block went past the studio's blocked-seat limit. Only ever true for superusers, who are permitted to override it.
5
5
  */
6
6
  blockPercentExceeded: boolean;
7
+ /**
8
+ * True when nothing was blocked because the studio is at its blocked-seat limit.
9
+ */
10
+ limitReached: boolean;
7
11
  };
@@ -23,6 +23,7 @@ export type CodeDetailResponseDto = {
23
23
  showGroupId: number | null;
24
24
  waveName: string | null;
25
25
  showName: string;
26
+ showGroupName: string | null;
26
27
  designation: string | null;
27
28
  couponCode: string | null;
28
29
  };
@@ -110,6 +110,10 @@ export type CreateShowRequestDto = {
110
110
  * A rate, not a percent: 0.075 is 7.5%. Stored as-is in show.sales_tax, which every reader multiplies by 100 to display. Defaults to the studio's own sales tax when omitted.
111
111
  */
112
112
  salesTax: number;
113
+ /**
114
+ * 1 when the organizer typed over the venue's looked-up sales tax rate; 0 or omitted when the event uses the venue rate (or none was found). Stored in show.did_client_override_tax_rate.
115
+ */
116
+ didClientOverrideTaxRate?: number;
113
117
  };
114
118
  export declare namespace CreateShowRequestDto {
115
119
  /**
@@ -1,4 +1,5 @@
1
1
  export type CreateTimedTriggerResponseDto = {
2
2
  success: boolean;
3
3
  id: number;
4
+ ids?: Array<number>;
4
5
  };
@@ -0,0 +1,6 @@
1
+ export type ExchangeAnswerDto = {
2
+ questionId: number;
3
+ showId: number;
4
+ seatId: number;
5
+ answer: string;
6
+ };
@@ -0,0 +1,4 @@
1
+ export type ExchangePaymentLinkDeliveryDto = {
2
+ email: boolean;
3
+ sms: boolean;
4
+ };
@@ -0,0 +1,37 @@
1
+ export type ExchangePaymentLinkDto = {
2
+ code: string;
3
+ /**
4
+ * The page the buyer pays on.
5
+ */
6
+ url: string;
7
+ /**
8
+ * sent: waiting for the buyer's card. card_received: the card is stored and the exchange can be completed (which charges it). charging: a Complete is charging it now. expired: no card came before the link expired; send a new one.
9
+ */
10
+ state: string;
11
+ /**
12
+ * The cost difference the buyer was asked to pay.
13
+ */
14
+ amount: number;
15
+ currency: string;
16
+ email: string | null;
17
+ phone: string | null;
18
+ sentAt: string;
19
+ expiresAt: string;
20
+ cardReceivedAt: string | null;
21
+ /**
22
+ * Why the last card on this link could not be charged. The same link then takes another card.
23
+ */
24
+ lastError: string | null;
25
+ /**
26
+ * charging only: the buyer WAS charged (paymentId, when Payment-API could record it), but the exchange did not finish. The link cannot be cancelled, replaced or charged again.
27
+ */
28
+ charged: boolean;
29
+ /**
30
+ * charging only: the charge has no known outcome (the request reported a problem, or never came back). Check the order in Stripe before cancelling the link.
31
+ */
32
+ chargeStalled: boolean;
33
+ /**
34
+ * The qecom_payment row of the charge, once recorded.
35
+ */
36
+ paymentId: number | null;
37
+ };
@@ -0,0 +1,17 @@
1
+ import type { ExchangePaymentLinkDeliveryDto } from './ExchangePaymentLinkDeliveryDto';
2
+ import type { ExchangePaymentLinkDto } from './ExchangePaymentLinkDto';
3
+ export type ExchangePaymentLinkResponseDto = {
4
+ link: ExchangePaymentLinkDto | null;
5
+ /**
6
+ * The order's email, to offer as where to send the link.
7
+ */
8
+ buyerEmail: string | null;
9
+ /**
10
+ * The order's phone, to offer as where to text the link.
11
+ */
12
+ buyerPhone: string | null;
13
+ /**
14
+ * Send only: which channels actually went out.
15
+ */
16
+ delivered?: ExchangePaymentLinkDeliveryDto;
17
+ };
@@ -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,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,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
+ };
@@ -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
+ };
@@ -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,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,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
+ };
@@ -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,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,45 @@
1
+ import { OpenAPI } from '../core/OpenAPI.js';
2
+ import { request as __request } from '../core/request.js';
3
+ export class ExchangePaymentService {
4
+ /**
5
+ * Resolve an exchange payment link for the buyer
6
+ * 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.
7
+ * @param code
8
+ * @returns ExchangePaymentPageResponseDto
9
+ * @throws ApiError
10
+ */
11
+ static getExchangePayment(code) {
12
+ return __request(OpenAPI, {
13
+ method: 'GET',
14
+ url: '/exchange-payment/{code}',
15
+ path: {
16
+ 'code': code,
17
+ },
18
+ errors: {
19
+ 404: `Unknown, cancelled or expired code.`,
20
+ },
21
+ });
22
+ }
23
+ /**
24
+ * Store the buyer's card on an exchange payment link
25
+ * Stores the Payment Element's confirmation token on the link. Nothing is charged until the exchange is completed in the portal.
26
+ * @param code
27
+ * @param requestBody
28
+ * @returns ExchangePaymentPageResponseDto
29
+ * @throws ApiError
30
+ */
31
+ static submitExchangePaymentCard(code, requestBody) {
32
+ return __request(OpenAPI, {
33
+ method: 'POST',
34
+ url: '/exchange-payment/{code}',
35
+ path: {
36
+ 'code': code,
37
+ },
38
+ body: requestBody,
39
+ mediaType: 'application/json',
40
+ errors: {
41
+ 404: `Unknown, cancelled or expired code.`,
42
+ },
43
+ });
44
+ }
45
+ }
@@ -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
@@ -114,10 +114,11 @@ export class FeaturesBlockedSeatsService {
114
114
  * Fetch the seat engine occupancy for a show
115
115
  * @param xStudioId The ID of the studio
116
116
  * @param showId The ID of the show
117
+ * @param xSeatEngineReload
117
118
  * @returns any Show occupancy fetched successfully
118
119
  * @throws ApiError
119
120
  */
120
- static getSeatEngineOccupancy(xStudioId, showId) {
121
+ static getSeatEngineOccupancy(xStudioId, showId, xSeatEngineReload) {
121
122
  return __request(OpenAPI, {
122
123
  method: 'GET',
123
124
  url: '/features/blocked-seats/{showId}/occupancy',
@@ -126,6 +127,7 @@ export class FeaturesBlockedSeatsService {
126
127
  },
127
128
  headers: {
128
129
  'x-studio-id': xStudioId,
130
+ 'x-seat-engine-reload': xSeatEngineReload,
129
131
  },
130
132
  });
131
133
  }
@@ -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.
@@ -412,6 +412,69 @@ export class OrderLookupService {
412
412
  mediaType: 'application/json',
413
413
  });
414
414
  }
415
+ /**
416
+ * Get the exchange payment link
417
+ * 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.
418
+ * @param xStudioId The ID of the studio
419
+ * @param orderId The ID of the order
420
+ * @returns ExchangePaymentLinkResponseDto The exchange payment link this session has out for the order
421
+ * @throws ApiError
422
+ */
423
+ static getExchangePaymentLink(xStudioId, orderId) {
424
+ return __request(OpenAPI, {
425
+ method: 'GET',
426
+ url: '/order-lookup/{orderId}/exchange-payment-link',
427
+ path: {
428
+ 'orderId': orderId,
429
+ },
430
+ headers: {
431
+ 'x-studio-id': xStudioId,
432
+ },
433
+ });
434
+ }
435
+ /**
436
+ * Send an exchange payment link
437
+ * 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.
438
+ * @param xStudioId The ID of the studio
439
+ * @param orderId The ID of the order
440
+ * @param requestBody
441
+ * @returns ExchangePaymentLinkResponseDto The link that was sent, and which channels went out
442
+ * @throws ApiError
443
+ */
444
+ static sendExchangePaymentLink(xStudioId, orderId, requestBody) {
445
+ return __request(OpenAPI, {
446
+ method: 'POST',
447
+ url: '/order-lookup/{orderId}/exchange-payment-link',
448
+ path: {
449
+ 'orderId': orderId,
450
+ },
451
+ headers: {
452
+ 'x-studio-id': xStudioId,
453
+ },
454
+ body: requestBody,
455
+ mediaType: 'application/json',
456
+ });
457
+ }
458
+ /**
459
+ * Cancel the exchange payment link
460
+ * Superusers only. Withdraws the open payment link; a card on it is dropped without being charged.
461
+ * @param xStudioId The ID of the studio
462
+ * @param orderId The ID of the order
463
+ * @returns ExchangePaymentLinkResponseDto The order's link state after cancelling
464
+ * @throws ApiError
465
+ */
466
+ static cancelExchangePaymentLink(xStudioId, orderId) {
467
+ return __request(OpenAPI, {
468
+ method: 'POST',
469
+ url: '/order-lookup/{orderId}/exchange-payment-link/cancel',
470
+ path: {
471
+ 'orderId': orderId,
472
+ },
473
+ headers: {
474
+ 'x-studio-id': xStudioId,
475
+ },
476
+ });
477
+ }
415
478
  /**
416
479
  * Modify order tickets
417
480
  * 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';