@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
package/build/es/meta.d.mts
CHANGED
|
@@ -770,17 +770,25 @@ declare enum JurisdictionType {
|
|
|
770
770
|
/** @enumType */
|
|
771
771
|
type JurisdictionTypeWithLiterals = JurisdictionType | 'UNDEFINED' | 'COUNTRY' | 'STATE' | 'COUNTY' | 'CITY' | 'SPECIAL';
|
|
772
772
|
/**
|
|
773
|
-
* Record of the tax
|
|
773
|
+
* 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.
|
|
774
774
|
* A recalculation that changes the amounts, for example after an order edit, replaces it.
|
|
775
775
|
*/
|
|
776
776
|
interface TaxCalculatorAttribution {
|
|
777
777
|
/**
|
|
778
|
-
* App ID of the tax calculator that calculated the line
|
|
778
|
+
* App ID of the tax calculator that calculated the line item's tax.
|
|
779
|
+
* 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.
|
|
779
780
|
*
|
|
780
|
-
* Not set when no calculator calculated the line's tax: no tax region matches the line, tax wasn't requested, or the
|
|
781
|
+
* 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.
|
|
781
782
|
* @format GUID
|
|
782
783
|
*/
|
|
783
784
|
calculatorId?: string | null;
|
|
785
|
+
/**
|
|
786
|
+
* 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.
|
|
787
|
+
*
|
|
788
|
+
* 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.
|
|
789
|
+
* @format GUID
|
|
790
|
+
*/
|
|
791
|
+
configuredCalculatorId?: string | null;
|
|
784
792
|
}
|
|
785
793
|
interface DigitalFile {
|
|
786
794
|
/**
|
package/build/es/meta.mjs
CHANGED
|
@@ -454,6 +454,8 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
|
|
|
454
454
|
ChannelType2["UCP_AGENTIC_CHECKOUT"] = "UCP_AGENTIC_CHECKOUT";
|
|
455
455
|
ChannelType2["META_AGENTIC_CHECKOUT"] = "META_AGENTIC_CHECKOUT";
|
|
456
456
|
ChannelType2["GOOGLE_AGENTIC_CHECKOUT"] = "GOOGLE_AGENTIC_CHECKOUT";
|
|
457
|
+
ChannelType2["AMAZON_AGENTIC_CHECKOUT"] = "AMAZON_AGENTIC_CHECKOUT";
|
|
458
|
+
ChannelType2["TIKTOK_AGENTIC_CHECKOUT"] = "TIKTOK_AGENTIC_CHECKOUT";
|
|
457
459
|
return ChannelType2;
|
|
458
460
|
})(ChannelType || {});
|
|
459
461
|
var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|