@togglhq/mcp 1.11.70 → 1.11.71

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.
@@ -34663,7 +34663,6 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
34663
34663
  name: /* @__PURE__ */ string(),
34664
34664
  permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
34665
34665
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34666
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34667
34666
  client: /* @__PURE__ */ optional(ClientLiteSchema),
34668
34667
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34669
34668
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -34750,7 +34749,6 @@ const TaskSchema = /* @__PURE__ */ object({
34750
34749
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34751
34750
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34752
34751
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34753
- 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."))),
34754
34752
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34755
34753
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34756
34754
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -34812,7 +34810,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34812
34810
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34813
34811
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34814
34812
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34815
- 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."))),
34816
34813
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34817
34814
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34818
34815
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -34973,8 +34970,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
34973
34970
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34974
34971
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34975
34972
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34976
- 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."))),
34977
- 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."))),
34978
34973
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34979
34974
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34980
34975
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -35060,10 +35055,8 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
35060
35055
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35061
35056
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35062
35057
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35063
- filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35064
35058
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
35065
35059
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35066
- picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35067
35060
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
35068
35061
  recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35069
35062
  rollover_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RolloverMins is the cumulative under/over budget carried into this instance from earlier instances in its recurring chain, in minutes. Positive = surplus (prior periods went under estimate, time carries forward); negative = debt (prior periods went over). Only populated for recurring instances; nil for templates and standalone projects. See service.HydrateRollover for the per-instance contribution rules driven by RolloverMode (expire / carry_over / carry_all)."))),
@@ -35119,8 +35112,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
35119
35112
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35120
35113
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35121
35114
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35122
- 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."))),
35123
- 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."))),
35124
35115
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35125
35116
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35126
35117
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -35293,6 +35284,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35293
35284
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35294
35285
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35295
35286
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
35287
+ integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35288
+ integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35296
35289
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35297
35290
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35298
35291
  pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35349,7 +35342,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35349
35342
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35350
35343
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35351
35344
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35352
- 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."))),
35353
35345
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35354
35346
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35355
35347
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -35386,7 +35378,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35386
35378
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35387
35379
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35388
35380
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35389
- 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."))),
35390
35381
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35391
35382
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35392
35383
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -35407,6 +35398,7 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
35407
35398
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35408
35399
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35409
35400
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35401
+ time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35410
35402
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35411
35403
  user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
35412
35404
  });
@@ -35435,7 +35427,8 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
35435
35427
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35436
35428
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35437
35429
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35438
- task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
35430
+ task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35431
+ time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
35439
35432
  });
35440
35433
  const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
35441
35434
  //#endregion
@@ -37309,7 +37302,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
37309
37302
  })
37310
37303
  }).json();
37311
37304
  }
37312
- 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) {
37305
+ 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) {
37313
37306
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
37314
37307
  signal,
37315
37308
  searchParams: buildSearchParams$2({
@@ -37330,7 +37323,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
37330
37323
  include_rates,
37331
37324
  pinned_ids,
37332
37325
  has_group,
37333
- track_without_focus,
37334
37326
  cf_filter,
37335
37327
  include_custom_fields,
37336
37328
  include_calendar_integration
@@ -37432,20 +37424,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
37432
37424
  }
37433
37425
  //#endregion
37434
37426
  //#region ../focus-queries/dist/projects/requests.ts
37435
- async function getProjectsClassic(httpClient, organization_id, workspace_id, { include_task_counts, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, 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) {
37427
+ 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) {
37436
37428
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37437
37429
  signal,
37438
37430
  searchParams: buildSearchParams$2({
37439
- include_task_counts,
37440
- include_picker_parent_group_counts,
37441
- task_archived,
37442
- task_recurring,
37443
- task_state,
37444
- task_source,
37445
- task_assignee_user_id,
37446
- task_assignee_team_id,
37447
- task_include_unassigned,
37448
- task_name,
37449
37431
  page,
37450
37432
  per_page,
37451
37433
  order_by,
@@ -37695,7 +37677,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
37695
37677
  }
37696
37678
  //#endregion
37697
37679
  //#region ../focus-queries/dist/tasks/requests.ts
37698
- async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_dates, private: private_, archived, 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, 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) {
37680
+ 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) {
37699
37681
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
37700
37682
  signal,
37701
37683
  searchParams: buildSearchParams$2({
@@ -37708,6 +37690,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37708
37690
  toggl_user_id,
37709
37691
  name,
37710
37692
  has_time_entries,
37693
+ has_time_blocks,
37711
37694
  has_dates,
37712
37695
  private: private_,
37713
37696
  archived,
@@ -37730,6 +37713,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37730
37713
  priority,
37731
37714
  is_priority,
37732
37715
  state,
37716
+ timeblock_start_from,
37717
+ timeblock_start_until,
37718
+ time_block_id,
37719
+ time_block_completed,
37733
37720
  team_id,
37734
37721
  assignee_team_id,
37735
37722
  assignee_user_id,
@@ -37741,11 +37728,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37741
37728
  include_assignees,
37742
37729
  include_parent_matches,
37743
37730
  disable_aggregations,
37744
- cf_filter,
37745
- recurring_occurrences_after,
37746
- max_recurring_occurrences_after,
37747
- recurring_task_read,
37748
- include_projected_occurrences
37731
+ cf_filter
37749
37732
  })
37750
37733
  }).json();
37751
37734
  }
@@ -37820,46 +37803,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
37820
37803
  })
37821
37804
  }).json();
37822
37805
  }
37823
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
37806
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
37824
37807
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
37825
37808
  signal,
37826
37809
  searchParams: buildSearchParams$2({
37827
37810
  date_from,
37828
- date_to,
37829
- skip_provider_refresh
37830
- })
37831
- }).json();
37832
- }
37833
- async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
37834
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
37835
- signal,
37836
- searchParams: buildSearchParams$2({
37837
- project_id,
37838
- without_project,
37839
- pinned_only,
37840
- include_unassigned,
37841
- search,
37842
- only_me,
37843
- page,
37844
- per_page
37845
- })
37846
- }).json();
37847
- }
37848
- async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
37849
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
37850
- signal,
37851
- searchParams: buildSearchParams$2({
37852
- project_id,
37853
- without_project,
37854
- include_unassigned,
37855
- search,
37856
- only_me,
37857
- page,
37858
- per_page
37811
+ date_to
37859
37812
  })
37860
37813
  }).json();
37861
37814
  }
37862
- 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) {
37815
+ 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) {
37863
37816
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
37864
37817
  signal,
37865
37818
  searchParams: buildSearchParams$2({
@@ -37875,15 +37828,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
37875
37828
  assignee_team_id,
37876
37829
  assignee_user_id,
37877
37830
  tag_id,
37878
- include_assignees,
37879
- recurring_occurrences_after,
37880
- max_recurring_occurrences_after,
37881
- recurring_task_read,
37882
- include_projected_occurrences
37831
+ include_assignees
37883
37832
  })
37884
37833
  }).json();
37885
37834
  }
37886
- async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_dates, private: private_, archived, 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, 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) {
37835
+ 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) {
37887
37836
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
37888
37837
  signal,
37889
37838
  searchParams: buildSearchParams$2({
@@ -37895,6 +37844,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37895
37844
  name,
37896
37845
  include_parent_matches,
37897
37846
  has_time_entries,
37847
+ has_time_blocks,
37898
37848
  has_dates,
37899
37849
  private: private_,
37900
37850
  archived,
@@ -37917,6 +37867,8 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37917
37867
  priority,
37918
37868
  is_priority,
37919
37869
  state,
37870
+ time_block_id,
37871
+ time_block_completed,
37920
37872
  team_id,
37921
37873
  assignee_team_id,
37922
37874
  assignee_user_id,
@@ -37925,11 +37877,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37925
37877
  recurring_task_ids,
37926
37878
  client_id,
37927
37879
  include_assignees,
37928
- cf_filter,
37929
- recurring_occurrences_after,
37930
- max_recurring_occurrences_after,
37931
- recurring_task_read,
37932
- include_projected_occurrences
37880
+ cf_filter
37933
37881
  })
37934
37882
  }).json();
37935
37883
  }
@@ -37984,12 +37932,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
37984
37932
  })
37985
37933
  }).json();
37986
37934
  }
37987
- async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
37988
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
37989
- signal,
37990
- searchParams: buildSearchParams$2({ return_occurrence })
37991
- }).json();
37992
- }
37993
37935
  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) {
37994
37936
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
37995
37937
  signal,
@@ -38015,7 +37957,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
38015
37957
  }
38016
37958
  //#endregion
38017
37959
  //#region ../focus-queries/dist/time-entries/requests.ts
38018
- async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
37960
+ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived, time_block_id } = {}, signal) {
38019
37961
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
38020
37962
  signal,
38021
37963
  searchParams: buildSearchParams$2({
@@ -38023,28 +37965,21 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
38023
37965
  per_page,
38024
37966
  order_by,
38025
37967
  type,
38026
- archived
37968
+ archived,
37969
+ time_block_id
38027
37970
  })
38028
37971
  }).json();
38029
37972
  }
38030
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
37973
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
38031
37974
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
38032
37975
  signal,
38033
- json: data,
38034
- searchParams: buildSearchParams$2({
38035
- from_recurring_task_id,
38036
- return_occurrence
38037
- })
37976
+ json: data
38038
37977
  }).json();
38039
37978
  }
38040
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
37979
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
38041
37980
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
38042
37981
  signal,
38043
- json: data,
38044
- searchParams: buildSearchParams$2({
38045
- from_recurring_task_id,
38046
- return_occurrence
38047
- })
37982
+ json: data
38048
37983
  }).json();
38049
37984
  }
38050
37985
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -38095,7 +38030,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
38095
38030
  json: data
38096
38031
  }).json();
38097
38032
  }
38098
- 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) {
38033
+ 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) {
38099
38034
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
38100
38035
  signal,
38101
38036
  searchParams: buildSearchParams$2({
@@ -38103,7 +38038,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
38103
38038
  date_to,
38104
38039
  task_id,
38105
38040
  status_id,
38106
- project_id,
38107
38041
  type,
38108
38042
  order_by,
38109
38043
  archived,
@@ -38118,36 +38052,28 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
38118
38052
  json: data
38119
38053
  }).json();
38120
38054
  }
38055
+ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
38056
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
38057
+ signal,
38058
+ searchParams: buildSearchParams$2({ time_block_id })
38059
+ }).json();
38060
+ }
38121
38061
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
38122
38062
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
38123
38063
  }
38124
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
38064
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
38125
38065
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38126
38066
  signal,
38127
- json: data,
38128
- searchParams: buildSearchParams$2({
38129
- from_recurring_task_id,
38130
- return_occurrence
38131
- })
38067
+ json: data
38132
38068
  }).json();
38133
38069
  }
38134
- async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
38135
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38136
- signal,
38137
- searchParams: buildSearchParams$2({
38138
- from_recurring_task_id,
38139
- return_occurrence
38140
- })
38141
- }).json();
38070
+ async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
38071
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
38142
38072
  }
38143
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
38073
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
38144
38074
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38145
38075
  signal,
38146
- json: data,
38147
- searchParams: buildSearchParams$2({
38148
- from_recurring_task_id,
38149
- return_occurrence
38150
- })
38076
+ json: data
38151
38077
  }).json();
38152
38078
  }
38153
38079
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -41859,15 +41785,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
41859
41785
  }
41860
41786
  //#endregion
41861
41787
  //#region ../focus-queries/dist/audit-log/requests.ts
41862
- 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) {
41788
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
41863
41789
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
41864
41790
  signal,
41865
41791
  searchParams: buildSearchParams$2({
41866
41792
  workspace_id,
41867
41793
  entity_type,
41868
41794
  entity_id,
41869
- project_id,
41870
- custom_field_id,
41871
41795
  action,
41872
41796
  user_id,
41873
41797
  page_size,
@@ -41876,14 +41800,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
41876
41800
  })
41877
41801
  }).json();
