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/enums/FeeEnum.d.ts
CHANGED
package/build/index.esm.js
CHANGED
|
@@ -145,6 +145,9 @@ var FeeEnum;
|
|
|
145
145
|
FeeEnum[FeeEnum["COLLECT_COMMODITY_VALUE"] = 136] = "COLLECT_COMMODITY_VALUE";
|
|
146
146
|
FeeEnum[FeeEnum["TDA_MIN"] = 141] = "TDA_MIN";
|
|
147
147
|
FeeEnum[FeeEnum["TDA_FREIGHT"] = 142] = "TDA_FREIGHT";
|
|
148
|
+
FeeEnum[FeeEnum["COLLECT"] = 151] = "COLLECT";
|
|
149
|
+
FeeEnum[FeeEnum["COLLECT_PERCENTAGE_TOTAL"] = 152] = "COLLECT_PERCENTAGE_TOTAL";
|
|
150
|
+
FeeEnum[FeeEnum["COLLECT_REVERSE_PERCENTAGE_TOTAL"] = 153] = "COLLECT_REVERSE_PERCENTAGE_TOTAL";
|
|
148
151
|
})(FeeEnum || (FeeEnum = {}));
|
|
149
152
|
|
|
150
153
|
var FreightRegionEnum;
|
|
@@ -7138,9 +7141,6 @@ var getLaneFromRatecard = function (cte) {
|
|
|
7138
7141
|
var directLane = ratecard.RatecardLane.find(function (i) {
|
|
7139
7142
|
return i.cityOriginId === cityOriginId && i.ufDestination === destinationUf && i.ratecardRegionId === destinationRatecardRegionId;
|
|
7140
7143
|
});
|
|
7141
|
-
console.log({
|
|
7142
|
-
directLane: directLane,
|
|
7143
|
-
});
|
|
7144
7144
|
if (directLane) {
|
|
7145
7145
|
return directLane;
|
|
7146
7146
|
}
|
|
@@ -7153,9 +7153,6 @@ var getLaneFromRatecard = function (cte) {
|
|
|
7153
7153
|
var reverseLane = ratecard.RatecardLane.find(function (i) {
|
|
7154
7154
|
return i.cityOriginId === (cityDestination === null || cityDestination === void 0 ? void 0 : cityDestination.id) && i.ufDestination === originUf_1 && i.ratecardRegionId === originRatecardRegionId_1;
|
|
7155
7155
|
});
|
|
7156
|
-
console.log({
|
|
7157
|
-
reverseLane: reverseLane,
|
|
7158
|
-
});
|
|
7159
7156
|
if (reverseLane) {
|
|
7160
7157
|
return reverseLane;
|
|
7161
7158
|
}
|
package/build/index.esm.js.gz
CHANGED
|
Binary file
|