@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
|
@@ -87,57 +87,59 @@ const portal_46 = require("../generated/portal");
|
|
|
87
87
|
const portal_47 = require("../generated/portal");
|
|
88
88
|
const portal_48 = require("../generated/portal");
|
|
89
89
|
const portal_49 = require("../generated/portal");
|
|
90
|
+
const portal_50 = require("../generated/portal");
|
|
90
91
|
const wrap = (service) => (0, wrapService_1.wrapServiceForStaging)(service, OpenAPI_1.OpenAPI, wrapService_1.STAGING_URLS.portal);
|
|
91
92
|
exports.portalStaging = {
|
|
92
93
|
account: wrap(portal_1.AccountService),
|
|
93
94
|
accounting: wrap(portal_2.AccountingService),
|
|
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
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
95
|
+
agreements: wrap(portal_3.AgreementsService),
|
|
96
|
+
app: wrap(portal_4.AppService),
|
|
97
|
+
auth: wrap(portal_5.AuthService),
|
|
98
|
+
bookmark: wrap(portal_6.BookmarkService),
|
|
99
|
+
clienttoolsgeneratedemails: wrap(portal_7.ClientToolsGeneratedEmailsService),
|
|
100
|
+
clienttoolsinterviewupdate: wrap(portal_8.ClientToolsInterviewUpdateService),
|
|
101
|
+
clienttoolsparentletter: wrap(portal_9.ClientToolsParentLetterService),
|
|
102
|
+
clienttoolspatrondatabase: wrap(portal_10.ClientToolsPatronDatabaseService),
|
|
103
|
+
clienttoolsrequestchanges: wrap(portal_11.ClientToolsRequestChangesService),
|
|
104
|
+
clienttoolsseatassignmenttool: wrap(portal_12.ClientToolsSeatAssignmentToolService),
|
|
105
|
+
clienttoolsstripeonboarding: wrap(portal_13.ClientToolsStripeOnboardingService),
|
|
106
|
+
clienttoolsthemebuilder: wrap(portal_14.ClientToolsThemeBuilderService),
|
|
107
|
+
clienttoolsthemeslibrary: wrap(portal_15.ClientToolsThemesLibraryService),
|
|
108
|
+
clienttoolsticketinglink: wrap(portal_16.ClientToolsTicketingLinkService),
|
|
109
|
+
clienttoolsticketscanning: wrap(portal_17.ClientToolsTicketScanningService),
|
|
110
|
+
clienttoolsunapprovedorders: wrap(portal_18.ClientToolsUnapprovedOrdersService),
|
|
111
|
+
clienttoolswaitlist: wrap(portal_19.ClientToolsWaitlistService),
|
|
112
|
+
dashboard: wrap(portal_20.DashboardService),
|
|
113
|
+
featuresblockedseats: wrap(portal_21.FeaturesBlockedSeatsService),
|
|
114
|
+
featurescheckoutquestions: wrap(portal_22.FeaturesCheckoutQuestionsService),
|
|
115
|
+
featuresdiscounts: wrap(portal_23.FeaturesDiscountsService),
|
|
116
|
+
featuresdonations: wrap(portal_24.FeaturesDonationsService),
|
|
117
|
+
featuresgiftcards: wrap(portal_25.FeaturesGiftCardsService),
|
|
118
|
+
featuresgoldentickets: wrap(portal_26.FeaturesGoldenTicketsService),
|
|
119
|
+
featureslandingpage: wrap(portal_27.FeaturesLandingPageService),
|
|
120
|
+
featurespriority: wrap(portal_28.FeaturesPriorityService),
|
|
121
|
+
featuresproducts: wrap(portal_29.FeaturesProductsService),
|
|
122
|
+
help: wrap(portal_30.HelpService),
|
|
123
|
+
orderlookup: wrap(portal_31.OrderLookupService),
|
|
124
|
+
reports: wrap(portal_32.ReportsService),
|
|
125
|
+
settings: wrap(portal_33.SettingsService),
|
|
126
|
+
shows: wrap(portal_34.ShowsService),
|
|
127
|
+
superuserabandonedcarts: wrap(portal_35.SuperUserAbandonedCartsService),
|
|
128
|
+
superuseradvancedstudiosettings: wrap(portal_36.SuperUserAdvancedStudioSettingsService),
|
|
129
|
+
superuseralertsandnotifications: wrap(portal_37.SuperUserAlertsAndNotificationsService),
|
|
130
|
+
superuserbuyerblacklist: wrap(portal_38.SuperUserBuyerBlacklistService),
|
|
131
|
+
superuserdocumentlibrary: wrap(portal_39.SuperUserDocumentLibraryService),
|
|
132
|
+
superusereditcss: wrap(portal_40.SuperUserEditCssService),
|
|
133
|
+
superuserextra: wrap(portal_41.SuperUserExtraService),
|
|
134
|
+
superuserimportblockedseats: wrap(portal_42.SuperUserImportBlockedSeatsService),
|
|
135
|
+
superuserlaunchreadiness: wrap(portal_43.SuperUserLaunchReadinessService),
|
|
136
|
+
superusermanageimagefiles: wrap(portal_44.SuperUserManageImageFilesService),
|
|
137
|
+
superuserreleasedtickets: wrap(portal_45.SuperUserReleasedTicketsService),
|
|
138
|
+
superusershoppers: wrap(portal_46.SuperUserShoppersService),
|
|
139
|
+
superuserstudiomanagementintegration: wrap(portal_47.SuperUserStudioManagementIntegrationService),
|
|
140
|
+
superusersupporttickets: wrap(portal_48.SuperUserSupportTicketsService),
|
|
141
|
+
superusertimedtriggers: wrap(portal_49.SuperUserTimedTriggersService),
|
|
142
|
+
superuservideoassets: wrap(portal_50.SuperUserVideoAssetsService),
|
|
141
143
|
};
|
|
142
144
|
// Re-export types
|
|
143
145
|
exports.PortalTypes = __importStar(require("../generated/portal/types"));
|
package/dist/esm/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;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// AUTO-GENERATED FILE – DO NOT EDIT
|
|
2
2
|
import { AccountService } from "../generated/portal/index.js";
|
|
3
3
|
import { AccountingService } from "../generated/portal/index.js";
|
|
4
|
+
import { AgreementsService } from "../generated/portal/index.js";
|
|
4
5
|
import { AppService } from "../generated/portal/index.js";
|
|
5
6
|
import { AuthService } from "../generated/portal/index.js";
|
|
6
7
|
import { BookmarkService } from "../generated/portal/index.js";
|
|
@@ -51,6 +52,7 @@ import { SuperUserVideoAssetsService } from "../generated/portal/index.js";
|
|
|
51
52
|
export const portal = {
|
|
52
53
|
account: AccountService,
|
|
53
54
|
accounting: AccountingService,
|
|
55
|
+
agreements: AgreementsService,
|
|
54
56
|
app: AppService,
|
|
55
57
|
auth: AuthService,
|
|
56
58
|
bookmark: BookmarkService,
|
|
@@ -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';
|
|
@@ -6,6 +6,7 @@ export { ApiError } from './core/ApiError.js';
|
|
|
6
6
|
export { CancelablePromise, CancelError } from './core/CancelablePromise.js';
|
|
7
7
|
export { OpenAPI } from './core/OpenAPI.js';
|
|
8
8
|
export { AccountingTimezone } from './models/AccountingTimezone.js';
|
|
9
|
+
export { AgreementStatusResponseDto } from './models/AgreementStatusResponseDto.js';
|
|
9
10
|
export { CheckoutAnswerType } from './models/CheckoutAnswerType.js';
|
|
10
11
|
export { CreateShowRequestDto } from './models/CreateShowRequestDto.js';
|
|
11
12
|
export { SalesTaxRegistrationOption } from './models/SalesTaxRegistrationOption.js';
|
|
@@ -16,6 +17,7 @@ export { ThemeImageFormat } from './models/ThemeImageFormat.js';
|
|
|
16
17
|
export { ToggleType } from './models/ToggleType.js';
|
|
17
18
|
export { AccountService } from './services/AccountService.js';
|
|
18
19
|
export { AccountingService } from './services/AccountingService.js';
|
|
20
|
+
export { AgreementsService } from './services/AgreementsService.js';
|
|
19
21
|
export { AppService } from './services/AppService.js';
|
|
20
22
|
export { AuthService } from './services/AuthService.js';
|
|
21
23
|
export { BookmarkService } from './services/BookmarkService.js';
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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,35 @@
|
|
|
1
|
+
export var AgreementStatusResponseDto;
|
|
2
|
+
(function (AgreementStatusResponseDto) {
|
|
3
|
+
let scope;
|
|
4
|
+
(function (scope) {
|
|
5
|
+
scope["MSA"] = "MSA";
|
|
6
|
+
scope["DONATIONS"] = "donations";
|
|
7
|
+
scope["PRODUCTS"] = "products";
|
|
8
|
+
})(scope = AgreementStatusResponseDto.scope || (AgreementStatusResponseDto.scope = {}));
|
|
9
|
+
let gate;
|
|
10
|
+
(function (gate) {
|
|
11
|
+
gate["PORTAL"] = "portal";
|
|
12
|
+
gate["FEATURE"] = "feature";
|
|
13
|
+
})(gate = AgreementStatusResponseDto.gate || (AgreementStatusResponseDto.gate = {}));
|
|
14
|
+
let granularity;
|
|
15
|
+
(function (granularity) {
|
|
16
|
+
granularity["PER_USER"] = "per-user";
|
|
17
|
+
granularity["PER_ACCOUNT"] = "per-account";
|
|
18
|
+
})(granularity = AgreementStatusResponseDto.granularity || (AgreementStatusResponseDto.granularity = {}));
|
|
19
|
+
let taxIdMode;
|
|
20
|
+
(function (taxIdMode) {
|
|
21
|
+
taxIdMode["NONE"] = "none";
|
|
22
|
+
taxIdMode["EXACT9"] = "exact9";
|
|
23
|
+
taxIdMode["EXACT9_CA_MIN9"] = "exact9-ca-min9";
|
|
24
|
+
})(taxIdMode = AgreementStatusResponseDto.taxIdMode || (AgreementStatusResponseDto.taxIdMode = {}));
|
|
25
|
+
let legalNameRule;
|
|
26
|
+
(function (legalNameRule) {
|
|
27
|
+
legalNameRule["MIN3"] = "min3";
|
|
28
|
+
legalNameRule["FIRST_LAST"] = "first-last";
|
|
29
|
+
})(legalNameRule = AgreementStatusResponseDto.legalNameRule || (AgreementStatusResponseDto.legalNameRule = {}));
|
|
30
|
+
let phone;
|
|
31
|
+
(function (phone) {
|
|
32
|
+
phone["NONE"] = "none";
|
|
33
|
+
phone["REQUIRED"] = "required";
|
|
34
|
+
})(phone = AgreementStatusResponseDto.phone || (AgreementStatusResponseDto.phone = {}));
|
|
35
|
+
})(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,63 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class AgreementsService {
|
|
4
|
+
/**
|
|
5
|
+
* List agreement statuses
|
|
6
|
+
* Whether the current login/account has accepted each service agreement, and whether it must before continuing.
|
|
7
|
+
* @param xStudioId The ID of the studio
|
|
8
|
+
* @returns AgreementStatusResponseDto Status of every agreement for the current login
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static getAgreements(xStudioId) {
|
|
12
|
+
return __request(OpenAPI, {
|
|
13
|
+
method: 'GET',
|
|
14
|
+
url: '/admin-portal/agreements',
|
|
15
|
+
headers: {
|
|
16
|
+
'x-studio-id': xStudioId,
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Fetch one agreement
|
|
22
|
+
* Status plus the current agreement body (versioned agreements) and the address the signature will be recorded from.
|
|
23
|
+
* @param xStudioId The ID of the studio
|
|
24
|
+
* @param scope Agreement slug (msa, donations, products) or scope value (MSA, donations, products).
|
|
25
|
+
* @returns AgreementStatusResponseDto Agreement status, with the text to sign when versioned
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
static getAgreement(xStudioId, scope) {
|
|
29
|
+
return __request(OpenAPI, {
|
|
30
|
+
method: 'GET',
|
|
31
|
+
url: '/admin-portal/agreements/{scope}',
|
|
32
|
+
path: {
|
|
33
|
+
'scope': scope,
|
|
34
|
+
},
|
|
35
|
+
headers: {
|
|
36
|
+
'x-studio-id': xStudioId,
|
|
37
|
+
},
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Accept an agreement
|
|
42
|
+
* Records the signature for the current login/account and runs the agreement's follow-up actions.
|
|
43
|
+
* @param xStudioId The ID of the studio
|
|
44
|
+
* @param scope Agreement slug (msa, donations, products) or scope value (MSA, donations, products).
|
|
45
|
+
* @param requestBody Signature details
|
|
46
|
+
* @returns AgreementStatusResponseDto Agreement status after the signature was recorded
|
|
47
|
+
* @throws ApiError
|
|
48
|
+
*/
|
|
49
|
+
static acceptAgreement(xStudioId, scope, requestBody) {
|
|
50
|
+
return __request(OpenAPI, {
|
|
51
|
+
method: 'POST',
|
|
52
|
+
url: '/admin-portal/agreements/{scope}/accept',
|
|
53
|
+
path: {
|
|
54
|
+
'scope': scope,
|
|
55
|
+
},
|
|
56
|
+
headers: {
|
|
57
|
+
'x-studio-id': xStudioId,
|
|
58
|
+
},
|
|
59
|
+
body: requestBody,
|
|
60
|
+
mediaType: 'application/json',
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -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
|
|
@@ -37,8 +37,9 @@ export class FeaturesDonationsService {
|
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
|
+
* @deprecated
|
|
40
41
|
* Validate the service agreement exist or not
|
|
41
|
-
* Check if the service agreement exists for the given studio ID
|
|
42
|
+
* Check if the service agreement exists for the given studio ID. Deprecated: use GET /agreements/donations.
|
|
42
43
|
* @param xStudioId The ID of the studio
|
|
43
44
|
* @returns SuccessResponse Service agreement fetched successfully
|
|
44
45
|
* @throws ApiError
|
|
@@ -53,8 +54,9 @@ export class FeaturesDonationsService {
|
|
|
53
54
|
});
|
|
54
55
|
}
|
|
55
56
|
/**
|
|
57
|
+
* @deprecated
|
|
56
58
|
* Create the service agreement
|
|
57
|
-
* Create a new service agreement for the given studio ID
|
|
59
|
+
* Create a new service agreement for the given studio ID. Deprecated: use POST /agreements/donations/accept.
|
|
58
60
|
* @param xStudioId The ID of the studio
|
|
59
61
|
* @param requestBody Payload to create service agreement
|
|
60
62
|
* @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
|
|
@@ -73,8 +73,9 @@ export class FeaturesProductsService {
|
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
75
|
/**
|
|
76
|
+
* @deprecated
|
|
76
77
|
* Validate the service agreement exist or not
|
|
77
|
-
* Check if the service agreement exists for the given studio ID
|
|
78
|
+
* Check if the service agreement exists for the given studio ID. Deprecated: use GET /agreements/products.
|
|
78
79
|
* @param xStudioId The ID of the studio
|
|
79
80
|
* @returns SuccessResponse Service agreement fetched successfully
|
|
80
81
|
* @throws ApiError
|
|
@@ -89,8 +90,9 @@ export class FeaturesProductsService {
|
|
|
89
90
|
});
|
|
90
91
|
}
|
|
91
92
|
/**
|
|
93
|
+
* @deprecated
|
|
92
94
|
* Create the service agreement
|
|
93
|
-
* Create a new service agreement for the given studio ID
|
|
95
|
+
* Create a new service agreement for the given studio ID. Deprecated: use POST /agreements/products/accept.
|
|
94
96
|
* @param xStudioId The ID of the studio
|
|
95
97
|
* @param requestBody Payload to create service agreement
|
|
96
98
|
* @returns SuccessResponse Service agreement created successfully
|
|
@@ -249,6 +251,26 @@ export class FeaturesProductsService {
|
|
|
249
251
|
mediaType: 'application/json',
|
|
250
252
|
});
|
|
251
253
|
}
|
|
254
|
+
/**
|
|
255
|
+
* Upload a product image through the AWS-Gateway pipeline
|
|
256
|
+
* 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.
|
|
257
|
+
* @param xStudioId The ID of the studio
|
|
258
|
+
* @param productId The ID of the product
|
|
259
|
+
* @returns SuccessResponse Product image processed, stored and attached
|
|
260
|
+
* @throws ApiError
|
|
261
|
+
*/
|
|
262
|
+
static uploadProductImage(xStudioId, productId) {
|
|
263
|
+
return __request(OpenAPI, {
|
|
264
|
+
method: 'POST',
|
|
265
|
+
url: '/admin-portal/features/products/{productId}/upload-image',
|
|
266
|
+
path: {
|
|
267
|
+
'productId': productId,
|
|
268
|
+
},
|
|
269
|
+
headers: {
|
|
270
|
+
'x-studio-id': xStudioId,
|
|
271
|
+
},
|
|
272
|
+
});
|
|
273
|
+
}
|
|
252
274
|
/**
|
|
253
275
|
* Create the duplicate product
|
|
254
276
|
* Create a new duplicate product for the given product ID
|
|
@@ -51,6 +51,14 @@ export declare class SuperUserManageImageFilesService {
|
|
|
51
51
|
* @throws ApiError
|
|
52
52
|
*/
|
|
53
53
|
static startImageFileUpload(xStudioId: string, requestBody: StartImageUploadRequestDto): CancelablePromise<StartImageUploadResponseDto>;
|
|
54
|
+
/**
|
|
55
|
+
* Upload an image through the AWS-Gateway pipeline
|
|
56
|
+
* Multipart upload: the bytes are validated and stored by the AWS-Gateway /image/process route (preset none) and the image row is created with the gateway-measured dimensions. Replaces start-image-upload + the browser PUT for this flow.
|
|
57
|
+
* @param xStudioId The ID of the studio
|
|
58
|
+
* @returns CreateImageFileResponseDto Image processed, stored and recorded successfully
|
|
59
|
+
* @throws ApiError
|
|
60
|
+
*/
|
|
61
|
+
static uploadImageFile(xStudioId: string): CancelablePromise<CreateImageFileResponseDto>;
|
|
54
62
|
/**
|
|
55
63
|
* Rename an image file
|
|
56
64
|
* Rename an image file by id
|