@final-commerce/common 2.11.1-online.2 → 2.11.1-online.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
@@ -4210,13 +4210,24 @@ function registrationPlacesByKind(rates) {
4210
4210
  return places;
4211
4211
  }
4212
4212
 
4213
+ // tax/exceptions.ts
4214
+ var TaxExceptionSource = /* @__PURE__ */ ((TaxExceptionSource2) => {
4215
+ TaxExceptionSource2["PRODUCT"] = "product";
4216
+ TaxExceptionSource2["CATEGORY"] = "category";
4217
+ return TaxExceptionSource2;
4218
+ })(TaxExceptionSource || {});
4219
+ var TAX_EXCEPTION_REASON_MAX = 200;
4220
+
4213
4221
  // shopper/types.ts
4214
4222
  var SHOPPER_CONSENT_SOURCES = ["checkout", "my-account", "store-account"];
4215
4223
  var SHOPPER_RETURN_METHODS = ["mail", "in-store"];
4224
+ var SHOPPER_RETURN_STATUSES = ["requested", "accepted", "declined"];
4225
+ var SHOPPER_RETURN_DECLINE_REASON_MAX = 500;
4216
4226
  var SHOPPER_ERROR_CODES = {
4217
4227
  ORDER_NOT_FOUND: "ORDER_NOT_FOUND",
4218
4228
  RETURN_ALREADY_REQUESTED: "RETURN_ALREADY_REQUESTED",
4219
4229
  RETURN_NOT_ALLOWED: "RETURN_NOT_ALLOWED",
4230
+ RETURN_ALREADY_DECIDED: "RETURN_ALREADY_DECIDED",
4220
4231
  STORE_HAS_NO_SUPPORT_EMAIL: "STORE_HAS_NO_SUPPORT_EMAIL",
4221
4232
  TOO_MANY_ADDRESSES: "TOO_MANY_ADDRESSES",
4222
4233
  STORE_NOT_LINKED: "STORE_NOT_LINKED",
@@ -4433,7 +4444,9 @@ export {
4433
4444
  SHIPPING_COUNTRIES,
4434
4445
  SHOPPER_CONSENT_SOURCES,
4435
4446
  SHOPPER_ERROR_CODES,
4447
+ SHOPPER_RETURN_DECLINE_REASON_MAX,
4436
4448
  SHOPPER_RETURN_METHODS,
4449
+ SHOPPER_RETURN_STATUSES,
4437
4450
  STANDARD_TAX_TYPE,
4438
4451
  STATE_SCHEMA,
4439
4452
  STRIPE_SUPPORTED_COUNTRIES,
@@ -4452,6 +4465,8 @@ export {
4452
4465
  StationStatus,
4453
4466
  StripeCurrencyCode,
4454
4467
  StripeStatus,
4468
+ TAX_EXCEPTION_REASON_MAX,
4469
+ TaxExceptionSource,
4455
4470
  TaxRegistrationKind,
4456
4471
  TaxSource,
4457
4472
  TaxWarningCode,