@togglhq/mcp 1.11.86 → 1.11.88

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34683,7 +34683,6 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
34683
34683
  name: /* @__PURE__ */ string(),
34684
34684
  permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
34685
34685
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34686
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34687
34686
  client: /* @__PURE__ */ optional(ClientLiteSchema),
34688
34687
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34689
34688
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -34770,7 +34769,6 @@ const TaskSchema = /* @__PURE__ */ object({
34770
34769
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34771
34770
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34772
34771
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34773
- is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
34774
34772
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34775
34773
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34776
34774
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -34832,7 +34830,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34832
34830
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34833
34831
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34834
34832
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34835
- is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
34836
34833
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34837
34834
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34838
34835
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -34993,8 +34990,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
34993
34990
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34994
34991
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34995
34992
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34996
- 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."))),
34997
- 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."))),
34998
34993
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34999
34994
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35000
34995
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -35080,10 +35075,8 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
35080
35075
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35081
35076
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35082
35077
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35083
- filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35084
35078
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
35085
35079
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35086
- picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35087
35080
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
35088
35081
  recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35089
35082
  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)."))),
@@ -35139,8 +35132,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
35139
35132
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35140
35133
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35141
35134
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35142
- 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."))),
35143
- 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."))),
35144
35135
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35145
35136
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35146
35137
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -35313,6 +35304,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35313
35304
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35314
35305
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35315
35306
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
35307
+ integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35308
+ integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35316
35309
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35317
35310
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35318
35311
  pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35369,7 +35362,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35369
35362
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35370
35363
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35371
35364
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35372
- 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."))),
35373
35365
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35374
35366
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35375
35367
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -35406,7 +35398,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35406
35398
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35407
35399
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35408
35400
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35409
- 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."))),
35410
35401
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35411
35402
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35412
35403
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -35427,6 +35418,7 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
35427
35418
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35428
35419
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35429
35420
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35421
+ time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35430
35422
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35431
35423
  user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
35432
35424
  });
@@ -35455,7 +35447,8 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
35455
35447
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35456
35448
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35457
35449
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35458
- task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
35450
+ task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35451
+ time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
35459
35452
  });
35460
35453
  const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
35461
35454
  //#endregion
@@ -37329,7 +37322,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
37329
37322
  })
37330
37323
  }).json();
37331
37324
  }
37332
- 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) {
37325
+ 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) {
37333
37326
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
37334
37327
  signal,
37335
37328
  searchParams: buildSearchParams$2({
@@ -37350,7 +37343,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
37350
37343
  include_rates,
37351
37344
  pinned_ids,
37352
37345
  has_group,
37353
- track_without_focus,
37354
37346
  cf_filter,
37355
37347
  include_custom_fields,
37356
37348
  include_calendar_integration
@@ -37452,20 +37444,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
37452
37444
  }
37453
37445
  //#endregion
37454
37446
  //#region ../focus-queries/dist/projects/requests.ts
37455
- 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) {
37447
+ 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) {
37456
37448
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37457
37449
  signal,
37458
37450
  searchParams: buildSearchParams$2({
37459
- include_task_counts,
37460
- include_picker_parent_group_counts,
37461
- task_archived,
37462
- task_recurring,
37463
- task_state,
37464
- task_source,
37465
- task_assignee_user_id,
37466
- task_assignee_team_id,
37467
- task_include_unassigned,
37468
- task_name,
37469
37451
  page,
37470
37452
  per_page,
37471
37453
  order_by,
@@ -37715,7 +37697,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
37715
37697
  }
37716
37698
  //#endregion
37717
37699
  //#region ../focus-queries/dist/tasks/requests.ts
37718
- 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) {
37700
+ 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) {
37719
37701
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
37720
37702
  signal,
37721
37703
  searchParams: buildSearchParams$2({
@@ -37728,6 +37710,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37728
37710
  toggl_user_id,
37729
37711
  name,
37730
37712
  has_time_entries,
37713
+ has_time_blocks,
37731
37714
  has_dates,
37732
37715
  private: private_,
37733
37716
  archived,
@@ -37750,6 +37733,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37750
37733
  priority,
37751
37734
  is_priority,
37752
37735
  state,
37736
+ timeblock_start_from,
37737
+ timeblock_start_until,
37738
+ time_block_id,
37739
+ time_block_completed,
37753
37740
  team_id,
37754
37741
  assignee_team_id,
37755
37742
  assignee_user_id,
@@ -37761,11 +37748,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37761
37748
  include_assignees,
37762
37749
  include_parent_matches,
37763
37750
  disable_aggregations,
37764
- cf_filter,
37765
- recurring_occurrences_after,
37766
- max_recurring_occurrences_after,
37767
- recurring_task_read,
37768
- include_projected_occurrences
37751
+ cf_filter
37769
37752
  })
37770
37753
  }).json();
37771
37754
  }
@@ -37840,46 +37823,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
37840
37823
  })
37841
37824
  }).json();
37842
37825
  }
37843
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
37826
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
37844
37827
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
37845
37828
  signal,
37846
37829
  searchParams: buildSearchParams$2({
37847
37830
  date_from,
37848
- date_to,
37849
- skip_provider_refresh
37850
- })
37851
- }).json();
37852
- }
37853
- async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
37854
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
37855
- signal,
37856
- searchParams: buildSearchParams$2({
37857
- project_id,
37858
- without_project,
37859
- pinned_only,
37860
- include_unassigned,
37861
- search,
37862
- only_me,
37863
- page,
37864
- per_page
37865
- })
37866
- }).json();
37867
- }
37868
- async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
37869
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
37870
- signal,
37871
- searchParams: buildSearchParams$2({
37872
- project_id,
37873
- without_project,
37874
- include_unassigned,
37875
- search,
37876
- only_me,
37877
- page,
37878
- per_page
37831
+ date_to
37879
37832
  })
37880
37833
  }).json();
37881
37834
  }
37882
- 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) {
37835
+ 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) {
37883
37836
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
37884
37837
  signal,
37885
37838
  searchParams: buildSearchParams$2({
@@ -37895,15 +37848,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
37895
37848
  assignee_team_id,
37896
37849
  assignee_user_id,
37897
37850
  tag_id,
37898
- include_assignees,
37899
- recurring_occurrences_after,
37900
- max_recurring_occurrences_after,
37901
- recurring_task_read,
37902
- include_projected_occurrences
37851
+ include_assignees
37903
37852
  })
37904
37853
  }).json();
37905
37854
  }
37906
- 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) {
37855
+ 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) {
37907
37856
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
37908
37857
  signal,
37909
37858
  searchParams: buildSearchParams$2({
@@ -37915,6 +37864,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37915
37864
  name,
37916
37865
  include_parent_matches,
37917
37866
  has_time_entries,
37867
+ has_time_blocks,
37918
37868
  has_dates,
37919
37869
  private: private_,
37920
37870
  archived,
@@ -37937,6 +37887,8 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37937
37887
  priority,
37938
37888
  is_priority,
37939
37889
  state,
37890
+ time_block_id,
37891
+ time_block_completed,
37940
37892
  team_id,
37941
37893
  assignee_team_id,
37942
37894
  assignee_user_id,
@@ -37945,11 +37897,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37945
37897
  recurring_task_ids,
37946
37898
  client_id,
37947
37899
  include_assignees,
37948
- cf_filter,
37949
- recurring_occurrences_after,
37950
- max_recurring_occurrences_after,
37951
- recurring_task_read,
37952
- include_projected_occurrences
37900
+ cf_filter
37953
37901
  })
37954
37902
  }).json();
37955
37903
  }
@@ -38004,12 +37952,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
38004
37952
  })
38005
37953
  }).json();
38006
37954
  }
38007
- async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
38008
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
38009
- signal,
38010
- searchParams: buildSearchParams$2({ return_occurrence })
38011
- }).json();
38012
- }
38013
37955
  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) {
38014
37956
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
38015
37957
  signal,
@@ -38035,7 +37977,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
38035
37977
  }
38036
37978
  //#endregion
38037
37979
  //#region ../focus-queries/dist/time-entries/requests.ts
38038
- async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
37980
+ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived, time_block_id } = {}, signal) {
38039
37981
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
38040
37982
  signal,
38041
37983
  searchParams: buildSearchParams$2({
@@ -38043,28 +37985,21 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
38043
37985
  per_page,
38044
37986
  order_by,
38045
37987
  type,
38046
- archived
37988
+ archived,
37989
+ time_block_id
38047
37990
  })
38048
37991
  }).json();
38049
37992
  }
38050
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
37993
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
38051
37994
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
38052
37995
  signal,
38053
- json: data,
38054
- searchParams: buildSearchParams$2({
38055
- from_recurring_task_id,
38056
- return_occurrence
38057
- })
37996
+ json: data
38058
37997
  }).json();
38059
37998
  }
38060
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
37999
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
38061
38000
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
38062
38001
  signal,
38063
- json: data,
38064
- searchParams: buildSearchParams$2({
38065
- from_recurring_task_id,
38066
- return_occurrence
38067
- })
38002
+ json: data
38068
38003
  }).json();
38069
38004
  }
38070
38005
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -38115,7 +38050,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
38115
38050
  json: data
38116
38051
  }).json();
38117
38052
  }
38118
- 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) {
38053
+ 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) {
38119
38054
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
38120
38055
  signal,
38121
38056
  searchParams: buildSearchParams$2({
@@ -38123,7 +38058,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
38123
38058
  date_to,
38124
38059
  task_id,
38125
38060
  status_id,
38126
- project_id,
38127
38061
  type,
38128
38062
  order_by,
38129
38063
  archived,
@@ -38138,36 +38072,28 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
38138
38072
  json: data
38139
38073
  }).json();
38140
38074
  }
38075
+ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
38076
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
38077
+ signal,
38078
+ searchParams: buildSearchParams$2({ time_block_id })
38079
+ }).json();
38080
+ }
38141
38081
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
38142
38082
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
38143
38083
  }
38144
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
38084
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
38145
38085
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38146
38086
  signal,
38147
- json: data,
38148
- searchParams: buildSearchParams$2({
38149
- from_recurring_task_id,
38150
- return_occurrence
38151
- })
38087
+ json: data
38152
38088
  }).json();
38153
38089
  }
38154
- async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
38155
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38156
- signal,
38157
- searchParams: buildSearchParams$2({
38158
- from_recurring_task_id,
38159
- return_occurrence
38160
- })
38161
- }).json();
38090
+ async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
38091
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
38162
38092
  }
38163
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
38093
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
38164
38094
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38165
38095
  signal,
38166
- json: data,
38167
- searchParams: buildSearchParams$2({
38168
- from_recurring_task_id,
38169
- return_occurrence
38170
- })
38096
+ json: data
38171
38097
  }).json();
38172
38098
  }
38173
38099
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -38282,7 +38208,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38282
38208
  ]))
38283
38209
  });
38284
38210
  //#endregion
38285
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38211
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38286
38212
  async function getInvitations(httpClient, signal) {
38287
38213
  return (await httpClient.get(`invitations`, { signal })).json();
38288
38214
  }
@@ -38299,7 +38225,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38299
38225
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38300
38226
  }
38301
38227
  //#endregion
38302
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38228
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38303
38229
  function buildSearchParams(params, flattenArrays = false) {
38304
38230
  const searchParams = new URLSearchParams();
38305
38231
  Object.entries(params).forEach(([key, value]) => {
@@ -38311,7 +38237,7 @@ function buildSearchParams(params, flattenArrays = false) {
38311
38237
  return searchParams;
38312
38238
  }
38313
38239
  //#endregion
38314
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38240
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38315
38241
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38316
38242
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38317
38243
  }
@@ -38325,7 +38251,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38325
38251
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38326
38252
  }
38327
38253
  //#endregion
38328
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38254
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38329
38255
  async function getWorkspaces(httpClient, organization_id, signal) {
38330
38256
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38331
38257
  }
@@ -38345,7 +38271,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38345
38271
  });
38346
38272
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38347
38273
  //#endregion
38348
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38274
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38349
38275
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38350
38276
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38351
38277
  signal,
