@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,1969 @@
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 CreateMtwPickTaskIntentInput = {
50
+ destination: MtwPickIntentLinePinInput;
51
+ idempotencyKey: Scalars['String']['input'];
52
+ note: Scalars['String']['input'];
53
+ requestedQuantity: Scalars['Int']['input'];
54
+ source: MtwPickIntentLinePinInput;
55
+ };
56
+ export type InventoryFilterInput = {
57
+ cargoItemId?: InputMaybe<Scalars['ID']['input']>;
58
+ inventoryItemId?: InputMaybe<Scalars['ID']['input']>;
59
+ locationId?: InputMaybe<Scalars['ID']['input']>;
60
+ lowStock?: InputMaybe<Scalars['Boolean']['input']>;
61
+ search?: InputMaybe<Scalars['String']['input']>;
62
+ warehouseId?: InputMaybe<Scalars['ID']['input']>;
63
+ };
64
+ /**
65
+ * MoveTheWheels-owned cargo/item master used for warehouse inventory and shipment payloads.
66
+ * This is not a sellable storefront product; commerce SKUs must live in global-store-svc
67
+ * (StoreProduct) and be referenced by storeProductId when needed.
68
+ */
69
+ export type MtwCargoItem = {
70
+ __typename?: 'MtwCargoItem';
71
+ fragile: Scalars['Boolean']['output'];
72
+ hazardous: Scalars['Boolean']['output'];
73
+ id: Scalars['ID']['output'];
74
+ name: Scalars['String']['output'];
75
+ sku: Scalars['String']['output'];
76
+ temperatureControlled: Scalars['Boolean']['output'];
77
+ updatedAt: Scalars['DateTime']['output'];
78
+ };
79
+ export type MtwContainerPagination = {
80
+ limit?: InputMaybe<Scalars['Int']['input']>;
81
+ offset?: InputMaybe<Scalars['Int']['input']>;
82
+ };
83
+ export type MtwInventoryItem = {
84
+ __typename?: 'MtwInventoryItem';
85
+ allocated: Scalars['Int']['output'];
86
+ available: Scalars['Int']['output'];
87
+ cargoItem?: Maybe<MtwCargoItem>;
88
+ cargoItemId: Scalars['ID']['output'];
89
+ /** Monotonic stock/binding change marker, not certified composition or pick eligibility. */
90
+ compositionEpoch: Scalars['Int']['output'];
91
+ damaged: Scalars['Int']['output'];
92
+ id: Scalars['ID']['output'];
93
+ location?: Maybe<MtwWarehouseLocation>;
94
+ locationId?: Maybe<Scalars['ID']['output']>;
95
+ onHand: Scalars['Int']['output'];
96
+ updatedAt: Scalars['DateTime']['output'];
97
+ warehouse?: Maybe<MtwWarehouse>;
98
+ warehouseId: Scalars['ID']['output'];
99
+ };
100
+ export type MtwPickIntentLine = {
101
+ __typename?: 'MtwPickIntentLine';
102
+ applicableProfile?: Maybe<MtwPickIntentProfile>;
103
+ binLabel: Scalars['String']['output'];
104
+ cargoItemId: Scalars['ID']['output'];
105
+ cargoLabel: Scalars['String']['output'];
106
+ cargoUpdatedAt: Scalars['DateTime']['output'];
107
+ compositionEpoch: Scalars['Int']['output'];
108
+ criticalFingerprint: Scalars['String']['output'];
109
+ inventoryItemId: Scalars['ID']['output'];
110
+ inventoryUpdatedAt: Scalars['DateTime']['output'];
111
+ locationId: Scalars['ID']['output'];
112
+ locationUpdatedAt: Scalars['DateTime']['output'];
113
+ observationSequence: Scalars['Int']['output'];
114
+ recordedProfile?: Maybe<MtwPickIntentProfile>;
115
+ reviewGaps: Array<Scalars['String']['output']>;
116
+ stock: MtwPickIntentStock;
117
+ unresolvedObservationIds: Array<Scalars['ID']['output']>;
118
+ warehouseId: Scalars['ID']['output'];
119
+ warehouseLabel: Scalars['String']['output'];
120
+ warehouseUpdatedAt: Scalars['DateTime']['output'];
121
+ };
122
+ export type MtwPickIntentLinePinInput = {
123
+ expectedApplicableAssessmentId?: InputMaybe<Scalars['ID']['input']>;
124
+ expectedCargoItemId: Scalars['ID']['input'];
125
+ expectedCargoUpdatedAt: Scalars['DateTime']['input'];
126
+ expectedCompositionEpoch: Scalars['Int']['input'];
127
+ expectedInventoryUpdatedAt: Scalars['DateTime']['input'];
128
+ expectedLocationId: Scalars['ID']['input'];
129
+ expectedLocationUpdatedAt: Scalars['DateTime']['input'];
130
+ expectedObservationSequence: Scalars['Int']['input'];
131
+ expectedRecordedAssessmentId?: InputMaybe<Scalars['ID']['input']>;
132
+ expectedWarehouseId: Scalars['ID']['input'];
133
+ expectedWarehouseUpdatedAt: Scalars['DateTime']['input'];
134
+ inventoryItemId: Scalars['ID']['input'];
135
+ };
136
+ export type MtwPickIntentProfile = {
137
+ __typename?: 'MtwPickIntentProfile';
138
+ capturedCompositionEpoch?: Maybe<Scalars['Int']['output']>;
139
+ criticalFingerprint: Scalars['String']['output'];
140
+ effectiveAt: Scalars['DateTime']['output'];
141
+ facts: MtwStockBindingFacts;
142
+ id: Scalars['ID']['output'];
143
+ version: Scalars['Int']['output'];
144
+ };
145
+ export type MtwPickIntentStock = {
146
+ __typename?: 'MtwPickIntentStock';
147
+ allocated: Scalars['Int']['output'];
148
+ available: Scalars['Int']['output'];
149
+ damaged: Scalars['Int']['output'];
150
+ onHand: Scalars['Int']['output'];
151
+ };
152
+ /** Transient server-clock review context; no reservation or move authorization. */
153
+ export type MtwPickPreparation = {
154
+ __typename?: 'MtwPickPreparation';
155
+ destination: MtwPickIntentLine;
156
+ evaluatedAt: Scalars['DateTime']['output'];
157
+ source: MtwPickIntentLine;
158
+ };
159
+ /** Immutable reported planning intent. It reserves no stock and grants no execution authority. */
160
+ export type MtwPickTask = {
161
+ __typename?: 'MtwPickTask';
162
+ actorProvenance: Scalars['String']['output'];
163
+ createdBy: Scalars['ID']['output'];
164
+ destination: MtwPickIntentLine;
165
+ executorActorId: Scalars['ID']['output'];
166
+ id: Scalars['ID']['output'];
167
+ intentHash: Scalars['String']['output'];
168
+ note: Scalars['String']['output'];
169
+ onBehalfOf?: Maybe<Scalars['ID']['output']>;
170
+ recordedAt: Scalars['DateTime']['output'];
171
+ requestedQuantity: Scalars['Int']['output'];
172
+ reservedQuantity: Scalars['Int']['output'];
173
+ source: MtwPickIntentLine;
174
+ stagedQuantity: Scalars['Int']['output'];
175
+ status: MtwPickTaskStatus;
176
+ workflow: MtwPickTaskWorkflow;
177
+ };
178
+ export type MtwPickTaskPage = {
179
+ __typename?: 'MtwPickTaskPage';
180
+ hasMore: Scalars['Boolean']['output'];
181
+ items: Array<MtwPickTask>;
182
+ limit: Scalars['Int']['output'];
183
+ nextOffset?: Maybe<Scalars['Int']['output']>;
184
+ offset: Scalars['Int']['output'];
185
+ total: Scalars['Int']['output'];
186
+ };
187
+ export type MtwPickTaskStatus = 'PENDING_REVIEW';
188
+ export type MtwPickTaskWorkflow = 'PICK_TO_STAGING';
189
+ export type MtwStockBindingCountUnit = {
190
+ __typename?: 'MtwStockBindingCountUnit';
191
+ kind: MtwStockBindingCountUnitKind;
192
+ reference?: Maybe<Scalars['String']['output']>;
193
+ revision?: Maybe<Scalars['String']['output']>;
194
+ };
195
+ export type MtwStockBindingCountUnitKind = 'COUNT_UNIT';
196
+ export type MtwStockBindingExpiryPolicy = 'NO_REQUIRED_EXPIRY' | 'TIME_BOUNDED' | 'UNKNOWN';
197
+ /** Immutable operator declarations. Completeness does not establish current eligibility or physical verification. */
198
+ export type MtwStockBindingFacts = {
199
+ __typename?: 'MtwStockBindingFacts';
200
+ countUnit?: Maybe<MtwStockBindingCountUnit>;
201
+ declaredLotPolicy: MtwStockBindingLotPolicy;
202
+ lot?: Maybe<MtwStockBindingLot>;
203
+ provenance: MtwStockBindingProvenance;
204
+ scanMapping?: Maybe<MtwStockBindingScanMapping>;
205
+ schemaVersion: Scalars['Int']['output'];
206
+ scope: MtwStockBindingScope;
207
+ source: MtwStockBindingSource;
208
+ sourceValidity: MtwStockBindingSourceValidity;
209
+ };
210
+ export type MtwStockBindingLot = {
211
+ __typename?: 'MtwStockBindingLot';
212
+ declaredDisposition: MtwStockBindingLotDisposition;
213
+ expiry: MtwStockBindingLotExpiry;
214
+ reference?: Maybe<Scalars['String']['output']>;
215
+ revision?: Maybe<Scalars['String']['output']>;
216
+ };
217
+ export type MtwStockBindingLotDisposition = 'EXPIRED' | 'HELD' | 'RELEASED' | 'UNKNOWN';
218
+ export type MtwStockBindingLotExpiry = {
219
+ __typename?: 'MtwStockBindingLotExpiry';
220
+ expiresAt?: Maybe<Scalars['DateTime']['output']>;
221
+ policy: MtwStockBindingExpiryPolicy;
222
+ sourceReference?: Maybe<Scalars['String']['output']>;
223
+ sourceRevision?: Maybe<Scalars['String']['output']>;
224
+ };
225
+ export type MtwStockBindingLotPolicy = 'NOT_REQUIRED' | 'REQUIRED' | 'UNKNOWN';
226
+ export type MtwStockBindingProvenance = 'OPERATOR_REPORTED';
227
+ export type MtwStockBindingScanMapping = {
228
+ __typename?: 'MtwStockBindingScanMapping';
229
+ mappingReference?: Maybe<Scalars['String']['output']>;
230
+ mappingRevision?: Maybe<Scalars['String']['output']>;
231
+ reportedBinLabel?: Maybe<Scalars['String']['output']>;
232
+ reportedItemLabel?: Maybe<Scalars['String']['output']>;
233
+ };
234
+ export type MtwStockBindingScope = 'UNKNOWN' | 'UNSUPPORTED_MIXED_LOT' | 'WHOLE_LINE';
235
+ export type MtwStockBindingSource = {
236
+ __typename?: 'MtwStockBindingSource';
237
+ reference?: Maybe<Scalars['String']['output']>;
238
+ revision?: Maybe<Scalars['String']['output']>;
239
+ };
240
+ export type MtwStockBindingSourceValidity = {
241
+ __typename?: 'MtwStockBindingSourceValidity';
242
+ from?: Maybe<Scalars['DateTime']['output']>;
243
+ policy: MtwStockBindingExpiryPolicy;
244
+ sourceReference?: Maybe<Scalars['String']['output']>;
245
+ sourceRevision?: Maybe<Scalars['String']['output']>;
246
+ until?: Maybe<Scalars['DateTime']['output']>;
247
+ };
248
+ export type MtwWarehouse = {
249
+ __typename?: 'MtwWarehouse';
250
+ code: Scalars['String']['output'];
251
+ id: Scalars['ID']['output'];
252
+ name: Scalars['String']['output'];
253
+ status: Scalars['String']['output'];
254
+ updatedAt: Scalars['DateTime']['output'];
255
+ };
256
+ export type MtwWarehouseLocation = {
257
+ __typename?: 'MtwWarehouseLocation';
258
+ id: Scalars['ID']['output'];
259
+ locationCode: Scalars['String']['output'];
260
+ status: Scalars['String']['output'];
261
+ updatedAt: Scalars['DateTime']['output'];
262
+ warehouseId: Scalars['ID']['output'];
263
+ };
264
+ export type Mutation = {
265
+ __typename?: 'Mutation';
266
+ createMtwPickTaskIntent: MtwPickTask;
267
+ };
268
+ export type MutationCreateMtwPickTaskIntentArgs = {
269
+ input: CreateMtwPickTaskIntentInput;
270
+ };
271
+ export type PaginationInput = {
272
+ cursor?: InputMaybe<Scalars['String']['input']>;
273
+ limit?: InputMaybe<Scalars['Int']['input']>;
274
+ offset?: InputMaybe<Scalars['Int']['input']>;
275
+ };
276
+ export type Query = {
277
+ __typename?: 'Query';
278
+ inventoryItems: Array<MtwInventoryItem>;
279
+ inventoryItemsCount: Scalars['Int']['output'];
280
+ mtwPickPreparation: MtwPickPreparation;
281
+ mtwPickTask: MtwPickTask;
282
+ mtwPickTaskPage: MtwPickTaskPage;
283
+ };
284
+ export type QueryInventoryItemsArgs = {
285
+ filter?: InputMaybe<InventoryFilterInput>;
286
+ pagination?: InputMaybe<PaginationInput>;
287
+ };
288
+ export type QueryInventoryItemsCountArgs = {
289
+ filter?: InputMaybe<InventoryFilterInput>;
290
+ };
291
+ export type QueryMtwPickPreparationArgs = {
292
+ destinationInventoryItemId: Scalars['ID']['input'];
293
+ sourceInventoryItemId: Scalars['ID']['input'];
294
+ };
295
+ export type QueryMtwPickTaskArgs = {
296
+ id: Scalars['ID']['input'];
297
+ };
298
+ export type QueryMtwPickTaskPageArgs = {
299
+ destinationInventoryItemId?: InputMaybe<Scalars['ID']['input']>;
300
+ pagination?: InputMaybe<MtwContainerPagination>;
301
+ sourceInventoryItemId?: InputMaybe<Scalars['ID']['input']>;
302
+ };
303
+ export type PickProfileFragment = {
304
+ __typename?: 'MtwPickIntentProfile';
305
+ id: string;
306
+ version: number;
307
+ effectiveAt: string;
308
+ capturedCompositionEpoch?: number | null;
309
+ criticalFingerprint: string;
310
+ facts: {
311
+ __typename?: 'MtwStockBindingFacts';
312
+ schemaVersion: number;
313
+ provenance: MtwStockBindingProvenance;
314
+ scope: MtwStockBindingScope;
315
+ declaredLotPolicy: MtwStockBindingLotPolicy;
316
+ source: {
317
+ __typename?: 'MtwStockBindingSource';
318
+ reference?: string | null;
319
+ revision?: string | null;
320
+ };
321
+ countUnit?: {
322
+ __typename?: 'MtwStockBindingCountUnit';
323
+ kind: MtwStockBindingCountUnitKind;
324
+ reference?: string | null;
325
+ revision?: string | null;
326
+ } | null;
327
+ scanMapping?: {
328
+ __typename?: 'MtwStockBindingScanMapping';
329
+ reportedItemLabel?: string | null;
330
+ reportedBinLabel?: string | null;
331
+ mappingReference?: string | null;
332
+ mappingRevision?: string | null;
333
+ } | null;
334
+ lot?: {
335
+ __typename?: 'MtwStockBindingLot';
336
+ reference?: string | null;
337
+ revision?: string | null;
338
+ declaredDisposition: MtwStockBindingLotDisposition;
339
+ expiry: {
340
+ __typename?: 'MtwStockBindingLotExpiry';
341
+ policy: MtwStockBindingExpiryPolicy;
342
+ expiresAt?: string | null;
343
+ sourceReference?: string | null;
344
+ sourceRevision?: string | null;
345
+ };
346
+ } | null;
347
+ sourceValidity: {
348
+ __typename?: 'MtwStockBindingSourceValidity';
349
+ policy: MtwStockBindingExpiryPolicy;
350
+ from?: string | null;
351
+ until?: string | null;
352
+ sourceReference?: string | null;
353
+ sourceRevision?: string | null;
354
+ };
355
+ };
356
+ };
357
+ export type PickLineFragment = {
358
+ __typename?: 'MtwPickIntentLine';
359
+ inventoryItemId: string;
360
+ cargoItemId: string;
361
+ warehouseId: string;
362
+ locationId: string;
363
+ inventoryUpdatedAt: string;
364
+ cargoUpdatedAt: string;
365
+ warehouseUpdatedAt: string;
366
+ locationUpdatedAt: string;
367
+ compositionEpoch: number;
368
+ criticalFingerprint: string;
369
+ cargoLabel: string;
370
+ warehouseLabel: string;
371
+ binLabel: string;
372
+ observationSequence: number;
373
+ unresolvedObservationIds: Array<string>;
374
+ reviewGaps: Array<string>;
375
+ stock: {
376
+ __typename?: 'MtwPickIntentStock';
377
+ onHand: number;
378
+ available: number;
379
+ allocated: number;
380
+ damaged: number;
381
+ };
382
+ recordedProfile?: {
383
+ __typename?: 'MtwPickIntentProfile';
384
+ id: string;
385
+ version: number;
386
+ effectiveAt: string;
387
+ capturedCompositionEpoch?: number | null;
388
+ criticalFingerprint: string;
389
+ facts: {
390
+ __typename?: 'MtwStockBindingFacts';
391
+ schemaVersion: number;
392
+ provenance: MtwStockBindingProvenance;
393
+ scope: MtwStockBindingScope;
394
+ declaredLotPolicy: MtwStockBindingLotPolicy;
395
+ source: {
396
+ __typename?: 'MtwStockBindingSource';
397
+ reference?: string | null;
398
+ revision?: string | null;
399
+ };
400
+ countUnit?: {
401
+ __typename?: 'MtwStockBindingCountUnit';
402
+ kind: MtwStockBindingCountUnitKind;
403
+ reference?: string | null;
404
+ revision?: string | null;
405
+ } | null;
406
+ scanMapping?: {
407
+ __typename?: 'MtwStockBindingScanMapping';
408
+ reportedItemLabel?: string | null;
409
+ reportedBinLabel?: string | null;
410
+ mappingReference?: string | null;
411
+ mappingRevision?: string | null;
412
+ } | null;
413
+ lot?: {
414
+ __typename?: 'MtwStockBindingLot';
415
+ reference?: string | null;
416
+ revision?: string | null;
417
+ declaredDisposition: MtwStockBindingLotDisposition;
418
+ expiry: {
419
+ __typename?: 'MtwStockBindingLotExpiry';
420
+ policy: MtwStockBindingExpiryPolicy;
421
+ expiresAt?: string | null;
422
+ sourceReference?: string | null;
423
+ sourceRevision?: string | null;
424
+ };
425
+ } | null;
426
+ sourceValidity: {
427
+ __typename?: 'MtwStockBindingSourceValidity';
428
+ policy: MtwStockBindingExpiryPolicy;
429
+ from?: string | null;
430
+ until?: string | null;
431
+ sourceReference?: string | null;
432
+ sourceRevision?: string | null;
433
+ };
434
+ };
435
+ } | null;
436
+ applicableProfile?: {
437
+ __typename?: 'MtwPickIntentProfile';
438
+ id: string;
439
+ version: number;
440
+ effectiveAt: string;
441
+ capturedCompositionEpoch?: number | null;
442
+ criticalFingerprint: string;
443
+ facts: {
444
+ __typename?: 'MtwStockBindingFacts';
445
+ schemaVersion: number;
446
+ provenance: MtwStockBindingProvenance;
447
+ scope: MtwStockBindingScope;
448
+ declaredLotPolicy: MtwStockBindingLotPolicy;
449
+ source: {
450
+ __typename?: 'MtwStockBindingSource';
451
+ reference?: string | null;
452
+ revision?: string | null;
453
+ };
454
+ countUnit?: {
455
+ __typename?: 'MtwStockBindingCountUnit';
456
+ kind: MtwStockBindingCountUnitKind;
457
+ reference?: string | null;
458
+ revision?: string | null;
459
+ } | null;
460
+ scanMapping?: {
461
+ __typename?: 'MtwStockBindingScanMapping';
462
+ reportedItemLabel?: string | null;
463
+ reportedBinLabel?: string | null;
464
+ mappingReference?: string | null;
465
+ mappingRevision?: string | null;
466
+ } | null;
467
+ lot?: {
468
+ __typename?: 'MtwStockBindingLot';
469
+ reference?: string | null;
470
+ revision?: string | null;
471
+ declaredDisposition: MtwStockBindingLotDisposition;
472
+ expiry: {
473
+ __typename?: 'MtwStockBindingLotExpiry';
474
+ policy: MtwStockBindingExpiryPolicy;
475
+ expiresAt?: string | null;
476
+ sourceReference?: string | null;
477
+ sourceRevision?: string | null;
478
+ };
479
+ } | null;
480
+ sourceValidity: {
481
+ __typename?: 'MtwStockBindingSourceValidity';
482
+ policy: MtwStockBindingExpiryPolicy;
483
+ from?: string | null;
484
+ until?: string | null;
485
+ sourceReference?: string | null;
486
+ sourceRevision?: string | null;
487
+ };
488
+ };
489
+ } | null;
490
+ };
491
+ export type PendingPickTaskFragment = {
492
+ __typename?: 'MtwPickTask';
493
+ id: string;
494
+ requestedQuantity: number;
495
+ note: string;
496
+ workflow: MtwPickTaskWorkflow;
497
+ status: MtwPickTaskStatus;
498
+ reservedQuantity: number;
499
+ stagedQuantity: number;
500
+ executorActorId: string;
501
+ createdBy: string;
502
+ actorProvenance: string;
503
+ onBehalfOf?: string | null;
504
+ intentHash: string;
505
+ recordedAt: string;
506
+ source: {
507
+ __typename?: 'MtwPickIntentLine';
508
+ inventoryItemId: string;
509
+ cargoItemId: string;
510
+ warehouseId: string;
511
+ locationId: string;
512
+ inventoryUpdatedAt: string;
513
+ cargoUpdatedAt: string;
514
+ warehouseUpdatedAt: string;
515
+ locationUpdatedAt: string;
516
+ compositionEpoch: number;
517
+ criticalFingerprint: string;
518
+ cargoLabel: string;
519
+ warehouseLabel: string;
520
+ binLabel: string;
521
+ observationSequence: number;
522
+ unresolvedObservationIds: Array<string>;
523
+ reviewGaps: Array<string>;
524
+ stock: {
525
+ __typename?: 'MtwPickIntentStock';
526
+ onHand: number;
527
+ available: number;
528
+ allocated: number;
529
+ damaged: number;
530
+ };
531
+ recordedProfile?: {
532
+ __typename?: 'MtwPickIntentProfile';
533
+ id: string;
534
+ version: number;
535
+ effectiveAt: string;
536
+ capturedCompositionEpoch?: number | null;
537
+ criticalFingerprint: string;
538
+ facts: {
539
+ __typename?: 'MtwStockBindingFacts';
540
+ schemaVersion: number;
541
+ provenance: MtwStockBindingProvenance;
542
+ scope: MtwStockBindingScope;
543
+ declaredLotPolicy: MtwStockBindingLotPolicy;
544
+ source: {
545
+ __typename?: 'MtwStockBindingSource';
546
+ reference?: string | null;
547
+ revision?: string | null;
548
+ };
549
+ countUnit?: {
550
+ __typename?: 'MtwStockBindingCountUnit';
551
+ kind: MtwStockBindingCountUnitKind;
552
+ reference?: string | null;
553
+ revision?: string | null;
554
+ } | null;
555
+ scanMapping?: {
556
+ __typename?: 'MtwStockBindingScanMapping';
557
+ reportedItemLabel?: string | null;
558
+ reportedBinLabel?: string | null;
559
+ mappingReference?: string | null;
560
+ mappingRevision?: string | null;
561
+ } | null;
562
+ lot?: {
563
+ __typename?: 'MtwStockBindingLot';
564
+ reference?: string | null;
565
+ revision?: string | null;
566
+ declaredDisposition: MtwStockBindingLotDisposition;
567
+ expiry: {
568
+ __typename?: 'MtwStockBindingLotExpiry';
569
+ policy: MtwStockBindingExpiryPolicy;
570
+ expiresAt?: string | null;
571
+ sourceReference?: string | null;
572
+ sourceRevision?: string | null;
573
+ };
574
+ } | null;
575
+ sourceValidity: {
576
+ __typename?: 'MtwStockBindingSourceValidity';
577
+ policy: MtwStockBindingExpiryPolicy;
578
+ from?: string | null;
579
+ until?: string | null;
580
+ sourceReference?: string | null;
581
+ sourceRevision?: string | null;
582
+ };
583
+ };
584
+ } | null;
585
+ applicableProfile?: {
586
+ __typename?: 'MtwPickIntentProfile';
587
+ id: string;
588
+ version: number;
589
+ effectiveAt: string;
590
+ capturedCompositionEpoch?: number | null;
591
+ criticalFingerprint: string;
592
+ facts: {
593
+ __typename?: 'MtwStockBindingFacts';
594
+ schemaVersion: number;
595
+ provenance: MtwStockBindingProvenance;
596
+ scope: MtwStockBindingScope;
597
+ declaredLotPolicy: MtwStockBindingLotPolicy;
598
+ source: {
599
+ __typename?: 'MtwStockBindingSource';
600
+ reference?: string | null;
601
+ revision?: string | null;
602
+ };
603
+ countUnit?: {
604
+ __typename?: 'MtwStockBindingCountUnit';
605
+ kind: MtwStockBindingCountUnitKind;
606
+ reference?: string | null;
607
+ revision?: string | null;
608
+ } | null;
609
+ scanMapping?: {
610
+ __typename?: 'MtwStockBindingScanMapping';
611
+ reportedItemLabel?: string | null;
612
+ reportedBinLabel?: string | null;
613
+ mappingReference?: string | null;
614
+ mappingRevision?: string | null;
615
+ } | null;
616
+ lot?: {
617
+ __typename?: 'MtwStockBindingLot';
618
+ reference?: string | null;
619
+ revision?: string | null;
620
+ declaredDisposition: MtwStockBindingLotDisposition;
621
+ expiry: {
622
+ __typename?: 'MtwStockBindingLotExpiry';
623
+ policy: MtwStockBindingExpiryPolicy;
624
+ expiresAt?: string | null;
625
+ sourceReference?: string | null;
626
+ sourceRevision?: string | null;
627
+ };
628
+ } | null;
629
+ sourceValidity: {
630
+ __typename?: 'MtwStockBindingSourceValidity';
631
+ policy: MtwStockBindingExpiryPolicy;
632
+ from?: string | null;
633
+ until?: string | null;
634
+ sourceReference?: string | null;
635
+ sourceRevision?: string | null;
636
+ };
637
+ };
638
+ } | null;
639
+ };
640
+ destination: {
641
+ __typename?: 'MtwPickIntentLine';
642
+ inventoryItemId: string;
643
+ cargoItemId: string;
644
+ warehouseId: string;
645
+ locationId: string;
646
+ inventoryUpdatedAt: string;
647
+ cargoUpdatedAt: string;
648
+ warehouseUpdatedAt: string;
649
+ locationUpdatedAt: string;
650
+ compositionEpoch: number;
651
+ criticalFingerprint: string;
652
+ cargoLabel: string;
653
+ warehouseLabel: string;
654
+ binLabel: string;
655
+ observationSequence: number;
656
+ unresolvedObservationIds: Array<string>;
657
+ reviewGaps: Array<string>;
658
+ stock: {
659
+ __typename?: 'MtwPickIntentStock';
660
+ onHand: number;
661
+ available: number;
662
+ allocated: number;
663
+ damaged: number;
664
+ };
665
+ recordedProfile?: {
666
+ __typename?: 'MtwPickIntentProfile';
667
+ id: string;
668
+ version: number;
669
+ effectiveAt: string;
670
+ capturedCompositionEpoch?: number | null;
671
+ criticalFingerprint: string;
672
+ facts: {
673
+ __typename?: 'MtwStockBindingFacts';
674
+ schemaVersion: number;
675
+ provenance: MtwStockBindingProvenance;
676
+ scope: MtwStockBindingScope;
677
+ declaredLotPolicy: MtwStockBindingLotPolicy;
678
+ source: {
679
+ __typename?: 'MtwStockBindingSource';
680
+ reference?: string | null;
681
+ revision?: string | null;
682
+ };
683
+ countUnit?: {
684
+ __typename?: 'MtwStockBindingCountUnit';
685
+ kind: MtwStockBindingCountUnitKind;
686
+ reference?: string | null;
687
+ revision?: string | null;
688
+ } | null;
689
+ scanMapping?: {
690
+ __typename?: 'MtwStockBindingScanMapping';
691
+ reportedItemLabel?: string | null;
692
+ reportedBinLabel?: string | null;
693
+ mappingReference?: string | null;
694
+ mappingRevision?: string | null;
695
+ } | null;
696
+ lot?: {
697
+ __typename?: 'MtwStockBindingLot';
698
+ reference?: string | null;
699
+ revision?: string | null;
700
+ declaredDisposition: MtwStockBindingLotDisposition;
701
+ expiry: {
702
+ __typename?: 'MtwStockBindingLotExpiry';
703
+ policy: MtwStockBindingExpiryPolicy;
704
+ expiresAt?: string | null;
705
+ sourceReference?: string | null;
706
+ sourceRevision?: string | null;
707
+ };
708
+ } | null;
709
+ sourceValidity: {
710
+ __typename?: 'MtwStockBindingSourceValidity';
711
+ policy: MtwStockBindingExpiryPolicy;
712
+ from?: string | null;
713
+ until?: string | null;
714
+ sourceReference?: string | null;
715
+ sourceRevision?: string | null;
716
+ };
717
+ };
718
+ } | null;
719
+ applicableProfile?: {
720
+ __typename?: 'MtwPickIntentProfile';
721
+ id: string;
722
+ version: number;
723
+ effectiveAt: string;
724
+ capturedCompositionEpoch?: number | null;
725
+ criticalFingerprint: string;
726
+ facts: {
727
+ __typename?: 'MtwStockBindingFacts';
728
+ schemaVersion: number;
729
+ provenance: MtwStockBindingProvenance;
730
+ scope: MtwStockBindingScope;
731
+ declaredLotPolicy: MtwStockBindingLotPolicy;
732
+ source: {
733
+ __typename?: 'MtwStockBindingSource';
734
+ reference?: string | null;
735
+ revision?: string | null;
736
+ };
737
+ countUnit?: {
738
+ __typename?: 'MtwStockBindingCountUnit';
739
+ kind: MtwStockBindingCountUnitKind;
740
+ reference?: string | null;
741
+ revision?: string | null;
742
+ } | null;
743
+ scanMapping?: {
744
+ __typename?: 'MtwStockBindingScanMapping';
745
+ reportedItemLabel?: string | null;
746
+ reportedBinLabel?: string | null;
747
+ mappingReference?: string | null;
748
+ mappingRevision?: string | null;
749
+ } | null;
750
+ lot?: {
751
+ __typename?: 'MtwStockBindingLot';
752
+ reference?: string | null;
753
+ revision?: string | null;
754
+ declaredDisposition: MtwStockBindingLotDisposition;
755
+ expiry: {
756
+ __typename?: 'MtwStockBindingLotExpiry';
757
+ policy: MtwStockBindingExpiryPolicy;
758
+ expiresAt?: string | null;
759
+ sourceReference?: string | null;
760
+ sourceRevision?: string | null;
761
+ };
762
+ } | null;
763
+ sourceValidity: {
764
+ __typename?: 'MtwStockBindingSourceValidity';
765
+ policy: MtwStockBindingExpiryPolicy;
766
+ from?: string | null;
767
+ until?: string | null;
768
+ sourceReference?: string | null;
769
+ sourceRevision?: string | null;
770
+ };
771
+ };
772
+ } | null;
773
+ };
774
+ };
775
+ export type PickInventoryQueryVariables = Exact<{
776
+ pagination?: InputMaybe<PaginationInput>;
777
+ }>;
778
+ export type PickInventoryQuery = {
779
+ __typename?: 'Query';
780
+ inventoryItemsCount: number;
781
+ inventoryItems: Array<{
782
+ __typename?: 'MtwInventoryItem';
783
+ id: string;
784
+ cargoItemId: string;
785
+ warehouseId: string;
786
+ locationId?: string | null;
787
+ cargoItem?: {
788
+ __typename?: 'MtwCargoItem';
789
+ name: string;
790
+ sku: string;
791
+ } | null;
792
+ warehouse?: {
793
+ __typename?: 'MtwWarehouse';
794
+ name: string;
795
+ code: string;
796
+ } | null;
797
+ location?: {
798
+ __typename?: 'MtwWarehouseLocation';
799
+ locationCode: string;
800
+ } | null;
801
+ }>;
802
+ };
803
+ export type PickPreparationQueryVariables = Exact<{
804
+ sourceInventoryItemId: Scalars['ID']['input'];
805
+ destinationInventoryItemId: Scalars['ID']['input'];
806
+ }>;
807
+ export type PickPreparationQuery = {
808
+ __typename?: 'Query';
809
+ mtwPickPreparation: {
810
+ __typename?: 'MtwPickPreparation';
811
+ evaluatedAt: string;
812
+ source: {
813
+ __typename?: 'MtwPickIntentLine';
814
+ inventoryItemId: string;
815
+ cargoItemId: string;
816
+ warehouseId: string;
817
+ locationId: string;
818
+ inventoryUpdatedAt: string;
819
+ cargoUpdatedAt: string;
820
+ warehouseUpdatedAt: string;
821
+ locationUpdatedAt: string;
822
+ compositionEpoch: number;
823
+ criticalFingerprint: string;
824
+ cargoLabel: string;
825
+ warehouseLabel: string;
826
+ binLabel: string;
827
+ observationSequence: number;
828
+ unresolvedObservationIds: Array<string>;
829
+ reviewGaps: Array<string>;
830
+ stock: {
831
+ __typename?: 'MtwPickIntentStock';
832
+ onHand: number;
833
+ available: number;
834
+ allocated: number;
835
+ damaged: number;
836
+ };
837
+ recordedProfile?: {
838
+ __typename?: 'MtwPickIntentProfile';
839
+ id: string;
840
+ version: number;
841
+ effectiveAt: string;
842
+ capturedCompositionEpoch?: number | null;
843
+ criticalFingerprint: string;
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
+ } | null;
891
+ applicableProfile?: {
892
+ __typename?: 'MtwPickIntentProfile';
893
+ id: string;
894
+ version: number;
895
+ effectiveAt: string;
896
+ capturedCompositionEpoch?: number | null;
897
+ criticalFingerprint: string;
898
+ facts: {
899
+ __typename?: 'MtwStockBindingFacts';
900
+ schemaVersion: number;
901
+ provenance: MtwStockBindingProvenance;
902
+ scope: MtwStockBindingScope;
903
+ declaredLotPolicy: MtwStockBindingLotPolicy;
904
+ source: {
905
+ __typename?: 'MtwStockBindingSource';
906
+ reference?: string | null;
907
+ revision?: string | null;
908
+ };
909
+ countUnit?: {
910
+ __typename?: 'MtwStockBindingCountUnit';
911
+ kind: MtwStockBindingCountUnitKind;
912
+ reference?: string | null;
913
+ revision?: string | null;
914
+ } | null;
915
+ scanMapping?: {
916
+ __typename?: 'MtwStockBindingScanMapping';
917
+ reportedItemLabel?: string | null;
918
+ reportedBinLabel?: string | null;
919
+ mappingReference?: string | null;
920
+ mappingRevision?: string | null;
921
+ } | null;
922
+ lot?: {
923
+ __typename?: 'MtwStockBindingLot';
924
+ reference?: string | null;
925
+ revision?: string | null;
926
+ declaredDisposition: MtwStockBindingLotDisposition;
927
+ expiry: {
928
+ __typename?: 'MtwStockBindingLotExpiry';
929
+ policy: MtwStockBindingExpiryPolicy;
930
+ expiresAt?: string | null;
931
+ sourceReference?: string | null;
932
+ sourceRevision?: string | null;
933
+ };
934
+ } | null;
935
+ sourceValidity: {
936
+ __typename?: 'MtwStockBindingSourceValidity';
937
+ policy: MtwStockBindingExpiryPolicy;
938
+ from?: string | null;
939
+ until?: string | null;
940
+ sourceReference?: string | null;
941
+ sourceRevision?: string | null;
942
+ };
943
+ };
944
+ } | null;
945
+ };
946
+ destination: {
947
+ __typename?: 'MtwPickIntentLine';
948
+ inventoryItemId: string;
949
+ cargoItemId: string;
950
+ warehouseId: string;
951
+ locationId: string;
952
+ inventoryUpdatedAt: string;
953
+ cargoUpdatedAt: string;
954
+ warehouseUpdatedAt: string;
955
+ locationUpdatedAt: string;
956
+ compositionEpoch: number;
957
+ criticalFingerprint: string;
958
+ cargoLabel: string;
959
+ warehouseLabel: string;
960
+ binLabel: string;
961
+ observationSequence: number;
962
+ unresolvedObservationIds: Array<string>;
963
+ reviewGaps: Array<string>;
964
+ stock: {
965
+ __typename?: 'MtwPickIntentStock';
966
+ onHand: number;
967
+ available: number;
968
+ allocated: number;
969
+ damaged: number;
970
+ };
971
+ recordedProfile?: {
972
+ __typename?: 'MtwPickIntentProfile';
973
+ id: string;
974
+ version: number;
975
+ effectiveAt: string;
976
+ capturedCompositionEpoch?: number | null;
977
+ criticalFingerprint: string;
978
+ facts: {
979
+ __typename?: 'MtwStockBindingFacts';
980
+ schemaVersion: number;
981
+ provenance: MtwStockBindingProvenance;
982
+ scope: MtwStockBindingScope;
983
+ declaredLotPolicy: MtwStockBindingLotPolicy;
984
+ source: {
985
+ __typename?: 'MtwStockBindingSource';
986
+ reference?: string | null;
987
+ revision?: string | null;
988
+ };
989
+ countUnit?: {
990
+ __typename?: 'MtwStockBindingCountUnit';
991
+ kind: MtwStockBindingCountUnitKind;
992
+ reference?: string | null;
993
+ revision?: string | null;
994
+ } | null;
995
+ scanMapping?: {
996
+ __typename?: 'MtwStockBindingScanMapping';
997
+ reportedItemLabel?: string | null;
998
+ reportedBinLabel?: string | null;
999
+ mappingReference?: string | null;
1000
+ mappingRevision?: string | null;
1001
+ } | null;
1002
+ lot?: {
1003
+ __typename?: 'MtwStockBindingLot';
1004
+ reference?: string | null;
1005
+ revision?: string | null;
1006
+ declaredDisposition: MtwStockBindingLotDisposition;
1007
+ expiry: {
1008
+ __typename?: 'MtwStockBindingLotExpiry';
1009
+ policy: MtwStockBindingExpiryPolicy;
1010
+ expiresAt?: string | null;
1011
+ sourceReference?: string | null;
1012
+ sourceRevision?: string | null;
1013
+ };
1014
+ } | null;
1015
+ sourceValidity: {
1016
+ __typename?: 'MtwStockBindingSourceValidity';
1017
+ policy: MtwStockBindingExpiryPolicy;
1018
+ from?: string | null;
1019
+ until?: string | null;
1020
+ sourceReference?: string | null;
1021
+ sourceRevision?: string | null;
1022
+ };
1023
+ };
1024
+ } | null;
1025
+ applicableProfile?: {
1026
+ __typename?: 'MtwPickIntentProfile';
1027
+ id: string;
1028
+ version: number;
1029
+ effectiveAt: string;
1030
+ capturedCompositionEpoch?: number | null;
1031
+ criticalFingerprint: string;
1032
+ facts: {
1033
+ __typename?: 'MtwStockBindingFacts';
1034
+ schemaVersion: number;
1035
+ provenance: MtwStockBindingProvenance;
1036
+ scope: MtwStockBindingScope;
1037
+ declaredLotPolicy: MtwStockBindingLotPolicy;
1038
+ source: {
1039
+ __typename?: 'MtwStockBindingSource';
1040
+ reference?: string | null;
1041
+ revision?: string | null;
1042
+ };
1043
+ countUnit?: {
1044
+ __typename?: 'MtwStockBindingCountUnit';
1045
+ kind: MtwStockBindingCountUnitKind;
1046
+ reference?: string | null;
1047
+ revision?: string | null;
1048
+ } | null;
1049
+ scanMapping?: {
1050
+ __typename?: 'MtwStockBindingScanMapping';
1051
+ reportedItemLabel?: string | null;
1052
+ reportedBinLabel?: string | null;
1053
+ mappingReference?: string | null;
1054
+ mappingRevision?: string | null;
1055
+ } | null;
1056
+ lot?: {
1057
+ __typename?: 'MtwStockBindingLot';
1058
+ reference?: string | null;
1059
+ revision?: string | null;
1060
+ declaredDisposition: MtwStockBindingLotDisposition;
1061
+ expiry: {
1062
+ __typename?: 'MtwStockBindingLotExpiry';
1063
+ policy: MtwStockBindingExpiryPolicy;
1064
+ expiresAt?: string | null;
1065
+ sourceReference?: string | null;
1066
+ sourceRevision?: string | null;
1067
+ };
1068
+ } | null;
1069
+ sourceValidity: {
1070
+ __typename?: 'MtwStockBindingSourceValidity';
1071
+ policy: MtwStockBindingExpiryPolicy;
1072
+ from?: string | null;
1073
+ until?: string | null;
1074
+ sourceReference?: string | null;
1075
+ sourceRevision?: string | null;
1076
+ };
1077
+ };
1078
+ } | null;
1079
+ };
1080
+ };
1081
+ };
1082
+ export type PendingPickHistoryQueryVariables = Exact<{
1083
+ pagination?: InputMaybe<MtwContainerPagination>;
1084
+ sourceInventoryItemId?: InputMaybe<Scalars['ID']['input']>;
1085
+ destinationInventoryItemId?: InputMaybe<Scalars['ID']['input']>;
1086
+ }>;
1087
+ export type PendingPickHistoryQuery = {
1088
+ __typename?: 'Query';
1089
+ mtwPickTaskPage: {
1090
+ __typename?: 'MtwPickTaskPage';
1091
+ total: number;
1092
+ limit: number;
1093
+ offset: number;
1094
+ hasMore: boolean;
1095
+ nextOffset?: number | null;
1096
+ items: Array<{
1097
+ __typename?: 'MtwPickTask';
1098
+ id: string;
1099
+ requestedQuantity: number;
1100
+ note: string;
1101
+ workflow: MtwPickTaskWorkflow;
1102
+ status: MtwPickTaskStatus;
1103
+ reservedQuantity: number;
1104
+ stagedQuantity: number;
1105
+ executorActorId: string;
1106
+ createdBy: string;
1107
+ actorProvenance: string;
1108
+ onBehalfOf?: string | null;
1109
+ intentHash: string;
1110
+ recordedAt: string;
1111
+ source: {
1112
+ __typename?: 'MtwPickIntentLine';
1113
+ inventoryItemId: string;
1114
+ cargoItemId: string;
1115
+ warehouseId: string;
1116
+ locationId: string;
1117
+ inventoryUpdatedAt: string;
1118
+ cargoUpdatedAt: string;
1119
+ warehouseUpdatedAt: string;
1120
+ locationUpdatedAt: string;
1121
+ compositionEpoch: number;
1122
+ criticalFingerprint: string;
1123
+ cargoLabel: string;
1124
+ warehouseLabel: string;
1125
+ binLabel: string;
1126
+ observationSequence: number;
1127
+ unresolvedObservationIds: Array<string>;
1128
+ reviewGaps: Array<string>;
1129
+ stock: {
1130
+ __typename?: 'MtwPickIntentStock';
1131
+ onHand: number;
1132
+ available: number;
1133
+ allocated: number;
1134
+ damaged: number;
1135
+ };
1136
+ recordedProfile?: {
1137
+ __typename?: 'MtwPickIntentProfile';
1138
+ id: string;
1139
+ version: number;
1140
+ effectiveAt: string;
1141
+ capturedCompositionEpoch?: number | null;
1142
+ criticalFingerprint: string;
1143
+ facts: {
1144
+ __typename?: 'MtwStockBindingFacts';
1145
+ schemaVersion: number;
1146
+ provenance: MtwStockBindingProvenance;
1147
+ scope: MtwStockBindingScope;
1148
+ declaredLotPolicy: MtwStockBindingLotPolicy;
1149
+ source: {
1150
+ __typename?: 'MtwStockBindingSource';
1151
+ reference?: string | null;
1152
+ revision?: string | null;
1153
+ };
1154
+ countUnit?: {
1155
+ __typename?: 'MtwStockBindingCountUnit';
1156
+ kind: MtwStockBindingCountUnitKind;
1157
+ reference?: string | null;
1158
+ revision?: string | null;
1159
+ } | null;
1160
+ scanMapping?: {
1161
+ __typename?: 'MtwStockBindingScanMapping';
1162
+ reportedItemLabel?: string | null;
1163
+ reportedBinLabel?: string | null;
1164
+ mappingReference?: string | null;
1165
+ mappingRevision?: string | null;
1166
+ } | null;
1167
+ lot?: {
1168
+ __typename?: 'MtwStockBindingLot';
1169
+ reference?: string | null;
1170
+ revision?: string | null;
1171
+ declaredDisposition: MtwStockBindingLotDisposition;
1172
+ expiry: {
1173
+ __typename?: 'MtwStockBindingLotExpiry';
1174
+ policy: MtwStockBindingExpiryPolicy;
1175
+ expiresAt?: string | null;
1176
+ sourceReference?: string | null;
1177
+ sourceRevision?: string | null;
1178
+ };
1179
+ } | null;
1180
+ sourceValidity: {
1181
+ __typename?: 'MtwStockBindingSourceValidity';
1182
+ policy: MtwStockBindingExpiryPolicy;
1183
+ from?: string | null;
1184
+ until?: string | null;
1185
+ sourceReference?: string | null;
1186
+ sourceRevision?: string | null;
1187
+ };
1188
+ };
1189
+ } | null;
1190
+ applicableProfile?: {
1191
+ __typename?: 'MtwPickIntentProfile';
1192
+ id: string;
1193
+ version: number;
1194
+ effectiveAt: string;
1195
+ capturedCompositionEpoch?: number | null;
1196
+ criticalFingerprint: string;
1197
+ facts: {
1198
+ __typename?: 'MtwStockBindingFacts';
1199
+ schemaVersion: number;
1200
+ provenance: MtwStockBindingProvenance;
1201
+ scope: MtwStockBindingScope;
1202
+ declaredLotPolicy: MtwStockBindingLotPolicy;
1203
+ source: {
1204
+ __typename?: 'MtwStockBindingSource';
1205
+ reference?: string | null;
1206
+ revision?: string | null;
1207
+ };
1208
+ countUnit?: {
1209
+ __typename?: 'MtwStockBindingCountUnit';
1210
+ kind: MtwStockBindingCountUnitKind;
1211
+ reference?: string | null;
1212
+ revision?: string | null;
1213
+ } | null;
1214
+ scanMapping?: {
1215
+ __typename?: 'MtwStockBindingScanMapping';
1216
+ reportedItemLabel?: string | null;
1217
+ reportedBinLabel?: string | null;
1218
+ mappingReference?: string | null;
1219
+ mappingRevision?: string | null;
1220
+ } | null;
1221
+ lot?: {
1222
+ __typename?: 'MtwStockBindingLot';
1223
+ reference?: string | null;
1224
+ revision?: string | null;
1225
+ declaredDisposition: MtwStockBindingLotDisposition;
1226
+ expiry: {
1227
+ __typename?: 'MtwStockBindingLotExpiry';
1228
+ policy: MtwStockBindingExpiryPolicy;
1229
+ expiresAt?: string | null;
1230
+ sourceReference?: string | null;
1231
+ sourceRevision?: string | null;
1232
+ };
1233
+ } | null;
1234
+ sourceValidity: {
1235
+ __typename?: 'MtwStockBindingSourceValidity';
1236
+ policy: MtwStockBindingExpiryPolicy;
1237
+ from?: string | null;
1238
+ until?: string | null;
1239
+ sourceReference?: string | null;
1240
+ sourceRevision?: string | null;
1241
+ };
1242
+ };
1243
+ } | null;
1244
+ };
1245
+ destination: {
1246
+ __typename?: 'MtwPickIntentLine';
1247
+ inventoryItemId: string;
1248
+ cargoItemId: string;
1249
+ warehouseId: string;
1250
+ locationId: string;
1251
+ inventoryUpdatedAt: string;
1252
+ cargoUpdatedAt: string;
1253
+ warehouseUpdatedAt: string;
1254
+ locationUpdatedAt: string;
1255
+ compositionEpoch: number;
1256
+ criticalFingerprint: string;
1257
+ cargoLabel: string;
1258
+ warehouseLabel: string;
1259
+ binLabel: string;
1260
+ observationSequence: number;
1261
+ unresolvedObservationIds: Array<string>;
1262
+ reviewGaps: Array<string>;
1263
+ stock: {
1264
+ __typename?: 'MtwPickIntentStock';
1265
+ onHand: number;
1266
+ available: number;
1267
+ allocated: number;
1268
+ damaged: number;
1269
+ };
1270
+ recordedProfile?: {
1271
+ __typename?: 'MtwPickIntentProfile';
1272
+ id: string;
1273
+ version: number;
1274
+ effectiveAt: string;
1275
+ capturedCompositionEpoch?: number | null;
1276
+ criticalFingerprint: string;
1277
+ facts: {
1278
+ __typename?: 'MtwStockBindingFacts';
1279
+ schemaVersion: number;
1280
+ provenance: MtwStockBindingProvenance;
1281
+ scope: MtwStockBindingScope;
1282
+ declaredLotPolicy: MtwStockBindingLotPolicy;
1283
+ source: {
1284
+ __typename?: 'MtwStockBindingSource';
1285
+ reference?: string | null;
1286
+ revision?: string | null;
1287
+ };
1288
+ countUnit?: {
1289
+ __typename?: 'MtwStockBindingCountUnit';
1290
+ kind: MtwStockBindingCountUnitKind;
1291
+ reference?: string | null;
1292
+ revision?: string | null;
1293
+ } | null;
1294
+ scanMapping?: {
1295
+ __typename?: 'MtwStockBindingScanMapping';
1296
+ reportedItemLabel?: string | null;
1297
+ reportedBinLabel?: string | null;
1298
+ mappingReference?: string | null;
1299
+ mappingRevision?: string | null;
1300
+ } | null;
1301
+ lot?: {
1302
+ __typename?: 'MtwStockBindingLot';
1303
+ reference?: string | null;
1304
+ revision?: string | null;
1305
+ declaredDisposition: MtwStockBindingLotDisposition;
1306
+ expiry: {
1307
+ __typename?: 'MtwStockBindingLotExpiry';
1308
+ policy: MtwStockBindingExpiryPolicy;
1309
+ expiresAt?: string | null;
1310
+ sourceReference?: string | null;
1311
+ sourceRevision?: string | null;
1312
+ };
1313
+ } | null;
1314
+ sourceValidity: {
1315
+ __typename?: 'MtwStockBindingSourceValidity';
1316
+ policy: MtwStockBindingExpiryPolicy;
1317
+ from?: string | null;
1318
+ until?: string | null;
1319
+ sourceReference?: string | null;
1320
+ sourceRevision?: string | null;
1321
+ };
1322
+ };
1323
+ } | null;
1324
+ applicableProfile?: {
1325
+ __typename?: 'MtwPickIntentProfile';
1326
+ id: string;
1327
+ version: number;
1328
+ effectiveAt: string;
1329
+ capturedCompositionEpoch?: number | null;
1330
+ criticalFingerprint: string;
1331
+ facts: {
1332
+ __typename?: 'MtwStockBindingFacts';
1333
+ schemaVersion: number;
1334
+ provenance: MtwStockBindingProvenance;
1335
+ scope: MtwStockBindingScope;
1336
+ declaredLotPolicy: MtwStockBindingLotPolicy;
1337
+ source: {
1338
+ __typename?: 'MtwStockBindingSource';
1339
+ reference?: string | null;
1340
+ revision?: string | null;
1341
+ };
1342
+ countUnit?: {
1343
+ __typename?: 'MtwStockBindingCountUnit';
1344
+ kind: MtwStockBindingCountUnitKind;
1345
+ reference?: string | null;
1346
+ revision?: string | null;
1347
+ } | null;
1348
+ scanMapping?: {
1349
+ __typename?: 'MtwStockBindingScanMapping';
1350
+ reportedItemLabel?: string | null;
1351
+ reportedBinLabel?: string | null;
1352
+ mappingReference?: string | null;
1353
+ mappingRevision?: string | null;
1354
+ } | null;
1355
+ lot?: {
1356
+ __typename?: 'MtwStockBindingLot';
1357
+ reference?: string | null;
1358
+ revision?: string | null;
1359
+ declaredDisposition: MtwStockBindingLotDisposition;
1360
+ expiry: {
1361
+ __typename?: 'MtwStockBindingLotExpiry';
1362
+ policy: MtwStockBindingExpiryPolicy;
1363
+ expiresAt?: string | null;
1364
+ sourceReference?: string | null;
1365
+ sourceRevision?: string | null;
1366
+ };
1367
+ } | null;
1368
+ sourceValidity: {
1369
+ __typename?: 'MtwStockBindingSourceValidity';
1370
+ policy: MtwStockBindingExpiryPolicy;
1371
+ from?: string | null;
1372
+ until?: string | null;
1373
+ sourceReference?: string | null;
1374
+ sourceRevision?: string | null;
1375
+ };
1376
+ };
1377
+ } | null;
1378
+ };
1379
+ }>;
1380
+ };
1381
+ };
1382
+ export type ExactPendingPickQueryVariables = Exact<{
1383
+ id: Scalars['ID']['input'];
1384
+ }>;
1385
+ export type ExactPendingPickQuery = {
1386
+ __typename?: 'Query';
1387
+ mtwPickTask: {
1388
+ __typename?: 'MtwPickTask';
1389
+ id: string;
1390
+ requestedQuantity: number;
1391
+ note: string;
1392
+ workflow: MtwPickTaskWorkflow;
1393
+ status: MtwPickTaskStatus;
1394
+ reservedQuantity: number;
1395
+ stagedQuantity: number;
1396
+ executorActorId: string;
1397
+ createdBy: string;
1398
+ actorProvenance: string;
1399
+ onBehalfOf?: string | null;
1400
+ intentHash: string;
1401
+ recordedAt: string;
1402
+ source: {
1403
+ __typename?: 'MtwPickIntentLine';
1404
+ inventoryItemId: string;
1405
+ cargoItemId: string;
1406
+ warehouseId: string;
1407
+ locationId: string;
1408
+ inventoryUpdatedAt: string;
1409
+ cargoUpdatedAt: string;
1410
+ warehouseUpdatedAt: string;
1411
+ locationUpdatedAt: string;
1412
+ compositionEpoch: number;
1413
+ criticalFingerprint: string;
1414
+ cargoLabel: string;
1415
+ warehouseLabel: string;
1416
+ binLabel: string;
1417
+ observationSequence: number;
1418
+ unresolvedObservationIds: Array<string>;
1419
+ reviewGaps: Array<string>;
1420
+ stock: {
1421
+ __typename?: 'MtwPickIntentStock';
1422
+ onHand: number;
1423
+ available: number;
1424
+ allocated: number;
1425
+ damaged: number;
1426
+ };
1427
+ recordedProfile?: {
1428
+ __typename?: 'MtwPickIntentProfile';
1429
+ id: string;
1430
+ version: number;
1431
+ effectiveAt: string;
1432
+ capturedCompositionEpoch?: number | null;
1433
+ criticalFingerprint: string;
1434
+ facts: {
1435
+ __typename?: 'MtwStockBindingFacts';
1436
+ schemaVersion: number;
1437
+ provenance: MtwStockBindingProvenance;
1438
+ scope: MtwStockBindingScope;
1439
+ declaredLotPolicy: MtwStockBindingLotPolicy;
1440
+ source: {
1441
+ __typename?: 'MtwStockBindingSource';
1442
+ reference?: string | null;
1443
+ revision?: string | null;
1444
+ };
1445
+ countUnit?: {
1446
+ __typename?: 'MtwStockBindingCountUnit';
1447
+ kind: MtwStockBindingCountUnitKind;
1448
+ reference?: string | null;
1449
+ revision?: string | null;
1450
+ } | null;
1451
+ scanMapping?: {
1452
+ __typename?: 'MtwStockBindingScanMapping';
1453
+ reportedItemLabel?: string | null;
1454
+ reportedBinLabel?: string | null;
1455
+ mappingReference?: string | null;
1456
+ mappingRevision?: string | null;
1457
+ } | null;
1458
+ lot?: {
1459
+ __typename?: 'MtwStockBindingLot';
1460
+ reference?: string | null;
1461
+ revision?: string | null;
1462
+ declaredDisposition: MtwStockBindingLotDisposition;
1463
+ expiry: {
1464
+ __typename?: 'MtwStockBindingLotExpiry';
1465
+ policy: MtwStockBindingExpiryPolicy;
1466
+ expiresAt?: string | null;
1467
+ sourceReference?: string | null;
1468
+ sourceRevision?: string | null;
1469
+ };
1470
+ } | null;
1471
+ sourceValidity: {
1472
+ __typename?: 'MtwStockBindingSourceValidity';
1473
+ policy: MtwStockBindingExpiryPolicy;
1474
+ from?: string | null;
1475
+ until?: string | null;
1476
+ sourceReference?: string | null;
1477
+ sourceRevision?: string | null;
1478
+ };
1479
+ };
1480
+ } | null;
1481
+ applicableProfile?: {
1482
+ __typename?: 'MtwPickIntentProfile';
1483
+ id: string;
1484
+ version: number;
1485
+ effectiveAt: string;
1486
+ capturedCompositionEpoch?: number | null;
1487
+ criticalFingerprint: string;
1488
+ facts: {
1489
+ __typename?: 'MtwStockBindingFacts';
1490
+ schemaVersion: number;
1491
+ provenance: MtwStockBindingProvenance;
1492
+ scope: MtwStockBindingScope;
1493
+ declaredLotPolicy: MtwStockBindingLotPolicy;
1494
+ source: {
1495
+ __typename?: 'MtwStockBindingSource';
1496
+ reference?: string | null;
1497
+ revision?: string | null;
1498
+ };
1499
+ countUnit?: {
1500
+ __typename?: 'MtwStockBindingCountUnit';
1501
+ kind: MtwStockBindingCountUnitKind;
1502
+ reference?: string | null;
1503
+ revision?: string | null;
1504
+ } | null;
1505
+ scanMapping?: {
1506
+ __typename?: 'MtwStockBindingScanMapping';
1507
+ reportedItemLabel?: string | null;
1508
+ reportedBinLabel?: string | null;
1509
+ mappingReference?: string | null;
1510
+ mappingRevision?: string | null;
1511
+ } | null;
1512
+ lot?: {
1513
+ __typename?: 'MtwStockBindingLot';
1514
+ reference?: string | null;
1515
+ revision?: string | null;
1516
+ declaredDisposition: MtwStockBindingLotDisposition;
1517
+ expiry: {
1518
+ __typename?: 'MtwStockBindingLotExpiry';
1519
+ policy: MtwStockBindingExpiryPolicy;
1520
+ expiresAt?: string | null;
1521
+ sourceReference?: string | null;
1522
+ sourceRevision?: string | null;
1523
+ };
1524
+ } | null;
1525
+ sourceValidity: {
1526
+ __typename?: 'MtwStockBindingSourceValidity';
1527
+ policy: MtwStockBindingExpiryPolicy;
1528
+ from?: string | null;
1529
+ until?: string | null;
1530
+ sourceReference?: string | null;
1531
+ sourceRevision?: string | null;
1532
+ };
1533
+ };
1534
+ } | null;
1535
+ };
1536
+ destination: {
1537
+ __typename?: 'MtwPickIntentLine';
1538
+ inventoryItemId: string;
1539
+ cargoItemId: string;
1540
+ warehouseId: string;
1541
+ locationId: string;
1542
+ inventoryUpdatedAt: string;
1543
+ cargoUpdatedAt: string;
1544
+ warehouseUpdatedAt: string;
1545
+ locationUpdatedAt: string;
1546
+ compositionEpoch: number;
1547
+ criticalFingerprint: string;
1548
+ cargoLabel: string;
1549
+ warehouseLabel: string;
1550
+ binLabel: string;
1551
+ observationSequence: number;
1552
+ unresolvedObservationIds: Array<string>;
1553
+ reviewGaps: Array<string>;
1554
+ stock: {
1555
+ __typename?: 'MtwPickIntentStock';
1556
+ onHand: number;
1557
+ available: number;
1558
+ allocated: number;
1559
+ damaged: number;
1560
+ };
1561
+ recordedProfile?: {
1562
+ __typename?: 'MtwPickIntentProfile';
1563
+ id: string;
1564
+ version: number;
1565
+ effectiveAt: string;
1566
+ capturedCompositionEpoch?: number | null;
1567
+ criticalFingerprint: string;
1568
+ facts: {
1569
+ __typename?: 'MtwStockBindingFacts';
1570
+ schemaVersion: number;
1571
+ provenance: MtwStockBindingProvenance;
1572
+ scope: MtwStockBindingScope;
1573
+ declaredLotPolicy: MtwStockBindingLotPolicy;
1574
+ source: {
1575
+ __typename?: 'MtwStockBindingSource';
1576
+ reference?: string | null;
1577
+ revision?: string | null;
1578
+ };
1579
+ countUnit?: {
1580
+ __typename?: 'MtwStockBindingCountUnit';
1581
+ kind: MtwStockBindingCountUnitKind;
1582
+ reference?: string | null;
1583
+ revision?: string | null;
1584
+ } | null;
1585
+ scanMapping?: {
1586
+ __typename?: 'MtwStockBindingScanMapping';
1587
+ reportedItemLabel?: string | null;
1588
+ reportedBinLabel?: string | null;
1589
+ mappingReference?: string | null;
1590
+ mappingRevision?: string | null;
1591
+ } | null;
1592
+ lot?: {
1593
+ __typename?: 'MtwStockBindingLot';
1594
+ reference?: string | null;
1595
+ revision?: string | null;
1596
+ declaredDisposition: MtwStockBindingLotDisposition;
1597
+ expiry: {
1598
+ __typename?: 'MtwStockBindingLotExpiry';
1599
+ policy: MtwStockBindingExpiryPolicy;
1600
+ expiresAt?: string | null;
1601
+ sourceReference?: string | null;
1602
+ sourceRevision?: string | null;
1603
+ };
1604
+ } | null;
1605
+ sourceValidity: {
1606
+ __typename?: 'MtwStockBindingSourceValidity';
1607
+ policy: MtwStockBindingExpiryPolicy;
1608
+ from?: string | null;
1609
+ until?: string | null;
1610
+ sourceReference?: string | null;
1611
+ sourceRevision?: string | null;
1612
+ };
1613
+ };
1614
+ } | null;
1615
+ applicableProfile?: {
1616
+ __typename?: 'MtwPickIntentProfile';
1617
+ id: string;
1618
+ version: number;
1619
+ effectiveAt: string;
1620
+ capturedCompositionEpoch?: number | null;
1621
+ criticalFingerprint: string;
1622
+ facts: {
1623
+ __typename?: 'MtwStockBindingFacts';
1624
+ schemaVersion: number;
1625
+ provenance: MtwStockBindingProvenance;
1626
+ scope: MtwStockBindingScope;
1627
+ declaredLotPolicy: MtwStockBindingLotPolicy;
1628
+ source: {
1629
+ __typename?: 'MtwStockBindingSource';
1630
+ reference?: string | null;
1631
+ revision?: string | null;
1632
+ };
1633
+ countUnit?: {
1634
+ __typename?: 'MtwStockBindingCountUnit';
1635
+ kind: MtwStockBindingCountUnitKind;
1636
+ reference?: string | null;
1637
+ revision?: string | null;
1638
+ } | null;
1639
+ scanMapping?: {
1640
+ __typename?: 'MtwStockBindingScanMapping';
1641
+ reportedItemLabel?: string | null;
1642
+ reportedBinLabel?: string | null;
1643
+ mappingReference?: string | null;
1644
+ mappingRevision?: string | null;
1645
+ } | null;
1646
+ lot?: {
1647
+ __typename?: 'MtwStockBindingLot';
1648
+ reference?: string | null;
1649
+ revision?: string | null;
1650
+ declaredDisposition: MtwStockBindingLotDisposition;
1651
+ expiry: {
1652
+ __typename?: 'MtwStockBindingLotExpiry';
1653
+ policy: MtwStockBindingExpiryPolicy;
1654
+ expiresAt?: string | null;
1655
+ sourceReference?: string | null;
1656
+ sourceRevision?: string | null;
1657
+ };
1658
+ } | null;
1659
+ sourceValidity: {
1660
+ __typename?: 'MtwStockBindingSourceValidity';
1661
+ policy: MtwStockBindingExpiryPolicy;
1662
+ from?: string | null;
1663
+ until?: string | null;
1664
+ sourceReference?: string | null;
1665
+ sourceRevision?: string | null;
1666
+ };
1667
+ };
1668
+ } | null;
1669
+ };
1670
+ };
1671
+ };
1672
+ export type RecordPendingPickMutationVariables = Exact<{
1673
+ input: CreateMtwPickTaskIntentInput;
1674
+ }>;
1675
+ export type RecordPendingPickMutation = {
1676
+ __typename?: 'Mutation';
1677
+ createMtwPickTaskIntent: {
1678
+ __typename?: 'MtwPickTask';
1679
+ id: string;
1680
+ requestedQuantity: number;
1681
+ note: string;
1682
+ workflow: MtwPickTaskWorkflow;
1683
+ status: MtwPickTaskStatus;
1684
+ reservedQuantity: number;
1685
+ stagedQuantity: number;
1686
+ executorActorId: string;
1687
+ createdBy: string;
1688
+ actorProvenance: string;
1689
+ onBehalfOf?: string | null;
1690
+ intentHash: string;
1691
+ recordedAt: string;
1692
+ source: {
1693
+ __typename?: 'MtwPickIntentLine';
1694
+ inventoryItemId: string;
1695
+ cargoItemId: string;
1696
+ warehouseId: string;
1697
+ locationId: string;
1698
+ inventoryUpdatedAt: string;
1699
+ cargoUpdatedAt: string;
1700
+ warehouseUpdatedAt: string;
1701
+ locationUpdatedAt: string;
1702
+ compositionEpoch: number;
1703
+ criticalFingerprint: string;
1704
+ cargoLabel: string;
1705
+ warehouseLabel: string;
1706
+ binLabel: string;
1707
+ observationSequence: number;
1708
+ unresolvedObservationIds: Array<string>;
1709
+ reviewGaps: Array<string>;
1710
+ stock: {
1711
+ __typename?: 'MtwPickIntentStock';
1712
+ onHand: number;
1713
+ available: number;
1714
+ allocated: number;
1715
+ damaged: number;
1716
+ };
1717
+ recordedProfile?: {
1718
+ __typename?: 'MtwPickIntentProfile';
1719
+ id: string;
1720
+ version: number;
1721
+ effectiveAt: string;
1722
+ capturedCompositionEpoch?: number | null;
1723
+ criticalFingerprint: string;
1724
+ facts: {
1725
+ __typename?: 'MtwStockBindingFacts';
1726
+ schemaVersion: number;
1727
+ provenance: MtwStockBindingProvenance;
1728
+ scope: MtwStockBindingScope;
1729
+ declaredLotPolicy: MtwStockBindingLotPolicy;
1730
+ source: {
1731
+ __typename?: 'MtwStockBindingSource';
1732
+ reference?: string | null;
1733
+ revision?: string | null;
1734
+ };
1735
+ countUnit?: {
1736
+ __typename?: 'MtwStockBindingCountUnit';
1737
+ kind: MtwStockBindingCountUnitKind;
1738
+ reference?: string | null;
1739
+ revision?: string | null;
1740
+ } | null;
1741
+ scanMapping?: {
1742
+ __typename?: 'MtwStockBindingScanMapping';
1743
+ reportedItemLabel?: string | null;
1744
+ reportedBinLabel?: string | null;
1745
+ mappingReference?: string | null;
1746
+ mappingRevision?: string | null;
1747
+ } | null;
1748
+ lot?: {
1749
+ __typename?: 'MtwStockBindingLot';
1750
+ reference?: string | null;
1751
+ revision?: string | null;
1752
+ declaredDisposition: MtwStockBindingLotDisposition;
1753
+ expiry: {
1754
+ __typename?: 'MtwStockBindingLotExpiry';
1755
+ policy: MtwStockBindingExpiryPolicy;
1756
+ expiresAt?: string | null;
1757
+ sourceReference?: string | null;
1758
+ sourceRevision?: string | null;
1759
+ };
1760
+ } | null;
1761
+ sourceValidity: {
1762
+ __typename?: 'MtwStockBindingSourceValidity';
1763
+ policy: MtwStockBindingExpiryPolicy;
1764
+ from?: string | null;
1765
+ until?: string | null;
1766
+ sourceReference?: string | null;
1767
+ sourceRevision?: string | null;
1768
+ };
1769
+ };
1770
+ } | null;
1771
+ applicableProfile?: {
1772
+ __typename?: 'MtwPickIntentProfile';
1773
+ id: string;
1774
+ version: number;
1775
+ effectiveAt: string;
1776
+ capturedCompositionEpoch?: number | null;
1777
+ criticalFingerprint: string;
1778
+ facts: {
1779
+ __typename?: 'MtwStockBindingFacts';
1780
+ schemaVersion: number;
1781
+ provenance: MtwStockBindingProvenance;
1782
+ scope: MtwStockBindingScope;
1783
+ declaredLotPolicy: MtwStockBindingLotPolicy;
1784
+ source: {
1785
+ __typename?: 'MtwStockBindingSource';
1786
+ reference?: string | null;
1787
+ revision?: string | null;
1788
+ };
1789
+ countUnit?: {
1790
+ __typename?: 'MtwStockBindingCountUnit';
1791
+ kind: MtwStockBindingCountUnitKind;
1792
+ reference?: string | null;
1793
+ revision?: string | null;
1794
+ } | null;
1795
+ scanMapping?: {
1796
+ __typename?: 'MtwStockBindingScanMapping';
1797
+ reportedItemLabel?: string | null;
1798
+ reportedBinLabel?: string | null;
1799
+ mappingReference?: string | null;
1800
+ mappingRevision?: string | null;
1801
+ } | null;
1802
+ lot?: {
1803
+ __typename?: 'MtwStockBindingLot';
1804
+ reference?: string | null;
1805
+ revision?: string | null;
1806
+ declaredDisposition: MtwStockBindingLotDisposition;
1807
+ expiry: {
1808
+ __typename?: 'MtwStockBindingLotExpiry';
1809
+ policy: MtwStockBindingExpiryPolicy;
1810
+ expiresAt?: string | null;
1811
+ sourceReference?: string | null;
1812
+ sourceRevision?: string | null;
1813
+ };
1814
+ } | null;
1815
+ sourceValidity: {
1816
+ __typename?: 'MtwStockBindingSourceValidity';
1817
+ policy: MtwStockBindingExpiryPolicy;
1818
+ from?: string | null;
1819
+ until?: string | null;
1820
+ sourceReference?: string | null;
1821
+ sourceRevision?: string | null;
1822
+ };
1823
+ };
1824
+ } | null;
1825
+ };
1826
+ destination: {
1827
+ __typename?: 'MtwPickIntentLine';
1828
+ inventoryItemId: string;
1829
+ cargoItemId: string;
1830
+ warehouseId: string;
1831
+ locationId: string;
1832
+ inventoryUpdatedAt: string;
1833
+ cargoUpdatedAt: string;
1834
+ warehouseUpdatedAt: string;
1835
+ locationUpdatedAt: string;
1836
+ compositionEpoch: number;
1837
+ criticalFingerprint: string;
1838
+ cargoLabel: string;
1839
+ warehouseLabel: string;
1840
+ binLabel: string;
1841
+ observationSequence: number;
1842
+ unresolvedObservationIds: Array<string>;
1843
+ reviewGaps: Array<string>;
1844
+ stock: {
1845
+ __typename?: 'MtwPickIntentStock';
1846
+ onHand: number;
1847
+ available: number;
1848
+ allocated: number;
1849
+ damaged: number;
1850
+ };
1851
+ recordedProfile?: {
1852
+ __typename?: 'MtwPickIntentProfile';
1853
+ id: string;
1854
+ version: number;
1855
+ effectiveAt: string;
1856
+ capturedCompositionEpoch?: number | null;
1857
+ criticalFingerprint: string;
1858
+ facts: {
1859
+ __typename?: 'MtwStockBindingFacts';
1860
+ schemaVersion: number;
1861
+ provenance: MtwStockBindingProvenance;
1862
+ scope: MtwStockBindingScope;
1863
+ declaredLotPolicy: MtwStockBindingLotPolicy;
1864
+ source: {
1865
+ __typename?: 'MtwStockBindingSource';
1866
+ reference?: string | null;
1867
+ revision?: string | null;
1868
+ };
1869
+ countUnit?: {
1870
+ __typename?: 'MtwStockBindingCountUnit';
1871
+ kind: MtwStockBindingCountUnitKind;
1872
+ reference?: string | null;
1873
+ revision?: string | null;
1874
+ } | null;
1875
+ scanMapping?: {
1876
+ __typename?: 'MtwStockBindingScanMapping';
1877
+ reportedItemLabel?: string | null;
1878
+ reportedBinLabel?: string | null;
1879
+ mappingReference?: string | null;
1880
+ mappingRevision?: string | null;
1881
+ } | null;
1882
+ lot?: {
1883
+ __typename?: 'MtwStockBindingLot';
1884
+ reference?: string | null;
1885
+ revision?: string | null;
1886
+ declaredDisposition: MtwStockBindingLotDisposition;
1887
+ expiry: {
1888
+ __typename?: 'MtwStockBindingLotExpiry';
1889
+ policy: MtwStockBindingExpiryPolicy;
1890
+ expiresAt?: string | null;
1891
+ sourceReference?: string | null;
1892
+ sourceRevision?: string | null;
1893
+ };
1894
+ } | null;
1895
+ sourceValidity: {
1896
+ __typename?: 'MtwStockBindingSourceValidity';
1897
+ policy: MtwStockBindingExpiryPolicy;
1898
+ from?: string | null;
1899
+ until?: string | null;
1900
+ sourceReference?: string | null;
1901
+ sourceRevision?: string | null;
1902
+ };
1903
+ };
1904
+ } | null;
1905
+ applicableProfile?: {
1906
+ __typename?: 'MtwPickIntentProfile';
1907
+ id: string;
1908
+ version: number;
1909
+ effectiveAt: string;
1910
+ capturedCompositionEpoch?: number | null;
1911
+ criticalFingerprint: string;
1912
+ facts: {
1913
+ __typename?: 'MtwStockBindingFacts';
1914
+ schemaVersion: number;
1915
+ provenance: MtwStockBindingProvenance;
1916
+ scope: MtwStockBindingScope;
1917
+ declaredLotPolicy: MtwStockBindingLotPolicy;
1918
+ source: {
1919
+ __typename?: 'MtwStockBindingSource';
1920
+ reference?: string | null;
1921
+ revision?: string | null;
1922
+ };
1923
+ countUnit?: {
1924
+ __typename?: 'MtwStockBindingCountUnit';
1925
+ kind: MtwStockBindingCountUnitKind;
1926
+ reference?: string | null;
1927
+ revision?: string | null;
1928
+ } | null;
1929
+ scanMapping?: {
1930
+ __typename?: 'MtwStockBindingScanMapping';
1931
+ reportedItemLabel?: string | null;
1932
+ reportedBinLabel?: string | null;
1933
+ mappingReference?: string | null;
1934
+ mappingRevision?: string | null;
1935
+ } | null;
1936
+ lot?: {
1937
+ __typename?: 'MtwStockBindingLot';
1938
+ reference?: string | null;
1939
+ revision?: string | null;
1940
+ declaredDisposition: MtwStockBindingLotDisposition;
1941
+ expiry: {
1942
+ __typename?: 'MtwStockBindingLotExpiry';
1943
+ policy: MtwStockBindingExpiryPolicy;
1944
+ expiresAt?: string | null;
1945
+ sourceReference?: string | null;
1946
+ sourceRevision?: string | null;
1947
+ };
1948
+ } | null;
1949
+ sourceValidity: {
1950
+ __typename?: 'MtwStockBindingSourceValidity';
1951
+ policy: MtwStockBindingExpiryPolicy;
1952
+ from?: string | null;
1953
+ until?: string | null;
1954
+ sourceReference?: string | null;
1955
+ sourceRevision?: string | null;
1956
+ };
1957
+ };
1958
+ } | null;
1959
+ };
1960
+ };
1961
+ };
1962
+ export declare const PickProfileFragmentDoc: import('graphql').DocumentNode;
1963
+ export declare const PickLineFragmentDoc: import('graphql').DocumentNode;
1964
+ export declare const PendingPickTaskFragmentDoc: import('graphql').DocumentNode;
1965
+ export declare const PickInventoryDocument: import('graphql').DocumentNode;
1966
+ export declare const PickPreparationDocument: import('graphql').DocumentNode;
1967
+ export declare const PendingPickHistoryDocument: import('graphql').DocumentNode;
1968
+ export declare const ExactPendingPickDocument: import('graphql').DocumentNode;
1969
+ export declare const RecordPendingPickDocument: import('graphql').DocumentNode;