@connectedxm/admin 5.4.0 → 5.4.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 +11 -5
- package/dist/index.d.cts +13 -4
- package/dist/index.d.ts +13 -4
- package/dist/index.js +11 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -21052,10 +21052,12 @@ var useGetSeriesEvents = (seriesId = "", params = {}, options = {}) => {
|
|
|
21052
21052
|
};
|
|
21053
21053
|
|
|
21054
21054
|
// src/queries/streams/useGetStreamInputs.ts
|
|
21055
|
-
var STREAM_INPUTS_QUERY_KEY = (eventId, sessionId) => {
|
|
21055
|
+
var STREAM_INPUTS_QUERY_KEY = (eventId, sessionId, groupId, meetingId) => {
|
|
21056
21056
|
const key = ["STREAMS"];
|
|
21057
21057
|
if (eventId) key.push(eventId);
|
|
21058
21058
|
if (sessionId) key.push(sessionId);
|
|
21059
|
+
if (groupId) key.push(groupId);
|
|
21060
|
+
if (meetingId) key.push(meetingId);
|
|
21059
21061
|
return key;
|
|
21060
21062
|
};
|
|
21061
21063
|
var SET_STREAM_INPUTS_QUERY_DATA = (client, keyParams, response) => {
|
|
@@ -21064,6 +21066,8 @@ var SET_STREAM_INPUTS_QUERY_DATA = (client, keyParams, response) => {
|
|
|
21064
21066
|
var GetStreamInputs = async ({
|
|
21065
21067
|
eventId,
|
|
21066
21068
|
sessionId,
|
|
21069
|
+
groupId,
|
|
21070
|
+
meetingId,
|
|
21067
21071
|
pageParam,
|
|
21068
21072
|
pageSize,
|
|
21069
21073
|
orderBy,
|
|
@@ -21078,15 +21082,17 @@ var GetStreamInputs = async ({
|
|
|
21078
21082
|
orderBy: orderBy || void 0,
|
|
21079
21083
|
search: search || void 0,
|
|
21080
21084
|
eventId: eventId || void 0,
|
|
21081
|
-
sessionId: sessionId || void 0
|
|
21085
|
+
sessionId: sessionId || void 0,
|
|
21086
|
+
groupId: groupId || void 0,
|
|
21087
|
+
meetingId: meetingId || void 0
|
|
21082
21088
|
}
|
|
21083
21089
|
});
|
|
21084
21090
|
return data;
|
|
21085
21091
|
};
|
|
21086
|
-
var useGetStreamInputs = (eventId, sessionId, params = {}, options = {}) => {
|
|
21092
|
+
var useGetStreamInputs = (eventId, sessionId, groupId, meetingId, params = {}, options = {}) => {
|
|
21087
21093
|
return useConnectedInfiniteQuery(
|
|
21088
|
-
STREAM_INPUTS_QUERY_KEY(eventId, sessionId),
|
|
21089
|
-
(params2) => GetStreamInputs({ ...params2, eventId, sessionId }),
|
|
21094
|
+
STREAM_INPUTS_QUERY_KEY(eventId, sessionId, groupId, meetingId),
|
|
21095
|
+
(params2) => GetStreamInputs({ ...params2, eventId, sessionId, groupId, meetingId }),
|
|
21090
21096
|
params,
|
|
21091
21097
|
options
|
|
21092
21098
|
);
|
package/dist/index.d.cts
CHANGED
|
@@ -4016,7 +4016,7 @@ interface StreamInputDetails {
|
|
|
4016
4016
|
deleteRecordingAfterDays: null | number;
|
|
4017
4017
|
}
|
|
4018
4018
|
interface BaseStreamInput {
|
|
4019
|
-
id:
|
|
4019
|
+
id: string;
|
|
4020
4020
|
name: string;
|
|
4021
4021
|
cloudflareId: string | null;
|
|
4022
4022
|
connected: boolean;
|
|
@@ -4026,6 +4026,7 @@ interface BaseStreamInput {
|
|
|
4026
4026
|
groupId: string | null;
|
|
4027
4027
|
imageId: string | null;
|
|
4028
4028
|
image: BaseImage | null;
|
|
4029
|
+
locale: string;
|
|
4029
4030
|
}
|
|
4030
4031
|
interface StreamInput extends BaseStreamInput {
|
|
4031
4032
|
eventId: string | null;
|
|
@@ -4617,6 +4618,7 @@ interface EventCreateInputs {
|
|
|
4617
4618
|
activityFeedEnabled?: boolean;
|
|
4618
4619
|
options?: object | null;
|
|
4619
4620
|
template?: boolean;
|
|
4621
|
+
meetingId?: string | null;
|
|
4620
4622
|
}
|
|
4621
4623
|
interface EventEmailUpdateInputs {
|
|
4622
4624
|
body?: string | null;
|
|
@@ -4724,6 +4726,7 @@ interface EventSessionCreateInputs {
|
|
|
4724
4726
|
taxCode?: string | null;
|
|
4725
4727
|
taxIncluded?: boolean;
|
|
4726
4728
|
taxLocation?: keyof typeof TaxLocationType;
|
|
4729
|
+
meetingId?: string | null;
|
|
4727
4730
|
}
|
|
4728
4731
|
interface EventSessionAccessUpdateInputs {
|
|
4729
4732
|
status?: PurchaseStatus;
|
|
@@ -4757,6 +4760,7 @@ interface EventSessionUpdateInputs {
|
|
|
4757
4760
|
taxCode?: string | null;
|
|
4758
4761
|
taxIncluded?: boolean;
|
|
4759
4762
|
taxLocation?: keyof typeof TaxLocationType;
|
|
4763
|
+
meetingId?: string | null;
|
|
4760
4764
|
}
|
|
4761
4765
|
interface EventSessionLocationCreateInputs {
|
|
4762
4766
|
name: string;
|
|
@@ -4989,6 +4993,7 @@ interface EventUpdateInputs {
|
|
|
4989
4993
|
roundName?: string | null;
|
|
4990
4994
|
matchName?: string | null;
|
|
4991
4995
|
activityFeedEnabled?: boolean;
|
|
4996
|
+
meetingId?: string | null;
|
|
4992
4997
|
options?: object | null;
|
|
4993
4998
|
}
|
|
4994
4999
|
interface FileUpdateInputs {
|
|
@@ -5006,6 +5011,7 @@ interface GroupCreateInputs {
|
|
|
5006
5011
|
imageId?: string | null;
|
|
5007
5012
|
squareImageId?: string | null;
|
|
5008
5013
|
externalUrl?: string | null;
|
|
5014
|
+
meetingId?: string | null;
|
|
5009
5015
|
}
|
|
5010
5016
|
interface GroupMembershipUpdateInputs {
|
|
5011
5017
|
announcementEmailNotification?: boolean;
|
|
@@ -5060,6 +5066,7 @@ interface GroupUpdateInputs {
|
|
|
5060
5066
|
imageId?: string | null;
|
|
5061
5067
|
squareImageId?: string | null;
|
|
5062
5068
|
externalUrl?: string | null;
|
|
5069
|
+
meetingId?: string | null;
|
|
5063
5070
|
}
|
|
5064
5071
|
interface ImageCreateInputs {
|
|
5065
5072
|
imageDataUri: string;
|
|
@@ -17259,7 +17266,7 @@ declare const useGetStreamInputOutputs: (streamId?: string, params?: Omit<Infini
|
|
|
17259
17266
|
* @category Keys
|
|
17260
17267
|
* @group Streams
|
|
17261
17268
|
*/
|
|
17262
|
-
declare const STREAM_INPUTS_QUERY_KEY: (eventId?: string, sessionId?: string) => string[];
|
|
17269
|
+
declare const STREAM_INPUTS_QUERY_KEY: (eventId?: string, sessionId?: string, groupId?: string, meetingId?: string) => string[];
|
|
17263
17270
|
/**
|
|
17264
17271
|
* @category Setters
|
|
17265
17272
|
* @group Streams
|
|
@@ -17268,17 +17275,19 @@ declare const SET_STREAM_INPUTS_QUERY_DATA: (client: QueryClient, keyParams: Par
|
|
|
17268
17275
|
interface GetStreamInputsParams extends InfiniteQueryParams {
|
|
17269
17276
|
eventId?: string;
|
|
17270
17277
|
sessionId?: string;
|
|
17278
|
+
groupId?: string;
|
|
17279
|
+
meetingId?: string;
|
|
17271
17280
|
}
|
|
17272
17281
|
/**
|
|
17273
17282
|
* @category Queries
|
|
17274
17283
|
* @group Streams
|
|
17275
17284
|
*/
|
|
17276
|
-
declare const GetStreamInputs: ({ eventId, sessionId, pageParam, pageSize, orderBy, search, adminApiParams, }: GetStreamInputsParams) => Promise<ConnectedXMResponse<StreamInput[]>>;
|
|
17285
|
+
declare const GetStreamInputs: ({ eventId, sessionId, groupId, meetingId, pageParam, pageSize, orderBy, search, adminApiParams, }: GetStreamInputsParams) => Promise<ConnectedXMResponse<StreamInput[]>>;
|
|
17277
17286
|
/**
|
|
17278
17287
|
* @category Hooks
|
|
17279
17288
|
* @group Streams
|
|
17280
17289
|
*/
|
|
17281
|
-
declare const useGetStreamInputs: (eventId?: string, sessionId?: string, params?: Omit<InfiniteQueryParams, "pageParam" | "queryClient" | "adminApiParams">, options?: InfiniteQueryOptions<Awaited<ReturnType<typeof GetStreamInputs>>>) => _tanstack_react_query.UseInfiniteQueryResult<_tanstack_react_query.InfiniteData<ConnectedXMResponse<StreamInput[]>, number>, axios.AxiosError<ConnectedXMResponse<null>, any>>;
|
|
17290
|
+
declare const useGetStreamInputs: (eventId?: string, sessionId?: string, groupId?: string, meetingId?: string, params?: Omit<InfiniteQueryParams, "pageParam" | "queryClient" | "adminApiParams">, options?: InfiniteQueryOptions<Awaited<ReturnType<typeof GetStreamInputs>>>) => _tanstack_react_query.UseInfiniteQueryResult<_tanstack_react_query.InfiniteData<ConnectedXMResponse<StreamInput[]>, number>, axios.AxiosError<ConnectedXMResponse<null>, any>>;
|
|
17282
17291
|
|
|
17283
17292
|
/**
|
|
17284
17293
|
* @category Keys
|
package/dist/index.d.ts
CHANGED
|
@@ -4016,7 +4016,7 @@ interface StreamInputDetails {
|
|
|
4016
4016
|
deleteRecordingAfterDays: null | number;
|
|
4017
4017
|
}
|
|
4018
4018
|
interface BaseStreamInput {
|
|
4019
|
-
id:
|
|
4019
|
+
id: string;
|
|
4020
4020
|
name: string;
|
|
4021
4021
|
cloudflareId: string | null;
|
|
4022
4022
|
connected: boolean;
|
|
@@ -4026,6 +4026,7 @@ interface BaseStreamInput {
|
|
|
4026
4026
|
groupId: string | null;
|
|
4027
4027
|
imageId: string | null;
|
|
4028
4028
|
image: BaseImage | null;
|
|
4029
|
+
locale: string;
|
|
4029
4030
|
}
|
|
4030
4031
|
interface StreamInput extends BaseStreamInput {
|
|
4031
4032
|
eventId: string | null;
|
|
@@ -4617,6 +4618,7 @@ interface EventCreateInputs {
|
|
|
4617
4618
|
activityFeedEnabled?: boolean;
|
|
4618
4619
|
options?: object | null;
|
|
4619
4620
|
template?: boolean;
|
|
4621
|
+
meetingId?: string | null;
|
|
4620
4622
|
}
|
|
4621
4623
|
interface EventEmailUpdateInputs {
|
|
4622
4624
|
body?: string | null;
|
|
@@ -4724,6 +4726,7 @@ interface EventSessionCreateInputs {
|
|
|
4724
4726
|
taxCode?: string | null;
|
|
4725
4727
|
taxIncluded?: boolean;
|
|
4726
4728
|
taxLocation?: keyof typeof TaxLocationType;
|
|
4729
|
+
meetingId?: string | null;
|
|
4727
4730
|
}
|
|
4728
4731
|
interface EventSessionAccessUpdateInputs {
|
|
4729
4732
|
status?: PurchaseStatus;
|
|
@@ -4757,6 +4760,7 @@ interface EventSessionUpdateInputs {
|
|
|
4757
4760
|
taxCode?: string | null;
|
|
4758
4761
|
taxIncluded?: boolean;
|
|
4759
4762
|
taxLocation?: keyof typeof TaxLocationType;
|
|
4763
|
+
meetingId?: string | null;
|
|
4760
4764
|
}
|
|
4761
4765
|
interface EventSessionLocationCreateInputs {
|
|
4762
4766
|
name: string;
|
|
@@ -4989,6 +4993,7 @@ interface EventUpdateInputs {
|
|
|
4989
4993
|
roundName?: string | null;
|
|
4990
4994
|
matchName?: string | null;
|
|
4991
4995
|
activityFeedEnabled?: boolean;
|
|
4996
|
+
meetingId?: string | null;
|
|
4992
4997
|
options?: object | null;
|
|
4993
4998
|
}
|
|
4994
4999
|
interface FileUpdateInputs {
|
|
@@ -5006,6 +5011,7 @@ interface GroupCreateInputs {
|
|
|
5006
5011
|
imageId?: string | null;
|
|
5007
5012
|
squareImageId?: string | null;
|
|
5008
5013
|
externalUrl?: string | null;
|
|
5014
|
+
meetingId?: string | null;
|
|
5009
5015
|
}
|
|
5010
5016
|
interface GroupMembershipUpdateInputs {
|
|
5011
5017
|
announcementEmailNotification?: boolean;
|
|
@@ -5060,6 +5066,7 @@ interface GroupUpdateInputs {
|
|
|
5060
5066
|
imageId?: string | null;
|
|
5061
5067
|
squareImageId?: string | null;
|
|
5062
5068
|
externalUrl?: string | null;
|
|
5069
|
+
meetingId?: string | null;
|
|
5063
5070
|
}
|
|
5064
5071
|
interface ImageCreateInputs {
|
|
5065
5072
|
imageDataUri: string;
|
|
@@ -17259,7 +17266,7 @@ declare const useGetStreamInputOutputs: (streamId?: string, params?: Omit<Infini
|
|
|
17259
17266
|
* @category Keys
|
|
17260
17267
|
* @group Streams
|
|
17261
17268
|
*/
|
|
17262
|
-
declare const STREAM_INPUTS_QUERY_KEY: (eventId?: string, sessionId?: string) => string[];
|
|
17269
|
+
declare const STREAM_INPUTS_QUERY_KEY: (eventId?: string, sessionId?: string, groupId?: string, meetingId?: string) => string[];
|
|
17263
17270
|
/**
|
|
17264
17271
|
* @category Setters
|
|
17265
17272
|
* @group Streams
|
|
@@ -17268,17 +17275,19 @@ declare const SET_STREAM_INPUTS_QUERY_DATA: (client: QueryClient, keyParams: Par
|
|
|
17268
17275
|
interface GetStreamInputsParams extends InfiniteQueryParams {
|
|
17269
17276
|
eventId?: string;
|
|
17270
17277
|
sessionId?: string;
|
|
17278
|
+
groupId?: string;
|
|
17279
|
+
meetingId?: string;
|
|
17271
17280
|
}
|
|
17272
17281
|
/**
|
|
17273
17282
|
* @category Queries
|
|
17274
17283
|
* @group Streams
|
|
17275
17284
|
*/
|
|
17276
|
-
declare const GetStreamInputs: ({ eventId, sessionId, pageParam, pageSize, orderBy, search, adminApiParams, }: GetStreamInputsParams) => Promise<ConnectedXMResponse<StreamInput[]>>;
|
|
17285
|
+
declare const GetStreamInputs: ({ eventId, sessionId, groupId, meetingId, pageParam, pageSize, orderBy, search, adminApiParams, }: GetStreamInputsParams) => Promise<ConnectedXMResponse<StreamInput[]>>;
|
|
17277
17286
|
/**
|
|
17278
17287
|
* @category Hooks
|
|
17279
17288
|
* @group Streams
|
|
17280
17289
|
*/
|
|
17281
|
-
declare const useGetStreamInputs: (eventId?: string, sessionId?: string, params?: Omit<InfiniteQueryParams, "pageParam" | "queryClient" | "adminApiParams">, options?: InfiniteQueryOptions<Awaited<ReturnType<typeof GetStreamInputs>>>) => _tanstack_react_query.UseInfiniteQueryResult<_tanstack_react_query.InfiniteData<ConnectedXMResponse<StreamInput[]>, number>, axios.AxiosError<ConnectedXMResponse<null>, any>>;
|
|
17290
|
+
declare const useGetStreamInputs: (eventId?: string, sessionId?: string, groupId?: string, meetingId?: string, params?: Omit<InfiniteQueryParams, "pageParam" | "queryClient" | "adminApiParams">, options?: InfiniteQueryOptions<Awaited<ReturnType<typeof GetStreamInputs>>>) => _tanstack_react_query.UseInfiniteQueryResult<_tanstack_react_query.InfiniteData<ConnectedXMResponse<StreamInput[]>, number>, axios.AxiosError<ConnectedXMResponse<null>, any>>;
|
|
17282
17291
|
|
|
17283
17292
|
/**
|
|
17284
17293
|
* @category Keys
|
package/dist/index.js
CHANGED
|
@@ -17732,10 +17732,12 @@ var useGetSeriesEvents = (seriesId = "", params = {}, options = {}) => {
|
|
|
17732
17732
|
};
|
|
17733
17733
|
|
|
17734
17734
|
// src/queries/streams/useGetStreamInputs.ts
|
|
17735
|
-
var STREAM_INPUTS_QUERY_KEY = (eventId, sessionId) => {
|
|
17735
|
+
var STREAM_INPUTS_QUERY_KEY = (eventId, sessionId, groupId, meetingId) => {
|
|
17736
17736
|
const key = ["STREAMS"];
|
|
17737
17737
|
if (eventId) key.push(eventId);
|
|
17738
17738
|
if (sessionId) key.push(sessionId);
|
|
17739
|
+
if (groupId) key.push(groupId);
|
|
17740
|
+
if (meetingId) key.push(meetingId);
|
|
17739
17741
|
return key;
|
|
17740
17742
|
};
|
|
17741
17743
|
var SET_STREAM_INPUTS_QUERY_DATA = (client, keyParams, response) => {
|
|
@@ -17744,6 +17746,8 @@ var SET_STREAM_INPUTS_QUERY_DATA = (client, keyParams, response) => {
|
|
|
17744
17746
|
var GetStreamInputs = async ({
|
|
17745
17747
|
eventId,
|
|
17746
17748
|
sessionId,
|
|
17749
|
+
groupId,
|
|
17750
|
+
meetingId,
|
|
17747
17751
|
pageParam,
|
|
17748
17752
|
pageSize,
|
|
17749
17753
|
orderBy,
|
|
@@ -17758,15 +17762,17 @@ var GetStreamInputs = async ({
|
|
|
17758
17762
|
orderBy: orderBy || void 0,
|
|
17759
17763
|
search: search || void 0,
|
|
17760
17764
|
eventId: eventId || void 0,
|
|
17761
|
-
sessionId: sessionId || void 0
|
|
17765
|
+
sessionId: sessionId || void 0,
|
|
17766
|
+
groupId: groupId || void 0,
|
|
17767
|
+
meetingId: meetingId || void 0
|
|
17762
17768
|
}
|
|
17763
17769
|
});
|
|
17764
17770
|
return data;
|
|
17765
17771
|
};
|
|
17766
|
-
var useGetStreamInputs = (eventId, sessionId, params = {}, options = {}) => {
|
|
17772
|
+
var useGetStreamInputs = (eventId, sessionId, groupId, meetingId, params = {}, options = {}) => {
|
|
17767
17773
|
return useConnectedInfiniteQuery(
|
|
17768
|
-
STREAM_INPUTS_QUERY_KEY(eventId, sessionId),
|
|
17769
|
-
(params2) => GetStreamInputs({ ...params2, eventId, sessionId }),
|
|
17774
|
+
STREAM_INPUTS_QUERY_KEY(eventId, sessionId, groupId, meetingId),
|
|
17775
|
+
(params2) => GetStreamInputs({ ...params2, eventId, sessionId, groupId, meetingId }),
|
|
17770
17776
|
params,
|
|
17771
17777
|
options
|
|
17772
17778
|
);
|