@drttix/drt-sdk 0.2.9 → 0.2.91
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 +1 -0
- package/dist/cjs/src/generated/portal/models/OrderEmailBuyersRequestDto.d.ts +2 -0
- package/dist/cjs/src/generated/portal/models/ShowDetailDto.d.ts +2 -0
- package/dist/cjs/src/generated/portal/models/StopShowRequestDto.d.ts +5 -0
- package/dist/cjs/src/generated/portal/models/StopShowRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/services/ShowsService.d.ts +11 -0
- package/dist/cjs/src/generated/portal/services/ShowsService.js +23 -0
- package/dist/cjs/src/generated/portal/types.d.ts +1 -0
- package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/portal/index.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/OrderEmailBuyersRequestDto.d.ts +2 -0
- package/dist/esm/src/generated/portal/models/ShowDetailDto.d.ts +2 -0
- package/dist/esm/src/generated/portal/models/StopShowRequestDto.d.ts +5 -0
- package/dist/esm/src/generated/portal/models/StopShowRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/services/ShowsService.d.ts +11 -0
- package/dist/esm/src/generated/portal/services/ShowsService.js +23 -0
- package/dist/esm/src/generated/portal/types.d.ts +1 -0
- package/package.json +4 -1
- package/src/generated/portal/core/OpenAPI.ts +1 -1
- package/src/generated/portal/index.ts +1 -0
- package/src/generated/portal/models/OrderEmailBuyersRequestDto.ts +2 -0
- package/src/generated/portal/models/ShowDetailDto.ts +2 -0
- package/src/generated/portal/models/StopShowRequestDto.ts +10 -0
- package/src/generated/portal/services/ShowsService.ts +28 -0
- package/src/generated/portal/types.ts +1 -0
|
@@ -244,6 +244,7 @@ export type { SinglePerformerRequestDto } from './models/SinglePerformerRequestD
|
|
|
244
244
|
export type { SoldTicketsResponseDto } from './models/SoldTicketsResponseDto';
|
|
245
245
|
export type { StartImageUploadRequestDto } from './models/StartImageUploadRequestDto';
|
|
246
246
|
export type { StartImageUploadResponseDto } from './models/StartImageUploadResponseDto';
|
|
247
|
+
export type { StopShowRequestDto } from './models/StopShowRequestDto';
|
|
247
248
|
export type { StringValidation } from './models/StringValidation';
|
|
248
249
|
export type { StripeResponseDto } from './models/StripeResponseDto';
|
|
249
250
|
export type { StripeSettingsResponseDto } from './models/StripeSettingsResponseDto';
|
|
@@ -54,6 +54,8 @@ export type ShowDetailDto = {
|
|
|
54
54
|
numResSections: number;
|
|
55
55
|
chargebackProtectionEnabled: number;
|
|
56
56
|
receiptMessage: string;
|
|
57
|
+
repName: string;
|
|
58
|
+
repEmail: string;
|
|
57
59
|
dateMaxOrderSeatsEnd: string;
|
|
58
60
|
autoDiscounts: Array<AutoDiscounts>;
|
|
59
61
|
refundSetting: Array<RefundSetting>;
|
|
@@ -22,6 +22,7 @@ import type { ShowSectionDetail } from '../models/ShowSectionDetail';
|
|
|
22
22
|
import type { ShowStatDetail } from '../models/ShowStatDetail';
|
|
23
23
|
import type { ShowTicketSectionListResponseDto } from '../models/ShowTicketSectionListResponseDto';
|
|
24
24
|
import type { SinglePerformerRequestDto } from '../models/SinglePerformerRequestDto';
|
|
25
|
+
import type { StopShowRequestDto } from '../models/StopShowRequestDto';
|
|
25
26
|
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
26
27
|
import type { VideoStreamResponseDto } from '../models/VideoStreamResponseDto';
|
|
27
28
|
import type { VirtualStreamResponseDto } from '../models/VirtualStreamResponseDto';
|
|
@@ -251,6 +252,16 @@ export declare class ShowsService {
|
|
|
251
252
|
* @throws ApiError
|
|
252
253
|
*/
|
|
253
254
|
static updatePerformers(xStudioId: string, requestBody: SinglePerformerRequestDto): CancelablePromise<SuccessResponse>;
|
|
255
|
+
/**
|
|
256
|
+
* Stop sale for a show
|
|
257
|
+
* To stop the sale of tickets for a specific show
|
|
258
|
+
* @param xStudioId The ID of the studio
|
|
259
|
+
* @param showId The ID of the show
|
|
260
|
+
* @param requestBody Stop sale for a show
|
|
261
|
+
* @returns SuccessResponse Show sale stopped successfully
|
|
262
|
+
* @throws ApiError
|
|
263
|
+
*/
|
|
264
|
+
static stopSale(xStudioId: string, showId: string, requestBody: StopShowRequestDto): CancelablePromise<SuccessResponse>;
|
|
254
265
|
/**
|
|
255
266
|
* Remove show performer
|
|
256
267
|
* To remove the performer of the show
|
|
@@ -489,6 +489,29 @@ class ShowsService {
|
|
|
489
489
|
mediaType: 'application/json',
|
|
490
490
|
});
|
|
491
491
|
}
|
|
492
|
+
/**
|
|
493
|
+
* Stop sale for a show
|
|
494
|
+
* To stop the sale of tickets for a specific show
|
|
495
|
+
* @param xStudioId The ID of the studio
|
|
496
|
+
* @param showId The ID of the show
|
|
497
|
+
* @param requestBody Stop sale for a show
|
|
498
|
+
* @returns SuccessResponse Show sale stopped successfully
|
|
499
|
+
* @throws ApiError
|
|
500
|
+
*/
|
|
501
|
+
static stopSale(xStudioId, showId, requestBody) {
|
|
502
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
503
|
+
method: 'PUT',
|
|
504
|
+
url: '/shows/{showId}/stop-sale',
|
|
505
|
+
path: {
|
|
506
|
+
'showId': showId,
|
|
507
|
+
},
|
|
508
|
+
headers: {
|
|
509
|
+
'x-studio-id': xStudioId,
|
|
510
|
+
},
|
|
511
|
+
body: requestBody,
|
|
512
|
+
mediaType: 'application/json',
|
|
513
|
+
});
|
|
514
|
+
}
|
|
492
515
|
/**
|
|
493
516
|
* Remove show performer
|
|
494
517
|
* To remove the performer of the show
|
|
@@ -240,6 +240,7 @@ export type { SinglePerformerRequestDto } from './models/SinglePerformerRequestD
|
|
|
240
240
|
export type { SoldTicketsResponseDto } from './models/SoldTicketsResponseDto';
|
|
241
241
|
export type { StartImageUploadRequestDto } from './models/StartImageUploadRequestDto';
|
|
242
242
|
export type { StartImageUploadResponseDto } from './models/StartImageUploadResponseDto';
|
|
243
|
+
export type { StopShowRequestDto } from './models/StopShowRequestDto';
|
|
243
244
|
export type { StringValidation } from './models/StringValidation';
|
|
244
245
|
export type { StripeResponseDto } from './models/StripeResponseDto';
|
|
245
246
|
export type { StripeSettingsResponseDto } from './models/StripeSettingsResponseDto';
|
|
@@ -244,6 +244,7 @@ export type { SinglePerformerRequestDto } from './models/SinglePerformerRequestD
|
|
|
244
244
|
export type { SoldTicketsResponseDto } from './models/SoldTicketsResponseDto';
|
|
245
245
|
export type { StartImageUploadRequestDto } from './models/StartImageUploadRequestDto';
|
|
246
246
|
export type { StartImageUploadResponseDto } from './models/StartImageUploadResponseDto';
|
|
247
|
+
export type { StopShowRequestDto } from './models/StopShowRequestDto';
|
|
247
248
|
export type { StringValidation } from './models/StringValidation';
|
|
248
249
|
export type { StripeResponseDto } from './models/StripeResponseDto';
|
|
249
250
|
export type { StripeSettingsResponseDto } from './models/StripeSettingsResponseDto';
|
|
@@ -54,6 +54,8 @@ export type ShowDetailDto = {
|
|
|
54
54
|
numResSections: number;
|
|
55
55
|
chargebackProtectionEnabled: number;
|
|
56
56
|
receiptMessage: string;
|
|
57
|
+
repName: string;
|
|
58
|
+
repEmail: string;
|
|
57
59
|
dateMaxOrderSeatsEnd: string;
|
|
58
60
|
autoDiscounts: Array<AutoDiscounts>;
|
|
59
61
|
refundSetting: Array<RefundSetting>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -22,6 +22,7 @@ import type { ShowSectionDetail } from '../models/ShowSectionDetail';
|
|
|
22
22
|
import type { ShowStatDetail } from '../models/ShowStatDetail';
|
|
23
23
|
import type { ShowTicketSectionListResponseDto } from '../models/ShowTicketSectionListResponseDto';
|
|
24
24
|
import type { SinglePerformerRequestDto } from '../models/SinglePerformerRequestDto';
|
|
25
|
+
import type { StopShowRequestDto } from '../models/StopShowRequestDto';
|
|
25
26
|
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
26
27
|
import type { VideoStreamResponseDto } from '../models/VideoStreamResponseDto';
|
|
27
28
|
import type { VirtualStreamResponseDto } from '../models/VirtualStreamResponseDto';
|
|
@@ -251,6 +252,16 @@ export declare class ShowsService {
|
|
|
251
252
|
* @throws ApiError
|
|
252
253
|
*/
|
|
253
254
|
static updatePerformers(xStudioId: string, requestBody: SinglePerformerRequestDto): CancelablePromise<SuccessResponse>;
|
|
255
|
+
/**
|
|
256
|
+
* Stop sale for a show
|
|
257
|
+
* To stop the sale of tickets for a specific show
|
|
258
|
+
* @param xStudioId The ID of the studio
|
|
259
|
+
* @param showId The ID of the show
|
|
260
|
+
* @param requestBody Stop sale for a show
|
|
261
|
+
* @returns SuccessResponse Show sale stopped successfully
|
|
262
|
+
* @throws ApiError
|
|
263
|
+
*/
|
|
264
|
+
static stopSale(xStudioId: string, showId: string, requestBody: StopShowRequestDto): CancelablePromise<SuccessResponse>;
|
|
254
265
|
/**
|
|
255
266
|
* Remove show performer
|
|
256
267
|
* To remove the performer of the show
|
|
@@ -486,6 +486,29 @@ export class ShowsService {
|
|
|
486
486
|
mediaType: 'application/json',
|
|
487
487
|
});
|
|
488
488
|
}
|
|
489
|
+
/**
|
|
490
|
+
* Stop sale for a show
|
|
491
|
+
* To stop the sale of tickets for a specific show
|
|
492
|
+
* @param xStudioId The ID of the studio
|
|
493
|
+
* @param showId The ID of the show
|
|
494
|
+
* @param requestBody Stop sale for a show
|
|
495
|
+
* @returns SuccessResponse Show sale stopped successfully
|
|
496
|
+
* @throws ApiError
|
|
497
|
+
*/
|
|
498
|
+
static stopSale(xStudioId, showId, requestBody) {
|
|
499
|
+
return __request(OpenAPI, {
|
|
500
|
+
method: 'PUT',
|
|
501
|
+
url: '/shows/{showId}/stop-sale',
|
|
502
|
+
path: {
|
|
503
|
+
'showId': showId,
|
|
504
|
+
},
|
|
505
|
+
headers: {
|
|
506
|
+
'x-studio-id': xStudioId,
|
|
507
|
+
},
|
|
508
|
+
body: requestBody,
|
|
509
|
+
mediaType: 'application/json',
|
|
510
|
+
});
|
|
511
|
+
}
|
|
489
512
|
/**
|
|
490
513
|
* Remove show performer
|
|
491
514
|
* To remove the performer of the show
|
|
@@ -240,6 +240,7 @@ export type { SinglePerformerRequestDto } from './models/SinglePerformerRequestD
|
|
|
240
240
|
export type { SoldTicketsResponseDto } from './models/SoldTicketsResponseDto';
|
|
241
241
|
export type { StartImageUploadRequestDto } from './models/StartImageUploadRequestDto';
|
|
242
242
|
export type { StartImageUploadResponseDto } from './models/StartImageUploadResponseDto';
|
|
243
|
+
export type { StopShowRequestDto } from './models/StopShowRequestDto';
|
|
243
244
|
export type { StringValidation } from './models/StringValidation';
|
|
244
245
|
export type { StripeResponseDto } from './models/StripeResponseDto';
|
|
245
246
|
export type { StripeSettingsResponseDto } from './models/StripeSettingsResponseDto';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drttix/drt-sdk",
|
|
3
3
|
"description": "DRT SDK",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.91",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/esm/index.d.ts",
|
|
@@ -23,5 +23,8 @@
|
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/node": "^24.0.4",
|
|
25
25
|
"typescript": "^5.8.3"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@drttix/drt-sdk": "^0.2.9"
|
|
26
29
|
}
|
|
27
30
|
}
|
|
@@ -249,6 +249,7 @@ export type { SinglePerformerRequestDto } from './models/SinglePerformerRequestD
|
|
|
249
249
|
export type { SoldTicketsResponseDto } from './models/SoldTicketsResponseDto';
|
|
250
250
|
export type { StartImageUploadRequestDto } from './models/StartImageUploadRequestDto';
|
|
251
251
|
export type { StartImageUploadResponseDto } from './models/StartImageUploadResponseDto';
|
|
252
|
+
export type { StopShowRequestDto } from './models/StopShowRequestDto';
|
|
252
253
|
export type { StringValidation } from './models/StringValidation';
|
|
253
254
|
export type { StripeResponseDto } from './models/StripeResponseDto';
|
|
254
255
|
export type { StripeSettingsResponseDto } from './models/StripeSettingsResponseDto';
|
|
@@ -58,6 +58,8 @@ export type ShowDetailDto = {
|
|
|
58
58
|
numResSections: number;
|
|
59
59
|
chargebackProtectionEnabled: number;
|
|
60
60
|
receiptMessage: string;
|
|
61
|
+
repName: string;
|
|
62
|
+
repEmail: string;
|
|
61
63
|
dateMaxOrderSeatsEnd: string;
|
|
62
64
|
autoDiscounts: Array<AutoDiscounts>;
|
|
63
65
|
refundSetting: Array<RefundSetting>;
|
|
@@ -26,6 +26,7 @@ import type { ShowSectionDetail } from '../models/ShowSectionDetail';
|
|
|
26
26
|
import type { ShowStatDetail } from '../models/ShowStatDetail';
|
|
27
27
|
import type { ShowTicketSectionListResponseDto } from '../models/ShowTicketSectionListResponseDto';
|
|
28
28
|
import type { SinglePerformerRequestDto } from '../models/SinglePerformerRequestDto';
|
|
29
|
+
import type { StopShowRequestDto } from '../models/StopShowRequestDto';
|
|
29
30
|
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
30
31
|
import type { VideoStreamResponseDto } from '../models/VideoStreamResponseDto';
|
|
31
32
|
import type { VirtualStreamResponseDto } from '../models/VirtualStreamResponseDto';
|
|
@@ -592,6 +593,33 @@ export class ShowsService {
|
|
|
592
593
|
mediaType: 'application/json',
|
|
593
594
|
});
|
|
594
595
|
}
|
|
596
|
+
/**
|
|
597
|
+
* Stop sale for a show
|
|
598
|
+
* To stop the sale of tickets for a specific show
|
|
599
|
+
* @param xStudioId The ID of the studio
|
|
600
|
+
* @param showId The ID of the show
|
|
601
|
+
* @param requestBody Stop sale for a show
|
|
602
|
+
* @returns SuccessResponse Show sale stopped successfully
|
|
603
|
+
* @throws ApiError
|
|
604
|
+
*/
|
|
605
|
+
public static stopSale(
|
|
606
|
+
xStudioId: string,
|
|
607
|
+
showId: string,
|
|
608
|
+
requestBody: StopShowRequestDto,
|
|
609
|
+
): CancelablePromise<SuccessResponse> {
|
|
610
|
+
return __request(OpenAPI, {
|
|
611
|
+
method: 'PUT',
|
|
612
|
+
url: '/shows/{showId}/stop-sale',
|
|
613
|
+
path: {
|
|
614
|
+
'showId': showId,
|
|
615
|
+
},
|
|
616
|
+
headers: {
|
|
617
|
+
'x-studio-id': xStudioId,
|
|
618
|
+
},
|
|
619
|
+
body: requestBody,
|
|
620
|
+
mediaType: 'application/json',
|
|
621
|
+
});
|
|
622
|
+
}
|
|
595
623
|
/**
|
|
596
624
|
* Remove show performer
|
|
597
625
|
* To remove the performer of the show
|
|
@@ -243,6 +243,7 @@ export type { SinglePerformerRequestDto } from './models/SinglePerformerRequestD
|
|
|
243
243
|
export type { SoldTicketsResponseDto } from './models/SoldTicketsResponseDto';
|
|
244
244
|
export type { StartImageUploadRequestDto } from './models/StartImageUploadRequestDto';
|
|
245
245
|
export type { StartImageUploadResponseDto } from './models/StartImageUploadResponseDto';
|
|
246
|
+
export type { StopShowRequestDto } from './models/StopShowRequestDto';
|
|
246
247
|
export type { StringValidation } from './models/StringValidation';
|
|
247
248
|
export type { StripeResponseDto } from './models/StripeResponseDto';
|
|
248
249
|
export type { StripeSettingsResponseDto } from './models/StripeSettingsResponseDto';
|