@togglhq/mcp 1.11.48 → 1.11.50

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.
@@ -34683,7 +34683,6 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
34683
34683
  name: /* @__PURE__ */ string(),
34684
34684
  permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
34685
34685
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34686
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34687
34686
  client: /* @__PURE__ */ optional(ClientLiteSchema),
34688
34687
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34689
34688
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -34770,7 +34769,6 @@ const TaskSchema = /* @__PURE__ */ object({
34770
34769
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34771
34770
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34772
34771
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34773
- 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."))),
34774
34772
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34775
34773
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34776
34774
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -34832,7 +34830,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34832
34830
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34833
34831
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34834
34832
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34835
- 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."))),
34836
34833
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34837
34834
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34838
34835
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -35015,8 +35012,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
35015
35012
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35016
35013
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35017
35014
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35018
- 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."))),
35019
- 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."))),
35020
35015
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35021
35016
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35022
35017
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -35102,7 +35097,6 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
35102
35097
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35103
35098
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35104
35099
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35105
- filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35106
35100
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
35107
35101
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35108
35102
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
@@ -35182,8 +35176,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
35182
35176
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35183
35177
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35184
35178
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35185
- 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."))),
35186
- 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."))),
35187
35179
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35188
35180
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35189
35181
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -35356,6 +35348,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35356
35348
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35357
35349
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35358
35350
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
35351
+ integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35352
+ integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35359
35353
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35360
35354
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35361
35355
  pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35412,7 +35406,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35412
35406
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35413
35407
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35414
35408
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35415
- 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."))),
35416
35409
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35417
35410
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35418
35411
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -35449,7 +35442,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35449
35442
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35450
35443
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35451
35444
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35452
- 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."))),
35453
35445
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35454
35446
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35455
35447
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -37396,7 +37388,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
37396
37388
  })
37397
37389
  }).json();
37398
37390
  }
37399
- async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
37391
+ async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
37400
37392
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
37401
37393
  signal,
37402
37394
  searchParams: buildSearchParams$2({
@@ -37417,7 +37409,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
37417
37409
  include_rates,
37418
37410
  pinned_ids,
37419
37411
  has_group,
37420
- track_without_focus,
37421
37412
  cf_filter,
37422
37413
  include_custom_fields,
37423
37414
  include_calendar_integration
@@ -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) {
@@ -42213,15 +42154,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
42213
42154
  }
42214
42155
  //#endregion
42215
42156
  //#region ../focus-queries/dist/audit-log/requests.ts
42216
- 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) {
42157
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
42217
42158
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
42218
42159
  signal,
42219
42160
  searchParams: buildSearchParams$2({
42220
42161
  workspace_id,
42221
42162
  entity_type,
42222
42163
  entity_id,
42223
- project_id,
42224
- custom_field_id,
42225
42164
  action,
42226
42165
  user_id,
42227
42166
  page_size,
@@ -42230,14 +42169,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
42230
42169
  })
42231
42170
  }).json();
42232
42171
  }
42233
- 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) {
42172
+ async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
42234
42173
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
42235
42174
  signal,
42236
42175
  searchParams: buildSearchParams$2({
42237
42176
  entity_type,
42238
42177
  entity_id,
42239
- project_id,
42240
- custom_field_id,
42241
42178
  action,
42242
42179
  user_id,
42243
42180
  page_size,
@@ -42390,14 +42327,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
42390
42327
  }
42391
42328
  //#endregion
42392
42329
  //#region ../focus-queries/dist/capacities/requests.ts
42393
- 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) {
42330
+ 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) {
42394
42331
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
42395
42332
  signal,
42396
42333
  searchParams: buildSearchParams$2({
42334
+ user_id,
42397
42335
  start_date,
42398
42336
  end_date,
42399
- user_id,
42400
- team_id,
42401
42337
  private: private_,
42402
42338
  task_source,
42403
42339
  unit,
@@ -42457,15 +42393,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
42457
42393
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42458
42394
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
42459
42395
  }
42460
- async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42461
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
42462
- }
42463
- async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
42464
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
42465
- signal,
42466
- json: data
42467
- }).json();
42468
- }
42469
42396
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
42470
42397
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
42471
42398
  signal,
@@ -42729,7 +42656,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
42729
42656
  }
42730
42657
  //#endregion
42731
42658
  //#region ../focus-queries/dist/project-groups/requests.ts
42732
- 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) {
42659
+ 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) {
42733
42660
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
42734
42661
  signal,
42735
42662
  searchParams: buildSearchParams$2({
@@ -42755,7 +42682,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42755
42682
  user_id,
42756
42683
  only_me,
42757
42684
  include_drafts,
42758
- include_recurring_series,
42759
42685
  cf_filter
42760
42686
  })
42761
42687
  }).json();
@@ -42774,6 +42700,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
42774
42700
  json: data
42775
42701
  }).json();
42776
42702
  }
42703
+ async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
42704
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
42705
+ }
42777
42706
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
42778
42707
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
42779
42708
  }
@@ -42799,37 +42728,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
42799
42728
  }).json();
42800
42729
  }
42801
42730
  //#endregion
42802
- //#region ../focus-queries/dist/publicsharedreports/requests.ts
42803
- async function openPublicSharedReport(httpClient, token, signal) {
42804
- return await httpClient.get(`shared/${token}`, { signal }).json();
42805
- }
42806
- async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
42807
- return await httpClient.post(`shared/${token}/profitability`, {
42808
- signal,
42809
- json: data,
42810
- searchParams: buildSearchParams$2({
42811
- response_format,
42812
- include_dicts
42813
- })
42814
- }).json();
42815
- }
42816
- async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
42817
- return await httpClient.post(`shared/${token}/query`, {
42818
- signal,
42819
- json: data,
42820
- searchParams: buildSearchParams$2({
42821
- response_format,
42822
- include_dicts
42823
- })
42824
- }).json();
42825
- }
42826
- async function workloadPublicSharedReport(httpClient, token, data, signal) {
42827
- return await httpClient.post(`shared/${token}/workload`, {
42828
- signal,
42829
- json: data
42830
- }).json();
42831
- }
42832
- //#endregion
42833
42731
  //#region ../focus-queries/dist/rates/requests.ts
