@connectedxm/client 1.4.22 → 1.4.24

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.mjs CHANGED
@@ -443,6 +443,7 @@ var OrganizationModuleType = /* @__PURE__ */ ((OrganizationModuleType2) => {
443
443
  OrganizationModuleType2["subscriptions"] = "subscriptions";
444
444
  OrganizationModuleType2["invoices"] = "invoices";
445
445
  OrganizationModuleType2["announcements"] = "announcements";
446
+ OrganizationModuleType2["bookings"] = "bookings";
446
447
  return OrganizationModuleType2;
447
448
  })(OrganizationModuleType || {});
448
449
  var PaymentIntegrationType = /* @__PURE__ */ ((PaymentIntegrationType2) => {
@@ -451,6 +452,16 @@ var PaymentIntegrationType = /* @__PURE__ */ ((PaymentIntegrationType2) => {
451
452
  PaymentIntegrationType2["braintree"] = "braintree";
452
453
  return PaymentIntegrationType2;
453
454
  })(PaymentIntegrationType || {});
455
+ var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
456
+ DayOfWeek2["sunday"] = "sunday";
457
+ DayOfWeek2["monday"] = "monday";
458
+ DayOfWeek2["tuesday"] = "tuesday";
459
+ DayOfWeek2["wednesday"] = "wednesday";
460
+ DayOfWeek2["thursday"] = "thursday";
461
+ DayOfWeek2["friday"] = "friday";
462
+ DayOfWeek2["saturday"] = "saturday";
463
+ return DayOfWeek2;
464
+ })(DayOfWeek || {});
454
465
 
455
466
  // src/utilities/AppendInfiniteQuery.ts
456
467
  import { produce } from "immer";
@@ -1450,6 +1461,309 @@ var useGetAdvertisement = (position, options = {}) => {
1450
1461
  );
1451
1462
  };
1452
1463
 
