@connectedxm/client 7.4.8 → 7.4.9
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.d.ts +11 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -927,7 +927,6 @@ interface Session extends BaseSession {
|
|
|
927
927
|
bookmarks?: {
|
|
928
928
|
id: string;
|
|
929
929
|
}[];
|
|
930
|
-
supply?: number | null;
|
|
931
930
|
meeting: BaseMeeting | null;
|
|
932
931
|
streams: BaseStreamInput[];
|
|
933
932
|
surveys: BaseSurvey[];
|
|
@@ -4785,14 +4784,18 @@ interface GetEventPagesProps extends InfiniteQueryParams {
|
|
|
4785
4784
|
declare const GetEventPages: ({ eventId, pageParam, pageSize, orderBy, search, clientApiParams, }: GetEventPagesProps) => Promise<ConnectedXMResponse<BaseEventPage[]>>;
|
|
4786
4785
|
declare const useGetEventPages: (eventId?: string, params?: Omit<InfiniteQueryParams, "pageParam" | "queryClient" | "clientApiParams">, options?: InfiniteQueryOptions<Awaited<ReturnType<typeof GetEventPages>>>) => _tanstack_react_query.UseInfiniteQueryResult<_tanstack_react_query.InfiniteData<ConnectedXMResponse<BaseEventPage[]>, number>, axios.AxiosError<ConnectedXMResponse<null>, any>>;
|
|
4787
4786
|
|
|
4787
|
+
interface SessionWithSupplyAndCanRegister extends Session {
|
|
4788
|
+
supply?: number | null;
|
|
4789
|
+
canRegister: boolean;
|
|
4790
|
+
}
|
|
4788
4791
|
declare const EVENT_SESSIONS_QUERY_KEY: (eventId: string, passId?: string) => QueryKey;
|
|
4789
4792
|
declare const SET_EVENT_SESSIONS_QUERY_DATA: (client: QueryClient, keyParams: Parameters<typeof EVENT_SESSIONS_QUERY_KEY>, response: Awaited<ReturnType<typeof GetEventSessions>>, baseKeys?: Parameters<typeof GetBaseSingleQueryKeys>) => void;
|
|
4790
4793
|
interface GetEventSessionsProps extends SingleQueryParams {
|
|
4791
4794
|
eventId: string;
|
|
4792
4795
|
passId?: string;
|
|
4793
4796
|
}
|
|
4794
|
-
declare const GetEventSessions: ({ eventId, passId, clientApiParams, }: GetEventSessionsProps) => Promise<ConnectedXMResponse<
|
|
4795
|
-
declare const useGetEventSessions: (eventId?: string, passId?: string, options?: SingleQueryOptions<ReturnType<typeof GetEventSessions>>) => _tanstack_react_query.UseQueryResult<ConnectedXMResponse<
|
|
4797
|
+
declare const GetEventSessions: ({ eventId, passId, clientApiParams, }: GetEventSessionsProps) => Promise<ConnectedXMResponse<SessionWithSupplyAndCanRegister[]>>;
|
|
4798
|
+
declare const useGetEventSessions: (eventId?: string, passId?: string, options?: SingleQueryOptions<ReturnType<typeof GetEventSessions>>) => _tanstack_react_query.UseQueryResult<ConnectedXMResponse<SessionWithSupplyAndCanRegister[]>, axios.AxiosError<ConnectedXMResponse<any>, any>>;
|
|
4796
4799
|
|
|
4797
4800
|
declare const EVENT_REGISTRANTS_QUERY_KEY: (eventId: string) => QueryKey;
|
|
4798
4801
|
declare const SET_EVENT_REGISTRANTS_QUERY_DATA: (client: QueryClient, keyParams: Parameters<typeof EVENT_REGISTRANTS_QUERY_KEY>, response: Awaited<ReturnType<typeof GetEventSessions>>, baseKeys?: Parameters<typeof GetBaseInfiniteQueryKeys>) => void;
|
|
@@ -4811,14 +4814,17 @@ interface GetEventsProps extends InfiniteQueryParams {
|
|
|
4811
4814
|
declare const GetEvents: ({ pageParam, pageSize, orderBy, search, past, featured, clientApiParams, }: GetEventsProps) => Promise<ConnectedXMResponse<BaseEvent[]>>;
|
|
4812
4815
|
declare const useGetEvents: (past?: boolean, featured?: boolean, params?: Omit<InfiniteQueryParams, "pageParam" | "queryClient" | "clientApiParams">, options?: InfiniteQueryOptions<Awaited<ReturnType<typeof GetEvents>>>) => _tanstack_react_query.UseInfiniteQueryResult<_tanstack_react_query.InfiniteData<ConnectedXMResponse<BaseEvent[]>, number>, axios.AxiosError<ConnectedXMResponse<null>, any>>;
|
|
4813
4816
|
|
|
4817
|
+
interface SessionWithSupply extends Session {
|
|
4818
|
+
supply?: number | null;
|
|
4819
|
+
}
|
|
4814
4820
|
declare const EVENT_SESSION_QUERY_KEY: (eventId: string, sessionId: string) => QueryKey;
|
|
4815
4821
|
declare const SET_EVENT_SESSION_QUERY_DATA: (client: QueryClient, keyParams: Parameters<typeof EVENT_SESSION_QUERY_KEY>, response: Awaited<ReturnType<typeof GetEventSession>>, baseKeys?: Parameters<typeof GetBaseSingleQueryKeys>) => void;
|
|
4816
4822
|
interface GetEventSessionProps extends SingleQueryParams {
|
|
4817
4823
|
eventId: string;
|
|
4818
4824
|
sessionId: string;
|
|
4819
4825
|
}
|
|
4820
|
-
declare const GetEventSession: ({ eventId, sessionId, clientApiParams, }: GetEventSessionProps) => Promise<ConnectedXMResponse<
|
|
4821
|
-
declare const useGetEventSession: (eventId?: string, sessionId?: string, options?: SingleQueryOptions<ReturnType<typeof GetEventSession>>) => _tanstack_react_query.UseQueryResult<ConnectedXMResponse<
|
|
4826
|
+
declare const GetEventSession: ({ eventId, sessionId, clientApiParams, }: GetEventSessionProps) => Promise<ConnectedXMResponse<SessionWithSupply>>;
|
|
4827
|
+
declare const useGetEventSession: (eventId?: string, sessionId?: string, options?: SingleQueryOptions<ReturnType<typeof GetEventSession>>) => _tanstack_react_query.UseQueryResult<ConnectedXMResponse<SessionWithSupply>, axios.AxiosError<ConnectedXMResponse<any>, any>>;
|
|
4822
4828
|
|
|
4823
4829
|
declare const EVENT_SPEAKER_QUERY_KEY: (eventId: string, speakerId: string) => QueryKey;
|
|
4824
4830
|
declare const SET_EVENT_SPEAKER_QUERY_DATA: (client: QueryClient, keyParams: Parameters<typeof EVENT_SPEAKER_QUERY_KEY>, response: Awaited<ReturnType<typeof GetEventSpeaker>>, baseKeys?: Parameters<typeof GetBaseSingleQueryKeys>) => void;
|