@fleetkeep/cli 0.9.0 → 0.10.0

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 CHANGED
@@ -94,6 +94,32 @@ not enter them again. Account JSON exports include jobs, journeys and additional
94
94
  Xero authorisation and bill review take place in the web portal. Saved SHVL grants and
95
95
  credentials are not transferred between products or customer workspaces.
96
96
 
97
+ ## Daily defects and notification preferences
98
+
99
+ With CLI 0.10.0 and the matching API deployment:
100
+
101
+ ```sh
102
+ fleetkeep api call getNotificationPreferences
103
+ fleetkeep api call getWalkaroundSummary
104
+ fleetkeep api call listDefects
105
+ ```
106
+
107
+ The notification overview reads renewal reminder settings, walkaround defect email mode
108
+ (`all`, `off_road` or `off`) and the count of enabled push-device registrations. It never
109
+ changes preferences or sends an alert. Change choices in Fleetkeep's Notifications centre.
110
+ An enabled registration does not prove OS permission or delivery. No device tokens are returned.
111
+
112
+ For daily-check follow-up, read today's summary and the reported defects before preparing a
113
+ maintenance task or completing a defect. A completed check is not a roadworthiness certificate,
114
+ and marking a defect complete requires the operator's actual repair details and approval.
115
+ The published API's confirmation, account and permission checks still apply.
116
+
117
+ The expanded API MCP connector uses the same operation catalogue and can read this overview
118
+ when its review/account access and `reminders:read` scope permit it. The public read-only `/mcp`
119
+ connection remains limited to its three fleet brief/search/detail tools. Household sharing and
120
+ team administration stay in the secure app/web flows; this command does not invite people or
121
+ change access. The n8n package has its separate vehicles/maintenance contract.
122
+
97
123
  ## Service intervals and equipment
98
124
 
99
125
  Record completed servicing by registration without looking up an internal vehicle ID first:
package/operations.mjs CHANGED
@@ -62,6 +62,7 @@ const definitions = [
62
62
  ['getDriverActivity', 'GET', '/api/v1/drivers/activity', 'operations:read', { query: ['q'] }],
63
63
  ['listDriverMemberships', 'GET', '/api/v1/driver-workspace', 'vehicles:read'],
64
64
  ['getDriverWorkspace', 'GET', '/api/v1/driver-workspace/{id}', 'operations:read'],
65
+ ['getNotificationPreferences', 'GET', '/api/v1/settings/notification-preferences', 'reminders:read'],
65
66
  ['getPushNotificationStatus', 'GET', '/api/v1/settings/push-notifications', 'reminders:read'],
66
67
  ['importProviderJobs', 'POST', '/api/v1/jobs/import', 'operations:write'],
67
68
  ['listFleetJobs', 'GET', '/api/v1/jobs', 'operations:read', { query: ['q'] }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fleetkeep/cli",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "Operate every published Fleetkeep API workflow with guarded writes and machine-readable output",
5
5
  "type": "module",
6
6
  "bin": {