rhombus-node-mcp 0.1.23 → 0.1.26

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 (41) hide show
  1. package/dist/api/access-control-tool-api.js +1 -1
  2. package/dist/api/alarm-monitoring-tool-api.js +1 -1
  3. package/dist/api/camera-tool-api.js +1 -1
  4. package/dist/api/camera-uptime-tool-api.js +1 -1
  5. package/dist/api/clips-tool-api.js +1 -1
  6. package/dist/api/create-camera-policy-tool-api.js +1 -1
  7. package/dist/api/create-tool-api.js +1 -1
  8. package/dist/api/door-schedule-exception-tool-api.js +199 -0
  9. package/dist/api/door-tool-api.js +1 -1
  10. package/dist/api/entity-lookup-tool-api.js +1 -1
  11. package/dist/api/events-tool-api.js +1 -1
  12. package/dist/api/faces-tool-api.js +1 -1
  13. package/dist/api/get-entity-tool-api.js +12 -11
  14. package/dist/api/get-org-information-tool-api.js +1 -1
  15. package/dist/api/guest-management-tool-api.js +1 -1
  16. package/dist/api/location-tool-api.js +1 -1
  17. package/dist/api/lpr-tool-api.js +1 -1
  18. package/dist/api/policy-alerts-tool-api.js +1 -1
  19. package/dist/api/reboot-cameras-tool-api.js +1 -1
  20. package/dist/api/report-tool-api.js +1 -1
  21. package/dist/api/rules-tool-api.js +1 -1
  22. package/dist/api/search-tool-api.js +1 -1
  23. package/dist/api/update-tool-api.js +1 -1
  24. package/dist/api/user-access-trail-tool-api.js +1 -1
  25. package/dist/api/user-audit-tool-api.js +1 -1
  26. package/dist/api/user-tool-api.js +1 -1
  27. package/dist/createServer.js +1 -0
  28. package/dist/filtering-utils.js +15 -7
  29. package/dist/network/locations.js +60 -0
  30. package/dist/{network.js → network/network.js} +8 -3
  31. package/dist/network/postApiMap.js +7 -0
  32. package/dist/tools/analytics-tool.js +1 -1
  33. package/dist/tools/create-camera-policy-tool.js +1 -1
  34. package/dist/tools/door-schedule-exception-tool.js +113 -0
  35. package/dist/types/access-control-tool-types.js +1 -1
  36. package/dist/types/door-schedule-exception-tool-types.js +160 -0
  37. package/dist/types/report-tool-types.js +7 -7
  38. package/dist/types/user-tool-types.js +1 -1
  39. package/dist/types/zod-schemas.js +670 -665
  40. package/dist/utils/timestampInput.js +5 -8
  41. package/package.json +4 -4
@@ -1,12 +1,9 @@
1
1
  import { z } from 'zod';
2
2
  export const ISOTimestampFormatDescription = 'Time format is in ISO 8601 format. Both UTC ("2025-08-04T20:54:27.123Z") and time zone offsets ("2025-08-04T13:54:27.123-07:00") are accepted to ensure an unambiguous point in time.';
3
3
  export const createEpochSchema = () => {
4
- return z.coerce.date({
5
- errorMap: (issue, ctx) => {
6
- if (issue.code === 'invalid_date') {
7
- return { message: 'Invalid datetime string. Expected ISO 8601 format.' };
8
- }
9
- return { message: ctx.defaultError };
10
- },
11
- }).transform(date => date.getTime());
4
+ return z.coerce
5
+ .date({
6
+ error: "Invalid datetime string. Expected ISO 8601 format.",
7
+ })
8
+ .transform((date) => date.getTime());
12
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rhombus-node-mcp",
3
- "version": "0.1.23",
3
+ "version": "0.1.26",
4
4
  "description": "MCP server for Rhombus API",
5
5
  "keywords": [
6
6
  "ai",
@@ -47,7 +47,7 @@
47
47
  "dist"
48
48
  ],
49
49
  "dependencies": {
50
- "@modelcontextprotocol/sdk": "^1.21.2",
50
+ "@modelcontextprotocol/sdk": "^1.27.1",
51
51
  "axios": "^1.11.0",
52
52
  "cheerio": "^1.1.2",
53
53
  "chrono-node": "^2.8.0",
@@ -60,9 +60,9 @@
60
60
  "langchain": "^0.3.30",
61
61
  "log4js": "^6.9.1",
62
62
  "luxon": "^3.6.1",
63
- "openai": "^5.12.1",
63
+ "openai": "^6.32.0",
64
64
  "tiktoken": "^1.0.21",
65
- "zod": "^3.24.2"
65
+ "zod": "^4.3.6"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@types/cors": "^2.8.19",