@wix/auto_sdk_ecom_current-cart-v-2 1.0.6 → 1.0.8

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.
@@ -1547,6 +1547,9 @@ interface V2AdditionalFee {
1547
1547
  interface TaxSummary {
1548
1548
  /**
1549
1549
  * List of taxes applied to the cart.
1550
+ * May contain multiple entries when advanced tax rates are configured by the merchant,
1551
+ * or a single entry representing the total tax amount.
1552
+ * For more details on advanced tax rates, read [this article](https://support.wix.com/en/article/setting-up-tax-calculation-using-the-manual-method#step-3-optional-customize-advanced-mode-settings).
1550
1553
  * @maxSize 100
1551
1554
  */
1552
1555
  taxes?: Tax[];
@@ -1577,9 +1580,11 @@ interface Tax {
1577
1580
  * Tax rate %, as a decimal point between 0 and 1.
1578
1581
  * @decimalValue options { gte:0, lte:1, maxScale:6 }
1579
1582
  */
1580
- rate?: string;
1583
+ rate?: string | null;
1581
1584
  /** Calculated tax, based on `taxable_amount` and `rate`. */
1582
1585
  totalTax?: MultiCurrencyPrice;
1586
+ /** Amount that is exempt from tax. */
1587
+ totalExemptAmount?: MultiCurrencyPrice;
1583
1588
  }
1584
1589
  interface LineItemTax {
1585
1590
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_ecom_current-cart-v-2",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.ecom.v2.cart"
51
51
  }
52
52
  },
53
- "falconPackageHash": "50fa41ddb5f2b71124d387d5311315c9ecc482e323a1e0ee8efcb58e"
53
+ "falconPackageHash": "593caa200ba2d4adda0daf25e061d7568ecc3a0ed43db6032874fba9"
54
54
  }