@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.
- package/dist/advanced.d.mts +3 -3
- package/dist/advanced.d.ts +3 -3
- package/dist/advanced.js +23 -22
- package/dist/advanced.mjs +4 -3
- package/dist/{chunk-DCMXUKDQ.mjs → chunk-C2JSNJUC.mjs} +404 -95
- package/dist/chunk-CNN7Z2IP.js +125 -0
- package/dist/{chunk-DKLHCZ5M.mjs → chunk-GERXZQSX.mjs} +487 -11
- package/dist/chunk-GOHSXBKW.mjs +105 -0
- package/dist/{chunk-4KNFBPV2.mjs → chunk-H7ACMHM3.mjs} +32 -14
- package/dist/{chunk-Z3K2D3TE.mjs → chunk-J6PNHDHL.mjs} +453 -483
- package/dist/{chunk-NIOUSKQQ.js → chunk-JG5CQNCB.js} +5 -0
- package/dist/{chunk-YER7DIOM.js → chunk-JSWJ4XDE.js} +471 -519
- package/dist/{chunk-DLW3RWRK.mjs → chunk-M4URVKHE.mjs} +46 -12
- package/dist/{chunk-WMEC5JWN.js → chunk-NNG6IFFX.js} +50 -13
- package/dist/{chunk-LOWSMGRT.js → chunk-QOWPGS7Z.js} +34 -16
- package/dist/{chunk-YDA46OZ6.js → chunk-R6OLQ33I.js} +560 -80
- package/dist/{chunk-EAZGA7LD.js → chunk-VIL6IQCG.js} +406 -97
- package/dist/{chunk-O3YUHLZL.mjs → chunk-VNPEYLB2.mjs} +5 -0
- package/dist/{client-B40KFazg.d.ts → client-BfpNjJ_a.d.mts} +90 -299
- package/dist/{client-BizGfqB7.d.mts → client-DHBwvh7U.d.ts} +90 -299
- package/dist/{client-BdErclfU.d.mts → client-DpqRobY9.d.mts} +2 -2
- package/dist/{client-nsiMwuC1.d.ts → client-Dqg2mc-7.d.ts} +2 -2
- package/dist/{index-DpmnI__D.d.mts → index-C8uDqLwJ.d.ts} +14 -4
- package/dist/{index-nEyXWIyR.d.ts → index-e2y6AK70.d.mts} +14 -4
- package/dist/index.d.mts +81 -8
- package/dist/index.d.ts +81 -8
- package/dist/index.js +202 -169
- package/dist/index.mjs +6 -5
- package/dist/link-cuNVYc2s.d.mts +297 -0
- package/dist/link-cuNVYc2s.d.ts +297 -0
- package/dist/mock/cli.mjs +410 -94
- package/dist/mock/library.js +410 -94
- package/dist/mock/library.mjs +410 -94
- package/dist/mock/msw.js +410 -94
- package/dist/mock/msw.mjs +410 -94
- package/dist/{product-Byf0unSy.d.mts → payment-H5LoIvXU.d.mts} +189 -7
- package/dist/{product-Byf0unSy.d.ts → payment-H5LoIvXU.d.ts} +189 -7
- package/dist/{price-CS4E5zLS.d.mts → price-BvePgDXe.d.mts} +1 -1
- package/dist/{price-BstChV9a.d.ts → price-C2RqscMY.d.ts} +1 -1
- package/dist/react.d.mts +4 -4
- package/dist/react.d.ts +4 -4
- package/dist/react.js +141 -140
- package/dist/react.mjs +5 -4
- package/dist/{server-DqbZh8Bk.d.mts → server-C7FyLdrz.d.mts} +11 -9
- package/dist/{server-Cj40R2ZD.d.ts → server-DoXIpSd7.d.ts} +11 -9
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +11 -10
- package/dist/server.mjs +5 -4
- package/dist/testing/msw.d.mts +2 -2
- package/dist/testing/msw.d.ts +2 -2
- package/dist/testing/msw.js +4 -3
- package/dist/testing/msw.mjs +3 -2
- package/dist/testing/suite.d.mts +6 -6
- package/dist/testing/suite.d.ts +6 -6
- package/dist/testing/suite.js +26 -25
- package/dist/testing/suite.mjs +7 -6
- package/dist/testing.d.mts +154 -55
- package/dist/testing.d.ts +154 -55
- package/dist/testing.js +83 -82
- package/dist/testing.mjs +8 -7
- package/dist/utils.d.mts +4 -4
- package/dist/utils.d.ts +4 -4
- package/dist/utils.js +37 -29
- package/dist/utils.mjs +2 -2
- package/package.json +7 -1
- package/dist/payment-l0rkieEQ.d.mts +0 -113
- 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?:
|
|
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.
|
|
1170
|
-
* the
|
|
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
|
-
|
|
3813
|
-
|
|
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
|
-
|
|
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?:
|
|
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.
|
|
1170
|
-
* the
|
|
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
|
-
|
|
3813
|
-
|
|
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
|
-
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
8
|
-
import { P as ProductWithPrice } from './price-
|
|
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 './
|
|
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 {
|
|
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 {
|
|
8
|
-
import { P as ProductWithPrice } from './price-
|
|
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 './
|
|
11
|
+
import './link-cuNVYc2s.js';
|
|
12
12
|
|
|
13
13
|
interface UserIdentity {
|
|
14
14
|
uid: string;
|