@cimplify/sdk 0.103.0 → 0.104.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/dist/advanced.d.mts +3 -3
  2. package/dist/advanced.d.ts +3 -3
  3. package/dist/advanced.js +22 -22
  4. package/dist/advanced.mjs +3 -3
  5. package/dist/{chunk-C2JSNJUC.mjs → chunk-2WPVUIHX.mjs} +52 -11
  6. package/dist/{chunk-JG5CQNCB.js → chunk-4BKOKHE3.js} +4 -0
  7. package/dist/{chunk-R6OLQ33I.js → chunk-5BDYDZ4U.js} +239 -87
  8. package/dist/{chunk-H7ACMHM3.mjs → chunk-5RT4HYMP.mjs} +32 -4
  9. package/dist/{chunk-NNG6IFFX.js → chunk-7PDEX54K.js} +3 -3
  10. package/dist/{chunk-M4URVKHE.mjs → chunk-DYIAX3WI.mjs} +1 -1
  11. package/dist/{chunk-QOWPGS7Z.js → chunk-E4K2VQDD.js} +35 -5
  12. package/dist/{chunk-VNPEYLB2.mjs → chunk-H3RATH4B.mjs} +4 -0
  13. package/dist/{chunk-JSWJ4XDE.js → chunk-IQFFSKE2.js} +315 -108
  14. package/dist/{chunk-J6PNHDHL.mjs → chunk-OCCNG6MO.mjs} +284 -77
  15. package/dist/{chunk-GERXZQSX.mjs → chunk-OKADBZAI.mjs} +171 -20
  16. package/dist/{chunk-VIL6IQCG.js → chunk-YVAEY3VC.js} +54 -13
  17. package/dist/{client-Dqg2mc-7.d.ts → client-BVNWjk6W.d.ts} +2 -2
  18. package/dist/{client-BfpNjJ_a.d.mts → client-BuLcOWLv.d.ts} +115 -23
  19. package/dist/{client-DHBwvh7U.d.ts → client-D5AoobFc.d.mts} +115 -23
  20. package/dist/{client-DpqRobY9.d.mts → client-fM716k7G.d.mts} +2 -2
  21. package/dist/{index-C8uDqLwJ.d.ts → index-BtcoqrY1.d.ts} +3 -3
  22. package/dist/{index-e2y6AK70.d.mts → index-D7Tf3v7c.d.mts} +3 -3
  23. package/dist/index.d.mts +10 -8
  24. package/dist/index.d.ts +10 -8
  25. package/dist/index.js +107 -106
  26. package/dist/index.mjs +6 -5
  27. package/dist/{link-cuNVYc2s.d.mts → link-D9iSVxt5.d.mts} +12 -1
  28. package/dist/{link-cuNVYc2s.d.ts → link-D9iSVxt5.d.ts} +12 -1
  29. package/dist/mock/cli.mjs +53 -10
  30. package/dist/mock/library.js +53 -10
  31. package/dist/mock/library.mjs +53 -10
  32. package/dist/mock/msw.js +53 -10
  33. package/dist/mock/msw.mjs +53 -10
  34. package/dist/{payment-H5LoIvXU.d.mts → payment-g0HFkEDU.d.mts} +519 -54
  35. package/dist/{payment-H5LoIvXU.d.ts → payment-g0HFkEDU.d.ts} +519 -54
  36. package/dist/{price-C2RqscMY.d.ts → price-BLIeAb8K.d.ts} +1 -1
  37. package/dist/{price-BvePgDXe.d.mts → price-Czq_cTC_.d.mts} +1 -1
  38. package/dist/react.d.mts +4 -4
  39. package/dist/react.d.ts +4 -4
  40. package/dist/react.js +193 -169
  41. package/dist/react.mjs +54 -30
  42. package/dist/{server-C7FyLdrz.d.mts → server-BkVhOIwn.d.mts} +4 -2
  43. package/dist/{server-DoXIpSd7.d.ts → server-DKK_D-PP.d.ts} +4 -2
  44. package/dist/server.d.mts +4 -4
  45. package/dist/server.d.ts +4 -4
  46. package/dist/server.js +11 -10
  47. package/dist/server.mjs +5 -4
  48. package/dist/testing/msw.d.mts +2 -2
  49. package/dist/testing/msw.d.ts +2 -2
  50. package/dist/testing/msw.js +3 -3
  51. package/dist/testing/msw.mjs +2 -2
  52. package/dist/testing/suite.d.mts +6 -6
  53. package/dist/testing/suite.d.ts +6 -6
  54. package/dist/testing/suite.js +25 -25
  55. package/dist/testing/suite.mjs +6 -6
  56. package/dist/testing.d.mts +46 -6
  57. package/dist/testing.d.ts +46 -6
  58. package/dist/testing.js +94 -82
  59. package/dist/testing.mjs +13 -9
  60. package/dist/utils.d.mts +4 -4
  61. package/dist/utils.d.ts +4 -4
  62. package/dist/utils.js +31 -31
  63. package/dist/utils.mjs +2 -2
  64. package/package.json +1 -1
  65. package/registry/chat-widget.json +1 -1
