@drttix/drt-sdk 0.3.14 → 0.4.1

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 (36) hide show
  1. package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
  2. package/dist/cjs/src/generated/portal/index.d.ts +2 -0
  3. package/dist/cjs/src/generated/portal/models/AddSessionSeatRequestDto.d.ts +4 -0
  4. package/dist/cjs/src/generated/portal/models/AddSessionSeatRequestDto.js +2 -0
  5. package/dist/cjs/src/generated/portal/models/OrderSeatDetailsResponseDto.d.ts +1 -0
  6. package/dist/cjs/src/generated/portal/models/ShowBlockedSeatResponseDto.d.ts +21 -0
  7. package/dist/cjs/src/generated/portal/models/ShowBlockedSeatResponseDto.js +2 -0
  8. package/dist/cjs/src/generated/portal/services/FeaturesBlockedSeatsService.d.ts +18 -0
  9. package/dist/cjs/src/generated/portal/services/FeaturesBlockedSeatsService.js +40 -0
  10. package/dist/cjs/src/generated/portal/services/OrderLookupService.d.ts +20 -0
  11. package/dist/cjs/src/generated/portal/services/OrderLookupService.js +39 -0
  12. package/dist/cjs/src/generated/portal/types.d.ts +2 -0
  13. package/dist/cjs/src/generated/scanner/core/OpenAPI.js +1 -1
  14. package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
  15. package/dist/esm/src/generated/portal/index.d.ts +2 -0
  16. package/dist/esm/src/generated/portal/models/AddSessionSeatRequestDto.d.ts +4 -0
  17. package/dist/esm/src/generated/portal/models/AddSessionSeatRequestDto.js +1 -0
  18. package/dist/esm/src/generated/portal/models/OrderSeatDetailsResponseDto.d.ts +1 -0
  19. package/dist/esm/src/generated/portal/models/ShowBlockedSeatResponseDto.d.ts +21 -0
  20. package/dist/esm/src/generated/portal/models/ShowBlockedSeatResponseDto.js +1 -0
  21. package/dist/esm/src/generated/portal/services/FeaturesBlockedSeatsService.d.ts +18 -0
  22. package/dist/esm/src/generated/portal/services/FeaturesBlockedSeatsService.js +40 -0
  23. package/dist/esm/src/generated/portal/services/OrderLookupService.d.ts +20 -0
  24. package/dist/esm/src/generated/portal/services/OrderLookupService.js +39 -0
  25. package/dist/esm/src/generated/portal/types.d.ts +2 -0
  26. package/dist/esm/src/generated/scanner/core/OpenAPI.js +1 -1
  27. package/package.json +1 -1
  28. package/src/generated/portal/core/OpenAPI.ts +1 -1
  29. package/src/generated/portal/index.ts +2 -0
  30. package/src/generated/portal/models/AddSessionSeatRequestDto.ts +9 -0
  31. package/src/generated/portal/models/OrderSeatDetailsResponseDto.ts +1 -0
  32. package/src/generated/portal/models/ShowBlockedSeatResponseDto.ts +26 -0
  33. package/src/generated/portal/services/FeaturesBlockedSeatsService.ts +46 -0
  34. package/src/generated/portal/services/OrderLookupService.ts +47 -0
  35. package/src/generated/portal/types.ts +2 -0
  36. package/src/generated/scanner/core/OpenAPI.ts +1 -1
@@ -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: '20260306.1',
6
+ VERSION: '20260311.2',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -3,6 +3,7 @@ export { CancelablePromise, CancelError } from './core/CancelablePromise';
3
3
  export { OpenAPI } from './core/OpenAPI';
4
4
  export type { OpenAPIConfig } from './core/OpenAPI';
5
5
  export type { AccountDetailResponseDto } from './models/AccountDetailResponseDto';
6
+ export type { AddSessionSeatRequestDto } from './models/AddSessionSeatRequestDto';
6
7
  export type { AdminUserLevelResponseDto } from './models/AdminUserLevelResponseDto';
7
8
  export type { AdminUserResponseDto } from './models/AdminUserResponseDto';
8
9
  export type { AdvancedPricing } from './models/AdvancedPricing';
@@ -223,6 +224,7 @@ export type { SettingsAndWavesResponseDto } from './models/SettingsAndWavesRespo
223
224
  export type { SettingsDetailsResponseDto } from './models/SettingsDetailsResponseDto';
224
225
  export type { Show } from './models/Show';
225
226
  export type { ShowAndGroupResponseDto } from './models/ShowAndGroupResponseDto';
