@togglhq/cli 1.11.35 → 1.11.37

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-DPtWZkto.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-BJh35e-q.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-DPtWZkto.js";
1
+ import { t as createProgram } from "./program-BJh35e-q.js";
2
2
  export { createProgram };
@@ -9143,6 +9143,7 @@ const TaskSchema = /* @__PURE__ */ object({
9143
9143
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9144
9144
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
9145
9145
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9146
+ 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."))),
9146
9147
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
9147
9148
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9148
9149
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -9204,6 +9205,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
9204
9205
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9205
9206
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
9206
9207
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9208
+ 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."))),
9207
9209
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
9208
9210
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9209
9211
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -9386,6 +9388,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
9386
9388
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9387
9389
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9388
9390
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9391
+ pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
9392
+ pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
9389
9393
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9390
9394
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9391
9395
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -9471,6 +9475,7 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
9471
9475
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9472
9476
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
9473
9477
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9478
+ filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9474
9479
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
9475
9480
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9476
9481
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
@@ -9550,6 +9555,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
9550
9555
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9551
9556
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9552
9557
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9558
+ pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
9559
+ pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
9553
9560
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9554
9561
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9555
9562
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -9780,6 +9787,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
9780
9787
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9781
9788
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9782
9789
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9790
+ repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
9783
9791
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9784
9792
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9785
9793
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -9816,6 +9824,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
9816
9824
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9817
9825
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9818
9826
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9827
+ repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
9819
9828
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9820
9829
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9821
9830
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -10101,10 +10110,18 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
10101
10110
  }
10102
10111
  //#endregion
10103
10112
  //#region ../focus-queries/dist/projects/requests.ts
10104
- async function getProjectsClassic(httpClient, organization_id, workspace_id, { 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) {
10113
+ async function getProjectsClassic(httpClient, organization_id, workspace_id, { include_task_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, 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) {
10105
10114
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
10106
10115
  signal,
10107
10116
  searchParams: buildSearchParams$2({
10117
+ include_task_counts,
10118
+ task_archived,
10119
+ task_recurring,
10120
+ task_state,
10121
+ task_source,
10122
+ task_assignee_user_id,
10123
+ task_assignee_team_id,
10124
+ task_name,
10108
10125
  page,
10109
10126
  per_page,
10110
10127
  order_by,
@@ -10354,7 +10371,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10354
10371
  }
10355
10372
  //#endregion
10356
10373
  //#region ../focus-queries/dist/tasks/requests.ts
10357
- 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_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, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, 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) {
10374
+ 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_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, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
10358
10375
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10359
10376
  signal,
10360
10377
  searchParams: buildSearchParams$2({
@@ -10405,7 +10422,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10405
10422
  include_assignees,
10406
10423
  include_parent_matches,
10407
10424
  disable_aggregations,
10408
- cf_filter
10425
+ cf_filter,
10426
+ recurring_occurrences_after,
10427
+ max_recurring_occurrences_after,
10428
+ recurring_task_read,
10429
+ include_projected_occurrences
10409
10430
  })
10410
10431
  }).json();
10411
10432
  }
@@ -10480,16 +10501,17 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
10480
10501
  })
10481
10502
  }).json();
10482
10503
  }
10483
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
10504
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
10484
10505
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
10485
10506
  signal,
10486
10507
  searchParams: buildSearchParams$2({
10487
10508
  date_from,
10488
- date_to
10509
+ date_to,
10510
+ skip_provider_refresh
10489
10511
  })
10490
10512
  }).json();
10491
10513
  }
10492
- async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
10514
+ async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
10493
10515
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
10494
10516
  signal,
10495
10517
  searchParams: buildSearchParams$2({
@@ -10505,11 +10527,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10505
10527
  assignee_team_id,
10506
10528
  assignee_user_id,
10507
10529
  tag_id,
10508
- include_assignees
10530
+ include_assignees,
10531
+ recurring_occurrences_after,
10532
+ max_recurring_occurrences_after,
10533
+ recurring_task_read,
10534
+ include_projected_occurrences
10509
10535
  })
10510
10536
  }).json();
10511
10537
  }
10512
- 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_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_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
10538
+ 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_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_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
10513
10539
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10514
10540
  signal,
10515
10541
  searchParams: buildSearchParams$2({
@@ -10554,7 +10580,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10554
10580
  recurring_task_ids,
10555
10581
  client_id,
10556
10582
  include_assignees,
10557
- cf_filter
10583
+ cf_filter,
10584
+ recurring_occurrences_after,
10585
+ max_recurring_occurrences_after,
10586
+ recurring_task_read,
10587
+ include_projected_occurrences
10558
10588
  })
10559
10589
  }).json();
10560
10590
  }
@@ -10609,6 +10639,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
10609
10639
  })
10610
10640
  }).json();
10611
10641
  }
10642
+ async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
10643
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
10644
+ signal,
10645
+ searchParams: buildSearchParams$2({ return_occurrence })
10646
+ }).json();
10647
+ }
10612
10648
  async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
10613
10649
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
10614
10650
  signal,
@@ -10745,16 +10781,24 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
10745
10781
  })
10746
10782
  }).json();
10747
10783
  }
10748
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
10784
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
10749
10785
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
10750
10786
  signal,
10751
- json: data
10787
+ json: data,
10788
+ searchParams: buildSearchParams$2({
10789
+ from_recurring_task_id,
10790
+ return_occurrence
10791
+ })
10752
10792
  }).json();
10753
10793
  }
10754
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
10794
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
10755
10795
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
10756
10796
  signal,
10757
- json: data
10797
+ json: data,
10798
+ searchParams: buildSearchParams$2({
10799
+ from_recurring_task_id,
10800
+ return_occurrence
10801
+ })
10758
10802
  }).json();
10759
10803
  }
10760
10804
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -10805,7 +10849,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
10805
10849
  json: data
10806
10850
  }).json();
10807
10851
  }
10808
- 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) {
10852
+ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, project_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
10809
10853
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
10810
10854
  signal,
10811
10855
  searchParams: buildSearchParams$2({
@@ -10813,6 +10857,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
10813
10857
  date_to,
10814
10858
  task_id,
10815
10859
  status_id,
10860
+ project_id,
10816
10861
  type,
10817
10862
  order_by,
10818
10863
  archived,
@@ -10836,19 +10881,33 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
10836
10881
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
10837
10882
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
10838
10883
  }
10839
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10884
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10840
10885
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10841
10886
  signal,
10842
- json: data
10887
+ json: data,
10888
+ searchParams: buildSearchParams$2({
10889
+ from_recurring_task_id,
10890
+ return_occurrence
10891
+ })
10843
10892
  }).json();
10844
10893
  }
10845
- async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
10846
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
10894
+ async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
10895
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10896
+ signal,
10897
+ searchParams: buildSearchParams$2({
10898
+ from_recurring_task_id,
10899
+ return_occurrence
10900
+ })
10901
+ }).json();
10847
10902
  }
10848
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10903
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10849
10904
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10850
10905
  signal,
10851
- json: data
10906
+ json: data,
10907
+ searchParams: buildSearchParams$2({
10908
+ from_recurring_task_id,
10909
+ return_occurrence
10910
+ })
10852
10911
  }).json();
10853
10912
  }
10854
10913
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -10963,7 +11022,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
10963
11022
  ]))
10964
11023
  });
10965
11024
  //#endregion
10966
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.43_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_4c4016005a141a335193253fa7f90eda/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
11025
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.44_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_d8955942878b3bc5411d7a13cf80781a/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10967
11026
  async function getInvitations(httpClient, signal) {
10968
11027
  return (await httpClient.get(`invitations`, { signal })).json();
10969
11028
  }
@@ -10980,7 +11039,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
10980
11039
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
10981
11040
  }
10982
11041
  //#endregion
10983
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.43_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_4c4016005a141a335193253fa7f90eda/node_modules/@toggl/queries/dist/org/utils/requests.mjs
11042
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.44_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_d8955942878b3bc5411d7a13cf80781a/node_modules/@toggl/queries/dist/org/utils/requests.mjs
10984
11043
  function buildSearchParams(params, flattenArrays = false) {
10985
11044
  const searchParams = new URLSearchParams();
10986
11045
  Object.entries(params).forEach(([key, value]) => {
@@ -10992,7 +11051,7 @@ function buildSearchParams(params, flattenArrays = false) {
10992
11051
  return searchParams;
10993
11052
  }
10994
11053
  //#endregion
10995
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.43_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_4c4016005a141a335193253fa7f90eda/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
11054
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.44_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_d8955942878b3bc5411d7a13cf80781a/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
10996
11055
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
10997
11056
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
10998
11057
  }
@@ -11006,7 +11065,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
11006
11065
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
11007
11066
  }
11008
11067
  //#endregion
11009
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.43_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_4c4016005a141a335193253fa7f90eda/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
11068
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.44_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_d8955942878b3bc5411d7a13cf80781a/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
11010
11069
  async function getWorkspaces(httpClient, organization_id, signal) {
11011
11070
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
11012
11071
  }
@@ -11026,7 +11085,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
11026
11085
  });
11027
11086
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
11028
11087
  //#endregion
11029
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.43_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_4c4016005a141a335193253fa7f90eda/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
11088
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.44_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_d8955942878b3bc5411d7a13cf80781a/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
11030
11089
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
11031
11090
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
11032
11091
  signal,
@@ -11037,12 +11096,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
11037
11096
  })).json();
11038
11097
  }
11039
11098
  //#endregion
11040
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.43_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_4c4016005a141a335193253fa7f90eda/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
11099
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.44_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_d8955942878b3bc5411d7a13cf80781a/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
11041
11100
  async function getStatus(httpClient, signal) {
11042
11101
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
11043
11102
  }
11044
11103
  //#endregion
11045
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.43_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_4c4016005a141a335193253fa7f90eda/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
11104
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.44_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_d8955942878b3bc5411d7a13cf80781a/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
11046
11105
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
11047
11106
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
11048
11107
  signal,
@@ -11070,7 +11129,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
11070
11129
  return response.json();
11071
11130
  }
11072
11131
  //#endregion
11073
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.43_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_4c4016005a141a335193253fa7f90eda/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
11132
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.44_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_d8955942878b3bc5411d7a13cf80781a/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
11074
11133
  async function getMyWorkingHours(httpClient, organization_id, signal) {
11075
11134
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
11076
11135
  }
@@ -14694,13 +14753,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
14694
14753
  }
14695
14754
  //#endregion
14696
14755
  //#region ../focus-queries/dist/audit-log/requests.ts
14697
- async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14756
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14698
14757
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
14699
14758
  signal,
14700
14759
  searchParams: buildSearchParams$2({
14701
14760
  workspace_id,
14702
14761
  entity_type,
14703
14762
  entity_id,
14763
+ project_id,
14764
+ custom_field_id,
14704
14765
  action,
14705
14766
  user_id,
14706
14767
  page_size,
@@ -14709,12 +14770,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
14709
14770
  })
14710
14771
  }).json();
14711
14772
  }
14712
- async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14773
+ async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14713
14774
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
14714
14775
  signal,
14715
14776
  searchParams: buildSearchParams$2({
14716
14777
  entity_type,
14717
14778
  entity_id,
14779
+ project_id,
14780
+ custom_field_id,
14718
14781
  action,
14719
14782
  user_id,
14720
14783
  page_size,
@@ -14867,13 +14930,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
14867
14930
  }
14868
14931
  //#endregion
14869
14932
  //#region ../focus-queries/dist/capacities/requests.ts
14870
- async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
14933
+ async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date, user_id, team_id, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
14871
14934
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
14872
14935
  signal,
14873
14936
  searchParams: buildSearchParams$2({
14874
- user_id,
14875
14937
  start_date,
14876
14938
  end_date,
14939
+ user_id,
14940
+ team_id,
14877
14941
  private: private_,
14878
14942
  task_source,
14879
14943
  unit,
@@ -14933,6 +14997,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
14933
14997
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
14934
14998
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
14935
14999
  }
15000
+ async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
15001
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
15002
+ }
15003
+ async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
15004
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
15005
+ signal,
15006
+ json: data
15007
+ }).json();
15008
+ }
14936
15009
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
14937
15010
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
14938
15011
  signal,
@@ -15196,7 +15269,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
15196
15269
  }
15197
15270
  //#endregion
15198
15271
  //#region ../focus-queries/dist/project-groups/requests.ts
15199
- async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, cf_filter } = {}, signal) {
15272
+ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, include_recurring_series, cf_filter } = {}, signal) {
15200
15273
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
15201
15274
  signal,
15202
15275
  searchParams: buildSearchParams$2({
@@ -15222,6 +15295,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
15222
15295
  user_id,
15223
15296
  only_me,
15224
15297
  include_drafts,
15298
+ include_recurring_series,
15225
15299
  cf_filter
15226
15300
  })
15227
15301
  }).json();
@@ -15240,9 +15314,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
15240
15314
  json: data
15241
15315
  }).json();
15242
15316
  }
15243
- async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
15244
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
15245
- }
15246
15317
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
15247
15318
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
15248
15319
  }
@@ -15546,9 +15617,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
15546
15617
  }
15547
15618
  //#endregion
15548
15619
  //#region ../focus-queries/dist/task-groups/requests.ts
15549
- async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter }, signal) {
15620
+ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger }, signal) {
15550
15621
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
15551
15622
  signal,
15623
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15552
15624
  searchParams: buildSearchParams$2({
15553
15625
  project_id,
15554
15626
  source,
@@ -15577,13 +15649,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
15577
15649
  min_days,
15578
15650
  include_drafts,
15579
15651
  cf_filter,
15580
- user_cf_filter
15652
+ user_cf_filter,
15653
+ recurring_occurrences_after,
15654
+ max_recurring_occurrences_after,
15655
+ recurring_task_read,
15656
+ include_projected_occurrences
15581
15657
  })
15582
15658
  }).json();
15583
15659
  }
15584
- async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter } = {}, signal) {
15660
+ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger } = {}, signal) {
15585
15661
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
15586
15662
  signal,
15663
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15587
15664
  searchParams: buildSearchParams$2({
15588
15665
  team_id,
15589
15666
  project_id,
@@ -15612,13 +15689,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
15612
15689
  min_days,
15613
15690
  include_drafts,
15614
15691
  cf_filter,
15615
- user_cf_filter
15692
+ user_cf_filter,
15693
+ recurring_occurrences_after,
15694
+ max_recurring_occurrences_after,
15695
+ recurring_task_read,
15696
+ include_projected_occurrences
15616
15697
  })
15617
15698
  }).json();
15618
15699
  }
15619
- async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, page, per_page, order_by } = {}, signal) {
15700
+ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, page, per_page, order_by, xTimelineFetchTrigger } = {}, signal) {
15620
15701
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
15621
15702
  signal,
15703
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15622
15704
  searchParams: buildSearchParams$2({
15623
15705
  source,
15624
15706
  priority,
@@ -15648,6 +15730,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
15648
15730
  include_drafts,
15649
15731
  cf_filter,
15650
15732
  user_cf_filter,
15733
+ recurring_occurrences_after,
15734
+ max_recurring_occurrences_after,
15735
+ recurring_task_read,
15736
+ include_projected_occurrences,
15651
15737
  page,
15652
15738
  per_page,
15653
15739
  order_by
@@ -15883,6 +15969,12 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
15883
15969
  }
15884
15970
  //#endregion
15885
15971
  //#region ../focus-queries/dist/user-settings/requests.ts
15972
+ async function emailUnsubscribePage(httpClient, token, signal) {
15973
+ return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
15974
+ }
15975
+ async function emailUnsubscribe(httpClient, token, signal) {
15976
+ return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
15977
+ }
15886
15978
  async function getUserSettings(httpClient, signal) {
15887
15979
  return await httpClient.get(`users/me/settings`, { signal }).json();
15888
15980
  }
@@ -16122,6 +16214,7 @@ const generatedFocusOperations = [
16122
16214
  mcp: { entityTool: "audit-log" },
16123
16215
  inputSchema: /* @__PURE__ */ looseObject({
16124
16216
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16217
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16125
16218
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16126
16219
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16127
16220
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16129,6 +16222,7 @@ const generatedFocusOperations = [
16129
16222
  from: /* @__PURE__ */ string$1(),
16130
16223
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16131
16224
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16225
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16132
16226
  to: /* @__PURE__ */ string$1(),
16133
16227
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16134
16228
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -16162,6 +16256,7 @@ const generatedFocusOperations = [
16162
16256
  mcp: { entityTool: "audit-log" },
16163
16257
  inputSchema: /* @__PURE__ */ looseObject({
16164
16258
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16259
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16165
16260
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16166
16261
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16167
16262
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16169,6 +16264,7 @@ const generatedFocusOperations = [
16169
16264
  from: /* @__PURE__ */ string$1(),
16170
16265
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16171
16266
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16267
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16172
16268
  to: /* @__PURE__ */ string$1(),
16173
16269
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16174
16270
  }),
@@ -16208,6 +16304,7 @@ const generatedFocusOperations = [
16208
16304
  private_: /* @__PURE__ */ unknown$1(),
16209
16305
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16210
16306
  task_source: /* @__PURE__ */ unknown$1(),
16307
+ team_id: /* @__PURE__ */ number$2(),
16211
16308
  unit: /* @__PURE__ */ unknown$1(),
16212
16309
  user_id: /* @__PURE__ */ number$2()
16213
16310
  }),
@@ -16648,6 +16745,33 @@ const generatedFocusOperations = [
16648
16745
  ]));
16649
16746
  }
16650
16747
  },
16748
+ {
16749
+ id: "focus.custom-fields.get-allowed-users",
16750
+ family: "focus",
16751
+ resource: "custom-fields",
16752
+ action: "get-allowed-users",
16753
+ title: "Get Allowed Users Custom Fields",
16754
+ description: "Get Allowed Users Custom Fields.",
16755
+ safety: "read",
16756
+ destructive: false,
16757
+ cli: {
16758
+ group: ["custom-fields"],
16759
+ command: "get-allowed-users",
16760
+ interactive: "available"
16761
+ },
16762
+ mcp: { entityTool: "custom-fields" },
16763
+ inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
16764
+ execute: (input, { client }) => {
16765
+ const data = input;
16766
+ return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
16767
+ client.httpClient,
16768
+ client.organizationId,
16769
+ client.workspaceIdNumber,
16770
+ data.custom_field_id,
16771
+ void 0
16772
+ ]));
16773
+ }
16774
+ },
16651
16775
  {
16652
16776
  id: "focus.custom-fields.list",
16653
16777
  family: "focus",
@@ -16817,6 +16941,37 @@ const generatedFocusOperations = [
16817
16941
  ]));
16818
16942
  }
16819
16943
  },
16944
+ {
16945
+ id: "focus.custom-fields.replace-custom-field-allowed-users",
16946
+ family: "focus",
16947
+ resource: "custom-fields",
16948
+ action: "replace-custom-field-allowed-users",
16949
+ title: "Replace Custom Field Allowed Users Custom Fields",
16950
+ description: "Replace Custom Field Allowed Users Custom Fields.",
16951
+ safety: "update",
16952
+ destructive: false,
16953
+ cli: {
16954
+ group: ["custom-fields"],
16955
+ command: "replace-custom-field-allowed-users",
16956
+ interactive: "default"
16957
+ },
16958
+ mcp: { entityTool: "custom-fields" },
16959
+ inputSchema: /* @__PURE__ */ looseObject({
16960
+ custom_field_id: /* @__PURE__ */ number$2(),
16961
+ payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
16962
+ }),
16963
+ execute: (input, { client }) => {
16964
+ const data = input;
16965
+ return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
16966
+ client.httpClient,
16967
+ client.organizationId,
16968
+ client.workspaceIdNumber,
16969
+ data.custom_field_id,
16970
+ data.payload ?? data.data ?? data,
16971
+ void 0
16972
+ ]));
16973
+ }
16974
+ },
16820
16975
  {
16821
16976
  id: "focus.custom-fields.update",
16822
16977
  family: "focus",
@@ -16963,13 +17118,7 @@ const generatedFocusOperations = [
16963
17118
  },
16964
17119
  mcp: { entityTool: "goals" },
16965
17120
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16966
- billable: /* @__PURE__ */ boolean$1(),
16967
17121
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
16968
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16969
- icon: /* @__PURE__ */ string$1(),
16970
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
16971
- name: /* @__PURE__ */ string$1(),
16972
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16973
17122
  recurrence: /* @__PURE__ */ picklist$1([
16974
17123
  "daily",
16975
17124
  "weekly",
@@ -16977,12 +17126,18 @@ const generatedFocusOperations = [
16977
17126
  "monthly"
16978
17127
  ]),
16979
17128
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16980
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16981
17129
  target_seconds: /* @__PURE__ */ number$2(),
16982
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16983
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17130
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16984
17131
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16985
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
17132
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17133
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17134
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17135
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
17136
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17137
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17138
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17139
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17140
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16986
17141
  }) }),
16987
17142
  execute: (input, { client }) => {
16988
17143
  const data = input;
@@ -17088,13 +17243,6 @@ const generatedFocusOperations = [
17088
17243
  },
17089
17244
  mcp: { entityTool: "goals" },
17090
17245
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
17091
- billable: /* @__PURE__ */ boolean$1(),
17092
- comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
17093
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
17094
- icon: /* @__PURE__ */ string$1(),
17095
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
17096
- name: /* @__PURE__ */ string$1(),
17097
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17098
17246
  recurrence: /* @__PURE__ */ picklist$1([
17099
17247
  "daily",
17100
17248
  "weekly",
@@ -17102,12 +17250,19 @@ const generatedFocusOperations = [
17102
17250
  "monthly"
17103
17251
  ]),
17104
17252
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
17105
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17106
- target_seconds: /* @__PURE__ */ number$2(),
17107
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17108
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17253
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17109
17254
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17110
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
17255
+ comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
17256
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17257
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17258
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17259
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
17260
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17261
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17262
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17263
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
17264
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17265
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
17111
17266
  }) }),
17112
17267
  execute: (input, { client }) => {
17113
17268
  const data = input;
@@ -18074,9 +18229,17 @@ const generatedFocusOperations = [
18074
18229
  mcp: { entityTool: "projects" },
18075
18230
  inputSchema: /* @__PURE__ */ looseObject({
18076
18231
  payload: /* @__PURE__ */ looseObject({
18232
+ auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18233
+ completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
18077
18234
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
18078
18235
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18079
18236
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18237
+ rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
18238
+ "expire",
18239
+ "carry_all",
18240
+ "carry_over"
18241
+ ])),
18242
+ rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18080
18243
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
18081
18244
  }),
18082
18245
  project_id: /* @__PURE__ */ number$2()
@@ -18520,6 +18683,7 @@ const generatedFocusOperations = [
18520
18683
  group: /* @__PURE__ */ string$1(),
18521
18684
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18522
18685
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18686
+ include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18523
18687
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18524
18688
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18525
18689
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -18622,29 +18786,6 @@ const generatedFocusOperations = [
18622
18786
  ]));
18623
18787
  }
18624
18788
  },
18625
- {
18626
- id: "focus.projects.margin-targets-clear-workspace",
18627
- family: "focus",
18628
- resource: "projects",
18629
- action: "margin-targets-clear-workspace",
18630
- title: "Margin Targets Clear Workspace Projects",
18631
- description: "Margin Targets Clear Workspace Projects.",
18632
- safety: "delete",
18633
- destructive: true,
18634
- cli: {
18635
- group: ["projects", "margin-targets"],
18636
- command: "clear-workspace",
18637
- interactive: "default"
18638
- },
18639
- mcp: { entityTool: "projects" },
18640
- inputSchema: /* @__PURE__ */ looseObject({}),
18641
- execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
18642
- client.httpClient,
18643
- client.organizationId,
18644
- client.workspaceIdNumber,
18645
- void 0
18646
- ]))
18647
- },
18648
18789
  {
18649
18790
  id: "focus.projects.margin-targets-get",
18650
18791
  family: "focus",
@@ -21047,7 +21188,7 @@ const generatedFocusOperations = [
21047
21188
  cli: {
21048
21189
  group: ["reportschedules"],
21049
21190
  command: "upsert-saved-view-schedule",
21050
- interactive: "default"
21191
+ interactive: "hidden"
21051
21192
  },
21052
21193
  mcp: { entityTool: "reportschedules" },
21053
21194
  inputSchema: /* @__PURE__ */ looseObject({
@@ -21058,8 +21199,10 @@ const generatedFocusOperations = [
21058
21199
  "weekly",
21059
21200
  "monthly"
21060
21201
  ]),
21202
+ charts: /* @__PURE__ */ unknown$1(),
21061
21203
  time: /* @__PURE__ */ string$1(),
21062
21204
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21205
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21063
21206
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21064
21207
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21065
21208
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -22608,6 +22751,37 @@ const generatedFocusOperations = [
22608
22751
  return client.createTask(data);
22609
22752
  }
22610
22753
  },
22754
+ {
22755
+ id: "focus.tasks.create-recurring-occurrence",
22756
+ family: "focus",
22757
+ resource: "tasks",
22758
+ action: "create-recurring-occurrence",
22759
+ title: "Create Recurring Occurrence Tasks",
22760
+ description: "Create Recurring Occurrence Tasks.",
22761
+ safety: "create",
22762
+ destructive: false,
22763
+ cli: {
22764
+ group: ["tasks"],
22765
+ command: "create-recurring-occurrence",
22766
+ interactive: "default"
22767
+ },
22768
+ mcp: { entityTool: "tasks" },
22769
+ inputSchema: /* @__PURE__ */ looseObject({
22770
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22771
+ task_id: /* @__PURE__ */ number$2()
22772
+ }),
22773
+ execute: (input, { client }) => {
22774
+ const data = input;
22775
+ return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
22776
+ client.httpClient,
22777
+ client.organizationId,
22778
+ client.workspaceIdNumber,
22779
+ data.task_id,
22780
+ data.return_occurrence,
22781
+ void 0
22782
+ ]));
22783
+ }
22784
+ },
22611
22785
  {
22612
22786
  id: "focus.tasks.delete",
22613
22787
  family: "focus",
@@ -22855,9 +23029,13 @@ const generatedFocusOperations = [
22855
23029
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22856
23030
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22857
23031
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23032
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23033
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22858
23034
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22859
23035
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23036
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22860
23037
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23038
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22861
23039
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22862
23040
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
22863
23041
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -22909,7 +23087,9 @@ const generatedFocusOperations = [
22909
23087
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22910
23088
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22911
23089
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23090
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22912
23091
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23092
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22913
23093
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22914
23094
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22915
23095
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -22918,7 +23098,9 @@ const generatedFocusOperations = [
22918
23098
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22919
23099
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22920
23100
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23101
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22921
23102
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23103
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22922
23104
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22923
23105
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22924
23106
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23056,8 +23238,10 @@ const generatedFocusOperations = [
23056
23238
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23057
23239
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23058
23240
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23241
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23059
23242
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23060
23243
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23244
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23061
23245
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23062
23246
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23063
23247
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23066,6 +23250,8 @@ const generatedFocusOperations = [
23066
23250
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23067
23251
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23068
23252
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23253
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23254
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23069
23255
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23070
23256
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23071
23257
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23074,7 +23260,8 @@ const generatedFocusOperations = [
23074
23260
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
23075
23261
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23076
23262
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23077
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23263
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23264
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23078
23265
  }),
23079
23266
  execute: (input, { client }) => {
23080
23267
  const data = input;
@@ -23116,13 +23303,17 @@ const generatedFocusOperations = [
23116
23303
  group_id: /* @__PURE__ */ number$2(),
23117
23304
  include_assignees: /* @__PURE__ */ unknown$1(),
23118
23305
  include_drafts: /* @__PURE__ */ unknown$1(),
23306
+ include_projected_occurrences: /* @__PURE__ */ unknown$1(),
23119
23307
  include_unassigned: /* @__PURE__ */ unknown$1(),
23120
23308
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
23309
+ max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23121
23310
  min_days: /* @__PURE__ */ unknown$1(),
23122
23311
  name: /* @__PURE__ */ unknown$1(),
23123
23312
  priority: /* @__PURE__ */ unknown$1(),
23124
23313
  private_: /* @__PURE__ */ unknown$1(),
23125
23314
  project_id: /* @__PURE__ */ number$2(),
23315
+ recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23316
+ recurring_task_read: /* @__PURE__ */ unknown$1(),
23126
23317
  source: /* @__PURE__ */ unknown$1(),
23127
23318
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23128
23319
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -23131,7 +23322,8 @@ const generatedFocusOperations = [
23131
23322
  tag_id: /* @__PURE__ */ number$2(),
23132
23323
  team_id: /* @__PURE__ */ number$2(),
23133
23324
  user_cf_filter: /* @__PURE__ */ unknown$1(),
23134
- user_tag_id: /* @__PURE__ */ number$2()
23325
+ user_tag_id: /* @__PURE__ */ number$2(),
23326
+ xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
23135
23327
  }),
23136
23328
  execute: (input, { client }) => {
23137
23329
  const data = input;
@@ -23172,13 +23364,17 @@ const generatedFocusOperations = [
23172
23364
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23173
23365
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23174
23366
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23367
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23175
23368
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23176
23369
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23370
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23177
23371
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23178
23372
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23179
23373
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23180
23374
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23181
23375
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23376
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23377
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23182
23378
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23183
23379
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23184
23380
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23187,7 +23383,8 @@ const generatedFocusOperations = [
23187
23383
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23188
23384
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23189
23385
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23190
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23386
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23387
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23191
23388
  }),
23192
23389
  execute: (input, { client }) => {
23193
23390
  const data = input;
@@ -23458,7 +23655,8 @@ const generatedFocusOperations = [
23458
23655
  mcp: { entityTool: "tasks" },
23459
23656
  inputSchema: /* @__PURE__ */ looseObject({
23460
23657
  date_from: /* @__PURE__ */ string$1(),
23461
- date_to: /* @__PURE__ */ string$1()
23658
+ date_to: /* @__PURE__ */ string$1(),
23659
+ skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23462
23660
  }),
23463
23661
  execute: (input, { client }) => {
23464
23662
  const data = input;
@@ -23468,6 +23666,7 @@ const generatedFocusOperations = [
23468
23666
  client.workspaceIdNumber,
23469
23667
  data.date_from,
23470
23668
  data.date_to,
23669
+ data.skip_provider_refresh,
23471
23670
  void 0
23472
23671
  ]));
23473
23672
  }
@@ -24054,7 +24253,8 @@ const generatedFocusOperations = [
24054
24253
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
24055
24254
  "project",
24056
24255
  "task",
24057
- "description"
24256
+ "description",
24257
+ "tags"
24058
24258
  ]) })),
24059
24259
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24060
24260
  }) }),
@@ -24084,6 +24284,7 @@ const generatedFocusOperations = [
24084
24284
  },
24085
24285
  mcp: { entityTool: "time-entries" },
24086
24286
  inputSchema: /* @__PURE__ */ looseObject({
24287
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24087
24288
  payload: /* @__PURE__ */ looseObject({
24088
24289
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24089
24290
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -24094,11 +24295,13 @@ const generatedFocusOperations = [
24094
24295
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24095
24296
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24096
24297
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24298
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24097
24299
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
24098
24300
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24099
24301
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24100
24302
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24101
24303
  }),
24304
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24102
24305
  task_id: /* @__PURE__ */ number$2()
24103
24306
  }),
24104
24307
  execute: (input, { client }) => {
@@ -24109,6 +24312,8 @@ const generatedFocusOperations = [
24109
24312
  client.workspaceIdNumber,
24110
24313
  data.task_id,
24111
24314
  data.payload ?? data.data ?? data,
24315
+ data.from_recurring_task_id,
24316
+ data.return_occurrence,
24112
24317
  void 0
24113
24318
  ]));
24114
24319
  }
@@ -24128,21 +24333,26 @@ const generatedFocusOperations = [
24128
24333
  interactive: "default"
24129
24334
  },
24130
24335
  mcp: { entityTool: "time-entries" },
24131
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
24132
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24133
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24134
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24135
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24136
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24137
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24138
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24139
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24140
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24141
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
24142
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24143
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24144
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24145
- }) }),
24336
+ inputSchema: /* @__PURE__ */ looseObject({
24337
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24338
+ payload: /* @__PURE__ */ looseObject({
24339
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24340
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24341
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24342
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24343
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24344
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24345
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24346
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24347
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24348
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24349
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
24350
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24351
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24352
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24353
+ }),
24354
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24355
+ }),
24146
24356
  execute: (input, { client }) => {
24147
24357
  const data = input;
24148
24358
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -24150,6 +24360,8 @@ const generatedFocusOperations = [
24150
24360
  client.organizationId,
24151
24361
  client.workspaceIdNumber,
24152
24362
  data.payload ?? data.data ?? data,
24363
+ data.from_recurring_task_id,
24364
+ data.return_occurrence,
24153
24365
  void 0
24154
24366
  ]));
24155
24367
  }
@@ -24169,7 +24381,11 @@ const generatedFocusOperations = [
24169
24381
  interactive: "default"
24170
24382
  },
24171
24383
  mcp: { entityTool: "time-entries" },
24172
- inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
24384
+ inputSchema: /* @__PURE__ */ looseObject({
24385
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24386
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24387
+ time_entry_id: /* @__PURE__ */ number$2()
24388
+ }),
24173
24389
  execute: (input, { client }) => {
24174
24390
  const data = input;
24175
24391
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -24177,6 +24393,8 @@ const generatedFocusOperations = [
24177
24393
  client.organizationId,
24178
24394
  client.workspaceIdNumber,
24179
24395
  data.time_entry_id,
24396
+ data.from_recurring_task_id,
24397
+ data.return_occurrence,
24180
24398
  void 0
24181
24399
  ]));
24182
24400
  }
@@ -24257,6 +24475,7 @@ const generatedFocusOperations = [
24257
24475
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
24258
24476
  include_taskless: /* @__PURE__ */ unknown$1(),
24259
24477
  order_by: /* @__PURE__ */ unknown$1(),
24478
+ project_id: /* @__PURE__ */ number$2(),
24260
24479
  status_id: /* @__PURE__ */ number$2(),
24261
24480
  task_id: /* @__PURE__ */ number$2(),
24262
24481
  type: /* @__PURE__ */ unknown$1()
@@ -24433,12 +24652,14 @@ const generatedFocusOperations = [
24433
24652
  },
24434
24653
  mcp: { entityTool: "time-entries" },
24435
24654
  inputSchema: /* @__PURE__ */ looseObject({
24655
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24436
24656
  payload: /* @__PURE__ */ looseObject({
24437
24657
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24438
24658
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24439
24659
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24440
24660
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
24441
24661
  }),
24662
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24442
24663
  time_entry_id: /* @__PURE__ */ number$2()
24443
24664
  }),
24444
24665
  execute: (input, { client }) => {
@@ -24449,6 +24670,8 @@ const generatedFocusOperations = [
24449
24670
  client.workspaceIdNumber,
24450
24671
  data.time_entry_id,
24451
24672
  data.payload ?? data.data ?? data,
24673
+ data.from_recurring_task_id,
24674
+ data.return_occurrence,
24452
24675
  void 0
24453
24676
  ]));
24454
24677
  }
@@ -24706,6 +24929,7 @@ const generatedFocusOperations = [
24706
24929
  },
24707
24930
  mcp: { entityTool: "time-entries" },
24708
24931
  inputSchema: /* @__PURE__ */ looseObject({
24932
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24709
24933
  payload: /* @__PURE__ */ looseObject({
24710
24934
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24711
24935
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -24718,6 +24942,7 @@ const generatedFocusOperations = [
24718
24942
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24719
24943
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
24720
24944
  }),
24945
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24721
24946
  time_entry_id: /* @__PURE__ */ number$2()
24722
24947
  }),
24723
24948
  execute: (input, { client }) => {
@@ -24728,6 +24953,8 @@ const generatedFocusOperations = [
24728
24953
  client.workspaceIdNumber,
24729
24954
  data.time_entry_id,
24730
24955
  data.payload ?? data.data ?? data,
24956
+ data.from_recurring_task_id,
24957
+ data.return_occurrence,
24731
24958
  void 0
24732
24959
  ]));
24733
24960
  }
@@ -25813,6 +26040,56 @@ const generatedFocusOperations = [
25813
26040
  return client.listOrgUsers(data);
25814
26041
  }
25815
26042
  },
26043
+ {
26044
+ id: "focus.users.settings-email-unsubscribe",
26045
+ family: "focus",
26046
+ resource: "users",
26047
+ action: "settings-email-unsubscribe",
26048
+ title: "Settings Email Unsubscribe Users",
26049
+ description: "Settings Email Unsubscribe Users.",
26050
+ safety: "update",
26051
+ destructive: false,
26052
+ cli: {
26053
+ group: ["users", "settings"],
26054
+ command: "email-unsubscribe",
26055
+ interactive: "default"
26056
+ },
26057
+ mcp: { entityTool: "users" },
26058
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
26059
+ execute: (input, { client }) => {
26060
+ const data = input;
26061
+ return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
26062
+ client.httpClient,
26063
+ data.token,
26064
+ void 0
26065
+ ]));
26066
+ }
26067
+ },
26068
+ {
26069
+ id: "focus.users.settings-email-unsubscribe-page",
26070
+ family: "focus",
26071
+ resource: "users",
26072
+ action: "settings-email-unsubscribe-page",
26073
+ title: "Settings Email Unsubscribe Page Users",
26074
+ description: "Settings Email Unsubscribe Page Users.",
26075
+ safety: "read",
26076
+ destructive: false,
26077
+ cli: {
26078
+ group: ["users", "settings"],
26079
+ command: "email-unsubscribe-page",
26080
+ interactive: "available"
26081
+ },
26082
+ mcp: { entityTool: "users" },
26083
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
26084
+ execute: (input, { client }) => {
26085
+ const data = input;
26086
+ return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
26087
+ client.httpClient,
26088
+ data.token,
26089
+ void 0
26090
+ ]));
26091
+ }
26092
+ },
25816
26093
  {
25817
26094
  id: "focus.users.settings-list",
25818
26095
  family: "focus",
@@ -25874,6 +26151,9 @@ const generatedFocusOperations = [
25874
26151
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25875
26152
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25876
26153
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26154
+ notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26155
+ notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26156
+ notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25877
26157
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25878
26158
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25879
26159
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -27920,4 +28200,4 @@ Common commands:
27920
28200
  //#endregion
27921
28201
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
27922
28202
 
27923
- //# sourceMappingURL=program-DPtWZkto.js.map
28203
+ //# sourceMappingURL=program-BJh35e-q.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-DPtWZkto.js";
1
+ import { t as createProgram } from "./program-BJh35e-q.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.11.35",
3
+ "version": "1.11.37",
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.43",
59
+ "@toggl/queries": "2.2.44",
60
60
  "@types/node": "22.19.11",
61
61
  "tsdown": "0.21.8",
62
62
  "typescript": "5.9.3",