@burdenoff/microfe-movethewheels 2026.1114.1 → 2026.1123.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.
- package/dist/MoveTheWheelsRoot.js +149 -133
- package/dist/MoveTheWheelsRoutes.js +157 -139
- package/dist/components/EntityConversationsCard.js +145 -0
- package/dist/components/maps/MapCanvas.js +4 -3
- package/dist/events/rybbit.js +87 -0
- package/dist/generated/tracking-quality-operations.d.ts +342 -0
- package/dist/hooks/useEntityComments.js +111 -0
- package/dist/hooks/useFleet.js +394 -311
- package/dist/hooks/useInventory.js +378 -313
- package/dist/hooks/useMultiModalShipments.js +58 -53
- package/dist/hooks/useOrders.js +178 -158
- package/dist/hooks/useRoutes.js +146 -130
- package/dist/index.js +35 -34
- package/dist/movethewheels/components/EntityConversationsCard.d.ts +8 -0
- package/dist/movethewheels/events/rybbit.d.ts +27 -0
- package/dist/movethewheels/hooks/useEntityComments.d.ts +26 -0
- package/dist/movethewheels/hooks/useFleet.d.ts +73 -1
- package/dist/movethewheels/hooks/useInventory.d.ts +19 -0
- package/dist/movethewheels/index.d.ts +1 -0
- package/dist/movethewheels/pages/DocumentsLibraryPage.d.ts +1 -0
- package/dist/movethewheels/pages/NotificationsCenterPage.d.ts +1 -0
- package/dist/movethewheels/types/index.d.ts +95 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/check-check.js +10 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/layers.js +17 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/message-square.js +7 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/send.js +10 -0
- package/dist/pages/DocumentsLibraryPage.js +235 -0
- package/dist/pages/DriverDetailsPage.js +625 -351
- package/dist/pages/NotificationsCenterPage.js +310 -0
- package/dist/pages/OrderDetailsPage.js +48 -42
- package/dist/pages/RouteDetailsPage.js +257 -251
- package/dist/pages/TrackingPage.js +202 -196
- package/dist/pages/VehicleDetailsPage.js +616 -314
- package/dist/pages/WarehouseDetailsPage.js +539 -253
- package/dist/stories/ControlTowerWidgets.stories.d.ts +10 -0
- package/dist/stories/DataTable.stories.d.ts +15 -0
- package/dist/stories/FleetCards.stories.d.ts +9 -0
- package/dist/stories/OrderForms.stories.d.ts +8 -0
- package/dist/stories/RouteMap.stories.d.ts +7 -0
- package/dist/stories/ShipmentTimeline.stories.d.ts +6 -0
- package/package.json +3 -2
- package/src/generated/tracking-quality-operations.ts +407 -0
- package/src/movethewheels/MoveTheWheelsRoot.tsx +16 -0
- package/src/movethewheels/MoveTheWheelsRoutes.tsx +17 -2
- package/src/movethewheels/components/EntityConversationsCard.tsx +143 -0
- package/src/movethewheels/components/maps/MapCanvas.tsx +3 -3
- package/src/movethewheels/events/__tests__/rybbit.test.ts +98 -0
- package/src/movethewheels/events/rybbit.ts +191 -0
- package/src/movethewheels/hooks/useEntityComments.ts +258 -0
- package/src/movethewheels/hooks/useFleet.ts +300 -5
- package/src/movethewheels/hooks/useInventory.ts +231 -3
- package/src/movethewheels/hooks/useMultiModalShipments.ts +8 -1
- package/src/movethewheels/hooks/useOrders.ts +19 -3
- package/src/movethewheels/hooks/useRoutes.ts +14 -2
- package/src/movethewheels/index.ts +1 -0
- package/src/movethewheels/pages/DocumentsLibraryPage.tsx +229 -0
- package/src/movethewheels/pages/DriverDetailsPage.tsx +250 -1
- package/src/movethewheels/pages/NotificationsCenterPage.tsx +331 -0
- package/src/movethewheels/pages/OrderDetailsPage.tsx +8 -0
- package/src/movethewheels/pages/RouteDetailsPage.tsx +6 -0
- package/src/movethewheels/pages/TrackingPage.tsx +8 -0
- package/src/movethewheels/pages/VehicleDetailsPage.tsx +255 -1
- package/src/movethewheels/pages/WarehouseDetailsPage.tsx +266 -2
- package/src/movethewheels/types/index.ts +103 -2
- package/src/stories/ControlTowerWidgets.stories.tsx +150 -0
- package/src/stories/DataTable.stories.tsx +94 -0
- package/src/stories/FleetCards.stories.tsx +77 -0
- package/src/stories/OrderForms.stories.tsx +84 -0
- package/src/stories/RouteMap.stories.tsx +43 -0
- package/src/stories/ShipmentTimeline.stories.tsx +128 -0
|
@@ -173,6 +173,16 @@ export type CreateDeliveryJobInput = {
|
|
|
173
173
|
trackingNumber?: InputMaybe<Scalars['String']['input']>;
|
|
174
174
|
vehicleId?: InputMaybe<Scalars['ID']['input']>;
|
|
175
175
|
};
|
|
176
|
+
export type CreateDriverComplianceRecordInput = {
|
|
177
|
+
context?: InputMaybe<ContextInput>;
|
|
178
|
+
driverId: Scalars['ID']['input'];
|
|
179
|
+
expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
180
|
+
issuedAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
181
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
182
|
+
recordType: Scalars['String']['input'];
|
|
183
|
+
referenceNumber?: InputMaybe<Scalars['String']['input']>;
|
|
184
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
185
|
+
};
|
|
176
186
|
export type CreateDriverInput = {
|
|
177
187
|
baseSalary?: InputMaybe<Scalars['Float']['input']>;
|
|
178
188
|
bonusYtd?: InputMaybe<Scalars['Float']['input']>;
|
|
@@ -187,6 +197,7 @@ export type CreateDriverInput = {
|
|
|
187
197
|
licenseClass?: InputMaybe<Scalars['String']['input']>;
|
|
188
198
|
licenseExpiry?: InputMaybe<Scalars['DateTime']['input']>;
|
|
189
199
|
licenseNumber?: InputMaybe<Scalars['String']['input']>;
|
|
200
|
+
maxDrivingHoursPerShift?: InputMaybe<Scalars['Float']['input']>;
|
|
190
201
|
notes?: InputMaybe<Scalars['String']['input']>;
|
|
191
202
|
payCurrency?: InputMaybe<Scalars['String']['input']>;
|
|
192
203
|
performanceMetrics?: InputMaybe<Scalars['JSON']['input']>;
|
|
@@ -197,6 +208,16 @@ export type CreateDriverInput = {
|
|
|
197
208
|
vehicleId?: InputMaybe<Scalars['String']['input']>;
|
|
198
209
|
vehicleIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
199
210
|
};
|
|
211
|
+
export type CreateDriverShiftInput = {
|
|
212
|
+
context?: InputMaybe<ContextInput>;
|
|
213
|
+
driverId: Scalars['ID']['input'];
|
|
214
|
+
endTime: Scalars['String']['input'];
|
|
215
|
+
maxHours?: InputMaybe<Scalars['Float']['input']>;
|
|
216
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
217
|
+
shiftDate: Scalars['DateTime']['input'];
|
|
218
|
+
startTime: Scalars['String']['input'];
|
|
219
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
220
|
+
};
|
|
200
221
|
export type CreateIntegrationInput = {
|
|
201
222
|
apiKey?: InputMaybe<Scalars['String']['input']>;
|
|
202
223
|
apiSecret?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -276,6 +297,7 @@ export type CreateShipmentLegInput = {
|
|
|
276
297
|
currency?: InputMaybe<Scalars['String']['input']>;
|
|
277
298
|
destination: Scalars['JSON']['input'];
|
|
278
299
|
distanceKm?: InputMaybe<Scalars['Float']['input']>;
|
|
300
|
+
haulType?: InputMaybe<RoadHaulType>;
|
|
279
301
|
heightCm?: InputMaybe<Scalars['Float']['input']>;
|
|
280
302
|
lengthCm?: InputMaybe<Scalars['Float']['input']>;
|
|
281
303
|
mode: TransportMode;
|
|
@@ -294,6 +316,7 @@ export type CreateVehicleInput = {
|
|
|
294
316
|
capacity?: InputMaybe<Scalars['JSON']['input']>;
|
|
295
317
|
context?: InputMaybe<ContextInput>;
|
|
296
318
|
currentLocation?: InputMaybe<Scalars['JSON']['input']>;
|
|
319
|
+
diagnostics?: InputMaybe<Scalars['JSON']['input']>;
|
|
297
320
|
fuelEfficiencyLPer100Km?: InputMaybe<Scalars['Float']['input']>;
|
|
298
321
|
fuelLevel?: InputMaybe<Scalars['Float']['input']>;
|
|
299
322
|
fuelType?: InputMaybe<FuelType>;
|
|
@@ -310,6 +333,18 @@ export type CreateVehicleInput = {
|
|
|
310
333
|
vehicleNumber: Scalars['String']['input'];
|
|
311
334
|
year?: InputMaybe<Scalars['Int']['input']>;
|
|
312
335
|
};
|
|
336
|
+
export type CreateVehicleMaintenanceLogInput = {
|
|
337
|
+
context?: InputMaybe<ContextInput>;
|
|
338
|
+
cost?: InputMaybe<Scalars['Float']['input']>;
|
|
339
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
340
|
+
description: Scalars['String']['input'];
|
|
341
|
+
mileage?: InputMaybe<Scalars['Float']['input']>;
|
|
342
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
343
|
+
serviceDate: Scalars['DateTime']['input'];
|
|
344
|
+
serviceType?: InputMaybe<Scalars['String']['input']>;
|
|
345
|
+
vehicleId: Scalars['ID']['input'];
|
|
346
|
+
vendor?: InputMaybe<Scalars['String']['input']>;
|
|
347
|
+
};
|
|
313
348
|
export type CreateWarehouseInput = {
|
|
314
349
|
address: Scalars['JSON']['input'];
|
|
315
350
|
capabilities?: InputMaybe<Scalars['JSON']['input']>;
|
|
@@ -336,6 +371,28 @@ export type CreateWarehouseLocationInput = {
|
|
|
336
371
|
warehouseId: Scalars['ID']['input'];
|
|
337
372
|
zone?: InputMaybe<Scalars['String']['input']>;
|
|
338
373
|
};
|
|
374
|
+
export type CreateWarehouseStaffInput = {
|
|
375
|
+
contactEmail?: InputMaybe<Scalars['String']['input']>;
|
|
376
|
+
contactPhone?: InputMaybe<Scalars['String']['input']>;
|
|
377
|
+
context?: InputMaybe<ContextInput>;
|
|
378
|
+
name: Scalars['String']['input'];
|
|
379
|
+
role?: InputMaybe<Scalars['String']['input']>;
|
|
380
|
+
shift?: InputMaybe<Scalars['String']['input']>;
|
|
381
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
382
|
+
userId?: InputMaybe<Scalars['String']['input']>;
|
|
383
|
+
warehouseId: Scalars['ID']['input'];
|
|
384
|
+
};
|
|
385
|
+
export type CreateWarehouseZoneInput = {
|
|
386
|
+
code: Scalars['String']['input'];
|
|
387
|
+
context?: InputMaybe<ContextInput>;
|
|
388
|
+
name: Scalars['String']['input'];
|
|
389
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
390
|
+
temperatureRange?: InputMaybe<Scalars['String']['input']>;
|
|
391
|
+
totalCapacity?: InputMaybe<Scalars['Float']['input']>;
|
|
392
|
+
usedCapacity?: InputMaybe<Scalars['Float']['input']>;
|
|
393
|
+
warehouseId: Scalars['ID']['input'];
|
|
394
|
+
zoneType?: InputMaybe<Scalars['String']['input']>;
|
|
395
|
+
};
|
|
339
396
|
export type CustomerFilterInput = {
|
|
340
397
|
search?: InputMaybe<Scalars['String']['input']>;
|
|
341
398
|
type?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -383,6 +440,7 @@ export type FreightRateInput = {
|
|
|
383
440
|
containerType?: InputMaybe<OceanContainerType>;
|
|
384
441
|
currency?: InputMaybe<Scalars['String']['input']>;
|
|
385
442
|
distanceKm?: InputMaybe<Scalars['Float']['input']>;
|
|
443
|
+
haulType?: InputMaybe<RoadHaulType>;
|
|
386
444
|
heightCm?: InputMaybe<Scalars['Float']['input']>;
|
|
387
445
|
lengthCm?: InputMaybe<Scalars['Float']['input']>;
|
|
388
446
|
mode: TransportMode;
|
|
@@ -396,6 +454,7 @@ export type FreightRateOverridesInput = {
|
|
|
396
454
|
baseFare?: InputMaybe<Scalars['Float']['input']>;
|
|
397
455
|
fuelSurchargePct?: InputMaybe<Scalars['Float']['input']>;
|
|
398
456
|
handlingFee?: InputMaybe<Scalars['Float']['input']>;
|
|
457
|
+
ratePerCbm?: InputMaybe<Scalars['Float']['input']>;
|
|
399
458
|
ratePerContainer?: InputMaybe<Scalars['Float']['input']>;
|
|
400
459
|
ratePerKg?: InputMaybe<Scalars['Float']['input']>;
|
|
401
460
|
ratePerKm?: InputMaybe<Scalars['Float']['input']>;
|
|
@@ -1464,6 +1523,7 @@ export type MtwDriver = {
|
|
|
1464
1523
|
baseSalary?: Maybe<Scalars['Float']['output']>;
|
|
1465
1524
|
bonusYtd?: Maybe<Scalars['Float']['output']>;
|
|
1466
1525
|
certifications?: Maybe<Scalars['JSON']['output']>;
|
|
1526
|
+
complianceRecords: Array<MtwDriverComplianceRecord>;
|
|
1467
1527
|
context?: Maybe<OperationContext>;
|
|
1468
1528
|
createdAt: Scalars['DateTime']['output'];
|
|
1469
1529
|
createdBy: Scalars['String']['output'];
|
|
@@ -1478,6 +1538,8 @@ export type MtwDriver = {
|
|
|
1478
1538
|
licenseClass?: Maybe<Scalars['String']['output']>;
|
|
1479
1539
|
licenseExpiry?: Maybe<Scalars['DateTime']['output']>;
|
|
1480
1540
|
licenseNumber?: Maybe<Scalars['String']['output']>;
|
|
1541
|
+
/** Recorded daily driving limit in hours; route optimization checks the estimated run against it. */
|
|
1542
|
+
maxDrivingHoursPerShift?: Maybe<Scalars['Float']['output']>;
|
|
1481
1543
|
/** Free-text HR/performance notes. Encrypted at rest. */
|
|
1482
1544
|
notes?: Maybe<Scalars['String']['output']>;
|
|
1483
1545
|
onBehalfOf: Scalars['String']['output'];
|
|
@@ -1487,6 +1549,7 @@ export type MtwDriver = {
|
|
|
1487
1549
|
performanceMetrics?: Maybe<Scalars['JSON']['output']>;
|
|
1488
1550
|
phone?: Maybe<Scalars['String']['output']>;
|
|
1489
1551
|
rating?: Maybe<Scalars['Float']['output']>;
|
|
1552
|
+
shifts: Array<MtwDriverShift>;
|
|
1490
1553
|
status: DriverStatus;
|
|
1491
1554
|
terminatedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1492
1555
|
/** Reason recorded when the driver was dismissed/terminated. Encrypted at rest. */
|
|
@@ -1503,6 +1566,26 @@ export type MtwDriver = {
|
|
|
1503
1566
|
vehicles: Array<MtwVehicle>;
|
|
1504
1567
|
workspaceId: Scalars['ID']['output'];
|
|
1505
1568
|
};
|
|
1569
|
+
export type MtwDriverComplianceRecordsArgs = {
|
|
1570
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
1571
|
+
};
|
|
1572
|
+
export type MtwDriverShiftsArgs = {
|
|
1573
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
1574
|
+
};
|
|
1575
|
+
export type MtwDriverComplianceRecord = {
|
|
1576
|
+
__typename?: 'MtwDriverComplianceRecord';
|
|
1577
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1578
|
+
driverId: Scalars['ID']['output'];
|
|
1579
|
+
expiresAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1580
|
+
id: Scalars['ID']['output'];
|
|
1581
|
+
issuedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1582
|
+
notes?: Maybe<Scalars['String']['output']>;
|
|
1583
|
+
recordType: Scalars['String']['output'];
|
|
1584
|
+
referenceNumber?: Maybe<Scalars['String']['output']>;
|
|
1585
|
+
status: Scalars['String']['output'];
|
|
1586
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1587
|
+
workspaceId: Scalars['ID']['output'];
|
|
1588
|
+
};
|
|
1506
1589
|
/** The calling driver's delivery day: the mobile driver task list (BOFF-3991). */
|
|
1507
1590
|
export type MtwDriverDay = {
|
|
1508
1591
|
__typename?: 'MtwDriverDay';
|
|
@@ -1520,6 +1603,20 @@ export type MtwDriverDay = {
|
|
|
1520
1603
|
windowEnd: Scalars['DateTime']['output'];
|
|
1521
1604
|
windowStart: Scalars['DateTime']['output'];
|
|
1522
1605
|
};
|
|
1606
|
+
export type MtwDriverShift = {
|
|
1607
|
+
__typename?: 'MtwDriverShift';
|
|
1608
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1609
|
+
driverId: Scalars['ID']['output'];
|
|
1610
|
+
endTime: Scalars['String']['output'];
|
|
1611
|
+
id: Scalars['ID']['output'];
|
|
1612
|
+
maxHours?: Maybe<Scalars['Float']['output']>;
|
|
1613
|
+
notes?: Maybe<Scalars['String']['output']>;
|
|
1614
|
+
shiftDate: Scalars['DateTime']['output'];
|
|
1615
|
+
startTime: Scalars['String']['output'];
|
|
1616
|
+
status: Scalars['String']['output'];
|
|
1617
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1618
|
+
workspaceId: Scalars['ID']['output'];
|
|
1619
|
+
};
|
|
1523
1620
|
/** One stop in the calling driver's day, in driving sequence order. */
|
|
1524
1621
|
export type MtwDriverStop = {
|
|
1525
1622
|
__typename?: 'MtwDriverStop';
|
|
@@ -3902,6 +3999,7 @@ export type MtwRoute = {
|
|
|
3902
3999
|
estimatedDuration?: Maybe<Scalars['Float']['output']>;
|
|
3903
4000
|
fuelCost?: Maybe<Scalars['Float']['output']>;
|
|
3904
4001
|
id: Scalars['ID']['output'];
|
|
4002
|
+
lastOptimization?: Maybe<RouteOptimizationSummary>;
|
|
3905
4003
|
name: Scalars['String']['output'];
|
|
3906
4004
|
onBehalfOf: Scalars['String']['output'];
|
|
3907
4005
|
shipment?: Maybe<MtwShipment>;
|
|
@@ -4287,6 +4385,7 @@ export type MtwShipmentLeg = {
|
|
|
4287
4385
|
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4288
4386
|
destination: Scalars['JSON']['output'];
|
|
4289
4387
|
distanceKm?: Maybe<Scalars['Float']['output']>;
|
|
4388
|
+
haulType?: Maybe<RoadHaulType>;
|
|
4290
4389
|
heightCm?: Maybe<Scalars['Float']['output']>;
|
|
4291
4390
|
id: Scalars['ID']['output'];
|
|
4292
4391
|
legNumber: Scalars['Int']['output'];
|
|
@@ -4848,6 +4947,7 @@ export type MtwVehicle = {
|
|
|
4848
4947
|
createdBy: Scalars['String']['output'];
|
|
4849
4948
|
currentLocation?: Maybe<Scalars['JSON']['output']>;
|
|
4850
4949
|
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4950
|
+
diagnostics?: Maybe<Scalars['JSON']['output']>;
|
|
4851
4951
|
drivers: Array<MtwDriver>;
|
|
4852
4952
|
fuelEfficiencyLPer100Km?: Maybe<Scalars['Float']['output']>;
|
|
4853
4953
|
fuelLevel?: Maybe<Scalars['Float']['output']>;
|
|
@@ -4855,6 +4955,7 @@ export type MtwVehicle = {
|
|
|
4855
4955
|
id: Scalars['ID']['output'];
|
|
4856
4956
|
lastServiceDate?: Maybe<Scalars['DateTime']['output']>;
|
|
4857
4957
|
licensePlate?: Maybe<Scalars['String']['output']>;
|
|
4958
|
+
maintenanceLogs: Array<MtwVehicleMaintenanceLog>;
|
|
4858
4959
|
make?: Maybe<Scalars['String']['output']>;
|
|
4859
4960
|
mileage?: Maybe<Scalars['Float']['output']>;
|
|
4860
4961
|
model?: Maybe<Scalars['String']['output']>;
|
|
@@ -4866,16 +4967,46 @@ export type MtwVehicle = {
|
|
|
4866
4967
|
type: VehicleType;
|
|
4867
4968
|
updatedAt: Scalars['DateTime']['output'];
|
|
4868
4969
|
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
4970
|
+
utilizationSummary: MtwVehicleUtilizationSummary;
|
|
4869
4971
|
vehicleNumber: Scalars['String']['output'];
|
|
4870
4972
|
workspaceId: Scalars['ID']['output'];
|
|
4871
4973
|
year?: Maybe<Scalars['Int']['output']>;
|
|
4872
4974
|
};
|
|
4975
|
+
export type MtwVehicleMaintenanceLogsArgs = {
|
|
4976
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
4977
|
+
};
|
|
4978
|
+
export type MtwVehicleMaintenanceLog = {
|
|
4979
|
+
__typename?: 'MtwVehicleMaintenanceLog';
|
|
4980
|
+
cost?: Maybe<Scalars['Float']['output']>;
|
|
4981
|
+
createdAt: Scalars['DateTime']['output'];
|
|
4982
|
+
currency?: Maybe<Scalars['String']['output']>;
|
|
4983
|
+
description: Scalars['String']['output'];
|
|
4984
|
+
id: Scalars['ID']['output'];
|
|
4985
|
+
mileage?: Maybe<Scalars['Float']['output']>;
|
|
4986
|
+
notes?: Maybe<Scalars['String']['output']>;
|
|
4987
|
+
serviceDate: Scalars['DateTime']['output'];
|
|
4988
|
+
serviceType: Scalars['String']['output'];
|
|
4989
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
4990
|
+
vehicleId: Scalars['ID']['output'];
|
|
4991
|
+
vendor?: Maybe<Scalars['String']['output']>;
|
|
4992
|
+
workspaceId: Scalars['ID']['output'];
|
|
4993
|
+
};
|
|
4873
4994
|
export type MtwVehicleSuggestion = {
|
|
4874
4995
|
__typename?: 'MtwVehicleSuggestion';
|
|
4875
4996
|
reasons: Array<Scalars['String']['output']>;
|
|
4876
4997
|
score: Scalars['Int']['output'];
|
|
4877
4998
|
vehicle: MtwVehicle;
|
|
4878
4999
|
};
|
|
5000
|
+
export type MtwVehicleUtilizationSummary = {
|
|
5001
|
+
__typename?: 'MtwVehicleUtilizationSummary';
|
|
5002
|
+
activeRoutes: Scalars['Int']['output'];
|
|
5003
|
+
completedDeliveryJobs: Scalars['Int']['output'];
|
|
5004
|
+
completedRoutes: Scalars['Int']['output'];
|
|
5005
|
+
totalDeliveryJobs: Scalars['Int']['output'];
|
|
5006
|
+
totalDistanceKm: Scalars['Float']['output'];
|
|
5007
|
+
totalRoutes: Scalars['Int']['output'];
|
|
5008
|
+
utilizationRate?: Maybe<Scalars['Float']['output']>;
|
|
5009
|
+
};
|
|
4879
5010
|
export type MtwWarehouse = {
|
|
4880
5011
|
__typename?: 'MtwWarehouse';
|
|
4881
5012
|
address: Scalars['JSON']['output'];
|
|
@@ -4888,9 +5019,11 @@ export type MtwWarehouse = {
|
|
|
4888
5019
|
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4889
5020
|
id: Scalars['ID']['output'];
|
|
4890
5021
|
locations: Array<MtwWarehouseLocation>;
|
|
5022
|
+
metrics: MtwWarehouseMetrics;
|
|
4891
5023
|
name: Scalars['String']['output'];
|
|
4892
5024
|
onBehalfOf: Scalars['String']['output'];
|
|
4893
5025
|
operatingHours?: Maybe<Scalars['JSON']['output']>;
|
|
5026
|
+
staff: Array<MtwWarehouseStaff>;
|
|
4894
5027
|
status: Scalars['String']['output'];
|
|
4895
5028
|
totalCapacity?: Maybe<Scalars['Float']['output']>;
|
|
4896
5029
|
type: WarehouseType;
|
|
@@ -4898,10 +5031,17 @@ export type MtwWarehouse = {
|
|
|
4898
5031
|
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
4899
5032
|
usedCapacity?: Maybe<Scalars['Float']['output']>;
|
|
4900
5033
|
workspaceId: Scalars['ID']['output'];
|
|
5034
|
+
zones: Array<MtwWarehouseZone>;
|
|
4901
5035
|
};
|
|
4902
5036
|
export type MtwWarehouseLocationsArgs = {
|
|
4903
5037
|
pagination?: InputMaybe<PaginationInput>;
|
|
4904
5038
|
};
|
|
5039
|
+
export type MtwWarehouseStaffArgs = {
|
|
5040
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
5041
|
+
};
|
|
5042
|
+
export type MtwWarehouseZonesArgs = {
|
|
5043
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
5044
|
+
};
|
|
4905
5045
|
export type MtwWarehouseLocation = {
|
|
4906
5046
|
__typename?: 'MtwWarehouseLocation';
|
|
4907
5047
|
aisle?: Maybe<Scalars['String']['output']>;
|
|
@@ -4924,12 +5064,54 @@ export type MtwWarehouseLocation = {
|
|
|
4924
5064
|
workspaceId: Scalars['ID']['output'];
|
|
4925
5065
|
zone?: Maybe<Scalars['String']['output']>;
|
|
4926
5066
|
};
|
|
5067
|
+
export type MtwWarehouseMetrics = {
|
|
5068
|
+
__typename?: 'MtwWarehouseMetrics';
|
|
5069
|
+
activeLocations: Scalars['Int']['output'];
|
|
5070
|
+
lowStockCount: Scalars['Int']['output'];
|
|
5071
|
+
staffCount: Scalars['Int']['output'];
|
|
5072
|
+
totalAvailable: Scalars['Int']['output'];
|
|
5073
|
+
totalLocations: Scalars['Int']['output'];
|
|
5074
|
+
totalOnHand: Scalars['Int']['output'];
|
|
5075
|
+
totalSkus: Scalars['Int']['output'];
|
|
5076
|
+
utilizationPercent?: Maybe<Scalars['Float']['output']>;
|
|
5077
|
+
zoneCount: Scalars['Int']['output'];
|
|
5078
|
+
};
|
|
5079
|
+
export type MtwWarehouseStaff = {
|
|
5080
|
+
__typename?: 'MtwWarehouseStaff';
|
|
5081
|
+
contactEmail?: Maybe<Scalars['String']['output']>;
|
|
5082
|
+
contactPhone?: Maybe<Scalars['String']['output']>;
|
|
5083
|
+
createdAt: Scalars['DateTime']['output'];
|
|
5084
|
+
id: Scalars['ID']['output'];
|
|
5085
|
+
name: Scalars['String']['output'];
|
|
5086
|
+
role: Scalars['String']['output'];
|
|
5087
|
+
shift?: Maybe<Scalars['String']['output']>;
|
|
5088
|
+
status: Scalars['String']['output'];
|
|
5089
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
5090
|
+
userId?: Maybe<Scalars['String']['output']>;
|
|
5091
|
+
warehouseId: Scalars['ID']['output'];
|
|
5092
|
+
workspaceId: Scalars['ID']['output'];
|
|
5093
|
+
};
|
|
4927
5094
|
export type MtwWarehouseStats = {
|
|
4928
5095
|
__typename?: 'MtwWarehouseStats';
|
|
4929
5096
|
active: Scalars['Int']['output'];
|
|
4930
5097
|
avgUtilization: Scalars['Float']['output'];
|
|
4931
5098
|
total: Scalars['Int']['output'];
|
|
4932
5099
|
};
|
|
5100
|
+
export type MtwWarehouseZone = {
|
|
5101
|
+
__typename?: 'MtwWarehouseZone';
|
|
5102
|
+
code: Scalars['String']['output'];
|
|
5103
|
+
createdAt: Scalars['DateTime']['output'];
|
|
5104
|
+
id: Scalars['ID']['output'];
|
|
5105
|
+
name: Scalars['String']['output'];
|
|
5106
|
+
status: Scalars['String']['output'];
|
|
5107
|
+
temperatureRange?: Maybe<Scalars['String']['output']>;
|
|
5108
|
+
totalCapacity?: Maybe<Scalars['Float']['output']>;
|
|
5109
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
5110
|
+
usedCapacity?: Maybe<Scalars['Float']['output']>;
|
|
5111
|
+
warehouseId: Scalars['ID']['output'];
|
|
5112
|
+
workspaceId: Scalars['ID']['output'];
|
|
5113
|
+
zoneType: Scalars['String']['output'];
|
|
5114
|
+
};
|
|
4933
5115
|
/** Unit MoveTheWheels shows weights in. */
|
|
4934
5116
|
export type MtwWeightUnit =
|
|
4935
5117
|
/** Kilograms */
|
|
@@ -4966,6 +5148,8 @@ export type Mutation = {
|
|
|
4966
5148
|
createCustomer: MtwCustomer;
|
|
4967
5149
|
createDeliveryJob: MtwDeliveryJob;
|
|
4968
5150
|
createDriver: MtwDriver;
|
|
5151
|
+
createDriverComplianceRecord: MtwDriverComplianceRecord;
|
|
5152
|
+
createDriverShift: MtwDriverShift;
|
|
4969
5153
|
createIntegration: MtwIntegration;
|
|
4970
5154
|
createInventoryItem: MtwInventoryItem;
|
|
4971
5155
|
createInventoryTransaction: MtwInventoryTransaction;
|
|
@@ -4976,14 +5160,19 @@ export type Mutation = {
|
|
|
4976
5160
|
createServiceProvider: MtwServiceProvider;
|
|
4977
5161
|
createShipment: MtwShipment;
|
|
4978
5162
|
createVehicle: MtwVehicle;
|
|
5163
|
+
createVehicleMaintenanceLog: MtwVehicleMaintenanceLog;
|
|
4979
5164
|
createWarehouse: MtwWarehouse;
|
|
4980
5165
|
createWarehouseLocation: MtwWarehouseLocation;
|
|
5166
|
+
createWarehouseStaff: MtwWarehouseStaff;
|
|
5167
|
+
createWarehouseZone: MtwWarehouseZone;
|
|
4981
5168
|
/** Accept, accept with variance, or dispute the latest revision. The comparison author cannot decide. */
|
|
4982
5169
|
decideMtwFreightInvoice: MtwFreightInvoiceReview;
|
|
4983
5170
|
deleteCargoItem: Scalars['Boolean']['output'];
|
|
4984
5171
|
deleteCustomer: Scalars['Boolean']['output'];
|
|
4985
5172
|
deleteDeliveryJob: Scalars['Boolean']['output'];
|
|
4986
5173
|
deleteDriver: Scalars['Boolean']['output'];
|
|
5174
|
+
deleteDriverComplianceRecord: Scalars['Boolean']['output'];
|
|
5175
|
+
deleteDriverShift: Scalars['Boolean']['output'];
|
|
4987
5176
|
deleteIntegration: Scalars['Boolean']['output'];
|
|
4988
5177
|
deleteInventoryItem: Scalars['Boolean']['output'];
|
|
4989
5178
|
/** Soft-deletes the report and stops its schedule. Its past runs stay readable. */
|
|
@@ -4994,7 +5183,10 @@ export type Mutation = {
|
|
|
4994
5183
|
deleteServiceProvider: Scalars['Boolean']['output'];
|
|
4995
5184
|
deleteShipment: Scalars['Boolean']['output'];
|
|
4996
5185
|
deleteVehicle: Scalars['Boolean']['output'];
|
|
5186
|
+
deleteVehicleMaintenanceLog: Scalars['Boolean']['output'];
|
|
4997
5187
|
deleteWarehouse: Scalars['Boolean']['output'];
|
|
5188
|
+
deleteWarehouseStaff: Scalars['Boolean']['output'];
|
|
5189
|
+
deleteWarehouseZone: Scalars['Boolean']['output'];
|
|
4998
5190
|
exportMtwEntities: MtwExportJob;
|
|
4999
5191
|
/** Generate the report now and store the run. */
|
|
5000
5192
|
generateMtwReport: MtwReportRun;
|
|
@@ -5139,6 +5331,8 @@ export type Mutation = {
|
|
|
5139
5331
|
updateDeliveryJob: MtwDeliveryJob;
|
|
5140
5332
|
updateDeliveryJobStatus: MtwDeliveryJob;
|
|
5141
5333
|
updateDriver: MtwDriver;
|
|
5334
|
+
updateDriverComplianceRecord: MtwDriverComplianceRecord;
|
|
5335
|
+
updateDriverShift: MtwDriverShift;
|
|
5142
5336
|
updateDriverStatus: MtwDriver;
|
|
5143
5337
|
updateIntegration: MtwIntegration;
|
|
5144
5338
|
updateInventoryItem: MtwInventoryItem;
|
|
@@ -5153,9 +5347,12 @@ export type Mutation = {
|
|
|
5153
5347
|
updateShipment: MtwShipment;
|
|
5154
5348
|
updateVehicle: MtwVehicle;
|
|
5155
5349
|
updateVehicleLocation: MtwVehicle;
|
|
5350
|
+
updateVehicleMaintenanceLog: MtwVehicleMaintenanceLog;
|
|
5156
5351
|
updateVehicleStatus: MtwVehicle;
|
|
5157
5352
|
updateWarehouse: MtwWarehouse;
|
|
5158
5353
|
updateWarehouseLocation: MtwWarehouseLocation;
|
|
5354
|
+
updateWarehouseStaff: MtwWarehouseStaff;
|
|
5355
|
+
updateWarehouseZone: MtwWarehouseZone;
|
|
5159
5356
|
verifyMtwInspectorQualification: MtwInspectorQualification;
|
|
5160
5357
|
};
|
|
5161
5358
|
export type MutationAcceptMtwReuseReservationArgs = {
|
|
@@ -5211,6 +5408,12 @@ export type MutationCreateDeliveryJobArgs = {
|
|
|
5211
5408
|
export type MutationCreateDriverArgs = {
|
|
5212
5409
|
input: CreateDriverInput;
|
|
5213
5410
|
};
|
|
5411
|
+
export type MutationCreateDriverComplianceRecordArgs = {
|
|
5412
|
+
input: CreateDriverComplianceRecordInput;
|
|
5413
|
+
};
|
|
5414
|
+
export type MutationCreateDriverShiftArgs = {
|
|
5415
|
+
input: CreateDriverShiftInput;
|
|
5416
|
+
};
|
|
5214
5417
|
export type MutationCreateIntegrationArgs = {
|
|
5215
5418
|
input: CreateIntegrationInput;
|
|
5216
5419
|
};
|
|
@@ -5241,12 +5444,21 @@ export type MutationCreateShipmentArgs = {
|
|
|
5241
5444
|
export type MutationCreateVehicleArgs = {
|
|
5242
5445
|
input: CreateVehicleInput;
|
|
5243
5446
|
};
|
|
5447
|
+
export type MutationCreateVehicleMaintenanceLogArgs = {
|
|
5448
|
+
input: CreateVehicleMaintenanceLogInput;
|
|
5449
|
+
};
|
|
5244
5450
|
export type MutationCreateWarehouseArgs = {
|
|
5245
5451
|
input: CreateWarehouseInput;
|
|
5246
5452
|
};
|
|
5247
5453
|
export type MutationCreateWarehouseLocationArgs = {
|
|
5248
5454
|
input: CreateWarehouseLocationInput;
|
|
5249
5455
|
};
|
|
5456
|
+
export type MutationCreateWarehouseStaffArgs = {
|
|
5457
|
+
input: CreateWarehouseStaffInput;
|
|
5458
|
+
};
|
|
5459
|
+
export type MutationCreateWarehouseZoneArgs = {
|
|
5460
|
+
input: CreateWarehouseZoneInput;
|
|
5461
|
+
};
|
|
5250
5462
|
export type MutationDecideMtwFreightInvoiceArgs = {
|
|
5251
5463
|
input: DecideMtwFreightInvoiceInput;
|
|
5252
5464
|
};
|
|
@@ -5262,6 +5474,12 @@ export type MutationDeleteDeliveryJobArgs = {
|
|
|
5262
5474
|
export type MutationDeleteDriverArgs = {
|
|
5263
5475
|
id: Scalars['ID']['input'];
|
|
5264
5476
|
};
|
|
5477
|
+
export type MutationDeleteDriverComplianceRecordArgs = {
|
|
5478
|
+
id: Scalars['ID']['input'];
|
|
5479
|
+
};
|
|
5480
|
+
export type MutationDeleteDriverShiftArgs = {
|
|
5481
|
+
id: Scalars['ID']['input'];
|
|
5482
|
+
};
|
|
5265
5483
|
export type MutationDeleteIntegrationArgs = {
|
|
5266
5484
|
id: Scalars['ID']['input'];
|
|
5267
5485
|
};
|
|
@@ -5286,9 +5504,18 @@ export type MutationDeleteShipmentArgs = {
|
|
|
5286
5504
|
export type MutationDeleteVehicleArgs = {
|
|
5287
5505
|
id: Scalars['ID']['input'];
|
|
5288
5506
|
};
|
|
5507
|
+
export type MutationDeleteVehicleMaintenanceLogArgs = {
|
|
5508
|
+
id: Scalars['ID']['input'];
|
|
5509
|
+
};
|
|
5289
5510
|
export type MutationDeleteWarehouseArgs = {
|
|
5290
5511
|
id: Scalars['ID']['input'];
|
|
5291
5512
|
};
|
|
5513
|
+
export type MutationDeleteWarehouseStaffArgs = {
|
|
5514
|
+
id: Scalars['ID']['input'];
|
|
5515
|
+
};
|
|
5516
|
+
export type MutationDeleteWarehouseZoneArgs = {
|
|
5517
|
+
id: Scalars['ID']['input'];
|
|
5518
|
+
};
|
|
5292
5519
|
export type MutationExportMtwEntitiesArgs = {
|
|
5293
5520
|
input: ExportMtwEntitiesInput;
|
|
5294
5521
|
};
|
|
@@ -5369,6 +5596,7 @@ export type MutationOpenMtwFreeTimeClockArgs = {
|
|
|
5369
5596
|
};
|
|
5370
5597
|
export type MutationOptimizeRouteArgs = {
|
|
5371
5598
|
id: Scalars['ID']['input'];
|
|
5599
|
+
input?: InputMaybe<OptimizeRouteInput>;
|
|
5372
5600
|
};
|
|
5373
5601
|
export type MutationPlanMultiModalShipmentArgs = {
|
|
5374
5602
|
input: PlanMultiModalShipmentInput;
|
|
@@ -5503,6 +5731,14 @@ export type MutationUpdateDriverArgs = {
|
|
|
5503
5731
|
id: Scalars['ID']['input'];
|
|
5504
5732
|
input: UpdateDriverInput;
|
|
5505
5733
|
};
|
|
5734
|
+
export type MutationUpdateDriverComplianceRecordArgs = {
|
|
5735
|
+
id: Scalars['ID']['input'];
|
|
5736
|
+
input: UpdateDriverComplianceRecordInput;
|
|
5737
|
+
};
|
|
5738
|
+
export type MutationUpdateDriverShiftArgs = {
|
|
5739
|
+
id: Scalars['ID']['input'];
|
|
5740
|
+
input: UpdateDriverShiftInput;
|
|
5741
|
+
};
|
|
5506
5742
|
export type MutationUpdateDriverStatusArgs = {
|
|
5507
5743
|
id: Scalars['ID']['input'];
|
|
5508
5744
|
status: DriverStatus;
|
|
@@ -5549,6 +5785,10 @@ export type MutationUpdateVehicleLocationArgs = {
|
|
|
5549
5785
|
id: Scalars['ID']['input'];
|
|
5550
5786
|
location: Scalars['JSON']['input'];
|
|
5551
5787
|
};
|
|
5788
|
+
export type MutationUpdateVehicleMaintenanceLogArgs = {
|
|
5789
|
+
id: Scalars['ID']['input'];
|
|
5790
|
+
input: UpdateVehicleMaintenanceLogInput;
|
|
5791
|
+
};
|
|
5552
5792
|
export type MutationUpdateVehicleStatusArgs = {
|
|
5553
5793
|
id: Scalars['ID']['input'];
|
|
5554
5794
|
status: VehicleStatus;
|
|
@@ -5561,6 +5801,14 @@ export type MutationUpdateWarehouseLocationArgs = {
|
|
|
5561
5801
|
id: Scalars['ID']['input'];
|
|
5562
5802
|
input: UpdateWarehouseLocationInput;
|
|
5563
5803
|
};
|
|
5804
|
+
export type MutationUpdateWarehouseStaffArgs = {
|
|
5805
|
+
id: Scalars['ID']['input'];
|
|
5806
|
+
input: UpdateWarehouseStaffInput;
|
|
5807
|
+
};
|
|
5808
|
+
export type MutationUpdateWarehouseZoneArgs = {
|
|
5809
|
+
id: Scalars['ID']['input'];
|
|
5810
|
+
input: UpdateWarehouseZoneInput;
|
|
5811
|
+
};
|
|
5564
5812
|
export type MutationVerifyMtwInspectorQualificationArgs = {
|
|
5565
5813
|
input: VerifyMtwInspectorQualificationInput;
|
|
5566
5814
|
};
|
|
@@ -5587,6 +5835,9 @@ export type OperationContext = {
|
|
|
5587
5835
|
userId?: Maybe<Scalars['ID']['output']>;
|
|
5588
5836
|
workspaceId?: Maybe<Scalars['ID']['output']>;
|
|
5589
5837
|
};
|
|
5838
|
+
export type OptimizeRouteInput = {
|
|
5839
|
+
strategy?: InputMaybe<RouteOptimizationStrategy>;
|
|
5840
|
+
};
|
|
5590
5841
|
/**
|
|
5591
5842
|
* The business's own vehicle cost for the same lane. Nothing is assumed: the
|
|
5592
5843
|
* estimate exists only when the caller supplies its own cost per km, because
|
|
@@ -6609,6 +6860,7 @@ export type RevokeMtwProcedureDeviationInput = {
|
|
|
6609
6860
|
reason: Scalars['String']['input'];
|
|
6610
6861
|
stepDecisionId: Scalars['ID']['input'];
|
|
6611
6862
|
};
|
|
6863
|
+
export type RoadHaulType = 'FTL' | 'LTL';
|
|
6612
6864
|
export type RouteFilterInput = {
|
|
6613
6865
|
driverId?: InputMaybe<Scalars['ID']['input']>;
|
|
6614
6866
|
search?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6616,6 +6868,45 @@ export type RouteFilterInput = {
|
|
|
6616
6868
|
status?: InputMaybe<RouteStatus>;
|
|
6617
6869
|
vehicleId?: InputMaybe<Scalars['ID']['input']>;
|
|
6618
6870
|
};
|
|
6871
|
+
export type RouteOptimizationStrategy =
|
|
6872
|
+
/** Resolve automatically: window-aware seeding plus a 2-opt pass. */
|
|
6873
|
+
'AUTO'
|
|
6874
|
+
/** Greedy nearest-neighbour tour from the first recorded stop. */
|
|
6875
|
+
| 'NEAREST_NEIGHBOUR'
|
|
6876
|
+
/** Greedy seeded at the tightest delivery window, pricing lateness into each pick. */
|
|
6877
|
+
| 'TIME_WINDOW'
|
|
6878
|
+
/** Nearest-neighbour seed followed by a 2-opt improvement pass. */
|
|
6879
|
+
| 'TWO_OPT';
|
|
6880
|
+
/** Result of the most recent optimizeRoute run, persisted on the route. */
|
|
6881
|
+
export type RouteOptimizationSummary = {
|
|
6882
|
+
__typename?: 'RouteOptimizationSummary';
|
|
6883
|
+
distanceAfterKm?: Maybe<Scalars['Float']['output']>;
|
|
6884
|
+
distanceBeforeKm?: Maybe<Scalars['Float']['output']>;
|
|
6885
|
+
distanceSavedKm?: Maybe<Scalars['Float']['output']>;
|
|
6886
|
+
durationAfterMinutes?: Maybe<Scalars['Float']['output']>;
|
|
6887
|
+
/** True when no constraint (windows, capacity, driver hours) was violated. */
|
|
6888
|
+
feasible: Scalars['Boolean']['output'];
|
|
6889
|
+
ranAt: Scalars['DateTime']['output'];
|
|
6890
|
+
strategy: RouteOptimizationStrategy;
|
|
6891
|
+
violations: Array<RouteOptimizationViolation>;
|
|
6892
|
+
waypointCount: Scalars['Int']['output'];
|
|
6893
|
+
};
|
|
6894
|
+
export type RouteOptimizationViolation = {
|
|
6895
|
+
__typename?: 'RouteOptimizationViolation';
|
|
6896
|
+
code: RouteOptimizationViolationCode;
|
|
6897
|
+
message: Scalars['String']['output'];
|
|
6898
|
+
/** 1-based position in the optimized tour; null when not tied to one stop. */
|
|
6899
|
+
sequence?: Maybe<Scalars['Int']['output']>;
|
|
6900
|
+
};
|
|
6901
|
+
export type RouteOptimizationViolationCode =
|
|
6902
|
+
/** Some stops have no coordinates, so the tour cannot be measured. */
|
|
6903
|
+
'NO_COORDINATES'
|
|
6904
|
+
/** The total recorded load exceeds the assigned vehicle's recorded weight capacity. */
|
|
6905
|
+
| 'OVER_CAPACITY'
|
|
6906
|
+
/** The optimized run exceeds the assigned driver's recorded shift limit. */
|
|
6907
|
+
| 'OVER_DRIVER_HOURS'
|
|
6908
|
+
/** A stop is reached outside its recorded delivery window. */
|
|
6909
|
+
| 'WINDOW_MISSED';
|
|
6619
6910
|
export type RouteStatus = 'CANCELLED' | 'COMPLETED' | 'IN_PROGRESS' | 'PLANNED';
|
|
6620
6911
|
export type SaveMtwConsolidationManifestInput = {
|
|
6621
6912
|
expectedObservationSequence: Scalars['Int']['input'];
|
|
@@ -6773,6 +7064,15 @@ export type UpdateDeliveryJobStatusInput = {
|
|
|
6773
7064
|
notes?: InputMaybe<Scalars['String']['input']>;
|
|
6774
7065
|
status: DeliveryJobStatus;
|
|
6775
7066
|
};
|
|
7067
|
+
export type UpdateDriverComplianceRecordInput = {
|
|
7068
|
+
context?: InputMaybe<ContextInput>;
|
|
7069
|
+
expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
7070
|
+
issuedAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
7071
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
7072
|
+
recordType?: InputMaybe<Scalars['String']['input']>;
|
|
7073
|
+
referenceNumber?: InputMaybe<Scalars['String']['input']>;
|
|
7074
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
7075
|
+
};
|
|
6776
7076
|
export type UpdateDriverInput = {
|
|
6777
7077
|
baseSalary?: InputMaybe<Scalars['Float']['input']>;
|
|
6778
7078
|
bonusYtd?: InputMaybe<Scalars['Float']['input']>;
|
|
@@ -6786,6 +7086,7 @@ export type UpdateDriverInput = {
|
|
|
6786
7086
|
licenseClass?: InputMaybe<Scalars['String']['input']>;
|
|
6787
7087
|
licenseExpiry?: InputMaybe<Scalars['DateTime']['input']>;
|
|
6788
7088
|
licenseNumber?: InputMaybe<Scalars['String']['input']>;
|
|
7089
|
+
maxDrivingHoursPerShift?: InputMaybe<Scalars['Float']['input']>;
|
|
6789
7090
|
notes?: InputMaybe<Scalars['String']['input']>;
|
|
6790
7091
|
onLeaveUntil?: InputMaybe<Scalars['DateTime']['input']>;
|
|
6791
7092
|
payCurrency?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6799,6 +7100,15 @@ export type UpdateDriverInput = {
|
|
|
6799
7100
|
vehicleId?: InputMaybe<Scalars['String']['input']>;
|
|
6800
7101
|
vehicleIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
6801
7102
|
};
|
|
7103
|
+
export type UpdateDriverShiftInput = {
|
|
7104
|
+
context?: InputMaybe<ContextInput>;
|
|
7105
|
+
endTime?: InputMaybe<Scalars['String']['input']>;
|
|
7106
|
+
maxHours?: InputMaybe<Scalars['Float']['input']>;
|
|
7107
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
7108
|
+
shiftDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
7109
|
+
startTime?: InputMaybe<Scalars['String']['input']>;
|
|
7110
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
7111
|
+
};
|
|
6802
7112
|
export type UpdateIntegrationInput = {
|
|
6803
7113
|
apiKey?: InputMaybe<Scalars['String']['input']>;
|
|
6804
7114
|
apiSecret?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6872,6 +7182,7 @@ export type UpdateVehicleInput = {
|
|
|
6872
7182
|
capacity?: InputMaybe<Scalars['JSON']['input']>;
|
|
6873
7183
|
context?: InputMaybe<ContextInput>;
|
|
6874
7184
|
currentLocation?: InputMaybe<Scalars['JSON']['input']>;
|
|
7185
|
+
diagnostics?: InputMaybe<Scalars['JSON']['input']>;
|
|
6875
7186
|
fuelEfficiencyLPer100Km?: InputMaybe<Scalars['Float']['input']>;
|
|
6876
7187
|
fuelLevel?: InputMaybe<Scalars['Float']['input']>;
|
|
6877
7188
|
fuelType?: InputMaybe<FuelType>;
|
|
@@ -6888,6 +7199,17 @@ export type UpdateVehicleInput = {
|
|
|
6888
7199
|
vehicleNumber?: InputMaybe<Scalars['String']['input']>;
|
|
6889
7200
|
year?: InputMaybe<Scalars['Int']['input']>;
|
|
6890
7201
|
};
|
|
7202
|
+
export type UpdateVehicleMaintenanceLogInput = {
|
|
7203
|
+
context?: InputMaybe<ContextInput>;
|
|
7204
|
+
cost?: InputMaybe<Scalars['Float']['input']>;
|
|
7205
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
7206
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
7207
|
+
mileage?: InputMaybe<Scalars['Float']['input']>;
|
|
7208
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
7209
|
+
serviceDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
7210
|
+
serviceType?: InputMaybe<Scalars['String']['input']>;
|
|
7211
|
+
vendor?: InputMaybe<Scalars['String']['input']>;
|
|
7212
|
+
};
|
|
6891
7213
|
export type UpdateWarehouseInput = {
|
|
6892
7214
|
address?: InputMaybe<Scalars['JSON']['input']>;
|
|
6893
7215
|
capabilities?: InputMaybe<Scalars['JSON']['input']>;
|
|
@@ -6913,6 +7235,26 @@ export type UpdateWarehouseLocationInput = {
|
|
|
6913
7235
|
status?: InputMaybe<Scalars['String']['input']>;
|
|
6914
7236
|
zone?: InputMaybe<Scalars['String']['input']>;
|
|
6915
7237
|
};
|
|
7238
|
+
export type UpdateWarehouseStaffInput = {
|
|
7239
|
+
contactEmail?: InputMaybe<Scalars['String']['input']>;
|
|
7240
|
+
contactPhone?: InputMaybe<Scalars['String']['input']>;
|
|
7241
|
+
context?: InputMaybe<ContextInput>;
|
|
7242
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
7243
|
+
role?: InputMaybe<Scalars['String']['input']>;
|
|
7244
|
+
shift?: InputMaybe<Scalars['String']['input']>;
|
|
7245
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
7246
|
+
userId?: InputMaybe<Scalars['String']['input']>;
|
|
7247
|
+
};
|
|
7248
|
+
export type UpdateWarehouseZoneInput = {
|
|
7249
|
+
code?: InputMaybe<Scalars['String']['input']>;
|
|
7250
|
+
context?: InputMaybe<ContextInput>;
|
|
7251
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
7252
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
7253
|
+
temperatureRange?: InputMaybe<Scalars['String']['input']>;
|
|
7254
|
+
totalCapacity?: InputMaybe<Scalars['Float']['input']>;
|
|
7255
|
+
usedCapacity?: InputMaybe<Scalars['Float']['input']>;
|
|
7256
|
+
zoneType?: InputMaybe<Scalars['String']['input']>;
|
|
7257
|
+
};
|
|
6916
7258
|
export type VehicleFilterInput = {
|
|
6917
7259
|
driverId?: InputMaybe<Scalars['ID']['input']>;
|
|
6918
7260
|
/** Fetch exactly these vehicles by id, regardless of how many. Ignores other filters/pagination when set. */
|