@togglhq/cli 1.12.5 → 1.12.7

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-pejSqsVT.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-C6Dg7orD.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-pejSqsVT.js";
1
+ import { t as createProgram } from "./program-C6Dg7orD.js";
2
2
  export { createProgram };
@@ -7586,6 +7586,70 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
7586
7586
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7587
7587
  source_template_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7588
7588
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7589
+ task_group_counts: /* @__PURE__ */ optional(/* @__PURE__ */ object({
7590
+ eligible_total: /* @__PURE__ */ number(),
7591
+ matching_total: /* @__PURE__ */ number()
7592
+ })),
7593
+ tasks: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ object({
7594
+ allocation_unit: /* @__PURE__ */ picklist(["percent", "flat"]),
7595
+ created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
7596
+ eligible_child_count: /* @__PURE__ */ number(),
7597
+ estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
7598
+ group_id: /* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("GroupID stays stable when a hidden parent is represented by an eligible child.")),
7599
+ id: /* @__PURE__ */ number(),
7600
+ is_template: /* @__PURE__ */ boolean(),
7601
+ matching_child_count: /* @__PURE__ */ number(),
7602
+ name: /* @__PURE__ */ string(),
7603
+ parent_visible: /* @__PURE__ */ boolean(),
7604
+ pinned: /* @__PURE__ */ boolean(),
7605
+ position: /* @__PURE__ */ number(),
7606
+ priority: /* @__PURE__ */ picklist([
7607
+ "none",
7608
+ "low",
7609
+ "medium",
7610
+ "high"
7611
+ ]),
7612
+ private: /* @__PURE__ */ boolean(),
7613
+ selectable: /* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Selectable is false for ineligible parents and nonmatching context parents under unified_search.")),
7614
+ source: /* @__PURE__ */ string(),
7615
+ status_id: /* @__PURE__ */ number(),
7616
+ subtasks: /* @__PURE__ */ array(TaskSchema),
7617
+ tag_ids: /* @__PURE__ */ array(/* @__PURE__ */ number()),
7618
+ tags: /* @__PURE__ */ array(TagLiteSchema),
7619
+ toggl_user_id: /* @__PURE__ */ number(),
7620
+ workspace_id: /* @__PURE__ */ number(),
7621
+ archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7622
+ assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7623
+ assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
7624
+ auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7625
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7626
+ client: /* @__PURE__ */ optional(ClientLiteSchema),
7627
+ color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7628
+ custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
7629
+ deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7630
+ description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7631
+ end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7632
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7633
+ 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."))),
7634
+ metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7635
+ notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7636
+ parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7637
+ parent_task_name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7638
+ priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7639
+ project: /* @__PURE__ */ optional(ProjectLiteSchema),
7640
+ project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7641
+ recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7642
+ recurring_rule: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("The rule of the task's series (RRULE with DTSTART); omitted for a normal task and once the series has stopped."))),
7643
+ recurring_series_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("The series this task is an occurrence of; omitted for a normal task. Only the server sets it."))),
7644
+ recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7645
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7646
+ rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7647
+ source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7648
+ start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7649
+ status: /* @__PURE__ */ optional(StatusLiteSchema),
7650
+ status_updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7651
+ updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7652
+ }))),
7589
7653
  total_tasks: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7590
7654
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7591
7655
  });
@@ -7762,7 +7826,7 @@ const ProjectPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7762
7826
  estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["manual", "tasks"])),
7763
7827
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
7764
7828
  fixed_fee: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(ProjectFixedFeePayloadSchema)),
7765
- name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7829
+ name: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ minLength(1))),
7766
7830
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7767
7831
  pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7768
7832
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7790,7 +7854,7 @@ const ProjectPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7790
7854
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
7791
7855
  fixed_fee: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(ProjectFixedFeePayloadSchema)),
7792
7856
  groups: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(ProjectBulkGroupEntrySchema))),
7793
- name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7857
+ name: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ minLength(1))),
7794
7858
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7795
7859
  pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7796
7860
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7851,7 +7915,7 @@ const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PU
7851
7915
  const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7852
7916
  const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7853
7917
  after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7854
- allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
7918
+ allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["percent", "flat"])),
7855
7919
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7856
7920
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7857
7921
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
@@ -7861,7 +7925,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7861
7925
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())), /* @__PURE__ */ description("Send together with start_date; must be on or after start_date."))),
7862
7926
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7863
7927
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
7864
- name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7928
+ name: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ minLength(1))),
7865
7929
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7866
7930
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7867
7931
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
@@ -7889,7 +7953,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7889
7953
  const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7890
7954
  id: /* @__PURE__ */ number(),
7891
7955
  after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7892
- allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
7956
+ allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["percent", "flat"])),
7893
7957
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7894
7958
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7895
7959
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
@@ -7899,7 +7963,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7899
7963
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())), /* @__PURE__ */ description("Send together with start_date; must be on or after start_date."))),
7900
7964
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7901
7965
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
7902
- name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7966
+ name: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ minLength(1))),
7903
7967
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7904
7968
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7905
7969
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
@@ -9971,12 +10035,14 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
9971
10035
  }
9972
10036
  //#endregion
9973
10037
  //#region ../focus-queries/dist/projects/requests.ts
9974
- 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, task_occurrence_window_date, task_occurrence_window_days, 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) {
10038
+ 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, task_occurrence_window_date, task_occurrence_window_days, 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) {
9975
10039
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
9976
10040
  signal,
9977
10041
  searchParams: buildSearchParams$2({
9978
10042
  member_only,
9979
10043
  include_task_counts,
10044
+ include_tasks,
10045
+ unified_search,
9980
10046
  include_picker_parent_group_counts,
9981
10047
  task_archived,
9982
10048
  task_recurring,
@@ -10371,7 +10437,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
10371
10437
  })
10372
10438
  }).json();
