@final-commerce/common 2.3.0-staging.2 → 2.3.0-staging.4

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.mjs CHANGED
@@ -235,6 +235,8 @@ var InventorySpecificActionType = /* @__PURE__ */ ((InventorySpecificActionType2
235
235
  InventorySpecificActionType2["BULK_RECOUNT"] = "BULK_RECOUNT";
236
236
  InventorySpecificActionType2["APPLIED_FROM_WOO"] = "APPLIED_FROM_WOO";
237
237
  InventorySpecificActionType2["PO_RECEIVED"] = "PO_RECEIVED";
238
+ InventorySpecificActionType2["EXTERNAL_SALE"] = "EXTERNAL_SALE";
239
+ InventorySpecificActionType2["EXTERNAL_RESTOCK"] = "EXTERNAL_RESTOCK";
238
240
  return InventorySpecificActionType2;
239
241
  })(InventorySpecificActionType || {});
240
242
  var ExtensionCategory = /* @__PURE__ */ ((ExtensionCategory2) => {
@@ -3161,7 +3163,14 @@ function planWindow({ rule, timeZone, presence, startAt, endAt, now, busy = [] }
3161
3163
  return { slots, endAt: last.endAt, bufferEndAt: last.bufferEndAt };
3162
3164
  }
3163
3165
  var holdExpiresAt = (rule, now) => new Date(now.getTime() + (rule.window.holdMinutes ?? DEFAULT_HOLD_MINUTES) * 6e4);
3166
+
3167
+ // constants/adyen.constants.ts
3168
+ var ADYEN_ROLLOUT_COUNTRY_CODES = /* @__PURE__ */ new Set(["CA"]);
3169
+ function isAdyenRolloutCountry(alpha2) {
3170
+ return ADYEN_ROLLOUT_COUNTRY_CODES.has(alpha2);
3171
+ }
3164
3172
  export {
3173
+ ADYEN_ROLLOUT_COUNTRY_CODES,
3165
3174
  AttributeType,
3166
3175
  BookingRatePeriod,
3167
3176
  BookingResourceKind,
@@ -3289,6 +3298,7 @@ export {
3289
3298
  getTotalCollected,
3290
3299
  holdExpiresAt,
3291
3300
  inferStatesFromLegacyStatus,
3301
+ isAdyenRolloutCountry,
3292
3302
  isConditionOperator,
3293
3303
  isFulfillmentState,
3294
3304
  isPaymentState,