@cimplify/sdk 0.101.1 → 0.102.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/advanced.d.mts +3 -3
  2. package/dist/advanced.d.ts +3 -3
  3. package/dist/{chunk-QPRI2NII.js → chunk-2P4KXFB6.js} +6 -0
  4. package/dist/{chunk-4G5UWFC3.mjs → chunk-3V4DVXV3.mjs} +6 -1
  5. package/dist/{chunk-7H6IL7CX.mjs → chunk-4KNFBPV2.mjs} +9 -2
  6. package/dist/{chunk-YHPMFTMN.mjs → chunk-DCMXUKDQ.mjs} +2 -0
  7. package/dist/{chunk-H5SSGN7W.js → chunk-EAZGA7LD.js} +2 -0
  8. package/dist/{chunk-ICCCSVN3.js → chunk-LOWSMGRT.js} +10 -2
  9. package/dist/{client-CdTx7X_X.d.mts → client-B40KFazg.d.ts} +5 -2
  10. package/dist/{client-WkUcvRvO.d.mts → client-BdErclfU.d.mts} +2 -2
  11. package/dist/{client-Db554902.d.ts → client-BizGfqB7.d.mts} +5 -2
  12. package/dist/{client-D40kI8z2.d.ts → client-nsiMwuC1.d.ts} +2 -2
  13. package/dist/{index-BjWUkYgY.d.mts → index-DpmnI__D.d.mts} +3 -3
  14. package/dist/{index-D3UXgAYl.d.ts → index-nEyXWIyR.d.ts} +3 -3
  15. package/dist/index.d.mts +19 -8
  16. package/dist/index.d.ts +19 -8
  17. package/dist/index.js +23 -19
  18. package/dist/index.mjs +1 -1
  19. package/dist/mock/cli.mjs +2 -0
  20. package/dist/mock/library.js +2 -0
  21. package/dist/mock/library.mjs +2 -0
  22. package/dist/mock/msw.js +2 -0
  23. package/dist/mock/msw.mjs +2 -0
  24. package/dist/{payment-CRqjGrx6.d.mts → payment-l0rkieEQ.d.mts} +1 -1
  25. package/dist/{payment-DO1Z1Ip6.d.ts → payment-vzNnIi1n.d.ts} +1 -1
  26. package/dist/{price-D9EOj8y8.d.ts → price-BstChV9a.d.ts} +1 -1
  27. package/dist/{price-CiQUd_XX.d.mts → price-CS4E5zLS.d.mts} +1 -1
  28. package/dist/{product-DwKdC_to.d.ts → product-Byf0unSy.d.mts} +19 -1
  29. package/dist/{product-DwKdC_to.d.mts → product-Byf0unSy.d.ts} +19 -1
  30. package/dist/react.d.mts +6 -4
  31. package/dist/react.d.ts +6 -4
  32. package/dist/react.js +62 -58
  33. package/dist/react.mjs +6 -2
  34. package/dist/{server-CeDb93WA.d.ts → server-Cj40R2ZD.d.ts} +1 -1
  35. package/dist/{server-D-nSkrUr.d.mts → server-DqbZh8Bk.d.mts} +1 -1
  36. package/dist/server.d.mts +4 -4
  37. package/dist/server.d.ts +4 -4
  38. package/dist/testing/msw.d.mts +2 -2
  39. package/dist/testing/msw.d.ts +2 -2
  40. package/dist/testing/msw.js +2 -2
  41. package/dist/testing/msw.mjs +1 -1
  42. package/dist/testing/suite.d.mts +6 -6
  43. package/dist/testing/suite.d.ts +6 -6
  44. package/dist/testing/suite.js +21 -21
  45. package/dist/testing/suite.mjs +2 -2
  46. package/dist/testing.d.mts +52 -21
  47. package/dist/testing.d.ts +52 -21
  48. package/dist/testing.js +81 -77
  49. package/dist/testing.mjs +3 -3
  50. package/dist/utils.d.mts +4 -4
  51. package/dist/utils.d.ts +4 -4
  52. package/package.json +1 -1
@@ -4729,6 +4729,7 @@ function toUICart(registry, cart) {
4729
4729
  tax_rate: cart.tax_rate,
4730
4730
  service_charge_rate: cart.service_charge_rate,
4731
4731
  tax_inclusive: false,
4732
+ price_display_mode: "unspecified",
4732
4733
  deposit_required: false,
4733
4734
  deposit_amount: "0.00"
4734
4735
  },
@@ -4888,6 +4889,7 @@ function createCartService(opts) {
4888
4889
  tax_jurisdiction_label: label,
4889
4890
  tax_inclusive: false,
4890
4891
  tax_rate: cart.tax_rate,
4892
+ price_display_mode: "unspecified",
4891
4893
  delivery_fee_details: null,
4892
4894
  address_info: body.address_info
4893
4895
  };
package/dist/mock/msw.js CHANGED
@@ -4729,6 +4729,7 @@ function toUICart(registry, cart) {
4729
4729
  tax_rate: cart.tax_rate,
4730
4730
  service_charge_rate: cart.service_charge_rate,
4731
4731
  tax_inclusive: false,
4732
+ price_display_mode: "unspecified",
4732
4733
  deposit_required: false,
4733
4734
  deposit_amount: "0.00"
4734
4735
  },
@@ -4888,6 +4889,7 @@ function createCartService(opts) {
4888
4889
  tax_jurisdiction_label: label,
4889
4890
  tax_inclusive: false,
4890
4891
  tax_rate: cart.tax_rate,
4892
+ price_display_mode: "unspecified",
4891
4893
  delivery_fee_details: null,
4892
4894
  address_info: body.address_info
4893
4895
  };
