@connectedxm/client 7.3.4 → 7.3.5

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 CHANGED
@@ -3270,9 +3270,8 @@ interface CancelPassParams extends MutationParams {
3270
3270
  eventId: string;
3271
3271
  registrationId: string;
3272
3272
  issueRefund?: boolean;
3273
- accountId: string;
3274
3273
  }
3275
- declare const CancelPass: ({ passId, eventId, issueRefund, accountId, clientApiParams, queryClient, }: CancelPassParams) => Promise<ConnectedXMResponse<Pass>>;
3274
+ declare const CancelPass: ({ passId, eventId, issueRefund, clientApiParams, queryClient, }: CancelPassParams) => Promise<ConnectedXMResponse<Pass>>;
3276
3275
  declare const useCancelPass: (options?: Omit<MutationOptions<Awaited<ReturnType<typeof CancelPass>>, Omit<CancelPassParams, "queryClient" | "clientApiParams">>, "mutationFn">) => _tanstack_react_query.UseMutationResult<ConnectedXMResponse<Pass>, axios.AxiosError<ConnectedXMResponse<Pass>, any>, Omit<CancelPassParams, "queryClient" | "clientApiParams">, unknown>;
3277
3276
 
3278
3277
  interface UpdateSelfEventAttendeeAccessResponsesParams extends MutationParams {
@@ -3291,10 +3290,8 @@ interface CancelSelfEventSessionAccessParams extends MutationParams {
3291
3290
  eventId: string;
3292
3291
  passId: string;
3293
3292
  sessionId: string;
3294
- accountId: string;
3295
- sendEmail?: boolean;
3296
3293
  }
3297
- declare const CancelSelfEventSessionAccess: ({ eventId, passId, sessionId, accountId, sendEmail, clientApiParams, queryClient, }: CancelSelfEventSessionAccessParams) => Promise<ConnectedXMResponse<EventSessionAccess>>;
3294
+ declare const CancelSelfEventSessionAccess: ({ eventId, passId, sessionId, clientApiParams, queryClient, }: CancelSelfEventSessionAccessParams) => Promise<ConnectedXMResponse<EventSessionAccess>>;
3298
3295
  declare const useCancelSelfEventSessionAccess: (options?: Omit<MutationOptions<Awaited<ReturnType<typeof CancelSelfEventSessionAccess>>, Omit<CancelSelfEventSessionAccessParams, "queryClient" | "clientApiParams">>, "mutationFn">) => _tanstack_react_query.UseMutationResult<ConnectedXMResponse<EventSessionAccess>, axios.AxiosError<ConnectedXMResponse<EventSessionAccess>, any>, Omit<CancelSelfEventSessionAccessParams, "queryClient" | "clientApiParams">, unknown>;
3299
3296
 
3300
3297
  interface AddSelfEventSessionParams extends MutationParams {
package/dist/index.js CHANGED
@@ -10485,7 +10485,6 @@ var CancelPass = async ({
10485
10485
  passId,
10486
10486
  eventId,
10487
10487
  issueRefund,
10488
- accountId,
10489
10488
  clientApiParams,
10490
10489
  queryClient
10491
10490
  }) => {
@@ -10493,8 +10492,7 @@ var CancelPass = async ({
10493
10492
  const { data } = await clientApi.put(
10494
10493
  `/self/events/${eventId}/attendee/passes/${passId}/cancel`,
10495
10494
  {
10496
- issueRefund,
10497
- accountId
10495
+ issueRefund
10498
10496
  }
10499
10497
  );
10500
10498
  if (queryClient && data.status === "ok") {
@@ -10552,15 +10550,12 @@ var CancelSelfEventSessionAccess = async ({
10552
10550
  eventId,
10553
10551
  passId,
10554
10552
  sessionId,
10555
- accountId,
10556
- sendEmail = true,
10557
10553
  clientApiParams,
10558
10554
  queryClient
10559
10555
  }) => {
10560
10556
  const clientApi = await GetClientAPI(clientApiParams);
10561
10557
  const { data } = await clientApi.put(
10562
- `/self/events/${eventId}/attendee/passes/${passId}/sessions/${sessionId}/cancel`,
10563
- { sendEmail, accountId }
10558
+ `/self/events/${eventId}/attendee/passes/${passId}/sessions/${sessionId}/cancel`
10564
10559
  );
10565
10560
  if (queryClient && data.status === "ok") {
10566
10561
  queryClient.invalidateQueries({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "7.3.4",
3
+ "version": "7.3.5",
4
4
  "description": "Client API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",