@cimplify/sdk 0.102.0 → 0.103.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/dist/advanced.d.mts +3 -3
  2. package/dist/advanced.d.ts +3 -3
  3. package/dist/advanced.js +23 -22
  4. package/dist/advanced.mjs +4 -3
  5. package/dist/{chunk-DCMXUKDQ.mjs → chunk-C2JSNJUC.mjs} +404 -95
  6. package/dist/chunk-CNN7Z2IP.js +125 -0
  7. package/dist/{chunk-DKLHCZ5M.mjs → chunk-GERXZQSX.mjs} +487 -11
  8. package/dist/chunk-GOHSXBKW.mjs +105 -0
  9. package/dist/{chunk-4KNFBPV2.mjs → chunk-H7ACMHM3.mjs} +32 -14
  10. package/dist/{chunk-Z3K2D3TE.mjs → chunk-J6PNHDHL.mjs} +453 -483
  11. package/dist/{chunk-NIOUSKQQ.js → chunk-JG5CQNCB.js} +5 -0
  12. package/dist/{chunk-YER7DIOM.js → chunk-JSWJ4XDE.js} +471 -519
  13. package/dist/{chunk-DLW3RWRK.mjs → chunk-M4URVKHE.mjs} +46 -12
  14. package/dist/{chunk-WMEC5JWN.js → chunk-NNG6IFFX.js} +50 -13
  15. package/dist/{chunk-LOWSMGRT.js → chunk-QOWPGS7Z.js} +34 -16
  16. package/dist/{chunk-YDA46OZ6.js → chunk-R6OLQ33I.js} +560 -80
  17. package/dist/{chunk-EAZGA7LD.js → chunk-VIL6IQCG.js} +406 -97
  18. package/dist/{chunk-O3YUHLZL.mjs → chunk-VNPEYLB2.mjs} +5 -0
  19. package/dist/{client-B40KFazg.d.ts → client-BfpNjJ_a.d.mts} +90 -299
  20. package/dist/{client-BizGfqB7.d.mts → client-DHBwvh7U.d.ts} +90 -299
  21. package/dist/{client-BdErclfU.d.mts → client-DpqRobY9.d.mts} +2 -2
  22. package/dist/{client-nsiMwuC1.d.ts → client-Dqg2mc-7.d.ts} +2 -2
  23. package/dist/{index-DpmnI__D.d.mts → index-C8uDqLwJ.d.ts} +14 -4
  24. package/dist/{index-nEyXWIyR.d.ts → index-e2y6AK70.d.mts} +14 -4
  25. package/dist/index.d.mts +81 -8
  26. package/dist/index.d.ts +81 -8
  27. package/dist/index.js +202 -169
  28. package/dist/index.mjs +6 -5
  29. package/dist/link-cuNVYc2s.d.mts +297 -0
  30. package/dist/link-cuNVYc2s.d.ts +297 -0
  31. package/dist/mock/cli.mjs +410 -94
  32. package/dist/mock/library.js +410 -94
  33. package/dist/mock/library.mjs +410 -94
  34. package/dist/mock/msw.js +410 -94
  35. package/dist/mock/msw.mjs +410 -94
  36. package/dist/{product-Byf0unSy.d.mts → payment-H5LoIvXU.d.mts} +189 -7
  37. package/dist/{product-Byf0unSy.d.ts → payment-H5LoIvXU.d.ts} +189 -7
  38. package/dist/{price-CS4E5zLS.d.mts → price-BvePgDXe.d.mts} +1 -1
  39. package/dist/{price-BstChV9a.d.ts → price-C2RqscMY.d.ts} +1 -1
  40. package/dist/react.d.mts +4 -4
  41. package/dist/react.d.ts +4 -4
  42. package/dist/react.js +141 -140
  43. package/dist/react.mjs +5 -4
  44. package/dist/{server-DqbZh8Bk.d.mts → server-C7FyLdrz.d.mts} +11 -9
  45. package/dist/{server-Cj40R2ZD.d.ts → server-DoXIpSd7.d.ts} +11 -9
  46. package/dist/server.d.mts +4 -4
  47. package/dist/server.d.ts +4 -4
  48. package/dist/server.js +11 -10
  49. package/dist/server.mjs +5 -4
  50. package/dist/testing/msw.d.mts +2 -2
  51. package/dist/testing/msw.d.ts +2 -2
  52. package/dist/testing/msw.js +4 -3
  53. package/dist/testing/msw.mjs +3 -2
  54. package/dist/testing/suite.d.mts +6 -6
  55. package/dist/testing/suite.d.ts +6 -6
  56. package/dist/testing/suite.js +26 -25
  57. package/dist/testing/suite.mjs +7 -6
  58. package/dist/testing.d.mts +154 -55
  59. package/dist/testing.d.ts +154 -55
  60. package/dist/testing.js +83 -82
  61. package/dist/testing.mjs +8 -7
  62. package/dist/utils.d.mts +4 -4
  63. package/dist/utils.d.ts +4 -4
  64. package/dist/utils.js +37 -29
  65. package/dist/utils.mjs +2 -2
  66. package/package.json +7 -1
  67. package/dist/payment-l0rkieEQ.d.mts +0 -113
  68. package/dist/payment-vzNnIi1n.d.ts +0 -113
