@cimplify/sdk 0.103.0 → 0.104.1

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 (72) hide show
  1. package/dist/advanced.d.mts +3 -7
  2. package/dist/advanced.d.ts +3 -7
  3. package/dist/advanced.js +23 -23
  4. package/dist/advanced.mjs +4 -4
  5. package/dist/{client-DHBwvh7U.d.ts → catalogue-BlQ85Uma.d.mts} +492 -748
  6. package/dist/{client-BfpNjJ_a.d.mts → catalogue-C8TqOj9K.d.ts} +492 -748
  7. package/dist/{payment-H5LoIvXU.d.mts → checkout-BqK9XUz5.d.mts} +4338 -1495
  8. package/dist/{payment-H5LoIvXU.d.ts → checkout-BqK9XUz5.d.ts} +4338 -1495
  9. package/dist/{chunk-GOHSXBKW.mjs → chunk-33VCYWVL.mjs} +25 -1
  10. package/dist/{chunk-C2JSNJUC.mjs → chunk-6G3ANKQA.mjs} +1080 -369
  11. package/dist/{chunk-QOWPGS7Z.js → chunk-BWEIMKLF.js} +572 -17
  12. package/dist/{chunk-JSWJ4XDE.js → chunk-DQEXY542.js} +1630 -824
  13. package/dist/{chunk-CNN7Z2IP.js → chunk-EV2EVOYS.js} +27 -0
  14. package/dist/{chunk-VIL6IQCG.js → chunk-HYFA67A7.js} +1084 -373
  15. package/dist/{chunk-H7ACMHM3.mjs → chunk-L5SNEU2O.mjs} +553 -16
  16. package/dist/{chunk-JG5CQNCB.js → chunk-RBNBSQI7.mjs} +221 -19
  17. package/dist/{chunk-VNPEYLB2.mjs → chunk-SFUJMS5E.js} +265 -2
  18. package/dist/{chunk-M4URVKHE.mjs → chunk-U54CWUUT.mjs} +11 -2
  19. package/dist/{chunk-GERXZQSX.mjs → chunk-UFOWPN3D.mjs} +967 -582
  20. package/dist/{chunk-J6PNHDHL.mjs → chunk-V4457OKB.mjs} +1580 -785
  21. package/dist/{chunk-R6OLQ33I.js → chunk-WXREIBFW.js} +1041 -654
  22. package/dist/{chunk-NNG6IFFX.js → chunk-XAUSDMMZ.js} +13 -3
  23. package/dist/{client-DpqRobY9.d.mts → client-DhXeiUrf.d.ts} +2 -2
  24. package/dist/{client-Dqg2mc-7.d.ts → client-mXiUrV4X.d.mts} +2 -2
  25. package/dist/{index-C8uDqLwJ.d.ts → index-B0AdZvrM.d.mts} +9 -4
  26. package/dist/{index-e2y6AK70.d.mts → index-CK8Nk5uQ.d.ts} +9 -4
  27. package/dist/index-DPWI5XcU.d.ts +8 -0
  28. package/dist/index-DVfUh-ci.d.mts +8 -0
  29. package/dist/index.d.mts +34 -15
  30. package/dist/index.d.ts +34 -15
  31. package/dist/index.js +306 -133
  32. package/dist/index.mjs +7 -6
  33. package/dist/mock/cli.mjs +1494 -395
  34. package/dist/mock/library.js +1220 -361
  35. package/dist/mock/library.mjs +1220 -361
  36. package/dist/mock/msw.js +1220 -361
  37. package/dist/mock/msw.mjs +1220 -361
  38. package/dist/{price-C2RqscMY.d.ts → price-6hQIIac9.d.ts} +1 -1
  39. package/dist/{price-BvePgDXe.d.mts → price-BUDv1rI7.d.mts} +1 -1
  40. package/dist/react.d.mts +10 -5
  41. package/dist/react.d.ts +10 -5
  42. package/dist/react.js +279 -225
  43. package/dist/react.mjs +140 -86
  44. package/dist/{server-DoXIpSd7.d.ts → server-DJ0mSs9i.d.mts} +33 -57
  45. package/dist/{server-C7FyLdrz.d.mts → server-DSTX76Ki.d.ts} +33 -57
  46. package/dist/server.d.mts +3 -4
  47. package/dist/server.d.ts +3 -4
  48. package/dist/server.js +12 -11
  49. package/dist/server.mjs +6 -5
  50. package/dist/styles.css +2 -2
  51. package/dist/testing/msw.d.mts +2 -2
  52. package/dist/testing/msw.d.ts +2 -2
  53. package/dist/testing/msw.js +4 -4
  54. package/dist/testing/msw.mjs +3 -3
  55. package/dist/testing/suite.d.mts +5 -6
  56. package/dist/testing/suite.d.ts +5 -6
  57. package/dist/testing/suite.js +29 -28
  58. package/dist/testing/suite.mjs +10 -9
  59. package/dist/testing.d.mts +2217 -14
  60. package/dist/testing.d.ts +2217 -14
  61. package/dist/testing.js +173 -83
  62. package/dist/testing.mjs +28 -10
  63. package/dist/utils.d.mts +3 -4
  64. package/dist/utils.d.ts +3 -4
  65. package/dist/utils.js +35 -31
  66. package/dist/utils.mjs +2 -2
  67. package/package.json +9 -9
  68. package/registry/chat-widget.json +1 -1
  69. package/registry/order-history.json +1 -1
  70. package/registry/order-summary.json +1 -1
  71. package/dist/link-cuNVYc2s.d.mts +0 -297
  72. package/dist/link-cuNVYc2s.d.ts +0 -297
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkJG5CQNCB_js = require('./chunk-JG5CQNCB.js');
3
+ var chunkSFUJMS5E_js = require('./chunk-SFUJMS5E.js');
4
4
 
5
5
  // src/utils/price.ts
