@kasuvia/sdk 0.0.7 → 0.0.8

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.
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { c as CartResponse, b as CartItem, y as Product, G as SdkConfig, F as FindOrderParams, V as SupportedLang, p as Currency, t as ListParams, d as CmsEntry, n as CreateCmsEntryParams, Y as UpdateCmsEntryParams, L as ListCmsEntriesParams } from '../index-ac_Jx9NI.mjs';
2
+ import { d as CartResponse, c as CartItem, z as Product, H as SdkConfig, F as FindOrderParams, W as SupportedLang, q as Currency, u as ListParams, e as CmsEntry, o as CreateCmsEntryParams, Z as UpdateCmsEntryParams, L as ListCmsEntriesParams } from '../index-C5YO9gTl.mjs';
3
3
  import { C as Country, S as State } from '../index-C1chUA3P.mjs';
4
4
  import { UseQueryResult } from '@tanstack/react-query';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { c as CartResponse, b as CartItem, y as Product, G as SdkConfig, F as FindOrderParams, V as SupportedLang, p as Currency, t as ListParams, d as CmsEntry, n as CreateCmsEntryParams, Y as UpdateCmsEntryParams, L as ListCmsEntriesParams } from '../index-ac_Jx9NI.js';
2
+ import { d as CartResponse, c as CartItem, z as Product, H as SdkConfig, F as FindOrderParams, W as SupportedLang, q as Currency, u as ListParams, e as CmsEntry, o as CreateCmsEntryParams, Z as UpdateCmsEntryParams, L as ListCmsEntriesParams } from '../index-C5YO9gTl.js';
3
3
  import { C as Country, S as State } from '../index-C1chUA3P.js';
4
4
  import { UseQueryResult } from '@tanstack/react-query';
5
5
 
@@ -33,6 +33,21 @@ interface DeliveryAddress {
33
33
  country: string;
34
34
  postal: string;
35
35
  }
36
+ interface AddressValidationErrorData {
37
+ message: string;
38
+ errorType?: 'state' | 'city' | 'general';
39
+ cities?: Array<{
40
+ name: string;
41
+ city_id: string;
42
+ stateCode: string;
43
+ countryCode: string;
44
+ }>;
45
+ states?: Array<{
46
+ name: string;
47
+ code: string;
48
+ countryCode: string;
49
+ }>;
50
+ }
36
51
 
37
52
  type ProductType = "physical" | "digital" | "service" | "bespoke";
