@wix/auto_sdk_ecom_draft-orders 1.0.199 → 1.0.200
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 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +11 -3
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +11 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +11 -3
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +12 -4
- package/build/internal/cjs/meta.d.ts +12 -4
- package/build/internal/es/index.typings.d.mts +12 -4
- package/build/internal/es/meta.d.mts +12 -4
- package/package.json +2 -2
package/build/es/meta.d.mts
CHANGED
|
@@ -428,17 +428,25 @@ declare enum JurisdictionType {
|
|
|
428
428
|
/** @enumType */
|
|
429
429
|
type JurisdictionTypeWithLiterals = JurisdictionType | 'UNDEFINED' | 'COUNTRY' | 'STATE' | 'COUNTY' | 'CITY' | 'SPECIAL';
|
|
430
430
|
/**
|
|
431
|
-
* Record of the tax
|
|
431
|
+
* 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.
|
|
432
432
|
* A recalculation that changes the amounts, for example after an order edit, replaces it.
|
|
433
433
|
*/
|
|
434
434
|
interface TaxCalculatorAttribution {
|
|
435
435
|
/**
|
|
436
|
-
* App ID of the tax calculator that calculated the line
|
|
436
|
+
* App ID of the tax calculator that calculated the line item's tax.
|
|
437
|
+
* 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.
|
|
437
438
|
*
|
|
438
|
-
* Not set when no calculator calculated the line's tax: no tax region matches the line, tax wasn't requested, or the
|
|
439
|
+
* 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.
|
|
439
440
|
* @format GUID
|
|
440
441
|
*/
|
|
441
442
|
calculatorId?: string | null;
|
|
443
|
+
/**
|
|
444
|
+
* 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.
|
|
445
|
+
*
|
|
446
|
+
* 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.
|
|
447
|
+
* @format GUID
|
|
448
|
+
*/
|
|
449
|
+
configuredCalculatorId?: string | null;
|
|
442
450
|
}
|
|
443
451
|
/**
|
|
444
452
|
* Record of the cross-border repricing of a single line item, shipping option or fee on a site whose catalog prices include tax:
|