@@ -38356,12 +38282,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38356
38282
  })).json();
38357
38283
  }
38358
38284
  //#endregion
38359
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38285
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38360
38286
  async function getStatus(httpClient, signal) {
38361
38287
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38362
38288
  }
38363
38289
  //#endregion
38364
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38290
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38365
38291
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38366
38292
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38367
38293
  signal,
@@ -38389,7 +38315,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38389
38315
  return response.json();
38390
38316
  }
38391
38317
  //#endregion
38392
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38318
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38393
38319
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38394
38320
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38395
38321
  }
@@ -41993,15 +41919,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
41993
41919
  }
41994
41920
  //#endregion
41995
41921
  //#region ../focus-queries/dist/audit-log/requests.ts
41996
- 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) {
41922
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
41997
41923
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
41998
41924
  signal,
41999
41925
  searchParams: buildSearchParams$2({
42000
41926
  workspace_id,
42001
41927
  entity_type,
42002
41928
  entity_id,
42003
- project_id,
42004
- custom_field_id,
42005
41929
  action,
42006
41930
  user_id,
42007
41931
  page_size,
@@ -42010,14 +41934,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
42010
41934
  })
42011
41935
  }).json();
42012
41936
  }
42013
- 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) {
41937
+ async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
42014
41938
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
42015
41939
  signal,
42016
41940
  searchParams: buildSearchParams$2({
42017
41941
  entity_type,
42018
41942
  entity_id,
42019
- project_id,
42020
- custom_field_id,
42021
41943
  action,
42022
41944
  user_id,
42023
41945
  page_size,
@@ -42170,14 +42092,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
42170
42092
  }
42171
42093
  //#endregion
42172
42094
  //#region ../focus-queries/dist/capacities/requests.ts
42173
- 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) {
42095
+ 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) {
42174
42096
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
42175
42097
  signal,
42176
42098
  searchParams: buildSearchParams$2({
42099
+ user_id,
42177
42100
  start_date,
42178
42101
  end_date,
42179
- user_id,
42180
- team_id,
42181
42102
  private: private_,
42182
42103
  task_source,
42183
42104
  unit,
@@ -42237,15 +42158,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
42237
42158
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42238
42159
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
42239
42160
  }
42240
- async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42241
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
42242
- }
42243
- async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
42244
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
42245
- signal,
42246
- json: data
42247
- }).json();
42248
- }
42249
42161
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
42250
42162
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
42251
42163
  signal,
@@ -42509,7 +42421,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
42509
42421
  }
42510
42422
  //#endregion
42511
42423
  //#region ../focus-queries/dist/project-groups/requests.ts
42512
- 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) {
42424
+ 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) {
42513
42425
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
42514
42426
  signal,
42515
42427
  searchParams: buildSearchParams$2({
@@ -42535,7 +42447,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42535
42447
  user_id,
42536
42448
  only_me,
42537
42449
  include_drafts,
42538
- include_recurring_series,
42539
42450
  cf_filter
42540
42451
  })
42541
42452
  }).json();
@@ -42554,6 +42465,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
42554
42465
  json: data
42555
42466
  }).json();
42556
42467
  }
42468
+ async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
42469
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
42470
+ }
42557
42471
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
42558
42472
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
42559
42473
  }
@@ -42579,37 +42493,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
42579
42493
  }).json();
42580
42494
  }
42581
42495
  //#endregion
42582
- //#region ../focus-queries/dist/publicsharedreports/requests.ts
42583
- async function openPublicSharedReport(httpClient, token, signal) {
42584
- return await httpClient.get(`shared/${token}`, { signal }).json();
42585
- }
42586
- async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
42587
- return await httpClient.post(`shared/${token}/profitability`, {
42588
- signal,
42589
- json: data,
42590
- searchParams: buildSearchParams$2({
42591
- response_format,
42592
- include_dicts
42593
- })
42594
- }).json();
42595
- }
42596
- async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
42597
- return await httpClient.post(`shared/${token}/query`, {
42598
- signal,
42599
- json: data,
42600
- searchParams: buildSearchParams$2({
42601
- response_format,
42602
- include_dicts
42603
- })
42604
- }).json();
42605
- }
42606
- async function workloadPublicSharedReport(httpClient, token, data, signal) {
42607
- return await httpClient.post(`shared/${token}/workload`, {
42608
- signal,
42609
- json: data
42610
- }).json();
42611
- }
42612
- //#endregion
42613
42496
  //#region ../focus-queries/dist/rates/requests.ts
42614
42497
  async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
42615
42498
  const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
@@ -42771,7 +42654,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
42771
42654
  }
42772
42655
  //#endregion
42773
42656
  //#region ../focus-queries/dist/search/requests.ts
42774
- 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) {
42657
+ 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) {
42775
42658
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
42776
42659
  signal,
42777
42660
  searchParams: buildSearchParams$2({
@@ -42779,7 +42662,6 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
42779
42662
  per_group,
42780
42663
  assignee_user_id,
42781
42664
  assignee_team_id,
42782
- include_unassigned,
42783
42665
  project_id,
42784
42666
  task_id,
42785
42667
  include_drafts,
@@ -42824,18 +42706,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
42824
42706
  async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
42825
42707
  return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
42826
42708
  }
42827
- async function unshareSharedReport(httpClient, workspace_id, id, signal) {
42828
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
42829
- }
42830
- async function getSharedReportDates(httpClient, workspace_id, id, signal) {
42831
- return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
42832
- }
42833
- async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
42834
- return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
42835
- signal,
42836
- json: data
42837
- }).json();
42838
- }
42839
42709
  async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
42840
42710
  return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
42841
42711
  signal,
@@ -42845,21 +42715,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
42845
42715
  async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
42846
42716
  return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
42847
42717
  }
42848
- async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
42849
- return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
42850
- signal,
42851
- json: data
42852
- }).json();
42853
- }
42854
- async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
42855
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
42856
- }
42857
- async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
42858
- return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
42859
- signal,
42860
- json: data
42861
- }).json();
42862
- }
42863
42718
  //#endregion
42864
42719
  //#region ../focus-queries/dist/subscriptions/requests.ts
42865
42720
  async function getCurrentSubscription(httpClient, organization_id, signal) {
@@ -42916,10 +42771,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
42916
42771
  }
42917
42772
  //#endregion
42918
42773
  //#region ../focus-queries/dist/task-groups/requests.ts
42919
- 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) {
42774
+ 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) {
42920
42775
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
42921
42776
  signal,
42922
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
42923
42777
  searchParams: buildSearchParams$2({
42924
42778
  project_id,
42925
42779
  source,
@@ -42948,18 +42802,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
42948
42802
  min_days,
42949
42803
  include_drafts,
42950
42804
  cf_filter,
42951
- user_cf_filter,
42952
- recurring_occurrences_after,
42953
- max_recurring_occurrences_after,
42954
- recurring_task_read,
42955
- include_projected_occurrences
42805
+ user_cf_filter
42956
42806
  })
42957
42807
  }).json();
42958
42808
  }
42959
- 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) {
42809
+ 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) {
42960
42810
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
42961
42811
  signal,
42962
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
42963
42812
  searchParams: buildSearchParams$2({
42964
42813
  team_id,
42965
42814
  project_id,
@@ -42988,18 +42837,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
42988
42837
  min_days,
42989
42838
  include_drafts,
42990
42839
  cf_filter,
42991
- user_cf_filter,
42992
- recurring_occurrences_after,
42993
- max_recurring_occurrences_after,
42994
- recurring_task_read,
42995
- include_projected_occurrences
42840
+ user_cf_filter
42996
42841
  })
42997
42842
  }).json();
42998
42843
  }
42999
- 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) {
42844
+ 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) {
43000
42845
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
43001
42846
  signal,
43002
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
43003
42847
  searchParams: buildSearchParams$2({
43004
42848
  source,
43005
42849
  priority,
@@ -43029,10 +42873,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
43029
42873
  include_drafts,
43030
42874
  cf_filter,
43031
42875
  user_cf_filter,
43032
- recurring_occurrences_after,
43033
- max_recurring_occurrences_after,
43034
- recurring_task_read,
43035
- include_projected_occurrences,
43036
42876
  page,
43037
42877
  per_page,
43038
42878
  order_by
@@ -43060,6 +42900,104 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
43060
42900
  }).json();
43061
42901
  }
43062
42902
  //#endregion
42903
+ //#region ../focus-queries/dist/time-blocks/requests.ts
42904
+ async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
42905
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
42906
+ signal,
42907
+ searchParams: buildSearchParams$2({
42908
+ page,
42909
+ per_page,
42910
+ order_by,
42911
+ archived
42912
+ })
42913
+ }).json();
42914
+ }
42915
+ async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
42916
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
42917
+ signal,
42918
+ json: data
42919
+ }).json();
42920
+ }
42921
+ async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
42922
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
42923
+ }
42924
+ async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
42925
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
42926
+ signal,
42927
+ json: data
42928
+ }).json();
42929
+ }
42930
+ async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
42931
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
42932
+ signal,
42933
+ searchParams: buildSearchParams$2({ outbound_sync })
42934
+ }).json();
42935
+ }
42936
+ async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
42937
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
42938
+ signal,
42939
+ json: data
42940
+ }).json();
42941
+ }
42942
+ async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
42943
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
42944
+ }
42945
+ async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
42946
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
42947
+ }
42948
+ async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
42949
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
42950
+ }
42951
+ async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
42952
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
42953
+ signal,
42954
+ searchParams: buildSearchParams$2({
42955
+ date_from,
42956
+ date_to,
42957
+ task_id,
42958
+ status_id,
42959
+ page,
42960
+ per_page,
42961
+ archived,
42962
+ order_by
42963
+ })
42964
+ }).json();
42965
+ }
42966
+ async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
42967
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
42968
+ signal,
42969
+ json: data
42970
+ }).json();
42971
+ }
42972
+ async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
42973
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
42974
+ signal,
42975
+ searchParams: buildSearchParams$2({
42976
+ ids,
42977
+ outbound_sync
42978
+ })
42979
+ }).json();
42980
+ }
42981
+ async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
42982
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
42983
+ signal,
42984
+ json: data
42985
+ }).json();
42986
+ }
42987
+ async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
42988
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
42989
+ signal,
42990
+ searchParams: buildSearchParams$2({
42991
+ date_from,
42992
+ date_to,
42993
+ task_id,
42994
+ status_id,
42995
+ archived,
42996
+ order_by
42997
+ })
42998
+ }).json();
42999
+ }
43000
+ //#endregion
43063
43001
  //#region ../focus-queries/dist/time-entry-constraints/requests.ts
43064
43002
  async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
43065
43003
  return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
@@ -43097,12 +43035,6 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
43097
43035
  })
43098
43036
  }).json();
43099
43037
  }
43100
- async function getTimeoffCategories(httpClient, organization_id, signal) {
43101
- return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
43102
- }
43103
- async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
43104
- return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
43105
- }
43106
43038
  async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
43107
43039
  return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
43108
43040
  signal,
@@ -43130,26 +43062,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
43130
43062
  json: data
43131
43063
  }).json();
43132
43064
  }
43133
- async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
43134
- return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
43135
- signal,
43136
- searchParams: buildSearchParams$2({
43137
- category_id,
43138
- date
43139
- })
43140
- }).json();
43141
- }
43142
- async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
43143
- return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
43144
- signal,
43145
- searchParams: buildSearchParams$2({
43146
- category_id,
43147
- year,
43148
- page,
43149
- rows
43150
- })
43151
- }).json();
43152
- }
43153
43065
  //#endregion
43154
43066
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
43155
43067
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -43250,19 +43162,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
43250
43162
  json: data
43251
43163
  }).json();
43252
43164
  }
43253
- async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
43254
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
43255
- signal,
43256
- searchParams: buildSearchParams$2({
43257
- date_from,
43258
- date_to,
43259
- setup_id,
43260
- user_account_ids,
43261
- approver_user_account_ids,
43262
- team_ids
43263
- })
43264
- }).json();
43265
- }
43266
43165
  async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
43267
43166
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
43268
43167
  }
@@ -43306,21 +43205,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
43306
43205
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
43307
43206
  }
