@wix/auto_sdk_ecom_subscription-contracts 1.0.159 → 1.0.161
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 +2 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +11 -3
- package/build/cjs/index.typings.js +2 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +11 -3
- package/build/cjs/meta.js +2 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +2 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +11 -3
- package/build/es/index.typings.mjs +2 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +11 -3
- package/build/es/meta.mjs +2 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +25 -5
- package/build/internal/cjs/meta.d.ts +25 -5
- package/build/internal/es/index.typings.d.mts +25 -5
- package/build/internal/es/meta.d.mts +25 -5
- package/package.json +2 -2
|
@@ -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
|
|
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
|
|
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
|
|
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
|
/**
|
|
@@ -545,6 +545,8 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
|
|
|
545
545
|
ChannelType2["UCP_AGENTIC_CHECKOUT"] = "UCP_AGENTIC_CHECKOUT";
|
|
546
546
|
ChannelType2["META_AGENTIC_CHECKOUT"] = "META_AGENTIC_CHECKOUT";
|
|
547
547
|
ChannelType2["GOOGLE_AGENTIC_CHECKOUT"] = "GOOGLE_AGENTIC_CHECKOUT";
|
|
548
|
+
ChannelType2["AMAZON_AGENTIC_CHECKOUT"] = "AMAZON_AGENTIC_CHECKOUT";
|
|
549
|
+
ChannelType2["TIKTOK_AGENTIC_CHECKOUT"] = "TIKTOK_AGENTIC_CHECKOUT";
|
|
548
550
|
return ChannelType2;
|
|
549
551
|
})(ChannelType || {});
|
|
550
552
|
var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|