@cimplify/sdk 0.46.1 → 0.46.3

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 (65) 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-5LZNTG4V.mjs → chunk-632JEJUS.mjs} +1 -1
  6. package/dist/{chunk-AUS4B7PA.mjs → chunk-6HYKWYUF.mjs} +2 -2
  7. package/dist/{chunk-Z3CHDA24.js → chunk-6RP6OPYO.js} +3 -3
  8. package/dist/{chunk-6V67MAWO.js → chunk-7ZACMER7.js} +22 -22
  9. package/dist/{chunk-UJ5BBLKL.mjs → chunk-CKRMA5F7.mjs} +2 -2
  10. package/dist/{chunk-4KNCSWE4.js → chunk-GEWFWQYK.js} +234 -234
  11. package/dist/{chunk-DETRNWHF.js → chunk-TKOTACKZ.js} +22 -0
  12. package/dist/{chunk-NKZ5YN5D.js → chunk-TW4OFRWV.js} +4 -4
  13. package/dist/{chunk-7H2DYO4T.mjs → chunk-WUIERJ6J.mjs} +2 -2
  14. package/dist/{chunk-7RRVM2X2.mjs → chunk-XY2DFX5K.mjs} +1 -1
  15. package/dist/{chunk-3HXYEK5K.mjs → chunk-Z2AYLZDF.mjs} +21 -1
  16. package/dist/{chunk-HNPVZGTO.js → chunk-Z2MLAIID.js} +60 -60
  17. package/dist/{client-D7nI2XmP.d.ts → client-B76ZNW5r.d.ts} +2 -2
  18. package/dist/{client-BScRT1Rz.d.mts → client-CT9NwIDX.d.mts} +2 -2
  19. package/dist/{client-DyrpQRza.d.mts → client-G2WCoxv2.d.mts} +2 -2
  20. package/dist/{client-B9r5rH3O.d.ts → client-QVINYu1X.d.ts} +2 -2
  21. package/dist/{index-DC_ZcSgO.d.ts → index-BAohYhdg.d.ts} +3 -3
  22. package/dist/{index-3C9J8Wb-.d.mts → index-Bo0NjgR6.d.mts} +3 -3
  23. package/dist/index.d.mts +6 -6
  24. package/dist/index.d.ts +6 -6
  25. package/dist/index.js +115 -107
  26. package/dist/index.mjs +4 -4
  27. package/dist/mock/cli.mjs +2 -0
  28. package/dist/mock/library.js +2 -0
  29. package/dist/mock/library.mjs +2 -0
  30. package/dist/mock/msw.js +2 -0
  31. package/dist/mock/msw.mjs +2 -0
  32. package/dist/{payment-Bse2XJ-c.d.mts → payment-9L_-GWqQ.d.mts} +1 -1
  33. package/dist/{payment-JcNqOf_T.d.ts → payment-_e99nSRj.d.ts} +1 -1
  34. package/dist/{price-YBGk5seG.d.mts → price-BjehlIhG.d.mts} +1 -1
  35. package/dist/{price-mHkRncgW.d.ts → price-CWQ5TQmk.d.ts} +1 -1
  36. package/dist/{product-DiX-HGkT.d.ts → product-C-xLzh7Q.d.mts} +16 -1
  37. package/dist/{product-DiX-HGkT.d.mts → product-C-xLzh7Q.d.ts} +16 -1
  38. package/dist/react.d.mts +4 -4
  39. package/dist/react.d.ts +4 -4
  40. package/dist/react.js +93 -85
  41. package/dist/react.mjs +12 -4
  42. package/dist/{server-Bg3VtA1D.d.ts → server-72rzvJ4Y.d.ts} +1 -1
  43. package/dist/{server-kakjHRgj.d.mts → server-BgccqOLT.d.mts} +1 -1
  44. package/dist/server.d.mts +4 -4
  45. package/dist/server.d.ts +4 -4
  46. package/dist/server.js +6 -6
  47. package/dist/server.mjs +4 -4
  48. package/dist/styles.css +1 -1
  49. package/dist/testing/msw.d.mts +2 -2
  50. package/dist/testing/msw.d.ts +2 -2
  51. package/dist/testing/msw.js +3 -3
  52. package/dist/testing/msw.mjs +2 -2
  53. package/dist/testing/suite.d.mts +6 -6
  54. package/dist/testing/suite.d.ts +6 -6
  55. package/dist/testing/suite.js +25 -25
  56. package/dist/testing/suite.mjs +6 -6
  57. package/dist/testing.d.mts +5 -5
  58. package/dist/testing.d.ts +5 -5
  59. package/dist/testing.js +81 -81
  60. package/dist/testing.mjs +7 -7
  61. package/dist/utils.d.mts +4 -4
  62. package/dist/utils.d.ts +4 -4
  63. package/dist/utils.js +29 -29
  64. package/dist/utils.mjs +2 -2
  65. package/package.json +1 -1
