@burdenoff/microfe-movethewheels 2026.930.5 → 2026.1010.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (373) 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/useProcedureAction.js +119 -0
  68. package/dist/hooks/useProcedureSelection.js +53 -0
  69. package/dist/hooks/useReuseRecoveryAction.js +116 -0
  70. package/dist/movethewheels/components/ContainerEvidencePicker.d.ts +10 -0
  71. package/dist/movethewheels/components/FreeTimeAgreementForm.d.ts +14 -0
  72. package/dist/movethewheels/components/ReturnInstructionForm.d.ts +8 -0
  73. package/dist/movethewheels/components/ReuseControls.d.ts +42 -0
  74. package/dist/movethewheels/components/ReusePermissionForm.d.ts +9 -0
  75. package/dist/movethewheels/components/ReuseProposalForm.d.ts +11 -0
  76. package/dist/movethewheels/components/ReuseSourceFields.d.ts +9 -0
  77. package/dist/movethewheels/components/consolidation/ConsolidationHistory.d.ts +13 -0
  78. package/dist/movethewheels/components/consolidation/ConsolidationLotEditor.d.ts +6 -0
  79. package/dist/movethewheels/components/consolidation/ConsolidationManifestWorkbench.d.ts +8 -0
  80. package/dist/movethewheels/components/consolidation/ConsolidationPlanForm.d.ts +8 -0
  81. package/dist/movethewheels/components/consolidation/ConsolidationPlanWorkbench.d.ts +5 -0
  82. package/dist/movethewheels/components/consolidation/ConsolidationReportForm.d.ts +9 -0
  83. package/dist/movethewheels/components/consolidation/ConsolidationReportsWorkbench.d.ts +7 -0
  84. package/dist/movethewheels/components/consolidation/ConsolidationSummary.d.ts +6 -0
  85. package/dist/movethewheels/components/consolidation/OriginalConsolidationHistory.d.ts +8 -0
  86. package/dist/movethewheels/components/freight-cost/FreightDraftForm.d.ts +8 -0
  87. package/dist/movethewheels/components/freight-cost/FreightFields.d.ts +23 -0
  88. package/dist/movethewheels/components/freight-cost/FreightFxEditor.d.ts +6 -0
  89. package/dist/movethewheels/components/freight-cost/FreightHistory.d.ts +5 -0
  90. package/dist/movethewheels/components/freight-cost/FreightLineEditor.d.ts +8 -0
  91. package/dist/movethewheels/components/freight-cost/FreightScopeEditor.d.ts +6 -0
  92. package/dist/movethewheels/components/freight-cost/FreightTotals.d.ts +6 -0
  93. package/dist/movethewheels/components/logistics-procedure/ProcedureDecisionForm.d.ts +20 -0
  94. package/dist/movethewheels/components/logistics-procedure/ProcedureFields.d.ts +17 -0
  95. package/dist/movethewheels/components/logistics-procedure/ProcedureHistory.d.ts +7 -0
  96. package/dist/movethewheels/components/logistics-procedure/ProcedurePolicyForm.d.ts +10 -0
  97. package/dist/movethewheels/components/logistics-procedure/ProcedurePolicyWorkbench.d.ts +5 -0
  98. package/dist/movethewheels/components/logistics-procedure/ProcedureReviewWorkbench.d.ts +5 -0
  99. package/dist/movethewheels/components/logistics-procedure/ProcedureRunWorkbench.d.ts +6 -0
  100. package/dist/movethewheels/components/logistics-procedure/ProcedureSubjectPicker.d.ts +7 -0
  101. package/dist/movethewheels/components/pending-pick/PendingPickDraft.d.ts +16 -0
  102. package/dist/movethewheels/components/pending-pick/PendingPickHistory.d.ts +5 -0
  103. package/dist/movethewheels/components/pending-pick/PickCapture.d.ts +6 -0
  104. package/dist/movethewheels/components/pending-pick/PickLineSelection.d.ts +17 -0
  105. package/dist/movethewheels/components/stock-binding/StockAssessmentDraft.d.ts +13 -0
  106. package/dist/movethewheels/components/stock-binding/StockAssessmentHistory.d.ts +18 -0
  107. package/dist/movethewheels/components/stock-binding/StockAssessmentSummary.d.ts +9 -0
  108. package/dist/movethewheels/components/stock-binding/StockFactForm.d.ts +6 -0
  109. package/dist/movethewheels/components/stock-observation/StockIssueForm.d.ts +7 -0
  110. package/dist/movethewheels/components/stock-observation/StockIssueHistory.d.ts +7 -0
  111. package/dist/movethewheels/components/stock-observation/StockIssueReadPanel.d.ts +5 -0
  112. package/dist/movethewheels/components/trip-utilization/TripReportForm.d.ts +6 -0
  113. package/dist/movethewheels/components/trip-utilization/TripReportHistory.d.ts +14 -0
  114. package/dist/movethewheels/components/trip-utilization/TripReportSummary.d.ts +5 -0
  115. package/dist/movethewheels/components/trip-utilization/TripSegmentFields.d.ts +9 -0
  116. package/dist/movethewheels/hooks/useConsolidationAction.d.ts +19 -0
  117. package/dist/movethewheels/hooks/useContainerCondition.d.ts +21 -0
  118. package/dist/movethewheels/hooks/useContainerLifecycle.d.ts +40 -0
  119. package/dist/movethewheels/hooks/useEmptyReuseAction.d.ts +14 -0
  120. package/dist/movethewheels/hooks/useFreightRecoveryAction.d.ts +23 -0
  121. package/dist/movethewheels/hooks/useProcedureAction.d.ts +18 -0
  122. package/dist/movethewheels/hooks/useProcedureSelection.d.ts +51 -0
  123. package/dist/movethewheels/hooks/useReuseRecoveryAction.d.ts +18 -0
  124. package/dist/movethewheels/pages/ConsolidationPage.d.ts +1 -0
  125. package/dist/movethewheels/pages/ContainerConditionPage.d.ts +1 -0
  126. package/dist/movethewheels/pages/ContainersPage.d.ts +2 -0
  127. package/dist/movethewheels/pages/EmptyReusePage.d.ts +1 -0
  128. package/dist/movethewheels/pages/FreeTimePage.d.ts +1 -0
  129. package/dist/movethewheels/pages/FreightEstimatePage.d.ts +1 -0
  130. package/dist/movethewheels/pages/LogisticsProceduresPage.d.ts +1 -0
  131. package/dist/movethewheels/pages/PendingPickPage.d.ts +1 -0
  132. package/dist/movethewheels/pages/StockBindingPage.d.ts +1 -0
  133. package/dist/movethewheels/pages/StockObservationsPage.d.ts +1 -0
  134. package/dist/movethewheels/pages/TripUtilizationPage.d.ts +1 -0
  135. package/dist/movethewheels/utils/consolidationHistoryTarget.d.ts +12 -0
  136. package/dist/movethewheels/utils/consolidationInput.d.ts +15 -0
  137. package/dist/movethewheels/utils/consolidationLot.d.ts +3 -0
  138. package/dist/movethewheels/utils/consolidationPins.d.ts +20 -0
  139. package/dist/movethewheels/utils/consolidationRecovery.d.ts +5 -0
  140. package/dist/movethewheels/utils/consolidationReportHead.d.ts +5 -0
  141. package/dist/movethewheels/utils/freeTimeDate.d.ts +1 -0
  142. package/dist/movethewheels/utils/freightAcknowledgement.d.ts +2 -0
  143. package/dist/movethewheels/utils/freightDraft.d.ts +36 -0
  144. package/dist/movethewheels/utils/freightRecovery.d.ts +5 -0
  145. package/dist/movethewheels/utils/graphqlClient.d.ts +2 -1
  146. package/dist/movethewheels/utils/pendingPickDraft.d.ts +8 -0
  147. package/dist/movethewheels/utils/procedureInput.d.ts +18 -0
  148. package/dist/movethewheels/utils/procedureRecovery.d.ts +5 -0
  149. package/dist/movethewheels/utils/reuseAttempt.d.ts +7 -0
  150. package/dist/movethewheels/utils/reuseForm.d.ts +6 -0
  151. package/dist/movethewheels/utils/reuseRecovery.d.ts +26 -0
  152. package/dist/movethewheels/utils/stockBindingForm.d.ts +23 -0
  153. package/dist/movethewheels/utils/stockBindingLabels.d.ts +10 -0
  154. package/dist/movethewheels/utils/stockObservationForm.d.ts +5 -0
  155. package/dist/movethewheels/utils/tripDraftContext.d.ts +25 -0
  156. package/dist/movethewheels/utils/tripUtilizationForm.d.ts +6 -0
  157. package/dist/node_modules/@react-leaflet/core/lib/component.js +5 -5
  158. package/dist/node_modules/fast-equals/dist/es/index.js +87 -74
  159. package/dist/node_modules/leaflet/dist/leaflet-src.js +8 -5
  160. package/dist/node_modules/lodash/_Stack.js +2 -1
  161. package/dist/node_modules/lucide-react/dist/esm/icons/clipboard-list.js +35 -0
  162. package/dist/node_modules/lucide-react/dist/esm/icons/repeat-2.js +22 -0
  163. package/dist/node_modules/react-leaflet/lib/MapContainer.js +3 -3
  164. package/dist/node_modules/react-smooth/es6/Animate.js +2 -2
  165. package/dist/node_modules/recharts/es6/cartesian/Area.js +13 -13
  166. package/dist/node_modules/recharts/es6/cartesian/Bar.js +9 -9
  167. package/dist/node_modules/recharts/es6/cartesian/Brush.js +12 -12
  168. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +7 -7
  169. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +13 -13
  170. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +4 -4
  171. package/dist/node_modules/recharts/es6/cartesian/Line.js +10 -10
  172. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +3 -3
  173. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +3 -3
  174. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +4 -4
  175. package/dist/node_modules/recharts/es6/cartesian/XAxis.js +3 -3
  176. package/dist/node_modules/recharts/es6/cartesian/YAxis.js +3 -3
  177. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +1 -1
  178. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +22 -22
  179. package/dist/node_modules/recharts/es6/component/Cursor.js +1 -1
  180. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +11 -11
  181. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +6 -6
  182. package/dist/node_modules/recharts/es6/component/Label.js +14 -14
  183. package/dist/node_modules/recharts/es6/component/LabelList.js +6 -6
  184. package/dist/node_modules/recharts/es6/component/Legend.js +5 -5
  185. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +3 -3
  186. package/dist/node_modules/recharts/es6/component/Text.js +2 -2
  187. package/dist/node_modules/recharts/es6/component/Tooltip.js +3 -3
  188. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +2 -2
  189. package/dist/node_modules/recharts/es6/container/Layer.js +2 -2
  190. package/dist/node_modules/recharts/es6/container/Surface.js +2 -2
  191. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +2 -2
  192. package/dist/node_modules/recharts/es6/polar/Pie.js +13 -13
  193. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +8 -8
  194. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +6 -6
  195. package/dist/node_modules/recharts/es6/shape/Cross.js +1 -1
  196. package/dist/node_modules/recharts/es6/shape/Curve.js +1 -1
  197. package/dist/node_modules/recharts/es6/shape/Dot.js +1 -1
  198. package/dist/node_modules/recharts/es6/shape/Polygon.js +4 -4
  199. package/dist/node_modules/recharts/es6/shape/Rectangle.js +4 -4
  200. package/dist/node_modules/recharts/es6/shape/Sector.js +1 -1
  201. package/dist/node_modules/recharts/es6/shape/Symbols.js +1 -1
  202. package/dist/node_modules/recharts/es6/shape/Trapezoid.js +4 -4
  203. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +9 -9
  204. package/dist/node_modules/recharts/es6/util/BarUtils.js +1 -1
  205. package/dist/node_modules/recharts/es6/util/CartesianUtils.js +1 -1
  206. package/dist/node_modules/recharts/es6/util/PolarUtils.js +1 -1
  207. package/dist/node_modules/recharts/es6/util/ReactUtils.js +2 -2
  208. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +1 -1
  209. package/dist/node_modules/recharts/es6/util/types.js +1 -1
  210. package/dist/node_modules/{react-is → recharts/node_modules/react-is}/cjs/react-is.development.js +2 -2
  211. package/dist/node_modules/{react-is → recharts/node_modules/react-is}/cjs/react-is.production.min.js +2 -2
  212. package/dist/node_modules/{react-is → recharts/node_modules/react-is}/index.js +2 -2
  213. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +97 -18
  214. package/dist/node_modules/zustand/esm/middleware.js +2 -2
  215. package/dist/pages/ConsolidationPage.js +76 -0
  216. package/dist/pages/ContainerConditionPage.js +972 -0
  217. package/dist/pages/ContainersPage.js +522 -0
  218. package/dist/pages/EmptyReusePage.js +777 -0
  219. package/dist/pages/FreeTimePage.js +657 -0
  220. package/dist/pages/FreightEstimatePage.js +284 -0
  221. package/dist/pages/LogisticsProceduresPage.js +100 -0
  222. package/dist/pages/PendingPickPage.js +155 -0
  223. package/dist/pages/StockBindingPage.js +236 -0
  224. package/dist/pages/StockObservationsPage.js +168 -0
  225. package/dist/pages/TripUtilizationPage.js +227 -0
  226. package/dist/src/generated/consolidation-operations.js +505 -0
  227. package/dist/src/generated/container-condition-operations.js +208 -0
  228. package/dist/src/generated/container-operations.js +101 -0
  229. package/dist/src/generated/empty-reuse-operations.js +749 -0
  230. package/dist/src/generated/free-time-operations.js +235 -0
  231. package/dist/src/generated/freight-cost-operations.js +325 -0
  232. package/dist/src/generated/logistics-procedure-operations.js +362 -0
  233. package/dist/src/generated/pending-pick-operations.js +1128 -0
  234. package/dist/src/generated/stock-binding-operations.js +175 -0
  235. package/dist/src/generated/stock-observation-operations.js +93 -0
  236. package/dist/src/generated/trip-utilization-operations.js +140 -0
  237. package/dist/src/generated/wspace-operations.js +708 -0
  238. package/dist/utils/consolidationHistoryTarget.js +27 -0
  239. package/dist/utils/consolidationInput.js +21 -0
  240. package/dist/utils/consolidationLot.js +29 -0
  241. package/dist/utils/consolidationPins.js +13 -0
  242. package/dist/utils/consolidationRecovery.js +40 -0
  243. package/dist/utils/consolidationReportHead.js +18 -0
  244. package/dist/utils/freeTimeDate.js +26 -0
  245. package/dist/utils/freightAcknowledgement.js +8 -0
  246. package/dist/utils/freightDraft.js +125 -0
  247. package/dist/utils/freightRecovery.js +36 -0
  248. package/dist/utils/graphqlClient.js +28 -28
  249. package/dist/utils/pendingPickDraft.js +46 -0
  250. package/dist/utils/procedureInput.js +43 -0
  251. package/dist/utils/procedureRecovery.js +42 -0
  252. package/dist/utils/reuseAttempt.js +20 -0
  253. package/dist/utils/reuseForm.js +25 -0
  254. package/dist/utils/reuseRecovery.js +71 -0
  255. package/dist/utils/stockBindingForm.js +142 -0
  256. package/dist/utils/stockBindingLabels.js +23 -0
  257. package/dist/utils/stockObservationForm.js +55 -0
  258. package/dist/utils/tripDraftContext.js +19 -0
  259. package/dist/utils/tripUtilizationForm.js +60 -0
  260. package/package.json +19 -5
  261. package/src/generated/consolidation-operations.ts +1138 -0
  262. package/src/generated/container-condition-operations.ts +771 -0
  263. package/src/generated/container-operations.ts +376 -0
  264. package/src/generated/empty-reuse-operations.ts +1648 -0
  265. package/src/generated/free-time-operations.ts +814 -0
  266. package/src/generated/freight-cost-operations.ts +753 -0
  267. package/src/generated/logistics-procedure-operations.ts +1047 -0
  268. package/src/generated/pending-pick-operations.ts +1508 -0
  269. package/src/generated/stock-binding-operations.ts +631 -0
  270. package/src/generated/stock-observation-operations.ts +373 -0
  271. package/src/generated/trip-utilization-operations.ts +500 -0
  272. package/src/generated/wspace-operations.ts +116 -0
  273. package/src/movethewheels/MoveTheWheelsRoot.tsx +79 -0
  274. package/src/movethewheels/MoveTheWheelsRoutes.tsx +22 -0
  275. package/src/movethewheels/components/ContainerEvidencePicker.tsx +146 -0
  276. package/src/movethewheels/components/FreeTimeAgreementForm.tsx +483 -0
  277. package/src/movethewheels/components/ReturnInstructionForm.tsx +102 -0
  278. package/src/movethewheels/components/ReuseControls.tsx +138 -0
  279. package/src/movethewheels/components/ReusePermissionForm.tsx +123 -0
  280. package/src/movethewheels/components/ReuseProposalForm.tsx +484 -0
  281. package/src/movethewheels/components/ReuseSourceFields.tsx +80 -0
  282. package/src/movethewheels/components/consolidation/ConsolidationHistory.tsx +159 -0
  283. package/src/movethewheels/components/consolidation/ConsolidationLotEditor.tsx +144 -0
  284. package/src/movethewheels/components/consolidation/ConsolidationManifestWorkbench.tsx +168 -0
  285. package/src/movethewheels/components/consolidation/ConsolidationPlanForm.tsx +185 -0
  286. package/src/movethewheels/components/consolidation/ConsolidationPlanWorkbench.tsx +395 -0
  287. package/src/movethewheels/components/consolidation/ConsolidationReportForm.tsx +124 -0
  288. package/src/movethewheels/components/consolidation/ConsolidationReportsWorkbench.tsx +233 -0
  289. package/src/movethewheels/components/consolidation/ConsolidationSummary.tsx +84 -0
  290. package/src/movethewheels/components/consolidation/OriginalConsolidationHistory.tsx +133 -0
  291. package/src/movethewheels/components/freight-cost/FreightDraftForm.tsx +224 -0
  292. package/src/movethewheels/components/freight-cost/FreightFields.tsx +91 -0
  293. package/src/movethewheels/components/freight-cost/FreightFxEditor.tsx +98 -0
  294. package/src/movethewheels/components/freight-cost/FreightHistory.tsx +91 -0
  295. package/src/movethewheels/components/freight-cost/FreightLineEditor.tsx +192 -0
  296. package/src/movethewheels/components/freight-cost/FreightScopeEditor.tsx +64 -0
  297. package/src/movethewheels/components/freight-cost/FreightTotals.tsx +68 -0
  298. package/src/movethewheels/components/logistics-procedure/ProcedureDecisionForm.tsx +204 -0
  299. package/src/movethewheels/components/logistics-procedure/ProcedureFields.tsx +43 -0
  300. package/src/movethewheels/components/logistics-procedure/ProcedureHistory.tsx +102 -0
  301. package/src/movethewheels/components/logistics-procedure/ProcedurePolicyForm.tsx +226 -0
  302. package/src/movethewheels/components/logistics-procedure/ProcedurePolicyWorkbench.tsx +174 -0
  303. package/src/movethewheels/components/logistics-procedure/ProcedureReviewWorkbench.tsx +278 -0
  304. package/src/movethewheels/components/logistics-procedure/ProcedureRunWorkbench.tsx +292 -0
  305. package/src/movethewheels/components/logistics-procedure/ProcedureSubjectPicker.tsx +111 -0
  306. package/src/movethewheels/components/pending-pick/PendingPickDraft.tsx +82 -0
  307. package/src/movethewheels/components/pending-pick/PendingPickHistory.tsx +93 -0
  308. package/src/movethewheels/components/pending-pick/PickCapture.tsx +70 -0
  309. package/src/movethewheels/components/pending-pick/PickLineSelection.tsx +130 -0
  310. package/src/movethewheels/components/stock-binding/StockAssessmentDraft.tsx +52 -0
  311. package/src/movethewheels/components/stock-binding/StockAssessmentHistory.tsx +56 -0
  312. package/src/movethewheels/components/stock-binding/StockAssessmentSummary.tsx +108 -0
  313. package/src/movethewheels/components/stock-binding/StockFactForm.tsx +186 -0
  314. package/src/movethewheels/components/stock-observation/StockIssueForm.tsx +103 -0
  315. package/src/movethewheels/components/stock-observation/StockIssueHistory.tsx +96 -0
  316. package/src/movethewheels/components/stock-observation/StockIssueReadPanel.tsx +72 -0
  317. package/src/movethewheels/components/trip-utilization/TripReportForm.tsx +116 -0
  318. package/src/movethewheels/components/trip-utilization/TripReportHistory.tsx +51 -0
  319. package/src/movethewheels/components/trip-utilization/TripReportSummary.tsx +127 -0
  320. package/src/movethewheels/components/trip-utilization/TripSegmentFields.tsx +118 -0
  321. package/src/movethewheels/hooks/useConsolidationAction.ts +196 -0
  322. package/src/movethewheels/hooks/useContainerCondition.ts +129 -0
  323. package/src/movethewheels/hooks/useContainerLifecycle.ts +291 -0
  324. package/src/movethewheels/hooks/useEmptyReuseAction.ts +72 -0
  325. package/src/movethewheels/hooks/useFreightRecoveryAction.ts +201 -0
  326. package/src/movethewheels/hooks/useProcedureAction.ts +196 -0
  327. package/src/movethewheels/hooks/useProcedureSelection.ts +75 -0
  328. package/src/movethewheels/hooks/useReuseRecoveryAction.ts +192 -0
  329. package/src/movethewheels/pages/ConsolidationPage.tsx +70 -0
  330. package/src/movethewheels/pages/ContainerConditionPage.tsx +959 -0
  331. package/src/movethewheels/pages/ContainersPage.tsx +490 -0
  332. package/src/movethewheels/pages/EmptyReusePage.tsx +823 -0
  333. package/src/movethewheels/pages/FreeTimePage.tsx +720 -0
  334. package/src/movethewheels/pages/FreightEstimatePage.tsx +353 -0
  335. package/src/movethewheels/pages/LogisticsProceduresPage.tsx +86 -0
  336. package/src/movethewheels/pages/PendingPickPage.tsx +226 -0
  337. package/src/movethewheels/pages/StockBindingPage.tsx +299 -0
  338. package/src/movethewheels/pages/StockObservationsPage.tsx +181 -0
  339. package/src/movethewheels/pages/TripUtilizationPage.tsx +315 -0
  340. package/src/movethewheels/utils/consolidationHistoryTarget.ts +39 -0
  341. package/src/movethewheels/utils/consolidationInput.ts +70 -0
  342. package/src/movethewheels/utils/consolidationLot.ts +24 -0
  343. package/src/movethewheels/utils/consolidationPins.ts +52 -0
  344. package/src/movethewheels/utils/consolidationRecovery.ts +88 -0
  345. package/src/movethewheels/utils/consolidationReportHead.ts +29 -0
  346. package/src/movethewheels/utils/freeTimeDate.ts +31 -0
  347. package/src/movethewheels/utils/freightAcknowledgement.ts +31 -0
  348. package/src/movethewheels/utils/freightDraft.ts +170 -0
  349. package/src/movethewheels/utils/freightRecovery.ts +79 -0
  350. package/src/movethewheels/utils/graphqlClient.ts +14 -5
  351. package/src/movethewheels/utils/pendingPickDraft.ts +61 -0
  352. package/src/movethewheels/utils/procedureInput.ts +98 -0
  353. package/src/movethewheels/utils/procedureRecovery.ts +92 -0
  354. package/src/movethewheels/utils/reuseAttempt.ts +29 -0
  355. package/src/movethewheels/utils/reuseForm.ts +30 -0
  356. package/src/movethewheels/utils/reuseRecovery.ts +151 -0
  357. package/src/movethewheels/utils/stockBindingForm.ts +209 -0
  358. package/src/movethewheels/utils/stockBindingLabels.ts +41 -0
  359. package/src/movethewheels/utils/stockObservationForm.ts +73 -0
  360. package/src/movethewheels/utils/tripDraftContext.ts +61 -0
  361. package/src/movethewheels/utils/tripUtilizationForm.ts +105 -0
  362. package/src/operations/condition/container-condition.graphql +41 -0
  363. package/src/operations/consolidation/consolidation.graphql +490 -0
  364. package/src/operations/container/container-lifecycle.graphql +80 -0
  365. package/src/operations/empty-reuse/empty-reuse.graphql +737 -0
  366. package/src/operations/free-time/free-time.graphql +47 -0
  367. package/src/operations/freight-cost/freight.graphql +6 -0
  368. package/src/operations/logistics-procedure/procedure.graphql +15 -0
  369. package/src/operations/pending-pick/pending-pick.graphql +1122 -0
  370. package/src/operations/stock-binding/stock-binding.graphql +160 -0
  371. package/src/operations/stock-observation/stock-observation.graphql +20 -0
  372. package/src/operations/trip-utilization/trip-utilization.graphql +126 -0
  373. package/src/operations/wspace/container-evidence.graphql +6 -0