227
+ export type { ShowBlockedSeatResponseDto } from './models/ShowBlockedSeatResponseDto';
226
228
  export type { ShowChartPreviewResponseDto } from './models/ShowChartPreviewResponseDto';
227
229
  export type { ShowDetailDto } from './models/ShowDetailDto';
228
230
  export type { ShowDetails } from './models/ShowDetails';
@@ -0,0 +1,4 @@
1
+ import type { ShowSeatPair } from './ShowSeatPair';
2
+ export type AddSessionSeatRequestDto = {
3
+ showSeatBody: Array<ShowSeatPair>;
4
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,5 +5,6 @@ export type OrderSeatDetailsResponseDto = {
5
5
  firstName: string;
6
6
  lastName: string;
7
7
  individualTicket: number;
8
+ guid: string;
8
9
  seatDetails: Array<SeatDetails>;
9
10
  };
@@ -0,0 +1,21 @@
1
+ export type ShowBlockedSeatResponseDto = {
2
+ higherNum: number;
3
+ id: number;
4
+ isActive: number;
5
+ isHandicap: number;
6
+ lowerNum: number;
7
+ num: number;
8
+ relatedSeat: number;
9
+ row: string;
10
+ seat: number;
11
+ section: string;
12
+ theatreId: number;
13
+ status: string;
14
+ showId: number;
15
+ isPrinted: number;
16
+ ownerName: string;
17
+ dateBlocked: string;
18
+ emailed: number;
19
+ locked: number;
20
+ available: number;
21
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -64,6 +64,24 @@ export declare class FeaturesBlockedSeatsService {
64
64
  * @throws ApiError
65
65
  */
66
66
  static getSelectedSeats(): CancelablePromise<Array<BlockedSeatDetail>>;
67
+ /**
68
+ * Initialize the seat engine for a show
69
+ * Initialize the seat engine for a show
70
+ * @param showId The ID of the show
71
+ * @param xStudioId The ID of the studio
72
+ * @returns SuccessResponse Show initialized successfully
73
+ * @throws ApiError
74
+ */
75
+ static initializeSeatEngine(showId: string, xStudioId: string): CancelablePromise<SuccessResponse>;
76
+ /**
77
+ * Fetch the seat engine occupancy for a show
78
+ * Fetch the seat engine occupancy for a show
79
+ * @param showId The ID of the show
80
+ * @param xStudioId The ID of the studio
81
+ * @returns any Show occupancy fetched successfully
82
+ * @throws ApiError
83
+ */
84
+ static getSeatEngineOccupancy(showId: string, xStudioId: string): CancelablePromise<any>;
67
85
  /**
68
86
  * Check the selected seats against show
69
87
  * Check the selected seats against show
@@ -88,6 +88,46 @@ class FeaturesBlockedSeatsService {
88
88
  url: '/features/blocked-seats/selected-seats',
89
89
  });
90
90
  }
91
+ /**
92
+ * Initialize the seat engine for a show
93
+ * Initialize the seat engine for a show
94
+ * @param showId The ID of the show
95
+ * @param xStudioId The ID of the studio
96
+ * @returns SuccessResponse Show initialized successfully
97
+ * @throws ApiError
98
+ */
99
+ static initializeSeatEngine(showId, xStudioId) {
100
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
101
+ method: 'GET',
102
+ url: '/features/blocked-seats/{showId}/initialize-seat-engine',
103
+ path: {
104
+ 'showId': showId,
105
+ },
106
+ headers: {
107
+ 'x-studio-id': xStudioId,
108
+ },
109
+ });
110
+ }
111
+ /**
112
+ * Fetch the seat engine occupancy for a show
113
+ * Fetch the seat engine occupancy for a show
114
+ * @param showId The ID of the show
115
+ * @param xStudioId The ID of the studio
116
+ * @returns any Show occupancy fetched successfully
117
+ * @throws ApiError
118
+ */
119
+ static getSeatEngineOccupancy(showId, xStudioId) {
120
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
121
+ method: 'GET',
122
+ url: '/features/blocked-seats/{showId}/occupancy',
123
+ path: {
124
+ 'showId': showId,
125
+ },
126
+ headers: {
127
+ 'x-studio-id': xStudioId,
128
+ },
129
+ });
130
+ }
91
131
  /**
92
132
  * Check the selected seats against show
93
133
  * Check the selected seats against show
@@ -1,3 +1,4 @@
1
+ import type { AddSessionSeatRequestDto } from '../models/AddSessionSeatRequestDto';
1
2
  import type { ExecuteReleaseSeatRequestDto } from '../models/ExecuteReleaseSeatRequestDto';
2
3
  import type { ExecuteSeatExchangeRequestDto } from '../models/ExecuteSeatExchangeRequestDto';
3
4
  import type { ModifyTicketRequestDto } from '../models/ModifyTicketRequestDto';
@@ -14,6 +15,7 @@ import type { RecalculateOrderResponseDto } from '../models/RecalculateOrderResp
14
15
  import type { ReleaseSeatDetailResponseDto } from '../models/ReleaseSeatDetailResponseDto';
15
16
  import type { SaveAdministrativeNoteRequestDto } from '../models/SaveAdministrativeNoteRequestDto';
16
17
  import type { SelectedSeatExchangeResponseDto } from '../models/SelectedSeatExchangeResponseDto';
18
+ import type { ShowBlockedSeatResponseDto } from '../models/ShowBlockedSeatResponseDto';
17
19
  import type { ShowDetailsResponseDto } from '../models/ShowDetailsResponseDto';
18
20
  import type { ShowTierRequestDto } from '../models/ShowTierRequestDto';
19
21
  import type { ShowTierResponseDto } from '../models/ShowTierResponseDto';
@@ -115,6 +117,15 @@ export declare class OrderLookupService {
115
117
  * @throws ApiError
116
118
  */
