@cimplify/sdk 0.17.0 → 0.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.
@@ -656,15 +656,15 @@ function normalizeStatusResponse(response) {
656
656
  };
657
657
  }
658
658
  var MOBILE_MONEY_PROVIDERS = {
659
- mtn: { name: "MTN Mobile Money", prefix: ["024", "054", "055", "059"] },
660
- vodafone: { name: "Vodafone Cash", prefix: ["020", "050"] },
661
- airtel: { name: "AirtelTigo Money", prefix: ["027", "057", "026", "056"] }
659
+ mtn: { name: "MTN Mobile Money", prefix: ["024", "025", "053", "054", "055", "059"] },
660
+ vodafone: { name: "Telecel Cash", prefix: ["020", "050"] },
661
+ airtel: { name: "AirtelTigo Money", prefix: ["026", "027", "056", "057"] }
662
662
  };
663
663
  function detectMobileMoneyProvider(phoneNumber) {
664
664
  const cleaned = phoneNumber.replace(/\D/g, "");
665
- const prefix = cleaned.slice(-9, -6);
665
+ const networkCode = cleaned.slice(-9, -7);
666
666
  for (const [provider, info] of Object.entries(MOBILE_MONEY_PROVIDERS)) {
667
- if (info.prefix.some((p) => prefix.startsWith(p.slice(1)))) {
667
+ if (info.prefix.some((p) => p.slice(1) === networkCode)) {
668
668
  return provider;
669
669
  }
670
670
  }
@@ -658,15 +658,15 @@ function normalizeStatusResponse(response) {
658
658
  };
659
659
  }
660
660
  var MOBILE_MONEY_PROVIDERS = {
661
- mtn: { name: "MTN Mobile Money", prefix: ["024", "054", "055", "059"] },
662
- vodafone: { name: "Vodafone Cash", prefix: ["020", "050"] },
663
- airtel: { name: "AirtelTigo Money", prefix: ["027", "057", "026", "056"] }
661
+ mtn: { name: "MTN Mobile Money", prefix: ["024", "025", "053", "054", "055", "059"] },
662
+ vodafone: { name: "Telecel Cash", prefix: ["020", "050"] },
663
+ airtel: { name: "AirtelTigo Money", prefix: ["026", "027", "056", "057"] }
664
664
  };
665
665
  function detectMobileMoneyProvider(phoneNumber) {
666
666
  const cleaned = phoneNumber.replace(/\D/g, "");
667
- const prefix = cleaned.slice(-9, -6);
667
+ const networkCode = cleaned.slice(-9, -7);
668
668
  for (const [provider, info] of Object.entries(MOBILE_MONEY_PROVIDERS)) {
669
- if (info.prefix.some((p) => prefix.startsWith(p.slice(1)))) {
669
+ if (info.prefix.some((p) => p.slice(1) === networkCode)) {
670
670
  return provider;
671
671
  }
672
672
  }
@@ -1,4 +1,4 @@
1
- import { L as Category, r as Product, G as AddOnWithOptions, b as Pagination, g as CimplifyError, s as ProductWithDetails, t as ProductVariant, v as VariantAxis, B as VariantAxisSelection, F as AddOn, O as Collection, W as BundleSummary, U as Bundle, a7 as Composite, ae as ComponentSelectionInput, af as CompositePriceResult, aD as ChosenPrice, am as ProductTaxonomy, an as TaxonomyWithChildren, al as ProductTimeProfile, ao as ProductAvailabilityNow, aq as Deal, ar as ProductDealInfo, as as DiscountValidation, au as TagsResponse, b6 as UICart, aT as Cart, aU as CartItem, ba as CartSummary, b8 as AddToCartInput, b9 as UpdateCartItemInput, aH as DiscountDetails, M as Money, C as CurrencyCode, aS as LineConfiguration, bf as AuthorizationType, bh as PaymentMethod, bj as InitializePaymentResult, bn as SubmitAuthorizationInput, bl as PaymentStatusResponse } from './payment-C6ULw3K-.js';
1
+ import { _ as Category, y as Product, U as AddOnWithOptions, b as Pagination, g as CimplifyError, z as ProductWithDetails, B as ProductVariant, H as VariantAxis, Q as VariantAxisSelection, R as AddOn, a0 as Collection, a5 as BundleSummary, a4 as Bundle, ah as Composite, ao as ComponentSelectionInput, ap as CompositePriceResult, aN as ChosenPrice, aw as ProductTaxonomy, ax as TaxonomyWithChildren, av as ProductTimeProfile, ay as ProductAvailabilityNow, aA as Deal, aB as ProductDealInfo, aC as DiscountValidation, aE as TagsResponse, t as CustomAttributeDefinition, x as PropertyFacet, T as TaxonomyAttributeTemplate, K as KnowledgeArticle, bg as UICart, b1 as Cart, b2 as CartItem, bk as CartSummary, bi as AddToCartInput, bj as UpdateCartItemInput, aR as DiscountDetails, M as Money, C as CurrencyCode, b0 as LineConfiguration, bp as AuthorizationType, br as PaymentMethod, bt as InitializePaymentResult, bx as SubmitAuthorizationInput, bv as PaymentStatusResponse } from './payment-CO2tRThu.mjs';
2
2
 
3
3
  interface RequestContext {
4
4
  method: "GET" | "POST" | "PATCH" | "DELETE";
@@ -81,7 +81,6 @@ declare function combineObject<T extends Record<string, Result<unknown, unknown>
81
81
 
82
82
  interface GetProductsOptions {
83
83
  category?: string;
84
- collection?: string;
85
84
  taxonomy?: string;
86
85
  search?: string;
87
86
  page?: number;
@@ -93,12 +92,10 @@ interface GetProductsOptions {
93
92
  in_stock?: boolean;
94
93
  min_price?: number;
95
94
  max_price?: number;
96
- sort_by?: "name" | "price" | "created_at";
95
+ sort_by?: "name" | "price" | "created_at" | "updated_at";
97
96
  sort_order?: "asc" | "desc";
98
- }
99
- interface SearchOptions {
100
- limit?: number;
101
- category?: string;
97
+ /** Property filters — e.g. { material: "Cotton", size: "M,L" }. Values are comma-separated for multi-value. */
98
+ properties?: Record<string, string>;
102
99
  }
103
100
  interface QuoteCompositeSelectionInput {
104
101
  component_id: string;
@@ -194,11 +191,17 @@ declare class CatalogueQueries {
194
191
  getCategories(): Promise<Result<Category[], CimplifyError>>;
195
192
  getCategory(id: string): Promise<Result<Category, CimplifyError>>;
196
193
  getCategoryBySlug(slug: string): Promise<Result<Category, CimplifyError>>;
197
- getCategoryProducts(categoryId: string): Promise<Result<Product[], CimplifyError>>;
194
+ getCategoryProducts(categoryId: string, options?: {
195
+ limit?: number;
196
+ offset?: number;
197
+ }): Promise<Result<Product[], CimplifyError>>;
198
198
  getCollections(): Promise<Result<Collection[], CimplifyError>>;
199
199
  getCollection(id: string): Promise<Result<Collection, CimplifyError>>;
200
200
  getCollectionBySlug(slug: string): Promise<Result<Collection, CimplifyError>>;
201
- getCollectionProducts(collectionId: string): Promise<Result<Product[], CimplifyError>>;
201
+ getCollectionProducts(collectionId: string, options?: {
202
+ limit?: number;
203
+ offset?: number;
204
+ }): Promise<Result<Product[], CimplifyError>>;
202
205
  searchCollections(query: string, limit?: number): Promise<Result<Collection[], CimplifyError>>;
203
206
  getBundles(): Promise<Result<BundleSummary[], CimplifyError>>;
204
207
  searchBundles(query: string, limit?: number): Promise<Result<Bundle[], CimplifyError>>;
@@ -221,8 +224,8 @@ declare class CatalogueQueries {
221
224
  getCategoryDeals(categoryId: string): Promise<Result<Deal[], CimplifyError>>;
222
225
  getCollectionDeals(collectionId: string): Promise<Result<Deal[], CimplifyError>>;
223
226
  validateDiscountCode(code: string, orderSubtotal: string, locationId?: string): Promise<Result<DiscountValidation, CimplifyError>>;
224
- search(query: string, options?: SearchOptions): Promise<Result<Product[], CimplifyError>>;
225
- searchProducts(query: string, options?: SearchOptions): Promise<Result<Product[], CimplifyError>>;
227
+ search(query: string, options?: Omit<GetProductsOptions, "search">): Promise<Result<Product[], CimplifyError>>;
228
+ searchProducts(query: string, options?: Omit<GetProductsOptions, "search">): Promise<Result<Product[], CimplifyError>>;
226
229
  getMenu(options?: {
227
230
  category?: string;
228
231
  limit?: number;
@@ -236,6 +239,14 @@ declare class CatalogueQueries {
236
239
  limit?: number;
237
240
  offset?: number;
238
241
  }): Promise<Result<TagsResponse, CimplifyError>>;
242
+ getAttributeDefinitions(): Promise<Result<CustomAttributeDefinition[], CimplifyError>>;
243
+ getPropertyFacets(options?: {
244
+ category_id?: string;
245
+ product_type?: string;
246
+ }): Promise<Result<PropertyFacet[], CimplifyError>>;
247
+ getTaxonomyAttributes(taxonomyId: string): Promise<Result<TaxonomyAttributeTemplate[], CimplifyError>>;
248
+ searchKnowledge(query: string, limit?: number): Promise<Result<KnowledgeArticle[], CimplifyError>>;
249
+ getKnowledgeArticles(): Promise<Result<KnowledgeArticle[], CimplifyError>>;
239
250
  }
240
251
 
241
252
  declare class CartOperations {
@@ -2033,4 +2044,4 @@ declare class CimplifyClient {
2033
2044
  }
2034
2045
  declare function createCimplifyClient(config?: CimplifyConfig): CimplifyClient;
2035
2046
 
2036
- export { type ProcessCheckoutOptions as $, AuthService as A, BusinessService as B, CimplifyClient as C, type ElementsOptions as D, EVENT_TYPES as E, type FetchQuoteInput as F, type GetProductsOptions as G, type ElementOptions as H, InventoryService as I, type ElementType as J, type ElementEventType as K, LinkService as L, MESSAGE_TYPES as M, type CheckoutMode as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RefreshQuoteInput as R, type SearchOptions as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, type CheckoutOrderType as V, type CheckoutPaymentMethod as W, type CheckoutStep as X, type CheckoutFormData as Y, type CheckoutResult as Z, type NextAction as _, type CimplifyConfig as a, type OrderSplitDetail as a$, type ProcessCheckoutResult as a0, type ProcessAndResolveOptions as a1, type CheckoutStatus as a2, type CheckoutStatusContext as a3, type AbortablePromise as a4, type MobileMoneyProvider as a5, type DeviceType as a6, type ContactType as a7, CHECKOUT_MODE as a8, ORDER_TYPE as a9, getOrElse as aA, unwrap as aB, toNullable as aC, fromPromise as aD, tryCatch as aE, combine as aF, combineObject as aG, type CatalogueResult as aH, type CatalogueSnapshot as aI, type OrderStatus as aJ, type PaymentState as aK, type OrderChannel as aL, type LineType as aM, type OrderLineState as aN, type OrderLineStatus as aO, type FulfillmentType as aP, type FulfillmentStatus as aQ, type FulfillmentLink as aR, type OrderFulfillmentSummary as aS, type FeeBearerType as aT, type AmountToPay as aU, type LineItem as aV, type Order as aW, type OrderHistory as aX, type OrderGroupPaymentState as aY, type OrderGroup as aZ, type OrderGroupPayment as a_, PAYMENT_METHOD as aa, CHECKOUT_STEP as ab, PAYMENT_STATE as ac, PICKUP_TIME_TYPE as ad, MOBILE_MONEY_PROVIDER as ae, AUTHORIZATION_TYPE as af, DEVICE_TYPE as ag, CONTACT_TYPE as ah, LINK_QUERY as ai, LINK_MUTATION as aj, AUTH_MUTATION as ak, CHECKOUT_MUTATION as al, PAYMENT_MUTATION as am, ORDER_MUTATION as an, DEFAULT_CURRENCY as ao, DEFAULT_COUNTRY as ap, type Result as aq, type Ok as ar, type Err as as, ok as at, err as au, isOk as av, isErr as aw, mapResult as ax, mapError as ay, flatMap as az, CatalogueQueries as b, type StockLevel as b$, type OrderGroupPaymentSummary as b0, type OrderGroupDetails as b1, type OrderPaymentEvent as b2, type OrderFilter as b3, type CheckoutInput as b4, type UpdateOrderStatusInput as b5, type CancelOrderInput as b6, type RefundOrderInput as b7, type ServiceStatus as b8, type StaffRole as b9, type ServiceCharge as bA, type StorefrontBootstrap as bB, type BusinessWithLocations as bC, type LocationWithDetails as bD, type BusinessSettings as bE, type BusinessHours as bF, type CategoryInfo as bG, type Service as bH, type Staff as bI, type TimeSlot as bJ, type AvailableSlot as bK, type DayAvailability as bL, type BookingStatus as bM, type Booking as bN, type BookingWithDetails as bO, type CustomerBookingServiceItem as bP, type CustomerBooking as bQ, type GetAvailableSlotsInput as bR, type CheckSlotAvailabilityInput as bS, type CheckSlotAvailabilityResult as bT, type RescheduleBookingInput as bU, type CancelBookingInput as bV, type CancelBookingResult as bW, type RescheduleBookingResult as bX, type ServiceAvailabilityParams as bY, type ServiceAvailabilityResult as bZ, type StockStatus as b_, type ReminderMethod as ba, type CustomerServicePreferences as bb, type BufferTimes as bc, type ReminderSettings as bd, type CancellationPolicy as be, type ServiceNotes as bf, type PricingOverrides as bg, type SchedulingMetadata as bh, type StaffAssignment as bi, type ResourceAssignment as bj, type SchedulingResult as bk, type DepositResult as bl, type ServiceScheduleRequest as bm, type StaffScheduleItem as bn, type LocationAppointment as bo, type BusinessType as bp, type BusinessPreferences as bq, type Business as br, type LocationTaxBehavior as bs, type LocationTaxOverrides as bt, type Location as bu, type TimeRange as bv, type TimeRanges as bw, type LocationTimeProfile as bx, type Table as by, type Room as bz, createCimplifyClient as c, type ProductStock as c0, type VariantStock as c1, type LocationStock as c2, type AvailabilityResult as c3, type Customer as c4, type CustomerAddress as c5, type CustomerMobileMoney as c6, type CustomerLinkPreferences as c7, type LinkData as c8, type CreateAddressInput as c9, type RequestErrorEvent as cA, type RetryEvent as cB, type SessionChangeEvent as cC, type ObservabilityHooks as cD, type OrderType as cE, type ElementAppearance as cF, type AddressInfo as cG, type PaymentMethodInfo as cH, type AuthenticatedCustomer as cI, type ElementsCustomerInfo as cJ, type AuthenticatedData as cK, type ElementsCheckoutData as cL, type ElementsCheckoutResult as cM, type CheckoutCartItem as cN, type CheckoutCartData as cO, type ParentToIframeMessage as cP, type IframeToParentMessage as cQ, type ElementEventHandler as cR, type UpdateAddressInput as ca, type CreateMobileMoneyInput as cb, type EnrollmentData as cc, type AddressData as cd, type MobileMoneyData as ce, type EnrollAndLinkOrderInput as cf, type LinkStatusResult as cg, type LinkEnrollResult as ch, type EnrollAndLinkOrderResult as ci, type LinkSession as cj, type RevokeSessionResult as ck, type RevokeAllSessionsResult as cl, type RequestOtpInput as cm, type VerifyOtpInput as cn, type AuthResponse as co, type PickupTimeType as cp, type PickupTime as cq, type CheckoutAddressInfo as cr, type MobileMoneyDetails as cs, type CheckoutCustomerInfo as ct, type FxQuoteRequest as cu, type FxQuote as cv, type FxRateResponse as cw, type RequestContext as cx, type RequestStartEvent as cy, type RequestSuccessEvent as cz, type QuoteBundleSelectionInput as d, type QuoteStatus as e, type QuoteDynamicBuckets as f, type QuoteUiMessage as g, type RequestSource as h, type RefreshQuoteResult as i, CartOperations as j, CheckoutService as k, generateIdempotencyKey as l, type GetOrdersOptions as m, type AuthStatus as n, type OtpResult as o, SchedulingService as p, LiteService as q, FxService as r, ActivityService as s, type TrackCategoryViewOptions as t, type LiteBootstrap as u, type TableInfo as v, CimplifyElements as w, CimplifyElement as x, createElements as y, ELEMENT_TYPES as z };
2047
+ export { type ProcessCheckoutResult as $, AuthService as A, BusinessService as B, CimplifyClient as C, type ElementOptions as D, EVENT_TYPES as E, type FetchQuoteInput as F, type GetProductsOptions as G, type ElementType as H, InventoryService as I, type ElementEventType as J, type CheckoutMode as K, LinkService as L, MESSAGE_TYPES as M, type CheckoutOrderType as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RefreshQuoteInput as R, SchedulingService as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, type CheckoutPaymentMethod as V, type CheckoutStep as W, type CheckoutFormData as X, type CheckoutResult as Y, type NextAction as Z, type ProcessCheckoutOptions as _, type CimplifyConfig as a, type OrderGroupPaymentSummary as a$, type ProcessAndResolveOptions as a0, type CheckoutStatus as a1, type CheckoutStatusContext as a2, type AbortablePromise as a3, type MobileMoneyProvider as a4, type DeviceType as a5, type ContactType as a6, CHECKOUT_MODE as a7, ORDER_TYPE as a8, PAYMENT_METHOD as a9, unwrap as aA, toNullable as aB, fromPromise as aC, tryCatch as aD, combine as aE, combineObject as aF, type CatalogueResult as aG, type CatalogueSnapshot as aH, type OrderStatus as aI, type PaymentState as aJ, type OrderChannel as aK, type LineType as aL, type OrderLineState as aM, type OrderLineStatus as aN, type FulfillmentType as aO, type FulfillmentStatus as aP, type FulfillmentLink as aQ, type OrderFulfillmentSummary as aR, type FeeBearerType as aS, type AmountToPay as aT, type LineItem as aU, type Order as aV, type OrderHistory as aW, type OrderGroupPaymentState as aX, type OrderGroup as aY, type OrderGroupPayment as aZ, type OrderSplitDetail as a_, CHECKOUT_STEP as aa, PAYMENT_STATE as ab, PICKUP_TIME_TYPE as ac, MOBILE_MONEY_PROVIDER as ad, AUTHORIZATION_TYPE as ae, DEVICE_TYPE as af, CONTACT_TYPE as ag, LINK_QUERY as ah, LINK_MUTATION as ai, AUTH_MUTATION as aj, CHECKOUT_MUTATION as ak, PAYMENT_MUTATION as al, ORDER_MUTATION as am, DEFAULT_CURRENCY as an, DEFAULT_COUNTRY as ao, type Result as ap, type Ok as aq, type Err as ar, ok as as, err as at, isOk as au, isErr as av, mapResult as aw, mapError as ax, flatMap as ay, getOrElse as az, CatalogueQueries as b, type ProductStock as b$, type OrderGroupDetails as b0, type OrderPaymentEvent as b1, type OrderFilter as b2, type CheckoutInput as b3, type UpdateOrderStatusInput as b4, type CancelOrderInput as b5, type RefundOrderInput as b6, type ServiceStatus as b7, type StaffRole as b8, type ReminderMethod as b9, type StorefrontBootstrap as bA, type BusinessWithLocations as bB, type LocationWithDetails as bC, type BusinessSettings as bD, type BusinessHours as bE, type CategoryInfo as bF, type Service as bG, type Staff as bH, type TimeSlot as bI, type AvailableSlot as bJ, type DayAvailability as bK, type BookingStatus as bL, type Booking as bM, type BookingWithDetails as bN, type CustomerBookingServiceItem as bO, type CustomerBooking as bP, type GetAvailableSlotsInput as bQ, type CheckSlotAvailabilityInput as bR, type CheckSlotAvailabilityResult as bS, type RescheduleBookingInput as bT, type CancelBookingInput as bU, type CancelBookingResult as bV, type RescheduleBookingResult as bW, type ServiceAvailabilityParams as bX, type ServiceAvailabilityResult as bY, type StockStatus as bZ, type StockLevel as b_, type CustomerServicePreferences as ba, type BufferTimes as bb, type ReminderSettings as bc, type CancellationPolicy as bd, type ServiceNotes as be, type PricingOverrides as bf, type SchedulingMetadata as bg, type StaffAssignment as bh, type ResourceAssignment as bi, type SchedulingResult as bj, type DepositResult as bk, type ServiceScheduleRequest as bl, type StaffScheduleItem as bm, type LocationAppointment as bn, type BusinessType as bo, type BusinessPreferences as bp, type Business as bq, type LocationTaxBehavior as br, type LocationTaxOverrides as bs, type Location as bt, type TimeRange as bu, type TimeRanges as bv, type LocationTimeProfile as bw, type Table as bx, type Room as by, type ServiceCharge as bz, createCimplifyClient as c, type VariantStock as c0, type LocationStock as c1, type AvailabilityResult as c2, type Customer as c3, type CustomerAddress as c4, type CustomerMobileMoney as c5, type CustomerLinkPreferences as c6, type LinkData as c7, type CreateAddressInput as c8, type UpdateAddressInput as c9, type RetryEvent as cA, type SessionChangeEvent as cB, type ObservabilityHooks as cC, type OrderType as cD, type ElementAppearance as cE, type AddressInfo as cF, type PaymentMethodInfo as cG, type AuthenticatedCustomer as cH, type ElementsCustomerInfo as cI, type AuthenticatedData as cJ, type ElementsCheckoutData as cK, type ElementsCheckoutResult as cL, type CheckoutCartItem as cM, type CheckoutCartData as cN, type ParentToIframeMessage as cO, type IframeToParentMessage as cP, type ElementEventHandler as cQ, type CreateMobileMoneyInput as ca, type EnrollmentData as cb, type AddressData as cc, type MobileMoneyData as cd, type EnrollAndLinkOrderInput as ce, type LinkStatusResult as cf, type LinkEnrollResult as cg, type EnrollAndLinkOrderResult as ch, type LinkSession as ci, type RevokeSessionResult as cj, type RevokeAllSessionsResult as ck, type RequestOtpInput as cl, type VerifyOtpInput as cm, type AuthResponse as cn, type PickupTimeType as co, type PickupTime as cp, type CheckoutAddressInfo as cq, type MobileMoneyDetails as cr, type CheckoutCustomerInfo as cs, type FxQuoteRequest as ct, type FxQuote as cu, type FxRateResponse as cv, type RequestContext as cw, type RequestStartEvent as cx, type RequestSuccessEvent as cy, type RequestErrorEvent as cz, type QuoteBundleSelectionInput as d, type QuoteStatus as e, type QuoteDynamicBuckets as f, type QuoteUiMessage as g, type RequestSource as h, type RefreshQuoteResult as i, CartOperations as j, CheckoutService as k, generateIdempotencyKey as l, type GetOrdersOptions as m, type AuthStatus as n, type OtpResult as o, LiteService as p, FxService as q, ActivityService as r, type TrackCategoryViewOptions as s, type LiteBootstrap as t, type TableInfo as u, CimplifyElements as v, CimplifyElement as w, createElements as x, ELEMENT_TYPES as y, type ElementsOptions as z };
@@ -1,4 +1,4 @@
1
- import { L as Category, r as Product, G as AddOnWithOptions, b as Pagination, g as CimplifyError, s as ProductWithDetails, t as ProductVariant, v as VariantAxis, B as VariantAxisSelection, F as AddOn, O as Collection, W as BundleSummary, U as Bundle, a7 as Composite, ae as ComponentSelectionInput, af as CompositePriceResult, aD as ChosenPrice, am as ProductTaxonomy, an as TaxonomyWithChildren, al as ProductTimeProfile, ao as ProductAvailabilityNow, aq as Deal, ar as ProductDealInfo, as as DiscountValidation, au as TagsResponse, b6 as UICart, aT as Cart, aU as CartItem, ba as CartSummary, b8 as AddToCartInput, b9 as UpdateCartItemInput, aH as DiscountDetails, M as Money, C as CurrencyCode, aS as LineConfiguration, bf as AuthorizationType, bh as PaymentMethod, bj as InitializePaymentResult, bn as SubmitAuthorizationInput, bl as PaymentStatusResponse } from './payment-C6ULw3K-.mjs';
1
+ import { _ as Category, y as Product, U as AddOnWithOptions, b as Pagination, g as CimplifyError, z as ProductWithDetails, B as ProductVariant, H as VariantAxis, Q as VariantAxisSelection, R as AddOn, a0 as Collection, a5 as BundleSummary, a4 as Bundle, ah as Composite, ao as ComponentSelectionInput, ap as CompositePriceResult, aN as ChosenPrice, aw as ProductTaxonomy, ax as TaxonomyWithChildren, av as ProductTimeProfile, ay as ProductAvailabilityNow, aA as Deal, aB as ProductDealInfo, aC as DiscountValidation, aE as TagsResponse, t as CustomAttributeDefinition, x as PropertyFacet, T as TaxonomyAttributeTemplate, K as KnowledgeArticle, bg as UICart, b1 as Cart, b2 as CartItem, bk as CartSummary, bi as AddToCartInput, bj as UpdateCartItemInput, aR as DiscountDetails, M as Money, C as CurrencyCode, b0 as LineConfiguration, bp as AuthorizationType, br as PaymentMethod, bt as InitializePaymentResult, bx as SubmitAuthorizationInput, bv as PaymentStatusResponse } from './payment-CO2tRThu.js';
2
2
 
3
3
  interface RequestContext {
4
4
  method: "GET" | "POST" | "PATCH" | "DELETE";
@@ -81,7 +81,6 @@ declare function combineObject<T extends Record<string, Result<unknown, unknown>
81
81
 
82
82
  interface GetProductsOptions {
83
83
  category?: string;
84
- collection?: string;
85
84
  taxonomy?: string;
86
85
  search?: string;
87
86
  page?: number;
@@ -93,12 +92,10 @@ interface GetProductsOptions {
93
92
  in_stock?: boolean;
94
93
  min_price?: number;
95
94
  max_price?: number;
96
- sort_by?: "name" | "price" | "created_at";
95
+ sort_by?: "name" | "price" | "created_at" | "updated_at";
97
96
  sort_order?: "asc" | "desc";
98
- }
99
- interface SearchOptions {
100
- limit?: number;
101
- category?: string;
97
+ /** Property filters — e.g. { material: "Cotton", size: "M,L" }. Values are comma-separated for multi-value. */
98
+ properties?: Record<string, string>;
102
99
  }
103
100
  interface QuoteCompositeSelectionInput {
104
101
  component_id: string;
@@ -194,11 +191,17 @@ declare class CatalogueQueries {
194
191
  getCategories(): Promise<Result<Category[], CimplifyError>>;
195
192
  getCategory(id: string): Promise<Result<Category, CimplifyError>>;
196
193
  getCategoryBySlug(slug: string): Promise<Result<Category, CimplifyError>>;
197
- getCategoryProducts(categoryId: string): Promise<Result<Product[], CimplifyError>>;
194
+ getCategoryProducts(categoryId: string, options?: {
195
+ limit?: number;
196
+ offset?: number;
197
+ }): Promise<Result<Product[], CimplifyError>>;
198
198
  getCollections(): Promise<Result<Collection[], CimplifyError>>;
199
199
  getCollection(id: string): Promise<Result<Collection, CimplifyError>>;
200
200
  getCollectionBySlug(slug: string): Promise<Result<Collection, CimplifyError>>;
201
- getCollectionProducts(collectionId: string): Promise<Result<Product[], CimplifyError>>;
201
+ getCollectionProducts(collectionId: string, options?: {
202
+ limit?: number;
203
+ offset?: number;
204
+ }): Promise<Result<Product[], CimplifyError>>;
202
205
  searchCollections(query: string, limit?: number): Promise<Result<Collection[], CimplifyError>>;
203
206
  getBundles(): Promise<Result<BundleSummary[], CimplifyError>>;
204
207
  searchBundles(query: string, limit?: number): Promise<Result<Bundle[], CimplifyError>>;
@@ -221,8 +224,8 @@ declare class CatalogueQueries {
221
224
  getCategoryDeals(categoryId: string): Promise<Result<Deal[], CimplifyError>>;
222
225
  getCollectionDeals(collectionId: string): Promise<Result<Deal[], CimplifyError>>;
223
226
  validateDiscountCode(code: string, orderSubtotal: string, locationId?: string): Promise<Result<DiscountValidation, CimplifyError>>;
224
- search(query: string, options?: SearchOptions): Promise<Result<Product[], CimplifyError>>;
225
- searchProducts(query: string, options?: SearchOptions): Promise<Result<Product[], CimplifyError>>;
227
+ search(query: string, options?: Omit<GetProductsOptions, "search">): Promise<Result<Product[], CimplifyError>>;
228
+ searchProducts(query: string, options?: Omit<GetProductsOptions, "search">): Promise<Result<Product[], CimplifyError>>;
226
229
  getMenu(options?: {
227
230
  category?: string;
228
231
  limit?: number;
@@ -236,6 +239,14 @@ declare class CatalogueQueries {
236
239
  limit?: number;
237
240
  offset?: number;
238
241
  }): Promise<Result<TagsResponse, CimplifyError>>;
242
+ getAttributeDefinitions(): Promise<Result<CustomAttributeDefinition[], CimplifyError>>;
243
+ getPropertyFacets(options?: {
244
+ category_id?: string;
245
+ product_type?: string;
246
+ }): Promise<Result<PropertyFacet[], CimplifyError>>;
247
+ getTaxonomyAttributes(taxonomyId: string): Promise<Result<TaxonomyAttributeTemplate[], CimplifyError>>;
248
+ searchKnowledge(query: string, limit?: number): Promise<Result<KnowledgeArticle[], CimplifyError>>;
249
+ getKnowledgeArticles(): Promise<Result<KnowledgeArticle[], CimplifyError>>;
239
250
  }
240
251
 
241
252
  declare class CartOperations {
@@ -2033,4 +2044,4 @@ declare class CimplifyClient {
2033
2044
  }
2034
2045
  declare function createCimplifyClient(config?: CimplifyConfig): CimplifyClient;
2035
2046
 
2036
- export { type ProcessCheckoutOptions as $, AuthService as A, BusinessService as B, CimplifyClient as C, type ElementsOptions as D, EVENT_TYPES as E, type FetchQuoteInput as F, type GetProductsOptions as G, type ElementOptions as H, InventoryService as I, type ElementType as J, type ElementEventType as K, LinkService as L, MESSAGE_TYPES as M, type CheckoutMode as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RefreshQuoteInput as R, type SearchOptions as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, type CheckoutOrderType as V, type CheckoutPaymentMethod as W, type CheckoutStep as X, type CheckoutFormData as Y, type CheckoutResult as Z, type NextAction as _, type CimplifyConfig as a, type OrderSplitDetail as a$, type ProcessCheckoutResult as a0, type ProcessAndResolveOptions as a1, type CheckoutStatus as a2, type CheckoutStatusContext as a3, type AbortablePromise as a4, type MobileMoneyProvider as a5, type DeviceType as a6, type ContactType as a7, CHECKOUT_MODE as a8, ORDER_TYPE as a9, getOrElse as aA, unwrap as aB, toNullable as aC, fromPromise as aD, tryCatch as aE, combine as aF, combineObject as aG, type CatalogueResult as aH, type CatalogueSnapshot as aI, type OrderStatus as aJ, type PaymentState as aK, type OrderChannel as aL, type LineType as aM, type OrderLineState as aN, type OrderLineStatus as aO, type FulfillmentType as aP, type FulfillmentStatus as aQ, type FulfillmentLink as aR, type OrderFulfillmentSummary as aS, type FeeBearerType as aT, type AmountToPay as aU, type LineItem as aV, type Order as aW, type OrderHistory as aX, type OrderGroupPaymentState as aY, type OrderGroup as aZ, type OrderGroupPayment as a_, PAYMENT_METHOD as aa, CHECKOUT_STEP as ab, PAYMENT_STATE as ac, PICKUP_TIME_TYPE as ad, MOBILE_MONEY_PROVIDER as ae, AUTHORIZATION_TYPE as af, DEVICE_TYPE as ag, CONTACT_TYPE as ah, LINK_QUERY as ai, LINK_MUTATION as aj, AUTH_MUTATION as ak, CHECKOUT_MUTATION as al, PAYMENT_MUTATION as am, ORDER_MUTATION as an, DEFAULT_CURRENCY as ao, DEFAULT_COUNTRY as ap, type Result as aq, type Ok as ar, type Err as as, ok as at, err as au, isOk as av, isErr as aw, mapResult as ax, mapError as ay, flatMap as az, CatalogueQueries as b, type StockLevel as b$, type OrderGroupPaymentSummary as b0, type OrderGroupDetails as b1, type OrderPaymentEvent as b2, type OrderFilter as b3, type CheckoutInput as b4, type UpdateOrderStatusInput as b5, type CancelOrderInput as b6, type RefundOrderInput as b7, type ServiceStatus as b8, type StaffRole as b9, type ServiceCharge as bA, type StorefrontBootstrap as bB, type BusinessWithLocations as bC, type LocationWithDetails as bD, type BusinessSettings as bE, type BusinessHours as bF, type CategoryInfo as bG, type Service as bH, type Staff as bI, type TimeSlot as bJ, type AvailableSlot as bK, type DayAvailability as bL, type BookingStatus as bM, type Booking as bN, type BookingWithDetails as bO, type CustomerBookingServiceItem as bP, type CustomerBooking as bQ, type GetAvailableSlotsInput as bR, type CheckSlotAvailabilityInput as bS, type CheckSlotAvailabilityResult as bT, type RescheduleBookingInput as bU, type CancelBookingInput as bV, type CancelBookingResult as bW, type RescheduleBookingResult as bX, type ServiceAvailabilityParams as bY, type ServiceAvailabilityResult as bZ, type StockStatus as b_, type ReminderMethod as ba, type CustomerServicePreferences as bb, type BufferTimes as bc, type ReminderSettings as bd, type CancellationPolicy as be, type ServiceNotes as bf, type PricingOverrides as bg, type SchedulingMetadata as bh, type StaffAssignment as bi, type ResourceAssignment as bj, type SchedulingResult as bk, type DepositResult as bl, type ServiceScheduleRequest as bm, type StaffScheduleItem as bn, type LocationAppointment as bo, type BusinessType as bp, type BusinessPreferences as bq, type Business as br, type LocationTaxBehavior as bs, type LocationTaxOverrides as bt, type Location as bu, type TimeRange as bv, type TimeRanges as bw, type LocationTimeProfile as bx, type Table as by, type Room as bz, createCimplifyClient as c, type ProductStock as c0, type VariantStock as c1, type LocationStock as c2, type AvailabilityResult as c3, type Customer as c4, type CustomerAddress as c5, type CustomerMobileMoney as c6, type CustomerLinkPreferences as c7, type LinkData as c8, type CreateAddressInput as c9, type RequestErrorEvent as cA, type RetryEvent as cB, type SessionChangeEvent as cC, type ObservabilityHooks as cD, type OrderType as cE, type ElementAppearance as cF, type AddressInfo as cG, type PaymentMethodInfo as cH, type AuthenticatedCustomer as cI, type ElementsCustomerInfo as cJ, type AuthenticatedData as cK, type ElementsCheckoutData as cL, type ElementsCheckoutResult as cM, type CheckoutCartItem as cN, type CheckoutCartData as cO, type ParentToIframeMessage as cP, type IframeToParentMessage as cQ, type ElementEventHandler as cR, type UpdateAddressInput as ca, type CreateMobileMoneyInput as cb, type EnrollmentData as cc, type AddressData as cd, type MobileMoneyData as ce, type EnrollAndLinkOrderInput as cf, type LinkStatusResult as cg, type LinkEnrollResult as ch, type EnrollAndLinkOrderResult as ci, type LinkSession as cj, type RevokeSessionResult as ck, type RevokeAllSessionsResult as cl, type RequestOtpInput as cm, type VerifyOtpInput as cn, type AuthResponse as co, type PickupTimeType as cp, type PickupTime as cq, type CheckoutAddressInfo as cr, type MobileMoneyDetails as cs, type CheckoutCustomerInfo as ct, type FxQuoteRequest as cu, type FxQuote as cv, type FxRateResponse as cw, type RequestContext as cx, type RequestStartEvent as cy, type RequestSuccessEvent as cz, type QuoteBundleSelectionInput as d, type QuoteStatus as e, type QuoteDynamicBuckets as f, type QuoteUiMessage as g, type RequestSource as h, type RefreshQuoteResult as i, CartOperations as j, CheckoutService as k, generateIdempotencyKey as l, type GetOrdersOptions as m, type AuthStatus as n, type OtpResult as o, SchedulingService as p, LiteService as q, FxService as r, ActivityService as s, type TrackCategoryViewOptions as t, type LiteBootstrap as u, type TableInfo as v, CimplifyElements as w, CimplifyElement as x, createElements as y, ELEMENT_TYPES as z };
2047
+ export { type ProcessCheckoutResult as $, AuthService as A, BusinessService as B, CimplifyClient as C, type ElementOptions as D, EVENT_TYPES as E, type FetchQuoteInput as F, type GetProductsOptions as G, type ElementType as H, InventoryService as I, type ElementEventType as J, type CheckoutMode as K, LinkService as L, MESSAGE_TYPES as M, type CheckoutOrderType as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RefreshQuoteInput as R, SchedulingService as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, type CheckoutPaymentMethod as V, type CheckoutStep as W, type CheckoutFormData as X, type CheckoutResult as Y, type NextAction as Z, type ProcessCheckoutOptions as _, type CimplifyConfig as a, type OrderGroupPaymentSummary as a$, type ProcessAndResolveOptions as a0, type CheckoutStatus as a1, type CheckoutStatusContext as a2, type AbortablePromise as a3, type MobileMoneyProvider as a4, type DeviceType as a5, type ContactType as a6, CHECKOUT_MODE as a7, ORDER_TYPE as a8, PAYMENT_METHOD as a9, unwrap as aA, toNullable as aB, fromPromise as aC, tryCatch as aD, combine as aE, combineObject as aF, type CatalogueResult as aG, type CatalogueSnapshot as aH, type OrderStatus as aI, type PaymentState as aJ, type OrderChannel as aK, type LineType as aL, type OrderLineState as aM, type OrderLineStatus as aN, type FulfillmentType as aO, type FulfillmentStatus as aP, type FulfillmentLink as aQ, type OrderFulfillmentSummary as aR, type FeeBearerType as aS, type AmountToPay as aT, type LineItem as aU, type Order as aV, type OrderHistory as aW, type OrderGroupPaymentState as aX, type OrderGroup as aY, type OrderGroupPayment as aZ, type OrderSplitDetail as a_, CHECKOUT_STEP as aa, PAYMENT_STATE as ab, PICKUP_TIME_TYPE as ac, MOBILE_MONEY_PROVIDER as ad, AUTHORIZATION_TYPE as ae, DEVICE_TYPE as af, CONTACT_TYPE as ag, LINK_QUERY as ah, LINK_MUTATION as ai, AUTH_MUTATION as aj, CHECKOUT_MUTATION as ak, PAYMENT_MUTATION as al, ORDER_MUTATION as am, DEFAULT_CURRENCY as an, DEFAULT_COUNTRY as ao, type Result as ap, type Ok as aq, type Err as ar, ok as as, err as at, isOk as au, isErr as av, mapResult as aw, mapError as ax, flatMap as ay, getOrElse as az, CatalogueQueries as b, type ProductStock as b$, type OrderGroupDetails as b0, type OrderPaymentEvent as b1, type OrderFilter as b2, type CheckoutInput as b3, type UpdateOrderStatusInput as b4, type CancelOrderInput as b5, type RefundOrderInput as b6, type ServiceStatus as b7, type StaffRole as b8, type ReminderMethod as b9, type StorefrontBootstrap as bA, type BusinessWithLocations as bB, type LocationWithDetails as bC, type BusinessSettings as bD, type BusinessHours as bE, type CategoryInfo as bF, type Service as bG, type Staff as bH, type TimeSlot as bI, type AvailableSlot as bJ, type DayAvailability as bK, type BookingStatus as bL, type Booking as bM, type BookingWithDetails as bN, type CustomerBookingServiceItem as bO, type CustomerBooking as bP, type GetAvailableSlotsInput as bQ, type CheckSlotAvailabilityInput as bR, type CheckSlotAvailabilityResult as bS, type RescheduleBookingInput as bT, type CancelBookingInput as bU, type CancelBookingResult as bV, type RescheduleBookingResult as bW, type ServiceAvailabilityParams as bX, type ServiceAvailabilityResult as bY, type StockStatus as bZ, type StockLevel as b_, type CustomerServicePreferences as ba, type BufferTimes as bb, type ReminderSettings as bc, type CancellationPolicy as bd, type ServiceNotes as be, type PricingOverrides as bf, type SchedulingMetadata as bg, type StaffAssignment as bh, type ResourceAssignment as bi, type SchedulingResult as bj, type DepositResult as bk, type ServiceScheduleRequest as bl, type StaffScheduleItem as bm, type LocationAppointment as bn, type BusinessType as bo, type BusinessPreferences as bp, type Business as bq, type LocationTaxBehavior as br, type LocationTaxOverrides as bs, type Location as bt, type TimeRange as bu, type TimeRanges as bv, type LocationTimeProfile as bw, type Table as bx, type Room as by, type ServiceCharge as bz, createCimplifyClient as c, type VariantStock as c0, type LocationStock as c1, type AvailabilityResult as c2, type Customer as c3, type CustomerAddress as c4, type CustomerMobileMoney as c5, type CustomerLinkPreferences as c6, type LinkData as c7, type CreateAddressInput as c8, type UpdateAddressInput as c9, type RetryEvent as cA, type SessionChangeEvent as cB, type ObservabilityHooks as cC, type OrderType as cD, type ElementAppearance as cE, type AddressInfo as cF, type PaymentMethodInfo as cG, type AuthenticatedCustomer as cH, type ElementsCustomerInfo as cI, type AuthenticatedData as cJ, type ElementsCheckoutData as cK, type ElementsCheckoutResult as cL, type CheckoutCartItem as cM, type CheckoutCartData as cN, type ParentToIframeMessage as cO, type IframeToParentMessage as cP, type ElementEventHandler as cQ, type CreateMobileMoneyInput as ca, type EnrollmentData as cb, type AddressData as cc, type MobileMoneyData as cd, type EnrollAndLinkOrderInput as ce, type LinkStatusResult as cf, type LinkEnrollResult as cg, type EnrollAndLinkOrderResult as ch, type LinkSession as ci, type RevokeSessionResult as cj, type RevokeAllSessionsResult as ck, type RequestOtpInput as cl, type VerifyOtpInput as cm, type AuthResponse as cn, type PickupTimeType as co, type PickupTime as cp, type CheckoutAddressInfo as cq, type MobileMoneyDetails as cr, type CheckoutCustomerInfo as cs, type FxQuoteRequest as ct, type FxQuote as cu, type FxRateResponse as cv, type RequestContext as cw, type RequestStartEvent as cx, type RequestSuccessEvent as cy, type RequestErrorEvent as cz, type QuoteBundleSelectionInput as d, type QuoteStatus as e, type QuoteDynamicBuckets as f, type QuoteUiMessage as g, type RequestSource as h, type RefreshQuoteResult as i, CartOperations as j, CheckoutService as k, generateIdempotencyKey as l, type GetOrdersOptions as m, type AuthStatus as n, type OtpResult as o, LiteService as p, FxService as q, ActivityService as r, type TrackCategoryViewOptions as s, type LiteBootstrap as t, type TableInfo as u, CimplifyElements as v, CimplifyElement as w, createElements as x, ELEMENT_TYPES as y, type ElementsOptions as z };
package/dist/index.d.mts CHANGED
@@ -1,10 +1,10 @@
1
- export { af as AUTHORIZATION_TYPE, ak as AUTH_MUTATION, a4 as AbortablePromise, s as ActivityService, cd as AddressData, cG as AddressInfo, aU as AmountToPay, co as AuthResponse, A as AuthService, n as AuthStatus, cI as AuthenticatedCustomer, cK as AuthenticatedData, c3 as AvailabilityResult, bK as AvailableSlot, bN as Booking, bM as BookingStatus, bO as BookingWithDetails, bc as BufferTimes, br as Business, bF as BusinessHours, bq as BusinessPreferences, B as BusinessService, bE as BusinessSettings, bp as BusinessType, bC as BusinessWithLocations, a8 as CHECKOUT_MODE, al as CHECKOUT_MUTATION, ab as CHECKOUT_STEP, ah as CONTACT_TYPE, bV as CancelBookingInput, bW as CancelBookingResult, b6 as CancelOrderInput, be as CancellationPolicy, j as CartOperations, b as CatalogueQueries, aH as CatalogueResult, aI as CatalogueSnapshot, bG as CategoryInfo, bS as CheckSlotAvailabilityInput, bT as CheckSlotAvailabilityResult, cr as CheckoutAddressInfo, cO as CheckoutCartData, cN as CheckoutCartItem, ct as CheckoutCustomerInfo, Y as CheckoutFormData, b4 as CheckoutInput, N as CheckoutMode, k as CheckoutOperations, V as CheckoutOrderType, W as CheckoutPaymentMethod, Z as CheckoutResult, k as CheckoutService, a2 as CheckoutStatus, a3 as CheckoutStatusContext, X as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, x as CimplifyElement, w as CimplifyElements, a7 as ContactType, c9 as CreateAddressInput, cb as CreateMobileMoneyInput, c4 as Customer, c5 as CustomerAddress, bQ as CustomerBooking, bP as CustomerBookingServiceItem, c7 as CustomerLinkPreferences, c6 as CustomerMobileMoney, bb as CustomerServicePreferences, ap as DEFAULT_COUNTRY, ao as DEFAULT_CURRENCY, ag as DEVICE_TYPE, bL as DayAvailability, bl as DepositResult, a6 as DeviceType, z as ELEMENT_TYPES, E as EVENT_TYPES, cF as ElementAppearance, cR as ElementEventHandler, K as ElementEventType, H as ElementOptions, J as ElementType, cL as ElementsCheckoutData, cM as ElementsCheckoutResult, cJ as ElementsCustomerInfo, D as ElementsOptions, cf as EnrollAndLinkOrderInput, ci as EnrollAndLinkOrderResult, cc as EnrollmentData, as as Err, aT as FeeBearerType, F as FetchQuoteInput, aR as FulfillmentLink, aQ as FulfillmentStatus, aP as FulfillmentType, cv as FxQuote, cu as FxQuoteRequest, cw as FxRateResponse, r as FxService, bR as GetAvailableSlotsInput, m as GetOrdersOptions, G as GetProductsOptions, cQ as IframeToParentMessage, I as InventoryService, aj as LINK_MUTATION, ai as LINK_QUERY, aV as LineItem, aM as LineType, c8 as LinkData, ch as LinkEnrollResult, L as LinkService, cj as LinkSession, cg as LinkStatusResult, u as LiteBootstrap, q as LiteService, bu as Location, bo as LocationAppointment, c2 as LocationStock, bs as LocationTaxBehavior, bt as LocationTaxOverrides, bx as LocationTimeProfile, bD as LocationWithDetails, M as MESSAGE_TYPES, ae as MOBILE_MONEY_PROVIDER, ce as MobileMoneyData, cs as MobileMoneyDetails, a5 as MobileMoneyProvider, _ as NextAction, an as ORDER_MUTATION, a9 as ORDER_TYPE, cD as ObservabilityHooks, ar as Ok, aW as Order, aL as OrderChannel, b3 as OrderFilter, aS as OrderFulfillmentSummary, aZ as OrderGroup, b1 as OrderGroupDetails, a_ as OrderGroupPayment, aY as OrderGroupPaymentState, b0 as OrderGroupPaymentSummary, aX as OrderHistory, aN as OrderLineState, aO as OrderLineStatus, b2 as OrderPaymentEvent, O as OrderQueries, a$ as OrderSplitDetail, aJ as OrderStatus, cE as OrderType, o as OtpResult, aa as PAYMENT_METHOD, am as PAYMENT_MUTATION, ac as PAYMENT_STATE, ad as PICKUP_TIME_TYPE, cP as ParentToIframeMessage, cH as PaymentMethodInfo, aK as PaymentState, cq as PickupTime, cp as PickupTimeType, P as PriceQuote, bg as PricingOverrides, a1 as ProcessAndResolveOptions, $ as ProcessCheckoutOptions, a0 as ProcessCheckoutResult, c0 as ProductStock, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, b7 as RefundOrderInput, ba as ReminderMethod, bd as ReminderSettings, cx as RequestContext, cA as RequestErrorEvent, cm as RequestOtpInput, h as RequestSource, cy as RequestStartEvent, cz as RequestSuccessEvent, bU as RescheduleBookingInput, bX as RescheduleBookingResult, bj as ResourceAssignment, aq as Result, cB as RetryEvent, cl as RevokeAllSessionsResult, ck as RevokeSessionResult, bz as Room, bh as SchedulingMetadata, bk as SchedulingResult, p as SchedulingService, S as SearchOptions, bH as Service, bY as ServiceAvailabilityParams, bZ as ServiceAvailabilityResult, bA as ServiceCharge, bf as ServiceNotes, bm as ServiceScheduleRequest, b8 as ServiceStatus, cC as SessionChangeEvent, bI as Staff, bi as StaffAssignment, b9 as StaffRole, bn as StaffScheduleItem, b$ as StockLevel, b_ as StockStatus, bB as StorefrontBootstrap, by as Table, v as TableInfo, bv as TimeRange, bw as TimeRanges, bJ as TimeSlot, t as TrackCategoryViewOptions, T as TrackProductViewOptions, ca as UpdateAddressInput, b5 as UpdateOrderStatusInput, U as UpdateProfileInput, c1 as VariantStock, cn as VerifyOtpInput, aF as combine, aG as combineObject, c as createCimplifyClient, y as createElements, au as err, az as flatMap, aD as fromPromise, l as generateIdempotencyKey, aA as getOrElse, aw as isErr, av as isOk, ay as mapError, ax as mapResult, at as ok, aC as toNullable, aE as tryCatch, aB as unwrap } from './client-BaolRdB4.mjs';
1
+ export { ae as AUTHORIZATION_TYPE, aj as AUTH_MUTATION, a3 as AbortablePromise, r as ActivityService, cc as AddressData, cF as AddressInfo, aT as AmountToPay, cn as AuthResponse, A as AuthService, n as AuthStatus, cH as AuthenticatedCustomer, cJ as AuthenticatedData, c2 as AvailabilityResult, bJ as AvailableSlot, bM as Booking, bL as BookingStatus, bN as BookingWithDetails, bb as BufferTimes, bq as Business, bE as BusinessHours, bp as BusinessPreferences, B as BusinessService, bD as BusinessSettings, bo as BusinessType, bB as BusinessWithLocations, a7 as CHECKOUT_MODE, ak as CHECKOUT_MUTATION, aa as CHECKOUT_STEP, ag as CONTACT_TYPE, bU as CancelBookingInput, bV as CancelBookingResult, b5 as CancelOrderInput, bd as CancellationPolicy, j as CartOperations, b as CatalogueQueries, aG as CatalogueResult, aH as CatalogueSnapshot, bF as CategoryInfo, bR as CheckSlotAvailabilityInput, bS as CheckSlotAvailabilityResult, cq as CheckoutAddressInfo, cN as CheckoutCartData, cM as CheckoutCartItem, cs as CheckoutCustomerInfo, X as CheckoutFormData, b3 as CheckoutInput, K as CheckoutMode, k as CheckoutOperations, N as CheckoutOrderType, V as CheckoutPaymentMethod, Y as CheckoutResult, k as CheckoutService, a1 as CheckoutStatus, a2 as CheckoutStatusContext, W as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, w as CimplifyElement, v as CimplifyElements, a6 as ContactType, c8 as CreateAddressInput, ca as CreateMobileMoneyInput, c3 as Customer, c4 as CustomerAddress, bP as CustomerBooking, bO as CustomerBookingServiceItem, c6 as CustomerLinkPreferences, c5 as CustomerMobileMoney, ba as CustomerServicePreferences, ao as DEFAULT_COUNTRY, an as DEFAULT_CURRENCY, af as DEVICE_TYPE, bK as DayAvailability, bk as DepositResult, a5 as DeviceType, y as ELEMENT_TYPES, E as EVENT_TYPES, cE as ElementAppearance, cQ as ElementEventHandler, J as ElementEventType, D as ElementOptions, H as ElementType, cK as ElementsCheckoutData, cL as ElementsCheckoutResult, cI as ElementsCustomerInfo, z as ElementsOptions, ce as EnrollAndLinkOrderInput, ch as EnrollAndLinkOrderResult, cb as EnrollmentData, ar as Err, aS as FeeBearerType, F as FetchQuoteInput, aQ as FulfillmentLink, aP as FulfillmentStatus, aO as FulfillmentType, cu as FxQuote, ct as FxQuoteRequest, cv as FxRateResponse, q as FxService, bQ as GetAvailableSlotsInput, m as GetOrdersOptions, G as GetProductsOptions, cP as IframeToParentMessage, I as InventoryService, ai as LINK_MUTATION, ah as LINK_QUERY, aU as LineItem, aL as LineType, c7 as LinkData, cg as LinkEnrollResult, L as LinkService, ci as LinkSession, cf as LinkStatusResult, t as LiteBootstrap, p as LiteService, bt as Location, bn as LocationAppointment, c1 as LocationStock, br as LocationTaxBehavior, bs as LocationTaxOverrides, bw as LocationTimeProfile, bC as LocationWithDetails, M as MESSAGE_TYPES, ad as MOBILE_MONEY_PROVIDER, cd as MobileMoneyData, cr as MobileMoneyDetails, a4 as MobileMoneyProvider, Z as NextAction, am as ORDER_MUTATION, a8 as ORDER_TYPE, cC as ObservabilityHooks, aq as Ok, aV as Order, aK as OrderChannel, b2 as OrderFilter, aR as OrderFulfillmentSummary, aY as OrderGroup, b0 as OrderGroupDetails, aZ as OrderGroupPayment, aX as OrderGroupPaymentState, a$ as OrderGroupPaymentSummary, aW as OrderHistory, aM as OrderLineState, aN as OrderLineStatus, b1 as OrderPaymentEvent, O as OrderQueries, a_ as OrderSplitDetail, aI as OrderStatus, cD as OrderType, o as OtpResult, a9 as PAYMENT_METHOD, al as PAYMENT_MUTATION, ab as PAYMENT_STATE, ac as PICKUP_TIME_TYPE, cO as ParentToIframeMessage, cG as PaymentMethodInfo, aJ as PaymentState, cp as PickupTime, co as PickupTimeType, P as PriceQuote, bf as PricingOverrides, a0 as ProcessAndResolveOptions, _ as ProcessCheckoutOptions, $ as ProcessCheckoutResult, b$ as ProductStock, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, b6 as RefundOrderInput, b9 as ReminderMethod, bc as ReminderSettings, cw as RequestContext, cz as RequestErrorEvent, cl as RequestOtpInput, h as RequestSource, cx as RequestStartEvent, cy as RequestSuccessEvent, bT as RescheduleBookingInput, bW as RescheduleBookingResult, bi as ResourceAssignment, ap as Result, cA as RetryEvent, ck as RevokeAllSessionsResult, cj as RevokeSessionResult, by as Room, bg as SchedulingMetadata, bj as SchedulingResult, S as SchedulingService, bG as Service, bX as ServiceAvailabilityParams, bY as ServiceAvailabilityResult, bz as ServiceCharge, be as ServiceNotes, bl as ServiceScheduleRequest, b7 as ServiceStatus, cB as SessionChangeEvent, bH as Staff, bh as StaffAssignment, b8 as StaffRole, bm as StaffScheduleItem, b_ as StockLevel, bZ as StockStatus, bA as StorefrontBootstrap, bx as Table, u as TableInfo, bu as TimeRange, bv as TimeRanges, bI as TimeSlot, s as TrackCategoryViewOptions, T as TrackProductViewOptions, c9 as UpdateAddressInput, b4 as UpdateOrderStatusInput, U as UpdateProfileInput, c0 as VariantStock, cm as VerifyOtpInput, aE as combine, aF as combineObject, c as createCimplifyClient, x as createElements, at as err, ay as flatMap, aC as fromPromise, l as generateIdempotencyKey, az as getOrElse, av as isErr, au as isOk, ax as mapError, aw as mapResult, as as ok, aB as toNullable, aD as tryCatch, aA as unwrap } from './client-B3payjUV.mjs';
2
2
  export { QueryBuilder, query } from './advanced.mjs';
3
- import { A as ApiError } from './payment-C6ULw3K-.mjs';
4
- export { F as AddOn, aJ as AddOnDetails, b3 as AddOnGroupDetails, H as AddOnOption, b2 as AddOnOptionDetails, J as AddOnOptionPrice, G as AddOnWithOptions, b8 as AddToCartInput, be as AddressAuthorizationData, ay as AdjustmentType, aF as AppliedDiscount, bf as AuthorizationType, aE as BenefitType, U as Bundle, _ as BundleComponentData, $ as BundleComponentInfo, a1 as BundleComponentVariantView, a0 as BundleComponentView, T as BundlePriceType, X as BundleProduct, aO as BundleSelectionData, aM as BundleSelectionInput, aN as BundleStoredSelection, W as BundleSummary, Y as BundleWithDetails, aT as Cart, aK as CartAddOn, aw as CartChannel, aU as CartItem, b5 as CartItemDetails, av as CartStatus, ba as CartSummary, aV as CartTotals, L as Category, N as CategorySummary, aD as ChosenPrice, g as CimplifyError, O as Collection, R as CollectionProduct, Q as CollectionSummary, a9 as ComponentGroup, aa as ComponentGroupWithComponents, ag as ComponentPriceBreakdown, ae as ComponentSelectionInput, a6 as ComponentSourceType, a7 as Composite, ad as CompositeComponent, ac as CompositeComponentView, ab as CompositeGroupView, aQ as CompositePriceBreakdown, af as CompositePriceResult, a4 as CompositePricingMode, aR as CompositeSelectionData, ae as CompositeSelectionInput, aP as CompositeStoredSelection, a8 as CompositeWithDetails, C as CurrencyCode, aq as Deal, ap as DealBenefitType, q as DepositType, p as DigitalProductType, aG as DiscountBreakdown, aH as DiscountDetails, as as DiscountValidation, aY as DisplayAddOn, aZ as DisplayAddOnOption, aW as DisplayCart, aX as DisplayCartItem, D as DisplayMode, f as ERROR_HINTS, E as ErrorCode, d as ErrorCodeType, e as ErrorHint, a5 as GroupPricingBehavior, bj as InitializePaymentResult, I as InventoryType, aS as LineConfiguration, aj as LocationProductPrice, M as Money, b as Pagination, P as PaginationParams, bi as Payment, bm as PaymentErrorDetails, bh as PaymentMethod, bd as PaymentMethodType, bg as PaymentProcessingState, bc as PaymentProvider, bk as PaymentResponse, bb as PaymentStatus, bl as PaymentStatusResponse, ai as Price, az as PriceAdjustment, aC as PriceDecisionPath, ah as PriceEntryType, aB as PricePathTaxInfo, ax as PriceSource, r as Product, K as ProductAddOn, ak as ProductAvailability, ao as ProductAvailabilityNow, ar as ProductDealInfo, o as ProductRenderHint, am as ProductTaxonomy, al as ProductTimeProfile, n as ProductType, t as ProductVariant, y as ProductVariantValue, s as ProductWithDetails, S as SalesChannel, aI as SelectedAddOnOption, bn as SubmitAuthorizationInput, at as Tag, au as TagsResponse, aA as TaxPathComponent, an as TaxonomyWithChildren, b6 as UICart, a_ as UICartBusiness, b0 as UICartCustomer, a$ as UICartLocation, b1 as UICartPricing, b7 as UICartResponse, b9 as UpdateCartItemInput, v as VariantAxis, B as VariantAxisSelection, x as VariantAxisValue, a3 as VariantAxisValueView, a2 as VariantAxisView, w as VariantAxisWithValues, aL as VariantDetails, b4 as VariantDetailsDTO, u as VariantDisplayAttribute, z as VariantLocationAvailability, V as VariantStrategy, Z as ZERO, c as currencyCode, k as enrichError, j as getErrorHint, h as isCimplifyError, l as isRetryableError, i as isSupportedCurrency, m as money, a as moneyFromNumber } from './payment-C6ULw3K-.mjs';
3
+ import { A as ApiError } from './payment-CO2tRThu.mjs';
4
+ export { R as AddOn, aT as AddOnDetails, bd as AddOnGroupDetails, W as AddOnOption, bc as AddOnOptionDetails, X as AddOnOptionPrice, U as AddOnWithOptions, bi as AddToCartInput, bo as AddressAuthorizationData, aI as AdjustmentType, aP as AppliedDiscount, s as AttributeAppliesTo, r as AttributeType, bp as AuthorizationType, aO as BenefitType, a4 as Bundle, a8 as BundleComponentData, a9 as BundleComponentInfo, ab as BundleComponentVariantView, aa as BundleComponentView, a3 as BundlePriceType, a6 as BundleProduct, aY as BundleSelectionData, aW as BundleSelectionInput, aX as BundleStoredSelection, a5 as BundleSummary, a7 as BundleWithDetails, b1 as Cart, aU as CartAddOn, aG as CartChannel, b2 as CartItem, bf as CartItemDetails, aF as CartStatus, bk as CartSummary, b3 as CartTotals, _ as Category, $ as CategorySummary, aN as ChosenPrice, g as CimplifyError, a0 as Collection, a2 as CollectionProduct, a1 as CollectionSummary, aj as ComponentGroup, ak as ComponentGroupWithComponents, aq as ComponentPriceBreakdown, ao as ComponentSelectionInput, ag as ComponentSourceType, ah as Composite, an as CompositeComponent, am as CompositeComponentView, al as CompositeGroupView, a_ as CompositePriceBreakdown, ap as CompositePriceResult, ae as CompositePricingMode, a$ as CompositeSelectionData, ao as CompositeSelectionInput, aZ as CompositeStoredSelection, ai as CompositeWithDetails, C as CurrencyCode, t as CustomAttributeDefinition, u as CustomAttributeValue, aA as Deal, az as DealBenefitType, q as DepositType, p as DigitalProductType, aQ as DiscountBreakdown, aR as DiscountDetails, aC as DiscountValidation, b6 as DisplayAddOn, b7 as DisplayAddOnOption, b4 as DisplayCart, b5 as DisplayCartItem, D as DisplayMode, f as ERROR_HINTS, E as ErrorCode, d as ErrorCodeType, e as ErrorHint, F as FacetValue, af as GroupPricingBehavior, bt as InitializePaymentResult, I as InventoryType, K as KnowledgeArticle, b0 as LineConfiguration, at as LocationProductPrice, M as Money, b as Pagination, P as PaginationParams, bs as Payment, bw as PaymentErrorDetails, br as PaymentMethod, bn as PaymentMethodType, bq as PaymentProcessingState, bm as PaymentProvider, bu as PaymentResponse, bl as PaymentStatus, bv as PaymentStatusResponse, as as Price, aJ as PriceAdjustment, aM as PriceDecisionPath, ar as PriceEntryType, aL as PricePathTaxInfo, aH as PriceSource, y as Product, Y as ProductAddOn, au as ProductAvailability, ay as ProductAvailabilityNow, aB as ProductDealInfo, w as ProductProperty, o as ProductRenderHint, aw as ProductTaxonomy, av as ProductTimeProfile, n as ProductType, B as ProductVariant, N as ProductVariantValue, z as ProductWithDetails, x as PropertyFacet, v as PropertySource, S as SalesChannel, aS as SelectedAddOnOption, bx as SubmitAuthorizationInput, aD as Tag, aE as TagsResponse, aK as TaxPathComponent, T as TaxonomyAttributeTemplate, ax as TaxonomyWithChildren, bg as UICart, b8 as UICartBusiness, ba as UICartCustomer, b9 as UICartLocation, bb as UICartPricing, bh as UICartResponse, bj as UpdateCartItemInput, H as VariantAxis, Q as VariantAxisSelection, L as VariantAxisValue, ad as VariantAxisValueView, ac as VariantAxisView, J as VariantAxisWithValues, aV as VariantDetails, be as VariantDetailsDTO, G as VariantDisplayAttribute, O as VariantLocationAvailability, V as VariantStrategy, Z as ZERO, c as currencyCode, k as enrichError, j as getErrorHint, h as isCimplifyError, l as isRetryableError, i as isSupportedCurrency, m as money, a as moneyFromNumber } from './payment-CO2tRThu.mjs';
5
5
  export { CURRENCY_SYMBOLS, MOBILE_MONEY_PROVIDERS, categorizePaymentError, detectMobileMoneyProvider, formatMoney, formatNumberCompact, formatPrice, formatPriceAdjustment, formatPriceCompact, formatPriceWithTax, formatProductPrice, getBasePrice, getCurrencySymbol, getDiscountPercentage, getDisplayPrice, getMarkupPercentage, getProductCurrency, getTaxAmount, hasTaxInfo, isOnSale, isPaymentStatusFailure, isPaymentStatusRequiresAction, isPaymentStatusSuccess, isTaxInclusive, isValidPhoneForContext, normalizePaymentResponse, normalizePhoneToE164, normalizeStatusResponse, parsePrice, resolvePhoneCountryCode } from './utils.mjs';
6
6
  export { c as AdConfig, e as AdContextValue, d as AdCreative, a as AdPosition, A as AdSlot, b as AdTheme, g as getVariantDisplayName } from './ads-BxbWrwqp.mjs';
7
- export { a as FormatCompactOptions, F as FormatPriceOptions, P as ProductWithPrice } from './price-CbR6DCt0.mjs';
7
+ export { a as FormatCompactOptions, F as FormatPriceOptions, P as ProductWithPrice } from './price-Dg7MJEsL.mjs';
8
8
  import 'libphonenumber-js';
9
9
 
10
10
  interface FrontendContext {
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- export { af as AUTHORIZATION_TYPE, ak as AUTH_MUTATION, a4 as AbortablePromise, s as ActivityService, cd as AddressData, cG as AddressInfo, aU as AmountToPay, co as AuthResponse, A as AuthService, n as AuthStatus, cI as AuthenticatedCustomer, cK as AuthenticatedData, c3 as AvailabilityResult, bK as AvailableSlot, bN as Booking, bM as BookingStatus, bO as BookingWithDetails, bc as BufferTimes, br as Business, bF as BusinessHours, bq as BusinessPreferences, B as BusinessService, bE as BusinessSettings, bp as BusinessType, bC as BusinessWithLocations, a8 as CHECKOUT_MODE, al as CHECKOUT_MUTATION, ab as CHECKOUT_STEP, ah as CONTACT_TYPE, bV as CancelBookingInput, bW as CancelBookingResult, b6 as CancelOrderInput, be as CancellationPolicy, j as CartOperations, b as CatalogueQueries, aH as CatalogueResult, aI as CatalogueSnapshot, bG as CategoryInfo, bS as CheckSlotAvailabilityInput, bT as CheckSlotAvailabilityResult, cr as CheckoutAddressInfo, cO as CheckoutCartData, cN as CheckoutCartItem, ct as CheckoutCustomerInfo, Y as CheckoutFormData, b4 as CheckoutInput, N as CheckoutMode, k as CheckoutOperations, V as CheckoutOrderType, W as CheckoutPaymentMethod, Z as CheckoutResult, k as CheckoutService, a2 as CheckoutStatus, a3 as CheckoutStatusContext, X as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, x as CimplifyElement, w as CimplifyElements, a7 as ContactType, c9 as CreateAddressInput, cb as CreateMobileMoneyInput, c4 as Customer, c5 as CustomerAddress, bQ as CustomerBooking, bP as CustomerBookingServiceItem, c7 as CustomerLinkPreferences, c6 as CustomerMobileMoney, bb as CustomerServicePreferences, ap as DEFAULT_COUNTRY, ao as DEFAULT_CURRENCY, ag as DEVICE_TYPE, bL as DayAvailability, bl as DepositResult, a6 as DeviceType, z as ELEMENT_TYPES, E as EVENT_TYPES, cF as ElementAppearance, cR as ElementEventHandler, K as ElementEventType, H as ElementOptions, J as ElementType, cL as ElementsCheckoutData, cM as ElementsCheckoutResult, cJ as ElementsCustomerInfo, D as ElementsOptions, cf as EnrollAndLinkOrderInput, ci as EnrollAndLinkOrderResult, cc as EnrollmentData, as as Err, aT as FeeBearerType, F as FetchQuoteInput, aR as FulfillmentLink, aQ as FulfillmentStatus, aP as FulfillmentType, cv as FxQuote, cu as FxQuoteRequest, cw as FxRateResponse, r as FxService, bR as GetAvailableSlotsInput, m as GetOrdersOptions, G as GetProductsOptions, cQ as IframeToParentMessage, I as InventoryService, aj as LINK_MUTATION, ai as LINK_QUERY, aV as LineItem, aM as LineType, c8 as LinkData, ch as LinkEnrollResult, L as LinkService, cj as LinkSession, cg as LinkStatusResult, u as LiteBootstrap, q as LiteService, bu as Location, bo as LocationAppointment, c2 as LocationStock, bs as LocationTaxBehavior, bt as LocationTaxOverrides, bx as LocationTimeProfile, bD as LocationWithDetails, M as MESSAGE_TYPES, ae as MOBILE_MONEY_PROVIDER, ce as MobileMoneyData, cs as MobileMoneyDetails, a5 as MobileMoneyProvider, _ as NextAction, an as ORDER_MUTATION, a9 as ORDER_TYPE, cD as ObservabilityHooks, ar as Ok, aW as Order, aL as OrderChannel, b3 as OrderFilter, aS as OrderFulfillmentSummary, aZ as OrderGroup, b1 as OrderGroupDetails, a_ as OrderGroupPayment, aY as OrderGroupPaymentState, b0 as OrderGroupPaymentSummary, aX as OrderHistory, aN as OrderLineState, aO as OrderLineStatus, b2 as OrderPaymentEvent, O as OrderQueries, a$ as OrderSplitDetail, aJ as OrderStatus, cE as OrderType, o as OtpResult, aa as PAYMENT_METHOD, am as PAYMENT_MUTATION, ac as PAYMENT_STATE, ad as PICKUP_TIME_TYPE, cP as ParentToIframeMessage, cH as PaymentMethodInfo, aK as PaymentState, cq as PickupTime, cp as PickupTimeType, P as PriceQuote, bg as PricingOverrides, a1 as ProcessAndResolveOptions, $ as ProcessCheckoutOptions, a0 as ProcessCheckoutResult, c0 as ProductStock, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, b7 as RefundOrderInput, ba as ReminderMethod, bd as ReminderSettings, cx as RequestContext, cA as RequestErrorEvent, cm as RequestOtpInput, h as RequestSource, cy as RequestStartEvent, cz as RequestSuccessEvent, bU as RescheduleBookingInput, bX as RescheduleBookingResult, bj as ResourceAssignment, aq as Result, cB as RetryEvent, cl as RevokeAllSessionsResult, ck as RevokeSessionResult, bz as Room, bh as SchedulingMetadata, bk as SchedulingResult, p as SchedulingService, S as SearchOptions, bH as Service, bY as ServiceAvailabilityParams, bZ as ServiceAvailabilityResult, bA as ServiceCharge, bf as ServiceNotes, bm as ServiceScheduleRequest, b8 as ServiceStatus, cC as SessionChangeEvent, bI as Staff, bi as StaffAssignment, b9 as StaffRole, bn as StaffScheduleItem, b$ as StockLevel, b_ as StockStatus, bB as StorefrontBootstrap, by as Table, v as TableInfo, bv as TimeRange, bw as TimeRanges, bJ as TimeSlot, t as TrackCategoryViewOptions, T as TrackProductViewOptions, ca as UpdateAddressInput, b5 as UpdateOrderStatusInput, U as UpdateProfileInput, c1 as VariantStock, cn as VerifyOtpInput, aF as combine, aG as combineObject, c as createCimplifyClient, y as createElements, au as err, az as flatMap, aD as fromPromise, l as generateIdempotencyKey, aA as getOrElse, aw as isErr, av as isOk, ay as mapError, ax as mapResult, at as ok, aC as toNullable, aE as tryCatch, aB as unwrap } from './client-C59R79gx.js';
1
+ export { ae as AUTHORIZATION_TYPE, aj as AUTH_MUTATION, a3 as AbortablePromise, r as ActivityService, cc as AddressData, cF as AddressInfo, aT as AmountToPay, cn as AuthResponse, A as AuthService, n as AuthStatus, cH as AuthenticatedCustomer, cJ as AuthenticatedData, c2 as AvailabilityResult, bJ as AvailableSlot, bM as Booking, bL as BookingStatus, bN as BookingWithDetails, bb as BufferTimes, bq as Business, bE as BusinessHours, bp as BusinessPreferences, B as BusinessService, bD as BusinessSettings, bo as BusinessType, bB as BusinessWithLocations, a7 as CHECKOUT_MODE, ak as CHECKOUT_MUTATION, aa as CHECKOUT_STEP, ag as CONTACT_TYPE, bU as CancelBookingInput, bV as CancelBookingResult, b5 as CancelOrderInput, bd as CancellationPolicy, j as CartOperations, b as CatalogueQueries, aG as CatalogueResult, aH as CatalogueSnapshot, bF as CategoryInfo, bR as CheckSlotAvailabilityInput, bS as CheckSlotAvailabilityResult, cq as CheckoutAddressInfo, cN as CheckoutCartData, cM as CheckoutCartItem, cs as CheckoutCustomerInfo, X as CheckoutFormData, b3 as CheckoutInput, K as CheckoutMode, k as CheckoutOperations, N as CheckoutOrderType, V as CheckoutPaymentMethod, Y as CheckoutResult, k as CheckoutService, a1 as CheckoutStatus, a2 as CheckoutStatusContext, W as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, w as CimplifyElement, v as CimplifyElements, a6 as ContactType, c8 as CreateAddressInput, ca as CreateMobileMoneyInput, c3 as Customer, c4 as CustomerAddress, bP as CustomerBooking, bO as CustomerBookingServiceItem, c6 as CustomerLinkPreferences, c5 as CustomerMobileMoney, ba as CustomerServicePreferences, ao as DEFAULT_COUNTRY, an as DEFAULT_CURRENCY, af as DEVICE_TYPE, bK as DayAvailability, bk as DepositResult, a5 as DeviceType, y as ELEMENT_TYPES, E as EVENT_TYPES, cE as ElementAppearance, cQ as ElementEventHandler, J as ElementEventType, D as ElementOptions, H as ElementType, cK as ElementsCheckoutData, cL as ElementsCheckoutResult, cI as ElementsCustomerInfo, z as ElementsOptions, ce as EnrollAndLinkOrderInput, ch as EnrollAndLinkOrderResult, cb as EnrollmentData, ar as Err, aS as FeeBearerType, F as FetchQuoteInput, aQ as FulfillmentLink, aP as FulfillmentStatus, aO as FulfillmentType, cu as FxQuote, ct as FxQuoteRequest, cv as FxRateResponse, q as FxService, bQ as GetAvailableSlotsInput, m as GetOrdersOptions, G as GetProductsOptions, cP as IframeToParentMessage, I as InventoryService, ai as LINK_MUTATION, ah as LINK_QUERY, aU as LineItem, aL as LineType, c7 as LinkData, cg as LinkEnrollResult, L as LinkService, ci as LinkSession, cf as LinkStatusResult, t as LiteBootstrap, p as LiteService, bt as Location, bn as LocationAppointment, c1 as LocationStock, br as LocationTaxBehavior, bs as LocationTaxOverrides, bw as LocationTimeProfile, bC as LocationWithDetails, M as MESSAGE_TYPES, ad as MOBILE_MONEY_PROVIDER, cd as MobileMoneyData, cr as MobileMoneyDetails, a4 as MobileMoneyProvider, Z as NextAction, am as ORDER_MUTATION, a8 as ORDER_TYPE, cC as ObservabilityHooks, aq as Ok, aV as Order, aK as OrderChannel, b2 as OrderFilter, aR as OrderFulfillmentSummary, aY as OrderGroup, b0 as OrderGroupDetails, aZ as OrderGroupPayment, aX as OrderGroupPaymentState, a$ as OrderGroupPaymentSummary, aW as OrderHistory, aM as OrderLineState, aN as OrderLineStatus, b1 as OrderPaymentEvent, O as OrderQueries, a_ as OrderSplitDetail, aI as OrderStatus, cD as OrderType, o as OtpResult, a9 as PAYMENT_METHOD, al as PAYMENT_MUTATION, ab as PAYMENT_STATE, ac as PICKUP_TIME_TYPE, cO as ParentToIframeMessage, cG as PaymentMethodInfo, aJ as PaymentState, cp as PickupTime, co as PickupTimeType, P as PriceQuote, bf as PricingOverrides, a0 as ProcessAndResolveOptions, _ as ProcessCheckoutOptions, $ as ProcessCheckoutResult, b$ as ProductStock, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, b6 as RefundOrderInput, b9 as ReminderMethod, bc as ReminderSettings, cw as RequestContext, cz as RequestErrorEvent, cl as RequestOtpInput, h as RequestSource, cx as RequestStartEvent, cy as RequestSuccessEvent, bT as RescheduleBookingInput, bW as RescheduleBookingResult, bi as ResourceAssignment, ap as Result, cA as RetryEvent, ck as RevokeAllSessionsResult, cj as RevokeSessionResult, by as Room, bg as SchedulingMetadata, bj as SchedulingResult, S as SchedulingService, bG as Service, bX as ServiceAvailabilityParams, bY as ServiceAvailabilityResult, bz as ServiceCharge, be as ServiceNotes, bl as ServiceScheduleRequest, b7 as ServiceStatus, cB as SessionChangeEvent, bH as Staff, bh as StaffAssignment, b8 as StaffRole, bm as StaffScheduleItem, b_ as StockLevel, bZ as StockStatus, bA as StorefrontBootstrap, bx as Table, u as TableInfo, bu as TimeRange, bv as TimeRanges, bI as TimeSlot, s as TrackCategoryViewOptions, T as TrackProductViewOptions, c9 as UpdateAddressInput, b4 as UpdateOrderStatusInput, U as UpdateProfileInput, c0 as VariantStock, cm as VerifyOtpInput, aE as combine, aF as combineObject, c as createCimplifyClient, x as createElements, at as err, ay as flatMap, aC as fromPromise, l as generateIdempotencyKey, az as getOrElse, av as isErr, au as isOk, ax as mapError, aw as mapResult, as as ok, aB as toNullable, aD as tryCatch, aA as unwrap } from './client-FNZzXO_v.js';
2
2
  export { QueryBuilder, query } from './advanced.js';
3
- import { A as ApiError } from './payment-C6ULw3K-.js';
4
- export { F as AddOn, aJ as AddOnDetails, b3 as AddOnGroupDetails, H as AddOnOption, b2 as AddOnOptionDetails, J as AddOnOptionPrice, G as AddOnWithOptions, b8 as AddToCartInput, be as AddressAuthorizationData, ay as AdjustmentType, aF as AppliedDiscount, bf as AuthorizationType, aE as BenefitType, U as Bundle, _ as BundleComponentData, $ as BundleComponentInfo, a1 as BundleComponentVariantView, a0 as BundleComponentView, T as BundlePriceType, X as BundleProduct, aO as BundleSelectionData, aM as BundleSelectionInput, aN as BundleStoredSelection, W as BundleSummary, Y as BundleWithDetails, aT as Cart, aK as CartAddOn, aw as CartChannel, aU as CartItem, b5 as CartItemDetails, av as CartStatus, ba as CartSummary, aV as CartTotals, L as Category, N as CategorySummary, aD as ChosenPrice, g as CimplifyError, O as Collection, R as CollectionProduct, Q as CollectionSummary, a9 as ComponentGroup, aa as ComponentGroupWithComponents, ag as ComponentPriceBreakdown, ae as ComponentSelectionInput, a6 as ComponentSourceType, a7 as Composite, ad as CompositeComponent, ac as CompositeComponentView, ab as CompositeGroupView, aQ as CompositePriceBreakdown, af as CompositePriceResult, a4 as CompositePricingMode, aR as CompositeSelectionData, ae as CompositeSelectionInput, aP as CompositeStoredSelection, a8 as CompositeWithDetails, C as CurrencyCode, aq as Deal, ap as DealBenefitType, q as DepositType, p as DigitalProductType, aG as DiscountBreakdown, aH as DiscountDetails, as as DiscountValidation, aY as DisplayAddOn, aZ as DisplayAddOnOption, aW as DisplayCart, aX as DisplayCartItem, D as DisplayMode, f as ERROR_HINTS, E as ErrorCode, d as ErrorCodeType, e as ErrorHint, a5 as GroupPricingBehavior, bj as InitializePaymentResult, I as InventoryType, aS as LineConfiguration, aj as LocationProductPrice, M as Money, b as Pagination, P as PaginationParams, bi as Payment, bm as PaymentErrorDetails, bh as PaymentMethod, bd as PaymentMethodType, bg as PaymentProcessingState, bc as PaymentProvider, bk as PaymentResponse, bb as PaymentStatus, bl as PaymentStatusResponse, ai as Price, az as PriceAdjustment, aC as PriceDecisionPath, ah as PriceEntryType, aB as PricePathTaxInfo, ax as PriceSource, r as Product, K as ProductAddOn, ak as ProductAvailability, ao as ProductAvailabilityNow, ar as ProductDealInfo, o as ProductRenderHint, am as ProductTaxonomy, al as ProductTimeProfile, n as ProductType, t as ProductVariant, y as ProductVariantValue, s as ProductWithDetails, S as SalesChannel, aI as SelectedAddOnOption, bn as SubmitAuthorizationInput, at as Tag, au as TagsResponse, aA as TaxPathComponent, an as TaxonomyWithChildren, b6 as UICart, a_ as UICartBusiness, b0 as UICartCustomer, a$ as UICartLocation, b1 as UICartPricing, b7 as UICartResponse, b9 as UpdateCartItemInput, v as VariantAxis, B as VariantAxisSelection, x as VariantAxisValue, a3 as VariantAxisValueView, a2 as VariantAxisView, w as VariantAxisWithValues, aL as VariantDetails, b4 as VariantDetailsDTO, u as VariantDisplayAttribute, z as VariantLocationAvailability, V as VariantStrategy, Z as ZERO, c as currencyCode, k as enrichError, j as getErrorHint, h as isCimplifyError, l as isRetryableError, i as isSupportedCurrency, m as money, a as moneyFromNumber } from './payment-C6ULw3K-.js';
3
+ import { A as ApiError } from './payment-CO2tRThu.js';
4
+ export { R as AddOn, aT as AddOnDetails, bd as AddOnGroupDetails, W as AddOnOption, bc as AddOnOptionDetails, X as AddOnOptionPrice, U as AddOnWithOptions, bi as AddToCartInput, bo as AddressAuthorizationData, aI as AdjustmentType, aP as AppliedDiscount, s as AttributeAppliesTo, r as AttributeType, bp as AuthorizationType, aO as BenefitType, a4 as Bundle, a8 as BundleComponentData, a9 as BundleComponentInfo, ab as BundleComponentVariantView, aa as BundleComponentView, a3 as BundlePriceType, a6 as BundleProduct, aY as BundleSelectionData, aW as BundleSelectionInput, aX as BundleStoredSelection, a5 as BundleSummary, a7 as BundleWithDetails, b1 as Cart, aU as CartAddOn, aG as CartChannel, b2 as CartItem, bf as CartItemDetails, aF as CartStatus, bk as CartSummary, b3 as CartTotals, _ as Category, $ as CategorySummary, aN as ChosenPrice, g as CimplifyError, a0 as Collection, a2 as CollectionProduct, a1 as CollectionSummary, aj as ComponentGroup, ak as ComponentGroupWithComponents, aq as ComponentPriceBreakdown, ao as ComponentSelectionInput, ag as ComponentSourceType, ah as Composite, an as CompositeComponent, am as CompositeComponentView, al as CompositeGroupView, a_ as CompositePriceBreakdown, ap as CompositePriceResult, ae as CompositePricingMode, a$ as CompositeSelectionData, ao as CompositeSelectionInput, aZ as CompositeStoredSelection, ai as CompositeWithDetails, C as CurrencyCode, t as CustomAttributeDefinition, u as CustomAttributeValue, aA as Deal, az as DealBenefitType, q as DepositType, p as DigitalProductType, aQ as DiscountBreakdown, aR as DiscountDetails, aC as DiscountValidation, b6 as DisplayAddOn, b7 as DisplayAddOnOption, b4 as DisplayCart, b5 as DisplayCartItem, D as DisplayMode, f as ERROR_HINTS, E as ErrorCode, d as ErrorCodeType, e as ErrorHint, F as FacetValue, af as GroupPricingBehavior, bt as InitializePaymentResult, I as InventoryType, K as KnowledgeArticle, b0 as LineConfiguration, at as LocationProductPrice, M as Money, b as Pagination, P as PaginationParams, bs as Payment, bw as PaymentErrorDetails, br as PaymentMethod, bn as PaymentMethodType, bq as PaymentProcessingState, bm as PaymentProvider, bu as PaymentResponse, bl as PaymentStatus, bv as PaymentStatusResponse, as as Price, aJ as PriceAdjustment, aM as PriceDecisionPath, ar as PriceEntryType, aL as PricePathTaxInfo, aH as PriceSource, y as Product, Y as ProductAddOn, au as ProductAvailability, ay as ProductAvailabilityNow, aB as ProductDealInfo, w as ProductProperty, o as ProductRenderHint, aw as ProductTaxonomy, av as ProductTimeProfile, n as ProductType, B as ProductVariant, N as ProductVariantValue, z as ProductWithDetails, x as PropertyFacet, v as PropertySource, S as SalesChannel, aS as SelectedAddOnOption, bx as SubmitAuthorizationInput, aD as Tag, aE as TagsResponse, aK as TaxPathComponent, T as TaxonomyAttributeTemplate, ax as TaxonomyWithChildren, bg as UICart, b8 as UICartBusiness, ba as UICartCustomer, b9 as UICartLocation, bb as UICartPricing, bh as UICartResponse, bj as UpdateCartItemInput, H as VariantAxis, Q as VariantAxisSelection, L as VariantAxisValue, ad as VariantAxisValueView, ac as VariantAxisView, J as VariantAxisWithValues, aV as VariantDetails, be as VariantDetailsDTO, G as VariantDisplayAttribute, O as VariantLocationAvailability, V as VariantStrategy, Z as ZERO, c as currencyCode, k as enrichError, j as getErrorHint, h as isCimplifyError, l as isRetryableError, i as isSupportedCurrency, m as money, a as moneyFromNumber } from './payment-CO2tRThu.js';
5
5
  export { CURRENCY_SYMBOLS, MOBILE_MONEY_PROVIDERS, categorizePaymentError, detectMobileMoneyProvider, formatMoney, formatNumberCompact, formatPrice, formatPriceAdjustment, formatPriceCompact, formatPriceWithTax, formatProductPrice, getBasePrice, getCurrencySymbol, getDiscountPercentage, getDisplayPrice, getMarkupPercentage, getProductCurrency, getTaxAmount, hasTaxInfo, isOnSale, isPaymentStatusFailure, isPaymentStatusRequiresAction, isPaymentStatusSuccess, isTaxInclusive, isValidPhoneForContext, normalizePaymentResponse, normalizePhoneToE164, normalizeStatusResponse, parsePrice, resolvePhoneCountryCode } from './utils.js';
6
6
  export { c as AdConfig, e as AdContextValue, d as AdCreative, a as AdPosition, A as AdSlot, b as AdTheme, g as getVariantDisplayName } from './ads-BxbWrwqp.js';
7
- export { a as FormatCompactOptions, F as FormatPriceOptions, P as ProductWithPrice } from './price-Bd6JBV8W.js';
7
+ export { a as FormatCompactOptions, F as FormatPriceOptions, P as ProductWithPrice } from './price-Bp6JlVzW.js';
8
8
  import 'libphonenumber-js';
9
9
 
10
10
  interface FrontendContext {