@drttix/drt-sdk 2.0.3 → 2.0.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 (97) hide show
  1. package/dist/cjs/index.d.ts +1 -0
  2. package/dist/cjs/src/definitions/shopper.d.ts +2 -0
  3. package/dist/cjs/src/definitions/shopper.js +9 -7
  4. package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
  5. package/dist/cjs/src/generated/portal/index.d.ts +2 -0
  6. package/dist/cjs/src/generated/portal/index.js +4 -2
  7. package/dist/cjs/src/generated/portal/models/BugReportRequestDto.d.ts +4 -0
  8. package/dist/cjs/src/generated/portal/models/CouponDetailResponseDto.d.ts +12 -0
  9. package/dist/cjs/src/generated/portal/models/CreateUpdateFundRequestDto.d.ts +2 -2
  10. package/dist/cjs/src/generated/portal/models/ExecuteReleaseSeatRequestDto.d.ts +4 -1
  11. package/dist/cjs/src/generated/portal/models/ExecuteReleaseSeatResponseDto.d.ts +20 -0
  12. package/dist/cjs/src/generated/portal/models/ExecuteReleaseSeatResponseDto.js +13 -0
  13. package/dist/cjs/src/generated/portal/models/MigrateTicketResultDto.d.ts +10 -0
  14. package/dist/cjs/src/generated/portal/models/MigrateTicketResultDto.js +2 -0
  15. package/dist/cjs/src/generated/portal/models/OrderActionsResponseDto.d.ts +7 -0
  16. package/dist/cjs/src/generated/portal/models/OrderListRequestDto.d.ts +4 -0
  17. package/dist/cjs/src/generated/portal/models/PartialTicketResponseDto.d.ts +4 -0
  18. package/dist/cjs/src/generated/portal/models/ShowDetailsResponseDto.d.ts +4 -0
  19. package/dist/cjs/src/generated/portal/models/UpdateDiscountCodeRequestDto.d.ts +12 -3
  20. package/dist/cjs/src/generated/portal/services/ClientToolsInterviewUpdateService.d.ts +1 -1
  21. package/dist/cjs/src/generated/portal/services/ClientToolsInterviewUpdateService.js +1 -1
  22. package/dist/cjs/src/generated/portal/services/OrderLookupService.d.ts +4 -3
  23. package/dist/cjs/src/generated/portal/services/OrderLookupService.js +2 -2
  24. package/dist/cjs/src/generated/portal/services/ShowsService.d.ts +5 -3
  25. package/dist/cjs/src/generated/portal/services/ShowsService.js +7 -3
  26. package/dist/cjs/src/generated/portal/services/SuperUserShoppersService.d.ts +2 -2
  27. package/dist/cjs/src/generated/portal/services/SuperUserShoppersService.js +2 -2
  28. package/dist/cjs/src/generated/portal/types.d.ts +1 -0
  29. package/dist/cjs/src/generated/shopper/core/OpenAPI.js +1 -1
  30. package/dist/cjs/src/generated/shopper/index.d.ts +1 -0
  31. package/dist/cjs/src/generated/shopper/index.js +3 -1
  32. package/dist/cjs/src/generated/shopper/models/AlbumWithImages.d.ts +1 -1
  33. package/dist/cjs/src/generated/shopper/models/ShowExtras.d.ts +4 -0
  34. package/dist/cjs/src/generated/shopper/services/OccupancyService.d.ts +27 -0
  35. package/dist/cjs/src/generated/shopper/services/OccupancyService.js +39 -0
  36. package/dist/cjs/src/staging/index.d.ts +1 -0
  37. package/dist/esm/index.d.ts +1 -0
  38. package/dist/esm/src/definitions/shopper.d.ts +2 -0
  39. package/dist/esm/src/definitions/shopper.js +2 -0
  40. package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
  41. package/dist/esm/src/generated/portal/index.d.ts +2 -0
  42. package/dist/esm/src/generated/portal/index.js +1 -0
  43. package/dist/esm/src/generated/portal/models/BugReportRequestDto.d.ts +4 -0
  44. package/dist/esm/src/generated/portal/models/CouponDetailResponseDto.d.ts +12 -0
  45. package/dist/esm/src/generated/portal/models/CreateUpdateFundRequestDto.d.ts +2 -2
  46. package/dist/esm/src/generated/portal/models/ExecuteReleaseSeatRequestDto.d.ts +4 -1
  47. package/dist/esm/src/generated/portal/models/ExecuteReleaseSeatResponseDto.d.ts +20 -0
  48. package/dist/esm/src/generated/portal/models/ExecuteReleaseSeatResponseDto.js +10 -0
  49. package/dist/esm/src/generated/portal/models/MigrateTicketResultDto.d.ts +10 -0
  50. package/dist/esm/src/generated/portal/models/MigrateTicketResultDto.js +1 -0
  51. package/dist/esm/src/generated/portal/models/OrderActionsResponseDto.d.ts +7 -0
  52. package/dist/esm/src/generated/portal/models/OrderListRequestDto.d.ts +4 -0
  53. package/dist/esm/src/generated/portal/models/PartialTicketResponseDto.d.ts +4 -0
  54. package/dist/esm/src/generated/portal/models/ShowDetailsResponseDto.d.ts +4 -0
  55. package/dist/esm/src/generated/portal/models/UpdateDiscountCodeRequestDto.d.ts +12 -3
  56. package/dist/esm/src/generated/portal/services/ClientToolsInterviewUpdateService.d.ts +1 -1
  57. package/dist/esm/src/generated/portal/services/ClientToolsInterviewUpdateService.js +1 -1
  58. package/dist/esm/src/generated/portal/services/OrderLookupService.d.ts +4 -3
  59. package/dist/esm/src/generated/portal/services/OrderLookupService.js +2 -2
  60. package/dist/esm/src/generated/portal/services/ShowsService.d.ts +5 -3
  61. package/dist/esm/src/generated/portal/services/ShowsService.js +7 -3
  62. package/dist/esm/src/generated/portal/services/SuperUserShoppersService.d.ts +2 -2
  63. package/dist/esm/src/generated/portal/services/SuperUserShoppersService.js +2 -2
  64. package/dist/esm/src/generated/portal/types.d.ts +1 -0
  65. package/dist/esm/src/generated/shopper/core/OpenAPI.js +1 -1
  66. package/dist/esm/src/generated/shopper/index.d.ts +1 -0
  67. package/dist/esm/src/generated/shopper/index.js +1 -0
  68. package/dist/esm/src/generated/shopper/models/AlbumWithImages.d.ts +1 -1
  69. package/dist/esm/src/generated/shopper/models/ShowExtras.d.ts +4 -0
  70. package/dist/esm/src/generated/shopper/services/OccupancyService.d.ts +27 -0
  71. package/dist/esm/src/generated/shopper/services/OccupancyService.js +35 -0
  72. package/dist/esm/src/staging/index.d.ts +1 -0
  73. package/package.json +1 -1
  74. package/src/definitions/shopper.ts +2 -0
  75. package/src/generated/portal/core/OpenAPI.ts +1 -1
  76. package/src/generated/portal/index.ts +2 -0
  77. package/src/generated/portal/models/BugReportRequestDto.ts +4 -0
  78. package/src/generated/portal/models/CouponDetailResponseDto.ts +12 -0
  79. package/src/generated/portal/models/CreateUpdateFundRequestDto.ts +2 -2
  80. package/src/generated/portal/models/ExecuteReleaseSeatRequestDto.ts +4 -1
  81. package/src/generated/portal/models/ExecuteReleaseSeatResponseDto.ts +25 -0
  82. package/src/generated/portal/models/MigrateTicketResultDto.ts +15 -0
  83. package/src/generated/portal/models/OrderActionsResponseDto.ts +7 -0
  84. package/src/generated/portal/models/OrderListRequestDto.ts +4 -0
  85. package/src/generated/portal/models/PartialTicketResponseDto.ts +4 -0
  86. package/src/generated/portal/models/ShowDetailsResponseDto.ts +4 -0
  87. package/src/generated/portal/models/UpdateDiscountCodeRequestDto.ts +12 -3
  88. package/src/generated/portal/services/ClientToolsInterviewUpdateService.ts +1 -1
  89. package/src/generated/portal/services/OrderLookupService.ts +4 -3
  90. package/src/generated/portal/services/ShowsService.ts +9 -3
  91. package/src/generated/portal/services/SuperUserShoppersService.ts +2 -2
  92. package/src/generated/portal/types.ts +1 -0
  93. package/src/generated/shopper/core/OpenAPI.ts +1 -1
  94. package/src/generated/shopper/index.ts +1 -0
  95. package/src/generated/shopper/models/AlbumWithImages.ts +1 -1
  96. package/src/generated/shopper/models/ShowExtras.ts +4 -0
  97. package/src/generated/shopper/services/OccupancyService.ts +46 -0
