@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,938 @@
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 MtwContainer = {
50
+ __typename?: 'MtwContainer';
51
+ containerNumber: Scalars['String']['output'];
52
+ createdAt: Scalars['DateTime']['output'];
53
+ equipmentType: MtwEquipmentType;
54
+ id: Scalars['ID']['output'];
55
+ ownerName?: Maybe<Scalars['String']['output']>;
56
+ source: Scalars['String']['output'];
57
+ suppliedContainerNumber: Scalars['String']['output'];
58
+ };
59
+ export type MtwContainerCycle = {
60
+ __typename?: 'MtwContainerCycle';
61
+ bookingReference?: Maybe<Scalars['String']['output']>;
62
+ closedAt?: Maybe<Scalars['DateTime']['output']>;
63
+ containerId: Scalars['ID']['output'];
64
+ createdAt: Scalars['DateTime']['output'];
65
+ id: Scalars['ID']['output'];
66
+ openedAt: Scalars['DateTime']['output'];
67
+ shipmentId?: Maybe<Scalars['ID']['output']>;
68
+ status: MtwContainerCycleStatus;
69
+ updatedAt: Scalars['DateTime']['output'];
70
+ version: Scalars['Int']['output'];
71
+ };
72
+ export type MtwContainerCyclePage = {
73
+ __typename?: 'MtwContainerCyclePage';
74
+ hasMore: Scalars['Boolean']['output'];
75
+ items: Array<MtwContainerCycle>;
76
+ limit: Scalars['Int']['output'];
77
+ nextOffset?: Maybe<Scalars['Int']['output']>;
78
+ offset: Scalars['Int']['output'];
79
+ total: Scalars['Int']['output'];
80
+ };
81
+ export type MtwContainerCycleStatus = 'CLOSED' | 'OPEN';
82
+ /** Append-only sourced observation. Planned/estimated observations never establish custody. */
83
+ export type MtwContainerEvent = {
84
+ __typename?: 'MtwContainerEvent';
85
+ actorId: Scalars['ID']['output'];
86
+ cycleId: Scalars['ID']['output'];
87
+ eventType: MtwContainerEventType;
88
+ evidenceNote?: Maybe<Scalars['String']['output']>;
89
+ id: Scalars['ID']['output'];
90
+ idempotencyKey: Scalars['String']['output'];
91
+ kind: MtwContainerEventKind;
92
+ location?: Maybe<Scalars['String']['output']>;
93
+ occurredAt: Scalars['DateTime']['output'];
94
+ receivedAt: Scalars['DateTime']['output'];
95
+ source: Scalars['String']['output'];
96
+ sourceReference?: Maybe<Scalars['String']['output']>;
97
+ };
98
+ export type MtwContainerEventKind = 'ACTUAL' | 'ESTIMATED' | 'PLANNED';
99
+ export type MtwContainerEventPage = {
100
+ __typename?: 'MtwContainerEventPage';
101
+ hasMore: Scalars['Boolean']['output'];
102
+ items: Array<MtwContainerEvent>;
103
+ limit: Scalars['Int']['output'];
104
+ nextOffset?: Maybe<Scalars['Int']['output']>;
105
+ offset: Scalars['Int']['output'];
106
+ total: Scalars['Int']['output'];
107
+ };
108
+ export type MtwContainerEventType = 'AVAILABLE_FOR_PICKUP' | 'DELIVERED' | 'DISCHARGED' | 'EMPTY_READY' | 'EMPTY_RETURNED' | 'GATE_IN' | 'GATE_OUT' | 'LOADED' | 'POSITION_UPDATE' | 'RETURN_ACCEPTED' | 'RETURN_REQUESTED';
109
+ /** Bounded audit snapshot of at most 10 exact evidence versions. */
110
+ export type MtwContainerEvidence = {
111
+ __typename?: 'MtwContainerEvidence';
112
+ checkedAt: Scalars['DateTime']['output'];
113
+ fileId: Scalars['ID']['output'];
114
+ sha256Hash: Scalars['String']['output'];
115
+ versionId: Scalars['ID']['output'];
116
+ };
117
+ /** Exact shared Files version. The fingerprint establishes integrity, not issuer authenticity. */
118
+ export type MtwContainerEvidenceInput = {
119
+ fileId: Scalars['ID']['input'];
120
+ versionId: Scalars['ID']['input'];
121
+ };
122
+ export type MtwContainerPage = {
123
+ __typename?: 'MtwContainerPage';
124
+ hasMore: Scalars['Boolean']['output'];
125
+ items: Array<MtwContainer>;
126
+ limit: Scalars['Int']['output'];
127
+ nextOffset?: Maybe<Scalars['Int']['output']>;
128
+ offset: Scalars['Int']['output'];
129
+ total: Scalars['Int']['output'];
130
+ };
131
+ export type MtwContainerPagination = {
132
+ limit?: InputMaybe<Scalars['Int']['input']>;
133
+ offset?: InputMaybe<Scalars['Int']['input']>;
134
+ };
135
+ /** Physical equipment; LCL is a freight service, not an equipment type. */
136
+ export type MtwEquipmentType = 'DRY_20' | 'DRY_40' | 'FLAT_RACK' | 'HIGH_CUBE_40' | 'OPEN_TOP' | 'OTHER' | 'REEFER_20' | 'REEFER_40' | 'TANK';
137
+ export type MtwFreeTimeAgreement = {
138
+ __typename?: 'MtwFreeTimeAgreement';
139
+ applicability: MtwFreeTimeApplicability;
140
+ changeReason: Scalars['String']['output'];
141
+ clockId: Scalars['ID']['output'];
142
+ confirmedFreeUntil?: Maybe<Scalars['DateTime']['output']>;
143
+ createdBy: Scalars['ID']['output'];
144
+ effectiveAt: Scalars['DateTime']['output'];
145
+ evidence: Array<MtwContainerEvidence>;
146
+ id: Scalars['ID']['output'];
147
+ payee: Scalars['String']['output'];
148
+ payer: Scalars['String']['output'];
149
+ recordedAt: Scalars['DateTime']['output'];
150
+ sourceReference: Scalars['String']['output'];
151
+ stopEventId?: Maybe<Scalars['ID']['output']>;
152
+ stopEventType: MtwContainerEventType;
153
+ terms?: Maybe<MtwFreeTimeTerms>;
154
+ triggerEventId?: Maybe<Scalars['ID']['output']>;
155
+ triggerEventType: MtwContainerEventType;
156
+ version: Scalars['Int']['output'];
157
+ };
158
+ /** Full immutable replacement: corrections retain prior evidence and event bindings. */
159
+ export type MtwFreeTimeAgreementInput = {
160
+ applicability: MtwFreeTimeApplicability;
161
+ changeReason: Scalars['String']['input'];
162
+ confirmedFreeUntil?: InputMaybe<Scalars['DateTime']['input']>;
163
+ effectiveAt: Scalars['DateTime']['input'];
164
+ evidence: Array<MtwContainerEvidenceInput>;
165
+ payee: Scalars['String']['input'];
166
+ payer: Scalars['String']['input'];
167
+ sourceReference: Scalars['String']['input'];
168
+ stopEventId?: InputMaybe<Scalars['ID']['input']>;
169
+ stopEventType: MtwContainerEventType;
170
+ terms?: InputMaybe<MtwFreeTimeTermsInput>;
171
+ triggerEventId?: InputMaybe<Scalars['ID']['input']>;
172
+ triggerEventType: MtwContainerEventType;
173
+ };
174
+ export type MtwFreeTimeAgreementPage = {
175
+ __typename?: 'MtwFreeTimeAgreementPage';
176
+ hasMore: Scalars['Boolean']['output'];
177
+ items: Array<MtwFreeTimeAgreement>;
178
+ limit: Scalars['Int']['output'];
179
+ nextOffset?: Maybe<Scalars['Int']['output']>;
180
+ offset: Scalars['Int']['output'];
181
+ total: Scalars['Int']['output'];
182
+ };
183
+ /** Segmented prospective tariffs need a separate accrual engine. */
184
+ export type MtwFreeTimeApplicability = 'UNSUPPORTED_SEGMENTED' | 'WHOLE_CLOCK';
185
+ export type MtwFreeTimeCalculationPolicy = 'LOCAL_DATE_END' | 'UNSUPPORTED';
186
+ export type MtwFreeTimeCalendar = {
187
+ __typename?: 'MtwFreeTimeCalendar';
188
+ excludedDates: Array<Scalars['String']['output']>;
189
+ weekdays: Array<Scalars['Int']['output']>;
190
+ };
191
+ export type MtwFreeTimeCalendarInput = {
192
+ excludedDates: Array<Scalars['String']['input']>;
193
+ weekdays: Array<Scalars['Int']['input']>;
194
+ };
195
+ export type MtwFreeTimeChargeKind = 'DEMURRAGE' | 'DETENTION' | 'TERMINAL_STORAGE';
196
+ export type MtwFreeTimeClock = {
197
+ __typename?: 'MtwFreeTimeClock';
198
+ chargeKind: MtwFreeTimeChargeKind;
199
+ createdAt: Scalars['DateTime']['output'];
200
+ currentAgreementVersion: Scalars['Int']['output'];
201
+ cycleId: Scalars['ID']['output'];
202
+ id: Scalars['ID']['output'];
203
+ obligationReference: Scalars['String']['output'];
204
+ updatedAt: Scalars['DateTime']['output'];
205
+ version: Scalars['Int']['output'];
206
+ };
207
+ export type MtwFreeTimeClockPage = {
208
+ __typename?: 'MtwFreeTimeClockPage';
209
+ hasMore: Scalars['Boolean']['output'];
210
+ items: Array<MtwFreeTimeClock>;
211
+ limit: Scalars['Int']['output'];
212
+ nextOffset?: Maybe<Scalars['Int']['output']>;
213
+ offset: Scalars['Int']['output'];
214
+ total: Scalars['Int']['output'];
215
+ };
216
+ export type MtwFreeTimeDecisionKind = 'ACCEPTED' | 'EXPIRED' | 'REJECTED';
217
+ /** Recalculated using recorded versions effective at asOf; not a reconstruction of what was known then. */
218
+ export type MtwFreeTimeExposure = {
219
+ __typename?: 'MtwFreeTimeExposure';
220
+ agreementId?: Maybe<Scalars['ID']['output']>;
221
+ amountMinorUnits?: Maybe<Scalars['Float']['output']>;
222
+ asOf: Scalars['DateTime']['output'];
223
+ chargedDays?: Maybe<Scalars['Int']['output']>;
224
+ clockId: Scalars['ID']['output'];
225
+ currency?: Maybe<Scalars['String']['output']>;
226
+ deadlineSource?: Maybe<Scalars['String']['output']>;
227
+ evaluatedUntil?: Maybe<Scalars['DateTime']['output']>;
228
+ freeUntil?: Maybe<Scalars['DateTime']['output']>;
229
+ localLastFreeDate?: Maybe<Scalars['String']['output']>;
230
+ minorUnitDigits?: Maybe<Scalars['Int']['output']>;
231
+ reason?: Maybe<Scalars['String']['output']>;
232
+ status: Scalars['String']['output'];
233
+ };
234
+ /** No decision means requested; expiry alone never changes an accepted agreement. */
235
+ export type MtwFreeTimeExtension = {
236
+ __typename?: 'MtwFreeTimeExtension';
237
+ baseAgreementId: Scalars['ID']['output'];
238
+ clockId: Scalars['ID']['output'];
239
+ createdBy: Scalars['ID']['output'];
240
+ decision?: Maybe<MtwFreeTimeExtensionDecision>;
241
+ evidence: Array<MtwContainerEvidence>;
242
+ expiresAt: Scalars['DateTime']['output'];
243
+ id: Scalars['ID']['output'];
244
+ reason: Scalars['String']['output'];
245
+ recordedAt: Scalars['DateTime']['output'];
246
+ requestedAt: Scalars['DateTime']['output'];
247
+ requestedFreeUntil: Scalars['DateTime']['output'];
248
+ };
249
+ export type MtwFreeTimeExtensionDecision = {
250
+ __typename?: 'MtwFreeTimeExtensionDecision';
251
+ acceptedFreeUntil?: Maybe<Scalars['DateTime']['output']>;
252
+ counterparty: Scalars['String']['output'];
253
+ createdBy: Scalars['ID']['output'];
254
+ decidedAt: Scalars['DateTime']['output'];
255
+ decision: MtwFreeTimeDecisionKind;
256
+ effectiveAt?: Maybe<Scalars['DateTime']['output']>;
257
+ evidence: Array<MtwContainerEvidence>;
258
+ extensionId: Scalars['ID']['output'];
259
+ id: Scalars['ID']['output'];
260
+ newAgreementId?: Maybe<Scalars['ID']['output']>;
261
+ note: Scalars['String']['output'];
262
+ recordedAt: Scalars['DateTime']['output'];
263
+ sourceReference: Scalars['String']['output'];
264
+ };
265
+ export type MtwFreeTimeExtensionPage = {
266
+ __typename?: 'MtwFreeTimeExtensionPage';
267
+ hasMore: Scalars['Boolean']['output'];
268
+ items: Array<MtwFreeTimeExtension>;
269
+ limit: Scalars['Int']['output'];
270
+ nextOffset?: Maybe<Scalars['Int']['output']>;
271
+ offset: Scalars['Int']['output'];
272
+ total: Scalars['Int']['output'];
273
+ };
274
+ export type MtwFreeTimePartialDayPolicy = 'ANY_STARTED_LOCAL_DATE' | 'UNSUPPORTED';
275
+ export type MtwFreeTimeRateTier = {
276
+ __typename?: 'MtwFreeTimeRateTier';
277
+ dailyMinorUnits: Scalars['Int']['output'];
278
+ fromDay: Scalars['Int']['output'];
279
+ throughDay?: Maybe<Scalars['Int']['output']>;
280
+ };
281
+ export type MtwFreeTimeRateTierInput = {
282
+ dailyMinorUnits: Scalars['Int']['input'];
283
+ fromDay: Scalars['Int']['input'];
284
+ throughDay?: InputMaybe<Scalars['Int']['input']>;
285
+ };
286
+ export type MtwFreeTimeTerms = {
287
+ __typename?: 'MtwFreeTimeTerms';
288
+ calculationPolicy: MtwFreeTimeCalculationPolicy;
289
+ chargeCalendar: MtwFreeTimeCalendar;
290
+ currency: Scalars['String']['output'];
291
+ freeCalendar: MtwFreeTimeCalendar;
292
+ freeDays: Scalars['Int']['output'];
293
+ includeTriggerDate: Scalars['Boolean']['output'];
294
+ minorUnitDigits: Scalars['Int']['output'];
295
+ partialDayPolicy: MtwFreeTimePartialDayPolicy;
296
+ rateTiers: Array<MtwFreeTimeRateTier>;
297
+ tierBasis: MtwFreeTimeTierBasis;
298
+ timeZone: Scalars['String']['output'];
299
+ };
300
+ export type MtwFreeTimeTermsInput = {
301
+ calculationPolicy: MtwFreeTimeCalculationPolicy;
302
+ chargeCalendar: MtwFreeTimeCalendarInput;
303
+ currency: Scalars['String']['input'];
304
+ freeCalendar: MtwFreeTimeCalendarInput;
305
+ freeDays: Scalars['Int']['input'];
306
+ includeTriggerDate: Scalars['Boolean']['input'];
307
+ minorUnitDigits: Scalars['Int']['input'];
308
+ partialDayPolicy: MtwFreeTimePartialDayPolicy;
309
+ rateTiers: Array<MtwFreeTimeRateTierInput>;
310
+ tierBasis: MtwFreeTimeTierBasis;
311
+ timeZone: Scalars['String']['input'];
312
+ };
313
+ export type MtwFreeTimeTierBasis = 'CHARGED_DAYS' | 'UNSUPPORTED';
314
+ export type Mutation = {
315
+ __typename?: 'Mutation';
316
+ openMtwFreeTimeClock: MtwFreeTimeClock;
317
+ recordMtwFreeTimeAgreement: MtwFreeTimeAgreement;
318
+ recordMtwFreeTimeExtensionDecision: MtwFreeTimeExtensionDecision;
319
+ requestMtwFreeTimeExtension: MtwFreeTimeExtension;
320
+ };
321
+ export type MutationOpenMtwFreeTimeClockArgs = {
322
+ input: OpenMtwFreeTimeClockInput;
323
+ };
324
+ export type MutationRecordMtwFreeTimeAgreementArgs = {
325
+ input: RecordMtwFreeTimeAgreementInput;
326
+ };
327
+ export type MutationRecordMtwFreeTimeExtensionDecisionArgs = {
328
+ input: RecordMtwFreeTimeExtensionDecisionInput;
329
+ };
330
+ export type MutationRequestMtwFreeTimeExtensionArgs = {
331
+ input: RequestMtwFreeTimeExtensionInput;
332
+ };
333
+ export type OpenMtwFreeTimeClockInput = {
334
+ agreement: MtwFreeTimeAgreementInput;
335
+ chargeKind: MtwFreeTimeChargeKind;
336
+ cycleId: Scalars['ID']['input'];
337
+ idempotencyKey: Scalars['String']['input'];
338
+ obligationReference: Scalars['String']['input'];
339
+ };
340
+ export type Query = {
341
+ __typename?: 'Query';
342
+ mtwContainerCyclePage: MtwContainerCyclePage;
343
+ mtwContainerEventPage: MtwContainerEventPage;
344
+ mtwContainerPage: MtwContainerPage;
345
+ mtwFreeTimeAgreementPage: MtwFreeTimeAgreementPage;
346
+ mtwFreeTimeClockPage: MtwFreeTimeClockPage;
347
+ mtwFreeTimeExposure: MtwFreeTimeExposure;
348
+ mtwFreeTimeExtensionPage: MtwFreeTimeExtensionPage;
349
+ };
350
+ export type QueryMtwContainerCyclePageArgs = {
351
+ containerId: Scalars['ID']['input'];
352
+ pagination?: InputMaybe<MtwContainerPagination>;
353
+ };
354
+ export type QueryMtwContainerEventPageArgs = {
355
+ cycleId: Scalars['ID']['input'];
356
+ pagination?: InputMaybe<MtwContainerPagination>;
357
+ };
358
+ export type QueryMtwContainerPageArgs = {
359
+ pagination?: InputMaybe<MtwContainerPagination>;
360
+ search?: InputMaybe<Scalars['String']['input']>;
361
+ };
362
+ export type QueryMtwFreeTimeAgreementPageArgs = {
363
+ clockId: Scalars['ID']['input'];
364
+ pagination?: InputMaybe<MtwContainerPagination>;
365
+ };
366
+ export type QueryMtwFreeTimeClockPageArgs = {
367
+ cycleId: Scalars['ID']['input'];
368
+ pagination?: InputMaybe<MtwContainerPagination>;
369
+ };
370
+ export type QueryMtwFreeTimeExposureArgs = {
371
+ asOf: Scalars['DateTime']['input'];
372
+ clockId: Scalars['ID']['input'];
373
+ };
374
+ export type QueryMtwFreeTimeExtensionPageArgs = {
375
+ clockId: Scalars['ID']['input'];
376
+ pagination?: InputMaybe<MtwContainerPagination>;
377
+ };
378
+ export type RecordMtwFreeTimeAgreementInput = {
379
+ agreement: MtwFreeTimeAgreementInput;
380
+ clockId: Scalars['ID']['input'];
381
+ expectedVersion: Scalars['Int']['input'];
382
+ idempotencyKey: Scalars['String']['input'];
383
+ };
384
+ export type RecordMtwFreeTimeExtensionDecisionInput = {
385
+ acceptedFreeUntil?: InputMaybe<Scalars['DateTime']['input']>;
386
+ counterparty: Scalars['String']['input'];
387
+ decidedAt: Scalars['DateTime']['input'];
388
+ decision: MtwFreeTimeDecisionKind;
389
+ effectiveAt?: InputMaybe<Scalars['DateTime']['input']>;
390
+ evidence: Array<MtwContainerEvidenceInput>;
391
+ expectedVersion: Scalars['Int']['input'];
392
+ extensionId: Scalars['ID']['input'];
393
+ idempotencyKey: Scalars['String']['input'];
394
+ note: Scalars['String']['input'];
395
+ sourceReference: Scalars['String']['input'];
396
+ };
397
+ export type RequestMtwFreeTimeExtensionInput = {
398
+ baseAgreementId: Scalars['ID']['input'];
399
+ clockId: Scalars['ID']['input'];
400
+ evidence: Array<MtwContainerEvidenceInput>;
401
+ expectedVersion: Scalars['Int']['input'];
402
+ expiresAt: Scalars['DateTime']['input'];
403
+ idempotencyKey: Scalars['String']['input'];
404
+ reason: Scalars['String']['input'];
405
+ requestedAt: Scalars['DateTime']['input'];
406
+ requestedFreeUntil: Scalars['DateTime']['input'];
407
+ };
408
+ export type FreeClockFieldsFragment = {
409
+ __typename?: 'MtwFreeTimeClock';
410
+ id: string;
411
+ cycleId: string;
412
+ chargeKind: MtwFreeTimeChargeKind;
413
+ obligationReference: string;
414
+ version: number;
415
+ currentAgreementVersion: number;
416
+ createdAt: string;
417
+ updatedAt: string;
418
+ };
419
+ export type FreeAgreementFieldsFragment = {
420
+ __typename?: 'MtwFreeTimeAgreement';
421
+ id: string;
422
+ clockId: string;
423
+ version: number;
424
+ payer: string;
425
+ payee: string;
426
+ sourceReference: string;
427
+ effectiveAt: string;
428
+ applicability: MtwFreeTimeApplicability;
429
+ recordedAt: string;
430
+ triggerEventType: MtwContainerEventType;
431
+ stopEventType: MtwContainerEventType;
432
+ triggerEventId?: string | null;
433
+ stopEventId?: string | null;
434
+ confirmedFreeUntil?: string | null;
435
+ changeReason: string;
436
+ createdBy: string;
437
+ evidence: Array<{
438
+ __typename?: 'MtwContainerEvidence';
439
+ fileId: string;
440
+ versionId: string;
441
+ sha256Hash: string;
442
+ checkedAt: string;
443
+ }>;
444
+ terms?: {
445
+ __typename?: 'MtwFreeTimeTerms';
446
+ timeZone: string;
447
+ freeDays: number;
448
+ includeTriggerDate: boolean;
449
+ currency: string;
450
+ minorUnitDigits: number;
451
+ calculationPolicy: MtwFreeTimeCalculationPolicy;
452
+ partialDayPolicy: MtwFreeTimePartialDayPolicy;
453
+ tierBasis: MtwFreeTimeTierBasis;
454
+ freeCalendar: {
455
+ __typename?: 'MtwFreeTimeCalendar';
456
+ weekdays: Array<number>;
457
+ excludedDates: Array<string>;
458
+ };
459
+ chargeCalendar: {
460
+ __typename?: 'MtwFreeTimeCalendar';
461
+ weekdays: Array<number>;
462
+ excludedDates: Array<string>;
463
+ };
464
+ rateTiers: Array<{
465
+ __typename?: 'MtwFreeTimeRateTier';
466
+ fromDay: number;
467
+ throughDay?: number | null;
468
+ dailyMinorUnits: number;
469
+ }>;
470
+ } | null;
471
+ };
472
+ export type FreeDecisionFieldsFragment = {
473
+ __typename?: 'MtwFreeTimeExtensionDecision';
474
+ id: string;
475
+ extensionId: string;
476
+ decision: MtwFreeTimeDecisionKind;
477
+ decidedAt: string;
478
+ effectiveAt?: string | null;
479
+ acceptedFreeUntil?: string | null;
480
+ newAgreementId?: string | null;
481
+ counterparty: string;
482
+ sourceReference: string;
483
+ note: string;
484
+ recordedAt: string;
485
+ createdBy: string;
486
+ evidence: Array<{
487
+ __typename?: 'MtwContainerEvidence';
488
+ fileId: string;
489
+ versionId: string;
490
+ sha256Hash: string;
491
+ checkedAt: string;
492
+ }>;
493
+ };
494
+ export type FreeExtensionFieldsFragment = {
495
+ __typename?: 'MtwFreeTimeExtension';
496
+ id: string;
497
+ clockId: string;
498
+ baseAgreementId: string;
499
+ requestedFreeUntil: string;
500
+ requestedAt: string;
501
+ expiresAt: string;
502
+ reason: string;
503
+ recordedAt: string;
504
+ createdBy: string;
505
+ evidence: Array<{
506
+ __typename?: 'MtwContainerEvidence';
507
+ fileId: string;
508
+ versionId: string;
509
+ sha256Hash: string;
510
+ checkedAt: string;
511
+ }>;
512
+ decision?: {
513
+ __typename?: 'MtwFreeTimeExtensionDecision';
514
+ id: string;
515
+ extensionId: string;
516
+ decision: MtwFreeTimeDecisionKind;
517
+ decidedAt: string;
518
+ effectiveAt?: string | null;
519
+ acceptedFreeUntil?: string | null;
520
+ newAgreementId?: string | null;
521
+ counterparty: string;
522
+ sourceReference: string;
523
+ note: string;
524
+ recordedAt: string;
525
+ createdBy: string;
526
+ evidence: Array<{
527
+ __typename?: 'MtwContainerEvidence';
528
+ fileId: string;
529
+ versionId: string;
530
+ sha256Hash: string;
531
+ checkedAt: string;
532
+ }>;
533
+ } | null;
534
+ };
535
+ export type FreeContainersQueryVariables = Exact<{
536
+ pagination: MtwContainerPagination;
537
+ }>;
538
+ export type FreeContainersQuery = {
539
+ __typename?: 'Query';
540
+ mtwContainerPage: {
541
+ __typename?: 'MtwContainerPage';
542
+ total: number;
543
+ limit: number;
544
+ offset: number;
545
+ hasMore: boolean;
546
+ nextOffset?: number | null;
547
+ items: Array<{
548
+ __typename?: 'MtwContainer';
549
+ id: string;
550
+ containerNumber: string;
551
+ }>;
552
+ };
553
+ };
554
+ export type FreeCyclesQueryVariables = Exact<{
555
+ containerId: Scalars['ID']['input'];
556
+ pagination: MtwContainerPagination;
557
+ }>;
558
+ export type FreeCyclesQuery = {
559
+ __typename?: 'Query';
560
+ mtwContainerCyclePage: {
561
+ __typename?: 'MtwContainerCyclePage';
562
+ total: number;
563
+ limit: number;
564
+ offset: number;
565
+ hasMore: boolean;
566
+ nextOffset?: number | null;
567
+ items: Array<{
568
+ __typename?: 'MtwContainerCycle';
569
+ id: string;
570
+ openedAt: string;
571
+ status: MtwContainerCycleStatus;
572
+ bookingReference?: string | null;
573
+ }>;
574
+ };
575
+ };
576
+ export type FreeEventsQueryVariables = Exact<{
577
+ cycleId: Scalars['ID']['input'];
578
+ pagination: MtwContainerPagination;
579
+ }>;
580
+ export type FreeEventsQuery = {
581
+ __typename?: 'Query';
582
+ mtwContainerEventPage: {
583
+ __typename?: 'MtwContainerEventPage';
584
+ total: number;
585
+ limit: number;
586
+ offset: number;
587
+ hasMore: boolean;
588
+ nextOffset?: number | null;
589
+ items: Array<{
590
+ __typename?: 'MtwContainerEvent';
591
+ id: string;
592
+ eventType: MtwContainerEventType;
593
+ kind: MtwContainerEventKind;
594
+ occurredAt: string;
595
+ source: string;
596
+ sourceReference?: string | null;
597
+ }>;
598
+ };
599
+ };
600
+ export type FreeClocksQueryVariables = Exact<{
601
+ cycleId: Scalars['ID']['input'];
602
+ pagination: MtwContainerPagination;
603
+ }>;
604
+ export type FreeClocksQuery = {
605
+ __typename?: 'Query';
606
+ mtwFreeTimeClockPage: {
607
+ __typename?: 'MtwFreeTimeClockPage';
608
+ total: number;
609
+ limit: number;
610
+ offset: number;
611
+ hasMore: boolean;
612
+ nextOffset?: number | null;
613
+ items: Array<{
614
+ __typename?: 'MtwFreeTimeClock';
615
+ id: string;
616
+ cycleId: string;
617
+ chargeKind: MtwFreeTimeChargeKind;
618
+ obligationReference: string;
619
+ version: number;
620
+ currentAgreementVersion: number;
621
+ createdAt: string;
622
+ updatedAt: string;
623
+ }>;
624
+ };
625
+ };
626
+ export type FreeAgreementsQueryVariables = Exact<{
627
+ clockId: Scalars['ID']['input'];
628
+ pagination: MtwContainerPagination;
629
+ }>;
630
+ export type FreeAgreementsQuery = {
631
+ __typename?: 'Query';
632
+ mtwFreeTimeAgreementPage: {
633
+ __typename?: 'MtwFreeTimeAgreementPage';
634
+ total: number;
635
+ limit: number;
636
+ offset: number;
637
+ hasMore: boolean;
638
+ nextOffset?: number | null;
639
+ items: Array<{
640
+ __typename?: 'MtwFreeTimeAgreement';
641
+ id: string;
642
+ clockId: string;
643
+ version: number;
644
+ payer: string;
645
+ payee: string;
646
+ sourceReference: string;
647
+ effectiveAt: string;
648
+ applicability: MtwFreeTimeApplicability;
649
+ recordedAt: string;
650
+ triggerEventType: MtwContainerEventType;
651
+ stopEventType: MtwContainerEventType;
652
+ triggerEventId?: string | null;
653
+ stopEventId?: string | null;
654
+ confirmedFreeUntil?: string | null;
655
+ changeReason: string;
656
+ createdBy: string;
657
+ evidence: Array<{
658
+ __typename?: 'MtwContainerEvidence';
659
+ fileId: string;
660
+ versionId: string;
661
+ sha256Hash: string;
662
+ checkedAt: string;
663
+ }>;
664
+ terms?: {
665
+ __typename?: 'MtwFreeTimeTerms';
666
+ timeZone: string;
667
+ freeDays: number;
668
+ includeTriggerDate: boolean;
669
+ currency: string;
670
+ minorUnitDigits: number;
671
+ calculationPolicy: MtwFreeTimeCalculationPolicy;
672
+ partialDayPolicy: MtwFreeTimePartialDayPolicy;
673
+ tierBasis: MtwFreeTimeTierBasis;
674
+ freeCalendar: {
675
+ __typename?: 'MtwFreeTimeCalendar';
676
+ weekdays: Array<number>;
677
+ excludedDates: Array<string>;
678
+ };
679
+ chargeCalendar: {
680
+ __typename?: 'MtwFreeTimeCalendar';
681
+ weekdays: Array<number>;
682
+ excludedDates: Array<string>;
683
+ };
684
+ rateTiers: Array<{
685
+ __typename?: 'MtwFreeTimeRateTier';
686
+ fromDay: number;
687
+ throughDay?: number | null;
688
+ dailyMinorUnits: number;
689
+ }>;
690
+ } | null;
691
+ }>;
692
+ };
693
+ };
694
+ export type FreeExtensionsQueryVariables = Exact<{
695
+ clockId: Scalars['ID']['input'];
696
+ pagination: MtwContainerPagination;
697
+ }>;
698
+ export type FreeExtensionsQuery = {
699
+ __typename?: 'Query';
700
+ mtwFreeTimeExtensionPage: {
701
+ __typename?: 'MtwFreeTimeExtensionPage';
702
+ total: number;
703
+ limit: number;
704
+ offset: number;
705
+ hasMore: boolean;
706
+ nextOffset?: number | null;
707
+ items: Array<{
708
+ __typename?: 'MtwFreeTimeExtension';
709
+ id: string;
710
+ clockId: string;
711
+ baseAgreementId: string;
712
+ requestedFreeUntil: string;
713
+ requestedAt: string;
714
+ expiresAt: string;
715
+ reason: string;
716
+ recordedAt: string;
717
+ createdBy: string;
718
+ evidence: Array<{
719
+ __typename?: 'MtwContainerEvidence';
720
+ fileId: string;
721
+ versionId: string;
722
+ sha256Hash: string;
723
+ checkedAt: string;
724
+ }>;
725
+ decision?: {
726
+ __typename?: 'MtwFreeTimeExtensionDecision';
727
+ id: string;
728
+ extensionId: string;
729
+ decision: MtwFreeTimeDecisionKind;
730
+ decidedAt: string;
731
+ effectiveAt?: string | null;
732
+ acceptedFreeUntil?: string | null;
733
+ newAgreementId?: string | null;
734
+ counterparty: string;
735
+ sourceReference: string;
736
+ note: string;
737
+ recordedAt: string;
738
+ createdBy: string;
739
+ evidence: Array<{
740
+ __typename?: 'MtwContainerEvidence';
741
+ fileId: string;
742
+ versionId: string;
743
+ sha256Hash: string;
744
+ checkedAt: string;
745
+ }>;
746
+ } | null;
747
+ }>;
748
+ };
749
+ };
750
+ export type FreeExposureQueryVariables = Exact<{
751
+ clockId: Scalars['ID']['input'];
752
+ asOf: Scalars['DateTime']['input'];
753
+ }>;
754
+ export type FreeExposureQuery = {
755
+ __typename?: 'Query';
756
+ mtwFreeTimeExposure: {
757
+ __typename?: 'MtwFreeTimeExposure';
758
+ clockId: string;
759
+ agreementId?: string | null;
760
+ asOf: string;
761
+ status: string;
762
+ reason?: string | null;
763
+ freeUntil?: string | null;
764
+ evaluatedUntil?: string | null;
765
+ localLastFreeDate?: string | null;
766
+ chargedDays?: number | null;
767
+ amountMinorUnits?: number | null;
768
+ currency?: string | null;
769
+ minorUnitDigits?: number | null;
770
+ deadlineSource?: string | null;
771
+ };
772
+ };
773
+ export type OpenFreeClockMutationVariables = Exact<{
774
+ input: OpenMtwFreeTimeClockInput;
775
+ }>;
776
+ export type OpenFreeClockMutation = {
777
+ __typename?: 'Mutation';
778
+ openMtwFreeTimeClock: {
779
+ __typename?: 'MtwFreeTimeClock';
780
+ id: string;
781
+ cycleId: string;
782
+ chargeKind: MtwFreeTimeChargeKind;
783
+ obligationReference: string;
784
+ version: number;
785
+ currentAgreementVersion: number;
786
+ createdAt: string;
787
+ updatedAt: string;
788
+ };
789
+ };
790
+ export type RecordFreeAgreementMutationVariables = Exact<{
791
+ input: RecordMtwFreeTimeAgreementInput;
792
+ }>;
793
+ export type RecordFreeAgreementMutation = {
794
+ __typename?: 'Mutation';
795
+ recordMtwFreeTimeAgreement: {
796
+ __typename?: 'MtwFreeTimeAgreement';
797
+ id: string;
798
+ clockId: string;
799
+ version: number;
800
+ payer: string;
801
+ payee: string;
802
+ sourceReference: string;
803
+ effectiveAt: string;
804
+ applicability: MtwFreeTimeApplicability;
805
+ recordedAt: string;
806
+ triggerEventType: MtwContainerEventType;
807
+ stopEventType: MtwContainerEventType;
808
+ triggerEventId?: string | null;
809
+ stopEventId?: string | null;
810
+ confirmedFreeUntil?: string | null;
811
+ changeReason: string;
812
+ createdBy: string;
813
+ evidence: Array<{
814
+ __typename?: 'MtwContainerEvidence';
815
+ fileId: string;
816
+ versionId: string;
817
+ sha256Hash: string;
818
+ checkedAt: string;
819
+ }>;
820
+ terms?: {
821
+ __typename?: 'MtwFreeTimeTerms';
822
+ timeZone: string;
823
+ freeDays: number;
824
+ includeTriggerDate: boolean;
825
+ currency: string;
826
+ minorUnitDigits: number;
827
+ calculationPolicy: MtwFreeTimeCalculationPolicy;
828
+ partialDayPolicy: MtwFreeTimePartialDayPolicy;
829
+ tierBasis: MtwFreeTimeTierBasis;
830
+ freeCalendar: {
831
+ __typename?: 'MtwFreeTimeCalendar';
832
+ weekdays: Array<number>;
833
+ excludedDates: Array<string>;
834
+ };
835
+ chargeCalendar: {
836
+ __typename?: 'MtwFreeTimeCalendar';
837
+ weekdays: Array<number>;
838
+ excludedDates: Array<string>;
839
+ };
840
+ rateTiers: Array<{
841
+ __typename?: 'MtwFreeTimeRateTier';
842
+ fromDay: number;
843
+ throughDay?: number | null;
844
+ dailyMinorUnits: number;
845
+ }>;
846
+ } | null;
847
+ };
848
+ };
849
+ export type RequestFreeExtensionMutationVariables = Exact<{
850
+ input: RequestMtwFreeTimeExtensionInput;
851
+ }>;
852
+ export type RequestFreeExtensionMutation = {
853
+ __typename?: 'Mutation';
854
+ requestMtwFreeTimeExtension: {
855
+ __typename?: 'MtwFreeTimeExtension';
856
+ id: string;
857
+ clockId: string;
858
+ baseAgreementId: string;
859
+ requestedFreeUntil: string;
860
+ requestedAt: string;
861
+ expiresAt: string;
862
+ reason: string;
863
+ recordedAt: string;
864
+ createdBy: string;
865
+ evidence: Array<{
866
+ __typename?: 'MtwContainerEvidence';
867
+ fileId: string;
868
+ versionId: string;
869
+ sha256Hash: string;
870
+ checkedAt: string;
871
+ }>;
872
+ decision?: {
873
+ __typename?: 'MtwFreeTimeExtensionDecision';
874
+ id: string;
875
+ extensionId: string;
876
+ decision: MtwFreeTimeDecisionKind;
877
+ decidedAt: string;
878
+ effectiveAt?: string | null;
879
+ acceptedFreeUntil?: string | null;
880
+ newAgreementId?: string | null;
881
+ counterparty: string;
882
+ sourceReference: string;
883
+ note: string;
884
+ recordedAt: string;
885
+ createdBy: string;
886
+ evidence: Array<{
887
+ __typename?: 'MtwContainerEvidence';
888
+ fileId: string;
889
+ versionId: string;
890
+ sha256Hash: string;
891
+ checkedAt: string;
892
+ }>;
893
+ } | null;
894
+ };
895
+ };
896
+ export type DecideFreeExtensionMutationVariables = Exact<{
897
+ input: RecordMtwFreeTimeExtensionDecisionInput;
898
+ }>;
899
+ export type DecideFreeExtensionMutation = {
900
+ __typename?: 'Mutation';
901
+ recordMtwFreeTimeExtensionDecision: {
902
+ __typename?: 'MtwFreeTimeExtensionDecision';
903
+ id: string;
904
+ extensionId: string;
905
+ decision: MtwFreeTimeDecisionKind;
906
+ decidedAt: string;
907
+ effectiveAt?: string | null;
908
+ acceptedFreeUntil?: string | null;
909
+ newAgreementId?: string | null;
910
+ counterparty: string;
911
+ sourceReference: string;
912
+ note: string;
913
+ recordedAt: string;
914
+ createdBy: string;
915
+ evidence: Array<{
916
+ __typename?: 'MtwContainerEvidence';
917
+ fileId: string;
918
+ versionId: string;
919
+ sha256Hash: string;
920
+ checkedAt: string;
921
+ }>;
922
+ };
923
+ };
924
+ export declare const FreeClockFieldsFragmentDoc: import('graphql').DocumentNode;
925
+ export declare const FreeAgreementFieldsFragmentDoc: import('graphql').DocumentNode;
926
+ export declare const FreeDecisionFieldsFragmentDoc: import('graphql').DocumentNode;
927
+ export declare const FreeExtensionFieldsFragmentDoc: import('graphql').DocumentNode;
928
+ export declare const FreeContainersDocument: import('graphql').DocumentNode;
929
+ export declare const FreeCyclesDocument: import('graphql').DocumentNode;
930
+ export declare const FreeEventsDocument: import('graphql').DocumentNode;
931
+ export declare const FreeClocksDocument: import('graphql').DocumentNode;
932
+ export declare const FreeAgreementsDocument: import('graphql').DocumentNode;
933
+ export declare const FreeExtensionsDocument: import('graphql').DocumentNode;
934
+ export declare const FreeExposureDocument: import('graphql').DocumentNode;
935
+ export declare const OpenFreeClockDocument: import('graphql').DocumentNode;
936
+ export declare const RecordFreeAgreementDocument: import('graphql').DocumentNode;
937
+ export declare const RequestFreeExtensionDocument: import('graphql').DocumentNode;
938
+ export declare const DecideFreeExtensionDocument: import('graphql').DocumentNode;