@behio/storefront-sdk 2.25.0 → 2.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{client-CF_H3vgY.d.mts → client-BuL50_BZ.d.mts} +22 -1
- package/dist/{client-CF_H3vgY.d.ts → client-BuL50_BZ.d.ts} +22 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -0
- package/dist/index.mjs +3 -0
- package/dist/next.d.mts +1 -1
- package/dist/next.d.ts +1 -1
- package/dist/react.d.mts +22 -0
- package/dist/react.d.ts +22 -0
- package/dist/react.js +1 -1
- package/dist/react.mjs +1 -1
- package/package.json +1 -1
|
@@ -1800,7 +1800,22 @@ interface OrderPaymentInstructions {
|
|
|
1800
1800
|
currency: string;
|
|
1801
1801
|
instructions: string | null;
|
|
1802
1802
|
}
|
|
1803
|
+
/** Issued document visible only to the authorized order owner. Its page offers a PDF download. */
|
|
1804
|
+
interface OrderDocument {
|
|
1805
|
+
id: string;
|
|
1806
|
+
number: string;
|
|
1807
|
+
type: "INVOICE" | "PROFORMA" | "RECEIPT" | "CREDIT_NOTE";
|
|
1808
|
+
currency: string;
|
|
1809
|
+
totalAmount: number;
|
|
1810
|
+
/** Actual invoice ledger amounts, independent of the order payment status. */
|
|
1811
|
+
paidAmount: number;
|
|
1812
|
+
remainingAmount: number;
|
|
1813
|
+
/** Capability URL: do not expose in public tracking, analytics or logs. */
|
|
1814
|
+
url: string;
|
|
1815
|
+
}
|
|
1803
1816
|
interface OrderDetail extends OrderListItem {
|
|
1817
|
+
/** Issued invoices/proformas/receipts/credit notes. Drafts and revoked links are excluded. */
|
|
1818
|
+
documents?: OrderDocument[];
|
|
1804
1819
|
/** Payment is recorded; access delivery will retry automatically. Do not place a duplicate order. */
|
|
1805
1820
|
contentDeliveryPending?: boolean;
|
|
1806
1821
|
/** False for an order without physical delivery. */
|
|
@@ -3089,6 +3104,12 @@ interface ProductReviewsResponse {
|
|
|
3089
3104
|
limit: number;
|
|
3090
3105
|
averageRating: number;
|
|
3091
3106
|
reviewCount: number;
|
|
3107
|
+
/** Available on backends with purchaser-only review moderation. */
|
|
3108
|
+
submission?: {
|
|
3109
|
+
requiresVerifiedPurchase: boolean;
|
|
3110
|
+
canSubmit: boolean;
|
|
3111
|
+
reason: "LOGIN_REQUIRED" | "PURCHASE_REQUIRED" | "ALREADY_REVIEWED" | null;
|
|
3112
|
+
};
|
|
3092
3113
|
}
|
|
3093
3114
|
/** Returned by `catalog.notifyWhenAvailable()` — back-in-stock subscription. */
|
|
3094
3115
|
interface BackInStockSubscription {
|
|
@@ -4599,4 +4620,4 @@ declare function clearCartSummary(): void;
|
|
|
4599
4620
|
/** Publish only authoritative current totals; server cart consumers call this after hydration and revalidation. */
|
|
4600
4621
|
declare function publishCartSummary(summary: CartSummaryEvent): void;
|
|
4601
4622
|
|
|
4602
|
-
export { type CartSummaryEvent as $, type ActivePromotion as A, BehioStorefront as B, type CookieConsent as C, type BookingCreateInput as D, type BookingCreated as E, type BookingLocale as F, type BookingLocation as G, type BookingManageSlotsQuery as H, type BookingService as I, type BookingSlot as J, type BookingSlots as K, type BookingSlotsQuery as L, type BookingStaff as M, type BookingStatus as N, type Bundle as O, type ProductDetail as P, type BundleCatalogQuery as Q, type BundleItem as R, type SdkResult as S, type Cart as T, type CartBundleLine as U, type CartBundleLineItem as V, type CartDiscount as W, type CartItem as X, type CartItemProduct as Y, type CartLinkClaimed as Z, type CartPromotion as _, type ProductVariant as a, type MenuItem as a$, type Category as a0, type CategoryDetail as a1, type CertificateVerification as a2, type CheckoutAddress as a3, type CheckoutInput as a4, type CheckoutPaymentMethod as a5, type CheckoutPreview as a6, type CheckoutResult as a7, type CheckoutSettings as a8, type CookieConsentInput as a9, type FacetLabel as aA, type FacetPriceRange as aB, type FacetRange as aC, type FacetRatingBucket as aD, type FacetValue as aE, type FacetsResponse as aF, type FilterField as aG, type FulfillmentStatus as aH, FulfillmentStatuses as aI, type GamificationRefreshResult as aJ, type GiftCardBalance as aK, type GiftCardPurchaseInput as aL, type GiftCardPurchaseResult as aM, type GiftCardSummary as aN, type LessonNote as aO, type LessonQuiz as aP, type LoginInput as aQ, type LoyaltyBalance as aR, type LoyaltyNextTier as aS, type LoyaltyProgram as aT, type LoyaltyQuery as aU, type LoyaltyReferralResult as aV, type LoyaltySummary as aW, type LoyaltyTier as aX, type LoyaltyTierPerks as aY, type LoyaltyTransaction as aZ, type Menu as a_, type CourseAttachment as aa, type CourseCertificate as ab, type CourseComment as ac, type CourseCommentReply as ad, type CourseCommentsList as ae, type CourseDetail as af, type CourseLesson as ag, type CourseListItem as ah, type CourseModule as ai, type CoursePostedComment as aj, type CourseProgress as ak, type CourseTutorMessage as al, type CourseTutorThread as am, type CrossSellItem as an, type CurrencyDisplayFormat as ao, type CustomerAddress as ap, type CustomerBadge as aq, type CustomerChallenge as ar, type CustomerGamification as as, type CustomerGamificationQuery as at, type CustomerProfile as au, type DigitalDownload as av, type DownloadUrl as aw, type Facet as ax, type FacetAvailability as ay, type FacetCategory as az, type StorefrontFormFieldError as b, type
|
|
4623
|
+
export { type CartSummaryEvent as $, type ActivePromotion as A, BehioStorefront as B, type CookieConsent as C, type BookingCreateInput as D, type BookingCreated as E, type BookingLocale as F, type BookingLocation as G, type BookingManageSlotsQuery as H, type BookingService as I, type BookingSlot as J, type BookingSlots as K, type BookingSlotsQuery as L, type BookingStaff as M, type BookingStatus as N, type Bundle as O, type ProductDetail as P, type BundleCatalogQuery as Q, type BundleItem as R, type SdkResult as S, type Cart as T, type CartBundleLine as U, type CartBundleLineItem as V, type CartDiscount as W, type CartItem as X, type CartItemProduct as Y, type CartLinkClaimed as Z, type CartPromotion as _, type ProductVariant as a, type MenuItem as a$, type Category as a0, type CategoryDetail as a1, type CertificateVerification as a2, type CheckoutAddress as a3, type CheckoutInput as a4, type CheckoutPaymentMethod as a5, type CheckoutPreview as a6, type CheckoutResult as a7, type CheckoutSettings as a8, type CookieConsentInput as a9, type FacetLabel as aA, type FacetPriceRange as aB, type FacetRange as aC, type FacetRatingBucket as aD, type FacetValue as aE, type FacetsResponse as aF, type FilterField as aG, type FulfillmentStatus as aH, FulfillmentStatuses as aI, type GamificationRefreshResult as aJ, type GiftCardBalance as aK, type GiftCardPurchaseInput as aL, type GiftCardPurchaseResult as aM, type GiftCardSummary as aN, type LessonNote as aO, type LessonQuiz as aP, type LoginInput as aQ, type LoyaltyBalance as aR, type LoyaltyNextTier as aS, type LoyaltyProgram as aT, type LoyaltyQuery as aU, type LoyaltyReferralResult as aV, type LoyaltySummary as aW, type LoyaltyTier as aX, type LoyaltyTierPerks as aY, type LoyaltyTransaction as aZ, type Menu as a_, type CourseAttachment as aa, type CourseCertificate as ab, type CourseComment as ac, type CourseCommentReply as ad, type CourseCommentsList as ae, type CourseDetail as af, type CourseLesson as ag, type CourseListItem as ah, type CourseModule as ai, type CoursePostedComment as aj, type CourseProgress as ak, type CourseTutorMessage as al, type CourseTutorThread as am, type CrossSellItem as an, type CurrencyDisplayFormat as ao, type CustomerAddress as ap, type CustomerBadge as aq, type CustomerChallenge as ar, type CustomerGamification as as, type CustomerGamificationQuery as at, type CustomerProfile as au, type DigitalDownload as av, type DownloadUrl as aw, type Facet as ax, type FacetAvailability as ay, type FacetCategory as az, type StorefrontFormFieldError as b, type RequestInterceptorConfig as b$, type MenuItemRef as b0, type MenuItemType as b1, type MessageResponse as b2, type NewsletterOptInDefault as b3, type NewsletterSubscribeInput as b4, type NewsletterSubscribeResult as b5, type NewsletterUnsubscribeResult as b6, type OrderAccessRequestResponse as b7, type OrderAccessVerifyResponse as b8, type OrderDetail as b9, 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 RequestInterceptor as b_, type OrderDiscount as ba, type OrderDocument as bb, type OrderItem as bc, type OrderListItem as bd, type OrderPaymentInstructions as be, type OrderPickupPoint as bf, type OrderShipment as bg, type OrderStatus as bh, type OrderStatusHistory as bi, OrderStatuses as bj, type OrderTracking as bk, type Page as bl, type PageAttachment as bm, type PageDetail as bn, type PaginatedResponse as bo, type PaymentInstrument as bp, type PaymentStatus as bq, PaymentStatuses as br, type PaymentSwift as bs, type PickupPoint as bt, type PickupPointHours as bu, type PickupPointsInput as bv, type PickupWidgetConfig as bw, type PriceDisplay as bx, type ProductAssetGroup as by, type ProductAssetItem as bz, type AddToCartInput as c, clearCartSummary as c$, type ResponseInterceptor as c0, type ResponseInterceptorData as c1, type ReturnRequest as c2, type ReturnRequestItem as c3, type ReturnStatus as c4, type ReturnStatusItem as c5, type ReturnableOrder as c6, type ReturnableOrderItem as c7, type SdkError as c8, type ShippingMethodSummary as c9, type StorefrontFaqGroups as cA, type StorefrontFaqItem as cB, type StorefrontFaqQuery as cC, type StorefrontForm as cD, type StorefrontFormFieldErrorCode as cE, type StorefrontFormFile as cF, type StorefrontFormSettings as cG, type StorefrontFormSubmitInput as cH, type StorefrontFormSubmitResult as cI, type StorefrontFormUpload as cJ, type SubmitQuoteInput as cK, type SubmitReturnInput as cL, type SubmitReviewInput as cM, type SubmitWithdrawalInput as cN, type Subscription as cO, type SubscriptionAction as cP, type SubscriptionFrequency as cQ, type SubscriptionItem as cR, type SubscriptionStatus as cS, type TaxBreakdownLine as cT, type VariantAxis as cU, type VariantAxisValue as cV, type WishlistItem as cW, type WithdrawalAcknowledgement as cX, type WithdrawalFlag as cY, type WithdrawalSettings as cZ, type WithdrawalWindow as c_, type ShippingPublicConfig as ca, type ShippingQuote as cb, type ShippingQuoteInput as cc, type ShopAppearance as cd, type ShopCommerce as ce, type ShopInfo as cf, type ShopScript as cg, type ShopScriptPlacement as ch, type ShopScriptType as ci, type ShopScripts as cj, type ShopSeo as ck, type ShopSeoIdentity as cl, type SiteFormField as cm, type SiteFormFieldOption as cn, type SiteFormFieldType as co, type Sitemap as cp, type SitemapEntry as cq, type StockBehavior as cr, type StockMode as cs, type StorefrontCollection as ct, type StorefrontCollectionField as cu, type StorefrontCollectionFieldType as cv, type StorefrontCollectionItem as cw, type StorefrontCollectionQuery as cx, type StorefrontFaqGroup as cy, type StorefrontFaqGroupSummary as cz, type AddressDetail as d, err as d0, ok as d1, publishCartSummary as d2, toSdkError as d3, 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 Booking as x, type BookingCategory as y, type BookingConfig as z };
|
|
@@ -1800,7 +1800,22 @@ interface OrderPaymentInstructions {
|
|
|
1800
1800
|
currency: string;
|
|
1801
1801
|
instructions: string | null;
|
|
1802
1802
|
}
|
|
1803
|
+
/** Issued document visible only to the authorized order owner. Its page offers a PDF download. */
|
|
1804
|
+
interface OrderDocument {
|
|
1805
|
+
id: string;
|
|
1806
|
+
number: string;
|
|
1807
|
+
type: "INVOICE" | "PROFORMA" | "RECEIPT" | "CREDIT_NOTE";
|
|
1808
|
+
currency: string;
|
|
1809
|
+
totalAmount: number;
|
|
1810
|
+
/** Actual invoice ledger amounts, independent of the order payment status. */
|
|
1811
|
+
paidAmount: number;
|
|
1812
|
+
remainingAmount: number;
|
|
1813
|
+
/** Capability URL: do not expose in public tracking, analytics or logs. */
|
|
1814
|
+
url: string;
|
|
1815
|
+
}
|
|
1803
1816
|
interface OrderDetail extends OrderListItem {
|
|
1817
|
+
/** Issued invoices/proformas/receipts/credit notes. Drafts and revoked links are excluded. */
|
|
1818
|
+
documents?: OrderDocument[];
|
|
1804
1819
|
/** Payment is recorded; access delivery will retry automatically. Do not place a duplicate order. */
|
|
1805
1820
|
contentDeliveryPending?: boolean;
|
|
1806
1821
|
/** False for an order without physical delivery. */
|
|
@@ -3089,6 +3104,12 @@ interface ProductReviewsResponse {
|
|
|
3089
3104
|
limit: number;
|
|
3090
3105
|
averageRating: number;
|
|
3091
3106
|
reviewCount: number;
|
|
3107
|
+
/** Available on backends with purchaser-only review moderation. */
|
|
3108
|
+
submission?: {
|
|
3109
|
+
requiresVerifiedPurchase: boolean;
|
|
3110
|
+
canSubmit: boolean;
|
|
3111
|
+
reason: "LOGIN_REQUIRED" | "PURCHASE_REQUIRED" | "ALREADY_REVIEWED" | null;
|
|
3112
|
+
};
|
|
3092
3113
|
}
|
|
3093
3114
|
/** Returned by `catalog.notifyWhenAvailable()` — back-in-stock subscription. */
|
|
3094
3115
|
interface BackInStockSubscription {
|
|
@@ -4599,4 +4620,4 @@ declare function clearCartSummary(): void;
|
|
|
4599
4620
|
/** Publish only authoritative current totals; server cart consumers call this after hydration and revalidation. */
|
|
4600
4621
|
declare function publishCartSummary(summary: CartSummaryEvent): void;
|
|
4601
4622
|
|
|
4602
|
-
export { type CartSummaryEvent as $, type ActivePromotion as A, BehioStorefront as B, type CookieConsent as C, type BookingCreateInput as D, type BookingCreated as E, type BookingLocale as F, type BookingLocation as G, type BookingManageSlotsQuery as H, type BookingService as I, type BookingSlot as J, type BookingSlots as K, type BookingSlotsQuery as L, type BookingStaff as M, type BookingStatus as N, type Bundle as O, type ProductDetail as P, type BundleCatalogQuery as Q, type BundleItem as R, type SdkResult as S, type Cart as T, type CartBundleLine as U, type CartBundleLineItem as V, type CartDiscount as W, type CartItem as X, type CartItemProduct as Y, type CartLinkClaimed as Z, type CartPromotion as _, type ProductVariant as a, type MenuItem as a$, type Category as a0, type CategoryDetail as a1, type CertificateVerification as a2, type CheckoutAddress as a3, type CheckoutInput as a4, type CheckoutPaymentMethod as a5, type CheckoutPreview as a6, type CheckoutResult as a7, type CheckoutSettings as a8, type CookieConsentInput as a9, type FacetLabel as aA, type FacetPriceRange as aB, type FacetRange as aC, type FacetRatingBucket as aD, type FacetValue as aE, type FacetsResponse as aF, type FilterField as aG, type FulfillmentStatus as aH, FulfillmentStatuses as aI, type GamificationRefreshResult as aJ, type GiftCardBalance as aK, type GiftCardPurchaseInput as aL, type GiftCardPurchaseResult as aM, type GiftCardSummary as aN, type LessonNote as aO, type LessonQuiz as aP, type LoginInput as aQ, type LoyaltyBalance as aR, type LoyaltyNextTier as aS, type LoyaltyProgram as aT, type LoyaltyQuery as aU, type LoyaltyReferralResult as aV, type LoyaltySummary as aW, type LoyaltyTier as aX, type LoyaltyTierPerks as aY, type LoyaltyTransaction as aZ, type Menu as a_, type CourseAttachment as aa, type CourseCertificate as ab, type CourseComment as ac, type CourseCommentReply as ad, type CourseCommentsList as ae, type CourseDetail as af, type CourseLesson as ag, type CourseListItem as ah, type CourseModule as ai, type CoursePostedComment as aj, type CourseProgress as ak, type CourseTutorMessage as al, type CourseTutorThread as am, type CrossSellItem as an, type CurrencyDisplayFormat as ao, type CustomerAddress as ap, type CustomerBadge as aq, type CustomerChallenge as ar, type CustomerGamification as as, type CustomerGamificationQuery as at, type CustomerProfile as au, type DigitalDownload as av, type DownloadUrl as aw, type Facet as ax, type FacetAvailability as ay, type FacetCategory as az, type StorefrontFormFieldError as b, type
|
|
4623
|
+
export { type CartSummaryEvent as $, type ActivePromotion as A, BehioStorefront as B, type CookieConsent as C, type BookingCreateInput as D, type BookingCreated as E, type BookingLocale as F, type BookingLocation as G, type BookingManageSlotsQuery as H, type BookingService as I, type BookingSlot as J, type BookingSlots as K, type BookingSlotsQuery as L, type BookingStaff as M, type BookingStatus as N, type Bundle as O, type ProductDetail as P, type BundleCatalogQuery as Q, type BundleItem as R, type SdkResult as S, type Cart as T, type CartBundleLine as U, type CartBundleLineItem as V, type CartDiscount as W, type CartItem as X, type CartItemProduct as Y, type CartLinkClaimed as Z, type CartPromotion as _, type ProductVariant as a, type MenuItem as a$, type Category as a0, type CategoryDetail as a1, type CertificateVerification as a2, type CheckoutAddress as a3, type CheckoutInput as a4, type CheckoutPaymentMethod as a5, type CheckoutPreview as a6, type CheckoutResult as a7, type CheckoutSettings as a8, type CookieConsentInput as a9, type FacetLabel as aA, type FacetPriceRange as aB, type FacetRange as aC, type FacetRatingBucket as aD, type FacetValue as aE, type FacetsResponse as aF, type FilterField as aG, type FulfillmentStatus as aH, FulfillmentStatuses as aI, type GamificationRefreshResult as aJ, type GiftCardBalance as aK, type GiftCardPurchaseInput as aL, type GiftCardPurchaseResult as aM, type GiftCardSummary as aN, type LessonNote as aO, type LessonQuiz as aP, type LoginInput as aQ, type LoyaltyBalance as aR, type LoyaltyNextTier as aS, type LoyaltyProgram as aT, type LoyaltyQuery as aU, type LoyaltyReferralResult as aV, type LoyaltySummary as aW, type LoyaltyTier as aX, type LoyaltyTierPerks as aY, type LoyaltyTransaction as aZ, type Menu as a_, type CourseAttachment as aa, type CourseCertificate as ab, type CourseComment as ac, type CourseCommentReply as ad, type CourseCommentsList as ae, type CourseDetail as af, type CourseLesson as ag, type CourseListItem as ah, type CourseModule as ai, type CoursePostedComment as aj, type CourseProgress as ak, type CourseTutorMessage as al, type CourseTutorThread as am, type CrossSellItem as an, type CurrencyDisplayFormat as ao, type CustomerAddress as ap, type CustomerBadge as aq, type CustomerChallenge as ar, type CustomerGamification as as, type CustomerGamificationQuery as at, type CustomerProfile as au, type DigitalDownload as av, type DownloadUrl as aw, type Facet as ax, type FacetAvailability as ay, type FacetCategory as az, type StorefrontFormFieldError as b, type RequestInterceptorConfig as b$, type MenuItemRef as b0, type MenuItemType as b1, type MessageResponse as b2, type NewsletterOptInDefault as b3, type NewsletterSubscribeInput as b4, type NewsletterSubscribeResult as b5, type NewsletterUnsubscribeResult as b6, type OrderAccessRequestResponse as b7, type OrderAccessVerifyResponse as b8, type OrderDetail as b9, 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 RequestInterceptor as b_, type OrderDiscount as ba, type OrderDocument as bb, type OrderItem as bc, type OrderListItem as bd, type OrderPaymentInstructions as be, type OrderPickupPoint as bf, type OrderShipment as bg, type OrderStatus as bh, type OrderStatusHistory as bi, OrderStatuses as bj, type OrderTracking as bk, type Page as bl, type PageAttachment as bm, type PageDetail as bn, type PaginatedResponse as bo, type PaymentInstrument as bp, type PaymentStatus as bq, PaymentStatuses as br, type PaymentSwift as bs, type PickupPoint as bt, type PickupPointHours as bu, type PickupPointsInput as bv, type PickupWidgetConfig as bw, type PriceDisplay as bx, type ProductAssetGroup as by, type ProductAssetItem as bz, type AddToCartInput as c, clearCartSummary as c$, type ResponseInterceptor as c0, type ResponseInterceptorData as c1, type ReturnRequest as c2, type ReturnRequestItem as c3, type ReturnStatus as c4, type ReturnStatusItem as c5, type ReturnableOrder as c6, type ReturnableOrderItem as c7, type SdkError as c8, type ShippingMethodSummary as c9, type StorefrontFaqGroups as cA, type StorefrontFaqItem as cB, type StorefrontFaqQuery as cC, type StorefrontForm as cD, type StorefrontFormFieldErrorCode as cE, type StorefrontFormFile as cF, type StorefrontFormSettings as cG, type StorefrontFormSubmitInput as cH, type StorefrontFormSubmitResult as cI, type StorefrontFormUpload as cJ, type SubmitQuoteInput as cK, type SubmitReturnInput as cL, type SubmitReviewInput as cM, type SubmitWithdrawalInput as cN, type Subscription as cO, type SubscriptionAction as cP, type SubscriptionFrequency as cQ, type SubscriptionItem as cR, type SubscriptionStatus as cS, type TaxBreakdownLine as cT, type VariantAxis as cU, type VariantAxisValue as cV, type WishlistItem as cW, type WithdrawalAcknowledgement as cX, type WithdrawalFlag as cY, type WithdrawalSettings as cZ, type WithdrawalWindow as c_, type ShippingPublicConfig as ca, type ShippingQuote as cb, type ShippingQuoteInput as cc, type ShopAppearance as cd, type ShopCommerce as ce, type ShopInfo as cf, type ShopScript as cg, type ShopScriptPlacement as ch, type ShopScriptType as ci, type ShopScripts as cj, type ShopSeo as ck, type ShopSeoIdentity as cl, type SiteFormField as cm, type SiteFormFieldOption as cn, type SiteFormFieldType as co, type Sitemap as cp, type SitemapEntry as cq, type StockBehavior as cr, type StockMode as cs, type StorefrontCollection as ct, type StorefrontCollectionField as cu, type StorefrontCollectionFieldType as cv, type StorefrontCollectionItem as cw, type StorefrontCollectionQuery as cx, type StorefrontFaqGroup as cy, type StorefrontFaqGroupSummary as cz, type AddressDetail as d, err as d0, ok as d1, publishCartSummary as d2, toSdkError as d3, 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 Booking as x, type BookingCategory as y, type BookingConfig 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-
|
|
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 Booking, y as BookingCategory, z as BookingConfig, D as BookingCreateInput, E as BookingCreated, F as BookingLocale, G as BookingLocation, H as BookingManageSlotsQuery, I as BookingService, J as BookingSlot, K as BookingSlots, L as BookingSlotsQuery, M as BookingStaff, N as BookingStatus, O as Bundle, Q as BundleCatalogQuery, R as BundleItem, T as Cart, U as CartBundleLine, V as CartBundleLineItem, W as CartDiscount, X as CartItem, Y as CartItemProduct, Z as CartLinkClaimed, _ as CartPromotion, $ as CartSummaryEvent, a0 as Category, a1 as CategoryDetail, a2 as CertificateVerification, a3 as CheckoutAddress, a4 as CheckoutInput, a5 as CheckoutPaymentMethod, a6 as CheckoutPreview, a7 as CheckoutResult, a8 as CheckoutSettings, a9 as CookieConsentInput, aa as CourseAttachment, ab as CourseCertificate, ac as CourseComment, ad as CourseCommentReply, ae as CourseCommentsList, af as CourseDetail, ag as CourseLesson, ah as CourseListItem, ai as CourseModule, aj as CoursePostedComment, ak as CourseProgress, al as CourseTutorMessage, am as CourseTutorThread, an as CrossSellItem, ao as CurrencyDisplayFormat, ap as CustomerAddress, aq as CustomerBadge, ar as CustomerChallenge, as as CustomerGamification, at as CustomerGamificationQuery, au as CustomerProfile, av as DigitalDownload, aw as DownloadUrl, ax as Facet, ay as FacetAvailability, az as FacetCategory, aA as FacetLabel, aB as FacetPriceRange, aC as FacetRange, aD as FacetRatingBucket, aE as FacetValue, aF as FacetsResponse, aG as FilterField, aH as FulfillmentStatus, aI as FulfillmentStatuses, aJ as GamificationRefreshResult, aK as GiftCardBalance, aL as GiftCardPurchaseInput, aM as GiftCardPurchaseResult, aN as GiftCardSummary, aO as LessonNote, aP as LessonQuiz, aQ as LoginInput, aR as LoyaltyBalance, aS as LoyaltyNextTier, aT as LoyaltyProgram, aU as LoyaltyQuery, aV as LoyaltyReferralResult, aW as LoyaltySummary, aX as LoyaltyTier, aY as LoyaltyTierPerks, aZ as LoyaltyTransaction, a_ as Menu, a$ as MenuItem, b0 as MenuItemRef, b1 as MenuItemType, b2 as MessageResponse, b3 as NewsletterOptInDefault, b4 as NewsletterSubscribeInput, b5 as NewsletterSubscribeResult, b6 as NewsletterUnsubscribeResult, b7 as OrderAccessRequestResponse, b8 as OrderAccessVerifyResponse, b9 as OrderDetail, ba as OrderDiscount, bb as
|
|
1
|
+
import { P as ProductDetail, a as ProductVariant, B as BehioStorefront, S as SdkResult, C as CookieConsent, b as StorefrontFormFieldError } from './client-BuL50_BZ.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 Booking, y as BookingCategory, z as BookingConfig, D as BookingCreateInput, E as BookingCreated, F as BookingLocale, G as BookingLocation, H as BookingManageSlotsQuery, I as BookingService, J as BookingSlot, K as BookingSlots, L as BookingSlotsQuery, M as BookingStaff, N as BookingStatus, O as Bundle, Q as BundleCatalogQuery, R as BundleItem, T as Cart, U as CartBundleLine, V as CartBundleLineItem, W as CartDiscount, X as CartItem, Y as CartItemProduct, Z as CartLinkClaimed, _ as CartPromotion, $ as CartSummaryEvent, a0 as Category, a1 as CategoryDetail, a2 as CertificateVerification, a3 as CheckoutAddress, a4 as CheckoutInput, a5 as CheckoutPaymentMethod, a6 as CheckoutPreview, a7 as CheckoutResult, a8 as CheckoutSettings, a9 as CookieConsentInput, aa as CourseAttachment, ab as CourseCertificate, ac as CourseComment, ad as CourseCommentReply, ae as CourseCommentsList, af as CourseDetail, ag as CourseLesson, ah as CourseListItem, ai as CourseModule, aj as CoursePostedComment, ak as CourseProgress, al as CourseTutorMessage, am as CourseTutorThread, an as CrossSellItem, ao as CurrencyDisplayFormat, ap as CustomerAddress, aq as CustomerBadge, ar as CustomerChallenge, as as CustomerGamification, at as CustomerGamificationQuery, au as CustomerProfile, av as DigitalDownload, aw as DownloadUrl, ax as Facet, ay as FacetAvailability, az as FacetCategory, aA as FacetLabel, aB as FacetPriceRange, aC as FacetRange, aD as FacetRatingBucket, aE as FacetValue, aF as FacetsResponse, aG as FilterField, aH as FulfillmentStatus, aI as FulfillmentStatuses, aJ as GamificationRefreshResult, aK as GiftCardBalance, aL as GiftCardPurchaseInput, aM as GiftCardPurchaseResult, aN as GiftCardSummary, aO as LessonNote, aP as LessonQuiz, aQ as LoginInput, aR as LoyaltyBalance, aS as LoyaltyNextTier, aT as LoyaltyProgram, aU as LoyaltyQuery, aV as LoyaltyReferralResult, aW as LoyaltySummary, aX as LoyaltyTier, aY as LoyaltyTierPerks, aZ as LoyaltyTransaction, a_ as Menu, a$ as MenuItem, b0 as MenuItemRef, b1 as MenuItemType, b2 as MessageResponse, b3 as NewsletterOptInDefault, b4 as NewsletterSubscribeInput, b5 as NewsletterSubscribeResult, b6 as NewsletterUnsubscribeResult, b7 as OrderAccessRequestResponse, b8 as OrderAccessVerifyResponse, b9 as OrderDetail, ba as OrderDiscount, bb as OrderDocument, bc as OrderItem, bd as OrderListItem, be as OrderPaymentInstructions, bf as OrderPickupPoint, bg as OrderShipment, bh as OrderStatus, bi as OrderStatusHistory, bj as OrderStatuses, bk as OrderTracking, bl as Page, bm as PageAttachment, bn as PageDetail, bo as PaginatedResponse, bp as PaymentInstrument, bq as PaymentStatus, br as PaymentStatuses, bs as PaymentSwift, bt as PickupPoint, bu as PickupPointHours, bv as PickupPointsInput, bw as PickupWidgetConfig, bx as PriceDisplay, by as ProductAssetGroup, bz 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, b_ as RequestInterceptor, b$ as RequestInterceptorConfig, c0 as ResponseInterceptor, c1 as ResponseInterceptorData, c2 as ReturnRequest, c3 as ReturnRequestItem, c4 as ReturnStatus, c5 as ReturnStatusItem, c6 as ReturnableOrder, c7 as ReturnableOrderItem, c8 as SdkError, c9 as ShippingMethodSummary, ca as ShippingPublicConfig, cb as ShippingQuote, cc as ShippingQuoteInput, cd as ShopAppearance, ce as ShopCommerce, cf as ShopInfo, cg as ShopScript, ch as ShopScriptPlacement, ci as ShopScriptType, cj as ShopScripts, ck as ShopSeo, cl as ShopSeoIdentity, cm as SiteFormField, cn as SiteFormFieldOption, co as SiteFormFieldType, cp as Sitemap, cq as SitemapEntry, cr as StockBehavior, cs as StockMode, ct as StorefrontCollection, cu as StorefrontCollectionField, cv as StorefrontCollectionFieldType, cw as StorefrontCollectionItem, cx as StorefrontCollectionQuery, cy as StorefrontFaqGroup, cz as StorefrontFaqGroupSummary, cA as StorefrontFaqGroups, cB as StorefrontFaqItem, cC as StorefrontFaqQuery, cD as StorefrontForm, cE as StorefrontFormFieldErrorCode, cF as StorefrontFormFile, cG as StorefrontFormSettings, cH as StorefrontFormSubmitInput, cI as StorefrontFormSubmitResult, cJ as StorefrontFormUpload, cK as SubmitQuoteInput, cL as SubmitReturnInput, cM as SubmitReviewInput, cN as SubmitWithdrawalInput, cO as Subscription, cP as SubscriptionAction, cQ as SubscriptionFrequency, cR as SubscriptionItem, cS as SubscriptionStatus, cT as TaxBreakdownLine, cU as VariantAxis, cV as VariantAxisValue, cW as WishlistItem, cX as WithdrawalAcknowledgement, cY as WithdrawalFlag, cZ as WithdrawalSettings, c_ as WithdrawalWindow, c$ as clearCartSummary, d0 as err, d1 as ok, d2 as publishCartSummary, d3 as toSdkError } from './client-BuL50_BZ.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-
|
|
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 Booking, y as BookingCategory, z as BookingConfig, D as BookingCreateInput, E as BookingCreated, F as BookingLocale, G as BookingLocation, H as BookingManageSlotsQuery, I as BookingService, J as BookingSlot, K as BookingSlots, L as BookingSlotsQuery, M as BookingStaff, N as BookingStatus, O as Bundle, Q as BundleCatalogQuery, R as BundleItem, T as Cart, U as CartBundleLine, V as CartBundleLineItem, W as CartDiscount, X as CartItem, Y as CartItemProduct, Z as CartLinkClaimed, _ as CartPromotion, $ as CartSummaryEvent, a0 as Category, a1 as CategoryDetail, a2 as CertificateVerification, a3 as CheckoutAddress, a4 as CheckoutInput, a5 as CheckoutPaymentMethod, a6 as CheckoutPreview, a7 as CheckoutResult, a8 as CheckoutSettings, a9 as CookieConsentInput, aa as CourseAttachment, ab as CourseCertificate, ac as CourseComment, ad as CourseCommentReply, ae as CourseCommentsList, af as CourseDetail, ag as CourseLesson, ah as CourseListItem, ai as CourseModule, aj as CoursePostedComment, ak as CourseProgress, al as CourseTutorMessage, am as CourseTutorThread, an as CrossSellItem, ao as CurrencyDisplayFormat, ap as CustomerAddress, aq as CustomerBadge, ar as CustomerChallenge, as as CustomerGamification, at as CustomerGamificationQuery, au as CustomerProfile, av as DigitalDownload, aw as DownloadUrl, ax as Facet, ay as FacetAvailability, az as FacetCategory, aA as FacetLabel, aB as FacetPriceRange, aC as FacetRange, aD as FacetRatingBucket, aE as FacetValue, aF as FacetsResponse, aG as FilterField, aH as FulfillmentStatus, aI as FulfillmentStatuses, aJ as GamificationRefreshResult, aK as GiftCardBalance, aL as GiftCardPurchaseInput, aM as GiftCardPurchaseResult, aN as GiftCardSummary, aO as LessonNote, aP as LessonQuiz, aQ as LoginInput, aR as LoyaltyBalance, aS as LoyaltyNextTier, aT as LoyaltyProgram, aU as LoyaltyQuery, aV as LoyaltyReferralResult, aW as LoyaltySummary, aX as LoyaltyTier, aY as LoyaltyTierPerks, aZ as LoyaltyTransaction, a_ as Menu, a$ as MenuItem, b0 as MenuItemRef, b1 as MenuItemType, b2 as MessageResponse, b3 as NewsletterOptInDefault, b4 as NewsletterSubscribeInput, b5 as NewsletterSubscribeResult, b6 as NewsletterUnsubscribeResult, b7 as OrderAccessRequestResponse, b8 as OrderAccessVerifyResponse, b9 as OrderDetail, ba as OrderDiscount, bb as
|
|
1
|
+
import { P as ProductDetail, a as ProductVariant, B as BehioStorefront, S as SdkResult, C as CookieConsent, b as StorefrontFormFieldError } from './client-BuL50_BZ.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 Booking, y as BookingCategory, z as BookingConfig, D as BookingCreateInput, E as BookingCreated, F as BookingLocale, G as BookingLocation, H as BookingManageSlotsQuery, I as BookingService, J as BookingSlot, K as BookingSlots, L as BookingSlotsQuery, M as BookingStaff, N as BookingStatus, O as Bundle, Q as BundleCatalogQuery, R as BundleItem, T as Cart, U as CartBundleLine, V as CartBundleLineItem, W as CartDiscount, X as CartItem, Y as CartItemProduct, Z as CartLinkClaimed, _ as CartPromotion, $ as CartSummaryEvent, a0 as Category, a1 as CategoryDetail, a2 as CertificateVerification, a3 as CheckoutAddress, a4 as CheckoutInput, a5 as CheckoutPaymentMethod, a6 as CheckoutPreview, a7 as CheckoutResult, a8 as CheckoutSettings, a9 as CookieConsentInput, aa as CourseAttachment, ab as CourseCertificate, ac as CourseComment, ad as CourseCommentReply, ae as CourseCommentsList, af as CourseDetail, ag as CourseLesson, ah as CourseListItem, ai as CourseModule, aj as CoursePostedComment, ak as CourseProgress, al as CourseTutorMessage, am as CourseTutorThread, an as CrossSellItem, ao as CurrencyDisplayFormat, ap as CustomerAddress, aq as CustomerBadge, ar as CustomerChallenge, as as CustomerGamification, at as CustomerGamificationQuery, au as CustomerProfile, av as DigitalDownload, aw as DownloadUrl, ax as Facet, ay as FacetAvailability, az as FacetCategory, aA as FacetLabel, aB as FacetPriceRange, aC as FacetRange, aD as FacetRatingBucket, aE as FacetValue, aF as FacetsResponse, aG as FilterField, aH as FulfillmentStatus, aI as FulfillmentStatuses, aJ as GamificationRefreshResult, aK as GiftCardBalance, aL as GiftCardPurchaseInput, aM as GiftCardPurchaseResult, aN as GiftCardSummary, aO as LessonNote, aP as LessonQuiz, aQ as LoginInput, aR as LoyaltyBalance, aS as LoyaltyNextTier, aT as LoyaltyProgram, aU as LoyaltyQuery, aV as LoyaltyReferralResult, aW as LoyaltySummary, aX as LoyaltyTier, aY as LoyaltyTierPerks, aZ as LoyaltyTransaction, a_ as Menu, a$ as MenuItem, b0 as MenuItemRef, b1 as MenuItemType, b2 as MessageResponse, b3 as NewsletterOptInDefault, b4 as NewsletterSubscribeInput, b5 as NewsletterSubscribeResult, b6 as NewsletterUnsubscribeResult, b7 as OrderAccessRequestResponse, b8 as OrderAccessVerifyResponse, b9 as OrderDetail, ba as OrderDiscount, bb as OrderDocument, bc as OrderItem, bd as OrderListItem, be as OrderPaymentInstructions, bf as OrderPickupPoint, bg as OrderShipment, bh as OrderStatus, bi as OrderStatusHistory, bj as OrderStatuses, bk as OrderTracking, bl as Page, bm as PageAttachment, bn as PageDetail, bo as PaginatedResponse, bp as PaymentInstrument, bq as PaymentStatus, br as PaymentStatuses, bs as PaymentSwift, bt as PickupPoint, bu as PickupPointHours, bv as PickupPointsInput, bw as PickupWidgetConfig, bx as PriceDisplay, by as ProductAssetGroup, bz 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, b_ as RequestInterceptor, b$ as RequestInterceptorConfig, c0 as ResponseInterceptor, c1 as ResponseInterceptorData, c2 as ReturnRequest, c3 as ReturnRequestItem, c4 as ReturnStatus, c5 as ReturnStatusItem, c6 as ReturnableOrder, c7 as ReturnableOrderItem, c8 as SdkError, c9 as ShippingMethodSummary, ca as ShippingPublicConfig, cb as ShippingQuote, cc as ShippingQuoteInput, cd as ShopAppearance, ce as ShopCommerce, cf as ShopInfo, cg as ShopScript, ch as ShopScriptPlacement, ci as ShopScriptType, cj as ShopScripts, ck as ShopSeo, cl as ShopSeoIdentity, cm as SiteFormField, cn as SiteFormFieldOption, co as SiteFormFieldType, cp as Sitemap, cq as SitemapEntry, cr as StockBehavior, cs as StockMode, ct as StorefrontCollection, cu as StorefrontCollectionField, cv as StorefrontCollectionFieldType, cw as StorefrontCollectionItem, cx as StorefrontCollectionQuery, cy as StorefrontFaqGroup, cz as StorefrontFaqGroupSummary, cA as StorefrontFaqGroups, cB as StorefrontFaqItem, cC as StorefrontFaqQuery, cD as StorefrontForm, cE as StorefrontFormFieldErrorCode, cF as StorefrontFormFile, cG as StorefrontFormSettings, cH as StorefrontFormSubmitInput, cI as StorefrontFormSubmitResult, cJ as StorefrontFormUpload, cK as SubmitQuoteInput, cL as SubmitReturnInput, cM as SubmitReviewInput, cN as SubmitWithdrawalInput, cO as Subscription, cP as SubscriptionAction, cQ as SubscriptionFrequency, cR as SubscriptionItem, cS as SubscriptionStatus, cT as TaxBreakdownLine, cU as VariantAxis, cV as VariantAxisValue, cW as WishlistItem, cX as WithdrawalAcknowledgement, cY as WithdrawalFlag, cZ as WithdrawalSettings, c_ as WithdrawalWindow, c$ as clearCartSummary, d0 as err, d1 as ok, d2 as publishCartSummary, d3 as toSdkError } from './client-BuL50_BZ.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Format a price amount with currency using Intl.NumberFormat.
|
package/dist/index.js
CHANGED
|
@@ -470,6 +470,7 @@ var ERROR_MESSAGES = {
|
|
|
470
470
|
"be.storefront.returnItemsRequired": "Vratka mus\xED obsahovat alespo\u0148 jednu polo\u017Eku.",
|
|
471
471
|
"be.storefront.returnRequestNotFound": "\u017D\xE1dost o vr\xE1cen\xED nenalezena.",
|
|
472
472
|
"be.storefront.reviewNotFound": "Recenze nenalezena.",
|
|
473
|
+
"be.storefront.reviewVerifiedPurchaseRequired": "Tuto akci mohou prov\xE9st jen ov\u011B\u0159en\xED kupuj\xEDc\xED tohoto produktu.",
|
|
473
474
|
"be.storefront.saleEnded": "Prodej produktu {name} skon\u010Dil.",
|
|
474
475
|
"be.storefront.saleNotStarted": "Prodej produktu {name} je\u0161t\u011B neza\u010Dal.",
|
|
475
476
|
"be.storefront.shippingAddressRequired": "Fyzick\xE9 produkty vy\u017Eaduj\xED doru\u010Dovac\xED adresu.",
|
|
@@ -756,6 +757,7 @@ var ERROR_MESSAGES = {
|
|
|
756
757
|
"be.storefront.returnItemsRequired": "Vratka mus\xED obsahova\u0165 aspo\u0148 jednu polo\u017Eku.",
|
|
757
758
|
"be.storefront.returnRequestNotFound": "\u017Diados\u0165 o vr\xE1tenie sa nena\u0161la.",
|
|
758
759
|
"be.storefront.reviewNotFound": "Recenzia sa nena\u0161la.",
|
|
760
|
+
"be.storefront.reviewVerifiedPurchaseRequired": "T\xFAto akciu m\xF4\u017Eu vykona\u0165 len overen\xED kupuj\xFAci tohto produktu.",
|
|
759
761
|
"be.storefront.saleEnded": "Predaj produktu {name} sa skon\u010Dil.",
|
|
760
762
|
"be.storefront.saleNotStarted": "Predaj produktu {name} sa e\u0161te neza\u010Dal.",
|
|
761
763
|
"be.storefront.shippingAddressRequired": "Fyzick\xE9 produkty vy\u017Eaduj\xFA doru\u010Dovaciu adresu.",
|
|
@@ -1042,6 +1044,7 @@ var ERROR_MESSAGES = {
|
|
|
1042
1044
|
"be.storefront.returnItemsRequired": "At least one item is required for a return request",
|
|
1043
1045
|
"be.storefront.returnRequestNotFound": "Return request not found",
|
|
1044
1046
|
"be.storefront.reviewNotFound": "Review not found",
|
|
1047
|
+
"be.storefront.reviewVerifiedPurchaseRequired": "Only verified purchasers of this product can perform this action.",
|
|
1045
1048
|
"be.storefront.saleEnded": "Sale for {name} has ended",
|
|
1046
1049
|
"be.storefront.saleNotStarted": "Sale for {name} has not started yet",
|
|
1047
1050
|
"be.storefront.shippingAddressRequired": "Physical products require a delivery address.",
|
package/dist/index.mjs
CHANGED
|
@@ -470,6 +470,7 @@ var ERROR_MESSAGES = {
|
|
|
470
470
|
"be.storefront.returnItemsRequired": "Vratka mus\xED obsahovat alespo\u0148 jednu polo\u017Eku.",
|
|
471
471
|
"be.storefront.returnRequestNotFound": "\u017D\xE1dost o vr\xE1cen\xED nenalezena.",
|
|
472
472
|
"be.storefront.reviewNotFound": "Recenze nenalezena.",
|
|
473
|
+
"be.storefront.reviewVerifiedPurchaseRequired": "Tuto akci mohou prov\xE9st jen ov\u011B\u0159en\xED kupuj\xEDc\xED tohoto produktu.",
|
|
473
474
|
"be.storefront.saleEnded": "Prodej produktu {name} skon\u010Dil.",
|
|
474
475
|
"be.storefront.saleNotStarted": "Prodej produktu {name} je\u0161t\u011B neza\u010Dal.",
|
|
475
476
|
"be.storefront.shippingAddressRequired": "Fyzick\xE9 produkty vy\u017Eaduj\xED doru\u010Dovac\xED adresu.",
|
|
@@ -756,6 +757,7 @@ var ERROR_MESSAGES = {
|
|
|
756
757
|
"be.storefront.returnItemsRequired": "Vratka mus\xED obsahova\u0165 aspo\u0148 jednu polo\u017Eku.",
|
|
757
758
|
"be.storefront.returnRequestNotFound": "\u017Diados\u0165 o vr\xE1tenie sa nena\u0161la.",
|
|
758
759
|
"be.storefront.reviewNotFound": "Recenzia sa nena\u0161la.",
|
|
760
|
+
"be.storefront.reviewVerifiedPurchaseRequired": "T\xFAto akciu m\xF4\u017Eu vykona\u0165 len overen\xED kupuj\xFAci tohto produktu.",
|
|
759
761
|
"be.storefront.saleEnded": "Predaj produktu {name} sa skon\u010Dil.",
|
|
760
762
|
"be.storefront.saleNotStarted": "Predaj produktu {name} sa e\u0161te neza\u010Dal.",
|
|
761
763
|
"be.storefront.shippingAddressRequired": "Fyzick\xE9 produkty vy\u017Eaduj\xFA doru\u010Dovaciu adresu.",
|
|
@@ -1042,6 +1044,7 @@ var ERROR_MESSAGES = {
|
|
|
1042
1044
|
"be.storefront.returnItemsRequired": "At least one item is required for a return request",
|
|
1043
1045
|
"be.storefront.returnRequestNotFound": "Return request not found",
|
|
1044
1046
|
"be.storefront.reviewNotFound": "Review not found",
|
|
1047
|
+
"be.storefront.reviewVerifiedPurchaseRequired": "Only verified purchasers of this product can perform this action.",
|
|
1045
1048
|
"be.storefront.saleEnded": "Sale for {name} has ended",
|
|
1046
1049
|
"be.storefront.saleNotStarted": "Sale for {name} has not started yet",
|
|
1047
1050
|
"be.storefront.shippingAddressRequired": "Physical products require a delivery address.",
|
package/dist/next.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as BehioStorefrontConfig, B as BehioStorefront } from './client-
|
|
1
|
+
import { p as BehioStorefrontConfig, B as BehioStorefront } from './client-BuL50_BZ.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-
|
|
1
|
+
import { p as BehioStorefrontConfig, B as BehioStorefront } from './client-BuL50_BZ.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
|
@@ -1857,7 +1857,22 @@ interface OrderPaymentInstructions {
|
|
|
1857
1857
|
currency: string;
|
|
1858
1858
|
instructions: string | null;
|
|
1859
1859
|
}
|
|
1860
|
+
/** Issued document visible only to the authorized order owner. Its page offers a PDF download. */
|
|
1861
|
+
interface OrderDocument {
|
|
1862
|
+
id: string;
|
|
1863
|
+
number: string;
|
|
1864
|
+
type: "INVOICE" | "PROFORMA" | "RECEIPT" | "CREDIT_NOTE";
|
|
1865
|
+
currency: string;
|
|
1866
|
+
totalAmount: number;
|
|
1867
|
+
/** Actual invoice ledger amounts, independent of the order payment status. */
|
|
1868
|
+
paidAmount: number;
|
|
1869
|
+
remainingAmount: number;
|
|
1870
|
+
/** Capability URL: do not expose in public tracking, analytics or logs. */
|
|
1871
|
+
url: string;
|
|
1872
|
+
}
|
|
1860
1873
|
interface OrderDetail extends OrderListItem {
|
|
1874
|
+
/** Issued invoices/proformas/receipts/credit notes. Drafts and revoked links are excluded. */
|
|
1875
|
+
documents?: OrderDocument[];
|
|
1861
1876
|
/** Payment is recorded; access delivery will retry automatically. Do not place a duplicate order. */
|
|
1862
1877
|
contentDeliveryPending?: boolean;
|
|
1863
1878
|
/** False for an order without physical delivery. */
|
|
@@ -3126,6 +3141,12 @@ interface ProductReviewsResponse {
|
|
|
3126
3141
|
limit: number;
|
|
3127
3142
|
averageRating: number;
|
|
3128
3143
|
reviewCount: number;
|
|
3144
|
+
/** Available on backends with purchaser-only review moderation. */
|
|
3145
|
+
submission?: {
|
|
3146
|
+
requiresVerifiedPurchase: boolean;
|
|
3147
|
+
canSubmit: boolean;
|
|
3148
|
+
reason: "LOGIN_REQUIRED" | "PURCHASE_REQUIRED" | "ALREADY_REVIEWED" | null;
|
|
3149
|
+
};
|
|
3129
3150
|
}
|
|
3130
3151
|
/** Returned by `catalog.notifyWhenAvailable()` — back-in-stock subscription. */
|
|
3131
3152
|
interface BackInStockSubscription {
|
|
@@ -6024,6 +6045,7 @@ declare function useProductReviews(productId: string | undefined, options?: {
|
|
|
6024
6045
|
limit?: number;
|
|
6025
6046
|
enabled?: boolean;
|
|
6026
6047
|
initialData?: ProductReviewsResponse;
|
|
6048
|
+
scope?: string;
|
|
6027
6049
|
}): _tanstack_react_query.UseQueryResult<NoInfer<ProductReviewsResponse>, Error>;
|
|
6028
6050
|
declare function useSubmitReview(): _tanstack_react_query.UseMutationResult<{
|
|
6029
6051
|
id: string;
|
package/dist/react.d.ts
CHANGED
|
@@ -1857,7 +1857,22 @@ interface OrderPaymentInstructions {
|
|
|
1857
1857
|
currency: string;
|
|
1858
1858
|
instructions: string | null;
|
|
1859
1859
|
}
|
|
1860
|
+
/** Issued document visible only to the authorized order owner. Its page offers a PDF download. */
|
|
1861
|
+
interface OrderDocument {
|
|
1862
|
+
id: string;
|
|
1863
|
+
number: string;
|
|
1864
|
+
type: "INVOICE" | "PROFORMA" | "RECEIPT" | "CREDIT_NOTE";
|
|
1865
|
+
currency: string;
|
|
1866
|
+
totalAmount: number;
|
|
1867
|
+
/** Actual invoice ledger amounts, independent of the order payment status. */
|
|
1868
|
+
paidAmount: number;
|
|
1869
|
+
remainingAmount: number;
|
|
1870
|
+
/** Capability URL: do not expose in public tracking, analytics or logs. */
|
|
1871
|
+
url: string;
|
|
1872
|
+
}
|
|
1860
1873
|
interface OrderDetail extends OrderListItem {
|
|
1874
|
+
/** Issued invoices/proformas/receipts/credit notes. Drafts and revoked links are excluded. */
|
|
1875
|
+
documents?: OrderDocument[];
|
|
1861
1876
|
/** Payment is recorded; access delivery will retry automatically. Do not place a duplicate order. */
|
|
1862
1877
|
contentDeliveryPending?: boolean;
|
|
1863
1878
|
/** False for an order without physical delivery. */
|
|
@@ -3126,6 +3141,12 @@ interface ProductReviewsResponse {
|
|
|
3126
3141
|
limit: number;
|
|
3127
3142
|
averageRating: number;
|
|
3128
3143
|
reviewCount: number;
|
|
3144
|
+
/** Available on backends with purchaser-only review moderation. */
|
|
3145
|
+
submission?: {
|
|
3146
|
+
requiresVerifiedPurchase: boolean;
|
|
3147
|
+
canSubmit: boolean;
|
|
3148
|
+
reason: "LOGIN_REQUIRED" | "PURCHASE_REQUIRED" | "ALREADY_REVIEWED" | null;
|
|
3149
|
+
};
|
|
3129
3150
|
}
|
|
3130
3151
|
/** Returned by `catalog.notifyWhenAvailable()` — back-in-stock subscription. */
|
|
3131
3152
|
interface BackInStockSubscription {
|
|
@@ -6024,6 +6045,7 @@ declare function useProductReviews(productId: string | undefined, options?: {
|
|
|
6024
6045
|
limit?: number;
|
|
6025
6046
|
enabled?: boolean;
|
|
6026
6047
|
initialData?: ProductReviewsResponse;
|
|
6048
|
+
scope?: string;
|
|
6027
6049
|
}): _tanstack_react_query.UseQueryResult<NoInfer<ProductReviewsResponse>, Error>;
|
|
6028
6050
|
declare function useSubmitReview(): _tanstack_react_query.UseMutationResult<{
|
|
6029
6051
|
id: string;
|
package/dist/react.js
CHANGED
|
@@ -4995,7 +4995,7 @@ var import_react_query51 = require("@tanstack/react-query");
|
|
|
4995
4995
|
function useProductReviews(productId, options) {
|
|
4996
4996
|
const { client } = useBehio();
|
|
4997
4997
|
return (0, import_react_query51.useQuery)({
|
|
4998
|
-
queryKey: ["behio", "reviews", productId, options?.page ?? 1, options?.limit ?? 20],
|
|
4998
|
+
queryKey: ["behio", "reviews", productId, options?.page ?? 1, options?.limit ?? 20, ...options?.scope ? [options.scope] : []],
|
|
4999
4999
|
queryFn: () => unwrap(client.reviews.getProductReviews(productId, options?.page, options?.limit)),
|
|
5000
5000
|
initialData: options?.initialData,
|
|
5001
5001
|
staleTime: 3e4,
|
package/dist/react.mjs
CHANGED
|
@@ -4872,7 +4872,7 @@ import { useQuery as useQuery45, useMutation as useMutation19, useQueryClient as
|
|
|
4872
4872
|
function useProductReviews(productId, options) {
|
|
4873
4873
|
const { client } = useBehio();
|
|
4874
4874
|
return useQuery45({
|
|
4875
|
-
queryKey: ["behio", "reviews", productId, options?.page ?? 1, options?.limit ?? 20],
|
|
4875
|
+
queryKey: ["behio", "reviews", productId, options?.page ?? 1, options?.limit ?? 20, ...options?.scope ? [options.scope] : []],
|
|
4876
4876
|
queryFn: () => unwrap(client.reviews.getProductReviews(productId, options?.page, options?.limit)),
|
|
4877
4877
|
initialData: options?.initialData,
|
|
4878
4878
|
staleTime: 3e4,
|