@connectedxm/admin 2.7.4 → 2.7.5
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 +0 -32
- package/dist/index.d.cts +1 -22
- package/dist/index.d.ts +1 -22
- package/dist/index.js +0 -30
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22063,34 +22063,6 @@ var useUpdateEventReservation = (options = {}) => {
|
|
|
22063
22063
|
});
|
|
22064
22064
|
};
|
|
22065
22065
|
|
|
22066
|
-
// src/mutations/event/attendees/useCheckinAllAttendeePasses.ts
|
|
22067
|
-
var CheckinAllAttendeePasses = async ({
|
|
22068
|
-
eventId,
|
|
22069
|
-
accountId,
|
|
22070
|
-
adminApiParams,
|
|
22071
|
-
queryClient
|
|
22072
|
-
}) => {
|
|
22073
|
-
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
22074
|
-
const { data } = await connectedXM.put(
|
|
22075
|
-
`/events/${eventId}/attendees/${accountId}/passes/checkin/all`
|
|
22076
|
-
);
|
|
22077
|
-
if (queryClient && data.status === "ok") {
|
|
22078
|
-
queryClient.invalidateQueries({
|
|
22079
|
-
queryKey: EVENT_ATTENDEE_PASSES_QUERY_KEY(eventId, accountId)
|
|
22080
|
-
});
|
|
22081
|
-
queryClient.invalidateQueries({
|
|
22082
|
-
queryKey: EVENT_PASSES_QUERY_KEY(eventId)
|
|
22083
|
-
});
|
|
22084
|
-
}
|
|
22085
|
-
return data;
|
|
22086
|
-
};
|
|
22087
|
-
var useCheckinAllAttendeePasses = (options = {}) => {
|
|
22088
|
-
return useConnectedMutation(CheckinAllAttendeePasses, options, {
|
|
22089
|
-
domain: "events",
|
|
22090
|
-
type: "update"
|
|
22091
|
-
});
|
|
22092
|
-
};
|
|
22093
|
-
|
|
22094
22066
|
// src/mutations/event/attendees/useCreateEventAttendee.ts
|
|
22095
22067
|
var CreateEventAttendee = async ({
|
|
22096
22068
|
eventId,
|
|
@@ -35486,7 +35458,6 @@ export {
|
|
|
35486
35458
|
CancelGroupInvitation,
|
|
35487
35459
|
CancelSubscription,
|
|
35488
35460
|
ChannelFormat,
|
|
35489
|
-
CheckinAllAttendeePasses,
|
|
35490
35461
|
CloneEvent,
|
|
35491
35462
|
ConfirmAccountLogin,
|
|
35492
35463
|
ConnectedXMProvider,
|
|
@@ -37322,7 +37293,6 @@ export {
|
|
|
37322
37293
|
useCancelEventPass,
|
|
37323
37294
|
useCancelGroupInvitation,
|
|
37324
37295
|
useCancelSubscription,
|
|
37325
|
-
useCheckinAllAttendeePasses,
|
|
37326
37296
|
useCloneEvent,
|
|
37327
37297
|
useConfirmAccountLogin,
|
|
37328
37298
|
useConnectedInfiniteQuery,
|