@cimplify/sdk 0.104.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 (71) 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-BuLcOWLv.d.ts → catalogue-BlQ85Uma.d.mts} +415 -763
  6. package/dist/{client-D5AoobFc.d.mts → catalogue-C8TqOj9K.d.ts} +415 -763
  7. package/dist/{payment-g0HFkEDU.d.mts → checkout-BqK9XUz5.d.mts} +3824 -1446
  8. package/dist/{payment-g0HFkEDU.d.ts → checkout-BqK9XUz5.d.ts} +3824 -1446
  9. package/dist/{chunk-GOHSXBKW.mjs → chunk-33VCYWVL.mjs} +25 -1
  10. package/dist/{chunk-2WPVUIHX.mjs → chunk-6G3ANKQA.mjs} +1030 -360
  11. package/dist/{chunk-E4K2VQDD.js → chunk-BWEIMKLF.js} +541 -16
  12. package/dist/{chunk-IQFFSKE2.js → chunk-DQEXY542.js} +1345 -746
  13. package/dist/{chunk-CNN7Z2IP.js → chunk-EV2EVOYS.js} +27 -0
  14. package/dist/{chunk-YVAEY3VC.js → chunk-HYFA67A7.js} +1034 -364
  15. package/dist/{chunk-5RT4HYMP.mjs → chunk-L5SNEU2O.mjs} +524 -15
  16. package/dist/{chunk-4BKOKHE3.js → chunk-RBNBSQI7.mjs} +217 -19
  17. package/dist/{chunk-H3RATH4B.mjs → chunk-SFUJMS5E.js} +261 -2
  18. package/dist/{chunk-DYIAX3WI.mjs → chunk-U54CWUUT.mjs} +11 -2
  19. package/dist/{chunk-OKADBZAI.mjs → chunk-UFOWPN3D.mjs} +808 -574
  20. package/dist/{chunk-OCCNG6MO.mjs → chunk-V4457OKB.mjs} +1310 -722
  21. package/dist/{chunk-5BDYDZ4U.js → chunk-WXREIBFW.js} +892 -657
  22. package/dist/{chunk-7PDEX54K.js → chunk-XAUSDMMZ.js} +13 -3
  23. package/dist/{client-BVNWjk6W.d.ts → client-DhXeiUrf.d.ts} +2 -2
  24. package/dist/{client-fM716k7G.d.mts → client-mXiUrV4X.d.mts} +2 -2
  25. package/dist/{index-BtcoqrY1.d.ts → index-B0AdZvrM.d.mts} +9 -4
  26. package/dist/{index-D7Tf3v7c.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 +31 -14
  30. package/dist/index.d.ts +31 -14
  31. package/dist/index.js +305 -133
  32. package/dist/index.mjs +6 -6
  33. package/dist/mock/cli.mjs +1442 -386
  34. package/dist/mock/library.js +1168 -352
  35. package/dist/mock/library.mjs +1168 -352
  36. package/dist/mock/msw.js +1168 -352
  37. package/dist/mock/msw.mjs +1168 -352
  38. package/dist/{price-BLIeAb8K.d.ts → price-6hQIIac9.d.ts} +1 -1
  39. package/dist/{price-Czq_cTC_.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 +227 -197
  43. package/dist/react.mjs +90 -60
  44. package/dist/{server-DKK_D-PP.d.ts → server-DJ0mSs9i.d.mts} +31 -57
  45. package/dist/{server-BkVhOIwn.d.mts → server-DSTX76Ki.d.ts} +31 -57
  46. package/dist/server.d.mts +3 -4
  47. package/dist/server.d.ts +3 -4
  48. package/dist/server.js +11 -11
  49. package/dist/server.mjs +5 -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 +2177 -14
  60. package/dist/testing.d.ts +2177 -14
  61. package/dist/testing.js +167 -89
  62. package/dist/testing.mjs +24 -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/order-history.json +1 -1
  69. package/registry/order-summary.json +1 -1
  70. package/dist/link-D9iSVxt5.d.mts +0 -308
  71. package/dist/link-D9iSVxt5.d.ts +0 -308
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk4BKOKHE3_js = require('./chunk-4BKOKHE3.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: chunk4BKOKHE3_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" ? chunk4BKOKHE3_js.money(res.amount) : typeof res.amount === "number" && Number.isFinite(res.amount) ? chunk4BKOKHE3_js.moneyFromNumber(res.amount) : chunk4BKOKHE3_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-BuLcOWLv.js';
2
- import { A as AppHandle, C as CreateAppOptions } from './server-DKK_D-PP.js';
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-D5AoobFc.mjs';
2
- import { A as AppHandle, C as CreateAppOptions } from './server-BkVhOIwn.mjs';
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-g0HFkEDU.js';
2
- import { P as ProductWithPrice } from './price-BLIeAb8K.js';
3
- import { z as MobileMoneyProvider } from './link-D9iSVxt5.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-g0HFkEDU.mjs';
2
- import { P as ProductWithPrice } from './price-Czq_cTC_.mjs';
3
- import { z as MobileMoneyProvider } from './link-D9iSVxt5.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 { bV as PaymentAuthorizationAdapter, bX as PaymentAuthorizationContext, bY as PaymentAuthorizationOutcome, R as ChatReplyCard } from './client-D5AoobFc.mjs';
2
- export { A as AbortablePromise, a as ActivityRecommendation, b as ActivityRecommendationsResponse, c as ActivityService, d as ActivityStateResponse, e as AddressInfo, f as AmountToPay, g as AuthService, h as AuthStatus, i as AuthenticatedCustomer, j as AuthenticatedData, k as AuthorizeCardPopupOptions, l as AutocompletePrediction, m as AutocompleteResponse, n as AvailabilityResult, o as AvailableSlot, B as Booking, p as BookingModificationType, q as BookingStatus, r as BookingWithDetails, s as BufferTimes, t as Business, u as BusinessDetailsDTO, v as BusinessHours, w as BusinessPreferences, x as BusinessService, y as BusinessSettings, z as BusinessWithLocations, C as CacheOptions, D as CancelBookingInput, E as CancelBookingResult, F as CancelOrderInput, G as CancellationPolicy, H as CardPopupAction, I as CartOperations, J as CatalogueQueries, K as CatalogueResult, L as CatalogueSnapshot, M as CategoryInfo, N as ChatAttachment, O as ChatConversation, P as ChatConversationResponse, Q as ChatMessage, S as ChatReplyContext, T as ChatUploadAttachment, U as ChatWidgetStarter, V as CheckSlotAvailabilityInput, W as CheckSlotAvailabilityResult, X as CheckoutAddressInfo, Y as CheckoutCartData, Z as CheckoutCartItem, _ as CheckoutCollectionMethod, $ as CheckoutCollectionOption, a0 as CheckoutCollectionOptions, a1 as CheckoutCustomerInfo, a2 as CheckoutFormData, a3 as CheckoutInput, a4 as CheckoutMode, a8 as CheckoutOperations, a5 as CheckoutOrderType, a6 as CheckoutPaymentMethod, a7 as CheckoutResult, a8 as CheckoutService, a9 as CheckoutStatus, aa as CheckoutStatusContext, ab as CheckoutStep, ac as CimplifyClient, ad as CimplifyConfig, ae as CimplifyElement, af as CimplifyElements, ag as ClaimConversationResult, ah as ClaimExternalChatsResult, ai as ContentType, aj as CustomerBooking, ak as CustomerBookingServiceItem, al as CustomerServicePreferences, am as DayAvailability, an as DeliveryFeeDetails, ao as DeliveryFeeResponse, ap as DeliveryFeeStatus, aq as DeliveryOption, ar as DeliveryOptionsQuery, as as DeliveryOptionsResponse, at as DeliveryService, au as DepositResult, av as DismissMessageResponse, aw as ELEMENTS_AUTH_CONTACT_TYPES, ax as ELEMENTS_AUTH_MODES, ay as ELEMENTS_AUTH_PROMPTS, az as ELEMENT_TYPES, aA as EVENT_TYPES, aB as ElementAppearance, aC as ElementEventHandler, aD as ElementEventType, aE as ElementOptions, aF as ElementType, aG as ElementsAuthContactType, aH as ElementsAuthMode, aI as ElementsAuthOptions, aJ as ElementsAuthPrompt, aK as ElementsCheckoutData, aL as ElementsCheckoutResult, aM as ElementsCustomerInfo, aN as ElementsOptions, aO as EnrichedOrder, aP as EnrichedOrderItem, aQ as Err, aR as ExternalChatClaimAttempt, aS as ExternalChatClaimDisposition, aT as FeeBearerType, aU as FetchQuoteInput, aV as FulfillmentLink, aW as FulfillmentStatus, aX as FulfillmentSummaryDTO, aY as FulfillmentType, aZ as FxQuote, a_ as FxQuoteRequest, a$ as FxQuoteStatus, b0 as FxRateResponse, b1 as FxService, b2 as GetAvailableSlotsInput, b3 as GetDeliveryOptionsParams, b4 as GetOrdersOptions, b5 as GetProductsOptions, b6 as GroupOrderInfo, b7 as IframeToParentMessage, b8 as InventoryService, b9 as LifecyclePhase, ba as LineItem, bb as LineType, bc as LinkService, bd as LiteBootstrap, be as LiteDayHours, bf as LiteHoursRange, bg as LiteService, bh as Location, bi as LocationBooking, bj as LocationTaxBehavior, bk as LocationTaxOverrides, bl as LocationTimeProfile, bm as LocationWithDetails, bn as MESSAGE_TYPES, bo as MobileMoneyDetails, bp as NextAction, bq as ObservabilityHooks, br as Ok, bs as Order, bt as OrderCustomerInfo, bu as OrderDiscountInfo, bv as OrderFilter, bw as OrderFulfillmentSummary, bx as OrderGroup, by as OrderGroupDetails, bz as OrderGroupPayment, bA as OrderGroupPaymentState, bB as OrderGroupPaymentStatus, bC as OrderGroupPaymentSummary, bD as OrderGroupStatus, bE as OrderHistory, bF as OrderLineState, bG as OrderLineStatus, bH as OrderLocationInfo, bI as OrderPaymentEvent, bJ as OrderPricingView, bK as OrderQueries, bL as OrderSplitDetail, bM as OrderStaffInfo, bN as OrderStatus, bO as OrderTimestampsDTO, bP as OrderType, bQ as Origin, bR as OriginActor, bS as OriginChannel, bT as OtpResult, bU as ParentToIframeMessage, bW as PaymentAuthorizationAdapterRegistry, bZ as PaymentInfoDTO, b_ as PaymentMethodInfo, b$ as PaymentState, c0 as PickupTime, c1 as PickupTimeType, c2 as PlaceDetailsResponse, c3 as PlacesService, c4 as PriceQuote, c5 as PricingOverrides, c6 as ProcessAndResolveOptions, c7 as ProcessCheckoutOptions, c8 as ProcessCheckoutResult, c9 as ProviderResolutionSource, ca as QuoteBundleSelectionInput, cb as QuoteCompositeSelectionInput, cc as QuoteDynamicBuckets, cd as QuoteStatus, ce as QuoteUiMessage, cf as ReadRequestOptions, cg as RefreshQuoteInput, ch as RefreshQuoteResult, ci as RefundOrderInput, cj as RelatedCandidate, ck as RelatedProduct, cl as RelatedProductsEnrichment, cm as RelationType, cn as ReminderMethod, co as ReminderSettings, cp as ReorderResult, cq as RequestContext, cr as RequestErrorEvent, cs as RequestOptions, ct as RequestSource, cu as RequestStartEvent, cv as RequestSuccessEvent, cw as RescheduleBookingInput, cx as RescheduleBookingResult, cy as RescheduleHistoryRecord, cz as ResourceAssignment, cA as ResourceInfo, cB as Result, cC as RetryEvent, cD as Room, cE as SchedulingMetadata, cF as SchedulingResult, cG as SchedulingService, cH as SenderType, cI as Service, cJ as ServiceAvailabilityParams, cK as ServiceAvailabilityResult, cL as ServiceCharge, cM as ServiceNotes, cN as ServiceScheduleRequest, cO as ServiceStatus, cP as SessionActivityData, cQ as SessionChangeEvent, cR as SessionMessage, cS as SlotResourceInfo, cT as SlotStaffInfo, cU as Staff, cV as StaffAssignment, cW as StaffRole, cX as StaffScheduleItem, cY as StockLevel, cZ as StockStatus, c_ as StoreCreditBalance, c$ as StoreCreditQueries, d0 as StorefrontBootstrap, d1 as SubscriptionService, d2 as SupportService, d3 as Table, d4 as TimeRange, d5 as TimeRanges, d6 as TimeSlot, d7 as TrackCategoryViewOptions, d8 as TrackProductViewOptions, d9 as UpdateOrderStatusInput, da as UpdateProfileInput, db as UploadInitResponse, dc as UploadResult, dd as UploadService, de as combine, df as combineObject, dg as createCimplifyClient, dh as createDefaultPaymentAuthorizationAdapterRegistry, di as createElements, dj as err, dk as flatMap, dl as fromPromise, dm as getOrElse, dn as isErr, dp as isOk, dq as mapError, dr as mapResult, ds as ok, dt as toNullable, du as tryCatch, dv as unwrap } from './client-D5AoobFc.mjs';
3
- import { bs as ProductWithDetails, bO as TaxPriceDisplayMode, be as Product, aA as DurationUnit, k as ApiError } from './payment-g0HFkEDU.mjs';
4
- export { A as AddOn, a as AddOnDetails, b as AddOnGroupDetails, c as AddOnOption, d as AddOnOptionDetails, e as AddOnOptionPrice, f as AddOnWithOptions, g as AddToCartInput, h as AddressAuthorizationData, i as AddressValue, j as AdjustmentType, l as AppliedDiscount, m as AttributeAppliesTo, n as AttributeType, o as AttributeValidationRules, p as AttributeVisibility, q as AuthorizationType, B as BOUNDARY_KIND, r as BenefitType, s as BillingFrequency, t as BillingMarkupType, u as BillingPlanType, v as BoundaryKind, w as Bundle, x as BundleComponentData, y as BundleComponentInfo, z as BundleComponentVariantView, C as BundleComponentView, D as BundlePriceType, E as BundleProduct, F as BundleSelectionData, G as BundleSelectionInput, H as BundleStoredSelection, I as BundleSummary, J as BundleWithDetails, K as Cart, L as CartAddOn, M as CartChannel, N as CartItem, O as CartItemDetails, P as CartMutationResult, Q as CartNotice, R as CartStatus, S as CartSummary, T as CartTotals, U as Category, V as CategorySummary, W as ChosenPrice, X as CimplifyError, Y as Collection, Z as CollectionProduct, _ as CollectionSummary, $ as ComponentGroup, a0 as ComponentGroupWithComponents, a1 as ComponentPriceBreakdown, a2 as ComponentSchedulingData, a3 as ComponentSelectionInput, a4 as ComponentSourceType, a5 as Composite, a6 as CompositeComponent, a7 as CompositeComponentView, a8 as CompositeGroupView, a9 as CompositePriceBreakdown, aa as CompositePriceResult, ab as CompositePricingMode, ac as CompositeSelectionData, a3 as CompositeSelectionInput, ad as CompositeStoredSelection, ae as CompositeWithDetails, af as CurrencyCode, ag as CustomAttributeDefinition, ah as CustomAttributeValue, ai as CustomerInputValue, aj as DURATION_UNIT, ak as DateRangeValue, al as Deal, am as DealBenefitType, an as DepositType, ao as DestinationQuote, ap as DestinationQuoteAddress, aq as DestinationQuoteInput, ar as DigitalProductType, as as DiscountBreakdown, at as DiscountDetails, au as DiscountValidation, av as DisplayAddOn, aw as DisplayAddOnOption, ax as DisplayCart, ay as DisplayCartItem, az as DisplayMode, aB as ERROR_HINTS, aC as EligiblePlansQuery, aD as ErrorCode, aE as ErrorCodeType, aF as ErrorHint, aG as FacetValue, aH as FormattedPlanOption, aI as GroupPricingBehavior, aJ as INPUT_FIELD_TYPE, aK as IdempotencyMismatchError, aL as InitializePaymentResult, aM as InputFieldType, aN as InputFieldValidation, aO as InventoryType, aP as KnowledgeArticle, aQ as LineConfiguration, aR as LocationProductPrice, aS as LocationValue, aT as MeasurementValue, aU as Money, aV as PRODUCT_TYPE, aW as Pagination, aX as PaginationParams, aY as Payment, aZ as PaymentAuthorizationKind, a_ as PaymentAuthorizationSubmission, a$ as PaymentErrorDetails, b0 as PaymentMethod, b1 as PaymentMethodType, b2 as PaymentProcessingState, b3 as PaymentProvider, b4 as PaymentResponse, b5 as PaymentStatus, b6 as PaymentStatusResponse, b7 as PhoneValue, b8 as Price, b9 as PriceAdjustment, ba as PriceDecisionPath, bb as PriceEntryType, bc as PricePathTaxInfo, bd as PriceSource, bf as ProductAddOn, bg as ProductAvailability, bh as ProductAvailabilityNow, bi as ProductBillingPlan, bj as ProductDealInfo, bk as ProductInputField, bl as ProductProperty, bm as ProductRenderHint, bn as ProductTaxonomy, bo as ProductTimeProfile, bp as ProductType, bq as ProductVariant, br as ProductVariantValue, bt as PropertyFacet, bu as PropertySource, bv as QuantityPricingTier, bw as RENDER_HINT, bx as RelatedProductView, by as SaleCapInfo, bz as SaleInfo, bA as SalesChannel, bB as SchedulingMode, bC as SelectedAddOnOption, bD as SemanticKind, bE as SignatureValue, bF as SubmitAuthorizationInput, bG as Subscription, bH as SubscriptionInvoice, bI as SubscriptionItem, bJ as SubscriptionStatus, bK as SubscriptionWithDetails, bL as Tag, bM as TagsResponse, bN as TaxPathComponent, bP as TaxonomyAttributeTemplate, bQ as TaxonomyWithChildren, bR as UICart, bS as UICartBusiness, bT as UICartCustomer, bU as UICartLocation, bV as UICartPricing, bW as UpcomingSale, bX as UpdateCartItemInput, bY as VariantAxis, bZ as VariantAxisSelection, b_ as VariantAxisValue, b$ as VariantAxisValueView, c0 as VariantAxisView, c1 as VariantAxisWithValues, c2 as VariantDetails, c3 as VariantDetailsDTO, c4 as VariantDisplayAttribute, c5 as VariantLocationAvailability, c6 as VariantStrategy, c7 as VariantView, c8 as ZERO, ca as currencyCode, cb as enrichError, cc as getErrorHint, cd as isCimplifyError, ce as isIdempotencyMismatchError, cf as isQuoteConflictRequiringConsent, cg as isQuoteError, ch as isRetryableError, ci as isSupportedCurrency, cj as money, ck as moneyFromNumber } from './payment-g0HFkEDU.mjs';
5
- export { A as AUTHORIZATION_TYPE, a as AUTH_MUTATION, b as AddressData, c as AuthResponse, C as CHECKOUT_MODE, d as CHECKOUT_MUTATION, e as CHECKOUT_STEP, f as CONTACT_TYPE, g as ContactType, h as CreateAddressInput, i as CreateMobileMoneyInput, j as Customer, k as CustomerAddress, l as CustomerLinkPreferences, m as CustomerMobileMoney, D as DEFAULT_COUNTRY, n as DEFAULT_CURRENCY, o as DEVICE_TYPE, p as DeviceType, E as EnrollAndLinkOrderInput, q as EnrollAndLinkOrderResult, r as EnrollmentData, L as LINK_MUTATION, s as LINK_QUERY, t as LinkData, u as LinkEnrollResult, v as LinkSession, w as LinkStatusResult, M as MAX_PAYMENT_AUTHORIZATION_STEPS, x as MOBILE_MONEY_PROVIDER, y as MobileMoneyData, z as MobileMoneyProvider, O as ORDER_MUTATION, B as ORDER_TYPE, P as PAYMENT_METHOD, F as PAYMENT_MUTATION, G as PAYMENT_STATE, H as PICKUP_TIME_TYPE, R as RequestOtpInput, I as RequestOtpResult, J as RevokeAllSessionsResult, K as RevokeSessionResult, U as UpdateAddressInput, V as VerifyOtpInput } from './link-D9iSVxt5.mjs';
6
- export { C as CURRENCY_SYMBOLS, a as CanonicalMobileMoneyProvider, M as MOBILE_MONEY_PROVIDERS, P as PAYMENT_TERMINAL_FAILURE_STATUSES, c as canonicalMobileMoneyProvider, b as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, e as formatNumberCompact, g as formatPrice, h as formatPriceAdjustment, i as formatPriceCompact, j as formatPriceRange, k as formatPriceWithTax, l as formatProductPrice, m as getBasePrice, n as getCurrencySymbol, o as getDiscountPercentage, p as getDisplayPrice, q as getMarkupPercentage, r as getPriceRange, s as getProductCurrency, t as getTaxAmount, u as getUnitPriceAtQuantity, v as hasTaxInfo, w as isOnSale, x as isPaymentStatusFailure, y as isPaymentStatusRequiresAction, z as isPaymentStatusSuccess, A as isTaxInclusive, B as isValidPhoneForContext, D as normalizePaymentResponse, E as normalizePhoneToE164, F as normalizeStatusResponse, G as parsePrice, H as paymentAuthorizationUrl, I as resolvePhoneCountryCode } from './index-D7Tf3v7c.mjs';
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-Czq_cTC_.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,7 +64,7 @@ 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;
@@ -74,16 +75,32 @@ type StripeLoader = (publicKey: string, options?: {
74
75
  }) => Promise<StripeLike | null>;
75
76
  /**
76
77
  * Stripe card adapter backed by the Payment Element. It reports only that the
77
- * provider interaction was submitted; CheckoutResolver still polls Cimplify
78
+ * provider interaction was submitted; PurchaseIntentResolver still polls Cimplify
78
79
  * before returning checkout success.
79
80
  */
80
81
  declare class StripeAuthorizationAdapter implements PaymentAuthorizationAdapter {
81
82
  private readonly loadStripe;
82
- readonly provider = "stripe";
83
+ readonly provider: "stripe";
83
84
  constructor(loadStripe?: StripeLoader);
84
85
  authorize(context: PaymentAuthorizationContext): Promise<PaymentAuthorizationOutcome>;
85
86
  }
86
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
+
87
104
  interface GalleryImage {
88
105
  url: string;
89
106
  /** null = product-level image; otherwise the variant it belongs to. */
@@ -249,4 +266,4 @@ interface AssetUrlOptions extends AssetTransform {
249
266
  declare function assetUrl(path: string, opts?: AssetUrlOptions): string;
250
267
  declare function isCimplifyAsset(src: string, base?: string): boolean;
251
268
 
252
- export { ApiError, type ApiResponse, type AssetTransform, type AssetUrlOptions, CIMPLIFY_CDN_HOSTS, ChatReplyCard, type CustomerGroup, type CustomerPricingInfo, DEFAULT_CDN_BASE_URL, DurationUnit, type FrontendContext, type GalleryImage, type MutationRequest, PaymentAuthorizationAdapter, PaymentAuthorizationContext, PaymentAuthorizationOutcome, PaystackAuthorizationAdapter, type PaystackPopup, type PaystackPopupOptions, type PaystackPopupResult, type PriceListItem, Product, ProductWithDetails, type QuantityBreak, type QueryRequest, type ResolvedQuantityBreak, type ResponseMetadata, type SilentSignInOptions, type SilentSignInResult, StripeAuthorizationAdapter, type StripeLike, type StripeLoader, TaxPriceDisplayMode, allGalleryImages, assetUrl, chatMessageCards, displaysGrossPrices, isCimplifyAsset, isMultiDayService, priceBasisLabel, resolveGallery, serviceBillingMultiplier, signInSilent, stayLength, stayPeriods };
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 { bV as PaymentAuthorizationAdapter, bX as PaymentAuthorizationContext, bY as PaymentAuthorizationOutcome, R as ChatReplyCard } from './client-BuLcOWLv.js';
2
- export { A as AbortablePromise, a as ActivityRecommendation, b as ActivityRecommendationsResponse, c as ActivityService, d as ActivityStateResponse, e as AddressInfo, f as AmountToPay, g as AuthService, h as AuthStatus, i as AuthenticatedCustomer, j as AuthenticatedData, k as AuthorizeCardPopupOptions, l as AutocompletePrediction, m as AutocompleteResponse, n as AvailabilityResult, o as AvailableSlot, B as Booking, p as BookingModificationType, q as BookingStatus, r as BookingWithDetails, s as BufferTimes, t as Business, u as BusinessDetailsDTO, v as BusinessHours, w as BusinessPreferences, x as BusinessService, y as BusinessSettings, z as BusinessWithLocations, C as CacheOptions, D as CancelBookingInput, E as CancelBookingResult, F as CancelOrderInput, G as CancellationPolicy, H as CardPopupAction, I as CartOperations, J as CatalogueQueries, K as CatalogueResult, L as CatalogueSnapshot, M as CategoryInfo, N as ChatAttachment, O as ChatConversation, P as ChatConversationResponse, Q as ChatMessage, S as ChatReplyContext, T as ChatUploadAttachment, U as ChatWidgetStarter, V as CheckSlotAvailabilityInput, W as CheckSlotAvailabilityResult, X as CheckoutAddressInfo, Y as CheckoutCartData, Z as CheckoutCartItem, _ as CheckoutCollectionMethod, $ as CheckoutCollectionOption, a0 as CheckoutCollectionOptions, a1 as CheckoutCustomerInfo, a2 as CheckoutFormData, a3 as CheckoutInput, a4 as CheckoutMode, a8 as CheckoutOperations, a5 as CheckoutOrderType, a6 as CheckoutPaymentMethod, a7 as CheckoutResult, a8 as CheckoutService, a9 as CheckoutStatus, aa as CheckoutStatusContext, ab as CheckoutStep, ac as CimplifyClient, ad as CimplifyConfig, ae as CimplifyElement, af as CimplifyElements, ag as ClaimConversationResult, ah as ClaimExternalChatsResult, ai as ContentType, aj as CustomerBooking, ak as CustomerBookingServiceItem, al as CustomerServicePreferences, am as DayAvailability, an as DeliveryFeeDetails, ao as DeliveryFeeResponse, ap as DeliveryFeeStatus, aq as DeliveryOption, ar as DeliveryOptionsQuery, as as DeliveryOptionsResponse, at as DeliveryService, au as DepositResult, av as DismissMessageResponse, aw as ELEMENTS_AUTH_CONTACT_TYPES, ax as ELEMENTS_AUTH_MODES, ay as ELEMENTS_AUTH_PROMPTS, az as ELEMENT_TYPES, aA as EVENT_TYPES, aB as ElementAppearance, aC as ElementEventHandler, aD as ElementEventType, aE as ElementOptions, aF as ElementType, aG as ElementsAuthContactType, aH as ElementsAuthMode, aI as ElementsAuthOptions, aJ as ElementsAuthPrompt, aK as ElementsCheckoutData, aL as ElementsCheckoutResult, aM as ElementsCustomerInfo, aN as ElementsOptions, aO as EnrichedOrder, aP as EnrichedOrderItem, aQ as Err, aR as ExternalChatClaimAttempt, aS as ExternalChatClaimDisposition, aT as FeeBearerType, aU as FetchQuoteInput, aV as FulfillmentLink, aW as FulfillmentStatus, aX as FulfillmentSummaryDTO, aY as FulfillmentType, aZ as FxQuote, a_ as FxQuoteRequest, a$ as FxQuoteStatus, b0 as FxRateResponse, b1 as FxService, b2 as GetAvailableSlotsInput, b3 as GetDeliveryOptionsParams, b4 as GetOrdersOptions, b5 as GetProductsOptions, b6 as GroupOrderInfo, b7 as IframeToParentMessage, b8 as InventoryService, b9 as LifecyclePhase, ba as LineItem, bb as LineType, bc as LinkService, bd as LiteBootstrap, be as LiteDayHours, bf as LiteHoursRange, bg as LiteService, bh as Location, bi as LocationBooking, bj as LocationTaxBehavior, bk as LocationTaxOverrides, bl as LocationTimeProfile, bm as LocationWithDetails, bn as MESSAGE_TYPES, bo as MobileMoneyDetails, bp as NextAction, bq as ObservabilityHooks, br as Ok, bs as Order, bt as OrderCustomerInfo, bu as OrderDiscountInfo, bv as OrderFilter, bw as OrderFulfillmentSummary, bx as OrderGroup, by as OrderGroupDetails, bz as OrderGroupPayment, bA as OrderGroupPaymentState, bB as OrderGroupPaymentStatus, bC as OrderGroupPaymentSummary, bD as OrderGroupStatus, bE as OrderHistory, bF as OrderLineState, bG as OrderLineStatus, bH as OrderLocationInfo, bI as OrderPaymentEvent, bJ as OrderPricingView, bK as OrderQueries, bL as OrderSplitDetail, bM as OrderStaffInfo, bN as OrderStatus, bO as OrderTimestampsDTO, bP as OrderType, bQ as Origin, bR as OriginActor, bS as OriginChannel, bT as OtpResult, bU as ParentToIframeMessage, bW as PaymentAuthorizationAdapterRegistry, bZ as PaymentInfoDTO, b_ as PaymentMethodInfo, b$ as PaymentState, c0 as PickupTime, c1 as PickupTimeType, c2 as PlaceDetailsResponse, c3 as PlacesService, c4 as PriceQuote, c5 as PricingOverrides, c6 as ProcessAndResolveOptions, c7 as ProcessCheckoutOptions, c8 as ProcessCheckoutResult, c9 as ProviderResolutionSource, ca as QuoteBundleSelectionInput, cb as QuoteCompositeSelectionInput, cc as QuoteDynamicBuckets, cd as QuoteStatus, ce as QuoteUiMessage, cf as ReadRequestOptions, cg as RefreshQuoteInput, ch as RefreshQuoteResult, ci as RefundOrderInput, cj as RelatedCandidate, ck as RelatedProduct, cl as RelatedProductsEnrichment, cm as RelationType, cn as ReminderMethod, co as ReminderSettings, cp as ReorderResult, cq as RequestContext, cr as RequestErrorEvent, cs as RequestOptions, ct as RequestSource, cu as RequestStartEvent, cv as RequestSuccessEvent, cw as RescheduleBookingInput, cx as RescheduleBookingResult, cy as RescheduleHistoryRecord, cz as ResourceAssignment, cA as ResourceInfo, cB as Result, cC as RetryEvent, cD as Room, cE as SchedulingMetadata, cF as SchedulingResult, cG as SchedulingService, cH as SenderType, cI as Service, cJ as ServiceAvailabilityParams, cK as ServiceAvailabilityResult, cL as ServiceCharge, cM as ServiceNotes, cN as ServiceScheduleRequest, cO as ServiceStatus, cP as SessionActivityData, cQ as SessionChangeEvent, cR as SessionMessage, cS as SlotResourceInfo, cT as SlotStaffInfo, cU as Staff, cV as StaffAssignment, cW as StaffRole, cX as StaffScheduleItem, cY as StockLevel, cZ as StockStatus, c_ as StoreCreditBalance, c$ as StoreCreditQueries, d0 as StorefrontBootstrap, d1 as SubscriptionService, d2 as SupportService, d3 as Table, d4 as TimeRange, d5 as TimeRanges, d6 as TimeSlot, d7 as TrackCategoryViewOptions, d8 as TrackProductViewOptions, d9 as UpdateOrderStatusInput, da as UpdateProfileInput, db as UploadInitResponse, dc as UploadResult, dd as UploadService, de as combine, df as combineObject, dg as createCimplifyClient, dh as createDefaultPaymentAuthorizationAdapterRegistry, di as createElements, dj as err, dk as flatMap, dl as fromPromise, dm as getOrElse, dn as isErr, dp as isOk, dq as mapError, dr as mapResult, ds as ok, dt as toNullable, du as tryCatch, dv as unwrap } from './client-BuLcOWLv.js';
3
- import { bs as ProductWithDetails, bO as TaxPriceDisplayMode, be as Product, aA as DurationUnit, k as ApiError } from './payment-g0HFkEDU.js';
4
- export { A as AddOn, a as AddOnDetails, b as AddOnGroupDetails, c as AddOnOption, d as AddOnOptionDetails, e as AddOnOptionPrice, f as AddOnWithOptions, g as AddToCartInput, h as AddressAuthorizationData, i as AddressValue, j as AdjustmentType, l as AppliedDiscount, m as AttributeAppliesTo, n as AttributeType, o as AttributeValidationRules, p as AttributeVisibility, q as AuthorizationType, B as BOUNDARY_KIND, r as BenefitType, s as BillingFrequency, t as BillingMarkupType, u as BillingPlanType, v as BoundaryKind, w as Bundle, x as BundleComponentData, y as BundleComponentInfo, z as BundleComponentVariantView, C as BundleComponentView, D as BundlePriceType, E as BundleProduct, F as BundleSelectionData, G as BundleSelectionInput, H as BundleStoredSelection, I as BundleSummary, J as BundleWithDetails, K as Cart, L as CartAddOn, M as CartChannel, N as CartItem, O as CartItemDetails, P as CartMutationResult, Q as CartNotice, R as CartStatus, S as CartSummary, T as CartTotals, U as Category, V as CategorySummary, W as ChosenPrice, X as CimplifyError, Y as Collection, Z as CollectionProduct, _ as CollectionSummary, $ as ComponentGroup, a0 as ComponentGroupWithComponents, a1 as ComponentPriceBreakdown, a2 as ComponentSchedulingData, a3 as ComponentSelectionInput, a4 as ComponentSourceType, a5 as Composite, a6 as CompositeComponent, a7 as CompositeComponentView, a8 as CompositeGroupView, a9 as CompositePriceBreakdown, aa as CompositePriceResult, ab as CompositePricingMode, ac as CompositeSelectionData, a3 as CompositeSelectionInput, ad as CompositeStoredSelection, ae as CompositeWithDetails, af as CurrencyCode, ag as CustomAttributeDefinition, ah as CustomAttributeValue, ai as CustomerInputValue, aj as DURATION_UNIT, ak as DateRangeValue, al as Deal, am as DealBenefitType, an as DepositType, ao as DestinationQuote, ap as DestinationQuoteAddress, aq as DestinationQuoteInput, ar as DigitalProductType, as as DiscountBreakdown, at as DiscountDetails, au as DiscountValidation, av as DisplayAddOn, aw as DisplayAddOnOption, ax as DisplayCart, ay as DisplayCartItem, az as DisplayMode, aB as ERROR_HINTS, aC as EligiblePlansQuery, aD as ErrorCode, aE as ErrorCodeType, aF as ErrorHint, aG as FacetValue, aH as FormattedPlanOption, aI as GroupPricingBehavior, aJ as INPUT_FIELD_TYPE, aK as IdempotencyMismatchError, aL as InitializePaymentResult, aM as InputFieldType, aN as InputFieldValidation, aO as InventoryType, aP as KnowledgeArticle, aQ as LineConfiguration, aR as LocationProductPrice, aS as LocationValue, aT as MeasurementValue, aU as Money, aV as PRODUCT_TYPE, aW as Pagination, aX as PaginationParams, aY as Payment, aZ as PaymentAuthorizationKind, a_ as PaymentAuthorizationSubmission, a$ as PaymentErrorDetails, b0 as PaymentMethod, b1 as PaymentMethodType, b2 as PaymentProcessingState, b3 as PaymentProvider, b4 as PaymentResponse, b5 as PaymentStatus, b6 as PaymentStatusResponse, b7 as PhoneValue, b8 as Price, b9 as PriceAdjustment, ba as PriceDecisionPath, bb as PriceEntryType, bc as PricePathTaxInfo, bd as PriceSource, bf as ProductAddOn, bg as ProductAvailability, bh as ProductAvailabilityNow, bi as ProductBillingPlan, bj as ProductDealInfo, bk as ProductInputField, bl as ProductProperty, bm as ProductRenderHint, bn as ProductTaxonomy, bo as ProductTimeProfile, bp as ProductType, bq as ProductVariant, br as ProductVariantValue, bt as PropertyFacet, bu as PropertySource, bv as QuantityPricingTier, bw as RENDER_HINT, bx as RelatedProductView, by as SaleCapInfo, bz as SaleInfo, bA as SalesChannel, bB as SchedulingMode, bC as SelectedAddOnOption, bD as SemanticKind, bE as SignatureValue, bF as SubmitAuthorizationInput, bG as Subscription, bH as SubscriptionInvoice, bI as SubscriptionItem, bJ as SubscriptionStatus, bK as SubscriptionWithDetails, bL as Tag, bM as TagsResponse, bN as TaxPathComponent, bP as TaxonomyAttributeTemplate, bQ as TaxonomyWithChildren, bR as UICart, bS as UICartBusiness, bT as UICartCustomer, bU as UICartLocation, bV as UICartPricing, bW as UpcomingSale, bX as UpdateCartItemInput, bY as VariantAxis, bZ as VariantAxisSelection, b_ as VariantAxisValue, b$ as VariantAxisValueView, c0 as VariantAxisView, c1 as VariantAxisWithValues, c2 as VariantDetails, c3 as VariantDetailsDTO, c4 as VariantDisplayAttribute, c5 as VariantLocationAvailability, c6 as VariantStrategy, c7 as VariantView, c8 as ZERO, ca as currencyCode, cb as enrichError, cc as getErrorHint, cd as isCimplifyError, ce as isIdempotencyMismatchError, cf as isQuoteConflictRequiringConsent, cg as isQuoteError, ch as isRetryableError, ci as isSupportedCurrency, cj as money, ck as moneyFromNumber } from './payment-g0HFkEDU.js';
5
- export { A as AUTHORIZATION_TYPE, a as AUTH_MUTATION, b as AddressData, c as AuthResponse, C as CHECKOUT_MODE, d as CHECKOUT_MUTATION, e as CHECKOUT_STEP, f as CONTACT_TYPE, g as ContactType, h as CreateAddressInput, i as CreateMobileMoneyInput, j as Customer, k as CustomerAddress, l as CustomerLinkPreferences, m as CustomerMobileMoney, D as DEFAULT_COUNTRY, n as DEFAULT_CURRENCY, o as DEVICE_TYPE, p as DeviceType, E as EnrollAndLinkOrderInput, q as EnrollAndLinkOrderResult, r as EnrollmentData, L as LINK_MUTATION, s as LINK_QUERY, t as LinkData, u as LinkEnrollResult, v as LinkSession, w as LinkStatusResult, M as MAX_PAYMENT_AUTHORIZATION_STEPS, x as MOBILE_MONEY_PROVIDER, y as MobileMoneyData, z as MobileMoneyProvider, O as ORDER_MUTATION, B as ORDER_TYPE, P as PAYMENT_METHOD, F as PAYMENT_MUTATION, G as PAYMENT_STATE, H as PICKUP_TIME_TYPE, R as RequestOtpInput, I as RequestOtpResult, J as RevokeAllSessionsResult, K as RevokeSessionResult, U as UpdateAddressInput, V as VerifyOtpInput } from './link-D9iSVxt5.js';
6
- export { C as CURRENCY_SYMBOLS, a as CanonicalMobileMoneyProvider, M as MOBILE_MONEY_PROVIDERS, P as PAYMENT_TERMINAL_FAILURE_STATUSES, c as canonicalMobileMoneyProvider, b as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, e as formatNumberCompact, g as formatPrice, h as formatPriceAdjustment, i as formatPriceCompact, j as formatPriceRange, k as formatPriceWithTax, l as formatProductPrice, m as getBasePrice, n as getCurrencySymbol, o as getDiscountPercentage, p as getDisplayPrice, q as getMarkupPercentage, r as getPriceRange, s as getProductCurrency, t as getTaxAmount, u as getUnitPriceAtQuantity, v as hasTaxInfo, w as isOnSale, x as isPaymentStatusFailure, y as isPaymentStatusRequiresAction, z as isPaymentStatusSuccess, A as isTaxInclusive, B as isValidPhoneForContext, D as normalizePaymentResponse, E as normalizePhoneToE164, F as normalizeStatusResponse, G as parsePrice, H as paymentAuthorizationUrl, I as resolvePhoneCountryCode } from './index-BtcoqrY1.js';
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-BLIeAb8K.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,7 +64,7 @@ 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;
@@ -74,16 +75,32 @@ type StripeLoader = (publicKey: string, options?: {
74
75
  }) => Promise<StripeLike | null>;
75
76
  /**
76
77
  * Stripe card adapter backed by the Payment Element. It reports only that the
77
- * provider interaction was submitted; CheckoutResolver still polls Cimplify
78
+ * provider interaction was submitted; PurchaseIntentResolver still polls Cimplify
78
79
  * before returning checkout success.
79
80
  */
80
81
  declare class StripeAuthorizationAdapter implements PaymentAuthorizationAdapter {
81
82
  private readonly loadStripe;
82
- readonly provider = "stripe";
83
+ readonly provider: "stripe";
83
84
  constructor(loadStripe?: StripeLoader);
84
85
  authorize(context: PaymentAuthorizationContext): Promise<PaymentAuthorizationOutcome>;
85
86
  }
86
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
+
87
104
  interface GalleryImage {
88
105
  url: string;
89
106
  /** null = product-level image; otherwise the variant it belongs to. */
@@ -249,4 +266,4 @@ interface AssetUrlOptions extends AssetTransform {
249
266
  declare function assetUrl(path: string, opts?: AssetUrlOptions): string;
250
267
  declare function isCimplifyAsset(src: string, base?: string): boolean;
251
268
 
252
- export { ApiError, type ApiResponse, type AssetTransform, type AssetUrlOptions, CIMPLIFY_CDN_HOSTS, ChatReplyCard, type CustomerGroup, type CustomerPricingInfo, DEFAULT_CDN_BASE_URL, DurationUnit, type FrontendContext, type GalleryImage, type MutationRequest, PaymentAuthorizationAdapter, PaymentAuthorizationContext, PaymentAuthorizationOutcome, PaystackAuthorizationAdapter, type PaystackPopup, type PaystackPopupOptions, type PaystackPopupResult, type PriceListItem, Product, ProductWithDetails, type QuantityBreak, type QueryRequest, type ResolvedQuantityBreak, type ResponseMetadata, type SilentSignInOptions, type SilentSignInResult, StripeAuthorizationAdapter, type StripeLike, type StripeLoader, TaxPriceDisplayMode, allGalleryImages, assetUrl, chatMessageCards, displaysGrossPrices, isCimplifyAsset, isMultiDayService, priceBasisLabel, resolveGallery, serviceBillingMultiplier, signInSilent, stayLength, stayPeriods };
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 };