@final-commerce/common 2.2.3-staging3.1 → 2.2.3-staging3.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 +21 -1
- package/dist/index.d.ts +21 -1
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -0
- package/dist/index.mjs.map +1 -1
- package/dist/pos-types/index.d.mts +27 -3
- package/dist/pos-types/index.d.ts +27 -3
- 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
|
@@ -1243,6 +1243,8 @@ var REPORT_NEGATE_PATHS = /* @__PURE__ */ new Set([
|
|
|
1243
1243
|
// Fees breakdown — refunded magnitudes are money flowing back out
|
|
1244
1244
|
"feesBreakdown.productFee.refundedProductFees",
|
|
1245
1245
|
"feesBreakdown.cartFee.refundedCartFees",
|
|
1246
|
+
// Modifiers breakdown — refunded magnitudes are money flowing back out
|
|
1247
|
+
"modifiersBreakdown.refundTotal",
|
|
1246
1248
|
// Discounts breakdown — refunded magnitudes reverse discount reductions
|
|
1247
1249
|
"discountsBreakdown.productDiscounts.refundedProductDiscounts",
|
|
1248
1250
|
"discountsBreakdown.cartDiscounts.refundedCartDiscounts",
|
|
@@ -2755,7 +2757,14 @@ var ORDER_STATE_EVENTS = {
|
|
|
2755
2757
|
stateTransitionBlocked: "state-transition-blocked",
|
|
2756
2758
|
configUpdated: "config-updated"
|
|
2757
2759
|
};
|
|
2760
|
+
|
|
2761
|
+
// constants/adyen.constants.ts
|
|
2762
|
+
var ADYEN_ROLLOUT_COUNTRY_CODES = /* @__PURE__ */ new Set(["CA"]);
|
|
2763
|
+
function isAdyenRolloutCountry(alpha2) {
|
|
2764
|
+
return ADYEN_ROLLOUT_COUNTRY_CODES.has(alpha2);
|
|
2765
|
+
}
|
|
2758
2766
|
export {
|
|
2767
|
+
ADYEN_ROLLOUT_COUNTRY_CODES,
|
|
2759
2768
|
AttributeType,
|
|
2760
2769
|
CONDITION_OPERATORS,
|
|
2761
2770
|
COUNTRY_CURRENCIES,
|
|
@@ -2872,6 +2881,7 @@ export {
|
|
|
2872
2881
|
getSettlementTotal,
|
|
2873
2882
|
getTotalCollected,
|
|
2874
2883
|
inferStatesFromLegacyStatus,
|
|
2884
|
+
isAdyenRolloutCountry,
|
|
2875
2885
|
isConditionOperator,
|
|
2876
2886
|
isFulfillmentState,
|
|
2877
2887
|
isPaymentState,
|