@burdenoff/microfe-movethewheels 2026.930.4 → 2026.1010.1
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/dist/MoveTheWheelsRoot.js +177 -102
- package/dist/MoveTheWheelsRoutes.js +55 -11
- package/dist/_virtual/_rolldown/runtime.js +1 -1
- package/dist/components/ContainerEvidencePicker.js +143 -0
- package/dist/components/FreeTimeAgreementForm.js +496 -0
- package/dist/components/ReturnInstructionForm.js +108 -0
- package/dist/components/ReuseControls.js +91 -0
- package/dist/components/ReusePermissionForm.js +114 -0
- package/dist/components/ReuseProposalForm.js +455 -0
- package/dist/components/ReuseSourceFields.js +78 -0
- package/dist/components/consolidation/ConsolidationHistory.js +244 -0
- package/dist/components/consolidation/ConsolidationLotEditor.js +133 -0
- package/dist/components/consolidation/ConsolidationManifestWorkbench.js +143 -0
- package/dist/components/consolidation/ConsolidationPlanForm.js +172 -0
- package/dist/components/consolidation/ConsolidationPlanWorkbench.js +321 -0
- package/dist/components/consolidation/ConsolidationReportForm.js +94 -0
- package/dist/components/consolidation/ConsolidationReportsWorkbench.js +195 -0
- package/dist/components/consolidation/ConsolidationSummary.js +76 -0
- package/dist/components/consolidation/OriginalConsolidationHistory.js +112 -0
- package/dist/components/freight-cost/FreightDraftForm.js +213 -0
- package/dist/components/freight-cost/FreightFields.js +70 -0
- package/dist/components/freight-cost/FreightFxEditor.js +90 -0
- package/dist/components/freight-cost/FreightHistory.js +164 -0
- package/dist/components/freight-cost/FreightLineEditor.js +191 -0
- package/dist/components/freight-cost/FreightScopeEditor.js +72 -0
- package/dist/components/freight-cost/FreightTotals.js +66 -0
- package/dist/components/logistics-procedure/ProcedureDecisionForm.js +197 -0
- package/dist/components/logistics-procedure/ProcedureFields.js +31 -0
- package/dist/components/logistics-procedure/ProcedureHistory.js +177 -0
- package/dist/components/logistics-procedure/ProcedurePolicyForm.js +227 -0
- package/dist/components/logistics-procedure/ProcedurePolicyWorkbench.js +155 -0
- package/dist/components/logistics-procedure/ProcedureReviewWorkbench.js +221 -0
- package/dist/components/logistics-procedure/ProcedureRunWorkbench.js +190 -0
- package/dist/components/logistics-procedure/ProcedureSubjectPicker.js +130 -0
- package/dist/components/pending-pick/PendingPickDraft.js +84 -0
- package/dist/components/pending-pick/PendingPickHistory.js +113 -0
- package/dist/components/pending-pick/PickCapture.js +166 -0
- package/dist/components/pending-pick/PickLineSelection.js +111 -0
- package/dist/components/stock-binding/StockAssessmentDraft.js +48 -0
- package/dist/components/stock-binding/StockAssessmentHistory.js +61 -0
- package/dist/components/stock-binding/StockAssessmentSummary.js +199 -0
- package/dist/components/stock-binding/StockFactForm.js +232 -0
- package/dist/components/stock-observation/StockIssueForm.js +148 -0
- package/dist/components/stock-observation/StockIssueHistory.js +116 -0
- package/dist/components/stock-observation/StockIssueReadPanel.js +70 -0
- package/dist/components/trip-utilization/TripReportForm.js +118 -0
- package/dist/components/trip-utilization/TripReportHistory.js +54 -0
- package/dist/components/trip-utilization/TripReportSummary.js +216 -0
- package/dist/components/trip-utilization/TripSegmentFields.js +166 -0
- package/dist/generated/consolidation-operations.d.ts +1060 -0
- package/dist/generated/container-condition-operations.d.ts +868 -0
- package/dist/generated/container-operations.d.ts +356 -0
- package/dist/generated/empty-reuse-operations.d.ts +1578 -0
- package/dist/generated/free-time-operations.d.ts +938 -0
- package/dist/generated/freight-cost-operations.d.ts +716 -0
- package/dist/generated/logistics-procedure-operations.d.ts +938 -0
- package/dist/generated/pending-pick-operations.d.ts +1969 -0
- package/dist/generated/stock-binding-operations.d.ts +930 -0
- package/dist/generated/stock-observation-operations.d.ts +476 -0
- package/dist/generated/trip-utilization-operations.d.ts +651 -0
- package/dist/generated/wspace-operations.d.ts +143 -50
- package/dist/hooks/useConsolidationAction.js +119 -0
- package/dist/hooks/useContainerCondition.js +105 -0
- package/dist/hooks/useContainerLifecycle.js +192 -0
- package/dist/hooks/useEmptyReuseAction.js +45 -0
- package/dist/hooks/useFreightRecoveryAction.js +117 -0
- package/dist/hooks/useInventory.js +12 -1
- package/dist/hooks/useProcedureAction.js +119 -0
- package/dist/hooks/useProcedureSelection.js +53 -0
- package/dist/hooks/useReuseRecoveryAction.js +116 -0
- package/dist/movethewheels/components/ContainerEvidencePicker.d.ts +10 -0
- package/dist/movethewheels/components/FreeTimeAgreementForm.d.ts +14 -0
- package/dist/movethewheels/components/ReturnInstructionForm.d.ts +8 -0
- package/dist/movethewheels/components/ReuseControls.d.ts +42 -0
- package/dist/movethewheels/components/ReusePermissionForm.d.ts +9 -0
- package/dist/movethewheels/components/ReuseProposalForm.d.ts +11 -0
- package/dist/movethewheels/components/ReuseSourceFields.d.ts +9 -0
- package/dist/movethewheels/components/consolidation/ConsolidationHistory.d.ts +13 -0
- package/dist/movethewheels/components/consolidation/ConsolidationLotEditor.d.ts +6 -0
- package/dist/movethewheels/components/consolidation/ConsolidationManifestWorkbench.d.ts +8 -0
- package/dist/movethewheels/components/consolidation/ConsolidationPlanForm.d.ts +8 -0
- package/dist/movethewheels/components/consolidation/ConsolidationPlanWorkbench.d.ts +5 -0
- package/dist/movethewheels/components/consolidation/ConsolidationReportForm.d.ts +9 -0
- package/dist/movethewheels/components/consolidation/ConsolidationReportsWorkbench.d.ts +7 -0
- package/dist/movethewheels/components/consolidation/ConsolidationSummary.d.ts +6 -0
- package/dist/movethewheels/components/consolidation/OriginalConsolidationHistory.d.ts +8 -0
- package/dist/movethewheels/components/freight-cost/FreightDraftForm.d.ts +8 -0
- package/dist/movethewheels/components/freight-cost/FreightFields.d.ts +23 -0
- package/dist/movethewheels/components/freight-cost/FreightFxEditor.d.ts +6 -0
- package/dist/movethewheels/components/freight-cost/FreightHistory.d.ts +5 -0
- package/dist/movethewheels/components/freight-cost/FreightLineEditor.d.ts +8 -0
- package/dist/movethewheels/components/freight-cost/FreightScopeEditor.d.ts +6 -0
- package/dist/movethewheels/components/freight-cost/FreightTotals.d.ts +6 -0
- package/dist/movethewheels/components/logistics-procedure/ProcedureDecisionForm.d.ts +20 -0
- package/dist/movethewheels/components/logistics-procedure/ProcedureFields.d.ts +17 -0
- package/dist/movethewheels/components/logistics-procedure/ProcedureHistory.d.ts +7 -0
- package/dist/movethewheels/components/logistics-procedure/ProcedurePolicyForm.d.ts +10 -0
- package/dist/movethewheels/components/logistics-procedure/ProcedurePolicyWorkbench.d.ts +5 -0
- package/dist/movethewheels/components/logistics-procedure/ProcedureReviewWorkbench.d.ts +5 -0
- package/dist/movethewheels/components/logistics-procedure/ProcedureRunWorkbench.d.ts +6 -0
- package/dist/movethewheels/components/logistics-procedure/ProcedureSubjectPicker.d.ts +7 -0
- package/dist/movethewheels/components/pending-pick/PendingPickDraft.d.ts +16 -0
- package/dist/movethewheels/components/pending-pick/PendingPickHistory.d.ts +5 -0
- package/dist/movethewheels/components/pending-pick/PickCapture.d.ts +6 -0
- package/dist/movethewheels/components/pending-pick/PickLineSelection.d.ts +17 -0
- package/dist/movethewheels/components/stock-binding/StockAssessmentDraft.d.ts +13 -0
- package/dist/movethewheels/components/stock-binding/StockAssessmentHistory.d.ts +18 -0
- package/dist/movethewheels/components/stock-binding/StockAssessmentSummary.d.ts +9 -0
- package/dist/movethewheels/components/stock-binding/StockFactForm.d.ts +6 -0
- package/dist/movethewheels/components/stock-observation/StockIssueForm.d.ts +7 -0
- package/dist/movethewheels/components/stock-observation/StockIssueHistory.d.ts +7 -0
- package/dist/movethewheels/components/stock-observation/StockIssueReadPanel.d.ts +5 -0
- package/dist/movethewheels/components/trip-utilization/TripReportForm.d.ts +6 -0
- package/dist/movethewheels/components/trip-utilization/TripReportHistory.d.ts +14 -0
- package/dist/movethewheels/components/trip-utilization/TripReportSummary.d.ts +5 -0
- package/dist/movethewheels/components/trip-utilization/TripSegmentFields.d.ts +9 -0
- package/dist/movethewheels/hooks/useConsolidationAction.d.ts +19 -0
- package/dist/movethewheels/hooks/useContainerCondition.d.ts +21 -0
- package/dist/movethewheels/hooks/useContainerLifecycle.d.ts +40 -0
- package/dist/movethewheels/hooks/useEmptyReuseAction.d.ts +14 -0
- package/dist/movethewheels/hooks/useFreightRecoveryAction.d.ts +23 -0
- package/dist/movethewheels/hooks/useProcedureAction.d.ts +18 -0
- package/dist/movethewheels/hooks/useProcedureSelection.d.ts +51 -0
- package/dist/movethewheels/hooks/useReuseRecoveryAction.d.ts +18 -0
- package/dist/movethewheels/pages/ConsolidationPage.d.ts +1 -0
- package/dist/movethewheels/pages/ContainerConditionPage.d.ts +1 -0
- package/dist/movethewheels/pages/ContainersPage.d.ts +2 -0
- package/dist/movethewheels/pages/EmptyReusePage.d.ts +1 -0
- package/dist/movethewheels/pages/FreeTimePage.d.ts +1 -0
- package/dist/movethewheels/pages/FreightEstimatePage.d.ts +1 -0
- package/dist/movethewheels/pages/LogisticsProceduresPage.d.ts +1 -0
- package/dist/movethewheels/pages/PendingPickPage.d.ts +1 -0
- package/dist/movethewheels/pages/StockBindingPage.d.ts +1 -0
- package/dist/movethewheels/pages/StockObservationsPage.d.ts +1 -0
- package/dist/movethewheels/pages/TripUtilizationPage.d.ts +1 -0
- package/dist/movethewheels/utils/consolidationHistoryTarget.d.ts +12 -0
- package/dist/movethewheels/utils/consolidationInput.d.ts +15 -0
- package/dist/movethewheels/utils/consolidationLot.d.ts +3 -0
- package/dist/movethewheels/utils/consolidationPins.d.ts +20 -0
- package/dist/movethewheels/utils/consolidationRecovery.d.ts +5 -0
- package/dist/movethewheels/utils/consolidationReportHead.d.ts +5 -0
- package/dist/movethewheels/utils/freeTimeDate.d.ts +1 -0
- package/dist/movethewheels/utils/freightAcknowledgement.d.ts +2 -0
- package/dist/movethewheels/utils/freightDraft.d.ts +36 -0
- package/dist/movethewheels/utils/freightRecovery.d.ts +5 -0
- package/dist/movethewheels/utils/graphqlClient.d.ts +2 -1
- package/dist/movethewheels/utils/pendingPickDraft.d.ts +8 -0
- package/dist/movethewheels/utils/procedureInput.d.ts +18 -0
- package/dist/movethewheels/utils/procedureRecovery.d.ts +5 -0
- package/dist/movethewheels/utils/reuseAttempt.d.ts +7 -0
- package/dist/movethewheels/utils/reuseForm.d.ts +6 -0
- package/dist/movethewheels/utils/reuseRecovery.d.ts +26 -0
- package/dist/movethewheels/utils/stockBindingForm.d.ts +23 -0
- package/dist/movethewheels/utils/stockBindingLabels.d.ts +10 -0
- package/dist/movethewheels/utils/stockObservationForm.d.ts +5 -0
- package/dist/movethewheels/utils/tripDraftContext.d.ts +25 -0
- package/dist/movethewheels/utils/tripUtilizationForm.d.ts +6 -0
- package/dist/node_modules/@react-leaflet/core/lib/component.js +5 -5
- package/dist/node_modules/fast-equals/dist/es/index.js +87 -74
- package/dist/node_modules/leaflet/dist/leaflet-src.js +8 -5
- package/dist/node_modules/lodash/_Stack.js +2 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/clipboard-list.js +35 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/repeat-2.js +22 -0
- package/dist/node_modules/react-leaflet/lib/MapContainer.js +3 -3
- package/dist/node_modules/react-smooth/es6/Animate.js +2 -2
- package/dist/node_modules/recharts/es6/cartesian/Area.js +13 -13
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +9 -9
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +12 -12
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +7 -7
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +13 -13
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +4 -4
- package/dist/node_modules/recharts/es6/cartesian/Line.js +10 -10
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +3 -3
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +3 -3
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +4 -4
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +3 -3
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +3 -3
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +1 -1
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +22 -22
- package/dist/node_modules/recharts/es6/component/Cursor.js +1 -1
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +11 -11
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +6 -6
- package/dist/node_modules/recharts/es6/component/Label.js +14 -14
- package/dist/node_modules/recharts/es6/component/LabelList.js +6 -6
- package/dist/node_modules/recharts/es6/component/Legend.js +5 -5
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +3 -3
- package/dist/node_modules/recharts/es6/component/Text.js +2 -2
- package/dist/node_modules/recharts/es6/component/Tooltip.js +3 -3
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +2 -2
- package/dist/node_modules/recharts/es6/container/Layer.js +2 -2
- package/dist/node_modules/recharts/es6/container/Surface.js +2 -2
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +2 -2
- package/dist/node_modules/recharts/es6/polar/Pie.js +13 -13
- package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +8 -8
- package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +6 -6
- package/dist/node_modules/recharts/es6/shape/Cross.js +1 -1
- package/dist/node_modules/recharts/es6/shape/Curve.js +1 -1
- package/dist/node_modules/recharts/es6/shape/Dot.js +1 -1
- package/dist/node_modules/recharts/es6/shape/Polygon.js +4 -4
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +4 -4
- package/dist/node_modules/recharts/es6/shape/Sector.js +1 -1
- package/dist/node_modules/recharts/es6/shape/Symbols.js +1 -1
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +4 -4
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +9 -9
- package/dist/node_modules/recharts/es6/util/BarUtils.js +1 -1
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +1 -1
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +1 -1
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +2 -2
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +1 -1
- package/dist/node_modules/recharts/es6/util/types.js +1 -1
- package/dist/node_modules/{react-is → recharts/node_modules/react-is}/cjs/react-is.development.js +2 -2
- package/dist/node_modules/{react-is → recharts/node_modules/react-is}/cjs/react-is.production.min.js +2 -2
- package/dist/node_modules/{react-is → recharts/node_modules/react-is}/index.js +2 -2
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +97 -18
- package/dist/node_modules/zustand/esm/middleware.js +2 -2
- package/dist/pages/ConsolidationPage.js +76 -0
- package/dist/pages/ContainerConditionPage.js +972 -0
- package/dist/pages/ContainersPage.js +522 -0
- package/dist/pages/EmptyReusePage.js +777 -0
- package/dist/pages/FreeTimePage.js +657 -0
- package/dist/pages/FreightEstimatePage.js +284 -0
- package/dist/pages/InventoryPage.js +77 -73
- package/dist/pages/LogisticsProceduresPage.js +100 -0
- package/dist/pages/PendingPickPage.js +155 -0
- package/dist/pages/StockBindingPage.js +236 -0
- package/dist/pages/StockObservationsPage.js +168 -0
- package/dist/pages/TripUtilizationPage.js +227 -0
- package/dist/src/generated/consolidation-operations.js +505 -0
- package/dist/src/generated/container-condition-operations.js +208 -0
- package/dist/src/generated/container-operations.js +101 -0
- package/dist/src/generated/empty-reuse-operations.js +749 -0
- package/dist/src/generated/free-time-operations.js +235 -0
- package/dist/src/generated/freight-cost-operations.js +325 -0
- package/dist/src/generated/logistics-procedure-operations.js +362 -0
- package/dist/src/generated/pending-pick-operations.js +1128 -0
- package/dist/src/generated/stock-binding-operations.js +175 -0
- package/dist/src/generated/stock-observation-operations.js +93 -0
- package/dist/src/generated/trip-utilization-operations.js +140 -0
- package/dist/src/generated/wspace-operations.js +708 -0
- package/dist/utils/consolidationHistoryTarget.js +27 -0
- package/dist/utils/consolidationInput.js +21 -0
- package/dist/utils/consolidationLot.js +29 -0
- package/dist/utils/consolidationPins.js +13 -0
- package/dist/utils/consolidationRecovery.js +40 -0
- package/dist/utils/consolidationReportHead.js +18 -0
- package/dist/utils/freeTimeDate.js +26 -0
- package/dist/utils/freightAcknowledgement.js +8 -0
- package/dist/utils/freightDraft.js +125 -0
- package/dist/utils/freightRecovery.js +36 -0
- package/dist/utils/graphqlClient.js +28 -28
- package/dist/utils/pendingPickDraft.js +46 -0
- package/dist/utils/procedureInput.js +43 -0
- package/dist/utils/procedureRecovery.js +42 -0
- package/dist/utils/reuseAttempt.js +20 -0
- package/dist/utils/reuseForm.js +25 -0
- package/dist/utils/reuseRecovery.js +71 -0
- package/dist/utils/stockBindingForm.js +142 -0
- package/dist/utils/stockBindingLabels.js +23 -0
- package/dist/utils/stockObservationForm.js +55 -0
- package/dist/utils/tripDraftContext.js +19 -0
- package/dist/utils/tripUtilizationForm.js +60 -0
- package/package.json +19 -5
- package/src/generated/consolidation-operations.ts +1138 -0
- package/src/generated/container-condition-operations.ts +771 -0
- package/src/generated/container-operations.ts +376 -0
- package/src/generated/empty-reuse-operations.ts +1648 -0
- package/src/generated/free-time-operations.ts +814 -0
- package/src/generated/freight-cost-operations.ts +753 -0
- package/src/generated/logistics-procedure-operations.ts +1047 -0
- package/src/generated/pending-pick-operations.ts +1508 -0
- package/src/generated/stock-binding-operations.ts +631 -0
- package/src/generated/stock-observation-operations.ts +373 -0
- package/src/generated/trip-utilization-operations.ts +500 -0
- package/src/generated/wspace-operations.ts +116 -0
- package/src/movethewheels/MoveTheWheelsRoot.tsx +79 -0
- package/src/movethewheels/MoveTheWheelsRoutes.tsx +22 -0
- package/src/movethewheels/components/ContainerEvidencePicker.tsx +146 -0
- package/src/movethewheels/components/FreeTimeAgreementForm.tsx +483 -0
- package/src/movethewheels/components/ReturnInstructionForm.tsx +102 -0
- package/src/movethewheels/components/ReuseControls.tsx +138 -0
- package/src/movethewheels/components/ReusePermissionForm.tsx +123 -0
- package/src/movethewheels/components/ReuseProposalForm.tsx +484 -0
- package/src/movethewheels/components/ReuseSourceFields.tsx +80 -0
- package/src/movethewheels/components/consolidation/ConsolidationHistory.tsx +159 -0
- package/src/movethewheels/components/consolidation/ConsolidationLotEditor.tsx +144 -0
- package/src/movethewheels/components/consolidation/ConsolidationManifestWorkbench.tsx +168 -0
- package/src/movethewheels/components/consolidation/ConsolidationPlanForm.tsx +185 -0
- package/src/movethewheels/components/consolidation/ConsolidationPlanWorkbench.tsx +395 -0
- package/src/movethewheels/components/consolidation/ConsolidationReportForm.tsx +124 -0
- package/src/movethewheels/components/consolidation/ConsolidationReportsWorkbench.tsx +233 -0
- package/src/movethewheels/components/consolidation/ConsolidationSummary.tsx +84 -0
- package/src/movethewheels/components/consolidation/OriginalConsolidationHistory.tsx +133 -0
- package/src/movethewheels/components/freight-cost/FreightDraftForm.tsx +224 -0
- package/src/movethewheels/components/freight-cost/FreightFields.tsx +91 -0
- package/src/movethewheels/components/freight-cost/FreightFxEditor.tsx +98 -0
- package/src/movethewheels/components/freight-cost/FreightHistory.tsx +91 -0
- package/src/movethewheels/components/freight-cost/FreightLineEditor.tsx +192 -0
- package/src/movethewheels/components/freight-cost/FreightScopeEditor.tsx +64 -0
- package/src/movethewheels/components/freight-cost/FreightTotals.tsx +68 -0
- package/src/movethewheels/components/logistics-procedure/ProcedureDecisionForm.tsx +204 -0
- package/src/movethewheels/components/logistics-procedure/ProcedureFields.tsx +43 -0
- package/src/movethewheels/components/logistics-procedure/ProcedureHistory.tsx +102 -0
- package/src/movethewheels/components/logistics-procedure/ProcedurePolicyForm.tsx +226 -0
- package/src/movethewheels/components/logistics-procedure/ProcedurePolicyWorkbench.tsx +174 -0
- package/src/movethewheels/components/logistics-procedure/ProcedureReviewWorkbench.tsx +278 -0
- package/src/movethewheels/components/logistics-procedure/ProcedureRunWorkbench.tsx +292 -0
- package/src/movethewheels/components/logistics-procedure/ProcedureSubjectPicker.tsx +111 -0
- package/src/movethewheels/components/pending-pick/PendingPickDraft.tsx +82 -0
- package/src/movethewheels/components/pending-pick/PendingPickHistory.tsx +93 -0
- package/src/movethewheels/components/pending-pick/PickCapture.tsx +70 -0
- package/src/movethewheels/components/pending-pick/PickLineSelection.tsx +130 -0
- package/src/movethewheels/components/stock-binding/StockAssessmentDraft.tsx +52 -0
- package/src/movethewheels/components/stock-binding/StockAssessmentHistory.tsx +56 -0
- package/src/movethewheels/components/stock-binding/StockAssessmentSummary.tsx +108 -0
- package/src/movethewheels/components/stock-binding/StockFactForm.tsx +186 -0
- package/src/movethewheels/components/stock-observation/StockIssueForm.tsx +103 -0
- package/src/movethewheels/components/stock-observation/StockIssueHistory.tsx +96 -0
- package/src/movethewheels/components/stock-observation/StockIssueReadPanel.tsx +72 -0
- package/src/movethewheels/components/trip-utilization/TripReportForm.tsx +116 -0
- package/src/movethewheels/components/trip-utilization/TripReportHistory.tsx +51 -0
- package/src/movethewheels/components/trip-utilization/TripReportSummary.tsx +127 -0
- package/src/movethewheels/components/trip-utilization/TripSegmentFields.tsx +118 -0
- package/src/movethewheels/hooks/useConsolidationAction.ts +196 -0
- package/src/movethewheels/hooks/useContainerCondition.ts +129 -0
- package/src/movethewheels/hooks/useContainerLifecycle.ts +291 -0
- package/src/movethewheels/hooks/useEmptyReuseAction.ts +72 -0
- package/src/movethewheels/hooks/useFreightRecoveryAction.ts +201 -0
- package/src/movethewheels/hooks/useInventory.ts +2 -20
- package/src/movethewheels/hooks/useProcedureAction.ts +196 -0
- package/src/movethewheels/hooks/useProcedureSelection.ts +75 -0
- package/src/movethewheels/hooks/useReuseRecoveryAction.ts +192 -0
- package/src/movethewheels/pages/ConsolidationPage.tsx +70 -0
- package/src/movethewheels/pages/ContainerConditionPage.tsx +959 -0
- package/src/movethewheels/pages/ContainersPage.tsx +490 -0
- package/src/movethewheels/pages/EmptyReusePage.tsx +823 -0
- package/src/movethewheels/pages/FreeTimePage.tsx +720 -0
- package/src/movethewheels/pages/FreightEstimatePage.tsx +353 -0
- package/src/movethewheels/pages/InventoryPage.tsx +16 -2
- package/src/movethewheels/pages/LogisticsProceduresPage.tsx +86 -0
- package/src/movethewheels/pages/PendingPickPage.tsx +226 -0
- package/src/movethewheels/pages/StockBindingPage.tsx +299 -0
- package/src/movethewheels/pages/StockObservationsPage.tsx +181 -0
- package/src/movethewheels/pages/TripUtilizationPage.tsx +315 -0
- package/src/movethewheels/utils/consolidationHistoryTarget.ts +39 -0
- package/src/movethewheels/utils/consolidationInput.ts +70 -0
- package/src/movethewheels/utils/consolidationLot.ts +24 -0
- package/src/movethewheels/utils/consolidationPins.ts +52 -0
- package/src/movethewheels/utils/consolidationRecovery.ts +88 -0
- package/src/movethewheels/utils/consolidationReportHead.ts +29 -0
- package/src/movethewheels/utils/freeTimeDate.ts +31 -0
- package/src/movethewheels/utils/freightAcknowledgement.ts +31 -0
- package/src/movethewheels/utils/freightDraft.ts +170 -0
- package/src/movethewheels/utils/freightRecovery.ts +79 -0
- package/src/movethewheels/utils/graphqlClient.ts +14 -5
- package/src/movethewheels/utils/pendingPickDraft.ts +61 -0
- package/src/movethewheels/utils/procedureInput.ts +98 -0
- package/src/movethewheels/utils/procedureRecovery.ts +92 -0
- package/src/movethewheels/utils/reuseAttempt.ts +29 -0
- package/src/movethewheels/utils/reuseForm.ts +30 -0
- package/src/movethewheels/utils/reuseRecovery.ts +151 -0
- package/src/movethewheels/utils/stockBindingForm.ts +209 -0
- package/src/movethewheels/utils/stockBindingLabels.ts +41 -0
- package/src/movethewheels/utils/stockObservationForm.ts +73 -0
- package/src/movethewheels/utils/tripDraftContext.ts +61 -0
- package/src/movethewheels/utils/tripUtilizationForm.ts +105 -0
- package/src/operations/condition/container-condition.graphql +41 -0
- package/src/operations/consolidation/consolidation.graphql +490 -0
- package/src/operations/container/container-lifecycle.graphql +80 -0
- package/src/operations/empty-reuse/empty-reuse.graphql +737 -0
- package/src/operations/free-time/free-time.graphql +47 -0
- package/src/operations/freight-cost/freight.graphql +6 -0
- package/src/operations/logistics-procedure/procedure.graphql +15 -0
- package/src/operations/pending-pick/pending-pick.graphql +1122 -0
- package/src/operations/stock-binding/stock-binding.graphql +160 -0
- package/src/operations/stock-observation/stock-observation.graphql +20 -0
- package/src/operations/trip-utilization/trip-utilization.graphql +126 -0
- package/src/operations/wspace/container-evidence.graphql +6 -0
|
@@ -0,0 +1,651 @@
|
|
|
1
|
+
export type Maybe<T> = T | null;
|
|
2
|
+
export type InputMaybe<T> = Maybe<T>;
|
|
3
|
+
export type Exact<T extends {
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
}> = {
|
|
6
|
+
[K in keyof T]: T[K];
|
|
7
|
+
};
|
|
8
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
9
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
10
|
+
};
|
|
11
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
12
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
13
|
+
};
|
|
14
|
+
export type MakeEmpty<T extends {
|
|
15
|
+
[key: string]: unknown;
|
|
16
|
+
}, K extends keyof T> = {
|
|
17
|
+
[_ in K]?: never;
|
|
18
|
+
};
|
|
19
|
+
export type Incremental<T> = T | {
|
|
20
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
21
|
+
};
|
|
22
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
23
|
+
export type Scalars = {
|
|
24
|
+
ID: {
|
|
25
|
+
input: string;
|
|
26
|
+
output: string;
|
|
27
|
+
};
|
|
28
|
+
String: {
|
|
29
|
+
input: string;
|
|
30
|
+
output: string;
|
|
31
|
+
};
|
|
32
|
+
Boolean: {
|
|
33
|
+
input: boolean;
|
|
34
|
+
output: boolean;
|
|
35
|
+
};
|
|
36
|
+
Int: {
|
|
37
|
+
input: number;
|
|
38
|
+
output: number;
|
|
39
|
+
};
|
|
40
|
+
Float: {
|
|
41
|
+
input: number;
|
|
42
|
+
output: number;
|
|
43
|
+
};
|
|
44
|
+
DateTime: {
|
|
45
|
+
input: string;
|
|
46
|
+
output: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
/** Bounded audit snapshot of at most 10 exact evidence versions. */
|
|
50
|
+
export type MtwContainerEvidence = {
|
|
51
|
+
__typename?: 'MtwContainerEvidence';
|
|
52
|
+
checkedAt: Scalars['DateTime']['output'];
|
|
53
|
+
fileId: Scalars['ID']['output'];
|
|
54
|
+
sha256Hash: Scalars['String']['output'];
|
|
55
|
+
versionId: Scalars['ID']['output'];
|
|
56
|
+
};
|
|
57
|
+
/** Exact shared Files version. The fingerprint establishes integrity, not issuer authenticity. */
|
|
58
|
+
export type MtwContainerEvidenceInput = {
|
|
59
|
+
fileId: Scalars['ID']['input'];
|
|
60
|
+
versionId: Scalars['ID']['input'];
|
|
61
|
+
};
|
|
62
|
+
export type MtwContainerPagination = {
|
|
63
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
64
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
65
|
+
};
|
|
66
|
+
export type MtwRoute = {
|
|
67
|
+
__typename?: 'MtwRoute';
|
|
68
|
+
id: Scalars['ID']['output'];
|
|
69
|
+
name: Scalars['String']['output'];
|
|
70
|
+
status: RouteStatus;
|
|
71
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
72
|
+
vehicle?: Maybe<MtwVehicle>;
|
|
73
|
+
vehicleId?: Maybe<Scalars['ID']['output']>;
|
|
74
|
+
};
|
|
75
|
+
export type MtwTripUtilizationBasis = 'ESTIMATED' | 'OBSERVED';
|
|
76
|
+
export type MtwTripUtilizationCoverage = 'COMPLETE' | 'PARTIAL';
|
|
77
|
+
/** Immutable historical operator report of a captured route/vehicle revision; no assignment or dispatch change. */
|
|
78
|
+
export type MtwTripUtilizationReport = {
|
|
79
|
+
__typename?: 'MtwTripUtilizationReport';
|
|
80
|
+
actorProvenance: Scalars['String']['output'];
|
|
81
|
+
basis: MtwTripUtilizationBasis;
|
|
82
|
+
createdBy: Scalars['ID']['output'];
|
|
83
|
+
declaredCoverage: MtwTripUtilizationCoverage;
|
|
84
|
+
evidence: Array<MtwContainerEvidence>;
|
|
85
|
+
id: Scalars['ID']['output'];
|
|
86
|
+
intervalFrom: Scalars['DateTime']['output'];
|
|
87
|
+
intervalUntil: Scalars['DateTime']['output'];
|
|
88
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
89
|
+
routeId: Scalars['ID']['output'];
|
|
90
|
+
routeUpdatedAt: Scalars['DateTime']['output'];
|
|
91
|
+
routeWaypointsFingerprint: Scalars['String']['output'];
|
|
92
|
+
schemaVersion: Scalars['Int']['output'];
|
|
93
|
+
summary: MtwTripUtilizationSummary;
|
|
94
|
+
tripId: Scalars['ID']['output'];
|
|
95
|
+
vehicleId: Scalars['ID']['output'];
|
|
96
|
+
vehicleUpdatedAt: Scalars['DateTime']['output'];
|
|
97
|
+
};
|
|
98
|
+
export type MtwTripUtilizationReportPage = {
|
|
99
|
+
__typename?: 'MtwTripUtilizationReportPage';
|
|
100
|
+
hasMore: Scalars['Boolean']['output'];
|
|
101
|
+
items: Array<MtwTripUtilizationReport>;
|
|
102
|
+
limit: Scalars['Int']['output'];
|
|
103
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
104
|
+
offset: Scalars['Int']['output'];
|
|
105
|
+
total: Scalars['Int']['output'];
|
|
106
|
+
};
|
|
107
|
+
export type MtwTripUtilizationSegment = {
|
|
108
|
+
__typename?: 'MtwTripUtilizationSegment';
|
|
109
|
+
basis: MtwTripUtilizationBasis;
|
|
110
|
+
cubeCapacityM3?: Maybe<Scalars['Float']['output']>;
|
|
111
|
+
cubeM3?: Maybe<Scalars['Float']['output']>;
|
|
112
|
+
cubeUtilizationPercentage?: Maybe<Scalars['Float']['output']>;
|
|
113
|
+
distanceKm?: Maybe<Scalars['Float']['output']>;
|
|
114
|
+
loadedState: MtwUtilizationLoadedState;
|
|
115
|
+
payloadCapacityKg?: Maybe<Scalars['Float']['output']>;
|
|
116
|
+
payloadKg?: Maybe<Scalars['Float']['output']>;
|
|
117
|
+
segmentId: Scalars['ID']['output'];
|
|
118
|
+
sequence: Scalars['Int']['output'];
|
|
119
|
+
source: MtwUtilizationSource;
|
|
120
|
+
warnings: Array<MtwUtilizationWarning>;
|
|
121
|
+
weightUtilizationPercentage?: Maybe<Scalars['Float']['output']>;
|
|
122
|
+
};
|
|
123
|
+
export type MtwTripUtilizationSegmentInput = {
|
|
124
|
+
cubeCapacityM3?: InputMaybe<Scalars['Float']['input']>;
|
|
125
|
+
cubeM3?: InputMaybe<Scalars['Float']['input']>;
|
|
126
|
+
distanceKm?: InputMaybe<Scalars['Float']['input']>;
|
|
127
|
+
loadedState: MtwUtilizationLoadedState;
|
|
128
|
+
payloadCapacityKg?: InputMaybe<Scalars['Float']['input']>;
|
|
129
|
+
payloadKg?: InputMaybe<Scalars['Float']['input']>;
|
|
130
|
+
segmentId: Scalars['ID']['input'];
|
|
131
|
+
sequence: Scalars['Int']['input'];
|
|
132
|
+
source: MtwUtilizationSourceInput;
|
|
133
|
+
};
|
|
134
|
+
/** COMPLETE is operator-declared coverage; these ratios are not feasibility, road, axle or fuel certificates. */
|
|
135
|
+
export type MtwTripUtilizationSummary = {
|
|
136
|
+
__typename?: 'MtwTripUtilizationSummary';
|
|
137
|
+
basis: MtwTripUtilizationBasis;
|
|
138
|
+
declaredCoverage: MtwTripUtilizationCoverage;
|
|
139
|
+
distanceCoverage: MtwUtilizationDistanceCoverage;
|
|
140
|
+
distanceWeightedCube: MtwUtilizationMetric;
|
|
141
|
+
distanceWeightedWeight: MtwUtilizationMetric;
|
|
142
|
+
loadedDistance: MtwUtilizationMetric;
|
|
143
|
+
segmentCount: Scalars['Int']['output'];
|
|
144
|
+
segments: Array<MtwTripUtilizationSegment>;
|
|
145
|
+
tripId: Scalars['ID']['output'];
|
|
146
|
+
unknownFactsSegmentCount: Scalars['Int']['output'];
|
|
147
|
+
};
|
|
148
|
+
export type MtwUtilizationCapacityBasis = 'MEASURED' | 'RATED';
|
|
149
|
+
export type MtwUtilizationDistanceBasis = 'MEASURED' | 'OPERATOR_ESTIMATE' | 'PROVIDER_ESTIMATE';
|
|
150
|
+
export type MtwUtilizationDistanceCoverage = {
|
|
151
|
+
__typename?: 'MtwUtilizationDistanceCoverage';
|
|
152
|
+
knownDistanceKm: Scalars['Float']['output'];
|
|
153
|
+
knownSegmentCount: Scalars['Int']['output'];
|
|
154
|
+
totalDistanceKm?: Maybe<Scalars['Float']['output']>;
|
|
155
|
+
unknownSegmentCount: Scalars['Int']['output'];
|
|
156
|
+
};
|
|
157
|
+
export type MtwUtilizationLoadBasis = 'MEASURED' | 'SOURCE_CONFIRMED_PLAN';
|
|
158
|
+
export type MtwUtilizationLoadedState = 'EMPTY' | 'LOADED' | 'UNKNOWN';
|
|
159
|
+
export type MtwUtilizationMetric = {
|
|
160
|
+
__typename?: 'MtwUtilizationMetric';
|
|
161
|
+
knownDistanceKm: Scalars['Float']['output'];
|
|
162
|
+
percentage?: Maybe<Scalars['Float']['output']>;
|
|
163
|
+
reason?: Maybe<MtwUtilizationMetricReason>;
|
|
164
|
+
status: MtwUtilizationMetricStatus;
|
|
165
|
+
unknownSegmentCount: Scalars['Int']['output'];
|
|
166
|
+
};
|
|
167
|
+
export type MtwUtilizationMetricReason = 'DISTANCE_UNKNOWN' | 'NO_SEGMENTS' | 'PARTIAL_TRIP' | 'SEGMENT_FACTS_UNKNOWN' | 'ZERO_DISTANCE';
|
|
168
|
+
export type MtwUtilizationMetricStatus = 'KNOWN' | 'UNKNOWN';
|
|
169
|
+
/** Human-recorded source labels, not independent measurement or provider authentication. */
|
|
170
|
+
export type MtwUtilizationSource = {
|
|
171
|
+
__typename?: 'MtwUtilizationSource';
|
|
172
|
+
capacityBasis: MtwUtilizationCapacityBasis;
|
|
173
|
+
distanceBasis: MtwUtilizationDistanceBasis;
|
|
174
|
+
loadBasis: MtwUtilizationLoadBasis;
|
|
175
|
+
observedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
176
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
177
|
+
reference: Scalars['String']['output'];
|
|
178
|
+
revision: Scalars['String']['output'];
|
|
179
|
+
};
|
|
180
|
+
export type MtwUtilizationSourceInput = {
|
|
181
|
+
capacityBasis: MtwUtilizationCapacityBasis;
|
|
182
|
+
distanceBasis: MtwUtilizationDistanceBasis;
|
|
183
|
+
loadBasis: MtwUtilizationLoadBasis;
|
|
184
|
+
observedAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
185
|
+
reference: Scalars['String']['input'];
|
|
186
|
+
revision: Scalars['String']['input'];
|
|
187
|
+
};
|
|
188
|
+
export type MtwUtilizationWarning = 'CUBE_OVERLOAD' | 'EMPTY_WITH_PAYLOAD' | 'WEIGHT_OVERLOAD';
|
|
189
|
+
export type MtwVehicle = {
|
|
190
|
+
__typename?: 'MtwVehicle';
|
|
191
|
+
id: Scalars['ID']['output'];
|
|
192
|
+
licensePlate?: Maybe<Scalars['String']['output']>;
|
|
193
|
+
status: VehicleStatus;
|
|
194
|
+
type: VehicleType;
|
|
195
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
196
|
+
vehicleNumber: Scalars['String']['output'];
|
|
197
|
+
};
|
|
198
|
+
export type Mutation = {
|
|
199
|
+
__typename?: 'Mutation';
|
|
200
|
+
recordMtwTripUtilizationReport: MtwTripUtilizationReport;
|
|
201
|
+
};
|
|
202
|
+
export type MutationRecordMtwTripUtilizationReportArgs = {
|
|
203
|
+
input: RecordMtwTripUtilizationReportInput;
|
|
204
|
+
};
|
|
205
|
+
export type PaginationInput = {
|
|
206
|
+
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
207
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
208
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
209
|
+
};
|
|
210
|
+
export type Query = {
|
|
211
|
+
__typename?: 'Query';
|
|
212
|
+
mtwTripUtilizationReportPage: MtwTripUtilizationReportPage;
|
|
213
|
+
route?: Maybe<MtwRoute>;
|
|
214
|
+
routes: Array<MtwRoute>;
|
|
215
|
+
routesCount: Scalars['Int']['output'];
|
|
216
|
+
vehicle?: Maybe<MtwVehicle>;
|
|
217
|
+
};
|
|
218
|
+
export type QueryMtwTripUtilizationReportPageArgs = {
|
|
219
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
220
|
+
routeId: Scalars['ID']['input'];
|
|
221
|
+
};
|
|
222
|
+
export type QueryRouteArgs = {
|
|
223
|
+
id: Scalars['ID']['input'];
|
|
224
|
+
};
|
|
225
|
+
export type QueryRoutesArgs = {
|
|
226
|
+
filter?: InputMaybe<RouteFilterInput>;
|
|
227
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
228
|
+
};
|
|
229
|
+
export type QueryRoutesCountArgs = {
|
|
230
|
+
filter?: InputMaybe<RouteFilterInput>;
|
|
231
|
+
};
|
|
232
|
+
export type QueryVehicleArgs = {
|
|
233
|
+
id: Scalars['ID']['input'];
|
|
234
|
+
};
|
|
235
|
+
export type RecordMtwTripUtilizationReportInput = {
|
|
236
|
+
basis: MtwTripUtilizationBasis;
|
|
237
|
+
declaredCoverage: MtwTripUtilizationCoverage;
|
|
238
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
239
|
+
expectedRouteUpdatedAt: Scalars['DateTime']['input'];
|
|
240
|
+
expectedVehicleUpdatedAt: Scalars['DateTime']['input'];
|
|
241
|
+
idempotencyKey: Scalars['String']['input'];
|
|
242
|
+
intervalFrom: Scalars['DateTime']['input'];
|
|
243
|
+
intervalUntil: Scalars['DateTime']['input'];
|
|
244
|
+
routeId: Scalars['ID']['input'];
|
|
245
|
+
segments: Array<MtwTripUtilizationSegmentInput>;
|
|
246
|
+
tripId: Scalars['ID']['input'];
|
|
247
|
+
vehicleId: Scalars['ID']['input'];
|
|
248
|
+
};
|
|
249
|
+
export type RouteFilterInput = {
|
|
250
|
+
driverId?: InputMaybe<Scalars['ID']['input']>;
|
|
251
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
252
|
+
shipmentId?: InputMaybe<Scalars['ID']['input']>;
|
|
253
|
+
status?: InputMaybe<RouteStatus>;
|
|
254
|
+
vehicleId?: InputMaybe<Scalars['ID']['input']>;
|
|
255
|
+
};
|
|
256
|
+
export type RouteStatus = 'CANCELLED' | 'COMPLETED' | 'IN_PROGRESS' | 'PLANNED';
|
|
257
|
+
export type VehicleStatus = 'ACTIVE' | 'DECOMMISSIONED' | 'INACTIVE' | 'IN_TRANSIT' | 'MAINTENANCE';
|
|
258
|
+
export type VehicleType = 'BICYCLE' | 'DRONE' | 'FLATBED' | 'MOTORCYCLE' | 'REFRIGERATED' | 'SEMI_TRAILER' | 'TRUCK' | 'VAN';
|
|
259
|
+
export type UtilizationVehicleFragment = {
|
|
260
|
+
__typename?: 'MtwVehicle';
|
|
261
|
+
id: string;
|
|
262
|
+
vehicleNumber: string;
|
|
263
|
+
licensePlate?: string | null;
|
|
264
|
+
type: VehicleType;
|
|
265
|
+
status: VehicleStatus;
|
|
266
|
+
updatedAt: string;
|
|
267
|
+
};
|
|
268
|
+
export type UtilizationRouteFragment = {
|
|
269
|
+
__typename?: 'MtwRoute';
|
|
270
|
+
id: string;
|
|
271
|
+
name: string;
|
|
272
|
+
status: RouteStatus;
|
|
273
|
+
updatedAt: string;
|
|
274
|
+
vehicleId?: string | null;
|
|
275
|
+
vehicle?: {
|
|
276
|
+
__typename?: 'MtwVehicle';
|
|
277
|
+
id: string;
|
|
278
|
+
vehicleNumber: string;
|
|
279
|
+
licensePlate?: string | null;
|
|
280
|
+
type: VehicleType;
|
|
281
|
+
status: VehicleStatus;
|
|
282
|
+
updatedAt: string;
|
|
283
|
+
} | null;
|
|
284
|
+
};
|
|
285
|
+
export type UtilizationRoutesQueryVariables = Exact<{
|
|
286
|
+
pagination: PaginationInput;
|
|
287
|
+
}>;
|
|
288
|
+
export type UtilizationRoutesQuery = {
|
|
289
|
+
__typename?: 'Query';
|
|
290
|
+
routesCount: number;
|
|
291
|
+
routes: Array<{
|
|
292
|
+
__typename?: 'MtwRoute';
|
|
293
|
+
id: string;
|
|
294
|
+
name: string;
|
|
295
|
+
status: RouteStatus;
|
|
296
|
+
updatedAt: string;
|
|
297
|
+
vehicleId?: string | null;
|
|
298
|
+
vehicle?: {
|
|
299
|
+
__typename?: 'MtwVehicle';
|
|
300
|
+
id: string;
|
|
301
|
+
vehicleNumber: string;
|
|
302
|
+
licensePlate?: string | null;
|
|
303
|
+
type: VehicleType;
|
|
304
|
+
status: VehicleStatus;
|
|
305
|
+
updatedAt: string;
|
|
306
|
+
} | null;
|
|
307
|
+
}>;
|
|
308
|
+
};
|
|
309
|
+
export type UtilizationCurrentRouteQueryVariables = Exact<{
|
|
310
|
+
id: Scalars['ID']['input'];
|
|
311
|
+
}>;
|
|
312
|
+
export type UtilizationCurrentRouteQuery = {
|
|
313
|
+
__typename?: 'Query';
|
|
314
|
+
route?: {
|
|
315
|
+
__typename?: 'MtwRoute';
|
|
316
|
+
id: string;
|
|
317
|
+
name: string;
|
|
318
|
+
status: RouteStatus;
|
|
319
|
+
updatedAt: string;
|
|
320
|
+
vehicleId?: string | null;
|
|
321
|
+
vehicle?: {
|
|
322
|
+
__typename?: 'MtwVehicle';
|
|
323
|
+
id: string;
|
|
324
|
+
vehicleNumber: string;
|
|
325
|
+
licensePlate?: string | null;
|
|
326
|
+
type: VehicleType;
|
|
327
|
+
status: VehicleStatus;
|
|
328
|
+
updatedAt: string;
|
|
329
|
+
} | null;
|
|
330
|
+
} | null;
|
|
331
|
+
};
|
|
332
|
+
export type UtilizationCurrentVehicleQueryVariables = Exact<{
|
|
333
|
+
id: Scalars['ID']['input'];
|
|
334
|
+
}>;
|
|
335
|
+
export type UtilizationCurrentVehicleQuery = {
|
|
336
|
+
__typename?: 'Query';
|
|
337
|
+
vehicle?: {
|
|
338
|
+
__typename?: 'MtwVehicle';
|
|
339
|
+
id: string;
|
|
340
|
+
vehicleNumber: string;
|
|
341
|
+
licensePlate?: string | null;
|
|
342
|
+
type: VehicleType;
|
|
343
|
+
status: VehicleStatus;
|
|
344
|
+
updatedAt: string;
|
|
345
|
+
} | null;
|
|
346
|
+
};
|
|
347
|
+
export type UtilizationMetricFragment = {
|
|
348
|
+
__typename?: 'MtwUtilizationMetric';
|
|
349
|
+
status: MtwUtilizationMetricStatus;
|
|
350
|
+
percentage?: number | null;
|
|
351
|
+
knownDistanceKm: number;
|
|
352
|
+
unknownSegmentCount: number;
|
|
353
|
+
reason?: MtwUtilizationMetricReason | null;
|
|
354
|
+
};
|
|
355
|
+
export type UtilizationReportFragment = {
|
|
356
|
+
__typename?: 'MtwTripUtilizationReport';
|
|
357
|
+
id: string;
|
|
358
|
+
routeId: string;
|
|
359
|
+
vehicleId: string;
|
|
360
|
+
routeUpdatedAt: string;
|
|
361
|
+
vehicleUpdatedAt: string;
|
|
362
|
+
routeWaypointsFingerprint: string;
|
|
363
|
+
tripId: string;
|
|
364
|
+
basis: MtwTripUtilizationBasis;
|
|
365
|
+
declaredCoverage: MtwTripUtilizationCoverage;
|
|
366
|
+
intervalFrom: string;
|
|
367
|
+
intervalUntil: string;
|
|
368
|
+
schemaVersion: number;
|
|
369
|
+
recordedAt: string;
|
|
370
|
+
createdBy: string;
|
|
371
|
+
actorProvenance: string;
|
|
372
|
+
evidence: Array<{
|
|
373
|
+
__typename?: 'MtwContainerEvidence';
|
|
374
|
+
fileId: string;
|
|
375
|
+
versionId: string;
|
|
376
|
+
sha256Hash: string;
|
|
377
|
+
checkedAt: string;
|
|
378
|
+
}>;
|
|
379
|
+
summary: {
|
|
380
|
+
__typename?: 'MtwTripUtilizationSummary';
|
|
381
|
+
tripId: string;
|
|
382
|
+
basis: MtwTripUtilizationBasis;
|
|
383
|
+
declaredCoverage: MtwTripUtilizationCoverage;
|
|
384
|
+
segmentCount: number;
|
|
385
|
+
unknownFactsSegmentCount: number;
|
|
386
|
+
distanceCoverage: {
|
|
387
|
+
__typename?: 'MtwUtilizationDistanceCoverage';
|
|
388
|
+
knownSegmentCount: number;
|
|
389
|
+
unknownSegmentCount: number;
|
|
390
|
+
knownDistanceKm: number;
|
|
391
|
+
totalDistanceKm?: number | null;
|
|
392
|
+
};
|
|
393
|
+
loadedDistance: {
|
|
394
|
+
__typename?: 'MtwUtilizationMetric';
|
|
395
|
+
status: MtwUtilizationMetricStatus;
|
|
396
|
+
percentage?: number | null;
|
|
397
|
+
knownDistanceKm: number;
|
|
398
|
+
unknownSegmentCount: number;
|
|
399
|
+
reason?: MtwUtilizationMetricReason | null;
|
|
400
|
+
};
|
|
401
|
+
distanceWeightedWeight: {
|
|
402
|
+
__typename?: 'MtwUtilizationMetric';
|
|
403
|
+
status: MtwUtilizationMetricStatus;
|
|
404
|
+
percentage?: number | null;
|
|
405
|
+
knownDistanceKm: number;
|
|
406
|
+
unknownSegmentCount: number;
|
|
407
|
+
reason?: MtwUtilizationMetricReason | null;
|
|
408
|
+
};
|
|
409
|
+
distanceWeightedCube: {
|
|
410
|
+
__typename?: 'MtwUtilizationMetric';
|
|
411
|
+
status: MtwUtilizationMetricStatus;
|
|
412
|
+
percentage?: number | null;
|
|
413
|
+
knownDistanceKm: number;
|
|
414
|
+
unknownSegmentCount: number;
|
|
415
|
+
reason?: MtwUtilizationMetricReason | null;
|
|
416
|
+
};
|
|
417
|
+
segments: Array<{
|
|
418
|
+
__typename?: 'MtwTripUtilizationSegment';
|
|
419
|
+
segmentId: string;
|
|
420
|
+
sequence: number;
|
|
421
|
+
basis: MtwTripUtilizationBasis;
|
|
422
|
+
loadedState: MtwUtilizationLoadedState;
|
|
423
|
+
distanceKm?: number | null;
|
|
424
|
+
payloadKg?: number | null;
|
|
425
|
+
payloadCapacityKg?: number | null;
|
|
426
|
+
cubeM3?: number | null;
|
|
427
|
+
cubeCapacityM3?: number | null;
|
|
428
|
+
weightUtilizationPercentage?: number | null;
|
|
429
|
+
cubeUtilizationPercentage?: number | null;
|
|
430
|
+
warnings: Array<MtwUtilizationWarning>;
|
|
431
|
+
source: {
|
|
432
|
+
__typename?: 'MtwUtilizationSource';
|
|
433
|
+
reference: string;
|
|
434
|
+
revision: string;
|
|
435
|
+
recordedAt: string;
|
|
436
|
+
observedAt?: string | null;
|
|
437
|
+
distanceBasis: MtwUtilizationDistanceBasis;
|
|
438
|
+
loadBasis: MtwUtilizationLoadBasis;
|
|
439
|
+
capacityBasis: MtwUtilizationCapacityBasis;
|
|
440
|
+
};
|
|
441
|
+
}>;
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
export type UtilizationReportsQueryVariables = Exact<{
|
|
445
|
+
routeId: Scalars['ID']['input'];
|
|
446
|
+
pagination: MtwContainerPagination;
|
|
447
|
+
}>;
|
|
448
|
+
export type UtilizationReportsQuery = {
|
|
449
|
+
__typename?: 'Query';
|
|
450
|
+
mtwTripUtilizationReportPage: {
|
|
451
|
+
__typename?: 'MtwTripUtilizationReportPage';
|
|
452
|
+
total: number;
|
|
453
|
+
limit: number;
|
|
454
|
+
offset: number;
|
|
455
|
+
hasMore: boolean;
|
|
456
|
+
nextOffset?: number | null;
|
|
457
|
+
items: Array<{
|
|
458
|
+
__typename?: 'MtwTripUtilizationReport';
|
|
459
|
+
id: string;
|
|
460
|
+
routeId: string;
|
|
461
|
+
vehicleId: string;
|
|
462
|
+
routeUpdatedAt: string;
|
|
463
|
+
vehicleUpdatedAt: string;
|
|
464
|
+
routeWaypointsFingerprint: string;
|
|
465
|
+
tripId: string;
|
|
466
|
+
basis: MtwTripUtilizationBasis;
|
|
467
|
+
declaredCoverage: MtwTripUtilizationCoverage;
|
|
468
|
+
intervalFrom: string;
|
|
469
|
+
intervalUntil: string;
|
|
470
|
+
schemaVersion: number;
|
|
471
|
+
recordedAt: string;
|
|
472
|
+
createdBy: string;
|
|
473
|
+
actorProvenance: string;
|
|
474
|
+
evidence: Array<{
|
|
475
|
+
__typename?: 'MtwContainerEvidence';
|
|
476
|
+
fileId: string;
|
|
477
|
+
versionId: string;
|
|
478
|
+
sha256Hash: string;
|
|
479
|
+
checkedAt: string;
|
|
480
|
+
}>;
|
|
481
|
+
summary: {
|
|
482
|
+
__typename?: 'MtwTripUtilizationSummary';
|
|
483
|
+
tripId: string;
|
|
484
|
+
basis: MtwTripUtilizationBasis;
|
|
485
|
+
declaredCoverage: MtwTripUtilizationCoverage;
|
|
486
|
+
segmentCount: number;
|
|
487
|
+
unknownFactsSegmentCount: number;
|
|
488
|
+
distanceCoverage: {
|
|
489
|
+
__typename?: 'MtwUtilizationDistanceCoverage';
|
|
490
|
+
knownSegmentCount: number;
|
|
491
|
+
unknownSegmentCount: number;
|
|
492
|
+
knownDistanceKm: number;
|
|
493
|
+
totalDistanceKm?: number | null;
|
|
494
|
+
};
|
|
495
|
+
loadedDistance: {
|
|
496
|
+
__typename?: 'MtwUtilizationMetric';
|
|
497
|
+
status: MtwUtilizationMetricStatus;
|
|
498
|
+
percentage?: number | null;
|
|
499
|
+
knownDistanceKm: number;
|
|
500
|
+
unknownSegmentCount: number;
|
|
501
|
+
reason?: MtwUtilizationMetricReason | null;
|
|
502
|
+
};
|
|
503
|
+
distanceWeightedWeight: {
|
|
504
|
+
__typename?: 'MtwUtilizationMetric';
|
|
505
|
+
status: MtwUtilizationMetricStatus;
|
|
506
|
+
percentage?: number | null;
|
|
507
|
+
knownDistanceKm: number;
|
|
508
|
+
unknownSegmentCount: number;
|
|
509
|
+
reason?: MtwUtilizationMetricReason | null;
|
|
510
|
+
};
|
|
511
|
+
distanceWeightedCube: {
|
|
512
|
+
__typename?: 'MtwUtilizationMetric';
|
|
513
|
+
status: MtwUtilizationMetricStatus;
|
|
514
|
+
percentage?: number | null;
|
|
515
|
+
knownDistanceKm: number;
|
|
516
|
+
unknownSegmentCount: number;
|
|
517
|
+
reason?: MtwUtilizationMetricReason | null;
|
|
518
|
+
};
|
|
519
|
+
segments: Array<{
|
|
520
|
+
__typename?: 'MtwTripUtilizationSegment';
|
|
521
|
+
segmentId: string;
|
|
522
|
+
sequence: number;
|
|
523
|
+
basis: MtwTripUtilizationBasis;
|
|
524
|
+
loadedState: MtwUtilizationLoadedState;
|
|
525
|
+
distanceKm?: number | null;
|
|
526
|
+
payloadKg?: number | null;
|
|
527
|
+
payloadCapacityKg?: number | null;
|
|
528
|
+
cubeM3?: number | null;
|
|
529
|
+
cubeCapacityM3?: number | null;
|
|
530
|
+
weightUtilizationPercentage?: number | null;
|
|
531
|
+
cubeUtilizationPercentage?: number | null;
|
|
532
|
+
warnings: Array<MtwUtilizationWarning>;
|
|
533
|
+
source: {
|
|
534
|
+
__typename?: 'MtwUtilizationSource';
|
|
535
|
+
reference: string;
|
|
536
|
+
revision: string;
|
|
537
|
+
recordedAt: string;
|
|
538
|
+
observedAt?: string | null;
|
|
539
|
+
distanceBasis: MtwUtilizationDistanceBasis;
|
|
540
|
+
loadBasis: MtwUtilizationLoadBasis;
|
|
541
|
+
capacityBasis: MtwUtilizationCapacityBasis;
|
|
542
|
+
};
|
|
543
|
+
}>;
|
|
544
|
+
};
|
|
545
|
+
}>;
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
export type RecordUtilizationReportMutationVariables = Exact<{
|
|
549
|
+
input: RecordMtwTripUtilizationReportInput;
|
|
550
|
+
}>;
|
|
551
|
+
export type RecordUtilizationReportMutation = {
|
|
552
|
+
__typename?: 'Mutation';
|
|
553
|
+
recordMtwTripUtilizationReport: {
|
|
554
|
+
__typename?: 'MtwTripUtilizationReport';
|
|
555
|
+
id: string;
|
|
556
|
+
routeId: string;
|
|
557
|
+
vehicleId: string;
|
|
558
|
+
routeUpdatedAt: string;
|
|
559
|
+
vehicleUpdatedAt: string;
|
|
560
|
+
routeWaypointsFingerprint: string;
|
|
561
|
+
tripId: string;
|
|
562
|
+
basis: MtwTripUtilizationBasis;
|
|
563
|
+
declaredCoverage: MtwTripUtilizationCoverage;
|
|
564
|
+
intervalFrom: string;
|
|
565
|
+
intervalUntil: string;
|
|
566
|
+
schemaVersion: number;
|
|
567
|
+
recordedAt: string;
|
|
568
|
+
createdBy: string;
|
|
569
|
+
actorProvenance: string;
|
|
570
|
+
evidence: Array<{
|
|
571
|
+
__typename?: 'MtwContainerEvidence';
|
|
572
|
+
fileId: string;
|
|
573
|
+
versionId: string;
|
|
574
|
+
sha256Hash: string;
|
|
575
|
+
checkedAt: string;
|
|
576
|
+
}>;
|
|
577
|
+
summary: {
|
|
578
|
+
__typename?: 'MtwTripUtilizationSummary';
|
|
579
|
+
tripId: string;
|
|
580
|
+
basis: MtwTripUtilizationBasis;
|
|
581
|
+
declaredCoverage: MtwTripUtilizationCoverage;
|
|
582
|
+
segmentCount: number;
|
|
583
|
+
unknownFactsSegmentCount: number;
|
|
584
|
+
distanceCoverage: {
|
|
585
|
+
__typename?: 'MtwUtilizationDistanceCoverage';
|
|
586
|
+
knownSegmentCount: number;
|
|
587
|
+
unknownSegmentCount: number;
|
|
588
|
+
knownDistanceKm: number;
|
|
589
|
+
totalDistanceKm?: number | null;
|
|
590
|
+
};
|
|
591
|
+
loadedDistance: {
|
|
592
|
+
__typename?: 'MtwUtilizationMetric';
|
|
593
|
+
status: MtwUtilizationMetricStatus;
|
|
594
|
+
percentage?: number | null;
|
|
595
|
+
knownDistanceKm: number;
|
|
596
|
+
unknownSegmentCount: number;
|
|
597
|
+
reason?: MtwUtilizationMetricReason | null;
|
|
598
|
+
};
|
|
599
|
+
distanceWeightedWeight: {
|
|
600
|
+
__typename?: 'MtwUtilizationMetric';
|
|
601
|
+
status: MtwUtilizationMetricStatus;
|
|
602
|
+
percentage?: number | null;
|
|
603
|
+
knownDistanceKm: number;
|
|
604
|
+
unknownSegmentCount: number;
|
|
605
|
+
reason?: MtwUtilizationMetricReason | null;
|
|
606
|
+
};
|
|
607
|
+
distanceWeightedCube: {
|
|
608
|
+
__typename?: 'MtwUtilizationMetric';
|
|
609
|
+
status: MtwUtilizationMetricStatus;
|
|
610
|
+
percentage?: number | null;
|
|
611
|
+
knownDistanceKm: number;
|
|
612
|
+
unknownSegmentCount: number;
|
|
613
|
+
reason?: MtwUtilizationMetricReason | null;
|
|
614
|
+
};
|
|
615
|
+
segments: Array<{
|
|
616
|
+
__typename?: 'MtwTripUtilizationSegment';
|
|
617
|
+
segmentId: string;
|
|
618
|
+
sequence: number;
|
|
619
|
+
basis: MtwTripUtilizationBasis;
|
|
620
|
+
loadedState: MtwUtilizationLoadedState;
|
|
621
|
+
distanceKm?: number | null;
|
|
622
|
+
payloadKg?: number | null;
|
|
623
|
+
payloadCapacityKg?: number | null;
|
|
624
|
+
cubeM3?: number | null;
|
|
625
|
+
cubeCapacityM3?: number | null;
|
|
626
|
+
weightUtilizationPercentage?: number | null;
|
|
627
|
+
cubeUtilizationPercentage?: number | null;
|
|
628
|
+
warnings: Array<MtwUtilizationWarning>;
|
|
629
|
+
source: {
|
|
630
|
+
__typename?: 'MtwUtilizationSource';
|
|
631
|
+
reference: string;
|
|
632
|
+
revision: string;
|
|
633
|
+
recordedAt: string;
|
|
634
|
+
observedAt?: string | null;
|
|
635
|
+
distanceBasis: MtwUtilizationDistanceBasis;
|
|
636
|
+
loadBasis: MtwUtilizationLoadBasis;
|
|
637
|
+
capacityBasis: MtwUtilizationCapacityBasis;
|
|
638
|
+
};
|
|
639
|
+
}>;
|
|
640
|
+
};
|
|
641
|
+
};
|
|
642
|
+
};
|
|
643
|
+
export declare const UtilizationVehicleFragmentDoc: import('graphql').DocumentNode;
|
|
644
|
+
export declare const UtilizationRouteFragmentDoc: import('graphql').DocumentNode;
|
|
645
|
+
export declare const UtilizationMetricFragmentDoc: import('graphql').DocumentNode;
|
|
646
|
+
export declare const UtilizationReportFragmentDoc: import('graphql').DocumentNode;
|
|
647
|
+
export declare const UtilizationRoutesDocument: import('graphql').DocumentNode;
|
|
648
|
+
export declare const UtilizationCurrentRouteDocument: import('graphql').DocumentNode;
|
|
649
|
+
export declare const UtilizationCurrentVehicleDocument: import('graphql').DocumentNode;
|
|
650
|
+
export declare const UtilizationReportsDocument: import('graphql').DocumentNode;
|
|
651
|
+
export declare const RecordUtilizationReportDocument: import('graphql').DocumentNode;
|