6
6
  var CURRENCY_SYMBOLS = {
@@ -468,14 +468,14 @@ function normalizeStatusResponse(response) {
468
468
  return {
469
469
  status: "pending",
470
470
  paid: false,
471
- amount: chunkJG5CQNCB_js.moneyFromNumber(0),
471
+ amount: chunkSFUJMS5E_js.moneyFromNumber(0),
472
472
  currency: "",
473
473
  message: "No status available"
474
474
  };
475
475
  }
476
476
  const res = response;
477
477
  const normalizedStatus = normalizePaymentStatusValue(res.status ?? void 0);
478
- const normalizedAmount = typeof res.amount === "string" ? chunkJG5CQNCB_js.money(res.amount) : typeof res.amount === "number" && Number.isFinite(res.amount) ? chunkJG5CQNCB_js.moneyFromNumber(res.amount) : chunkJG5CQNCB_js.moneyFromNumber(0);
478
+ const normalizedAmount = typeof res.amount === "string" ? chunkSFUJMS5E_js.money(res.amount) : typeof res.amount === "number" && Number.isFinite(res.amount) ? chunkSFUJMS5E_js.moneyFromNumber(res.amount) : chunkSFUJMS5E_js.moneyFromNumber(0);
479
479
  const normalizedCurrency = typeof res.currency === "string" && res.currency.trim().length > 0 ? res.currency : "";
480
480
  const paidValue = res.paid === true && normalizedStatus !== "authorized" && !PAYMENT_REQUIRES_ACTION_STATUSES.has(normalizedStatus) && !PAYMENT_FAILURE_STATUSES.has(normalizedStatus);
481
481
  const derivedPaid = paidValue || PAYMENT_SUCCESS_STATUSES.has(normalizedStatus);
@@ -513,6 +513,15 @@ function canonicalMobileMoneyProvider(provider) {
513
513
  const normalized = provider.trim().toLowerCase().replace(/[\s_-]+/g, "");
514
514
  return MOBILE_MONEY_PROVIDER_ALIASES[normalized] ?? null;
515
515
  }
516
+ var PURCHASE_INTENT_NETWORK_BY_PROVIDER = {
517
+ mtn: chunkSFUJMS5E_js.PURCHASE_INTENT_MOBILE_MONEY_NETWORK.MTN,
518
+ telecel: chunkSFUJMS5E_js.PURCHASE_INTENT_MOBILE_MONEY_NETWORK.TELECEL,
519
+ airteltigo: chunkSFUJMS5E_js.PURCHASE_INTENT_MOBILE_MONEY_NETWORK.AIRTEL
520
+ };
521
+ function purchaseIntentMobileMoneyNetwork(provider) {
522
+ const canonical = canonicalMobileMoneyProvider(provider);
523
+ return canonical ? PURCHASE_INTENT_NETWORK_BY_PROVIDER[canonical] ?? null : null;
524
+ }
516
525
  var LOOPBACK_AUTHORIZATION_HOSTS = /* @__PURE__ */ new Set(["localhost", "127.0.0.1", "[::1]"]);
517
526
  function paymentAuthorizationUrl(value) {
518
527
  if (typeof value !== "string" || !value.trim()) return null;
@@ -571,3 +580,4 @@ exports.normalizePaymentResponse = normalizePaymentResponse;
571
580
  exports.normalizeStatusResponse = normalizeStatusResponse;
572
581
  exports.parsePrice = parsePrice;
573
582
  exports.paymentAuthorizationUrl = paymentAuthorizationUrl;
583
+ exports.purchaseIntentMobileMoneyNetwork = purchaseIntentMobileMoneyNetwork;
@@ -1,5 +1,5 @@
1
- import { ac as CimplifyClient } from './client-BfpNjJ_a.mjs';
2
- import { A as AppHandle, C as CreateAppOptions } from './server-C7FyLdrz.mjs';
1
+ import { C as CimplifyClient } from './catalogue-C8TqOj9K.js';
2
+ import { A as AppHandle, C as CreateAppOptions } from './server-DSTX76Ki.js';
3
3
 
4
4
  /**
5
5
  * Test client + fixtures.
@@ -1,5 +1,5 @@
1
- import { ac as CimplifyClient } from './client-DHBwvh7U.js';
2
- import { A as AppHandle, C as CreateAppOptions } from './server-DoXIpSd7.js';
1
+ import { C as CimplifyClient } from './catalogue-BlQ85Uma.mjs';
2
+ import { A as AppHandle, C as CreateAppOptions } from './server-DJ0mSs9i.mjs';
3
3
 
4
4
  /**
5
5
  * Test client + fixtures.
@@ -1,6 +1,5 @@
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-H5LoIvXU.js';
2
- import { P as ProductWithPrice } from './price-C2RqscMY.js';
3
- import { z as MobileMoneyProvider } from './link-cuNVYc2s.js';
1
+ import { cC as Money, C as CurrencyCode, dx as PricePathTaxInfo, P as Product, e as ProductWithDetails, e5 as QuantityPricingTier, cA as MobileMoneyProvider, db as PaymentErrorDetails, dl as PaymentResponse, dn as PaymentStatusResponse, dX as PurchaseIntentMobileMoneyNetwork } from './checkout-BqK9XUz5.mjs';
2
+ import { P as ProductWithPrice } from './price-BUDv1rI7.mjs';
4
3
  import { CountryCode } from 'libphonenumber-js';
5
4
 
6
5
  declare const CURRENCY_SYMBOLS: Record<string, string>;
@@ -62,6 +61,12 @@ declare const MOBILE_MONEY_PROVIDERS: {
62
61
  type CanonicalMobileMoneyProvider = Extract<MobileMoneyProvider, "mtn" | "telecel" | "airteltigo" | "mpesa">;
63
62
  /** Normalize route-catalog and legacy network aliases to storefront provider codes. */
64
63
  declare function canonicalMobileMoneyProvider(provider: string | null | undefined): CanonicalMobileMoneyProvider | null;
64
+ /**
65
+ * Collapse storefront aliases to Checkout's closed durable network vocabulary.
66
+ * M-PESA is deliberately absent until the backend can issue a matching
67
+ * PurchaseIntent payment option.
68
+ */
69
+ declare function purchaseIntentMobileMoneyNetwork(provider: string | null | undefined): PurchaseIntentMobileMoneyNetwork | null;
65
70
  /**
66
71
  * Validate an external payment-authorization URL before browser navigation.
67
72
  * Provider payloads are data, not executable navigation instructions: only
@@ -78,4 +83,4 @@ declare function resolvePhoneCountryCode(options?: PhoneNormalizationOptions): C
78
83
  declare function normalizePhoneToE164(raw: string, options?: PhoneNormalizationOptions): string | null;
79
84
  declare function isValidPhoneForContext(raw: string, options?: PhoneNormalizationOptions): boolean;
80
85
 
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 };
86
+ 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, purchaseIntentMobileMoneyNetwork as I, resolvePhoneCountryCode as J, 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,5 @@
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-H5LoIvXU.mjs';
2
- import { P as ProductWithPrice } from './price-BvePgDXe.mjs';
3
- import { z as MobileMoneyProvider } from './link-cuNVYc2s.mjs';
1
+ import { cC as Money, C as CurrencyCode, dx as PricePathTaxInfo, P as Product, e as ProductWithDetails, e5 as QuantityPricingTier, cA as MobileMoneyProvider, db as PaymentErrorDetails, dl as PaymentResponse, dn as PaymentStatusResponse, dX as PurchaseIntentMobileMoneyNetwork } from './checkout-BqK9XUz5.js';
2
+ import { P as ProductWithPrice } from './price-6hQIIac9.js';
4
3
  import { CountryCode } from 'libphonenumber-js';
5
4
 
6
5
  declare const CURRENCY_SYMBOLS: Record<string, string>;
@@ -62,6 +61,12 @@ declare const MOBILE_MONEY_PROVIDERS: {
62
61
  type CanonicalMobileMoneyProvider = Extract<MobileMoneyProvider, "mtn" | "telecel" | "airteltigo" | "mpesa">;
63
62
  /** Normalize route-catalog and legacy network aliases to storefront provider codes. */
64
63
  declare function canonicalMobileMoneyProvider(provider: string | null | undefined): CanonicalMobileMoneyProvider | null;
64
+ /**
65
+ * Collapse storefront aliases to Checkout's closed durable network vocabulary.
66
+ * M-PESA is deliberately absent until the backend can issue a matching
67
+ * PurchaseIntent payment option.
68
+ */
69
+ declare function purchaseIntentMobileMoneyNetwork(provider: string | null | undefined): PurchaseIntentMobileMoneyNetwork | null;
65
70
  /**
66
71
  * Validate an external payment-authorization URL before browser navigation.
67
72
  * Provider payloads are data, not executable navigation instructions: only
@@ -78,4 +83,4 @@ declare function resolvePhoneCountryCode(options?: PhoneNormalizationOptions): C
78
83
  declare function normalizePhoneToE164(raw: string, options?: PhoneNormalizationOptions): string | null;
79
84
  declare function isValidPhoneForContext(raw: string, options?: PhoneNormalizationOptions): boolean;
80
85
 
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 };
86
+ 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, purchaseIntentMobileMoneyNetwork as I, resolvePhoneCountryCode as J, 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 };
@@ -0,0 +1,8 @@
1
+ import './catalogue-C8TqOj9K.js';
2
+ import './checkout-BqK9XUz5.js';
3
+
4
+ declare function generateIdempotencyKey(prefix?: string): string;
5
+ declare function intentIdempotencyKey(scope: string, fingerprint: string, storage?: Storage | null): string;
6
+ declare function clearIntentIdempotencyKey(scope: string, storage?: Storage | null): void;
7
+
8
+ export { clearIntentIdempotencyKey as c, generateIdempotencyKey as g, intentIdempotencyKey as i };
@@ -0,0 +1,8 @@
1
+ import './catalogue-BlQ85Uma.mjs';
2
+ import './checkout-BqK9XUz5.mjs';
3
+
4
+ declare function generateIdempotencyKey(prefix?: string): string;
5
+ declare function intentIdempotencyKey(scope: string, fingerprint: string, storage?: Storage | null): string;
6
+ declare function clearIntentIdempotencyKey(scope: string, storage?: Storage | null): void;
7
+
8
+ export { clearIntentIdempotencyKey as c, generateIdempotencyKey as g, intentIdempotencyKey as i };
package/dist/index.d.mts CHANGED
@@ -1,12 +1,11 @@
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';
1
+ import { P as PaymentAuthorizationAdapter, c as PaymentAuthorizationContext, d as PaymentAuthorizationOutcome, e as ChatReplyCard } from './catalogue-BlQ85Uma.mjs';
2
+ export { A as ActivityRecommendation, f as ActivityRecommendationsResponse, g as ActivityService, h as ActivityStateResponse, i as AmountToPay, j as AuthService, k as AuthStatus, l as AuthorizeCardPopupOptions, m as AutocompletePrediction, n as AutocompleteResponse, o as AvailabilityResult, p as AvailableSlot, B as Booking, q as BookingModificationType, r as BookingStatus, s as BookingWithDetails, t as BufferTimes, u as Business, v as BusinessDetailsDTO, w as BusinessHours, x as BusinessPreferences, y as BusinessService, z as BusinessSettings, D as BusinessWithLocations, a as CacheOptions, E as CancelBookingInput, F as CancelBookingResult, G as CancelOrderInput, H as CancellationPolicy, I as CardPopupAction, J as CartOperations, K as CatalogueQueries, L as CatalogueResult, M as CatalogueSnapshot, N as CategoryInfo, O as ChatAttachment, Q as ChatConversation, S as ChatConversationResponse, T as ChatMessage, U as ChatReplyContext, V as ChatUploadAttachment, W as ChatWidgetStarter, X as CheckSlotAvailabilityInput, Y as CheckSlotAvailabilityResult, Z as CheckoutInput, _ as CheckoutOperations, _ as CheckoutService, C as CimplifyClient, $ as CimplifyConfig, a0 as CimplifyElement, a1 as CimplifyElements, a2 as ClaimConversationResult, a3 as ClaimExternalChatsResult, a4 as ContentType, a5 as CustomerBooking, a6 as CustomerBookingServiceItem, a7 as CustomerServicePreferences, a8 as DayAvailability, a9 as DeliveryFeeDetails, aa as DeliveryFeeResponse, ab as DeliveryFeeStatus, ac as DeliveryOption, ad as DeliveryOptionsQuery, ae as DeliveryOptionsResponse, af as DeliveryService, ag as DepositResult, ah as DismissMessageResponse, ai as EnrichedOrder, aj as EnrichedOrderItem, ak as Err, al as ExternalChatClaimAttempt, am as ExternalChatClaimDisposition, an as FeeBearerType, ao as FetchQuoteInput, ap as FulfillmentLink, aq as FulfillmentStatus, ar as FulfillmentSummaryDTO, as as FulfillmentType, at as FxQuote, au as FxQuoteRequest, av as FxQuoteStatus, aw as FxRateResponse, ax as FxService, ay as GetAvailableSlotsInput, az as GetDeliveryOptionsParams, aA as GetOrdersOptions, aB as GetProductsOptions, aC as GroupOrderInfo, aD as HostedPurchaseIntentService, aE as InventoryService, aF as LifecyclePhase, aG as LineItem, aH as LineType, aI as LinkService, aJ as LiteBootstrap, aK as LiteDayHours, aL as LiteHoursRange, aM as LiteService, aN as Location, aO as LocationBooking, aP as LocationTaxBehavior, aQ as LocationTaxOverrides, aR as LocationTimeProfile, aS as LocationWithDetails, aT as ObservabilityHooks, aU as Ok, aV as Order, aW as OrderCustomerInfo, aX as OrderDiscountInfo, aY as OrderFilter, aZ as OrderFulfillmentSummary, a_ as OrderGroup, a$ as OrderGroupDetails, b0 as OrderGroupPayment, b1 as OrderGroupPaymentState, b2 as OrderGroupPaymentStatus, b3 as OrderGroupPaymentSummary, b4 as OrderGroupStatus, b5 as OrderHistory, b6 as OrderLineState, b7 as OrderLineStatus, b8 as OrderLocationInfo, b9 as OrderPaymentEvent, ba as OrderPricingView, bb as OrderQueries, bc as OrderSplitDetail, bd as OrderStaffInfo, be as OrderStatus, bf as OrderTimestampsDTO, bg as Origin, bh as OriginActor, bi as OriginChannel, bj as OtpResult, bk as PAYMENT_AUTHORIZATION_OUTCOME_STATUS, bl as PAYMENT_AUTHORIZATION_PROVIDER, bm as PURCHASE_INTENT_ROUTE, bn as PaymentAuthorizationAdapterRegistry, bo as PaymentInfoDTO, bp as PaymentState, bq as PlaceDetailsResponse, br as PlacesService, bs as PriceQuote, bt as PricingOverrides, bu as ProviderResolutionSource, bv as PurchaseIntentActionDecision, bw as PurchaseIntentRequestOptions, bx as PurchaseIntentResolveOptions, by as PurchaseIntentResolveStatus, bz as PurchaseIntentResolver, bA as PurchaseIntentService, bB as PurchaseIntentTransport, bC as QuoteBundleSelectionInput, bD as QuoteCompositeSelectionInput, bE as QuoteDynamicBuckets, bF as QuoteStatus, bG as QuoteUiMessage, R as ReadRequestOptions, bH as RefreshQuoteInput, bI as RefreshQuoteResult, bJ as RefundOrderInput, bK as RelatedCandidate, bL as RelatedProduct, bM as RelatedProductsEnrichment, bN as RelationType, bO as ReminderMethod, bP as ReminderSettings, bQ as ReorderResult, bR as RequestContext, bS as RequestErrorEvent, bT as RequestOptions, bU as RequestRetryPolicy, bV as RequestSource, bW as RequestStartEvent, bX as RequestSuccessEvent, bY as RescheduleBookingInput, bZ as RescheduleBookingResult, b_ as RescheduleHistoryRecord, b$ as ResourceAssignment, c0 as ResourceInfo, b as Result, c1 as RetryEvent, c2 as Room, c3 as SESSION_CHANGE_SOURCE, c4 as SchedulingMetadata, c5 as SchedulingResult, c6 as SchedulingService, c7 as SenderType, c8 as Service, c9 as ServiceAvailabilityParams, ca as ServiceAvailabilityResult, cb as ServiceCharge, cc as ServiceNotes, cd as ServiceScheduleRequest, ce as ServiceStatus, cf as SessionActivityData, cg as SessionChangeEvent, ch as SessionChangeSource, ci as SessionMessage, cj as SlotResourceInfo, ck as SlotStaffInfo, cl as Staff, cm as StaffAssignment, cn as StaffRole, co as StaffScheduleItem, cp as StockLevel, cq as StockStatus, cr as StoreCreditBalance, cs as StoreCreditQueries, ct as StorefrontBootstrap, cu as SubscriptionService, cv as SupportService, cw as Table, cx as TimeRange, cy as TimeRanges, cz as TimeSlot, cA as TrackCategoryViewOptions, cB as TrackProductViewOptions, cC as UpdateOrderStatusInput, cD as UpdateProfileInput, cE as UploadInitResponse, cF as UploadResult, cG as UploadService, cH as combine, cI as combineObject, cJ as createCimplifyClient, cK as createDefaultPaymentAuthorizationAdapterRegistry, cL as createElements, cM as err, cN as flatMap, cO as fromPromise, cP as getOrElse, cQ as isErr, cR as isOk, cS as mapError, cT as mapResult, cU as ok, cV as toNullable, cW as tryCatch, cX as unwrap } from './catalogue-BlQ85Uma.mjs';
3
+ export { c as clearPurchaseIntentIdempotencyKey, g as generateIdempotencyKey, i as purchaseIntentIdempotencyKey } from './index-DVfUh-ci.mjs';
4
+ import { f as CheckoutPaymentMethodKind, g as CheckoutTermsView, h as PaymentOptionView, i as ConfirmPurchaseIntentRequest, e as ProductWithDetails, T as TaxPriceDisplayMode, P as Product, D as DurationUnit, A as ApiError } from './checkout-BqK9XUz5.mjs';
5
+ export { j as AUTHORIZATION_TYPE, k as AUTH_MUTATION, l as AbortablePromise, m as AddOn, n as AddOnDetails, o as AddOnGroupDetails, p as AddOnOption, q as AddOnOptionDetails, r as AddOnOptionPrice, s as AddOnWithOptions, t as AddToCartInput, u as AddressAuthorizationData, v as AddressData, w as AddressInfo, x as AddressValue, y as AdjustmentType, z as AppliedDiscount, B as AttributeAppliesTo, E as AttributeType, F as AttributeValidationRules, G as AttributeVisibility, H as AuthResponse, I as AuthenticatedCustomer, J as AuthenticatedData, K as AuthorizationType, L as BOUNDARY_KIND, M as BenefitType, N as BillingFrequency, O as BillingMarkupType, Q as BillingPlanType, R as BoundaryKind, V as Bundle, W as BundleComponentData, X as BundleComponentInfo, Y as BundleComponentVariantView, Z as BundleComponentView, _ as BundlePriceType, $ as BundleProduct, a0 as BundleSelectionData, a1 as BundleSelectionInput, a2 as BundleStoredSelection, a3 as BundleSummary, a4 as BundleWithDetails, a5 as CHECKOUT_COMPLIANCE_LANE, a6 as CHECKOUT_COMPLIANCE_REASON, a7 as CHECKOUT_INVALIDATION_REASON, a8 as CHECKOUT_MATERIAL_TERMS_COMPONENT, a9 as CHECKOUT_MODE, aa as CHECKOUT_MUTATION, ab as CHECKOUT_NEXT_ACTION, ac as CHECKOUT_ORDER_RESULT_STATUS, ad as CHECKOUT_STATUS, ae as CHECKOUT_STEP, af as CHECKOUT_TERMS_COMPONENT, ag as CHECKOUT_TERMS_DELTA_KIND, ah as CONTACT_TYPE, ai as CanonicalSourceAuthority, aj as Cart, ak as CartAddOn, al as CartChannel, am as CartIntentCheckoutInput, an as CartItem, ao as CartItemDetails, ap as CartMutationResult, aq as CartNotice, ar as CartStatus, as as CartSummary, at as CartTotals, b as Category, au as CategorySummary, av as CheckoutAddressInfo, aw as CheckoutCartData, ax as CheckoutCartItem, ay as CheckoutCollectionMethod, az as CheckoutCollectionOption, aA as CheckoutCollectionOptions, aB as CheckoutComplianceDecision, aC as CheckoutComplianceLane, aD as CheckoutComplianceReasonCode, aE as CheckoutCustomerInfo, aF as CheckoutDestinationInput, aG as CheckoutFormData, aH as CheckoutInvalidationReason, aI as CheckoutMaterialTerms, aJ as CheckoutMaterialTermsComponent, aK as CheckoutMode, aL as CheckoutMoneyComponents, aM as CheckoutOfferKind, aN as CheckoutOrderType, aO as CheckoutPaymentMethod, aP as CheckoutResult, aQ as CheckoutSourceKind, aR as CheckoutStatus, aS as CheckoutStatusContext, aT as CheckoutStep, aU as CheckoutTermsComponent, aV as CheckoutTermsDelta, a as ChosenPrice, c as CimplifyError, d as Collection, aW as CollectionProduct, aX as CollectionSummary, aY as ComponentGroup, aZ as ComponentGroupWithComponents, a_ as ComponentPriceBreakdown, a$ as ComponentSchedulingData, b0 as ComponentSelectionInput, b1 as ComponentSourceType, b2 as Composite, b3 as CompositeComponent, b4 as CompositeComponentView, b5 as CompositeGroupView, b6 as CompositePriceBreakdown, b7 as CompositePriceResult, b8 as CompositePricingMode, b9 as CompositeSelectionData, b0 as CompositeSelectionInput, ba as CompositeStoredSelection, bb as CompositeWithDetails, bc as ConfirmPurchaseIntentResponse, bd as ContactType, be as CreateAddressInput, bf as CreateMobileMoneyInput, C as CurrencyCode, bg as CustomAttributeDefinition, bh as CustomAttributeValue, bi as Customer, bj as CustomerAddress, bk as CustomerInputValue, bl as CustomerLinkPreferences, bm as CustomerMobileMoney, bn as DEFAULT_COUNTRY, bo as DEFAULT_CURRENCY, bp as DEVICE_TYPE, bq as DURATION_UNIT, br as DateRangeValue, bs as Deal, bt as DealBenefitType, bu as DepositType, bv as DestinationQuote, bw as DestinationQuoteAddress, bx as DestinationQuoteInput, by as DeviceType, bz as DigitalProductType, bA as DiscountBreakdown, bB as DiscountDetails, bC as DiscountValidation, bD as DisplayAddOn, bE as DisplayAddOnOption, bF as DisplayCart, bG as DisplayCartItem, bH as DisplayMode, bI as ELEMENTS_AUTH_CONTACT_TYPES, bJ as ELEMENTS_AUTH_MODES, bK as ELEMENTS_AUTH_PROMPTS, bL as ELEMENT_TYPES, bM as ERROR_HINTS, bN as EVENT_TYPES, bO as ElementAppearance, bP as ElementEventHandler, bQ as ElementEventType, bR as ElementOptions, bS as ElementType, bT as ElementsAuthContactType, bU as ElementsAuthMode, bV as ElementsAuthOptions, bW as ElementsAuthPrompt, bX as ElementsCheckoutData, bY as ElementsCheckoutResult, bZ as ElementsCustomerInfo, b_ as ElementsOptions, b$ as EligiblePlansQuery, c0 as EnrollAndLinkOrderInput, c1 as EnrollAndLinkOrderResult, c2 as EnrollmentData, c3 as ErrorCode, c4 as ErrorCodeType, c5 as ErrorHint, c6 as FacetValue, c7 as FormattedPlanOption, c8 as GroupPricingBehavior, c9 as INPUT_FIELD_TYPE, ca as IdempotencyMismatchError, cb as IframeToParentMessage, cc as InitializePaymentResult, cd as InputFieldType, ce as InputFieldValidation, cf as InventoryType, cg as KnowledgeArticle, ch as LEGACY_CHECKOUT_PAYMENT_METHOD_ALIAS, ci as LEGACY_CHECKOUT_PAYMENT_STATUS, cj as LINK_MUTATION, ck as LINK_QUERY, cl as LineConfiguration, cm as LinkData, cn as LinkEnrollResult, co as LinkSession, cp as LinkStatusResult, cq as LocationProductPrice, cr as LocationValue, cs as MAX_PAYMENT_AUTHORIZATION_STEPS, ct as MESSAGE_TYPES, cu as MOBILE_MONEY_PROVIDER, cv as MOBILE_MONEY_TENDER_AUTHORITY_KIND, cw as MeasurementValue, cx as MintPurchaseIntentRequest, cy as MobileMoneyData, cz as MobileMoneyDetails, cA as MobileMoneyProvider, cB as MobileMoneyTenderPreference, cC as Money, cD as NativeAddOnSelection, cE as NextAction, cF as ORDER_MUTATION, cG as ORDER_TYPE, cH as OfferRef, cI as OrderType, cJ as PAYMENT_COLLECTION_MODE, cK as PAYMENT_INSTRUMENT_DISPLAY_KIND, cL as PAYMENT_METHOD, cM as PAYMENT_MUTATION, cN as PAYMENT_OPTION_NEXT_ACTION, cO as PAYMENT_OPTION_STATUS, cP as PAYMENT_STATE, cQ as PICKUP_TIME_TYPE, cR as PRODUCT_TYPE, cS as PURCHASE_INTENT_ACTION_DECISION, cT as PURCHASE_INTENT_CONFIRM_STATUS, cU as PURCHASE_INTENT_ERROR_CODE, cV as PURCHASE_INTENT_LINE_CONFIGURATION_KIND, cW as PURCHASE_INTENT_MOBILE_MONEY_NETWORK, cX as PURCHASE_INTENT_OFFER_KIND, cY as PURCHASE_INTENT_PAYMENT_METHOD, cZ as PURCHASE_INTENT_PAYMENT_PROVIDER, c_ as PURCHASE_INTENT_RESOLUTION_KIND, c$ as PURCHASE_INTENT_RESOLVE_STATUS, d0 as PURCHASE_INTENT_SELLABLE_KIND, d1 as PURCHASE_INTENT_SOURCE_KIND, d2 as PURCHASE_INTENT_STATUS, d3 as PURCHASING_PRINCIPAL_KIND, d4 as Pagination, d5 as PaginationParams, d6 as ParentToIframeMessage, d7 as Payment, d8 as PaymentAuthorizationKind, d9 as PaymentAuthorizationSubmission, da as PaymentCollectionMode, db as PaymentErrorDetails, dc as PaymentInstrumentDisplay, dd as PaymentMethod, de as PaymentMethodInfo, df as PaymentMethodType, dg as PaymentNextActionKind, dh as PaymentOptionStatus, di as PaymentProcessingState, dj as PaymentProvider, dk as PaymentProviderKind, dl as PaymentResponse, dm as PaymentStatus, dn as PaymentStatusResponse, dp as PhoneValue, dq as PickupTime, dr as PickupTimeType, ds as PreparePurchaseIntentRequest, dt as Price, du as PriceAdjustment, dv as PriceDecisionPath, dw as PriceEntryType, dx as PricePathTaxInfo, dy as PriceSource, dz as ProcessAndResolveOptions, dA as ProcessCheckoutOptions, dB as ProcessCheckoutResult, dC as ProductAddOn, dD as ProductAvailability, dE as ProductAvailabilityNow, dF as ProductBillingPlan, dG as ProductDealInfo, dH as ProductInputField, dI as ProductProperty, dJ as ProductRenderHint, dK as ProductTaxonomy, dL as ProductTimeProfile, dM as ProductType, dN as ProductVariant, dO as ProductVariantValue, dP as PropertyFacet, dQ as PropertySource, dR as PurchaseIntentActionResponse, dS as PurchaseIntentCustomerInput, dT as PurchaseIntentLineConfiguration, dU as PurchaseIntentLineInput, dV as PurchaseIntentLinePricingView, dW as PurchaseIntentLineView, dX as PurchaseIntentMobileMoneyNetwork, dY as PurchaseIntentResolution, dZ as PurchaseIntentReviewResponse, d_ as PurchaseIntentSimpleLineConfiguration, d$ as PurchaseIntentSourceInput, e0 as PurchaseIntentStatus, e1 as PurchaseIntentTenderPreference, e2 as PurchaseIntentTerminalResponse, e3 as PurchaseIntentView, e4 as PurchasingPrincipal, e5 as QuantityPricingTier, e6 as RENDER_HINT, e7 as RefreshCheckoutTermsRequest, e8 as RelatedProductView, e9 as RequestOtpInput, ea as RequestOtpResult, eb as RevokeAllSessionsResult, ec as RevokeSessionResult, ed as SaleCapInfo, S as SaleInfo, ee as SalesChannel, ef as SchedulingMode, eg as SelectedAddOnOption, eh as SellableKind, ei as SellableRef, ej as SemanticKind, ek as SignatureValue, el as SubmitAuthorizationInput, em as SubmitPurchaseIntentActionRequest, en as Subscription, eo as SubscriptionInvoice, ep as SubscriptionItem, eq as SubscriptionStatus, er as SubscriptionWithDetails, es as Tag, et as TagsResponse, eu as TaxPathComponent, ev as TaxonomyAttributeTemplate, ew as TaxonomyWithChildren, ex as UICart, ey as UICartBusiness, ez as UICartCustomer, eA as UICartLocation, eB as UICartPricing, eC as UnavailableLine, U as UpcomingSale, eD as UpdateAddressInput, eE as UpdateCartItemInput, eF as VariantAxis, eG as VariantAxisSelection, eH as VariantAxisValue, eI as VariantAxisValueView, eJ as VariantAxisView, eK as VariantAxisWithValues, eL as VariantDetails, eM as VariantDetailsDTO, eN as VariantDisplayAttribute, eO as VariantLocationAvailability, eP as VariantStrategy, eQ as VariantView, eR as VerifyOtpInput, eS as ZERO, eT as currencyCode, eU as enrichError, eV as getErrorHint, eW as isCimplifyError, eX as isIdempotencyMismatchError, eY as isQuoteConflictRequiringConsent, eZ as isQuoteError, e_ as isRetryableError, e$ as isSupportedCurrency, f0 as money, f1 as moneyFromNumber } from './checkout-BqK9XUz5.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 purchaseIntentMobileMoneyNetwork, J as resolvePhoneCountryCode } from './index-B0AdZvrM.mjs';
7
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';
8
- export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-BvePgDXe.mjs';
9
- export { generateIdempotencyKey } from './advanced.mjs';
8
+ export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-BUDv1rI7.mjs';
10
9
  import 'libphonenumber-js';
11
10
 
12
11
  interface PaystackPopupOptions {
@@ -26,11 +25,13 @@ type PaystackPopup = (options: PaystackPopupOptions, signal?: AbortSignal) => Pr
26
25
  /** Built-in adapter for Paystack Inline. */
27
26
  declare class PaystackAuthorizationAdapter implements PaymentAuthorizationAdapter {
28
27
  private readonly openPopup;
29
- readonly provider = "paystack";
28
+ readonly provider: "paystack";
30
29
  constructor(openPopup?: PaystackPopup);
31
30
  authorize(context: PaymentAuthorizationContext): Promise<PaymentAuthorizationOutcome>;
32
31
  }
33
32
 
33
+ declare const STRIPE_REDIRECT_MODE: "if_required";
34
+ declare const STRIPE_PAYMENT_ELEMENT_TYPE: "payment";
34
35
  interface StripeErrorLike {
35
36
  type?: string;
36
37
  code?: string;
@@ -49,7 +50,7 @@ interface StripePaymentElementLike {
49
50
  }) => void) => void;
50
51
  }
