@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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
|
|
@@ -206,6 +206,22 @@ export class FeaturesProductsService {
|
|
|
206
206
|
},
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
|
+
/**
|
|
210
|
+
* Fetch the product reminders
|
|
211
|
+
* Fetch the reminders of product
|
|
212
|
+
* @param productId The ID of the product
|
|
213
|
+
* @returns ProductReminderResponseDto Product reminders fetched successfully
|
|
214
|
+
* @throws ApiError
|
|
215
|
+
*/
|
|
216
|
+
static getProductReminders(productId) {
|
|
217
|
+
return __request(OpenAPI, {
|
|
218
|
+
method: 'GET',
|
|
219
|
+
url: '/features/products/{productId}/reminders',
|
|
220
|
+
path: {
|
|
221
|
+
'productId': productId,
|
|
222
|
+
},
|
|
223
|
+
});
|
|
224
|
+
}
|
|
209
225
|
/**
|
|
210
226
|
* Start image upload
|
|
211
227
|
* Start a new image upload for the given studio ID
|
|
@@ -294,6 +310,29 @@ export class FeaturesProductsService {
|
|
|
294
310
|
mediaType: 'application/json',
|
|
295
311
|
});
|
|
296
312
|
}
|
|
313
|
+
/**
|
|
314
|
+
* Create reminder for the product
|
|
315
|
+
* Create reminder for the given product ID
|
|
316
|
+
* @param xStudioId The ID of the studio
|
|
317
|
+
* @param productId The ID of the product
|
|
318
|
+
* @param requestBody Payload to create reminder for product
|
|
319
|
+
* @returns SuccessResponse Reminder created successfully
|
|
320
|
+
* @throws ApiError
|
|
321
|
+
*/
|
|
322
|
+
static createReminder(xStudioId, productId, requestBody) {
|
|
323
|
+
return __request(OpenAPI, {
|
|
324
|
+
method: 'POST',
|
|
325
|
+
url: '/features/products/{productId}/create-reminder',
|
|
326
|
+
path: {
|
|
327
|
+
'productId': productId,
|
|
328
|
+
},
|
|
329
|
+
headers: {
|
|
330
|
+
'x-studio-id': xStudioId,
|
|
331
|
+
},
|
|
332
|
+
body: requestBody,
|
|
333
|
+
mediaType: 'application/json',
|
|
334
|
+
});
|
|
335
|
+
}
|
|
297
336
|
/**
|
|
298
337
|
* Update image url for the product
|
|
299
338
|
* Update image url for the given product ID
|
|
@@ -340,6 +379,29 @@ export class FeaturesProductsService {
|
|
|
340
379
|
mediaType: 'application/json',
|
|
341
380
|
});
|
|
342
381
|
}
|
|
382
|
+
/**
|
|
383
|
+
* Update reminder for the product
|
|
384
|
+
* Update reminder for the given product ID
|
|
385
|
+
* @param xStudioId The ID of the studio
|
|
386
|
+
* @param productId The ID of the product
|
|
387
|
+
* @param requestBody Payload to update reminder for product
|
|
388
|
+
* @returns SuccessResponse Reminder updated successfully
|
|
389
|
+
* @throws ApiError
|
|
390
|
+
*/
|
|
391
|
+
static updateReminder(xStudioId, productId, requestBody) {
|
|
392
|
+
return __request(OpenAPI, {
|
|
393
|
+
method: 'PUT',
|
|
394
|
+
url: '/features/products/{productId}/update-reminder',
|
|
395
|
+
path: {
|
|
396
|
+
'productId': productId,
|
|
397
|
+
},
|
|
398
|
+
headers: {
|
|
399
|
+
'x-studio-id': xStudioId,
|
|
400
|
+
},
|
|
401
|
+
body: requestBody,
|
|
402
|
+
mediaType: 'application/json',
|
|
403
|
+
});
|
|
404
|
+
}
|
|
343
405
|
/**
|
|
344
406
|
* Delete the product
|
|
345
407
|
* 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
|
|
@@ -330,6 +330,25 @@ export class ShowsService {
|
|
|
330
330
|
},
|
|
331
331
|
});
|
|
332
332
|
}
|
|
333
|
+
/**
|
|
334
|
+
* Create a new show
|
|
335
|
+
* An Admin user should be able to create a General Admission Event
|
|
336
|
+
* @param xStudioId The ID of the studio
|
|
337
|
+
* @param requestBody creating an Event for
|
|
338
|
+
* @returns SuccessResponse Show created successfully
|
|
339
|
+
* @throws ApiError
|
|
340
|
+
*/
|
|
341
|
+
static createShow(xStudioId, requestBody) {
|
|
342
|
+
return __request(OpenAPI, {
|
|
343
|
+
method: 'POST',
|
|
344
|
+
url: '/shows/shows/new',
|
|
345
|
+
headers: {
|
|
346
|
+
'x-studio-id': xStudioId,
|
|
347
|
+
},
|
|
348
|
+
body: requestBody,
|
|
349
|
+
mediaType: 'application/json',
|
|
350
|
+
});
|
|
351
|
+
}
|
|
333
352
|
/**
|
|
334
353
|
* Fetch the show performers details
|
|
335
354
|
* 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
|
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
2
|
import { request as __request } from '../core/request.js';
|
|
3
3
|
export class SuperUserExtraService {
|
|
4
|
+
/**
|
|
5
|
+
* Get cart items
|
|
6
|
+
* Get cart items for a studio
|
|
7
|
+
* @param xStudioId The ID of the studio
|
|
8
|
+
* @returns ExtraCartResponseDto Get cart items successfully
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static getCart(xStudioId) {
|
|
12
|
+
return __request(OpenAPI, {
|
|
13
|
+
method: 'GET',
|
|
14
|
+
url: '/superuser/extra/cart',
|
|
15
|
+
headers: {
|
|
16
|
+
'x-studio-id': xStudioId,
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
}
|
|
4
20
|
/**
|
|
5
21
|
* Block tickets
|
|
6
22
|
* 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';
|
|
@@ -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
|
};
|
package/package.json
CHANGED
|
@@ -76,10 +76,13 @@ export type { CreatePatronCodeRequestDto } from './models/CreatePatronCodeReques
|
|
|
76
76
|
export type { CreatePatronTagsRequestDto } from './models/CreatePatronTagsRequestDto';
|
|
77
77
|
export type { CreatePerformersRequestDto } from './models/CreatePerformersRequestDto';
|
|
78
78
|
export type { CreatePriorityCodeRequestDto } from './models/CreatePriorityCodeRequestDto';
|
|
79
|
+
export type { CreateProductReminderRequestDto } from './models/CreateProductReminderRequestDto';
|
|
79
80
|
export type { CreateProductResponseDto } from './models/CreateProductResponseDto';
|
|
80
81
|
export type { CreateProductVariantRequestDto } from './models/CreateProductVariantRequestDto';
|
|
81
82
|
export type { CreateRefundRequestDto } from './models/CreateRefundRequestDto';
|
|
82
83
|
export type { createServiceAgreementRequestDto } from './models/createServiceAgreementRequestDto';
|
|
84
|
+
export type { CreateShowRequestDto } from './models/CreateShowRequestDto';
|
|
85
|
+
export type { CreateTicketTypeDto } from './models/CreateTicketTypeDto';
|
|
83
86
|
export type { CreateUpdateAdminUserRequestDto } from './models/CreateUpdateAdminUserRequestDto';
|
|
84
87
|
export type { CreateUpdateAlbumRequestDto } from './models/CreateUpdateAlbumRequestDto';
|
|
85
88
|
export type { CreateUpdateAlertRequestDto } from './models/CreateUpdateAlertRequestDto';
|
|
@@ -126,6 +129,7 @@ export type { ExchangeTierDetailResponseDto } from './models/ExchangeTierDetailR
|
|
|
126
129
|
export type { ExecuteReleaseSeatRequestDto } from './models/ExecuteReleaseSeatRequestDto';
|
|
127
130
|
export type { ExecuteSeatExchangeRequestDto } from './models/ExecuteSeatExchangeRequestDto';
|
|
128
131
|
export type { ExpireHiddenCodesRequestDto } from './models/ExpireHiddenCodesRequestDto';
|
|
132
|
+
export type { ExtraCartResponseDto } from './models/ExtraCartResponseDto';
|
|
129
133
|
export type { FilterShowsResponseDto } from './models/FilterShowsResponseDto';
|
|
130
134
|
export type { ForgotPasswordRequestDto } from './models/ForgotPasswordRequestDto';
|
|
131
135
|
export type { FundListResponseDto } from './models/FundListResponseDto';
|
|
@@ -219,6 +223,7 @@ export type { ProductDetailResponseDto } from './models/ProductDetailResponseDto
|
|
|
219
223
|
export type { ProductIconResponseDto } from './models/ProductIconResponseDto';
|
|
220
224
|
export type { ProductListResponseDto } from './models/ProductListResponseDto';
|
|
221
225
|
export type { ProductRecipientResponseDto } from './models/ProductRecipientResponseDto';
|
|
226
|
+
export type { ProductReminderResponseDto } from './models/ProductReminderResponseDto';
|
|
222
227
|
export type { ProductResponseDto } from './models/ProductResponseDto';
|
|
223
228
|
export type { ProductSalesRequestDto } from './models/ProductSalesRequestDto';
|
|
224
229
|
export type { ProductSalesResponseDto } from './models/ProductSalesResponseDto';
|
|
@@ -376,6 +381,7 @@ export type { UpdatePatronCodeRequestDto } from './models/UpdatePatronCodeReques
|
|
|
376
381
|
export type { UpdatePatronSettingsRequestDto } from './models/UpdatePatronSettingsRequestDto';
|
|
377
382
|
export type { UpdatePatronTagsRequestDto } from './models/UpdatePatronTagsRequestDto';
|
|
378
383
|
export type { UpdatePriorityCodeRequestDto } from './models/UpdatePriorityCodeRequestDto';
|
|
384
|
+
export type { UpdateProductReminderRequestDto } from './models/UpdateProductReminderRequestDto';
|
|
379
385
|
export type { UpdateProductVariantRequestDto } from './models/UpdateProductVariantRequestDto';
|
|
380
386
|
export type { UpdateSearchLogRequestDto } from './models/UpdateSearchLogRequestDto';
|
|
381
387
|
export type { UpdateSessionRequestDto } from './models/UpdateSessionRequestDto';
|
|
@@ -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 CreateProductReminderRequestDto = {
|
|
6
|
+
productId: number;
|
|
7
|
+
subject: string;
|
|
8
|
+
body: string;
|
|
9
|
+
sendOnlyToNonPurchasers: number;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { CreateTicketTypeDto } from './CreateTicketTypeDto';
|
|
6
|
+
export type CreateShowRequestDto = {
|
|
7
|
+
title: string;
|
|
8
|
+
name: string;
|
|
9
|
+
longDescription: string;
|
|
10
|
+
imageId: number;
|
|
11
|
+
interviewId: number;
|
|
12
|
+
shortName: string;
|
|
13
|
+
designation: string;
|
|
14
|
+
dateStart: string;
|
|
15
|
+
dateEnd: string;
|
|
16
|
+
dateOpenStart: string;
|
|
17
|
+
dateOpenEnd: string;
|
|
18
|
+
hiddenPriority: number;
|
|
19
|
+
venueTimezoneOverride: string;
|
|
20
|
+
legend: string;
|
|
21
|
+
displayPricingTiers: Array<CreateTicketTypeDto>;
|
|
22
|
+
receiptMessage: string;
|
|
23
|
+
venueNameOverride: string;
|
|
24
|
+
venueAddressOverride: string;
|
|
25
|
+
venueCityOverride: string;
|
|
26
|
+
venueStateOverride: string;
|
|
27
|
+
venuePostalOverride: string;
|
|
28
|
+
theatreId: number;
|
|
29
|
+
isGeneralSeating: number;
|
|
30
|
+
maxCapacity: number;
|
|
31
|
+
lapChildMaxAge: number;
|
|
32
|
+
parkingInfo: string;
|
|
33
|
+
ticketPickupPolicy: string;
|
|
34
|
+
handicapPolicy: string;
|
|
35
|
+
seatPricing: number;
|
|
36
|
+
basePricing: number;
|
|
37
|
+
serviceCharge: number;
|
|
38
|
+
showPricingSplit: number;
|
|
39
|
+
includePriceOnTicket: number;
|
|
40
|
+
isChargebackProtected: number;
|
|
41
|
+
};
|
|
42
|
+
|
|
@@ -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 CreateTicketTypeDto = {
|
|
6
|
+
name: string;
|
|
7
|
+
description: string;
|
|
8
|
+
price: number;
|
|
9
|
+
quantity: number;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type ProductReminderResponseDto = {
|
|
6
|
+
body: string;
|
|
7
|
+
date_sent: string;
|
|
8
|
+
date_to_send: string;
|
|
9
|
+
id: number;
|
|
10
|
+
product_id: number;
|
|
11
|
+
send_only_to_non_purchasers: number;
|
|
12
|
+
subject: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type UpdateProductReminderRequestDto = {
|
|
6
|
+
productId: number;
|
|
7
|
+
subject: string;
|
|
8
|
+
body: string;
|
|
9
|
+
sendOnlyToNonPurchasers: number;
|
|
10
|
+
reminderId: number;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
+
import type { CreateProductReminderRequestDto } from '../models/CreateProductReminderRequestDto';
|
|
5
6
|
import type { CreateProductResponseDto } from '../models/CreateProductResponseDto';
|
|
6
7
|
import type { CreateProductVariantRequestDto } from '../models/CreateProductVariantRequestDto';
|
|
7
8
|
import type { createServiceAgreementRequestDto } from '../models/createServiceAgreementRequestDto';
|
|
@@ -12,6 +13,7 @@ import type { IconShowGroupResponseDto } from '../models/IconShowGroupResponseDt
|
|
|
12
13
|
import type { ProductDetailResponseDto } from '../models/ProductDetailResponseDto';
|
|
13
14
|
import type { ProductListResponseDto } from '../models/ProductListResponseDto';
|
|
14
15
|
import type { ProductRecipientResponseDto } from '../models/ProductRecipientResponseDto';
|
|
16
|
+
import type { ProductReminderResponseDto } from '../models/ProductReminderResponseDto';
|
|
15
17
|
import type { ProductSalesResponseDto } from '../models/ProductSalesResponseDto';
|
|
16
18
|
import type { ProductSendMailRequestDto } from '../models/ProductSendMailRequestDto';
|
|
17
19
|
import type { ProductVariantResponseDto } from '../models/ProductVariantResponseDto';
|
|
@@ -19,6 +21,7 @@ import type { StartImageUploadRequestDto } from '../models/StartImageUploadReque
|
|
|
19
21
|
import type { StartImageUploadResponseDto } from '../models/StartImageUploadResponseDto';
|
|
20
22
|
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
21
23
|
import type { UpdateImageUploadRequestDto } from '../models/UpdateImageUploadRequestDto';
|
|
24
|
+
import type { UpdateProductReminderRequestDto } from '../models/UpdateProductReminderRequestDto';
|
|
22
25
|
import type { UpdateProductVariantRequestDto } from '../models/UpdateProductVariantRequestDto';
|
|
23
26
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
24
27
|
import { OpenAPI } from '../core/OpenAPI';
|
|
@@ -259,6 +262,24 @@ export class FeaturesProductsService {
|
|
|
259
262
|
},
|
|
260
263
|
});
|
|
261
264
|
}
|
|
265
|
+
/**
|
|
266
|
+
* Fetch the product reminders
|
|
267
|
+
* Fetch the reminders of product
|
|
268
|
+
* @param productId The ID of the product
|
|
269
|
+
* @returns ProductReminderResponseDto Product reminders fetched successfully
|
|
270
|
+
* @throws ApiError
|
|
271
|
+
*/
|
|
272
|
+
public static getProductReminders(
|
|
273
|
+
productId: string,
|
|
274
|
+
): CancelablePromise<Array<ProductReminderResponseDto>> {
|
|
275
|
+
return __request(OpenAPI, {
|
|
276
|
+
method: 'GET',
|
|
277
|
+
url: '/features/products/{productId}/reminders',
|
|
278
|
+
path: {
|
|
279
|
+
'productId': productId,
|
|
280
|
+
},
|
|
281
|
+
});
|
|
282
|
+
}
|
|
262
283
|
/**
|
|
263
284
|
* Start image upload
|
|
264
285
|
* Start a new image upload for the given studio ID
|
|
@@ -362,6 +383,33 @@ export class FeaturesProductsService {
|
|
|
362
383
|
mediaType: 'application/json',
|
|
363
384
|
});
|
|
364
385
|
}
|
|
386
|
+
/**
|
|
387
|
+
* Create reminder for the product
|
|
388
|
+
* Create reminder for the given product ID
|
|
389
|
+
* @param xStudioId The ID of the studio
|
|
390
|
+
* @param productId The ID of the product
|
|
391
|
+
* @param requestBody Payload to create reminder for product
|
|
392
|
+
* @returns SuccessResponse Reminder created successfully
|
|
393
|
+
* @throws ApiError
|
|
394
|
+
*/
|
|
395
|
+
public static createReminder(
|
|
396
|
+
xStudioId: string,
|
|
397
|
+
productId: string,
|
|
398
|
+
requestBody: CreateProductReminderRequestDto,
|
|
399
|
+
): CancelablePromise<SuccessResponse> {
|
|
400
|
+
return __request(OpenAPI, {
|
|
401
|
+
method: 'POST',
|
|
402
|
+
url: '/features/products/{productId}/create-reminder',
|
|
403
|
+
path: {
|
|
404
|
+
'productId': productId,
|
|
405
|
+
},
|
|
406
|
+
headers: {
|
|
407
|
+
'x-studio-id': xStudioId,
|
|
408
|
+
},
|
|
409
|
+
body: requestBody,
|
|
410
|
+
mediaType: 'application/json',
|
|
411
|
+
});
|
|
412
|
+
}
|
|
365
413
|
/**
|
|
366
414
|
* Update image url for the product
|
|
367
415
|
* Update image url for the given product ID
|
|
@@ -416,6 +464,33 @@ export class FeaturesProductsService {
|
|
|
416
464
|
mediaType: 'application/json',
|
|
417
465
|
});
|
|
418
466
|
}
|
|
467
|
+
/**
|
|
468
|
+
* Update reminder for the product
|
|
469
|
+
* Update reminder for the given product ID
|
|
470
|
+
* @param xStudioId The ID of the studio
|
|
471
|
+
* @param productId The ID of the product
|
|
472
|
+
* @param requestBody Payload to update reminder for product
|
|
473
|
+
* @returns SuccessResponse Reminder updated successfully
|
|
474
|
+
* @throws ApiError
|
|
475
|
+
*/
|
|
476
|
+
public static updateReminder(
|
|
477
|
+
xStudioId: string,
|
|
478
|
+
productId: string,
|
|
479
|
+
requestBody: UpdateProductReminderRequestDto,
|
|
480
|
+
): CancelablePromise<SuccessResponse> {
|
|
481
|
+
return __request(OpenAPI, {
|
|
482
|
+
method: 'PUT',
|
|
483
|
+
url: '/features/products/{productId}/update-reminder',
|
|
484
|
+
path: {
|
|
485
|
+
'productId': productId,
|
|
486
|
+
},
|
|
487
|
+
headers: {
|
|
488
|
+
'x-studio-id': xStudioId,
|
|
489
|
+
},
|
|
490
|
+
body: requestBody,
|
|
491
|
+
mediaType: 'application/json',
|
|
492
|
+
});
|
|
493
|
+
}
|
|
419
494
|
/**
|
|
420
495
|
* Delete the product
|
|
421
496
|
* Delete the product for the given product ID
|