41878
41802
  }
41879
- 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) {
41803
+ async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
41880
41804
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
41881
41805
  signal,
41882
41806
  searchParams: buildSearchParams$2({
41883
41807
  entity_type,
41884
41808
  entity_id,
41885
- project_id,
41886
- custom_field_id,
41887
41809
  action,
41888
41810
  user_id,
41889
41811
  page_size,
@@ -42036,14 +41958,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
42036
41958
  }
42037
41959
  //#endregion
42038
41960
  //#region ../focus-queries/dist/capacities/requests.ts
42039
- 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) {
41961
+ 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) {
42040
41962
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
42041
41963
  signal,
42042
41964
  searchParams: buildSearchParams$2({
41965
+ user_id,
42043
41966
  start_date,
42044
41967
  end_date,
42045
- user_id,
42046
- team_id,
42047
41968
  private: private_,
42048
41969
  task_source,
42049
41970
  unit,
@@ -42103,15 +42024,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
42103
42024
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42104
42025
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
42105
42026
  }
42106
- async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42107
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
42108
- }
42109
- async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
42110
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
42111
- signal,
42112
- json: data
42113
- }).json();
42114
- }
42115
42027
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
42116
42028
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
42117
42029
  signal,
@@ -42375,7 +42287,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
42375
42287
  }
42376
42288
  //#endregion
42377
42289
  //#region ../focus-queries/dist/project-groups/requests.ts
42378
- 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) {
42290
+ 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) {
42379
42291
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
42380
42292
  signal,
42381
42293
  searchParams: buildSearchParams$2({
@@ -42401,7 +42313,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42401
42313
  user_id,
42402
42314
  only_me,
42403
42315
  include_drafts,
42404
- include_recurring_series,
42405
42316
  cf_filter
42406
42317
  })
42407
42318
  }).json();
@@ -42420,6 +42331,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
42420
42331
  json: data
42421
42332
  }).json();
42422
42333
  }
42334
+ async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
42335
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
42336
+ }
42423
42337
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
42424
42338
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
42425
42339
  }
@@ -42445,37 +42359,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
42445
42359
  }).json();
42446
42360
  }
42447
42361
  //#endregion
42448
- //#region ../focus-queries/dist/publicsharedreports/requests.ts
42449
- async function openPublicSharedReport(httpClient, token, signal) {
42450
- return await httpClient.get(`shared/${token}`, { signal }).json();
42451
- }
42452
- async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
42453
- return await httpClient.post(`shared/${token}/profitability`, {
42454
- signal,
42455
- json: data,
42456
- searchParams: buildSearchParams$2({
42457
- response_format,
42458
- include_dicts
42459
- })
42460
- }).json();
42461
- }
42462
- async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
42463
- return await httpClient.post(`shared/${token}/query`, {
42464
- signal,
42465
- json: data,
42466
- searchParams: buildSearchParams$2({
42467
- response_format,
42468
- include_dicts
42469
- })
42470
- }).json();
42471
- }
42472
- async function workloadPublicSharedReport(httpClient, token, data, signal) {
42473
- return await httpClient.post(`shared/${token}/workload`, {
42474
- signal,
42475
- json: data
42476
- }).json();
42477
- }
42478
- //#endregion
42479
42362
  //#region ../focus-queries/dist/rates/requests.ts
42480
42363
  async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
42481
42364
  const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
@@ -42637,7 +42520,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
42637
42520
  }
42638
42521
  //#endregion
42639
42522
  //#region ../focus-queries/dist/search/requests.ts
42640
- async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, include_unassigned, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
42523
+ async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
42641
42524
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
42642
42525
  signal,
42643
42526
  searchParams: buildSearchParams$2({
@@ -42645,7 +42528,6 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
42645
42528
  per_group,
42646
42529
  assignee_user_id,
42647
42530
  assignee_team_id,
42648
- include_unassigned,
42649
42531
  project_id,
42650
42532
  task_id,
42651
42533
  include_drafts,
@@ -42690,18 +42572,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
42690
42572
  async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
42691
42573
  return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
42692
42574
  }
42693
- async function unshareSharedReport(httpClient, workspace_id, id, signal) {
42694
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
42695
- }
42696
- async function getSharedReportDates(httpClient, workspace_id, id, signal) {
42697
- return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
42698
- }
42699
- async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
42700
- return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
42701
- signal,
42702
- json: data
42703
- }).json();
42704
- }
42705
42575
  async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
42706
42576
  return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
42707
42577
  signal,
@@ -42711,21 +42581,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
42711
42581
  async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
42712
42582
  return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
42713
42583
  }
42714
- async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
42715
- return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
42716
- signal,
42717
- json: data
42718
- }).json();
42719
- }
42720
- async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
42721
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
42722
- }
42723
- async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
42724
- return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
42725
- signal,
42726
- json: data
42727
- }).json();
42728
- }
42729
42584
  //#endregion
42730
42585
  //#region ../focus-queries/dist/subscriptions/requests.ts
42731
42586
  async function getCurrentSubscription(httpClient, organization_id, signal) {
@@ -42782,10 +42637,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
42782
42637
  }
42783
42638
  //#endregion
42784
42639
  //#region ../focus-queries/dist/task-groups/requests.ts
42785
- 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) {
42640
+ 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) {
42786
42641
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
42787
42642
  signal,
42788
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
42789
42643
  searchParams: buildSearchParams$2({
42790
42644
  project_id,
42791
42645
  source,
@@ -42814,18 +42668,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
42814
42668
  min_days,
42815
42669
  include_drafts,
42816
42670
  cf_filter,
42817
- user_cf_filter,
42818
- recurring_occurrences_after,
42819
- max_recurring_occurrences_after,
42820
- recurring_task_read,
42821
- include_projected_occurrences
42671
+ user_cf_filter
42822
42672
  })
42823
42673
  }).json();
42824
42674
  }
42825
- 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) {
42675
+ 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) {
42826
42676
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
42827
42677
  signal,
42828
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
42829
42678
  searchParams: buildSearchParams$2({
42830
42679
  team_id,
42831
42680
  project_id,
@@ -42854,18 +42703,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
42854
42703
  min_days,
42855
42704
  include_drafts,
42856
42705
  cf_filter,
42857
- user_cf_filter,
42858
- recurring_occurrences_after,
42859
- max_recurring_occurrences_after,
42860
- recurring_task_read,
42861
- include_projected_occurrences
42706
+ user_cf_filter
42862
42707
  })
42863
42708
  }).json();
42864
42709
  }
42865
- 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) {
42710
+ 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) {
42866
42711
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
42867
42712
  signal,
42868
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
42869
42713
  searchParams: buildSearchParams$2({
42870
42714
  source,
42871
42715
  priority,
@@ -42895,10 +42739,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
42895
42739
  include_drafts,
42896
42740
  cf_filter,
42897
42741
  user_cf_filter,
42898
- recurring_occurrences_after,
42899
- max_recurring_occurrences_after,
42900
- recurring_task_read,
42901
- include_projected_occurrences,
42902
42742
  page,
42903
42743
  per_page,
42904
42744
  order_by
@@ -42926,6 +42766,104 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
42926
42766
  }).json();
42927
42767
  }
42928
42768
  //#endregion
42769
+ //#region ../focus-queries/dist/time-blocks/requests.ts
42770
+ async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
42771
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
42772
+ signal,
42773
+ searchParams: buildSearchParams$2({
42774
+ page,
42775
+ per_page,
42776
+ order_by,
42777
+ archived
42778
+ })
42779
+ }).json();
42780
+ }
42781
+ async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
42782
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
42783
+ signal,
42784
+ json: data
42785
+ }).json();
42786
+ }
42787
+ async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
42788
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
42789
+ }
42790
+ async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
42791
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
42792
+ signal,
42793
+ json: data
42794
+ }).json();
42795
+ }
42796
+ async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
42797
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
42798
+ signal,
42799
+ searchParams: buildSearchParams$2({ outbound_sync })
42800
+ }).json();
42801
+ }
42802
+ async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
42803
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
42804
+ signal,
42805
+ json: data
42806
+ }).json();
42807
+ }
42808
+ async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
42809
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
42810
+ }
42811
+ async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
42812
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
42813
+ }
42814
+ async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
42815
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
42816
+ }
42817
+ async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
42818
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
42819
+ signal,
42820
+ searchParams: buildSearchParams$2({
42821
+ date_from,
42822
+ date_to,
42823
+ task_id,
42824
+ status_id,
42825
+ page,
42826
+ per_page,
42827
+ archived,
42828
+ order_by
42829
+ })
42830
+ }).json();
42831
+ }
42832
+ async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
42833
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
42834
+ signal,
42835
+ json: data
42836
+ }).json();
42837
+ }
42838
+ async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
42839
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
42840
+ signal,
42841
+ searchParams: buildSearchParams$2({
42842
+ ids,
42843
+ outbound_sync
42844
+ })
42845
+ }).json();
42846
+ }
42847
+ async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
42848
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
42849
+ signal,
42850
+ json: data
42851
+ }).json();
42852
+ }
42853
+ async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
42854
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
42855
+ signal,
42856
+ searchParams: buildSearchParams$2({
42857
+ date_from,
42858
+ date_to,
42859
+ task_id,
42860
+ status_id,
42861
+ archived,
42862
+ order_by
42863
+ })
42864
+ }).json();
42865
+ }
42866
+ //#endregion
42929
42867
  //#region ../focus-queries/dist/time-entry-constraints/requests.ts
42930
42868
  async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
42931
42869
  return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
@@ -42963,12 +42901,6 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
42963
42901
  })
42964
42902
  }).json();
42965
42903
  }
42966
- async function getTimeoffCategories(httpClient, organization_id, signal) {
42967
- return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
42968
- }
42969
- async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
42970
- return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
42971
- }
42972
42904
  async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
42973
42905
  return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
42974
42906
  signal,
@@ -42996,26 +42928,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
42996
42928
  json: data
42997
42929
  }).json();
42998
42930
  }
42999
- async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
43000
- return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
43001
- signal,
43002
- searchParams: buildSearchParams$2({
43003
- category_id,
43004
- date
43005
- })
43006
- }).json();
43007
- }
43008
- async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
43009
- return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
43010
- signal,
43011
- searchParams: buildSearchParams$2({
43012
- category_id,
43013
- year,
43014
- page,
43015
- rows
43016
- })
43017
- }).json();
43018
- }
43019
42931
  //#endregion
43020
42932
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
43021
42933
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -43116,19 +43028,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
43116
43028
  json: data
43117
43029
  }).json();
43118
43030
  }
43119
- async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
43120
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
43121
- signal,
43122
- searchParams: buildSearchParams$2({
43123
- date_from,
43124
- date_to,
43125
- setup_id,
43126
- user_account_ids,
43127
- approver_user_account_ids,
43128
- team_ids
43129
- })
43130
- }).json();
43131
- }
43132
43031
  async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
43133
43032
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
43134
43033
  }
@@ -43172,21 +43071,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
43172
43071
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
43173
43072
  }
43174
43073
  //#endregion
43175
- //#region ../focus-queries/dist/track-team-invites/requests.ts
43176
- async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
43177
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
43178
- signal,
43179
- json: data
43180
- }).json();
43181
- }
43182
- //#endregion
43183
43074
  //#region ../focus-queries/dist/user-settings/requests.ts
43184
- async function emailUnsubscribePage(httpClient, token, signal) {
43185
- return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
43186
- }
43187
- async function emailUnsubscribe(httpClient, token, signal) {
43188
- return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
43189
- }
43190
43075
  async function getUserSettings(httpClient, signal) {
43191
43076
  return await httpClient.get(`users/me/settings`, { signal }).json();
43192
43077
  }
