@behio/storefront-sdk 0.16.0 → 0.17.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.
@@ -356,6 +356,28 @@ interface Cart {
356
356
  * min(balance, remaining due), last one partially), so they do not change
357
357
  * `grandTotal` here; use them to list applied cards + balances in the cart. */
358
358
  giftCards: GiftCardSummary[];
359
+ /** Bundle lines in the cart, separate from `items`. Manage with
360
+ * `cart.updateBundleQuantity` / `cart.removeBundle`. */
361
+ bundleLines: CartBundleLine[];
362
+ }
363
+ /** One product inside a bundle line. */
364
+ interface CartBundleLineItem {
365
+ productId: string;
366
+ name: string;
367
+ sku: string;
368
+ quantity: number;
369
+ }
370
+ /** A bundle added to the cart, with its own quantity + price snapshot. */
371
+ interface CartBundleLine {
372
+ id: string;
373
+ bundleId: string;
374
+ bundleSlug: string;
375
+ bundleName: string;
376
+ quantity: number;
377
+ /** Snapshot of the bundle's per-unit price when it was added. */
378
+ bundlePriceSnapshot: number;
379
+ currency: string;
380
+ items: CartBundleLineItem[];
359
381
  }
360
382
  /** A gift card applied to the cart, with its current balance. */
361
383
  interface GiftCardSummary {
@@ -1362,4 +1384,4 @@ declare class ShippingModule {
1362
1384
  }>>;
1363
1385
  }
1364
1386
 
1365
- export { type PaymentStatus as $, type AddressSuggestion as A, type BehioStorefrontConfig as B, type Category as C, type CookieConsent as D, type CookieConsentInput as E, type FilterField as F, type GiftCardBalance as G, type SubmitQuoteInput as H, type BackInStockSubscription as I, type AddToCartInput as J, type AuthTokens as K, BehioApiError as L, type BundleItem as M, type CartDiscount as N, type OrderListItem as O, type ProductsQuery as P, type QuoteRequest as Q, type RegisterInput as R, type ShopInfo as S, type CartItem as T, type CheckoutAddress as U, type FulfillmentStatus as V, type WishlistItem as W, type LoginInput as X, type MessageResponse as Y, type OrderItem as Z, type OrderStatus as _, BehioStorefront as a, type ProductPrice as a0, type ProductReview as a1, type ProductVariant as a2, type AddressType as a3, AddressTypes as a4, type BehioErrorCode as a5, type BehioEventHandler as a6, type BehioEventType as a7, BehioNetworkError as a8, type CartItemProduct as a9, type ShippingQuoteInput as aA, err as aB, ok as aC, toSdkError as aD, type CheckoutPaymentMethod as aa, type DataGroupFieldType as ab, FulfillmentStatuses as ac, type GiftCardSummary as ad, type OrderStatusHistory as ae, OrderStatuses as af, type OrderTracking as ag, type PageAttachment as ah, PaymentStatuses as ai, type ProductMedia as aj, type ProductMediaVariant as ak, ProductSort as al, type ProductSortValue as am, type ProductVolumePrice as an, type QuoteItem as ao, type RequestInterceptor as ap, type RequestInterceptorConfig as aq, type ResponseInterceptor as ar, type ResponseInterceptorData as as, type ReturnRequestItem as at, type ReturnStatusItem as au, type ReturnableOrderItem as av, type SdkError as aw, type SdkResult as ax, type ShippingMethodSummary as ay, type ShippingQuote 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 ShopSeo as q, type Bundle as r, type CrossSellItem as s, type ActivePromotion as t, type ProductReviewsResponse as u, type SubmitReviewInput as v, type ReturnableOrder as w, type ReturnStatus as x, type ReturnRequest as y, type SubmitReturnInput as z };
1387
+ export { type PaymentStatus as $, type AddressSuggestion as A, type BehioStorefrontConfig as B, type Category as C, type CookieConsent as D, type CookieConsentInput as E, type FilterField as F, type GiftCardBalance as G, type SubmitQuoteInput as H, type BackInStockSubscription as I, type AddToCartInput as J, type AuthTokens as K, BehioApiError as L, type BundleItem as M, type CartDiscount as N, type OrderListItem as O, type ProductsQuery as P, type QuoteRequest as Q, type RegisterInput as R, type ShopInfo as S, type CartItem as T, type CheckoutAddress as U, type FulfillmentStatus as V, type WishlistItem as W, type LoginInput as X, type MessageResponse as Y, type OrderItem as Z, type OrderStatus as _, BehioStorefront as a, type ProductPrice as a0, type ProductReview as a1, type ProductVariant as a2, type AddressType as a3, AddressTypes as a4, type BehioErrorCode as a5, type BehioEventHandler as a6, type BehioEventType as a7, BehioNetworkError as a8, type CartBundleLine as a9, type ShippingMethodSummary as aA, type ShippingQuote as aB, type ShippingQuoteInput as aC, err as aD, ok as aE, toSdkError as aF, type CartBundleLineItem as aa, type CartItemProduct as ab, type CheckoutPaymentMethod as ac, type DataGroupFieldType as ad, FulfillmentStatuses as ae, type GiftCardSummary as af, type OrderStatusHistory as ag, OrderStatuses as ah, type OrderTracking as ai, type PageAttachment as aj, PaymentStatuses as ak, type ProductMedia as al, type ProductMediaVariant as am, ProductSort as an, type ProductSortValue as ao, type ProductVolumePrice as ap, type QuoteItem as aq, type RequestInterceptor as ar, type RequestInterceptorConfig as as, type ResponseInterceptor as at, type ResponseInterceptorData as au, type ReturnRequestItem as av, type ReturnStatusItem as aw, type ReturnableOrderItem as ax, type SdkError as ay, type SdkResult 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 ShopSeo as q, type Bundle as r, type CrossSellItem as s, type ActivePromotion as t, type ProductReviewsResponse as u, type SubmitReviewInput as v, type ReturnableOrder as w, type ReturnStatus as x, type ReturnRequest as y, type SubmitReturnInput as z };
@@ -356,6 +356,28 @@ interface Cart {
356
356
  * min(balance, remaining due), last one partially), so they do not change
