b2m-utils 0.0.188 → 0.0.190
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/enums/FeeEnum.d.ts +4 -1
- package/build/index.esm.js +3 -6
- package/build/index.esm.js.gz +0 -0
- package/build/index.esm.js.map +1 -1
- package/build/index.js +3 -6
- package/build/index.js.gz +0 -0
- package/build/index.js.map +1 -1
- package/build/types/Cte/index.d.ts +2 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -149,6 +149,9 @@ exports.FeeEnum = void 0;
|
|
|
149
149
|
FeeEnum[FeeEnum["COLLECT_COMMODITY_VALUE"] = 136] = "COLLECT_COMMODITY_VALUE";
|
|
150
150
|
FeeEnum[FeeEnum["TDA_MIN"] = 141] = "TDA_MIN";
|
|
151
151
|
FeeEnum[FeeEnum["TDA_FREIGHT"] = 142] = "TDA_FREIGHT";
|
|
152
|
+
FeeEnum[FeeEnum["COLLECT"] = 151] = "COLLECT";
|
|
153
|
+
FeeEnum[FeeEnum["COLLECT_PERCENTAGE_TOTAL"] = 152] = "COLLECT_PERCENTAGE_TOTAL";
|
|
154
|
+
FeeEnum[FeeEnum["COLLECT_REVERSE_PERCENTAGE_TOTAL"] = 153] = "COLLECT_REVERSE_PERCENTAGE_TOTAL";
|
|
152
155
|
})(exports.FeeEnum || (exports.FeeEnum = {}));
|
|
153
156
|
|
|
154
157
|
exports.FreightRegionEnum = void 0;
|
|
@@ -7142,9 +7145,6 @@ var getLaneFromRatecard = function (cte) {
|
|
|
7142
7145
|
var directLane = ratecard.RatecardLane.find(function (i) {
|
|
7143
7146
|
return i.cityOriginId === cityOriginId && i.ufDestination === destinationUf && i.ratecardRegionId === destinationRatecardRegionId;
|
|
7144
7147
|
});
|
|
7145
|
-
console.log({
|
|
7146
|
-
directLane: directLane,
|
|
7147
|
-
});
|
|
7148
7148
|
if (directLane) {
|
|
7149
7149
|
return directLane;
|
|
7150
7150
|
}
|
|
@@ -7157,9 +7157,6 @@ var getLaneFromRatecard = function (cte) {
|
|
|
7157
7157
|
var reverseLane = ratecard.RatecardLane.find(function (i) {
|
|
7158
7158
|
return i.cityOriginId === (cityDestination === null || cityDestination === void 0 ? void 0 : cityDestination.id) && i.ufDestination === originUf_1 && i.ratecardRegionId === originRatecardRegionId_1;
|
|
7159
7159
|
});
|
|
7160
|
-
console.log({
|
|
7161
|
-
reverseLane: reverseLane,
|
|
7162
|
-
});
|
|
7163
7160
|
if (reverseLane) {
|
|
7164
7161
|
return reverseLane;
|
|
7165
7162
|
}
|
package/build/index.js.gz
CHANGED
|
Binary file
|