1464
+ // src/queries/bookings/useGetBookings.ts
1465
+ var BOOKINGS_QUERY_KEY = (past, placeId) => {
1466
+ const keys = ["BOOKINGS"];
1467
+ if (typeof past !== "undefined") {
1468
+ keys.push(past ? "PAST" : "UPCOMING");
1469
+ }
1470
+ if (placeId) {
1471
+ keys.push(placeId);
1472
+ }
1473
+ return keys;
1474
+ };
1475
+ var SET_BOOKINGS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
1476
+ client.setQueryData(
1477
+ [
1478
+ ...BOOKINGS_QUERY_KEY(...keyParams),
1479
+ ...GetBaseInfiniteQueryKeys(...baseKeys)
1480
+ ],
1481
+ setFirstPageData(response)
1482
+ );
1483
+ };
1484
+ var GetBookings = async ({
1485
+ pageParam,
1486
+ pageSize,
1487
+ orderBy,
1488
+ search,
1489
+ past,
1490
+ placeId,
1491
+ queryClient,
1492
+ clientApiParams,
1493
+ locale
1494
+ }) => {
1495
+ const clientApi = await GetClientAPI(clientApiParams);
1496
+ const { data } = await clientApi.get(`/bookings`, {
1497
+ params: {
1498
+ page: pageParam || void 0,
1499
+ pageSize: pageSize || void 0,
1500
+ orderBy: orderBy || void 0,
1501
+ search: search || void 0,
1502
+ past: past !== void 0 ? past : void 0,
1503
+ placeId: placeId || void 0
1504
+ }
1505
+ });
1506
+ if (queryClient && data.status === "ok") {
1507
+ CacheIndividualQueries(
1508
+ data,
1509
+ queryClient,
1510
+ (bookingId) => BOOKING_QUERY_KEY(bookingId),
1511
+ locale
1512
+ );
1513
+ }
1514
+ return data;
1515
+ };
1516
+ var useGetBookings = (past = false, placeId = "", params = {}, options = {}) => {
1517
+ return useConnectedInfiniteQuery(
1518
+ BOOKINGS_QUERY_KEY(past, placeId),
1519
+ (params2) => GetBookings({ past, placeId, ...params2 }),
1520
+ params,
1521
+ options
1522
+ );
1523
+ };
1524
+
1525
+ // src/queries/bookings/useGetBooking.ts
1526
+ var BOOKING_QUERY_KEY = (bookingId) => [
1527
+ ...BOOKINGS_QUERY_KEY(),
1528
+ bookingId
1529
+ ];
1530
+ var SET_BOOKING_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
1531
+ client.setQueryData(
1532
+ [
1533
+ ...BOOKING_QUERY_KEY(...keyParams),
1534
+ ...GetBaseSingleQueryKeys(...baseKeys)
1535
+ ],
1536
+ response
1537
+ );
1538
+ };
1539
+ var GetBooking = async ({
1540
+ bookingId,
1541
+ clientApiParams
1542
+ }) => {
1543
+ const clientApi = await GetClientAPI(clientApiParams);
1544
+ const { data } = await clientApi.get(`/bookings/${bookingId}`);
1545
+ return data;
1546
+ };
1547
+ var useGetBooking = (bookingId = "", options = {}) => {
1548
+ return useConnectedSingleQuery(
1549
+ BOOKING_QUERY_KEY(bookingId),
1550
+ (_params) => GetBooking({ bookingId, ..._params }),
1551
+ {
1552
+ ...options,
1553
+ enabled: !!bookingId && (options?.enabled ?? true)
1554
+ }
1555
+ );
1556
+ };
1557
+
1558
+ // src/queries/bookings/useGetBookingPlaces.ts
1559
+ var BOOKING_PLACES_QUERY_KEY = () => ["BOOKING_PLACES"];
1560
+ var SET_BOOKING_PLACES_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
1561
+ client.setQueryData(
1562
+ [
1563
+ ...BOOKING_PLACES_QUERY_KEY(...keyParams),
1564
+ ...GetBaseInfiniteQueryKeys(...baseKeys)
1565
+ ],
1566
+ setFirstPageData(response)
1567
+ );
1568
+ };
1569
+ var GetBookingPlaces = async ({
1570
+ pageParam,
1571
+ pageSize,
1572
+ orderBy,
1573
+ search,
1574
+ queryClient,
1575
+ clientApiParams,
1576
+ locale
1577
+ }) => {
1578
+ const clientApi = await GetClientAPI(clientApiParams);
1579
+ const { data } = await clientApi.get(`/bookings/places`, {
1580
+ params: {
1581
+ page: pageParam || void 0,
1582
+ pageSize: pageSize || void 0,
1583
+ orderBy: orderBy || void 0,
1584
+ search: search || void 0
1585
+ }
1586
+ });
1587
+ if (queryClient && data.status === "ok") {
1588
+ CacheIndividualQueries(
1589
+ data,
1590
+ queryClient,
1591
+ (bookingPlaceId) => BOOKING_PLACE_QUERY_KEY(bookingPlaceId),
1592
+ locale
1593
+ );
1594
+ }
1595
+ return data;
1596
+ };
1597
+ var useGetBookingPlaces = (params = {}, options = {}) => {
1598
+ return useConnectedInfiniteQuery(
1599
+ BOOKING_PLACES_QUERY_KEY(),
1600
+ (params2) => GetBookingPlaces({ ...params2 }),
1601
+ params,
1602
+ options
1603
+ );
1604
+ };
1605
+
1606
+ // src/queries/bookings/useGetBookingPlace.ts
1607
+ var BOOKING_PLACE_QUERY_KEY = (placeId) => [
1608
+ ...BOOKING_PLACES_QUERY_KEY(),
1609
+ placeId
1610
+ ];
1611
+ var SET_BOOKING_PLACE_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
1612
+ client.setQueryData(
1613
+ [
1614
+ ...BOOKING_PLACE_QUERY_KEY(...keyParams),
1615
+ ...GetBaseSingleQueryKeys(...baseKeys)
1616
+ ],
1617
+ response
1618
+ );
1619
+ };
1620
+ var GetBookingPlace = async ({
1621
+ placeId,
1622
+ clientApiParams
1623
+ }) => {
1624
+ const clientApi = await GetClientAPI(clientApiParams);
1625
+ const { data } = await clientApi.get(`/bookings/places/${placeId}`);
1626
+ return data;
1627
+ };
1628
+ var useGetBookingPlace = (placeId = "", options = {}) => {
1629
+ return useConnectedSingleQuery(
1630
+ BOOKING_PLACE_QUERY_KEY(placeId),
1631
+ (_params) => GetBookingPlace({ placeId, ..._params }),
1632
+ {
1633
+ ...options,
1634
+ enabled: !!placeId && (options?.enabled ?? true)
1635
+ }
1636
+ );
1637
+ };
1638
+
1639
+ // src/queries/bookings/useGetBookingPlaceSpace.ts
1640
+ var BOOKING_PLACE_SPACE_QUERY_KEY = (placeId, spaceId) => [...BOOKING_PLACES_QUERY_KEY(), placeId, "SPACE", spaceId];
1641
+ var SET_BOOKING_PLACE_SPACE_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
1642
+ client.setQueryData(
1643
+ [
1644
+ ...BOOKING_PLACE_SPACE_QUERY_KEY(...keyParams),
1645
+ ...GetBaseSingleQueryKeys(...baseKeys)
1646
+ ],
1647
+ response
1648
+ );
1649
+ };
1650
+ var GetBookingPlaceSpace = async ({
1651
+ placeId,
1652
+ spaceId,
1653
+ clientApiParams
1654
+ }) => {
1655
+ const clientApi = await GetClientAPI(clientApiParams);
1656
+ const { data } = await clientApi.get(
1657
+ `/bookings/places/${placeId}/spaces/${spaceId}`
1658
+ );
1659
+ return data;
1660
+ };
1661
+ var useGetBookingPlaceSpace = (placeId = "", spaceId = "", options = {}) => {
1662
+ return useConnectedSingleQuery(
1663
+ BOOKING_PLACE_SPACE_QUERY_KEY(placeId, spaceId),
1664
+ (_params) => GetBookingPlaceSpace({ placeId, spaceId, ..._params }),
1665
+ {
1666
+ ...options,
1667
+ enabled: !!placeId && !!spaceId && (options?.enabled ?? true)
1668
+ }
1669
+ );
1670
+ };
1671
+
1672
+ // src/queries/bookings/useGetBookingPlaceSpaces.ts
1673
+ var BOOKING_PLACE_SPACES_QUERY_KEY = (bookingId) => [
1674
+ ...BOOKING_PLACE_QUERY_KEY(bookingId),
1675
+ "SPACES"
1676
+ ];
1677
+ var SET_BOOKING_PLACE_SPACES_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
1678
+ client.setQueryData(
1679
+ [
1680
+ ...BOOKING_PLACE_SPACES_QUERY_KEY(...keyParams),
1681
+ ...GetBaseInfiniteQueryKeys(...baseKeys)
1682
+ ],
1683
+ setFirstPageData(response)
1684
+ );
1685
+ };
1686
+ var GetBookingPlacesSpaces = async ({
1687
+ bookingId,
1688
+ pageParam,
1689
+ pageSize,
1690
+ orderBy,
1691
+ search,
1692
+ queryClient,
1693
+ clientApiParams,
1694
+ locale
1695
+ }) => {
1696
+ const clientApi = await GetClientAPI(clientApiParams);
1697
+ const { data } = await clientApi.get(`/bookings/places/${bookingId}/spaces`, {
1698
+ params: {
1699
+ page: pageParam || void 0,
1700
+ pageSize: pageSize || void 0,
1701
+ orderBy: orderBy || void 0,
1702
+ search: search || void 0
1703
+ }
1704
+ });
1705
+ if (queryClient && data.status === "ok") {
1706
+ CacheIndividualQueries(
1707
+ data,
1708
+ queryClient,
1709
+ (spaceId) => BOOKING_PLACE_SPACE_QUERY_KEY(bookingId, spaceId),
1710
+ locale
1711
+ );
1712
+ }
1713
+ return data;
1714
+ };
1715
+ var useGetBookingPlacesSpaces = (bookingId = "", params = {}, options = {}) => {
1716
+ return useConnectedInfiniteQuery(
1717
+ BOOKING_PLACE_SPACES_QUERY_KEY(bookingId),
1718
+ (params2) => GetBookingPlacesSpaces({ bookingId, ...params2 }),
1719
+ params,
1720
+ {
1721
+ ...options,
1722
+ enabled: !!bookingId && (options?.enabled ?? true)
1723
+ }
1724
+ );
1725
+ };
1726
+
1727
+ // src/queries/bookings/useGetBookingPlaceSpaceSlots.ts
1728
+ var BOOKING_PLACE_SPACE_SLOTS_QUERY_KEY = (placeId, spaceId, firstDayOfMonth) => [
1729
+ ...BOOKING_PLACES_QUERY_KEY(),
1730
+ placeId,
1731
+ "SPACE",
1732
+ spaceId,
1733
+ "SLOTS",
1734
+ firstDayOfMonth
1735
+ ];
1736
+ var GetBookingPlaceSpaceSlots = async ({
1737
+ placeId,
1738
+ spaceId,
1739
+ firstDayOfMonth,
1740
+ clientApiParams
1741
+ }) => {
1742
+ const clientApi = await GetClientAPI(clientApiParams);
1743
+ const { data } = await clientApi.get(
1744
+ `/bookings/places/${placeId}/spaces/${spaceId}/slots`,
1745
+ {
1746
+ params: { firstDayOfMonth }
1747
+ }
1748
+ );
1749
+ return data;
1750
+ };
1751
+ var useGetBookingPlaceSpaceSlots = (placeId = "", spaceId = "", firstDayOfMonth, options = {}) => {
1752
+ return useConnectedSingleQuery(
1753
+ BOOKING_PLACE_SPACE_SLOTS_QUERY_KEY(placeId, spaceId, firstDayOfMonth),
1754
+ (_params) => GetBookingPlaceSpaceSlots({
1755
+ placeId,
1756
+ spaceId,
1757
+ firstDayOfMonth,
1758
+ ..._params
1759
+ }),
1760
+ {
1761
+ ...options,
1762
+ enabled: !!placeId && !!spaceId && (options?.enabled ?? true)
1763
+ }
1764
+ );
1765
+ };
1766
+
1453
1767
  // src/queries/benefits/useGetBenefits.ts
