@burdenoff/microfe-movethewheels 2026.930.5 → 2026.1010.2
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/useMultiModalShipments.js +1 -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/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 +20 -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/useMultiModalShipments.ts +2 -1
- 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/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,771 @@
|
|
|
1
|
+
import { gql } from '@apollo/client';
|
|
2
|
+
export type Maybe<T> = T | null;
|
|
3
|
+
export type InputMaybe<T> = Maybe<T>;
|
|
4
|
+
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
|
|
5
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
|
|
6
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
|
|
7
|
+
export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
|
|
8
|
+
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
|
|
9
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
10
|
+
export type Scalars = {
|
|
11
|
+
ID: { input: string; output: string; }
|
|
12
|
+
String: { input: string; output: string; }
|
|
13
|
+
Boolean: { input: boolean; output: boolean; }
|
|
14
|
+
Int: { input: number; output: number; }
|
|
15
|
+
Float: { input: number; output: number; }
|
|
16
|
+
DateTime: { input: string; output: string; }
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export type HoldMtwContainerInput = {
|
|
20
|
+
containerId: Scalars['ID']['input'];
|
|
21
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
22
|
+
heldAt: Scalars['DateTime']['input'];
|
|
23
|
+
idempotencyKey: Scalars['String']['input'];
|
|
24
|
+
reason: Scalars['String']['input'];
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export type MtwContainer = {
|
|
28
|
+
__typename?: 'MtwContainer';
|
|
29
|
+
containerNumber: Scalars['String']['output'];
|
|
30
|
+
createdAt: Scalars['DateTime']['output'];
|
|
31
|
+
equipmentType: MtwEquipmentType;
|
|
32
|
+
id: Scalars['ID']['output'];
|
|
33
|
+
ownerName?: Maybe<Scalars['String']['output']>;
|
|
34
|
+
source: Scalars['String']['output'];
|
|
35
|
+
suppliedContainerNumber: Scalars['String']['output'];
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export type MtwContainerCargoCategory =
|
|
39
|
+
| 'DANGEROUS'
|
|
40
|
+
| 'DRY'
|
|
41
|
+
| 'FOOD_GRADE'
|
|
42
|
+
| 'PEST'
|
|
43
|
+
| 'REEFER';
|
|
44
|
+
|
|
45
|
+
export type MtwContainerDefect = {
|
|
46
|
+
__typename?: 'MtwContainerDefect';
|
|
47
|
+
code: Scalars['String']['output'];
|
|
48
|
+
containerId: Scalars['ID']['output'];
|
|
49
|
+
createdAt: Scalars['DateTime']['output'];
|
|
50
|
+
details: Scalars['String']['output'];
|
|
51
|
+
id: Scalars['ID']['output'];
|
|
52
|
+
inspectionId: Scalars['ID']['output'];
|
|
53
|
+
severity: MtwContainerDefectSeverity;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export type MtwContainerDefectPage = {
|
|
57
|
+
__typename?: 'MtwContainerDefectPage';
|
|
58
|
+
hasMore: Scalars['Boolean']['output'];
|
|
59
|
+
items: Array<MtwContainerDefect>;
|
|
60
|
+
limit: Scalars['Int']['output'];
|
|
61
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
62
|
+
offset: Scalars['Int']['output'];
|
|
63
|
+
total: Scalars['Int']['output'];
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export type MtwContainerDefectSeverity =
|
|
67
|
+
| 'MAJOR'
|
|
68
|
+
| 'MINOR'
|
|
69
|
+
| 'SEVERE';
|
|
70
|
+
|
|
71
|
+
export type MtwContainerEvidence = {
|
|
72
|
+
__typename?: 'MtwContainerEvidence';
|
|
73
|
+
checkedAt: Scalars['DateTime']['output'];
|
|
74
|
+
fileId: Scalars['ID']['output'];
|
|
75
|
+
sha256Hash: Scalars['String']['output'];
|
|
76
|
+
versionId: Scalars['ID']['output'];
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
export type MtwContainerEvidenceInput = {
|
|
80
|
+
fileId: Scalars['ID']['input'];
|
|
81
|
+
versionId: Scalars['ID']['input'];
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export type MtwContainerExaminationScheme =
|
|
85
|
+
| 'ACEP'
|
|
86
|
+
| 'PES';
|
|
87
|
+
|
|
88
|
+
export type MtwContainerHold = {
|
|
89
|
+
__typename?: 'MtwContainerHold';
|
|
90
|
+
containerId: Scalars['ID']['output'];
|
|
91
|
+
createdAt: Scalars['DateTime']['output'];
|
|
92
|
+
defectIds: Array<Scalars['ID']['output']>;
|
|
93
|
+
evidence: Array<MtwContainerEvidence>;
|
|
94
|
+
heldAt: Scalars['DateTime']['output'];
|
|
95
|
+
id: Scalars['ID']['output'];
|
|
96
|
+
inspectionId?: Maybe<Scalars['ID']['output']>;
|
|
97
|
+
reason: Scalars['String']['output'];
|
|
98
|
+
releasedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
99
|
+
status: MtwContainerHoldStatus;
|
|
100
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
101
|
+
version: Scalars['Int']['output'];
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
export type MtwContainerHoldPage = {
|
|
105
|
+
__typename?: 'MtwContainerHoldPage';
|
|
106
|
+
hasMore: Scalars['Boolean']['output'];
|
|
107
|
+
items: Array<MtwContainerHold>;
|
|
108
|
+
limit: Scalars['Int']['output'];
|
|
109
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
110
|
+
offset: Scalars['Int']['output'];
|
|
111
|
+
total: Scalars['Int']['output'];
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
export type MtwContainerHoldStatus =
|
|
115
|
+
| 'OPEN'
|
|
116
|
+
| 'RELEASED';
|
|
117
|
+
|
|
118
|
+
export type MtwContainerInspection = {
|
|
119
|
+
__typename?: 'MtwContainerInspection';
|
|
120
|
+
acepReference?: Maybe<Scalars['String']['output']>;
|
|
121
|
+
cargoCategory: MtwContainerCargoCategory;
|
|
122
|
+
containerId: Scalars['ID']['output'];
|
|
123
|
+
cscPlateVersionId?: Maybe<Scalars['ID']['output']>;
|
|
124
|
+
defectCount: Scalars['Int']['output'];
|
|
125
|
+
evidence: Array<MtwContainerEvidence>;
|
|
126
|
+
examinationScheme: MtwContainerExaminationScheme;
|
|
127
|
+
examinationVersionId?: Maybe<Scalars['ID']['output']>;
|
|
128
|
+
id: Scalars['ID']['output'];
|
|
129
|
+
inspectedAt: Scalars['DateTime']['output'];
|
|
130
|
+
inspectorActorId: Scalars['ID']['output'];
|
|
131
|
+
nextExaminationAt?: Maybe<Scalars['DateTime']['output']>;
|
|
132
|
+
receivedAt: Scalars['DateTime']['output'];
|
|
133
|
+
resolvedDefectIds: Array<Scalars['ID']['output']>;
|
|
134
|
+
severeDefectCount: Scalars['Int']['output'];
|
|
135
|
+
suitability: MtwContainerSuitability;
|
|
136
|
+
templateVersion: Scalars['String']['output'];
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
export type MtwContainerInspectionPage = {
|
|
140
|
+
__typename?: 'MtwContainerInspectionPage';
|
|
141
|
+
hasMore: Scalars['Boolean']['output'];
|
|
142
|
+
items: Array<MtwContainerInspection>;
|
|
143
|
+
limit: Scalars['Int']['output'];
|
|
144
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
145
|
+
offset: Scalars['Int']['output'];
|
|
146
|
+
total: Scalars['Int']['output'];
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
export type MtwContainerPage = {
|
|
150
|
+
__typename?: 'MtwContainerPage';
|
|
151
|
+
hasMore: Scalars['Boolean']['output'];
|
|
152
|
+
items: Array<MtwContainer>;
|
|
153
|
+
limit: Scalars['Int']['output'];
|
|
154
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
155
|
+
offset: Scalars['Int']['output'];
|
|
156
|
+
total: Scalars['Int']['output'];
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
export type MtwContainerPagination = {
|
|
160
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
161
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
export type MtwContainerQualificationScope =
|
|
165
|
+
| 'ACEP_EXAMINATION'
|
|
166
|
+
| 'DANGEROUS_CARGO'
|
|
167
|
+
| 'DRY_CARGO'
|
|
168
|
+
| 'FOOD_GRADE_CARGO'
|
|
169
|
+
| 'PEST_CARGO'
|
|
170
|
+
| 'PES_EXAMINATION'
|
|
171
|
+
| 'REEFER_CARGO';
|
|
172
|
+
|
|
173
|
+
export type MtwContainerQualificationStatus =
|
|
174
|
+
| 'HUMAN_REVIEWED'
|
|
175
|
+
| 'REVOKED'
|
|
176
|
+
| 'SUBMITTED';
|
|
177
|
+
|
|
178
|
+
export type MtwContainerReleaseDecision = {
|
|
179
|
+
__typename?: 'MtwContainerReleaseDecision';
|
|
180
|
+
actorId: Scalars['ID']['output'];
|
|
181
|
+
containerId: Scalars['ID']['output'];
|
|
182
|
+
decidedAt: Scalars['DateTime']['output'];
|
|
183
|
+
evidence: Array<MtwContainerEvidence>;
|
|
184
|
+
holdId: Scalars['ID']['output'];
|
|
185
|
+
id: Scalars['ID']['output'];
|
|
186
|
+
inspectionId: Scalars['ID']['output'];
|
|
187
|
+
qualificationId: Scalars['ID']['output'];
|
|
188
|
+
resolutionReview: Scalars['String']['output'];
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
export type MtwContainerReleaseDecisionPage = {
|
|
192
|
+
__typename?: 'MtwContainerReleaseDecisionPage';
|
|
193
|
+
hasMore: Scalars['Boolean']['output'];
|
|
194
|
+
items: Array<MtwContainerReleaseDecision>;
|
|
195
|
+
limit: Scalars['Int']['output'];
|
|
196
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
197
|
+
offset: Scalars['Int']['output'];
|
|
198
|
+
total: Scalars['Int']['output'];
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
export type MtwContainerRepair = {
|
|
202
|
+
__typename?: 'MtwContainerRepair';
|
|
203
|
+
actorId: Scalars['ID']['output'];
|
|
204
|
+
completedAt: Scalars['DateTime']['output'];
|
|
205
|
+
containerId: Scalars['ID']['output'];
|
|
206
|
+
defectIds: Array<Scalars['ID']['output']>;
|
|
207
|
+
evidence: Array<MtwContainerEvidence>;
|
|
208
|
+
holdId: Scalars['ID']['output'];
|
|
209
|
+
id: Scalars['ID']['output'];
|
|
210
|
+
receivedAt: Scalars['DateTime']['output'];
|
|
211
|
+
workDescription: Scalars['String']['output'];
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
export type MtwContainerRepairPage = {
|
|
215
|
+
__typename?: 'MtwContainerRepairPage';
|
|
216
|
+
hasMore: Scalars['Boolean']['output'];
|
|
217
|
+
items: Array<MtwContainerRepair>;
|
|
218
|
+
limit: Scalars['Int']['output'];
|
|
219
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
220
|
+
offset: Scalars['Int']['output'];
|
|
221
|
+
total: Scalars['Int']['output'];
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
export type MtwContainerSuitability =
|
|
225
|
+
| 'ACCEPTABLE'
|
|
226
|
+
| 'REJECTED'
|
|
227
|
+
| 'REVIEW_REQUIRED';
|
|
228
|
+
|
|
229
|
+
export type MtwEquipmentType =
|
|
230
|
+
| 'DRY_20'
|
|
231
|
+
| 'DRY_40'
|
|
232
|
+
| 'FLAT_RACK'
|
|
233
|
+
| 'HIGH_CUBE_40'
|
|
234
|
+
| 'OPEN_TOP'
|
|
235
|
+
| 'OTHER'
|
|
236
|
+
| 'REEFER_20'
|
|
237
|
+
| 'REEFER_40'
|
|
238
|
+
| 'TANK';
|
|
239
|
+
|
|
240
|
+
export type MtwInspectorQualification = {
|
|
241
|
+
__typename?: 'MtwInspectorQualification';
|
|
242
|
+
createdAt: Scalars['DateTime']['output'];
|
|
243
|
+
credentialReference: Scalars['String']['output'];
|
|
244
|
+
evidence: Array<MtwContainerEvidence>;
|
|
245
|
+
id: Scalars['ID']['output'];
|
|
246
|
+
issuerConfirmationReference?: Maybe<Scalars['String']['output']>;
|
|
247
|
+
issuerName: Scalars['String']['output'];
|
|
248
|
+
reviewEvidence: Array<MtwContainerEvidence>;
|
|
249
|
+
reviewNote?: Maybe<Scalars['String']['output']>;
|
|
250
|
+
reviewedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
251
|
+
revocationReason?: Maybe<Scalars['String']['output']>;
|
|
252
|
+
revokedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
253
|
+
scopes: Array<MtwContainerQualificationScope>;
|
|
254
|
+
status: MtwContainerQualificationStatus;
|
|
255
|
+
subjectActorId: Scalars['ID']['output'];
|
|
256
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
257
|
+
validFrom: Scalars['DateTime']['output'];
|
|
258
|
+
validUntil: Scalars['DateTime']['output'];
|
|
259
|
+
verifierActorId?: Maybe<Scalars['ID']['output']>;
|
|
260
|
+
version: Scalars['Int']['output'];
|
|
261
|
+
};
|
|
262
|
+
|
|
263
|
+
export type MtwInspectorQualificationPage = {
|
|
264
|
+
__typename?: 'MtwInspectorQualificationPage';
|
|
265
|
+
hasMore: Scalars['Boolean']['output'];
|
|
266
|
+
items: Array<MtwInspectorQualification>;
|
|
267
|
+
limit: Scalars['Int']['output'];
|
|
268
|
+
nextOffset?: Maybe<Scalars['Int']['output']>;
|
|
269
|
+
offset: Scalars['Int']['output'];
|
|
270
|
+
total: Scalars['Int']['output'];
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
export type Mutation = {
|
|
274
|
+
__typename?: 'Mutation';
|
|
275
|
+
holdMtwContainer: MtwContainerHold;
|
|
276
|
+
recordMtwContainerInspection: MtwContainerInspection;
|
|
277
|
+
recordMtwContainerRepair: MtwContainerRepair;
|
|
278
|
+
releaseMtwContainerHold: MtwContainerReleaseDecision;
|
|
279
|
+
revokeMtwInspectorQualification: MtwInspectorQualification;
|
|
280
|
+
submitMtwInspectorQualification: MtwInspectorQualification;
|
|
281
|
+
verifyMtwInspectorQualification: MtwInspectorQualification;
|
|
282
|
+
};
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
export type MutationHoldMtwContainerArgs = {
|
|
286
|
+
input: HoldMtwContainerInput;
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
export type MutationRecordMtwContainerInspectionArgs = {
|
|
291
|
+
input: RecordMtwContainerInspectionInput;
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
export type MutationRecordMtwContainerRepairArgs = {
|
|
296
|
+
input: RecordMtwContainerRepairInput;
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
export type MutationReleaseMtwContainerHoldArgs = {
|
|
301
|
+
input: ReleaseMtwContainerHoldInput;
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
export type MutationRevokeMtwInspectorQualificationArgs = {
|
|
306
|
+
input: RevokeMtwInspectorQualificationInput;
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
export type MutationSubmitMtwInspectorQualificationArgs = {
|
|
311
|
+
input: SubmitMtwInspectorQualificationInput;
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
export type MutationVerifyMtwInspectorQualificationArgs = {
|
|
316
|
+
input: VerifyMtwInspectorQualificationInput;
|
|
317
|
+
};
|
|
318
|
+
|
|
319
|
+
export type Query = {
|
|
320
|
+
__typename?: 'Query';
|
|
321
|
+
mtwContainerDefectPage: MtwContainerDefectPage;
|
|
322
|
+
mtwContainerHoldPage: MtwContainerHoldPage;
|
|
323
|
+
mtwContainerInspectionPage: MtwContainerInspectionPage;
|
|
324
|
+
mtwContainerPage: MtwContainerPage;
|
|
325
|
+
mtwContainerQualificationPage: MtwInspectorQualificationPage;
|
|
326
|
+
mtwContainerReleaseDecisionPage: MtwContainerReleaseDecisionPage;
|
|
327
|
+
mtwContainerRepairPage: MtwContainerRepairPage;
|
|
328
|
+
};
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
export type QueryMtwContainerDefectPageArgs = {
|
|
332
|
+
inspectionId: Scalars['ID']['input'];
|
|
333
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
334
|
+
};
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
export type QueryMtwContainerHoldPageArgs = {
|
|
338
|
+
containerId: Scalars['ID']['input'];
|
|
339
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
340
|
+
};
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
export type QueryMtwContainerInspectionPageArgs = {
|
|
344
|
+
containerId: Scalars['ID']['input'];
|
|
345
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
export type QueryMtwContainerPageArgs = {
|
|
350
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
351
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
352
|
+
};
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
export type QueryMtwContainerQualificationPageArgs = {
|
|
356
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
357
|
+
};
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
export type QueryMtwContainerReleaseDecisionPageArgs = {
|
|
361
|
+
containerId: Scalars['ID']['input'];
|
|
362
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
export type QueryMtwContainerRepairPageArgs = {
|
|
367
|
+
holdId: Scalars['ID']['input'];
|
|
368
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
export type RecordMtwContainerDefectInput = {
|
|
372
|
+
code: Scalars['String']['input'];
|
|
373
|
+
details: Scalars['String']['input'];
|
|
374
|
+
severity: MtwContainerDefectSeverity;
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
export type RecordMtwContainerInspectionInput = {
|
|
378
|
+
acepReference?: InputMaybe<Scalars['String']['input']>;
|
|
379
|
+
cargoCategory: MtwContainerCargoCategory;
|
|
380
|
+
containerId: Scalars['ID']['input'];
|
|
381
|
+
cscPlateVersionId: Scalars['ID']['input'];
|
|
382
|
+
defects: Array<RecordMtwContainerDefectInput>;
|
|
383
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
384
|
+
examinationScheme: MtwContainerExaminationScheme;
|
|
385
|
+
examinationVersionId: Scalars['ID']['input'];
|
|
386
|
+
idempotencyKey: Scalars['String']['input'];
|
|
387
|
+
inspectedAt: Scalars['DateTime']['input'];
|
|
388
|
+
nextExaminationAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
389
|
+
resolvedDefectIds: Array<Scalars['ID']['input']>;
|
|
390
|
+
suitability: MtwContainerSuitability;
|
|
391
|
+
templateVersion: Scalars['String']['input'];
|
|
392
|
+
};
|
|
393
|
+
|
|
394
|
+
export type RecordMtwContainerRepairInput = {
|
|
395
|
+
completedAt: Scalars['DateTime']['input'];
|
|
396
|
+
defectIds: Array<Scalars['ID']['input']>;
|
|
397
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
398
|
+
expectedVersion: Scalars['Int']['input'];
|
|
399
|
+
holdId: Scalars['ID']['input'];
|
|
400
|
+
idempotencyKey: Scalars['String']['input'];
|
|
401
|
+
workDescription: Scalars['String']['input'];
|
|
402
|
+
};
|
|
403
|
+
|
|
404
|
+
export type ReleaseMtwContainerHoldInput = {
|
|
405
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
406
|
+
expectedVersion: Scalars['Int']['input'];
|
|
407
|
+
holdId: Scalars['ID']['input'];
|
|
408
|
+
idempotencyKey: Scalars['String']['input'];
|
|
409
|
+
inspectionId: Scalars['ID']['input'];
|
|
410
|
+
qualificationId: Scalars['ID']['input'];
|
|
411
|
+
resolutionReview: Scalars['String']['input'];
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
export type RevokeMtwInspectorQualificationInput = {
|
|
415
|
+
expectedVersion: Scalars['Int']['input'];
|
|
416
|
+
idempotencyKey: Scalars['String']['input'];
|
|
417
|
+
qualificationId: Scalars['ID']['input'];
|
|
418
|
+
reason: Scalars['String']['input'];
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
export type SubmitMtwInspectorQualificationInput = {
|
|
422
|
+
credentialReference: Scalars['String']['input'];
|
|
423
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
424
|
+
idempotencyKey: Scalars['String']['input'];
|
|
425
|
+
issuerName: Scalars['String']['input'];
|
|
426
|
+
scopes: Array<MtwContainerQualificationScope>;
|
|
427
|
+
validFrom: Scalars['DateTime']['input'];
|
|
428
|
+
validUntil: Scalars['DateTime']['input'];
|
|
429
|
+
};
|
|
430
|
+
|
|
431
|
+
export type VerifyMtwInspectorQualificationInput = {
|
|
432
|
+
evidence: Array<MtwContainerEvidenceInput>;
|
|
433
|
+
expectedVersion: Scalars['Int']['input'];
|
|
434
|
+
idempotencyKey: Scalars['String']['input'];
|
|
435
|
+
issuerConfirmationReference: Scalars['String']['input'];
|
|
436
|
+
qualificationId: Scalars['ID']['input'];
|
|
437
|
+
reviewNote: Scalars['String']['input'];
|
|
438
|
+
};
|
|
439
|
+
|
|
440
|
+
export type ConditionEvidenceFragment = { __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string };
|
|
441
|
+
|
|
442
|
+
export type InspectionSummaryFragment = { __typename?: 'MtwContainerInspection', id: string, containerId: string, inspectedAt: string, inspectorActorId: string, templateVersion: string, examinationScheme: MtwContainerExaminationScheme, nextExaminationAt?: string | null, acepReference?: string | null, cargoCategory: MtwContainerCargoCategory, suitability: MtwContainerSuitability, cscPlateVersionId?: string | null, examinationVersionId?: string | null, defectCount: number, severeDefectCount: number, resolvedDefectIds: Array<string>, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> };
|
|
443
|
+
|
|
444
|
+
export type HoldSummaryFragment = { __typename?: 'MtwContainerHold', id: string, containerId: string, inspectionId?: string | null, reason: string, heldAt: string, status: MtwContainerHoldStatus, version: number, defectIds: Array<string>, releasedAt?: string | null, updatedAt: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> };
|
|
445
|
+
|
|
446
|
+
export type QualificationSummaryFragment = { __typename?: 'MtwInspectorQualification', id: string, subjectActorId: string, issuerName: string, credentialReference: string, validFrom: string, validUntil: string, scopes: Array<MtwContainerQualificationScope>, status: MtwContainerQualificationStatus, version: number, verifierActorId?: string | null, reviewedAt?: string | null, issuerConfirmationReference?: string | null, reviewNote?: string | null, revokedAt?: string | null, revocationReason?: string | null, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }>, reviewEvidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> };
|
|
447
|
+
|
|
448
|
+
export type ConditionContainersQueryVariables = Exact<{
|
|
449
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
450
|
+
}>;
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
export type ConditionContainersQuery = { __typename?: 'Query', mtwContainerPage: { __typename?: 'MtwContainerPage', hasMore: boolean, nextOffset?: number | null, items: Array<{ __typename?: 'MtwContainer', id: string, containerNumber: string, equipmentType: MtwEquipmentType }> } };
|
|
454
|
+
|
|
455
|
+
export type ConditionInspectionsQueryVariables = Exact<{
|
|
456
|
+
containerId: Scalars['ID']['input'];
|
|
457
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
458
|
+
}>;
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
export type ConditionInspectionsQuery = { __typename?: 'Query', mtwContainerInspectionPage: { __typename?: 'MtwContainerInspectionPage', hasMore: boolean, nextOffset?: number | null, items: Array<{ __typename?: 'MtwContainerInspection', id: string, containerId: string, inspectedAt: string, inspectorActorId: string, templateVersion: string, examinationScheme: MtwContainerExaminationScheme, nextExaminationAt?: string | null, acepReference?: string | null, cargoCategory: MtwContainerCargoCategory, suitability: MtwContainerSuitability, cscPlateVersionId?: string | null, examinationVersionId?: string | null, defectCount: number, severeDefectCount: number, resolvedDefectIds: Array<string>, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> }> } };
|
|
462
|
+
|
|
463
|
+
export type ConditionHoldsQueryVariables = Exact<{
|
|
464
|
+
containerId: Scalars['ID']['input'];
|
|
465
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
466
|
+
}>;
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
export type ConditionHoldsQuery = { __typename?: 'Query', mtwContainerHoldPage: { __typename?: 'MtwContainerHoldPage', hasMore: boolean, nextOffset?: number | null, items: Array<{ __typename?: 'MtwContainerHold', id: string, containerId: string, inspectionId?: string | null, reason: string, heldAt: string, status: MtwContainerHoldStatus, version: number, defectIds: Array<string>, releasedAt?: string | null, updatedAt: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> }> } };
|
|
470
|
+
|
|
471
|
+
export type ConditionDefectsQueryVariables = Exact<{
|
|
472
|
+
inspectionId: Scalars['ID']['input'];
|
|
473
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
474
|
+
}>;
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
export type ConditionDefectsQuery = { __typename?: 'Query', mtwContainerDefectPage: { __typename?: 'MtwContainerDefectPage', hasMore: boolean, nextOffset?: number | null, items: Array<{ __typename?: 'MtwContainerDefect', id: string, code: string, severity: MtwContainerDefectSeverity, details: string }> } };
|
|
478
|
+
|
|
479
|
+
export type ConditionRepairsQueryVariables = Exact<{
|
|
480
|
+
holdId: Scalars['ID']['input'];
|
|
481
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
482
|
+
}>;
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
export type ConditionRepairsQuery = { __typename?: 'Query', mtwContainerRepairPage: { __typename?: 'MtwContainerRepairPage', hasMore: boolean, nextOffset?: number | null, items: Array<{ __typename?: 'MtwContainerRepair', id: string, completedAt: string, workDescription: string, defectIds: Array<string>, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> }> } };
|
|
486
|
+
|
|
487
|
+
export type ConditionReleasesQueryVariables = Exact<{
|
|
488
|
+
containerId: Scalars['ID']['input'];
|
|
489
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
490
|
+
}>;
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
export type ConditionReleasesQuery = { __typename?: 'Query', mtwContainerReleaseDecisionPage: { __typename?: 'MtwContainerReleaseDecisionPage', hasMore: boolean, nextOffset?: number | null, items: Array<{ __typename?: 'MtwContainerReleaseDecision', id: string, holdId: string, inspectionId: string, qualificationId: string, resolutionReview: string, decidedAt: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> }> } };
|
|
494
|
+
|
|
495
|
+
export type ConditionQualificationsQueryVariables = Exact<{
|
|
496
|
+
pagination?: InputMaybe<MtwContainerPagination>;
|
|
497
|
+
}>;
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
export type ConditionQualificationsQuery = { __typename?: 'Query', mtwContainerQualificationPage: { __typename?: 'MtwInspectorQualificationPage', hasMore: boolean, nextOffset?: number | null, items: Array<{ __typename?: 'MtwInspectorQualification', id: string, subjectActorId: string, issuerName: string, credentialReference: string, validFrom: string, validUntil: string, scopes: Array<MtwContainerQualificationScope>, status: MtwContainerQualificationStatus, version: number, verifierActorId?: string | null, reviewedAt?: string | null, issuerConfirmationReference?: string | null, reviewNote?: string | null, revokedAt?: string | null, revocationReason?: string | null, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }>, reviewEvidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> }> } };
|
|
501
|
+
|
|
502
|
+
export type RecordInspectionMutationVariables = Exact<{
|
|
503
|
+
input: RecordMtwContainerInspectionInput;
|
|
504
|
+
}>;
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
export type RecordInspectionMutation = { __typename?: 'Mutation', recordMtwContainerInspection: { __typename?: 'MtwContainerInspection', id: string, containerId: string, inspectedAt: string, inspectorActorId: string, templateVersion: string, examinationScheme: MtwContainerExaminationScheme, nextExaminationAt?: string | null, acepReference?: string | null, cargoCategory: MtwContainerCargoCategory, suitability: MtwContainerSuitability, cscPlateVersionId?: string | null, examinationVersionId?: string | null, defectCount: number, severeDefectCount: number, resolvedDefectIds: Array<string>, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } };
|
|
508
|
+
|
|
509
|
+
export type CreateConditionHoldMutationVariables = Exact<{
|
|
510
|
+
input: HoldMtwContainerInput;
|
|
511
|
+
}>;
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
export type CreateConditionHoldMutation = { __typename?: 'Mutation', holdMtwContainer: { __typename?: 'MtwContainerHold', id: string, containerId: string, inspectionId?: string | null, reason: string, heldAt: string, status: MtwContainerHoldStatus, version: number, defectIds: Array<string>, releasedAt?: string | null, updatedAt: string, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } };
|
|
515
|
+
|
|
516
|
+
export type RecordConditionRepairMutationVariables = Exact<{
|
|
517
|
+
input: RecordMtwContainerRepairInput;
|
|
518
|
+
}>;
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
export type RecordConditionRepairMutation = { __typename?: 'Mutation', recordMtwContainerRepair: { __typename?: 'MtwContainerRepair', id: string } };
|
|
522
|
+
|
|
523
|
+
export type SubmitInspectorQualificationMutationVariables = Exact<{
|
|
524
|
+
input: SubmitMtwInspectorQualificationInput;
|
|
525
|
+
}>;
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
export type SubmitInspectorQualificationMutation = { __typename?: 'Mutation', submitMtwInspectorQualification: { __typename?: 'MtwInspectorQualification', id: string, subjectActorId: string, issuerName: string, credentialReference: string, validFrom: string, validUntil: string, scopes: Array<MtwContainerQualificationScope>, status: MtwContainerQualificationStatus, version: number, verifierActorId?: string | null, reviewedAt?: string | null, issuerConfirmationReference?: string | null, reviewNote?: string | null, revokedAt?: string | null, revocationReason?: string | null, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }>, reviewEvidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } };
|
|
529
|
+
|
|
530
|
+
export type ReviewInspectorQualificationMutationVariables = Exact<{
|
|
531
|
+
input: VerifyMtwInspectorQualificationInput;
|
|
532
|
+
}>;
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
export type ReviewInspectorQualificationMutation = { __typename?: 'Mutation', verifyMtwInspectorQualification: { __typename?: 'MtwInspectorQualification', id: string, subjectActorId: string, issuerName: string, credentialReference: string, validFrom: string, validUntil: string, scopes: Array<MtwContainerQualificationScope>, status: MtwContainerQualificationStatus, version: number, verifierActorId?: string | null, reviewedAt?: string | null, issuerConfirmationReference?: string | null, reviewNote?: string | null, revokedAt?: string | null, revocationReason?: string | null, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }>, reviewEvidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } };
|
|
536
|
+
|
|
537
|
+
export type RevokeInspectorQualificationMutationVariables = Exact<{
|
|
538
|
+
input: RevokeMtwInspectorQualificationInput;
|
|
539
|
+
}>;
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
export type RevokeInspectorQualificationMutation = { __typename?: 'Mutation', revokeMtwInspectorQualification: { __typename?: 'MtwInspectorQualification', id: string, subjectActorId: string, issuerName: string, credentialReference: string, validFrom: string, validUntil: string, scopes: Array<MtwContainerQualificationScope>, status: MtwContainerQualificationStatus, version: number, verifierActorId?: string | null, reviewedAt?: string | null, issuerConfirmationReference?: string | null, reviewNote?: string | null, revokedAt?: string | null, revocationReason?: string | null, evidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }>, reviewEvidence: Array<{ __typename?: 'MtwContainerEvidence', fileId: string, versionId: string, sha256Hash: string, checkedAt: string }> } };
|
|
543
|
+
|
|
544
|
+
export type ReleaseConditionHoldMutationVariables = Exact<{
|
|
545
|
+
input: ReleaseMtwContainerHoldInput;
|
|
546
|
+
}>;
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
export type ReleaseConditionHoldMutation = { __typename?: 'Mutation', releaseMtwContainerHold: { __typename?: 'MtwContainerReleaseDecision', id: string, decidedAt: string } };
|
|
550
|
+
|
|
551
|
+
export const ConditionEvidenceFragmentDoc = gql`
|
|
552
|
+
fragment ConditionEvidence on MtwContainerEvidence {
|
|
553
|
+
fileId
|
|
554
|
+
versionId
|
|
555
|
+
sha256Hash
|
|
556
|
+
checkedAt
|
|
557
|
+
}
|
|
558
|
+
`;
|
|
559
|
+
export const InspectionSummaryFragmentDoc = gql`
|
|
560
|
+
fragment InspectionSummary on MtwContainerInspection {
|
|
561
|
+
id
|
|
562
|
+
containerId
|
|
563
|
+
inspectedAt
|
|
564
|
+
inspectorActorId
|
|
565
|
+
templateVersion
|
|
566
|
+
examinationScheme
|
|
567
|
+
nextExaminationAt
|
|
568
|
+
acepReference
|
|
569
|
+
cargoCategory
|
|
570
|
+
suitability
|
|
571
|
+
cscPlateVersionId
|
|
572
|
+
examinationVersionId
|
|
573
|
+
defectCount
|
|
574
|
+
severeDefectCount
|
|
575
|
+
resolvedDefectIds
|
|
576
|
+
evidence {
|
|
577
|
+
...ConditionEvidence
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
${ConditionEvidenceFragmentDoc}`;
|
|
581
|
+
export const HoldSummaryFragmentDoc = gql`
|
|
582
|
+
fragment HoldSummary on MtwContainerHold {
|
|
583
|
+
id
|
|
584
|
+
containerId
|
|
585
|
+
inspectionId
|
|
586
|
+
reason
|
|
587
|
+
heldAt
|
|
588
|
+
status
|
|
589
|
+
version
|
|
590
|
+
defectIds
|
|
591
|
+
releasedAt
|
|
592
|
+
updatedAt
|
|
593
|
+
evidence {
|
|
594
|
+
...ConditionEvidence
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
${ConditionEvidenceFragmentDoc}`;
|
|
598
|
+
export const QualificationSummaryFragmentDoc = gql`
|
|
599
|
+
fragment QualificationSummary on MtwInspectorQualification {
|
|
600
|
+
id
|
|
601
|
+
subjectActorId
|
|
602
|
+
issuerName
|
|
603
|
+
credentialReference
|
|
604
|
+
validFrom
|
|
605
|
+
validUntil
|
|
606
|
+
scopes
|
|
607
|
+
status
|
|
608
|
+
version
|
|
609
|
+
verifierActorId
|
|
610
|
+
reviewedAt
|
|
611
|
+
issuerConfirmationReference
|
|
612
|
+
reviewNote
|
|
613
|
+
revokedAt
|
|
614
|
+
revocationReason
|
|
615
|
+
evidence {
|
|
616
|
+
...ConditionEvidence
|
|
617
|
+
}
|
|
618
|
+
reviewEvidence {
|
|
619
|
+
...ConditionEvidence
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
${ConditionEvidenceFragmentDoc}`;
|
|
623
|
+
export const ConditionContainersDocument = gql`
|
|
624
|
+
query ConditionContainers($pagination: MtwContainerPagination) {
|
|
625
|
+
mtwContainerPage(pagination: $pagination) {
|
|
626
|
+
items {
|
|
627
|
+
id
|
|
628
|
+
containerNumber
|
|
629
|
+
equipmentType
|
|
630
|
+
}
|
|
631
|
+
hasMore
|
|
632
|
+
nextOffset
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
`;
|
|
636
|
+
export const ConditionInspectionsDocument = gql`
|
|
637
|
+
query ConditionInspections($containerId: ID!, $pagination: MtwContainerPagination) {
|
|
638
|
+
mtwContainerInspectionPage(containerId: $containerId, pagination: $pagination) {
|
|
639
|
+
items {
|
|
640
|
+
...InspectionSummary
|
|
641
|
+
}
|
|
642
|
+
hasMore
|
|
643
|
+
nextOffset
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
${InspectionSummaryFragmentDoc}`;
|
|
647
|
+
export const ConditionHoldsDocument = gql`
|
|
648
|
+
query ConditionHolds($containerId: ID!, $pagination: MtwContainerPagination) {
|
|
649
|
+
mtwContainerHoldPage(containerId: $containerId, pagination: $pagination) {
|
|
650
|
+
items {
|
|
651
|
+
...HoldSummary
|
|
652
|
+
}
|
|
653
|
+
hasMore
|
|
654
|
+
nextOffset
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
${HoldSummaryFragmentDoc}`;
|
|
658
|
+
export const ConditionDefectsDocument = gql`
|
|
659
|
+
query ConditionDefects($inspectionId: ID!, $pagination: MtwContainerPagination) {
|
|
660
|
+
mtwContainerDefectPage(inspectionId: $inspectionId, pagination: $pagination) {
|
|
661
|
+
items {
|
|
662
|
+
id
|
|
663
|
+
code
|
|
664
|
+
severity
|
|
665
|
+
details
|
|
666
|
+
}
|
|
667
|
+
hasMore
|
|
668
|
+
nextOffset
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
`;
|
|
672
|
+
export const ConditionRepairsDocument = gql`
|
|
673
|
+
query ConditionRepairs($holdId: ID!, $pagination: MtwContainerPagination) {
|
|
674
|
+
mtwContainerRepairPage(holdId: $holdId, pagination: $pagination) {
|
|
675
|
+
items {
|
|
676
|
+
id
|
|
677
|
+
completedAt
|
|
678
|
+
workDescription
|
|
679
|
+
defectIds
|
|
680
|
+
evidence {
|
|
681
|
+
...ConditionEvidence
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
hasMore
|
|
685
|
+
nextOffset
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
${ConditionEvidenceFragmentDoc}`;
|
|
689
|
+
export const ConditionReleasesDocument = gql`
|
|
690
|
+
query ConditionReleases($containerId: ID!, $pagination: MtwContainerPagination) {
|
|
691
|
+
mtwContainerReleaseDecisionPage(
|
|
692
|
+
containerId: $containerId
|
|
693
|
+
pagination: $pagination
|
|
694
|
+
) {
|
|
695
|
+
items {
|
|
696
|
+
id
|
|
697
|
+
holdId
|
|
698
|
+
inspectionId
|
|
699
|
+
qualificationId
|
|
700
|
+
resolutionReview
|
|
701
|
+
decidedAt
|
|
702
|
+
evidence {
|
|
703
|
+
...ConditionEvidence
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
hasMore
|
|
707
|
+
nextOffset
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
${ConditionEvidenceFragmentDoc}`;
|
|
711
|
+
export const ConditionQualificationsDocument = gql`
|
|
712
|
+
query ConditionQualifications($pagination: MtwContainerPagination) {
|
|
713
|
+
mtwContainerQualificationPage(pagination: $pagination) {
|
|
714
|
+
items {
|
|
715
|
+
...QualificationSummary
|
|
716
|
+
}
|
|
717
|
+
hasMore
|
|
718
|
+
nextOffset
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
${QualificationSummaryFragmentDoc}`;
|
|
722
|
+
export const RecordInspectionDocument = gql`
|
|
723
|
+
mutation RecordInspection($input: RecordMtwContainerInspectionInput!) {
|
|
724
|
+
recordMtwContainerInspection(input: $input) {
|
|
725
|
+
...InspectionSummary
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
${InspectionSummaryFragmentDoc}`;
|
|
729
|
+
export const CreateConditionHoldDocument = gql`
|
|
730
|
+
mutation CreateConditionHold($input: HoldMtwContainerInput!) {
|
|
731
|
+
holdMtwContainer(input: $input) {
|
|
732
|
+
...HoldSummary
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
${HoldSummaryFragmentDoc}`;
|
|
736
|
+
export const RecordConditionRepairDocument = gql`
|
|
737
|
+
mutation RecordConditionRepair($input: RecordMtwContainerRepairInput!) {
|
|
738
|
+
recordMtwContainerRepair(input: $input) {
|
|
739
|
+
id
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
`;
|
|
743
|
+
export const SubmitInspectorQualificationDocument = gql`
|
|
744
|
+
mutation SubmitInspectorQualification($input: SubmitMtwInspectorQualificationInput!) {
|
|
745
|
+
submitMtwInspectorQualification(input: $input) {
|
|
746
|
+
...QualificationSummary
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
${QualificationSummaryFragmentDoc}`;
|
|
750
|
+
export const ReviewInspectorQualificationDocument = gql`
|
|
751
|
+
mutation ReviewInspectorQualification($input: VerifyMtwInspectorQualificationInput!) {
|
|
752
|
+
verifyMtwInspectorQualification(input: $input) {
|
|
753
|
+
...QualificationSummary
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
${QualificationSummaryFragmentDoc}`;
|
|
757
|
+
export const RevokeInspectorQualificationDocument = gql`
|
|
758
|
+
mutation RevokeInspectorQualification($input: RevokeMtwInspectorQualificationInput!) {
|
|
759
|
+
revokeMtwInspectorQualification(input: $input) {
|
|
760
|
+
...QualificationSummary
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
${QualificationSummaryFragmentDoc}`;
|
|
764
|
+
export const ReleaseConditionHoldDocument = gql`
|
|
765
|
+
mutation ReleaseConditionHold($input: ReleaseMtwContainerHoldInput!) {
|
|
766
|
+
releaseMtwContainerHold(input: $input) {
|
|
767
|
+
id
|
|
768
|
+
decidedAt
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
`;
|