117
119
  static releaseSeat(xStudioId: string, orderId: string, requestBody: ExecuteReleaseSeatRequestDto): CancelablePromise<SuccessResponse>;
120
+ /**
121
+ * Get the blocked seats details
122
+ * Retrieves the details of the blocked seats
123
+ * @param xStudioId The ID of the studio
124
+ * @param showId The ID of the show
125
+ * @returns ShowBlockedSeatResponseDto Blocked seats details fetched successfully
126
+ * @throws ApiError
127
+ */
128
+ static getBlockedSeatsDetails(xStudioId: string, showId: string): CancelablePromise<Array<ShowBlockedSeatResponseDto>>;
118
129
  /**
119
130
  * Get the order list details
120
131
  * Retrieves the order list details
@@ -217,4 +228,13 @@ export declare class OrderLookupService {
217
228
  * @throws ApiError
218
229
  */
219
230
  static toggleModifyTierStatus(orderId: string, xStudioId: string, requestBody: ToggleModifyTierRequestDto): CancelablePromise<ToggleModifyTierResponseDto>;
231
+ /**
232
+ * Add seats to session
233
+ * To add seats to the session for the order
234
+ * @param xStudioId The ID of the studio
235
+ * @param requestBody Add seats to session details
236
+ * @returns SuccessResponse Seats added to session successfully
237
+ * @throws ApiError
238
+ */
239
+ static addSeatsToSession(xStudioId: string, requestBody: AddSessionSeatRequestDto): CancelablePromise<SuccessResponse>;
220
240
  }
@@ -199,6 +199,26 @@ class OrderLookupService {
199
199
  mediaType: 'application/json',
200
200
  });
201
201
  }
202
+ /**
203
+ * Get the blocked seats details
204
+ * Retrieves the details of the blocked seats
205
+ * @param xStudioId The ID of the studio
206
+ * @param showId The ID of the show
207
+ * @returns ShowBlockedSeatResponseDto Blocked seats details fetched successfully
208
+ * @throws ApiError
209
+ */
210
+ static getBlockedSeatsDetails(xStudioId, showId) {
211
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
212
+ method: 'GET',
213
+ url: '/order-lookup/{showId}/blocked-seats',
214
+ path: {
215
+ 'showId': showId,
216
+ },
217
+ headers: {
218
+ 'x-studio-id': xStudioId,
219
+ },
220
+ });
221
+ }
202
222
  /**
203
223
  * Get the order list details
204
224
  * Retrieves the order list details
@@ -421,5 +441,24 @@ class OrderLookupService {
421
441
  mediaType: 'application/json',
422
442
  });
423
443
  }
444
+ /**
445
+ * Add seats to session
446
+ * To add seats to the session for the order
447
+ * @param xStudioId The ID of the studio
448
+ * @param requestBody Add seats to session details
449
+ * @returns SuccessResponse Seats added to session successfully
450
+ * @throws ApiError
451
+ */
452
+ static addSeatsToSession(xStudioId, requestBody) {
453
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
454
+ method: 'PUT',
455
+ url: '/order-lookup/add-seat-to-session',
456
+ headers: {
457
+ 'x-studio-id': xStudioId,
458
+ },
459
+ body: requestBody,
460
+ mediaType: 'application/json',
461
+ });
462
+ }
424
463
  }
425
464
  exports.OrderLookupService = OrderLookupService;
