@cimplify/sdk 0.102.0 → 0.104.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 (69) hide show
  1. package/dist/advanced.d.mts +3 -3
  2. package/dist/advanced.d.ts +3 -3
  3. package/dist/advanced.js +23 -22
  4. package/dist/advanced.mjs +4 -3
  5. package/dist/{chunk-DCMXUKDQ.mjs → chunk-2WPVUIHX.mjs} +455 -105
  6. package/dist/{chunk-NIOUSKQQ.js → chunk-4BKOKHE3.js} +9 -0
  7. package/dist/{chunk-YDA46OZ6.js → chunk-5BDYDZ4U.js} +722 -90
  8. package/dist/{chunk-4KNFBPV2.mjs → chunk-5RT4HYMP.mjs} +61 -15
  9. package/dist/{chunk-WMEC5JWN.js → chunk-7PDEX54K.js} +50 -13
  10. package/dist/chunk-CNN7Z2IP.js +125 -0
  11. package/dist/{chunk-DLW3RWRK.mjs → chunk-DYIAX3WI.mjs} +46 -12
  12. package/dist/{chunk-LOWSMGRT.js → chunk-E4K2VQDD.js} +64 -16
  13. package/dist/chunk-GOHSXBKW.mjs +105 -0
  14. package/dist/{chunk-O3YUHLZL.mjs → chunk-H3RATH4B.mjs} +9 -0
  15. package/dist/{chunk-YER7DIOM.js → chunk-IQFFSKE2.js} +753 -594
  16. package/dist/{chunk-Z3K2D3TE.mjs → chunk-OCCNG6MO.mjs} +735 -558
  17. package/dist/{chunk-DKLHCZ5M.mjs → chunk-OKADBZAI.mjs} +652 -25
  18. package/dist/{chunk-EAZGA7LD.js → chunk-YVAEY3VC.js} +457 -107
  19. package/dist/{client-nsiMwuC1.d.ts → client-BVNWjk6W.d.ts} +2 -2
  20. package/dist/{client-B40KFazg.d.ts → client-BuLcOWLv.d.ts} +202 -319
  21. package/dist/{client-BizGfqB7.d.mts → client-D5AoobFc.d.mts} +202 -319
  22. package/dist/{client-BdErclfU.d.mts → client-fM716k7G.d.mts} +2 -2
  23. package/dist/{index-DpmnI__D.d.mts → index-BtcoqrY1.d.ts} +14 -4
  24. package/dist/{index-nEyXWIyR.d.ts → index-D7Tf3v7c.d.mts} +14 -4
  25. package/dist/index.d.mts +83 -8
  26. package/dist/index.d.ts +83 -8
  27. package/dist/index.js +203 -169
  28. package/dist/index.mjs +7 -5
  29. package/dist/link-D9iSVxt5.d.mts +308 -0
  30. package/dist/link-D9iSVxt5.d.ts +308 -0
  31. package/dist/mock/cli.mjs +463 -104
  32. package/dist/mock/library.js +463 -104
  33. package/dist/mock/library.mjs +463 -104
  34. package/dist/mock/msw.js +463 -104
  35. package/dist/mock/msw.mjs +463 -104
  36. package/dist/{product-Byf0unSy.d.mts → payment-g0HFkEDU.d.mts} +708 -61
  37. package/dist/{product-Byf0unSy.d.ts → payment-g0HFkEDU.d.ts} +708 -61
  38. package/dist/{price-BstChV9a.d.ts → price-BLIeAb8K.d.ts} +1 -1
  39. package/dist/{price-CS4E5zLS.d.mts → price-Czq_cTC_.d.mts} +1 -1
  40. package/dist/react.d.mts +4 -4
  41. package/dist/react.d.ts +4 -4
  42. package/dist/react.js +194 -169
  43. package/dist/react.mjs +55 -30
  44. package/dist/{server-DqbZh8Bk.d.mts → server-BkVhOIwn.d.mts} +14 -10
  45. package/dist/{server-Cj40R2ZD.d.ts → server-DKK_D-PP.d.ts} +14 -10
  46. package/dist/server.d.mts +4 -4
  47. package/dist/server.d.ts +4 -4
  48. package/dist/server.js +12 -10
  49. package/dist/server.mjs +6 -4
  50. package/dist/testing/msw.d.mts +2 -2
  51. package/dist/testing/msw.d.ts +2 -2
  52. package/dist/testing/msw.js +4 -3
  53. package/dist/testing/msw.mjs +3 -2
  54. package/dist/testing/suite.d.mts +6 -6
  55. package/dist/testing/suite.d.ts +6 -6
  56. package/dist/testing/suite.js +26 -25
  57. package/dist/testing/suite.mjs +7 -6
  58. package/dist/testing.d.mts +195 -56
  59. package/dist/testing.d.ts +195 -56
  60. package/dist/testing.js +95 -82
  61. package/dist/testing.mjs +14 -9
  62. package/dist/utils.d.mts +4 -4
  63. package/dist/utils.d.ts +4 -4
  64. package/dist/utils.js +37 -29
  65. package/dist/utils.mjs +2 -2
  66. package/package.json +7 -1
  67. package/registry/chat-widget.json +1 -1
  68. package/dist/payment-l0rkieEQ.d.mts +0 -113
  69. package/dist/payment-vzNnIi1n.d.ts +0 -113
@@ -1,5 +1,5 @@
1
- import { af as CimplifyClient } from './client-BizGfqB7.mjs';
2
- import { A as AppHandle, C as CreateAppOptions } from './server-DqbZh8Bk.mjs';
1
+ import { ac as CimplifyClient } from './client-D5AoobFc.mjs';
2
+ import { A as AppHandle, C as CreateAppOptions } from './server-BkVhOIwn.mjs';
3
3
 
4
4
  /**
5
5
  * Test client + fixtures.
@@ -1,6 +1,6 @@
1
- import { aR as Money, ad as CurrencyCode, a_ as PricePathTaxInfo, b0 as Product, be as ProductWithDetails, bh as QuantityPricingTier } from './product-Byf0unSy.mjs';
2
- import { P as ProductWithPrice } from './price-CS4E5zLS.mjs';
3
- import { b as PaymentErrorDetails, g as PaymentResponse, i as PaymentStatusResponse } from './payment-l0rkieEQ.mjs';
1
+ import { aU as Money, af as CurrencyCode, bc as PricePathTaxInfo, be as Product, bs as ProductWithDetails, bv as QuantityPricingTier, a$ as PaymentErrorDetails, b4 as PaymentResponse, b6 as PaymentStatusResponse } from './payment-g0HFkEDU.js';
2
+ import { P as ProductWithPrice } from './price-BLIeAb8K.js';
3
+ import { z as MobileMoneyProvider } from './link-D9iSVxt5.js';
4
4
  import { CountryCode } from 'libphonenumber-js';
5
5
 
6
6
  declare const CURRENCY_SYMBOLS: Record<string, string>;
@@ -40,6 +40,7 @@ declare function formatPriceRange(min: number, max: number, currency?: CurrencyC
40
40
 
41
41
  declare function categorizePaymentError(error: Error, errorCode?: string): PaymentErrorDetails;
42
42
  declare function normalizePaymentResponse(response: unknown): PaymentResponse;
43
+ declare const PAYMENT_TERMINAL_FAILURE_STATUSES: readonly ["failed", "cancelled", "voided", "abandoned", "refunded", "refund_pending", "reversed", "disputed"];
43
44
  declare function isPaymentStatusSuccess(status: string | undefined): boolean;
44
45
  declare function isPaymentStatusFailure(status: string | undefined): boolean;
45
46
  declare function isPaymentStatusRequiresAction(status: string | undefined): boolean;
@@ -58,6 +59,15 @@ declare const MOBILE_MONEY_PROVIDERS: {
58
59
  readonly prefix: readonly ["026", "027", "056", "057"];
59
60
  };
60
61
  };
62
+ type CanonicalMobileMoneyProvider = Extract<MobileMoneyProvider, "mtn" | "telecel" | "airteltigo" | "mpesa">;
63
+ /** Normalize route-catalog and legacy network aliases to storefront provider codes. */
64
+ declare function canonicalMobileMoneyProvider(provider: string | null | undefined): CanonicalMobileMoneyProvider | null;
65
+ /**
66
+ * Validate an external payment-authorization URL before browser navigation.
67
+ * Provider payloads are data, not executable navigation instructions: only
68
+ * HTTPS is accepted outside local development.
69
+ */
70
+ declare function paymentAuthorizationUrl(value: unknown): string | null;
61
71
  declare function detectMobileMoneyProvider(phoneNumber: string): "mtn" | "vodafone" | "airtel" | null;
62
72
 