10373
10439
  }
10374
- async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, occurrence_window_date, occurrence_window_days, page, per_page } = {}, signal) {
10440
+ 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) {
10375
10441
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
10376
10442
  signal,
10377
10443
  searchParams: buildSearchParams$2({
@@ -10379,6 +10445,7 @@ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace
10379
10445
  without_project,
10380
10446
  pinned_only,
10381
10447
  include_unassigned,
10448
+ unified_search,
10382
10449
  search,
10383
10450
  only_me,
10384
10451
  occurrence_window_date,
@@ -10388,13 +10455,14 @@ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace
10388
10455
  })
10389
10456
  }).json();
10390
10457
  }
10391
- async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
10458
+ 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) {
10392
10459
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
10393
10460
  signal,
10394
10461
  searchParams: buildSearchParams$2({
10395
10462
  project_id,
10396
10463
  without_project,
10397
10464
  include_unassigned,
10465
+ unified_search,
10398
10466
  search,
10399
10467
  only_me,
10400
10468
  page,
@@ -10804,7 +10872,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
10804
10872
  ]))
10805
10873
  });
10806
10874
  //#endregion
10807
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10875
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.189_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_23c5c16ba6d2faa2d3cacd6024289848/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10808
10876
  async function getInvitations(httpClient, signal) {
10809
10877
  return (await httpClient.get(`invitations`, { signal })).json();
10810
10878
  }
@@ -10821,7 +10889,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
10821
10889
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
10822
10890
  }
10823
10891
  //#endregion
10824
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/utils/requests.mjs
10892
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.189_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_23c5c16ba6d2faa2d3cacd6024289848/node_modules/@toggl/queries/dist/org/utils/requests.mjs
10825
10893
  function buildSearchParams(params, flattenArrays = false) {
10826
10894
  const searchParams = new URLSearchParams();
10827
10895
  Object.entries(params).forEach(([key, value]) => {
@@ -10833,7 +10901,7 @@ function buildSearchParams(params, flattenArrays = false) {
10833
10901
  return searchParams;
10834
10902
  }
10835
10903
  //#endregion
10836
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
10904
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.189_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_23c5c16ba6d2faa2d3cacd6024289848/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
10837
10905
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
10838
10906
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
10839
10907
  }
@@ -10847,7 +10915,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
10847
10915
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
10848
10916
  }
10849
10917
  //#endregion
10850
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
10918
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.189_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_23c5c16ba6d2faa2d3cacd6024289848/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
10851
10919
  async function getWorkspaces(httpClient, organization_id, signal) {
10852
10920
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
10853
10921
  }
@@ -10867,7 +10935,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
10867
10935
  });
10868
10936
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
10869
10937
  //#endregion
10870
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
10938
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.189_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_23c5c16ba6d2faa2d3cacd6024289848/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
10871
10939
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
10872
10940
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
10873
10941
  signal,
@@ -10878,12 +10946,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
10878
10946
  })).json();
10879
10947
  }
10880
10948
  //#endregion
10881
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
10949
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.189_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_23c5c16ba6d2faa2d3cacd6024289848/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
10882
10950
  async function getStatus(httpClient, signal) {
10883
10951
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
10884
10952
  }
10885
10953
  //#endregion
10886
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
10954
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.189_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_23c5c16ba6d2faa2d3cacd6024289848/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
10887
10955
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
10888
10956
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
10889
10957
  signal,
@@ -10911,7 +10979,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
10911
10979
  return response.json();
10912
10980
  }
10913
10981
  //#endregion
10914
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
10982
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.189_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_23c5c16ba6d2faa2d3cacd6024289848/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
10915
10983
  async function getMyWorkingHours(httpClient, organization_id, signal) {
10916
10984
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
10917
10985
  }
@@ -18073,6 +18141,7 @@ const generatedFocusOperations = [
18073
18141
  inputSchema: /* @__PURE__ */ looseObject({
18074
18142
  milestone_id: /* @__PURE__ */ number$2(),
18075
18143
  payload: /* @__PURE__ */ looseObject({
18144
+ color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18076
18145
  due_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
18077
18146
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18078
18147
  project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
@@ -23876,6 +23945,7 @@ const generatedFocusOperations = [
23876
23945
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23877
23946
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23878
23947
  search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23948
+ unified_search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23879
23949
  without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23880
23950
  }),
23881
23951
  execute: (input, { client }) => {
@@ -23915,6 +23985,7 @@ const generatedFocusOperations = [
23915
23985
  pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23916
23986
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23917
23987
  search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23988
+ unified_search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23918
23989
  without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23919
23990
  }),
23920
23991
  execute: (input, { client }) => {
@@ -29582,4 +29653,4 @@ Common commands:
29582
29653
  //#endregion
29583
29654
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
29584
29655
 
29585
- //# sourceMappingURL=program-pejSqsVT.js.map
29656
+ //# sourceMappingURL=program-C6Dg7orD.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-pejSqsVT.js";
1
+ import { t as createProgram } from "./program-C6Dg7orD.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.12.5",
3
+ "version": "1.12.7",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -56,7 +56,7 @@
56
56
  "devDependencies": {
57
57
  "@toggl/cli-core": "workspace:^",
58
58
  "@toggl/operations": "workspace:^",
59
- "@toggl/queries": "2.2.185",
59
+ "@toggl/queries": "2.2.189",
60
60
  "@types/node": "22.19.11",
61
61
  "tsdown": "0.21.8",
62
62
  "typescript": "5.9.3",