@behio/storefront-sdk 0.34.1 → 0.35.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.
@@ -5,7 +5,9 @@ var ProductSort = {
5
5
  NAME_ASC: "name_asc",
6
6
  NAME_DESC: "name_desc",
7
7
  NEWEST: "newest",
8
- FEATURED: "featured"
8
+ FEATURED: "featured",
9
+ BESTSELLING: "bestselling",
10
+ RATING: "rating"
9
11
  };
10
12
  var OrderStatuses = {
11
13
  PENDING: "PENDING",
@@ -499,8 +501,10 @@ var CatalogModule = class {
499
501
  if (query.locale) q.locale = query.locale;
500
502
  if (query.sort) q.sort = query.sort;
501
503
  if (query.inStock !== void 0) q.inStock = query.inStock;
504
+ if (query.ratingMin !== void 0) q.ratingMin = query.ratingMin;
502
505
  if (query.search) q.search = query.search;
503
506
  if (query.customFields) q.customFields = JSON.stringify(query.customFields);
507
+ if (query.facets) q.facets = JSON.stringify(query.facets);
504
508
  if (query.ids && query.ids.length > 0) q.ids = query.ids;
505
509
  if (query.slugs && query.slugs.length > 0) q.slugs = query.slugs;
506
510
  if (query.labels && query.labels.length > 0) q.labels = query.labels;
@@ -568,6 +572,35 @@ var CatalogModule = class {
568
572
  async getFilters() {
569
573
  return this.client.request("GET", "/catalog/filters");
570
574
  }
575
+ /**
576
+ * Facet groups + selection-aware counts for the current filter set (custom
577
+ * fields, labels, price, availability, rating, subcategories). Pass the SAME
578
+ * query you pass to `getProducts` (category, search, price, inStock, ratingMin,
579
+ * customFields, facets slugs, labels): counts for each facet are computed with
580
+ * that facet excluded, and values that drop to 0 are still returned (render
581
+ * them disabled). Use this to build an Alza-style filter sidebar.
582
+ */
583
+ async getFacets(query) {
584
+ const q = {};
585
+ if (query) {
586
+ if (query.category) q.category = query.category;
587
+ if (query.label) q.label = query.label;
588
+ if (query.priceMin) q.priceMin = query.priceMin;
589
+ if (query.priceMax) q.priceMax = query.priceMax;
590
+ if (query.currency) q.currency = query.currency;
591
+ if (query.locale) q.locale = query.locale;
592
+ if (query.inStock !== void 0) q.inStock = query.inStock;
593
+ if (query.ratingMin !== void 0) q.ratingMin = query.ratingMin;
594
+ if (query.search) q.search = query.search;
595
+ if (query.customFields) q.customFields = JSON.stringify(query.customFields);
596
+ if (query.facets) q.facets = JSON.stringify(query.facets);
597
+ if (query.labels && query.labels.length > 0) q.labels = query.labels;
598
+ if (query.categories && query.categories.length > 0) q.categories = query.categories;
599
+ if (query.excludeCategories && query.excludeCategories.length > 0)
600
+ q.excludeCategories = query.excludeCategories;
601
+ }
602
+ return this.client.request("GET", "/catalog/facets", { query: q });
603
+ }
571
604
  /** Search products */
572
605
  async search(query, options) {
573
606
  return this.getProducts({ search: query, ...options });
@@ -5,7 +5,9 @@ var ProductSort = {
5
5
  NAME_ASC: "name_asc",
6
6
  NAME_DESC: "name_desc",
7
7
  NEWEST: "newest",
8
- FEATURED: "featured"
8
+ FEATURED: "featured",
9
+ BESTSELLING: "bestselling",
10
+ RATING: "rating"
9
11
  };
10
12
  var OrderStatuses = {
11
13
  PENDING: "PENDING",
@@ -499,8 +501,10 @@ var CatalogModule = class {
499
501
  if (query.locale) q.locale = query.locale;
500
502
  if (query.sort) q.sort = query.sort;
501
503
  if (query.inStock !== void 0) q.inStock = query.inStock;
504
+ if (query.ratingMin !== void 0) q.ratingMin = query.ratingMin;
502
505
  if (query.search) q.search = query.search;
503
506
  if (query.customFields) q.customFields = JSON.stringify(query.customFields);
507
+ if (query.facets) q.facets = JSON.stringify(query.facets);
504
508
  if (query.ids && query.ids.length > 0) q.ids = query.ids;
505
509
  if (query.slugs && query.slugs.length > 0) q.slugs = query.slugs;
506
510
  if (query.labels && query.labels.length > 0) q.labels = query.labels;
@@ -568,6 +572,35 @@ var CatalogModule = class {
568
572
  async getFilters() {
569
573
  return this.client.request("GET", "/catalog/filters");
570
574
  }
575
+ /**
576
+ * Facet groups + selection-aware counts for the current filter set (custom
577
+ * fields, labels, price, availability, rating, subcategories). Pass the SAME
578
+ * query you pass to `getProducts` (category, search, price, inStock, ratingMin,
579
+ * customFields, facets slugs, labels): counts for each facet are computed with
580
+ * that facet excluded, and values that drop to 0 are still returned (render
581
+ * them disabled). Use this to build an Alza-style filter sidebar.
582
+ */
583
+ async getFacets(query) {
584
+ const q = {};
585
+ if (query) {
586
+ if (query.category) q.category = query.category;
587
+ if (query.label) q.label = query.label;
588
+ if (query.priceMin) q.priceMin = query.priceMin;
589
+ if (query.priceMax) q.priceMax = query.priceMax;
590
+ if (query.currency) q.currency = query.currency;
591
+ if (query.locale) q.locale = query.locale;
592
+ if (query.inStock !== void 0) q.inStock = query.inStock;
593
+ if (query.ratingMin !== void 0) q.ratingMin = query.ratingMin;
594
+ if (query.search) q.search = query.search;
595
+ if (query.customFields) q.customFields = JSON.stringify(query.customFields);
596
+ if (query.facets) q.facets = JSON.stringify(query.facets);
597
+ if (query.labels && query.labels.length > 0) q.labels = query.labels;
598
+ if (query.categories && query.categories.length > 0) q.categories = query.categories;
599
+ if (query.excludeCategories && query.excludeCategories.length > 0)
600
+ q.excludeCategories = query.excludeCategories;
601
+ }
602
+ return this.client.request("GET", "/catalog/facets", { query: q });
603
+ }
571
604
  /** Search products */
572
605
  async search(query, options) {
573
606
  return this.getProducts({ search: query, ...options });
@@ -620,6 +620,71 @@ interface FilterField {
620
620
  groupName: string;
621
621
  values?: string[];
622
622
  }
623
+ interface FacetValue {
624
+ /** Raw stored value (normalized), for exact filtering. */
625
+ value: string;
626
+ /** Human-readable label. */
627
+ label: string;
628
+ /** Stable URL slug for SEO landing pages (e.g. "cerna"); pass back via
629
+ * `ProductsQuery.facets`. */
630
+ slug: string;
631
+ /** Count under the current selection (this facet excluded). 0 = present in
632
+ * context but excluded by other filters — render disabled, don't hide. */
633
+ count: number;
634
+ }
635
+ interface FacetRange {
636
+ min: number | null;
637
+ max: number | null;
638
+ }
639
+ interface Facet {
640
+ key: string;
641
+ name: string;
642
+ /** "enum" (checkboxes), "range" (slider) or "boolean". */
643
+ type: "enum" | "range" | "boolean" | string;
644
+ groupKey: string;
645
+ groupName: string;
646
+ /** Underlying data-group field type (TEXT, NUMBER, MONEY, ...). */
647
+ fieldType: string;
648
+ /** enum/boolean facets: selectable values with counts. */
649
+ values?: FacetValue[];
650
+ /** range facets: numeric bounds within the current context. */
651
+ range?: FacetRange | null;
652
+ /** currency for MONEY range facets, "%" for PERCENTAGE, else null. */
653
+ unit?: string | null;
654
+ }
655
+ interface FacetPriceRange {
656
+ min: number | null;
657
+ max: number | null;
658
+ currency: string;
659
+ }
660
+ interface FacetRatingBucket {
661
+ from: number;
662
+ count: number;
663
+ }
664
+ interface FacetLabel {
665
+ slug: string;
666
+ name: string;
667
+ color?: string | null;
668
+ count: number;
669
+ }
670
+ interface FacetCategory {
671
+ slug: string;
672
+ name: string;
673
+ count: number;
674
+ }
675
+ interface FacetAvailability {
676
+ inStockCount: number;
677
+ outOfStockCount: number;
678
+ }
679
+ interface FacetsResponse {
680
+ priceRange: FacetPriceRange | null;
681
+ facets: Facet[];
682
+ availability: FacetAvailability;
683
+ rating: FacetRatingBucket[];
684
+ labels: FacetLabel[];
685
+ /** Child subcategories of the current category (or top-level), with counts. */
686
+ categories: FacetCategory[];
687
+ }
623
688
  declare const ProductSort: {
624
689
  readonly PRICE_ASC: "price_asc";
625
690
  readonly PRICE_DESC: "price_desc";
@@ -627,6 +692,8 @@ declare const ProductSort: {
627
692
  readonly NAME_DESC: "name_desc";
628
693
  readonly NEWEST: "newest";
629
694
  readonly FEATURED: "featured";
695
+ readonly BESTSELLING: "bestselling";
696
+ readonly RATING: "rating";
630
697
  };
631
698
  type ProductSortValue = (typeof ProductSort)[keyof typeof ProductSort];
632
699
  declare const OrderStatuses: {
@@ -669,8 +736,15 @@ interface ProductsQuery {
669
736
  locale?: string;
670
737
  sort?: ProductSortValue;
671
738
  inStock?: boolean;
739
+ /** Minimum aggregate rating, e.g. 4 for "4 and up". */
740
+ ratingMin?: number;
672
741
  search?: string;
673
- customFields?: Record<string, unknown>;
742
+ /** Custom-field filters. A value may be an array = multi-select (OR within
743
+ * the key), e.g. {"barva": ["cerna", "bila"]}. */
744
+ customFields?: Record<string, string | number | boolean | string[] | unknown>;
745
+ /** Slug-based facet selection for SEO URLs: facet key -> value slugs, e.g.
746
+ * {"barva": ["cerna"]}. Resolved server-side to the underlying values. */
747
+ facets?: Record<string, string[]>;
674
748
  /** Filter by specific product IDs (comma-separated in URL) */
675
749
  ids?: string[];
676
750
  /** Filter by specific product slugs */
@@ -1906,6 +1980,15 @@ declare class CatalogModule {
1906
1980
  getFilters(): Promise<SdkResult<{
1907
1981
  filters: FilterField[];
1908
1982
  }>>;
1983
+ /**
1984
+ * Facet groups + selection-aware counts for the current filter set (custom
1985
+ * fields, labels, price, availability, rating, subcategories). Pass the SAME
1986
+ * query you pass to `getProducts` (category, search, price, inStock, ratingMin,
1987
+ * customFields, facets slugs, labels): counts for each facet are computed with
1988
+ * that facet excluded, and values that drop to 0 are still returned (render
1989
+ * them disabled). Use this to build an Alza-style filter sidebar.
1990
+ */
1991
+ getFacets(query?: ProductsQuery): Promise<SdkResult<FacetsResponse>>;
1909
1992
  /** Search products */
1910
1993
  search(query: string, options?: {
1911
1994
  page?: number;
@@ -2316,4 +2399,4 @@ declare class NewsletterModule {
2316
2399
  unsubscribe(email: string): Promise<SdkResult<NewsletterUnsubscribeResult>>;
2317
2400
  }
2318
2401
 
2319
- export { type QuoteRequest as $, type AddressSuggestion as A, type BehioStorefrontConfig as B, type Category as C, type ShopScripts as D, type ShopSeo as E, type FilterField as F, type Bundle as G, type ProductGroup as H, type CrossSellItem as I, type ActivePromotion as J, type GiftCardBalance as K, type LoyaltySummary as L, type Menu as M, type NewsletterSubscribeResult as N, type OrderListItem as O, type ProductsQuery as P, type ProductReviewsResponse as Q, type RegisterInput as R, type Subscription as S, type SubmitReviewInput as T, type ReturnableOrder as U, type ReturnStatus as V, type WishlistItem as W, type ReturnRequest as X, type SubmitReturnInput as Y, type CookieConsent as Z, type CookieConsentInput as _, BehioStorefront as a, type ProductVolumePrice as a$, type SubmitQuoteInput as a0, type BackInStockSubscription as a1, type AddToCartInput as a2, type AuthTokens as a3, BehioApiError as a4, type BundleItem as a5, type CartDiscount as a6, type CartItem as a7, type CheckoutAddress as a8, type FulfillmentStatus as a9, type GiftCardPurchaseResult as aA, type GiftCardSummary as aB, type LoyaltyBalance as aC, type LoyaltyNextTier as aD, type LoyaltyProgram as aE, type LoyaltyTier as aF, type LoyaltyTierPerks as aG, type LoyaltyTransaction as aH, type MenuItem as aI, type MenuItemRef as aJ, type MenuItemType as aK, type NewsletterOptInDefault as aL, type OrderStatusHistory as aM, OrderStatuses as aN, type OrderTracking as aO, type PageAttachment as aP, PaymentStatuses as aQ, type PickupPointHours as aR, type PriceDisplay as aS, type ProductAvailability as aT, type ProductCustomField as aU, type ProductCustomFieldGroup as aV, type ProductMedia as aW, type ProductMediaVariant as aX, type ProductPromotionSummary as aY, ProductSort as aZ, type ProductSortValue as a_, type LoginInput as aa, type MessageResponse as ab, type OrderItem as ac, type OrderStatus as ad, type PaymentStatus as ae, type ProductPrice as af, type ProductReview as ag, type ProductVariant as ah, type SdkResult as ai, type AddressType as aj, AddressTypes as ak, type BadgeTone as al, type BehioErrorCode as am, type BehioEventHandler as an, type BehioEventType as ao, BehioNetworkError as ap, type CartBundleLine as aq, type CartBundleLineItem as ar, type CartItemProduct as as, type CartPromotion as at, type CheckoutSettings as au, type DataGroupFieldType as av, type DigitalDownload as aw, type DownloadUrl as ax, FulfillmentStatuses as ay, type GiftCardPurchaseInput as az, type PaginatedResponse as b, type QuoteItem as b0, type RegisterResult as b1, type RequestInterceptor as b2, type RequestInterceptorConfig as b3, type ResponseInterceptor as b4, type ResponseInterceptorData as b5, type ReturnRequestItem as b6, type ReturnStatusItem as b7, type ReturnableOrderItem as b8, type SdkError as b9, type ShopScript as ba, type ShopScriptPlacement as bb, type ShopScriptType as bc, type ShopSeoIdentity as bd, type StockBehavior as be, type SubscriptionFrequency as bf, type SubscriptionItem as bg, type SubscriptionStatus as bh, type TaxBreakdownLine as bi, type VariantAxis as bj, type VariantAxisValue as bk, err as bl, ok as bm, toSdkError as bn, 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 SubscriptionAction as k, type PickupPointsInput as l, type PickupPoint as m, type ShippingMethodSummary as n, type ShippingQuoteInput as o, type ShippingQuote as p, type CheckoutPaymentMethod as q, type NewsletterSubscribeInput as r, type NewsletterUnsubscribeResult as s, type OrderDetail as t, type OrderAccessRequestResponse as u, type OrderAccessVerifyResponse as v, type CheckoutInput as w, type PageDetail as x, type Page as y, type ShopInfo as z };
2402
+ export { type CookieConsentInput as $, type AddressSuggestion as A, type BehioStorefrontConfig as B, type Category as C, type ShopInfo as D, type ShopScripts as E, type FilterField as F, type ShopSeo as G, type Bundle as H, type ProductGroup as I, type CrossSellItem as J, type ActivePromotion as K, type LoyaltySummary as L, type Menu as M, type NewsletterSubscribeResult as N, type OrderListItem as O, type ProductsQuery as P, type GiftCardBalance as Q, type RegisterInput as R, type Subscription as S, type ProductReviewsResponse as T, type SubmitReviewInput as U, type ReturnableOrder as V, type WishlistItem as W, type ReturnStatus as X, type ReturnRequest as Y, type SubmitReturnInput as Z, type CookieConsent as _, BehioStorefront as a, type PriceDisplay as a$, type QuoteRequest as a0, type SubmitQuoteInput as a1, type BackInStockSubscription as a2, type AddToCartInput as a3, type AuthTokens as a4, BehioApiError as a5, type BundleItem as a6, type CartDiscount as a7, type CartItem as a8, type CheckoutAddress as a9, type FacetAvailability as aA, type FacetCategory as aB, type FacetLabel as aC, type FacetPriceRange as aD, type FacetRange as aE, type FacetRatingBucket as aF, type FacetValue as aG, FulfillmentStatuses as aH, type GiftCardPurchaseInput as aI, type GiftCardPurchaseResult as aJ, type GiftCardSummary as aK, type LoyaltyBalance as aL, type LoyaltyNextTier as aM, type LoyaltyProgram as aN, type LoyaltyTier as aO, type LoyaltyTierPerks as aP, type LoyaltyTransaction as aQ, type MenuItem as aR, type MenuItemRef as aS, type MenuItemType as aT, type NewsletterOptInDefault as aU, type OrderStatusHistory as aV, OrderStatuses as aW, type OrderTracking as aX, type PageAttachment as aY, PaymentStatuses as aZ, type PickupPointHours as a_, type FulfillmentStatus as aa, type LoginInput as ab, type MessageResponse as ac, type OrderItem as ad, type OrderStatus as ae, type PaymentStatus as af, type ProductPrice as ag, type ProductReview as ah, type ProductVariant as ai, type SdkResult as aj, type AddressType as ak, AddressTypes as al, type BadgeTone as am, type BehioErrorCode as an, type BehioEventHandler as ao, type BehioEventType as ap, BehioNetworkError as aq, type CartBundleLine as ar, type CartBundleLineItem as as, type CartItemProduct as at, type CartPromotion as au, type CheckoutSettings as av, type DataGroupFieldType as aw, type DigitalDownload as ax, type DownloadUrl as ay, type Facet as az, type PaginatedResponse as b, type ProductAvailability as b0, type ProductCustomField as b1, type ProductCustomFieldGroup as b2, type ProductMedia as b3, type ProductMediaVariant as b4, type ProductPromotionSummary as b5, ProductSort as b6, type ProductSortValue as b7, type ProductVolumePrice as b8, type QuoteItem as b9, type RegisterResult as ba, type RequestInterceptor as bb, type RequestInterceptorConfig as bc, type ResponseInterceptor as bd, type ResponseInterceptorData as be, type ReturnRequestItem as bf, type ReturnStatusItem as bg, type ReturnableOrderItem as bh, type SdkError as bi, type ShopScript as bj, type ShopScriptPlacement as bk, type ShopScriptType as bl, type ShopSeoIdentity as bm, type StockBehavior as bn, type SubscriptionFrequency as bo, type SubscriptionItem as bp, type SubscriptionStatus as bq, type TaxBreakdownLine as br, type VariantAxis as bs, type VariantAxisValue as bt, err as bu, ok as bv, toSdkError as bw, type ProductListItem as c, type ProductDetail as d, type CategoryDetail as e, type ProductLabel as f, type FacetsResponse as g, type Cart as h, type CustomerProfile as i, type CustomerAddress as j, type AddressDetail as k, type SubscriptionAction as l, type PickupPointsInput as m, type PickupPoint as n, type ShippingMethodSummary as o, type ShippingQuoteInput as p, type ShippingQuote as q, type CheckoutPaymentMethod as r, type NewsletterSubscribeInput as s, type NewsletterUnsubscribeResult as t, type OrderDetail as u, type OrderAccessRequestResponse as v, type OrderAccessVerifyResponse as w, type CheckoutInput as x, type PageDetail as y, type Page as z };
@@ -620,6 +620,71 @@ interface FilterField {
620
620
  groupName: string;
621
621
  values?: string[];
622
622
  }
623
+ interface FacetValue {
624
+ /** Raw stored value (normalized), for exact filtering. */
625
+ value: string;
626
+ /** Human-readable label. */
627
+ label: string;
628
+ /** Stable URL slug for SEO landing pages (e.g. "cerna"); pass back via
629
+ * `ProductsQuery.facets`. */
630
+ slug: string;
631
+ /** Count under the current selection (this facet excluded). 0 = present in
632
+ * context but excluded by other filters — render disabled, don't hide. */
633
+ count: number;
634
+ }
635
+ interface FacetRange {
636
+ min: number | null;
637
+ max: number | null;
638
+ }
639
+ interface Facet {
640
+ key: string;
641
+ name: string;
642
+ /** "enum" (checkboxes), "range" (slider) or "boolean". */
643
+ type: "enum" | "range" | "boolean" | string;
644
+ groupKey: string;
645
+ groupName: string;
646
+ /** Underlying data-group field type (TEXT, NUMBER, MONEY, ...). */
647
+ fieldType: string;
648
+ /** enum/boolean facets: selectable values with counts. */
649
+ values?: FacetValue[];
650
+ /** range facets: numeric bounds within the current context. */
651
+ range?: FacetRange | null;
652
+ /** currency for MONEY range facets, "%" for PERCENTAGE, else null. */
653
+ unit?: string | null;
654
+ }
655
+ interface FacetPriceRange {
656
+ min: number | null;
657
+ max: number | null;
658
+ currency: string;
659
+ }
660
+ interface FacetRatingBucket {
661
+ from: number;
662
+ count: number;
663
+ }
664
+ interface FacetLabel {
665
+ slug: string;
666
+ name: string;
667
+ color?: string | null;
668
+ count: number;
669
+ }
670
+ interface FacetCategory {
671
+ slug: string;
672
+ name: string;
673
+ count: number;
674
+ }
675
+ interface FacetAvailability {
676
+ inStockCount: number;
677
+ outOfStockCount: number;
678
+ }
679
+ interface FacetsResponse {
680
+ priceRange: FacetPriceRange | null;
681
+ facets: Facet[];
682
+ availability: FacetAvailability;
683
+ rating: FacetRatingBucket[];
684
+ labels: FacetLabel[];
685
+ /** Child subcategories of the current category (or top-level), with counts. */
686
+ categories: FacetCategory[];
687
+ }
623
688
  declare const ProductSort: {
624
689
  readonly PRICE_ASC: "price_asc";
625
690
  readonly PRICE_DESC: "price_desc";
@@ -627,6 +692,8 @@ declare const ProductSort: {
627
692
  readonly NAME_DESC: "name_desc";
628
693
  readonly NEWEST: "newest";
629
694
  readonly FEATURED: "featured";
695
+ readonly BESTSELLING: "bestselling";
696
+ readonly RATING: "rating";
630
697
  };
631
698
  type ProductSortValue = (typeof ProductSort)[keyof typeof ProductSort];
632
699
  declare const OrderStatuses: {
@@ -669,8 +736,15 @@ interface ProductsQuery {
669
736
  locale?: string;
670
737
  sort?: ProductSortValue;
671
738
  inStock?: boolean;
739
+ /** Minimum aggregate rating, e.g. 4 for "4 and up". */
740
+ ratingMin?: number;
672
741
  search?: string;
673
- customFields?: Record<string, unknown>;
742
+ /** Custom-field filters. A value may be an array = multi-select (OR within
743
+ * the key), e.g. {"barva": ["cerna", "bila"]}. */
744
+ customFields?: Record<string, string | number | boolean | string[] | unknown>;
745
+ /** Slug-based facet selection for SEO URLs: facet key -> value slugs, e.g.
746
+ * {"barva": ["cerna"]}. Resolved server-side to the underlying values. */
747
+ facets?: Record<string, string[]>;
674
748
  /** Filter by specific product IDs (comma-separated in URL) */
675
749
  ids?: string[];
676
750
  /** Filter by specific product slugs */
@@ -1906,6 +1980,15 @@ declare class CatalogModule {
1906
1980
  getFilters(): Promise<SdkResult<{
1907
1981
  filters: FilterField[];
1908
1982
  }>>;
1983
+ /**
1984
+ * Facet groups + selection-aware counts for the current filter set (custom
1985
+ * fields, labels, price, availability, rating, subcategories). Pass the SAME
1986
+ * query you pass to `getProducts` (category, search, price, inStock, ratingMin,
1987
+ * customFields, facets slugs, labels): counts for each facet are computed with
1988
+ * that facet excluded, and values that drop to 0 are still returned (render
1989
+ * them disabled). Use this to build an Alza-style filter sidebar.
1990
+ */
1991
+ getFacets(query?: ProductsQuery): Promise<SdkResult<FacetsResponse>>;
1909
1992
  /** Search products */
1910
1993
  search(query: string, options?: {
1911
1994
  page?: number;
@@ -2316,4 +2399,4 @@ declare class NewsletterModule {
2316
2399
  unsubscribe(email: string): Promise<SdkResult<NewsletterUnsubscribeResult>>;
2317
2400
  }
2318
2401
 
2319
- export { type QuoteRequest as $, type AddressSuggestion as A, type BehioStorefrontConfig as B, type Category as C, type ShopScripts as D, type ShopSeo as E, type FilterField as F, type Bundle as G, type ProductGroup as H, type CrossSellItem as I, type ActivePromotion as J, type GiftCardBalance as K, type LoyaltySummary as L, type Menu as M, type NewsletterSubscribeResult as N, type OrderListItem as O, type ProductsQuery as P, type ProductReviewsResponse as Q, type RegisterInput as R, type Subscription as S, type SubmitReviewInput as T, type ReturnableOrder as U, type ReturnStatus as V, type WishlistItem as W, type ReturnRequest as X, type SubmitReturnInput as Y, type CookieConsent as Z, type CookieConsentInput as _, BehioStorefront as a, type ProductVolumePrice as a$, type SubmitQuoteInput as a0, type BackInStockSubscription as a1, type AddToCartInput as a2, type AuthTokens as a3, BehioApiError as a4, type BundleItem as a5, type CartDiscount as a6, type CartItem as a7, type CheckoutAddress as a8, type FulfillmentStatus as a9, type GiftCardPurchaseResult as aA, type GiftCardSummary as aB, type LoyaltyBalance as aC, type LoyaltyNextTier as aD, type LoyaltyProgram as aE, type LoyaltyTier as aF, type LoyaltyTierPerks as aG, type LoyaltyTransaction as aH, type MenuItem as aI, type MenuItemRef as aJ, type MenuItemType as aK, type NewsletterOptInDefault as aL, type OrderStatusHistory as aM, OrderStatuses as aN, type OrderTracking as aO, type PageAttachment as aP, PaymentStatuses as aQ, type PickupPointHours as aR, type PriceDisplay as aS, type ProductAvailability as aT, type ProductCustomField as aU, type ProductCustomFieldGroup as aV, type ProductMedia as aW, type ProductMediaVariant as aX, type ProductPromotionSummary as aY, ProductSort as aZ, type ProductSortValue as a_, type LoginInput as aa, type MessageResponse as ab, type OrderItem as ac, type OrderStatus as ad, type PaymentStatus as ae, type ProductPrice as af, type ProductReview as ag, type ProductVariant as ah, type SdkResult as ai, type AddressType as aj, AddressTypes as ak, type BadgeTone as al, type BehioErrorCode as am, type BehioEventHandler as an, type BehioEventType as ao, BehioNetworkError as ap, type CartBundleLine as aq, type CartBundleLineItem as ar, type CartItemProduct as as, type CartPromotion as at, type CheckoutSettings as au, type DataGroupFieldType as av, type DigitalDownload as aw, type DownloadUrl as ax, FulfillmentStatuses as ay, type GiftCardPurchaseInput as az, type PaginatedResponse as b, type QuoteItem as b0, type RegisterResult as b1, type RequestInterceptor as b2, type RequestInterceptorConfig as b3, type ResponseInterceptor as b4, type ResponseInterceptorData as b5, type ReturnRequestItem as b6, type ReturnStatusItem as b7, type ReturnableOrderItem as b8, type SdkError as b9, type ShopScript as ba, type ShopScriptPlacement as bb, type ShopScriptType as bc, type ShopSeoIdentity as bd, type StockBehavior as be, type SubscriptionFrequency as bf, type SubscriptionItem as bg, type SubscriptionStatus as bh, type TaxBreakdownLine as bi, type VariantAxis as bj, type VariantAxisValue as bk, err as bl, ok as bm, toSdkError as bn, 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 SubscriptionAction as k, type PickupPointsInput as l, type PickupPoint as m, type ShippingMethodSummary as n, type ShippingQuoteInput as o, type ShippingQuote as p, type CheckoutPaymentMethod as q, type NewsletterSubscribeInput as r, type NewsletterUnsubscribeResult as s, type OrderDetail as t, type OrderAccessRequestResponse as u, type OrderAccessVerifyResponse as v, type CheckoutInput as w, type PageDetail as x, type Page as y, type ShopInfo as z };
2402
+ export { type CookieConsentInput as $, type AddressSuggestion as A, type BehioStorefrontConfig as B, type Category as C, type ShopInfo as D, type ShopScripts as E, type FilterField as F, type ShopSeo as G, type Bundle as H, type ProductGroup as I, type CrossSellItem as J, type ActivePromotion as K, type LoyaltySummary as L, type Menu as M, type NewsletterSubscribeResult as N, type OrderListItem as O, type ProductsQuery as P, type GiftCardBalance as Q, type RegisterInput as R, type Subscription as S, type ProductReviewsResponse as T, type SubmitReviewInput as U, type ReturnableOrder as V, type WishlistItem as W, type ReturnStatus as X, type ReturnRequest as Y, type SubmitReturnInput as Z, type CookieConsent as _, BehioStorefront as a, type PriceDisplay as a$, type QuoteRequest as a0, type SubmitQuoteInput as a1, type BackInStockSubscription as a2, type AddToCartInput as a3, type AuthTokens as a4, BehioApiError as a5, type BundleItem as a6, type CartDiscount as a7, type CartItem as a8, type CheckoutAddress as a9, type FacetAvailability as aA, type FacetCategory as aB, type FacetLabel as aC, type FacetPriceRange as aD, type FacetRange as aE, type FacetRatingBucket as aF, type FacetValue as aG, FulfillmentStatuses as aH, type GiftCardPurchaseInput as aI, type GiftCardPurchaseResult as aJ, type GiftCardSummary as aK, type LoyaltyBalance as aL, type LoyaltyNextTier as aM, type LoyaltyProgram as aN, type LoyaltyTier as aO, type LoyaltyTierPerks as aP, type LoyaltyTransaction as aQ, type MenuItem as aR, type MenuItemRef as aS, type MenuItemType as aT, type NewsletterOptInDefault as aU, type OrderStatusHistory as aV, OrderStatuses as aW, type OrderTracking as aX, type PageAttachment as aY, PaymentStatuses as aZ, type PickupPointHours as a_, type FulfillmentStatus as aa, type LoginInput as ab, type MessageResponse as ac, type OrderItem as ad, type OrderStatus as ae, type PaymentStatus as af, type ProductPrice as ag, type ProductReview as ah, type ProductVariant as ai, type SdkResult as aj, type AddressType as ak, AddressTypes as al, type BadgeTone as am, type BehioErrorCode as an, type BehioEventHandler as ao, type BehioEventType as ap, BehioNetworkError as aq, type CartBundleLine as ar, type CartBundleLineItem as as, type CartItemProduct as at, type CartPromotion as au, type CheckoutSettings as av, type DataGroupFieldType as aw, type DigitalDownload as ax, type DownloadUrl as ay, type Facet as az, type PaginatedResponse as b, type ProductAvailability as b0, type ProductCustomField as b1, type ProductCustomFieldGroup as b2, type ProductMedia as b3, type ProductMediaVariant as b4, type ProductPromotionSummary as b5, ProductSort as b6, type ProductSortValue as b7, type ProductVolumePrice as b8, type QuoteItem as b9, type RegisterResult as ba, type RequestInterceptor as bb, type RequestInterceptorConfig as bc, type ResponseInterceptor as bd, type ResponseInterceptorData as be, type ReturnRequestItem as bf, type ReturnStatusItem as bg, type ReturnableOrderItem as bh, type SdkError as bi, type ShopScript as bj, type ShopScriptPlacement as bk, type ShopScriptType as bl, type ShopSeoIdentity as bm, type StockBehavior as bn, type SubscriptionFrequency as bo, type SubscriptionItem as bp, type SubscriptionStatus as bq, type TaxBreakdownLine as br, type VariantAxis as bs, type VariantAxisValue as bt, err as bu, ok as bv, toSdkError as bw, type ProductListItem as c, type ProductDetail as d, type CategoryDetail as e, type ProductLabel as f, type FacetsResponse as g, type Cart as h, type CustomerProfile as i, type CustomerAddress as j, type AddressDetail as k, type SubscriptionAction as l, type PickupPointsInput as m, type PickupPoint as n, type ShippingMethodSummary as o, type ShippingQuoteInput as p, type ShippingQuote as q, type CheckoutPaymentMethod as r, type NewsletterSubscribeInput as s, type NewsletterUnsubscribeResult as t, type OrderDetail as u, type OrderAccessRequestResponse as v, type OrderAccessVerifyResponse as w, type CheckoutInput as x, type PageDetail as y, type Page as z };
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as BehioStorefront, ai as SdkResult, Z as CookieConsent } from './client-DNOo-M26.mjs';
2
- export { J as ActivePromotion, a2 as AddToCartInput, j as AddressDetail, A as AddressSuggestion, aj as AddressType, ak as AddressTypes, a3 as AuthTokens, a1 as BackInStockSubscription, al as BadgeTone, a4 as BehioApiError, am as BehioErrorCode, an as BehioEventHandler, ao as BehioEventType, ap as BehioNetworkError, B as BehioStorefrontConfig, G as Bundle, a5 as BundleItem, g as Cart, aq as CartBundleLine, ar as CartBundleLineItem, a6 as CartDiscount, a7 as CartItem, as as CartItemProduct, at as CartPromotion, C as Category, e as CategoryDetail, a8 as CheckoutAddress, w as CheckoutInput, q as CheckoutPaymentMethod, au as CheckoutSettings, _ as CookieConsentInput, I as CrossSellItem, i as CustomerAddress, h as CustomerProfile, av as DataGroupFieldType, aw as DigitalDownload, ax as DownloadUrl, F as FilterField, a9 as FulfillmentStatus, ay as FulfillmentStatuses, K as GiftCardBalance, az as GiftCardPurchaseInput, aA as GiftCardPurchaseResult, aB as GiftCardSummary, aa as LoginInput, aC as LoyaltyBalance, aD as LoyaltyNextTier, aE as LoyaltyProgram, L as LoyaltySummary, aF as LoyaltyTier, aG as LoyaltyTierPerks, aH as LoyaltyTransaction, M as Menu, aI as MenuItem, aJ as MenuItemRef, aK as MenuItemType, ab as MessageResponse, aL as NewsletterOptInDefault, r as NewsletterSubscribeInput, N as NewsletterSubscribeResult, s as NewsletterUnsubscribeResult, u as OrderAccessRequestResponse, v as OrderAccessVerifyResponse, t as OrderDetail, ac as OrderItem, O as OrderListItem, ad as OrderStatus, aM as OrderStatusHistory, aN as OrderStatuses, aO as OrderTracking, y as Page, aP as PageAttachment, x as PageDetail, b as PaginatedResponse, ae as PaymentStatus, aQ as PaymentStatuses, m as PickupPoint, aR as PickupPointHours, l as PickupPointsInput, aS as PriceDisplay, aT as ProductAvailability, aU as ProductCustomField, aV as ProductCustomFieldGroup, d as ProductDetail, H as ProductGroup, f as ProductLabel, c as ProductListItem, aW as ProductMedia, aX as ProductMediaVariant, af as ProductPrice, aY as ProductPromotionSummary, ag as ProductReview, Q as ProductReviewsResponse, aZ as ProductSort, a_ as ProductSortValue, ah as ProductVariant, a$ as ProductVolumePrice, P as ProductsQuery, b0 as QuoteItem, $ as QuoteRequest, R as RegisterInput, b1 as RegisterResult, b2 as RequestInterceptor, b3 as RequestInterceptorConfig, b4 as ResponseInterceptor, b5 as ResponseInterceptorData, X as ReturnRequest, b6 as ReturnRequestItem, V as ReturnStatus, b7 as ReturnStatusItem, U as ReturnableOrder, b8 as ReturnableOrderItem, b9 as SdkError, n as ShippingMethodSummary, p as ShippingQuote, o as ShippingQuoteInput, z as ShopInfo, ba as ShopScript, bb as ShopScriptPlacement, bc as ShopScriptType, D as ShopScripts, E as ShopSeo, bd as ShopSeoIdentity, be as StockBehavior, a0 as SubmitQuoteInput, Y as SubmitReturnInput, T as SubmitReviewInput, S as Subscription, k as SubscriptionAction, bf as SubscriptionFrequency, bg as SubscriptionItem, bh as SubscriptionStatus, bi as TaxBreakdownLine, bj as VariantAxis, bk as VariantAxisValue, W as WishlistItem, bl as err, bm as ok, bn as toSdkError } from './client-DNOo-M26.mjs';
1
+ import { a as BehioStorefront, aj as SdkResult, _ as CookieConsent } from './client-Bf2bJGyN.mjs';
2
+ export { K as ActivePromotion, a3 as AddToCartInput, k as AddressDetail, A as AddressSuggestion, ak as AddressType, al as AddressTypes, a4 as AuthTokens, a2 as BackInStockSubscription, am as BadgeTone, a5 as BehioApiError, an as BehioErrorCode, ao as BehioEventHandler, ap as BehioEventType, aq as BehioNetworkError, B as BehioStorefrontConfig, H as Bundle, a6 as BundleItem, h as Cart, ar as CartBundleLine, as as CartBundleLineItem, a7 as CartDiscount, a8 as CartItem, at as CartItemProduct, au as CartPromotion, C as Category, e as CategoryDetail, a9 as CheckoutAddress, x as CheckoutInput, r as CheckoutPaymentMethod, av as CheckoutSettings, $ as CookieConsentInput, J as CrossSellItem, j as CustomerAddress, i as CustomerProfile, aw as DataGroupFieldType, ax as DigitalDownload, ay as DownloadUrl, az as Facet, aA as FacetAvailability, aB as FacetCategory, aC as FacetLabel, aD as FacetPriceRange, aE as FacetRange, aF as FacetRatingBucket, aG as FacetValue, g as FacetsResponse, F as FilterField, aa as FulfillmentStatus, aH as FulfillmentStatuses, Q as GiftCardBalance, aI as GiftCardPurchaseInput, aJ as GiftCardPurchaseResult, aK as GiftCardSummary, ab as LoginInput, aL as LoyaltyBalance, aM as LoyaltyNextTier, aN as LoyaltyProgram, L as LoyaltySummary, aO as LoyaltyTier, aP as LoyaltyTierPerks, aQ as LoyaltyTransaction, M as Menu, aR as MenuItem, aS as MenuItemRef, aT as MenuItemType, ac as MessageResponse, aU as NewsletterOptInDefault, s as NewsletterSubscribeInput, N as NewsletterSubscribeResult, t as NewsletterUnsubscribeResult, v as OrderAccessRequestResponse, w as OrderAccessVerifyResponse, u as OrderDetail, ad as OrderItem, O as OrderListItem, ae as OrderStatus, aV as OrderStatusHistory, aW as OrderStatuses, aX as OrderTracking, z as Page, aY as PageAttachment, y as PageDetail, b as PaginatedResponse, af as PaymentStatus, aZ as PaymentStatuses, n as PickupPoint, a_ as PickupPointHours, m as PickupPointsInput, a$ as PriceDisplay, b0 as ProductAvailability, b1 as ProductCustomField, b2 as ProductCustomFieldGroup, d as ProductDetail, I as ProductGroup, f as ProductLabel, c as ProductListItem, b3 as ProductMedia, b4 as ProductMediaVariant, ag as ProductPrice, b5 as ProductPromotionSummary, ah as ProductReview, T as ProductReviewsResponse, b6 as ProductSort, b7 as ProductSortValue, ai as ProductVariant, b8 as ProductVolumePrice, P as ProductsQuery, b9 as QuoteItem, a0 as QuoteRequest, R as RegisterInput, ba as RegisterResult, bb as RequestInterceptor, bc as RequestInterceptorConfig, bd as ResponseInterceptor, be as ResponseInterceptorData, Y as ReturnRequest, bf as ReturnRequestItem, X as ReturnStatus, bg as ReturnStatusItem, V as ReturnableOrder, bh as ReturnableOrderItem, bi as SdkError, o as ShippingMethodSummary, q as ShippingQuote, p as ShippingQuoteInput, D as ShopInfo, bj as ShopScript, bk as ShopScriptPlacement, bl as ShopScriptType, E as ShopScripts, G as ShopSeo, bm as ShopSeoIdentity, bn as StockBehavior, a1 as SubmitQuoteInput, Z as SubmitReturnInput, U as SubmitReviewInput, S as Subscription, l as SubscriptionAction, bo as SubscriptionFrequency, bp as SubscriptionItem, bq as SubscriptionStatus, br as TaxBreakdownLine, bs as VariantAxis, bt as VariantAxisValue, W as WishlistItem, bu as err, bv as ok, bw as toSdkError } from './client-Bf2bJGyN.mjs';
3
3
 
4
4
  /**
5
5
  * Format a price amount with currency using Intl.NumberFormat.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as BehioStorefront, ai as SdkResult, Z as CookieConsent } from './client-DNOo-M26.js';
2
- export { J as ActivePromotion, a2 as AddToCartInput, j as AddressDetail, A as AddressSuggestion, aj as AddressType, ak as AddressTypes, a3 as AuthTokens, a1 as BackInStockSubscription, al as BadgeTone, a4 as BehioApiError, am as BehioErrorCode, an as BehioEventHandler, ao as BehioEventType, ap as BehioNetworkError, B as BehioStorefrontConfig, G as Bundle, a5 as BundleItem, g as Cart, aq as CartBundleLine, ar as CartBundleLineItem, a6 as CartDiscount, a7 as CartItem, as as CartItemProduct, at as CartPromotion, C as Category, e as CategoryDetail, a8 as CheckoutAddress, w as CheckoutInput, q as CheckoutPaymentMethod, au as CheckoutSettings, _ as CookieConsentInput, I as CrossSellItem, i as CustomerAddress, h as CustomerProfile, av as DataGroupFieldType, aw as DigitalDownload, ax as DownloadUrl, F as FilterField, a9 as FulfillmentStatus, ay as FulfillmentStatuses, K as GiftCardBalance, az as GiftCardPurchaseInput, aA as GiftCardPurchaseResult, aB as GiftCardSummary, aa as LoginInput, aC as LoyaltyBalance, aD as LoyaltyNextTier, aE as LoyaltyProgram, L as LoyaltySummary, aF as LoyaltyTier, aG as LoyaltyTierPerks, aH as LoyaltyTransaction, M as Menu, aI as MenuItem, aJ as MenuItemRef, aK as MenuItemType, ab as MessageResponse, aL as NewsletterOptInDefault, r as NewsletterSubscribeInput, N as NewsletterSubscribeResult, s as NewsletterUnsubscribeResult, u as OrderAccessRequestResponse, v as OrderAccessVerifyResponse, t as OrderDetail, ac as OrderItem, O as OrderListItem, ad as OrderStatus, aM as OrderStatusHistory, aN as OrderStatuses, aO as OrderTracking, y as Page, aP as PageAttachment, x as PageDetail, b as PaginatedResponse, ae as PaymentStatus, aQ as PaymentStatuses, m as PickupPoint, aR as PickupPointHours, l as PickupPointsInput, aS as PriceDisplay, aT as ProductAvailability, aU as ProductCustomField, aV as ProductCustomFieldGroup, d as ProductDetail, H as ProductGroup, f as ProductLabel, c as ProductListItem, aW as ProductMedia, aX as ProductMediaVariant, af as ProductPrice, aY as ProductPromotionSummary, ag as ProductReview, Q as ProductReviewsResponse, aZ as ProductSort, a_ as ProductSortValue, ah as ProductVariant, a$ as ProductVolumePrice, P as ProductsQuery, b0 as QuoteItem, $ as QuoteRequest, R as RegisterInput, b1 as RegisterResult, b2 as RequestInterceptor, b3 as RequestInterceptorConfig, b4 as ResponseInterceptor, b5 as ResponseInterceptorData, X as ReturnRequest, b6 as ReturnRequestItem, V as ReturnStatus, b7 as ReturnStatusItem, U as ReturnableOrder, b8 as ReturnableOrderItem, b9 as SdkError, n as ShippingMethodSummary, p as ShippingQuote, o as ShippingQuoteInput, z as ShopInfo, ba as ShopScript, bb as ShopScriptPlacement, bc as ShopScriptType, D as ShopScripts, E as ShopSeo, bd as ShopSeoIdentity, be as StockBehavior, a0 as SubmitQuoteInput, Y as SubmitReturnInput, T as SubmitReviewInput, S as Subscription, k as SubscriptionAction, bf as SubscriptionFrequency, bg as SubscriptionItem, bh as SubscriptionStatus, bi as TaxBreakdownLine, bj as VariantAxis, bk as VariantAxisValue, W as WishlistItem, bl as err, bm as ok, bn as toSdkError } from './client-DNOo-M26.js';
1
+ import { a as BehioStorefront, aj as SdkResult, _ as CookieConsent } from './client-Bf2bJGyN.js';
2
+ export { K as ActivePromotion, a3 as AddToCartInput, k as AddressDetail, A as AddressSuggestion, ak as AddressType, al as AddressTypes, a4 as AuthTokens, a2 as BackInStockSubscription, am as BadgeTone, a5 as BehioApiError, an as BehioErrorCode, ao as BehioEventHandler, ap as BehioEventType, aq as BehioNetworkError, B as BehioStorefrontConfig, H as Bundle, a6 as BundleItem, h as Cart, ar as CartBundleLine, as as CartBundleLineItem, a7 as CartDiscount, a8 as CartItem, at as CartItemProduct, au as CartPromotion, C as Category, e as CategoryDetail, a9 as CheckoutAddress, x as CheckoutInput, r as CheckoutPaymentMethod, av as CheckoutSettings, $ as CookieConsentInput, J as CrossSellItem, j as CustomerAddress, i as CustomerProfile, aw as DataGroupFieldType, ax as DigitalDownload, ay as DownloadUrl, az as Facet, aA as FacetAvailability, aB as FacetCategory, aC as FacetLabel, aD as FacetPriceRange, aE as FacetRange, aF as FacetRatingBucket, aG as FacetValue, g as FacetsResponse, F as FilterField, aa as FulfillmentStatus, aH as FulfillmentStatuses, Q as GiftCardBalance, aI as GiftCardPurchaseInput, aJ as GiftCardPurchaseResult, aK as GiftCardSummary, ab as LoginInput, aL as LoyaltyBalance, aM as LoyaltyNextTier, aN as LoyaltyProgram, L as LoyaltySummary, aO as LoyaltyTier, aP as LoyaltyTierPerks, aQ as LoyaltyTransaction, M as Menu, aR as MenuItem, aS as MenuItemRef, aT as MenuItemType, ac as MessageResponse, aU as NewsletterOptInDefault, s as NewsletterSubscribeInput, N as NewsletterSubscribeResult, t as NewsletterUnsubscribeResult, v as OrderAccessRequestResponse, w as OrderAccessVerifyResponse, u as OrderDetail, ad as OrderItem, O as OrderListItem, ae as OrderStatus, aV as OrderStatusHistory, aW as OrderStatuses, aX as OrderTracking, z as Page, aY as PageAttachment, y as PageDetail, b as PaginatedResponse, af as PaymentStatus, aZ as PaymentStatuses, n as PickupPoint, a_ as PickupPointHours, m as PickupPointsInput, a$ as PriceDisplay, b0 as ProductAvailability, b1 as ProductCustomField, b2 as ProductCustomFieldGroup, d as ProductDetail, I as ProductGroup, f as ProductLabel, c as ProductListItem, b3 as ProductMedia, b4 as ProductMediaVariant, ag as ProductPrice, b5 as ProductPromotionSummary, ah as ProductReview, T as ProductReviewsResponse, b6 as ProductSort, b7 as ProductSortValue, ai as ProductVariant, b8 as ProductVolumePrice, P as ProductsQuery, b9 as QuoteItem, a0 as QuoteRequest, R as RegisterInput, ba as RegisterResult, bb as RequestInterceptor, bc as RequestInterceptorConfig, bd as ResponseInterceptor, be as ResponseInterceptorData, Y as ReturnRequest, bf as ReturnRequestItem, X as ReturnStatus, bg as ReturnStatusItem, V as ReturnableOrder, bh as ReturnableOrderItem, bi as SdkError, o as ShippingMethodSummary, q as ShippingQuote, p as ShippingQuoteInput, D as ShopInfo, bj as ShopScript, bk as ShopScriptPlacement, bl as ShopScriptType, E as ShopScripts, G as ShopSeo, bm as ShopSeoIdentity, bn as StockBehavior, a1 as SubmitQuoteInput, Z as SubmitReturnInput, U as SubmitReviewInput, S as Subscription, l as SubscriptionAction, bo as SubscriptionFrequency, bp as SubscriptionItem, bq as SubscriptionStatus, br as TaxBreakdownLine, bs as VariantAxis, bt as VariantAxisValue, W as WishlistItem, bu as err, bv as ok, bw as toSdkError } from './client-Bf2bJGyN.js';
3
3
 
4
4
  /**
5
5
  * Format a price amount with currency using Intl.NumberFormat.
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@ var _chunkCZRSJULDjs = require('./chunk-CZRSJULD.js');
18
18
 
19
19
 
20
20
 
21
- var _chunkY4ZCK5HDjs = require('./chunk-Y4ZCK5HD.js');
21
+ var _chunkXEU3XH6Hjs = require('./chunk-XEU3XH6H.js');
22
22
 
23
23
 
24
24
 
@@ -37,4 +37,4 @@ var _chunkY4ZCK5HDjs = require('./chunk-Y4ZCK5HD.js');
37
37
 
38
38
 
39
39
 
40
- exports.AddressTypes = _chunkY4ZCK5HDjs.AddressTypes; exports.BehioApiError = _chunkY4ZCK5HDjs.BehioApiError; exports.BehioNetworkError = _chunkY4ZCK5HDjs.BehioNetworkError; exports.BehioStorefront = _chunkY4ZCK5HDjs.BehioStorefront; exports.FulfillmentStatuses = _chunkY4ZCK5HDjs.FulfillmentStatuses; exports.OrderStatuses = _chunkY4ZCK5HDjs.OrderStatuses; exports.PaymentStatuses = _chunkY4ZCK5HDjs.PaymentStatuses; exports.ProductSort = _chunkY4ZCK5HDjs.ProductSort; exports.err = _chunkY4ZCK5HDjs.err; exports.formatPrice = _chunkCZRSJULDjs.formatPrice; exports.generateVisitorId = _chunkCZRSJULDjs.generateVisitorId; exports.getStoredVisitorId = _chunkCZRSJULDjs.getStoredVisitorId; exports.grantAnalyticsConsent = _chunkCZRSJULDjs.grantAnalyticsConsent; exports.ok = _chunkY4ZCK5HDjs.ok; exports.revokeAnalyticsConsent = _chunkCZRSJULDjs.revokeAnalyticsConsent; exports.toSdkError = _chunkY4ZCK5HDjs.toSdkError; exports.trackEcommerceEvent = _chunkCZRSJULDjs.trackEcommerceEvent;
40
+ exports.AddressTypes = _chunkXEU3XH6Hjs.AddressTypes; exports.BehioApiError = _chunkXEU3XH6Hjs.BehioApiError; exports.BehioNetworkError = _chunkXEU3XH6Hjs.BehioNetworkError; exports.BehioStorefront = _chunkXEU3XH6Hjs.BehioStorefront; exports.FulfillmentStatuses = _chunkXEU3XH6Hjs.FulfillmentStatuses; exports.OrderStatuses = _chunkXEU3XH6Hjs.OrderStatuses; exports.PaymentStatuses = _chunkXEU3XH6Hjs.PaymentStatuses; exports.ProductSort = _chunkXEU3XH6Hjs.ProductSort; exports.err = _chunkXEU3XH6Hjs.err; exports.formatPrice = _chunkCZRSJULDjs.formatPrice; exports.generateVisitorId = _chunkCZRSJULDjs.generateVisitorId; exports.getStoredVisitorId = _chunkCZRSJULDjs.getStoredVisitorId; exports.grantAnalyticsConsent = _chunkCZRSJULDjs.grantAnalyticsConsent; exports.ok = _chunkXEU3XH6Hjs.ok; exports.revokeAnalyticsConsent = _chunkCZRSJULDjs.revokeAnalyticsConsent; exports.toSdkError = _chunkXEU3XH6Hjs.toSdkError; exports.trackEcommerceEvent = _chunkCZRSJULDjs.trackEcommerceEvent;
package/dist/index.mjs CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  err,
19
19
  ok,
20
20
  toSdkError
21
- } from "./chunk-5KJDVDUM.mjs";
21
+ } from "./chunk-LNYVY6ER.mjs";
22
22
  export {
23
23
  AddressTypes,
24
24
  BehioApiError,
package/dist/next.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { B as BehioStorefrontConfig, a as BehioStorefront } from './client-DNOo-M26.mjs';
1
+ import { B as BehioStorefrontConfig, a as BehioStorefront } from './client-Bf2bJGyN.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-DNOo-M26.js';
1
+ import { B as BehioStorefrontConfig, a as BehioStorefront } from './client-Bf2bJGyN.js';
2
2
 
3
3
  interface GetBehioOptions extends Partial<BehioStorefrontConfig> {
4
4
  /** Override the cart session cookie name (default: "behio_cart_session"). */
package/dist/next.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkY4ZCK5HDjs = require('./chunk-Y4ZCK5HD.js');
3
+ var _chunkXEU3XH6Hjs = require('./chunk-XEU3XH6H.js');
4
4
 
5
5
  // src/next.ts
6
6
  var _headers = require('next/headers');
@@ -18,7 +18,7 @@ async function getBehio(options = {}) {
18
18
  const locale = _nullishCoalesce(options.locale, () => ( process.env.BEHIO_LOCALE));
19
19
  const currency = _nullishCoalesce(options.currency, () => ( process.env.BEHIO_CURRENCY));
20
20
  const cookieName = _nullishCoalesce(options.cartCookieName, () => ( CART_COOKIE_NAME));
21
- const client = new (0, _chunkY4ZCK5HDjs.BehioStorefront)({
21
+ const client = new (0, _chunkXEU3XH6Hjs.BehioStorefront)({
22
22
  apiKey,
23
23
  ...baseUrl ? { baseUrl } : {},
24
24
  ...locale ? { locale } : {},
package/dist/next.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  BehioStorefront
3
- } from "./chunk-5KJDVDUM.mjs";
3
+ } from "./chunk-LNYVY6ER.mjs";
4
4
 
5
5
  // src/next.ts
6
6
  import { cookies } from "next/headers";
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, L as LoyaltySummary, S as Subscription, k as SubscriptionAction, l as PickupPointsInput, m as PickupPoint, n as ShippingMethodSummary, o as ShippingQuoteInput, p as ShippingQuote, q as CheckoutPaymentMethod, N as NewsletterSubscribeResult, r as NewsletterSubscribeInput, s as NewsletterUnsubscribeResult, O as OrderListItem, t as OrderDetail, u as OrderAccessRequestResponse, v as OrderAccessVerifyResponse, w as CheckoutInput, x as PageDetail, y as Page, z as ShopInfo, D as ShopScripts, E as ShopSeo, G as Bundle, H as ProductGroup, I as CrossSellItem, J as ActivePromotion, K as GiftCardBalance, W as WishlistItem, Q as ProductReviewsResponse, T as SubmitReviewInput, U as ReturnableOrder, V as ReturnStatus, X as ReturnRequest, Y as SubmitReturnInput, Z as CookieConsent, _ as CookieConsentInput, $ as QuoteRequest, a0 as SubmitQuoteInput, a1 as BackInStockSubscription } from './client-DNOo-M26.mjs';
5
- export { a2 as AddToCartInput, a3 as AuthTokens, a4 as BehioApiError, a5 as BundleItem, a6 as CartDiscount, a7 as CartItem, a8 as CheckoutAddress, a9 as FulfillmentStatus, aa as LoginInput, ab as MessageResponse, ac as OrderItem, ad as OrderStatus, ae as PaymentStatus, af as ProductPrice, ag as ProductReview, ah as ProductVariant } from './client-DNOo-M26.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 FacetsResponse, h as Cart, i as CustomerProfile, R as RegisterInput, j as CustomerAddress, A as AddressSuggestion, k as AddressDetail, L as LoyaltySummary, S as Subscription, l as SubscriptionAction, m as PickupPointsInput, n as PickupPoint, o as ShippingMethodSummary, p as ShippingQuoteInput, q as ShippingQuote, r as CheckoutPaymentMethod, N as NewsletterSubscribeResult, s as NewsletterSubscribeInput, t as NewsletterUnsubscribeResult, O as OrderListItem, u as OrderDetail, v as OrderAccessRequestResponse, w as OrderAccessVerifyResponse, x as CheckoutInput, y as PageDetail, z as Page, D as ShopInfo, E as ShopScripts, G as ShopSeo, H as Bundle, I as ProductGroup, J as CrossSellItem, K as ActivePromotion, Q as GiftCardBalance, W as WishlistItem, T as ProductReviewsResponse, U as SubmitReviewInput, V as ReturnableOrder, X as ReturnStatus, Y as ReturnRequest, Z as SubmitReturnInput, _ as CookieConsent, $ as CookieConsentInput, a0 as QuoteRequest, a1 as SubmitQuoteInput, a2 as BackInStockSubscription } from './client-Bf2bJGyN.mjs';
5
+ export { a3 as AddToCartInput, a4 as AuthTokens, a5 as BehioApiError, a6 as BundleItem, a7 as CartDiscount, a8 as CartItem, a9 as CheckoutAddress, aa as FulfillmentStatus, ab as LoginInput, ac as MessageResponse, ad as OrderItem, ae as OrderStatus, af as PaymentStatus, ag as ProductPrice, ah as ProductReview, ai as ProductVariant } from './client-Bf2bJGyN.mjs';
6
6
  import * as _tanstack_query_core from '@tanstack/query-core';
7
7
  export { EcommerceEventName, EcommerceItem, EcommercePayload, formatPrice, generateVisitorId, getStoredVisitorId, grantAnalyticsConsent, revokeAnalyticsConsent, trackEcommerceEvent } from './index.mjs';
8
8
 
@@ -179,6 +179,18 @@ interface UseFiltersOptions {
179
179
  }
180
180
  declare function useFilters(options?: UseFiltersOptions): _tanstack_react_query.UseQueryResult<NoInfer<FilterField[]>, Error>;
181
181
 
182
+ interface UseFacetsOptions {
183
+ enabled?: boolean;
184
+ }
185
+ /**
186
+ * Facet groups + selection-aware counts for the given filter query (the same
187
+ * shape you pass to `useProducts`). Drives an Alza-style filter sidebar: counts
188
+ * update as the customer ticks values, and zero-count values are returned so you
189
+ * can render them disabled instead of hiding them. The query key includes the
190
+ * serialized filters so switching filters refetches.
191
+ */
192
+ declare function useFacets(query?: ProductsQuery, options?: UseFacetsOptions): _tanstack_react_query.UseQueryResult<NoInfer<FacetsResponse>, Error>;
193
+
182
194
  interface UseSearchOptions {
183
195
  page?: number;
184
196
  limit?: number;
@@ -1281,4 +1293,4 @@ declare function useNotifyWhenAvailable(): _tanstack_react_query.UseMutationResu
1281
1293
  */
1282
1294
  declare function useBehioClient(): BehioStorefront;
1283
1295
 
1284
- export { ActivePromotion, type AnalyticsEventInput, BehioAnalyticsTracker, BehioProvider, type BehioProviderProps, Bundle, Cart, Category, CategoryDetail, CheckoutInput, CookieConsent, CookieConsentInput, CrossSellItem, CurrencySwitcher, type CurrencySwitcherProps, type CurrencySwitcherRenderProps, CustomerAddress, CustomerProfile, FilterField, GiftCardBalance, OrderDetail, OrderListItem, Page, PageDetail, PaginatedResponse, type PersonalOffer, ProductDetail, ProductLabel, ProductListItem, ProductReviewsResponse, ProductsQuery, QuoteRequest, RegisterInput, ReturnRequest, ShopInfo, ShopSeo, type StorageAdapter, StorefrontScripts, type StorefrontScriptsProps, SubmitQuoteInput, SubmitReturnInput, SubmitReviewInput, type UseAddressAutocompleteOptions, type UseAddressAutocompleteReturn, type UseAddressesOptions, type UseCartCountOptions, type UseCartOptions, type UseCategoriesOptions, type UseCategoryOptions, type UseCurrencyResult, type UseCustomerOptions, type UseFeaturedOptions, type UseFiltersOptions, type UseLabelsOptions, type UseLoyaltyOptions, type UseMenuOptions, type UseOrderOptions, type UseOrdersOptions, type UsePageOptions, type UsePagesOptions, type UsePaymentMethodsOptions, type UsePersonalOffersOptions, type UseProductOptions, type UseProductsOptions, type UseSearchOptions, type UseShippingMethodsOptions, type UseShippingQuoteOptions, type UseShopInfoOptions, type UseShopScriptsOptions, type UseShopSeoOptions, type UseSubscriptionsOptions, WishlistItem, cookieStorage, createMemoryStorage, detectStorage, localStorageAdapter, memoryStorage, useAddressAutocomplete, useAddresses, useAnalyticsEvents, useAuth, useBehio, useBehioClient, useBundle, useBundles, useCart, useCartCount, useCategories, useCategory, useCheckout, useCookieConsent, useCrossSell, useCurrency, useCustomer, useFeatured, useFilters, useGiftCardBalance, useIsInWishlist, useLabels, useLookupReturnableOrder, useLoyalty, useMenu, useNewsletterSubscribe, useNewsletterUnsubscribe, useNotifyWhenAvailable, useOrder, useOrderAccess, useOrders, usePage, usePages, usePaymentMethods, usePersonalOffers, usePickupPoints, useProduct, useProductGroup, useProductPromotions, useProductReviews, useProducts, useQuoteStatus, useReturnStatus, useSearch, useShippingMethods, useShippingQuote, useShopInfo, useShopScripts, useShopSeo, useSubmitQuote, useSubmitReturn, useSubmitReview, useSubscriptions, useWishlist };
1296
+ export { ActivePromotion, type AnalyticsEventInput, BehioAnalyticsTracker, BehioProvider, type BehioProviderProps, Bundle, Cart, Category, CategoryDetail, CheckoutInput, CookieConsent, CookieConsentInput, CrossSellItem, CurrencySwitcher, type CurrencySwitcherProps, type CurrencySwitcherRenderProps, CustomerAddress, CustomerProfile, FilterField, GiftCardBalance, OrderDetail, OrderListItem, Page, PageDetail, PaginatedResponse, type PersonalOffer, ProductDetail, ProductLabel, ProductListItem, ProductReviewsResponse, ProductsQuery, QuoteRequest, RegisterInput, ReturnRequest, ShopInfo, ShopSeo, type StorageAdapter, StorefrontScripts, type StorefrontScriptsProps, SubmitQuoteInput, SubmitReturnInput, SubmitReviewInput, type UseAddressAutocompleteOptions, type UseAddressAutocompleteReturn, type UseAddressesOptions, type UseCartCountOptions, type UseCartOptions, type UseCategoriesOptions, type UseCategoryOptions, type UseCurrencyResult, type UseCustomerOptions, type UseFacetsOptions, type UseFeaturedOptions, type UseFiltersOptions, type UseLabelsOptions, type UseLoyaltyOptions, type UseMenuOptions, type UseOrderOptions, type UseOrdersOptions, type UsePageOptions, type UsePagesOptions, type UsePaymentMethodsOptions, type UsePersonalOffersOptions, type UseProductOptions, type UseProductsOptions, type UseSearchOptions, type UseShippingMethodsOptions, type UseShippingQuoteOptions, type UseShopInfoOptions, type UseShopScriptsOptions, type UseShopSeoOptions, type UseSubscriptionsOptions, WishlistItem, cookieStorage, createMemoryStorage, detectStorage, localStorageAdapter, memoryStorage, useAddressAutocomplete, useAddresses, useAnalyticsEvents, useAuth, useBehio, useBehioClient, useBundle, useBundles, useCart, useCartCount, useCategories, useCategory, useCheckout, useCookieConsent, useCrossSell, useCurrency, useCustomer, useFacets, useFeatured, useFilters, useGiftCardBalance, useIsInWishlist, useLabels, useLookupReturnableOrder, useLoyalty, useMenu, useNewsletterSubscribe, useNewsletterUnsubscribe, useNotifyWhenAvailable, useOrder, useOrderAccess, useOrders, usePage, usePages, usePaymentMethods, usePersonalOffers, usePickupPoints, useProduct, useProductGroup, useProductPromotions, useProductReviews, useProducts, useQuoteStatus, useReturnStatus, useSearch, useShippingMethods, useShippingQuote, useShopInfo, useShopScripts, useShopSeo, useSubmitQuote, useSubmitReturn, useSubmitReview, useSubscriptions, useWishlist };
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, L as LoyaltySummary, S as Subscription, k as SubscriptionAction, l as PickupPointsInput, m as PickupPoint, n as ShippingMethodSummary, o as ShippingQuoteInput, p as ShippingQuote, q as CheckoutPaymentMethod, N as NewsletterSubscribeResult, r as NewsletterSubscribeInput, s as NewsletterUnsubscribeResult, O as OrderListItem, t as OrderDetail, u as OrderAccessRequestResponse, v as OrderAccessVerifyResponse, w as CheckoutInput, x as PageDetail, y as Page, z as ShopInfo, D as ShopScripts, E as ShopSeo, G as Bundle, H as ProductGroup, I as CrossSellItem, J as ActivePromotion, K as GiftCardBalance, W as WishlistItem, Q as ProductReviewsResponse, T as SubmitReviewInput, U as ReturnableOrder, V as ReturnStatus, X as ReturnRequest, Y as SubmitReturnInput, Z as CookieConsent, _ as CookieConsentInput, $ as QuoteRequest, a0 as SubmitQuoteInput, a1 as BackInStockSubscription } from './client-DNOo-M26.js';
5
- export { a2 as AddToCartInput, a3 as AuthTokens, a4 as BehioApiError, a5 as BundleItem, a6 as CartDiscount, a7 as CartItem, a8 as CheckoutAddress, a9 as FulfillmentStatus, aa as LoginInput, ab as MessageResponse, ac as OrderItem, ad as OrderStatus, ae as PaymentStatus, af as ProductPrice, ag as ProductReview, ah as ProductVariant } from './client-DNOo-M26.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 FacetsResponse, h as Cart, i as CustomerProfile, R as RegisterInput, j as CustomerAddress, A as AddressSuggestion, k as AddressDetail, L as LoyaltySummary, S as Subscription, l as SubscriptionAction, m as PickupPointsInput, n as PickupPoint, o as ShippingMethodSummary, p as ShippingQuoteInput, q as ShippingQuote, r as CheckoutPaymentMethod, N as NewsletterSubscribeResult, s as NewsletterSubscribeInput, t as NewsletterUnsubscribeResult, O as OrderListItem, u as OrderDetail, v as OrderAccessRequestResponse, w as OrderAccessVerifyResponse, x as CheckoutInput, y as PageDetail, z as Page, D as ShopInfo, E as ShopScripts, G as ShopSeo, H as Bundle, I as ProductGroup, J as CrossSellItem, K as ActivePromotion, Q as GiftCardBalance, W as WishlistItem, T as ProductReviewsResponse, U as SubmitReviewInput, V as ReturnableOrder, X as ReturnStatus, Y as ReturnRequest, Z as SubmitReturnInput, _ as CookieConsent, $ as CookieConsentInput, a0 as QuoteRequest, a1 as SubmitQuoteInput, a2 as BackInStockSubscription } from './client-Bf2bJGyN.js';
5
+ export { a3 as AddToCartInput, a4 as AuthTokens, a5 as BehioApiError, a6 as BundleItem, a7 as CartDiscount, a8 as CartItem, a9 as CheckoutAddress, aa as FulfillmentStatus, ab as LoginInput, ac as MessageResponse, ad as OrderItem, ae as OrderStatus, af as PaymentStatus, ag as ProductPrice, ah as ProductReview, ai as ProductVariant } from './client-Bf2bJGyN.js';
6
6
  import * as _tanstack_query_core from '@tanstack/query-core';
7
7
  export { EcommerceEventName, EcommerceItem, EcommercePayload, formatPrice, generateVisitorId, getStoredVisitorId, grantAnalyticsConsent, revokeAnalyticsConsent, trackEcommerceEvent } from './index.js';
8
8
 
@@ -179,6 +179,18 @@ interface UseFiltersOptions {
179
179
  }
180
180
  declare function useFilters(options?: UseFiltersOptions): _tanstack_react_query.UseQueryResult<NoInfer<FilterField[]>, Error>;
181
181
 
182
+ interface UseFacetsOptions {
183
+ enabled?: boolean;
184
+ }
185
+ /**
186
+ * Facet groups + selection-aware counts for the given filter query (the same
187
+ * shape you pass to `useProducts`). Drives an Alza-style filter sidebar: counts
188
+ * update as the customer ticks values, and zero-count values are returned so you
189
+ * can render them disabled instead of hiding them. The query key includes the
190
+ * serialized filters so switching filters refetches.
191
+ */
192
+ declare function useFacets(query?: ProductsQuery, options?: UseFacetsOptions): _tanstack_react_query.UseQueryResult<NoInfer<FacetsResponse>, Error>;
193
+
182
194
  interface UseSearchOptions {
183
195
  page?: number;
184
196
  limit?: number;
@@ -1281,4 +1293,4 @@ declare function useNotifyWhenAvailable(): _tanstack_react_query.UseMutationResu
1281
1293
  */
1282
1294
  declare function useBehioClient(): BehioStorefront;
1283
1295
 
1284
- export { ActivePromotion, type AnalyticsEventInput, BehioAnalyticsTracker, BehioProvider, type BehioProviderProps, Bundle, Cart, Category, CategoryDetail, CheckoutInput, CookieConsent, CookieConsentInput, CrossSellItem, CurrencySwitcher, type CurrencySwitcherProps, type CurrencySwitcherRenderProps, CustomerAddress, CustomerProfile, FilterField, GiftCardBalance, OrderDetail, OrderListItem, Page, PageDetail, PaginatedResponse, type PersonalOffer, ProductDetail, ProductLabel, ProductListItem, ProductReviewsResponse, ProductsQuery, QuoteRequest, RegisterInput, ReturnRequest, ShopInfo, ShopSeo, type StorageAdapter, StorefrontScripts, type StorefrontScriptsProps, SubmitQuoteInput, SubmitReturnInput, SubmitReviewInput, type UseAddressAutocompleteOptions, type UseAddressAutocompleteReturn, type UseAddressesOptions, type UseCartCountOptions, type UseCartOptions, type UseCategoriesOptions, type UseCategoryOptions, type UseCurrencyResult, type UseCustomerOptions, type UseFeaturedOptions, type UseFiltersOptions, type UseLabelsOptions, type UseLoyaltyOptions, type UseMenuOptions, type UseOrderOptions, type UseOrdersOptions, type UsePageOptions, type UsePagesOptions, type UsePaymentMethodsOptions, type UsePersonalOffersOptions, type UseProductOptions, type UseProductsOptions, type UseSearchOptions, type UseShippingMethodsOptions, type UseShippingQuoteOptions, type UseShopInfoOptions, type UseShopScriptsOptions, type UseShopSeoOptions, type UseSubscriptionsOptions, WishlistItem, cookieStorage, createMemoryStorage, detectStorage, localStorageAdapter, memoryStorage, useAddressAutocomplete, useAddresses, useAnalyticsEvents, useAuth, useBehio, useBehioClient, useBundle, useBundles, useCart, useCartCount, useCategories, useCategory, useCheckout, useCookieConsent, useCrossSell, useCurrency, useCustomer, useFeatured, useFilters, useGiftCardBalance, useIsInWishlist, useLabels, useLookupReturnableOrder, useLoyalty, useMenu, useNewsletterSubscribe, useNewsletterUnsubscribe, useNotifyWhenAvailable, useOrder, useOrderAccess, useOrders, usePage, usePages, usePaymentMethods, usePersonalOffers, usePickupPoints, useProduct, useProductGroup, useProductPromotions, useProductReviews, useProducts, useQuoteStatus, useReturnStatus, useSearch, useShippingMethods, useShippingQuote, useShopInfo, useShopScripts, useShopSeo, useSubmitQuote, useSubmitReturn, useSubmitReview, useSubscriptions, useWishlist };
1296
+ export { ActivePromotion, type AnalyticsEventInput, BehioAnalyticsTracker, BehioProvider, type BehioProviderProps, Bundle, Cart, Category, CategoryDetail, CheckoutInput, CookieConsent, CookieConsentInput, CrossSellItem, CurrencySwitcher, type CurrencySwitcherProps, type CurrencySwitcherRenderProps, CustomerAddress, CustomerProfile, FilterField, GiftCardBalance, OrderDetail, OrderListItem, Page, PageDetail, PaginatedResponse, type PersonalOffer, ProductDetail, ProductLabel, ProductListItem, ProductReviewsResponse, ProductsQuery, QuoteRequest, RegisterInput, ReturnRequest, ShopInfo, ShopSeo, type StorageAdapter, StorefrontScripts, type StorefrontScriptsProps, SubmitQuoteInput, SubmitReturnInput, SubmitReviewInput, type UseAddressAutocompleteOptions, type UseAddressAutocompleteReturn, type UseAddressesOptions, type UseCartCountOptions, type UseCartOptions, type UseCategoriesOptions, type UseCategoryOptions, type UseCurrencyResult, type UseCustomerOptions, type UseFacetsOptions, type UseFeaturedOptions, type UseFiltersOptions, type UseLabelsOptions, type UseLoyaltyOptions, type UseMenuOptions, type UseOrderOptions, type UseOrdersOptions, type UsePageOptions, type UsePagesOptions, type UsePaymentMethodsOptions, type UsePersonalOffersOptions, type UseProductOptions, type UseProductsOptions, type UseSearchOptions, type UseShippingMethodsOptions, type UseShippingQuoteOptions, type UseShopInfoOptions, type UseShopScriptsOptions, type UseShopSeoOptions, type UseSubscriptionsOptions, WishlistItem, cookieStorage, createMemoryStorage, detectStorage, localStorageAdapter, memoryStorage, useAddressAutocomplete, useAddresses, useAnalyticsEvents, useAuth, useBehio, useBehioClient, useBundle, useBundles, useCart, useCartCount, useCategories, useCategory, useCheckout, useCookieConsent, useCrossSell, useCurrency, useCustomer, useFacets, useFeatured, useFilters, useGiftCardBalance, useIsInWishlist, useLabels, useLookupReturnableOrder, useLoyalty, useMenu, useNewsletterSubscribe, useNewsletterUnsubscribe, useNotifyWhenAvailable, useOrder, useOrderAccess, useOrders, usePage, usePages, usePaymentMethods, usePersonalOffers, usePickupPoints, useProduct, useProductGroup, useProductPromotions, useProductReviews, useProducts, useQuoteStatus, useReturnStatus, useSearch, useShippingMethods, useShippingQuote, useShopInfo, useShopScripts, useShopSeo, useSubmitQuote, useSubmitReturn, useSubmitReview, useSubscriptions, useWishlist };