@behio/storefront-sdk 1.18.0 → 1.19.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.
@@ -1127,6 +1127,18 @@ interface RegisterInput {
1127
1127
  password: string;
1128
1128
  firstName?: string;
1129
1129
  lastName?: string;
1130
+ /** B2B sign-up: company name. */
1131
+ company?: string;
1132
+ /** Company registration number. */
1133
+ companyId?: string;
1134
+ /**
1135
+ * VAT ID. EU numbers are verified in VIES on the server; a confirmed one
1136
+ * creates a default billing address and can auto-join the merchant's
1137
+ * "EU companies" customer group.
1138
+ */
1139
+ vatId?: string;
1140
+ /** ISO-2 country of the company (VIES fallback when `vatId` has no prefix). */
1141
+ country?: string;
1130
1142
  }
1131
1143
  interface LoginInput {
1132
1144
  email: string;
@@ -1127,6 +1127,18 @@ interface RegisterInput {
1127
1127
  password: string;
1128
1128
  firstName?: string;
1129
1129
  lastName?: string;
1130
+ /** B2B sign-up: company name. */
1131
+ company?: string;
1132
+ /** Company registration number. */
1133
+ companyId?: string;
1134
+ /**
1135
+ * VAT ID. EU numbers are verified in VIES on the server; a confirmed one
1136
+ * creates a default billing address and can auto-join the merchant's
1137
+ * "EU companies" customer group.
1138
+ */
1139
+ vatId?: string;
1140
+ /** ISO-2 country of the company (VIES fallback when `vatId` has no prefix). */
1141
+ country?: string;
1130
1142
  }
1131
1143
  interface LoginInput {
1132
1144
  email: string;
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-B29GktSJ.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 BundleItem, z as Cart, D as CartBundleLine, E as CartBundleLineItem, F as CartDiscount, G as CartItem, H as CartItemProduct, I as CartPromotion, J as Category, K as CategoryDetail, L as CertificateVerification, M as CheckoutAddress, N as CheckoutInput, O as CheckoutPaymentMethod, Q as CheckoutSettings, R as CookieConsentInput, T as CourseAttachment, U as CourseCertificate, V as CourseComment, W as CourseCommentReply, X as CourseCommentsList, Y as CourseDetail, Z as CourseLesson, _ as CourseListItem, $ as CourseModule, a0 as CoursePostedComment, a1 as CourseProgress, a2 as CourseTutorMessage, a3 as CourseTutorThread, a4 as CrossSellItem, a5 as CustomerAddress, a6 as CustomerProfile, a7 as DigitalDownload, a8 as DownloadUrl, a9 as Facet, aa as FacetAvailability, ab as FacetCategory, ac as FacetLabel, ad as FacetPriceRange, ae as FacetRange, af as FacetRatingBucket, ag as FacetValue, ah as FacetsResponse, ai as FilterField, aj as FulfillmentStatus, ak as FulfillmentStatuses, al as GiftCardBalance, am as GiftCardPurchaseInput, an as GiftCardPurchaseResult, ao as GiftCardSummary, ap as LessonNote, aq as LessonQuiz, ar as LoginInput, as as LoyaltyBalance, at as LoyaltyNextTier, au as LoyaltyProgram, av as LoyaltySummary, aw as LoyaltyTier, ax as LoyaltyTierPerks, ay as LoyaltyTransaction, az as Menu, aA as MenuItem, aB as MenuItemRef, aC as MenuItemType, aD as MessageResponse, aE as NewsletterOptInDefault, aF as NewsletterSubscribeInput, aG as NewsletterSubscribeResult, aH as NewsletterUnsubscribeResult, aI as OrderAccessRequestResponse, aJ as OrderAccessVerifyResponse, aK as OrderDetail, aL as OrderItem, aM as OrderListItem, aN as OrderStatus, aO as OrderStatusHistory, aP as OrderStatuses, aQ as OrderTracking, aR as Page, aS as PageAttachment, aT as PageDetail, aU as PaginatedResponse, aV as PaymentInstrument, aW as PaymentStatus, aX as PaymentStatuses, aY as PaymentSwift, aZ as PickupPoint, a_ as PickupPointHours, a$ as PickupPointsInput, b0 as PickupWidgetConfig, b1 as PriceDisplay, b2 as ProductAssetGroup, b3 as ProductAssetItem, b4 as ProductAvailability, b5 as ProductGroup, b6 as ProductLabel, b7 as ProductListItem, b8 as ProductMedia, b9 as ProductMediaVariant, ba as ProductParameter, bb as ProductParameterGroup, bc as ProductParametersResponse, bd as ProductPrice, be as ProductPromotionSummary, bf as ProductReview, bg as ProductReviewsResponse, bh as ProductSibling, bi as ProductSort, bj as ProductSortValue, bk as ProductVolumePrice, bl as ProductsQuery, bm as QuizAnswerInput, bn as QuizAnswerResult, bo as QuizQuestion, bp as QuizResult, bq as QuoteItem, br as QuoteRequest, bs as RegisterInput, bt as RegisterResult, bu as RequestInterceptor, bv as RequestInterceptorConfig, bw as ResponseInterceptor, bx as ResponseInterceptorData, by as ReturnRequest, bz as ReturnRequestItem, bA as ReturnStatus, bB as ReturnStatusItem, bC as ReturnableOrder, bD as ReturnableOrderItem, bE as SdkError, bF as ShippingMethodSummary, bG as ShippingQuote, bH as ShippingQuoteInput, bI as ShopInfo, bJ as ShopScript, bK as ShopScriptPlacement, bL as ShopScriptType, bM as ShopScripts, bN as ShopSeo, bO as ShopSeoIdentity, bP as SiteFormField, bQ as SiteFormFieldOption, bR as SiteFormFieldType, bS as Sitemap, bT as SitemapEntry, bU as StockBehavior, bV as StockMode, bW as StorefrontForm, bX as StorefrontFormFieldErrorCode, bY as StorefrontFormSettings, bZ as StorefrontFormSubmitInput, b_ as StorefrontFormSubmitResult, b$ as SubmitQuoteInput, c0 as SubmitReturnInput, c1 as SubmitReviewInput, c2 as Subscription, c3 as SubscriptionAction, c4 as SubscriptionFrequency, c5 as SubscriptionItem, c6 as SubscriptionStatus, c7 as TaxBreakdownLine, c8 as VariantAxis, c9 as VariantAxisValue, ca as WishlistItem, cb as err, cc as ok, cd as toSdkError } from './client-B29GktSJ.mjs';
1
+ import { P as ProductDetail, a as ProductVariant, B as BehioStorefront, S as SdkResult, C as CookieConsent, b as StorefrontFormFieldError } from './client-DhW5x2Zr.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 BundleItem, z as Cart, D as CartBundleLine, E as CartBundleLineItem, F as CartDiscount, G as CartItem, H as CartItemProduct, I as CartPromotion, J as Category, K as CategoryDetail, L as CertificateVerification, M as CheckoutAddress, N as CheckoutInput, O as CheckoutPaymentMethod, Q as CheckoutSettings, R as CookieConsentInput, T as CourseAttachment, U as CourseCertificate, V as CourseComment, W as CourseCommentReply, X as CourseCommentsList, Y as CourseDetail, Z as CourseLesson, _ as CourseListItem, $ as CourseModule, a0 as CoursePostedComment, a1 as CourseProgress, a2 as CourseTutorMessage, a3 as CourseTutorThread, a4 as CrossSellItem, a5 as CustomerAddress, a6 as CustomerProfile, a7 as DigitalDownload, a8 as DownloadUrl, a9 as Facet, aa as FacetAvailability, ab as FacetCategory, ac as FacetLabel, ad as FacetPriceRange, ae as FacetRange, af as FacetRatingBucket, ag as FacetValue, ah as FacetsResponse, ai as FilterField, aj as FulfillmentStatus, ak as FulfillmentStatuses, al as GiftCardBalance, am as GiftCardPurchaseInput, an as GiftCardPurchaseResult, ao as GiftCardSummary, ap as LessonNote, aq as LessonQuiz, ar as LoginInput, as as LoyaltyBalance, at as LoyaltyNextTier, au as LoyaltyProgram, av as LoyaltySummary, aw as LoyaltyTier, ax as LoyaltyTierPerks, ay as LoyaltyTransaction, az as Menu, aA as MenuItem, aB as MenuItemRef, aC as MenuItemType, aD as MessageResponse, aE as NewsletterOptInDefault, aF as NewsletterSubscribeInput, aG as NewsletterSubscribeResult, aH as NewsletterUnsubscribeResult, aI as OrderAccessRequestResponse, aJ as OrderAccessVerifyResponse, aK as OrderDetail, aL as OrderItem, aM as OrderListItem, aN as OrderStatus, aO as OrderStatusHistory, aP as OrderStatuses, aQ as OrderTracking, aR as Page, aS as PageAttachment, aT as PageDetail, aU as PaginatedResponse, aV as PaymentInstrument, aW as PaymentStatus, aX as PaymentStatuses, aY as PaymentSwift, aZ as PickupPoint, a_ as PickupPointHours, a$ as PickupPointsInput, b0 as PickupWidgetConfig, b1 as PriceDisplay, b2 as ProductAssetGroup, b3 as ProductAssetItem, b4 as ProductAvailability, b5 as ProductGroup, b6 as ProductLabel, b7 as ProductListItem, b8 as ProductMedia, b9 as ProductMediaVariant, ba as ProductParameter, bb as ProductParameterGroup, bc as ProductParametersResponse, bd as ProductPrice, be as ProductPromotionSummary, bf as ProductReview, bg as ProductReviewsResponse, bh as ProductSibling, bi as ProductSort, bj as ProductSortValue, bk as ProductVolumePrice, bl as ProductsQuery, bm as QuizAnswerInput, bn as QuizAnswerResult, bo as QuizQuestion, bp as QuizResult, bq as QuoteItem, br as QuoteRequest, bs as RegisterInput, bt as RegisterResult, bu as RequestInterceptor, bv as RequestInterceptorConfig, bw as ResponseInterceptor, bx as ResponseInterceptorData, by as ReturnRequest, bz as ReturnRequestItem, bA as ReturnStatus, bB as ReturnStatusItem, bC as ReturnableOrder, bD as ReturnableOrderItem, bE as SdkError, bF as ShippingMethodSummary, bG as ShippingQuote, bH as ShippingQuoteInput, bI as ShopInfo, bJ as ShopScript, bK as ShopScriptPlacement, bL as ShopScriptType, bM as ShopScripts, bN as ShopSeo, bO as ShopSeoIdentity, bP as SiteFormField, bQ as SiteFormFieldOption, bR as SiteFormFieldType, bS as Sitemap, bT as SitemapEntry, bU as StockBehavior, bV as StockMode, bW as StorefrontForm, bX as StorefrontFormFieldErrorCode, bY as StorefrontFormSettings, bZ as StorefrontFormSubmitInput, b_ as StorefrontFormSubmitResult, b$ as SubmitQuoteInput, c0 as SubmitReturnInput, c1 as SubmitReviewInput, c2 as Subscription, c3 as SubscriptionAction, c4 as SubscriptionFrequency, c5 as SubscriptionItem, c6 as SubscriptionStatus, c7 as TaxBreakdownLine, c8 as VariantAxis, c9 as VariantAxisValue, ca as WishlistItem, cb as err, cc as ok, cd as toSdkError } from './client-DhW5x2Zr.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-B29GktSJ.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 BundleItem, z as Cart, D as CartBundleLine, E as CartBundleLineItem, F as CartDiscount, G as CartItem, H as CartItemProduct, I as CartPromotion, J as Category, K as CategoryDetail, L as CertificateVerification, M as CheckoutAddress, N as CheckoutInput, O as CheckoutPaymentMethod, Q as CheckoutSettings, R as CookieConsentInput, T as CourseAttachment, U as CourseCertificate, V as CourseComment, W as CourseCommentReply, X as CourseCommentsList, Y as CourseDetail, Z as CourseLesson, _ as CourseListItem, $ as CourseModule, a0 as CoursePostedComment, a1 as CourseProgress, a2 as CourseTutorMessage, a3 as CourseTutorThread, a4 as CrossSellItem, a5 as CustomerAddress, a6 as CustomerProfile, a7 as DigitalDownload, a8 as DownloadUrl, a9 as Facet, aa as FacetAvailability, ab as FacetCategory, ac as FacetLabel, ad as FacetPriceRange, ae as FacetRange, af as FacetRatingBucket, ag as FacetValue, ah as FacetsResponse, ai as FilterField, aj as FulfillmentStatus, ak as FulfillmentStatuses, al as GiftCardBalance, am as GiftCardPurchaseInput, an as GiftCardPurchaseResult, ao as GiftCardSummary, ap as LessonNote, aq as LessonQuiz, ar as LoginInput, as as LoyaltyBalance, at as LoyaltyNextTier, au as LoyaltyProgram, av as LoyaltySummary, aw as LoyaltyTier, ax as LoyaltyTierPerks, ay as LoyaltyTransaction, az as Menu, aA as MenuItem, aB as MenuItemRef, aC as MenuItemType, aD as MessageResponse, aE as NewsletterOptInDefault, aF as NewsletterSubscribeInput, aG as NewsletterSubscribeResult, aH as NewsletterUnsubscribeResult, aI as OrderAccessRequestResponse, aJ as OrderAccessVerifyResponse, aK as OrderDetail, aL as OrderItem, aM as OrderListItem, aN as OrderStatus, aO as OrderStatusHistory, aP as OrderStatuses, aQ as OrderTracking, aR as Page, aS as PageAttachment, aT as PageDetail, aU as PaginatedResponse, aV as PaymentInstrument, aW as PaymentStatus, aX as PaymentStatuses, aY as PaymentSwift, aZ as PickupPoint, a_ as PickupPointHours, a$ as PickupPointsInput, b0 as PickupWidgetConfig, b1 as PriceDisplay, b2 as ProductAssetGroup, b3 as ProductAssetItem, b4 as ProductAvailability, b5 as ProductGroup, b6 as ProductLabel, b7 as ProductListItem, b8 as ProductMedia, b9 as ProductMediaVariant, ba as ProductParameter, bb as ProductParameterGroup, bc as ProductParametersResponse, bd as ProductPrice, be as ProductPromotionSummary, bf as ProductReview, bg as ProductReviewsResponse, bh as ProductSibling, bi as ProductSort, bj as ProductSortValue, bk as ProductVolumePrice, bl as ProductsQuery, bm as QuizAnswerInput, bn as QuizAnswerResult, bo as QuizQuestion, bp as QuizResult, bq as QuoteItem, br as QuoteRequest, bs as RegisterInput, bt as RegisterResult, bu as RequestInterceptor, bv as RequestInterceptorConfig, bw as ResponseInterceptor, bx as ResponseInterceptorData, by as ReturnRequest, bz as ReturnRequestItem, bA as ReturnStatus, bB as ReturnStatusItem, bC as ReturnableOrder, bD as ReturnableOrderItem, bE as SdkError, bF as ShippingMethodSummary, bG as ShippingQuote, bH as ShippingQuoteInput, bI as ShopInfo, bJ as ShopScript, bK as ShopScriptPlacement, bL as ShopScriptType, bM as ShopScripts, bN as ShopSeo, bO as ShopSeoIdentity, bP as SiteFormField, bQ as SiteFormFieldOption, bR as SiteFormFieldType, bS as Sitemap, bT as SitemapEntry, bU as StockBehavior, bV as StockMode, bW as StorefrontForm, bX as StorefrontFormFieldErrorCode, bY as StorefrontFormSettings, bZ as StorefrontFormSubmitInput, b_ as StorefrontFormSubmitResult, b$ as SubmitQuoteInput, c0 as SubmitReturnInput, c1 as SubmitReviewInput, c2 as Subscription, c3 as SubscriptionAction, c4 as SubscriptionFrequency, c5 as SubscriptionItem, c6 as SubscriptionStatus, c7 as TaxBreakdownLine, c8 as VariantAxis, c9 as VariantAxisValue, ca as WishlistItem, cb as err, cc as ok, cd as toSdkError } from './client-B29GktSJ.js';
1
+ import { P as ProductDetail, a as ProductVariant, B as BehioStorefront, S as SdkResult, C as CookieConsent, b as StorefrontFormFieldError } from './client-DhW5x2Zr.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 BundleItem, z as Cart, D as CartBundleLine, E as CartBundleLineItem, F as CartDiscount, G as CartItem, H as CartItemProduct, I as CartPromotion, J as Category, K as CategoryDetail, L as CertificateVerification, M as CheckoutAddress, N as CheckoutInput, O as CheckoutPaymentMethod, Q as CheckoutSettings, R as CookieConsentInput, T as CourseAttachment, U as CourseCertificate, V as CourseComment, W as CourseCommentReply, X as CourseCommentsList, Y as CourseDetail, Z as CourseLesson, _ as CourseListItem, $ as CourseModule, a0 as CoursePostedComment, a1 as CourseProgress, a2 as CourseTutorMessage, a3 as CourseTutorThread, a4 as CrossSellItem, a5 as CustomerAddress, a6 as CustomerProfile, a7 as DigitalDownload, a8 as DownloadUrl, a9 as Facet, aa as FacetAvailability, ab as FacetCategory, ac as FacetLabel, ad as FacetPriceRange, ae as FacetRange, af as FacetRatingBucket, ag as FacetValue, ah as FacetsResponse, ai as FilterField, aj as FulfillmentStatus, ak as FulfillmentStatuses, al as GiftCardBalance, am as GiftCardPurchaseInput, an as GiftCardPurchaseResult, ao as GiftCardSummary, ap as LessonNote, aq as LessonQuiz, ar as LoginInput, as as LoyaltyBalance, at as LoyaltyNextTier, au as LoyaltyProgram, av as LoyaltySummary, aw as LoyaltyTier, ax as LoyaltyTierPerks, ay as LoyaltyTransaction, az as Menu, aA as MenuItem, aB as MenuItemRef, aC as MenuItemType, aD as MessageResponse, aE as NewsletterOptInDefault, aF as NewsletterSubscribeInput, aG as NewsletterSubscribeResult, aH as NewsletterUnsubscribeResult, aI as OrderAccessRequestResponse, aJ as OrderAccessVerifyResponse, aK as OrderDetail, aL as OrderItem, aM as OrderListItem, aN as OrderStatus, aO as OrderStatusHistory, aP as OrderStatuses, aQ as OrderTracking, aR as Page, aS as PageAttachment, aT as PageDetail, aU as PaginatedResponse, aV as PaymentInstrument, aW as PaymentStatus, aX as PaymentStatuses, aY as PaymentSwift, aZ as PickupPoint, a_ as PickupPointHours, a$ as PickupPointsInput, b0 as PickupWidgetConfig, b1 as PriceDisplay, b2 as ProductAssetGroup, b3 as ProductAssetItem, b4 as ProductAvailability, b5 as ProductGroup, b6 as ProductLabel, b7 as ProductListItem, b8 as ProductMedia, b9 as ProductMediaVariant, ba as ProductParameter, bb as ProductParameterGroup, bc as ProductParametersResponse, bd as ProductPrice, be as ProductPromotionSummary, bf as ProductReview, bg as ProductReviewsResponse, bh as ProductSibling, bi as ProductSort, bj as ProductSortValue, bk as ProductVolumePrice, bl as ProductsQuery, bm as QuizAnswerInput, bn as QuizAnswerResult, bo as QuizQuestion, bp as QuizResult, bq as QuoteItem, br as QuoteRequest, bs as RegisterInput, bt as RegisterResult, bu as RequestInterceptor, bv as RequestInterceptorConfig, bw as ResponseInterceptor, bx as ResponseInterceptorData, by as ReturnRequest, bz as ReturnRequestItem, bA as ReturnStatus, bB as ReturnStatusItem, bC as ReturnableOrder, bD as ReturnableOrderItem, bE as SdkError, bF as ShippingMethodSummary, bG as ShippingQuote, bH as ShippingQuoteInput, bI as ShopInfo, bJ as ShopScript, bK as ShopScriptPlacement, bL as ShopScriptType, bM as ShopScripts, bN as ShopSeo, bO as ShopSeoIdentity, bP as SiteFormField, bQ as SiteFormFieldOption, bR as SiteFormFieldType, bS as Sitemap, bT as SitemapEntry, bU as StockBehavior, bV as StockMode, bW as StorefrontForm, bX as StorefrontFormFieldErrorCode, bY as StorefrontFormSettings, bZ as StorefrontFormSubmitInput, b_ as StorefrontFormSubmitResult, b$ as SubmitQuoteInput, c0 as SubmitReturnInput, c1 as SubmitReviewInput, c2 as Subscription, c3 as SubscriptionAction, c4 as SubscriptionFrequency, c5 as SubscriptionItem, c6 as SubscriptionStatus, c7 as TaxBreakdownLine, c8 as VariantAxis, c9 as VariantAxisValue, ca as WishlistItem, cb as err, cc as ok, cd as toSdkError } from './client-DhW5x2Zr.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-B29GktSJ.mjs';
1
+ import { p as BehioStorefrontConfig, B as BehioStorefront } from './client-DhW5x2Zr.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-B29GktSJ.js';
1
+ import { p as BehioStorefrontConfig, B as BehioStorefront } from './client-DhW5x2Zr.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
@@ -1183,6 +1183,18 @@ interface RegisterInput {
1183
1183
  password: string;
1184
1184
  firstName?: string;
1185
1185
  lastName?: string;
1186
+ /** B2B sign-up: company name. */
1187
+ company?: string;
1188
+ /** Company registration number. */
1189
+ companyId?: string;
1190
+ /**
1191
+ * VAT ID. EU numbers are verified in VIES on the server; a confirmed one
1192
+ * creates a default billing address and can auto-join the merchant's
1193
+ * "EU companies" customer group.
1194
+ */
1195
+ vatId?: string;
1196
+ /** ISO-2 country of the company (VIES fallback when `vatId` has no prefix). */
1197
+ country?: string;
1186
1198
  }
1187
1199
  interface LoginInput {
1188
1200
  email: string;
package/dist/react.d.ts CHANGED
@@ -1183,6 +1183,18 @@ interface RegisterInput {
1183
1183
  password: string;
1184
1184
  firstName?: string;
1185
1185
  lastName?: string;
1186
+ /** B2B sign-up: company name. */
1187
+ company?: string;
1188
+ /** Company registration number. */
1189
+ companyId?: string;
1190
+ /**
1191
+ * VAT ID. EU numbers are verified in VIES on the server; a confirmed one
1192
+ * creates a default billing address and can auto-join the merchant's
1193
+ * "EU companies" customer group.
1194
+ */
1195
+ vatId?: string;
1196
+ /** ISO-2 country of the company (VIES fallback when `vatId` has no prefix). */
1197
+ country?: string;
1186
1198
  }
1187
1199
  interface LoginInput {
1188
1200
  email: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@behio/storefront-sdk",
3
- "version": "1.18.0",
3
+ "version": "1.19.0",
4
4
  "description": "TypeScript SDK for Behio headless e-commerce: core client + React hooks",
5
5
  "author": "Behio",
6
6
  "license": "MIT",