@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,708 @@
1
+ import { gql as e } from "@apollo/client";
2
+ import "@apollo/client/react";
3
+ //#region src/generated/wspace-operations.ts
4
+ var t = e`
5
+ fragment MovethewheelsOrderCore on MtwDeliveryJob {
6
+ id
7
+ deliveryJobNumber
8
+ status
9
+ priority
10
+ customerId
11
+ trackingNumber
12
+ pickupAddress
13
+ deliveryAddress
14
+ cargoItems
15
+ pricing
16
+ scheduledDelivery
17
+ vehicleId
18
+ driverId
19
+ createdAt
20
+ updatedAt
21
+ }
22
+ `, n = e`
23
+ fragment CustomerCore on MtwCustomer {
24
+ id
25
+ name
26
+ email
27
+ phone
28
+ type
29
+ company
30
+ address
31
+ rating
32
+ createdAt
33
+ updatedAt
34
+ }
35
+ `, r = e`
36
+ fragment ProductCore on MtwCargoItem {
37
+ id
38
+ sku
39
+ name
40
+ description
41
+ category
42
+ brand
43
+ dimensions
44
+ weight
45
+ value
46
+ hazardous
47
+ fragile
48
+ temperatureControlled
49
+ createdAt
50
+ updatedAt
51
+ }
52
+ `, i = e`
53
+ fragment VehicleCore on MtwVehicle {
54
+ id
55
+ vehicleNumber
56
+ make
57
+ model
58
+ year
59
+ licensePlate
60
+ type
61
+ ownershipType
62
+ capacity
63
+ status
64
+ currentLocation
65
+ fuelLevel
66
+ mileage
67
+ createdAt
68
+ updatedAt
69
+ }
70
+ `, a = e`
71
+ fragment DriverCore on MtwDriver {
72
+ id
73
+ employeeId
74
+ firstName
75
+ lastName
76
+ phone
77
+ email
78
+ licenseNumber
79
+ licenseClass
80
+ licenseExpiry
81
+ status
82
+ currentLocation
83
+ rating
84
+ userId
85
+ vehicleId
86
+ createdAt
87
+ updatedAt
88
+ }
89
+ `, o = e`
90
+ fragment WarehouseCore on MtwWarehouse {
91
+ id
92
+ name
93
+ code
94
+ type
95
+ address
96
+ contactInfo
97
+ operatingHours
98
+ capabilities
99
+ status
100
+ totalCapacity
101
+ usedCapacity
102
+ createdAt
103
+ updatedAt
104
+ }
105
+ `, s = e`
106
+ fragment InventoryItemCore on MtwInventoryItem {
107
+ id
108
+ cargoItemId
109
+ warehouseId
110
+ locationId
111
+ onHand
112
+ available
113
+ allocated
114
+ damaged
115
+ unitCost
116
+ reorderPoint
117
+ safetyStock
118
+ createdAt
119
+ updatedAt
120
+ }
121
+ `, c = e`
122
+ fragment RouteCore on MtwRoute {
123
+ id
124
+ name
125
+ status
126
+ shipmentId
127
+ vehicleId
128
+ driverId
129
+ waypoints
130
+ estimatedDistance
131
+ estimatedDuration
132
+ actualDistance
133
+ actualDuration
134
+ fuelCost
135
+ createdAt
136
+ updatedAt
137
+ }
138
+ `, l = e`
139
+ fragment ShipmentCore on MtwShipment {
140
+ id
141
+ shipmentNumber
142
+ deliveryJobId
143
+ customerId
144
+ carrierId
145
+ status
146
+ origin
147
+ destination
148
+ cargoDetails
149
+ trackingNumber
150
+ estimatedDelivery
151
+ actualDelivery
152
+ createdAt
153
+ updatedAt
154
+ }
155
+ `, u = e`
156
+ query ContainerEvidenceFiles($pagination: PaginationInput) {
157
+ getFiles(filter: {status: ACTIVE}, pagination: $pagination) {
158
+ files {
159
+ id
160
+ name
161
+ canRead
162
+ }
163
+ hasMore
164
+ }
165
+ }
166
+ `, d = e`
167
+ query ContainerEvidenceVersions($fileId: ID!, $pagination: PaginationInput) {
168
+ getFileVersions(fileId: $fileId, pagination: $pagination) {
169
+ versions {
170
+ id
171
+ fileId
172
+ name
173
+ versionNumber
174
+ versionLabel
175
+ sha256Hash
176
+ createdAt
177
+ }
178
+ hasMore
179
+ }
180
+ }
181
+ `;
182
+ e`
183
+ mutation CreateCustomer($input: CreateCustomerInput!) {
184
+ createCustomer(input: $input) {
185
+ ...CustomerCore
186
+ }
187
+ }
188
+ ${n}`, e`
189
+ mutation UpdateCustomer($id: ID!, $input: UpdateCustomerInput!) {
190
+ updateCustomer(id: $id, input: $input) {
191
+ ...CustomerCore
192
+ }
193
+ }
194
+ ${n}`, e`
195
+ mutation DeleteCustomer($id: ID!) {
196
+ deleteCustomer(id: $id)
197
+ }
198
+ `, e`
199
+ mutation CreateProduct($input: CreateCargoItemInput!) {
200
+ createCargoItem(input: $input) {
201
+ ...ProductCore
202
+ }
203
+ }
204
+ ${r}`, e`
205
+ mutation UpdateProduct($id: ID!, $input: UpdateCargoItemInput!) {
206
+ updateCargoItem(id: $id, input: $input) {
207
+ ...ProductCore
208
+ }
209
+ }
210
+ ${r}`, e`
211
+ mutation DeleteProduct($id: ID!) {
212
+ deleteCargoItem(id: $id)
213
+ }
214
+ `, e`
215
+ mutation CreateVehicle($input: CreateVehicleInput!) {
216
+ createVehicle(input: $input) {
217
+ ...VehicleCore
218
+ }
219
+ }
220
+ ${i}`, e`
221
+ mutation UpdateVehicle($id: ID!, $input: UpdateVehicleInput!) {
222
+ updateVehicle(id: $id, input: $input) {
223
+ ...VehicleCore
224
+ }
225
+ }
226
+ ${i}`, e`
227
+ mutation UpdateVehicleStatus($id: ID!, $status: VehicleStatus!) {
228
+ updateVehicleStatus(id: $id, status: $status) {
229
+ ...VehicleCore
230
+ }
231
+ }
232
+ ${i}`, e`
233
+ mutation UpdateVehicleLocation($id: ID!, $location: JSON!) {
234
+ updateVehicleLocation(id: $id, location: $location) {
235
+ ...VehicleCore
236
+ }
237
+ }
238
+ ${i}`, e`
239
+ mutation DeleteVehicle($id: ID!) {
240
+ deleteVehicle(id: $id)
241
+ }
242
+ `, e`
243
+ mutation CreateDriver($input: CreateDriverInput!) {
244
+ createDriver(input: $input) {
245
+ ...DriverCore
246
+ }
247
+ }
248
+ ${a}`, e`
249
+ mutation UpdateDriver($id: ID!, $input: UpdateDriverInput!) {
250
+ updateDriver(id: $id, input: $input) {
251
+ ...DriverCore
252
+ }
253
+ }
254
+ ${a}`, e`
255
+ mutation UpdateDriverStatus($id: ID!, $status: DriverStatus!) {
256
+ updateDriverStatus(id: $id, status: $status) {
257
+ ...DriverCore
258
+ }
259
+ }
260
+ ${a}`, e`
261
+ mutation AssignDriverVehicle($id: ID!, $vehicleId: ID) {
262
+ assignDriverVehicle(id: $id, vehicleId: $vehicleId) {
263
+ ...DriverCore
264
+ }
265
+ }
266
+ ${a}`, e`
267
+ mutation DeleteDriver($id: ID!) {
268
+ deleteDriver(id: $id)
269
+ }
270
+ `, e`
271
+ mutation CreateWarehouse($input: CreateWarehouseInput!) {
272
+ createWarehouse(input: $input) {
273
+ ...WarehouseCore
274
+ }
275
+ }
276
+ ${o}`, e`
277
+ mutation UpdateWarehouse($id: ID!, $input: UpdateWarehouseInput!) {
278
+ updateWarehouse(id: $id, input: $input) {
279
+ ...WarehouseCore
280
+ }
281
+ }
282
+ ${o}`, e`
283
+ mutation DeleteWarehouse($id: ID!) {
284
+ deleteWarehouse(id: $id)
285
+ }
286
+ `, e`
287
+ mutation CreateInventoryItem($input: CreateInventoryItemInput!) {
288
+ createInventoryItem(input: $input) {
289
+ ...InventoryItemCore
290
+ }
291
+ }
292
+ ${s}`, e`
293
+ mutation UpdateInventoryItem($id: ID!, $input: UpdateInventoryItemInput!) {
294
+ updateInventoryItem(id: $id, input: $input) {
295
+ ...InventoryItemCore
296
+ }
297
+ }
298
+ ${s}`, e`
299
+ mutation AdjustInventoryStock($input: AdjustInventoryStockInput!) {
300
+ adjustInventoryStock(input: $input) {
301
+ ...InventoryItemCore
302
+ }
303
+ }
304
+ ${s}`, e`
305
+ mutation DeleteInventoryItem($id: ID!) {
306
+ deleteInventoryItem(id: $id)
307
+ }
308
+ `, e`
309
+ mutation CreateRoute($input: CreateRouteInput!) {
310
+ createRoute(input: $input) {
311
+ ...RouteCore
312
+ }
313
+ }
314
+ ${c}`, e`
315
+ mutation UpdateRoute($id: ID!, $input: UpdateRouteInput!) {
316
+ updateRoute(id: $id, input: $input) {
317
+ ...RouteCore
318
+ }
319
+ }
320
+ ${c}`, e`
321
+ mutation OptimizeRoute($id: ID!) {
322
+ optimizeRoute(id: $id) {
323
+ ...RouteCore
324
+ }
325
+ }
326
+ ${c}`, e`
327
+ mutation DeleteRoute($id: ID!) {
328
+ deleteRoute(id: $id)
329
+ }
330
+ `, e`
331
+ mutation CreateShipment($input: CreateShipmentInput!) {
332
+ createShipment(input: $input) {
333
+ ...ShipmentCore
334
+ }
335
+ }
336
+ ${l}`, e`
337
+ mutation UpdateShipment($id: ID!, $input: UpdateShipmentInput!) {
338
+ updateShipment(id: $id, input: $input) {
339
+ ...ShipmentCore
340
+ }
341
+ }
342
+ ${l}`, e`
343
+ mutation DeleteShipment($id: ID!) {
344
+ deleteShipment(id: $id)
345
+ }
346
+ `, e`
347
+ mutation AddTrackingEvent($input: AddTrackingEventInput!) {
348
+ addTrackingEvent(input: $input) {
349
+ id
350
+ shipmentId
351
+ eventType
352
+ location
353
+ details
354
+ timestamp
355
+ }
356
+ }
357
+ `, e`
358
+ mutation ExportMovethewheelsData($input: ExportMtwEntitiesInput!) {
359
+ exportMtwEntities(input: $input) {
360
+ id
361
+ workspaceId
362
+ entityTypes
363
+ format
364
+ status
365
+ downloadUrl
366
+ createdAt
367
+ }
368
+ }
369
+ `, e`
370
+ mutation CreateMovethewheelsOrder($input: CreateDeliveryJobInput!) {
371
+ createDeliveryJob(input: $input) {
372
+ ...MovethewheelsOrderCore
373
+ }
374
+ }
375
+ ${t}`, e`
376
+ mutation UpdateMovethewheelsOrder($id: ID!, $input: UpdateDeliveryJobInput!) {
377
+ updateDeliveryJob(id: $id, input: $input) {
378
+ ...MovethewheelsOrderCore
379
+ }
380
+ }
381
+ ${t}`, e`
382
+ mutation UpdateMovethewheelsOrderStatus($id: ID!, $input: UpdateDeliveryJobStatusInput!) {
383
+ updateDeliveryJobStatus(id: $id, input: $input) {
384
+ ...MovethewheelsOrderCore
385
+ }
386
+ }
387
+ ${t}`, e`
388
+ mutation DeleteMovethewheelsOrder($id: ID!) {
389
+ deleteDeliveryJob(id: $id)
390
+ }
391
+ `, e`
392
+ query GetMovethewheelsDashboard {
393
+ dashboardMetrics {
394
+ totalDeliveryJobs
395
+ activeDeliveries
396
+ availableDrivers
397
+ activeVehicles
398
+ lowStockItems
399
+ totalRevenue
400
+ recentDeliveryJobs {
401
+ ...MovethewheelsOrderCore
402
+ }
403
+ }
404
+ deliveryJobStats {
405
+ total
406
+ pending
407
+ confirmed
408
+ assigned
409
+ pickedUp
410
+ inTransit
411
+ outForDelivery
412
+ delivered
413
+ cancelled
414
+ failed
415
+ returned
416
+ }
417
+ fleetStats {
418
+ totalVehicles
419
+ activeVehicles
420
+ inTransitVehicles
421
+ maintenanceVehicles
422
+ totalDrivers
423
+ availableDrivers
424
+ onDeliveryDrivers
425
+ }
426
+ financeMetrics {
427
+ fuelCost
428
+ openInvoices
429
+ revenue {
430
+ totalRevenue
431
+ averageOrderValue
432
+ deliveredRevenue
433
+ }
434
+ }
435
+ analytics {
436
+ deliveryTrend {
437
+ label
438
+ value
439
+ }
440
+ orderTrend {
441
+ label
442
+ value
443
+ }
444
+ revenueTrend {
445
+ label
446
+ value
447
+ }
448
+ }
449
+ }
450
+ ${t}`, e`
451
+ query ListCustomers($filter: CustomerFilterInput, $pagination: PaginationInput) {
452
+ customers(filter: $filter, pagination: $pagination) {
453
+ ...CustomerCore
454
+ }
455
+ }
456
+ ${n}`, e`
457
+ query GetCustomer($id: ID!) {
458
+ customer(id: $id) {
459
+ ...CustomerCore
460
+ }
461
+ }
462
+ ${n}`, e`
463
+ query ListProducts($filter: CargoItemFilterInput, $pagination: PaginationInput) {
464
+ cargoItems(filter: $filter, pagination: $pagination) {
465
+ ...ProductCore
466
+ }
467
+ }
468
+ ${r}`, e`
469
+ query GetProduct($id: ID!) {
470
+ cargoItem(id: $id) {
471
+ ...ProductCore
472
+ }
473
+ }
474
+ ${r}`, e`
475
+ query ListVehicles($filter: VehicleFilterInput, $pagination: PaginationInput) {
476
+ vehicles(filter: $filter, pagination: $pagination) {
477
+ ...VehicleCore
478
+ }
479
+ }
480
+ ${i}`, e`
481
+ query GetVehicle($id: ID!) {
482
+ vehicle(id: $id) {
483
+ ...VehicleCore
484
+ }
485
+ }
486
+ ${i}`, e`
487
+ query ListDrivers($filter: DriverFilterInput, $pagination: PaginationInput) {
488
+ drivers(filter: $filter, pagination: $pagination) {
489
+ ...DriverCore
490
+ }
491
+ }
492
+ ${a}`, e`
493
+ query GetDriver($id: ID!) {
494
+ driver(id: $id) {
495
+ ...DriverCore
496
+ }
497
+ }
498
+ ${a}`, e`
499
+ query ListWarehouses($filter: WarehouseFilterInput, $pagination: PaginationInput) {
500
+ warehouses(filter: $filter, pagination: $pagination) {
501
+ ...WarehouseCore
502
+ locations {
503
+ id
504
+ locationCode
505
+ zone
506
+ aisle
507
+ rack
508
+ shelf
509
+ bin
510
+ locationType
511
+ capacity
512
+ status
513
+ }
514
+ }
515
+ }
516
+ ${o}`, e`
517
+ query GetWarehouse($id: ID!) {
518
+ warehouse(id: $id) {
519
+ ...WarehouseCore
520
+ locations {
521
+ id
522
+ locationCode
523
+ zone
524
+ aisle
525
+ rack
526
+ shelf
527
+ bin
528
+ locationType
529
+ capacity
530
+ status
531
+ }
532
+ }
533
+ }
534
+ ${o}`, e`
535
+ query GetMovethewheelsDemandForecastByLane($weeks: Int!) {
536
+ demandForecastByLane(weeks: $weeks) {
537
+ scopeType
538
+ scopeKey
539
+ periodStart
540
+ periodEnd
541
+ predictedVolume
542
+ predictedRevenue
543
+ actualVolume
544
+ actualRevenue
545
+ confidence
546
+ }
547
+ }
548
+ `, e`
549
+ query GetMovethewheelsDemandForecastByCustomer($weeks: Int!) {
550
+ demandForecastByCustomer(weeks: $weeks) {
551
+ scopeType
552
+ scopeKey
553
+ periodStart
554
+ periodEnd
555
+ predictedVolume
556
+ predictedRevenue
557
+ actualVolume
558
+ actualRevenue
559
+ confidence
560
+ }
561
+ }
562
+ `, e`
563
+ query GetMovethewheelsDemandForecastVariance($scopeType: DemandForecastScope!, $limit: Int!) {
564
+ demandForecastVariance(scopeType: $scopeType, limit: $limit) {
565
+ scopeType
566
+ scopeKey
567
+ periodStart
568
+ periodEnd
569
+ predictedVolume
570
+ actualVolume
571
+ volumeVariance
572
+ predictedRevenue
573
+ actualRevenue
574
+ revenueVariance
575
+ }
576
+ }
577
+ `, e`
578
+ query ListInventoryItems($filter: InventoryFilterInput, $pagination: PaginationInput) {
579
+ inventoryItems(filter: $filter, pagination: $pagination) {
580
+ ...InventoryItemCore
581
+ cargoItem {
582
+ id
583
+ name
584
+ sku
585
+ category
586
+ }
587
+ warehouse {
588
+ id
589
+ name
590
+ code
591
+ type
592
+ }
593
+ }
594
+ }
595
+ ${s}`, e`
596
+ query GetInventoryStats {
597
+ inventoryStats {
598
+ totalOnHand
599
+ totalAvailable
600
+ totalAllocated
601
+ totalDamaged
602
+ lowStockCount
603
+ }
604
+ }
605
+ `, e`
606
+ query ListRoutes($filter: RouteFilterInput, $pagination: PaginationInput) {
607
+ routes(filter: $filter, pagination: $pagination) {
608
+ ...RouteCore
609
+ }
610
+ }
611
+ ${c}`, e`
612
+ query GetRoute($id: ID!) {
613
+ route(id: $id) {
614
+ ...RouteCore
615
+ }
616
+ }
617
+ ${c}`, e`
618
+ query ListShipments($filter: ShipmentFilterInput, $pagination: PaginationInput) {
619
+ shipments(filter: $filter, pagination: $pagination) {
620
+ ...ShipmentCore
621
+ }
622
+ }
623
+ ${l}`, e`
624
+ query GetShipment($id: ID!) {
625
+ shipment(id: $id) {
626
+ ...ShipmentCore
627
+ trackingEvents {
628
+ id
629
+ eventType
630
+ location
631
+ details
632
+ timestamp
633
+ }
634
+ }
635
+ }
636
+ ${l}`, e`
637
+ query GetDeliveryJobTracking($deliveryJobId: ID!, $pagination: PaginationInput) {
638
+ deliveryJobTracking(deliveryJobId: $deliveryJobId, pagination: $pagination) {
639
+ id
640
+ shipmentId
641
+ eventType
642
+ location
643
+ details
644
+ timestamp
645
+ }
646
+ }
647
+ `, e`
648
+ query GetActiveDeliveries {
649
+ activeDeliveries {
650
+ ...ShipmentCore
651
+ }
652
+ }
653
+ ${l}`, e`
654
+ query GetTrackingAlerts {
655
+ trackingAlerts {
656
+ shipmentId
657
+ shipmentNumber
658
+ alertType
659
+ message
660
+ }
661
+ }
662
+ `, e`
663
+ query ListMovethewheelsOrders($filter: DeliveryJobFilterInput, $pagination: PaginationInput) {
664
+ deliveryJobs(filter: $filter, pagination: $pagination) {
665
+ ...MovethewheelsOrderCore
666
+ }
667
+ }
668
+ ${t}`, e`
669
+ query GetMovethewheelsOrder($id: ID!) {
670
+ deliveryJob(id: $id) {
671
+ ...MovethewheelsOrderCore
672
+ customer {
673
+ id
674
+ name
675
+ email
676
+ phone
677
+ }
678
+ vehicle {
679
+ id
680
+ vehicleNumber
681
+ type
682
+ status
683
+ }
684
+ driver {
685
+ id
686
+ firstName
687
+ lastName
688
+ status
689
+ }
690
+ statusHistory {
691
+ id
692
+ status
693
+ previousStatus
694
+ notes
695
+ location
696
+ createdAt
697
+ }
698
+ shipment {
699
+ id
700
+ shipmentNumber
701
+ status
702
+ trackingNumber
703
+ }
704
+ }
705
+ }
706
+ ${t}`;
707
+ //#endregion
708
+ export { u as ContainerEvidenceFilesDocument, d as ContainerEvidenceVersionsDocument };
@@ -0,0 +1,27 @@
1
+ import { RecordConsolidationObservationDocument as e, SaveConsolidationManifestDocument as t, SaveConsolidationPlanDocument as n } from "../src/generated/consolidation-operations.js";
2
+ import { sameReuseRecoveryScope as r } from "./reuseRecovery.js";
3
+ import { print as i } from "graphql";
4
+ //#region src/movethewheels/utils/consolidationHistoryTarget.ts
5
+ function a(e) {
6
+ return typeof e == "string" && e.trim().length > 0 && e.length <= 200;
7
+ }
8
+ function o(o, s) {
9
+ if (!o || !r(o.scope, s)) return null;
10
+ if (o.operation === i(n)) {
11
+ let { shipmentId: e, planReference: t } = o.input;
12
+ return a(e) && a(t) ? {
13
+ kind: "plan",
14
+ shipmentId: e,
15
+ planReference: t
16
+ } : null;
17
+ }
18
+ return a(o.input.planId) ? o.operation === i(e) ? {
19
+ kind: "observation",
20
+ planId: o.input.planId
21
+ } : o.operation === i(t) ? {
22
+ kind: "manifest",
23
+ planId: o.input.planId
24
+ } : null : null;
25
+ }
26
+ //#endregion
27
+ export { o as originalConsolidationHistoryTarget };