@togglhq/cli 1.11.214 → 1.11.216

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-BgWsjXmX.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-cGkhalzS.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-BgWsjXmX.js";
1
+ import { t as createProgram } from "./program-cGkhalzS.js";
2
2
  export { createProgram };
@@ -7680,6 +7680,68 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
7680
7680
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7681
7681
  source_template_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7682
7682
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7683
+ task_group_counts: /* @__PURE__ */ optional(/* @__PURE__ */ object({
7684
+ eligible_total: /* @__PURE__ */ number(),
7685
+ matching_total: /* @__PURE__ */ number()
7686
+ })),
7687
+ tasks: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ object({
7688
+ allocation_unit: /* @__PURE__ */ picklist(["percent", "flat"]),
7689
+ created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
7690
+ eligible_child_count: /* @__PURE__ */ number(),
7691
+ estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
7692
+ group_id: /* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("GroupID stays stable when a hidden parent is represented by an eligible child.")),
7693
+ id: /* @__PURE__ */ number(),
7694
+ is_template: /* @__PURE__ */ boolean(),
7695
+ matching_child_count: /* @__PURE__ */ number(),
7696
+ name: /* @__PURE__ */ string(),
7697
+ parent_visible: /* @__PURE__ */ boolean(),
7698
+ pinned: /* @__PURE__ */ boolean(),
7699
+ position: /* @__PURE__ */ number(),
7700
+ priority: /* @__PURE__ */ picklist([
7701
+ "none",
7702
+ "low",
7703
+ "medium",
7704
+ "high"
7705
+ ]),
7706
+ private: /* @__PURE__ */ boolean(),
7707
+ selectable: /* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Selectable is false for ineligible parents and nonmatching context parents under unified_search.")),
7708
+ source: /* @__PURE__ */ string(),
7709
+ status_id: /* @__PURE__ */ number(),
7710
+ subtasks: /* @__PURE__ */ array(TaskSchema),
7711
+ tag_ids: /* @__PURE__ */ array(/* @__PURE__ */ number()),
7712
+ tags: /* @__PURE__ */ array(TagLiteSchema),
7713
+ toggl_user_id: /* @__PURE__ */ number(),
7714
+ workspace_id: /* @__PURE__ */ number(),
7715
+ archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7716
+ assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7717
+ assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
7718
+ auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7719
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7720
+ client: /* @__PURE__ */ optional(ClientLiteSchema),
7721
+ color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7722
+ custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
7723
+ deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7724
+ description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7725
+ end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7726
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7727
+ is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
7728
+ metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7729
+ notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7730
+ parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7731
+ parent_task_name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7732
+ priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7733
+ project: /* @__PURE__ */ optional(ProjectLiteSchema),
7734
+ project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7735
+ recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7736
+ recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7737
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7738
+ rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7739
+ source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7740
+ start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7741
+ status: /* @__PURE__ */ optional(StatusLiteSchema),
7742
+ status_updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7743
+ updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7744
+ }))),
7683
7745
  total_tasks: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7684
7746
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7685
7747
  });
@@ -10060,12 +10122,14 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
10060
10122
  }
10061
10123
  //#endregion
10062
10124
  //#region ../focus-queries/dist/projects/requests.ts
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) {
10125
+ async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_tasks, unified_search, 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
10126
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
10065
10127
  signal,
10066
10128
  searchParams: buildSearchParams$2({
10067
10129
  member_only,
10068
10130
  include_task_counts,
10131
+ include_tasks,
10132
+ unified_search,
10069
10133
  include_picker_parent_group_counts,
10070
10134
  task_archived,
10071
10135
  task_recurring,
@@ -10460,7 +10524,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
10460
10524
  })
10461
10525
  }).json();
10462
10526
  }
10463
- async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
10527
+ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, unified_search, search, only_me, page, per_page } = {}, signal) {
10464
10528
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
10465
10529
  signal,
10466
10530
  searchParams: buildSearchParams$2({
@@ -10468,6 +10532,7 @@ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace
10468
10532
  without_project,
10469
10533
  pinned_only,
10470
10534
  include_unassigned,
10535
+ unified_search,
10471
10536
  search,
10472
10537
  only_me,
10473
10538
  page,
@@ -10475,13 +10540,14 @@ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace
10475
10540
  })
10476
10541
  }).json();
10477
10542
  }
10478
- async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
10543
+ async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, unified_search, search, only_me, page, per_page } = {}, signal) {
10479
10544
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
10480
10545
  signal,
10481
10546
  searchParams: buildSearchParams$2({
10482
10547
  project_id,
10483
10548
  without_project,
10484
10549
  include_unassigned,
10550
+ unified_search,
10485
10551
  search,
10486
10552
  only_me,
10487
10553
  page,
@@ -23659,6 +23725,7 @@ const generatedFocusOperations = [
23659
23725
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23660
23726
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23661
23727
  search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23728
+ unified_search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23662
23729
  without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23663
23730
  }),
23664
23731
  execute: (input, { client }) => {
@@ -23696,6 +23763,7 @@ const generatedFocusOperations = [
23696
23763
  pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23697
23764
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23698
23765
  search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23766
+ unified_search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23699
23767
  without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23700
23768
  }),
23701
23769
  execute: (input, { client }) => {
@@ -29287,4 +29355,4 @@ Common commands:
29287
29355
  //#endregion
29288
29356
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
29289
29357
 
29290
- //# sourceMappingURL=program-BgWsjXmX.js.map
29358
+ //# sourceMappingURL=program-cGkhalzS.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-BgWsjXmX.js";
1
+ import { t as createProgram } from "./program-cGkhalzS.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.11.214",
3
+ "version": "1.11.216",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",