@@ -27,6 +27,7 @@ declare const ErrorCode: {
27
27
  readonly TIMEOUT: "TIMEOUT";
28
28
  readonly UNAUTHORIZED: "UNAUTHORIZED";
29
29
  readonly FORBIDDEN: "FORBIDDEN";
30
+ readonly TENANT_CONTEXT_CHANGED: "TENANT_CONTEXT_CHANGED";
30
31
  readonly NOT_FOUND: "NOT_FOUND";
31
32
  readonly VALIDATION_ERROR: "VALIDATION_ERROR";
32
33
  readonly CART_EMPTY: "CART_EMPTY";
@@ -48,6 +49,8 @@ declare const ErrorCode: {
48
49
  readonly PRICE_CHANGED: "PRICE_CHANGED";
49
50
  readonly PAYMENT_FAILED: "PAYMENT_FAILED";
50
51
  readonly PAYMENT_CANCELLED: "PAYMENT_CANCELLED";
52
+ readonly PAYMENT_CAPABILITY_MISMATCH: "PAYMENT_CAPABILITY_MISMATCH";
53
+ readonly UNSUPPORTED_CURRENCY: "UNSUPPORTED_CURRENCY";
51
54
  readonly INSUFFICIENT_FUNDS: "INSUFFICIENT_FUNDS";
52
55
  readonly CARD_DECLINED: "CARD_DECLINED";
53
56
  readonly INVALID_OTP: "INVALID_OTP";
@@ -1097,13 +1100,14 @@ interface components {
1097
1100
  order_id: string;
1098
1101
  order_number: string;
1099
1102
  bill_token?: string | null;
1103
+ payment_id?: string | null;
1100
1104
  payment_reference?: string | null;
1101
1105
  payment_status: string;
1102
1106
  requires_authorization: boolean;
1103
1107
  authorization_type?: null | components["schemas"]["AuthorizationType"];
1104
1108
  authorization_url?: string | null;
1105
1109
  display_text?: string | null;
1106
- provider?: string | null;
1110
+ provider?: null | components["schemas"]["ProviderType"];
1107
1111
  client_secret?: string | null;
1108
1112
  public_key?: string | null;
1109
1113
  next_action: components["schemas"]["NextAction"];
@@ -1166,8 +1170,8 @@ interface components {
1166
1170
  fx_quote_id?: string | null;
1167
1171
  /**
1168
1172
  * @description Pay only the required deposit now (balance collected later) instead of the
1169
- * full total. Only honored when the order is deposit-eligible and paying in
1170
- * the order's native currency.
1173
+ * full total. Honored only for the first collection on a deposit-eligible
1174
+ * order; later attempts collect the authoritative remaining balance.
1171
1175
  */
1172
1176
  pay_deposit?: boolean;
1173
1177
  /**
@@ -2749,6 +2753,37 @@ interface components {
2749
2753
  has_more: boolean;
2750
2754
  next_cursor?: string | null;
2751
2755
  };
2756
+ /**
2757
+ * @description Typed customer input for one provider-requested authorization step.
2758
+ *
2759
+ * Provider references are deliberately absent. The payment service resolves
2760
+ * the authoritative reference and provider from the tenant-scoped payment
2761
+ * row before making provider I/O.
2762
+ */
2763
+ PaymentAuthorizationSubmission: {
2764
+ value: string;
2765
+ /** @enum {string} */
2766
+ type: "pin";
2767
+ } | {
2768
+ value: string;
2769
+ /** @enum {string} */
2770
+ type: "otp";
2771
+ } | {
2772
+ value: string;
2773
+ /** @enum {string} */
2774
+ type: "phone";
2775
+ } | {
2776
+ value: string;
2777
+ /** @enum {string} */
2778
+ type: "birthday";
2779
+ } | {
2780
+ address: string;
2781
+ city: string;
2782
+ state: string;
2783
+ zip_code: string;
2784
+ /** @enum {string} */
2785
+ type: "address";
2786
+ };
2752
2787
  PaymentInfoDTO: {
2753
2788
  state: components["schemas"]["PaymentState"];
2754
2789
  computed_status?: string | null;
@@ -3275,6 +3310,8 @@ interface components {
3275
3310
  * @enum {string}
3276
3311
  */
3277
3312
  ProviderResolutionSource: "zone" | "hint" | "fallback" | "rate" | "best_price";
3313
+ /** @enum {string} */
3314
+ ProviderType: "stripe" | "paystack" | "cellulant" | "mtn_momo" | "offline";
3278
3315
  PublicCheckoutSessionResponse: {
3279
3316
  id: string;
3280
3317
  status: string;
@@ -3808,10 +3845,37 @@ interface components {
3808
3845
  balance: string;
3809
3846
  currency: string;
3810
3847
  };
3848
+ /**
3849
+ * @description One method/network combination accepted by the storefront checkout input.
3850
+ * @enum {string}
3851
+ */
3852
+ StorefrontCollectionMethod: "card" | "mobile_money";
3853
+ StorefrontCollectionMethodOption: {
3854
+ method: components["schemas"]["StorefrontCollectionMethod"];
3855
+ /** @description Optional network selector required by network-specific methods. */
3856
+ network?: string | null;
3857
+ };
3858
+ /**
3859
+ * @description Storefront-safe projection of active merchant collection routes.
3860
+ *
3861
+ * Internal providers, route cells, proceeds, operation scopes, activations,
3862
+ * bindings, readiness, provider accounts, and payout identifiers deliberately
3863
+ * remain behind the payment service boundary.
3864
+ */
3865
+ StorefrontCollectionOptions: {
3866
+ /** @description Exact ISO 4217 currency charged to the customer. */
3867
+ presentment_currency: string;
3868
+ options: components["schemas"]["StorefrontCollectionMethodOption"][];
3869
+ };
3870
+ StorefrontCollectionOptionsResponse: {
3871
+ data: components["schemas"]["StorefrontCollectionOptions"];
3872
+ };
3873
+ StorefrontPaymentAuthorizationResponse: {
3874
+ data: components["schemas"]["CheckoutApiResponse"];
3875
+ };
3811
3876
  SubmitAuthorizationArgs: {
3812
- reference: string;
3813
- auth_type: string;
3814
- value: string;
3877
+ payment_id: string;
3878
+ authorization: components["schemas"]["PaymentAuthorizationSubmission"];
3815
3879
  };
3816
3880
  SubscriptionItem: {
3817
3881
  id: string;
@@ -5681,4 +5745,122 @@ interface TagsResponse {
5681
5745
  offset: number;
5682
5746
  }
5683
5747
 
5684
- export { type ComponentPriceBreakdown as $, type AddOn as A, BOUNDARY_KIND as B, type BundleProduct as C, type BundleSelectionData as D, type BundleSelectionInput as E, type BundleStoredSelection as F, type BundleSummary as G, type BundleWithDetails as H, type Cart as I, type CartAddOn as J, type CartChannel as K, type CartItem as L, type CartItemDetails as M, type CartMutationResult as N, type CartNotice as O, type CartStatus as P, type CartSummary as Q, type CartTotals as R, type Category as S, type CategorySummary as T, type ChosenPrice as U, CimplifyError as V, type Collection as W, type CollectionProduct as X, type CollectionSummary as Y, type ComponentGroup as Z, type ComponentGroupWithComponents as _, type AddOnDetails as a, type PriceSource as a$, type ComponentSchedulingData as a0, type ComponentSelectionInput as a1, type ComponentSourceType as a2, type Composite as a3, type CompositeComponent as a4, type CompositeComponentView as a5, type CompositeGroupView as a6, type CompositePriceBreakdown as a7, type CompositePriceResult as a8, type CompositePricingMode as a9, type EligiblePlansQuery as aA, ErrorCode as aB, type ErrorCodeType as aC, type ErrorHint as aD, type FacetValue as aE, type FormattedPlanOption as aF, type GroupPricingBehavior as aG, INPUT_FIELD_TYPE as aH, IdempotencyMismatchError as aI, type InputFieldType as aJ, type InputFieldValidation as aK, type InventoryType as aL, type KnowledgeArticle as aM, type LineConfiguration as aN, type LocationProductPrice as aO, type LocationValue as aP, type MeasurementValue as aQ, type Money as aR, PRODUCT_TYPE as aS, type Pagination as aT, type PaginationParams as aU, type PhoneValue as aV, type Price as aW, type PriceAdjustment as aX, type PriceDecisionPath as aY, type PriceEntryType as aZ, type PricePathTaxInfo as a_, type CompositeSelectionData as aa, type CompositeStoredSelection as ab, type CompositeWithDetails as ac, type CurrencyCode as ad, type CustomAttributeDefinition as ae, type CustomAttributeValue as af, type CustomerInputValue as ag, DURATION_UNIT as ah, type DateRangeValue as ai, type Deal as aj, type DealBenefitType as ak, type DepositType as al, type DestinationQuote as am, type DestinationQuoteAddress as an, type DestinationQuoteInput as ao, type DigitalProductType as ap, type DiscountBreakdown as aq, type DiscountDetails as ar, type DiscountValidation as as, type DisplayAddOn as at, type DisplayAddOnOption as au, type DisplayCart as av, type DisplayCartItem as aw, type DisplayMode as ax, type DurationUnit as ay, ERROR_HINTS as az, type AddOnGroupDetails as b, isIdempotencyMismatchError as b$, type Product as b0, type ProductAddOn as b1, type ProductAvailability as b2, type ProductAvailabilityNow as b3, type ProductBillingPlan as b4, type ProductDealInfo as b5, type ProductInputField as b6, type ProductProperty as b7, type ProductRenderHint as b8, type ProductTaxonomy as b9, type TaxonomyAttributeTemplate as bA, type TaxonomyWithChildren as bB, type UICart as bC, type UICartBusiness as bD, type UICartCustomer as bE, type UICartLocation as bF, type UICartPricing as bG, type UpcomingSale as bH, type UpdateCartItemInput as bI, type VariantAxis as bJ, type VariantAxisSelection as bK, type VariantAxisValue as bL, type VariantAxisValueView as bM, type VariantAxisView as bN, type VariantAxisWithValues as bO, type VariantDetails as bP, type VariantDetailsDTO as bQ, type VariantDisplayAttribute as bR, type VariantLocationAvailability as bS, type VariantStrategy as bT, type VariantView as bU, ZERO as bV, type components as bW, currencyCode as bX, enrichError as bY, getErrorHint as bZ, isCimplifyError as b_, type ProductTimeProfile as ba, type ProductType as bb, type ProductVariant as bc, type ProductVariantValue as bd, type ProductWithDetails as be, type PropertyFacet as bf, type PropertySource as bg, type QuantityPricingTier as bh, RENDER_HINT as bi, type RelatedProductView as bj, type SaleCapInfo as bk, type SaleInfo as bl, type SalesChannel as bm, type SchedulingMode as bn, type SelectedAddOnOption as bo, type SemanticKind as bp, type SignatureValue as bq, type Subscription as br, type SubscriptionInvoice as bs, type SubscriptionItem as bt, type SubscriptionStatus as bu, type SubscriptionWithDetails as bv, type Tag as bw, type TagsResponse as bx, type TaxPathComponent as by, type TaxPriceDisplayMode as bz, type AddOnOption as c, isQuoteConflictRequiringConsent as c0, isQuoteError as c1, isRetryableError as c2, isSupportedCurrency as c3, money as c4, moneyFromNumber as c5, type AddOnOptionDetails as d, type AddOnOptionPrice as e, type AddOnWithOptions as f, type AddToCartInput as g, type AddressValue as h, type AdjustmentType as i, type ApiError as j, type AppliedDiscount as k, type AttributeAppliesTo as l, type AttributeType as m, type AttributeValidationRules as n, type AttributeVisibility as o, type BenefitType as p, type BillingFrequency as q, type BillingMarkupType as r, type BillingPlanType as s, type BoundaryKind as t, type Bundle as u, type BundleComponentData as v, type BundleComponentInfo as w, type BundleComponentVariantView as x, type BundleComponentView as y, type BundlePriceType as z };
5748
+ type PaymentStatus = "initialized" | "pending" | "processing" | "authorized" | "captured" | "not_required" | "failed" | "cancelled" | "refunded" | "unknown" | "voided" | "requires_action" | "abandoned" | "reversed" | "disputed" | "refund_pending";
5749
+ type PaymentProvider = "stripe" | "paystack" | "cellulant" | "mtn_momo" | "offline" | "mtn" | "vodafone" | "airtel" | "cash" | "manual";
5750
+ type PaymentMethodType = "card" | "bank_transfer" | "cash" | {
5751
+ mobile_money: {
5752
+ provider: string;
5753
+ phone_number: string;
5754
+ };
5755
+ } | {
5756
+ ussd: {
5757
+ provider: string;
5758
+ };
5759
+ } | {
5760
+ bank: {
5761
+ bank_code: string;
5762
+ account_number: string;
5763
+ account_name?: string;
5764
+ bank_name?: string;
5765
+ };
5766
+ } | {
5767
+ qr: {
5768
+ provider: string;
5769
+ };
5770
+ } | {
5771
+ wallet: {
5772
+ provider: string;
5773
+ };
5774
+ } | {
5775
+ crypto: {
5776
+ currency: string;
5777
+ };
5778
+ } | {
5779
+ custom: string;
5780
+ };
5781
+ interface AddressAuthorizationData {
5782
+ address: string;
5783
+ city: string;
5784
+ state: string;
5785
+ zip_code: string;
5786
+ }
5787
+ type PaymentAuthorizationKind = "otp" | "pin" | "phone" | "birthday" | "address";
5788
+ type AuthorizationType = Exclude<PaymentAuthorizationKind, "address"> | {
5789
+ address: AddressAuthorizationData;
5790
+ };
5791
+ /** Customer input for one provider-requested authorization challenge. */
5792
+ type PaymentAuthorizationSubmission = {
5793
+ type: Exclude<PaymentAuthorizationKind, "address">;
5794
+ value: string;
5795
+ } | ({
5796
+ type: "address";
5797
+ } & AddressAuthorizationData);
5798
+ type PaymentProcessingState = "initial" | "preparing" | "processing" | "verifying" | "awaiting_authorization" | "success" | "error" | "timeout";
5799
+ interface PaymentMethod {
5800
+ type: PaymentMethodType;
5801
+ provider?: string;
5802
+ phone_number?: string;
5803
+ card_last_four?: string;
5804
+ custom_value?: string;
5805
+ }
5806
+ interface Payment {
5807
+ id: string;
5808
+ order_id: string;
5809
+ business_id: string;
5810
+ amount: Money;
5811
+ currency: CurrencyCode;
5812
+ payment_method: PaymentMethod;
5813
+ status: PaymentStatus;
5814
+ provider: PaymentProvider;
5815
+ provider_reference?: string;
5816
+ failure_reason?: string;
5817
+ created_at: string;
5818
+ updated_at: string;
5819
+ }
5820
+ interface InitializePaymentResult {
5821
+ payment_id: string;
5822
+ status: PaymentStatus;
5823
+ redirect_url?: string;
5824
+ authorization_url?: string;
5825
+ reference: string;
5826
+ provider: PaymentProvider;
5827
+ }
5828
+ interface PaymentResponse {
5829
+ method: string;
5830
+ provider: string;
5831
+ requires_action: boolean;
5832
+ public_key?: string;
5833
+ client_secret?: string;
5834
+ access_code?: string;
5835
+ redirect_url?: string;
5836
+ transaction_id?: string;
5837
+ order_id?: string;
5838
+ reference?: string;
5839
+ metadata?: Record<string, unknown>;
5840
+ instructions?: string;
5841
+ display_text?: string;
5842
+ requires_authorization?: boolean;
5843
+ authorization_type?: AuthorizationType;
5844
+ provider_payment_id?: string;
5845
+ }
5846
+ interface PaymentStatusResponse {
5847
+ status: PaymentStatus;
5848
+ paid: boolean;
5849
+ amount: Money;
5850
+ currency: string;
5851
+ reference?: string;
5852
+ message: string;
5853
+ }
5854
+ interface PaymentErrorDetails {
5855
+ code: string;
5856
+ message: string;
5857
+ recoverable: boolean;
5858
+ technical?: string;
5859
+ }
5860
+ interface SubmitAuthorizationInput {
5861
+ /** Tenant-scoped Cimplify payment id returned by checkout. */
5862
+ payment_id: string;
5863
+ authorization: PaymentAuthorizationSubmission;
5864
+ }
5865
+
5866
+ export { type ComponentGroup as $, type AddOn as A, BOUNDARY_KIND as B, type BundleComponentView as C, type BundlePriceType as D, type BundleProduct as E, type BundleSelectionData as F, type BundleSelectionInput as G, type BundleStoredSelection as H, type BundleSummary as I, type BundleWithDetails as J, type Cart as K, type CartAddOn as L, type CartChannel as M, type CartItem as N, type CartItemDetails as O, type CartMutationResult as P, type CartNotice as Q, type CartStatus as R, type CartSummary as S, type CartTotals as T, type Category as U, type CategorySummary as V, type ChosenPrice as W, CimplifyError as X, type Collection as Y, type CollectionProduct as Z, type CollectionSummary as _, type AddOnDetails as a, type PaymentErrorDetails as a$, type ComponentGroupWithComponents as a0, type ComponentPriceBreakdown as a1, type ComponentSchedulingData as a2, type ComponentSelectionInput as a3, type ComponentSourceType as a4, type Composite as a5, type CompositeComponent as a6, type CompositeComponentView as a7, type CompositeGroupView as a8, type CompositePriceBreakdown as a9, type DurationUnit as aA, ERROR_HINTS as aB, type EligiblePlansQuery as aC, ErrorCode as aD, type ErrorCodeType as aE, type ErrorHint as aF, type FacetValue as aG, type FormattedPlanOption as aH, type GroupPricingBehavior as aI, INPUT_FIELD_TYPE as aJ, IdempotencyMismatchError as aK, type InitializePaymentResult as aL, type InputFieldType as aM, type InputFieldValidation as aN, type InventoryType as aO, type KnowledgeArticle as aP, type LineConfiguration as aQ, type LocationProductPrice as aR, type LocationValue as aS, type MeasurementValue as aT, type Money as aU, PRODUCT_TYPE as aV, type Pagination as aW, type PaginationParams as aX, type Payment as aY, type PaymentAuthorizationKind as aZ, type PaymentAuthorizationSubmission as a_, type CompositePriceResult as aa, type CompositePricingMode as ab, type CompositeSelectionData as ac, type CompositeStoredSelection as ad, type CompositeWithDetails as ae, type CurrencyCode as af, type CustomAttributeDefinition as ag, type CustomAttributeValue as ah, type CustomerInputValue as ai, DURATION_UNIT as aj, type DateRangeValue as ak, type Deal as al, type DealBenefitType as am, type DepositType as an, type DestinationQuote as ao, type DestinationQuoteAddress as ap, type DestinationQuoteInput as aq, type DigitalProductType as ar, type DiscountBreakdown as as, type DiscountDetails as at, type DiscountValidation as au, type DisplayAddOn as av, type DisplayAddOnOption as aw, type DisplayCart as ax, type DisplayCartItem as ay, type DisplayMode as az, type AddOnGroupDetails as b, type VariantAxisValueView as b$, type PaymentMethod as b0, type PaymentMethodType as b1, type PaymentProcessingState as b2, type PaymentProvider as b3, type PaymentResponse as b4, type PaymentStatus as b5, type PaymentStatusResponse as b6, type PhoneValue as b7, type Price as b8, type PriceAdjustment as b9, type SalesChannel as bA, type SchedulingMode as bB, type SelectedAddOnOption as bC, type SemanticKind as bD, type SignatureValue as bE, type SubmitAuthorizationInput as bF, type Subscription as bG, type SubscriptionInvoice as bH, type SubscriptionItem as bI, type SubscriptionStatus as bJ, type SubscriptionWithDetails as bK, type Tag as bL, type TagsResponse as bM, type TaxPathComponent as bN, type TaxPriceDisplayMode as bO, type TaxonomyAttributeTemplate as bP, type TaxonomyWithChildren as bQ, type UICart as bR, type UICartBusiness as bS, type UICartCustomer as bT, type UICartLocation as bU, type UICartPricing as bV, type UpcomingSale as bW, type UpdateCartItemInput as bX, type VariantAxis as bY, type VariantAxisSelection as bZ, type VariantAxisValue as b_, type PriceDecisionPath as ba, type PriceEntryType as bb, type PricePathTaxInfo as bc, type PriceSource as bd, type Product as be, type ProductAddOn as bf, type ProductAvailability as bg, type ProductAvailabilityNow as bh, type ProductBillingPlan as bi, type ProductDealInfo as bj, type ProductInputField as bk, type ProductProperty as bl, type ProductRenderHint as bm, type ProductTaxonomy as bn, type ProductTimeProfile as bo, type ProductType as bp, type ProductVariant as bq, type ProductVariantValue as br, type ProductWithDetails as bs, type PropertyFacet as bt, type PropertySource as bu, type QuantityPricingTier as bv, RENDER_HINT as bw, type RelatedProductView as bx, type SaleCapInfo as by, type SaleInfo as bz, type AddOnOption as c, type VariantAxisView as c0, type VariantAxisWithValues as c1, type VariantDetails as c2, type VariantDetailsDTO as c3, type VariantDisplayAttribute as c4, type VariantLocationAvailability as c5, type VariantStrategy as c6, type VariantView as c7, ZERO as c8, type components as c9, currencyCode as ca, enrichError as cb, getErrorHint as cc, isCimplifyError as cd, isIdempotencyMismatchError as ce, isQuoteConflictRequiringConsent as cf, isQuoteError as cg, isRetryableError as ch, isSupportedCurrency as ci, money as cj, moneyFromNumber as ck, type AddOnOptionDetails as d, type AddOnOptionPrice as e, type AddOnWithOptions as f, type AddToCartInput as g, type AddressAuthorizationData as h, type AddressValue as i, type AdjustmentType as j, type ApiError as k, type AppliedDiscount as l, type AttributeAppliesTo as m, type AttributeType as n, type AttributeValidationRules as o, type AttributeVisibility as p, type AuthorizationType as q, type BenefitType as r, type BillingFrequency as s, type BillingMarkupType as t, type BillingPlanType as u, type BoundaryKind as v, type Bundle as w, type BundleComponentData as x, type BundleComponentInfo as y, type BundleComponentVariantView as z };
@@ -27,6 +27,7 @@ declare const ErrorCode: {
27
27
  readonly TIMEOUT: "TIMEOUT";
28
28
  readonly UNAUTHORIZED: "UNAUTHORIZED";
29
29
  readonly FORBIDDEN: "FORBIDDEN";
30
+ readonly TENANT_CONTEXT_CHANGED: "TENANT_CONTEXT_CHANGED";
30
31
  readonly NOT_FOUND: "NOT_FOUND";
31
32
  readonly VALIDATION_ERROR: "VALIDATION_ERROR";
32
33
  readonly CART_EMPTY: "CART_EMPTY";
@@ -48,6 +49,8 @@ declare const ErrorCode: {
48
49
  readonly PRICE_CHANGED: "PRICE_CHANGED";
49
50
  readonly PAYMENT_FAILED: "PAYMENT_FAILED";
50
51
  readonly PAYMENT_CANCELLED: "PAYMENT_CANCELLED";
52
+ readonly PAYMENT_CAPABILITY_MISMATCH: "PAYMENT_CAPABILITY_MISMATCH";
53
+ readonly UNSUPPORTED_CURRENCY: "UNSUPPORTED_CURRENCY";
51
54
  readonly INSUFFICIENT_FUNDS: "INSUFFICIENT_FUNDS";
52
55
  readonly CARD_DECLINED: "CARD_DECLINED";
53
56
  readonly INVALID_OTP: "INVALID_OTP";
@@ -1097,13 +1100,14 @@ interface components {
1097
1100
  order_id: string;
1098
1101
  order_number: string;
1099
1102
  bill_token?: string | null;
1103
+ payment_id?: string | null;
1100
1104
  payment_reference?: string | null;
1101
1105
  payment_status: string;
1102
1106
  requires_authorization: boolean;
1103
1107
  authorization_type?: null | components["schemas"]["AuthorizationType"];
1104
1108
  authorization_url?: string | null;
1105
1109
  display_text?: string | null;
1106
- provider?: string | null;
1110
+ provider?: null | components["schemas"]["ProviderType"];
1107
1111
  client_secret?: string | null;
1108
1112
  public_key?: string | null;
1109
1113
  next_action: components["schemas"]["NextAction"];
@@ -1166,8 +1170,8 @@ interface components {
1166
1170
  fx_quote_id?: string | null;
1167
1171
  /**
1168
1172
  * @description Pay only the required deposit now (balance collected later) instead of the
1169
- * full total. Only honored when the order is deposit-eligible and paying in
1170
- * the order's native currency.
1173
+ * full total. Honored only for the first collection on a deposit-eligible
1174
+ * order; later attempts collect the authoritative remaining balance.
1171
1175
  */
1172
1176
  pay_deposit?: boolean;
1173
1177
  /**
@@ -2749,6 +2753,37 @@ interface components {
2749
2753
  has_more: boolean;
2750
2754
  next_cursor?: string | null;
2751
2755
  };
2756
+ /**
2757
+ * @description Typed customer input for one provider-requested authorization step.
2758
+ *
2759
+ * Provider references are deliberately absent. The payment service resolves
2760
+ * the authoritative reference and provider from the tenant-scoped payment
2761
+ * row before making provider I/O.
2762
+ */
2763
+ PaymentAuthorizationSubmission: {
2764
+ value: string;
2765
+ /** @enum {string} */
2766
+ type: "pin";
2767
+ } | {
2768
+ value: string;
2769
+ /** @enum {string} */
2770
+ type: "otp";
2771
+ } | {
2772
+ value: string;
2773
+ /** @enum {string} */
2774
+ type: "phone";
2775
+ } | {
2776
+ value: string;
2777
+ /** @enum {string} */
2778
+ type: "birthday";
2779
+ } | {
2780
+ address: string;
2781
+ city: string;
2782
+ state: string;
2783
+ zip_code: string;
2784
+ /** @enum {string} */
2785
+ type: "address";
2786
+ };
2752
2787
  PaymentInfoDTO: {
2753
2788
  state: components["schemas"]["PaymentState"];
2754
2789
  computed_status?: string | null;
@@ -3275,6 +3310,8 @@ interface components {
3275
3310
  * @enum {string}
3276
3311
  */
3277
3312
  ProviderResolutionSource: "zone" | "hint" | "fallback" | "rate" | "best_price";
3313
+ /** @enum {string} */
3314
+ ProviderType: "stripe" | "paystack" | "cellulant" | "mtn_momo" | "offline";
3278
3315
  PublicCheckoutSessionResponse: {
3279
3316
  id: string;
3280
3317
  status: string;
@@ -3808,10 +3845,37 @@ interface components {
3808
3845
  balance: string;
3809
3846
  currency: string;
3810
3847
  };
3848
+ /**
3849
+ * @description One method/network combination accepted by the storefront checkout input.
3850
+ * @enum {string}
3851
+ */
3852
+ StorefrontCollectionMethod: "card" | "mobile_money";
3853
+ StorefrontCollectionMethodOption: {
3854
+ method: components["schemas"]["StorefrontCollectionMethod"];
3855
+ /** @description Optional network selector required by network-specific methods. */
3856
+ network?: string | null;
3857
+ };
3858
+ /**
3859
+ * @description Storefront-safe projection of active merchant collection routes.
3860
+ *
3861
+ * Internal providers, route cells, proceeds, operation scopes, activations,
3862
+ * bindings, readiness, provider accounts, and payout identifiers deliberately
3863
+ * remain behind the payment service boundary.
3864
+ */
3865
+ StorefrontCollectionOptions: {
3866
+ /** @description Exact ISO 4217 currency charged to the customer. */
3867
+ presentment_currency: string;
3868
+ options: components["schemas"]["StorefrontCollectionMethodOption"][];
3869
+ };
3870
+ StorefrontCollectionOptionsResponse: {
3871
+ data: components["schemas"]["StorefrontCollectionOptions"];
3872
+ };
3873
+ StorefrontPaymentAuthorizationResponse: {
3874
+ data: components["schemas"]["CheckoutApiResponse"];
3875
+ };
3811
3876
  SubmitAuthorizationArgs: {
3812
- reference: string;
3813
- auth_type: string;
3814
- value: string;
3877
+ payment_id: string;
3878
+ authorization: components["schemas"]["PaymentAuthorizationSubmission"];
3815
3879
  };
3816
3880
  SubscriptionItem: {
3817
3881
  id: string;
@@ -5681,4 +5745,122 @@ interface TagsResponse {
5681
5745
  offset: number;
5682
5746
  }
5683
5747
 
5684
- export { type ComponentPriceBreakdown as $, type AddOn as A, BOUNDARY_KIND as B, type BundleProduct as C, type BundleSelectionData as D, type BundleSelectionInput as E, type BundleStoredSelection as F, type BundleSummary as G, type BundleWithDetails as H, type Cart as I, type CartAddOn as J, type CartChannel as K, type CartItem as L, type CartItemDetails as M, type CartMutationResult as N, type CartNotice as O, type CartStatus as P, type CartSummary as Q, type CartTotals as R, type Category as S, type CategorySummary as T, type ChosenPrice as U, CimplifyError as V, type Collection as W, type CollectionProduct as X, type CollectionSummary as Y, type ComponentGroup as Z, type ComponentGroupWithComponents as _, type AddOnDetails as a, type PriceSource as a$, type ComponentSchedulingData as a0, type ComponentSelectionInput as a1, type ComponentSourceType as a2, type Composite as a3, type CompositeComponent as a4, type CompositeComponentView as a5, type CompositeGroupView as a6, type CompositePriceBreakdown as a7, type CompositePriceResult as a8, type CompositePricingMode as a9, type EligiblePlansQuery as aA, ErrorCode as aB, type ErrorCodeType as aC, type ErrorHint as aD, type FacetValue as aE, type FormattedPlanOption as aF, type GroupPricingBehavior as aG, INPUT_FIELD_TYPE as aH, IdempotencyMismatchError as aI, type InputFieldType as aJ, type InputFieldValidation as aK, type InventoryType as aL, type KnowledgeArticle as aM, type LineConfiguration as aN, type LocationProductPrice as aO, type LocationValue as aP, type MeasurementValue as aQ, type Money as aR, PRODUCT_TYPE as aS, type Pagination as aT, type PaginationParams as aU, type PhoneValue as aV, type Price as aW, type PriceAdjustment as aX, type PriceDecisionPath as aY, type PriceEntryType as aZ, type PricePathTaxInfo as a_, type CompositeSelectionData as aa, type CompositeStoredSelection as ab, type CompositeWithDetails as ac, type CurrencyCode as ad, type CustomAttributeDefinition as ae, type CustomAttributeValue as af, type CustomerInputValue as ag, DURATION_UNIT as ah, type DateRangeValue as ai, type Deal as aj, type DealBenefitType as ak, type DepositType as al, type DestinationQuote as am, type DestinationQuoteAddress as an, type DestinationQuoteInput as ao, type DigitalProductType as ap, type DiscountBreakdown as aq, type DiscountDetails as ar, type DiscountValidation as as, type DisplayAddOn as at, type DisplayAddOnOption as au, type DisplayCart as av, type DisplayCartItem as aw, type DisplayMode as ax, type DurationUnit as ay, ERROR_HINTS as az, type AddOnGroupDetails as b, isIdempotencyMismatchError as b$, type Product as b0, type ProductAddOn as b1, type ProductAvailability as b2, type ProductAvailabilityNow as b3, type ProductBillingPlan as b4, type ProductDealInfo as b5, type ProductInputField as b6, type ProductProperty as b7, type ProductRenderHint as b8, type ProductTaxonomy as b9, type TaxonomyAttributeTemplate as bA, type TaxonomyWithChildren as bB, type UICart as bC, type UICartBusiness as bD, type UICartCustomer as bE, type UICartLocation as bF, type UICartPricing as bG, type UpcomingSale as bH, type UpdateCartItemInput as bI, type VariantAxis as bJ, type VariantAxisSelection as bK, type VariantAxisValue as bL, type VariantAxisValueView as bM, type VariantAxisView as bN, type VariantAxisWithValues as bO, type VariantDetails as bP, type VariantDetailsDTO as bQ, type VariantDisplayAttribute as bR, type VariantLocationAvailability as bS, type VariantStrategy as bT, type VariantView as bU, ZERO as bV, type components as bW, currencyCode as bX, enrichError as bY, getErrorHint as bZ, isCimplifyError as b_, type ProductTimeProfile as ba, type ProductType as bb, type ProductVariant as bc, type ProductVariantValue as bd, type ProductWithDetails as be, type PropertyFacet as bf, type PropertySource as bg, type QuantityPricingTier as bh, RENDER_HINT as bi, type RelatedProductView as bj, type SaleCapInfo as bk, type SaleInfo as bl, type SalesChannel as bm, type SchedulingMode as bn, type SelectedAddOnOption as bo, type SemanticKind as bp, type SignatureValue as bq, type Subscription as br, type SubscriptionInvoice as bs, type SubscriptionItem as bt, type SubscriptionStatus as bu, type SubscriptionWithDetails as bv, type Tag as bw, type TagsResponse as bx, type TaxPathComponent as by, type TaxPriceDisplayMode as bz, type AddOnOption as c, isQuoteConflictRequiringConsent as c0, isQuoteError as c1, isRetryableError as c2, isSupportedCurrency as c3, money as c4, moneyFromNumber as c5, type AddOnOptionDetails as d, type AddOnOptionPrice as e, type AddOnWithOptions as f, type AddToCartInput as g, type AddressValue as h, type AdjustmentType as i, type ApiError as j, type AppliedDiscount as k, type AttributeAppliesTo as l, type AttributeType as m, type AttributeValidationRules as n, type AttributeVisibility as o, type BenefitType as p, type BillingFrequency as q, type BillingMarkupType as r, type BillingPlanType as s, type BoundaryKind as t, type Bundle as u, type BundleComponentData as v, type BundleComponentInfo as w, type BundleComponentVariantView as x, type BundleComponentView as y, type BundlePriceType as z };
5748
+ type PaymentStatus = "initialized" | "pending" | "processing" | "authorized" | "captured" | "not_required" | "failed" | "cancelled" | "refunded" | "unknown" | "voided" | "requires_action" | "abandoned" | "reversed" | "disputed" | "refund_pending";
5749
+ type PaymentProvider = "stripe" | "paystack" | "cellulant" | "mtn_momo" | "offline" | "mtn" | "vodafone" | "airtel" | "cash" | "manual";
5750
+ type PaymentMethodType = "card" | "bank_transfer" | "cash" | {
5751
+ mobile_money: {
5752
+ provider: string;
5753
+ phone_number: string;
5754
+ };
5755
+ } | {
5756
+ ussd: {
5757
+ provider: string;
5758
+ };
5759
+ } | {
5760
+ bank: {
5761
+ bank_code: string;
5762
+ account_number: string;
5763
+ account_name?: string;
5764
+ bank_name?: string;
5765
+ };
5766
+ } | {
5767
+ qr: {
5768
+ provider: string;
5769
+ };
5770
+ } | {
5771
+ wallet: {
5772
+ provider: string;
5773
+ };
5774
+ } | {
5775
+ crypto: {
5776
+ currency: string;
5777
+ };
5778
+ } | {
5779
+ custom: string;
5780
+ };
5781
+ interface AddressAuthorizationData {
5782
+ address: string;
5783
+ city: string;
5784
+ state: string;
5785
+ zip_code: string;
5786
+ }
5787
+ type PaymentAuthorizationKind = "otp" | "pin" | "phone" | "birthday" | "address";
5788
+ type AuthorizationType = Exclude<PaymentAuthorizationKind, "address"> | {
5789
+ address: AddressAuthorizationData;
5790
+ };
5791
+ /** Customer input for one provider-requested authorization challenge. */
5792
+ type PaymentAuthorizationSubmission = {
5793
+ type: Exclude<PaymentAuthorizationKind, "address">;
5794
+ value: string;
5795
+ } | ({
5796
+ type: "address";
5797
+ } & AddressAuthorizationData);
5798
+ type PaymentProcessingState = "initial" | "preparing" | "processing" | "verifying" | "awaiting_authorization" | "success" | "error" | "timeout";
5799
+ interface PaymentMethod {
5800
+ type: PaymentMethodType;
5801
+ provider?: string;
5802
+ phone_number?: string;
5803
+ card_last_four?: string;
5804
+ custom_value?: string;
5805
+ }
5806
+ interface Payment {
5807
+ id: string;
5808
+ order_id: string;
5809
+ business_id: string;
5810
+ amount: Money;
5811
+ currency: CurrencyCode;
5812
+ payment_method: PaymentMethod;
5813
+ status: PaymentStatus;
5814
+ provider: PaymentProvider;
5815
+ provider_reference?: string;
5816
+ failure_reason?: string;
5817
+ created_at: string;
5818
+ updated_at: string;
5819
+ }
5820
+ interface InitializePaymentResult {
5821
+ payment_id: string;
5822
+ status: PaymentStatus;
5823
+ redirect_url?: string;
5824
+ authorization_url?: string;
5825
+ reference: string;
5826
+ provider: PaymentProvider;
5827
+ }
5828
+ interface PaymentResponse {
5829
+ method: string;
5830
+ provider: string;
5831
+ requires_action: boolean;
5832
+ public_key?: string;
5833
+ client_secret?: string;
5834
+ access_code?: string;
5835
+ redirect_url?: string;
5836
+ transaction_id?: string;
5837
+ order_id?: string;
5838
+ reference?: string;
5839
+ metadata?: Record<string, unknown>;
5840
+ instructions?: string;
5841
+ display_text?: string;
5842
+ requires_authorization?: boolean;
5843
+ authorization_type?: AuthorizationType;
5844
+ provider_payment_id?: string;
5845
+ }
5846
+ interface PaymentStatusResponse {
5847
+ status: PaymentStatus;
5848
+ paid: boolean;
5849
+ amount: Money;
5850
+ currency: string;
5851
+ reference?: string;
5852
+ message: string;
5853
+ }
5854
+ interface PaymentErrorDetails {
5855
+ code: string;
5856
+ message: string;
5857
+ recoverable: boolean;
5858
+ technical?: string;
5859
+ }
5860
+ interface SubmitAuthorizationInput {
5861
+ /** Tenant-scoped Cimplify payment id returned by checkout. */
5862
+ payment_id: string;
5863
+ authorization: PaymentAuthorizationSubmission;
5864
+ }
5865
+
5866
+ export { type ComponentGroup as $, type AddOn as A, BOUNDARY_KIND as B, type BundleComponentView as C, type BundlePriceType as D, type BundleProduct as E, type BundleSelectionData as F, type BundleSelectionInput as G, type BundleStoredSelection as H, type BundleSummary as I, type BundleWithDetails as J, type Cart as K, type CartAddOn as L, type CartChannel as M, type CartItem as N, type CartItemDetails as O, type CartMutationResult as P, type CartNotice as Q, type CartStatus as R, type CartSummary as S, type CartTotals as T, type Category as U, type CategorySummary as V, type ChosenPrice as W, CimplifyError as X, type Collection as Y, type CollectionProduct as Z, type CollectionSummary as _, type AddOnDetails as a, type PaymentErrorDetails as a$, type ComponentGroupWithComponents as a0, type ComponentPriceBreakdown as a1, type ComponentSchedulingData as a2, type ComponentSelectionInput as a3, type ComponentSourceType as a4, type Composite as a5, type CompositeComponent as a6, type CompositeComponentView as a7, type CompositeGroupView as a8, type CompositePriceBreakdown as a9, type DurationUnit as aA, ERROR_HINTS as aB, type EligiblePlansQuery as aC, ErrorCode as aD, type ErrorCodeType as aE, type ErrorHint as aF, type FacetValue as aG, type FormattedPlanOption as aH, type GroupPricingBehavior as aI, INPUT_FIELD_TYPE as aJ, IdempotencyMismatchError as aK, type InitializePaymentResult as aL, type InputFieldType as aM, type InputFieldValidation as aN, type InventoryType as aO, type KnowledgeArticle as aP, type LineConfiguration as aQ, type LocationProductPrice as aR, type LocationValue as aS, type MeasurementValue as aT, type Money as aU, PRODUCT_TYPE as aV, type Pagination as aW, type PaginationParams as aX, type Payment as aY, type PaymentAuthorizationKind as aZ, type PaymentAuthorizationSubmission as a_, type CompositePriceResult as aa, type CompositePricingMode as ab, type CompositeSelectionData as ac, type CompositeStoredSelection as ad, type CompositeWithDetails as ae, type CurrencyCode as af, type CustomAttributeDefinition as ag, type CustomAttributeValue as ah, type CustomerInputValue as ai, DURATION_UNIT as aj, type DateRangeValue as ak, type Deal as al, type DealBenefitType as am, type DepositType as an, type DestinationQuote as ao, type DestinationQuoteAddress as ap, type DestinationQuoteInput as aq, type DigitalProductType as ar, type DiscountBreakdown as as, type DiscountDetails as at, type DiscountValidation as au, type DisplayAddOn as av, type DisplayAddOnOption as aw, type DisplayCart as ax, type DisplayCartItem as ay, type DisplayMode as az, type AddOnGroupDetails as b, type VariantAxisValueView as b$, type PaymentMethod as b0, type PaymentMethodType as b1, type PaymentProcessingState as b2, type PaymentProvider as b3, type PaymentResponse as b4, type PaymentStatus as b5, type PaymentStatusResponse as b6, type PhoneValue as b7, type Price as b8, type PriceAdjustment as b9, type SalesChannel as bA, type SchedulingMode as bB, type SelectedAddOnOption as bC, type SemanticKind as bD, type SignatureValue as bE, type SubmitAuthorizationInput as bF, type Subscription as bG, type SubscriptionInvoice as bH, type SubscriptionItem as bI, type SubscriptionStatus as bJ, type SubscriptionWithDetails as bK, type Tag as bL, type TagsResponse as bM, type TaxPathComponent as bN, type TaxPriceDisplayMode as bO, type TaxonomyAttributeTemplate as bP, type TaxonomyWithChildren as bQ, type UICart as bR, type UICartBusiness as bS, type UICartCustomer as bT, type UICartLocation as bU, type UICartPricing as bV, type UpcomingSale as bW, type UpdateCartItemInput as bX, type VariantAxis as bY, type VariantAxisSelection as bZ, type VariantAxisValue as b_, type PriceDecisionPath as ba, type PriceEntryType as bb, type PricePathTaxInfo as bc, type PriceSource as bd, type Product as be, type ProductAddOn as bf, type ProductAvailability as bg, type ProductAvailabilityNow as bh, type ProductBillingPlan as bi, type ProductDealInfo as bj, type ProductInputField as bk, type ProductProperty as bl, type ProductRenderHint as bm, type ProductTaxonomy as bn, type ProductTimeProfile as bo, type ProductType as bp, type ProductVariant as bq, type ProductVariantValue as br, type ProductWithDetails as bs, type PropertyFacet as bt, type PropertySource as bu, type QuantityPricingTier as bv, RENDER_HINT as bw, type RelatedProductView as bx, type SaleCapInfo as by, type SaleInfo as bz, type AddOnOption as c, type VariantAxisView as c0, type VariantAxisWithValues as c1, type VariantDetails as c2, type VariantDetailsDTO as c3, type VariantDisplayAttribute as c4, type VariantLocationAvailability as c5, type VariantStrategy as c6, type VariantView as c7, ZERO as c8, type components as c9, currencyCode as ca, enrichError as cb, getErrorHint as cc, isCimplifyError as cd, isIdempotencyMismatchError as ce, isQuoteConflictRequiringConsent as cf, isQuoteError as cg, isRetryableError as ch, isSupportedCurrency as ci, money as cj, moneyFromNumber as ck, type AddOnOptionDetails as d, type AddOnOptionPrice as e, type AddOnWithOptions as f, type AddToCartInput as g, type AddressAuthorizationData as h, type AddressValue as i, type AdjustmentType as j, type ApiError as k, type AppliedDiscount as l, type AttributeAppliesTo as m, type AttributeType as n, type AttributeValidationRules as o, type AttributeVisibility as p, type AuthorizationType as q, type BenefitType as r, type BillingFrequency as s, type BillingMarkupType as t, type BillingPlanType as u, type BoundaryKind as v, type Bundle as w, type BundleComponentData as x, type BundleComponentInfo as y, type BundleComponentVariantView as z };
@@ -1,4 +1,4 @@
1
- import { ad as CurrencyCode, U as ChosenPrice, bl as SaleInfo, bH as UpcomingSale } from './product-Byf0unSy.mjs';
1
+ import { af as CurrencyCode, W as ChosenPrice, bz as SaleInfo, bW as UpcomingSale } from './payment-H5LoIvXU.mjs';
2
2
 
3
3
  interface ProductWithPrice {
4
4
  price_info?: ChosenPrice;
@@ -1,4 +1,4 @@
1
- import { ad as CurrencyCode, U as ChosenPrice, bl as SaleInfo, bH as UpcomingSale } from './product-Byf0unSy.js';
1
+ import { af as CurrencyCode, W as ChosenPrice, bz as SaleInfo, bW as UpcomingSale } from './payment-H5LoIvXU.js';
2
2
 
3
3
  interface ProductWithPrice {
4
4
  price_info?: ChosenPrice;
package/dist/react.d.mts CHANGED
@@ -2,13 +2,13 @@ import * as React$1 from 'react';
2
2
  import React__default, { ReactNode, PointerEvent, MouseEvent } from 'react';
3
3
  import { d as AdSlot, c as AdPosition, a as AdContextValue, S as SignInOptions } from './sign-in-DQlIdqsi.mjs';
4
4
  export { A as AdConfig, g as getVariantDisplayName } from './sign-in-DQlIdqsi.mjs';
5
- import { af as CimplifyClient, cb as OrderType, cw as ProcessCheckoutResult, ac as CheckoutStatus, ad as CheckoutStatusContext, a$ as EnrichedOrderItem, a_ as EnrichedOrder, w as Business, bA as Location, cN as ReorderResult, c9 as OrderStatus, bQ as Order, cy as QuoteBundleSelectionInput, cz as QuoteCompositeSelectionInput, cs as PriceQuote, cC as QuoteUiMessage, d7 as Service, r as AvailableSlot, ay as DayAvailability, aq as CustomerBooking, L as CancelBookingResult, f as ActivityStateResponse, dg as SessionMessage, c as ActivityRecommendation, aA as DeliveryFeeResponse, aD as DeliveryOptionsResponse, bd as FxRateResponse, dq as StoreCreditBalance, ds as StorefrontBootstrap, _ as ChatWidgetStarter, W as ChatMessage, Z as ChatUploadAttachment, h as AddressInfo, n as AuthenticatedData, aZ as ElementsOptions, cm as PaymentMethodInfo, aX as ElementsCheckoutResult, cv as ProcessCheckoutOptions, ai as CimplifyElements, T as ChatAttachment, bp as LineItem, dj as Staff, d2 as Room, Y as ChatReplyContext } from './client-BizGfqB7.mjs';
5
+ import { ac as CimplifyClient, bL as OrderType, c4 as ProcessCheckoutResult, a9 as CheckoutStatus, aa as CheckoutStatusContext, aN as EnrichedOrderItem, aM as EnrichedOrder, t as Business, bd as Location, cl as ReorderResult, bJ as OrderStatus, bo as Order, c6 as QuoteBundleSelectionInput, c7 as QuoteCompositeSelectionInput, c0 as PriceQuote, ca as QuoteUiMessage, cE as Service, o as AvailableSlot, al as DayAvailability, ai as CustomerBooking, E as CancelBookingResult, d as ActivityStateResponse, cN as SessionMessage, a as ActivityRecommendation, an as DeliveryFeeResponse, aq as DeliveryOptionsResponse, aY as FxRateResponse, cW as StoreCreditBalance, cY as StorefrontBootstrap, U as ChatWidgetStarter, Q as ChatMessage, T as ChatUploadAttachment, e as AddressInfo, j as AuthenticatedData, aL as ElementsOptions, bW as PaymentMethodInfo, aJ as ElementsCheckoutResult, c3 as ProcessCheckoutOptions, af as CimplifyElements, N as ChatAttachment, b6 as LineItem, cQ as Staff, cz as Room, S as ChatReplyContext } from './client-BfpNjJ_a.mjs';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
- import { ad as CurrencyCode, b0 as Product, aT as Pagination, V as CimplifyError, be as ProductWithDetails, S as Category, aR as Money, U as ChosenPrice, E as BundleSelectionInput, a1 as ComponentSelectionInput, D as BundleSelectionData, aa as CompositeSelectionData, W as Collection, b9 as ProductTaxonomy, bB as TaxonomyWithChildren, ba as ProductTimeProfile, aj as Deal, b5 as ProductDealInfo, as as DiscountValidation, G as BundleSummary, a8 as CompositePriceResult, bv as SubscriptionWithDetails, bu as SubscriptionStatus, br as Subscription, ae as CustomAttributeDefinition, bf as PropertyFacet, b4 as ProductBillingPlan, bU as VariantView, bO as VariantAxisWithValues, f as AddOnWithOptions, y as BundleComponentView, z as BundlePriceType, a6 as CompositeGroupView, av as DisplayCart, b6 as ProductInputField, h as AddressValue, bl as SaleInfo, bH as UpcomingSale, ay as DurationUnit, t as BoundaryKind, bn as SchedulingMode, al as DepositType, af as CustomAttributeValue, b7 as ProductProperty, bh as QuantityPricingTier } from './product-Byf0unSy.mjs';
8
- import { P as ProductWithPrice } from './price-CS4E5zLS.mjs';
7
+ import { af as CurrencyCode, be as Product, aW as Pagination, X as CimplifyError, bs as ProductWithDetails, U as Category, aU as Money, W as ChosenPrice, G as BundleSelectionInput, a3 as ComponentSelectionInput, F as BundleSelectionData, ac as CompositeSelectionData, Y as Collection, bn as ProductTaxonomy, bQ as TaxonomyWithChildren, bo as ProductTimeProfile, al as Deal, bj as ProductDealInfo, au as DiscountValidation, I as BundleSummary, aa as CompositePriceResult, bK as SubscriptionWithDetails, bJ as SubscriptionStatus, bG as Subscription, ag as CustomAttributeDefinition, bt as PropertyFacet, bi as ProductBillingPlan, c7 as VariantView, c1 as VariantAxisWithValues, f as AddOnWithOptions, C as BundleComponentView, D as BundlePriceType, a8 as CompositeGroupView, ax as DisplayCart, bk as ProductInputField, i as AddressValue, bz as SaleInfo, bW as UpcomingSale, aA as DurationUnit, v as BoundaryKind, bB as SchedulingMode, an as DepositType, ah as CustomAttributeValue, bl as ProductProperty, bv as QuantityPricingTier } from './payment-H5LoIvXU.mjs';
8
+ import { P as ProductWithPrice } from './price-BvePgDXe.mjs';
9
9
  import { ClassValue } from 'clsx';
10
10
  import { Matcher } from 'react-day-picker';
11
- import './payment-l0rkieEQ.mjs';
11
+ import './link-cuNVYc2s.mjs';
12
12
 
13
13
  interface UserIdentity {
14
14
  uid: string;
package/dist/react.d.ts CHANGED
@@ -2,13 +2,13 @@ import * as React$1 from 'react';
2
2
  import React__default, { ReactNode, PointerEvent, MouseEvent } from 'react';
3
3
  import { d as AdSlot, c as AdPosition, a as AdContextValue, S as SignInOptions } from './sign-in-DQlIdqsi.js';
4
4
  export { A as AdConfig, g as getVariantDisplayName } from './sign-in-DQlIdqsi.js';
5
- import { af as CimplifyClient, cb as OrderType, cw as ProcessCheckoutResult, ac as CheckoutStatus, ad as CheckoutStatusContext, a$ as EnrichedOrderItem, a_ as EnrichedOrder, w as Business, bA as Location, cN as ReorderResult, c9 as OrderStatus, bQ as Order, cy as QuoteBundleSelectionInput, cz as QuoteCompositeSelectionInput, cs as PriceQuote, cC as QuoteUiMessage, d7 as Service, r as AvailableSlot, ay as DayAvailability, aq as CustomerBooking, L as CancelBookingResult, f as ActivityStateResponse, dg as SessionMessage, c as ActivityRecommendation, aA as DeliveryFeeResponse, aD as DeliveryOptionsResponse, bd as FxRateResponse, dq as StoreCreditBalance, ds as StorefrontBootstrap, _ as ChatWidgetStarter, W as ChatMessage, Z as ChatUploadAttachment, h as AddressInfo, n as AuthenticatedData, aZ as ElementsOptions, cm as PaymentMethodInfo, aX as ElementsCheckoutResult, cv as ProcessCheckoutOptions, ai as CimplifyElements, T as ChatAttachment, bp as LineItem, dj as Staff, d2 as Room, Y as ChatReplyContext } from './client-B40KFazg.js';
5
+ import { ac as CimplifyClient, bL as OrderType, c4 as ProcessCheckoutResult, a9 as CheckoutStatus, aa as CheckoutStatusContext, aN as EnrichedOrderItem, aM as EnrichedOrder, t as Business, bd as Location, cl as ReorderResult, bJ as OrderStatus, bo as Order, c6 as QuoteBundleSelectionInput, c7 as QuoteCompositeSelectionInput, c0 as PriceQuote, ca as QuoteUiMessage, cE as Service, o as AvailableSlot, al as DayAvailability, ai as CustomerBooking, E as CancelBookingResult, d as ActivityStateResponse, cN as SessionMessage, a as ActivityRecommendation, an as DeliveryFeeResponse, aq as DeliveryOptionsResponse, aY as FxRateResponse, cW as StoreCreditBalance, cY as StorefrontBootstrap, U as ChatWidgetStarter, Q as ChatMessage, T as ChatUploadAttachment, e as AddressInfo, j as AuthenticatedData, aL as ElementsOptions, bW as PaymentMethodInfo, aJ as ElementsCheckoutResult, c3 as ProcessCheckoutOptions, af as CimplifyElements, N as ChatAttachment, b6 as LineItem, cQ as Staff, cz as Room, S as ChatReplyContext } from './client-DHBwvh7U.js';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
- import { ad as CurrencyCode, b0 as Product, aT as Pagination, V as CimplifyError, be as ProductWithDetails, S as Category, aR as Money, U as ChosenPrice, E as BundleSelectionInput, a1 as ComponentSelectionInput, D as BundleSelectionData, aa as CompositeSelectionData, W as Collection, b9 as ProductTaxonomy, bB as TaxonomyWithChildren, ba as ProductTimeProfile, aj as Deal, b5 as ProductDealInfo, as as DiscountValidation, G as BundleSummary, a8 as CompositePriceResult, bv as SubscriptionWithDetails, bu as SubscriptionStatus, br as Subscription, ae as CustomAttributeDefinition, bf as PropertyFacet, b4 as ProductBillingPlan, bU as VariantView, bO as VariantAxisWithValues, f as AddOnWithOptions, y as BundleComponentView, z as BundlePriceType, a6 as CompositeGroupView, av as DisplayCart, b6 as ProductInputField, h as AddressValue, bl as SaleInfo, bH as UpcomingSale, ay as DurationUnit, t as BoundaryKind, bn as SchedulingMode, al as DepositType, af as CustomAttributeValue, b7 as ProductProperty, bh as QuantityPricingTier } from './product-Byf0unSy.js';
8
- import { P as ProductWithPrice } from './price-BstChV9a.js';
7
+ import { af as CurrencyCode, be as Product, aW as Pagination, X as CimplifyError, bs as ProductWithDetails, U as Category, aU as Money, W as ChosenPrice, G as BundleSelectionInput, a3 as ComponentSelectionInput, F as BundleSelectionData, ac as CompositeSelectionData, Y as Collection, bn as ProductTaxonomy, bQ as TaxonomyWithChildren, bo as ProductTimeProfile, al as Deal, bj as ProductDealInfo, au as DiscountValidation, I as BundleSummary, aa as CompositePriceResult, bK as SubscriptionWithDetails, bJ as SubscriptionStatus, bG as Subscription, ag as CustomAttributeDefinition, bt as PropertyFacet, bi as ProductBillingPlan, c7 as VariantView, c1 as VariantAxisWithValues, f as AddOnWithOptions, C as BundleComponentView, D as BundlePriceType, a8 as CompositeGroupView, ax as DisplayCart, bk as ProductInputField, i as AddressValue, bz as SaleInfo, bW as UpcomingSale, aA as DurationUnit, v as BoundaryKind, bB as SchedulingMode, an as DepositType, ah as CustomAttributeValue, bl as ProductProperty, bv as QuantityPricingTier } from './payment-H5LoIvXU.js';
8
+ import { P as ProductWithPrice } from './price-C2RqscMY.js';
9
9
  import { ClassValue } from 'clsx';
10
10
  import { Matcher } from 'react-day-picker';
11
- import './payment-vzNnIi1n.js';
11
+ import './link-cuNVYc2s.js';
12
12
 
13
13
  interface UserIdentity {
14
14
  uid: string;