@cimplify/sdk 0.79.0 → 0.81.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.
Files changed (58) hide show
  1. package/dist/advanced.d.mts +1 -1
  2. package/dist/advanced.d.ts +1 -1
  3. package/dist/advanced.js +20 -20
  4. package/dist/advanced.mjs +1 -1
  5. package/dist/{chunk-3BKMNVTR.mjs → chunk-7BM56JET.mjs} +1 -0
  6. package/dist/{chunk-FURKCWVG.mjs → chunk-7PAQR3VC.mjs} +2 -2
  7. package/dist/{chunk-BNA4GW4D.mjs → chunk-BRVIXGUW.mjs} +60 -0
  8. package/dist/{chunk-5BPBDWAA.js → chunk-GFM5JW45.js} +57 -36
  9. package/dist/{chunk-CV5QMDQS.js → chunk-HPN5R3K2.js} +1 -0
  10. package/dist/{chunk-T7ALPOK7.js → chunk-IZDJEDR4.js} +4 -4
  11. package/dist/{chunk-LBFTEXGD.mjs → chunk-NWUEWUX2.mjs} +22 -1
  12. package/dist/{chunk-OSTOGR4F.js → chunk-SRJEMEVZ.js} +60 -0
  13. package/dist/{client-Cn5trGYV.d.ts → client-BmDNlUMx.d.ts} +44 -2
  14. package/dist/{client-Byysg2IX.d.mts → client-C51FFhDz.d.mts} +2 -2
  15. package/dist/{client-D16qfHAB.d.mts → client-Cx3WLhMj.d.mts} +44 -2
  16. package/dist/{client-BAzvXSLJ.d.ts → client-Q_m-GkTl.d.ts} +2 -2
  17. package/dist/index.d.mts +1 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +69 -69
  20. package/dist/index.mjs +3 -3
  21. package/dist/mock/cli.mjs +60 -0
  22. package/dist/mock/library.js +60 -0
  23. package/dist/mock/library.mjs +60 -0
  24. package/dist/mock/msw.js +60 -0
  25. package/dist/mock/msw.mjs +60 -0
  26. package/dist/react.d.mts +51 -4
  27. package/dist/react.d.ts +51 -4
  28. package/dist/react.js +371 -65
  29. package/dist/react.mjs +337 -53
  30. package/dist/{server-Daq42vK7.d.ts → server-N4Q24CnO.d.ts} +21 -0
  31. package/dist/{server-CGO4zneR.d.mts → server-hP9NLtTh.d.mts} +21 -0
  32. package/dist/server.d.mts +2 -2
  33. package/dist/server.d.ts +2 -2
  34. package/dist/server.js +7 -7
  35. package/dist/server.mjs +2 -2
  36. package/dist/testing/msw.d.mts +1 -1
  37. package/dist/testing/msw.d.ts +1 -1
  38. package/dist/testing/msw.js +2 -2
  39. package/dist/testing/msw.mjs +1 -1
  40. package/dist/testing/suite.d.mts +4 -4
  41. package/dist/testing/suite.d.ts +4 -4
  42. package/dist/testing/suite.js +23 -23
  43. package/dist/testing/suite.mjs +4 -4
  44. package/dist/testing.d.mts +18 -18
  45. package/dist/testing.d.ts +18 -18
  46. package/dist/testing.js +79 -79
  47. package/dist/testing.mjs +5 -5
  48. package/package.json +7 -2
  49. package/registry/catalogue-page.json +1 -1
  50. package/registry/product-card.json +1 -1
  51. package/registry/product-grid.json +1 -1
  52. package/registry/product-image-gallery.json +1 -1
  53. package/registry/product-page.json +1 -1
  54. package/registry/recently-viewed.json +1 -1
  55. package/registry/recommendation-carousel.json +1 -1
  56. package/registry/search-input.json +1 -1
  57. package/dist/server-BXT62nBC.d.mts +0 -1186
  58. package/dist/server-BXT62nBC.d.ts +0 -1186
@@ -693,18 +693,22 @@ interface LocationBooking {
693
693
  assigned_resources: string[];
694
694
  service_status: ServiceStatus;
695
695
  }
696
- type ProviderResolutionSource = "zone_config" | "location_default" | "fallback" | "best_price";
696
+ type ProviderResolutionSource = "zone" | "hint" | "fallback" | "best_price";
697
697
  interface DeliveryFeeDetails {
698
698
  zone_id: string;
699
699
  zone_name: string;
700
700
  provider: string;
701
701
  provider_resolved_from: ProviderResolutionSource;
702
+ /** Named rate this fee was priced under, if any. */
703
+ rate_id?: string;
704
+ rate_name?: string;
702
705
  distance_km: Money;
703
706
  base_fee: Money;
704
707
  per_km_fee: Money;
705
708
  surge_multiplier: Money;
706
709
  calculated_fee: Money;
707
710
  currency: string;
711
+ free_delivery_applied?: boolean;
708
712
  }
709
713
  type RelationType = "upsell" | "cross_sell";