42834
42732
  async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
42835
42733
  const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
@@ -43043,9 +42941,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
43043
42941
  async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
43044
42942
  return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
43045
42943
  }
43046
- async function unshareSharedReport(httpClient, workspace_id, id, signal) {
43047
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
43048
- }
43049
42944
  async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
43050
42945
  return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
43051
42946
  signal,
@@ -43055,21 +42950,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
43055
42950
  async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
43056
42951
  return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
43057
42952
  }
43058
- async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
43059
- return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
43060
- signal,
43061
- json: data
43062
- }).json();
43063
- }
43064
- async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
43065
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
43066
- }
43067
- async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
43068
- return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
43069
- signal,
43070
- json: data
43071
- }).json();
43072
- }
43073
42953
  //#endregion
43074
42954
  //#region ../focus-queries/dist/subscriptions/requests.ts
43075
42955
  async function getCurrentSubscription(httpClient, organization_id, signal) {
@@ -43126,10 +43006,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
43126
43006
  }
43127
43007
  //#endregion
43128
43008
  //#region ../focus-queries/dist/task-groups/requests.ts
43129
- 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) {
43009
+ 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) {
43130
43010
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
43131
43011
  signal,
43132
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
43133
43012
  searchParams: buildSearchParams$2({
43134
43013
  project_id,
43135
43014
  source,
@@ -43158,18 +43037,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
43158
43037
  min_days,
43159
43038
  include_drafts,
43160
43039
  cf_filter,
43161
- user_cf_filter,
43162
- recurring_occurrences_after,
43163
- max_recurring_occurrences_after,
43164
- recurring_task_read,
43165
- include_projected_occurrences
43040
+ user_cf_filter
43166
43041
  })
43167
43042
  }).json();
43168
43043
  }
43169
- 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) {
43044
+ 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) {
43170
43045
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
43171
43046
  signal,
43172
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
43173
43047
  searchParams: buildSearchParams$2({
43174
43048
  team_id,
43175
43049
  project_id,
@@ -43198,18 +43072,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
43198
43072
  min_days,
43199
43073
  include_drafts,
43200
43074
  cf_filter,
43201
- user_cf_filter,
43202
- recurring_occurrences_after,
43203
- max_recurring_occurrences_after,
43204
- recurring_task_read,
43205
- include_projected_occurrences
43075
+ user_cf_filter
43206
43076
  })
43207
43077
  }).json();
43208
43078
  }
43209
- 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) {
43079
+ 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) {
43210
43080
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
43211
43081
  signal,
43212
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
43213
43082
  searchParams: buildSearchParams$2({
43214
43083
  source,
43215
43084
  priority,
@@ -43239,10 +43108,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
43239
43108
  include_drafts,
43240
43109
  cf_filter,
43241
43110
  user_cf_filter,
43242
- recurring_occurrences_after,
43243
- max_recurring_occurrences_after,
43244
- recurring_task_read,
43245
- include_projected_occurrences,
43246
43111
  page,
43247
43112
  per_page,
43248
43113
  order_by
@@ -43434,19 +43299,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
43434
43299
  json: data
43435
43300
  }).json();
43436
43301
  }
43437
- async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
43438
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
43439
- signal,
43440
- searchParams: buildSearchParams$2({
43441
- date_from,
43442
- date_to,
43443
- setup_id,
43444
- user_account_ids,
43445
- approver_user_account_ids,
43446
- team_ids
43447
- })
43448
- }).json();
43449
- }
43450
43302
  async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
43451
43303
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
43452
43304
  }
@@ -43490,21 +43342,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
43490
43342
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
43491
43343
  }
43492
43344
  //#endregion
43493
- //#region ../focus-queries/dist/track-team-invites/requests.ts
43494
- async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
43495
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
43496
- signal,
43497
- json: data
43498
- }).json();
43499
- }
43500
- //#endregion
43501
43345
  //#region ../focus-queries/dist/user-settings/requests.ts
43502
- async function emailUnsubscribePage(httpClient, token, signal) {
43503
- return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
43504
- }
43505
- async function emailUnsubscribe(httpClient, token, signal) {
43506
- return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
43507
- }
43508
43346
  async function getUserSettings(httpClient, signal) {
43509
43347
  return await httpClient.get(`users/me/settings`, { signal }).json();
43510
43348
  }
