@togglhq/mcp 1.11.34 → 1.11.35

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 initProductAnalytics, c as shutdownProductAnalytics, i as getProductAnalyticsDistinctId, n as runMcpCli, o as redactUnsafeSentryMessages, r as captureToolInvocation, s as resolveProductAnalyticsDistinctId } from "./src-X1or7-7J.js";
2
+ import { a as initProductAnalytics, c as shutdownProductAnalytics, i as getProductAnalyticsDistinctId, n as runMcpCli, o as redactUnsafeSentryMessages, r as captureToolInvocation, s as resolveProductAnalyticsDistinctId } from "./src-5FulXA5B.js";
3
3
  import * as Sentry from "@sentry/node";
4
4
  //#region src/analytics-tool-metadata.ts
5
5
  /**
@@ -165,7 +165,7 @@ function wrapServerWithProductAnalytics(server) {
165
165
  }
166
166
  //#endregion
167
167
  //#region src/cli.ts
168
- const packageVersion = "1.11.34";
168
+ const packageVersion = "1.11.35";
169
169
  let sentryEnabled = false;
170
170
  let productAnalyticsEnabled = false;
171
171
  runMcpCli({
package/build/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import { n as runMcpCli, t as bootstrapServer } from "./src-X1or7-7J.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-5FulXA5B.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -36552,7 +36552,6 @@ const TaskSchema = /* @__PURE__ */ object({
36552
36552
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36553
36553
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
36554
36554
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36555
- 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."))),
36556
36555
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
36557
36556
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36558
36557
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -36614,7 +36613,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
36614
36613
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36615
36614
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
36616
36615
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36617
- 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."))),
36618
36616
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
36619
36617
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36620
36618
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -36797,8 +36795,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
36797
36795
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36798
36796
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36799
36797
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36800
- 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."))),
36801
- 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."))),
36802
36798
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36803
36799
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36804
36800
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -36884,7 +36880,6 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
36884
36880
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36885
36881
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
36886
36882
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36887
- filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36888
36883
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
36889
36884
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36890
36885
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
@@ -36964,8 +36959,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
36964
36959
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36965
36960
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36966
36961
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36967
- 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."))),
36968
- 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."))),
36969
36962
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36970
36963
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36971
36964
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -37196,7 +37189,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
37196
37189
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37197
37190
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37198
37191
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37199
- 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."))),
37200
37192
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37201
37193
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37202
37194
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -37233,7 +37225,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
37233
37225
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37234
37226
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37235
37227
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37236
- 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."))),
37237
37228
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37238
37229
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37239
37230
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -37519,18 +37510,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
37519
37510
  }
37520
37511
  //#endregion
37521
37512
  //#region ../focus-queries/dist/projects/requests.ts
37522
- 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) {
37513
+ 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) {
37523
37514
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37524
37515
  signal,
37525
37516
  searchParams: buildSearchParams$2({
37526
- include_task_counts,
37527
- task_archived,
37528
- task_recurring,
37529
- task_state,
37530
- task_source,
37531
- task_assignee_user_id,
37532
- task_assignee_team_id,
37533
- task_name,
37534
37517
  page,
37535
37518
  per_page,
37536
37519
  order_by,
@@ -37780,7 +37763,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
37780
37763
  }
37781
37764
  //#endregion
37782
37765
  //#region ../focus-queries/dist/tasks/requests.ts
37783
- 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) {
37766
+ 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) {
37784
37767
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
37785
37768
  signal,
37786
37769
  searchParams: buildSearchParams$2({
@@ -37831,11 +37814,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37831
37814
  include_assignees,
37832
37815
  include_parent_matches,
37833
37816
  disable_aggregations,
37834
- cf_filter,
37835
- recurring_occurrences_after,
37836
- max_recurring_occurrences_after,
37837
- recurring_task_read,
37838
- include_projected_occurrences
37817
+ cf_filter
37839
37818
  })
37840
37819
  }).json();
37841
37820
  }
@@ -37910,17 +37889,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
37910
37889
  })
37911
37890
  }).json();
37912
37891
  }
37913
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
37892
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
37914
37893
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
37915
37894
  signal,
37916
37895
  searchParams: buildSearchParams$2({
37917
37896
  date_from,
37918
- date_to,
37919
- skip_provider_refresh
37897
+ date_to
37920
37898
  })
37921
37899
  }).json();
37922
37900
  }
37923
- 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) {
37901
+ 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) {
37924
37902
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
37925
37903
  signal,
37926
37904
  searchParams: buildSearchParams$2({
@@ -37936,15 +37914,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
37936
37914
  assignee_team_id,
37937
37915
  assignee_user_id,
37938
37916
  tag_id,
37939
- include_assignees,
37940
- recurring_occurrences_after,
37941
- max_recurring_occurrences_after,
37942
- recurring_task_read,
37943
- include_projected_occurrences
37917
+ include_assignees
37944
37918
  })
37945
37919
  }).json();
37946
37920
  }
