@wix/auto_sdk_ecom_draft-orders 1.0.191 → 1.0.193

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.
@@ -375,6 +375,8 @@ interface LineItemTaxInfo {
375
375
  * @maxSize 7
376
376
  */
377
377
  taxBreakdown?: LineItemTaxBreakdown[];
378
+ /** Amount of the line item price that was exempt from tax. */
379
+ exemptAmount?: Price;
378
380
  }
379
381
  /**
380
382
  * TaxBreakdown represents tax information for a line item.
@@ -411,6 +413,8 @@ interface LineItemTaxBreakdown {
411
413
  nonTaxableAmount?: Price;
412
414
  /** Taxable amount of the line item price. */
413
415
  taxableAmount?: Price;
416
+ /** Amount of the line item price that was exempt from this authority. */
417
+ exemptAmount?: Price;
414
418
  }
415
419
  /** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
416
420
  declare enum JurisdictionType {
@@ -2018,6 +2022,11 @@ interface OrderTaxInfo {
2018
2022
  * @readonly
2019
2023
  */
2020
2024
  taxExempt?: boolean | null;
2025
+ /**
2026
+ * Total amount exempt from tax calculations.
2027
+ * @readonly
2028
+ */
2029
+ totalExempt?: Price;
2021
2030
  }
2022
2031
  /**
2023
2032
  * The summary of the tax breakdown for all the line items. It will hold for each tax name, the aggregated tax amount paid for it and the tax rate.
@@ -2049,6 +2058,8 @@ interface OrderTaxBreakdown {
2049
2058
  rate?: string;
2050
2059
  /** The sum of all the tax from line items that calculated by the tax identifiers. */
2051
2060
  aggregatedTaxAmount?: Price;
2061
+ /** Total amount exempt from this tax, summed across all line items. */
2062
+ aggregatedExemptAmount?: Price;
2052
2063
  }
2053
2064
  /** Cross-border repricing outcome of one calculation. Replaced on every recalculation of the order; the order-level marker that never changes is `Order.crossBorderRepricing`. */
2054
2065
  interface CrossBorderCalculation {
package/build/es/meta.mjs CHANGED
@@ -1673,8 +1673,6 @@ var AppliedDiscountDiscountType = /* @__PURE__ */ ((AppliedDiscountDiscountType2
1673
1673
  var DiscountValueType = /* @__PURE__ */ ((DiscountValueType2) => {
1674
1674
  DiscountValueType2["PERCENTAGE"] = "PERCENTAGE";
1675
1675
  DiscountValueType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
1676
- DiscountValueType2["FIXED_PRICE"] = "FIXED_PRICE";
1677
- DiscountValueType2["QUANTITY_BASED"] = "QUANTITY_BASED";
1678
1676
  return DiscountValueType2;
1679
1677
  })(DiscountValueType || {});
1680
1678
  var DiscountReason = /* @__PURE__ */ ((DiscountReason2) => {