63
73
  interface PhoneNormalizationOptions {
@@ -68,4 +78,4 @@ declare function resolvePhoneCountryCode(options?: PhoneNormalizationOptions): C
68
78
  declare function normalizePhoneToE164(raw: string, options?: PhoneNormalizationOptions): string | null;
69
79
  declare function isValidPhoneForContext(raw: string, options?: PhoneNormalizationOptions): boolean;
70
80
 
71
- export { normalizePaymentResponse as A, normalizePhoneToE164 as B, CURRENCY_SYMBOLS as C, normalizeStatusResponse as D, parsePrice as E, resolvePhoneCountryCode as F, MOBILE_MONEY_PROVIDERS as M, formatNumberCompact as a, formatPrice as b, categorizePaymentError as c, detectMobileMoneyProvider as d, formatPriceAdjustment as e, formatMoney as f, formatPriceCompact as g, formatPriceRange as h, formatPriceWithTax as i, formatProductPrice as j, getBasePrice as k, getCurrencySymbol as l, getDiscountPercentage as m, getDisplayPrice as n, getMarkupPercentage as o, getPriceRange as p, getProductCurrency as q, getTaxAmount as r, getUnitPriceAtQuantity as s, hasTaxInfo as t, isOnSale as u, isPaymentStatusFailure as v, isPaymentStatusRequiresAction as w, isPaymentStatusSuccess as x, isTaxInclusive as y, isValidPhoneForContext as z };
81
+ export { isTaxInclusive as A, isValidPhoneForContext as B, CURRENCY_SYMBOLS as C, normalizePaymentResponse as D, normalizePhoneToE164 as E, normalizeStatusResponse as F, parsePrice as G, paymentAuthorizationUrl as H, resolvePhoneCountryCode as I, MOBILE_MONEY_PROVIDERS as M, PAYMENT_TERMINAL_FAILURE_STATUSES as P, type CanonicalMobileMoneyProvider as a, categorizePaymentError as b, canonicalMobileMoneyProvider as c, detectMobileMoneyProvider as d, formatNumberCompact as e, formatMoney as f, formatPrice as g, formatPriceAdjustment as h, formatPriceCompact as i, formatPriceRange as j, formatPriceWithTax as k, formatProductPrice as l, getBasePrice as m, getCurrencySymbol as n, getDiscountPercentage as o, getDisplayPrice as p, getMarkupPercentage as q, getPriceRange as r, getProductCurrency as s, getTaxAmount as t, getUnitPriceAtQuantity as u, hasTaxInfo as v, isOnSale as w, isPaymentStatusFailure as x, isPaymentStatusRequiresAction as y, isPaymentStatusSuccess as z };
@@ -1,6 +1,6 @@
1
- import { aR as Money, ad as CurrencyCode, a_ as PricePathTaxInfo, b0 as Product, be as ProductWithDetails, bh as QuantityPricingTier } from './product-Byf0unSy.js';
2
- import { P as ProductWithPrice } from './price-BstChV9a.js';
3
- import { b as PaymentErrorDetails, g as PaymentResponse, i as PaymentStatusResponse } from './payment-vzNnIi1n.js';
1
+ import { aU as Money, af as CurrencyCode, bc as PricePathTaxInfo, be as Product, bs as ProductWithDetails, bv as QuantityPricingTier, a$ as PaymentErrorDetails, b4 as PaymentResponse, b6 as PaymentStatusResponse } from './payment-g0HFkEDU.mjs';
2
+ import { P as ProductWithPrice } from './price-Czq_cTC_.mjs';
3
+ import { z as MobileMoneyProvider } from './link-D9iSVxt5.mjs';
4
4
  import { CountryCode } from 'libphonenumber-js';
5
5
 
6
6
  declare const CURRENCY_SYMBOLS: Record<string, string>;
@@ -40,6 +40,7 @@ declare function formatPriceRange(min: number, max: number, currency?: CurrencyC
40
40
 
41
41
  declare function categorizePaymentError(error: Error, errorCode?: string): PaymentErrorDetails;
42
42
  declare function normalizePaymentResponse(response: unknown): PaymentResponse;
43
+ declare const PAYMENT_TERMINAL_FAILURE_STATUSES: readonly ["failed", "cancelled", "voided", "abandoned", "refunded", "refund_pending", "reversed", "disputed"];
43
44
  declare function isPaymentStatusSuccess(status: string | undefined): boolean;
44
45
  declare function isPaymentStatusFailure(status: string | undefined): boolean;
45
46
  declare function isPaymentStatusRequiresAction(status: string | undefined): boolean;
@@ -58,6 +59,15 @@ declare const MOBILE_MONEY_PROVIDERS: {
58
59
  readonly prefix: readonly ["026", "027", "056", "057"];
59
60
  };
60
61
  };
62
+ type CanonicalMobileMoneyProvider = Extract<MobileMoneyProvider, "mtn" | "telecel" | "airteltigo" | "mpesa">;
63
+ /** Normalize route-catalog and legacy network aliases to storefront provider codes. */
64
+ declare function canonicalMobileMoneyProvider(provider: string | null | undefined): CanonicalMobileMoneyProvider | null;
65
+ /**
66
+ * Validate an external payment-authorization URL before browser navigation.
67
+ * Provider payloads are data, not executable navigation instructions: only
68
+ * HTTPS is accepted outside local development.
69
+ */
70
+ declare function paymentAuthorizationUrl(value: unknown): string | null;
61
71
  declare function detectMobileMoneyProvider(phoneNumber: string): "mtn" | "vodafone" | "airtel" | null;
62
72
 
63
73
  interface PhoneNormalizationOptions {
@@ -68,4 +78,4 @@ declare function resolvePhoneCountryCode(options?: PhoneNormalizationOptions): C
68
78
  declare function normalizePhoneToE164(raw: string, options?: PhoneNormalizationOptions): string | null;
69
79
  declare function isValidPhoneForContext(raw: string, options?: PhoneNormalizationOptions): boolean;
70
80
 
71
- export { normalizePaymentResponse as A, normalizePhoneToE164 as B, CURRENCY_SYMBOLS as C, normalizeStatusResponse as D, parsePrice as E, resolvePhoneCountryCode as F, MOBILE_MONEY_PROVIDERS as M, formatNumberCompact as a, formatPrice as b, categorizePaymentError as c, detectMobileMoneyProvider as d, formatPriceAdjustment as e, formatMoney as f, formatPriceCompact as g, formatPriceRange as h, formatPriceWithTax as i, formatProductPrice as j, getBasePrice as k, getCurrencySymbol as l, getDiscountPercentage as m, getDisplayPrice as n, getMarkupPercentage as o, getPriceRange as p, getProductCurrency as q, getTaxAmount as r, getUnitPriceAtQuantity as s, hasTaxInfo as t, isOnSale as u, isPaymentStatusFailure as v, isPaymentStatusRequiresAction as w, isPaymentStatusSuccess as x, isTaxInclusive as y, isValidPhoneForContext as z };
81
+ export { isTaxInclusive as A, isValidPhoneForContext as B, CURRENCY_SYMBOLS as C, normalizePaymentResponse as D, normalizePhoneToE164 as E, normalizeStatusResponse as F, parsePrice as G, paymentAuthorizationUrl as H, resolvePhoneCountryCode as I, MOBILE_MONEY_PROVIDERS as M, PAYMENT_TERMINAL_FAILURE_STATUSES as P, type CanonicalMobileMoneyProvider as a, categorizePaymentError as b, canonicalMobileMoneyProvider as c, detectMobileMoneyProvider as d, formatNumberCompact as e, formatMoney as f, formatPrice as g, formatPriceAdjustment as h, formatPriceCompact as i, formatPriceRange as j, formatPriceWithTax as k, formatProductPrice as l, getBasePrice as m, getCurrencySymbol as n, getDiscountPercentage as o, getDisplayPrice as p, getMarkupPercentage as q, getPriceRange as r, getProductCurrency as s, getTaxAmount as t, getUnitPriceAtQuantity as u, hasTaxInfo as v, isOnSale as w, isPaymentStatusFailure as x, isPaymentStatusRequiresAction as y, isPaymentStatusSuccess as z };
package/dist/index.d.mts CHANGED
@@ -1,14 +1,89 @@
1
- import { X as ChatReplyCard } from './client-BizGfqB7.mjs';
2
- 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 BusinessWithLocations, F as CHECKOUT_MODE, G as CHECKOUT_MUTATION, H as CHECKOUT_STEP, I as CONTACT_TYPE, J as CacheOptions, K as CancelBookingInput, L as CancelBookingResult, M as CancelOrderInput, N as CancellationPolicy, O as CartOperations, P as CatalogueQueries, Q as CatalogueResult, R as CatalogueSnapshot, S as CategoryInfo, T as ChatAttachment, U as ChatConversation, V as ChatConversationResponse, W as ChatMessage, Y as ChatReplyContext, Z as ChatUploadAttachment, _ as ChatWidgetStarter, $ as CheckSlotAvailabilityInput, a0 as CheckSlotAvailabilityResult, a1 as CheckoutAddressInfo, a2 as CheckoutCartData, a3 as CheckoutCartItem, a4 as CheckoutCustomerInfo, a5 as CheckoutFormData, a6 as CheckoutInput, a7 as CheckoutMode, ab as CheckoutOperations, a8 as CheckoutOrderType, a9 as CheckoutPaymentMethod, aa as CheckoutResult, ab as CheckoutService, ac as CheckoutStatus, ad as CheckoutStatusContext, ae as CheckoutStep, af as CimplifyClient, ag as CimplifyConfig, ah as CimplifyElement, ai as CimplifyElements, aj as ClaimConversationResult, ak as ContactType, al as ContentType, am as CreateAddressInput, an as CreateMobileMoneyInput, ao as Customer, ap as CustomerAddress, aq as CustomerBooking, ar as CustomerBookingServiceItem, as as CustomerLinkPreferences, at as CustomerMobileMoney, au as CustomerServicePreferences, av as DEFAULT_COUNTRY, aw as DEFAULT_CURRENCY, ax as DEVICE_TYPE, ay as DayAvailability, az as DeliveryFeeDetails, aA as DeliveryFeeResponse, aB as DeliveryOption, aC as DeliveryOptionsQuery, aD as DeliveryOptionsResponse, aE as DeliveryService, aF as DepositResult, aG as DeviceType, aH as DismissMessageResponse, aI as ELEMENTS_AUTH_CONTACT_TYPES, aJ as ELEMENTS_AUTH_MODES, aK as ELEMENTS_AUTH_PROMPTS, aL as ELEMENT_TYPES, aM as EVENT_TYPES, aN as ElementAppearance, aO as ElementEventHandler, aP as ElementEventType, aQ as ElementOptions, aR as ElementType, aS as ElementsAuthContactType, aT as ElementsAuthMode, aU as ElementsAuthOptions, aV as ElementsAuthPrompt, aW as ElementsCheckoutData, aX as ElementsCheckoutResult, aY as ElementsCustomerInfo, aZ as ElementsOptions, a_ as EnrichedOrder, a$ as EnrichedOrderItem, b0 as EnrollAndLinkOrderInput, b1 as EnrollAndLinkOrderResult, b2 as EnrollmentData, b3 as Err, b4 as FeeBearerType, b5 as FetchQuoteInput, b6 as FulfillmentLink, b7 as FulfillmentStatus, b8 as FulfillmentSummaryDTO, b9 as FulfillmentType, ba as FxQuote, bb as FxQuoteRequest, bc as FxQuoteStatus, bd as FxRateResponse, be as FxService, bf as GetAvailableSlotsInput, bg as GetDeliveryOptionsParams, bh as GetOrdersOptions, bi as GetProductsOptions, bj as GroupOrderInfo, bk as IframeToParentMessage, bl as InventoryService, bm as LINK_MUTATION, bn as LINK_QUERY, bo as LifecyclePhase, bp as LineItem, bq as LineType, br as LinkData, bs as LinkEnrollResult, bt as LinkService, bu as LinkSession, bv as LinkStatusResult, bw as LiteBootstrap, bx as LiteDayHours, by as LiteHoursRange, bz as LiteService, bA as Location, bB as LocationBooking, bC as LocationTaxBehavior, bD as LocationTaxOverrides, bE as LocationTimeProfile, bF as LocationWithDetails, bG as MESSAGE_TYPES, bH as MOBILE_MONEY_PROVIDER, bI as MobileMoneyData, bJ as MobileMoneyDetails, bK as MobileMoneyProvider, bL as NextAction, bM as ORDER_MUTATION, bN as ORDER_TYPE, bO as ObservabilityHooks, bP as Ok, bQ as Order, bR as OrderCustomerInfo, bS as OrderDiscountInfo, bT as OrderFilter, bU as OrderFulfillmentSummary, bV as OrderGroup, bW as OrderGroupDetails, bX as OrderGroupPayment, bY as OrderGroupPaymentState, bZ as OrderGroupPaymentStatus, b_ as OrderGroupPaymentSummary, b$ as OrderGroupStatus, c0 as OrderHistory, c1 as OrderLineState, c2 as OrderLineStatus, c3 as OrderLocationInfo, c4 as OrderPaymentEvent, c5 as OrderPricingView, c6 as OrderQueries, c7 as OrderSplitDetail, c8 as OrderStaffInfo, c9 as OrderStatus, ca as OrderTimestampsDTO, cb as OrderType, cc as Origin, cd as OriginActor, ce as OriginChannel, cf as OtpResult, cg as PAYMENT_METHOD, ch as PAYMENT_MUTATION, ci as PAYMENT_STATE, cj as PICKUP_TIME_TYPE, ck as ParentToIframeMessage, cl as PaymentInfoDTO, cm as PaymentMethodInfo, cn as PaymentState, co as PickupTime, cp as PickupTimeType, cq as PlaceDetailsResponse, cr as PlacesService, cs as PriceQuote, ct as PricingOverrides, cu as ProcessAndResolveOptions, cv as ProcessCheckoutOptions, cw as ProcessCheckoutResult, cx as ProviderResolutionSource, cy as QuoteBundleSelectionInput, cz as QuoteCompositeSelectionInput, cA as QuoteDynamicBuckets, cB as QuoteStatus, cC as QuoteUiMessage, cD as ReadRequestOptions, cE as RefreshQuoteInput, cF as RefreshQuoteResult, cG as RefundOrderInput, cH as RelatedCandidate, cI as RelatedProduct, cJ as RelatedProductsEnrichment, cK as RelationType, cL as ReminderMethod, cM as ReminderSettings, cN as ReorderResult, cO as RequestContext, cP as RequestErrorEvent, cQ as RequestOptions, cR as RequestOtpInput, cS as RequestSource, cT as RequestStartEvent, cU as RequestSuccessEvent, cV as RescheduleBookingInput, cW as RescheduleBookingResult, cX as RescheduleHistoryRecord, cY as ResourceAssignment, cZ as ResourceInfo, c_ as Result, c$ as RetryEvent, d0 as RevokeAllSessionsResult, d1 as RevokeSessionResult, d2 as Room, d3 as SchedulingMetadata, d4 as SchedulingResult, d5 as SchedulingService, d6 as SenderType, d7 as Service, d8 as ServiceAvailabilityParams, d9 as ServiceAvailabilityResult, da as ServiceCharge, db as ServiceNotes, dc as ServiceScheduleRequest, dd as ServiceStatus, de as SessionActivityData, df as SessionChangeEvent, dg as SessionMessage, dh as SlotResourceInfo, di as SlotStaffInfo, dj as Staff, dk as StaffAssignment, dl as StaffRole, dm as StaffScheduleItem, dn as StockLevel, dp as StockStatus, dq as StoreCreditBalance, dr as StoreCreditQueries, ds as StorefrontBootstrap, dt as SubscriptionService, du as SupportService, dv as Table, dw as TimeRange, dx as TimeRanges, dy as TimeSlot, dz as TrackCategoryViewOptions, dA as TrackProductViewOptions, dB as UpdateAddressInput, dC as UpdateOrderStatusInput, dD as UpdateProfileInput, dE as UploadInitResponse, dF as UploadResult, dG as UploadService, dH as VerifyOtpInput, dI as combine, dJ as combineObject, dK as createCimplifyClient, dL as createElements, dM as err, dN as flatMap, dO as fromPromise, dP as getOrElse, dQ as isErr, dR as isOk, dS as mapError, dT as mapResult, dU as ok, dV as toNullable, dW as tryCatch, dX as unwrap } from './client-BizGfqB7.mjs';
3
- import { be as ProductWithDetails, bz as TaxPriceDisplayMode, b0 as Product, ay as DurationUnit, j as ApiError } from './product-Byf0unSy.mjs';
4
- 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 BOUNDARY_KIND, p as BenefitType, q as BillingFrequency, r as BillingMarkupType, s as BillingPlanType, t as BoundaryKind, u as Bundle, v as BundleComponentData, w as BundleComponentInfo, x as BundleComponentVariantView, y as BundleComponentView, z as BundlePriceType, C as BundleProduct, D as BundleSelectionData, E as BundleSelectionInput, F as BundleStoredSelection, G as BundleSummary, H as BundleWithDetails, I as Cart, J as CartAddOn, K as CartChannel, L as CartItem, M as CartItemDetails, N as CartMutationResult, O as CartNotice, P as CartStatus, Q as CartSummary, R as CartTotals, S as Category, T as CategorySummary, U as ChosenPrice, V as CimplifyError, W as Collection, X as CollectionProduct, Y as CollectionSummary, Z as ComponentGroup, _ as ComponentGroupWithComponents, $ as ComponentPriceBreakdown, a0 as ComponentSchedulingData, a1 as ComponentSelectionInput, a2 as ComponentSourceType, a3 as Composite, a4 as CompositeComponent, a5 as CompositeComponentView, a6 as CompositeGroupView, a7 as CompositePriceBreakdown, a8 as CompositePriceResult, a9 as CompositePricingMode, aa as CompositeSelectionData, a1 as CompositeSelectionInput, ab as CompositeStoredSelection, ac as CompositeWithDetails, ad as CurrencyCode, ae as CustomAttributeDefinition, af as CustomAttributeValue, ag as CustomerInputValue, ah as DURATION_UNIT, ai as DateRangeValue, aj as Deal, ak as DealBenefitType, al as DepositType, am as DestinationQuote, an as DestinationQuoteAddress, ao as DestinationQuoteInput, ap as DigitalProductType, aq as DiscountBreakdown, ar as DiscountDetails, as as DiscountValidation, at as DisplayAddOn, au as DisplayAddOnOption, av as DisplayCart, aw as DisplayCartItem, ax as DisplayMode, az as ERROR_HINTS, aA as EligiblePlansQuery, aB as ErrorCode, aC as ErrorCodeType, aD as ErrorHint, aE as FacetValue, aF as FormattedPlanOption, aG as GroupPricingBehavior, aH as INPUT_FIELD_TYPE, aI as IdempotencyMismatchError, aJ as InputFieldType, aK as InputFieldValidation, aL as InventoryType, aM as KnowledgeArticle, aN as LineConfiguration, aO as LocationProductPrice, aP as LocationValue, aQ as MeasurementValue, aR as Money, aS as PRODUCT_TYPE, aT as Pagination, aU as PaginationParams, aV as PhoneValue, aW as Price, aX as PriceAdjustment, aY as PriceDecisionPath, aZ as PriceEntryType, a_ as PricePathTaxInfo, a$ as PriceSource, b1 as ProductAddOn, b2 as ProductAvailability, b3 as ProductAvailabilityNow, b4 as ProductBillingPlan, b5 as ProductDealInfo, b6 as ProductInputField, b7 as ProductProperty, b8 as ProductRenderHint, b9 as ProductTaxonomy, ba as ProductTimeProfile, bb as ProductType, bc as ProductVariant, bd as ProductVariantValue, bf as PropertyFacet, bg as PropertySource, bh as QuantityPricingTier, bi as RENDER_HINT, bj as RelatedProductView, bk as SaleCapInfo, bl as SaleInfo, bm as SalesChannel, bn as SchedulingMode, bo as SelectedAddOnOption, bp as SemanticKind, bq as SignatureValue, br as Subscription, bs as SubscriptionInvoice, bt as SubscriptionItem, bu as SubscriptionStatus, bv as SubscriptionWithDetails, bw as Tag, bx as TagsResponse, by as TaxPathComponent, bA as TaxonomyAttributeTemplate, bB as TaxonomyWithChildren, bC as UICart, bD as UICartBusiness, bE as UICartCustomer, bF as UICartLocation, bG as UICartPricing, bH as UpcomingSale, bI as UpdateCartItemInput, bJ as VariantAxis, bK as VariantAxisSelection, bL as VariantAxisValue, bM as VariantAxisValueView, bN as VariantAxisView, bO as VariantAxisWithValues, bP as VariantDetails, bQ as VariantDetailsDTO, bR as VariantDisplayAttribute, bS as VariantLocationAvailability, bT as VariantStrategy, bU as VariantView, bV as ZERO, bX as currencyCode, bY as enrichError, bZ as getErrorHint, b_ as isCimplifyError, b$ as isIdempotencyMismatchError, c0 as isQuoteConflictRequiringConsent, c1 as isQuoteError, c2 as isRetryableError, c3 as isSupportedCurrency, c4 as money, c5 as moneyFromNumber } from './product-Byf0unSy.mjs';
5
- 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-DpmnI__D.mjs';
1
+ import { bV as PaymentAuthorizationAdapter, bX as PaymentAuthorizationContext, bY as PaymentAuthorizationOutcome, R as ChatReplyCard } from './client-D5AoobFc.mjs';
2
+ export { A as AbortablePromise, a as ActivityRecommendation, b as ActivityRecommendationsResponse, c as ActivityService, d as ActivityStateResponse, e as AddressInfo, f as AmountToPay, g as AuthService, h as AuthStatus, i as AuthenticatedCustomer, j as AuthenticatedData, k as AuthorizeCardPopupOptions, l as AutocompletePrediction, m as AutocompleteResponse, n as AvailabilityResult, o as AvailableSlot, B as Booking, p as BookingModificationType, q as BookingStatus, r as BookingWithDetails, s as BufferTimes, t as Business, u as BusinessDetailsDTO, v as BusinessHours, w as BusinessPreferences, x as BusinessService, y as BusinessSettings, z as BusinessWithLocations, C as CacheOptions, D as CancelBookingInput, E as CancelBookingResult, F as CancelOrderInput, G as CancellationPolicy, H as CardPopupAction, I as CartOperations, J as CatalogueQueries, K as CatalogueResult, L as CatalogueSnapshot, M as CategoryInfo, N as ChatAttachment, O as ChatConversation, P as ChatConversationResponse, Q as ChatMessage, S as ChatReplyContext, T as ChatUploadAttachment, U as ChatWidgetStarter, V as CheckSlotAvailabilityInput, W as CheckSlotAvailabilityResult, X as CheckoutAddressInfo, Y as CheckoutCartData, Z as CheckoutCartItem, _ as CheckoutCollectionMethod, $ as CheckoutCollectionOption, a0 as CheckoutCollectionOptions, a1 as CheckoutCustomerInfo, a2 as CheckoutFormData, a3 as CheckoutInput, a4 as CheckoutMode, a8 as CheckoutOperations, a5 as CheckoutOrderType, a6 as CheckoutPaymentMethod, a7 as CheckoutResult, a8 as CheckoutService, a9 as CheckoutStatus, aa as CheckoutStatusContext, ab as CheckoutStep, ac as CimplifyClient, ad as CimplifyConfig, ae as CimplifyElement, af as CimplifyElements, ag as ClaimConversationResult, ah as ClaimExternalChatsResult, ai as ContentType, aj as CustomerBooking, ak as CustomerBookingServiceItem, al as CustomerServicePreferences, am as DayAvailability, an as DeliveryFeeDetails, ao as DeliveryFeeResponse, ap as DeliveryFeeStatus, aq as DeliveryOption, ar as DeliveryOptionsQuery, as as DeliveryOptionsResponse, at as DeliveryService, au as DepositResult, av as DismissMessageResponse, aw as ELEMENTS_AUTH_CONTACT_TYPES, ax as ELEMENTS_AUTH_MODES, ay as ELEMENTS_AUTH_PROMPTS, az as ELEMENT_TYPES, aA as EVENT_TYPES, aB as ElementAppearance, aC as ElementEventHandler, aD as ElementEventType, aE as ElementOptions, aF as ElementType, aG as ElementsAuthContactType, aH as ElementsAuthMode, aI as ElementsAuthOptions, aJ as ElementsAuthPrompt, aK as ElementsCheckoutData, aL as ElementsCheckoutResult, aM as ElementsCustomerInfo, aN as ElementsOptions, aO as EnrichedOrder, aP as EnrichedOrderItem, aQ as Err, aR as ExternalChatClaimAttempt, aS as ExternalChatClaimDisposition, aT as FeeBearerType, aU as FetchQuoteInput, aV as FulfillmentLink, aW as FulfillmentStatus, aX as FulfillmentSummaryDTO, aY as FulfillmentType, aZ as FxQuote, a_ as FxQuoteRequest, a$ as FxQuoteStatus, b0 as FxRateResponse, b1 as FxService, b2 as GetAvailableSlotsInput, b3 as GetDeliveryOptionsParams, b4 as GetOrdersOptions, b5 as GetProductsOptions, b6 as GroupOrderInfo, b7 as IframeToParentMessage, b8 as InventoryService, b9 as LifecyclePhase, ba as LineItem, bb as LineType, bc as LinkService, bd as LiteBootstrap, be as LiteDayHours, bf as LiteHoursRange, bg as LiteService, bh as Location, bi as LocationBooking, bj as LocationTaxBehavior, bk as LocationTaxOverrides, bl as LocationTimeProfile, bm as LocationWithDetails, bn as MESSAGE_TYPES, bo as MobileMoneyDetails, bp as NextAction, bq as ObservabilityHooks, br as Ok, bs as Order, bt as OrderCustomerInfo, bu as OrderDiscountInfo, bv as OrderFilter, bw as OrderFulfillmentSummary, bx as OrderGroup, by as OrderGroupDetails, bz as OrderGroupPayment, bA as OrderGroupPaymentState, bB as OrderGroupPaymentStatus, bC as OrderGroupPaymentSummary, bD as OrderGroupStatus, bE as OrderHistory, bF as OrderLineState, bG as OrderLineStatus, bH as OrderLocationInfo, bI as OrderPaymentEvent, bJ as OrderPricingView, bK as OrderQueries, bL as OrderSplitDetail, bM as OrderStaffInfo, bN as OrderStatus, bO as OrderTimestampsDTO, bP as OrderType, bQ as Origin, bR as OriginActor, bS as OriginChannel, bT as OtpResult, bU as ParentToIframeMessage, bW as PaymentAuthorizationAdapterRegistry, bZ as PaymentInfoDTO, b_ as PaymentMethodInfo, b$ as PaymentState, c0 as PickupTime, c1 as PickupTimeType, c2 as PlaceDetailsResponse, c3 as PlacesService, c4 as PriceQuote, c5 as PricingOverrides, c6 as ProcessAndResolveOptions, c7 as ProcessCheckoutOptions, c8 as ProcessCheckoutResult, c9 as ProviderResolutionSource, ca as QuoteBundleSelectionInput, cb as QuoteCompositeSelectionInput, cc as QuoteDynamicBuckets, cd as QuoteStatus, ce as QuoteUiMessage, cf as ReadRequestOptions, cg as RefreshQuoteInput, ch as RefreshQuoteResult, ci as RefundOrderInput, cj as RelatedCandidate, ck as RelatedProduct, cl as RelatedProductsEnrichment, cm as RelationType, cn as ReminderMethod, co as ReminderSettings, cp as ReorderResult, cq as RequestContext, cr as RequestErrorEvent, cs as RequestOptions, ct as RequestSource, cu as RequestStartEvent, cv as RequestSuccessEvent, cw as RescheduleBookingInput, cx as RescheduleBookingResult, cy as RescheduleHistoryRecord, cz as ResourceAssignment, cA as ResourceInfo, cB as Result, cC as RetryEvent, cD as Room, cE as SchedulingMetadata, cF as SchedulingResult, cG as SchedulingService, cH as SenderType, cI as Service, cJ as ServiceAvailabilityParams, cK as ServiceAvailabilityResult, cL as ServiceCharge, cM as ServiceNotes, cN as ServiceScheduleRequest, cO as ServiceStatus, cP as SessionActivityData, cQ as SessionChangeEvent, cR as SessionMessage, cS as SlotResourceInfo, cT as SlotStaffInfo, cU as Staff, cV as StaffAssignment, cW as StaffRole, cX as StaffScheduleItem, cY as StockLevel, cZ as StockStatus, c_ as StoreCreditBalance, c$ as StoreCreditQueries, d0 as StorefrontBootstrap, d1 as SubscriptionService, d2 as SupportService, d3 as Table, d4 as TimeRange, d5 as TimeRanges, d6 as TimeSlot, d7 as TrackCategoryViewOptions, d8 as TrackProductViewOptions, d9 as UpdateOrderStatusInput, da as UpdateProfileInput, db as UploadInitResponse, dc as UploadResult, dd as UploadService, de as combine, df as combineObject, dg as createCimplifyClient, dh as createDefaultPaymentAuthorizationAdapterRegistry, di as createElements, dj as err, dk as flatMap, dl as fromPromise, dm as getOrElse, dn as isErr, dp as isOk, dq as mapError, dr as mapResult, ds as ok, dt as toNullable, du as tryCatch, dv as unwrap } from './client-D5AoobFc.mjs';
3
+ import { bs as ProductWithDetails, bO as TaxPriceDisplayMode, be as Product, aA as DurationUnit, k as ApiError } from './payment-g0HFkEDU.mjs';
4
+ 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 AddressAuthorizationData, i as AddressValue, j as AdjustmentType, l as AppliedDiscount, m as AttributeAppliesTo, n as AttributeType, o as AttributeValidationRules, p as AttributeVisibility, q as AuthorizationType, B as BOUNDARY_KIND, r as BenefitType, s as BillingFrequency, t as BillingMarkupType, u as BillingPlanType, v as BoundaryKind, w as Bundle, x as BundleComponentData, y as BundleComponentInfo, z as BundleComponentVariantView, C as BundleComponentView, D as BundlePriceType, E as BundleProduct, F as BundleSelectionData, G as BundleSelectionInput, H as BundleStoredSelection, I as BundleSummary, J as BundleWithDetails, K as Cart, L as CartAddOn, M as CartChannel, N as CartItem, O as CartItemDetails, P as CartMutationResult, Q as CartNotice, R as CartStatus, S as CartSummary, T as CartTotals, U as Category, V as CategorySummary, W as ChosenPrice, X as CimplifyError, Y as Collection, Z as CollectionProduct, _ as CollectionSummary, $ as ComponentGroup, a0 as ComponentGroupWithComponents, a1 as ComponentPriceBreakdown, a2 as ComponentSchedulingData, a3 as ComponentSelectionInput, a4 as ComponentSourceType, a5 as Composite, a6 as CompositeComponent, a7 as CompositeComponentView, a8 as CompositeGroupView, a9 as CompositePriceBreakdown, aa as CompositePriceResult, ab as CompositePricingMode, ac as CompositeSelectionData, a3 as CompositeSelectionInput, ad as CompositeStoredSelection, ae as CompositeWithDetails, af as CurrencyCode, ag as CustomAttributeDefinition, ah as CustomAttributeValue, ai as CustomerInputValue, aj as DURATION_UNIT, ak as DateRangeValue, al as Deal, am as DealBenefitType, an as DepositType, ao as DestinationQuote, ap as DestinationQuoteAddress, aq as DestinationQuoteInput, ar as DigitalProductType, as as DiscountBreakdown, at as DiscountDetails, au as DiscountValidation, av as DisplayAddOn, aw as DisplayAddOnOption, ax as DisplayCart, ay as DisplayCartItem, az as DisplayMode, aB as ERROR_HINTS, aC as EligiblePlansQuery, aD as ErrorCode, aE as ErrorCodeType, aF as ErrorHint, aG as FacetValue, aH as FormattedPlanOption, aI as GroupPricingBehavior, aJ as INPUT_FIELD_TYPE, aK as IdempotencyMismatchError, aL as InitializePaymentResult, aM as InputFieldType, aN as InputFieldValidation, aO as InventoryType, aP as KnowledgeArticle, aQ as LineConfiguration, aR as LocationProductPrice, aS as LocationValue, aT as MeasurementValue, aU as Money, aV as PRODUCT_TYPE, aW as Pagination, aX as PaginationParams, aY as Payment, aZ as PaymentAuthorizationKind, a_ as PaymentAuthorizationSubmission, a$ as PaymentErrorDetails, b0 as PaymentMethod, b1 as PaymentMethodType, b2 as PaymentProcessingState, b3 as PaymentProvider, b4 as PaymentResponse, b5 as PaymentStatus, b6 as PaymentStatusResponse, b7 as PhoneValue, b8 as Price, b9 as PriceAdjustment, ba as PriceDecisionPath, bb as PriceEntryType, bc as PricePathTaxInfo, bd as PriceSource, bf as ProductAddOn, bg as ProductAvailability, bh as ProductAvailabilityNow, bi as ProductBillingPlan, bj as ProductDealInfo, bk as ProductInputField, bl as ProductProperty, bm as ProductRenderHint, bn as ProductTaxonomy, bo as ProductTimeProfile, bp as ProductType, bq as ProductVariant, br as ProductVariantValue, bt as PropertyFacet, bu as PropertySource, bv as QuantityPricingTier, bw as RENDER_HINT, bx as RelatedProductView, by as SaleCapInfo, bz as SaleInfo, bA as SalesChannel, bB as SchedulingMode, bC as SelectedAddOnOption, bD as SemanticKind, bE as SignatureValue, bF as SubmitAuthorizationInput, bG as Subscription, bH as SubscriptionInvoice, bI as SubscriptionItem, bJ as SubscriptionStatus, bK as SubscriptionWithDetails, bL as Tag, bM as TagsResponse, bN as TaxPathComponent, bP as TaxonomyAttributeTemplate, bQ as TaxonomyWithChildren, bR as UICart, bS as UICartBusiness, bT as UICartCustomer, bU as UICartLocation, bV as UICartPricing, bW as UpcomingSale, bX as UpdateCartItemInput, bY as VariantAxis, bZ as VariantAxisSelection, b_ as VariantAxisValue, b$ as VariantAxisValueView, c0 as VariantAxisView, c1 as VariantAxisWithValues, c2 as VariantDetails, c3 as VariantDetailsDTO, c4 as VariantDisplayAttribute, c5 as VariantLocationAvailability, c6 as VariantStrategy, c7 as VariantView, c8 as ZERO, ca as currencyCode, cb as enrichError, cc as getErrorHint, cd as isCimplifyError, ce as isIdempotencyMismatchError, cf as isQuoteConflictRequiringConsent, cg as isQuoteError, ch as isRetryableError, ci as isSupportedCurrency, cj as money, ck as moneyFromNumber } from './payment-g0HFkEDU.mjs';
5
+ export { A as AUTHORIZATION_TYPE, a as AUTH_MUTATION, b as AddressData, c as AuthResponse, C as CHECKOUT_MODE, d as CHECKOUT_MUTATION, e as CHECKOUT_STEP, f as CONTACT_TYPE, g as ContactType, h as CreateAddressInput, i as CreateMobileMoneyInput, j as Customer, k as CustomerAddress, l as CustomerLinkPreferences, m as CustomerMobileMoney, D as DEFAULT_COUNTRY, n as DEFAULT_CURRENCY, o as DEVICE_TYPE, p as DeviceType, E as EnrollAndLinkOrderInput, q as EnrollAndLinkOrderResult, r as EnrollmentData, L as LINK_MUTATION, s as LINK_QUERY, t as LinkData, u as LinkEnrollResult, v as LinkSession, w as LinkStatusResult, M as MAX_PAYMENT_AUTHORIZATION_STEPS, x as MOBILE_MONEY_PROVIDER, y as MobileMoneyData, z as MobileMoneyProvider, O as ORDER_MUTATION, B as ORDER_TYPE, P as PAYMENT_METHOD, F as PAYMENT_MUTATION, G as PAYMENT_STATE, H as PICKUP_TIME_TYPE, R as RequestOtpInput, I as RequestOtpResult, J as RevokeAllSessionsResult, K as RevokeSessionResult, U as UpdateAddressInput, V as VerifyOtpInput } from './link-D9iSVxt5.mjs';
6
+ export { C as CURRENCY_SYMBOLS, a as CanonicalMobileMoneyProvider, M as MOBILE_MONEY_PROVIDERS, P as PAYMENT_TERMINAL_FAILURE_STATUSES, c as canonicalMobileMoneyProvider, b as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, e as formatNumberCompact, g as formatPrice, h as formatPriceAdjustment, i as formatPriceCompact, j as formatPriceRange, k as formatPriceWithTax, l as formatProductPrice, m as getBasePrice, n as getCurrencySymbol, o as getDiscountPercentage, p as getDisplayPrice, q as getMarkupPercentage, r as getPriceRange, s as getProductCurrency, t as getTaxAmount, u as getUnitPriceAtQuantity, v as hasTaxInfo, w as isOnSale, x as isPaymentStatusFailure, y as isPaymentStatusRequiresAction, z as isPaymentStatusSuccess, A as isTaxInclusive, B as isValidPhoneForContext, D as normalizePaymentResponse, E as normalizePhoneToE164, F as normalizeStatusResponse, G as parsePrice, H as paymentAuthorizationUrl, I as resolvePhoneCountryCode } from './index-D7Tf3v7c.mjs';
6
7
  export { A as AdConfig, a as AdContextValue, b as AdCreative, c as AdPosition, d as AdSlot, e as AdTheme, S as SignInOptions, g as getVariantDisplayName, s as startSignIn } from './sign-in-DQlIdqsi.mjs';
