@final-commerce/common 2.4.0 → 2.4.1-online.1

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
@@ -200,6 +200,7 @@ var OrderPlatform = /* @__PURE__ */ ((OrderPlatform2) => {
200
200
  OrderPlatform2["POS"] = "in-store";
201
201
  OrderPlatform2["WOO_COMMERCE"] = "woo-commerce";
202
202
  OrderPlatform2["PUBLIC_API"] = "public-api";
203
+ OrderPlatform2["ONLINE_STORE"] = "online-store";
203
204
  return OrderPlatform2;
204
205
  })(OrderPlatform || {});
205
206
  var CustomerPlatform = /* @__PURE__ */ ((CustomerPlatform2) => {
@@ -3199,8 +3200,30 @@ var ADYEN_ROLLOUT_COUNTRY_CODES = /* @__PURE__ */ new Set(["CA"]);
3199
3200
  function isAdyenRolloutCountry(alpha2) {
3200
3201
  return ADYEN_ROLLOUT_COUNTRY_CODES.has(alpha2);
3201
3202
  }
3203
+ var AFFIRM_PRICE_PLANS = ["core", "standard", "signature"];
3204
+ function isAffirmPricePlan(value) {
3205
+ return typeof value === "string" && AFFIRM_PRICE_PLANS.includes(value);
3206
+ }
3207
+
3208
+ // pos-types/active/ProcessorType.ts
3209
+ var ProcessorType = /* @__PURE__ */ ((ProcessorType2) => {
3210
+ ProcessorType2["FINAL_PAY"] = "Terminal";
3211
+ ProcessorType2["TAP_TO_PAY"] = "TapToPay";
3212
+ ProcessorType2["MOTO"] = "Moto";
3213
+ ProcessorType2["CLOUD"] = "Cloud";
3214
+ ProcessorType2["BLUETOOTH"] = "Bluetooth";
3215
+ ProcessorType2["CASH"] = "Cash";
3216
+ ProcessorType2["CUSTOM_PAY"] = "CustomPay";
3217
+ ProcessorType2["VENDARA"] = "Vendara";
3218
+ ProcessorType2["REDEEM"] = "Redeem";
3219
+ ProcessorType2["INTEGRATION"] = "Integration";
3220
+ ProcessorType2["PAYMENT_LINK"] = "PaymentLink";
3221
+ ProcessorType2["ONLINE_PAYMENT"] = "OnlinePayment";
3222
+ return ProcessorType2;
3223
+ })(ProcessorType || {});
3202
3224
  export {
3203
3225
  ADYEN_ROLLOUT_COUNTRY_CODES,
3226
+ AFFIRM_PRICE_PLANS,
3204
3227
  AttributeType,
3205
3228
  BookingRatePeriod,
3206
3229
  BookingResourceKind,
@@ -3253,6 +3276,7 @@ export {
3253
3276
  PricingLevel,
3254
3277
  PricingPlanEnum,
3255
3278
  PricingRegionEnum,
3279
+ ProcessorType,
3256
3280
  ProductStatus,
3257
3281
  ProductType,
3258
3282
  PublicationAvailability,
@@ -3329,6 +3353,7 @@ export {
3329
3353
  holdExpiresAt,
3330
3354
  inferStatesFromLegacyStatus,
3331
3355
  isAdyenRolloutCountry,
3356
+ isAffirmPricePlan,
3332
3357
  isConditionOperator,
3333
3358
  isFulfillmentState,
3334
3359
  isPaymentState,