@togglhq/cli 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 CommanderError, t as createProgram } from "./program-DY-DY0eI.js";
2
+ import { n as CommanderError, t as createProgram } from "./program-DuwrGVwr.js";
3
3
  //#region src/cli.ts
4
4
  try {
5
5
  await createProgram({ enableUpdateNotification: true }).parseAsync(process.argv);
package/build/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-DY-DY0eI.js";
1
+ import { t as createProgram } from "./program-DuwrGVwr.js";
2
2
  export { createProgram };
@@ -14769,8 +14769,11 @@ async function addTimesheetSetupMember(httpClient, organization_id, workspace_id
14769
14769
  async function deleteTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
14770
14770
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}`, { signal }).json();
14771
14771
  }
14772
- async function discontinueTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
14773
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}/discontinue`, { signal }).json();
14772
+ async function discontinueTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, data, signal) {
14773
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}/discontinue`, {
14774
+ signal,
14775
+ json: data
14776
+ }).json();
14774
14777
  }
14775
14778
  async function reactivateTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
14776
14779
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}/reactivate`, { signal }).json();
@@ -23440,6 +23443,7 @@ const generatedFocusOperations = [
23440
23443
  },
23441
23444
  mcp: { entityTool: "timesheets" },
23442
23445
  inputSchema: /* @__PURE__ */ looseObject({
23446
+ payload: /* @__PURE__ */ looseObject({ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())) }),
23443
23447
  setup_id: /* @__PURE__ */ number$2(),
23444
23448
  user_account_id: /* @__PURE__ */ number$2()
23445
23449
  }),
@@ -23451,6 +23455,7 @@ const generatedFocusOperations = [
23451
23455
  client.workspaceIdNumber,
23452
23456
  data.setup_id,
23453
23457
  data.user_account_id,
23458
+ data.payload ?? data.data ?? data,
23454
23459
  void 0
23455
23460
  ]));
23456
23461
  }
@@ -25753,4 +25758,4 @@ Common commands:
25753
25758
  //#endregion
25754
25759
  export { CommanderError as n, createProgram as t };
25755
25760
 
25756
- //# sourceMappingURL=program-DY-DY0eI.js.map
25761
+ //# sourceMappingURL=program-DuwrGVwr.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-DY-DY0eI.js";
1
+ import { t as createProgram } from "./program-DuwrGVwr.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.5.32",
3
+ "version": "1.5.33",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",