@wix/auto_sdk_ecom_subscription-contracts 1.0.159 → 1.0.160

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.
@@ -747,17 +747,25 @@ declare enum JurisdictionType {
747
747
  /** @enumType */
748
748
  type JurisdictionTypeWithLiterals = JurisdictionType | 'UNDEFINED' | 'COUNTRY' | 'STATE' | 'COUNTY' | 'CITY' | 'SPECIAL';
749
749
  /**
750
- * Record of the tax calculator behind a line's current tax amounts.
750
+ * Record of the tax calculators behind a line item's current tax amounts. Orders store it on line items, on the shipping cost and on each additional fee; "line item" below stands for any of them.
751
751
  * A recalculation that changes the amounts, for example after an order edit, replaces it.
752
752
  */
753
753
  interface TaxCalculatorAttribution {
754
754
  /**
755
- * App ID of the tax calculator that calculated the line's tax. When the calculator of the line's tax region failed or isn't installed, or the buyer is tax exempt, this is the fallback calculator (Wix's manual tax calculator).
755
+ * App ID of the tax calculator that calculated the line item's tax.
756
+ * When the calculator configured for the line item's tax region didn't run (it failed, it isn't installed on the site, or the buyer is tax exempt), this is the fallback: Wix's manual tax calculator.
756
757
  *
757
- * Not set when no calculator calculated the line's tax: no tax region matches the line, tax wasn't requested, or the region's calculator and the fallback calculator both failed.
758
+ * Not set when no calculator calculated the line item's tax: no tax region matches the line item, tax wasn't requested, or the configured calculator and the fallback both failed.
758
759
  * @format GUID
759
760
  */
760
761
  calculatorId?: string | null;
762
+ /**
763
+ * App ID of the tax calculator configured for the line item's tax region. Differs from `calculatorId` when the fallback calculated the tax instead. See `calculatorId` for when that happens.
764
+ *
765
+ * Set without `calculatorId` when the configured calculator and the fallback both failed. Not set when no tax region matches the line item, when tax wasn't requested, or on attributions written before this field was filled.
766
+ * @format GUID
767
+ */
768
+ configuredCalculatorId?: string | null;
761
769
  }
762
770
  interface DigitalFile {
763
771
  /**