37947
- 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) {
37921
+ 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) {
37948
37922
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
37949
37923
  signal,
37950
37924
  searchParams: buildSearchParams$2({
@@ -37989,11 +37963,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37989
37963
  recurring_task_ids,
37990
37964
  client_id,
37991
37965
  include_assignees,
37992
- cf_filter,
37993
- recurring_occurrences_after,
37994
- max_recurring_occurrences_after,
37995
- recurring_task_read,
37996
- include_projected_occurrences
37966
+ cf_filter
37997
37967
  })
37998
37968
  }).json();
37999
37969
  }
@@ -38048,12 +38018,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
38048
38018
  })
38049
38019
  }).json();
38050
38020
  }
38051
- async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
38052
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
38053
- signal,
38054
- searchParams: buildSearchParams$2({ return_occurrence })
38055
- }).json();
38056
- }
38057
38021
  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) {
38058
38022
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
38059
38023
  signal,
@@ -38190,24 +38154,16 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
38190
38154
  })
38191
38155
  }).json();
38192
38156
  }
38193
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
38157
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
38194
38158
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
38195
38159
  signal,
38196
- json: data,
38197
- searchParams: buildSearchParams$2({
38198
- from_recurring_task_id,
38199
- return_occurrence
38200
- })
38160
+ json: data
38201
38161
  }).json();
38202
38162
  }
38203
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
38163
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
38204
38164
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
38205
38165
  signal,
38206
- json: data,
38207
- searchParams: buildSearchParams$2({
38208
- from_recurring_task_id,
38209
- return_occurrence
38210
- })
38166
+ json: data
38211
38167
  }).json();
38212
38168
  }
38213
38169
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -38258,7 +38214,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
38258
38214
  json: data
38259
38215
  }).json();
38260
38216
  }
38261
- 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) {
38217
+ 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) {
38262
38218
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
38263
38219
  signal,
38264
38220
  searchParams: buildSearchParams$2({
@@ -38266,7 +38222,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
38266
38222
  date_to,
38267
38223
  task_id,
38268
38224
  status_id,
38269
- project_id,
38270
38225
  type,
38271
38226
  order_by,
38272
38227
  archived,
@@ -38290,33 +38245,19 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
38290
38245
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
38291
38246
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
38292
38247
  }
38293
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
38248
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
38294
38249
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38295
38250
  signal,
38296
- json: data,
38297
- searchParams: buildSearchParams$2({
38298
- from_recurring_task_id,
38299
- return_occurrence
38300
- })
38251
+ json: data
38301
38252
  }).json();
38302
38253
  }
38303
- async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
38304
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38305
- signal,
38306
- searchParams: buildSearchParams$2({
38307
- from_recurring_task_id,
38308
- return_occurrence
38309
- })
38310
- }).json();
38254
+ async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
38255
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
38311
38256
  }
38312
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
38257
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
38313
38258
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38314
38259
  signal,
38315
- json: data,
38316
- searchParams: buildSearchParams$2({
38317
- from_recurring_task_id,
38318
- return_occurrence
38319
- })
38260
+ json: data
38320
38261
  }).json();
38321
38262
  }
38322
38263
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -38431,7 +38372,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38431
38372
  ]))
38432
38373
  });
38433
38374
  //#endregion
38434
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.41_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_04204b7272d60696191092c3d117b764/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38375
+ //#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
38435
38376
  async function getInvitations(httpClient, signal) {
38436
38377
  return (await httpClient.get(`invitations`, { signal })).json();
38437
38378
  }
@@ -38448,7 +38389,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38448
38389
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38449
38390
  }
38450
38391
  //#endregion
38451
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.41_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_04204b7272d60696191092c3d117b764/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38392
+ //#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
38452
38393
  function buildSearchParams(params, flattenArrays = false) {
38453
38394
  const searchParams = new URLSearchParams();
38454
38395
  Object.entries(params).forEach(([key, value]) => {
@@ -38460,7 +38401,7 @@ function buildSearchParams(params, flattenArrays = false) {
38460
38401
  return searchParams;
38461
38402
  }
38462
38403
  //#endregion
38463
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.41_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_04204b7272d60696191092c3d117b764/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38404
+ //#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
38464
38405
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38465
38406
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38466
38407
  }
@@ -38474,7 +38415,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38474
38415
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38475
38416
  }
38476
38417
  //#endregion
38477
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.41_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_04204b7272d60696191092c3d117b764/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38418
+ //#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
38478
38419
  async function getWorkspaces(httpClient, organization_id, signal) {
38479
38420
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38480
38421
  }
@@ -38494,7 +38435,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38494
38435
  });
38495
38436
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38496
38437
  //#endregion
38497
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.41_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_04204b7272d60696191092c3d117b764/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38438
+ //#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
38498
38439
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38499
38440
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38500
38441
  signal,
@@ -38505,12 +38446,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38505
38446
  })).json();
38506
38447
  }
38507
38448
  //#endregion
38508
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.41_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_04204b7272d60696191092c3d117b764/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38449
+ //#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
38509
38450
  async function getStatus(httpClient, signal) {
38510
38451
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38511
38452
  }