@@ -12,6 +12,7 @@ export declare const DRT: {
12
12
  event: typeof import("./src/generated/shopper").EventService;
13
13
  giftcard: typeof import("./src/generated/shopper").GiftCardService;
14
14
  health: typeof import("./src/generated/shopper").HealthService;
15
+ occupancy: typeof import("./src/generated/shopper").OccupancyService;
15
16
  order: typeof import("./src/generated/shopper").OrderService;
16
17
  payment: typeof import("./src/generated/shopper").PaymentService;
17
18
  paymentlink: typeof import("./src/generated/shopper").PaymentLinkService;
@@ -6,6 +6,7 @@ import { DonationService } from "../generated/shopper";
6
6
  import { EventService } from "../generated/shopper";
7
7
  import { GiftCardService } from "../generated/shopper";
8
8
  import { HealthService } from "../generated/shopper";
9
+ import { OccupancyService } from "../generated/shopper";
9
10
  import { OrderService } from "../generated/shopper";
10
11
  import { PaymentService } from "../generated/shopper";
11
12
  import { PaymentLinkService } from "../generated/shopper";
@@ -22,6 +23,7 @@ export declare const shopper: {
22
23
  event: typeof EventService;
23
24
  giftcard: typeof GiftCardService;
24
25
  health: typeof HealthService;
26
+ occupancy: typeof OccupancyService;
25
27
  order: typeof OrderService;
26
28
  payment: typeof PaymentService;
27
29
  paymentlink: typeof PaymentLinkService;
@@ -50,6 +50,7 @@ const shopper_12 = require("../generated/shopper");
50
50
  const shopper_13 = require("../generated/shopper");
51
51
  const shopper_14 = require("../generated/shopper");
52
52
  const shopper_15 = require("../generated/shopper");
53
+ const shopper_16 = require("../generated/shopper");
53
54
  exports.shopper = {
54
55
  account: shopper_1.AccountService,
55
56
  cart: shopper_2.CartService,
@@ -59,13 +60,14 @@ exports.shopper = {
59
60
  event: shopper_6.EventService,
60
61
  giftcard: shopper_7.GiftCardService,
61
62
  health: shopper_8.HealthService,
62
- order: shopper_9.OrderService,
63
- payment: shopper_10.PaymentService,
64
- paymentlink: shopper_11.PaymentLinkService,
65
- product: shopper_12.ProductService,
66
- seat: shopper_13.SeatService,
67
- session: shopper_14.SessionService,
68
- stripe: shopper_15.StripeService,
63
+ occupancy: shopper_9.OccupancyService,
64
+ order: shopper_10.OrderService,
65
+ payment: shopper_11.PaymentService,
66
+ paymentlink: shopper_12.PaymentLinkService,
67
+ product: shopper_13.ProductService,
68
+ seat: shopper_14.SeatService,
69
+ session: shopper_15.SessionService,
70
+ stripe: shopper_16.StripeService,
69
71
  };
70
72
  // Re-export all types as a namespace
71
73
  exports.ShopperTypes = __importStar(require("../generated/shopper/types"));
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OpenAPI = void 0;
4
4
  exports.OpenAPI = {
5
5
  BASE: '',
6
- VERSION: '20261010.1',
6
+ VERSION: '20261013.1',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -145,6 +145,7 @@ export type { EmailDetailResponseDto } from './models/EmailDetailResponseDto';
145
145
  export type { ExchangeShowDetailResponseDto } from './models/ExchangeShowDetailResponseDto';
146
146
  export type { ExchangeTierDetailResponseDto } from './models/ExchangeTierDetailResponseDto';
147
147
  export type { ExecuteReleaseSeatRequestDto } from './models/ExecuteReleaseSeatRequestDto';
148
+ export { ExecuteReleaseSeatResponseDto } from './models/ExecuteReleaseSeatResponseDto';
148
149
  export type { ExecuteSeatExchangeRequestDto } from './models/ExecuteSeatExchangeRequestDto';
149
150
  export type { ExpireHiddenCodesRequestDto } from './models/ExpireHiddenCodesRequestDto';
150
151
  export type { ExtraCartResponseDto } from './models/ExtraCartResponseDto';
@@ -217,6 +218,7 @@ export type { MarkedUnavailableSeatResponseDto } from './models/MarkedUnavailabl
217
218
  export type { MessageSettingResponseDto } from './models/MessageSettingResponseDto';
218
219
  export type { MigrateTicketDetails } from './models/MigrateTicketDetails';
219
220
  export type { MigrateTicketRequestDto } from './models/MigrateTicketRequestDto';
221
+ export type { MigrateTicketResultDto } from './models/MigrateTicketResultDto';
220
222
  export type { MigrationPossibleShow } from './models/MigrationPossibleShow';
221
223
  export type { ModifyTicketRequestDto } from './models/ModifyTicketRequestDto';
222
224
  export type { NotificationDto } from './models/NotificationDto';
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SettingsService = exports.ReportsService = exports.OrderLookupService = exports.HelpService = exports.FeaturesProductsService = exports.FeaturesPriorityService = exports.FeaturesLandingPageService = exports.FeaturesGoldenTicketsService = exports.FeaturesGiftCardsService = exports.FeaturesDonationsService = exports.FeaturesDiscountsService = exports.FeaturesCheckoutQuestionsService = exports.FeaturesBlockedSeatsService = exports.DashboardService = exports.ClientToolsWaitlistService = exports.ClientToolsUnapprovedOrdersService = exports.ClientToolsTicketScanningService = exports.ClientToolsTicketingLinkService = exports.ClientToolsThemesLibraryService = exports.ClientToolsThemeBuilderService = exports.ClientToolsStripeOnboardingService = exports.ClientToolsSeatAssignmentToolService = exports.ClientToolsRequestChangesService = exports.ClientToolsPerformancePixService = exports.ClientToolsPatronDatabaseService = exports.ClientToolsParentLetterService = exports.ClientToolsInterviewUpdateService = exports.ClientToolsGeneratedEmailsService = exports.BookmarkService = exports.AuthService = exports.AppService = exports.AgreementsService = exports.AccountingService = exports.AccountService = exports.ToggleType = exports.ThemeImageFormat = exports.StudioFeesLedgerType = exports.StripeUsageOption = exports.SkippedSessionSeatDto = exports.ShowDeployOption = exports.SalesTaxRegistrationOption = exports.EditMailRequestDto = exports.CreateShowRequestDto = exports.CheckoutAnswerType = exports.AgreementStatusResponseDto = exports.AccountingTimezone = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.ApiError = void 0;
4
- exports.SuperUserVideoAssetsService = exports.SuperUserTimedTriggersService = exports.SuperUserSupportTicketsService = exports.SuperUserStudioManagementIntegrationService = exports.SuperUserShoppersService = exports.SuperUserReleasedTicketsService = exports.SuperuserPerformancePixService = exports.SuperUserManageImageFilesService = exports.SuperUserLaunchReadinessService = exports.SuperUserImportBlockedSeatsService = exports.SuperUserExtraService = exports.SuperUserEditCssService = exports.SuperUserDocumentLibraryService = exports.SuperUserBuyerBlacklistService = exports.SuperUserAlertsAndNotificationsService = exports.SuperUserAdvancedStudioSettingsService = exports.SuperUserActivityLogService = exports.SuperUserAbandonedCartsService = exports.ShowsService = void 0;
3
+ exports.ReportsService = exports.OrderLookupService = exports.HelpService = exports.FeaturesProductsService = exports.FeaturesPriorityService = exports.FeaturesLandingPageService = exports.FeaturesGoldenTicketsService = exports.FeaturesGiftCardsService = exports.FeaturesDonationsService = exports.FeaturesDiscountsService = exports.FeaturesCheckoutQuestionsService = exports.FeaturesBlockedSeatsService = exports.DashboardService = exports.ClientToolsWaitlistService = exports.ClientToolsUnapprovedOrdersService = exports.ClientToolsTicketScanningService = exports.ClientToolsTicketingLinkService = exports.ClientToolsThemesLibraryService = exports.ClientToolsThemeBuilderService = exports.ClientToolsStripeOnboardingService = exports.ClientToolsSeatAssignmentToolService = exports.ClientToolsRequestChangesService = exports.ClientToolsPerformancePixService = exports.ClientToolsPatronDatabaseService = exports.ClientToolsParentLetterService = exports.ClientToolsInterviewUpdateService = exports.ClientToolsGeneratedEmailsService = exports.BookmarkService = exports.AuthService = exports.AppService = exports.AgreementsService = exports.AccountingService = exports.AccountService = exports.ToggleType = exports.ThemeImageFormat = exports.StudioFeesLedgerType = exports.StripeUsageOption = exports.SkippedSessionSeatDto = exports.ShowDeployOption = exports.SalesTaxRegistrationOption = exports.ExecuteReleaseSeatResponseDto = exports.EditMailRequestDto = exports.CreateShowRequestDto = exports.CheckoutAnswerType = exports.AgreementStatusResponseDto = exports.AccountingTimezone = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.ApiError = void 0;
4
+ exports.SuperUserVideoAssetsService = exports.SuperUserTimedTriggersService = exports.SuperUserSupportTicketsService = exports.SuperUserStudioManagementIntegrationService = exports.SuperUserShoppersService = exports.SuperUserReleasedTicketsService = exports.SuperuserPerformancePixService = exports.SuperUserManageImageFilesService = exports.SuperUserLaunchReadinessService = exports.SuperUserImportBlockedSeatsService = exports.SuperUserExtraService = exports.SuperUserEditCssService = exports.SuperUserDocumentLibraryService = exports.SuperUserBuyerBlacklistService = exports.SuperUserAlertsAndNotificationsService = exports.SuperUserAdvancedStudioSettingsService = exports.SuperUserActivityLogService = exports.SuperUserAbandonedCartsService = exports.ShowsService = exports.SettingsService = void 0;
5
5
  /* generated using openapi-typescript-codegen -- do not edit */
6
6
  /* istanbul ignore file */
7
7
  /* tslint:disable */
@@ -23,6 +23,8 @@ var CreateShowRequestDto_1 = require("./models/CreateShowRequestDto");
23
23
  Object.defineProperty(exports, "CreateShowRequestDto", { enumerable: true, get: function () { return CreateShowRequestDto_1.CreateShowRequestDto; } });
24
24
  var EditMailRequestDto_1 = require("./models/EditMailRequestDto");
25
25
  Object.defineProperty(exports, "EditMailRequestDto", { enumerable: true, get: function () { return EditMailRequestDto_1.EditMailRequestDto; } });
26
+ var ExecuteReleaseSeatResponseDto_1 = require("./models/ExecuteReleaseSeatResponseDto");
27
+ Object.defineProperty(exports, "ExecuteReleaseSeatResponseDto", { enumerable: true, get: function () { return ExecuteReleaseSeatResponseDto_1.ExecuteReleaseSeatResponseDto; } });
26
28
  var SalesTaxRegistrationOption_1 = require("./models/SalesTaxRegistrationOption");
27
29
  Object.defineProperty(exports, "SalesTaxRegistrationOption", { enumerable: true, get: function () { return SalesTaxRegistrationOption_1.SalesTaxRegistrationOption; } });
28
30
  var ShowDeployOption_1 = require("./models/ShowDeployOption");
@@ -5,4 +5,8 @@ export type BugReportRequestDto = {
5
5
  * S3 key returned from /settings/start-image-upload; the server builds the CDN URL from this.
6
6
  */
7
7
  screenshotFileName?: string;
8
+ /**
9
+ * The reporter wants to hear back when it is resolved: a client support ticket is opened for the CSS team, who tell them.
10
+ */
11
+ notifyOnResolve?: boolean;
8
12
  };
@@ -25,6 +25,18 @@ export type CouponDetailResponseDto = {
25
25
  showDesignation: string | null;
26
26
  showDateStart: string | null;
27
27
  showTypeName: string | null;
28
+ /**
29
+ * The coupon's own show restriction (coupon.show_id).
30
+ */
31
+ showId: number | null;
32
+ /**
33
+ * The coupon's show group restriction.
34
+ */
35
+ showGroupId: number | null;
36
+ /**
37
+ * The coupon's show type restriction. Not the type of the show above.
38
+ */
39
+ showTypeId: number | null;
28
40
  customLogicId: number;
29
41
  customLogicName: string | null;
30
42
  aliasDateExpired: string | null;
@@ -6,8 +6,8 @@ export type CreateUpdateFundRequestDto = {
6
6
  fixedList: string;
7
7
  maxAmount: number;
8
8
  minAmount: number;
9
- dateStart: string;
10
- dateEnd: string;
9
+ dateStart?: Record<string, any> | null;
10
+ dateEnd?: Record<string, any> | null;
11
11
  isEnabled: number;
12
12
  receiptText: string;
13
13
  thankYouText: string;
@@ -6,6 +6,9 @@ export type ExecuteReleaseSeatRequestDto = {
6
6
  amountGc: number;
7
7
  createRefundRequest: number;
8
8
  amountRefundRequest: number;
9
- emailBuyer: number;
9
+ /**
10
+ * Email the buyer the order update after the release. Defaults to true. Sent whether or not a refund request created by the release was auto-approved.
11
+ */
12
+ emailBuyer?: boolean;
10
13
  addToWaitlist: number;
11
14
  };
@@ -0,0 +1,20 @@
1
+ export type ExecuteReleaseSeatResponseDto = {
2
+ success: boolean;
3
+ /**
4
+ * Seats released by this call. 0 when a refund request was created but not auto-approved.
5
+ */
6
+ released: number;
7
+ /**
8
+ * The refund request this release created, if any.
9
+ */
10
+ refundRequestId: number | null;
11
+ refundState: ExecuteReleaseSeatResponseDto.refundState;
12
+ };
13
+ export declare namespace ExecuteReleaseSeatResponseDto {
14
+ enum refundState {
15
+ NONE = "none",
16
+ APPROVED = "approved",
17
+ PENDING = "pending",
18
+ DECLINED = "declined"
19
+ }
20
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExecuteReleaseSeatResponseDto = void 0;
4
+ var ExecuteReleaseSeatResponseDto;
5
+ (function (ExecuteReleaseSeatResponseDto) {
6
+ let refundState;
7
+ (function (refundState) {
8
+ refundState["NONE"] = "none";
9
+ refundState["APPROVED"] = "approved";
10
+ refundState["PENDING"] = "pending";
11
+ refundState["DECLINED"] = "declined";
12
+ })(refundState = ExecuteReleaseSeatResponseDto.refundState || (ExecuteReleaseSeatResponseDto.refundState = {}));
13
+ })(ExecuteReleaseSeatResponseDto || (exports.ExecuteReleaseSeatResponseDto = ExecuteReleaseSeatResponseDto = {}));
@@ -0,0 +1,10 @@
1
+ export type MigrateTicketResultDto = {
2
+ /**
3
+ * True when every seat the order held on the source event moved to the target event
4
+ */
5
+ success: boolean;
6
+ /**
7
+ * "OK" on success, otherwise the reason dbo.MigrateTickets gave for not moving the seats, verbatim; empty when it gave none
8
+ */
9
+ message: string;
10
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,6 +3,13 @@ export type OrderActionsResponseDto = {
3
3
  balance: number;
4
4
  guid: string;
5
5
  disputeCount: number;
6
+ /**
7
+ * Refund requests on the order that are not yet completed, declined, cancelled or client-approved. Classic blocks exchanges while this is non-zero.
8
+ */
9
+ activeRefundCount: number;
10
+ /**
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
+ */
6
13
  isExchangeEligible: number;
7
14
  isReleaseEligible: number;
8
15
  isModifyEligible: number;
@@ -1,5 +1,9 @@
1
1
  export type OrderListRequestDto = {
2
2
  type: string;
3
3
  searchQuery: string;
4
+ /**
5
+ * Ignored. The export-only columns (couponAmount, discountAmount, srcCode) are returned on every request; kept so existing clients still validate.
6
+ * @deprecated
7
+ */
4
8
  inputFormat: string;
5
9
  };
@@ -10,6 +10,10 @@ export type PartialTicketResponseDto = {
10
10
  tierName: string;
11
11
  price: number;
12
12
  isVirtualPerformance: number;
13
+ /**
14
+ * 1 when the show is virtual (Video on Demand, Digital Download or Live Stream; show.type_id <> 1), else 0. Use this, not isVirtualPerformance, to tell a virtual show: that flag is missing on some Live Stream rows and set on some in-person ones.
15
+ */
16
+ isVirtual: number;
13
17
  serviceCharge: number;
14
18
  isGeneralSeating: number;
15
19
  };
@@ -9,6 +9,10 @@ export type ShowDetailsResponseDto = {
9
9
  status: string | null;
10
10
  isGeneralSeating: number;
11
11
  isVirtualPerformance: number;
12
+ /**
13
+ * 1 when the show is virtual (Video on Demand, Digital Download or Live Stream; show.type_id <> 1), else 0. Use this, not isVirtualPerformance, to tell a virtual show: that flag is missing on some Live Stream rows and set on some in-person ones.
14
+ */
15
+ isVirtual: number;
12
16
  statusId: number | null;
13
17
  statusName: string | null;
14
18
  };
@@ -3,9 +3,18 @@ export type UpdateDiscountCodeRequestDto = {
3
3
  code: string;
4
4
  seats: number;
5
5
  minOrderSize: number;
6
- showId: number;
7
- showGroupId: number;
8
- showTypeId: number;
6
+ /**
7
+ * Omit to keep the stored show. 0 or null stores NULL ("Any show").
8
+ */
9
+ showId?: number | null;
10
+ /**
11
+ * Omit to keep the stored show group. 0 or null stores NULL.
12
+ */
13
+ showGroupId?: number | null;
14
+ /**
15
+ * Omit to keep the stored show type. 0 or null stores NULL.
16
+ */
17
+ showTypeId?: number | null;
9
18
  email: string;
10
19
  dateAllowed: string;
11
20
  dateExpires: string;
@@ -14,7 +14,7 @@ export declare class ClientToolsInterviewUpdateService {
14
14
  static getInterviewUpdate(xStudioId: string, interviewGuid: string): CancelablePromise<InterviewUpdateResponseDto>;
15
15
  /**
16
16
  * Submit interview update responses
17
- * Persist the responses for the interview follow-up questionnaire
17
+ * Email the responses for the interview follow-up questionnaire to the DRT team (the interview record is not modified)
18
18
  * @param xStudioId The ID of the studio
19
19
  * @param requestBody
20
20
  * @returns SuccessResponse Interview update submitted successfully
@@ -26,7 +26,7 @@ class ClientToolsInterviewUpdateService {
26
26
  }
27
27
  /**
28
28
  * Submit interview update responses
29
- * Persist the responses for the interview follow-up questionnaire
29
+ * Email the responses for the interview follow-up questionnaire to the DRT team (the interview record is not modified)
30
30
  * @param xStudioId The ID of the studio
31
31
  * @param requestBody
32
32
  * @returns SuccessResponse Interview update submitted successfully
@@ -2,6 +2,7 @@ import type { AddSessionSeatRequestDto } from '../models/AddSessionSeatRequestDt
2
2
  import type { AddSessionSeatResponseDto } from '../models/AddSessionSeatResponseDto';
3
3
  import type { CancelExchangeTicketRequestDto } from '../models/CancelExchangeTicketRequestDto';
4
4
  import type { ExecuteReleaseSeatRequestDto } from '../models/ExecuteReleaseSeatRequestDto';
5
+ import type { ExecuteReleaseSeatResponseDto } from '../models/ExecuteReleaseSeatResponseDto';
5
6
  import type { ExecuteSeatExchangeRequestDto } from '../models/ExecuteSeatExchangeRequestDto';
6
7
  import type { ModifyTicketRequestDto } from '../models/ModifyTicketRequestDto';
7
8
  import type { OrderActionsResponseDto } from '../models/OrderActionsResponseDto';
@@ -116,10 +117,10 @@ export declare class OrderLookupService {
116
117
  * @param xStudioId The ID of the studio
117
118
  * @param orderId The ID of the order
118
119
  * @param requestBody Release seat payload
119
- * @returns SuccessResponse Seats released successfully
120
+ * @returns ExecuteReleaseSeatResponseDto Release processed. refundState says whether a refund request it created was auto-approved (seats released) or is pending / declined (nothing released).
120
121
  * @throws ApiError
121
122
  */
122
- static releaseSeat(xStudioId: string, orderId: string, requestBody: ExecuteReleaseSeatRequestDto): CancelablePromise<SuccessResponse>;
123
+ static releaseSeat(xStudioId: string, orderId: string, requestBody: ExecuteReleaseSeatRequestDto): CancelablePromise<ExecuteReleaseSeatResponseDto>;
123
124
  /**
124
125
  * Get the blocked seats details
125
126
  * Retrieves the details of the blocked seats
@@ -221,7 +222,7 @@ export declare class OrderLookupService {
221
222
  static executeSeatExchange(xStudioId: string, orderId: string, requestBody: ExecuteSeatExchangeRequestDto): CancelablePromise<SuccessResponse>;
222
223
  /**
223
224
  * Modify order tickets
224
- * To modify order tickets for the orders
225
+ * 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.
225
226
  * @param xStudioId The ID of the studio
226
227
  * @param orderId The ID of the order
227
228
  * @param requestBody Modify order tickets payload
@@ -186,7 +186,7 @@ class OrderLookupService {
186
186
  * @param xStudioId The ID of the studio
187
187
  * @param orderId The ID of the order
188
188
  * @param requestBody Release seat payload
189
- * @returns SuccessResponse Seats released successfully
189
+ * @returns ExecuteReleaseSeatResponseDto Release processed. refundState says whether a refund request it created was auto-approved (seats released) or is pending / declined (nothing released).
190
190
  * @throws ApiError
191
191
  */
192
192
  static releaseSeat(xStudioId, orderId, requestBody) {
@@ -417,7 +417,7 @@ class OrderLookupService {
417
417
  }
418
418
  /**
419
419
  * Modify order tickets
420
- * To modify order tickets for the orders
420
+ * 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.
421
421
  * @param xStudioId The ID of the studio
422
422
  * @param orderId The ID of the order
423
423
  * @param requestBody Modify order tickets payload
@@ -14,6 +14,7 @@ import type { EmailBuyersRequestDto } from '../models/EmailBuyersRequestDto';
14
14
  import type { ManagedShowResponseDto } from '../models/ManagedShowResponseDto';
15
15
  import type { MigrateTicketDetails } from '../models/MigrateTicketDetails';
16
16
  import type { MigrateTicketRequestDto } from '../models/MigrateTicketRequestDto';
17
+ import type { MigrateTicketResultDto } from '../models/MigrateTicketResultDto';
17
18
  import type { PerformersListRequestDto } from '../models/PerformersListRequestDto';
18
19
  import type { PerformersListResponseDto } from '../models/PerformersListResponseDto';
19
20
  import type { SavePricingSetRequestDto } from '../models/SavePricingSetRequestDto';
@@ -292,12 +293,13 @@ export declare class ShowsService {
292
293
  static approveShow(xStudioId: string, showId: string, requestBody: ApproveShowRequestDto): CancelablePromise<SuccessResponse>;
293
294
  /**
294
295
  * Migrate the show tickets to target show
295
- * To migrate the tickets from the source show to the target show
296
+ * To migrate one order's tickets from the source show to the target show. Both shows must belong to the studio (400 NO_ASSOC_SHOW_ERROR otherwise) and the order must hold seats on the source show (404 ORDER_NOT_FOUND_ERROR otherwise).
297
+ * @param xStudioId The ID of the studio
296
298
  * @param requestBody Migrate show tickets
297
- * @returns SuccessResponse Tickets migrated successfully
299
+ * @returns MigrateTicketResultDto The migration ran; success says whether every seat on the order moved, message is "OK" or the reason it did not
298
300
  * @throws ApiError
299
301
  */
300
- static migrateTickets(requestBody: MigrateTicketRequestDto): CancelablePromise<SuccessResponse>;
302
+ static migrateTickets(xStudioId: string, requestBody: MigrateTicketRequestDto): CancelablePromise<MigrateTicketResultDto>;
301
303
  /**
302
304
  * Edit the show details
303
305
  * To edit/update the details of the show
@@ -563,15 +563,19 @@ class ShowsService {
563
563
  }
564
564
  /**
565
565
  * Migrate the show tickets to target show
566
- * To migrate the tickets from the source show to the target show
566
+ * To migrate one order's tickets from the source show to the target show. Both shows must belong to the studio (400 NO_ASSOC_SHOW_ERROR otherwise) and the order must hold seats on the source show (404 ORDER_NOT_FOUND_ERROR otherwise).
567
+ * @param xStudioId The ID of the studio
567
568
  * @param requestBody Migrate show tickets
568
- * @returns SuccessResponse Tickets migrated successfully
569
+ * @returns MigrateTicketResultDto The migration ran; success says whether every seat on the order moved, message is "OK" or the reason it did not
569
570
  * @throws ApiError
570
571
  */
571
- static migrateTickets(requestBody) {
572
+ static migrateTickets(xStudioId, requestBody) {
572
573
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
573
574
  method: 'PUT',
574
575
  url: '/admin-portal/shows/migrate-ticket',
576
+ headers: {
577
+ 'x-studio-id': xStudioId,
578
+ },
575
579
  body: requestBody,
576
580
  mediaType: 'application/json',
577
581
  });
@@ -17,13 +17,13 @@ export declare class SuperUserShoppersService {
17
17
  /**
18
18
  * Update the details of a shopper
19
19
  * Update the details of a shopper
20
- * @param shopper
21
20
  * @param xStudioId The ID of the studio
21
+ * @param shopper
22
22
  * @param requestBody Payload to update shopper session details
23
23
  * @returns SuccessResponse Details of the shopper updated successfully
24
24
  * @throws ApiError
25
25
  */
26
- static updateShopperDetails(shopper: string, xStudioId: string, requestBody: UpdateSessionRequestDto): CancelablePromise<SuccessResponse>;
26
+ static updateShopperDetails(xStudioId: string, shopper: string, requestBody: UpdateSessionRequestDto): CancelablePromise<SuccessResponse>;
27
27
  /**
28
28
  * Fetch the list of seats for the studio
29
29
  * Fetch the list of seats for a studio
@@ -23,13 +23,13 @@ class SuperUserShoppersService {
23
23
  /**
24
24
  * Update the details of a shopper
25
25
  * Update the details of a shopper
26
- * @param shopper
27
26
  * @param xStudioId The ID of the studio
27
+ * @param shopper
28
28
  * @param requestBody Payload to update shopper session details
29
29
  * @returns SuccessResponse Details of the shopper updated successfully
30
30
  * @throws ApiError
31
31
  */
32
- static updateShopperDetails(shopper, xStudioId, requestBody) {
32
+ static updateShopperDetails(xStudioId, shopper, requestBody) {
33
33
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
34
34
  method: 'PUT',
35
35
  url: '/admin-portal/superuser/shopper',
@@ -208,6 +208,7 @@ export type { MarkedUnavailableSeatResponseDto } from './models/MarkedUnavailabl
208
208
  export type { MessageSettingResponseDto } from './models/MessageSettingResponseDto';
209
209
  export type { MigrateTicketDetails } from './models/MigrateTicketDetails';
210
210
  export type { MigrateTicketRequestDto } from './models/MigrateTicketRequestDto';
211
+ export type { MigrateTicketResultDto } from './models/MigrateTicketResultDto';
211
212
  export type { MigrationPossibleShow } from './models/MigrationPossibleShow';
212
213
  export type { ModifyTicketRequestDto } from './models/ModifyTicketRequestDto';
213
214
  export type { NotificationDto } from './models/NotificationDto';
@@ -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/shopper',
6
- VERSION: '20261007.1',
6
+ VERSION: '20261013.3',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -206,6 +206,7 @@ export { DonationService } from './services/DonationService';
206
206
  export { EventService } from './services/EventService';
207
207
  export { GiftCardService } from './services/GiftCardService';
208
208
  export { HealthService } from './services/HealthService';
209
+ export { OccupancyService } from './services/OccupancyService';
209
210
  export { OrderService } from './services/OrderService';
210
211
  export { PaymentService } from './services/PaymentService';
211
212
  export { PaymentLinkService } from './services/PaymentLinkService';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StripeService = exports.SessionService = exports.SeatService = exports.ProductService = exports.PaymentLinkService = exports.PaymentService = exports.OrderService = exports.HealthService = exports.GiftCardService = exports.EventService = exports.DonationService = exports.CodeService = exports.CheckoutService = exports.CartService = exports.AccountService = exports.ManifestSeat = exports.CorrelatedCode = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.ApiError = void 0;
3
+ exports.StripeService = exports.SessionService = exports.SeatService = exports.ProductService = exports.PaymentLinkService = exports.PaymentService = exports.OrderService = exports.OccupancyService = exports.HealthService = exports.GiftCardService = exports.EventService = exports.DonationService = exports.CodeService = exports.CheckoutService = exports.CartService = exports.AccountService = exports.ManifestSeat = exports.CorrelatedCode = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.ApiError = void 0;
4
4
  /* generated using openapi-typescript-codegen -- do not edit */
5
5
  /* istanbul ignore file */
6
6
  /* tslint:disable */
@@ -32,6 +32,8 @@ var GiftCardService_1 = require("./services/GiftCardService");
32
32
  Object.defineProperty(exports, "GiftCardService", { enumerable: true, get: function () { return GiftCardService_1.GiftCardService; } });
33
33
  var HealthService_1 = require("./services/HealthService");
34
34
  Object.defineProperty(exports, "HealthService", { enumerable: true, get: function () { return HealthService_1.HealthService; } });
35
+ var OccupancyService_1 = require("./services/OccupancyService");
36
+ Object.defineProperty(exports, "OccupancyService", { enumerable: true, get: function () { return OccupancyService_1.OccupancyService; } });
35
37
  var OrderService_1 = require("./services/OrderService");
36
38
  Object.defineProperty(exports, "OrderService", { enumerable: true, get: function () { return OrderService_1.OrderService; } });
37
39
  var PaymentService_1 = require("./services/PaymentService");
@@ -1,6 +1,6 @@
1
1
  import type { Album } from './Album';
2
2
  import type { AlbumImage } from './AlbumImage';
3
3
  export type AlbumWithImages = {
4
- details: Album;
4
+ details: Album | null;
5
5
  images: Array<AlbumImage>;
6
6
  };
@@ -11,6 +11,10 @@ export type ShowExtras = {
11
11
  * Maximum age for a lap child, if a lap-child policy applies.
12
12
  */
13
13
  lapChildMaxAge: number | null;
14
+ /**
15
+ * The venue's (theatre.handicap_policy) accessible-seating policy. GET /event/{id} already folds it into event.handicapPolicy when the show has none of its own; carried here so the fallback is visible.
16
+ */
17
+ venueHandicapPolicy: string | null;
14
18
  /**
15
19
  * The show's performer positions across the front of the stage, as the studio keys them: a list, a span, or spans and singles mixed ("1-10", "1,3,5,7", "10-1" for a house that counts the other way), with "|" breaking a cast too wide for one legible line onto a second ("1-12|13-24"). Read live from show.stage_numbers, and mirrored onto the event as stageNumbers.
16
20
  */
@@ -0,0 +1,27 @@
1
+ import type { CancelablePromise } from '../core/CancelablePromise';
2
+ export declare class OccupancyService {
3
+ /**
4
+ * Provision a read-only websocket for live per-event counts (staff only)
5
+ * Mints a listen-only websocket-server token bound to the session's STUDIO counts room and returns the connection details: {url, token, roomId, event, expiresAt}. The browser connects with `new WebSocket(url, ["bearer." + token])` and receives {type:"event", event:"occupancy-counts-update", payload:{eventId, studioId, capacity, sold, held, blocked}} frames whenever the seat engine reports a change for any of the studio's shows. No snapshot arrives on join — clients paint from their own first read and may reconcile with GET /occupancy/counts. Requires a logged-in operator or a whitelisted IP; everyone else gets 403 NOT_STAFF. A 503 means "run without a socket for now", not a page failure.
6
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
7
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
8
+ * @returns any The websocket connection details.
9
+ * @throws ApiError
10
+ */
11
+ static getOccupancyCountsSocket(context?: {
12
+ shopperGuid?: string;
13
+ accountId?: string;
14
+ }, xDrtDomain?: string): CancelablePromise<any>;
15
+ /**
16
+ * Last known per-event counts for the session's studio (staff only)
17
+ * The most recent {eventId, studioId, capacity, sold, held, blocked} snapshot this API has received from the seat engine for each of the studio's shows, each with the `storedAt` epoch milliseconds it arrived. In-memory only: a show nobody has touched since the API started is absent, not zero.
18
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
19
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
20
+ * @returns any The cached counts snapshots.
21
+ * @throws ApiError
22
+ */
23
+ static getOccupancyCounts(context?: {
24
+ shopperGuid?: string;
25
+ accountId?: string;
26
+ }, xDrtDomain?: string): CancelablePromise<any>;
27
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OccupancyService = void 0;
4
+ const OpenAPI_1 = require("../core/OpenAPI");
5
+ const request_1 = require("../core/request");
6
+ const sdkConfig_1 = require("../../../functions/sdkConfig");
7
+ class OccupancyService {
8
+ /**
9
+ * Provision a read-only websocket for live per-event counts (staff only)
10
+ * Mints a listen-only websocket-server token bound to the session's STUDIO counts room and returns the connection details: {url, token, roomId, event, expiresAt}. The browser connects with `new WebSocket(url, ["bearer." + token])` and receives {type:"event", event:"occupancy-counts-update", payload:{eventId, studioId, capacity, sold, held, blocked}} frames whenever the seat engine reports a change for any of the studio's shows. No snapshot arrives on join — clients paint from their own first read and may reconcile with GET /occupancy/counts. Requires a logged-in operator or a whitelisted IP; everyone else gets 403 NOT_STAFF. A 503 means "run without a socket for now", not a page failure.
11
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
12
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
13
+ * @returns any The websocket connection details.
14
+ * @throws ApiError
15
+ */
16
+ static getOccupancyCountsSocket(context, xDrtDomain) {
17
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
18
+ method: 'GET',
19
+ url: '/occupancy/counts/socket',
20
+ headers: (0, sdkConfig_1.resolveShopperHeaders)(context, xDrtDomain),
21
+ });
22
+ }
23
+ /**
24
+ * Last known per-event counts for the session's studio (staff only)
25
+ * The most recent {eventId, studioId, capacity, sold, held, blocked} snapshot this API has received from the seat engine for each of the studio's shows, each with the `storedAt` epoch milliseconds it arrived. In-memory only: a show nobody has touched since the API started is absent, not zero.
26
+ * @param context Optional per-call { shopperGuid, accountId } override. Falls back to the values passed to DRT.init().
27
+ * @param xDrtDomain Server-to-server callers only: the domain the caller acts as, matched against the API key allowed domains. Browsers omit it (the Origin header is used instead).
28
+ * @returns any The cached counts snapshots.
29
+ * @throws ApiError
30
+ */
31
+ static getOccupancyCounts(context, xDrtDomain) {
32
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
33
+ method: 'GET',
34
+ url: '/occupancy/counts',
35
+ headers: (0, sdkConfig_1.resolveShopperHeaders)(context, xDrtDomain),
36
+ });
37
+ }
38
+ }
39
+ exports.OccupancyService = OccupancyService;
@@ -27,6 +27,7 @@ export declare const DRT: {
27
27
  event: typeof import("../generated/shopper").EventService;
28
28
  giftcard: typeof import("../generated/shopper").GiftCardService;
29
29
  health: typeof import("../generated/shopper").HealthService;
30
+ occupancy: typeof import("../generated/shopper").OccupancyService;
30
31
  order: typeof import("../generated/shopper").OrderService;
31
32
  payment: typeof import("../generated/shopper").PaymentService;
32
33
  paymentlink: typeof import("../generated/shopper").PaymentLinkService;
@@ -12,6 +12,7 @@ export declare const DRT: {
12
12
  event: typeof import("./src/generated/shopper").EventService;
13
13
  giftcard: typeof import("./src/generated/shopper").GiftCardService;
14
14
  health: typeof import("./src/generated/shopper").HealthService;
15
+ occupancy: typeof import("./src/generated/shopper").OccupancyService;
15
16
  order: typeof import("./src/generated/shopper").OrderService;
16
17
  payment: typeof import("./src/generated/shopper").PaymentService;
17
18
  paymentlink: typeof import("./src/generated/shopper").PaymentLinkService;
@@ -6,6 +6,7 @@ import { DonationService } from "../generated/shopper";
6
6
  import { EventService } from "../generated/shopper";
7
7
  import { GiftCardService } from "../generated/shopper";
8
8
  import { HealthService } from "../generated/shopper";
9
+ import { OccupancyService } from "../generated/shopper";
9
10
  import { OrderService } from "../generated/shopper";
10
11
  import { PaymentService } from "../generated/shopper";
11
12
  import { PaymentLinkService } from "../generated/shopper";
@@ -22,6 +23,7 @@ export declare const shopper: {
22
23
  event: typeof EventService;
23
24
  giftcard: typeof GiftCardService;
24
25
  health: typeof HealthService;
26
+ occupancy: typeof OccupancyService;
25
27
  order: typeof OrderService;
26
28
  payment: typeof PaymentService;
27
29
  paymentlink: typeof PaymentLinkService;