@@ -1,4 +1,5 @@
1
1
  export type { AccountDetailResponseDto } from './models/AccountDetailResponseDto';
2
+ export type { AddSessionSeatRequestDto } from './models/AddSessionSeatRequestDto';
2
3
  export type { AdminUserLevelResponseDto } from './models/AdminUserLevelResponseDto';
3
4
  export type { AdminUserResponseDto } from './models/AdminUserResponseDto';
4
5
  export type { AdvancedPricing } from './models/AdvancedPricing';
@@ -219,6 +220,7 @@ export type { SettingsAndWavesResponseDto } from './models/SettingsAndWavesRespo
219
220
  export type { SettingsDetailsResponseDto } from './models/SettingsDetailsResponseDto';
220
221
  export type { Show } from './models/Show';
221
222
  export type { ShowAndGroupResponseDto } from './models/ShowAndGroupResponseDto';
223
+ export type { ShowBlockedSeatResponseDto } from './models/ShowBlockedSeatResponseDto';
222
224
  export type { ShowChartPreviewResponseDto } from './models/ShowChartPreviewResponseDto';
223
225
  export type { ShowDetailDto } from './models/ShowDetailDto';
224
226
  export type { ShowDetails } from './models/ShowDetails';
@@ -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: '20260303.1',
6
+ VERSION: '20260307.1',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -1,6 +1,6 @@
1
1
  export const OpenAPI = {
2
2
  BASE: '',
3
- VERSION: '20260306.1',
3
+ VERSION: '20260311.2',
4
4
  WITH_CREDENTIALS: false,
5
5
  CREDENTIALS: 'include',
6
6
  TOKEN: undefined,
@@ -3,6 +3,7 @@ export { CancelablePromise, CancelError } from './core/CancelablePromise';
3
3
  export { OpenAPI } from './core/OpenAPI';
4
4
  export type { OpenAPIConfig } from './core/OpenAPI';
5
5
  export type { AccountDetailResponseDto } from './models/AccountDetailResponseDto';
6
+ export type { AddSessionSeatRequestDto } from './models/AddSessionSeatRequestDto';
6
7
  export type { AdminUserLevelResponseDto } from './models/AdminUserLevelResponseDto';
7
8
  export type { AdminUserResponseDto } from './models/AdminUserResponseDto';
8
9
  export type { AdvancedPricing } from './models/AdvancedPricing';
@@ -223,6 +224,7 @@ export type { SettingsAndWavesResponseDto } from './models/SettingsAndWavesRespo
223
224
  export type { SettingsDetailsResponseDto } from './models/SettingsDetailsResponseDto';
224
225
  export type { Show } from './models/Show';
225
226
  export type { ShowAndGroupResponseDto } from './models/ShowAndGroupResponseDto';
227
+ export type { ShowBlockedSeatResponseDto } from './models/ShowBlockedSeatResponseDto';
226
228
  export type { ShowChartPreviewResponseDto } from './models/ShowChartPreviewResponseDto';
227
229
  export type { ShowDetailDto } from './models/ShowDetailDto';
228
230
  export type { ShowDetails } from './models/ShowDetails';
@@ -0,0 +1,4 @@
1
+ import type { ShowSeatPair } from './ShowSeatPair';
2
+ export type AddSessionSeatRequestDto = {
3
+ showSeatBody: Array<ShowSeatPair>;
4
+ };
@@ -5,5 +5,6 @@ export type OrderSeatDetailsResponseDto = {
5
5
  firstName: string;
6
6
  lastName: string;
7
7
  individualTicket: number;
8
+ guid: string;
8
9
  seatDetails: Array<SeatDetails>;
9
10
  };
@@ -0,0 +1,21 @@
1
+ export type ShowBlockedSeatResponseDto = {
2
+ higherNum: number;
3
+ id: number;
4
+ isActive: number;
5
+ isHandicap: number;
6
+ lowerNum: number;
7
+ num: number;
8
+ relatedSeat: number;
9
+ row: string;
10
+ seat: number;
11
+ section: string;
12
+ theatreId: number;
13
+ status: string;
14
+ showId: number;
15
+ isPrinted: number;
16
+ ownerName: string;
17
+ dateBlocked: string;
18
+ emailed: number;
19
+ locked: number;
20
+ available: number;
21
+ };
@@ -64,6 +64,24 @@ export declare class FeaturesBlockedSeatsService {
64
64
  * @throws ApiError
65
65
  */
66
66
  static getSelectedSeats(): CancelablePromise<Array<BlockedSeatDetail>>;
67
+ /**
68
+ * Initialize the seat engine for a show
69
+ * Initialize the seat engine for a show
70
+ * @param showId The ID of the show
71
+ * @param xStudioId The ID of the studio
72
+ * @returns SuccessResponse Show initialized successfully
73
+ * @throws ApiError
74
+ */
75
+ static initializeSeatEngine(showId: string, xStudioId: string): CancelablePromise<SuccessResponse>;
76
+ /**
77
+ * Fetch the seat engine occupancy for a show
78
+ * Fetch the seat engine occupancy for a show
79
+ * @param showId The ID of the show
80
+ * @param xStudioId The ID of the studio
81
+ * @returns any Show occupancy fetched successfully
82
+ * @throws ApiError
83
+ */
84
+ static getSeatEngineOccupancy(showId: string, xStudioId: string): CancelablePromise<any>;
67
85
  /**
68
86
  * Check the selected seats against show
69
87
  * Check the selected seats against show
@@ -85,6 +85,46 @@ export class FeaturesBlockedSeatsService {
85
85
  url: '/features/blocked-seats/selected-seats',
86
86
  });
87
87
  }
88
+ /**
89
+ * Initialize the seat engine for a show
90
+ * Initialize the seat engine for a show
91
+ * @param showId The ID of the show
92
+ * @param xStudioId The ID of the studio
93
+ * @returns SuccessResponse Show initialized successfully
94
+ * @throws ApiError
95
+ */
96
+ static initializeSeatEngine(showId, xStudioId) {
97
+ return __request(OpenAPI, {
98
+ method: 'GET',
99
+ url: '/features/blocked-seats/{showId}/initialize-seat-engine',
100
+ path: {
101
+ 'showId': showId,
102
+ },
103
+ headers: {
104
+ 'x-studio-id': xStudioId,
105
+ },
106
+ });
107
+ }
108
+ /**
109
+ * Fetch the seat engine occupancy for a show
110
+ * Fetch the seat engine occupancy for a show
111
+ * @param showId The ID of the show
112
+ * @param xStudioId The ID of the studio
113
+ * @returns any Show occupancy fetched successfully
114
+ * @throws ApiError
115
+ */
116
+ static getSeatEngineOccupancy(showId, xStudioId) {
117
+ return __request(OpenAPI, {
118
+ method: 'GET',
119
+ url: '/features/blocked-seats/{showId}/occupancy',
120
+ path: {
121
+ 'showId': showId,
122
+ },
123
+ headers: {
124
+ 'x-studio-id': xStudioId,
125
+ },
126
+ });
127
+ }
88
128
  /**
89
129
  * Check the selected seats against show
90
130
  * Check the selected seats against show
@@ -1,3 +1,4 @@
1
+ import type { AddSessionSeatRequestDto } from '../models/AddSessionSeatRequestDto';
1
2
  import type { ExecuteReleaseSeatRequestDto } from '../models/ExecuteReleaseSeatRequestDto';
2
3
  import type { ExecuteSeatExchangeRequestDto } from '../models/ExecuteSeatExchangeRequestDto';
3
4
  import type { ModifyTicketRequestDto } from '../models/ModifyTicketRequestDto';
@@ -14,6 +15,7 @@ import type { RecalculateOrderResponseDto } from '../models/RecalculateOrderResp
14
15
  import type { ReleaseSeatDetailResponseDto } from '../models/ReleaseSeatDetailResponseDto';
15
16
  import type { SaveAdministrativeNoteRequestDto } from '../models/SaveAdministrativeNoteRequestDto';
16
17
  import type { SelectedSeatExchangeResponseDto } from '../models/SelectedSeatExchangeResponseDto';
18
+ import type { ShowBlockedSeatResponseDto } from '../models/ShowBlockedSeatResponseDto';
17
19
  import type { ShowDetailsResponseDto } from '../models/ShowDetailsResponseDto';
18
20
  import type { ShowTierRequestDto } from '../models/ShowTierRequestDto';
19
21
  import type { ShowTierResponseDto } from '../models/ShowTierResponseDto';
@@ -115,6 +117,15 @@ export declare class OrderLookupService {
115
117
  * @throws ApiError
116
118
  */
117
119
  static releaseSeat(xStudioId: string, orderId: string, requestBody: ExecuteReleaseSeatRequestDto): CancelablePromise<SuccessResponse>;
120
+ /**
121
+ * Get the blocked seats details
122
+ * Retrieves the details of the blocked seats
123
+ * @param xStudioId The ID of the studio
124
+ * @param showId The ID of the show
125
+ * @returns ShowBlockedSeatResponseDto Blocked seats details fetched successfully
126
+ * @throws ApiError
127
+ */
128
+ static getBlockedSeatsDetails(xStudioId: string, showId: string): CancelablePromise<Array<ShowBlockedSeatResponseDto>>;
118
129
  /**
119
130
  * Get the order list details
120
131
  * Retrieves the order list details
@@ -217,4 +228,13 @@ export declare class OrderLookupService {
217
228
  * @throws ApiError
218
229
  */
219
230
  static toggleModifyTierStatus(orderId: string, xStudioId: string, requestBody: ToggleModifyTierRequestDto): CancelablePromise<ToggleModifyTierResponseDto>;
231
+ /**
232
+ * Add seats to session
233
+ * To add seats to the session for the order
234
+ * @param xStudioId The ID of the studio
235
+ * @param requestBody Add seats to session details
236
+ * @returns SuccessResponse Seats added to session successfully
237
+ * @throws ApiError
238
+ */
239
+ static addSeatsToSession(xStudioId: string, requestBody: AddSessionSeatRequestDto): CancelablePromise<SuccessResponse>;
220
240
  }
@@ -196,6 +196,26 @@ export class OrderLookupService {
196
196
  mediaType: 'application/json',
197
197
  });
