@cimplify/sdk 0.100.0 → 0.100.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist/advanced.d.mts +3 -3
  2. package/dist/advanced.d.ts +3 -3
  3. package/dist/advanced.js +22 -22
  4. package/dist/advanced.mjs +3 -3
  5. package/dist/{chunk-J3UYIBKH.js → chunk-BHQCSHIG.js} +78 -72
  6. package/dist/{chunk-V5TU5JKA.mjs → chunk-DLW3RWRK.mjs} +30 -6
  7. package/dist/{chunk-I7L4VRHI.mjs → chunk-KEC2CX4R.mjs} +2 -2
  8. package/dist/{chunk-FECGCIVV.js → chunk-NH3HYUC3.js} +3 -3
  9. package/dist/{chunk-AETVRBKI.js → chunk-NIOUSKQQ.js} +1 -0
  10. package/dist/{chunk-7TEMLVDT.mjs → chunk-NKZIXLKW.mjs} +1 -1
  11. package/dist/{chunk-ZA5VKVUB.js → chunk-NR4Z2SFY.js} +4 -4
  12. package/dist/{chunk-K5EN2W2Q.mjs → chunk-O3YUHLZL.mjs} +1 -0
  13. package/dist/{chunk-OX5L6XE7.mjs → chunk-PTKAN4SI.mjs} +25 -15
  14. package/dist/{chunk-X6G6QERR.js → chunk-QGFKIAEM.js} +48 -38
  15. package/dist/{chunk-GWKIDFN6.mjs → chunk-T2B656RS.mjs} +8 -3
  16. package/dist/{chunk-64EDCDBR.js → chunk-WMEC5JWN.js} +32 -7
  17. package/dist/{client-C1vS5pf0.d.ts → client-B0Lku_lc.d.mts} +17 -16
  18. package/dist/{client-DmR3Z6pQ.d.ts → client-DRgEa78P.d.ts} +2 -2
  19. package/dist/{client-B5MeD8da.d.mts → client-DxgC_lXU.d.ts} +17 -16
  20. package/dist/{client-DQpvwf-p.d.mts → client-T5c-Nxq-.d.mts} +2 -2
  21. package/dist/{index-Br-vFygC.d.ts → index-CzKN1hjf.d.ts} +3 -3
  22. package/dist/{index-DUOCn1Cs.d.mts → index-DzuLT5wi.d.mts} +3 -3
  23. package/dist/index.d.mts +7 -7
  24. package/dist/index.d.ts +7 -7
  25. package/dist/index.js +117 -117
  26. package/dist/index.mjs +5 -5
  27. package/dist/{payment-BIpS9oPG.d.mts → payment-D8NEwCna.d.mts} +1 -1
  28. package/dist/{payment-CsuBKHqg.d.ts → payment-lZBP7h5M.d.ts} +1 -1
  29. package/dist/{price-IOOoVYS-.d.mts → price-DepWAmcL.d.mts} +1 -1
  30. package/dist/{price-Ml_uPoiY.d.ts → price-ncQb-TC8.d.ts} +1 -1
  31. package/dist/{product-BKV6TBj_.d.ts → product-B384_Qm2.d.mts} +12 -1
  32. package/dist/{product-BKV6TBj_.d.mts → product-B384_Qm2.d.ts} +12 -1
  33. package/dist/react.d.mts +10 -5
  34. package/dist/react.d.ts +10 -5
  35. package/dist/react.js +830 -446
  36. package/dist/react.mjs +711 -327
  37. package/dist/{server-CfpYhSV_.d.ts → server-B7O4ttpv.d.ts} +1 -1
  38. package/dist/{server-C0iEk55_.d.mts → server-oCGNIO_K.d.mts} +1 -1
  39. package/dist/server.d.mts +4 -4
  40. package/dist/server.d.ts +4 -4
  41. package/dist/server.js +10 -10
  42. package/dist/server.mjs +4 -4
  43. package/dist/testing/msw.d.mts +2 -2
  44. package/dist/testing/msw.d.ts +2 -2
  45. package/dist/testing/msw.js +3 -3
  46. package/dist/testing/msw.mjs +2 -2
  47. package/dist/testing/suite.d.mts +6 -6
  48. package/dist/testing/suite.d.ts +6 -6
  49. package/dist/testing/suite.js +25 -25
  50. package/dist/testing/suite.mjs +6 -6
  51. package/dist/testing.d.mts +5 -5
  52. package/dist/testing.d.ts +5 -5
  53. package/dist/testing.js +81 -81
  54. package/dist/testing.mjs +7 -7
  55. package/dist/utils.d.mts +4 -4
  56. package/dist/utils.d.ts +4 -4
  57. package/dist/utils.js +29 -29
  58. package/dist/utils.mjs +2 -2
  59. package/package.json +1 -1
  60. package/registry/cart-summary.json +1 -1
  61. package/registry/product-customizer.json +1 -1
  62. package/registry/sale-badge.json +1 -1
