@togglhq/cli 1.5.31 → 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-CL3hA2de.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-CL3hA2de.js";
1
+ import { t as createProgram } from "./program-DuwrGVwr.js";
2
2
  export { createProgram };
@@ -14563,7 +14563,7 @@ async function upsertTaskConstraints(httpClient, workspace_id, data, signal) {
14563
14563
  }
14564
14564
  //#endregion
14565
14565
  //#region ../focus-queries/dist/task-groups/requests.ts
14566
- async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_ghosts, include_assignees, min_days, tasks_per_group, include_group_totals, include_unassigned, include_drafts, cf_filter, page, per_page, order_by } = {}, signal) {
14566
+ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_ghosts, include_assignees, min_days, include_drafts, cf_filter, page, per_page, order_by } = {}, signal) {
14567
14567
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
14568
14568
  signal,
14569
14569
  searchParams: buildSearchParams$3({
@@ -14589,9 +14589,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
14589
14589
  include_ghosts,
14590
14590
  include_assignees,
14591
14591
  min_days,
14592
- tasks_per_group,
14593
- include_group_totals,
14594
- include_unassigned,
14595
14592
  include_drafts,
14596
14593
  cf_filter,
14597
14594
  page,
@@ -14772,8 +14769,11 @@ async function addTimesheetSetupMember(httpClient, organization_id, workspace_id
14772
14769
  async function deleteTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
14773
14770
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}`, { signal }).json();
14774
14771
  }
14775
- async function discontinueTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
14776
- 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();
14777
14777
  }
14778
14778
  async function reactivateTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
14779
14779
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}/reactivate`, { signal }).json();
@@ -21057,8 +21057,6 @@ const generatedFocusOperations = [
21057
21057
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21058
21058
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21059
21059
  include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21060
- include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21061
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21062
21060
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21063
21061
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21064
21062
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21073,7 +21071,6 @@ const generatedFocusOperations = [
21073
21071
  start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21074
21072
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21075
21073
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21076
- tasks_per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21077
21074
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21078
21075
  }),
21079
21076
  execute: (input, { client }) => {
@@ -23446,6 +23443,7 @@ const generatedFocusOperations = [
23446
23443
  },
23447
23444
  mcp: { entityTool: "timesheets" },
23448
23445
  inputSchema: /* @__PURE__ */ looseObject({
23446
+ payload: /* @__PURE__ */ looseObject({ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())) }),
23449
23447
  setup_id: /* @__PURE__ */ number$2(),
23450
23448
  user_account_id: /* @__PURE__ */ number$2()
23451
23449
  }),
@@ -23457,6 +23455,7 @@ const generatedFocusOperations = [
23457
23455
  client.workspaceIdNumber,
23458
23456
  data.setup_id,
23459
23457
  data.user_account_id,
23458
+ data.payload ?? data.data ?? data,
23460
23459
  void 0
23461
23460
  ]));
23462
23461
  }
@@ -25759,4 +25758,4 @@ Common commands:
25759
25758
  //#endregion
25760
25759
  export { CommanderError as n, createProgram as t };
25761
25760
 
25762
- //# sourceMappingURL=program-CL3hA2de.js.map
25761
+ //# sourceMappingURL=program-DuwrGVwr.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-CL3hA2de.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.31",
3
+ "version": "1.5.33",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",