@final-commerce/common 2.11.1-online.3 → 2.11.1-online.5

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
@@ -4221,10 +4221,13 @@ var TAX_EXCEPTION_REASON_MAX = 200;
4221
4221
  // shopper/types.ts
4222
4222
  var SHOPPER_CONSENT_SOURCES = ["checkout", "my-account", "store-account"];
4223
4223
  var SHOPPER_RETURN_METHODS = ["mail", "in-store"];
4224
+ var SHOPPER_RETURN_STATUSES = ["requested", "accepted", "declined"];
4225
+ var SHOPPER_RETURN_DECLINE_REASON_MAX = 500;
4224
4226
  var SHOPPER_ERROR_CODES = {
4225
4227
  ORDER_NOT_FOUND: "ORDER_NOT_FOUND",
4226
4228
  RETURN_ALREADY_REQUESTED: "RETURN_ALREADY_REQUESTED",
4227
4229
  RETURN_NOT_ALLOWED: "RETURN_NOT_ALLOWED",
4230
+ RETURN_ALREADY_DECIDED: "RETURN_ALREADY_DECIDED",
4228
4231
  STORE_HAS_NO_SUPPORT_EMAIL: "STORE_HAS_NO_SUPPORT_EMAIL",
4229
4232
  TOO_MANY_ADDRESSES: "TOO_MANY_ADDRESSES",
4230
4233
  STORE_NOT_LINKED: "STORE_NOT_LINKED",
@@ -4441,7 +4444,9 @@ export {
4441
4444
  SHIPPING_COUNTRIES,
4442
4445
  SHOPPER_CONSENT_SOURCES,
4443
4446
  SHOPPER_ERROR_CODES,
4447
+ SHOPPER_RETURN_DECLINE_REASON_MAX,
4444
4448
  SHOPPER_RETURN_METHODS,
4449
+ SHOPPER_RETURN_STATUSES,
4445
4450
  STANDARD_TAX_TYPE,
4446
4451
  STATE_SCHEMA,
4447
4452
  STRIPE_SUPPORTED_COUNTRIES,