198
198
  }
199
+ /**
200
+ * Get the blocked seats details
201
+ * Retrieves the details of the blocked seats
202
+ * @param xStudioId The ID of the studio
203
+ * @param showId The ID of the show
204
+ * @returns ShowBlockedSeatResponseDto Blocked seats details fetched successfully
205
+ * @throws ApiError
206
+ */
207
+ static getBlockedSeatsDetails(xStudioId, showId) {
208
+ return __request(OpenAPI, {
209
+ method: 'GET',
210
+ url: '/order-lookup/{showId}/blocked-seats',
211
+ path: {
212
+ 'showId': showId,
213
+ },
214
+ headers: {
215
+ 'x-studio-id': xStudioId,
216
+ },
217
+ });
218
+ }
199
219
  /**
200
220
  * Get the order list details
201
221
  * Retrieves the order list details
@@ -418,4 +438,23 @@ export class OrderLookupService {
418
438
  mediaType: 'application/json',
419
439
  });
420
440
  }
441
+ /**
442
+ * Add seats to session
443
+ * To add seats to the session for the order
444
+ * @param xStudioId The ID of the studio
445
+ * @param requestBody Add seats to session details
446
+ * @returns SuccessResponse Seats added to session successfully
447
+ * @throws ApiError
448
+ */
449
+ static addSeatsToSession(xStudioId, requestBody) {
450
+ return __request(OpenAPI, {
451
+ method: 'PUT',
452
+ url: '/order-lookup/add-seat-to-session',
453
+ headers: {
454
+ 'x-studio-id': xStudioId,
455
+ },
456
+ body: requestBody,
457
+ mediaType: 'application/json',
458
+ });
459
+ }
421
460
  }
