@cimplify/sdk 0.101.1 → 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-QPRI2NII.js → chunk-2P4KXFB6.js} +6 -0
- package/dist/{chunk-4G5UWFC3.mjs → chunk-3V4DVXV3.mjs} +6 -1
- package/dist/{chunk-YHPMFTMN.mjs → chunk-C2JSNJUC.mjs} +406 -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-7H6IL7CX.mjs → chunk-H7ACMHM3.mjs} +40 -15
- 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-ICCCSVN3.js → chunk-QOWPGS7Z.js} +42 -16
- package/dist/{chunk-YDA46OZ6.js → chunk-R6OLQ33I.js} +560 -80
- package/dist/{chunk-H5SSGN7W.js → chunk-VIL6IQCG.js} +408 -97
- package/dist/{chunk-O3YUHLZL.mjs → chunk-VNPEYLB2.mjs} +5 -0
- package/dist/{client-Db554902.d.ts → client-BfpNjJ_a.d.mts} +93 -299
- package/dist/{client-CdTx7X_X.d.mts → client-DHBwvh7U.d.ts} +93 -299
- package/dist/{client-WkUcvRvO.d.mts → client-DpqRobY9.d.mts} +2 -2
- package/dist/{client-D40kI8z2.d.ts → client-Dqg2mc-7.d.ts} +2 -2
- package/dist/{index-D3UXgAYl.d.ts → index-C8uDqLwJ.d.ts} +14 -4
- package/dist/{index-BjWUkYgY.d.mts → index-e2y6AK70.d.mts} +14 -4
- package/dist/index.d.mts +92 -8
- package/dist/index.d.ts +92 -8
- package/dist/index.js +225 -188
- package/dist/index.mjs +7 -6
- package/dist/link-cuNVYc2s.d.mts +297 -0
- package/dist/link-cuNVYc2s.d.ts +297 -0
- package/dist/mock/cli.mjs +412 -94
- package/dist/mock/library.js +412 -94
- package/dist/mock/library.mjs +412 -94
- package/dist/mock/msw.js +412 -94
- package/dist/mock/msw.mjs +412 -94
- package/dist/{product-DwKdC_to.d.mts → payment-H5LoIvXU.d.mts} +207 -7
- package/dist/{product-DwKdC_to.d.ts → payment-H5LoIvXU.d.ts} +207 -7
- package/dist/{price-CiQUd_XX.d.mts → price-BvePgDXe.d.mts} +1 -1
- package/dist/{price-D9EOj8y8.d.ts → price-C2RqscMY.d.ts} +1 -1
- package/dist/react.d.mts +6 -4
- package/dist/react.d.ts +6 -4
- package/dist/react.js +203 -198
- package/dist/react.mjs +11 -6
- package/dist/{server-CeDb93WA.d.ts → server-C7FyLdrz.d.mts} +11 -9
- package/dist/{server-D-nSkrUr.d.mts → 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 +175 -45
- package/dist/testing.d.ts +175 -45
- package/dist/testing.js +86 -81
- 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-CRqjGrx6.d.mts +0 -113
- package/dist/payment-DO1Z1Ip6.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";
|
|
@@ -955,6 +958,11 @@ interface components {
|
|
|
955
958
|
* labels it "included" rather than summing it onto the total.
|
|
956
959
|
*/
|
|
957
960
|
tax_inclusive: boolean;
|
|
961
|
+
/**
|
|
962
|
+
* @description Reviewed policy for presenting tax in customer-facing prices. This is
|
|
963
|
+
* independent from whether the pricing arithmetic is tax-inclusive.
|
|
964
|
+
*/
|
|
965
|
+
price_display_mode?: components["schemas"]["TaxPriceDisplayMode"];
|
|
958
966
|
/**
|
|
959
967
|
* @description Deposit due now when the cart has deposit-eligible service items, letting
|
|
960
968
|
* checkout offer "pay deposit now, balance later". `0` when none applies.
|
|
@@ -1092,13 +1100,14 @@ interface components {
|
|
|
1092
1100
|
order_id: string;
|
|
1093
1101
|
order_number: string;
|
|
1094
1102
|
bill_token?: string | null;
|
|
1103
|
+
payment_id?: string | null;
|
|
1095
1104
|
payment_reference?: string | null;
|
|
1096
1105
|
payment_status: string;
|
|
1097
1106
|
requires_authorization: boolean;
|
|
1098
1107
|
authorization_type?: null | components["schemas"]["AuthorizationType"];
|
|
1099
1108
|
authorization_url?: string | null;
|
|
1100
1109
|
display_text?: string | null;
|
|
1101
|
-
provider?:
|
|
1110
|
+
provider?: null | components["schemas"]["ProviderType"];
|
|
1102
1111
|
client_secret?: string | null;
|
|
1103
1112
|
public_key?: string | null;
|
|
1104
1113
|
next_action: components["schemas"]["NextAction"];
|
|
@@ -1122,6 +1131,8 @@ interface components {
|
|
|
1122
1131
|
tax_inclusive: boolean;
|
|
1123
1132
|
/** @description Effective tax rate in percentage points (for example, `8.25`). */
|
|
1124
1133
|
tax_rate?: string | null;
|
|
1134
|
+
/** @description Reviewed consumer-facing price presentation policy for this quote. */
|
|
1135
|
+
price_display_mode: components["schemas"]["TaxPriceDisplayMode"];
|
|
1125
1136
|
delivery_fee_details?: null | components["schemas"]["DeliveryFeeDetails"];
|
|
1126
1137
|
address_info: components["schemas"]["AddressInfo"];
|
|
1127
1138
|
};
|
|
@@ -1159,8 +1170,8 @@ interface components {
|
|
|
1159
1170
|
fx_quote_id?: string | null;
|
|
1160
1171
|
/**
|
|
1161
1172
|
* @description Pay only the required deposit now (balance collected later) instead of the
|
|
1162
|
-
* full total.
|
|
1163
|
-
* the
|
|
1173
|
+
* full total. Honored only for the first collection on a deposit-eligible
|
|
1174
|
+
* order; later attempts collect the authoritative remaining balance.
|
|
1164
1175
|
*/
|
|
1165
1176
|
pay_deposit?: boolean;
|
|
1166
1177
|
/**
|
|
@@ -1191,6 +1202,8 @@ interface components {
|
|
|
1191
1202
|
tax_inclusive: boolean;
|
|
1192
1203
|
/** @description Effective tax rate in percentage points (for example, `8.25`). */
|
|
1193
1204
|
tax_rate?: string | null;
|
|
1205
|
+
/** @description Reviewed consumer-facing price presentation policy for these totals. */
|
|
1206
|
+
price_display_mode: components["schemas"]["TaxPriceDisplayMode"];
|
|
1194
1207
|
};
|
|
1195
1208
|
CheckoutSessionCartItem: {
|
|
1196
1209
|
product_id: string;
|
|
@@ -2740,6 +2753,37 @@ interface components {
|
|
|
2740
2753
|
has_more: boolean;
|
|
2741
2754
|
next_cursor?: string | null;
|
|
2742
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
|
+
};
|
|
2743
2787
|
PaymentInfoDTO: {
|
|
2744
2788
|
state: components["schemas"]["PaymentState"];
|
|
2745
2789
|
computed_status?: string | null;
|
|
@@ -3266,6 +3310,8 @@ interface components {
|
|
|
3266
3310
|
* @enum {string}
|
|
3267
3311
|
*/
|
|
3268
3312
|
ProviderResolutionSource: "zone" | "hint" | "fallback" | "rate" | "best_price";
|
|
3313
|
+
/** @enum {string} */
|
|
3314
|
+
ProviderType: "stripe" | "paystack" | "cellulant" | "mtn_momo" | "offline";
|
|
3269
3315
|
PublicCheckoutSessionResponse: {
|
|
3270
3316
|
id: string;
|
|
3271
3317
|
status: string;
|
|
@@ -3799,10 +3845,37 @@ interface components {
|
|
|
3799
3845
|
balance: string;
|
|
3800
3846
|
currency: string;
|
|
3801
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
|
+
};
|
|
3802
3876
|
SubmitAuthorizationArgs: {
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
value: string;
|
|
3877
|
+
payment_id: string;
|
|
3878
|
+
authorization: components["schemas"]["PaymentAuthorizationSubmission"];
|
|
3806
3879
|
};
|
|
3807
3880
|
SubscriptionItem: {
|
|
3808
3881
|
id: string;
|
|
@@ -3886,6 +3959,11 @@ interface components {
|
|
|
3886
3959
|
name: string;
|
|
3887
3960
|
rate: string;
|
|
3888
3961
|
};
|
|
3962
|
+
/**
|
|
3963
|
+
* @description Reviewed ways a price may be presented to the selected audience.
|
|
3964
|
+
* @enum {string}
|
|
3965
|
+
*/
|
|
3966
|
+
TaxPriceDisplayMode: "unspecified" | "gross_required" | "gross_and_net" | "net_allowed";
|
|
3889
3967
|
TaxonomyWithChildren: components["schemas"]["ProductTaxonomy"] & {
|
|
3890
3968
|
children: components["schemas"]["ProductTaxonomy"][];
|
|
3891
3969
|
};
|
|
@@ -4525,6 +4603,7 @@ interface UICartCustomer {
|
|
|
4525
4603
|
phone?: string;
|
|
4526
4604
|
address?: string;
|
|
4527
4605
|
}
|
|
4606
|
+
type TaxPriceDisplayMode = "unspecified" | "gross_required" | "gross_and_net" | "net_allowed";
|
|
4528
4607
|
interface UICartPricing {
|
|
4529
4608
|
subtotal: Money;
|
|
4530
4609
|
tax_amount: Money;
|
|
@@ -4537,6 +4616,9 @@ interface UICartPricing {
|
|
|
4537
4616
|
/** Tax is baked into the prices (e.g. Ghana VAT), so `tax_amount` is the
|
|
4538
4617
|
* portion already inside `subtotal`/`total_price`, not an addition. */
|
|
4539
4618
|
tax_inclusive: boolean;
|
|
4619
|
+
/** Reviewed presentation policy, independent from whether tax arithmetic is
|
|
4620
|
+
* inclusive. Older backend responses may omit it. */
|
|
4621
|
+
price_display_mode?: TaxPriceDisplayMode;
|
|
4540
4622
|
/** Jurisdiction resolved by the checkout tax decision (for example,
|
|
4541
4623
|
* `Austin, TX`). Absent until the cart has a destination decision;
|
|
4542
4624
|
* clients must not infer it from the preview rate. */
|
|
@@ -5663,4 +5745,122 @@ interface TagsResponse {
|
|
|
5663
5745
|
offset: number;
|
|
5664
5746
|
}
|
|
5665
5747
|
|
|
5666
|
-
|
|
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";
|
|
@@ -955,6 +958,11 @@ interface components {
|
|
|
955
958
|
* labels it "included" rather than summing it onto the total.
|
|
956
959
|
*/
|
|
957
960
|
tax_inclusive: boolean;
|
|
961
|
+
/**
|
|
962
|
+
* @description Reviewed policy for presenting tax in customer-facing prices. This is
|
|
963
|
+
* independent from whether the pricing arithmetic is tax-inclusive.
|
|
964
|
+
*/
|
|
965
|
+
price_display_mode?: components["schemas"]["TaxPriceDisplayMode"];
|
|
958
966
|
/**
|
|
959
967
|
* @description Deposit due now when the cart has deposit-eligible service items, letting
|
|
960
968
|
* checkout offer "pay deposit now, balance later". `0` when none applies.
|
|
@@ -1092,13 +1100,14 @@ interface components {
|
|
|
1092
1100
|
order_id: string;
|
|
1093
1101
|
order_number: string;
|
|
1094
1102
|
bill_token?: string | null;
|
|
1103
|
+
payment_id?: string | null;
|
|
1095
1104
|
payment_reference?: string | null;
|
|
1096
1105
|
payment_status: string;
|
|
1097
1106
|
requires_authorization: boolean;
|
|
1098
1107
|
authorization_type?: null | components["schemas"]["AuthorizationType"];
|
|
1099
1108
|
authorization_url?: string | null;
|
|
1100
1109
|
display_text?: string | null;
|
|
1101
|
-
provider?:
|
|
1110
|
+
provider?: null | components["schemas"]["ProviderType"];
|
|
1102
1111
|
client_secret?: string | null;
|
|
1103
1112
|
public_key?: string | null;
|
|
1104
1113
|
next_action: components["schemas"]["NextAction"];
|
|
@@ -1122,6 +1131,8 @@ interface components {
|
|
|
1122
1131
|
tax_inclusive: boolean;
|
|
1123
1132
|
/** @description Effective tax rate in percentage points (for example, `8.25`). */
|
|
1124
1133
|
tax_rate?: string | null;
|
|
1134
|
+
/** @description Reviewed consumer-facing price presentation policy for this quote. */
|
|
1135
|
+
price_display_mode: components["schemas"]["TaxPriceDisplayMode"];
|
|
1125
1136
|
delivery_fee_details?: null | components["schemas"]["DeliveryFeeDetails"];
|
|
1126
1137
|
address_info: components["schemas"]["AddressInfo"];
|
|
1127
1138
|
};
|
|
@@ -1159,8 +1170,8 @@ interface components {
|
|
|
1159
1170
|
fx_quote_id?: string | null;
|
|
1160
1171
|
/**
|
|
1161
1172
|
* @description Pay only the required deposit now (balance collected later) instead of the
|
|
1162
|
-
* full total.
|
|
1163
|
-
* the
|
|
1173
|
+
* full total. Honored only for the first collection on a deposit-eligible
|
|
1174
|
+
* order; later attempts collect the authoritative remaining balance.
|
|
1164
1175
|
*/
|
|
1165
1176
|
pay_deposit?: boolean;
|
|
1166
1177
|
/**
|
|
@@ -1191,6 +1202,8 @@ interface components {
|
|
|
1191
1202
|
tax_inclusive: boolean;
|
|
1192
1203
|
/** @description Effective tax rate in percentage points (for example, `8.25`). */
|
|
1193
1204
|
tax_rate?: string | null;
|
|
1205
|
+
/** @description Reviewed consumer-facing price presentation policy for these totals. */
|
|
1206
|
+
price_display_mode: components["schemas"]["TaxPriceDisplayMode"];
|
|
1194
1207
|
};
|
|
1195
1208
|
CheckoutSessionCartItem: {
|
|
1196
1209
|
product_id: string;
|
|
@@ -2740,6 +2753,37 @@ interface components {
|
|
|
2740
2753
|
has_more: boolean;
|
|
2741
2754
|
next_cursor?: string | null;
|
|
2742
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
|
+
};
|
|
2743
2787
|
PaymentInfoDTO: {
|
|
2744
2788
|
state: components["schemas"]["PaymentState"];
|
|
2745
2789
|
computed_status?: string | null;
|
|
@@ -3266,6 +3310,8 @@ interface components {
|
|
|
3266
3310
|
* @enum {string}
|
|
3267
3311
|
*/
|
|
3268
3312
|
ProviderResolutionSource: "zone" | "hint" | "fallback" | "rate" | "best_price";
|
|
3313
|
+
/** @enum {string} */
|
|
3314
|
+
ProviderType: "stripe" | "paystack" | "cellulant" | "mtn_momo" | "offline";
|
|
3269
3315
|
PublicCheckoutSessionResponse: {
|
|
3270
3316
|
id: string;
|
|
3271
3317
|
status: string;
|
|
@@ -3799,10 +3845,37 @@ interface components {
|
|
|
3799
3845
|
balance: string;
|
|
3800
3846
|
currency: string;
|
|
3801
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
|
+
};
|
|
3802
3876
|
SubmitAuthorizationArgs: {
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
value: string;
|
|
3877
|
+
payment_id: string;
|
|
3878
|
+
authorization: components["schemas"]["PaymentAuthorizationSubmission"];
|
|
3806
3879
|
};
|
|
3807
3880
|
SubscriptionItem: {
|
|
3808
3881
|
id: string;
|
|
@@ -3886,6 +3959,11 @@ interface components {
|
|
|
3886
3959
|
name: string;
|
|
3887
3960
|
rate: string;
|
|
3888
3961
|
};
|
|
3962
|
+
/**
|
|
3963
|
+
* @description Reviewed ways a price may be presented to the selected audience.
|
|
3964
|
+
* @enum {string}
|
|
3965
|
+
*/
|
|
3966
|
+
TaxPriceDisplayMode: "unspecified" | "gross_required" | "gross_and_net" | "net_allowed";
|
|
3889
3967
|
TaxonomyWithChildren: components["schemas"]["ProductTaxonomy"] & {
|
|
3890
3968
|
children: components["schemas"]["ProductTaxonomy"][];
|
|
3891
3969
|
};
|
|
@@ -4525,6 +4603,7 @@ interface UICartCustomer {
|
|
|
4525
4603
|
phone?: string;
|
|
4526
4604
|
address?: string;
|
|
4527
4605
|
}
|
|
4606
|
+
type TaxPriceDisplayMode = "unspecified" | "gross_required" | "gross_and_net" | "net_allowed";
|
|
4528
4607
|
interface UICartPricing {
|
|
4529
4608
|
subtotal: Money;
|
|
4530
4609
|
tax_amount: Money;
|
|
@@ -4537,6 +4616,9 @@ interface UICartPricing {
|
|
|
4537
4616
|
/** Tax is baked into the prices (e.g. Ghana VAT), so `tax_amount` is the
|
|
4538
4617
|
* portion already inside `subtotal`/`total_price`, not an addition. */
|
|
4539
4618
|
tax_inclusive: boolean;
|
|
4619
|
+
/** Reviewed presentation policy, independent from whether tax arithmetic is
|
|
4620
|
+
* inclusive. Older backend responses may omit it. */
|
|
4621
|
+
price_display_mode?: TaxPriceDisplayMode;
|
|
4540
4622
|
/** Jurisdiction resolved by the checkout tax decision (for example,
|
|
4541
4623
|
* `Austin, TX`). Absent until the cart has a destination decision;
|
|
4542
4624
|
* clients must not infer it from the preview rate. */
|
|
@@ -5663,4 +5745,122 @@ interface TagsResponse {
|
|
|
5663
5745
|
offset: number;
|
|
5664
5746
|
}
|
|
5665
5747
|
|
|
5666
|
-
|
|
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;
|