@drttix/drt-sdk 1.1.9 → 1.2.0
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/index.d.ts +1 -0
- package/dist/cjs/src/definitions/portal.d.ts +2 -0
- package/dist/cjs/src/definitions/portal.js +8 -6
- 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/index.js +4 -2
- package/dist/cjs/src/generated/portal/services/SuperUserExtraService.d.ts +20 -0
- package/dist/cjs/src/generated/portal/services/SuperUserExtraService.js +40 -0
- package/dist/cjs/src/staging/index.d.ts +1 -0
- package/dist/cjs/src/staging/portal.d.ts +2 -0
- package/dist/cjs/src/staging/portal.js +8 -6
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/src/definitions/portal.d.ts +2 -0
- package/dist/esm/src/definitions/portal.js +2 -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/index.js +1 -0
- package/dist/esm/src/generated/portal/services/SuperUserExtraService.d.ts +20 -0
- package/dist/esm/src/generated/portal/services/SuperUserExtraService.js +36 -0
- package/dist/esm/src/staging/index.d.ts +1 -0
- package/dist/esm/src/staging/portal.d.ts +2 -0
- package/dist/esm/src/staging/portal.js +2 -0
- package/package.json +1 -1
- package/src/definitions/portal.ts +2 -0
- package/src/generated/portal/core/OpenAPI.ts +1 -1
- package/src/generated/portal/index.ts +1 -0
- package/src/generated/portal/services/SuperUserExtraService.ts +46 -0
- package/src/staging/portal.ts +2 -0
package/dist/cjs/index.d.ts
CHANGED
|
@@ -61,6 +61,7 @@ export declare const DRT: {
|
|
|
61
61
|
superuserbuyerblacklist: typeof import("./src/generated/portal").SuperUserBuyerBlacklistService;
|
|
62
62
|
superuserdocumentlibrary: typeof import("./src/generated/portal").SuperUserDocumentLibraryService;
|
|
63
63
|
superusereditcss: typeof import("./src/generated/portal").SuperUserEditCssService;
|
|
64
|
+
superuserextra: typeof import("./src/generated/portal").SuperUserExtraService;
|
|
64
65
|
superuserimportblockedseats: typeof import("./src/generated/portal").SuperUserImportBlockedSeatsService;
|
|
65
66
|
superuserreleasedtickets: typeof import("./src/generated/portal").SuperUserReleasedTicketsService;
|
|
66
67
|
superusershoppers: typeof import("./src/generated/portal").SuperUserShoppersService;
|
|
@@ -36,6 +36,7 @@ import { SuperUserAlertsAndNotificationsService } from "../generated/portal";
|
|
|
36
36
|
import { SuperUserBuyerBlacklistService } from "../generated/portal";
|
|
37
37
|
import { SuperUserDocumentLibraryService } from "../generated/portal";
|
|
38
38
|
import { SuperUserEditCssService } from "../generated/portal";
|
|
39
|
+
import { SuperUserExtraService } from "../generated/portal";
|
|
39
40
|
import { SuperUserImportBlockedSeatsService } from "../generated/portal";
|
|
40
41
|
import { SuperUserReleasedTicketsService } from "../generated/portal";
|
|
41
42
|
import { SuperUserShoppersService } from "../generated/portal";
|
|
@@ -81,6 +82,7 @@ export declare const portal: {
|
|
|
81
82
|
superuserbuyerblacklist: typeof SuperUserBuyerBlacklistService;
|
|
82
83
|
superuserdocumentlibrary: typeof SuperUserDocumentLibraryService;
|
|
83
84
|
superusereditcss: typeof SuperUserEditCssService;
|
|
85
|
+
superuserextra: typeof SuperUserExtraService;
|
|
84
86
|
superuserimportblockedseats: typeof SuperUserImportBlockedSeatsService;
|
|
85
87
|
superuserreleasedtickets: typeof SuperUserReleasedTicketsService;
|
|
86
88
|
superusershoppers: typeof SuperUserShoppersService;
|
|
@@ -79,6 +79,7 @@ const portal_41 = require("../generated/portal");
|
|
|
79
79
|
const portal_42 = require("../generated/portal");
|
|
80
80
|
const portal_43 = require("../generated/portal");
|
|
81
81
|
const portal_44 = require("../generated/portal");
|
|
82
|
+
const portal_45 = require("../generated/portal");
|
|
82
83
|
exports.portal = {
|
|
83
84
|
account: portal_1.AccountService,
|
|
84
85
|
accounting: portal_2.AccountingService,
|
|
@@ -118,12 +119,13 @@ exports.portal = {
|
|
|
118
119
|
superuserbuyerblacklist: portal_36.SuperUserBuyerBlacklistService,
|
|
119
120
|
superuserdocumentlibrary: portal_37.SuperUserDocumentLibraryService,
|
|
120
121
|
superusereditcss: portal_38.SuperUserEditCssService,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
122
|
+
superuserextra: portal_39.SuperUserExtraService,
|
|
123
|
+
superuserimportblockedseats: portal_40.SuperUserImportBlockedSeatsService,
|
|
124
|
+
superuserreleasedtickets: portal_41.SuperUserReleasedTicketsService,
|
|
125
|
+
superusershoppers: portal_42.SuperUserShoppersService,
|
|
126
|
+
superuserstudiomanagementintegration: portal_43.SuperUserStudioManagementIntegrationService,
|
|
127
|
+
superusersupporttickets: portal_44.SuperUserSupportTicketsService,
|
|
128
|
+
superusertimedtriggers: portal_45.SuperUserTimedTriggersService,
|
|
127
129
|
};
|
|
128
130
|
// Re-export all types as a namespace
|
|
129
131
|
exports.PortalTypes = __importStar(require("../generated/portal/types"));
|
|
@@ -427,6 +427,7 @@ export { SuperUserAlertsAndNotificationsService } from './services/SuperUserAler
|
|
|
427
427
|
export { SuperUserBuyerBlacklistService } from './services/SuperUserBuyerBlacklistService';
|
|
428
428
|
export { SuperUserDocumentLibraryService } from './services/SuperUserDocumentLibraryService';
|
|
429
429
|
export { SuperUserEditCssService } from './services/SuperUserEditCssService';
|
|
430
|
+
export { SuperUserExtraService } from './services/SuperUserExtraService';
|
|
430
431
|
export { SuperUserImportBlockedSeatsService } from './services/SuperUserImportBlockedSeatsService';
|
|
431
432
|
export { SuperUserReleasedTicketsService } from './services/SuperUserReleasedTicketsService';
|
|
432
433
|
export { SuperUserShoppersService } from './services/SuperUserShoppersService';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.SuperUserTimedTriggersService = void 0;
|
|
3
|
+
exports.SuperUserStudioManagementIntegrationService = exports.SuperUserShoppersService = exports.SuperUserReleasedTicketsService = exports.SuperUserImportBlockedSeatsService = exports.SuperUserExtraService = exports.SuperUserEditCssService = exports.SuperUserDocumentLibraryService = exports.SuperUserBuyerBlacklistService = exports.SuperUserAlertsAndNotificationsService = exports.SuperUserAdvancedStudioSettingsService = exports.SuperUserAbandonedCartsService = exports.ShowsService = exports.SettingsService = exports.ReportsService = exports.OrderLookupService = exports.HelpService = exports.FeaturesProductsService = exports.FeaturesPriorityService = exports.FeaturesLandingPageService = exports.FeaturesGoldenTicketsService = exports.FeaturesGiftCardsService = exports.FeaturesDonationsService = exports.FeaturesDiscountsService = exports.FeaturesCheckoutQuestionsService = exports.FeaturesBlockedSeatsService = exports.DashboardService = exports.ClientToolsWaitlistService = exports.ClientToolsUnapprovedOrdersService = exports.ClientToolsTicketScanningService = exports.ClientToolsTicketingLinkService = exports.ClientToolsThemesLibraryService = exports.ClientToolsThemeBuilderService = exports.ClientToolsStripeOnboardingService = exports.ClientToolsSeatAssignmentToolService = exports.ClientToolsPatronDatabaseService = exports.ClientToolsParentLetterService = exports.ClientToolsInterviewUpdateService = exports.ClientToolsGeneratedEmailsService = exports.BookmarkService = exports.AuthService = exports.AppService = exports.AccountingService = exports.AccountService = exports.UpdateTaxRegistrationRequestDto = exports.UpdateStripeUsageRequestDto = exports.CheckoutAnswerOrderRequestDto = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.ApiError = void 0;
|
|
4
|
+
exports.SuperUserTimedTriggersService = exports.SuperUserSupportTicketsService = void 0;
|
|
5
5
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
6
6
|
/* istanbul ignore file */
|
|
7
7
|
/* tslint:disable */
|
|
@@ -95,6 +95,8 @@ var SuperUserDocumentLibraryService_1 = require("./services/SuperUserDocumentLib
|
|
|
95
95
|
Object.defineProperty(exports, "SuperUserDocumentLibraryService", { enumerable: true, get: function () { return SuperUserDocumentLibraryService_1.SuperUserDocumentLibraryService; } });
|
|
96
96
|
var SuperUserEditCssService_1 = require("./services/SuperUserEditCssService");
|
|
97
97
|
Object.defineProperty(exports, "SuperUserEditCssService", { enumerable: true, get: function () { return SuperUserEditCssService_1.SuperUserEditCssService; } });
|
|
98
|
+
var SuperUserExtraService_1 = require("./services/SuperUserExtraService");
|
|
99
|
+
Object.defineProperty(exports, "SuperUserExtraService", { enumerable: true, get: function () { return SuperUserExtraService_1.SuperUserExtraService; } });
|
|
98
100
|
var SuperUserImportBlockedSeatsService_1 = require("./services/SuperUserImportBlockedSeatsService");
|
|
99
101
|
Object.defineProperty(exports, "SuperUserImportBlockedSeatsService", { enumerable: true, get: function () { return SuperUserImportBlockedSeatsService_1.SuperUserImportBlockedSeatsService; } });
|
|
100
102
|
var SuperUserReleasedTicketsService_1 = require("./services/SuperUserReleasedTicketsService");
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
+
export declare class SuperUserExtraService {
|
|
4
|
+
/**
|
|
5
|
+
* Block tickets
|
|
6
|
+
* Block tickets for a studio
|
|
7
|
+
* @param xStudioId The ID of the studio
|
|
8
|
+
* @returns SuccessResponse Tickets blocked successfully
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static blockTickets(xStudioId: string): CancelablePromise<SuccessResponse>;
|
|
12
|
+
/**
|
|
13
|
+
* Mark seats as unavailable
|
|
14
|
+
* Mark seats as unavailable for a studio
|
|
15
|
+
* @param xStudioId The ID of the studio
|
|
16
|
+
* @returns SuccessResponse Seats marked as unavailable successfully
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
static markSeatsUnavailable(xStudioId: string): CancelablePromise<SuccessResponse>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SuperUserExtraService = void 0;
|
|
4
|
+
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
|
+
const request_1 = require("../core/request");
|
|
6
|
+
class SuperUserExtraService {
|
|
7
|
+
/**
|
|
8
|
+
* Block tickets
|
|
9
|
+
* Block tickets for a studio
|
|
10
|
+
* @param xStudioId The ID of the studio
|
|
11
|
+
* @returns SuccessResponse Tickets blocked successfully
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static blockTickets(xStudioId) {
|
|
15
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
16
|
+
method: 'PUT',
|
|
17
|
+
url: '/superuser/extra/block-tickets',
|
|
18
|
+
headers: {
|
|
19
|
+
'x-studio-id': xStudioId,
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Mark seats as unavailable
|
|
25
|
+
* Mark seats as unavailable for a studio
|
|
26
|
+
* @param xStudioId The ID of the studio
|
|
27
|
+
* @returns SuccessResponse Seats marked as unavailable successfully
|
|
28
|
+
* @throws ApiError
|
|
29
|
+
*/
|
|
30
|
+
static markSeatsUnavailable(xStudioId) {
|
|
31
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
32
|
+
method: 'PUT',
|
|
33
|
+
url: '/superuser/extra/unavailable-seats',
|
|
34
|
+
headers: {
|
|
35
|
+
'x-studio-id': xStudioId,
|
|
36
|
+
},
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.SuperUserExtraService = SuperUserExtraService;
|
|
@@ -76,6 +76,7 @@ export declare const DRT: {
|
|
|
76
76
|
superuserbuyerblacklist: typeof import("../generated/portal").SuperUserBuyerBlacklistService;
|
|
77
77
|
superuserdocumentlibrary: typeof import("../generated/portal").SuperUserDocumentLibraryService;
|
|
78
78
|
superusereditcss: typeof import("../generated/portal").SuperUserEditCssService;
|
|
79
|
+
superuserextra: typeof import("../generated/portal").SuperUserExtraService;
|
|
79
80
|
superuserimportblockedseats: typeof import("../generated/portal").SuperUserImportBlockedSeatsService;
|
|
80
81
|
superuserreleasedtickets: typeof import("../generated/portal").SuperUserReleasedTicketsService;
|
|
81
82
|
superusershoppers: typeof import("../generated/portal").SuperUserShoppersService;
|
|
@@ -36,6 +36,7 @@ import { SuperUserAlertsAndNotificationsService } from "../generated/portal";
|
|
|
36
36
|
import { SuperUserBuyerBlacklistService } from "../generated/portal";
|
|
37
37
|
import { SuperUserDocumentLibraryService } from "../generated/portal";
|
|
38
38
|
import { SuperUserEditCssService } from "../generated/portal";
|
|
39
|
+
import { SuperUserExtraService } from "../generated/portal";
|
|
39
40
|
import { SuperUserImportBlockedSeatsService } from "../generated/portal";
|
|
40
41
|
import { SuperUserReleasedTicketsService } from "../generated/portal";
|
|
41
42
|
import { SuperUserShoppersService } from "../generated/portal";
|
|
@@ -81,6 +82,7 @@ export declare const portalStaging: {
|
|
|
81
82
|
superuserbuyerblacklist: typeof SuperUserBuyerBlacklistService;
|
|
82
83
|
superuserdocumentlibrary: typeof SuperUserDocumentLibraryService;
|
|
83
84
|
superusereditcss: typeof SuperUserEditCssService;
|
|
85
|
+
superuserextra: typeof SuperUserExtraService;
|
|
84
86
|
superuserimportblockedseats: typeof SuperUserImportBlockedSeatsService;
|
|
85
87
|
superuserreleasedtickets: typeof SuperUserReleasedTicketsService;
|
|
86
88
|
superusershoppers: typeof SuperUserShoppersService;
|
|
@@ -82,6 +82,7 @@ const portal_41 = require("../generated/portal");
|
|
|
82
82
|
const portal_42 = require("../generated/portal");
|
|
83
83
|
const portal_43 = require("../generated/portal");
|
|
84
84
|
const portal_44 = require("../generated/portal");
|
|
85
|
+
const portal_45 = require("../generated/portal");
|
|
85
86
|
const wrap = (service) => (0, wrapService_1.wrapServiceForStaging)(service, OpenAPI_1.OpenAPI, wrapService_1.STAGING_URLS.portal);
|
|
86
87
|
exports.portalStaging = {
|
|
87
88
|
account: wrap(portal_1.AccountService),
|
|
@@ -122,12 +123,13 @@ exports.portalStaging = {
|
|
|
122
123
|
superuserbuyerblacklist: wrap(portal_36.SuperUserBuyerBlacklistService),
|
|
123
124
|
superuserdocumentlibrary: wrap(portal_37.SuperUserDocumentLibraryService),
|
|
124
125
|
superusereditcss: wrap(portal_38.SuperUserEditCssService),
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
126
|
+
superuserextra: wrap(portal_39.SuperUserExtraService),
|
|
127
|
+
superuserimportblockedseats: wrap(portal_40.SuperUserImportBlockedSeatsService),
|
|
128
|
+
superuserreleasedtickets: wrap(portal_41.SuperUserReleasedTicketsService),
|
|
129
|
+
superusershoppers: wrap(portal_42.SuperUserShoppersService),
|
|
130
|
+
superuserstudiomanagementintegration: wrap(portal_43.SuperUserStudioManagementIntegrationService),
|
|
131
|
+
superusersupporttickets: wrap(portal_44.SuperUserSupportTicketsService),
|
|
132
|
+
superusertimedtriggers: wrap(portal_45.SuperUserTimedTriggersService),
|
|
131
133
|
};
|
|
132
134
|
// Re-export types
|
|
133
135
|
exports.PortalTypes = __importStar(require("../generated/portal/types"));
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -61,6 +61,7 @@ export declare const DRT: {
|
|
|
61
61
|
superuserbuyerblacklist: typeof import("./src/generated/portal").SuperUserBuyerBlacklistService;
|
|
62
62
|
superuserdocumentlibrary: typeof import("./src/generated/portal").SuperUserDocumentLibraryService;
|
|
63
63
|
superusereditcss: typeof import("./src/generated/portal").SuperUserEditCssService;
|
|
64
|
+
superuserextra: typeof import("./src/generated/portal").SuperUserExtraService;
|
|
64
65
|
superuserimportblockedseats: typeof import("./src/generated/portal").SuperUserImportBlockedSeatsService;
|
|
65
66
|
superuserreleasedtickets: typeof import("./src/generated/portal").SuperUserReleasedTicketsService;
|
|
66
67
|
superusershoppers: typeof import("./src/generated/portal").SuperUserShoppersService;
|
|
@@ -36,6 +36,7 @@ import { SuperUserAlertsAndNotificationsService } from "../generated/portal";
|
|
|
36
36
|
import { SuperUserBuyerBlacklistService } from "../generated/portal";
|
|
37
37
|
import { SuperUserDocumentLibraryService } from "../generated/portal";
|
|
38
38
|
import { SuperUserEditCssService } from "../generated/portal";
|
|
39
|
+
import { SuperUserExtraService } from "../generated/portal";
|
|
39
40
|
import { SuperUserImportBlockedSeatsService } from "../generated/portal";
|
|
40
41
|
import { SuperUserReleasedTicketsService } from "../generated/portal";
|
|
41
42
|
import { SuperUserShoppersService } from "../generated/portal";
|
|
@@ -81,6 +82,7 @@ export declare const portal: {
|
|
|
81
82
|
superuserbuyerblacklist: typeof SuperUserBuyerBlacklistService;
|
|
82
83
|
superuserdocumentlibrary: typeof SuperUserDocumentLibraryService;
|
|
83
84
|
superusereditcss: typeof SuperUserEditCssService;
|
|
85
|
+
superuserextra: typeof SuperUserExtraService;
|
|
84
86
|
superuserimportblockedseats: typeof SuperUserImportBlockedSeatsService;
|
|
85
87
|
superuserreleasedtickets: typeof SuperUserReleasedTicketsService;
|
|
86
88
|
superusershoppers: typeof SuperUserShoppersService;
|
|
@@ -37,6 +37,7 @@ import { SuperUserAlertsAndNotificationsService } from "../generated/portal/inde
|
|
|
37
37
|
import { SuperUserBuyerBlacklistService } from "../generated/portal/index.js";
|
|
38
38
|
import { SuperUserDocumentLibraryService } from "../generated/portal/index.js";
|
|
39
39
|
import { SuperUserEditCssService } from "../generated/portal/index.js";
|
|
40
|
+
import { SuperUserExtraService } from "../generated/portal/index.js";
|
|
40
41
|
import { SuperUserImportBlockedSeatsService } from "../generated/portal/index.js";
|
|
41
42
|
import { SuperUserReleasedTicketsService } from "../generated/portal/index.js";
|
|
42
43
|
import { SuperUserShoppersService } from "../generated/portal/index.js";
|
|
@@ -82,6 +83,7 @@ export const portal = {
|
|
|
82
83
|
superuserbuyerblacklist: SuperUserBuyerBlacklistService,
|
|
83
84
|
superuserdocumentlibrary: SuperUserDocumentLibraryService,
|
|
84
85
|
superusereditcss: SuperUserEditCssService,
|
|
86
|
+
superuserextra: SuperUserExtraService,
|
|
85
87
|
superuserimportblockedseats: SuperUserImportBlockedSeatsService,
|
|
86
88
|
superuserreleasedtickets: SuperUserReleasedTicketsService,
|
|
87
89
|
superusershoppers: SuperUserShoppersService,
|
|
@@ -427,6 +427,7 @@ export { SuperUserAlertsAndNotificationsService } from './services/SuperUserAler
|
|
|
427
427
|
export { SuperUserBuyerBlacklistService } from './services/SuperUserBuyerBlacklistService';
|
|
428
428
|
export { SuperUserDocumentLibraryService } from './services/SuperUserDocumentLibraryService';
|
|
429
429
|
export { SuperUserEditCssService } from './services/SuperUserEditCssService';
|
|
430
|
+
export { SuperUserExtraService } from './services/SuperUserExtraService';
|
|
430
431
|
export { SuperUserImportBlockedSeatsService } from './services/SuperUserImportBlockedSeatsService';
|
|
431
432
|
export { SuperUserReleasedTicketsService } from './services/SuperUserReleasedTicketsService';
|
|
432
433
|
export { SuperUserShoppersService } from './services/SuperUserShoppersService';
|
|
@@ -46,6 +46,7 @@ export { SuperUserAlertsAndNotificationsService } from './services/SuperUserAler
|
|
|
46
46
|
export { SuperUserBuyerBlacklistService } from './services/SuperUserBuyerBlacklistService.js';
|
|
47
47
|
export { SuperUserDocumentLibraryService } from './services/SuperUserDocumentLibraryService.js';
|
|
48
48
|
export { SuperUserEditCssService } from './services/SuperUserEditCssService.js';
|
|
49
|
+
export { SuperUserExtraService } from './services/SuperUserExtraService.js';
|
|
49
50
|
export { SuperUserImportBlockedSeatsService } from './services/SuperUserImportBlockedSeatsService.js';
|
|
50
51
|
export { SuperUserReleasedTicketsService } from './services/SuperUserReleasedTicketsService.js';
|
|
51
52
|
export { SuperUserShoppersService } from './services/SuperUserShoppersService.js';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
+
export declare class SuperUserExtraService {
|
|
4
|
+
/**
|
|
5
|
+
* Block tickets
|
|
6
|
+
* Block tickets for a studio
|
|
7
|
+
* @param xStudioId The ID of the studio
|
|
8
|
+
* @returns SuccessResponse Tickets blocked successfully
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static blockTickets(xStudioId: string): CancelablePromise<SuccessResponse>;
|
|
12
|
+
/**
|
|
13
|
+
* Mark seats as unavailable
|
|
14
|
+
* Mark seats as unavailable for a studio
|
|
15
|
+
* @param xStudioId The ID of the studio
|
|
16
|
+
* @returns SuccessResponse Seats marked as unavailable successfully
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
static markSeatsUnavailable(xStudioId: string): CancelablePromise<SuccessResponse>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class SuperUserExtraService {
|
|
4
|
+
/**
|
|
5
|
+
* Block tickets
|
|
6
|
+
* Block tickets for a studio
|
|
7
|
+
* @param xStudioId The ID of the studio
|
|
8
|
+
* @returns SuccessResponse Tickets blocked successfully
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static blockTickets(xStudioId) {
|
|
12
|
+
return __request(OpenAPI, {
|
|
13
|
+
method: 'PUT',
|
|
14
|
+
url: '/superuser/extra/block-tickets',
|
|
15
|
+
headers: {
|
|
16
|
+
'x-studio-id': xStudioId,
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Mark seats as unavailable
|
|
22
|
+
* Mark seats as unavailable for a studio
|
|
23
|
+
* @param xStudioId The ID of the studio
|
|
24
|
+
* @returns SuccessResponse Seats marked as unavailable successfully
|
|
25
|
+
* @throws ApiError
|
|
26
|
+
*/
|
|
27
|
+
static markSeatsUnavailable(xStudioId) {
|
|
28
|
+
return __request(OpenAPI, {
|
|
29
|
+
method: 'PUT',
|
|
30
|
+
url: '/superuser/extra/unavailable-seats',
|
|
31
|
+
headers: {
|
|
32
|
+
'x-studio-id': xStudioId,
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -76,6 +76,7 @@ export declare const DRT: {
|
|
|
76
76
|
superuserbuyerblacklist: typeof import("../generated/portal").SuperUserBuyerBlacklistService;
|
|
77
77
|
superuserdocumentlibrary: typeof import("../generated/portal").SuperUserDocumentLibraryService;
|
|
78
78
|
superusereditcss: typeof import("../generated/portal").SuperUserEditCssService;
|
|
79
|
+
superuserextra: typeof import("../generated/portal").SuperUserExtraService;
|
|
79
80
|
superuserimportblockedseats: typeof import("../generated/portal").SuperUserImportBlockedSeatsService;
|
|
80
81
|
superuserreleasedtickets: typeof import("../generated/portal").SuperUserReleasedTicketsService;
|
|
81
82
|
superusershoppers: typeof import("../generated/portal").SuperUserShoppersService;
|
|
@@ -36,6 +36,7 @@ import { SuperUserAlertsAndNotificationsService } from "../generated/portal";
|
|
|
36
36
|
import { SuperUserBuyerBlacklistService } from "../generated/portal";
|
|
37
37
|
import { SuperUserDocumentLibraryService } from "../generated/portal";
|
|
38
38
|
import { SuperUserEditCssService } from "../generated/portal";
|
|
39
|
+
import { SuperUserExtraService } from "../generated/portal";
|
|
39
40
|
import { SuperUserImportBlockedSeatsService } from "../generated/portal";
|
|
40
41
|
import { SuperUserReleasedTicketsService } from "../generated/portal";
|
|
41
42
|
import { SuperUserShoppersService } from "../generated/portal";
|
|
@@ -81,6 +82,7 @@ export declare const portalStaging: {
|
|
|
81
82
|
superuserbuyerblacklist: typeof SuperUserBuyerBlacklistService;
|
|
82
83
|
superuserdocumentlibrary: typeof SuperUserDocumentLibraryService;
|
|
83
84
|
superusereditcss: typeof SuperUserEditCssService;
|
|
85
|
+
superuserextra: typeof SuperUserExtraService;
|
|
84
86
|
superuserimportblockedseats: typeof SuperUserImportBlockedSeatsService;
|
|
85
87
|
superuserreleasedtickets: typeof SuperUserReleasedTicketsService;
|
|
86
88
|
superusershoppers: typeof SuperUserShoppersService;
|
|
@@ -40,6 +40,7 @@ import { SuperUserAlertsAndNotificationsService } from "../generated/portal/inde
|
|
|
40
40
|
import { SuperUserBuyerBlacklistService } from "../generated/portal/index.js";
|
|
41
41
|
import { SuperUserDocumentLibraryService } from "../generated/portal/index.js";
|
|
42
42
|
import { SuperUserEditCssService } from "../generated/portal/index.js";
|
|
43
|
+
import { SuperUserExtraService } from "../generated/portal/index.js";
|
|
43
44
|
import { SuperUserImportBlockedSeatsService } from "../generated/portal/index.js";
|
|
44
45
|
import { SuperUserReleasedTicketsService } from "../generated/portal/index.js";
|
|
45
46
|
import { SuperUserShoppersService } from "../generated/portal/index.js";
|
|
@@ -86,6 +87,7 @@ export const portalStaging = {
|
|
|
86
87
|
superuserbuyerblacklist: wrap(SuperUserBuyerBlacklistService),
|
|
87
88
|
superuserdocumentlibrary: wrap(SuperUserDocumentLibraryService),
|
|
88
89
|
superusereditcss: wrap(SuperUserEditCssService),
|
|
90
|
+
superuserextra: wrap(SuperUserExtraService),
|
|
89
91
|
superuserimportblockedseats: wrap(SuperUserImportBlockedSeatsService),
|
|
90
92
|
superuserreleasedtickets: wrap(SuperUserReleasedTicketsService),
|
|
91
93
|
superusershoppers: wrap(SuperUserShoppersService),
|
package/package.json
CHANGED
|
@@ -38,6 +38,7 @@ import { SuperUserAlertsAndNotificationsService } from "../generated/portal";
|
|
|
38
38
|
import { SuperUserBuyerBlacklistService } from "../generated/portal";
|
|
39
39
|
import { SuperUserDocumentLibraryService } from "../generated/portal";
|
|
40
40
|
import { SuperUserEditCssService } from "../generated/portal";
|
|
41
|
+
import { SuperUserExtraService } from "../generated/portal";
|
|
41
42
|
import { SuperUserImportBlockedSeatsService } from "../generated/portal";
|
|
42
43
|
import { SuperUserReleasedTicketsService } from "../generated/portal";
|
|
43
44
|
import { SuperUserShoppersService } from "../generated/portal";
|
|
@@ -84,6 +85,7 @@ export const portal = {
|
|
|
84
85
|
superuserbuyerblacklist: SuperUserBuyerBlacklistService,
|
|
85
86
|
superuserdocumentlibrary: SuperUserDocumentLibraryService,
|
|
86
87
|
superusereditcss: SuperUserEditCssService,
|
|
88
|
+
superuserextra: SuperUserExtraService,
|
|
87
89
|
superuserimportblockedseats: SuperUserImportBlockedSeatsService,
|
|
88
90
|
superuserreleasedtickets: SuperUserReleasedTicketsService,
|
|
89
91
|
superusershoppers: SuperUserShoppersService,
|
|
@@ -433,6 +433,7 @@ export { SuperUserAlertsAndNotificationsService } from './services/SuperUserAler
|
|
|
433
433
|
export { SuperUserBuyerBlacklistService } from './services/SuperUserBuyerBlacklistService';
|
|
434
434
|
export { SuperUserDocumentLibraryService } from './services/SuperUserDocumentLibraryService';
|
|
435
435
|
export { SuperUserEditCssService } from './services/SuperUserEditCssService';
|
|
436
|
+
export { SuperUserExtraService } from './services/SuperUserExtraService';
|
|
436
437
|
export { SuperUserImportBlockedSeatsService } from './services/SuperUserImportBlockedSeatsService';
|
|
437
438
|
export { SuperUserReleasedTicketsService } from './services/SuperUserReleasedTicketsService';
|
|
438
439
|
export { SuperUserShoppersService } from './services/SuperUserShoppersService';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
6
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
7
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
8
|
+
import { request as __request } from '../core/request';
|
|
9
|
+
export class SuperUserExtraService {
|
|
10
|
+
/**
|
|
11
|
+
* Block tickets
|
|
12
|
+
* Block tickets for a studio
|
|
13
|
+
* @param xStudioId The ID of the studio
|
|
14
|
+
* @returns SuccessResponse Tickets blocked successfully
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
public static blockTickets(
|
|
18
|
+
xStudioId: string,
|
|
19
|
+
): CancelablePromise<SuccessResponse> {
|
|
20
|
+
return __request(OpenAPI, {
|
|
21
|
+
method: 'PUT',
|
|
22
|
+
url: '/superuser/extra/block-tickets',
|
|
23
|
+
headers: {
|
|
24
|
+
'x-studio-id': xStudioId,
|
|
25
|
+
},
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Mark seats as unavailable
|
|
30
|
+
* Mark seats as unavailable for a studio
|
|
31
|
+
* @param xStudioId The ID of the studio
|
|
32
|
+
* @returns SuccessResponse Seats marked as unavailable successfully
|
|
33
|
+
* @throws ApiError
|
|
34
|
+
*/
|
|
35
|
+
public static markSeatsUnavailable(
|
|
36
|
+
xStudioId: string,
|
|
37
|
+
): CancelablePromise<SuccessResponse> {
|
|
38
|
+
return __request(OpenAPI, {
|
|
39
|
+
method: 'PUT',
|
|
40
|
+
url: '/superuser/extra/unavailable-seats',
|
|
41
|
+
headers: {
|
|
42
|
+
'x-studio-id': xStudioId,
|
|
43
|
+
},
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
}
|
package/src/staging/portal.ts
CHANGED
|
@@ -42,6 +42,7 @@ import { SuperUserAlertsAndNotificationsService } from "../generated/portal";
|
|
|
42
42
|
import { SuperUserBuyerBlacklistService } from "../generated/portal";
|
|
43
43
|
import { SuperUserDocumentLibraryService } from "../generated/portal";
|
|
44
44
|
import { SuperUserEditCssService } from "../generated/portal";
|
|
45
|
+
import { SuperUserExtraService } from "../generated/portal";
|
|
45
46
|
import { SuperUserImportBlockedSeatsService } from "../generated/portal";
|
|
46
47
|
import { SuperUserReleasedTicketsService } from "../generated/portal";
|
|
47
48
|
import { SuperUserShoppersService } from "../generated/portal";
|
|
@@ -91,6 +92,7 @@ export const portalStaging = {
|
|
|
91
92
|
superuserbuyerblacklist: wrap(SuperUserBuyerBlacklistService),
|
|
92
93
|
superuserdocumentlibrary: wrap(SuperUserDocumentLibraryService),
|
|
93
94
|
superusereditcss: wrap(SuperUserEditCssService),
|
|
95
|
+
superuserextra: wrap(SuperUserExtraService),
|
|
94
96
|
superuserimportblockedseats: wrap(SuperUserImportBlockedSeatsService),
|
|
95
97
|
superuserreleasedtickets: wrap(SuperUserReleasedTicketsService),
|
|
96
98
|
superusershoppers: wrap(SuperUserShoppersService),
|