@burdenoff/microfe-movethewheels 2026.1108.1 → 2026.1108.3

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 (32) hide show
  1. package/dist/components/DocumentsCard.js +183 -55
  2. package/dist/components/ForecastModelsPanel.js +132 -0
  3. package/dist/components/UpcomingDemandPanel.js +70 -65
  4. package/dist/generated/wspace-operations.d.ts +25 -0
  5. package/dist/generated/wspace-types.d.ts +3301 -144
  6. package/dist/hooks/useDemandForecast.js +1 -1
  7. package/dist/hooks/useDocumentExtractions.js +100 -0
  8. package/dist/hooks/useForecastModelChoices.js +57 -0
  9. package/dist/movethewheels/components/ForecastModelsPanel.d.ts +4 -0
  10. package/dist/movethewheels/hooks/useDemandForecast.d.ts +9 -0
  11. package/dist/movethewheels/hooks/useDocumentExtractions.d.ts +49 -0
  12. package/dist/movethewheels/hooks/useEntityDocuments.d.ts +5 -5
  13. package/dist/movethewheels/hooks/useForecastModelChoices.d.ts +34 -0
  14. package/dist/node_modules/lucide-react/dist/esm/icons/file-search.js +24 -0
  15. package/dist/node_modules/lucide-react/dist/esm/icons/sigma.js +8 -0
  16. package/dist/pages/AnalyticsPage.js +83 -81
  17. package/dist/pages/MultiModalShipmentPage.js +125 -121
  18. package/dist/pages/RouteDetailsPage.js +212 -207
  19. package/package.json +1 -1
  20. package/src/generated/wspace-operations.ts +13 -4
  21. package/src/generated/wspace-types.ts +3623 -144
  22. package/src/movethewheels/components/DocumentsCard.tsx +174 -29
  23. package/src/movethewheels/components/ForecastModelsPanel.tsx +188 -0
  24. package/src/movethewheels/components/UpcomingDemandPanel.tsx +9 -2
  25. package/src/movethewheels/hooks/useDemandForecast.ts +13 -0
  26. package/src/movethewheels/hooks/useDocumentExtractions.ts +246 -0
  27. package/src/movethewheels/hooks/useEntityDocuments.ts +5 -5
  28. package/src/movethewheels/hooks/useForecastModelChoices.ts +138 -0
  29. package/src/movethewheels/pages/AnalyticsPage.tsx +7 -2
  30. package/src/movethewheels/pages/MultiModalShipmentPage.tsx +2 -0
  31. package/src/movethewheels/pages/RouteDetailsPage.tsx +2 -0
  32. package/src/operations/wspace/movethewheels/queries/forecast.graphql +22 -1
@@ -1149,6 +1149,7 @@ export type GetMovethewheelsDemandForecastByLaneQuery = {
1149
1149
  actualVolume: number | null;
1150
1150
  actualRevenue: number | null;
1151
1151
  confidence: number;
1152
+ model: Types.MtwDemandForecastModel;
1152
1153
  }>;
1153
1154
  };
1154
1155
  export type GetMovethewheelsDemandForecastByCustomerQueryVariables = Exact<{
@@ -1166,6 +1167,7 @@ export type GetMovethewheelsDemandForecastByCustomerQuery = {
1166
1167
  actualVolume: number | null;
1167
1168
  actualRevenue: number | null;
1168
1169
  confidence: number;
1170
+ model: Types.MtwDemandForecastModel;
1169
1171
  }>;
1170
1172
  };
1171
1173
  export type GetMovethewheelsDemandForecastVarianceQueryVariables = Exact<{
@@ -1187,6 +1189,28 @@ export type GetMovethewheelsDemandForecastVarianceQuery = {
1187
1189
  revenueVariance: number;
1188
1190
  }>;
1189
1191
  };
1192
+ export type GetMovethewheelsDemandForecastModelChoicesQueryVariables = Exact<{
1193
+ scopeType: Types.DemandForecastScope;
1194
+ limit: number;
1195
+ }>;
1196
+ export type GetMovethewheelsDemandForecastModelChoicesQuery = {
1197
+ demandForecastModelChoices: Array<{
1198
+ scopeType: Types.DemandForecastScope;
1199
+ scopeKey: string;
1200
+ scopeLabel: string;
1201
+ historyWeeks: number;
1202
+ selectedModel: Types.MtwDemandForecastModel;
1203
+ reason: string;
1204
+ evaluatedAt: string;
1205
+ candidates: Array<{
1206
+ model: Types.MtwDemandForecastModel;
1207
+ seasonLengthWeeks: number | null;
1208
+ mape: number | null;
1209
+ holdoutWeeks: number;
1210
+ selected: boolean;
1211
+ }>;
1212
+ }>;
1213
+ };
1190
1214
  export type ListInventoryItemsQueryVariables = Exact<{
1191
1215
  filter?: Types.InventoryFilterInput | null | undefined;
1192
1216
  pagination?: Types.PaginationInput | null | undefined;
@@ -1510,6 +1534,7 @@ export declare const GetWarehouseDocument: DocumentNode<GetWarehouseQuery, GetWa
1510
1534
  export declare const GetMovethewheelsDemandForecastByLaneDocument: DocumentNode<GetMovethewheelsDemandForecastByLaneQuery, GetMovethewheelsDemandForecastByLaneQueryVariables>;
1511
1535
  export declare const GetMovethewheelsDemandForecastByCustomerDocument: DocumentNode<GetMovethewheelsDemandForecastByCustomerQuery, GetMovethewheelsDemandForecastByCustomerQueryVariables>;
1512
1536
  export declare const GetMovethewheelsDemandForecastVarianceDocument: DocumentNode<GetMovethewheelsDemandForecastVarianceQuery, GetMovethewheelsDemandForecastVarianceQueryVariables>;
1537
+ export declare const GetMovethewheelsDemandForecastModelChoicesDocument: DocumentNode<GetMovethewheelsDemandForecastModelChoicesQuery, GetMovethewheelsDemandForecastModelChoicesQueryVariables>;
1513
1538
  export declare const ListInventoryItemsDocument: DocumentNode<ListInventoryItemsQuery, ListInventoryItemsQueryVariables>;
1514
1539
  export declare const GetInventoryStatsDocument: DocumentNode<GetInventoryStatsQuery, GetInventoryStatsQueryVariables>;
1515
1540
  export declare const ListRoutesDocument: DocumentNode<ListRoutesQuery, ListRoutesQueryVariables>;