@@ -43744,7 +43582,6 @@ const generatedFocusOperations = [
43744
43582
  mcp: { entityTool: "audit-log" },
43745
43583
  inputSchema: /* @__PURE__ */ looseObject({
43746
43584
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43747
- custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43748
43585
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43749
43586
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43750
43587
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -43752,7 +43589,6 @@ const generatedFocusOperations = [
43752
43589
  from: /* @__PURE__ */ string$1(),
43753
43590
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43754
43591
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43755
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43756
43592
  to: /* @__PURE__ */ string$1(),
43757
43593
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43758
43594
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -43786,7 +43622,6 @@ const generatedFocusOperations = [
43786
43622
  mcp: { entityTool: "audit-log" },
43787
43623
  inputSchema: /* @__PURE__ */ looseObject({
43788
43624
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43789
- custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43790
43625
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43791
43626
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43792
43627
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -43794,7 +43629,6 @@ const generatedFocusOperations = [
43794
43629
  from: /* @__PURE__ */ string$1(),
43795
43630
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43796
43631
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43797
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43798
43632
  to: /* @__PURE__ */ string$1(),
43799
43633
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43800
43634
  }),
@@ -43834,7 +43668,6 @@ const generatedFocusOperations = [
43834
43668
  private_: /* @__PURE__ */ unknown$1(),
43835
43669
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43836
43670
  task_source: /* @__PURE__ */ unknown$1(),
43837
- team_id: /* @__PURE__ */ number$2(),
43838
43671
  unit: /* @__PURE__ */ unknown$1(),
43839
43672
  user_id: /* @__PURE__ */ number$2()
43840
43673
  }),
@@ -44084,6 +43917,8 @@ const generatedFocusOperations = [
44084
43917
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44085
43918
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
44086
43919
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43920
+ integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43921
+ integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44087
43922
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44088
43923
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44089
43924
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -44117,6 +43952,8 @@ const generatedFocusOperations = [
44117
43952
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44118
43953
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
44119
43954
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43955
+ integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43956
+ integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44120
43957
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44121
43958
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44122
43959
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -44271,33 +44108,6 @@ const generatedFocusOperations = [
44271
44108
  ]));
44272
44109
  }
44273
44110
  },
44274
- {
44275
- id: "focus.custom-fields.get-allowed-users",
44276
- family: "focus",
44277
- resource: "custom-fields",
44278
- action: "get-allowed-users",
44279
- title: "Get Allowed Users Custom Fields",
44280
- description: "Get Allowed Users Custom Fields.",
44281
- safety: "read",
44282
- destructive: false,
44283
- cli: {
44284
- group: ["custom-fields"],
44285
- command: "get-allowed-users",
44286
- interactive: "available"
44287
- },
44288
- mcp: { entityTool: "custom-fields" },
44289
- inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
44290
- execute: (input, { client }) => {
44291
- const data = input;
44292
- return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
44293
- client.httpClient,
44294
- client.organizationId,
44295
- client.workspaceIdNumber,
44296
- data.custom_field_id,
44297
- void 0
44298
- ]));
44299
- }
44300
- },
44301
44111
  {
44302
44112
  id: "focus.custom-fields.list",
44303
44113
  family: "focus",
@@ -44467,37 +44277,6 @@ const generatedFocusOperations = [
44467
44277
  ]));
44468
44278
  }
44469
44279
  },
44470
- {
44471
- id: "focus.custom-fields.replace-custom-field-allowed-users",
44472
- family: "focus",
44473
- resource: "custom-fields",
44474
- action: "replace-custom-field-allowed-users",
44475
- title: "Replace Custom Field Allowed Users Custom Fields",
44476
- description: "Replace Custom Field Allowed Users Custom Fields.",
44477
- safety: "update",
44478
- destructive: false,
44479
- cli: {
44480
- group: ["custom-fields"],
44481
- command: "replace-custom-field-allowed-users",
44482
- interactive: "default"
44483
- },
44484
- mcp: { entityTool: "custom-fields" },
44485
- inputSchema: /* @__PURE__ */ looseObject({
44486
- custom_field_id: /* @__PURE__ */ number$2(),
44487
- payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
44488
- }),
44489
- execute: (input, { client }) => {
44490
- const data = input;
44491
- return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
44492
- client.httpClient,
44493
- client.organizationId,
44494
- client.workspaceIdNumber,
44495
- data.custom_field_id,
44496
- data.payload ?? data.data ?? data,
44497
- void 0
44498
- ]));
44499
- }
44500
- },
44501
44280
  {
44502
44281
  id: "focus.custom-fields.update",
44503
44282
  family: "focus",
@@ -44644,7 +44423,13 @@ const generatedFocusOperations = [
44644
44423
  },
44645
44424
  mcp: { entityTool: "goals" },
44646
44425
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44426
+ billable: /* @__PURE__ */ boolean$1(),
44647
44427
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44428
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44429
+ icon: /* @__PURE__ */ string$1(),
44430
+ monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44431
+ name: /* @__PURE__ */ string$1(),
44432
+ project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44648
44433
  recurrence: /* @__PURE__ */ picklist$1([
44649
44434
  "daily",
44650
44435
  "weekly",
@@ -44652,18 +44437,12 @@ const generatedFocusOperations = [
44652
44437
  "monthly"
44653
44438
  ]),
44654
44439
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44440
+ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44655
44441
  target_seconds: /* @__PURE__ */ number$2(),
44656
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44442
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44443
+ weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44657
44444
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44658
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44659
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44660
- icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44661
- monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44662
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44663
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44664
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44665
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44666
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44445
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44667
44446
  }) }),
44668
44447
  execute: (input, { client }) => {
44669
44448
  const data = input;
@@ -44769,6 +44548,13 @@ const generatedFocusOperations = [
44769
44548
  },
44770
44549
  mcp: { entityTool: "goals" },
44771
44550
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44551
+ billable: /* @__PURE__ */ boolean$1(),
44552
+ comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44553
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44554
+ icon: /* @__PURE__ */ string$1(),
44555
+ monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44556
+ name: /* @__PURE__ */ string$1(),
44557
+ project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44772
44558
  recurrence: /* @__PURE__ */ picklist$1([
44773
44559
  "daily",
44774
44560
  "weekly",
@@ -44776,19 +44562,12 @@ const generatedFocusOperations = [
44776
44562
  "monthly"
44777
44563
  ]),
44778
44564
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44779
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44565
+ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44566
+ target_seconds: /* @__PURE__ */ number$2(),
44567
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44568
+ weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44780
44569
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44781
- comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
44782
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44783
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44784
- icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44785
- monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44786
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44787
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44788
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44789
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44790
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44791
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44570
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44792
44571
  }) }),
