@drttix/drt-sdk 1.2.0 → 1.2.2
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 +6 -0
- package/dist/cjs/src/generated/portal/models/CreateProductReminderRequestDto.d.ts +6 -0
- package/dist/cjs/src/generated/portal/models/CreateProductReminderRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/CreateShowRequestDto.d.ts +37 -0
- package/dist/cjs/src/generated/portal/models/CreateShowRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/CreateTicketTypeDto.d.ts +6 -0
- package/dist/cjs/src/generated/portal/models/CreateTicketTypeDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ExtraCartResponseDto.d.ts +6 -0
- package/dist/cjs/src/generated/portal/models/ExtraCartResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ProductReminderResponseDto.d.ts +9 -0
- package/dist/cjs/src/generated/portal/models/ProductReminderResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/UpdateProductReminderRequestDto.d.ts +7 -0
- package/dist/cjs/src/generated/portal/models/UpdateProductReminderRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/UpdateThemeDesignRequestDto.d.ts +1 -0
- package/dist/cjs/src/generated/portal/services/FeaturesProductsService.d.ts +31 -0
- package/dist/cjs/src/generated/portal/services/FeaturesProductsService.js +62 -0
- package/dist/cjs/src/generated/portal/services/ShowsService.d.ts +10 -0
- package/dist/cjs/src/generated/portal/services/ShowsService.js +19 -0
- package/dist/cjs/src/generated/portal/services/SuperUserExtraService.d.ts +9 -0
- package/dist/cjs/src/generated/portal/services/SuperUserExtraService.js +16 -0
- package/dist/cjs/src/generated/portal/types.d.ts +6 -0
- package/dist/cjs/src/generated/shopper/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/shopper/models/RecalcReturn.d.ts +12 -8
- package/dist/cjs/src/generated/shopper/models/SessionInfoDto.d.ts +2 -0
- package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/portal/index.d.ts +6 -0
- package/dist/esm/src/generated/portal/models/CreateProductReminderRequestDto.d.ts +6 -0
- package/dist/esm/src/generated/portal/models/CreateProductReminderRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/CreateShowRequestDto.d.ts +37 -0
- package/dist/esm/src/generated/portal/models/CreateShowRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/CreateTicketTypeDto.d.ts +6 -0
- package/dist/esm/src/generated/portal/models/CreateTicketTypeDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ExtraCartResponseDto.d.ts +6 -0
- package/dist/esm/src/generated/portal/models/ExtraCartResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ProductReminderResponseDto.d.ts +9 -0
- package/dist/esm/src/generated/portal/models/ProductReminderResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/UpdateProductReminderRequestDto.d.ts +7 -0
- package/dist/esm/src/generated/portal/models/UpdateProductReminderRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/UpdateThemeDesignRequestDto.d.ts +1 -0
- package/dist/esm/src/generated/portal/services/FeaturesProductsService.d.ts +31 -0
- package/dist/esm/src/generated/portal/services/FeaturesProductsService.js +62 -0
- package/dist/esm/src/generated/portal/services/ShowsService.d.ts +10 -0
- package/dist/esm/src/generated/portal/services/ShowsService.js +19 -0
- package/dist/esm/src/generated/portal/services/SuperUserExtraService.d.ts +9 -0
- package/dist/esm/src/generated/portal/services/SuperUserExtraService.js +16 -0
- package/dist/esm/src/generated/portal/types.d.ts +6 -0
- package/dist/esm/src/generated/shopper/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/shopper/models/RecalcReturn.d.ts +12 -8
- package/dist/esm/src/generated/shopper/models/SessionInfoDto.d.ts +2 -0
- package/package.json +1 -1
- package/src/generated/portal/core/OpenAPI.ts +1 -1
- package/src/generated/portal/index.ts +6 -0
- package/src/generated/portal/models/CreateProductReminderRequestDto.ts +11 -0
- package/src/generated/portal/models/CreateShowRequestDto.ts +42 -0
- package/src/generated/portal/models/CreateTicketTypeDto.ts +11 -0
- package/src/generated/portal/models/ExtraCartResponseDto.ts +11 -0
- package/src/generated/portal/models/ProductReminderResponseDto.ts +14 -0
- package/src/generated/portal/models/UpdateProductReminderRequestDto.ts +12 -0
- package/src/generated/portal/models/UpdateThemeDesignRequestDto.ts +1 -0
- package/src/generated/portal/services/FeaturesProductsService.ts +75 -0
- package/src/generated/portal/services/ShowsService.ts +23 -0
- package/src/generated/portal/services/SuperUserExtraService.ts +19 -0
- package/src/generated/portal/types.ts +6 -0
- package/src/generated/shopper/core/OpenAPI.ts +1 -1
- package/src/generated/shopper/models/RecalcReturn.ts +12 -8
- package/src/generated/shopper/models/SessionInfoDto.ts +2 -0
|
@@ -71,10 +71,13 @@ export type { CreatePatronCodeRequestDto } from './models/CreatePatronCodeReques
|
|
|
71
71
|
export type { CreatePatronTagsRequestDto } from './models/CreatePatronTagsRequestDto';
|
|
72
72
|
export type { CreatePerformersRequestDto } from './models/CreatePerformersRequestDto';
|
|
73
73
|
export type { CreatePriorityCodeRequestDto } from './models/CreatePriorityCodeRequestDto';
|
|
74
|
+
export type { CreateProductReminderRequestDto } from './models/CreateProductReminderRequestDto';
|
|
74
75
|
export type { CreateProductResponseDto } from './models/CreateProductResponseDto';
|
|
75
76
|
export type { CreateProductVariantRequestDto } from './models/CreateProductVariantRequestDto';
|
|
76
77
|
export type { CreateRefundRequestDto } from './models/CreateRefundRequestDto';
|
|
77
78
|
export type { createServiceAgreementRequestDto } from './models/createServiceAgreementRequestDto';
|
|
79
|
+
export type { CreateShowRequestDto } from './models/CreateShowRequestDto';
|
|
80
|
+
export type { CreateTicketTypeDto } from './models/CreateTicketTypeDto';
|
|
78
81
|
export type { CreateUpdateAdminUserRequestDto } from './models/CreateUpdateAdminUserRequestDto';
|
|
79
82
|
export type { CreateUpdateAlbumRequestDto } from './models/CreateUpdateAlbumRequestDto';
|
|
80
83
|
export type { CreateUpdateAlertRequestDto } from './models/CreateUpdateAlertRequestDto';
|
|
@@ -121,6 +124,7 @@ export type { ExchangeTierDetailResponseDto } from './models/ExchangeTierDetailR
|
|
|
121
124
|
export type { ExecuteReleaseSeatRequestDto } from './models/ExecuteReleaseSeatRequestDto';
|
|
122
125
|
export type { ExecuteSeatExchangeRequestDto } from './models/ExecuteSeatExchangeRequestDto';
|
|
123
126
|
export type { ExpireHiddenCodesRequestDto } from './models/ExpireHiddenCodesRequestDto';
|
|
127
|
+
export type { ExtraCartResponseDto } from './models/ExtraCartResponseDto';
|
|
124
128
|
export type { FilterShowsResponseDto } from './models/FilterShowsResponseDto';
|
|
125
129
|
export type { ForgotPasswordRequestDto } from './models/ForgotPasswordRequestDto';
|
|
126
130
|
export type { FundListResponseDto } from './models/FundListResponseDto';
|
|
@@ -214,6 +218,7 @@ export type { ProductDetailResponseDto } from './models/ProductDetailResponseDto
|
|
|
214
218
|
export type { ProductIconResponseDto } from './models/ProductIconResponseDto';
|
|
215
219
|
export type { ProductListResponseDto } from './models/ProductListResponseDto';
|
|
216
220
|
export type { ProductRecipientResponseDto } from './models/ProductRecipientResponseDto';
|
|
221
|
+
export type { ProductReminderResponseDto } from './models/ProductReminderResponseDto';
|
|
217
222
|
export type { ProductResponseDto } from './models/ProductResponseDto';
|
|
218
223
|
export type { ProductSalesRequestDto } from './models/ProductSalesRequestDto';
|
|
219
224
|
export type { ProductSalesResponseDto } from './models/ProductSalesResponseDto';
|
|
@@ -371,6 +376,7 @@ export type { UpdatePatronCodeRequestDto } from './models/UpdatePatronCodeReques
|
|
|
371
376
|
export type { UpdatePatronSettingsRequestDto } from './models/UpdatePatronSettingsRequestDto';
|
|
372
377
|
export type { UpdatePatronTagsRequestDto } from './models/UpdatePatronTagsRequestDto';
|
|
373
378
|
export type { UpdatePriorityCodeRequestDto } from './models/UpdatePriorityCodeRequestDto';
|
|
379
|
+
export type { UpdateProductReminderRequestDto } from './models/UpdateProductReminderRequestDto';
|
|
374
380
|
export type { UpdateProductVariantRequestDto } from './models/UpdateProductVariantRequestDto';
|
|
375
381
|
export type { UpdateSearchLogRequestDto } from './models/UpdateSearchLogRequestDto';
|
|
376
382
|
export type { UpdateSessionRequestDto } from './models/UpdateSessionRequestDto';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { CreateTicketTypeDto } from './CreateTicketTypeDto';
|
|
2
|
+
export type CreateShowRequestDto = {
|
|
3
|
+
title: string;
|
|
4
|
+
name: string;
|
|
5
|
+
longDescription: string;
|
|
6
|
+
imageId: number;
|
|
7
|
+
interviewId: number;
|
|
8
|
+
shortName: string;
|
|
9
|
+
designation: string;
|
|
10
|
+
dateStart: string;
|
|
11
|
+
dateEnd: string;
|
|
12
|
+
dateOpenStart: string;
|
|
13
|
+
dateOpenEnd: string;
|
|
14
|
+
hiddenPriority: number;
|
|
15
|
+
venueTimezoneOverride: string;
|
|
16
|
+
legend: string;
|
|
17
|
+
displayPricingTiers: Array<CreateTicketTypeDto>;
|
|
18
|
+
receiptMessage: string;
|
|
19
|
+
venueNameOverride: string;
|
|
20
|
+
venueAddressOverride: string;
|
|
21
|
+
venueCityOverride: string;
|
|
22
|
+
venueStateOverride: string;
|
|
23
|
+
venuePostalOverride: string;
|
|
24
|
+
theatreId: number;
|
|
25
|
+
isGeneralSeating: number;
|
|
26
|
+
maxCapacity: number;
|
|
27
|
+
lapChildMaxAge: number;
|
|
28
|
+
parkingInfo: string;
|
|
29
|
+
ticketPickupPolicy: string;
|
|
30
|
+
handicapPolicy: string;
|
|
31
|
+
seatPricing: number;
|
|
32
|
+
basePricing: number;
|
|
33
|
+
serviceCharge: number;
|
|
34
|
+
showPricingSplit: number;
|
|
35
|
+
includePriceOnTicket: number;
|
|
36
|
+
isChargebackProtected: number;
|
|
37
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CreateProductReminderRequestDto } from '../models/CreateProductReminderRequestDto';
|
|
1
2
|
import type { CreateProductResponseDto } from '../models/CreateProductResponseDto';
|
|
2
3
|
import type { CreateProductVariantRequestDto } from '../models/CreateProductVariantRequestDto';
|
|
3
4
|
import type { createServiceAgreementRequestDto } from '../models/createServiceAgreementRequestDto';
|
|
@@ -8,6 +9,7 @@ import type { IconShowGroupResponseDto } from '../models/IconShowGroupResponseDt
|
|
|
8
9
|
import type { ProductDetailResponseDto } from '../models/ProductDetailResponseDto';
|
|
9
10
|
import type { ProductListResponseDto } from '../models/ProductListResponseDto';
|
|
10
11
|
import type { ProductRecipientResponseDto } from '../models/ProductRecipientResponseDto';
|
|
12
|
+
import type { ProductReminderResponseDto } from '../models/ProductReminderResponseDto';
|
|
11
13
|
import type { ProductSalesResponseDto } from '../models/ProductSalesResponseDto';
|
|
12
14
|
import type { ProductSendMailRequestDto } from '../models/ProductSendMailRequestDto';
|
|
13
15
|
import type { ProductVariantResponseDto } from '../models/ProductVariantResponseDto';
|
|
@@ -15,6 +17,7 @@ import type { StartImageUploadRequestDto } from '../models/StartImageUploadReque
|
|
|
15
17
|
import type { StartImageUploadResponseDto } from '../models/StartImageUploadResponseDto';
|
|
16
18
|
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
17
19
|
import type { UpdateImageUploadRequestDto } from '../models/UpdateImageUploadRequestDto';
|
|
20
|
+
import type { UpdateProductReminderRequestDto } from '../models/UpdateProductReminderRequestDto';
|
|
18
21
|
import type { UpdateProductVariantRequestDto } from '../models/UpdateProductVariantRequestDto';
|
|
19
22
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
20
23
|
export declare class FeaturesProductsService {
|
|
@@ -114,6 +117,14 @@ export declare class FeaturesProductsService {
|
|
|
114
117
|
* @throws ApiError
|
|
115
118
|
*/
|
|
116
119
|
static getProductVariants(productId: string): CancelablePromise<Array<ProductVariantResponseDto>>;
|
|
120
|
+
/**
|
|
121
|
+
* Fetch the product reminders
|
|
122
|
+
* Fetch the reminders of product
|
|
123
|
+
* @param productId The ID of the product
|
|
124
|
+
* @returns ProductReminderResponseDto Product reminders fetched successfully
|
|
125
|
+
* @throws ApiError
|
|
126
|
+
*/
|
|
127
|
+
static getProductReminders(productId: string): CancelablePromise<Array<ProductReminderResponseDto>>;
|
|
117
128
|
/**
|
|
118
129
|
* Start image upload
|
|
119
130
|
* Start a new image upload for the given studio ID
|
|
@@ -153,6 +164,16 @@ export declare class FeaturesProductsService {
|
|
|
153
164
|
* @throws ApiError
|
|
154
165
|
*/
|
|
155
166
|
static createVariant(xStudioId: string, productId: string, requestBody: CreateProductVariantRequestDto): CancelablePromise<SuccessResponse>;
|
|
167
|
+
/**
|
|
168
|
+
* Create reminder for the product
|
|
169
|
+
* Create reminder for the given product ID
|
|
170
|
+
* @param xStudioId The ID of the studio
|
|
171
|
+
* @param productId The ID of the product
|
|
172
|
+
* @param requestBody Payload to create reminder for product
|
|
173
|
+
* @returns SuccessResponse Reminder created successfully
|
|
174
|
+
* @throws ApiError
|
|
175
|
+
*/
|
|
176
|
+
static createReminder(xStudioId: string, productId: string, requestBody: CreateProductReminderRequestDto): CancelablePromise<SuccessResponse>;
|
|
156
177
|
/**
|
|
157
178
|
* Update image url for the product
|
|
158
179
|
* Update image url for the given product ID
|
|
@@ -173,6 +194,16 @@ export declare class FeaturesProductsService {
|
|
|
173
194
|
* @throws ApiError
|
|
174
195
|
*/
|
|
175
196
|
static updateVariant(xStudioId: string, productId: string, requestBody: UpdateProductVariantRequestDto): CancelablePromise<SuccessResponse>;
|
|
197
|
+
/**
|
|
198
|
+
* Update reminder for the product
|
|
199
|
+
* Update reminder for the given product ID
|
|
200
|
+
* @param xStudioId The ID of the studio
|
|
201
|
+
* @param productId The ID of the product
|
|
202
|
+
* @param requestBody Payload to update reminder for product
|
|
203
|
+
* @returns SuccessResponse Reminder updated successfully
|
|
204
|
+
* @throws ApiError
|
|
205
|
+
*/
|
|
206
|
+
static updateReminder(xStudioId: string, productId: string, requestBody: UpdateProductReminderRequestDto): CancelablePromise<SuccessResponse>;
|
|
176
207
|
/**
|
|
177
208
|
* Delete the product
|
|
178
209
|
* Delete the product for the given product ID
|
|
@@ -209,6 +209,22 @@ class FeaturesProductsService {
|
|
|
209
209
|
},
|
|
210
210
|
});
|
|
211
211
|
}
|
|
212
|
+
/**
|
|
213
|
+
* Fetch the product reminders
|
|
214
|
+
* Fetch the reminders of product
|
|
215
|
+
* @param productId The ID of the product
|
|
216
|
+
* @returns ProductReminderResponseDto Product reminders fetched successfully
|
|
217
|
+
* @throws ApiError
|
|
218
|
+
*/
|
|
219
|
+
static getProductReminders(productId) {
|
|
220
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
221
|
+
method: 'GET',
|
|
222
|
+
url: '/features/products/{productId}/reminders',
|
|
223
|
+
path: {
|
|
224
|
+
'productId': productId,
|
|
225
|
+
},
|
|
226
|
+
});
|
|
227
|
+
}
|
|
212
228
|
/**
|
|
213
229
|
* Start image upload
|
|
214
230
|
* Start a new image upload for the given studio ID
|
|
@@ -297,6 +313,29 @@ class FeaturesProductsService {
|
|
|
297
313
|
mediaType: 'application/json',
|
|
298
314
|
});
|
|
299
315
|
}
|
|
316
|
+
/**
|
|
317
|
+
* Create reminder for the product
|
|
318
|
+
* Create reminder for the given product ID
|
|
319
|
+
* @param xStudioId The ID of the studio
|
|
320
|
+
* @param productId The ID of the product
|
|
321
|
+
* @param requestBody Payload to create reminder for product
|
|
322
|
+
* @returns SuccessResponse Reminder created successfully
|
|
323
|
+
* @throws ApiError
|
|
324
|
+
*/
|
|
325
|
+
static createReminder(xStudioId, productId, requestBody) {
|
|
326
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
327
|
+
method: 'POST',
|
|
328
|
+
url: '/features/products/{productId}/create-reminder',
|
|
329
|
+
path: {
|
|
330
|
+
'productId': productId,
|
|
331
|
+
},
|
|
332
|
+
headers: {
|
|
333
|
+
'x-studio-id': xStudioId,
|
|
334
|
+
},
|
|
335
|
+
body: requestBody,
|
|
336
|
+
mediaType: 'application/json',
|
|
337
|
+
});
|
|
338
|
+
}
|
|
300
339
|
/**
|
|
301
340
|
* Update image url for the product
|
|
302
341
|
* Update image url for the given product ID
|
|
@@ -343,6 +382,29 @@ class FeaturesProductsService {
|
|
|
343
382
|
mediaType: 'application/json',
|
|
344
383
|
});
|
|
345
384
|
}
|
|
385
|
+
/**
|
|
386
|
+
* Update reminder for the product
|
|
387
|
+
* Update reminder for the given product ID
|
|
388
|
+
* @param xStudioId The ID of the studio
|
|
389
|
+
* @param productId The ID of the product
|
|
390
|
+
* @param requestBody Payload to update reminder for product
|
|
391
|
+
* @returns SuccessResponse Reminder updated successfully
|
|
392
|
+
* @throws ApiError
|
|
393
|
+
*/
|
|
394
|
+
static updateReminder(xStudioId, productId, requestBody) {
|
|
395
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
396
|
+
method: 'PUT',
|
|
397
|
+
url: '/features/products/{productId}/update-reminder',
|
|
398
|
+
path: {
|
|
399
|
+
'productId': productId,
|
|
400
|
+
},
|
|
401
|
+
headers: {
|
|
402
|
+
'x-studio-id': xStudioId,
|
|
403
|
+
},
|
|
404
|
+
body: requestBody,
|
|
405
|
+
mediaType: 'application/json',
|
|
406
|
+
});
|
|
407
|
+
}
|
|
346
408
|
/**
|
|
347
409
|
* Delete the product
|
|
348
410
|
* Delete the product for the given product ID
|
|
@@ -2,6 +2,7 @@ import type { ApproveShowRequestDto } from '../models/ApproveShowRequestDto';
|
|
|
2
2
|
import type { ChartReviewRequestDto } from '../models/ChartReviewRequestDto';
|
|
3
3
|
import type { ChartReviewValidationResponseDto } from '../models/ChartReviewValidationResponseDto';
|
|
4
4
|
import type { CreatePerformersRequestDto } from '../models/CreatePerformersRequestDto';
|
|
5
|
+
import type { CreateShowRequestDto } from '../models/CreateShowRequestDto';
|
|
5
6
|
import type { CreateYoutubeVideoRequestDto } from '../models/CreateYoutubeVideoRequestDto';
|
|
6
7
|
import type { DigitalAssetLogResponseDto } from '../models/DigitalAssetLogResponseDto';
|
|
7
8
|
import type { DigitalAssetsListResponseDto } from '../models/DigitalAssetsListResponseDto';
|
|
@@ -179,6 +180,15 @@ export declare class ShowsService {
|
|
|
179
180
|
* @throws ApiError
|
|
180
181
|
*/
|
|
181
182
|
static getShowSectionDetail(showId: string, sectionId: string): CancelablePromise<ShowSectionDetail>;
|
|
183
|
+
/**
|
|
184
|
+
* Create a new show
|
|
185
|
+
* An Admin user should be able to create a General Admission Event
|
|
186
|
+
* @param xStudioId The ID of the studio
|
|
187
|
+
* @param requestBody creating an Event for
|
|
188
|
+
* @returns SuccessResponse Show created successfully
|
|
189
|
+
* @throws ApiError
|
|
190
|
+
*/
|
|
191
|
+
static createShow(xStudioId: string, requestBody: CreateShowRequestDto): CancelablePromise<Array<SuccessResponse>>;
|
|
182
192
|
/**
|
|
183
193
|
* Fetch the show performers details
|
|
184
194
|
* To fetch the performers details of the show
|
|
@@ -333,6 +333,25 @@ class ShowsService {
|
|
|
333
333
|
},
|
|
334
334
|
});
|
|
335
335
|
}
|
|
336
|
+
/**
|
|
337
|
+
* Create a new show
|
|
338
|
+
* An Admin user should be able to create a General Admission Event
|
|
339
|
+
* @param xStudioId The ID of the studio
|
|
340
|
+
* @param requestBody creating an Event for
|
|
341
|
+
* @returns SuccessResponse Show created successfully
|
|
342
|
+
* @throws ApiError
|
|
343
|
+
*/
|
|
344
|
+
static createShow(xStudioId, requestBody) {
|
|
345
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
346
|
+
method: 'POST',
|
|
347
|
+
url: '/shows/shows/new',
|
|
348
|
+
headers: {
|
|
349
|
+
'x-studio-id': xStudioId,
|
|
350
|
+
},
|
|
351
|
+
body: requestBody,
|
|
352
|
+
mediaType: 'application/json',
|
|
353
|
+
});
|
|
354
|
+
}
|
|
336
355
|
/**
|
|
337
356
|
* Fetch the show performers details
|
|
338
357
|
* To fetch the performers details of the show
|
|
@@ -1,6 +1,15 @@
|
|
|
1
|
+
import type { ExtraCartResponseDto } from '../models/ExtraCartResponseDto';
|
|
1
2
|
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
2
3
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
4
|
export declare class SuperUserExtraService {
|
|
5
|
+
/**
|
|
6
|
+
* Get cart items
|
|
7
|
+
* Get cart items for a studio
|
|
8
|
+
* @param xStudioId The ID of the studio
|
|
9
|
+
* @returns ExtraCartResponseDto Get cart items successfully
|
|
10
|
+
* @throws ApiError
|
|
11
|
+
*/
|
|
12
|
+
static getCart(xStudioId: string): CancelablePromise<Array<ExtraCartResponseDto>>;
|
|
4
13
|
/**
|
|
5
14
|
* Block tickets
|
|
6
15
|
* Block tickets for a studio
|
|
@@ -4,6 +4,22 @@ exports.SuperUserExtraService = void 0;
|
|
|
4
4
|
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
5
|
const request_1 = require("../core/request");
|
|
6
6
|
class SuperUserExtraService {
|
|
7
|
+
/**
|
|
8
|
+
* Get cart items
|
|
9
|
+
* Get cart items for a studio
|
|
10
|
+
* @param xStudioId The ID of the studio
|
|
11
|
+
* @returns ExtraCartResponseDto Get cart items successfully
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static getCart(xStudioId) {
|
|
15
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
16
|
+
method: 'GET',
|
|
17
|
+
url: '/superuser/extra/cart',
|
|
18
|
+
headers: {
|
|
19
|
+
'x-studio-id': xStudioId,
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
}
|
|
7
23
|
/**
|
|
8
24
|
* Block tickets
|
|
9
25
|
* Block tickets for a studio
|
|
@@ -66,10 +66,13 @@ export type { CreatePatronCodeRequestDto } from './models/CreatePatronCodeReques
|
|
|
66
66
|
export type { CreatePatronTagsRequestDto } from './models/CreatePatronTagsRequestDto';
|
|
67
67
|
export type { CreatePerformersRequestDto } from './models/CreatePerformersRequestDto';
|
|
68
68
|
export type { CreatePriorityCodeRequestDto } from './models/CreatePriorityCodeRequestDto';
|
|
69
|
+
export type { CreateProductReminderRequestDto } from './models/CreateProductReminderRequestDto';
|
|
69
70
|
export type { CreateProductResponseDto } from './models/CreateProductResponseDto';
|
|
70
71
|
export type { CreateProductVariantRequestDto } from './models/CreateProductVariantRequestDto';
|
|
71
72
|
export type { CreateRefundRequestDto } from './models/CreateRefundRequestDto';
|
|
72
73
|
export type { createServiceAgreementRequestDto } from './models/createServiceAgreementRequestDto';
|
|
74
|
+
export type { CreateShowRequestDto } from './models/CreateShowRequestDto';
|
|
75
|
+
export type { CreateTicketTypeDto } from './models/CreateTicketTypeDto';
|
|
73
76
|
export type { CreateUpdateAdminUserRequestDto } from './models/CreateUpdateAdminUserRequestDto';
|
|
74
77
|
export type { CreateUpdateAlbumRequestDto } from './models/CreateUpdateAlbumRequestDto';
|
|
75
78
|
export type { CreateUpdateAlertRequestDto } from './models/CreateUpdateAlertRequestDto';
|
|
@@ -116,6 +119,7 @@ export type { ExchangeTierDetailResponseDto } from './models/ExchangeTierDetailR
|
|
|
116
119
|
export type { ExecuteReleaseSeatRequestDto } from './models/ExecuteReleaseSeatRequestDto';
|
|
117
120
|
export type { ExecuteSeatExchangeRequestDto } from './models/ExecuteSeatExchangeRequestDto';
|
|
118
121
|
export type { ExpireHiddenCodesRequestDto } from './models/ExpireHiddenCodesRequestDto';
|
|
122
|
+
export type { ExtraCartResponseDto } from './models/ExtraCartResponseDto';
|
|
119
123
|
export type { FilterShowsResponseDto } from './models/FilterShowsResponseDto';
|
|
120
124
|
export type { ForgotPasswordRequestDto } from './models/ForgotPasswordRequestDto';
|
|
121
125
|
export type { FundListResponseDto } from './models/FundListResponseDto';
|
|
@@ -209,6 +213,7 @@ export type { ProductDetailResponseDto } from './models/ProductDetailResponseDto
|
|
|
209
213
|
export type { ProductIconResponseDto } from './models/ProductIconResponseDto';
|
|
210
214
|
export type { ProductListResponseDto } from './models/ProductListResponseDto';
|
|
211
215
|
export type { ProductRecipientResponseDto } from './models/ProductRecipientResponseDto';
|
|
216
|
+
export type { ProductReminderResponseDto } from './models/ProductReminderResponseDto';
|
|
212
217
|
export type { ProductResponseDto } from './models/ProductResponseDto';
|
|
213
218
|
export type { ProductSalesRequestDto } from './models/ProductSalesRequestDto';
|
|
214
219
|
export type { ProductSalesResponseDto } from './models/ProductSalesResponseDto';
|
|
@@ -366,6 +371,7 @@ export type { UpdatePatronCodeRequestDto } from './models/UpdatePatronCodeReques
|
|
|
366
371
|
export type { UpdatePatronSettingsRequestDto } from './models/UpdatePatronSettingsRequestDto';
|
|
367
372
|
export type { UpdatePatronTagsRequestDto } from './models/UpdatePatronTagsRequestDto';
|
|
368
373
|
export type { UpdatePriorityCodeRequestDto } from './models/UpdatePriorityCodeRequestDto';
|
|
374
|
+
export type { UpdateProductReminderRequestDto } from './models/UpdateProductReminderRequestDto';
|
|
369
375
|
export type { UpdateProductVariantRequestDto } from './models/UpdateProductVariantRequestDto';
|
|
370
376
|
export type { UpdateSearchLogRequestDto } from './models/UpdateSearchLogRequestDto';
|
|
371
377
|
export type { UpdateSessionRequestDto } from './models/UpdateSessionRequestDto';
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.OpenAPI = void 0;
|
|
4
4
|
exports.OpenAPI = {
|
|
5
5
|
BASE: 'https://api.drttix.com/shopper',
|
|
6
|
-
VERSION: '
|
|
6
|
+
VERSION: '20260521.1',
|
|
7
7
|
WITH_CREDENTIALS: false,
|
|
8
8
|
CREDENTIALS: 'include',
|
|
9
9
|
TOKEN: undefined,
|
|
@@ -2,19 +2,23 @@ export type RecalcReturn = {
|
|
|
2
2
|
/**
|
|
3
3
|
* The new total amount for the order.
|
|
4
4
|
*/
|
|
5
|
-
|
|
5
|
+
orderTotal: number;
|
|
6
6
|
/**
|
|
7
|
-
* The
|
|
7
|
+
* The tax total for the recalculated order.
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
taxTotal: number;
|
|
10
10
|
/**
|
|
11
|
-
* The
|
|
11
|
+
* The original tax amount for the order.
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
originalTax: number;
|
|
14
|
+
/**
|
|
15
|
+
* The total payments made for the order.
|
|
16
|
+
*/
|
|
17
|
+
paymentsTotal: number;
|
|
14
18
|
/**
|
|
15
|
-
* The
|
|
19
|
+
* The balance owed for the order.
|
|
16
20
|
*/
|
|
17
|
-
|
|
21
|
+
balanceOwed: number;
|
|
18
22
|
/**
|
|
19
23
|
* The tax adjustment amount for the order.
|
|
20
24
|
*/
|
|
@@ -22,5 +26,5 @@ export type RecalcReturn = {
|
|
|
22
26
|
/**
|
|
23
27
|
* The auto discount adjustment amount for the order.
|
|
24
28
|
*/
|
|
25
|
-
|
|
29
|
+
autodiscountAdjust: number;
|
|
26
30
|
};
|
|
@@ -71,10 +71,13 @@ export type { CreatePatronCodeRequestDto } from './models/CreatePatronCodeReques
|
|
|
71
71
|
export type { CreatePatronTagsRequestDto } from './models/CreatePatronTagsRequestDto';
|
|
72
72
|
export type { CreatePerformersRequestDto } from './models/CreatePerformersRequestDto';
|
|
73
73
|
export type { CreatePriorityCodeRequestDto } from './models/CreatePriorityCodeRequestDto';
|
|
74
|
+
export type { CreateProductReminderRequestDto } from './models/CreateProductReminderRequestDto';
|
|
74
75
|
export type { CreateProductResponseDto } from './models/CreateProductResponseDto';
|
|
75
76
|
export type { CreateProductVariantRequestDto } from './models/CreateProductVariantRequestDto';
|
|
76
77
|
export type { CreateRefundRequestDto } from './models/CreateRefundRequestDto';
|
|
77
78
|
export type { createServiceAgreementRequestDto } from './models/createServiceAgreementRequestDto';
|
|
79
|
+
export type { CreateShowRequestDto } from './models/CreateShowRequestDto';
|
|
80
|
+
export type { CreateTicketTypeDto } from './models/CreateTicketTypeDto';
|
|
78
81
|
export type { CreateUpdateAdminUserRequestDto } from './models/CreateUpdateAdminUserRequestDto';
|
|
79
82
|
export type { CreateUpdateAlbumRequestDto } from './models/CreateUpdateAlbumRequestDto';
|
|
80
83
|
export type { CreateUpdateAlertRequestDto } from './models/CreateUpdateAlertRequestDto';
|
|
@@ -121,6 +124,7 @@ export type { ExchangeTierDetailResponseDto } from './models/ExchangeTierDetailR
|
|
|
121
124
|
export type { ExecuteReleaseSeatRequestDto } from './models/ExecuteReleaseSeatRequestDto';
|
|
122
125
|
export type { ExecuteSeatExchangeRequestDto } from './models/ExecuteSeatExchangeRequestDto';
|
|
123
126
|
export type { ExpireHiddenCodesRequestDto } from './models/ExpireHiddenCodesRequestDto';
|
|
127
|
+
export type { ExtraCartResponseDto } from './models/ExtraCartResponseDto';
|
|
124
128
|
export type { FilterShowsResponseDto } from './models/FilterShowsResponseDto';
|
|
125
129
|
export type { ForgotPasswordRequestDto } from './models/ForgotPasswordRequestDto';
|
|
126
130
|
export type { FundListResponseDto } from './models/FundListResponseDto';
|
|
@@ -214,6 +218,7 @@ export type { ProductDetailResponseDto } from './models/ProductDetailResponseDto
|
|
|
214
218
|
export type { ProductIconResponseDto } from './models/ProductIconResponseDto';
|
|
215
219
|
export type { ProductListResponseDto } from './models/ProductListResponseDto';
|
|
216
220
|
export type { ProductRecipientResponseDto } from './models/ProductRecipientResponseDto';
|
|
221
|
+
export type { ProductReminderResponseDto } from './models/ProductReminderResponseDto';
|
|
217
222
|
export type { ProductResponseDto } from './models/ProductResponseDto';
|
|
218
223
|
export type { ProductSalesRequestDto } from './models/ProductSalesRequestDto';
|
|
219
224
|
export type { ProductSalesResponseDto } from './models/ProductSalesResponseDto';
|
|
@@ -371,6 +376,7 @@ export type { UpdatePatronCodeRequestDto } from './models/UpdatePatronCodeReques
|
|
|
371
376
|
export type { UpdatePatronSettingsRequestDto } from './models/UpdatePatronSettingsRequestDto';
|
|
372
377
|
export type { UpdatePatronTagsRequestDto } from './models/UpdatePatronTagsRequestDto';
|
|
373
378
|
export type { UpdatePriorityCodeRequestDto } from './models/UpdatePriorityCodeRequestDto';
|
|
379
|
+
export type { UpdateProductReminderRequestDto } from './models/UpdateProductReminderRequestDto';
|
|
374
380
|
export type { UpdateProductVariantRequestDto } from './models/UpdateProductVariantRequestDto';
|
|
375
381
|
export type { UpdateSearchLogRequestDto } from './models/UpdateSearchLogRequestDto';
|
|
376
382
|
export type { UpdateSessionRequestDto } from './models/UpdateSessionRequestDto';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { CreateTicketTypeDto } from './CreateTicketTypeDto';
|
|
2
|
+
export type CreateShowRequestDto = {
|
|
3
|
+
title: string;
|
|
4
|
+
name: string;
|
|
5
|
+
longDescription: string;
|
|
6
|
+
imageId: number;
|
|
7
|
+
interviewId: number;
|
|
8
|
+
shortName: string;
|
|
9
|
+
designation: string;
|
|
10
|
+
dateStart: string;
|
|
11
|
+
dateEnd: string;
|
|
12
|
+
dateOpenStart: string;
|
|
13
|
+
dateOpenEnd: string;
|
|
14
|
+
hiddenPriority: number;
|
|
15
|
+
venueTimezoneOverride: string;
|
|
16
|
+
legend: string;
|
|
17
|
+
displayPricingTiers: Array<CreateTicketTypeDto>;
|
|
18
|
+
receiptMessage: string;
|
|
19
|
+
venueNameOverride: string;
|
|
20
|
+
venueAddressOverride: string;
|
|
21
|
+
venueCityOverride: string;
|
|
22
|
+
venueStateOverride: string;
|
|
23
|
+
venuePostalOverride: string;
|
|
24
|
+
theatreId: number;
|
|
25
|
+
isGeneralSeating: number;
|
|
26
|
+
maxCapacity: number;
|
|
27
|
+
lapChildMaxAge: number;
|
|
28
|
+
parkingInfo: string;
|
|
29
|
+
ticketPickupPolicy: string;
|
|
30
|
+
handicapPolicy: string;
|
|
31
|
+
seatPricing: number;
|
|
32
|
+
basePricing: number;
|
|
33
|
+
serviceCharge: number;
|
|
34
|
+
showPricingSplit: number;
|
|
35
|
+
includePriceOnTicket: number;
|
|
36
|
+
isChargebackProtected: number;
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|