@drttix/drt-sdk 2.0.5 → 2.0.6
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 +2 -0
- package/dist/cjs/src/definitions/portal.d.ts +4 -0
- package/dist/cjs/src/definitions/portal.js +25 -21
- package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/portal/index.d.ts +9 -0
- package/dist/cjs/src/generated/portal/index.js +5 -1
- package/dist/cjs/src/generated/portal/models/CreateShowCodeRequestDto.d.ts +1 -1
- package/dist/cjs/src/generated/portal/models/DeletePushSubscriptionRequestDto.d.ts +3 -0
- package/dist/cjs/src/generated/portal/models/DeletePushSubscriptionRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/PushPublicKeyResponseDto.d.ts +6 -0
- package/dist/cjs/src/generated/portal/models/PushPublicKeyResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/PushSendResponseDto.d.ts +15 -0
- package/dist/cjs/src/generated/portal/models/PushSendResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/PushSubscriptionKeysDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/PushSubscriptionKeysDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SalesTaxLookupRequestDto.d.ts +9 -0
- package/dist/cjs/src/generated/portal/models/SalesTaxLookupRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SalesTaxLookupResponseDto.d.ts +6 -0
- package/dist/cjs/src/generated/portal/models/SalesTaxLookupResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SavePushSubscriptionRequestDto.d.ts +7 -0
- package/dist/cjs/src/generated/portal/models/SavePushSubscriptionRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/UpdateShowCodeRequestDto.d.ts +1 -1
- package/dist/cjs/src/generated/portal/services/PushNotificationsService.d.ts +33 -0
- package/dist/cjs/src/generated/portal/services/PushNotificationsService.js +62 -0
- package/dist/cjs/src/generated/portal/services/ShowsService.d.ts +11 -0
- package/dist/cjs/src/generated/portal/services/ShowsService.js +19 -0
- package/dist/cjs/src/generated/portal/services/SuperUserPushNotificationsService.d.ts +13 -0
- package/dist/cjs/src/generated/portal/services/SuperUserPushNotificationsService.js +28 -0
- package/dist/cjs/src/generated/portal/types.d.ts +7 -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/staging/index.d.ts +2 -0
- package/dist/cjs/src/staging/portal.d.ts +4 -0
- package/dist/cjs/src/staging/portal.js +25 -21
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/src/definitions/portal.d.ts +4 -0
- package/dist/esm/src/definitions/portal.js +4 -0
- package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/portal/index.d.ts +9 -0
- package/dist/esm/src/generated/portal/index.js +2 -0
- package/dist/esm/src/generated/portal/models/CreateShowCodeRequestDto.d.ts +1 -1
- package/dist/esm/src/generated/portal/models/DeletePushSubscriptionRequestDto.d.ts +3 -0
- package/dist/esm/src/generated/portal/models/DeletePushSubscriptionRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/PushPublicKeyResponseDto.d.ts +6 -0
- package/dist/esm/src/generated/portal/models/PushPublicKeyResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/PushSendResponseDto.d.ts +15 -0
- package/dist/esm/src/generated/portal/models/PushSendResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/PushSubscriptionKeysDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/PushSubscriptionKeysDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SalesTaxLookupRequestDto.d.ts +9 -0
- package/dist/esm/src/generated/portal/models/SalesTaxLookupRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SalesTaxLookupResponseDto.d.ts +6 -0
- package/dist/esm/src/generated/portal/models/SalesTaxLookupResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SavePushSubscriptionRequestDto.d.ts +7 -0
- package/dist/esm/src/generated/portal/models/SavePushSubscriptionRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/UpdateShowCodeRequestDto.d.ts +1 -1
- package/dist/esm/src/generated/portal/services/PushNotificationsService.d.ts +33 -0
- package/dist/esm/src/generated/portal/services/PushNotificationsService.js +58 -0
- package/dist/esm/src/generated/portal/services/ShowsService.d.ts +11 -0
- package/dist/esm/src/generated/portal/services/ShowsService.js +19 -0
- package/dist/esm/src/generated/portal/services/SuperUserPushNotificationsService.d.ts +13 -0
- package/dist/esm/src/generated/portal/services/SuperUserPushNotificationsService.js +24 -0
- package/dist/esm/src/generated/portal/types.d.ts +7 -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/staging/index.d.ts +2 -0
- package/dist/esm/src/staging/portal.d.ts +4 -0
- package/dist/esm/src/staging/portal.js +4 -0
- package/package.json +1 -1
- package/src/definitions/portal.ts +4 -0
- package/src/generated/portal/core/OpenAPI.ts +1 -1
- package/src/generated/portal/index.ts +9 -0
- package/src/generated/portal/models/CreateShowCodeRequestDto.ts +1 -1
- package/src/generated/portal/models/DeletePushSubscriptionRequestDto.ts +8 -0
- package/src/generated/portal/models/PushPublicKeyResponseDto.ts +11 -0
- package/src/generated/portal/models/PushSendResponseDto.ts +20 -0
- package/src/generated/portal/models/PushSubscriptionKeysDto.ts +9 -0
- package/src/generated/portal/models/SalesTaxLookupRequestDto.ts +14 -0
- package/src/generated/portal/models/SalesTaxLookupResponseDto.ts +11 -0
- package/src/generated/portal/models/SavePushSubscriptionRequestDto.ts +12 -0
- package/src/generated/portal/models/UpdateShowCodeRequestDto.ts +1 -1
- package/src/generated/portal/services/PushNotificationsService.ts +75 -0
- package/src/generated/portal/services/ShowsService.ts +24 -0
- package/src/generated/portal/services/SuperUserPushNotificationsService.ts +33 -0
- package/src/generated/portal/types.ts +7 -0
- package/src/generated/scanner/core/OpenAPI.ts +1 -1
- package/src/generated/shopper/core/OpenAPI.ts +1 -1
- package/src/staging/portal.ts +4 -0
|
@@ -91,6 +91,8 @@ const portal_50 = require("../generated/portal");
|
|
|
91
91
|
const portal_51 = require("../generated/portal");
|
|
92
92
|
const portal_52 = require("../generated/portal");
|
|
93
93
|
const portal_53 = require("../generated/portal");
|
|
94
|
+
const portal_54 = require("../generated/portal");
|
|
95
|
+
const portal_55 = require("../generated/portal");
|
|
94
96
|
const wrap = (service) => (0, wrapService_1.wrapServiceForStaging)(service, OpenAPI_1.OpenAPI, wrapService_1.STAGING_URLS.portal);
|
|
95
97
|
exports.portalStaging = {
|
|
96
98
|
account: wrap(portal_1.AccountService),
|
|
@@ -125,27 +127,29 @@ exports.portalStaging = {
|
|
|
125
127
|
featuresproducts: wrap(portal_30.FeaturesProductsService),
|
|
126
128
|
help: wrap(portal_31.HelpService),
|
|
127
129
|
orderlookup: wrap(portal_32.OrderLookupService),
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
130
|
+
pushnotifications: wrap(portal_33.PushNotificationsService),
|
|
131
|
+
reports: wrap(portal_34.ReportsService),
|
|
132
|
+
settings: wrap(portal_35.SettingsService),
|
|
133
|
+
shows: wrap(portal_36.ShowsService),
|
|
134
|
+
superuserabandonedcarts: wrap(portal_37.SuperUserAbandonedCartsService),
|
|
135
|
+
superuseractivitylog: wrap(portal_38.SuperUserActivityLogService),
|
|
136
|
+
superuseradvancedstudiosettings: wrap(portal_39.SuperUserAdvancedStudioSettingsService),
|
|
137
|
+
superuseralertsandnotifications: wrap(portal_40.SuperUserAlertsAndNotificationsService),
|
|
138
|
+
superuserbuyerblacklist: wrap(portal_41.SuperUserBuyerBlacklistService),
|
|
139
|
+
superuserdocumentlibrary: wrap(portal_42.SuperUserDocumentLibraryService),
|
|
140
|
+
superusereditcss: wrap(portal_43.SuperUserEditCssService),
|
|
141
|
+
superuserextra: wrap(portal_44.SuperUserExtraService),
|
|
142
|
+
superuserimportblockedseats: wrap(portal_45.SuperUserImportBlockedSeatsService),
|
|
143
|
+
superuserlaunchreadiness: wrap(portal_46.SuperUserLaunchReadinessService),
|
|
144
|
+
superusermanageimagefiles: wrap(portal_47.SuperUserManageImageFilesService),
|
|
145
|
+
superuserperformancepix: wrap(portal_48.SuperuserPerformancePixService),
|
|
146
|
+
superuserpushnotifications: wrap(portal_49.SuperUserPushNotificationsService),
|
|
147
|
+
superuserreleasedtickets: wrap(portal_50.SuperUserReleasedTicketsService),
|
|
148
|
+
superusershoppers: wrap(portal_51.SuperUserShoppersService),
|
|
149
|
+
superuserstudiomanagementintegration: wrap(portal_52.SuperUserStudioManagementIntegrationService),
|
|
150
|
+
superusersupporttickets: wrap(portal_53.SuperUserSupportTicketsService),
|
|
151
|
+
superusertimedtriggers: wrap(portal_54.SuperUserTimedTriggersService),
|
|
152
|
+
superuservideoassets: wrap(portal_55.SuperUserVideoAssetsService),
|
|
149
153
|
};
|
|
150
154
|
// Re-export types
|
|
151
155
|
exports.PortalTypes = __importStar(require("../generated/portal/types"));
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -60,6 +60,7 @@ export declare const DRT: {
|
|
|
60
60
|
featuresproducts: typeof import("./src/generated/portal").FeaturesProductsService;
|
|
61
61
|
help: typeof import("./src/generated/portal").HelpService;
|
|
62
62
|
orderlookup: typeof import("./src/generated/portal").OrderLookupService;
|
|
63
|
+
pushnotifications: typeof import("./src/generated/portal").PushNotificationsService;
|
|
63
64
|
reports: typeof import("./src/generated/portal").ReportsService;
|
|
64
65
|
settings: typeof import("./src/generated/portal").SettingsService;
|
|
65
66
|
shows: typeof import("./src/generated/portal").ShowsService;
|
|
@@ -75,6 +76,7 @@ export declare const DRT: {
|
|
|
75
76
|
superuserlaunchreadiness: typeof import("./src/generated/portal").SuperUserLaunchReadinessService;
|
|
76
77
|
superusermanageimagefiles: typeof import("./src/generated/portal").SuperUserManageImageFilesService;
|
|
77
78
|
superuserperformancepix: typeof import("./src/generated/portal").SuperuserPerformancePixService;
|
|
79
|
+
superuserpushnotifications: typeof import("./src/generated/portal").SuperUserPushNotificationsService;
|
|
78
80
|
superuserreleasedtickets: typeof import("./src/generated/portal").SuperUserReleasedTicketsService;
|
|
79
81
|
superusershoppers: typeof import("./src/generated/portal").SuperUserShoppersService;
|
|
80
82
|
superuserstudiomanagementintegration: typeof import("./src/generated/portal").SuperUserStudioManagementIntegrationService;
|
|
@@ -30,6 +30,7 @@ import { FeaturesPriorityService } from "../generated/portal";
|
|
|
30
30
|
import { FeaturesProductsService } from "../generated/portal";
|
|
31
31
|
import { HelpService } from "../generated/portal";
|
|
32
32
|
import { OrderLookupService } from "../generated/portal";
|
|
33
|
+
import { PushNotificationsService } from "../generated/portal";
|
|
33
34
|
import { ReportsService } from "../generated/portal";
|
|
34
35
|
import { SettingsService } from "../generated/portal";
|
|
35
36
|
import { ShowsService } from "../generated/portal";
|
|
@@ -45,6 +46,7 @@ import { SuperUserImportBlockedSeatsService } from "../generated/portal";
|
|
|
45
46
|
import { SuperUserLaunchReadinessService } from "../generated/portal";
|
|
46
47
|
import { SuperUserManageImageFilesService } from "../generated/portal";
|
|
47
48
|
import { SuperuserPerformancePixService } from "../generated/portal";
|
|
49
|
+
import { SuperUserPushNotificationsService } from "../generated/portal";
|
|
48
50
|
import { SuperUserReleasedTicketsService } from "../generated/portal";
|
|
49
51
|
import { SuperUserShoppersService } from "../generated/portal";
|
|
50
52
|
import { SuperUserStudioManagementIntegrationService } from "../generated/portal";
|
|
@@ -84,6 +86,7 @@ export declare const portal: {
|
|
|
84
86
|
featuresproducts: typeof FeaturesProductsService;
|
|
85
87
|
help: typeof HelpService;
|
|
86
88
|
orderlookup: typeof OrderLookupService;
|
|
89
|
+
pushnotifications: typeof PushNotificationsService;
|
|
87
90
|
reports: typeof ReportsService;
|
|
88
91
|
settings: typeof SettingsService;
|
|
89
92
|
shows: typeof ShowsService;
|
|
@@ -99,6 +102,7 @@ export declare const portal: {
|
|
|
99
102
|
superuserlaunchreadiness: typeof SuperUserLaunchReadinessService;
|
|
100
103
|
superusermanageimagefiles: typeof SuperUserManageImageFilesService;
|
|
101
104
|
superuserperformancepix: typeof SuperuserPerformancePixService;
|
|
105
|
+
superuserpushnotifications: typeof SuperUserPushNotificationsService;
|
|
102
106
|
superuserreleasedtickets: typeof SuperUserReleasedTicketsService;
|
|
103
107
|
superusershoppers: typeof SuperUserShoppersService;
|
|
104
108
|
superuserstudiomanagementintegration: typeof SuperUserStudioManagementIntegrationService;
|
|
@@ -31,6 +31,7 @@ import { FeaturesPriorityService } from "../generated/portal/index.js";
|
|
|
31
31
|
import { FeaturesProductsService } from "../generated/portal/index.js";
|
|
32
32
|
import { HelpService } from "../generated/portal/index.js";
|
|
33
33
|
import { OrderLookupService } from "../generated/portal/index.js";
|
|
34
|
+
import { PushNotificationsService } from "../generated/portal/index.js";
|
|
34
35
|
import { ReportsService } from "../generated/portal/index.js";
|
|
35
36
|
import { SettingsService } from "../generated/portal/index.js";
|
|
36
37
|
import { ShowsService } from "../generated/portal/index.js";
|
|
@@ -46,6 +47,7 @@ import { SuperUserImportBlockedSeatsService } from "../generated/portal/index.js
|
|
|
46
47
|
import { SuperUserLaunchReadinessService } from "../generated/portal/index.js";
|
|
47
48
|
import { SuperUserManageImageFilesService } from "../generated/portal/index.js";
|
|
48
49
|
import { SuperuserPerformancePixService } from "../generated/portal/index.js";
|
|
50
|
+
import { SuperUserPushNotificationsService } from "../generated/portal/index.js";
|
|
49
51
|
import { SuperUserReleasedTicketsService } from "../generated/portal/index.js";
|
|
50
52
|
import { SuperUserShoppersService } from "../generated/portal/index.js";
|
|
51
53
|
import { SuperUserStudioManagementIntegrationService } from "../generated/portal/index.js";
|
|
@@ -85,6 +87,7 @@ export const portal = {
|
|
|
85
87
|
featuresproducts: FeaturesProductsService,
|
|
86
88
|
help: HelpService,
|
|
87
89
|
orderlookup: OrderLookupService,
|
|
90
|
+
pushnotifications: PushNotificationsService,
|
|
88
91
|
reports: ReportsService,
|
|
89
92
|
settings: SettingsService,
|
|
90
93
|
shows: ShowsService,
|
|
@@ -100,6 +103,7 @@ export const portal = {
|
|
|
100
103
|
superuserlaunchreadiness: SuperUserLaunchReadinessService,
|
|
101
104
|
superusermanageimagefiles: SuperUserManageImageFilesService,
|
|
102
105
|
superuserperformancepix: SuperuserPerformancePixService,
|
|
106
|
+
superuserpushnotifications: SuperUserPushNotificationsService,
|
|
103
107
|
superuserreleasedtickets: SuperUserReleasedTicketsService,
|
|
104
108
|
superusershoppers: SuperUserShoppersService,
|
|
105
109
|
superuserstudiomanagementintegration: SuperUserStudioManagementIntegrationService,
|
|
@@ -124,6 +124,7 @@ export type { DeleteMailRequestDto } from './models/DeleteMailRequestDto';
|
|
|
124
124
|
export type { DeletePatronCodeRequestDto } from './models/DeletePatronCodeRequestDto';
|
|
125
125
|
export type { DeletePriorityCodeRequestDto } from './models/DeletePriorityCodeRequestDto';
|
|
126
126
|
export type { DeleteProductVariantRequestDto } from './models/DeleteProductVariantRequestDto';
|
|
127
|
+
export type { DeletePushSubscriptionRequestDto } from './models/DeletePushSubscriptionRequestDto';
|
|
127
128
|
export type { DeployShowRequestDto } from './models/DeployShowRequestDto';
|
|
128
129
|
export type { DigitalAssetLogResponseDto } from './models/DigitalAssetLogResponseDto';
|
|
129
130
|
export type { DigitalAssetsListResponseDto } from './models/DigitalAssetsListResponseDto';
|
|
@@ -284,6 +285,9 @@ export type { ProductSalesRequestDto } from './models/ProductSalesRequestDto';
|
|
|
284
285
|
export type { ProductSalesResponseDto } from './models/ProductSalesResponseDto';
|
|
285
286
|
export type { ProductSendMailRequestDto } from './models/ProductSendMailRequestDto';
|
|
286
287
|
export type { ProductVariantResponseDto } from './models/ProductVariantResponseDto';
|
|
288
|
+
export type { PushPublicKeyResponseDto } from './models/PushPublicKeyResponseDto';
|
|
289
|
+
export type { PushSendResponseDto } from './models/PushSendResponseDto';
|
|
290
|
+
export type { PushSubscriptionKeysDto } from './models/PushSubscriptionKeysDto';
|
|
287
291
|
export type { QuestionDetailsResponseDto } from './models/QuestionDetailsResponseDto';
|
|
288
292
|
export type { QuestionResponseDto } from './models/QuestionResponseDto';
|
|
289
293
|
export type { QuestionShowGroupAndProductResponse } from './models/QuestionShowGroupAndProductResponse';
|
|
@@ -323,10 +327,13 @@ export type { RevenueVisualizerShowDto } from './models/RevenueVisualizerShowDto
|
|
|
323
327
|
export type { SaleDetail } from './models/SaleDetail';
|
|
324
328
|
export type { SalesByTierResponseDto } from './models/SalesByTierResponseDto';
|
|
325
329
|
export type { SalesProductResponseDto } from './models/SalesProductResponseDto';
|
|
330
|
+
export type { SalesTaxLookupRequestDto } from './models/SalesTaxLookupRequestDto';
|
|
331
|
+
export type { SalesTaxLookupResponseDto } from './models/SalesTaxLookupResponseDto';
|
|
326
332
|
export { SalesTaxRegistrationOption } from './models/SalesTaxRegistrationOption';
|
|
327
333
|
export type { SaveAdministrativeNoteRequestDto } from './models/SaveAdministrativeNoteRequestDto';
|
|
328
334
|
export type { SavePricingSetRequestDto } from './models/SavePricingSetRequestDto';
|
|
329
335
|
export type { SavePricingSetResponseDto } from './models/SavePricingSetResponseDto';
|
|
336
|
+
export type { SavePushSubscriptionRequestDto } from './models/SavePushSubscriptionRequestDto';
|
|
330
337
|
export type { SaveVideoAssetChapterRequestDto } from './models/SaveVideoAssetChapterRequestDto';
|
|
331
338
|
export type { SaveVideoAssetRequestDto } from './models/SaveVideoAssetRequestDto';
|
|
332
339
|
export type { ScannedTicketOrderResponseDto } from './models/ScannedTicketOrderResponseDto';
|
|
@@ -549,6 +556,7 @@ export { FeaturesPriorityService } from './services/FeaturesPriorityService';
|
|
|
549
556
|
export { FeaturesProductsService } from './services/FeaturesProductsService';
|
|
550
557
|
export { HelpService } from './services/HelpService';
|
|
551
558
|
export { OrderLookupService } from './services/OrderLookupService';
|
|
559
|
+
export { PushNotificationsService } from './services/PushNotificationsService';
|
|
552
560
|
export { ReportsService } from './services/ReportsService';
|
|
553
561
|
export { SettingsService } from './services/SettingsService';
|
|
554
562
|
export { ShowsService } from './services/ShowsService';
|
|
@@ -564,6 +572,7 @@ export { SuperUserImportBlockedSeatsService } from './services/SuperUserImportBl
|
|
|
564
572
|
export { SuperUserLaunchReadinessService } from './services/SuperUserLaunchReadinessService';
|
|
565
573
|
export { SuperUserManageImageFilesService } from './services/SuperUserManageImageFilesService';
|
|
566
574
|
export { SuperuserPerformancePixService } from './services/SuperuserPerformancePixService';
|
|
575
|
+
export { SuperUserPushNotificationsService } from './services/SuperUserPushNotificationsService';
|
|
567
576
|
export { SuperUserReleasedTicketsService } from './services/SuperUserReleasedTicketsService';
|
|
568
577
|
export { SuperUserShoppersService } from './services/SuperUserShoppersService';
|
|
569
578
|
export { SuperUserStudioManagementIntegrationService } from './services/SuperUserStudioManagementIntegrationService';
|
|
@@ -54,6 +54,7 @@ export { FeaturesPriorityService } from './services/FeaturesPriorityService.js';
|
|
|
54
54
|
export { FeaturesProductsService } from './services/FeaturesProductsService.js';
|
|
55
55
|
export { HelpService } from './services/HelpService.js';
|
|
56
56
|
export { OrderLookupService } from './services/OrderLookupService.js';
|
|
57
|
+
export { PushNotificationsService } from './services/PushNotificationsService.js';
|
|
57
58
|
export { ReportsService } from './services/ReportsService.js';
|
|
58
59
|
export { SettingsService } from './services/SettingsService.js';
|
|
59
60
|
export { ShowsService } from './services/ShowsService.js';
|
|
@@ -69,6 +70,7 @@ export { SuperUserImportBlockedSeatsService } from './services/SuperUserImportBl
|
|
|
69
70
|
export { SuperUserLaunchReadinessService } from './services/SuperUserLaunchReadinessService.js';
|
|
70
71
|
export { SuperUserManageImageFilesService } from './services/SuperUserManageImageFilesService.js';
|
|
71
72
|
export { SuperuserPerformancePixService } from './services/SuperuserPerformancePixService.js';
|
|
73
|
+
export { SuperUserPushNotificationsService } from './services/SuperUserPushNotificationsService.js';
|
|
72
74
|
export { SuperUserReleasedTicketsService } from './services/SuperUserReleasedTicketsService.js';
|
|
73
75
|
export { SuperUserShoppersService } from './services/SuperUserShoppersService.js';
|
|
74
76
|
export { SuperUserStudioManagementIntegrationService } from './services/SuperUserStudioManagementIntegrationService.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type PushSendResponseDto = {
|
|
2
|
+
success: boolean;
|
|
3
|
+
/**
|
|
4
|
+
* Subscribed devices for the studio.
|
|
5
|
+
*/
|
|
6
|
+
devices: number;
|
|
7
|
+
/**
|
|
8
|
+
* Devices the push service accepted it for.
|
|
9
|
+
*/
|
|
10
|
+
sent: number;
|
|
11
|
+
/**
|
|
12
|
+
* Devices that refused it. Expired subscriptions (404/410) are dropped and counted here once.
|
|
13
|
+
*/
|
|
14
|
+
failed: number;
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { DeletePushSubscriptionRequestDto } from '../models/DeletePushSubscriptionRequestDto';
|
|
2
|
+
import type { PushPublicKeyResponseDto } from '../models/PushPublicKeyResponseDto';
|
|
3
|
+
import type { SavePushSubscriptionRequestDto } from '../models/SavePushSubscriptionRequestDto';
|
|
4
|
+
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
5
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
|
+
export declare class PushNotificationsService {
|
|
7
|
+
/**
|
|
8
|
+
* Fetch the VAPID public key a device subscribes with
|
|
9
|
+
* Empty when push is not configured on this environment, which the app reads as "not available".
|
|
10
|
+
* @param xStudioId The ID of the studio
|
|
11
|
+
* @returns PushPublicKeyResponseDto VAPID public key fetched successfully
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static getPushPublicKey(xStudioId: string): CancelablePromise<PushPublicKeyResponseDto>;
|
|
15
|
+
/**
|
|
16
|
+
* Register (or refresh) this device's push subscription
|
|
17
|
+
* Called by the installed app on every open while notifications are on, so a rotated subscription replaces the old one. The endpoint is the device's identity.
|
|
18
|
+
* @param xStudioId The ID of the studio
|
|
19
|
+
* @param requestBody
|
|
20
|
+
* @returns SuccessResponse Push subscription saved successfully
|
|
21
|
+
* @throws ApiError
|
|
22
|
+
*/
|
|
23
|
+
static savePushSubscription(xStudioId: string, requestBody: SavePushSubscriptionRequestDto): CancelablePromise<SuccessResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Remove this device's push subscription
|
|
26
|
+
* Called when notifications are turned off or on sign-out.
|
|
27
|
+
* @param xStudioId The ID of the studio
|
|
28
|
+
* @param requestBody
|
|
29
|
+
* @returns SuccessResponse Push subscription removed successfully
|
|
30
|
+
* @throws ApiError
|
|
31
|
+
*/
|
|
32
|
+
static deletePushSubscription(xStudioId: string, requestBody: DeletePushSubscriptionRequestDto): CancelablePromise<SuccessResponse>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class PushNotificationsService {
|
|
4
|
+
/**
|
|
5
|
+
* Fetch the VAPID public key a device subscribes with
|
|
6
|
+
* Empty when push is not configured on this environment, which the app reads as "not available".
|
|
7
|
+
* @param xStudioId The ID of the studio
|
|
8
|
+
* @returns PushPublicKeyResponseDto VAPID public key fetched successfully
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static getPushPublicKey(xStudioId) {
|
|
12
|
+
return __request(OpenAPI, {
|
|
13
|
+
method: 'GET',
|
|
14
|
+
url: '/admin-portal/push/vapid-public-key',
|
|
15
|
+
headers: {
|
|
16
|
+
'x-studio-id': xStudioId,
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Register (or refresh) this device's push subscription
|
|
22
|
+
* Called by the installed app on every open while notifications are on, so a rotated subscription replaces the old one. The endpoint is the device's identity.
|
|
23
|
+
* @param xStudioId The ID of the studio
|
|
24
|
+
* @param requestBody
|
|
25
|
+
* @returns SuccessResponse Push subscription saved successfully
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
static savePushSubscription(xStudioId, requestBody) {
|
|
29
|
+
return __request(OpenAPI, {
|
|
30
|
+
method: 'POST',
|
|
31
|
+
url: '/admin-portal/push/subscription',
|
|
32
|
+
headers: {
|
|
33
|
+
'x-studio-id': xStudioId,
|
|
34
|
+
},
|
|
35
|
+
body: requestBody,
|
|
36
|
+
mediaType: 'application/json',
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Remove this device's push subscription
|
|
41
|
+
* Called when notifications are turned off or on sign-out.
|
|
42
|
+
* @param xStudioId The ID of the studio
|
|
43
|
+
* @param requestBody
|
|
44
|
+
* @returns SuccessResponse Push subscription removed successfully
|
|
45
|
+
* @throws ApiError
|
|
46
|
+
*/
|
|
47
|
+
static deletePushSubscription(xStudioId, requestBody) {
|
|
48
|
+
return __request(OpenAPI, {
|
|
49
|
+
method: 'DELETE',
|
|
50
|
+
url: '/admin-portal/push/subscription',
|
|
51
|
+
headers: {
|
|
52
|
+
'x-studio-id': xStudioId,
|
|
53
|
+
},
|
|
54
|
+
body: requestBody,
|
|
55
|
+
mediaType: 'application/json',
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -17,6 +17,8 @@ import type { MigrateTicketRequestDto } from '../models/MigrateTicketRequestDto'
|
|
|
17
17
|
import type { MigrateTicketResultDto } from '../models/MigrateTicketResultDto';
|
|
18
18
|
import type { PerformersListRequestDto } from '../models/PerformersListRequestDto';
|
|
19
19
|
import type { PerformersListResponseDto } from '../models/PerformersListResponseDto';
|
|
20
|
+
import type { SalesTaxLookupRequestDto } from '../models/SalesTaxLookupRequestDto';
|
|
21
|
+
import type { SalesTaxLookupResponseDto } from '../models/SalesTaxLookupResponseDto';
|
|
20
22
|
import type { SavePricingSetRequestDto } from '../models/SavePricingSetRequestDto';
|
|
21
23
|
import type { SavePricingSetResponseDto } from '../models/SavePricingSetResponseDto';
|
|
22
24
|
import type { SeatDetailsResponseDto } from '../models/SeatDetailsResponseDto';
|
|
@@ -226,6 +228,15 @@ export declare class ShowsService {
|
|
|
226
228
|
* @throws ApiError
|
|
227
229
|
*/
|
|
228
230
|
static getShowSectionDetail(showId: string, sectionId: string): CancelablePromise<ShowSectionDetail>;
|
|
231
|
+
/**
|
|
232
|
+
* Look up a venue's sales tax
|
|
233
|
+
* For Create Event to offer in place of the studio sales tax
|
|
234
|
+
* @param xStudioId The ID of the studio
|
|
235
|
+
* @param requestBody The venue's address
|
|
236
|
+
* @returns SalesTaxLookupResponseDto The venue's sales tax rate
|
|
237
|
+
* @throws ApiError
|
|
238
|
+
*/
|
|
239
|
+
static lookupShowSalesTax(xStudioId: string, requestBody: SalesTaxLookupRequestDto): CancelablePromise<SalesTaxLookupResponseDto>;
|
|
229
240
|
/**
|
|
230
241
|
* Create a new show
|
|
231
242
|
* An Admin user should be able to create a General Admission Event
|
|
@@ -417,6 +417,25 @@ export class ShowsService {
|
|
|
417
417
|
},
|
|
418
418
|
});
|
|
419
419
|
}
|
|
420
|
+
/**
|
|
421
|
+
* Look up a venue's sales tax
|
|
422
|
+
* For Create Event to offer in place of the studio sales tax
|
|
423
|
+
* @param xStudioId The ID of the studio
|
|
424
|
+
* @param requestBody The venue's address
|
|
425
|
+
* @returns SalesTaxLookupResponseDto The venue's sales tax rate
|
|
426
|
+
* @throws ApiError
|
|
427
|
+
*/
|
|
428
|
+
static lookupShowSalesTax(xStudioId, requestBody) {
|
|
429
|
+
return __request(OpenAPI, {
|
|
430
|
+
method: 'POST',
|
|
431
|
+
url: '/admin-portal/shows/sales-tax-lookup',
|
|
432
|
+
headers: {
|
|
433
|
+
'x-studio-id': xStudioId,
|
|
434
|
+
},
|
|
435
|
+
body: requestBody,
|
|
436
|
+
mediaType: 'application/json',
|
|
437
|
+
});
|
|
438
|
+
}
|
|
420
439
|
/**
|
|
421
440
|
* Create a new show
|
|
422
441
|
* An Admin user should be able to create a General Admission Event
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { PushSendResponseDto } from '../models/PushSendResponseDto';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
+
export declare class SuperUserPushNotificationsService {
|
|
4
|
+
/**
|
|
5
|
+
* Push an alert to every device the studio has registered
|
|
6
|
+
* Sends the alert subject and message as a push notification to each phone the studio has the app installed on. Reports how many devices were tried and how many accepted it.
|
|
7
|
+
* @param xStudioId The ID of the studio
|
|
8
|
+
* @param alertId The ID of the alert
|
|
9
|
+
* @returns PushSendResponseDto Alert pushed to the studio devices
|
|
10
|
+
* @throws ApiError
|
|
11
|
+
*/
|
|
12
|
+
static pushAlertToStudio(xStudioId: string, alertId: string): CancelablePromise<PushSendResponseDto>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class SuperUserPushNotificationsService {
|
|
4
|
+
/**
|
|
5
|
+
* Push an alert to every device the studio has registered
|
|
6
|
+
* Sends the alert subject and message as a push notification to each phone the studio has the app installed on. Reports how many devices were tried and how many accepted it.
|
|
7
|
+
* @param xStudioId The ID of the studio
|
|
8
|
+
* @param alertId The ID of the alert
|
|
9
|
+
* @returns PushSendResponseDto Alert pushed to the studio devices
|
|
10
|
+
* @throws ApiError
|
|
11
|
+
*/
|
|
12
|
+
static pushAlertToStudio(xStudioId, alertId) {
|
|
13
|
+
return __request(OpenAPI, {
|
|
14
|
+
method: 'POST',
|
|
15
|
+
url: '/admin-portal/superuser/push/alert/{alertId}',
|
|
16
|
+
path: {
|
|
17
|
+
'alertId': alertId,
|
|
18
|
+
},
|
|
19
|
+
headers: {
|
|
20
|
+
'x-studio-id': xStudioId,
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -115,6 +115,7 @@ export type { DeleteMailRequestDto } from './models/DeleteMailRequestDto';
|
|
|
115
115
|
export type { DeletePatronCodeRequestDto } from './models/DeletePatronCodeRequestDto';
|
|
116
116
|
export type { DeletePriorityCodeRequestDto } from './models/DeletePriorityCodeRequestDto';
|
|
117
117
|
export type { DeleteProductVariantRequestDto } from './models/DeleteProductVariantRequestDto';
|
|
118
|
+
export type { DeletePushSubscriptionRequestDto } from './models/DeletePushSubscriptionRequestDto';
|
|
118
119
|
export type { DeployShowRequestDto } from './models/DeployShowRequestDto';
|
|
119
120
|
export type { DigitalAssetLogResponseDto } from './models/DigitalAssetLogResponseDto';
|
|
120
121
|
export type { DigitalAssetsListResponseDto } from './models/DigitalAssetsListResponseDto';
|
|
@@ -273,6 +274,9 @@ export type { ProductSalesRequestDto } from './models/ProductSalesRequestDto';
|
|
|
273
274
|
export type { ProductSalesResponseDto } from './models/ProductSalesResponseDto';
|
|
274
275
|
export type { ProductSendMailRequestDto } from './models/ProductSendMailRequestDto';
|
|
275
276
|
export type { ProductVariantResponseDto } from './models/ProductVariantResponseDto';
|
|
277
|
+
export type { PushPublicKeyResponseDto } from './models/PushPublicKeyResponseDto';
|
|
278
|
+
export type { PushSendResponseDto } from './models/PushSendResponseDto';
|
|
279
|
+
export type { PushSubscriptionKeysDto } from './models/PushSubscriptionKeysDto';
|
|
276
280
|
export type { QuestionDetailsResponseDto } from './models/QuestionDetailsResponseDto';
|
|
277
281
|
export type { QuestionResponseDto } from './models/QuestionResponseDto';
|
|
278
282
|
export type { QuestionShowGroupAndProductResponse } from './models/QuestionShowGroupAndProductResponse';
|
|
@@ -312,9 +316,12 @@ export type { RevenueVisualizerShowDto } from './models/RevenueVisualizerShowDto
|
|
|
312
316
|
export type { SaleDetail } from './models/SaleDetail';
|
|
313
317
|
export type { SalesByTierResponseDto } from './models/SalesByTierResponseDto';
|
|
314
318
|
export type { SalesProductResponseDto } from './models/SalesProductResponseDto';
|
|
319
|
+
export type { SalesTaxLookupRequestDto } from './models/SalesTaxLookupRequestDto';
|
|
320
|
+
export type { SalesTaxLookupResponseDto } from './models/SalesTaxLookupResponseDto';
|
|
315
321
|
export type { SaveAdministrativeNoteRequestDto } from './models/SaveAdministrativeNoteRequestDto';
|
|
316
322
|
export type { SavePricingSetRequestDto } from './models/SavePricingSetRequestDto';
|
|
317
323
|
export type { SavePricingSetResponseDto } from './models/SavePricingSetResponseDto';
|
|
324
|
+
export type { SavePushSubscriptionRequestDto } from './models/SavePushSubscriptionRequestDto';
|
|
318
325
|
export type { SaveVideoAssetChapterRequestDto } from './models/SaveVideoAssetChapterRequestDto';
|
|
319
326
|
export type { SaveVideoAssetRequestDto } from './models/SaveVideoAssetRequestDto';
|
|
320
327
|
export type { ScannedTicketOrderResponseDto } from './models/ScannedTicketOrderResponseDto';
|
|
@@ -75,6 +75,7 @@ export declare const DRT: {
|
|
|
75
75
|
featuresproducts: typeof import("../generated/portal").FeaturesProductsService;
|
|
76
76
|
help: typeof import("../generated/portal").HelpService;
|
|
77
77
|
orderlookup: typeof import("../generated/portal").OrderLookupService;
|
|
78
|
+
pushnotifications: typeof import("../generated/portal").PushNotificationsService;
|
|
78
79
|
reports: typeof import("../generated/portal").ReportsService;
|
|
79
80
|
settings: typeof import("../generated/portal").SettingsService;
|
|
80
81
|
shows: typeof import("../generated/portal").ShowsService;
|
|
@@ -90,6 +91,7 @@ export declare const DRT: {
|
|
|
90
91
|
superuserlaunchreadiness: typeof import("../generated/portal").SuperUserLaunchReadinessService;
|
|
91
92
|
superusermanageimagefiles: typeof import("../generated/portal").SuperUserManageImageFilesService;
|
|
92
93
|
superuserperformancepix: typeof import("../generated/portal").SuperuserPerformancePixService;
|
|
94
|
+
superuserpushnotifications: typeof import("../generated/portal").SuperUserPushNotificationsService;
|
|
93
95
|
superuserreleasedtickets: typeof import("../generated/portal").SuperUserReleasedTicketsService;
|
|
94
96
|
superusershoppers: typeof import("../generated/portal").SuperUserShoppersService;
|
|
95
97
|
superuserstudiomanagementintegration: typeof import("../generated/portal").SuperUserStudioManagementIntegrationService;
|
|
@@ -30,6 +30,7 @@ import { FeaturesPriorityService } from "../generated/portal";
|
|
|
30
30
|
import { FeaturesProductsService } from "../generated/portal";
|
|
31
31
|
import { HelpService } from "../generated/portal";
|
|
32
32
|
import { OrderLookupService } from "../generated/portal";
|
|
33
|
+
import { PushNotificationsService } from "../generated/portal";
|
|
33
34
|
import { ReportsService } from "../generated/portal";
|
|
34
35
|
import { SettingsService } from "../generated/portal";
|
|
35
36
|
import { ShowsService } from "../generated/portal";
|
|
@@ -45,6 +46,7 @@ import { SuperUserImportBlockedSeatsService } from "../generated/portal";
|
|
|
45
46
|
import { SuperUserLaunchReadinessService } from "../generated/portal";
|
|
46
47
|
import { SuperUserManageImageFilesService } from "../generated/portal";
|
|
47
48
|
import { SuperuserPerformancePixService } from "../generated/portal";
|
|
49
|
+
import { SuperUserPushNotificationsService } from "../generated/portal";
|
|
48
50
|
import { SuperUserReleasedTicketsService } from "../generated/portal";
|
|
49
51
|
import { SuperUserShoppersService } from "../generated/portal";
|
|
50
52
|
import { SuperUserStudioManagementIntegrationService } from "../generated/portal";
|
|
@@ -84,6 +86,7 @@ export declare const portalStaging: {
|
|
|
84
86
|
featuresproducts: typeof FeaturesProductsService;
|
|
85
87
|
help: typeof HelpService;
|
|
86
88
|
orderlookup: typeof OrderLookupService;
|
|
89
|
+
pushnotifications: typeof PushNotificationsService;
|
|
87
90
|
reports: typeof ReportsService;
|
|
88
91
|
settings: typeof SettingsService;
|
|
89
92
|
shows: typeof ShowsService;
|
|
@@ -99,6 +102,7 @@ export declare const portalStaging: {
|
|
|
99
102
|
superuserlaunchreadiness: typeof SuperUserLaunchReadinessService;
|
|
100
103
|
superusermanageimagefiles: typeof SuperUserManageImageFilesService;
|
|
101
104
|
superuserperformancepix: typeof SuperuserPerformancePixService;
|
|
105
|
+
superuserpushnotifications: typeof SuperUserPushNotificationsService;
|
|
102
106
|
superuserreleasedtickets: typeof SuperUserReleasedTicketsService;
|
|
103
107
|
superusershoppers: typeof SuperUserShoppersService;
|
|
104
108
|
superuserstudiomanagementintegration: typeof SuperUserStudioManagementIntegrationService;
|