@togglhq/mcp 1.13.312 → 1.13.314

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/build/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { a as PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-B4PjPobf.js";
2
+ import { a as PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-BNLhFxer.js";
3
3
  import * as Sentry from "@sentry/node";
4
4
  //#region src/analytics-tool-metadata.ts
5
5
  /**
@@ -162,7 +162,7 @@ function wrapServerWithProductAnalytics(server) {
162
162
  }
163
163
  //#endregion
164
164
  //#region src/cli.ts
165
- const packageVersion = "1.13.312";
165
+ const packageVersion = "1.13.314";
166
166
  let sentryEnabled = false;
167
167
  let productAnalyticsEnabled = false;
168
168
  runMcpCli({
package/build/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-B4PjPobf.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-BNLhFxer.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -45375,6 +45375,15 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
45375
45375
  async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
45376
45376
  return (await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal })).json();
45377
45377
  }
45378
+ async function getWorkspaceInvoiceWatermark(httpClient, workspace_id, signal) {
45379
+ return (await httpClient.get(`workspaces/${workspace_id}/invoice-watermark`, { signal })).json();
45380
+ }
45381
+ async function updateWorkspaceInvoiceWatermark(httpClient, workspace_id, data, signal) {
45382
+ return (await httpClient.patch(`workspaces/${workspace_id}/invoice-watermark`, {
45383
+ signal,
45384
+ json: data
45385
+ })).json();
45386
+ }
45378
45387
  async function getUserPermissions(httpClient, workspace_id, signal) {
45379
45388
  return (await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal })).json();
45380
45389
  }
@@ -60526,6 +60535,28 @@ const generatedFocusOperations = [
60526
60535
  void 0
60527
60536
  ]))
60528
60537
  },
60538
+ {
60539
+ id: "focus.workspace-settings.get-workspace-invoice-watermark",
60540
+ family: "focus",
60541
+ resource: "workspace-settings",
60542
+ action: "get-workspace-invoice-watermark",
60543
+ title: "Get Workspace Invoice Watermark Workspace Settings",
60544
+ description: "Get Workspace Invoice Watermark Workspace Settings.",
60545
+ safety: "read",
60546
+ destructive: false,
60547
+ cli: {
60548
+ group: ["workspace-settings"],
60549
+ command: "get-workspace-invoice-watermark",
60550
+ interactive: "hidden"
60551
+ },
60552
+ mcp: { entityTool: "workspace-settings" },
60553
+ inputSchema: /* @__PURE__ */ looseObject({}),
60554
+ execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceInvoiceWatermark", () => callGeneratedRequest(getWorkspaceInvoiceWatermark, [
60555
+ client.httpClient,
60556
+ client.workspaceIdNumber,
60557
+ void 0
60558
+ ]))
60559
+ },
60529
60560
  {
60530
60561
  id: "focus.workspace-settings.get-workspace-watermark",
60531
60562
  family: "focus",
@@ -60626,6 +60657,32 @@ const generatedFocusOperations = [
60626
60657
  ]));
60627
60658
  }
60628
60659
  },
60660
+ {
60661
+ id: "focus.workspace-settings.update-workspace-invoice-watermark",
60662
+ family: "focus",
60663
+ resource: "workspace-settings",
60664
+ action: "update-workspace-invoice-watermark",
60665
+ title: "Update Workspace Invoice Watermark Workspace Settings",
60666
+ description: "Update Workspace Invoice Watermark Workspace Settings.",
60667
+ safety: "update",
60668
+ destructive: false,
60669
+ cli: {
60670
+ group: ["workspace-settings"],
60671
+ command: "update-workspace-invoice-watermark",
60672
+ interactive: "default"
60673
+ },
60674
+ mcp: { entityTool: "workspace-settings" },
60675
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_invoice_watermark: /* @__PURE__ */ boolean$1() }) }),
60676
+ execute: (input, { client }) => {
60677
+ const data = input;
60678
+ return client.runGeneratedRequest("updateWorkspaceInvoiceWatermark", () => callGeneratedRequest(updateWorkspaceInvoiceWatermark, [
60679
+ client.httpClient,
60680
+ client.workspaceIdNumber,
60681
+ data.payload ?? data.data ?? data,
60682
+ void 0
60683
+ ]));
60684
+ }
60685
+ },
60629
60686
  {
60630
60687
  id: "focus.workspace-settings.update-workspace-watermark",
60631
60688
  family: "focus",
@@ -61832,7 +61889,7 @@ function registerWorkspaceTools(server) {
61832
61889
  //#region src/package-version.ts
61833
61890
  function mcpPackageVersion() {
61834
61891
  try {
61835
- return "1.13.312";
61892
+ return "1.13.314";
61836
61893
  } catch {
61837
61894
  return "unknown";
61838
61895
  }
@@ -62014,7 +62071,7 @@ import_main.default.config({
62014
62071
  quiet: true,
62015
62072
  ignore: ["MISSING_ENV_FILE"]
62016
62073
  });
62017
- const packageVersion = "1.13.312";
62074
+ const packageVersion = "1.13.314";
62018
62075
  const MCP_CACHE_TTL_MS = 300 * 1e3;
62019
62076
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
62020
62077
  function resolvePublicUrls() {
@@ -62134,4 +62191,4 @@ function bootstrapServer(options = {}) {
62134
62191
  //#endregion
62135
62192
  export { PUBLIC_SENTRY_PRIVACY_OPTIONS as a, initProductAnalytics as c, shutdownProductAnalytics as d, runMcpCli as i, resolveProductAnalyticsDistinctId as l, MCP_MAX_TOOL_INPUT_ELEMENTS as n, captureToolInvocation as o, bootstrapServer as r, getProductAnalyticsDistinctId as s, MCP_CACHE_TTL_MS as t, resolvePublicSentryDsn as u };
62136
62193
 
62137
- //# sourceMappingURL=src-B4PjPobf.js.map
62194
+ //# sourceMappingURL=src-BNLhFxer.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.312",
3
+ "version": "1.13.314",
4
4
  "description": "Toggl 2.0 MCP server for Claude Code, Claude Desktop, and other MCP clients.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",