@cimplify/sdk 0.6.11 → 0.6.12

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,4 +1,4 @@
1
- import { C as CurrencyCode, M as Money, w as PaymentErrorDetails, u as PaymentResponse, v as PaymentStatusResponse } from './payment-Cu75tmUc.mjs';
1
+ import { an as ChosenPrice, C as CurrencyCode, ak as TaxPathComponent, al as PricePathTaxInfo, M as Money, b5 as PaymentErrorDetails, b3 as PaymentResponse, b4 as PaymentStatusResponse } from './payment-CLIWNMaP.js';
2
2
 
3
3
  /**
4
4
  * Price Types
@@ -9,52 +9,32 @@ import { C as CurrencyCode, M as Money, w as PaymentErrorDetails, u as PaymentRe
9
9
  /**
10
10
  * Individual tax component (e.g., VAT, NHIL, GETFund)
11
11
  */
12
- interface TaxComponent {
13
- /** Tax component name */
14
- name: string;
15
- /** Tax rate as percentage (e.g., 15.0 for 15%) */
16
- rate: number;
17
- }
12
+ /**
13
+ * @deprecated Use `TaxPathComponent` from `types/cart` instead.
14
+ */
15
+ type TaxComponent = TaxPathComponent;
18
16
  /**
19
17
  * Complete tax information from a pricing response
20
18
  */
21
- interface TaxInfo {
22
- /** Total tax rate as percentage */
23
- taxRate: number;
24
- /** Calculated tax amount */
25
- taxAmount: number;
26
- /** Whether tax is included in the displayed price */
27
- isInclusive: boolean;
28
- /** Individual tax components that make up the total */
29
- components: TaxComponent[];
30
- }
19
+ /**
20
+ * @deprecated Use `PricePathTaxInfo` from `types/cart` instead.
21
+ */
22
+ type TaxInfo = PricePathTaxInfo;
31
23
  /**
32
24
  * Price information in snake_case format (as returned from backend)
33
25
  * Used by components that work with raw API responses
34
26
  */
35
- interface PriceInfo {
36
- /** Original price before markup/discount */
37
- base_price: number;
38
- /** Final price after all adjustments */
39
- final_price: number;
40
- /** Markup percentage if applicable */
41
- markup_percentage?: number;
42
- /** Markup amount if applicable */
43
- markup_amount?: number;
44
- /** Currency code (e.g., "GHS", "USD") */
45
- currency?: CurrencyCode;
46
- /** Tax information */
47
- tax_info?: TaxInfo;
48
- /** Decision path showing pricing adjustments */
49
- decision_path?: string;
50
- }
27
+ /**
28
+ * @deprecated Use `ChosenPrice` from `types/cart` instead.
29
+ */
30
+ type PriceInfo = ChosenPrice;
51
31
  /**
52
32
  * Minimal product shape for price utilities.
53
33
  * Uses quote-aware `price_info` and plain numeric fallback fields.
54
34
  */