package/dist/mock/msw.mjs CHANGED
@@ -4727,6 +4727,7 @@ function toUICart(registry, cart) {
4727
4727
  tax_rate: cart.tax_rate,
4728
4728
  service_charge_rate: cart.service_charge_rate,
4729
4729
  tax_inclusive: false,
4730
+ price_display_mode: "unspecified",
4730
4731
  deposit_required: false,
4731
4732
  deposit_amount: "0.00"
4732
4733
  },
@@ -4886,6 +4887,7 @@ function createCartService(opts) {
4886
4887
  tax_jurisdiction_label: label,
4887
4888
  tax_inclusive: false,
4888
4889
  tax_rate: cart.tax_rate,
4890
+ price_display_mode: "unspecified",
4889
4891
  delivery_fee_details: null,
4890
4892
  address_info: body.address_info
4891
4893
  };
@@ -1,4 +1,4 @@
1
- import { aR as Money, ad as CurrencyCode } from './product-DwKdC_to.mjs';
1
+ import { aR as Money, ad as CurrencyCode } from './product-Byf0unSy.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 { aR as Money, ad as CurrencyCode } from './product-DwKdC_to.js';
1
+ import { aR as Money, ad as CurrencyCode } from './product-Byf0unSy.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, bl as SaleInfo, bG as UpcomingSale } from './product-DwKdC_to.js';
1
+ import { ad as CurrencyCode, U as ChosenPrice, bl as SaleInfo, bH as UpcomingSale } from './product-Byf0unSy.js';
2
2
 