@@ -43426,7 +43311,6 @@ const generatedFocusOperations = [
43426
43311
  mcp: { entityTool: "audit-log" },
43427
43312
  inputSchema: /* @__PURE__ */ looseObject({
43428
43313
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43429
- custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43430
43314
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43431
43315
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43432
43316
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -43434,7 +43318,6 @@ const generatedFocusOperations = [
43434
43318
  from: /* @__PURE__ */ string$1(),
43435
43319
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43436
43320
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43437
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43438
43321
  to: /* @__PURE__ */ string$1(),
43439
43322
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43440
43323
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -43468,7 +43351,6 @@ const generatedFocusOperations = [
43468
43351
  mcp: { entityTool: "audit-log" },
43469
43352
  inputSchema: /* @__PURE__ */ looseObject({
43470
43353
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43471
- custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43472
43354
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43473
43355
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43474
43356
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -43476,7 +43358,6 @@ const generatedFocusOperations = [
43476
43358
  from: /* @__PURE__ */ string$1(),
43477
43359
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43478
43360
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43479
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43480
43361
  to: /* @__PURE__ */ string$1(),
43481
43362
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43482
43363
  }),
@@ -43516,7 +43397,6 @@ const generatedFocusOperations = [
43516
43397
  private_: /* @__PURE__ */ unknown$1(),
43517
43398
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43518
43399
  task_source: /* @__PURE__ */ unknown$1(),
43519
- team_id: /* @__PURE__ */ number$2(),
43520
43400
  unit: /* @__PURE__ */ unknown$1(),
43521
43401
  user_id: /* @__PURE__ */ number$2()
43522
43402
  }),
@@ -43766,6 +43646,8 @@ const generatedFocusOperations = [
43766
43646
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43767
43647
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
43768
43648
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43649
+ integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43650
+ integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43769
43651
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43770
43652
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43771
43653
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -43799,6 +43681,8 @@ const generatedFocusOperations = [
43799
43681
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43800
43682
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
43801
43683
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43684
+ integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43685
+ integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43802
43686
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43803
43687
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43804
43688
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -43814,6 +43698,12 @@ const generatedFocusOperations = [
43814
43698
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43815
43699
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43816
43700
  }))),
43701
+ time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
43702
+ start: apiDateTimeString,
43703
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43704
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43705
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
43706
+ }))),
43817
43707
  time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
43818
43708
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
43819
43709
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -43823,6 +43713,13 @@ const generatedFocusOperations = [
43823
43713
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43824
43714
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43825
43715
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
43716
+ time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
43717
+ start: apiDateTimeString,
43718
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43719
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43720
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
43721
+ })),
43722
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43826
43723
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
43827
43724
  }))
43828
43725
  }) }),
@@ -43940,33 +43837,6 @@ const generatedFocusOperations = [
43940
43837
  ]));
43941
43838
  }
43942
43839
  },
43943
- {
43944
- id: "focus.custom-fields.get-allowed-users",
43945
- family: "focus",
43946
- resource: "custom-fields",
43947
- action: "get-allowed-users",
43948
- title: "Get Allowed Users Custom Fields",
43949
- description: "Get Allowed Users Custom Fields.",
43950
- safety: "read",
43951
- destructive: false,
43952
- cli: {
43953
- group: ["custom-fields"],
43954
- command: "get-allowed-users",
43955
- interactive: "available"
43956
- },
43957
- mcp: { entityTool: "custom-fields" },
43958
- inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
43959
- execute: (input, { client }) => {
43960
- const data = input;
43961
- return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
43962
- client.httpClient,
43963
- client.organizationId,
43964
- client.workspaceIdNumber,
43965
- data.custom_field_id,
43966
- void 0
43967
- ]));
43968
- }
43969
- },
43970
43840
  {
43971
43841
  id: "focus.custom-fields.list",
43972
43842
  family: "focus",
@@ -44137,61 +44007,30 @@ const generatedFocusOperations = [
44137
44007
  }
44138
44008
  },
44139
44009
  {
44140
- id: "focus.custom-fields.replace-custom-field-allowed-users",
44010
+ id: "focus.custom-fields.update",
44141
44011
  family: "focus",
44142
44012
  resource: "custom-fields",
44143
- action: "replace-custom-field-allowed-users",
44144
- title: "Replace Custom Field Allowed Users Custom Fields",
44145
- description: "Replace Custom Field Allowed Users Custom Fields.",
44013
+ action: "update",
44014
+ title: "Update Custom Fields",
44015
+ description: "Update Custom Fields.",
44146
44016
  safety: "update",
44147
44017
  destructive: false,
44148
44018
  cli: {
44149
44019
  group: ["custom-fields"],
44150
- command: "replace-custom-field-allowed-users",
44020
+ command: "update",
44151
44021
  interactive: "default"
44152
44022
  },
44153
44023
  mcp: { entityTool: "custom-fields" },
44154
44024
  inputSchema: /* @__PURE__ */ looseObject({
44155
44025
  custom_field_id: /* @__PURE__ */ number$2(),
44156
- payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
44026
+ payload: /* @__PURE__ */ looseObject({
44027
+ name: /* @__PURE__ */ string$1(),
44028
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44029
+ })
44157
44030
  }),
44158
44031
  execute: (input, { client }) => {
44159
44032
  const data = input;
44160
- return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
44161
- client.httpClient,
44162
- client.organizationId,
44163
- client.workspaceIdNumber,
44164
- data.custom_field_id,
44165
- data.payload ?? data.data ?? data,
44166
- void 0
44167
- ]));
44168
- }
44169
- },
44170
- {
44171
- id: "focus.custom-fields.update",
44172
- family: "focus",
44173
- resource: "custom-fields",
44174
- action: "update",
44175
- title: "Update Custom Fields",
44176
- description: "Update Custom Fields.",
44177
- safety: "update",
44178
- destructive: false,
44179
- cli: {
44180
- group: ["custom-fields"],
44181
- command: "update",
44182
- interactive: "default"
44183
- },
44184
- mcp: { entityTool: "custom-fields" },
44185
- inputSchema: /* @__PURE__ */ looseObject({
44186
- custom_field_id: /* @__PURE__ */ number$2(),
44187
- payload: /* @__PURE__ */ looseObject({
44188
- name: /* @__PURE__ */ string$1(),
44189
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44190
- })
44191
- }),
44192
- execute: (input, { client }) => {
44193
- const data = input;
44194
- return client.runGeneratedRequest("updateCustomField", () => callGeneratedRequest(updateCustomField, [
44033
+ return client.runGeneratedRequest("updateCustomField", () => callGeneratedRequest(updateCustomField, [
44195
44034
  client.httpClient,
44196
44035
  client.organizationId,
44197
44036
  client.workspaceIdNumber,
@@ -44313,7 +44152,13 @@ const generatedFocusOperations = [
44313
44152
  },
44314
44153
  mcp: { entityTool: "goals" },
44315
44154
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44155
+ billable: /* @__PURE__ */ boolean$1(),
44316
44156
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44157
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44158
+ icon: /* @__PURE__ */ string$1(),
44159
+ monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44160
+ name: /* @__PURE__ */ string$1(),
44161
+ project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44317
44162
  recurrence: /* @__PURE__ */ picklist$1([
44318
44163
  "daily",
44319
44164
  "weekly",
@@ -44321,18 +44166,12 @@ const generatedFocusOperations = [
44321
44166
  "monthly"
44322
44167
  ]),
44323
44168
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44169
+ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44324
44170
  target_seconds: /* @__PURE__ */ number$2(),
44325
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44171
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44172
+ weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44326
44173
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44327
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44328
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44329
- icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44330
- monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44331
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44332
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44333
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44334
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44335
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44174
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44336
44175
  }) }),
44337
44176
  execute: (input, { client }) => {
44338
44177
  const data = input;
@@ -44438,6 +44277,13 @@ const generatedFocusOperations = [
44438
44277
  },
44439
44278
  mcp: { entityTool: "goals" },
44440
44279
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44280
+ billable: /* @__PURE__ */ boolean$1(),
44281
+ comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44282
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44283
+ icon: /* @__PURE__ */ string$1(),
44284
+ monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44285
+ name: /* @__PURE__ */ string$1(),
44286
+ project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44441
44287
  recurrence: /* @__PURE__ */ picklist$1([
44442
44288
  "daily",
44443
44289
  "weekly",
@@ -44445,19 +44291,12 @@ const generatedFocusOperations = [
44445
44291
  "monthly"
44446
44292
  ]),
44447
44293
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44448
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44294
+ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44295
+ target_seconds: /* @__PURE__ */ number$2(),
44296
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44297
+ weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44449
44298
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44450
- comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
44451
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44452
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44453
- icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44454
- monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44455
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44456
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44457
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44458
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44459
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44460
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44299
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44461
44300
  }) }),
44462
44301
  execute: (input, { client }) => {
44463
44302
  const data = input;
@@ -45424,17 +45263,9 @@ const generatedFocusOperations = [
45424
45263
  mcp: { entityTool: "projects" },
45425
45264
  inputSchema: /* @__PURE__ */ looseObject({
45426
45265
  payload: /* @__PURE__ */ looseObject({
45427
- auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45428
- completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
45429
45266
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
45430
45267
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45431
45268
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45432
- rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
45433
- "expire",
45434
- "carry_all",
45435
- "carry_over"
45436
- ])),
45437
- rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45438
45269
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
45439
45270
  }),
45440
45271
  project_id: /* @__PURE__ */ number$2()
@@ -45878,7 +45709,6 @@ const generatedFocusOperations = [
45878
45709
  group: /* @__PURE__ */ string$1(),
45879
45710
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45880
45711
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45881
- include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45882
45712
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45883
45713
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45884
45714
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -45981,6 +45811,29 @@ const generatedFocusOperations = [
45981
45811
  ]));
45982
45812
  }
45983
45813
  },
45814
+ {
45815
+ id: "focus.projects.margin-targets-clear-workspace",
45816
+ family: "focus",
45817
+ resource: "projects",
45818
+ action: "margin-targets-clear-workspace",
45819
+ title: "Margin Targets Clear Workspace Projects",
45820
+ description: "Margin Targets Clear Workspace Projects.",
45821
+ safety: "delete",
45822
+ destructive: true,
45823
+ cli: {
45824
+ group: ["projects", "margin-targets"],
45825
+ command: "clear-workspace",
45826
+ interactive: "default"
45827
+ },
45828
+ mcp: { entityTool: "projects" },
45829
+ inputSchema: /* @__PURE__ */ looseObject({}),
45830
+ execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
45831
+ client.httpClient,
45832
+ client.organizationId,
45833
+ client.workspaceIdNumber,
45834
+ void 0
45835
+ ]))
45836
+ },
45984
45837
  {
45985
45838
  id: "focus.projects.margin-targets-get",
45986
45839
  family: "focus",
@@ -46425,130 +46278,6 @@ const generatedFocusOperations = [
46425
46278
  ]));
46426
46279
  }
46427
46280
  },