@@ -44,6 +44,8 @@ declare const ErrorCode: {
44
44
  readonly QUOTE_EXPIRED: "QUOTE_EXPIRED";
45
45
  readonly QUOTE_CONSUMED: "QUOTE_CONSUMED";
46
46
  readonly QUOTE_STORAGE_UNAVAILABLE: "QUOTE_STORAGE_UNAVAILABLE";
47
+ readonly QUOTE_VALIDATION_FAILED: "QUOTE_VALIDATION_FAILED";
48
+ readonly PRICE_CHANGED: "PRICE_CHANGED";
47
49
  readonly PAYMENT_FAILED: "PAYMENT_FAILED";
48
50
  readonly PAYMENT_CANCELLED: "PAYMENT_CANCELLED";
49
51
  readonly INSUFFICIENT_FUNDS: "INSUFFICIENT_FUNDS";
@@ -82,6 +84,19 @@ declare class IdempotencyMismatchError extends CimplifyError {
82
84
  constructor(message: string, originalCreatedAt: string);
83
85
  }
84
86
  declare function isCimplifyError(error: unknown): error is CimplifyError;
87
+ /**
88
+ * True for any quote-class error: cache miss, expiry, consumption, validation
89
+ * mismatch, or a price change since the quote was locked. Use this to route
90
+ * checkout failures into a quote-refresh + user-consent UX path.
91
+ */
92
+ declare function isQuoteError(error: unknown): boolean;
93
+ /**
94
+ * True for the quote errors where re-quoting + asking the shopper to confirm
95
+ * is the correct next step — there is real disagreement between the cart and
96
+ * the locked quote (different cart contents or a price change). Cache-miss
97
+ * errors are now self-healed at the backend and never surface here.
98
+ */
99
+ declare function isQuoteConflictRequiringConsent(error: unknown): boolean;
85
100
  declare function isIdempotencyMismatchError(error: unknown): error is IdempotencyMismatchError;
86
101
  declare function getErrorHint(code: string): ErrorHint | undefined;
87
102
  declare function enrichError(error: CimplifyError, options?: {
@@ -1517,4 +1532,4 @@ interface TagsResponse {
1517
1532
  offset: number;
1518
1533
  }
1519
1534
 
1520
- export { type DateRangeValue as $, type ApiError as A, type AttributeVisibility as B, type ChosenPrice as C, type DisplayMode as D, ErrorCode as E, type MeasurementValue as F, type AttributeValidationRules as G, type CustomAttributeDefinition as H, IdempotencyMismatchError as I, type CustomAttributeValue as J, type PropertySource as K, type ProductProperty as L, type Money as M, type PropertyFacet as N, type FacetValue as O, type PaginationParams as P, type KnowledgeArticle as Q, RENDER_HINT as R, type SchedulingMode as S, type TaxonomyAttributeTemplate as T, type Product as U, type VariantStrategy as V, type InputFieldType as W, INPUT_FIELD_TYPE as X, type AddressValue as Y, ZERO as Z, type PhoneValue as _, type CurrencyCode as a, type DiscountValidation as a$, type LocationValue as a0, type SignatureValue as a1, type InputFieldValidation as a2, type SemanticKind as a3, type ProductInputField as a4, type CustomerInputValue as a5, type QuantityPricingTier as a6, type RelatedProductView as a7, type ProductWithDetails as a8, type VariantView as a9, type BundleComponentVariantView as aA, type VariantAxisView as aB, type VariantAxisValueView as aC, type CompositePricingMode as aD, type GroupPricingBehavior as aE, type ComponentSourceType as aF, type Composite as aG, type CompositeWithDetails as aH, type ComponentGroup as aI, type ComponentGroupWithComponents as aJ, type CompositeGroupView as aK, type CompositeComponentView as aL, type CompositeComponent as aM, type ComponentSelectionInput as aN, type CompositePriceResult as aO, type ComponentPriceBreakdown as aP, type PriceEntryType as aQ, type Price as aR, type LocationProductPrice as aS, type ProductAvailability as aT, type ProductTimeProfile as aU, type ProductTaxonomy as aV, type TaxonomyWithChildren as aW, type ProductAvailabilityNow as aX, type DealBenefitType as aY, type Deal as aZ, type ProductDealInfo as a_, type ProductVariant as aa, type VariantDisplayAttribute as ab, type VariantAxis as ac, type VariantAxisWithValues as ad, type VariantAxisValue as ae, type ProductVariantValue as af, type VariantLocationAvailability as ag, type VariantAxisSelection as ah, type AddOn as ai, type AddOnWithOptions as aj, type AddOnOption as ak, type AddOnOptionPrice as al, type ProductAddOn as am, type Category as an, type CategorySummary as ao, type Collection as ap, type CollectionSummary as aq, type CollectionProduct as ar, type BundlePriceType as as, type Bundle as at, type BundleSummary as au, type BundleProduct as av, type BundleWithDetails as aw, type BundleComponentData as ax, type BundleComponentInfo as ay, type BundleComponentView as az, moneyFromNumber as b, type Tag as b0, type TagsResponse as b1, type CartStatus as b2, type CartChannel as b3, type PriceSource as b4, type AdjustmentType as b5, type PriceAdjustment as b6, type TaxPathComponent as b7, type PricePathTaxInfo as b8, type PriceDecisionPath as b9, type UICartPricing as bA, type AddOnOptionDetails as bB, type AddOnGroupDetails as bC, type VariantDetailsDTO as bD, type CartItemDetails as bE, type UICart as bF, type CartNotice as bG, type CartMutationResult as bH, type AddToCartInput as bI, type UpdateCartItemInput as bJ, type CartSummary as bK, type BillingFrequency as bL, type BillingPlanType as bM, type BillingMarkupType as bN, type ProductBillingPlan as bO, type EligiblePlansQuery as bP, type FormattedPlanOption as bQ, type SubscriptionStatus as bR, type Subscription as bS, type SubscriptionItem as bT, type SubscriptionInvoice as bU, type SubscriptionWithDetails as bV, type BenefitType as ba, type AppliedDiscount as bb, type DiscountBreakdown as bc, type DiscountDetails as bd, type SelectedAddOnOption as be, type AddOnDetails as bf, type CartAddOn as bg, type VariantDetails as bh, type BundleSelectionInput as bi, type ComponentSchedulingData as bj, type BundleStoredSelection as bk, type BundleSelectionData as bl, type CompositeStoredSelection as bm, type CompositePriceBreakdown as bn, type CompositeSelectionData as bo, type LineConfiguration as bp, type Cart as bq, type CartItem as br, type CartTotals as bs, type DisplayCart as bt, type DisplayCartItem as bu, type DisplayAddOn as bv, type DisplayAddOnOption as bw, type UICartBusiness as bx, type UICartLocation as by, type UICartCustomer as bz, currencyCode as c, type Pagination as d, type ErrorCodeType as e, type ErrorHint as f, ERROR_HINTS as g, CimplifyError as h, isSupportedCurrency as i, isCimplifyError as j, isIdempotencyMismatchError as k, getErrorHint as l, money as m, enrichError as n, isRetryableError as o, type ProductType as p, PRODUCT_TYPE as q, type ProductRenderHint as r, type InventoryType as s, type DigitalProductType as t, type DepositType as u, type DurationUnit as v, DURATION_UNIT as w, type SalesChannel as x, type AttributeType as y, type AttributeAppliesTo as z };
1535
+ export { type AddressValue as $, type ApiError as A, type AttributeType as B, type ChosenPrice as C, type DisplayMode as D, ErrorCode as E, type AttributeAppliesTo as F, type AttributeVisibility as G, type MeasurementValue as H, IdempotencyMismatchError as I, type AttributeValidationRules as J, type CustomAttributeDefinition as K, type CustomAttributeValue as L, type Money as M, type PropertySource as N, type ProductProperty as O, type PaginationParams as P, type PropertyFacet as Q, RENDER_HINT as R, type SchedulingMode as S, type FacetValue as T, type TaxonomyAttributeTemplate as U, type VariantStrategy as V, type KnowledgeArticle as W, type Product as X, type InputFieldType as Y, ZERO as Z, INPUT_FIELD_TYPE as _, type CurrencyCode as a, type Deal as a$, type PhoneValue as a0, type DateRangeValue as a1, type LocationValue as a2, type SignatureValue as a3, type InputFieldValidation as a4, type SemanticKind as a5, type ProductInputField as a6, type CustomerInputValue as a7, type QuantityPricingTier as a8, type RelatedProductView as a9, type BundleComponentInfo as aA, type BundleComponentView as aB, type BundleComponentVariantView as aC, type VariantAxisView as aD, type VariantAxisValueView as aE, type CompositePricingMode as aF, type GroupPricingBehavior as aG, type ComponentSourceType as aH, type Composite as aI, type CompositeWithDetails as aJ, type ComponentGroup as aK, type ComponentGroupWithComponents as aL, type CompositeGroupView as aM, type CompositeComponentView as aN, type CompositeComponent as aO, type ComponentSelectionInput as aP, type CompositePriceResult as aQ, type ComponentPriceBreakdown as aR, type PriceEntryType as aS, type Price as aT, type LocationProductPrice as aU, type ProductAvailability as aV, type ProductTimeProfile as aW, type ProductTaxonomy as aX, type TaxonomyWithChildren as aY, type ProductAvailabilityNow as aZ, type DealBenefitType as a_, type ProductWithDetails as aa, type VariantView as ab, type ProductVariant as ac, type VariantDisplayAttribute as ad, type VariantAxis as ae, type VariantAxisWithValues as af, type VariantAxisValue as ag, type ProductVariantValue as ah, type VariantLocationAvailability as ai, type VariantAxisSelection as aj, type AddOn as ak, type AddOnWithOptions as al, type AddOnOption as am, type AddOnOptionPrice as an, type ProductAddOn as ao, type Category as ap, type CategorySummary as aq, type Collection as ar, type CollectionSummary as as, type CollectionProduct as at, type BundlePriceType as au, type Bundle as av, type BundleSummary as aw, type BundleProduct as ax, type BundleWithDetails as ay, type BundleComponentData as az, moneyFromNumber as b, type ProductDealInfo as b0, type DiscountValidation as b1, type Tag as b2, type TagsResponse as b3, type CartStatus as b4, type CartChannel as b5, type PriceSource as b6, type AdjustmentType as b7, type PriceAdjustment as b8, type TaxPathComponent as b9, type UICartLocation as bA, type UICartCustomer as bB, type UICartPricing as bC, type AddOnOptionDetails as bD, type AddOnGroupDetails as bE, type VariantDetailsDTO as bF, type CartItemDetails as bG, type UICart as bH, type CartNotice as bI, type CartMutationResult as bJ, type AddToCartInput as bK, type UpdateCartItemInput as bL, type CartSummary as bM, type BillingFrequency as bN, type BillingPlanType as bO, type BillingMarkupType as bP, type ProductBillingPlan as bQ, type EligiblePlansQuery as bR, type FormattedPlanOption as bS, type SubscriptionStatus as bT, type Subscription as bU, type SubscriptionItem as bV, type SubscriptionInvoice as bW, type SubscriptionWithDetails as bX, type PricePathTaxInfo as ba, type PriceDecisionPath as bb, type BenefitType as bc, type AppliedDiscount as bd, type DiscountBreakdown as be, type DiscountDetails as bf, type SelectedAddOnOption as bg, type AddOnDetails as bh, type CartAddOn as bi, type VariantDetails as bj, type BundleSelectionInput as bk, type ComponentSchedulingData as bl, type BundleStoredSelection as bm, type BundleSelectionData as bn, type CompositeStoredSelection as bo, type CompositePriceBreakdown as bp, type CompositeSelectionData as bq, type LineConfiguration as br, type Cart as bs, type CartItem as bt, type CartTotals as bu, type DisplayCart as bv, type DisplayCartItem as bw, type DisplayAddOn as bx, type DisplayAddOnOption as by, type UICartBusiness as bz, currencyCode as c, type Pagination as d, type ErrorCodeType as e, type ErrorHint as f, ERROR_HINTS as g, CimplifyError as h, isSupportedCurrency as i, isCimplifyError as j, isQuoteError as k, isQuoteConflictRequiringConsent as l, money as m, isIdempotencyMismatchError as n, getErrorHint as o, enrichError as p, isRetryableError as q, type ProductType as r, PRODUCT_TYPE as s, type ProductRenderHint as t, type InventoryType as u, type DigitalProductType as v, type DepositType as w, type DurationUnit as x, DURATION_UNIT as y, type SalesChannel as z };
@@ -44,6 +44,8 @@ declare const ErrorCode: {
44
44
  readonly QUOTE_EXPIRED: "QUOTE_EXPIRED";
45
45
  readonly QUOTE_CONSUMED: "QUOTE_CONSUMED";
46
46
  readonly QUOTE_STORAGE_UNAVAILABLE: "QUOTE_STORAGE_UNAVAILABLE";
47
+ readonly QUOTE_VALIDATION_FAILED: "QUOTE_VALIDATION_FAILED";
48
+ readonly PRICE_CHANGED: "PRICE_CHANGED";
47
49
  readonly PAYMENT_FAILED: "PAYMENT_FAILED";
48
50
  readonly PAYMENT_CANCELLED: "PAYMENT_CANCELLED";
49
51
  readonly INSUFFICIENT_FUNDS: "INSUFFICIENT_FUNDS";
@@ -82,6 +84,19 @@ declare class IdempotencyMismatchError extends CimplifyError {
82
84
  constructor(message: string, originalCreatedAt: string);
83
85
  }
84
86
  declare function isCimplifyError(error: unknown): error is CimplifyError;
87
+ /**
88
+ * True for any quote-class error: cache miss, expiry, consumption, validation
89
+ * mismatch, or a price change since the quote was locked. Use this to route
90
+ * checkout failures into a quote-refresh + user-consent UX path.
91
+ */
92
+ declare function isQuoteError(error: unknown): boolean;
93
+ /**
94
+ * True for the quote errors where re-quoting + asking the shopper to confirm
95
+ * is the correct next step — there is real disagreement between the cart and
96
+ * the locked quote (different cart contents or a price change). Cache-miss
97
+ * errors are now self-healed at the backend and never surface here.
98
+ */
99
+ declare function isQuoteConflictRequiringConsent(error: unknown): boolean;
85
100
  declare function isIdempotencyMismatchError(error: unknown): error is IdempotencyMismatchError;
86
101
  declare function getErrorHint(code: string): ErrorHint | undefined;
87
102
  declare function enrichError(error: CimplifyError, options?: {
@@ -1517,4 +1532,4 @@ interface TagsResponse {
1517
1532
  offset: number;
1518
1533
  }
1519
1534
 
1520
- export { type DateRangeValue as $, type ApiError as A, type AttributeVisibility as B, type ChosenPrice as C, type DisplayMode as D, ErrorCode as E, type MeasurementValue as F, type AttributeValidationRules as G, type CustomAttributeDefinition as H, IdempotencyMismatchError as I, type CustomAttributeValue as J, type PropertySource as K, type ProductProperty as L, type Money as M, type PropertyFacet as N, type FacetValue as O, type PaginationParams as P, type KnowledgeArticle as Q, RENDER_HINT as R, type SchedulingMode as S, type TaxonomyAttributeTemplate as T, type Product as U, type VariantStrategy as V, type InputFieldType as W, INPUT_FIELD_TYPE as X, type AddressValue as Y, ZERO as Z, type PhoneValue as _, type CurrencyCode as a, type DiscountValidation as a$, type LocationValue as a0, type SignatureValue as a1, type InputFieldValidation as a2, type SemanticKind as a3, type ProductInputField as a4, type CustomerInputValue as a5, type QuantityPricingTier as a6, type RelatedProductView as a7, type ProductWithDetails as a8, type VariantView as a9, type BundleComponentVariantView as aA, type VariantAxisView as aB, type VariantAxisValueView as aC, type CompositePricingMode as aD, type GroupPricingBehavior as aE, type ComponentSourceType as aF, type Composite as aG, type CompositeWithDetails as aH, type ComponentGroup as aI, type ComponentGroupWithComponents as aJ, type CompositeGroupView as aK, type CompositeComponentView as aL, type CompositeComponent as aM, type ComponentSelectionInput as aN, type CompositePriceResult as aO, type ComponentPriceBreakdown as aP, type PriceEntryType as aQ, type Price as aR, type LocationProductPrice as aS, type ProductAvailability as aT, type ProductTimeProfile as aU, type ProductTaxonomy as aV, type TaxonomyWithChildren as aW, type ProductAvailabilityNow as aX, type DealBenefitType as aY, type Deal as aZ, type ProductDealInfo as a_, type ProductVariant as aa, type VariantDisplayAttribute as ab, type VariantAxis as ac, type VariantAxisWithValues as ad, type VariantAxisValue as ae, type ProductVariantValue as af, type VariantLocationAvailability as ag, type VariantAxisSelection as ah, type AddOn as ai, type AddOnWithOptions as aj, type AddOnOption as ak, type AddOnOptionPrice as al, type ProductAddOn as am, type Category as an, type CategorySummary as ao, type Collection as ap, type CollectionSummary as aq, type CollectionProduct as ar, type BundlePriceType as as, type Bundle as at, type BundleSummary as au, type BundleProduct as av, type BundleWithDetails as aw, type BundleComponentData as ax, type BundleComponentInfo as ay, type BundleComponentView as az, moneyFromNumber as b, type Tag as b0, type TagsResponse as b1, type CartStatus as b2, type CartChannel as b3, type PriceSource as b4, type AdjustmentType as b5, type PriceAdjustment as b6, type TaxPathComponent as b7, type PricePathTaxInfo as b8, type PriceDecisionPath as b9, type UICartPricing as bA, type AddOnOptionDetails as bB, type AddOnGroupDetails as bC, type VariantDetailsDTO as bD, type CartItemDetails as bE, type UICart as bF, type CartNotice as bG, type CartMutationResult as bH, type AddToCartInput as bI, type UpdateCartItemInput as bJ, type CartSummary as bK, type BillingFrequency as bL, type BillingPlanType as bM, type BillingMarkupType as bN, type ProductBillingPlan as bO, type EligiblePlansQuery as bP, type FormattedPlanOption as bQ, type SubscriptionStatus as bR, type Subscription as bS, type SubscriptionItem as bT, type SubscriptionInvoice as bU, type SubscriptionWithDetails as bV, type BenefitType as ba, type AppliedDiscount as bb, type DiscountBreakdown as bc, type DiscountDetails as bd, type SelectedAddOnOption as be, type AddOnDetails as bf, type CartAddOn as bg, type VariantDetails as bh, type BundleSelectionInput as bi, type ComponentSchedulingData as bj, type BundleStoredSelection as bk, type BundleSelectionData as bl, type CompositeStoredSelection as bm, type CompositePriceBreakdown as bn, type CompositeSelectionData as bo, type LineConfiguration as bp, type Cart as bq, type CartItem as br, type CartTotals as bs, type DisplayCart as bt, type DisplayCartItem as bu, type DisplayAddOn as bv, type DisplayAddOnOption as bw, type UICartBusiness as bx, type UICartLocation as by, type UICartCustomer as bz, currencyCode as c, type Pagination as d, type ErrorCodeType as e, type ErrorHint as f, ERROR_HINTS as g, CimplifyError as h, isSupportedCurrency as i, isCimplifyError as j, isIdempotencyMismatchError as k, getErrorHint as l, money as m, enrichError as n, isRetryableError as o, type ProductType as p, PRODUCT_TYPE as q, type ProductRenderHint as r, type InventoryType as s, type DigitalProductType as t, type DepositType as u, type DurationUnit as v, DURATION_UNIT as w, type SalesChannel as x, type AttributeType as y, type AttributeAppliesTo as z };
1535
+ export { type AddressValue as $, type ApiError as A, type AttributeType as B, type ChosenPrice as C, type DisplayMode as D, ErrorCode as E, type AttributeAppliesTo as F, type AttributeVisibility as G, type MeasurementValue as H, IdempotencyMismatchError as I, type AttributeValidationRules as J, type CustomAttributeDefinition as K, type CustomAttributeValue as L, type Money as M, type PropertySource as N, type ProductProperty as O, type PaginationParams as P, type PropertyFacet as Q, RENDER_HINT as R, type SchedulingMode as S, type FacetValue as T, type TaxonomyAttributeTemplate as U, type VariantStrategy as V, type KnowledgeArticle as W, type Product as X, type InputFieldType as Y, ZERO as Z, INPUT_FIELD_TYPE as _, type CurrencyCode as a, type Deal as a$, type PhoneValue as a0, type DateRangeValue as a1, type LocationValue as a2, type SignatureValue as a3, type InputFieldValidation as a4, type SemanticKind as a5, type ProductInputField as a6, type CustomerInputValue as a7, type QuantityPricingTier as a8, type RelatedProductView as a9, type BundleComponentInfo as aA, type BundleComponentView as aB, type BundleComponentVariantView as aC, type VariantAxisView as aD, type VariantAxisValueView as aE, type CompositePricingMode as aF, type GroupPricingBehavior as aG, type ComponentSourceType as aH, type Composite as aI, type CompositeWithDetails as aJ, type ComponentGroup as aK, type ComponentGroupWithComponents as aL, type CompositeGroupView as aM, type CompositeComponentView as aN, type CompositeComponent as aO, type ComponentSelectionInput as aP, type CompositePriceResult as aQ, type ComponentPriceBreakdown as aR, type PriceEntryType as aS, type Price as aT, type LocationProductPrice as aU, type ProductAvailability as aV, type ProductTimeProfile as aW, type ProductTaxonomy as aX, type TaxonomyWithChildren as aY, type ProductAvailabilityNow as aZ, type DealBenefitType as a_, type ProductWithDetails as aa, type VariantView as ab, type ProductVariant as ac, type VariantDisplayAttribute as ad, type VariantAxis as ae, type VariantAxisWithValues as af, type VariantAxisValue as ag, type ProductVariantValue as ah, type VariantLocationAvailability as ai, type VariantAxisSelection as aj, type AddOn as ak, type AddOnWithOptions as al, type AddOnOption as am, type AddOnOptionPrice as an, type ProductAddOn as ao, type Category as ap, type CategorySummary as aq, type Collection as ar, type CollectionSummary as as, type CollectionProduct as at, type BundlePriceType as au, type Bundle as av, type BundleSummary as aw, type BundleProduct as ax, type BundleWithDetails as ay, type BundleComponentData as az, moneyFromNumber as b, type ProductDealInfo as b0, type DiscountValidation as b1, type Tag as b2, type TagsResponse as b3, type CartStatus as b4, type CartChannel as b5, type PriceSource as b6, type AdjustmentType as b7, type PriceAdjustment as b8, type TaxPathComponent as b9, type UICartLocation as bA, type UICartCustomer as bB, type UICartPricing as bC, type AddOnOptionDetails as bD, type AddOnGroupDetails as bE, type VariantDetailsDTO as bF, type CartItemDetails as bG, type UICart as bH, type CartNotice as bI, type CartMutationResult as bJ, type AddToCartInput as bK, type UpdateCartItemInput as bL, type CartSummary as bM, type BillingFrequency as bN, type BillingPlanType as bO, type BillingMarkupType as bP, type ProductBillingPlan as bQ, type EligiblePlansQuery as bR, type FormattedPlanOption as bS, type SubscriptionStatus as bT, type Subscription as bU, type SubscriptionItem as bV, type SubscriptionInvoice as bW, type SubscriptionWithDetails as bX, type PricePathTaxInfo as ba, type PriceDecisionPath as bb, type BenefitType as bc, type AppliedDiscount as bd, type DiscountBreakdown as be, type DiscountDetails as bf, type SelectedAddOnOption as bg, type AddOnDetails as bh, type CartAddOn as bi, type VariantDetails as bj, type BundleSelectionInput as bk, type ComponentSchedulingData as bl, type BundleStoredSelection as bm, type BundleSelectionData as bn, type CompositeStoredSelection as bo, type CompositePriceBreakdown as bp, type CompositeSelectionData as bq, type LineConfiguration as br, type Cart as bs, type CartItem as bt, type CartTotals as bu, type DisplayCart as bv, type DisplayCartItem as bw, type DisplayAddOn as bx, type DisplayAddOnOption as by, type UICartBusiness as bz, currencyCode as c, type Pagination as d, type ErrorCodeType as e, type ErrorHint as f, ERROR_HINTS as g, CimplifyError as h, isSupportedCurrency as i, isCimplifyError as j, isQuoteError as k, isQuoteConflictRequiringConsent as l, money as m, isIdempotencyMismatchError as n, getErrorHint as o, enrichError as p, isRetryableError as q, type ProductType as r, PRODUCT_TYPE as s, type ProductRenderHint as t, type InventoryType as u, type DigitalProductType as v, type DepositType as w, type DurationUnit as x, DURATION_UNIT as y, type SalesChannel as z };
package/dist/react.d.mts CHANGED
@@ -1,12 +1,12 @@
1
1
  import React$1, { ReactNode } from 'react';
2
2
  import { A as AdSlot, a as AdPosition, e as AdContextValue } from './ads-BxbWrwqp.mjs';
3
3
  export { c as AdConfig, g as getVariantDisplayName } from './ads-BxbWrwqp.mjs';
4
- import { C as CimplifyClient, an as ProcessCheckoutResult, ap as CheckoutStatus, aq as CheckoutStatusContext, bZ as Location, bW as Business, k as ReorderResult, b4 as OrderStatus, bh as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, ca as Service, cf as AvailableSlot, cg as DayAvailability, cl as CustomerBooking, cr as CancelBookingResult, J as ActivityStateResponse, E as SessionMessage, K as ActivityRecommendation, W as DeliveryFeeResponse, d0 as FxRateResponse, c4 as StorefrontBootstrap, a0 as ChatWidgetStarter, Y as ChatMessage, ab as ElementsOptions, de as AuthenticatedData, da as AddressInfo, db as PaymentMethodInfo, a5 as CimplifyElements, dg as ElementsCheckoutResult, am as ProcessCheckoutOptions, bg as LineItem, cb as Staff, c2 as Room } from './client-DyrpQRza.mjs';
5
- import { a as CurrencyCode, U as Product, d as Pagination, h as CimplifyError, a8 as ProductWithDetails, an as Category, M as Money, bi as BundleSelectionInput, aN as ComponentSelectionInput, bl as BundleSelectionData, bo as CompositeSelectionData, ap as Collection, aV as ProductTaxonomy, aW as TaxonomyWithChildren, aU as ProductTimeProfile, aZ as Deal, a_ as ProductDealInfo, a$ as DiscountValidation, au as BundleSummary, aO as CompositePriceResult, bR as SubscriptionStatus, bS as Subscription, bV as SubscriptionWithDetails, H as CustomAttributeDefinition, N as PropertyFacet, bO as ProductBillingPlan, a9 as VariantView, ad as VariantAxisWithValues, aj as AddOnWithOptions, az as BundleComponentView, as as BundlePriceType, aK as CompositeGroupView, bt as DisplayCart, a4 as ProductInputField, J as CustomAttributeValue, L as ProductProperty, a6 as QuantityPricingTier } from './product-DiX-HGkT.mjs';
6
- import { P as ProductWithPrice } from './price-YBGk5seG.mjs';
4
+ import { C as CimplifyClient, an as ProcessCheckoutResult, ap as CheckoutStatus, aq as CheckoutStatusContext, bZ as Location, bW as Business, k as ReorderResult, b4 as OrderStatus, bh as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, ca as Service, cf as AvailableSlot, cg as DayAvailability, cl as CustomerBooking, cr as CancelBookingResult, J as ActivityStateResponse, E as SessionMessage, K as ActivityRecommendation, W as DeliveryFeeResponse, d0 as FxRateResponse, c4 as StorefrontBootstrap, a0 as ChatWidgetStarter, Y as ChatMessage, ab as ElementsOptions, de as AuthenticatedData, da as AddressInfo, db as PaymentMethodInfo, a5 as CimplifyElements, dg as ElementsCheckoutResult, am as ProcessCheckoutOptions, bg as LineItem, cb as Staff, c2 as Room } from './client-G2WCoxv2.mjs';
5
+ import { a as CurrencyCode, X as Product, d as Pagination, h as CimplifyError, aa as ProductWithDetails, ap as Category, M as Money, bk as BundleSelectionInput, aP as ComponentSelectionInput, bn as BundleSelectionData, bq as CompositeSelectionData, ar as Collection, aX as ProductTaxonomy, aY as TaxonomyWithChildren, aW as ProductTimeProfile, a$ as Deal, b0 as ProductDealInfo, b1 as DiscountValidation, aw as BundleSummary, aQ as CompositePriceResult, bT as SubscriptionStatus, bU as Subscription, bX as SubscriptionWithDetails, K as CustomAttributeDefinition, Q as PropertyFacet, bQ as ProductBillingPlan, ab as VariantView, af as VariantAxisWithValues, al as AddOnWithOptions, aB as BundleComponentView, au as BundlePriceType, aM as CompositeGroupView, bv as DisplayCart, a6 as ProductInputField, L as CustomAttributeValue, O as ProductProperty, a8 as QuantityPricingTier } from './product-C-xLzh7Q.mjs';
6
+ import { P as ProductWithPrice } from './price-BjehlIhG.mjs';
7
7
  import { ClassValue } from 'clsx';
8
8
  import * as react_jsx_runtime from 'react/jsx-runtime';
9
- import './payment-Bse2XJ-c.mjs';
9
+ import './payment-9L_-GWqQ.mjs';
10
10
 
11
11
  interface UserIdentity {
12
12
  uid: string;
package/dist/react.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import React$1, { ReactNode } from 'react';
2
2
  import { A as AdSlot, a as AdPosition, e as AdContextValue } from './ads-BxbWrwqp.js';
3
3
  export { c as AdConfig, g as getVariantDisplayName } from './ads-BxbWrwqp.js';
4
- import { C as CimplifyClient, an as ProcessCheckoutResult, ap as CheckoutStatus, aq as CheckoutStatusContext, bZ as Location, bW as Business, k as ReorderResult, b4 as OrderStatus, bh as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, ca as Service, cf as AvailableSlot, cg as DayAvailability, cl as CustomerBooking, cr as CancelBookingResult, J as ActivityStateResponse, E as SessionMessage, K as ActivityRecommendation, W as DeliveryFeeResponse, d0 as FxRateResponse, c4 as StorefrontBootstrap, a0 as ChatWidgetStarter, Y as ChatMessage, ab as ElementsOptions, de as AuthenticatedData, da as AddressInfo, db as PaymentMethodInfo, a5 as CimplifyElements, dg as ElementsCheckoutResult, am as ProcessCheckoutOptions, bg as LineItem, cb as Staff, c2 as Room } from './client-B9r5rH3O.js';
5
- import { a as CurrencyCode, U as Product, d as Pagination, h as CimplifyError, a8 as ProductWithDetails, an as Category, M as Money, bi as BundleSelectionInput, aN as ComponentSelectionInput, bl as BundleSelectionData, bo as CompositeSelectionData, ap as Collection, aV as ProductTaxonomy, aW as TaxonomyWithChildren, aU as ProductTimeProfile, aZ as Deal, a_ as ProductDealInfo, a$ as DiscountValidation, au as BundleSummary, aO as CompositePriceResult, bR as SubscriptionStatus, bS as Subscription, bV as SubscriptionWithDetails, H as CustomAttributeDefinition, N as PropertyFacet, bO as ProductBillingPlan, a9 as VariantView, ad as VariantAxisWithValues, aj as AddOnWithOptions, az as BundleComponentView, as as BundlePriceType, aK as CompositeGroupView, bt as DisplayCart, a4 as ProductInputField, J as CustomAttributeValue, L as ProductProperty, a6 as QuantityPricingTier } from './product-DiX-HGkT.js';
6
- import { P as ProductWithPrice } from './price-mHkRncgW.js';
4
+ import { C as CimplifyClient, an as ProcessCheckoutResult, ap as CheckoutStatus, aq as CheckoutStatusContext, bZ as Location, bW as Business, k as ReorderResult, b4 as OrderStatus, bh as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, ca as Service, cf as AvailableSlot, cg as DayAvailability, cl as CustomerBooking, cr as CancelBookingResult, J as ActivityStateResponse, E as SessionMessage, K as ActivityRecommendation, W as DeliveryFeeResponse, d0 as FxRateResponse, c4 as StorefrontBootstrap, a0 as ChatWidgetStarter, Y as ChatMessage, ab as ElementsOptions, de as AuthenticatedData, da as AddressInfo, db as PaymentMethodInfo, a5 as CimplifyElements, dg as ElementsCheckoutResult, am as ProcessCheckoutOptions, bg as LineItem, cb as Staff, c2 as Room } from './client-QVINYu1X.js';
5
+ import { a as CurrencyCode, X as Product, d as Pagination, h as CimplifyError, aa as ProductWithDetails, ap as Category, M as Money, bk as BundleSelectionInput, aP as ComponentSelectionInput, bn as BundleSelectionData, bq as CompositeSelectionData, ar as Collection, aX as ProductTaxonomy, aY as TaxonomyWithChildren, aW as ProductTimeProfile, a$ as Deal, b0 as ProductDealInfo, b1 as DiscountValidation, aw as BundleSummary, aQ as CompositePriceResult, bT as SubscriptionStatus, bU as Subscription, bX as SubscriptionWithDetails, K as CustomAttributeDefinition, Q as PropertyFacet, bQ as ProductBillingPlan, ab as VariantView, af as VariantAxisWithValues, al as AddOnWithOptions, aB as BundleComponentView, au as BundlePriceType, aM as CompositeGroupView, bv as DisplayCart, a6 as ProductInputField, L as CustomAttributeValue, O as ProductProperty, a8 as QuantityPricingTier } from './product-C-xLzh7Q.js';
6
+ import { P as ProductWithPrice } from './price-CWQ5TQmk.js';
7
7
  import { ClassValue } from 'clsx';
8
8
  import * as react_jsx_runtime from 'react/jsx-runtime';
9
- import './payment-JcNqOf_T.js';
9
+ import './payment-_e99nSRj.js';
10
10
 
11
11
  interface UserIdentity {
12
12
  uid: string;