@cimplify/sdk 0.106.2 → 0.107.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 (58) hide show
  1. package/dist/advanced.d.mts +3 -3
  2. package/dist/advanced.d.ts +3 -3
  3. package/dist/advanced.js +20 -20
  4. package/dist/advanced.mjs +1 -1
  5. package/dist/{catalogue-ChBjPPME.d.ts → catalogue-BohD-jU_.d.mts} +44 -38
  6. package/dist/{catalogue-CVKH9faR.d.mts → catalogue-C4xKpirp.d.ts} +44 -38
  7. package/dist/{chunk-T3MXI7JD.mjs → chunk-2I6YKE6Q.mjs} +85 -126
  8. package/dist/{chunk-7O2BBPDM.js → chunk-73HY36Z7.js} +4 -4
  9. package/dist/{chunk-B7JH5D3J.js → chunk-HKCB73AJ.js} +85 -126
  10. package/dist/{chunk-4VTFTLH7.mjs → chunk-IWZKCL3P.mjs} +2 -2
  11. package/dist/{chunk-L4XKIMUO.mjs → chunk-MKZXZDHE.mjs} +17 -0
  12. package/dist/{chunk-NJK3THWT.js → chunk-NX5YBQZP.js} +17 -0
  13. package/dist/{chunk-LJAZ7H4I.mjs → chunk-P4HYAV3L.mjs} +102 -82
  14. package/dist/{chunk-BCLGREHS.js → chunk-W4ZFZPPY.js} +181 -160
  15. package/dist/{client-BfKFK7cn.d.mts → client-BBFfAtn4.d.mts} +2 -2
  16. package/dist/{client-DoczTJbs.d.ts → client-ByURQZM9.d.ts} +2 -2
  17. package/dist/{checkout-XoV4HNg2.d.mts → elements-Dtqe9Ekd.d.mts} +348 -361
  18. package/dist/{checkout-XoV4HNg2.d.ts → elements-Dtqe9Ekd.d.ts} +348 -361
  19. package/dist/{index-DEUorPUO.d.mts → index-7oz-hVVA.d.mts} +2 -2
  20. package/dist/{index-DRMBo26v.d.mts → index-B6mukQYB.d.mts} +2 -2
  21. package/dist/{index-Dn6xCpDe.d.ts → index-CvLuAMjQ.d.ts} +2 -2
  22. package/dist/{index-DweR60Cv.d.ts → index-DFqDU6yU.d.ts} +2 -2
  23. package/dist/index.d.mts +7 -7
  24. package/dist/index.d.ts +7 -7
  25. package/dist/index.js +71 -67
  26. package/dist/index.mjs +3 -3
  27. package/dist/mock/cli.mjs +17 -0
  28. package/dist/mock/library.js +17 -0
  29. package/dist/mock/library.mjs +17 -0
  30. package/dist/mock/msw.js +17 -0
  31. package/dist/mock/msw.mjs +17 -0
  32. package/dist/{price-De-sxcuj.d.ts → price-B4jL81ef.d.ts} +1 -1
  33. package/dist/{price-CUGIYRtD.d.mts → price-Pyq-vlrm.d.mts} +1 -1
  34. package/dist/react.d.mts +3 -3
  35. package/dist/react.d.ts +3 -3
  36. package/dist/react.js +34 -34
  37. package/dist/react.mjs +5 -5
  38. package/dist/{server-7soMMUgP.d.ts → server-Cowuvfbr.d.ts} +1 -1
  39. package/dist/{server-DDEJ7e9s.d.mts → server-KilvZJU0.d.mts} +1 -1
  40. package/dist/server.d.mts +3 -3
  41. package/dist/server.d.ts +3 -3
  42. package/dist/server.js +7 -7
  43. package/dist/server.mjs +2 -2
  44. package/dist/testing/msw.d.mts +2 -2
  45. package/dist/testing/msw.d.ts +2 -2
  46. package/dist/testing/msw.js +2 -2
  47. package/dist/testing/msw.mjs +1 -1
  48. package/dist/testing/suite.d.mts +5 -5
  49. package/dist/testing/suite.d.ts +5 -5
  50. package/dist/testing/suite.js +24 -24
  51. package/dist/testing/suite.mjs +4 -4
  52. package/dist/testing.d.mts +4 -4
  53. package/dist/testing.d.ts +4 -4
  54. package/dist/testing.js +116 -116
  55. package/dist/testing.mjs +5 -5
  56. package/dist/utils.d.mts +3 -3
  57. package/dist/utils.d.ts +3 -3
  58. package/package.json +1 -1
@@ -7345,128 +7345,6 @@ interface CartSummary {
7345
7345
  currency: CurrencyCode;
7346
7346
  }
7347
7347
 