46428
- {
46429
- id: "focus.publicsharedreports.open-public-shared-report",
46430
- family: "focus",
46431
- resource: "publicsharedreports",
46432
- action: "open-public-shared-report",
46433
- title: "Open Public Shared Report Publicsharedreports",
46434
- description: "Open Public Shared Report Publicsharedreports.",
46435
- safety: "read",
46436
- destructive: false,
46437
- cli: {
46438
- group: ["publicsharedreports"],
46439
- command: "open-public-shared-report",
46440
- interactive: "available"
46441
- },
46442
- mcp: { entityTool: "publicsharedreports" },
46443
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
46444
- execute: (input, { client }) => {
46445
- const data = input;
46446
- return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
46447
- client.httpClient,
46448
- data.token,
46449
- void 0
46450
- ]));
46451
- }
46452
- },
46453
- {
46454
- id: "focus.publicsharedreports.profitability-public-shared-report",
46455
- family: "focus",
46456
- resource: "publicsharedreports",
46457
- action: "profitability-public-shared-report",
46458
- title: "Profitability Public Shared Report Publicsharedreports",
46459
- description: "Profitability Public Shared Report Publicsharedreports.",
46460
- safety: "update",
46461
- destructive: false,
46462
- cli: {
46463
- group: ["publicsharedreports"],
46464
- command: "profitability-public-shared-report",
46465
- interactive: "default"
46466
- },
46467
- mcp: { entityTool: "publicsharedreports" },
46468
- inputSchema: /* @__PURE__ */ looseObject({
46469
- include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
46470
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46471
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
46472
- token: /* @__PURE__ */ string$1()
46473
- }),
46474
- execute: (input, { client }) => {
46475
- const data = input;
46476
- return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
46477
- client.httpClient,
46478
- data.token,
46479
- data.payload ?? data.data ?? data,
46480
- data.response_format,
46481
- data.include_dicts,
46482
- void 0
46483
- ]));
46484
- }
46485
- },
46486
- {
46487
- id: "focus.publicsharedreports.query-public-shared-report",
46488
- family: "focus",
46489
- resource: "publicsharedreports",
46490
- action: "query-public-shared-report",
46491
- title: "Query Public Shared Report Publicsharedreports",
46492
- description: "Query Public Shared Report Publicsharedreports.",
46493
- safety: "update",
46494
- destructive: false,
46495
- cli: {
46496
- group: ["publicsharedreports"],
46497
- command: "query-public-shared-report",
46498
- interactive: "default"
46499
- },
46500
- mcp: { entityTool: "publicsharedreports" },
46501
- inputSchema: /* @__PURE__ */ looseObject({
46502
- include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
46503
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46504
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
46505
- "json_row",
46506
- "table",
46507
- "hierarchical"
46508
- ])),
46509
- token: /* @__PURE__ */ string$1()
46510
- }),
46511
- execute: (input, { client }) => {
46512
- const data = input;
46513
- return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
46514
- client.httpClient,
46515
- data.token,
46516
- data.payload ?? data.data ?? data,
46517
- data.response_format,
46518
- data.include_dicts,
46519
- void 0
46520
- ]));
46521
- }
46522
- },
46523
- {
46524
- id: "focus.publicsharedreports.workload-public-shared-report",
46525
- family: "focus",
46526
- resource: "publicsharedreports",
46527
- action: "workload-public-shared-report",
46528
- title: "Workload Public Shared Report Publicsharedreports",
46529
- description: "Workload Public Shared Report Publicsharedreports.",
46530
- safety: "update",
46531
- destructive: false,
46532
- cli: {
46533
- group: ["publicsharedreports"],
46534
- command: "workload-public-shared-report",
46535
- interactive: "default"
46536
- },
46537
- mcp: { entityTool: "publicsharedreports" },
46538
- inputSchema: /* @__PURE__ */ looseObject({
46539
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46540
- token: /* @__PURE__ */ string$1()
46541
- }),
46542
- execute: (input, { client }) => {
46543
- const data = input;
46544
- return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
46545
- client.httpClient,
46546
- data.token,
46547
- data.payload ?? data.data ?? data,
46548
- void 0
46549
- ]));
46550
- }
46551
- },
46552
46281
  {
46553
46282
  id: "focus.rates.billable-check-project-billable-rate-conflicts",
46554
46283
  family: "focus",
@@ -48507,7 +48236,7 @@ const generatedFocusOperations = [
48507
48236
  cli: {
48508
48237
  group: ["reportschedules"],
48509
48238
  command: "upsert-saved-view-schedule",
48510
- interactive: "hidden"
48239
+ interactive: "default"
48511
48240
  },
48512
48241
  mcp: { entityTool: "reportschedules" },
48513
48242
  inputSchema: /* @__PURE__ */ looseObject({
@@ -48518,10 +48247,8 @@ const generatedFocusOperations = [
48518
48247
  "weekly",
48519
48248
  "monthly"
48520
48249
  ]),
48521
- charts: /* @__PURE__ */ unknown$1(),
48522
48250
  time: /* @__PURE__ */ string$1(),
48523
48251
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48524
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48525
48252
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48526
48253
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48527
48254
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -48854,32 +48581,6 @@ const generatedFocusOperations = [
48854
48581
  ]));
48855
48582
  }
48856
48583
  },
48857
- {
48858
- id: "focus.sharedreports.get-shared-report-dates",
48859
- family: "focus",
48860
- resource: "sharedreports",
48861
- action: "get-shared-report-dates",
48862
- title: "Get Shared Report Dates Sharedreports",
48863
- description: "Get Shared Report Dates Sharedreports.",
48864
- safety: "read",
48865
- destructive: false,
48866
- cli: {
48867
- group: ["sharedreports"],
48868
- command: "get-shared-report-dates",
48869
- interactive: "available"
48870
- },
48871
- mcp: { entityTool: "sharedreports" },
48872
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48873
- execute: (input, { client }) => {
48874
- const data = input;
48875
- return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
48876
- client.httpClient,
48877
- client.workspaceIdNumber,
48878
- data.id,
48879
- void 0
48880
- ]));
48881
- }
48882
- },
48883
48584
  {
48884
48585
  id: "focus.sharedreports.get-shared-report-for-viewer",
48885
48586
  family: "focus",
@@ -48950,36 +48651,6 @@ const generatedFocusOperations = [
48950
48651
  void 0
48951
48652
  ]))
48952
48653
  },
48953
- {
48954
- id: "focus.sharedreports.mint-shared-report-link",
48955
- family: "focus",
48956
- resource: "sharedreports",
48957
- action: "mint-shared-report-link",
48958
- title: "Mint Shared Report Link Sharedreports",
48959
- description: "Mint Shared Report Link Sharedreports.",
48960
- safety: "update",
48961
- destructive: false,
48962
- cli: {
48963
- group: ["sharedreports"],
48964
- command: "mint-shared-report-link",
48965
- interactive: "default"
48966
- },
48967
- mcp: { entityTool: "sharedreports" },
48968
- inputSchema: /* @__PURE__ */ looseObject({
48969
- id: /* @__PURE__ */ number$2(),
48970
- payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
48971
- }),
48972
- execute: (input, { client }) => {
48973
- const data = input;
48974
- return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
48975
- client.httpClient,
48976
- client.workspaceIdNumber,
48977
- data.id,
48978
- data.payload ?? data.data ?? data,
48979
- void 0
48980
- ]));
48981
- }
48982
- },
48983
48654
  {
48984
48655
  id: "focus.sharedreports.revoke-shared-report-grant",
48985
48656
  family: "focus",
@@ -49011,53 +48682,71 @@ const generatedFocusOperations = [
49011
48682
  }
49012
48683
  },
49013
48684
  {
49014
- id: "focus.sharedreports.revoke-shared-report-link",
48685
+ id: "focus.sharedreports.share-saved-view",
49015
48686
  family: "focus",
49016
48687
  resource: "sharedreports",
49017
- action: "revoke-shared-report-link",
49018
- title: "Revoke Shared Report Link Sharedreports",
49019
- description: "Revoke Shared Report Link Sharedreports.",
49020
- safety: "delete",
49021
- destructive: true,
48688
+ action: "share-saved-view",
48689
+ title: "Share Saved View Sharedreports",
48690
+ description: "Share Saved View Sharedreports.",
48691
+ safety: "update",
48692
+ destructive: false,
49022
48693
  cli: {
49023
48694
  group: ["sharedreports"],
49024
- command: "revoke-shared-report-link",
49025
- interactive: "default"
48695
+ command: "share-saved-view",
48696
+ interactive: "hidden"
49026
48697
  },
49027
48698
  mcp: { entityTool: "sharedreports" },
49028
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48699
+ inputSchema: /* @__PURE__ */ looseObject({
48700
+ id: /* @__PURE__ */ number$2(),
48701
+ payload: /* @__PURE__ */ looseObject({
48702
+ charts: /* @__PURE__ */ unknown$1(),
48703
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48704
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48705
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48706
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48707
+ })
48708
+ }),
49029
48709
  execute: (input, { client }) => {
49030
48710
  const data = input;
49031
- return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
48711
+ return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
49032
48712
  client.httpClient,
49033
48713
  client.workspaceIdNumber,
49034
48714
  data.id,
48715
+ data.payload ?? data.data ?? data,
49035
48716
  void 0
49036
48717
  ]));
49037
48718
  }
49038
48719
  },
49039
48720
  {
49040
- id: "focus.sharedreports.rotate-shared-report-link",
48721
+ id: "focus.sharedreports.share-saved-view-many",
49041
48722
  family: "focus",
49042
48723
  resource: "sharedreports",
49043
- action: "rotate-shared-report-link",
49044
- title: "Rotate Shared Report Link Sharedreports",
49045
- description: "Rotate Shared Report Link Sharedreports.",
48724
+ action: "share-saved-view-many",
48725
+ title: "Share Saved View Many Sharedreports",
48726
+ description: "Share Saved View Many Sharedreports.",
49046
48727
  safety: "update",
49047
48728
  destructive: false,
49048
48729
  cli: {
49049
48730
  group: ["sharedreports"],
49050
- command: "rotate-shared-report-link",
49051
- interactive: "default"
48731
+ command: "share-saved-view-many",
48732
+ interactive: "hidden"
49052
48733
  },
49053
48734
  mcp: { entityTool: "sharedreports" },
49054
48735
  inputSchema: /* @__PURE__ */ looseObject({
49055
48736
  id: /* @__PURE__ */ number$2(),
49056
- payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
48737
+ payload: /* @__PURE__ */ looseObject({
48738
+ charts: /* @__PURE__ */ unknown$1(),
48739
+ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48740
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48741
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48742
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48743
+ })),
48744
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48745
+ })
49057
48746
  }),
49058
48747
  execute: (input, { client }) => {
49059
48748
  const data = input;
49060
- return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
48749
+ return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
49061
48750
  client.httpClient,
49062
48751
  client.workspaceIdNumber,
49063
48752
  data.id,
@@ -49067,158 +48756,28 @@ const generatedFocusOperations = [
49067
48756
  }
49068
48757
  },