@@ -5,7 +5,7 @@ type Money = (string | number) & {
5
5
  declare function money(value: string | number): Money;
6
6
  declare function moneyFromNumber(value: number): Money;
7
7
  declare const ZERO: Money;
8
- type CurrencyCode = "USD" | "EUR" | "GBP" | "JPY" | "CNY" | "CHF" | "CAD" | "AUD" | "GHS" | "NGN" | "KES" | "ZAR" | "XOF" | "XAF" | "EGP" | "TZS" | "UGX" | "RWF" | "ETB" | "ZMW" | "BWP" | "MUR" | "NAD" | "MWK" | "AOA" | "CDF" | "GMD" | "GNF" | "LRD" | "SLL" | "MZN" | "BIF" | "INR" | "BRL" | "MXN" | "KRW" | "TRY" | "THB" | "MYR" | "PHP" | "IDR" | "VND" | "SGD" | "HKD" | "TWD" | "AED" | "SAR" | "ILS";
8
+ type CurrencyCode = "USD" | "EUR" | "GBP" | "JPY" | "CNY" | "CHF" | "CAD" | "AUD" | "GHS" | "NGN" | "KES" | "ZAR" | "XOF" | "XAF" | "EGP" | "TZS" | "UGX" | "RWF" | "ETB" | "ZMW" | "BWP" | "MUR" | "NAD" | "MWK" | "AOA" | "CDF" | "GMD" | "GNF" | "LRD" | "SLL" | "MZN" | "BIF" | "INR" | "BRL" | "COP" | "MXN" | "KRW" | "TRY" | "THB" | "MYR" | "PHP" | "IDR" | "VND" | "SGD" | "HKD" | "TWD" | "AED" | "SAR" | "ILS";
9
9
  declare function isSupportedCurrency(code: string): code is CurrencyCode;
10
10
  declare function currencyCode(value: string): CurrencyCode;
11
11
  interface PaginationParams {
@@ -3642,6 +3642,12 @@ interface components {
3642
3642
  sku?: string | null;
3643
3643
  barcode?: string | null;
3644
3644
  default_price?: string;
3645
+ /**
3646
+ * @description Currency of the evaluated storefront price. Kept beside the scalar
3647
+ * amount because the richer internal price path is intentionally not
3648
+ * serialized on catalogue payloads.
3649
+ */
3650
+ currency?: string | null;
3645
3651
  sale?: null | components["schemas"]["SaleInfo"];
3646
3652
  upcoming_sale?: null | components["schemas"]["UpcomingSale"];
3647
3653
  location_prices?: {
@@ -4558,6 +4564,7 @@ interface components {
4558
4564
  sku?: string | null;
4559
4565
  barcode?: string | null;
4560
4566
  price_adjustment?: string;
4567
+ price_info?: null | components["schemas"]["ChosenPrice"];
4561
4568
  location_prices?: {
4562
4569
  [key: string]: components["schemas"]["ChosenPrice"];
4563
4570
  } | null;
@@ -4824,6 +4831,8 @@ interface Product {
4824
4831
  description?: string;
4825
4832
  image_url?: string;
4826
4833
  default_price: Money;
4834
+ /** Currency of `default_price`, resolved by the canonical pricing engine. */
4835
+ currency?: CurrencyCode | null;
4827
4836
  /** Sales-engine overlay from the pricing API, when the product is on sale. */
4828
4837
  sale?: SaleInfo | null;
4829
4838
  /** A recurring sale that returns soon — present only when there's no live `sale`. */
@@ -5058,6 +5067,8 @@ interface VariantView {
5058
5067
  sku?: string;
5059
5068
  barcode?: string;
5060
5069
  price_adjustment: Money;
5070
+ /** Canonical evaluated unit price in the active shopper/location scope. */
5071
+ price_info?: ChosenPrice;
5061
5072
  location_prices?: Record<string, ChosenPrice>;
5062
5073
  axis_selections?: Record<string, string>;
5063
5074
  display_attributes?: VariantDisplayAttribute[];
@@ -5,7 +5,7 @@ type Money = (string | number) & {
5
5
  declare function money(value: string | number): Money;
6
6
  declare function moneyFromNumber(value: number): Money;
7
7
  declare const ZERO: Money;
8
- type CurrencyCode = "USD" | "EUR" | "GBP" | "JPY" | "CNY" | "CHF" | "CAD" | "AUD" | "GHS" | "NGN" | "KES" | "ZAR" | "XOF" | "XAF" | "EGP" | "TZS" | "UGX" | "RWF" | "ETB" | "ZMW" | "BWP" | "MUR" | "NAD" | "MWK" | "AOA" | "CDF" | "GMD" | "GNF" | "LRD" | "SLL" | "MZN" | "BIF" | "INR" | "BRL" | "MXN" | "KRW" | "TRY" | "THB" | "MYR" | "PHP" | "IDR" | "VND" | "SGD" | "HKD" | "TWD" | "AED" | "SAR" | "ILS";
8
+ type CurrencyCode = "USD" | "EUR" | "GBP" | "JPY" | "CNY" | "CHF" | "CAD" | "AUD" | "GHS" | "NGN" | "KES" | "ZAR" | "XOF" | "XAF" | "EGP" | "TZS" | "UGX" | "RWF" | "ETB" | "ZMW" | "BWP" | "MUR" | "NAD" | "MWK" | "AOA" | "CDF" | "GMD" | "GNF" | "LRD" | "SLL" | "MZN" | "BIF" | "INR" | "BRL" | "COP" | "MXN" | "KRW" | "TRY" | "THB" | "MYR" | "PHP" | "IDR" | "VND" | "SGD" | "HKD" | "TWD" | "AED" | "SAR" | "ILS";
9
9
  declare function isSupportedCurrency(code: string): code is CurrencyCode;
10
10
  declare function currencyCode(value: string): CurrencyCode;
11
11
  interface PaginationParams {
@@ -3642,6 +3642,12 @@ interface components {
3642
3642
  sku?: string | null;
3643
3643
  barcode?: string | null;
3644
3644
  default_price?: string;
3645
+ /**
3646
+ * @description Currency of the evaluated storefront price. Kept beside the scalar
3647
+ * amount because the richer internal price path is intentionally not
3648
+ * serialized on catalogue payloads.
3649
+ */
3650
+ currency?: string | null;
3645
3651
  sale?: null | components["schemas"]["SaleInfo"];
3646
3652
  upcoming_sale?: null | components["schemas"]["UpcomingSale"];
3647
3653
  location_prices?: {
@@ -4558,6 +4564,7 @@ interface components {
4558
4564
  sku?: string | null;
4559
4565
  barcode?: string | null;
4560
4566
  price_adjustment?: string;
4567
+ price_info?: null | components["schemas"]["ChosenPrice"];
4561
4568
  location_prices?: {
4562
4569
  [key: string]: components["schemas"]["ChosenPrice"];
4563
4570
  } | null;
@@ -4824,6 +4831,8 @@ interface Product {
4824
4831
  description?: string;
4825
4832
  image_url?: string;
4826
4833
  default_price: Money;
4834
+ /** Currency of `default_price`, resolved by the canonical pricing engine. */
4835
+ currency?: CurrencyCode | null;
4827
4836
  /** Sales-engine overlay from the pricing API, when the product is on sale. */
4828
4837
  sale?: SaleInfo | null;
4829
4838
  /** A recurring sale that returns soon — present only when there's no live `sale`. */
@@ -5058,6 +5067,8 @@ interface VariantView {
5058
5067
  sku?: string;
5059
5068
  barcode?: string;
5060
5069
  price_adjustment: Money;
5070
+ /** Canonical evaluated unit price in the active shopper/location scope. */
5071
+ price_info?: ChosenPrice;
5061
5072
  location_prices?: Record<string, ChosenPrice>;
5062
5073
  axis_selections?: Record<string, string>;
5063
5074
  display_attributes?: VariantDisplayAttribute[];
package/dist/react.d.mts CHANGED
@@ -2,13 +2,13 @@ import * as React$1 from 'react';
2
2
  import React__default, { ReactNode, PointerEvent, MouseEvent } from 'react';
3
3
  import { d as AdSlot, c as AdPosition, a as AdContextValue, S as SignInOptions } from './sign-in-DQlIdqsi.mjs';
4
4
  export { A as AdConfig, g as getVariantDisplayName } from './sign-in-DQlIdqsi.mjs';
5
- import { af as CimplifyClient, ca as OrderType, cv as ProcessCheckoutResult, ac as CheckoutStatus, ad as CheckoutStatusContext, a_ as EnrichedOrderItem, aZ as EnrichedOrder, w as Business, bz as Location, cM as ReorderResult, c8 as OrderStatus, bP as Order, cx as QuoteBundleSelectionInput, cy as QuoteCompositeSelectionInput, cr as PriceQuote, cB as QuoteUiMessage, d6 as Service, r as AvailableSlot, ay as DayAvailability, aq as CustomerBooking, L as CancelBookingResult, f as ActivityStateResponse, df as SessionMessage, c as ActivityRecommendation, aA as DeliveryFeeResponse, aC as DeliveryOptionsResponse, bc as FxRateResponse, dp as StoreCreditBalance, dr as StorefrontBootstrap, _ as ChatWidgetStarter, W as ChatMessage, Z as ChatUploadAttachment, h as AddressInfo, n as AuthenticatedData, aY as ElementsOptions, cl as PaymentMethodInfo, aW as ElementsCheckoutResult, cu as ProcessCheckoutOptions, ai as CimplifyElements, T as ChatAttachment, bo as LineItem, di as Staff, d1 as Room, Y as ChatReplyContext } from './client-B5MeD8da.mjs';
5
+ import { af as CimplifyClient, ca as OrderType, cv as ProcessCheckoutResult, ac as CheckoutStatus, ad as CheckoutStatusContext, a_ as EnrichedOrderItem, aZ as EnrichedOrder, w as Business, bz as Location, cM as ReorderResult, c8 as OrderStatus, bP as Order, cx as QuoteBundleSelectionInput, cy as QuoteCompositeSelectionInput, cr as PriceQuote, cB as QuoteUiMessage, d6 as Service, r as AvailableSlot, ay as DayAvailability, aq as CustomerBooking, L as CancelBookingResult, f as ActivityStateResponse, df as SessionMessage, c as ActivityRecommendation, aA as DeliveryFeeResponse, aC as DeliveryOptionsResponse, bc as FxRateResponse, dp as StoreCreditBalance, dr as StorefrontBootstrap, _ as ChatWidgetStarter, W as ChatMessage, Z as ChatUploadAttachment, h as AddressInfo, n as AuthenticatedData, aY as ElementsOptions, cl as PaymentMethodInfo, aW as ElementsCheckoutResult, cu as ProcessCheckoutOptions, ai as CimplifyElements, T as ChatAttachment, bo as LineItem, di as Staff, d1 as Room, Y as ChatReplyContext } from './client-B0Lku_lc.mjs';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
- 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, h as AddressValue, 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-BKV6TBj_.mjs';
8
- import { P as ProductWithPrice } from './price-IOOoVYS-.mjs';
7
+ import { ad as CurrencyCode, aZ as Product, aQ as Pagination, V as CimplifyError, bb as ProductWithDetails, S as Category, aO as Money, U as ChosenPrice, 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, h as AddressValue, 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-B384_Qm2.mjs';
8
+ import { P as ProductWithPrice } from './price-DepWAmcL.mjs';
9
9
  import { ClassValue } from 'clsx';
10
10
  import { Matcher } from 'react-day-picker';
11
- import './payment-BIpS9oPG.mjs';
11
+ import './payment-D8NEwCna.mjs';
12
12
 
13
13
  interface UserIdentity {
14
14
  uid: string;
@@ -933,6 +933,8 @@ interface CartVariantSelection {
933
933
  id: string;
934
934
  name: string;
935
935
  price_adjustment?: Money;
936
+ /** Canonical evaluated variant price in the active shopper scope. */
937
+ price_info?: ChosenPrice;
936
938
  }
937
939
  interface CartAddOnOptionSelection {
938
940
  id: string;
@@ -974,6 +976,8 @@ interface AddToCartOptions {
974
976
  variantId?: string;
975
977
  variant?: CartVariantSelection;
976
978
  quoteId?: string;
979
+ /** Shopper-payable unit amount used until the authoritative cart returns. */
980
+ quotedUnitPrice?: Money;
977
981
  addOnOptionIds?: string[];
978
982
  addOnOptions?: CartAddOnOptionSelection[];
979
983
  bundleSelections?: BundleSelectionInput[];
@@ -1226,6 +1230,7 @@ interface UseProductPriceInput {
1226
1230
  quantity?: number;
1227
1231
  variant?: {
1228
1232
  price_adjustment?: number | string;
1233
+ price_info?: ChosenPrice;
1229
1234
  };
1230
1235
  addOnOptions?: Array<{
1231
1236
  default_price?: number | string;
@@ -1775,7 +1780,7 @@ interface ProductCustomizerProps {
1775
1780
  className?: string;
1776
1781
  classNames?: ProductCustomizerClassNames;
1777
1782
  }
1778
- declare function ProductCustomizer({ product, onAddToCart, onVariantChange, showSpecialInstructions, submitLabel, className, classNames, }: ProductCustomizerProps): React__default.ReactElement;
1783
+ declare function ProductCustomizer(props: ProductCustomizerProps): React__default.ReactElement;
1779
1784
 
1780
1785
  interface ProductImageGalleryProps {
1781
1786
  images: string[];
package/dist/react.d.ts CHANGED
@@ -2,13 +2,13 @@ import * as React$1 from 'react';
2
2
  import React__default, { ReactNode, PointerEvent, MouseEvent } from 'react';
3
3
  import { d as AdSlot, c as AdPosition, a as AdContextValue, S as SignInOptions } from './sign-in-DQlIdqsi.js';
4
4
  export { A as AdConfig, g as getVariantDisplayName } from './sign-in-DQlIdqsi.js';
5
- import { af as CimplifyClient, ca as OrderType, cv as ProcessCheckoutResult, ac as CheckoutStatus, ad as CheckoutStatusContext, a_ as EnrichedOrderItem, aZ as EnrichedOrder, w as Business, bz as Location, cM as ReorderResult, c8 as OrderStatus, bP as Order, cx as QuoteBundleSelectionInput, cy as QuoteCompositeSelectionInput, cr as PriceQuote, cB as QuoteUiMessage, d6 as Service, r as AvailableSlot, ay as DayAvailability, aq as CustomerBooking, L as CancelBookingResult, f as ActivityStateResponse, df as SessionMessage, c as ActivityRecommendation, aA as DeliveryFeeResponse, aC as DeliveryOptionsResponse, bc as FxRateResponse, dp as StoreCreditBalance, dr as StorefrontBootstrap, _ as ChatWidgetStarter, W as ChatMessage, Z as ChatUploadAttachment, h as AddressInfo, n as AuthenticatedData, aY as ElementsOptions, cl as PaymentMethodInfo, aW as ElementsCheckoutResult, cu as ProcessCheckoutOptions, ai as CimplifyElements, T as ChatAttachment, bo as LineItem, di as Staff, d1 as Room, Y as ChatReplyContext } from './client-C1vS5pf0.js';
5
+ import { af as CimplifyClient, ca as OrderType, cv as ProcessCheckoutResult, ac as CheckoutStatus, ad as CheckoutStatusContext, a_ as EnrichedOrderItem, aZ as EnrichedOrder, w as Business, bz as Location, cM as ReorderResult, c8 as OrderStatus, bP as Order, cx as QuoteBundleSelectionInput, cy as QuoteCompositeSelectionInput, cr as PriceQuote, cB as QuoteUiMessage, d6 as Service, r as AvailableSlot, ay as DayAvailability, aq as CustomerBooking, L as CancelBookingResult, f as ActivityStateResponse, df as SessionMessage, c as ActivityRecommendation, aA as DeliveryFeeResponse, aC as DeliveryOptionsResponse, bc as FxRateResponse, dp as StoreCreditBalance, dr as StorefrontBootstrap, _ as ChatWidgetStarter, W as ChatMessage, Z as ChatUploadAttachment, h as AddressInfo, n as AuthenticatedData, aY as ElementsOptions, cl as PaymentMethodInfo, aW as ElementsCheckoutResult, cu as ProcessCheckoutOptions, ai as CimplifyElements, T as ChatAttachment, bo as LineItem, di as Staff, d1 as Room, Y as ChatReplyContext } from './client-DxgC_lXU.js';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
- 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, h as AddressValue, 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-BKV6TBj_.js';
8
- import { P as ProductWithPrice } from './price-Ml_uPoiY.js';
7
+ import { ad as CurrencyCode, aZ as Product, aQ as Pagination, V as CimplifyError, bb as ProductWithDetails, S as Category, aO as Money, U as ChosenPrice, 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, h as AddressValue, 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-B384_Qm2.js';
8
+ import { P as ProductWithPrice } from './price-ncQb-TC8.js';
9
9
  import { ClassValue } from 'clsx';
10
10
  import { Matcher } from 'react-day-picker';
11
- import './payment-CsuBKHqg.js';
11
+ import './payment-lZBP7h5M.js';
12
12
 
13
13
  interface UserIdentity {
14
14
  uid: string;
@@ -933,6 +933,8 @@ interface CartVariantSelection {
933
933
  id: string;
934
934
  name: string;
935
935
  price_adjustment?: Money;
936
+ /** Canonical evaluated variant price in the active shopper scope. */
937
+ price_info?: ChosenPrice;
936
938
  }
937
939
  interface CartAddOnOptionSelection {
938
940
  id: string;
@@ -974,6 +976,8 @@ interface AddToCartOptions {
974
976
  variantId?: string;
975
977
  variant?: CartVariantSelection;
976
978
  quoteId?: string;
979
+ /** Shopper-payable unit amount used until the authoritative cart returns. */
980
+ quotedUnitPrice?: Money;
977
981
  addOnOptionIds?: string[];
978
982
  addOnOptions?: CartAddOnOptionSelection[];
979
983
  bundleSelections?: BundleSelectionInput[];
@@ -1226,6 +1230,7 @@ interface UseProductPriceInput {
1226
1230
  quantity?: number;
1227
1231
  variant?: {
1228
1232
  price_adjustment?: number | string;
1233
+ price_info?: ChosenPrice;
1229
1234
  };
1230
1235
  addOnOptions?: Array<{
1231
1236
  default_price?: number | string;
@@ -1775,7 +1780,7 @@ interface ProductCustomizerProps {
1775
1780
  className?: string;
1776
1781
  classNames?: ProductCustomizerClassNames;
1777
1782
  }
1778
- declare function ProductCustomizer({ product, onAddToCart, onVariantChange, showSpecialInstructions, submitLabel, className, classNames, }: ProductCustomizerProps): React__default.ReactElement;
1783
+ declare function ProductCustomizer(props: ProductCustomizerProps): React__default.ReactElement;
1779
1784
 
1780
1785
  interface ProductImageGalleryProps {
1781
1786
  images: string[];