@behio/storefront-sdk 2.7.0 → 2.8.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.
@@ -1569,7 +1569,13 @@ interface OrderListItem {
1569
1569
  interface OrderItem {
1570
1570
  productName: string;
1571
1571
  sku: string;
1572
- imageUrl?: string;
1572
+ /** Photo snapshot from checkout, or the product's current photo. */
1573
+ imageUrl?: string | null;
1574
+ /** Product still in the shop (SDK 2.8.0). Null when it was removed since,
1575
+ * so a template never links to a missing product page. */
1576
+ productId?: string | null;
1577
+ /** URL slug for a link back to the product page (SDK 2.8.0). */
1578
+ productSlug?: string | null;
1573
1579
  quantity: number;
1574
1580
  unitPrice: number;
1575
1581
  totalPrice: number;
@@ -1593,6 +1599,36 @@ interface OrderTracking {
1593
1599
  shippingCountry: string | null;
1594
1600
  items: OrderItem[];
1595
1601
  createdAt: number;
1602
+ /** Order summary, not personal data (SDK 2.8.0). */
1603
+ subtotal?: number;
1604
+ shippingTotal?: number;
1605
+ paymentFee?: number | null;
1606
+ discountTotal?: number;
1607
+ taxTotal?: number;
1608
+ taxBreakdown?: TaxBreakdownLine[];
1609
+ /** Shipping method as the customer chose it (SDK 2.8.0). */
1610
+ shippingMethodName?: string | null;
1611
+ /** Payment method in the order language (SDK 2.8.0). */
1612
+ paymentMethodName?: string | null;
1613
+ /** Pickup point the customer chose, a public place (SDK 2.8.0). */
1614
+ pickupPoint?: OrderPickupPoint | null;
1615
+ /** Parcels the customer can follow (SDK 2.8.0). */
1616
+ shipments?: OrderShipment[];
1617
+ }
1618
+ /** Pickup point the customer chose for an order (SDK 2.8.0). */
1619
+ interface OrderPickupPoint {
1620
+ name: string;
1621
+ street?: string | null;
1622
+ city?: string | null;
1623
+ zip?: string | null;
1624
+ country?: string | null;
1625
+ }
1626
+ /** A parcel on its way, with the carrier's tracking link (SDK 2.8.0). */
1627
+ interface OrderShipment {
1628
+ trackingNumber?: string | null;
1629
+ trackingUrl?: string | null;
1630
+ status: string;
1631
+ createdAt: number;
1596
1632
  }
1597
1633
  interface OrderStatusHistory {
1598
1634
  fromStatus?: OrderStatus;
@@ -1606,6 +1642,14 @@ interface OrderDetail extends OrderListItem {
1606
1642
  contentDeliveryPending?: boolean;
1607
1643
  /** False for an order without physical delivery. */
1608
1644
  requiresShipping?: boolean;
1645
+ /** Shipping method as the customer chose it (SDK 2.8.0). */
1646
+ shippingMethodName?: string | null;
1647
+ /** Payment method in the order language (SDK 2.8.0). */
1648
+ paymentMethodName?: string | null;
1649
+ /** Pickup point the customer chose, a public place (SDK 2.8.0). */
1650
+ pickupPoint?: OrderPickupPoint | null;
1651
+ /** Parcels the customer can follow (SDK 2.8.0). */
1652
+ shipments?: OrderShipment[];
1609
1653
  items: OrderItem[];
1610
1654
  shippingAddress: CheckoutAddress;
1611
1655
  billingAddress: CheckoutAddress;
@@ -3851,4 +3895,4 @@ declare function clearCartSummary(): void;
3851
3895
  /** Publish only authoritative current totals; server cart consumers call this after hydration and revalidation. */
3852
3896
  declare function publishCartSummary(summary: CartSummaryEvent): void;
3853
3897
 
3854
- export { type CourseCommentReply as $, type ActivePromotion as A, BehioStorefront as B, type CookieConsent as C, type Cart as D, type CartBundleLine as E, type CartBundleLineItem as F, type CartDiscount as G, type CartItem as H, type CartItemProduct as I, type CartLinkClaimed as J, type CartPromotion as K, type CartSummaryEvent as L, type Category as M, type CategoryDetail as N, type CertificateVerification as O, type ProductDetail as P, type CheckoutAddress as Q, type CheckoutInput as R, type SdkResult as S, type CheckoutPaymentMethod as T, type CheckoutPreview as U, type CheckoutResult as V, type CheckoutSettings as W, type CookieConsentInput as X, type CourseAttachment as Y, type CourseCertificate as Z, type CourseComment as _, type ProductVariant as a, type PaymentInstrument as a$, type CourseCommentsList as a0, type CourseDetail as a1, type CourseLesson as a2, type CourseListItem as a3, type CourseModule as a4, type CoursePostedComment as a5, type CourseProgress as a6, type CourseTutorMessage as a7, type CourseTutorThread as a8, type CrossSellItem as a9, type LoyaltyProgram as aA, type LoyaltySummary as aB, type LoyaltyTier as aC, type LoyaltyTierPerks as aD, type LoyaltyTransaction as aE, type Menu as aF, type MenuItem as aG, type MenuItemRef as aH, type MenuItemType as aI, type MessageResponse as aJ, type NewsletterOptInDefault as aK, type NewsletterSubscribeInput as aL, type NewsletterSubscribeResult as aM, type NewsletterUnsubscribeResult as aN, type OrderAccessRequestResponse as aO, type OrderAccessVerifyResponse as aP, type OrderDetail as aQ, type OrderItem as aR, type OrderListItem as aS, type OrderStatus as aT, type OrderStatusHistory as aU, OrderStatuses as aV, type OrderTracking as aW, type Page as aX, type PageAttachment as aY, type PageDetail as aZ, type PaginatedResponse as a_, type CurrencyDisplayFormat as aa, type CustomerAddress as ab, type CustomerProfile as ac, type DigitalDownload as ad, type DownloadUrl as ae, type Facet as af, type FacetAvailability as ag, type FacetCategory as ah, type FacetLabel as ai, type FacetPriceRange as aj, type FacetRange as ak, type FacetRatingBucket as al, type FacetValue as am, type FacetsResponse as an, type FilterField as ao, type FulfillmentStatus as ap, FulfillmentStatuses as aq, type GiftCardBalance as ar, type GiftCardPurchaseInput as as, type GiftCardPurchaseResult as at, type GiftCardSummary as au, type LessonNote as av, type LessonQuiz as aw, type LoginInput as ax, type LoyaltyBalance as ay, type LoyaltyNextTier as az, type StorefrontFormFieldError as b, type StockBehavior as b$, type PaymentStatus as b0, PaymentStatuses as b1, type PaymentSwift as b2, type PickupPoint as b3, type PickupPointHours as b4, type PickupPointsInput as b5, type PickupWidgetConfig as b6, type PriceDisplay as b7, type ProductAssetGroup as b8, type ProductAssetItem as b9, type RequestInterceptor as bA, type RequestInterceptorConfig as bB, type ResponseInterceptor as bC, type ResponseInterceptorData as bD, type ReturnRequest as bE, type ReturnRequestItem as bF, type ReturnStatus as bG, type ReturnStatusItem as bH, type ReturnableOrder as bI, type ReturnableOrderItem as bJ, type SdkError as bK, type ShippingMethodSummary as bL, type ShippingQuote as bM, type ShippingQuoteInput as bN, type ShopAppearance as bO, type ShopInfo as bP, type ShopScript as bQ, type ShopScriptPlacement as bR, type ShopScriptType as bS, type ShopScripts as bT, type ShopSeo as bU, type ShopSeoIdentity as bV, type SiteFormField as bW, type SiteFormFieldOption as bX, type SiteFormFieldType as bY, type Sitemap as bZ, type SitemapEntry as b_, type ProductAvailability as ba, type ProductGroup as bb, type ProductLabel as bc, type ProductListItem as bd, type ProductMedia as be, type ProductMediaVariant as bf, type ProductParameter as bg, type ProductParameterGroup as bh, type ProductParametersResponse as bi, type ProductPrice as bj, type ProductPromotionSummary as bk, type ProductReview as bl, type ProductReviewsResponse as bm, type ProductSibling as bn, ProductSort as bo, type ProductSortValue as bp, type ProductVolumePrice as bq, type ProductsQuery as br, type QuizAnswerInput as bs, type QuizAnswerResult as bt, type QuizQuestion as bu, type QuizResult as bv, type QuoteItem as bw, type QuoteRequest as bx, type RegisterInput as by, type RegisterResult as bz, type AddToCartInput as c, type StockMode as c0, type StorefrontForm as c1, type StorefrontFormFieldErrorCode as c2, type StorefrontFormFile as c3, type StorefrontFormSettings as c4, type StorefrontFormSubmitInput as c5, type StorefrontFormSubmitResult as c6, type StorefrontFormUpload as c7, type SubmitQuoteInput as c8, type SubmitReturnInput as c9, type SubmitReviewInput as ca, type Subscription as cb, type SubscriptionAction as cc, type SubscriptionFrequency as cd, type SubscriptionItem as ce, type SubscriptionStatus as cf, type TaxBreakdownLine as cg, type VariantAxis as ch, type VariantAxisValue as ci, type WishlistItem as cj, clearCartSummary as ck, err as cl, ok as cm, publishCartSummary as cn, toSdkError as co, type AddressDetail as d, type AddressSuggestion as e, type AddressType as f, AddressTypes as g, type AuthTokens as h, type BackInStockSubscription as i, type BadgeTone as j, BehioApiError as k, type BehioErrorCode as l, type BehioEventHandler as m, type BehioEventType as n, BehioNetworkError as o, type BehioStorefrontConfig as p, type Blog as q, type BlogPostDetail as r, type BlogPostListItem as s, type BlogPostsPage as t, type BlogPostsQuery as u, type BlogSettings as v, type BlogTag as w, type Bundle as x, type BundleCatalogQuery as y, type BundleItem as z };
3898
+ export { type CourseCommentReply as $, type ActivePromotion as A, BehioStorefront as B, type CookieConsent as C, type Cart as D, type CartBundleLine as E, type CartBundleLineItem as F, type CartDiscount as G, type CartItem as H, type CartItemProduct as I, type CartLinkClaimed as J, type CartPromotion as K, type CartSummaryEvent as L, type Category as M, type CategoryDetail as N, type CertificateVerification as O, type ProductDetail as P, type CheckoutAddress as Q, type CheckoutInput as R, type SdkResult as S, type CheckoutPaymentMethod as T, type CheckoutPreview as U, type CheckoutResult as V, type CheckoutSettings as W, type CookieConsentInput as X, type CourseAttachment as Y, type CourseCertificate as Z, type CourseComment as _, type ProductVariant as a, type PageDetail as a$, type CourseCommentsList as a0, type CourseDetail as a1, type CourseLesson as a2, type CourseListItem as a3, type CourseModule as a4, type CoursePostedComment as a5, type CourseProgress as a6, type CourseTutorMessage as a7, type CourseTutorThread as a8, type CrossSellItem as a9, type LoyaltyProgram as aA, type LoyaltySummary as aB, type LoyaltyTier as aC, type LoyaltyTierPerks as aD, type LoyaltyTransaction as aE, type Menu as aF, type MenuItem as aG, type MenuItemRef as aH, type MenuItemType as aI, type MessageResponse as aJ, type NewsletterOptInDefault as aK, type NewsletterSubscribeInput as aL, type NewsletterSubscribeResult as aM, type NewsletterUnsubscribeResult as aN, type OrderAccessRequestResponse as aO, type OrderAccessVerifyResponse as aP, type OrderDetail as aQ, type OrderItem as aR, type OrderListItem as aS, type OrderPickupPoint as aT, type OrderShipment as aU, type OrderStatus as aV, type OrderStatusHistory as aW, OrderStatuses as aX, type OrderTracking as aY, type Page as aZ, type PageAttachment as a_, type CurrencyDisplayFormat as aa, type CustomerAddress as ab, type CustomerProfile as ac, type DigitalDownload as ad, type DownloadUrl as ae, type Facet as af, type FacetAvailability as ag, type FacetCategory as ah, type FacetLabel as ai, type FacetPriceRange as aj, type FacetRange as ak, type FacetRatingBucket as al, type FacetValue as am, type FacetsResponse as an, type FilterField as ao, type FulfillmentStatus as ap, FulfillmentStatuses as aq, type GiftCardBalance as ar, type GiftCardPurchaseInput as as, type GiftCardPurchaseResult as at, type GiftCardSummary as au, type LessonNote as av, type LessonQuiz as aw, type LoginInput as ax, type LoyaltyBalance as ay, type LoyaltyNextTier as az, type StorefrontFormFieldError as b, type Sitemap as b$, type PaginatedResponse as b0, type PaymentInstrument as b1, type PaymentStatus as b2, PaymentStatuses as b3, type PaymentSwift as b4, type PickupPoint as b5, type PickupPointHours as b6, type PickupPointsInput as b7, type PickupWidgetConfig as b8, type PriceDisplay as b9, type RegisterInput as bA, type RegisterResult as bB, type RequestInterceptor as bC, type RequestInterceptorConfig as bD, type ResponseInterceptor as bE, type ResponseInterceptorData as bF, type ReturnRequest as bG, type ReturnRequestItem as bH, type ReturnStatus as bI, type ReturnStatusItem as bJ, type ReturnableOrder as bK, type ReturnableOrderItem as bL, type SdkError as bM, type ShippingMethodSummary as bN, type ShippingQuote as bO, type ShippingQuoteInput as bP, type ShopAppearance as bQ, type ShopInfo as bR, type ShopScript as bS, type ShopScriptPlacement as bT, type ShopScriptType as bU, type ShopScripts as bV, type ShopSeo as bW, type ShopSeoIdentity as bX, type SiteFormField as bY, type SiteFormFieldOption as bZ, type SiteFormFieldType as b_, type ProductAssetGroup as ba, type ProductAssetItem as bb, type ProductAvailability as bc, type ProductGroup as bd, type ProductLabel as be, type ProductListItem as bf, type ProductMedia as bg, type ProductMediaVariant as bh, type ProductParameter as bi, type ProductParameterGroup as bj, type ProductParametersResponse as bk, type ProductPrice as bl, type ProductPromotionSummary as bm, type ProductReview as bn, type ProductReviewsResponse as bo, type ProductSibling as bp, ProductSort as bq, type ProductSortValue as br, type ProductVolumePrice as bs, type ProductsQuery as bt, type QuizAnswerInput as bu, type QuizAnswerResult as bv, type QuizQuestion as bw, type QuizResult as bx, type QuoteItem as by, type QuoteRequest as bz, type AddToCartInput as c, type SitemapEntry as c0, type StockBehavior as c1, type StockMode as c2, type StorefrontForm as c3, type StorefrontFormFieldErrorCode as c4, type StorefrontFormFile as c5, type StorefrontFormSettings as c6, type StorefrontFormSubmitInput as c7, type StorefrontFormSubmitResult as c8, type StorefrontFormUpload as c9, type SubmitQuoteInput as ca, type SubmitReturnInput as cb, type SubmitReviewInput as cc, type Subscription as cd, type SubscriptionAction as ce, type SubscriptionFrequency as cf, type SubscriptionItem as cg, type SubscriptionStatus as ch, type TaxBreakdownLine as ci, type VariantAxis as cj, type VariantAxisValue as ck, type WishlistItem as cl, clearCartSummary as cm, err as cn, ok as co, publishCartSummary as cp, toSdkError as cq, type AddressDetail as d, type AddressSuggestion as e, type AddressType as f, AddressTypes as g, type AuthTokens as h, type BackInStockSubscription as i, type BadgeTone as j, BehioApiError as k, type BehioErrorCode as l, type BehioEventHandler as m, type BehioEventType as n, BehioNetworkError as o, type BehioStorefrontConfig as p, type Blog as q, type BlogPostDetail as r, type BlogPostListItem as s, type BlogPostsPage as t, type BlogPostsQuery as u, type BlogSettings as v, type BlogTag as w, type Bundle as x, type BundleCatalogQuery as y, type BundleItem as z };
@@ -1569,7 +1569,13 @@ interface OrderListItem {
1569
1569
  interface OrderItem {
1570
1570
  productName: string;
1571
1571
  sku: string;
1572
- imageUrl?: string;
1572
+ /** Photo snapshot from checkout, or the product's current photo. */
1573
+ imageUrl?: string | null;
1574
+ /** Product still in the shop (SDK 2.8.0). Null when it was removed since,
1575
+ * so a template never links to a missing product page. */
1576
+ productId?: string | null;
1577
+ /** URL slug for a link back to the product page (SDK 2.8.0). */
1578
+ productSlug?: string | null;
1573
1579
  quantity: number;
1574
1580
  unitPrice: number;
1575
1581
  totalPrice: number;
@@ -1593,6 +1599,36 @@ interface OrderTracking {
1593
1599
  shippingCountry: string | null;
1594
1600
  items: OrderItem[];
1595
1601
  createdAt: number;
1602
+ /** Order summary, not personal data (SDK 2.8.0). */
1603
+ subtotal?: number;
1604
+ shippingTotal?: number;
1605
+ paymentFee?: number | null;
1606
+ discountTotal?: number;
1607
+ taxTotal?: number;
1608
+ taxBreakdown?: TaxBreakdownLine[];
1609
+ /** Shipping method as the customer chose it (SDK 2.8.0). */
1610
+ shippingMethodName?: string | null;
1611
+ /** Payment method in the order language (SDK 2.8.0). */
1612
+ paymentMethodName?: string | null;
1613
+ /** Pickup point the customer chose, a public place (SDK 2.8.0). */
1614
+ pickupPoint?: OrderPickupPoint | null;
1615
+ /** Parcels the customer can follow (SDK 2.8.0). */
1616
+ shipments?: OrderShipment[];
1617
+ }
1618
+ /** Pickup point the customer chose for an order (SDK 2.8.0). */
1619
+ interface OrderPickupPoint {
1620
+ name: string;
1621
+ street?: string | null;
1622
+ city?: string | null;
1623
+ zip?: string | null;
1624
+ country?: string | null;
1625
+ }
1626
+ /** A parcel on its way, with the carrier's tracking link (SDK 2.8.0). */
1627
+ interface OrderShipment {
1628
+ trackingNumber?: string | null;
1629
+ trackingUrl?: string | null;
1630
+ status: string;
1631
+ createdAt: number;
1596
1632
  }
1597
1633
  interface OrderStatusHistory {
1598
1634
  fromStatus?: OrderStatus;
@@ -1606,6 +1642,14 @@ interface OrderDetail extends OrderListItem {
1606
1642
  contentDeliveryPending?: boolean;
1607
1643
  /** False for an order without physical delivery. */
1608
1644
  requiresShipping?: boolean;
1645
+ /** Shipping method as the customer chose it (SDK 2.8.0). */
1646
+ shippingMethodName?: string | null;
1647
+ /** Payment method in the order language (SDK 2.8.0). */
1648
+ paymentMethodName?: string | null;
1649
+ /** Pickup point the customer chose, a public place (SDK 2.8.0). */
1650
+ pickupPoint?: OrderPickupPoint | null;
1651
+ /** Parcels the customer can follow (SDK 2.8.0). */
1652
+ shipments?: OrderShipment[];
1609
1653
  items: OrderItem[];
1610
1654
  shippingAddress: CheckoutAddress;
1611
1655
  billingAddress: CheckoutAddress;
@@ -3851,4 +3895,4 @@ declare function clearCartSummary(): void;
3851
3895
  /** Publish only authoritative current totals; server cart consumers call this after hydration and revalidation. */
3852
3896
  declare function publishCartSummary(summary: CartSummaryEvent): void;
3853
3897
 
3854
- export { type CourseCommentReply as $, type ActivePromotion as A, BehioStorefront as B, type CookieConsent as C, type Cart as D, type CartBundleLine as E, type CartBundleLineItem as F, type CartDiscount as G, type CartItem as H, type CartItemProduct as I, type CartLinkClaimed as J, type CartPromotion as K, type CartSummaryEvent as L, type Category as M, type CategoryDetail as N, type CertificateVerification as O, type ProductDetail as P, type CheckoutAddress as Q, type CheckoutInput as R, type SdkResult as S, type CheckoutPaymentMethod as T, type CheckoutPreview as U, type CheckoutResult as V, type CheckoutSettings as W, type CookieConsentInput as X, type CourseAttachment as Y, type CourseCertificate as Z, type CourseComment as _, type ProductVariant as a, type PaymentInstrument as a$, type CourseCommentsList as a0, type CourseDetail as a1, type CourseLesson as a2, type CourseListItem as a3, type CourseModule as a4, type CoursePostedComment as a5, type CourseProgress as a6, type CourseTutorMessage as a7, type CourseTutorThread as a8, type CrossSellItem as a9, type LoyaltyProgram as aA, type LoyaltySummary as aB, type LoyaltyTier as aC, type LoyaltyTierPerks as aD, type LoyaltyTransaction as aE, type Menu as aF, type MenuItem as aG, type MenuItemRef as aH, type MenuItemType as aI, type MessageResponse as aJ, type NewsletterOptInDefault as aK, type NewsletterSubscribeInput as aL, type NewsletterSubscribeResult as aM, type NewsletterUnsubscribeResult as aN, type OrderAccessRequestResponse as aO, type OrderAccessVerifyResponse as aP, type OrderDetail as aQ, type OrderItem as aR, type OrderListItem as aS, type OrderStatus as aT, type OrderStatusHistory as aU, OrderStatuses as aV, type OrderTracking as aW, type Page as aX, type PageAttachment as aY, type PageDetail as aZ, type PaginatedResponse as a_, type CurrencyDisplayFormat as aa, type CustomerAddress as ab, type CustomerProfile as ac, type DigitalDownload as ad, type DownloadUrl as ae, type Facet as af, type FacetAvailability as ag, type FacetCategory as ah, type FacetLabel as ai, type FacetPriceRange as aj, type FacetRange as ak, type FacetRatingBucket as al, type FacetValue as am, type FacetsResponse as an, type FilterField as ao, type FulfillmentStatus as ap, FulfillmentStatuses as aq, type GiftCardBalance as ar, type GiftCardPurchaseInput as as, type GiftCardPurchaseResult as at, type GiftCardSummary as au, type LessonNote as av, type LessonQuiz as aw, type LoginInput as ax, type LoyaltyBalance as ay, type LoyaltyNextTier as az, type StorefrontFormFieldError as b, type StockBehavior as b$, type PaymentStatus as b0, PaymentStatuses as b1, type PaymentSwift as b2, type PickupPoint as b3, type PickupPointHours as b4, type PickupPointsInput as b5, type PickupWidgetConfig as b6, type PriceDisplay as b7, type ProductAssetGroup as b8, type ProductAssetItem as b9, type RequestInterceptor as bA, type RequestInterceptorConfig as bB, type ResponseInterceptor as bC, type ResponseInterceptorData as bD, type ReturnRequest as bE, type ReturnRequestItem as bF, type ReturnStatus as bG, type ReturnStatusItem as bH, type ReturnableOrder as bI, type ReturnableOrderItem as bJ, type SdkError as bK, type ShippingMethodSummary as bL, type ShippingQuote as bM, type ShippingQuoteInput as bN, type ShopAppearance as bO, type ShopInfo as bP, type ShopScript as bQ, type ShopScriptPlacement as bR, type ShopScriptType as bS, type ShopScripts as bT, type ShopSeo as bU, type ShopSeoIdentity as bV, type SiteFormField as bW, type SiteFormFieldOption as bX, type SiteFormFieldType as bY, type Sitemap as bZ, type SitemapEntry as b_, type ProductAvailability as ba, type ProductGroup as bb, type ProductLabel as bc, type ProductListItem as bd, type ProductMedia as be, type ProductMediaVariant as bf, type ProductParameter as bg, type ProductParameterGroup as bh, type ProductParametersResponse as bi, type ProductPrice as bj, type ProductPromotionSummary as bk, type ProductReview as bl, type ProductReviewsResponse as bm, type ProductSibling as bn, ProductSort as bo, type ProductSortValue as bp, type ProductVolumePrice as bq, type ProductsQuery as br, type QuizAnswerInput as bs, type QuizAnswerResult as bt, type QuizQuestion as bu, type QuizResult as bv, type QuoteItem as bw, type QuoteRequest as bx, type RegisterInput as by, type RegisterResult as bz, type AddToCartInput as c, type StockMode as c0, type StorefrontForm as c1, type StorefrontFormFieldErrorCode as c2, type StorefrontFormFile as c3, type StorefrontFormSettings as c4, type StorefrontFormSubmitInput as c5, type StorefrontFormSubmitResult as c6, type StorefrontFormUpload as c7, type SubmitQuoteInput as c8, type SubmitReturnInput as c9, type SubmitReviewInput as ca, type Subscription as cb, type SubscriptionAction as cc, type SubscriptionFrequency as cd, type SubscriptionItem as ce, type SubscriptionStatus as cf, type TaxBreakdownLine as cg, type VariantAxis as ch, type VariantAxisValue as ci, type WishlistItem as cj, clearCartSummary as ck, err as cl, ok as cm, publishCartSummary as cn, toSdkError as co, type AddressDetail as d, type AddressSuggestion as e, type AddressType as f, AddressTypes as g, type AuthTokens as h, type BackInStockSubscription as i, type BadgeTone as j, BehioApiError as k, type BehioErrorCode as l, type BehioEventHandler as m, type BehioEventType as n, BehioNetworkError as o, type BehioStorefrontConfig as p, type Blog as q, type BlogPostDetail as r, type BlogPostListItem as s, type BlogPostsPage as t, type BlogPostsQuery as u, type BlogSettings as v, type BlogTag as w, type Bundle as x, type BundleCatalogQuery as y, type BundleItem as z };
3898
+ export { type CourseCommentReply as $, type ActivePromotion as A, BehioStorefront as B, type CookieConsent as C, type Cart as D, type CartBundleLine as E, type CartBundleLineItem as F, type CartDiscount as G, type CartItem as H, type CartItemProduct as I, type CartLinkClaimed as J, type CartPromotion as K, type CartSummaryEvent as L, type Category as M, type CategoryDetail as N, type CertificateVerification as O, type ProductDetail as P, type CheckoutAddress as Q, type CheckoutInput as R, type SdkResult as S, type CheckoutPaymentMethod as T, type CheckoutPreview as U, type CheckoutResult as V, type CheckoutSettings as W, type CookieConsentInput as X, type CourseAttachment as Y, type CourseCertificate as Z, type CourseComment as _, type ProductVariant as a, type PageDetail as a$, type CourseCommentsList as a0, type CourseDetail as a1, type CourseLesson as a2, type CourseListItem as a3, type CourseModule as a4, type CoursePostedComment as a5, type CourseProgress as a6, type CourseTutorMessage as a7, type CourseTutorThread as a8, type CrossSellItem as a9, type LoyaltyProgram as aA, type LoyaltySummary as aB, type LoyaltyTier as aC, type LoyaltyTierPerks as aD, type LoyaltyTransaction as aE, type Menu as aF, type MenuItem as aG, type MenuItemRef as aH, type MenuItemType as aI, type MessageResponse as aJ, type NewsletterOptInDefault as aK, type NewsletterSubscribeInput as aL, type NewsletterSubscribeResult as aM, type NewsletterUnsubscribeResult as aN, type OrderAccessRequestResponse as aO, type OrderAccessVerifyResponse as aP, type OrderDetail as aQ, type OrderItem as aR, type OrderListItem as aS, type OrderPickupPoint as aT, type OrderShipment as aU, type OrderStatus as aV, type OrderStatusHistory as aW, OrderStatuses as aX, type OrderTracking as aY, type Page as aZ, type PageAttachment as a_, type CurrencyDisplayFormat as aa, type CustomerAddress as ab, type CustomerProfile as ac, type DigitalDownload as ad, type DownloadUrl as ae, type Facet as af, type FacetAvailability as ag, type FacetCategory as ah, type FacetLabel as ai, type FacetPriceRange as aj, type FacetRange as ak, type FacetRatingBucket as al, type FacetValue as am, type FacetsResponse as an, type FilterField as ao, type FulfillmentStatus as ap, FulfillmentStatuses as aq, type GiftCardBalance as ar, type GiftCardPurchaseInput as as, type GiftCardPurchaseResult as at, type GiftCardSummary as au, type LessonNote as av, type LessonQuiz as aw, type LoginInput as ax, type LoyaltyBalance as ay, type LoyaltyNextTier as az, type StorefrontFormFieldError as b, type Sitemap as b$, type PaginatedResponse as b0, type PaymentInstrument as b1, type PaymentStatus as b2, PaymentStatuses as b3, type PaymentSwift as b4, type PickupPoint as b5, type PickupPointHours as b6, type PickupPointsInput as b7, type PickupWidgetConfig as b8, type PriceDisplay as b9, type RegisterInput as bA, type RegisterResult as bB, type RequestInterceptor as bC, type RequestInterceptorConfig as bD, type ResponseInterceptor as bE, type ResponseInterceptorData as bF, type ReturnRequest as bG, type ReturnRequestItem as bH, type ReturnStatus as bI, type ReturnStatusItem as bJ, type ReturnableOrder as bK, type ReturnableOrderItem as bL, type SdkError as bM, type ShippingMethodSummary as bN, type ShippingQuote as bO, type ShippingQuoteInput as bP, type ShopAppearance as bQ, type ShopInfo as bR, type ShopScript as bS, type ShopScriptPlacement as bT, type ShopScriptType as bU, type ShopScripts as bV, type ShopSeo as bW, type ShopSeoIdentity as bX, type SiteFormField as bY, type SiteFormFieldOption as bZ, type SiteFormFieldType as b_, type ProductAssetGroup as ba, type ProductAssetItem as bb, type ProductAvailability as bc, type ProductGroup as bd, type ProductLabel as be, type ProductListItem as bf, type ProductMedia as bg, type ProductMediaVariant as bh, type ProductParameter as bi, type ProductParameterGroup as bj, type ProductParametersResponse as bk, type ProductPrice as bl, type ProductPromotionSummary as bm, type ProductReview as bn, type ProductReviewsResponse as bo, type ProductSibling as bp, ProductSort as bq, type ProductSortValue as br, type ProductVolumePrice as bs, type ProductsQuery as bt, type QuizAnswerInput as bu, type QuizAnswerResult as bv, type QuizQuestion as bw, type QuizResult as bx, type QuoteItem as by, type QuoteRequest as bz, type AddToCartInput as c, type SitemapEntry as c0, type StockBehavior as c1, type StockMode as c2, type StorefrontForm as c3, type StorefrontFormFieldErrorCode as c4, type StorefrontFormFile as c5, type StorefrontFormSettings as c6, type StorefrontFormSubmitInput as c7, type StorefrontFormSubmitResult as c8, type StorefrontFormUpload as c9, type SubmitQuoteInput as ca, type SubmitReturnInput as cb, type SubmitReviewInput as cc, type Subscription as cd, type SubscriptionAction as ce, type SubscriptionFrequency as cf, type SubscriptionItem as cg, type SubscriptionStatus as ch, type TaxBreakdownLine as ci, type VariantAxis as cj, type VariantAxisValue as ck, type WishlistItem as cl, clearCartSummary as cm, err as cn, ok as co, publishCartSummary as cp, toSdkError as cq, type AddressDetail as d, type AddressSuggestion as e, type AddressType as f, AddressTypes as g, type AuthTokens as h, type BackInStockSubscription as i, type BadgeTone as j, BehioApiError as k, type BehioErrorCode as l, type BehioEventHandler as m, type BehioEventType as n, BehioNetworkError as o, type BehioStorefrontConfig as p, type Blog as q, type BlogPostDetail as r, type BlogPostListItem as s, type BlogPostsPage as t, type BlogPostsQuery as u, type BlogSettings as v, type BlogTag as w, type Bundle as x, type BundleCatalogQuery as y, type BundleItem as z };
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { P as ProductDetail, a as ProductVariant, B as BehioStorefront, S as SdkResult, C as CookieConsent, b as StorefrontFormFieldError } from './client-SeKujCLk.mjs';
2
- export { A as ActivePromotion, c as AddToCartInput, d as AddressDetail, e as AddressSuggestion, f as AddressType, g as AddressTypes, h as AuthTokens, i as BackInStockSubscription, j as BadgeTone, k as BehioApiError, l as BehioErrorCode, m as BehioEventHandler, n as BehioEventType, o as BehioNetworkError, p as BehioStorefrontConfig, q as Blog, r as BlogPostDetail, s as BlogPostListItem, t as BlogPostsPage, u as BlogPostsQuery, v as BlogSettings, w as BlogTag, x as Bundle, y as BundleCatalogQuery, z as BundleItem, D as Cart, E as CartBundleLine, F as CartBundleLineItem, G as CartDiscount, H as CartItem, I as CartItemProduct, J as CartLinkClaimed, K as CartPromotion, L as CartSummaryEvent, M as Category, N as CategoryDetail, O as CertificateVerification, Q as CheckoutAddress, R as CheckoutInput, T as CheckoutPaymentMethod, U as CheckoutPreview, V as CheckoutResult, W as CheckoutSettings, X as CookieConsentInput, Y as CourseAttachment, Z as CourseCertificate, _ as CourseComment, $ as CourseCommentReply, a0 as CourseCommentsList, a1 as CourseDetail, a2 as CourseLesson, a3 as CourseListItem, a4 as CourseModule, a5 as CoursePostedComment, a6 as CourseProgress, a7 as CourseTutorMessage, a8 as CourseTutorThread, a9 as CrossSellItem, aa as CurrencyDisplayFormat, ab as CustomerAddress, ac as CustomerProfile, ad as DigitalDownload, ae as DownloadUrl, af as Facet, ag as FacetAvailability, ah as FacetCategory, ai as FacetLabel, aj as FacetPriceRange, ak as FacetRange, al as FacetRatingBucket, am as FacetValue, an as FacetsResponse, ao as FilterField, ap as FulfillmentStatus, aq as FulfillmentStatuses, ar as GiftCardBalance, as as GiftCardPurchaseInput, at as GiftCardPurchaseResult, au as GiftCardSummary, av as LessonNote, aw as LessonQuiz, ax as LoginInput, ay as LoyaltyBalance, az as LoyaltyNextTier, aA as LoyaltyProgram, aB as LoyaltySummary, aC as LoyaltyTier, aD as LoyaltyTierPerks, aE as LoyaltyTransaction, aF as Menu, aG as MenuItem, aH as MenuItemRef, aI as MenuItemType, aJ as MessageResponse, aK as NewsletterOptInDefault, aL as NewsletterSubscribeInput, aM as NewsletterSubscribeResult, aN as NewsletterUnsubscribeResult, aO as OrderAccessRequestResponse, aP as OrderAccessVerifyResponse, aQ as OrderDetail, aR as OrderItem, aS as OrderListItem, aT as OrderStatus, aU as OrderStatusHistory, aV as OrderStatuses, aW as OrderTracking, aX as Page, aY as PageAttachment, aZ as PageDetail, a_ as PaginatedResponse, a$ as PaymentInstrument, b0 as PaymentStatus, b1 as PaymentStatuses, b2 as PaymentSwift, b3 as PickupPoint, b4 as PickupPointHours, b5 as PickupPointsInput, b6 as PickupWidgetConfig, b7 as PriceDisplay, b8 as ProductAssetGroup, b9 as ProductAssetItem, ba as ProductAvailability, bb as ProductGroup, bc as ProductLabel, bd as ProductListItem, be as ProductMedia, bf as ProductMediaVariant, bg as ProductParameter, bh as ProductParameterGroup, bi as ProductParametersResponse, bj as ProductPrice, bk as ProductPromotionSummary, bl as ProductReview, bm as ProductReviewsResponse, bn as ProductSibling, bo as ProductSort, bp as ProductSortValue, bq as ProductVolumePrice, br as ProductsQuery, bs as QuizAnswerInput, bt as QuizAnswerResult, bu as QuizQuestion, bv as QuizResult, bw as QuoteItem, bx as QuoteRequest, by as RegisterInput, bz as RegisterResult, bA as RequestInterceptor, bB as RequestInterceptorConfig, bC as ResponseInterceptor, bD as ResponseInterceptorData, bE as ReturnRequest, bF as ReturnRequestItem, bG as ReturnStatus, bH as ReturnStatusItem, bI as ReturnableOrder, bJ as ReturnableOrderItem, bK as SdkError, bL as ShippingMethodSummary, bM as ShippingQuote, bN as ShippingQuoteInput, bO as ShopAppearance, bP as ShopInfo, bQ as ShopScript, bR as ShopScriptPlacement, bS as ShopScriptType, bT as ShopScripts, bU as ShopSeo, bV as ShopSeoIdentity, bW as SiteFormField, bX as SiteFormFieldOption, bY as SiteFormFieldType, bZ as Sitemap, b_ as SitemapEntry, b$ as StockBehavior, c0 as StockMode, c1 as StorefrontForm, c2 as StorefrontFormFieldErrorCode, c3 as StorefrontFormFile, c4 as StorefrontFormSettings, c5 as StorefrontFormSubmitInput, c6 as StorefrontFormSubmitResult, c7 as StorefrontFormUpload, c8 as SubmitQuoteInput, c9 as SubmitReturnInput, ca as SubmitReviewInput, cb as Subscription, cc as SubscriptionAction, cd as SubscriptionFrequency, ce as SubscriptionItem, cf as SubscriptionStatus, cg as TaxBreakdownLine, ch as VariantAxis, ci as VariantAxisValue, cj as WishlistItem, ck as clearCartSummary, cl as err, cm as ok, cn as publishCartSummary, co as toSdkError } from './client-SeKujCLk.mjs';
1
+ import { P as ProductDetail, a as ProductVariant, B as BehioStorefront, S as SdkResult, C as CookieConsent, b as StorefrontFormFieldError } from './client-t58lBodJ.mjs';
2
+ export { A as ActivePromotion, c as AddToCartInput, d as AddressDetail, e as AddressSuggestion, f as AddressType, g as AddressTypes, h as AuthTokens, i as BackInStockSubscription, j as BadgeTone, k as BehioApiError, l as BehioErrorCode, m as BehioEventHandler, n as BehioEventType, o as BehioNetworkError, p as BehioStorefrontConfig, q as Blog, r as BlogPostDetail, s as BlogPostListItem, t as BlogPostsPage, u as BlogPostsQuery, v as BlogSettings, w as BlogTag, x as Bundle, y as BundleCatalogQuery, z as BundleItem, D as Cart, E as CartBundleLine, F as CartBundleLineItem, G as CartDiscount, H as CartItem, I as CartItemProduct, J as CartLinkClaimed, K as CartPromotion, L as CartSummaryEvent, M as Category, N as CategoryDetail, O as CertificateVerification, Q as CheckoutAddress, R as CheckoutInput, T as CheckoutPaymentMethod, U as CheckoutPreview, V as CheckoutResult, W as CheckoutSettings, X as CookieConsentInput, Y as CourseAttachment, Z as CourseCertificate, _ as CourseComment, $ as CourseCommentReply, a0 as CourseCommentsList, a1 as CourseDetail, a2 as CourseLesson, a3 as CourseListItem, a4 as CourseModule, a5 as CoursePostedComment, a6 as CourseProgress, a7 as CourseTutorMessage, a8 as CourseTutorThread, a9 as CrossSellItem, aa as CurrencyDisplayFormat, ab as CustomerAddress, ac as CustomerProfile, ad as DigitalDownload, ae as DownloadUrl, af as Facet, ag as FacetAvailability, ah as FacetCategory, ai as FacetLabel, aj as FacetPriceRange, ak as FacetRange, al as FacetRatingBucket, am as FacetValue, an as FacetsResponse, ao as FilterField, ap as FulfillmentStatus, aq as FulfillmentStatuses, ar as GiftCardBalance, as as GiftCardPurchaseInput, at as GiftCardPurchaseResult, au as GiftCardSummary, av as LessonNote, aw as LessonQuiz, ax as LoginInput, ay as LoyaltyBalance, az as LoyaltyNextTier, aA as LoyaltyProgram, aB as LoyaltySummary, aC as LoyaltyTier, aD as LoyaltyTierPerks, aE as LoyaltyTransaction, aF as Menu, aG as MenuItem, aH as MenuItemRef, aI as MenuItemType, aJ as MessageResponse, aK as NewsletterOptInDefault, aL as NewsletterSubscribeInput, aM as NewsletterSubscribeResult, aN as NewsletterUnsubscribeResult, aO as OrderAccessRequestResponse, aP as OrderAccessVerifyResponse, aQ as OrderDetail, aR as OrderItem, aS as OrderListItem, aT as OrderPickupPoint, aU as OrderShipment, aV as OrderStatus, aW as OrderStatusHistory, aX as OrderStatuses, aY as OrderTracking, aZ as Page, a_ as PageAttachment, a$ as PageDetail, b0 as PaginatedResponse, b1 as PaymentInstrument, b2 as PaymentStatus, b3 as PaymentStatuses, b4 as PaymentSwift, b5 as PickupPoint, b6 as PickupPointHours, b7 as PickupPointsInput, b8 as PickupWidgetConfig, b9 as PriceDisplay, ba as ProductAssetGroup, bb as ProductAssetItem, bc as ProductAvailability, bd as ProductGroup, be as ProductLabel, bf as ProductListItem, bg as ProductMedia, bh as ProductMediaVariant, bi as ProductParameter, bj as ProductParameterGroup, bk as ProductParametersResponse, bl as ProductPrice, bm as ProductPromotionSummary, bn as ProductReview, bo as ProductReviewsResponse, bp as ProductSibling, bq as ProductSort, br as ProductSortValue, bs as ProductVolumePrice, bt as ProductsQuery, bu as QuizAnswerInput, bv as QuizAnswerResult, bw as QuizQuestion, bx as QuizResult, by as QuoteItem, bz as QuoteRequest, bA as RegisterInput, bB as RegisterResult, bC as RequestInterceptor, bD as RequestInterceptorConfig, bE as ResponseInterceptor, bF as ResponseInterceptorData, bG as ReturnRequest, bH as ReturnRequestItem, bI as ReturnStatus, bJ as ReturnStatusItem, bK as ReturnableOrder, bL as ReturnableOrderItem, bM as SdkError, bN as ShippingMethodSummary, bO as ShippingQuote, bP as ShippingQuoteInput, bQ as ShopAppearance, bR as ShopInfo, bS as ShopScript, bT as ShopScriptPlacement, bU as ShopScriptType, bV as ShopScripts, bW as ShopSeo, bX as ShopSeoIdentity, bY as SiteFormField, bZ as SiteFormFieldOption, b_ as SiteFormFieldType, b$ as Sitemap, c0 as SitemapEntry, c1 as StockBehavior, c2 as StockMode, c3 as StorefrontForm, c4 as StorefrontFormFieldErrorCode, c5 as StorefrontFormFile, c6 as StorefrontFormSettings, c7 as StorefrontFormSubmitInput, c8 as StorefrontFormSubmitResult, c9 as StorefrontFormUpload, ca as SubmitQuoteInput, cb as SubmitReturnInput, cc as SubmitReviewInput, cd as Subscription, ce as SubscriptionAction, cf as SubscriptionFrequency, cg as SubscriptionItem, ch as SubscriptionStatus, ci as TaxBreakdownLine, cj as VariantAxis, ck as VariantAxisValue, cl as WishlistItem, cm as clearCartSummary, cn as err, co as ok, cp as publishCartSummary, cq as toSdkError } from './client-t58lBodJ.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 { P as ProductDetail, a as ProductVariant, B as BehioStorefront, S as SdkResult, C as CookieConsent, b as StorefrontFormFieldError } from './client-SeKujCLk.js';
2
- export { A as ActivePromotion, c as AddToCartInput, d as AddressDetail, e as AddressSuggestion, f as AddressType, g as AddressTypes, h as AuthTokens, i as BackInStockSubscription, j as BadgeTone, k as BehioApiError, l as BehioErrorCode, m as BehioEventHandler, n as BehioEventType, o as BehioNetworkError, p as BehioStorefrontConfig, q as Blog, r as BlogPostDetail, s as BlogPostListItem, t as BlogPostsPage, u as BlogPostsQuery, v as BlogSettings, w as BlogTag, x as Bundle, y as BundleCatalogQuery, z as BundleItem, D as Cart, E as CartBundleLine, F as CartBundleLineItem, G as CartDiscount, H as CartItem, I as CartItemProduct, J as CartLinkClaimed, K as CartPromotion, L as CartSummaryEvent, M as Category, N as CategoryDetail, O as CertificateVerification, Q as CheckoutAddress, R as CheckoutInput, T as CheckoutPaymentMethod, U as CheckoutPreview, V as CheckoutResult, W as CheckoutSettings, X as CookieConsentInput, Y as CourseAttachment, Z as CourseCertificate, _ as CourseComment, $ as CourseCommentReply, a0 as CourseCommentsList, a1 as CourseDetail, a2 as CourseLesson, a3 as CourseListItem, a4 as CourseModule, a5 as CoursePostedComment, a6 as CourseProgress, a7 as CourseTutorMessage, a8 as CourseTutorThread, a9 as CrossSellItem, aa as CurrencyDisplayFormat, ab as CustomerAddress, ac as CustomerProfile, ad as DigitalDownload, ae as DownloadUrl, af as Facet, ag as FacetAvailability, ah as FacetCategory, ai as FacetLabel, aj as FacetPriceRange, ak as FacetRange, al as FacetRatingBucket, am as FacetValue, an as FacetsResponse, ao as FilterField, ap as FulfillmentStatus, aq as FulfillmentStatuses, ar as GiftCardBalance, as as GiftCardPurchaseInput, at as GiftCardPurchaseResult, au as GiftCardSummary, av as LessonNote, aw as LessonQuiz, ax as LoginInput, ay as LoyaltyBalance, az as LoyaltyNextTier, aA as LoyaltyProgram, aB as LoyaltySummary, aC as LoyaltyTier, aD as LoyaltyTierPerks, aE as LoyaltyTransaction, aF as Menu, aG as MenuItem, aH as MenuItemRef, aI as MenuItemType, aJ as MessageResponse, aK as NewsletterOptInDefault, aL as NewsletterSubscribeInput, aM as NewsletterSubscribeResult, aN as NewsletterUnsubscribeResult, aO as OrderAccessRequestResponse, aP as OrderAccessVerifyResponse, aQ as OrderDetail, aR as OrderItem, aS as OrderListItem, aT as OrderStatus, aU as OrderStatusHistory, aV as OrderStatuses, aW as OrderTracking, aX as Page, aY as PageAttachment, aZ as PageDetail, a_ as PaginatedResponse, a$ as PaymentInstrument, b0 as PaymentStatus, b1 as PaymentStatuses, b2 as PaymentSwift, b3 as PickupPoint, b4 as PickupPointHours, b5 as PickupPointsInput, b6 as PickupWidgetConfig, b7 as PriceDisplay, b8 as ProductAssetGroup, b9 as ProductAssetItem, ba as ProductAvailability, bb as ProductGroup, bc as ProductLabel, bd as ProductListItem, be as ProductMedia, bf as ProductMediaVariant, bg as ProductParameter, bh as ProductParameterGroup, bi as ProductParametersResponse, bj as ProductPrice, bk as ProductPromotionSummary, bl as ProductReview, bm as ProductReviewsResponse, bn as ProductSibling, bo as ProductSort, bp as ProductSortValue, bq as ProductVolumePrice, br as ProductsQuery, bs as QuizAnswerInput, bt as QuizAnswerResult, bu as QuizQuestion, bv as QuizResult, bw as QuoteItem, bx as QuoteRequest, by as RegisterInput, bz as RegisterResult, bA as RequestInterceptor, bB as RequestInterceptorConfig, bC as ResponseInterceptor, bD as ResponseInterceptorData, bE as ReturnRequest, bF as ReturnRequestItem, bG as ReturnStatus, bH as ReturnStatusItem, bI as ReturnableOrder, bJ as ReturnableOrderItem, bK as SdkError, bL as ShippingMethodSummary, bM as ShippingQuote, bN as ShippingQuoteInput, bO as ShopAppearance, bP as ShopInfo, bQ as ShopScript, bR as ShopScriptPlacement, bS as ShopScriptType, bT as ShopScripts, bU as ShopSeo, bV as ShopSeoIdentity, bW as SiteFormField, bX as SiteFormFieldOption, bY as SiteFormFieldType, bZ as Sitemap, b_ as SitemapEntry, b$ as StockBehavior, c0 as StockMode, c1 as StorefrontForm, c2 as StorefrontFormFieldErrorCode, c3 as StorefrontFormFile, c4 as StorefrontFormSettings, c5 as StorefrontFormSubmitInput, c6 as StorefrontFormSubmitResult, c7 as StorefrontFormUpload, c8 as SubmitQuoteInput, c9 as SubmitReturnInput, ca as SubmitReviewInput, cb as Subscription, cc as SubscriptionAction, cd as SubscriptionFrequency, ce as SubscriptionItem, cf as SubscriptionStatus, cg as TaxBreakdownLine, ch as VariantAxis, ci as VariantAxisValue, cj as WishlistItem, ck as clearCartSummary, cl as err, cm as ok, cn as publishCartSummary, co as toSdkError } from './client-SeKujCLk.js';
1
+ import { P as ProductDetail, a as ProductVariant, B as BehioStorefront, S as SdkResult, C as CookieConsent, b as StorefrontFormFieldError } from './client-t58lBodJ.js';
2
+ export { A as ActivePromotion, c as AddToCartInput, d as AddressDetail, e as AddressSuggestion, f as AddressType, g as AddressTypes, h as AuthTokens, i as BackInStockSubscription, j as BadgeTone, k as BehioApiError, l as BehioErrorCode, m as BehioEventHandler, n as BehioEventType, o as BehioNetworkError, p as BehioStorefrontConfig, q as Blog, r as BlogPostDetail, s as BlogPostListItem, t as BlogPostsPage, u as BlogPostsQuery, v as BlogSettings, w as BlogTag, x as Bundle, y as BundleCatalogQuery, z as BundleItem, D as Cart, E as CartBundleLine, F as CartBundleLineItem, G as CartDiscount, H as CartItem, I as CartItemProduct, J as CartLinkClaimed, K as CartPromotion, L as CartSummaryEvent, M as Category, N as CategoryDetail, O as CertificateVerification, Q as CheckoutAddress, R as CheckoutInput, T as CheckoutPaymentMethod, U as CheckoutPreview, V as CheckoutResult, W as CheckoutSettings, X as CookieConsentInput, Y as CourseAttachment, Z as CourseCertificate, _ as CourseComment, $ as CourseCommentReply, a0 as CourseCommentsList, a1 as CourseDetail, a2 as CourseLesson, a3 as CourseListItem, a4 as CourseModule, a5 as CoursePostedComment, a6 as CourseProgress, a7 as CourseTutorMessage, a8 as CourseTutorThread, a9 as CrossSellItem, aa as CurrencyDisplayFormat, ab as CustomerAddress, ac as CustomerProfile, ad as DigitalDownload, ae as DownloadUrl, af as Facet, ag as FacetAvailability, ah as FacetCategory, ai as FacetLabel, aj as FacetPriceRange, ak as FacetRange, al as FacetRatingBucket, am as FacetValue, an as FacetsResponse, ao as FilterField, ap as FulfillmentStatus, aq as FulfillmentStatuses, ar as GiftCardBalance, as as GiftCardPurchaseInput, at as GiftCardPurchaseResult, au as GiftCardSummary, av as LessonNote, aw as LessonQuiz, ax as LoginInput, ay as LoyaltyBalance, az as LoyaltyNextTier, aA as LoyaltyProgram, aB as LoyaltySummary, aC as LoyaltyTier, aD as LoyaltyTierPerks, aE as LoyaltyTransaction, aF as Menu, aG as MenuItem, aH as MenuItemRef, aI as MenuItemType, aJ as MessageResponse, aK as NewsletterOptInDefault, aL as NewsletterSubscribeInput, aM as NewsletterSubscribeResult, aN as NewsletterUnsubscribeResult, aO as OrderAccessRequestResponse, aP as OrderAccessVerifyResponse, aQ as OrderDetail, aR as OrderItem, aS as OrderListItem, aT as OrderPickupPoint, aU as OrderShipment, aV as OrderStatus, aW as OrderStatusHistory, aX as OrderStatuses, aY as OrderTracking, aZ as Page, a_ as PageAttachment, a$ as PageDetail, b0 as PaginatedResponse, b1 as PaymentInstrument, b2 as PaymentStatus, b3 as PaymentStatuses, b4 as PaymentSwift, b5 as PickupPoint, b6 as PickupPointHours, b7 as PickupPointsInput, b8 as PickupWidgetConfig, b9 as PriceDisplay, ba as ProductAssetGroup, bb as ProductAssetItem, bc as ProductAvailability, bd as ProductGroup, be as ProductLabel, bf as ProductListItem, bg as ProductMedia, bh as ProductMediaVariant, bi as ProductParameter, bj as ProductParameterGroup, bk as ProductParametersResponse, bl as ProductPrice, bm as ProductPromotionSummary, bn as ProductReview, bo as ProductReviewsResponse, bp as ProductSibling, bq as ProductSort, br as ProductSortValue, bs as ProductVolumePrice, bt as ProductsQuery, bu as QuizAnswerInput, bv as QuizAnswerResult, bw as QuizQuestion, bx as QuizResult, by as QuoteItem, bz as QuoteRequest, bA as RegisterInput, bB as RegisterResult, bC as RequestInterceptor, bD as RequestInterceptorConfig, bE as ResponseInterceptor, bF as ResponseInterceptorData, bG as ReturnRequest, bH as ReturnRequestItem, bI as ReturnStatus, bJ as ReturnStatusItem, bK as ReturnableOrder, bL as ReturnableOrderItem, bM as SdkError, bN as ShippingMethodSummary, bO as ShippingQuote, bP as ShippingQuoteInput, bQ as ShopAppearance, bR as ShopInfo, bS as ShopScript, bT as ShopScriptPlacement, bU as ShopScriptType, bV as ShopScripts, bW as ShopSeo, bX as ShopSeoIdentity, bY as SiteFormField, bZ as SiteFormFieldOption, b_ as SiteFormFieldType, b$ as Sitemap, c0 as SitemapEntry, c1 as StockBehavior, c2 as StockMode, c3 as StorefrontForm, c4 as StorefrontFormFieldErrorCode, c5 as StorefrontFormFile, c6 as StorefrontFormSettings, c7 as StorefrontFormSubmitInput, c8 as StorefrontFormSubmitResult, c9 as StorefrontFormUpload, ca as SubmitQuoteInput, cb as SubmitReturnInput, cc as SubmitReviewInput, cd as Subscription, ce as SubscriptionAction, cf as SubscriptionFrequency, cg as SubscriptionItem, ch as SubscriptionStatus, ci as TaxBreakdownLine, cj as VariantAxis, ck as VariantAxisValue, cl as WishlistItem, cm as clearCartSummary, cn as err, co as ok, cp as publishCartSummary, cq as toSdkError } from './client-t58lBodJ.js';
3
3
 
4
4
  /**
5
5
  * Format a price amount with currency using Intl.NumberFormat.
package/dist/next.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { p as BehioStorefrontConfig, B as BehioStorefront } from './client-SeKujCLk.mjs';
1
+ import { p as BehioStorefrontConfig, B as BehioStorefront } from './client-t58lBodJ.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 { p as BehioStorefrontConfig, B as BehioStorefront } from './client-SeKujCLk.js';
1
+ import { p as BehioStorefrontConfig, B as BehioStorefront } from './client-t58lBodJ.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
@@ -1625,7 +1625,13 @@ interface OrderListItem {
1625
1625
  interface OrderItem {
1626
1626
  productName: string;
1627
1627
  sku: string;
1628
- imageUrl?: string;
1628
+ /** Photo snapshot from checkout, or the product's current photo. */
1629
+ imageUrl?: string | null;
1630
+ /** Product still in the shop (SDK 2.8.0). Null when it was removed since,
1631
+ * so a template never links to a missing product page. */
1632
+ productId?: string | null;
1633
+ /** URL slug for a link back to the product page (SDK 2.8.0). */
1634
+ productSlug?: string | null;
1629
1635
  quantity: number;
1630
1636
  unitPrice: number;
1631
1637
  totalPrice: number;
@@ -1649,6 +1655,36 @@ interface OrderTracking {
1649
1655
  shippingCountry: string | null;
1650
1656
  items: OrderItem[];
1651
1657
  createdAt: number;
1658
+ /** Order summary, not personal data (SDK 2.8.0). */
1659
+ subtotal?: number;
1660
+ shippingTotal?: number;
1661
+ paymentFee?: number | null;
1662
+ discountTotal?: number;
1663
+ taxTotal?: number;
1664
+ taxBreakdown?: TaxBreakdownLine[];
1665
+ /** Shipping method as the customer chose it (SDK 2.8.0). */
1666
+ shippingMethodName?: string | null;
1667
+ /** Payment method in the order language (SDK 2.8.0). */
1668
+ paymentMethodName?: string | null;
1669
+ /** Pickup point the customer chose, a public place (SDK 2.8.0). */
1670
+ pickupPoint?: OrderPickupPoint | null;
1671
+ /** Parcels the customer can follow (SDK 2.8.0). */
1672
+ shipments?: OrderShipment[];
1673
+ }
1674
+ /** Pickup point the customer chose for an order (SDK 2.8.0). */
1675
+ interface OrderPickupPoint {
1676
+ name: string;
1677
+ street?: string | null;
1678
+ city?: string | null;
1679
+ zip?: string | null;
1680
+ country?: string | null;
1681
+ }
1682
+ /** A parcel on its way, with the carrier's tracking link (SDK 2.8.0). */
1683
+ interface OrderShipment {
1684
+ trackingNumber?: string | null;
1685
+ trackingUrl?: string | null;
1686
+ status: string;
1687
+ createdAt: number;
1652
1688
  }
1653
1689
  interface OrderStatusHistory {
1654
1690
  fromStatus?: OrderStatus;
@@ -1662,6 +1698,14 @@ interface OrderDetail extends OrderListItem {
1662
1698
  contentDeliveryPending?: boolean;
1663
1699
  /** False for an order without physical delivery. */
1664
1700
  requiresShipping?: boolean;
1701
+ /** Shipping method as the customer chose it (SDK 2.8.0). */
1702
+ shippingMethodName?: string | null;
1703
+ /** Payment method in the order language (SDK 2.8.0). */
1704
+ paymentMethodName?: string | null;
1705
+ /** Pickup point the customer chose, a public place (SDK 2.8.0). */
1706
+ pickupPoint?: OrderPickupPoint | null;
1707
+ /** Parcels the customer can follow (SDK 2.8.0). */
1708
+ shipments?: OrderShipment[];
1665
1709
  items: OrderItem[];
1666
1710
  shippingAddress: CheckoutAddress;
1667
1711
  billingAddress: CheckoutAddress;
package/dist/react.d.ts CHANGED
@@ -1625,7 +1625,13 @@ interface OrderListItem {
1625
1625
  interface OrderItem {
1626
1626
  productName: string;
1627
1627
  sku: string;
1628
- imageUrl?: string;
1628
+ /** Photo snapshot from checkout, or the product's current photo. */
1629
+ imageUrl?: string | null;
1630
+ /** Product still in the shop (SDK 2.8.0). Null when it was removed since,
1631
+ * so a template never links to a missing product page. */
1632
+ productId?: string | null;
1633
+ /** URL slug for a link back to the product page (SDK 2.8.0). */
1634
+ productSlug?: string | null;
1629
1635
  quantity: number;
1630
1636
  unitPrice: number;
1631
1637
  totalPrice: number;
@@ -1649,6 +1655,36 @@ interface OrderTracking {
1649
1655
  shippingCountry: string | null;
1650
1656
  items: OrderItem[];
1651
1657
  createdAt: number;
1658
+ /** Order summary, not personal data (SDK 2.8.0). */
1659
+ subtotal?: number;
1660
+ shippingTotal?: number;
1661
+ paymentFee?: number | null;
1662
+ discountTotal?: number;
1663
+ taxTotal?: number;
1664
+ taxBreakdown?: TaxBreakdownLine[];
1665
+ /** Shipping method as the customer chose it (SDK 2.8.0). */
1666
+ shippingMethodName?: string | null;
1667
+ /** Payment method in the order language (SDK 2.8.0). */
1668
+ paymentMethodName?: string | null;
1669
+ /** Pickup point the customer chose, a public place (SDK 2.8.0). */
1670
+ pickupPoint?: OrderPickupPoint | null;
1671
+ /** Parcels the customer can follow (SDK 2.8.0). */
1672
+ shipments?: OrderShipment[];
1673
+ }
1674
+ /** Pickup point the customer chose for an order (SDK 2.8.0). */
1675
+ interface OrderPickupPoint {
1676
+ name: string;
1677
+ street?: string | null;
1678
+ city?: string | null;
1679
+ zip?: string | null;
1680
+ country?: string | null;
1681
+ }
1682
+ /** A parcel on its way, with the carrier's tracking link (SDK 2.8.0). */
1683
+ interface OrderShipment {
1684
+ trackingNumber?: string | null;
1685
+ trackingUrl?: string | null;
1686
+ status: string;
1687
+ createdAt: number;
1652
1688
  }
1653
1689
  interface OrderStatusHistory {
1654
1690
  fromStatus?: OrderStatus;
@@ -1662,6 +1698,14 @@ interface OrderDetail extends OrderListItem {
1662
1698
  contentDeliveryPending?: boolean;
1663
1699
  /** False for an order without physical delivery. */
1664
1700
  requiresShipping?: boolean;
1701
+ /** Shipping method as the customer chose it (SDK 2.8.0). */
1702
+ shippingMethodName?: string | null;
1703
+ /** Payment method in the order language (SDK 2.8.0). */
1704
+ paymentMethodName?: string | null;
1705
+ /** Pickup point the customer chose, a public place (SDK 2.8.0). */
1706
+ pickupPoint?: OrderPickupPoint | null;
1707
+ /** Parcels the customer can follow (SDK 2.8.0). */
1708
+ shipments?: OrderShipment[];
1665
1709
  items: OrderItem[];
1666
1710
  shippingAddress: CheckoutAddress;
1667
1711
  billingAddress: CheckoutAddress;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@behio/storefront-sdk",
3
- "version": "2.7.0",
3
+ "version": "2.8.0",
4
4
  "description": "TypeScript SDK for Behio headless e-commerce: core client + React hooks",
5
5
  "author": "Behio",
6
6
  "license": "MIT",