49069
48758
  {
49070
- id: "focus.sharedreports.set-shared-report-dates-lock",
48759
+ id: "focus.statuses.create-status",
49071
48760
  family: "focus",
49072
- resource: "sharedreports",
49073
- action: "set-shared-report-dates-lock",
49074
- title: "Set Shared Report Dates Lock Sharedreports",
49075
- description: "Set Shared Report Dates Lock Sharedreports.",
49076
- safety: "update",
48761
+ resource: "statuses",
48762
+ action: "create-status",
48763
+ title: "Create Status Statuses",
48764
+ description: "Create Status Statuses.",
48765
+ safety: "create",
49077
48766
  destructive: false,
49078
48767
  cli: {
49079
- group: ["sharedreports"],
49080
- command: "set-shared-report-dates-lock",
48768
+ group: ["statuses"],
48769
+ command: "create-status",
49081
48770
  interactive: "default"
49082
48771
  },
49083
- mcp: { entityTool: "sharedreports" },
49084
- inputSchema: /* @__PURE__ */ looseObject({
49085
- id: /* @__PURE__ */ number$2(),
49086
- payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
49087
- }),
48772
+ mcp: { entityTool: "statuses" },
48773
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
48774
+ emoji: /* @__PURE__ */ string$1(),
48775
+ name: /* @__PURE__ */ string$1(),
48776
+ position: /* @__PURE__ */ number$2()
48777
+ }) }),
49088
48778
  execute: (input, { client }) => {
49089
48779
  const data = input;
49090
- return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
49091
- client.httpClient,
49092
- client.workspaceIdNumber,
49093
- data.id,
49094
- data.payload ?? data.data ?? data,
49095
- void 0
49096
- ]));
49097
- }
49098
- },
49099
- {
49100
- id: "focus.sharedreports.share-saved-view",
49101
- family: "focus",
49102
- resource: "sharedreports",
49103
- action: "share-saved-view",
49104
- title: "Share Saved View Sharedreports",
49105
- description: "Share Saved View Sharedreports.",
49106
- safety: "update",
49107
- destructive: false,
49108
- cli: {
49109
- group: ["sharedreports"],
49110
- command: "share-saved-view",
49111
- interactive: "hidden"
49112
- },
49113
- mcp: { entityTool: "sharedreports" },
49114
- inputSchema: /* @__PURE__ */ looseObject({
49115
- id: /* @__PURE__ */ number$2(),
49116
- payload: /* @__PURE__ */ looseObject({
49117
- charts: /* @__PURE__ */ unknown$1(),
49118
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49119
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49120
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49121
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
49122
- })
49123
- }),
49124
- execute: (input, { client }) => {
49125
- const data = input;
49126
- return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
49127
- client.httpClient,
49128
- client.workspaceIdNumber,
49129
- data.id,
49130
- data.payload ?? data.data ?? data,
49131
- void 0
49132
- ]));
49133
- }
49134
- },
49135
- {
49136
- id: "focus.sharedreports.share-saved-view-many",
49137
- family: "focus",
49138
- resource: "sharedreports",
49139
- action: "share-saved-view-many",
49140
- title: "Share Saved View Many Sharedreports",
49141
- description: "Share Saved View Many Sharedreports.",
49142
- safety: "update",
49143
- destructive: false,
49144
- cli: {
49145
- group: ["sharedreports"],
49146
- command: "share-saved-view-many",
49147
- interactive: "hidden"
49148
- },
49149
- mcp: { entityTool: "sharedreports" },
49150
- inputSchema: /* @__PURE__ */ looseObject({
49151
- id: /* @__PURE__ */ number$2(),
49152
- payload: /* @__PURE__ */ looseObject({
49153
- charts: /* @__PURE__ */ unknown$1(),
49154
- grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
49155
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49156
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49157
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
49158
- })),
49159
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
49160
- })
49161
- }),
49162
- execute: (input, { client }) => {
49163
- const data = input;
49164
- return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
49165
- client.httpClient,
49166
- client.workspaceIdNumber,
49167
- data.id,
49168
- data.payload ?? data.data ?? data,
49169
- void 0
49170
- ]));
49171
- }
49172
- },
49173
- {
49174
- id: "focus.sharedreports.unshare-shared-report",
49175
- family: "focus",
49176
- resource: "sharedreports",
49177
- action: "unshare-shared-report",
49178
- title: "Unshare Shared Report Sharedreports",
49179
- description: "Unshare Shared Report Sharedreports.",
49180
- safety: "delete",
49181
- destructive: true,
49182
- cli: {
49183
- group: ["sharedreports"],
49184
- command: "unshare-shared-report",
49185
- interactive: "default"
49186
- },
49187
- mcp: { entityTool: "sharedreports" },
49188
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
49189
- execute: (input, { client }) => {
49190
- const data = input;
49191
- return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
49192
- client.httpClient,
49193
- client.workspaceIdNumber,
49194
- data.id,
49195
- void 0
49196
- ]));
49197
- }
49198
- },
49199
- {
49200
- id: "focus.statuses.create-status",
49201
- family: "focus",
49202
- resource: "statuses",
49203
- action: "create-status",
49204
- title: "Create Status Statuses",
49205
- description: "Create Status Statuses.",
49206
- safety: "create",
49207
- destructive: false,
49208
- cli: {
49209
- group: ["statuses"],
49210
- command: "create-status",
49211
- interactive: "default"
49212
- },
49213
- mcp: { entityTool: "statuses" },
49214
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
49215
- emoji: /* @__PURE__ */ string$1(),
49216
- name: /* @__PURE__ */ string$1(),
49217
- position: /* @__PURE__ */ number$2()
49218
- }) }),
49219
- execute: (input, { client }) => {
49220
- const data = input;
49221
- return client.runGeneratedRequest("createStatus", () => callGeneratedRequest(createStatus, [
48780
+ return client.runGeneratedRequest("createStatus", () => callGeneratedRequest(createStatus, [
49222
48781
  client.httpClient,
49223
48782
  client.workspaceIdNumber,
49224
48783
  data.payload ?? data.data ?? data,
@@ -50238,37 +49797,6 @@ const generatedFocusOperations = [
50238
49797
  return client.createTask(data);
50239
49798
  }
50240
49799
  },
50241
- {
50242
- id: "focus.tasks.create-recurring-occurrence",
50243
- family: "focus",
50244
- resource: "tasks",
50245
- action: "create-recurring-occurrence",
50246
- title: "Create Recurring Occurrence Tasks",
50247
- description: "Create Recurring Occurrence Tasks.",
50248
- safety: "create",
50249
- destructive: false,
50250
- cli: {
50251
- group: ["tasks"],
50252
- command: "create-recurring-occurrence",
50253
- interactive: "default"
50254
- },
50255
- mcp: { entityTool: "tasks" },
50256
- inputSchema: /* @__PURE__ */ looseObject({
50257
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50258
- task_id: /* @__PURE__ */ number$2()
50259
- }),
50260
- execute: (input, { client }) => {
50261
- const data = input;
50262
- return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
50263
- client.httpClient,
50264
- client.organizationId,
50265
- client.workspaceIdNumber,
50266
- data.task_id,
50267
- data.return_occurrence,
50268
- void 0
50269
- ]));
50270
- }
50271
- },
50272
49800
  {
50273
49801
  id: "focus.tasks.delete",
50274
49802
  family: "focus",
@@ -50493,79 +50021,6 @@ const generatedFocusOperations = [
50493
50021
  ]));
50494
50022
  }
50495
50023
  },