51
52
  interface StripeElementsLike {
52
- create(type: "payment", options?: Record<string, unknown>): StripePaymentElementLike;
53
+ create(type: typeof STRIPE_PAYMENT_ELEMENT_TYPE, options?: Record<string, unknown>): StripePaymentElementLike;
53
54
  submit?: () => Promise<{
54
55
  error?: StripeErrorLike;
55
56
  }>;
@@ -63,25 +64,43 @@ interface StripeLike {
63
64
  confirmParams: {
64
65
  return_url: string;
65
66
  };
66
- redirect: "if_required";
67
+ redirect: typeof STRIPE_REDIRECT_MODE;
67
68
  }): Promise<{
68
69
  error?: StripeErrorLike;
69
70
  paymentIntent?: StripePaymentIntentLike;
70
71
  }>;
71
72
  }
72
- type StripeLoader = (publicKey: string) => Promise<StripeLike | null>;
73
+ type StripeLoader = (publicKey: string, options?: {
74
+ stripeAccount?: string;
75
+ }) => Promise<StripeLike | null>;
73
76
  /**
74
77
  * Stripe card adapter backed by the Payment Element. It reports only that the
75
- * provider interaction was submitted; CheckoutResolver still polls Cimplify
78
+ * provider interaction was submitted; PurchaseIntentResolver still polls Cimplify
76
79
  * before returning checkout success.
77
80
  */
