@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.
Files changed (375) hide show
  1. package/dist/MoveTheWheelsRoot.js +177 -102
  2. package/dist/MoveTheWheelsRoutes.js +55 -11
  3. package/dist/_virtual/_rolldown/runtime.js +1 -1
  4. package/dist/components/ContainerEvidencePicker.js +143 -0
  5. package/dist/components/FreeTimeAgreementForm.js +496 -0
  6. package/dist/components/ReturnInstructionForm.js +108 -0
  7. package/dist/components/ReuseControls.js +91 -0
  8. package/dist/components/ReusePermissionForm.js +114 -0
  9. package/dist/components/ReuseProposalForm.js +455 -0
  10. package/dist/components/ReuseSourceFields.js +78 -0
  11. package/dist/components/consolidation/ConsolidationHistory.js +244 -0
  12. package/dist/components/consolidation/ConsolidationLotEditor.js +133 -0
  13. package/dist/components/consolidation/ConsolidationManifestWorkbench.js +143 -0
  14. package/dist/components/consolidation/ConsolidationPlanForm.js +172 -0
  15. package/dist/components/consolidation/ConsolidationPlanWorkbench.js +321 -0
  16. package/dist/components/consolidation/ConsolidationReportForm.js +94 -0
  17. package/dist/components/consolidation/ConsolidationReportsWorkbench.js +195 -0
  18. package/dist/components/consolidation/ConsolidationSummary.js +76 -0
  19. package/dist/components/consolidation/OriginalConsolidationHistory.js +112 -0
  20. package/dist/components/freight-cost/FreightDraftForm.js +213 -0
  21. package/dist/components/freight-cost/FreightFields.js +70 -0
  22. package/dist/components/freight-cost/FreightFxEditor.js +90 -0
  23. package/dist/components/freight-cost/FreightHistory.js +164 -0
  24. package/dist/components/freight-cost/FreightLineEditor.js +191 -0
  25. package/dist/components/freight-cost/FreightScopeEditor.js +72 -0
  26. package/dist/components/freight-cost/FreightTotals.js +66 -0
  27. package/dist/components/logistics-procedure/ProcedureDecisionForm.js +197 -0
  28. package/dist/components/logistics-procedure/ProcedureFields.js +31 -0
  29. package/dist/components/logistics-procedure/ProcedureHistory.js +177 -0
  30. package/dist/components/logistics-procedure/ProcedurePolicyForm.js +227 -0
  31. package/dist/components/logistics-procedure/ProcedurePolicyWorkbench.js +155 -0
  32. package/dist/components/logistics-procedure/ProcedureReviewWorkbench.js +221 -0
  33. package/dist/components/logistics-procedure/ProcedureRunWorkbench.js +190 -0
  34. package/dist/components/logistics-procedure/ProcedureSubjectPicker.js +130 -0
  35. package/dist/components/pending-pick/PendingPickDraft.js +84 -0
  36. package/dist/components/pending-pick/PendingPickHistory.js +113 -0
  37. package/dist/components/pending-pick/PickCapture.js +166 -0
  38. package/dist/components/pending-pick/PickLineSelection.js +111 -0
  39. package/dist/components/stock-binding/StockAssessmentDraft.js +48 -0
  40. package/dist/components/stock-binding/StockAssessmentHistory.js +61 -0
  41. package/dist/components/stock-binding/StockAssessmentSummary.js +199 -0
  42. package/dist/components/stock-binding/StockFactForm.js +232 -0
  43. package/dist/components/stock-observation/StockIssueForm.js +148 -0
  44. package/dist/components/stock-observation/StockIssueHistory.js +116 -0
  45. package/dist/components/stock-observation/StockIssueReadPanel.js +70 -0
  46. package/dist/components/trip-utilization/TripReportForm.js +118 -0
  47. package/dist/components/trip-utilization/TripReportHistory.js +54 -0
  48. package/dist/components/trip-utilization/TripReportSummary.js +216 -0
  49. package/dist/components/trip-utilization/TripSegmentFields.js +166 -0
  50. package/dist/generated/consolidation-operations.d.ts +1060 -0
  51. package/dist/generated/container-condition-operations.d.ts +868 -0
  52. package/dist/generated/container-operations.d.ts +356 -0
  53. package/dist/generated/empty-reuse-operations.d.ts +1578 -0
  54. package/dist/generated/free-time-operations.d.ts +938 -0
  55. package/dist/generated/freight-cost-operations.d.ts +716 -0
  56. package/dist/generated/logistics-procedure-operations.d.ts +938 -0
  57. package/dist/generated/pending-pick-operations.d.ts +1969 -0
  58. package/dist/generated/stock-binding-operations.d.ts +930 -0
  59. package/dist/generated/stock-observation-operations.d.ts +476 -0
  60. package/dist/generated/trip-utilization-operations.d.ts +651 -0
  61. package/dist/generated/wspace-operations.d.ts +143 -50
  62. package/dist/hooks/useConsolidationAction.js +119 -0
  63. package/dist/hooks/useContainerCondition.js +105 -0
  64. package/dist/hooks/useContainerLifecycle.js +192 -0
  65. package/dist/hooks/useEmptyReuseAction.js +45 -0
  66. package/dist/hooks/useFreightRecoveryAction.js +117 -0
  67. package/dist/hooks/useMultiModalShipments.js +1 -1
  68. package/dist/hooks/useProcedureAction.js +119 -0
  69. package/dist/hooks/useProcedureSelection.js +53 -0
  70. package/dist/hooks/useReuseRecoveryAction.js +116 -0
  71. package/dist/movethewheels/components/ContainerEvidencePicker.d.ts +10 -0
  72. package/dist/movethewheels/components/FreeTimeAgreementForm.d.ts +14 -0
  73. package/dist/movethewheels/components/ReturnInstructionForm.d.ts +8 -0
  74. package/dist/movethewheels/components/ReuseControls.d.ts +42 -0
  75. package/dist/movethewheels/components/ReusePermissionForm.d.ts +9 -0
  76. package/dist/movethewheels/components/ReuseProposalForm.d.ts +11 -0
  77. package/dist/movethewheels/components/ReuseSourceFields.d.ts +9 -0
  78. package/dist/movethewheels/components/consolidation/ConsolidationHistory.d.ts +13 -0
  79. package/dist/movethewheels/components/consolidation/ConsolidationLotEditor.d.ts +6 -0
  80. package/dist/movethewheels/components/consolidation/ConsolidationManifestWorkbench.d.ts +8 -0
  81. package/dist/movethewheels/components/consolidation/ConsolidationPlanForm.d.ts +8 -0
  82. package/dist/movethewheels/components/consolidation/ConsolidationPlanWorkbench.d.ts +5 -0
  83. package/dist/movethewheels/components/consolidation/ConsolidationReportForm.d.ts +9 -0
  84. package/dist/movethewheels/components/consolidation/ConsolidationReportsWorkbench.d.ts +7 -0
  85. package/dist/movethewheels/components/consolidation/ConsolidationSummary.d.ts +6 -0
  86. package/dist/movethewheels/components/consolidation/OriginalConsolidationHistory.d.ts +8 -0
  87. package/dist/movethewheels/components/freight-cost/FreightDraftForm.d.ts +8 -0
  88. package/dist/movethewheels/components/freight-cost/FreightFields.d.ts +23 -0
  89. package/dist/movethewheels/components/freight-cost/FreightFxEditor.d.ts +6 -0
  90. package/dist/movethewheels/components/freight-cost/FreightHistory.d.ts +5 -0
  91. package/dist/movethewheels/components/freight-cost/FreightLineEditor.d.ts +8 -0
  92. package/dist/movethewheels/components/freight-cost/FreightScopeEditor.d.ts +6 -0
  93. package/dist/movethewheels/components/freight-cost/FreightTotals.d.ts +6 -0
  94. package/dist/movethewheels/components/logistics-procedure/ProcedureDecisionForm.d.ts +20 -0
  95. package/dist/movethewheels/components/logistics-procedure/ProcedureFields.d.ts +17 -0
  96. package/dist/movethewheels/components/logistics-procedure/ProcedureHistory.d.ts +7 -0
  97. package/dist/movethewheels/components/logistics-procedure/ProcedurePolicyForm.d.ts +10 -0
  98. package/dist/movethewheels/components/logistics-procedure/ProcedurePolicyWorkbench.d.ts +5 -0
  99. package/dist/movethewheels/components/logistics-procedure/ProcedureReviewWorkbench.d.ts +5 -0
  100. package/dist/movethewheels/components/logistics-procedure/ProcedureRunWorkbench.d.ts +6 -0
  101. package/dist/movethewheels/components/logistics-procedure/ProcedureSubjectPicker.d.ts +7 -0
  102. package/dist/movethewheels/components/pending-pick/PendingPickDraft.d.ts +16 -0
  103. package/dist/movethewheels/components/pending-pick/PendingPickHistory.d.ts +5 -0
  104. package/dist/movethewheels/components/pending-pick/PickCapture.d.ts +6 -0
  105. package/dist/movethewheels/components/pending-pick/PickLineSelection.d.ts +17 -0
  106. package/dist/movethewheels/components/stock-binding/StockAssessmentDraft.d.ts +13 -0
  107. package/dist/movethewheels/components/stock-binding/StockAssessmentHistory.d.ts +18 -0
  108. package/dist/movethewheels/components/stock-binding/StockAssessmentSummary.d.ts +9 -0
  109. package/dist/movethewheels/components/stock-binding/StockFactForm.d.ts +6 -0
  110. package/dist/movethewheels/components/stock-observation/StockIssueForm.d.ts +7 -0
  111. package/dist/movethewheels/components/stock-observation/StockIssueHistory.d.ts +7 -0
  112. package/dist/movethewheels/components/stock-observation/StockIssueReadPanel.d.ts +5 -0
  113. package/dist/movethewheels/components/trip-utilization/TripReportForm.d.ts +6 -0
  114. package/dist/movethewheels/components/trip-utilization/TripReportHistory.d.ts +14 -0
  115. package/dist/movethewheels/components/trip-utilization/TripReportSummary.d.ts +5 -0
  116. package/dist/movethewheels/components/trip-utilization/TripSegmentFields.d.ts +9 -0
  117. package/dist/movethewheels/hooks/useConsolidationAction.d.ts +19 -0
  118. package/dist/movethewheels/hooks/useContainerCondition.d.ts +21 -0
  119. package/dist/movethewheels/hooks/useContainerLifecycle.d.ts +40 -0
  120. package/dist/movethewheels/hooks/useEmptyReuseAction.d.ts +14 -0
  121. package/dist/movethewheels/hooks/useFreightRecoveryAction.d.ts +23 -0
  122. package/dist/movethewheels/hooks/useProcedureAction.d.ts +18 -0
  123. package/dist/movethewheels/hooks/useProcedureSelection.d.ts +51 -0
  124. package/dist/movethewheels/hooks/useReuseRecoveryAction.d.ts +18 -0
  125. package/dist/movethewheels/pages/ConsolidationPage.d.ts +1 -0
  126. package/dist/movethewheels/pages/ContainerConditionPage.d.ts +1 -0
  127. package/dist/movethewheels/pages/ContainersPage.d.ts +2 -0
  128. package/dist/movethewheels/pages/EmptyReusePage.d.ts +1 -0
  129. package/dist/movethewheels/pages/FreeTimePage.d.ts +1 -0
  130. package/dist/movethewheels/pages/FreightEstimatePage.d.ts +1 -0
  131. package/dist/movethewheels/pages/LogisticsProceduresPage.d.ts +1 -0
  132. package/dist/movethewheels/pages/PendingPickPage.d.ts +1 -0
  133. package/dist/movethewheels/pages/StockBindingPage.d.ts +1 -0
  134. package/dist/movethewheels/pages/StockObservationsPage.d.ts +1 -0
  135. package/dist/movethewheels/pages/TripUtilizationPage.d.ts +1 -0
  136. package/dist/movethewheels/utils/consolidationHistoryTarget.d.ts +12 -0
  137. package/dist/movethewheels/utils/consolidationInput.d.ts +15 -0
  138. package/dist/movethewheels/utils/consolidationLot.d.ts +3 -0
  139. package/dist/movethewheels/utils/consolidationPins.d.ts +20 -0
  140. package/dist/movethewheels/utils/consolidationRecovery.d.ts +5 -0
  141. package/dist/movethewheels/utils/consolidationReportHead.d.ts +5 -0
  142. package/dist/movethewheels/utils/freeTimeDate.d.ts +1 -0
  143. package/dist/movethewheels/utils/freightAcknowledgement.d.ts +2 -0
  144. package/dist/movethewheels/utils/freightDraft.d.ts +36 -0
  145. package/dist/movethewheels/utils/freightRecovery.d.ts +5 -0
  146. package/dist/movethewheels/utils/graphqlClient.d.ts +2 -1
  147. package/dist/movethewheels/utils/pendingPickDraft.d.ts +8 -0
  148. package/dist/movethewheels/utils/procedureInput.d.ts +18 -0
  149. package/dist/movethewheels/utils/procedureRecovery.d.ts +5 -0
  150. package/dist/movethewheels/utils/reuseAttempt.d.ts +7 -0
  151. package/dist/movethewheels/utils/reuseForm.d.ts +6 -0
  152. package/dist/movethewheels/utils/reuseRecovery.d.ts +26 -0
  153. package/dist/movethewheels/utils/stockBindingForm.d.ts +23 -0
  154. package/dist/movethewheels/utils/stockBindingLabels.d.ts +10 -0
  155. package/dist/movethewheels/utils/stockObservationForm.d.ts +5 -0
  156. package/dist/movethewheels/utils/tripDraftContext.d.ts +25 -0
  157. package/dist/movethewheels/utils/tripUtilizationForm.d.ts +6 -0
  158. package/dist/node_modules/@react-leaflet/core/lib/component.js +5 -5
  159. package/dist/node_modules/fast-equals/dist/es/index.js +87 -74
  160. package/dist/node_modules/leaflet/dist/leaflet-src.js +8 -5
  161. package/dist/node_modules/lodash/_Stack.js +2 -1
  162. package/dist/node_modules/lucide-react/dist/esm/icons/clipboard-list.js +35 -0
  163. package/dist/node_modules/lucide-react/dist/esm/icons/repeat-2.js +22 -0
  164. package/dist/node_modules/react-leaflet/lib/MapContainer.js +3 -3
  165. package/dist/node_modules/react-smooth/es6/Animate.js +2 -2
  166. package/dist/node_modules/recharts/es6/cartesian/Area.js +13 -13
  167. package/dist/node_modules/recharts/es6/cartesian/Bar.js +9 -9
  168. package/dist/node_modules/recharts/es6/cartesian/Brush.js +12 -12
  169. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +7 -7
  170. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +13 -13
  171. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +4 -4
  172. package/dist/node_modules/recharts/es6/cartesian/Line.js +10 -10
  173. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +3 -3
  174. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +3 -3
  175. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +4 -4
  176. package/dist/node_modules/recharts/es6/cartesian/XAxis.js +3 -3
  177. package/dist/node_modules/recharts/es6/cartesian/YAxis.js +3 -3
  178. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +1 -1
  179. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +22 -22
  180. package/dist/node_modules/recharts/es6/component/Cursor.js +1 -1
  181. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +11 -11
  182. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +6 -6
  183. package/dist/node_modules/recharts/es6/component/Label.js +14 -14
  184. package/dist/node_modules/recharts/es6/component/LabelList.js +6 -6
  185. package/dist/node_modules/recharts/es6/component/Legend.js +5 -5
  186. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +3 -3
  187. package/dist/node_modules/recharts/es6/component/Text.js +2 -2
  188. package/dist/node_modules/recharts/es6/component/Tooltip.js +3 -3
  189. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +2 -2
  190. package/dist/node_modules/recharts/es6/container/Layer.js +2 -2
  191. package/dist/node_modules/recharts/es6/container/Surface.js +2 -2
  192. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +2 -2
  193. package/dist/node_modules/recharts/es6/polar/Pie.js +13 -13
  194. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +8 -8
  195. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +6 -6
  196. package/dist/node_modules/recharts/es6/shape/Cross.js +1 -1
  197. package/dist/node_modules/recharts/es6/shape/Curve.js +1 -1
  198. package/dist/node_modules/recharts/es6/shape/Dot.js +1 -1
  199. package/dist/node_modules/recharts/es6/shape/Polygon.js +4 -4
  200. package/dist/node_modules/recharts/es6/shape/Rectangle.js +4 -4
  201. package/dist/node_modules/recharts/es6/shape/Sector.js +1 -1
  202. package/dist/node_modules/recharts/es6/shape/Symbols.js +1 -1
  203. package/dist/node_modules/recharts/es6/shape/Trapezoid.js +4 -4
  204. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +9 -9
  205. package/dist/node_modules/recharts/es6/util/BarUtils.js +1 -1
  206. package/dist/node_modules/recharts/es6/util/CartesianUtils.js +1 -1
  207. package/dist/node_modules/recharts/es6/util/PolarUtils.js +1 -1
  208. package/dist/node_modules/recharts/es6/util/ReactUtils.js +2 -2
  209. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +1 -1
  210. package/dist/node_modules/recharts/es6/util/types.js +1 -1
  211. package/dist/node_modules/{react-is → recharts/node_modules/react-is}/cjs/react-is.development.js +2 -2
  212. package/dist/node_modules/{react-is → recharts/node_modules/react-is}/cjs/react-is.production.min.js +2 -2
  213. package/dist/node_modules/{react-is → recharts/node_modules/react-is}/index.js +2 -2
  214. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +97 -18
  215. package/dist/node_modules/zustand/esm/middleware.js +2 -2
  216. package/dist/pages/ConsolidationPage.js +76 -0
  217. package/dist/pages/ContainerConditionPage.js +972 -0
  218. package/dist/pages/ContainersPage.js +522 -0
  219. package/dist/pages/EmptyReusePage.js +777 -0
  220. package/dist/pages/FreeTimePage.js +657 -0
  221. package/dist/pages/FreightEstimatePage.js +284 -0
  222. package/dist/pages/LogisticsProceduresPage.js +100 -0
  223. package/dist/pages/PendingPickPage.js +155 -0
  224. package/dist/pages/StockBindingPage.js +236 -0
  225. package/dist/pages/StockObservationsPage.js +168 -0
  226. package/dist/pages/TripUtilizationPage.js +227 -0
  227. package/dist/src/generated/consolidation-operations.js +505 -0
  228. package/dist/src/generated/container-condition-operations.js +208 -0
  229. package/dist/src/generated/container-operations.js +101 -0
  230. package/dist/src/generated/empty-reuse-operations.js +749 -0
  231. package/dist/src/generated/free-time-operations.js +235 -0
  232. package/dist/src/generated/freight-cost-operations.js +325 -0
  233. package/dist/src/generated/logistics-procedure-operations.js +362 -0
  234. package/dist/src/generated/pending-pick-operations.js +1128 -0
  235. package/dist/src/generated/stock-binding-operations.js +175 -0
  236. package/dist/src/generated/stock-observation-operations.js +93 -0
  237. package/dist/src/generated/trip-utilization-operations.js +140 -0
  238. package/dist/src/generated/wspace-operations.js +708 -0
  239. package/dist/utils/consolidationHistoryTarget.js +27 -0
  240. package/dist/utils/consolidationInput.js +21 -0
  241. package/dist/utils/consolidationLot.js +29 -0
  242. package/dist/utils/consolidationPins.js +13 -0
  243. package/dist/utils/consolidationRecovery.js +40 -0
  244. package/dist/utils/consolidationReportHead.js +18 -0
  245. package/dist/utils/freeTimeDate.js +26 -0
  246. package/dist/utils/freightAcknowledgement.js +8 -0
  247. package/dist/utils/freightDraft.js +125 -0
  248. package/dist/utils/freightRecovery.js +36 -0
  249. package/dist/utils/graphqlClient.js +28 -28
  250. package/dist/utils/pendingPickDraft.js +46 -0
  251. package/dist/utils/procedureInput.js +43 -0
  252. package/dist/utils/procedureRecovery.js +42 -0
  253. package/dist/utils/reuseAttempt.js +20 -0
  254. package/dist/utils/reuseForm.js +25 -0
  255. package/dist/utils/reuseRecovery.js +71 -0
  256. package/dist/utils/stockBindingForm.js +142 -0
  257. package/dist/utils/stockBindingLabels.js +23 -0
  258. package/dist/utils/stockObservationForm.js +55 -0
  259. package/dist/utils/tripDraftContext.js +19 -0
  260. package/dist/utils/tripUtilizationForm.js +60 -0
  261. package/package.json +20 -5
  262. package/src/generated/consolidation-operations.ts +1138 -0
  263. package/src/generated/container-condition-operations.ts +771 -0
  264. package/src/generated/container-operations.ts +376 -0
  265. package/src/generated/empty-reuse-operations.ts +1648 -0
  266. package/src/generated/free-time-operations.ts +814 -0
  267. package/src/generated/freight-cost-operations.ts +753 -0
  268. package/src/generated/logistics-procedure-operations.ts +1047 -0
  269. package/src/generated/pending-pick-operations.ts +1508 -0
  270. package/src/generated/stock-binding-operations.ts +631 -0
  271. package/src/generated/stock-observation-operations.ts +373 -0
  272. package/src/generated/trip-utilization-operations.ts +500 -0
  273. package/src/generated/wspace-operations.ts +116 -0
  274. package/src/movethewheels/MoveTheWheelsRoot.tsx +79 -0
  275. package/src/movethewheels/MoveTheWheelsRoutes.tsx +22 -0
  276. package/src/movethewheels/components/ContainerEvidencePicker.tsx +146 -0
  277. package/src/movethewheels/components/FreeTimeAgreementForm.tsx +483 -0
  278. package/src/movethewheels/components/ReturnInstructionForm.tsx +102 -0
  279. package/src/movethewheels/components/ReuseControls.tsx +138 -0
  280. package/src/movethewheels/components/ReusePermissionForm.tsx +123 -0
  281. package/src/movethewheels/components/ReuseProposalForm.tsx +484 -0
  282. package/src/movethewheels/components/ReuseSourceFields.tsx +80 -0
  283. package/src/movethewheels/components/consolidation/ConsolidationHistory.tsx +159 -0
  284. package/src/movethewheels/components/consolidation/ConsolidationLotEditor.tsx +144 -0
  285. package/src/movethewheels/components/consolidation/ConsolidationManifestWorkbench.tsx +168 -0
  286. package/src/movethewheels/components/consolidation/ConsolidationPlanForm.tsx +185 -0
  287. package/src/movethewheels/components/consolidation/ConsolidationPlanWorkbench.tsx +395 -0
  288. package/src/movethewheels/components/consolidation/ConsolidationReportForm.tsx +124 -0
  289. package/src/movethewheels/components/consolidation/ConsolidationReportsWorkbench.tsx +233 -0
  290. package/src/movethewheels/components/consolidation/ConsolidationSummary.tsx +84 -0
  291. package/src/movethewheels/components/consolidation/OriginalConsolidationHistory.tsx +133 -0
  292. package/src/movethewheels/components/freight-cost/FreightDraftForm.tsx +224 -0
  293. package/src/movethewheels/components/freight-cost/FreightFields.tsx +91 -0
  294. package/src/movethewheels/components/freight-cost/FreightFxEditor.tsx +98 -0
  295. package/src/movethewheels/components/freight-cost/FreightHistory.tsx +91 -0
  296. package/src/movethewheels/components/freight-cost/FreightLineEditor.tsx +192 -0
  297. package/src/movethewheels/components/freight-cost/FreightScopeEditor.tsx +64 -0
  298. package/src/movethewheels/components/freight-cost/FreightTotals.tsx +68 -0
  299. package/src/movethewheels/components/logistics-procedure/ProcedureDecisionForm.tsx +204 -0
  300. package/src/movethewheels/components/logistics-procedure/ProcedureFields.tsx +43 -0
  301. package/src/movethewheels/components/logistics-procedure/ProcedureHistory.tsx +102 -0
  302. package/src/movethewheels/components/logistics-procedure/ProcedurePolicyForm.tsx +226 -0
  303. package/src/movethewheels/components/logistics-procedure/ProcedurePolicyWorkbench.tsx +174 -0
  304. package/src/movethewheels/components/logistics-procedure/ProcedureReviewWorkbench.tsx +278 -0
  305. package/src/movethewheels/components/logistics-procedure/ProcedureRunWorkbench.tsx +292 -0
  306. package/src/movethewheels/components/logistics-procedure/ProcedureSubjectPicker.tsx +111 -0
  307. package/src/movethewheels/components/pending-pick/PendingPickDraft.tsx +82 -0
  308. package/src/movethewheels/components/pending-pick/PendingPickHistory.tsx +93 -0
  309. package/src/movethewheels/components/pending-pick/PickCapture.tsx +70 -0
  310. package/src/movethewheels/components/pending-pick/PickLineSelection.tsx +130 -0
  311. package/src/movethewheels/components/stock-binding/StockAssessmentDraft.tsx +52 -0
  312. package/src/movethewheels/components/stock-binding/StockAssessmentHistory.tsx +56 -0
  313. package/src/movethewheels/components/stock-binding/StockAssessmentSummary.tsx +108 -0
  314. package/src/movethewheels/components/stock-binding/StockFactForm.tsx +186 -0
  315. package/src/movethewheels/components/stock-observation/StockIssueForm.tsx +103 -0
  316. package/src/movethewheels/components/stock-observation/StockIssueHistory.tsx +96 -0
  317. package/src/movethewheels/components/stock-observation/StockIssueReadPanel.tsx +72 -0
  318. package/src/movethewheels/components/trip-utilization/TripReportForm.tsx +116 -0
  319. package/src/movethewheels/components/trip-utilization/TripReportHistory.tsx +51 -0
  320. package/src/movethewheels/components/trip-utilization/TripReportSummary.tsx +127 -0
  321. package/src/movethewheels/components/trip-utilization/TripSegmentFields.tsx +118 -0
  322. package/src/movethewheels/hooks/useConsolidationAction.ts +196 -0
  323. package/src/movethewheels/hooks/useContainerCondition.ts +129 -0
  324. package/src/movethewheels/hooks/useContainerLifecycle.ts +291 -0
  325. package/src/movethewheels/hooks/useEmptyReuseAction.ts +72 -0
  326. package/src/movethewheels/hooks/useFreightRecoveryAction.ts +201 -0
  327. package/src/movethewheels/hooks/useMultiModalShipments.ts +2 -1
  328. package/src/movethewheels/hooks/useProcedureAction.ts +196 -0
  329. package/src/movethewheels/hooks/useProcedureSelection.ts +75 -0
  330. package/src/movethewheels/hooks/useReuseRecoveryAction.ts +192 -0
  331. package/src/movethewheels/pages/ConsolidationPage.tsx +70 -0
  332. package/src/movethewheels/pages/ContainerConditionPage.tsx +959 -0
  333. package/src/movethewheels/pages/ContainersPage.tsx +490 -0
  334. package/src/movethewheels/pages/EmptyReusePage.tsx +823 -0
  335. package/src/movethewheels/pages/FreeTimePage.tsx +720 -0
  336. package/src/movethewheels/pages/FreightEstimatePage.tsx +353 -0
  337. package/src/movethewheels/pages/LogisticsProceduresPage.tsx +86 -0
  338. package/src/movethewheels/pages/PendingPickPage.tsx +226 -0
  339. package/src/movethewheels/pages/StockBindingPage.tsx +299 -0
  340. package/src/movethewheels/pages/StockObservationsPage.tsx +181 -0
  341. package/src/movethewheels/pages/TripUtilizationPage.tsx +315 -0
  342. package/src/movethewheels/utils/consolidationHistoryTarget.ts +39 -0
  343. package/src/movethewheels/utils/consolidationInput.ts +70 -0
  344. package/src/movethewheels/utils/consolidationLot.ts +24 -0
  345. package/src/movethewheels/utils/consolidationPins.ts +52 -0
  346. package/src/movethewheels/utils/consolidationRecovery.ts +88 -0
  347. package/src/movethewheels/utils/consolidationReportHead.ts +29 -0
  348. package/src/movethewheels/utils/freeTimeDate.ts +31 -0
  349. package/src/movethewheels/utils/freightAcknowledgement.ts +31 -0
  350. package/src/movethewheels/utils/freightDraft.ts +170 -0
  351. package/src/movethewheels/utils/freightRecovery.ts +79 -0
  352. package/src/movethewheels/utils/graphqlClient.ts +14 -5
  353. package/src/movethewheels/utils/pendingPickDraft.ts +61 -0
  354. package/src/movethewheels/utils/procedureInput.ts +98 -0
  355. package/src/movethewheels/utils/procedureRecovery.ts +92 -0
  356. package/src/movethewheels/utils/reuseAttempt.ts +29 -0
  357. package/src/movethewheels/utils/reuseForm.ts +30 -0
  358. package/src/movethewheels/utils/reuseRecovery.ts +151 -0
  359. package/src/movethewheels/utils/stockBindingForm.ts +209 -0
  360. package/src/movethewheels/utils/stockBindingLabels.ts +41 -0
  361. package/src/movethewheels/utils/stockObservationForm.ts +73 -0
  362. package/src/movethewheels/utils/tripDraftContext.ts +61 -0
  363. package/src/movethewheels/utils/tripUtilizationForm.ts +105 -0
  364. package/src/operations/condition/container-condition.graphql +41 -0
  365. package/src/operations/consolidation/consolidation.graphql +490 -0
  366. package/src/operations/container/container-lifecycle.graphql +80 -0
  367. package/src/operations/empty-reuse/empty-reuse.graphql +737 -0
  368. package/src/operations/free-time/free-time.graphql +47 -0
  369. package/src/operations/freight-cost/freight.graphql +6 -0
  370. package/src/operations/logistics-procedure/procedure.graphql +15 -0
  371. package/src/operations/pending-pick/pending-pick.graphql +1122 -0
  372. package/src/operations/stock-binding/stock-binding.graphql +160 -0
  373. package/src/operations/stock-observation/stock-observation.graphql +20 -0
  374. package/src/operations/trip-utilization/trip-utilization.graphql +126 -0
  375. package/src/operations/wspace/container-evidence.graphql +6 -0