38512
38453
  //#endregion
38513
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.41_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_04204b7272d60696191092c3d117b764/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38454
+ //#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
38514
38455
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38515
38456
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38516
38457
  signal,
@@ -38538,7 +38479,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38538
38479
  return response.json();
38539
38480
  }
38540
38481
  //#endregion
38541
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.41_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_04204b7272d60696191092c3d117b764/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38482
+ //#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
38542
38483
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38543
38484
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38544
38485
  }
@@ -42189,15 +42130,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
42189
42130
  }
42190
42131
  //#endregion
42191
42132
  //#region ../focus-queries/dist/audit-log/requests.ts
42192
- 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) {
42133
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
42193
42134
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
42194
42135
  signal,
42195
42136
  searchParams: buildSearchParams$2({
42196
42137
  workspace_id,
42197
42138
  entity_type,
42198
42139
  entity_id,
42199
- project_id,
42200
- custom_field_id,
42201
42140
  action,
42202
42141
  user_id,
42203
42142
  page_size,
@@ -42206,14 +42145,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
42206
42145
  })
42207
42146
  }).json();
42208
42147
  }
42209
- 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) {
42148
+ async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
42210
42149
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
42211
42150
  signal,
42212
42151
  searchParams: buildSearchParams$2({
42213
42152
  entity_type,
42214
42153
  entity_id,
42215
- project_id,
42216
- custom_field_id,
42217
42154
  action,
42218
42155
  user_id,
42219
42156
  page_size,
@@ -42366,14 +42303,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
42366
42303
  }
42367
42304
  //#endregion
42368
42305
  //#region ../focus-queries/dist/capacities/requests.ts
42369
- 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) {
42306
+ 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) {
42370
42307
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
42371
42308
  signal,
42372
42309
  searchParams: buildSearchParams$2({
42310
+ user_id,
42373
42311
  start_date,
42374
42312
  end_date,
42375
- user_id,
42376
- team_id,
42377
42313
  private: private_,
42378
42314
  task_source,
42379
42315
  unit,
@@ -42433,15 +42369,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
42433
42369
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42434
42370
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
42435
42371
  }
42436
- async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42437
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
42438
- }
42439
- async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
42440
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
42441
- signal,
42442
- json: data
42443
- }).json();
42444
- }
42445
42372
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
42446
42373
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
42447
42374
  signal,
@@ -42705,7 +42632,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
42705
42632
  }
42706
42633
  //#endregion
42707
42634
  //#region ../focus-queries/dist/project-groups/requests.ts
42708
- 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) {
42635
+ 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) {
42709
42636
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
42710
42637
  signal,
42711
42638
  searchParams: buildSearchParams$2({
@@ -42731,7 +42658,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42731
42658
  user_id,
42732
42659
  only_me,
42733
42660
  include_drafts,
42734
- include_recurring_series,
42735
42661
  cf_filter
42736
42662
  })
42737
42663
  }).json();
@@ -42750,6 +42676,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
42750
42676
  json: data
42751
42677
  }).json();
42752
42678
  }
42679
+ async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
42680
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
42681
+ }
42753
42682
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
42754
42683
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
42755
42684
  }
@@ -43053,10 +42982,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
43053
42982
  }
43054
42983
  //#endregion
43055
42984
  //#region ../focus-queries/dist/task-groups/requests.ts
43056
- 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) {
42985
+ 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) {
43057
42986
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
43058
42987
  signal,
43059
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
43060
42988
  searchParams: buildSearchParams$2({
43061
42989
  project_id,
43062
42990
  source,
@@ -43085,18 +43013,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
43085
43013
  min_days,
43086
43014
  include_drafts,
43087
43015
  cf_filter,
43088
- user_cf_filter,
43089
- recurring_occurrences_after,
43090
- max_recurring_occurrences_after,
43091
- recurring_task_read,
43092
- include_projected_occurrences
43016
+ user_cf_filter
43093
43017
  })
43094
43018
  }).json();
43095
43019
  }
43096
- 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) {
43020
+ 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) {
43097
43021
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
43098
43022
  signal,
43099
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
43100
43023
  searchParams: buildSearchParams$2({
43101
43024
  team_id,
43102
43025
  project_id,
@@ -43125,18 +43048,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
43125
43048
  min_days,
43126
43049
  include_drafts,
43127
43050
  cf_filter,
43128
- user_cf_filter,
43129
- recurring_occurrences_after,
43130
- max_recurring_occurrences_after,
43131
- recurring_task_read,
43132
- include_projected_occurrences
43051
+ user_cf_filter
43133
43052
  })
43134
43053
  }).json();
43135
43054
  }
