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