@burdenoff/microfe-movethewheels 2026.930.4 → 2026.1010.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (377) 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/useInventory.js +12 -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/InventoryPage.js +77 -73
  223. package/dist/pages/LogisticsProceduresPage.js +100 -0
  224. package/dist/pages/PendingPickPage.js +155 -0
  225. package/dist/pages/StockBindingPage.js +236 -0
  226. package/dist/pages/StockObservationsPage.js +168 -0
  227. package/dist/pages/TripUtilizationPage.js +227 -0
  228. package/dist/src/generated/consolidation-operations.js +505 -0
  229. package/dist/src/generated/container-condition-operations.js +208 -0
  230. package/dist/src/generated/container-operations.js +101 -0
  231. package/dist/src/generated/empty-reuse-operations.js +749 -0
  232. package/dist/src/generated/free-time-operations.js +235 -0
  233. package/dist/src/generated/freight-cost-operations.js +325 -0
  234. package/dist/src/generated/logistics-procedure-operations.js +362 -0
  235. package/dist/src/generated/pending-pick-operations.js +1128 -0
  236. package/dist/src/generated/stock-binding-operations.js +175 -0
  237. package/dist/src/generated/stock-observation-operations.js +93 -0
  238. package/dist/src/generated/trip-utilization-operations.js +140 -0
  239. package/dist/src/generated/wspace-operations.js +708 -0
  240. package/dist/utils/consolidationHistoryTarget.js +27 -0
  241. package/dist/utils/consolidationInput.js +21 -0
  242. package/dist/utils/consolidationLot.js +29 -0
  243. package/dist/utils/consolidationPins.js +13 -0
  244. package/dist/utils/consolidationRecovery.js +40 -0
  245. package/dist/utils/consolidationReportHead.js +18 -0
  246. package/dist/utils/freeTimeDate.js +26 -0
  247. package/dist/utils/freightAcknowledgement.js +8 -0
  248. package/dist/utils/freightDraft.js +125 -0
  249. package/dist/utils/freightRecovery.js +36 -0
  250. package/dist/utils/graphqlClient.js +28 -28
  251. package/dist/utils/pendingPickDraft.js +46 -0
  252. package/dist/utils/procedureInput.js +43 -0
  253. package/dist/utils/procedureRecovery.js +42 -0
  254. package/dist/utils/reuseAttempt.js +20 -0
  255. package/dist/utils/reuseForm.js +25 -0
  256. package/dist/utils/reuseRecovery.js +71 -0
  257. package/dist/utils/stockBindingForm.js +142 -0
  258. package/dist/utils/stockBindingLabels.js +23 -0
  259. package/dist/utils/stockObservationForm.js +55 -0
  260. package/dist/utils/tripDraftContext.js +19 -0
  261. package/dist/utils/tripUtilizationForm.js +60 -0
  262. package/package.json +19 -5
  263. package/src/generated/consolidation-operations.ts +1138 -0
  264. package/src/generated/container-condition-operations.ts +771 -0
  265. package/src/generated/container-operations.ts +376 -0
  266. package/src/generated/empty-reuse-operations.ts +1648 -0
  267. package/src/generated/free-time-operations.ts +814 -0
  268. package/src/generated/freight-cost-operations.ts +753 -0
  269. package/src/generated/logistics-procedure-operations.ts +1047 -0
  270. package/src/generated/pending-pick-operations.ts +1508 -0
  271. package/src/generated/stock-binding-operations.ts +631 -0
  272. package/src/generated/stock-observation-operations.ts +373 -0
  273. package/src/generated/trip-utilization-operations.ts +500 -0
  274. package/src/generated/wspace-operations.ts +116 -0
  275. package/src/movethewheels/MoveTheWheelsRoot.tsx +79 -0
  276. package/src/movethewheels/MoveTheWheelsRoutes.tsx +22 -0
  277. package/src/movethewheels/components/ContainerEvidencePicker.tsx +146 -0
  278. package/src/movethewheels/components/FreeTimeAgreementForm.tsx +483 -0
  279. package/src/movethewheels/components/ReturnInstructionForm.tsx +102 -0
  280. package/src/movethewheels/components/ReuseControls.tsx +138 -0
  281. package/src/movethewheels/components/ReusePermissionForm.tsx +123 -0
  282. package/src/movethewheels/components/ReuseProposalForm.tsx +484 -0
  283. package/src/movethewheels/components/ReuseSourceFields.tsx +80 -0
  284. package/src/movethewheels/components/consolidation/ConsolidationHistory.tsx +159 -0
  285. package/src/movethewheels/components/consolidation/ConsolidationLotEditor.tsx +144 -0
  286. package/src/movethewheels/components/consolidation/ConsolidationManifestWorkbench.tsx +168 -0
  287. package/src/movethewheels/components/consolidation/ConsolidationPlanForm.tsx +185 -0
  288. package/src/movethewheels/components/consolidation/ConsolidationPlanWorkbench.tsx +395 -0
  289. package/src/movethewheels/components/consolidation/ConsolidationReportForm.tsx +124 -0
  290. package/src/movethewheels/components/consolidation/ConsolidationReportsWorkbench.tsx +233 -0
  291. package/src/movethewheels/components/consolidation/ConsolidationSummary.tsx +84 -0
  292. package/src/movethewheels/components/consolidation/OriginalConsolidationHistory.tsx +133 -0
  293. package/src/movethewheels/components/freight-cost/FreightDraftForm.tsx +224 -0
  294. package/src/movethewheels/components/freight-cost/FreightFields.tsx +91 -0
  295. package/src/movethewheels/components/freight-cost/FreightFxEditor.tsx +98 -0
  296. package/src/movethewheels/components/freight-cost/FreightHistory.tsx +91 -0
  297. package/src/movethewheels/components/freight-cost/FreightLineEditor.tsx +192 -0
  298. package/src/movethewheels/components/freight-cost/FreightScopeEditor.tsx +64 -0
  299. package/src/movethewheels/components/freight-cost/FreightTotals.tsx +68 -0
  300. package/src/movethewheels/components/logistics-procedure/ProcedureDecisionForm.tsx +204 -0
  301. package/src/movethewheels/components/logistics-procedure/ProcedureFields.tsx +43 -0
  302. package/src/movethewheels/components/logistics-procedure/ProcedureHistory.tsx +102 -0
  303. package/src/movethewheels/components/logistics-procedure/ProcedurePolicyForm.tsx +226 -0
  304. package/src/movethewheels/components/logistics-procedure/ProcedurePolicyWorkbench.tsx +174 -0
  305. package/src/movethewheels/components/logistics-procedure/ProcedureReviewWorkbench.tsx +278 -0
  306. package/src/movethewheels/components/logistics-procedure/ProcedureRunWorkbench.tsx +292 -0
  307. package/src/movethewheels/components/logistics-procedure/ProcedureSubjectPicker.tsx +111 -0
  308. package/src/movethewheels/components/pending-pick/PendingPickDraft.tsx +82 -0
  309. package/src/movethewheels/components/pending-pick/PendingPickHistory.tsx +93 -0
  310. package/src/movethewheels/components/pending-pick/PickCapture.tsx +70 -0
  311. package/src/movethewheels/components/pending-pick/PickLineSelection.tsx +130 -0
  312. package/src/movethewheels/components/stock-binding/StockAssessmentDraft.tsx +52 -0
  313. package/src/movethewheels/components/stock-binding/StockAssessmentHistory.tsx +56 -0
  314. package/src/movethewheels/components/stock-binding/StockAssessmentSummary.tsx +108 -0
  315. package/src/movethewheels/components/stock-binding/StockFactForm.tsx +186 -0
  316. package/src/movethewheels/components/stock-observation/StockIssueForm.tsx +103 -0
  317. package/src/movethewheels/components/stock-observation/StockIssueHistory.tsx +96 -0
  318. package/src/movethewheels/components/stock-observation/StockIssueReadPanel.tsx +72 -0
  319. package/src/movethewheels/components/trip-utilization/TripReportForm.tsx +116 -0
  320. package/src/movethewheels/components/trip-utilization/TripReportHistory.tsx +51 -0
  321. package/src/movethewheels/components/trip-utilization/TripReportSummary.tsx +127 -0
  322. package/src/movethewheels/components/trip-utilization/TripSegmentFields.tsx +118 -0
  323. package/src/movethewheels/hooks/useConsolidationAction.ts +196 -0
  324. package/src/movethewheels/hooks/useContainerCondition.ts +129 -0
  325. package/src/movethewheels/hooks/useContainerLifecycle.ts +291 -0
  326. package/src/movethewheels/hooks/useEmptyReuseAction.ts +72 -0
  327. package/src/movethewheels/hooks/useFreightRecoveryAction.ts +201 -0
  328. package/src/movethewheels/hooks/useInventory.ts +2 -20
  329. package/src/movethewheels/hooks/useProcedureAction.ts +196 -0
  330. package/src/movethewheels/hooks/useProcedureSelection.ts +75 -0
  331. package/src/movethewheels/hooks/useReuseRecoveryAction.ts +192 -0
  332. package/src/movethewheels/pages/ConsolidationPage.tsx +70 -0
  333. package/src/movethewheels/pages/ContainerConditionPage.tsx +959 -0
  334. package/src/movethewheels/pages/ContainersPage.tsx +490 -0
  335. package/src/movethewheels/pages/EmptyReusePage.tsx +823 -0
  336. package/src/movethewheels/pages/FreeTimePage.tsx +720 -0
  337. package/src/movethewheels/pages/FreightEstimatePage.tsx +353 -0
  338. package/src/movethewheels/pages/InventoryPage.tsx +16 -2
  339. package/src/movethewheels/pages/LogisticsProceduresPage.tsx +86 -0
  340. package/src/movethewheels/pages/PendingPickPage.tsx +226 -0
  341. package/src/movethewheels/pages/StockBindingPage.tsx +299 -0
  342. package/src/movethewheels/pages/StockObservationsPage.tsx +181 -0
  343. package/src/movethewheels/pages/TripUtilizationPage.tsx +315 -0
  344. package/src/movethewheels/utils/consolidationHistoryTarget.ts +39 -0
  345. package/src/movethewheels/utils/consolidationInput.ts +70 -0
  346. package/src/movethewheels/utils/consolidationLot.ts +24 -0
  347. package/src/movethewheels/utils/consolidationPins.ts +52 -0
  348. package/src/movethewheels/utils/consolidationRecovery.ts +88 -0
  349. package/src/movethewheels/utils/consolidationReportHead.ts +29 -0
  350. package/src/movethewheels/utils/freeTimeDate.ts +31 -0
  351. package/src/movethewheels/utils/freightAcknowledgement.ts +31 -0
  352. package/src/movethewheels/utils/freightDraft.ts +170 -0
  353. package/src/movethewheels/utils/freightRecovery.ts +79 -0
  354. package/src/movethewheels/utils/graphqlClient.ts +14 -5
  355. package/src/movethewheels/utils/pendingPickDraft.ts +61 -0
  356. package/src/movethewheels/utils/procedureInput.ts +98 -0
  357. package/src/movethewheels/utils/procedureRecovery.ts +92 -0
  358. package/src/movethewheels/utils/reuseAttempt.ts +29 -0
  359. package/src/movethewheels/utils/reuseForm.ts +30 -0
  360. package/src/movethewheels/utils/reuseRecovery.ts +151 -0
  361. package/src/movethewheels/utils/stockBindingForm.ts +209 -0
  362. package/src/movethewheels/utils/stockBindingLabels.ts +41 -0
  363. package/src/movethewheels/utils/stockObservationForm.ts +73 -0
  364. package/src/movethewheels/utils/tripDraftContext.ts +61 -0
  365. package/src/movethewheels/utils/tripUtilizationForm.ts +105 -0
  366. package/src/operations/condition/container-condition.graphql +41 -0
  367. package/src/operations/consolidation/consolidation.graphql +490 -0
  368. package/src/operations/container/container-lifecycle.graphql +80 -0
  369. package/src/operations/empty-reuse/empty-reuse.graphql +737 -0
  370. package/src/operations/free-time/free-time.graphql +47 -0
  371. package/src/operations/freight-cost/freight.graphql +6 -0
  372. package/src/operations/logistics-procedure/procedure.graphql +15 -0
  373. package/src/operations/pending-pick/pending-pick.graphql +1122 -0
  374. package/src/operations/stock-binding/stock-binding.graphql +160 -0
  375. package/src/operations/stock-observation/stock-observation.graphql +20 -0
  376. package/src/operations/trip-utilization/trip-utilization.graphql +126 -0
  377. package/src/operations/wspace/container-evidence.graphql +6 -0
