@connectedxm/admin 5.4.0 → 5.4.1

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 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: number;
4019
+ id: string;
4020
4020
  name: string;
4021
4021
  cloudflareId: string | null;
4022
4022
  connected: boolean;
@@ -4617,6 +4617,7 @@ interface EventCreateInputs {
4617
4617
  activityFeedEnabled?: boolean;
4618
4618
  options?: object | null;
4619
4619
  template?: boolean;
4620
+ meetingId?: string | null;
4620
4621
  }
4621
4622
  interface EventEmailUpdateInputs {
4622
4623
  body?: string | null;
@@ -4724,6 +4725,7 @@ interface EventSessionCreateInputs {
4724
4725
  taxCode?: string | null;
4725
4726
  taxIncluded?: boolean;
4726
4727
  taxLocation?: keyof typeof TaxLocationType;
4728
+ meetingId?: string | null;
4727
4729
  }
4728
4730
  interface EventSessionAccessUpdateInputs {
4729
4731
  status?: PurchaseStatus;
@@ -4757,6 +4759,7 @@ interface EventSessionUpdateInputs {
4757
4759
  taxCode?: string | null;
4758
4760
  taxIncluded?: boolean;
4759
4761
  taxLocation?: keyof typeof TaxLocationType;
4762
+ meetingId?: string | null;
4760
4763
  }
4761
4764
  interface EventSessionLocationCreateInputs {
4762
4765
  name: string;
@@ -4989,6 +4992,7 @@ interface EventUpdateInputs {
4989
4992
  roundName?: string | null;
4990
4993
  matchName?: string | null;
4991
4994
  activityFeedEnabled?: boolean;
4995
+ meetingId?: string | null;
4992
4996
  options?: object | null;
4993
4997
  }
4994
4998
  interface FileUpdateInputs {
@@ -5006,6 +5010,7 @@ interface GroupCreateInputs {
5006
5010
  imageId?: string | null;
5007
5011
  squareImageId?: string | null;
5008
5012
  externalUrl?: string | null;
5013
+ meetingId?: string | null;
5009
5014
  }
5010
5015
  interface GroupMembershipUpdateInputs {
5011
5016
  announcementEmailNotification?: boolean;
@@ -5060,6 +5065,7 @@ interface GroupUpdateInputs {
5060
5065
  imageId?: string | null;
5061
5066
  squareImageId?: string | null;
5062
5067
  externalUrl?: string | null;
5068
+ meetingId?: string | null;
5063
5069
  }
5064
5070
  interface ImageCreateInputs {
5065
5071
  imageDataUri: string;
@@ -17259,7 +17265,7 @@ declare const useGetStreamInputOutputs: (streamId?: string, params?: Omit<Infini
17259
17265
  * @category Keys
17260
17266
  * @group Streams
17261
17267
  */
17262
- declare const STREAM_INPUTS_QUERY_KEY: (eventId?: string, sessionId?: string) => string[];
17268
+ declare const STREAM_INPUTS_QUERY_KEY: (eventId?: string, sessionId?: string, groupId?: string, meetingId?: string) => string[];
17263
17269
  /**
17264
17270
  * @category Setters
17265
17271
  * @group Streams
@@ -17268,17 +17274,19 @@ declare const SET_STREAM_INPUTS_QUERY_DATA: (client: QueryClient, keyParams: Par
17268
17274
  interface GetStreamInputsParams extends InfiniteQueryParams {
17269
17275
  eventId?: string;
17270
17276
  sessionId?: string;
17277
+ groupId?: string;
17278
+ meetingId?: string;
17271
17279
  }
17272
17280
  /**
17273
17281
  * @category Queries
17274
17282
  * @group Streams
17275
17283
  */
17276
- declare const GetStreamInputs: ({ eventId, sessionId, pageParam, pageSize, orderBy, search, adminApiParams, }: GetStreamInputsParams) => Promise<ConnectedXMResponse<StreamInput[]>>;
17284
+ declare const GetStreamInputs: ({ eventId, sessionId, groupId, meetingId, pageParam, pageSize, orderBy, search, adminApiParams, }: GetStreamInputsParams) => Promise<ConnectedXMResponse<StreamInput[]>>;
17277
17285
  /**
17278
17286
  * @category Hooks
17279
17287
  * @group Streams
17280
17288
  */
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>>;
17289
+ 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
17290
 
17283
17291
  /**
17284
17292
  * @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: number;
4019
+ id: string;
4020
4020
  name: string;
4021
4021
  cloudflareId: string | null;
4022
4022
  connected: boolean;
@@ -4617,6 +4617,7 @@ interface EventCreateInputs {
4617
4617
  activityFeedEnabled?: boolean;
4618
4618
  options?: object | null;
4619
4619
  template?: boolean;
4620
+ meetingId?: string | null;
4620
4621
  }
4621
4622
  interface EventEmailUpdateInputs {
4622
4623
  body?: string | null;
@@ -4724,6 +4725,7 @@ interface EventSessionCreateInputs {
4724
4725
  taxCode?: string | null;
4725
4726
  taxIncluded?: boolean;
4726
4727
  taxLocation?: keyof typeof TaxLocationType;
4728
+ meetingId?: string | null;
4727
4729
  }
4728
4730
  interface EventSessionAccessUpdateInputs {
4729
4731
  status?: PurchaseStatus;
@@ -4757,6 +4759,7 @@ interface EventSessionUpdateInputs {
4757
4759
  taxCode?: string | null;
4758
4760
  taxIncluded?: boolean;
4759
4761
  taxLocation?: keyof typeof TaxLocationType;
4762
+ meetingId?: string | null;
4760
4763
  }
4761
4764
  interface EventSessionLocationCreateInputs {
4762
4765
  name: string;
@@ -4989,6 +4992,7 @@ interface EventUpdateInputs {
4989
4992
  roundName?: string | null;
4990
4993
  matchName?: string | null;
4991
4994
  activityFeedEnabled?: boolean;
4995
+ meetingId?: string | null;
4992
4996
  options?: object | null;
4993
4997
  }
4994
4998
  interface FileUpdateInputs {
@@ -5006,6 +5010,7 @@ interface GroupCreateInputs {
5006
5010
  imageId?: string | null;
5007
5011
  squareImageId?: string | null;
5008
5012
  externalUrl?: string | null;
5013
+ meetingId?: string | null;
5009
5014
  }
5010
5015
  interface GroupMembershipUpdateInputs {
5011
5016
  announcementEmailNotification?: boolean;
@@ -5060,6 +5065,7 @@ interface GroupUpdateInputs {
5060
5065
  imageId?: string | null;
5061
5066
  squareImageId?: string | null;
5062
5067
  externalUrl?: string | null;
5068
+ meetingId?: string | null;
5063
5069
  }
5064
5070
  interface ImageCreateInputs {
5065
5071
  imageDataUri: string;
@@ -17259,7 +17265,7 @@ declare const useGetStreamInputOutputs: (streamId?: string, params?: Omit<Infini
17259
17265
  * @category Keys
17260
17266
  * @group Streams
17261
17267
  */
17262
- declare const STREAM_INPUTS_QUERY_KEY: (eventId?: string, sessionId?: string) => string[];
17268
+ declare const STREAM_INPUTS_QUERY_KEY: (eventId?: string, sessionId?: string, groupId?: string, meetingId?: string) => string[];
17263
17269
  /**
17264
17270
  * @category Setters
17265
17271
  * @group Streams
@@ -17268,17 +17274,19 @@ declare const SET_STREAM_INPUTS_QUERY_DATA: (client: QueryClient, keyParams: Par
17268
17274
  interface GetStreamInputsParams extends InfiniteQueryParams {
17269
17275
  eventId?: string;
17270
17276
  sessionId?: string;
17277
+ groupId?: string;
17278
+ meetingId?: string;
17271
17279
  }
17272
17280
  /**
17273
17281
  * @category Queries
17274
17282
  * @group Streams
17275
17283
  */
17276
- declare const GetStreamInputs: ({ eventId, sessionId, pageParam, pageSize, orderBy, search, adminApiParams, }: GetStreamInputsParams) => Promise<ConnectedXMResponse<StreamInput[]>>;
17284
+ declare const GetStreamInputs: ({ eventId, sessionId, groupId, meetingId, pageParam, pageSize, orderBy, search, adminApiParams, }: GetStreamInputsParams) => Promise<ConnectedXMResponse<StreamInput[]>>;
17277
17285
  /**
17278
17286
  * @category Hooks
17279
17287
  * @group Streams
17280
17288
  */
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>>;
17289
+ 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
17290
 
17283
17291
  /**
17284
17292
  * @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
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "5.4.0",
3
+ "version": "5.4.1",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",