@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 {
@@ -1995,6 +1999,11 @@ interface OrderTaxInfo {
1995
1999
  * @readonly
1996
2000
  */
1997
2001
  taxExempt?: boolean | null;
2002
+ /**
2003
+ * Total amount exempt from tax calculations.
2004
+ * @readonly
2005
+ */
2006
+ totalExempt?: Price;
1998
2007
  }
1999
2008
  /**
2000
2009
  * 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.
@@ -2026,6 +2035,8 @@ interface OrderTaxBreakdown {
2026
2035
  rate?: string;
2027
2036
  /** The sum of all the tax from line items that calculated by the tax identifiers. */
2028
2037
  aggregatedTaxAmount?: Price;
2038
+ /** Total amount exempt from this tax, summed across all line items. */
2039
+ aggregatedExemptAmount?: Price;
2029
2040
  }
2030
2041
  /** Cross-border repricing outcome of one calculation. Replaced on every recalculation of the order; the order-level marker that never changes is `Order.crossBorderRepricing`. */
2031
2042
  interface CrossBorderCalculation {
@@ -1849,8 +1849,6 @@ var AppliedDiscountDiscountType = /* @__PURE__ */ ((AppliedDiscountDiscountType2
1849
1849
  var DiscountValueType = /* @__PURE__ */ ((DiscountValueType2) => {
1850
1850
  DiscountValueType2["PERCENTAGE"] = "PERCENTAGE";
1851
1851
  DiscountValueType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
1852
- DiscountValueType2["FIXED_PRICE"] = "FIXED_PRICE";
1853
- DiscountValueType2["QUANTITY_BASED"] = "QUANTITY_BASED";
1854
1852
  return DiscountValueType2;
1855
1853
  })(DiscountValueType || {});
1856
1854
  var DiscountReason = /* @__PURE__ */ ((DiscountReason2) => {