3
3
  interface ProductWithPrice {
4
4
  price_info?: ChosenPrice;
@@ -1,4 +1,4 @@
1
- import { ad as CurrencyCode, U as ChosenPrice, bl as SaleInfo, bG as UpcomingSale } from './product-DwKdC_to.mjs';
1
+ import { ad as CurrencyCode, U as ChosenPrice, bl as SaleInfo, bH as UpcomingSale } from './product-Byf0unSy.mjs';
2
2
 
3
3
  interface ProductWithPrice {
4
4
  price_info?: ChosenPrice;
@@ -955,6 +955,11 @@ interface components {
955
955
  * labels it "included" rather than summing it onto the total.
956
956
  */
957
957
  tax_inclusive: boolean;
958
+ /**
959
+ * @description Reviewed policy for presenting tax in customer-facing prices. This is
960
+ * independent from whether the pricing arithmetic is tax-inclusive.
961
+ */
962
+ price_display_mode?: components["schemas"]["TaxPriceDisplayMode"];
958
963
  /**
959
964
  * @description Deposit due now when the cart has deposit-eligible service items, letting
960
965
  * checkout offer "pay deposit now, balance later". `0` when none applies.
@@ -1122,6 +1127,8 @@ interface components {
1122
1127
  tax_inclusive: boolean;
1123
1128
  /** @description Effective tax rate in percentage points (for example, `8.25`). */
1124
1129
  tax_rate?: string | null;
1130
+ /** @description Reviewed consumer-facing price presentation policy for this quote. */
1131
+ price_display_mode: components["schemas"]["TaxPriceDisplayMode"];
1125
1132
  delivery_fee_details?: null | components["schemas"]["DeliveryFeeDetails"];
1126
1133
  address_info: components["schemas"]["AddressInfo"];
1127
1134
  };
@@ -1191,6 +1198,8 @@ interface components {
1191
1198
  tax_inclusive: boolean;
1192
1199
  /** @description Effective tax rate in percentage points (for example, `8.25`). */
1193
1200
  tax_rate?: string | null;
1201
+ /** @description Reviewed consumer-facing price presentation policy for these totals. */
1202
+ price_display_mode: components["schemas"]["TaxPriceDisplayMode"];
1194
1203
  };
1195
1204
  CheckoutSessionCartItem: {
1196
1205
  product_id: string;
@@ -3886,6 +3895,11 @@ interface components {
3886
3895
  name: string;
3887
3896
  rate: string;
3888
3897
  };
3898
+ /**
3899
+ * @description Reviewed ways a price may be presented to the selected audience.
3900
+ * @enum {string}
3901
+ */
3902
+ TaxPriceDisplayMode: "unspecified" | "gross_required" | "gross_and_net" | "net_allowed";
3889
3903
  TaxonomyWithChildren: components["schemas"]["ProductTaxonomy"] & {
3890
3904
  children: components["schemas"]["ProductTaxonomy"][];
3891
3905
  };
@@ -4525,6 +4539,7 @@ interface UICartCustomer {
4525
4539
  phone?: string;
4526
4540
  address?: string;
4527
4541
  }
4542
+ type TaxPriceDisplayMode = "unspecified" | "gross_required" | "gross_and_net" | "net_allowed";
4528
4543
  interface UICartPricing {
4529
4544
  subtotal: Money;
4530
4545
  tax_amount: Money;
@@ -4537,6 +4552,9 @@ interface UICartPricing {
4537
4552
  /** Tax is baked into the prices (e.g. Ghana VAT), so `tax_amount` is the
4538
4553
  * portion already inside `subtotal`/`total_price`, not an addition. */
4539
4554
  tax_inclusive: boolean;
4555
+ /** Reviewed presentation policy, independent from whether tax arithmetic is
4556
+ * inclusive. Older backend responses may omit it. */
4557
+ price_display_mode?: TaxPriceDisplayMode;
4540
4558
  /** Jurisdiction resolved by the checkout tax decision (for example,
4541
4559
  * `Austin, TX`). Absent until the cart has a destination decision;
4542
4560
  * clients must not infer it from the preview rate. */
@@ -5663,4 +5681,4 @@ interface TagsResponse {
5663
5681
  offset: number;
5664
5682
  }
5665
5683
 
5666
- export { type ComponentPriceBreakdown as $, type AddOn as A, BOUNDARY_KIND as B, type BundleProduct as C, type BundleSelectionData as D, type BundleSelectionInput as E, type BundleStoredSelection as F, type BundleSummary as G, type BundleWithDetails as H, type Cart as I, type CartAddOn as J, type CartChannel as K, type CartItem as L, type CartItemDetails as M, type CartMutationResult as N, type CartNotice as O, type CartStatus as P, type CartSummary as Q, type CartTotals as R, type Category as S, type CategorySummary as T, type ChosenPrice as U, CimplifyError as V, type Collection as W, type CollectionProduct as X, type CollectionSummary as Y, type ComponentGroup as Z, type ComponentGroupWithComponents as _, type AddOnDetails as a, type PriceSource as a$, type ComponentSchedulingData as a0, type ComponentSelectionInput as a1, type ComponentSourceType as a2, type Composite as a3, type CompositeComponent as a4, type CompositeComponentView as a5, type CompositeGroupView as a6, type CompositePriceBreakdown as a7, type CompositePriceResult as a8, type CompositePricingMode as a9, type EligiblePlansQuery as aA, ErrorCode as aB, type ErrorCodeType as aC, type ErrorHint as aD, type FacetValue as aE, type FormattedPlanOption as aF, type GroupPricingBehavior as aG, INPUT_FIELD_TYPE as aH, IdempotencyMismatchError as aI, type InputFieldType as aJ, type InputFieldValidation as aK, type InventoryType as aL, type KnowledgeArticle as aM, type LineConfiguration as aN, type LocationProductPrice as aO, type LocationValue as aP, type MeasurementValue as aQ, type Money as aR, PRODUCT_TYPE as aS, type Pagination as aT, type PaginationParams as aU, type PhoneValue as aV, type Price as aW, type PriceAdjustment as aX, type PriceDecisionPath as aY, type PriceEntryType as aZ, type PricePathTaxInfo as a_, type CompositeSelectionData as aa, type CompositeStoredSelection as ab, type CompositeWithDetails as ac, type CurrencyCode as ad, type CustomAttributeDefinition as ae, type CustomAttributeValue as af, type CustomerInputValue as ag, DURATION_UNIT as ah, type DateRangeValue as ai, type Deal as aj, type DealBenefitType as ak, type DepositType as al, type DestinationQuote as am, type DestinationQuoteAddress as an, type DestinationQuoteInput as ao, type DigitalProductType as ap, type DiscountBreakdown as aq, type DiscountDetails as ar, type DiscountValidation as as, type DisplayAddOn as at, type DisplayAddOnOption as au, type DisplayCart as av, type DisplayCartItem as aw, type DisplayMode as ax, type DurationUnit as ay, ERROR_HINTS as az, type AddOnGroupDetails as b, isQuoteConflictRequiringConsent as b$, type Product as b0, type ProductAddOn as b1, type ProductAvailability as b2, type ProductAvailabilityNow as b3, type ProductBillingPlan as b4, type ProductDealInfo as b5, type ProductInputField as b6, type ProductProperty as b7, type ProductRenderHint as b8, type ProductTaxonomy as b9, type TaxonomyWithChildren as bA, type UICart as bB, type UICartBusiness as bC, type UICartCustomer as bD, type UICartLocation as bE, type UICartPricing as bF, type UpcomingSale as bG, type UpdateCartItemInput as bH, type VariantAxis as bI, type VariantAxisSelection as bJ, type VariantAxisValue as bK, type VariantAxisValueView as bL, type VariantAxisView as bM, type VariantAxisWithValues as bN, type VariantDetails as bO, type VariantDetailsDTO as bP, type VariantDisplayAttribute as bQ, type VariantLocationAvailability as bR, type VariantStrategy as bS, type VariantView as bT, ZERO as bU, type components as bV, currencyCode as bW, enrichError as bX, getErrorHint as bY, isCimplifyError as bZ, isIdempotencyMismatchError as b_, type ProductTimeProfile as ba, type ProductType as bb, type ProductVariant as bc, type ProductVariantValue as bd, type ProductWithDetails as be, type PropertyFacet as bf, type PropertySource as bg, type QuantityPricingTier as bh, RENDER_HINT as bi, type RelatedProductView as bj, type SaleCapInfo as bk, type SaleInfo as bl, type SalesChannel as bm, type SchedulingMode as bn, type SelectedAddOnOption as bo, type SemanticKind as bp, type SignatureValue as bq, type Subscription as br, type SubscriptionInvoice as bs, type SubscriptionItem as bt, type SubscriptionStatus as bu, type SubscriptionWithDetails as bv, type Tag as bw, type TagsResponse as bx, type TaxPathComponent as by, type TaxonomyAttributeTemplate as bz, type AddOnOption as c, isQuoteError as c0, isRetryableError as c1, isSupportedCurrency as c2, money as c3, moneyFromNumber as c4, type AddOnOptionDetails as d, type AddOnOptionPrice as e, type AddOnWithOptions as f, type AddToCartInput as g, type AddressValue as h, type AdjustmentType as i, type ApiError as j, type AppliedDiscount as k, type AttributeAppliesTo as l, type AttributeType as m, type AttributeValidationRules as n, type AttributeVisibility as o, type BenefitType as p, type BillingFrequency as q, type BillingMarkupType as r, type BillingPlanType as s, type BoundaryKind as t, type Bundle as u, type BundleComponentData as v, type BundleComponentInfo as w, type BundleComponentVariantView as x, type BundleComponentView as y, type BundlePriceType as z };
5684
+ export { type ComponentPriceBreakdown as $, type AddOn as A, BOUNDARY_KIND as B, type BundleProduct as C, type BundleSelectionData as D, type BundleSelectionInput as E, type BundleStoredSelection as F, type BundleSummary as G, type BundleWithDetails as H, type Cart as I, type CartAddOn as J, type CartChannel as K, type CartItem as L, type CartItemDetails as M, type CartMutationResult as N, type CartNotice as O, type CartStatus as P, type CartSummary as Q, type CartTotals as R, type Category as S, type CategorySummary as T, type ChosenPrice as U, CimplifyError as V, type Collection as W, type CollectionProduct as X, type CollectionSummary as Y, type ComponentGroup as Z, type ComponentGroupWithComponents as _, type AddOnDetails as a, type PriceSource as a$, type ComponentSchedulingData as a0, type ComponentSelectionInput as a1, type ComponentSourceType as a2, type Composite as a3, type CompositeComponent as a4, type CompositeComponentView as a5, type CompositeGroupView as a6, type CompositePriceBreakdown as a7, type CompositePriceResult as a8, type CompositePricingMode as a9, type EligiblePlansQuery as aA, ErrorCode as aB, type ErrorCodeType as aC, type ErrorHint as aD, type FacetValue as aE, type FormattedPlanOption as aF, type GroupPricingBehavior as aG, INPUT_FIELD_TYPE as aH, IdempotencyMismatchError as aI, type InputFieldType as aJ, type InputFieldValidation as aK, type InventoryType as aL, type KnowledgeArticle as aM, type LineConfiguration as aN, type LocationProductPrice as aO, type LocationValue as aP, type MeasurementValue as aQ, type Money as aR, PRODUCT_TYPE as aS, type Pagination as aT, type PaginationParams as aU, type PhoneValue as aV, type Price as aW, type PriceAdjustment as aX, type PriceDecisionPath as aY, type PriceEntryType as aZ, type PricePathTaxInfo as a_, type CompositeSelectionData as aa, type CompositeStoredSelection as ab, type CompositeWithDetails as ac, type CurrencyCode as ad, type CustomAttributeDefinition as ae, type CustomAttributeValue as af, type CustomerInputValue as ag, DURATION_UNIT as ah, type DateRangeValue as ai, type Deal as aj, type DealBenefitType as ak, type DepositType as al, type DestinationQuote as am, type DestinationQuoteAddress as an, type DestinationQuoteInput as ao, type DigitalProductType as ap, type DiscountBreakdown as aq, type DiscountDetails as ar, type DiscountValidation as as, type DisplayAddOn as at, type DisplayAddOnOption as au, type DisplayCart as av, type DisplayCartItem as aw, type DisplayMode as ax, type DurationUnit as ay, ERROR_HINTS as az, type AddOnGroupDetails as b, isIdempotencyMismatchError as b$, type Product as b0, type ProductAddOn as b1, type ProductAvailability as b2, type ProductAvailabilityNow as b3, type ProductBillingPlan as b4, type ProductDealInfo as b5, type ProductInputField as b6, type ProductProperty as b7, type ProductRenderHint as b8, type ProductTaxonomy as b9, type TaxonomyAttributeTemplate as bA, type TaxonomyWithChildren as bB, type UICart as bC, type UICartBusiness as bD, type UICartCustomer as bE, type UICartLocation as bF, type UICartPricing as bG, type UpcomingSale as bH, type UpdateCartItemInput as bI, type VariantAxis as bJ, type VariantAxisSelection as bK, type VariantAxisValue as bL, type VariantAxisValueView as bM, type VariantAxisView as bN, type VariantAxisWithValues as bO, type VariantDetails as bP, type VariantDetailsDTO as bQ, type VariantDisplayAttribute as bR, type VariantLocationAvailability as bS, type VariantStrategy as bT, type VariantView as bU, ZERO as bV, type components as bW, currencyCode as bX, enrichError as bY, getErrorHint as bZ, isCimplifyError as b_, type ProductTimeProfile as ba, type ProductType as bb, type ProductVariant as bc, type ProductVariantValue as bd, type ProductWithDetails as be, type PropertyFacet as bf, type PropertySource as bg, type QuantityPricingTier as bh, RENDER_HINT as bi, type RelatedProductView as bj, type SaleCapInfo as bk, type SaleInfo as bl, type SalesChannel as bm, type SchedulingMode as bn, type SelectedAddOnOption as bo, type SemanticKind as bp, type SignatureValue as bq, type Subscription as br, type SubscriptionInvoice as bs, type SubscriptionItem as bt, type SubscriptionStatus as bu, type SubscriptionWithDetails as bv, type Tag as bw, type TagsResponse as bx, type TaxPathComponent as by, type TaxPriceDisplayMode as bz, type AddOnOption as c, isQuoteConflictRequiringConsent as c0, isQuoteError as c1, isRetryableError as c2, isSupportedCurrency as c3, money as c4, moneyFromNumber as c5, type AddOnOptionDetails as d, type AddOnOptionPrice as e, type AddOnWithOptions as f, type AddToCartInput as g, type AddressValue as h, type AdjustmentType as i, type ApiError as j, type AppliedDiscount as k, type AttributeAppliesTo as l, type AttributeType as m, type AttributeValidationRules as n, type AttributeVisibility as o, type BenefitType as p, type BillingFrequency as q, type BillingMarkupType as r, type BillingPlanType as s, type BoundaryKind as t, type Bundle as u, type BundleComponentData as v, type BundleComponentInfo as w, type BundleComponentVariantView as x, type BundleComponentView as y, type BundlePriceType as z };
@@ -955,6 +955,11 @@ interface components {
955
955
  * labels it "included" rather than summing it onto the total.
956
956
  */
957
957
  tax_inclusive: boolean;
958
+ /**
959
+ * @description Reviewed policy for presenting tax in customer-facing prices. This is
960
+ * independent from whether the pricing arithmetic is tax-inclusive.
961
+ */
962
+ price_display_mode?: components["schemas"]["TaxPriceDisplayMode"];
958
963
  /**
959
964
  * @description Deposit due now when the cart has deposit-eligible service items, letting
960
965
  * checkout offer "pay deposit now, balance later". `0` when none applies.
@@ -1122,6 +1127,8 @@ interface components {
1122
1127
  tax_inclusive: boolean;
1123
1128
  /** @description Effective tax rate in percentage points (for example, `8.25`). */
1124
1129
  tax_rate?: string | null;
1130
+ /** @description Reviewed consumer-facing price presentation policy for this quote. */
1131
+ price_display_mode: components["schemas"]["TaxPriceDisplayMode"];
1125
1132
  delivery_fee_details?: null | components["schemas"]["DeliveryFeeDetails"];
1126
1133
  address_info: components["schemas"]["AddressInfo"];
1127
1134
  };
@@ -1191,6 +1198,8 @@ interface components {
1191
1198
  tax_inclusive: boolean;
1192
1199
  /** @description Effective tax rate in percentage points (for example, `8.25`). */
1193
1200
  tax_rate?: string | null;
1201
+ /** @description Reviewed consumer-facing price presentation policy for these totals. */
1202
+ price_display_mode: components["schemas"]["TaxPriceDisplayMode"];
1194
1203
  };
1195
1204
  CheckoutSessionCartItem: {
1196
1205
  product_id: string;
@@ -3886,6 +3895,11 @@ interface components {
3886
3895
  name: string;
3887
3896
  rate: string;
3888
3897
  };
3898
+ /**
3899
+ * @description Reviewed ways a price may be presented to the selected audience.
3900
+ * @enum {string}
3901
+ */
3902
+ TaxPriceDisplayMode: "unspecified" | "gross_required" | "gross_and_net" | "net_allowed";
3889
3903
  TaxonomyWithChildren: components["schemas"]["ProductTaxonomy"] & {
3890
3904
  children: components["schemas"]["ProductTaxonomy"][];
3891
3905
  };
@@ -4525,6 +4539,7 @@ interface UICartCustomer {
4525
4539
  phone?: string;
4526
4540
  address?: string;
4527
4541
  }
4542
+ type TaxPriceDisplayMode = "unspecified" | "gross_required" | "gross_and_net" | "net_allowed";
4528
4543
  interface UICartPricing {
4529
4544
  subtotal: Money;
4530
4545
  tax_amount: Money;
@@ -4537,6 +4552,9 @@ interface UICartPricing {
4537
4552
  /** Tax is baked into the prices (e.g. Ghana VAT), so `tax_amount` is the
4538
4553
  * portion already inside `subtotal`/`total_price`, not an addition. */
4539
4554
  tax_inclusive: boolean;
4555
+ /** Reviewed presentation policy, independent from whether tax arithmetic is
4556
+ * inclusive. Older backend responses may omit it. */
4557
+ price_display_mode?: TaxPriceDisplayMode;
4540
4558
  /** Jurisdiction resolved by the checkout tax decision (for example,
4541
4559
  * `Austin, TX`). Absent until the cart has a destination decision;
4542
4560
  * clients must not infer it from the preview rate. */
@@ -5663,4 +5681,4 @@ interface TagsResponse {
5663
5681
  offset: number;
5664
5682
  }
5665
5683
 
5666
- export { type ComponentPriceBreakdown as $, type AddOn as A, BOUNDARY_KIND as B, type BundleProduct as C, type BundleSelectionData as D, type BundleSelectionInput as E, type BundleStoredSelection as F, type BundleSummary as G, type BundleWithDetails as H, type Cart as I, type CartAddOn as J, type CartChannel as K, type CartItem as L, type CartItemDetails as M, type CartMutationResult as N, type CartNotice as O, type CartStatus as P, type CartSummary as Q, type CartTotals as R, type Category as S, type CategorySummary as T, type ChosenPrice as U, CimplifyError as V, type Collection as W, type CollectionProduct as X, type CollectionSummary as Y, type ComponentGroup as Z, type ComponentGroupWithComponents as _, type AddOnDetails as a, type PriceSource as a$, type ComponentSchedulingData as a0, type ComponentSelectionInput as a1, type ComponentSourceType as a2, type Composite as a3, type CompositeComponent as a4, type CompositeComponentView as a5, type CompositeGroupView as a6, type CompositePriceBreakdown as a7, type CompositePriceResult as a8, type CompositePricingMode as a9, type EligiblePlansQuery as aA, ErrorCode as aB, type ErrorCodeType as aC, type ErrorHint as aD, type FacetValue as aE, type FormattedPlanOption as aF, type GroupPricingBehavior as aG, INPUT_FIELD_TYPE as aH, IdempotencyMismatchError as aI, type InputFieldType as aJ, type InputFieldValidation as aK, type InventoryType as aL, type KnowledgeArticle as aM, type LineConfiguration as aN, type LocationProductPrice as aO, type LocationValue as aP, type MeasurementValue as aQ, type Money as aR, PRODUCT_TYPE as aS, type Pagination as aT, type PaginationParams as aU, type PhoneValue as aV, type Price as aW, type PriceAdjustment as aX, type PriceDecisionPath as aY, type PriceEntryType as aZ, type PricePathTaxInfo as a_, type CompositeSelectionData as aa, type CompositeStoredSelection as ab, type CompositeWithDetails as ac, type CurrencyCode as ad, type CustomAttributeDefinition as ae, type CustomAttributeValue as af, type CustomerInputValue as ag, DURATION_UNIT as ah, type DateRangeValue as ai, type Deal as aj, type DealBenefitType as ak, type DepositType as al, type DestinationQuote as am, type DestinationQuoteAddress as an, type DestinationQuoteInput as ao, type DigitalProductType as ap, type DiscountBreakdown as aq, type DiscountDetails as ar, type DiscountValidation as as, type DisplayAddOn as at, type DisplayAddOnOption as au, type DisplayCart as av, type DisplayCartItem as aw, type DisplayMode as ax, type DurationUnit as ay, ERROR_HINTS as az, type AddOnGroupDetails as b, isQuoteConflictRequiringConsent as b$, type Product as b0, type ProductAddOn as b1, type ProductAvailability as b2, type ProductAvailabilityNow as b3, type ProductBillingPlan as b4, type ProductDealInfo as b5, type ProductInputField as b6, type ProductProperty as b7, type ProductRenderHint as b8, type ProductTaxonomy as b9, type TaxonomyWithChildren as bA, type UICart as bB, type UICartBusiness as bC, type UICartCustomer as bD, type UICartLocation as bE, type UICartPricing as bF, type UpcomingSale as bG, type UpdateCartItemInput as bH, type VariantAxis as bI, type VariantAxisSelection as bJ, type VariantAxisValue as bK, type VariantAxisValueView as bL, type VariantAxisView as bM, type VariantAxisWithValues as bN, type VariantDetails as bO, type VariantDetailsDTO as bP, type VariantDisplayAttribute as bQ, type VariantLocationAvailability as bR, type VariantStrategy as bS, type VariantView as bT, ZERO as bU, type components as bV, currencyCode as bW, enrichError as bX, getErrorHint as bY, isCimplifyError as bZ, isIdempotencyMismatchError as b_, type ProductTimeProfile as ba, type ProductType as bb, type ProductVariant as bc, type ProductVariantValue as bd, type ProductWithDetails as be, type PropertyFacet as bf, type PropertySource as bg, type QuantityPricingTier as bh, RENDER_HINT as bi, type RelatedProductView as bj, type SaleCapInfo as bk, type SaleInfo as bl, type SalesChannel as bm, type SchedulingMode as bn, type SelectedAddOnOption as bo, type SemanticKind as bp, type SignatureValue as bq, type Subscription as br, type SubscriptionInvoice as bs, type SubscriptionItem as bt, type SubscriptionStatus as bu, type SubscriptionWithDetails as bv, type Tag as bw, type TagsResponse as bx, type TaxPathComponent as by, type TaxonomyAttributeTemplate as bz, type AddOnOption as c, isQuoteError as c0, isRetryableError as c1, isSupportedCurrency as c2, money as c3, moneyFromNumber as c4, type AddOnOptionDetails as d, type AddOnOptionPrice as e, type AddOnWithOptions as f, type AddToCartInput as g, type AddressValue as h, type AdjustmentType as i, type ApiError as j, type AppliedDiscount as k, type AttributeAppliesTo as l, type AttributeType as m, type AttributeValidationRules as n, type AttributeVisibility as o, type BenefitType as p, type BillingFrequency as q, type BillingMarkupType as r, type BillingPlanType as s, type BoundaryKind as t, type Bundle as u, type BundleComponentData as v, type BundleComponentInfo as w, type BundleComponentVariantView as x, type BundleComponentView as y, type BundlePriceType as z };
5684
+ export { type ComponentPriceBreakdown as $, type AddOn as A, BOUNDARY_KIND as B, type BundleProduct as C, type BundleSelectionData as D, type BundleSelectionInput as E, type BundleStoredSelection as F, type BundleSummary as G, type BundleWithDetails as H, type Cart as I, type CartAddOn as J, type CartChannel as K, type CartItem as L, type CartItemDetails as M, type CartMutationResult as N, type CartNotice as O, type CartStatus as P, type CartSummary as Q, type CartTotals as R, type Category as S, type CategorySummary as T, type ChosenPrice as U, CimplifyError as V, type Collection as W, type CollectionProduct as X, type CollectionSummary as Y, type ComponentGroup as Z, type ComponentGroupWithComponents as _, type AddOnDetails as a, type PriceSource as a$, type ComponentSchedulingData as a0, type ComponentSelectionInput as a1, type ComponentSourceType as a2, type Composite as a3, type CompositeComponent as a4, type CompositeComponentView as a5, type CompositeGroupView as a6, type CompositePriceBreakdown as a7, type CompositePriceResult as a8, type CompositePricingMode as a9, type EligiblePlansQuery as aA, ErrorCode as aB, type ErrorCodeType as aC, type ErrorHint as aD, type FacetValue as aE, type FormattedPlanOption as aF, type GroupPricingBehavior as aG, INPUT_FIELD_TYPE as aH, IdempotencyMismatchError as aI, type InputFieldType as aJ, type InputFieldValidation as aK, type InventoryType as aL, type KnowledgeArticle as aM, type LineConfiguration as aN, type LocationProductPrice as aO, type LocationValue as aP, type MeasurementValue as aQ, type Money as aR, PRODUCT_TYPE as aS, type Pagination as aT, type PaginationParams as aU, type PhoneValue as aV, type Price as aW, type PriceAdjustment as aX, type PriceDecisionPath as aY, type PriceEntryType as aZ, type PricePathTaxInfo as a_, type CompositeSelectionData as aa, type CompositeStoredSelection as ab, type CompositeWithDetails as ac, type CurrencyCode as ad, type CustomAttributeDefinition as ae, type CustomAttributeValue as af, type CustomerInputValue as ag, DURATION_UNIT as ah, type DateRangeValue as ai, type Deal as aj, type DealBenefitType as ak, type DepositType as al, type DestinationQuote as am, type DestinationQuoteAddress as an, type DestinationQuoteInput as ao, type DigitalProductType as ap, type DiscountBreakdown as aq, type DiscountDetails as ar, type DiscountValidation as as, type DisplayAddOn as at, type DisplayAddOnOption as au, type DisplayCart as av, type DisplayCartItem as aw, type DisplayMode as ax, type DurationUnit as ay, ERROR_HINTS as az, type AddOnGroupDetails as b, isIdempotencyMismatchError as b$, type Product as b0, type ProductAddOn as b1, type ProductAvailability as b2, type ProductAvailabilityNow as b3, type ProductBillingPlan as b4, type ProductDealInfo as b5, type ProductInputField as b6, type ProductProperty as b7, type ProductRenderHint as b8, type ProductTaxonomy as b9, type TaxonomyAttributeTemplate as bA, type TaxonomyWithChildren as bB, type UICart as bC, type UICartBusiness as bD, type UICartCustomer as bE, type UICartLocation as bF, type UICartPricing as bG, type UpcomingSale as bH, type UpdateCartItemInput as bI, type VariantAxis as bJ, type VariantAxisSelection as bK, type VariantAxisValue as bL, type VariantAxisValueView as bM, type VariantAxisView as bN, type VariantAxisWithValues as bO, type VariantDetails as bP, type VariantDetailsDTO as bQ, type VariantDisplayAttribute as bR, type VariantLocationAvailability as bS, type VariantStrategy as bT, type VariantView as bU, ZERO as bV, type components as bW, currencyCode as bX, enrichError as bY, getErrorHint as bZ, isCimplifyError as b_, type ProductTimeProfile as ba, type ProductType as bb, type ProductVariant as bc, type ProductVariantValue as bd, type ProductWithDetails as be, type PropertyFacet as bf, type PropertySource as bg, type QuantityPricingTier as bh, RENDER_HINT as bi, type RelatedProductView as bj, type SaleCapInfo as bk, type SaleInfo as bl, type SalesChannel as bm, type SchedulingMode as bn, type SelectedAddOnOption as bo, type SemanticKind as bp, type SignatureValue as bq, type Subscription as br, type SubscriptionInvoice as bs, type SubscriptionItem as bt, type SubscriptionStatus as bu, type SubscriptionWithDetails as bv, type Tag as bw, type TagsResponse as bx, type TaxPathComponent as by, type TaxPriceDisplayMode as bz, type AddOnOption as c, isQuoteConflictRequiringConsent as c0, isQuoteError as c1, isRetryableError as c2, isSupportedCurrency as c3, money as c4, moneyFromNumber as c5, type AddOnOptionDetails as d, type AddOnOptionPrice as e, type AddOnWithOptions as f, type AddToCartInput as g, type AddressValue as h, type AdjustmentType as i, type ApiError as j, type AppliedDiscount as k, type AttributeAppliesTo as l, type AttributeType as m, type AttributeValidationRules as n, type AttributeVisibility as o, type BenefitType as p, type BillingFrequency as q, type BillingMarkupType as r, type BillingPlanType as s, type BoundaryKind as t, type Bundle as u, type BundleComponentData as v, type BundleComponentInfo as w, type BundleComponentVariantView as x, type BundleComponentView as y, type BundlePriceType as z };
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, 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-CdTx7X_X.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-BizGfqB7.mjs';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
- import { ad as CurrencyCode, b0 as Product, aT as Pagination, V as CimplifyError, be as ProductWithDetails, S as Category, aR as Money, U as ChosenPrice, E as BundleSelectionInput, a1 as ComponentSelectionInput, D as BundleSelectionData, aa as CompositeSelectionData, W as Collection, b9 as ProductTaxonomy, bA as TaxonomyWithChildren, ba as ProductTimeProfile, aj as Deal, b5 as ProductDealInfo, as as DiscountValidation, G as BundleSummary, a8 as CompositePriceResult, bv as SubscriptionWithDetails, bu as SubscriptionStatus, br as Subscription, ae as CustomAttributeDefinition, bf as PropertyFacet, b4 as ProductBillingPlan, bT as VariantView, bN as VariantAxisWithValues, f as AddOnWithOptions, y as BundleComponentView, z as BundlePriceType, a6 as CompositeGroupView, av as DisplayCart, b6 as ProductInputField, h as AddressValue, bl as SaleInfo, bG as UpcomingSale, ay as DurationUnit, t as BoundaryKind, bn as SchedulingMode, al as DepositType, af as CustomAttributeValue, b7 as ProductProperty, bh as QuantityPricingTier } from './product-DwKdC_to.mjs';
8
- import { P as ProductWithPrice } from './price-CiQUd_XX.mjs';
7
+ import { ad as CurrencyCode, b0 as Product, aT as Pagination, V as CimplifyError, be as ProductWithDetails, S as Category, aR as Money, U as ChosenPrice, E as BundleSelectionInput, a1 as ComponentSelectionInput, D as BundleSelectionData, aa as CompositeSelectionData, W as Collection, b9 as ProductTaxonomy, bB as TaxonomyWithChildren, ba as ProductTimeProfile, aj as Deal, b5 as ProductDealInfo, as as DiscountValidation, G as BundleSummary, a8 as CompositePriceResult, bv as SubscriptionWithDetails, bu as SubscriptionStatus, br as Subscription, ae as CustomAttributeDefinition, bf as PropertyFacet, b4 as ProductBillingPlan, bU as VariantView, bO as VariantAxisWithValues, f as AddOnWithOptions, y as BundleComponentView, z as BundlePriceType, a6 as CompositeGroupView, av as DisplayCart, b6 as ProductInputField, h as AddressValue, bl as SaleInfo, bH as UpcomingSale, ay as DurationUnit, t as BoundaryKind, bn as SchedulingMode, al as DepositType, af as CustomAttributeValue, b7 as ProductProperty, bh as QuantityPricingTier } from './product-Byf0unSy.mjs';
8
+ import { P as ProductWithPrice } from './price-CS4E5zLS.mjs';
9
9
  import { ClassValue } from 'clsx';
10
10
  import { Matcher } from 'react-day-picker';
11
- import './payment-CRqjGrx6.mjs';
11
+ import './payment-l0rkieEQ.mjs';
12
12
 
13
13
  interface UserIdentity {
14
14
  uid: string;
@@ -1007,6 +1007,8 @@ interface UseCartResult {
1007
1007
  tax: number;
1008
1008
  taxRate: number | null;
1009
1009
  taxInclusive: boolean;
1010
+ /** Present totals gross: inclusive arithmetic or a gross_required policy. */
1011
+ displayGross: boolean;
1010
1012
  taxJurisdictionLabel: string | null;
1011
1013
  total: number;
1012
1014
  currency: 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, 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-Db554902.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-B40KFazg.js';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
- import { ad as CurrencyCode, b0 as Product, aT as Pagination, V as CimplifyError, be as ProductWithDetails, S as Category, aR as Money, U as ChosenPrice, E as BundleSelectionInput, a1 as ComponentSelectionInput, D as BundleSelectionData, aa as CompositeSelectionData, W as Collection, b9 as ProductTaxonomy, bA as TaxonomyWithChildren, ba as ProductTimeProfile, aj as Deal, b5 as ProductDealInfo, as as DiscountValidation, G as BundleSummary, a8 as CompositePriceResult, bv as SubscriptionWithDetails, bu as SubscriptionStatus, br as Subscription, ae as CustomAttributeDefinition, bf as PropertyFacet, b4 as ProductBillingPlan, bT as VariantView, bN as VariantAxisWithValues, f as AddOnWithOptions, y as BundleComponentView, z as BundlePriceType, a6 as CompositeGroupView, av as DisplayCart, b6 as ProductInputField, h as AddressValue, bl as SaleInfo, bG as UpcomingSale, ay as DurationUnit, t as BoundaryKind, bn as SchedulingMode, al as DepositType, af as CustomAttributeValue, b7 as ProductProperty, bh as QuantityPricingTier } from './product-DwKdC_to.js';
8
- import { P as ProductWithPrice } from './price-D9EOj8y8.js';
7
+ import { ad as CurrencyCode, b0 as Product, aT as Pagination, V as CimplifyError, be as ProductWithDetails, S as Category, aR as Money, U as ChosenPrice, E as BundleSelectionInput, a1 as ComponentSelectionInput, D as BundleSelectionData, aa as CompositeSelectionData, W as Collection, b9 as ProductTaxonomy, bB as TaxonomyWithChildren, ba as ProductTimeProfile, aj as Deal, b5 as ProductDealInfo, as as DiscountValidation, G as BundleSummary, a8 as CompositePriceResult, bv as SubscriptionWithDetails, bu as SubscriptionStatus, br as Subscription, ae as CustomAttributeDefinition, bf as PropertyFacet, b4 as ProductBillingPlan, bU as VariantView, bO as VariantAxisWithValues, f as AddOnWithOptions, y as BundleComponentView, z as BundlePriceType, a6 as CompositeGroupView, av as DisplayCart, b6 as ProductInputField, h as AddressValue, bl as SaleInfo, bH as UpcomingSale, ay as DurationUnit, t as BoundaryKind, bn as SchedulingMode, al as DepositType, af as CustomAttributeValue, b7 as ProductProperty, bh as QuantityPricingTier } from './product-Byf0unSy.js';
8
+ import { P as ProductWithPrice } from './price-BstChV9a.js';
9
9
  import { ClassValue } from 'clsx';
10
10
  import { Matcher } from 'react-day-picker';
11
- import './payment-DO1Z1Ip6.js';
11
+ import './payment-vzNnIi1n.js';
12
12
 
13
13
  interface UserIdentity {
14
14
  uid: string;
@@ -1007,6 +1007,8 @@ interface UseCartResult {
1007
1007
  tax: number;
1008
1008
  taxRate: number | null;
1009
1009
  taxInclusive: boolean;
1010
+ /** Present totals gross: inclusive arithmetic or a gross_required policy. */
1011
+ displayGross: boolean;
1010
1012
  taxJurisdictionLabel: string | null;
1011
1013
  total: number;
1012
1014
  currency: string;