@connectedxm/admin 6.29.0 → 6.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -33795,6 +33795,40 @@ var useDeleteEvent = (options = {}) => {
33795
33795
  return useConnectedMutation(DeleteEvent, options);
33796
33796
  };
33797
33797
 
33798
+ // src/mutations/events/useDisableEventBuildMode.ts
33799
+ var DisableEventBuildMode = async ({
33800
+ eventId,
33801
+ adminApiParams,
33802
+ queryClient
33803
+ }) => {
33804
+ const connectedXM = await GetAdminAPI(adminApiParams);
33805
+ const { data } = await connectedXM.delete(`/events/${eventId}/build-mode`);
33806
+ if (queryClient && data.status === "ok") {
33807
+ queryClient.invalidateQueries({ queryKey: EVENT_QUERY_KEY(eventId) });
33808
+ }
33809
+ return data;
33810
+ };
33811
+ var useDisableEventBuildMode = (options = {}) => {
33812
+ return useConnectedMutation(DisableEventBuildMode, options);
33813
+ };
33814
+
33815
+ // src/mutations/events/useEnableEventBuildMode.ts
33816
+ var EnableEventBuildMode = async ({
33817
+ eventId,
33818
+ adminApiParams,
33819
+ queryClient
33820
+ }) => {
33821
+ const connectedXM = await GetAdminAPI(adminApiParams);
33822
+ const { data } = await connectedXM.post(`/events/${eventId}/build-mode`);
33823
+ if (queryClient && data.status === "ok") {
33824
+ queryClient.invalidateQueries({ queryKey: EVENT_QUERY_KEY(eventId) });
33825
+ }
33826
+ return data;
33827
+ };
33828
+ var useEnableEventBuildMode = (options = {}) => {
33829
+ return useConnectedMutation(EnableEventBuildMode, options);
33830
+ };
33831
+
33798
33832
  // src/mutations/events/useUpdateEvent.ts
