@wix/auto_sdk_ecom_orders 1.0.339 → 1.0.340

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.
@@ -1,4 +1,4 @@
1
- import { eD as ImportOrderRequest$1, I as ImportOrderResponse$1, eE as SetOrderNumberCounterRequest$1, b as SetOrderNumberCounterResponse$1, eF as BulkDeleteImportedOrdersRequest$1, B as BulkDeleteImportedOrdersResponse$1, eJ as PreparePaymentCollectionRequest$1, e as PreparePaymentCollectionResponse$1, eN as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, eO as RecordManuallyCollectedPaymentRequest$1, eR as RecordManuallyCollectedPaymentResponse$1, eS as MarkOrderAsPaidRequest$1, M as MarkOrderAsPaidResponse$1, eT as BulkMarkOrdersAsPaidRequest$1, j as BulkMarkOrdersAsPaidResponse$1, eY as GetRefundabilityStatusRequest$1, k as GetRefundabilityStatusResponse$1, e$ as CreatePaymentGatewayOrderRequest$1, C as CreatePaymentGatewayOrderResponse$1, f1 as ChargeMembershipsRequest$1, f4 as ChargeMembershipsResponse$1, f5 as TriggerRefundRequest$1, p as TriggerRefundResponse$1, fO as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, fP as CaptureAuthorizedPaymentsRequest$1, t as CaptureAuthorizedPaymentsResponse$1, h7 as GetOrderRequest$1, h8 as GetOrderResponse$1, hk as SearchOrdersRequest$1, x as SearchOrdersResponse$1, ho as CreateOrderRequest$1, hs as CreateOrderResponse$1, ht as UpdateOrderRequest$1, hu as UpdateOrderResponse$1, hv as BulkUpdateOrdersRequest$1, F as BulkUpdateOrdersResponse$1, h_ as UpdateOrderLineItemRequest$1, K as UpdateOrderLineItemResponse$1, ir as AddActivityRequest$1, N as AddActivityResponse$1, it as AddActivitiesRequest$1, W as AddActivitiesResponse$1, iu as UpdateActivityRequest$1, Y as UpdateActivityResponse$1, iv as DeleteActivityRequest$1, _ as DeleteActivityResponse$1, iB as CancelOrderRequest$1, a0 as CancelOrderResponse$1, iC as UpdateOrderStatusRequest$1, a3 as UpdateOrderStatusResponse$1, i_ as AggregateOrdersRequest$1, a6 as AggregateOrdersResponse$1, j2 as BulkUpdateOrderTagsRequest$1, a8 as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-DzRqB4wG.mjs';
1
+ import { eD as ImportOrderRequest$1, I as ImportOrderResponse$1, eE as SetOrderNumberCounterRequest$1, b as SetOrderNumberCounterResponse$1, eF as BulkDeleteImportedOrdersRequest$1, B as BulkDeleteImportedOrdersResponse$1, eJ as PreparePaymentCollectionRequest$1, e as PreparePaymentCollectionResponse$1, eN as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, eO as RecordManuallyCollectedPaymentRequest$1, eR as RecordManuallyCollectedPaymentResponse$1, eS as MarkOrderAsPaidRequest$1, M as MarkOrderAsPaidResponse$1, eT as BulkMarkOrdersAsPaidRequest$1, j as BulkMarkOrdersAsPaidResponse$1, eY as GetRefundabilityStatusRequest$1, k as GetRefundabilityStatusResponse$1, e$ as CreatePaymentGatewayOrderRequest$1, C as CreatePaymentGatewayOrderResponse$1, f1 as ChargeMembershipsRequest$1, f4 as ChargeMembershipsResponse$1, f5 as TriggerRefundRequest$1, p as TriggerRefundResponse$1, fO as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, fP as CaptureAuthorizedPaymentsRequest$1, t as CaptureAuthorizedPaymentsResponse$1, h7 as GetOrderRequest$1, h8 as GetOrderResponse$1, hk as SearchOrdersRequest$1, x as SearchOrdersResponse$1, ho as CreateOrderRequest$1, hs as CreateOrderResponse$1, ht as UpdateOrderRequest$1, hu as UpdateOrderResponse$1, hv as BulkUpdateOrdersRequest$1, F as BulkUpdateOrdersResponse$1, h_ as UpdateOrderLineItemRequest$1, K as UpdateOrderLineItemResponse$1, ir as AddActivityRequest$1, N as AddActivityResponse$1, it as AddActivitiesRequest$1, W as AddActivitiesResponse$1, iu as UpdateActivityRequest$1, Y as UpdateActivityResponse$1, iv as DeleteActivityRequest$1, _ as DeleteActivityResponse$1, iB as CancelOrderRequest$1, a0 as CancelOrderResponse$1, iC as UpdateOrderStatusRequest$1, a3 as UpdateOrderStatusResponse$1, i_ as AggregateOrdersRequest$1, a6 as AggregateOrdersResponse$1, j2 as BulkUpdateOrderTagsRequest$1, a8 as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-y_Th9nE-.mjs';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /**
@@ -886,7 +886,7 @@ interface LineItemTaxInfo {
886
886
  /** Amount of the line item price that was exempt from tax. */
887
887
  exemptAmount?: Price;
888
888
  /**
889
- * Tax calculator that produced this line's current tax amounts. Changes when an order edit recalculates tax.
889
+ * Tax calculators behind this line item's current tax amounts: the one that calculated the tax and the one configured for its tax region. Changes when an order edit recalculates tax.
890
890
  *
891
891
  * Not set on orders created before this field was added, on imported orders, or on orders whose creator didn't send it.
892
892
  *
@@ -946,17 +946,25 @@ declare enum JurisdictionType {
946
946
  /** @enumType */
947
947
  type JurisdictionTypeWithLiterals = JurisdictionType | 'UNDEFINED' | 'COUNTRY' | 'STATE' | 'COUNTY' | 'CITY' | 'SPECIAL';
948
948
  /**
949
- * Record of the tax calculator behind a line's current tax amounts.
949
+ * 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.
950
950
  * A recalculation that changes the amounts, for example after an order edit, replaces it.
951
951
  */
952
952
  interface TaxCalculatorAttribution {
953
953
  /**
954
- * 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).
954
+ * App ID of the tax calculator that calculated the line item's tax.
955
+ * 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.
955
956
  *
956
- * 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.
957
+ * 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.
957
958
  * @format GUID
958
959
  */
959
960
  calculatorId?: string | null;
961
+ /**
962
+ * 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.
963
+ *
964
+ * 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.
965
+ * @format GUID
966
+ */
967
+ configuredCalculatorId?: string | null;
960
968
  }
961
969
  interface DigitalFile {
962
970
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_ecom_orders",
3
- "version": "1.0.339",
3
+ "version": "1.0.340",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.ecom.v1.order"
51
51
  }
52
52
  },
53
- "falconPackageHash": "4bd7d7d8b58577e3a06166f26e825600574e805e7d3864e474474626"
53
+ "falconPackageHash": "0bb207e611ca68730ffd860b8d50180dc24b5ada1825f06322a0f52f"
54
54
  }