7
- export { A as AddressAuthorizationData, a as AuthorizationType, I as InitializePaymentResult, P as Payment, b as PaymentErrorDetails, c as PaymentMethod, d as PaymentMethodType, e as PaymentProcessingState, f as PaymentProvider, g as PaymentResponse, h as PaymentStatus, i as PaymentStatusResponse, S as SubmitAuthorizationInput } from './payment-l0rkieEQ.mjs';
8
- export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-CS4E5zLS.mjs';
8
+ export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-Czq_cTC_.mjs';
9
9
  export { generateIdempotencyKey } from './advanced.mjs';
10
10
  import 'libphonenumber-js';
11
11
 
12
+ interface PaystackPopupOptions {
13
+ key: string;
14
+ email: string;
15
+ amount?: number;
16
+ currency?: string;
17
+ reference?: string;
18
+ accessCode?: string;
19
+ }
20
+ interface PaystackPopupResult {
21
+ success: boolean;
22
+ reference?: string;
23
+ error?: string;
24
+ }
25
+ type PaystackPopup = (options: PaystackPopupOptions, signal?: AbortSignal) => Promise<PaystackPopupResult>;
26
+ /** Built-in adapter for Paystack Inline. */
27
+ declare class PaystackAuthorizationAdapter implements PaymentAuthorizationAdapter {
28
+ private readonly openPopup;
29
+ readonly provider = "paystack";
30
+ constructor(openPopup?: PaystackPopup);
31
+ authorize(context: PaymentAuthorizationContext): Promise<PaymentAuthorizationOutcome>;
32
+ }
33
+
34
+ interface StripeErrorLike {
35
+ type?: string;
36
+ code?: string;
37
+ message?: string;
38
+ }
39
+ interface StripePaymentIntentLike {
40
+ id?: string;
41
+ status?: string;
42
+ }
43
+ interface StripePaymentElementLike {
44
+ mount(target: HTMLElement): void;
45
+ destroy?: () => void;
46
+ unmount?: () => void;
47
+ on?: (event: string, handler: (event?: {
48
+ error?: StripeErrorLike;
49
+ }) => void) => void;
50
+ }
51
+ interface StripeElementsLike {
52
+ create(type: "payment", options?: Record<string, unknown>): StripePaymentElementLike;
53
+ submit?: () => Promise<{
54
+ error?: StripeErrorLike;
55
+ }>;
56
+ }
57
+ interface StripeLike {
58
+ elements(options: {
59
+ clientSecret: string;
60
+ }): StripeElementsLike;
61
+ confirmPayment(options: {
62
+ elements: StripeElementsLike;
63
+ confirmParams: {
64
+ return_url: string;
65
+ };
66
+ redirect: "if_required";
67
+ }): Promise<{
68
+ error?: StripeErrorLike;
69
+ paymentIntent?: StripePaymentIntentLike;
70
+ }>;
71
+ }
72
+ type StripeLoader = (publicKey: string, options?: {
73
+ stripeAccount?: string;
74
+ }) => Promise<StripeLike | null>;
75
+ /**
76
+ * Stripe card adapter backed by the Payment Element. It reports only that the
77
+ * provider interaction was submitted; CheckoutResolver still polls Cimplify
78
+ * before returning checkout success.
79
+ */
80
+ declare class StripeAuthorizationAdapter implements PaymentAuthorizationAdapter {
81
+ private readonly loadStripe;
82
+ readonly provider = "stripe";
83
+ constructor(loadStripe?: StripeLoader);
84
+ authorize(context: PaymentAuthorizationContext): Promise<PaymentAuthorizationOutcome>;
85
+ }
86
+
12
87
  interface GalleryImage {
13
88
  url: string;
14
89
  /** null = product-level image; otherwise the variant it belongs to. */
@@ -174,4 +249,4 @@ interface AssetUrlOptions extends AssetTransform {
174
249
  declare function assetUrl(path: string, opts?: AssetUrlOptions): string;
175
250
  declare function isCimplifyAsset(src: string, base?: string): boolean;
176
251
 
177
- export { ApiError, type ApiResponse, type AssetTransform, type AssetUrlOptions, CIMPLIFY_CDN_HOSTS, ChatReplyCard, type CustomerGroup, type CustomerPricingInfo, DEFAULT_CDN_BASE_URL, DurationUnit, type FrontendContext, type GalleryImage, type MutationRequest, type PriceListItem, Product, ProductWithDetails, type QuantityBreak, type QueryRequest, type ResolvedQuantityBreak, type ResponseMetadata, type SilentSignInOptions, type SilentSignInResult, TaxPriceDisplayMode, allGalleryImages, assetUrl, chatMessageCards, displaysGrossPrices, isCimplifyAsset, isMultiDayService, priceBasisLabel, resolveGallery, serviceBillingMultiplier, signInSilent, stayLength, stayPeriods };
252
+ export { ApiError, type ApiResponse, type AssetTransform, type AssetUrlOptions, CIMPLIFY_CDN_HOSTS, ChatReplyCard, type CustomerGroup, type CustomerPricingInfo, DEFAULT_CDN_BASE_URL, DurationUnit, type FrontendContext, type GalleryImage, type MutationRequest, PaymentAuthorizationAdapter, PaymentAuthorizationContext, PaymentAuthorizationOutcome, PaystackAuthorizationAdapter, type PaystackPopup, type PaystackPopupOptions, type PaystackPopupResult, type PriceListItem, Product, ProductWithDetails, type QuantityBreak, type QueryRequest, type ResolvedQuantityBreak, type ResponseMetadata, type SilentSignInOptions, type SilentSignInResult, StripeAuthorizationAdapter, type StripeLike, type StripeLoader, TaxPriceDisplayMode, allGalleryImages, assetUrl, chatMessageCards, displaysGrossPrices, isCimplifyAsset, isMultiDayService, priceBasisLabel, resolveGallery, serviceBillingMultiplier, signInSilent, stayLength, stayPeriods };
package/dist/index.d.ts CHANGED
@@ -1,14 +1,89 @@
1
- import { X as ChatReplyCard } from './client-B40KFazg.js';
2
- 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 BusinessWithLocations, F as CHECKOUT_MODE, G as CHECKOUT_MUTATION, H as CHECKOUT_STEP, I as CONTACT_TYPE, J as CacheOptions, K as CancelBookingInput, L as CancelBookingResult, M as CancelOrderInput, N as CancellationPolicy, O as CartOperations, P as CatalogueQueries, Q as CatalogueResult, R as CatalogueSnapshot, S as CategoryInfo, T as ChatAttachment, U as ChatConversation, V as ChatConversationResponse, W as ChatMessage, Y as ChatReplyContext, Z as ChatUploadAttachment, _ as ChatWidgetStarter, $ as CheckSlotAvailabilityInput, a0 as CheckSlotAvailabilityResult, a1 as CheckoutAddressInfo, a2 as CheckoutCartData, a3 as CheckoutCartItem, a4 as CheckoutCustomerInfo, a5 as CheckoutFormData, a6 as CheckoutInput, a7 as CheckoutMode, ab as CheckoutOperations, a8 as CheckoutOrderType, a9 as CheckoutPaymentMethod, aa as CheckoutResult, ab as CheckoutService, ac as CheckoutStatus, ad as CheckoutStatusContext, ae as CheckoutStep, af as CimplifyClient, ag as CimplifyConfig, ah as CimplifyElement, ai as CimplifyElements, aj as ClaimConversationResult, ak as ContactType, al as ContentType, am as CreateAddressInput, an as CreateMobileMoneyInput, ao as Customer, ap as CustomerAddress, aq as CustomerBooking, ar as CustomerBookingServiceItem, as as CustomerLinkPreferences, at as CustomerMobileMoney, au as CustomerServicePreferences, av as DEFAULT_COUNTRY, aw as DEFAULT_CURRENCY, ax as DEVICE_TYPE, ay as DayAvailability, az as DeliveryFeeDetails, aA as DeliveryFeeResponse, aB as DeliveryOption, aC as DeliveryOptionsQuery, aD as DeliveryOptionsResponse, aE as DeliveryService, aF as DepositResult, aG as DeviceType, aH as DismissMessageResponse, aI as ELEMENTS_AUTH_CONTACT_TYPES, aJ as ELEMENTS_AUTH_MODES, aK as ELEMENTS_AUTH_PROMPTS, aL as ELEMENT_TYPES, aM as EVENT_TYPES, aN as ElementAppearance, aO as ElementEventHandler, aP as ElementEventType, aQ as ElementOptions, aR as ElementType, aS as ElementsAuthContactType, aT as ElementsAuthMode, aU as ElementsAuthOptions, aV as ElementsAuthPrompt, aW as ElementsCheckoutData, aX as ElementsCheckoutResult, aY as ElementsCustomerInfo, aZ as ElementsOptions, a_ as EnrichedOrder, a$ as EnrichedOrderItem, b0 as EnrollAndLinkOrderInput, b1 as EnrollAndLinkOrderResult, b2 as EnrollmentData, b3 as Err, b4 as FeeBearerType, b5 as FetchQuoteInput, b6 as FulfillmentLink, b7 as FulfillmentStatus, b8 as FulfillmentSummaryDTO, b9 as FulfillmentType, ba as FxQuote, bb as FxQuoteRequest, bc as FxQuoteStatus, bd as FxRateResponse, be as FxService, bf as GetAvailableSlotsInput, bg as GetDeliveryOptionsParams, bh as GetOrdersOptions, bi as GetProductsOptions, bj as GroupOrderInfo, bk as IframeToParentMessage, bl as InventoryService, bm as LINK_MUTATION, bn as LINK_QUERY, bo as LifecyclePhase, bp as LineItem, bq as LineType, br as LinkData, bs as LinkEnrollResult, bt as LinkService, bu as LinkSession, bv as LinkStatusResult, bw as LiteBootstrap, bx as LiteDayHours, by as LiteHoursRange, bz as LiteService, bA as Location, bB as LocationBooking, bC as LocationTaxBehavior, bD as LocationTaxOverrides, bE as LocationTimeProfile, bF as LocationWithDetails, bG as MESSAGE_TYPES, bH as MOBILE_MONEY_PROVIDER, bI as MobileMoneyData, bJ as MobileMoneyDetails, bK as MobileMoneyProvider, bL as NextAction, bM as ORDER_MUTATION, bN as ORDER_TYPE, bO as ObservabilityHooks, bP as Ok, bQ as Order, bR as OrderCustomerInfo, bS as OrderDiscountInfo, bT as OrderFilter, bU as OrderFulfillmentSummary, bV as OrderGroup, bW as OrderGroupDetails, bX as OrderGroupPayment, bY as OrderGroupPaymentState, bZ as OrderGroupPaymentStatus, b_ as OrderGroupPaymentSummary, b$ as OrderGroupStatus, c0 as OrderHistory, c1 as OrderLineState, c2 as OrderLineStatus, c3 as OrderLocationInfo, c4 as OrderPaymentEvent, c5 as OrderPricingView, c6 as OrderQueries, c7 as OrderSplitDetail, c8 as OrderStaffInfo, c9 as OrderStatus, ca as OrderTimestampsDTO, cb as OrderType, cc as Origin, cd as OriginActor, ce as OriginChannel, cf as OtpResult, cg as PAYMENT_METHOD, ch as PAYMENT_MUTATION, ci as PAYMENT_STATE, cj as PICKUP_TIME_TYPE, ck as ParentToIframeMessage, cl as PaymentInfoDTO, cm as PaymentMethodInfo, cn as PaymentState, co as PickupTime, cp as PickupTimeType, cq as PlaceDetailsResponse, cr as PlacesService, cs as PriceQuote, ct as PricingOverrides, cu as ProcessAndResolveOptions, cv as ProcessCheckoutOptions, cw as ProcessCheckoutResult, cx as ProviderResolutionSource, cy as QuoteBundleSelectionInput, cz as QuoteCompositeSelectionInput, cA as QuoteDynamicBuckets, cB as QuoteStatus, cC as QuoteUiMessage, cD as ReadRequestOptions, cE as RefreshQuoteInput, cF as RefreshQuoteResult, cG as RefundOrderInput, cH as RelatedCandidate, cI as RelatedProduct, cJ as RelatedProductsEnrichment, cK as RelationType, cL as ReminderMethod, cM as ReminderSettings, cN as ReorderResult, cO as RequestContext, cP as RequestErrorEvent, cQ as RequestOptions, cR as RequestOtpInput, cS as RequestSource, cT as RequestStartEvent, cU as RequestSuccessEvent, cV as RescheduleBookingInput, cW as RescheduleBookingResult, cX as RescheduleHistoryRecord, cY as ResourceAssignment, cZ as ResourceInfo, c_ as Result, c$ as RetryEvent, d0 as RevokeAllSessionsResult, d1 as RevokeSessionResult, d2 as Room, d3 as SchedulingMetadata, d4 as SchedulingResult, d5 as SchedulingService, d6 as SenderType, d7 as Service, d8 as ServiceAvailabilityParams, d9 as ServiceAvailabilityResult, da as ServiceCharge, db as ServiceNotes, dc as ServiceScheduleRequest, dd as ServiceStatus, de as SessionActivityData, df as SessionChangeEvent, dg as SessionMessage, dh as SlotResourceInfo, di as SlotStaffInfo, dj as Staff, dk as StaffAssignment, dl as StaffRole, dm as StaffScheduleItem, dn as StockLevel, dp as StockStatus, dq as StoreCreditBalance, dr as StoreCreditQueries, ds as StorefrontBootstrap, dt as SubscriptionService, du as SupportService, dv as Table, dw as TimeRange, dx as TimeRanges, dy as TimeSlot, dz as TrackCategoryViewOptions, dA as TrackProductViewOptions, dB as UpdateAddressInput, dC as UpdateOrderStatusInput, dD as UpdateProfileInput, dE as UploadInitResponse, dF as UploadResult, dG as UploadService, dH as VerifyOtpInput, dI as combine, dJ as combineObject, dK as createCimplifyClient, dL as createElements, dM as err, dN as flatMap, dO as fromPromise, dP as getOrElse, dQ as isErr, dR as isOk, dS as mapError, dT as mapResult, dU as ok, dV as toNullable, dW as tryCatch, dX as unwrap } from './client-B40KFazg.js';
3
- import { be as ProductWithDetails, bz as TaxPriceDisplayMode, b0 as Product, ay as DurationUnit, j as ApiError } from './product-Byf0unSy.js';
4
- 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 BOUNDARY_KIND, p as BenefitType, q as BillingFrequency, r as BillingMarkupType, s as BillingPlanType, t as BoundaryKind, u as Bundle, v as BundleComponentData, w as BundleComponentInfo, x as BundleComponentVariantView, y as BundleComponentView, z as BundlePriceType, C as BundleProduct, D as BundleSelectionData, E as BundleSelectionInput, F as BundleStoredSelection, G as BundleSummary, H as BundleWithDetails, I as Cart, J as CartAddOn, K as CartChannel, L as CartItem, M as CartItemDetails, N as CartMutationResult, O as CartNotice, P as CartStatus, Q as CartSummary, R as CartTotals, S as Category, T as CategorySummary, U as ChosenPrice, V as CimplifyError, W as Collection, X as CollectionProduct, Y as CollectionSummary, Z as ComponentGroup, _ as ComponentGroupWithComponents, $ as ComponentPriceBreakdown, a0 as ComponentSchedulingData, a1 as ComponentSelectionInput, a2 as ComponentSourceType, a3 as Composite, a4 as CompositeComponent, a5 as CompositeComponentView, a6 as CompositeGroupView, a7 as CompositePriceBreakdown, a8 as CompositePriceResult, a9 as CompositePricingMode, aa as CompositeSelectionData, a1 as CompositeSelectionInput, ab as CompositeStoredSelection, ac as CompositeWithDetails, ad as CurrencyCode, ae as CustomAttributeDefinition, af as CustomAttributeValue, ag as CustomerInputValue, ah as DURATION_UNIT, ai as DateRangeValue, aj as Deal, ak as DealBenefitType, al as DepositType, am as DestinationQuote, an as DestinationQuoteAddress, ao as DestinationQuoteInput, ap as DigitalProductType, aq as DiscountBreakdown, ar as DiscountDetails, as as DiscountValidation, at as DisplayAddOn, au as DisplayAddOnOption, av as DisplayCart, aw as DisplayCartItem, ax as DisplayMode, az as ERROR_HINTS, aA as EligiblePlansQuery, aB as ErrorCode, aC as ErrorCodeType, aD as ErrorHint, aE as FacetValue, aF as FormattedPlanOption, aG as GroupPricingBehavior, aH as INPUT_FIELD_TYPE, aI as IdempotencyMismatchError, aJ as InputFieldType, aK as InputFieldValidation, aL as InventoryType, aM as KnowledgeArticle, aN as LineConfiguration, aO as LocationProductPrice, aP as LocationValue, aQ as MeasurementValue, aR as Money, aS as PRODUCT_TYPE, aT as Pagination, aU as PaginationParams, aV as PhoneValue, aW as Price, aX as PriceAdjustment, aY as PriceDecisionPath, aZ as PriceEntryType, a_ as PricePathTaxInfo, a$ as PriceSource, b1 as ProductAddOn, b2 as ProductAvailability, b3 as ProductAvailabilityNow, b4 as ProductBillingPlan, b5 as ProductDealInfo, b6 as ProductInputField, b7 as ProductProperty, b8 as ProductRenderHint, b9 as ProductTaxonomy, ba as ProductTimeProfile, bb as ProductType, bc as ProductVariant, bd as ProductVariantValue, bf as PropertyFacet, bg as PropertySource, bh as QuantityPricingTier, bi as RENDER_HINT, bj as RelatedProductView, bk as SaleCapInfo, bl as SaleInfo, bm as SalesChannel, bn as SchedulingMode, bo as SelectedAddOnOption, bp as SemanticKind, bq as SignatureValue, br as Subscription, bs as SubscriptionInvoice, bt as SubscriptionItem, bu as SubscriptionStatus, bv as SubscriptionWithDetails, bw as Tag, bx as TagsResponse, by as TaxPathComponent, bA as TaxonomyAttributeTemplate, bB as TaxonomyWithChildren, bC as UICart, bD as UICartBusiness, bE as UICartCustomer, bF as UICartLocation, bG as UICartPricing, bH as UpcomingSale, bI as UpdateCartItemInput, bJ as VariantAxis, bK as VariantAxisSelection, bL as VariantAxisValue, bM as VariantAxisValueView, bN as VariantAxisView, bO as VariantAxisWithValues, bP as VariantDetails, bQ as VariantDetailsDTO, bR as VariantDisplayAttribute, bS as VariantLocationAvailability, bT as VariantStrategy, bU as VariantView, bV as ZERO, bX as currencyCode, bY as enrichError, bZ as getErrorHint, b_ as isCimplifyError, b$ as isIdempotencyMismatchError, c0 as isQuoteConflictRequiringConsent, c1 as isQuoteError, c2 as isRetryableError, c3 as isSupportedCurrency, c4 as money, c5 as moneyFromNumber } from './product-Byf0unSy.js';
5
- 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-nEyXWIyR.js';
1
+ import { bV as PaymentAuthorizationAdapter, bX as PaymentAuthorizationContext, bY as PaymentAuthorizationOutcome, R as ChatReplyCard } from './client-BuLcOWLv.js';
2
+ export { A as AbortablePromise, a as ActivityRecommendation, b as ActivityRecommendationsResponse, c as ActivityService, d as ActivityStateResponse, e as AddressInfo, f as AmountToPay, g as AuthService, h as AuthStatus, i as AuthenticatedCustomer, j as AuthenticatedData, k as AuthorizeCardPopupOptions, l as AutocompletePrediction, m as AutocompleteResponse, n as AvailabilityResult, o as AvailableSlot, B as Booking, p as BookingModificationType, q as BookingStatus, r as BookingWithDetails, s as BufferTimes, t as Business, u as BusinessDetailsDTO, v as BusinessHours, w as BusinessPreferences, x as BusinessService, y as BusinessSettings, z as BusinessWithLocations, C as CacheOptions, D as CancelBookingInput, E as CancelBookingResult, F as CancelOrderInput, G as CancellationPolicy, H as CardPopupAction, I as CartOperations, J as CatalogueQueries, K as CatalogueResult, L as CatalogueSnapshot, M as CategoryInfo, N as ChatAttachment, O as ChatConversation, P as ChatConversationResponse, Q as ChatMessage, S as ChatReplyContext, T as ChatUploadAttachment, U as ChatWidgetStarter, V as CheckSlotAvailabilityInput, W as CheckSlotAvailabilityResult, X as CheckoutAddressInfo, Y as CheckoutCartData, Z as CheckoutCartItem, _ as CheckoutCollectionMethod, $ as CheckoutCollectionOption, a0 as CheckoutCollectionOptions, a1 as CheckoutCustomerInfo, a2 as CheckoutFormData, a3 as CheckoutInput, a4 as CheckoutMode, a8 as CheckoutOperations, a5 as CheckoutOrderType, a6 as CheckoutPaymentMethod, a7 as CheckoutResult, a8 as CheckoutService, a9 as CheckoutStatus, aa as CheckoutStatusContext, ab as CheckoutStep, ac as CimplifyClient, ad as CimplifyConfig, ae as CimplifyElement, af as CimplifyElements, ag as ClaimConversationResult, ah as ClaimExternalChatsResult, ai as ContentType, aj as CustomerBooking, ak as CustomerBookingServiceItem, al as CustomerServicePreferences, am as DayAvailability, an as DeliveryFeeDetails, ao as DeliveryFeeResponse, ap as DeliveryFeeStatus, aq as DeliveryOption, ar as DeliveryOptionsQuery, as as DeliveryOptionsResponse, at as DeliveryService, au as DepositResult, av as DismissMessageResponse, aw as ELEMENTS_AUTH_CONTACT_TYPES, ax as ELEMENTS_AUTH_MODES, ay as ELEMENTS_AUTH_PROMPTS, az as ELEMENT_TYPES, aA as EVENT_TYPES, aB as ElementAppearance, aC as ElementEventHandler, aD as ElementEventType, aE as ElementOptions, aF as ElementType, aG as ElementsAuthContactType, aH as ElementsAuthMode, aI as ElementsAuthOptions, aJ as ElementsAuthPrompt, aK as ElementsCheckoutData, aL as ElementsCheckoutResult, aM as ElementsCustomerInfo, aN as ElementsOptions, aO as EnrichedOrder, aP as EnrichedOrderItem, aQ as Err, aR as ExternalChatClaimAttempt, aS as ExternalChatClaimDisposition, aT as FeeBearerType, aU as FetchQuoteInput, aV as FulfillmentLink, aW as FulfillmentStatus, aX as FulfillmentSummaryDTO, aY as FulfillmentType, aZ as FxQuote, a_ as FxQuoteRequest, a$ as FxQuoteStatus, b0 as FxRateResponse, b1 as FxService, b2 as GetAvailableSlotsInput, b3 as GetDeliveryOptionsParams, b4 as GetOrdersOptions, b5 as GetProductsOptions, b6 as GroupOrderInfo, b7 as IframeToParentMessage, b8 as InventoryService, b9 as LifecyclePhase, ba as LineItem, bb as LineType, bc as LinkService, bd as LiteBootstrap, be as LiteDayHours, bf as LiteHoursRange, bg as LiteService, bh as Location, bi as LocationBooking, bj as LocationTaxBehavior, bk as LocationTaxOverrides, bl as LocationTimeProfile, bm as LocationWithDetails, bn as MESSAGE_TYPES, bo as MobileMoneyDetails, bp as NextAction, bq as ObservabilityHooks, br as Ok, bs as Order, bt as OrderCustomerInfo, bu as OrderDiscountInfo, bv as OrderFilter, bw as OrderFulfillmentSummary, bx as OrderGroup, by as OrderGroupDetails, bz as OrderGroupPayment, bA as OrderGroupPaymentState, bB as OrderGroupPaymentStatus, bC as OrderGroupPaymentSummary, bD as OrderGroupStatus, bE as OrderHistory, bF as OrderLineState, bG as OrderLineStatus, bH as OrderLocationInfo, bI as OrderPaymentEvent, bJ as OrderPricingView, bK as OrderQueries, bL as OrderSplitDetail, bM as OrderStaffInfo, bN as OrderStatus, bO as OrderTimestampsDTO, bP as OrderType, bQ as Origin, bR as OriginActor, bS as OriginChannel, bT as OtpResult, bU as ParentToIframeMessage, bW as PaymentAuthorizationAdapterRegistry, bZ as PaymentInfoDTO, b_ as PaymentMethodInfo, b$ as PaymentState, c0 as PickupTime, c1 as PickupTimeType, c2 as PlaceDetailsResponse, c3 as PlacesService, c4 as PriceQuote, c5 as PricingOverrides, c6 as ProcessAndResolveOptions, c7 as ProcessCheckoutOptions, c8 as ProcessCheckoutResult, c9 as ProviderResolutionSource, ca as QuoteBundleSelectionInput, cb as QuoteCompositeSelectionInput, cc as QuoteDynamicBuckets, cd as QuoteStatus, ce as QuoteUiMessage, cf as ReadRequestOptions, cg as RefreshQuoteInput, ch as RefreshQuoteResult, ci as RefundOrderInput, cj as RelatedCandidate, ck as RelatedProduct, cl as RelatedProductsEnrichment, cm as RelationType, cn as ReminderMethod, co as ReminderSettings, cp as ReorderResult, cq as RequestContext, cr as RequestErrorEvent, cs as RequestOptions, ct as RequestSource, cu as RequestStartEvent, cv as RequestSuccessEvent, cw as RescheduleBookingInput, cx as RescheduleBookingResult, cy as RescheduleHistoryRecord, cz as ResourceAssignment, cA as ResourceInfo, cB as Result, cC as RetryEvent, cD as Room, cE as SchedulingMetadata, cF as SchedulingResult, cG as SchedulingService, cH as SenderType, cI as Service, cJ as ServiceAvailabilityParams, cK as ServiceAvailabilityResult, cL as ServiceCharge, cM as ServiceNotes, cN as ServiceScheduleRequest, cO as ServiceStatus, cP as SessionActivityData, cQ as SessionChangeEvent, cR as SessionMessage, cS as SlotResourceInfo, cT as SlotStaffInfo, cU as Staff, cV as StaffAssignment, cW as StaffRole, cX as StaffScheduleItem, cY as StockLevel, cZ as StockStatus, c_ as StoreCreditBalance, c$ as StoreCreditQueries, d0 as StorefrontBootstrap, d1 as SubscriptionService, d2 as SupportService, d3 as Table, d4 as TimeRange, d5 as TimeRanges, d6 as TimeSlot, d7 as TrackCategoryViewOptions, d8 as TrackProductViewOptions, d9 as UpdateOrderStatusInput, da as UpdateProfileInput, db as UploadInitResponse, dc as UploadResult, dd as UploadService, de as combine, df as combineObject, dg as createCimplifyClient, dh as createDefaultPaymentAuthorizationAdapterRegistry, di as createElements, dj as err, dk as flatMap, dl as fromPromise, dm as getOrElse, dn as isErr, dp as isOk, dq as mapError, dr as mapResult, ds as ok, dt as toNullable, du as tryCatch, dv as unwrap } from './client-BuLcOWLv.js';
3
+ import { bs as ProductWithDetails, bO as TaxPriceDisplayMode, be as Product, aA as DurationUnit, k as ApiError } from './payment-g0HFkEDU.js';
4
+ 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 AddressAuthorizationData, i as AddressValue, j as AdjustmentType, l as AppliedDiscount, m as AttributeAppliesTo, n as AttributeType, o as AttributeValidationRules, p as AttributeVisibility, q as AuthorizationType, B as BOUNDARY_KIND, r as BenefitType, s as BillingFrequency, t as BillingMarkupType, u as BillingPlanType, v as BoundaryKind, w as Bundle, x as BundleComponentData, y as BundleComponentInfo, z as BundleComponentVariantView, C as BundleComponentView, D as BundlePriceType, E as BundleProduct, F as BundleSelectionData, G as BundleSelectionInput, H as BundleStoredSelection, I as BundleSummary, J as BundleWithDetails, K as Cart, L as CartAddOn, M as CartChannel, N as CartItem, O as CartItemDetails, P as CartMutationResult, Q as CartNotice, R as CartStatus, S as CartSummary, T as CartTotals, U as Category, V as CategorySummary, W as ChosenPrice, X as CimplifyError, Y as Collection, Z as CollectionProduct, _ as CollectionSummary, $ as ComponentGroup, a0 as ComponentGroupWithComponents, a1 as ComponentPriceBreakdown, a2 as ComponentSchedulingData, a3 as ComponentSelectionInput, a4 as ComponentSourceType, a5 as Composite, a6 as CompositeComponent, a7 as CompositeComponentView, a8 as CompositeGroupView, a9 as CompositePriceBreakdown, aa as CompositePriceResult, ab as CompositePricingMode, ac as CompositeSelectionData, a3 as CompositeSelectionInput, ad as CompositeStoredSelection, ae as CompositeWithDetails, af as CurrencyCode, ag as CustomAttributeDefinition, ah as CustomAttributeValue, ai as CustomerInputValue, aj as DURATION_UNIT, ak as DateRangeValue, al as Deal, am as DealBenefitType, an as DepositType, ao as DestinationQuote, ap as DestinationQuoteAddress, aq as DestinationQuoteInput, ar as DigitalProductType, as as DiscountBreakdown, at as DiscountDetails, au as DiscountValidation, av as DisplayAddOn, aw as DisplayAddOnOption, ax as DisplayCart, ay as DisplayCartItem, az as DisplayMode, aB as ERROR_HINTS, aC as EligiblePlansQuery, aD as ErrorCode, aE as ErrorCodeType, aF as ErrorHint, aG as FacetValue, aH as FormattedPlanOption, aI as GroupPricingBehavior, aJ as INPUT_FIELD_TYPE, aK as IdempotencyMismatchError, aL as InitializePaymentResult, aM as InputFieldType, aN as InputFieldValidation, aO as InventoryType, aP as KnowledgeArticle, aQ as LineConfiguration, aR as LocationProductPrice, aS as LocationValue, aT as MeasurementValue, aU as Money, aV as PRODUCT_TYPE, aW as Pagination, aX as PaginationParams, aY as Payment, aZ as PaymentAuthorizationKind, a_ as PaymentAuthorizationSubmission, a$ as PaymentErrorDetails, b0 as PaymentMethod, b1 as PaymentMethodType, b2 as PaymentProcessingState, b3 as PaymentProvider, b4 as PaymentResponse, b5 as PaymentStatus, b6 as PaymentStatusResponse, b7 as PhoneValue, b8 as Price, b9 as PriceAdjustment, ba as PriceDecisionPath, bb as PriceEntryType, bc as PricePathTaxInfo, bd as PriceSource, bf as ProductAddOn, bg as ProductAvailability, bh as ProductAvailabilityNow, bi as ProductBillingPlan, bj as ProductDealInfo, bk as ProductInputField, bl as ProductProperty, bm as ProductRenderHint, bn as ProductTaxonomy, bo as ProductTimeProfile, bp as ProductType, bq as ProductVariant, br as ProductVariantValue, bt as PropertyFacet, bu as PropertySource, bv as QuantityPricingTier, bw as RENDER_HINT, bx as RelatedProductView, by as SaleCapInfo, bz as SaleInfo, bA as SalesChannel, bB as SchedulingMode, bC as SelectedAddOnOption, bD as SemanticKind, bE as SignatureValue, bF as SubmitAuthorizationInput, bG as Subscription, bH as SubscriptionInvoice, bI as SubscriptionItem, bJ as SubscriptionStatus, bK as SubscriptionWithDetails, bL as Tag, bM as TagsResponse, bN as TaxPathComponent, bP as TaxonomyAttributeTemplate, bQ as TaxonomyWithChildren, bR as UICart, bS as UICartBusiness, bT as UICartCustomer, bU as UICartLocation, bV as UICartPricing, bW as UpcomingSale, bX as UpdateCartItemInput, bY as VariantAxis, bZ as VariantAxisSelection, b_ as VariantAxisValue, b$ as VariantAxisValueView, c0 as VariantAxisView, c1 as VariantAxisWithValues, c2 as VariantDetails, c3 as VariantDetailsDTO, c4 as VariantDisplayAttribute, c5 as VariantLocationAvailability, c6 as VariantStrategy, c7 as VariantView, c8 as ZERO, ca as currencyCode, cb as enrichError, cc as getErrorHint, cd as isCimplifyError, ce as isIdempotencyMismatchError, cf as isQuoteConflictRequiringConsent, cg as isQuoteError, ch as isRetryableError, ci as isSupportedCurrency, cj as money, ck as moneyFromNumber } from './payment-g0HFkEDU.js';
5
+ export { A as AUTHORIZATION_TYPE, a as AUTH_MUTATION, b as AddressData, c as AuthResponse, C as CHECKOUT_MODE, d as CHECKOUT_MUTATION, e as CHECKOUT_STEP, f as CONTACT_TYPE, g as ContactType, h as CreateAddressInput, i as CreateMobileMoneyInput, j as Customer, k as CustomerAddress, l as CustomerLinkPreferences, m as CustomerMobileMoney, D as DEFAULT_COUNTRY, n as DEFAULT_CURRENCY, o as DEVICE_TYPE, p as DeviceType, E as EnrollAndLinkOrderInput, q as EnrollAndLinkOrderResult, r as EnrollmentData, L as LINK_MUTATION, s as LINK_QUERY, t as LinkData, u as LinkEnrollResult, v as LinkSession, w as LinkStatusResult, M as MAX_PAYMENT_AUTHORIZATION_STEPS, x as MOBILE_MONEY_PROVIDER, y as MobileMoneyData, z as MobileMoneyProvider, O as ORDER_MUTATION, B as ORDER_TYPE, P as PAYMENT_METHOD, F as PAYMENT_MUTATION, G as PAYMENT_STATE, H as PICKUP_TIME_TYPE, R as RequestOtpInput, I as RequestOtpResult, J as RevokeAllSessionsResult, K as RevokeSessionResult, U as UpdateAddressInput, V as VerifyOtpInput } from './link-D9iSVxt5.js';
6
+ export { C as CURRENCY_SYMBOLS, a as CanonicalMobileMoneyProvider, M as MOBILE_MONEY_PROVIDERS, P as PAYMENT_TERMINAL_FAILURE_STATUSES, c as canonicalMobileMoneyProvider, b as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, e as formatNumberCompact, g as formatPrice, h as formatPriceAdjustment, i as formatPriceCompact, j as formatPriceRange, k as formatPriceWithTax, l as formatProductPrice, m as getBasePrice, n as getCurrencySymbol, o as getDiscountPercentage, p as getDisplayPrice, q as getMarkupPercentage, r as getPriceRange, s as getProductCurrency, t as getTaxAmount, u as getUnitPriceAtQuantity, v as hasTaxInfo, w as isOnSale, x as isPaymentStatusFailure, y as isPaymentStatusRequiresAction, z as isPaymentStatusSuccess, A as isTaxInclusive, B as isValidPhoneForContext, D as normalizePaymentResponse, E as normalizePhoneToE164, F as normalizeStatusResponse, G as parsePrice, H as paymentAuthorizationUrl, I as resolvePhoneCountryCode } from './index-BtcoqrY1.js';
6
7
  export { A as AdConfig, a as AdContextValue, b as AdCreative, c as AdPosition, d as AdSlot, e as AdTheme, S as SignInOptions, g as getVariantDisplayName, s as startSignIn } from './sign-in-DQlIdqsi.js';