55
35
  interface ProductWithPrice {
56
36
  /** Pre-parsed price info from backend */
57
- price_info?: PriceInfo;
37
+ price_info?: ChosenPrice;
58
38
  /** Final computed price in plain field form (if provided by API) */
59
39
  final_price?: number | string | null;
60
40
  /** Base/original price in plain field form */
@@ -217,6 +197,26 @@ declare function formatMoney(amount: Money | number, currency?: CurrencyCode): s
217
197
  * parsePrice('invalid') // 0
218
198
  */
219
199
  declare function parsePrice(value: Money | string | number | undefined | null): number;
200
+ /** Check whether tax info exists on the selected price payload. */
201
+ declare function hasTaxInfo(priceInfo: {
202
+ tax_info?: PricePathTaxInfo;
203
+ }): boolean;
204
+ /** Get tax amount from a selected price payload, defaulting to 0 when tax info is absent. */
205
+ declare function getTaxAmount(priceInfo: {
206
+ tax_info?: PricePathTaxInfo;
207
+ }): number;
208
+ /** Check whether the selected price is tax-inclusive. */
209
+ declare function isTaxInclusive(priceInfo: {
210
+ tax_info?: PricePathTaxInfo;
211
+ }): boolean;
212
+ /**
213
+ * Format a final price with tax annotation.
214
+ * Examples: "$10.50 (incl. tax)" or "$10.50 + $1.05 tax"
215
+ */
216
+ declare function formatPriceWithTax(priceInfo: {
217
+ final_price: Money;
218
+ tax_info?: PricePathTaxInfo;
219
+ }, currency?: CurrencyCode): string;
220
220
  /**
221
221
  * Get the display price from a product.
222
222
  * Prefers quote-aware price_info, then plain price fields.
@@ -323,4 +323,4 @@ declare const MOBILE_MONEY_PROVIDERS: {
323
323
  */
324
324
  declare function detectMobileMoneyProvider(phoneNumber: string): "mtn" | "vodafone" | "airtel" | null;
325
325
 
326
- export { CURRENCY_SYMBOLS as C, type FormatPriceOptions as F, MOBILE_MONEY_PROVIDERS as M, type PriceInfo as P, type TaxComponent as T, formatPriceAdjustment as a, formatPriceCompact as b, formatMoney as c, formatNumberCompact as d, formatProductPrice as e, formatPrice as f, getCurrencySymbol as g, getDisplayPrice as h, getBasePrice as i, isOnSale as j, getDiscountPercentage as k, getMarkupPercentage as l, getProductCurrency as m, categorizePaymentError as n, normalizePaymentResponse as o, parsePrice as p, normalizeStatusResponse as q, isPaymentStatusFailure as r, isPaymentStatusRequiresAction as s, isPaymentStatusSuccess as t, detectMobileMoneyProvider as u, type TaxInfo as v, type ProductWithPrice as w, type FormatCompactOptions as x };
326
+ export { type ProductWithPrice as A, type FormatCompactOptions as B, CURRENCY_SYMBOLS as C, type FormatPriceOptions as F, MOBILE_MONEY_PROVIDERS as M, type PriceInfo as P, type TaxComponent as T, formatPriceAdjustment as a, formatPriceCompact as b, formatMoney as c, formatNumberCompact as d, formatProductPrice as e, formatPrice as f, getTaxAmount as g, hasTaxInfo as h, isTaxInclusive as i, formatPriceWithTax as j, getCurrencySymbol as k, getDisplayPrice as l, getBasePrice as m, isOnSale as n, getDiscountPercentage as o, parsePrice as p, getMarkupPercentage as q, getProductCurrency as r, categorizePaymentError as s, normalizePaymentResponse as t, normalizeStatusResponse as u, isPaymentStatusFailure as v, isPaymentStatusRequiresAction as w, isPaymentStatusSuccess as x, detectMobileMoneyProvider as y, type TaxInfo as z };
@@ -1,4 +1,4 @@
1
- import { C as CurrencyCode, M as Money, w as PaymentErrorDetails, u as PaymentResponse, v as PaymentStatusResponse } from './payment-Cu75tmUc.js';
1
+ import { an as ChosenPrice, C as CurrencyCode, ak as TaxPathComponent, al as PricePathTaxInfo, M as Money, b5 as PaymentErrorDetails, b3 as PaymentResponse, b4 as PaymentStatusResponse } from './payment-CLIWNMaP.mjs';
2
2
 
3
3
  /**
4
4
  * Price Types
@@ -9,52 +9,32 @@ import { C as CurrencyCode, M as Money, w as PaymentErrorDetails, u as PaymentRe
9
9
  /**
10
10
  * Individual tax component (e.g., VAT, NHIL, GETFund)
11
11
  */
12
- interface TaxComponent {
13
- /** Tax component name */
14
- name: string;
15
- /** Tax rate as percentage (e.g., 15.0 for 15%) */
16
- rate: number;
17
- }
12
+ /**
13
+ * @deprecated Use `TaxPathComponent` from `types/cart` instead.
14
+ */
15
+ type TaxComponent = TaxPathComponent;
18
16
  /**
19
17
  * Complete tax information from a pricing response
20
18
  */
21
- interface TaxInfo {
22
- /** Total tax rate as percentage */
23
- taxRate: number;
24
- /** Calculated tax amount */
25
- taxAmount: number;
26
- /** Whether tax is included in the displayed price */
27
- isInclusive: boolean;
28
- /** Individual tax components that make up the total */
29
- components: TaxComponent[];
30
- }
19
+ /**
20
+ * @deprecated Use `PricePathTaxInfo` from `types/cart` instead.
21
+ */
22
+ type TaxInfo = PricePathTaxInfo;
31
23
  /**
32
24
  * Price information in snake_case format (as returned from backend)
33
25
  * Used by components that work with raw API responses
34
26
  */
35
- interface PriceInfo {
36
- /** Original price before markup/discount */
37
- base_price: number;
38
- /** Final price after all adjustments */
39
- final_price: number;
40
- /** Markup percentage if applicable */
41
- markup_percentage?: number;
42
- /** Markup amount if applicable */
43
- markup_amount?: number;
44
- /** Currency code (e.g., "GHS", "USD") */
45
- currency?: CurrencyCode;
46
- /** Tax information */
47
- tax_info?: TaxInfo;
48
- /** Decision path showing pricing adjustments */
49
- decision_path?: string;
50
- }
27
+ /**
28
+ * @deprecated Use `ChosenPrice` from `types/cart` instead.
29
+ */
30
+ type PriceInfo = ChosenPrice;
51
31
  /**
52
32
  * Minimal product shape for price utilities.
53
33
  * Uses quote-aware `price_info` and plain numeric fallback fields.
54
34
  */
55
35
  interface ProductWithPrice {
56
36
  /** Pre-parsed price info from backend */
57
- price_info?: PriceInfo;
37
+ price_info?: ChosenPrice;
58
38
  /** Final computed price in plain field form (if provided by API) */
59
39
  final_price?: number | string | null;
60
40
  /** Base/original price in plain field form */
@@ -217,6 +197,26 @@ declare function formatMoney(amount: Money | number, currency?: CurrencyCode): s
217
197
  * parsePrice('invalid') // 0
218
198
  */
219
199
  declare function parsePrice(value: Money | string | number | undefined | null): number;
200
+ /** Check whether tax info exists on the selected price payload. */
201
+ declare function hasTaxInfo(priceInfo: {
202
+ tax_info?: PricePathTaxInfo;
203
+ }): boolean;
204
+ /** Get tax amount from a selected price payload, defaulting to 0 when tax info is absent. */
205
+ declare function getTaxAmount(priceInfo: {
206
+ tax_info?: PricePathTaxInfo;
207
+ }): number;
208
+ /** Check whether the selected price is tax-inclusive. */
209
+ declare function isTaxInclusive(priceInfo: {
210
+ tax_info?: PricePathTaxInfo;
211
+ }): boolean;
212
+ /**
213
+ * Format a final price with tax annotation.
214
+ * Examples: "$10.50 (incl. tax)" or "$10.50 + $1.05 tax"
215
+ */
216
+ declare function formatPriceWithTax(priceInfo: {
217
+ final_price: Money;
218
+ tax_info?: PricePathTaxInfo;
219
+ }, currency?: CurrencyCode): string;
220
220
  /**
221
221
  * Get the display price from a product.
222
222
  * Prefers quote-aware price_info, then plain price fields.
@@ -323,4 +323,4 @@ declare const MOBILE_MONEY_PROVIDERS: {
323
323
  */
324
324
  declare function detectMobileMoneyProvider(phoneNumber: string): "mtn" | "vodafone" | "airtel" | null;
325
325
 
326
- export { CURRENCY_SYMBOLS as C, type FormatPriceOptions as F, MOBILE_MONEY_PROVIDERS as M, type PriceInfo as P, type TaxComponent as T, formatPriceAdjustment as a, formatPriceCompact as b, formatMoney as c, formatNumberCompact as d, formatProductPrice as e, formatPrice as f, getCurrencySymbol as g, getDisplayPrice as h, getBasePrice as i, isOnSale as j, getDiscountPercentage as k, getMarkupPercentage as l, getProductCurrency as m, categorizePaymentError as n, normalizePaymentResponse as o, parsePrice as p, normalizeStatusResponse as q, isPaymentStatusFailure as r, isPaymentStatusRequiresAction as s, isPaymentStatusSuccess as t, detectMobileMoneyProvider as u, type TaxInfo as v, type ProductWithPrice as w, type FormatCompactOptions as x };
326
+ export { type ProductWithPrice as A, type FormatCompactOptions as B, CURRENCY_SYMBOLS as C, type FormatPriceOptions as F, MOBILE_MONEY_PROVIDERS as M, type PriceInfo as P, type TaxComponent as T, formatPriceAdjustment as a, formatPriceCompact as b, formatMoney as c, formatNumberCompact as d, formatProductPrice as e, formatPrice as f, getTaxAmount as g, hasTaxInfo as h, isTaxInclusive as i, formatPriceWithTax as j, getCurrencySymbol as k, getDisplayPrice as l, getBasePrice as m, isOnSale as n, getDiscountPercentage as o, parsePrice as p, getMarkupPercentage as q, getProductCurrency as r, categorizePaymentError as s, normalizePaymentResponse as t, normalizeStatusResponse as u, isPaymentStatusFailure as v, isPaymentStatusRequiresAction as w, isPaymentStatusSuccess as x, detectMobileMoneyProvider as y, type TaxInfo as z };
package/dist/index.d.mts CHANGED
@@ -1,8 +1,8 @@
1
- export { ad as AUTHORIZATION_TYPE, ai as AUTH_MUTATION, a2 as AbortablePromise, aV as AddOn, bE as AddOnDetails, b_ as AddOnGroupDetails, aX as AddOnOption, bZ as AddOnOptionDetails, aY as AddOnOptionPrice, aW as AddOnWithOptions, c3 as AddToCartInput, dN as AddressData, ed as AddressInfo, bt as AdjustmentType, ch as AmountToPay, bA as AppliedDiscount, dY as AuthResponse, A as AuthService, m as AuthStatus, ef as AuthenticatedCustomer, eh as AuthenticatedData, dB as AvailabilityCheck, dC as AvailabilityResult, di as AvailableSlot, bz as BenefitType, dl as Booking, dc as BookingRequirementOverride, dk as BookingStatus, dm as BookingWithDetails, cB as BufferTimes, b4 as Bundle, b8 as BundleComponentData, b9 as BundleComponentInfo, b3 as BundlePriceType, b6 as BundleProduct, bJ as BundleSelectionData, bH as BundleSelectionInput, bI as BundleStoredSelection, b5 as BundleSummary, b7 as BundleWithDetails, cQ as Business, d2 as BusinessHours, cP as BusinessPreferences, B as BusinessService, d1 as BusinessSettings, cO as BusinessType, c$ as BusinessWithLocations, a6 as CHECKOUT_MODE, aj as CHECKOUT_MUTATION, a9 as CHECKOUT_STEP, af as CONTACT_TYPE, dr as CancelBookingInput, cv as CancelOrderInput, cD as CancellationPolicy, bO as Cart, bF as CartAddOn, br as CartChannel, bP as CartItem, c0 as CartItemDetails, i as CartOperations, bq as CartStatus, c5 as CartSummary, bQ as CartTotals, b as CatalogueQueries, a_ as Category, d3 as CategoryInfo, a$ as CategorySummary, o as ChangePasswordInput, dp as CheckSlotAvailabilityInput, d$ as CheckoutAddressInfo, e1 as CheckoutCustomerInfo, X as CheckoutFormData, ct as CheckoutInput, J as CheckoutMode, j as CheckoutOperations, N as CheckoutOrderType, V as CheckoutPaymentMethod, Y as CheckoutResult, j as CheckoutService, a0 as CheckoutStatus, a1 as CheckoutStatusContext, W as CheckoutStep, by as ChosenPrice, C as CimplifyClient, a as CimplifyConfig, v as CimplifyElement, u as CimplifyElements, b0 as Collection, b2 as CollectionProduct, b1 as CollectionSummary, bf as ComponentGroup, bg as ComponentGroupWithComponents, bk as ComponentPriceBreakdown, bi as ComponentSelectionInput, bc as ComponentSourceType, bd as Composite, bh as CompositeComponent, bL as CompositePriceBreakdown, bj as CompositePriceResult, ba as CompositePricingMode, bM as CompositeSelectionData, bi as CompositeSelectionInput, bK as CompositeStoredSelection, be as CompositeWithDetails, a5 as ContactType, dJ as CreateAddressInput, dL as CreateMobileMoneyInput, dE as Customer, dF as CustomerAddress, dH as CustomerLinkPreferences, dG as CustomerMobileMoney, cA as CustomerServicePreferences, an as DEFAULT_COUNTRY, am as DEFAULT_CURRENCY, ae as DEVICE_TYPE, dj as DayAvailability, cK as DepositResult, aJ as DepositType, a4 as DeviceType, aI as DigitalProductType, bB as DiscountBreakdown, bC as DiscountDetails, bT as DisplayAddOn, bU as DisplayAddOnOption, bR as DisplayCart, bS as DisplayCartItem, x as ELEMENT_TYPES, E as EVENT_TYPES, ec as ElementAppearance, em as ElementEventHandler, H as ElementEventType, z as ElementOptions, D as ElementType, ei as ElementsCheckoutData, ej as ElementsCheckoutResult, eg as ElementsCustomerInfo, y as ElementsOptions, dP as EnrollAndLinkOrderInput, dS as EnrollAndLinkOrderResult, dM as EnrollmentData, aq as Err, cg as FeeBearerType, F as FetchQuoteInput, ce as FulfillmentLink, cd as FulfillmentStatus, cc as FulfillmentType, e3 as FxQuote, e2 as FxQuoteRequest, e4 as FxRateResponse, r as FxService, dn as GetAvailableSlotsInput, l as GetOrdersOptions, G as GetProductsOptions, bb as GroupPricingBehavior, el as IframeToParentMessage, I as InventoryService, dD as InventorySummary, aG as InventoryType, K as KitchenOrderItem, t as KitchenOrderResult, ah as LINK_MUTATION, ag as LINK_QUERY, bN as LineConfiguration, ci as LineItem, c9 as LineType, dI as LinkData, dR as LinkEnrollResult, L as LinkService, dT as LinkSession, dQ as LinkStatusResult, s as LiteBootstrap, q as LiteService, cT as Location, cN as LocationAppointment, bn as LocationProductPrice, dA as LocationStock, cR as LocationTaxBehavior, cS as LocationTaxOverrides, cW as LocationTimeProfile, d0 as LocationWithDetails, M as MESSAGE_TYPES, ac as MOBILE_MONEY_PROVIDER, dO as MobileMoneyData, e0 as MobileMoneyDetails, a3 as MobileMoneyProvider, al as ORDER_MUTATION, a7 as ORDER_TYPE, eb as ObservabilityHooks, ap as Ok, cj as Order, c8 as OrderChannel, cs as OrderFilter, cf as OrderFulfillmentSummary, cm as OrderGroup, cq as OrderGroupDetails, cn as OrderGroupPayment, cl as OrderGroupPaymentState, cp as OrderGroupPaymentSummary, ck as OrderHistory, ca as OrderLineState, cb as OrderLineStatus, cr as OrderPaymentEvent, O as OrderQueries, co as OrderSplitDetail, c6 as OrderStatus, n as OtpResult, a8 as PAYMENT_METHOD, ak as PAYMENT_MUTATION, aa as PAYMENT_STATE, ab as PICKUP_TIME_TYPE, ek as ParentToIframeMessage, ee as PaymentMethodInfo, c7 as PaymentState, d_ as PickupTime, dZ as PickupTimeType, bm as Price, bu as PriceAdjustment, bx as PriceDecisionPath, bl as PriceEntryType, bw as PricePathTaxInfo, P as PriceQuote, bs as PriceSource, cF as PricingOverrides, $ as ProcessAndResolveOptions, Z as ProcessCheckoutOptions, _ as ProcessCheckoutResult, aL as Product, aZ as ProductAddOn, bo as ProductAvailability, dy as ProductStock, bp as ProductTimeProfile, aF as ProductType, aN as ProductVariant, aS as ProductVariantValue, aM as ProductWithDetails, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, h as RefreshQuoteResult, cw as RefundOrderInput, cz as ReminderMethod, cC as ReminderSettings, e5 as RequestContext, e8 as RequestErrorEvent, dW as RequestOtpInput, e6 as RequestStartEvent, e7 as RequestSuccessEvent, dq as RescheduleBookingInput, cI as ResourceAssignment, d9 as ResourceAvailabilityException, d8 as ResourceAvailabilityRule, dd as ResourceType, ao as Result, e9 as RetryEvent, dV as RevokeAllSessionsResult, dU as RevokeSessionResult, cY as Room, aK as SalesChannel, cG as SchedulingMetadata, cJ as SchedulingResult, p as SchedulingService, S as SearchOptions, bD as SelectedAddOnOption, de as Service, d5 as ServiceAvailabilityException, ds as ServiceAvailabilityParams, dt as ServiceAvailabilityResult, d4 as ServiceAvailabilityRule, cZ as ServiceCharge, cE as ServiceNotes, cL as ServiceScheduleRequest, db as ServiceStaffRequirement, cx as ServiceStatus, df as ServiceWithStaff, ea as SessionChangeEvent, dg as Staff, cH as StaffAssignment, d7 as StaffAvailabilityException, d6 as StaffAvailabilityRule, da as StaffBookingProfile, cy as StaffRole, cM as StaffScheduleItem, dw as Stock, dx as StockLevel, du as StockOwnershipType, dv as StockStatus, c_ as StorefrontBootstrap, cX as Table, T as TableInfo, bv as TaxPathComponent, cU as TimeRange, cV as TimeRanges, dh as TimeSlot, c1 as UICart, bV as UICartBusiness, bX as UICartCustomer, bW as UICartLocation, bY as UICartPricing, c2 as UICartResponse, dK as UpdateAddressInput, c4 as UpdateCartItemInput, cu as UpdateOrderStatusInput, U as UpdateProfileInput, aP as VariantAxis, aU as VariantAxisSelection, aR as VariantAxisValue, aQ as VariantAxisWithValues, bG as VariantDetails, b$ as VariantDetailsDTO, aO as VariantDisplayAttribute, aT as VariantLocationAvailability, dz as VariantStock, aH as VariantStrategy, dX as VerifyOtpInput, aD as combine, aE as combineObject, c as createCimplifyClient, w as createElements, as as err, ax as flatMap, aB as fromPromise, k as generateIdempotencyKey, ay as getOrElse, au as isErr, at as isOk, aw as mapError, av as mapResult, ar as ok, aA as toNullable, aC as tryCatch, az as unwrap } from './client-BngAGN0v.mjs';
1
+ export { ad as AUTHORIZATION_TYPE, ai as AUTH_MUTATION, a2 as AbortablePromise, ck as AddressData, cM as AddressInfo, aR as AmountToPay, cv as AuthResponse, A as AuthService, m as AuthStatus, cO as AuthenticatedCustomer, cQ as AuthenticatedData, c8 as AvailabilityCheck, c9 as AvailabilityResult, bS as AvailableSlot, bV as Booking, bM as BookingRequirementOverride, bU as BookingStatus, bW as BookingWithDetails, b9 as BufferTimes, bo as Business, bC as BusinessHours, bn as BusinessPreferences, B as BusinessService, bB as BusinessSettings, bm as BusinessType, bz as BusinessWithLocations, a6 as CHECKOUT_MODE, aj as CHECKOUT_MUTATION, a9 as CHECKOUT_STEP, af as CONTACT_TYPE, b_ as CancelBookingInput, b3 as CancelOrderInput, bb as CancellationPolicy, i as CartOperations, b as CatalogueQueries, aF as CatalogueResult, bD as CategoryInfo, o as ChangePasswordInput, bY as CheckSlotAvailabilityInput, cy as CheckoutAddressInfo, cA as CheckoutCustomerInfo, X as CheckoutFormData, b1 as CheckoutInput, J as CheckoutMode, j as CheckoutOperations, N as CheckoutOrderType, V as CheckoutPaymentMethod, Y as CheckoutResult, j as CheckoutService, a0 as CheckoutStatus, a1 as CheckoutStatusContext, W as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, v as CimplifyElement, u as CimplifyElements, a5 as ContactType, cg as CreateAddressInput, ci as CreateMobileMoneyInput, cb as Customer, cc as CustomerAddress, ce as CustomerLinkPreferences, cd as CustomerMobileMoney, b8 as CustomerServicePreferences, an as DEFAULT_COUNTRY, am as DEFAULT_CURRENCY, ae as DEVICE_TYPE, bT as DayAvailability, bi as DepositResult, a4 as DeviceType, x as ELEMENT_TYPES, E as EVENT_TYPES, cL as ElementAppearance, cV as ElementEventHandler, H as ElementEventType, z as ElementOptions, D as ElementType, cR as ElementsCheckoutData, cS as ElementsCheckoutResult, cP as ElementsCustomerInfo, y as ElementsOptions, cm as EnrollAndLinkOrderInput, cp as EnrollAndLinkOrderResult, cj as EnrollmentData, aq as Err, aQ as FeeBearerType, F as FetchQuoteInput, aO as FulfillmentLink, aN as FulfillmentStatus, aM as FulfillmentType, cC as FxQuote, cB as FxQuoteRequest, cD as FxRateResponse, r as FxService, bX as GetAvailableSlotsInput, l as GetOrdersOptions, G as GetProductsOptions, cU as IframeToParentMessage, I as InventoryService, ca as InventorySummary, K as KitchenOrderItem, t as KitchenOrderResult, ah as LINK_MUTATION, ag as LINK_QUERY, aS as LineItem, aJ as LineType, cf as LinkData, co as LinkEnrollResult, L as LinkService, cq as LinkSession, cn as LinkStatusResult, s as LiteBootstrap, q as LiteService, br as Location, bl as LocationAppointment, c7 as LocationStock, bp as LocationTaxBehavior, bq as LocationTaxOverrides, bu as LocationTimeProfile, bA as LocationWithDetails, M as MESSAGE_TYPES, ac as MOBILE_MONEY_PROVIDER, cl as MobileMoneyData, cz as MobileMoneyDetails, a3 as MobileMoneyProvider, al as ORDER_MUTATION, a7 as ORDER_TYPE, cK as ObservabilityHooks, ap as Ok, aT as Order, aI as OrderChannel, b0 as OrderFilter, aP as OrderFulfillmentSummary, aW as OrderGroup, a_ as OrderGroupDetails, aX as OrderGroupPayment, aV as OrderGroupPaymentState, aZ as OrderGroupPaymentSummary, aU as OrderHistory, aK as OrderLineState, aL as OrderLineStatus, a$ as OrderPaymentEvent, O as OrderQueries, aY as OrderSplitDetail, aG as OrderStatus, n as OtpResult, a8 as PAYMENT_METHOD, ak as PAYMENT_MUTATION, aa as PAYMENT_STATE, ab as PICKUP_TIME_TYPE, cT as ParentToIframeMessage, cN as PaymentMethodInfo, aH as PaymentState, cx as PickupTime, cw as PickupTimeType, P as PriceQuote, bd as PricingOverrides, $ as ProcessAndResolveOptions, Z as ProcessCheckoutOptions, _ as ProcessCheckoutResult, c5 as ProductStock, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, h as RefreshQuoteResult, b4 as RefundOrderInput, b7 as ReminderMethod, ba as ReminderSettings, cE as RequestContext, cH as RequestErrorEvent, ct as RequestOtpInput, cF as RequestStartEvent, cG as RequestSuccessEvent, bZ as RescheduleBookingInput, bg as ResourceAssignment, bJ as ResourceAvailabilityException, bI as ResourceAvailabilityRule, bN as ResourceType, ao as Result, cI as RetryEvent, cs as RevokeAllSessionsResult, cr as RevokeSessionResult, bw as Room, be as SchedulingMetadata, bh as SchedulingResult, p as SchedulingService, S as SearchOptions, bO as Service, bF as ServiceAvailabilityException, b$ as ServiceAvailabilityParams, c0 as ServiceAvailabilityResult, bE as ServiceAvailabilityRule, bx as ServiceCharge, bc as ServiceNotes, bj as ServiceScheduleRequest, bL as ServiceStaffRequirement, b5 as ServiceStatus, bP as ServiceWithStaff, cJ as SessionChangeEvent, bQ as Staff, bf as StaffAssignment, bH as StaffAvailabilityException, bG as StaffAvailabilityRule, bK as StaffBookingProfile, b6 as StaffRole, bk as StaffScheduleItem, c3 as Stock, c4 as StockLevel, c1 as StockOwnershipType, c2 as StockStatus, by as StorefrontBootstrap, bv as Table, T as TableInfo, bs as TimeRange, bt as TimeRanges, bR as TimeSlot, ch as UpdateAddressInput, b2 as UpdateOrderStatusInput, U as UpdateProfileInput, c6 as VariantStock, cu as VerifyOtpInput, aD as combine, aE as combineObject, c as createCimplifyClient, w as createElements, as as err, ax as flatMap, aB as fromPromise, k as generateIdempotencyKey, ay as getOrElse, au as isErr, at as isOk, aw as mapError, av as mapResult, ar as ok, aA as toNullable, aC as tryCatch, az as unwrap } from './client-BIbWQK7v.mjs';
2
2
  export { QueryBuilder, query } from './advanced.mjs';
3
- import { A as ApiError } from './payment-Cu75tmUc.mjs';
4
- export { q as AuthorizationType, h as CimplifyError, b as Currency, C as CurrencyCode, g as ERROR_HINTS, E as ErrorCode, e as ErrorCodeType, f as ErrorHint, I as InitializePaymentResult, M as Money, d as Pagination, P as PaginationParams, t as Payment, w as PaymentErrorDetails, s as PaymentMethod, p as PaymentMethodType, r as PaymentProcessingState, o as PaymentProvider, u as PaymentResponse, n as PaymentStatus, v as PaymentStatusResponse, S as SubmitAuthorizationInput, Z as ZERO, c as currencyCode, k as enrichError, j as getErrorHint, i as isCimplifyError, l as isRetryableError, m as money, a as moneyFromNumber } from './payment-Cu75tmUc.mjs';
5
- export { C as CURRENCY_SYMBOLS, x as FormatCompactOptions, F as FormatPriceOptions, M as MOBILE_MONEY_PROVIDERS, P as PriceInfo, w as ProductWithPrice, T as TaxComponent, v as TaxInfo, n as categorizePaymentError, u as detectMobileMoneyProvider, c as formatMoney, d as formatNumberCompact, f as formatPrice, a as formatPriceAdjustment, b as formatPriceCompact, e as formatProductPrice, i as getBasePrice, g as getCurrencySymbol, k as getDiscountPercentage, h as getDisplayPrice, l as getMarkupPercentage, m as getProductCurrency, j as isOnSale, r as isPaymentStatusFailure, s as isPaymentStatusRequiresAction, t as isPaymentStatusSuccess, o as normalizePaymentResponse, q as normalizeStatusResponse, p as parsePrice } from './index-DaKJxoEh.mjs';
3
+ import { A as ApiError } from './payment-CLIWNMaP.mjs';
4
+ export { B as AddOn, at as AddOnDetails, aP as AddOnGroupDetails, G as AddOnOption, aO as AddOnOptionDetails, H as AddOnOptionPrice, F as AddOnWithOptions, aU as AddToCartInput, ai as AdjustmentType, ap as AppliedDiscount, a_ as AuthorizationType, ao as BenefitType, T as Bundle, Y as BundleComponentData, _ as BundleComponentInfo, R as BundlePriceType, W as BundleProduct, ay as BundleSelectionData, aw as BundleSelectionInput, ax as BundleStoredSelection, U as BundleSummary, X as BundleWithDetails, aD as Cart, au as CartAddOn, ag as CartChannel, aE as CartItem, aR as CartItemDetails, af as CartStatus, aW as CartSummary, aF as CartTotals, K as Category, L as CategorySummary, an as ChosenPrice, h as CimplifyError, N as Collection, Q as CollectionProduct, O as CollectionSummary, a4 as ComponentGroup, a5 as ComponentGroupWithComponents, a9 as ComponentPriceBreakdown, a7 as ComponentSelectionInput, a1 as ComponentSourceType, a2 as Composite, a6 as CompositeComponent, aA as CompositePriceBreakdown, a8 as CompositePriceResult, $ as CompositePricingMode, aB as CompositeSelectionData, a7 as CompositeSelectionInput, az as CompositeStoredSelection, a3 as CompositeWithDetails, b as Currency, C as CurrencyCode, p as DepositType, D as DigitalProductType, aq as DiscountBreakdown, ar as DiscountDetails, aI as DisplayAddOn, aJ as DisplayAddOnOption, aG as DisplayCart, aH as DisplayCartItem, g as ERROR_HINTS, E as ErrorCode, e as ErrorCodeType, f as ErrorHint, a0 as GroupPricingBehavior, b2 as InitializePaymentResult, I as InventoryType, aC as LineConfiguration, ac as LocationProductPrice, M as Money, d as Pagination, P as PaginationParams, b1 as Payment, b5 as PaymentErrorDetails, b0 as PaymentMethod, aZ as PaymentMethodType, a$ as PaymentProcessingState, aY as PaymentProvider, b3 as PaymentResponse, aX as PaymentStatus, b4 as PaymentStatusResponse, ab as Price, aj as PriceAdjustment, am as PriceDecisionPath, aa as PriceEntryType, al as PricePathTaxInfo, ah as PriceSource, q as Product, J as ProductAddOn, ad as ProductAvailability, o as ProductRenderHint, ae as ProductTimeProfile, n as ProductType, s as ProductVariant, x as ProductVariantValue, r as ProductWithDetails, S as SalesChannel, as as SelectedAddOnOption, b6 as SubmitAuthorizationInput, ak as TaxPathComponent, aS as UICart, aK as UICartBusiness, aM as UICartCustomer, aL as UICartLocation, aN as UICartPricing, aT as UICartResponse, aV as UpdateCartItemInput, u as VariantAxis, z as VariantAxisSelection, w as VariantAxisValue, v as VariantAxisWithValues, av as VariantDetails, aQ as VariantDetailsDTO, t as VariantDisplayAttribute, y as VariantLocationAvailability, V as VariantStrategy, Z as ZERO, c as currencyCode, k as enrichError, j as getErrorHint, i as isCimplifyError, l as isRetryableError, m as money, a as moneyFromNumber } from './payment-CLIWNMaP.mjs';
5
+ export { C as CURRENCY_SYMBOLS, B as FormatCompactOptions, F as FormatPriceOptions, M as MOBILE_MONEY_PROVIDERS, P as PriceInfo, A as ProductWithPrice, T as TaxComponent, z as TaxInfo, s as categorizePaymentError, y as detectMobileMoneyProvider, c as formatMoney, d as formatNumberCompact, f as formatPrice, a as formatPriceAdjustment, b as formatPriceCompact, j as formatPriceWithTax, e as formatProductPrice, m as getBasePrice, k as getCurrencySymbol, o as getDiscountPercentage, l as getDisplayPrice, q as getMarkupPercentage, r as getProductCurrency, g as getTaxAmount, h as hasTaxInfo, n as isOnSale, v as isPaymentStatusFailure, w as isPaymentStatusRequiresAction, x as isPaymentStatusSuccess, i as isTaxInclusive, t as normalizePaymentResponse, u as normalizeStatusResponse, p as parsePrice } from './index-Dqaywky7.mjs';
6
6
  export { c as AdConfig, e as AdContextValue, d as AdCreative, a as AdPosition, A as AdSlot, b as AdTheme } from './ads-t3FBTU8p.mjs';
7
7
 
8
8
  /** Context sent with every request to scope operations to a specific location/branch */
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- export { ad as AUTHORIZATION_TYPE, ai as AUTH_MUTATION, a2 as AbortablePromise, aV as AddOn, bE as AddOnDetails, b_ as AddOnGroupDetails, aX as AddOnOption, bZ as AddOnOptionDetails, aY as AddOnOptionPrice, aW as AddOnWithOptions, c3 as AddToCartInput, dN as AddressData, ed as AddressInfo, bt as AdjustmentType, ch as AmountToPay, bA as AppliedDiscount, dY as AuthResponse, A as AuthService, m as AuthStatus, ef as AuthenticatedCustomer, eh as AuthenticatedData, dB as AvailabilityCheck, dC as AvailabilityResult, di as AvailableSlot, bz as BenefitType, dl as Booking, dc as BookingRequirementOverride, dk as BookingStatus, dm as BookingWithDetails, cB as BufferTimes, b4 as Bundle, b8 as BundleComponentData, b9 as BundleComponentInfo, b3 as BundlePriceType, b6 as BundleProduct, bJ as BundleSelectionData, bH as BundleSelectionInput, bI as BundleStoredSelection, b5 as BundleSummary, b7 as BundleWithDetails, cQ as Business, d2 as BusinessHours, cP as BusinessPreferences, B as BusinessService, d1 as BusinessSettings, cO as BusinessType, c$ as BusinessWithLocations, a6 as CHECKOUT_MODE, aj as CHECKOUT_MUTATION, a9 as CHECKOUT_STEP, af as CONTACT_TYPE, dr as CancelBookingInput, cv as CancelOrderInput, cD as CancellationPolicy, bO as Cart, bF as CartAddOn, br as CartChannel, bP as CartItem, c0 as CartItemDetails, i as CartOperations, bq as CartStatus, c5 as CartSummary, bQ as CartTotals, b as CatalogueQueries, a_ as Category, d3 as CategoryInfo, a$ as CategorySummary, o as ChangePasswordInput, dp as CheckSlotAvailabilityInput, d$ as CheckoutAddressInfo, e1 as CheckoutCustomerInfo, X as CheckoutFormData, ct as CheckoutInput, J as CheckoutMode, j as CheckoutOperations, N as CheckoutOrderType, V as CheckoutPaymentMethod, Y as CheckoutResult, j as CheckoutService, a0 as CheckoutStatus, a1 as CheckoutStatusContext, W as CheckoutStep, by as ChosenPrice, C as CimplifyClient, a as CimplifyConfig, v as CimplifyElement, u as CimplifyElements, b0 as Collection, b2 as CollectionProduct, b1 as CollectionSummary, bf as ComponentGroup, bg as ComponentGroupWithComponents, bk as ComponentPriceBreakdown, bi as ComponentSelectionInput, bc as ComponentSourceType, bd as Composite, bh as CompositeComponent, bL as CompositePriceBreakdown, bj as CompositePriceResult, ba as CompositePricingMode, bM as CompositeSelectionData, bi as CompositeSelectionInput, bK as CompositeStoredSelection, be as CompositeWithDetails, a5 as ContactType, dJ as CreateAddressInput, dL as CreateMobileMoneyInput, dE as Customer, dF as CustomerAddress, dH as CustomerLinkPreferences, dG as CustomerMobileMoney, cA as CustomerServicePreferences, an as DEFAULT_COUNTRY, am as DEFAULT_CURRENCY, ae as DEVICE_TYPE, dj as DayAvailability, cK as DepositResult, aJ as DepositType, a4 as DeviceType, aI as DigitalProductType, bB as DiscountBreakdown, bC as DiscountDetails, bT as DisplayAddOn, bU as DisplayAddOnOption, bR as DisplayCart, bS as DisplayCartItem, x as ELEMENT_TYPES, E as EVENT_TYPES, ec as ElementAppearance, em as ElementEventHandler, H as ElementEventType, z as ElementOptions, D as ElementType, ei as ElementsCheckoutData, ej as ElementsCheckoutResult, eg as ElementsCustomerInfo, y as ElementsOptions, dP as EnrollAndLinkOrderInput, dS as EnrollAndLinkOrderResult, dM as EnrollmentData, aq as Err, cg as FeeBearerType, F as FetchQuoteInput, ce as FulfillmentLink, cd as FulfillmentStatus, cc as FulfillmentType, e3 as FxQuote, e2 as FxQuoteRequest, e4 as FxRateResponse, r as FxService, dn as GetAvailableSlotsInput, l as GetOrdersOptions, G as GetProductsOptions, bb as GroupPricingBehavior, el as IframeToParentMessage, I as InventoryService, dD as InventorySummary, aG as InventoryType, K as KitchenOrderItem, t as KitchenOrderResult, ah as LINK_MUTATION, ag as LINK_QUERY, bN as LineConfiguration, ci as LineItem, c9 as LineType, dI as LinkData, dR as LinkEnrollResult, L as LinkService, dT as LinkSession, dQ as LinkStatusResult, s as LiteBootstrap, q as LiteService, cT as Location, cN as LocationAppointment, bn as LocationProductPrice, dA as LocationStock, cR as LocationTaxBehavior, cS as LocationTaxOverrides, cW as LocationTimeProfile, d0 as LocationWithDetails, M as MESSAGE_TYPES, ac as MOBILE_MONEY_PROVIDER, dO as MobileMoneyData, e0 as MobileMoneyDetails, a3 as MobileMoneyProvider, al as ORDER_MUTATION, a7 as ORDER_TYPE, eb as ObservabilityHooks, ap as Ok, cj as Order, c8 as OrderChannel, cs as OrderFilter, cf as OrderFulfillmentSummary, cm as OrderGroup, cq as OrderGroupDetails, cn as OrderGroupPayment, cl as OrderGroupPaymentState, cp as OrderGroupPaymentSummary, ck as OrderHistory, ca as OrderLineState, cb as OrderLineStatus, cr as OrderPaymentEvent, O as OrderQueries, co as OrderSplitDetail, c6 as OrderStatus, n as OtpResult, a8 as PAYMENT_METHOD, ak as PAYMENT_MUTATION, aa as PAYMENT_STATE, ab as PICKUP_TIME_TYPE, ek as ParentToIframeMessage, ee as PaymentMethodInfo, c7 as PaymentState, d_ as PickupTime, dZ as PickupTimeType, bm as Price, bu as PriceAdjustment, bx as PriceDecisionPath, bl as PriceEntryType, bw as PricePathTaxInfo, P as PriceQuote, bs as PriceSource, cF as PricingOverrides, $ as ProcessAndResolveOptions, Z as ProcessCheckoutOptions, _ as ProcessCheckoutResult, aL as Product, aZ as ProductAddOn, bo as ProductAvailability, dy as ProductStock, bp as ProductTimeProfile, aF as ProductType, aN as ProductVariant, aS as ProductVariantValue, aM as ProductWithDetails, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, h as RefreshQuoteResult, cw as RefundOrderInput, cz as ReminderMethod, cC as ReminderSettings, e5 as RequestContext, e8 as RequestErrorEvent, dW as RequestOtpInput, e6 as RequestStartEvent, e7 as RequestSuccessEvent, dq as RescheduleBookingInput, cI as ResourceAssignment, d9 as ResourceAvailabilityException, d8 as ResourceAvailabilityRule, dd as ResourceType, ao as Result, e9 as RetryEvent, dV as RevokeAllSessionsResult, dU as RevokeSessionResult, cY as Room, aK as SalesChannel, cG as SchedulingMetadata, cJ as SchedulingResult, p as SchedulingService, S as SearchOptions, bD as SelectedAddOnOption, de as Service, d5 as ServiceAvailabilityException, ds as ServiceAvailabilityParams, dt as ServiceAvailabilityResult, d4 as ServiceAvailabilityRule, cZ as ServiceCharge, cE as ServiceNotes, cL as ServiceScheduleRequest, db as ServiceStaffRequirement, cx as ServiceStatus, df as ServiceWithStaff, ea as SessionChangeEvent, dg as Staff, cH as StaffAssignment, d7 as StaffAvailabilityException, d6 as StaffAvailabilityRule, da as StaffBookingProfile, cy as StaffRole, cM as StaffScheduleItem, dw as Stock, dx as StockLevel, du as StockOwnershipType, dv as StockStatus, c_ as StorefrontBootstrap, cX as Table, T as TableInfo, bv as TaxPathComponent, cU as TimeRange, cV as TimeRanges, dh as TimeSlot, c1 as UICart, bV as UICartBusiness, bX as UICartCustomer, bW as UICartLocation, bY as UICartPricing, c2 as UICartResponse, dK as UpdateAddressInput, c4 as UpdateCartItemInput, cu as UpdateOrderStatusInput, U as UpdateProfileInput, aP as VariantAxis, aU as VariantAxisSelection, aR as VariantAxisValue, aQ as VariantAxisWithValues, bG as VariantDetails, b$ as VariantDetailsDTO, aO as VariantDisplayAttribute, aT as VariantLocationAvailability, dz as VariantStock, aH as VariantStrategy, dX as VerifyOtpInput, aD as combine, aE as combineObject, c as createCimplifyClient, w as createElements, as as err, ax as flatMap, aB as fromPromise, k as generateIdempotencyKey, ay as getOrElse, au as isErr, at as isOk, aw as mapError, av as mapResult, ar as ok, aA as toNullable, aC as tryCatch, az as unwrap } from './client-DM3-ZG29.js';
1
+ export { ad as AUTHORIZATION_TYPE, ai as AUTH_MUTATION, a2 as AbortablePromise, ck as AddressData, cM as AddressInfo, aR as AmountToPay, cv as AuthResponse, A as AuthService, m as AuthStatus, cO as AuthenticatedCustomer, cQ as AuthenticatedData, c8 as AvailabilityCheck, c9 as AvailabilityResult, bS as AvailableSlot, bV as Booking, bM as BookingRequirementOverride, bU as BookingStatus, bW as BookingWithDetails, b9 as BufferTimes, bo as Business, bC as BusinessHours, bn as BusinessPreferences, B as BusinessService, bB as BusinessSettings, bm as BusinessType, bz as BusinessWithLocations, a6 as CHECKOUT_MODE, aj as CHECKOUT_MUTATION, a9 as CHECKOUT_STEP, af as CONTACT_TYPE, b_ as CancelBookingInput, b3 as CancelOrderInput, bb as CancellationPolicy, i as CartOperations, b as CatalogueQueries, aF as CatalogueResult, bD as CategoryInfo, o as ChangePasswordInput, bY as CheckSlotAvailabilityInput, cy as CheckoutAddressInfo, cA as CheckoutCustomerInfo, X as CheckoutFormData, b1 as CheckoutInput, J as CheckoutMode, j as CheckoutOperations, N as CheckoutOrderType, V as CheckoutPaymentMethod, Y as CheckoutResult, j as CheckoutService, a0 as CheckoutStatus, a1 as CheckoutStatusContext, W as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, v as CimplifyElement, u as CimplifyElements, a5 as ContactType, cg as CreateAddressInput, ci as CreateMobileMoneyInput, cb as Customer, cc as CustomerAddress, ce as CustomerLinkPreferences, cd as CustomerMobileMoney, b8 as CustomerServicePreferences, an as DEFAULT_COUNTRY, am as DEFAULT_CURRENCY, ae as DEVICE_TYPE, bT as DayAvailability, bi as DepositResult, a4 as DeviceType, x as ELEMENT_TYPES, E as EVENT_TYPES, cL as ElementAppearance, cV as ElementEventHandler, H as ElementEventType, z as ElementOptions, D as ElementType, cR as ElementsCheckoutData, cS as ElementsCheckoutResult, cP as ElementsCustomerInfo, y as ElementsOptions, cm as EnrollAndLinkOrderInput, cp as EnrollAndLinkOrderResult, cj as EnrollmentData, aq as Err, aQ as FeeBearerType, F as FetchQuoteInput, aO as FulfillmentLink, aN as FulfillmentStatus, aM as FulfillmentType, cC as FxQuote, cB as FxQuoteRequest, cD as FxRateResponse, r as FxService, bX as GetAvailableSlotsInput, l as GetOrdersOptions, G as GetProductsOptions, cU as IframeToParentMessage, I as InventoryService, ca as InventorySummary, K as KitchenOrderItem, t as KitchenOrderResult, ah as LINK_MUTATION, ag as LINK_QUERY, aS as LineItem, aJ as LineType, cf as LinkData, co as LinkEnrollResult, L as LinkService, cq as LinkSession, cn as LinkStatusResult, s as LiteBootstrap, q as LiteService, br as Location, bl as LocationAppointment, c7 as LocationStock, bp as LocationTaxBehavior, bq as LocationTaxOverrides, bu as LocationTimeProfile, bA as LocationWithDetails, M as MESSAGE_TYPES, ac as MOBILE_MONEY_PROVIDER, cl as MobileMoneyData, cz as MobileMoneyDetails, a3 as MobileMoneyProvider, al as ORDER_MUTATION, a7 as ORDER_TYPE, cK as ObservabilityHooks, ap as Ok, aT as Order, aI as OrderChannel, b0 as OrderFilter, aP as OrderFulfillmentSummary, aW as OrderGroup, a_ as OrderGroupDetails, aX as OrderGroupPayment, aV as OrderGroupPaymentState, aZ as OrderGroupPaymentSummary, aU as OrderHistory, aK as OrderLineState, aL as OrderLineStatus, a$ as OrderPaymentEvent, O as OrderQueries, aY as OrderSplitDetail, aG as OrderStatus, n as OtpResult, a8 as PAYMENT_METHOD, ak as PAYMENT_MUTATION, aa as PAYMENT_STATE, ab as PICKUP_TIME_TYPE, cT as ParentToIframeMessage, cN as PaymentMethodInfo, aH as PaymentState, cx as PickupTime, cw as PickupTimeType, P as PriceQuote, bd as PricingOverrides, $ as ProcessAndResolveOptions, Z as ProcessCheckoutOptions, _ as ProcessCheckoutResult, c5 as ProductStock, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, h as RefreshQuoteResult, b4 as RefundOrderInput, b7 as ReminderMethod, ba as ReminderSettings, cE as RequestContext, cH as RequestErrorEvent, ct as RequestOtpInput, cF as RequestStartEvent, cG as RequestSuccessEvent, bZ as RescheduleBookingInput, bg as ResourceAssignment, bJ as ResourceAvailabilityException, bI as ResourceAvailabilityRule, bN as ResourceType, ao as Result, cI as RetryEvent, cs as RevokeAllSessionsResult, cr as RevokeSessionResult, bw as Room, be as SchedulingMetadata, bh as SchedulingResult, p as SchedulingService, S as SearchOptions, bO as Service, bF as ServiceAvailabilityException, b$ as ServiceAvailabilityParams, c0 as ServiceAvailabilityResult, bE as ServiceAvailabilityRule, bx as ServiceCharge, bc as ServiceNotes, bj as ServiceScheduleRequest, bL as ServiceStaffRequirement, b5 as ServiceStatus, bP as ServiceWithStaff, cJ as SessionChangeEvent, bQ as Staff, bf as StaffAssignment, bH as StaffAvailabilityException, bG as StaffAvailabilityRule, bK as StaffBookingProfile, b6 as StaffRole, bk as StaffScheduleItem, c3 as Stock, c4 as StockLevel, c1 as StockOwnershipType, c2 as StockStatus, by as StorefrontBootstrap, bv as Table, T as TableInfo, bs as TimeRange, bt as TimeRanges, bR as TimeSlot, ch as UpdateAddressInput, b2 as UpdateOrderStatusInput, U as UpdateProfileInput, c6 as VariantStock, cu as VerifyOtpInput, aD as combine, aE as combineObject, c as createCimplifyClient, w as createElements, as as err, ax as flatMap, aB as fromPromise, k as generateIdempotencyKey, ay as getOrElse, au as isErr, at as isOk, aw as mapError, av as mapResult, ar as ok, aA as toNullable, aC as tryCatch, az as unwrap } from './client-2Rmdqutj.js';
2
2
  export { QueryBuilder, query } from './advanced.js';
3
- import { A as ApiError } from './payment-Cu75tmUc.js';
4
- export { q as AuthorizationType, h as CimplifyError, b as Currency, C as CurrencyCode, g as ERROR_HINTS, E as ErrorCode, e as ErrorCodeType, f as ErrorHint, I as InitializePaymentResult, M as Money, d as Pagination, P as PaginationParams, t as Payment, w as PaymentErrorDetails, s as PaymentMethod, p as PaymentMethodType, r as PaymentProcessingState, o as PaymentProvider, u as PaymentResponse, n as PaymentStatus, v as PaymentStatusResponse, S as SubmitAuthorizationInput, Z as ZERO, c as currencyCode, k as enrichError, j as getErrorHint, i as isCimplifyError, l as isRetryableError, m as money, a as moneyFromNumber } from './payment-Cu75tmUc.js';
5
- export { C as CURRENCY_SYMBOLS, x as FormatCompactOptions, F as FormatPriceOptions, M as MOBILE_MONEY_PROVIDERS, P as PriceInfo, w as ProductWithPrice, T as TaxComponent, v as TaxInfo, n as categorizePaymentError, u as detectMobileMoneyProvider, c as formatMoney, d as formatNumberCompact, f as formatPrice, a as formatPriceAdjustment, b as formatPriceCompact, e as formatProductPrice, i as getBasePrice, g as getCurrencySymbol, k as getDiscountPercentage, h as getDisplayPrice, l as getMarkupPercentage, m as getProductCurrency, j as isOnSale, r as isPaymentStatusFailure, s as isPaymentStatusRequiresAction, t as isPaymentStatusSuccess, o as normalizePaymentResponse, q as normalizeStatusResponse, p as parsePrice } from './index-pztT_bcJ.js';
3
+ import { A as ApiError } from './payment-CLIWNMaP.js';
4
+ export { B as AddOn, at as AddOnDetails, aP as AddOnGroupDetails, G as AddOnOption, aO as AddOnOptionDetails, H as AddOnOptionPrice, F as AddOnWithOptions, aU as AddToCartInput, ai as AdjustmentType, ap as AppliedDiscount, a_ as AuthorizationType, ao as BenefitType, T as Bundle, Y as BundleComponentData, _ as BundleComponentInfo, R as BundlePriceType, W as BundleProduct, ay as BundleSelectionData, aw as BundleSelectionInput, ax as BundleStoredSelection, U as BundleSummary, X as BundleWithDetails, aD as Cart, au as CartAddOn, ag as CartChannel, aE as CartItem, aR as CartItemDetails, af as CartStatus, aW as CartSummary, aF as CartTotals, K as Category, L as CategorySummary, an as ChosenPrice, h as CimplifyError, N as Collection, Q as CollectionProduct, O as CollectionSummary, a4 as ComponentGroup, a5 as ComponentGroupWithComponents, a9 as ComponentPriceBreakdown, a7 as ComponentSelectionInput, a1 as ComponentSourceType, a2 as Composite, a6 as CompositeComponent, aA as CompositePriceBreakdown, a8 as CompositePriceResult, $ as CompositePricingMode, aB as CompositeSelectionData, a7 as CompositeSelectionInput, az as CompositeStoredSelection, a3 as CompositeWithDetails, b as Currency, C as CurrencyCode, p as DepositType, D as DigitalProductType, aq as DiscountBreakdown, ar as DiscountDetails, aI as DisplayAddOn, aJ as DisplayAddOnOption, aG as DisplayCart, aH as DisplayCartItem, g as ERROR_HINTS, E as ErrorCode, e as ErrorCodeType, f as ErrorHint, a0 as GroupPricingBehavior, b2 as InitializePaymentResult, I as InventoryType, aC as LineConfiguration, ac as LocationProductPrice, M as Money, d as Pagination, P as PaginationParams, b1 as Payment, b5 as PaymentErrorDetails, b0 as PaymentMethod, aZ as PaymentMethodType, a$ as PaymentProcessingState, aY as PaymentProvider, b3 as PaymentResponse, aX as PaymentStatus, b4 as PaymentStatusResponse, ab as Price, aj as PriceAdjustment, am as PriceDecisionPath, aa as PriceEntryType, al as PricePathTaxInfo, ah as PriceSource, q as Product, J as ProductAddOn, ad as ProductAvailability, o as ProductRenderHint, ae as ProductTimeProfile, n as ProductType, s as ProductVariant, x as ProductVariantValue, r as ProductWithDetails, S as SalesChannel, as as SelectedAddOnOption, b6 as SubmitAuthorizationInput, ak as TaxPathComponent, aS as UICart, aK as UICartBusiness, aM as UICartCustomer, aL as UICartLocation, aN as UICartPricing, aT as UICartResponse, aV as UpdateCartItemInput, u as VariantAxis, z as VariantAxisSelection, w as VariantAxisValue, v as VariantAxisWithValues, av as VariantDetails, aQ as VariantDetailsDTO, t as VariantDisplayAttribute, y as VariantLocationAvailability, V as VariantStrategy, Z as ZERO, c as currencyCode, k as enrichError, j as getErrorHint, i as isCimplifyError, l as isRetryableError, m as money, a as moneyFromNumber } from './payment-CLIWNMaP.js';
5
+ export { C as CURRENCY_SYMBOLS, B as FormatCompactOptions, F as FormatPriceOptions, M as MOBILE_MONEY_PROVIDERS, P as PriceInfo, A as ProductWithPrice, T as TaxComponent, z as TaxInfo, s as categorizePaymentError, y as detectMobileMoneyProvider, c as formatMoney, d as formatNumberCompact, f as formatPrice, a as formatPriceAdjustment, b as formatPriceCompact, j as formatPriceWithTax, e as formatProductPrice, m as getBasePrice, k as getCurrencySymbol, o as getDiscountPercentage, l as getDisplayPrice, q as getMarkupPercentage, r as getProductCurrency, g as getTaxAmount, h as hasTaxInfo, n as isOnSale, v as isPaymentStatusFailure, w as isPaymentStatusRequiresAction, x as isPaymentStatusSuccess, i as isTaxInclusive, t as normalizePaymentResponse, u as normalizeStatusResponse, p as parsePrice } from './index-DAztg_LQ.js';
6
6
  export { c as AdConfig, e as AdContextValue, d as AdCreative, a as AdPosition, A as AdSlot, b as AdTheme } from './ads-t3FBTU8p.js';
7
7
 
8
8
  /** Context sent with every request to scope operations to a specific location/branch */