@final-commerce/common 2.2.3-staging3.3 → 2.2.4-online.1
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/dist/index.d.mts +6 -20
- package/dist/index.d.ts +6 -20
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/dist/pos-types/index.d.mts +4 -87
- package/dist/pos-types/index.d.ts +4 -87
- package/dist/pos-types/index.js.map +1 -1
- package/dist/pos-types/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -200,6 +200,7 @@ var OrderPlatform = /* @__PURE__ */ ((OrderPlatform2) => {
|
|
|
200
200
|
OrderPlatform2["POS"] = "in-store";
|
|
201
201
|
OrderPlatform2["WOO_COMMERCE"] = "woo-commerce";
|
|
202
202
|
OrderPlatform2["PUBLIC_API"] = "public-api";
|
|
203
|
+
OrderPlatform2["ONLINE_STORE"] = "online-store";
|
|
203
204
|
return OrderPlatform2;
|
|
204
205
|
})(OrderPlatform || {});
|
|
205
206
|
var CustomerPlatform = /* @__PURE__ */ ((CustomerPlatform2) => {
|
|
@@ -235,6 +236,8 @@ var InventorySpecificActionType = /* @__PURE__ */ ((InventorySpecificActionType2
|
|
|
235
236
|
InventorySpecificActionType2["BULK_RECOUNT"] = "BULK_RECOUNT";
|
|
236
237
|
InventorySpecificActionType2["APPLIED_FROM_WOO"] = "APPLIED_FROM_WOO";
|
|
237
238
|
InventorySpecificActionType2["PO_RECEIVED"] = "PO_RECEIVED";
|
|
239
|
+
InventorySpecificActionType2["EXTERNAL_SALE"] = "EXTERNAL_SALE";
|
|
240
|
+
InventorySpecificActionType2["EXTERNAL_RESTOCK"] = "EXTERNAL_RESTOCK";
|
|
238
241
|
return InventorySpecificActionType2;
|
|
239
242
|
})(InventorySpecificActionType || {});
|
|
240
243
|
var ExtensionCategory = /* @__PURE__ */ ((ExtensionCategory2) => {
|
|
@@ -1243,8 +1246,6 @@ var REPORT_NEGATE_PATHS = /* @__PURE__ */ new Set([
|
|
|
1243
1246
|
// Fees breakdown — refunded magnitudes are money flowing back out
|
|
1244
1247
|
"feesBreakdown.productFee.refundedProductFees",
|
|
1245
1248
|
"feesBreakdown.cartFee.refundedCartFees",
|
|
1246
|
-
// Modifiers breakdown — refunded magnitudes are money flowing back out
|
|
1247
|
-
"modifiersBreakdown.refundTotal",
|
|
1248
1249
|
// Discounts breakdown — refunded magnitudes reverse discount reductions
|
|
1249
1250
|
"discountsBreakdown.productDiscounts.refundedProductDiscounts",
|
|
1250
1251
|
"discountsBreakdown.cartDiscounts.refundedCartDiscounts",
|