43308
43207
  //#endregion
43309
- //#region ../focus-queries/dist/track-team-invites/requests.ts
43310
- async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
43311
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
43312
- signal,
43313
- json: data
43314
- }).json();
43315
- }
43316
- //#endregion
43317
43208
  //#region ../focus-queries/dist/user-settings/requests.ts
43318
- async function emailUnsubscribePage(httpClient, token, signal) {
43319
- return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
43320
- }
43321
- async function emailUnsubscribe(httpClient, token, signal) {
43322
- return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
43323
- }
43324
43209
  async function getUserSettings(httpClient, signal) {
43325
43210
  return await httpClient.get(`users/me/settings`, { signal }).json();
43326
43211
  }
@@ -43560,7 +43445,6 @@ const generatedFocusOperations = [
43560
43445
  mcp: { entityTool: "audit-log" },
43561
43446
  inputSchema: /* @__PURE__ */ looseObject({
43562
43447
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43563
- custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43564
43448
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43565
43449
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43566
43450
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -43568,7 +43452,6 @@ const generatedFocusOperations = [
43568
43452
  from: /* @__PURE__ */ string$1(),
43569
43453
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43570
43454
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43571
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43572
43455
  to: /* @__PURE__ */ string$1(),
43573
43456
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43574
43457
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -43602,7 +43485,6 @@ const generatedFocusOperations = [
43602
43485
  mcp: { entityTool: "audit-log" },
43603
43486
  inputSchema: /* @__PURE__ */ looseObject({
43604
43487
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43605
- custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43606
43488
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43607
43489
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43608
43490
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -43610,7 +43492,6 @@ const generatedFocusOperations = [
43610
43492
  from: /* @__PURE__ */ string$1(),
43611
43493
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43612
43494
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43613
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43614
43495
  to: /* @__PURE__ */ string$1(),
43615
43496
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43616
43497
  }),
@@ -43650,7 +43531,6 @@ const generatedFocusOperations = [
43650
43531
  private_: /* @__PURE__ */ unknown$1(),
43651
43532
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43652
43533
  task_source: /* @__PURE__ */ unknown$1(),
43653
- team_id: /* @__PURE__ */ number$2(),
43654
43534
  unit: /* @__PURE__ */ unknown$1(),
43655
43535
  user_id: /* @__PURE__ */ number$2()
43656
43536
  }),
@@ -43900,6 +43780,8 @@ const generatedFocusOperations = [
43900
43780
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43901
43781
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
43902
43782
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43783
+ integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43784
+ integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43903
43785
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43904
43786
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43905
43787
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -43933,6 +43815,8 @@ const generatedFocusOperations = [
43933
43815
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43934
43816
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
43935
43817
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43818
+ integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43819
+ integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43936
43820
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43937
43821
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43938
43822
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -43948,6 +43832,12 @@ const generatedFocusOperations = [
43948
43832
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43949
43833
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43950
43834
  }))),
43835
+ time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
43836
+ start: apiDateTimeString,
43837
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43838
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43839
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
43840
+ }))),
43951
43841
  time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
43952
43842
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
43953
43843
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -43957,6 +43847,13 @@ const generatedFocusOperations = [
43957
43847
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43958
43848
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43959
43849
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
43850
+ time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
43851
+ start: apiDateTimeString,
43852
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43853
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43854
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
43855
+ })),
43856
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43960
43857
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
43961
43858
  }))
43962
43859
  }) }),
@@ -44074,33 +43971,6 @@ const generatedFocusOperations = [
44074
43971
  ]));
44075
43972
  }
44076
43973
  },
44077
- {
44078
- id: "focus.custom-fields.get-allowed-users",
44079
- family: "focus",
44080
- resource: "custom-fields",
44081
- action: "get-allowed-users",
44082
- title: "Get Allowed Users Custom Fields",
44083
- description: "Get Allowed Users Custom Fields.",
44084
- safety: "read",
44085
- destructive: false,
44086
- cli: {
44087
- group: ["custom-fields"],
44088
- command: "get-allowed-users",
44089
- interactive: "available"
44090
- },
44091
- mcp: { entityTool: "custom-fields" },
44092
- inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
44093
- execute: (input, { client }) => {
44094
- const data = input;
44095
- return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
44096
- client.httpClient,
44097
- client.organizationId,
44098
- client.workspaceIdNumber,
44099
- data.custom_field_id,
44100
- void 0
44101
- ]));
44102
- }
44103
- },
44104
43974
  {
44105
43975
  id: "focus.custom-fields.list",
44106
43976
  family: "focus",
@@ -44271,61 +44141,30 @@ const generatedFocusOperations = [
44271
44141
  }
44272
44142
  },
44273
44143
  {
44274
- id: "focus.custom-fields.replace-custom-field-allowed-users",
44144
+ id: "focus.custom-fields.update",
44275
44145
  family: "focus",
44276
44146
  resource: "custom-fields",
44277
- action: "replace-custom-field-allowed-users",
44278
- title: "Replace Custom Field Allowed Users Custom Fields",
44279
- description: "Replace Custom Field Allowed Users Custom Fields.",
44147
+ action: "update",
44148
+ title: "Update Custom Fields",
44149
+ description: "Update Custom Fields.",
44280
44150
  safety: "update",
44281
44151
  destructive: false,
44282
44152
  cli: {
44283
44153
  group: ["custom-fields"],
44284
- command: "replace-custom-field-allowed-users",
44154
+ command: "update",
44285
44155
  interactive: "default"
44286
44156
  },
44287
44157
  mcp: { entityTool: "custom-fields" },
44288
44158
  inputSchema: /* @__PURE__ */ looseObject({
44289
44159
  custom_field_id: /* @__PURE__ */ number$2(),
44290
- payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
44160
+ payload: /* @__PURE__ */ looseObject({
44161
+ name: /* @__PURE__ */ string$1(),
44162
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44163
+ })
44291
44164
  }),
44292
44165
  execute: (input, { client }) => {
44293
44166
  const data = input;
44294
- return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
44295
- client.httpClient,
44296
- client.organizationId,
44297
- client.workspaceIdNumber,
44298
- data.custom_field_id,
44299
- data.payload ?? data.data ?? data,
44300
- void 0
44301
- ]));
44302
- }
44303
- },
44304
- {
44305
- id: "focus.custom-fields.update",
44306
- family: "focus",
44307
- resource: "custom-fields",
44308
- action: "update",
44309
- title: "Update Custom Fields",
44310
- description: "Update Custom Fields.",
44311
- safety: "update",
44312
- destructive: false,
44313
- cli: {
44314
- group: ["custom-fields"],
44315
- command: "update",
44316
- interactive: "default"
44317
- },
44318
- mcp: { entityTool: "custom-fields" },
44319
- inputSchema: /* @__PURE__ */ looseObject({
44320
- custom_field_id: /* @__PURE__ */ number$2(),
44321
- payload: /* @__PURE__ */ looseObject({
44322
- name: /* @__PURE__ */ string$1(),
44323
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44324
- })
44325
- }),
44326
- execute: (input, { client }) => {
44327
- const data = input;
44328
- return client.runGeneratedRequest("updateCustomField", () => callGeneratedRequest(updateCustomField, [
44167
+ return client.runGeneratedRequest("updateCustomField", () => callGeneratedRequest(updateCustomField, [
44329
44168
  client.httpClient,
44330
44169
  client.organizationId,
44331
44170
  client.workspaceIdNumber,
@@ -44447,7 +44286,13 @@ const generatedFocusOperations = [
44447
44286
  },
44448
44287
  mcp: { entityTool: "goals" },
44449
44288
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44289
+ billable: /* @__PURE__ */ boolean$1(),
44450
44290
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44291
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44292
+ icon: /* @__PURE__ */ string$1(),
44293
+ monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44294
+ name: /* @__PURE__ */ string$1(),
44295
+ project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44451
44296
  recurrence: /* @__PURE__ */ picklist$1([
44452
44297
  "daily",
44453
44298
  "weekly",
@@ -44455,18 +44300,12 @@ const generatedFocusOperations = [
44455
44300
  "monthly"
44456
44301
  ]),
44457
44302
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44303
+ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44458
44304
  target_seconds: /* @__PURE__ */ number$2(),
44459
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44305
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44306
+ weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44460
44307
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44461
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44462
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44463
- icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44464
- monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44465
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44466
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44467
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44468
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44469
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44308
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44470
44309
  }) }),
44471
44310
  execute: (input, { client }) => {
44472
44311
  const data = input;
@@ -44572,6 +44411,13 @@ const generatedFocusOperations = [
44572
44411
  },
44573
44412
  mcp: { entityTool: "goals" },
44574
44413
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44414
+ billable: /* @__PURE__ */ boolean$1(),
44415
+ comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44416
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44417
+ icon: /* @__PURE__ */ string$1(),
44418
+ monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44419
+ name: /* @__PURE__ */ string$1(),
44420
+ project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44575
44421
  recurrence: /* @__PURE__ */ picklist$1([
44576
44422
  "daily",
44577
44423
  "weekly",
@@ -44579,19 +44425,12 @@ const generatedFocusOperations = [
44579
44425
  "monthly"
44580
44426
  ]),
44581
44427
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44582
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44428
+ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44429
+ target_seconds: /* @__PURE__ */ number$2(),
44430
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44431
+ weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44583
44432
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44584
- comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
44585
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44586
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44587
- icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44588
- monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44589
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44590
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44591
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44592
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44593
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44594
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44433
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44595
44434
  }) }),
44596
44435
  execute: (input, { client }) => {
44597
44436
  const data = input;
@@ -45558,17 +45397,9 @@ const generatedFocusOperations = [
45558
45397
  mcp: { entityTool: "projects" },
45559
45398
  inputSchema: /* @__PURE__ */ looseObject({
45560
45399
  payload: /* @__PURE__ */ looseObject({
45561
- auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45562
- completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
45563
45400
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
45564
45401
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45565
45402
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45566
- rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
45567
- "expire",
45568
- "carry_all",
45569
- "carry_over"
45570
- ])),
45571
- rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45572
45403
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
45573
45404
  }),
45574
45405
  project_id: /* @__PURE__ */ number$2()
@@ -46012,7 +45843,6 @@ const generatedFocusOperations = [
46012
45843
  group: /* @__PURE__ */ string$1(),
46013
45844
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46014
45845
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46015
- include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46016
45846
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46017
45847
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46018
45848
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -46115,6 +45945,29 @@ const generatedFocusOperations = [
46115
45945
  ]));
46116
45946
  }
46117
45947
  },
45948
+ {
45949
+ id: "focus.projects.margin-targets-clear-workspace",
45950
+ family: "focus",
45951
+ resource: "projects",
45952
+ action: "margin-targets-clear-workspace",
45953
+ title: "Margin Targets Clear Workspace Projects",
45954
+ description: "Margin Targets Clear Workspace Projects.",
45955
+ safety: "delete",
45956
+ destructive: true,
45957
+ cli: {
45958
+ group: ["projects", "margin-targets"],
45959
+ command: "clear-workspace",
45960
+ interactive: "default"
45961
+ },
45962
+ mcp: { entityTool: "projects" },
45963
+ inputSchema: /* @__PURE__ */ looseObject({}),
45964
+ execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
45965
+ client.httpClient,
45966
+ client.organizationId,
45967
+ client.workspaceIdNumber,
45968
+ void 0
45969
+ ]))
45970
+ },
46118
45971
  {
46119
45972
  id: "focus.projects.margin-targets-get",
46120
45973
  family: "focus",
@@ -46559,130 +46412,6 @@ const generatedFocusOperations = [
46559
46412
  ]));
46560
46413
  }
46561
46414
  },