@@ -0,0 +1,868 @@
1
+ export type Maybe<T> = T | null;
2
+ export type InputMaybe<T> = Maybe<T>;
3
+ export type Exact<T extends {
4
+ [key: string]: unknown;
5
+ }> = {
6
+ [K in keyof T]: T[K];
7
+ };
8
+ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
9
+ [SubKey in K]?: Maybe<T[SubKey]>;
10
+ };
11
+ export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
12
+ [SubKey in K]: Maybe<T[SubKey]>;
13
+ };
14
+ export type MakeEmpty<T extends {
15
+ [key: string]: unknown;
16
+ }, K extends keyof T> = {
17
+ [_ in K]?: never;
18
+ };
19
+ export type Incremental<T> = T | {
20
+ [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
21
+ };
22
+ /** All built-in and custom scalars, mapped to their actual values */
23
+ export type Scalars = {
24
+ ID: {
25
+ input: string;
26
+ output: string;
27
+ };
28
+ String: {
29
+ input: string;
30
+ output: string;
31
+ };
32
+ Boolean: {
33
+ input: boolean;
34
+ output: boolean;
35
+ };
36
+ Int: {
37
+ input: number;
38
+ output: number;
39
+ };
40
+ Float: {
41
+ input: number;
42
+ output: number;
43
+ };
44
+ DateTime: {
45
+ input: string;
46
+ output: string;
47
+ };
48
+ };
49
+ export type HoldMtwContainerInput = {
50
+ containerId: Scalars['ID']['input'];
51
+ evidence: Array<MtwContainerEvidenceInput>;
52
+ heldAt: Scalars['DateTime']['input'];
53
+ idempotencyKey: Scalars['String']['input'];
54
+ reason: Scalars['String']['input'];
55
+ };
56
+ export type MtwContainer = {
57
+ __typename?: 'MtwContainer';
58
+ containerNumber: Scalars['String']['output'];
59
+ createdAt: Scalars['DateTime']['output'];
60
+ equipmentType: MtwEquipmentType;
61
+ id: Scalars['ID']['output'];
62
+ ownerName?: Maybe<Scalars['String']['output']>;
63
+ source: Scalars['String']['output'];
64
+ suppliedContainerNumber: Scalars['String']['output'];
65
+ };
66
+ export type MtwContainerCargoCategory = 'DANGEROUS' | 'DRY' | 'FOOD_GRADE' | 'PEST' | 'REEFER';
67
+ export type MtwContainerDefect = {
68
+ __typename?: 'MtwContainerDefect';
69
+ code: Scalars['String']['output'];
70
+ containerId: Scalars['ID']['output'];
71
+ createdAt: Scalars['DateTime']['output'];
72
+ details: Scalars['String']['output'];
73
+ id: Scalars['ID']['output'];
74
+ inspectionId: Scalars['ID']['output'];
75
+ severity: MtwContainerDefectSeverity;
76
+ };
77
+ export type MtwContainerDefectPage = {
78
+ __typename?: 'MtwContainerDefectPage';
79
+ hasMore: Scalars['Boolean']['output'];
80
+ items: Array<MtwContainerDefect>;
81
+ limit: Scalars['Int']['output'];
82
+ nextOffset?: Maybe<Scalars['Int']['output']>;
83
+ offset: Scalars['Int']['output'];
84
+ total: Scalars['Int']['output'];
85
+ };
86
+ export type MtwContainerDefectSeverity = 'MAJOR' | 'MINOR' | 'SEVERE';
87
+ export type MtwContainerEvidence = {
88
+ __typename?: 'MtwContainerEvidence';
89
+ checkedAt: Scalars['DateTime']['output'];
90
+ fileId: Scalars['ID']['output'];
91
+ sha256Hash: Scalars['String']['output'];
92
+ versionId: Scalars['ID']['output'];
93
+ };
94
+ export type MtwContainerEvidenceInput = {
95
+ fileId: Scalars['ID']['input'];
96
+ versionId: Scalars['ID']['input'];
97
+ };
98
+ export type MtwContainerExaminationScheme = 'ACEP' | 'PES';
99
+ export type MtwContainerHold = {
100
+ __typename?: 'MtwContainerHold';
101
+ containerId: Scalars['ID']['output'];
102
+ createdAt: Scalars['DateTime']['output'];
103
+ defectIds: Array<Scalars['ID']['output']>;
104
+ evidence: Array<MtwContainerEvidence>;
105
+ heldAt: Scalars['DateTime']['output'];
106
+ id: Scalars['ID']['output'];
107
+ inspectionId?: Maybe<Scalars['ID']['output']>;
108
+ reason: Scalars['String']['output'];
109
+ releasedAt?: Maybe<Scalars['DateTime']['output']>;
110
+ status: MtwContainerHoldStatus;
111
+ updatedAt: Scalars['DateTime']['output'];
112
+ version: Scalars['Int']['output'];
113
+ };
114
+ export type MtwContainerHoldPage = {
115
+ __typename?: 'MtwContainerHoldPage';
116
+ hasMore: Scalars['Boolean']['output'];
117
+ items: Array<MtwContainerHold>;
118
+ limit: Scalars['Int']['output'];
119
+ nextOffset?: Maybe<Scalars['Int']['output']>;
120
+ offset: Scalars['Int']['output'];
121
+ total: Scalars['Int']['output'];
122
+ };
123
+ export type MtwContainerHoldStatus = 'OPEN' | 'RELEASED';
124
+ export type MtwContainerInspection = {
125
+ __typename?: 'MtwContainerInspection';
126
+ acepReference?: Maybe<Scalars['String']['output']>;
127
+ cargoCategory: MtwContainerCargoCategory;
128
+ containerId: Scalars['ID']['output'];
129
+ cscPlateVersionId?: Maybe<Scalars['ID']['output']>;
130
+ defectCount: Scalars['Int']['output'];
131
+ evidence: Array<MtwContainerEvidence>;
132
+ examinationScheme: MtwContainerExaminationScheme;
133
+ examinationVersionId?: Maybe<Scalars['ID']['output']>;
134
+ id: Scalars['ID']['output'];
135
+ inspectedAt: Scalars['DateTime']['output'];
136
+ inspectorActorId: Scalars['ID']['output'];
137
+ nextExaminationAt?: Maybe<Scalars['DateTime']['output']>;
138
+ receivedAt: Scalars['DateTime']['output'];
139
+ resolvedDefectIds: Array<Scalars['ID']['output']>;
140
+ severeDefectCount: Scalars['Int']['output'];
141
+ suitability: MtwContainerSuitability;
142
+ templateVersion: Scalars['String']['output'];
143
+ };
144
+ export type MtwContainerInspectionPage = {
145
+ __typename?: 'MtwContainerInspectionPage';
146
+ hasMore: Scalars['Boolean']['output'];
147
+ items: Array<MtwContainerInspection>;
148
+ limit: Scalars['Int']['output'];
149
+ nextOffset?: Maybe<Scalars['Int']['output']>;
150
+ offset: Scalars['Int']['output'];
151
+ total: Scalars['Int']['output'];
152
+ };
153
+ export type MtwContainerPage = {
154
+ __typename?: 'MtwContainerPage';
155
+ hasMore: Scalars['Boolean']['output'];
156
+ items: Array<MtwContainer>;
157
+ limit: Scalars['Int']['output'];
158
+ nextOffset?: Maybe<Scalars['Int']['output']>;
159
+ offset: Scalars['Int']['output'];
160
+ total: Scalars['Int']['output'];
161
+ };
162
+ export type MtwContainerPagination = {
163
+ limit?: InputMaybe<Scalars['Int']['input']>;
164
+ offset?: InputMaybe<Scalars['Int']['input']>;
165
+ };
166
+ export type MtwContainerQualificationScope = 'ACEP_EXAMINATION' | 'DANGEROUS_CARGO' | 'DRY_CARGO' | 'FOOD_GRADE_CARGO' | 'PEST_CARGO' | 'PES_EXAMINATION' | 'REEFER_CARGO';
167
+ export type MtwContainerQualificationStatus = 'HUMAN_REVIEWED' | 'REVOKED' | 'SUBMITTED';
168
+ export type MtwContainerReleaseDecision = {
169
+ __typename?: 'MtwContainerReleaseDecision';
170
+ actorId: Scalars['ID']['output'];
171
+ containerId: Scalars['ID']['output'];
172
+ decidedAt: Scalars['DateTime']['output'];
173
+ evidence: Array<MtwContainerEvidence>;
174
+ holdId: Scalars['ID']['output'];
175
+ id: Scalars['ID']['output'];
176
+ inspectionId: Scalars['ID']['output'];
177
+ qualificationId: Scalars['ID']['output'];
178
+ resolutionReview: Scalars['String']['output'];
179
+ };
180
+ export type MtwContainerReleaseDecisionPage = {
181
+ __typename?: 'MtwContainerReleaseDecisionPage';
182
+ hasMore: Scalars['Boolean']['output'];
183
+ items: Array<MtwContainerReleaseDecision>;
184
+ limit: Scalars['Int']['output'];
185
+ nextOffset?: Maybe<Scalars['Int']['output']>;
186
+ offset: Scalars['Int']['output'];
187
+ total: Scalars['Int']['output'];
188
+ };
189
+ export type MtwContainerRepair = {
190
+ __typename?: 'MtwContainerRepair';
191
+ actorId: Scalars['ID']['output'];
192
+ completedAt: Scalars['DateTime']['output'];
193
+ containerId: Scalars['ID']['output'];
194
+ defectIds: Array<Scalars['ID']['output']>;
195
+ evidence: Array<MtwContainerEvidence>;
196
+ holdId: Scalars['ID']['output'];
197
+ id: Scalars['ID']['output'];
198
+ receivedAt: Scalars['DateTime']['output'];
199
+ workDescription: Scalars['String']['output'];
200
+ };
201
+ export type MtwContainerRepairPage = {
202
+ __typename?: 'MtwContainerRepairPage';
203
+ hasMore: Scalars['Boolean']['output'];
204
+ items: Array<MtwContainerRepair>;
205
+ limit: Scalars['Int']['output'];
206
+ nextOffset?: Maybe<Scalars['Int']['output']>;
207
+ offset: Scalars['Int']['output'];
208
+ total: Scalars['Int']['output'];
209
+ };
210
+ export type MtwContainerSuitability = 'ACCEPTABLE' | 'REJECTED' | 'REVIEW_REQUIRED';
211
+ export type MtwEquipmentType = 'DRY_20' | 'DRY_40' | 'FLAT_RACK' | 'HIGH_CUBE_40' | 'OPEN_TOP' | 'OTHER' | 'REEFER_20' | 'REEFER_40' | 'TANK';
212
+ export type MtwInspectorQualification = {
213
+ __typename?: 'MtwInspectorQualification';
214
+ createdAt: Scalars['DateTime']['output'];
215
+ credentialReference: Scalars['String']['output'];
216
+ evidence: Array<MtwContainerEvidence>;
217
+ id: Scalars['ID']['output'];
218
+ issuerConfirmationReference?: Maybe<Scalars['String']['output']>;
219
+ issuerName: Scalars['String']['output'];
220
+ reviewEvidence: Array<MtwContainerEvidence>;
221
+ reviewNote?: Maybe<Scalars['String']['output']>;
222
+ reviewedAt?: Maybe<Scalars['DateTime']['output']>;
223
+ revocationReason?: Maybe<Scalars['String']['output']>;
224
+ revokedAt?: Maybe<Scalars['DateTime']['output']>;
225
+ scopes: Array<MtwContainerQualificationScope>;
226
+ status: MtwContainerQualificationStatus;
227
+ subjectActorId: Scalars['ID']['output'];
228
+ updatedAt: Scalars['DateTime']['output'];
229
+ validFrom: Scalars['DateTime']['output'];
230
+ validUntil: Scalars['DateTime']['output'];
231
+ verifierActorId?: Maybe<Scalars['ID']['output']>;
232
+ version: Scalars['Int']['output'];
233
+ };
234
+ export type MtwInspectorQualificationPage = {
235
+ __typename?: 'MtwInspectorQualificationPage';
236
+ hasMore: Scalars['Boolean']['output'];
237
+ items: Array<MtwInspectorQualification>;
238
+ limit: Scalars['Int']['output'];
239
+ nextOffset?: Maybe<Scalars['Int']['output']>;
240
+ offset: Scalars['Int']['output'];
241
+ total: Scalars['Int']['output'];
242
+ };
243
+ export type Mutation = {
244
+ __typename?: 'Mutation';
245
+ holdMtwContainer: MtwContainerHold;
246
+ recordMtwContainerInspection: MtwContainerInspection;
247
+ recordMtwContainerRepair: MtwContainerRepair;
248
+ releaseMtwContainerHold: MtwContainerReleaseDecision;
249
+ revokeMtwInspectorQualification: MtwInspectorQualification;
250
+ submitMtwInspectorQualification: MtwInspectorQualification;
251
+ verifyMtwInspectorQualification: MtwInspectorQualification;
252
+ };
253
+ export type MutationHoldMtwContainerArgs = {
254
+ input: HoldMtwContainerInput;
255
+ };
256
+ export type MutationRecordMtwContainerInspectionArgs = {
257
+ input: RecordMtwContainerInspectionInput;
258
+ };
259
+ export type MutationRecordMtwContainerRepairArgs = {
260
+ input: RecordMtwContainerRepairInput;
261
+ };
262
+ export type MutationReleaseMtwContainerHoldArgs = {
263
+ input: ReleaseMtwContainerHoldInput;
264
+ };
265
+ export type MutationRevokeMtwInspectorQualificationArgs = {
266
+ input: RevokeMtwInspectorQualificationInput;
267
+ };
268
+ export type MutationSubmitMtwInspectorQualificationArgs = {
269
+ input: SubmitMtwInspectorQualificationInput;
270
+ };
271
+ export type MutationVerifyMtwInspectorQualificationArgs = {
272
+ input: VerifyMtwInspectorQualificationInput;
273
+ };
274
+ export type Query = {
275
+ __typename?: 'Query';
276
+ mtwContainerDefectPage: MtwContainerDefectPage;
277
+ mtwContainerHoldPage: MtwContainerHoldPage;
278
+ mtwContainerInspectionPage: MtwContainerInspectionPage;
279
+ mtwContainerPage: MtwContainerPage;
280
+ mtwContainerQualificationPage: MtwInspectorQualificationPage;
281
+ mtwContainerReleaseDecisionPage: MtwContainerReleaseDecisionPage;
282
+ mtwContainerRepairPage: MtwContainerRepairPage;
283
+ };
284
+ export type QueryMtwContainerDefectPageArgs = {
285
+ inspectionId: Scalars['ID']['input'];
286
+ pagination?: InputMaybe<MtwContainerPagination>;
287
+ };
288
+ export type QueryMtwContainerHoldPageArgs = {
289
+ containerId: Scalars['ID']['input'];
290
+ pagination?: InputMaybe<MtwContainerPagination>;
291
+ };
292
+ export type QueryMtwContainerInspectionPageArgs = {
293
+ containerId: Scalars['ID']['input'];
294
+ pagination?: InputMaybe<MtwContainerPagination>;
295
+ };
296
+ export type QueryMtwContainerPageArgs = {
297
+ pagination?: InputMaybe<MtwContainerPagination>;
298
+ search?: InputMaybe<Scalars['String']['input']>;
299
+ };
300
+ export type QueryMtwContainerQualificationPageArgs = {
301
+ pagination?: InputMaybe<MtwContainerPagination>;
302
+ };
303
+ export type QueryMtwContainerReleaseDecisionPageArgs = {
304
+ containerId: Scalars['ID']['input'];
305
+ pagination?: InputMaybe<MtwContainerPagination>;
306
+ };
307
+ export type QueryMtwContainerRepairPageArgs = {
308
+ holdId: Scalars['ID']['input'];
309
+ pagination?: InputMaybe<MtwContainerPagination>;
310
+ };
311
+ export type RecordMtwContainerDefectInput = {
312
+ code: Scalars['String']['input'];
313
+ details: Scalars['String']['input'];
314
+ severity: MtwContainerDefectSeverity;
315
+ };
316
+ export type RecordMtwContainerInspectionInput = {
317
+ acepReference?: InputMaybe<Scalars['String']['input']>;
318
+ cargoCategory: MtwContainerCargoCategory;
319
+ containerId: Scalars['ID']['input'];
320
+ cscPlateVersionId: Scalars['ID']['input'];
321
+ defects: Array<RecordMtwContainerDefectInput>;
322
+ evidence: Array<MtwContainerEvidenceInput>;
323
+ examinationScheme: MtwContainerExaminationScheme;
324
+ examinationVersionId: Scalars['ID']['input'];
325
+ idempotencyKey: Scalars['String']['input'];
326
+ inspectedAt: Scalars['DateTime']['input'];
327
+ nextExaminationAt?: InputMaybe<Scalars['DateTime']['input']>;
328
+ resolvedDefectIds: Array<Scalars['ID']['input']>;
329
+ suitability: MtwContainerSuitability;
330
+ templateVersion: Scalars['String']['input'];
331
+ };
332
+ export type RecordMtwContainerRepairInput = {
333
+ completedAt: Scalars['DateTime']['input'];
334
+ defectIds: Array<Scalars['ID']['input']>;
335
+ evidence: Array<MtwContainerEvidenceInput>;
336
+ expectedVersion: Scalars['Int']['input'];
337
+ holdId: Scalars['ID']['input'];
338
+ idempotencyKey: Scalars['String']['input'];
339
+ workDescription: Scalars['String']['input'];
340
+ };
341
+ export type ReleaseMtwContainerHoldInput = {
342
+ evidence: Array<MtwContainerEvidenceInput>;
343
+ expectedVersion: Scalars['Int']['input'];
344
+ holdId: Scalars['ID']['input'];
345
+ idempotencyKey: Scalars['String']['input'];
346
+ inspectionId: Scalars['ID']['input'];
347
+ qualificationId: Scalars['ID']['input'];
348
+ resolutionReview: Scalars['String']['input'];
349
+ };
350
+ export type RevokeMtwInspectorQualificationInput = {
351
+ expectedVersion: Scalars['Int']['input'];
352
+ idempotencyKey: Scalars['String']['input'];
353
+ qualificationId: Scalars['ID']['input'];
354
+ reason: Scalars['String']['input'];
355
+ };
356
+ export type SubmitMtwInspectorQualificationInput = {
357
+ credentialReference: Scalars['String']['input'];
358
+ evidence: Array<MtwContainerEvidenceInput>;
359
+ idempotencyKey: Scalars['String']['input'];
360
+ issuerName: Scalars['String']['input'];
361
+ scopes: Array<MtwContainerQualificationScope>;
362
+ validFrom: Scalars['DateTime']['input'];
363
+ validUntil: Scalars['DateTime']['input'];
364
+ };
365
+ export type VerifyMtwInspectorQualificationInput = {
366
+ evidence: Array<MtwContainerEvidenceInput>;
367
+ expectedVersion: Scalars['Int']['input'];
368
+ idempotencyKey: Scalars['String']['input'];
369
+ issuerConfirmationReference: Scalars['String']['input'];
370
+ qualificationId: Scalars['ID']['input'];
371
+ reviewNote: Scalars['String']['input'];
372
+ };
373
+ export type ConditionEvidenceFragment = {
374
+ __typename?: 'MtwContainerEvidence';
375
+ fileId: string;
376
+ versionId: string;
377
+ sha256Hash: string;
378
+ checkedAt: string;
379
+ };
380
+ export type InspectionSummaryFragment = {
381
+ __typename?: 'MtwContainerInspection';
382
+ id: string;
383
+ containerId: string;
384
+ inspectedAt: string;
385
+ inspectorActorId: string;
386
+ templateVersion: string;
387
+ examinationScheme: MtwContainerExaminationScheme;
388
+ nextExaminationAt?: string | null;
389
+ acepReference?: string | null;
390
+ cargoCategory: MtwContainerCargoCategory;
391
+ suitability: MtwContainerSuitability;
392
+ cscPlateVersionId?: string | null;
393
+ examinationVersionId?: string | null;
394
+ defectCount: number;
395
+ severeDefectCount: number;
396
+ resolvedDefectIds: Array<string>;
397
+ evidence: Array<{
398
+ __typename?: 'MtwContainerEvidence';
399
+ fileId: string;
400
+ versionId: string;
401
+ sha256Hash: string;
402
+ checkedAt: string;
403
+ }>;
404
+ };
405
+ export type HoldSummaryFragment = {
406
+ __typename?: 'MtwContainerHold';
407
+ id: string;
408
+ containerId: string;
409
+ inspectionId?: string | null;
410
+ reason: string;
411
+ heldAt: string;
412
+ status: MtwContainerHoldStatus;
413
+ version: number;
414
+ defectIds: Array<string>;
415
+ releasedAt?: string | null;
416
+ updatedAt: string;
417
+ evidence: Array<{
418
+ __typename?: 'MtwContainerEvidence';
419
+ fileId: string;
420
+ versionId: string;
421
+ sha256Hash: string;
422
+ checkedAt: string;
423
+ }>;
424
+ };
425
+ export type QualificationSummaryFragment = {
426
+ __typename?: 'MtwInspectorQualification';
427
+ id: string;
428
+ subjectActorId: string;
429
+ issuerName: string;
430
+ credentialReference: string;
431
+ validFrom: string;
432
+ validUntil: string;
433
+ scopes: Array<MtwContainerQualificationScope>;
434
+ status: MtwContainerQualificationStatus;
435
+ version: number;
436
+ verifierActorId?: string | null;
437
+ reviewedAt?: string | null;
438
+ issuerConfirmationReference?: string | null;
439
+ reviewNote?: string | null;
440
+ revokedAt?: string | null;
441
+ revocationReason?: string | null;
442
+ evidence: Array<{
443
+ __typename?: 'MtwContainerEvidence';
444
+ fileId: string;
445
+ versionId: string;
446
+ sha256Hash: string;
447
+ checkedAt: string;
448
+ }>;
449
+ reviewEvidence: Array<{
450
+ __typename?: 'MtwContainerEvidence';
451
+ fileId: string;
452
+ versionId: string;
453
+ sha256Hash: string;
454
+ checkedAt: string;
455
+ }>;
456
+ };
457
+ export type ConditionContainersQueryVariables = Exact<{
458
+ pagination?: InputMaybe<MtwContainerPagination>;
459
+ }>;
460
+ export type ConditionContainersQuery = {
461
+ __typename?: 'Query';
462
+ mtwContainerPage: {
463
+ __typename?: 'MtwContainerPage';
464
+ hasMore: boolean;
465
+ nextOffset?: number | null;
466
+ items: Array<{
467
+ __typename?: 'MtwContainer';
468
+ id: string;
469
+ containerNumber: string;
470
+ equipmentType: MtwEquipmentType;
471
+ }>;
472
+ };
473
+ };
474
+ export type ConditionInspectionsQueryVariables = Exact<{
475
+ containerId: Scalars['ID']['input'];
476
+ pagination?: InputMaybe<MtwContainerPagination>;
477
+ }>;
478
+ export type ConditionInspectionsQuery = {
479
+ __typename?: 'Query';
480
+ mtwContainerInspectionPage: {
481
+ __typename?: 'MtwContainerInspectionPage';
482
+ hasMore: boolean;
483
+ nextOffset?: number | null;
484
+ items: Array<{
485
+ __typename?: 'MtwContainerInspection';
486
+ id: string;
487
+ containerId: string;
488
+ inspectedAt: string;
489
+ inspectorActorId: string;
490
+ templateVersion: string;
491
+ examinationScheme: MtwContainerExaminationScheme;
492
+ nextExaminationAt?: string | null;
493
+ acepReference?: string | null;
494
+ cargoCategory: MtwContainerCargoCategory;
495
+ suitability: MtwContainerSuitability;
496
+ cscPlateVersionId?: string | null;
497
+ examinationVersionId?: string | null;
498
+ defectCount: number;
499
+ severeDefectCount: number;
500
+ resolvedDefectIds: Array<string>;
501
+ evidence: Array<{
502
+ __typename?: 'MtwContainerEvidence';
503
+ fileId: string;
504
+ versionId: string;
505
+ sha256Hash: string;
506
+ checkedAt: string;
507
+ }>;
508
+ }>;
509
+ };
510
+ };
511
+ export type ConditionHoldsQueryVariables = Exact<{
512
+ containerId: Scalars['ID']['input'];
513
+ pagination?: InputMaybe<MtwContainerPagination>;
514
+ }>;
515
+ export type ConditionHoldsQuery = {
516
+ __typename?: 'Query';
517
+ mtwContainerHoldPage: {
518
+ __typename?: 'MtwContainerHoldPage';
519
+ hasMore: boolean;
520
+ nextOffset?: number | null;
521
+ items: Array<{
522
+ __typename?: 'MtwContainerHold';
523
+ id: string;
524
+ containerId: string;
525
+ inspectionId?: string | null;
526
+ reason: string;
527
+ heldAt: string;
528
+ status: MtwContainerHoldStatus;
529
+ version: number;
530
+ defectIds: Array<string>;
531
+ releasedAt?: string | null;
532
+ updatedAt: string;
533
+ evidence: Array<{
534
+ __typename?: 'MtwContainerEvidence';
535
+ fileId: string;
536
+ versionId: string;
537
+ sha256Hash: string;
538
+ checkedAt: string;
539
+ }>;
540
+ }>;
541
+ };
542
+ };
543
+ export type ConditionDefectsQueryVariables = Exact<{
544
+ inspectionId: Scalars['ID']['input'];
545
+ pagination?: InputMaybe<MtwContainerPagination>;
546
+ }>;
547
+ export type ConditionDefectsQuery = {
548
+ __typename?: 'Query';
549
+ mtwContainerDefectPage: {
550
+ __typename?: 'MtwContainerDefectPage';
551
+ hasMore: boolean;
552
+ nextOffset?: number | null;
553
+ items: Array<{
554
+ __typename?: 'MtwContainerDefect';
555
+ id: string;
556
+ code: string;
557
+ severity: MtwContainerDefectSeverity;
558
+ details: string;
559
+ }>;
560
+ };
561
+ };
562
+ export type ConditionRepairsQueryVariables = Exact<{
563
+ holdId: Scalars['ID']['input'];
564
+ pagination?: InputMaybe<MtwContainerPagination>;
565
+ }>;
566
+ export type ConditionRepairsQuery = {
567
+ __typename?: 'Query';
568
+ mtwContainerRepairPage: {
569
+ __typename?: 'MtwContainerRepairPage';
570
+ hasMore: boolean;
571
+ nextOffset?: number | null;
572
+ items: Array<{
573
+ __typename?: 'MtwContainerRepair';
574
+ id: string;
575
+ completedAt: string;
576
+ workDescription: string;
577
+ defectIds: Array<string>;
578
+ evidence: Array<{
579
+ __typename?: 'MtwContainerEvidence';
580
+ fileId: string;
581
+ versionId: string;
582
+ sha256Hash: string;
583
+ checkedAt: string;
584
+ }>;
585
+ }>;
586
+ };
587
+ };
588
+ export type ConditionReleasesQueryVariables = Exact<{
589
+ containerId: Scalars['ID']['input'];
590
+ pagination?: InputMaybe<MtwContainerPagination>;
591
+ }>;
592
+ export type ConditionReleasesQuery = {
593
+ __typename?: 'Query';
594
+ mtwContainerReleaseDecisionPage: {
595
+ __typename?: 'MtwContainerReleaseDecisionPage';
596
+ hasMore: boolean;
597
+ nextOffset?: number | null;
598
+ items: Array<{
599
+ __typename?: 'MtwContainerReleaseDecision';
600
+ id: string;
601
+ holdId: string;
602
+ inspectionId: string;
603
+ qualificationId: string;
604
+ resolutionReview: string;
605
+ decidedAt: string;
606
+ evidence: Array<{
607
+ __typename?: 'MtwContainerEvidence';
608
+ fileId: string;
609
+ versionId: string;
610
+ sha256Hash: string;
611
+ checkedAt: string;
612
+ }>;
613
+ }>;
614
+ };
615
+ };
616
+ export type ConditionQualificationsQueryVariables = Exact<{
617
+ pagination?: InputMaybe<MtwContainerPagination>;
618
+ }>;
619
+ export type ConditionQualificationsQuery = {
620
+ __typename?: 'Query';
621
+ mtwContainerQualificationPage: {
622
+ __typename?: 'MtwInspectorQualificationPage';
623
+ hasMore: boolean;
624
+ nextOffset?: number | null;
625
+ items: Array<{
626
+ __typename?: 'MtwInspectorQualification';
627
+ id: string;
628
+ subjectActorId: string;
629
+ issuerName: string;
630
+ credentialReference: string;
631
+ validFrom: string;
632
+ validUntil: string;
633
+ scopes: Array<MtwContainerQualificationScope>;
634
+ status: MtwContainerQualificationStatus;
635
+ version: number;
636
+ verifierActorId?: string | null;
637
+ reviewedAt?: string | null;
638
+ issuerConfirmationReference?: string | null;
639
+ reviewNote?: string | null;
640
+ revokedAt?: string | null;
641
+ revocationReason?: string | null;
642
+ evidence: Array<{
643
+ __typename?: 'MtwContainerEvidence';
644
+ fileId: string;
645
+ versionId: string;
646
+ sha256Hash: string;
647
+ checkedAt: string;
648
+ }>;
649
+ reviewEvidence: Array<{
650
+ __typename?: 'MtwContainerEvidence';
651
+ fileId: string;
652
+ versionId: string;
653
+ sha256Hash: string;
654
+ checkedAt: string;
655
+ }>;
656
+ }>;
657
+ };
658
+ };
659
+ export type RecordInspectionMutationVariables = Exact<{
660
+ input: RecordMtwContainerInspectionInput;
661
+ }>;
662
+ export type RecordInspectionMutation = {
663
+ __typename?: 'Mutation';
664
+ recordMtwContainerInspection: {
665
+ __typename?: 'MtwContainerInspection';
666
+ id: string;
667
+ containerId: string;
668
+ inspectedAt: string;
669
+ inspectorActorId: string;
670
+ templateVersion: string;
671
+ examinationScheme: MtwContainerExaminationScheme;
672
+ nextExaminationAt?: string | null;
673
+ acepReference?: string | null;
674
+ cargoCategory: MtwContainerCargoCategory;
675
+ suitability: MtwContainerSuitability;
676
+ cscPlateVersionId?: string | null;
677
+ examinationVersionId?: string | null;
678
+ defectCount: number;
679
+ severeDefectCount: number;
680
+ resolvedDefectIds: Array<string>;
681
+ evidence: Array<{
682
+ __typename?: 'MtwContainerEvidence';
683
+ fileId: string;
684
+ versionId: string;
685
+ sha256Hash: string;
686
+ checkedAt: string;
687
+ }>;
688
+ };
689
+ };
690
+ export type CreateConditionHoldMutationVariables = Exact<{
691
+ input: HoldMtwContainerInput;
692
+ }>;
693
+ export type CreateConditionHoldMutation = {
694
+ __typename?: 'Mutation';
695
+ holdMtwContainer: {
696
+ __typename?: 'MtwContainerHold';
697
+ id: string;
698
+ containerId: string;
699
+ inspectionId?: string | null;
700
+ reason: string;
701
+ heldAt: string;
702
+ status: MtwContainerHoldStatus;
703
+ version: number;
704
+ defectIds: Array<string>;
705
+ releasedAt?: string | null;
706
+ updatedAt: string;
707
+ evidence: Array<{
708
+ __typename?: 'MtwContainerEvidence';
709
+ fileId: string;
710
+ versionId: string;
711
+ sha256Hash: string;
712
+ checkedAt: string;
713
+ }>;
714
+ };
715
+ };
716
+ export type RecordConditionRepairMutationVariables = Exact<{
717
+ input: RecordMtwContainerRepairInput;
718
+ }>;
719
+ export type RecordConditionRepairMutation = {
720
+ __typename?: 'Mutation';
721
+ recordMtwContainerRepair: {
722
+ __typename?: 'MtwContainerRepair';
723
+ id: string;
724
+ };
725
+ };
726
+ export type SubmitInspectorQualificationMutationVariables = Exact<{
727
+ input: SubmitMtwInspectorQualificationInput;
728
+ }>;
729
+ export type SubmitInspectorQualificationMutation = {
730
+ __typename?: 'Mutation';
731
+ submitMtwInspectorQualification: {
732
+ __typename?: 'MtwInspectorQualification';
733
+ id: string;
734
+ subjectActorId: string;
735
+ issuerName: string;
736
+ credentialReference: string;
737
+ validFrom: string;
738
+ validUntil: string;
739
+ scopes: Array<MtwContainerQualificationScope>;
740
+ status: MtwContainerQualificationStatus;
741
+ version: number;
742
+ verifierActorId?: string | null;
743
+ reviewedAt?: string | null;
744
+ issuerConfirmationReference?: string | null;
745
+ reviewNote?: string | null;
746
+ revokedAt?: string | null;
747
+ revocationReason?: string | null;
748
+ evidence: Array<{
749
+ __typename?: 'MtwContainerEvidence';
750
+ fileId: string;
751
+ versionId: string;
752
+ sha256Hash: string;
753
+ checkedAt: string;
754
+ }>;
755
+ reviewEvidence: Array<{
756
+ __typename?: 'MtwContainerEvidence';
757
+ fileId: string;
758
+ versionId: string;
759
+ sha256Hash: string;
760
+ checkedAt: string;
761
+ }>;
762
+ };
763
+ };
764
+ export type ReviewInspectorQualificationMutationVariables = Exact<{
765
+ input: VerifyMtwInspectorQualificationInput;
766
+ }>;
767
+ export type ReviewInspectorQualificationMutation = {
768
+ __typename?: 'Mutation';
769
+ verifyMtwInspectorQualification: {
770
+ __typename?: 'MtwInspectorQualification';
771
+ id: string;
772
+ subjectActorId: string;
773
+ issuerName: string;
774
+ credentialReference: string;
775
+ validFrom: string;
776
+ validUntil: string;
777
+ scopes: Array<MtwContainerQualificationScope>;
778
+ status: MtwContainerQualificationStatus;
779
+ version: number;
780
+ verifierActorId?: string | null;
781
+ reviewedAt?: string | null;
782
+ issuerConfirmationReference?: string | null;
783
+ reviewNote?: string | null;
784
+ revokedAt?: string | null;
785
+ revocationReason?: string | null;
786
+ evidence: Array<{
787
+ __typename?: 'MtwContainerEvidence';
788
+ fileId: string;
789
+ versionId: string;
790
+ sha256Hash: string;
791
+ checkedAt: string;
792
+ }>;
793
+ reviewEvidence: Array<{
794
+ __typename?: 'MtwContainerEvidence';
795
+ fileId: string;
796
+ versionId: string;
797
+ sha256Hash: string;
798
+ checkedAt: string;
799
+ }>;
800
+ };
801
+ };
802
+ export type RevokeInspectorQualificationMutationVariables = Exact<{
803
+ input: RevokeMtwInspectorQualificationInput;
804
+ }>;
805
+ export type RevokeInspectorQualificationMutation = {
806
+ __typename?: 'Mutation';
807
+ revokeMtwInspectorQualification: {
808
+ __typename?: 'MtwInspectorQualification';
809
+ id: string;
810
+ subjectActorId: string;
811
+ issuerName: string;
812
+ credentialReference: string;
813
+ validFrom: string;
814
+ validUntil: string;
815
+ scopes: Array<MtwContainerQualificationScope>;
816
+ status: MtwContainerQualificationStatus;
817
+ version: number;
818
+ verifierActorId?: string | null;
819
+ reviewedAt?: string | null;
820
+ issuerConfirmationReference?: string | null;
821
+ reviewNote?: string | null;
822
+ revokedAt?: string | null;
823
+ revocationReason?: string | null;
824
+ evidence: Array<{
825
+ __typename?: 'MtwContainerEvidence';
826
+ fileId: string;
827
+ versionId: string;
828
+ sha256Hash: string;
829
+ checkedAt: string;
830
+ }>;
831
+ reviewEvidence: Array<{
832
+ __typename?: 'MtwContainerEvidence';
833
+ fileId: string;
834
+ versionId: string;
835
+ sha256Hash: string;
836
+ checkedAt: string;
837
+ }>;
838
+ };
839
+ };
840
+ export type ReleaseConditionHoldMutationVariables = Exact<{
841
+ input: ReleaseMtwContainerHoldInput;
842
+ }>;
843
+ export type ReleaseConditionHoldMutation = {
844
+ __typename?: 'Mutation';
845
+ releaseMtwContainerHold: {
846
+ __typename?: 'MtwContainerReleaseDecision';
847
+ id: string;
848
+ decidedAt: string;
849
+ };
850
+ };
851
+ export declare const ConditionEvidenceFragmentDoc: import('graphql').DocumentNode;
852
+ export declare const InspectionSummaryFragmentDoc: import('graphql').DocumentNode;
853
+ export declare const HoldSummaryFragmentDoc: import('graphql').DocumentNode;
854
+ export declare const QualificationSummaryFragmentDoc: import('graphql').DocumentNode;
855
+ export declare const ConditionContainersDocument: import('graphql').DocumentNode;
856
+ export declare const ConditionInspectionsDocument: import('graphql').DocumentNode;
857
+ export declare const ConditionHoldsDocument: import('graphql').DocumentNode;
858
+ export declare const ConditionDefectsDocument: import('graphql').DocumentNode;
859
+ export declare const ConditionRepairsDocument: import('graphql').DocumentNode;
860
+ export declare const ConditionReleasesDocument: import('graphql').DocumentNode;
861
+ export declare const ConditionQualificationsDocument: import('graphql').DocumentNode;
862
+ export declare const RecordInspectionDocument: import('graphql').DocumentNode;
863
+ export declare const CreateConditionHoldDocument: import('graphql').DocumentNode;
864
+ export declare const RecordConditionRepairDocument: import('graphql').DocumentNode;
865
+ export declare const SubmitInspectorQualificationDocument: import('graphql').DocumentNode;
866
+ export declare const ReviewInspectorQualificationDocument: import('graphql').DocumentNode;
867
+ export declare const RevokeInspectorQualificationDocument: import('graphql').DocumentNode;
868
+ export declare const ReleaseConditionHoldDocument: import('graphql').DocumentNode;