@togglhq/cli 1.5.29 → 1.5.31

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 { n as CommanderError, t as createProgram } from "./program-0krLPqUR.js";
2
+ import { n as CommanderError, t as createProgram } from "./program-CL3hA2de.js";
3
3
  //#region src/cli.ts
4
4
  try {
5
5
  await createProgram({ enableUpdateNotification: true }).parseAsync(process.argv);
package/build/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-0krLPqUR.js";
1
+ import { t as createProgram } from "./program-CL3hA2de.js";
2
2
  export { createProgram };
@@ -8796,6 +8796,7 @@ const TagLiteSchema = /* @__PURE__ */ object({
8796
8796
  });
8797
8797
  const TaskSchema = /* @__PURE__ */ object({
8798
8798
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
8799
+ estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
8799
8800
  id: /* @__PURE__ */ number(),
8800
8801
  is_template: /* @__PURE__ */ boolean(),
8801
8802
  name: /* @__PURE__ */ string(),
@@ -8845,6 +8846,7 @@ const TaskSchema = /* @__PURE__ */ object({
8845
8846
  });
8846
8847
  const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
8847
8848
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
8849
+ estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
8848
8850
  id: /* @__PURE__ */ number(),
8849
8851
  is_template: /* @__PURE__ */ boolean(),
8850
8852
  name: /* @__PURE__ */ string(),
@@ -9050,6 +9052,7 @@ const TimeBlockSchema = /* @__PURE__ */ object({
9050
9052
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9051
9053
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9052
9054
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9055
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
9053
9056
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
9054
9057
  });
9055
9058
  const BillableSourceSchema = /* @__PURE__ */ picklist(["manual", "task_default"]);
@@ -9073,6 +9076,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
9073
9076
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9074
9077
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9075
9078
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9079
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
9076
9080
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9077
9081
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
9078
9082
  });
@@ -9195,6 +9199,7 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
9195
9199
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9196
9200
  has_time_entry: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9197
9201
  task: /* @__PURE__ */ optional(TaskSchema),
9202
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
9198
9203
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
9199
9204
  })),
9200
9205
  page: /* @__PURE__ */ number(),
@@ -9235,6 +9240,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
9235
9240
  task: /* @__PURE__ */ optional(TaskSchema),
9236
9241
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9237
9242
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9243
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
9238
9244
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9239
9245
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
9240
9246
  })),
@@ -9384,6 +9390,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
9384
9390
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ unknown())),
9385
9391
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9386
9392
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
9393
+ estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
9387
9394
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9388
9395
  ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
9389
9396
  integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -9422,6 +9429,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
9422
9429
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
9423
9430
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9424
9431
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
9432
+ estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
9425
9433
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9426
9434
  ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
9427
9435
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -9455,6 +9463,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
9455
9463
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
9456
9464
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9457
9465
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
9466
+ estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
9458
9467
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9459
9468
  ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
9460
9469
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -9610,7 +9619,7 @@ async function updateOrganizationGroupUserRole(httpClient, organization_id, grou
9610
9619
  async function getOrganizationRoles(httpClient, organization_id, signal) {
9611
9620
  return await httpClient.get(`organizations/${organization_id}/roles`, { signal }).json();
9612
9621
  }
9613
- async function getOrganizationTeamsClassic(httpClient, organization_id, { workspace_id, page, per_page, sort_dir, filter, query, organization_user_id, group_ids }, signal) {
9622
+ async function getOrganizationTeamsClassic(httpClient, organization_id, { workspace_id, page, per_page, sort_dir, filter, query, organization_user_id, group_ids, active_members_only }, signal) {
9614
9623
  return await httpClient.get(`organizations/${organization_id}/teams`, {
9615
9624
  signal,
9616
9625
  searchParams: buildSearchParams$3({
@@ -9621,7 +9630,8 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
9621
9630
  filter,
9622
9631
  query,
9623
9632
  organization_user_id,
9624
- group_ids
9633
+ group_ids,
9634
+ active_members_only
9625
9635
  })
9626
9636
  }).json();
9627
9637
  }
@@ -10065,25 +10075,23 @@ async function getTaskByExternalId(httpClient, organization_id, workspace_id, {
10065
10075
  })
10066
10076
  }).json();
