notifyme-csm-mcp 1.0.8 → 1.0.9

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 (2) hide show
  1. package/dist/index.js +14 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -420,8 +420,16 @@ const TOOLS = [
420
420
  },
421
421
  timeframe: {
422
422
  type: "string",
423
- enum: ["last7days", "last30days", "last90days", "mtd", "qtd", "ytd"],
424
- description: "Reporting window (default: last7days).",
423
+ enum: ["last7days", "last30days", "last90days", "mtd", "qtd", "ytd", "custom"],
424
+ description: "Reporting window (default: last7days). Use 'custom' with startDate/endDate for any range.",
425
+ },
426
+ startDate: {
427
+ type: "string",
428
+ description: "YYYY-MM-DD. Passing dates implies timeframe=custom. Interpreted in the server's timezone (UTC on prod).",
429
+ },
430
+ endDate: {
431
+ type: "string",
432
+ description: "YYYY-MM-DD (inclusive, end of day). Passing dates implies timeframe=custom. Interpreted in the server's timezone (UTC on prod).",
425
433
  },
426
434
  stage: {
427
435
  type: "string",
@@ -647,6 +655,10 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
647
655
  qs.set("entityType", String(a.entityType));
648
656
  if (a.timeframe)
649
657
  qs.set("timeframe", String(a.timeframe));
658
+ if (a.startDate)
659
+ qs.set("startDate", String(a.startDate));
660
+ if (a.endDate)
661
+ qs.set("endDate", String(a.endDate));
650
662
  if (a.stage)
651
663
  qs.set("stage", String(a.stage));
652
664
  data = await api("GET", `/funnel-entities?${qs.toString()}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "notifyme-csm-mcp",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "NotifyMe CSM — MCP server for LLM integrations (Claude Code, Cursor, etc.)",
5
5
  "_versionPolicy": "The version field above is a placeholder and is NEVER updated in git. The real published version lives only on npm — run `npm view notifyme-csm-mcp version` to check. To publish a new release, use the GitHub workflow `Publish MCP` (Actions tab → Publish notifyme-csm-mcp → Run workflow). This prevents recurring merge conflicts across feature/dev/main branches that used to plague every PR.",
6
6
  "type": "module",