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.
@@ -0,0 +1,4 @@
1
+ export declare enum FreightRegionEnum {
2
+ CAPITAL = 1,
3
+ COUNTRYSIDE = 2
4
+ }
@@ -7,6 +7,7 @@ export * from './DomainConfigurationEnum';
7
7
  export * from './DomainTypeEnum';
8
8
  export * from './FeeCalculationTypeEnum';
9
9
  export * from './FeeCategoryEnum';
10
+ export * from './FreightRegionEnum';
10
11
  export * from './ModalEnum';
11
12
  export * from './NotificationTypeEnum';
12
13
  export * from './PermissionEnum';
@@ -0,0 +1 @@
1
+ export declare const getNormalizedCityName: (name: string) => string;
@@ -1,3 +1,4 @@
1
+ export * from './getNormalizedCityName';
1
2
  export * from './getContractFromFreight';
2
3
  export * from './getContractRouteFromFreight';
3
4
  export * from './getRouteDeliveryTimeFromFreight';
@@ -1,3 +1,7 @@
1
+ var getNormalizedCityName = function (name) {
2
+ return name.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
3
+ };
4
+
1
5
  /**
2
6
  * @name toDate
3
7
  * @category Common Helpers
@@ -6265,6 +6269,12 @@ var FeeCategoryEnum;
6265
6269
  FeeCategoryEnum[FeeCategoryEnum["TAXES"] = 9] = "TAXES";
6266
6270
  })(FeeCategoryEnum || (FeeCategoryEnum = {}));
6267
6271
 
6272
+ var FreightRegionEnum;
6273
+ (function (FreightRegionEnum) {
6274
+ FreightRegionEnum[FreightRegionEnum["CAPITAL"] = 1] = "CAPITAL";
6275
+ FreightRegionEnum[FreightRegionEnum["COUNTRYSIDE"] = 2] = "COUNTRYSIDE";
6276
+ })(FreightRegionEnum || (FreightRegionEnum = {}));
6277
+
6268
6278
  var ModalEnum;
6269
6279
  (function (ModalEnum) {
6270
6280
  ModalEnum[ModalEnum["AIR"] = 1] = "AIR";
@@ -6452,5 +6462,5 @@ var setFormattedDatesInObjects = function (objectFormat) { return __awaiter(void
6452
6462
  });
6453
6463
  }); };
6454
6464
 
6455
- export { ApplicationColumnNameEnum, ApplicationEnum, CountryEnum, CurrencyEnum, DocumentTypeEnum, DomainConfigurationEnum, DomainTypeEnum, FeeCalculationTypeEnum, FeeCategoryEnum, ModalEnum, NotificationTypeEnum, PermissionEnum, SlaRegionEnum, SpotStatusEnum, TrackProcessProviderTypeEnum, formatDateString, getConfigurationFromDomain, getContractFromFreight, getContractRouteFromFreight, getCookies, getDataFromToken, getFormattedFreightPlaceName, getRouteDeliveryTimeFromFreight, getRouteOnTimeFromFreight, setFormattedDatesInObjects };
6465
+ export { ApplicationColumnNameEnum, ApplicationEnum, CountryEnum, CurrencyEnum, DocumentTypeEnum, DomainConfigurationEnum, DomainTypeEnum, FeeCalculationTypeEnum, FeeCategoryEnum, FreightRegionEnum, ModalEnum, NotificationTypeEnum, PermissionEnum, SlaRegionEnum, SpotStatusEnum, TrackProcessProviderTypeEnum, formatDateString, getConfigurationFromDomain, getContractFromFreight, getContractRouteFromFreight, getCookies, getDataFromToken, getFormattedFreightPlaceName, getNormalizedCityName, getRouteDeliveryTimeFromFreight, getRouteOnTimeFromFreight, setFormattedDatesInObjects };
6456
6466
  //# sourceMappingURL=index.esm.js.map
Binary file