@drttix/drt-sdk 0.4.11 → 0.5.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.
- package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/portal/index.d.ts +2 -0
- package/dist/cjs/src/generated/portal/models/CancelExchangeTicketRequestDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/CancelExchangeTicketRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SeatResponseDto.d.ts +12 -0
- package/dist/cjs/src/generated/portal/models/SeatResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SelectedSeatExchangeResponseDto.d.ts +2 -10
- package/dist/cjs/src/generated/portal/services/OrderLookupService.d.ts +20 -1
- package/dist/cjs/src/generated/portal/services/OrderLookupService.js +40 -1
- package/dist/cjs/src/generated/portal/types.d.ts +2 -0
- package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/portal/index.d.ts +2 -0
- package/dist/esm/src/generated/portal/models/CancelExchangeTicketRequestDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/CancelExchangeTicketRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SeatResponseDto.d.ts +12 -0
- package/dist/esm/src/generated/portal/models/SeatResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SelectedSeatExchangeResponseDto.d.ts +2 -10
- package/dist/esm/src/generated/portal/services/OrderLookupService.d.ts +20 -1
- package/dist/esm/src/generated/portal/services/OrderLookupService.js +40 -1
- package/dist/esm/src/generated/portal/types.d.ts +2 -0
- package/package.json +1 -1
- package/src/generated/portal/core/OpenAPI.ts +1 -1
- package/src/generated/portal/index.ts +2 -0
- package/src/generated/portal/models/CancelExchangeTicketRequestDto.ts +9 -0
- package/src/generated/portal/models/SeatResponseDto.ts +17 -0
- package/src/generated/portal/models/SelectedSeatExchangeResponseDto.ts +2 -10
- package/src/generated/portal/services/OrderLookupService.ts +47 -1
- package/src/generated/portal/types.ts +2 -0
|
@@ -26,6 +26,7 @@ export type { BookmarkResponseDto } from './models/BookmarkResponseDto';
|
|
|
26
26
|
export type { BulkCreateGiftCardRequestDto } from './models/BulkCreateGiftCardRequestDto';
|
|
27
27
|
export type { BulkEditRequestDto } from './models/BulkEditRequestDto';
|
|
28
28
|
export type { BuyerResponseDto } from './models/BuyerResponseDto';
|
|
29
|
+
export type { CancelExchangeTicketRequestDto } from './models/CancelExchangeTicketRequestDto';
|
|
29
30
|
export type { CartCountResponseDto } from './models/CartCountResponseDto';
|
|
30
31
|
export type { CartToggleTickerResponseDto } from './models/CartToggleTickerResponseDto';
|
|
31
32
|
export type { ChangePasswordRequestDto } from './models/ChangePasswordRequestDto';
|
|
@@ -212,6 +213,7 @@ export type { SearchOrderResponseDto } from './models/SearchOrderResponseDto';
|
|
|
212
213
|
export type { SearchResponseDto } from './models/SearchResponseDto';
|
|
213
214
|
export type { SeatDetails } from './models/SeatDetails';
|
|
214
215
|
export type { SeatDetailsResponseDto } from './models/SeatDetailsResponseDto';
|
|
216
|
+
export type { SeatResponseDto } from './models/SeatResponseDto';
|
|
215
217
|
export type { seatShowIdPair } from './models/seatShowIdPair';
|
|
216
218
|
export type { SectionDetail } from './models/SectionDetail';
|
|
217
219
|
export type { SectionRule } from './models/SectionRule';
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
+
import type { SeatResponseDto } from './SeatResponseDto';
|
|
1
2
|
export type SelectedSeatExchangeResponseDto = {
|
|
2
|
-
|
|
3
|
-
showId: number;
|
|
4
|
-
seatId: number;
|
|
5
|
-
section: string;
|
|
6
|
-
row: string;
|
|
7
|
-
seat: string;
|
|
8
|
-
showName: string;
|
|
9
|
-
isGeneralSeating: string;
|
|
10
|
-
tierName: string;
|
|
11
|
-
designation: string;
|
|
3
|
+
seats: Array<SeatResponseDto>;
|
|
12
4
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { AddSessionSeatRequestDto } from '../models/AddSessionSeatRequestDto';
|
|
2
|
+
import type { CancelExchangeTicketRequestDto } from '../models/CancelExchangeTicketRequestDto';
|
|
2
3
|
import type { ExecuteReleaseSeatRequestDto } from '../models/ExecuteReleaseSeatRequestDto';
|
|
3
4
|
import type { ExecuteSeatExchangeRequestDto } from '../models/ExecuteSeatExchangeRequestDto';
|
|
4
5
|
import type { ModifyTicketRequestDto } from '../models/ModifyTicketRequestDto';
|
|
@@ -93,11 +94,12 @@ export declare class OrderLookupService {
|
|
|
93
94
|
/**
|
|
94
95
|
* Get the exchange selected seats
|
|
95
96
|
* Retrieves the exchange selected seats
|
|
97
|
+
* @param xStudioId
|
|
96
98
|
* @param shopperGuid Unique identifier for an shopper.
|
|
97
99
|
* @returns SelectedSeatExchangeResponseDto Ticket exchange selected seats fetched successfully
|
|
98
100
|
* @throws ApiError
|
|
99
101
|
*/
|
|
100
|
-
static exchangeSelectedSeats(shopperGuid: any): CancelablePromise<
|
|
102
|
+
static exchangeSelectedSeats(xStudioId: string, shopperGuid: any): CancelablePromise<SelectedSeatExchangeResponseDto>;
|
|
101
103
|
/**
|
|
102
104
|
* Get the release seat details
|
|
103
105
|
* Retrieves the details of the release seats
|
|
@@ -179,6 +181,23 @@ export declare class OrderLookupService {
|
|
|
179
181
|
* @throws ApiError
|
|
180
182
|
*/
|
|
181
183
|
static recalculateOrder(xStudioId: string, requestBody: OrderRecalculateRequestDto): CancelablePromise<RecalculateOrderResponseDto>;
|
|
184
|
+
/**
|
|
185
|
+
* Cancel exchange ticket
|
|
186
|
+
* To cancel an exchange ticket
|
|
187
|
+
* @param xStudioId The ID of the studio
|
|
188
|
+
* @param requestBody Cancel exchange ticket payload
|
|
189
|
+
* @returns SuccessResponse Exchange ticket cancelled successfully
|
|
190
|
+
* @throws ApiError
|
|
191
|
+
*/
|
|
192
|
+
static cancelExchangeTicket(xStudioId: string, requestBody: CancelExchangeTicketRequestDto): CancelablePromise<SuccessResponse>;
|
|
193
|
+
/**
|
|
194
|
+
* Cancel all exchange tickets
|
|
195
|
+
* To cancel all exchange tickets
|
|
196
|
+
* @param xStudioId The ID of the studio
|
|
197
|
+
* @returns SuccessResponse All exchange tickets cancelled successfully
|
|
198
|
+
* @throws ApiError
|
|
199
|
+
*/
|
|
200
|
+
static cancelAllExchangeTickets(xStudioId: string): CancelablePromise<SuccessResponse>;
|
|
182
201
|
/**
|
|
183
202
|
* Reset primary video stream
|
|
184
203
|
* To reset the primary video stream for the orders
|
|
@@ -143,14 +143,18 @@ class OrderLookupService {
|
|
|
143
143
|
/**
|
|
144
144
|
* Get the exchange selected seats
|
|
145
145
|
* Retrieves the exchange selected seats
|
|
146
|
+
* @param xStudioId
|
|
146
147
|
* @param shopperGuid Unique identifier for an shopper.
|
|
147
148
|
* @returns SelectedSeatExchangeResponseDto Ticket exchange selected seats fetched successfully
|
|
148
149
|
* @throws ApiError
|
|
149
150
|
*/
|
|
150
|
-
static exchangeSelectedSeats(shopperGuid) {
|
|
151
|
+
static exchangeSelectedSeats(xStudioId, shopperGuid) {
|
|
151
152
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
152
153
|
method: 'GET',
|
|
153
154
|
url: '/order-lookup/ticket-exchange-selected-seats',
|
|
155
|
+
headers: {
|
|
156
|
+
'x-studio-id': xStudioId,
|
|
157
|
+
},
|
|
154
158
|
query: {
|
|
155
159
|
'shopperGuid': shopperGuid,
|
|
156
160
|
},
|
|
@@ -329,6 +333,41 @@ class OrderLookupService {
|
|
|
329
333
|
mediaType: 'application/json',
|
|
330
334
|
});
|
|
331
335
|
}
|
|
336
|
+
/**
|
|
337
|
+
* Cancel exchange ticket
|
|
338
|
+
* To cancel an exchange ticket
|
|
339
|
+
* @param xStudioId The ID of the studio
|
|
340
|
+
* @param requestBody Cancel exchange ticket payload
|
|
341
|
+
* @returns SuccessResponse Exchange ticket cancelled successfully
|
|
342
|
+
* @throws ApiError
|
|
343
|
+
*/
|
|
344
|
+
static cancelExchangeTicket(xStudioId, requestBody) {
|
|
345
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
346
|
+
method: 'POST',
|
|
347
|
+
url: '/order-lookup/cancel-exchange-ticket',
|
|
348
|
+
headers: {
|
|
349
|
+
'x-studio-id': xStudioId,
|
|
350
|
+
},
|
|
351
|
+
body: requestBody,
|
|
352
|
+
mediaType: 'application/json',
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* Cancel all exchange tickets
|
|
357
|
+
* To cancel all exchange tickets
|
|
358
|
+
* @param xStudioId The ID of the studio
|
|
359
|
+
* @returns SuccessResponse All exchange tickets cancelled successfully
|
|
360
|
+
* @throws ApiError
|
|
361
|
+
*/
|
|
362
|
+
static cancelAllExchangeTickets(xStudioId) {
|
|
363
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
364
|
+
method: 'POST',
|
|
365
|
+
url: '/order-lookup/cancel-all-exchange-tickets',
|
|
366
|
+
headers: {
|
|
367
|
+
'x-studio-id': xStudioId,
|
|
368
|
+
},
|
|
369
|
+
});
|
|
370
|
+
}
|
|
332
371
|
/**
|
|
333
372
|
* Reset primary video stream
|
|
334
373
|
* To reset the primary video stream for the orders
|
|
@@ -22,6 +22,7 @@ export type { BookmarkResponseDto } from './models/BookmarkResponseDto';
|
|
|
22
22
|
export type { BulkCreateGiftCardRequestDto } from './models/BulkCreateGiftCardRequestDto';
|
|
23
23
|
export type { BulkEditRequestDto } from './models/BulkEditRequestDto';
|
|
24
24
|
export type { BuyerResponseDto } from './models/BuyerResponseDto';
|
|
25
|
+
export type { CancelExchangeTicketRequestDto } from './models/CancelExchangeTicketRequestDto';
|
|
25
26
|
export type { CartCountResponseDto } from './models/CartCountResponseDto';
|
|
26
27
|
export type { CartToggleTickerResponseDto } from './models/CartToggleTickerResponseDto';
|
|
27
28
|
export type { ChangePasswordRequestDto } from './models/ChangePasswordRequestDto';
|
|
@@ -208,6 +209,7 @@ export type { SearchOrderResponseDto } from './models/SearchOrderResponseDto';
|
|
|
208
209
|
export type { SearchResponseDto } from './models/SearchResponseDto';
|
|
209
210
|
export type { SeatDetails } from './models/SeatDetails';
|
|
210
211
|
export type { SeatDetailsResponseDto } from './models/SeatDetailsResponseDto';
|
|
212
|
+
export type { SeatResponseDto } from './models/SeatResponseDto';
|
|
211
213
|
export type { seatShowIdPair } from './models/seatShowIdPair';
|
|
212
214
|
export type { SectionDetail } from './models/SectionDetail';
|
|
213
215
|
export type { SectionRule } from './models/SectionRule';
|
|
@@ -26,6 +26,7 @@ export type { BookmarkResponseDto } from './models/BookmarkResponseDto';
|
|
|
26
26
|
export type { BulkCreateGiftCardRequestDto } from './models/BulkCreateGiftCardRequestDto';
|
|
27
27
|
export type { BulkEditRequestDto } from './models/BulkEditRequestDto';
|
|
28
28
|
export type { BuyerResponseDto } from './models/BuyerResponseDto';
|
|
29
|
+
export type { CancelExchangeTicketRequestDto } from './models/CancelExchangeTicketRequestDto';
|
|
29
30
|
export type { CartCountResponseDto } from './models/CartCountResponseDto';
|
|
30
31
|
export type { CartToggleTickerResponseDto } from './models/CartToggleTickerResponseDto';
|
|
31
32
|
export type { ChangePasswordRequestDto } from './models/ChangePasswordRequestDto';
|
|
@@ -212,6 +213,7 @@ export type { SearchOrderResponseDto } from './models/SearchOrderResponseDto';
|
|
|
212
213
|
export type { SearchResponseDto } from './models/SearchResponseDto';
|
|
213
214
|
export type { SeatDetails } from './models/SeatDetails';
|
|
214
215
|
export type { SeatDetailsResponseDto } from './models/SeatDetailsResponseDto';
|
|
216
|
+
export type { SeatResponseDto } from './models/SeatResponseDto';
|
|
215
217
|
export type { seatShowIdPair } from './models/seatShowIdPair';
|
|
216
218
|
export type { SectionDetail } from './models/SectionDetail';
|
|
217
219
|
export type { SectionRule } from './models/SectionRule';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
+
import type { SeatResponseDto } from './SeatResponseDto';
|
|
1
2
|
export type SelectedSeatExchangeResponseDto = {
|
|
2
|
-
|
|
3
|
-
showId: number;
|
|
4
|
-
seatId: number;
|
|
5
|
-
section: string;
|
|
6
|
-
row: string;
|
|
7
|
-
seat: string;
|
|
8
|
-
showName: string;
|
|
9
|
-
isGeneralSeating: string;
|
|
10
|
-
tierName: string;
|
|
11
|
-
designation: string;
|
|
3
|
+
seats: Array<SeatResponseDto>;
|
|
12
4
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { AddSessionSeatRequestDto } from '../models/AddSessionSeatRequestDto';
|
|
2
|
+
import type { CancelExchangeTicketRequestDto } from '../models/CancelExchangeTicketRequestDto';
|
|
2
3
|
import type { ExecuteReleaseSeatRequestDto } from '../models/ExecuteReleaseSeatRequestDto';
|
|
3
4
|
import type { ExecuteSeatExchangeRequestDto } from '../models/ExecuteSeatExchangeRequestDto';
|
|
4
5
|
import type { ModifyTicketRequestDto } from '../models/ModifyTicketRequestDto';
|
|
@@ -93,11 +94,12 @@ export declare class OrderLookupService {
|
|
|
93
94
|
/**
|
|
94
95
|
* Get the exchange selected seats
|
|
95
96
|
* Retrieves the exchange selected seats
|
|
97
|
+
* @param xStudioId
|
|
96
98
|
* @param shopperGuid Unique identifier for an shopper.
|
|
97
99
|
* @returns SelectedSeatExchangeResponseDto Ticket exchange selected seats fetched successfully
|
|
98
100
|
* @throws ApiError
|
|
99
101
|
*/
|
|
100
|
-
static exchangeSelectedSeats(shopperGuid: any): CancelablePromise<
|
|
102
|
+
static exchangeSelectedSeats(xStudioId: string, shopperGuid: any): CancelablePromise<SelectedSeatExchangeResponseDto>;
|
|
101
103
|
/**
|
|
102
104
|
* Get the release seat details
|
|
103
105
|
* Retrieves the details of the release seats
|
|
@@ -179,6 +181,23 @@ export declare class OrderLookupService {
|
|
|
179
181
|
* @throws ApiError
|
|
180
182
|
*/
|
|
181
183
|
static recalculateOrder(xStudioId: string, requestBody: OrderRecalculateRequestDto): CancelablePromise<RecalculateOrderResponseDto>;
|
|
184
|
+
/**
|
|
185
|
+
* Cancel exchange ticket
|
|
186
|
+
* To cancel an exchange ticket
|
|
187
|
+
* @param xStudioId The ID of the studio
|
|
188
|
+
* @param requestBody Cancel exchange ticket payload
|
|
189
|
+
* @returns SuccessResponse Exchange ticket cancelled successfully
|
|
190
|
+
* @throws ApiError
|
|
191
|
+
*/
|
|
192
|
+
static cancelExchangeTicket(xStudioId: string, requestBody: CancelExchangeTicketRequestDto): CancelablePromise<SuccessResponse>;
|
|
193
|
+
/**
|
|
194
|
+
* Cancel all exchange tickets
|
|
195
|
+
* To cancel all exchange tickets
|
|
196
|
+
* @param xStudioId The ID of the studio
|
|
197
|
+
* @returns SuccessResponse All exchange tickets cancelled successfully
|
|
198
|
+
* @throws ApiError
|
|
199
|
+
*/
|
|
200
|
+
static cancelAllExchangeTickets(xStudioId: string): CancelablePromise<SuccessResponse>;
|
|
182
201
|
/**
|
|
183
202
|
* Reset primary video stream
|
|
184
203
|
* To reset the primary video stream for the orders
|
|
@@ -140,14 +140,18 @@ export class OrderLookupService {
|
|
|
140
140
|
/**
|
|
141
141
|
* Get the exchange selected seats
|
|
142
142
|
* Retrieves the exchange selected seats
|
|
143
|
+
* @param xStudioId
|
|
143
144
|
* @param shopperGuid Unique identifier for an shopper.
|
|
144
145
|
* @returns SelectedSeatExchangeResponseDto Ticket exchange selected seats fetched successfully
|
|
145
146
|
* @throws ApiError
|
|
146
147
|
*/
|
|
147
|
-
static exchangeSelectedSeats(shopperGuid) {
|
|
148
|
+
static exchangeSelectedSeats(xStudioId, shopperGuid) {
|
|
148
149
|
return __request(OpenAPI, {
|
|
149
150
|
method: 'GET',
|
|
150
151
|
url: '/order-lookup/ticket-exchange-selected-seats',
|
|
152
|
+
headers: {
|
|
153
|
+
'x-studio-id': xStudioId,
|
|
154
|
+
},
|
|
151
155
|
query: {
|
|
152
156
|
'shopperGuid': shopperGuid,
|
|
153
157
|
},
|
|
@@ -326,6 +330,41 @@ export class OrderLookupService {
|
|
|
326
330
|
mediaType: 'application/json',
|
|
327
331
|
});
|
|
328
332
|
}
|
|
333
|
+
/**
|
|
334
|
+
* Cancel exchange ticket
|
|
335
|
+
* To cancel an exchange ticket
|
|
336
|
+
* @param xStudioId The ID of the studio
|
|
337
|
+
* @param requestBody Cancel exchange ticket payload
|
|
338
|
+
* @returns SuccessResponse Exchange ticket cancelled successfully
|
|
339
|
+
* @throws ApiError
|
|
340
|
+
*/
|
|
341
|
+
static cancelExchangeTicket(xStudioId, requestBody) {
|
|
342
|
+
return __request(OpenAPI, {
|
|
343
|
+
method: 'POST',
|
|
344
|
+
url: '/order-lookup/cancel-exchange-ticket',
|
|
345
|
+
headers: {
|
|
346
|
+
'x-studio-id': xStudioId,
|
|
347
|
+
},
|
|
348
|
+
body: requestBody,
|
|
349
|
+
mediaType: 'application/json',
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* Cancel all exchange tickets
|
|
354
|
+
* To cancel all exchange tickets
|
|
355
|
+
* @param xStudioId The ID of the studio
|
|
356
|
+
* @returns SuccessResponse All exchange tickets cancelled successfully
|
|
357
|
+
* @throws ApiError
|
|
358
|
+
*/
|
|
359
|
+
static cancelAllExchangeTickets(xStudioId) {
|
|
360
|
+
return __request(OpenAPI, {
|
|
361
|
+
method: 'POST',
|
|
362
|
+
url: '/order-lookup/cancel-all-exchange-tickets',
|
|
363
|
+
headers: {
|
|
364
|
+
'x-studio-id': xStudioId,
|
|
365
|
+
},
|
|
366
|
+
});
|
|
367
|
+
}
|
|
329
368
|
/**
|
|
330
369
|
* Reset primary video stream
|
|
331
370
|
* To reset the primary video stream for the orders
|
|
@@ -22,6 +22,7 @@ export type { BookmarkResponseDto } from './models/BookmarkResponseDto';
|
|
|
22
22
|
export type { BulkCreateGiftCardRequestDto } from './models/BulkCreateGiftCardRequestDto';
|
|
23
23
|
export type { BulkEditRequestDto } from './models/BulkEditRequestDto';
|
|
24
24
|
export type { BuyerResponseDto } from './models/BuyerResponseDto';
|
|
25
|
+
export type { CancelExchangeTicketRequestDto } from './models/CancelExchangeTicketRequestDto';
|
|
25
26
|
export type { CartCountResponseDto } from './models/CartCountResponseDto';
|
|
26
27
|
export type { CartToggleTickerResponseDto } from './models/CartToggleTickerResponseDto';
|
|
27
28
|
export type { ChangePasswordRequestDto } from './models/ChangePasswordRequestDto';
|
|
@@ -208,6 +209,7 @@ export type { SearchOrderResponseDto } from './models/SearchOrderResponseDto';
|
|
|
208
209
|
export type { SearchResponseDto } from './models/SearchResponseDto';
|
|
209
210
|
export type { SeatDetails } from './models/SeatDetails';
|
|
210
211
|
export type { SeatDetailsResponseDto } from './models/SeatDetailsResponseDto';
|
|
212
|
+
export type { SeatResponseDto } from './models/SeatResponseDto';
|
|
211
213
|
export type { seatShowIdPair } from './models/seatShowIdPair';
|
|
212
214
|
export type { SectionDetail } from './models/SectionDetail';
|
|
213
215
|
export type { SectionRule } from './models/SectionRule';
|
package/package.json
CHANGED
|
@@ -31,6 +31,7 @@ export type { BookmarkResponseDto } from './models/BookmarkResponseDto';
|
|
|
31
31
|
export type { BulkCreateGiftCardRequestDto } from './models/BulkCreateGiftCardRequestDto';
|
|
32
32
|
export type { BulkEditRequestDto } from './models/BulkEditRequestDto';
|
|
33
33
|
export type { BuyerResponseDto } from './models/BuyerResponseDto';
|
|
34
|
+
export type { CancelExchangeTicketRequestDto } from './models/CancelExchangeTicketRequestDto';
|
|
34
35
|
export type { CartCountResponseDto } from './models/CartCountResponseDto';
|
|
35
36
|
export type { CartToggleTickerResponseDto } from './models/CartToggleTickerResponseDto';
|
|
36
37
|
export type { ChangePasswordRequestDto } from './models/ChangePasswordRequestDto';
|
|
@@ -217,6 +218,7 @@ export type { SearchOrderResponseDto } from './models/SearchOrderResponseDto';
|
|
|
217
218
|
export type { SearchResponseDto } from './models/SearchResponseDto';
|
|
218
219
|
export type { SeatDetails } from './models/SeatDetails';
|
|
219
220
|
export type { SeatDetailsResponseDto } from './models/SeatDetailsResponseDto';
|
|
221
|
+
export type { SeatResponseDto } from './models/SeatResponseDto';
|
|
220
222
|
export type { seatShowIdPair } from './models/seatShowIdPair';
|
|
221
223
|
export type { SectionDetail } from './models/SectionDetail';
|
|
222
224
|
export type { SectionRule } from './models/SectionRule';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type SeatResponseDto = {
|
|
6
|
+
price: number;
|
|
7
|
+
showId: number;
|
|
8
|
+
seatId: number;
|
|
9
|
+
section: string;
|
|
10
|
+
row: string;
|
|
11
|
+
seat: string;
|
|
12
|
+
showName: string;
|
|
13
|
+
isGeneralSeating: string;
|
|
14
|
+
tierName: string;
|
|
15
|
+
designation: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
@@ -2,16 +2,8 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
+
import type { SeatResponseDto } from './SeatResponseDto';
|
|
5
6
|
export type SelectedSeatExchangeResponseDto = {
|
|
6
|
-
|
|
7
|
-
showId: number;
|
|
8
|
-
seatId: number;
|
|
9
|
-
section: string;
|
|
10
|
-
row: string;
|
|
11
|
-
seat: string;
|
|
12
|
-
showName: string;
|
|
13
|
-
isGeneralSeating: string;
|
|
14
|
-
tierName: string;
|
|
15
|
-
designation: string;
|
|
7
|
+
seats: Array<SeatResponseDto>;
|
|
16
8
|
};
|
|
17
9
|
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
import type { AddSessionSeatRequestDto } from '../models/AddSessionSeatRequestDto';
|
|
6
|
+
import type { CancelExchangeTicketRequestDto } from '../models/CancelExchangeTicketRequestDto';
|
|
6
7
|
import type { ExecuteReleaseSeatRequestDto } from '../models/ExecuteReleaseSeatRequestDto';
|
|
7
8
|
import type { ExecuteSeatExchangeRequestDto } from '../models/ExecuteSeatExchangeRequestDto';
|
|
8
9
|
import type { ModifyTicketRequestDto } from '../models/ModifyTicketRequestDto';
|
|
@@ -193,16 +194,21 @@ export class OrderLookupService {
|
|
|
193
194
|
/**
|
|
194
195
|
* Get the exchange selected seats
|
|
195
196
|
* Retrieves the exchange selected seats
|
|
197
|
+
* @param xStudioId
|
|
196
198
|
* @param shopperGuid Unique identifier for an shopper.
|
|
197
199
|
* @returns SelectedSeatExchangeResponseDto Ticket exchange selected seats fetched successfully
|
|
198
200
|
* @throws ApiError
|
|
199
201
|
*/
|
|
200
202
|
public static exchangeSelectedSeats(
|
|
203
|
+
xStudioId: string,
|
|
201
204
|
shopperGuid: any,
|
|
202
|
-
): CancelablePromise<
|
|
205
|
+
): CancelablePromise<SelectedSeatExchangeResponseDto> {
|
|
203
206
|
return __request(OpenAPI, {
|
|
204
207
|
method: 'GET',
|
|
205
208
|
url: '/order-lookup/ticket-exchange-selected-seats',
|
|
209
|
+
headers: {
|
|
210
|
+
'x-studio-id': xStudioId,
|
|
211
|
+
},
|
|
206
212
|
query: {
|
|
207
213
|
'shopperGuid': shopperGuid,
|
|
208
214
|
},
|
|
@@ -408,6 +414,46 @@ export class OrderLookupService {
|
|
|
408
414
|
mediaType: 'application/json',
|
|
409
415
|
});
|
|
410
416
|
}
|
|
417
|
+
/**
|
|
418
|
+
* Cancel exchange ticket
|
|
419
|
+
* To cancel an exchange ticket
|
|
420
|
+
* @param xStudioId The ID of the studio
|
|
421
|
+
* @param requestBody Cancel exchange ticket payload
|
|
422
|
+
* @returns SuccessResponse Exchange ticket cancelled successfully
|
|
423
|
+
* @throws ApiError
|
|
424
|
+
*/
|
|
425
|
+
public static cancelExchangeTicket(
|
|
426
|
+
xStudioId: string,
|
|
427
|
+
requestBody: CancelExchangeTicketRequestDto,
|
|
428
|
+
): CancelablePromise<SuccessResponse> {
|
|
429
|
+
return __request(OpenAPI, {
|
|
430
|
+
method: 'POST',
|
|
431
|
+
url: '/order-lookup/cancel-exchange-ticket',
|
|
432
|
+
headers: {
|
|
433
|
+
'x-studio-id': xStudioId,
|
|
434
|
+
},
|
|
435
|
+
body: requestBody,
|
|
436
|
+
mediaType: 'application/json',
|
|
437
|
+
});
|
|
438
|
+
}
|
|
439
|
+
/**
|
|
440
|
+
* Cancel all exchange tickets
|
|
441
|
+
* To cancel all exchange tickets
|
|
442
|
+
* @param xStudioId The ID of the studio
|
|
443
|
+
* @returns SuccessResponse All exchange tickets cancelled successfully
|
|
444
|
+
* @throws ApiError
|
|
445
|
+
*/
|
|
446
|
+
public static cancelAllExchangeTickets(
|
|
447
|
+
xStudioId: string,
|
|
448
|
+
): CancelablePromise<SuccessResponse> {
|
|
449
|
+
return __request(OpenAPI, {
|
|
450
|
+
method: 'POST',
|
|
451
|
+
url: '/order-lookup/cancel-all-exchange-tickets',
|
|
452
|
+
headers: {
|
|
453
|
+
'x-studio-id': xStudioId,
|
|
454
|
+
},
|
|
455
|
+
});
|
|
456
|
+
}
|
|
411
457
|
/**
|
|
412
458
|
* Reset primary video stream
|
|
413
459
|
* To reset the primary video stream for the orders
|
|
@@ -25,6 +25,7 @@ export type { BookmarkResponseDto } from './models/BookmarkResponseDto';
|
|
|
25
25
|
export type { BulkCreateGiftCardRequestDto } from './models/BulkCreateGiftCardRequestDto';
|
|
26
26
|
export type { BulkEditRequestDto } from './models/BulkEditRequestDto';
|
|
27
27
|
export type { BuyerResponseDto } from './models/BuyerResponseDto';
|
|
28
|
+
export type { CancelExchangeTicketRequestDto } from './models/CancelExchangeTicketRequestDto';
|
|
28
29
|
export type { CartCountResponseDto } from './models/CartCountResponseDto';
|
|
29
30
|
export type { CartToggleTickerResponseDto } from './models/CartToggleTickerResponseDto';
|
|
30
31
|
export type { ChangePasswordRequestDto } from './models/ChangePasswordRequestDto';
|
|
@@ -211,6 +212,7 @@ export type { SearchOrderResponseDto } from './models/SearchOrderResponseDto';
|
|
|
211
212
|
export type { SearchResponseDto } from './models/SearchResponseDto';
|
|
212
213
|
export type { SeatDetails } from './models/SeatDetails';
|
|
213
214
|
export type { SeatDetailsResponseDto } from './models/SeatDetailsResponseDto';
|
|
215
|
+
export type { SeatResponseDto } from './models/SeatResponseDto';
|
|
214
216
|
export type { seatShowIdPair } from './models/seatShowIdPair';
|
|
215
217
|
export type { SectionDetail } from './models/SectionDetail';
|
|
216
218
|
export type { SectionRule } from './models/SectionRule';
|