357
357
  * `grandTotal` here; use them to list applied cards + balances in the cart. */
358
358
  giftCards: GiftCardSummary[];
359
+ /** Bundle lines in the cart, separate from `items`. Manage with
360
+ * `cart.updateBundleQuantity` / `cart.removeBundle`. */
361
+ bundleLines: CartBundleLine[];
362
+ }
363
+ /** One product inside a bundle line. */
364
+ interface CartBundleLineItem {
365
+ productId: string;
366
+ name: string;
367
+ sku: string;
368
+ quantity: number;
369
+ }
370
+ /** A bundle added to the cart, with its own quantity + price snapshot. */
371
+ interface CartBundleLine {
372
+ id: string;
373
+ bundleId: string;
374
+ bundleSlug: string;
375
+ bundleName: string;
376
+ quantity: number;
377
+ /** Snapshot of the bundle's per-unit price when it was added. */
378
+ bundlePriceSnapshot: number;
379
+ currency: string;
380
+ items: CartBundleLineItem[];
359
381
  }
360
382
  /** A gift card applied to the cart, with its current balance. */
361
383
  interface GiftCardSummary {
@@ -1362,4 +1384,4 @@ declare class ShippingModule {
1362
1384
  }>>;
1363
1385
  }
1364
1386
 
1365
- export { type PaymentStatus as $, type AddressSuggestion as A, type BehioStorefrontConfig as B, type Category as C, type CookieConsent as D, type CookieConsentInput as E, type FilterField as F, type GiftCardBalance as G, type SubmitQuoteInput as H, type BackInStockSubscription as I, type AddToCartInput as J, type AuthTokens as K, BehioApiError as L, type BundleItem as M, type CartDiscount as N, type OrderListItem as O, type ProductsQuery as P, type QuoteRequest as Q, type RegisterInput as R, type ShopInfo as S, type CartItem as T, type CheckoutAddress as U, type FulfillmentStatus as V, type WishlistItem as W, type LoginInput as X, type MessageResponse as Y, type OrderItem as Z, type OrderStatus as _, BehioStorefront as a, type ProductPrice as a0, type ProductReview as a1, type ProductVariant as a2, type AddressType as a3, AddressTypes as a4, type BehioErrorCode as a5, type BehioEventHandler as a6, type BehioEventType as a7, BehioNetworkError as a8, type CartItemProduct as a9, type ShippingQuoteInput as aA, err as aB, ok as aC, toSdkError as aD, type CheckoutPaymentMethod as aa, type DataGroupFieldType as ab, FulfillmentStatuses as ac, type GiftCardSummary as ad, type OrderStatusHistory as ae, OrderStatuses as af, type OrderTracking as ag, type PageAttachment as ah, PaymentStatuses as ai, type ProductMedia as aj, type ProductMediaVariant as ak, ProductSort as al, type ProductSortValue as am, type ProductVolumePrice as an, type QuoteItem as ao, type RequestInterceptor as ap, type RequestInterceptorConfig as aq, type ResponseInterceptor as ar, type ResponseInterceptorData as as, type ReturnRequestItem as at, type ReturnStatusItem as au, type ReturnableOrderItem as av, type SdkError as aw, type SdkResult as ax, type ShippingMethodSummary as ay, type ShippingQuote 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 ShopSeo as q, type Bundle as r, type CrossSellItem as s, type ActivePromotion as t, type ProductReviewsResponse as u, type SubmitReviewInput as v, type ReturnableOrder as w, type ReturnStatus as x, type ReturnRequest as y, type SubmitReturnInput as z };
1387
+ export { type PaymentStatus as $, type AddressSuggestion as A, type BehioStorefrontConfig as B, type Category as C, type CookieConsent as D, type CookieConsentInput as E, type FilterField as F, type GiftCardBalance as G, type SubmitQuoteInput as H, type BackInStockSubscription as I, type AddToCartInput as J, type AuthTokens as K, BehioApiError as L, type BundleItem as M, type CartDiscount as N, type OrderListItem as O, type ProductsQuery as P, type QuoteRequest as Q, type RegisterInput as R, type ShopInfo as S, type CartItem as T, type CheckoutAddress as U, type FulfillmentStatus as V, type WishlistItem as W, type LoginInput as X, type MessageResponse as Y, type OrderItem as Z, type OrderStatus as _, BehioStorefront as a, type ProductPrice as a0, type ProductReview as a1, type ProductVariant as a2, type AddressType as a3, AddressTypes as a4, type BehioErrorCode as a5, type BehioEventHandler as a6, type BehioEventType as a7, BehioNetworkError as a8, type CartBundleLine as a9, type ShippingMethodSummary as aA, type ShippingQuote as aB, type ShippingQuoteInput as aC, err as aD, ok as aE, toSdkError as aF, type CartBundleLineItem as aa, type CartItemProduct as ab, type CheckoutPaymentMethod as ac, type DataGroupFieldType as ad, FulfillmentStatuses as ae, type GiftCardSummary as af, type OrderStatusHistory as ag, OrderStatuses as ah, type OrderTracking as ai, type PageAttachment as aj, PaymentStatuses as ak, type ProductMedia as al, type ProductMediaVariant as am, ProductSort as an, type ProductSortValue as ao, type ProductVolumePrice as ap, type QuoteItem as aq, type RequestInterceptor as ar, type RequestInterceptorConfig as as, type ResponseInterceptor as at, type ResponseInterceptorData as au, type ReturnRequestItem as av, type ReturnStatusItem as aw, type ReturnableOrderItem as ax, type SdkError as ay, type SdkResult 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 ShopSeo as q, type Bundle as r, type CrossSellItem as s, type ActivePromotion as t, type ProductReviewsResponse as u, type SubmitReviewInput as v, type ReturnableOrder as w, type ReturnStatus as x, type ReturnRequest as y, type SubmitReturnInput as z };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- export { t as ActivePromotion, J as AddToCartInput, j as AddressDetail, A as AddressSuggestion, a3 as AddressType, a4 as AddressTypes, K as AuthTokens, I as BackInStockSubscription, L as BehioApiError, a5 as BehioErrorCode, a6 as BehioEventHandler, a7 as BehioEventType, a8 as BehioNetworkError, a as BehioStorefront, B as BehioStorefrontConfig, r as Bundle, M as BundleItem, g as Cart, N as CartDiscount, T as CartItem, a9 as CartItemProduct, C as Category, e as CategoryDetail, U as CheckoutAddress, n as CheckoutInput, aa as CheckoutPaymentMethod, D as CookieConsent, E as CookieConsentInput, s as CrossSellItem, i as CustomerAddress, h as CustomerProfile, ab as DataGroupFieldType, F as FilterField, V as FulfillmentStatus, ac as FulfillmentStatuses, G as GiftCardBalance, ad as GiftCardSummary, X as LoginInput, Y as MessageResponse, l as OrderAccessRequestResponse, m as OrderAccessVerifyResponse, k as OrderDetail, Z as OrderItem, O as OrderListItem, _ as OrderStatus, ae as OrderStatusHistory, af as OrderStatuses, ag as OrderTracking, p as Page, ah as PageAttachment, o as PageDetail, b as PaginatedResponse, $ as PaymentStatus, ai as PaymentStatuses, d as ProductDetail, f as ProductLabel, c as ProductListItem, aj as ProductMedia, ak as ProductMediaVariant, a0 as ProductPrice, a1 as ProductReview, u as ProductReviewsResponse, al as ProductSort, am as ProductSortValue, a2 as ProductVariant, an as ProductVolumePrice, P as ProductsQuery, ao as QuoteItem, Q as QuoteRequest, R as RegisterInput, ap as RequestInterceptor, aq as RequestInterceptorConfig, ar as ResponseInterceptor, as as ResponseInterceptorData, y as ReturnRequest, at as ReturnRequestItem, x as ReturnStatus, au as ReturnStatusItem, w as ReturnableOrder, av as ReturnableOrderItem, aw as SdkError, ax as SdkResult, ay as ShippingMethodSummary, az as ShippingQuote, aA as ShippingQuoteInput, S as ShopInfo, q as ShopSeo, H as SubmitQuoteInput, z as SubmitReturnInput, v as SubmitReviewInput, W as WishlistItem, aB as err, aC as ok, aD as toSdkError } from './client-M8hW9taR.mjs';
1
+ export { t as ActivePromotion, J as AddToCartInput, j as AddressDetail, A as AddressSuggestion, a3 as AddressType, a4 as AddressTypes, K as AuthTokens, I as BackInStockSubscription, L as BehioApiError, a5 as BehioErrorCode, a6 as BehioEventHandler, a7 as BehioEventType, a8 as BehioNetworkError, a as BehioStorefront, B as BehioStorefrontConfig, r as Bundle, M as BundleItem, g as Cart, a9 as CartBundleLine, aa as CartBundleLineItem, N as CartDiscount, T as CartItem, ab as CartItemProduct, C as Category, e as CategoryDetail, U as CheckoutAddress, n as CheckoutInput, ac as CheckoutPaymentMethod, D as CookieConsent, E as CookieConsentInput, s as CrossSellItem, i as CustomerAddress, h as CustomerProfile, ad as DataGroupFieldType, F as FilterField, V as FulfillmentStatus, ae as FulfillmentStatuses, G as GiftCardBalance, af as GiftCardSummary, X as LoginInput, Y as MessageResponse, l as OrderAccessRequestResponse, m as OrderAccessVerifyResponse, k as OrderDetail, Z as OrderItem, O as OrderListItem, _ as OrderStatus, ag as OrderStatusHistory, ah as OrderStatuses, ai as OrderTracking, p as Page, aj as PageAttachment, o as PageDetail, b as PaginatedResponse, $ as PaymentStatus, ak as PaymentStatuses, d as ProductDetail, f as ProductLabel, c as ProductListItem, al as ProductMedia, am as ProductMediaVariant, a0 as ProductPrice, a1 as ProductReview, u as ProductReviewsResponse, an as ProductSort, ao as ProductSortValue, a2 as ProductVariant, ap as ProductVolumePrice, P as ProductsQuery, aq as QuoteItem, Q as QuoteRequest, R as RegisterInput, ar as RequestInterceptor, as as RequestInterceptorConfig, at as ResponseInterceptor, au as ResponseInterceptorData, y as ReturnRequest, av as ReturnRequestItem, x as ReturnStatus, aw as ReturnStatusItem, w as ReturnableOrder, ax as ReturnableOrderItem, ay as SdkError, az as SdkResult, aA as ShippingMethodSummary, aB as ShippingQuote, aC as ShippingQuoteInput, S as ShopInfo, q as ShopSeo, H as SubmitQuoteInput, z as SubmitReturnInput, v as SubmitReviewInput, W as WishlistItem, aD as err, aE as ok, aF as toSdkError } from './client-BrFIwq-5.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 { t as ActivePromotion, J as AddToCartInput, j as AddressDetail, A as AddressSuggestion, a3 as AddressType, a4 as AddressTypes, K as AuthTokens, I as BackInStockSubscription, L as BehioApiError, a5 as BehioErrorCode, a6 as BehioEventHandler, a7 as BehioEventType, a8 as BehioNetworkError, a as BehioStorefront, B as BehioStorefrontConfig, r as Bundle, M as BundleItem, g as Cart, N as CartDiscount, T as CartItem, a9 as CartItemProduct, C as Category, e as CategoryDetail, U as CheckoutAddress, n as CheckoutInput, aa as CheckoutPaymentMethod, D as CookieConsent, E as CookieConsentInput, s as CrossSellItem, i as CustomerAddress, h as CustomerProfile, ab as DataGroupFieldType, F as FilterField, V as FulfillmentStatus, ac as FulfillmentStatuses, G as GiftCardBalance, ad as GiftCardSummary, X as LoginInput, Y as MessageResponse, l as OrderAccessRequestResponse, m as OrderAccessVerifyResponse, k as OrderDetail, Z as OrderItem, O as OrderListItem, _ as OrderStatus, ae as OrderStatusHistory, af as OrderStatuses, ag as OrderTracking, p as Page, ah as PageAttachment, o as PageDetail, b as PaginatedResponse, $ as PaymentStatus, ai as PaymentStatuses, d as ProductDetail, f as ProductLabel, c as ProductListItem, aj as ProductMedia, ak as ProductMediaVariant, a0 as ProductPrice, a1 as ProductReview, u as ProductReviewsResponse, al as ProductSort, am as ProductSortValue, a2 as ProductVariant, an as ProductVolumePrice, P as ProductsQuery, ao as QuoteItem, Q as QuoteRequest, R as RegisterInput, ap as RequestInterceptor, aq as RequestInterceptorConfig, ar as ResponseInterceptor, as as ResponseInterceptorData, y as ReturnRequest, at as ReturnRequestItem, x as ReturnStatus, au as ReturnStatusItem, w as ReturnableOrder, av as ReturnableOrderItem, aw as SdkError, ax as SdkResult, ay as ShippingMethodSummary, az as ShippingQuote, aA as ShippingQuoteInput, S as ShopInfo, q as ShopSeo, H as SubmitQuoteInput, z as SubmitReturnInput, v as SubmitReviewInput, W as WishlistItem, aB as err, aC as ok, aD as toSdkError } from './client-M8hW9taR.js';
1
+ export { t as ActivePromotion, J as AddToCartInput, j as AddressDetail, A as AddressSuggestion, a3 as AddressType, a4 as AddressTypes, K as AuthTokens, I as BackInStockSubscription, L as BehioApiError, a5 as BehioErrorCode, a6 as BehioEventHandler, a7 as BehioEventType, a8 as BehioNetworkError, a as BehioStorefront, B as BehioStorefrontConfig, r as Bundle, M as BundleItem, g as Cart, a9 as CartBundleLine, aa as CartBundleLineItem, N as CartDiscount, T as CartItem, ab as CartItemProduct, C as Category, e as CategoryDetail, U as CheckoutAddress, n as CheckoutInput, ac as CheckoutPaymentMethod, D as CookieConsent, E as CookieConsentInput, s as CrossSellItem, i as CustomerAddress, h as CustomerProfile, ad as DataGroupFieldType, F as FilterField, V as FulfillmentStatus, ae as FulfillmentStatuses, G as GiftCardBalance, af as GiftCardSummary, X as LoginInput, Y as MessageResponse, l as OrderAccessRequestResponse, m as OrderAccessVerifyResponse, k as OrderDetail, Z as OrderItem, O as OrderListItem, _ as OrderStatus, ag as OrderStatusHistory, ah as OrderStatuses, ai as OrderTracking, p as Page, aj as PageAttachment, o as PageDetail, b as PaginatedResponse, $ as PaymentStatus, ak as PaymentStatuses, d as ProductDetail, f as ProductLabel, c as ProductListItem, al as ProductMedia, am as ProductMediaVariant, a0 as ProductPrice, a1 as ProductReview, u as ProductReviewsResponse, an as ProductSort, ao as ProductSortValue, a2 as ProductVariant, ap as ProductVolumePrice, P as ProductsQuery, aq as QuoteItem, Q as QuoteRequest, R as RegisterInput, ar as RequestInterceptor, as as RequestInterceptorConfig, at as ResponseInterceptor, au as ResponseInterceptorData, y as ReturnRequest, av as ReturnRequestItem, x as ReturnStatus, aw as ReturnStatusItem, w as ReturnableOrder, ax as ReturnableOrderItem, ay as SdkError, az as SdkResult, aA as ShippingMethodSummary, aB as ShippingQuote, aC as ShippingQuoteInput, S as ShopInfo, q as ShopSeo, H as SubmitQuoteInput, z as SubmitReturnInput, v as SubmitReviewInput, W as WishlistItem, aD as err, aE as ok, aF as toSdkError } from './client-BrFIwq-5.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-M8hW9taR.mjs';
1
+ import { B as BehioStorefrontConfig, a as BehioStorefront } from './client-BrFIwq-5.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-M8hW9taR.js';
1
+ import { B as BehioStorefrontConfig, a as BehioStorefront } from './client-BrFIwq-5.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, 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 ShopSeo, r as Bundle, s as CrossSellItem, t as ActivePromotion, G as GiftCardBalance, W as WishlistItem, u as ProductReviewsResponse, v as SubmitReviewInput, w as ReturnableOrder, x as ReturnStatus, y as ReturnRequest, z as SubmitReturnInput, D as CookieConsent, E as CookieConsentInput, Q as QuoteRequest, H as SubmitQuoteInput, I as BackInStockSubscription } from './client-M8hW9taR.mjs';
5
- export { J as AddToCartInput, K as AuthTokens, L as BehioApiError, M as BundleItem, N as CartDiscount, T as CartItem, U as CheckoutAddress, V as FulfillmentStatus, X as LoginInput, Y as MessageResponse, Z as OrderItem, _ as OrderStatus, $ as PaymentStatus, a0 as ProductPrice, a1 as ProductReview, a2 as ProductVariant } from './client-M8hW9taR.mjs';
4
+ import { a as BehioStorefront, P as ProductsQuery, b as PaginatedResponse, c as ProductListItem, d as ProductDetail, C as Category, e as CategoryDetail, 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 ShopSeo, r as Bundle, s as CrossSellItem, t as ActivePromotion, G as GiftCardBalance, W as WishlistItem, u as ProductReviewsResponse, v as SubmitReviewInput, w as ReturnableOrder, x as ReturnStatus, y as ReturnRequest, z as SubmitReturnInput, D as CookieConsent, E as CookieConsentInput, Q as QuoteRequest, H as SubmitQuoteInput, I as BackInStockSubscription } from './client-BrFIwq-5.mjs';
5
+ export { J as AddToCartInput, K as AuthTokens, L as BehioApiError, M as BundleItem, N as CartDiscount, T as CartItem, U as CheckoutAddress, V as FulfillmentStatus, X as LoginInput, Y as MessageResponse, Z as OrderItem, _ as OrderStatus, $ as PaymentStatus, a0 as ProductPrice, a1 as ProductReview, a2 as ProductVariant } from './client-BrFIwq-5.mjs';
6
6
  import * as _tanstack_query_core from '@tanstack/query-core';