43136
- 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) {
43055
+ 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) {
43137
43056
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
43138
43057
  signal,
43139
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
43140
43058
  searchParams: buildSearchParams$2({
43141
43059
  source,
43142
43060
  priority,
@@ -43166,10 +43084,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
43166
43084
  include_drafts,
43167
43085
  cf_filter,
43168
43086
  user_cf_filter,
43169
- recurring_occurrences_after,
43170
- max_recurring_occurrences_after,
43171
- recurring_task_read,
43172
- include_projected_occurrences,
43173
43087
  page,
43174
43088
  per_page,
43175
43089
  order_by
@@ -43405,12 +43319,6 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
43405
43319
  }
43406
43320
  //#endregion
43407
43321
  //#region ../focus-queries/dist/user-settings/requests.ts
43408
- async function emailUnsubscribePage(httpClient, token, signal) {
43409
- return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
43410
- }
43411
- async function emailUnsubscribe(httpClient, token, signal) {
43412
- return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
43413
- }
43414
43322
  async function getUserSettings(httpClient, signal) {
43415
43323
  return await httpClient.get(`users/me/settings`, { signal }).json();
43416
43324
  }
@@ -43650,7 +43558,6 @@ const generatedFocusOperations = [
43650
43558
  mcp: { entityTool: "audit-log" },
43651
43559
  inputSchema: /* @__PURE__ */ looseObject({
43652
43560
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43653
- custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43654
43561
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43655
43562
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43656
43563
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -43658,7 +43565,6 @@ const generatedFocusOperations = [
43658
43565
  from: /* @__PURE__ */ string$1(),
43659
43566
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43660
43567
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43661
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43662
43568
  to: /* @__PURE__ */ string$1(),
43663
43569
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43664
43570
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -43692,7 +43598,6 @@ const generatedFocusOperations = [
43692
43598
  mcp: { entityTool: "audit-log" },
43693
43599
  inputSchema: /* @__PURE__ */ looseObject({
43694
43600
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43695
- custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43696
43601
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43697
43602
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43698
43603
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -43700,7 +43605,6 @@ const generatedFocusOperations = [
43700
43605
  from: /* @__PURE__ */ string$1(),
43701
43606
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43702
43607
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43703
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43704
43608
  to: /* @__PURE__ */ string$1(),
43705
43609
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43706
43610
  }),
@@ -43740,7 +43644,6 @@ const generatedFocusOperations = [
43740
43644
  private_: /* @__PURE__ */ unknown$1(),
43741
43645
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43742
43646
  task_source: /* @__PURE__ */ unknown$1(),
43743
- team_id: /* @__PURE__ */ number$2(),
43744
43647
  unit: /* @__PURE__ */ unknown$1(),
43745
43648
  user_id: /* @__PURE__ */ number$2()
43746
43649
  }),
@@ -44181,33 +44084,6 @@ const generatedFocusOperations = [
44181
44084
  ]));
44182
44085
  }
44183
44086
  },
44184
- {
44185
- id: "focus.custom-fields.get-allowed-users",
44186
- family: "focus",
44187
- resource: "custom-fields",
44188
- action: "get-allowed-users",
44189
- title: "Get Allowed Users Custom Fields",
44190
- description: "Get Allowed Users Custom Fields.",
44191
- safety: "read",
44192
- destructive: false,
44193
- cli: {
44194
- group: ["custom-fields"],
44195
- command: "get-allowed-users",
44196
- interactive: "available"
44197
- },
44198
- mcp: { entityTool: "custom-fields" },
44199
- inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
44200
- execute: (input, { client }) => {
44201
- const data = input;
44202
- return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
44203
- client.httpClient,
44204
- client.organizationId,
44205
- client.workspaceIdNumber,
44206
- data.custom_field_id,
44207
- void 0
44208
- ]));
44209
- }
44210
- },
44211
44087
  {
44212
44088
  id: "focus.custom-fields.list",
44213
44089
  family: "focus",
@@ -44377,37 +44253,6 @@ const generatedFocusOperations = [
44377
44253
  ]));
44378
44254
  }
44379
44255
  },
44380
- {
44381
- id: "focus.custom-fields.replace-custom-field-allowed-users",
44382
- family: "focus",
44383
- resource: "custom-fields",
44384
- action: "replace-custom-field-allowed-users",
44385
- title: "Replace Custom Field Allowed Users Custom Fields",
44386
- description: "Replace Custom Field Allowed Users Custom Fields.",
44387
- safety: "update",
44388
- destructive: false,
44389
- cli: {
44390
- group: ["custom-fields"],
44391
- command: "replace-custom-field-allowed-users",
44392
- interactive: "default"
44393
- },
44394
- mcp: { entityTool: "custom-fields" },
44395
- inputSchema: /* @__PURE__ */ looseObject({
44396
- custom_field_id: /* @__PURE__ */ number$2(),
44397
- payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
44398
- }),
44399
- execute: (input, { client }) => {
44400
- const data = input;
44401
- return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
44402
- client.httpClient,
44403
- client.organizationId,
44404
- client.workspaceIdNumber,
44405
- data.custom_field_id,
44406
- data.payload ?? data.data ?? data,
44407
- void 0
44408
- ]));
44409
- }
44410
- },
44411
44256
  {
44412
44257
  id: "focus.custom-fields.update",
44413
44258
  family: "focus",
@@ -44554,7 +44399,13 @@ const generatedFocusOperations = [
44554
44399
  },
44555
44400
  mcp: { entityTool: "goals" },
44556
44401
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44402
+ billable: /* @__PURE__ */ boolean$1(),
44557
44403
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44404
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44405
+ icon: /* @__PURE__ */ string$1(),
44406
+ monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44407
+ name: /* @__PURE__ */ string$1(),
44408
+ project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44558
44409
  recurrence: /* @__PURE__ */ picklist$1([
44559
44410
  "daily",
44560
44411
  "weekly",
@@ -44562,18 +44413,12 @@ const generatedFocusOperations = [
44562
44413
  "monthly"
44563
44414
  ]),
44564
44415
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44416
+ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44565
44417
  target_seconds: /* @__PURE__ */ number$2(),
44566
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44418
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44419
+ weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44567
44420
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44568
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44569
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44570
- icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44571
- monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44572
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44573
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44574
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44575
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44576
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44421
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44577
44422
  }) }),
