@cimplify/sdk 0.100.0 → 0.100.2

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 (67) 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-X6G6QERR.js → chunk-6JEKKL3M.js} +53 -38
  6. package/dist/{chunk-7TEMLVDT.mjs → chunk-B2YOCOLH.mjs} +2 -2
  7. package/dist/{chunk-V5TU5JKA.mjs → chunk-DLW3RWRK.mjs} +30 -6
  8. package/dist/{chunk-FECGCIVV.js → chunk-IFAQLFAJ.js} +4 -4
  9. package/dist/{chunk-J3UYIBKH.js → chunk-IJI7KMTG.js} +89 -82
  10. package/dist/{chunk-AETVRBKI.js → chunk-NIOUSKQQ.js} +1 -0
  11. package/dist/{chunk-K5EN2W2Q.mjs → chunk-O3YUHLZL.mjs} +1 -0
  12. package/dist/{chunk-GWKIDFN6.mjs → chunk-PJUXAUM2.mjs} +20 -14
  13. package/dist/{chunk-ZA5VKVUB.js → chunk-QRBBSIAY.js} +4 -4
  14. package/dist/{chunk-OX5L6XE7.mjs → chunk-TIQLOH2B.mjs} +30 -15
  15. package/dist/{chunk-64EDCDBR.js → chunk-WMEC5JWN.js} +32 -7
  16. package/dist/{chunk-I7L4VRHI.mjs → chunk-YWNJJO2U.mjs} +2 -2
  17. package/dist/{client-DQpvwf-p.d.mts → client-C6wb92AD.d.mts} +2 -2
  18. package/dist/{client-DmR3Z6pQ.d.ts → client-CgXkRu2o.d.ts} +2 -2
  19. package/dist/{client-C1vS5pf0.d.ts → client-D8XcrONA.d.mts} +38 -26
  20. package/dist/{client-B5MeD8da.d.mts → client-LPg_AUUr.d.ts} +38 -26
  21. package/dist/{index-Br-vFygC.d.ts → index-B_RYmvlF.d.ts} +3 -3
  22. package/dist/{index-DUOCn1Cs.d.mts → index-D-LUYk1Y.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/mock/cli.mjs +1 -1
  28. package/dist/mock/library.js +1 -1
  29. package/dist/mock/library.mjs +1 -1
  30. package/dist/mock/msw.js +1 -1
  31. package/dist/mock/msw.mjs +1 -1
  32. package/dist/{payment-BIpS9oPG.d.mts → payment-BSzy7sly.d.mts} +1 -1
  33. package/dist/{payment-CsuBKHqg.d.ts → payment-jK8ztICx.d.ts} +1 -1
  34. package/dist/{price-Ml_uPoiY.d.ts → price-CJLfcYKd.d.ts} +1 -1
  35. package/dist/{price-IOOoVYS-.d.mts → price-D96h6c6L.d.mts} +1 -1
  36. package/dist/{product-BKV6TBj_.d.ts → product-CeV8euw4.d.mts} +23 -11
  37. package/dist/{product-BKV6TBj_.d.mts → product-CeV8euw4.d.ts} +23 -11
  38. package/dist/react.d.mts +10 -5
  39. package/dist/react.d.ts +10 -5
  40. package/dist/react.js +856 -450
  41. package/dist/react.mjs +737 -331
  42. package/dist/{server-C0iEk55_.d.mts → server--RyVAfPN.d.mts} +1 -1
  43. package/dist/{server-CfpYhSV_.d.ts → server-CNyy47HL.d.ts} +1 -1
  44. package/dist/server.d.mts +4 -4
  45. package/dist/server.d.ts +4 -4
  46. package/dist/server.js +10 -10
  47. package/dist/server.mjs +4 -4
  48. package/dist/testing/msw.d.mts +2 -2
  49. package/dist/testing/msw.d.ts +2 -2
  50. package/dist/testing/msw.js +3 -3
  51. package/dist/testing/msw.mjs +2 -2
  52. package/dist/testing/suite.d.mts +6 -6
  53. package/dist/testing/suite.d.ts +6 -6
  54. package/dist/testing/suite.js +25 -25
  55. package/dist/testing/suite.mjs +6 -6
  56. package/dist/testing.d.mts +5 -5
  57. package/dist/testing.d.ts +5 -5
  58. package/dist/testing.js +81 -81
  59. package/dist/testing.mjs +7 -7
  60. package/dist/utils.d.mts +4 -4
  61. package/dist/utils.d.ts +4 -4
  62. package/dist/utils.js +29 -29
  63. package/dist/utils.mjs +2 -2
  64. package/package.json +1 -1
  65. package/registry/cart-summary.json +1 -1
  66. package/registry/product-customizer.json +1 -1
  67. package/registry/sale-badge.json +1 -1
@@ -1,4 +1,4 @@
1
- import { aO as Money, ad as CurrencyCode } from './product-BKV6TBj_.mjs';
1
+ import { aO as Money, ad as CurrencyCode } from './product-CeV8euw4.mjs';
2
2
 
3
3
  type PaymentStatus = "initialized" | "pending" | "processing" | "authorized" | "captured" | "not_required" | "failed" | "cancelled" | "refunded" | "unknown" | "voided" | "requires_action" | "abandoned" | "reversed" | "disputed" | "refund_pending";
4
4
  type PaymentProvider = "stripe" | "paystack" | "cellulant" | "mtn_momo" | "offline" | "mtn" | "vodafone" | "airtel" | "cash" | "manual";
@@ -1,4 +1,4 @@
1
- import { aO as Money, ad as CurrencyCode } from './product-BKV6TBj_.js';
1
+ import { aO as Money, ad as CurrencyCode } from './product-CeV8euw4.js';
2
2
 
3
3
  type PaymentStatus = "initialized" | "pending" | "processing" | "authorized" | "captured" | "not_required" | "failed" | "cancelled" | "refunded" | "unknown" | "voided" | "requires_action" | "abandoned" | "reversed" | "disputed" | "refund_pending";
4
4
  type PaymentProvider = "stripe" | "paystack" | "cellulant" | "mtn_momo" | "offline" | "mtn" | "vodafone" | "airtel" | "cash" | "manual";
@@ -1,4 +1,4 @@
1
- import { ad as CurrencyCode, U as ChosenPrice, bi as SaleInfo, bD as UpcomingSale } from './product-BKV6TBj_.js';
1
+ import { ad as CurrencyCode, U as ChosenPrice, bi as SaleInfo, bD as UpcomingSale } from './product-CeV8euw4.js';
2
2
 
3
3
  interface ProductWithPrice {
4
4
  price_info?: ChosenPrice;
@@ -1,4 +1,4 @@
1
- import { ad as CurrencyCode, U as ChosenPrice, bi as SaleInfo, bD as UpcomingSale } from './product-BKV6TBj_.mjs';
1
+ import { ad as CurrencyCode, U as ChosenPrice, bi as SaleInfo, bD as UpcomingSale } from './product-CeV8euw4.mjs';
2
2
 
3
3
  interface ProductWithPrice {
4
4
  price_info?: ChosenPrice;
@@ -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 {
@@ -2333,8 +2333,8 @@ interface components {
2333
2333
  * can be explained months later even if zones, rates, or providers change.
2334
2334
  */
2335
2335
  DeliveryFeeDetails: {
2336
- zone_id: string;
2337
- zone_name: string;
2336
+ zone_id?: string | null;
2337
+ zone_name?: string | null;
2338
2338
  provider: string;
2339
2339
  provider_resolved_from: components["schemas"]["ProviderResolutionSource"];
2340
2340
  /**
@@ -2343,10 +2343,10 @@ interface components {
2343
2343
  */
2344
2344
  rate_id?: string | null;
2345
2345
  rate_name?: string | null;
2346
- distance_km: string;
2347
- base_fee: string;
2348
- per_km_fee: string;
2349
- surge_multiplier: string;
2346
+ distance_km?: string | null;
2347
+ base_fee?: string | null;
2348
+ per_km_fee?: string | null;
2349
+ surge_multiplier?: string | null;
2350
2350
  calculated_fee: string;
2351
2351
  currency: string;
2352
2352
  free_delivery_applied: boolean;
@@ -2362,9 +2362,10 @@ interface components {
2362
2362
  details?: null | components["schemas"]["DeliveryFeeDetails"];
2363
2363
  };
2364
2364
  /**
2365
- * @description One entry on the customer-facing delivery menu, priced for a concrete
2366
- * dropoff. `rate_id = None` is the synthesized fallback for businesses with
2367
- * no named rates configured.
2365
+ * @description One entry on the customer-facing delivery menu. Zone-backed rates are
2366
+ * priced for a concrete dropoff; all-zone flat rates can be priced from the
2367
+ * order value alone. `rate_id = None` is the synthesized fallback for
2368
+ * businesses with no named rates configured.
2368
2369
  */
2369
2370
  DeliveryOption: {
2370
2371
  rate_id?: string | null;
@@ -3642,6 +3643,12 @@ interface components {
3642
3643
  sku?: string | null;
3643
3644
  barcode?: string | null;
3644
3645
  default_price?: string;
3646
+ /**
3647
+ * @description Currency of the evaluated storefront price. Kept beside the scalar
3648
+ * amount because the richer internal price path is intentionally not
3649
+ * serialized on catalogue payloads.
3650
+ */
3651
+ currency?: string | null;
3645
3652
  sale?: null | components["schemas"]["SaleInfo"];
3646
3653
  upcoming_sale?: null | components["schemas"]["UpcomingSale"];
3647
3654
  location_prices?: {
@@ -3814,7 +3821,7 @@ interface components {
3814
3821
  * @description How the delivery provider was resolved.
3815
3822
  * @enum {string}
3816
3823
  */
3817
- ProviderResolutionSource: "zone" | "hint" | "fallback" | "best_price";
3824
+ ProviderResolutionSource: "zone" | "hint" | "fallback" | "rate" | "best_price";
3818
3825
  QuantityPricingTier: {
3819
3826
  /** Format: int32 */
3820
3827
  min_quantity: number;
@@ -4558,6 +4565,7 @@ interface components {
4558
4565
  sku?: string | null;
4559
4566
  barcode?: string | null;
4560
4567
  price_adjustment?: string;
4568
+ price_info?: null | components["schemas"]["ChosenPrice"];
4561
4569
  location_prices?: {
4562
4570
  [key: string]: components["schemas"]["ChosenPrice"];
4563
4571
  } | null;
@@ -4824,6 +4832,8 @@ interface Product {
4824
4832
  description?: string;
4825
4833
  image_url?: string;
4826
4834
  default_price: Money;
4835
+ /** Currency of `default_price`, resolved by the canonical pricing engine. */
4836
+ currency?: CurrencyCode | null;
4827
4837
  /** Sales-engine overlay from the pricing API, when the product is on sale. */
4828
4838
  sale?: SaleInfo | null;
4829
4839
  /** A recurring sale that returns soon — present only when there's no live `sale`. */
@@ -5058,6 +5068,8 @@ interface VariantView {
5058
5068
  sku?: string;
5059
5069
  barcode?: string;
5060
5070
  price_adjustment: Money;
5071
+ /** Canonical evaluated unit price in the active shopper/location scope. */
5072
+ price_info?: ChosenPrice;
5061
5073
  location_prices?: Record<string, ChosenPrice>;
5062
5074
  axis_selections?: Record<string, string>;
5063
5075
  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 {
@@ -2333,8 +2333,8 @@ interface components {
2333
2333
  * can be explained months later even if zones, rates, or providers change.
2334
2334
  */
2335
2335
  DeliveryFeeDetails: {
2336
- zone_id: string;
2337
- zone_name: string;
2336
+ zone_id?: string | null;
2337
+ zone_name?: string | null;
2338
2338
  provider: string;
2339
2339
  provider_resolved_from: components["schemas"]["ProviderResolutionSource"];
2340
2340
  /**
@@ -2343,10 +2343,10 @@ interface components {
2343
2343
  */
2344
2344
  rate_id?: string | null;
2345
2345
  rate_name?: string | null;
2346
- distance_km: string;
2347
- base_fee: string;
2348
- per_km_fee: string;
2349
- surge_multiplier: string;
2346
+ distance_km?: string | null;
2347
+ base_fee?: string | null;
2348
+ per_km_fee?: string | null;
2349
+ surge_multiplier?: string | null;
2350
2350
  calculated_fee: string;
2351
2351
  currency: string;
2352
2352
  free_delivery_applied: boolean;
@@ -2362,9 +2362,10 @@ interface components {
2362
2362
  details?: null | components["schemas"]["DeliveryFeeDetails"];
2363
2363
  };
2364
2364
  /**
2365
- * @description One entry on the customer-facing delivery menu, priced for a concrete
2366
- * dropoff. `rate_id = None` is the synthesized fallback for businesses with
2367
- * no named rates configured.
2365
+ * @description One entry on the customer-facing delivery menu. Zone-backed rates are
2366
+ * priced for a concrete dropoff; all-zone flat rates can be priced from the
2367
+ * order value alone. `rate_id = None` is the synthesized fallback for
2368
+ * businesses with no named rates configured.
2368
2369
  */
2369
2370
  DeliveryOption: {
2370
2371
  rate_id?: string | null;
@@ -3642,6 +3643,12 @@ interface components {
3642
3643
  sku?: string | null;
3643
3644
  barcode?: string | null;
3644
3645
  default_price?: string;
3646
+ /**
3647
+ * @description Currency of the evaluated storefront price. Kept beside the scalar
3648
+ * amount because the richer internal price path is intentionally not
3649
+ * serialized on catalogue payloads.
3650
+ */
3651
+ currency?: string | null;
3645
3652
  sale?: null | components["schemas"]["SaleInfo"];
3646
3653
  upcoming_sale?: null | components["schemas"]["UpcomingSale"];
3647
3654
  location_prices?: {
@@ -3814,7 +3821,7 @@ interface components {
3814
3821
  * @description How the delivery provider was resolved.
3815
3822
  * @enum {string}
3816
3823
  */
3817
- ProviderResolutionSource: "zone" | "hint" | "fallback" | "best_price";
3824
+ ProviderResolutionSource: "zone" | "hint" | "fallback" | "rate" | "best_price";
3818
3825
  QuantityPricingTier: {
3819
3826
  /** Format: int32 */
3820
3827
  min_quantity: number;
@@ -4558,6 +4565,7 @@ interface components {
4558
4565
  sku?: string | null;
4559
4566
  barcode?: string | null;
4560
4567
  price_adjustment?: string;
4568
+ price_info?: null | components["schemas"]["ChosenPrice"];
4561
4569
  location_prices?: {
4562
4570
  [key: string]: components["schemas"]["ChosenPrice"];
4563
4571
  } | null;
@@ -4824,6 +4832,8 @@ interface Product {
4824
4832
  description?: string;
4825
4833
  image_url?: string;
4826
4834
  default_price: Money;
4835
+ /** Currency of `default_price`, resolved by the canonical pricing engine. */
4836
+ currency?: CurrencyCode | null;
4827
4837
  /** Sales-engine overlay from the pricing API, when the product is on sale. */
4828
4838
  sale?: SaleInfo | null;
4829
4839
  /** A recurring sale that returns soon — present only when there's no live `sale`. */
@@ -5058,6 +5068,8 @@ interface VariantView {
5058
5068
  sku?: string;
5059
5069
  barcode?: string;
5060
5070
  price_adjustment: Money;
5071
+ /** Canonical evaluated unit price in the active shopper/location scope. */
5072
+ price_info?: ChosenPrice;
5061
5073
  location_prices?: Record<string, ChosenPrice>;
5062
5074
  axis_selections?: Record<string, string>;
5063
5075
  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, cb as OrderType, cw as ProcessCheckoutResult, ac as CheckoutStatus, ad as CheckoutStatusContext, a$ as EnrichedOrderItem, a_ as EnrichedOrder, w as Business, bA as Location, cN as ReorderResult, c9 as OrderStatus, bQ as Order, cy as QuoteBundleSelectionInput, cz as QuoteCompositeSelectionInput, cs as PriceQuote, cC as QuoteUiMessage, d7 as Service, r as AvailableSlot, ay as DayAvailability, aq as CustomerBooking, L as CancelBookingResult, f as ActivityStateResponse, dg as SessionMessage, c as ActivityRecommendation, aA as DeliveryFeeResponse, aD as DeliveryOptionsResponse, bd as FxRateResponse, dq as StoreCreditBalance, ds as StorefrontBootstrap, _ as ChatWidgetStarter, W as ChatMessage, Z as ChatUploadAttachment, h as AddressInfo, n as AuthenticatedData, aZ as ElementsOptions, cm as PaymentMethodInfo, aX as ElementsCheckoutResult, cv as ProcessCheckoutOptions, ai as CimplifyElements, T as ChatAttachment, bp as LineItem, dj as Staff, d2 as Room, Y as ChatReplyContext } from './client-D8XcrONA.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-CeV8euw4.mjs';
8
+ import { P as ProductWithPrice } from './price-D96h6c6L.mjs';
9
9
  import { ClassValue } from 'clsx';
10
10
  import { Matcher } from 'react-day-picker';
11
- import './payment-BIpS9oPG.mjs';
11
+ import './payment-BSzy7sly.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, cb as OrderType, cw as ProcessCheckoutResult, ac as CheckoutStatus, ad as CheckoutStatusContext, a$ as EnrichedOrderItem, a_ as EnrichedOrder, w as Business, bA as Location, cN as ReorderResult, c9 as OrderStatus, bQ as Order, cy as QuoteBundleSelectionInput, cz as QuoteCompositeSelectionInput, cs as PriceQuote, cC as QuoteUiMessage, d7 as Service, r as AvailableSlot, ay as DayAvailability, aq as CustomerBooking, L as CancelBookingResult, f as ActivityStateResponse, dg as SessionMessage, c as ActivityRecommendation, aA as DeliveryFeeResponse, aD as DeliveryOptionsResponse, bd as FxRateResponse, dq as StoreCreditBalance, ds as StorefrontBootstrap, _ as ChatWidgetStarter, W as ChatMessage, Z as ChatUploadAttachment, h as AddressInfo, n as AuthenticatedData, aZ as ElementsOptions, cm as PaymentMethodInfo, aX as ElementsCheckoutResult, cv as ProcessCheckoutOptions, ai as CimplifyElements, T as ChatAttachment, bp as LineItem, dj as Staff, d2 as Room, Y as ChatReplyContext } from './client-LPg_AUUr.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-CeV8euw4.js';
8
+ import { P as ProductWithPrice } from './price-CJLfcYKd.js';
9
9
  import { ClassValue } from 'clsx';
10
10
  import { Matcher } from 'react-day-picker';
11
- import './payment-CsuBKHqg.js';
11
+ import './payment-jK8ztICx.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[];