@connectedxm/admin 6.33.0 → 6.33.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/index.cjs CHANGED
@@ -752,6 +752,7 @@ __export(index_exports, {
752
752
  EmailReceiptStatus: () => EmailReceiptStatus,
753
753
  EnableEventBuildMode: () => EnableEventBuildMode,
754
754
  EnableLivestream: () => EnableLivestream,
755
+ EventActivationRewardType: () => EventActivationRewardType,
755
756
  EventActivationType: () => EventActivationType,
756
757
  EventAgendaVisibility: () => EventAgendaVisibility,
757
758
  EventEmailType: () => EventEmailType,
@@ -1461,6 +1462,7 @@ __export(index_exports, {
1461
1462
  RemoveCustomReportUser: () => RemoveCustomReportUser,
1462
1463
  RemoveEventAccessUser: () => RemoveEventAccessUser,
1463
1464
  RemoveEventActivationSession: () => RemoveEventActivationSession,
1465
+ RemoveEventActivationSessions: () => RemoveEventActivationSessions,
1464
1466
  RemoveEventAddOnPassType: () => RemoveEventAddOnPassType,
1465
1467
  RemoveEventAddOnTier: () => RemoveEventAddOnTier,
1466
1468
  RemoveEventBenefit: () => RemoveEventBenefit,
@@ -3318,6 +3320,7 @@ __export(index_exports, {
3318
3320
  useRemoveCustomReportUser: () => useRemoveCustomReportUser,
3319
3321
  useRemoveEventAccessUser: () => useRemoveEventAccessUser,
3320
3322
  useRemoveEventActivationSession: () => useRemoveEventActivationSession,
3323
+ useRemoveEventActivationSessions: () => useRemoveEventActivationSessions,
3321
3324
  useRemoveEventAddOnPassType: () => useRemoveEventAddOnPassType,
3322
3325
  useRemoveEventAddOnTier: () => useRemoveEventAddOnTier,
3323
3326
  useRemoveEventBenefit: () => useRemoveEventBenefit,
@@ -3945,6 +3948,11 @@ var EventActivationType = /* @__PURE__ */ ((EventActivationType2) => {
3945
3948
  EventActivationType2["protected"] = "protected";
3946
3949
  return EventActivationType2;
3947
3950
  })(EventActivationType || {});
3951
+ var EventActivationRewardType = /* @__PURE__ */ ((EventActivationRewardType2) => {
3952
+ EventActivationRewardType2["max"] = "max";
3953
+ EventActivationRewardType2["input"] = "input";
3954
+ return EventActivationRewardType2;
3955
+ })(EventActivationRewardType || {});
3948
3956
  var ModerationStatus = /* @__PURE__ */ ((ModerationStatus2) => {
3949
3957
  ModerationStatus2["none"] = "none";
3950
3958
  ModerationStatus2["reported"] = "reported";
@@ -28527,6 +28535,27 @@ var useAddEventActivationSession = (options = {}) => {
28527
28535
  return useConnectedMutation(AddEventActivationSession, options);
28528
28536
  };
28529
28537
 
28538
+ // src/mutations/events/activations/sessions/useRemoveEventActivationSessions.ts
28539
+ var RemoveEventActivationSessions = async ({
28540
+ eventId,
28541
+ activationId,
28542
+ adminApiParams,
28543
+ queryClient
28544
+ }) => {
28545
+ const connectedXM = await GetAdminAPI(adminApiParams);
28546
+ const { data } = await connectedXM.delete(`/events/${eventId}/activations/${activationId}/sessions`);
28547
+ if (queryClient && data.status === "ok") {
28548
+ queryClient.invalidateQueries({
28549
+ queryKey: EVENT_ACTIVATION_SESSIONS_QUERY_KEY(eventId, activationId)
28550
+ });
28551
+ SET_EVENT_ACTIVATION_QUERY_DATA(queryClient, [eventId, activationId], data);
28552
+ }
28553
+ return data;
28554
+ };
28555
+ var useRemoveEventActivationSessions = (options = {}) => {
28556
+ return useConnectedMutation(RemoveEventActivationSessions, options);
28557
+ };
28558
+
28530
28559
  // src/mutations/events/activations/sessions/useRemoveEventActivationSession.ts
28531
28560
  var RemoveEventActivationSession = async ({
28532
28561
  eventId,
@@ -44316,6 +44345,7 @@ var useUpdateTier = (options = {}) => {
44316
44345
  EmailReceiptStatus,
44317
44346
  EnableEventBuildMode,
44318
44347
  EnableLivestream,
44348
+ EventActivationRewardType,
44319
44349
  EventActivationType,
44320
44350
  EventAgendaVisibility,
44321
44351
  EventEmailType,
@@ -45025,6 +45055,7 @@ var useUpdateTier = (options = {}) => {
45025
45055
  RemoveCustomReportUser,
45026
45056
  RemoveEventAccessUser,
45027
45057
  RemoveEventActivationSession,
45058
+ RemoveEventActivationSessions,
45028
45059
  RemoveEventAddOnPassType,
45029
45060
  RemoveEventAddOnTier,
45030
45061
  RemoveEventBenefit,
@@ -46882,6 +46913,7 @@ var useUpdateTier = (options = {}) => {
46882
46913
  useRemoveCustomReportUser,
46883
46914
  useRemoveEventAccessUser,
46884
46915
  useRemoveEventActivationSession,
46916
+ useRemoveEventActivationSessions,
46885
46917
  useRemoveEventAddOnPassType,
46886
46918
  useRemoveEventAddOnTier,
46887
46919
  useRemoveEventBenefit,