44578
44423
  execute: (input, { client }) => {
44579
44424
  const data = input;
@@ -44679,6 +44524,13 @@ const generatedFocusOperations = [
44679
44524
  },
44680
44525
  mcp: { entityTool: "goals" },
44681
44526
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44527
+ billable: /* @__PURE__ */ boolean$1(),
44528
+ comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44529
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44530
+ icon: /* @__PURE__ */ string$1(),
44531
+ monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44532
+ name: /* @__PURE__ */ string$1(),
44533
+ project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44682
44534
  recurrence: /* @__PURE__ */ picklist$1([
44683
44535
  "daily",
44684
44536
  "weekly",
@@ -44686,19 +44538,12 @@ const generatedFocusOperations = [
44686
44538
  "monthly"
44687
44539
  ]),
44688
44540
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44689
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44541
+ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44542
+ target_seconds: /* @__PURE__ */ number$2(),
44543
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44544
+ weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44690
44545
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44691
- comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
44692
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44693
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44694
- icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44695
- monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44696
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44697
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44698
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44699
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44700
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44701
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44546
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44702
44547
  }) }),
44703
44548
  execute: (input, { client }) => {
44704
44549
  const data = input;
@@ -45665,17 +45510,9 @@ const generatedFocusOperations = [
45665
45510
  mcp: { entityTool: "projects" },
45666
45511
  inputSchema: /* @__PURE__ */ looseObject({
45667
45512
  payload: /* @__PURE__ */ looseObject({
45668
- auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45669
- completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
45670
45513
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
45671
45514
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45672
45515
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45673
- rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
45674
- "expire",
45675
- "carry_all",
45676
- "carry_over"
45677
- ])),
45678
- rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45679
45516
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
45680
45517
  }),
45681
45518
  project_id: /* @__PURE__ */ number$2()
@@ -46119,7 +45956,6 @@ const generatedFocusOperations = [
46119
45956
  group: /* @__PURE__ */ string$1(),
46120
45957
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46121
45958
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46122
- include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46123
45959
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46124
45960
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46125
45961
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -46222,6 +46058,29 @@ const generatedFocusOperations = [
46222
46058
  ]));
46223
46059
  }
46224
46060
  },