10067
10077
  }
10068
- async function getTasksCalendarEvents(httpClient, organization_id, workspace_id, { date_from, date_to, calendar_event_id, time_zone, hidden } = {}, signal) {
10078
+ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id, { date_from, date_to, calendar_event_id, hidden } = {}, signal) {
10069
10079
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
10070
10080
  signal,
10071
10081
  searchParams: buildSearchParams$3({
10072
10082
  date_from,
10073
10083
  date_to,
10074
10084
  calendar_event_id,
10075
- time_zone,
10076
10085
  hidden
10077
10086
  })
10078
10087
  }).json();
10079
10088
  }
10080
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, timezone, signal) {
10089
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
10081
10090
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
10082
10091
  signal,
10083
10092
  searchParams: buildSearchParams$3({
10084
10093
  date_from,
10085
- date_to,
10086
- timezone
10094
+ date_to
10087
10095
  })
10088
10096
  }).json();
10089
10097
  }
@@ -10107,7 +10115,7 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10107
10115
  })
10108
10116
  }).json();
10109
10117
  }
10110
- async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, 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, time_block_id, time_block_completed, team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
10118
+ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, 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, time_block_id, time_block_completed, team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
10111
10119
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10112
10120
  signal,
10113
10121
  searchParams: buildSearchParams$3({
@@ -10120,6 +10128,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10120
10128
  has_time_entries,
10121
10129
  has_time_blocks,
10122
10130
  has_dates,
10131
+ private: private_,
10123
10132
  archived,
10124
10133
  include_project_completed,
10125
10134
  include_drafts,
@@ -10353,7 +10362,7 @@ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id,
10353
10362
  json: data
10354
10363
  }).json();
10355
10364
  }
10356
- async function getTimeEntriesRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, page, per_page, order_by, archived, time_block_id, include_taskless, expand_calendar_event, time_zone }, signal) {
10365
+ async function getTimeEntriesRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, page, per_page, order_by, archived, time_block_id, include_taskless, expand_calendar_event }, signal) {
10357
10366
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
10358
10367
  signal,
10359
10368
  searchParams: buildSearchParams$3({
@@ -10368,8 +10377,7 @@ async function getTimeEntriesRangeWithOrgClassic(httpClient, organization_id, wo
10368
10377
  archived,
10369
10378
  time_block_id,
10370
10379
  include_taskless,
10371
- expand_calendar_event,
10372
- time_zone
10380
+ expand_calendar_event
10373
10381
  })
10374
10382
  }).json();
10375
10383
  }
@@ -10421,7 +10429,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
10421
10429
  json: data
10422
10430
  }).json();
10423
10431
  }
10424
- async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless, expand_calendar_event, time_zone }, signal) {
10432
+ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
10425
10433
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
10426
10434
  signal,
10427
10435
  searchParams: buildSearchParams$3({
@@ -10433,8 +10441,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
10433
10441
  order_by,
10434
10442
  archived,
10435
10443
  include_taskless,
10436
- expand_calendar_event,
10437
- time_zone
10444
+ expand_calendar_event
10438
10445
  })
10439
10446
  }).json();
10440
10447
  }
@@ -10570,7 +10577,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
10570
10577
  ]))
10571
10578
  });
10572
10579
  //#endregion
10573
- //#region ../../node_modules/.pnpm/@toggl+queries@0.15.21_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e185795a21ccf0053f35bb3174ff9cd2/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10580
+ //#region ../../node_modules/.pnpm/@toggl+queries@0.15.24_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ed9b6b8a86ac88aa35571489073a9959/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10574
10581
  async function getInvitations(httpClient, signal) {
10575
10582
  return (await httpClient.get(`invitations`, { signal })).json();
10576
10583
  }
@@ -10587,7 +10594,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
10587
10594
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
10588
10595
  }
10589
10596
  //#endregion
