@wix/auto_sdk_ecom_draft-orders 1.0.199 → 1.0.201

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.
@@ -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 calculator behind a line's current tax amounts.
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's tax. When the calculator of the line's tax region failed or isn't installed, or the buyer is tax exempt, this is the fallback calculator (Wix's manual tax calculator).
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 region's calculator and the fallback calculator both failed.
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:
package/build/cjs/meta.js CHANGED
@@ -2027,6 +2027,8 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
2027
2027
  ChannelType2["UCP_AGENTIC_CHECKOUT"] = "UCP_AGENTIC_CHECKOUT";
2028
2028
  ChannelType2["META_AGENTIC_CHECKOUT"] = "META_AGENTIC_CHECKOUT";
2029
2029
  ChannelType2["GOOGLE_AGENTIC_CHECKOUT"] = "GOOGLE_AGENTIC_CHECKOUT";
2030
+ ChannelType2["AMAZON_AGENTIC_CHECKOUT"] = "AMAZON_AGENTIC_CHECKOUT";
2031
+ ChannelType2["TIKTOK_AGENTIC_CHECKOUT"] = "TIKTOK_AGENTIC_CHECKOUT";
2030
2032
  return ChannelType2;
2031
2033
  })(ChannelType || {});
2032
2034
  var OrderActionType = /* @__PURE__ */ ((OrderActionType2) => {