46061
+ {
46062
+ id: "focus.projects.margin-targets-clear-workspace",
46063
+ family: "focus",
46064
+ resource: "projects",
46065
+ action: "margin-targets-clear-workspace",
46066
+ title: "Margin Targets Clear Workspace Projects",
46067
+ description: "Margin Targets Clear Workspace Projects.",
46068
+ safety: "delete",
46069
+ destructive: true,
46070
+ cli: {
46071
+ group: ["projects", "margin-targets"],
46072
+ command: "clear-workspace",
46073
+ interactive: "default"
46074
+ },
46075
+ mcp: { entityTool: "projects" },
46076
+ inputSchema: /* @__PURE__ */ looseObject({}),
46077
+ execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
46078
+ client.httpClient,
46079
+ client.organizationId,
46080
+ client.workspaceIdNumber,
46081
+ void 0
46082
+ ]))
46083
+ },
46225
46084
  {
46226
46085
  id: "focus.projects.margin-targets-get",
46227
46086
  family: "focus",
@@ -48624,7 +48483,7 @@ const generatedFocusOperations = [
48624
48483
  cli: {
48625
48484
  group: ["reportschedules"],
48626
48485
  command: "upsert-saved-view-schedule",
48627
- interactive: "hidden"
48486
+ interactive: "default"
48628
48487
  },
48629
48488
  mcp: { entityTool: "reportschedules" },
48630
48489
  inputSchema: /* @__PURE__ */ looseObject({
@@ -48635,10 +48494,8 @@ const generatedFocusOperations = [
48635
48494
  "weekly",
48636
48495
  "monthly"
48637
48496
  ]),
48638
- charts: /* @__PURE__ */ unknown$1(),
48639
48497
  time: /* @__PURE__ */ string$1(),
48640
48498
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48641
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48642
48499
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48643
48500
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48644
48501
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -50187,37 +50044,6 @@ const generatedFocusOperations = [
50187
50044
  return client.createTask(data);
50188
50045
  }
50189
50046
  },
50190
- {
50191
- id: "focus.tasks.create-recurring-occurrence",
50192
- family: "focus",
50193
- resource: "tasks",
50194
- action: "create-recurring-occurrence",
50195
- title: "Create Recurring Occurrence Tasks",
50196
- description: "Create Recurring Occurrence Tasks.",
50197
- safety: "create",
50198
- destructive: false,
50199
- cli: {
50200
- group: ["tasks"],
50201
- command: "create-recurring-occurrence",
50202
- interactive: "default"
50203
- },
50204
- mcp: { entityTool: "tasks" },
50205
- inputSchema: /* @__PURE__ */ looseObject({
50206
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50207
- task_id: /* @__PURE__ */ number$2()
50208
- }),
50209
- execute: (input, { client }) => {
50210
- const data = input;
50211
- return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
50212
- client.httpClient,
50213
- client.organizationId,
50214
- client.workspaceIdNumber,
50215
- data.task_id,
50216
- data.return_occurrence,
50217
- void 0
50218
- ]));
50219
- }
50220
- },
50221
50047
  {
50222
50048
  id: "focus.tasks.delete",
50223
50049
  family: "focus",
@@ -50465,13 +50291,9 @@ const generatedFocusOperations = [
50465
50291
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50466
50292
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50467
50293
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50468
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50469
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50470
50294
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50471
50295
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50472
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50473
50296
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50474
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50475
50297
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50476
50298
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50477
50299
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -50523,9 +50345,7 @@ const generatedFocusOperations = [
50523
50345
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50524
50346
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50525
50347
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50526
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50527
50348
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50528
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50529
50349
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50530
50350
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50531
50351
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -50534,9 +50354,7 @@ const generatedFocusOperations = [
50534
50354
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50535
50355
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50536
50356
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50537
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50538
50357
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50539
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50540
50358
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50541
50359
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50542
50360
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50674,10 +50492,8 @@ const generatedFocusOperations = [
50674
50492
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50675
50493
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50676
50494
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50677
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50678
50495
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50679
50496
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50680
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50681
50497
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50682
50498
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50683
50499
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50686,8 +50502,6 @@ const generatedFocusOperations = [
50686
50502
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50687
50503
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50688
50504
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50689
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50690
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50691
50505
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50692
50506
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50693
50507
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50696,8 +50510,7 @@ const generatedFocusOperations = [
50696
50510
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50697
50511
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50698
50512
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50699
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50700
- xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50513
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50701
50514
  }),
50702
50515
  execute: (input, { client }) => {
50703
50516
  const data = input;
@@ -50739,17 +50552,13 @@ const generatedFocusOperations = [
50739
50552
  group_id: /* @__PURE__ */ number$2(),
50740
50553
  include_assignees: /* @__PURE__ */ unknown$1(),
50741
50554
  include_drafts: /* @__PURE__ */ unknown$1(),
50742
- include_projected_occurrences: /* @__PURE__ */ unknown$1(),
50743
50555
  include_unassigned: /* @__PURE__ */ unknown$1(),
50744
50556
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
50745
- max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
50746
50557
  min_days: /* @__PURE__ */ unknown$1(),
50747
50558
  name: /* @__PURE__ */ unknown$1(),
50748
50559
  priority: /* @__PURE__ */ unknown$1(),
50749
50560
  private_: /* @__PURE__ */ unknown$1(),
50750
50561
  project_id: /* @__PURE__ */ number$2(),
50751
- recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
50752
- recurring_task_read: /* @__PURE__ */ unknown$1(),
50753
50562
  source: /* @__PURE__ */ unknown$1(),
50754
50563
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
50755
50564
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -50758,8 +50567,7 @@ const generatedFocusOperations = [
50758
50567
  tag_id: /* @__PURE__ */ number$2(),
50759
50568
  team_id: /* @__PURE__ */ number$2(),
50760
50569
  user_cf_filter: /* @__PURE__ */ unknown$1(),
50761
- user_tag_id: /* @__PURE__ */ number$2(),
50762
- xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
50570
+ user_tag_id: /* @__PURE__ */ number$2()
50763
50571
  }),
50764
50572
  execute: (input, { client }) => {
50765
50573
  const data = input;
@@ -50800,17 +50608,13 @@ const generatedFocusOperations = [
50800
50608
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50801
50609
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50802
50610
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50803
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50804
50611
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50805
50612
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50806
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50807
50613
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50808
50614
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50809
50615
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50810
50616
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50811
50617
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50812
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50813
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50814
50618
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50815
50619
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50816
50620
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50819,8 +50623,7 @@ const generatedFocusOperations = [
50819
50623
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50820
50624
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50821
50625
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50822
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50823
- xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50626
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50824
50627
  }),
50825
50628
  execute: (input, { client }) => {
50826
50629
  const data = input;
@@ -51091,8 +50894,7 @@ const generatedFocusOperations = [
51091
50894
  mcp: { entityTool: "tasks" },
51092
50895
  inputSchema: /* @__PURE__ */ looseObject({
51093
50896
  date_from: /* @__PURE__ */ string$1(),
51094
- date_to: /* @__PURE__ */ string$1(),
51095
- skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
50897
+ date_to: /* @__PURE__ */ string$1()
51096
50898
  }),
51097
50899
  execute: (input, { client }) => {
51098
50900
  const data = input;
@@ -51102,7 +50904,6 @@ const generatedFocusOperations = [
51102
50904
  client.workspaceIdNumber,
51103
50905
  data.date_from,
51104
50906
  data.date_to,
51105
- data.skip_provider_refresh,
51106
50907
  void 0
51107
50908
  ]));
51108
50909
  }
@@ -51689,8 +51490,7 @@ const generatedFocusOperations = [
51689
51490
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
51690
51491
  "project",
51691
51492
  "task",
51692
- "description",
51693
- "tags"
51493
+ "description"
51694
51494
  ]) })),
51695
51495
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51696
51496
  }) }),
