@cimplify/sdk 0.89.0 → 0.90.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.
- package/dist/advanced.d.mts +3 -3
- package/dist/advanced.d.ts +3 -3
- package/dist/{chunk-DENWOZEA.mjs → chunk-2UDEWILL.mjs} +46 -8
- package/dist/{chunk-T2CJ67QV.js → chunk-BN4V4ONE.js} +46 -8
- package/dist/{chunk-JHJTXAPS.js → chunk-JVWFIFQ7.js} +4 -4
- package/dist/{chunk-ROBTTS3Q.js → chunk-KJP4U6L3.js} +28 -1
- package/dist/{chunk-M4ALCELT.mjs → chunk-NGE37REW.mjs} +2 -2
- package/dist/{chunk-APBLFZ2I.mjs → chunk-NNGKC3MM.mjs} +28 -1
- package/dist/chunk-U4MW6PYU.mjs +23 -0
- package/dist/chunk-XREIZ56K.js +26 -0
- package/dist/{client-CqZgdUtw.d.ts → client-CR1f94wY.d.ts} +81 -6
- package/dist/{client-CUbwb6Om.d.ts → client-CqpOcbin.d.ts} +2 -2
- package/dist/{client-CAY2NbRG.d.mts → client-DMttx1xk.d.mts} +2 -2
- package/dist/{client-D8ZFs-sq.d.mts → client-YiSelM7x.d.mts} +81 -6
- package/dist/{index-Bc5qUxAt.d.ts → index-CxTVu0HZ.d.ts} +3 -3
- package/dist/{index-CmWOz9bi.d.mts → index-DD9z396M.d.mts} +3 -3
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +17 -10
- package/dist/index.mjs +8 -2
- package/dist/mock/cli.mjs +49 -1
- package/dist/mock/library.js +49 -1
- package/dist/mock/library.mjs +49 -1
- package/dist/mock/msw.js +49 -1
- package/dist/mock/msw.mjs +49 -1
- package/dist/{payment-Dcgb9n1n.d.mts → payment-5d8FTA1q.d.mts} +1 -1
- package/dist/{payment-Xq0WDZXh.d.ts → payment-BX7ccIKY.d.ts} +1 -1
- package/dist/{price-DAAjKgAp.d.ts → price-DtfP_Xfq.d.ts} +1 -1
- package/dist/{price--Ma_WO5_.d.mts → price-arl_4Rzn.d.mts} +1 -1
- package/dist/{product-BakHcsP2.d.mts → product-DZX4QuKS.d.mts} +57 -2
- package/dist/{product-BakHcsP2.d.ts → product-DZX4QuKS.d.ts} +57 -2
- package/dist/react.d.mts +405 -7
- package/dist/react.d.ts +405 -7
- package/dist/react.js +2325 -69
- package/dist/react.mjs +2303 -67
- package/dist/{server-Bk_hlefX.d.mts → server-BceZMxcK.d.mts} +8 -1
- package/dist/{server-Bei5lBrc.d.ts → server-DoJGSC7L.d.ts} +8 -1
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +2 -2
- package/dist/server.mjs +1 -1
- package/dist/styles.css +1 -1
- package/dist/testing/msw.d.mts +2 -2
- package/dist/testing/msw.d.ts +2 -2
- package/dist/testing/msw.js +3 -2
- package/dist/testing/msw.mjs +2 -1
- package/dist/testing/suite.d.mts +6 -6
- package/dist/testing/suite.d.ts +6 -6
- package/dist/testing/suite.js +23 -22
- package/dist/testing/suite.mjs +4 -3
- package/dist/testing.d.mts +5 -5
- package/dist/testing.d.ts +5 -5
- package/dist/testing.js +79 -78
- package/dist/testing.mjs +5 -4
- package/dist/utils.d.mts +4 -4
- package/dist/utils.d.ts +4 -4
- package/package.json +4 -1
- package/registry/chat-widget.json +1 -1
- package/registry/product-customizer.json +1 -1
package/dist/react.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React$1, { ReactNode } from 'react';
|
|
2
2
|
import { d as AdSlot, c as AdPosition, a as AdContextValue, S as SignInOptions } from './sign-in-DQlIdqsi.mjs';
|
|
3
3
|
export { A as AdConfig, g as getVariantDisplayName } from './sign-in-DQlIdqsi.mjs';
|
|
4
|
-
import {
|
|
4
|
+
import { af as CimplifyClient, c9 as OrderType, cu as ProcessCheckoutResult, ac as CheckoutStatus, ad as CheckoutStatusContext, aZ as EnrichedOrderItem, aY as EnrichedOrder, w as Business, by as Location, cL as ReorderResult, c7 as OrderStatus, bO as Order, cw as QuoteBundleSelectionInput, cx as QuoteCompositeSelectionInput, cq as PriceQuote, cA as QuoteUiMessage, d5 as Service, r as AvailableSlot, ax as DayAvailability, ap as CustomerBooking, L as CancelBookingResult, f as ActivityStateResponse, de as SessionMessage, c as ActivityRecommendation, az as DeliveryFeeResponse, aB as DeliveryOptionsResponse, bb as FxRateResponse, dn as StoreCreditBalance, dq as StorefrontBootstrap, _ as ChatWidgetStarter, W as ChatMessage, Z as ChatUploadAttachment, h as AddressInfo, n as AuthenticatedData, aX as ElementsOptions, ck as PaymentMethodInfo, aV as ElementsCheckoutResult, ct as ProcessCheckoutOptions, ai as CimplifyElements, bn as LineItem, dh as Staff, d0 as Room } from './client-YiSelM7x.mjs';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
-
import { ad as CurrencyCode, aZ as Product, aQ as Pagination, V as CimplifyError, bb as ProductWithDetails, S as Category, aO as Money, E as BundleSelectionInput, a1 as ComponentSelectionInput, D as BundleSelectionData, aa as CompositeSelectionData, W as Collection, b6 as ProductTaxonomy, bx as TaxonomyWithChildren, b7 as ProductTimeProfile, aj as Deal, b2 as ProductDealInfo, ap as DiscountValidation, G as BundleSummary, a8 as CompositePriceResult, bs as SubscriptionWithDetails, br as SubscriptionStatus, bo as Subscription, ae as CustomAttributeDefinition, bc as PropertyFacet, b1 as ProductBillingPlan, bQ as VariantView, bK as VariantAxisWithValues, f as AddOnWithOptions, y as BundleComponentView, z as BundlePriceType, a6 as CompositeGroupView, as as DisplayCart, b3 as ProductInputField, bi as SaleInfo, bD as UpcomingSale, av as DurationUnit, t as BoundaryKind, bk as SchedulingMode, al as DepositType, af as CustomAttributeValue, b4 as ProductProperty, be as QuantityPricingTier } from './product-
|
|
7
|
-
import { P as ProductWithPrice } from './price
|
|
6
|
+
import { ad as CurrencyCode, aZ as Product, aQ as Pagination, V as CimplifyError, bb as ProductWithDetails, S as Category, aO as Money, E as BundleSelectionInput, a1 as ComponentSelectionInput, D as BundleSelectionData, aa as CompositeSelectionData, W as Collection, b6 as ProductTaxonomy, bx as TaxonomyWithChildren, b7 as ProductTimeProfile, aj as Deal, b2 as ProductDealInfo, ap as DiscountValidation, G as BundleSummary, a8 as CompositePriceResult, bs as SubscriptionWithDetails, br as SubscriptionStatus, bo as Subscription, ae as CustomAttributeDefinition, bc as PropertyFacet, b1 as ProductBillingPlan, bQ as VariantView, bK as VariantAxisWithValues, f as AddOnWithOptions, y as BundleComponentView, z as BundlePriceType, a6 as CompositeGroupView, as as DisplayCart, b3 as ProductInputField, bi as SaleInfo, bD as UpcomingSale, av as DurationUnit, t as BoundaryKind, bk as SchedulingMode, al as DepositType, af as CustomAttributeValue, b4 as ProductProperty, be as QuantityPricingTier } from './product-DZX4QuKS.mjs';
|
|
7
|
+
import { P as ProductWithPrice } from './price-arl_4Rzn.mjs';
|
|
8
8
|
import { ClassValue } from 'clsx';
|
|
9
9
|
import { Matcher } from 'react-day-picker';
|
|
10
|
-
import './payment-
|
|
10
|
+
import './payment-5d8FTA1q.mjs';
|
|
11
11
|
|
|
12
12
|
interface UserIdentity {
|
|
13
13
|
uid: string;
|
|
@@ -1015,6 +1015,7 @@ interface UseCartResult {
|
|
|
1015
1015
|
}
|
|
1016
1016
|
declare function useCart(options?: UseCartOptions): UseCartResult;
|
|
1017
1017
|
|
|
1018
|
+
declare function isTerminalOrderStatus(status: string): boolean;
|
|
1018
1019
|
interface UseOrderOptions {
|
|
1019
1020
|
poll?: boolean;
|
|
1020
1021
|
pollInterval?: number;
|
|
@@ -1247,6 +1248,11 @@ interface UseOrdersResult {
|
|
|
1247
1248
|
refetch: () => Promise<void>;
|
|
1248
1249
|
}
|
|
1249
1250
|
declare function useOrders(options?: UseOrdersOptions): UseOrdersResult;
|
|
1251
|
+
/**
|
|
1252
|
+
* Drop every cached orders list so the next mount refetches. Call after
|
|
1253
|
+
* placing an order — the cache would otherwise serve the stale list until GC.
|
|
1254
|
+
*/
|
|
1255
|
+
declare function clearOrdersCache(): void;
|
|
1250
1256
|
|
|
1251
1257
|
interface UseSubscriptionsOptions {
|
|
1252
1258
|
status?: SubscriptionStatus;
|
|
@@ -1501,8 +1507,32 @@ interface UseChatResult {
|
|
|
1501
1507
|
isSending: boolean;
|
|
1502
1508
|
error: CimplifyError | null;
|
|
1503
1509
|
isActive: boolean;
|
|
1504
|
-
|
|
1510
|
+
/** The customer asked for a person; cleared when an agent message arrives. */
|
|
1511
|
+
humanRequested: boolean;
|
|
1512
|
+
/**
|
|
1513
|
+
* True from an accepted send on an AI-answered conversation until the
|
|
1514
|
+
* reply arrives (30s cap) — the AI is composing, keep typing dots up.
|
|
1515
|
+
*/
|
|
1516
|
+
awaitingReply: boolean;
|
|
1517
|
+
/** Team-wide read watermark (ISO); customer messages at or before it were seen. */
|
|
1518
|
+
seenAt: string | null;
|
|
1519
|
+
/** True while older history may exist above the loaded messages. */
|
|
1520
|
+
mayHaveOlder: boolean;
|
|
1521
|
+
/**
|
|
1522
|
+
* Resolves true when the message was accepted; false puts the failure in
|
|
1523
|
+
* `error`. Pass `replyTo` to quote another loaded message.
|
|
1524
|
+
*/
|
|
1525
|
+
send: (content: string, opts?: {
|
|
1526
|
+
replyTo?: ChatMessage;
|
|
1527
|
+
attachments?: ChatUploadAttachment[];
|
|
1528
|
+
}) => Promise<boolean>;
|
|
1505
1529
|
startConversation: (starterText?: string) => Promise<void>;
|
|
1530
|
+
/** React to a loaded message. Resolves true when accepted. */
|
|
1531
|
+
react: (message: ChatMessage, emoji: string) => Promise<boolean>;
|
|
1532
|
+
/** Ask for a person. Resolves true on success. */
|
|
1533
|
+
requestHuman: () => Promise<boolean>;
|
|
1534
|
+
/** Load messages older than the earliest loaded one. Resolves true if any arrived. */
|
|
1535
|
+
loadOlder: () => Promise<boolean>;
|
|
1506
1536
|
}
|
|
1507
1537
|
declare function useChat(options?: UseChatOptions): UseChatResult;
|
|
1508
1538
|
|
|
@@ -1717,10 +1747,12 @@ interface ProductCustomizerProps {
|
|
|
1717
1747
|
/** Lets the parent swap its gallery for `variant.images` on selection. */
|
|
1718
1748
|
onVariantChange?: (variantId: string | undefined, variant: VariantView | undefined) => void;
|
|
1719
1749
|
showSpecialInstructions?: boolean;
|
|
1750
|
+
/** Submit button verb; the running total is appended. Defaults to "Add to Cart". */
|
|
1751
|
+
submitLabel?: string;
|
|
1720
1752
|
className?: string;
|
|
1721
1753
|
classNames?: ProductCustomizerClassNames;
|
|
1722
1754
|
}
|
|
1723
|
-
declare function ProductCustomizer({ product, onAddToCart, onVariantChange, showSpecialInstructions, className, classNames, }: ProductCustomizerProps): React$1.ReactElement;
|
|
1755
|
+
declare function ProductCustomizer({ product, onAddToCart, onVariantChange, showSpecialInstructions, submitLabel, className, classNames, }: ProductCustomizerProps): React$1.ReactElement;
|
|
1724
1756
|
|
|
1725
1757
|
interface ProductImageGalleryProps {
|
|
1726
1758
|
images: string[];
|
|
@@ -3819,4 +3851,370 @@ interface ChatWidgetProps {
|
|
|
3819
3851
|
}
|
|
3820
3852
|
declare function ChatWidget({ client: clientProp, businessName, greeting, subtitle, starters, placeholder, position, defaultOpen, pollInterval, className, classNames, }: ChatWidgetProps): react_jsx_runtime.JSX.Element;
|
|
3821
3853
|
|
|
3822
|
-
export { AccommodationCard, AccountContent, type AccountContentProps, AccountDashboardPage, type AccountDashboardPageProps, AccountHero, type AccountHeroProps, AccountIdentityStrip, type AccountIdentityStripProps, AccountLineItem, type AccountLineItemData, type AccountLineItemProps, AccountLineItems, type AccountLineItemsProps, AccountNav, type AccountNavProps, AccountOrderDetailPage, type AccountOrderDetailPageProps, AccountOrderView, type AccountOrderViewProps, AccountOrdersPage, type AccountOrdersPageProps, type AccountPageBaseProps, AccountShell, type AccountShellProps, AccountSidebar, type AccountSidebarProps, AccountSignedOutPrompt, type AccountSignedOutPromptProps, AccountSubscriptionDetailPage, type AccountSubscriptionDetailPageProps, AccountSubscriptionsPage, type AccountSubscriptionsPageProps, Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BackLink, type BackLinkProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingSummary, type BookingSummaryClassNames, type BookingSummaryProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, type BoundaryLabels, BoxIcon24, BundleProductCard, BundleProductLayout, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, Button, type ButtonProps, CardImage, type CardLayoutProps, CardShell, CardVariant, type CartAddOnOptionSelection, CartDrawer, type CartDrawerProps, CartDrawerProvider, type CartLayoutProps, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, CartTemplate, type CartVariantSelection, CatalogueCollectionLayout, type CatalogueLayoutProps, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CatalogueTemplate, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, ChatWidget, type ChatWidgetClassNames, type ChatWidgetProps, CheckIcon, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyClientSession, type CimplifyContextValue, type CimplifyLinkComponent, type CimplifyLinkProps, CimplifyProvider, type CimplifyProviderProps, CimplifySignInButton, type CimplifySignInButtonProps, CimplifyUserButton, type CimplifyUserButtonProps, type CollectionLayoutProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CollectionTemplate, CompactCartLayout, CompactCatalogueLayout, CompactSearchLayout, CompactServiceCard, CompositeProductCard, CompositeProductLayout, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, ContextCard, type ContextCardProps, type ContextRow, ContinuityCard, type ContinuityCardProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, CustomAttributesTable, type CustomerInput, CustomerInputFields, type CustomerInputFieldsClassNames, type CustomerInputFieldsProps, type CustomerInputType, DashboardIcon, DashboardIcon20, DatePicker, type DatePickerClassNames, type DatePickerProps, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DefaultCartLayout, DefaultCatalogueLayout, DefaultCollectionLayout, DefaultProductLayout, DefaultSearchLayout, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, type DeliveryLive, type DeliveryRider, DeliveryTracker, type DeliveryTrackerProps, DeliveryTruckIcon, type DigitalFulfillment, DigitalProductCard, DigitalProductLayout, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FeaturedCollectionLayout, type FilterTabItem, FilterTabs, type FilterTabsProps, FoodProductCard, FoodProductLayout, HappeningCard, type HappeningCardProps, type HappeningPaneData, IdentityIcon, IdentityOfframp, type IdentityOfframpProps, type IdentitySummary, InventoryBadge, ItemsCard, type ItemsCardProps, LeaseServiceCard, LineItemDetails, type LineItemSemanticKind, type LineScheduling, type LineSelection, type LineStateTone, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, MediaGallery, type MediaGalleryProps, type MediaItem, MetadataStringList, MobileAccountShell, type MobileAccountShellProps, MobileBackButton, MobileMoreButton, MobileTabBar, type MobileTabBarProps, type NavItem, NextDeliveryCard, type NextDeliveryCardProps, OrderDetailHeader, type OrderDetailHeaderProps, OrderDetailMetaPipe, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, type OrderItemData, OrderList, type OrderListProps, OrderRow, type OrderRowData, type OrderRowProps, type OrderRowStatus, type OrderStatusTone, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, OrderTimeline, type OrderTimelineProps, OrderTotals, type OrderTotalsProps, type OrderViewDelivery, type OrderViewPayment, type OrderViewPaymentRow, OrdersIcon, OrdersIcon20, OvenIcon, PackageIcon, PaymentElement, type PrefetchMode, type PrefetchOptions, Price, type PriceProps, PriceRange, type PriceRangeProps, ProductCard, type ProductCardClassNames, type ProductCardProps, ProductCustomizer, type ProductCustomizerClassNames, type ProductCustomizerProps, ProductGrid, type ProductGridClassNames, type ProductGridProps, ProductImageGallery, type ProductImageGalleryProps, type ProductLayoutProps, ProductModel3D, type ProductModel3DProps, ProductPage, type ProductPageClassNames, type ProductPageProps, ProductSheet, type ProductSheetClassNames, type ProductSheetProps, ProductTemplate, PropertiesTable, QuantitySelector, type QuantitySelectorClassNames, type QuantitySelectorProps, QuickAddButton, RecentlyViewed, type RecentlyViewedClassNames, type RecentlyViewedProps, RecommendationCarousel, type RecommendationCarouselClassNames, type RecommendationCarouselProps, RelatedProductsSection, RentalServiceCard, type Resource, ResourcePicker, type ResourcePickerClassNames, type ResourcePickerProps, RetailProductCard, RichText, type RichTextProps, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, SalePrice, type SalePriceClassNames, type SalePriceProps, SaleTeaser, type SaleTeaserProps, ScheduleServiceCard, SearchInput, type SearchInputClassNames, type SearchInputProps, type SearchLayoutProps, SearchPage, type SearchPageClassNames, type SearchPageProps, SearchTemplate, Section, SectionMore, type SectionMoreProps, type SectionProps, type ServiceCardLayoutProps, ServiceProductLayout, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SignOutIcon, Skeleton, type SkeletonProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, SoldOutOverlay, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StandardServiceCard, Status, type StatusProps, StoreNav, type StoreNavClassNames, type StoreNavProps, StoreVideo, type StoreVideoProps, SubscriptionCard, SubscriptionList, type SubscriptionListProps, SubscriptionRow, type SubscriptionRowData, type SubscriptionRowProps, SubscriptionsIcon, SubscriptionsIcon20, TagPills, TimePicker, type TimePickerClassNames, type TimePickerProps, type TimelineStep, type ToAccountOrderViewOptions, Toast, type ToastProps, type TotalsData, TwoColumnGrid, 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 UseChatOptions, type UseChatResult, type UseCimplifySessionOptions, type UseCimplifySessionResult, 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 UseStoreCreditOptions, type UseStoreCreditResult, type UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, type UserButtonLink, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, VolumePricing, type VolumePricingClassNames, type VolumePricingProps, WelcomeCard, type WelcomeCardProps, WholesaleProductCard, WholesaleProductLayout, WishlistButton, cn, defaultBoundaryKind, getBoundaryLabels, prefetchProduct, prefetchProducts, resolveBoundaryKind, roomToResource, sanitizeRichTextHtml, stripHtmlToText, toAccountLineItem, toAccountLineItems, toAccountOrderView, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCartDrawer, useCategories, useChat, useCheckout, useCimplify, useCimplifyClient, useCimplifySession, useCollection, useCollections, useDeals, useDeliveryFee, useDeliveryOptions, useElements, useElementsReady, useFxRate, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useStoreCredit, useSubscription, useSubscriptions, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
|
|
3854
|
+
interface ChatMarkdownProps {
|
|
3855
|
+
text: string;
|
|
3856
|
+
className?: string;
|
|
3857
|
+
/** True while this message is still receiving tokens — engages streamdown's
|
|
3858
|
+
* incomplete-markdown smoothing on capable browsers. */
|
|
3859
|
+
streaming?: boolean;
|
|
3860
|
+
}
|
|
3861
|
+
declare const ChatMarkdown: React$1.MemoExoticComponent<({ text, className, streaming, }: ChatMarkdownProps) => react_jsx_runtime.JSX.Element>;
|
|
3862
|
+
|
|
3863
|
+
interface ChatTimeline {
|
|
3864
|
+
bubbles: ChatMessage[];
|
|
3865
|
+
reactionsByTarget: Map<string, ChatMessage[]>;
|
|
3866
|
+
}
|
|
3867
|
+
/**
|
|
3868
|
+
* Reaction rows are references, not bubbles: group each onto its target via
|
|
3869
|
+
* the server-resolved `reply_to`, and drop any whose target isn't loaded —
|
|
3870
|
+
* an emoji must never render as a standalone message.
|
|
3871
|
+
*/
|
|
3872
|
+
declare function partitionMessages(messages: ChatMessage[]): ChatTimeline;
|
|
3873
|
+
|
|
3874
|
+
/**
|
|
3875
|
+
* Discriminated union representing every value that can appear in an
|
|
3876
|
+
* openui-lang expression. The `k` field is the discriminant.
|
|
3877
|
+
*
|
|
3878
|
+
* Literal & structural nodes:
|
|
3879
|
+
* - `Comp` — a component call: `Header("Hello", "Subtitle")`
|
|
3880
|
+
* - `Str` — a string literal: `"hello"`
|
|
3881
|
+
* - `Num` — a number literal: `42` or `3.14`
|
|
3882
|
+
* - `Bool` — a boolean literal: `true` or `false`
|
|
3883
|
+
* - `Null` — the null literal
|
|
3884
|
+
* - `Arr` — an array: `[a, b, c]`
|
|
3885
|
+
* - `Obj` — an object: `{ key: value }`
|
|
3886
|
+
* - `Ref` — a reference to another statement: `myTable`
|
|
3887
|
+
* - `Ph` — a placeholder for an unresolvable reference
|
|
3888
|
+
*
|
|
3889
|
+
* Reactive & expression nodes:
|
|
3890
|
+
* - `StateRef` — a reactive state variable reference: `$count`
|
|
3891
|
+
* - `RuntimeRef` — a reference resolved at runtime (e.g. Query results)
|
|
3892
|
+
* - `BinOp` — a binary operation: `a + b`, `x == y`
|
|
3893
|
+
* - `UnaryOp` — a unary operation: `!flag`
|
|
3894
|
+
* - `Ternary` — a conditional expression: `cond ? a : b`
|
|
3895
|
+
* - `Member` — dot member access: `obj.field`
|
|
3896
|
+
* - `Index` — bracket index access: `arr[0]`
|
|
3897
|
+
* - `Assign` — state assignment: `$count = $count + 1`
|
|
3898
|
+
*/
|
|
3899
|
+
type ASTNode = {
|
|
3900
|
+
k: "Comp";
|
|
3901
|
+
name: string;
|
|
3902
|
+
args: ASTNode[];
|
|
3903
|
+
mappedProps?: Record<string, ASTNode>;
|
|
3904
|
+
} | {
|
|
3905
|
+
k: "Str";
|
|
3906
|
+
v: string;
|
|
3907
|
+
} | {
|
|
3908
|
+
k: "Num";
|
|
3909
|
+
v: number;
|
|
3910
|
+
} | {
|
|
3911
|
+
k: "Bool";
|
|
3912
|
+
v: boolean;
|
|
3913
|
+
} | {
|
|
3914
|
+
k: "Null";
|
|
3915
|
+
} | {
|
|
3916
|
+
k: "Arr";
|
|
3917
|
+
els: ASTNode[];
|
|
3918
|
+
} | {
|
|
3919
|
+
k: "Obj";
|
|
3920
|
+
entries: [string, ASTNode][];
|
|
3921
|
+
} | {
|
|
3922
|
+
k: "Ref";
|
|
3923
|
+
n: string;
|
|
3924
|
+
} | {
|
|
3925
|
+
k: "Ph";
|
|
3926
|
+
n: string;
|
|
3927
|
+
} | {
|
|
3928
|
+
k: "StateRef";
|
|
3929
|
+
n: string;
|
|
3930
|
+
} | {
|
|
3931
|
+
k: "RuntimeRef";
|
|
3932
|
+
n: string;
|
|
3933
|
+
refType: "query" | "mutation";
|
|
3934
|
+
} | {
|
|
3935
|
+
k: "BinOp";
|
|
3936
|
+
op: string;
|
|
3937
|
+
left: ASTNode;
|
|
3938
|
+
right: ASTNode;
|
|
3939
|
+
} | {
|
|
3940
|
+
k: "UnaryOp";
|
|
3941
|
+
op: string;
|
|
3942
|
+
operand: ASTNode;
|
|
3943
|
+
} | {
|
|
3944
|
+
k: "Ternary";
|
|
3945
|
+
cond: ASTNode;
|
|
3946
|
+
then: ASTNode;
|
|
3947
|
+
else: ASTNode;
|
|
3948
|
+
} | {
|
|
3949
|
+
k: "Member";
|
|
3950
|
+
obj: ASTNode;
|
|
3951
|
+
field: string;
|
|
3952
|
+
} | {
|
|
3953
|
+
k: "Index";
|
|
3954
|
+
obj: ASTNode;
|
|
3955
|
+
index: ASTNode;
|
|
3956
|
+
} | {
|
|
3957
|
+
k: "Assign";
|
|
3958
|
+
target: string;
|
|
3959
|
+
value: ASTNode;
|
|
3960
|
+
};
|
|
3961
|
+
|
|
3962
|
+
interface ParamDef {
|
|
3963
|
+
/** Parameter name, e.g. "title", "columns". */
|
|
3964
|
+
name: string;
|
|
3965
|
+
/** Whether the parameter is required by the component. */
|
|
3966
|
+
required: boolean;
|
|
3967
|
+
/** Default value from JSON Schema — used when the required field is missing/null. */
|
|
3968
|
+
defaultValue?: unknown;
|
|
3969
|
+
}
|
|
3970
|
+
/** Internal parameter map for positional-arg to named-prop mapping. */
|
|
3971
|
+
type ParamMap = Map<string, {
|
|
3972
|
+
params: ParamDef[];
|
|
3973
|
+
}>;
|
|
3974
|
+
/**
|
|
3975
|
+
* A fully resolved component node from the parser.
|
|
3976
|
+
*
|
|
3977
|
+
* The parser converts openui-lang text into a tree of these nodes.
|
|
3978
|
+
* Each node represents one component invocation with its positional
|
|
3979
|
+
* arguments mapped into named `props` via the library's Zod key order.
|
|
3980
|
+
*/
|
|
3981
|
+
interface ElementNode {
|
|
3982
|
+
type: "element";
|
|
3983
|
+
/** Source variable name (e.g. "header" from `header = TextContent(...)`). Undefined for inline components. */
|
|
3984
|
+
statementId?: string;
|
|
3985
|
+
/** Component name as defined in the library (e.g. "Table", "BarChart"). */
|
|
3986
|
+
typeName: string;
|
|
3987
|
+
/** Named props produced by positional-to-named mapping in the parser. */
|
|
3988
|
+
props: Record<string, unknown>;
|
|
3989
|
+
/**
|
|
3990
|
+
* True when the parser hasn't received all tokens for this node yet
|
|
3991
|
+
* (streaming in progress).
|
|
3992
|
+
*/
|
|
3993
|
+
partial: boolean;
|
|
3994
|
+
/**
|
|
3995
|
+
* False when all props are static literals — evaluation can be skipped.
|
|
3996
|
+
* Undefined is treated as true (dynamic) for backward compatibility.
|
|
3997
|
+
*/
|
|
3998
|
+
hasDynamicProps?: boolean;
|
|
3999
|
+
}
|
|
4000
|
+
/**
|
|
4001
|
+
* Validation error codes for schema-related issues.
|
|
4002
|
+
*/
|
|
4003
|
+
type ValidationErrorCode = "missing-required" | "null-required" | "unknown-component" | "inline-reserved" | "excess-args";
|
|
4004
|
+
/**
|
|
4005
|
+
* A prop validation error. Components with missing required props are
|
|
4006
|
+
* dropped from the output tree and errors are recorded here.
|
|
4007
|
+
*/
|
|
4008
|
+
interface ValidationError {
|
|
4009
|
+
/** Machine-readable error code. */
|
|
4010
|
+
code: ValidationErrorCode;
|
|
4011
|
+
/** Component type name, e.g. "Header", "BarChart". */
|
|
4012
|
+
component: string;
|
|
4013
|
+
/** JSON Pointer path within the props object, e.g. "/title", "". */
|
|
4014
|
+
path: string;
|
|
4015
|
+
/** Human-readable error message. */
|
|
4016
|
+
message: string;
|
|
4017
|
+
/** Statement name that triggered the error (e.g. "header", "chart"). */
|
|
4018
|
+
statementId?: string;
|
|
4019
|
+
}
|
|
4020
|
+
/**
|
|
4021
|
+
* Extracted info about a Query() call from the parsed program.
|
|
4022
|
+
*/
|
|
4023
|
+
interface QueryStatementInfo {
|
|
4024
|
+
/** Statement name that holds this query (e.g. "metrics"). */
|
|
4025
|
+
statementId: string;
|
|
4026
|
+
/** First arg AST — the tool name (should evaluate to a string). */
|
|
4027
|
+
toolAST: ASTNode | null;
|
|
4028
|
+
/** Second arg AST — the arguments object (may contain $var refs). */
|
|
4029
|
+
argsAST: ASTNode | null;
|
|
4030
|
+
/** Third arg AST — default data returned before fetch resolves. */
|
|
4031
|
+
defaultsAST: ASTNode | null;
|
|
4032
|
+
/** Fourth arg AST — refresh interval in seconds. */
|
|
4033
|
+
refreshAST: ASTNode | null;
|
|
4034
|
+
/** Pre-computed $variable deps from argsAST (extracted at parse time). */
|
|
4035
|
+
deps?: string[];
|
|
4036
|
+
/** False while the Query() call is still being streamed. */
|
|
4037
|
+
complete: boolean;
|
|
4038
|
+
}
|
|
4039
|
+
/**
|
|
4040
|
+
* Extracted info about a Mutation() call from the parsed program.
|
|
4041
|
+
*/
|
|
4042
|
+
interface MutationStatementInfo {
|
|
4043
|
+
/** Statement name that holds this mutation (e.g. "createResult"). */
|
|
4044
|
+
statementId: string;
|
|
4045
|
+
/** First arg AST — the tool name (should evaluate to a string). */
|
|
4046
|
+
toolAST: ASTNode | null;
|
|
4047
|
+
/** Second arg AST — the arguments object (may contain $var refs). */
|
|
4048
|
+
argsAST: ASTNode | null;
|
|
4049
|
+
}
|
|
4050
|
+
/**
|
|
4051
|
+
* The output of a single `parser.parse(text)` call.
|
|
4052
|
+
*
|
|
4053
|
+
* During streaming, each chunk produces a new ParseResult as the
|
|
4054
|
+
* accumulated text is re-parsed. The `root` progressively resolves
|
|
4055
|
+
* from null → partial tree → complete tree.
|
|
4056
|
+
*/
|
|
4057
|
+
interface ParseResult {
|
|
4058
|
+
/** The root ElementNode (typically a Root component), or null if parsing hasn't produced one yet. */
|
|
4059
|
+
root: ElementNode | null;
|
|
4060
|
+
meta: {
|
|
4061
|
+
/** True if the parser detected truncated/incomplete input. */
|
|
4062
|
+
incomplete: boolean;
|
|
4063
|
+
/** Names of references used but not yet defined (dropped as null in output). */
|
|
4064
|
+
unresolved: string[];
|
|
4065
|
+
/** Names of value statements defined but not reachable from root. Excludes $state, Query, and Mutation declarations. */
|
|
4066
|
+
orphaned: string[];
|
|
4067
|
+
/** Total number of `identifier = Expression` statements parsed. */
|
|
4068
|
+
statementCount: number;
|
|
4069
|
+
/**
|
|
4070
|
+
* Prop validation errors. Components with missing required props are
|
|
4071
|
+
* redacted (dropped as null) and listed here.
|
|
4072
|
+
*/
|
|
4073
|
+
errors: ValidationError[];
|
|
4074
|
+
};
|
|
4075
|
+
/** $variable declarations — maps "$varName" to its materialized default value. */
|
|
4076
|
+
stateDeclarations: Record<string, unknown>;
|
|
4077
|
+
/** Extracted Query() calls with their positional args as AST nodes. */
|
|
4078
|
+
queryStatements: QueryStatementInfo[];
|
|
4079
|
+
/** Extracted Mutation() calls with their positional args as AST nodes. */
|
|
4080
|
+
mutationStatements: MutationStatementInfo[];
|
|
4081
|
+
}
|
|
4082
|
+
|
|
4083
|
+
/**
|
|
4084
|
+
* The Cimplify GenUI vocabulary — the component names, ordered params, and
|
|
4085
|
+
* descriptions the model is allowed to emit. This MUST stay in lockstep with
|
|
4086
|
+
* the iOS Swift registry (packages/ios/.../Render/GenUICimplifyLibrary.swift):
|
|
4087
|
+
* the capability-manifest fingerprint is the cross-surface contract, and the
|
|
4088
|
+
* fingerprint-parity tests on both sides fail when either copy drifts.
|
|
4089
|
+
*
|
|
4090
|
+
* Visual implementations are per-surface (SwiftUI on iOS, React maps on
|
|
4091
|
+
* desk/lite); only the vocabulary lives here.
|
|
4092
|
+
*/
|
|
4093
|
+
interface GenUIParamDef {
|
|
4094
|
+
name: string;
|
|
4095
|
+
required?: boolean;
|
|
4096
|
+
}
|
|
4097
|
+
interface GenUIComponentDef {
|
|
4098
|
+
name: string;
|
|
4099
|
+
description: string;
|
|
4100
|
+
params: GenUIParamDef[];
|
|
4101
|
+
}
|
|
4102
|
+
interface GenUIRegistry {
|
|
4103
|
+
version: string;
|
|
4104
|
+
components: GenUIComponentDef[];
|
|
4105
|
+
}
|
|
4106
|
+
declare const CIMPLIFY_GENUI_REGISTRY: GenUIRegistry;
|
|
4107
|
+
|
|
4108
|
+
/** Parser catalog derived from the vocabulary registry — positional args map
|
|
4109
|
+
* to named props in this exact order, so it must never be hand-built. */
|
|
4110
|
+
declare function genUICatalog(registry: GenUIRegistry): ParamMap;
|
|
4111
|
+
|
|
4112
|
+
/** One renderable slice of a message, in source order. */
|
|
4113
|
+
type GenUISegment = {
|
|
4114
|
+
kind: "prose";
|
|
4115
|
+
text: string;
|
|
4116
|
+
} | {
|
|
4117
|
+
kind: "program";
|
|
4118
|
+
source: string;
|
|
4119
|
+
};
|
|
4120
|
+
/**
|
|
4121
|
+
* Split message content into prose and ```genui program segments. An
|
|
4122
|
+
* unterminated fence (streaming, truncation) is treated as a program to its
|
|
4123
|
+
* end — the parser's last-good retention handles the partial tail.
|
|
4124
|
+
*/
|
|
4125
|
+
declare function splitGenUIContent(content: string): GenUISegment[];
|
|
4126
|
+
/**
|
|
4127
|
+
* One-line human preview of a message: prose only, GenUI fences elided.
|
|
4128
|
+
* Shared by reply quotes, composer reply bars, and list snippets — and
|
|
4129
|
+
* mirrored server-side for the customer wire's `reply_to.preview`.
|
|
4130
|
+
*/
|
|
4131
|
+
declare function messagePreview(content: string, max?: number): string;
|
|
4132
|
+
|
|
4133
|
+
/**
|
|
4134
|
+
* Parse a complete openui-lang string in one pass.
|
|
4135
|
+
*
|
|
4136
|
+
* @param input - Full openui-lang source text (may be partial/streaming)
|
|
4137
|
+
* @param cat - Param map for positional-arg → named-prop mapping
|
|
4138
|
+
* @returns ParseResult with root ElementNode (or null) and metadata
|
|
4139
|
+
*/
|
|
4140
|
+
declare function parse(input: string, cat: ParamMap, rootName?: string): ParseResult;
|
|
4141
|
+
|
|
4142
|
+
interface GenUIProgramState {
|
|
4143
|
+
result: ParseResult;
|
|
4144
|
+
/** Last parse that produced a root — retained through transiently broken
|
|
4145
|
+
* streaming states so the surface never blanks mid-stream. */
|
|
4146
|
+
root: ElementNode | null;
|
|
4147
|
+
}
|
|
4148
|
+
/**
|
|
4149
|
+
* Parse a (possibly still-streaming) GenUI program. Pass the full accumulated
|
|
4150
|
+
* text each render — the stream parser diffs internally and re-parses only
|
|
4151
|
+
* the trailing partial statement, and resets itself if the text was replaced
|
|
4152
|
+
* rather than appended.
|
|
4153
|
+
*/
|
|
4154
|
+
declare function useGenUIProgram(text: string, catalog: ParamMap): GenUIProgramState;
|
|
4155
|
+
|
|
4156
|
+
/** Fired when a Button carries a plain "action:name" string. */
|
|
4157
|
+
interface GenUIActionEvent {
|
|
4158
|
+
action: string;
|
|
4159
|
+
label: string;
|
|
4160
|
+
}
|
|
4161
|
+
interface GenUIRenderContext {
|
|
4162
|
+
/** Render any prop value (child element, array of children, or nothing). */
|
|
4163
|
+
render: (value: unknown) => ReactNode;
|
|
4164
|
+
onAction: (event: GenUIActionEvent) => void;
|
|
4165
|
+
isStreaming: boolean;
|
|
4166
|
+
}
|
|
4167
|
+
type GenUIComponentRenderer = (props: {
|
|
4168
|
+
node: ElementNode;
|
|
4169
|
+
ctx: GenUIRenderContext;
|
|
4170
|
+
}) => ReactNode;
|
|
4171
|
+
/** Per-surface visual implementations, keyed by vocabulary component name. */
|
|
4172
|
+
type GenUIComponentMap = Record<string, GenUIComponentRenderer>;
|
|
4173
|
+
interface GenUITelemetryEvent {
|
|
4174
|
+
kind: "unknown-component" | "dropped-node";
|
|
4175
|
+
typeName: string;
|
|
4176
|
+
}
|
|
4177
|
+
interface GenUIViewProps {
|
|
4178
|
+
root: ElementNode | null;
|
|
4179
|
+
components: GenUIComponentMap;
|
|
4180
|
+
onAction?: (event: GenUIActionEvent) => void;
|
|
4181
|
+
isStreaming?: boolean;
|
|
4182
|
+
onTelemetry?: (event: GenUITelemetryEvent) => void;
|
|
4183
|
+
/** Shown while streaming before the first complete root arrives. */
|
|
4184
|
+
placeholder?: ReactNode;
|
|
4185
|
+
}
|
|
4186
|
+
/**
|
|
4187
|
+
* Headless GenUI renderer: walks a parsed program tree and delegates every
|
|
4188
|
+
* node to the surface's component map (the same split as iOS, where the
|
|
4189
|
+
* registry vocabulary is shared and each surface owns its views).
|
|
4190
|
+
*/
|
|
4191
|
+
declare function GenUIView({ root, components, onAction, isStreaming, onTelemetry, placeholder, }: GenUIViewProps): ReactNode;
|
|
4192
|
+
|
|
4193
|
+
/**
|
|
4194
|
+
* Capability manifest + fingerprint — the cross-surface vocabulary contract.
|
|
4195
|
+
* The wire bytes must match the Swift side (GenUIPrompt.swift) exactly:
|
|
4196
|
+
* Swift encodes with JSONEncoder([.sortedKeys]), which emits compact JSON,
|
|
4197
|
+
* sorts object keys at every level, and escapes "/" as "\/". The fingerprint
|
|
4198
|
+
* is the first 16 hex chars of SHA-256 over those bytes. Parity is pinned by
|
|
4199
|
+
* tests on both sides; if you change either registry, both fail together.
|
|
4200
|
+
*/
|
|
4201
|
+
interface GenUIManifestParam {
|
|
4202
|
+
name: string;
|
|
4203
|
+
required: boolean;
|
|
4204
|
+
}
|
|
4205
|
+
interface GenUIManifestComponent {
|
|
4206
|
+
name: string;
|
|
4207
|
+
description: string;
|
|
4208
|
+
params: GenUIManifestParam[];
|
|
4209
|
+
}
|
|
4210
|
+
interface GenUICapabilityManifest {
|
|
4211
|
+
version: string;
|
|
4212
|
+
components: GenUIManifestComponent[];
|
|
4213
|
+
}
|
|
4214
|
+
declare function genUIManifest(registry: GenUIRegistry): GenUICapabilityManifest;
|
|
4215
|
+
/** Swift-JSONEncoder-equivalent bytes for the manifest. */
|
|
4216
|
+
declare function genUIManifestJson(manifest: GenUICapabilityManifest): string;
|
|
4217
|
+
/** First 16 hex chars of SHA-256 over the canonical manifest bytes. */
|
|
4218
|
+
declare function genUIFingerprint(manifest: GenUICapabilityManifest): Promise<string>;
|
|
4219
|
+
|
|
4220
|
+
export { AccommodationCard, AccountContent, type AccountContentProps, AccountDashboardPage, type AccountDashboardPageProps, AccountHero, type AccountHeroProps, AccountIdentityStrip, type AccountIdentityStripProps, AccountLineItem, type AccountLineItemData, type AccountLineItemProps, AccountLineItems, type AccountLineItemsProps, AccountNav, type AccountNavProps, AccountOrderDetailPage, type AccountOrderDetailPageProps, AccountOrderView, type AccountOrderViewProps, AccountOrdersPage, type AccountOrdersPageProps, type AccountPageBaseProps, AccountShell, type AccountShellProps, AccountSidebar, type AccountSidebarProps, AccountSignedOutPrompt, type AccountSignedOutPromptProps, AccountSubscriptionDetailPage, type AccountSubscriptionDetailPageProps, AccountSubscriptionsPage, type AccountSubscriptionsPageProps, Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BackLink, type BackLinkProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingSummary, type BookingSummaryClassNames, type BookingSummaryProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, type BoundaryLabels, BoxIcon24, BundleProductCard, BundleProductLayout, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, Button, type ButtonProps, CIMPLIFY_GENUI_REGISTRY, CardImage, type CardLayoutProps, CardShell, CardVariant, type CartAddOnOptionSelection, CartDrawer, type CartDrawerProps, CartDrawerProvider, type CartLayoutProps, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, CartTemplate, type CartVariantSelection, CatalogueCollectionLayout, type CatalogueLayoutProps, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CatalogueTemplate, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, ChatMarkdown, type ChatMarkdownProps, type ChatTimeline, ChatWidget, type ChatWidgetClassNames, type ChatWidgetProps, CheckIcon, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyClientSession, type CimplifyContextValue, type CimplifyLinkComponent, type CimplifyLinkProps, CimplifyProvider, type CimplifyProviderProps, CimplifySignInButton, type CimplifySignInButtonProps, CimplifyUserButton, type CimplifyUserButtonProps, type CollectionLayoutProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CollectionTemplate, CompactCartLayout, CompactCatalogueLayout, CompactSearchLayout, CompactServiceCard, CompositeProductCard, CompositeProductLayout, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, ContextCard, type ContextCardProps, type ContextRow, ContinuityCard, type ContinuityCardProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, CustomAttributesTable, type CustomerInput, CustomerInputFields, type CustomerInputFieldsClassNames, type CustomerInputFieldsProps, type CustomerInputType, DashboardIcon, DashboardIcon20, DatePicker, type DatePickerClassNames, type DatePickerProps, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DefaultCartLayout, DefaultCatalogueLayout, DefaultCollectionLayout, DefaultProductLayout, DefaultSearchLayout, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, type DeliveryLive, type DeliveryRider, DeliveryTracker, type DeliveryTrackerProps, DeliveryTruckIcon, type DigitalFulfillment, DigitalProductCard, DigitalProductLayout, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FeaturedCollectionLayout, type FilterTabItem, FilterTabs, type FilterTabsProps, FoodProductCard, FoodProductLayout, type GenUIActionEvent, type GenUICapabilityManifest, type GenUIComponentDef, type GenUIComponentMap, type GenUIComponentRenderer, type ElementNode as GenUIElementNode, type GenUIParamDef, type ParseResult as GenUIParseResult, type GenUIProgramState, type GenUIRegistry, type GenUIRenderContext, type GenUISegment, type GenUITelemetryEvent, GenUIView, HappeningCard, type HappeningCardProps, type HappeningPaneData, IdentityIcon, IdentityOfframp, type IdentityOfframpProps, type IdentitySummary, InventoryBadge, ItemsCard, type ItemsCardProps, LeaseServiceCard, LineItemDetails, type LineItemSemanticKind, type LineScheduling, type LineSelection, type LineStateTone, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, MediaGallery, type MediaGalleryProps, type MediaItem, MetadataStringList, MobileAccountShell, type MobileAccountShellProps, MobileBackButton, MobileMoreButton, MobileTabBar, type MobileTabBarProps, type NavItem, NextDeliveryCard, type NextDeliveryCardProps, OrderDetailHeader, type OrderDetailHeaderProps, OrderDetailMetaPipe, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, type OrderItemData, OrderList, type OrderListProps, OrderRow, type OrderRowData, type OrderRowProps, type OrderRowStatus, type OrderStatusTone, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, OrderTimeline, type OrderTimelineProps, OrderTotals, type OrderTotalsProps, type OrderViewDelivery, type OrderViewPayment, type OrderViewPaymentRow, OrdersIcon, OrdersIcon20, OvenIcon, PackageIcon, PaymentElement, type PrefetchMode, type PrefetchOptions, Price, type PriceProps, PriceRange, type PriceRangeProps, ProductCard, type ProductCardClassNames, type ProductCardProps, ProductCustomizer, type ProductCustomizerClassNames, type ProductCustomizerProps, ProductGrid, type ProductGridClassNames, type ProductGridProps, ProductImageGallery, type ProductImageGalleryProps, type ProductLayoutProps, ProductModel3D, type ProductModel3DProps, ProductPage, type ProductPageClassNames, type ProductPageProps, ProductSheet, type ProductSheetClassNames, type ProductSheetProps, ProductTemplate, PropertiesTable, QuantitySelector, type QuantitySelectorClassNames, type QuantitySelectorProps, QuickAddButton, RecentlyViewed, type RecentlyViewedClassNames, type RecentlyViewedProps, RecommendationCarousel, type RecommendationCarouselClassNames, type RecommendationCarouselProps, RelatedProductsSection, RentalServiceCard, type Resource, ResourcePicker, type ResourcePickerClassNames, type ResourcePickerProps, RetailProductCard, RichText, type RichTextProps, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, SalePrice, type SalePriceClassNames, type SalePriceProps, SaleTeaser, type SaleTeaserProps, ScheduleServiceCard, SearchInput, type SearchInputClassNames, type SearchInputProps, type SearchLayoutProps, SearchPage, type SearchPageClassNames, type SearchPageProps, SearchTemplate, Section, SectionMore, type SectionMoreProps, type SectionProps, type ServiceCardLayoutProps, ServiceProductLayout, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SignOutIcon, Skeleton, type SkeletonProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, SoldOutOverlay, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StandardServiceCard, Status, type StatusProps, StoreNav, type StoreNavClassNames, type StoreNavProps, StoreVideo, type StoreVideoProps, SubscriptionCard, SubscriptionList, type SubscriptionListProps, SubscriptionRow, type SubscriptionRowData, type SubscriptionRowProps, SubscriptionsIcon, SubscriptionsIcon20, TagPills, TimePicker, type TimePickerClassNames, type TimePickerProps, type TimelineStep, type ToAccountOrderViewOptions, Toast, type ToastProps, type TotalsData, TwoColumnGrid, 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 UseChatOptions, type UseChatResult, type UseCimplifySessionOptions, type UseCimplifySessionResult, 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 UseStoreCreditOptions, type UseStoreCreditResult, type UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, type UserButtonLink, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, VolumePricing, type VolumePricingClassNames, type VolumePricingProps, WelcomeCard, type WelcomeCardProps, WholesaleProductCard, WholesaleProductLayout, WishlistButton, clearOrdersCache, cn, defaultBoundaryKind, genUICatalog, genUIFingerprint, genUIManifest, genUIManifestJson, getBoundaryLabels, isTerminalOrderStatus, messagePreview, parse as parseGenUIProgram, partitionMessages, prefetchProduct, prefetchProducts, resolveBoundaryKind, roomToResource, sanitizeRichTextHtml, splitGenUIContent, stripHtmlToText, toAccountLineItem, toAccountLineItems, toAccountOrderView, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCartDrawer, useCategories, useChat, useCheckout, useCimplify, useCimplifyClient, useCimplifySession, useCollection, useCollections, useDeals, useDeliveryFee, useDeliveryOptions, useElements, useElementsReady, useFxRate, useGenUIProgram, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useStoreCredit, useSubscription, useSubscriptions, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
|