50496
- {
50497
- id: "focus.tasks.get-picker-task-children",
50498
- family: "focus",
50499
- resource: "tasks",
50500
- action: "get-picker-task-children",
50501
- title: "Get Picker Task Children Tasks",
50502
- description: "Get Picker Task Children Tasks.",
50503
- safety: "read",
50504
- destructive: false,
50505
- cli: {
50506
- group: ["tasks"],
50507
- command: "get-picker-task-children",
50508
- interactive: "hidden"
50509
- },
50510
- mcp: { entityTool: "tasks" },
50511
- inputSchema: /* @__PURE__ */ looseObject({
50512
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50513
- only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50514
- page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50515
- parent_task_id: /* @__PURE__ */ number$2(),
50516
- per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50517
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50518
- search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50519
- without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50520
- }),
50521
- execute: (input, { client }) => {
50522
- const data = input;
50523
- return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
50524
- client.httpClient,
50525
- client.organizationId,
50526
- client.workspaceIdNumber,
50527
- data.parent_task_id,
50528
- data,
50529
- void 0
50530
- ]));
50531
- }
50532
- },
50533
- {
50534
- id: "focus.tasks.get-picker-task-groups",
50535
- family: "focus",
50536
- resource: "tasks",
50537
- action: "get-picker-task-groups",
50538
- title: "Get Picker Task Groups Tasks",
50539
- description: "Get Picker Task Groups Tasks.",
50540
- safety: "read",
50541
- destructive: false,
50542
- cli: {
50543
- group: ["tasks"],
50544
- command: "get-picker-task-groups",
50545
- interactive: "hidden"
50546
- },
50547
- mcp: { entityTool: "tasks" },
50548
- inputSchema: /* @__PURE__ */ looseObject({
50549
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50550
- only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50551
- page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50552
- per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50553
- pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50554
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50555
- search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50556
- without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50557
- }),
50558
- execute: (input, { client }) => {
50559
- const data = input;
50560
- return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
50561
- client.httpClient,
50562
- client.organizationId,
50563
- client.workspaceIdNumber,
50564
- data,
50565
- void 0
50566
- ]));
50567
- }
50568
- },
50569
50024
  {
50570
50025
  id: "focus.tasks.get-recurring-instances",
50571
50026
  family: "focus",
@@ -50589,13 +50044,9 @@ const generatedFocusOperations = [
50589
50044
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50590
50045
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50591
50046
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50592
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50593
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50594
50047
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50595
50048
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50596
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50597
50049
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50598
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50599
50050
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50600
50051
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50601
50052
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -50641,14 +50092,13 @@ const generatedFocusOperations = [
50641
50092
  estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50642
50093
  estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50643
50094
  has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50095
+ has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50644
50096
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50645
50097
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50646
50098
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50647
50099
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50648
50100
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50649
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50650
50101
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50651
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50652
50102
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50653
50103
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50654
50104
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -50657,9 +50107,7 @@ const generatedFocusOperations = [
50657
50107
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50658
50108
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50659
50109
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50660
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50661
50110
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50662
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50663
50111
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50664
50112
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50665
50113
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50668,6 +50116,8 @@ const generatedFocusOperations = [
50668
50116
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50669
50117
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50670
50118
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50119
+ time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50120
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50671
50121
  toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50672
50122
  with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50673
50123
  }),
@@ -50795,10 +50245,8 @@ const generatedFocusOperations = [
50795
50245
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50796
50246
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50797
50247
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50798
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50799
50248
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50800
50249
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50801
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50802
50250
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50803
50251
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50804
50252
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50807,8 +50255,6 @@ const generatedFocusOperations = [
50807
50255
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50808
50256
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50809
50257
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50810
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50811
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50812
50258
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50813
50259
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50814
50260
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50817,8 +50263,7 @@ const generatedFocusOperations = [
50817
50263
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50818
50264
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50819
50265
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50820
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50821
- xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50266
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50822
50267
  }),
50823
50268
  execute: (input, { client }) => {
50824
50269
  const data = input;
@@ -50860,17 +50305,13 @@ const generatedFocusOperations = [
50860
50305
  group_id: /* @__PURE__ */ number$2(),
50861
50306
  include_assignees: /* @__PURE__ */ unknown$1(),
50862
50307
  include_drafts: /* @__PURE__ */ unknown$1(),
50863
- include_projected_occurrences: /* @__PURE__ */ unknown$1(),
50864
50308
  include_unassigned: /* @__PURE__ */ unknown$1(),
50865
50309
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
50866
- max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
50867
50310
  min_days: /* @__PURE__ */ unknown$1(),
50868
50311
  name: /* @__PURE__ */ unknown$1(),
50869
50312
  priority: /* @__PURE__ */ unknown$1(),
50870
50313
  private_: /* @__PURE__ */ unknown$1(),
50871
50314
  project_id: /* @__PURE__ */ number$2(),
50872
- recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
50873
- recurring_task_read: /* @__PURE__ */ unknown$1(),
50874
50315
  source: /* @__PURE__ */ unknown$1(),
50875
50316
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
50876
50317
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -50879,8 +50320,7 @@ const generatedFocusOperations = [
50879
50320
  tag_id: /* @__PURE__ */ number$2(),
50880
50321
  team_id: /* @__PURE__ */ number$2(),
50881
50322
  user_cf_filter: /* @__PURE__ */ unknown$1(),
50882
- user_tag_id: /* @__PURE__ */ number$2(),
50883
- xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
50323
+ user_tag_id: /* @__PURE__ */ number$2()
50884
50324
  }),
50885
50325
  execute: (input, { client }) => {
50886
50326
  const data = input;
@@ -50921,17 +50361,13 @@ const generatedFocusOperations = [
50921
50361
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50922
50362
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50923
50363
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50924
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50925
50364
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50926
50365
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50927
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50928
50366
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50929
50367
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50930
50368
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50931
50369
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50932
50370
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50933
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50934
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50935
50371
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50936
50372
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50937
50373
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50940,8 +50376,7 @@ const generatedFocusOperations = [
50940
50376
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50941
50377
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50942
50378
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50943
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50944
- xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50379
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50945
50380
  }),
50946
50381
  execute: (input, { client }) => {
50947
50382
  const data = input;
@@ -51185,45 +50620,508 @@ const generatedFocusOperations = [
51185
50620
  }),
51186
50621
  execute: (input, { client }) => {
51187
50622
  const data = input;
51188
- return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
50623
+ return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
50624
+ client.httpClient,
50625
+ client.organizationId,
50626
+ client.workspaceIdNumber,
50627
+ data.task_id,
50628
+ data.payload ?? data.data ?? data,
50629
+ void 0
50630
+ ]));
50631
+ }
50632
+ },
50633
+ {
50634
+ id: "focus.tasks.update-calendar-range",
50635
+ family: "focus",
50636
+ resource: "tasks",
50637
+ action: "update-calendar-range",
50638
+ title: "Update Calendar Range Tasks",
50639
+ description: "Update Calendar Range Tasks.",
50640
+ safety: "update",
50641
+ destructive: false,
50642
+ cli: {
50643
+ group: ["tasks"],
50644
+ command: "update-calendar-range",
50645
+ interactive: "default"
50646
+ },
50647
+ mcp: { entityTool: "tasks" },
50648
+ inputSchema: /* @__PURE__ */ looseObject({
50649
+ date_from: /* @__PURE__ */ string$1(),
50650
+ date_to: /* @__PURE__ */ string$1()
50651
+ }),
50652
+ execute: (input, { client }) => {
50653
+ const data = input;
50654
+ return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
50655
+ client.httpClient,
50656
+ client.organizationId,
50657
+ client.workspaceIdNumber,
50658
+ data.date_from,
50659
+ data.date_to,
50660
+ void 0
50661
+ ]));
50662
+ }
50663
+ },
50664
+ {
50665
+ id: "focus.time-blocks.archive",
50666
+ family: "focus",
50667
+ resource: "time-blocks",
50668
+ action: "archive",
50669
+ title: "Archive Time Blocks",
50670
+ description: "Archive Time Blocks.",
50671
+ safety: "update",
50672
+ destructive: false,
50673
+ cli: {
50674
+ group: ["time-blocks"],
50675
+ command: "archive",
50676
+ interactive: "default"
50677
+ },
50678
+ mcp: { entityTool: "time-blocks" },
50679
+ inputSchema: /* @__PURE__ */ looseObject({
50680
+ task_id: /* @__PURE__ */ number$2(),
50681
+ time_block_id: /* @__PURE__ */ number$2()
50682
+ }),
50683
+ execute: (input, { client }) => {
50684
+ const data = input;
50685
+ return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
50686
+ client.httpClient,
50687
+ client.organizationId,
50688
+ client.workspaceIdNumber,
50689
+ data.task_id,
50690
+ data.time_block_id,
50691
+ void 0
50692
+ ]));
50693
+ }
50694
+ },
50695
+ {
50696
+ id: "focus.time-blocks.bulk-create",
50697
+ family: "focus",
50698
+ resource: "time-blocks",
50699
+ action: "bulk-create",
50700
+ title: "Bulk Create Time Blocks",
50701
+ description: "Bulk Create Time Blocks.",
50702
+ safety: "create",
50703
+ destructive: false,
50704
+ cli: {
50705
+ group: ["time-blocks", "bulk"],
50706
+ command: "create",
50707
+ interactive: "default"
50708
+ },
50709
+ mcp: { entityTool: "time-blocks" },
50710
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
50711
+ start: apiDateTimeString,
50712
+ task_id: /* @__PURE__ */ number$2(),
50713
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50714
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50715
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
50716
+ })) }) }),
50717
+ execute: (input, { client }) => {
50718
+ const data = input;
50719
+ return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
50720
+ client.httpClient,
50721
+ client.organizationId,
50722
+ client.workspaceIdNumber,
50723
+ data.payload ?? data.data ?? data,
50724
+ void 0
50725
+ ]));
50726
+ }
50727
+ },
50728
+ {
50729
+ id: "focus.time-blocks.bulk-delete",
50730
+ family: "focus",
50731
+ resource: "time-blocks",
50732
+ action: "bulk-delete",
50733
+ title: "Bulk Delete Time Blocks",
50734
+ description: "Bulk Delete Time Blocks.",
50735
+ safety: "delete",
50736
+ destructive: true,
50737
+ cli: {
50738
+ group: ["time-blocks", "bulk"],
50739
+ command: "delete",
50740
+ interactive: "default"
50741
+ },
50742
+ mcp: { entityTool: "time-blocks" },
50743
+ inputSchema: /* @__PURE__ */ looseObject({
50744
+ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
50745
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
50746
+ }),
50747
+ execute: (input, { client }) => {
50748
+ const data = input;
50749
+ return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
50750
+ client.httpClient,
50751
+ client.organizationId,
50752
+ client.workspaceIdNumber,
50753
+ data.ids,
50754
+ data.outbound_sync,
50755
+ void 0
50756
+ ]));
50757
+ }
50758
+ },
50759
+ {
50760
+ id: "focus.time-blocks.bulk-partial-update",
50761
+ family: "focus",
50762
+ resource: "time-blocks",
50763
+ action: "bulk-partial-update",
50764
+ title: "Bulk Partial Update Time Blocks",
50765
+ description: "Bulk Partial Update Time Blocks.",
50766
+ safety: "update",
50767
+ destructive: false,
50768
+ cli: {
50769
+ group: ["time-blocks", "bulk"],
50770
+ command: "partial-update",
50771
+ interactive: "hidden"
50772
+ },
50773
+ mcp: { entityTool: "time-blocks" },
50774
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
50775
+ execute: (input, { client }) => {
50776
+ const data = input;
50777
+ return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
50778
+ client.httpClient,
50779
+ client.organizationId,
50780
+ client.workspaceIdNumber,
50781
+ data.payload ?? data.data ?? data,
50782
+ void 0
50783
+ ]));
50784
+ }
50785
+ },
50786
+ {
50787
+ id: "focus.time-blocks.create",
50788
+ family: "focus",
50789
+ resource: "time-blocks",
50790
+ action: "create",
50791
+ title: "Create Time Blocks",
50792
+ description: "Create Time Blocks.",
50793
+ safety: "create",
50794
+ destructive: false,
50795
+ cli: {
50796
+ group: ["time-blocks"],
50797
+ command: "create",
50798
+ interactive: "default"
50799
+ },
50800
+ mcp: { entityTool: "time-blocks" },
50801
+ inputSchema: /* @__PURE__ */ looseObject({
50802
+ payload: /* @__PURE__ */ looseObject({
50803
+ start: apiDateTimeString,
50804
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50805
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50806
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
50807
+ }),
50808
+ task_id: /* @__PURE__ */ number$2()
50809
+ }),
50810
+ execute: (input, { client }) => {
50811
+ const data = input;
50812
+ return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
50813
+ client.httpClient,
50814
+ client.organizationId,
50815
+ client.workspaceIdNumber,
50816
+ data.task_id,
50817
+ data.payload ?? data.data ?? data,
50818
+ void 0
50819
+ ]));
50820
+ }
50821
+ },
50822
+ {
50823
+ id: "focus.time-blocks.delete",
50824
+ family: "focus",
50825
+ resource: "time-blocks",
50826
+ action: "delete",
50827
+ title: "Delete Time Blocks",
50828
+ description: "Delete Time Blocks.",
50829
+ safety: "delete",
50830
+ destructive: true,
50831
+ cli: {
50832
+ group: ["time-blocks"],
50833
+ command: "delete",
50834
+ interactive: "default"
50835
+ },
50836
+ mcp: { entityTool: "time-blocks" },
50837
+ inputSchema: /* @__PURE__ */ looseObject({
50838
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50839
+ task_id: /* @__PURE__ */ number$2(),
50840
+ time_block_id: /* @__PURE__ */ number$2()
50841
+ }),
50842
+ execute: (input, { client }) => {
50843
+ const data = input;
50844
+ return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
50845
+ client.httpClient,
50846
+ client.organizationId,
50847
+ client.workspaceIdNumber,
50848
+ data.task_id,
50849
+ data.time_block_id,
50850
+ data.outbound_sync,
50851
+ void 0
50852
+ ]));
50853
+ }
50854
+ },
50855
+ {
50856
+ id: "focus.time-blocks.get",
50857
+ family: "focus",
50858
+ resource: "time-blocks",
50859
+ action: "get",
50860
+ title: "Get Time Blocks",
50861
+ description: "Get Time Blocks.",
50862
+ safety: "read",
50863
+ destructive: false,
50864
+ cli: {
50865
+ group: ["time-blocks"],
50866
+ command: "get",
50867
+ interactive: "available"
50868
+ },
50869
+ mcp: { entityTool: "time-blocks" },
50870
+ inputSchema: /* @__PURE__ */ looseObject({
50871
+ task_id: /* @__PURE__ */ number$2(),
50872
+ time_block_id: /* @__PURE__ */ number$2()
50873
+ }),
50874
+ execute: (input, { client }) => {
50875
+ const data = input;
50876
+ return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
50877
+ client.httpClient,
50878
+ client.organizationId,
50879
+ client.workspaceIdNumber,
50880
+ data.task_id,
50881
+ data.time_block_id,
50882
+ void 0
50883
+ ]));
50884
+ }
50885
+ },
50886
+ {
50887
+ id: "focus.time-blocks.get-range",
50888
+ family: "focus",
50889
+ resource: "time-blocks",
50890
+ action: "get-range",
50891
+ title: "Get Range Time Blocks",
50892
+ description: "Get Range Time Blocks.",
50893
+ safety: "read",
50894
+ destructive: false,
50895
+ cli: {
50896
+ group: ["time-blocks"],
50897
+ command: "get-range",
50898
+ interactive: "hidden"
50899
+ },
50900
+ mcp: { entityTool: "time-blocks" },
50901
+ inputSchema: /* @__PURE__ */ looseObject({
50902
+ archived: /* @__PURE__ */ unknown$1(),
50903
+ date_from: /* @__PURE__ */ unknown$1(),
50904
+ date_to: /* @__PURE__ */ unknown$1(),
50905
+ order_by: /* @__PURE__ */ unknown$1(),
50906
+ page: /* @__PURE__ */ number$2(),
50907
+ per_page: /* @__PURE__ */ unknown$1(),
50908
+ status_id: /* @__PURE__ */ number$2(),
50909
+ task_id: /* @__PURE__ */ number$2()
50910
+ }),
50911
+ execute: (input, { client }) => {
50912
+ const data = input;
50913
+ return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
50914
+ client.httpClient,
50915
+ client.organizationId,
50916
+ client.workspaceIdNumber,
50917
+ data,
50918
+ void 0
50919
+ ]));
50920
+ }
50921
+ },
50922
+ {
50923
+ id: "focus.time-blocks.get-range-stream",
50924
+ family: "focus",
50925
+ resource: "time-blocks",
50926
+ action: "get-range-stream",
50927
+ title: "Get Range Stream Time Blocks",
50928
+ description: "Get Range Stream Time Blocks.",
50929
+ safety: "read",
50930
+ destructive: false,
50931
+ cli: {
50932
+ group: ["time-blocks"],
50933
+ command: "get-range-stream",
50934
+ interactive: "hidden"
50935
+ },
50936
+ mcp: { entityTool: "time-blocks" },
50937
+ inputSchema: /* @__PURE__ */ looseObject({
50938
+ archived: /* @__PURE__ */ unknown$1(),
50939
+ date_from: /* @__PURE__ */ unknown$1(),
50940
+ date_to: /* @__PURE__ */ unknown$1(),
50941
+ order_by: /* @__PURE__ */ unknown$1(),
50942
+ status_id: /* @__PURE__ */ number$2(),
50943
+ task_id: /* @__PURE__ */ number$2()
50944
+ }),
50945
+ execute: (input, { client }) => {
50946
+ const data = input;
50947
+ return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
50948
+ client.httpClient,
50949
+ client.organizationId,
50950
+ client.workspaceIdNumber,
50951
+ data,
50952
+ void 0
50953
+ ]));
50954
+ }
50955
+ },
50956
+ {
50957
+ id: "focus.time-blocks.get-task-time-blocks",
50958
+ family: "focus",
50959
+ resource: "time-blocks",
50960
+ action: "get-task-time-blocks",
50961
+ title: "Get Task Time Blocks Time Blocks",
50962
+ description: "Get Task Time Blocks Time Blocks.",
50963
+ safety: "read",
50964
+ destructive: false,
50965
+ cli: {
50966
+ group: ["time-blocks"],
50967
+ command: "get-task-time-blocks",
50968
+ interactive: "hidden"
50969
+ },
50970
+ mcp: { entityTool: "time-blocks" },
50971
+ inputSchema: /* @__PURE__ */ looseObject({
50972
+ archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50973
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50974
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50975
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50976
+ task_id: /* @__PURE__ */ number$2()
50977
+ }),
50978
+ execute: (input, { client }) => {
50979
+ const data = input;
50980
+ return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
50981
+ client.httpClient,
50982
+ client.organizationId,
50983
+ client.workspaceIdNumber,
50984
+ data.task_id,
50985
+ data,
50986
+ void 0
50987
+ ]));
50988
+ }
50989
+ },
50990
+ {
50991
+ id: "focus.time-blocks.partial-update",
50992
+ family: "focus",
50993
+ resource: "time-blocks",
50994
+ action: "partial-update",
50995
+ title: "Partial Update Time Blocks",
50996
+ description: "Partial Update Time Blocks.",
50997
+ safety: "update",
50998
+ destructive: false,
50999
+ cli: {
51000
+ group: ["time-blocks"],
51001
+ command: "partial-update",
51002
+ interactive: "default"
51003
+ },
51004
+ mcp: { entityTool: "time-blocks" },
51005
+ inputSchema: /* @__PURE__ */ looseObject({
51006
+ payload: /* @__PURE__ */ looseObject({
51007
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51008
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51009
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51010
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
51011
+ task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51012
+ }),
51013
+ task_id: /* @__PURE__ */ number$2(),
51014
+ time_block_id: /* @__PURE__ */ number$2()
51015
+ }),
51016
+ execute: (input, { client }) => {
51017
+ const data = input;
51018
+ return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
51019
+ client.httpClient,
51020
+ client.organizationId,
51021
+ client.workspaceIdNumber,
51022
+ data.task_id,
51023
+ data.time_block_id,
51024
+ data.payload ?? data.data ?? data,
51025
+ void 0
51026
+ ]));
51027
+ }
51028
+ },
51029
+ {
51030
+ id: "focus.time-blocks.restore",
51031
+ family: "focus",
51032
+ resource: "time-blocks",
51033
+ action: "restore",
51034
+ title: "Restore Time Blocks",
51035
+ description: "Restore Time Blocks.",
51036
+ safety: "update",
51037
+ destructive: false,
51038
+ cli: {
51039
+ group: ["time-blocks"],
51040
+ command: "restore",
51041
+ interactive: "default"
51042
+ },
51043
+ mcp: { entityTool: "time-blocks" },
51044
+ inputSchema: /* @__PURE__ */ looseObject({
51045
+ task_id: /* @__PURE__ */ number$2(),
51046
+ time_block_id: /* @__PURE__ */ number$2()
51047
+ }),
51048
+ execute: (input, { client }) => {
51049
+ const data = input;
51050
+ return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
51051
+ client.httpClient,
51052
+ client.organizationId,
51053
+ client.workspaceIdNumber,
51054
+ data.task_id,
51055
+ data.time_block_id,
51056
+ void 0
51057
+ ]));
51058
+ }
51059
+ },
51060
+ {
51061
+ id: "focus.time-blocks.unarchive",
51062
+ family: "focus",
51063
+ resource: "time-blocks",
51064
+ action: "unarchive",
51065
+ title: "Unarchive Time Blocks",
51066
+ description: "Unarchive Time Blocks.",
51067
+ safety: "update",
51068
+ destructive: false,
51069
+ cli: {
51070
+ group: ["time-blocks"],
51071
+ command: "unarchive",
51072
+ interactive: "default"
51073
+ },
51074
+ mcp: { entityTool: "time-blocks" },
51075
+ inputSchema: /* @__PURE__ */ looseObject({
51076
+ task_id: /* @__PURE__ */ number$2(),
51077
+ time_block_id: /* @__PURE__ */ number$2()
51078
+ }),
51079
+ execute: (input, { client }) => {
51080
+ const data = input;
51081
+ return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
51189
51082
  client.httpClient,
51190
51083
  client.organizationId,
51191
51084
  client.workspaceIdNumber,
51192
51085
  data.task_id,
51193
- data.payload ?? data.data ?? data,
51086
+ data.time_block_id,
51194
51087
  void 0
51195
51088
  ]));
