@final-commerce/common 2.5.1-preprod.3 → 2.5.1-preprod.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
@@ -3249,10 +3249,29 @@ var AFFIRM_PRICE_PLANS = ["core", "standard", "signature"];
3249
3249
  function isAffirmPricePlan(value) {
3250
3250
  return typeof value === "string" && AFFIRM_PRICE_PLANS.includes(value);
3251
3251
  }
3252
+ var AFFIRM_COUNTRY_CODES = /* @__PURE__ */ new Set(["CA"]);
3253
+ function isAffirmCountry(alpha2) {
3254
+ return !!alpha2 && AFFIRM_COUNTRY_CODES.has(alpha2.toUpperCase());
3255
+ }
3256
+ var BNPL_METHOD_STATUS = {
3257
+ ACTIVE: "active",
3258
+ PENDING: "pending",
3259
+ UNAVAILABLE: "unavailable",
3260
+ UNKNOWN: "unknown"
3261
+ };
3262
+ var BNPL_SKIP_REASON = {
3263
+ PENDING: "pending",
3264
+ NO_SUPPORT_EMAIL: "no_support_email",
3265
+ NO_CURRENCY: "no_currency",
3266
+ NO_BUSINESS_LINE: "no_business_line"
3267
+ };
3252
3268
  export {
3253
3269
  ADYEN_ROLLOUT_COUNTRY_CODES,
3270
+ AFFIRM_COUNTRY_CODES,
3254
3271
  AFFIRM_PRICE_PLANS,
3255
3272
  AttributeType,
3273
+ BNPL_METHOD_STATUS,
3274
+ BNPL_SKIP_REASON,
3256
3275
  BookingRatePeriod,
3257
3276
  BookingResourceKind,
3258
3277
  BookingResourceStatus,
@@ -3381,6 +3400,7 @@ export {
3381
3400
  holdExpiresAt,
3382
3401
  inferStatesFromLegacyStatus,
3383
3402
  isAdyenRolloutCountry,
3403
+ isAffirmCountry,
3384
3404
  isAffirmPricePlan,
3385
3405
  isConditionOperator,
3386
3406
  isFulfillmentState,