@connectedxm/admin 6.29.0 → 6.30.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 +47 -4
- package/dist/index.d.cts +60 -5
- package/dist/index.d.ts +60 -5
- package/dist/index.js +43 -4
- package/openapi.json +123 -0
- package/package.json +1 -1
- package/CHANGELOG.md +0 -1
package/dist/index.js
CHANGED
|
@@ -229,11 +229,12 @@ var AdvertisementType = /* @__PURE__ */ ((AdvertisementType2) => {
|
|
|
229
229
|
})(AdvertisementType || {});
|
|
230
230
|
var ImageType = /* @__PURE__ */ ((ImageType2) => {
|
|
231
231
|
ImageType2["admin"] = "admin";
|
|
232
|
-
ImageType2["
|
|
233
|
-
ImageType2["
|
|
234
|
-
ImageType2["banner"] = "banner";
|
|
235
|
-
ImageType2["chat"] = "chat";
|
|
232
|
+
ImageType2["account"] = "account";
|
|
233
|
+
ImageType2["thread"] = "thread";
|
|
236
234
|
ImageType2["content"] = "content";
|
|
235
|
+
ImageType2["activity"] = "activity";
|
|
236
|
+
ImageType2["event"] = "event";
|
|
237
|
+
ImageType2["activation"] = "activation";
|
|
237
238
|
return ImageType2;
|
|
238
239
|
})(ImageType || {});
|
|
239
240
|
var SupportTicketType = /* @__PURE__ */ ((SupportTicketType2) => {
|
|
@@ -33795,6 +33796,40 @@ var useDeleteEvent = (options = {}) => {
|
|
|
33795
33796
|
return useConnectedMutation(DeleteEvent, options);
|
|
33796
33797
|
};
|
|
33797
33798
|
|
|
33799
|
+
// src/mutations/events/useDisableEventBuildMode.ts
|
|
33800
|
+
var DisableEventBuildMode = async ({
|
|
33801
|
+
eventId,
|
|
33802
|
+
adminApiParams,
|
|
33803
|
+
queryClient
|
|
33804
|
+
}) => {
|
|
33805
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
33806
|
+
const { data } = await connectedXM.delete(`/events/${eventId}/build-mode`);
|
|
33807
|
+
if (queryClient && data.status === "ok") {
|
|
33808
|
+
queryClient.invalidateQueries({ queryKey: EVENT_QUERY_KEY(eventId) });
|
|
33809
|
+
}
|
|
33810
|
+
return data;
|
|
33811
|
+
};
|
|
33812
|
+
var useDisableEventBuildMode = (options = {}) => {
|
|
33813
|
+
return useConnectedMutation(DisableEventBuildMode, options);
|
|
33814
|
+
};
|
|
33815
|
+
|
|
33816
|
+
// src/mutations/events/useEnableEventBuildMode.ts
|
|
33817
|
+
var EnableEventBuildMode = async ({
|
|
33818
|
+
eventId,
|
|
33819
|
+
adminApiParams,
|
|
33820
|
+
queryClient
|
|
33821
|
+
}) => {
|
|
33822
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
33823
|
+
const { data } = await connectedXM.post(`/events/${eventId}/build-mode`);
|
|
33824
|
+
if (queryClient && data.status === "ok") {
|
|
33825
|
+
queryClient.invalidateQueries({ queryKey: EVENT_QUERY_KEY(eventId) });
|
|
33826
|
+
}
|
|
33827
|
+
return data;
|
|
33828
|
+
};
|
|
33829
|
+
var useEnableEventBuildMode = (options = {}) => {
|
|
33830
|
+
return useConnectedMutation(EnableEventBuildMode, options);
|
|
33831
|
+
};
|
|
33832
|
+
|
|
33798
33833
|
// src/mutations/events/useUpdateEvent.ts
|
|
33799
33834
|
var UpdateEvent = async ({
|
|
33800
33835
|
eventId,
|
|
@@ -40380,6 +40415,7 @@ export {
|
|
|
40380
40415
|
DetachEventQuestionSearchList,
|
|
40381
40416
|
DetachEventSessionQuestionSearchList,
|
|
40382
40417
|
DetachSurveyQuestionSearchList,
|
|
40418
|
+
DisableEventBuildMode,
|
|
40383
40419
|
DisableLivestream,
|
|
40384
40420
|
DownloadVideoCaption,
|
|
40385
40421
|
EMAIL_RECEIPTS_QUERY_KEY,
|
|
@@ -40610,6 +40646,7 @@ export {
|
|
|
40610
40646
|
EVENT_TRANSLATIONS_QUERY_KEY,
|
|
40611
40647
|
EVENT_TRANSLATION_QUERY_KEY,
|
|
40612
40648
|
EmailReceiptStatus,
|
|
40649
|
+
EnableEventBuildMode,
|
|
40613
40650
|
EnableLivestream,
|
|
40614
40651
|
EventActivationType,
|
|
40615
40652
|
EventAgendaVisibility,
|
|
@@ -42606,8 +42643,10 @@ export {
|
|
|
42606
42643
|
useDetachEventQuestionSearchList,
|
|
42607
42644
|
useDetachEventSessionQuestionSearchList,
|
|
42608
42645
|
useDetachSurveyQuestionSearchList,
|
|
42646
|
+
useDisableEventBuildMode,
|
|
42609
42647
|
useDisableLivestream,
|
|
42610
42648
|
useDownloadVideoCaption,
|
|
42649
|
+
useEnableEventBuildMode,
|
|
42611
42650
|
useEnableLivestream,
|
|
42612
42651
|
useEventGetPassTypeCoupons,
|
|
42613
42652
|
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
package/CHANGELOG.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
# @connectedxm/admin-sdk
|