@drttix/drt-sdk 1.4.10 → 1.5.1
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 +49 -47
- package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/portal/index.d.ts +3 -0
- package/dist/cjs/src/generated/portal/index.js +6 -2
- package/dist/cjs/src/generated/portal/models/AcceptAgreementRequestDto.d.ts +23 -0
- package/dist/cjs/src/generated/portal/models/AcceptAgreementRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/AgreementStatusResponseDto.d.ts +61 -0
- package/dist/cjs/src/generated/portal/models/AgreementStatusResponseDto.js +38 -0
- package/dist/cjs/src/generated/portal/models/CreateShowTimeDto.d.ts +8 -0
- package/dist/cjs/src/generated/portal/models/SettingsDetailsResponseDto.d.ts +5 -0
- package/dist/cjs/src/generated/portal/models/ThemeDesignResponseDto.d.ts +12 -0
- package/dist/cjs/src/generated/portal/models/TicketingShowResponseDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/TieredPrice.d.ts +4 -0
- package/dist/cjs/src/generated/portal/services/AgreementsService.d.ts +32 -0
- package/dist/cjs/src/generated/portal/services/AgreementsService.js +67 -0
- package/dist/cjs/src/generated/portal/services/FeaturesDonationsService.d.ts +4 -2
- package/dist/cjs/src/generated/portal/services/FeaturesDonationsService.js +4 -2
- package/dist/cjs/src/generated/portal/services/FeaturesProductsService.d.ts +13 -2
- package/dist/cjs/src/generated/portal/services/FeaturesProductsService.js +24 -2
- package/dist/cjs/src/generated/portal/services/SuperUserManageImageFilesService.d.ts +8 -0
- package/dist/cjs/src/generated/portal/services/SuperUserManageImageFilesService.js +16 -0
- package/dist/cjs/src/generated/portal/types.d.ts +1 -0
- package/dist/cjs/src/generated/scanner/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/shopper/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/shopper/index.d.ts +6 -0
- package/dist/cjs/src/generated/shopper/models/Account.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/models/CartCounts.d.ts +10 -0
- package/dist/cjs/src/generated/shopper/models/CartCountsLite.d.ts +11 -3
- package/dist/cjs/src/generated/shopper/models/CartStateEnvelope.d.ts +26 -0
- package/dist/cjs/src/generated/shopper/models/CartStateEnvelope.js +2 -0
- package/dist/cjs/src/generated/shopper/models/CartTierOption.d.ts +28 -0
- package/dist/cjs/src/generated/shopper/models/CartTierOption.js +2 -0
- package/dist/cjs/src/generated/shopper/models/CartTierSeat.d.ts +21 -0
- package/dist/cjs/src/generated/shopper/models/CartTierSeat.js +2 -0
- package/dist/cjs/src/generated/shopper/models/CartTiersResponse.d.ts +7 -0
- package/dist/cjs/src/generated/shopper/models/CartTiersResponse.js +2 -0
- package/dist/cjs/src/generated/shopper/models/DonationFund.d.ts +0 -2
- package/dist/cjs/src/generated/shopper/models/EventListItem.d.ts +79 -0
- package/dist/cjs/src/generated/shopper/models/EventListItem.js +2 -0
- package/dist/cjs/src/generated/shopper/models/GAResponse.d.ts +5 -0
- package/dist/cjs/src/generated/shopper/models/GetEventsResponse.d.ts +2 -2
- package/dist/cjs/src/generated/shopper/models/Product.d.ts +8 -0
- package/dist/cjs/src/generated/shopper/models/SeatHoldObject.d.ts +10 -0
- package/dist/cjs/src/generated/shopper/models/SeatHoldObject.js +2 -0
- package/dist/cjs/src/generated/shopper/models/SeatHoldReturn.d.ts +5 -0
- package/dist/cjs/src/generated/shopper/models/ShowExtras.d.ts +8 -0
- package/dist/cjs/src/generated/shopper/models/SiteTheme.d.ts +4 -0
- package/dist/cjs/src/generated/shopper/services/CartService.d.ts +12 -0
- package/dist/cjs/src/generated/shopper/services/CartService.js +19 -0
- package/dist/cjs/src/generated/shopper/services/SeatService.d.ts +3 -2
- package/dist/cjs/src/generated/shopper/services/SeatService.js +1 -1
- package/dist/cjs/src/generated/shopper/types.d.ts +6 -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 +49 -47
- 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 +3 -0
- package/dist/esm/src/generated/portal/index.js +2 -0
- package/dist/esm/src/generated/portal/models/AcceptAgreementRequestDto.d.ts +23 -0
- package/dist/esm/src/generated/portal/models/AcceptAgreementRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/AgreementStatusResponseDto.d.ts +61 -0
- package/dist/esm/src/generated/portal/models/AgreementStatusResponseDto.js +35 -0
- package/dist/esm/src/generated/portal/models/CreateShowTimeDto.d.ts +8 -0
- package/dist/esm/src/generated/portal/models/SettingsDetailsResponseDto.d.ts +5 -0
- package/dist/esm/src/generated/portal/models/ThemeDesignResponseDto.d.ts +12 -0
- package/dist/esm/src/generated/portal/models/TicketingShowResponseDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/TieredPrice.d.ts +4 -0
- package/dist/esm/src/generated/portal/services/AgreementsService.d.ts +32 -0
- package/dist/esm/src/generated/portal/services/AgreementsService.js +63 -0
- package/dist/esm/src/generated/portal/services/FeaturesDonationsService.d.ts +4 -2
- package/dist/esm/src/generated/portal/services/FeaturesDonationsService.js +4 -2
- package/dist/esm/src/generated/portal/services/FeaturesProductsService.d.ts +13 -2
- package/dist/esm/src/generated/portal/services/FeaturesProductsService.js +24 -2
- package/dist/esm/src/generated/portal/services/SuperUserManageImageFilesService.d.ts +8 -0
- package/dist/esm/src/generated/portal/services/SuperUserManageImageFilesService.js +16 -0
- package/dist/esm/src/generated/portal/types.d.ts +1 -0
- package/dist/esm/src/generated/scanner/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/shopper/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/shopper/index.d.ts +6 -0
- package/dist/esm/src/generated/shopper/models/Account.d.ts +4 -0
- package/dist/esm/src/generated/shopper/models/CartCounts.d.ts +10 -0
- package/dist/esm/src/generated/shopper/models/CartCountsLite.d.ts +11 -3
- package/dist/esm/src/generated/shopper/models/CartStateEnvelope.d.ts +26 -0
- package/dist/esm/src/generated/shopper/models/CartStateEnvelope.js +1 -0
- package/dist/esm/src/generated/shopper/models/CartTierOption.d.ts +28 -0
- package/dist/esm/src/generated/shopper/models/CartTierOption.js +1 -0
- package/dist/esm/src/generated/shopper/models/CartTierSeat.d.ts +21 -0
- package/dist/esm/src/generated/shopper/models/CartTierSeat.js +1 -0
- package/dist/esm/src/generated/shopper/models/CartTiersResponse.d.ts +7 -0
- package/dist/esm/src/generated/shopper/models/CartTiersResponse.js +1 -0
- package/dist/esm/src/generated/shopper/models/DonationFund.d.ts +0 -2
- package/dist/esm/src/generated/shopper/models/EventListItem.d.ts +79 -0
- package/dist/esm/src/generated/shopper/models/EventListItem.js +1 -0
- package/dist/esm/src/generated/shopper/models/GAResponse.d.ts +5 -0
- package/dist/esm/src/generated/shopper/models/GetEventsResponse.d.ts +2 -2
- package/dist/esm/src/generated/shopper/models/Product.d.ts +8 -0
- package/dist/esm/src/generated/shopper/models/SeatHoldObject.d.ts +10 -0
- package/dist/esm/src/generated/shopper/models/SeatHoldObject.js +1 -0
- package/dist/esm/src/generated/shopper/models/SeatHoldReturn.d.ts +5 -0
- package/dist/esm/src/generated/shopper/models/ShowExtras.d.ts +8 -0
- package/dist/esm/src/generated/shopper/models/SiteTheme.d.ts +4 -0
- package/dist/esm/src/generated/shopper/services/CartService.d.ts +12 -0
- package/dist/esm/src/generated/shopper/services/CartService.js +19 -0
- package/dist/esm/src/generated/shopper/services/SeatService.d.ts +3 -2
- package/dist/esm/src/generated/shopper/services/SeatService.js +1 -1
- package/dist/esm/src/generated/shopper/types.d.ts +6 -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 +3 -0
- package/src/generated/portal/models/AcceptAgreementRequestDto.ts +28 -0
- package/src/generated/portal/models/AgreementStatusResponseDto.ts +66 -0
- package/src/generated/portal/models/CreateShowTimeDto.ts +8 -0
- package/src/generated/portal/models/SettingsDetailsResponseDto.ts +5 -0
- package/src/generated/portal/models/ThemeDesignResponseDto.ts +12 -0
- package/src/generated/portal/models/TicketingShowResponseDto.ts +4 -0
- package/src/generated/portal/models/TieredPrice.ts +4 -0
- package/src/generated/portal/services/AgreementsService.ts +79 -0
- package/src/generated/portal/services/FeaturesDonationsService.ts +4 -2
- package/src/generated/portal/services/FeaturesProductsService.ts +27 -2
- package/src/generated/portal/services/SuperUserManageImageFilesService.ts +18 -0
- package/src/generated/portal/types.ts +1 -0
- package/src/generated/scanner/core/OpenAPI.ts +1 -1
- package/src/generated/shopper/core/OpenAPI.ts +1 -1
- package/src/generated/shopper/index.ts +6 -0
- package/src/generated/shopper/models/Account.ts +4 -0
- package/src/generated/shopper/models/CartCounts.ts +10 -0
- package/src/generated/shopper/models/CartCountsLite.ts +11 -3
- package/src/generated/shopper/models/CartStateEnvelope.ts +31 -0
- package/src/generated/shopper/models/CartTierOption.ts +33 -0
- package/src/generated/shopper/models/CartTierSeat.ts +26 -0
- package/src/generated/shopper/models/CartTiersResponse.ts +12 -0
- package/src/generated/shopper/models/DonationFund.ts +0 -2
- package/src/generated/shopper/models/EventListItem.ts +84 -0
- package/src/generated/shopper/models/GAResponse.ts +5 -0
- package/src/generated/shopper/models/GetEventsResponse.ts +2 -2
- package/src/generated/shopper/models/Product.ts +8 -0
- package/src/generated/shopper/models/SeatHoldObject.ts +15 -0
- package/src/generated/shopper/models/SeatHoldReturn.ts +5 -0
- package/src/generated/shopper/models/ShowExtras.ts +8 -0
- package/src/generated/shopper/models/SiteTheme.ts +4 -0
- package/src/generated/shopper/services/CartService.ts +22 -0
- package/src/generated/shopper/services/SeatService.ts +3 -2
- package/src/generated/shopper/types.ts +6 -0
- package/src/staging/portal.ts +2 -0
package/dist/cjs/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export declare const DRT: {
|
|
|
27
27
|
portal: {
|
|
28
28
|
account: typeof import("./src/generated/portal").AccountService;
|
|
29
29
|
accounting: typeof import("./src/generated/portal").AccountingService;
|
|
30
|
+
agreements: typeof import("./src/generated/portal").AgreementsService;
|
|
30
31
|
app: typeof import("./src/generated/portal").AppService;
|
|
31
32
|
auth: typeof import("./src/generated/portal").AuthService;
|
|
32
33
|
bookmark: typeof import("./src/generated/portal").BookmarkService;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AccountService } from "../generated/portal";
|
|
2
2
|
import { AccountingService } from "../generated/portal";
|
|
3
|
+
import { AgreementsService } from "../generated/portal";
|
|
3
4
|
import { AppService } from "../generated/portal";
|
|
4
5
|
import { AuthService } from "../generated/portal";
|
|
5
6
|
import { BookmarkService } from "../generated/portal";
|
|
@@ -50,6 +51,7 @@ import { SuperUserVideoAssetsService } from "../generated/portal";
|
|
|
50
51
|
export declare const portal: {
|
|
51
52
|
account: typeof AccountService;
|
|
52
53
|
accounting: typeof AccountingService;
|
|
54
|
+
agreements: typeof AgreementsService;
|
|
53
55
|
app: typeof AppService;
|
|
54
56
|
auth: typeof AuthService;
|
|
55
57
|
bookmark: typeof BookmarkService;
|
|
@@ -84,56 +84,58 @@ const portal_46 = require("../generated/portal");
|
|
|
84
84
|
const portal_47 = require("../generated/portal");
|
|
85
85
|
const portal_48 = require("../generated/portal");
|
|
86
86
|
const portal_49 = require("../generated/portal");
|
|
87
|
+
const portal_50 = require("../generated/portal");
|
|
87
88
|
exports.portal = {
|
|
88
89
|
account: portal_1.AccountService,
|
|
89
90
|
accounting: portal_2.AccountingService,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
91
|
+
agreements: portal_3.AgreementsService,
|
|
92
|
+
app: portal_4.AppService,
|
|
93
|
+
auth: portal_5.AuthService,
|
|
94
|
+
bookmark: portal_6.BookmarkService,
|
|
95
|
+
clienttoolsgeneratedemails: portal_7.ClientToolsGeneratedEmailsService,
|
|
96
|
+
clienttoolsinterviewupdate: portal_8.ClientToolsInterviewUpdateService,
|
|
97
|
+
clienttoolsparentletter: portal_9.ClientToolsParentLetterService,
|
|
98
|
+
clienttoolspatrondatabase: portal_10.ClientToolsPatronDatabaseService,
|
|
99
|
+
clienttoolsrequestchanges: portal_11.ClientToolsRequestChangesService,
|
|
100
|
+
clienttoolsseatassignmenttool: portal_12.ClientToolsSeatAssignmentToolService,
|
|
101
|
+
clienttoolsstripeonboarding: portal_13.ClientToolsStripeOnboardingService,
|
|
102
|
+
clienttoolsthemebuilder: portal_14.ClientToolsThemeBuilderService,
|
|
103
|
+
clienttoolsthemeslibrary: portal_15.ClientToolsThemesLibraryService,
|
|
104
|
+
clienttoolsticketinglink: portal_16.ClientToolsTicketingLinkService,
|
|
105
|
+
clienttoolsticketscanning: portal_17.ClientToolsTicketScanningService,
|
|
106
|
+
clienttoolsunapprovedorders: portal_18.ClientToolsUnapprovedOrdersService,
|
|
107
|
+
clienttoolswaitlist: portal_19.ClientToolsWaitlistService,
|
|
108
|
+
dashboard: portal_20.DashboardService,
|
|
109
|
+
featuresblockedseats: portal_21.FeaturesBlockedSeatsService,
|
|
110
|
+
featurescheckoutquestions: portal_22.FeaturesCheckoutQuestionsService,
|
|
111
|
+
featuresdiscounts: portal_23.FeaturesDiscountsService,
|
|
112
|
+
featuresdonations: portal_24.FeaturesDonationsService,
|
|
113
|
+
featuresgiftcards: portal_25.FeaturesGiftCardsService,
|
|
114
|
+
featuresgoldentickets: portal_26.FeaturesGoldenTicketsService,
|
|
115
|
+
featureslandingpage: portal_27.FeaturesLandingPageService,
|
|
116
|
+
featurespriority: portal_28.FeaturesPriorityService,
|
|
117
|
+
featuresproducts: portal_29.FeaturesProductsService,
|
|
118
|
+
help: portal_30.HelpService,
|
|
119
|
+
orderlookup: portal_31.OrderLookupService,
|
|
120
|
+
reports: portal_32.ReportsService,
|
|
121
|
+
settings: portal_33.SettingsService,
|
|
122
|
+
shows: portal_34.ShowsService,
|
|
123
|
+
superuserabandonedcarts: portal_35.SuperUserAbandonedCartsService,
|
|
124
|
+
superuseradvancedstudiosettings: portal_36.SuperUserAdvancedStudioSettingsService,
|
|
125
|
+
superuseralertsandnotifications: portal_37.SuperUserAlertsAndNotificationsService,
|
|
126
|
+
superuserbuyerblacklist: portal_38.SuperUserBuyerBlacklistService,
|
|
127
|
+
superuserdocumentlibrary: portal_39.SuperUserDocumentLibraryService,
|
|
128
|
+
superusereditcss: portal_40.SuperUserEditCssService,
|
|
129
|
+
superuserextra: portal_41.SuperUserExtraService,
|
|
130
|
+
superuserimportblockedseats: portal_42.SuperUserImportBlockedSeatsService,
|
|
131
|
+
superuserlaunchreadiness: portal_43.SuperUserLaunchReadinessService,
|
|
132
|
+
superusermanageimagefiles: portal_44.SuperUserManageImageFilesService,
|
|
133
|
+
superuserreleasedtickets: portal_45.SuperUserReleasedTicketsService,
|
|
134
|
+
superusershoppers: portal_46.SuperUserShoppersService,
|
|
135
|
+
superuserstudiomanagementintegration: portal_47.SuperUserStudioManagementIntegrationService,
|
|
136
|
+
superusersupporttickets: portal_48.SuperUserSupportTicketsService,
|
|
137
|
+
superusertimedtriggers: portal_49.SuperUserTimedTriggersService,
|
|
138
|
+
superuservideoassets: portal_50.SuperUserVideoAssetsService,
|
|
137
139
|
};
|
|
138
140
|
// Re-export all types as a namespace
|
|
139
141
|
exports.PortalTypes = __importStar(require("../generated/portal/types"));
|
|
@@ -3,6 +3,7 @@ export { CancelablePromise, CancelError } from './core/CancelablePromise';
|
|
|
3
3
|
export { OpenAPI } from './core/OpenAPI';
|
|
4
4
|
export type { OpenAPIConfig } from './core/OpenAPI';
|
|
5
5
|
export type { AbandonedCartResponseDto } from './models/AbandonedCartResponseDto';
|
|
6
|
+
export type { AcceptAgreementRequestDto } from './models/AcceptAgreementRequestDto';
|
|
6
7
|
export type { AccountDetailResponseDto } from './models/AccountDetailResponseDto';
|
|
7
8
|
export { AccountingTimezone } from './models/AccountingTimezone';
|
|
8
9
|
export type { ActionResponseDto } from './models/ActionResponseDto';
|
|
@@ -13,6 +14,7 @@ export type { AdminUserResponseDto } from './models/AdminUserResponseDto';
|
|
|
13
14
|
export type { AdvancedPricing } from './models/AdvancedPricing';
|
|
14
15
|
export type { AdvancedStudioSettingsResponseDto } from './models/AdvancedStudioSettingsResponseDto';
|
|
15
16
|
export type { AdvancedStudioWaveResponseDto } from './models/AdvancedStudioWaveResponseDto';
|
|
17
|
+
export { AgreementStatusResponseDto } from './models/AgreementStatusResponseDto';
|
|
16
18
|
export type { AlbumImageResponseDto } from './models/AlbumImageResponseDto';
|
|
17
19
|
export type { AlertActionTemplateResponseDto } from './models/AlertActionTemplateResponseDto';
|
|
18
20
|
export type { AlertDetailResponseDto } from './models/AlertDetailResponseDto';
|
|
@@ -480,6 +482,7 @@ export type { WavesResponseDto } from './models/WavesResponseDto';
|
|
|
480
482
|
export type { WeeklyResponseDto } from './models/WeeklyResponseDto';
|
|
481
483
|
export { AccountService } from './services/AccountService';
|
|
482
484
|
export { AccountingService } from './services/AccountingService';
|
|
485
|
+
export { AgreementsService } from './services/AgreementsService';
|
|
483
486
|
export { AppService } from './services/AppService';
|
|
484
487
|
export { AuthService } from './services/AuthService';
|
|
485
488
|
export { BookmarkService } from './services/BookmarkService';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.SuperUserVideoAssetsService = exports.SuperUserTimedTriggersService = exports.SuperUserSupportTicketsService = exports.SuperUserStudioManagementIntegrationService = exports.SuperUserShoppersService = exports.SuperUserReleasedTicketsService = exports.SuperUserManageImageFilesService = exports.SuperUserLaunchReadinessService = exports.SuperUserImportBlockedSeatsService = exports.SuperUserExtraService = exports.SuperUserEditCssService = exports.SuperUserDocumentLibraryService = void 0;
|
|
3
|
+
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.ClientToolsRequestChangesService = exports.ClientToolsPatronDatabaseService = exports.ClientToolsParentLetterService = exports.ClientToolsInterviewUpdateService = exports.ClientToolsGeneratedEmailsService = exports.BookmarkService = exports.AuthService = exports.AppService = exports.AgreementsService = exports.AccountingService = exports.AccountService = exports.ToggleType = exports.ThemeImageFormat = exports.StudioFeesLedgerType = exports.StripeUsageOption = exports.ShowDeployOption = exports.SalesTaxRegistrationOption = exports.CreateShowRequestDto = exports.CheckoutAnswerType = exports.AgreementStatusResponseDto = exports.AccountingTimezone = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.ApiError = void 0;
|
|
4
|
+
exports.SuperUserVideoAssetsService = exports.SuperUserTimedTriggersService = exports.SuperUserSupportTicketsService = exports.SuperUserStudioManagementIntegrationService = exports.SuperUserShoppersService = exports.SuperUserReleasedTicketsService = exports.SuperUserManageImageFilesService = exports.SuperUserLaunchReadinessService = exports.SuperUserImportBlockedSeatsService = exports.SuperUserExtraService = exports.SuperUserEditCssService = exports.SuperUserDocumentLibraryService = exports.SuperUserBuyerBlacklistService = exports.SuperUserAlertsAndNotificationsService = void 0;
|
|
5
5
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
6
6
|
/* istanbul ignore file */
|
|
7
7
|
/* tslint:disable */
|
|
@@ -15,6 +15,8 @@ var OpenAPI_1 = require("./core/OpenAPI");
|
|
|
15
15
|
Object.defineProperty(exports, "OpenAPI", { enumerable: true, get: function () { return OpenAPI_1.OpenAPI; } });
|
|
16
16
|
var AccountingTimezone_1 = require("./models/AccountingTimezone");
|
|
17
17
|
Object.defineProperty(exports, "AccountingTimezone", { enumerable: true, get: function () { return AccountingTimezone_1.AccountingTimezone; } });
|
|
18
|
+
var AgreementStatusResponseDto_1 = require("./models/AgreementStatusResponseDto");
|
|
19
|
+
Object.defineProperty(exports, "AgreementStatusResponseDto", { enumerable: true, get: function () { return AgreementStatusResponseDto_1.AgreementStatusResponseDto; } });
|
|
18
20
|
var CheckoutAnswerType_1 = require("./models/CheckoutAnswerType");
|
|
19
21
|
Object.defineProperty(exports, "CheckoutAnswerType", { enumerable: true, get: function () { return CheckoutAnswerType_1.CheckoutAnswerType; } });
|
|
20
22
|
var CreateShowRequestDto_1 = require("./models/CreateShowRequestDto");
|
|
@@ -35,6 +37,8 @@ var AccountService_1 = require("./services/AccountService");
|
|
|
35
37
|
Object.defineProperty(exports, "AccountService", { enumerable: true, get: function () { return AccountService_1.AccountService; } });
|
|
36
38
|
var AccountingService_1 = require("./services/AccountingService");
|
|
37
39
|
Object.defineProperty(exports, "AccountingService", { enumerable: true, get: function () { return AccountingService_1.AccountingService; } });
|
|
40
|
+
var AgreementsService_1 = require("./services/AgreementsService");
|
|
41
|
+
Object.defineProperty(exports, "AgreementsService", { enumerable: true, get: function () { return AgreementsService_1.AgreementsService; } });
|
|
38
42
|
var AppService_1 = require("./services/AppService");
|
|
39
43
|
Object.defineProperty(exports, "AppService", { enumerable: true, get: function () { return AppService_1.AppService; } });
|
|
40
44
|
var AuthService_1 = require("./services/AuthService");
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type AcceptAgreementRequestDto = {
|
|
2
|
+
/**
|
|
3
|
+
* The signer ticked "I agree". Must be true.
|
|
4
|
+
*/
|
|
5
|
+
agreed: boolean;
|
|
6
|
+
legalName: string;
|
|
7
|
+
/**
|
|
8
|
+
* Digits only. Required when the agreement collects a tax id.
|
|
9
|
+
*/
|
|
10
|
+
taxId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* One entry per initials box the agreement shows; all must match.
|
|
13
|
+
*/
|
|
14
|
+
initials?: Array<string>;
|
|
15
|
+
/**
|
|
16
|
+
* Mobile number for texting. Required when the agreement collects one; formatting is stripped server-side.
|
|
17
|
+
*/
|
|
18
|
+
mobilePhone?: string;
|
|
19
|
+
/**
|
|
20
|
+
* service_agreement.id the signer read. Rejected when it is no longer the current version.
|
|
21
|
+
*/
|
|
22
|
+
versionId?: number;
|
|
23
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export type AgreementStatusResponseDto = {
|
|
2
|
+
scope: AgreementStatusResponseDto.scope;
|
|
3
|
+
/**
|
|
4
|
+
* URL segment for /agreements/:scope
|
|
5
|
+
*/
|
|
6
|
+
slug: string;
|
|
7
|
+
gate: AgreementStatusResponseDto.gate;
|
|
8
|
+
granularity: AgreementStatusResponseDto.granularity;
|
|
9
|
+
versioned: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Nothing outstanding for this login/account.
|
|
12
|
+
*/
|
|
13
|
+
accepted: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* The current login must accept before continuing. False when accepted, or when the login is exempt (superuser on the MSA).
|
|
16
|
+
*/
|
|
17
|
+
required: boolean;
|
|
18
|
+
versionId: number | null;
|
|
19
|
+
version: string | null;
|
|
20
|
+
dateStart: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* Plain-text agreement body. Only populated by GET /agreements/:scope for versioned agreements.
|
|
23
|
+
*/
|
|
24
|
+
details: string | null;
|
|
25
|
+
taxIdMode: AgreementStatusResponseDto.taxIdMode;
|
|
26
|
+
initialsCount: number;
|
|
27
|
+
legalNameRule: AgreementStatusResponseDto.legalNameRule;
|
|
28
|
+
phone: AgreementStatusResponseDto.phone;
|
|
29
|
+
/**
|
|
30
|
+
* The address the signature will be recorded from. Only populated by GET /agreements/:scope.
|
|
31
|
+
*/
|
|
32
|
+
clientIp: string | null;
|
|
33
|
+
};
|
|
34
|
+
export declare namespace AgreementStatusResponseDto {
|
|
35
|
+
enum scope {
|
|
36
|
+
MSA = "MSA",
|
|
37
|
+
DONATIONS = "donations",
|
|
38
|
+
PRODUCTS = "products"
|
|
39
|
+
}
|
|
40
|
+
enum gate {
|
|
41
|
+
PORTAL = "portal",
|
|
42
|
+
FEATURE = "feature"
|
|
43
|
+
}
|
|
44
|
+
enum granularity {
|
|
45
|
+
PER_USER = "per-user",
|
|
46
|
+
PER_ACCOUNT = "per-account"
|
|
47
|
+
}
|
|
48
|
+
enum taxIdMode {
|
|
49
|
+
NONE = "none",
|
|
50
|
+
EXACT9 = "exact9",
|
|
51
|
+
EXACT9_CA_MIN9 = "exact9-ca-min9"
|
|
52
|
+
}
|
|
53
|
+
enum legalNameRule {
|
|
54
|
+
MIN3 = "min3",
|
|
55
|
+
FIRST_LAST = "first-last"
|
|
56
|
+
}
|
|
57
|
+
enum phone {
|
|
58
|
+
NONE = "none",
|
|
59
|
+
REQUIRED = "required"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AgreementStatusResponseDto = void 0;
|
|
4
|
+
var AgreementStatusResponseDto;
|
|
5
|
+
(function (AgreementStatusResponseDto) {
|
|
6
|
+
let scope;
|
|
7
|
+
(function (scope) {
|
|
8
|
+
scope["MSA"] = "MSA";
|
|
9
|
+
scope["DONATIONS"] = "donations";
|
|
10
|
+
scope["PRODUCTS"] = "products";
|
|
11
|
+
})(scope = AgreementStatusResponseDto.scope || (AgreementStatusResponseDto.scope = {}));
|
|
12
|
+
let gate;
|
|
13
|
+
(function (gate) {
|
|
14
|
+
gate["PORTAL"] = "portal";
|
|
15
|
+
gate["FEATURE"] = "feature";
|
|
16
|
+
})(gate = AgreementStatusResponseDto.gate || (AgreementStatusResponseDto.gate = {}));
|
|
17
|
+
let granularity;
|
|
18
|
+
(function (granularity) {
|
|
19
|
+
granularity["PER_USER"] = "per-user";
|
|
20
|
+
granularity["PER_ACCOUNT"] = "per-account";
|
|
21
|
+
})(granularity = AgreementStatusResponseDto.granularity || (AgreementStatusResponseDto.granularity = {}));
|
|
22
|
+
let taxIdMode;
|
|
23
|
+
(function (taxIdMode) {
|
|
24
|
+
taxIdMode["NONE"] = "none";
|
|
25
|
+
taxIdMode["EXACT9"] = "exact9";
|
|
26
|
+
taxIdMode["EXACT9_CA_MIN9"] = "exact9-ca-min9";
|
|
27
|
+
})(taxIdMode = AgreementStatusResponseDto.taxIdMode || (AgreementStatusResponseDto.taxIdMode = {}));
|
|
28
|
+
let legalNameRule;
|
|
29
|
+
(function (legalNameRule) {
|
|
30
|
+
legalNameRule["MIN3"] = "min3";
|
|
31
|
+
legalNameRule["FIRST_LAST"] = "first-last";
|
|
32
|
+
})(legalNameRule = AgreementStatusResponseDto.legalNameRule || (AgreementStatusResponseDto.legalNameRule = {}));
|
|
33
|
+
let phone;
|
|
34
|
+
(function (phone) {
|
|
35
|
+
phone["NONE"] = "none";
|
|
36
|
+
phone["REQUIRED"] = "required";
|
|
37
|
+
})(phone = AgreementStatusResponseDto.phone || (AgreementStatusResponseDto.phone = {}));
|
|
38
|
+
})(AgreementStatusResponseDto || (exports.AgreementStatusResponseDto = AgreementStatusResponseDto = {}));
|
|
@@ -4,4 +4,12 @@ export type CreateShowTimeDto = {
|
|
|
4
4
|
dateOpenEnd: string;
|
|
5
5
|
datePriorityStart: string;
|
|
6
6
|
datePriorityEnd: string;
|
|
7
|
+
/**
|
|
8
|
+
* This showtime's own event name. Falls back to the request-level title when blank, so a run only names the rows that differ.
|
|
9
|
+
*/
|
|
10
|
+
title?: string;
|
|
11
|
+
/**
|
|
12
|
+
* This showtime's own designation. Falls back to the request-level designation when blank.
|
|
13
|
+
*/
|
|
14
|
+
designation?: string;
|
|
7
15
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { AccountingTimezone } from './AccountingTimezone';
|
|
2
|
+
import type { AgreementStatusResponseDto } from './AgreementStatusResponseDto';
|
|
2
3
|
import type { TimeZoneResponse } from './TimeZoneResponse';
|
|
3
4
|
export type SettingsDetailsResponseDto = {
|
|
4
5
|
holdTime: number;
|
|
@@ -70,4 +71,8 @@ export type SettingsDetailsResponseDto = {
|
|
|
70
71
|
*/
|
|
71
72
|
accountingTimezone: AccountingTimezone;
|
|
72
73
|
timezoneList: Array<TimeZoneResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* Service-agreement status for the current login. A portal-gated entry with required = true means the login must accept it before using the portal.
|
|
76
|
+
*/
|
|
77
|
+
agreements: Array<AgreementStatusResponseDto>;
|
|
73
78
|
};
|
|
@@ -29,4 +29,16 @@ export type ThemeDesignResponseDto = {
|
|
|
29
29
|
logoMaxHeight: string | null;
|
|
30
30
|
logoMaxWidth: string | null;
|
|
31
31
|
logoTop: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* The studio's logo, taken from the image they stored in Manage Image Files as logo.png. Null when they have none, in which case the client falls back to the buyer site default at /client-content/images/{studioId}/logo.png. Read-only: not accepted on update.
|
|
34
|
+
*/
|
|
35
|
+
logoSrc: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the studio currently has active products - gates the Merchandise checkout step, mirroring the shopper site.
|
|
38
|
+
*/
|
|
39
|
+
hasProducts: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Whether the studio currently has enabled donation funds - gates the Donation checkout step, mirroring the shopper site.
|
|
42
|
+
*/
|
|
43
|
+
hasDonations: boolean;
|
|
32
44
|
};
|
|
@@ -5,4 +5,8 @@ export type TicketingShowResponseDto = {
|
|
|
5
5
|
domainURL: string;
|
|
6
6
|
shows: Array<ShowsResponseDto>;
|
|
7
7
|
showGroups: Array<ShowGroupResponseDto>;
|
|
8
|
+
/**
|
|
9
|
+
* The studio's social-media graphic, taken from the image they uploaded to Manage Image Files as facebook.jpg. Null when they have none, so the client shows the DRT default instead.
|
|
10
|
+
*/
|
|
11
|
+
socialGraphicSrc: Record<string, any> | null;
|
|
8
12
|
};
|
|
@@ -9,4 +9,8 @@ export type TieredPrice = {
|
|
|
9
9
|
maxCapacity: number | null;
|
|
10
10
|
isDefault: number | null;
|
|
11
11
|
doorPrice: number | null;
|
|
12
|
+
/**
|
|
13
|
+
* When door pricing starts, in the studio's own timezone — the column is stored in Eastern and converted on read, same as dateStart and dateEnd.
|
|
14
|
+
*/
|
|
15
|
+
dateDoorPricingStart: string | null;
|
|
12
16
|
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { AcceptAgreementRequestDto } from '../models/AcceptAgreementRequestDto';
|
|
2
|
+
import type { AgreementStatusResponseDto } from '../models/AgreementStatusResponseDto';
|
|
3
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
|
+
export declare class AgreementsService {
|
|
5
|
+
/**
|
|
6
|
+
* List agreement statuses
|
|
7
|
+
* Whether the current login/account has accepted each service agreement, and whether it must before continuing.
|
|
8
|
+
* @param xStudioId The ID of the studio
|
|
9
|
+
* @returns AgreementStatusResponseDto Status of every agreement for the current login
|
|
10
|
+
* @throws ApiError
|
|
11
|
+
*/
|
|
12
|
+
static getAgreements(xStudioId: string): CancelablePromise<Array<AgreementStatusResponseDto>>;
|
|
13
|
+
/**
|
|
14
|
+
* Fetch one agreement
|
|
15
|
+
* Status plus the current agreement body (versioned agreements) and the address the signature will be recorded from.
|
|
16
|
+
* @param xStudioId The ID of the studio
|
|
17
|
+
* @param scope Agreement slug (msa, donations, products) or scope value (MSA, donations, products).
|
|
18
|
+
* @returns AgreementStatusResponseDto Agreement status, with the text to sign when versioned
|
|
19
|
+
* @throws ApiError
|
|
20
|
+
*/
|
|
21
|
+
static getAgreement(xStudioId: string, scope: string): CancelablePromise<AgreementStatusResponseDto>;
|
|
22
|
+
/**
|
|
23
|
+
* Accept an agreement
|
|
24
|
+
* Records the signature for the current login/account and runs the agreement's follow-up actions.
|
|
25
|
+
* @param xStudioId The ID of the studio
|
|
26
|
+
* @param scope Agreement slug (msa, donations, products) or scope value (MSA, donations, products).
|
|
27
|
+
* @param requestBody Signature details
|
|
28
|
+
* @returns AgreementStatusResponseDto Agreement status after the signature was recorded
|
|
29
|
+
* @throws ApiError
|
|
30
|
+
*/
|
|
31
|
+
static acceptAgreement(xStudioId: string, scope: string, requestBody: AcceptAgreementRequestDto): CancelablePromise<AgreementStatusResponseDto>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AgreementsService = void 0;
|
|
4
|
+
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
|
+
const request_1 = require("../core/request");
|
|
6
|
+
class AgreementsService {
|
|
7
|
+
/**
|
|
8
|
+
* List agreement statuses
|
|
9
|
+
* Whether the current login/account has accepted each service agreement, and whether it must before continuing.
|
|
10
|
+
* @param xStudioId The ID of the studio
|
|
11
|
+
* @returns AgreementStatusResponseDto Status of every agreement for the current login
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static getAgreements(xStudioId) {
|
|
15
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
16
|
+
method: 'GET',
|
|
17
|
+
url: '/admin-portal/agreements',
|
|
18
|
+
headers: {
|
|
19
|
+
'x-studio-id': xStudioId,
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Fetch one agreement
|
|
25
|
+
* Status plus the current agreement body (versioned agreements) and the address the signature will be recorded from.
|
|
26
|
+
* @param xStudioId The ID of the studio
|
|
27
|
+
* @param scope Agreement slug (msa, donations, products) or scope value (MSA, donations, products).
|
|
28
|
+
* @returns AgreementStatusResponseDto Agreement status, with the text to sign when versioned
|
|
29
|
+
* @throws ApiError
|
|
30
|
+
*/
|
|
31
|
+
static getAgreement(xStudioId, scope) {
|
|
32
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
33
|
+
method: 'GET',
|
|
34
|
+
url: '/admin-portal/agreements/{scope}',
|
|
35
|
+
path: {
|
|
36
|
+
'scope': scope,
|
|
37
|
+
},
|
|
38
|
+
headers: {
|
|
39
|
+
'x-studio-id': xStudioId,
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Accept an agreement
|
|
45
|
+
* Records the signature for the current login/account and runs the agreement's follow-up actions.
|
|
46
|
+
* @param xStudioId The ID of the studio
|
|
47
|
+
* @param scope Agreement slug (msa, donations, products) or scope value (MSA, donations, products).
|
|
48
|
+
* @param requestBody Signature details
|
|
49
|
+
* @returns AgreementStatusResponseDto Agreement status after the signature was recorded
|
|
50
|
+
* @throws ApiError
|
|
51
|
+
*/
|
|
52
|
+
static acceptAgreement(xStudioId, scope, requestBody) {
|
|
53
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
54
|
+
method: 'POST',
|
|
55
|
+
url: '/admin-portal/agreements/{scope}/accept',
|
|
56
|
+
path: {
|
|
57
|
+
'scope': scope,
|
|
58
|
+
},
|
|
59
|
+
headers: {
|
|
60
|
+
'x-studio-id': xStudioId,
|
|
61
|
+
},
|
|
62
|
+
body: requestBody,
|
|
63
|
+
mediaType: 'application/json',
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.AgreementsService = AgreementsService;
|
|
@@ -26,16 +26,18 @@ export declare class FeaturesDonationsService {
|
|
|
26
26
|
*/
|
|
27
27
|
static createFund(xStudioId: string, requestBody: CreateUpdateFundRequestDto): CancelablePromise<SuccessResponse>;
|
|
28
28
|
/**
|
|
29
|
+
* @deprecated
|
|
29
30
|
* Validate the service agreement exist or not
|
|
30
|
-
* Check if the service agreement exists for the given studio ID
|
|
31
|
+
* Check if the service agreement exists for the given studio ID. Deprecated: use GET /agreements/donations.
|
|
31
32
|
* @param xStudioId The ID of the studio
|
|
32
33
|
* @returns SuccessResponse Service agreement fetched successfully
|
|
33
34
|
* @throws ApiError
|
|
34
35
|
*/
|
|
35
36
|
static getServiceAgreement(xStudioId: string): CancelablePromise<SuccessResponse>;
|
|
36
37
|
/**
|
|
38
|
+
* @deprecated
|
|
37
39
|
* Create the service agreement
|
|
38
|
-
* Create a new service agreement for the given studio ID
|
|
40
|
+
* Create a new service agreement for the given studio ID. Deprecated: use POST /agreements/donations/accept.
|
|
39
41
|
* @param xStudioId The ID of the studio
|
|
40
42
|
* @param requestBody Payload to create service agreement
|
|
41
43
|
* @returns SuccessResponse Service agreement created successfully
|
|
@@ -40,8 +40,9 @@ class FeaturesDonationsService {
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
+
* @deprecated
|
|
43
44
|
* Validate the service agreement exist or not
|
|
44
|
-
* Check if the service agreement exists for the given studio ID
|
|
45
|
+
* Check if the service agreement exists for the given studio ID. Deprecated: use GET /agreements/donations.
|
|
45
46
|
* @param xStudioId The ID of the studio
|
|
46
47
|
* @returns SuccessResponse Service agreement fetched successfully
|
|
47
48
|
* @throws ApiError
|
|
@@ -56,8 +57,9 @@ class FeaturesDonationsService {
|
|
|
56
57
|
});
|
|
57
58
|
}
|
|
58
59
|
/**
|
|
60
|
+
* @deprecated
|
|
59
61
|
* Create the service agreement
|
|
60
|
-
* Create a new service agreement for the given studio ID
|
|
62
|
+
* Create a new service agreement for the given studio ID. Deprecated: use POST /agreements/donations/accept.
|
|
61
63
|
* @param xStudioId The ID of the studio
|
|
62
64
|
* @param requestBody Payload to create service agreement
|
|
63
65
|
* @returns SuccessResponse Service agreement created successfully
|
|
@@ -56,16 +56,18 @@ export declare class FeaturesProductsService {
|
|
|
56
56
|
*/
|
|
57
57
|
static getProductSales(xStudioId: string, productId: string): CancelablePromise<ProductSalesResponseDto>;
|
|
58
58
|
/**
|
|
59
|
+
* @deprecated
|
|
59
60
|
* Validate the service agreement exist or not
|
|
60
|
-
* Check if the service agreement exists for the given studio ID
|
|
61
|
+
* Check if the service agreement exists for the given studio ID. Deprecated: use GET /agreements/products.
|
|
61
62
|
* @param xStudioId The ID of the studio
|
|
62
63
|
* @returns SuccessResponse Service agreement fetched successfully
|
|
63
64
|
* @throws ApiError
|
|
64
65
|
*/
|
|
65
66
|
static getServiceAgreement(xStudioId: string): CancelablePromise<SuccessResponse>;
|
|
66
67
|
/**
|
|
68
|
+
* @deprecated
|
|
67
69
|
* Create the service agreement
|
|
68
|
-
* Create a new service agreement for the given studio ID
|
|
70
|
+
* Create a new service agreement for the given studio ID. Deprecated: use POST /agreements/products/accept.
|
|
69
71
|
* @param xStudioId The ID of the studio
|
|
70
72
|
* @param requestBody Payload to create service agreement
|
|
71
73
|
* @returns SuccessResponse Service agreement created successfully
|
|
@@ -136,6 +138,15 @@ export declare class FeaturesProductsService {
|
|
|
136
138
|
* @throws ApiError
|
|
137
139
|
*/
|
|
138
140
|
static startImageUpload(xStudioId: string, requestBody: StartImageUploadRequestDto): CancelablePromise<StartImageUploadResponseDto>;
|
|
141
|
+
/**
|
|
142
|
+
* Upload a product image through the AWS-Gateway pipeline
|
|
143
|
+
* Multipart upload: the bytes are validated and resized by the AWS-Gateway /image/process route (preset product, matching the legacy CF admin) and the image/product rows are updated. Replaces start-image-upload + the browser PUT for this flow.
|
|
144
|
+
* @param xStudioId The ID of the studio
|
|
145
|
+
* @param productId The ID of the product
|
|
146
|
+
* @returns SuccessResponse Product image processed, stored and attached
|
|
147
|
+
* @throws ApiError
|
|
148
|
+
*/
|
|
149
|
+
static uploadProductImage(xStudioId: string, productId: string): CancelablePromise<SuccessResponse>;
|
|
139
150
|
/**
|
|
140
151
|
* Create the duplicate product
|
|
141
152
|
* Create a new duplicate product for the given product ID
|
|
@@ -76,8 +76,9 @@ class FeaturesProductsService {
|
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
+
* @deprecated
|
|
79
80
|
* Validate the service agreement exist or not
|
|
80
|
-
* Check if the service agreement exists for the given studio ID
|
|
81
|
+
* Check if the service agreement exists for the given studio ID. Deprecated: use GET /agreements/products.
|
|
81
82
|
* @param xStudioId The ID of the studio
|
|
82
83
|
* @returns SuccessResponse Service agreement fetched successfully
|
|
83
84
|
* @throws ApiError
|
|
@@ -92,8 +93,9 @@ class FeaturesProductsService {
|
|
|
92
93
|
});
|
|
93
94
|
}
|
|
94
95
|
/**
|
|
96
|
+
* @deprecated
|
|
95
97
|
* Create the service agreement
|
|
96
|
-
* Create a new service agreement for the given studio ID
|
|
98
|
+
* Create a new service agreement for the given studio ID. Deprecated: use POST /agreements/products/accept.
|
|
97
99
|
* @param xStudioId The ID of the studio
|
|
98
100
|
* @param requestBody Payload to create service agreement
|
|
99
101
|
* @returns SuccessResponse Service agreement created successfully
|
|
@@ -252,6 +254,26 @@ class FeaturesProductsService {
|
|
|
252
254
|
mediaType: 'application/json',
|
|
253
255
|
});
|
|
254
256
|
}
|
|
257
|
+
/**
|
|
258
|
+
* Upload a product image through the AWS-Gateway pipeline
|
|
259
|
+
* Multipart upload: the bytes are validated and resized by the AWS-Gateway /image/process route (preset product, matching the legacy CF admin) and the image/product rows are updated. Replaces start-image-upload + the browser PUT for this flow.
|
|
260
|
+
* @param xStudioId The ID of the studio
|
|
261
|
+
* @param productId The ID of the product
|
|
262
|
+
* @returns SuccessResponse Product image processed, stored and attached
|
|
263
|
+
* @throws ApiError
|
|
264
|
+
*/
|
|
265
|
+
static uploadProductImage(xStudioId, productId) {
|
|
266
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
267
|
+
method: 'POST',
|
|
268
|
+
url: '/admin-portal/features/products/{productId}/upload-image',
|
|
269
|
+
path: {
|
|
270
|
+
'productId': productId,
|
|
271
|
+
},
|
|
272
|
+
headers: {
|
|
273
|
+
'x-studio-id': xStudioId,
|
|
274
|
+
},
|
|
275
|
+
});
|
|
276
|
+
}
|
|
255
277
|
/**
|
|
256
278
|
* Create the duplicate product
|
|
257
279
|
* Create a new duplicate product for the given product ID
|