1454
1768
  var BENEFITS_QUERY_KEY = () => ["BENEFITS"];
1455
1769
  var SET_BENEFITS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
@@ -8118,6 +8432,94 @@ var useUnlikeActivity = (options = {}) => {
8118
8432
  return useConnectedMutation_default(UnlikeActivity, options);
8119
8433
  };
8120
8434
 
8435
+ // src/mutations/bookings/useCancelBooking.ts
8436
+ var CancelBooking = async ({
8437
+ bookingId,
8438
+ clientApiParams,
8439
+ queryClient
8440
+ }) => {
8441
+ const clientApi = await GetClientAPI(clientApiParams);
8442
+ const { data } = await clientApi.delete(
8443
+ `/bookings/${bookingId}`
8444
+ );
8445
+ if (queryClient && data.status === "ok") {
8446
+ queryClient.setQueryData(BOOKING_QUERY_KEY(bookingId), data);
8447
+ queryClient.invalidateQueries({
8448
+ queryKey: BOOKINGS_QUERY_KEY()
8449
+ });
8450
+ }
8451
+ return data;
8452
+ };
8453
+ var useCancelBooking = (options = {}) => {
8454
+ return useConnectedMutation_default(CancelBooking, options);
8455
+ };
8456
+
8457
+ // src/mutations/bookings/useConfirmBooking.ts
8458
+ var ConfirmBooking = async ({
8459
+ bookingId,
8460
+ clientApiParams,
8461
+ queryClient
8462
+ }) => {
8463
+ const clientApi = await GetClientAPI(clientApiParams);
8464
+ const { data } = await clientApi.post(
8465
+ `/bookings/${bookingId}`
8466
+ );
8467
+ if (queryClient && data.status === "ok") {
8468
+ queryClient.setQueryData(BOOKING_QUERY_KEY(bookingId), data);
8469
+ queryClient.invalidateQueries({
8470
+ queryKey: BOOKINGS_QUERY_KEY()
8471
+ });
8472
+ }
8473
+ return data;
8474
+ };
8475
+ var useConfirmBooking = (options = {}) => {
8476
+ return useConnectedMutation_default(ConfirmBooking, options);
8477
+ };
8478
+
8479
+ // src/mutations/bookings/useDraftBooking.ts
8480
+ var DraftBooking = async ({
8481
+ placeId,
8482
+ spaceId,
8483
+ day,
8484
+ time,
8485
+ queryClient,
8486
+ clientApiParams
8487
+ }) => {
8488
+ const clientApi = await GetClientAPI(clientApiParams);
8489
+ const { data } = await clientApi.post(
8490
+ `/bookings/places/${placeId}/spaces/${spaceId}/slots`,
8491
+ { day, time }
8492
+ );
8493
+ if (data.status === "ok" && queryClient) {
8494
+ queryClient.invalidateQueries({
8495
+ queryKey: BOOKINGS_QUERY_KEY()
8496
+ });
8497
+ }
8498
+ return data;
8499
+ };
8500
+ var useDraftBooking = (options = {}) => {
8501
+ return useConnectedMutation_default(DraftBooking, options);
8502
+ };
8503
+
8504
+ // src/mutations/bookings/useDeleteDraftBooking.ts
8505
+ var DeleteDraftBooking = async ({
8506
+ bookingId,
8507
+ clientApiParams,
8508
+ queryClient
8509
+ }) => {
8510
+ const clientApi = await GetClientAPI(clientApiParams);
8511
+ const { data } = await clientApi.delete(
8512
+ `/bookings/${bookingId}`
8513
+ );
8514
+ if (queryClient && data.status === "ok") {
8515
+ queryClient.removeQueries({ queryKey: BOOKING_QUERY_KEY(bookingId) });
8516
+ }
8517
+ return data;
8518
+ };
8519
+ var useDeleteDraftBooking = (options = {}) => {
8520
+ return useConnectedMutation_default(DeleteDraftBooking, options);
8521
+ };
8522
+
8121
8523
  // src/mutations/channels/contents/useLikeContent.ts
