@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,716 @@
|
|
|
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 MtwFreightAmountBasis = 'CALCULATED' | 'SOURCED_FIXED' | 'UNKNOWN';
|
|
67
|
+
export type MtwFreightCategory = 'ACCESSORIAL' | 'BASE_FREIGHT' | 'BROKER' | 'DESTINATION_HANDLING' | 'DUTY_ESTIMATE' | 'FREE_TIME_EXPOSURE' | 'FUEL' | 'INSURANCE' | 'ON_CARRIAGE' | 'ORIGIN_HANDLING' | 'OTHER' | 'PRE_CARRIAGE' | 'TAX_ESTIMATE';
|
|
68
|
+
/** A declared currency/scale convention, not automatic ISO verification. */
|
|
69
|
+
export type MtwFreightCurrency = {
|
|
70
|
+
__typename?: 'MtwFreightCurrency';
|
|
71
|
+
code: Scalars['String']['output'];
|
|
72
|
+
minorUnitDigits: Scalars['Int']['output'];
|
|
73
|
+
};
|
|
74
|
+
export type MtwFreightCurrencyInput = {
|
|
75
|
+
code: Scalars['String']['input'];
|
|
76
|
+
minorUnitDigits: Scalars['Int']['input'];
|
|
77
|
+
};
|
|
78
|
+
export type MtwFreightDisposition = 'ADDITIONAL' | 'EXCLUDED' | 'INCLUDED_IN_LINE' | 'UNKNOWN';
|
|
79
|
+
export type MtwFreightEstimatePage = {
|
|
80
|
+
__typename?: 'MtwFreightEstimatePage';
|
|
81
|
+
hasMore: Scalars['Boolean']['output'];
|
|
82
|
+
items: Array<MtwFreightEstimateVersion>;
|
|
83
|
+
limit: Scalars['Int']['output'];
|
|
84
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
85
|
+
offset: Scalars['Int']['output'];
|
|
86
|
+
total: Scalars['Int']['output'];
|
|
87
|
+
};
|
|
88
|
+
export type MtwFreightEstimateVersion = {
|
|
89
|
+
__typename?: 'MtwFreightEstimateVersion';
|
|
90
|
+
actorProvenance: Scalars['String']['output'];
|
|
91
|
+
createdBy: Scalars['ID']['output'];
|
|
92
|
+
estimateReference: Scalars['String']['output'];
|
|
93
|
+
evidence: Array<MtwContainerEvidence>;
|
|
94
|
+
facts: MtwFreightFacts;
|
|
95
|
+
id: Scalars['ID']['output'];
|
|
96
|
+
onBehalfOf?: Maybe<Scalars['ID']['output']>;
|
|
97
|
+
previousVersionId?: Maybe<Scalars['ID']['output']>;
|
|
98
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
99
|
+
shipmentCapture: MtwFreightShipmentCapture;
|
|
100
|
+
shipmentId: Scalars['ID']['output'];
|
|
101
|
+
totals: MtwFreightPreview;
|
|
102
|
+
/** Validity is informational; this record does not accept a quote or confirm capacity. */
|
|
103
|
+
validityAtRead: Scalars['String']['output'];
|
|
104
|
+
version: Scalars['Int']['output'];
|
|
105
|
+
};
|
|
106
|
+
export type MtwFreightFacts = {
|
|
107
|
+
__typename?: 'MtwFreightFacts';
|
|
108
|
+
commercialScope: Scalars['String']['output'];
|
|
109
|
+
fx: Array<MtwFreightFx>;
|
|
110
|
+
kind: MtwFreightKind;
|
|
111
|
+
lines: Array<MtwFreightLine>;
|
|
112
|
+
pricingAt: Scalars['DateTime']['output'];
|
|
113
|
+
quotedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
114
|
+
reportingCurrency?: Maybe<MtwFreightCurrency>;
|
|
115
|
+
requirements: Array<MtwFreightRequirement>;
|
|
116
|
+
rounding: MtwFreightRounding;
|
|
117
|
+
sourceReference: Scalars['String']['output'];
|
|
118
|
+
sourceRevision: Scalars['String']['output'];
|
|
119
|
+
title: Scalars['String']['output'];
|
|
120
|
+
validFrom?: Maybe<Scalars['DateTime']['output']>;
|
|
121
|
+
validUntil?: Maybe<Scalars['DateTime']['output']>;
|
|
122
|
+
};
|
|
123
|
+
export type MtwFreightFactsInput = {
|
|
124
|
+
commercialScope: Scalars['String']['input'];
|
|
125
|
+
fx: Array<MtwFreightFxInput>;
|
|
126
|
+
kind: MtwFreightKind;
|
|
127
|
+
lines: Array<MtwFreightLineInput>;
|
|
128
|
+
pricingAt: Scalars['DateTime']['input'];
|
|
129
|
+
quotedAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
130
|
+
reportingCurrency?: InputMaybe<MtwFreightCurrencyInput>;
|
|
131
|
+
requirements: Array<MtwFreightRequirementInput>;
|
|
132
|
+
rounding: MtwFreightRounding;
|
|
133
|
+
sourceReference: Scalars['String']['input'];
|
|
134
|
+
sourceRevision: Scalars['String']['input'];
|
|
135
|
+
title: Scalars['String']['input'];
|
|
136
|
+
validFrom?: InputMaybe<Scalars['DateTime']['input']>;
|
|
137
|
+
validUntil?: InputMaybe<Scalars['DateTime']['input']>;
|
|
138
|
+
};
|
|
139
|
+
export type MtwFreightFx = {
|
|
140
|
+
__typename?: 'MtwFreightFx';
|
|
141
|
+
effectiveFrom: Scalars['DateTime']['output'];
|
|
142
|
+
effectiveUntil: Scalars['DateTime']['output'];
|
|
143
|
+
fromCurrency: MtwFreightCurrency;
|
|
144
|
+
observedAt: Scalars['DateTime']['output'];
|
|
145
|
+
rate: Scalars['String']['output'];
|
|
146
|
+
sourceReference: Scalars['String']['output'];
|
|
147
|
+
sourceRevision: Scalars['String']['output'];
|
|
148
|
+
toCurrency: MtwFreightCurrency;
|
|
149
|
+
};
|
|
150
|
+
/** One from-currency major unit equals rate to-currency major units; no implicit inversion. */
|
|
151
|
+
export type MtwFreightFxInput = {
|
|
152
|
+
effectiveFrom: Scalars['DateTime']['input'];
|
|
153
|
+
effectiveUntil: Scalars['DateTime']['input'];
|
|
154
|
+
fromCurrency: MtwFreightCurrencyInput;
|
|
155
|
+
observedAt: Scalars['DateTime']['input'];
|
|
156
|
+
rate: Scalars['String']['input'];
|
|
157
|
+
sourceReference: Scalars['String']['input'];
|
|
158
|
+
sourceRevision: Scalars['String']['input'];
|
|
159
|
+
toCurrency: MtwFreightCurrencyInput;
|
|
160
|
+
};
|
|
161
|
+
export type MtwFreightKind = 'ESTIMATE' | 'QUOTE';
|
|
162
|
+
export type MtwFreightLine = {
|
|
163
|
+
__typename?: 'MtwFreightLine';
|
|
164
|
+
amountBasis: MtwFreightAmountBasis;
|
|
165
|
+
amountMinor?: Maybe<Scalars['String']['output']>;
|
|
166
|
+
category: MtwFreightCategory;
|
|
167
|
+
currency: MtwFreightCurrency;
|
|
168
|
+
description: Scalars['String']['output'];
|
|
169
|
+
disposition: MtwFreightDisposition;
|
|
170
|
+
id: Scalars['ID']['output'];
|
|
171
|
+
inclusionParentLineId?: Maybe<Scalars['ID']['output']>;
|
|
172
|
+
payerLabel?: Maybe<Scalars['String']['output']>;
|
|
173
|
+
payerReference?: Maybe<Scalars['String']['output']>;
|
|
174
|
+
quantity?: Maybe<Scalars['String']['output']>;
|
|
175
|
+
sourceReference?: Maybe<Scalars['String']['output']>;
|
|
176
|
+
sourceRevision?: Maybe<Scalars['String']['output']>;
|
|
177
|
+
unit?: Maybe<Scalars['String']['output']>;
|
|
178
|
+
unitRateMajor?: Maybe<Scalars['String']['output']>;
|
|
179
|
+
zeroReason?: Maybe<Scalars['String']['output']>;
|
|
180
|
+
};
|
|
181
|
+
export type MtwFreightLineInput = {
|
|
182
|
+
amountBasis: MtwFreightAmountBasis;
|
|
183
|
+
amountMinor?: InputMaybe<Scalars['String']['input']>;
|
|
184
|
+
category: MtwFreightCategory;
|
|
185
|
+
currency: MtwFreightCurrencyInput;
|
|
186
|
+
description: Scalars['String']['input'];
|
|
187
|
+
disposition: MtwFreightDisposition;
|
|
188
|
+
id: Scalars['ID']['input'];
|
|
189
|
+
inclusionParentLineId?: InputMaybe<Scalars['ID']['input']>;
|
|
190
|
+
payerLabel?: InputMaybe<Scalars['String']['input']>;
|
|
191
|
+
payerReference?: InputMaybe<Scalars['String']['input']>;
|
|
192
|
+
quantity?: InputMaybe<Scalars['String']['input']>;
|
|
193
|
+
sourceReference?: InputMaybe<Scalars['String']['input']>;
|
|
194
|
+
sourceRevision?: InputMaybe<Scalars['String']['input']>;
|
|
195
|
+
unit?: InputMaybe<Scalars['String']['input']>;
|
|
196
|
+
unitRateMajor?: InputMaybe<Scalars['String']['input']>;
|
|
197
|
+
zeroReason?: InputMaybe<Scalars['String']['input']>;
|
|
198
|
+
};
|
|
199
|
+
export type MtwFreightLineTotal = {
|
|
200
|
+
__typename?: 'MtwFreightLineTotal';
|
|
201
|
+
id: Scalars['ID']['output'];
|
|
202
|
+
nativeAmountMinor?: Maybe<Scalars['String']['output']>;
|
|
203
|
+
reportingAmountMinor?: Maybe<Scalars['String']['output']>;
|
|
204
|
+
roundedToZero: Scalars['Boolean']['output'];
|
|
205
|
+
};
|
|
206
|
+
/** Completeness applies only to the recorded required-charge declarations, not all possible charges. */
|
|
207
|
+
export type MtwFreightPreview = {
|
|
208
|
+
__typename?: 'MtwFreightPreview';
|
|
209
|
+
completeRelativeToDeclarations: Scalars['Boolean']['output'];
|
|
210
|
+
lines: Array<MtwFreightLineTotal>;
|
|
211
|
+
reasons: Array<MtwFreightReason>;
|
|
212
|
+
reportingTotalMinor?: Maybe<Scalars['String']['output']>;
|
|
213
|
+
subtotals: Array<MtwFreightSubtotal>;
|
|
214
|
+
warnings: Array<MtwFreightReason>;
|
|
215
|
+
};
|
|
216
|
+
export type MtwFreightReason = {
|
|
217
|
+
__typename?: 'MtwFreightReason';
|
|
218
|
+
code: Scalars['String']['output'];
|
|
219
|
+
detail: Scalars['String']['output'];
|
|
220
|
+
lineId?: Maybe<Scalars['ID']['output']>;
|
|
221
|
+
};
|
|
222
|
+
export type MtwFreightRequirement = {
|
|
223
|
+
__typename?: 'MtwFreightRequirement';
|
|
224
|
+
category: MtwFreightCategory;
|
|
225
|
+
reason?: Maybe<Scalars['String']['output']>;
|
|
226
|
+
sourceReference?: Maybe<Scalars['String']['output']>;
|
|
227
|
+
sourceRevision?: Maybe<Scalars['String']['output']>;
|
|
228
|
+
status: MtwFreightRequirementStatus;
|
|
229
|
+
};
|
|
230
|
+
export type MtwFreightRequirementInput = {
|
|
231
|
+
category: MtwFreightCategory;
|
|
232
|
+
reason?: InputMaybe<Scalars['String']['input']>;
|
|
233
|
+
sourceReference?: InputMaybe<Scalars['String']['input']>;
|
|
234
|
+
sourceRevision?: InputMaybe<Scalars['String']['input']>;
|
|
235
|
+
status: MtwFreightRequirementStatus;
|
|
236
|
+
};
|
|
237
|
+
export type MtwFreightRequirementStatus = 'NOT_APPLICABLE' | 'REQUIRED' | 'UNKNOWN';
|
|
238
|
+
export type MtwFreightRounding = 'HALF_UP_LINE';
|
|
239
|
+
export type MtwFreightShipmentCapture = {
|
|
240
|
+
__typename?: 'MtwFreightShipmentCapture';
|
|
241
|
+
capturedUpdatedAt: Scalars['DateTime']['output'];
|
|
242
|
+
primaryMode: Scalars['String']['output'];
|
|
243
|
+
shipmentNumber: Scalars['String']['output'];
|
|
244
|
+
};
|
|
245
|
+
export type MtwFreightSubtotal = {
|
|
246
|
+
__typename?: 'MtwFreightSubtotal';
|
|
247
|
+
currency: MtwFreightCurrency;
|
|
248
|
+
knownAmountMinor: Scalars['String']['output'];
|
|
249
|
+
payerLabel?: Maybe<Scalars['String']['output']>;
|
|
250
|
+
payerReference?: Maybe<Scalars['String']['output']>;
|
|
251
|
+
totalAmountMinor?: Maybe<Scalars['String']['output']>;
|
|
252
|
+
};
|
|
253
|
+
export type MtwShipment = {
|
|
254
|
+
__typename?: 'MtwShipment';
|
|
255
|
+
id: Scalars['ID']['output'];
|
|
256
|
+
primaryMode: TransportMode;
|
|
257
|
+
shipmentNumber: Scalars['String']['output'];
|
|
258
|
+
status: ShipmentStatus;
|
|
259
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
260
|
+
};
|
|
261
|
+
export type Mutation = {
|
|
262
|
+
__typename?: 'Mutation';
|
|
263
|
+
saveMtwFreightEstimate: MtwFreightEstimateVersion;
|
|
264
|
+
};
|
|
265
|
+
export type MutationSaveMtwFreightEstimateArgs = {
|
|
266
|
+
input: SaveMtwFreightEstimateInput;
|
|
267
|
+
};
|
|
268
|
+
export type PaginationInput = {
|
|
269
|
+
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
270
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
271
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
272
|
+
};
|
|
273
|
+
export type Query = {
|
|
274
|
+
__typename?: 'Query';
|
|
275
|
+
mtwFreightEstimatePage: MtwFreightEstimatePage;
|
|
276
|
+
mtwFreightEstimateVersion: MtwFreightEstimateVersion;
|
|
277
|
+
previewMtwFreightTotal: MtwFreightPreview;
|
|
278
|
+
shipment?: Maybe<MtwShipment>;
|
|
279
|
+
shipments: Array<MtwShipment>;
|
|
280
|
+
shipmentsCount: Scalars['Int']['output'];
|
|
281
|
+
};
|
|
282
|
+
export type QueryMtwFreightEstimatePageArgs = {
|
|
283
|
+
estimateReference?: InputMaybe<Scalars['String']['input']>;
|
|
284
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
285
|
+
shipmentId: Scalars['ID']['input'];
|
|
286
|
+
};
|
|
287
|
+
export type QueryMtwFreightEstimateVersionArgs = {
|
|
288
|
+
id: Scalars['ID']['input'];
|
|
289
|
+
shipmentId: Scalars['ID']['input'];
|
|
290
|
+
};
|
|
291
|
+
export type QueryPreviewMtwFreightTotalArgs = {
|
|
292
|
+
input: MtwFreightFactsInput;
|
|
293
|
+
};
|
|
294
|
+
export type QueryShipmentArgs = {
|
|
295
|
+
id: Scalars['ID']['input'];
|
|
296
|
+
};
|
|
297
|
+
export type QueryShipmentsArgs = {
|
|
298
|
+
filter?: InputMaybe<ShipmentFilterInput>;
|
|
299
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
300
|
+
};
|
|
301
|
+
export type QueryShipmentsCountArgs = {
|
|
302
|
+
filter?: InputMaybe<ShipmentFilterInput>;
|
|
303
|
+
};
|
|
304
|
+
export type SaveMtwFreightEstimateInput = {
|
|
305
|
+
estimateReference: Scalars['String']['input'];
|
|
306
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
307
|
+
expectedPreviousVersionId?: InputMaybe<Scalars['ID']['input']>;
|
|
308
|
+
expectedShipmentUpdatedAt: Scalars['DateTime']['input'];
|
|
309
|
+
expectedVersion: Scalars['Int']['input'];
|
|
310
|
+
facts: MtwFreightFactsInput;
|
|
311
|
+
idempotencyKey: Scalars['String']['input'];
|
|
312
|
+
shipmentId: Scalars['ID']['input'];
|
|
313
|
+
};
|
|
314
|
+
export type ShipmentFilterInput = {
|
|
315
|
+
carrierId?: InputMaybe<Scalars['ID']['input']>;
|
|
316
|
+
customerId?: InputMaybe<Scalars['ID']['input']>;
|
|
317
|
+
deliveryJobId?: InputMaybe<Scalars['ID']['input']>;
|
|
318
|
+
driverId?: InputMaybe<Scalars['ID']['input']>;
|
|
319
|
+
isMultiModal?: InputMaybe<Scalars['Boolean']['input']>;
|
|
320
|
+
primaryMode?: InputMaybe<TransportMode>;
|
|
321
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
322
|
+
status?: InputMaybe<ShipmentStatus>;
|
|
323
|
+
storeOrderId?: InputMaybe<Scalars['ID']['input']>;
|
|
324
|
+
vehicleId?: InputMaybe<Scalars['ID']['input']>;
|
|
325
|
+
};
|
|
326
|
+
export type ShipmentStatus = 'DELIVERED' | 'FAILED' | 'IN_TRANSIT' | 'PICKED_UP' | 'PLANNED' | 'RETURNED';
|
|
327
|
+
export type TransportMode = 'AIR' | 'OCEAN' | 'RAIL' | 'ROAD';
|
|
328
|
+
export type FreightShipmentsQueryVariables = Exact<{
|
|
329
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
330
|
+
}>;
|
|
331
|
+
export type FreightShipmentsQuery = {
|
|
332
|
+
__typename?: 'Query';
|
|
333
|
+
shipmentsCount: number;
|
|
334
|
+
shipments: Array<{
|
|
335
|
+
__typename?: 'MtwShipment';
|
|
336
|
+
id: string;
|
|
337
|
+
shipmentNumber: string;
|
|
338
|
+
primaryMode: TransportMode;
|
|
339
|
+
updatedAt: string;
|
|
340
|
+
status: ShipmentStatus;
|
|
341
|
+
}>;
|
|
342
|
+
};
|
|
343
|
+
export type FreightShipmentQueryVariables = Exact<{
|
|
344
|
+
id: Scalars['ID']['input'];
|
|
345
|
+
}>;
|
|
346
|
+
export type FreightShipmentQuery = {
|
|
347
|
+
__typename?: 'Query';
|
|
348
|
+
shipment?: {
|
|
349
|
+
__typename?: 'MtwShipment';
|
|
350
|
+
id: string;
|
|
351
|
+
shipmentNumber: string;
|
|
352
|
+
primaryMode: TransportMode;
|
|
353
|
+
updatedAt: string;
|
|
354
|
+
status: ShipmentStatus;
|
|
355
|
+
} | null;
|
|
356
|
+
};
|
|
357
|
+
export type FreightHistoryQueryVariables = Exact<{
|
|
358
|
+
shipmentId: Scalars['ID']['input'];
|
|
359
|
+
estimateReference?: InputMaybe<Scalars['String']['input']>;
|
|
360
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
361
|
+
}>;
|
|
362
|
+
export type FreightHistoryQuery = {
|
|
363
|
+
__typename?: 'Query';
|
|
364
|
+
mtwFreightEstimatePage: {
|
|
365
|
+
__typename?: 'MtwFreightEstimatePage';
|
|
366
|
+
total: number;
|
|
367
|
+
limit: number;
|
|
368
|
+
offset: number;
|
|
369
|
+
hasMore: boolean;
|
|
370
|
+
nextOffset?: number | null;
|
|
371
|
+
items: Array<{
|
|
372
|
+
__typename?: 'MtwFreightEstimateVersion';
|
|
373
|
+
id: string;
|
|
374
|
+
shipmentId: string;
|
|
375
|
+
estimateReference: string;
|
|
376
|
+
version: number;
|
|
377
|
+
previousVersionId?: string | null;
|
|
378
|
+
recordedAt: string;
|
|
379
|
+
createdBy: string;
|
|
380
|
+
actorProvenance: string;
|
|
381
|
+
validityAtRead: string;
|
|
382
|
+
shipmentCapture: {
|
|
383
|
+
__typename?: 'MtwFreightShipmentCapture';
|
|
384
|
+
shipmentNumber: string;
|
|
385
|
+
primaryMode: string;
|
|
386
|
+
capturedUpdatedAt: string;
|
|
387
|
+
};
|
|
388
|
+
facts: {
|
|
389
|
+
__typename?: 'MtwFreightFacts';
|
|
390
|
+
title: string;
|
|
391
|
+
kind: MtwFreightKind;
|
|
392
|
+
};
|
|
393
|
+
}>;
|
|
394
|
+
};
|
|
395
|
+
};
|
|
396
|
+
export type FreightVersionQueryVariables = Exact<{
|
|
397
|
+
shipmentId: Scalars['ID']['input'];
|
|
398
|
+
id: Scalars['ID']['input'];
|
|
399
|
+
}>;
|
|
400
|
+
export type FreightVersionQuery = {
|
|
401
|
+
__typename?: 'Query';
|
|
402
|
+
mtwFreightEstimateVersion: {
|
|
403
|
+
__typename?: 'MtwFreightEstimateVersion';
|
|
404
|
+
id: string;
|
|
405
|
+
shipmentId: string;
|
|
406
|
+
estimateReference: string;
|
|
407
|
+
version: number;
|
|
408
|
+
previousVersionId?: string | null;
|
|
409
|
+
recordedAt: string;
|
|
410
|
+
createdBy: string;
|
|
411
|
+
actorProvenance: string;
|
|
412
|
+
onBehalfOf?: string | null;
|
|
413
|
+
validityAtRead: string;
|
|
414
|
+
shipmentCapture: {
|
|
415
|
+
__typename?: 'MtwFreightShipmentCapture';
|
|
416
|
+
shipmentNumber: string;
|
|
417
|
+
primaryMode: string;
|
|
418
|
+
capturedUpdatedAt: string;
|
|
419
|
+
};
|
|
420
|
+
facts: {
|
|
421
|
+
__typename?: 'MtwFreightFacts';
|
|
422
|
+
kind: MtwFreightKind;
|
|
423
|
+
title: string;
|
|
424
|
+
commercialScope: string;
|
|
425
|
+
sourceReference: string;
|
|
426
|
+
sourceRevision: string;
|
|
427
|
+
pricingAt: string;
|
|
428
|
+
quotedAt?: string | null;
|
|
429
|
+
validFrom?: string | null;
|
|
430
|
+
validUntil?: string | null;
|
|
431
|
+
rounding: MtwFreightRounding;
|
|
432
|
+
reportingCurrency?: {
|
|
433
|
+
__typename?: 'MtwFreightCurrency';
|
|
434
|
+
code: string;
|
|
435
|
+
minorUnitDigits: number;
|
|
436
|
+
} | null;
|
|
437
|
+
lines: Array<{
|
|
438
|
+
__typename?: 'MtwFreightLine';
|
|
439
|
+
id: string;
|
|
440
|
+
category: MtwFreightCategory;
|
|
441
|
+
description: string;
|
|
442
|
+
payerReference?: string | null;
|
|
443
|
+
payerLabel?: string | null;
|
|
444
|
+
disposition: MtwFreightDisposition;
|
|
445
|
+
inclusionParentLineId?: string | null;
|
|
446
|
+
amountBasis: MtwFreightAmountBasis;
|
|
447
|
+
quantity?: string | null;
|
|
448
|
+
unit?: string | null;
|
|
449
|
+
unitRateMajor?: string | null;
|
|
450
|
+
amountMinor?: string | null;
|
|
451
|
+
zeroReason?: string | null;
|
|
452
|
+
sourceReference?: string | null;
|
|
453
|
+
sourceRevision?: string | null;
|
|
454
|
+
currency: {
|
|
455
|
+
__typename?: 'MtwFreightCurrency';
|
|
456
|
+
code: string;
|
|
457
|
+
minorUnitDigits: number;
|
|
458
|
+
};
|
|
459
|
+
}>;
|
|
460
|
+
requirements: Array<{
|
|
461
|
+
__typename?: 'MtwFreightRequirement';
|
|
462
|
+
category: MtwFreightCategory;
|
|
463
|
+
status: MtwFreightRequirementStatus;
|
|
464
|
+
reason?: string | null;
|
|
465
|
+
sourceReference?: string | null;
|
|
466
|
+
sourceRevision?: string | null;
|
|
467
|
+
}>;
|
|
468
|
+
fx: Array<{
|
|
469
|
+
__typename?: 'MtwFreightFx';
|
|
470
|
+
rate: string;
|
|
471
|
+
observedAt: string;
|
|
472
|
+
effectiveFrom: string;
|
|
473
|
+
effectiveUntil: string;
|
|
474
|
+
sourceReference: string;
|
|
475
|
+
sourceRevision: string;
|
|
476
|
+
fromCurrency: {
|
|
477
|
+
__typename?: 'MtwFreightCurrency';
|
|
478
|
+
code: string;
|
|
479
|
+
minorUnitDigits: number;
|
|
480
|
+
};
|
|
481
|
+
toCurrency: {
|
|
482
|
+
__typename?: 'MtwFreightCurrency';
|
|
483
|
+
code: string;
|
|
484
|
+
minorUnitDigits: number;
|
|
485
|
+
};
|
|
486
|
+
}>;
|
|
487
|
+
};
|
|
488
|
+
totals: {
|
|
489
|
+
__typename?: 'MtwFreightPreview';
|
|
490
|
+
completeRelativeToDeclarations: boolean;
|
|
491
|
+
reportingTotalMinor?: string | null;
|
|
492
|
+
subtotals: Array<{
|
|
493
|
+
__typename?: 'MtwFreightSubtotal';
|
|
494
|
+
payerReference?: string | null;
|
|
495
|
+
payerLabel?: string | null;
|
|
496
|
+
knownAmountMinor: string;
|
|
497
|
+
totalAmountMinor?: string | null;
|
|
498
|
+
currency: {
|
|
499
|
+
__typename?: 'MtwFreightCurrency';
|
|
500
|
+
code: string;
|
|
501
|
+
minorUnitDigits: number;
|
|
502
|
+
};
|
|
503
|
+
}>;
|
|
504
|
+
lines: Array<{
|
|
505
|
+
__typename?: 'MtwFreightLineTotal';
|
|
506
|
+
id: string;
|
|
507
|
+
nativeAmountMinor?: string | null;
|
|
508
|
+
reportingAmountMinor?: string | null;
|
|
509
|
+
roundedToZero: boolean;
|
|
510
|
+
}>;
|
|
511
|
+
reasons: Array<{
|
|
512
|
+
__typename?: 'MtwFreightReason';
|
|
513
|
+
code: string;
|
|
514
|
+
lineId?: string | null;
|
|
515
|
+
detail: string;
|
|
516
|
+
}>;
|
|
517
|
+
warnings: Array<{
|
|
518
|
+
__typename?: 'MtwFreightReason';
|
|
519
|
+
code: string;
|
|
520
|
+
lineId?: string | null;
|
|
521
|
+
detail: string;
|
|
522
|
+
}>;
|
|
523
|
+
};
|
|
524
|
+
evidence: Array<{
|
|
525
|
+
__typename?: 'MtwContainerEvidence';
|
|
526
|
+
fileId: string;
|
|
527
|
+
versionId: string;
|
|
528
|
+
sha256Hash: string;
|
|
529
|
+
checkedAt: string;
|
|
530
|
+
}>;
|
|
531
|
+
};
|
|
532
|
+
};
|
|
533
|
+
export type PreviewFreightCostsQueryVariables = Exact<{
|
|
534
|
+
input: MtwFreightFactsInput;
|
|
535
|
+
}>;
|
|
536
|
+
export type PreviewFreightCostsQuery = {
|
|
537
|
+
__typename?: 'Query';
|
|
538
|
+
previewMtwFreightTotal: {
|
|
539
|
+
__typename?: 'MtwFreightPreview';
|
|
540
|
+
completeRelativeToDeclarations: boolean;
|
|
541
|
+
reportingTotalMinor?: string | null;
|
|
542
|
+
subtotals: Array<{
|
|
543
|
+
__typename?: 'MtwFreightSubtotal';
|
|
544
|
+
payerReference?: string | null;
|
|
545
|
+
payerLabel?: string | null;
|
|
546
|
+
knownAmountMinor: string;
|
|
547
|
+
totalAmountMinor?: string | null;
|
|
548
|
+
currency: {
|
|
549
|
+
__typename?: 'MtwFreightCurrency';
|
|
550
|
+
code: string;
|
|
551
|
+
minorUnitDigits: number;
|
|
552
|
+
};
|
|
553
|
+
}>;
|
|
554
|
+
lines: Array<{
|
|
555
|
+
__typename?: 'MtwFreightLineTotal';
|
|
556
|
+
id: string;
|
|
557
|
+
nativeAmountMinor?: string | null;
|
|
558
|
+
reportingAmountMinor?: string | null;
|
|
559
|
+
roundedToZero: boolean;
|
|
560
|
+
}>;
|
|
561
|
+
reasons: Array<{
|
|
562
|
+
__typename?: 'MtwFreightReason';
|
|
563
|
+
code: string;
|
|
564
|
+
lineId?: string | null;
|
|
565
|
+
detail: string;
|
|
566
|
+
}>;
|
|
567
|
+
warnings: Array<{
|
|
568
|
+
__typename?: 'MtwFreightReason';
|
|
569
|
+
code: string;
|
|
570
|
+
lineId?: string | null;
|
|
571
|
+
detail: string;
|
|
572
|
+
}>;
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
export type SaveFreightCostsMutationVariables = Exact<{
|
|
576
|
+
input: SaveMtwFreightEstimateInput;
|
|
577
|
+
}>;
|
|
578
|
+
export type SaveFreightCostsMutation = {
|
|
579
|
+
__typename?: 'Mutation';
|
|
580
|
+
saveMtwFreightEstimate: {
|
|
581
|
+
__typename?: 'MtwFreightEstimateVersion';
|
|
582
|
+
id: string;
|
|
583
|
+
shipmentId: string;
|
|
584
|
+
estimateReference: string;
|
|
585
|
+
version: number;
|
|
586
|
+
previousVersionId?: string | null;
|
|
587
|
+
recordedAt: string;
|
|
588
|
+
createdBy: string;
|
|
589
|
+
actorProvenance: string;
|
|
590
|
+
onBehalfOf?: string | null;
|
|
591
|
+
validityAtRead: string;
|
|
592
|
+
shipmentCapture: {
|
|
593
|
+
__typename?: 'MtwFreightShipmentCapture';
|
|
594
|
+
shipmentNumber: string;
|
|
595
|
+
primaryMode: string;
|
|
596
|
+
capturedUpdatedAt: string;
|
|
597
|
+
};
|
|
598
|
+
facts: {
|
|
599
|
+
__typename?: 'MtwFreightFacts';
|
|
600
|
+
kind: MtwFreightKind;
|
|
601
|
+
title: string;
|
|
602
|
+
commercialScope: string;
|
|
603
|
+
sourceReference: string;
|
|
604
|
+
sourceRevision: string;
|
|
605
|
+
pricingAt: string;
|
|
606
|
+
quotedAt?: string | null;
|
|
607
|
+
validFrom?: string | null;
|
|
608
|
+
validUntil?: string | null;
|
|
609
|
+
rounding: MtwFreightRounding;
|
|
610
|
+
reportingCurrency?: {
|
|
611
|
+
__typename?: 'MtwFreightCurrency';
|
|
612
|
+
code: string;
|
|
613
|
+
minorUnitDigits: number;
|
|
614
|
+
} | null;
|
|
615
|
+
lines: Array<{
|
|
616
|
+
__typename?: 'MtwFreightLine';
|
|
617
|
+
id: string;
|
|
618
|
+
category: MtwFreightCategory;
|
|
619
|
+
description: string;
|
|
620
|
+
payerReference?: string | null;
|
|
621
|
+
payerLabel?: string | null;
|
|
622
|
+
disposition: MtwFreightDisposition;
|
|
623
|
+
inclusionParentLineId?: string | null;
|
|
624
|
+
amountBasis: MtwFreightAmountBasis;
|
|
625
|
+
quantity?: string | null;
|
|
626
|
+
unit?: string | null;
|
|
627
|
+
unitRateMajor?: string | null;
|
|
628
|
+
amountMinor?: string | null;
|
|
629
|
+
zeroReason?: string | null;
|
|
630
|
+
sourceReference?: string | null;
|
|
631
|
+
sourceRevision?: string | null;
|
|
632
|
+
currency: {
|
|
633
|
+
__typename?: 'MtwFreightCurrency';
|
|
634
|
+
code: string;
|
|
635
|
+
minorUnitDigits: number;
|
|
636
|
+
};
|
|
637
|
+
}>;
|
|
638
|
+
requirements: Array<{
|
|
639
|
+
__typename?: 'MtwFreightRequirement';
|
|
640
|
+
category: MtwFreightCategory;
|
|
641
|
+
status: MtwFreightRequirementStatus;
|
|
642
|
+
reason?: string | null;
|
|
643
|
+
sourceReference?: string | null;
|
|
644
|
+
sourceRevision?: string | null;
|
|
645
|
+
}>;
|
|
646
|
+
fx: Array<{
|
|
647
|
+
__typename?: 'MtwFreightFx';
|
|
648
|
+
rate: string;
|
|
649
|
+
observedAt: string;
|
|
650
|
+
effectiveFrom: string;
|
|
651
|
+
effectiveUntil: string;
|
|
652
|
+
sourceReference: string;
|
|
653
|
+
sourceRevision: string;
|
|
654
|
+
fromCurrency: {
|
|
655
|
+
__typename?: 'MtwFreightCurrency';
|
|
656
|
+
code: string;
|
|
657
|
+
minorUnitDigits: number;
|
|
658
|
+
};
|
|
659
|
+
toCurrency: {
|
|
660
|
+
__typename?: 'MtwFreightCurrency';
|
|
661
|
+
code: string;
|
|
662
|
+
minorUnitDigits: number;
|
|
663
|
+
};
|
|
664
|
+
}>;
|
|
665
|
+
};
|
|
666
|
+
totals: {
|
|
667
|
+
__typename?: 'MtwFreightPreview';
|
|
668
|
+
completeRelativeToDeclarations: boolean;
|
|
669
|
+
reportingTotalMinor?: string | null;
|
|
670
|
+
subtotals: Array<{
|
|
671
|
+
__typename?: 'MtwFreightSubtotal';
|
|
672
|
+
payerReference?: string | null;
|
|
673
|
+
payerLabel?: string | null;
|
|
674
|
+
knownAmountMinor: string;
|
|
675
|
+
totalAmountMinor?: string | null;
|
|
676
|
+
currency: {
|
|
677
|
+
__typename?: 'MtwFreightCurrency';
|
|
678
|
+
code: string;
|
|
679
|
+
minorUnitDigits: number;
|
|
680
|
+
};
|
|
681
|
+
}>;
|
|
682
|
+
lines: Array<{
|
|
683
|
+
__typename?: 'MtwFreightLineTotal';
|
|
684
|
+
id: string;
|
|
685
|
+
nativeAmountMinor?: string | null;
|
|
686
|
+
reportingAmountMinor?: string | null;
|
|
687
|
+
roundedToZero: boolean;
|
|
688
|
+
}>;
|
|
689
|
+
reasons: Array<{
|
|
690
|
+
__typename?: 'MtwFreightReason';
|
|
691
|
+
code: string;
|
|
692
|
+
lineId?: string | null;
|
|
693
|
+
detail: string;
|
|
694
|
+
}>;
|
|
695
|
+
warnings: Array<{
|
|
696
|
+
__typename?: 'MtwFreightReason';
|
|
697
|
+
code: string;
|
|
698
|
+
lineId?: string | null;
|
|
699
|
+
detail: string;
|
|
700
|
+
}>;
|
|
701
|
+
};
|
|
702
|
+
evidence: Array<{
|
|
703
|
+
__typename?: 'MtwContainerEvidence';
|
|
704
|
+
fileId: string;
|
|
705
|
+
versionId: string;
|
|
706
|
+
sha256Hash: string;
|
|
707
|
+
checkedAt: string;
|
|
708
|
+
}>;
|
|
709
|
+
};
|
|
710
|
+
};
|
|
711
|
+
export declare const FreightShipmentsDocument: import('graphql').DocumentNode;
|
|
712
|
+
export declare const FreightShipmentDocument: import('graphql').DocumentNode;
|
|
713
|
+
export declare const FreightHistoryDocument: import('graphql').DocumentNode;
|
|
714
|
+
export declare const FreightVersionDocument: import('graphql').DocumentNode;
|
|
715
|
+
export declare const PreviewFreightCostsDocument: import('graphql').DocumentNode;
|
|
716
|
+
export declare const SaveFreightCostsDocument: import('graphql').DocumentNode;
|