@connectedxm/admin 4.3.1 → 4.3.2
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 +25 -0
- package/dist/index.d.cts +19 -1
- package/dist/index.d.ts +19 -1
- package/dist/index.js +23 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -25377,6 +25377,27 @@ var useDeleteEventSessionAccess = (options = {}) => {
|
|
|
25377
25377
|
return useConnectedMutation(DeleteEventSessionAccess, options);
|
|
25378
25378
|
};
|
|
25379
25379
|
|
|
25380
|
+
// src/mutations/event/passes/useIndexEventPasses.ts
|
|
25381
|
+
var IndexEventPasses = async ({
|
|
25382
|
+
eventId,
|
|
25383
|
+
adminApiParams,
|
|
25384
|
+
queryClient
|
|
25385
|
+
}) => {
|
|
25386
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
25387
|
+
const { data } = await connectedXM.post(
|
|
25388
|
+
`/events/${eventId}/index-passes`
|
|
25389
|
+
);
|
|
25390
|
+
if (queryClient && data.status === "ok") {
|
|
25391
|
+
queryClient.invalidateQueries({
|
|
25392
|
+
queryKey: EVENT_PASSES_QUERY_KEY(eventId)
|
|
25393
|
+
});
|
|
25394
|
+
}
|
|
25395
|
+
return data;
|
|
25396
|
+
};
|
|
25397
|
+
var useIndexEventPasses = (options = {}) => {
|
|
25398
|
+
return useConnectedMutation(IndexEventPasses, options);
|
|
25399
|
+
};
|
|
25400
|
+
|
|
25380
25401
|
// src/mutations/event/passes/useRemoveEventPassAddOn.ts
|
|
25381
25402
|
var RemoveEventPassAddOn = async ({
|
|
25382
25403
|
addOnId,
|
|
@@ -36906,6 +36927,7 @@ export {
|
|
|
36906
36927
|
ImportItemStatus,
|
|
36907
36928
|
ImportRooms,
|
|
36908
36929
|
ImportType,
|
|
36930
|
+
IndexEventPasses,
|
|
36909
36931
|
InitiateVideoDownload,
|
|
36910
36932
|
IntegrationType,
|
|
36911
36933
|
InvoiceStatus,
|
|
@@ -38612,6 +38634,7 @@ export {
|
|
|
38612
38634
|
useGetVideos,
|
|
38613
38635
|
useImpersonateAccount,
|
|
38614
38636
|
useImportRooms,
|
|
38637
|
+
useIndexEventPasses,
|
|
38615
38638
|
useInitiateVideoDownload,
|
|
38616
38639
|
usePublishActivity,
|
|
38617
38640
|
useRefundOrganizationPayment,
|