@cimplify/sdk 0.101.1 → 0.103.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 (70) 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-QPRI2NII.js → chunk-2P4KXFB6.js} +6 -0
  6. package/dist/{chunk-4G5UWFC3.mjs → chunk-3V4DVXV3.mjs} +6 -1
  7. package/dist/{chunk-YHPMFTMN.mjs → chunk-C2JSNJUC.mjs} +406 -95
  8. package/dist/chunk-CNN7Z2IP.js +125 -0
  9. package/dist/{chunk-DKLHCZ5M.mjs → chunk-GERXZQSX.mjs} +487 -11
  10. package/dist/chunk-GOHSXBKW.mjs +105 -0
  11. package/dist/{chunk-7H6IL7CX.mjs → chunk-H7ACMHM3.mjs} +40 -15
  12. package/dist/{chunk-Z3K2D3TE.mjs → chunk-J6PNHDHL.mjs} +453 -483
  13. package/dist/{chunk-NIOUSKQQ.js → chunk-JG5CQNCB.js} +5 -0
  14. package/dist/{chunk-YER7DIOM.js → chunk-JSWJ4XDE.js} +471 -519
  15. package/dist/{chunk-DLW3RWRK.mjs → chunk-M4URVKHE.mjs} +46 -12
  16. package/dist/{chunk-WMEC5JWN.js → chunk-NNG6IFFX.js} +50 -13
  17. package/dist/{chunk-ICCCSVN3.js → chunk-QOWPGS7Z.js} +42 -16
  18. package/dist/{chunk-YDA46OZ6.js → chunk-R6OLQ33I.js} +560 -80
  19. package/dist/{chunk-H5SSGN7W.js → chunk-VIL6IQCG.js} +408 -97
  20. package/dist/{chunk-O3YUHLZL.mjs → chunk-VNPEYLB2.mjs} +5 -0
  21. package/dist/{client-Db554902.d.ts → client-BfpNjJ_a.d.mts} +93 -299
  22. package/dist/{client-CdTx7X_X.d.mts → client-DHBwvh7U.d.ts} +93 -299
  23. package/dist/{client-WkUcvRvO.d.mts → client-DpqRobY9.d.mts} +2 -2
  24. package/dist/{client-D40kI8z2.d.ts → client-Dqg2mc-7.d.ts} +2 -2
  25. package/dist/{index-D3UXgAYl.d.ts → index-C8uDqLwJ.d.ts} +14 -4
  26. package/dist/{index-BjWUkYgY.d.mts → index-e2y6AK70.d.mts} +14 -4
  27. package/dist/index.d.mts +92 -8
  28. package/dist/index.d.ts +92 -8
  29. package/dist/index.js +225 -188
  30. package/dist/index.mjs +7 -6
  31. package/dist/link-cuNVYc2s.d.mts +297 -0
  32. package/dist/link-cuNVYc2s.d.ts +297 -0
  33. package/dist/mock/cli.mjs +412 -94
  34. package/dist/mock/library.js +412 -94
  35. package/dist/mock/library.mjs +412 -94
  36. package/dist/mock/msw.js +412 -94
  37. package/dist/mock/msw.mjs +412 -94
  38. package/dist/{product-DwKdC_to.d.mts → payment-H5LoIvXU.d.mts} +207 -7
  39. package/dist/{product-DwKdC_to.d.ts → payment-H5LoIvXU.d.ts} +207 -7
  40. package/dist/{price-CiQUd_XX.d.mts → price-BvePgDXe.d.mts} +1 -1
  41. package/dist/{price-D9EOj8y8.d.ts → price-C2RqscMY.d.ts} +1 -1
  42. package/dist/react.d.mts +6 -4
  43. package/dist/react.d.ts +6 -4
  44. package/dist/react.js +203 -198
  45. package/dist/react.mjs +11 -6
  46. package/dist/{server-CeDb93WA.d.ts → server-C7FyLdrz.d.mts} +11 -9
  47. package/dist/{server-D-nSkrUr.d.mts → server-DoXIpSd7.d.ts} +11 -9
  48. package/dist/server.d.mts +4 -4
  49. package/dist/server.d.ts +4 -4
  50. package/dist/server.js +11 -10
  51. package/dist/server.mjs +5 -4
  52. package/dist/testing/msw.d.mts +2 -2
  53. package/dist/testing/msw.d.ts +2 -2
  54. package/dist/testing/msw.js +4 -3
  55. package/dist/testing/msw.mjs +3 -2
  56. package/dist/testing/suite.d.mts +6 -6
  57. package/dist/testing/suite.d.ts +6 -6
  58. package/dist/testing/suite.js +26 -25
  59. package/dist/testing/suite.mjs +7 -6
  60. package/dist/testing.d.mts +175 -45
  61. package/dist/testing.d.ts +175 -45
  62. package/dist/testing.js +86 -81
  63. package/dist/testing.mjs +8 -7
  64. package/dist/utils.d.mts +4 -4
  65. package/dist/utils.d.ts +4 -4
  66. package/dist/utils.js +37 -29
  67. package/dist/utils.mjs +2 -2
  68. package/package.json +7 -1
  69. package/dist/payment-CRqjGrx6.d.mts +0 -113
  70. package/dist/payment-DO1Z1Ip6.d.ts +0 -113