7348
- type PaymentStatus = "initialized" | "pending" | "processing" | "authorized" | "captured" | "not_required" | "failed" | "cancelled" | "refunded" | "unknown" | "voided" | "requires_action" | "abandoned" | "reversed" | "disputed" | "refund_pending";
7349
- type PaymentProvider = "stripe" | "paystack" | "cellulant" | "mtn_momo" | "offline" | "mtn" | "vodafone" | "airtel" | "cash" | "manual";
7350
- type PaymentMethodType = "card" | "bank_transfer" | "cash" | {
7351
- mobile_money: {
7352
- provider: string;
7353
- phone_number: string;
7354
- };
7355
- } | {
7356
- ussd: {
7357
- provider: string;
7358
- };
7359
- } | {
7360
- bank: {
7361
- bank_code: string;
7362
- account_number: string;
7363
- account_name?: string;
7364
- bank_name?: string;
7365
- };
7366
- } | {
7367
- qr: {
7368
- provider: string;
7369
- };
7370
- } | {
7371
- wallet: {
7372
- provider: string;
7373
- };
7374
- } | {
7375
- crypto: {
7376
- currency: string;
7377
- };
7378
- } | {
7379
- custom: string;
7380
- };
7381
- interface AddressAuthorizationData {
7382
- address: string;
7383
- city: string;
7384
- state: string;
7385
- zip_code: string;
7386
- }
7387
- type PaymentAuthorizationKind = "otp" | "pin" | "phone" | "birthday" | "address";
7388
- type AuthorizationType = Exclude<PaymentAuthorizationKind, "address"> | {
7389
- address: AddressAuthorizationData;
7390
- };
7391
- /** Customer input for one provider-requested authorization challenge. */
7392
- type PaymentAuthorizationSubmission = {
7393
- type: Exclude<PaymentAuthorizationKind, "address">;
7394
- value: string;
7395
- } | ({
7396
- type: "address";
7397
- } & AddressAuthorizationData);
7398
- type PaymentProcessingState = "initial" | "preparing" | "processing" | "verifying" | "awaiting_authorization" | "success" | "error" | "timeout";
7399
- interface PaymentMethod {
7400
- type: PaymentMethodType;
7401
- provider?: string;
7402
- phone_number?: string;
7403
- card_last_four?: string;
7404
- custom_value?: string;
7405
- }
7406
- interface Payment {
7407
- id: string;
7408
- order_id: string;
7409
- business_id: string;
7410
- amount: Money;
7411
- currency: CurrencyCode;
7412
- payment_method: PaymentMethod;
7413
- status: PaymentStatus;
7414
- provider: PaymentProvider;
7415
- provider_reference?: string;
7416
- failure_reason?: string;
7417
- created_at: string;
7418
- updated_at: string;
7419
- }
7420
- interface InitializePaymentResult {
7421
- payment_id: string;
7422
- status: PaymentStatus;
7423
- redirect_url?: string;
7424
- authorization_url?: string;
7425
- reference: string;
7426
- provider: PaymentProvider;
7427
- }
7428
- interface PaymentResponse {
7429
- method: string;
7430
- provider: string;
7431
- requires_action: boolean;
7432
- public_key?: string;
7433
- client_secret?: string;
7434
- access_code?: string;
7435
- redirect_url?: string;
7436
- transaction_id?: string;
7437
- order_id?: string;
7438
- reference?: string;
7439
- metadata?: Record<string, unknown>;
7440
- instructions?: string;
7441
- display_text?: string;
7442
- requires_authorization?: boolean;
7443
- authorization_type?: AuthorizationType;
7444
- provider_payment_id?: string;
7445
- }
7446
- interface PaymentStatusResponse {
7447
- status: PaymentStatus;
7448
- paid: boolean;
7449
- amount: Money;
7450
- currency: string;
7451
- reference?: string;
7452
- message: string;
7453
- }
7454
- interface PaymentErrorDetails {
7455
- code: string;
7456
- message: string;
7457
- recoverable: boolean;
7458
- technical?: string;
7459
- }
7460
- interface SubmitAuthorizationInput {
7461
- /**
7462
- * Opaque payment id returned by this CheckoutService instance's `process()`
7463
- * action response. The deprecated adapter resolves it only to the matching
7464
- * in-memory purchase-intent + attempt authority.
7465
- */
7466
- payment_id: string;
7467
- authorization: PaymentAuthorizationSubmission;
7468
- }
7469
-
7470
7348
  declare const CHECKOUT_MODE: {
7471
7349
  readonly LINK: "link";
7472
7350
  readonly GUEST: "guest";
@@ -7798,6 +7676,128 @@ interface AuthResponse {
7798
7676
  message: string;
7799
7677
  }
7800
7678
 
7679
+ type PaymentStatus = "initialized" | "pending" | "processing" | "authorized" | "captured" | "not_required" | "failed" | "cancelled" | "refunded" | "unknown" | "voided" | "requires_action" | "abandoned" | "reversed" | "disputed" | "refund_pending";
7680
+ type PaymentProvider = "stripe" | "paystack" | "cellulant" | "mtn_momo" | "offline" | "mtn" | "vodafone" | "airtel" | "cash" | "manual";
7681
+ type PaymentMethodType = "card" | "bank_transfer" | "cash" | {
7682
+ mobile_money: {
7683
+ provider: string;
7684
+ phone_number: string;
7685
+ };
7686
+ } | {
7687
+ ussd: {
7688
+ provider: string;
7689
+ };
7690
+ } | {
7691
+ bank: {
7692
+ bank_code: string;
7693
+ account_number: string;
7694
+ account_name?: string;
7695
+ bank_name?: string;
7696
+ };
7697
+ } | {
7698
+ qr: {
7699
+ provider: string;
7700
+ };
7701
+ } | {
7702
+ wallet: {
7703
+ provider: string;
7704
+ };
7705
+ } | {
7706
+ crypto: {
7707
+ currency: string;
7708
+ };
7709
+ } | {
7710
+ custom: string;
7711
+ };
7712
+ interface AddressAuthorizationData {
7713
+ address: string;
7714
+ city: string;
7715
+ state: string;
7716
+ zip_code: string;
7717
+ }
7718
+ type PaymentAuthorizationKind = "otp" | "pin" | "phone" | "birthday" | "address";
7719
+ type AuthorizationType = Exclude<PaymentAuthorizationKind, "address"> | {
7720
+ address: AddressAuthorizationData;
7721
+ };
7722
+ /** Customer input for one provider-requested authorization challenge. */
7723
+ type PaymentAuthorizationSubmission = {
7724
+ type: Exclude<PaymentAuthorizationKind, "address">;
7725
+ value: string;
7726
+ } | ({
7727
+ type: "address";
7728
+ } & AddressAuthorizationData);
7729
+ type PaymentProcessingState = "initial" | "preparing" | "processing" | "verifying" | "awaiting_authorization" | "success" | "error" | "timeout";
7730
+ interface PaymentMethod {
7731
+ type: PaymentMethodType;
7732
+ provider?: string;
7733
+ phone_number?: string;
7734
+ card_last_four?: string;
7735
+ custom_value?: string;
7736
+ }
7737
+ interface Payment {
7738
+ id: string;
7739
+ order_id: string;
7740
+ business_id: string;
7741
+ amount: Money;
7742
+ currency: CurrencyCode;
7743
+ payment_method: PaymentMethod;
7744
+ status: PaymentStatus;
7745
+ provider: PaymentProvider;
7746
+ provider_reference?: string;
7747
+ failure_reason?: string;
7748
+ created_at: string;
7749
+ updated_at: string;
7750
+ }
7751
+ interface InitializePaymentResult {
7752
+ payment_id: string;
7753
+ status: PaymentStatus;
7754
+ redirect_url?: string;
7755
+ authorization_url?: string;
7756
+ reference: string;
7757
+ provider: PaymentProvider;
7758
+ }
7759
+ interface PaymentResponse {
7760
+ method: string;
7761
+ provider: string;
7762
+ requires_action: boolean;
7763
+ public_key?: string;
7764
+ client_secret?: string;
7765
+ access_code?: string;
7766
+ redirect_url?: string;
7767
+ transaction_id?: string;
7768
+ order_id?: string;
7769
+ reference?: string;
7770
+ metadata?: Record<string, unknown>;
7771
+ instructions?: string;
7772
+ display_text?: string;
7773
+ requires_authorization?: boolean;
7774
+ authorization_type?: AuthorizationType;
7775
+ provider_payment_id?: string;
7776
+ }
7777
+ interface PaymentStatusResponse {
7778
+ status: PaymentStatus;
7779
+ paid: boolean;
7780
+ amount: Money;
7781
+ currency: string;
7782
+ reference?: string;
7783
+ message: string;
7784
+ }
7785
+ interface PaymentErrorDetails {
7786
+ code: string;
7787
+ message: string;
7788
+ recoverable: boolean;
7789
+ technical?: string;
7790
+ }
7791
+ interface SubmitAuthorizationInput {
7792
+ /**
7793
+ * Opaque payment id returned by this CheckoutService instance's `process()`
7794
+ * action response. The deprecated adapter resolves it only to the matching
7795
+ * in-memory purchase-intent + attempt authority.
7796
+ */
7797
+ payment_id: string;
7798
+ authorization: PaymentAuthorizationSubmission;
7799
+ }
7800
+
7801
7801
  declare const PURCHASE_INTENT_SOURCE_KIND: {
7802
7802
  readonly PRODUCT: "product";
7803
7803
  readonly COLLECTION: "collection";
@@ -8428,24 +8428,225 @@ type PurchaseIntentResolution = {
8428
8428
  }>;
8429
8429
  };
8430
8430
 
8431
- type OrderType = (typeof ORDER_TYPE)[keyof typeof ORDER_TYPE];
8432
- declare const ELEMENT_TYPES: {
8433
- readonly AUTH: "auth";
8434
- readonly ADDRESS: "address";
8435
- readonly PAYMENT: "payment";
8436
- readonly CHECKOUT: "checkout";
8437
- readonly ACCOUNT: "account";
8438
- };
8439
- type ElementType = (typeof ELEMENT_TYPES)[keyof typeof ELEMENT_TYPES];
8440
- declare const MESSAGE_TYPES: {
8441
- readonly INIT: "init";
8442
- readonly SET_TOKEN: "set_token";
8443
- readonly SET_SESSION: "set_session";
8444
- readonly SESSION_CLEARED: "session_cleared";
8431
+ type CheckoutMode = (typeof CHECKOUT_MODE)[keyof typeof CHECKOUT_MODE];
8432
+ type CheckoutOrderType = (typeof ORDER_TYPE)[keyof typeof ORDER_TYPE];
8433
+ type CheckoutPaymentMethod = (typeof PAYMENT_METHOD)[keyof typeof PAYMENT_METHOD];
8434
+ type CheckoutStep = (typeof CHECKOUT_STEP)[keyof typeof CHECKOUT_STEP];
8435
+ type PickupTimeType = (typeof PICKUP_TIME_TYPE)[keyof typeof PICKUP_TIME_TYPE];
8436
+ type CheckoutCollectionMethod = (typeof PAYMENT_METHOD)[keyof typeof PAYMENT_METHOD];
8437
+ /** Storefront-safe collection capability. Provider and route identities stay server-side. */
8438
+ type CheckoutCollectionOption = {
8439
+ method: typeof PAYMENT_METHOD.CARD;
8440
+ network: null;
8441
+ } | {
8442
+ method: typeof PAYMENT_METHOD.MOBILE_MONEY;
8443
+ network: string;
8444
+ };
8445
+ interface CheckoutCollectionOptions {
8446
+ presentment_currency: CurrencyCode;
8447
+ options: CheckoutCollectionOption[];
8448
+ }
8449
+ interface PickupTime {
8450
+ type: PickupTimeType;
8451
+ scheduled_time?: string;
8452
+ }
8453
+ interface CheckoutAddressInfo {
8454
+ street_address?: string;
8455
+ apartment?: string;
8456
+ city?: string;
8457
+ region?: string;
8458
+ postal_code?: string;
8459
+ country?: string;
8460
+ delivery_instructions?: string;
8461
+ phone_for_delivery?: string;
8462
+ latitude?: number;
8463
+ longitude?: number;
8464
+ pickup_time?: string;
8465
+ guest_count?: number;
8466
+ seating_time?: string;
8467
+ seating_requests?: string;
8468
+ }
8469
+ interface MobileMoneyDetails {
8470
+ phone_number: string;
8471
+ provider: MobileMoneyProvider;
8472
+ provider_other?: string;
8473
+ }
8474
+ interface CheckoutCustomerInfo {
8475
+ name: string;
8476
+ email: string;
8477
+ phone: string;
8478
+ notes?: string;
8479
+ save_details: boolean;
8480
+ }
8481
+ interface CheckoutFormData {
8482
+ cart_id: string;
8483
+ location_id?: string;
8484
+ customer: CheckoutCustomerInfo;
8485
+ order_type: CheckoutOrderType;
8486
+ address_info: CheckoutAddressInfo;
8487
+ /** Named delivery rate the customer selected (from `delivery.getOptions`).
8488
+ * Selection only — the fee is always recomputed server-side. Omit for the
8489
+ * merchant's default option. */
8490
+ delivery_rate_id?: string;
8491
+ payment_method: string;
8492
+ mobile_money_details?: MobileMoneyDetails;
8493
+ special_instructions?: string;
8494
+ link_address_id?: string;
8495
+ link_payment_method_id?: string;
8496
+ idempotency_key?: string;
8497
+ metadata?: Record<string, unknown>;
8498
+ pay_currency?: CurrencyCode;
8499
+ fx_quote_id?: string;
8500
+ /** Apply the shopper's available store credit (capped at the amount owed) as a
8501
+ * fee-exempt tender before charging the rail. */
8502
+ use_store_credit?: boolean;
8503
+ /** Bearer voucher / gift code to allocate to this order. Its frozen amount
8504
+ * remains distinct from saved account balance in accepted terms. */
8505
+ voucher_code?: string;
8506
+ /** Pay only the required deposit now (balance collected later) instead of the
8507
+ * full total. Only honored when the order is deposit-eligible and paying in
8508
+ * the order's native currency. */
8509
+ pay_deposit?: boolean;
8510
+ }
8511
+ type NextAction = {
8512
+ type: typeof CHECKOUT_NEXT_ACTION.NONE;
8513
+ } | {
8514
+ type: typeof CHECKOUT_NEXT_ACTION.CARD_POPUP;
8515
+ provider: string;
8516
+ client_secret: string;
8517
+ public_key: string;
8518
+ provider_account_id?: string;
8519
+ } | {
8520
+ type: typeof CHECKOUT_NEXT_ACTION.REDIRECT;
8521
+ authorization_url: string;
8522
+ } | {
8523
+ type: typeof CHECKOUT_NEXT_ACTION.AUTHORIZATION;
8524
+ authorization_type: AuthorizationType;
8525
+ display_text?: string;
8526
+ } | {
8527
+ type: typeof CHECKOUT_NEXT_ACTION.TERMS_CHANGED;
8528
+ replacement: CheckoutTermsView;
8529
+ deltas: CheckoutTermsDelta[];
8530
+ } | {
8531
+ type: typeof CHECKOUT_NEXT_ACTION.SELECTION_UNAVAILABLE;
8532
+ lines: UnavailableLine[];
8533
+ } | {
8534
+ type: typeof CHECKOUT_NEXT_ACTION.POLL;
8535
+ };
8536
+ interface CheckoutResult {
8537
+ /** Durable purchase intent authority behind the compatibility projection. */
8538
+ intent_id?: string;
8539
+ /** Durable confirmation attempt used for exact replay and recovery. */
8540
+ attempt_id?: string;
8541
+ order_id: string;
8542
+ order_number: string;
8543
+ bill_token?: string;
8544
+ /** Tenant-scoped Cimplify payment id used for payment mutations. */
8545
+ payment_id?: string;
8546
+ payment_reference?: string;
8547
+ payment_status: string;
8548
+ requires_authorization: boolean;
8549
+ authorization_type?: AuthorizationType;
8550
+ authorization_url?: string;
8551
+ display_text?: string;
8552
+ provider?: string;
8553
+ client_secret?: string;
8554
+ public_key?: string;
8555
+ next_action?: NextAction;
8556
+ fx?: {
8557
+ base_currency: CurrencyCode;
8558
+ base_amount: Money;
8559
+ pay_currency: CurrencyCode;
8560
+ pay_amount: Money;
8561
+ rate: number;
8562
+ quote_id: string;
8563
+ };
8564
+ }
8565
+ type CheckoutStatus = (typeof CHECKOUT_STATUS)[keyof typeof CHECKOUT_STATUS];
8566
+ interface CheckoutStatusContext {
8567
+ display_text?: string;
8568
+ authorization_type?: PaymentAuthorizationKind;
8569
+ poll_attempt?: number;
8570
+ max_poll_attempts?: number;
8571
+ order_id?: string;
8572
+ order_number?: string;
8573
+ provider?: string;
8574
+ intent_id?: string;
8575
+ replacement_terms?: CheckoutTermsView;
8576
+ terms_deltas?: CheckoutTermsDelta[];
8577
+ unavailable_lines?: UnavailableLine[];
8578
+ }
8579
+ interface ProcessCheckoutOptions {
8580
+ /** Cart presentation source; optional only when confirming an existing intent. */
8581
+ cart_id?: string;
8582
+ /** Existing durable authority (hosted sessions/paylinks); never mint a replacement. */
8583
+ intent_id?: string;
8584
+ /** Exact hosted-session route owner; never coerced to the storefront API session. */
8585
+ hosted_session_id?: string;
8586
+ /** Display hint only. The iframe re-reads/revalidates server authority before confirm. */
8587
+ initial_terms?: CheckoutTermsView;
8588
+ order_type: OrderType;
8589
+ location_id?: string;
8590
+ notes?: string;
8591
+ scheduled_time?: string;
8592
+ tip_amount?: number;
8593
+ enroll_in_link?: boolean;
8594
+ pay_currency?: CurrencyCode;
8595
+ timeout_ms?: number;
8596
+ on_status_change?: (status: CheckoutStatus, context: CheckoutStatusContext) => void;
8597
+ }
8598
+ interface ProcessCheckoutResult {
8599
+ success: boolean;
8600
+ order?: {
8601
+ id: string;
8602
+ order_number: string;
8603
+ status: string;
8604
+ total: string;
8605
+ currency: CurrencyCode;
8606
+ };
8607
+ error?: {
8608
+ code: string;
8609
+ message: string;
8610
+ recoverable: boolean;
8611
+ docs_url?: string;
8612
+ suggestion?: string;
8613
+ };
8614
+ enrolled_in_link?: boolean;
8615
+ }
8616
+ interface ProcessAndResolveOptions {
8617
+ enroll_in_link?: boolean;
8618
+ allow_popups?: boolean;
8619
+ poll_interval_ms?: number;
8620
+ max_poll_attempts?: number;
8621
+ on_status_change?: (status: CheckoutStatus, context: CheckoutStatusContext) => void;
8622
+ /**
8623
+ * Reports the lifetime of provider-owned authorization UI. Hosts with their
8624
+ * own modal focus boundary can suspend it while the provider surface is open.
8625
+ */
8626
+ on_authorization_ui_change?: (open: boolean) => void;
8627
+ on_authorization_required?: (type: PaymentAuthorizationKind, submit: (authorization: PaymentAuthorizationSubmission) => Promise<void>) => void | Promise<void>;
8628
+ return_url?: string;
8629
+ signal?: AbortSignal;
8630
+ }
8631
+ type AbortablePromise<T> = Promise<T> & {
8632
+ abort: () => void;
8633
+ };
8634
+
8635
+ type OrderType = (typeof ORDER_TYPE)[keyof typeof ORDER_TYPE];
8636
+ declare const ELEMENT_TYPES: {
8637
+ readonly AUTH: "auth";
8638
+ readonly ADDRESS: "address";
8639
+ readonly PAYMENT: "payment";
8640
+ readonly CHECKOUT: "checkout";
8641
+ readonly ACCOUNT: "account";
8642
+ };
8643
+ type ElementType = (typeof ELEMENT_TYPES)[keyof typeof ELEMENT_TYPES];
8644
+ declare const MESSAGE_TYPES: {
8645
+ readonly INIT: "init";
8646
+ readonly IDENTITY: "identity";
8647
+ readonly SESSION_CLEARED: "session_cleared";
8445
8648
  readonly SET_CART: "set_cart";
8446
8649
  readonly GET_DATA: "get_data";
8447
- readonly NAVIGATE: "navigate";
8448
- readonly REFRESH_TOKEN: "refresh_token";
8449
8650
  readonly LOGOUT: "logout";
8450
8651
  readonly PROCESS_CHECKOUT: "process_checkout";
8451
8652
  readonly ABORT_CHECKOUT: "abort_checkout";
@@ -8458,7 +8659,6 @@ declare const MESSAGE_TYPES: {
8458
8659
  readonly LOGOUT_COMPLETE: "logout_complete";
8459
8660
  readonly AUTH_REQUESTED: "auth_requested";
8460
8661
  readonly SESSION_ESTABLISHED: "session_established";
8461
- readonly SESSION_ESTABLISHMENT_FAILED: "session_establishment_failed";
8462
8662
  readonly CONTINUE_WITHOUT_SAVED_DETAILS: "continue_without_saved_details";
8463
8663
  readonly CONTACT_PROVIDED: "contact_provided";
8464
8664
  readonly CHECKOUT_STATUS: "checkout_status";
@@ -8530,6 +8730,9 @@ interface AuthenticatedCustomer {
8530
8730
  email: string | null;
8531
8731
  phone: string | null;
8532
8732
  }
8733
+ interface ClaimedCustomer extends AuthenticatedCustomer {
8734
+ id: string;
8735
+ }
8533
8736
  type ElementsCustomerInfo = {
8534
8737
  name: string;
8535
8738
  email: string | null;
@@ -8641,34 +8844,20 @@ type ParentToIframeMessage = {
8641
8844
  token?: string;
8642
8845
  merchantName?: string;
8643
8846
  } | {
8644
- type: typeof MESSAGE_TYPES.SET_TOKEN;
8645
- token: string;
8646
- } | {
8647
- /** Host could not claim the iframe-verified Link identity. The echoed
8648
- * bearer correlates this response to the still-current OTP handoff. */
8649
- type: typeof MESSAGE_TYPES.SESSION_ESTABLISHMENT_FAILED;
8650
- accessToken: string;
8651
- code: string;
8652
- message: string;
8653
- } | {
8654
- /** Host cart session; the iframe adopts it so destination quotes read the host's cart. */
8655
- type: typeof MESSAGE_TYPES.SET_SESSION;
8847
+ type: typeof MESSAGE_TYPES.IDENTITY;
8656
8848
  sessionToken: string;
8849
+ accessToken: string | null;
8850
+ customer: ClaimedCustomer | null;
8657
8851
  } | {
8658
8852
  /** The host rotated back to anonymous authority. Every sibling iframe
8659
8853
  * must discard its bearer and identity-derived projections. */
8660
8854
  type: typeof MESSAGE_TYPES.SESSION_CLEARED;
8661
8855
  sessionToken: string;
8662
- } | {
8663
- type: typeof MESSAGE_TYPES.NAVIGATE;
8664
- path: string;
8665
8856
  } | {
8666
8857
  type: typeof MESSAGE_TYPES.SET_CART;
8667
8858
  cart: CheckoutCartData;
8668
8859
  } | {
8669
8860
  type: typeof MESSAGE_TYPES.GET_DATA;
8670
- } | {
8671
- type: typeof MESSAGE_TYPES.REFRESH_TOKEN;
8672
8861
  } | {
8673
8862
  type: typeof MESSAGE_TYPES.LOGOUT;
8674
8863
  } | {
@@ -8726,8 +8915,10 @@ type IframeToParentMessage = {
8726
8915
  contactType: ElementsAuthContactType;
8727
8916
  } | {
8728
8917
  type: typeof MESSAGE_TYPES.SESSION_ESTABLISHED;
8918
+ sessionToken: string;
8729
8919
  accessToken: string;
8730
8920
  refreshToken?: string;
8921
+ customer: ClaimedCustomer;
8731
8922
  } | {
8732
8923
  type: typeof MESSAGE_TYPES.AUTH_REQUESTED;
8733
8924
  loginHint?: string;
@@ -8782,208 +8973,4 @@ declare const EVENT_TYPES: {
8782
8973
  type ElementEventType = (typeof EVENT_TYPES)[keyof typeof EVENT_TYPES];
8783
8974
  type ElementEventHandler<T = unknown> = (data: T) => void;
8784
8975
 
8785
- type CheckoutMode = (typeof CHECKOUT_MODE)[keyof typeof CHECKOUT_MODE];
8786
- type CheckoutOrderType = (typeof ORDER_TYPE)[keyof typeof ORDER_TYPE];
8787
- type CheckoutPaymentMethod = (typeof PAYMENT_METHOD)[keyof typeof PAYMENT_METHOD];
8788
- type CheckoutStep = (typeof CHECKOUT_STEP)[keyof typeof CHECKOUT_STEP];
8789
- type PickupTimeType = (typeof PICKUP_TIME_TYPE)[keyof typeof PICKUP_TIME_TYPE];
8790
- type CheckoutCollectionMethod = (typeof PAYMENT_METHOD)[keyof typeof PAYMENT_METHOD];
8791
- /** Storefront-safe collection capability. Provider and route identities stay server-side. */
8792
- type CheckoutCollectionOption = {
8793
- method: typeof PAYMENT_METHOD.CARD;
8794
- network: null;
8795
- } | {
8796
- method: typeof PAYMENT_METHOD.MOBILE_MONEY;
8797
- network: string;
8798
- };
8799
- interface CheckoutCollectionOptions {
8800
- presentment_currency: CurrencyCode;
8801
- options: CheckoutCollectionOption[];
8802
- }
8803
- interface PickupTime {
8804
- type: PickupTimeType;
8805
- scheduled_time?: string;
8806
- }
8807
- interface CheckoutAddressInfo {
8808
- street_address?: string;
8809
- apartment?: string;
8810
- city?: string;
8811
- region?: string;
8812
- postal_code?: string;
8813
- country?: string;
8814
- delivery_instructions?: string;
8815
- phone_for_delivery?: string;
8816
- latitude?: number;
8817
- longitude?: number;
8818
- pickup_time?: string;
8819
- guest_count?: number;
8820
- seating_time?: string;
8821
- seating_requests?: string;
8822
- }
8823
- interface MobileMoneyDetails {
8824
- phone_number: string;
8825
- provider: MobileMoneyProvider;
8826
- provider_other?: string;
8827
- }
8828
- interface CheckoutCustomerInfo {
8829
- name: string;
8830
- email: string;
8831
- phone: string;
8832
- notes?: string;
8833
- save_details: boolean;
8834
- }
8835
- interface CheckoutFormData {
8836
- cart_id: string;
8837
- location_id?: string;
8838
- customer: CheckoutCustomerInfo;
8839
- order_type: CheckoutOrderType;
8840
- address_info: CheckoutAddressInfo;
8841
- /** Named delivery rate the customer selected (from `delivery.getOptions`).
8842
- * Selection only — the fee is always recomputed server-side. Omit for the
8843
- * merchant's default option. */
8844
- delivery_rate_id?: string;
8845
- payment_method: string;
8846
- mobile_money_details?: MobileMoneyDetails;
8847
- special_instructions?: string;
8848
- link_address_id?: string;
8849
- link_payment_method_id?: string;
8850
- idempotency_key?: string;
8851
- metadata?: Record<string, unknown>;
8852
- pay_currency?: CurrencyCode;
8853
- fx_quote_id?: string;
8854
- /** Apply the shopper's available store credit (capped at the amount owed) as a
8855
- * fee-exempt tender before charging the rail. */
8856
- use_store_credit?: boolean;
8857
- /** Bearer voucher / gift code to allocate to this order. Its frozen amount
8858
- * remains distinct from saved account balance in accepted terms. */
8859
- voucher_code?: string;
8860
- /** Pay only the required deposit now (balance collected later) instead of the
8861
- * full total. Only honored when the order is deposit-eligible and paying in
8862
- * the order's native currency. */
8863
- pay_deposit?: boolean;
8864
- }
8865
- type NextAction = {
8866
- type: typeof CHECKOUT_NEXT_ACTION.NONE;
8867
- } | {
8868
- type: typeof CHECKOUT_NEXT_ACTION.CARD_POPUP;
8869
- provider: string;
8870
- client_secret: string;
8871
- public_key: string;
8872
- provider_account_id?: string;
8873
- } | {
8874
- type: typeof CHECKOUT_NEXT_ACTION.REDIRECT;
8875
- authorization_url: string;
8876
- } | {
8877
- type: typeof CHECKOUT_NEXT_ACTION.AUTHORIZATION;
8878
- authorization_type: AuthorizationType;
8879
- display_text?: string;
8880
- } | {
8881
- type: typeof CHECKOUT_NEXT_ACTION.TERMS_CHANGED;
8882
- replacement: CheckoutTermsView;
8883
- deltas: CheckoutTermsDelta[];
8884
- } | {
8885
- type: typeof CHECKOUT_NEXT_ACTION.SELECTION_UNAVAILABLE;
8886
- lines: UnavailableLine[];
8887
- } | {
8888
- type: typeof CHECKOUT_NEXT_ACTION.POLL;
8889
- };
8890
- interface CheckoutResult {
8891
- /** Durable purchase intent authority behind the compatibility projection. */
8892
- intent_id?: string;
8893
- /** Durable confirmation attempt used for exact replay and recovery. */
8894
- attempt_id?: string;
8895
- order_id: string;
8896
- order_number: string;
8897
- bill_token?: string;
8898
- /** Tenant-scoped Cimplify payment id used for payment mutations. */
8899
- payment_id?: string;
8900
- payment_reference?: string;
8901
- payment_status: string;
8902
- requires_authorization: boolean;
8903
- authorization_type?: AuthorizationType;
8904
- authorization_url?: string;
8905
- display_text?: string;
8906
- provider?: string;
8907
- client_secret?: string;
8908
- public_key?: string;
8909
- next_action?: NextAction;
8910
- fx?: {
8911
- base_currency: CurrencyCode;
8912
- base_amount: Money;
8913
- pay_currency: CurrencyCode;
8914
- pay_amount: Money;
8915
- rate: number;
8916
- quote_id: string;
8917
- };
8918
- }
8919
- type CheckoutStatus = (typeof CHECKOUT_STATUS)[keyof typeof CHECKOUT_STATUS];
8920
- interface CheckoutStatusContext {
8921
- display_text?: string;
8922
- authorization_type?: PaymentAuthorizationKind;
8923
- poll_attempt?: number;
8924
- max_poll_attempts?: number;
8925
- order_id?: string;
8926
- order_number?: string;
8927
- provider?: string;
8928
- intent_id?: string;
8929
- replacement_terms?: CheckoutTermsView;
8930
- terms_deltas?: CheckoutTermsDelta[];
8931
- unavailable_lines?: UnavailableLine[];
8932
- }
8933
- interface ProcessCheckoutOptions {
8934
- /** Cart presentation source; optional only when confirming an existing intent. */
8935
- cart_id?: string;
8936
- /** Existing durable authority (hosted sessions/paylinks); never mint a replacement. */
8937
- intent_id?: string;
8938
- /** Exact hosted-session route owner; never coerced to the storefront API session. */
8939
- hosted_session_id?: string;
8940
- /** Display hint only. The iframe re-reads/revalidates server authority before confirm. */
8941
- initial_terms?: CheckoutTermsView;
8942
- order_type: OrderType;
8943
- location_id?: string;
8944
- notes?: string;
8945
- scheduled_time?: string;
8946
- tip_amount?: number;
8947
- enroll_in_link?: boolean;
8948
- pay_currency?: CurrencyCode;
8949
- timeout_ms?: number;
8950
- on_status_change?: (status: CheckoutStatus, context: CheckoutStatusContext) => void;
8951
- }
8952
- interface ProcessCheckoutResult {
8953
- success: boolean;
8954
- order?: {
8955
- id: string;
8956
- order_number: string;
8957
- status: string;
8958
- total: string;
8959
- currency: CurrencyCode;
8960
- };
8961
- error?: {
8962
- code: string;
8963
- message: string;
8964
- recoverable: boolean;
8965
- docs_url?: string;
8966
- suggestion?: string;
8967
- };
8968
- enrolled_in_link?: boolean;
8969
- }
8970
- interface ProcessAndResolveOptions {
8971
- enroll_in_link?: boolean;
8972
- allow_popups?: boolean;
8973
- poll_interval_ms?: number;
8974
- max_poll_attempts?: number;
8975
- on_status_change?: (status: CheckoutStatus, context: CheckoutStatusContext) => void;
8976
- /**
8977
- * Reports the lifetime of provider-owned authorization UI. Hosts with their
8978
- * own modal focus boundary can suspend it while the provider surface is open.
8979
- */
8980
- on_authorization_ui_change?: (open: boolean) => void;
8981
- on_authorization_required?: (type: PaymentAuthorizationKind, submit: (authorization: PaymentAuthorizationSubmission) => Promise<void>) => void | Promise<void>;
8982
- return_url?: string;
8983
- signal?: AbortSignal;
8984
- }
8985
- type AbortablePromise<T> = Promise<T> & {
8986
- abort: () => void;
8987
- };
8988
-
8989
- export { type BundleProduct as $, type ApiError as A, type AttributeAppliesTo as B, type CurrencyCode as C, type DurationUnit as D, type AttributeType as E, type AttributeValidationRules as F, type AttributeVisibility as G, type AuthResponse as H, type AuthenticatedCustomer as I, type AuthenticatedData as J, type AuthorizationType as K, BOUNDARY_KIND as L, type BenefitType as M, type BillingFrequency as N, type BillingMarkupType as O, type Product as P, type BillingPlanType as Q, type BoundaryKind as R, type SaleInfo as S, type TaxPriceDisplayMode as T, type UpcomingSale as U, type Bundle as V, type BundleComponentData as W, type BundleComponentInfo as X, type BundleComponentVariantView as Y, type BundleComponentView as Z, type BundlePriceType as _, type ChosenPrice as a, type CollectionProduct as a$, type BundleSelectionData as a0, type BundleSelectionInput as a1, type BundleStoredSelection as a2, type BundleSummary as a3, type BundleWithDetails as a4, CHECKOUT_COMPLIANCE_LANE as a5, CHECKOUT_COMPLIANCE_REASON as a6, CHECKOUT_INVALIDATION_REASON as a7, CHECKOUT_MATERIAL_TERMS_COMPONENT as a8, CHECKOUT_MODE as a9, type CheckoutCollectionMethod as aA, type CheckoutCollectionOption as aB, type CheckoutCollectionOptions as aC, type CheckoutComplianceDecision as aD, type CheckoutComplianceLane as aE, type CheckoutComplianceReasonCode as aF, type CheckoutCustomerInfo as aG, type CheckoutDestinationInput as aH, type CheckoutFormData as aI, type CheckoutInvalidationReason as aJ, type CheckoutMaterialTerms as aK, type CheckoutMaterialTermsComponent as aL, type CheckoutMode as aM, type CheckoutMoneyComponents as aN, type CheckoutOfferKind as aO, type CheckoutOrderType as aP, type CheckoutPaymentMethod as aQ, type CheckoutProtectionStatus as aR, type CheckoutProtectionView as aS, type CheckoutPurchaseSurface as aT, type CheckoutResult as aU, type CheckoutSourceKind as aV, type CheckoutStatus as aW, type CheckoutStatusContext as aX, type CheckoutStep as aY, type CheckoutTermsComponent as aZ, type CheckoutTermsDelta as a_, CHECKOUT_MUTATION as aa, CHECKOUT_NEXT_ACTION as ab, CHECKOUT_ORDER_RESULT_STATUS as ac, CHECKOUT_PROTECTION_STATUS as ad, CHECKOUT_PURCHASE_SURFACE as ae, CHECKOUT_STATUS as af, CHECKOUT_STEP as ag, CHECKOUT_TERMS_COMPONENT as ah, CHECKOUT_TERMS_DELTA_KIND as ai, CONTACT_TYPE as aj, type CanonicalSourceAuthority as ak, type Cart as al, type CartAddOn as am, type CartChannel as an, type CartIntentCheckoutInput as ao, type CartItem as ap, type CartItemDetails as aq, type CartMutationResult as ar, type CartNotice as as, type CartStatus as at, type CartSummary as au, type CartTotals as av, type CategorySummary as aw, type CheckoutAddressInfo as ax, type CheckoutCartData as ay, type CheckoutCartItem as az, type Category as b, type ElementsAuthPrompt as b$, type CollectionSummary as b0, type ComponentGroup as b1, type ComponentGroupWithComponents as b2, type ComponentPriceBreakdown as b3, type ComponentSchedulingData as b4, type ComponentSelectionInput as b5, type ComponentSourceType as b6, type Composite as b7, type CompositeComponent as b8, type CompositeComponentView as b9, type DestinationQuote as bA, type DestinationQuoteAddress as bB, type DestinationQuoteInput as bC, type DeviceType as bD, type DigitalProductType as bE, type DiscountBreakdown as bF, type DiscountDetails as bG, type DiscountValidation as bH, type DisplayAddOn as bI, type DisplayAddOnOption as bJ, type DisplayCart as bK, type DisplayCartItem as bL, type DisplayMode as bM, ELEMENTS_AUTH_CONTACT_TYPES as bN, ELEMENTS_AUTH_MODES as bO, ELEMENTS_AUTH_PROMPTS as bP, ELEMENT_TYPES as bQ, ERROR_HINTS as bR, EVENT_TYPES as bS, type ElementAppearance as bT, type ElementEventHandler as bU, type ElementEventType as bV, type ElementOptions as bW, type ElementType as bX, type ElementsAuthContactType as bY, type ElementsAuthMode as bZ, type ElementsAuthOptions as b_, type CompositeGroupView as ba, type CompositePriceBreakdown as bb, type CompositePriceResult as bc, type CompositePricingMode as bd, type CompositeSelectionData as be, type CompositeStoredSelection as bf, type CompositeWithDetails as bg, type ConfirmPurchaseIntentResponse as bh, type ContactType as bi, type CreateAddressInput as bj, type CreateMobileMoneyInput as bk, type CustomAttributeDefinition as bl, type CustomAttributeValue as bm, type Customer as bn, type CustomerAddress as bo, type CustomerInputValue as bp, type CustomerLinkPreferences as bq, type CustomerMobileMoney as br, DEFAULT_COUNTRY as bs, DEFAULT_CURRENCY as bt, DEVICE_TYPE as bu, DURATION_UNIT as bv, type DateRangeValue as bw, type Deal as bx, type DealBenefitType as by, type DepositType as bz, CimplifyError as c, PURCHASE_INTENT_CONFIRM_STATUS as c$, type ElementsCheckoutData as c0, type ElementsCheckoutResult as c1, type ElementsCustomerInfo as c2, type ElementsOptions as c3, type EligiblePlansQuery as c4, type EnrollAndLinkOrderInput as c5, type EnrollAndLinkOrderResult as c6, type EnrollmentData as c7, ErrorCode as c8, type ErrorCodeType as c9, MOBILE_MONEY_TENDER_AUTHORITY_KIND as cA, type MeasurementValue as cB, type MintPurchaseIntentRequest as cC, type MobileMoneyData as cD, type MobileMoneyDetails as cE, type MobileMoneyProvider as cF, type MobileMoneyTenderPreference as cG, type Money as cH, NATIVE_PURCHASE_PLATFORM as cI, type NativeAddOnSelection as cJ, type NativePurchasePlatform as cK, type NextAction as cL, ORDER_MUTATION as cM, ORDER_TYPE as cN, type OfferRef as cO, type OrderType as cP, PAYMENT_COLLECTION_MODE as cQ, PAYMENT_INSTRUMENT_DISPLAY_KIND as cR, PAYMENT_METHOD as cS, PAYMENT_MUTATION as cT, PAYMENT_OPTION_NEXT_ACTION as cU, PAYMENT_OPTION_STATUS as cV, PAYMENT_STATE as cW, PICKUP_TIME_TYPE as cX, PRODUCT_TYPE as cY, PURCHASE_DISPOSITION as cZ, PURCHASE_INTENT_ACTION_DECISION as c_, type ErrorHint as ca, type FacetValue as cb, type FormattedPlanOption as cc, type GroupPricingBehavior as cd, INPUT_FIELD_TYPE as ce, IdempotencyMismatchError as cf, type IframeToParentMessage as cg, type InitializePaymentResult as ch, type InputFieldType as ci, type InputFieldValidation as cj, type InventoryType as ck, type KnowledgeArticle as cl, LEGACY_CHECKOUT_PAYMENT_METHOD_ALIAS as cm, LEGACY_CHECKOUT_PAYMENT_STATUS as cn, LINK_MUTATION as co, LINK_QUERY as cp, type LineConfiguration as cq, type LinkData as cr, type LinkEnrollResult as cs, type LinkSession as ct, type LinkStatusResult as cu, type LocationProductPrice as cv, type LocationValue as cw, MAX_PAYMENT_AUTHORIZATION_STEPS as cx, MESSAGE_TYPES as cy, MOBILE_MONEY_PROVIDER as cz, type Collection as d, type PurchaseIntentActionResponse as d$, PURCHASE_INTENT_ERROR_CODE as d0, PURCHASE_INTENT_LINE_CONFIGURATION_KIND as d1, PURCHASE_INTENT_MOBILE_MONEY_NETWORK as d2, PURCHASE_INTENT_OFFER_KIND as d3, PURCHASE_INTENT_PAYMENT_METHOD as d4, PURCHASE_INTENT_PAYMENT_PROVIDER as d5, PURCHASE_INTENT_RESOLUTION_KIND as d6, PURCHASE_INTENT_RESOLVE_STATUS as d7, PURCHASE_INTENT_SELLABLE_KIND as d8, PURCHASE_INTENT_SOURCE_KIND as d9, type PickupTimeType as dA, type PreparePurchaseIntentRequest as dB, type Price as dC, type PriceAdjustment as dD, type PriceDecisionPath as dE, type PriceEntryType as dF, type PricePathTaxInfo as dG, type PriceSource as dH, type ProcessAndResolveOptions as dI, type ProcessCheckoutOptions as dJ, type ProcessCheckoutResult as dK, type ProductAddOn as dL, type ProductAvailability as dM, type ProductAvailabilityNow as dN, type ProductBillingPlan as dO, type ProductDealInfo as dP, type ProductInputField as dQ, type ProductProperty as dR, type ProductRenderHint as dS, type ProductTaxonomy as dT, type ProductTimeProfile as dU, type ProductType as dV, type ProductVariant as dW, type ProductVariantValue as dX, type PropertyFacet as dY, type PropertySource as dZ, type PurchaseDisposition as d_, PURCHASE_INTENT_STATUS as da, PURCHASE_SURFACE as db, PURCHASING_PRINCIPAL_KIND as dc, type Pagination as dd, type PaginationParams as de, type ParentToIframeMessage as df, type Payment as dg, type PaymentAuthorizationKind as dh, type PaymentAuthorizationSubmission as di, type PaymentCollectionMode as dj, type PaymentErrorDetails as dk, type PaymentInstrumentDisplay as dl, type PaymentMethod as dm, type PaymentMethodInfo as dn, type PaymentMethodType as dp, type PaymentNextActionKind as dq, type PaymentOptionStatus as dr, type PaymentProcessingState as ds, type PaymentProvider as dt, type PaymentProviderKind as du, type PaymentResponse as dv, type PaymentStatus as dw, type PaymentStatusResponse as dx, type PhoneValue as dy, type PickupTime as dz, type ProductWithDetails as e, type VariantStrategy as e$, type PurchaseIntentCustomerInput as e0, type PurchaseIntentLineConfiguration as e1, type PurchaseIntentLineInput as e2, type PurchaseIntentLinePricingView as e3, type PurchaseIntentLineView as e4, type PurchaseIntentMobileMoneyNetwork as e5, type PurchaseIntentResolution as e6, type PurchaseIntentReviewResponse as e7, type PurchaseIntentSimpleLineConfiguration as e8, type PurchaseIntentSourceInput as e9, type SubscriptionInvoice as eA, type SubscriptionItem as eB, type SubscriptionStatus as eC, type SubscriptionWithDetails as eD, type Tag as eE, type TagsResponse as eF, type TaxPathComponent as eG, type TaxonomyAttributeTemplate as eH, type TaxonomyWithChildren as eI, type UICart as eJ, type UICartBusiness as eK, type UICartCustomer as eL, type UICartLocation as eM, type UICartPricing as eN, type UnavailableLine as eO, type UpdateAddressInput as eP, type UpdateCartItemInput as eQ, type VariantAxis as eR, type VariantAxisSelection as eS, type VariantAxisValue as eT, type VariantAxisValueView as eU, type VariantAxisView as eV, type VariantAxisWithValues as eW, type VariantDetails as eX, type VariantDetailsDTO as eY, type VariantDisplayAttribute as eZ, type VariantLocationAvailability as e_, type PurchaseIntentStatus as ea, type PurchaseIntentTenderPreference as eb, type PurchaseIntentTerminalResponse as ec, type PurchaseIntentView as ed, type PurchasePolicyContext as ee, type PurchaseSurface as ef, type PurchasingPrincipal as eg, type QuantityPricingTier as eh, RENDER_HINT as ei, type RefreshCheckoutTermsRequest as ej, type RelatedProductView as ek, type RequestOtpInput as el, type RequestOtpResult as em, type RevokeAllSessionsResult as en, type RevokeSessionResult as eo, type SaleCapInfo as ep, type SalesChannel as eq, type SchedulingMode as er, type SelectedAddOnOption as es, type SellableKind as et, type SellableRef as eu, type SemanticKind as ev, type SignatureValue as ew, type SubmitAuthorizationInput as ex, type SubmitPurchaseIntentActionRequest as ey, type Subscription as ez, type CheckoutPaymentMethodKind as f, type VariantView as f0, type VerifyOtpInput as f1, ZERO as f2, currencyCode as f3, enrichError as f4, getErrorHint as f5, isCimplifyError as f6, isIdempotencyMismatchError as f7, isQuoteConflictRequiringConsent as f8, isQuoteError as f9, isRetryableError as fa, isSupportedCurrency as fb, money as fc, moneyFromNumber as fd, type components as fe, type CheckoutTermsView as g, type PaymentOptionView as h, type ConfirmPurchaseIntentRequest as i, AUTHORIZATION_TYPE as j, AUTH_MUTATION as k, type AbortablePromise as l, type AddOn as m, type AddOnDetails as n, type AddOnGroupDetails as o, type AddOnOption as p, type AddOnOptionDetails as q, type AddOnOptionPrice as r, type AddOnWithOptions as s, type AddToCartInput as t, type AddressAuthorizationData as u, type AddressData as v, type AddressInfo as w, type AddressValue as x, type AdjustmentType as y, type AppliedDiscount as z };
8976
+ export { type BundleProduct as $, type ApiError as A, type AttributeAppliesTo as B, type CurrencyCode as C, type DurationUnit as D, type AttributeType as E, type AttributeValidationRules as F, type AttributeVisibility as G, type AuthResponse as H, type AuthenticatedCustomer as I, type AuthenticatedData as J, type AuthorizationType as K, BOUNDARY_KIND as L, type BenefitType as M, type BillingFrequency as N, type BillingMarkupType as O, type Product as P, type BillingPlanType as Q, type BoundaryKind as R, type SaleInfo as S, type TaxPriceDisplayMode as T, type UpcomingSale as U, type Bundle as V, type BundleComponentData as W, type BundleComponentInfo as X, type BundleComponentVariantView as Y, type BundleComponentView as Z, type BundlePriceType as _, type ChosenPrice as a, type ClaimedCustomer as a$, type BundleSelectionData as a0, type BundleSelectionInput as a1, type BundleStoredSelection as a2, type BundleSummary as a3, type BundleWithDetails as a4, CHECKOUT_COMPLIANCE_LANE as a5, CHECKOUT_COMPLIANCE_REASON as a6, CHECKOUT_INVALIDATION_REASON as a7, CHECKOUT_MATERIAL_TERMS_COMPONENT as a8, CHECKOUT_MODE as a9, type CheckoutCollectionMethod as aA, type CheckoutCollectionOption as aB, type CheckoutCollectionOptions as aC, type CheckoutComplianceDecision as aD, type CheckoutComplianceLane as aE, type CheckoutComplianceReasonCode as aF, type CheckoutCustomerInfo as aG, type CheckoutDestinationInput as aH, type CheckoutFormData as aI, type CheckoutInvalidationReason as aJ, type CheckoutMaterialTerms as aK, type CheckoutMaterialTermsComponent as aL, type CheckoutMode as aM, type CheckoutMoneyComponents as aN, type CheckoutOfferKind as aO, type CheckoutOrderType as aP, type CheckoutPaymentMethod as aQ, type CheckoutProtectionStatus as aR, type CheckoutProtectionView as aS, type CheckoutPurchaseSurface as aT, type CheckoutResult as aU, type CheckoutSourceKind as aV, type CheckoutStatus as aW, type CheckoutStatusContext as aX, type CheckoutStep as aY, type CheckoutTermsComponent as aZ, type CheckoutTermsDelta as a_, CHECKOUT_MUTATION as aa, CHECKOUT_NEXT_ACTION as ab, CHECKOUT_ORDER_RESULT_STATUS as ac, CHECKOUT_PROTECTION_STATUS as ad, CHECKOUT_PURCHASE_SURFACE as ae, CHECKOUT_STATUS as af, CHECKOUT_STEP as ag, CHECKOUT_TERMS_COMPONENT as ah, CHECKOUT_TERMS_DELTA_KIND as ai, CONTACT_TYPE as aj, type CanonicalSourceAuthority as ak, type Cart as al, type CartAddOn as am, type CartChannel as an, type CartIntentCheckoutInput as ao, type CartItem as ap, type CartItemDetails as aq, type CartMutationResult as ar, type CartNotice as as, type CartStatus as at, type CartSummary as au, type CartTotals as av, type CategorySummary as aw, type CheckoutAddressInfo as ax, type CheckoutCartData as ay, type CheckoutCartItem as az, type Category as b, type ElementsAuthOptions as b$, type CollectionProduct as b0, type CollectionSummary as b1, type ComponentGroup as b2, type ComponentGroupWithComponents as b3, type ComponentPriceBreakdown as b4, type ComponentSchedulingData as b5, type ComponentSelectionInput as b6, type ComponentSourceType as b7, type Composite as b8, type CompositeComponent as b9, type DepositType as bA, type DestinationQuote as bB, type DestinationQuoteAddress as bC, type DestinationQuoteInput as bD, type DeviceType as bE, type DigitalProductType as bF, type DiscountBreakdown as bG, type DiscountDetails as bH, type DiscountValidation as bI, type DisplayAddOn as bJ, type DisplayAddOnOption as bK, type DisplayCart as bL, type DisplayCartItem as bM, type DisplayMode as bN, ELEMENTS_AUTH_CONTACT_TYPES as bO, ELEMENTS_AUTH_MODES as bP, ELEMENTS_AUTH_PROMPTS as bQ, ELEMENT_TYPES as bR, ERROR_HINTS as bS, EVENT_TYPES as bT, type ElementAppearance as bU, type ElementEventHandler as bV, type ElementEventType as bW, type ElementOptions as bX, type ElementType as bY, type ElementsAuthContactType as bZ, type ElementsAuthMode as b_, type CompositeComponentView as ba, type CompositeGroupView as bb, type CompositePriceBreakdown as bc, type CompositePriceResult as bd, type CompositePricingMode as be, type CompositeSelectionData as bf, type CompositeStoredSelection as bg, type CompositeWithDetails as bh, type ConfirmPurchaseIntentResponse as bi, type ContactType as bj, type CreateAddressInput as bk, type CreateMobileMoneyInput as bl, type CustomAttributeDefinition as bm, type CustomAttributeValue as bn, type Customer as bo, type CustomerAddress as bp, type CustomerInputValue as bq, type CustomerLinkPreferences as br, type CustomerMobileMoney as bs, DEFAULT_COUNTRY as bt, DEFAULT_CURRENCY as bu, DEVICE_TYPE as bv, DURATION_UNIT as bw, type DateRangeValue as bx, type Deal as by, type DealBenefitType as bz, CimplifyError as c, PURCHASE_INTENT_ACTION_DECISION as c$, type ElementsAuthPrompt as c0, type ElementsCheckoutData as c1, type ElementsCheckoutResult as c2, type ElementsCustomerInfo as c3, type ElementsOptions as c4, type EligiblePlansQuery as c5, type EnrollAndLinkOrderInput as c6, type EnrollAndLinkOrderResult as c7, type EnrollmentData as c8, ErrorCode as c9, MOBILE_MONEY_PROVIDER as cA, MOBILE_MONEY_TENDER_AUTHORITY_KIND as cB, type MeasurementValue as cC, type MintPurchaseIntentRequest as cD, type MobileMoneyData as cE, type MobileMoneyDetails as cF, type MobileMoneyProvider as cG, type MobileMoneyTenderPreference as cH, type Money as cI, NATIVE_PURCHASE_PLATFORM as cJ, type NativeAddOnSelection as cK, type NativePurchasePlatform as cL, type NextAction as cM, ORDER_MUTATION as cN, ORDER_TYPE as cO, type OfferRef as cP, type OrderType as cQ, PAYMENT_COLLECTION_MODE as cR, PAYMENT_INSTRUMENT_DISPLAY_KIND as cS, PAYMENT_METHOD as cT, PAYMENT_MUTATION as cU, PAYMENT_OPTION_NEXT_ACTION as cV, PAYMENT_OPTION_STATUS as cW, PAYMENT_STATE as cX, PICKUP_TIME_TYPE as cY, PRODUCT_TYPE as cZ, PURCHASE_DISPOSITION as c_, type ErrorCodeType as ca, type ErrorHint as cb, type FacetValue as cc, type FormattedPlanOption as cd, type GroupPricingBehavior as ce, INPUT_FIELD_TYPE as cf, IdempotencyMismatchError as cg, type IframeToParentMessage as ch, type InitializePaymentResult as ci, type InputFieldType as cj, type InputFieldValidation as ck, type InventoryType as cl, type KnowledgeArticle as cm, LEGACY_CHECKOUT_PAYMENT_METHOD_ALIAS as cn, LEGACY_CHECKOUT_PAYMENT_STATUS as co, LINK_MUTATION as cp, LINK_QUERY as cq, type LineConfiguration as cr, type LinkData as cs, type LinkEnrollResult as ct, type LinkSession as cu, type LinkStatusResult as cv, type LocationProductPrice as cw, type LocationValue as cx, MAX_PAYMENT_AUTHORIZATION_STEPS as cy, MESSAGE_TYPES as cz, type Collection as d, type PurchaseDisposition as d$, PURCHASE_INTENT_CONFIRM_STATUS as d0, PURCHASE_INTENT_ERROR_CODE as d1, PURCHASE_INTENT_LINE_CONFIGURATION_KIND as d2, PURCHASE_INTENT_MOBILE_MONEY_NETWORK as d3, PURCHASE_INTENT_OFFER_KIND as d4, PURCHASE_INTENT_PAYMENT_METHOD as d5, PURCHASE_INTENT_PAYMENT_PROVIDER as d6, PURCHASE_INTENT_RESOLUTION_KIND as d7, PURCHASE_INTENT_RESOLVE_STATUS as d8, PURCHASE_INTENT_SELLABLE_KIND as d9, type PickupTime as dA, type PickupTimeType as dB, type PreparePurchaseIntentRequest as dC, type Price as dD, type PriceAdjustment as dE, type PriceDecisionPath as dF, type PriceEntryType as dG, type PricePathTaxInfo as dH, type PriceSource as dI, type ProcessAndResolveOptions as dJ, type ProcessCheckoutOptions as dK, type ProcessCheckoutResult as dL, type ProductAddOn as dM, type ProductAvailability as dN, type ProductAvailabilityNow as dO, type ProductBillingPlan as dP, type ProductDealInfo as dQ, type ProductInputField as dR, type ProductProperty as dS, type ProductRenderHint as dT, type ProductTaxonomy as dU, type ProductTimeProfile as dV, type ProductType as dW, type ProductVariant as dX, type ProductVariantValue as dY, type PropertyFacet as dZ, type PropertySource as d_, PURCHASE_INTENT_SOURCE_KIND as da, PURCHASE_INTENT_STATUS as db, PURCHASE_SURFACE as dc, PURCHASING_PRINCIPAL_KIND as dd, type Pagination as de, type PaginationParams as df, type ParentToIframeMessage as dg, type Payment as dh, type PaymentAuthorizationKind as di, type PaymentAuthorizationSubmission as dj, type PaymentCollectionMode as dk, type PaymentErrorDetails as dl, type PaymentInstrumentDisplay as dm, type PaymentMethod as dn, type PaymentMethodInfo as dp, type PaymentMethodType as dq, type PaymentNextActionKind as dr, type PaymentOptionStatus as ds, type PaymentProcessingState as dt, type PaymentProvider as du, type PaymentProviderKind as dv, type PaymentResponse as dw, type PaymentStatus as dx, type PaymentStatusResponse as dy, type PhoneValue as dz, type ProductWithDetails as e, type VariantLocationAvailability as e$, type PurchaseIntentActionResponse as e0, type PurchaseIntentCustomerInput as e1, type PurchaseIntentLineConfiguration as e2, type PurchaseIntentLineInput as e3, type PurchaseIntentLinePricingView as e4, type PurchaseIntentLineView as e5, type PurchaseIntentMobileMoneyNetwork as e6, type PurchaseIntentResolution as e7, type PurchaseIntentReviewResponse as e8, type PurchaseIntentSimpleLineConfiguration as e9, type Subscription as eA, type SubscriptionInvoice as eB, type SubscriptionItem as eC, type SubscriptionStatus as eD, type SubscriptionWithDetails as eE, type Tag as eF, type TagsResponse as eG, type TaxPathComponent as eH, type TaxonomyAttributeTemplate as eI, type TaxonomyWithChildren as eJ, type UICart as eK, type UICartBusiness as eL, type UICartCustomer as eM, type UICartLocation as eN, type UICartPricing as eO, type UnavailableLine as eP, type UpdateAddressInput as eQ, type UpdateCartItemInput as eR, type VariantAxis as eS, type VariantAxisSelection as eT, type VariantAxisValue as eU, type VariantAxisValueView as eV, type VariantAxisView as eW, type VariantAxisWithValues as eX, type VariantDetails as eY, type VariantDetailsDTO as eZ, type VariantDisplayAttribute as e_, type PurchaseIntentSourceInput as ea, type PurchaseIntentStatus as eb, type PurchaseIntentTenderPreference as ec, type PurchaseIntentTerminalResponse as ed, type PurchaseIntentView as ee, type PurchasePolicyContext as ef, type PurchaseSurface as eg, type PurchasingPrincipal as eh, type QuantityPricingTier as ei, RENDER_HINT as ej, type RefreshCheckoutTermsRequest as ek, type RelatedProductView as el, type RequestOtpInput as em, type RequestOtpResult as en, type RevokeAllSessionsResult as eo, type RevokeSessionResult as ep, type SaleCapInfo as eq, type SalesChannel as er, type SchedulingMode as es, type SelectedAddOnOption as et, type SellableKind as eu, type SellableRef as ev, type SemanticKind as ew, type SignatureValue as ex, type SubmitAuthorizationInput as ey, type SubmitPurchaseIntentActionRequest as ez, type CheckoutPaymentMethodKind as f, type VariantStrategy as f0, type VariantView as f1, type VerifyOtpInput as f2, ZERO as f3, currencyCode as f4, enrichError as f5, getErrorHint as f6, isCimplifyError as f7, isIdempotencyMismatchError as f8, isQuoteConflictRequiringConsent as f9, isQuoteError as fa, isRetryableError as fb, isSupportedCurrency as fc, money as fd, moneyFromNumber as fe, type components as ff, type CheckoutTermsView as g, type PaymentOptionView as h, type ConfirmPurchaseIntentRequest as i, AUTHORIZATION_TYPE as j, AUTH_MUTATION as k, type AbortablePromise as l, type AddOn as m, type AddOnDetails as n, type AddOnGroupDetails as o, type AddOnOption as p, type AddOnOptionDetails as q, type AddOnOptionPrice as r, type AddOnWithOptions as s, type AddToCartInput as t, type AddressAuthorizationData as u, type AddressData as v, type AddressInfo as w, type AddressValue as x, type AdjustmentType as y, type AppliedDiscount as z };