@cimplify/sdk 0.20.2 → 0.22.0

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.
Files changed (34) hide show
  1. package/dist/advanced.d.mts +2 -2
  2. package/dist/advanced.d.ts +2 -2
  3. package/dist/advanced.js +20 -20
  4. package/dist/advanced.mjs +1 -1
  5. package/dist/{chunk-WXFEO3LT.js → chunk-A7IQN5EK.js} +17 -17
  6. package/dist/{chunk-VTMRPTQ7.mjs → chunk-R4EYMPSN.mjs} +39 -0
  7. package/dist/{chunk-UVBJDWIV.js → chunk-VYSXEDBV.js} +39 -0
  8. package/dist/{chunk-X23RNZAD.mjs → chunk-W3DMONZR.mjs} +1 -1
  9. package/dist/{client-D4E9aJy7.d.mts → client-uvCOGdBp.d.ts} +24 -2
  10. package/dist/{client-VyO6Bqz2.d.ts → client-v1NFqZFG.d.mts} +24 -2
  11. package/dist/index.d.mts +4 -4
  12. package/dist/index.d.ts +4 -4
  13. package/dist/index.js +58 -58
  14. package/dist/index.mjs +2 -2
  15. package/dist/{payment-CKqMU4xT.d.ts → payment-DazihbCY.d.mts} +1 -0
  16. package/dist/{payment-CKqMU4xT.d.mts → payment-DazihbCY.d.ts} +1 -0
  17. package/dist/{price-e4beObLZ.d.ts → price-5_L8WK6Q.d.ts} +1 -1
  18. package/dist/{price-BqV_DjjQ.d.mts → price-BcHVTqqu.d.mts} +1 -1
  19. package/dist/react.d.mts +73 -9
  20. package/dist/react.d.ts +73 -9
  21. package/dist/react.js +329 -114
  22. package/dist/react.mjs +312 -99
  23. package/dist/styles.css +1 -1
  24. package/dist/utils.d.mts +2 -2
  25. package/dist/utils.d.ts +2 -2
  26. package/package.json +1 -1
  27. package/registry/booking-card.json +1 -1
  28. package/registry/booking-page.json +1 -1
  29. package/registry/order-detail-page.json +1 -1
  30. package/registry/order-history-page.json +1 -1
  31. package/registry/order-history.json +1 -1
  32. package/registry/order-summary.json +1 -1
  33. package/registry/product-card.json +1 -1
  34. package/registry/service-card.json +1 -1
package/dist/react.d.mts CHANGED
@@ -1,9 +1,9 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { A as AdSlot, a as AdPosition, e as AdContextValue } from './ads-BxbWrwqp.mjs';
3
3
  export { c as AdConfig, g as getVariantDisplayName } from './ads-BxbWrwqp.mjs';
4
- import { C as CimplifyClient, a7 as ProcessCheckoutResult, a9 as CheckoutStatus, aa as CheckoutStatusContext, bJ as Location, bG as Business, b1 as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, aQ as OrderStatus, bW as Service, bZ as AvailableSlot, b_ as DayAvailability, c3 as CustomerBooking, c9 as CancelBookingResult, v as ActivityStateResponse, t as SessionMessage, w as ActivityRecommendation, z as DeliveryFeeResponse, cL as FxRateResponse, bQ as StorefrontBootstrap, X as ElementsOptions, cZ as AuthenticatedData, cV as AddressInfo, cW as PaymentMethodInfo, J as CimplifyElements, c$ as ElementsCheckoutResult, a6 as ProcessCheckoutOptions, b0 as LineItem, bX as Staff } from './client-D4E9aJy7.mjs';
5
- import { J as Product, d as Pagination, h as CimplifyError, L as ProductWithDetails, a5 as Category, M as Money, b0 as BundleSelectionInput, av as ComponentSelectionInput, b3 as BundleSelectionData, b6 as CompositeSelectionData, a7 as Collection, aD as ProductTaxonomy, aE as TaxonomyWithChildren, aC as ProductTimeProfile, aH as Deal, aI as ProductDealInfo, aJ as DiscountValidation, ac as BundleSummary, aw as CompositePriceResult, y as CustomAttributeDefinition, G as PropertyFacet, bI as ProductBillingPlan, N as VariantView, W as VariantAxisWithValues, a as CurrencyCode, a1 as AddOnWithOptions, ah as BundleComponentView, aa as BundlePriceType, as as CompositeGroupView, bb as DisplayCart } from './payment-CKqMU4xT.mjs';
6
- import { P as ProductWithPrice } from './price-BqV_DjjQ.mjs';
4
+ import { C as CimplifyClient, a8 as ProcessCheckoutResult, aa as CheckoutStatus, ab as CheckoutStatusContext, bK as Location, bH as Business, k as ReorderResult, aR as OrderStatus, b2 as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, bX as Service, c0 as AvailableSlot, c1 as DayAvailability, c6 as CustomerBooking, cc as CancelBookingResult, w as ActivityStateResponse, u as SessionMessage, x as ActivityRecommendation, E as DeliveryFeeResponse, cO as FxRateResponse, bR as StorefrontBootstrap, Y as ElementsOptions, d0 as AuthenticatedData, cY as AddressInfo, cZ as PaymentMethodInfo, K as CimplifyElements, d2 as ElementsCheckoutResult, a7 as ProcessCheckoutOptions, b1 as LineItem, bY as Staff, bP as Room } from './client-v1NFqZFG.mjs';
5
+ import { J as Product, d as Pagination, h as CimplifyError, L as ProductWithDetails, a5 as Category, M as Money, b0 as BundleSelectionInput, av as ComponentSelectionInput, b3 as BundleSelectionData, b6 as CompositeSelectionData, a7 as Collection, aD as ProductTaxonomy, aE as TaxonomyWithChildren, aC as ProductTimeProfile, aH as Deal, aI as ProductDealInfo, aJ as DiscountValidation, ac as BundleSummary, aw as CompositePriceResult, y as CustomAttributeDefinition, G as PropertyFacet, bI as ProductBillingPlan, N as VariantView, W as VariantAxisWithValues, a as CurrencyCode, a1 as AddOnWithOptions, ah as BundleComponentView, aa as BundlePriceType, as as CompositeGroupView, bb as DisplayCart } from './payment-DazihbCY.mjs';
6
+ import { P as ProductWithPrice } from './price-BcHVTqqu.mjs';
7
7
  import { ClassValue } from 'clsx';