@@ -1,5 +1,5 @@
1
- import { X as CimplifyError, U as Category, be as Product, f as AddOnWithOptions, aW as Pagination, bs as ProductWithDetails, bq as ProductVariant, bY as VariantAxis, bZ as VariantAxisSelection, A as AddOn, Y as Collection, I as BundleSummary, w as Bundle, a5 as Composite, a3 as ComponentSelectionInput, aa as CompositePriceResult, af as CurrencyCode, W as ChosenPrice, bz as SaleInfo, bn as ProductTaxonomy, bQ as TaxonomyWithChildren, aC as EligiblePlansQuery, bi as ProductBillingPlan, bo as ProductTimeProfile, bh as ProductAvailabilityNow, al as Deal, bj as ProductDealInfo, au as DiscountValidation, bM as TagsResponse, ag as CustomAttributeDefinition, ah as CustomAttributeValue, bt as PropertyFacet, bP as TaxonomyAttributeTemplate, aP as KnowledgeArticle, bR as UICart, N as CartItem, aq as DestinationQuoteInput, ao as DestinationQuote, S as CartSummary, g as AddToCartInput, P as CartMutationResult, bX as UpdateCartItemInput, at as DiscountDetails, aU as Money, aQ as LineConfiguration, bO as TaxPriceDisplayMode, q as AuthorizationType, aZ as PaymentAuthorizationKind, a_ as PaymentAuthorizationSubmission, b0 as PaymentMethod, aL as InitializePaymentResult, bF as SubmitAuthorizationInput, b6 as PaymentStatusResponse, c2 as VariantDetails, c3 as VariantDetailsDTO, a as AddOnDetails, d as AddOnOptionDetails, b as AddOnGroupDetails, F as BundleSelectionData, ac as CompositeSelectionData, ai as CustomerInputValue, c9 as components, bB as SchedulingMode, aA as DurationUnit, bG as Subscription, bK as SubscriptionWithDetails } from './payment-H5LoIvXU.js';
2
- import { P as PAYMENT_METHOD, B as ORDER_TYPE, z as MobileMoneyProvider, C as CHECKOUT_MODE, e as CHECKOUT_STEP, H as PICKUP_TIME_TYPE, R as RequestOtpInput, V as VerifyOtpInput, c as AuthResponse, w as LinkStatusResult, t as LinkData, k as CustomerAddress, m as CustomerMobileMoney, l as CustomerLinkPreferences, j as Customer, r as EnrollmentData, u as LinkEnrollResult, E as EnrollAndLinkOrderInput, q as EnrollAndLinkOrderResult, h as CreateAddressInput, U as UpdateAddressInput, i as CreateMobileMoneyInput, v as LinkSession, J as RevokeSessionResult, I as RevokeAllSessionsResult } from './link-cuNVYc2s.js';
1
+ import { X as CimplifyError, U as Category, be as Product, f as AddOnWithOptions, aW as Pagination, bs as ProductWithDetails, bq as ProductVariant, bY as VariantAxis, bZ as VariantAxisSelection, A as AddOn, Y as Collection, I as BundleSummary, w as Bundle, a5 as Composite, a3 as ComponentSelectionInput, aa as CompositePriceResult, af as CurrencyCode, W as ChosenPrice, bz as SaleInfo, bn as ProductTaxonomy, bQ as TaxonomyWithChildren, aC as EligiblePlansQuery, bi as ProductBillingPlan, bo as ProductTimeProfile, bh as ProductAvailabilityNow, al as Deal, bj as ProductDealInfo, au as DiscountValidation, bM as TagsResponse, ag as CustomAttributeDefinition, ah as CustomAttributeValue, bt as PropertyFacet, bP as TaxonomyAttributeTemplate, aP as KnowledgeArticle, bR as UICart, N as CartItem, aq as DestinationQuoteInput, ao as DestinationQuote, S as CartSummary, g as AddToCartInput, P as CartMutationResult, bX as UpdateCartItemInput, at as DiscountDetails, aU as Money, aQ as LineConfiguration, bO as TaxPriceDisplayMode, q as AuthorizationType, aZ as PaymentAuthorizationKind, a_ as PaymentAuthorizationSubmission, b0 as PaymentMethod, aL as InitializePaymentResult, bF as SubmitAuthorizationInput, b6 as PaymentStatusResponse, c2 as VariantDetails, c3 as VariantDetailsDTO, a as AddOnDetails, d as AddOnOptionDetails, b as AddOnGroupDetails, F as BundleSelectionData, ac as CompositeSelectionData, ai as CustomerInputValue, c9 as components, bB as SchedulingMode, aA as DurationUnit, bG as Subscription, bK as SubscriptionWithDetails } from './payment-g0HFkEDU.mjs';
2
+ import { P as PAYMENT_METHOD, B as ORDER_TYPE, z as MobileMoneyProvider, C as CHECKOUT_MODE, e as CHECKOUT_STEP, H as PICKUP_TIME_TYPE, R as RequestOtpInput, I as RequestOtpResult$1, V as VerifyOtpInput, c as AuthResponse, w as LinkStatusResult, t as LinkData, k as CustomerAddress, m as CustomerMobileMoney, l as CustomerLinkPreferences, j as Customer, r as EnrollmentData, u as LinkEnrollResult, E as EnrollAndLinkOrderInput, q as EnrollAndLinkOrderResult, h as CreateAddressInput, U as UpdateAddressInput, i as CreateMobileMoneyInput, v as LinkSession, K as RevokeSessionResult, J as RevokeAllSessionsResult } from './link-D9iSVxt5.mjs';
3
3
 