package/dist/index.d.mts CHANGED
@@ -1,14 +1,87 @@
1
- import { X as ChatReplyCard } from './client-CdTx7X_X.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-CdTx7X_X.mjs';
3
- import { be as ProductWithDetails, b0 as Product, ay as DurationUnit, j as ApiError } from './product-DwKdC_to.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, bz as TaxonomyAttributeTemplate, bA as TaxonomyWithChildren, bB as UICart, bC as UICartBusiness, bD as UICartCustomer, bE as UICartLocation, bF as UICartPricing, bG as UpcomingSale, bH as UpdateCartItemInput, bI as VariantAxis, bJ as VariantAxisSelection, bK as VariantAxisValue, bL as VariantAxisValueView, bM as VariantAxisView, bN as VariantAxisWithValues, bO as VariantDetails, bP as VariantDetailsDTO, bQ as VariantDisplayAttribute, bR as VariantLocationAvailability, bS as VariantStrategy, bT as VariantView, bU as ZERO, bW as currencyCode, bX as enrichError, bY as getErrorHint, bZ as isCimplifyError, b_ as isIdempotencyMismatchError, b$ as isQuoteConflictRequiringConsent, c0 as isQuoteError, c1 as isRetryableError, c2 as isSupportedCurrency, c3 as money, c4 as moneyFromNumber } from './product-DwKdC_to.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-BjWUkYgY.mjs';
1
+ import { bR as PaymentAuthorizationAdapter, bT as PaymentAuthorizationContext, bU as PaymentAuthorizationOutcome, R as ChatReplyCard } from './client-BfpNjJ_a.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 ContentType, ai as CustomerBooking, aj as CustomerBookingServiceItem, ak as CustomerServicePreferences, al as DayAvailability, am as DeliveryFeeDetails, an as DeliveryFeeResponse, ao as DeliveryOption, ap as DeliveryOptionsQuery, aq as DeliveryOptionsResponse, ar as DeliveryService, as as DepositResult, at as DismissMessageResponse, au as ELEMENTS_AUTH_CONTACT_TYPES, av as ELEMENTS_AUTH_MODES, aw as ELEMENTS_AUTH_PROMPTS, ax as ELEMENT_TYPES, ay as EVENT_TYPES, az as ElementAppearance, aA as ElementEventHandler, aB as ElementEventType, aC as ElementOptions, aD as ElementType, aE as ElementsAuthContactType, aF as ElementsAuthMode, aG as ElementsAuthOptions, aH as ElementsAuthPrompt, aI as ElementsCheckoutData, aJ as ElementsCheckoutResult, aK as ElementsCustomerInfo, aL as ElementsOptions, aM as EnrichedOrder, aN as EnrichedOrderItem, aO as Err, aP as FeeBearerType, aQ as FetchQuoteInput, aR as FulfillmentLink, aS as FulfillmentStatus, aT as FulfillmentSummaryDTO, aU as FulfillmentType, aV as FxQuote, aW as FxQuoteRequest, aX as FxQuoteStatus, aY as FxRateResponse, aZ as FxService, a_ as GetAvailableSlotsInput, a$ as GetDeliveryOptionsParams, b0 as GetOrdersOptions, b1 as GetProductsOptions, b2 as GroupOrderInfo, b3 as IframeToParentMessage, b4 as InventoryService, b5 as LifecyclePhase, b6 as LineItem, b7 as LineType, b8 as LinkService, b9 as LiteBootstrap, ba as LiteDayHours, bb as LiteHoursRange, bc as LiteService, bd as Location, be as LocationBooking, bf as LocationTaxBehavior, bg as LocationTaxOverrides, bh as LocationTimeProfile, bi as LocationWithDetails, bj as MESSAGE_TYPES, bk as MobileMoneyDetails, bl as NextAction, bm as ObservabilityHooks, bn as Ok, bo as Order, bp as OrderCustomerInfo, bq as OrderDiscountInfo, br as OrderFilter, bs as OrderFulfillmentSummary, bt as OrderGroup, bu as OrderGroupDetails, bv as OrderGroupPayment, bw as OrderGroupPaymentState, bx as OrderGroupPaymentStatus, by as OrderGroupPaymentSummary, bz as OrderGroupStatus, bA as OrderHistory, bB as OrderLineState, bC as OrderLineStatus, bD as OrderLocationInfo, bE as OrderPaymentEvent, bF as OrderPricingView, bG as OrderQueries, bH as OrderSplitDetail, bI as OrderStaffInfo, bJ as OrderStatus, bK as OrderTimestampsDTO, bL as OrderType, bM as Origin, bN as OriginActor, bO as OriginChannel, bP as OtpResult, bQ as ParentToIframeMessage, bS as PaymentAuthorizationAdapterRegistry, bV as PaymentInfoDTO, bW as PaymentMethodInfo, bX as PaymentState, bY as PickupTime, bZ as PickupTimeType, b_ as PlaceDetailsResponse, b$ as PlacesService, c0 as PriceQuote, c1 as PricingOverrides, c2 as ProcessAndResolveOptions, c3 as ProcessCheckoutOptions, c4 as ProcessCheckoutResult, c5 as ProviderResolutionSource, c6 as QuoteBundleSelectionInput, c7 as QuoteCompositeSelectionInput, c8 as QuoteDynamicBuckets, c9 as QuoteStatus, ca as QuoteUiMessage, cb as ReadRequestOptions, cc as RefreshQuoteInput, cd as RefreshQuoteResult, ce as RefundOrderInput, cf as RelatedCandidate, cg as RelatedProduct, ch as RelatedProductsEnrichment, ci as RelationType, cj as ReminderMethod, ck as ReminderSettings, cl as ReorderResult, cm as RequestContext, cn as RequestErrorEvent, co as RequestOptions, cp as RequestSource, cq as RequestStartEvent, cr as RequestSuccessEvent, cs as RescheduleBookingInput, ct as RescheduleBookingResult, cu as RescheduleHistoryRecord, cv as ResourceAssignment, cw as ResourceInfo, cx as Result, cy as RetryEvent, cz as Room, cA as SchedulingMetadata, cB as SchedulingResult, cC as SchedulingService, cD as SenderType, cE as Service, cF as ServiceAvailabilityParams, cG as ServiceAvailabilityResult, cH as ServiceCharge, cI as ServiceNotes, cJ as ServiceScheduleRequest, cK as ServiceStatus, cL as SessionActivityData, cM as SessionChangeEvent, cN as SessionMessage, cO as SlotResourceInfo, cP as SlotStaffInfo, cQ as Staff, cR as StaffAssignment, cS as StaffRole, cT as StaffScheduleItem, cU as StockLevel, cV as StockStatus, cW as StoreCreditBalance, cX as StoreCreditQueries, cY as StorefrontBootstrap, cZ as SubscriptionService, c_ as SupportService, c$ as Table, d0 as TimeRange, d1 as TimeRanges, d2 as TimeSlot, d3 as TrackCategoryViewOptions, d4 as TrackProductViewOptions, d5 as UpdateOrderStatusInput, d6 as UpdateProfileInput, d7 as UploadInitResponse, d8 as UploadResult, d9 as UploadService, da as combine, db as combineObject, dc as createCimplifyClient, dd as createDefaultPaymentAuthorizationAdapterRegistry, de as createElements, df as err, dg as flatMap, dh as fromPromise, di as getOrElse, dj as isErr, dk as isOk, dl as mapError, dm as mapResult, dn as ok, dp as toNullable, dq as tryCatch, dr as unwrap } from './client-BfpNjJ_a.mjs';
3
+ import { bs as ProductWithDetails, bO as TaxPriceDisplayMode, be as Product, aA as DurationUnit, k as ApiError } from './payment-H5LoIvXU.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-H5LoIvXU.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 RevokeAllSessionsResult, J as RevokeSessionResult, U as UpdateAddressInput, V as VerifyOtpInput } from './link-cuNVYc2s.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-e2y6AK70.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-CRqjGrx6.mjs';
8
- export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-CiQUd_XX.mjs';
8
+ export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-BvePgDXe.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) => Promise<StripeLike | null>;
73
+ /**
74
+ * Stripe card adapter backed by the Payment Element. It reports only that the
75
+ * provider interaction was submitted; CheckoutResolver still polls Cimplify
76
+ * before returning checkout success.
77
+ */
78
+ declare class StripeAuthorizationAdapter implements PaymentAuthorizationAdapter {
79
+ private readonly loadStripe;
80
+ readonly provider = "stripe";
81
+ constructor(loadStripe?: StripeLoader);
82
+ authorize(context: PaymentAuthorizationContext): Promise<PaymentAuthorizationOutcome>;
83
+ }
84
+
12
85
  interface GalleryImage {
13
86
  url: string;
14
87
  /** null = product-level image; otherwise the variant it belongs to. */
@@ -70,6 +143,17 @@ interface CustomerPricingInfo {
70
143
  items: QuantityBreak[];
71
144
  }
72
145
 
146
+ /**
147
+ * Whether customer-facing totals must present the tax-inclusive amount as the
148
+ * price. True for inclusive-arithmetic markets (Ghana VAT) and for markets
149
+ * whose reviewed presentation policy is `gross_required` even though the tax
150
+ * arithmetic itself is exclusive (Nigeria, Singapore, South Africa, UAE).
151
+ */
152
+ declare function displaysGrossPrices(pricing: {
153
+ tax_inclusive: boolean;
154
+ price_display_mode?: TaxPriceDisplayMode | null;
155
+ }): boolean;
156
+
73
157
  type BasisFields = Pick<Product, "type" | "price_basis" | "duration_unit" | "scheduling_mode">;
74
158
  /** Whether this service schedules whole stays (per-duration-unit billing
75
159
  * default, unit reservations) rather than intraday slots. The server-resolved
@@ -163,4 +247,4 @@ interface AssetUrlOptions extends AssetTransform {
163
247
  declare function assetUrl(path: string, opts?: AssetUrlOptions): string;
164
248
  declare function isCimplifyAsset(src: string, base?: string): boolean;
165
249
 
166
- 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, allGalleryImages, assetUrl, chatMessageCards, isCimplifyAsset, isMultiDayService, priceBasisLabel, resolveGallery, serviceBillingMultiplier, signInSilent, stayLength, stayPeriods };
250
+ 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,87 @@
1
- import { X as ChatReplyCard } from './client-Db554902.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-Db554902.js';
3
- import { be as ProductWithDetails, b0 as Product, ay as DurationUnit, j as ApiError } from './product-DwKdC_to.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, bz as TaxonomyAttributeTemplate, bA as TaxonomyWithChildren, bB as UICart, bC as UICartBusiness, bD as UICartCustomer, bE as UICartLocation, bF as UICartPricing, bG as UpcomingSale, bH as UpdateCartItemInput, bI as VariantAxis, bJ as VariantAxisSelection, bK as VariantAxisValue, bL as VariantAxisValueView, bM as VariantAxisView, bN as VariantAxisWithValues, bO as VariantDetails, bP as VariantDetailsDTO, bQ as VariantDisplayAttribute, bR as VariantLocationAvailability, bS as VariantStrategy, bT as VariantView, bU as ZERO, bW as currencyCode, bX as enrichError, bY as getErrorHint, bZ as isCimplifyError, b_ as isIdempotencyMismatchError, b$ as isQuoteConflictRequiringConsent, c0 as isQuoteError, c1 as isRetryableError, c2 as isSupportedCurrency, c3 as money, c4 as moneyFromNumber } from './product-DwKdC_to.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-D3UXgAYl.js';
1
+ import { bR as PaymentAuthorizationAdapter, bT as PaymentAuthorizationContext, bU as PaymentAuthorizationOutcome, R as ChatReplyCard } from './client-DHBwvh7U.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 ContentType, ai as CustomerBooking, aj as CustomerBookingServiceItem, ak as CustomerServicePreferences, al as DayAvailability, am as DeliveryFeeDetails, an as DeliveryFeeResponse, ao as DeliveryOption, ap as DeliveryOptionsQuery, aq as DeliveryOptionsResponse, ar as DeliveryService, as as DepositResult, at as DismissMessageResponse, au as ELEMENTS_AUTH_CONTACT_TYPES, av as ELEMENTS_AUTH_MODES, aw as ELEMENTS_AUTH_PROMPTS, ax as ELEMENT_TYPES, ay as EVENT_TYPES, az as ElementAppearance, aA as ElementEventHandler, aB as ElementEventType, aC as ElementOptions, aD as ElementType, aE as ElementsAuthContactType, aF as ElementsAuthMode, aG as ElementsAuthOptions, aH as ElementsAuthPrompt, aI as ElementsCheckoutData, aJ as ElementsCheckoutResult, aK as ElementsCustomerInfo, aL as ElementsOptions, aM as EnrichedOrder, aN as EnrichedOrderItem, aO as Err, aP as FeeBearerType, aQ as FetchQuoteInput, aR as FulfillmentLink, aS as FulfillmentStatus, aT as FulfillmentSummaryDTO, aU as FulfillmentType, aV as FxQuote, aW as FxQuoteRequest, aX as FxQuoteStatus, aY as FxRateResponse, aZ as FxService, a_ as GetAvailableSlotsInput, a$ as GetDeliveryOptionsParams, b0 as GetOrdersOptions, b1 as GetProductsOptions, b2 as GroupOrderInfo, b3 as IframeToParentMessage, b4 as InventoryService, b5 as LifecyclePhase, b6 as LineItem, b7 as LineType, b8 as LinkService, b9 as LiteBootstrap, ba as LiteDayHours, bb as LiteHoursRange, bc as LiteService, bd as Location, be as LocationBooking, bf as LocationTaxBehavior, bg as LocationTaxOverrides, bh as LocationTimeProfile, bi as LocationWithDetails, bj as MESSAGE_TYPES, bk as MobileMoneyDetails, bl as NextAction, bm as ObservabilityHooks, bn as Ok, bo as Order, bp as OrderCustomerInfo, bq as OrderDiscountInfo, br as OrderFilter, bs as OrderFulfillmentSummary, bt as OrderGroup, bu as OrderGroupDetails, bv as OrderGroupPayment, bw as OrderGroupPaymentState, bx as OrderGroupPaymentStatus, by as OrderGroupPaymentSummary, bz as OrderGroupStatus, bA as OrderHistory, bB as OrderLineState, bC as OrderLineStatus, bD as OrderLocationInfo, bE as OrderPaymentEvent, bF as OrderPricingView, bG as OrderQueries, bH as OrderSplitDetail, bI as OrderStaffInfo, bJ as OrderStatus, bK as OrderTimestampsDTO, bL as OrderType, bM as Origin, bN as OriginActor, bO as OriginChannel, bP as OtpResult, bQ as ParentToIframeMessage, bS as PaymentAuthorizationAdapterRegistry, bV as PaymentInfoDTO, bW as PaymentMethodInfo, bX as PaymentState, bY as PickupTime, bZ as PickupTimeType, b_ as PlaceDetailsResponse, b$ as PlacesService, c0 as PriceQuote, c1 as PricingOverrides, c2 as ProcessAndResolveOptions, c3 as ProcessCheckoutOptions, c4 as ProcessCheckoutResult, c5 as ProviderResolutionSource, c6 as QuoteBundleSelectionInput, c7 as QuoteCompositeSelectionInput, c8 as QuoteDynamicBuckets, c9 as QuoteStatus, ca as QuoteUiMessage, cb as ReadRequestOptions, cc as RefreshQuoteInput, cd as RefreshQuoteResult, ce as RefundOrderInput, cf as RelatedCandidate, cg as RelatedProduct, ch as RelatedProductsEnrichment, ci as RelationType, cj as ReminderMethod, ck as ReminderSettings, cl as ReorderResult, cm as RequestContext, cn as RequestErrorEvent, co as RequestOptions, cp as RequestSource, cq as RequestStartEvent, cr as RequestSuccessEvent, cs as RescheduleBookingInput, ct as RescheduleBookingResult, cu as RescheduleHistoryRecord, cv as ResourceAssignment, cw as ResourceInfo, cx as Result, cy as RetryEvent, cz as Room, cA as SchedulingMetadata, cB as SchedulingResult, cC as SchedulingService, cD as SenderType, cE as Service, cF as ServiceAvailabilityParams, cG as ServiceAvailabilityResult, cH as ServiceCharge, cI as ServiceNotes, cJ as ServiceScheduleRequest, cK as ServiceStatus, cL as SessionActivityData, cM as SessionChangeEvent, cN as SessionMessage, cO as SlotResourceInfo, cP as SlotStaffInfo, cQ as Staff, cR as StaffAssignment, cS as StaffRole, cT as StaffScheduleItem, cU as StockLevel, cV as StockStatus, cW as StoreCreditBalance, cX as StoreCreditQueries, cY as StorefrontBootstrap, cZ as SubscriptionService, c_ as SupportService, c$ as Table, d0 as TimeRange, d1 as TimeRanges, d2 as TimeSlot, d3 as TrackCategoryViewOptions, d4 as TrackProductViewOptions, d5 as UpdateOrderStatusInput, d6 as UpdateProfileInput, d7 as UploadInitResponse, d8 as UploadResult, d9 as UploadService, da as combine, db as combineObject, dc as createCimplifyClient, dd as createDefaultPaymentAuthorizationAdapterRegistry, de as createElements, df as err, dg as flatMap, dh as fromPromise, di as getOrElse, dj as isErr, dk as isOk, dl as mapError, dm as mapResult, dn as ok, dp as toNullable, dq as tryCatch, dr as unwrap } from './client-DHBwvh7U.js';
3
+ import { bs as ProductWithDetails, bO as TaxPriceDisplayMode, be as Product, aA as DurationUnit, k as ApiError } from './payment-H5LoIvXU.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-H5LoIvXU.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 RevokeAllSessionsResult, J as RevokeSessionResult, U as UpdateAddressInput, V as VerifyOtpInput } from './link-cuNVYc2s.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-C8uDqLwJ.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-DO1Z1Ip6.js';
8
- export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-D9EOj8y8.js';
8
+ export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-C2RqscMY.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) => Promise<StripeLike | null>;
73
+ /**
74
+ * Stripe card adapter backed by the Payment Element. It reports only that the
75
+ * provider interaction was submitted; CheckoutResolver still polls Cimplify
76
+ * before returning checkout success.
77
+ */
78
+ declare class StripeAuthorizationAdapter implements PaymentAuthorizationAdapter {
79
+ private readonly loadStripe;
80
+ readonly provider = "stripe";
81
+ constructor(loadStripe?: StripeLoader);
82
+ authorize(context: PaymentAuthorizationContext): Promise<PaymentAuthorizationOutcome>;
83
+ }
84
+
12
85
  interface GalleryImage {
13
86
  url: string;
14
87
  /** null = product-level image; otherwise the variant it belongs to. */
@@ -70,6 +143,17 @@ interface CustomerPricingInfo {
70
143
  items: QuantityBreak[];
71
144
  }
72
145
 
146
+ /**
147
+ * Whether customer-facing totals must present the tax-inclusive amount as the
148
+ * price. True for inclusive-arithmetic markets (Ghana VAT) and for markets
149
+ * whose reviewed presentation policy is `gross_required` even though the tax
150
+ * arithmetic itself is exclusive (Nigeria, Singapore, South Africa, UAE).
151
+ */
152
+ declare function displaysGrossPrices(pricing: {
153
+ tax_inclusive: boolean;
154
+ price_display_mode?: TaxPriceDisplayMode | null;
155
+ }): boolean;
156
+
73
157
  type BasisFields = Pick<Product, "type" | "price_basis" | "duration_unit" | "scheduling_mode">;
74
158
  /** Whether this service schedules whole stays (per-duration-unit billing
75
159
  * default, unit reservations) rather than intraday slots. The server-resolved
@@ -163,4 +247,4 @@ interface AssetUrlOptions extends AssetTransform {
163
247
  declare function assetUrl(path: string, opts?: AssetUrlOptions): string;
164
248
  declare function isCimplifyAsset(src: string, base?: string): boolean;
165
249
 
166
- 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, allGalleryImages, assetUrl, chatMessageCards, isCimplifyAsset, isMultiDayService, priceBasisLabel, resolveGallery, serviceBillingMultiplier, signInSilent, stayLength, stayPeriods };
250
+ 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 };