44793
44572
  execute: (input, { client }) => {
44794
44573
  const data = input;
@@ -45755,17 +45534,9 @@ const generatedFocusOperations = [
45755
45534
  mcp: { entityTool: "projects" },
45756
45535
  inputSchema: /* @__PURE__ */ looseObject({
45757
45536
  payload: /* @__PURE__ */ looseObject({
45758
- auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45759
- completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
45760
45537
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
45761
45538
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45762
45539
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45763
- rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
45764
- "expire",
45765
- "carry_all",
45766
- "carry_over"
45767
- ])),
45768
- rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45769
45540
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
45770
45541
  }),
45771
45542
  project_id: /* @__PURE__ */ number$2()
@@ -46209,7 +45980,6 @@ const generatedFocusOperations = [
46209
45980
  group: /* @__PURE__ */ string$1(),
46210
45981
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46211
45982
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46212
- include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46213
45983
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46214
45984
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46215
45985
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -46312,6 +46082,29 @@ const generatedFocusOperations = [
46312
46082
  ]));
46313
46083
  }
46314
46084
  },
46085
+ {
46086
+ id: "focus.projects.margin-targets-clear-workspace",
46087
+ family: "focus",
46088
+ resource: "projects",
46089
+ action: "margin-targets-clear-workspace",
46090
+ title: "Margin Targets Clear Workspace Projects",
46091
+ description: "Margin Targets Clear Workspace Projects.",
46092
+ safety: "delete",
46093
+ destructive: true,
46094
+ cli: {
46095
+ group: ["projects", "margin-targets"],
46096
+ command: "clear-workspace",
46097
+ interactive: "default"
46098
+ },
46099
+ mcp: { entityTool: "projects" },
46100
+ inputSchema: /* @__PURE__ */ looseObject({}),
46101
+ execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
46102
+ client.httpClient,
46103
+ client.organizationId,
46104
+ client.workspaceIdNumber,
46105
+ void 0
46106
+ ]))
46107
+ },
46315
46108
  {
46316
46109
  id: "focus.projects.margin-targets-get",
46317
46110
  family: "focus",
@@ -46756,130 +46549,6 @@ const generatedFocusOperations = [
46756
46549
  ]));
46757
46550
  }
46758
46551
  },
46759
- {
46760
- id: "focus.publicsharedreports.open-public-shared-report",
46761
- family: "focus",
46762
- resource: "publicsharedreports",
46763
- action: "open-public-shared-report",
46764
- title: "Open Public Shared Report Publicsharedreports",
46765
- description: "Open Public Shared Report Publicsharedreports.",
46766
- safety: "read",
46767
- destructive: false,
46768
- cli: {
46769
- group: ["publicsharedreports"],
46770
- command: "open-public-shared-report",
46771
- interactive: "available"
46772
- },
46773
- mcp: { entityTool: "publicsharedreports" },
46774
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
46775
- execute: (input, { client }) => {
46776
- const data = input;
46777
- return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
46778
- client.httpClient,
46779
- data.token,
46780
- void 0
46781
- ]));
46782
- }
46783
- },
46784
- {
46785
- id: "focus.publicsharedreports.profitability-public-shared-report",
46786
- family: "focus",
46787
- resource: "publicsharedreports",
46788
- action: "profitability-public-shared-report",
46789
- title: "Profitability Public Shared Report Publicsharedreports",
46790
- description: "Profitability Public Shared Report Publicsharedreports.",
46791
- safety: "update",
46792
- destructive: false,
46793
- cli: {
46794
- group: ["publicsharedreports"],
46795
- command: "profitability-public-shared-report",
46796
- interactive: "default"
46797
- },
46798
- mcp: { entityTool: "publicsharedreports" },
46799
- inputSchema: /* @__PURE__ */ looseObject({
46800
- include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
46801
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46802
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
46803
- token: /* @__PURE__ */ string$1()
46804
- }),
46805
- execute: (input, { client }) => {
46806
- const data = input;
46807
- return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
46808
- client.httpClient,
46809
- data.token,
46810
- data.payload ?? data.data ?? data,
46811
- data.response_format,
46812
- data.include_dicts,
46813
- void 0
46814
- ]));
46815
- }
46816
- },
46817
- {
46818
- id: "focus.publicsharedreports.query-public-shared-report",
46819
- family: "focus",
46820
- resource: "publicsharedreports",
46821
- action: "query-public-shared-report",
46822
- title: "Query Public Shared Report Publicsharedreports",
46823
- description: "Query Public Shared Report Publicsharedreports.",
46824
- safety: "update",
46825
- destructive: false,
46826
- cli: {
46827
- group: ["publicsharedreports"],
46828
- command: "query-public-shared-report",
46829
- interactive: "default"
46830
- },
46831
- mcp: { entityTool: "publicsharedreports" },
46832
- inputSchema: /* @__PURE__ */ looseObject({
46833
- include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
46834
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46835
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
46836
- "json_row",
46837
- "table",
46838
- "hierarchical"
46839
- ])),
46840
- token: /* @__PURE__ */ string$1()
46841
- }),
46842
- execute: (input, { client }) => {
46843
- const data = input;
46844
- return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
46845
- client.httpClient,
46846
- data.token,
46847
- data.payload ?? data.data ?? data,
46848
- data.response_format,
46849
- data.include_dicts,
46850
- void 0
46851
- ]));
46852
- }
46853
- },
46854
- {
46855
- id: "focus.publicsharedreports.workload-public-shared-report",
46856
- family: "focus",
46857
- resource: "publicsharedreports",
46858
- action: "workload-public-shared-report",
46859
- title: "Workload Public Shared Report Publicsharedreports",
46860
- description: "Workload Public Shared Report Publicsharedreports.",
46861
- safety: "update",
46862
- destructive: false,
46863
- cli: {
46864
- group: ["publicsharedreports"],
46865
- command: "workload-public-shared-report",
46866
- interactive: "default"
46867
- },
46868
- mcp: { entityTool: "publicsharedreports" },
46869
- inputSchema: /* @__PURE__ */ looseObject({
46870
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46871
- token: /* @__PURE__ */ string$1()
46872
- }),
46873
- execute: (input, { client }) => {
46874
- const data = input;
46875
- return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
46876
- client.httpClient,
46877
- data.token,
46878
- data.payload ?? data.data ?? data,
46879
- void 0
46880
- ]));
46881
- }
46882
- },
46883
46552
  {
46884
46553
  id: "focus.rates.billable-check-project-billable-rate-conflicts",
46885
46554
  family: "focus",
@@ -48838,7 +48507,7 @@ const generatedFocusOperations = [
48838
48507
  cli: {
48839
48508
  group: ["reportschedules"],
48840
48509
  command: "upsert-saved-view-schedule",
48841
- interactive: "hidden"
48510
+ interactive: "default"
48842
48511
  },
48843
48512
  mcp: { entityTool: "reportschedules" },
48844
48513
  inputSchema: /* @__PURE__ */ looseObject({
@@ -48849,10 +48518,8 @@ const generatedFocusOperations = [
48849
48518
  "weekly",
48850
48519
  "monthly"
48851
48520
  ]),
48852
- charts: /* @__PURE__ */ unknown$1(),
48853
48521
  time: /* @__PURE__ */ string$1(),
48854
48522
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48855
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48856
48523
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48857
48524
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48858
48525
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -49255,36 +48922,6 @@ const generatedFocusOperations = [
49255
48922
  void 0
49256
48923
  ]))
49257
48924
  },
