@wix/auto_sdk_ecom_draft-orders 1.0.191 → 1.0.192
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.map +1 -1
- package/build/cjs/index.typings.d.ts +11 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +11 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +11 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +11 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +4 -14
- package/build/internal/cjs/meta.d.ts +4 -14
- package/build/internal/es/index.typings.d.mts +4 -14
- package/build/internal/es/meta.d.mts +4 -14
- package/package.json +2 -2
|
@@ -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 {
|