7
7
  export { formatPrice } 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, 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 ShopSeo, r as Bundle, s as CrossSellItem, t as ActivePromotion, G as GiftCardBalance, W as WishlistItem, u as ProductReviewsResponse, v as SubmitReviewInput, w as ReturnableOrder, x as ReturnStatus, y as ReturnRequest, z as SubmitReturnInput, D as CookieConsent, E as CookieConsentInput, Q as QuoteRequest, H as SubmitQuoteInput, I as BackInStockSubscription } from './client-M8hW9taR.js';
5
- export { J as AddToCartInput, K as AuthTokens, L as BehioApiError, M as BundleItem, N as CartDiscount, T as CartItem, U as CheckoutAddress, V as FulfillmentStatus, X as LoginInput, Y as MessageResponse, Z as OrderItem, _ as OrderStatus, $ as PaymentStatus, a0 as ProductPrice, a1 as ProductReview, a2 as ProductVariant } from './client-M8hW9taR.js';
4
+ import { a as BehioStorefront, P as ProductsQuery, b as PaginatedResponse, c as ProductListItem, d as ProductDetail, C as Category, e as CategoryDetail, 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 ShopSeo, r as Bundle, s as CrossSellItem, t as ActivePromotion, G as GiftCardBalance, W as WishlistItem, u as ProductReviewsResponse, v as SubmitReviewInput, w as ReturnableOrder, x as ReturnStatus, y as ReturnRequest, z as SubmitReturnInput, D as CookieConsent, E as CookieConsentInput, Q as QuoteRequest, H as SubmitQuoteInput, I as BackInStockSubscription } from './client-BrFIwq-5.js';
5
+ export { J as AddToCartInput, K as AuthTokens, L as BehioApiError, M as BundleItem, N as CartDiscount, T as CartItem, U as CheckoutAddress, V as FulfillmentStatus, X as LoginInput, Y as MessageResponse, Z as OrderItem, _ as OrderStatus, $ as PaymentStatus, a0 as ProductPrice, a1 as ProductReview, a2 as ProductVariant } from './client-BrFIwq-5.js';
6
6
  import * as _tanstack_query_core from '@tanstack/query-core';
7
7
  export { formatPrice } from './index.js';
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@behio/storefront-sdk",
3
- "version": "0.16.0",
3
+ "version": "0.17.0",
4
4
  "description": "TypeScript SDK for Behio Headless E-Shop — core client + React hooks",
5
5
  "author": "Behio",
6
6
  "license": "MIT",