49258
- {
49259
- id: "focus.sharedreports.mint-shared-report-link",
49260
- family: "focus",
49261
- resource: "sharedreports",
49262
- action: "mint-shared-report-link",
49263
- title: "Mint Shared Report Link Sharedreports",
49264
- description: "Mint Shared Report Link Sharedreports.",
49265
- safety: "update",
49266
- destructive: false,
49267
- cli: {
49268
- group: ["sharedreports"],
49269
- command: "mint-shared-report-link",
49270
- interactive: "default"
49271
- },
49272
- mcp: { entityTool: "sharedreports" },
49273
- inputSchema: /* @__PURE__ */ looseObject({
49274
- id: /* @__PURE__ */ number$2(),
49275
- payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
49276
- }),
49277
- execute: (input, { client }) => {
49278
- const data = input;
49279
- return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
49280
- client.httpClient,
49281
- client.workspaceIdNumber,
49282
- data.id,
49283
- data.payload ?? data.data ?? data,
49284
- void 0
49285
- ]));
49286
- }
49287
- },
49288
48925
  {
49289
48926
  id: "focus.sharedreports.revoke-shared-report-grant",
49290
48927
  family: "focus",
@@ -49315,62 +48952,6 @@ const generatedFocusOperations = [
49315
48952
  ]));
49316
48953
  }
49317
48954
  },
49318
- {
49319
- id: "focus.sharedreports.revoke-shared-report-link",
49320
- family: "focus",
49321
- resource: "sharedreports",
49322
- action: "revoke-shared-report-link",
49323
- title: "Revoke Shared Report Link Sharedreports",
49324
- description: "Revoke Shared Report Link Sharedreports.",
49325
- safety: "delete",
49326
- destructive: true,
49327
- cli: {
49328
- group: ["sharedreports"],
49329
- command: "revoke-shared-report-link",
49330
- interactive: "default"
49331
- },
49332
- mcp: { entityTool: "sharedreports" },
49333
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
49334
- execute: (input, { client }) => {
49335
- const data = input;
49336
- return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
49337
- client.httpClient,
49338
- client.workspaceIdNumber,
49339
- data.id,
49340
- void 0
49341
- ]));
49342
- }
49343
- },
49344
- {
49345
- id: "focus.sharedreports.rotate-shared-report-link",
49346
- family: "focus",
49347
- resource: "sharedreports",
49348
- action: "rotate-shared-report-link",
49349
- title: "Rotate Shared Report Link Sharedreports",
49350
- description: "Rotate Shared Report Link Sharedreports.",
49351
- safety: "update",
49352
- destructive: false,
49353
- cli: {
49354
- group: ["sharedreports"],
49355
- command: "rotate-shared-report-link",
49356
- interactive: "default"
49357
- },
49358
- mcp: { entityTool: "sharedreports" },
49359
- inputSchema: /* @__PURE__ */ looseObject({
49360
- id: /* @__PURE__ */ number$2(),
49361
- payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
49362
- }),
49363
- execute: (input, { client }) => {
49364
- const data = input;
49365
- return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
49366
- client.httpClient,
49367
- client.workspaceIdNumber,
49368
- data.id,
49369
- data.payload ?? data.data ?? data,
49370
- void 0
49371
- ]));
49372
- }
49373
- },
49374
48955
  {
49375
48956
  id: "focus.sharedreports.share-saved-view",
49376
48957
  family: "focus",
@@ -49445,32 +49026,6 @@ const generatedFocusOperations = [
49445
49026
  ]));
49446
49027
  }
49447
49028
  },
49448
- {
49449
- id: "focus.sharedreports.unshare-shared-report",
49450
- family: "focus",
49451
- resource: "sharedreports",
49452
- action: "unshare-shared-report",
49453
- title: "Unshare Shared Report Sharedreports",
49454
- description: "Unshare Shared Report Sharedreports.",
49455
- safety: "delete",
49456
- destructive: true,
49457
- cli: {
49458
- group: ["sharedreports"],
49459
- command: "unshare-shared-report",
49460
- interactive: "default"
49461
- },
49462
- mcp: { entityTool: "sharedreports" },
49463
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
49464
- execute: (input, { client }) => {
49465
- const data = input;
49466
- return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
49467
- client.httpClient,
49468
- client.workspaceIdNumber,
49469
- data.id,
49470
- void 0
49471
- ]));
49472
- }
49473
- },
49474
49029
  {
49475
49030
  id: "focus.statuses.create-status",
49476
49031
  family: "focus",
@@ -50513,37 +50068,6 @@ const generatedFocusOperations = [
50513
50068
  return client.createTask(data);
50514
50069
  }
50515
50070
  },
