@drttix/drt-sdk 0.3.1 → 0.3.12
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/README.md +5 -0
- package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/portal/index.d.ts +3 -0
- package/dist/cjs/src/generated/portal/models/CheckoutResponseShowResponseDto.d.ts +5 -0
- package/dist/cjs/src/generated/portal/models/CheckoutResponseShowResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/OrderEmailBuyersRequestDto.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/ShowSeatDetailResponseDto.d.ts +6 -0
- package/dist/cjs/src/generated/portal/models/ShowSeatDetailResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/UpdateEmailRequestDto.d.ts +3 -0
- package/dist/cjs/src/generated/portal/models/UpdateEmailRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/services/OrderLookupService.d.ts +11 -0
- package/dist/cjs/src/generated/portal/services/OrderLookupService.js +23 -0
- package/dist/cjs/src/generated/portal/services/ReportsService.d.ts +21 -0
- package/dist/cjs/src/generated/portal/services/ReportsService.js +42 -0
- package/dist/cjs/src/generated/portal/types.d.ts +3 -0
- package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/portal/index.d.ts +3 -0
- package/dist/esm/src/generated/portal/models/CheckoutResponseShowResponseDto.d.ts +5 -0
- package/dist/esm/src/generated/portal/models/CheckoutResponseShowResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/OrderEmailBuyersRequestDto.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/ShowSeatDetailResponseDto.d.ts +6 -0
- package/dist/esm/src/generated/portal/models/ShowSeatDetailResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/UpdateEmailRequestDto.d.ts +3 -0
- package/dist/esm/src/generated/portal/models/UpdateEmailRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/services/OrderLookupService.d.ts +11 -0
- package/dist/esm/src/generated/portal/services/OrderLookupService.js +23 -0
- package/dist/esm/src/generated/portal/services/ReportsService.d.ts +21 -0
- package/dist/esm/src/generated/portal/services/ReportsService.js +42 -0
- package/dist/esm/src/generated/portal/types.d.ts +3 -0
- package/package.json +1 -1
- package/src/generated/portal/core/OpenAPI.ts +1 -1
- package/src/generated/portal/index.ts +3 -0
- package/src/generated/portal/models/CheckoutResponseShowResponseDto.ts +10 -0
- package/src/generated/portal/models/OrderEmailBuyersRequestDto.ts +1 -0
- package/src/generated/portal/models/ShowSeatDetailResponseDto.ts +11 -0
- package/src/generated/portal/models/UpdateEmailRequestDto.ts +8 -0
- package/src/generated/portal/services/OrderLookupService.ts +28 -0
- package/src/generated/portal/services/ReportsService.ts +51 -0
- package/src/generated/portal/types.ts +3 -0
package/README.md
CHANGED
|
@@ -34,6 +34,7 @@ export type { CheckoutAnswerOrderRequestDto } from './models/CheckoutAnswerOrder
|
|
|
34
34
|
export type { CheckoutAnswerOrderResponseDto } from './models/CheckoutAnswerOrderResponseDto';
|
|
35
35
|
export type { CheckoutAnswerQuestionResponseDto } from './models/CheckoutAnswerQuestionResponseDto';
|
|
36
36
|
export type { CheckoutQuestionResponseDto } from './models/CheckoutQuestionResponseDto';
|
|
37
|
+
export type { CheckoutResponseShowResponseDto } from './models/CheckoutResponseShowResponseDto';
|
|
37
38
|
export type { CheckSelectedSeatResponseDto } from './models/CheckSelectedSeatResponseDto';
|
|
38
39
|
export type { CodeDetailResponseDto } from './models/CodeDetailResponseDto';
|
|
39
40
|
export type { CodeDetailsResponseDto } from './models/CodeDetailsResponseDto';
|
|
@@ -227,6 +228,7 @@ export type { ShowPricing } from './models/ShowPricing';
|
|
|
227
228
|
export type { ShowPricingDetail } from './models/ShowPricingDetail';
|
|
228
229
|
export type { ShowReportListResponseDto } from './models/ShowReportListResponseDto';
|
|
229
230
|
export type { Shows } from './models/Shows';
|
|
231
|
+
export type { ShowSeatDetailResponseDto } from './models/ShowSeatDetailResponseDto';
|
|
230
232
|
export type { ShowSectionDetail } from './models/ShowSectionDetail';
|
|
231
233
|
export type { ShowsList } from './models/ShowsList';
|
|
232
234
|
export type { ShowSnapshotResponseDto } from './models/ShowSnapshotResponseDto';
|
|
@@ -288,6 +290,7 @@ export type { UnblockSeatsRequestDto } from './models/UnblockSeatsRequestDto';
|
|
|
288
290
|
export type { UnsoldTicketsResponseDto } from './models/UnsoldTicketsResponseDto';
|
|
289
291
|
export type { UpdateBankingRequestDto } from './models/UpdateBankingRequestDto';
|
|
290
292
|
export type { UpdateDiscountCodeRequestDto } from './models/UpdateDiscountCodeRequestDto';
|
|
293
|
+
export type { UpdateEmailRequestDto } from './models/UpdateEmailRequestDto';
|
|
291
294
|
export type { UpdateImageUploadRequestDto } from './models/UpdateImageUploadRequestDto';
|
|
292
295
|
export type { UpdateLandingPageConfigSettingRequestDto } from './models/UpdateLandingPageConfigSettingRequestDto';
|
|
293
296
|
export type { UpdateLandingPageRequestDto } from './models/UpdateLandingPageRequestDto';
|
|
@@ -15,6 +15,7 @@ import type { SingleOrderDetailResponseDto } from '../models/SingleOrderDetailRe
|
|
|
15
15
|
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
16
16
|
import type { ToggleTierRequestDto } from '../models/ToggleTierRequestDto';
|
|
17
17
|
import type { ToggleTierResponseDto } from '../models/ToggleTierResponseDto';
|
|
18
|
+
import type { UpdateEmailRequestDto } from '../models/UpdateEmailRequestDto';
|
|
18
19
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
19
20
|
export declare class OrderLookupService {
|
|
20
21
|
/**
|
|
@@ -140,4 +141,14 @@ export declare class OrderLookupService {
|
|
|
140
141
|
* @throws ApiError
|
|
141
142
|
*/
|
|
142
143
|
static resetPrimaryVideoStream(orderId: string, xStudioId: string): CancelablePromise<SuccessResponse>;
|
|
144
|
+
/**
|
|
145
|
+
* Update email id for the order
|
|
146
|
+
* To update the new email id for the order and scheduled emails
|
|
147
|
+
* @param xStudioId The ID of the studio
|
|
148
|
+
* @param orderId The ID of the order
|
|
149
|
+
* @param requestBody Email details
|
|
150
|
+
* @returns SuccessResponse Email ID updated successfully
|
|
151
|
+
* @throws ApiError
|
|
152
|
+
*/
|
|
153
|
+
static updateEmailId(xStudioId: string, orderId: string, requestBody: UpdateEmailRequestDto): CancelablePromise<SuccessResponse>;
|
|
143
154
|
}
|
|
@@ -267,5 +267,28 @@ class OrderLookupService {
|
|
|
267
267
|
},
|
|
268
268
|
});
|
|
269
269
|
}
|
|
270
|
+
/**
|
|
271
|
+
* Update email id for the order
|
|
272
|
+
* To update the new email id for the order and scheduled emails
|
|
273
|
+
* @param xStudioId The ID of the studio
|
|
274
|
+
* @param orderId The ID of the order
|
|
275
|
+
* @param requestBody Email details
|
|
276
|
+
* @returns SuccessResponse Email ID updated successfully
|
|
277
|
+
* @throws ApiError
|
|
278
|
+
*/
|
|
279
|
+
static updateEmailId(xStudioId, orderId, requestBody) {
|
|
280
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
281
|
+
method: 'PUT',
|
|
282
|
+
url: '/order-lookup/{orderId}/update-email',
|
|
283
|
+
path: {
|
|
284
|
+
'orderId': orderId,
|
|
285
|
+
},
|
|
286
|
+
headers: {
|
|
287
|
+
'x-studio-id': xStudioId,
|
|
288
|
+
},
|
|
289
|
+
body: requestBody,
|
|
290
|
+
mediaType: 'application/json',
|
|
291
|
+
});
|
|
292
|
+
}
|
|
270
293
|
}
|
|
271
294
|
exports.OrderLookupService = OrderLookupService;
|
|
@@ -2,6 +2,7 @@ import type { BuyerResponseDto } from '../models/BuyerResponseDto';
|
|
|
2
2
|
import type { CheckoutAnswerOrderRequestDto } from '../models/CheckoutAnswerOrderRequestDto';
|
|
3
3
|
import type { CheckoutAnswerOrderResponseDto } from '../models/CheckoutAnswerOrderResponseDto';
|
|
4
4
|
import type { CheckoutAnswerQuestionResponseDto } from '../models/CheckoutAnswerQuestionResponseDto';
|
|
5
|
+
import type { CheckoutResponseShowResponseDto } from '../models/CheckoutResponseShowResponseDto';
|
|
5
6
|
import type { DonationFundsResponseDto } from '../models/DonationFundsResponseDto';
|
|
6
7
|
import type { DonationReportResponseDto } from '../models/DonationReportResponseDto';
|
|
7
8
|
import type { DonationRequestDto } from '../models/DonationRequestDto';
|
|
@@ -15,6 +16,7 @@ import type { SalesByTierReponseDto } from '../models/SalesByTierReponseDto';
|
|
|
15
16
|
import type { SalesProductResponseDto } from '../models/SalesProductResponseDto';
|
|
16
17
|
import type { ScannedTicketOrderResponseDto } from '../models/ScannedTicketOrderResponseDto';
|
|
17
18
|
import type { ShowReportListResponseDto } from '../models/ShowReportListResponseDto';
|
|
19
|
+
import type { ShowSeatDetailResponseDto } from '../models/ShowSeatDetailResponseDto';
|
|
18
20
|
import type { SoldTicketsResponseDto } from '../models/SoldTicketsResponseDto';
|
|
19
21
|
import type { StudentCreditOrdersResponseDto } from '../models/StudentCreditOrdersResponseDto';
|
|
20
22
|
import type { StudentCreditResponseDto } from '../models/StudentCreditResponseDto';
|
|
@@ -75,6 +77,17 @@ export declare class ReportsService {
|
|
|
75
77
|
* @throws ApiError
|
|
76
78
|
*/
|
|
77
79
|
static getSalesByTierReport(xStudioId: string): CancelablePromise<Array<SalesByTierReponseDto>>;
|
|
80
|
+
/**
|
|
81
|
+
* Fetch the show seat sales details
|
|
82
|
+
* Fetch the show seat sales details
|
|
83
|
+
* @param xStudioId The ID of the studio
|
|
84
|
+
* @param showId The ID of the show
|
|
85
|
+
* @param price
|
|
86
|
+
* @param name
|
|
87
|
+
* @returns ShowSeatDetailResponseDto Show seat sales details fetched successfully
|
|
88
|
+
* @throws ApiError
|
|
89
|
+
*/
|
|
90
|
+
static getShowSeatSales(xStudioId: string, showId: string, price: number, name: string): CancelablePromise<Array<ShowSeatDetailResponseDto>>;
|
|
78
91
|
/**
|
|
79
92
|
* Fetch the show revenue details
|
|
80
93
|
* Fetch the Show revenue details
|
|
@@ -130,6 +143,14 @@ export declare class ReportsService {
|
|
|
130
143
|
* @throws ApiError
|
|
131
144
|
*/
|
|
132
145
|
static getDonationsReport(xStudioId: string, requestBody: DonationRequestDto): CancelablePromise<Array<DonationReportResponseDto>>;
|
|
146
|
+
/**
|
|
147
|
+
* Fetch the checkout response shows
|
|
148
|
+
* Fetch the checkout response shows
|
|
149
|
+
* @param xStudioId The ID of the studio
|
|
150
|
+
* @returns CheckoutResponseShowResponseDto Checkout response shows fetched successfully
|
|
151
|
+
* @throws ApiError
|
|
152
|
+
*/
|
|
153
|
+
static getCheckoutResponsesShow(xStudioId: string): CancelablePromise<Array<CheckoutResponseShowResponseDto>>;
|
|
133
154
|
/**
|
|
134
155
|
* Fetch the checkout response report details
|
|
135
156
|
* Fetch the checkout response report details
|
|
@@ -112,6 +112,32 @@ class ReportsService {
|
|
|
112
112
|
},
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
+
/**
|
|
116
|
+
* Fetch the show seat sales details
|
|
117
|
+
* Fetch the show seat sales details
|
|
118
|
+
* @param xStudioId The ID of the studio
|
|
119
|
+
* @param showId The ID of the show
|
|
120
|
+
* @param price
|
|
121
|
+
* @param name
|
|
122
|
+
* @returns ShowSeatDetailResponseDto Show seat sales details fetched successfully
|
|
123
|
+
* @throws ApiError
|
|
124
|
+
*/
|
|
125
|
+
static getShowSeatSales(xStudioId, showId, price, name) {
|
|
126
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
127
|
+
method: 'GET',
|
|
128
|
+
url: '/reports/sales-by-tier/{showId}/seat-sales',
|
|
129
|
+
path: {
|
|
130
|
+
'showId': showId,
|
|
131
|
+
},
|
|
132
|
+
headers: {
|
|
133
|
+
'x-studio-id': xStudioId,
|
|
134
|
+
},
|
|
135
|
+
query: {
|
|
136
|
+
'price': price,
|
|
137
|
+
'name': name,
|
|
138
|
+
},
|
|
139
|
+
});
|
|
140
|
+
}
|
|
115
141
|
/**
|
|
116
142
|
* Fetch the show revenue details
|
|
117
143
|
* Fetch the Show revenue details
|
|
@@ -230,6 +256,22 @@ class ReportsService {
|
|
|
230
256
|
mediaType: 'application/json',
|
|
231
257
|
});
|
|
232
258
|
}
|
|
259
|
+
/**
|
|
260
|
+
* Fetch the checkout response shows
|
|
261
|
+
* Fetch the checkout response shows
|
|
262
|
+
* @param xStudioId The ID of the studio
|
|
263
|
+
* @returns CheckoutResponseShowResponseDto Checkout response shows fetched successfully
|
|
264
|
+
* @throws ApiError
|
|
265
|
+
*/
|
|
266
|
+
static getCheckoutResponsesShow(xStudioId) {
|
|
267
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
268
|
+
method: 'GET',
|
|
269
|
+
url: '/reports/checkout-responses-show',
|
|
270
|
+
headers: {
|
|
271
|
+
'x-studio-id': xStudioId,
|
|
272
|
+
},
|
|
273
|
+
});
|
|
274
|
+
}
|
|
233
275
|
/**
|
|
234
276
|
* Fetch the checkout response report details
|
|
235
277
|
* Fetch the checkout response report details
|
|
@@ -30,6 +30,7 @@ export type { CheckoutAnswerOrderRequestDto } from './models/CheckoutAnswerOrder
|
|
|
30
30
|
export type { CheckoutAnswerOrderResponseDto } from './models/CheckoutAnswerOrderResponseDto';
|
|
31
31
|
export type { CheckoutAnswerQuestionResponseDto } from './models/CheckoutAnswerQuestionResponseDto';
|
|
32
32
|
export type { CheckoutQuestionResponseDto } from './models/CheckoutQuestionResponseDto';
|
|
33
|
+
export type { CheckoutResponseShowResponseDto } from './models/CheckoutResponseShowResponseDto';
|
|
33
34
|
export type { CheckSelectedSeatResponseDto } from './models/CheckSelectedSeatResponseDto';
|
|
34
35
|
export type { CodeDetailResponseDto } from './models/CodeDetailResponseDto';
|
|
35
36
|
export type { CodeDetailsResponseDto } from './models/CodeDetailsResponseDto';
|
|
@@ -223,6 +224,7 @@ export type { ShowPricing } from './models/ShowPricing';
|
|
|
223
224
|
export type { ShowPricingDetail } from './models/ShowPricingDetail';
|
|
224
225
|
export type { ShowReportListResponseDto } from './models/ShowReportListResponseDto';
|
|
225
226
|
export type { Shows } from './models/Shows';
|
|
227
|
+
export type { ShowSeatDetailResponseDto } from './models/ShowSeatDetailResponseDto';
|
|
226
228
|
export type { ShowSectionDetail } from './models/ShowSectionDetail';
|
|
227
229
|
export type { ShowsList } from './models/ShowsList';
|
|
228
230
|
export type { ShowSnapshotResponseDto } from './models/ShowSnapshotResponseDto';
|
|
@@ -284,6 +286,7 @@ export type { UnblockSeatsRequestDto } from './models/UnblockSeatsRequestDto';
|
|
|
284
286
|
export type { UnsoldTicketsResponseDto } from './models/UnsoldTicketsResponseDto';
|
|
285
287
|
export type { UpdateBankingRequestDto } from './models/UpdateBankingRequestDto';
|
|
286
288
|
export type { UpdateDiscountCodeRequestDto } from './models/UpdateDiscountCodeRequestDto';
|
|
289
|
+
export type { UpdateEmailRequestDto } from './models/UpdateEmailRequestDto';
|
|
287
290
|
export type { UpdateImageUploadRequestDto } from './models/UpdateImageUploadRequestDto';
|
|
288
291
|
export type { UpdateLandingPageConfigSettingRequestDto } from './models/UpdateLandingPageConfigSettingRequestDto';
|
|
289
292
|
export type { UpdateLandingPageRequestDto } from './models/UpdateLandingPageRequestDto';
|
|
@@ -34,6 +34,7 @@ export type { CheckoutAnswerOrderRequestDto } from './models/CheckoutAnswerOrder
|
|
|
34
34
|
export type { CheckoutAnswerOrderResponseDto } from './models/CheckoutAnswerOrderResponseDto';
|
|
35
35
|
export type { CheckoutAnswerQuestionResponseDto } from './models/CheckoutAnswerQuestionResponseDto';
|
|
36
36
|
export type { CheckoutQuestionResponseDto } from './models/CheckoutQuestionResponseDto';
|
|
37
|
+
export type { CheckoutResponseShowResponseDto } from './models/CheckoutResponseShowResponseDto';
|
|
37
38
|
export type { CheckSelectedSeatResponseDto } from './models/CheckSelectedSeatResponseDto';
|
|
38
39
|
export type { CodeDetailResponseDto } from './models/CodeDetailResponseDto';
|
|
39
40
|
export type { CodeDetailsResponseDto } from './models/CodeDetailsResponseDto';
|
|
@@ -227,6 +228,7 @@ export type { ShowPricing } from './models/ShowPricing';
|
|
|
227
228
|
export type { ShowPricingDetail } from './models/ShowPricingDetail';
|
|
228
229
|
export type { ShowReportListResponseDto } from './models/ShowReportListResponseDto';
|
|
229
230
|
export type { Shows } from './models/Shows';
|
|
231
|
+
export type { ShowSeatDetailResponseDto } from './models/ShowSeatDetailResponseDto';
|
|
230
232
|
export type { ShowSectionDetail } from './models/ShowSectionDetail';
|
|
231
233
|
export type { ShowsList } from './models/ShowsList';
|
|
232
234
|
export type { ShowSnapshotResponseDto } from './models/ShowSnapshotResponseDto';
|
|
@@ -288,6 +290,7 @@ export type { UnblockSeatsRequestDto } from './models/UnblockSeatsRequestDto';
|
|
|
288
290
|
export type { UnsoldTicketsResponseDto } from './models/UnsoldTicketsResponseDto';
|
|
289
291
|
export type { UpdateBankingRequestDto } from './models/UpdateBankingRequestDto';
|
|
290
292
|
export type { UpdateDiscountCodeRequestDto } from './models/UpdateDiscountCodeRequestDto';
|
|
293
|
+
export type { UpdateEmailRequestDto } from './models/UpdateEmailRequestDto';
|
|
291
294
|
export type { UpdateImageUploadRequestDto } from './models/UpdateImageUploadRequestDto';
|
|
292
295
|
export type { UpdateLandingPageConfigSettingRequestDto } from './models/UpdateLandingPageConfigSettingRequestDto';
|
|
293
296
|
export type { UpdateLandingPageRequestDto } from './models/UpdateLandingPageRequestDto';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -15,6 +15,7 @@ import type { SingleOrderDetailResponseDto } from '../models/SingleOrderDetailRe
|
|
|
15
15
|
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
16
16
|
import type { ToggleTierRequestDto } from '../models/ToggleTierRequestDto';
|
|
17
17
|
import type { ToggleTierResponseDto } from '../models/ToggleTierResponseDto';
|
|
18
|
+
import type { UpdateEmailRequestDto } from '../models/UpdateEmailRequestDto';
|
|
18
19
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
19
20
|
export declare class OrderLookupService {
|
|
20
21
|
/**
|
|
@@ -140,4 +141,14 @@ export declare class OrderLookupService {
|
|
|
140
141
|
* @throws ApiError
|
|
141
142
|
*/
|
|
142
143
|
static resetPrimaryVideoStream(orderId: string, xStudioId: string): CancelablePromise<SuccessResponse>;
|
|
144
|
+
/**
|
|
145
|
+
* Update email id for the order
|
|
146
|
+
* To update the new email id for the order and scheduled emails
|
|
147
|
+
* @param xStudioId The ID of the studio
|
|
148
|
+
* @param orderId The ID of the order
|
|
149
|
+
* @param requestBody Email details
|
|
150
|
+
* @returns SuccessResponse Email ID updated successfully
|
|
151
|
+
* @throws ApiError
|
|
152
|
+
*/
|
|
153
|
+
static updateEmailId(xStudioId: string, orderId: string, requestBody: UpdateEmailRequestDto): CancelablePromise<SuccessResponse>;
|
|
143
154
|
}
|
|
@@ -264,4 +264,27 @@ export class OrderLookupService {
|
|
|
264
264
|
},
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
|
+
/**
|
|
268
|
+
* Update email id for the order
|
|
269
|
+
* To update the new email id for the order and scheduled emails
|
|
270
|
+
* @param xStudioId The ID of the studio
|
|
271
|
+
* @param orderId The ID of the order
|
|
272
|
+
* @param requestBody Email details
|
|
273
|
+
* @returns SuccessResponse Email ID updated successfully
|
|
274
|
+
* @throws ApiError
|
|
275
|
+
*/
|
|
276
|
+
static updateEmailId(xStudioId, orderId, requestBody) {
|
|
277
|
+
return __request(OpenAPI, {
|
|
278
|
+
method: 'PUT',
|
|
279
|
+
url: '/order-lookup/{orderId}/update-email',
|
|
280
|
+
path: {
|
|
281
|
+
'orderId': orderId,
|
|
282
|
+
},
|
|
283
|
+
headers: {
|
|
284
|
+
'x-studio-id': xStudioId,
|
|
285
|
+
},
|
|
286
|
+
body: requestBody,
|
|
287
|
+
mediaType: 'application/json',
|
|
288
|
+
});
|
|
289
|
+
}
|
|
267
290
|
}
|
|
@@ -2,6 +2,7 @@ import type { BuyerResponseDto } from '../models/BuyerResponseDto';
|
|
|
2
2
|
import type { CheckoutAnswerOrderRequestDto } from '../models/CheckoutAnswerOrderRequestDto';
|
|
3
3
|
import type { CheckoutAnswerOrderResponseDto } from '../models/CheckoutAnswerOrderResponseDto';
|
|
4
4
|
import type { CheckoutAnswerQuestionResponseDto } from '../models/CheckoutAnswerQuestionResponseDto';
|
|
5
|
+
import type { CheckoutResponseShowResponseDto } from '../models/CheckoutResponseShowResponseDto';
|
|
5
6
|
import type { DonationFundsResponseDto } from '../models/DonationFundsResponseDto';
|
|
6
7
|
import type { DonationReportResponseDto } from '../models/DonationReportResponseDto';
|
|
7
8
|
import type { DonationRequestDto } from '../models/DonationRequestDto';
|
|
@@ -15,6 +16,7 @@ import type { SalesByTierReponseDto } from '../models/SalesByTierReponseDto';
|
|
|
15
16
|
import type { SalesProductResponseDto } from '../models/SalesProductResponseDto';
|
|
16
17
|
import type { ScannedTicketOrderResponseDto } from '../models/ScannedTicketOrderResponseDto';
|
|
17
18
|
import type { ShowReportListResponseDto } from '../models/ShowReportListResponseDto';
|
|
19
|
+
import type { ShowSeatDetailResponseDto } from '../models/ShowSeatDetailResponseDto';
|
|
18
20
|
import type { SoldTicketsResponseDto } from '../models/SoldTicketsResponseDto';
|
|
19
21
|
import type { StudentCreditOrdersResponseDto } from '../models/StudentCreditOrdersResponseDto';
|
|
20
22
|
import type { StudentCreditResponseDto } from '../models/StudentCreditResponseDto';
|
|
@@ -75,6 +77,17 @@ export declare class ReportsService {
|
|
|
75
77
|
* @throws ApiError
|
|
76
78
|
*/
|
|
77
79
|
static getSalesByTierReport(xStudioId: string): CancelablePromise<Array<SalesByTierReponseDto>>;
|
|
80
|
+
/**
|
|
81
|
+
* Fetch the show seat sales details
|
|
82
|
+
* Fetch the show seat sales details
|
|
83
|
+
* @param xStudioId The ID of the studio
|
|
84
|
+
* @param showId The ID of the show
|
|
85
|
+
* @param price
|
|
86
|
+
* @param name
|
|
87
|
+
* @returns ShowSeatDetailResponseDto Show seat sales details fetched successfully
|
|
88
|
+
* @throws ApiError
|
|
89
|
+
*/
|
|
90
|
+
static getShowSeatSales(xStudioId: string, showId: string, price: number, name: string): CancelablePromise<Array<ShowSeatDetailResponseDto>>;
|
|
78
91
|
/**
|
|
79
92
|
* Fetch the show revenue details
|
|
80
93
|
* Fetch the Show revenue details
|
|
@@ -130,6 +143,14 @@ export declare class ReportsService {
|
|
|
130
143
|
* @throws ApiError
|
|
131
144
|
*/
|
|
132
145
|
static getDonationsReport(xStudioId: string, requestBody: DonationRequestDto): CancelablePromise<Array<DonationReportResponseDto>>;
|
|
146
|
+
/**
|
|
147
|
+
* Fetch the checkout response shows
|
|
148
|
+
* Fetch the checkout response shows
|
|
149
|
+
* @param xStudioId The ID of the studio
|
|
150
|
+
* @returns CheckoutResponseShowResponseDto Checkout response shows fetched successfully
|
|
151
|
+
* @throws ApiError
|
|
152
|
+
*/
|
|
153
|
+
static getCheckoutResponsesShow(xStudioId: string): CancelablePromise<Array<CheckoutResponseShowResponseDto>>;
|
|
133
154
|
/**
|
|
134
155
|
* Fetch the checkout response report details
|
|
135
156
|
* Fetch the checkout response report details
|
|
@@ -109,6 +109,32 @@ export class ReportsService {
|
|
|
109
109
|
},
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* Fetch the show seat sales details
|
|
114
|
+
* Fetch the show seat sales details
|
|
115
|
+
* @param xStudioId The ID of the studio
|
|
116
|
+
* @param showId The ID of the show
|
|
117
|
+
* @param price
|
|
118
|
+
* @param name
|
|
119
|
+
* @returns ShowSeatDetailResponseDto Show seat sales details fetched successfully
|
|
120
|
+
* @throws ApiError
|
|
121
|
+
*/
|
|
122
|
+
static getShowSeatSales(xStudioId, showId, price, name) {
|
|
123
|
+
return __request(OpenAPI, {
|
|
124
|
+
method: 'GET',
|
|
125
|
+
url: '/reports/sales-by-tier/{showId}/seat-sales',
|
|
126
|
+
path: {
|
|
127
|
+
'showId': showId,
|
|
128
|
+
},
|
|
129
|
+
headers: {
|
|
130
|
+
'x-studio-id': xStudioId,
|
|
131
|
+
},
|
|
132
|
+
query: {
|
|
133
|
+
'price': price,
|
|
134
|
+
'name': name,
|
|
135
|
+
},
|
|
136
|
+
});
|
|
137
|
+
}
|
|
112
138
|
/**
|
|
113
139
|
* Fetch the show revenue details
|
|
114
140
|
* Fetch the Show revenue details
|
|
@@ -227,6 +253,22 @@ export class ReportsService {
|
|
|
227
253
|
mediaType: 'application/json',
|
|
228
254
|
});
|
|
229
255
|
}
|
|
256
|
+
/**
|
|
257
|
+
* Fetch the checkout response shows
|
|
258
|
+
* Fetch the checkout response shows
|
|
259
|
+
* @param xStudioId The ID of the studio
|
|
260
|
+
* @returns CheckoutResponseShowResponseDto Checkout response shows fetched successfully
|
|
261
|
+
* @throws ApiError
|
|
262
|
+
*/
|
|
263
|
+
static getCheckoutResponsesShow(xStudioId) {
|
|
264
|
+
return __request(OpenAPI, {
|
|
265
|
+
method: 'GET',
|
|
266
|
+
url: '/reports/checkout-responses-show',
|
|
267
|
+
headers: {
|
|
268
|
+
'x-studio-id': xStudioId,
|
|
269
|
+
},
|
|
270
|
+
});
|
|
271
|
+
}
|
|
230
272
|
/**
|
|
231
273
|
* Fetch the checkout response report details
|
|
232
274
|
* Fetch the checkout response report details
|
|
@@ -30,6 +30,7 @@ export type { CheckoutAnswerOrderRequestDto } from './models/CheckoutAnswerOrder
|
|
|
30
30
|
export type { CheckoutAnswerOrderResponseDto } from './models/CheckoutAnswerOrderResponseDto';
|
|
31
31
|
export type { CheckoutAnswerQuestionResponseDto } from './models/CheckoutAnswerQuestionResponseDto';
|
|
32
32
|
export type { CheckoutQuestionResponseDto } from './models/CheckoutQuestionResponseDto';
|
|
33
|
+
export type { CheckoutResponseShowResponseDto } from './models/CheckoutResponseShowResponseDto';
|
|
33
34
|
export type { CheckSelectedSeatResponseDto } from './models/CheckSelectedSeatResponseDto';
|
|
34
35
|
export type { CodeDetailResponseDto } from './models/CodeDetailResponseDto';
|
|
35
36
|
export type { CodeDetailsResponseDto } from './models/CodeDetailsResponseDto';
|
|
@@ -223,6 +224,7 @@ export type { ShowPricing } from './models/ShowPricing';
|
|
|
223
224
|
export type { ShowPricingDetail } from './models/ShowPricingDetail';
|
|
224
225
|
export type { ShowReportListResponseDto } from './models/ShowReportListResponseDto';
|
|
225
226
|
export type { Shows } from './models/Shows';
|
|
227
|
+
export type { ShowSeatDetailResponseDto } from './models/ShowSeatDetailResponseDto';
|
|
226
228
|
export type { ShowSectionDetail } from './models/ShowSectionDetail';
|
|
227
229
|
export type { ShowsList } from './models/ShowsList';
|
|
228
230
|
export type { ShowSnapshotResponseDto } from './models/ShowSnapshotResponseDto';
|
|
@@ -284,6 +286,7 @@ export type { UnblockSeatsRequestDto } from './models/UnblockSeatsRequestDto';
|
|
|
284
286
|
export type { UnsoldTicketsResponseDto } from './models/UnsoldTicketsResponseDto';
|
|
285
287
|
export type { UpdateBankingRequestDto } from './models/UpdateBankingRequestDto';
|
|
286
288
|
export type { UpdateDiscountCodeRequestDto } from './models/UpdateDiscountCodeRequestDto';
|
|
289
|
+
export type { UpdateEmailRequestDto } from './models/UpdateEmailRequestDto';
|
|
287
290
|
export type { UpdateImageUploadRequestDto } from './models/UpdateImageUploadRequestDto';
|
|
288
291
|
export type { UpdateLandingPageConfigSettingRequestDto } from './models/UpdateLandingPageConfigSettingRequestDto';
|
|
289
292
|
export type { UpdateLandingPageRequestDto } from './models/UpdateLandingPageRequestDto';
|
package/package.json
CHANGED
|
@@ -39,6 +39,7 @@ export type { CheckoutAnswerOrderRequestDto } from './models/CheckoutAnswerOrder
|
|
|
39
39
|
export type { CheckoutAnswerOrderResponseDto } from './models/CheckoutAnswerOrderResponseDto';
|
|
40
40
|
export type { CheckoutAnswerQuestionResponseDto } from './models/CheckoutAnswerQuestionResponseDto';
|
|
41
41
|
export type { CheckoutQuestionResponseDto } from './models/CheckoutQuestionResponseDto';
|
|
42
|
+
export type { CheckoutResponseShowResponseDto } from './models/CheckoutResponseShowResponseDto';
|
|
42
43
|
export type { CheckSelectedSeatResponseDto } from './models/CheckSelectedSeatResponseDto';
|
|
43
44
|
export type { CodeDetailResponseDto } from './models/CodeDetailResponseDto';
|
|
44
45
|
export type { CodeDetailsResponseDto } from './models/CodeDetailsResponseDto';
|
|
@@ -232,6 +233,7 @@ export type { ShowPricing } from './models/ShowPricing';
|
|
|
232
233
|
export type { ShowPricingDetail } from './models/ShowPricingDetail';
|
|
233
234
|
export type { ShowReportListResponseDto } from './models/ShowReportListResponseDto';
|
|
234
235
|
export type { Shows } from './models/Shows';
|
|
236
|
+
export type { ShowSeatDetailResponseDto } from './models/ShowSeatDetailResponseDto';
|
|
235
237
|
export type { ShowSectionDetail } from './models/ShowSectionDetail';
|
|
236
238
|
export type { ShowsList } from './models/ShowsList';
|
|
237
239
|
export type { ShowSnapshotResponseDto } from './models/ShowSnapshotResponseDto';
|
|
@@ -293,6 +295,7 @@ export type { UnblockSeatsRequestDto } from './models/UnblockSeatsRequestDto';
|
|
|
293
295
|
export type { UnsoldTicketsResponseDto } from './models/UnsoldTicketsResponseDto';
|
|
294
296
|
export type { UpdateBankingRequestDto } from './models/UpdateBankingRequestDto';
|
|
295
297
|
export type { UpdateDiscountCodeRequestDto } from './models/UpdateDiscountCodeRequestDto';
|
|
298
|
+
export type { UpdateEmailRequestDto } from './models/UpdateEmailRequestDto';
|
|
296
299
|
export type { UpdateImageUploadRequestDto } from './models/UpdateImageUploadRequestDto';
|
|
297
300
|
export type { UpdateLandingPageConfigSettingRequestDto } from './models/UpdateLandingPageConfigSettingRequestDto';
|
|
298
301
|
export type { UpdateLandingPageRequestDto } from './models/UpdateLandingPageRequestDto';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type ShowSeatDetailResponseDto = {
|
|
6
|
+
id: number;
|
|
7
|
+
firstName: string;
|
|
8
|
+
lastName: string;
|
|
9
|
+
numSeats: number;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -19,6 +19,7 @@ import type { SingleOrderDetailResponseDto } from '../models/SingleOrderDetailRe
|
|
|
19
19
|
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
20
20
|
import type { ToggleTierRequestDto } from '../models/ToggleTierRequestDto';
|
|
21
21
|
import type { ToggleTierResponseDto } from '../models/ToggleTierResponseDto';
|
|
22
|
+
import type { UpdateEmailRequestDto } from '../models/UpdateEmailRequestDto';
|
|
22
23
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
23
24
|
import { OpenAPI } from '../core/OpenAPI';
|
|
24
25
|
import { request as __request } from '../core/request';
|
|
@@ -325,4 +326,31 @@ export class OrderLookupService {
|
|
|
325
326
|
},
|
|
326
327
|
});
|
|
327
328
|
}
|
|
329
|
+
/**
|
|
330
|
+
* Update email id for the order
|
|
331
|
+
* To update the new email id for the order and scheduled emails
|
|
332
|
+
* @param xStudioId The ID of the studio
|
|
333
|
+
* @param orderId The ID of the order
|
|
334
|
+
* @param requestBody Email details
|
|
335
|
+
* @returns SuccessResponse Email ID updated successfully
|
|
336
|
+
* @throws ApiError
|
|
337
|
+
*/
|
|
338
|
+
public static updateEmailId(
|
|
339
|
+
xStudioId: string,
|
|
340
|
+
orderId: string,
|
|
341
|
+
requestBody: UpdateEmailRequestDto,
|
|
342
|
+
): CancelablePromise<SuccessResponse> {
|
|
343
|
+
return __request(OpenAPI, {
|
|
344
|
+
method: 'PUT',
|
|
345
|
+
url: '/order-lookup/{orderId}/update-email',
|
|
346
|
+
path: {
|
|
347
|
+
'orderId': orderId,
|
|
348
|
+
},
|
|
349
|
+
headers: {
|
|
350
|
+
'x-studio-id': xStudioId,
|
|
351
|
+
},
|
|
352
|
+
body: requestBody,
|
|
353
|
+
mediaType: 'application/json',
|
|
354
|
+
});
|
|
355
|
+
}
|
|
328
356
|
}
|
|
@@ -6,6 +6,7 @@ import type { BuyerResponseDto } from '../models/BuyerResponseDto';
|
|
|
6
6
|
import type { CheckoutAnswerOrderRequestDto } from '../models/CheckoutAnswerOrderRequestDto';
|
|
7
7
|
import type { CheckoutAnswerOrderResponseDto } from '../models/CheckoutAnswerOrderResponseDto';
|
|
8
8
|
import type { CheckoutAnswerQuestionResponseDto } from '../models/CheckoutAnswerQuestionResponseDto';
|
|
9
|
+
import type { CheckoutResponseShowResponseDto } from '../models/CheckoutResponseShowResponseDto';
|
|
9
10
|
import type { DonationFundsResponseDto } from '../models/DonationFundsResponseDto';
|
|
10
11
|
import type { DonationReportResponseDto } from '../models/DonationReportResponseDto';
|
|
11
12
|
import type { DonationRequestDto } from '../models/DonationRequestDto';
|
|
@@ -19,6 +20,7 @@ import type { SalesByTierReponseDto } from '../models/SalesByTierReponseDto';
|
|
|
19
20
|
import type { SalesProductResponseDto } from '../models/SalesProductResponseDto';
|
|
20
21
|
import type { ScannedTicketOrderResponseDto } from '../models/ScannedTicketOrderResponseDto';
|
|
21
22
|
import type { ShowReportListResponseDto } from '../models/ShowReportListResponseDto';
|
|
23
|
+
import type { ShowSeatDetailResponseDto } from '../models/ShowSeatDetailResponseDto';
|
|
22
24
|
import type { SoldTicketsResponseDto } from '../models/SoldTicketsResponseDto';
|
|
23
25
|
import type { StudentCreditOrdersResponseDto } from '../models/StudentCreditOrdersResponseDto';
|
|
24
26
|
import type { StudentCreditResponseDto } from '../models/StudentCreditResponseDto';
|
|
@@ -153,6 +155,37 @@ export class ReportsService {
|
|
|
153
155
|
},
|
|
154
156
|
});
|
|
155
157
|
}
|
|
158
|
+
/**
|
|
159
|
+
* Fetch the show seat sales details
|
|
160
|
+
* Fetch the show seat sales details
|
|
161
|
+
* @param xStudioId The ID of the studio
|
|
162
|
+
* @param showId The ID of the show
|
|
163
|
+
* @param price
|
|
164
|
+
* @param name
|
|
165
|
+
* @returns ShowSeatDetailResponseDto Show seat sales details fetched successfully
|
|
166
|
+
* @throws ApiError
|
|
167
|
+
*/
|
|
168
|
+
public static getShowSeatSales(
|
|
169
|
+
xStudioId: string,
|
|
170
|
+
showId: string,
|
|
171
|
+
price: number,
|
|
172
|
+
name: string,
|
|
173
|
+
): CancelablePromise<Array<ShowSeatDetailResponseDto>> {
|
|
174
|
+
return __request(OpenAPI, {
|
|
175
|
+
method: 'GET',
|
|
176
|
+
url: '/reports/sales-by-tier/{showId}/seat-sales',
|
|
177
|
+
path: {
|
|
178
|
+
'showId': showId,
|
|
179
|
+
},
|
|
180
|
+
headers: {
|
|
181
|
+
'x-studio-id': xStudioId,
|
|
182
|
+
},
|
|
183
|
+
query: {
|
|
184
|
+
'price': price,
|
|
185
|
+
'name': name,
|
|
186
|
+
},
|
|
187
|
+
});
|
|
188
|
+
}
|
|
156
189
|
/**
|
|
157
190
|
* Fetch the show revenue details
|
|
158
191
|
* Fetch the Show revenue details
|
|
@@ -290,6 +323,24 @@ export class ReportsService {
|
|
|
290
323
|
mediaType: 'application/json',
|
|
291
324
|
});
|
|
292
325
|
}
|
|
326
|
+
/**
|
|
327
|
+
* Fetch the checkout response shows
|
|
328
|
+
* Fetch the checkout response shows
|
|
329
|
+
* @param xStudioId The ID of the studio
|
|
330
|
+
* @returns CheckoutResponseShowResponseDto Checkout response shows fetched successfully
|
|
331
|
+
* @throws ApiError
|
|
332
|
+
*/
|
|
333
|
+
public static getCheckoutResponsesShow(
|
|
334
|
+
xStudioId: string,
|
|
335
|
+
): CancelablePromise<Array<CheckoutResponseShowResponseDto>> {
|
|
336
|
+
return __request(OpenAPI, {
|
|
337
|
+
method: 'GET',
|
|
338
|
+
url: '/reports/checkout-responses-show',
|
|
339
|
+
headers: {
|
|
340
|
+
'x-studio-id': xStudioId,
|
|
341
|
+
},
|
|
342
|
+
});
|
|
343
|
+
}
|
|
293
344
|
/**
|
|
294
345
|
* Fetch the checkout response report details
|
|
295
346
|
* Fetch the checkout response report details
|
|
@@ -33,6 +33,7 @@ export type { CheckoutAnswerOrderRequestDto } from './models/CheckoutAnswerOrder
|
|
|
33
33
|
export type { CheckoutAnswerOrderResponseDto } from './models/CheckoutAnswerOrderResponseDto';
|
|
34
34
|
export type { CheckoutAnswerQuestionResponseDto } from './models/CheckoutAnswerQuestionResponseDto';
|
|
35
35
|
export type { CheckoutQuestionResponseDto } from './models/CheckoutQuestionResponseDto';
|
|
36
|
+
export type { CheckoutResponseShowResponseDto } from './models/CheckoutResponseShowResponseDto';
|
|
36
37
|
export type { CheckSelectedSeatResponseDto } from './models/CheckSelectedSeatResponseDto';
|
|
37
38
|
export type { CodeDetailResponseDto } from './models/CodeDetailResponseDto';
|
|
38
39
|
export type { CodeDetailsResponseDto } from './models/CodeDetailsResponseDto';
|
|
@@ -226,6 +227,7 @@ export type { ShowPricing } from './models/ShowPricing';
|
|
|
226
227
|
export type { ShowPricingDetail } from './models/ShowPricingDetail';
|
|
227
228
|
export type { ShowReportListResponseDto } from './models/ShowReportListResponseDto';
|
|
228
229
|
export type { Shows } from './models/Shows';
|
|
230
|
+
export type { ShowSeatDetailResponseDto } from './models/ShowSeatDetailResponseDto';
|
|
229
231
|
export type { ShowSectionDetail } from './models/ShowSectionDetail';
|
|
230
232
|
export type { ShowsList } from './models/ShowsList';
|
|
231
233
|
export type { ShowSnapshotResponseDto } from './models/ShowSnapshotResponseDto';
|
|
@@ -287,6 +289,7 @@ export type { UnblockSeatsRequestDto } from './models/UnblockSeatsRequestDto';
|
|
|
287
289
|
export type { UnsoldTicketsResponseDto } from './models/UnsoldTicketsResponseDto';
|
|
288
290
|
export type { UpdateBankingRequestDto } from './models/UpdateBankingRequestDto';
|
|
289
291
|
export type { UpdateDiscountCodeRequestDto } from './models/UpdateDiscountCodeRequestDto';
|
|
292
|
+
export type { UpdateEmailRequestDto } from './models/UpdateEmailRequestDto';
|
|
290
293
|
export type { UpdateImageUploadRequestDto } from './models/UpdateImageUploadRequestDto';
|
|
291
294
|
export type { UpdateLandingPageConfigSettingRequestDto } from './models/UpdateLandingPageConfigSettingRequestDto';
|
|
292
295
|
export type { UpdateLandingPageRequestDto } from './models/UpdateLandingPageRequestDto';
|