51196
51089
  }
51197
51090
  },
51198
51091
  {
51199
- id: "focus.tasks.update-calendar-range",
51092
+ id: "focus.time-blocks.update",
51200
51093
  family: "focus",
51201
- resource: "tasks",
51202
- action: "update-calendar-range",
51203
- title: "Update Calendar Range Tasks",
51204
- description: "Update Calendar Range Tasks.",
51094
+ resource: "time-blocks",
51095
+ action: "update",
51096
+ title: "Update Time Blocks",
51097
+ description: "Update Time Blocks.",
51205
51098
  safety: "update",
51206
51099
  destructive: false,
51207
51100
  cli: {
51208
- group: ["tasks"],
51209
- command: "update-calendar-range",
51101
+ group: ["time-blocks"],
51102
+ command: "update",
51210
51103
  interactive: "default"
51211
51104
  },
51212
- mcp: { entityTool: "tasks" },
51105
+ mcp: { entityTool: "time-blocks" },
51213
51106
  inputSchema: /* @__PURE__ */ looseObject({
51214
- date_from: /* @__PURE__ */ string$1(),
51215
- date_to: /* @__PURE__ */ string$1(),
51216
- skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51107
+ payload: /* @__PURE__ */ looseObject({
51108
+ start: apiDateTimeString,
51109
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51110
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51111
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51112
+ }),
51113
+ task_id: /* @__PURE__ */ number$2(),
51114
+ time_block_id: /* @__PURE__ */ number$2()
51217
51115
  }),
51218
51116
  execute: (input, { client }) => {
51219
51117
  const data = input;
51220
- return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
51118
+ return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
51221
51119
  client.httpClient,
51222
51120
  client.organizationId,
51223
51121
  client.workspaceIdNumber,
51224
- data.date_from,
51225
- data.date_to,
51226
- data.skip_provider_refresh,
51122
+ data.task_id,
51123
+ data.time_block_id,
51124
+ data.payload ?? data.data ?? data,
51227
51125
  void 0
51228
51126
  ]));
51229
51127
  }
@@ -51443,8 +51341,7 @@ const generatedFocusOperations = [
51443
51341
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
51444
51342
  "project",
51445
51343
  "task",
51446
- "description",
51447
- "tags"
51344
+ "description"
51448
51345
  ]) })),
51449
51346
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51450
51347
  }) }),
@@ -51474,7 +51371,6 @@ const generatedFocusOperations = [
51474
51371
  },
51475
51372
  mcp: { entityTool: "time-entries" },
51476
51373
  inputSchema: /* @__PURE__ */ looseObject({
51477
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51478
51374
  payload: /* @__PURE__ */ looseObject({
51479
51375
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51480
51376
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -51485,12 +51381,11 @@ const generatedFocusOperations = [
51485
51381
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51486
51382
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51487
51383
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51488
- repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51489
51384
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
51385
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51490
51386
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51491
51387
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51492
51388
  }),
51493
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51494
51389
  task_id: /* @__PURE__ */ number$2()
51495
51390
  }),
51496
51391
  execute: (input, { client }) => {
@@ -51501,8 +51396,6 @@ const generatedFocusOperations = [
51501
51396
  client.workspaceIdNumber,
51502
51397
  data.task_id,
51503
51398
  data.payload ?? data.data ?? data,
51504
- data.from_recurring_task_id,
51505
- data.return_occurrence,
51506
51399
  void 0
51507
51400
  ]));
51508
51401
  }
@@ -51522,25 +51415,21 @@ const generatedFocusOperations = [
51522
51415
  interactive: "default"
51523
51416
  },
51524
51417
  mcp: { entityTool: "time-entries" },
51525
- inputSchema: /* @__PURE__ */ looseObject({
51526
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51527
- payload: /* @__PURE__ */ looseObject({
51528
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51529
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51530
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51531
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51532
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51533
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51534
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51535
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51536
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51537
- repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51538
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
51539
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51540
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51541
- }),
51542
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51543
- }),
51418
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
51419
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51420
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51421
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51422
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51423
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51424
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51425
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51426
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51427
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51428
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
51429
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51430
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51431
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51432
+ }) }),
51544
51433
  execute: (input, { client }) => {
51545
51434
  const data = input;
51546
51435
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -51548,8 +51437,6 @@ const generatedFocusOperations = [
51548
51437
  client.organizationId,
51549
51438
  client.workspaceIdNumber,
51550
51439
  data.payload ?? data.data ?? data,
51551
- data.from_recurring_task_id,
51552
- data.return_occurrence,
51553
51440
  void 0
51554
51441
  ]));
51555
51442
  }
@@ -51569,11 +51456,7 @@ const generatedFocusOperations = [
51569
51456
  interactive: "default"
51570
51457
  },
51571
51458
  mcp: { entityTool: "time-entries" },
51572
- inputSchema: /* @__PURE__ */ looseObject({
51573
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51574
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51575
- time_entry_id: /* @__PURE__ */ number$2()
51576
- }),
51459
+ inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
51577
51460
  execute: (input, { client }) => {
51578
51461
  const data = input;
51579
51462
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -51581,8 +51464,6 @@ const generatedFocusOperations = [
51581
51464
  client.organizationId,
51582
51465
  client.workspaceIdNumber,
51583
51466
  data.time_entry_id,
51584
- data.from_recurring_task_id,
51585
- data.return_occurrence,
51586
51467
  void 0
51587
51468
  ]));
51588
51469
  }
@@ -51663,7 +51544,6 @@ const generatedFocusOperations = [
51663
51544
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
51664
51545
  include_taskless: /* @__PURE__ */ unknown$1(),
51665
51546
  order_by: /* @__PURE__ */ unknown$1(),
51666
- project_id: /* @__PURE__ */ number$2(),
51667
51547
  status_id: /* @__PURE__ */ number$2(),
51668
51548
  task_id: /* @__PURE__ */ number$2(),
51669
51549
  type: /* @__PURE__ */ unknown$1()
@@ -51679,6 +51559,33 @@ const generatedFocusOperations = [
51679
51559
  ]));
51680
51560
  }
51681
51561
  },
51562
+ {
51563
+ id: "focus.time-entries.get-stream-time-entries-time-block-ids",
51564
+ family: "focus",
51565
+ resource: "time-entries",
51566
+ action: "get-stream-time-entries-time-block-ids",
51567
+ title: "Get Stream Time Entries Time Block Ids Time Entries",
51568
+ description: "Get Stream Time Entries Time Block Ids Time Entries.",
51569
+ safety: "read",
51570
+ destructive: false,
51571
+ cli: {
51572
+ group: ["time-entries"],
51573
+ command: "get-stream-time-entries-time-block-ids",
51574
+ interactive: "available"
51575
+ },
51576
+ mcp: { entityTool: "time-entries" },
51577
+ inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
51578
+ execute: (input, { client }) => {
51579
+ const data = input;
51580
+ return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
51581
+ client.httpClient,
51582
+ client.organizationId,
51583
+ client.workspaceIdNumber,
51584
+ data,
51585
+ void 0
51586
+ ]));
51587
+ }
51588
+ },
51682
51589
  {
51683
51590
  id: "focus.time-entries.get-task-time-entries",
51684
51591
  family: "focus",
@@ -51700,6 +51607,7 @@ const generatedFocusOperations = [
51700
51607
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51701
51608
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51702
51609
  task_id: /* @__PURE__ */ number$2(),
51610
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51703
51611
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
51704
51612
  }),
