b2m-utils 0.0.130 → 0.0.132

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/build/index.js CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var getNormalizedCityName = function (name) {
6
+ return name.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
7
+ };
8
+
5
9
  /**
6
10
  * @name toDate
7
11
  * @category Common Helpers
@@ -6269,6 +6273,12 @@ exports.FeeCategoryEnum = void 0;
6269
6273
  FeeCategoryEnum[FeeCategoryEnum["TAXES"] = 9] = "TAXES";
6270
6274
  })(exports.FeeCategoryEnum || (exports.FeeCategoryEnum = {}));
6271
6275
 
6276
+ exports.FreightRegionEnum = void 0;
6277
+ (function (FreightRegionEnum) {
6278
+ FreightRegionEnum[FreightRegionEnum["CAPITAL"] = 1] = "CAPITAL";
6279
+ FreightRegionEnum[FreightRegionEnum["COUNTRYSIDE"] = 2] = "COUNTRYSIDE";
6280
+ })(exports.FreightRegionEnum || (exports.FreightRegionEnum = {}));
6281
+
6272
6282
  exports.ModalEnum = void 0;
6273
6283
  (function (ModalEnum) {
6274
6284
  ModalEnum[ModalEnum["AIR"] = 1] = "AIR";
@@ -6463,6 +6473,7 @@ exports.getContractRouteFromFreight = getContractRouteFromFreight;
6463
6473
  exports.getCookies = getCookies;
6464
6474
  exports.getDataFromToken = getDataFromToken;
6465
6475
  exports.getFormattedFreightPlaceName = getFormattedFreightPlaceName;
6476
+ exports.getNormalizedCityName = getNormalizedCityName;
6466
6477
  exports.getRouteDeliveryTimeFromFreight = getRouteDeliveryTimeFromFreight;
6467
6478
  exports.getRouteOnTimeFromFreight = getRouteOnTimeFromFreight;
6468
6479
  exports.setFormattedDatesInObjects = setFormattedDatesInObjects;
package/build/index.js.gz CHANGED
Binary file