46562
- {
46563
- id: "focus.publicsharedreports.open-public-shared-report",
46564
- family: "focus",
46565
- resource: "publicsharedreports",
46566
- action: "open-public-shared-report",
46567
- title: "Open Public Shared Report Publicsharedreports",
46568
- description: "Open Public Shared Report Publicsharedreports.",
46569
- safety: "read",
46570
- destructive: false,
46571
- cli: {
46572
- group: ["publicsharedreports"],
46573
- command: "open-public-shared-report",
46574
- interactive: "available"
46575
- },
46576
- mcp: { entityTool: "publicsharedreports" },
46577
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
46578
- execute: (input, { client }) => {
46579
- const data = input;
46580
- return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
46581
- client.httpClient,
46582
- data.token,
46583
- void 0
46584
- ]));
46585
- }
46586
- },
46587
- {
46588
- id: "focus.publicsharedreports.profitability-public-shared-report",
46589
- family: "focus",
46590
- resource: "publicsharedreports",
46591
- action: "profitability-public-shared-report",
46592
- title: "Profitability Public Shared Report Publicsharedreports",
46593
- description: "Profitability Public Shared Report Publicsharedreports.",
46594
- safety: "update",
46595
- destructive: false,
46596
- cli: {
46597
- group: ["publicsharedreports"],
46598
- command: "profitability-public-shared-report",
46599
- interactive: "default"
46600
- },
46601
- mcp: { entityTool: "publicsharedreports" },
46602
- inputSchema: /* @__PURE__ */ looseObject({
46603
- include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
46604
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46605
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
46606
- token: /* @__PURE__ */ string$1()
46607
- }),
46608
- execute: (input, { client }) => {
46609
- const data = input;
46610
- return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
46611
- client.httpClient,
46612
- data.token,
46613
- data.payload ?? data.data ?? data,
46614
- data.response_format,
46615
- data.include_dicts,
46616
- void 0
46617
- ]));
46618
- }
46619
- },
46620
- {
46621
- id: "focus.publicsharedreports.query-public-shared-report",
46622
- family: "focus",
46623
- resource: "publicsharedreports",
46624
- action: "query-public-shared-report",
46625
- title: "Query Public Shared Report Publicsharedreports",
46626
- description: "Query Public Shared Report Publicsharedreports.",
46627
- safety: "update",
46628
- destructive: false,
46629
- cli: {
46630
- group: ["publicsharedreports"],
46631
- command: "query-public-shared-report",
46632
- interactive: "default"
46633
- },
46634
- mcp: { entityTool: "publicsharedreports" },
46635
- inputSchema: /* @__PURE__ */ looseObject({
46636
- include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
46637
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46638
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
46639
- "json_row",
46640
- "table",
46641
- "hierarchical"
46642
- ])),
46643
- token: /* @__PURE__ */ string$1()
46644
- }),
46645
- execute: (input, { client }) => {
46646
- const data = input;
46647
- return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
46648
- client.httpClient,
46649
- data.token,
46650
- data.payload ?? data.data ?? data,
46651
- data.response_format,
46652
- data.include_dicts,
46653
- void 0
46654
- ]));
46655
- }
46656
- },
46657
- {
46658
- id: "focus.publicsharedreports.workload-public-shared-report",
46659
- family: "focus",
46660
- resource: "publicsharedreports",
46661
- action: "workload-public-shared-report",
46662
- title: "Workload Public Shared Report Publicsharedreports",
46663
- description: "Workload Public Shared Report Publicsharedreports.",
46664
- safety: "update",
46665
- destructive: false,
46666
- cli: {
46667
- group: ["publicsharedreports"],
46668
- command: "workload-public-shared-report",
46669
- interactive: "default"
46670
- },
46671
- mcp: { entityTool: "publicsharedreports" },
46672
- inputSchema: /* @__PURE__ */ looseObject({
46673
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46674
- token: /* @__PURE__ */ string$1()
46675
- }),
46676
- execute: (input, { client }) => {
46677
- const data = input;
46678
- return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
46679
- client.httpClient,
46680
- data.token,
46681
- data.payload ?? data.data ?? data,
46682
- void 0
46683
- ]));
46684
- }
46685
- },
46686
46415
  {
46687
46416
  id: "focus.rates.billable-check-project-billable-rate-conflicts",
46688
46417
  family: "focus",
@@ -48641,7 +48370,7 @@ const generatedFocusOperations = [
48641
48370
  cli: {
48642
48371
  group: ["reportschedules"],
48643
48372
  command: "upsert-saved-view-schedule",
48644
- interactive: "hidden"
48373
+ interactive: "default"
48645
48374
  },
48646
48375
  mcp: { entityTool: "reportschedules" },
48647
48376
  inputSchema: /* @__PURE__ */ looseObject({
@@ -48652,10 +48381,8 @@ const generatedFocusOperations = [
48652
48381
  "weekly",
48653
48382
  "monthly"
48654
48383
  ]),
48655
- charts: /* @__PURE__ */ unknown$1(),
48656
48384
  time: /* @__PURE__ */ string$1(),
48657
48385
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48658
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48659
48386
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48660
48387
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48661
48388
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -48988,32 +48715,6 @@ const generatedFocusOperations = [
48988
48715
  ]));
48989
48716
  }
48990
48717
  },
48991
- {
48992
- id: "focus.sharedreports.get-shared-report-dates",
48993
- family: "focus",
48994
- resource: "sharedreports",
48995
- action: "get-shared-report-dates",
48996
- title: "Get Shared Report Dates Sharedreports",
48997
- description: "Get Shared Report Dates Sharedreports.",
48998
- safety: "read",
48999
- destructive: false,
49000
- cli: {
49001
- group: ["sharedreports"],
49002
- command: "get-shared-report-dates",
49003
- interactive: "available"
49004
- },
49005
- mcp: { entityTool: "sharedreports" },
49006
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
49007
- execute: (input, { client }) => {
49008
- const data = input;
49009
- return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
49010
- client.httpClient,
49011
- client.workspaceIdNumber,
49012
- data.id,
49013
- void 0
49014
- ]));
49015
- }
49016
- },
49017
48718
  {
49018
48719
  id: "focus.sharedreports.get-shared-report-for-viewer",
49019
48720
  family: "focus",
@@ -49084,36 +48785,6 @@ const generatedFocusOperations = [
49084
48785
  void 0
49085
48786
  ]))
49086
48787
  },
49087
- {
49088
- id: "focus.sharedreports.mint-shared-report-link",
49089
- family: "focus",
49090
- resource: "sharedreports",
49091
- action: "mint-shared-report-link",
49092
- title: "Mint Shared Report Link Sharedreports",
49093
- description: "Mint Shared Report Link Sharedreports.",
49094
- safety: "update",
49095
- destructive: false,
49096
- cli: {
49097
- group: ["sharedreports"],
49098
- command: "mint-shared-report-link",
49099
- interactive: "default"
49100
- },
49101
- mcp: { entityTool: "sharedreports" },
49102
- inputSchema: /* @__PURE__ */ looseObject({
49103
- id: /* @__PURE__ */ number$2(),
49104
- payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
49105
- }),
49106
- execute: (input, { client }) => {
49107
- const data = input;
49108
- return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
49109
- client.httpClient,
49110
- client.workspaceIdNumber,
49111
- data.id,
49112
- data.payload ?? data.data ?? data,
49113
- void 0
49114
- ]));
49115
- }
49116
- },
49117
48788
  {
49118
48789
  id: "focus.sharedreports.revoke-shared-report-grant",
49119
48790
  family: "focus",
@@ -49145,53 +48816,71 @@ const generatedFocusOperations = [
49145
48816
  }
49146
48817
  },
49147
48818
  {
49148
- id: "focus.sharedreports.revoke-shared-report-link",
48819
+ id: "focus.sharedreports.share-saved-view",
49149
48820
  family: "focus",
49150
48821
  resource: "sharedreports",
49151
- action: "revoke-shared-report-link",
49152
- title: "Revoke Shared Report Link Sharedreports",
49153
- description: "Revoke Shared Report Link Sharedreports.",
49154
- safety: "delete",
49155
- destructive: true,
48822
+ action: "share-saved-view",
48823
+ title: "Share Saved View Sharedreports",
48824
+ description: "Share Saved View Sharedreports.",
48825
+ safety: "update",
48826
+ destructive: false,
49156
48827
  cli: {
49157
48828
  group: ["sharedreports"],
49158
- command: "revoke-shared-report-link",
49159
- interactive: "default"
48829
+ command: "share-saved-view",
48830
+ interactive: "hidden"
49160
48831
  },
49161
48832
  mcp: { entityTool: "sharedreports" },
49162
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48833
+ inputSchema: /* @__PURE__ */ looseObject({
48834
+ id: /* @__PURE__ */ number$2(),
48835
+ payload: /* @__PURE__ */ looseObject({
48836
+ charts: /* @__PURE__ */ unknown$1(),
48837
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48838
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48839
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48840
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48841
+ })
48842
+ }),
49163
48843
  execute: (input, { client }) => {
49164
48844
  const data = input;
49165
- return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
48845
+ return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
49166
48846
  client.httpClient,
49167
48847
  client.workspaceIdNumber,
49168
48848
  data.id,
48849
+ data.payload ?? data.data ?? data,
49169
48850
  void 0
49170
48851
  ]));
49171
48852
  }
49172
48853
  },
49173
48854
  {
49174
- id: "focus.sharedreports.rotate-shared-report-link",
48855
+ id: "focus.sharedreports.share-saved-view-many",
49175
48856
  family: "focus",
49176
48857
  resource: "sharedreports",
49177
- action: "rotate-shared-report-link",
49178
- title: "Rotate Shared Report Link Sharedreports",
49179
- description: "Rotate Shared Report Link Sharedreports.",
48858
+ action: "share-saved-view-many",
48859
+ title: "Share Saved View Many Sharedreports",
48860
+ description: "Share Saved View Many Sharedreports.",
49180
48861
  safety: "update",
49181
48862
  destructive: false,
49182
48863
  cli: {
49183
48864
  group: ["sharedreports"],
49184
- command: "rotate-shared-report-link",
49185
- interactive: "default"
48865
+ command: "share-saved-view-many",
48866
+ interactive: "hidden"
49186
48867
  },
49187
48868
  mcp: { entityTool: "sharedreports" },
49188
48869
  inputSchema: /* @__PURE__ */ looseObject({
49189
48870
  id: /* @__PURE__ */ number$2(),
49190
- payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
48871
+ payload: /* @__PURE__ */ looseObject({
48872
+ charts: /* @__PURE__ */ unknown$1(),
48873
+ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48874
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48875
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48876
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48877
+ })),
48878
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48879
+ })
49191
48880
  }),
49192
48881
  execute: (input, { client }) => {
49193
48882
  const data = input;
49194
- return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
48883
+ return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
49195
48884
  client.httpClient,
49196
48885
  client.workspaceIdNumber,
49197
48886
  data.id,
@@ -49201,158 +48890,28 @@ const generatedFocusOperations = [
49201
48890
  }
49202
48891
  },