78
81
  declare class StripeAuthorizationAdapter implements PaymentAuthorizationAdapter {
79
82
  private readonly loadStripe;
80
- readonly provider = "stripe";
83
+ readonly provider: "stripe";
81
84
  constructor(loadStripe?: StripeLoader);
82
85
  authorize(context: PaymentAuthorizationContext): Promise<PaymentAuthorizationOutcome>;
83
86
  }
84
87
 
88
+ interface PurchaseIntentPaymentSelection {
89
+ method_kind: CheckoutPaymentMethodKind;
90
+ /** Select one exact server-issued option when the terms contain several. */
91
+ payment_option_id?: string;
92
+ }
93
+ /**
94
+ * Select an eligible option without coupling a purchase intent to any UI's
95
+ * legacy form shape. Ranking remains server-owned; callers only state tender
96
+ * and, optionally, the exact saved instrument the shopper selected.
97
+ */
98
+ declare function selectPurchaseIntentPaymentOption(terms: CheckoutTermsView, selection: PurchaseIntentPaymentSelection): PaymentOptionView | undefined;
99
+ /** Freeze explicit consent to the exact terms and option rendered by the UI. */
100
+ declare function createPurchaseIntentConfirmation(terms: CheckoutTermsView, paymentOption: PaymentOptionView | null | undefined, idempotencyKey: string): ConfirmPurchaseIntentRequest;
101
+ /** True when confirmation must name one server-issued collection option. */
102
+ declare function purchaseIntentRequiresPaymentOption(terms: CheckoutTermsView): boolean;
103
+
85
104
  interface GalleryImage {
86
105
  url: string;
87
106
  /** null = product-level image; otherwise the variant it belongs to. */
@@ -247,4 +266,4 @@ interface AssetUrlOptions extends AssetTransform {
247
266
  declare function assetUrl(path: string, opts?: AssetUrlOptions): string;
248
267
  declare function isCimplifyAsset(src: string, base?: string): boolean;
249
268
 
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 };
269
+ export { ApiError, type ApiResponse, type AssetTransform, type AssetUrlOptions, CIMPLIFY_CDN_HOSTS, ChatReplyCard, CheckoutPaymentMethodKind, CheckoutTermsView, ConfirmPurchaseIntentRequest, type CustomerGroup, type CustomerPricingInfo, DEFAULT_CDN_BASE_URL, DurationUnit, type FrontendContext, type GalleryImage, type MutationRequest, PaymentAuthorizationAdapter, PaymentAuthorizationContext, PaymentAuthorizationOutcome, PaymentOptionView, PaystackAuthorizationAdapter, type PaystackPopup, type PaystackPopupOptions, type PaystackPopupResult, type PriceListItem, Product, ProductWithDetails, type PurchaseIntentPaymentSelection, type QuantityBreak, type QueryRequest, type ResolvedQuantityBreak, type ResponseMetadata, type SilentSignInOptions, type SilentSignInResult, StripeAuthorizationAdapter, type StripeLike, type StripeLoader, TaxPriceDisplayMode, allGalleryImages, assetUrl, chatMessageCards, createPurchaseIntentConfirmation, displaysGrossPrices, isCimplifyAsset, isMultiDayService, priceBasisLabel, purchaseIntentRequiresPaymentOption, resolveGallery, selectPurchaseIntentPaymentOption, serviceBillingMultiplier, signInSilent, stayLength, stayPeriods };
package/dist/index.d.ts CHANGED
@@ -1,12 +1,11 @@
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';
1
+ import { P as PaymentAuthorizationAdapter, c as PaymentAuthorizationContext, d as PaymentAuthorizationOutcome, e as ChatReplyCard } from './catalogue-C8TqOj9K.js';
2
+ export { A as ActivityRecommendation, f as ActivityRecommendationsResponse, g as ActivityService, h as ActivityStateResponse, i as AmountToPay, j as AuthService, k as AuthStatus, l as AuthorizeCardPopupOptions, m as AutocompletePrediction, n as AutocompleteResponse, o as AvailabilityResult, p as AvailableSlot, B as Booking, q as BookingModificationType, r as BookingStatus, s as BookingWithDetails, t as BufferTimes, u as Business, v as BusinessDetailsDTO, w as BusinessHours, x as BusinessPreferences, y as BusinessService, z as BusinessSettings, D as BusinessWithLocations, a as CacheOptions, E as CancelBookingInput, F as CancelBookingResult, G as CancelOrderInput, H as CancellationPolicy, I as CardPopupAction, J as CartOperations, K as CatalogueQueries, L as CatalogueResult, M as CatalogueSnapshot, N as CategoryInfo, O as ChatAttachment, Q as ChatConversation, S as ChatConversationResponse, T as ChatMessage, U as ChatReplyContext, V as ChatUploadAttachment, W as ChatWidgetStarter, X as CheckSlotAvailabilityInput, Y as CheckSlotAvailabilityResult, Z as CheckoutInput, _ as CheckoutOperations, _ as CheckoutService, C as CimplifyClient, $ as CimplifyConfig, a0 as CimplifyElement, a1 as CimplifyElements, a2 as ClaimConversationResult, a3 as ClaimExternalChatsResult, a4 as ContentType, a5 as CustomerBooking, a6 as CustomerBookingServiceItem, a7 as CustomerServicePreferences, a8 as DayAvailability, a9 as DeliveryFeeDetails, aa as DeliveryFeeResponse, ab as DeliveryFeeStatus, ac as DeliveryOption, ad as DeliveryOptionsQuery, ae as DeliveryOptionsResponse, af as DeliveryService, ag as DepositResult, ah as DismissMessageResponse, ai as EnrichedOrder, aj as EnrichedOrderItem, ak as Err, al as ExternalChatClaimAttempt, am as ExternalChatClaimDisposition, an as FeeBearerType, ao as FetchQuoteInput, ap as FulfillmentLink, aq as FulfillmentStatus, ar as FulfillmentSummaryDTO, as as FulfillmentType, at as FxQuote, au as FxQuoteRequest, av as FxQuoteStatus, aw as FxRateResponse, ax as FxService, ay as GetAvailableSlotsInput, az as GetDeliveryOptionsParams, aA as GetOrdersOptions, aB as GetProductsOptions, aC as GroupOrderInfo, aD as HostedPurchaseIntentService, aE as InventoryService, aF as LifecyclePhase, aG as LineItem, aH as LineType, aI as LinkService, aJ as LiteBootstrap, aK as LiteDayHours, aL as LiteHoursRange, aM as LiteService, aN as Location, aO as LocationBooking, aP as LocationTaxBehavior, aQ as LocationTaxOverrides, aR as LocationTimeProfile, aS as LocationWithDetails, aT as ObservabilityHooks, aU as Ok, aV as Order, aW as OrderCustomerInfo, aX as OrderDiscountInfo, aY as OrderFilter, aZ as OrderFulfillmentSummary, a_ as OrderGroup, a$ as OrderGroupDetails, b0 as OrderGroupPayment, b1 as OrderGroupPaymentState, b2 as OrderGroupPaymentStatus, b3 as OrderGroupPaymentSummary, b4 as OrderGroupStatus, b5 as OrderHistory, b6 as OrderLineState, b7 as OrderLineStatus, b8 as OrderLocationInfo, b9 as OrderPaymentEvent, ba as OrderPricingView, bb as OrderQueries, bc as OrderSplitDetail, bd as OrderStaffInfo, be as OrderStatus, bf as OrderTimestampsDTO, bg as Origin, bh as OriginActor, bi as OriginChannel, bj as OtpResult, bk as PAYMENT_AUTHORIZATION_OUTCOME_STATUS, bl as PAYMENT_AUTHORIZATION_PROVIDER, bm as PURCHASE_INTENT_ROUTE, bn as PaymentAuthorizationAdapterRegistry, bo as PaymentInfoDTO, bp as PaymentState, bq as PlaceDetailsResponse, br as PlacesService, bs as PriceQuote, bt as PricingOverrides, bu as ProviderResolutionSource, bv as PurchaseIntentActionDecision, bw as PurchaseIntentRequestOptions, bx as PurchaseIntentResolveOptions, by as PurchaseIntentResolveStatus, bz as PurchaseIntentResolver, bA as PurchaseIntentService, bB as PurchaseIntentTransport, bC as QuoteBundleSelectionInput, bD as QuoteCompositeSelectionInput, bE as QuoteDynamicBuckets, bF as QuoteStatus, bG as QuoteUiMessage, R as ReadRequestOptions, bH as RefreshQuoteInput, bI as RefreshQuoteResult, bJ as RefundOrderInput, bK as RelatedCandidate, bL as RelatedProduct, bM as RelatedProductsEnrichment, bN as RelationType, bO as ReminderMethod, bP as ReminderSettings, bQ as ReorderResult, bR as RequestContext, bS as RequestErrorEvent, bT as RequestOptions, bU as RequestRetryPolicy, bV as RequestSource, bW as RequestStartEvent, bX as RequestSuccessEvent, bY as RescheduleBookingInput, bZ as RescheduleBookingResult, b_ as RescheduleHistoryRecord, b$ as ResourceAssignment, c0 as ResourceInfo, b as Result, c1 as RetryEvent, c2 as Room, c3 as SESSION_CHANGE_SOURCE, c4 as SchedulingMetadata, c5 as SchedulingResult, c6 as SchedulingService, c7 as SenderType, c8 as Service, c9 as ServiceAvailabilityParams, ca as ServiceAvailabilityResult, cb as ServiceCharge, cc as ServiceNotes, cd as ServiceScheduleRequest, ce as ServiceStatus, cf as SessionActivityData, cg as SessionChangeEvent, ch as SessionChangeSource, ci as SessionMessage, cj as SlotResourceInfo, ck as SlotStaffInfo, cl as Staff, cm as StaffAssignment, cn as StaffRole, co as StaffScheduleItem, cp as StockLevel, cq as StockStatus, cr as StoreCreditBalance, cs as StoreCreditQueries, ct as StorefrontBootstrap, cu as SubscriptionService, cv as SupportService, cw as Table, cx as TimeRange, cy as TimeRanges, cz as TimeSlot, cA as TrackCategoryViewOptions, cB as TrackProductViewOptions, cC as UpdateOrderStatusInput, cD as UpdateProfileInput, cE as UploadInitResponse, cF as UploadResult, cG as UploadService, cH as combine, cI as combineObject, cJ as createCimplifyClient, cK as createDefaultPaymentAuthorizationAdapterRegistry, cL as createElements, cM as err, cN as flatMap, cO as fromPromise, cP as getOrElse, cQ as isErr, cR as isOk, cS as mapError, cT as mapResult, cU as ok, cV as toNullable, cW as tryCatch, cX as unwrap } from './catalogue-C8TqOj9K.js';
3
+ export { c as clearPurchaseIntentIdempotencyKey, g as generateIdempotencyKey, i as purchaseIntentIdempotencyKey } from './index-DPWI5XcU.js';
4
+ import { f as CheckoutPaymentMethodKind, g as CheckoutTermsView, h as PaymentOptionView, i as ConfirmPurchaseIntentRequest, e as ProductWithDetails, T as TaxPriceDisplayMode, P as Product, D as DurationUnit, A as ApiError } from './checkout-BqK9XUz5.js';
5
+ export { j as AUTHORIZATION_TYPE, k as AUTH_MUTATION, l as AbortablePromise, m as AddOn, n as AddOnDetails, o as AddOnGroupDetails, p as AddOnOption, q as AddOnOptionDetails, r as AddOnOptionPrice, s as AddOnWithOptions, t as AddToCartInput, u as AddressAuthorizationData, v as AddressData, w as AddressInfo, x as AddressValue, y as AdjustmentType, z as AppliedDiscount, B as AttributeAppliesTo, E as AttributeType, F as AttributeValidationRules, G as AttributeVisibility, H as AuthResponse, I as AuthenticatedCustomer, J as AuthenticatedData, K as AuthorizationType, L as BOUNDARY_KIND, M as BenefitType, N as BillingFrequency, O as BillingMarkupType, Q as BillingPlanType, R as BoundaryKind, V as Bundle, W as BundleComponentData, X as BundleComponentInfo, Y as BundleComponentVariantView, Z as BundleComponentView, _ as BundlePriceType, $ as BundleProduct, a0 as BundleSelectionData, a1 as BundleSelectionInput, a2 as BundleStoredSelection, a3 as BundleSummary, a4 as BundleWithDetails, a5 as CHECKOUT_COMPLIANCE_LANE, a6 as CHECKOUT_COMPLIANCE_REASON, a7 as CHECKOUT_INVALIDATION_REASON, a8 as CHECKOUT_MATERIAL_TERMS_COMPONENT, a9 as CHECKOUT_MODE, aa as CHECKOUT_MUTATION, ab as CHECKOUT_NEXT_ACTION, ac as CHECKOUT_ORDER_RESULT_STATUS, ad as CHECKOUT_STATUS, ae as CHECKOUT_STEP, af as CHECKOUT_TERMS_COMPONENT, ag as CHECKOUT_TERMS_DELTA_KIND, ah as CONTACT_TYPE, ai as CanonicalSourceAuthority, aj as Cart, ak as CartAddOn, al as CartChannel, am as CartIntentCheckoutInput, an as CartItem, ao as CartItemDetails, ap as CartMutationResult, aq as CartNotice, ar as CartStatus, as as CartSummary, at as CartTotals, b as Category, au as CategorySummary, av as CheckoutAddressInfo, aw as CheckoutCartData, ax as CheckoutCartItem, ay as CheckoutCollectionMethod, az as CheckoutCollectionOption, aA as CheckoutCollectionOptions, aB as CheckoutComplianceDecision, aC as CheckoutComplianceLane, aD as CheckoutComplianceReasonCode, aE as CheckoutCustomerInfo, aF as CheckoutDestinationInput, aG as CheckoutFormData, aH as CheckoutInvalidationReason, aI as CheckoutMaterialTerms, aJ as CheckoutMaterialTermsComponent, aK as CheckoutMode, aL as CheckoutMoneyComponents, aM as CheckoutOfferKind, aN as CheckoutOrderType, aO as CheckoutPaymentMethod, aP as CheckoutResult, aQ as CheckoutSourceKind, aR as CheckoutStatus, aS as CheckoutStatusContext, aT as CheckoutStep, aU as CheckoutTermsComponent, aV as CheckoutTermsDelta, a as ChosenPrice, c as CimplifyError, d as Collection, aW as CollectionProduct, aX as CollectionSummary, aY as ComponentGroup, aZ as ComponentGroupWithComponents, a_ as ComponentPriceBreakdown, a$ as ComponentSchedulingData, b0 as ComponentSelectionInput, b1 as ComponentSourceType, b2 as Composite, b3 as CompositeComponent, b4 as CompositeComponentView, b5 as CompositeGroupView, b6 as CompositePriceBreakdown, b7 as CompositePriceResult, b8 as CompositePricingMode, b9 as CompositeSelectionData, b0 as CompositeSelectionInput, ba as CompositeStoredSelection, bb as CompositeWithDetails, bc as ConfirmPurchaseIntentResponse, bd as ContactType, be as CreateAddressInput, bf as CreateMobileMoneyInput, C as CurrencyCode, bg as CustomAttributeDefinition, bh as CustomAttributeValue, bi as Customer, bj as CustomerAddress, bk as CustomerInputValue, bl as CustomerLinkPreferences, bm as CustomerMobileMoney, bn as DEFAULT_COUNTRY, bo as DEFAULT_CURRENCY, bp as DEVICE_TYPE, bq as DURATION_UNIT, br as DateRangeValue, bs as Deal, bt as DealBenefitType, bu as DepositType, bv as DestinationQuote, bw as DestinationQuoteAddress, bx as DestinationQuoteInput, by as DeviceType, bz as DigitalProductType, bA as DiscountBreakdown, bB as DiscountDetails, bC as DiscountValidation, bD as DisplayAddOn, bE as DisplayAddOnOption, bF as DisplayCart, bG as DisplayCartItem, bH as DisplayMode, bI as ELEMENTS_AUTH_CONTACT_TYPES, bJ as ELEMENTS_AUTH_MODES, bK as ELEMENTS_AUTH_PROMPTS, bL as ELEMENT_TYPES, bM as ERROR_HINTS, bN as EVENT_TYPES, bO as ElementAppearance, bP as ElementEventHandler, bQ as ElementEventType, bR as ElementOptions, bS as ElementType, bT as ElementsAuthContactType, bU as ElementsAuthMode, bV as ElementsAuthOptions, bW as ElementsAuthPrompt, bX as ElementsCheckoutData, bY as ElementsCheckoutResult, bZ as ElementsCustomerInfo, b_ as ElementsOptions, b$ as EligiblePlansQuery, c0 as EnrollAndLinkOrderInput, c1 as EnrollAndLinkOrderResult, c2 as EnrollmentData, c3 as ErrorCode, c4 as ErrorCodeType, c5 as ErrorHint, c6 as FacetValue, c7 as FormattedPlanOption, c8 as GroupPricingBehavior, c9 as INPUT_FIELD_TYPE, ca as IdempotencyMismatchError, cb as IframeToParentMessage, cc as InitializePaymentResult, cd as InputFieldType, ce as InputFieldValidation, cf as InventoryType, cg as KnowledgeArticle, ch as LEGACY_CHECKOUT_PAYMENT_METHOD_ALIAS, ci as LEGACY_CHECKOUT_PAYMENT_STATUS, cj as LINK_MUTATION, ck as LINK_QUERY, cl as LineConfiguration, cm as LinkData, cn as LinkEnrollResult, co as LinkSession, cp as LinkStatusResult, cq as LocationProductPrice, cr as LocationValue, cs as MAX_PAYMENT_AUTHORIZATION_STEPS, ct as MESSAGE_TYPES, cu as MOBILE_MONEY_PROVIDER, cv as MOBILE_MONEY_TENDER_AUTHORITY_KIND, cw as MeasurementValue, cx as MintPurchaseIntentRequest, cy as MobileMoneyData, cz as MobileMoneyDetails, cA as MobileMoneyProvider, cB as MobileMoneyTenderPreference, cC as Money, cD as NativeAddOnSelection, cE as NextAction, cF as ORDER_MUTATION, cG as ORDER_TYPE, cH as OfferRef, cI as OrderType, cJ as PAYMENT_COLLECTION_MODE, cK as PAYMENT_INSTRUMENT_DISPLAY_KIND, cL as PAYMENT_METHOD, cM as PAYMENT_MUTATION, cN as PAYMENT_OPTION_NEXT_ACTION, cO as PAYMENT_OPTION_STATUS, cP as PAYMENT_STATE, cQ as PICKUP_TIME_TYPE, cR as PRODUCT_TYPE, cS as PURCHASE_INTENT_ACTION_DECISION, cT as PURCHASE_INTENT_CONFIRM_STATUS, cU as PURCHASE_INTENT_ERROR_CODE, cV as PURCHASE_INTENT_LINE_CONFIGURATION_KIND, cW as PURCHASE_INTENT_MOBILE_MONEY_NETWORK, cX as PURCHASE_INTENT_OFFER_KIND, cY as PURCHASE_INTENT_PAYMENT_METHOD, cZ as PURCHASE_INTENT_PAYMENT_PROVIDER, c_ as PURCHASE_INTENT_RESOLUTION_KIND, c$ as PURCHASE_INTENT_RESOLVE_STATUS, d0 as PURCHASE_INTENT_SELLABLE_KIND, d1 as PURCHASE_INTENT_SOURCE_KIND, d2 as PURCHASE_INTENT_STATUS, d3 as PURCHASING_PRINCIPAL_KIND, d4 as Pagination, d5 as PaginationParams, d6 as ParentToIframeMessage, d7 as Payment, d8 as PaymentAuthorizationKind, d9 as PaymentAuthorizationSubmission, da as PaymentCollectionMode, db as PaymentErrorDetails, dc as PaymentInstrumentDisplay, dd as PaymentMethod, de as PaymentMethodInfo, df as PaymentMethodType, dg as PaymentNextActionKind, dh as PaymentOptionStatus, di as PaymentProcessingState, dj as PaymentProvider, dk as PaymentProviderKind, dl as PaymentResponse, dm as PaymentStatus, dn as PaymentStatusResponse, dp as PhoneValue, dq as PickupTime, dr as PickupTimeType, ds as PreparePurchaseIntentRequest, dt as Price, du as PriceAdjustment, dv as PriceDecisionPath, dw as PriceEntryType, dx as PricePathTaxInfo, dy as PriceSource, dz as ProcessAndResolveOptions, dA as ProcessCheckoutOptions, dB as ProcessCheckoutResult, dC as ProductAddOn, dD as ProductAvailability, dE as ProductAvailabilityNow, dF as ProductBillingPlan, dG as ProductDealInfo, dH as ProductInputField, dI as ProductProperty, dJ as ProductRenderHint, dK as ProductTaxonomy, dL as ProductTimeProfile, dM as ProductType, dN as ProductVariant, dO as ProductVariantValue, dP as PropertyFacet, dQ as PropertySource, dR as PurchaseIntentActionResponse, dS as PurchaseIntentCustomerInput, dT as PurchaseIntentLineConfiguration, dU as PurchaseIntentLineInput, dV as PurchaseIntentLinePricingView, dW as PurchaseIntentLineView, dX as PurchaseIntentMobileMoneyNetwork, dY as PurchaseIntentResolution, dZ as PurchaseIntentReviewResponse, d_ as PurchaseIntentSimpleLineConfiguration, d$ as PurchaseIntentSourceInput, e0 as PurchaseIntentStatus, e1 as PurchaseIntentTenderPreference, e2 as PurchaseIntentTerminalResponse, e3 as PurchaseIntentView, e4 as PurchasingPrincipal, e5 as QuantityPricingTier, e6 as RENDER_HINT, e7 as RefreshCheckoutTermsRequest, e8 as RelatedProductView, e9 as RequestOtpInput, ea as RequestOtpResult, eb as RevokeAllSessionsResult, ec as RevokeSessionResult, ed as SaleCapInfo, S as SaleInfo, ee as SalesChannel, ef as SchedulingMode, eg as SelectedAddOnOption, eh as SellableKind, ei as SellableRef, ej as SemanticKind, ek as SignatureValue, el as SubmitAuthorizationInput, em as SubmitPurchaseIntentActionRequest, en as Subscription, eo as SubscriptionInvoice, ep as SubscriptionItem, eq as SubscriptionStatus, er as SubscriptionWithDetails, es as Tag, et as TagsResponse, eu as TaxPathComponent, ev as TaxonomyAttributeTemplate, ew as TaxonomyWithChildren, ex as UICart, ey as UICartBusiness, ez as UICartCustomer, eA as UICartLocation, eB as UICartPricing, eC as UnavailableLine, U as UpcomingSale, eD as UpdateAddressInput, eE as UpdateCartItemInput, eF as VariantAxis, eG as VariantAxisSelection, eH as VariantAxisValue, eI as VariantAxisValueView, eJ as VariantAxisView, eK as VariantAxisWithValues, eL as VariantDetails, eM as VariantDetailsDTO, eN as VariantDisplayAttribute, eO as VariantLocationAvailability, eP as VariantStrategy, eQ as VariantView, eR as VerifyOtpInput, eS as ZERO, eT as currencyCode, eU as enrichError, eV as getErrorHint, eW as isCimplifyError, eX as isIdempotencyMismatchError, eY as isQuoteConflictRequiringConsent, eZ as isQuoteError, e_ as isRetryableError, e$ as isSupportedCurrency, f0 as money, f1 as moneyFromNumber } from './checkout-BqK9XUz5.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 purchaseIntentMobileMoneyNetwork, J as resolvePhoneCountryCode } from './index-CK8Nk5uQ.js';
7
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';
8
- export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-C2RqscMY.js';
9
- export { generateIdempotencyKey } from './advanced.js';
8
+ export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-6hQIIac9.js';
10
9
  import 'libphonenumber-js';
11
10
 
12
11
  interface PaystackPopupOptions {
@@ -26,11 +25,13 @@ type PaystackPopup = (options: PaystackPopupOptions, signal?: AbortSignal) => Pr
26
25
  /** Built-in adapter for Paystack Inline. */
27
26
  declare class PaystackAuthorizationAdapter implements PaymentAuthorizationAdapter {
28
27
  private readonly openPopup;
29
- readonly provider = "paystack";
28
+ readonly provider: "paystack";
30
29
  constructor(openPopup?: PaystackPopup);
31
30
  authorize(context: PaymentAuthorizationContext): Promise<PaymentAuthorizationOutcome>;
32
31
  }
33
32
 
33
+ declare const STRIPE_REDIRECT_MODE: "if_required";
34
+ declare const STRIPE_PAYMENT_ELEMENT_TYPE: "payment";
34
35
  interface StripeErrorLike {
35
36
  type?: string;
36
37
  code?: string;
@@ -49,7 +50,7 @@ interface StripePaymentElementLike {
49
50
  }) => void) => void;
50
51
  }