38
53
  declare enum ServiceTypeEnum {
@@ -489,4 +504,4 @@ interface UpdateCmsEntryParams {
489
504
  data: Record<string, any>;
490
505
  }
491
506
 
492
- export { type WishlistListResponse as $, type Address as A, type BackendLanguage as B, type CheckoutCustomer as C, type DeliveryAddress as D, type ProductVariant as E, type FindOrderParams as F, type SdkConfig as G, type ServiceLocationType as H, type Inventory as I, ServiceLocationTypeEnum as J, type ServiceRecurringInterval as K, type ListCmsEntriesParams as L, ServiceRecurringIntervalEnum as M, type ServiceType as N, type Order as O, type PaginatedResponse as P, ServiceTypeEnum as Q, type ShippingRate as R, type ShippingLocation as S, type ShippingRatesResponse as T, type SupportedCurrenciesResponse as U, type SupportedLang as V, type SupportedLanguagesResponse as W, type TransactionVerifyResponse as X, type UpdateCmsEntryParams as Y, type WishlistCheckResponse as Z, type WishlistItem as _, type BespokeStageKey as a, type CartItem as b, type CartResponse as c, type CmsEntry as d, type CmsEntryListResponse as e, type CmsField as f, type CmsIcon as g, type CmsIconListResponse as h, type CmsModel as i, type CmsModelPermissions as j, type CmsModelPublicApiPermissions as k, type Collection as l, type ConversionQuote as m, type CreateCmsEntryParams as n, type CreateOrderParams as o, type Currency as p, type CustomField as q, type DVACreateRequest as r, type DVADetails as s, type ListParams as t, type OrderItem as u, type OrderStatus as v, type PaymentInitiateRequest as w, type PaymentInitiateResponse as x, type Product as y, type ProductType as z };
507
+ export { type WishlistItem as $, type Address as A, type BackendLanguage as B, type CheckoutCustomer as C, type DeliveryAddress as D, type ProductType as E, type FindOrderParams as F, type ProductVariant as G, type SdkConfig as H, type Inventory as I, type ServiceLocationType as J, ServiceLocationTypeEnum as K, type ListCmsEntriesParams as L, type ServiceRecurringInterval as M, ServiceRecurringIntervalEnum as N, type Order as O, type PaginatedResponse as P, type ServiceType as Q, ServiceTypeEnum as R, type ShippingLocation as S, type ShippingRate as T, type ShippingRatesResponse as U, type SupportedCurrenciesResponse as V, type SupportedLang as W, type SupportedLanguagesResponse as X, type TransactionVerifyResponse as Y, type UpdateCmsEntryParams as Z, type WishlistCheckResponse as _, type AddressValidationErrorData as a, type WishlistListResponse as a0, type BespokeStageKey as b, type CartItem as c, type CartResponse as d, type CmsEntry as e, type CmsEntryListResponse as f, type CmsField as g, type CmsIcon as h, type CmsIconListResponse as i, type CmsModel as j, type CmsModelPermissions as k, type CmsModelPublicApiPermissions as l, type Collection as m, type ConversionQuote as n, type CreateCmsEntryParams as o, type CreateOrderParams as p, type Currency as q, type CustomField as r, type DVACreateRequest as s, type DVADetails as t, type ListParams as u, type OrderItem as v, type OrderStatus as w, type PaymentInitiateRequest as x, type PaymentInitiateResponse as y, type Product as z };
@@ -33,6 +33,21 @@ interface DeliveryAddress {
33
33
  country: string;
34
34
  postal: string;
35
35
  }
36
+ interface AddressValidationErrorData {
37
+ message: string;
38
+ errorType?: 'state' | 'city' | 'general';
39
+ cities?: Array<{
40
+ name: string;
41
+ city_id: string;
42
+ stateCode: string;
43
+ countryCode: string;
44
+ }>;
45
+ states?: Array<{
46
+ name: string;
47
+ code: string;
48
+ countryCode: string;
49
+ }>;
50
+ }
36
51
 
37
52
  type ProductType = "physical" | "digital" | "service" | "bespoke";
38
53
  declare enum ServiceTypeEnum {
@@ -489,4 +504,4 @@ interface UpdateCmsEntryParams {
489
504
  data: Record<string, any>;
490
505
  }
491
506
 
492
- export { type WishlistListResponse as $, type Address as A, type BackendLanguage as B, type CheckoutCustomer as C, type DeliveryAddress as D, type ProductVariant as E, type FindOrderParams as F, type SdkConfig as G, type ServiceLocationType as H, type Inventory as I, ServiceLocationTypeEnum as J, type ServiceRecurringInterval as K, type ListCmsEntriesParams as L, ServiceRecurringIntervalEnum as M, type ServiceType as N, type Order as O, type PaginatedResponse as P, ServiceTypeEnum as Q, type ShippingRate as R, type ShippingLocation as S, type ShippingRatesResponse as T, type SupportedCurrenciesResponse as U, type SupportedLang as V, type SupportedLanguagesResponse as W, type TransactionVerifyResponse as X, type UpdateCmsEntryParams as Y, type WishlistCheckResponse as Z, type WishlistItem as _, type BespokeStageKey as a, type CartItem as b, type CartResponse as c, type CmsEntry as d, type CmsEntryListResponse as e, type CmsField as f, type CmsIcon as g, type CmsIconListResponse as h, type CmsModel as i, type CmsModelPermissions as j, type CmsModelPublicApiPermissions as k, type Collection as l, type ConversionQuote as m, type CreateCmsEntryParams as n, type CreateOrderParams as o, type Currency as p, type CustomField as q, type DVACreateRequest as r, type DVADetails as s, type ListParams as t, type OrderItem as u, type OrderStatus as v, type PaymentInitiateRequest as w, type PaymentInitiateResponse as x, type Product as y, type ProductType as z };
507
+ export { type WishlistItem as $, type Address as A, type BackendLanguage as B, type CheckoutCustomer as C, type DeliveryAddress as D, type ProductType as E, type FindOrderParams as F, type ProductVariant as G, type SdkConfig as H, type Inventory as I, type ServiceLocationType as J, ServiceLocationTypeEnum as K, type ListCmsEntriesParams as L, type ServiceRecurringInterval as M, ServiceRecurringIntervalEnum as N, type Order as O, type PaginatedResponse as P, type ServiceType as Q, ServiceTypeEnum as R, type ShippingLocation as S, type ShippingRate as T, type ShippingRatesResponse as U, type SupportedCurrenciesResponse as V, type SupportedLang as W, type SupportedLanguagesResponse as X, type TransactionVerifyResponse as Y, type UpdateCmsEntryParams as Z, type WishlistCheckResponse as _, type AddressValidationErrorData as a, type WishlistListResponse as a0, type BespokeStageKey as b, type CartItem as c, type CartResponse as d, type CmsEntry as e, type CmsEntryListResponse as f, type CmsField as g, type CmsIcon as h, type CmsIconListResponse as i, type CmsModel as j, type CmsModelPermissions as k, type CmsModelPublicApiPermissions as l, type Collection as m, type ConversionQuote as n, type CreateCmsEntryParams as o, type CreateOrderParams as p, type Currency as q, type CustomField as r, type DVACreateRequest as s, type DVADetails as t, type ListParams as u, type OrderItem as v, type OrderStatus as w, type PaymentInitiateRequest as x, type PaymentInitiateResponse as y, type Product as z };
@@ -1,4 +1,4 @@
1
- import { H as ServiceLocationType, G as SdkConfig, c as CartResponse, b as CartItem, O as Order, o as CreateOrderParams, F as FindOrderParams, t as ListParams, P as PaginatedResponse, y as Product, l as Collection, _ as WishlistItem, Z as WishlistCheckResponse, $ as WishlistListResponse, r as DVACreateRequest, s as DVADetails, X as TransactionVerifyResponse, w as PaymentInitiateRequest, x as PaymentInitiateResponse, m as ConversionQuote, E as ProductVariant, T as ShippingRatesResponse, W as SupportedLanguagesResponse, U as SupportedCurrenciesResponse, n as CreateCmsEntryParams, d as CmsEntry, L as ListCmsEntriesParams, e as CmsEntryListResponse, Y as UpdateCmsEntryParams } from './index-ac_Jx9NI.js';
1
+ import { J as ServiceLocationType, H as SdkConfig, d as CartResponse, c as CartItem, O as Order, p as CreateOrderParams, F as FindOrderParams, u as ListParams, P as PaginatedResponse, z as Product, m as Collection, $ as WishlistItem, _ as WishlistCheckResponse, a0 as WishlistListResponse, s as DVACreateRequest, t as DVADetails, Y as TransactionVerifyResponse, x as PaymentInitiateRequest, y as PaymentInitiateResponse, n as ConversionQuote, G as ProductVariant, U as ShippingRatesResponse, X as SupportedLanguagesResponse, V as SupportedCurrenciesResponse, o as CreateCmsEntryParams, e as CmsEntry, L as ListCmsEntriesParams, f as CmsEntryListResponse, Z as UpdateCmsEntryParams } from './index-C5YO9gTl.mjs';
2
2
 
3
3
  /**
4
4
  * Simplified customer auth types for kasuvia-storefront.
@@ -625,12 +625,19 @@ declare function validateShippingAddress(config: SdkConfig, payload: {
625
625
  }): Promise<{
626
626
  valid: boolean;
627
627
  message?: string;
628
- data?: Array<{
628
+ errorType?: 'state' | 'city' | 'general';
629
+ data?: unknown;
630
+ cities?: Array<{
629
631
  name: string;
630
632
  city_id: string;
631
633
  stateCode: string;
632
634
  countryCode: string;
633
635
  }>;
636
+ states?: Array<{
637
+ name: string;
638
+ code: string;
639
+ countryCode: string;
640
+ }>;
634
641
  }>;
635
642
  declare const logisticsService: {
636
643
  getShippingRates: typeof getShippingRates;
@@ -1,4 +1,4 @@
1
- import { H as ServiceLocationType, G as SdkConfig, c as CartResponse, b as CartItem, O as Order, o as CreateOrderParams, F as FindOrderParams, t as ListParams, P as PaginatedResponse, y as Product, l as Collection, _ as WishlistItem, Z as WishlistCheckResponse, $ as WishlistListResponse, r as DVACreateRequest, s as DVADetails, X as TransactionVerifyResponse, w as PaymentInitiateRequest, x as PaymentInitiateResponse, m as ConversionQuote, E as ProductVariant, T as ShippingRatesResponse, W as SupportedLanguagesResponse, U as SupportedCurrenciesResponse, n as CreateCmsEntryParams, d as CmsEntry, L as ListCmsEntriesParams, e as CmsEntryListResponse, Y as UpdateCmsEntryParams } from './index-ac_Jx9NI.mjs';
1
+ import { J as ServiceLocationType, H as SdkConfig, d as CartResponse, c as CartItem, O as Order, p as CreateOrderParams, F as FindOrderParams, u as ListParams, P as PaginatedResponse, z as Product, m as Collection, $ as WishlistItem, _ as WishlistCheckResponse, a0 as WishlistListResponse, s as DVACreateRequest, t as DVADetails, Y as TransactionVerifyResponse, x as PaymentInitiateRequest, y as PaymentInitiateResponse, n as ConversionQuote, G as ProductVariant, U as ShippingRatesResponse, X as SupportedLanguagesResponse, V as SupportedCurrenciesResponse, o as CreateCmsEntryParams, e as CmsEntry, L as ListCmsEntriesParams, f as CmsEntryListResponse, Z as UpdateCmsEntryParams } from './index-C5YO9gTl.js';
2
2
 
3
3
  /**
4
4
  * Simplified customer auth types for kasuvia-storefront.
@@ -625,12 +625,19 @@ declare function validateShippingAddress(config: SdkConfig, payload: {
625
625
  }): Promise<{
626
626
  valid: boolean;
627
627
  message?: string;
628
- data?: Array<{
628
+ errorType?: 'state' | 'city' | 'general';
629
+ data?: unknown;
630
+ cities?: Array<{
629
631
  name: string;
630
632
  city_id: string;
631
633
  stateCode: string;
632
634
  countryCode: string;
633
635
  }>;
636
+ states?: Array<{
637
+ name: string;
638
+ code: string;
639
+ countryCode: string;
640
+ }>;
634
641
  }>;
635
642
  declare const logisticsService: {
636
643
  getShippingRates: typeof getShippingRates;
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
- import { C as CheckoutCustomer, S as ShippingLocation, D as DeliveryAddress, O as Order } from './index-ac_Jx9NI.mjs';
2
- export { A as Address, B as BackendLanguage, a as BespokeStageKey, b as CartItem, c as CartResponse, d as CmsEntry, e as CmsEntryListResponse, f as CmsField, g as CmsIcon, h as CmsIconListResponse, i as CmsModel, j as CmsModelPermissions, k as CmsModelPublicApiPermissions, l as Collection, m as ConversionQuote, n as CreateCmsEntryParams, o as CreateOrderParams, p as Currency, q as CustomField, r as DVACreateRequest, s as DVADetails, F as FindOrderParams, I as Inventory, L as ListCmsEntriesParams, t as ListParams, u as OrderItem, v as OrderStatus, P as PaginatedResponse, w as PaymentInitiateRequest, x as PaymentInitiateResponse, y as Product, z as ProductType, E as ProductVariant, G as SdkConfig, H as ServiceLocationType, J as ServiceLocationTypeEnum, K as ServiceRecurringInterval, M as ServiceRecurringIntervalEnum, N as ServiceType, Q as ServiceTypeEnum, R as ShippingRate, T as ShippingRatesResponse, U as SupportedCurrenciesResponse, V as SupportedLang, W as SupportedLanguagesResponse, X as TransactionVerifyResponse, Y as UpdateCmsEntryParams, Z as WishlistCheckResponse, _ as WishlistItem, $ as WishlistListResponse } from './index-ac_Jx9NI.mjs';
3
- import { C as CustomerUser } from './index-D9ojrziq.mjs';
4
- export { A as AppointmentStatus, a as AuthContextValue, b as AuthUserResponse, c as AvailableSlot, d as AvatarObject, B as BespokeAvailability, e as BusinessConfig, f as BusinessContext, g as CartItemPayload, h as Consultation, i as ConsultationCreatePayload, j as ConsultationMessage, k as ConsultationMessagePayload, l as ConsultationProductType, m as ConsultationQuoteAcceptPayload, n as ConsultationStatus, o as ContactFormData, p as CustomerAuthResponse, q as CustomerLoginPayload, r as CustomerProfileFields, s as CustomerRegisterPayload, D as DeliverableApprovalPayload, t as DeliverableStatus, u as DeliverableStatusType, L as LogoutPayload, N as NotificationPreferences, O as OTPVerifyPayload, R as RateAddress, v as RefreshTokenResponse, w as ResendOTPPayload, S as ServiceAppointment, x as ServiceAppointmentCreatePayload, y as ServiceDeliverable, z as ShippingRatesRequest, U as UpdateProfilePayload, E as acceptQuote, F as addToCart, G as addToGuestCart, H as addToWishlist, I as approveDeliverable, J as bespokeService, K as bookAppointment, M as cancelAppointment, P as cancelOrder, Q as checkAvailability, T as checkInWishlist, V as clearCart, W as clearGuestCart, X as clearTokens, Y as configService, Z as consultationService, _ as createCmsEntry, $ as createConsultation, a0 as createDedicatedAccount, a1 as createOrder, a2 as deleteCmsEntry, a3 as findOrder, a4 as findOrderByToken, a5 as getAppointment, a6 as getAppointments, a7 as getAuthUser, a8 as getAvailableSlots, a9 as getBusinessConfig, aa as getCart, ab as getCmsEntry, ac as getConsultation, ad as getConsultations, ae as getDeliverables, af as getFeaturedProducts, ag as getGuestCart, ah as getGuestCartCount, ai as getGuestCartProductType, aj as getGuestCartSubtotal, ak as getLatestProducts, al as getLowStockProducts, am as getMe, an as getNewProducts, ao as getOnSaleProducts, ap as getOrders, aq as getPopularProducts, ar as getRecommendedProducts, as as getSellerShippingAddress, at as getShippingRates, au as getStoredTokens, av as getStorefrontCollectionBySlug, aw as getStorefrontCollections, ax as getStorefrontProductBySlug, ay as getStorefrontProducts, az as getSupportedCurrencies, aA as getSupportedLanguages, aB as getTransactionStatus, aC as getWishlist, aD as googleTranslate, aE as initiatePayment, aF as listCmsEntries, aG as loginCustomer, aH as logisticsService, aI as logout, aJ as mapAuthUserToCustomer, aK as mergeGuestCart, aL as mergeGuestCartIfPresent, aM as notificationsService, aN as paymentService, aO as refreshToken, aP as registerCustomer, aQ as rejectQuote, aR as removeFromCart, aS as removeFromGuestCart, aT as removeFromWishlist, aU as removeProductFromWishlist, aV as requestQuote, aW as requestRevision, aX as sendContactConfirmation, aY as sendContactEmail, aZ as sendMessage, a_ as serviceBookingService, a$ as silentRefresh, b0 as storeTokens, b1 as trackOrder, b2 as updateCartItem, b3 as updateCmsEntry, b4 as updateGuestCartItemQuantity, b5 as updateProfile, b6 as validateShippingAddress, b7 as verifySocialToken, b8 as verifyTransaction } from './index-D9ojrziq.mjs';
1
+ import { C as CheckoutCustomer, S as ShippingLocation, D as DeliveryAddress, O as Order } from './index-C5YO9gTl.mjs';
2
+ export { A as Address, a as AddressValidationErrorData, B as BackendLanguage, b as BespokeStageKey, c as CartItem, d as CartResponse, e as CmsEntry, f as CmsEntryListResponse, g as CmsField, h as CmsIcon, i as CmsIconListResponse, j as CmsModel, k as CmsModelPermissions, l as CmsModelPublicApiPermissions, m as Collection, n as ConversionQuote, o as CreateCmsEntryParams, p as CreateOrderParams, q as Currency, r as CustomField, s as DVACreateRequest, t as DVADetails, F as FindOrderParams, I as Inventory, L as ListCmsEntriesParams, u as ListParams, v as OrderItem, w as OrderStatus, P as PaginatedResponse, x as PaymentInitiateRequest, y as PaymentInitiateResponse, z as Product, E as ProductType, G as ProductVariant, H as SdkConfig, J as ServiceLocationType, K as ServiceLocationTypeEnum, M as ServiceRecurringInterval, N as ServiceRecurringIntervalEnum, Q as ServiceType, R as ServiceTypeEnum, T as ShippingRate, U as ShippingRatesResponse, V as SupportedCurrenciesResponse, W as SupportedLang, X as SupportedLanguagesResponse, Y as TransactionVerifyResponse, Z as UpdateCmsEntryParams, _ as WishlistCheckResponse, $ as WishlistItem, a0 as WishlistListResponse } from './index-C5YO9gTl.mjs';
3
+ import { C as CustomerUser } from './index-CefG7_xq.mjs';
4
+ export { A as AppointmentStatus, a as AuthContextValue, b as AuthUserResponse, c as AvailableSlot, d as AvatarObject, B as BespokeAvailability, e as BusinessConfig, f as BusinessContext, g as CartItemPayload, h as Consultation, i as ConsultationCreatePayload, j as ConsultationMessage, k as ConsultationMessagePayload, l as ConsultationProductType, m as ConsultationQuoteAcceptPayload, n as ConsultationStatus, o as ContactFormData, p as CustomerAuthResponse, q as CustomerLoginPayload, r as CustomerProfileFields, s as CustomerRegisterPayload, D as DeliverableApprovalPayload, t as DeliverableStatus, u as DeliverableStatusType, L as LogoutPayload, N as NotificationPreferences, O as OTPVerifyPayload, R as RateAddress, v as RefreshTokenResponse, w as ResendOTPPayload, S as ServiceAppointment, x as ServiceAppointmentCreatePayload, y as ServiceDeliverable, z as ShippingRatesRequest, U as UpdateProfilePayload, E as acceptQuote, F as addToCart, G as addToGuestCart, H as addToWishlist, I as approveDeliverable, J as bespokeService, K as bookAppointment, M as cancelAppointment, P as cancelOrder, Q as checkAvailability, T as checkInWishlist, V as clearCart, W as clearGuestCart, X as clearTokens, Y as configService, Z as consultationService, _ as createCmsEntry, $ as createConsultation, a0 as createDedicatedAccount, a1 as createOrder, a2 as deleteCmsEntry, a3 as findOrder, a4 as findOrderByToken, a5 as getAppointment, a6 as getAppointments, a7 as getAuthUser, a8 as getAvailableSlots, a9 as getBusinessConfig, aa as getCart, ab as getCmsEntry, ac as getConsultation, ad as getConsultations, ae as getDeliverables, af as getFeaturedProducts, ag as getGuestCart, ah as getGuestCartCount, ai as getGuestCartProductType, aj as getGuestCartSubtotal, ak as getLatestProducts, al as getLowStockProducts, am as getMe, an as getNewProducts, ao as getOnSaleProducts, ap as getOrders, aq as getPopularProducts, ar as getRecommendedProducts, as as getSellerShippingAddress, at as getShippingRates, au as getStoredTokens, av as getStorefrontCollectionBySlug, aw as getStorefrontCollections, ax as getStorefrontProductBySlug, ay as getStorefrontProducts, az as getSupportedCurrencies, aA as getSupportedLanguages, aB as getTransactionStatus, aC as getWishlist, aD as googleTranslate, aE as initiatePayment, aF as listCmsEntries, aG as loginCustomer, aH as logisticsService, aI as logout, aJ as mapAuthUserToCustomer, aK as mergeGuestCart, aL as mergeGuestCartIfPresent, aM as notificationsService, aN as paymentService, aO as refreshToken, aP as registerCustomer, aQ as rejectQuote, aR as removeFromCart, aS as removeFromGuestCart, aT as removeFromWishlist, aU as removeProductFromWishlist, aV as requestQuote, aW as requestRevision, aX as sendContactConfirmation, aY as sendContactEmail, aZ as sendMessage, a_ as serviceBookingService, a$ as silentRefresh, b0 as storeTokens, b1 as trackOrder, b2 as updateCartItem, b3 as updateCmsEntry, b4 as updateGuestCartItemQuantity, b5 as updateProfile, b6 as validateShippingAddress, b7 as verifySocialToken, b8 as verifyTransaction } from './index-CefG7_xq.mjs';
5
5
  export { A as AppContextValue, a as AppState, C as Country, L as LangCode, S as State, T as Theme } from './index-C1chUA3P.mjs';
6
6
 
7
7
  /**
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { C as CheckoutCustomer, S as ShippingLocation, D as DeliveryAddress, O as Order } from './index-ac_Jx9NI.js';
2
- export { A as Address, B as BackendLanguage, a as BespokeStageKey, b as CartItem, c as CartResponse, d as CmsEntry, e as CmsEntryListResponse, f as CmsField, g as CmsIcon, h as CmsIconListResponse, i as CmsModel, j as CmsModelPermissions, k as CmsModelPublicApiPermissions, l as Collection, m as ConversionQuote, n as CreateCmsEntryParams, o as CreateOrderParams, p as Currency, q as CustomField, r as DVACreateRequest, s as DVADetails, F as FindOrderParams, I as Inventory, L as ListCmsEntriesParams, t as ListParams, u as OrderItem, v as OrderStatus, P as PaginatedResponse, w as PaymentInitiateRequest, x as PaymentInitiateResponse, y as Product, z as ProductType, E as ProductVariant, G as SdkConfig, H as ServiceLocationType, J as ServiceLocationTypeEnum, K as ServiceRecurringInterval, M as ServiceRecurringIntervalEnum, N as ServiceType, Q as ServiceTypeEnum, R as ShippingRate, T as ShippingRatesResponse, U as SupportedCurrenciesResponse, V as SupportedLang, W as SupportedLanguagesResponse, X as TransactionVerifyResponse, Y as UpdateCmsEntryParams, Z as WishlistCheckResponse, _ as WishlistItem, $ as WishlistListResponse } from './index-ac_Jx9NI.js';
3
- import { C as CustomerUser } from './index-hgK4j47a.js';
4
- export { A as AppointmentStatus, a as AuthContextValue, b as AuthUserResponse, c as AvailableSlot, d as AvatarObject, B as BespokeAvailability, e as BusinessConfig, f as BusinessContext, g as CartItemPayload, h as Consultation, i as ConsultationCreatePayload, j as ConsultationMessage, k as ConsultationMessagePayload, l as ConsultationProductType, m as ConsultationQuoteAcceptPayload, n as ConsultationStatus, o as ContactFormData, p as CustomerAuthResponse, q as CustomerLoginPayload, r as CustomerProfileFields, s as CustomerRegisterPayload, D as DeliverableApprovalPayload, t as DeliverableStatus, u as DeliverableStatusType, L as LogoutPayload, N as NotificationPreferences, O as OTPVerifyPayload, R as RateAddress, v as RefreshTokenResponse, w as ResendOTPPayload, S as ServiceAppointment, x as ServiceAppointmentCreatePayload, y as ServiceDeliverable, z as ShippingRatesRequest, U as UpdateProfilePayload, E as acceptQuote, F as addToCart, G as addToGuestCart, H as addToWishlist, I as approveDeliverable, J as bespokeService, K as bookAppointment, M as cancelAppointment, P as cancelOrder, Q as checkAvailability, T as checkInWishlist, V as clearCart, W as clearGuestCart, X as clearTokens, Y as configService, Z as consultationService, _ as createCmsEntry, $ as createConsultation, a0 as createDedicatedAccount, a1 as createOrder, a2 as deleteCmsEntry, a3 as findOrder, a4 as findOrderByToken, a5 as getAppointment, a6 as getAppointments, a7 as getAuthUser, a8 as getAvailableSlots, a9 as getBusinessConfig, aa as getCart, ab as getCmsEntry, ac as getConsultation, ad as getConsultations, ae as getDeliverables, af as getFeaturedProducts, ag as getGuestCart, ah as getGuestCartCount, ai as getGuestCartProductType, aj as getGuestCartSubtotal, ak as getLatestProducts, al as getLowStockProducts, am as getMe, an as getNewProducts, ao as getOnSaleProducts, ap as getOrders, aq as getPopularProducts, ar as getRecommendedProducts, as as getSellerShippingAddress, at as getShippingRates, au as getStoredTokens, av as getStorefrontCollectionBySlug, aw as getStorefrontCollections, ax as getStorefrontProductBySlug, ay as getStorefrontProducts, az as getSupportedCurrencies, aA as getSupportedLanguages, aB as getTransactionStatus, aC as getWishlist, aD as googleTranslate, aE as initiatePayment, aF as listCmsEntries, aG as loginCustomer, aH as logisticsService, aI as logout, aJ as mapAuthUserToCustomer, aK as mergeGuestCart, aL as mergeGuestCartIfPresent, aM as notificationsService, aN as paymentService, aO as refreshToken, aP as registerCustomer, aQ as rejectQuote, aR as removeFromCart, aS as removeFromGuestCart, aT as removeFromWishlist, aU as removeProductFromWishlist, aV as requestQuote, aW as requestRevision, aX as sendContactConfirmation, aY as sendContactEmail, aZ as sendMessage, a_ as serviceBookingService, a$ as silentRefresh, b0 as storeTokens, b1 as trackOrder, b2 as updateCartItem, b3 as updateCmsEntry, b4 as updateGuestCartItemQuantity, b5 as updateProfile, b6 as validateShippingAddress, b7 as verifySocialToken, b8 as verifyTransaction } from './index-hgK4j47a.js';
1
+ import { C as CheckoutCustomer, S as ShippingLocation, D as DeliveryAddress, O as Order } from './index-C5YO9gTl.js';
2
+ export { A as Address, a as AddressValidationErrorData, B as BackendLanguage, b as BespokeStageKey, c as CartItem, d as CartResponse, e as CmsEntry, f as CmsEntryListResponse, g as CmsField, h as CmsIcon, i as CmsIconListResponse, j as CmsModel, k as CmsModelPermissions, l as CmsModelPublicApiPermissions, m as Collection, n as ConversionQuote, o as CreateCmsEntryParams, p as CreateOrderParams, q as Currency, r as CustomField, s as DVACreateRequest, t as DVADetails, F as FindOrderParams, I as Inventory, L as ListCmsEntriesParams, u as ListParams, v as OrderItem, w as OrderStatus, P as PaginatedResponse, x as PaymentInitiateRequest, y as PaymentInitiateResponse, z as Product, E as ProductType, G as ProductVariant, H as SdkConfig, J as ServiceLocationType, K as ServiceLocationTypeEnum, M as ServiceRecurringInterval, N as ServiceRecurringIntervalEnum, Q as ServiceType, R as ServiceTypeEnum, T as ShippingRate, U as ShippingRatesResponse, V as SupportedCurrenciesResponse, W as SupportedLang, X as SupportedLanguagesResponse, Y as TransactionVerifyResponse, Z as UpdateCmsEntryParams, _ as WishlistCheckResponse, $ as WishlistItem, a0 as WishlistListResponse } from './index-C5YO9gTl.js';
3
+ import { C as CustomerUser } from './index-DeHCf3zI.js';
4
+ export { A as AppointmentStatus, a as AuthContextValue, b as AuthUserResponse, c as AvailableSlot, d as AvatarObject, B as BespokeAvailability, e as BusinessConfig, f as BusinessContext, g as CartItemPayload, h as Consultation, i as ConsultationCreatePayload, j as ConsultationMessage, k as ConsultationMessagePayload, l as ConsultationProductType, m as ConsultationQuoteAcceptPayload, n as ConsultationStatus, o as ContactFormData, p as CustomerAuthResponse, q as CustomerLoginPayload, r as CustomerProfileFields, s as CustomerRegisterPayload, D as DeliverableApprovalPayload, t as DeliverableStatus, u as DeliverableStatusType, L as LogoutPayload, N as NotificationPreferences, O as OTPVerifyPayload, R as RateAddress, v as RefreshTokenResponse, w as ResendOTPPayload, S as ServiceAppointment, x as ServiceAppointmentCreatePayload, y as ServiceDeliverable, z as ShippingRatesRequest, U as UpdateProfilePayload, E as acceptQuote, F as addToCart, G as addToGuestCart, H as addToWishlist, I as approveDeliverable, J as bespokeService, K as bookAppointment, M as cancelAppointment, P as cancelOrder, Q as checkAvailability, T as checkInWishlist, V as clearCart, W as clearGuestCart, X as clearTokens, Y as configService, Z as consultationService, _ as createCmsEntry, $ as createConsultation, a0 as createDedicatedAccount, a1 as createOrder, a2 as deleteCmsEntry, a3 as findOrder, a4 as findOrderByToken, a5 as getAppointment, a6 as getAppointments, a7 as getAuthUser, a8 as getAvailableSlots, a9 as getBusinessConfig, aa as getCart, ab as getCmsEntry, ac as getConsultation, ad as getConsultations, ae as getDeliverables, af as getFeaturedProducts, ag as getGuestCart, ah as getGuestCartCount, ai as getGuestCartProductType, aj as getGuestCartSubtotal, ak as getLatestProducts, al as getLowStockProducts, am as getMe, an as getNewProducts, ao as getOnSaleProducts, ap as getOrders, aq as getPopularProducts, ar as getRecommendedProducts, as as getSellerShippingAddress, at as getShippingRates, au as getStoredTokens, av as getStorefrontCollectionBySlug, aw as getStorefrontCollections, ax as getStorefrontProductBySlug, ay as getStorefrontProducts, az as getSupportedCurrencies, aA as getSupportedLanguages, aB as getTransactionStatus, aC as getWishlist, aD as googleTranslate, aE as initiatePayment, aF as listCmsEntries, aG as loginCustomer, aH as logisticsService, aI as logout, aJ as mapAuthUserToCustomer, aK as mergeGuestCart, aL as mergeGuestCartIfPresent, aM as notificationsService, aN as paymentService, aO as refreshToken, aP as registerCustomer, aQ as rejectQuote, aR as removeFromCart, aS as removeFromGuestCart, aT as removeFromWishlist, aU as removeProductFromWishlist, aV as requestQuote, aW as requestRevision, aX as sendContactConfirmation, aY as sendContactEmail, aZ as sendMessage, a_ as serviceBookingService, a$ as silentRefresh, b0 as storeTokens, b1 as trackOrder, b2 as updateCartItem, b3 as updateCmsEntry, b4 as updateGuestCartItemQuantity, b5 as updateProfile, b6 as validateShippingAddress, b7 as verifySocialToken, b8 as verifyTransaction } from './index-DeHCf3zI.js';
5
5
  export { A as AppContextValue, a as AppState, C as Country, L as LangCode, S as State, T as Theme } from './index-C1chUA3P.js';
6
6
 
7
7
  /**