@connectedxm/client 0.5.10 → 0.5.12

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.mts CHANGED
@@ -2960,6 +2960,7 @@ interface CreateListing {
2960
2960
  meetingUrl?: string;
2961
2961
  registration?: boolean;
2962
2962
  registrationLimit?: string;
2963
+ groupOnly?: boolean;
2963
2964
  }
2964
2965
  declare const CreateListing: ({ event, imageDataUri, groupId, sponsorIds, speakers, sessions, clientApiParams, queryClient, }: CreateListingParams) => Promise<ConnectedXMResponse<EventListing>>;
2965
2966
  declare const useCreateListing: (options?: Omit<MutationOptions<Awaited<ReturnType<typeof CreateListing>>, Omit<CreateListingParams, "queryClient" | "clientApiParams">>, "mutationFn">) => _tanstack_react_query.UseMutationResult<ConnectedXMResponse<EventListing>, axios.AxiosError<ConnectedXMResponse<EventListing>, any>, Omit<CreateListingParams, "queryClient" | "clientApiParams">, unknown>;
@@ -3055,6 +3056,7 @@ interface UpdateListing {
3055
3056
  newActivityCreatorEmailNotification: boolean;
3056
3057
  newActivityCreatorPushNotification: boolean;
3057
3058
  slug?: string;
3059
+ groupOnly?: boolean;
3058
3060
  }
3059
3061
  declare const UpdateListing: ({ eventId, event, base64, clientApiParams, queryClient, }: UpdateListingParams) => Promise<ConnectedXMResponse<EventListing>>;
3060
3062
  declare const useUpdateListing: (options?: Omit<MutationOptions<Awaited<ReturnType<typeof UpdateListing>>, Omit<UpdateListingParams, "queryClient" | "clientApiParams">>, "mutationFn">) => _tanstack_react_query.UseMutationResult<ConnectedXMResponse<EventListing>, axios.AxiosError<ConnectedXMResponse<EventListing>, any>, Omit<UpdateListingParams, "queryClient" | "clientApiParams">, unknown>;
package/dist/index.d.ts CHANGED
@@ -2960,6 +2960,7 @@ interface CreateListing {
2960
2960
  meetingUrl?: string;
2961
2961
  registration?: boolean;
2962
2962
  registrationLimit?: string;
2963
+ groupOnly?: boolean;
2963
2964
  }
2964
2965
  declare const CreateListing: ({ event, imageDataUri, groupId, sponsorIds, speakers, sessions, clientApiParams, queryClient, }: CreateListingParams) => Promise<ConnectedXMResponse<EventListing>>;
2965
2966
  declare const useCreateListing: (options?: Omit<MutationOptions<Awaited<ReturnType<typeof CreateListing>>, Omit<CreateListingParams, "queryClient" | "clientApiParams">>, "mutationFn">) => _tanstack_react_query.UseMutationResult<ConnectedXMResponse<EventListing>, axios.AxiosError<ConnectedXMResponse<EventListing>, any>, Omit<CreateListingParams, "queryClient" | "clientApiParams">, unknown>;
@@ -3055,6 +3056,7 @@ interface UpdateListing {
3055
3056
  newActivityCreatorEmailNotification: boolean;
3056
3057
  newActivityCreatorPushNotification: boolean;
3057
3058
  slug?: string;
3059
+ groupOnly?: boolean;
3058
3060
  }
3059
3061
  declare const UpdateListing: ({ eventId, event, base64, clientApiParams, queryClient, }: UpdateListingParams) => Promise<ConnectedXMResponse<EventListing>>;
3060
3062
  declare const useUpdateListing: (options?: Omit<MutationOptions<Awaited<ReturnType<typeof UpdateListing>>, Omit<UpdateListingParams, "queryClient" | "clientApiParams">>, "mutationFn">) => _tanstack_react_query.UseMutationResult<ConnectedXMResponse<EventListing>, axios.AxiosError<ConnectedXMResponse<EventListing>, any>, Omit<UpdateListingParams, "queryClient" | "clientApiParams">, unknown>;
package/dist/index.js CHANGED
@@ -7558,7 +7558,7 @@ var AcceptGroupInvitation = async ({
7558
7558
  queryClient
7559
7559
  }) => {
7560
7560
  const clientApi = await GetClientAPI(clientApiParams);
7561
- const { data } = await clientApi.post(
7561
+ const { data } = await clientApi.put(
7562
7562
  `/groups/${groupId}/invitations/accept`
7563
7563
  );
7564
7564
  if (queryClient && data.status === "ok") {
package/dist/index.mjs CHANGED
@@ -6878,7 +6878,7 @@ var AcceptGroupInvitation = async ({
6878
6878
  queryClient
6879
6879
  }) => {
6880
6880
  const clientApi = await GetClientAPI(clientApiParams);
6881
- const { data } = await clientApi.post(
6881
+ const { data } = await clientApi.put(
6882
6882
  `/groups/${groupId}/invitations/accept`
6883
6883
  );
6884
6884
  if (queryClient && data.status === "ok") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "0.5.10",
3
+ "version": "0.5.12",
4
4
  "description": "Client API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "repository": {