49203
48892
  {
49204
- id: "focus.sharedreports.set-shared-report-dates-lock",
48893
+ id: "focus.statuses.create-status",
49205
48894
  family: "focus",
49206
- resource: "sharedreports",
49207
- action: "set-shared-report-dates-lock",
49208
- title: "Set Shared Report Dates Lock Sharedreports",
49209
- description: "Set Shared Report Dates Lock Sharedreports.",
49210
- safety: "update",
48895
+ resource: "statuses",
48896
+ action: "create-status",
48897
+ title: "Create Status Statuses",
48898
+ description: "Create Status Statuses.",
48899
+ safety: "create",
49211
48900
  destructive: false,
49212
48901
  cli: {
49213
- group: ["sharedreports"],
49214
- command: "set-shared-report-dates-lock",
48902
+ group: ["statuses"],
48903
+ command: "create-status",
49215
48904
  interactive: "default"
49216
48905
  },
49217
- mcp: { entityTool: "sharedreports" },
49218
- inputSchema: /* @__PURE__ */ looseObject({
49219
- id: /* @__PURE__ */ number$2(),
49220
- payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
49221
- }),
48906
+ mcp: { entityTool: "statuses" },
48907
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
48908
+ emoji: /* @__PURE__ */ string$1(),
48909
+ name: /* @__PURE__ */ string$1(),
48910
+ position: /* @__PURE__ */ number$2()
48911
+ }) }),
49222
48912
  execute: (input, { client }) => {
49223
48913
  const data = input;
49224
- return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
49225
- client.httpClient,
49226
- client.workspaceIdNumber,
49227
- data.id,
49228
- data.payload ?? data.data ?? data,
49229
- void 0
49230
- ]));
49231
- }
49232
- },
49233
- {
49234
- id: "focus.sharedreports.share-saved-view",
49235
- family: "focus",
49236
- resource: "sharedreports",
49237
- action: "share-saved-view",
49238
- title: "Share Saved View Sharedreports",
49239
- description: "Share Saved View Sharedreports.",
49240
- safety: "update",
49241
- destructive: false,
49242
- cli: {
49243
- group: ["sharedreports"],
49244
- command: "share-saved-view",
49245
- interactive: "hidden"
49246
- },
49247
- mcp: { entityTool: "sharedreports" },
49248
- inputSchema: /* @__PURE__ */ looseObject({
49249
- id: /* @__PURE__ */ number$2(),
49250
- payload: /* @__PURE__ */ looseObject({
49251
- charts: /* @__PURE__ */ unknown$1(),
49252
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49253
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49254
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49255
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
49256
- })
49257
- }),
49258
- execute: (input, { client }) => {
49259
- const data = input;
49260
- return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
49261
- client.httpClient,
49262
- client.workspaceIdNumber,
49263
- data.id,
49264
- data.payload ?? data.data ?? data,
49265
- void 0
49266
- ]));
49267
- }
49268
- },
49269
- {
49270
- id: "focus.sharedreports.share-saved-view-many",
49271
- family: "focus",
49272
- resource: "sharedreports",
49273
- action: "share-saved-view-many",
49274
- title: "Share Saved View Many Sharedreports",
49275
- description: "Share Saved View Many Sharedreports.",
49276
- safety: "update",
49277
- destructive: false,
49278
- cli: {
49279
- group: ["sharedreports"],
49280
- command: "share-saved-view-many",
49281
- interactive: "hidden"
49282
- },
49283
- mcp: { entityTool: "sharedreports" },
49284
- inputSchema: /* @__PURE__ */ looseObject({
49285
- id: /* @__PURE__ */ number$2(),
49286
- payload: /* @__PURE__ */ looseObject({
49287
- charts: /* @__PURE__ */ unknown$1(),
49288
- grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
49289
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49290
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49291
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
49292
- })),
49293
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
49294
- })
49295
- }),
49296
- execute: (input, { client }) => {
49297
- const data = input;
49298
- return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
49299
- client.httpClient,
49300
- client.workspaceIdNumber,
49301
- data.id,
49302
- data.payload ?? data.data ?? data,
49303
- void 0
49304
- ]));
49305
- }
49306
- },
49307
- {
49308
- id: "focus.sharedreports.unshare-shared-report",
49309
- family: "focus",
49310
- resource: "sharedreports",
49311
- action: "unshare-shared-report",
49312
- title: "Unshare Shared Report Sharedreports",
49313
- description: "Unshare Shared Report Sharedreports.",
49314
- safety: "delete",
49315
- destructive: true,
49316
- cli: {
49317
- group: ["sharedreports"],
49318
- command: "unshare-shared-report",
49319
- interactive: "default"
49320
- },
49321
- mcp: { entityTool: "sharedreports" },
49322
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
49323
- execute: (input, { client }) => {
49324
- const data = input;
49325
- return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
49326
- client.httpClient,
49327
- client.workspaceIdNumber,
49328
- data.id,
49329
- void 0
49330
- ]));
49331
- }
49332
- },
49333
- {
49334
- id: "focus.statuses.create-status",
49335
- family: "focus",
49336
- resource: "statuses",
49337
- action: "create-status",
49338
- title: "Create Status Statuses",
49339
- description: "Create Status Statuses.",
49340
- safety: "create",
49341
- destructive: false,
49342
- cli: {
49343
- group: ["statuses"],
49344
- command: "create-status",
49345
- interactive: "default"
49346
- },
49347
- mcp: { entityTool: "statuses" },
49348
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
49349
- emoji: /* @__PURE__ */ string$1(),
49350
- name: /* @__PURE__ */ string$1(),
49351
- position: /* @__PURE__ */ number$2()
49352
- }) }),
49353
- execute: (input, { client }) => {
49354
- const data = input;
49355
- return client.runGeneratedRequest("createStatus", () => callGeneratedRequest(createStatus, [
48914
+ return client.runGeneratedRequest("createStatus", () => callGeneratedRequest(createStatus, [
49356
48915
  client.httpClient,
49357
48916
  client.workspaceIdNumber,
49358
48917
  data.payload ?? data.data ?? data,
@@ -50372,37 +49931,6 @@ const generatedFocusOperations = [
50372
49931
  return client.createTask(data);
50373
49932
  }
50374
49933
  },
50375
- {
50376
- id: "focus.tasks.create-recurring-occurrence",
50377
- family: "focus",
50378
- resource: "tasks",
50379
- action: "create-recurring-occurrence",
50380
- title: "Create Recurring Occurrence Tasks",
50381
- description: "Create Recurring Occurrence Tasks.",
50382
- safety: "create",
50383
- destructive: false,
50384
- cli: {
50385
- group: ["tasks"],
50386
- command: "create-recurring-occurrence",
50387
- interactive: "default"
50388
- },
50389
- mcp: { entityTool: "tasks" },
50390
- inputSchema: /* @__PURE__ */ looseObject({
50391
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50392
- task_id: /* @__PURE__ */ number$2()
50393
- }),
50394
- execute: (input, { client }) => {
50395
- const data = input;
50396
- return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
50397
- client.httpClient,
50398
- client.organizationId,
50399
- client.workspaceIdNumber,
50400
- data.task_id,
50401
- data.return_occurrence,
50402
- void 0
50403
- ]));
50404
- }
50405
- },
50406
49934
  {
50407
49935
  id: "focus.tasks.delete",
50408
49936
  family: "focus",
@@ -50627,79 +50155,6 @@ const generatedFocusOperations = [
50627
50155
  ]));
50628
50156
  }
50629
50157
  },
