@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
package/build/es/meta.d.mts
CHANGED
|
@@ -713,6 +713,8 @@ interface LineItemTaxInfo {
|
|
|
713
713
|
* @maxSize 7
|
|
714
714
|
*/
|
|
715
715
|
taxBreakdown?: LineItemTaxBreakdown[];
|
|
716
|
+
/** Amount of the line item price that was exempt from tax. */
|
|
717
|
+
exemptAmount?: Price;
|
|
716
718
|
}
|
|
717
719
|
/**
|
|
718
720
|
* TaxBreakdown represents tax information for a line item.
|
|
@@ -749,6 +751,8 @@ interface LineItemTaxBreakdown {
|
|
|
749
751
|
nonTaxableAmount?: Price;
|
|
750
752
|
/** Taxable amount of the line item price. */
|
|
751
753
|
taxableAmount?: Price;
|
|
754
|
+
/** Amount of the line item price that was exempt from this authority. */
|
|
755
|
+
exemptAmount?: Price;
|
|
752
756
|
}
|
|
753
757
|
/** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
|
|
754
758
|
declare enum JurisdictionType {
|
|
@@ -1643,6 +1647,11 @@ interface OrderTaxInfo {
|
|
|
1643
1647
|
* @readonly
|
|
1644
1648
|
*/
|
|
1645
1649
|
taxExempt?: boolean | null;
|
|
1650
|
+
/**
|
|
1651
|
+
* Total amount exempt from tax calculations.
|
|
1652
|
+
* @readonly
|
|
1653
|
+
*/
|
|
1654
|
+
totalExempt?: Price;
|
|
1646
1655
|
}
|
|
1647
1656
|
/**
|
|
1648
1657
|
* 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.
|
|
@@ -1674,6 +1683,8 @@ interface OrderTaxBreakdown {
|
|
|
1674
1683
|
rate?: string;
|
|
1675
1684
|
/** The sum of all the tax from line items that calculated by the tax identifiers. */
|
|
1676
1685
|
aggregatedTaxAmount?: Price;
|
|
1686
|
+
/** Total amount exempt from this tax, summed across all line items. */
|
|
1687
|
+
aggregatedExemptAmount?: Price;
|
|
1677
1688
|
}
|
|
1678
1689
|
/** Cross-border repricing outcome of one calculation. Replaced on every recalculation of the order; the order-level marker that never changes is `Order.crossBorderRepricing`. */
|
|
1679
1690
|
interface CrossBorderCalculation {
|
package/build/es/meta.mjs
CHANGED
|
@@ -423,8 +423,6 @@ var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
|
|
|
423
423
|
var DiscountValueType = /* @__PURE__ */ ((DiscountValueType2) => {
|
|
424
424
|
DiscountValueType2["PERCENTAGE"] = "PERCENTAGE";
|
|
425
425
|
DiscountValueType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
426
|
-
DiscountValueType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
427
|
-
DiscountValueType2["QUANTITY_BASED"] = "QUANTITY_BASED";
|
|
428
426
|
return DiscountValueType2;
|
|
429
427
|
})(DiscountValueType || {});
|
|
430
428
|
var DiscountReason = /* @__PURE__ */ ((DiscountReason2) => {
|