@@ -1,4 +1,5 @@
1
1
  export type { AccountDetailResponseDto } from './models/AccountDetailResponseDto';
2
+ export type { AddSessionSeatRequestDto } from './models/AddSessionSeatRequestDto';
2
3
  export type { AdminUserLevelResponseDto } from './models/AdminUserLevelResponseDto';
3
4
  export type { AdminUserResponseDto } from './models/AdminUserResponseDto';
4
5
  export type { AdvancedPricing } from './models/AdvancedPricing';
@@ -219,6 +220,7 @@ export type { SettingsAndWavesResponseDto } from './models/SettingsAndWavesRespo
219
220
  export type { SettingsDetailsResponseDto } from './models/SettingsDetailsResponseDto';
220
221
  export type { Show } from './models/Show';
221
222
  export type { ShowAndGroupResponseDto } from './models/ShowAndGroupResponseDto';
223
+ export type { ShowBlockedSeatResponseDto } from './models/ShowBlockedSeatResponseDto';
222
224
  export type { ShowChartPreviewResponseDto } from './models/ShowChartPreviewResponseDto';
223
225
  export type { ShowDetailDto } from './models/ShowDetailDto';
224
226
  export type { ShowDetails } from './models/ShowDetails';
@@ -1,6 +1,6 @@
1
1
  export const OpenAPI = {
2
2
  BASE: 'https://api.drttix.com/scanner-v3',
3
- VERSION: '20260303.1',
3
+ VERSION: '20260307.1',
4
4
  WITH_CREDENTIALS: false,
5
5
  CREDENTIALS: 'include',
6
6
  TOKEN: undefined,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@drttix/drt-sdk",
3
3
  "description": "DRT SDK",
4
- "version": "0.3.14",
4
+ "version": "0.4.1",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
7
7
  "types": "dist/esm/index.d.ts",
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: '',
24
- VERSION: '20260306.1',
24
+ VERSION: '20260311.2',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -8,6 +8,7 @@ export { OpenAPI } from './core/OpenAPI';
8
8
  export type { OpenAPIConfig } from './core/OpenAPI';
9
9
 
10
10
  export type { AccountDetailResponseDto } from './models/AccountDetailResponseDto';
11
+ export type { AddSessionSeatRequestDto } from './models/AddSessionSeatRequestDto';
11
12
  export type { AdminUserLevelResponseDto } from './models/AdminUserLevelResponseDto';
12
13
  export type { AdminUserResponseDto } from './models/AdminUserResponseDto';
13
14
  export type { AdvancedPricing } from './models/AdvancedPricing';
@@ -228,6 +229,7 @@ export type { SettingsAndWavesResponseDto } from './models/SettingsAndWavesRespo
228
229
  export type { SettingsDetailsResponseDto } from './models/SettingsDetailsResponseDto';
229
230
  export type { Show } from './models/Show';
230
231
  export type { ShowAndGroupResponseDto } from './models/ShowAndGroupResponseDto';
232
+ export type { ShowBlockedSeatResponseDto } from './models/ShowBlockedSeatResponseDto';
231
233
  export type { ShowChartPreviewResponseDto } from './models/ShowChartPreviewResponseDto';
232
234
  export type { ShowDetailDto } from './models/ShowDetailDto';
233
235
  export type { ShowDetails } from './models/ShowDetails';
@@ -0,0 +1,9 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ShowSeatPair } from './ShowSeatPair';
6
+ export type AddSessionSeatRequestDto = {
7
+ showSeatBody: Array<ShowSeatPair>;
8
+ };
9
+
@@ -9,6 +9,7 @@ export type OrderSeatDetailsResponseDto = {
9
9
  firstName: string;
10
10
  lastName: string;
11
11
  individualTicket: number;
12
+ guid: string;
12
13
  seatDetails: Array<SeatDetails>;
13
14
  };