50630
- {
50631
- id: "focus.tasks.get-picker-task-children",
50632
- family: "focus",
50633
- resource: "tasks",
50634
- action: "get-picker-task-children",
50635
- title: "Get Picker Task Children Tasks",
50636
- description: "Get Picker Task Children Tasks.",
50637
- safety: "read",
50638
- destructive: false,
50639
- cli: {
50640
- group: ["tasks"],
50641
- command: "get-picker-task-children",
50642
- interactive: "hidden"
50643
- },
50644
- mcp: { entityTool: "tasks" },
50645
- inputSchema: /* @__PURE__ */ looseObject({
50646
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50647
- only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50648
- page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50649
- parent_task_id: /* @__PURE__ */ number$2(),
50650
- per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50651
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50652
- search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50653
- without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50654
- }),
50655
- execute: (input, { client }) => {
50656
- const data = input;
50657
- return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
50658
- client.httpClient,
50659
- client.organizationId,
50660
- client.workspaceIdNumber,
50661
- data.parent_task_id,
50662
- data,
50663
- void 0
50664
- ]));
50665
- }
50666
- },
50667
- {
50668
- id: "focus.tasks.get-picker-task-groups",
50669
- family: "focus",
50670
- resource: "tasks",
50671
- action: "get-picker-task-groups",
50672
- title: "Get Picker Task Groups Tasks",
50673
- description: "Get Picker Task Groups Tasks.",
50674
- safety: "read",
50675
- destructive: false,
50676
- cli: {
50677
- group: ["tasks"],
50678
- command: "get-picker-task-groups",
50679
- interactive: "hidden"
50680
- },
50681
- mcp: { entityTool: "tasks" },
50682
- inputSchema: /* @__PURE__ */ looseObject({
50683
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50684
- only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50685
- page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50686
- per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50687
- pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50688
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50689
- search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50690
- without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50691
- }),
50692
- execute: (input, { client }) => {
50693
- const data = input;
50694
- return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
50695
- client.httpClient,
50696
- client.organizationId,
50697
- client.workspaceIdNumber,
50698
- data,
50699
- void 0
50700
- ]));
50701
- }
50702
- },
50703
50158
  {
50704
50159
  id: "focus.tasks.get-recurring-instances",
50705
50160
  family: "focus",
@@ -50723,13 +50178,9 @@ const generatedFocusOperations = [
50723
50178
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50724
50179
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50725
50180
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50726
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50727
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50728
50181
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50729
50182
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50730
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50731
50183
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50732
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50733
50184
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50734
50185
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50735
50186
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -50775,14 +50226,13 @@ const generatedFocusOperations = [
50775
50226
  estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50776
50227
  estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50777
50228
  has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50229
+ has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50778
50230
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50779
50231
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50780
50232
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50781
50233
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50782
50234
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50783
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50784
50235
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50785
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50786
50236
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50787
50237
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50788
50238
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -50791,9 +50241,7 @@ const generatedFocusOperations = [
50791
50241
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50792
50242
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50793
50243
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50794
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50795
50244
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50796
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50797
50245
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50798
50246
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50799
50247
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50802,6 +50250,8 @@ const generatedFocusOperations = [
50802
50250
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50803
50251
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50804
50252
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50253
+ time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50254
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50805
50255
  toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50806
50256
  with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50807
50257
  }),
@@ -50929,10 +50379,8 @@ const generatedFocusOperations = [
50929
50379
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50930
50380
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50931
50381
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50932
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50933
50382
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50934
50383
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50935
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50936
50384
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50937
50385
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50938
50386
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50941,8 +50389,6 @@ const generatedFocusOperations = [
50941
50389
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50942
50390
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50943
50391
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50944
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50945
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50946
50392
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50947
50393
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50948
50394
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50951,8 +50397,7 @@ const generatedFocusOperations = [
50951
50397
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50952
50398
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50953
50399
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50954
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50955
- xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50400
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50956
50401
  }),
50957
50402
  execute: (input, { client }) => {
50958
50403
  const data = input;
@@ -50994,17 +50439,13 @@ const generatedFocusOperations = [
50994
50439
  group_id: /* @__PURE__ */ number$2(),
50995
50440
  include_assignees: /* @__PURE__ */ unknown$1(),
50996
50441
  include_drafts: /* @__PURE__ */ unknown$1(),
50997
- include_projected_occurrences: /* @__PURE__ */ unknown$1(),
50998
50442
  include_unassigned: /* @__PURE__ */ unknown$1(),
50999
50443
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
51000
- max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
51001
50444
  min_days: /* @__PURE__ */ unknown$1(),
51002
50445
  name: /* @__PURE__ */ unknown$1(),
51003
50446
  priority: /* @__PURE__ */ unknown$1(),
51004
50447
  private_: /* @__PURE__ */ unknown$1(),
51005
50448
  project_id: /* @__PURE__ */ number$2(),
51006
- recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
51007
- recurring_task_read: /* @__PURE__ */ unknown$1(),
51008
50449
  source: /* @__PURE__ */ unknown$1(),
51009
50450
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51010
50451
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -51013,8 +50454,7 @@ const generatedFocusOperations = [
51013
50454
  tag_id: /* @__PURE__ */ number$2(),
51014
50455
  team_id: /* @__PURE__ */ number$2(),
51015
50456
  user_cf_filter: /* @__PURE__ */ unknown$1(),
51016
- user_tag_id: /* @__PURE__ */ number$2(),
51017
- xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
50457
+ user_tag_id: /* @__PURE__ */ number$2()
51018
50458
  }),
51019
50459
  execute: (input, { client }) => {
51020
50460
  const data = input;
@@ -51055,17 +50495,13 @@ const generatedFocusOperations = [
51055
50495
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51056
50496
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51057
50497
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51058
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51059
50498
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51060
50499
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51061
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51062
50500
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51063
50501
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51064
50502
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51065
50503
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51066
50504
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51067
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51068
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51069
50505
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51070
50506
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
51071
50507
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -51074,8 +50510,7 @@ const generatedFocusOperations = [
51074
50510
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51075
50511
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51076
50512
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51077
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51078
- xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50513
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51079
50514
  }),
51080
50515
  execute: (input, { client }) => {
51081
50516
  const data = input;
@@ -51319,45 +50754,508 @@ const generatedFocusOperations = [
51319
50754
  }),
51320
50755
  execute: (input, { client }) => {
51321
50756
  const data = input;
51322
- return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
50757
+ return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
50758
+ client.httpClient,
50759
+ client.organizationId,
50760
+ client.workspaceIdNumber,
50761
+ data.task_id,
50762
+ data.payload ?? data.data ?? data,
50763
+ void 0
50764
+ ]));
50765
+ }
50766
+ },
50767
+ {
50768
+ id: "focus.tasks.update-calendar-range",
50769
+ family: "focus",
50770
+ resource: "tasks",
50771
+ action: "update-calendar-range",
50772
+ title: "Update Calendar Range Tasks",
50773
+ description: "Update Calendar Range Tasks.",
50774
+ safety: "update",
50775
+ destructive: false,
50776
+ cli: {
50777
+ group: ["tasks"],
50778
+ command: "update-calendar-range",
50779
+ interactive: "default"
50780
+ },
50781
+ mcp: { entityTool: "tasks" },
50782
+ inputSchema: /* @__PURE__ */ looseObject({
50783
+ date_from: /* @__PURE__ */ string$1(),
50784
+ date_to: /* @__PURE__ */ string$1()
50785
+ }),
50786
+ execute: (input, { client }) => {
50787
+ const data = input;
50788
+ return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
50789
+ client.httpClient,
50790
+ client.organizationId,
50791
+ client.workspaceIdNumber,
50792
+ data.date_from,
50793
+ data.date_to,
50794
+ void 0
50795
+ ]));
50796
+ }
50797
+ },
50798
+ {
50799
+ id: "focus.time-blocks.archive",
50800
+ family: "focus",
50801
+ resource: "time-blocks",
50802
+ action: "archive",
50803
+ title: "Archive Time Blocks",
50804
+ description: "Archive Time Blocks.",
50805
+ safety: "update",
50806
+ destructive: false,
50807
+ cli: {
50808
+ group: ["time-blocks"],
50809
+ command: "archive",
50810
+ interactive: "default"
50811
+ },
50812
+ mcp: { entityTool: "time-blocks" },
50813
+ inputSchema: /* @__PURE__ */ looseObject({
50814
+ task_id: /* @__PURE__ */ number$2(),
50815
+ time_block_id: /* @__PURE__ */ number$2()
50816
+ }),
50817
+ execute: (input, { client }) => {
50818
+ const data = input;
50819
+ return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
50820
+ client.httpClient,
50821
+ client.organizationId,
50822
+ client.workspaceIdNumber,
50823
+ data.task_id,
50824
+ data.time_block_id,
50825
+ void 0
50826
+ ]));
50827
+ }
50828
+ },
50829
+ {
50830
+ id: "focus.time-blocks.bulk-create",
50831
+ family: "focus",
50832
+ resource: "time-blocks",
50833
+ action: "bulk-create",
50834
+ title: "Bulk Create Time Blocks",
50835
+ description: "Bulk Create Time Blocks.",
50836
+ safety: "create",
50837
+ destructive: false,
50838
+ cli: {
50839
+ group: ["time-blocks", "bulk"],
50840
+ command: "create",
50841
+ interactive: "default"
50842
+ },
50843
+ mcp: { entityTool: "time-blocks" },
50844
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
50845
+ start: apiDateTimeString,
50846
+ task_id: /* @__PURE__ */ number$2(),
50847
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50848
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50849
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
50850
+ })) }) }),
50851
+ execute: (input, { client }) => {
50852
+ const data = input;
50853
+ return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
50854
+ client.httpClient,
50855
+ client.organizationId,
50856
+ client.workspaceIdNumber,
50857
+ data.payload ?? data.data ?? data,
50858
+ void 0
50859
+ ]));
50860
+ }
50861
+ },
50862
+ {
50863
+ id: "focus.time-blocks.bulk-delete",
50864
+ family: "focus",
50865
+ resource: "time-blocks",
50866
+ action: "bulk-delete",
50867
+ title: "Bulk Delete Time Blocks",
50868
+ description: "Bulk Delete Time Blocks.",
50869
+ safety: "delete",
50870
+ destructive: true,
50871
+ cli: {
50872
+ group: ["time-blocks", "bulk"],
50873
+ command: "delete",
50874
+ interactive: "default"
50875
+ },
50876
+ mcp: { entityTool: "time-blocks" },
50877
+ inputSchema: /* @__PURE__ */ looseObject({
50878
+ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
50879
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
50880
+ }),
50881
+ execute: (input, { client }) => {
50882
+ const data = input;
50883
+ return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
50884
+ client.httpClient,
50885
+ client.organizationId,
50886
+ client.workspaceIdNumber,
50887
+ data.ids,
50888
+ data.outbound_sync,
50889
+ void 0
50890
+ ]));
50891
+ }
50892
+ },
50893
+ {
50894
+ id: "focus.time-blocks.bulk-partial-update",
50895
+ family: "focus",
50896
+ resource: "time-blocks",
50897
+ action: "bulk-partial-update",
50898
+ title: "Bulk Partial Update Time Blocks",
50899
+ description: "Bulk Partial Update Time Blocks.",
50900
+ safety: "update",
50901
+ destructive: false,
50902
+ cli: {
50903
+ group: ["time-blocks", "bulk"],
50904
+ command: "partial-update",
50905
+ interactive: "hidden"
50906
+ },
50907
+ mcp: { entityTool: "time-blocks" },
50908
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
50909
+ execute: (input, { client }) => {
50910
+ const data = input;
50911
+ return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
50912
+ client.httpClient,
50913
+ client.organizationId,
50914
+ client.workspaceIdNumber,
50915
+ data.payload ?? data.data ?? data,
50916
+ void 0
50917
+ ]));
50918
+ }
50919
+ },
50920
+ {
50921
+ id: "focus.time-blocks.create",
50922
+ family: "focus",
50923
+ resource: "time-blocks",
50924
+ action: "create",
50925
+ title: "Create Time Blocks",
50926
+ description: "Create Time Blocks.",
50927
+ safety: "create",
50928
+ destructive: false,
50929
+ cli: {
50930
+ group: ["time-blocks"],
50931
+ command: "create",
50932
+ interactive: "default"
50933
+ },
50934
+ mcp: { entityTool: "time-blocks" },
50935
+ inputSchema: /* @__PURE__ */ looseObject({
50936
+ payload: /* @__PURE__ */ looseObject({
50937
+ start: apiDateTimeString,
50938
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50939
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50940
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
50941
+ }),
50942
+ task_id: /* @__PURE__ */ number$2()
50943
+ }),
50944
+ execute: (input, { client }) => {
50945
+ const data = input;
50946
+ return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
50947
+ client.httpClient,
50948
+ client.organizationId,
50949
+ client.workspaceIdNumber,
50950
+ data.task_id,
50951
+ data.payload ?? data.data ?? data,
50952
+ void 0
50953
+ ]));
50954
+ }
50955
+ },
50956
+ {
50957
+ id: "focus.time-blocks.delete",
50958
+ family: "focus",
50959
+ resource: "time-blocks",
50960
+ action: "delete",
50961
+ title: "Delete Time Blocks",
50962
+ description: "Delete Time Blocks.",
50963
+ safety: "delete",
50964
+ destructive: true,
50965
+ cli: {
50966
+ group: ["time-blocks"],
50967
+ command: "delete",
50968
+ interactive: "default"
50969
+ },
50970
+ mcp: { entityTool: "time-blocks" },
50971
+ inputSchema: /* @__PURE__ */ looseObject({
50972
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50973
+ task_id: /* @__PURE__ */ number$2(),
50974
+ time_block_id: /* @__PURE__ */ number$2()
50975
+ }),
50976
+ execute: (input, { client }) => {
50977
+ const data = input;
50978
+ return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
50979
+ client.httpClient,
50980
+ client.organizationId,
50981
+ client.workspaceIdNumber,
50982
+ data.task_id,
50983
+ data.time_block_id,
50984
+ data.outbound_sync,
50985
+ void 0
50986
+ ]));
50987
+ }
50988
+ },
50989
+ {
50990
+ id: "focus.time-blocks.get",
50991
+ family: "focus",
50992
+ resource: "time-blocks",
50993
+ action: "get",
50994
+ title: "Get Time Blocks",
50995
+ description: "Get Time Blocks.",
50996
+ safety: "read",
50997
+ destructive: false,
50998
+ cli: {
50999
+ group: ["time-blocks"],
51000
+ command: "get",
51001
+ interactive: "available"
51002
+ },
51003
+ mcp: { entityTool: "time-blocks" },
51004
+ inputSchema: /* @__PURE__ */ looseObject({
51005
+ task_id: /* @__PURE__ */ number$2(),
51006
+ time_block_id: /* @__PURE__ */ number$2()
51007
+ }),
51008
+ execute: (input, { client }) => {
51009
+ const data = input;
51010
+ return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
51011
+ client.httpClient,
51012
+ client.organizationId,
51013
+ client.workspaceIdNumber,
51014
+ data.task_id,
51015
+ data.time_block_id,
51016
+ void 0
51017
+ ]));
51018
+ }
51019
+ },
51020
+ {
51021
+ id: "focus.time-blocks.get-range",
51022
+ family: "focus",
51023
+ resource: "time-blocks",
51024
+ action: "get-range",
51025
+ title: "Get Range Time Blocks",
51026
+ description: "Get Range Time Blocks.",
51027
+ safety: "read",
51028
+ destructive: false,
51029
+ cli: {
51030
+ group: ["time-blocks"],
51031
+ command: "get-range",
51032
+ interactive: "hidden"
51033
+ },
51034
+ mcp: { entityTool: "time-blocks" },
51035
+ inputSchema: /* @__PURE__ */ looseObject({
51036
+ archived: /* @__PURE__ */ unknown$1(),
51037
+ date_from: /* @__PURE__ */ unknown$1(),
51038
+ date_to: /* @__PURE__ */ unknown$1(),
51039
+ order_by: /* @__PURE__ */ unknown$1(),
51040
+ page: /* @__PURE__ */ number$2(),
51041
+ per_page: /* @__PURE__ */ unknown$1(),
51042
+ status_id: /* @__PURE__ */ number$2(),
51043
+ task_id: /* @__PURE__ */ number$2()
51044
+ }),
51045
+ execute: (input, { client }) => {
51046
+ const data = input;
51047
+ return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
51048
+ client.httpClient,
51049
+ client.organizationId,
51050
+ client.workspaceIdNumber,
51051
+ data,
51052
+ void 0
51053
+ ]));
51054
+ }
51055
+ },
51056
+ {
51057
+ id: "focus.time-blocks.get-range-stream",
51058
+ family: "focus",
51059
+ resource: "time-blocks",
51060
+ action: "get-range-stream",
51061
+ title: "Get Range Stream Time Blocks",
51062
+ description: "Get Range Stream Time Blocks.",
51063
+ safety: "read",
51064
+ destructive: false,
51065
+ cli: {
51066
+ group: ["time-blocks"],
51067
+ command: "get-range-stream",
51068
+ interactive: "hidden"
51069
+ },
51070
+ mcp: { entityTool: "time-blocks" },
51071
+ inputSchema: /* @__PURE__ */ looseObject({
51072
+ archived: /* @__PURE__ */ unknown$1(),
51073
+ date_from: /* @__PURE__ */ unknown$1(),
51074
+ date_to: /* @__PURE__ */ unknown$1(),
51075
+ order_by: /* @__PURE__ */ unknown$1(),
51076
+ status_id: /* @__PURE__ */ number$2(),
51077
+ task_id: /* @__PURE__ */ number$2()
51078
+ }),
51079
+ execute: (input, { client }) => {
51080
+ const data = input;
51081
+ return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
51082
+ client.httpClient,
51083
+ client.organizationId,
51084
+ client.workspaceIdNumber,
51085
+ data,
51086
+ void 0
51087
+ ]));
51088
+ }
51089
+ },
51090
+ {
51091
+ id: "focus.time-blocks.get-task-time-blocks",
51092
+ family: "focus",
51093
+ resource: "time-blocks",
51094
+ action: "get-task-time-blocks",
51095
+ title: "Get Task Time Blocks Time Blocks",
51096
+ description: "Get Task Time Blocks Time Blocks.",
51097
+ safety: "read",
51098
+ destructive: false,
51099
+ cli: {
51100
+ group: ["time-blocks"],
51101
+ command: "get-task-time-blocks",
51102
+ interactive: "hidden"
51103
+ },
51104
+ mcp: { entityTool: "time-blocks" },
51105
+ inputSchema: /* @__PURE__ */ looseObject({
51106
+ archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51107
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51108
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51109
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51110
+ task_id: /* @__PURE__ */ number$2()
51111
+ }),
51112
+ execute: (input, { client }) => {
51113
+ const data = input;
51114
+ return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
51115
+ client.httpClient,
51116
+ client.organizationId,
51117
+ client.workspaceIdNumber,
51118
+ data.task_id,
51119
+ data,
51120
+ void 0
51121
+ ]));
51122
+ }
51123
+ },
51124
+ {
51125
+ id: "focus.time-blocks.partial-update",
51126
+ family: "focus",
51127
+ resource: "time-blocks",
51128
+ action: "partial-update",
51129
+ title: "Partial Update Time Blocks",
51130
+ description: "Partial Update Time Blocks.",
51131
+ safety: "update",
51132
+ destructive: false,
51133
+ cli: {
51134
+ group: ["time-blocks"],
51135
+ command: "partial-update",
51136
+ interactive: "default"
51137
+ },
51138
+ mcp: { entityTool: "time-blocks" },
51139
+ inputSchema: /* @__PURE__ */ looseObject({
51140
+ payload: /* @__PURE__ */ looseObject({
51141
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51142
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51143
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51144
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
51145
+ task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51146
+ }),
51147
+ task_id: /* @__PURE__ */ number$2(),
51148
+ time_block_id: /* @__PURE__ */ number$2()
51149
+ }),
51150
+ execute: (input, { client }) => {
51151
+ const data = input;
51152
+ return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
51153
+ client.httpClient,
51154
+ client.organizationId,
51155
+ client.workspaceIdNumber,
51156
+ data.task_id,
51157
+ data.time_block_id,
51158
+ data.payload ?? data.data ?? data,
51159
+ void 0
51160
+ ]));
51161
+ }
51162
+ },
51163
+ {
51164
+ id: "focus.time-blocks.restore",
51165
+ family: "focus",
51166
+ resource: "time-blocks",
51167
+ action: "restore",
51168
+ title: "Restore Time Blocks",
51169
+ description: "Restore Time Blocks.",
51170
+ safety: "update",
51171
+ destructive: false,
51172
+ cli: {
51173
+ group: ["time-blocks"],
51174
+ command: "restore",
51175
+ interactive: "default"
51176
+ },
51177
+ mcp: { entityTool: "time-blocks" },
51178
+ inputSchema: /* @__PURE__ */ looseObject({
51179
+ task_id: /* @__PURE__ */ number$2(),
51180
+ time_block_id: /* @__PURE__ */ number$2()
51181
+ }),
51182
+ execute: (input, { client }) => {
51183
+ const data = input;
51184
+ return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
51185
+ client.httpClient,
51186
+ client.organizationId,
51187
+ client.workspaceIdNumber,
51188
+ data.task_id,
51189
+ data.time_block_id,
51190
+ void 0
51191
+ ]));
51192
+ }
51193
+ },
51194
+ {
51195
+ id: "focus.time-blocks.unarchive",
51196
+ family: "focus",
51197
+ resource: "time-blocks",
51198
+ action: "unarchive",
51199
+ title: "Unarchive Time Blocks",
51200
+ description: "Unarchive Time Blocks.",
51201
+ safety: "update",
51202
+ destructive: false,
51203
+ cli: {
51204
+ group: ["time-blocks"],
51205
+ command: "unarchive",
51206
+ interactive: "default"
51207
+ },
51208
+ mcp: { entityTool: "time-blocks" },
51209
+ inputSchema: /* @__PURE__ */ looseObject({
51210
+ task_id: /* @__PURE__ */ number$2(),
51211
+ time_block_id: /* @__PURE__ */ number$2()
51212
+ }),
51213
+ execute: (input, { client }) => {
51214
+ const data = input;
51215
+ return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
51323
51216
  client.httpClient,
51324
51217
  client.organizationId,
51325
51218
  client.workspaceIdNumber,
51326
51219
  data.task_id,
51327
- data.payload ?? data.data ?? data,
51220
+ data.time_block_id,
51328
51221
  void 0
51329
51222
  ]));
