@connectedxm/client 7.5.5 → 7.5.8

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
@@ -1611,6 +1611,7 @@ interface BaseEventActivation {
1611
1611
  image: BaseImage | null;
1612
1612
  type: EventActivationType;
1613
1613
  accessLevel: TicketEventAccessLevel;
1614
+ sortOrder: number;
1614
1615
  }
1615
1616
  interface EventActivation extends BaseEventActivation {
1616
1617
  event: BaseEvent;
@@ -2463,6 +2464,7 @@ interface Survey extends BaseSurvey {
2463
2464
  description: string | null;
2464
2465
  requireAuth: boolean;
2465
2466
  event: BaseEvent | null;
2467
+ requireCheckIn: boolean;
2466
2468
  sessions: BaseSession[] | null;
2467
2469
  activation: BaseEventActivation | null;
2468
2470
  }
package/dist/index.js CHANGED
@@ -8953,8 +8953,8 @@ var CancelBooking = async ({
8953
8953
  queryClient
8954
8954
  }) => {
8955
8955
  const clientApi = await GetClientAPI(clientApiParams);
8956
- const { data } = await clientApi.delete(
8957
- `/bookings/${bookingId}`
8956
+ const { data } = await clientApi.post(
8957
+ `/bookings/${bookingId}/cancel`
8958
8958
  );
8959
8959
  if (queryClient && data.status === "ok") {
8960
8960
  queryClient.setQueryData(BOOKING_QUERY_KEY(bookingId), data);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "7.5.5",
3
+ "version": "7.5.8",
4
4
  "description": "Client API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",