@wix/auto_sdk_ecom_subscription-contracts 1.0.151 → 1.0.153

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.
@@ -690,6 +690,8 @@ interface LineItemTaxInfo {
690
690
  * @maxSize 7
691
691
  */
692
692
  taxBreakdown?: LineItemTaxBreakdown[];
693
+ /** Amount of the line item price that was exempt from tax. */
694
+ exemptAmount?: Price;
693
695
  }
694
696
  /**
695
697
  * TaxBreakdown represents tax information for a line item.
@@ -726,6 +728,8 @@ interface LineItemTaxBreakdown {
726
728
  nonTaxableAmount?: Price;
727
729
  /** Taxable amount of the line item price. */
728
730
  taxableAmount?: Price;
731
+ /** Amount of the line item price that was exempt from this authority. */
732
+ exemptAmount?: Price;
729
733
  }
730
734
  /** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
731
735
  declare enum JurisdictionType {
@@ -1620,6 +1624,11 @@ interface OrderTaxInfo {
1620
1624
  * @readonly
1621
1625
  */
1622
1626
  taxExempt?: boolean | null;
1627
+ /**
1628
+ * Total amount exempt from tax calculations.
1629
+ * @readonly
1630
+ */
1631
+ totalExempt?: Price;
1623
1632
  }
1624
1633
  /**
1625
1634
  * 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.
@@ -1651,6 +1660,8 @@ interface OrderTaxBreakdown {
1651
1660
  rate?: string;
1652
1661
  /** The sum of all the tax from line items that calculated by the tax identifiers. */
1653
1662
  aggregatedTaxAmount?: Price;
1663
+ /** Total amount exempt from this tax, summed across all line items. */
1664
+ aggregatedExemptAmount?: Price;
1654
1665
  }
1655
1666
  /** Cross-border repricing outcome of one calculation. Replaced on every recalculation of the order; the order-level marker that never changes is `Order.crossBorderRepricing`. */
1656
1667
  interface CrossBorderCalculation {
@@ -514,8 +514,6 @@ var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
514
514
  var DiscountValueType = /* @__PURE__ */ ((DiscountValueType2) => {
515
515
  DiscountValueType2["PERCENTAGE"] = "PERCENTAGE";
516
516
  DiscountValueType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
517
- DiscountValueType2["FIXED_PRICE"] = "FIXED_PRICE";
518
- DiscountValueType2["QUANTITY_BASED"] = "QUANTITY_BASED";
519
517
  return DiscountValueType2;
520
518
  })(DiscountValueType || {});
521
519
  var DiscountReason = /* @__PURE__ */ ((DiscountReason2) => {