b2m-utils 0.0.116 → 0.0.117
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DomainSlaContract, SlaFreight } from "../../types";
|
|
2
|
-
export declare const getRouteOnTimeFromFreight: (freight: SlaFreight, contracts: DomainSlaContract[]) =>
|
|
2
|
+
export declare const getRouteOnTimeFromFreight: (freight: SlaFreight, contracts: DomainSlaContract[]) => boolean;
|
package/build/index.esm.js
CHANGED
|
@@ -6133,14 +6133,14 @@ var getRouteOnTimeFromFreight = function (freight, contracts) {
|
|
|
6133
6133
|
return daysToDeliveryArray_1 === null || daysToDeliveryArray_1 === void 0 ? void 0 : daysToDeliveryArray_1.includes(dateDay);
|
|
6134
6134
|
});
|
|
6135
6135
|
if (daysToDeliveryQtd.length) {
|
|
6136
|
-
return (daysToDeliveryQtd.length - 1) <= route.transitTime
|
|
6136
|
+
return (daysToDeliveryQtd.length - 1) <= route.transitTime;
|
|
6137
6137
|
}
|
|
6138
6138
|
}
|
|
6139
6139
|
}
|
|
6140
6140
|
}
|
|
6141
6141
|
}
|
|
6142
6142
|
}
|
|
6143
|
-
return
|
|
6143
|
+
return false;
|
|
6144
6144
|
};
|
|
6145
6145
|
|
|
6146
6146
|
function getConfigurationFromDomain(domainConfigurations, configurationName) {
|
package/build/index.esm.js.gz
CHANGED
|
Binary file
|