@wix/auto_sdk_ecom_cart-v-2 1.0.33 → 1.0.35
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/build/cjs/index.d.ts +20 -34
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +20 -34
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +20 -34
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +20 -34
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +20 -34
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +20 -34
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +20 -34
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +20 -34
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1389,39 +1389,7 @@ interface CartSettings {
|
|
|
1389
1389
|
/** Whether to disable manual payment option for this checkout. */
|
|
1390
1390
|
manualPaymentDisabled?: boolean | null;
|
|
1391
1391
|
}
|
|
1392
|
-
interface CustomField {
|
|
1393
|
-
/** Custom field value. */
|
|
1394
|
-
value?: any;
|
|
1395
|
-
/**
|
|
1396
|
-
* Custom field title.
|
|
1397
|
-
* @minLength 1
|
|
1398
|
-
* @maxLength 500
|
|
1399
|
-
*/
|
|
1400
|
-
title?: string;
|
|
1401
|
-
/**
|
|
1402
|
-
* Translated custom field title.
|
|
1403
|
-
* @minLength 1
|
|
1404
|
-
* @maxLength 500
|
|
1405
|
-
*/
|
|
1406
|
-
translatedTitle?: string | null;
|
|
1407
|
-
}
|
|
1408
1392
|
interface LegacyFields {
|
|
1409
|
-
/**
|
|
1410
|
-
* The applied discounts of the Cart.
|
|
1411
|
-
* Discounts that are no longer applied are not included in this list.
|
|
1412
|
-
* @maxSize 100
|
|
1413
|
-
*/
|
|
1414
|
-
appliedDiscounts?: Discount[];
|
|
1415
|
-
/** The coupon discount amount. */
|
|
1416
|
-
couponDiscount?: ConvertedMoney;
|
|
1417
|
-
/** The sum of all line items after applying all discounts. */
|
|
1418
|
-
subtotalAfterCouponDiscount?: ConvertedMoney;
|
|
1419
|
-
/**
|
|
1420
|
-
* Indicates that this cart was created by the Buy Now flow.
|
|
1421
|
-
* Used by the Cart API proxy to determine whether to produce legacy V1 domain events.
|
|
1422
|
-
* @immutable
|
|
1423
|
-
*/
|
|
1424
|
-
buyNow?: boolean;
|
|
1425
1393
|
}
|
|
1426
1394
|
interface Discount {
|
|
1427
1395
|
/** The display name of the discount. */
|
|
@@ -1489,6 +1457,22 @@ interface DiscountBenefitValueOneOf {
|
|
|
1489
1457
|
/** A specific monetary value deducted from the total cost. */
|
|
1490
1458
|
amountOff?: ConvertedMoney;
|
|
1491
1459
|
}
|
|
1460
|
+
interface CustomField {
|
|
1461
|
+
/** Custom field value. */
|
|
1462
|
+
value?: any;
|
|
1463
|
+
/**
|
|
1464
|
+
* Custom field title.
|
|
1465
|
+
* @minLength 1
|
|
1466
|
+
* @maxLength 500
|
|
1467
|
+
*/
|
|
1468
|
+
title?: string;
|
|
1469
|
+
/**
|
|
1470
|
+
* Translated custom field title.
|
|
1471
|
+
* @minLength 1
|
|
1472
|
+
* @maxLength 500
|
|
1473
|
+
*/
|
|
1474
|
+
translatedTitle?: string | null;
|
|
1475
|
+
}
|
|
1492
1476
|
interface CartSummary {
|
|
1493
1477
|
/**
|
|
1494
1478
|
* The Cart ID.
|
|
@@ -2741,12 +2725,14 @@ interface CalculateTotalsResponse {
|
|
|
2741
2725
|
/** Weight unit. */
|
|
2742
2726
|
weightUnit?: WeightUnitWithLiterals;
|
|
2743
2727
|
/**
|
|
2744
|
-
*
|
|
2728
|
+
* The business’s default currency. Used for price calculations.
|
|
2729
|
+
* This represents the base currency configured for the site and remains constant regardless of the [customer’s currency selection](https://support.wix.com/en/article/multicurrency-an-overview).
|
|
2745
2730
|
* @format CURRENCY
|
|
2746
2731
|
*/
|
|
2747
2732
|
currency?: string;
|
|
2748
2733
|
/**
|
|
2749
|
-
*
|
|
2734
|
+
* The currency [selected by the customer](https://support.wix.com/en/article/multicurrency-an-overview). Used for converted price calculations.
|
|
2735
|
+
* This reflects the customer’s preferred currency and may differ from the site’s default currency.
|
|
2750
2736
|
* @readonly
|
|
2751
2737
|
* @format CURRENCY
|
|
2752
2738
|
*/
|