51
52
  interface StripeElementsLike {
52
- create(type: "payment", options?: Record<string, unknown>): StripePaymentElementLike;
53
+ create(type: typeof STRIPE_PAYMENT_ELEMENT_TYPE, options?: Record<string, unknown>): StripePaymentElementLike;
53
54
  submit?: () => Promise<{
54
55
  error?: StripeErrorLike;
55
56
  }>;
@@ -63,25 +64,43 @@ interface StripeLike {
63
64
  confirmParams: {
64
65
  return_url: string;
65
66
  };
66
- redirect: "if_required";
67
+ redirect: typeof STRIPE_REDIRECT_MODE;
67
68
  }): Promise<{
68
69
  error?: StripeErrorLike;
69
70
  paymentIntent?: StripePaymentIntentLike;
70
71
  }>;
71
72
  }
72
- type StripeLoader = (publicKey: string) => Promise<StripeLike | null>;
73
+ type StripeLoader = (publicKey: string, options?: {
74
+ stripeAccount?: string;
75
+ }) => Promise<StripeLike | null>;
73
76
  /**
74
77
  * Stripe card adapter backed by the Payment Element. It reports only that the
75
- * provider interaction was submitted; CheckoutResolver still polls Cimplify
78
+ * provider interaction was submitted; PurchaseIntentResolver still polls Cimplify
76
79
  * before returning checkout success.
77
80
  */