@@ -51720,7 +51520,6 @@ const generatedFocusOperations = [
51720
51520
  },
51721
51521
  mcp: { entityTool: "time-entries" },
51722
51522
  inputSchema: /* @__PURE__ */ looseObject({
51723
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51724
51523
  payload: /* @__PURE__ */ looseObject({
51725
51524
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51726
51525
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -51731,13 +51530,11 @@ const generatedFocusOperations = [
51731
51530
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51732
51531
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51733
51532
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51734
- repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51735
51533
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
51736
51534
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51737
51535
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51738
51536
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51739
51537
  }),
51740
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51741
51538
  task_id: /* @__PURE__ */ number$2()
51742
51539
  }),
51743
51540
  execute: (input, { client }) => {
@@ -51748,8 +51545,6 @@ const generatedFocusOperations = [
51748
51545
  client.workspaceIdNumber,
51749
51546
  data.task_id,
51750
51547
  data.payload ?? data.data ?? data,
51751
- data.from_recurring_task_id,
51752
- data.return_occurrence,
51753
51548
  void 0
51754
51549
  ]));
51755
51550
  }
@@ -51769,26 +51564,21 @@ const generatedFocusOperations = [
51769
51564
  interactive: "default"
51770
51565
  },
51771
51566
  mcp: { entityTool: "time-entries" },
51772
- inputSchema: /* @__PURE__ */ looseObject({
51773
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51774
- payload: /* @__PURE__ */ looseObject({
51775
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51776
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51777
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51778
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51779
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51780
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51781
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51782
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51783
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51784
- repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51785
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
51786
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51787
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51788
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51789
- }),
51790
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51791
- }),
51567
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
51568
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51569
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51570
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51571
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51572
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51573
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51574
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51575
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51576
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51577
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
51578
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51579
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51580
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51581
+ }) }),
51792
51582
  execute: (input, { client }) => {
51793
51583
  const data = input;
51794
51584
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -51796,8 +51586,6 @@ const generatedFocusOperations = [
51796
51586
  client.organizationId,
51797
51587
  client.workspaceIdNumber,
51798
51588
  data.payload ?? data.data ?? data,
51799
- data.from_recurring_task_id,
51800
- data.return_occurrence,
51801
51589
  void 0
51802
51590
  ]));
51803
51591
  }
@@ -51817,11 +51605,7 @@ const generatedFocusOperations = [
51817
51605
  interactive: "default"
51818
51606
  },
51819
51607
  mcp: { entityTool: "time-entries" },
51820
- inputSchema: /* @__PURE__ */ looseObject({
51821
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51822
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51823
- time_entry_id: /* @__PURE__ */ number$2()
51824
- }),
51608
+ inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
51825
51609
  execute: (input, { client }) => {
51826
51610
  const data = input;
51827
51611
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -51829,8 +51613,6 @@ const generatedFocusOperations = [
51829
51613
  client.organizationId,
51830
51614
  client.workspaceIdNumber,
51831
51615
  data.time_entry_id,
51832
- data.from_recurring_task_id,
51833
- data.return_occurrence,
51834
51616
  void 0
51835
51617
  ]));
51836
51618
  }
@@ -51911,7 +51693,6 @@ const generatedFocusOperations = [
51911
51693
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
51912
51694
  include_taskless: /* @__PURE__ */ unknown$1(),
51913
51695
  order_by: /* @__PURE__ */ unknown$1(),
51914
- project_id: /* @__PURE__ */ number$2(),
51915
51696
  status_id: /* @__PURE__ */ number$2(),
51916
51697
  task_id: /* @__PURE__ */ number$2(),
51917
51698
  type: /* @__PURE__ */ unknown$1()
@@ -52088,14 +51869,12 @@ const generatedFocusOperations = [
52088
51869
  },
52089
51870
  mcp: { entityTool: "time-entries" },
52090
51871
  inputSchema: /* @__PURE__ */ looseObject({
52091
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52092
51872
  payload: /* @__PURE__ */ looseObject({
52093
51873
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52094
51874
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52095
51875
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52096
51876
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
52097
51877
  }),
52098
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52099
51878
  time_entry_id: /* @__PURE__ */ number$2()
52100
51879
  }),
52101
51880
  execute: (input, { client }) => {
@@ -52106,8 +51885,6 @@ const generatedFocusOperations = [
52106
51885
  client.workspaceIdNumber,
52107
51886
  data.time_entry_id,
52108
51887
  data.payload ?? data.data ?? data,
52109
- data.from_recurring_task_id,
52110
- data.return_occurrence,
52111
51888
  void 0
52112
51889
  ]));
