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