@@ -0,0 +1,1060 @@
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 MtwConsolidationCapture = {
50
+ __typename?: 'MtwConsolidationCapture';
51
+ bookingReference?: Maybe<Scalars['String']['output']>;
52
+ containerId: Scalars['ID']['output'];
53
+ cycleVersion: Scalars['Int']['output'];
54
+ shipmentNumber: Scalars['String']['output'];
55
+ shipmentUpdatedAt: Scalars['DateTime']['output'];
56
+ };
57
+ export type MtwConsolidationEvidenceDeclaration = {
58
+ __typename?: 'MtwConsolidationEvidenceDeclaration';
59
+ fileId: Scalars['ID']['output'];
60
+ verification: Scalars['String']['output'];
61
+ versionId: Scalars['ID']['output'];
62
+ };
63
+ export type MtwConsolidationFacts = {
64
+ __typename?: 'MtwConsolidationFacts';
65
+ bookingReference?: Maybe<Scalars['String']['output']>;
66
+ carrierReference?: Maybe<Scalars['String']['output']>;
67
+ contextSource: MtwConsolidationSource;
68
+ cutoffAt?: Maybe<Scalars['DateTime']['output']>;
69
+ effectiveAt: Scalars['DateTime']['output'];
70
+ hubName: Scalars['String']['output'];
71
+ hubReference: Scalars['String']['output'];
72
+ hubSource: MtwConsolidationSource;
73
+ jurisdictionReference?: Maybe<Scalars['String']['output']>;
74
+ lots: Array<MtwConsolidationLot>;
75
+ mode?: Maybe<Scalars['String']['output']>;
76
+ timezone?: Maybe<Scalars['String']['output']>;
77
+ };
78
+ export type MtwConsolidationFactsInput = {
79
+ bookingReference?: InputMaybe<Scalars['String']['input']>;
80
+ carrierReference?: InputMaybe<Scalars['String']['input']>;
81
+ contextSource: MtwConsolidationSourceInput;
82
+ cutoffAt?: InputMaybe<Scalars['DateTime']['input']>;
83
+ effectiveAt: Scalars['DateTime']['input'];
84
+ hubName: Scalars['String']['input'];
85
+ hubReference: Scalars['String']['input'];
86
+ hubSource: MtwConsolidationSourceInput;
87
+ jurisdictionReference?: InputMaybe<Scalars['String']['input']>;
88
+ lots: Array<MtwConsolidationLotInput>;
89
+ mode?: InputMaybe<Scalars['String']['input']>;
90
+ timezone?: InputMaybe<Scalars['String']['input']>;
91
+ };
92
+ export type MtwConsolidationLot = {
93
+ __typename?: 'MtwConsolidationLot';
94
+ balanceRevision?: Maybe<Scalars['String']['output']>;
95
+ consignmentReference: Scalars['String']['output'];
96
+ cubeM3?: Maybe<Scalars['String']['output']>;
97
+ destinationReference?: Maybe<Scalars['String']['output']>;
98
+ documentReference?: Maybe<Scalars['String']['output']>;
99
+ grossKg?: Maybe<Scalars['String']['output']>;
100
+ id: Scalars['ID']['output'];
101
+ importerReference?: Maybe<Scalars['String']['output']>;
102
+ lotReference: Scalars['String']['output'];
103
+ originReference?: Maybe<Scalars['String']['output']>;
104
+ plannedQuantity?: Maybe<Scalars['String']['output']>;
105
+ quantityBasis: MtwConsolidationQuantityBasis;
106
+ reportedAvailableQuantity?: Maybe<Scalars['String']['output']>;
107
+ source: MtwConsolidationSource;
108
+ sourceRevision: Scalars['String']['output'];
109
+ supplierReference: Scalars['String']['output'];
110
+ transportReference?: Maybe<Scalars['String']['output']>;
111
+ unitReference?: Maybe<Scalars['String']['output']>;
112
+ unitRevision?: Maybe<Scalars['String']['output']>;
113
+ };
114
+ export type MtwConsolidationLotInput = {
115
+ balanceRevision?: InputMaybe<Scalars['String']['input']>;
116
+ consignmentReference: Scalars['String']['input'];
117
+ cubeM3?: InputMaybe<Scalars['String']['input']>;
118
+ destinationReference?: InputMaybe<Scalars['String']['input']>;
119
+ documentReference?: InputMaybe<Scalars['String']['input']>;
120
+ grossKg?: InputMaybe<Scalars['String']['input']>;
121
+ id: Scalars['ID']['input'];
122
+ importerReference?: InputMaybe<Scalars['String']['input']>;
123
+ lotReference: Scalars['String']['input'];
124
+ originReference?: InputMaybe<Scalars['String']['input']>;
125
+ plannedQuantity?: InputMaybe<Scalars['String']['input']>;
126
+ quantityBasis: MtwConsolidationQuantityBasis;
127
+ reportedAvailableQuantity?: InputMaybe<Scalars['String']['input']>;
128
+ source: MtwConsolidationSourceInput;
129
+ sourceRevision: Scalars['String']['input'];
130
+ supplierReference: Scalars['String']['input'];
131
+ transportReference?: InputMaybe<Scalars['String']['input']>;
132
+ unitReference?: InputMaybe<Scalars['String']['input']>;
133
+ unitRevision?: InputMaybe<Scalars['String']['input']>;
134
+ };
135
+ export type MtwConsolidationManifest = {
136
+ __typename?: 'MtwConsolidationManifest';
137
+ actorProvenance: Scalars['String']['output'];
138
+ createdBy: Scalars['ID']['output'];
139
+ id: Scalars['ID']['output'];
140
+ observationSequence: Scalars['Int']['output'];
141
+ onBehalfOf?: Maybe<Scalars['ID']['output']>;
142
+ planId: Scalars['ID']['output'];
143
+ previousVersionId?: Maybe<Scalars['ID']['output']>;
144
+ recordedAt: Scalars['DateTime']['output'];
145
+ snapshot: MtwConsolidationSnapshot;
146
+ version: Scalars['Int']['output'];
147
+ };
148
+ export type MtwConsolidationManifestPage = {
149
+ __typename?: 'MtwConsolidationManifestPage';
150
+ hasMore: Scalars['Boolean']['output'];
151
+ items: Array<MtwConsolidationManifest>;
152
+ limit: Scalars['Int']['output'];
153
+ nextOffset?: Maybe<Scalars['Int']['output']>;
154
+ offset: Scalars['Int']['output'];
155
+ total: Scalars['Int']['output'];
156
+ };
157
+ export type MtwConsolidationObservation = {
158
+ __typename?: 'MtwConsolidationObservation';
159
+ actorProvenance: Scalars['String']['output'];
160
+ createdBy: Scalars['ID']['output'];
161
+ evidence: Array<MtwContainerEvidence>;
162
+ evidenceDeclarations: Array<MtwConsolidationEvidenceDeclaration>;
163
+ id: Scalars['ID']['output'];
164
+ issueReference?: Maybe<Scalars['String']['output']>;
165
+ kind: MtwConsolidationReportKind;
166
+ lotId: Scalars['ID']['output'];
167
+ onBehalfOf?: Maybe<Scalars['ID']['output']>;
168
+ planId: Scalars['ID']['output'];
169
+ previousVersionId?: Maybe<Scalars['ID']['output']>;
170
+ reason: Scalars['String']['output'];
171
+ receiptSequence: Scalars['Int']['output'];
172
+ recordedAt: Scalars['DateTime']['output'];
173
+ reportedObservedAt?: Maybe<Scalars['DateTime']['output']>;
174
+ reportedQuantity?: Maybe<Scalars['String']['output']>;
175
+ source: MtwConsolidationSource;
176
+ status: Scalars['String']['output'];
177
+ unitReference?: Maybe<Scalars['String']['output']>;
178
+ unitRevision?: Maybe<Scalars['String']['output']>;
179
+ version: Scalars['Int']['output'];
180
+ };
181
+ export type MtwConsolidationObservationPage = {
182
+ __typename?: 'MtwConsolidationObservationPage';
183
+ hasMore: Scalars['Boolean']['output'];
184
+ items: Array<MtwConsolidationObservation>;
185
+ limit: Scalars['Int']['output'];
186
+ nextOffset?: Maybe<Scalars['Int']['output']>;
187
+ offset: Scalars['Int']['output'];
188
+ total: Scalars['Int']['output'];
189
+ };
190
+ export type MtwConsolidationPlan = {
191
+ __typename?: 'MtwConsolidationPlan';
192
+ actorProvenance: Scalars['String']['output'];
193
+ createdBy: Scalars['ID']['output'];
194
+ cycleId: Scalars['ID']['output'];
195
+ evidence: Array<MtwContainerEvidence>;
196
+ facts: MtwConsolidationFacts;
197
+ id: Scalars['ID']['output'];
198
+ onBehalfOf?: Maybe<Scalars['ID']['output']>;
199
+ planReference: Scalars['String']['output'];
200
+ previousVersionId?: Maybe<Scalars['ID']['output']>;
201
+ recordedAt: Scalars['DateTime']['output'];
202
+ shipmentId: Scalars['ID']['output'];
203
+ sourceCapture: MtwConsolidationCapture;
204
+ status: Scalars['String']['output'];
205
+ version: Scalars['Int']['output'];
206
+ };
207
+ export type MtwConsolidationPlanPage = {
208
+ __typename?: 'MtwConsolidationPlanPage';
209
+ hasMore: Scalars['Boolean']['output'];
210
+ items: Array<MtwConsolidationPlan>;
211
+ limit: Scalars['Int']['output'];
212
+ nextOffset?: Maybe<Scalars['Int']['output']>;
213
+ offset: Scalars['Int']['output'];
214
+ total: Scalars['Int']['output'];
215
+ };
216
+ export type MtwConsolidationQuantityBasis = 'HUB_REPORT' | 'SOURCE_DECLARATION' | 'UNKNOWN';
217
+ export type MtwConsolidationReconciliationRow = {
218
+ __typename?: 'MtwConsolidationReconciliationRow';
219
+ availabilityDeficit?: Maybe<Scalars['String']['output']>;
220
+ lotId: Scalars['ID']['output'];
221
+ plannedQuantity?: Maybe<Scalars['String']['output']>;
222
+ receiptDeficit?: Maybe<Scalars['String']['output']>;
223
+ receiptExcess?: Maybe<Scalars['String']['output']>;
224
+ receiptObservationId?: Maybe<Scalars['ID']['output']>;
225
+ receivedMinusStuffed?: Maybe<Scalars['String']['output']>;
226
+ receivedQuantity?: Maybe<Scalars['String']['output']>;
227
+ reportedAvailableQuantity?: Maybe<Scalars['String']['output']>;
228
+ stuffedQuantity?: Maybe<Scalars['String']['output']>;
229
+ stuffingExcess?: Maybe<Scalars['String']['output']>;
230
+ stuffingObservationId?: Maybe<Scalars['ID']['output']>;
231
+ unknownReasons: Array<Scalars['String']['output']>;
232
+ };
233
+ export type MtwConsolidationReportKind = 'ISSUE' | 'RECEIPT_REPORT' | 'STUFFING_REPORT';
234
+ export type MtwConsolidationSnapshot = {
235
+ __typename?: 'MtwConsolidationSnapshot';
236
+ observationSequence: Scalars['Int']['output'];
237
+ planId: Scalars['ID']['output'];
238
+ planVersion: Scalars['Int']['output'];
239
+ recentIssueIds: Array<Scalars['ID']['output']>;
240
+ reviewReasons: Array<Scalars['String']['output']>;
241
+ rows: Array<MtwConsolidationReconciliationRow>;
242
+ status: Scalars['String']['output'];
243
+ unresolvedIssueCount: Scalars['Int']['output'];
244
+ };
245
+ export type MtwConsolidationSource = {
246
+ __typename?: 'MtwConsolidationSource';
247
+ reference?: Maybe<Scalars['String']['output']>;
248
+ revision?: Maybe<Scalars['String']['output']>;
249
+ };
250
+ export type MtwConsolidationSourceInput = {
251
+ reference?: InputMaybe<Scalars['String']['input']>;
252
+ revision?: InputMaybe<Scalars['String']['input']>;
253
+ };
254
+ export type MtwContainer = {
255
+ __typename?: 'MtwContainer';
256
+ containerNumber: Scalars['String']['output'];
257
+ createdAt: Scalars['DateTime']['output'];
258
+ equipmentType: MtwEquipmentType;
259
+ id: Scalars['ID']['output'];
260
+ ownerName?: Maybe<Scalars['String']['output']>;
261
+ source: Scalars['String']['output'];
262
+ suppliedContainerNumber: Scalars['String']['output'];
263
+ };
264
+ export type MtwContainerCycle = {
265
+ __typename?: 'MtwContainerCycle';
266
+ bookingReference?: Maybe<Scalars['String']['output']>;
267
+ closedAt?: Maybe<Scalars['DateTime']['output']>;
268
+ containerId: Scalars['ID']['output'];
269
+ createdAt: Scalars['DateTime']['output'];
270
+ id: Scalars['ID']['output'];
271
+ openedAt: Scalars['DateTime']['output'];
272
+ shipmentId?: Maybe<Scalars['ID']['output']>;
273
+ status: MtwContainerCycleStatus;
274
+ updatedAt: Scalars['DateTime']['output'];
275
+ version: Scalars['Int']['output'];
276
+ };
277
+ export type MtwContainerCyclePage = {
278
+ __typename?: 'MtwContainerCyclePage';
279
+ hasMore: Scalars['Boolean']['output'];
280
+ items: Array<MtwContainerCycle>;
281
+ limit: Scalars['Int']['output'];
282
+ nextOffset?: Maybe<Scalars['Int']['output']>;
283
+ offset: Scalars['Int']['output'];
284
+ total: Scalars['Int']['output'];
285
+ };
286
+ export type MtwContainerCycleStatus = 'CLOSED' | 'OPEN';
287
+ /** Bounded audit snapshot of at most 10 exact evidence versions. */
288
+ export type MtwContainerEvidence = {
289
+ __typename?: 'MtwContainerEvidence';
290
+ checkedAt: Scalars['DateTime']['output'];
291
+ fileId: Scalars['ID']['output'];
292
+ sha256Hash: Scalars['String']['output'];
293
+ versionId: Scalars['ID']['output'];
294
+ };
295
+ /** Exact shared Files version. The fingerprint establishes integrity, not issuer authenticity. */
296
+ export type MtwContainerEvidenceInput = {
297
+ fileId: Scalars['ID']['input'];
298
+ versionId: Scalars['ID']['input'];
299
+ };
300
+ export type MtwContainerPage = {
301
+ __typename?: 'MtwContainerPage';
302
+ hasMore: Scalars['Boolean']['output'];
303
+ items: Array<MtwContainer>;
304
+ limit: Scalars['Int']['output'];
305
+ nextOffset?: Maybe<Scalars['Int']['output']>;
306
+ offset: Scalars['Int']['output'];
307
+ total: Scalars['Int']['output'];
308
+ };
309
+ export type MtwContainerPagination = {
310
+ limit?: InputMaybe<Scalars['Int']['input']>;
311
+ offset?: InputMaybe<Scalars['Int']['input']>;
312
+ };
313
+ /** Physical equipment; LCL is a freight service, not an equipment type. */
314
+ export type MtwEquipmentType = 'DRY_20' | 'DRY_40' | 'FLAT_RACK' | 'HIGH_CUBE_40' | 'OPEN_TOP' | 'OTHER' | 'REEFER_20' | 'REEFER_40' | 'TANK';
315
+ export type MtwShipment = {
316
+ __typename?: 'MtwShipment';
317
+ id: Scalars['ID']['output'];
318
+ shipmentNumber: Scalars['String']['output'];
319
+ status: ShipmentStatus;
320
+ updatedAt: Scalars['DateTime']['output'];
321
+ };
322
+ export type Mutation = {
323
+ __typename?: 'Mutation';
324
+ recordMtwConsolidationObservation: MtwConsolidationObservation;
325
+ saveMtwConsolidationManifest: MtwConsolidationManifest;
326
+ saveMtwConsolidationPlan: MtwConsolidationPlan;
327
+ };
328
+ export type MutationRecordMtwConsolidationObservationArgs = {
329
+ input: RecordMtwConsolidationObservationInput;
330
+ };
331
+ export type MutationSaveMtwConsolidationManifestArgs = {
332
+ input: SaveMtwConsolidationManifestInput;
333
+ };
334
+ export type MutationSaveMtwConsolidationPlanArgs = {
335
+ input: SaveMtwConsolidationPlanInput;
336
+ };
337
+ export type PaginationInput = {
338
+ cursor?: InputMaybe<Scalars['String']['input']>;
339
+ limit?: InputMaybe<Scalars['Int']['input']>;
340
+ offset?: InputMaybe<Scalars['Int']['input']>;
341
+ };
342
+ export type Query = {
343
+ __typename?: 'Query';
344
+ mtwConsolidationManifest: MtwConsolidationManifest;
345
+ mtwConsolidationManifestPage: MtwConsolidationManifestPage;
346
+ mtwConsolidationObservation: MtwConsolidationObservation;
347
+ mtwConsolidationObservationPage: MtwConsolidationObservationPage;
348
+ mtwConsolidationPlan: MtwConsolidationPlan;
349
+ mtwConsolidationPlanPage: MtwConsolidationPlanPage;
350
+ mtwContainerCyclePage: MtwContainerCyclePage;
351
+ mtwContainerPage: MtwContainerPage;
352
+ previewMtwConsolidationManifest: MtwConsolidationSnapshot;
353
+ shipment?: Maybe<MtwShipment>;
354
+ shipments: Array<MtwShipment>;
355
+ shipmentsCount: Scalars['Int']['output'];
356
+ };
357
+ export type QueryMtwConsolidationManifestArgs = {
358
+ id: Scalars['ID']['input'];
359
+ planId: Scalars['ID']['input'];
360
+ };
361
+ export type QueryMtwConsolidationManifestPageArgs = {
362
+ pagination?: InputMaybe<MtwContainerPagination>;
363
+ planId: Scalars['ID']['input'];
364
+ };
365
+ export type QueryMtwConsolidationObservationArgs = {
366
+ id: Scalars['ID']['input'];
367
+ planId: Scalars['ID']['input'];
368
+ };
369
+ export type QueryMtwConsolidationObservationPageArgs = {
370
+ pagination?: InputMaybe<MtwContainerPagination>;
371
+ planId: Scalars['ID']['input'];
372
+ };
373
+ export type QueryMtwConsolidationPlanArgs = {
374
+ id: Scalars['ID']['input'];
375
+ shipmentId: Scalars['ID']['input'];
376
+ };
377
+ export type QueryMtwConsolidationPlanPageArgs = {
378
+ pagination?: InputMaybe<MtwContainerPagination>;
379
+ planReference?: InputMaybe<Scalars['String']['input']>;
380
+ shipmentId: Scalars['ID']['input'];
381
+ };
382
+ export type QueryMtwContainerCyclePageArgs = {
383
+ containerId: Scalars['ID']['input'];
384
+ pagination?: InputMaybe<MtwContainerPagination>;
385
+ };
386
+ export type QueryMtwContainerPageArgs = {
387
+ pagination?: InputMaybe<MtwContainerPagination>;
388
+ search?: InputMaybe<Scalars['String']['input']>;
389
+ };
390
+ export type QueryPreviewMtwConsolidationManifestArgs = {
391
+ expectedObservationSequence: Scalars['Int']['input'];
392
+ planId: Scalars['ID']['input'];
393
+ };
394
+ export type QueryShipmentArgs = {
395
+ id: Scalars['ID']['input'];
396
+ };
397
+ export type QueryShipmentsArgs = {
398
+ filter?: InputMaybe<ShipmentFilterInput>;
399
+ pagination?: InputMaybe<PaginationInput>;
400
+ };
401
+ export type QueryShipmentsCountArgs = {
402
+ filter?: InputMaybe<ShipmentFilterInput>;
403
+ };
404
+ export type RecordMtwConsolidationObservationInput = {
405
+ evidence: Array<MtwContainerEvidenceInput>;
406
+ expectedPreviousVersionId?: InputMaybe<Scalars['ID']['input']>;
407
+ expectedVersion: Scalars['Int']['input'];
408
+ idempotencyKey: Scalars['String']['input'];
409
+ issueReference?: InputMaybe<Scalars['String']['input']>;
410
+ kind: MtwConsolidationReportKind;
411
+ lotId: Scalars['ID']['input'];
412
+ planId: Scalars['ID']['input'];
413
+ reason: Scalars['String']['input'];
414
+ reportedObservedAt?: InputMaybe<Scalars['DateTime']['input']>;
415
+ reportedQuantity?: InputMaybe<Scalars['String']['input']>;
416
+ source: MtwConsolidationSourceInput;
417
+ unitReference?: InputMaybe<Scalars['String']['input']>;
418
+ unitRevision?: InputMaybe<Scalars['String']['input']>;
419
+ };
420
+ export type SaveMtwConsolidationManifestInput = {
421
+ expectedObservationSequence: Scalars['Int']['input'];
422
+ expectedPreviousVersionId?: InputMaybe<Scalars['ID']['input']>;
423
+ expectedVersion: Scalars['Int']['input'];
424
+ idempotencyKey: Scalars['String']['input'];
425
+ planId: Scalars['ID']['input'];
426
+ };
427
+ export type SaveMtwConsolidationPlanInput = {
428
+ cycleId: Scalars['ID']['input'];
429
+ evidence: Array<MtwContainerEvidenceInput>;
430
+ expectedCycleVersion: Scalars['Int']['input'];
431
+ expectedPreviousVersionId?: InputMaybe<Scalars['ID']['input']>;
432
+ expectedShipmentUpdatedAt: Scalars['DateTime']['input'];
433
+ expectedVersion: Scalars['Int']['input'];
434
+ facts: MtwConsolidationFactsInput;
435
+ idempotencyKey: Scalars['String']['input'];
436
+ planReference: Scalars['String']['input'];
437
+ shipmentId: Scalars['ID']['input'];
438
+ };
439
+ export type ShipmentFilterInput = {
440
+ carrierId?: InputMaybe<Scalars['ID']['input']>;
441
+ customerId?: InputMaybe<Scalars['ID']['input']>;
442
+ deliveryJobId?: InputMaybe<Scalars['ID']['input']>;
443
+ driverId?: InputMaybe<Scalars['ID']['input']>;
444
+ isMultiModal?: InputMaybe<Scalars['Boolean']['input']>;
445
+ primaryMode?: InputMaybe<TransportMode>;
446
+ search?: InputMaybe<Scalars['String']['input']>;
447
+ status?: InputMaybe<ShipmentStatus>;
448
+ storeOrderId?: InputMaybe<Scalars['ID']['input']>;
449
+ vehicleId?: InputMaybe<Scalars['ID']['input']>;
450
+ };
451
+ export type ShipmentStatus = 'DELIVERED' | 'FAILED' | 'IN_TRANSIT' | 'PICKED_UP' | 'PLANNED' | 'RETURNED';
452
+ export type TransportMode = 'AIR' | 'OCEAN' | 'RAIL' | 'ROAD';
453
+ export type ConsolidationShipmentsQueryVariables = Exact<{
454
+ pagination?: InputMaybe<PaginationInput>;
455
+ }>;
456
+ export type ConsolidationShipmentsQuery = {
457
+ __typename?: 'Query';
458
+ shipmentsCount: number;
459
+ shipments: Array<{
460
+ __typename?: 'MtwShipment';
461
+ id: string;
462
+ shipmentNumber: string;
463
+ updatedAt: string;
464
+ status: ShipmentStatus;
465
+ }>;
466
+ };
467
+ export type ConsolidationShipmentQueryVariables = Exact<{
468
+ id: Scalars['ID']['input'];
469
+ }>;
470
+ export type ConsolidationShipmentQuery = {
471
+ __typename?: 'Query';
472
+ shipment?: {
473
+ __typename?: 'MtwShipment';
474
+ id: string;
475
+ shipmentNumber: string;
476
+ updatedAt: string;
477
+ status: ShipmentStatus;
478
+ } | null;
479
+ };
480
+ export type ConsolidationContainersQueryVariables = Exact<{
481
+ pagination?: InputMaybe<MtwContainerPagination>;
482
+ }>;
483
+ export type ConsolidationContainersQuery = {
484
+ __typename?: 'Query';
485
+ mtwContainerPage: {
486
+ __typename?: 'MtwContainerPage';
487
+ total: number;
488
+ limit: number;
489
+ offset: number;
490
+ hasMore: boolean;
491
+ nextOffset?: number | null;
492
+ items: Array<{
493
+ __typename?: 'MtwContainer';
494
+ id: string;
495
+ containerNumber: string;
496
+ equipmentType: MtwEquipmentType;
497
+ }>;
498
+ };
499
+ };
500
+ export type ConsolidationCyclesQueryVariables = Exact<{
501
+ containerId: Scalars['ID']['input'];
502
+ pagination?: InputMaybe<MtwContainerPagination>;
503
+ }>;
504
+ export type ConsolidationCyclesQuery = {
505
+ __typename?: 'Query';
506
+ mtwContainerCyclePage: {
507
+ __typename?: 'MtwContainerCyclePage';
508
+ total: number;
509
+ limit: number;
510
+ offset: number;
511
+ hasMore: boolean;
512
+ nextOffset?: number | null;
513
+ items: Array<{
514
+ __typename?: 'MtwContainerCycle';
515
+ id: string;
516
+ containerId: string;
517
+ shipmentId?: string | null;
518
+ bookingReference?: string | null;
519
+ openedAt: string;
520
+ closedAt?: string | null;
521
+ status: MtwContainerCycleStatus;
522
+ version: number;
523
+ }>;
524
+ };
525
+ };
526
+ export type ConsolidationPlansQueryVariables = Exact<{
527
+ shipmentId: Scalars['ID']['input'];
528
+ planReference?: InputMaybe<Scalars['String']['input']>;
529
+ pagination?: InputMaybe<MtwContainerPagination>;
530
+ }>;
531
+ export type ConsolidationPlansQuery = {
532
+ __typename?: 'Query';
533
+ mtwConsolidationPlanPage: {
534
+ __typename?: 'MtwConsolidationPlanPage';
535
+ total: number;
536
+ limit: number;
537
+ offset: number;
538
+ hasMore: boolean;
539
+ nextOffset?: number | null;
540
+ items: Array<{
541
+ __typename?: 'MtwConsolidationPlan';
542
+ id: string;
543
+ shipmentId: string;
544
+ cycleId: string;
545
+ planReference: string;
546
+ version: number;
547
+ previousVersionId?: string | null;
548
+ status: string;
549
+ recordedAt: string;
550
+ createdBy: string;
551
+ actorProvenance: string;
552
+ facts: {
553
+ __typename?: 'MtwConsolidationFacts';
554
+ hubName: string;
555
+ effectiveAt: string;
556
+ };
557
+ }>;
558
+ };
559
+ };
560
+ export type ConsolidationPlanQueryVariables = Exact<{
561
+ shipmentId: Scalars['ID']['input'];
562
+ id: Scalars['ID']['input'];
563
+ }>;
564
+ export type ConsolidationPlanQuery = {
565
+ __typename?: 'Query';
566
+ mtwConsolidationPlan: {
567
+ __typename?: 'MtwConsolidationPlan';
568
+ id: string;
569
+ shipmentId: string;
570
+ cycleId: string;
571
+ planReference: string;
572
+ version: number;
573
+ previousVersionId?: string | null;
574
+ status: string;
575
+ recordedAt: string;
576
+ createdBy: string;
577
+ actorProvenance: string;
578
+ onBehalfOf?: string | null;
579
+ sourceCapture: {
580
+ __typename?: 'MtwConsolidationCapture';
581
+ shipmentNumber: string;
582
+ shipmentUpdatedAt: string;
583
+ containerId: string;
584
+ cycleVersion: number;
585
+ bookingReference?: string | null;
586
+ };
587
+ evidence: Array<{
588
+ __typename?: 'MtwContainerEvidence';
589
+ fileId: string;
590
+ versionId: string;
591
+ sha256Hash: string;
592
+ checkedAt: string;
593
+ }>;
594
+ facts: {
595
+ __typename?: 'MtwConsolidationFacts';
596
+ hubReference: string;
597
+ hubName: string;
598
+ mode?: string | null;
599
+ carrierReference?: string | null;
600
+ bookingReference?: string | null;
601
+ cutoffAt?: string | null;
602
+ timezone?: string | null;
603
+ jurisdictionReference?: string | null;
604
+ effectiveAt: string;
605
+ hubSource: {
606
+ __typename?: 'MtwConsolidationSource';
607
+ reference?: string | null;
608
+ revision?: string | null;
609
+ };
610
+ contextSource: {
611
+ __typename?: 'MtwConsolidationSource';
612
+ reference?: string | null;
613
+ revision?: string | null;
614
+ };
615
+ lots: Array<{
616
+ __typename?: 'MtwConsolidationLot';
617
+ id: string;
618
+ supplierReference: string;
619
+ lotReference: string;
620
+ consignmentReference: string;
621
+ sourceRevision: string;
622
+ quantityBasis: MtwConsolidationQuantityBasis;
623
+ unitReference?: string | null;
624
+ unitRevision?: string | null;
625
+ balanceRevision?: string | null;
626
+ reportedAvailableQuantity?: string | null;
627
+ plannedQuantity?: string | null;
628
+ grossKg?: string | null;
629
+ cubeM3?: string | null;
630
+ originReference?: string | null;
631
+ destinationReference?: string | null;
632
+ importerReference?: string | null;
633
+ transportReference?: string | null;
634
+ documentReference?: string | null;
635
+ source: {
636
+ __typename?: 'MtwConsolidationSource';
637
+ reference?: string | null;
638
+ revision?: string | null;
639
+ };
640
+ }>;
641
+ };
642
+ };
643
+ };
644
+ export type ConsolidationObservationsQueryVariables = Exact<{
645
+ planId: Scalars['ID']['input'];
646
+ pagination?: InputMaybe<MtwContainerPagination>;
647
+ }>;
648
+ export type ConsolidationObservationsQuery = {
649
+ __typename?: 'Query';
650
+ mtwConsolidationObservationPage: {
651
+ __typename?: 'MtwConsolidationObservationPage';
652
+ total: number;
653
+ limit: number;
654
+ offset: number;
655
+ hasMore: boolean;
656
+ nextOffset?: number | null;
657
+ items: Array<{
658
+ __typename?: 'MtwConsolidationObservation';
659
+ id: string;
660
+ planId: string;
661
+ lotId: string;
662
+ kind: MtwConsolidationReportKind;
663
+ issueReference?: string | null;
664
+ version: number;
665
+ previousVersionId?: string | null;
666
+ receiptSequence: number;
667
+ reportedQuantity?: string | null;
668
+ reportedObservedAt?: string | null;
669
+ reason: string;
670
+ unitReference?: string | null;
671
+ unitRevision?: string | null;
672
+ status: string;
673
+ recordedAt: string;
674
+ createdBy: string;
675
+ actorProvenance: string;
676
+ onBehalfOf?: string | null;
677
+ source: {
678
+ __typename?: 'MtwConsolidationSource';
679
+ reference?: string | null;
680
+ revision?: string | null;
681
+ };
682
+ evidence: Array<{
683
+ __typename?: 'MtwContainerEvidence';
684
+ fileId: string;
685
+ versionId: string;
686
+ sha256Hash: string;
687
+ checkedAt: string;
688
+ }>;
689
+ evidenceDeclarations: Array<{
690
+ __typename?: 'MtwConsolidationEvidenceDeclaration';
691
+ fileId: string;
692
+ versionId: string;
693
+ verification: string;
694
+ }>;
695
+ }>;
696
+ };
697
+ };
698
+ export type ConsolidationObservationQueryVariables = Exact<{
699
+ planId: Scalars['ID']['input'];
700
+ id: Scalars['ID']['input'];
701
+ }>;
702
+ export type ConsolidationObservationQuery = {
703
+ __typename?: 'Query';
704
+ mtwConsolidationObservation: {
705
+ __typename?: 'MtwConsolidationObservation';
706
+ id: string;
707
+ planId: string;
708
+ lotId: string;
709
+ kind: MtwConsolidationReportKind;
710
+ issueReference?: string | null;
711
+ version: number;
712
+ previousVersionId?: string | null;
713
+ receiptSequence: number;
714
+ reportedQuantity?: string | null;
715
+ reportedObservedAt?: string | null;
716
+ reason: string;
717
+ unitReference?: string | null;
718
+ unitRevision?: string | null;
719
+ status: string;
720
+ recordedAt: string;
721
+ createdBy: string;
722
+ actorProvenance: string;
723
+ onBehalfOf?: string | null;
724
+ source: {
725
+ __typename?: 'MtwConsolidationSource';
726
+ reference?: string | null;
727
+ revision?: string | null;
728
+ };
729
+ evidence: Array<{
730
+ __typename?: 'MtwContainerEvidence';
731
+ fileId: string;
732
+ versionId: string;
733
+ sha256Hash: string;
734
+ checkedAt: string;
735
+ }>;
736
+ evidenceDeclarations: Array<{
737
+ __typename?: 'MtwConsolidationEvidenceDeclaration';
738
+ fileId: string;
739
+ versionId: string;
740
+ verification: string;
741
+ }>;
742
+ };
743
+ };
744
+ export type ConsolidationPreviewQueryVariables = Exact<{
745
+ planId: Scalars['ID']['input'];
746
+ expectedObservationSequence: Scalars['Int']['input'];
747
+ }>;
748
+ export type ConsolidationPreviewQuery = {
749
+ __typename?: 'Query';
750
+ previewMtwConsolidationManifest: {
751
+ __typename?: 'MtwConsolidationSnapshot';
752
+ status: string;
753
+ planId: string;
754
+ planVersion: number;
755
+ observationSequence: number;
756
+ unresolvedIssueCount: number;
757
+ recentIssueIds: Array<string>;
758
+ reviewReasons: Array<string>;
759
+ rows: Array<{
760
+ __typename?: 'MtwConsolidationReconciliationRow';
761
+ lotId: string;
762
+ plannedQuantity?: string | null;
763
+ reportedAvailableQuantity?: string | null;
764
+ receivedQuantity?: string | null;
765
+ stuffedQuantity?: string | null;
766
+ availabilityDeficit?: string | null;
767
+ receiptDeficit?: string | null;
768
+ receiptExcess?: string | null;
769
+ stuffingExcess?: string | null;
770
+ receivedMinusStuffed?: string | null;
771
+ unknownReasons: Array<string>;
772
+ receiptObservationId?: string | null;
773
+ stuffingObservationId?: string | null;
774
+ }>;
775
+ };
776
+ };
777
+ export type ConsolidationManifestsQueryVariables = Exact<{
778
+ planId: Scalars['ID']['input'];
779
+ pagination?: InputMaybe<MtwContainerPagination>;
780
+ }>;
781
+ export type ConsolidationManifestsQuery = {
782
+ __typename?: 'Query';
783
+ mtwConsolidationManifestPage: {
784
+ __typename?: 'MtwConsolidationManifestPage';
785
+ total: number;
786
+ limit: number;
787
+ offset: number;
788
+ hasMore: boolean;
789
+ nextOffset?: number | null;
790
+ items: Array<{
791
+ __typename?: 'MtwConsolidationManifest';
792
+ id: string;
793
+ planId: string;
794
+ version: number;
795
+ previousVersionId?: string | null;
796
+ observationSequence: number;
797
+ recordedAt: string;
798
+ createdBy: string;
799
+ actorProvenance: string;
800
+ onBehalfOf?: string | null;
801
+ snapshot: {
802
+ __typename?: 'MtwConsolidationSnapshot';
803
+ status: string;
804
+ planId: string;
805
+ planVersion: number;
806
+ observationSequence: number;
807
+ unresolvedIssueCount: number;
808
+ recentIssueIds: Array<string>;
809
+ reviewReasons: Array<string>;
810
+ rows: Array<{
811
+ __typename?: 'MtwConsolidationReconciliationRow';
812
+ lotId: string;
813
+ plannedQuantity?: string | null;
814
+ reportedAvailableQuantity?: string | null;
815
+ receivedQuantity?: string | null;
816
+ stuffedQuantity?: string | null;
817
+ availabilityDeficit?: string | null;
818
+ receiptDeficit?: string | null;
819
+ receiptExcess?: string | null;
820
+ stuffingExcess?: string | null;
821
+ receivedMinusStuffed?: string | null;
822
+ unknownReasons: Array<string>;
823
+ receiptObservationId?: string | null;
824
+ stuffingObservationId?: string | null;
825
+ }>;
826
+ };
827
+ }>;
828
+ };
829
+ };
830
+ export type ConsolidationManifestQueryVariables = Exact<{
831
+ planId: Scalars['ID']['input'];
832
+ id: Scalars['ID']['input'];
833
+ }>;
834
+ export type ConsolidationManifestQuery = {
835
+ __typename?: 'Query';
836
+ mtwConsolidationManifest: {
837
+ __typename?: 'MtwConsolidationManifest';
838
+ id: string;
839
+ planId: string;
840
+ version: number;
841
+ previousVersionId?: string | null;
842
+ observationSequence: number;
843
+ recordedAt: string;
844
+ createdBy: string;
845
+ actorProvenance: string;
846
+ onBehalfOf?: string | null;
847
+ snapshot: {
848
+ __typename?: 'MtwConsolidationSnapshot';
849
+ status: string;
850
+ planId: string;
851
+ planVersion: number;
852
+ observationSequence: number;
853
+ unresolvedIssueCount: number;
854
+ recentIssueIds: Array<string>;
855
+ reviewReasons: Array<string>;
856
+ rows: Array<{
857
+ __typename?: 'MtwConsolidationReconciliationRow';
858
+ lotId: string;
859
+ plannedQuantity?: string | null;
860
+ reportedAvailableQuantity?: string | null;
861
+ receivedQuantity?: string | null;
862
+ stuffedQuantity?: string | null;
863
+ availabilityDeficit?: string | null;
864
+ receiptDeficit?: string | null;
865
+ receiptExcess?: string | null;
866
+ stuffingExcess?: string | null;
867
+ receivedMinusStuffed?: string | null;
868
+ unknownReasons: Array<string>;
869
+ receiptObservationId?: string | null;
870
+ stuffingObservationId?: string | null;
871
+ }>;
872
+ };
873
+ };
874
+ };
875
+ export type SaveConsolidationPlanMutationVariables = Exact<{
876
+ input: SaveMtwConsolidationPlanInput;
877
+ }>;
878
+ export type SaveConsolidationPlanMutation = {
879
+ __typename?: 'Mutation';
880
+ saveMtwConsolidationPlan: {
881
+ __typename?: 'MtwConsolidationPlan';
882
+ id: string;
883
+ shipmentId: string;
884
+ cycleId: string;
885
+ planReference: string;
886
+ version: number;
887
+ previousVersionId?: string | null;
888
+ status: string;
889
+ recordedAt: string;
890
+ createdBy: string;
891
+ actorProvenance: string;
892
+ onBehalfOf?: string | null;
893
+ sourceCapture: {
894
+ __typename?: 'MtwConsolidationCapture';
895
+ shipmentNumber: string;
896
+ shipmentUpdatedAt: string;
897
+ containerId: string;
898
+ cycleVersion: number;
899
+ bookingReference?: string | null;
900
+ };
901
+ evidence: Array<{
902
+ __typename?: 'MtwContainerEvidence';
903
+ fileId: string;
904
+ versionId: string;
905
+ sha256Hash: string;
906
+ checkedAt: string;
907
+ }>;
908
+ facts: {
909
+ __typename?: 'MtwConsolidationFacts';
910
+ hubReference: string;
911
+ hubName: string;
912
+ mode?: string | null;
913
+ carrierReference?: string | null;
914
+ bookingReference?: string | null;
915
+ cutoffAt?: string | null;
916
+ timezone?: string | null;
917
+ jurisdictionReference?: string | null;
918
+ effectiveAt: string;
919
+ hubSource: {
920
+ __typename?: 'MtwConsolidationSource';
921
+ reference?: string | null;
922
+ revision?: string | null;
923
+ };
924
+ contextSource: {
925
+ __typename?: 'MtwConsolidationSource';
926
+ reference?: string | null;
927
+ revision?: string | null;
928
+ };
929
+ lots: Array<{
930
+ __typename?: 'MtwConsolidationLot';
931
+ id: string;
932
+ supplierReference: string;
933
+ lotReference: string;
934
+ consignmentReference: string;
935
+ sourceRevision: string;
936
+ quantityBasis: MtwConsolidationQuantityBasis;
937
+ unitReference?: string | null;
938
+ unitRevision?: string | null;
939
+ balanceRevision?: string | null;
940
+ reportedAvailableQuantity?: string | null;
941
+ plannedQuantity?: string | null;
942
+ grossKg?: string | null;
943
+ cubeM3?: string | null;
944
+ originReference?: string | null;
945
+ destinationReference?: string | null;
946
+ importerReference?: string | null;
947
+ transportReference?: string | null;
948
+ documentReference?: string | null;
949
+ source: {
950
+ __typename?: 'MtwConsolidationSource';
951
+ reference?: string | null;
952
+ revision?: string | null;
953
+ };
954
+ }>;
955
+ };
956
+ };
957
+ };
958
+ export type RecordConsolidationObservationMutationVariables = Exact<{
959
+ input: RecordMtwConsolidationObservationInput;
960
+ }>;
961
+ export type RecordConsolidationObservationMutation = {
962
+ __typename?: 'Mutation';
963
+ recordMtwConsolidationObservation: {
964
+ __typename?: 'MtwConsolidationObservation';
965
+ id: string;
966
+ planId: string;
967
+ lotId: string;
968
+ kind: MtwConsolidationReportKind;
969
+ issueReference?: string | null;
970
+ version: number;
971
+ previousVersionId?: string | null;
972
+ receiptSequence: number;
973
+ reportedQuantity?: string | null;
974
+ reportedObservedAt?: string | null;
975
+ reason: string;
976
+ unitReference?: string | null;
977
+ unitRevision?: string | null;
978
+ status: string;
979
+ recordedAt: string;
980
+ createdBy: string;
981
+ actorProvenance: string;
982
+ onBehalfOf?: string | null;
983
+ source: {
984
+ __typename?: 'MtwConsolidationSource';
985
+ reference?: string | null;
986
+ revision?: string | null;
987
+ };
988
+ evidence: Array<{
989
+ __typename?: 'MtwContainerEvidence';
990
+ fileId: string;
991
+ versionId: string;
992
+ sha256Hash: string;
993
+ checkedAt: string;
994
+ }>;
995
+ evidenceDeclarations: Array<{
996
+ __typename?: 'MtwConsolidationEvidenceDeclaration';
997
+ fileId: string;
998
+ versionId: string;
999
+ verification: string;
1000
+ }>;
1001
+ };
1002
+ };
1003
+ export type SaveConsolidationManifestMutationVariables = Exact<{
1004
+ input: SaveMtwConsolidationManifestInput;
1005
+ }>;
1006
+ export type SaveConsolidationManifestMutation = {
1007
+ __typename?: 'Mutation';
1008
+ saveMtwConsolidationManifest: {
1009
+ __typename?: 'MtwConsolidationManifest';
1010
+ id: string;
1011
+ planId: string;
1012
+ version: number;
1013
+ previousVersionId?: string | null;
1014
+ observationSequence: number;
1015
+ recordedAt: string;
1016
+ createdBy: string;
1017
+ actorProvenance: string;
1018
+ onBehalfOf?: string | null;
1019
+ snapshot: {
1020
+ __typename?: 'MtwConsolidationSnapshot';
1021
+ status: string;
1022
+ planId: string;
1023
+ planVersion: number;
1024
+ observationSequence: number;
1025
+ unresolvedIssueCount: number;
1026
+ recentIssueIds: Array<string>;
1027
+ reviewReasons: Array<string>;
1028
+ rows: Array<{
1029
+ __typename?: 'MtwConsolidationReconciliationRow';
1030
+ lotId: string;
1031
+ plannedQuantity?: string | null;
1032
+ reportedAvailableQuantity?: string | null;
1033
+ receivedQuantity?: string | null;
1034
+ stuffedQuantity?: string | null;
1035
+ availabilityDeficit?: string | null;
1036
+ receiptDeficit?: string | null;
1037
+ receiptExcess?: string | null;
1038
+ stuffingExcess?: string | null;
1039
+ receivedMinusStuffed?: string | null;
1040
+ unknownReasons: Array<string>;
1041
+ receiptObservationId?: string | null;
1042
+ stuffingObservationId?: string | null;
1043
+ }>;
1044
+ };
1045
+ };
1046
+ };
1047
+ export declare const ConsolidationShipmentsDocument: import('graphql').DocumentNode;
1048
+ export declare const ConsolidationShipmentDocument: import('graphql').DocumentNode;
1049
+ export declare const ConsolidationContainersDocument: import('graphql').DocumentNode;
1050
+ export declare const ConsolidationCyclesDocument: import('graphql').DocumentNode;
1051
+ export declare const ConsolidationPlansDocument: import('graphql').DocumentNode;
1052
+ export declare const ConsolidationPlanDocument: import('graphql').DocumentNode;
1053
+ export declare const ConsolidationObservationsDocument: import('graphql').DocumentNode;
1054
+ export declare const ConsolidationObservationDocument: import('graphql').DocumentNode;
1055
+ export declare const ConsolidationPreviewDocument: import('graphql').DocumentNode;
1056
+ export declare const ConsolidationManifestsDocument: import('graphql').DocumentNode;
1057
+ export declare const ConsolidationManifestDocument: import('graphql').DocumentNode;
1058
+ export declare const SaveConsolidationPlanDocument: import('graphql').DocumentNode;
1059
+ export declare const RecordConsolidationObservationDocument: import('graphql').DocumentNode;
1060
+ export declare const SaveConsolidationManifestDocument: import('graphql').DocumentNode;