10590
- //#region ../../node_modules/.pnpm/@toggl+queries@0.15.21_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e185795a21ccf0053f35bb3174ff9cd2/node_modules/@toggl/queries/dist/org/utils/requests.mjs
10597
+ //#region ../../node_modules/.pnpm/@toggl+queries@0.15.24_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ed9b6b8a86ac88aa35571489073a9959/node_modules/@toggl/queries/dist/org/utils/requests.mjs
10591
10598
  function buildSearchParams$1(params, flattenArrays = false) {
10592
10599
  const searchParams = new URLSearchParams();
10593
10600
  Object.entries(params).forEach(([key, value]) => {
@@ -10599,7 +10606,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
10599
10606
  return searchParams;
10600
10607
  }
10601
10608
  //#endregion
10602
- //#region ../../node_modules/.pnpm/@toggl+queries@0.15.21_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e185795a21ccf0053f35bb3174ff9cd2/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
10609
+ //#region ../../node_modules/.pnpm/@toggl+queries@0.15.24_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ed9b6b8a86ac88aa35571489073a9959/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
10603
10610
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
10604
10611
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
10605
10612
  }
@@ -10613,7 +10620,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
10613
10620
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
10614
10621
  }
10615
10622
  //#endregion
10616
- //#region ../../node_modules/.pnpm/@toggl+queries@0.15.21_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e185795a21ccf0053f35bb3174ff9cd2/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
10623
+ //#region ../../node_modules/.pnpm/@toggl+queries@0.15.24_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ed9b6b8a86ac88aa35571489073a9959/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
10617
10624
  async function getWorkspaces(httpClient, organization_id, signal) {
10618
10625
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
10619
10626
  }
@@ -10642,7 +10649,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
10642
10649
  });
10643
10650
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
10644
10651
  //#endregion
10645
- //#region ../../node_modules/.pnpm/@toggl+queries@0.15.21_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e185795a21ccf0053f35bb3174ff9cd2/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
10652
+ //#region ../../node_modules/.pnpm/@toggl+queries@0.15.24_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ed9b6b8a86ac88aa35571489073a9959/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
10646
10653
  const META_SYMBOL = Symbol.for("querygen:response:meta");
