@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,1578 @@
|
|
|
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
|
+
JSON: {
|
|
49
|
+
input: unknown;
|
|
50
|
+
output: unknown;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export type AcceptMtwReuseReservationInput = {
|
|
54
|
+
approvalId: Scalars['ID']['input'];
|
|
55
|
+
expectedCycleVersion: Scalars['Int']['input'];
|
|
56
|
+
expectedProposalRevision: Scalars['Int']['input'];
|
|
57
|
+
idempotencyKey: Scalars['String']['input'];
|
|
58
|
+
proposalId: Scalars['ID']['input'];
|
|
59
|
+
};
|
|
60
|
+
export type MtwContainer = {
|
|
61
|
+
__typename?: 'MtwContainer';
|
|
62
|
+
containerNumber: Scalars['String']['output'];
|
|
63
|
+
createdAt: Scalars['DateTime']['output'];
|
|
64
|
+
equipmentType: MtwEquipmentType;
|
|
65
|
+
id: Scalars['ID']['output'];
|
|
66
|
+
ownerName?: Maybe<Scalars['String']['output']>;
|
|
67
|
+
source: Scalars['String']['output'];
|
|
68
|
+
suppliedContainerNumber: Scalars['String']['output'];
|
|
69
|
+
};
|
|
70
|
+
export type MtwContainerCargoCategory = 'DANGEROUS' | 'DRY' | 'FOOD_GRADE' | 'PEST' | 'REEFER';
|
|
71
|
+
export type MtwContainerCycle = {
|
|
72
|
+
__typename?: 'MtwContainerCycle';
|
|
73
|
+
bookingReference?: Maybe<Scalars['String']['output']>;
|
|
74
|
+
closedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
75
|
+
containerId: Scalars['ID']['output'];
|
|
76
|
+
createdAt: Scalars['DateTime']['output'];
|
|
77
|
+
id: Scalars['ID']['output'];
|
|
78
|
+
openedAt: Scalars['DateTime']['output'];
|
|
79
|
+
shipmentId?: Maybe<Scalars['ID']['output']>;
|
|
80
|
+
status: MtwContainerCycleStatus;
|
|
81
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
82
|
+
version: Scalars['Int']['output'];
|
|
83
|
+
};
|
|
84
|
+
export type MtwContainerCyclePage = {
|
|
85
|
+
__typename?: 'MtwContainerCyclePage';
|
|
86
|
+
hasMore: Scalars['Boolean']['output'];
|
|
87
|
+
items: Array<MtwContainerCycle>;
|
|
88
|
+
limit: Scalars['Int']['output'];
|
|
89
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
90
|
+
offset: Scalars['Int']['output'];
|
|
91
|
+
total: Scalars['Int']['output'];
|
|
92
|
+
};
|
|
93
|
+
export type MtwContainerCycleStatus = 'CLOSED' | 'OPEN';
|
|
94
|
+
/** Append-only sourced observation. Planned/estimated observations never establish custody. */
|
|
95
|
+
export type MtwContainerEvent = {
|
|
96
|
+
__typename?: 'MtwContainerEvent';
|
|
97
|
+
actorId: Scalars['ID']['output'];
|
|
98
|
+
cycleId: Scalars['ID']['output'];
|
|
99
|
+
eventType: MtwContainerEventType;
|
|
100
|
+
evidenceNote?: Maybe<Scalars['String']['output']>;
|
|
101
|
+
id: Scalars['ID']['output'];
|
|
102
|
+
idempotencyKey: Scalars['String']['output'];
|
|
103
|
+
kind: MtwContainerEventKind;
|
|
104
|
+
location?: Maybe<Scalars['String']['output']>;
|
|
105
|
+
occurredAt: Scalars['DateTime']['output'];
|
|
106
|
+
receivedAt: Scalars['DateTime']['output'];
|
|
107
|
+
source: Scalars['String']['output'];
|
|
108
|
+
sourceReference?: Maybe<Scalars['String']['output']>;
|
|
109
|
+
};
|
|
110
|
+
export type MtwContainerEventKind = 'ACTUAL' | 'ESTIMATED' | 'PLANNED';
|
|
111
|
+
export type MtwContainerEventPage = {
|
|
112
|
+
__typename?: 'MtwContainerEventPage';
|
|
113
|
+
hasMore: Scalars['Boolean']['output'];
|
|
114
|
+
items: Array<MtwContainerEvent>;
|
|
115
|
+
limit: Scalars['Int']['output'];
|
|
116
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
117
|
+
offset: Scalars['Int']['output'];
|
|
118
|
+
total: Scalars['Int']['output'];
|
|
119
|
+
};
|
|
120
|
+
export type MtwContainerEventType = 'AVAILABLE_FOR_PICKUP' | 'DELIVERED' | 'DISCHARGED' | 'EMPTY_READY' | 'EMPTY_RETURNED' | 'GATE_IN' | 'GATE_OUT' | 'LOADED' | 'POSITION_UPDATE' | 'RETURN_ACCEPTED' | 'RETURN_REQUESTED';
|
|
121
|
+
/** Bounded audit snapshot of at most 10 exact evidence versions. */
|
|
122
|
+
export type MtwContainerEvidence = {
|
|
123
|
+
__typename?: 'MtwContainerEvidence';
|
|
124
|
+
checkedAt: Scalars['DateTime']['output'];
|
|
125
|
+
fileId: Scalars['ID']['output'];
|
|
126
|
+
sha256Hash: Scalars['String']['output'];
|
|
127
|
+
versionId: Scalars['ID']['output'];
|
|
128
|
+
};
|
|
129
|
+
/** Exact shared Files version. The fingerprint establishes integrity, not issuer authenticity. */
|
|
130
|
+
export type MtwContainerEvidenceInput = {
|
|
131
|
+
fileId: Scalars['ID']['input'];
|
|
132
|
+
versionId: Scalars['ID']['input'];
|
|
133
|
+
};
|
|
134
|
+
/** Recorded operational examination scheme; this service does not issue CSC approval. */
|
|
135
|
+
export type MtwContainerExaminationScheme = 'ACEP' | 'PES';
|
|
136
|
+
export type MtwContainerInspection = {
|
|
137
|
+
__typename?: 'MtwContainerInspection';
|
|
138
|
+
acepReference?: Maybe<Scalars['String']['output']>;
|
|
139
|
+
cargoCategory: MtwContainerCargoCategory;
|
|
140
|
+
containerId: Scalars['ID']['output'];
|
|
141
|
+
cscPlateVersionId?: Maybe<Scalars['ID']['output']>;
|
|
142
|
+
defectCount: Scalars['Int']['output'];
|
|
143
|
+
evidence: Array<MtwContainerEvidence>;
|
|
144
|
+
examinationScheme: MtwContainerExaminationScheme;
|
|
145
|
+
examinationVersionId?: Maybe<Scalars['ID']['output']>;
|
|
146
|
+
id: Scalars['ID']['output'];
|
|
147
|
+
inspectedAt: Scalars['DateTime']['output'];
|
|
148
|
+
inspectorActorId: Scalars['ID']['output'];
|
|
149
|
+
nextExaminationAt?: Maybe<Scalars['DateTime']['output']>;
|
|
150
|
+
receivedAt: Scalars['DateTime']['output'];
|
|
151
|
+
resolvedDefectIds: Array<Scalars['ID']['output']>;
|
|
152
|
+
severeDefectCount: Scalars['Int']['output'];
|
|
153
|
+
suitability: MtwContainerSuitability;
|
|
154
|
+
templateVersion: Scalars['String']['output'];
|
|
155
|
+
};
|
|
156
|
+
export type MtwContainerInspectionPage = {
|
|
157
|
+
__typename?: 'MtwContainerInspectionPage';
|
|
158
|
+
hasMore: Scalars['Boolean']['output'];
|
|
159
|
+
items: Array<MtwContainerInspection>;
|
|
160
|
+
limit: Scalars['Int']['output'];
|
|
161
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
162
|
+
offset: Scalars['Int']['output'];
|
|
163
|
+
total: Scalars['Int']['output'];
|
|
164
|
+
};
|
|
165
|
+
export type MtwContainerPage = {
|
|
166
|
+
__typename?: 'MtwContainerPage';
|
|
167
|
+
hasMore: Scalars['Boolean']['output'];
|
|
168
|
+
items: Array<MtwContainer>;
|
|
169
|
+
limit: Scalars['Int']['output'];
|
|
170
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
171
|
+
offset: Scalars['Int']['output'];
|
|
172
|
+
total: Scalars['Int']['output'];
|
|
173
|
+
};
|
|
174
|
+
export type MtwContainerPagination = {
|
|
175
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
176
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
177
|
+
};
|
|
178
|
+
export type MtwContainerQualificationScope = 'ACEP_EXAMINATION' | 'DANGEROUS_CARGO' | 'DRY_CARGO' | 'FOOD_GRADE_CARGO' | 'PEST_CARGO' | 'PES_EXAMINATION' | 'REEFER_CARGO';
|
|
179
|
+
export type MtwContainerQualificationStatus = 'HUMAN_REVIEWED' | 'REVOKED' | 'SUBMITTED';
|
|
180
|
+
export type MtwContainerSuitability = 'ACCEPTABLE' | 'REJECTED' | 'REVIEW_REQUIRED';
|
|
181
|
+
/** Sourced immutable empty-return instructions. Reuse approval never fabricates a depot return. */
|
|
182
|
+
export type MtwEmptyReturnInstruction = {
|
|
183
|
+
__typename?: 'MtwEmptyReturnInstruction';
|
|
184
|
+
bookingReference: Scalars['String']['output'];
|
|
185
|
+
changeReason: Scalars['String']['output'];
|
|
186
|
+
createdBy: Scalars['ID']['output'];
|
|
187
|
+
cycleId: Scalars['ID']['output'];
|
|
188
|
+
depotReference: Scalars['String']['output'];
|
|
189
|
+
effectiveAt: Scalars['DateTime']['output'];
|
|
190
|
+
evidence: Array<MtwContainerEvidence>;
|
|
191
|
+
id: Scalars['ID']['output'];
|
|
192
|
+
locationReference: Scalars['String']['output'];
|
|
193
|
+
ownerReference: Scalars['String']['output'];
|
|
194
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
195
|
+
returnFrom: Scalars['DateTime']['output'];
|
|
196
|
+
returnUntil: Scalars['DateTime']['output'];
|
|
197
|
+
sourceReference: Scalars['String']['output'];
|
|
198
|
+
supersedesInstructionId?: Maybe<Scalars['ID']['output']>;
|
|
199
|
+
version: Scalars['Int']['output'];
|
|
200
|
+
};
|
|
201
|
+
export type MtwEmptyReturnInstructionPage = {
|
|
202
|
+
__typename?: 'MtwEmptyReturnInstructionPage';
|
|
203
|
+
hasMore: Scalars['Boolean']['output'];
|
|
204
|
+
items: Array<MtwEmptyReturnInstruction>;
|
|
205
|
+
limit: Scalars['Int']['output'];
|
|
206
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
207
|
+
offset: Scalars['Int']['output'];
|
|
208
|
+
total: Scalars['Int']['output'];
|
|
209
|
+
};
|
|
210
|
+
/** Operator-recorded external permission history; never a dispatcher reservation or external identity certificate. */
|
|
211
|
+
export type MtwEquipmentReuseApproval = {
|
|
212
|
+
__typename?: 'MtwEquipmentReuseApproval';
|
|
213
|
+
approvalId?: Maybe<Scalars['ID']['output']>;
|
|
214
|
+
counterpartyReference: Scalars['String']['output'];
|
|
215
|
+
createdBy: Scalars['ID']['output'];
|
|
216
|
+
evidence: Array<MtwContainerEvidence>;
|
|
217
|
+
id: Scalars['ID']['output'];
|
|
218
|
+
kind: MtwReuseApprovalKind;
|
|
219
|
+
note: Scalars['String']['output'];
|
|
220
|
+
proposalId: Scalars['ID']['output'];
|
|
221
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
222
|
+
sourceReference: Scalars['String']['output'];
|
|
223
|
+
validFrom?: Maybe<Scalars['DateTime']['output']>;
|
|
224
|
+
validUntil?: Maybe<Scalars['DateTime']['output']>;
|
|
225
|
+
};
|
|
226
|
+
export type MtwEquipmentReuseApprovalPage = {
|
|
227
|
+
__typename?: 'MtwEquipmentReuseApprovalPage';
|
|
228
|
+
hasMore: Scalars['Boolean']['output'];
|
|
229
|
+
items: Array<MtwEquipmentReuseApproval>;
|
|
230
|
+
limit: Scalars['Int']['output'];
|
|
231
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
232
|
+
offset: Scalars['Int']['output'];
|
|
233
|
+
total: Scalars['Int']['output'];
|
|
234
|
+
};
|
|
235
|
+
/** Physical equipment; LCL is a freight service, not an equipment type. */
|
|
236
|
+
export type MtwEquipmentType = 'DRY_20' | 'DRY_40' | 'FLAT_RACK' | 'HIGH_CUBE_40' | 'OPEN_TOP' | 'OTHER' | 'REEFER_20' | 'REEFER_40' | 'TANK';
|
|
237
|
+
/** A recorded manual issuer review; workspace privileges do not establish professional qualifications. */
|
|
238
|
+
export type MtwInspectorQualification = {
|
|
239
|
+
__typename?: 'MtwInspectorQualification';
|
|
240
|
+
createdAt: Scalars['DateTime']['output'];
|
|
241
|
+
credentialReference: Scalars['String']['output'];
|
|
242
|
+
evidence: Array<MtwContainerEvidence>;
|
|
243
|
+
id: Scalars['ID']['output'];
|
|
244
|
+
issuerConfirmationReference?: Maybe<Scalars['String']['output']>;
|
|
245
|
+
issuerName: Scalars['String']['output'];
|
|
246
|
+
reviewEvidence: Array<MtwContainerEvidence>;
|
|
247
|
+
reviewNote?: Maybe<Scalars['String']['output']>;
|
|
248
|
+
reviewedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
249
|
+
revocationReason?: Maybe<Scalars['String']['output']>;
|
|
250
|
+
revokedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
251
|
+
scopes: Array<MtwContainerQualificationScope>;
|
|
252
|
+
status: MtwContainerQualificationStatus;
|
|
253
|
+
subjectActorId: Scalars['ID']['output'];
|
|
254
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
255
|
+
validFrom: Scalars['DateTime']['output'];
|
|
256
|
+
validUntil: Scalars['DateTime']['output'];
|
|
257
|
+
verifierActorId?: Maybe<Scalars['ID']['output']>;
|
|
258
|
+
version: Scalars['Int']['output'];
|
|
259
|
+
};
|
|
260
|
+
export type MtwInspectorQualificationPage = {
|
|
261
|
+
__typename?: 'MtwInspectorQualificationPage';
|
|
262
|
+
hasMore: Scalars['Boolean']['output'];
|
|
263
|
+
items: Array<MtwInspectorQualification>;
|
|
264
|
+
limit: Scalars['Int']['output'];
|
|
265
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
266
|
+
offset: Scalars['Int']['output'];
|
|
267
|
+
total: Scalars['Int']['output'];
|
|
268
|
+
};
|
|
269
|
+
export type MtwReuseApprovalKind = 'APPROVED' | 'REJECTED' | 'REVOKED';
|
|
270
|
+
export type MtwReuseBlocker = {
|
|
271
|
+
__typename?: 'MtwReuseBlocker';
|
|
272
|
+
certainty: MtwReuseBlockerCertainty;
|
|
273
|
+
code: Scalars['String']['output'];
|
|
274
|
+
reason: Scalars['String']['output'];
|
|
275
|
+
};
|
|
276
|
+
export type MtwReuseBlockerCertainty = 'FAILED' | 'UNKNOWN';
|
|
277
|
+
/** Point-in-time planning review under recorded evidence; creates no allocation or operational event. */
|
|
278
|
+
export type MtwReuseEligibility = {
|
|
279
|
+
__typename?: 'MtwReuseEligibility';
|
|
280
|
+
approvalId?: Maybe<Scalars['ID']['output']>;
|
|
281
|
+
blockers: Array<MtwReuseBlocker>;
|
|
282
|
+
evaluatedAt: Scalars['DateTime']['output'];
|
|
283
|
+
proposalId: Scalars['ID']['output'];
|
|
284
|
+
status: MtwReuseReadinessStatus;
|
|
285
|
+
};
|
|
286
|
+
/** Immutable planning revision. Recording it does not approve, reserve, dispatch or complete a street turn. */
|
|
287
|
+
export type MtwReuseProposal = {
|
|
288
|
+
__typename?: 'MtwReuseProposal';
|
|
289
|
+
assessment: MtwReuseProposalAssessment;
|
|
290
|
+
cargoCategory: MtwContainerCargoCategory;
|
|
291
|
+
containerId: Scalars['ID']['output'];
|
|
292
|
+
createdBy: Scalars['ID']['output'];
|
|
293
|
+
cycleId: Scalars['ID']['output'];
|
|
294
|
+
emptyEventId: Scalars['ID']['output'];
|
|
295
|
+
evidence: Array<MtwContainerEvidence>;
|
|
296
|
+
exportBookingReference: Scalars['String']['output'];
|
|
297
|
+
exporterReference: Scalars['String']['output'];
|
|
298
|
+
handoffFrom: Scalars['DateTime']['output'];
|
|
299
|
+
handoffLocationReference: Scalars['String']['output'];
|
|
300
|
+
handoffUntil: Scalars['DateTime']['output'];
|
|
301
|
+
id: Scalars['ID']['output'];
|
|
302
|
+
inspectionId: Scalars['ID']['output'];
|
|
303
|
+
instructionId: Scalars['ID']['output'];
|
|
304
|
+
proposalReference: Scalars['String']['output'];
|
|
305
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
306
|
+
requiredEquipmentType: MtwEquipmentType;
|
|
307
|
+
revision: Scalars['Int']['output'];
|
|
308
|
+
transportRouteId: Scalars['ID']['output'];
|
|
309
|
+
transportRouteUpdatedAt: Scalars['DateTime']['output'];
|
|
310
|
+
};
|
|
311
|
+
export type MtwReuseProposalAssessment = {
|
|
312
|
+
__typename?: 'MtwReuseProposalAssessment';
|
|
313
|
+
conditionQualificationId?: Maybe<Scalars['ID']['output']>;
|
|
314
|
+
conditionQualificationVersion?: Maybe<Scalars['Int']['output']>;
|
|
315
|
+
routeBinding?: Maybe<MtwReuseRouteBinding>;
|
|
316
|
+
schemaVersion: Scalars['Int']['output'];
|
|
317
|
+
scopeFingerprint: Scalars['String']['output'];
|
|
318
|
+
sources: MtwReuseSources;
|
|
319
|
+
timing?: Maybe<MtwReuseTiming>;
|
|
320
|
+
};
|
|
321
|
+
export type MtwReuseProposalPage = {
|
|
322
|
+
__typename?: 'MtwReuseProposalPage';
|
|
323
|
+
hasMore: Scalars['Boolean']['output'];
|
|
324
|
+
items: Array<MtwReuseProposal>;
|
|
325
|
+
limit: Scalars['Int']['output'];
|
|
326
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
327
|
+
offset: Scalars['Int']['output'];
|
|
328
|
+
total: Scalars['Int']['output'];
|
|
329
|
+
};
|
|
330
|
+
export type MtwReuseReadinessStatus = 'BLOCKED' | 'READY_FOR_DISPATCH_REVIEW';
|
|
331
|
+
/** Planning allocation only. ACTIVE does not mean street turn executed or constraints remain clear. */
|
|
332
|
+
export type MtwReuseReservation = {
|
|
333
|
+
__typename?: 'MtwReuseReservation';
|
|
334
|
+
approvalId: Scalars['ID']['output'];
|
|
335
|
+
containerId: Scalars['ID']['output'];
|
|
336
|
+
createdAt: Scalars['DateTime']['output'];
|
|
337
|
+
createdBy: Scalars['ID']['output'];
|
|
338
|
+
cycleId: Scalars['ID']['output'];
|
|
339
|
+
handoffUntil: Scalars['DateTime']['output'];
|
|
340
|
+
id: Scalars['ID']['output'];
|
|
341
|
+
proposalId: Scalars['ID']['output'];
|
|
342
|
+
status: MtwReuseReservationStatus;
|
|
343
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
344
|
+
updatedBy?: Maybe<Scalars['ID']['output']>;
|
|
345
|
+
version: Scalars['Int']['output'];
|
|
346
|
+
};
|
|
347
|
+
export type MtwReuseReservationPage = {
|
|
348
|
+
__typename?: 'MtwReuseReservationPage';
|
|
349
|
+
hasMore: Scalars['Boolean']['output'];
|
|
350
|
+
items: Array<MtwReuseReservation>;
|
|
351
|
+
limit: Scalars['Int']['output'];
|
|
352
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
353
|
+
offset: Scalars['Int']['output'];
|
|
354
|
+
total: Scalars['Int']['output'];
|
|
355
|
+
};
|
|
356
|
+
export type MtwReuseReservationStatus = 'ACTIVE' | 'CANCELLED' | 'EXPIRED';
|
|
357
|
+
export type MtwReuseReservationTerminalStatus = 'CANCELLED' | 'EXPIRED';
|
|
358
|
+
/** Immutable recorded reasons for explicit planning cancellation or expiry, not physical execution. */
|
|
359
|
+
export type MtwReuseReservationTransition = {
|
|
360
|
+
__typename?: 'MtwReuseReservationTransition';
|
|
361
|
+
createdBy: Scalars['ID']['output'];
|
|
362
|
+
id: Scalars['ID']['output'];
|
|
363
|
+
previousStatus: MtwReuseReservationStatus;
|
|
364
|
+
reason: Scalars['String']['output'];
|
|
365
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
366
|
+
reservationId: Scalars['ID']['output'];
|
|
367
|
+
status: MtwReuseReservationStatus;
|
|
368
|
+
};
|
|
369
|
+
export type MtwReuseReservationTransitionPage = {
|
|
370
|
+
__typename?: 'MtwReuseReservationTransitionPage';
|
|
371
|
+
hasMore: Scalars['Boolean']['output'];
|
|
372
|
+
items: Array<MtwReuseReservationTransition>;
|
|
373
|
+
limit: Scalars['Int']['output'];
|
|
374
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
375
|
+
offset: Scalars['Int']['output'];
|
|
376
|
+
total: Scalars['Int']['output'];
|
|
377
|
+
};
|
|
378
|
+
export type MtwReuseRouteBinding = {
|
|
379
|
+
__typename?: 'MtwReuseRouteBinding';
|
|
380
|
+
handoffLocationReference: Scalars['String']['output'];
|
|
381
|
+
handoffWaypointFingerprint: Scalars['String']['output'];
|
|
382
|
+
handoffWaypointIndex: Scalars['Int']['output'];
|
|
383
|
+
returnLocationReference: Scalars['String']['output'];
|
|
384
|
+
returnWaypointFingerprint: Scalars['String']['output'];
|
|
385
|
+
returnWaypointIndex: Scalars['Int']['output'];
|
|
386
|
+
routeWaypointsFingerprint: Scalars['String']['output'];
|
|
387
|
+
};
|
|
388
|
+
export type MtwReuseRouteBindingInput = {
|
|
389
|
+
handoffWaypointIndex: Scalars['Int']['input'];
|
|
390
|
+
returnWaypointIndex: Scalars['Int']['input'];
|
|
391
|
+
};
|
|
392
|
+
export type MtwReuseSourceAttestation = {
|
|
393
|
+
__typename?: 'MtwReuseSourceAttestation';
|
|
394
|
+
evidence: Array<MtwContainerEvidence>;
|
|
395
|
+
observedAt: Scalars['DateTime']['output'];
|
|
396
|
+
purpose: MtwReuseSourcePurpose;
|
|
397
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
398
|
+
recordedByActorId: Scalars['ID']['output'];
|
|
399
|
+
scopeFingerprint: Scalars['String']['output'];
|
|
400
|
+
sourceReference: Scalars['String']['output'];
|
|
401
|
+
sourceRevision: Scalars['String']['output'];
|
|
402
|
+
validFrom: Scalars['DateTime']['output'];
|
|
403
|
+
validUntil: Scalars['DateTime']['output'];
|
|
404
|
+
};
|
|
405
|
+
export type MtwReuseSourceAttestationInput = {
|
|
406
|
+
evidenceVersionIds: Array<Scalars['ID']['input']>;
|
|
407
|
+
observedAt: Scalars['DateTime']['input'];
|
|
408
|
+
sourceReference: Scalars['String']['input'];
|
|
409
|
+
sourceRevision: Scalars['String']['input'];
|
|
410
|
+
validFrom: Scalars['DateTime']['input'];
|
|
411
|
+
validUntil: Scalars['DateTime']['input'];
|
|
412
|
+
};
|
|
413
|
+
export type MtwReuseSourcePurpose = 'BOOKING' | 'CONDITION_SUITABILITY' | 'RETAINED_RETURN' | 'ROAD_ACCESS';
|
|
414
|
+
export type MtwReuseSources = {
|
|
415
|
+
__typename?: 'MtwReuseSources';
|
|
416
|
+
booking?: Maybe<MtwReuseSourceAttestation>;
|
|
417
|
+
conditionSuitability?: Maybe<MtwReuseSourceAttestation>;
|
|
418
|
+
retainedReturnPlan?: Maybe<MtwReuseSourceAttestation>;
|
|
419
|
+
roadAccess?: Maybe<MtwReuseSourceAttestation>;
|
|
420
|
+
};
|
|
421
|
+
export type MtwReuseSourcesInput = {
|
|
422
|
+
booking?: InputMaybe<MtwReuseSourceAttestationInput>;
|
|
423
|
+
conditionSuitability?: InputMaybe<MtwReuseSourceAttestationInput>;
|
|
424
|
+
retainedReturnPlan?: InputMaybe<MtwReuseSourceAttestationInput>;
|
|
425
|
+
roadAccess?: InputMaybe<MtwReuseSourceAttestationInput>;
|
|
426
|
+
};
|
|
427
|
+
export type MtwReuseTiming = {
|
|
428
|
+
__typename?: 'MtwReuseTiming';
|
|
429
|
+
departureAt: Scalars['DateTime']['output'];
|
|
430
|
+
maxFullReuseAndReturnSeconds: Scalars['Int']['output'];
|
|
431
|
+
maxTravelSeconds: Scalars['Int']['output'];
|
|
432
|
+
maxWaitSeconds: Scalars['Int']['output'];
|
|
433
|
+
plannedReturnFrom: Scalars['DateTime']['output'];
|
|
434
|
+
plannedReturnUntil: Scalars['DateTime']['output'];
|
|
435
|
+
returnWaitingLocationReference?: Maybe<Scalars['String']['output']>;
|
|
436
|
+
siteCloseAt: Scalars['DateTime']['output'];
|
|
437
|
+
siteOpenAt: Scalars['DateTime']['output'];
|
|
438
|
+
siteWaitingLocationReference?: Maybe<Scalars['String']['output']>;
|
|
439
|
+
};
|
|
440
|
+
export type MtwReuseTimingInput = {
|
|
441
|
+
departureAt: Scalars['DateTime']['input'];
|
|
442
|
+
maxFullReuseAndReturnSeconds: Scalars['Int']['input'];
|
|
443
|
+
maxTravelSeconds: Scalars['Int']['input'];
|
|
444
|
+
maxWaitSeconds: Scalars['Int']['input'];
|
|
445
|
+
plannedReturnFrom: Scalars['DateTime']['input'];
|
|
446
|
+
plannedReturnUntil: Scalars['DateTime']['input'];
|
|
447
|
+
returnWaitingLocationReference?: InputMaybe<Scalars['String']['input']>;
|
|
448
|
+
siteCloseAt: Scalars['DateTime']['input'];
|
|
449
|
+
siteOpenAt: Scalars['DateTime']['input'];
|
|
450
|
+
siteWaitingLocationReference?: InputMaybe<Scalars['String']['input']>;
|
|
451
|
+
};
|
|
452
|
+
export type MtwRoute = {
|
|
453
|
+
__typename?: 'MtwRoute';
|
|
454
|
+
id: Scalars['ID']['output'];
|
|
455
|
+
name: Scalars['String']['output'];
|
|
456
|
+
status: RouteStatus;
|
|
457
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
458
|
+
waypoints: Scalars['JSON']['output'];
|
|
459
|
+
};
|
|
460
|
+
export type Mutation = {
|
|
461
|
+
__typename?: 'Mutation';
|
|
462
|
+
acceptMtwReuseReservation: MtwReuseReservation;
|
|
463
|
+
recordMtwEmptyReturnInstruction: MtwEmptyReturnInstruction;
|
|
464
|
+
recordMtwEquipmentReuseApproval: MtwEquipmentReuseApproval;
|
|
465
|
+
recordMtwReuseProposal: MtwReuseProposal;
|
|
466
|
+
terminateMtwReuseReservation: MtwReuseReservation;
|
|
467
|
+
};
|
|
468
|
+
export type MutationAcceptMtwReuseReservationArgs = {
|
|
469
|
+
input: AcceptMtwReuseReservationInput;
|
|
470
|
+
};
|
|
471
|
+
export type MutationRecordMtwEmptyReturnInstructionArgs = {
|
|
472
|
+
input: RecordMtwEmptyReturnInstructionInput;
|
|
473
|
+
};
|
|
474
|
+
export type MutationRecordMtwEquipmentReuseApprovalArgs = {
|
|
475
|
+
input: RecordMtwEquipmentReuseApprovalInput;
|
|
476
|
+
};
|
|
477
|
+
export type MutationRecordMtwReuseProposalArgs = {
|
|
478
|
+
input: RecordMtwReuseProposalInput;
|
|
479
|
+
};
|
|
480
|
+
export type MutationTerminateMtwReuseReservationArgs = {
|
|
481
|
+
input: TerminateMtwReuseReservationInput;
|
|
482
|
+
};
|
|
483
|
+
export type Query = {
|
|
484
|
+
__typename?: 'Query';
|
|
485
|
+
mtwContainerCyclePage: MtwContainerCyclePage;
|
|
486
|
+
mtwContainerEventPage: MtwContainerEventPage;
|
|
487
|
+
mtwContainerInspectionPage: MtwContainerInspectionPage;
|
|
488
|
+
mtwContainerPage: MtwContainerPage;
|
|
489
|
+
mtwContainerQualificationPage: MtwInspectorQualificationPage;
|
|
490
|
+
/** Exact immutable instruction, including a proposal's historical owner; not a current-eligibility claim. */
|
|
491
|
+
mtwEmptyReturnInstruction: MtwEmptyReturnInstruction;
|
|
492
|
+
mtwEmptyReturnInstructionPage: MtwEmptyReturnInstructionPage;
|
|
493
|
+
mtwEquipmentReuseApprovalPage: MtwEquipmentReuseApprovalPage;
|
|
494
|
+
mtwReuseEligibility: MtwReuseEligibility;
|
|
495
|
+
mtwReuseProposalPage: MtwReuseProposalPage;
|
|
496
|
+
mtwReuseReservationPage: MtwReuseReservationPage;
|
|
497
|
+
mtwReuseReservationTransitionPage: MtwReuseReservationTransitionPage;
|
|
498
|
+
route?: Maybe<MtwRoute>;
|
|
499
|
+
};
|
|
500
|
+
export type QueryMtwContainerCyclePageArgs = {
|
|
501
|
+
containerId: Scalars['ID']['input'];
|
|
502
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
503
|
+
};
|
|
504
|
+
export type QueryMtwContainerEventPageArgs = {
|
|
505
|
+
cycleId: Scalars['ID']['input'];
|
|
506
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
507
|
+
};
|
|
508
|
+
export type QueryMtwContainerInspectionPageArgs = {
|
|
509
|
+
containerId: Scalars['ID']['input'];
|
|
510
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
511
|
+
};
|
|
512
|
+
export type QueryMtwContainerPageArgs = {
|
|
513
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
514
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
515
|
+
};
|
|
516
|
+
export type QueryMtwContainerQualificationPageArgs = {
|
|
517
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
518
|
+
};
|
|
519
|
+
export type QueryMtwEmptyReturnInstructionArgs = {
|
|
520
|
+
id: Scalars['ID']['input'];
|
|
521
|
+
};
|
|
522
|
+
export type QueryMtwEmptyReturnInstructionPageArgs = {
|
|
523
|
+
cycleId: Scalars['ID']['input'];
|
|
524
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
525
|
+
};
|
|
526
|
+
export type QueryMtwEquipmentReuseApprovalPageArgs = {
|
|
527
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
528
|
+
proposalId: Scalars['ID']['input'];
|
|
529
|
+
};
|
|
530
|
+
export type QueryMtwReuseEligibilityArgs = {
|
|
531
|
+
approvalId?: InputMaybe<Scalars['ID']['input']>;
|
|
532
|
+
proposalId: Scalars['ID']['input'];
|
|
533
|
+
};
|
|
534
|
+
export type QueryMtwReuseProposalPageArgs = {
|
|
535
|
+
cycleId: Scalars['ID']['input'];
|
|
536
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
537
|
+
};
|
|
538
|
+
export type QueryMtwReuseReservationPageArgs = {
|
|
539
|
+
cycleId: Scalars['ID']['input'];
|
|
540
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
541
|
+
};
|
|
542
|
+
export type QueryMtwReuseReservationTransitionPageArgs = {
|
|
543
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
544
|
+
reservationId: Scalars['ID']['input'];
|
|
545
|
+
};
|
|
546
|
+
export type QueryRouteArgs = {
|
|
547
|
+
id: Scalars['ID']['input'];
|
|
548
|
+
};
|
|
549
|
+
export type RecordMtwEmptyReturnInstructionInput = {
|
|
550
|
+
bookingReference: Scalars['String']['input'];
|
|
551
|
+
changeReason: Scalars['String']['input'];
|
|
552
|
+
currentInstructionId?: InputMaybe<Scalars['ID']['input']>;
|
|
553
|
+
cycleId: Scalars['ID']['input'];
|
|
554
|
+
depotReference: Scalars['String']['input'];
|
|
555
|
+
effectiveAt: Scalars['DateTime']['input'];
|
|
556
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
557
|
+
expectedCycleVersion: Scalars['Int']['input'];
|
|
558
|
+
idempotencyKey: Scalars['String']['input'];
|
|
559
|
+
locationReference: Scalars['String']['input'];
|
|
560
|
+
ownerReference: Scalars['String']['input'];
|
|
561
|
+
returnFrom: Scalars['DateTime']['input'];
|
|
562
|
+
returnUntil: Scalars['DateTime']['input'];
|
|
563
|
+
sourceReference: Scalars['String']['input'];
|
|
564
|
+
};
|
|
565
|
+
export type RecordMtwEquipmentReuseApprovalInput = {
|
|
566
|
+
approvalId?: InputMaybe<Scalars['ID']['input']>;
|
|
567
|
+
counterpartyReference: Scalars['String']['input'];
|
|
568
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
569
|
+
expectedCycleVersion: Scalars['Int']['input'];
|
|
570
|
+
idempotencyKey: Scalars['String']['input'];
|
|
571
|
+
kind: MtwReuseApprovalKind;
|
|
572
|
+
note: Scalars['String']['input'];
|
|
573
|
+
proposalId: Scalars['ID']['input'];
|
|
574
|
+
sourceReference: Scalars['String']['input'];
|
|
575
|
+
validFrom?: InputMaybe<Scalars['DateTime']['input']>;
|
|
576
|
+
validUntil?: InputMaybe<Scalars['DateTime']['input']>;
|
|
577
|
+
};
|
|
578
|
+
export type RecordMtwReuseProposalInput = {
|
|
579
|
+
cargoCategory: MtwContainerCargoCategory;
|
|
580
|
+
conditionQualificationId?: InputMaybe<Scalars['ID']['input']>;
|
|
581
|
+
cycleId: Scalars['ID']['input'];
|
|
582
|
+
emptyEventId: Scalars['ID']['input'];
|
|
583
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
584
|
+
expectedCycleVersion: Scalars['Int']['input'];
|
|
585
|
+
expectedProposalRevision: Scalars['Int']['input'];
|
|
586
|
+
exportBookingReference: Scalars['String']['input'];
|
|
587
|
+
exporterReference: Scalars['String']['input'];
|
|
588
|
+
handoffFrom: Scalars['DateTime']['input'];
|
|
589
|
+
handoffLocationReference: Scalars['String']['input'];
|
|
590
|
+
handoffUntil: Scalars['DateTime']['input'];
|
|
591
|
+
idempotencyKey: Scalars['String']['input'];
|
|
592
|
+
inspectionId: Scalars['ID']['input'];
|
|
593
|
+
instructionId: Scalars['ID']['input'];
|
|
594
|
+
proposalReference: Scalars['String']['input'];
|
|
595
|
+
requiredEquipmentType: MtwEquipmentType;
|
|
596
|
+
routeBinding?: InputMaybe<MtwReuseRouteBindingInput>;
|
|
597
|
+
sources: MtwReuseSourcesInput;
|
|
598
|
+
timing?: InputMaybe<MtwReuseTimingInput>;
|
|
599
|
+
transportRouteId: Scalars['ID']['input'];
|
|
600
|
+
transportRouteUpdatedAt: Scalars['DateTime']['input'];
|
|
601
|
+
};
|
|
602
|
+
export type RouteStatus = 'CANCELLED' | 'COMPLETED' | 'IN_PROGRESS' | 'PLANNED';
|
|
603
|
+
export type TerminateMtwReuseReservationInput = {
|
|
604
|
+
expectedVersion: Scalars['Int']['input'];
|
|
605
|
+
idempotencyKey: Scalars['String']['input'];
|
|
606
|
+
reason: Scalars['String']['input'];
|
|
607
|
+
reservationId: Scalars['ID']['input'];
|
|
608
|
+
status: MtwReuseReservationTerminalStatus;
|
|
609
|
+
};
|
|
610
|
+
export type ReuseEvidenceFragment = {
|
|
611
|
+
__typename?: 'MtwContainerEvidence';
|
|
612
|
+
fileId: string;
|
|
613
|
+
versionId: string;
|
|
614
|
+
sha256Hash: string;
|
|
615
|
+
checkedAt: string;
|
|
616
|
+
};
|
|
617
|
+
export type ReturnInstructionFieldsFragment = {
|
|
618
|
+
__typename?: 'MtwEmptyReturnInstruction';
|
|
619
|
+
id: string;
|
|
620
|
+
cycleId: string;
|
|
621
|
+
version: number;
|
|
622
|
+
ownerReference: string;
|
|
623
|
+
bookingReference: string;
|
|
624
|
+
depotReference: string;
|
|
625
|
+
locationReference: string;
|
|
626
|
+
returnFrom: string;
|
|
627
|
+
returnUntil: string;
|
|
628
|
+
effectiveAt: string;
|
|
629
|
+
sourceReference: string;
|
|
630
|
+
changeReason: string;
|
|
631
|
+
supersedesInstructionId?: string | null;
|
|
632
|
+
recordedAt: string;
|
|
633
|
+
createdBy: string;
|
|
634
|
+
evidence: Array<{
|
|
635
|
+
__typename?: 'MtwContainerEvidence';
|
|
636
|
+
fileId: string;
|
|
637
|
+
versionId: string;
|
|
638
|
+
sha256Hash: string;
|
|
639
|
+
checkedAt: string;
|
|
640
|
+
}>;
|
|
641
|
+
};
|
|
642
|
+
export type ReuseSourceFieldsFragment = {
|
|
643
|
+
__typename?: 'MtwReuseSourceAttestation';
|
|
644
|
+
purpose: MtwReuseSourcePurpose;
|
|
645
|
+
sourceReference: string;
|
|
646
|
+
sourceRevision: string;
|
|
647
|
+
observedAt: string;
|
|
648
|
+
recordedAt: string;
|
|
649
|
+
validFrom: string;
|
|
650
|
+
validUntil: string;
|
|
651
|
+
recordedByActorId: string;
|
|
652
|
+
scopeFingerprint: string;
|
|
653
|
+
evidence: Array<{
|
|
654
|
+
__typename?: 'MtwContainerEvidence';
|
|
655
|
+
fileId: string;
|
|
656
|
+
versionId: string;
|
|
657
|
+
sha256Hash: string;
|
|
658
|
+
checkedAt: string;
|
|
659
|
+
}>;
|
|
660
|
+
};
|
|
661
|
+
export type ReuseProposalFieldsFragment = {
|
|
662
|
+
__typename?: 'MtwReuseProposal';
|
|
663
|
+
id: string;
|
|
664
|
+
cycleId: string;
|
|
665
|
+
containerId: string;
|
|
666
|
+
instructionId: string;
|
|
667
|
+
proposalReference: string;
|
|
668
|
+
revision: number;
|
|
669
|
+
emptyEventId: string;
|
|
670
|
+
inspectionId: string;
|
|
671
|
+
transportRouteId: string;
|
|
672
|
+
transportRouteUpdatedAt: string;
|
|
673
|
+
exportBookingReference: string;
|
|
674
|
+
exporterReference: string;
|
|
675
|
+
handoffLocationReference: string;
|
|
676
|
+
handoffFrom: string;
|
|
677
|
+
handoffUntil: string;
|
|
678
|
+
requiredEquipmentType: MtwEquipmentType;
|
|
679
|
+
cargoCategory: MtwContainerCargoCategory;
|
|
680
|
+
recordedAt: string;
|
|
681
|
+
createdBy: string;
|
|
682
|
+
evidence: Array<{
|
|
683
|
+
__typename?: 'MtwContainerEvidence';
|
|
684
|
+
fileId: string;
|
|
685
|
+
versionId: string;
|
|
686
|
+
sha256Hash: string;
|
|
687
|
+
checkedAt: string;
|
|
688
|
+
}>;
|
|
689
|
+
assessment: {
|
|
690
|
+
__typename?: 'MtwReuseProposalAssessment';
|
|
691
|
+
schemaVersion: number;
|
|
692
|
+
scopeFingerprint: string;
|
|
693
|
+
conditionQualificationId?: string | null;
|
|
694
|
+
conditionQualificationVersion?: number | null;
|
|
695
|
+
sources: {
|
|
696
|
+
__typename?: 'MtwReuseSources';
|
|
697
|
+
booking?: {
|
|
698
|
+
__typename?: 'MtwReuseSourceAttestation';
|
|
699
|
+
purpose: MtwReuseSourcePurpose;
|
|
700
|
+
sourceReference: string;
|
|
701
|
+
sourceRevision: string;
|
|
702
|
+
observedAt: string;
|
|
703
|
+
recordedAt: string;
|
|
704
|
+
validFrom: string;
|
|
705
|
+
validUntil: string;
|
|
706
|
+
recordedByActorId: string;
|
|
707
|
+
scopeFingerprint: string;
|
|
708
|
+
evidence: Array<{
|
|
709
|
+
__typename?: 'MtwContainerEvidence';
|
|
710
|
+
fileId: string;
|
|
711
|
+
versionId: string;
|
|
712
|
+
sha256Hash: string;
|
|
713
|
+
checkedAt: string;
|
|
714
|
+
}>;
|
|
715
|
+
} | null;
|
|
716
|
+
roadAccess?: {
|
|
717
|
+
__typename?: 'MtwReuseSourceAttestation';
|
|
718
|
+
purpose: MtwReuseSourcePurpose;
|
|
719
|
+
sourceReference: string;
|
|
720
|
+
sourceRevision: string;
|
|
721
|
+
observedAt: string;
|
|
722
|
+
recordedAt: string;
|
|
723
|
+
validFrom: string;
|
|
724
|
+
validUntil: string;
|
|
725
|
+
recordedByActorId: string;
|
|
726
|
+
scopeFingerprint: string;
|
|
727
|
+
evidence: Array<{
|
|
728
|
+
__typename?: 'MtwContainerEvidence';
|
|
729
|
+
fileId: string;
|
|
730
|
+
versionId: string;
|
|
731
|
+
sha256Hash: string;
|
|
732
|
+
checkedAt: string;
|
|
733
|
+
}>;
|
|
734
|
+
} | null;
|
|
735
|
+
conditionSuitability?: {
|
|
736
|
+
__typename?: 'MtwReuseSourceAttestation';
|
|
737
|
+
purpose: MtwReuseSourcePurpose;
|
|
738
|
+
sourceReference: string;
|
|
739
|
+
sourceRevision: string;
|
|
740
|
+
observedAt: string;
|
|
741
|
+
recordedAt: string;
|
|
742
|
+
validFrom: string;
|
|
743
|
+
validUntil: string;
|
|
744
|
+
recordedByActorId: string;
|
|
745
|
+
scopeFingerprint: string;
|
|
746
|
+
evidence: Array<{
|
|
747
|
+
__typename?: 'MtwContainerEvidence';
|
|
748
|
+
fileId: string;
|
|
749
|
+
versionId: string;
|
|
750
|
+
sha256Hash: string;
|
|
751
|
+
checkedAt: string;
|
|
752
|
+
}>;
|
|
753
|
+
} | null;
|
|
754
|
+
retainedReturnPlan?: {
|
|
755
|
+
__typename?: 'MtwReuseSourceAttestation';
|
|
756
|
+
purpose: MtwReuseSourcePurpose;
|
|
757
|
+
sourceReference: string;
|
|
758
|
+
sourceRevision: string;
|
|
759
|
+
observedAt: string;
|
|
760
|
+
recordedAt: string;
|
|
761
|
+
validFrom: string;
|
|
762
|
+
validUntil: string;
|
|
763
|
+
recordedByActorId: string;
|
|
764
|
+
scopeFingerprint: string;
|
|
765
|
+
evidence: Array<{
|
|
766
|
+
__typename?: 'MtwContainerEvidence';
|
|
767
|
+
fileId: string;
|
|
768
|
+
versionId: string;
|
|
769
|
+
sha256Hash: string;
|
|
770
|
+
checkedAt: string;
|
|
771
|
+
}>;
|
|
772
|
+
} | null;
|
|
773
|
+
};
|
|
774
|
+
timing?: {
|
|
775
|
+
__typename?: 'MtwReuseTiming';
|
|
776
|
+
departureAt: string;
|
|
777
|
+
maxTravelSeconds: number;
|
|
778
|
+
maxWaitSeconds: number;
|
|
779
|
+
siteOpenAt: string;
|
|
780
|
+
siteCloseAt: string;
|
|
781
|
+
maxFullReuseAndReturnSeconds: number;
|
|
782
|
+
siteWaitingLocationReference?: string | null;
|
|
783
|
+
returnWaitingLocationReference?: string | null;
|
|
784
|
+
plannedReturnFrom: string;
|
|
785
|
+
plannedReturnUntil: string;
|
|
786
|
+
} | null;
|
|
787
|
+
routeBinding?: {
|
|
788
|
+
__typename?: 'MtwReuseRouteBinding';
|
|
789
|
+
handoffWaypointIndex: number;
|
|
790
|
+
returnWaypointIndex: number;
|
|
791
|
+
handoffWaypointFingerprint: string;
|
|
792
|
+
returnWaypointFingerprint: string;
|
|
793
|
+
routeWaypointsFingerprint: string;
|
|
794
|
+
handoffLocationReference: string;
|
|
795
|
+
returnLocationReference: string;
|
|
796
|
+
} | null;
|
|
797
|
+
};
|
|
798
|
+
};
|
|
799
|
+
export type ReuseApprovalFieldsFragment = {
|
|
800
|
+
__typename?: 'MtwEquipmentReuseApproval';
|
|
801
|
+
id: string;
|
|
802
|
+
proposalId: string;
|
|
803
|
+
kind: MtwReuseApprovalKind;
|
|
804
|
+
approvalId?: string | null;
|
|
805
|
+
counterpartyReference: string;
|
|
806
|
+
sourceReference: string;
|
|
807
|
+
validFrom?: string | null;
|
|
808
|
+
validUntil?: string | null;
|
|
809
|
+
note: string;
|
|
810
|
+
recordedAt: string;
|
|
811
|
+
createdBy: string;
|
|
812
|
+
evidence: Array<{
|
|
813
|
+
__typename?: 'MtwContainerEvidence';
|
|
814
|
+
fileId: string;
|
|
815
|
+
versionId: string;
|
|
816
|
+
sha256Hash: string;
|
|
817
|
+
checkedAt: string;
|
|
818
|
+
}>;
|
|
819
|
+
};
|
|
820
|
+
export type ReuseReservationFieldsFragment = {
|
|
821
|
+
__typename?: 'MtwReuseReservation';
|
|
822
|
+
id: string;
|
|
823
|
+
containerId: string;
|
|
824
|
+
cycleId: string;
|
|
825
|
+
proposalId: string;
|
|
826
|
+
approvalId: string;
|
|
827
|
+
status: MtwReuseReservationStatus;
|
|
828
|
+
version: number;
|
|
829
|
+
handoffUntil: string;
|
|
830
|
+
createdAt: string;
|
|
831
|
+
updatedAt: string;
|
|
832
|
+
createdBy: string;
|
|
833
|
+
updatedBy?: string | null;
|
|
834
|
+
};
|
|
835
|
+
export type ReuseContainersQueryVariables = Exact<{
|
|
836
|
+
pagination: MtwContainerPagination;
|
|
837
|
+
}>;
|
|
838
|
+
export type ReuseContainersQuery = {
|
|
839
|
+
__typename?: 'Query';
|
|
840
|
+
mtwContainerPage: {
|
|
841
|
+
__typename?: 'MtwContainerPage';
|
|
842
|
+
total: number;
|
|
843
|
+
limit: number;
|
|
844
|
+
offset: number;
|
|
845
|
+
hasMore: boolean;
|
|
846
|
+
nextOffset?: number | null;
|
|
847
|
+
items: Array<{
|
|
848
|
+
__typename?: 'MtwContainer';
|
|
849
|
+
id: string;
|
|
850
|
+
containerNumber: string;
|
|
851
|
+
equipmentType: MtwEquipmentType;
|
|
852
|
+
ownerName?: string | null;
|
|
853
|
+
}>;
|
|
854
|
+
};
|
|
855
|
+
};
|
|
856
|
+
export type ReuseCyclesQueryVariables = Exact<{
|
|
857
|
+
containerId: Scalars['ID']['input'];
|
|
858
|
+
pagination: MtwContainerPagination;
|
|
859
|
+
}>;
|
|
860
|
+
export type ReuseCyclesQuery = {
|
|
861
|
+
__typename?: 'Query';
|
|
862
|
+
mtwContainerCyclePage: {
|
|
863
|
+
__typename?: 'MtwContainerCyclePage';
|
|
864
|
+
total: number;
|
|
865
|
+
limit: number;
|
|
866
|
+
offset: number;
|
|
867
|
+
hasMore: boolean;
|
|
868
|
+
nextOffset?: number | null;
|
|
869
|
+
items: Array<{
|
|
870
|
+
__typename?: 'MtwContainerCycle';
|
|
871
|
+
id: string;
|
|
872
|
+
containerId: string;
|
|
873
|
+
status: MtwContainerCycleStatus;
|
|
874
|
+
bookingReference?: string | null;
|
|
875
|
+
openedAt: string;
|
|
876
|
+
version: number;
|
|
877
|
+
updatedAt: string;
|
|
878
|
+
}>;
|
|
879
|
+
};
|
|
880
|
+
};
|
|
881
|
+
export type ReuseEventsQueryVariables = Exact<{
|
|
882
|
+
cycleId: Scalars['ID']['input'];
|
|
883
|
+
pagination: MtwContainerPagination;
|
|
884
|
+
}>;
|
|
885
|
+
export type ReuseEventsQuery = {
|
|
886
|
+
__typename?: 'Query';
|
|
887
|
+
mtwContainerEventPage: {
|
|
888
|
+
__typename?: 'MtwContainerEventPage';
|
|
889
|
+
total: number;
|
|
890
|
+
limit: number;
|
|
891
|
+
offset: number;
|
|
892
|
+
hasMore: boolean;
|
|
893
|
+
nextOffset?: number | null;
|
|
894
|
+
items: Array<{
|
|
895
|
+
__typename?: 'MtwContainerEvent';
|
|
896
|
+
id: string;
|
|
897
|
+
eventType: MtwContainerEventType;
|
|
898
|
+
kind: MtwContainerEventKind;
|
|
899
|
+
occurredAt: string;
|
|
900
|
+
receivedAt: string;
|
|
901
|
+
source: string;
|
|
902
|
+
sourceReference?: string | null;
|
|
903
|
+
location?: string | null;
|
|
904
|
+
}>;
|
|
905
|
+
};
|
|
906
|
+
};
|
|
907
|
+
export type ReuseInspectionsQueryVariables = Exact<{
|
|
908
|
+
containerId: Scalars['ID']['input'];
|
|
909
|
+
pagination: MtwContainerPagination;
|
|
910
|
+
}>;
|
|
911
|
+
export type ReuseInspectionsQuery = {
|
|
912
|
+
__typename?: 'Query';
|
|
913
|
+
mtwContainerInspectionPage: {
|
|
914
|
+
__typename?: 'MtwContainerInspectionPage';
|
|
915
|
+
total: number;
|
|
916
|
+
limit: number;
|
|
917
|
+
offset: number;
|
|
918
|
+
hasMore: boolean;
|
|
919
|
+
nextOffset?: number | null;
|
|
920
|
+
items: Array<{
|
|
921
|
+
__typename?: 'MtwContainerInspection';
|
|
922
|
+
id: string;
|
|
923
|
+
containerId: string;
|
|
924
|
+
inspectedAt: string;
|
|
925
|
+
cargoCategory: MtwContainerCargoCategory;
|
|
926
|
+
suitability: MtwContainerSuitability;
|
|
927
|
+
nextExaminationAt?: string | null;
|
|
928
|
+
examinationScheme: MtwContainerExaminationScheme;
|
|
929
|
+
inspectorActorId: string;
|
|
930
|
+
severeDefectCount: number;
|
|
931
|
+
cscPlateVersionId?: string | null;
|
|
932
|
+
examinationVersionId?: string | null;
|
|
933
|
+
}>;
|
|
934
|
+
};
|
|
935
|
+
};
|
|
936
|
+
export type ReuseQualificationsQueryVariables = Exact<{
|
|
937
|
+
pagination: MtwContainerPagination;
|
|
938
|
+
}>;
|
|
939
|
+
export type ReuseQualificationsQuery = {
|
|
940
|
+
__typename?: 'Query';
|
|
941
|
+
mtwContainerQualificationPage: {
|
|
942
|
+
__typename?: 'MtwInspectorQualificationPage';
|
|
943
|
+
total: number;
|
|
944
|
+
limit: number;
|
|
945
|
+
offset: number;
|
|
946
|
+
hasMore: boolean;
|
|
947
|
+
nextOffset?: number | null;
|
|
948
|
+
items: Array<{
|
|
949
|
+
__typename?: 'MtwInspectorQualification';
|
|
950
|
+
id: string;
|
|
951
|
+
subjectActorId: string;
|
|
952
|
+
issuerName: string;
|
|
953
|
+
credentialReference: string;
|
|
954
|
+
status: MtwContainerQualificationStatus;
|
|
955
|
+
version: number;
|
|
956
|
+
validFrom: string;
|
|
957
|
+
validUntil: string;
|
|
958
|
+
scopes: Array<MtwContainerQualificationScope>;
|
|
959
|
+
}>;
|
|
960
|
+
};
|
|
961
|
+
};
|
|
962
|
+
export type ReuseRouteQueryVariables = Exact<{
|
|
963
|
+
id: Scalars['ID']['input'];
|
|
964
|
+
}>;
|
|
965
|
+
export type ReuseRouteQuery = {
|
|
966
|
+
__typename?: 'Query';
|
|
967
|
+
route?: {
|
|
968
|
+
__typename?: 'MtwRoute';
|
|
969
|
+
id: string;
|
|
970
|
+
name: string;
|
|
971
|
+
updatedAt: string;
|
|
972
|
+
waypoints: unknown;
|
|
973
|
+
status: RouteStatus;
|
|
974
|
+
} | null;
|
|
975
|
+
};
|
|
976
|
+
export type ReturnInstructionsQueryVariables = Exact<{
|
|
977
|
+
cycleId: Scalars['ID']['input'];
|
|
978
|
+
pagination: MtwContainerPagination;
|
|
979
|
+
}>;
|
|
980
|
+
export type ReturnInstructionsQuery = {
|
|
981
|
+
__typename?: 'Query';
|
|
982
|
+
mtwEmptyReturnInstructionPage: {
|
|
983
|
+
__typename?: 'MtwEmptyReturnInstructionPage';
|
|
984
|
+
total: number;
|
|
985
|
+
limit: number;
|
|
986
|
+
offset: number;
|
|
987
|
+
hasMore: boolean;
|
|
988
|
+
nextOffset?: number | null;
|
|
989
|
+
items: Array<{
|
|
990
|
+
__typename?: 'MtwEmptyReturnInstruction';
|
|
991
|
+
id: string;
|
|
992
|
+
cycleId: string;
|
|
993
|
+
version: number;
|
|
994
|
+
ownerReference: string;
|
|
995
|
+
bookingReference: string;
|
|
996
|
+
depotReference: string;
|
|
997
|
+
locationReference: string;
|
|
998
|
+
returnFrom: string;
|
|
999
|
+
returnUntil: string;
|
|
1000
|
+
effectiveAt: string;
|
|
1001
|
+
sourceReference: string;
|
|
1002
|
+
changeReason: string;
|
|
1003
|
+
supersedesInstructionId?: string | null;
|
|
1004
|
+
recordedAt: string;
|
|
1005
|
+
createdBy: string;
|
|
1006
|
+
evidence: Array<{
|
|
1007
|
+
__typename?: 'MtwContainerEvidence';
|
|
1008
|
+
fileId: string;
|
|
1009
|
+
versionId: string;
|
|
1010
|
+
sha256Hash: string;
|
|
1011
|
+
checkedAt: string;
|
|
1012
|
+
}>;
|
|
1013
|
+
}>;
|
|
1014
|
+
};
|
|
1015
|
+
};
|
|
1016
|
+
export type ReuseProposalsQueryVariables = Exact<{
|
|
1017
|
+
cycleId: Scalars['ID']['input'];
|
|
1018
|
+
pagination: MtwContainerPagination;
|
|
1019
|
+
}>;
|
|
1020
|
+
export type ReuseProposalsQuery = {
|
|
1021
|
+
__typename?: 'Query';
|
|
1022
|
+
mtwReuseProposalPage: {
|
|
1023
|
+
__typename?: 'MtwReuseProposalPage';
|
|
1024
|
+
total: number;
|
|
1025
|
+
limit: number;
|
|
1026
|
+
offset: number;
|
|
1027
|
+
hasMore: boolean;
|
|
1028
|
+
nextOffset?: number | null;
|
|
1029
|
+
items: Array<{
|
|
1030
|
+
__typename?: 'MtwReuseProposal';
|
|
1031
|
+
id: string;
|
|
1032
|
+
cycleId: string;
|
|
1033
|
+
containerId: string;
|
|
1034
|
+
instructionId: string;
|
|
1035
|
+
proposalReference: string;
|
|
1036
|
+
revision: number;
|
|
1037
|
+
emptyEventId: string;
|
|
1038
|
+
inspectionId: string;
|
|
1039
|
+
transportRouteId: string;
|
|
1040
|
+
transportRouteUpdatedAt: string;
|
|
1041
|
+
exportBookingReference: string;
|
|
1042
|
+
exporterReference: string;
|
|
1043
|
+
handoffLocationReference: string;
|
|
1044
|
+
handoffFrom: string;
|
|
1045
|
+
handoffUntil: string;
|
|
1046
|
+
requiredEquipmentType: MtwEquipmentType;
|
|
1047
|
+
cargoCategory: MtwContainerCargoCategory;
|
|
1048
|
+
recordedAt: string;
|
|
1049
|
+
createdBy: string;
|
|
1050
|
+
evidence: Array<{
|
|
1051
|
+
__typename?: 'MtwContainerEvidence';
|
|
1052
|
+
fileId: string;
|
|
1053
|
+
versionId: string;
|
|
1054
|
+
sha256Hash: string;
|
|
1055
|
+
checkedAt: string;
|
|
1056
|
+
}>;
|
|
1057
|
+
assessment: {
|
|
1058
|
+
__typename?: 'MtwReuseProposalAssessment';
|
|
1059
|
+
schemaVersion: number;
|
|
1060
|
+
scopeFingerprint: string;
|
|
1061
|
+
conditionQualificationId?: string | null;
|
|
1062
|
+
conditionQualificationVersion?: number | null;
|
|
1063
|
+
sources: {
|
|
1064
|
+
__typename?: 'MtwReuseSources';
|
|
1065
|
+
booking?: {
|
|
1066
|
+
__typename?: 'MtwReuseSourceAttestation';
|
|
1067
|
+
purpose: MtwReuseSourcePurpose;
|
|
1068
|
+
sourceReference: string;
|
|
1069
|
+
sourceRevision: string;
|
|
1070
|
+
observedAt: string;
|
|
1071
|
+
recordedAt: string;
|
|
1072
|
+
validFrom: string;
|
|
1073
|
+
validUntil: string;
|
|
1074
|
+
recordedByActorId: string;
|
|
1075
|
+
scopeFingerprint: string;
|
|
1076
|
+
evidence: Array<{
|
|
1077
|
+
__typename?: 'MtwContainerEvidence';
|
|
1078
|
+
fileId: string;
|
|
1079
|
+
versionId: string;
|
|
1080
|
+
sha256Hash: string;
|
|
1081
|
+
checkedAt: string;
|
|
1082
|
+
}>;
|
|
1083
|
+
} | null;
|
|
1084
|
+
roadAccess?: {
|
|
1085
|
+
__typename?: 'MtwReuseSourceAttestation';
|
|
1086
|
+
purpose: MtwReuseSourcePurpose;
|
|
1087
|
+
sourceReference: string;
|
|
1088
|
+
sourceRevision: string;
|
|
1089
|
+
observedAt: string;
|
|
1090
|
+
recordedAt: string;
|
|
1091
|
+
validFrom: string;
|
|
1092
|
+
validUntil: string;
|
|
1093
|
+
recordedByActorId: string;
|
|
1094
|
+
scopeFingerprint: string;
|
|
1095
|
+
evidence: Array<{
|
|
1096
|
+
__typename?: 'MtwContainerEvidence';
|
|
1097
|
+
fileId: string;
|
|
1098
|
+
versionId: string;
|
|
1099
|
+
sha256Hash: string;
|
|
1100
|
+
checkedAt: string;
|
|
1101
|
+
}>;
|
|
1102
|
+
} | null;
|
|
1103
|
+
conditionSuitability?: {
|
|
1104
|
+
__typename?: 'MtwReuseSourceAttestation';
|
|
1105
|
+
purpose: MtwReuseSourcePurpose;
|
|
1106
|
+
sourceReference: string;
|
|
1107
|
+
sourceRevision: string;
|
|
1108
|
+
observedAt: string;
|
|
1109
|
+
recordedAt: string;
|
|
1110
|
+
validFrom: string;
|
|
1111
|
+
validUntil: string;
|
|
1112
|
+
recordedByActorId: string;
|
|
1113
|
+
scopeFingerprint: string;
|
|
1114
|
+
evidence: Array<{
|
|
1115
|
+
__typename?: 'MtwContainerEvidence';
|
|
1116
|
+
fileId: string;
|
|
1117
|
+
versionId: string;
|
|
1118
|
+
sha256Hash: string;
|
|
1119
|
+
checkedAt: string;
|
|
1120
|
+
}>;
|
|
1121
|
+
} | null;
|
|
1122
|
+
retainedReturnPlan?: {
|
|
1123
|
+
__typename?: 'MtwReuseSourceAttestation';
|
|
1124
|
+
purpose: MtwReuseSourcePurpose;
|
|
1125
|
+
sourceReference: string;
|
|
1126
|
+
sourceRevision: string;
|
|
1127
|
+
observedAt: string;
|
|
1128
|
+
recordedAt: string;
|
|
1129
|
+
validFrom: string;
|
|
1130
|
+
validUntil: string;
|
|
1131
|
+
recordedByActorId: string;
|
|
1132
|
+
scopeFingerprint: string;
|
|
1133
|
+
evidence: Array<{
|
|
1134
|
+
__typename?: 'MtwContainerEvidence';
|
|
1135
|
+
fileId: string;
|
|
1136
|
+
versionId: string;
|
|
1137
|
+
sha256Hash: string;
|
|
1138
|
+
checkedAt: string;
|
|
1139
|
+
}>;
|
|
1140
|
+
} | null;
|
|
1141
|
+
};
|
|
1142
|
+
timing?: {
|
|
1143
|
+
__typename?: 'MtwReuseTiming';
|
|
1144
|
+
departureAt: string;
|
|
1145
|
+
maxTravelSeconds: number;
|
|
1146
|
+
maxWaitSeconds: number;
|
|
1147
|
+
siteOpenAt: string;
|
|
1148
|
+
siteCloseAt: string;
|
|
1149
|
+
maxFullReuseAndReturnSeconds: number;
|
|
1150
|
+
siteWaitingLocationReference?: string | null;
|
|
1151
|
+
returnWaitingLocationReference?: string | null;
|
|
1152
|
+
plannedReturnFrom: string;
|
|
1153
|
+
plannedReturnUntil: string;
|
|
1154
|
+
} | null;
|
|
1155
|
+
routeBinding?: {
|
|
1156
|
+
__typename?: 'MtwReuseRouteBinding';
|
|
1157
|
+
handoffWaypointIndex: number;
|
|
1158
|
+
returnWaypointIndex: number;
|
|
1159
|
+
handoffWaypointFingerprint: string;
|
|
1160
|
+
returnWaypointFingerprint: string;
|
|
1161
|
+
routeWaypointsFingerprint: string;
|
|
1162
|
+
handoffLocationReference: string;
|
|
1163
|
+
returnLocationReference: string;
|
|
1164
|
+
} | null;
|
|
1165
|
+
};
|
|
1166
|
+
}>;
|
|
1167
|
+
};
|
|
1168
|
+
};
|
|
1169
|
+
export type ReuseApprovalsQueryVariables = Exact<{
|
|
1170
|
+
proposalId: Scalars['ID']['input'];
|
|
1171
|
+
pagination: MtwContainerPagination;
|
|
1172
|
+
}>;
|
|
1173
|
+
export type ReuseApprovalsQuery = {
|
|
1174
|
+
__typename?: 'Query';
|
|
1175
|
+
mtwEquipmentReuseApprovalPage: {
|
|
1176
|
+
__typename?: 'MtwEquipmentReuseApprovalPage';
|
|
1177
|
+
total: number;
|
|
1178
|
+
limit: number;
|
|
1179
|
+
offset: number;
|
|
1180
|
+
hasMore: boolean;
|
|
1181
|
+
nextOffset?: number | null;
|
|
1182
|
+
items: Array<{
|
|
1183
|
+
__typename?: 'MtwEquipmentReuseApproval';
|
|
1184
|
+
id: string;
|
|
1185
|
+
proposalId: string;
|
|
1186
|
+
kind: MtwReuseApprovalKind;
|
|
1187
|
+
approvalId?: string | null;
|
|
1188
|
+
counterpartyReference: string;
|
|
1189
|
+
sourceReference: string;
|
|
1190
|
+
validFrom?: string | null;
|
|
1191
|
+
validUntil?: string | null;
|
|
1192
|
+
note: string;
|
|
1193
|
+
recordedAt: string;
|
|
1194
|
+
createdBy: string;
|
|
1195
|
+
evidence: Array<{
|
|
1196
|
+
__typename?: 'MtwContainerEvidence';
|
|
1197
|
+
fileId: string;
|
|
1198
|
+
versionId: string;
|
|
1199
|
+
sha256Hash: string;
|
|
1200
|
+
checkedAt: string;
|
|
1201
|
+
}>;
|
|
1202
|
+
}>;
|
|
1203
|
+
};
|
|
1204
|
+
};
|
|
1205
|
+
export type ReuseEligibilityQueryVariables = Exact<{
|
|
1206
|
+
proposalId: Scalars['ID']['input'];
|
|
1207
|
+
approvalId?: InputMaybe<Scalars['ID']['input']>;
|
|
1208
|
+
}>;
|
|
1209
|
+
export type ReuseEligibilityQuery = {
|
|
1210
|
+
__typename?: 'Query';
|
|
1211
|
+
mtwReuseEligibility: {
|
|
1212
|
+
__typename?: 'MtwReuseEligibility';
|
|
1213
|
+
proposalId: string;
|
|
1214
|
+
approvalId?: string | null;
|
|
1215
|
+
evaluatedAt: string;
|
|
1216
|
+
status: MtwReuseReadinessStatus;
|
|
1217
|
+
blockers: Array<{
|
|
1218
|
+
__typename?: 'MtwReuseBlocker';
|
|
1219
|
+
code: string;
|
|
1220
|
+
certainty: MtwReuseBlockerCertainty;
|
|
1221
|
+
reason: string;
|
|
1222
|
+
}>;
|
|
1223
|
+
};
|
|
1224
|
+
};
|
|
1225
|
+
export type ReuseReservationsQueryVariables = Exact<{
|
|
1226
|
+
cycleId: Scalars['ID']['input'];
|
|
1227
|
+
pagination: MtwContainerPagination;
|
|
1228
|
+
}>;
|
|
1229
|
+
export type ReuseReservationsQuery = {
|
|
1230
|
+
__typename?: 'Query';
|
|
1231
|
+
mtwReuseReservationPage: {
|
|
1232
|
+
__typename?: 'MtwReuseReservationPage';
|
|
1233
|
+
total: number;
|
|
1234
|
+
limit: number;
|
|
1235
|
+
offset: number;
|
|
1236
|
+
hasMore: boolean;
|
|
1237
|
+
nextOffset?: number | null;
|
|
1238
|
+
items: Array<{
|
|
1239
|
+
__typename?: 'MtwReuseReservation';
|
|
1240
|
+
id: string;
|
|
1241
|
+
containerId: string;
|
|
1242
|
+
cycleId: string;
|
|
1243
|
+
proposalId: string;
|
|
1244
|
+
approvalId: string;
|
|
1245
|
+
status: MtwReuseReservationStatus;
|
|
1246
|
+
version: number;
|
|
1247
|
+
handoffUntil: string;
|
|
1248
|
+
createdAt: string;
|
|
1249
|
+
updatedAt: string;
|
|
1250
|
+
createdBy: string;
|
|
1251
|
+
updatedBy?: string | null;
|
|
1252
|
+
}>;
|
|
1253
|
+
};
|
|
1254
|
+
};
|
|
1255
|
+
export type RecordReturnInstructionMutationVariables = Exact<{
|
|
1256
|
+
input: RecordMtwEmptyReturnInstructionInput;
|
|
1257
|
+
}>;
|
|
1258
|
+
export type RecordReturnInstructionMutation = {
|
|
1259
|
+
__typename?: 'Mutation';
|
|
1260
|
+
recordMtwEmptyReturnInstruction: {
|
|
1261
|
+
__typename?: 'MtwEmptyReturnInstruction';
|
|
1262
|
+
id: string;
|
|
1263
|
+
cycleId: string;
|
|
1264
|
+
version: number;
|
|
1265
|
+
ownerReference: string;
|
|
1266
|
+
bookingReference: string;
|
|
1267
|
+
depotReference: string;
|
|
1268
|
+
locationReference: string;
|
|
1269
|
+
returnFrom: string;
|
|
1270
|
+
returnUntil: string;
|
|
1271
|
+
effectiveAt: string;
|
|
1272
|
+
sourceReference: string;
|
|
1273
|
+
changeReason: string;
|
|
1274
|
+
supersedesInstructionId?: string | null;
|
|
1275
|
+
recordedAt: string;
|
|
1276
|
+
createdBy: string;
|
|
1277
|
+
evidence: Array<{
|
|
1278
|
+
__typename?: 'MtwContainerEvidence';
|
|
1279
|
+
fileId: string;
|
|
1280
|
+
versionId: string;
|
|
1281
|
+
sha256Hash: string;
|
|
1282
|
+
checkedAt: string;
|
|
1283
|
+
}>;
|
|
1284
|
+
};
|
|
1285
|
+
};
|
|
1286
|
+
export type RecordReuseProposalMutationVariables = Exact<{
|
|
1287
|
+
input: RecordMtwReuseProposalInput;
|
|
1288
|
+
}>;
|
|
1289
|
+
export type RecordReuseProposalMutation = {
|
|
1290
|
+
__typename?: 'Mutation';
|
|
1291
|
+
recordMtwReuseProposal: {
|
|
1292
|
+
__typename?: 'MtwReuseProposal';
|
|
1293
|
+
id: string;
|
|
1294
|
+
cycleId: string;
|
|
1295
|
+
containerId: string;
|
|
1296
|
+
instructionId: string;
|
|
1297
|
+
proposalReference: string;
|
|
1298
|
+
revision: number;
|
|
1299
|
+
emptyEventId: string;
|
|
1300
|
+
inspectionId: string;
|
|
1301
|
+
transportRouteId: string;
|
|
1302
|
+
transportRouteUpdatedAt: string;
|
|
1303
|
+
exportBookingReference: string;
|
|
1304
|
+
exporterReference: string;
|
|
1305
|
+
handoffLocationReference: string;
|
|
1306
|
+
handoffFrom: string;
|
|
1307
|
+
handoffUntil: string;
|
|
1308
|
+
requiredEquipmentType: MtwEquipmentType;
|
|
1309
|
+
cargoCategory: MtwContainerCargoCategory;
|
|
1310
|
+
recordedAt: string;
|
|
1311
|
+
createdBy: string;
|
|
1312
|
+
evidence: Array<{
|
|
1313
|
+
__typename?: 'MtwContainerEvidence';
|
|
1314
|
+
fileId: string;
|
|
1315
|
+
versionId: string;
|
|
1316
|
+
sha256Hash: string;
|
|
1317
|
+
checkedAt: string;
|
|
1318
|
+
}>;
|
|
1319
|
+
assessment: {
|
|
1320
|
+
__typename?: 'MtwReuseProposalAssessment';
|
|
1321
|
+
schemaVersion: number;
|
|
1322
|
+
scopeFingerprint: string;
|
|
1323
|
+
conditionQualificationId?: string | null;
|
|
1324
|
+
conditionQualificationVersion?: number | null;
|
|
1325
|
+
sources: {
|
|
1326
|
+
__typename?: 'MtwReuseSources';
|
|
1327
|
+
booking?: {
|
|
1328
|
+
__typename?: 'MtwReuseSourceAttestation';
|
|
1329
|
+
purpose: MtwReuseSourcePurpose;
|
|
1330
|
+
sourceReference: string;
|
|
1331
|
+
sourceRevision: string;
|
|
1332
|
+
observedAt: string;
|
|
1333
|
+
recordedAt: string;
|
|
1334
|
+
validFrom: string;
|
|
1335
|
+
validUntil: string;
|
|
1336
|
+
recordedByActorId: string;
|
|
1337
|
+
scopeFingerprint: string;
|
|
1338
|
+
evidence: Array<{
|
|
1339
|
+
__typename?: 'MtwContainerEvidence';
|
|
1340
|
+
fileId: string;
|
|
1341
|
+
versionId: string;
|
|
1342
|
+
sha256Hash: string;
|
|
1343
|
+
checkedAt: string;
|
|
1344
|
+
}>;
|
|
1345
|
+
} | null;
|
|
1346
|
+
roadAccess?: {
|
|
1347
|
+
__typename?: 'MtwReuseSourceAttestation';
|
|
1348
|
+
purpose: MtwReuseSourcePurpose;
|
|
1349
|
+
sourceReference: string;
|
|
1350
|
+
sourceRevision: string;
|
|
1351
|
+
observedAt: string;
|
|
1352
|
+
recordedAt: string;
|
|
1353
|
+
validFrom: string;
|
|
1354
|
+
validUntil: string;
|
|
1355
|
+
recordedByActorId: string;
|
|
1356
|
+
scopeFingerprint: string;
|
|
1357
|
+
evidence: Array<{
|
|
1358
|
+
__typename?: 'MtwContainerEvidence';
|
|
1359
|
+
fileId: string;
|
|
1360
|
+
versionId: string;
|
|
1361
|
+
sha256Hash: string;
|
|
1362
|
+
checkedAt: string;
|
|
1363
|
+
}>;
|
|
1364
|
+
} | null;
|
|
1365
|
+
conditionSuitability?: {
|
|
1366
|
+
__typename?: 'MtwReuseSourceAttestation';
|
|
1367
|
+
purpose: MtwReuseSourcePurpose;
|
|
1368
|
+
sourceReference: string;
|
|
1369
|
+
sourceRevision: string;
|
|
1370
|
+
observedAt: string;
|
|
1371
|
+
recordedAt: string;
|
|
1372
|
+
validFrom: string;
|
|
1373
|
+
validUntil: string;
|
|
1374
|
+
recordedByActorId: string;
|
|
1375
|
+
scopeFingerprint: string;
|
|
1376
|
+
evidence: Array<{
|
|
1377
|
+
__typename?: 'MtwContainerEvidence';
|
|
1378
|
+
fileId: string;
|
|
1379
|
+
versionId: string;
|
|
1380
|
+
sha256Hash: string;
|
|
1381
|
+
checkedAt: string;
|
|
1382
|
+
}>;
|
|
1383
|
+
} | null;
|
|
1384
|
+
retainedReturnPlan?: {
|
|
1385
|
+
__typename?: 'MtwReuseSourceAttestation';
|
|
1386
|
+
purpose: MtwReuseSourcePurpose;
|
|
1387
|
+
sourceReference: string;
|
|
1388
|
+
sourceRevision: string;
|
|
1389
|
+
observedAt: string;
|
|
1390
|
+
recordedAt: string;
|
|
1391
|
+
validFrom: string;
|
|
1392
|
+
validUntil: string;
|
|
1393
|
+
recordedByActorId: string;
|
|
1394
|
+
scopeFingerprint: string;
|
|
1395
|
+
evidence: Array<{
|
|
1396
|
+
__typename?: 'MtwContainerEvidence';
|
|
1397
|
+
fileId: string;
|
|
1398
|
+
versionId: string;
|
|
1399
|
+
sha256Hash: string;
|
|
1400
|
+
checkedAt: string;
|
|
1401
|
+
}>;
|
|
1402
|
+
} | null;
|
|
1403
|
+
};
|
|
1404
|
+
timing?: {
|
|
1405
|
+
__typename?: 'MtwReuseTiming';
|
|
1406
|
+
departureAt: string;
|
|
1407
|
+
maxTravelSeconds: number;
|
|
1408
|
+
maxWaitSeconds: number;
|
|
1409
|
+
siteOpenAt: string;
|
|
1410
|
+
siteCloseAt: string;
|
|
1411
|
+
maxFullReuseAndReturnSeconds: number;
|
|
1412
|
+
siteWaitingLocationReference?: string | null;
|
|
1413
|
+
returnWaitingLocationReference?: string | null;
|
|
1414
|
+
plannedReturnFrom: string;
|
|
1415
|
+
plannedReturnUntil: string;
|
|
1416
|
+
} | null;
|
|
1417
|
+
routeBinding?: {
|
|
1418
|
+
__typename?: 'MtwReuseRouteBinding';
|
|
1419
|
+
handoffWaypointIndex: number;
|
|
1420
|
+
returnWaypointIndex: number;
|
|
1421
|
+
handoffWaypointFingerprint: string;
|
|
1422
|
+
returnWaypointFingerprint: string;
|
|
1423
|
+
routeWaypointsFingerprint: string;
|
|
1424
|
+
handoffLocationReference: string;
|
|
1425
|
+
returnLocationReference: string;
|
|
1426
|
+
} | null;
|
|
1427
|
+
};
|
|
1428
|
+
};
|
|
1429
|
+
};
|
|
1430
|
+
export type RecordReuseApprovalMutationVariables = Exact<{
|
|
1431
|
+
input: RecordMtwEquipmentReuseApprovalInput;
|
|
1432
|
+
}>;
|
|
1433
|
+
export type RecordReuseApprovalMutation = {
|
|
1434
|
+
__typename?: 'Mutation';
|
|
1435
|
+
recordMtwEquipmentReuseApproval: {
|
|
1436
|
+
__typename?: 'MtwEquipmentReuseApproval';
|
|
1437
|
+
id: string;
|
|
1438
|
+
proposalId: string;
|
|
1439
|
+
kind: MtwReuseApprovalKind;
|
|
1440
|
+
approvalId?: string | null;
|
|
1441
|
+
counterpartyReference: string;
|
|
1442
|
+
sourceReference: string;
|
|
1443
|
+
validFrom?: string | null;
|
|
1444
|
+
validUntil?: string | null;
|
|
1445
|
+
note: string;
|
|
1446
|
+
recordedAt: string;
|
|
1447
|
+
createdBy: string;
|
|
1448
|
+
evidence: Array<{
|
|
1449
|
+
__typename?: 'MtwContainerEvidence';
|
|
1450
|
+
fileId: string;
|
|
1451
|
+
versionId: string;
|
|
1452
|
+
sha256Hash: string;
|
|
1453
|
+
checkedAt: string;
|
|
1454
|
+
}>;
|
|
1455
|
+
};
|
|
1456
|
+
};
|
|
1457
|
+
export type AcceptReuseReservationMutationVariables = Exact<{
|
|
1458
|
+
input: AcceptMtwReuseReservationInput;
|
|
1459
|
+
}>;
|
|
1460
|
+
export type AcceptReuseReservationMutation = {
|
|
1461
|
+
__typename?: 'Mutation';
|
|
1462
|
+
acceptMtwReuseReservation: {
|
|
1463
|
+
__typename?: 'MtwReuseReservation';
|
|
1464
|
+
id: string;
|
|
1465
|
+
containerId: string;
|
|
1466
|
+
cycleId: string;
|
|
1467
|
+
proposalId: string;
|
|
1468
|
+
approvalId: string;
|
|
1469
|
+
status: MtwReuseReservationStatus;
|
|
1470
|
+
version: number;
|
|
1471
|
+
handoffUntil: string;
|
|
1472
|
+
createdAt: string;
|
|
1473
|
+
updatedAt: string;
|
|
1474
|
+
createdBy: string;
|
|
1475
|
+
updatedBy?: string | null;
|
|
1476
|
+
};
|
|
1477
|
+
};
|
|
1478
|
+
export type TerminateReuseReservationMutationVariables = Exact<{
|
|
1479
|
+
input: TerminateMtwReuseReservationInput;
|
|
1480
|
+
}>;
|
|
1481
|
+
export type TerminateReuseReservationMutation = {
|
|
1482
|
+
__typename?: 'Mutation';
|
|
1483
|
+
terminateMtwReuseReservation: {
|
|
1484
|
+
__typename?: 'MtwReuseReservation';
|
|
1485
|
+
id: string;
|
|
1486
|
+
containerId: string;
|
|
1487
|
+
cycleId: string;
|
|
1488
|
+
proposalId: string;
|
|
1489
|
+
approvalId: string;
|
|
1490
|
+
status: MtwReuseReservationStatus;
|
|
1491
|
+
version: number;
|
|
1492
|
+
handoffUntil: string;
|
|
1493
|
+
createdAt: string;
|
|
1494
|
+
updatedAt: string;
|
|
1495
|
+
createdBy: string;
|
|
1496
|
+
updatedBy?: string | null;
|
|
1497
|
+
};
|
|
1498
|
+
};
|
|
1499
|
+
export type ReuseReservationTransitionsQueryVariables = Exact<{
|
|
1500
|
+
reservationId: Scalars['ID']['input'];
|
|
1501
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
1502
|
+
}>;
|
|
1503
|
+
export type ReuseReservationTransitionsQuery = {
|
|
1504
|
+
__typename?: 'Query';
|
|
1505
|
+
mtwReuseReservationTransitionPage: {
|
|
1506
|
+
__typename?: 'MtwReuseReservationTransitionPage';
|
|
1507
|
+
total: number;
|
|
1508
|
+
limit: number;
|
|
1509
|
+
offset: number;
|
|
1510
|
+
hasMore: boolean;
|
|
1511
|
+
nextOffset?: number | null;
|
|
1512
|
+
items: Array<{
|
|
1513
|
+
__typename?: 'MtwReuseReservationTransition';
|
|
1514
|
+
id: string;
|
|
1515
|
+
reservationId: string;
|
|
1516
|
+
previousStatus: MtwReuseReservationStatus;
|
|
1517
|
+
status: MtwReuseReservationStatus;
|
|
1518
|
+
reason: string;
|
|
1519
|
+
recordedAt: string;
|
|
1520
|
+
createdBy: string;
|
|
1521
|
+
}>;
|
|
1522
|
+
};
|
|
1523
|
+
};
|
|
1524
|
+
export type BoundReturnInstructionQueryVariables = Exact<{
|
|
1525
|
+
id: Scalars['ID']['input'];
|
|
1526
|
+
}>;
|
|
1527
|
+
export type BoundReturnInstructionQuery = {
|
|
1528
|
+
__typename?: 'Query';
|
|
1529
|
+
mtwEmptyReturnInstruction: {
|
|
1530
|
+
__typename?: 'MtwEmptyReturnInstruction';
|
|
1531
|
+
id: string;
|
|
1532
|
+
cycleId: string;
|
|
1533
|
+
version: number;
|
|
1534
|
+
ownerReference: string;
|
|
1535
|
+
bookingReference: string;
|
|
1536
|
+
depotReference: string;
|
|
1537
|
+
locationReference: string;
|
|
1538
|
+
returnFrom: string;
|
|
1539
|
+
returnUntil: string;
|
|
1540
|
+
effectiveAt: string;
|
|
1541
|
+
sourceReference: string;
|
|
1542
|
+
changeReason: string;
|
|
1543
|
+
supersedesInstructionId?: string | null;
|
|
1544
|
+
recordedAt: string;
|
|
1545
|
+
createdBy: string;
|
|
1546
|
+
evidence: Array<{
|
|
1547
|
+
__typename?: 'MtwContainerEvidence';
|
|
1548
|
+
fileId: string;
|
|
1549
|
+
versionId: string;
|
|
1550
|
+
sha256Hash: string;
|
|
1551
|
+
checkedAt: string;
|
|
1552
|
+
}>;
|
|
1553
|
+
};
|
|
1554
|
+
};
|
|
1555
|
+
export declare const ReuseEvidenceFragmentDoc: import('graphql').DocumentNode;
|
|
1556
|
+
export declare const ReturnInstructionFieldsFragmentDoc: import('graphql').DocumentNode;
|
|
1557
|
+
export declare const ReuseSourceFieldsFragmentDoc: import('graphql').DocumentNode;
|
|
1558
|
+
export declare const ReuseProposalFieldsFragmentDoc: import('graphql').DocumentNode;
|
|
1559
|
+
export declare const ReuseApprovalFieldsFragmentDoc: import('graphql').DocumentNode;
|
|
1560
|
+
export declare const ReuseReservationFieldsFragmentDoc: import('graphql').DocumentNode;
|
|
1561
|
+
export declare const ReuseContainersDocument: import('graphql').DocumentNode;
|
|
1562
|
+
export declare const ReuseCyclesDocument: import('graphql').DocumentNode;
|
|
1563
|
+
export declare const ReuseEventsDocument: import('graphql').DocumentNode;
|
|
1564
|
+
export declare const ReuseInspectionsDocument: import('graphql').DocumentNode;
|
|
1565
|
+
export declare const ReuseQualificationsDocument: import('graphql').DocumentNode;
|
|
1566
|
+
export declare const ReuseRouteDocument: import('graphql').DocumentNode;
|
|
1567
|
+
export declare const ReturnInstructionsDocument: import('graphql').DocumentNode;
|
|
1568
|
+
export declare const ReuseProposalsDocument: import('graphql').DocumentNode;
|
|
1569
|
+
export declare const ReuseApprovalsDocument: import('graphql').DocumentNode;
|
|
1570
|
+
export declare const ReuseEligibilityDocument: import('graphql').DocumentNode;
|
|
1571
|
+
export declare const ReuseReservationsDocument: import('graphql').DocumentNode;
|
|
1572
|
+
export declare const RecordReturnInstructionDocument: import('graphql').DocumentNode;
|
|
1573
|
+
export declare const RecordReuseProposalDocument: import('graphql').DocumentNode;
|
|
1574
|
+
export declare const RecordReuseApprovalDocument: import('graphql').DocumentNode;
|
|
1575
|
+
export declare const AcceptReuseReservationDocument: import('graphql').DocumentNode;
|
|
1576
|
+
export declare const TerminateReuseReservationDocument: import('graphql').DocumentNode;
|
|
1577
|
+
export declare const ReuseReservationTransitionsDocument: import('graphql').DocumentNode;
|
|
1578
|
+
export declare const BoundReturnInstructionDocument: import('graphql').DocumentNode;
|