8
8
 
9
9
  interface UserIdentity {
@@ -230,6 +230,7 @@ interface AddToCartOptions {
230
230
  scheduledStart?: string;
231
231
  scheduledEnd?: string;
232
232
  staffId?: string;
233
+ resourceId?: string;
233
234
  }
234
235
  interface UseCartOptions {
235
236
  client?: CimplifyClient;
@@ -251,6 +252,7 @@ interface UseCartResult {
251
252
  updateQuantity: (itemId: string, quantity: number) => Promise<void>;
252
253
  clearCart: () => Promise<void>;
253
254
  sync: () => Promise<void>;
255
+ reorder: (orderId: string) => Promise<ReorderResult>;
254
256
  }
255
257
  declare function useCart(options?: UseCartOptions): UseCartResult;
256
258
 
@@ -259,12 +261,14 @@ interface UseOrderOptions {
259
261
  pollInterval?: number;
260
262
  enabled?: boolean;
261
263
  client?: CimplifyClient;
264
+ onStatusChange?: (previousStatus: OrderStatus, newStatus: OrderStatus, order: Order) => void;
262
265
  }
263
266
  interface UseOrderResult {
264
267
  order: Order | null;
265
268
  isLoading: boolean;
266
269
  error: CimplifyError | null;
267
270
  refetch: () => Promise<void>;
271
+ isTerminal: boolean;
268
272
  }
269
273
  declare function useOrder(orderId: string | null | undefined, options?: UseOrderOptions): UseOrderResult;
270
274
 
@@ -1349,6 +1353,7 @@ interface OrderSummaryClassNames {
1349
1353
  bundleBreakdown?: string;
1350
1354
  compositeBreakdown?: string;
1351
1355
  trackingLink?: string;
1356
+ reorderButton?: string;
1352
1357
  }
1353
1358
  interface OrderSummaryProps {
1354
1359
  /** Pass an Order object directly (skips fetch). */
@@ -1359,6 +1364,10 @@ interface OrderSummaryProps {
1359
1364
  poll?: boolean;
1360
1365
  /** Custom line item renderer. */
1361
1366
  renderLineItem?: (item: LineItem) => React.ReactNode;
1367
+ /** Called when the reorder button is clicked. */
1368
+ onReorder?: (order: Order) => void;
1369
+ /** Called when the order status changes during polling. */
1370
+ onStatusChange?: (previousStatus: OrderStatus, newStatus: OrderStatus, order: Order) => void;
1362
1371
  className?: string;
1363
1372
  classNames?: OrderSummaryClassNames;
1364
1373
  }
@@ -1368,7 +1377,7 @@ interface OrderSummaryProps {
1368
1377
  * Accepts either a pre-loaded `order` object or an `orderId` to fetch.
1369
1378
  * Supports polling for live status updates.
1370
1379
  */
1371
- declare function OrderSummary({ order: orderProp, orderId, poll, renderLineItem, className, classNames, }: OrderSummaryProps): React.ReactElement;
1380
+ declare function OrderSummary({ order: orderProp, orderId, poll, renderLineItem, onReorder, onStatusChange, className, classNames, }: OrderSummaryProps): React.ReactElement;
1372
1381
 
1373
1382
  interface OrderHistoryClassNames {
1374
1383
  root?: string;
@@ -1379,6 +1388,7 @@ interface OrderHistoryClassNames {
1379
1388
  total?: string;
1380
1389
  empty?: string;
1381
1390
  loading?: string;
1391
+ reorderButton?: string;
1382
1392
  }
1383
1393
  interface OrderHistoryProps {
1384
1394
  /** Override orders (skips fetch). For SSR, pass pre-fetched orders. */
@@ -1391,6 +1401,8 @@ interface OrderHistoryProps {
1391
1401
  onOrderClick?: (order: Order) => void;
1392
1402
  /** Custom order row renderer. */
1393
1403
  renderOrder?: (order: Order) => React.ReactNode;
1404
+ /** Called when the reorder button is clicked. If provided, a reorder button is rendered. */
1405
+ onReorder?: (order: Order) => void;
1394
1406
  /** Text shown when empty. */
1395
1407
  emptyMessage?: string;
1396
1408
  className?: string;
@@ -1401,7 +1413,7 @@ interface OrderHistoryProps {
1401
1413
  *
1402
1414
  * Fetches via `useOrders` unless pre-loaded orders are passed.
1403
1415
  */
1404
- declare function OrderHistory({ orders: ordersProp, status, limit, onOrderClick, renderOrder, emptyMessage, className, classNames, }: OrderHistoryProps): React.ReactElement;
1416
+ declare function OrderHistory({ orders: ordersProp, status, limit, onOrderClick, renderOrder, onReorder, emptyMessage, className, classNames, }: OrderHistoryProps): React.ReactElement;
1405
1417
 
1406
1418
  interface StoreNavClassNames {
1407
1419
  root?: string;
@@ -1894,6 +1906,10 @@ interface OrderDetailPageProps {
1894
1906
  onBack?: () => void;
1895
1907
  /** Custom line item renderer. */
1896
1908
  renderLineItem?: (item: LineItem) => React.ReactNode;
1909
+ /** Called when the reorder button is clicked. */
1910
+ onReorder?: (order: Order) => void;
1911
+ /** Called when the order status changes during polling. */
1912
+ onStatusChange?: (previousStatus: OrderStatus, newStatus: OrderStatus, order: Order) => void;
1897
1913
  /** Back button label. */
1898
1914
  backLabel?: string;
1899
1915
  className?: string;
@@ -1904,7 +1920,7 @@ interface OrderDetailPageProps {
1904
1920
  *
1905
1921
  * SSR-friendly: pass `order` prop for server rendering.
1906
1922
  */
1907
- declare function OrderDetailPage({ orderId, order, poll, onBack, renderLineItem, backLabel, className, classNames, }: OrderDetailPageProps): React.ReactElement;
1923
+ declare function OrderDetailPage({ orderId, order, poll, onBack, renderLineItem, onReorder, onStatusChange, backLabel, className, classNames, }: OrderDetailPageProps): React.ReactElement;
1908
1924
 
1909
1925
  interface OrderHistoryPageClassNames {
1910
1926
  root?: string;
@@ -1925,6 +1941,8 @@ interface OrderHistoryPageProps {
1925
1941
  limit?: number;
1926
1942
  /** Called when navigating to an order detail (e.g. for routing). */
1927
1943
  onOrderNavigate?: (order: Order) => void;
1944
+ /** Called when the reorder button is clicked. */
1945
+ onReorder?: (order: Order) => void;
1928
1946
  /** Show status filter tabs. Default: true. */
1929
1947
  showFilters?: boolean;
1930
1948
  /** Custom order row renderer. */
@@ -1938,7 +1956,7 @@ interface OrderHistoryPageProps {
1938
1956
  * SSR-friendly: pass `orders` prop for server rendering.
1939
1957
  * Supports both inline detail view and external navigation via `onOrderNavigate`.
1940
1958
  */
1941
- declare function OrderHistoryPage({ title, orders: ordersProp, limit, onOrderNavigate, showFilters, renderOrder, className, classNames, }: OrderHistoryPageProps): React.ReactElement;
1959
+ declare function OrderHistoryPage({ title, orders: ordersProp, limit, onOrderNavigate, onReorder, showFilters, renderOrder, className, classNames, }: OrderHistoryPageProps): React.ReactElement;
1942
1960
 
1943
1961
  interface SearchPageClassNames {
1944
1962
  root?: string;
@@ -2031,6 +2049,49 @@ interface DealsPageProps {
2031
2049
  */
2032
2050
  declare function DealsPage({ title, deals: dealsProp, productsOnSale: productsOnSaleProp, products: productsProp, locationId, renderImage, columns, className, classNames, }: DealsPageProps): React.ReactElement;
2033
2051
 
2052
+ interface Resource {
2053
+ id: string;
2054
+ name: string;
2055
+ description?: string;
2056
+ capacity?: number;
2057
+ floor?: string;
2058
+ image_url?: string;
2059
+ is_available?: boolean;
2060
+ }
2061
+ interface ResourcePickerClassNames {
2062
+ root?: string;
2063
+ option?: string;
2064
+ image?: string;
2065
+ name?: string;
2066
+ description?: string;
2067
+ meta?: string;
2068
+ capacity?: string;
2069
+ floor?: string;
2070
+ unavailable?: string;
2071
+ }
2072
+ interface ResourcePickerProps {
2073
+ /** List of available resources (rooms, equipment, etc.). */
2074
+ resources: Resource[];
2075
+ /** Currently selected resource ID, or null for "Any available". */
2076
+ selectedResourceId?: string | null;
2077
+ /** Called when a resource is selected. Passes null for "Any available". */
2078
+ onResourceSelect?: (resourceId: string | null) => void;
2079
+ /** Show "Any available" option. Default: true. */
2080
+ showAnyOption?: boolean;
2081
+ /** Label for the "Any available" option. */
2082
+ anyLabel?: string;
2083
+ /** Custom image renderer (e.g. Next.js Image). */
2084
+ renderImage?: (props: {
2085
+ src: string;
2086
+ alt: string;
2087
+ className?: string;
2088
+ }) => React.ReactNode;
2089
+ className?: string;
2090
+ classNames?: ResourcePickerClassNames;
2091
+ }
2092
+ declare function roomToResource(room: Room): Resource;
2093
+ declare function ResourcePicker({ resources, selectedResourceId, onResourceSelect, showAnyOption, anyLabel, renderImage, className, classNames, }: ResourcePickerProps): React.ReactElement;
2094
+
2034
2095
  interface BookingPageClassNames {
2035
2096
  root?: string;
2036
2097
  header?: string;
@@ -2046,6 +2107,7 @@ interface BookingPageClassNames {
2046
2107
  rescheduleInfo?: string;
2047
2108
  depositInfo?: string;
2048
2109
  cancellationPolicy?: string;
2110
+ resourceStep?: string;
2049
2111
  }
2050
2112
  interface BookingPageProps {
2051
2113
  /** The service being booked. */
@@ -2054,6 +2116,8 @@ interface BookingPageProps {
2054
2116
  product?: Product;
2055
2117
  /** Optional staff list for staff selection step. */
2056
2118
  staff?: Staff[];
2119
+ /** Optional resources for resource selection step (rooms, equipment, etc.). */
2120
+ resources?: Resource[];
2057
2121
  /** Number of participants. */
2058
2122
  participantCount?: number;
2059
2123
  /** Page title. */
@@ -2071,7 +2135,7 @@ interface BookingPageProps {
2071
2135
  className?: string;
2072
2136
  classNames?: BookingPageClassNames;
2073
2137
  }
2074
- declare function BookingPage({ service, product, staff, participantCount, title, onBooked, onBack, existingBooking, onRescheduled, showPrice, className, classNames, }: BookingPageProps): React.ReactElement;
2138
+ declare function BookingPage({ service, product, staff, resources, participantCount, title, onBooked, onBack, existingBooking, onRescheduled, showPrice, className, classNames, }: BookingPageProps): React.ReactElement;
2075
2139
 
2076
2140
  interface BookingsPageClassNames {
2077
2141
  root?: string;
@@ -2316,4 +2380,4 @@ interface CurrencySelectorProps {
2316
2380
  */
2317
2381
  declare function CurrencySelector({ currencies, currentCurrency, onCurrencyChange, showRate, baseCurrency, renderCurrency, className, classNames, }: CurrencySelectorProps): React.ReactElement | null;
2318
2382
 
2319
- export { Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, type CartAddOnOptionSelection, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, type CartVariantSelection, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyContextValue, CimplifyProvider, type CimplifyProviderProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, PaymentElement, Price, type PriceProps, ProductCard, type ProductCardClassNames, type ProductCardProps, ProductCustomizer, type ProductCustomizerClassNames, type ProductCustomizerProps, ProductGrid, type ProductGridClassNames, type ProductGridProps, ProductImageGallery, type ProductImageGalleryProps, ProductPage, type ProductPageClassNames, type ProductPageProps, ProductSheet, type ProductSheetClassNames, type ProductSheetProps, QuantitySelector, type QuantitySelectorClassNames, type QuantitySelectorProps, RecentlyViewed, type RecentlyViewedClassNames, type RecentlyViewedProps, RecommendationCarousel, type RecommendationCarouselClassNames, type RecommendationCarouselProps, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, SearchInput, type SearchInputClassNames, type SearchInputProps, SearchPage, type SearchPageClassNames, type SearchPageProps, ServiceCard, type ServiceCardClassNames, type ServiceCardProps, ServiceGrid, type ServiceGridClassNames, type ServiceGridProps, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StoreNav, type StoreNavClassNames, type StoreNavProps, type UseActivityStateOptions, type UseActivityStateResult, type UseAttributeDefinitionsOptions, type UseAttributeDefinitionsResult, type UseAvailableSlotsOptions, type UseAvailableSlotsResult, type UseBillingPlansOptions, type UseBillingPlansResult, type UseBookingsOptions, type UseBookingsResult, type UseBootstrapOptions, type UseBootstrapResult, type UseBundlesOptions, type UseBundlesResult, type UseCartItem, type UseCartOptions, type UseCartResult, type UseCategoriesOptions, type UseCategoriesResult, type UseCollectionOptions, type UseCollectionResult, type UseCollectionsOptions, type UseCollectionsResult, type UseDealsOptions, type UseDealsResult, type UseDeliveryFeeOptions, type UseDeliveryFeeResult, type UseFxRateOptions, type UseFxRateResult, type UseLocationsOptions, type UseLocationsResult, type UseOrderOptions, type UseOrderResult, type UseOrdersOptions, type UseOrdersResult, type UseProductAvailabilityOptions, type UseProductAvailabilityResult, type UseProductDealsOptions, type UseProductDealsResult, type UseProductOptions, type UseProductPriceInput, type UseProductPriceResult, type UseProductResult, type UseProductSchedulesOptions, type UseProductSchedulesResult, type UseProductsOnSaleOptions, type UseProductsOnSaleResult, type UseProductsOptions, type UseProductsResult, type UsePropertyFacetsOptions, type UsePropertyFacetsResult, type UseQuoteInput, type UseQuoteOptions, type UseQuoteResult, type UseRecommendationsOptions, type UseRecommendationsResult, type UseSearchOptions, type UseSearchResult, type UseServiceAvailabilityOptions, type UseServiceAvailabilityResult, type UseServicesOptions, type UseServicesResult, type UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, cn, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCategories, useCheckout, useCimplify, useCimplifyClient, useCollection, useCollections, useDeals, useDeliveryFee, useElements, useElementsReady, useFxRate, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
2383
+ export { Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, type CartAddOnOptionSelection, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, type CartVariantSelection, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyContextValue, CimplifyProvider, type CimplifyProviderProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, PaymentElement, Price, type PriceProps, ProductCard, type ProductCardClassNames, type ProductCardProps, ProductCustomizer, type ProductCustomizerClassNames, type ProductCustomizerProps, ProductGrid, type ProductGridClassNames, type ProductGridProps, ProductImageGallery, type ProductImageGalleryProps, ProductPage, type ProductPageClassNames, type ProductPageProps, ProductSheet, type ProductSheetClassNames, type ProductSheetProps, QuantitySelector, type QuantitySelectorClassNames, type QuantitySelectorProps, RecentlyViewed, type RecentlyViewedClassNames, type RecentlyViewedProps, RecommendationCarousel, type RecommendationCarouselClassNames, type RecommendationCarouselProps, type Resource, ResourcePicker, type ResourcePickerClassNames, type ResourcePickerProps, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, SearchInput, type SearchInputClassNames, type SearchInputProps, SearchPage, type SearchPageClassNames, type SearchPageProps, ServiceCard, type ServiceCardClassNames, type ServiceCardProps, ServiceGrid, type ServiceGridClassNames, type ServiceGridProps, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StoreNav, type StoreNavClassNames, type StoreNavProps, type UseActivityStateOptions, type UseActivityStateResult, type UseAttributeDefinitionsOptions, type UseAttributeDefinitionsResult, type UseAvailableSlotsOptions, type UseAvailableSlotsResult, type UseBillingPlansOptions, type UseBillingPlansResult, type UseBookingsOptions, type UseBookingsResult, type UseBootstrapOptions, type UseBootstrapResult, type UseBundlesOptions, type UseBundlesResult, type UseCartItem, type UseCartOptions, type UseCartResult, type UseCategoriesOptions, type UseCategoriesResult, type UseCollectionOptions, type UseCollectionResult, type UseCollectionsOptions, type UseCollectionsResult, type UseDealsOptions, type UseDealsResult, type UseDeliveryFeeOptions, type UseDeliveryFeeResult, type UseFxRateOptions, type UseFxRateResult, type UseLocationsOptions, type UseLocationsResult, type UseOrderOptions, type UseOrderResult, type UseOrdersOptions, type UseOrdersResult, type UseProductAvailabilityOptions, type UseProductAvailabilityResult, type UseProductDealsOptions, type UseProductDealsResult, type UseProductOptions, type UseProductPriceInput, type UseProductPriceResult, type UseProductResult, type UseProductSchedulesOptions, type UseProductSchedulesResult, type UseProductsOnSaleOptions, type UseProductsOnSaleResult, type UseProductsOptions, type UseProductsResult, type UsePropertyFacetsOptions, type UsePropertyFacetsResult, type UseQuoteInput, type UseQuoteOptions, type UseQuoteResult, type UseRecommendationsOptions, type UseRecommendationsResult, type UseSearchOptions, type UseSearchResult, type UseServiceAvailabilityOptions, type UseServiceAvailabilityResult, type UseServicesOptions, type UseServicesResult, type UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, cn, roomToResource, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCategories, useCheckout, useCimplify, useCimplifyClient, useCollection, useCollections, useDeals, useDeliveryFee, useElements, useElementsReady, useFxRate, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
package/dist/react.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { A as AdSlot, a as AdPosition, e as AdContextValue } from './ads-BxbWrwqp.js';
3
3
  export { c as AdConfig, g as getVariantDisplayName } from './ads-BxbWrwqp.js';
4
- import { C as CimplifyClient, a7 as ProcessCheckoutResult, a9 as CheckoutStatus, aa as CheckoutStatusContext, bJ as Location, bG as Business, b1 as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, aQ as OrderStatus, bW as Service, bZ as AvailableSlot, b_ as DayAvailability, c3 as CustomerBooking, c9 as CancelBookingResult, v as ActivityStateResponse, t as SessionMessage, w as ActivityRecommendation, z as DeliveryFeeResponse, cL as FxRateResponse, bQ as StorefrontBootstrap, X as ElementsOptions, cZ as AuthenticatedData, cV as AddressInfo, cW as PaymentMethodInfo, J as CimplifyElements, c$ as ElementsCheckoutResult, a6 as ProcessCheckoutOptions, b0 as LineItem, bX as Staff } from './client-VyO6Bqz2.js';
5
- import { J as Product, d as Pagination, h as CimplifyError, L as ProductWithDetails, a5 as Category, M as Money, b0 as BundleSelectionInput, av as ComponentSelectionInput, b3 as BundleSelectionData, b6 as CompositeSelectionData, a7 as Collection, aD as ProductTaxonomy, aE as TaxonomyWithChildren, aC as ProductTimeProfile, aH as Deal, aI as ProductDealInfo, aJ as DiscountValidation, ac as BundleSummary, aw as CompositePriceResult, y as CustomAttributeDefinition, G as PropertyFacet, bI as ProductBillingPlan, N as VariantView, W as VariantAxisWithValues, a as CurrencyCode, a1 as AddOnWithOptions, ah as BundleComponentView, aa as BundlePriceType, as as CompositeGroupView, bb as DisplayCart } from './payment-CKqMU4xT.js';
6
- import { P as ProductWithPrice } from './price-e4beObLZ.js';
4
+ import { C as CimplifyClient, a8 as ProcessCheckoutResult, aa as CheckoutStatus, ab as CheckoutStatusContext, bK as Location, bH as Business, k as ReorderResult, aR as OrderStatus, b2 as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, bX as Service, c0 as AvailableSlot, c1 as DayAvailability, c6 as CustomerBooking, cc as CancelBookingResult, w as ActivityStateResponse, u as SessionMessage, x as ActivityRecommendation, E as DeliveryFeeResponse, cO as FxRateResponse, bR as StorefrontBootstrap, Y as ElementsOptions, d0 as AuthenticatedData, cY as AddressInfo, cZ as PaymentMethodInfo, K as CimplifyElements, d2 as ElementsCheckoutResult, a7 as ProcessCheckoutOptions, b1 as LineItem, bY as Staff, bP as Room } from './client-uvCOGdBp.js';
5
+ import { J as Product, d as Pagination, h as CimplifyError, L as ProductWithDetails, a5 as Category, M as Money, b0 as BundleSelectionInput, av as ComponentSelectionInput, b3 as BundleSelectionData, b6 as CompositeSelectionData, a7 as Collection, aD as ProductTaxonomy, aE as TaxonomyWithChildren, aC as ProductTimeProfile, aH as Deal, aI as ProductDealInfo, aJ as DiscountValidation, ac as BundleSummary, aw as CompositePriceResult, y as CustomAttributeDefinition, G as PropertyFacet, bI as ProductBillingPlan, N as VariantView, W as VariantAxisWithValues, a as CurrencyCode, a1 as AddOnWithOptions, ah as BundleComponentView, aa as BundlePriceType, as as CompositeGroupView, bb as DisplayCart } from './payment-DazihbCY.js';
6
+ import { P as ProductWithPrice } from './price-5_L8WK6Q.js';
7
7
  import { ClassValue } from 'clsx';
8
8
 
9
9
  interface UserIdentity {
@@ -230,6 +230,7 @@ interface AddToCartOptions {
230
230
  scheduledStart?: string;
231
231
  scheduledEnd?: string;
232
232
  staffId?: string;
233
+ resourceId?: string;
233
234
  }
234
235
  interface UseCartOptions {
235
236
  client?: CimplifyClient;
@@ -251,6 +252,7 @@ interface UseCartResult {
251
252
  updateQuantity: (itemId: string, quantity: number) => Promise<void>;
252
253
  clearCart: () => Promise<void>;
253
254
  sync: () => Promise<void>;
255
+ reorder: (orderId: string) => Promise<ReorderResult>;
254
256
  }
255
257
  declare function useCart(options?: UseCartOptions): UseCartResult;
256
258
 
@@ -259,12 +261,14 @@ interface UseOrderOptions {
259
261
  pollInterval?: number;
260
262
  enabled?: boolean;
261
263
  client?: CimplifyClient;
264
+ onStatusChange?: (previousStatus: OrderStatus, newStatus: OrderStatus, order: Order) => void;
262
265
  }
263
266
  interface UseOrderResult {
264
267
  order: Order | null;
265
268
  isLoading: boolean;
266
269
  error: CimplifyError | null;
267
270
  refetch: () => Promise<void>;
271
+ isTerminal: boolean;
268
272
  }
269
273
  declare function useOrder(orderId: string | null | undefined, options?: UseOrderOptions): UseOrderResult;
270
274
 
@@ -1349,6 +1353,7 @@ interface OrderSummaryClassNames {
1349
1353
  bundleBreakdown?: string;
1350
1354
  compositeBreakdown?: string;
1351
1355
  trackingLink?: string;
1356
+ reorderButton?: string;
1352
1357
  }
1353
1358
  interface OrderSummaryProps {
1354
1359
  /** Pass an Order object directly (skips fetch). */
@@ -1359,6 +1364,10 @@ interface OrderSummaryProps {
1359
1364
  poll?: boolean;
1360
1365
  /** Custom line item renderer. */
1361
1366
  renderLineItem?: (item: LineItem) => React.ReactNode;
1367
+ /** Called when the reorder button is clicked. */
1368
+ onReorder?: (order: Order) => void;
1369
+ /** Called when the order status changes during polling. */
1370
+ onStatusChange?: (previousStatus: OrderStatus, newStatus: OrderStatus, order: Order) => void;
1362
1371
  className?: string;
1363
1372
  classNames?: OrderSummaryClassNames;
1364
1373
  }
@@ -1368,7 +1377,7 @@ interface OrderSummaryProps {
1368
1377
  * Accepts either a pre-loaded `order` object or an `orderId` to fetch.
1369
1378
  * Supports polling for live status updates.
1370
1379
  */
1371
- declare function OrderSummary({ order: orderProp, orderId, poll, renderLineItem, className, classNames, }: OrderSummaryProps): React.ReactElement;
1380
+ declare function OrderSummary({ order: orderProp, orderId, poll, renderLineItem, onReorder, onStatusChange, className, classNames, }: OrderSummaryProps): React.ReactElement;
1372
1381
 
1373
1382
  interface OrderHistoryClassNames {
1374
1383
  root?: string;
@@ -1379,6 +1388,7 @@ interface OrderHistoryClassNames {
1379
1388
  total?: string;
1380
1389
  empty?: string;
1381
1390
  loading?: string;
1391
+ reorderButton?: string;
1382
1392
  }
1383
1393
  interface OrderHistoryProps {
1384
1394
  /** Override orders (skips fetch). For SSR, pass pre-fetched orders. */
@@ -1391,6 +1401,8 @@ interface OrderHistoryProps {
1391
1401
  onOrderClick?: (order: Order) => void;
1392
1402
  /** Custom order row renderer. */
1393
1403
  renderOrder?: (order: Order) => React.ReactNode;
1404
+ /** Called when the reorder button is clicked. If provided, a reorder button is rendered. */
1405
+ onReorder?: (order: Order) => void;
1394
1406
  /** Text shown when empty. */
1395
1407
  emptyMessage?: string;
1396
1408
  className?: string;
@@ -1401,7 +1413,7 @@ interface OrderHistoryProps {
1401
1413
  *
1402
1414
  * Fetches via `useOrders` unless pre-loaded orders are passed.
1403
1415
  */
1404
- declare function OrderHistory({ orders: ordersProp, status, limit, onOrderClick, renderOrder, emptyMessage, className, classNames, }: OrderHistoryProps): React.ReactElement;
1416
+ declare function OrderHistory({ orders: ordersProp, status, limit, onOrderClick, renderOrder, onReorder, emptyMessage, className, classNames, }: OrderHistoryProps): React.ReactElement;
1405
1417
 
1406
1418
  interface StoreNavClassNames {
1407
1419
  root?: string;
@@ -1894,6 +1906,10 @@ interface OrderDetailPageProps {
1894
1906
  onBack?: () => void;
1895
1907
  /** Custom line item renderer. */
1896
1908
  renderLineItem?: (item: LineItem) => React.ReactNode;
1909
+ /** Called when the reorder button is clicked. */
1910
+ onReorder?: (order: Order) => void;
1911
+ /** Called when the order status changes during polling. */
1912
+ onStatusChange?: (previousStatus: OrderStatus, newStatus: OrderStatus, order: Order) => void;
1897
1913
  /** Back button label. */
1898
1914
  backLabel?: string;
1899
1915
  className?: string;
@@ -1904,7 +1920,7 @@ interface OrderDetailPageProps {
1904
1920
  *
1905
1921
  * SSR-friendly: pass `order` prop for server rendering.
1906
1922
  */
1907
- declare function OrderDetailPage({ orderId, order, poll, onBack, renderLineItem, backLabel, className, classNames, }: OrderDetailPageProps): React.ReactElement;
1923
+ declare function OrderDetailPage({ orderId, order, poll, onBack, renderLineItem, onReorder, onStatusChange, backLabel, className, classNames, }: OrderDetailPageProps): React.ReactElement;
1908
1924
 
1909
1925
  interface OrderHistoryPageClassNames {
1910
1926
  root?: string;
@@ -1925,6 +1941,8 @@ interface OrderHistoryPageProps {
1925
1941
  limit?: number;
1926
1942
  /** Called when navigating to an order detail (e.g. for routing). */
1927
1943
  onOrderNavigate?: (order: Order) => void;
1944
+ /** Called when the reorder button is clicked. */
1945
+ onReorder?: (order: Order) => void;
1928
1946
  /** Show status filter tabs. Default: true. */
1929
1947
  showFilters?: boolean;
1930
1948
  /** Custom order row renderer. */
@@ -1938,7 +1956,7 @@ interface OrderHistoryPageProps {
1938
1956
  * SSR-friendly: pass `orders` prop for server rendering.
1939
1957
  * Supports both inline detail view and external navigation via `onOrderNavigate`.
1940
1958
  */
1941
- declare function OrderHistoryPage({ title, orders: ordersProp, limit, onOrderNavigate, showFilters, renderOrder, className, classNames, }: OrderHistoryPageProps): React.ReactElement;
1959
+ declare function OrderHistoryPage({ title, orders: ordersProp, limit, onOrderNavigate, onReorder, showFilters, renderOrder, className, classNames, }: OrderHistoryPageProps): React.ReactElement;
1942
1960
 
1943
1961
  interface SearchPageClassNames {
1944
1962
  root?: string;
@@ -2031,6 +2049,49 @@ interface DealsPageProps {
2031
2049
  */
2032
2050
  declare function DealsPage({ title, deals: dealsProp, productsOnSale: productsOnSaleProp, products: productsProp, locationId, renderImage, columns, className, classNames, }: DealsPageProps): React.ReactElement;
2033
2051
 
2052
+ interface Resource {
2053
+ id: string;
2054
+ name: string;
2055
+ description?: string;
2056
+ capacity?: number;
2057
+ floor?: string;
2058
+ image_url?: string;
2059
+ is_available?: boolean;
2060
+ }
2061
+ interface ResourcePickerClassNames {
2062
+ root?: string;
2063
+ option?: string;
2064
+ image?: string;
2065
+ name?: string;
2066
+ description?: string;
2067
+ meta?: string;
2068
+ capacity?: string;
2069
+ floor?: string;
2070
+ unavailable?: string;
2071
+ }
2072
+ interface ResourcePickerProps {
2073
+ /** List of available resources (rooms, equipment, etc.). */
2074
+ resources: Resource[];
2075
+ /** Currently selected resource ID, or null for "Any available". */
2076
+ selectedResourceId?: string | null;
2077
+ /** Called when a resource is selected. Passes null for "Any available". */
2078
+ onResourceSelect?: (resourceId: string | null) => void;
2079
+ /** Show "Any available" option. Default: true. */
2080
+ showAnyOption?: boolean;
2081
+ /** Label for the "Any available" option. */
2082
+ anyLabel?: string;
2083
+ /** Custom image renderer (e.g. Next.js Image). */
2084
+ renderImage?: (props: {
2085
+ src: string;
2086
+ alt: string;
2087
+ className?: string;
2088
+ }) => React.ReactNode;
2089
+ className?: string;
2090
+ classNames?: ResourcePickerClassNames;
2091
+ }
2092
+ declare function roomToResource(room: Room): Resource;
2093
+ declare function ResourcePicker({ resources, selectedResourceId, onResourceSelect, showAnyOption, anyLabel, renderImage, className, classNames, }: ResourcePickerProps): React.ReactElement;
2094
+
2034
2095
  interface BookingPageClassNames {
2035
2096
  root?: string;
2036
2097
  header?: string;
@@ -2046,6 +2107,7 @@ interface BookingPageClassNames {
2046
2107
  rescheduleInfo?: string;
2047
2108
  depositInfo?: string;
2048
2109
  cancellationPolicy?: string;
2110
+ resourceStep?: string;
2049
2111
  }
2050
2112
  interface BookingPageProps {
2051
2113
  /** The service being booked. */
@@ -2054,6 +2116,8 @@ interface BookingPageProps {
2054
2116
  product?: Product;
2055
2117
  /** Optional staff list for staff selection step. */
2056
2118
  staff?: Staff[];
2119
+ /** Optional resources for resource selection step (rooms, equipment, etc.). */
2120
+ resources?: Resource[];
2057
2121
  /** Number of participants. */
2058
2122
  participantCount?: number;
2059
2123
  /** Page title. */
@@ -2071,7 +2135,7 @@ interface BookingPageProps {
2071
2135
  className?: string;
2072
2136
  classNames?: BookingPageClassNames;
2073
2137
  }
2074
- declare function BookingPage({ service, product, staff, participantCount, title, onBooked, onBack, existingBooking, onRescheduled, showPrice, className, classNames, }: BookingPageProps): React.ReactElement;
2138
+ declare function BookingPage({ service, product, staff, resources, participantCount, title, onBooked, onBack, existingBooking, onRescheduled, showPrice, className, classNames, }: BookingPageProps): React.ReactElement;
2075
2139
 
2076
2140
  interface BookingsPageClassNames {
2077
2141
  root?: string;
@@ -2316,4 +2380,4 @@ interface CurrencySelectorProps {
2316
2380
  */
2317
2381
  declare function CurrencySelector({ currencies, currentCurrency, onCurrencyChange, showRate, baseCurrency, renderCurrency, className, classNames, }: CurrencySelectorProps): React.ReactElement | null;
2318
2382
 
2319
- export { Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, type CartAddOnOptionSelection, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, type CartVariantSelection, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyContextValue, CimplifyProvider, type CimplifyProviderProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, PaymentElement, Price, type PriceProps, ProductCard, type ProductCardClassNames, type ProductCardProps, ProductCustomizer, type ProductCustomizerClassNames, type ProductCustomizerProps, ProductGrid, type ProductGridClassNames, type ProductGridProps, ProductImageGallery, type ProductImageGalleryProps, ProductPage, type ProductPageClassNames, type ProductPageProps, ProductSheet, type ProductSheetClassNames, type ProductSheetProps, QuantitySelector, type QuantitySelectorClassNames, type QuantitySelectorProps, RecentlyViewed, type RecentlyViewedClassNames, type RecentlyViewedProps, RecommendationCarousel, type RecommendationCarouselClassNames, type RecommendationCarouselProps, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, SearchInput, type SearchInputClassNames, type SearchInputProps, SearchPage, type SearchPageClassNames, type SearchPageProps, ServiceCard, type ServiceCardClassNames, type ServiceCardProps, ServiceGrid, type ServiceGridClassNames, type ServiceGridProps, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StoreNav, type StoreNavClassNames, type StoreNavProps, type UseActivityStateOptions, type UseActivityStateResult, type UseAttributeDefinitionsOptions, type UseAttributeDefinitionsResult, type UseAvailableSlotsOptions, type UseAvailableSlotsResult, type UseBillingPlansOptions, type UseBillingPlansResult, type UseBookingsOptions, type UseBookingsResult, type UseBootstrapOptions, type UseBootstrapResult, type UseBundlesOptions, type UseBundlesResult, type UseCartItem, type UseCartOptions, type UseCartResult, type UseCategoriesOptions, type UseCategoriesResult, type UseCollectionOptions, type UseCollectionResult, type UseCollectionsOptions, type UseCollectionsResult, type UseDealsOptions, type UseDealsResult, type UseDeliveryFeeOptions, type UseDeliveryFeeResult, type UseFxRateOptions, type UseFxRateResult, type UseLocationsOptions, type UseLocationsResult, type UseOrderOptions, type UseOrderResult, type UseOrdersOptions, type UseOrdersResult, type UseProductAvailabilityOptions, type UseProductAvailabilityResult, type UseProductDealsOptions, type UseProductDealsResult, type UseProductOptions, type UseProductPriceInput, type UseProductPriceResult, type UseProductResult, type UseProductSchedulesOptions, type UseProductSchedulesResult, type UseProductsOnSaleOptions, type UseProductsOnSaleResult, type UseProductsOptions, type UseProductsResult, type UsePropertyFacetsOptions, type UsePropertyFacetsResult, type UseQuoteInput, type UseQuoteOptions, type UseQuoteResult, type UseRecommendationsOptions, type UseRecommendationsResult, type UseSearchOptions, type UseSearchResult, type UseServiceAvailabilityOptions, type UseServiceAvailabilityResult, type UseServicesOptions, type UseServicesResult, type UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, cn, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCategories, useCheckout, useCimplify, useCimplifyClient, useCollection, useCollections, useDeals, useDeliveryFee, useElements, useElementsReady, useFxRate, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
2383
+ export { Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, type CartAddOnOptionSelection, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, type CartVariantSelection, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyContextValue, CimplifyProvider, type CimplifyProviderProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, PaymentElement, Price, type PriceProps, ProductCard, type ProductCardClassNames, type ProductCardProps, ProductCustomizer, type ProductCustomizerClassNames, type ProductCustomizerProps, ProductGrid, type ProductGridClassNames, type ProductGridProps, ProductImageGallery, type ProductImageGalleryProps, ProductPage, type ProductPageClassNames, type ProductPageProps, ProductSheet, type ProductSheetClassNames, type ProductSheetProps, QuantitySelector, type QuantitySelectorClassNames, type QuantitySelectorProps, RecentlyViewed, type RecentlyViewedClassNames, type RecentlyViewedProps, RecommendationCarousel, type RecommendationCarouselClassNames, type RecommendationCarouselProps, type Resource, ResourcePicker, type ResourcePickerClassNames, type ResourcePickerProps, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, SearchInput, type SearchInputClassNames, type SearchInputProps, SearchPage, type SearchPageClassNames, type SearchPageProps, ServiceCard, type ServiceCardClassNames, type ServiceCardProps, ServiceGrid, type ServiceGridClassNames, type ServiceGridProps, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StoreNav, type StoreNavClassNames, type StoreNavProps, type UseActivityStateOptions, type UseActivityStateResult, type UseAttributeDefinitionsOptions, type UseAttributeDefinitionsResult, type UseAvailableSlotsOptions, type UseAvailableSlotsResult, type UseBillingPlansOptions, type UseBillingPlansResult, type UseBookingsOptions, type UseBookingsResult, type UseBootstrapOptions, type UseBootstrapResult, type UseBundlesOptions, type UseBundlesResult, type UseCartItem, type UseCartOptions, type UseCartResult, type UseCategoriesOptions, type UseCategoriesResult, type UseCollectionOptions, type UseCollectionResult, type UseCollectionsOptions, type UseCollectionsResult, type UseDealsOptions, type UseDealsResult, type UseDeliveryFeeOptions, type UseDeliveryFeeResult, type UseFxRateOptions, type UseFxRateResult, type UseLocationsOptions, type UseLocationsResult, type UseOrderOptions, type UseOrderResult, type UseOrdersOptions, type UseOrdersResult, type UseProductAvailabilityOptions, type UseProductAvailabilityResult, type UseProductDealsOptions, type UseProductDealsResult, type UseProductOptions, type UseProductPriceInput, type UseProductPriceResult, type UseProductResult, type UseProductSchedulesOptions, type UseProductSchedulesResult, type UseProductsOnSaleOptions, type UseProductsOnSaleResult, type UseProductsOptions, type UseProductsResult, type UsePropertyFacetsOptions, type UsePropertyFacetsResult, type UseQuoteInput, type UseQuoteOptions, type UseQuoteResult, type UseRecommendationsOptions, type UseRecommendationsResult, type UseSearchOptions, type UseSearchResult, type UseServiceAvailabilityOptions, type UseServiceAvailabilityResult, type UseServicesOptions, type UseServicesResult, type UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, cn, roomToResource, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCategories, useCheckout, useCimplify, useCimplifyClient, useCollection, useCollections, useDeals, useDeliveryFee, useElements, useElementsReady, useFxRate, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };