@cimplify/sdk 0.9.8 → 0.9.10

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.
@@ -1,5 +1,5 @@
1
- export { A as AuthService, B as BusinessService, i as CartOperations, b as CatalogueQueries, j as CheckoutOperations, j as CheckoutService, t as CimplifyElement, s as CimplifyElements, v as ELEMENT_TYPES, E as EVENT_TYPES, z as ElementEventType, x as ElementOptions, y as ElementType, w as ElementsOptions, F as FetchQuoteInput, q as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, p as LiteService, M as MESSAGE_TYPES, O as OrderQueries, P as PriceQuote, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, h as RefreshQuoteResult, o as SchedulingService, S as SearchOptions, u as createElements, k as generateIdempotencyKey } from './client-D4EiM667.mjs';
2
- import './payment-D58dS_E9.mjs';
1
+ export { A as AuthService, B as BusinessService, i as CartOperations, b as CatalogueQueries, j as CheckoutOperations, j as CheckoutService, t as CimplifyElement, s as CimplifyElements, v as ELEMENT_TYPES, E as EVENT_TYPES, z as ElementEventType, x as ElementOptions, y as ElementType, w as ElementsOptions, F as FetchQuoteInput, q as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, p as LiteService, M as MESSAGE_TYPES, O as OrderQueries, P as PriceQuote, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, h as RefreshQuoteResult, o as SchedulingService, S as SearchOptions, u as createElements, k as generateIdempotencyKey } from './client-BQ1gIg8t.mjs';
2
+ import './payment-CTalZM5l.mjs';
3
3
 
4
4
  type Operator = "==" | "!=" | ">" | "<" | ">=" | "<=" | "contains" | "startsWith";
5
5
  type SortOrder = "asc" | "desc";
@@ -1,5 +1,5 @@
1
- export { A as AuthService, B as BusinessService, i as CartOperations, b as CatalogueQueries, j as CheckoutOperations, j as CheckoutService, t as CimplifyElement, s as CimplifyElements, v as ELEMENT_TYPES, E as EVENT_TYPES, z as ElementEventType, x as ElementOptions, y as ElementType, w as ElementsOptions, F as FetchQuoteInput, q as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, p as LiteService, M as MESSAGE_TYPES, O as OrderQueries, P as PriceQuote, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, h as RefreshQuoteResult, o as SchedulingService, S as SearchOptions, u as createElements, k as generateIdempotencyKey } from './client-CYRL8s1S.js';
2
- import './payment-D58dS_E9.js';
1
+ export { A as AuthService, B as BusinessService, i as CartOperations, b as CatalogueQueries, j as CheckoutOperations, j as CheckoutService, t as CimplifyElement, s as CimplifyElements, v as ELEMENT_TYPES, E as EVENT_TYPES, z as ElementEventType, x as ElementOptions, y as ElementType, w as ElementsOptions, F as FetchQuoteInput, q as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, p as LiteService, M as MESSAGE_TYPES, O as OrderQueries, P as PriceQuote, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, h as RefreshQuoteResult, o as SchedulingService, S as SearchOptions, u as createElements, k as generateIdempotencyKey } from './client-C3TQtGuy.js';
2
+ import './payment-CTalZM5l.js';
3
3
 
4
4
  type Operator = "==" | "!=" | ">" | "<" | ">=" | "<=" | "contains" | "startsWith";
5
5
  type SortOrder = "asc" | "desc";
@@ -1,4 +1,4 @@
1
- import { N as Category, s as Product, H as AddOnWithOptions, d as Pagination, h as CimplifyError, t as ProductWithDetails, u as ProductVariant, w as VariantAxis, F as VariantAxisSelection, G as AddOn, Q as Collection, W as Bundle, a8 as Composite, af as ComponentSelectionInput, ag as CompositePriceResult, av as ChosenPrice, a_ as UICart, aL as Cart, aM as CartItem, b2 as CartSummary, b0 as AddToCartInput, b1 as UpdateCartItemInput, az as DiscountDetails, M as Money, C as CurrencyCode, aK as LineConfiguration, b6 as AuthorizationType, b8 as PaymentMethod, ba as InitializePaymentResult, be as SubmitAuthorizationInput, bc as PaymentStatusResponse } from './payment-D58dS_E9.mjs';
1
+ import { N as Category, s as Product, H as AddOnWithOptions, d as Pagination, h as CimplifyError, t as ProductWithDetails, u as ProductVariant, w as VariantAxis, F as VariantAxisSelection, G as AddOn, Q as Collection, W as Bundle, a8 as Composite, af as ComponentSelectionInput, ag as CompositePriceResult, av as ChosenPrice, a_ as UICart, aL as Cart, aM as CartItem, b2 as CartSummary, b0 as AddToCartInput, b1 as UpdateCartItemInput, az as DiscountDetails, M as Money, C as CurrencyCode, aK as LineConfiguration, b6 as AuthorizationType, b8 as PaymentMethod, ba as InitializePaymentResult, be as SubmitAuthorizationInput, bc as PaymentStatusResponse } from './payment-CTalZM5l.mjs';
2
2
 
3
3
  /**
4
4
  * Observability hooks for monitoring SDK behavior.
@@ -1,4 +1,4 @@
1
- import { N as Category, s as Product, H as AddOnWithOptions, d as Pagination, h as CimplifyError, t as ProductWithDetails, u as ProductVariant, w as VariantAxis, F as VariantAxisSelection, G as AddOn, Q as Collection, W as Bundle, a8 as Composite, af as ComponentSelectionInput, ag as CompositePriceResult, av as ChosenPrice, a_ as UICart, aL as Cart, aM as CartItem, b2 as CartSummary, b0 as AddToCartInput, b1 as UpdateCartItemInput, az as DiscountDetails, M as Money, C as CurrencyCode, aK as LineConfiguration, b6 as AuthorizationType, b8 as PaymentMethod, ba as InitializePaymentResult, be as SubmitAuthorizationInput, bc as PaymentStatusResponse } from './payment-D58dS_E9.js';
1
+ import { N as Category, s as Product, H as AddOnWithOptions, d as Pagination, h as CimplifyError, t as ProductWithDetails, u as ProductVariant, w as VariantAxis, F as VariantAxisSelection, G as AddOn, Q as Collection, W as Bundle, a8 as Composite, af as ComponentSelectionInput, ag as CompositePriceResult, av as ChosenPrice, a_ as UICart, aL as Cart, aM as CartItem, b2 as CartSummary, b0 as AddToCartInput, b1 as UpdateCartItemInput, az as DiscountDetails, M as Money, C as CurrencyCode, aK as LineConfiguration, b6 as AuthorizationType, b8 as PaymentMethod, ba as InitializePaymentResult, be as SubmitAuthorizationInput, bc as PaymentStatusResponse } from './payment-CTalZM5l.js';
2
2
 
3
3
  /**
4
4
  * Observability hooks for monitoring SDK behavior.
@@ -1,4 +1,4 @@
1
- import { av as ChosenPrice, C as CurrencyCode, as as TaxPathComponent, at as PricePathTaxInfo, M as Money, bd as PaymentErrorDetails, bb as PaymentResponse, bc as PaymentStatusResponse } from './payment-D58dS_E9.js';
1
+ import { av as ChosenPrice, C as CurrencyCode, as as TaxPathComponent, at as PricePathTaxInfo, M as Money, bd as PaymentErrorDetails, bb as PaymentResponse, bc as PaymentStatusResponse } from './payment-CTalZM5l.js';
2
2
 
3
3
  /**
4
4
  * Price Types
@@ -1,4 +1,4 @@
1
- import { av as ChosenPrice, C as CurrencyCode, as as TaxPathComponent, at as PricePathTaxInfo, M as Money, bd as PaymentErrorDetails, bb as PaymentResponse, bc as PaymentStatusResponse } from './payment-D58dS_E9.mjs';
1
+ import { av as ChosenPrice, C as CurrencyCode, as as TaxPathComponent, at as PricePathTaxInfo, M as Money, bd as PaymentErrorDetails, bb as PaymentResponse, bc as PaymentStatusResponse } from './payment-CTalZM5l.mjs';
2
2
 
3
3
  /**
4
4
  * Price Types
package/dist/index.d.mts CHANGED
@@ -1,8 +1,8 @@
1
- export { ab as AUTHORIZATION_TYPE, ag as AUTH_MUTATION, a0 as AbortablePromise, cd as AddressData, cG as AddressInfo, aQ as AmountToPay, co as AuthResponse, A as AuthService, m as AuthStatus, cI as AuthenticatedCustomer, cK as AuthenticatedData, c1 as AvailabilityCheck, c2 as AvailabilityResult, bG as AvailableSlot, bJ as Booking, bI as BookingStatus, bK as BookingWithDetails, b8 as BufferTimes, bn as Business, bB as BusinessHours, bm as BusinessPreferences, B as BusinessService, bA as BusinessSettings, bl as BusinessType, by as BusinessWithLocations, a4 as CHECKOUT_MODE, ah as CHECKOUT_MUTATION, a7 as CHECKOUT_STEP, ad as CONTACT_TYPE, bR as CancelBookingInput, bS as CancelBookingResult, b2 as CancelOrderInput, ba as CancellationPolicy, i as CartOperations, b as CatalogueQueries, aD as CatalogueResult, aE as CatalogueSnapshot, bC as CategoryInfo, bO as CheckSlotAvailabilityInput, bP as CheckSlotAvailabilityResult, cr as CheckoutAddressInfo, cO as CheckoutCartData, cN as CheckoutCartItem, ct as CheckoutCustomerInfo, N as CheckoutFormData, b0 as CheckoutInput, D as CheckoutMode, j as CheckoutOperations, H as CheckoutOrderType, J as CheckoutPaymentMethod, V as CheckoutResult, j as CheckoutService, _ as CheckoutStatus, $ as CheckoutStatusContext, K as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, t as CimplifyElement, s as CimplifyElements, a3 as ContactType, c9 as CreateAddressInput, cb as CreateMobileMoneyInput, c4 as Customer, c5 as CustomerAddress, bM as CustomerBooking, bL as CustomerBookingServiceItem, c7 as CustomerLinkPreferences, c6 as CustomerMobileMoney, b7 as CustomerServicePreferences, al as DEFAULT_COUNTRY, ak as DEFAULT_CURRENCY, ac as DEVICE_TYPE, bH as DayAvailability, bh as DepositResult, a2 as DeviceType, v as ELEMENT_TYPES, E as EVENT_TYPES, cF as ElementAppearance, cR as ElementEventHandler, z as ElementEventType, x as ElementOptions, y as ElementType, cL as ElementsCheckoutData, cM as ElementsCheckoutResult, cJ as ElementsCustomerInfo, w as ElementsOptions, cf as EnrollAndLinkOrderInput, ci as EnrollAndLinkOrderResult, cc as EnrollmentData, ao as Err, aP as FeeBearerType, F as FetchQuoteInput, aN as FulfillmentLink, aM as FulfillmentStatus, aL as FulfillmentType, cv as FxQuote, cu as FxQuoteRequest, cw as FxRateResponse, q as FxService, bN as GetAvailableSlotsInput, l as GetOrdersOptions, G as GetProductsOptions, cQ as IframeToParentMessage, I as InventoryService, c3 as InventorySummary, af as LINK_MUTATION, ae as LINK_QUERY, aR as LineItem, aI as LineType, c8 as LinkData, ch as LinkEnrollResult, L as LinkService, cj as LinkSession, cg as LinkStatusResult, r as LiteBootstrap, p as LiteService, bq as Location, bk as LocationAppointment, c0 as LocationStock, bo as LocationTaxBehavior, bp as LocationTaxOverrides, bt as LocationTimeProfile, bz as LocationWithDetails, M as MESSAGE_TYPES, aa as MOBILE_MONEY_PROVIDER, ce as MobileMoneyData, cs as MobileMoneyDetails, a1 as MobileMoneyProvider, W as NextAction, aj as ORDER_MUTATION, a5 as ORDER_TYPE, cD as ObservabilityHooks, an as Ok, aS as Order, aH as OrderChannel, a$ as OrderFilter, aO as OrderFulfillmentSummary, aV as OrderGroup, aZ as OrderGroupDetails, aW as OrderGroupPayment, aU as OrderGroupPaymentState, aY as OrderGroupPaymentSummary, aT as OrderHistory, aJ as OrderLineState, aK as OrderLineStatus, a_ as OrderPaymentEvent, O as OrderQueries, aX as OrderSplitDetail, aF as OrderStatus, cE as OrderType, n as OtpResult, a6 as PAYMENT_METHOD, ai as PAYMENT_MUTATION, a8 as PAYMENT_STATE, a9 as PICKUP_TIME_TYPE, cP as ParentToIframeMessage, cH as PaymentMethodInfo, aG as PaymentState, cq as PickupTime, cp as PickupTimeType, P as PriceQuote, bc as PricingOverrides, Z as ProcessAndResolveOptions, X as ProcessCheckoutOptions, Y as ProcessCheckoutResult, b_ as ProductStock, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, h as RefreshQuoteResult, b3 as RefundOrderInput, b6 as ReminderMethod, b9 as ReminderSettings, cx as RequestContext, cA as RequestErrorEvent, cm as RequestOtpInput, cy as RequestStartEvent, cz as RequestSuccessEvent, bQ as RescheduleBookingInput, bT as RescheduleBookingResult, bf as ResourceAssignment, am as Result, cB as RetryEvent, cl as RevokeAllSessionsResult, ck as RevokeSessionResult, bv as Room, bd as SchedulingMetadata, bg as SchedulingResult, o as SchedulingService, S as SearchOptions, bD as Service, bU as ServiceAvailabilityParams, bV as ServiceAvailabilityResult, bw as ServiceCharge, bb as ServiceNotes, bi as ServiceScheduleRequest, b4 as ServiceStatus, cC as SessionChangeEvent, bE as Staff, be as StaffAssignment, b5 as StaffRole, bj as StaffScheduleItem, bY as Stock, bZ as StockLevel, bW as StockOwnershipType, bX as StockStatus, bx as StorefrontBootstrap, bu as Table, T as TableInfo, br as TimeRange, bs as TimeRanges, bF as TimeSlot, ca as UpdateAddressInput, b1 as UpdateOrderStatusInput, U as UpdateProfileInput, b$ as VariantStock, cn as VerifyOtpInput, aB as combine, aC as combineObject, c as createCimplifyClient, u as createElements, aq as err, av as flatMap, az as fromPromise, k as generateIdempotencyKey, aw as getOrElse, as as isErr, ar as isOk, au as mapError, at as mapResult, ap as ok, ay as toNullable, aA as tryCatch, ax as unwrap } from './client-D4EiM667.mjs';
1
+ export { ab as AUTHORIZATION_TYPE, ag as AUTH_MUTATION, a0 as AbortablePromise, cd as AddressData, cG as AddressInfo, aQ as AmountToPay, co as AuthResponse, A as AuthService, m as AuthStatus, cI as AuthenticatedCustomer, cK as AuthenticatedData, c1 as AvailabilityCheck, c2 as AvailabilityResult, bG as AvailableSlot, bJ as Booking, bI as BookingStatus, bK as BookingWithDetails, b8 as BufferTimes, bn as Business, bB as BusinessHours, bm as BusinessPreferences, B as BusinessService, bA as BusinessSettings, bl as BusinessType, by as BusinessWithLocations, a4 as CHECKOUT_MODE, ah as CHECKOUT_MUTATION, a7 as CHECKOUT_STEP, ad as CONTACT_TYPE, bR as CancelBookingInput, bS as CancelBookingResult, b2 as CancelOrderInput, ba as CancellationPolicy, i as CartOperations, b as CatalogueQueries, aD as CatalogueResult, aE as CatalogueSnapshot, bC as CategoryInfo, bO as CheckSlotAvailabilityInput, bP as CheckSlotAvailabilityResult, cr as CheckoutAddressInfo, cO as CheckoutCartData, cN as CheckoutCartItem, ct as CheckoutCustomerInfo, N as CheckoutFormData, b0 as CheckoutInput, D as CheckoutMode, j as CheckoutOperations, H as CheckoutOrderType, J as CheckoutPaymentMethod, V as CheckoutResult, j as CheckoutService, _ as CheckoutStatus, $ as CheckoutStatusContext, K as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, t as CimplifyElement, s as CimplifyElements, a3 as ContactType, c9 as CreateAddressInput, cb as CreateMobileMoneyInput, c4 as Customer, c5 as CustomerAddress, bM as CustomerBooking, bL as CustomerBookingServiceItem, c7 as CustomerLinkPreferences, c6 as CustomerMobileMoney, b7 as CustomerServicePreferences, al as DEFAULT_COUNTRY, ak as DEFAULT_CURRENCY, ac as DEVICE_TYPE, bH as DayAvailability, bh as DepositResult, a2 as DeviceType, v as ELEMENT_TYPES, E as EVENT_TYPES, cF as ElementAppearance, cR as ElementEventHandler, z as ElementEventType, x as ElementOptions, y as ElementType, cL as ElementsCheckoutData, cM as ElementsCheckoutResult, cJ as ElementsCustomerInfo, w as ElementsOptions, cf as EnrollAndLinkOrderInput, ci as EnrollAndLinkOrderResult, cc as EnrollmentData, ao as Err, aP as FeeBearerType, F as FetchQuoteInput, aN as FulfillmentLink, aM as FulfillmentStatus, aL as FulfillmentType, cv as FxQuote, cu as FxQuoteRequest, cw as FxRateResponse, q as FxService, bN as GetAvailableSlotsInput, l as GetOrdersOptions, G as GetProductsOptions, cQ as IframeToParentMessage, I as InventoryService, c3 as InventorySummary, af as LINK_MUTATION, ae as LINK_QUERY, aR as LineItem, aI as LineType, c8 as LinkData, ch as LinkEnrollResult, L as LinkService, cj as LinkSession, cg as LinkStatusResult, r as LiteBootstrap, p as LiteService, bq as Location, bk as LocationAppointment, c0 as LocationStock, bo as LocationTaxBehavior, bp as LocationTaxOverrides, bt as LocationTimeProfile, bz as LocationWithDetails, M as MESSAGE_TYPES, aa as MOBILE_MONEY_PROVIDER, ce as MobileMoneyData, cs as MobileMoneyDetails, a1 as MobileMoneyProvider, W as NextAction, aj as ORDER_MUTATION, a5 as ORDER_TYPE, cD as ObservabilityHooks, an as Ok, aS as Order, aH as OrderChannel, a$ as OrderFilter, aO as OrderFulfillmentSummary, aV as OrderGroup, aZ as OrderGroupDetails, aW as OrderGroupPayment, aU as OrderGroupPaymentState, aY as OrderGroupPaymentSummary, aT as OrderHistory, aJ as OrderLineState, aK as OrderLineStatus, a_ as OrderPaymentEvent, O as OrderQueries, aX as OrderSplitDetail, aF as OrderStatus, cE as OrderType, n as OtpResult, a6 as PAYMENT_METHOD, ai as PAYMENT_MUTATION, a8 as PAYMENT_STATE, a9 as PICKUP_TIME_TYPE, cP as ParentToIframeMessage, cH as PaymentMethodInfo, aG as PaymentState, cq as PickupTime, cp as PickupTimeType, P as PriceQuote, bc as PricingOverrides, Z as ProcessAndResolveOptions, X as ProcessCheckoutOptions, Y as ProcessCheckoutResult, b_ as ProductStock, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, h as RefreshQuoteResult, b3 as RefundOrderInput, b6 as ReminderMethod, b9 as ReminderSettings, cx as RequestContext, cA as RequestErrorEvent, cm as RequestOtpInput, cy as RequestStartEvent, cz as RequestSuccessEvent, bQ as RescheduleBookingInput, bT as RescheduleBookingResult, bf as ResourceAssignment, am as Result, cB as RetryEvent, cl as RevokeAllSessionsResult, ck as RevokeSessionResult, bv as Room, bd as SchedulingMetadata, bg as SchedulingResult, o as SchedulingService, S as SearchOptions, bD as Service, bU as ServiceAvailabilityParams, bV as ServiceAvailabilityResult, bw as ServiceCharge, bb as ServiceNotes, bi as ServiceScheduleRequest, b4 as ServiceStatus, cC as SessionChangeEvent, bE as Staff, be as StaffAssignment, b5 as StaffRole, bj as StaffScheduleItem, bY as Stock, bZ as StockLevel, bW as StockOwnershipType, bX as StockStatus, bx as StorefrontBootstrap, bu as Table, T as TableInfo, br as TimeRange, bs as TimeRanges, bF as TimeSlot, ca as UpdateAddressInput, b1 as UpdateOrderStatusInput, U as UpdateProfileInput, b$ as VariantStock, cn as VerifyOtpInput, aB as combine, aC as combineObject, c as createCimplifyClient, u as createElements, aq as err, av as flatMap, az as fromPromise, k as generateIdempotencyKey, aw as getOrElse, as as isErr, ar as isOk, au as mapError, at as mapResult, ap as ok, ay as toNullable, aA as tryCatch, ax as unwrap } from './client-BQ1gIg8t.mjs';
2
2
  export { QueryBuilder, query } from './advanced.mjs';
3
- import { A as ApiError } from './payment-D58dS_E9.mjs';
4
- export { G as AddOn, aB as AddOnDetails, aX as AddOnGroupDetails, J as AddOnOption, aW as AddOnOptionDetails, K as AddOnOptionPrice, H as AddOnWithOptions, b0 as AddToCartInput, aq as AdjustmentType, ax as AppliedDiscount, b6 as AuthorizationType, aw as BenefitType, W as Bundle, $ as BundleComponentData, a0 as BundleComponentInfo, a2 as BundleComponentVariantView, a1 as BundleComponentView, U as BundlePriceType, Y as BundleProduct, aG as BundleSelectionData, aE as BundleSelectionInput, aF as BundleStoredSelection, X as BundleSummary, _ as BundleWithDetails, aL as Cart, aC as CartAddOn, ao as CartChannel, aM as CartItem, aZ as CartItemDetails, an as CartStatus, b2 as CartSummary, aN as CartTotals, N as Category, O as CategorySummary, av as ChosenPrice, h as CimplifyError, Q as Collection, T as CollectionProduct, R as CollectionSummary, aa as ComponentGroup, ab as ComponentGroupWithComponents, ah as ComponentPriceBreakdown, af as ComponentSelectionInput, a7 as ComponentSourceType, a8 as Composite, ae as CompositeComponent, ad as CompositeComponentView, ac as CompositeGroupView, aI as CompositePriceBreakdown, ag as CompositePriceResult, a5 as CompositePricingMode, aJ as CompositeSelectionData, af as CompositeSelectionInput, aH as CompositeStoredSelection, a9 as CompositeWithDetails, b as Currency, C as CurrencyCode, r as DepositType, q as DigitalProductType, ay as DiscountBreakdown, az as DiscountDetails, aQ as DisplayAddOn, aR as DisplayAddOnOption, aO as DisplayCart, aP as DisplayCartItem, D as DisplayMode, g as ERROR_HINTS, E as ErrorCode, e as ErrorCodeType, f as ErrorHint, a6 as GroupPricingBehavior, ba as InitializePaymentResult, I as InventoryType, aK as LineConfiguration, ak as LocationProductPrice, M as Money, d as Pagination, P as PaginationParams, b9 as Payment, bd as PaymentErrorDetails, b8 as PaymentMethod, b5 as PaymentMethodType, b7 as PaymentProcessingState, b4 as PaymentProvider, bb as PaymentResponse, b3 as PaymentStatus, bc as PaymentStatusResponse, aj as Price, ar as PriceAdjustment, au as PriceDecisionPath, ai as PriceEntryType, at as PricePathTaxInfo, ap as PriceSource, s as Product, L as ProductAddOn, al as ProductAvailability, p as ProductRenderHint, am as ProductTimeProfile, o as ProductType, u as ProductVariant, z as ProductVariantValue, t as ProductWithDetails, S as SalesChannel, aA as SelectedAddOnOption, be as SubmitAuthorizationInput, as as TaxPathComponent, a_ as UICart, aS as UICartBusiness, aU as UICartCustomer, aT as UICartLocation, aV as UICartPricing, a$ as UICartResponse, b1 as UpdateCartItemInput, w as VariantAxis, F as VariantAxisSelection, y as VariantAxisValue, a4 as VariantAxisValueView, a3 as VariantAxisView, x as VariantAxisWithValues, aD as VariantDetails, aY as VariantDetailsDTO, v as VariantDisplayAttribute, B as VariantLocationAvailability, V as VariantStrategy, Z as ZERO, c as currencyCode, l as enrichError, k as getErrorHint, j as isCimplifyError, n as isRetryableError, i as isSupportedCurrency, m as money, a as moneyFromNumber } from './payment-D58dS_E9.mjs';
5
- export { C as CURRENCY_SYMBOLS, B as FormatCompactOptions, F as FormatPriceOptions, M as MOBILE_MONEY_PROVIDERS, P as PriceInfo, A as ProductWithPrice, T as TaxComponent, z as TaxInfo, s as categorizePaymentError, y as detectMobileMoneyProvider, c as formatMoney, d as formatNumberCompact, f as formatPrice, a as formatPriceAdjustment, b as formatPriceCompact, j as formatPriceWithTax, e as formatProductPrice, m as getBasePrice, k as getCurrencySymbol, o as getDiscountPercentage, l as getDisplayPrice, q as getMarkupPercentage, r as getProductCurrency, g as getTaxAmount, h as hasTaxInfo, n as isOnSale, v as isPaymentStatusFailure, w as isPaymentStatusRequiresAction, x as isPaymentStatusSuccess, i as isTaxInclusive, t as normalizePaymentResponse, u as normalizeStatusResponse, p as parsePrice } from './index-DN_qtwG0.mjs';
3
+ import { A as ApiError } from './payment-CTalZM5l.mjs';
4
+ export { G as AddOn, aB as AddOnDetails, aX as AddOnGroupDetails, J as AddOnOption, aW as AddOnOptionDetails, K as AddOnOptionPrice, H as AddOnWithOptions, b0 as AddToCartInput, aq as AdjustmentType, ax as AppliedDiscount, b6 as AuthorizationType, aw as BenefitType, W as Bundle, $ as BundleComponentData, a0 as BundleComponentInfo, a2 as BundleComponentVariantView, a1 as BundleComponentView, U as BundlePriceType, Y as BundleProduct, aG as BundleSelectionData, aE as BundleSelectionInput, aF as BundleStoredSelection, X as BundleSummary, _ as BundleWithDetails, aL as Cart, aC as CartAddOn, ao as CartChannel, aM as CartItem, aZ as CartItemDetails, an as CartStatus, b2 as CartSummary, aN as CartTotals, N as Category, O as CategorySummary, av as ChosenPrice, h as CimplifyError, Q as Collection, T as CollectionProduct, R as CollectionSummary, aa as ComponentGroup, ab as ComponentGroupWithComponents, ah as ComponentPriceBreakdown, af as ComponentSelectionInput, a7 as ComponentSourceType, a8 as Composite, ae as CompositeComponent, ad as CompositeComponentView, ac as CompositeGroupView, aI as CompositePriceBreakdown, ag as CompositePriceResult, a5 as CompositePricingMode, aJ as CompositeSelectionData, af as CompositeSelectionInput, aH as CompositeStoredSelection, a9 as CompositeWithDetails, b as Currency, C as CurrencyCode, r as DepositType, q as DigitalProductType, ay as DiscountBreakdown, az as DiscountDetails, aQ as DisplayAddOn, aR as DisplayAddOnOption, aO as DisplayCart, aP as DisplayCartItem, D as DisplayMode, g as ERROR_HINTS, E as ErrorCode, e as ErrorCodeType, f as ErrorHint, a6 as GroupPricingBehavior, ba as InitializePaymentResult, I as InventoryType, aK as LineConfiguration, ak as LocationProductPrice, M as Money, d as Pagination, P as PaginationParams, b9 as Payment, bd as PaymentErrorDetails, b8 as PaymentMethod, b5 as PaymentMethodType, b7 as PaymentProcessingState, b4 as PaymentProvider, bb as PaymentResponse, b3 as PaymentStatus, bc as PaymentStatusResponse, aj as Price, ar as PriceAdjustment, au as PriceDecisionPath, ai as PriceEntryType, at as PricePathTaxInfo, ap as PriceSource, s as Product, L as ProductAddOn, al as ProductAvailability, p as ProductRenderHint, am as ProductTimeProfile, o as ProductType, u as ProductVariant, z as ProductVariantValue, t as ProductWithDetails, S as SalesChannel, aA as SelectedAddOnOption, be as SubmitAuthorizationInput, as as TaxPathComponent, a_ as UICart, aS as UICartBusiness, aU as UICartCustomer, aT as UICartLocation, aV as UICartPricing, a$ as UICartResponse, b1 as UpdateCartItemInput, w as VariantAxis, F as VariantAxisSelection, y as VariantAxisValue, a4 as VariantAxisValueView, a3 as VariantAxisView, x as VariantAxisWithValues, aD as VariantDetails, aY as VariantDetailsDTO, v as VariantDisplayAttribute, B as VariantLocationAvailability, V as VariantStrategy, Z as ZERO, c as currencyCode, l as enrichError, k as getErrorHint, j as isCimplifyError, n as isRetryableError, i as isSupportedCurrency, m as money, a as moneyFromNumber } from './payment-CTalZM5l.mjs';
5
+ export { C as CURRENCY_SYMBOLS, B as FormatCompactOptions, F as FormatPriceOptions, M as MOBILE_MONEY_PROVIDERS, P as PriceInfo, A as ProductWithPrice, T as TaxComponent, z as TaxInfo, s as categorizePaymentError, y as detectMobileMoneyProvider, c as formatMoney, d as formatNumberCompact, f as formatPrice, a as formatPriceAdjustment, b as formatPriceCompact, j as formatPriceWithTax, e as formatProductPrice, m as getBasePrice, k as getCurrencySymbol, o as getDiscountPercentage, l as getDisplayPrice, q as getMarkupPercentage, r as getProductCurrency, g as getTaxAmount, h as hasTaxInfo, n as isOnSale, v as isPaymentStatusFailure, w as isPaymentStatusRequiresAction, x as isPaymentStatusSuccess, i as isTaxInclusive, t as normalizePaymentResponse, u as normalizeStatusResponse, p as parsePrice } from './index-Cd0shhZU.mjs';
6
6
  export { c as AdConfig, e as AdContextValue, d as AdCreative, a as AdPosition, A as AdSlot, b as AdTheme, g as getVariantDisplayName } from './ads-MkGm5l1T.mjs';
7
7
 
8
8
  /** Context sent with every request to scope operations to a specific location/branch */
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- export { ab as AUTHORIZATION_TYPE, ag as AUTH_MUTATION, a0 as AbortablePromise, cd as AddressData, cG as AddressInfo, aQ as AmountToPay, co as AuthResponse, A as AuthService, m as AuthStatus, cI as AuthenticatedCustomer, cK as AuthenticatedData, c1 as AvailabilityCheck, c2 as AvailabilityResult, bG as AvailableSlot, bJ as Booking, bI as BookingStatus, bK as BookingWithDetails, b8 as BufferTimes, bn as Business, bB as BusinessHours, bm as BusinessPreferences, B as BusinessService, bA as BusinessSettings, bl as BusinessType, by as BusinessWithLocations, a4 as CHECKOUT_MODE, ah as CHECKOUT_MUTATION, a7 as CHECKOUT_STEP, ad as CONTACT_TYPE, bR as CancelBookingInput, bS as CancelBookingResult, b2 as CancelOrderInput, ba as CancellationPolicy, i as CartOperations, b as CatalogueQueries, aD as CatalogueResult, aE as CatalogueSnapshot, bC as CategoryInfo, bO as CheckSlotAvailabilityInput, bP as CheckSlotAvailabilityResult, cr as CheckoutAddressInfo, cO as CheckoutCartData, cN as CheckoutCartItem, ct as CheckoutCustomerInfo, N as CheckoutFormData, b0 as CheckoutInput, D as CheckoutMode, j as CheckoutOperations, H as CheckoutOrderType, J as CheckoutPaymentMethod, V as CheckoutResult, j as CheckoutService, _ as CheckoutStatus, $ as CheckoutStatusContext, K as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, t as CimplifyElement, s as CimplifyElements, a3 as ContactType, c9 as CreateAddressInput, cb as CreateMobileMoneyInput, c4 as Customer, c5 as CustomerAddress, bM as CustomerBooking, bL as CustomerBookingServiceItem, c7 as CustomerLinkPreferences, c6 as CustomerMobileMoney, b7 as CustomerServicePreferences, al as DEFAULT_COUNTRY, ak as DEFAULT_CURRENCY, ac as DEVICE_TYPE, bH as DayAvailability, bh as DepositResult, a2 as DeviceType, v as ELEMENT_TYPES, E as EVENT_TYPES, cF as ElementAppearance, cR as ElementEventHandler, z as ElementEventType, x as ElementOptions, y as ElementType, cL as ElementsCheckoutData, cM as ElementsCheckoutResult, cJ as ElementsCustomerInfo, w as ElementsOptions, cf as EnrollAndLinkOrderInput, ci as EnrollAndLinkOrderResult, cc as EnrollmentData, ao as Err, aP as FeeBearerType, F as FetchQuoteInput, aN as FulfillmentLink, aM as FulfillmentStatus, aL as FulfillmentType, cv as FxQuote, cu as FxQuoteRequest, cw as FxRateResponse, q as FxService, bN as GetAvailableSlotsInput, l as GetOrdersOptions, G as GetProductsOptions, cQ as IframeToParentMessage, I as InventoryService, c3 as InventorySummary, af as LINK_MUTATION, ae as LINK_QUERY, aR as LineItem, aI as LineType, c8 as LinkData, ch as LinkEnrollResult, L as LinkService, cj as LinkSession, cg as LinkStatusResult, r as LiteBootstrap, p as LiteService, bq as Location, bk as LocationAppointment, c0 as LocationStock, bo as LocationTaxBehavior, bp as LocationTaxOverrides, bt as LocationTimeProfile, bz as LocationWithDetails, M as MESSAGE_TYPES, aa as MOBILE_MONEY_PROVIDER, ce as MobileMoneyData, cs as MobileMoneyDetails, a1 as MobileMoneyProvider, W as NextAction, aj as ORDER_MUTATION, a5 as ORDER_TYPE, cD as ObservabilityHooks, an as Ok, aS as Order, aH as OrderChannel, a$ as OrderFilter, aO as OrderFulfillmentSummary, aV as OrderGroup, aZ as OrderGroupDetails, aW as OrderGroupPayment, aU as OrderGroupPaymentState, aY as OrderGroupPaymentSummary, aT as OrderHistory, aJ as OrderLineState, aK as OrderLineStatus, a_ as OrderPaymentEvent, O as OrderQueries, aX as OrderSplitDetail, aF as OrderStatus, cE as OrderType, n as OtpResult, a6 as PAYMENT_METHOD, ai as PAYMENT_MUTATION, a8 as PAYMENT_STATE, a9 as PICKUP_TIME_TYPE, cP as ParentToIframeMessage, cH as PaymentMethodInfo, aG as PaymentState, cq as PickupTime, cp as PickupTimeType, P as PriceQuote, bc as PricingOverrides, Z as ProcessAndResolveOptions, X as ProcessCheckoutOptions, Y as ProcessCheckoutResult, b_ as ProductStock, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, h as RefreshQuoteResult, b3 as RefundOrderInput, b6 as ReminderMethod, b9 as ReminderSettings, cx as RequestContext, cA as RequestErrorEvent, cm as RequestOtpInput, cy as RequestStartEvent, cz as RequestSuccessEvent, bQ as RescheduleBookingInput, bT as RescheduleBookingResult, bf as ResourceAssignment, am as Result, cB as RetryEvent, cl as RevokeAllSessionsResult, ck as RevokeSessionResult, bv as Room, bd as SchedulingMetadata, bg as SchedulingResult, o as SchedulingService, S as SearchOptions, bD as Service, bU as ServiceAvailabilityParams, bV as ServiceAvailabilityResult, bw as ServiceCharge, bb as ServiceNotes, bi as ServiceScheduleRequest, b4 as ServiceStatus, cC as SessionChangeEvent, bE as Staff, be as StaffAssignment, b5 as StaffRole, bj as StaffScheduleItem, bY as Stock, bZ as StockLevel, bW as StockOwnershipType, bX as StockStatus, bx as StorefrontBootstrap, bu as Table, T as TableInfo, br as TimeRange, bs as TimeRanges, bF as TimeSlot, ca as UpdateAddressInput, b1 as UpdateOrderStatusInput, U as UpdateProfileInput, b$ as VariantStock, cn as VerifyOtpInput, aB as combine, aC as combineObject, c as createCimplifyClient, u as createElements, aq as err, av as flatMap, az as fromPromise, k as generateIdempotencyKey, aw as getOrElse, as as isErr, ar as isOk, au as mapError, at as mapResult, ap as ok, ay as toNullable, aA as tryCatch, ax as unwrap } from './client-CYRL8s1S.js';
1
+ export { ab as AUTHORIZATION_TYPE, ag as AUTH_MUTATION, a0 as AbortablePromise, cd as AddressData, cG as AddressInfo, aQ as AmountToPay, co as AuthResponse, A as AuthService, m as AuthStatus, cI as AuthenticatedCustomer, cK as AuthenticatedData, c1 as AvailabilityCheck, c2 as AvailabilityResult, bG as AvailableSlot, bJ as Booking, bI as BookingStatus, bK as BookingWithDetails, b8 as BufferTimes, bn as Business, bB as BusinessHours, bm as BusinessPreferences, B as BusinessService, bA as BusinessSettings, bl as BusinessType, by as BusinessWithLocations, a4 as CHECKOUT_MODE, ah as CHECKOUT_MUTATION, a7 as CHECKOUT_STEP, ad as CONTACT_TYPE, bR as CancelBookingInput, bS as CancelBookingResult, b2 as CancelOrderInput, ba as CancellationPolicy, i as CartOperations, b as CatalogueQueries, aD as CatalogueResult, aE as CatalogueSnapshot, bC as CategoryInfo, bO as CheckSlotAvailabilityInput, bP as CheckSlotAvailabilityResult, cr as CheckoutAddressInfo, cO as CheckoutCartData, cN as CheckoutCartItem, ct as CheckoutCustomerInfo, N as CheckoutFormData, b0 as CheckoutInput, D as CheckoutMode, j as CheckoutOperations, H as CheckoutOrderType, J as CheckoutPaymentMethod, V as CheckoutResult, j as CheckoutService, _ as CheckoutStatus, $ as CheckoutStatusContext, K as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, t as CimplifyElement, s as CimplifyElements, a3 as ContactType, c9 as CreateAddressInput, cb as CreateMobileMoneyInput, c4 as Customer, c5 as CustomerAddress, bM as CustomerBooking, bL as CustomerBookingServiceItem, c7 as CustomerLinkPreferences, c6 as CustomerMobileMoney, b7 as CustomerServicePreferences, al as DEFAULT_COUNTRY, ak as DEFAULT_CURRENCY, ac as DEVICE_TYPE, bH as DayAvailability, bh as DepositResult, a2 as DeviceType, v as ELEMENT_TYPES, E as EVENT_TYPES, cF as ElementAppearance, cR as ElementEventHandler, z as ElementEventType, x as ElementOptions, y as ElementType, cL as ElementsCheckoutData, cM as ElementsCheckoutResult, cJ as ElementsCustomerInfo, w as ElementsOptions, cf as EnrollAndLinkOrderInput, ci as EnrollAndLinkOrderResult, cc as EnrollmentData, ao as Err, aP as FeeBearerType, F as FetchQuoteInput, aN as FulfillmentLink, aM as FulfillmentStatus, aL as FulfillmentType, cv as FxQuote, cu as FxQuoteRequest, cw as FxRateResponse, q as FxService, bN as GetAvailableSlotsInput, l as GetOrdersOptions, G as GetProductsOptions, cQ as IframeToParentMessage, I as InventoryService, c3 as InventorySummary, af as LINK_MUTATION, ae as LINK_QUERY, aR as LineItem, aI as LineType, c8 as LinkData, ch as LinkEnrollResult, L as LinkService, cj as LinkSession, cg as LinkStatusResult, r as LiteBootstrap, p as LiteService, bq as Location, bk as LocationAppointment, c0 as LocationStock, bo as LocationTaxBehavior, bp as LocationTaxOverrides, bt as LocationTimeProfile, bz as LocationWithDetails, M as MESSAGE_TYPES, aa as MOBILE_MONEY_PROVIDER, ce as MobileMoneyData, cs as MobileMoneyDetails, a1 as MobileMoneyProvider, W as NextAction, aj as ORDER_MUTATION, a5 as ORDER_TYPE, cD as ObservabilityHooks, an as Ok, aS as Order, aH as OrderChannel, a$ as OrderFilter, aO as OrderFulfillmentSummary, aV as OrderGroup, aZ as OrderGroupDetails, aW as OrderGroupPayment, aU as OrderGroupPaymentState, aY as OrderGroupPaymentSummary, aT as OrderHistory, aJ as OrderLineState, aK as OrderLineStatus, a_ as OrderPaymentEvent, O as OrderQueries, aX as OrderSplitDetail, aF as OrderStatus, cE as OrderType, n as OtpResult, a6 as PAYMENT_METHOD, ai as PAYMENT_MUTATION, a8 as PAYMENT_STATE, a9 as PICKUP_TIME_TYPE, cP as ParentToIframeMessage, cH as PaymentMethodInfo, aG as PaymentState, cq as PickupTime, cp as PickupTimeType, P as PriceQuote, bc as PricingOverrides, Z as ProcessAndResolveOptions, X as ProcessCheckoutOptions, Y as ProcessCheckoutResult, b_ as ProductStock, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, h as RefreshQuoteResult, b3 as RefundOrderInput, b6 as ReminderMethod, b9 as ReminderSettings, cx as RequestContext, cA as RequestErrorEvent, cm as RequestOtpInput, cy as RequestStartEvent, cz as RequestSuccessEvent, bQ as RescheduleBookingInput, bT as RescheduleBookingResult, bf as ResourceAssignment, am as Result, cB as RetryEvent, cl as RevokeAllSessionsResult, ck as RevokeSessionResult, bv as Room, bd as SchedulingMetadata, bg as SchedulingResult, o as SchedulingService, S as SearchOptions, bD as Service, bU as ServiceAvailabilityParams, bV as ServiceAvailabilityResult, bw as ServiceCharge, bb as ServiceNotes, bi as ServiceScheduleRequest, b4 as ServiceStatus, cC as SessionChangeEvent, bE as Staff, be as StaffAssignment, b5 as StaffRole, bj as StaffScheduleItem, bY as Stock, bZ as StockLevel, bW as StockOwnershipType, bX as StockStatus, bx as StorefrontBootstrap, bu as Table, T as TableInfo, br as TimeRange, bs as TimeRanges, bF as TimeSlot, ca as UpdateAddressInput, b1 as UpdateOrderStatusInput, U as UpdateProfileInput, b$ as VariantStock, cn as VerifyOtpInput, aB as combine, aC as combineObject, c as createCimplifyClient, u as createElements, aq as err, av as flatMap, az as fromPromise, k as generateIdempotencyKey, aw as getOrElse, as as isErr, ar as isOk, au as mapError, at as mapResult, ap as ok, ay as toNullable, aA as tryCatch, ax as unwrap } from './client-C3TQtGuy.js';
2
2
  export { QueryBuilder, query } from './advanced.js';
3
- import { A as ApiError } from './payment-D58dS_E9.js';
4
- export { G as AddOn, aB as AddOnDetails, aX as AddOnGroupDetails, J as AddOnOption, aW as AddOnOptionDetails, K as AddOnOptionPrice, H as AddOnWithOptions, b0 as AddToCartInput, aq as AdjustmentType, ax as AppliedDiscount, b6 as AuthorizationType, aw as BenefitType, W as Bundle, $ as BundleComponentData, a0 as BundleComponentInfo, a2 as BundleComponentVariantView, a1 as BundleComponentView, U as BundlePriceType, Y as BundleProduct, aG as BundleSelectionData, aE as BundleSelectionInput, aF as BundleStoredSelection, X as BundleSummary, _ as BundleWithDetails, aL as Cart, aC as CartAddOn, ao as CartChannel, aM as CartItem, aZ as CartItemDetails, an as CartStatus, b2 as CartSummary, aN as CartTotals, N as Category, O as CategorySummary, av as ChosenPrice, h as CimplifyError, Q as Collection, T as CollectionProduct, R as CollectionSummary, aa as ComponentGroup, ab as ComponentGroupWithComponents, ah as ComponentPriceBreakdown, af as ComponentSelectionInput, a7 as ComponentSourceType, a8 as Composite, ae as CompositeComponent, ad as CompositeComponentView, ac as CompositeGroupView, aI as CompositePriceBreakdown, ag as CompositePriceResult, a5 as CompositePricingMode, aJ as CompositeSelectionData, af as CompositeSelectionInput, aH as CompositeStoredSelection, a9 as CompositeWithDetails, b as Currency, C as CurrencyCode, r as DepositType, q as DigitalProductType, ay as DiscountBreakdown, az as DiscountDetails, aQ as DisplayAddOn, aR as DisplayAddOnOption, aO as DisplayCart, aP as DisplayCartItem, D as DisplayMode, g as ERROR_HINTS, E as ErrorCode, e as ErrorCodeType, f as ErrorHint, a6 as GroupPricingBehavior, ba as InitializePaymentResult, I as InventoryType, aK as LineConfiguration, ak as LocationProductPrice, M as Money, d as Pagination, P as PaginationParams, b9 as Payment, bd as PaymentErrorDetails, b8 as PaymentMethod, b5 as PaymentMethodType, b7 as PaymentProcessingState, b4 as PaymentProvider, bb as PaymentResponse, b3 as PaymentStatus, bc as PaymentStatusResponse, aj as Price, ar as PriceAdjustment, au as PriceDecisionPath, ai as PriceEntryType, at as PricePathTaxInfo, ap as PriceSource, s as Product, L as ProductAddOn, al as ProductAvailability, p as ProductRenderHint, am as ProductTimeProfile, o as ProductType, u as ProductVariant, z as ProductVariantValue, t as ProductWithDetails, S as SalesChannel, aA as SelectedAddOnOption, be as SubmitAuthorizationInput, as as TaxPathComponent, a_ as UICart, aS as UICartBusiness, aU as UICartCustomer, aT as UICartLocation, aV as UICartPricing, a$ as UICartResponse, b1 as UpdateCartItemInput, w as VariantAxis, F as VariantAxisSelection, y as VariantAxisValue, a4 as VariantAxisValueView, a3 as VariantAxisView, x as VariantAxisWithValues, aD as VariantDetails, aY as VariantDetailsDTO, v as VariantDisplayAttribute, B as VariantLocationAvailability, V as VariantStrategy, Z as ZERO, c as currencyCode, l as enrichError, k as getErrorHint, j as isCimplifyError, n as isRetryableError, i as isSupportedCurrency, m as money, a as moneyFromNumber } from './payment-D58dS_E9.js';
5
- export { C as CURRENCY_SYMBOLS, B as FormatCompactOptions, F as FormatPriceOptions, M as MOBILE_MONEY_PROVIDERS, P as PriceInfo, A as ProductWithPrice, T as TaxComponent, z as TaxInfo, s as categorizePaymentError, y as detectMobileMoneyProvider, c as formatMoney, d as formatNumberCompact, f as formatPrice, a as formatPriceAdjustment, b as formatPriceCompact, j as formatPriceWithTax, e as formatProductPrice, m as getBasePrice, k as getCurrencySymbol, o as getDiscountPercentage, l as getDisplayPrice, q as getMarkupPercentage, r as getProductCurrency, g as getTaxAmount, h as hasTaxInfo, n as isOnSale, v as isPaymentStatusFailure, w as isPaymentStatusRequiresAction, x as isPaymentStatusSuccess, i as isTaxInclusive, t as normalizePaymentResponse, u as normalizeStatusResponse, p as parsePrice } from './index-jUGW3oGR.js';
3
+ import { A as ApiError } from './payment-CTalZM5l.js';
4
+ export { G as AddOn, aB as AddOnDetails, aX as AddOnGroupDetails, J as AddOnOption, aW as AddOnOptionDetails, K as AddOnOptionPrice, H as AddOnWithOptions, b0 as AddToCartInput, aq as AdjustmentType, ax as AppliedDiscount, b6 as AuthorizationType, aw as BenefitType, W as Bundle, $ as BundleComponentData, a0 as BundleComponentInfo, a2 as BundleComponentVariantView, a1 as BundleComponentView, U as BundlePriceType, Y as BundleProduct, aG as BundleSelectionData, aE as BundleSelectionInput, aF as BundleStoredSelection, X as BundleSummary, _ as BundleWithDetails, aL as Cart, aC as CartAddOn, ao as CartChannel, aM as CartItem, aZ as CartItemDetails, an as CartStatus, b2 as CartSummary, aN as CartTotals, N as Category, O as CategorySummary, av as ChosenPrice, h as CimplifyError, Q as Collection, T as CollectionProduct, R as CollectionSummary, aa as ComponentGroup, ab as ComponentGroupWithComponents, ah as ComponentPriceBreakdown, af as ComponentSelectionInput, a7 as ComponentSourceType, a8 as Composite, ae as CompositeComponent, ad as CompositeComponentView, ac as CompositeGroupView, aI as CompositePriceBreakdown, ag as CompositePriceResult, a5 as CompositePricingMode, aJ as CompositeSelectionData, af as CompositeSelectionInput, aH as CompositeStoredSelection, a9 as CompositeWithDetails, b as Currency, C as CurrencyCode, r as DepositType, q as DigitalProductType, ay as DiscountBreakdown, az as DiscountDetails, aQ as DisplayAddOn, aR as DisplayAddOnOption, aO as DisplayCart, aP as DisplayCartItem, D as DisplayMode, g as ERROR_HINTS, E as ErrorCode, e as ErrorCodeType, f as ErrorHint, a6 as GroupPricingBehavior, ba as InitializePaymentResult, I as InventoryType, aK as LineConfiguration, ak as LocationProductPrice, M as Money, d as Pagination, P as PaginationParams, b9 as Payment, bd as PaymentErrorDetails, b8 as PaymentMethod, b5 as PaymentMethodType, b7 as PaymentProcessingState, b4 as PaymentProvider, bb as PaymentResponse, b3 as PaymentStatus, bc as PaymentStatusResponse, aj as Price, ar as PriceAdjustment, au as PriceDecisionPath, ai as PriceEntryType, at as PricePathTaxInfo, ap as PriceSource, s as Product, L as ProductAddOn, al as ProductAvailability, p as ProductRenderHint, am as ProductTimeProfile, o as ProductType, u as ProductVariant, z as ProductVariantValue, t as ProductWithDetails, S as SalesChannel, aA as SelectedAddOnOption, be as SubmitAuthorizationInput, as as TaxPathComponent, a_ as UICart, aS as UICartBusiness, aU as UICartCustomer, aT as UICartLocation, aV as UICartPricing, a$ as UICartResponse, b1 as UpdateCartItemInput, w as VariantAxis, F as VariantAxisSelection, y as VariantAxisValue, a4 as VariantAxisValueView, a3 as VariantAxisView, x as VariantAxisWithValues, aD as VariantDetails, aY as VariantDetailsDTO, v as VariantDisplayAttribute, B as VariantLocationAvailability, V as VariantStrategy, Z as ZERO, c as currencyCode, l as enrichError, k as getErrorHint, j as isCimplifyError, n as isRetryableError, i as isSupportedCurrency, m as money, a as moneyFromNumber } from './payment-CTalZM5l.js';
5
+ export { C as CURRENCY_SYMBOLS, B as FormatCompactOptions, F as FormatPriceOptions, M as MOBILE_MONEY_PROVIDERS, P as PriceInfo, A as ProductWithPrice, T as TaxComponent, z as TaxInfo, s as categorizePaymentError, y as detectMobileMoneyProvider, c as formatMoney, d as formatNumberCompact, f as formatPrice, a as formatPriceAdjustment, b as formatPriceCompact, j as formatPriceWithTax, e as formatProductPrice, m as getBasePrice, k as getCurrencySymbol, o as getDiscountPercentage, l as getDisplayPrice, q as getMarkupPercentage, r as getProductCurrency, g as getTaxAmount, h as hasTaxInfo, n as isOnSale, v as isPaymentStatusFailure, w as isPaymentStatusRequiresAction, x as isPaymentStatusSuccess, i as isTaxInclusive, t as normalizePaymentResponse, u as normalizeStatusResponse, p as parsePrice } from './index-B_25cFc1.js';
6
6
  export { c as AdConfig, e as AdContextValue, d as AdCreative, a as AdPosition, A as AdSlot, b as AdTheme, g as getVariantDisplayName } from './ads-MkGm5l1T.js';
7
7
 
8
8
  /** Context sent with every request to scope operations to a specific location/branch */
@@ -460,6 +460,7 @@ interface BundleComponentView {
460
460
  product_name: string;
461
461
  product_description?: string;
462
462
  product_image_url?: string;
463
+ product_default_price: Money;
463
464
  quantity: number;
464
465
  variant_id?: string;
465
466
  allow_variant_choice: boolean;
@@ -460,6 +460,7 @@ interface BundleComponentView {
460
460
  product_name: string;
461
461
  product_description?: string;
462
462
  product_image_url?: string;
463
+ product_default_price: Money;
463
464
  quantity: number;
464
465
  variant_id?: string;
465
466
  allow_variant_choice: boolean;
package/dist/react.d.mts CHANGED
@@ -1,8 +1,8 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { A as AdSlot, a as AdPosition, e as AdContextValue } from './ads-MkGm5l1T.mjs';
3
3
  export { c as AdConfig, g as getVariantDisplayName } from './ads-MkGm5l1T.mjs';
4
- import { C as CimplifyClient, Y as ProcessCheckoutResult, _ as CheckoutStatus, $ as CheckoutStatusContext, bq as Location, bn as Business, aS as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, w as ElementsOptions, cK as AuthenticatedData, cG as AddressInfo, cH as PaymentMethodInfo, s as CimplifyElements, cM as ElementsCheckoutResult, X as ProcessCheckoutOptions } from './client-D4EiM667.mjs';
5
- import { s as Product, d as Pagination, h as CimplifyError, t as ProductWithDetails, N as Category, aE as BundleSelectionInput, af as ComponentSelectionInput, Q as Collection, C as CurrencyCode, u as ProductVariant, x as VariantAxisWithValues, M as Money, H as AddOnWithOptions } from './payment-D58dS_E9.mjs';
4
+ import { C as CimplifyClient, Y as ProcessCheckoutResult, _ as CheckoutStatus, $ as CheckoutStatusContext, bq as Location, bn as Business, aS as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, w as ElementsOptions, cK as AuthenticatedData, cG as AddressInfo, cH as PaymentMethodInfo, s as CimplifyElements, cM as ElementsCheckoutResult, X as ProcessCheckoutOptions } from './client-BQ1gIg8t.mjs';
5
+ import { s as Product, d as Pagination, h as CimplifyError, t as ProductWithDetails, N as Category, aE as BundleSelectionInput, af as ComponentSelectionInput, Q as Collection, C as CurrencyCode, u as ProductVariant, x as VariantAxisWithValues, M as Money, H as AddOnWithOptions, a1 as BundleComponentView, ac as CompositeGroupView, ag as CompositePriceResult } from './payment-CTalZM5l.mjs';
6
6
 
7
7
  interface UserIdentity {
8
8
  uid: string;
@@ -420,6 +420,59 @@ interface AddOnSelectorProps {
420
420
  */
421
421
  declare function AddOnSelector({ addOns, selectedOptions, onOptionsChange, className, }: AddOnSelectorProps): React.ReactElement | null;
422
422
 
423
+ interface BundleSelectorProps {
424
+ components: BundleComponentView[];
425
+ bundlePrice?: Money;
426
+ discountValue?: Money;
427
+ onSelectionsChange: (selections: BundleSelectionInput[]) => void;
428
+ onReady?: (ready: boolean) => void;
429
+ className?: string;
430
+ }
431
+ /**
432
+ * BundleSelector — curated product set with optional variant choices.
433
+ *
434
+ * Each bundle component shows the included product. If `allow_variant_choice`
435
+ * is true, the customer can pick which variant they want for that slot.
436
+ *
437
+ * Accepts pre-fetched `BundleComponentView[]` from the product detail response
438
+ * — no internal data fetching.
439
+ */
440
+ declare function BundleSelector({ components, bundlePrice, discountValue, onSelectionsChange, onReady, className, }: BundleSelectorProps): React.ReactElement | null;
441
+
442
+ interface CompositeSelectorProps {
443
+ compositeId: string;
444
+ groups: CompositeGroupView[];
445
+ onSelectionsChange: (selections: ComponentSelectionInput[]) => void;
446
+ onPriceChange?: (price: CompositePriceResult | null) => void;
447
+ onReady?: (ready: boolean) => void;
448
+ className?: string;
449
+ }
450
+ /**
451
+ * CompositeSelector — "build your own" product configurator.
452
+ *
453
+ * Renders component groups (e.g. "Choose your base", "Pick toppings") with
454
+ * min/max selection constraints. Calculates real-time pricing via the SDK.
455
+ *
456
+ * Accepts pre-fetched `CompositeGroupView[]` from the product detail response
457
+ * — no internal data fetching, only live pricing calls.
458
+ */
459
+ declare function CompositeSelector({ compositeId, groups, onSelectionsChange, onPriceChange, onReady, className, }: CompositeSelectorProps): React.ReactElement | null;
460
+
461
+ interface ProductCustomizerProps {
462
+ product: ProductWithDetails;
463
+ onAddToCart?: (product: ProductWithDetails, quantity: number, options: AddToCartOptions) => void | Promise<void>;
464
+ className?: string;
465
+ }
466
+ /**
467
+ * ProductCustomizer — full product customization + add-to-cart flow.
468
+ *
469
+ * Auto-detects product type and routes to CompositeSelector / BundleSelector /
470
+ * VariantSelector + AddOnSelector. Ships a built-in "Add to Cart" button with
471
+ * QuantitySelector. When `onAddToCart` is provided it calls that instead of
472
+ * using the SDK cart (escape hatch for custom logic like toasts).
473
+ */
474
+ declare function ProductCustomizer({ product, onAddToCart, className, }: ProductCustomizerProps): React.ReactElement;
475
+
423
476
  interface ProductImageGalleryProps {
424
477
  images: string[];
425
478
  productName: string;
@@ -448,4 +501,4 @@ interface CartSummaryProps {
448
501
  */
449
502
  declare function CartSummary({ onCheckout, onItemRemove, onQuantityChange, emptyMessage, className, }: CartSummaryProps): React.ReactElement;
450
503
 
451
- export { Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, CartSummary, type CartSummaryProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyContextValue, CimplifyProvider, type CimplifyProviderProps, ElementsProvider, PaymentElement, Price, type PriceProps, ProductImageGallery, type ProductImageGalleryProps, QuantitySelector, type QuantitySelectorProps, type UseCartItem, type UseCartOptions, type UseCartResult, type UseCategoriesOptions, type UseCategoriesResult, type UseCollectionOptions, type UseCollectionResult, type UseCollectionsOptions, type UseCollectionsResult, type UseLocationsOptions, type UseLocationsResult, type UseOrderOptions, type UseOrderResult, type UseProductOptions, type UseProductResult, type UseProductsOptions, type UseProductsResult, type UseQuoteInput, type UseQuoteOptions, type UseQuoteResult, type UseSearchOptions, type UseSearchResult, VariantSelector, type VariantSelectorProps, useAds, useCart, useCategories, useCheckout, useCimplify, useCollection, useCollections, useElements, useElementsReady, useLocations, useOptionalCimplify, useOrder, useProduct, useProducts, useQuote, useSearch };
504
+ export { Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, BundleSelector, type BundleSelectorProps, CartSummary, type CartSummaryProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyContextValue, CimplifyProvider, type CimplifyProviderProps, CompositeSelector, type CompositeSelectorProps, ElementsProvider, PaymentElement, Price, type PriceProps, ProductCustomizer, type ProductCustomizerProps, ProductImageGallery, type ProductImageGalleryProps, QuantitySelector, type QuantitySelectorProps, type UseCartItem, type UseCartOptions, type UseCartResult, type UseCategoriesOptions, type UseCategoriesResult, type UseCollectionOptions, type UseCollectionResult, type UseCollectionsOptions, type UseCollectionsResult, type UseLocationsOptions, type UseLocationsResult, type UseOrderOptions, type UseOrderResult, type UseProductOptions, type UseProductResult, type UseProductsOptions, type UseProductsResult, type UseQuoteInput, type UseQuoteOptions, type UseQuoteResult, type UseSearchOptions, type UseSearchResult, VariantSelector, type VariantSelectorProps, useAds, useCart, useCategories, useCheckout, useCimplify, useCollection, useCollections, useElements, useElementsReady, useLocations, useOptionalCimplify, useOrder, useProduct, useProducts, useQuote, useSearch };
package/dist/react.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { A as AdSlot, a as AdPosition, e as AdContextValue } from './ads-MkGm5l1T.js';
3
3
  export { c as AdConfig, g as getVariantDisplayName } from './ads-MkGm5l1T.js';
4
- import { C as CimplifyClient, Y as ProcessCheckoutResult, _ as CheckoutStatus, $ as CheckoutStatusContext, bq as Location, bn as Business, aS as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, w as ElementsOptions, cK as AuthenticatedData, cG as AddressInfo, cH as PaymentMethodInfo, s as CimplifyElements, cM as ElementsCheckoutResult, X as ProcessCheckoutOptions } from './client-CYRL8s1S.js';
5
- import { s as Product, d as Pagination, h as CimplifyError, t as ProductWithDetails, N as Category, aE as BundleSelectionInput, af as ComponentSelectionInput, Q as Collection, C as CurrencyCode, u as ProductVariant, x as VariantAxisWithValues, M as Money, H as AddOnWithOptions } from './payment-D58dS_E9.js';
4
+ import { C as CimplifyClient, Y as ProcessCheckoutResult, _ as CheckoutStatus, $ as CheckoutStatusContext, bq as Location, bn as Business, aS as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, w as ElementsOptions, cK as AuthenticatedData, cG as AddressInfo, cH as PaymentMethodInfo, s as CimplifyElements, cM as ElementsCheckoutResult, X as ProcessCheckoutOptions } from './client-C3TQtGuy.js';
5
+ import { s as Product, d as Pagination, h as CimplifyError, t as ProductWithDetails, N as Category, aE as BundleSelectionInput, af as ComponentSelectionInput, Q as Collection, C as CurrencyCode, u as ProductVariant, x as VariantAxisWithValues, M as Money, H as AddOnWithOptions, a1 as BundleComponentView, ac as CompositeGroupView, ag as CompositePriceResult } from './payment-CTalZM5l.js';
6
6
 
7
7
  interface UserIdentity {
8
8
  uid: string;
@@ -420,6 +420,59 @@ interface AddOnSelectorProps {
420
420
  */
421
421
  declare function AddOnSelector({ addOns, selectedOptions, onOptionsChange, className, }: AddOnSelectorProps): React.ReactElement | null;
422
422
 
423
+ interface BundleSelectorProps {
424
+ components: BundleComponentView[];
425
+ bundlePrice?: Money;
426
+ discountValue?: Money;
427
+ onSelectionsChange: (selections: BundleSelectionInput[]) => void;
428
+ onReady?: (ready: boolean) => void;
429
+ className?: string;
430
+ }
431
+ /**
432
+ * BundleSelector — curated product set with optional variant choices.
433
+ *
434
+ * Each bundle component shows the included product. If `allow_variant_choice`
435
+ * is true, the customer can pick which variant they want for that slot.
436
+ *
437
+ * Accepts pre-fetched `BundleComponentView[]` from the product detail response
438
+ * — no internal data fetching.
439
+ */
440
+ declare function BundleSelector({ components, bundlePrice, discountValue, onSelectionsChange, onReady, className, }: BundleSelectorProps): React.ReactElement | null;
441
+
442
+ interface CompositeSelectorProps {
443
+ compositeId: string;
444
+ groups: CompositeGroupView[];
445
+ onSelectionsChange: (selections: ComponentSelectionInput[]) => void;
446
+ onPriceChange?: (price: CompositePriceResult | null) => void;
447
+ onReady?: (ready: boolean) => void;
448
+ className?: string;
449
+ }
450
+ /**
451
+ * CompositeSelector — "build your own" product configurator.
452
+ *
453
+ * Renders component groups (e.g. "Choose your base", "Pick toppings") with
454
+ * min/max selection constraints. Calculates real-time pricing via the SDK.
455
+ *
456
+ * Accepts pre-fetched `CompositeGroupView[]` from the product detail response
457
+ * — no internal data fetching, only live pricing calls.
458
+ */
459
+ declare function CompositeSelector({ compositeId, groups, onSelectionsChange, onPriceChange, onReady, className, }: CompositeSelectorProps): React.ReactElement | null;
460
+
461
+ interface ProductCustomizerProps {
462
+ product: ProductWithDetails;
463
+ onAddToCart?: (product: ProductWithDetails, quantity: number, options: AddToCartOptions) => void | Promise<void>;
464
+ className?: string;
465
+ }
466
+ /**
467
+ * ProductCustomizer — full product customization + add-to-cart flow.
468
+ *
469
+ * Auto-detects product type and routes to CompositeSelector / BundleSelector /
470
+ * VariantSelector + AddOnSelector. Ships a built-in "Add to Cart" button with
471
+ * QuantitySelector. When `onAddToCart` is provided it calls that instead of
472
+ * using the SDK cart (escape hatch for custom logic like toasts).
473
+ */
474
+ declare function ProductCustomizer({ product, onAddToCart, className, }: ProductCustomizerProps): React.ReactElement;
475
+
423
476
  interface ProductImageGalleryProps {
424
477
  images: string[];
425
478
  productName: string;
@@ -448,4 +501,4 @@ interface CartSummaryProps {
448
501
  */
449
502
  declare function CartSummary({ onCheckout, onItemRemove, onQuantityChange, emptyMessage, className, }: CartSummaryProps): React.ReactElement;
450
503
 
451
- export { Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, CartSummary, type CartSummaryProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyContextValue, CimplifyProvider, type CimplifyProviderProps, ElementsProvider, PaymentElement, Price, type PriceProps, ProductImageGallery, type ProductImageGalleryProps, QuantitySelector, type QuantitySelectorProps, type UseCartItem, type UseCartOptions, type UseCartResult, type UseCategoriesOptions, type UseCategoriesResult, type UseCollectionOptions, type UseCollectionResult, type UseCollectionsOptions, type UseCollectionsResult, type UseLocationsOptions, type UseLocationsResult, type UseOrderOptions, type UseOrderResult, type UseProductOptions, type UseProductResult, type UseProductsOptions, type UseProductsResult, type UseQuoteInput, type UseQuoteOptions, type UseQuoteResult, type UseSearchOptions, type UseSearchResult, VariantSelector, type VariantSelectorProps, useAds, useCart, useCategories, useCheckout, useCimplify, useCollection, useCollections, useElements, useElementsReady, useLocations, useOptionalCimplify, useOrder, useProduct, useProducts, useQuote, useSearch };
504
+ export { Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, BundleSelector, type BundleSelectorProps, CartSummary, type CartSummaryProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyContextValue, CimplifyProvider, type CimplifyProviderProps, CompositeSelector, type CompositeSelectorProps, ElementsProvider, PaymentElement, Price, type PriceProps, ProductCustomizer, type ProductCustomizerProps, ProductImageGallery, type ProductImageGalleryProps, QuantitySelector, type QuantitySelectorProps, type UseCartItem, type UseCartOptions, type UseCartResult, type UseCategoriesOptions, type UseCategoriesResult, type UseCollectionOptions, type UseCollectionResult, type UseCollectionsOptions, type UseCollectionsResult, type UseLocationsOptions, type UseLocationsResult, type UseOrderOptions, type UseOrderResult, type UseProductOptions, type UseProductResult, type UseProductsOptions, type UseProductsResult, type UseQuoteInput, type UseQuoteOptions, type UseQuoteResult, type UseSearchOptions, type UseSearchResult, VariantSelector, type VariantSelectorProps, useAds, useCart, useCategories, useCheckout, useCimplify, useCollection, useCollections, useElements, useElementsReady, useLocations, useOptionalCimplify, useOrder, useProduct, useProducts, useQuote, useSearch };