@togglhq/cli 1.13.157 → 1.13.159

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-J6ByEdvJ.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-Bq2_rov1.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-J6ByEdvJ.js";
1
+ import { t as createProgram } from "./program-Bq2_rov1.js";
2
2
  export { createProgram };
@@ -10378,7 +10378,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10378
10378
  }
10379
10379
  //#endregion
10380
10380
  //#region ../focus-queries/dist/tasks/requests.ts
10381
- 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, occurrence_window_date, occurrence_window_days, 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 } = {}, signal) {
10381
+ 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, occurrence_window_date, occurrence_window_days, 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, ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
10382
10382
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10383
10383
  signal,
10384
10384
  searchParams: buildSearchParams$2({
@@ -10422,6 +10422,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10422
10422
  tag_id,
10423
10423
  recurring,
10424
10424
  recurring_task_ids,
10425
+ ids,
10425
10426
  client_id,
10426
10427
  include_rates,
10427
10428
  include_assignees,
@@ -10575,7 +10576,7 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10575
10576
  })
10576
10577
  }).json();
10577
10578
  }
10578
- 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, occurrence_window_date, occurrence_window_days, 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 } = {}, signal) {
10579
+ 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, occurrence_window_date, occurrence_window_days, 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, ids, client_id, include_assignees, cf_filter } = {}, signal) {
10579
10580
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10580
10581
  signal,
10581
10582
  searchParams: buildSearchParams$2({
@@ -10618,6 +10619,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10618
10619
  tag_id,
10619
10620
  recurring,
10620
10621
  recurring_task_ids,
10622
+ ids,
10621
10623
  client_id,
10622
10624
  include_assignees,
10623
10625
  cf_filter
@@ -10987,7 +10989,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
10987
10989
  ]))
10988
10990
  });
10989
10991
  //#endregion
10990
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.303_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6f2a8838dd7aa168ff2487a1019b35d2/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10992
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.304_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6863d91d0d649a262d016ef6d78987fc/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10991
10993
  async function getInvitations(httpClient, signal) {
10992
10994
  return (await httpClient.get(`invitations`, { signal })).json();
10993
10995
  }
@@ -11004,7 +11006,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
11004
11006
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
11005
11007
  }
11006
11008
  //#endregion
11007
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.303_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6f2a8838dd7aa168ff2487a1019b35d2/node_modules/@toggl/queries/dist/org/utils/requests.mjs
11009
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.304_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6863d91d0d649a262d016ef6d78987fc/node_modules/@toggl/queries/dist/org/utils/requests.mjs
11008
11010
  function buildSearchParams(params, flattenArrays = false) {
11009
11011
  const searchParams = new URLSearchParams();
11010
11012
  Object.entries(params).forEach(([key, value]) => {
@@ -11016,7 +11018,7 @@ function buildSearchParams(params, flattenArrays = false) {
11016
11018
  return searchParams;
11017
11019
  }
11018
11020
  //#endregion
11019
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.303_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6f2a8838dd7aa168ff2487a1019b35d2/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
11021
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.304_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6863d91d0d649a262d016ef6d78987fc/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
11020
11022
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
11021
11023
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
11022
11024
  }
@@ -11031,7 +11033,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
11031
11033
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
11032
11034
  }
11033
11035
  //#endregion
11034
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.303_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6f2a8838dd7aa168ff2487a1019b35d2/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
11036
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.304_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6863d91d0d649a262d016ef6d78987fc/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
11035
11037
  async function getWorkspaces(httpClient, organization_id, signal) {
11036
11038
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
11037
11039
  }
@@ -11051,7 +11053,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
11051
11053
  });
11052
11054
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
11053
11055
  //#endregion
11054
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.303_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6f2a8838dd7aa168ff2487a1019b35d2/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
11056
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.304_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6863d91d0d649a262d016ef6d78987fc/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
11055
11057
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
11056
11058
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
11057
11059
  signal,
@@ -11062,12 +11064,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
11062
11064
  })).json();
11063
11065
  }
11064
11066
  //#endregion
11065
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.303_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6f2a8838dd7aa168ff2487a1019b35d2/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
11067
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.304_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6863d91d0d649a262d016ef6d78987fc/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
11066
11068
  async function getStatus(httpClient, signal) {
11067
11069
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
11068
11070
  }
11069
11071
  //#endregion
11070
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.303_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6f2a8838dd7aa168ff2487a1019b35d2/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
11072
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.304_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6863d91d0d649a262d016ef6d78987fc/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
11071
11073
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
11072
11074
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
11073
11075
  signal,
@@ -11095,7 +11097,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
11095
11097
  return response.json();
11096
11098
  }
11097
11099
  //#endregion
11098
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.303_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6f2a8838dd7aa168ff2487a1019b35d2/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
11100
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.304_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6863d91d0d649a262d016ef6d78987fc/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
11099
11101
  async function getMyWorkingHours(httpClient, organization_id, signal) {
11100
11102
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
11101
11103
  }
@@ -26520,6 +26522,7 @@ const generatedFocusOperations = [
26520
26522
  estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
26521
26523
  has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
26522
26524
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
26525
+ ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
26523
26526
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
26524
26527
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
26525
26528
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -32236,4 +32239,4 @@ Common commands:
32236
32239
  //#endregion
32237
32240
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
32238
32241
 
32239
- //# sourceMappingURL=program-J6ByEdvJ.js.map
32242
+ //# sourceMappingURL=program-Bq2_rov1.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-J6ByEdvJ.js";
1
+ import { t as createProgram } from "./program-Bq2_rov1.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.13.157",
3
+ "version": "1.13.159",
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.303",
59
+ "@toggl/queries": "2.2.304",
60
60
  "@types/node": "22.19.11",
61
61
  "tsdown": "0.21.8",
62
62
  "typescript": "5.9.3",