@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
|
@@ -1414,39 +1414,7 @@ interface CartSettings {
|
|
|
1414
1414
|
/** Whether to disable manual payment option for this checkout. */
|
|
1415
1415
|
manualPaymentDisabled?: boolean | null;
|
|
1416
1416
|
}
|
|
1417
|
-
interface CustomField {
|
|
1418
|
-
/** Custom field value. */
|
|
1419
|
-
value?: any;
|
|
1420
|
-
/**
|
|
1421
|
-
* Custom field title.
|
|
1422
|
-
* @minLength 1
|
|
1423
|
-
* @maxLength 500
|
|
1424
|
-
*/
|
|
1425
|
-
title?: string;
|
|
1426
|
-
/**
|
|
1427
|
-
* Translated custom field title.
|
|
1428
|
-
* @minLength 1
|
|
1429
|
-
* @maxLength 500
|
|
1430
|
-
*/
|
|
1431
|
-
translatedTitle?: string | null;
|
|
1432
|
-
}
|
|
1433
1417
|
interface LegacyFields {
|
|
1434
|
-
/**
|
|
1435
|
-
* The applied discounts of the Cart.
|
|
1436
|
-
* Discounts that are no longer applied are not included in this list.
|
|
1437
|
-
* @maxSize 100
|
|
1438
|
-
*/
|
|
1439
|
-
appliedDiscounts?: Discount[];
|
|
1440
|
-
/** The coupon discount amount. */
|
|
1441
|
-
couponDiscount?: ConvertedMoney;
|
|
1442
|
-
/** The sum of all line items after applying all discounts. */
|
|
1443
|
-
subtotalAfterCouponDiscount?: ConvertedMoney;
|
|
1444
|
-
/**
|
|
1445
|
-
* Indicates that this cart was created by the Buy Now flow.
|
|
1446
|
-
* Used by the Cart API proxy to determine whether to produce legacy V1 domain events.
|
|
1447
|
-
* @immutable
|
|
1448
|
-
*/
|
|
1449
|
-
buyNow?: boolean;
|
|
1450
1418
|
}
|
|
1451
1419
|
interface Discount {
|
|
1452
1420
|
/** The display name of the discount. */
|
|
@@ -1514,6 +1482,22 @@ interface DiscountBenefitValueOneOf {
|
|
|
1514
1482
|
/** A specific monetary value deducted from the total cost. */
|
|
1515
1483
|
amountOff?: ConvertedMoney;
|
|
1516
1484
|
}
|
|
1485
|
+
interface CustomField {
|
|
1486
|
+
/** Custom field value. */
|
|
1487
|
+
value?: any;
|
|
1488
|
+
/**
|
|
1489
|
+
* Custom field title.
|
|
1490
|
+
* @minLength 1
|
|
1491
|
+
* @maxLength 500
|
|
1492
|
+
*/
|
|
1493
|
+
title?: string;
|
|
1494
|
+
/**
|
|
1495
|
+
* Translated custom field title.
|
|
1496
|
+
* @minLength 1
|
|
1497
|
+
* @maxLength 500
|
|
1498
|
+
*/
|
|
1499
|
+
translatedTitle?: string | null;
|
|
1500
|
+
}
|
|
1517
1501
|
interface CartSummary {
|
|
1518
1502
|
/**
|
|
1519
1503
|
* The Cart ID.
|
|
@@ -2763,12 +2747,14 @@ interface CalculateTotalsResponse {
|
|
|
2763
2747
|
/** Weight unit. */
|
|
2764
2748
|
weightUnit?: WeightUnitWithLiterals;
|
|
2765
2749
|
/**
|
|
2766
|
-
*
|
|
2750
|
+
* The business’s default currency. Used for price calculations.
|
|
2751
|
+
* 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).
|
|
2767
2752
|
* @format CURRENCY
|
|
2768
2753
|
*/
|
|
2769
2754
|
currency?: string;
|
|
2770
2755
|
/**
|
|
2771
|
-
*
|
|
2756
|
+
* The currency [selected by the customer](https://support.wix.com/en/article/multicurrency-an-overview). Used for converted price calculations.
|
|
2757
|
+
* This reflects the customer’s preferred currency and may differ from the site’s default currency.
|
|
2772
2758
|
* @readonly
|
|
2773
2759
|
* @format CURRENCY
|
|
2774
2760
|
*/
|