4
4
  interface RequestContext {
5
5
  method: "GET" | "POST" | "PATCH" | "DELETE";
@@ -735,11 +735,13 @@ interface LocationBooking {
735
735
  service_status: ServiceStatus;
736
736
  }
737
737
  type ProviderResolutionSource = "zone" | "hint" | "fallback" | "rate" | "best_price";
738
+ type DeliveryFeeStatus$1 = "priced" | "arranged";
738
739
  interface DeliveryFeeDetails {
739
740
  zone_id?: string;
740
741
  zone_name?: string;
741
742
  provider: string;
742
743
  provider_resolved_from: ProviderResolutionSource;
744
+ fee_status?: DeliveryFeeStatus$1;
743
745
  /** Named rate this fee was priced under, if any. */
744
746
  rate_id?: string;
745
747
  rate_name?: string;
@@ -790,6 +792,7 @@ declare const MESSAGE_TYPES: {
790
792
  readonly INIT: "init";
791
793
  readonly SET_TOKEN: "set_token";
792
794
  readonly SET_SESSION: "set_session";
795
+ readonly SESSION_CLEARED: "session_cleared";
793
796
  readonly SET_CART: "set_cart";
794
797
  readonly GET_DATA: "get_data";
795
798
  readonly NAVIGATE: "navigate";
@@ -806,6 +809,8 @@ declare const MESSAGE_TYPES: {
806
809
  readonly LOGOUT_COMPLETE: "logout_complete";
807
810
  readonly AUTH_REQUESTED: "auth_requested";
808
811
  readonly SESSION_ESTABLISHED: "session_established";
812
+ readonly SESSION_ESTABLISHMENT_FAILED: "session_establishment_failed";
813
+ readonly CONTINUE_WITHOUT_SAVED_DETAILS: "continue_without_saved_details";
809
814
  readonly CONTACT_PROVIDED: "contact_provided";
810
815
  readonly CHECKOUT_STATUS: "checkout_status";
811
816
  readonly CHECKOUT_COMPLETE: "checkout_complete";
@@ -975,10 +980,22 @@ type ParentToIframeMessage = {
975
980
  } | {
976
981
  type: typeof MESSAGE_TYPES.SET_TOKEN;
977
982
  token: string;
983
+ } | {
984
+ /** Host could not claim the iframe-verified Link identity. The echoed
985
+ * bearer correlates this response to the still-current OTP handoff. */
986
+ type: typeof MESSAGE_TYPES.SESSION_ESTABLISHMENT_FAILED;
987
+ accessToken: string;
988
+ code: string;
989
+ message: string;
978
990
  } | {
979
991
  /** Host cart session; the iframe adopts it so destination quotes read the host's cart. */
980
992
  type: typeof MESSAGE_TYPES.SET_SESSION;
981
993
  sessionToken: string;
994
+ } | {
995
+ /** The host rotated back to anonymous authority. Every sibling iframe
996
+ * must discard its bearer and identity-derived projections. */
997
+ type: typeof MESSAGE_TYPES.SESSION_CLEARED;
998
+ sessionToken: string;
982
999
  } | {
983
1000
  type: typeof MESSAGE_TYPES.NAVIGATE;
984
1001
  path: string;
@@ -1035,6 +1052,12 @@ type IframeToParentMessage = {
1035
1052
  saveToLink: boolean;
1036
1053
  } | {
1037
1054
  type: typeof MESSAGE_TYPES.LOGOUT_COMPLETE;
1055
+ } | {
1056
+ /** Buyer declined or could not establish Link saved-detail authority.
1057
+ * The merchant host decides whether its current session must rotate. */
1058
+ type: typeof MESSAGE_TYPES.CONTINUE_WITHOUT_SAVED_DETAILS;
1059
+ contact: string;
1060
+ contactType: ElementsAuthContactType;
1038
1061
  } | {
1039
1062
  type: typeof MESSAGE_TYPES.SESSION_ESTABLISHED;
1040
1063
  accessToken: string;
@@ -1171,6 +1194,7 @@ type NextAction = {
1171
1194
  provider: string;
1172
1195
  client_secret: string;
1173
1196
  public_key: string;
1197
+ provider_account_id?: string;
1174
1198
  } | {
1175
1199
  type: "redirect";
1176
1200
  authorization_url: string;
@@ -1546,6 +1570,10 @@ interface GetLinkOrderOptions {
1546
1570
  interface IdempotencyOption$6 {
1547
1571
  idempotencyKey?: string;
1548
1572
  }
1573
+ interface LinkAuthOption extends IdempotencyOption$6 {
1574
+ /** Return verified credentials without installing them on the shared client. */
1575
+ activateSession?: boolean;
1576
+ }
1549
1577
  interface SuccessResult {
1550
1578
  success: boolean;
1551
1579
  message?: string;
@@ -1576,10 +1604,15 @@ interface SuccessResult {
1576
1604
  */
1577
1605
  declare class LinkService {
1578
1606
  private client;
1607
+ private activationGeneration;
1579
1608
  constructor(client: CimplifyClient);
1580
- requestOtp(input: RequestOtpInput, opts?: IdempotencyOption$6): Promise<Result<SuccessResult, CimplifyError>>;
1581
- verifyOtp(input: VerifyOtpInput, opts?: IdempotencyOption$6): Promise<Result<AuthResponse, CimplifyError>>;
1582
- refreshSession(sessionToken?: string, opts?: IdempotencyOption$6): Promise<Result<AuthResponse, CimplifyError>>;
1609
+ private beginActivation;
1610
+ private isActivationFenceCurrent;
1611
+ private supersededActivation;
1612
+ private activateAuthenticatedSession;
1613
+ requestOtp(input: RequestOtpInput, opts?: IdempotencyOption$6): Promise<Result<RequestOtpResult$1, CimplifyError>>;
1614
+ verifyOtp(input: VerifyOtpInput, opts?: LinkAuthOption): Promise<Result<AuthResponse, CimplifyError>>;
1615
+ refreshSession(sessionToken?: string, opts?: LinkAuthOption): Promise<Result<AuthResponse, CimplifyError>>;
1583
1616
  logout(): Promise<Result<SuccessResult, CimplifyError>>;
1584
1617
  checkStatus(contact: string): Promise<Result<LinkStatusResult, CimplifyError>>;
1585
1618
  getLinkData(): Promise<Result<LinkData, CimplifyError>>;
@@ -2333,6 +2366,8 @@ interface DeliveryFeeResponse {
2333
2366
  currency: string | null;
2334
2367
  details: DeliveryFeeDetails | null;
2335
2368
  }
2369
+ /** Whether delivery is priced on-platform or arranged directly with the seller. */
2370
+ type DeliveryFeeStatus = "priced" | "arranged";
2336
2371
  /** One entry on the delivery menu — a merchant-named rate ("Standard",
2337
2372
  * "Express", "Outside Accra") priced for the address when required, or the
2338
2373
  * synthesized default when the business has no named rates (`rate_id: null`). */
@@ -2341,6 +2376,7 @@ interface DeliveryOption {
2341
2376
  name: string;
2342
2377
  description?: string;
2343
2378
  fee: Money;
2379
+ fee_status: DeliveryFeeStatus;
2344
2380
  currency: string;
2345
2381
  free_delivery_applied: boolean;
2346
2382
  /** Order value at/above this makes the option free — render "Free over X". */
@@ -2385,6 +2421,8 @@ type SenderType = "customer" | "agent" | "system" | "bot";
2385
2421
  type ContentType = "text" | "image" | "video" | "audio" | "voice" | "document" | "sticker" | "location" | "contact" | "reaction" | "interactive" | "story_mention" | "share";
2386
2422
  interface ChatMessage {
2387
2423
  id: string;
2424
+ /** Monotonic server sequence; absent only on a local optimistic bubble. */
2425
+ sequence?: number;
2388
2426
  sender_type: SenderType;
2389
2427
  content: string;
2390
2428
  content_type: ContentType;
@@ -2394,6 +2432,9 @@ interface ChatMessage {
2394
2432
  reply_to?: ChatReplyContext | null;
2395
2433
  /** Echo of the sender's idempotency key on widget customer messages. */
2396
2434
  client_id?: string | null;
2435
+ /** Trusted provider mutation stamps; deleted messages are removed by the hook. */
2436
+ edited_at?: string | null;
2437
+ deleted_at?: string | null;
2397
2438
  created_at: string;
2398
2439
  }
2399
2440
  /**
@@ -2420,17 +2461,26 @@ interface ChatAttachment {
2420
2461
  interface ChatUploadAttachment extends ChatAttachment {
2421
2462
  upload_id: string;
2422
2463
  }
2464
+ interface ChatPersona {
2465
+ persona_type: "account" | "business";
2466
+ persona_id: string;
2467
+ }
2468
+ /** Direct Account↔Business thread projection from the Chat core. */
2423
2469
  interface ChatConversation {
2424
2470
  id: string;
2425
- status: "open" | "assigned" | "waiting" | "resolved" | "closed";
2426
- ai_enabled: boolean;
2427
- /** The customer asked for a person (or the AI escalated). */
2428
- needs_human_review?: boolean;
2471
+ account_id: string;
2472
+ business_id: string;
2473
+ kind: "direct";
2474
+ ai_mode: "auto" | "assist" | "off";
2475
+ ai_mode_version: number;
2429
2476
  message_count: number;
2430
- created_at: string;
2477
+ last_message_id?: string | null;
2431
2478
  last_message_at: string | null;
2432
- /** Team-wide read watermark; messages at or before it have been seen. */
2433
- team_read_at?: string | null;
2479
+ created_at: string;
2480
+ updated_at: string;
2481
+ archived_at?: string | null;
2482
+ account: ChatPersona;
2483
+ business: ChatPersona;
2434
2484
  }
2435
2485
  /** Structured card references an AI reply may carry in `metadata.cards`. */
2436
2486
  type ChatReplyCard = {
@@ -2452,9 +2502,30 @@ interface ChatConversationResponse {
2452
2502
  interface ClaimConversationResult {
2453
2503
  /** The rotated, customer-bound session token; the SDK adopts it automatically. */
2454
2504
  session_token: string;
2455
- /** The adopted (or merged-into) conversation; null when there was nothing to adopt. */
2456
- thread_id?: string | null;
2505
+ /** The account's canonical direct Chat thread for this business. */
2506
+ thread: ChatConversation;
2457
2507
  customer_name: string;
2508
+ /** Per-envelope, PII-minimal WhatsApp history claim outcomes. */
2509
+ external_claims: ExternalChatClaimAttempt[];
2510
+ /** Candidate discovery failed; retry `claimExternalChats()` later. */
2511
+ external_claims_unavailable: boolean;
2512
+ }
2513
+ type ExternalChatClaimDisposition = "claimed" | "replayed" | "conflict" | "contact_unverified" | "business_unavailable" | "history_empty" | "history_oversize" | "failed";
2514
+ interface ExternalChatClaimAttempt {
2515
+ status: ExternalChatClaimDisposition;
2516
+ thread_id: string | null;
2517
+ imported_message_count: number | null;
2518
+ replayed: boolean;
2519
+ observed_message_count: number | null;
2520
+ maximum_message_count: number | null;
2521
+ }
2522
+ interface ClaimExternalChatsResult {
2523
+ claims: ExternalChatClaimAttempt[];
2524
+ }
2525
+ interface ChatHandoffResponse {
2526
+ thread: ChatConversation;
2527
+ cancelled_turns: number;
2528
+ spending_turns: number;
2458
2529
  }
2459
2530
  interface ChatWidgetStarter {
2460
2531
  icon?: string;
@@ -2477,13 +2548,22 @@ declare class SupportService {
2477
2548
  * Claim the anonymous session for the verified Link identity: the server
2478
2549
  * verifies the access token, rotates the session token (adopted here, so
2479
2550
  * every subsequent request rides the bound session), folds the guest cart
2480
- * in, and adopts or merges the widget conversation.
2551
+ * in, and opens or reuses the account's canonical direct Chat thread.
2481
2552
  *
2482
2553
  * Idempotent and single-flight: concurrent calls share one request, and a
2483
2554
  * token already claimed by this instance short-circuits without a network
2484
- * round trip. Emits `session:claimed` on the client's event channel.
2555
+ * round trip. A session already bound to another Link account is rejected
2556
+ * rather than transferring that account's cart. Emits `session:claimed` on
2557
+ * the client's event channel.
2485
2558
  */
2486
2559
  claimConversation(): Promise<Result<ClaimConversationResult, CimplifyError>>;
2560
+ /**
2561
+ * Retry verified external-history discovery for the current storefront.
2562
+ * Launch scope is intentionally WhatsApp-only because it is the registered
2563
+ * bidirectional transport. Results are per envelope and omit provider ids,
2564
+ * contact values, account ids, and message bodies.
2565
+ */
2566
+ claimExternalChats(): Promise<Result<ClaimExternalChatsResult, CimplifyError>>;
2487
2567
  /**
2488
2568
  * Peek at the conversation without creating one: resolves the existing
2489
2569
  * thread (or null) so a page load can hydrate history without littering
@@ -2509,16 +2589,14 @@ declare class SupportService {
2509
2589
  * backward for scrollback into older history.
2510
2590
  */
2511
2591
  getMessages(options?: {
2512
- after?: string;
2513
- before?: string;
2592
+ afterSequence?: number;
2593
+ beforeSequence?: number;
2514
2594
  limit?: number;
2515
2595
  }): Promise<Result<ChatMessage[], CimplifyError>>;
2516
2596
  /** React to a message in the active conversation by its `ChatMessage.id`. */
2517
2597
  reactToMessage(messageId: string, emoji: string): Promise<Result<ChatMessage, CimplifyError>>;
2518
2598
  /** Ask for a person: flags the thread for the merchant's inbox. */
2519
- requestHuman(opts?: IdempotencyOption): Promise<Result<{
2520
- requested: boolean;
2521
- }, CimplifyError>>;
2599
+ requestHuman(opts?: IdempotencyOption): Promise<Result<ChatHandoffResponse, CimplifyError>>;
2522
2600
  }
2523
2601
 
2524
2602
  declare class CimplifyElements {
@@ -2535,6 +2613,8 @@ declare class CimplifyElements {
2535
2613
  private paymentData;
2536
2614
  private checkoutInProgress;
2537
2615
  private authInProgress;
2616
+ private authEstablishmentInProgress;
2617
+ private authGeneration;
2538
2618
  private activeCheckoutAbort;
2539
2619
  private boundHandleMessage;
2540
2620
  private businessIdResolvePromise;
@@ -2553,14 +2633,18 @@ declare class CimplifyElements {
2553
2633
  getBusinessId(): string | null;
2554
2634
  resolveBusinessId(): Promise<string | null>;
2555
2635
  getAppearance(): ElementsOptions["appearance"];
2636
+ private isAuthGenerationCurrent;
2556
2637
  private hydrateCustomerData;
2557
2638
  private sourceElementFor;
2558
2639
  private sessionStorageKey;
2559
2640
  private persistRefreshToken;
2560
2641
  private clearPersistedSession;
2642
+ private clearClaimedAuthorityAfterRestoreFailure;
2561
2643
  private restoreSession;
2562
2644
  private applyAccessToken;
2645
+ private waitForAuthEstablishment;
2563
2646
  private broadcastAccessToken;
2647
+ private broadcastClearedSession;
2564
2648
  private startEmbeddedAuth;
2565
2649
  private handleMessage;
2566
2650
  _setAddressData(data: AddressInfo): void;
@@ -2726,7 +2810,8 @@ declare class CimplifyClient {
2726
2810
  * refresh restore) binds the anonymous session so the conversation, cart
2727
2811
  * and orders survive a cleared browser. Best-effort by design — a failed
2728
2812
  * claim leaves the session anonymous, exactly as it was. Called by the
2729
- * auth flows, never by the raw token setter.
2813
+ * merchant auth flows, never by the raw token setter. Global Link clients
2814
+ * have no storefront tenant and therefore activate without this step.
2730
2815
  */
2731
2816
  autoClaimChatIdentity(): void;
2732
2817
  /**
@@ -2737,7 +2822,14 @@ declare class CimplifyClient {
2737
2822
  adoptSessionToken(token: string): void;
2738
2823
  clearSession(): void;
2739
2824
  getSessionEpoch(): number;
2825
+ /** Monotonic fence for async work scoped to the current storefront tenant. */
2826
+ getPublicKeyEpoch(): number;
2740
2827
  getSessionToken(): string | null;
2828
+ /** Whether the current transport session is known to have been claimed for
2829
+ * a Link identity, even when its in-memory bearer is absent after reload or
2830
+ * a failed refresh. The sync marker is written only after canonical claim
2831
+ * rotation and is replaced with `cleared` when a fresh session is minted. */
2832
+ hasClaimedSessionAuthority(): boolean;
2741
2833
  publishSessionClaimed(customerName: string | null): void;
2742
2834
  private broadcastSessionSync;
2743
2835
  private watchCrossTabSession;
@@ -2800,4 +2892,4 @@ declare class CimplifyClient {
2800
2892
  }
2801
2893
  declare function createCimplifyClient(config?: CimplifyConfig): CimplifyClient;
2802
2894
 
2803
- export { type CheckoutCollectionOption as $, type AbortablePromise as A, type Booking as B, type CacheOptions as C, type CancelBookingInput as D, type CancelBookingResult as E, type CancelOrderInput as F, type CancellationPolicy as G, type CardPopupAction as H, CartOperations as I, CatalogueQueries as J, type CatalogueResult as K, type CatalogueSnapshot as L, type CategoryInfo as M, type ChatAttachment as N, type ChatConversation as O, type ChatConversationResponse as P, type ChatMessage as Q, type ChatReplyCard as R, type ChatReplyContext as S, type ChatUploadAttachment as T, type ChatWidgetStarter as U, type CheckSlotAvailabilityInput as V, type CheckSlotAvailabilityResult as W, type CheckoutAddressInfo as X, type CheckoutCartData as Y, type CheckoutCartItem as Z, type CheckoutCollectionMethod as _, type ActivityRecommendation as a, type GetDeliveryOptionsParams as a$, type CheckoutCollectionOptions as a0, type CheckoutCustomerInfo as a1, type CheckoutFormData as a2, type CheckoutInput as a3, type CheckoutMode as a4, type CheckoutOrderType as a5, type CheckoutPaymentMethod as a6, type CheckoutResult as a7, CheckoutService as a8, type CheckoutStatus as a9, type ElementEventHandler as aA, type ElementEventType as aB, type ElementOptions as aC, type ElementType as aD, type ElementsAuthContactType as aE, type ElementsAuthMode as aF, type ElementsAuthOptions as aG, type ElementsAuthPrompt as aH, type ElementsCheckoutData as aI, type ElementsCheckoutResult as aJ, type ElementsCustomerInfo as aK, type ElementsOptions as aL, type EnrichedOrder as aM, type EnrichedOrderItem as aN, type Err as aO, type FeeBearerType as aP, type FetchQuoteInput as aQ, type FulfillmentLink as aR, type FulfillmentStatus as aS, type FulfillmentSummaryDTO as aT, type FulfillmentType as aU, type FxQuote as aV, type FxQuoteRequest as aW, type FxQuoteStatus as aX, type FxRateResponse as aY, FxService as aZ, type GetAvailableSlotsInput as a_, type CheckoutStatusContext as aa, type CheckoutStep as ab, CimplifyClient as ac, type CimplifyConfig as ad, CimplifyElement as ae, CimplifyElements as af, type ClaimConversationResult as ag, type ContentType as ah, type CustomerBooking as ai, type CustomerBookingServiceItem as aj, type CustomerServicePreferences as ak, type DayAvailability as al, type DeliveryFeeDetails as am, type DeliveryFeeResponse as an, type DeliveryOption as ao, type DeliveryOptionsQuery as ap, type DeliveryOptionsResponse as aq, DeliveryService as ar, type DepositResult as as, type DismissMessageResponse as at, ELEMENTS_AUTH_CONTACT_TYPES as au, ELEMENTS_AUTH_MODES as av, ELEMENTS_AUTH_PROMPTS as aw, ELEMENT_TYPES as ax, EVENT_TYPES as ay, type ElementAppearance as az, type ActivityRecommendationsResponse as b, PlacesService as b$, type GetOrdersOptions as b0, type GetProductsOptions as b1, type GroupOrderInfo as b2, type IframeToParentMessage as b3, InventoryService as b4, type LifecyclePhase as b5, type LineItem as b6, type LineType as b7, LinkService as b8, type LiteBootstrap as b9, type OrderHistory as bA, type OrderLineState as bB, type OrderLineStatus as bC, type OrderLocationInfo as bD, type OrderPaymentEvent as bE, type OrderPricingView as bF, OrderQueries as bG, type OrderSplitDetail as bH, type OrderStaffInfo as bI, type OrderStatus as bJ, type OrderTimestampsDTO as bK, type OrderType as bL, type Origin as bM, type OriginActor as bN, type OriginChannel as bO, type OtpResult as bP, type ParentToIframeMessage as bQ, type PaymentAuthorizationAdapter as bR, PaymentAuthorizationAdapterRegistry as bS, type PaymentAuthorizationContext as bT, type PaymentAuthorizationOutcome as bU, type PaymentInfoDTO as bV, type PaymentMethodInfo as bW, type PaymentState as bX, type PickupTime as bY, type PickupTimeType as bZ, type PlaceDetailsResponse as b_, type LiteDayHours as ba, type LiteHoursRange as bb, LiteService as bc, type Location as bd, type LocationBooking as be, type LocationTaxBehavior as bf, type LocationTaxOverrides as bg, type LocationTimeProfile as bh, type LocationWithDetails as bi, MESSAGE_TYPES as bj, type MobileMoneyDetails as bk, type NextAction as bl, type ObservabilityHooks as bm, type Ok as bn, type Order as bo, type OrderCustomerInfo as bp, type OrderDiscountInfo as bq, type OrderFilter as br, type OrderFulfillmentSummary as bs, type OrderGroup as bt, type OrderGroupDetails as bu, type OrderGroupPayment as bv, type OrderGroupPaymentState as bw, type OrderGroupPaymentStatus as bx, type OrderGroupPaymentSummary as by, type OrderGroupStatus as bz, ActivityService as c, type Table as c$, type PriceQuote as c0, type PricingOverrides as c1, type ProcessAndResolveOptions as c2, type ProcessCheckoutOptions as c3, type ProcessCheckoutResult as c4, type ProviderResolutionSource as c5, type QuoteBundleSelectionInput as c6, type QuoteCompositeSelectionInput as c7, type QuoteDynamicBuckets as c8, type QuoteStatus as c9, type SchedulingMetadata as cA, type SchedulingResult as cB, SchedulingService as cC, type SenderType as cD, type Service as cE, type ServiceAvailabilityParams as cF, type ServiceAvailabilityResult as cG, type ServiceCharge as cH, type ServiceNotes as cI, type ServiceScheduleRequest as cJ, type ServiceStatus as cK, type SessionActivityData as cL, type SessionChangeEvent as cM, type SessionMessage as cN, type SlotResourceInfo as cO, type SlotStaffInfo as cP, type Staff as cQ, type StaffAssignment as cR, type StaffRole as cS, type StaffScheduleItem as cT, type StockLevel as cU, type StockStatus as cV, type StoreCreditBalance as cW, StoreCreditQueries as cX, type StorefrontBootstrap as cY, SubscriptionService as cZ, SupportService as c_, type QuoteUiMessage as ca, type ReadRequestOptions as cb, type RefreshQuoteInput as cc, type RefreshQuoteResult as cd, type RefundOrderInput as ce, type RelatedCandidate as cf, type RelatedProduct as cg, type RelatedProductsEnrichment as ch, type RelationType as ci, type ReminderMethod as cj, type ReminderSettings as ck, type ReorderResult as cl, type RequestContext as cm, type RequestErrorEvent as cn, type RequestOptions as co, type RequestSource as cp, type RequestStartEvent as cq, type RequestSuccessEvent as cr, type RescheduleBookingInput as cs, type RescheduleBookingResult as ct, type RescheduleHistoryRecord as cu, type ResourceAssignment as cv, type ResourceInfo as cw, type Result as cx, type RetryEvent as cy, type Room as cz, type ActivityStateResponse as d, type TimeRange as d0, type TimeRanges as d1, type TimeSlot as d2, type TrackCategoryViewOptions as d3, type TrackProductViewOptions as d4, type UpdateOrderStatusInput as d5, type UpdateProfileInput as d6, type UploadInitResponse as d7, type UploadResult as d8, UploadService as d9, combine as da, combineObject as db, createCimplifyClient as dc, createDefaultPaymentAuthorizationAdapterRegistry as dd, createElements as de, err as df, flatMap as dg, fromPromise as dh, getOrElse as di, isErr as dj, isOk as dk, mapError as dl, mapResult as dm, ok as dn, toNullable as dp, tryCatch as dq, unwrap as dr, type AddressInfo as e, type AmountToPay as f, AuthService as g, type AuthStatus as h, type AuthenticatedCustomer as i, type AuthenticatedData as j, type AuthorizeCardPopupOptions as k, type AutocompletePrediction as l, type AutocompleteResponse as m, type AvailabilityResult as n, type AvailableSlot as o, type BookingModificationType as p, type BookingStatus as q, type BookingWithDetails as r, type BufferTimes as s, type Business as t, type BusinessDetailsDTO as u, type BusinessHours as v, type BusinessPreferences as w, BusinessService as x, type BusinessSettings as y, type BusinessWithLocations as z };
2895
+ export { type CheckoutCollectionOption as $, type AbortablePromise as A, type Booking as B, type CacheOptions as C, type CancelBookingInput as D, type CancelBookingResult as E, type CancelOrderInput as F, type CancellationPolicy as G, type CardPopupAction as H, CartOperations as I, CatalogueQueries as J, type CatalogueResult as K, type CatalogueSnapshot as L, type CategoryInfo as M, type ChatAttachment as N, type ChatConversation as O, type ChatConversationResponse as P, type ChatMessage as Q, type ChatReplyCard as R, type ChatReplyContext as S, type ChatUploadAttachment as T, type ChatWidgetStarter as U, type CheckSlotAvailabilityInput as V, type CheckSlotAvailabilityResult as W, type CheckoutAddressInfo as X, type CheckoutCartData as Y, type CheckoutCartItem as Z, type CheckoutCollectionMethod as _, type ActivityRecommendation as a, type FxQuoteStatus as a$, type CheckoutCollectionOptions as a0, type CheckoutCustomerInfo as a1, type CheckoutFormData as a2, type CheckoutInput as a3, type CheckoutMode as a4, type CheckoutOrderType as a5, type CheckoutPaymentMethod as a6, type CheckoutResult as a7, CheckoutService as a8, type CheckoutStatus as a9, EVENT_TYPES as aA, type ElementAppearance as aB, type ElementEventHandler as aC, type ElementEventType as aD, type ElementOptions as aE, type ElementType as aF, type ElementsAuthContactType as aG, type ElementsAuthMode as aH, type ElementsAuthOptions as aI, type ElementsAuthPrompt as aJ, type ElementsCheckoutData as aK, type ElementsCheckoutResult as aL, type ElementsCustomerInfo as aM, type ElementsOptions as aN, type EnrichedOrder as aO, type EnrichedOrderItem as aP, type Err as aQ, type ExternalChatClaimAttempt as aR, type ExternalChatClaimDisposition as aS, type FeeBearerType as aT, type FetchQuoteInput as aU, type FulfillmentLink as aV, type FulfillmentStatus as aW, type FulfillmentSummaryDTO as aX, type FulfillmentType as aY, type FxQuote as aZ, type FxQuoteRequest as a_, type CheckoutStatusContext as aa, type CheckoutStep as ab, CimplifyClient as ac, type CimplifyConfig as ad, CimplifyElement as ae, CimplifyElements as af, type ClaimConversationResult as ag, type ClaimExternalChatsResult as ah, type ContentType as ai, type CustomerBooking as aj, type CustomerBookingServiceItem as ak, type CustomerServicePreferences as al, type DayAvailability as am, type DeliveryFeeDetails as an, type DeliveryFeeResponse as ao, type DeliveryFeeStatus as ap, type DeliveryOption as aq, type DeliveryOptionsQuery as ar, type DeliveryOptionsResponse as as, DeliveryService as at, type DepositResult as au, type DismissMessageResponse as av, ELEMENTS_AUTH_CONTACT_TYPES as aw, ELEMENTS_AUTH_MODES as ax, ELEMENTS_AUTH_PROMPTS as ay, ELEMENT_TYPES as az, type ActivityRecommendationsResponse as b, type PaymentState as b$, type FxRateResponse as b0, FxService as b1, type GetAvailableSlotsInput as b2, type GetDeliveryOptionsParams as b3, type GetOrdersOptions as b4, type GetProductsOptions as b5, type GroupOrderInfo as b6, type IframeToParentMessage as b7, InventoryService as b8, type LifecyclePhase as b9, type OrderGroupPaymentState as bA, type OrderGroupPaymentStatus as bB, type OrderGroupPaymentSummary as bC, type OrderGroupStatus as bD, type OrderHistory as bE, type OrderLineState as bF, type OrderLineStatus as bG, type OrderLocationInfo as bH, type OrderPaymentEvent as bI, type OrderPricingView as bJ, OrderQueries as bK, type OrderSplitDetail as bL, type OrderStaffInfo as bM, type OrderStatus as bN, type OrderTimestampsDTO as bO, type OrderType as bP, type Origin as bQ, type OriginActor as bR, type OriginChannel as bS, type OtpResult as bT, type ParentToIframeMessage as bU, type PaymentAuthorizationAdapter as bV, PaymentAuthorizationAdapterRegistry as bW, type PaymentAuthorizationContext as bX, type PaymentAuthorizationOutcome as bY, type PaymentInfoDTO as bZ, type PaymentMethodInfo as b_, type LineItem as ba, type LineType as bb, LinkService as bc, type LiteBootstrap as bd, type LiteDayHours as be, type LiteHoursRange as bf, LiteService as bg, type Location as bh, type LocationBooking as bi, type LocationTaxBehavior as bj, type LocationTaxOverrides as bk, type LocationTimeProfile as bl, type LocationWithDetails as bm, MESSAGE_TYPES as bn, type MobileMoneyDetails as bo, type NextAction as bp, type ObservabilityHooks as bq, type Ok as br, type Order as bs, type OrderCustomerInfo as bt, type OrderDiscountInfo as bu, type OrderFilter as bv, type OrderFulfillmentSummary as bw, type OrderGroup as bx, type OrderGroupDetails as by, type OrderGroupPayment as bz, ActivityService as c, StoreCreditQueries as c$, type PickupTime as c0, type PickupTimeType as c1, type PlaceDetailsResponse as c2, PlacesService as c3, type PriceQuote as c4, type PricingOverrides as c5, type ProcessAndResolveOptions as c6, type ProcessCheckoutOptions as c7, type ProcessCheckoutResult as c8, type ProviderResolutionSource as c9, type ResourceInfo as cA, type Result as cB, type RetryEvent as cC, type Room as cD, type SchedulingMetadata as cE, type SchedulingResult as cF, SchedulingService as cG, type SenderType as cH, type Service as cI, type ServiceAvailabilityParams as cJ, type ServiceAvailabilityResult as cK, type ServiceCharge as cL, type ServiceNotes as cM, type ServiceScheduleRequest as cN, type ServiceStatus as cO, type SessionActivityData as cP, type SessionChangeEvent as cQ, type SessionMessage as cR, type SlotResourceInfo as cS, type SlotStaffInfo as cT, type Staff as cU, type StaffAssignment as cV, type StaffRole as cW, type StaffScheduleItem as cX, type StockLevel as cY, type StockStatus as cZ, type StoreCreditBalance as c_, type QuoteBundleSelectionInput as ca, type QuoteCompositeSelectionInput as cb, type QuoteDynamicBuckets as cc, type QuoteStatus as cd, type QuoteUiMessage as ce, type ReadRequestOptions as cf, type RefreshQuoteInput as cg, type RefreshQuoteResult as ch, type RefundOrderInput as ci, type RelatedCandidate as cj, type RelatedProduct as ck, type RelatedProductsEnrichment as cl, type RelationType as cm, type ReminderMethod as cn, type ReminderSettings as co, type ReorderResult as cp, type RequestContext as cq, type RequestErrorEvent as cr, type RequestOptions as cs, type RequestSource as ct, type RequestStartEvent as cu, type RequestSuccessEvent as cv, type RescheduleBookingInput as cw, type RescheduleBookingResult as cx, type RescheduleHistoryRecord as cy, type ResourceAssignment as cz, type ActivityStateResponse as d, type StorefrontBootstrap as d0, SubscriptionService as d1, SupportService as d2, type Table as d3, type TimeRange as d4, type TimeRanges as d5, type TimeSlot as d6, type TrackCategoryViewOptions as d7, type TrackProductViewOptions as d8, type UpdateOrderStatusInput as d9, type UpdateProfileInput as da, type UploadInitResponse as db, type UploadResult as dc, UploadService as dd, combine as de, combineObject as df, createCimplifyClient as dg, createDefaultPaymentAuthorizationAdapterRegistry as dh, createElements as di, err as dj, flatMap as dk, fromPromise as dl, getOrElse as dm, isErr as dn, isOk as dp, mapError as dq, mapResult as dr, ok as ds, toNullable as dt, tryCatch as du, unwrap as dv, type AddressInfo as e, type AmountToPay as f, AuthService as g, type AuthStatus as h, type AuthenticatedCustomer as i, type AuthenticatedData as j, type AuthorizeCardPopupOptions as k, type AutocompletePrediction as l, type AutocompleteResponse as m, type AvailabilityResult as n, type AvailableSlot as o, type BookingModificationType as p, type BookingStatus as q, type BookingWithDetails as r, type BufferTimes as s, type Business as t, type BusinessDetailsDTO as u, type BusinessHours as v, type BusinessPreferences as w, BusinessService as x, type BusinessSettings as y, type BusinessWithLocations as z };
@@ -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 { ac as CimplifyClient } from './client-D5AoobFc.mjs';
2
+ import { A as AppHandle, C as CreateAppOptions } from './server-BkVhOIwn.mjs';
3
3
 
4
4
  /**
5
5
  * Test client + fixtures.
@@ -1,6 +1,6 @@
1
- import { 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 { aU as Money, af as CurrencyCode, bc as PricePathTaxInfo, be as Product, bs as ProductWithDetails, bv as QuantityPricingTier, a$ as PaymentErrorDetails, b4 as PaymentResponse, b6 as PaymentStatusResponse } from './payment-g0HFkEDU.js';
2
+ import { P as ProductWithPrice } from './price-BLIeAb8K.js';
3
+ import { z as MobileMoneyProvider } from './link-D9iSVxt5.js';
4
4
  import { CountryCode } from 'libphonenumber-js';
5
5
 
6
6
  declare const CURRENCY_SYMBOLS: Record<string, string>;
@@ -1,6 +1,6 @@
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 { aU as Money, af as CurrencyCode, bc as PricePathTaxInfo, be as Product, bs as ProductWithDetails, bv as QuantityPricingTier, a$ as PaymentErrorDetails, b4 as PaymentResponse, b6 as PaymentStatusResponse } from './payment-g0HFkEDU.mjs';
2
+ import { P as ProductWithPrice } from './price-Czq_cTC_.mjs';
3
+ import { z as MobileMoneyProvider } from './link-D9iSVxt5.mjs';
4
4
  import { CountryCode } from 'libphonenumber-js';
5
5
 
6
6
  declare const CURRENCY_SYMBOLS: Record<string, string>;
package/dist/index.d.mts CHANGED
@@ -1,11 +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 { 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';
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';
8
+ export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-Czq_cTC_.mjs';
9
9
  export { generateIdempotencyKey } from './advanced.mjs';
10
10
  import 'libphonenumber-js';
11
11
 
@@ -69,7 +69,9 @@ interface StripeLike {
69
69
  paymentIntent?: StripePaymentIntentLike;
70
70
  }>;
71
71
  }
72
- type StripeLoader = (publicKey: string) => Promise<StripeLike | null>;
72
+ type StripeLoader = (publicKey: string, options?: {
73
+ stripeAccount?: string;
74
+ }) => Promise<StripeLike | null>;
73
75
  /**
74
76
  * Stripe card adapter backed by the Payment Element. It reports only that the
75
77
  * provider interaction was submitted; CheckoutResolver still polls Cimplify
package/dist/index.d.ts CHANGED
@@ -1,11 +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 { 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';
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';
8
+ export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-BLIeAb8K.js';
9
9
  export { generateIdempotencyKey } from './advanced.js';
10
10
  import 'libphonenumber-js';
11
11
 
@@ -69,7 +69,9 @@ interface StripeLike {
69
69
  paymentIntent?: StripePaymentIntentLike;
70
70
  }>;
71
71
  }
72
- type StripeLoader = (publicKey: string) => Promise<StripeLike | null>;
72
+ type StripeLoader = (publicKey: string, options?: {
73
+ stripeAccount?: string;
74
+ }) => Promise<StripeLike | null>;
73
75
  /**
74
76
  * Stripe card adapter backed by the Payment Element. It reports only that the
75
77
  * provider interaction was submitted; CheckoutResolver still polls Cimplify