@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.
- package/build/cjs/index.js +0 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +11 -0
- package/build/cjs/index.typings.js +0 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +11 -0
- package/build/cjs/meta.js +0 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +0 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +11 -0
- package/build/es/index.typings.mjs +0 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +11 -0
- package/build/es/meta.mjs +0 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +14 -27
- package/build/internal/cjs/meta.d.ts +14 -27
- package/build/internal/es/index.typings.d.mts +14 -27
- package/build/internal/es/meta.d.mts +14 -27
- package/package.json +4 -4
|
@@ -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 {
|
|
@@ -455,8 +455,6 @@ var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
|
|
|
455
455
|
var DiscountValueType = /* @__PURE__ */ ((DiscountValueType2) => {
|
|
456
456
|
DiscountValueType2["PERCENTAGE"] = "PERCENTAGE";
|
|
457
457
|
DiscountValueType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
458
|
-
DiscountValueType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
459
|
-
DiscountValueType2["QUANTITY_BASED"] = "QUANTITY_BASED";
|
|
460
458
|
return DiscountValueType2;
|
|
461
459
|
})(DiscountValueType || {});
|
|
462
460
|
var DiscountReason = /* @__PURE__ */ ((DiscountReason2) => {
|