14
15
 
@@ -0,0 +1,26 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type ShowBlockedSeatResponseDto = {
6
+ higherNum: number;
7
+ id: number;
8
+ isActive: number;
9
+ isHandicap: number;
10
+ lowerNum: number;
11
+ num: number;
12
+ relatedSeat: number;
13
+ row: string;
14
+ seat: number;
15
+ section: string;
16
+ theatreId: number;
17
+ status: string;
18
+ showId: number;
19
+ isPrinted: number;
20
+ ownerName: string;
21
+ dateBlocked: string;
22
+ emailed: number;
23
+ locked: number;
24
+ available: number;
25
+ };
26
+
@@ -123,6 +123,52 @@ export class FeaturesBlockedSeatsService {
123
123
  url: '/features/blocked-seats/selected-seats',
124
124
  });
125
125
  }
126
+ /**
127
+ * Initialize the seat engine for a show
128
+ * Initialize the seat engine for a show
129
+ * @param showId The ID of the show
130
+ * @param xStudioId The ID of the studio
131
+ * @returns SuccessResponse Show initialized successfully
132
+ * @throws ApiError
133
+ */
134
+ public static initializeSeatEngine(
135
+ showId: string,
136
+ xStudioId: string,
137
+ ): CancelablePromise<SuccessResponse> {
138
+ return __request(OpenAPI, {
139
+ method: 'GET',
140
+ url: '/features/blocked-seats/{showId}/initialize-seat-engine',
141
+ path: {
142
+ 'showId': showId,
143
+ },
144
+ headers: {
145
+ 'x-studio-id': xStudioId,
146
+ },
147
+ });
148
+ }
149
+ /**
150
+ * Fetch the seat engine occupancy for a show
151
+ * Fetch the seat engine occupancy for a show
152
+ * @param showId The ID of the show
153
+ * @param xStudioId The ID of the studio
154
+ * @returns any Show occupancy fetched successfully
155
+ * @throws ApiError
156
+ */
157
+ public static getSeatEngineOccupancy(
158
+ showId: string,
159
+ xStudioId: string,
160
+ ): CancelablePromise<any> {
161
+ return __request(OpenAPI, {
162
+ method: 'GET',
163
+ url: '/features/blocked-seats/{showId}/occupancy',
164
+ path: {
165
+ 'showId': showId,
166
+ },
167
+ headers: {
168
+ 'x-studio-id': xStudioId,
169
+ },
170
+ });
171
+ }
126
172
  /**
127
173
  * Check the selected seats against show
128
174
  * Check the selected seats against show
@@ -2,6 +2,7 @@
2
2
  /* istanbul ignore file */
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
+ import type { AddSessionSeatRequestDto } from '../models/AddSessionSeatRequestDto';
5
6
  import type { ExecuteReleaseSeatRequestDto } from '../models/ExecuteReleaseSeatRequestDto';
