@final-commerce/common 2.3.0-staging.2 → 2.3.0-staging.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 +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -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
|
@@ -3161,7 +3161,14 @@ function planWindow({ rule, timeZone, presence, startAt, endAt, now, busy = [] }
|
|
|
3161
3161
|
return { slots, endAt: last.endAt, bufferEndAt: last.bufferEndAt };
|
|
3162
3162
|
}
|
|
3163
3163
|
var holdExpiresAt = (rule, now) => new Date(now.getTime() + (rule.window.holdMinutes ?? DEFAULT_HOLD_MINUTES) * 6e4);
|
|
3164
|
+
|
|
3165
|
+
// constants/adyen.constants.ts
|
|
3166
|
+
var ADYEN_ROLLOUT_COUNTRY_CODES = /* @__PURE__ */ new Set(["CA"]);
|
|
3167
|
+
function isAdyenRolloutCountry(alpha2) {
|
|
3168
|
+
return ADYEN_ROLLOUT_COUNTRY_CODES.has(alpha2);
|
|
3169
|
+
}
|
|
3164
3170
|
export {
|
|
3171
|
+
ADYEN_ROLLOUT_COUNTRY_CODES,
|
|
3165
3172
|
AttributeType,
|
|
3166
3173
|
BookingRatePeriod,
|
|
3167
3174
|
BookingResourceKind,
|
|
@@ -3289,6 +3296,7 @@ export {
|
|
|
3289
3296
|
getTotalCollected,
|
|
3290
3297
|
holdExpiresAt,
|
|
3291
3298
|
inferStatesFromLegacyStatus,
|
|
3299
|
+
isAdyenRolloutCountry,
|
|
3292
3300
|
isConditionOperator,
|
|
3293
3301
|
isFulfillmentState,
|
|
3294
3302
|
isPaymentState,
|