@togglhq/mcp 1.5.32 → 1.5.33

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 { n as runMcpCli } from "./src-CRCU5Uld.js";
2
+ import { n as runMcpCli } from "./src-drNRwZie.js";
3
3
  //#region src/cli.ts
4
4
  runMcpCli();
5
5
  //#endregion
package/build/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import { n as runMcpCli, t as bootstrapServer } from "./src-CRCU5Uld.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-drNRwZie.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -34913,8 +34913,11 @@ async function addTimesheetSetupMember(httpClient, organization_id, workspace_id
34913
34913
  async function deleteTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
34914
34914
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}`, { signal }).json();
34915
34915
  }
34916
- async function discontinueTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
34917
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}/discontinue`, { signal }).json();
34916
+ async function discontinueTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, data, signal) {
34917
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}/discontinue`, {
34918
+ signal,
34919
+ json: data
34920
+ }).json();
34918
34921
  }
34919
34922
  async function reactivateTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
34920
34923
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}/reactivate`, { signal }).json();
@@ -43584,6 +43587,7 @@ const generatedFocusOperations = [
43584
43587
  },
43585
43588
  mcp: { entityTool: "timesheets" },
43586
43589
  inputSchema: /* @__PURE__ */ looseObject({
43590
+ payload: /* @__PURE__ */ looseObject({ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())) }),
43587
43591
  setup_id: /* @__PURE__ */ number$2(),
43588
43592
  user_account_id: /* @__PURE__ */ number$2()
43589
43593
  }),
@@ -43595,6 +43599,7 @@ const generatedFocusOperations = [
43595
43599
  client.workspaceIdNumber,
43596
43600
  data.setup_id,
43597
43601
  data.user_account_id,
43602
+ data.payload ?? data.data ?? data,
43598
43603
  void 0
43599
43604
  ]));
43600
43605
  }
@@ -45626,7 +45631,7 @@ import_main.default.config({
45626
45631
  quiet: true,
45627
45632
  ignore: ["MISSING_ENV_FILE"]
45628
45633
  });
45629
- const packageVersion = "1.5.32";
45634
+ const packageVersion = "1.5.33";
45630
45635
  function resolvePublicUrls() {
45631
45636
  return {
45632
45637
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -45691,4 +45696,4 @@ function bootstrapServer(options = {}) {
45691
45696
  //#endregion
45692
45697
  export { runMcpCli as n, bootstrapServer as t };
45693
45698
 
45694
- //# sourceMappingURL=src-CRCU5Uld.js.map
45699
+ //# sourceMappingURL=src-drNRwZie.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.5.32",
3
+ "version": "1.5.33",
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",