710
714
  interface RelatedProduct {
@@ -1056,6 +1060,10 @@ interface CheckoutFormData {
1056
1060
  customer: CheckoutCustomerInfo;
1057
1061
  order_type: CheckoutOrderType;
1058
1062
  address_info: CheckoutAddressInfo;
1063
+ /** Named delivery rate the customer selected (from `delivery.getOptions`).
1064
+ * Selection only — the fee is always recomputed server-side. Omit for the
1065
+ * merchant's default option. */
1066
+ delivery_rate_id?: string;
1059
1067
  payment_method: string;
1060
1068
  mobile_money_details?: MobileMoneyDetails;
1061
1069
  special_instructions?: string;
@@ -2150,10 +2158,41 @@ interface DeliveryFeeResponse {
2150
2158
  currency: string | null;
2151
2159
  details: DeliveryFeeDetails | null;
2152
2160
  }
2161
+ /** One entry on the delivery menu for a dropoff — a merchant-named rate
2162
+ * ("Standard", "Express", "Outside Accra") priced for that address, or the
2163
+ * synthesized default when the business has no named rates (`rate_id: null`). */
2164
+ interface DeliveryOption {
2165
+ rate_id: string | null;
2166
+ name: string;
2167
+ description?: string;
2168
+ fee: Money;
2169
+ currency: string;
2170
+ free_delivery_applied: boolean;
2171
+ /** Order value at/above this makes the option free — render "Free over X". */
2172
+ free_over_amount?: Money;
2173
+ eta_min_minutes?: number;
2174
+ eta_max_minutes?: number;
2175
+ /** The option charged when the shopper makes no explicit selection. */
2176
+ is_default: boolean;
2177
+ details: DeliveryFeeDetails;
2178
+ }
2179
+ interface DeliveryOptionsResponse {
2180
+ serviceable: boolean;
2181
+ options: DeliveryOption[];
2182
+ message?: string;
2183
+ }
2184
+ interface GetDeliveryOptionsParams {
2185
+ country?: string;
2186
+ /** Cart goods total — drives free-over thresholds and zone minimums. */
2187
+ orderValue?: Money;
2188
+ }
2153
2189
  declare class DeliveryService {
2154
2190
  private client;
2155
2191
  constructor(client: CimplifyClient);
2156
2192
  getFee(dropoffLat: number, dropoffLng: number, country?: string): Promise<Result<DeliveryFeeResponse, CimplifyError>>;
2193
+ /** The full delivery menu for an address. Pass the selected option's
2194
+ * `rate_id` as `delivery_rate_id` when processing checkout. */
2195
+ getOptions(dropoffLat: number, dropoffLng: number, opts?: GetDeliveryOptionsParams): Promise<Result<DeliveryOptionsResponse, CimplifyError>>;
2157
2196
  }
2158
2197
 
2159
2198
  type SenderType = "customer" | "agent" | "system" | "bot";
@@ -2660,6 +2699,9 @@ declare class CimplifyClient {
2660
2699
  constructor(config?: CimplifyConfig);
2661
2700
  getAccessToken(): string | null;
2662
2701
  getPublicKey(): string;
2702
+ getBaseUrl(): string;
2703
+ getLinkApiUrl(): string;
2704
+ getCredentialsMode(): RequestCredentials;
2663
2705
  isTestMode(): boolean;
2664
2706
  setAccessToken(token: string | null): void;
2665
2707
  clearSession(): void;
@@ -2710,4 +2752,4 @@ declare class CimplifyClient {
2710
2752
  }
2711
2753
  declare function createCimplifyClient(config?: CimplifyConfig): CimplifyClient;
2712
2754
 
2713
- export { type CheckoutAddressInfo as $, AUTHORIZATION_TYPE as A, type Booking as B, BusinessService as C, type BusinessSettings as D, type BusinessType as E, type BusinessWithLocations as F, CHECKOUT_MODE as G, CHECKOUT_MUTATION as H, CHECKOUT_STEP as I, CONTACT_TYPE as J, type CacheOptions as K, type CancelBookingInput as L, type CancelBookingResult as M, type CancelOrderInput as N, type CancellationPolicy as O, CartOperations as P, CatalogueQueries as Q, type CatalogueResult as R, type CatalogueSnapshot as S, type CategoryInfo as T, type ChatAttachment as U, type ChatConversation as V, type ChatConversationResponse as W, type ChatMessage as X, type ChatWidgetStarter as Y, type CheckSlotAvailabilityInput as Z, type CheckSlotAvailabilityResult as _, AUTH_MUTATION as a, type FetchQuoteInput as a$, type CheckoutCartData as a0, type CheckoutCartItem as a1, type CheckoutCustomerInfo as a2, type CheckoutFormData as a3, type CheckoutInput as a4, type CheckoutMode as a5, type CheckoutOrderType as a6, type CheckoutPaymentMethod as a7, type CheckoutResult as a8, CheckoutService as a9, type DeviceType as aA, type DismissMessageResponse as aB, ELEMENTS_AUTH_CONTACT_TYPES as aC, ELEMENTS_AUTH_MODES as aD, ELEMENTS_AUTH_PROMPTS as aE, ELEMENT_TYPES as aF, EVENT_TYPES as aG, type ElementAppearance as aH, type ElementEventHandler as aI, type ElementEventType as aJ, type ElementOptions as aK, type ElementType as aL, type ElementsAuthContactType as aM, type ElementsAuthMode as aN, type ElementsAuthOptions as aO, type ElementsAuthPrompt as aP, type ElementsCheckoutData as aQ, type ElementsCheckoutResult as aR, type ElementsCustomerInfo as aS, type ElementsOptions as aT, type EnrichedOrder as aU, type EnrichedOrderItem as aV, type EnrollAndLinkOrderInput as aW, type EnrollAndLinkOrderResult as aX, type EnrollmentData as aY, type Err as aZ, type FeeBearerType as a_, type CheckoutStatus as aa, type CheckoutStatusContext as ab, type CheckoutStep as ac, CimplifyClient as ad, type CimplifyConfig as ae, CimplifyElement as af, CimplifyElements as ag, type ContactType as ah, type ContentType as ai, type CreateAddressInput as aj, type CreateMobileMoneyInput as ak, type Customer as al, type CustomerAddress as am, type CustomerBooking as an, type CustomerBookingServiceItem as ao, type CustomerLinkPreferences as ap, type CustomerMobileMoney as aq, type CustomerServicePreferences as ar, DEFAULT_COUNTRY as as, DEFAULT_CURRENCY as at, DEVICE_TYPE as au, type DayAvailability as av, type DeliveryFeeDetails as aw, type DeliveryFeeResponse as ax, DeliveryService as ay, type DepositResult as az, type AbortablePromise as b, type OrderStatus as b$, type FulfillmentLink as b0, type FulfillmentStatus as b1, type FulfillmentSummaryDTO as b2, type FulfillmentType as b3, type FxQuote as b4, type FxQuoteRequest as b5, type FxRateResponse as b6, FxService as b7, type GetAvailableSlotsInput as b8, type GetOrdersOptions as b9, type NextAction as bA, ORDER_MUTATION as bB, ORDER_TYPE as bC, type ObservabilityHooks as bD, type Ok as bE, type Order as bF, type OrderChannel as bG, type OrderCustomerInfo as bH, type OrderDiscountInfo as bI, type OrderFilter as bJ, type OrderFulfillmentSummary as bK, type OrderGroup as bL, type OrderGroupDetails as bM, type OrderGroupPayment as bN, type OrderGroupPaymentState as bO, type OrderGroupPaymentStatus as bP, type OrderGroupPaymentSummary as bQ, type OrderGroupStatus as bR, type OrderHistory as bS, type OrderLineState as bT, type OrderLineStatus as bU, type OrderLocationInfo as bV, type OrderPaymentEvent as bW, type OrderPricingView as bX, OrderQueries as bY, type OrderSplitDetail as bZ, type OrderStaffInfo as b_, type GetProductsOptions as ba, type GroupOrderInfo as bb, type IframeToParentMessage as bc, InventoryService as bd, LINK_MUTATION as be, LINK_QUERY as bf, type LineItem as bg, type LineType as bh, type LinkData as bi, type LinkEnrollResult as bj, LinkService as bk, type LinkSession as bl, type LinkStatusResult as bm, type LiteBootstrap as bn, LiteService as bo, type Location as bp, type LocationBooking as bq, type LocationTaxBehavior as br, type LocationTaxOverrides as bs, type LocationTimeProfile as bt, type LocationWithDetails as bu, MESSAGE_TYPES as bv, MOBILE_MONEY_PROVIDER as bw, type MobileMoneyData as bx, type MobileMoneyDetails as by, type MobileMoneyProvider as bz, type ActivityRecommendation as c, type ServiceStatus as c$, type OrderTimestampsDTO as c0, type OrderType as c1, type OtpResult as c2, PAYMENT_METHOD as c3, PAYMENT_MUTATION as c4, PAYMENT_STATE as c5, PICKUP_TIME_TYPE as c6, type ParentToIframeMessage as c7, type PaymentInfoDTO as c8, type PaymentMethodInfo as c9, type ReorderResult as cA, type RequestContext as cB, type RequestErrorEvent as cC, type RequestOptions as cD, type RequestOtpInput as cE, type RequestSource as cF, type RequestStartEvent as cG, type RequestSuccessEvent as cH, type RescheduleBookingInput as cI, type RescheduleBookingResult as cJ, type RescheduleHistoryRecord as cK, type ResourceAssignment as cL, type Result as cM, type RetryEvent as cN, type RevokeAllSessionsResult as cO, type RevokeSessionResult as cP, type Room as cQ, type SchedulingMetadata as cR, type SchedulingResult as cS, SchedulingService as cT, type SenderType as cU, type Service as cV, type ServiceAvailabilityParams as cW, type ServiceAvailabilityResult as cX, type ServiceCharge as cY, type ServiceNotes as cZ, type ServiceScheduleRequest as c_, type PaymentState as ca, type PickupTime as cb, type PickupTimeType as cc, type PlaceDetailsResponse as cd, PlacesService as ce, type PriceQuote as cf, type PricingOverrides as cg, type ProcessAndResolveOptions as ch, type ProcessCheckoutOptions as ci, type ProcessCheckoutResult as cj, type ProviderResolutionSource as ck, type QuoteBundleSelectionInput as cl, type QuoteCompositeSelectionInput as cm, type QuoteDynamicBuckets as cn, type QuoteStatus as co, type QuoteUiMessage as cp, type ReadRequestOptions as cq, type RefreshQuoteInput as cr, type RefreshQuoteResult as cs, type RefundOrderInput as ct, type RelatedCandidate as cu, type RelatedProduct as cv, type RelatedProductsEnrichment as cw, type RelationType as cx, type ReminderMethod as cy, type ReminderSettings as cz, type ActivityRecommendationsResponse as d, type SessionActivityData as d0, type SessionChangeEvent as d1, type SessionMessage as d2, type SlotResourceInfo as d3, type SlotStaffInfo as d4, type Staff as d5, type StaffAssignment as d6, type StaffRole as d7, type StaffScheduleItem as d8, type StockLevel as d9, flatMap as dA, fromPromise as dB, getOrElse as dC, isErr as dD, isOk as dE, mapError as dF, mapResult as dG, ok as dH, toNullable as dI, tryCatch as dJ, unwrap as dK, type StockStatus as da, type StoreCreditBalance as db, StoreCreditQueries as dc, type StorefrontBootstrap as dd, SubscriptionService as de, SupportService as df, type Table as dg, type TableInfo as dh, type TimeRange as di, type TimeRanges as dj, type TimeSlot as dk, type TrackCategoryViewOptions as dl, type TrackProductViewOptions as dm, type UpdateAddressInput as dn, type UpdateOrderStatusInput as dp, type UpdateProfileInput as dq, type UploadInitResponse as dr, type UploadResult as ds, UploadService as dt, type VerifyOtpInput as du, combine as dv, combineObject as dw, createCimplifyClient as dx, createElements as dy, err as dz, ActivityService as e, type ActivityStateResponse as f, type AddressData as g, type AddressInfo as h, type AmountToPay as i, type AuthResponse as j, AuthService as k, type AuthStatus as l, type AuthenticatedCustomer as m, type AuthenticatedData as n, type AutocompletePrediction as o, type AutocompleteResponse as p, type AvailabilityResult as q, type AvailableSlot as r, type BookingModificationType as s, type BookingStatus as t, type BookingWithDetails as u, type BufferTimes as v, type Business as w, type BusinessDetailsDTO as x, type BusinessHours as y, type BusinessPreferences as z };
2755
+ export { type CheckoutAddressInfo as $, AUTHORIZATION_TYPE as A, type Booking as B, BusinessService as C, type BusinessSettings as D, type BusinessType as E, type BusinessWithLocations as F, CHECKOUT_MODE as G, CHECKOUT_MUTATION as H, CHECKOUT_STEP as I, CONTACT_TYPE as J, type CacheOptions as K, type CancelBookingInput as L, type CancelBookingResult as M, type CancelOrderInput as N, type CancellationPolicy as O, CartOperations as P, CatalogueQueries as Q, type CatalogueResult as R, type CatalogueSnapshot as S, type CategoryInfo as T, type ChatAttachment as U, type ChatConversation as V, type ChatConversationResponse as W, type ChatMessage as X, type ChatWidgetStarter as Y, type CheckSlotAvailabilityInput as Z, type CheckSlotAvailabilityResult as _, AUTH_MUTATION as a, type Err as a$, type CheckoutCartData as a0, type CheckoutCartItem as a1, type CheckoutCustomerInfo as a2, type CheckoutFormData as a3, type CheckoutInput as a4, type CheckoutMode as a5, type CheckoutOrderType as a6, type CheckoutPaymentMethod as a7, type CheckoutResult as a8, CheckoutService as a9, DeliveryService as aA, type DepositResult as aB, type DeviceType as aC, type DismissMessageResponse as aD, ELEMENTS_AUTH_CONTACT_TYPES as aE, ELEMENTS_AUTH_MODES as aF, ELEMENTS_AUTH_PROMPTS as aG, ELEMENT_TYPES as aH, EVENT_TYPES as aI, type ElementAppearance as aJ, type ElementEventHandler as aK, type ElementEventType as aL, type ElementOptions as aM, type ElementType as aN, type ElementsAuthContactType as aO, type ElementsAuthMode as aP, type ElementsAuthOptions as aQ, type ElementsAuthPrompt as aR, type ElementsCheckoutData as aS, type ElementsCheckoutResult as aT, type ElementsCustomerInfo as aU, type ElementsOptions as aV, type EnrichedOrder as aW, type EnrichedOrderItem as aX, type EnrollAndLinkOrderInput as aY, type EnrollAndLinkOrderResult as aZ, type EnrollmentData as a_, type CheckoutStatus as aa, type CheckoutStatusContext as ab, type CheckoutStep as ac, CimplifyClient as ad, type CimplifyConfig as ae, CimplifyElement as af, CimplifyElements as ag, type ContactType as ah, type ContentType as ai, type CreateAddressInput as aj, type CreateMobileMoneyInput as ak, type Customer as al, type CustomerAddress as am, type CustomerBooking as an, type CustomerBookingServiceItem as ao, type CustomerLinkPreferences as ap, type CustomerMobileMoney as aq, type CustomerServicePreferences as ar, DEFAULT_COUNTRY as as, DEFAULT_CURRENCY as at, DEVICE_TYPE as au, type DayAvailability as av, type DeliveryFeeDetails as aw, type DeliveryFeeResponse as ax, type DeliveryOption as ay, type DeliveryOptionsResponse as az, type AbortablePromise as b, OrderQueries as b$, type FeeBearerType as b0, type FetchQuoteInput as b1, type FulfillmentLink as b2, type FulfillmentStatus as b3, type FulfillmentSummaryDTO as b4, type FulfillmentType as b5, type FxQuote as b6, type FxQuoteRequest as b7, type FxRateResponse as b8, FxService as b9, type MobileMoneyData as bA, type MobileMoneyDetails as bB, type MobileMoneyProvider as bC, type NextAction as bD, ORDER_MUTATION as bE, ORDER_TYPE as bF, type ObservabilityHooks as bG, type Ok as bH, type Order as bI, type OrderChannel as bJ, type OrderCustomerInfo as bK, type OrderDiscountInfo as bL, type OrderFilter as bM, type OrderFulfillmentSummary as bN, type OrderGroup as bO, type OrderGroupDetails as bP, type OrderGroupPayment as bQ, type OrderGroupPaymentState as bR, type OrderGroupPaymentStatus as bS, type OrderGroupPaymentSummary as bT, type OrderGroupStatus as bU, type OrderHistory as bV, type OrderLineState as bW, type OrderLineStatus as bX, type OrderLocationInfo as bY, type OrderPaymentEvent as bZ, type OrderPricingView as b_, type GetAvailableSlotsInput as ba, type GetDeliveryOptionsParams as bb, type GetOrdersOptions as bc, type GetProductsOptions as bd, type GroupOrderInfo as be, type IframeToParentMessage as bf, InventoryService as bg, LINK_MUTATION as bh, LINK_QUERY as bi, type LineItem as bj, type LineType as bk, type LinkData as bl, type LinkEnrollResult as bm, LinkService as bn, type LinkSession as bo, type LinkStatusResult as bp, type LiteBootstrap as bq, LiteService as br, type Location as bs, type LocationBooking as bt, type LocationTaxBehavior as bu, type LocationTaxOverrides as bv, type LocationTimeProfile as bw, type LocationWithDetails as bx, MESSAGE_TYPES as by, MOBILE_MONEY_PROVIDER as bz, type ActivityRecommendation as c, type ServiceCharge as c$, type OrderSplitDetail as c0, type OrderStaffInfo as c1, type OrderStatus as c2, type OrderTimestampsDTO as c3, type OrderType as c4, type OtpResult as c5, PAYMENT_METHOD as c6, PAYMENT_MUTATION as c7, PAYMENT_STATE as c8, PICKUP_TIME_TYPE as c9, type RelationType as cA, type ReminderMethod as cB, type ReminderSettings as cC, type ReorderResult as cD, type RequestContext as cE, type RequestErrorEvent as cF, type RequestOptions as cG, type RequestOtpInput as cH, type RequestSource as cI, type RequestStartEvent as cJ, type RequestSuccessEvent as cK, type RescheduleBookingInput as cL, type RescheduleBookingResult as cM, type RescheduleHistoryRecord as cN, type ResourceAssignment as cO, type Result as cP, type RetryEvent as cQ, type RevokeAllSessionsResult as cR, type RevokeSessionResult as cS, type Room as cT, type SchedulingMetadata as cU, type SchedulingResult as cV, SchedulingService as cW, type SenderType as cX, type Service as cY, type ServiceAvailabilityParams as cZ, type ServiceAvailabilityResult as c_, type ParentToIframeMessage as ca, type PaymentInfoDTO as cb, type PaymentMethodInfo as cc, type PaymentState as cd, type PickupTime as ce, type PickupTimeType as cf, type PlaceDetailsResponse as cg, PlacesService as ch, type PriceQuote as ci, type PricingOverrides as cj, type ProcessAndResolveOptions as ck, type ProcessCheckoutOptions as cl, type ProcessCheckoutResult as cm, type ProviderResolutionSource as cn, type QuoteBundleSelectionInput as co, type QuoteCompositeSelectionInput as cp, type QuoteDynamicBuckets as cq, type QuoteStatus as cr, type QuoteUiMessage as cs, type ReadRequestOptions as ct, type RefreshQuoteInput as cu, type RefreshQuoteResult as cv, type RefundOrderInput as cw, type RelatedCandidate as cx, type RelatedProduct as cy, type RelatedProductsEnrichment as cz, type ActivityRecommendationsResponse as d, type ServiceNotes as d0, type ServiceScheduleRequest as d1, type ServiceStatus as d2, type SessionActivityData as d3, type SessionChangeEvent as d4, type SessionMessage as d5, type SlotResourceInfo as d6, type SlotStaffInfo as d7, type Staff as d8, type StaffAssignment as d9, createCimplifyClient as dA, createElements as dB, err as dC, flatMap as dD, fromPromise as dE, getOrElse as dF, isErr as dG, isOk as dH, mapError as dI, mapResult as dJ, ok as dK, toNullable as dL, tryCatch as dM, unwrap as dN, type StaffRole as da, type StaffScheduleItem as db, type StockLevel as dc, type StockStatus as dd, type StoreCreditBalance as de, StoreCreditQueries as df, type StorefrontBootstrap as dg, SubscriptionService as dh, SupportService as di, type Table as dj, type TableInfo as dk, type TimeRange as dl, type TimeRanges as dm, type TimeSlot as dn, type TrackCategoryViewOptions as dp, type TrackProductViewOptions as dq, type UpdateAddressInput as dr, type UpdateOrderStatusInput as ds, type UpdateProfileInput as dt, type UploadInitResponse as du, type UploadResult as dv, UploadService as dw, type VerifyOtpInput as dx, combine as dy, combineObject as dz, ActivityService as e, type ActivityStateResponse as f, type AddressData as g, type AddressInfo as h, type AmountToPay as i, type AuthResponse as j, AuthService as k, type AuthStatus as l, type AuthenticatedCustomer as m, type AuthenticatedData as n, type AutocompletePrediction as o, type AutocompleteResponse as p, type AvailabilityResult as q, type AvailableSlot as r, type BookingModificationType as s, type BookingStatus as t, type BookingWithDetails as u, type BufferTimes as v, type Business as w, type BusinessDetailsDTO as x, type BusinessHours as y, type BusinessPreferences as z };
@@ -1,5 +1,5 @@
1
- import { ad as CimplifyClient } from './client-D16qfHAB.mjs';
2
- import { A as AppHandle, C as CreateAppOptions } from './server-CGO4zneR.mjs';
1
+ import { ad as CimplifyClient } from './client-Cx3WLhMj.mjs';
2
+ import { A as AppHandle, C as CreateAppOptions } from './server-hP9NLtTh.mjs';
3
3
 
4
4
  /**
5
5
  * Test client + fixtures.
@@ -693,18 +693,22 @@ interface LocationBooking {
693
693
  assigned_resources: string[];
694
694
  service_status: ServiceStatus;
695
695
  }
696
- type ProviderResolutionSource = "zone_config" | "location_default" | "fallback" | "best_price";
696
+ type ProviderResolutionSource = "zone" | "hint" | "fallback" | "best_price";
697
697
  interface DeliveryFeeDetails {
698
698
  zone_id: string;
699
699
  zone_name: string;
700
700
  provider: string;
701
701
  provider_resolved_from: ProviderResolutionSource;
702
+ /** Named rate this fee was priced under, if any. */
703
+ rate_id?: string;
704
+ rate_name?: string;
702
705
  distance_km: Money;
703
706
  base_fee: Money;
704
707
  per_km_fee: Money;
705
708
  surge_multiplier: Money;
706
709
  calculated_fee: Money;
707
710
  currency: string;
711
+ free_delivery_applied?: boolean;
708
712
  }
709
713
  type RelationType = "upsell" | "cross_sell";
710
714
  interface RelatedProduct {
@@ -1056,6 +1060,10 @@ interface CheckoutFormData {
1056
1060
  customer: CheckoutCustomerInfo;
1057
1061
  order_type: CheckoutOrderType;
1058
1062
  address_info: CheckoutAddressInfo;
1063
+ /** Named delivery rate the customer selected (from `delivery.getOptions`).
1064
+ * Selection only — the fee is always recomputed server-side. Omit for the
1065
+ * merchant's default option. */
1066
+ delivery_rate_id?: string;
1059
1067
  payment_method: string;
1060
1068
  mobile_money_details?: MobileMoneyDetails;
1061
1069
  special_instructions?: string;
@@ -2150,10 +2158,41 @@ interface DeliveryFeeResponse {
2150
2158
  currency: string | null;
2151
2159
  details: DeliveryFeeDetails | null;
2152
2160
  }
2161
+ /** One entry on the delivery menu for a dropoff — a merchant-named rate
2162
+ * ("Standard", "Express", "Outside Accra") priced for that address, or the
2163
+ * synthesized default when the business has no named rates (`rate_id: null`). */
2164
+ interface DeliveryOption {
2165
+ rate_id: string | null;
2166
+ name: string;
2167
+ description?: string;
2168
+ fee: Money;
2169
+ currency: string;
2170
+ free_delivery_applied: boolean;
2171
+ /** Order value at/above this makes the option free — render "Free over X". */
2172
+ free_over_amount?: Money;
2173
+ eta_min_minutes?: number;
2174
+ eta_max_minutes?: number;
2175
+ /** The option charged when the shopper makes no explicit selection. */
2176
+ is_default: boolean;
2177
+ details: DeliveryFeeDetails;
2178
+ }
2179
+ interface DeliveryOptionsResponse {
2180
+ serviceable: boolean;
2181
+ options: DeliveryOption[];
2182
+ message?: string;
2183
+ }
2184
+ interface GetDeliveryOptionsParams {
2185
+ country?: string;
2186
+ /** Cart goods total — drives free-over thresholds and zone minimums. */
2187
+ orderValue?: Money;
2188
+ }
2153
2189
  declare class DeliveryService {
2154
2190
  private client;
2155
2191
  constructor(client: CimplifyClient);
2156
2192
  getFee(dropoffLat: number, dropoffLng: number, country?: string): Promise<Result<DeliveryFeeResponse, CimplifyError>>;
2193
+ /** The full delivery menu for an address. Pass the selected option's
2194
+ * `rate_id` as `delivery_rate_id` when processing checkout. */
2195
+ getOptions(dropoffLat: number, dropoffLng: number, opts?: GetDeliveryOptionsParams): Promise<Result<DeliveryOptionsResponse, CimplifyError>>;
2157
2196
  }
2158
2197
 
2159
2198
  type SenderType = "customer" | "agent" | "system" | "bot";
@@ -2660,6 +2699,9 @@ declare class CimplifyClient {
2660
2699
  constructor(config?: CimplifyConfig);
2661
2700
  getAccessToken(): string | null;
2662
2701
  getPublicKey(): string;
2702
+ getBaseUrl(): string;
2703
+ getLinkApiUrl(): string;
2704
+ getCredentialsMode(): RequestCredentials;
2663
2705
  isTestMode(): boolean;
2664
2706
  setAccessToken(token: string | null): void;
2665
2707
  clearSession(): void;
@@ -2710,4 +2752,4 @@ declare class CimplifyClient {
2710
2752
  }
2711
2753
  declare function createCimplifyClient(config?: CimplifyConfig): CimplifyClient;
2712
2754
 
2713
- export { type CheckoutAddressInfo as $, AUTHORIZATION_TYPE as A, type Booking as B, BusinessService as C, type BusinessSettings as D, type BusinessType as E, type BusinessWithLocations as F, CHECKOUT_MODE as G, CHECKOUT_MUTATION as H, CHECKOUT_STEP as I, CONTACT_TYPE as J, type CacheOptions as K, type CancelBookingInput as L, type CancelBookingResult as M, type CancelOrderInput as N, type CancellationPolicy as O, CartOperations as P, CatalogueQueries as Q, type CatalogueResult as R, type CatalogueSnapshot as S, type CategoryInfo as T, type ChatAttachment as U, type ChatConversation as V, type ChatConversationResponse as W, type ChatMessage as X, type ChatWidgetStarter as Y, type CheckSlotAvailabilityInput as Z, type CheckSlotAvailabilityResult as _, AUTH_MUTATION as a, type FetchQuoteInput as a$, type CheckoutCartData as a0, type CheckoutCartItem as a1, type CheckoutCustomerInfo as a2, type CheckoutFormData as a3, type CheckoutInput as a4, type CheckoutMode as a5, type CheckoutOrderType as a6, type CheckoutPaymentMethod as a7, type CheckoutResult as a8, CheckoutService as a9, type DeviceType as aA, type DismissMessageResponse as aB, ELEMENTS_AUTH_CONTACT_TYPES as aC, ELEMENTS_AUTH_MODES as aD, ELEMENTS_AUTH_PROMPTS as aE, ELEMENT_TYPES as aF, EVENT_TYPES as aG, type ElementAppearance as aH, type ElementEventHandler as aI, type ElementEventType as aJ, type ElementOptions as aK, type ElementType as aL, type ElementsAuthContactType as aM, type ElementsAuthMode as aN, type ElementsAuthOptions as aO, type ElementsAuthPrompt as aP, type ElementsCheckoutData as aQ, type ElementsCheckoutResult as aR, type ElementsCustomerInfo as aS, type ElementsOptions as aT, type EnrichedOrder as aU, type EnrichedOrderItem as aV, type EnrollAndLinkOrderInput as aW, type EnrollAndLinkOrderResult as aX, type EnrollmentData as aY, type Err as aZ, type FeeBearerType as a_, type CheckoutStatus as aa, type CheckoutStatusContext as ab, type CheckoutStep as ac, CimplifyClient as ad, type CimplifyConfig as ae, CimplifyElement as af, CimplifyElements as ag, type ContactType as ah, type ContentType as ai, type CreateAddressInput as aj, type CreateMobileMoneyInput as ak, type Customer as al, type CustomerAddress as am, type CustomerBooking as an, type CustomerBookingServiceItem as ao, type CustomerLinkPreferences as ap, type CustomerMobileMoney as aq, type CustomerServicePreferences as ar, DEFAULT_COUNTRY as as, DEFAULT_CURRENCY as at, DEVICE_TYPE as au, type DayAvailability as av, type DeliveryFeeDetails as aw, type DeliveryFeeResponse as ax, DeliveryService as ay, type DepositResult as az, type AbortablePromise as b, type OrderStatus as b$, type FulfillmentLink as b0, type FulfillmentStatus as b1, type FulfillmentSummaryDTO as b2, type FulfillmentType as b3, type FxQuote as b4, type FxQuoteRequest as b5, type FxRateResponse as b6, FxService as b7, type GetAvailableSlotsInput as b8, type GetOrdersOptions as b9, type NextAction as bA, ORDER_MUTATION as bB, ORDER_TYPE as bC, type ObservabilityHooks as bD, type Ok as bE, type Order as bF, type OrderChannel as bG, type OrderCustomerInfo as bH, type OrderDiscountInfo as bI, type OrderFilter as bJ, type OrderFulfillmentSummary as bK, type OrderGroup as bL, type OrderGroupDetails as bM, type OrderGroupPayment as bN, type OrderGroupPaymentState as bO, type OrderGroupPaymentStatus as bP, type OrderGroupPaymentSummary as bQ, type OrderGroupStatus as bR, type OrderHistory as bS, type OrderLineState as bT, type OrderLineStatus as bU, type OrderLocationInfo as bV, type OrderPaymentEvent as bW, type OrderPricingView as bX, OrderQueries as bY, type OrderSplitDetail as bZ, type OrderStaffInfo as b_, type GetProductsOptions as ba, type GroupOrderInfo as bb, type IframeToParentMessage as bc, InventoryService as bd, LINK_MUTATION as be, LINK_QUERY as bf, type LineItem as bg, type LineType as bh, type LinkData as bi, type LinkEnrollResult as bj, LinkService as bk, type LinkSession as bl, type LinkStatusResult as bm, type LiteBootstrap as bn, LiteService as bo, type Location as bp, type LocationBooking as bq, type LocationTaxBehavior as br, type LocationTaxOverrides as bs, type LocationTimeProfile as bt, type LocationWithDetails as bu, MESSAGE_TYPES as bv, MOBILE_MONEY_PROVIDER as bw, type MobileMoneyData as bx, type MobileMoneyDetails as by, type MobileMoneyProvider as bz, type ActivityRecommendation as c, type ServiceStatus as c$, type OrderTimestampsDTO as c0, type OrderType as c1, type OtpResult as c2, PAYMENT_METHOD as c3, PAYMENT_MUTATION as c4, PAYMENT_STATE as c5, PICKUP_TIME_TYPE as c6, type ParentToIframeMessage as c7, type PaymentInfoDTO as c8, type PaymentMethodInfo as c9, type ReorderResult as cA, type RequestContext as cB, type RequestErrorEvent as cC, type RequestOptions as cD, type RequestOtpInput as cE, type RequestSource as cF, type RequestStartEvent as cG, type RequestSuccessEvent as cH, type RescheduleBookingInput as cI, type RescheduleBookingResult as cJ, type RescheduleHistoryRecord as cK, type ResourceAssignment as cL, type Result as cM, type RetryEvent as cN, type RevokeAllSessionsResult as cO, type RevokeSessionResult as cP, type Room as cQ, type SchedulingMetadata as cR, type SchedulingResult as cS, SchedulingService as cT, type SenderType as cU, type Service as cV, type ServiceAvailabilityParams as cW, type ServiceAvailabilityResult as cX, type ServiceCharge as cY, type ServiceNotes as cZ, type ServiceScheduleRequest as c_, type PaymentState as ca, type PickupTime as cb, type PickupTimeType as cc, type PlaceDetailsResponse as cd, PlacesService as ce, type PriceQuote as cf, type PricingOverrides as cg, type ProcessAndResolveOptions as ch, type ProcessCheckoutOptions as ci, type ProcessCheckoutResult as cj, type ProviderResolutionSource as ck, type QuoteBundleSelectionInput as cl, type QuoteCompositeSelectionInput as cm, type QuoteDynamicBuckets as cn, type QuoteStatus as co, type QuoteUiMessage as cp, type ReadRequestOptions as cq, type RefreshQuoteInput as cr, type RefreshQuoteResult as cs, type RefundOrderInput as ct, type RelatedCandidate as cu, type RelatedProduct as cv, type RelatedProductsEnrichment as cw, type RelationType as cx, type ReminderMethod as cy, type ReminderSettings as cz, type ActivityRecommendationsResponse as d, type SessionActivityData as d0, type SessionChangeEvent as d1, type SessionMessage as d2, type SlotResourceInfo as d3, type SlotStaffInfo as d4, type Staff as d5, type StaffAssignment as d6, type StaffRole as d7, type StaffScheduleItem as d8, type StockLevel as d9, flatMap as dA, fromPromise as dB, getOrElse as dC, isErr as dD, isOk as dE, mapError as dF, mapResult as dG, ok as dH, toNullable as dI, tryCatch as dJ, unwrap as dK, type StockStatus as da, type StoreCreditBalance as db, StoreCreditQueries as dc, type StorefrontBootstrap as dd, SubscriptionService as de, SupportService as df, type Table as dg, type TableInfo as dh, type TimeRange as di, type TimeRanges as dj, type TimeSlot as dk, type TrackCategoryViewOptions as dl, type TrackProductViewOptions as dm, type UpdateAddressInput as dn, type UpdateOrderStatusInput as dp, type UpdateProfileInput as dq, type UploadInitResponse as dr, type UploadResult as ds, UploadService as dt, type VerifyOtpInput as du, combine as dv, combineObject as dw, createCimplifyClient as dx, createElements as dy, err as dz, ActivityService as e, type ActivityStateResponse as f, type AddressData as g, type AddressInfo as h, type AmountToPay as i, type AuthResponse as j, AuthService as k, type AuthStatus as l, type AuthenticatedCustomer as m, type AuthenticatedData as n, type AutocompletePrediction as o, type AutocompleteResponse as p, type AvailabilityResult as q, type AvailableSlot as r, type BookingModificationType as s, type BookingStatus as t, type BookingWithDetails as u, type BufferTimes as v, type Business as w, type BusinessDetailsDTO as x, type BusinessHours as y, type BusinessPreferences as z };
2755
+ export { type CheckoutAddressInfo as $, AUTHORIZATION_TYPE as A, type Booking as B, BusinessService as C, type BusinessSettings as D, type BusinessType as E, type BusinessWithLocations as F, CHECKOUT_MODE as G, CHECKOUT_MUTATION as H, CHECKOUT_STEP as I, CONTACT_TYPE as J, type CacheOptions as K, type CancelBookingInput as L, type CancelBookingResult as M, type CancelOrderInput as N, type CancellationPolicy as O, CartOperations as P, CatalogueQueries as Q, type CatalogueResult as R, type CatalogueSnapshot as S, type CategoryInfo as T, type ChatAttachment as U, type ChatConversation as V, type ChatConversationResponse as W, type ChatMessage as X, type ChatWidgetStarter as Y, type CheckSlotAvailabilityInput as Z, type CheckSlotAvailabilityResult as _, AUTH_MUTATION as a, type Err as a$, type CheckoutCartData as a0, type CheckoutCartItem as a1, type CheckoutCustomerInfo as a2, type CheckoutFormData as a3, type CheckoutInput as a4, type CheckoutMode as a5, type CheckoutOrderType as a6, type CheckoutPaymentMethod as a7, type CheckoutResult as a8, CheckoutService as a9, DeliveryService as aA, type DepositResult as aB, type DeviceType as aC, type DismissMessageResponse as aD, ELEMENTS_AUTH_CONTACT_TYPES as aE, ELEMENTS_AUTH_MODES as aF, ELEMENTS_AUTH_PROMPTS as aG, ELEMENT_TYPES as aH, EVENT_TYPES as aI, type ElementAppearance as aJ, type ElementEventHandler as aK, type ElementEventType as aL, type ElementOptions as aM, type ElementType as aN, type ElementsAuthContactType as aO, type ElementsAuthMode as aP, type ElementsAuthOptions as aQ, type ElementsAuthPrompt as aR, type ElementsCheckoutData as aS, type ElementsCheckoutResult as aT, type ElementsCustomerInfo as aU, type ElementsOptions as aV, type EnrichedOrder as aW, type EnrichedOrderItem as aX, type EnrollAndLinkOrderInput as aY, type EnrollAndLinkOrderResult as aZ, type EnrollmentData as a_, type CheckoutStatus as aa, type CheckoutStatusContext as ab, type CheckoutStep as ac, CimplifyClient as ad, type CimplifyConfig as ae, CimplifyElement as af, CimplifyElements as ag, type ContactType as ah, type ContentType as ai, type CreateAddressInput as aj, type CreateMobileMoneyInput as ak, type Customer as al, type CustomerAddress as am, type CustomerBooking as an, type CustomerBookingServiceItem as ao, type CustomerLinkPreferences as ap, type CustomerMobileMoney as aq, type CustomerServicePreferences as ar, DEFAULT_COUNTRY as as, DEFAULT_CURRENCY as at, DEVICE_TYPE as au, type DayAvailability as av, type DeliveryFeeDetails as aw, type DeliveryFeeResponse as ax, type DeliveryOption as ay, type DeliveryOptionsResponse as az, type AbortablePromise as b, OrderQueries as b$, type FeeBearerType as b0, type FetchQuoteInput as b1, type FulfillmentLink as b2, type FulfillmentStatus as b3, type FulfillmentSummaryDTO as b4, type FulfillmentType as b5, type FxQuote as b6, type FxQuoteRequest as b7, type FxRateResponse as b8, FxService as b9, type MobileMoneyData as bA, type MobileMoneyDetails as bB, type MobileMoneyProvider as bC, type NextAction as bD, ORDER_MUTATION as bE, ORDER_TYPE as bF, type ObservabilityHooks as bG, type Ok as bH, type Order as bI, type OrderChannel as bJ, type OrderCustomerInfo as bK, type OrderDiscountInfo as bL, type OrderFilter as bM, type OrderFulfillmentSummary as bN, type OrderGroup as bO, type OrderGroupDetails as bP, type OrderGroupPayment as bQ, type OrderGroupPaymentState as bR, type OrderGroupPaymentStatus as bS, type OrderGroupPaymentSummary as bT, type OrderGroupStatus as bU, type OrderHistory as bV, type OrderLineState as bW, type OrderLineStatus as bX, type OrderLocationInfo as bY, type OrderPaymentEvent as bZ, type OrderPricingView as b_, type GetAvailableSlotsInput as ba, type GetDeliveryOptionsParams as bb, type GetOrdersOptions as bc, type GetProductsOptions as bd, type GroupOrderInfo as be, type IframeToParentMessage as bf, InventoryService as bg, LINK_MUTATION as bh, LINK_QUERY as bi, type LineItem as bj, type LineType as bk, type LinkData as bl, type LinkEnrollResult as bm, LinkService as bn, type LinkSession as bo, type LinkStatusResult as bp, type LiteBootstrap as bq, LiteService as br, type Location as bs, type LocationBooking as bt, type LocationTaxBehavior as bu, type LocationTaxOverrides as bv, type LocationTimeProfile as bw, type LocationWithDetails as bx, MESSAGE_TYPES as by, MOBILE_MONEY_PROVIDER as bz, type ActivityRecommendation as c, type ServiceCharge as c$, type OrderSplitDetail as c0, type OrderStaffInfo as c1, type OrderStatus as c2, type OrderTimestampsDTO as c3, type OrderType as c4, type OtpResult as c5, PAYMENT_METHOD as c6, PAYMENT_MUTATION as c7, PAYMENT_STATE as c8, PICKUP_TIME_TYPE as c9, type RelationType as cA, type ReminderMethod as cB, type ReminderSettings as cC, type ReorderResult as cD, type RequestContext as cE, type RequestErrorEvent as cF, type RequestOptions as cG, type RequestOtpInput as cH, type RequestSource as cI, type RequestStartEvent as cJ, type RequestSuccessEvent as cK, type RescheduleBookingInput as cL, type RescheduleBookingResult as cM, type RescheduleHistoryRecord as cN, type ResourceAssignment as cO, type Result as cP, type RetryEvent as cQ, type RevokeAllSessionsResult as cR, type RevokeSessionResult as cS, type Room as cT, type SchedulingMetadata as cU, type SchedulingResult as cV, SchedulingService as cW, type SenderType as cX, type Service as cY, type ServiceAvailabilityParams as cZ, type ServiceAvailabilityResult as c_, type ParentToIframeMessage as ca, type PaymentInfoDTO as cb, type PaymentMethodInfo as cc, type PaymentState as cd, type PickupTime as ce, type PickupTimeType as cf, type PlaceDetailsResponse as cg, PlacesService as ch, type PriceQuote as ci, type PricingOverrides as cj, type ProcessAndResolveOptions as ck, type ProcessCheckoutOptions as cl, type ProcessCheckoutResult as cm, type ProviderResolutionSource as cn, type QuoteBundleSelectionInput as co, type QuoteCompositeSelectionInput as cp, type QuoteDynamicBuckets as cq, type QuoteStatus as cr, type QuoteUiMessage as cs, type ReadRequestOptions as ct, type RefreshQuoteInput as cu, type RefreshQuoteResult as cv, type RefundOrderInput as cw, type RelatedCandidate as cx, type RelatedProduct as cy, type RelatedProductsEnrichment as cz, type ActivityRecommendationsResponse as d, type ServiceNotes as d0, type ServiceScheduleRequest as d1, type ServiceStatus as d2, type SessionActivityData as d3, type SessionChangeEvent as d4, type SessionMessage as d5, type SlotResourceInfo as d6, type SlotStaffInfo as d7, type Staff as d8, type StaffAssignment as d9, createCimplifyClient as dA, createElements as dB, err as dC, flatMap as dD, fromPromise as dE, getOrElse as dF, isErr as dG, isOk as dH, mapError as dI, mapResult as dJ, ok as dK, toNullable as dL, tryCatch as dM, unwrap as dN, type StaffRole as da, type StaffScheduleItem as db, type StockLevel as dc, type StockStatus as dd, type StoreCreditBalance as de, StoreCreditQueries as df, type StorefrontBootstrap as dg, SubscriptionService as dh, SupportService as di, type Table as dj, type TableInfo as dk, type TimeRange as dl, type TimeRanges as dm, type TimeSlot as dn, type TrackCategoryViewOptions as dp, type TrackProductViewOptions as dq, type UpdateAddressInput as dr, type UpdateOrderStatusInput as ds, type UpdateProfileInput as dt, type UploadInitResponse as du, type UploadResult as dv, UploadService as dw, type VerifyOtpInput as dx, combine as dy, combineObject as dz, ActivityService as e, type ActivityStateResponse as f, type AddressData as g, type AddressInfo as h, type AmountToPay as i, type AuthResponse as j, AuthService as k, type AuthStatus as l, type AuthenticatedCustomer as m, type AuthenticatedData as n, type AutocompletePrediction as o, type AutocompleteResponse as p, type AvailabilityResult as q, type AvailableSlot as r, type BookingModificationType as s, type BookingStatus as t, type BookingWithDetails as u, type BufferTimes as v, type Business as w, type BusinessDetailsDTO as x, type BusinessHours as y, type BusinessPreferences as z };
@@ -1,5 +1,5 @@
1
- import { ad as CimplifyClient } from './client-Cn5trGYV.js';
2
- import { A as AppHandle, C as CreateAppOptions } from './server-Daq42vK7.js';
1
+ import { ad as CimplifyClient } from './client-BmDNlUMx.js';
2
+ import { A as AppHandle, C as CreateAppOptions } from './server-N4Q24CnO.js';
3
3
 
4
4
  /**
5
5
  * Test client + fixtures.
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- export { A as AUTHORIZATION_TYPE, a as AUTH_MUTATION, b as AbortablePromise, c as ActivityRecommendation, d as ActivityRecommendationsResponse, e as ActivityService, f as ActivityStateResponse, g as AddressData, h as AddressInfo, i as AmountToPay, j as AuthResponse, k as AuthService, l as AuthStatus, m as AuthenticatedCustomer, n as AuthenticatedData, o as AutocompletePrediction, p as AutocompleteResponse, q as AvailabilityResult, r as AvailableSlot, B as Booking, s as BookingModificationType, t as BookingStatus, u as BookingWithDetails, v as BufferTimes, w as Business, x as BusinessDetailsDTO, y as BusinessHours, z as BusinessPreferences, C as BusinessService, D as BusinessSettings, E as BusinessType, F as BusinessWithLocations, G as CHECKOUT_MODE, H as CHECKOUT_MUTATION, I as CHECKOUT_STEP, J as CONTACT_TYPE, K as CacheOptions, L as CancelBookingInput, M as CancelBookingResult, N as CancelOrderInput, O as CancellationPolicy, P as CartOperations, Q as CatalogueQueries, R as CatalogueResult, S as CatalogueSnapshot, T as CategoryInfo, U as ChatAttachment, V as ChatConversation, W as ChatConversationResponse, X as ChatMessage, Y as ChatWidgetStarter, Z as CheckSlotAvailabilityInput, _ as CheckSlotAvailabilityResult, $ as CheckoutAddressInfo, a0 as CheckoutCartData, a1 as CheckoutCartItem, a2 as CheckoutCustomerInfo, a3 as CheckoutFormData, a4 as CheckoutInput, a5 as CheckoutMode, a9 as CheckoutOperations, a6 as CheckoutOrderType, a7 as CheckoutPaymentMethod, a8 as CheckoutResult, a9 as CheckoutService, aa as CheckoutStatus, ab as CheckoutStatusContext, ac as CheckoutStep, ad as CimplifyClient, ae as CimplifyConfig, af as CimplifyElement, ag as CimplifyElements, ah as ContactType, ai as ContentType, aj as CreateAddressInput, ak as CreateMobileMoneyInput, al as Customer, am as CustomerAddress, an as CustomerBooking, ao as CustomerBookingServiceItem, ap as CustomerLinkPreferences, aq as CustomerMobileMoney, ar as CustomerServicePreferences, as as DEFAULT_COUNTRY, at as DEFAULT_CURRENCY, au as DEVICE_TYPE, av as DayAvailability, aw as DeliveryFeeDetails, ax as DeliveryFeeResponse, ay as DeliveryService, az as DepositResult, aA as DeviceType, aB as DismissMessageResponse, aC as ELEMENTS_AUTH_CONTACT_TYPES, aD as ELEMENTS_AUTH_MODES, aE as ELEMENTS_AUTH_PROMPTS, aF as ELEMENT_TYPES, aG as EVENT_TYPES, aH as ElementAppearance, aI as ElementEventHandler, aJ as ElementEventType, aK as ElementOptions, aL as ElementType, aM as ElementsAuthContactType, aN as ElementsAuthMode, aO as ElementsAuthOptions, aP as ElementsAuthPrompt, aQ as ElementsCheckoutData, aR as ElementsCheckoutResult, aS as ElementsCustomerInfo, aT as ElementsOptions, aU as EnrichedOrder, aV as EnrichedOrderItem, aW as EnrollAndLinkOrderInput, aX as EnrollAndLinkOrderResult, aY as EnrollmentData, aZ as Err, a_ as FeeBearerType, a$ as FetchQuoteInput, b0 as FulfillmentLink, b1 as FulfillmentStatus, b2 as FulfillmentSummaryDTO, b3 as FulfillmentType, b4 as FxQuote, b5 as FxQuoteRequest, b6 as FxRateResponse, b7 as FxService, b8 as GetAvailableSlotsInput, b9 as GetOrdersOptions, ba as GetProductsOptions, bb as GroupOrderInfo, bc as IframeToParentMessage, bd as InventoryService, be as LINK_MUTATION, bf as LINK_QUERY, bg as LineItem, bh as LineType, bi as LinkData, bj as LinkEnrollResult, bk as LinkService, bl as LinkSession, bm as LinkStatusResult, bn as LiteBootstrap, bo as LiteService, bp as Location, bq as LocationBooking, br as LocationTaxBehavior, bs as LocationTaxOverrides, bt as LocationTimeProfile, bu as LocationWithDetails, bv as MESSAGE_TYPES, bw as MOBILE_MONEY_PROVIDER, bx as MobileMoneyData, by as MobileMoneyDetails, bz as MobileMoneyProvider, bA as NextAction, bB as ORDER_MUTATION, bC as ORDER_TYPE, bD as ObservabilityHooks, bE as Ok, bF as Order, bG as OrderChannel, bH as OrderCustomerInfo, bI as OrderDiscountInfo, bJ as OrderFilter, bK as OrderFulfillmentSummary, bL as OrderGroup, bM as OrderGroupDetails, bN as OrderGroupPayment, bO as OrderGroupPaymentState, bP as OrderGroupPaymentStatus, bQ as OrderGroupPaymentSummary, bR as OrderGroupStatus, bS as OrderHistory, bT as OrderLineState, bU as OrderLineStatus, bV as OrderLocationInfo, bW as OrderPaymentEvent, bX as OrderPricingView, bY as OrderQueries, bZ as OrderSplitDetail, b_ as OrderStaffInfo, b$ as OrderStatus, c0 as OrderTimestampsDTO, c1 as OrderType, c2 as OtpResult, c3 as PAYMENT_METHOD, c4 as PAYMENT_MUTATION, c5 as PAYMENT_STATE, c6 as PICKUP_TIME_TYPE, c7 as ParentToIframeMessage, c8 as PaymentInfoDTO, c9 as PaymentMethodInfo, ca as PaymentState, cb as PickupTime, cc as PickupTimeType, cd as PlaceDetailsResponse, ce as PlacesService, cf as PriceQuote, cg as PricingOverrides, ch as ProcessAndResolveOptions, ci as ProcessCheckoutOptions, cj as ProcessCheckoutResult, ck as ProviderResolutionSource, cl as QuoteBundleSelectionInput, cm as QuoteCompositeSelectionInput, cn as QuoteDynamicBuckets, co as QuoteStatus, cp as QuoteUiMessage, cq as ReadRequestOptions, cr as RefreshQuoteInput, cs as RefreshQuoteResult, ct as RefundOrderInput, cu as RelatedCandidate, cv as RelatedProduct, cw as RelatedProductsEnrichment, cx as RelationType, cy as ReminderMethod, cz as ReminderSettings, cA as ReorderResult, cB as RequestContext, cC as RequestErrorEvent, cD as RequestOptions, cE as RequestOtpInput, cF as RequestSource, cG as RequestStartEvent, cH as RequestSuccessEvent, cI as RescheduleBookingInput, cJ as RescheduleBookingResult, cK as RescheduleHistoryRecord, cL as ResourceAssignment, cM as Result, cN as RetryEvent, cO as RevokeAllSessionsResult, cP as RevokeSessionResult, cQ as Room, cR as SchedulingMetadata, cS as SchedulingResult, cT as SchedulingService, cU as SenderType, cV as Service, cW as ServiceAvailabilityParams, cX as ServiceAvailabilityResult, cY as ServiceCharge, cZ as ServiceNotes, c_ as ServiceScheduleRequest, c$ as ServiceStatus, d0 as SessionActivityData, d1 as SessionChangeEvent, d2 as SessionMessage, d3 as SlotResourceInfo, d4 as SlotStaffInfo, d5 as Staff, d6 as StaffAssignment, d7 as StaffRole, d8 as StaffScheduleItem, d9 as StockLevel, da as StockStatus, db as StoreCreditBalance, dc as StoreCreditQueries, dd as StorefrontBootstrap, de as SubscriptionService, df as SupportService, dg as Table, dh as TableInfo, di as TimeRange, dj as TimeRanges, dk as TimeSlot, dl as TrackCategoryViewOptions, dm as TrackProductViewOptions, dn as UpdateAddressInput, dp as UpdateOrderStatusInput, dq as UpdateProfileInput, dr as UploadInitResponse, ds as UploadResult, dt as UploadService, du as VerifyOtpInput, dv as combine, dw as combineObject, dx as createCimplifyClient, dy as createElements, dz as err, dA as flatMap, dB as fromPromise, dC as getOrElse, dD as isErr, dE as isOk, dF as mapError, dG as mapResult, dH as ok, dI as toNullable, dJ as tryCatch, dK as unwrap } from './client-D16qfHAB.mjs';
1
+ export { A as AUTHORIZATION_TYPE, a as AUTH_MUTATION, b as AbortablePromise, c as ActivityRecommendation, d as ActivityRecommendationsResponse, e as ActivityService, f as ActivityStateResponse, g as AddressData, h as AddressInfo, i as AmountToPay, j as AuthResponse, k as AuthService, l as AuthStatus, m as AuthenticatedCustomer, n as AuthenticatedData, o as AutocompletePrediction, p as AutocompleteResponse, q as AvailabilityResult, r as AvailableSlot, B as Booking, s as BookingModificationType, t as BookingStatus, u as BookingWithDetails, v as BufferTimes, w as Business, x as BusinessDetailsDTO, y as BusinessHours, z as BusinessPreferences, C as BusinessService, D as BusinessSettings, E as BusinessType, F as BusinessWithLocations, G as CHECKOUT_MODE, H as CHECKOUT_MUTATION, I as CHECKOUT_STEP, J as CONTACT_TYPE, K as CacheOptions, L as CancelBookingInput, M as CancelBookingResult, N as CancelOrderInput, O as CancellationPolicy, P as CartOperations, Q as CatalogueQueries, R as CatalogueResult, S as CatalogueSnapshot, T as CategoryInfo, U as ChatAttachment, V as ChatConversation, W as ChatConversationResponse, X as ChatMessage, Y as ChatWidgetStarter, Z as CheckSlotAvailabilityInput, _ as CheckSlotAvailabilityResult, $ as CheckoutAddressInfo, a0 as CheckoutCartData, a1 as CheckoutCartItem, a2 as CheckoutCustomerInfo, a3 as CheckoutFormData, a4 as CheckoutInput, a5 as CheckoutMode, a9 as CheckoutOperations, a6 as CheckoutOrderType, a7 as CheckoutPaymentMethod, a8 as CheckoutResult, a9 as CheckoutService, aa as CheckoutStatus, ab as CheckoutStatusContext, ac as CheckoutStep, ad as CimplifyClient, ae as CimplifyConfig, af as CimplifyElement, ag as CimplifyElements, ah as ContactType, ai as ContentType, aj as CreateAddressInput, ak as CreateMobileMoneyInput, al as Customer, am as CustomerAddress, an as CustomerBooking, ao as CustomerBookingServiceItem, ap as CustomerLinkPreferences, aq as CustomerMobileMoney, ar as CustomerServicePreferences, as as DEFAULT_COUNTRY, at as DEFAULT_CURRENCY, au as DEVICE_TYPE, av as DayAvailability, aw as DeliveryFeeDetails, ax as DeliveryFeeResponse, ay as DeliveryOption, az as DeliveryOptionsResponse, aA as DeliveryService, aB as DepositResult, aC as DeviceType, aD as DismissMessageResponse, aE as ELEMENTS_AUTH_CONTACT_TYPES, aF as ELEMENTS_AUTH_MODES, aG as ELEMENTS_AUTH_PROMPTS, aH as ELEMENT_TYPES, aI as EVENT_TYPES, aJ as ElementAppearance, aK as ElementEventHandler, aL as ElementEventType, aM as ElementOptions, aN as ElementType, aO as ElementsAuthContactType, aP as ElementsAuthMode, aQ as ElementsAuthOptions, aR as ElementsAuthPrompt, aS as ElementsCheckoutData, aT as ElementsCheckoutResult, aU as ElementsCustomerInfo, aV as ElementsOptions, aW as EnrichedOrder, aX as EnrichedOrderItem, aY as EnrollAndLinkOrderInput, aZ as EnrollAndLinkOrderResult, a_ as EnrollmentData, a$ as Err, b0 as FeeBearerType, b1 as FetchQuoteInput, b2 as FulfillmentLink, b3 as FulfillmentStatus, b4 as FulfillmentSummaryDTO, b5 as FulfillmentType, b6 as FxQuote, b7 as FxQuoteRequest, b8 as FxRateResponse, b9 as FxService, ba as GetAvailableSlotsInput, bb as GetDeliveryOptionsParams, bc as GetOrdersOptions, bd as GetProductsOptions, be as GroupOrderInfo, bf as IframeToParentMessage, bg as InventoryService, bh as LINK_MUTATION, bi as LINK_QUERY, bj as LineItem, bk as LineType, bl as LinkData, bm as LinkEnrollResult, bn as LinkService, bo as LinkSession, bp as LinkStatusResult, bq as LiteBootstrap, br as LiteService, bs as Location, bt as LocationBooking, bu as LocationTaxBehavior, bv as LocationTaxOverrides, bw as LocationTimeProfile, bx as LocationWithDetails, by as MESSAGE_TYPES, bz as MOBILE_MONEY_PROVIDER, bA as MobileMoneyData, bB as MobileMoneyDetails, bC as MobileMoneyProvider, bD as NextAction, bE as ORDER_MUTATION, bF as ORDER_TYPE, bG as ObservabilityHooks, bH as Ok, bI as Order, bJ as OrderChannel, bK as OrderCustomerInfo, bL as OrderDiscountInfo, bM as OrderFilter, bN as OrderFulfillmentSummary, bO as OrderGroup, bP as OrderGroupDetails, bQ as OrderGroupPayment, bR as OrderGroupPaymentState, bS as OrderGroupPaymentStatus, bT as OrderGroupPaymentSummary, bU as OrderGroupStatus, bV as OrderHistory, bW as OrderLineState, bX as OrderLineStatus, bY as OrderLocationInfo, bZ as OrderPaymentEvent, b_ as OrderPricingView, b$ as OrderQueries, c0 as OrderSplitDetail, c1 as OrderStaffInfo, c2 as OrderStatus, c3 as OrderTimestampsDTO, c4 as OrderType, c5 as OtpResult, c6 as PAYMENT_METHOD, c7 as PAYMENT_MUTATION, c8 as PAYMENT_STATE, c9 as PICKUP_TIME_TYPE, ca as ParentToIframeMessage, cb as PaymentInfoDTO, cc as PaymentMethodInfo, cd as PaymentState, ce as PickupTime, cf as PickupTimeType, cg as PlaceDetailsResponse, ch as PlacesService, ci as PriceQuote, cj as PricingOverrides, ck as ProcessAndResolveOptions, cl as ProcessCheckoutOptions, cm as ProcessCheckoutResult, cn as ProviderResolutionSource, co as QuoteBundleSelectionInput, cp as QuoteCompositeSelectionInput, cq as QuoteDynamicBuckets, cr as QuoteStatus, cs as QuoteUiMessage, ct as ReadRequestOptions, cu as RefreshQuoteInput, cv as RefreshQuoteResult, cw as RefundOrderInput, cx as RelatedCandidate, cy as RelatedProduct, cz as RelatedProductsEnrichment, cA as RelationType, cB as ReminderMethod, cC as ReminderSettings, cD as ReorderResult, cE as RequestContext, cF as RequestErrorEvent, cG as RequestOptions, cH as RequestOtpInput, cI as RequestSource, cJ as RequestStartEvent, cK as RequestSuccessEvent, cL as RescheduleBookingInput, cM as RescheduleBookingResult, cN as RescheduleHistoryRecord, cO as ResourceAssignment, cP as Result, cQ as RetryEvent, cR as RevokeAllSessionsResult, cS as RevokeSessionResult, cT as Room, cU as SchedulingMetadata, cV as SchedulingResult, cW as SchedulingService, cX as SenderType, cY as Service, cZ as ServiceAvailabilityParams, c_ as ServiceAvailabilityResult, c$ as ServiceCharge, d0 as ServiceNotes, d1 as ServiceScheduleRequest, d2 as ServiceStatus, d3 as SessionActivityData, d4 as SessionChangeEvent, d5 as SessionMessage, d6 as SlotResourceInfo, d7 as SlotStaffInfo, d8 as Staff, d9 as StaffAssignment, da as StaffRole, db as StaffScheduleItem, dc as StockLevel, dd as StockStatus, de as StoreCreditBalance, df as StoreCreditQueries, dg as StorefrontBootstrap, dh as SubscriptionService, di as SupportService, dj as Table, dk as TableInfo, dl as TimeRange, dm as TimeRanges, dn as TimeSlot, dp as TrackCategoryViewOptions, dq as TrackProductViewOptions, dr as UpdateAddressInput, ds as UpdateOrderStatusInput, dt as UpdateProfileInput, du as UploadInitResponse, dv as UploadResult, dw as UploadService, dx as VerifyOtpInput, dy as combine, dz as combineObject, dA as createCimplifyClient, dB as createElements, dC as err, dD as flatMap, dE as fromPromise, dF as getOrElse, dG as isErr, dH as isOk, dI as mapError, dJ as mapResult, dK as ok, dL as toNullable, dM as tryCatch, dN as unwrap } from './client-Cx3WLhMj.mjs';
2
2
  import { b9 as ProductWithDetails, j as ApiError } from './product-BgFOFmQw.mjs';
3
3
  export { A as AddOn, a as AddOnDetails, b as AddOnGroupDetails, c as AddOnOption, d as AddOnOptionDetails, e as AddOnOptionPrice, f as AddOnWithOptions, g as AddToCartInput, h as AddressValue, i as AdjustmentType, k as AppliedDiscount, l as AttributeAppliesTo, m as AttributeType, n as AttributeValidationRules, o as AttributeVisibility, B as BenefitType, p as BillingFrequency, q as BillingMarkupType, r as BillingPlanType, s as Bundle, t as BundleComponentData, u as BundleComponentInfo, v as BundleComponentVariantView, w as BundleComponentView, x as BundlePriceType, y as BundleProduct, z as BundleSelectionData, C as BundleSelectionInput, D as BundleStoredSelection, E as BundleSummary, F as BundleWithDetails, G as Cart, H as CartAddOn, I as CartChannel, J as CartItem, K as CartItemDetails, L as CartMutationResult, M as CartNotice, N as CartStatus, O as CartSummary, P as CartTotals, Q as Category, R as CategorySummary, S as ChosenPrice, T as CimplifyError, U as Collection, V as CollectionProduct, W as CollectionSummary, X as ComponentGroup, Y as ComponentGroupWithComponents, Z as ComponentPriceBreakdown, _ as ComponentSchedulingData, $ as ComponentSelectionInput, a0 as ComponentSourceType, a1 as Composite, a2 as CompositeComponent, a3 as CompositeComponentView, a4 as CompositeGroupView, a5 as CompositePriceBreakdown, a6 as CompositePriceResult, a7 as CompositePricingMode, a8 as CompositeSelectionData, $ as CompositeSelectionInput, a9 as CompositeStoredSelection, aa as CompositeWithDetails, ab as CurrencyCode, ac as CustomAttributeDefinition, ad as CustomAttributeValue, ae as CustomerInputValue, af as DURATION_UNIT, ag as DateRangeValue, ah as Deal, ai as DealBenefitType, aj as DepositType, ak as DigitalProductType, al as DiscountBreakdown, am as DiscountDetails, an as DiscountValidation, ao as DisplayAddOn, ap as DisplayAddOnOption, aq as DisplayCart, ar as DisplayCartItem, as as DisplayMode, at as DurationUnit, au as ERROR_HINTS, av as EligiblePlansQuery, aw as ErrorCode, ax as ErrorCodeType, ay as ErrorHint, az as FacetValue, aA as FormattedPlanOption, aB as GroupPricingBehavior, aC as INPUT_FIELD_TYPE, aD as IdempotencyMismatchError, aE as InputFieldType, aF as InputFieldValidation, aG as InventoryType, aH as KnowledgeArticle, aI as LineConfiguration, aJ as LocationProductPrice, aK as LocationValue, aL as MeasurementValue, aM as Money, aN as PRODUCT_TYPE, aO as Pagination, aP as PaginationParams, aQ as PhoneValue, aR as Price, aS as PriceAdjustment, aT as PriceDecisionPath, aU as PriceEntryType, aV as PricePathTaxInfo, aW as PriceSource, aX as Product, aY as ProductAddOn, aZ as ProductAvailability, a_ as ProductAvailabilityNow, a$ as ProductBillingPlan, b0 as ProductDealInfo, b1 as ProductInputField, b2 as ProductProperty, b3 as ProductRenderHint, b4 as ProductTaxonomy, b5 as ProductTimeProfile, b6 as ProductType, b7 as ProductVariant, b8 as ProductVariantValue, ba as PropertyFacet, bb as PropertySource, bc as QuantityPricingTier, bd as RENDER_HINT, be as RelatedProductView, bf as SalesChannel, bg as SchedulingMode, bh as SelectedAddOnOption, bi as SemanticKind, bj as SignatureValue, bk as Subscription, bl as SubscriptionInvoice, bm as SubscriptionItem, bn as SubscriptionStatus, bo as SubscriptionWithDetails, bp as Tag, bq as TagsResponse, br as TaxPathComponent, bs as TaxonomyAttributeTemplate, bt as TaxonomyWithChildren, bu as UICart, bv as UICartBusiness, bw as UICartCustomer, bx as UICartLocation, by as UICartPricing, bz as UpdateCartItemInput, bA as VariantAxis, bB as VariantAxisSelection, bC as VariantAxisValue, bD as VariantAxisValueView, bE as VariantAxisView, bF as VariantAxisWithValues, bG as VariantDetails, bH as VariantDetailsDTO, bI as VariantDisplayAttribute, bJ as VariantLocationAvailability, bK as VariantStrategy, bL as VariantView, bM as ZERO, bN as currencyCode, bO as enrichError, bP as getErrorHint, bQ as isCimplifyError, bR as isIdempotencyMismatchError, bS as isQuoteConflictRequiringConsent, bT as isQuoteError, bU as isRetryableError, bV as isSupportedCurrency, bW as money, bX as moneyFromNumber } from './product-BgFOFmQw.mjs';
4
4
  export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, c as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, a as formatNumberCompact, b as formatPrice, e as formatPriceAdjustment, g as formatPriceCompact, h as formatPriceRange, i as formatPriceWithTax, j as formatProductPrice, k as getBasePrice, l as getCurrencySymbol, m as getDiscountPercentage, n as getDisplayPrice, o as getMarkupPercentage, p as getPriceRange, q as getProductCurrency, r as getTaxAmount, s as getUnitPriceAtQuantity, t as hasTaxInfo, u as isOnSale, v as isPaymentStatusFailure, w as isPaymentStatusRequiresAction, x as isPaymentStatusSuccess, y as isTaxInclusive, z as isValidPhoneForContext, A as normalizePaymentResponse, B as normalizePhoneToE164, D as normalizeStatusResponse, E as parsePrice, F as resolvePhoneCountryCode } from './index-Bu76UyFz.mjs';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { A as AUTHORIZATION_TYPE, a as AUTH_MUTATION, b as AbortablePromise, c as ActivityRecommendation, d as ActivityRecommendationsResponse, e as ActivityService, f as ActivityStateResponse, g as AddressData, h as AddressInfo, i as AmountToPay, j as AuthResponse, k as AuthService, l as AuthStatus, m as AuthenticatedCustomer, n as AuthenticatedData, o as AutocompletePrediction, p as AutocompleteResponse, q as AvailabilityResult, r as AvailableSlot, B as Booking, s as BookingModificationType, t as BookingStatus, u as BookingWithDetails, v as BufferTimes, w as Business, x as BusinessDetailsDTO, y as BusinessHours, z as BusinessPreferences, C as BusinessService, D as BusinessSettings, E as BusinessType, F as BusinessWithLocations, G as CHECKOUT_MODE, H as CHECKOUT_MUTATION, I as CHECKOUT_STEP, J as CONTACT_TYPE, K as CacheOptions, L as CancelBookingInput, M as CancelBookingResult, N as CancelOrderInput, O as CancellationPolicy, P as CartOperations, Q as CatalogueQueries, R as CatalogueResult, S as CatalogueSnapshot, T as CategoryInfo, U as ChatAttachment, V as ChatConversation, W as ChatConversationResponse, X as ChatMessage, Y as ChatWidgetStarter, Z as CheckSlotAvailabilityInput, _ as CheckSlotAvailabilityResult, $ as CheckoutAddressInfo, a0 as CheckoutCartData, a1 as CheckoutCartItem, a2 as CheckoutCustomerInfo, a3 as CheckoutFormData, a4 as CheckoutInput, a5 as CheckoutMode, a9 as CheckoutOperations, a6 as CheckoutOrderType, a7 as CheckoutPaymentMethod, a8 as CheckoutResult, a9 as CheckoutService, aa as CheckoutStatus, ab as CheckoutStatusContext, ac as CheckoutStep, ad as CimplifyClient, ae as CimplifyConfig, af as CimplifyElement, ag as CimplifyElements, ah as ContactType, ai as ContentType, aj as CreateAddressInput, ak as CreateMobileMoneyInput, al as Customer, am as CustomerAddress, an as CustomerBooking, ao as CustomerBookingServiceItem, ap as CustomerLinkPreferences, aq as CustomerMobileMoney, ar as CustomerServicePreferences, as as DEFAULT_COUNTRY, at as DEFAULT_CURRENCY, au as DEVICE_TYPE, av as DayAvailability, aw as DeliveryFeeDetails, ax as DeliveryFeeResponse, ay as DeliveryService, az as DepositResult, aA as DeviceType, aB as DismissMessageResponse, aC as ELEMENTS_AUTH_CONTACT_TYPES, aD as ELEMENTS_AUTH_MODES, aE as ELEMENTS_AUTH_PROMPTS, aF as ELEMENT_TYPES, aG as EVENT_TYPES, aH as ElementAppearance, aI as ElementEventHandler, aJ as ElementEventType, aK as ElementOptions, aL as ElementType, aM as ElementsAuthContactType, aN as ElementsAuthMode, aO as ElementsAuthOptions, aP as ElementsAuthPrompt, aQ as ElementsCheckoutData, aR as ElementsCheckoutResult, aS as ElementsCustomerInfo, aT as ElementsOptions, aU as EnrichedOrder, aV as EnrichedOrderItem, aW as EnrollAndLinkOrderInput, aX as EnrollAndLinkOrderResult, aY as EnrollmentData, aZ as Err, a_ as FeeBearerType, a$ as FetchQuoteInput, b0 as FulfillmentLink, b1 as FulfillmentStatus, b2 as FulfillmentSummaryDTO, b3 as FulfillmentType, b4 as FxQuote, b5 as FxQuoteRequest, b6 as FxRateResponse, b7 as FxService, b8 as GetAvailableSlotsInput, b9 as GetOrdersOptions, ba as GetProductsOptions, bb as GroupOrderInfo, bc as IframeToParentMessage, bd as InventoryService, be as LINK_MUTATION, bf as LINK_QUERY, bg as LineItem, bh as LineType, bi as LinkData, bj as LinkEnrollResult, bk as LinkService, bl as LinkSession, bm as LinkStatusResult, bn as LiteBootstrap, bo as LiteService, bp as Location, bq as LocationBooking, br as LocationTaxBehavior, bs as LocationTaxOverrides, bt as LocationTimeProfile, bu as LocationWithDetails, bv as MESSAGE_TYPES, bw as MOBILE_MONEY_PROVIDER, bx as MobileMoneyData, by as MobileMoneyDetails, bz as MobileMoneyProvider, bA as NextAction, bB as ORDER_MUTATION, bC as ORDER_TYPE, bD as ObservabilityHooks, bE as Ok, bF as Order, bG as OrderChannel, bH as OrderCustomerInfo, bI as OrderDiscountInfo, bJ as OrderFilter, bK as OrderFulfillmentSummary, bL as OrderGroup, bM as OrderGroupDetails, bN as OrderGroupPayment, bO as OrderGroupPaymentState, bP as OrderGroupPaymentStatus, bQ as OrderGroupPaymentSummary, bR as OrderGroupStatus, bS as OrderHistory, bT as OrderLineState, bU as OrderLineStatus, bV as OrderLocationInfo, bW as OrderPaymentEvent, bX as OrderPricingView, bY as OrderQueries, bZ as OrderSplitDetail, b_ as OrderStaffInfo, b$ as OrderStatus, c0 as OrderTimestampsDTO, c1 as OrderType, c2 as OtpResult, c3 as PAYMENT_METHOD, c4 as PAYMENT_MUTATION, c5 as PAYMENT_STATE, c6 as PICKUP_TIME_TYPE, c7 as ParentToIframeMessage, c8 as PaymentInfoDTO, c9 as PaymentMethodInfo, ca as PaymentState, cb as PickupTime, cc as PickupTimeType, cd as PlaceDetailsResponse, ce as PlacesService, cf as PriceQuote, cg as PricingOverrides, ch as ProcessAndResolveOptions, ci as ProcessCheckoutOptions, cj as ProcessCheckoutResult, ck as ProviderResolutionSource, cl as QuoteBundleSelectionInput, cm as QuoteCompositeSelectionInput, cn as QuoteDynamicBuckets, co as QuoteStatus, cp as QuoteUiMessage, cq as ReadRequestOptions, cr as RefreshQuoteInput, cs as RefreshQuoteResult, ct as RefundOrderInput, cu as RelatedCandidate, cv as RelatedProduct, cw as RelatedProductsEnrichment, cx as RelationType, cy as ReminderMethod, cz as ReminderSettings, cA as ReorderResult, cB as RequestContext, cC as RequestErrorEvent, cD as RequestOptions, cE as RequestOtpInput, cF as RequestSource, cG as RequestStartEvent, cH as RequestSuccessEvent, cI as RescheduleBookingInput, cJ as RescheduleBookingResult, cK as RescheduleHistoryRecord, cL as ResourceAssignment, cM as Result, cN as RetryEvent, cO as RevokeAllSessionsResult, cP as RevokeSessionResult, cQ as Room, cR as SchedulingMetadata, cS as SchedulingResult, cT as SchedulingService, cU as SenderType, cV as Service, cW as ServiceAvailabilityParams, cX as ServiceAvailabilityResult, cY as ServiceCharge, cZ as ServiceNotes, c_ as ServiceScheduleRequest, c$ as ServiceStatus, d0 as SessionActivityData, d1 as SessionChangeEvent, d2 as SessionMessage, d3 as SlotResourceInfo, d4 as SlotStaffInfo, d5 as Staff, d6 as StaffAssignment, d7 as StaffRole, d8 as StaffScheduleItem, d9 as StockLevel, da as StockStatus, db as StoreCreditBalance, dc as StoreCreditQueries, dd as StorefrontBootstrap, de as SubscriptionService, df as SupportService, dg as Table, dh as TableInfo, di as TimeRange, dj as TimeRanges, dk as TimeSlot, dl as TrackCategoryViewOptions, dm as TrackProductViewOptions, dn as UpdateAddressInput, dp as UpdateOrderStatusInput, dq as UpdateProfileInput, dr as UploadInitResponse, ds as UploadResult, dt as UploadService, du as VerifyOtpInput, dv as combine, dw as combineObject, dx as createCimplifyClient, dy as createElements, dz as err, dA as flatMap, dB as fromPromise, dC as getOrElse, dD as isErr, dE as isOk, dF as mapError, dG as mapResult, dH as ok, dI as toNullable, dJ as tryCatch, dK as unwrap } from './client-Cn5trGYV.js';
1
+ export { A as AUTHORIZATION_TYPE, a as AUTH_MUTATION, b as AbortablePromise, c as ActivityRecommendation, d as ActivityRecommendationsResponse, e as ActivityService, f as ActivityStateResponse, g as AddressData, h as AddressInfo, i as AmountToPay, j as AuthResponse, k as AuthService, l as AuthStatus, m as AuthenticatedCustomer, n as AuthenticatedData, o as AutocompletePrediction, p as AutocompleteResponse, q as AvailabilityResult, r as AvailableSlot, B as Booking, s as BookingModificationType, t as BookingStatus, u as BookingWithDetails, v as BufferTimes, w as Business, x as BusinessDetailsDTO, y as BusinessHours, z as BusinessPreferences, C as BusinessService, D as BusinessSettings, E as BusinessType, F as BusinessWithLocations, G as CHECKOUT_MODE, H as CHECKOUT_MUTATION, I as CHECKOUT_STEP, J as CONTACT_TYPE, K as CacheOptions, L as CancelBookingInput, M as CancelBookingResult, N as CancelOrderInput, O as CancellationPolicy, P as CartOperations, Q as CatalogueQueries, R as CatalogueResult, S as CatalogueSnapshot, T as CategoryInfo, U as ChatAttachment, V as ChatConversation, W as ChatConversationResponse, X as ChatMessage, Y as ChatWidgetStarter, Z as CheckSlotAvailabilityInput, _ as CheckSlotAvailabilityResult, $ as CheckoutAddressInfo, a0 as CheckoutCartData, a1 as CheckoutCartItem, a2 as CheckoutCustomerInfo, a3 as CheckoutFormData, a4 as CheckoutInput, a5 as CheckoutMode, a9 as CheckoutOperations, a6 as CheckoutOrderType, a7 as CheckoutPaymentMethod, a8 as CheckoutResult, a9 as CheckoutService, aa as CheckoutStatus, ab as CheckoutStatusContext, ac as CheckoutStep, ad as CimplifyClient, ae as CimplifyConfig, af as CimplifyElement, ag as CimplifyElements, ah as ContactType, ai as ContentType, aj as CreateAddressInput, ak as CreateMobileMoneyInput, al as Customer, am as CustomerAddress, an as CustomerBooking, ao as CustomerBookingServiceItem, ap as CustomerLinkPreferences, aq as CustomerMobileMoney, ar as CustomerServicePreferences, as as DEFAULT_COUNTRY, at as DEFAULT_CURRENCY, au as DEVICE_TYPE, av as DayAvailability, aw as DeliveryFeeDetails, ax as DeliveryFeeResponse, ay as DeliveryOption, az as DeliveryOptionsResponse, aA as DeliveryService, aB as DepositResult, aC as DeviceType, aD as DismissMessageResponse, aE as ELEMENTS_AUTH_CONTACT_TYPES, aF as ELEMENTS_AUTH_MODES, aG as ELEMENTS_AUTH_PROMPTS, aH as ELEMENT_TYPES, aI as EVENT_TYPES, aJ as ElementAppearance, aK as ElementEventHandler, aL as ElementEventType, aM as ElementOptions, aN as ElementType, aO as ElementsAuthContactType, aP as ElementsAuthMode, aQ as ElementsAuthOptions, aR as ElementsAuthPrompt, aS as ElementsCheckoutData, aT as ElementsCheckoutResult, aU as ElementsCustomerInfo, aV as ElementsOptions, aW as EnrichedOrder, aX as EnrichedOrderItem, aY as EnrollAndLinkOrderInput, aZ as EnrollAndLinkOrderResult, a_ as EnrollmentData, a$ as Err, b0 as FeeBearerType, b1 as FetchQuoteInput, b2 as FulfillmentLink, b3 as FulfillmentStatus, b4 as FulfillmentSummaryDTO, b5 as FulfillmentType, b6 as FxQuote, b7 as FxQuoteRequest, b8 as FxRateResponse, b9 as FxService, ba as GetAvailableSlotsInput, bb as GetDeliveryOptionsParams, bc as GetOrdersOptions, bd as GetProductsOptions, be as GroupOrderInfo, bf as IframeToParentMessage, bg as InventoryService, bh as LINK_MUTATION, bi as LINK_QUERY, bj as LineItem, bk as LineType, bl as LinkData, bm as LinkEnrollResult, bn as LinkService, bo as LinkSession, bp as LinkStatusResult, bq as LiteBootstrap, br as LiteService, bs as Location, bt as LocationBooking, bu as LocationTaxBehavior, bv as LocationTaxOverrides, bw as LocationTimeProfile, bx as LocationWithDetails, by as MESSAGE_TYPES, bz as MOBILE_MONEY_PROVIDER, bA as MobileMoneyData, bB as MobileMoneyDetails, bC as MobileMoneyProvider, bD as NextAction, bE as ORDER_MUTATION, bF as ORDER_TYPE, bG as ObservabilityHooks, bH as Ok, bI as Order, bJ as OrderChannel, bK as OrderCustomerInfo, bL as OrderDiscountInfo, bM as OrderFilter, bN as OrderFulfillmentSummary, bO as OrderGroup, bP as OrderGroupDetails, bQ as OrderGroupPayment, bR as OrderGroupPaymentState, bS as OrderGroupPaymentStatus, bT as OrderGroupPaymentSummary, bU as OrderGroupStatus, bV as OrderHistory, bW as OrderLineState, bX as OrderLineStatus, bY as OrderLocationInfo, bZ as OrderPaymentEvent, b_ as OrderPricingView, b$ as OrderQueries, c0 as OrderSplitDetail, c1 as OrderStaffInfo, c2 as OrderStatus, c3 as OrderTimestampsDTO, c4 as OrderType, c5 as OtpResult, c6 as PAYMENT_METHOD, c7 as PAYMENT_MUTATION, c8 as PAYMENT_STATE, c9 as PICKUP_TIME_TYPE, ca as ParentToIframeMessage, cb as PaymentInfoDTO, cc as PaymentMethodInfo, cd as PaymentState, ce as PickupTime, cf as PickupTimeType, cg as PlaceDetailsResponse, ch as PlacesService, ci as PriceQuote, cj as PricingOverrides, ck as ProcessAndResolveOptions, cl as ProcessCheckoutOptions, cm as ProcessCheckoutResult, cn as ProviderResolutionSource, co as QuoteBundleSelectionInput, cp as QuoteCompositeSelectionInput, cq as QuoteDynamicBuckets, cr as QuoteStatus, cs as QuoteUiMessage, ct as ReadRequestOptions, cu as RefreshQuoteInput, cv as RefreshQuoteResult, cw as RefundOrderInput, cx as RelatedCandidate, cy as RelatedProduct, cz as RelatedProductsEnrichment, cA as RelationType, cB as ReminderMethod, cC as ReminderSettings, cD as ReorderResult, cE as RequestContext, cF as RequestErrorEvent, cG as RequestOptions, cH as RequestOtpInput, cI as RequestSource, cJ as RequestStartEvent, cK as RequestSuccessEvent, cL as RescheduleBookingInput, cM as RescheduleBookingResult, cN as RescheduleHistoryRecord, cO as ResourceAssignment, cP as Result, cQ as RetryEvent, cR as RevokeAllSessionsResult, cS as RevokeSessionResult, cT as Room, cU as SchedulingMetadata, cV as SchedulingResult, cW as SchedulingService, cX as SenderType, cY as Service, cZ as ServiceAvailabilityParams, c_ as ServiceAvailabilityResult, c$ as ServiceCharge, d0 as ServiceNotes, d1 as ServiceScheduleRequest, d2 as ServiceStatus, d3 as SessionActivityData, d4 as SessionChangeEvent, d5 as SessionMessage, d6 as SlotResourceInfo, d7 as SlotStaffInfo, d8 as Staff, d9 as StaffAssignment, da as StaffRole, db as StaffScheduleItem, dc as StockLevel, dd as StockStatus, de as StoreCreditBalance, df as StoreCreditQueries, dg as StorefrontBootstrap, dh as SubscriptionService, di as SupportService, dj as Table, dk as TableInfo, dl as TimeRange, dm as TimeRanges, dn as TimeSlot, dp as TrackCategoryViewOptions, dq as TrackProductViewOptions, dr as UpdateAddressInput, ds as UpdateOrderStatusInput, dt as UpdateProfileInput, du as UploadInitResponse, dv as UploadResult, dw as UploadService, dx as VerifyOtpInput, dy as combine, dz as combineObject, dA as createCimplifyClient, dB as createElements, dC as err, dD as flatMap, dE as fromPromise, dF as getOrElse, dG as isErr, dH as isOk, dI as mapError, dJ as mapResult, dK as ok, dL as toNullable, dM as tryCatch, dN as unwrap } from './client-BmDNlUMx.js';
2
2
  import { b9 as ProductWithDetails, j as ApiError } from './product-BgFOFmQw.js';
3
3
  export { A as AddOn, a as AddOnDetails, b as AddOnGroupDetails, c as AddOnOption, d as AddOnOptionDetails, e as AddOnOptionPrice, f as AddOnWithOptions, g as AddToCartInput, h as AddressValue, i as AdjustmentType, k as AppliedDiscount, l as AttributeAppliesTo, m as AttributeType, n as AttributeValidationRules, o as AttributeVisibility, B as BenefitType, p as BillingFrequency, q as BillingMarkupType, r as BillingPlanType, s as Bundle, t as BundleComponentData, u as BundleComponentInfo, v as BundleComponentVariantView, w as BundleComponentView, x as BundlePriceType, y as BundleProduct, z as BundleSelectionData, C as BundleSelectionInput, D as BundleStoredSelection, E as BundleSummary, F as BundleWithDetails, G as Cart, H as CartAddOn, I as CartChannel, J as CartItem, K as CartItemDetails, L as CartMutationResult, M as CartNotice, N as CartStatus, O as CartSummary, P as CartTotals, Q as Category, R as CategorySummary, S as ChosenPrice, T as CimplifyError, U as Collection, V as CollectionProduct, W as CollectionSummary, X as ComponentGroup, Y as ComponentGroupWithComponents, Z as ComponentPriceBreakdown, _ as ComponentSchedulingData, $ as ComponentSelectionInput, a0 as ComponentSourceType, a1 as Composite, a2 as CompositeComponent, a3 as CompositeComponentView, a4 as CompositeGroupView, a5 as CompositePriceBreakdown, a6 as CompositePriceResult, a7 as CompositePricingMode, a8 as CompositeSelectionData, $ as CompositeSelectionInput, a9 as CompositeStoredSelection, aa as CompositeWithDetails, ab as CurrencyCode, ac as CustomAttributeDefinition, ad as CustomAttributeValue, ae as CustomerInputValue, af as DURATION_UNIT, ag as DateRangeValue, ah as Deal, ai as DealBenefitType, aj as DepositType, ak as DigitalProductType, al as DiscountBreakdown, am as DiscountDetails, an as DiscountValidation, ao as DisplayAddOn, ap as DisplayAddOnOption, aq as DisplayCart, ar as DisplayCartItem, as as DisplayMode, at as DurationUnit, au as ERROR_HINTS, av as EligiblePlansQuery, aw as ErrorCode, ax as ErrorCodeType, ay as ErrorHint, az as FacetValue, aA as FormattedPlanOption, aB as GroupPricingBehavior, aC as INPUT_FIELD_TYPE, aD as IdempotencyMismatchError, aE as InputFieldType, aF as InputFieldValidation, aG as InventoryType, aH as KnowledgeArticle, aI as LineConfiguration, aJ as LocationProductPrice, aK as LocationValue, aL as MeasurementValue, aM as Money, aN as PRODUCT_TYPE, aO as Pagination, aP as PaginationParams, aQ as PhoneValue, aR as Price, aS as PriceAdjustment, aT as PriceDecisionPath, aU as PriceEntryType, aV as PricePathTaxInfo, aW as PriceSource, aX as Product, aY as ProductAddOn, aZ as ProductAvailability, a_ as ProductAvailabilityNow, a$ as ProductBillingPlan, b0 as ProductDealInfo, b1 as ProductInputField, b2 as ProductProperty, b3 as ProductRenderHint, b4 as ProductTaxonomy, b5 as ProductTimeProfile, b6 as ProductType, b7 as ProductVariant, b8 as ProductVariantValue, ba as PropertyFacet, bb as PropertySource, bc as QuantityPricingTier, bd as RENDER_HINT, be as RelatedProductView, bf as SalesChannel, bg as SchedulingMode, bh as SelectedAddOnOption, bi as SemanticKind, bj as SignatureValue, bk as Subscription, bl as SubscriptionInvoice, bm as SubscriptionItem, bn as SubscriptionStatus, bo as SubscriptionWithDetails, bp as Tag, bq as TagsResponse, br as TaxPathComponent, bs as TaxonomyAttributeTemplate, bt as TaxonomyWithChildren, bu as UICart, bv as UICartBusiness, bw as UICartCustomer, bx as UICartLocation, by as UICartPricing, bz as UpdateCartItemInput, bA as VariantAxis, bB as VariantAxisSelection, bC as VariantAxisValue, bD as VariantAxisValueView, bE as VariantAxisView, bF as VariantAxisWithValues, bG as VariantDetails, bH as VariantDetailsDTO, bI as VariantDisplayAttribute, bJ as VariantLocationAvailability, bK as VariantStrategy, bL as VariantView, bM as ZERO, bN as currencyCode, bO as enrichError, bP as getErrorHint, bQ as isCimplifyError, bR as isIdempotencyMismatchError, bS as isQuoteConflictRequiringConsent, bT as isQuoteError, bU as isRetryableError, bV as isSupportedCurrency, bW as money, bX as moneyFromNumber } from './product-BgFOFmQw.js';
4
4
  export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, c as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, a as formatNumberCompact, b as formatPrice, e as formatPriceAdjustment, g as formatPriceCompact, h as formatPriceRange, i as formatPriceWithTax, j as formatProductPrice, k as getBasePrice, l as getCurrencySymbol, m as getDiscountPercentage, n as getDisplayPrice, o as getMarkupPercentage, p as getPriceRange, q as getProductCurrency, r as getTaxAmount, s as getUnitPriceAtQuantity, t as hasTaxInfo, u as isOnSale, v as isPaymentStatusFailure, w as isPaymentStatusRequiresAction, x as isPaymentStatusSuccess, y as isTaxInclusive, z as isValidPhoneForContext, A as normalizePaymentResponse, B as normalizePhoneToE164, D as normalizeStatusResponse, E as parsePrice, F as resolvePhoneCountryCode } from './index-Moe4cGMB.js';