@togglhq/cli 1.11.211 → 1.11.212

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-By0FIWtl.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-B3EtOckP.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-By0FIWtl.js";
1
+ import { t as createProgram } from "./program-B3EtOckP.js";
2
2
  export { createProgram };
@@ -10060,10 +10060,11 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
10060
10060
  }
10061
10061
  //#endregion
10062
10062
  //#region ../focus-queries/dist/projects/requests.ts
10063
- async function getProjectsClassic(httpClient, organization_id, workspace_id, { include_task_counts, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
10063
+ async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
10064
10064
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
10065
10065
  signal,
10066
10066
  searchParams: buildSearchParams$2({
10067
+ member_only,
10067
10068
  include_task_counts,
10068
10069
  include_picker_parent_group_counts,
10069
10070
  task_archived,
@@ -10323,7 +10324,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10323
10324
  }
10324
10325
  //#endregion
10325
10326
  //#region ../focus-queries/dist/tasks/requests.ts
10326
- async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
10327
+ async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_dates, private: private_, archived, active_project, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
10327
10328
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10328
10329
  signal,
10329
10330
  searchParams: buildSearchParams$2({
@@ -10339,6 +10340,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10339
10340
  has_dates,
10340
10341
  private: private_,
10341
10342
  archived,
10343
+ active_project,
10342
10344
  include_project_completed,
10343
10345
  include_drafts,
10344
10346
  project_id,
@@ -10511,7 +10513,7 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10511
10513
  })
10512
10514
  }).json();
10513
10515
  }
10514
- async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
10516
+ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_dates, private: private_, archived, active_project, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
10515
10517
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10516
10518
  signal,
10517
10519
  searchParams: buildSearchParams$2({
@@ -10526,6 +10528,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10526
10528
  has_dates,
10527
10529
  private: private_,
10528
10530
  archived,
10531
+ active_project,
10529
10532
  include_project_completed,
10530
10533
  include_drafts,
10531
10534
  project_id,
@@ -23768,6 +23771,7 @@ const generatedFocusOperations = [
23768
23771
  mcp: { entityTool: "tasks" },
23769
23772
  inputSchema: /* @__PURE__ */ looseObject({
23770
23773
  active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23774
+ active_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23771
23775
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23772
23776
  assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23773
23777
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -27211,7 +27215,10 @@ const generatedFocusOperations = [
27211
27215
  interactive: "default"
27212
27216
  },
27213
27217
  mcp: { entityTool: "users" },
27214
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ has_opened_focus: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()) }) }),
27218
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
27219
+ has_opened_focus: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
27220
+ work_introduction_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
27221
+ }) }),
27215
27222
  execute: (input, { client }) => {
27216
27223
  const data = input;
27217
27224
  return client.runGeneratedRequest("partialUpdateUserWorkspaceSettings", () => callGeneratedRequest(partialUpdateUserWorkspaceSettings, [
@@ -29246,4 +29253,4 @@ Common commands:
29246
29253
  //#endregion
29247
29254
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
29248
29255
 
29249
- //# sourceMappingURL=program-By0FIWtl.js.map
29256
+ //# sourceMappingURL=program-B3EtOckP.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-By0FIWtl.js";
1
+ import { t as createProgram } from "./program-B3EtOckP.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.11.211",
3
+ "version": "1.11.212",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",