@togglhq/cli 1.13.94 → 1.13.95

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 CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-DUmiaHO1.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-Cnxg1UIA.js";
3
3
  import { readFileSync } from "node:fs";
4
4
  import { dirname, join } from "node:path";
5
5
  import { fileURLToPath } from "node:url";
package/build/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-DUmiaHO1.js";
1
+ import { t as createProgram } from "./program-Cnxg1UIA.js";
2
2
  export { createProgram };
@@ -10429,12 +10429,13 @@ async function bulkCreateTask(httpClient, organization_id, workspace_id, data, s
10429
10429
  json: data
10430
10430
  }).json();
10431
10431
  }
10432
- async function bulkDeleteTask(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
10432
+ async function bulkDeleteTask(httpClient, organization_id, workspace_id, ids, outbound_sync, move_time_to_task_id, signal) {
10433
10433
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/bulk`, {
10434
10434
  signal,
10435
10435
  searchParams: buildSearchParams$2({
10436
10436
  ids,
10437
- outbound_sync
10437
+ outbound_sync,
10438
+ move_time_to_task_id
10438
10439
  })
10439
10440
  }).json();
10440
10441
  }
@@ -10498,6 +10499,15 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
10498
10499
  })
10499
10500
  }).json();
10500
10501
  }
10502
+ async function getTaskDeleteImpact(httpClient, organization_id, workspace_id, { ids, from_recurring_task_id }, signal) {
10503
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/delete-impact`, {
10504
+ signal,
10505
+ searchParams: buildSearchParams$2({
10506
+ ids,
10507
+ from_recurring_task_id
10508
+ })
10509
+ }).json();
10510
+ }
10501
10511
  async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, unified_search, search, only_me, occurrence_window_date, occurrence_window_days, page, per_page } = {}, signal) {
10502
10512
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
10503
10513
  signal,
@@ -10612,13 +10622,14 @@ async function updateTask(httpClient, organization_id, workspace_id, task_id, da
10612
10622
  json: data
10613
10623
  }).json();
10614
10624
  }
10615
- async function deleteTask(httpClient, organization_id, workspace_id, task_id, from_recurring_task_id, scope, outbound_sync, signal) {
10625
+ async function deleteTask(httpClient, organization_id, workspace_id, task_id, from_recurring_task_id, scope, outbound_sync, move_time_to_task_id, signal) {
10616
10626
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
10617
10627
  signal,
10618
10628
  searchParams: buildSearchParams$2({
10619
10629
  from_recurring_task_id,
10620
10630
  scope,
10621
- outbound_sync
10631
+ outbound_sync,
10632
+ move_time_to_task_id
10622
10633
  })
10623
10634
  }).json();
10624
10635
  }
@@ -25459,6 +25470,36 @@ const generatedFocusOperations = [
25459
25470
  ]));
25460
25471
  }
25461
25472
  },
25473
+ {
25474
+ id: "focus.tasks.get-delete-impact",
25475
+ family: "focus",
25476
+ resource: "tasks",
25477
+ action: "get-delete-impact",
25478
+ title: "Get Delete Impact Tasks",
25479
+ description: "Get Delete Impact Tasks.",
25480
+ safety: "read",
25481
+ destructive: false,
25482
+ cli: {
25483
+ group: ["tasks"],
25484
+ command: "get-delete-impact",
25485
+ interactive: "hidden"
25486
+ },
25487
+ mcp: { entityTool: "tasks" },
25488
+ inputSchema: /* @__PURE__ */ looseObject({
25489
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
25490
+ ids: /* @__PURE__ */ unknown$1()
25491
+ }),
25492
+ execute: (input, { client }) => {
25493
+ const data = input;
25494
+ return client.runGeneratedRequest("getTaskDeleteImpact", () => callGeneratedRequest(getTaskDeleteImpact, [
25495
+ client.httpClient,
25496
+ client.organizationId,
25497
+ client.workspaceIdNumber,
25498
+ data,
25499
+ void 0
25500
+ ]));
25501
+ }
25502
+ },
25462
25503
  {
25463
25504
  id: "focus.tasks.get-picker-task-children",
25464
25505
  family: "focus",
@@ -31286,4 +31327,4 @@ Common commands:
31286
31327
  //#endregion
31287
31328
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
31288
31329
 
31289
- //# sourceMappingURL=program-DUmiaHO1.js.map
31330
+ //# sourceMappingURL=program-Cnxg1UIA.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-DUmiaHO1.js";
1
+ import { t as createProgram } from "./program-Cnxg1UIA.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.13.94",
3
+ "version": "1.13.95",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",