10647
10654
  function withResponseMeta(data, headers, status) {
10648
10655
  if (!data) return data;
@@ -10669,7 +10676,7 @@ function buildSearchParams(params, flattenArrays = false) {
10669
10676
  return searchParams;
10670
10677
  }
10671
10678
  //#endregion
10672
- //#region ../../node_modules/.pnpm/@toggl+queries@0.15.21_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e185795a21ccf0053f35bb3174ff9cd2/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
10679
+ //#region ../../node_modules/.pnpm/@toggl+queries@0.15.24_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ed9b6b8a86ac88aa35571489073a9959/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
10673
10680
  async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
10674
10681
  const response = await httpClient.get(`shared_data/api/publicholidays/${year}`, {
10675
10682
  signal,
@@ -10678,12 +10685,12 @@ async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
10678
10685
  return withResponseMeta(await response.json(), response.headers, response.status);
10679
10686
  }
10680
10687
  //#endregion
10681
- //#region ../../node_modules/.pnpm/@toggl+queries@0.15.21_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e185795a21ccf0053f35bb3174ff9cd2/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
10688
+ //#region ../../node_modules/.pnpm/@toggl+queries@0.15.24_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ed9b6b8a86ac88aa35571489073a9959/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
10682
10689
  async function getStatus(httpClient, signal) {
10683
10690
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
10684
10691
  }
10685
10692
  //#endregion
10686
- //#region ../../node_modules/.pnpm/@toggl+queries@0.15.21_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e185795a21ccf0053f35bb3174ff9cd2/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
10693
+ //#region ../../node_modules/.pnpm/@toggl+queries@0.15.24_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ed9b6b8a86ac88aa35571489073a9959/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
10687
10694
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
10688
10695
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
10689
10696
  signal,
@@ -10711,7 +10718,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
10711
10718
  return response.json();
10712
10719
  }
10713
10720
  //#endregion
10714
- //#region ../../node_modules/.pnpm/@toggl+queries@0.15.21_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e185795a21ccf0053f35bb3174ff9cd2/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
10721
+ //#region ../../node_modules/.pnpm/@toggl+queries@0.15.24_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ed9b6b8a86ac88aa35571489073a9959/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
10715
10722
  async function getMyWorkingHours(httpClient, organization_id, signal) {
10716
10723
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
10717
10724
  }
@@ -14340,6 +14347,18 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
14340
14347
  async function getProjectMarginTargets(httpClient, organization_id, workspace_id, signal) {
14341
14348
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets`, { signal }).json();
14342
14349
  }
14350
+ async function getWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
14351
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
14352
+ }
14353
+ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, data, signal) {
14354
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, {
14355
+ signal,
14356
+ json: data
14357
+ }).json();
14358
+ }
14359
+ async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
14360
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
14361
+ }
14343
14362
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
14344
14363
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
14345
14364
  }
@@ -14409,6 +14428,29 @@ async function createTaskRate(httpClient, organization_id, workspace_id, task_id
14409
14428
  }).json();
14410
14429
  }
14411
14430
  //#endregion
14431
+ //#region ../focus-queries/dist/recurring-budget-suggestions/requests.ts
14432
+ async function getRecurringProjectBudgetSuggestion(httpClient, organization_id, workspace_id, project_id, { target_period_start }, signal) {
14433
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/recurring-budget-suggestions/${project_id}`, {
14434
+ signal,
14435
+ searchParams: buildSearchParams$3({ target_period_start })
14436
+ }).json();
14437
+ }
14438
+ async function acceptARecurringProjectBudgetSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
14439
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/recurring-budget-suggestions/${project_id}/accept`, { signal }).json();
14440
+ }
14441
+ async function dismissARecurringProjectBudgetSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
14442
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/recurring-budget-suggestions/${project_id}/dismiss`, { signal }).json();
14443
+ }
14444
+ async function getTemplateEstimateSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
14445
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/template-estimate-suggestions/${project_id}`, { signal }).json();
14446
+ }
14447
+ async function acceptATemplateEstimateSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
14448
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/template-estimate-suggestions/${project_id}/accept`, { signal }).json();
14449
+ }
14450
+ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
14451
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/template-estimate-suggestions/${project_id}/dismiss`, { signal }).json();
14452
+ }
14453
+ //#endregion
14412
14454
  //#region ../focus-queries/dist/reports/requests.ts
14413
14455
  async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
14414
14456
  return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
@@ -14496,6 +14538,9 @@ async function getCurrentSubscription(httpClient, organization_id, signal) {
14496
14538
  async function getFeaturesUpsell(httpClient, organization_id, signal) {
14497
14539
  return await httpClient.get(`organizations/${organization_id}/subscriptions/features-upsell`, { signal }).json();
14498
14540
  }
14541
+ async function getSubscriptionPlans(httpClient, organization_id, signal) {
14542
+ return await httpClient.get(`organizations/${organization_id}/subscriptions/plans`, { signal }).json();
14543
+ }
14499
14544
  async function getCurrentTrial(httpClient, organization_id, signal) {
14500
14545
  return await httpClient.get(`organizations/${organization_id}/subscriptions/trials/current`, { signal }).json();
14501
14546
  }
@@ -15351,6 +15396,7 @@ const generatedFocusOperations = [
15351
15396
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15352
15397
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
15353
15398
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
15399
+ estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
15354
15400
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15355
15401
  integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15356
15402
  integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -15378,6 +15424,7 @@ const generatedFocusOperations = [
15378
15424
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15379
15425
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
15380
15426
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
15427
+ estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
15381
15428
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15382
15429
  integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15383
15430
  integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -16293,6 +16340,7 @@ const generatedFocusOperations = [
16293
16340
  },
16294
16341
  mcp: { entityTool: "organization" },
16295
16342
  inputSchema: /* @__PURE__ */ looseObject({
16343
+ active_members_only: /* @__PURE__ */ unknown$1(),
16296
16344
  filter: /* @__PURE__ */ unknown$1(),
16297
16345
  group_ids: /* @__PURE__ */ unknown$1(),
16298
16346
  organization_user_id: /* @__PURE__ */ number$2(),
@@ -17323,6 +17371,29 @@ const generatedFocusOperations = [
17323
17371
  ]));
17324
17372
  }
17325
17373
  },
17374
+ {
17375
+ id: "focus.projects.margin-targets-clear-workspace",
17376
+ family: "focus",
17377
+ resource: "projects",
17378
+ action: "margin-targets-clear-workspace",
17379
+ title: "Margin Targets Clear Workspace Projects",
17380
+ description: "Margin Targets Clear Workspace Projects.",
17381
+ safety: "delete",
17382
+ destructive: true,
17383
+ cli: {
17384
+ group: ["projects", "margin-targets"],
17385
+ command: "clear-workspace",
17386
+ interactive: "default"
17387
+ },
17388
+ mcp: { entityTool: "projects" },
17389
+ inputSchema: /* @__PURE__ */ looseObject({}),
17390
+ execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
17391
+ client.httpClient,
17392
+ client.organizationId,
17393
+ client.workspaceIdNumber,
17394
+ void 0
17395
+ ]))
17396
+ },
17326
17397
  {
17327
17398
  id: "focus.projects.margin-targets-get",
17328
17399
  family: "focus",
@@ -17350,6 +17421,29 @@ const generatedFocusOperations = [
17350
17421
  ]));
17351
17422
  }
17352
17423
  },
17424
+ {
17425
+ id: "focus.projects.margin-targets-get-workspace",
17426
+ family: "focus",
17427
+ resource: "projects",
17428
+ action: "margin-targets-get-workspace",
17429
+ title: "Margin Targets Get Workspace Projects",
17430
+ description: "Margin Targets Get Workspace Projects.",
17431
+ safety: "read",
17432
+ destructive: false,
17433
+ cli: {
17434
+ group: ["projects", "margin-targets"],
17435
+ command: "get-workspace",
17436
+ interactive: "hidden"
17437
+ },
17438
+ mcp: { entityTool: "projects" },
17439
+ inputSchema: /* @__PURE__ */ looseObject({}),
17440
+ execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceProjectMarginTarget", () => callGeneratedRequest(getWorkspaceProjectMarginTarget, [
17441
+ client.httpClient,
17442
+ client.organizationId,
17443
+ client.workspaceIdNumber,
17444
+ void 0
17445
+ ]))
17446
+ },
17353
17447
  {
17354
17448
  id: "focus.projects.margin-targets-list",
17355
17449
  family: "focus",
@@ -17404,6 +17498,33 @@ const generatedFocusOperations = [
17404
17498
  ]));
17405
17499
  }
17406
17500
  },
17501
+ {
17502
+ id: "focus.projects.margin-targets-set-workspace",
17503
+ family: "focus",
17504
+ resource: "projects",
17505
+ action: "margin-targets-set-workspace",
17506
+ title: "Margin Targets Set Workspace Projects",
17507
+ description: "Margin Targets Set Workspace Projects.",
17508
+ safety: "read",
17509
+ destructive: false,
17510
+ cli: {
17511
+ group: ["projects", "margin-targets"],
17512
+ command: "set-workspace",
17513
+ interactive: "available"
17514
+ },
17515
+ mcp: { entityTool: "projects" },
17516
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ target_percent: /* @__PURE__ */ number$2() }) }),
17517
+ execute: (input, { client }) => {
17518
+ const data = input;
17519
+ return client.runGeneratedRequest("setWorkspaceProjectMarginTarget", () => callGeneratedRequest(setWorkspaceProjectMarginTarget, [
17520
+ client.httpClient,
17521
+ client.organizationId,
17522
+ client.workspaceIdNumber,
17523
+ data.payload ?? data.data ?? data,
17524
+ void 0
17525
+ ]));
17526
+ }
17527
+ },
17407
17528
  {
17408
17529
  id: "focus.projects.pin",
17409
17530
  family: "focus",
@@ -19191,6 +19312,172 @@ const generatedFocusOperations = [
19191
19312
  ]));
19192
19313
  }
19193
19314
  },
19315
+ {
19316
+ id: "focus.recurring-budget-suggestions.accept-arecurring-project-budget-suggestion",
19317
+ family: "focus",
19318
+ resource: "recurring-budget-suggestions",
19319
+ action: "accept-arecurring-project-budget-suggestion",
19320
+ title: "Accept Arecurring Project Budget Suggestion Recurring Budget Suggestions",
19321
+ description: "Accept Arecurring Project Budget Suggestion Recurring Budget Suggestions.",
19322
+ safety: "read",
19323
+ destructive: false,
19324
+ cli: {
19325
+ group: ["recurring-budget-suggestions"],
19326
+ command: "accept-arecurring-project-budget-suggestion",
19327
+ interactive: "available"
19328
+ },
19329
+ mcp: { entityTool: "recurring-budget-suggestions" },
19330
+ inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
19331
+ execute: (input, { client }) => {
19332
+ const data = input;
19333
+ return client.runGeneratedRequest("acceptARecurringProjectBudgetSuggestion", () => callGeneratedRequest(acceptARecurringProjectBudgetSuggestion, [
19334
+ client.httpClient,
19335
+ client.organizationId,
19336
+ client.workspaceIdNumber,
19337
+ data.project_id,
19338
+ void 0
19339
+ ]));
19340
+ }
19341
+ },
19342
+ {
19343
+ id: "focus.recurring-budget-suggestions.accept-atemplate-estimate-suggestion",
19344
+ family: "focus",
19345
+ resource: "recurring-budget-suggestions",
19346
+ action: "accept-atemplate-estimate-suggestion",
19347
+ title: "Accept Atemplate Estimate Suggestion Recurring Budget Suggestions",
19348
+ description: "Accept Atemplate Estimate Suggestion Recurring Budget Suggestions.",
19349
+ safety: "read",
19350
+ destructive: false,
19351
+ cli: {
19352
+ group: ["recurring-budget-suggestions"],
19353
+ command: "accept-atemplate-estimate-suggestion",
19354
+ interactive: "available"
19355
+ },
19356
+ mcp: { entityTool: "recurring-budget-suggestions" },
19357
+ inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
19358
+ execute: (input, { client }) => {
19359
+ const data = input;
19360
+ return client.runGeneratedRequest("acceptATemplateEstimateSuggestion", () => callGeneratedRequest(acceptATemplateEstimateSuggestion, [
19361
+ client.httpClient,
19362
+ client.organizationId,
19363
+ client.workspaceIdNumber,
19364
+ data.project_id,
19365
+ void 0
19366
+ ]));
19367
+ }
19368
+ },
19369
+ {
19370
+ id: "focus.recurring-budget-suggestions.dismiss-arecurring-project-budget-suggestion",
19371
+ family: "focus",
19372
+ resource: "recurring-budget-suggestions",
19373
+ action: "dismiss-arecurring-project-budget-suggestion",
19374
+ title: "Dismiss Arecurring Project Budget Suggestion Recurring Budget Suggestions",
19375
+ description: "Dismiss Arecurring Project Budget Suggestion Recurring Budget Suggestions.",
19376
+ safety: "read",
19377
+ destructive: false,
19378
+ cli: {
19379
+ group: ["recurring-budget-suggestions"],
19380
+ command: "dismiss-arecurring-project-budget-suggestion",
19381
+ interactive: "available"
19382
+ },
19383
+ mcp: { entityTool: "recurring-budget-suggestions" },
19384
+ inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
19385
+ execute: (input, { client }) => {
19386
+ const data = input;
19387
+ return client.runGeneratedRequest("dismissARecurringProjectBudgetSuggestion", () => callGeneratedRequest(dismissARecurringProjectBudgetSuggestion, [
19388
+ client.httpClient,
19389
+ client.organizationId,
19390
+ client.workspaceIdNumber,
19391
+ data.project_id,
19392
+ void 0
19393
+ ]));
19394
+ }
19395
+ },
19396
+ {
19397
+ id: "focus.recurring-budget-suggestions.dismiss-atemplate-estimate-suggestion",
19398
+ family: "focus",
19399
+ resource: "recurring-budget-suggestions",
19400
+ action: "dismiss-atemplate-estimate-suggestion",
19401
+ title: "Dismiss Atemplate Estimate Suggestion Recurring Budget Suggestions",
19402
+ description: "Dismiss Atemplate Estimate Suggestion Recurring Budget Suggestions.",
19403
+ safety: "read",
19404
+ destructive: false,
19405
+ cli: {
19406
+ group: ["recurring-budget-suggestions"],
19407
+ command: "dismiss-atemplate-estimate-suggestion",
19408
+ interactive: "available"
19409
+ },
19410
+ mcp: { entityTool: "recurring-budget-suggestions" },
19411
+ inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
19412
+ execute: (input, { client }) => {
19413
+ const data = input;
19414
+ return client.runGeneratedRequest("dismissATemplateEstimateSuggestion", () => callGeneratedRequest(dismissATemplateEstimateSuggestion, [
19415
+ client.httpClient,
19416
+ client.organizationId,
19417
+ client.workspaceIdNumber,
19418
+ data.project_id,
19419
+ void 0
19420
+ ]));
19421
+ }
19422
+ },
19423
+ {
19424
+ id: "focus.recurring-budget-suggestions.get-recurring-project-budget-suggestion",
19425
+ family: "focus",
19426
+ resource: "recurring-budget-suggestions",
19427
+ action: "get-recurring-project-budget-suggestion",
19428
+ title: "Get Recurring Project Budget Suggestion Recurring Budget Suggestions",
19429
+ description: "Get Recurring Project Budget Suggestion Recurring Budget Suggestions.",
19430
+ safety: "read",
19431
+ destructive: false,
19432
+ cli: {
19433
+ group: ["recurring-budget-suggestions"],
19434
+ command: "get-recurring-project-budget-suggestion",
19435
+ interactive: "hidden"
19436
+ },
19437
+ mcp: { entityTool: "recurring-budget-suggestions" },
19438
+ inputSchema: /* @__PURE__ */ looseObject({
19439
+ project_id: /* @__PURE__ */ number$2(),
19440
+ target_period_start: /* @__PURE__ */ unknown$1()
19441
+ }),
19442
+ execute: (input, { client }) => {
19443
+ const data = input;
19444
+ return client.runGeneratedRequest("getRecurringProjectBudgetSuggestion", () => callGeneratedRequest(getRecurringProjectBudgetSuggestion, [
19445
+ client.httpClient,
19446
+ client.organizationId,
19447
+ client.workspaceIdNumber,
19448
+ data.project_id,
19449
+ data,
19450
+ void 0
19451
+ ]));
19452
+ }
19453
+ },
19454
+ {
19455
+ id: "focus.recurring-budget-suggestions.get-template-estimate-suggestion",
19456
+ family: "focus",
19457
+ resource: "recurring-budget-suggestions",
19458
+ action: "get-template-estimate-suggestion",
19459
+ title: "Get Template Estimate Suggestion Recurring Budget Suggestions",
19460
+ description: "Get Template Estimate Suggestion Recurring Budget Suggestions.",
19461
+ safety: "read",
19462
+ destructive: false,
19463
+ cli: {
19464
+ group: ["recurring-budget-suggestions"],
19465
+ command: "get-template-estimate-suggestion",
19466
+ interactive: "available"
19467
+ },
19468
+ mcp: { entityTool: "recurring-budget-suggestions" },
19469
+ inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
19470
+ execute: (input, { client }) => {
19471
+ const data = input;
19472
+ return client.runGeneratedRequest("getTemplateEstimateSuggestion", () => callGeneratedRequest(getTemplateEstimateSuggestion, [
19473
+ client.httpClient,
19474
+ client.organizationId,
19475
+ client.workspaceIdNumber,
19476
+ data.project_id,
19477
+ void 0
19478
+ ]));
19479
+ }
19480
+ },
19194
19481
  {
19195
19482
  id: "focus.reports.get-flexq-data",
19196
19483
  family: "focus",
@@ -19849,6 +20136,28 @@ const generatedFocusOperations = [
19849
20136
  void 0
19850
20137
  ]))
19851
20138
  },
20139
+ {
20140
+ id: "focus.subscriptions.get-plans",
20141
+ family: "focus",
20142
+ resource: "subscriptions",
20143
+ action: "get-plans",
20144
+ title: "Get Plans Subscriptions",
20145
+ description: "Get Plans Subscriptions.",
20146
+ safety: "read",
20147
+ destructive: false,
20148
+ cli: {
20149
+ group: ["subscriptions"],
20150
+ command: "get-plans",
20151
+ interactive: "hidden"
20152
+ },
20153
+ mcp: { entityTool: "subscriptions" },
20154
+ inputSchema: /* @__PURE__ */ looseObject({}),
20155
+ execute: (_input, { client }) => client.runGeneratedRequest("getSubscriptionPlans", () => callGeneratedRequest(getSubscriptionPlans, [
20156
+ client.httpClient,
20157
+ client.organizationId,
20158
+ void 0
20159
+ ]))
20160
+ },
19852
20161
  {
19853
20162
  id: "focus.subscriptions.upsert-forced-trial",
19854
20163
  family: "focus",
@@ -20513,8 +20822,7 @@ const generatedFocusOperations = [
20513
20822
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
20514
20823
  date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
20515
20824
  date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
20516
- hidden: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
20517
- time_zone: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
20825
+ hidden: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
20518
20826
  }),
20519
20827
  execute: (input, { client }) => {
20520
20828
  const data = input;
@@ -20610,6 +20918,7 @@ const generatedFocusOperations = [
20610
20918
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
20611
20919
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
20612
20920
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
20921
+ private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
20613
20922
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
20614
20923
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
20615
20924
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -20985,6 +21294,7 @@ const generatedFocusOperations = [
20985
21294
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
20986
21295
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20987
21296
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
21297
+ estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
20988
21298
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
20989
21299
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20990
21300
  outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -21032,8 +21342,7 @@ const generatedFocusOperations = [
21032
21342
  mcp: { entityTool: "tasks" },
21033
21343
  inputSchema: /* @__PURE__ */ looseObject({
21034
21344
  date_from: /* @__PURE__ */ unknown$1(),
21035
- date_to: /* @__PURE__ */ unknown$1(),
21036
- timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21345
+ date_to: /* @__PURE__ */ unknown$1()
21037
21346
  }),
21038
21347
  execute: (input, { client }) => {
21039
21348
  const data = input;
@@ -21043,7 +21352,6 @@ const generatedFocusOperations = [
21043
21352
  client.workspaceIdNumber,
21044
21353
  data.date_from,
21045
21354
  data.date_to,
21046
- data.timezone,
21047
21355
  void 0
21048
21356
  ]));
21049
21357
  }
@@ -21802,7 +22110,6 @@ const generatedFocusOperations = [
21802
22110
  order_by: /* @__PURE__ */ unknown$1(),
21803
22111
  status_id: /* @__PURE__ */ number$2(),
21804
22112
  task_id: /* @__PURE__ */ number$2(),
21805
- time_zone: /* @__PURE__ */ unknown$1(),
21806
22113
  type: /* @__PURE__ */ unknown$1()
21807
22114
  }),
21808
22115
  execute: (input, { client }) => {
@@ -25452,4 +25759,4 @@ Common commands:
25452
25759
  //#endregion
25453
25760
  export { CommanderError as n, createProgram as t };
25454
25761
 
25455
- //# sourceMappingURL=program-0krLPqUR.js.map
25762
+ //# sourceMappingURL=program-CL3hA2de.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-0krLPqUR.js";
1
+ import { t as createProgram } from "./program-CL3hA2de.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.5.29",
3
+ "version": "1.5.31",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -55,7 +55,7 @@
55
55
  "devDependencies": {
56
56
  "@toggl/cli-core": "workspace:^",
57
57
  "@toggl/operations": "workspace:^",
58
- "@toggl/queries": "0.15.21",
58
+ "@toggl/queries": "0.15.24",
59
59
  "@types/node": "22.19.11",
60
60
  "tsdown": "0.21.8",
61
61
  "typescript": "5.9.3",