50516
- {
50517
- id: "focus.tasks.create-recurring-occurrence",
50518
- family: "focus",
50519
- resource: "tasks",
50520
- action: "create-recurring-occurrence",
50521
- title: "Create Recurring Occurrence Tasks",
50522
- description: "Create Recurring Occurrence Tasks.",
50523
- safety: "create",
50524
- destructive: false,
50525
- cli: {
50526
- group: ["tasks"],
50527
- command: "create-recurring-occurrence",
50528
- interactive: "default"
50529
- },
50530
- mcp: { entityTool: "tasks" },
50531
- inputSchema: /* @__PURE__ */ looseObject({
50532
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50533
- task_id: /* @__PURE__ */ number$2()
50534
- }),
50535
- execute: (input, { client }) => {
50536
- const data = input;
50537
- return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
50538
- client.httpClient,
50539
- client.organizationId,
50540
- client.workspaceIdNumber,
50541
- data.task_id,
50542
- data.return_occurrence,
50543
- void 0
50544
- ]));
50545
- }
50546
- },
50547
50071
  {
50548
50072
  id: "focus.tasks.delete",
50549
50073
  family: "focus",
@@ -50791,13 +50315,9 @@ const generatedFocusOperations = [
50791
50315
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50792
50316
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50793
50317
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50794
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50795
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50796
50318
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50797
50319
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50798
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50799
50320
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50800
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50801
50321
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50802
50322
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50803
50323
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -50849,9 +50369,7 @@ const generatedFocusOperations = [
50849
50369
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50850
50370
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50851
50371
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50852
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50853
50372
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50854
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50855
50373
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50856
50374
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50857
50375
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -50860,9 +50378,7 @@ const generatedFocusOperations = [
50860
50378
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50861
50379
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50862
50380
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50863
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50864
50381
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50865
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50866
50382
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50867
50383
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50868
50384
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -51000,10 +50516,8 @@ const generatedFocusOperations = [
51000
50516
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51001
50517
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51002
50518
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51003
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51004
50519
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51005
50520
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51006
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51007
50521
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51008
50522
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51009
50523
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -51012,8 +50526,6 @@ const generatedFocusOperations = [
51012
50526
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51013
50527
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51014
50528
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51015
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51016
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51017
50529
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51018
50530
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
51019
50531
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -51022,8 +50534,7 @@ const generatedFocusOperations = [
51022
50534
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
51023
50535
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51024
50536
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51025
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51026
- xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50537
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51027
50538
  }),
51028
50539
  execute: (input, { client }) => {
51029
50540
  const data = input;
@@ -51065,17 +50576,13 @@ const generatedFocusOperations = [
51065
50576
  group_id: /* @__PURE__ */ number$2(),
51066
50577
  include_assignees: /* @__PURE__ */ unknown$1(),
51067
50578
  include_drafts: /* @__PURE__ */ unknown$1(),
51068
- include_projected_occurrences: /* @__PURE__ */ unknown$1(),
51069
50579
  include_unassigned: /* @__PURE__ */ unknown$1(),
51070
50580
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
51071
- max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
51072
50581
  min_days: /* @__PURE__ */ unknown$1(),
51073
50582
  name: /* @__PURE__ */ unknown$1(),
51074
50583
  priority: /* @__PURE__ */ unknown$1(),
51075
50584
  private_: /* @__PURE__ */ unknown$1(),
51076
50585
  project_id: /* @__PURE__ */ number$2(),
51077
- recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
51078
- recurring_task_read: /* @__PURE__ */ unknown$1(),
51079
50586
  source: /* @__PURE__ */ unknown$1(),
51080
50587
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51081
50588
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -51084,8 +50591,7 @@ const generatedFocusOperations = [
51084
50591
  tag_id: /* @__PURE__ */ number$2(),
51085
50592
  team_id: /* @__PURE__ */ number$2(),
51086
50593
  user_cf_filter: /* @__PURE__ */ unknown$1(),
51087
- user_tag_id: /* @__PURE__ */ number$2(),
51088
- xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
50594
+ user_tag_id: /* @__PURE__ */ number$2()
51089
50595
  }),
51090
50596
  execute: (input, { client }) => {
51091
50597
  const data = input;
@@ -51126,17 +50632,13 @@ const generatedFocusOperations = [
51126
50632
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51127
50633
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51128
50634
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51129
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51130
50635
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51131
50636
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51132
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51133
50637
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51134
50638
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51135
50639
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51136
50640
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51137
50641
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51138
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51139
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51140
50642
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51141
50643
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
51142
50644
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -51145,8 +50647,7 @@ const generatedFocusOperations = [
51145
50647
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51146
50648
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51147
50649
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51148
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51149
- xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50650
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51150
50651
  }),
51151
50652
  execute: (input, { client }) => {
51152
50653
  const data = input;
@@ -51417,8 +50918,7 @@ const generatedFocusOperations = [
51417
50918
  mcp: { entityTool: "tasks" },
51418
50919
  inputSchema: /* @__PURE__ */ looseObject({
51419
50920
  date_from: /* @__PURE__ */ string$1(),
51420
- date_to: /* @__PURE__ */ string$1(),
51421
- skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
50921
+ date_to: /* @__PURE__ */ string$1()
51422
50922
  }),
51423
50923
  execute: (input, { client }) => {
51424
50924
  const data = input;
@@ -51428,7 +50928,6 @@ const generatedFocusOperations = [
51428
50928
  client.workspaceIdNumber,
51429
50929
  data.date_from,
51430
50930
  data.date_to,
51431
- data.skip_provider_refresh,
51432
50931
  void 0
51433
50932
  ]));
51434
50933
  }
@@ -52015,8 +51514,7 @@ const generatedFocusOperations = [
52015
51514
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
52016
51515
  "project",
52017
51516
  "task",
52018
- "description",
52019
- "tags"
51517
+ "description"
52020
51518
  ]) })),
52021
51519
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
52022
51520
  }) }),
