@burdenoff/microfe-movethewheels 2026.510.105
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.
- package/README.md +82 -0
- package/dist/AIAssistantPage-hD0VYJdH.js +210 -0
- package/dist/AnalyticsPage-DHTHCUtr.js +201 -0
- package/dist/CreateOrderPage-Cprg4Y9V.js +471 -0
- package/dist/CustomerDetailsPage-DNDEw7IW.js +239 -0
- package/dist/CustomersPage-CDjjeCEL.js +119 -0
- package/dist/DashboardPage-8iTPXRAG.js +374 -0
- package/dist/DataTable-CRIKfdIN.js +239 -0
- package/dist/DriverDetailsPage-CRyRCno7.js +297 -0
- package/dist/DriversPage-16O8fVmf.js +127 -0
- package/dist/FinancePage-BYUxK5dR.js +154 -0
- package/dist/FleetPage-CHYETCWT.js +293 -0
- package/dist/ImportExportPage-C3MKKxfc.js +232 -0
- package/dist/InventoryPage--822AxZM.js +223 -0
- package/dist/LiveTrackingPage-Dp3rTJDr.js +332 -0
- package/dist/MarketplacePage-DjEqudfM.js +192 -0
- package/dist/MetricCard-GTbxAk1a.js +135 -0
- package/dist/OrderDetailsPage-BIuYG0ub.js +398 -0
- package/dist/OrdersListPage-CW5V0Uvh.js +257 -0
- package/dist/PageLayout-B7b0vl0R.js +1894 -0
- package/dist/ProductDetailsPage-Q3X7AT-7.js +168 -0
- package/dist/ProductsPage-CUj9JpnW.js +131 -0
- package/dist/ReportsPage-DblO5CdJ.js +227 -0
- package/dist/RouteDetailsPage-CLctgk6A.js +240 -0
- package/dist/RoutesPage-8hrv6RWT.js +116 -0
- package/dist/SettingsPage-BJ5BQeqn.js +247 -0
- package/dist/StatusBadge-BrrwraIA.js +206 -0
- package/dist/TrackingPage-BGqHDh-w.js +322 -0
- package/dist/VehicleDetailsPage-XnDH4iQR.js +194 -0
- package/dist/VehiclesPage-Cs4XxHkA.js +127 -0
- package/dist/WarehouseDetailsPage-GemdMvr_.js +215 -0
- package/dist/WarehousesPage-QTiuDuXy.js +121 -0
- package/dist/arrow-left-6CiLhqVp.js +11 -0
- package/dist/box-BunB_4UH.js +18 -0
- package/dist/chart-column-DWwVEVQ-.js +22 -0
- package/dist/chevron-right-DhZVf20o.js +8 -0
- package/dist/circle-alert-D5f6RZxt.js +26 -0
- package/dist/circle-check-big-D-JMHcTe.js +11 -0
- package/dist/clock-CvwBKbQP.js +13 -0
- package/dist/dev/main.d.ts +1 -0
- package/dist/dollar-sign-CP9qeU5d.js +14 -0
- package/dist/download-CIuG04pJ.js +21 -0
- package/dist/file-text-Dd_thxkn.js +26 -0
- package/dist/filter-DyRMX9CU.js +8 -0
- package/dist/formatters-_vJlC-47.js +50 -0
- package/dist/generated/global-operations.d.ts +1 -0
- package/dist/generated/global-types.d.ts +20715 -0
- package/dist/generated/wspace-operations.d.ts +3704 -0
- package/dist/generated/wspace-types.d.ts +53362 -0
- package/dist/graphqlClient-CdJyR_ed.js +55 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +772 -0
- package/dist/map-BqH1cBJi.js +18 -0
- package/dist/map-pin-CFBOmh-A.js +13 -0
- package/dist/movethewheels/MoveTheWheelsRoot.d.ts +25 -0
- package/dist/movethewheels/MoveTheWheelsRoutes.d.ts +7 -0
- package/dist/movethewheels/components/DataTable.d.ts +32 -0
- package/dist/movethewheels/components/MetricCard.d.ts +43 -0
- package/dist/movethewheels/components/PageLayout.d.ts +68 -0
- package/dist/movethewheels/components/StatusBadge.d.ts +49 -0
- package/dist/movethewheels/components/index.d.ts +10 -0
- package/dist/movethewheels/components/ui.d.ts +22 -0
- package/dist/movethewheels/constants/index.d.ts +24 -0
- package/dist/movethewheels/constants/mockData.d.ts +33 -0
- package/dist/movethewheels/hooks/index.d.ts +12 -0
- package/dist/movethewheels/hooks/useAnalytics.d.ts +118 -0
- package/dist/movethewheels/hooks/useCustomers.d.ts +37 -0
- package/dist/movethewheels/hooks/useFleet.d.ts +71 -0
- package/dist/movethewheels/hooks/useInventory.d.ts +60 -0
- package/dist/movethewheels/hooks/useOrders.d.ts +47 -0
- package/dist/movethewheels/hooks/useRoutes.d.ts +41 -0
- package/dist/movethewheels/hooks/useTracking.d.ts +69 -0
- package/dist/movethewheels/index.d.ts +30 -0
- package/dist/movethewheels/pages/AIAssistantPage.d.ts +4 -0
- package/dist/movethewheels/pages/AnalyticsPage.d.ts +4 -0
- package/dist/movethewheels/pages/CreateOrderPage.d.ts +6 -0
- package/dist/movethewheels/pages/CustomerDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/CustomersPage.d.ts +4 -0
- package/dist/movethewheels/pages/DashboardPage.d.ts +6 -0
- package/dist/movethewheels/pages/DriverDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/DriversPage.d.ts +4 -0
- package/dist/movethewheels/pages/FinancePage.d.ts +4 -0
- package/dist/movethewheels/pages/FleetPage.d.ts +6 -0
- package/dist/movethewheels/pages/ImportExportPage.d.ts +4 -0
- package/dist/movethewheels/pages/InventoryPage.d.ts +4 -0
- package/dist/movethewheels/pages/LiveTrackingPage.d.ts +6 -0
- package/dist/movethewheels/pages/MarketplacePage.d.ts +4 -0
- package/dist/movethewheels/pages/OrderDetailsPage.d.ts +6 -0
- package/dist/movethewheels/pages/OrdersListPage.d.ts +6 -0
- package/dist/movethewheels/pages/ProductDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/ProductsPage.d.ts +4 -0
- package/dist/movethewheels/pages/ReportsPage.d.ts +4 -0
- package/dist/movethewheels/pages/RouteDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/RoutesPage.d.ts +4 -0
- package/dist/movethewheels/pages/SettingsPage.d.ts +4 -0
- package/dist/movethewheels/pages/TrackingPage.d.ts +6 -0
- package/dist/movethewheels/pages/VehicleDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/VehiclesPage.d.ts +4 -0
- package/dist/movethewheels/pages/WarehouseDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/WarehousesPage.d.ts +4 -0
- package/dist/movethewheels/providers/MoveTheWheelsProvider.d.ts +16 -0
- package/dist/movethewheels/store/movethewheelsStore.d.ts +73 -0
- package/dist/movethewheels/types/index.d.ts +655 -0
- package/dist/movethewheels/utils/cn.d.ts +6 -0
- package/dist/movethewheels/utils/formatters.d.ts +60 -0
- package/dist/movethewheels/utils/graphqlClient.d.ts +11 -0
- package/dist/movethewheels/utils/index.d.ts +7 -0
- package/dist/movethewheels/utils/navigation.d.ts +23 -0
- package/dist/navigation-BgnOfsVd.js +6 -0
- package/dist/navigation-C2fY_aS9.js +8 -0
- package/dist/package-DVZbDRcV.js +22 -0
- package/dist/phone-KdwpVmC4.js +18 -0
- package/dist/plus-Bl7uX6Ji.js +11 -0
- package/dist/refresh-cw-BYjl3K-8.js +22 -0
- package/dist/route-Ce_poKFi.js +51 -0
- package/dist/save-C-qDVat-.js +18 -0
- package/dist/search-5pdn5eOO.js +13 -0
- package/dist/settings-C4kIDsYg.js +28 -0
- package/dist/square-pen-BwQ67vLE.js +11 -0
- package/dist/star-BlVsC3Ad.js +8 -0
- package/dist/store-DTmQT5M0.js +26 -0
- package/dist/trending-up-C1faflCI.js +11 -0
- package/dist/triangle-alert-CUoVAA4L.js +18 -0
- package/dist/truck-BmDAzu05.js +30 -0
- package/dist/useAnalytics-ph7eTIK6.js +297 -0
- package/dist/useCustomers-bS3a4ytk.js +186 -0
- package/dist/useFleet-BdETplNE.js +398 -0
- package/dist/useInventory-Dwn18FPz.js +323 -0
- package/dist/useOrders-D_3_hGMp.js +324 -0
- package/dist/useRoutes-v4aBaS-E.js +224 -0
- package/dist/useTracking-De2KIUNu.js +261 -0
- package/dist/user-BplzDrLP.js +13 -0
- package/dist/users-i-igmsP4.js +24 -0
- package/dist/warehouse-DewG0PXh.js +25 -0
- package/dist/wrench-CoSDEIC7.js +31 -0
- package/package.json +107 -0
- package/src/dev/main.tsx +110 -0
- package/src/dev/styles.css +139 -0
- package/src/generated/global-operations.ts +2 -0
- package/src/generated/global-types.ts +24048 -0
- package/src/generated/wspace-operations.ts +3734 -0
- package/src/generated/wspace-types.ts +60715 -0
- package/src/index.ts +4 -0
- package/src/movethewheels/MoveTheWheelsRoot.tsx +258 -0
- package/src/movethewheels/MoveTheWheelsRoutes.tsx +119 -0
- package/src/movethewheels/components/DataTable.tsx +367 -0
- package/src/movethewheels/components/MetricCard.tsx +180 -0
- package/src/movethewheels/components/PageLayout.tsx +234 -0
- package/src/movethewheels/components/StatusBadge.tsx +243 -0
- package/src/movethewheels/components/index.ts +26 -0
- package/src/movethewheels/components/ui.tsx +124 -0
- package/src/movethewheels/constants/index.ts +65 -0
- package/src/movethewheels/constants/mockData.ts +1342 -0
- package/src/movethewheels/hooks/index.ts +55 -0
- package/src/movethewheels/hooks/useAnalytics.ts +476 -0
- package/src/movethewheels/hooks/useCustomers.ts +359 -0
- package/src/movethewheels/hooks/useFleet.ts +778 -0
- package/src/movethewheels/hooks/useInventory.ts +632 -0
- package/src/movethewheels/hooks/useOrders.ts +703 -0
- package/src/movethewheels/hooks/useRoutes.ts +453 -0
- package/src/movethewheels/hooks/useTracking.ts +505 -0
- package/src/movethewheels/index.ts +68 -0
- package/src/movethewheels/pages/AIAssistantPage.tsx +160 -0
- package/src/movethewheels/pages/AnalyticsPage.tsx +190 -0
- package/src/movethewheels/pages/CreateOrderPage.tsx +454 -0
- package/src/movethewheels/pages/CustomerDetailsPage.tsx +207 -0
- package/src/movethewheels/pages/CustomersPage.tsx +115 -0
- package/src/movethewheels/pages/DashboardPage.tsx +414 -0
- package/src/movethewheels/pages/DriverDetailsPage.tsx +261 -0
- package/src/movethewheels/pages/DriversPage.tsx +118 -0
- package/src/movethewheels/pages/FinancePage.tsx +141 -0
- package/src/movethewheels/pages/FleetPage.tsx +289 -0
- package/src/movethewheels/pages/ImportExportPage.tsx +165 -0
- package/src/movethewheels/pages/InventoryPage.tsx +212 -0
- package/src/movethewheels/pages/LiveTrackingPage.tsx +325 -0
- package/src/movethewheels/pages/MarketplacePage.tsx +235 -0
- package/src/movethewheels/pages/OrderDetailsPage.tsx +387 -0
- package/src/movethewheels/pages/OrdersListPage.tsx +241 -0
- package/src/movethewheels/pages/ProductDetailsPage.tsx +155 -0
- package/src/movethewheels/pages/ProductsPage.tsx +124 -0
- package/src/movethewheels/pages/ReportsPage.tsx +164 -0
- package/src/movethewheels/pages/RouteDetailsPage.tsx +245 -0
- package/src/movethewheels/pages/RoutesPage.tsx +104 -0
- package/src/movethewheels/pages/SettingsPage.tsx +242 -0
- package/src/movethewheels/pages/TrackingPage.tsx +419 -0
- package/src/movethewheels/pages/VehicleDetailsPage.tsx +218 -0
- package/src/movethewheels/pages/VehiclesPage.tsx +124 -0
- package/src/movethewheels/pages/WarehouseDetailsPage.tsx +216 -0
- package/src/movethewheels/pages/WarehousesPage.tsx +122 -0
- package/src/movethewheels/providers/MoveTheWheelsProvider.tsx +66 -0
- package/src/movethewheels/store/movethewheelsStore.ts +136 -0
- package/src/movethewheels/types/index.ts +744 -0
- package/src/movethewheels/utils/cn.ts +9 -0
- package/src/movethewheels/utils/formatters.ts +215 -0
- package/src/movethewheels/utils/graphqlClient.ts +63 -0
- package/src/movethewheels/utils/index.ts +8 -0
- package/src/movethewheels/utils/navigation.ts +70 -0
- package/src/operations/global/.gitkeep +0 -0
- package/src/operations/wspace/movethewheels/fragments/core.graphql +191 -0
- package/src/operations/wspace/movethewheels/mutations/entities.graphql +87 -0
- package/src/operations/wspace/movethewheels/mutations/logistics.graphql +86 -0
- package/src/operations/wspace/movethewheels/mutations/marketplace-reports.graphql +81 -0
- package/src/operations/wspace/movethewheels/mutations/orders.graphql +21 -0
- package/src/operations/wspace/movethewheels/queries/dashboard.graphql +61 -0
- package/src/operations/wspace/movethewheels/queries/entities.graphql +83 -0
- package/src/operations/wspace/movethewheels/queries/logistics.graphql +84 -0
- package/src/operations/wspace/movethewheels/queries/marketplace-reports.graphql +40 -0
- package/src/operations/wspace/movethewheels/queries/orders.graphql +43 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
mutation CreateWarehouse($input: CreateWarehouseInput!) {
|
|
2
|
+
createWarehouse(input: $input) {
|
|
3
|
+
...WarehouseCore
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
mutation UpdateWarehouse($id: ID!, $input: UpdateWarehouseInput!) {
|
|
8
|
+
updateWarehouse(id: $id, input: $input) {
|
|
9
|
+
...WarehouseCore
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
mutation DeleteWarehouse($id: ID!) {
|
|
14
|
+
deleteWarehouse(id: $id)
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
mutation CreateInventoryItem($input: CreateInventoryItemInput!) {
|
|
18
|
+
createInventoryItem(input: $input) {
|
|
19
|
+
...InventoryItemCore
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
mutation UpdateInventoryItem($id: ID!, $input: UpdateInventoryItemInput!) {
|
|
24
|
+
updateInventoryItem(id: $id, input: $input) {
|
|
25
|
+
...InventoryItemCore
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
mutation AdjustInventoryStock($input: AdjustInventoryStockInput!) {
|
|
30
|
+
adjustInventoryStock(input: $input) {
|
|
31
|
+
...InventoryItemCore
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
mutation DeleteInventoryItem($id: ID!) {
|
|
36
|
+
deleteInventoryItem(id: $id)
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
mutation CreateRoute($input: CreateRouteInput!) {
|
|
40
|
+
createRoute(input: $input) {
|
|
41
|
+
...RouteCore
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
mutation UpdateRoute($id: ID!, $input: UpdateRouteInput!) {
|
|
46
|
+
updateRoute(id: $id, input: $input) {
|
|
47
|
+
...RouteCore
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
mutation OptimizeRoute($id: ID!) {
|
|
52
|
+
optimizeRoute(id: $id) {
|
|
53
|
+
...RouteCore
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
mutation DeleteRoute($id: ID!) {
|
|
58
|
+
deleteRoute(id: $id)
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
mutation CreateShipment($input: CreateShipmentInput!) {
|
|
62
|
+
createShipment(input: $input) {
|
|
63
|
+
...ShipmentCore
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
mutation UpdateShipment($id: ID!, $input: UpdateShipmentInput!) {
|
|
68
|
+
updateShipment(id: $id, input: $input) {
|
|
69
|
+
...ShipmentCore
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
mutation DeleteShipment($id: ID!) {
|
|
74
|
+
deleteShipment(id: $id)
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
mutation AddTrackingEvent($input: AddTrackingEventInput!) {
|
|
78
|
+
addTrackingEvent(input: $input) {
|
|
79
|
+
id
|
|
80
|
+
shipmentId
|
|
81
|
+
eventType
|
|
82
|
+
location
|
|
83
|
+
details
|
|
84
|
+
timestamp
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
mutation CreateServiceProvider($input: CreateServiceProviderInput!) {
|
|
2
|
+
createServiceProvider(input: $input) {
|
|
3
|
+
...ServiceProviderCore
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
mutation UpdateServiceProvider($id: ID!, $input: UpdateServiceProviderInput!) {
|
|
8
|
+
updateServiceProvider(id: $id, input: $input) {
|
|
9
|
+
...ServiceProviderCore
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
mutation DeleteServiceProvider($id: ID!) {
|
|
14
|
+
deleteServiceProvider(id: $id)
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
mutation CreateServiceOffering($input: CreateServiceOfferingInput!) {
|
|
18
|
+
createServiceOffering(input: $input) {
|
|
19
|
+
...ServiceOfferingCore
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
mutation UpdateServiceOffering($id: ID!, $input: UpdateServiceOfferingInput!) {
|
|
24
|
+
updateServiceOffering(id: $id, input: $input) {
|
|
25
|
+
...ServiceOfferingCore
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
mutation DeleteServiceOffering($id: ID!) {
|
|
30
|
+
deleteServiceOffering(id: $id)
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
mutation CreateMovethewheelsReport($input: CreateMovethewheelsReportInput!) {
|
|
34
|
+
createMovethewheelsReport(input: $input) {
|
|
35
|
+
...MovethewheelsReportCore
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
mutation UpdateMovethewheelsReport($id: ID!, $input: UpdateMovethewheelsReportInput!) {
|
|
40
|
+
updateMovethewheelsReport(id: $id, input: $input) {
|
|
41
|
+
...MovethewheelsReportCore
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
mutation DeleteMovethewheelsReport($id: ID!) {
|
|
46
|
+
deleteMovethewheelsReport(id: $id)
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
mutation GenerateMovethewheelsReport($input: GenerateMovethewheelsReportInput!) {
|
|
50
|
+
generateMovethewheelsReport(input: $input) {
|
|
51
|
+
generatedAt
|
|
52
|
+
result
|
|
53
|
+
report {
|
|
54
|
+
...MovethewheelsReportCore
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
mutation ImportMovethewheelsData($input: MovethewheelsImportDataInput!) {
|
|
60
|
+
importData(input: $input) {
|
|
61
|
+
success
|
|
62
|
+
message
|
|
63
|
+
payload
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
mutation ExportMovethewheelsData($input: MovethewheelsExportDataInput!) {
|
|
68
|
+
exportData(input: $input) {
|
|
69
|
+
success
|
|
70
|
+
message
|
|
71
|
+
payload
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
mutation UpdateMovethewheelsModuleSettings($input: UpdateMovethewheelsModuleSettingsInput!) {
|
|
76
|
+
updateModuleSettings(input: $input) {
|
|
77
|
+
workspaceId
|
|
78
|
+
preferences
|
|
79
|
+
updatedAt
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
mutation CreateMovethewheelsOrder($input: CreateOrderInput!) {
|
|
2
|
+
createMovethewheelsOrder(input: $input) {
|
|
3
|
+
...MovethewheelsOrderCore
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
mutation UpdateMovethewheelsOrder($id: ID!, $input: UpdateOrderInput!) {
|
|
8
|
+
updateMovethewheelsOrder(id: $id, input: $input) {
|
|
9
|
+
...MovethewheelsOrderCore
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
mutation UpdateMovethewheelsOrderStatus($id: ID!, $input: UpdateOrderStatusInput!) {
|
|
14
|
+
updateMovethewheelsOrderStatus(id: $id, input: $input) {
|
|
15
|
+
...MovethewheelsOrderCore
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
mutation DeleteMovethewheelsOrder($id: ID!) {
|
|
20
|
+
deleteMovethewheelsOrder(id: $id)
|
|
21
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
query GetMovethewheelsDashboard {
|
|
2
|
+
dashboardMetrics {
|
|
3
|
+
totalOrders
|
|
4
|
+
activeDeliveries
|
|
5
|
+
availableDrivers
|
|
6
|
+
activeVehicles
|
|
7
|
+
lowStockItems
|
|
8
|
+
totalRevenue
|
|
9
|
+
recentOrders {
|
|
10
|
+
...MovethewheelsOrderCore
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
orderStats {
|
|
14
|
+
total
|
|
15
|
+
pending
|
|
16
|
+
inTransit
|
|
17
|
+
delivered
|
|
18
|
+
cancelled
|
|
19
|
+
failed
|
|
20
|
+
}
|
|
21
|
+
fleetStats {
|
|
22
|
+
totalVehicles
|
|
23
|
+
activeVehicles
|
|
24
|
+
inTransitVehicles
|
|
25
|
+
maintenanceVehicles
|
|
26
|
+
totalDrivers
|
|
27
|
+
availableDrivers
|
|
28
|
+
onDeliveryDrivers
|
|
29
|
+
}
|
|
30
|
+
financeMetrics {
|
|
31
|
+
fuelCost
|
|
32
|
+
openInvoices
|
|
33
|
+
revenue {
|
|
34
|
+
totalRevenue
|
|
35
|
+
averageOrderValue
|
|
36
|
+
deliveredRevenue
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
analytics {
|
|
40
|
+
deliveryTrend {
|
|
41
|
+
label
|
|
42
|
+
value
|
|
43
|
+
}
|
|
44
|
+
orderTrend {
|
|
45
|
+
label
|
|
46
|
+
value
|
|
47
|
+
}
|
|
48
|
+
revenueTrend {
|
|
49
|
+
label
|
|
50
|
+
value
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
query GetAssistantInsights($question: String!) {
|
|
56
|
+
assistantInsights(question: $question) {
|
|
57
|
+
question
|
|
58
|
+
answer
|
|
59
|
+
generatedAt
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
query ListCustomers($filter: CustomerFilterInput, $pagination: PaginationInput) {
|
|
2
|
+
customers(filter: $filter, pagination: $pagination) {
|
|
3
|
+
...CustomerCore
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
query GetCustomer($id: ID!) {
|
|
8
|
+
customer(id: $id) {
|
|
9
|
+
...CustomerCore
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
query ListProducts($filter: ProductFilterInput, $pagination: PaginationInput) {
|
|
14
|
+
products(filter: $filter, pagination: $pagination) {
|
|
15
|
+
...ProductCore
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
query GetProduct($id: ID!) {
|
|
20
|
+
product(id: $id) {
|
|
21
|
+
...ProductCore
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
query ListVehicles($filter: VehicleFilterInput, $pagination: PaginationInput) {
|
|
26
|
+
vehicles(filter: $filter, pagination: $pagination) {
|
|
27
|
+
...VehicleCore
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
query GetVehicle($id: ID!) {
|
|
32
|
+
vehicle(id: $id) {
|
|
33
|
+
...VehicleCore
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
query ListDrivers($filter: DriverFilterInput, $pagination: PaginationInput) {
|
|
38
|
+
drivers(filter: $filter, pagination: $pagination) {
|
|
39
|
+
...DriverCore
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
query GetDriver($id: ID!) {
|
|
44
|
+
driver(id: $id) {
|
|
45
|
+
...DriverCore
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
query ListWarehouses($filter: WarehouseFilterInput, $pagination: PaginationInput) {
|
|
50
|
+
warehouses(filter: $filter, pagination: $pagination) {
|
|
51
|
+
...WarehouseCore
|
|
52
|
+
locations {
|
|
53
|
+
id
|
|
54
|
+
locationCode
|
|
55
|
+
zone
|
|
56
|
+
aisle
|
|
57
|
+
rack
|
|
58
|
+
shelf
|
|
59
|
+
bin
|
|
60
|
+
locationType
|
|
61
|
+
capacity
|
|
62
|
+
status
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
query GetWarehouse($id: ID!) {
|
|
68
|
+
warehouse(id: $id) {
|
|
69
|
+
...WarehouseCore
|
|
70
|
+
locations {
|
|
71
|
+
id
|
|
72
|
+
locationCode
|
|
73
|
+
zone
|
|
74
|
+
aisle
|
|
75
|
+
rack
|
|
76
|
+
shelf
|
|
77
|
+
bin
|
|
78
|
+
locationType
|
|
79
|
+
capacity
|
|
80
|
+
status
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
query ListInventoryItems($filter: InventoryFilterInput, $pagination: PaginationInput) {
|
|
2
|
+
inventoryItems(filter: $filter, pagination: $pagination) {
|
|
3
|
+
...InventoryItemCore
|
|
4
|
+
product {
|
|
5
|
+
id
|
|
6
|
+
name
|
|
7
|
+
sku
|
|
8
|
+
category
|
|
9
|
+
}
|
|
10
|
+
warehouse {
|
|
11
|
+
id
|
|
12
|
+
name
|
|
13
|
+
code
|
|
14
|
+
type
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
query GetInventoryStats {
|
|
20
|
+
inventoryStats {
|
|
21
|
+
totalOnHand
|
|
22
|
+
totalAvailable
|
|
23
|
+
totalAllocated
|
|
24
|
+
totalDamaged
|
|
25
|
+
lowStockCount
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
query ListRoutes($filter: RouteFilterInput, $pagination: PaginationInput) {
|
|
30
|
+
routes(filter: $filter, pagination: $pagination) {
|
|
31
|
+
...RouteCore
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
query GetRoute($id: ID!) {
|
|
36
|
+
route(id: $id) {
|
|
37
|
+
...RouteCore
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
query ListShipments($filter: ShipmentFilterInput, $pagination: PaginationInput) {
|
|
42
|
+
shipments(filter: $filter, pagination: $pagination) {
|
|
43
|
+
...ShipmentCore
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
query GetShipment($id: ID!) {
|
|
48
|
+
shipment(id: $id) {
|
|
49
|
+
...ShipmentCore
|
|
50
|
+
trackingEvents {
|
|
51
|
+
id
|
|
52
|
+
eventType
|
|
53
|
+
location
|
|
54
|
+
details
|
|
55
|
+
timestamp
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
query GetOrderTracking($orderId: ID!) {
|
|
61
|
+
orderTracking(orderId: $orderId) {
|
|
62
|
+
id
|
|
63
|
+
shipmentId
|
|
64
|
+
eventType
|
|
65
|
+
location
|
|
66
|
+
details
|
|
67
|
+
timestamp
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
query GetActiveDeliveries {
|
|
72
|
+
activeDeliveries {
|
|
73
|
+
...ShipmentCore
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
query GetTrackingAlerts {
|
|
78
|
+
trackingAlerts {
|
|
79
|
+
shipmentId
|
|
80
|
+
shipmentNumber
|
|
81
|
+
alertType
|
|
82
|
+
message
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
query ListServiceProviders($filter: ServiceProviderFilterInput, $pagination: PaginationInput) {
|
|
2
|
+
serviceProviders(filter: $filter, pagination: $pagination) {
|
|
3
|
+
...ServiceProviderCore
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
query ListServiceOfferings($filter: ServiceOfferingFilterInput, $pagination: PaginationInput) {
|
|
8
|
+
serviceOfferings(filter: $filter, pagination: $pagination) {
|
|
9
|
+
...ServiceOfferingCore
|
|
10
|
+
provider {
|
|
11
|
+
id
|
|
12
|
+
name
|
|
13
|
+
type
|
|
14
|
+
rating
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
query ListMovethewheelsReports(
|
|
20
|
+
$filter: MovethewheelsReportFilterInput
|
|
21
|
+
$pagination: PaginationInput
|
|
22
|
+
) {
|
|
23
|
+
movethewheelsReports(filter: $filter, pagination: $pagination) {
|
|
24
|
+
...MovethewheelsReportCore
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
query GetMovethewheelsReport($id: ID!) {
|
|
29
|
+
movethewheelsReport(id: $id) {
|
|
30
|
+
...MovethewheelsReportCore
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
query GetMovethewheelsModuleSettings {
|
|
35
|
+
moduleSettings {
|
|
36
|
+
workspaceId
|
|
37
|
+
preferences
|
|
38
|
+
updatedAt
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
query ListMovethewheelsOrders($filter: OrderFilterInput, $pagination: PaginationInput) {
|
|
2
|
+
movethewheelsOrders(filter: $filter, pagination: $pagination) {
|
|
3
|
+
...MovethewheelsOrderCore
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
query GetMovethewheelsOrder($id: ID!) {
|
|
8
|
+
movethewheelsOrder(id: $id) {
|
|
9
|
+
...MovethewheelsOrderCore
|
|
10
|
+
customer {
|
|
11
|
+
id
|
|
12
|
+
name
|
|
13
|
+
email
|
|
14
|
+
phone
|
|
15
|
+
}
|
|
16
|
+
vehicle {
|
|
17
|
+
id
|
|
18
|
+
vehicleNumber
|
|
19
|
+
type
|
|
20
|
+
status
|
|
21
|
+
}
|
|
22
|
+
driver {
|
|
23
|
+
id
|
|
24
|
+
firstName
|
|
25
|
+
lastName
|
|
26
|
+
status
|
|
27
|
+
}
|
|
28
|
+
statusHistory {
|
|
29
|
+
id
|
|
30
|
+
status
|
|
31
|
+
previousStatus
|
|
32
|
+
notes
|
|
33
|
+
location
|
|
34
|
+
createdAt
|
|
35
|
+
}
|
|
36
|
+
shipment {
|
|
37
|
+
id
|
|
38
|
+
shipmentNumber
|
|
39
|
+
status
|
|
40
|
+
trackingNumber
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|