@@ -0,0 +1,930 @@
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 InventoryFilterInput = {
50
+ cargoItemId?: InputMaybe<Scalars['ID']['input']>;
51
+ inventoryItemId?: InputMaybe<Scalars['ID']['input']>;
52
+ locationId?: InputMaybe<Scalars['ID']['input']>;
53
+ lowStock?: InputMaybe<Scalars['Boolean']['input']>;
54
+ search?: InputMaybe<Scalars['String']['input']>;
55
+ warehouseId?: InputMaybe<Scalars['ID']['input']>;
56
+ };
57
+ /**
58
+ * MoveTheWheels-owned cargo/item master used for warehouse inventory and shipment payloads.
59
+ * This is not a sellable storefront product; commerce SKUs must live in global-store-svc
60
+ * (StoreProduct) and be referenced by storeProductId when needed.
61
+ */
62
+ export type MtwCargoItem = {
63
+ __typename?: 'MtwCargoItem';
64
+ fragile: Scalars['Boolean']['output'];
65
+ hazardous: Scalars['Boolean']['output'];
66
+ id: Scalars['ID']['output'];
67
+ name: Scalars['String']['output'];
68
+ sku: Scalars['String']['output'];
69
+ temperatureControlled: Scalars['Boolean']['output'];
70
+ updatedAt: Scalars['DateTime']['output'];
71
+ };
72
+ /** Bounded audit snapshot of at most 10 exact evidence versions. */
73
+ export type MtwContainerEvidence = {
74
+ __typename?: 'MtwContainerEvidence';
75
+ checkedAt: Scalars['DateTime']['output'];
76
+ fileId: Scalars['ID']['output'];
77
+ sha256Hash: Scalars['String']['output'];
78
+ versionId: Scalars['ID']['output'];
79
+ };
80
+ /** Exact shared Files version. The fingerprint establishes integrity, not issuer authenticity. */
81
+ export type MtwContainerEvidenceInput = {
82
+ fileId: Scalars['ID']['input'];
83
+ versionId: Scalars['ID']['input'];
84
+ };
85
+ export type MtwContainerPagination = {
86
+ limit?: InputMaybe<Scalars['Int']['input']>;
87
+ offset?: InputMaybe<Scalars['Int']['input']>;
88
+ };
89
+ export type MtwInventoryItem = {
90
+ __typename?: 'MtwInventoryItem';
91
+ allocated: Scalars['Int']['output'];
92
+ available: Scalars['Int']['output'];
93
+ cargoItem?: Maybe<MtwCargoItem>;
94
+ cargoItemId: Scalars['ID']['output'];
95
+ /** Monotonic stock/binding change marker, not certified composition or pick eligibility. */
96
+ compositionEpoch: Scalars['Int']['output'];
97
+ damaged: Scalars['Int']['output'];
98
+ id: Scalars['ID']['output'];
99
+ location?: Maybe<MtwWarehouseLocation>;
100
+ locationId?: Maybe<Scalars['ID']['output']>;
101
+ onHand: Scalars['Int']['output'];
102
+ updatedAt: Scalars['DateTime']['output'];
103
+ warehouse?: Maybe<MtwWarehouse>;
104
+ warehouseId: Scalars['ID']['output'];
105
+ };
106
+ /** Append-only source assessment. Future effective times and historical expiry do not assert current readiness. */
107
+ export type MtwStockBindingAssessment = {
108
+ __typename?: 'MtwStockBindingAssessment';
109
+ actorProvenance: Scalars['String']['output'];
110
+ capturedCargoItemId: Scalars['ID']['output'];
111
+ capturedCargoUpdatedAt: Scalars['DateTime']['output'];
112
+ /** Null means composition epoch was not reviewed; a value is not current pick eligibility. */
113
+ capturedCompositionEpoch?: Maybe<Scalars['Int']['output']>;
114
+ capturedInventoryUpdatedAt: Scalars['DateTime']['output'];
115
+ capturedLocationId?: Maybe<Scalars['ID']['output']>;
116
+ capturedLocationUpdatedAt?: Maybe<Scalars['DateTime']['output']>;
117
+ capturedStockQuantityAudit: MtwStockBindingQuantityAudit;
118
+ capturedWarehouseId: Scalars['ID']['output'];
119
+ capturedWarehouseUpdatedAt: Scalars['DateTime']['output'];
120
+ completeness: MtwStockBindingCompleteness;
121
+ createdBy: Scalars['String']['output'];
122
+ criticalFingerprint: Scalars['String']['output'];
123
+ criticalOwnerSnapshot: MtwStockBindingOwnerSnapshot;
124
+ effectiveAt: Scalars['DateTime']['output'];
125
+ evidence: Array<MtwContainerEvidence>;
126
+ facts: MtwStockBindingFacts;
127
+ id: Scalars['ID']['output'];
128
+ inventoryItemId: Scalars['ID']['output'];
129
+ onBehalfOf?: Maybe<Scalars['String']['output']>;
130
+ previousAssessmentId?: Maybe<Scalars['ID']['output']>;
131
+ recordedAt: Scalars['DateTime']['output'];
132
+ version: Scalars['Int']['output'];
133
+ };
134
+ export type MtwStockBindingAssessmentPage = {
135
+ __typename?: 'MtwStockBindingAssessmentPage';
136
+ hasMore: Scalars['Boolean']['output'];
137
+ items: Array<MtwStockBindingAssessment>;
138
+ limit: Scalars['Int']['output'];
139
+ nextOffset?: Maybe<Scalars['Int']['output']>;
140
+ offset: Scalars['Int']['output'];
141
+ total: Scalars['Int']['output'];
142
+ };
143
+ export type MtwStockBindingCompleteness = {
144
+ __typename?: 'MtwStockBindingCompleteness';
145
+ reasons: Array<MtwStockBindingIncompleteReason>;
146
+ status: MtwStockBindingCompletenessStatus;
147
+ };
148
+ export type MtwStockBindingCompletenessStatus = 'INCOMPLETE' | 'SOURCE_FACTS_ONLY' | 'UNSUPPORTED_MIXED_LOT';
149
+ export type MtwStockBindingCountUnit = {
150
+ __typename?: 'MtwStockBindingCountUnit';
151
+ kind: MtwStockBindingCountUnitKind;
152
+ reference?: Maybe<Scalars['String']['output']>;
153
+ revision?: Maybe<Scalars['String']['output']>;
154
+ };
155
+ export type MtwStockBindingCountUnitInput = {
156
+ kind: MtwStockBindingCountUnitKind;
157
+ reference?: InputMaybe<Scalars['String']['input']>;
158
+ revision?: InputMaybe<Scalars['String']['input']>;
159
+ };
160
+ export type MtwStockBindingCountUnitKind = 'COUNT_UNIT';
161
+ export type MtwStockBindingExpiryPolicy = 'NO_REQUIRED_EXPIRY' | 'TIME_BOUNDED' | 'UNKNOWN';
162
+ /** Immutable operator declarations. Completeness does not establish current eligibility or physical verification. */
163
+ export type MtwStockBindingFacts = {
164
+ __typename?: 'MtwStockBindingFacts';
165
+ countUnit?: Maybe<MtwStockBindingCountUnit>;
166
+ declaredLotPolicy: MtwStockBindingLotPolicy;
167
+ lot?: Maybe<MtwStockBindingLot>;
168
+ provenance: MtwStockBindingProvenance;
169
+ scanMapping?: Maybe<MtwStockBindingScanMapping>;
170
+ schemaVersion: Scalars['Int']['output'];
171
+ scope: MtwStockBindingScope;
172
+ source: MtwStockBindingSource;
173
+ sourceValidity: MtwStockBindingSourceValidity;
174
+ };
175
+ export type MtwStockBindingFactsInput = {
176
+ countUnit?: InputMaybe<MtwStockBindingCountUnitInput>;
177
+ declaredLotPolicy: MtwStockBindingLotPolicy;
178
+ lot?: InputMaybe<MtwStockBindingLotInput>;
179
+ scanMapping?: InputMaybe<MtwStockBindingScanMappingInput>;
180
+ scope: MtwStockBindingScope;
181
+ source: MtwStockBindingSourceInput;
182
+ sourceValidity: MtwStockBindingSourceValidityInput;
183
+ };
184
+ export type MtwStockBindingIncompleteReason = 'BIN_LABEL_UNKNOWN' | 'COUNT_UNIT_REFERENCE_UNKNOWN' | 'COUNT_UNIT_REVISION_UNKNOWN' | 'DECLARED_LOT_DISPOSITION_UNKNOWN' | 'DECLARED_LOT_EXPIRED' | 'DECLARED_LOT_HELD' | 'ITEM_LABEL_UNKNOWN' | 'LOT_EXPIRY_CUTOFF_UNKNOWN' | 'LOT_EXPIRY_POLICY_UNKNOWN' | 'LOT_EXPIRY_REVISION_UNKNOWN' | 'LOT_EXPIRY_SOURCE_UNKNOWN' | 'LOT_POLICY_UNKNOWN' | 'LOT_REFERENCE_UNKNOWN' | 'LOT_REVISION_UNKNOWN' | 'MIXED_LOT_UNSUPPORTED' | 'SCAN_MAPPING_REFERENCE_UNKNOWN' | 'SCAN_MAPPING_REVISION_UNKNOWN' | 'SCOPE_UNKNOWN' | 'SOURCE_REFERENCE_UNKNOWN' | 'SOURCE_REVISION_UNKNOWN' | 'SOURCE_VALIDITY_END_UNKNOWN' | 'SOURCE_VALIDITY_POLICY_UNKNOWN' | 'SOURCE_VALIDITY_REFERENCE_UNKNOWN' | 'SOURCE_VALIDITY_REVISION_UNKNOWN' | 'SOURCE_VALIDITY_START_UNKNOWN';
185
+ export type MtwStockBindingLot = {
186
+ __typename?: 'MtwStockBindingLot';
187
+ declaredDisposition: MtwStockBindingLotDisposition;
188
+ expiry: MtwStockBindingLotExpiry;
189
+ reference?: Maybe<Scalars['String']['output']>;
190
+ revision?: Maybe<Scalars['String']['output']>;
191
+ };
192
+ export type MtwStockBindingLotDisposition = 'EXPIRED' | 'HELD' | 'RELEASED' | 'UNKNOWN';
193
+ export type MtwStockBindingLotExpiry = {
194
+ __typename?: 'MtwStockBindingLotExpiry';
195
+ expiresAt?: Maybe<Scalars['DateTime']['output']>;
196
+ policy: MtwStockBindingExpiryPolicy;
197
+ sourceReference?: Maybe<Scalars['String']['output']>;
198
+ sourceRevision?: Maybe<Scalars['String']['output']>;
199
+ };
200
+ export type MtwStockBindingLotExpiryInput = {
201
+ expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
202
+ policy: MtwStockBindingExpiryPolicy;
203
+ sourceReference?: InputMaybe<Scalars['String']['input']>;
204
+ sourceRevision?: InputMaybe<Scalars['String']['input']>;
205
+ };
206
+ export type MtwStockBindingLotInput = {
207
+ declaredDisposition: MtwStockBindingLotDisposition;
208
+ expiry: MtwStockBindingLotExpiryInput;
209
+ reference?: InputMaybe<Scalars['String']['input']>;
210
+ revision?: InputMaybe<Scalars['String']['input']>;
211
+ };
212
+ export type MtwStockBindingLotPolicy = 'NOT_REQUIRED' | 'REQUIRED' | 'UNKNOWN';
213
+ /** Captured owner identity and handling fields, never a substitution with current owner details. */
214
+ export type MtwStockBindingOwnerSnapshot = {
215
+ __typename?: 'MtwStockBindingOwnerSnapshot';
216
+ cargoFragile: Scalars['Boolean']['output'];
217
+ cargoHazardous: Scalars['Boolean']['output'];
218
+ cargoItemId: Scalars['ID']['output'];
219
+ cargoSku: Scalars['String']['output'];
220
+ cargoTemperatureControlled: Scalars['Boolean']['output'];
221
+ inventoryItemId: Scalars['ID']['output'];
222
+ locationCode?: Maybe<Scalars['String']['output']>;
223
+ locationId?: Maybe<Scalars['ID']['output']>;
224
+ locationStatus?: Maybe<Scalars['String']['output']>;
225
+ locationWarehouseId?: Maybe<Scalars['ID']['output']>;
226
+ schemaVersion: Scalars['Int']['output'];
227
+ warehouseCode: Scalars['String']['output'];
228
+ warehouseId: Scalars['ID']['output'];
229
+ warehouseStatus: Scalars['String']['output'];
230
+ workspaceId: Scalars['ID']['output'];
231
+ };
232
+ export type MtwStockBindingProvenance = 'OPERATOR_REPORTED';
233
+ export type MtwStockBindingQuantityAudit = {
234
+ __typename?: 'MtwStockBindingQuantityAudit';
235
+ allocated: Scalars['Int']['output'];
236
+ available: Scalars['Int']['output'];
237
+ damaged: Scalars['Int']['output'];
238
+ onHand: Scalars['Int']['output'];
239
+ };
240
+ export type MtwStockBindingScanMapping = {
241
+ __typename?: 'MtwStockBindingScanMapping';
242
+ mappingReference?: Maybe<Scalars['String']['output']>;
243
+ mappingRevision?: Maybe<Scalars['String']['output']>;
244
+ reportedBinLabel?: Maybe<Scalars['String']['output']>;
245
+ reportedItemLabel?: Maybe<Scalars['String']['output']>;
246
+ };
247
+ export type MtwStockBindingScanMappingInput = {
248
+ mappingReference?: InputMaybe<Scalars['String']['input']>;
249
+ mappingRevision?: InputMaybe<Scalars['String']['input']>;
250
+ reportedBinLabel?: InputMaybe<Scalars['String']['input']>;
251
+ reportedItemLabel?: InputMaybe<Scalars['String']['input']>;
252
+ };
253
+ export type MtwStockBindingScope = 'UNKNOWN' | 'UNSUPPORTED_MIXED_LOT' | 'WHOLE_LINE';
254
+ export type MtwStockBindingSource = {
255
+ __typename?: 'MtwStockBindingSource';
256
+ reference?: Maybe<Scalars['String']['output']>;
257
+ revision?: Maybe<Scalars['String']['output']>;
258
+ };
259
+ export type MtwStockBindingSourceInput = {
260
+ reference?: InputMaybe<Scalars['String']['input']>;
261
+ revision?: InputMaybe<Scalars['String']['input']>;
262
+ };
263
+ export type MtwStockBindingSourceValidity = {
264
+ __typename?: 'MtwStockBindingSourceValidity';
265
+ from?: Maybe<Scalars['DateTime']['output']>;
266
+ policy: MtwStockBindingExpiryPolicy;
267
+ sourceReference?: Maybe<Scalars['String']['output']>;
268
+ sourceRevision?: Maybe<Scalars['String']['output']>;
269
+ until?: Maybe<Scalars['DateTime']['output']>;
270
+ };
271
+ export type MtwStockBindingSourceValidityInput = {
272
+ from?: InputMaybe<Scalars['DateTime']['input']>;
273
+ policy: MtwStockBindingExpiryPolicy;
274
+ sourceReference?: InputMaybe<Scalars['String']['input']>;
275
+ sourceRevision?: InputMaybe<Scalars['String']['input']>;
276
+ until?: InputMaybe<Scalars['DateTime']['input']>;
277
+ };
278
+ export type MtwWarehouse = {
279
+ __typename?: 'MtwWarehouse';
280
+ code: Scalars['String']['output'];
281
+ id: Scalars['ID']['output'];
282
+ name: Scalars['String']['output'];
283
+ status: Scalars['String']['output'];
284
+ updatedAt: Scalars['DateTime']['output'];
285
+ };
286
+ export type MtwWarehouseLocation = {
287
+ __typename?: 'MtwWarehouseLocation';
288
+ id: Scalars['ID']['output'];
289
+ locationCode: Scalars['String']['output'];
290
+ status: Scalars['String']['output'];
291
+ updatedAt: Scalars['DateTime']['output'];
292
+ warehouseId: Scalars['ID']['output'];
293
+ };
294
+ export type Mutation = {
295
+ __typename?: 'Mutation';
296
+ recordMtwStockBindingAssessment: MtwStockBindingAssessment;
297
+ };
298
+ export type MutationRecordMtwStockBindingAssessmentArgs = {
299
+ input: RecordMtwStockBindingAssessmentInput;
300
+ };
301
+ export type PaginationInput = {
302
+ cursor?: InputMaybe<Scalars['String']['input']>;
303
+ limit?: InputMaybe<Scalars['Int']['input']>;
304
+ offset?: InputMaybe<Scalars['Int']['input']>;
305
+ };
306
+ export type Query = {
307
+ __typename?: 'Query';
308
+ inventoryItem?: Maybe<MtwInventoryItem>;
309
+ inventoryItems: Array<MtwInventoryItem>;
310
+ inventoryItemsCount: Scalars['Int']['output'];
311
+ mtwStockBindingAssessment: MtwStockBindingAssessment;
312
+ mtwStockBindingAssessmentPage: MtwStockBindingAssessmentPage;
313
+ };
314
+ export type QueryInventoryItemArgs = {
315
+ id: Scalars['ID']['input'];
316
+ };
317
+ export type QueryInventoryItemsArgs = {
318
+ filter?: InputMaybe<InventoryFilterInput>;
319
+ pagination?: InputMaybe<PaginationInput>;
320
+ };
321
+ export type QueryInventoryItemsCountArgs = {
322
+ filter?: InputMaybe<InventoryFilterInput>;
323
+ };
324
+ export type QueryMtwStockBindingAssessmentArgs = {
325
+ id: Scalars['ID']['input'];
326
+ inventoryItemId: Scalars['ID']['input'];
327
+ };
328
+ export type QueryMtwStockBindingAssessmentPageArgs = {
329
+ inventoryItemId: Scalars['ID']['input'];
330
+ pagination?: InputMaybe<MtwContainerPagination>;
331
+ };
332
+ export type RecordMtwStockBindingAssessmentInput = {
333
+ effectiveAt: Scalars['DateTime']['input'];
334
+ evidence: Array<MtwContainerEvidenceInput>;
335
+ expectedCargoItemId: Scalars['ID']['input'];
336
+ expectedCargoUpdatedAt: Scalars['DateTime']['input'];
337
+ /** Optional exact reviewed change marker; omission remains unpinned source history. */
338
+ expectedCompositionEpoch?: InputMaybe<Scalars['Int']['input']>;
339
+ expectedInventoryUpdatedAt: Scalars['DateTime']['input'];
340
+ expectedLocationId?: InputMaybe<Scalars['ID']['input']>;
341
+ expectedLocationUpdatedAt?: InputMaybe<Scalars['DateTime']['input']>;
342
+ expectedPreviousAssessmentId?: InputMaybe<Scalars['ID']['input']>;
343
+ expectedVersion: Scalars['Int']['input'];
344
+ expectedWarehouseId: Scalars['ID']['input'];
345
+ expectedWarehouseUpdatedAt: Scalars['DateTime']['input'];
346
+ facts: MtwStockBindingFactsInput;
347
+ idempotencyKey: Scalars['String']['input'];
348
+ inventoryItemId: Scalars['ID']['input'];
349
+ };
350
+ export type StockSourceContextFragment = {
351
+ __typename?: 'MtwInventoryItem';
352
+ id: string;
353
+ cargoItemId: string;
354
+ warehouseId: string;
355
+ locationId?: string | null;
356
+ updatedAt: string;
357
+ compositionEpoch: number;
358
+ onHand: number;
359
+ available: number;
360
+ allocated: number;
361
+ damaged: number;
362
+ cargoItem?: {
363
+ __typename?: 'MtwCargoItem';
364
+ id: string;
365
+ name: string;
366
+ sku: string;
367
+ hazardous: boolean;
368
+ fragile: boolean;
369
+ temperatureControlled: boolean;
370
+ updatedAt: string;
371
+ } | null;
372
+ warehouse?: {
373
+ __typename?: 'MtwWarehouse';
374
+ id: string;
375
+ name: string;
376
+ code: string;
377
+ status: string;
378
+ updatedAt: string;
379
+ } | null;
380
+ location?: {
381
+ __typename?: 'MtwWarehouseLocation';
382
+ id: string;
383
+ warehouseId: string;
384
+ locationCode: string;
385
+ status: string;
386
+ updatedAt: string;
387
+ } | null;
388
+ };
389
+ export type StockAssessmentFragment = {
390
+ __typename?: 'MtwStockBindingAssessment';
391
+ id: string;
392
+ inventoryItemId: string;
393
+ version: number;
394
+ previousAssessmentId?: string | null;
395
+ effectiveAt: string;
396
+ recordedAt: string;
397
+ createdBy: string;
398
+ actorProvenance: string;
399
+ onBehalfOf?: string | null;
400
+ capturedCargoItemId: string;
401
+ capturedWarehouseId: string;
402
+ capturedLocationId?: string | null;
403
+ capturedInventoryUpdatedAt: string;
404
+ capturedCargoUpdatedAt: string;
405
+ capturedWarehouseUpdatedAt: string;
406
+ capturedLocationUpdatedAt?: string | null;
407
+ capturedCompositionEpoch?: number | null;
408
+ criticalFingerprint: string;
409
+ completeness: {
410
+ __typename?: 'MtwStockBindingCompleteness';
411
+ status: MtwStockBindingCompletenessStatus;
412
+ reasons: Array<MtwStockBindingIncompleteReason>;
413
+ };
414
+ facts: {
415
+ __typename?: 'MtwStockBindingFacts';
416
+ schemaVersion: number;
417
+ provenance: MtwStockBindingProvenance;
418
+ scope: MtwStockBindingScope;
419
+ declaredLotPolicy: MtwStockBindingLotPolicy;
420
+ source: {
421
+ __typename?: 'MtwStockBindingSource';
422
+ reference?: string | null;
423
+ revision?: string | null;
424
+ };
425
+ countUnit?: {
426
+ __typename?: 'MtwStockBindingCountUnit';
427
+ kind: MtwStockBindingCountUnitKind;
428
+ reference?: string | null;
429
+ revision?: string | null;
430
+ } | null;
431
+ scanMapping?: {
432
+ __typename?: 'MtwStockBindingScanMapping';
433
+ reportedItemLabel?: string | null;
434
+ reportedBinLabel?: string | null;
435
+ mappingReference?: string | null;
436
+ mappingRevision?: string | null;
437
+ } | null;
438
+ lot?: {
439
+ __typename?: 'MtwStockBindingLot';
440
+ reference?: string | null;
441
+ revision?: string | null;
442
+ declaredDisposition: MtwStockBindingLotDisposition;
443
+ expiry: {
444
+ __typename?: 'MtwStockBindingLotExpiry';
445
+ policy: MtwStockBindingExpiryPolicy;
446
+ expiresAt?: string | null;
447
+ sourceReference?: string | null;
448
+ sourceRevision?: string | null;
449
+ };
450
+ } | null;
451
+ sourceValidity: {
452
+ __typename?: 'MtwStockBindingSourceValidity';
453
+ policy: MtwStockBindingExpiryPolicy;
454
+ from?: string | null;
455
+ until?: string | null;
456
+ sourceReference?: string | null;
457
+ sourceRevision?: string | null;
458
+ };
459
+ };
460
+ criticalOwnerSnapshot: {
461
+ __typename?: 'MtwStockBindingOwnerSnapshot';
462
+ schemaVersion: number;
463
+ workspaceId: string;
464
+ inventoryItemId: string;
465
+ cargoItemId: string;
466
+ warehouseId: string;
467
+ locationId?: string | null;
468
+ cargoSku: string;
469
+ cargoHazardous: boolean;
470
+ cargoFragile: boolean;
471
+ cargoTemperatureControlled: boolean;
472
+ warehouseCode: string;
473
+ warehouseStatus: string;
474
+ locationWarehouseId?: string | null;
475
+ locationCode?: string | null;
476
+ locationStatus?: string | null;
477
+ };
478
+ capturedStockQuantityAudit: {
479
+ __typename?: 'MtwStockBindingQuantityAudit';
480
+ onHand: number;
481
+ available: number;
482
+ allocated: number;
483
+ damaged: number;
484
+ };
485
+ evidence: Array<{
486
+ __typename?: 'MtwContainerEvidence';
487
+ fileId: string;
488
+ versionId: string;
489
+ sha256Hash: string;
490
+ checkedAt: string;
491
+ }>;
492
+ };
493
+ export type StockBindingInventoryQueryVariables = Exact<{
494
+ pagination?: InputMaybe<PaginationInput>;
495
+ }>;
496
+ export type StockBindingInventoryQuery = {
497
+ __typename?: 'Query';
498
+ inventoryItemsCount: number;
499
+ inventoryItems: Array<{
500
+ __typename?: 'MtwInventoryItem';
501
+ id: string;
502
+ cargoItemId: string;
503
+ warehouseId: string;
504
+ locationId?: string | null;
505
+ updatedAt: string;
506
+ compositionEpoch: number;
507
+ onHand: number;
508
+ available: number;
509
+ allocated: number;
510
+ damaged: number;
511
+ cargoItem?: {
512
+ __typename?: 'MtwCargoItem';
513
+ id: string;
514
+ name: string;
515
+ sku: string;
516
+ hazardous: boolean;
517
+ fragile: boolean;
518
+ temperatureControlled: boolean;
519
+ updatedAt: string;
520
+ } | null;
521
+ warehouse?: {
522
+ __typename?: 'MtwWarehouse';
523
+ id: string;
524
+ name: string;
525
+ code: string;
526
+ status: string;
527
+ updatedAt: string;
528
+ } | null;
529
+ location?: {
530
+ __typename?: 'MtwWarehouseLocation';
531
+ id: string;
532
+ warehouseId: string;
533
+ locationCode: string;
534
+ status: string;
535
+ updatedAt: string;
536
+ } | null;
537
+ }>;
538
+ };
539
+ export type StockBindingContextQueryVariables = Exact<{
540
+ id: Scalars['ID']['input'];
541
+ }>;
542
+ export type StockBindingContextQuery = {
543
+ __typename?: 'Query';
544
+ inventoryItem?: {
545
+ __typename?: 'MtwInventoryItem';
546
+ id: string;
547
+ cargoItemId: string;
548
+ warehouseId: string;
549
+ locationId?: string | null;
550
+ updatedAt: string;
551
+ compositionEpoch: number;
552
+ onHand: number;
553
+ available: number;
554
+ allocated: number;
555
+ damaged: number;
556
+ cargoItem?: {
557
+ __typename?: 'MtwCargoItem';
558
+ id: string;
559
+ name: string;
560
+ sku: string;
561
+ hazardous: boolean;
562
+ fragile: boolean;
563
+ temperatureControlled: boolean;
564
+ updatedAt: string;
565
+ } | null;
566
+ warehouse?: {
567
+ __typename?: 'MtwWarehouse';
568
+ id: string;
569
+ name: string;
570
+ code: string;
571
+ status: string;
572
+ updatedAt: string;
573
+ } | null;
574
+ location?: {
575
+ __typename?: 'MtwWarehouseLocation';
576
+ id: string;
577
+ warehouseId: string;
578
+ locationCode: string;
579
+ status: string;
580
+ updatedAt: string;
581
+ } | null;
582
+ } | null;
583
+ };
584
+ export type StockBindingHistoryQueryVariables = Exact<{
585
+ inventoryItemId: Scalars['ID']['input'];
586
+ pagination?: InputMaybe<MtwContainerPagination>;
587
+ }>;
588
+ export type StockBindingHistoryQuery = {
589
+ __typename?: 'Query';
590
+ mtwStockBindingAssessmentPage: {
591
+ __typename?: 'MtwStockBindingAssessmentPage';
592
+ total: number;
593
+ limit: number;
594
+ offset: number;
595
+ hasMore: boolean;
596
+ nextOffset?: number | null;
597
+ items: Array<{
598
+ __typename?: 'MtwStockBindingAssessment';
599
+ id: string;
600
+ inventoryItemId: string;
601
+ version: number;
602
+ previousAssessmentId?: string | null;
603
+ effectiveAt: string;
604
+ recordedAt: string;
605
+ createdBy: string;
606
+ actorProvenance: string;
607
+ onBehalfOf?: string | null;
608
+ capturedCargoItemId: string;
609
+ capturedWarehouseId: string;
610
+ capturedLocationId?: string | null;
611
+ capturedInventoryUpdatedAt: string;
612
+ capturedCargoUpdatedAt: string;
613
+ capturedWarehouseUpdatedAt: string;
614
+ capturedLocationUpdatedAt?: string | null;
615
+ capturedCompositionEpoch?: number | null;
616
+ criticalFingerprint: string;
617
+ completeness: {
618
+ __typename?: 'MtwStockBindingCompleteness';
619
+ status: MtwStockBindingCompletenessStatus;
620
+ reasons: Array<MtwStockBindingIncompleteReason>;
621
+ };
622
+ facts: {
623
+ __typename?: 'MtwStockBindingFacts';
624
+ schemaVersion: number;
625
+ provenance: MtwStockBindingProvenance;
626
+ scope: MtwStockBindingScope;
627
+ declaredLotPolicy: MtwStockBindingLotPolicy;
628
+ source: {
629
+ __typename?: 'MtwStockBindingSource';
630
+ reference?: string | null;
631
+ revision?: string | null;
632
+ };
633
+ countUnit?: {
634
+ __typename?: 'MtwStockBindingCountUnit';
635
+ kind: MtwStockBindingCountUnitKind;
636
+ reference?: string | null;
637
+ revision?: string | null;
638
+ } | null;
639
+ scanMapping?: {
640
+ __typename?: 'MtwStockBindingScanMapping';
641
+ reportedItemLabel?: string | null;
642
+ reportedBinLabel?: string | null;
643
+ mappingReference?: string | null;
644
+ mappingRevision?: string | null;
645
+ } | null;
646
+ lot?: {
647
+ __typename?: 'MtwStockBindingLot';
648
+ reference?: string | null;
649
+ revision?: string | null;
650
+ declaredDisposition: MtwStockBindingLotDisposition;
651
+ expiry: {
652
+ __typename?: 'MtwStockBindingLotExpiry';
653
+ policy: MtwStockBindingExpiryPolicy;
654
+ expiresAt?: string | null;
655
+ sourceReference?: string | null;
656
+ sourceRevision?: string | null;
657
+ };
658
+ } | null;
659
+ sourceValidity: {
660
+ __typename?: 'MtwStockBindingSourceValidity';
661
+ policy: MtwStockBindingExpiryPolicy;
662
+ from?: string | null;
663
+ until?: string | null;
664
+ sourceReference?: string | null;
665
+ sourceRevision?: string | null;
666
+ };
667
+ };
668
+ criticalOwnerSnapshot: {
669
+ __typename?: 'MtwStockBindingOwnerSnapshot';
670
+ schemaVersion: number;
671
+ workspaceId: string;
672
+ inventoryItemId: string;
673
+ cargoItemId: string;
674
+ warehouseId: string;
675
+ locationId?: string | null;
676
+ cargoSku: string;
677
+ cargoHazardous: boolean;
678
+ cargoFragile: boolean;
679
+ cargoTemperatureControlled: boolean;
680
+ warehouseCode: string;
681
+ warehouseStatus: string;
682
+ locationWarehouseId?: string | null;
683
+ locationCode?: string | null;
684
+ locationStatus?: string | null;
685
+ };
686
+ capturedStockQuantityAudit: {
687
+ __typename?: 'MtwStockBindingQuantityAudit';
688
+ onHand: number;
689
+ available: number;
690
+ allocated: number;
691
+ damaged: number;
692
+ };
693
+ evidence: Array<{
694
+ __typename?: 'MtwContainerEvidence';
695
+ fileId: string;
696
+ versionId: string;
697
+ sha256Hash: string;
698
+ checkedAt: string;
699
+ }>;
700
+ }>;
701
+ };
702
+ };
703
+ export type StockBindingExactQueryVariables = Exact<{
704
+ inventoryItemId: Scalars['ID']['input'];
705
+ id: Scalars['ID']['input'];
706
+ }>;
707
+ export type StockBindingExactQuery = {
708
+ __typename?: 'Query';
709
+ mtwStockBindingAssessment: {
710
+ __typename?: 'MtwStockBindingAssessment';
711
+ id: string;
712
+ inventoryItemId: string;
713
+ version: number;
714
+ previousAssessmentId?: string | null;
715
+ effectiveAt: string;
716
+ recordedAt: string;
717
+ createdBy: string;
718
+ actorProvenance: string;
719
+ onBehalfOf?: string | null;
720
+ capturedCargoItemId: string;
721
+ capturedWarehouseId: string;
722
+ capturedLocationId?: string | null;
723
+ capturedInventoryUpdatedAt: string;
724
+ capturedCargoUpdatedAt: string;
725
+ capturedWarehouseUpdatedAt: string;
726
+ capturedLocationUpdatedAt?: string | null;
727
+ capturedCompositionEpoch?: number | null;
728
+ criticalFingerprint: string;
729
+ completeness: {
730
+ __typename?: 'MtwStockBindingCompleteness';
731
+ status: MtwStockBindingCompletenessStatus;
732
+ reasons: Array<MtwStockBindingIncompleteReason>;
733
+ };
734
+ facts: {
735
+ __typename?: 'MtwStockBindingFacts';
736
+ schemaVersion: number;
737
+ provenance: MtwStockBindingProvenance;
738
+ scope: MtwStockBindingScope;
739
+ declaredLotPolicy: MtwStockBindingLotPolicy;
740
+ source: {
741
+ __typename?: 'MtwStockBindingSource';
742
+ reference?: string | null;
743
+ revision?: string | null;
744
+ };
745
+ countUnit?: {
746
+ __typename?: 'MtwStockBindingCountUnit';
747
+ kind: MtwStockBindingCountUnitKind;
748
+ reference?: string | null;
749
+ revision?: string | null;
750
+ } | null;
751
+ scanMapping?: {
752
+ __typename?: 'MtwStockBindingScanMapping';
753
+ reportedItemLabel?: string | null;
754
+ reportedBinLabel?: string | null;
755
+ mappingReference?: string | null;
756
+ mappingRevision?: string | null;
757
+ } | null;
758
+ lot?: {
759
+ __typename?: 'MtwStockBindingLot';
760
+ reference?: string | null;
761
+ revision?: string | null;
762
+ declaredDisposition: MtwStockBindingLotDisposition;
763
+ expiry: {
764
+ __typename?: 'MtwStockBindingLotExpiry';
765
+ policy: MtwStockBindingExpiryPolicy;
766
+ expiresAt?: string | null;
767
+ sourceReference?: string | null;
768
+ sourceRevision?: string | null;
769
+ };
770
+ } | null;
771
+ sourceValidity: {
772
+ __typename?: 'MtwStockBindingSourceValidity';
773
+ policy: MtwStockBindingExpiryPolicy;
774
+ from?: string | null;
775
+ until?: string | null;
776
+ sourceReference?: string | null;
777
+ sourceRevision?: string | null;
778
+ };
779
+ };
780
+ criticalOwnerSnapshot: {
781
+ __typename?: 'MtwStockBindingOwnerSnapshot';
782
+ schemaVersion: number;
783
+ workspaceId: string;
784
+ inventoryItemId: string;
785
+ cargoItemId: string;
786
+ warehouseId: string;
787
+ locationId?: string | null;
788
+ cargoSku: string;
789
+ cargoHazardous: boolean;
790
+ cargoFragile: boolean;
791
+ cargoTemperatureControlled: boolean;
792
+ warehouseCode: string;
793
+ warehouseStatus: string;
794
+ locationWarehouseId?: string | null;
795
+ locationCode?: string | null;
796
+ locationStatus?: string | null;
797
+ };
798
+ capturedStockQuantityAudit: {
799
+ __typename?: 'MtwStockBindingQuantityAudit';
800
+ onHand: number;
801
+ available: number;
802
+ allocated: number;
803
+ damaged: number;
804
+ };
805
+ evidence: Array<{
806
+ __typename?: 'MtwContainerEvidence';
807
+ fileId: string;
808
+ versionId: string;
809
+ sha256Hash: string;
810
+ checkedAt: string;
811
+ }>;
812
+ };
813
+ };
814
+ export type RecordStockBindingMutationVariables = Exact<{
815
+ input: RecordMtwStockBindingAssessmentInput;
816
+ }>;
817
+ export type RecordStockBindingMutation = {
818
+ __typename?: 'Mutation';
819
+ recordMtwStockBindingAssessment: {
820
+ __typename?: 'MtwStockBindingAssessment';
821
+ id: string;
822
+ inventoryItemId: string;
823
+ version: number;
824
+ previousAssessmentId?: string | null;
825
+ effectiveAt: string;
826
+ recordedAt: string;
827
+ createdBy: string;
828
+ actorProvenance: string;
829
+ onBehalfOf?: string | null;
830
+ capturedCargoItemId: string;
831
+ capturedWarehouseId: string;
832
+ capturedLocationId?: string | null;
833
+ capturedInventoryUpdatedAt: string;
834
+ capturedCargoUpdatedAt: string;
835
+ capturedWarehouseUpdatedAt: string;
836
+ capturedLocationUpdatedAt?: string | null;
837
+ capturedCompositionEpoch?: number | null;
838
+ criticalFingerprint: string;
839
+ completeness: {
840
+ __typename?: 'MtwStockBindingCompleteness';
841
+ status: MtwStockBindingCompletenessStatus;
842
+ reasons: Array<MtwStockBindingIncompleteReason>;
843
+ };
844
+ facts: {
845
+ __typename?: 'MtwStockBindingFacts';
846
+ schemaVersion: number;
847
+ provenance: MtwStockBindingProvenance;
848
+ scope: MtwStockBindingScope;
849
+ declaredLotPolicy: MtwStockBindingLotPolicy;
850
+ source: {
851
+ __typename?: 'MtwStockBindingSource';
852
+ reference?: string | null;
853
+ revision?: string | null;
854
+ };
855
+ countUnit?: {
856
+ __typename?: 'MtwStockBindingCountUnit';
857
+ kind: MtwStockBindingCountUnitKind;
858
+ reference?: string | null;
859
+ revision?: string | null;
860
+ } | null;
861
+ scanMapping?: {
862
+ __typename?: 'MtwStockBindingScanMapping';
863
+ reportedItemLabel?: string | null;
864
+ reportedBinLabel?: string | null;
865
+ mappingReference?: string | null;
866
+ mappingRevision?: string | null;
867
+ } | null;
868
+ lot?: {
869
+ __typename?: 'MtwStockBindingLot';
870
+ reference?: string | null;
871
+ revision?: string | null;
872
+ declaredDisposition: MtwStockBindingLotDisposition;
873
+ expiry: {
874
+ __typename?: 'MtwStockBindingLotExpiry';
875
+ policy: MtwStockBindingExpiryPolicy;
876
+ expiresAt?: string | null;
877
+ sourceReference?: string | null;
878
+ sourceRevision?: string | null;
879
+ };
880
+ } | null;
881
+ sourceValidity: {
882
+ __typename?: 'MtwStockBindingSourceValidity';
883
+ policy: MtwStockBindingExpiryPolicy;
884
+ from?: string | null;
885
+ until?: string | null;
886
+ sourceReference?: string | null;
887
+ sourceRevision?: string | null;
888
+ };
889
+ };
890
+ criticalOwnerSnapshot: {
891
+ __typename?: 'MtwStockBindingOwnerSnapshot';
892
+ schemaVersion: number;
893
+ workspaceId: string;
894
+ inventoryItemId: string;
895
+ cargoItemId: string;
896
+ warehouseId: string;
897
+ locationId?: string | null;
898
+ cargoSku: string;
899
+ cargoHazardous: boolean;
900
+ cargoFragile: boolean;
901
+ cargoTemperatureControlled: boolean;
902
+ warehouseCode: string;
903
+ warehouseStatus: string;
904
+ locationWarehouseId?: string | null;
905
+ locationCode?: string | null;
906
+ locationStatus?: string | null;
907
+ };
908
+ capturedStockQuantityAudit: {
909
+ __typename?: 'MtwStockBindingQuantityAudit';
910
+ onHand: number;
911
+ available: number;
912
+ allocated: number;
913
+ damaged: number;
914
+ };
915
+ evidence: Array<{
916
+ __typename?: 'MtwContainerEvidence';
917
+ fileId: string;
918
+ versionId: string;
919
+ sha256Hash: string;
920
+ checkedAt: string;
921
+ }>;
922
+ };
923
+ };
924
+ export declare const StockSourceContextFragmentDoc: import('graphql').DocumentNode;
925
+ export declare const StockAssessmentFragmentDoc: import('graphql').DocumentNode;
926
+ export declare const StockBindingInventoryDocument: import('graphql').DocumentNode;
927
+ export declare const StockBindingContextDocument: import('graphql').DocumentNode;
928
+ export declare const StockBindingHistoryDocument: import('graphql').DocumentNode;
929
+ export declare const StockBindingExactDocument: import('graphql').DocumentNode;
930
+ export declare const RecordStockBindingDocument: import('graphql').DocumentNode;