@@ -52046,7 +51544,6 @@ const generatedFocusOperations = [
52046
51544
  },
52047
51545
  mcp: { entityTool: "time-entries" },
52048
51546
  inputSchema: /* @__PURE__ */ looseObject({
52049
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52050
51547
  payload: /* @__PURE__ */ looseObject({
52051
51548
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
52052
51549
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -52057,13 +51554,11 @@ const generatedFocusOperations = [
52057
51554
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52058
51555
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52059
51556
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52060
- repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52061
51557
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
52062
51558
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52063
51559
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
52064
51560
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
52065
51561
  }),
52066
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52067
51562
  task_id: /* @__PURE__ */ number$2()
52068
51563
  }),
52069
51564
  execute: (input, { client }) => {
@@ -52074,8 +51569,6 @@ const generatedFocusOperations = [
52074
51569
  client.workspaceIdNumber,
52075
51570
  data.task_id,
52076
51571
  data.payload ?? data.data ?? data,
52077
- data.from_recurring_task_id,
52078
- data.return_occurrence,
52079
51572
  void 0
52080
51573
  ]));
52081
51574
  }
@@ -52095,26 +51588,21 @@ const generatedFocusOperations = [
52095
51588
  interactive: "default"
52096
51589
  },
52097
51590
  mcp: { entityTool: "time-entries" },
52098
- inputSchema: /* @__PURE__ */ looseObject({
52099
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52100
- payload: /* @__PURE__ */ looseObject({
52101
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
52102
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52103
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52104
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52105
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52106
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
52107
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52108
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52109
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52110
- repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52111
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
52112
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52113
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
52114
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
52115
- }),
52116
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
52117
- }),
51591
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
51592
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51593
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51594
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51595
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51596
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51597
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51598
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51599
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51600
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51601
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
51602
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51603
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51604
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51605
+ }) }),
52118
51606
  execute: (input, { client }) => {
52119
51607
  const data = input;
52120
51608
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -52122,8 +51610,6 @@ const generatedFocusOperations = [
52122
51610
  client.organizationId,
52123
51611
  client.workspaceIdNumber,
52124
51612
  data.payload ?? data.data ?? data,
52125
- data.from_recurring_task_id,
52126
- data.return_occurrence,
52127
51613
  void 0
52128
51614
  ]));
52129
51615
  }
@@ -52143,11 +51629,7 @@ const generatedFocusOperations = [
52143
51629
  interactive: "default"
52144
51630
  },
52145
51631
  mcp: { entityTool: "time-entries" },
52146
- inputSchema: /* @__PURE__ */ looseObject({
52147
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52148
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52149
- time_entry_id: /* @__PURE__ */ number$2()
52150
- }),
51632
+ inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
52151
51633
  execute: (input, { client }) => {
52152
51634
  const data = input;
52153
51635
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -52155,8 +51637,6 @@ const generatedFocusOperations = [
52155
51637
  client.organizationId,
52156
51638
  client.workspaceIdNumber,
52157
51639
  data.time_entry_id,
52158
- data.from_recurring_task_id,
52159
- data.return_occurrence,
52160
51640
  void 0
52161
51641
  ]));
52162
51642
  }
@@ -52237,7 +51717,6 @@ const generatedFocusOperations = [
52237
51717
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
52238
51718
  include_taskless: /* @__PURE__ */ unknown$1(),
52239
51719
  order_by: /* @__PURE__ */ unknown$1(),
52240
- project_id: /* @__PURE__ */ number$2(),
52241
51720
  status_id: /* @__PURE__ */ number$2(),
52242
51721
  task_id: /* @__PURE__ */ number$2(),
52243
51722
  type: /* @__PURE__ */ unknown$1()
@@ -52414,14 +51893,12 @@ const generatedFocusOperations = [
52414
51893
  },
52415
51894
  mcp: { entityTool: "time-entries" },
52416
51895
  inputSchema: /* @__PURE__ */ looseObject({
52417
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52418
51896
  payload: /* @__PURE__ */ looseObject({
52419
51897
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52420
51898
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52421
51899
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52422
51900
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
52423
51901
  }),
52424
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52425
51902
  time_entry_id: /* @__PURE__ */ number$2()
52426
51903
  }),
52427
51904
  execute: (input, { client }) => {
@@ -52432,8 +51909,6 @@ const generatedFocusOperations = [
52432
51909
  client.workspaceIdNumber,
52433
51910
  data.time_entry_id,
52434
51911
  data.payload ?? data.data ?? data,
52435
- data.from_recurring_task_id,
52436
- data.return_occurrence,
52437
51912
  void 0
52438
51913
  ]));
52439
51914
  }
@@ -52691,7 +52166,6 @@ const generatedFocusOperations = [
52691
52166
  },
52692
52167
  mcp: { entityTool: "time-entries" },
52693
52168
  inputSchema: /* @__PURE__ */ looseObject({
52694
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52695
52169
  payload: /* @__PURE__ */ looseObject({
52696
52170
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
52697
52171
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -52704,7 +52178,6 @@ const generatedFocusOperations = [
52704
52178
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52705
52179
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
52706
52180
  }),
52707
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52708
52181
  time_entry_id: /* @__PURE__ */ number$2()
52709
52182
  }),
52710
52183
  execute: (input, { client }) => {
@@ -52715,8 +52188,6 @@ const generatedFocusOperations = [
52715
52188
  client.workspaceIdNumber,
52716
52189
  data.time_entry_id,
52717
52190
  data.payload ?? data.data ?? data,
52718
- data.from_recurring_task_id,
52719
- data.return_occurrence,
52720
52191
  void 0
52721
52192
  ]));
