@behio/storefront-sdk 0.25.0 → 0.26.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.
@@ -263,6 +263,12 @@ interface MenuItemRef {
263
263
  type: MenuItemType;
264
264
  slug: string;
265
265
  }
266
+ /**
267
+ * Badge tone preset for a menu item chip. Maps to storefront design tokens on
268
+ * the template side (SALE -> danger, NEW -> success, ACCENT -> primary,
269
+ * NEUTRAL -> current text color). Custom hex colors override the preset.
270
+ */
271
+ type BadgeTone = "NEUTRAL" | "SALE" | "NEW" | "ACCENT";
266
272
  interface MenuItem {
267
273
  id: string;
268
274
  type: MenuItemType;
@@ -275,6 +281,23 @@ interface MenuItem {
275
281
  ref?: MenuItemRef | null;
276
282
  /** Optional badge chip text (e.g. "Novinka", "Sleva"). */
277
283
  badgeText?: string | null;
284
+ /**
285
+ * Badge tone preset driving the chip colors from storefront tokens. Always
286
+ * present. Custom `badgeColor`/`badgeTextColor` override it when set.
287
+ */
288
+ badgeTone: BadgeTone;
289
+ /** Custom badge background hex (overrides `badgeTone`), or null. */
290
+ badgeColor?: string | null;
291
+ /** Custom badge text hex, or null. */
292
+ badgeTextColor?: string | null;
293
+ /** Custom hex for the item label text itself, or null to inherit. */
294
+ labelColor?: string | null;
295
+ /** Lucide icon slug rendered next to the label, or null. */
296
+ icon?: string | null;
297
+ /** Emphasize this item (bold/accent). */
298
+ isHighlighted: boolean;
299
+ /** LINK items: open the target in a new browser tab. Always false on typed items. */
300
+ openInNewTab: boolean;
278
301
  /** Processed image URL for mega-menu tiles (null when no image set). */
279
302
  imageUrl?: string | null;
280
303
  /** Nested items, up to depth 3. */
@@ -1557,4 +1580,4 @@ declare class ShippingModule {
1557
1580
  }>>;
1558
1581
  }
1559
1582
 
1560
- export { type OrderItem as $, type AddressSuggestion as A, type BehioStorefrontConfig as B, type Category as C, type SubmitReturnInput as D, type CookieConsent as E, type FilterField as F, type GiftCardBalance as G, type CookieConsentInput as H, type SubmitQuoteInput as I, type BackInStockSubscription as J, type AddToCartInput as K, type AuthTokens as L, type Menu as M, BehioApiError as N, type OrderListItem as O, type ProductsQuery as P, type QuoteRequest as Q, type RegisterInput as R, type ShopInfo as S, type BundleItem as T, type CartDiscount as U, type CartItem as V, type WishlistItem as W, type CheckoutAddress as X, type FulfillmentStatus as Y, type LoginInput as Z, type MessageResponse as _, BehioStorefront as a, type OrderStatus as a0, type PaymentStatus as a1, type ProductPrice as a2, type ProductReview as a3, type ProductVariant as a4, type AddressType as a5, AddressTypes as a6, type BehioErrorCode as a7, type BehioEventHandler as a8, type BehioEventType as a9, type ResponseInterceptorData as aA, type ReturnRequestItem as aB, type ReturnStatusItem as aC, type ReturnableOrderItem as aD, type SdkError as aE, type SdkResult as aF, type ShippingMethodSummary as aG, type ShippingQuote as aH, type ShippingQuoteInput as aI, type ShopScript as aJ, type ShopScriptPlacement as aK, type ShopScriptType as aL, err as aM, ok as aN, toSdkError as aO, BehioNetworkError as aa, type CartBundleLine as ab, type CartBundleLineItem as ac, type CartItemProduct as ad, type CheckoutPaymentMethod as ae, type DataGroupFieldType as af, FulfillmentStatuses as ag, type GiftCardSummary as ah, type MenuItem as ai, type MenuItemRef as aj, type MenuItemType as ak, type OrderStatusHistory as al, OrderStatuses as am, type OrderTracking as an, type PageAttachment as ao, PaymentStatuses as ap, type ProductMedia as aq, type ProductMediaVariant as ar, ProductSort as as, type ProductSortValue as at, type ProductVolumePrice as au, type QuoteItem as av, type RegisterResult as aw, type RequestInterceptor as ax, type RequestInterceptorConfig as ay, type ResponseInterceptor as az, type PaginatedResponse as b, type ProductListItem as c, type ProductDetail as d, type CategoryDetail as e, type ProductLabel as f, type Cart as g, type CustomerProfile as h, type CustomerAddress as i, type AddressDetail as j, type OrderDetail as k, type OrderAccessRequestResponse as l, type OrderAccessVerifyResponse as m, type CheckoutInput as n, type PageDetail as o, type Page as p, type ShopScripts as q, type ShopSeo as r, type Bundle as s, type CrossSellItem as t, type ActivePromotion as u, type ProductReviewsResponse as v, type SubmitReviewInput as w, type ReturnableOrder as x, type ReturnStatus as y, type ReturnRequest as z };
1583
+ export { type OrderItem as $, type AddressSuggestion as A, type BehioStorefrontConfig as B, type Category as C, type SubmitReturnInput as D, type CookieConsent as E, type FilterField as F, type GiftCardBalance as G, type CookieConsentInput as H, type SubmitQuoteInput as I, type BackInStockSubscription as J, type AddToCartInput as K, type AuthTokens as L, type Menu as M, BehioApiError as N, type OrderListItem as O, type ProductsQuery as P, type QuoteRequest as Q, type RegisterInput as R, type ShopInfo as S, type BundleItem as T, type CartDiscount as U, type CartItem as V, type WishlistItem as W, type CheckoutAddress as X, type FulfillmentStatus as Y, type LoginInput as Z, type MessageResponse as _, BehioStorefront as a, type OrderStatus as a0, type PaymentStatus as a1, type ProductPrice as a2, type ProductReview as a3, type ProductVariant as a4, type AddressType as a5, AddressTypes as a6, type BadgeTone as a7, type BehioErrorCode as a8, type BehioEventHandler as a9, type ResponseInterceptor as aA, type ResponseInterceptorData as aB, type ReturnRequestItem as aC, type ReturnStatusItem as aD, type ReturnableOrderItem as aE, type SdkError as aF, type SdkResult as aG, type ShippingMethodSummary as aH, type ShippingQuote as aI, type ShippingQuoteInput as aJ, type ShopScript as aK, type ShopScriptPlacement as aL, type ShopScriptType as aM, err as aN, ok as aO, toSdkError as aP, type BehioEventType as aa, BehioNetworkError as ab, type CartBundleLine as ac, type CartBundleLineItem as ad, type CartItemProduct as ae, type CheckoutPaymentMethod as af, type DataGroupFieldType as ag, FulfillmentStatuses as ah, type GiftCardSummary as ai, type MenuItem as aj, type MenuItemRef as ak, type MenuItemType as al, type OrderStatusHistory as am, OrderStatuses as an, type OrderTracking as ao, type PageAttachment as ap, PaymentStatuses as aq, type ProductMedia as ar, type ProductMediaVariant as as, ProductSort as at, type ProductSortValue as au, type ProductVolumePrice as av, type QuoteItem as aw, type RegisterResult as ax, type RequestInterceptor as ay, type RequestInterceptorConfig as az, type PaginatedResponse as b, type ProductListItem as c, type ProductDetail as d, type CategoryDetail as e, type ProductLabel as f, type Cart as g, type CustomerProfile as h, type CustomerAddress as i, type AddressDetail as j, type OrderDetail as k, type OrderAccessRequestResponse as l, type OrderAccessVerifyResponse as m, type CheckoutInput as n, type PageDetail as o, type Page as p, type ShopScripts as q, type ShopSeo as r, type Bundle as s, type CrossSellItem as t, type ActivePromotion as u, type ProductReviewsResponse as v, type SubmitReviewInput as w, type ReturnableOrder as x, type ReturnStatus as y, type ReturnRequest as z };
@@ -263,6 +263,12 @@ interface MenuItemRef {
263
263
  type: MenuItemType;
264
264
  slug: string;
265
265
  }
266
+ /**
267
+ * Badge tone preset for a menu item chip. Maps to storefront design tokens on
268
+ * the template side (SALE -> danger, NEW -> success, ACCENT -> primary,
269
+ * NEUTRAL -> current text color). Custom hex colors override the preset.
270
+ */
271
+ type BadgeTone = "NEUTRAL" | "SALE" | "NEW" | "ACCENT";
266
272
  interface MenuItem {
267
273
  id: string;
268
274
  type: MenuItemType;
@@ -275,6 +281,23 @@ interface MenuItem {
275
281
  ref?: MenuItemRef | null;
276
282
  /** Optional badge chip text (e.g. "Novinka", "Sleva"). */
277
283
  badgeText?: string | null;
284
+ /**
285
+ * Badge tone preset driving the chip colors from storefront tokens. Always
286
+ * present. Custom `badgeColor`/`badgeTextColor` override it when set.
287
+ */
288
+ badgeTone: BadgeTone;
289
+ /** Custom badge background hex (overrides `badgeTone`), or null. */
290
+ badgeColor?: string | null;
291
+ /** Custom badge text hex, or null. */
292
+ badgeTextColor?: string | null;
293
+ /** Custom hex for the item label text itself, or null to inherit. */
294
+ labelColor?: string | null;
295
+ /** Lucide icon slug rendered next to the label, or null. */
296
+ icon?: string | null;
297
+ /** Emphasize this item (bold/accent). */
298
+ isHighlighted: boolean;
299
+ /** LINK items: open the target in a new browser tab. Always false on typed items. */
300
+ openInNewTab: boolean;
278
301
  /** Processed image URL for mega-menu tiles (null when no image set). */
279
302
  imageUrl?: string | null;
280
303
  /** Nested items, up to depth 3. */
@@ -1557,4 +1580,4 @@ declare class ShippingModule {
1557
1580
  }>>;
1558
1581
  }
1559
1582
 
1560
- export { type OrderItem as $, type AddressSuggestion as A, type BehioStorefrontConfig as B, type Category as C, type SubmitReturnInput as D, type CookieConsent as E, type FilterField as F, type GiftCardBalance as G, type CookieConsentInput as H, type SubmitQuoteInput as I, type BackInStockSubscription as J, type AddToCartInput as K, type AuthTokens as L, type Menu as M, BehioApiError as N, type OrderListItem as O, type ProductsQuery as P, type QuoteRequest as Q, type RegisterInput as R, type ShopInfo as S, type BundleItem as T, type CartDiscount as U, type CartItem as V, type WishlistItem as W, type CheckoutAddress as X, type FulfillmentStatus as Y, type LoginInput as Z, type MessageResponse as _, BehioStorefront as a, type OrderStatus as a0, type PaymentStatus as a1, type ProductPrice as a2, type ProductReview as a3, type ProductVariant as a4, type AddressType as a5, AddressTypes as a6, type BehioErrorCode as a7, type BehioEventHandler as a8, type BehioEventType as a9, type ResponseInterceptorData as aA, type ReturnRequestItem as aB, type ReturnStatusItem as aC, type ReturnableOrderItem as aD, type SdkError as aE, type SdkResult as aF, type ShippingMethodSummary as aG, type ShippingQuote as aH, type ShippingQuoteInput as aI, type ShopScript as aJ, type ShopScriptPlacement as aK, type ShopScriptType as aL, err as aM, ok as aN, toSdkError as aO, BehioNetworkError as aa, type CartBundleLine as ab, type CartBundleLineItem as ac, type CartItemProduct as ad, type CheckoutPaymentMethod as ae, type DataGroupFieldType as af, FulfillmentStatuses as ag, type GiftCardSummary as ah, type MenuItem as ai, type MenuItemRef as aj, type MenuItemType as ak, type OrderStatusHistory as al, OrderStatuses as am, type OrderTracking as an, type PageAttachment as ao, PaymentStatuses as ap, type ProductMedia as aq, type ProductMediaVariant as ar, ProductSort as as, type ProductSortValue as at, type ProductVolumePrice as au, type QuoteItem as av, type RegisterResult as aw, type RequestInterceptor as ax, type RequestInterceptorConfig as ay, type ResponseInterceptor as az, type PaginatedResponse as b, type ProductListItem as c, type ProductDetail as d, type CategoryDetail as e, type ProductLabel as f, type Cart as g, type CustomerProfile as h, type CustomerAddress as i, type AddressDetail as j, type OrderDetail as k, type OrderAccessRequestResponse as l, type OrderAccessVerifyResponse as m, type CheckoutInput as n, type PageDetail as o, type Page as p, type ShopScripts as q, type ShopSeo as r, type Bundle as s, type CrossSellItem as t, type ActivePromotion as u, type ProductReviewsResponse as v, type SubmitReviewInput as w, type ReturnableOrder as x, type ReturnStatus as y, type ReturnRequest as z };
1583
+ export { type OrderItem as $, type AddressSuggestion as A, type BehioStorefrontConfig as B, type Category as C, type SubmitReturnInput as D, type CookieConsent as E, type FilterField as F, type GiftCardBalance as G, type CookieConsentInput as H, type SubmitQuoteInput as I, type BackInStockSubscription as J, type AddToCartInput as K, type AuthTokens as L, type Menu as M, BehioApiError as N, type OrderListItem as O, type ProductsQuery as P, type QuoteRequest as Q, type RegisterInput as R, type ShopInfo as S, type BundleItem as T, type CartDiscount as U, type CartItem as V, type WishlistItem as W, type CheckoutAddress as X, type FulfillmentStatus as Y, type LoginInput as Z, type MessageResponse as _, BehioStorefront as a, type OrderStatus as a0, type PaymentStatus as a1, type ProductPrice as a2, type ProductReview as a3, type ProductVariant as a4, type AddressType as a5, AddressTypes as a6, type BadgeTone as a7, type BehioErrorCode as a8, type BehioEventHandler as a9, type ResponseInterceptor as aA, type ResponseInterceptorData as aB, type ReturnRequestItem as aC, type ReturnStatusItem as aD, type ReturnableOrderItem as aE, type SdkError as aF, type SdkResult as aG, type ShippingMethodSummary as aH, type ShippingQuote as aI, type ShippingQuoteInput as aJ, type ShopScript as aK, type ShopScriptPlacement as aL, type ShopScriptType as aM, err as aN, ok as aO, toSdkError as aP, type BehioEventType as aa, BehioNetworkError as ab, type CartBundleLine as ac, type CartBundleLineItem as ad, type CartItemProduct as ae, type CheckoutPaymentMethod as af, type DataGroupFieldType as ag, FulfillmentStatuses as ah, type GiftCardSummary as ai, type MenuItem as aj, type MenuItemRef as ak, type MenuItemType as al, type OrderStatusHistory as am, OrderStatuses as an, type OrderTracking as ao, type PageAttachment as ap, PaymentStatuses as aq, type ProductMedia as ar, type ProductMediaVariant as as, ProductSort as at, type ProductSortValue as au, type ProductVolumePrice as av, type QuoteItem as aw, type RegisterResult as ax, type RequestInterceptor as ay, type RequestInterceptorConfig as az, type PaginatedResponse as b, type ProductListItem as c, type ProductDetail as d, type CategoryDetail as e, type ProductLabel as f, type Cart as g, type CustomerProfile as h, type CustomerAddress as i, type AddressDetail as j, type OrderDetail as k, type OrderAccessRequestResponse as l, type OrderAccessVerifyResponse as m, type CheckoutInput as n, type PageDetail as o, type Page as p, type ShopScripts as q, type ShopSeo as r, type Bundle as s, type CrossSellItem as t, type ActivePromotion as u, type ProductReviewsResponse as v, type SubmitReviewInput as w, type ReturnableOrder as x, type ReturnStatus as y, type ReturnRequest as z };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- export { u as ActivePromotion, K as AddToCartInput, j as AddressDetail, A as AddressSuggestion, a5 as AddressType, a6 as AddressTypes, L as AuthTokens, J as BackInStockSubscription, N as BehioApiError, a7 as BehioErrorCode, a8 as BehioEventHandler, a9 as BehioEventType, aa as BehioNetworkError, a as BehioStorefront, B as BehioStorefrontConfig, s as Bundle, T as BundleItem, g as Cart, ab as CartBundleLine, ac as CartBundleLineItem, U as CartDiscount, V as CartItem, ad as CartItemProduct, C as Category, e as CategoryDetail, X as CheckoutAddress, n as CheckoutInput, ae as CheckoutPaymentMethod, E as CookieConsent, H as CookieConsentInput, t as CrossSellItem, i as CustomerAddress, h as CustomerProfile, af as DataGroupFieldType, F as FilterField, Y as FulfillmentStatus, ag as FulfillmentStatuses, G as GiftCardBalance, ah as GiftCardSummary, Z as LoginInput, M as Menu, ai as MenuItem, aj as MenuItemRef, ak as MenuItemType, _ as MessageResponse, l as OrderAccessRequestResponse, m as OrderAccessVerifyResponse, k as OrderDetail, $ as OrderItem, O as OrderListItem, a0 as OrderStatus, al as OrderStatusHistory, am as OrderStatuses, an as OrderTracking, p as Page, ao as PageAttachment, o as PageDetail, b as PaginatedResponse, a1 as PaymentStatus, ap as PaymentStatuses, d as ProductDetail, f as ProductLabel, c as ProductListItem, aq as ProductMedia, ar as ProductMediaVariant, a2 as ProductPrice, a3 as ProductReview, v as ProductReviewsResponse, as as ProductSort, at as ProductSortValue, a4 as ProductVariant, au as ProductVolumePrice, P as ProductsQuery, av as QuoteItem, Q as QuoteRequest, R as RegisterInput, aw as RegisterResult, ax as RequestInterceptor, ay as RequestInterceptorConfig, az as ResponseInterceptor, aA as ResponseInterceptorData, z as ReturnRequest, aB as ReturnRequestItem, y as ReturnStatus, aC as ReturnStatusItem, x as ReturnableOrder, aD as ReturnableOrderItem, aE as SdkError, aF as SdkResult, aG as ShippingMethodSummary, aH as ShippingQuote, aI as ShippingQuoteInput, S as ShopInfo, aJ as ShopScript, aK as ShopScriptPlacement, aL as ShopScriptType, q as ShopScripts, r as ShopSeo, I as SubmitQuoteInput, D as SubmitReturnInput, w as SubmitReviewInput, W as WishlistItem, aM as err, aN as ok, aO as toSdkError } from './client-76vvJ0_n.mjs';
1
+ export { u as ActivePromotion, K as AddToCartInput, j as AddressDetail, A as AddressSuggestion, a5 as AddressType, a6 as AddressTypes, L as AuthTokens, J as BackInStockSubscription, a7 as BadgeTone, N as BehioApiError, a8 as BehioErrorCode, a9 as BehioEventHandler, aa as BehioEventType, ab as BehioNetworkError, a as BehioStorefront, B as BehioStorefrontConfig, s as Bundle, T as BundleItem, g as Cart, ac as CartBundleLine, ad as CartBundleLineItem, U as CartDiscount, V as CartItem, ae as CartItemProduct, C as Category, e as CategoryDetail, X as CheckoutAddress, n as CheckoutInput, af as CheckoutPaymentMethod, E as CookieConsent, H as CookieConsentInput, t as CrossSellItem, i as CustomerAddress, h as CustomerProfile, ag as DataGroupFieldType, F as FilterField, Y as FulfillmentStatus, ah as FulfillmentStatuses, G as GiftCardBalance, ai as GiftCardSummary, Z as LoginInput, M as Menu, aj as MenuItem, ak as MenuItemRef, al as MenuItemType, _ as MessageResponse, l as OrderAccessRequestResponse, m as OrderAccessVerifyResponse, k as OrderDetail, $ as OrderItem, O as OrderListItem, a0 as OrderStatus, am as OrderStatusHistory, an as OrderStatuses, ao as OrderTracking, p as Page, ap as PageAttachment, o as PageDetail, b as PaginatedResponse, a1 as PaymentStatus, aq as PaymentStatuses, d as ProductDetail, f as ProductLabel, c as ProductListItem, ar as ProductMedia, as as ProductMediaVariant, a2 as ProductPrice, a3 as ProductReview, v as ProductReviewsResponse, at as ProductSort, au as ProductSortValue, a4 as ProductVariant, av as ProductVolumePrice, P as ProductsQuery, aw as QuoteItem, Q as QuoteRequest, R as RegisterInput, ax as RegisterResult, ay as RequestInterceptor, az as RequestInterceptorConfig, aA as ResponseInterceptor, aB as ResponseInterceptorData, z as ReturnRequest, aC as ReturnRequestItem, y as ReturnStatus, aD as ReturnStatusItem, x as ReturnableOrder, aE as ReturnableOrderItem, aF as SdkError, aG as SdkResult, aH as ShippingMethodSummary, aI as ShippingQuote, aJ as ShippingQuoteInput, S as ShopInfo, aK as ShopScript, aL as ShopScriptPlacement, aM as ShopScriptType, q as ShopScripts, r as ShopSeo, I as SubmitQuoteInput, D as SubmitReturnInput, w as SubmitReviewInput, W as WishlistItem, aN as err, aO as ok, aP as toSdkError } from './client-D36fecrZ.mjs';
2
2
 
3
3
  /**
4
4
  * Format a price amount with currency using Intl.NumberFormat.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { u as ActivePromotion, K as AddToCartInput, j as AddressDetail, A as AddressSuggestion, a5 as AddressType, a6 as AddressTypes, L as AuthTokens, J as BackInStockSubscription, N as BehioApiError, a7 as BehioErrorCode, a8 as BehioEventHandler, a9 as BehioEventType, aa as BehioNetworkError, a as BehioStorefront, B as BehioStorefrontConfig, s as Bundle, T as BundleItem, g as Cart, ab as CartBundleLine, ac as CartBundleLineItem, U as CartDiscount, V as CartItem, ad as CartItemProduct, C as Category, e as CategoryDetail, X as CheckoutAddress, n as CheckoutInput, ae as CheckoutPaymentMethod, E as CookieConsent, H as CookieConsentInput, t as CrossSellItem, i as CustomerAddress, h as CustomerProfile, af as DataGroupFieldType, F as FilterField, Y as FulfillmentStatus, ag as FulfillmentStatuses, G as GiftCardBalance, ah as GiftCardSummary, Z as LoginInput, M as Menu, ai as MenuItem, aj as MenuItemRef, ak as MenuItemType, _ as MessageResponse, l as OrderAccessRequestResponse, m as OrderAccessVerifyResponse, k as OrderDetail, $ as OrderItem, O as OrderListItem, a0 as OrderStatus, al as OrderStatusHistory, am as OrderStatuses, an as OrderTracking, p as Page, ao as PageAttachment, o as PageDetail, b as PaginatedResponse, a1 as PaymentStatus, ap as PaymentStatuses, d as ProductDetail, f as ProductLabel, c as ProductListItem, aq as ProductMedia, ar as ProductMediaVariant, a2 as ProductPrice, a3 as ProductReview, v as ProductReviewsResponse, as as ProductSort, at as ProductSortValue, a4 as ProductVariant, au as ProductVolumePrice, P as ProductsQuery, av as QuoteItem, Q as QuoteRequest, R as RegisterInput, aw as RegisterResult, ax as RequestInterceptor, ay as RequestInterceptorConfig, az as ResponseInterceptor, aA as ResponseInterceptorData, z as ReturnRequest, aB as ReturnRequestItem, y as ReturnStatus, aC as ReturnStatusItem, x as ReturnableOrder, aD as ReturnableOrderItem, aE as SdkError, aF as SdkResult, aG as ShippingMethodSummary, aH as ShippingQuote, aI as ShippingQuoteInput, S as ShopInfo, aJ as ShopScript, aK as ShopScriptPlacement, aL as ShopScriptType, q as ShopScripts, r as ShopSeo, I as SubmitQuoteInput, D as SubmitReturnInput, w as SubmitReviewInput, W as WishlistItem, aM as err, aN as ok, aO as toSdkError } from './client-76vvJ0_n.js';
1
+ export { u as ActivePromotion, K as AddToCartInput, j as AddressDetail, A as AddressSuggestion, a5 as AddressType, a6 as AddressTypes, L as AuthTokens, J as BackInStockSubscription, a7 as BadgeTone, N as BehioApiError, a8 as BehioErrorCode, a9 as BehioEventHandler, aa as BehioEventType, ab as BehioNetworkError, a as BehioStorefront, B as BehioStorefrontConfig, s as Bundle, T as BundleItem, g as Cart, ac as CartBundleLine, ad as CartBundleLineItem, U as CartDiscount, V as CartItem, ae as CartItemProduct, C as Category, e as CategoryDetail, X as CheckoutAddress, n as CheckoutInput, af as CheckoutPaymentMethod, E as CookieConsent, H as CookieConsentInput, t as CrossSellItem, i as CustomerAddress, h as CustomerProfile, ag as DataGroupFieldType, F as FilterField, Y as FulfillmentStatus, ah as FulfillmentStatuses, G as GiftCardBalance, ai as GiftCardSummary, Z as LoginInput, M as Menu, aj as MenuItem, ak as MenuItemRef, al as MenuItemType, _ as MessageResponse, l as OrderAccessRequestResponse, m as OrderAccessVerifyResponse, k as OrderDetail, $ as OrderItem, O as OrderListItem, a0 as OrderStatus, am as OrderStatusHistory, an as OrderStatuses, ao as OrderTracking, p as Page, ap as PageAttachment, o as PageDetail, b as PaginatedResponse, a1 as PaymentStatus, aq as PaymentStatuses, d as ProductDetail, f as ProductLabel, c as ProductListItem, ar as ProductMedia, as as ProductMediaVariant, a2 as ProductPrice, a3 as ProductReview, v as ProductReviewsResponse, at as ProductSort, au as ProductSortValue, a4 as ProductVariant, av as ProductVolumePrice, P as ProductsQuery, aw as QuoteItem, Q as QuoteRequest, R as RegisterInput, ax as RegisterResult, ay as RequestInterceptor, az as RequestInterceptorConfig, aA as ResponseInterceptor, aB as ResponseInterceptorData, z as ReturnRequest, aC as ReturnRequestItem, y as ReturnStatus, aD as ReturnStatusItem, x as ReturnableOrder, aE as ReturnableOrderItem, aF as SdkError, aG as SdkResult, aH as ShippingMethodSummary, aI as ShippingQuote, aJ as ShippingQuoteInput, S as ShopInfo, aK as ShopScript, aL as ShopScriptPlacement, aM as ShopScriptType, q as ShopScripts, r as ShopSeo, I as SubmitQuoteInput, D as SubmitReturnInput, w as SubmitReviewInput, W as WishlistItem, aN as err, aO as ok, aP as toSdkError } from './client-D36fecrZ.js';
2
2
 
3
3
  /**
4
4
  * Format a price amount with currency using Intl.NumberFormat.
package/dist/next.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { B as BehioStorefrontConfig, a as BehioStorefront } from './client-76vvJ0_n.mjs';
1
+ import { B as BehioStorefrontConfig, a as BehioStorefront } from './client-D36fecrZ.mjs';
2
2
 
3
3
  interface GetBehioOptions extends Partial<BehioStorefrontConfig> {
4
4
  /** Override the cart session cookie name (default: "behio_cart_session"). */
package/dist/next.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { B as BehioStorefrontConfig, a as BehioStorefront } from './client-76vvJ0_n.js';
1
+ import { B as BehioStorefrontConfig, a as BehioStorefront } from './client-D36fecrZ.js';
2
2
 
3
3
  interface GetBehioOptions extends Partial<BehioStorefrontConfig> {
4
4
  /** Override the cart session cookie name (default: "behio_cart_session"). */
package/dist/react.d.mts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as _tanstack_react_query from '@tanstack/react-query';
3
3
  import { QueryClient } from '@tanstack/react-query';
4
- import { a as BehioStorefront, P as ProductsQuery, b as PaginatedResponse, c as ProductListItem, d as ProductDetail, C as Category, e as CategoryDetail, M as Menu, f as ProductLabel, F as FilterField, g as Cart, h as CustomerProfile, R as RegisterInput, i as CustomerAddress, A as AddressSuggestion, j as AddressDetail, O as OrderListItem, k as OrderDetail, l as OrderAccessRequestResponse, m as OrderAccessVerifyResponse, n as CheckoutInput, o as PageDetail, p as Page, S as ShopInfo, q as ShopScripts, r as ShopSeo, s as Bundle, t as CrossSellItem, u as ActivePromotion, G as GiftCardBalance, W as WishlistItem, v as ProductReviewsResponse, w as SubmitReviewInput, x as ReturnableOrder, y as ReturnStatus, z as ReturnRequest, D as SubmitReturnInput, E as CookieConsent, H as CookieConsentInput, Q as QuoteRequest, I as SubmitQuoteInput, J as BackInStockSubscription } from './client-76vvJ0_n.mjs';
5
- export { K as AddToCartInput, L as AuthTokens, N as BehioApiError, T as BundleItem, U as CartDiscount, V as CartItem, X as CheckoutAddress, Y as FulfillmentStatus, Z as LoginInput, _ as MessageResponse, $ as OrderItem, a0 as OrderStatus, a1 as PaymentStatus, a2 as ProductPrice, a3 as ProductReview, a4 as ProductVariant } from './client-76vvJ0_n.mjs';
4
+ import { a as BehioStorefront, P as ProductsQuery, b as PaginatedResponse, c as ProductListItem, d as ProductDetail, C as Category, e as CategoryDetail, M as Menu, f as ProductLabel, F as FilterField, g as Cart, h as CustomerProfile, R as RegisterInput, i as CustomerAddress, A as AddressSuggestion, j as AddressDetail, O as OrderListItem, k as OrderDetail, l as OrderAccessRequestResponse, m as OrderAccessVerifyResponse, n as CheckoutInput, o as PageDetail, p as Page, S as ShopInfo, q as ShopScripts, r as ShopSeo, s as Bundle, t as CrossSellItem, u as ActivePromotion, G as GiftCardBalance, W as WishlistItem, v as ProductReviewsResponse, w as SubmitReviewInput, x as ReturnableOrder, y as ReturnStatus, z as ReturnRequest, D as SubmitReturnInput, E as CookieConsent, H as CookieConsentInput, Q as QuoteRequest, I as SubmitQuoteInput, J as BackInStockSubscription } from './client-D36fecrZ.mjs';
5
+ export { K as AddToCartInput, L as AuthTokens, N as BehioApiError, T as BundleItem, U as CartDiscount, V as CartItem, X as CheckoutAddress, Y as FulfillmentStatus, Z as LoginInput, _ as MessageResponse, $ as OrderItem, a0 as OrderStatus, a1 as PaymentStatus, a2 as ProductPrice, a3 as ProductReview, a4 as ProductVariant } from './client-D36fecrZ.mjs';
6
6
  import * as _tanstack_query_core from '@tanstack/query-core';
7
7
  export { EcommerceEventName, EcommerceItem, EcommercePayload, formatPrice, trackEcommerceEvent } from './index.mjs';
8
8
 
package/dist/react.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as _tanstack_react_query from '@tanstack/react-query';
3
3
  import { QueryClient } from '@tanstack/react-query';
4
- import { a as BehioStorefront, P as ProductsQuery, b as PaginatedResponse, c as ProductListItem, d as ProductDetail, C as Category, e as CategoryDetail, M as Menu, f as ProductLabel, F as FilterField, g as Cart, h as CustomerProfile, R as RegisterInput, i as CustomerAddress, A as AddressSuggestion, j as AddressDetail, O as OrderListItem, k as OrderDetail, l as OrderAccessRequestResponse, m as OrderAccessVerifyResponse, n as CheckoutInput, o as PageDetail, p as Page, S as ShopInfo, q as ShopScripts, r as ShopSeo, s as Bundle, t as CrossSellItem, u as ActivePromotion, G as GiftCardBalance, W as WishlistItem, v as ProductReviewsResponse, w as SubmitReviewInput, x as ReturnableOrder, y as ReturnStatus, z as ReturnRequest, D as SubmitReturnInput, E as CookieConsent, H as CookieConsentInput, Q as QuoteRequest, I as SubmitQuoteInput, J as BackInStockSubscription } from './client-76vvJ0_n.js';
5
- export { K as AddToCartInput, L as AuthTokens, N as BehioApiError, T as BundleItem, U as CartDiscount, V as CartItem, X as CheckoutAddress, Y as FulfillmentStatus, Z as LoginInput, _ as MessageResponse, $ as OrderItem, a0 as OrderStatus, a1 as PaymentStatus, a2 as ProductPrice, a3 as ProductReview, a4 as ProductVariant } from './client-76vvJ0_n.js';
4
+ import { a as BehioStorefront, P as ProductsQuery, b as PaginatedResponse, c as ProductListItem, d as ProductDetail, C as Category, e as CategoryDetail, M as Menu, f as ProductLabel, F as FilterField, g as Cart, h as CustomerProfile, R as RegisterInput, i as CustomerAddress, A as AddressSuggestion, j as AddressDetail, O as OrderListItem, k as OrderDetail, l as OrderAccessRequestResponse, m as OrderAccessVerifyResponse, n as CheckoutInput, o as PageDetail, p as Page, S as ShopInfo, q as ShopScripts, r as ShopSeo, s as Bundle, t as CrossSellItem, u as ActivePromotion, G as GiftCardBalance, W as WishlistItem, v as ProductReviewsResponse, w as SubmitReviewInput, x as ReturnableOrder, y as ReturnStatus, z as ReturnRequest, D as SubmitReturnInput, E as CookieConsent, H as CookieConsentInput, Q as QuoteRequest, I as SubmitQuoteInput, J as BackInStockSubscription } from './client-D36fecrZ.js';
5
+ export { K as AddToCartInput, L as AuthTokens, N as BehioApiError, T as BundleItem, U as CartDiscount, V as CartItem, X as CheckoutAddress, Y as FulfillmentStatus, Z as LoginInput, _ as MessageResponse, $ as OrderItem, a0 as OrderStatus, a1 as PaymentStatus, a2 as ProductPrice, a3 as ProductReview, a4 as ProductVariant } from './client-D36fecrZ.js';
6
6
  import * as _tanstack_query_core from '@tanstack/query-core';
7
7
  export { EcommerceEventName, EcommerceItem, EcommercePayload, formatPrice, trackEcommerceEvent } from './index.js';
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@behio/storefront-sdk",
3
- "version": "0.25.0",
3
+ "version": "0.26.0",
4
4
  "description": "TypeScript SDK for Behio Headless E-Shop \u2014 core client + React hooks",
5
5
  "author": "Behio",
6
6
  "license": "MIT",