51330
51223
  }
51331
51224
  },
51332
51225
  {
51333
- id: "focus.tasks.update-calendar-range",
51226
+ id: "focus.time-blocks.update",
51334
51227
  family: "focus",
51335
- resource: "tasks",
51336
- action: "update-calendar-range",
51337
- title: "Update Calendar Range Tasks",
51338
- description: "Update Calendar Range Tasks.",
51228
+ resource: "time-blocks",
51229
+ action: "update",
51230
+ title: "Update Time Blocks",
51231
+ description: "Update Time Blocks.",
51339
51232
  safety: "update",
51340
51233
  destructive: false,
51341
51234
  cli: {
51342
- group: ["tasks"],
51343
- command: "update-calendar-range",
51235
+ group: ["time-blocks"],
51236
+ command: "update",
51344
51237
  interactive: "default"
51345
51238
  },
51346
- mcp: { entityTool: "tasks" },
51239
+ mcp: { entityTool: "time-blocks" },
51347
51240
  inputSchema: /* @__PURE__ */ looseObject({
51348
- date_from: /* @__PURE__ */ string$1(),
51349
- date_to: /* @__PURE__ */ string$1(),
51350
- skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51241
+ payload: /* @__PURE__ */ looseObject({
51242
+ start: apiDateTimeString,
51243
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51244
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51245
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51246
+ }),
51247
+ task_id: /* @__PURE__ */ number$2(),
51248
+ time_block_id: /* @__PURE__ */ number$2()
51351
51249
  }),
51352
51250
  execute: (input, { client }) => {
51353
51251
  const data = input;
51354
- return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
51252
+ return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
51355
51253
  client.httpClient,
51356
51254
  client.organizationId,
51357
51255
  client.workspaceIdNumber,
51358
- data.date_from,
51359
- data.date_to,
51360
- data.skip_provider_refresh,
51256
+ data.task_id,
51257
+ data.time_block_id,
51258
+ data.payload ?? data.data ?? data,
51361
51259
  void 0
51362
51260
  ]));
51363
51261
  }
@@ -51577,8 +51475,7 @@ const generatedFocusOperations = [
51577
51475
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
51578
51476
  "project",
51579
51477
  "task",
51580
- "description",
51581
- "tags"
51478
+ "description"
51582
51479
  ]) })),
51583
51480
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51584
51481
  }) }),
@@ -51608,7 +51505,6 @@ const generatedFocusOperations = [
51608
51505
  },
51609
51506
  mcp: { entityTool: "time-entries" },
51610
51507
  inputSchema: /* @__PURE__ */ looseObject({
51611
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51612
51508
  payload: /* @__PURE__ */ looseObject({
51613
51509
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51614
51510
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -51619,12 +51515,11 @@ const generatedFocusOperations = [
51619
51515
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51620
51516
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51621
51517
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51622
- repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51623
51518
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
51519
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51624
51520
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51625
51521
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51626
51522
  }),
51627
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51628
51523
  task_id: /* @__PURE__ */ number$2()
51629
51524
  }),
51630
51525
  execute: (input, { client }) => {
@@ -51635,8 +51530,6 @@ const generatedFocusOperations = [
51635
51530
  client.workspaceIdNumber,
51636
51531
  data.task_id,
51637
51532
  data.payload ?? data.data ?? data,
51638
- data.from_recurring_task_id,
51639
- data.return_occurrence,
51640
51533
  void 0
51641
51534
  ]));
51642
51535
  }
@@ -51656,25 +51549,21 @@ const generatedFocusOperations = [
51656
51549
  interactive: "default"
51657
51550
  },
51658
51551
  mcp: { entityTool: "time-entries" },
51659
- inputSchema: /* @__PURE__ */ looseObject({
51660
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51661
- payload: /* @__PURE__ */ looseObject({
51662
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51663
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51664
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51665
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51666
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51667
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51668
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51669
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51670
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51671
- repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51672
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
51673
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51674
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51675
- }),
51676
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51677
- }),
51552
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
51553
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51554
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51555
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51556
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51557
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51558
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51559
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51560
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51561
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51562
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
51563
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51564
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51565
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51566
+ }) }),
51678
51567
  execute: (input, { client }) => {
51679
51568
  const data = input;
51680
51569
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -51682,8 +51571,6 @@ const generatedFocusOperations = [
51682
51571
  client.organizationId,
51683
51572
  client.workspaceIdNumber,
51684
51573
  data.payload ?? data.data ?? data,
51685
- data.from_recurring_task_id,
51686
- data.return_occurrence,
51687
51574
  void 0
51688
51575
  ]));
51689
51576
  }
@@ -51703,11 +51590,7 @@ const generatedFocusOperations = [
51703
51590
  interactive: "default"
51704
51591
  },
51705
51592
  mcp: { entityTool: "time-entries" },
51706
- inputSchema: /* @__PURE__ */ looseObject({
51707
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51708
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51709
- time_entry_id: /* @__PURE__ */ number$2()
51710
- }),
51593
+ inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
51711
51594
  execute: (input, { client }) => {
51712
51595
  const data = input;
51713
51596
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -51715,8 +51598,6 @@ const generatedFocusOperations = [
51715
51598
  client.organizationId,
51716
51599
  client.workspaceIdNumber,
51717
51600
  data.time_entry_id,
51718
- data.from_recurring_task_id,
51719
- data.return_occurrence,
51720
51601
  void 0
51721
51602
  ]));
51722
51603
  }
@@ -51797,7 +51678,6 @@ const generatedFocusOperations = [
51797
51678
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
51798
51679
  include_taskless: /* @__PURE__ */ unknown$1(),
51799
51680
  order_by: /* @__PURE__ */ unknown$1(),
51800
- project_id: /* @__PURE__ */ number$2(),
51801
51681
  status_id: /* @__PURE__ */ number$2(),
51802
51682
  task_id: /* @__PURE__ */ number$2(),
51803
51683
  type: /* @__PURE__ */ unknown$1()
@@ -51813,6 +51693,33 @@ const generatedFocusOperations = [
51813
51693
  ]));
51814
51694
  }
51815
51695
  },
51696
+ {
51697
+ id: "focus.time-entries.get-stream-time-entries-time-block-ids",
51698
+ family: "focus",
51699
+ resource: "time-entries",
51700
+ action: "get-stream-time-entries-time-block-ids",
51701
+ title: "Get Stream Time Entries Time Block Ids Time Entries",
51702
+ description: "Get Stream Time Entries Time Block Ids Time Entries.",
51703
+ safety: "read",
51704
+ destructive: false,
51705
+ cli: {
51706
+ group: ["time-entries"],
51707
+ command: "get-stream-time-entries-time-block-ids",
51708
+ interactive: "available"
51709
+ },
51710
+ mcp: { entityTool: "time-entries" },
51711
+ inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
51712
+ execute: (input, { client }) => {
51713
+ const data = input;
51714
+ return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
51715
+ client.httpClient,
51716
+ client.organizationId,
51717
+ client.workspaceIdNumber,
51718
+ data,
51719
+ void 0
51720
+ ]));
51721
+ }
51722
+ },
51816
51723
  {
51817
51724
  id: "focus.time-entries.get-task-time-entries",
51818
51725
  family: "focus",
@@ -51834,6 +51741,7 @@ const generatedFocusOperations = [
51834
51741
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51835
51742
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51836
51743
  task_id: /* @__PURE__ */ number$2(),
51744
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51837
51745
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
51838
51746
  }),