8122
8524
  var LikeContent = async ({
8123
8525
  channelId,
@@ -9135,6 +9537,11 @@ var SelectSelfEventRegistrationCoupon = async ({
9135
9537
  queryClient.removeQueries({
9136
9538
  queryKey: SELF_EVENT_REGISTRATION_QUERY_KEY(eventId)
9137
9539
  });
9540
+ queryClient.invalidateQueries({
9541
+ predicate: ({ queryKey }) => {
9542
+ return queryKey.includes("INTENT");
9543
+ }
9544
+ });
9138
9545
  }
9139
9546
  return data;
9140
9547
  };
@@ -9156,6 +9563,11 @@ var RemoveSelfEventRegistrationCoupon = async ({
9156
9563
  queryClient.removeQueries({
9157
9564
  queryKey: SELF_EVENT_REGISTRATION_QUERY_KEY(eventId)
9158
9565
  });
9566
+ queryClient.invalidateQueries({
9567
+ predicate: ({ queryKey }) => {
9568
+ return queryKey.includes("INTENT");
9569
+ }
9570
+ });
9159
9571
  }
9160
9572
  return data;
9161
9573
  };
@@ -11593,6 +12005,13 @@ export {
11593
12005
  AdvertisementType,
11594
12006
  AppendInfiniteQuery,
11595
12007
  BENEFITS_QUERY_KEY,
12008
+ BOOKINGS_QUERY_KEY,
12009
+ BOOKING_PLACES_QUERY_KEY,
12010
+ BOOKING_PLACE_QUERY_KEY,
12011
+ BOOKING_PLACE_SPACES_QUERY_KEY,
12012
+ BOOKING_PLACE_SPACE_QUERY_KEY,
12013
+ BOOKING_PLACE_SPACE_SLOTS_QUERY_KEY,
12014
+ BOOKING_QUERY_KEY,
11596
12015
  BlockIntegration,
11597
12016
  CHANNELS_QUERY_KEY,
11598
12017
  CHANNEL_COLLECTIONS_QUERY_KEY,
@@ -11610,6 +12029,7 @@ export {
11610
12029
  CONTENT_QUERY_KEY,
11611
12030
  CUSTOM_ERROR_CODES,
11612
12031
  CacheIndividualQueries,
12032
+ CancelBooking,
11613
12033
  CancelGroupInvitation,
11614
12034
  CancelGroupRequest,
11615
12035
  CancelPass,
@@ -11617,6 +12037,7 @@ export {
11617
12037
  CapturePaymentIntent,
11618
12038
  CheckinListingAttendeePass,
11619
12039
  CompleteEventActivation,
12040
+ ConfirmBooking,
11620
12041
  ConnectedXMProvider,
11621
12042
  ContentGuestType,
11622
12043
  CouponType,
@@ -11644,6 +12065,7 @@ export {
11644
12065
  CreateThread,
11645
12066
  CreateThreadMessage,
11646
12067
  Currency,
12068
+ DayOfWeek,
11647
12069
  DeactivateGroup,
11648
12070
  DefaultAuthAction,
11649
12071
  DeleteActivity,
@@ -11653,6 +12075,7 @@ export {
11653
12075
  DeleteChannelSubscriber,
11654
12076
  DeleteContentGuest,
11655
12077
  DeleteContentPublishSchedule,
12078
+ DeleteDraftBooking,
11656
12079
  DeleteListing,
11657
12080
  DeleteListingQuestion,
11658
12081
  DeleteListingSession,
@@ -11668,6 +12091,7 @@ export {
11668
12091
  DeleteThreadMessage,
11669
12092
  DemoteGroupModerator,
11670
12093
  DisableIntegration,
12094
+ DraftBooking,
11671
12095
  ERR_FEATURE_NOT_AVAILABLE,
11672
12096
  ERR_INTEGRATION_PERMISSION_DENIED,
11673
12097
  ERR_KNOWN_ERROR,
@@ -11736,6 +12160,13 @@ export {
11736
12160
  GetBaseInfiniteQueryKeys,
11737
12161
  GetBaseSingleQueryKeys,
11738
12162
  GetBenefits,
12163
+ GetBooking,
12164
+ GetBookingPlace,
12165
+ GetBookingPlaceSpace,
12166
+ GetBookingPlaceSpaceSlots,
12167
+ GetBookingPlaces,
12168
+ GetBookingPlacesSpaces,
12169
+ GetBookings,
11739
12170
  GetChannel,
11740
12171
  GetChannelCollection,
11741
12172
  GetChannelCollectionContents,
@@ -12035,6 +12466,12 @@ export {
12035
12466
  SET_ADVERTISEMENT_QUERY_DATA,
12036
12467
  SET_ALL_GROUP_EVENTS_QUERY_DATA,
12037
12468
  SET_BENEFITS_QUERY_DATA,
12469
+ SET_BOOKINGS_QUERY_DATA,
12470
+ SET_BOOKING_PLACES_QUERY_DATA,
12471
+ SET_BOOKING_PLACE_QUERY_DATA,
12472
+ SET_BOOKING_PLACE_SPACES_QUERY_DATA,
12473
+ SET_BOOKING_PLACE_SPACE_QUERY_DATA,
12474
+ SET_BOOKING_QUERY_DATA,
12038
12475
  SET_CHANNELS_QUERY_DATA,
12039
12476
  SET_CHANNEL_COLLECTIONS_QUERY_DATA,
12040
12477
  SET_CHANNEL_COLLECTION_QUERY_DATA,
@@ -12248,6 +12685,7 @@ export {
12248
12685
  useAddThreadMessageReaction,
12249
12686
  useAddThreadMessageReply,
12250
12687
  useBlockIntegration,
12688
+ useCancelBooking,
12251
12689
  useCancelGroupInvitation,
12252
12690
  useCancelGroupRequest,
12253
12691
  useCancelPass,
@@ -12255,6 +12693,7 @@ export {
12255
12693
  useCapturePaymentIntent,
12256
12694
  useCheckinListingAttendeePass,
12257
12695
  useCompleteEventActivation,
12696
+ useConfirmBooking,
12258
12697
  useConnectedInfiniteQuery,
12259
12698
  useConnectedMutation,
12260
12699
  useConnectedSingleQuery,
@@ -12290,6 +12729,7 @@ export {
12290
12729
  useDeleteChannelSubscriber,
12291
12730
  useDeleteContentGuest,
12292
12731
  useDeleteContentPublishSchedule,
12732
+ useDeleteDraftBooking,
12293
12733
  useDeleteListing,
12294
12734
  useDeleteListingQuestion,
12295
12735
  useDeleteListingSession,
@@ -12305,6 +12745,7 @@ export {
12305
12745
  useDeleteThreadMessage,
12306
12746
  useDemoteGroupModerator,
12307
12747
  useDisableIntegration,
12748
+ useDraftBooking,
12308
12749
  useEnableIntegration,
12309
12750
  useFollowAccount,
12310
12751
  useGetAccount,
@@ -12323,6 +12764,13 @@ export {
12323
12764
  useGetAdvertisement,
12324
12765
  useGetAllGroupEvents,
12325
12766
  useGetBenefits,
12767
+ useGetBooking,
12768
+ useGetBookingPlace,
12769
+ useGetBookingPlaceSpace,
12770
+ useGetBookingPlaceSpaceSlots,
12771
+ useGetBookingPlaces,
12772
+ useGetBookingPlacesSpaces,
12773
+ useGetBookings,
12326
12774
  useGetChannel,
12327
12775
  useGetChannelCollection,
12328
12776
  useGetChannelCollectionContents,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "1.4.22",
3
+ "version": "1.4.24",
4
4
  "description": "Client API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "repository": {