78
81
  declare class StripeAuthorizationAdapter implements PaymentAuthorizationAdapter {
79
82
  private readonly loadStripe;
80
- readonly provider = "stripe";
83
+ readonly provider: "stripe";
81
84
  constructor(loadStripe?: StripeLoader);
82
85
  authorize(context: PaymentAuthorizationContext): Promise<PaymentAuthorizationOutcome>;
83
86
  }
84
87
 
88
+ interface PurchaseIntentPaymentSelection {
89
+ method_kind: CheckoutPaymentMethodKind;
90
+ /** Select one exact server-issued option when the terms contain several. */
91
+ payment_option_id?: string;
92
+ }
93
+ /**
94
+ * Select an eligible option without coupling a purchase intent to any UI's
95
+ * legacy form shape. Ranking remains server-owned; callers only state tender
96
+ * and, optionally, the exact saved instrument the shopper selected.
97
+ */
98
+ declare function selectPurchaseIntentPaymentOption(terms: CheckoutTermsView, selection: PurchaseIntentPaymentSelection): PaymentOptionView | undefined;
99
+ /** Freeze explicit consent to the exact terms and option rendered by the UI. */
100
+ declare function createPurchaseIntentConfirmation(terms: CheckoutTermsView, paymentOption: PaymentOptionView | null | undefined, idempotencyKey: string): ConfirmPurchaseIntentRequest;
101
+ /** True when confirmation must name one server-issued collection option. */
102
+ declare function purchaseIntentRequiresPaymentOption(terms: CheckoutTermsView): boolean;
103
+
85
104
  interface GalleryImage {
86
105
  url: string;
87
106
  /** null = product-level image; otherwise the variant it belongs to. */
@@ -247,4 +266,4 @@ interface AssetUrlOptions extends AssetTransform {
247
266
  declare function assetUrl(path: string, opts?: AssetUrlOptions): string;
248
267
  declare function isCimplifyAsset(src: string, base?: string): boolean;
249
268
 
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 };
269
+ export { ApiError, type ApiResponse, type AssetTransform, type AssetUrlOptions, CIMPLIFY_CDN_HOSTS, ChatReplyCard, CheckoutPaymentMethodKind, CheckoutTermsView, ConfirmPurchaseIntentRequest, type CustomerGroup, type CustomerPricingInfo, DEFAULT_CDN_BASE_URL, DurationUnit, type FrontendContext, type GalleryImage, type MutationRequest, PaymentAuthorizationAdapter, PaymentAuthorizationContext, PaymentAuthorizationOutcome, PaymentOptionView, PaystackAuthorizationAdapter, type PaystackPopup, type PaystackPopupOptions, type PaystackPopupResult, type PriceListItem, Product, ProductWithDetails, type PurchaseIntentPaymentSelection, type QuantityBreak, type QueryRequest, type ResolvedQuantityBreak, type ResponseMetadata, type SilentSignInOptions, type SilentSignInResult, StripeAuthorizationAdapter, type StripeLike, type StripeLoader, TaxPriceDisplayMode, allGalleryImages, assetUrl, chatMessageCards, createPurchaseIntentConfirmation, displaysGrossPrices, isCimplifyAsset, isMultiDayService, priceBasisLabel, purchaseIntentRequiresPaymentOption, resolveGallery, selectPurchaseIntentPaymentOption, serviceBillingMultiplier, signInSilent, stayLength, stayPeriods };