@final-commerce/common 2.2.4-online.2 → 2.2.4-preprod.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 +19 -18
- package/dist/index.d.ts +19 -18
- package/dist/index.js +2 -20
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -19
- package/dist/index.mjs.map +1 -1
- package/dist/pos-types/index.d.mts +85 -3
- package/dist/pos-types/index.d.ts +85 -3
- package/dist/pos-types/index.js +0 -1
- package/dist/pos-types/index.js.map +1 -1
- package/dist/pos-types/index.mjs +0 -1
- package/dist/pos-types/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -200,7 +200,6 @@ 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";
|
|
204
203
|
return OrderPlatform2;
|
|
205
204
|
})(OrderPlatform || {});
|
|
206
205
|
var CustomerPlatform = /* @__PURE__ */ ((CustomerPlatform2) => {
|
|
@@ -1246,6 +1245,8 @@ var REPORT_NEGATE_PATHS = /* @__PURE__ */ new Set([
|
|
|
1246
1245
|
// Fees breakdown — refunded magnitudes are money flowing back out
|
|
1247
1246
|
"feesBreakdown.productFee.refundedProductFees",
|
|
1248
1247
|
"feesBreakdown.cartFee.refundedCartFees",
|
|
1248
|
+
// Modifiers breakdown — refunded magnitudes are money flowing back out
|
|
1249
|
+
"modifiersBreakdown.refundTotal",
|
|
1249
1250
|
// Discounts breakdown — refunded magnitudes reverse discount reductions
|
|
1250
1251
|
"discountsBreakdown.productDiscounts.refundedProductDiscounts",
|
|
1251
1252
|
"discountsBreakdown.cartDiscounts.refundedCartDiscounts",
|
|
@@ -2764,23 +2765,6 @@ var ADYEN_ROLLOUT_COUNTRY_CODES = /* @__PURE__ */ new Set(["CA"]);
|
|
|
2764
2765
|
function isAdyenRolloutCountry(alpha2) {
|
|
2765
2766
|
return ADYEN_ROLLOUT_COUNTRY_CODES.has(alpha2);
|
|
2766
2767
|
}
|
|
2767
|
-
|
|
2768
|
-
// pos-types/active/ProcessorType.ts
|
|
2769
|
-
var ProcessorType = /* @__PURE__ */ ((ProcessorType2) => {
|
|
2770
|
-
ProcessorType2["FINAL_PAY"] = "Terminal";
|
|
2771
|
-
ProcessorType2["TAP_TO_PAY"] = "TapToPay";
|
|
2772
|
-
ProcessorType2["MOTO"] = "Moto";
|
|
2773
|
-
ProcessorType2["CLOUD"] = "Cloud";
|
|
2774
|
-
ProcessorType2["BLUETOOTH"] = "Bluetooth";
|
|
2775
|
-
ProcessorType2["CASH"] = "Cash";
|
|
2776
|
-
ProcessorType2["CUSTOM_PAY"] = "CustomPay";
|
|
2777
|
-
ProcessorType2["VENDARA"] = "Vendara";
|
|
2778
|
-
ProcessorType2["REDEEM"] = "Redeem";
|
|
2779
|
-
ProcessorType2["INTEGRATION"] = "Integration";
|
|
2780
|
-
ProcessorType2["PAYMENT_LINK"] = "PaymentLink";
|
|
2781
|
-
ProcessorType2["ONLINE_PAYMENT"] = "OnlinePayment";
|
|
2782
|
-
return ProcessorType2;
|
|
2783
|
-
})(ProcessorType || {});
|
|
2784
2768
|
export {
|
|
2785
2769
|
ADYEN_ROLLOUT_COUNTRY_CODES,
|
|
2786
2770
|
AttributeType,
|
|
@@ -2829,7 +2813,6 @@ export {
|
|
|
2829
2813
|
PricingLevel,
|
|
2830
2814
|
PricingPlanEnum,
|
|
2831
2815
|
PricingRegionEnum,
|
|
2832
|
-
ProcessorType,
|
|
2833
2816
|
ProductStatus,
|
|
2834
2817
|
ProductType,
|
|
2835
2818
|
PublicationAvailability,
|