52722
52193
  }
@@ -53232,40 +52703,6 @@ const generatedFocusOperations = [
53232
52703
  ]));
53233
52704
  }
53234
52705
  },
53235
- {
53236
- id: "focus.timesheets.get-status-counts",
53237
- family: "focus",
53238
- resource: "timesheets",
53239
- action: "get-status-counts",
53240
- title: "Get Status Counts Timesheets",
53241
- description: "Get Status Counts Timesheets.",
53242
- safety: "read",
53243
- destructive: false,
53244
- cli: {
53245
- group: ["timesheets"],
53246
- command: "get-status-counts",
53247
- interactive: "hidden"
53248
- },
53249
- mcp: { entityTool: "timesheets" },
53250
- inputSchema: /* @__PURE__ */ looseObject({
53251
- approver_user_account_ids: /* @__PURE__ */ unknown$1(),
53252
- date_from: /* @__PURE__ */ unknown$1(),
53253
- date_to: /* @__PURE__ */ unknown$1(),
53254
- setup_id: /* @__PURE__ */ number$2(),
53255
- team_ids: /* @__PURE__ */ unknown$1(),
53256
- user_account_ids: /* @__PURE__ */ unknown$1()
53257
- }),
53258
- execute: (input, { client }) => {
53259
- const data = input;
53260
- return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
53261
- client.httpClient,
53262
- client.organizationId,
53263
- client.workspaceIdNumber,
53264
- data,
53265
- void 0
53266
- ]));
53267
- }
53268
- },
53269
52706
  {
53270
52707
  id: "focus.timesheets.remove-timesheet-flag",
53271
52708
  family: "focus",
@@ -53815,33 +53252,6 @@ const generatedFocusOperations = [
53815
53252
  ]));
53816
53253
  }
53817
53254
  },
53818
- {
53819
- id: "focus.track-team-invites.post",
53820
- family: "focus",
53821
- resource: "track-team-invites",
53822
- action: "post",
53823
- title: "Post Track Team Invites",
53824
- description: "Post Track Team Invites.",
53825
- safety: "create",
53826
- destructive: false,
53827
- cli: {
53828
- group: ["track-team-invites"],
53829
- command: "post",
53830
- interactive: "default"
53831
- },
53832
- mcp: { entityTool: "track-team-invites" },
53833
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
53834
- execute: (input, { client }) => {
53835
- const data = input;
53836
- return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
53837
- client.httpClient,
53838
- client.organizationId,
53839
- client.workspaceIdNumber,
53840
- data.payload ?? data.data ?? data,
53841
- void 0
53842
- ]));
53843
- }
53844
- },
53845
53255
  {
53846
53256
  id: "focus.users.list",
53847
53257
  family: "focus",
@@ -53863,56 +53273,6 @@ const generatedFocusOperations = [
53863
53273
  return client.listOrgUsers(data);
53864
53274
  }
53865
53275
  },
53866
- {
53867
- id: "focus.users.settings-email-unsubscribe",
53868
- family: "focus",
53869
- resource: "users",
53870
- action: "settings-email-unsubscribe",
53871
- title: "Settings Email Unsubscribe Users",
53872
- description: "Settings Email Unsubscribe Users.",
53873
- safety: "update",
53874
- destructive: false,
53875
- cli: {
53876
- group: ["users", "settings"],
53877
- command: "email-unsubscribe",
53878
- interactive: "default"
53879
- },
53880
- mcp: { entityTool: "users" },
53881
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53882
- execute: (input, { client }) => {
53883
- const data = input;
53884
- return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
53885
- client.httpClient,
53886
- data.token,
53887
- void 0
53888
- ]));
53889
- }
53890
- },
53891
- {
53892
- id: "focus.users.settings-email-unsubscribe-page",
53893
- family: "focus",
53894
- resource: "users",
53895
- action: "settings-email-unsubscribe-page",
53896
- title: "Settings Email Unsubscribe Page Users",
53897
- description: "Settings Email Unsubscribe Page Users.",
53898
- safety: "read",
53899
- destructive: false,
53900
- cli: {
53901
- group: ["users", "settings"],
53902
- command: "email-unsubscribe-page",
53903
- interactive: "available"
53904
- },
53905
- mcp: { entityTool: "users" },
53906
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53907
- execute: (input, { client }) => {
53908
- const data = input;
53909
- return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
53910
- client.httpClient,
53911
- data.token,
53912
- void 0
53913
- ]));
53914
- }
53915
- },
53916
53276
  {
53917
53277
  id: "focus.users.settings-list",
53918
53278
  family: "focus",
@@ -53974,9 +53334,6 @@ const generatedFocusOperations = [
53974
53334
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53975
53335
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53976
53336
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53977
- notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53978
- notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53979
- notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53980
53337
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53981
53338
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53982
53339
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -55520,7 +54877,7 @@ function registerWorkspaceTools(server) {
55520
54877
  //#region src/package-version.ts
55521
54878
  function mcpPackageVersion() {
55522
54879
  try {
55523
- return "1.11.48";
54880
+ return "1.11.50";
55524
54881
  } catch {
55525
54882
  return "unknown";
55526
54883
  }
@@ -55695,7 +55052,7 @@ import_main.default.config({
55695
55052
  quiet: true,
55696
55053
  ignore: ["MISSING_ENV_FILE"]
55697
55054
  });
55698
- const packageVersion = "1.11.48";
55055
+ const packageVersion = "1.11.50";
55699
55056
  function resolvePublicUrls() {
55700
55057
  return {
55701
55058
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -55760,4 +55117,4 @@ function bootstrapServer(options = {}) {
55760
55117
  //#endregion
55761
55118
  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 };
55762
55119
 
55763
- //# sourceMappingURL=src-CQEl4Mnr.js.map
55120
+ //# sourceMappingURL=src-DN6e5BTR.js.map