52113
51890
  }
@@ -52365,7 +52142,6 @@ const generatedFocusOperations = [
52365
52142
  },
52366
52143
  mcp: { entityTool: "time-entries" },
52367
52144
  inputSchema: /* @__PURE__ */ looseObject({
52368
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52369
52145
  payload: /* @__PURE__ */ looseObject({
52370
52146
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
52371
52147
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -52378,7 +52154,6 @@ const generatedFocusOperations = [
52378
52154
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52379
52155
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
52380
52156
  }),
52381
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52382
52157
  time_entry_id: /* @__PURE__ */ number$2()
52383
52158
  }),
52384
52159
  execute: (input, { client }) => {
@@ -52389,8 +52164,6 @@ const generatedFocusOperations = [
52389
52164
  client.workspaceIdNumber,
52390
52165
  data.time_entry_id,
52391
52166
  data.payload ?? data.data ?? data,
52392
- data.from_recurring_task_id,
52393
- data.return_occurrence,
52394
52167
  void 0
52395
52168
  ]));
52396
52169
  }
@@ -53476,56 +53249,6 @@ const generatedFocusOperations = [
53476
53249
  return client.listOrgUsers(data);
53477
53250
  }
53478
53251
  },
53479
- {
53480
- id: "focus.users.settings-email-unsubscribe",
53481
- family: "focus",
53482
- resource: "users",
53483
- action: "settings-email-unsubscribe",
53484
- title: "Settings Email Unsubscribe Users",
53485
- description: "Settings Email Unsubscribe Users.",
53486
- safety: "update",
53487
- destructive: false,
53488
- cli: {
53489
- group: ["users", "settings"],
53490
- command: "email-unsubscribe",
53491
- interactive: "default"
53492
- },
53493
- mcp: { entityTool: "users" },
53494
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53495
- execute: (input, { client }) => {
53496
- const data = input;
53497
- return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
53498
- client.httpClient,
53499
- data.token,
53500
- void 0
53501
- ]));
53502
- }
53503
- },
53504
- {
53505
- id: "focus.users.settings-email-unsubscribe-page",
53506
- family: "focus",
53507
- resource: "users",
53508
- action: "settings-email-unsubscribe-page",
53509
- title: "Settings Email Unsubscribe Page Users",
53510
- description: "Settings Email Unsubscribe Page Users.",
53511
- safety: "read",
53512
- destructive: false,
53513
- cli: {
53514
- group: ["users", "settings"],
53515
- command: "email-unsubscribe-page",
53516
- interactive: "available"
53517
- },
53518
- mcp: { entityTool: "users" },
53519
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53520
- execute: (input, { client }) => {
53521
- const data = input;
53522
- return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
53523
- client.httpClient,
53524
- data.token,
53525
- void 0
53526
- ]));
53527
- }
53528
- },
53529
53252
  {
53530
53253
  id: "focus.users.settings-list",
53531
53254
  family: "focus",
@@ -53587,9 +53310,6 @@ const generatedFocusOperations = [
53587
53310
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53588
53311
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53589
53312
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53590
- notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53591
- notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53592
- notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53593
53313
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53594
53314
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53595
53315
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -55133,7 +54853,7 @@ function registerWorkspaceTools(server) {
55133
54853
  //#region src/package-version.ts
55134
54854
  function mcpPackageVersion() {
55135
54855
  try {
55136
- return "1.11.34";
54856
+ return "1.11.35";
55137
54857
  } catch {
55138
54858
  return "unknown";
55139
54859
  }
@@ -55308,7 +55028,7 @@ import_main.default.config({
55308
55028
  quiet: true,
55309
55029
  ignore: ["MISSING_ENV_FILE"]
55310
55030
  });
55311
- const packageVersion = "1.11.34";
55031
+ const packageVersion = "1.11.35";
55312
55032
  function resolvePublicUrls() {
55313
55033
  return {
55314
55034
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -55373,4 +55093,4 @@ function bootstrapServer(options = {}) {
55373
55093
  //#endregion
55374
55094
  export { initProductAnalytics as a, shutdownProductAnalytics as c, getProductAnalyticsDistinctId as i, runMcpCli as n, redactUnsafeSentryMessages as o, captureToolInvocation as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
55375
55095
 
55376
- //# sourceMappingURL=src-X1or7-7J.js.map
55096
+ //# sourceMappingURL=src-5FulXA5B.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.11.34",
3
+ "version": "1.11.35",
4
4
  "description": "Toggl 2.0 MCP server for Claude Code, Claude Desktop, and other MCP clients.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",