51839
51747
  execute: (input, { client }) => {
@@ -51946,14 +51854,12 @@ const generatedFocusOperations = [
51946
51854
  },
51947
51855
  mcp: { entityTool: "time-entries" },
51948
51856
  inputSchema: /* @__PURE__ */ looseObject({
51949
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51950
51857
  payload: /* @__PURE__ */ looseObject({
51951
51858
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51952
51859
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51953
51860
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51954
51861
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
51955
51862
  }),
51956
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51957
51863
  time_entry_id: /* @__PURE__ */ number$2()
51958
51864
  }),
51959
51865
  execute: (input, { client }) => {
@@ -51964,8 +51870,6 @@ const generatedFocusOperations = [
51964
51870
  client.workspaceIdNumber,
51965
51871
  data.time_entry_id,
51966
51872
  data.payload ?? data.data ?? data,
51967
- data.from_recurring_task_id,
51968
- data.return_occurrence,
51969
51873
  void 0
51970
51874
  ]));
51971
51875
  }
@@ -52223,7 +52127,6 @@ const generatedFocusOperations = [
52223
52127
  },
52224
52128
  mcp: { entityTool: "time-entries" },
52225
52129
  inputSchema: /* @__PURE__ */ looseObject({
52226
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52227
52130
  payload: /* @__PURE__ */ looseObject({
52228
52131
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
52229
52132
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -52233,9 +52136,9 @@ const generatedFocusOperations = [
52233
52136
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52234
52137
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52235
52138
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
52139
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52236
52140
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
52237
52141
  }),
52238
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52239
52142
  time_entry_id: /* @__PURE__ */ number$2()
52240
52143
  }),
52241
52144
  execute: (input, { client }) => {
@@ -52246,8 +52149,6 @@ const generatedFocusOperations = [
52246
52149
  client.workspaceIdNumber,
52247
52150
  data.time_entry_id,
52248
52151
  data.payload ?? data.data ?? data,
52249
- data.from_recurring_task_id,
52250
- data.return_occurrence,
52251
52152
  void 0
52252
52153
  ]));
52253
52154
  }
@@ -52312,118 +52213,6 @@ const generatedFocusOperations = [
52312
52213
  ]));
52313
52214
  }
52314
52215
  },
52315
- {
52316
- id: "focus.time-off.get-timeoff-balance-changes-for-user",
52317
- family: "focus",
52318
- resource: "time-off",
52319
- action: "get-timeoff-balance-changes-for-user",
52320
- title: "Get Timeoff Balance Changes For User Time Off",
52321
- description: "Get Timeoff Balance Changes For User Time Off.",
52322
- safety: "read",
52323
- destructive: false,
52324
- cli: {
52325
- group: ["time-off"],
52326
- command: "get-timeoff-balance-changes-for-user",
52327
- interactive: "hidden"
52328
- },
52329
- mcp: { entityTool: "time-off" },
52330
- inputSchema: /* @__PURE__ */ looseObject({
52331
- category_id: /* @__PURE__ */ number$2(),
52332
- page: /* @__PURE__ */ number$2(),
52333
- rows: /* @__PURE__ */ unknown$1(),
52334
- user_id: /* @__PURE__ */ number$2(),
52335
- year: /* @__PURE__ */ unknown$1()
52336
- }),
52337
- execute: (input, { client }) => {
52338
- const data = input;
52339
- return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
52340
- client.httpClient,
52341
- client.organizationId,
52342
- data.user_id,
52343
- data,
52344
- void 0
52345
- ]));
52346
- }
52347
- },
52348
- {
52349
- id: "focus.time-off.get-timeoff-balances-for-user",
52350
- family: "focus",
52351
- resource: "time-off",
52352
- action: "get-timeoff-balances-for-user",
52353
- title: "Get Timeoff Balances For User Time Off",
52354
- description: "Get Timeoff Balances For User Time Off.",
52355
- safety: "read",
52356
- destructive: false,
52357
- cli: {
52358
- group: ["time-off"],
52359
- command: "get-timeoff-balances-for-user",
52360
- interactive: "available"
52361
- },
52362
- mcp: { entityTool: "time-off" },
52363
- inputSchema: /* @__PURE__ */ looseObject({
52364
- category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52365
- date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
52366
- user_id: /* @__PURE__ */ number$2()
52367
- }),
52368
- execute: (input, { client }) => {
52369
- const data = input;
52370
- return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
52371
- client.httpClient,
52372
- client.organizationId,
52373
- data.user_id,
52374
- data,
52375
- void 0
52376
- ]));
52377
- }
52378
- },
52379
- {
52380
- id: "focus.time-off.get-timeoff-categories",
52381
- family: "focus",
52382
- resource: "time-off",
52383
- action: "get-timeoff-categories",
52384
- title: "Get Timeoff Categories Time Off",
52385
- description: "Get Timeoff Categories Time Off.",
52386
- safety: "read",
52387
- destructive: false,
52388
- cli: {
52389
- group: ["time-off"],
52390
- command: "get-timeoff-categories",
52391
- interactive: "hidden"
52392
- },
52393
- mcp: { entityTool: "time-off" },
52394
- inputSchema: /* @__PURE__ */ looseObject({}),
52395
- execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
52396
- client.httpClient,
52397
- client.organizationId,
52398
- void 0
52399
- ]))
52400
- },
52401
- {
52402
- id: "focus.time-off.get-timeoff-category",
52403
- family: "focus",
52404
- resource: "time-off",
52405
- action: "get-timeoff-category",
52406
- title: "Get Timeoff Category Time Off",
52407
- description: "Get Timeoff Category Time Off.",
52408
- safety: "read",
52409
- destructive: false,
52410
- cli: {
52411
- group: ["time-off"],
52412
- command: "get-timeoff-category",
52413
- interactive: "available"
52414
- },
52415
- mcp: { entityTool: "time-off" },
52416
- inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
52417
- execute: (input, { client }) => {
52418
- const data = input;
52419
- return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
52420
- client.httpClient,
52421
- client.organizationId,
52422
- data.category_id,
52423
- void 0
52424
- ]));
52425
- }
52426
- },
52427
52216
  {
52428
52217
  id: "focus.time-off.get-timeoff-for-user",
52429
52218
  family: "focus",
@@ -52875,40 +52664,6 @@ const generatedFocusOperations = [
52875
52664
  ]));
52876
52665
  }
52877
52666
  },
52878
- {
52879
- id: "focus.timesheets.get-status-counts",
52880
- family: "focus",
52881
- resource: "timesheets",
52882
- action: "get-status-counts",
52883
- title: "Get Status Counts Timesheets",
52884
- description: "Get Status Counts Timesheets.",
52885
- safety: "read",
52886
- destructive: false,
52887
- cli: {
52888
- group: ["timesheets"],
52889
- command: "get-status-counts",
52890
- interactive: "hidden"
52891
- },
52892
- mcp: { entityTool: "timesheets" },
52893
- inputSchema: /* @__PURE__ */ looseObject({
52894
- approver_user_account_ids: /* @__PURE__ */ unknown$1(),
52895
- date_from: /* @__PURE__ */ unknown$1(),
52896
- date_to: /* @__PURE__ */ unknown$1(),
52897
- setup_id: /* @__PURE__ */ number$2(),
52898
- team_ids: /* @__PURE__ */ unknown$1(),
52899
- user_account_ids: /* @__PURE__ */ unknown$1()
52900
- }),
52901
- execute: (input, { client }) => {
52902
- const data = input;
52903
- return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
52904
- client.httpClient,
52905
- client.organizationId,
52906
- client.workspaceIdNumber,
52907
- data,
52908
- void 0
52909
- ]));
52910
- }
52911
- },
52912
52667
  {
52913
52668
  id: "focus.timesheets.remove-timesheet-flag",
52914
52669
  family: "focus",
@@ -53458,33 +53213,6 @@ const generatedFocusOperations = [
53458
53213
  ]));
53459
53214
  }
53460
53215
  },
53461
- {
53462
- id: "focus.track-team-invites.post",
53463
- family: "focus",
53464
- resource: "track-team-invites",
53465
- action: "post",
53466
- title: "Post Track Team Invites",
53467
- description: "Post Track Team Invites.",
53468
- safety: "create",
53469
- destructive: false,
53470
- cli: {
53471
- group: ["track-team-invites"],
53472
- command: "post",
53473
- interactive: "default"
53474
- },
53475
- mcp: { entityTool: "track-team-invites" },
53476
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
53477
- execute: (input, { client }) => {
53478
- const data = input;
53479
- return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
53480
- client.httpClient,
53481
- client.organizationId,
53482
- client.workspaceIdNumber,
53483
- data.payload ?? data.data ?? data,
53484
- void 0
53485
- ]));
53486
- }
53487
- },
53488
53216
  {
53489
53217
  id: "focus.users.list",
53490
53218
  family: "focus",
@@ -53506,56 +53234,6 @@ const generatedFocusOperations = [
53506
53234
  return client.listOrgUsers(data);
53507
53235
  }
53508
53236
  },
53509
- {
53510
- id: "focus.users.settings-email-unsubscribe",
53511
- family: "focus",
53512
- resource: "users",
53513
- action: "settings-email-unsubscribe",
53514
- title: "Settings Email Unsubscribe Users",
53515
- description: "Settings Email Unsubscribe Users.",
53516
- safety: "update",
53517
- destructive: false,
53518
- cli: {
53519
- group: ["users", "settings"],
53520
- command: "email-unsubscribe",
53521
- interactive: "default"
53522
- },
53523
- mcp: { entityTool: "users" },
53524
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53525
- execute: (input, { client }) => {
53526
- const data = input;
53527
- return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
53528
- client.httpClient,
53529
- data.token,
53530
- void 0
53531
- ]));
53532
- }
53533
- },
53534
- {
53535
- id: "focus.users.settings-email-unsubscribe-page",
53536
- family: "focus",
53537
- resource: "users",
53538
- action: "settings-email-unsubscribe-page",
53539
- title: "Settings Email Unsubscribe Page Users",
53540
- description: "Settings Email Unsubscribe Page Users.",
53541
- safety: "read",
53542
- destructive: false,
53543
- cli: {
53544
- group: ["users", "settings"],
53545
- command: "email-unsubscribe-page",
53546
- interactive: "available"
53547
- },
53548
- mcp: { entityTool: "users" },
53549
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53550
- execute: (input, { client }) => {
53551
- const data = input;
53552
- return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
53553
- client.httpClient,
53554
- data.token,
53555
- void 0
53556
- ]));
53557
- }
53558
- },
53559
53237
  {
53560
53238
  id: "focus.users.settings-list",
53561
53239
  family: "focus",
@@ -53617,9 +53295,6 @@ const generatedFocusOperations = [
53617
53295
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53618
53296
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53619
53297
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53620
- notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53621
- notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53622
- notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53623
53298
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53624
53299
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53625
53300
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -55162,7 +54837,7 @@ function registerWorkspaceTools(server) {
55162
54837
  //#region src/package-version.ts
55163
54838
  function mcpPackageVersion() {
55164
54839
  try {
55165
- return "1.11.86";
54840
+ return "1.11.88";
55166
54841
  } catch {
55167
54842
  return "unknown";
55168
54843
  }
@@ -55337,7 +55012,7 @@ import_main.default.config({
55337
55012
  quiet: true,
55338
55013
  ignore: ["MISSING_ENV_FILE"]
55339
55014
  });
55340
- const packageVersion = "1.11.86";
55015
+ const packageVersion = "1.11.88";
55341
55016
  function resolvePublicUrls() {
55342
55017
  return {
55343
55018
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -55402,4 +55077,4 @@ function bootstrapServer(options = {}) {
55402
55077
  //#endregion
55403
55078
  export { getProductAnalyticsDistinctId as a, resolvePublicSentryDsn as c, captureToolInvocation as i, shutdownProductAnalytics as l, runMcpCli as n, initProductAnalytics as o, PUBLIC_SENTRY_PRIVACY_OPTIONS as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
55404
55079
 
55405
- //# sourceMappingURL=src-DgVyWhG2.js.map
55080
+ //# sourceMappingURL=src-dkhZSWKr.js.map