7
- export { A as AddressAuthorizationData, a as AuthorizationType, I as InitializePaymentResult, P as Payment, b as PaymentErrorDetails, c as PaymentMethod, d as PaymentMethodType, e as PaymentProcessingState, f as PaymentProvider, g as PaymentResponse, h as PaymentStatus, i as PaymentStatusResponse, S as SubmitAuthorizationInput } from './payment-vzNnIi1n.js';
8
- export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-BstChV9a.js';
8
+ export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-BLIeAb8K.js';
9
9
  export { generateIdempotencyKey } from './advanced.js';
10
10
  import 'libphonenumber-js';
11
11
 
12
+ interface PaystackPopupOptions {
13
+ key: string;
14
+ email: string;
15
+ amount?: number;
16
+ currency?: string;
17
+ reference?: string;
18
+ accessCode?: string;
19
+ }
20
+ interface PaystackPopupResult {
21
+ success: boolean;
22
+ reference?: string;
23
+ error?: string;
24
+ }
25
+ type PaystackPopup = (options: PaystackPopupOptions, signal?: AbortSignal) => Promise<PaystackPopupResult>;
26
+ /** Built-in adapter for Paystack Inline. */
27
+ declare class PaystackAuthorizationAdapter implements PaymentAuthorizationAdapter {
28
+ private readonly openPopup;
29
+ readonly provider = "paystack";
30
+ constructor(openPopup?: PaystackPopup);
31
+ authorize(context: PaymentAuthorizationContext): Promise<PaymentAuthorizationOutcome>;
32
+ }
33
+
34
+ interface StripeErrorLike {
35
+ type?: string;
36
+ code?: string;
37
+ message?: string;
38
+ }
39
+ interface StripePaymentIntentLike {
40
+ id?: string;
41
+ status?: string;
42
+ }
43
+ interface StripePaymentElementLike {
44
+ mount(target: HTMLElement): void;
45
+ destroy?: () => void;
46
+ unmount?: () => void;
47
+ on?: (event: string, handler: (event?: {
48
+ error?: StripeErrorLike;
49
+ }) => void) => void;
50
+ }
51
+ interface StripeElementsLike {
52
+ create(type: "payment", options?: Record<string, unknown>): StripePaymentElementLike;
53
+ submit?: () => Promise<{
54
+ error?: StripeErrorLike;
55
+ }>;
56
+ }
57
+ interface StripeLike {
58
+ elements(options: {
59
+ clientSecret: string;
60
+ }): StripeElementsLike;
61
+ confirmPayment(options: {
62
+ elements: StripeElementsLike;
63
+ confirmParams: {
64
+ return_url: string;
65
+ };
66
+ redirect: "if_required";
67
+ }): Promise<{
68
+ error?: StripeErrorLike;
69
+ paymentIntent?: StripePaymentIntentLike;
70
+ }>;
71
+ }
72
+ type StripeLoader = (publicKey: string, options?: {
73
+ stripeAccount?: string;
74
+ }) => Promise<StripeLike | null>;
75
+ /**
76
+ * Stripe card adapter backed by the Payment Element. It reports only that the
77
+ * provider interaction was submitted; CheckoutResolver still polls Cimplify
78
+ * before returning checkout success.
79
+ */
80
+ declare class StripeAuthorizationAdapter implements PaymentAuthorizationAdapter {
81
+ private readonly loadStripe;
82
+ readonly provider = "stripe";
83
+ constructor(loadStripe?: StripeLoader);
84
+ authorize(context: PaymentAuthorizationContext): Promise<PaymentAuthorizationOutcome>;
85
+ }
86
+
12
87
  interface GalleryImage {
13
88
  url: string;
14
89
  /** null = product-level image; otherwise the variant it belongs to. */
@@ -174,4 +249,4 @@ interface AssetUrlOptions extends AssetTransform {
174
249
  declare function assetUrl(path: string, opts?: AssetUrlOptions): string;
175
250
  declare function isCimplifyAsset(src: string, base?: string): boolean;
176
251
 
177
- export { ApiError, type ApiResponse, type AssetTransform, type AssetUrlOptions, CIMPLIFY_CDN_HOSTS, ChatReplyCard, type CustomerGroup, type CustomerPricingInfo, DEFAULT_CDN_BASE_URL, DurationUnit, type FrontendContext, type GalleryImage, type MutationRequest, type PriceListItem, Product, ProductWithDetails, type QuantityBreak, type QueryRequest, type ResolvedQuantityBreak, type ResponseMetadata, type SilentSignInOptions, type SilentSignInResult, TaxPriceDisplayMode, allGalleryImages, assetUrl, chatMessageCards, displaysGrossPrices, isCimplifyAsset, isMultiDayService, priceBasisLabel, resolveGallery, serviceBillingMultiplier, signInSilent, stayLength, stayPeriods };
252
+ export { ApiError, type ApiResponse, type AssetTransform, type AssetUrlOptions, CIMPLIFY_CDN_HOSTS, ChatReplyCard, type CustomerGroup, type CustomerPricingInfo, DEFAULT_CDN_BASE_URL, DurationUnit, type FrontendContext, type GalleryImage, type MutationRequest, PaymentAuthorizationAdapter, PaymentAuthorizationContext, PaymentAuthorizationOutcome, PaystackAuthorizationAdapter, type PaystackPopup, type PaystackPopupOptions, type PaystackPopupResult, type PriceListItem, Product, ProductWithDetails, type QuantityBreak, type QueryRequest, type ResolvedQuantityBreak, type ResponseMetadata, type SilentSignInOptions, type SilentSignInResult, StripeAuthorizationAdapter, type StripeLike, type StripeLoader, TaxPriceDisplayMode, allGalleryImages, assetUrl, chatMessageCards, displaysGrossPrices, isCimplifyAsset, isMultiDayService, priceBasisLabel, resolveGallery, serviceBillingMultiplier, signInSilent, stayLength, stayPeriods };