6
7
  import type { ExecuteSeatExchangeRequestDto } from '../models/ExecuteSeatExchangeRequestDto';
7
8
  import type { ModifyTicketRequestDto } from '../models/ModifyTicketRequestDto';
@@ -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 { ShowBlockedSeatResponseDto } from '../models/ShowBlockedSeatResponseDto';
21
23
  import type { ShowDetailsResponseDto } from '../models/ShowDetailsResponseDto';
22
24
  import type { ShowTierRequestDto } from '../models/ShowTierRequestDto';
23
25
  import type { ShowTierResponseDto } from '../models/ShowTierResponseDto';
@@ -256,6 +258,29 @@ export class OrderLookupService {
256
258
  mediaType: 'application/json',
257
259
  });
258
260
  }
261
+ /**
262
+ * Get the blocked seats details
263
+ * Retrieves the details of the blocked seats
264
+ * @param xStudioId The ID of the studio
265
+ * @param showId The ID of the show
266
+ * @returns ShowBlockedSeatResponseDto Blocked seats details fetched successfully
267
+ * @throws ApiError
268
+ */
269
+ public static getBlockedSeatsDetails(
270
+ xStudioId: string,
271
+ showId: string,
272
+ ): CancelablePromise<Array<ShowBlockedSeatResponseDto>> {
273
+ return __request(OpenAPI, {
274
+ method: 'GET',
275
+ url: '/order-lookup/{showId}/blocked-seats',
276
+ path: {
277
+ 'showId': showId,
278
+ },
279
+ headers: {
280
+ 'x-studio-id': xStudioId,
281
+ },
282
+ });
283
+ }
259
284
  /**
260
285
  * Get the order list details
261
286
  * Retrieves the order list details
@@ -514,4 +539,26 @@ export class OrderLookupService {
514
539
  mediaType: 'application/json',
515
540
  });
516
541
  }
542
+ /**
543
+ * Add seats to session
544
+ * To add seats to the session for the order
545
+ * @param xStudioId The ID of the studio
546
+ * @param requestBody Add seats to session details
547
+ * @returns SuccessResponse Seats added to session successfully
548
+ * @throws ApiError
549
+ */
550
+ public static addSeatsToSession(
551
+ xStudioId: string,
552
+ requestBody: AddSessionSeatRequestDto,
553
+ ): CancelablePromise<SuccessResponse> {
554
+ return __request(OpenAPI, {
555
+ method: 'PUT',
556
+ url: '/order-lookup/add-seat-to-session',
557
+ headers: {
558
+ 'x-studio-id': xStudioId,
559
+ },
560
+ body: requestBody,
561
+ mediaType: 'application/json',
562
+ });
563
+ }
517
564
  }
@@ -2,6 +2,7 @@
2
2
  // Re-export all types as a namespace
3
3
 
4
4
  export type { AccountDetailResponseDto } from './models/AccountDetailResponseDto';
5
+ export type { AddSessionSeatRequestDto } from './models/AddSessionSeatRequestDto';
5
6
  export type { AdminUserLevelResponseDto } from './models/AdminUserLevelResponseDto';
6
7
  export type { AdminUserResponseDto } from './models/AdminUserResponseDto';
7
8
  export type { AdvancedPricing } from './models/AdvancedPricing';
@@ -222,6 +223,7 @@ export type { SettingsAndWavesResponseDto } from './models/SettingsAndWavesRespo
222
223
  export type { SettingsDetailsResponseDto } from './models/SettingsDetailsResponseDto';
223
224
  export type { Show } from './models/Show';
224
225
  export type { ShowAndGroupResponseDto } from './models/ShowAndGroupResponseDto';
226
+ export type { ShowBlockedSeatResponseDto } from './models/ShowBlockedSeatResponseDto';
225
227
  export type { ShowChartPreviewResponseDto } from './models/ShowChartPreviewResponseDto';
226
228
  export type { ShowDetailDto } from './models/ShowDetailDto';
227
229
  export type { ShowDetails } from './models/ShowDetails';
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: 'https://api.drttix.com/scanner-v3',
24
- VERSION: '20260303.1',
24
+ VERSION: '20260307.1',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,