33799
33833
  var UpdateEvent = async ({
33800
33834
  eventId,
@@ -40380,6 +40414,7 @@ export {
40380
40414
  DetachEventQuestionSearchList,
40381
40415
  DetachEventSessionQuestionSearchList,
40382
40416
  DetachSurveyQuestionSearchList,
40417
+ DisableEventBuildMode,
40383
40418
  DisableLivestream,
40384
40419
  DownloadVideoCaption,
40385
40420
  EMAIL_RECEIPTS_QUERY_KEY,
@@ -40610,6 +40645,7 @@ export {
40610
40645
  EVENT_TRANSLATIONS_QUERY_KEY,
40611
40646
  EVENT_TRANSLATION_QUERY_KEY,
40612
40647
  EmailReceiptStatus,
40648
+ EnableEventBuildMode,
40613
40649
  EnableLivestream,
40614
40650
  EventActivationType,
40615
40651
  EventAgendaVisibility,
@@ -42606,8 +42642,10 @@ export {
42606
42642
  useDetachEventQuestionSearchList,
42607
42643
  useDetachEventSessionQuestionSearchList,
42608
42644
  useDetachSurveyQuestionSearchList,
42645
+ useDisableEventBuildMode,
42609
42646
  useDisableLivestream,
42610
42647
  useDownloadVideoCaption,
42648
+ useEnableEventBuildMode,
42611
42649
  useEnableLivestream,
42612
42650
  useEventGetPassTypeCoupons,
42613
42651
  useExportAccount,
package/openapi.json CHANGED
@@ -22541,6 +22541,124 @@
22541
22541
  ]
22542
22542
  }
22543
22543
  },
22544
+ "/events/{eventId}/build-mode": {
22545
+ "post": {
22546
+ "operationId": "EnableEventBuildMode",
22547
+ "summary": "Enable Event Build Mode",
22548
+ "description": "Enable Event Build Mode endpoint",
22549
+ "parameters": [
22550
+ {
22551
+ "in": "path",
22552
+ "name": "eventId",
22553
+ "schema": {
22554
+ "type": "string"
22555
+ },
22556
+ "description": "The event identifier",
22557
+ "required": true
22558
+ }
22559
+ ],
22560
+ "responses": {
22561
+ "200": {
22562
+ "description": "Successful response",
22563
+ "content": {
22564
+ "application/json": {
22565
+ "schema": {
22566
+ "type": "object",
22567
+ "properties": {
22568
+ "status": {
22569
+ "type": "string",
22570
+ "enum": [
22571
+ "ok"
22572
+ ]
22573
+ },
22574
+ "message": {
22575
+ "type": "string",
22576
+ "example": "Success message."
22577
+ },
22578
+ "data": {
22579
+ "oneOf": [
22580
+ {
22581
+ "type": "object"
22582
+ },
22583
+ {
22584
+ "type": "object"
22585
+ }
22586
+ ]
22587
+ }
22588
+ },
22589
+ "required": [
22590
+ "status",
22591
+ "message",
22592
+ "data"
22593
+ ]
22594
+ }
22595
+ }
22596
+ }
22597
+ }
22598
+ },
22599
+ "tags": [
22600
+ "Events"
22601
+ ]
22602
+ },
22603
+ "delete": {
22604
+ "operationId": "DisableEventBuildMode",
22605
+ "summary": "Disable Event Build Mode",
22606
+ "description": "Disable Event Build Mode endpoint",
22607
+ "parameters": [
22608
+ {
22609
+ "in": "path",
22610
+ "name": "eventId",
22611
+ "schema": {
22612
+ "type": "string"
22613
+ },
22614
+ "description": "The event identifier",
22615
+ "required": true
22616
+ }
22617
+ ],
22618
+ "responses": {
22619
+ "200": {
22620
+ "description": "Successful response",
22621
+ "content": {
22622
+ "application/json": {
22623
+ "schema": {
22624
+ "type": "object",
22625
+ "properties": {
22626
+ "status": {
22627
+ "type": "string",
22628
+ "enum": [
22629
+ "ok"
22630
+ ]
22631
+ },
22632
+ "message": {
22633
+ "type": "string",
22634
+ "example": "Success message."
22635
+ },
22636
+ "data": {
22637
+ "oneOf": [
22638
+ {
22639
+ "type": "object"
22640
+ },
22641
+ {
22642
+ "type": "object"
22643
+ }
22644
+ ]
22645
+ }
22646
+ },
22647
+ "required": [
22648
+ "status",
22649
+ "message",
22650
+ "data"
22651
+ ]
22652
+ }
22653
+ }
22654
+ }
22655
+ }
22656
+ },
22657
+ "tags": [
22658
+ "Events"
22659
+ ]
22660
+ }
22661
+ },
22544
22662
  "/events/{eventId}/bypass": {
22545
22663
  "get": {
22546
22664
  "operationId": "GetEventRegistrationBypassList",
@@ -96632,6 +96750,10 @@
96632
96750
  "type": "string",
96633
96751
  "nullable": true
96634
96752
  },
96753
+ "buildModeUntil": {
96754
+ "type": "string",
96755
+ "nullable": true
96756
+ },
96635
96757
  "publicRegistrants": {
96636
96758
  "type": "boolean"
96637
96759
  },
@@ -96774,6 +96896,7 @@
96774
96896
  "splitPaymentPercentage",
96775
96897
  "splitPaymentNetDays",
96776
96898
  "splitPaymentDueDate",
96899
+ "buildModeUntil",
96777
96900
  "publicRegistrants",
96778
96901
  "sessionsVisibility",
96779
96902
  "speakersVisibility",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "6.29.0",
3
+ "version": "6.30.0",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",
package/CHANGELOG.md DELETED
@@ -1 +0,0 @@
1
- # @connectedxm/admin-sdk