51705
51613
  execute: (input, { client }) => {
@@ -51812,14 +51720,12 @@ const generatedFocusOperations = [
51812
51720
  },
51813
51721
  mcp: { entityTool: "time-entries" },
51814
51722
  inputSchema: /* @__PURE__ */ looseObject({
51815
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51816
51723
  payload: /* @__PURE__ */ looseObject({
51817
51724
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51818
51725
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51819
51726
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51820
51727
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
51821
51728
  }),
51822
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51823
51729
  time_entry_id: /* @__PURE__ */ number$2()
51824
51730
  }),
51825
51731
  execute: (input, { client }) => {
@@ -51830,8 +51736,6 @@ const generatedFocusOperations = [
51830
51736
  client.workspaceIdNumber,
51831
51737
  data.time_entry_id,
51832
51738
  data.payload ?? data.data ?? data,
51833
- data.from_recurring_task_id,
51834
- data.return_occurrence,
51835
51739
  void 0
51836
51740
  ]));
51837
51741
  }
@@ -52089,7 +51993,6 @@ const generatedFocusOperations = [
52089
51993
  },
52090
51994
  mcp: { entityTool: "time-entries" },
52091
51995
  inputSchema: /* @__PURE__ */ looseObject({
52092
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52093
51996
  payload: /* @__PURE__ */ looseObject({
52094
51997
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
52095
51998
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -52099,9 +52002,9 @@ const generatedFocusOperations = [
52099
52002
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52100
52003
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52101
52004
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
52005
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52102
52006
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
52103
52007
  }),
52104
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52105
52008
  time_entry_id: /* @__PURE__ */ number$2()
52106
52009
  }),
52107
52010
  execute: (input, { client }) => {
@@ -52112,8 +52015,6 @@ const generatedFocusOperations = [
52112
52015
  client.workspaceIdNumber,
52113
52016
  data.time_entry_id,
52114
52017
  data.payload ?? data.data ?? data,
52115
- data.from_recurring_task_id,
52116
- data.return_occurrence,
52117
52018
  void 0
52118
52019
  ]));
52119
52020
  }
@@ -52178,118 +52079,6 @@ const generatedFocusOperations = [
52178
52079
  ]));
52179
52080
  }
52180
52081
  },
52181
- {
52182
- id: "focus.time-off.get-timeoff-balance-changes-for-user",
52183
- family: "focus",
52184
- resource: "time-off",
52185
- action: "get-timeoff-balance-changes-for-user",
52186
- title: "Get Timeoff Balance Changes For User Time Off",
52187
- description: "Get Timeoff Balance Changes For User Time Off.",
52188
- safety: "read",
52189
- destructive: false,
52190
- cli: {
52191
- group: ["time-off"],
52192
- command: "get-timeoff-balance-changes-for-user",
52193
- interactive: "hidden"
52194
- },
52195
- mcp: { entityTool: "time-off" },
52196
- inputSchema: /* @__PURE__ */ looseObject({
52197
- category_id: /* @__PURE__ */ number$2(),
52198
- page: /* @__PURE__ */ number$2(),
52199
- rows: /* @__PURE__ */ unknown$1(),
52200
- user_id: /* @__PURE__ */ number$2(),
52201
- year: /* @__PURE__ */ unknown$1()
52202
- }),
52203
- execute: (input, { client }) => {
52204
- const data = input;
52205
- return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
52206
- client.httpClient,
52207
- client.organizationId,
52208
- data.user_id,
52209
- data,
52210
- void 0
52211
- ]));
52212
- }
52213
- },
52214
- {
52215
- id: "focus.time-off.get-timeoff-balances-for-user",
52216
- family: "focus",
52217
- resource: "time-off",
52218
- action: "get-timeoff-balances-for-user",
52219
- title: "Get Timeoff Balances For User Time Off",
52220
- description: "Get Timeoff Balances For User Time Off.",
52221
- safety: "read",
52222
- destructive: false,
52223
- cli: {
52224
- group: ["time-off"],
52225
- command: "get-timeoff-balances-for-user",
52226
- interactive: "available"
52227
- },
52228
- mcp: { entityTool: "time-off" },
52229
- inputSchema: /* @__PURE__ */ looseObject({
52230
- category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52231
- date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
52232
- user_id: /* @__PURE__ */ number$2()
52233
- }),
52234
- execute: (input, { client }) => {
52235
- const data = input;
52236
- return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
52237
- client.httpClient,
52238
- client.organizationId,
52239
- data.user_id,
52240
- data,
52241
- void 0
52242
- ]));
52243
- }
52244
- },
52245
- {
52246
- id: "focus.time-off.get-timeoff-categories",
52247
- family: "focus",
52248
- resource: "time-off",
52249
- action: "get-timeoff-categories",
52250
- title: "Get Timeoff Categories Time Off",
52251
- description: "Get Timeoff Categories Time Off.",
52252
- safety: "read",
52253
- destructive: false,
52254
- cli: {
52255
- group: ["time-off"],
52256
- command: "get-timeoff-categories",
52257
- interactive: "hidden"
52258
- },
52259
- mcp: { entityTool: "time-off" },
52260
- inputSchema: /* @__PURE__ */ looseObject({}),
52261
- execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
52262
- client.httpClient,
52263
- client.organizationId,
52264
- void 0
52265
- ]))
52266
- },
52267
- {
52268
- id: "focus.time-off.get-timeoff-category",
52269
- family: "focus",
52270
- resource: "time-off",
52271
- action: "get-timeoff-category",
52272
- title: "Get Timeoff Category Time Off",
52273
- description: "Get Timeoff Category Time Off.",
52274
- safety: "read",
52275
- destructive: false,
52276
- cli: {
52277
- group: ["time-off"],
52278
- command: "get-timeoff-category",
52279
- interactive: "available"
52280
- },
52281
- mcp: { entityTool: "time-off" },
52282
- inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
52283
- execute: (input, { client }) => {
52284
- const data = input;
52285
- return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
52286
- client.httpClient,
52287
- client.organizationId,
52288
- data.category_id,
52289
- void 0
52290
- ]));
52291
- }
52292
- },
52293
52082
  {
52294
52083
  id: "focus.time-off.get-timeoff-for-user",
52295
52084
  family: "focus",
@@ -52741,40 +52530,6 @@ const generatedFocusOperations = [
52741
52530
  ]));
52742
52531
  }
52743
52532
  },
52744
- {
52745
- id: "focus.timesheets.get-status-counts",
52746
- family: "focus",
52747
- resource: "timesheets",
52748
- action: "get-status-counts",
52749
- title: "Get Status Counts Timesheets",
52750
- description: "Get Status Counts Timesheets.",
52751
- safety: "read",
52752
- destructive: false,
52753
- cli: {
52754
- group: ["timesheets"],
52755
- command: "get-status-counts",
52756
- interactive: "hidden"
52757
- },
52758
- mcp: { entityTool: "timesheets" },
52759
- inputSchema: /* @__PURE__ */ looseObject({
52760
- approver_user_account_ids: /* @__PURE__ */ unknown$1(),
52761
- date_from: /* @__PURE__ */ unknown$1(),
52762
- date_to: /* @__PURE__ */ unknown$1(),
52763
- setup_id: /* @__PURE__ */ number$2(),
52764
- team_ids: /* @__PURE__ */ unknown$1(),
52765
- user_account_ids: /* @__PURE__ */ unknown$1()
52766
- }),
52767
- execute: (input, { client }) => {
52768
- const data = input;
52769
- return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
52770
- client.httpClient,
52771
- client.organizationId,
52772
- client.workspaceIdNumber,
52773
- data,
52774
- void 0
52775
- ]));
52776
- }
52777
- },
52778
52533
  {
52779
52534
  id: "focus.timesheets.remove-timesheet-flag",
52780
52535
  family: "focus",
@@ -53324,33 +53079,6 @@ const generatedFocusOperations = [
53324
53079
  ]));
53325
53080
  }
53326
53081
  },
53327
- {
53328
- id: "focus.track-team-invites.post",
53329
- family: "focus",
53330
- resource: "track-team-invites",
53331
- action: "post",
53332
- title: "Post Track Team Invites",
53333
- description: "Post Track Team Invites.",
53334
- safety: "create",
53335
- destructive: false,
53336
- cli: {
53337
- group: ["track-team-invites"],
53338
- command: "post",
53339
- interactive: "default"
53340
- },
53341
- mcp: { entityTool: "track-team-invites" },
53342
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
53343
- execute: (input, { client }) => {
53344
- const data = input;
53345
- return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
53346
- client.httpClient,
53347
- client.organizationId,
53348
- client.workspaceIdNumber,
53349
- data.payload ?? data.data ?? data,
53350
- void 0
53351
- ]));
53352
- }
53353
- },
53354
53082
  {
53355
53083
  id: "focus.users.list",
53356
53084
  family: "focus",
@@ -53372,56 +53100,6 @@ const generatedFocusOperations = [
53372
53100
  return client.listOrgUsers(data);
53373
53101
  }
53374
53102
  },
53375
- {
53376
- id: "focus.users.settings-email-unsubscribe",
53377
- family: "focus",
53378
- resource: "users",
53379
- action: "settings-email-unsubscribe",
53380
- title: "Settings Email Unsubscribe Users",
53381
- description: "Settings Email Unsubscribe Users.",
53382
- safety: "update",
53383
- destructive: false,
53384
- cli: {
53385
- group: ["users", "settings"],
53386
- command: "email-unsubscribe",
53387
- interactive: "default"
53388
- },
53389
- mcp: { entityTool: "users" },
53390
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53391
- execute: (input, { client }) => {
53392
- const data = input;
53393
- return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
53394
- client.httpClient,
53395
- data.token,
53396
- void 0
53397
- ]));
53398
- }
53399
- },
53400
- {
53401
- id: "focus.users.settings-email-unsubscribe-page",
53402
- family: "focus",
53403
- resource: "users",
53404
- action: "settings-email-unsubscribe-page",
53405
- title: "Settings Email Unsubscribe Page Users",
53406
- description: "Settings Email Unsubscribe Page Users.",
53407
- safety: "read",
53408
- destructive: false,
53409
- cli: {
53410
- group: ["users", "settings"],
53411
- command: "email-unsubscribe-page",
53412
- interactive: "available"
53413
- },
53414
- mcp: { entityTool: "users" },
53415
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53416
- execute: (input, { client }) => {
53417
- const data = input;
53418
- return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
53419
- client.httpClient,
53420
- data.token,
53421
- void 0
53422
- ]));
53423
- }
53424
- },
53425
53103
  {
53426
53104
  id: "focus.users.settings-list",
53427
53105
  family: "focus",
@@ -53483,9 +53161,6 @@ const generatedFocusOperations = [
53483
53161
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53484
53162
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53485
53163
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53486
- notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53487
- notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53488
- notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53489
53164
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53490
53165
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53491
53166
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -55028,7 +54703,7 @@ function registerWorkspaceTools(server) {
55028
54703
  //#region src/package-version.ts
55029
54704
  function mcpPackageVersion() {
55030
54705
  try {
55031
- return "1.11.70";
54706
+ return "1.11.71";
55032
54707
  } catch {
55033
54708
  return "unknown";
55034
54709
  }
@@ -55203,7 +54878,7 @@ import_main.default.config({
55203
54878
  quiet: true,
55204
54879
  ignore: ["MISSING_ENV_FILE"]
55205
54880
  });
55206
- const packageVersion = "1.11.70";
54881
+ const packageVersion = "1.11.71";
55207
54882
  function resolvePublicUrls() {
55208
54883
  return {
55209
54884
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -55268,4 +54943,4 @@ function bootstrapServer(options = {}) {
55268
54943
  //#endregion
55269
54944
  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 };
55270
54945
 
55271
- //# sourceMappingURL=src-BAnNc8Xd.js.map
54946
+ //# sourceMappingURL=src-BKR8mPv9.js.map