@connectedxm/admin 6.9.0 → 6.9.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 +48 -16
- package/dist/index.d.cts +32 -5
- package/dist/index.d.ts +32 -5
- package/dist/index.js +43 -13
- package/openapi.json +151 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -207,6 +207,7 @@ __export(index_exports, {
|
|
|
207
207
|
ChannelFormat: () => ChannelFormat,
|
|
208
208
|
CheckinEventPass: () => CheckinEventPass,
|
|
209
209
|
CloneEvent: () => CloneEvent,
|
|
210
|
+
CloneEventSession: () => CloneEventSession,
|
|
210
211
|
CloseStreamSession: () => CloseStreamSession,
|
|
211
212
|
ConfirmLogin: () => ConfirmLogin,
|
|
212
213
|
ConnectedXMProvider: () => ConnectedXMProvider,
|
|
@@ -1154,7 +1155,7 @@ __export(index_exports, {
|
|
|
1154
1155
|
GetSeriesEvents: () => GetSeriesEvents,
|
|
1155
1156
|
GetSeriesList: () => GetSeriesList,
|
|
1156
1157
|
GetSeriesRegistration: () => GetSeriesRegistration,
|
|
1157
|
-
|
|
1158
|
+
GetSeriesRegistrationRegistrations: () => GetSeriesRegistrationRegistrations,
|
|
1158
1159
|
GetSeriesRegistrations: () => GetSeriesRegistrations,
|
|
1159
1160
|
GetStreamInput: () => GetStreamInput,
|
|
1160
1161
|
GetStreamInputOutput: () => GetStreamInputOutput,
|
|
@@ -1445,8 +1446,8 @@ __export(index_exports, {
|
|
|
1445
1446
|
SERIES_LIST_QUERY_KEY: () => SERIES_LIST_QUERY_KEY,
|
|
1446
1447
|
SERIES_QUERY_KEY: () => SERIES_QUERY_KEY,
|
|
1447
1448
|
SERIES_REGISTRATIONS_QUERY_KEY: () => SERIES_REGISTRATIONS_QUERY_KEY,
|
|
1448
|
-
SERIES_REGISTRATION_PASSES_QUERY_KEY: () => SERIES_REGISTRATION_PASSES_QUERY_KEY,
|
|
1449
1449
|
SERIES_REGISTRATION_QUERY_KEY: () => SERIES_REGISTRATION_QUERY_KEY,
|
|
1450
|
+
SERIES_REGISTRATION_REGISTRATIONS_QUERY_KEY: () => SERIES_REGISTRATION_REGISTRATIONS_QUERY_KEY,
|
|
1450
1451
|
SET_ACCOUNTS_QUERY_DATA: () => SET_ACCOUNTS_QUERY_DATA,
|
|
1451
1452
|
SET_ACCOUNT_ACTIVITIES_QUERY_DATA: () => SET_ACCOUNT_ACTIVITIES_QUERY_DATA,
|
|
1452
1453
|
SET_ACCOUNT_ADDRESSES_QUERY_DATA: () => SET_ACCOUNT_ADDRESSES_QUERY_DATA,
|
|
@@ -2288,6 +2289,7 @@ __export(index_exports, {
|
|
|
2288
2289
|
useCancelGroupInvitation: () => useCancelGroupInvitation,
|
|
2289
2290
|
useCheckinEventPass: () => useCheckinEventPass,
|
|
2290
2291
|
useCloneEvent: () => useCloneEvent,
|
|
2292
|
+
useCloneEventSession: () => useCloneEventSession,
|
|
2291
2293
|
useCloseStreamSession: () => useCloseStreamSession,
|
|
2292
2294
|
useConfirmLogin: () => useConfirmLogin,
|
|
2293
2295
|
useConnectedCursorQuery: () => useConnectedCursorQuery,
|
|
@@ -2982,7 +2984,7 @@ __export(index_exports, {
|
|
|
2982
2984
|
useGetSeriesEvents: () => useGetSeriesEvents,
|
|
2983
2985
|
useGetSeriesList: () => useGetSeriesList,
|
|
2984
2986
|
useGetSeriesRegistration: () => useGetSeriesRegistration,
|
|
2985
|
-
|
|
2987
|
+
useGetSeriesRegistrationRegistrations: () => useGetSeriesRegistrationRegistrations,
|
|
2986
2988
|
useGetSeriesRegistrations: () => useGetSeriesRegistrations,
|
|
2987
2989
|
useGetStreamInput: () => useGetStreamInput,
|
|
2988
2990
|
useGetStreamInputOutput: () => useGetStreamInputOutput,
|
|
@@ -20923,12 +20925,15 @@ var useGetSeriesRegistration = (seriesId = "", registrationId = "", options = {}
|
|
|
20923
20925
|
);
|
|
20924
20926
|
};
|
|
20925
20927
|
|
|
20926
|
-
// src/queries/series/registrations/
|
|
20927
|
-
var
|
|
20928
|
-
|
|
20928
|
+
// src/queries/series/registrations/useGetSeriesRegistrationRegistrations.ts
|
|
20929
|
+
var SERIES_REGISTRATION_REGISTRATIONS_QUERY_KEY = (seriesId, registrationId) => [
|
|
20930
|
+
...SERIES_REGISTRATION_QUERY_KEY(seriesId, registrationId),
|
|
20931
|
+
"REGISTRATIONS"
|
|
20932
|
+
];
|
|
20933
|
+
var GetSeriesRegistrationRegistrations = async ({
|
|
20929
20934
|
seriesId,
|
|
20930
20935
|
registrationId,
|
|
20931
|
-
|
|
20936
|
+
pageParam,
|
|
20932
20937
|
pageSize,
|
|
20933
20938
|
orderBy,
|
|
20934
20939
|
search,
|
|
@@ -20936,10 +20941,10 @@ var GetSeriesRegistrationPasses = async ({
|
|
|
20936
20941
|
}) => {
|
|
20937
20942
|
const adminApi = await GetAdminAPI(adminApiParams);
|
|
20938
20943
|
const { data } = await adminApi.get(
|
|
20939
|
-
`/series/${seriesId}/registrations/${registrationId}/
|
|
20944
|
+
`/series/${seriesId}/registrations/${registrationId}/registrations`,
|
|
20940
20945
|
{
|
|
20941
20946
|
params: {
|
|
20942
|
-
|
|
20947
|
+
page: pageParam || void 0,
|
|
20943
20948
|
pageSize: pageSize || void 0,
|
|
20944
20949
|
orderBy: orderBy || void 0,
|
|
20945
20950
|
search: search || void 0
|
|
@@ -20948,10 +20953,10 @@ var GetSeriesRegistrationPasses = async ({
|
|
|
20948
20953
|
);
|
|
20949
20954
|
return data;
|
|
20950
20955
|
};
|
|
20951
|
-
var
|
|
20952
|
-
return
|
|
20953
|
-
|
|
20954
|
-
(params2) =>
|
|
20956
|
+
var useGetSeriesRegistrationRegistrations = (seriesId = "", registrationId = "", params = {}, options = {}) => {
|
|
20957
|
+
return useConnectedInfiniteQuery(
|
|
20958
|
+
SERIES_REGISTRATION_REGISTRATIONS_QUERY_KEY(seriesId, registrationId),
|
|
20959
|
+
(params2) => GetSeriesRegistrationRegistrations({
|
|
20955
20960
|
...params2,
|
|
20956
20961
|
seriesId,
|
|
20957
20962
|
registrationId
|
|
@@ -33168,6 +33173,31 @@ var useAddEventSessionTrack = (options = {}) => {
|
|
|
33168
33173
|
return useConnectedMutation(AddEventSessionTrack, options);
|
|
33169
33174
|
};
|
|
33170
33175
|
|
|
33176
|
+
// src/mutations/events/sessions/useCloneEventSession.ts
|
|
33177
|
+
var CloneEventSession = async ({
|
|
33178
|
+
eventId,
|
|
33179
|
+
sessionId,
|
|
33180
|
+
options = {},
|
|
33181
|
+
adminApiParams,
|
|
33182
|
+
queryClient
|
|
33183
|
+
}) => {
|
|
33184
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
33185
|
+
const { data } = await connectedXM.post(
|
|
33186
|
+
`/events/${eventId}/sessions/${sessionId}/clone`,
|
|
33187
|
+
options
|
|
33188
|
+
);
|
|
33189
|
+
if (queryClient && data.status === "ok") {
|
|
33190
|
+
queryClient.invalidateQueries({
|
|
33191
|
+
queryKey: EVENT_SESSIONS_QUERY_KEY(eventId)
|
|
33192
|
+
});
|
|
33193
|
+
SET_EVENT_SESSION_QUERY_DATA(queryClient, [eventId, data.data.id], data);
|
|
33194
|
+
}
|
|
33195
|
+
return data;
|
|
33196
|
+
};
|
|
33197
|
+
var useCloneEventSession = (options = {}) => {
|
|
33198
|
+
return useConnectedMutation(CloneEventSession, options);
|
|
33199
|
+
};
|
|
33200
|
+
|
|
33171
33201
|
// src/mutations/events/sessions/useCreateEventSession.ts
|
|
33172
33202
|
var CreateEventSession = async ({
|
|
33173
33203
|
eventId,
|
|
@@ -40204,6 +40234,7 @@ var useUpdateTier = (options = {}) => {
|
|
|
40204
40234
|
ChannelFormat,
|
|
40205
40235
|
CheckinEventPass,
|
|
40206
40236
|
CloneEvent,
|
|
40237
|
+
CloneEventSession,
|
|
40207
40238
|
CloseStreamSession,
|
|
40208
40239
|
ConfirmLogin,
|
|
40209
40240
|
ConnectedXMProvider,
|
|
@@ -41151,7 +41182,7 @@ var useUpdateTier = (options = {}) => {
|
|
|
41151
41182
|
GetSeriesEvents,
|
|
41152
41183
|
GetSeriesList,
|
|
41153
41184
|
GetSeriesRegistration,
|
|
41154
|
-
|
|
41185
|
+
GetSeriesRegistrationRegistrations,
|
|
41155
41186
|
GetSeriesRegistrations,
|
|
41156
41187
|
GetStreamInput,
|
|
41157
41188
|
GetStreamInputOutput,
|
|
@@ -41442,8 +41473,8 @@ var useUpdateTier = (options = {}) => {
|
|
|
41442
41473
|
SERIES_LIST_QUERY_KEY,
|
|
41443
41474
|
SERIES_QUERY_KEY,
|
|
41444
41475
|
SERIES_REGISTRATIONS_QUERY_KEY,
|
|
41445
|
-
SERIES_REGISTRATION_PASSES_QUERY_KEY,
|
|
41446
41476
|
SERIES_REGISTRATION_QUERY_KEY,
|
|
41477
|
+
SERIES_REGISTRATION_REGISTRATIONS_QUERY_KEY,
|
|
41447
41478
|
SET_ACCOUNTS_QUERY_DATA,
|
|
41448
41479
|
SET_ACCOUNT_ACTIVITIES_QUERY_DATA,
|
|
41449
41480
|
SET_ACCOUNT_ADDRESSES_QUERY_DATA,
|
|
@@ -42285,6 +42316,7 @@ var useUpdateTier = (options = {}) => {
|
|
|
42285
42316
|
useCancelGroupInvitation,
|
|
42286
42317
|
useCheckinEventPass,
|
|
42287
42318
|
useCloneEvent,
|
|
42319
|
+
useCloneEventSession,
|
|
42288
42320
|
useCloseStreamSession,
|
|
42289
42321
|
useConfirmLogin,
|
|
42290
42322
|
useConnectedCursorQuery,
|
|
@@ -42979,7 +43011,7 @@ var useUpdateTier = (options = {}) => {
|
|
|
42979
43011
|
useGetSeriesEvents,
|
|
42980
43012
|
useGetSeriesList,
|
|
42981
43013
|
useGetSeriesRegistration,
|
|
42982
|
-
|
|
43014
|
+
useGetSeriesRegistrationRegistrations,
|
|
42983
43015
|
useGetSeriesRegistrations,
|
|
42984
43016
|
useGetStreamInput,
|
|
42985
43017
|
useGetStreamInputOutput,
|