@connectedxm/admin 6.28.3 → 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.cjs +42 -0
- package/dist/index.d.cts +52 -1
- package/dist/index.d.ts +52 -1
- package/dist/index.js +38 -0
- package/openapi.json +130 -0
- package/package.json +1 -1
- package/CHANGELOG.md +0 -1
package/dist/index.cjs
CHANGED
|
@@ -519,6 +519,7 @@ __export(index_exports, {
|
|
|
519
519
|
DetachEventQuestionSearchList: () => DetachEventQuestionSearchList,
|
|
520
520
|
DetachEventSessionQuestionSearchList: () => DetachEventSessionQuestionSearchList,
|
|
521
521
|
DetachSurveyQuestionSearchList: () => DetachSurveyQuestionSearchList,
|
|
522
|
+
DisableEventBuildMode: () => DisableEventBuildMode,
|
|
522
523
|
DisableLivestream: () => DisableLivestream,
|
|
523
524
|
DownloadVideoCaption: () => DownloadVideoCaption,
|
|
524
525
|
EMAIL_RECEIPTS_QUERY_KEY: () => EMAIL_RECEIPTS_QUERY_KEY,
|
|
@@ -749,6 +750,7 @@ __export(index_exports, {
|
|
|
749
750
|
EVENT_TRANSLATIONS_QUERY_KEY: () => EVENT_TRANSLATIONS_QUERY_KEY,
|
|
750
751
|
EVENT_TRANSLATION_QUERY_KEY: () => EVENT_TRANSLATION_QUERY_KEY,
|
|
751
752
|
EmailReceiptStatus: () => EmailReceiptStatus,
|
|
753
|
+
EnableEventBuildMode: () => EnableEventBuildMode,
|
|
752
754
|
EnableLivestream: () => EnableLivestream,
|
|
753
755
|
EventActivationType: () => EventActivationType,
|
|
754
756
|
EventAgendaVisibility: () => EventAgendaVisibility,
|
|
@@ -2745,8 +2747,10 @@ __export(index_exports, {
|
|
|
2745
2747
|
useDetachEventQuestionSearchList: () => useDetachEventQuestionSearchList,
|
|
2746
2748
|
useDetachEventSessionQuestionSearchList: () => useDetachEventSessionQuestionSearchList,
|
|
2747
2749
|
useDetachSurveyQuestionSearchList: () => useDetachSurveyQuestionSearchList,
|
|
2750
|
+
useDisableEventBuildMode: () => useDisableEventBuildMode,
|
|
2748
2751
|
useDisableLivestream: () => useDisableLivestream,
|
|
2749
2752
|
useDownloadVideoCaption: () => useDownloadVideoCaption,
|
|
2753
|
+
useEnableEventBuildMode: () => useEnableEventBuildMode,
|
|
2750
2754
|
useEnableLivestream: () => useEnableLivestream,
|
|
2751
2755
|
useEventGetPassTypeCoupons: () => useEventGetPassTypeCoupons,
|
|
2752
2756
|
useExportAccount: () => useExportAccount,
|
|
@@ -37377,6 +37381,40 @@ var useDeleteEvent = (options = {}) => {
|
|
|
37377
37381
|
return useConnectedMutation(DeleteEvent, options);
|
|
37378
37382
|
};
|
|
37379
37383
|
|
|
37384
|
+
// src/mutations/events/useDisableEventBuildMode.ts
|
|
37385
|
+
var DisableEventBuildMode = async ({
|
|
37386
|
+
eventId,
|
|
37387
|
+
adminApiParams,
|
|
37388
|
+
queryClient
|
|
37389
|
+
}) => {
|
|
37390
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
37391
|
+
const { data } = await connectedXM.delete(`/events/${eventId}/build-mode`);
|
|
37392
|
+
if (queryClient && data.status === "ok") {
|
|
37393
|
+
queryClient.invalidateQueries({ queryKey: EVENT_QUERY_KEY(eventId) });
|
|
37394
|
+
}
|
|
37395
|
+
return data;
|
|
37396
|
+
};
|
|
37397
|
+
var useDisableEventBuildMode = (options = {}) => {
|
|
37398
|
+
return useConnectedMutation(DisableEventBuildMode, options);
|
|
37399
|
+
};
|
|
37400
|
+
|
|
37401
|
+
// src/mutations/events/useEnableEventBuildMode.ts
|
|
37402
|
+
var EnableEventBuildMode = async ({
|
|
37403
|
+
eventId,
|
|
37404
|
+
adminApiParams,
|
|
37405
|
+
queryClient
|
|
37406
|
+
}) => {
|
|
37407
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
37408
|
+
const { data } = await connectedXM.post(`/events/${eventId}/build-mode`);
|
|
37409
|
+
if (queryClient && data.status === "ok") {
|
|
37410
|
+
queryClient.invalidateQueries({ queryKey: EVENT_QUERY_KEY(eventId) });
|
|
37411
|
+
}
|
|
37412
|
+
return data;
|
|
37413
|
+
};
|
|
37414
|
+
var useEnableEventBuildMode = (options = {}) => {
|
|
37415
|
+
return useConnectedMutation(EnableEventBuildMode, options);
|
|
37416
|
+
};
|
|
37417
|
+
|
|
37380
37418
|
// src/mutations/events/useUpdateEvent.ts
|
|
37381
37419
|
var UpdateEvent = async ({
|
|
37382
37420
|
eventId,
|
|
@@ -43963,6 +44001,7 @@ var useUpdateTier = (options = {}) => {
|
|
|
43963
44001
|
DetachEventQuestionSearchList,
|
|
43964
44002
|
DetachEventSessionQuestionSearchList,
|
|
43965
44003
|
DetachSurveyQuestionSearchList,
|
|
44004
|
+
DisableEventBuildMode,
|
|
43966
44005
|
DisableLivestream,
|
|
43967
44006
|
DownloadVideoCaption,
|
|
43968
44007
|
EMAIL_RECEIPTS_QUERY_KEY,
|
|
@@ -44193,6 +44232,7 @@ var useUpdateTier = (options = {}) => {
|
|
|
44193
44232
|
EVENT_TRANSLATIONS_QUERY_KEY,
|
|
44194
44233
|
EVENT_TRANSLATION_QUERY_KEY,
|
|
44195
44234
|
EmailReceiptStatus,
|
|
44235
|
+
EnableEventBuildMode,
|
|
44196
44236
|
EnableLivestream,
|
|
44197
44237
|
EventActivationType,
|
|
44198
44238
|
EventAgendaVisibility,
|
|
@@ -46189,8 +46229,10 @@ var useUpdateTier = (options = {}) => {
|
|
|
46189
46229
|
useDetachEventQuestionSearchList,
|
|
46190
46230
|
useDetachEventSessionQuestionSearchList,
|
|
46191
46231
|
useDetachSurveyQuestionSearchList,
|
|
46232
|
+
useDisableEventBuildMode,
|
|
46192
46233
|
useDisableLivestream,
|
|
46193
46234
|
useDownloadVideoCaption,
|
|
46235
|
+
useEnableEventBuildMode,
|
|
46194
46236
|
useEnableLivestream,
|
|
46195
46237
|
useEventGetPassTypeCoupons,
|
|
46196
46238
|
useExportAccount,
|