@togglhq/mcp 1.11.94 → 1.11.95

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,6 +34683,7 @@ 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()),
34686
34687
  client: /* @__PURE__ */ optional(ClientLiteSchema),
34687
34688
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34688
34689
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -34769,6 +34770,7 @@ const TaskSchema = /* @__PURE__ */ object({
34769
34770
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34770
34771
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34771
34772
  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."))),
34772
34774
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34773
34775
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34774
34776
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -34830,6 +34832,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34830
34832
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34831
34833
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34832
34834
  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."))),
34833
34836
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34834
34837
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34835
34838
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -34990,6 +34993,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
34990
34993
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34991
34994
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34992
34995
  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."))),
34993
34998
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34994
34999
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34995
35000
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -35004,21 +35009,21 @@ const TimeEntrySchema = /* @__PURE__ */ object({
35004
35009
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
35005
35010
  });
35006
35011
  const DtoAggregationFilterRequestSchema = /* @__PURE__ */ object({
35007
- aggregation: /* @__PURE__ */ object({
35012
+ aggregation: /* @__PURE__ */ optional(/* @__PURE__ */ object({
35008
35013
  function: /* @__PURE__ */ string(),
35009
35014
  property: /* @__PURE__ */ string()
35010
- }),
35011
- conditions: /* @__PURE__ */ lazy(() => DtoAggregationsFilterRequestSchema),
35012
- operator: /* @__PURE__ */ string(),
35013
- property: /* @__PURE__ */ string(),
35014
- value: /* @__PURE__ */ unknown()
35015
+ })),
35016
+ conditions: /* @__PURE__ */ optional(/* @__PURE__ */ lazy(() => DtoAggregationsFilterRequestSchema)),
35017
+ operator: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35018
+ property: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35019
+ value: /* @__PURE__ */ optional(/* @__PURE__ */ unknown())
35015
35020
  });
35016
35021
  const DtoAggregationsFilterRequestSchema = /* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoAggregationFilterRequestSchema));
35017
35022
  const DtoFilterRequestSchema = /* @__PURE__ */ object({
35018
- conditions: /* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoFilterRequestSchema)),
35019
- operator: /* @__PURE__ */ string(),
35020
- property: /* @__PURE__ */ string(),
35021
- value: /* @__PURE__ */ unknown()
35023
+ conditions: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoFilterRequestSchema))),
35024
+ operator: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35025
+ property: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35026
+ value: /* @__PURE__ */ optional(/* @__PURE__ */ unknown())
35022
35027
  });
35023
35028
  const ClientSchema = /* @__PURE__ */ object({
35024
35029
  active: /* @__PURE__ */ boolean(),
@@ -35075,8 +35080,10 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
35075
35080
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35076
35081
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35077
35082
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35083
+ filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35078
35084
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
35079
35085
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35086
+ picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35080
35087
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
35081
35088
  recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35082
35089
  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)."))),
@@ -35132,6 +35139,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
35132
35139
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35133
35140
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35134
35141
  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."))),
35135
35144
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35136
35145
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35137
35146
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -35304,8 +35313,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35304
35313
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35305
35314
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35306
35315
  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()),
35309
35316
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35310
35317
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35311
35318
  pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35362,6 +35369,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35362
35369
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35363
35370
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35364
35371
  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."))),
35365
35373
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35366
35374
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35367
35375
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -35398,6 +35406,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35398
35406
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35399
35407
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35400
35408
  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."))),
35401
35410
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35402
35411
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35403
35412
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -35418,7 +35427,6 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
35418
35427
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35419
35428
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35420
35429
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35421
- time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35422
35430
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35423
35431
  user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
35424
35432
  });
@@ -35447,8 +35455,7 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
35447
35455
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35448
35456
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35449
35457
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35450
- task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35451
- time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
35458
+ task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
35452
35459
  });
35453
35460
  const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
35454
35461
  //#endregion
@@ -37322,7 +37329,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
37322
37329
  })
37323
37330
  }).json();
37324
37331
  }
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) {
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) {
37326
37333
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
37327
37334
  signal,
37328
37335
  searchParams: buildSearchParams$2({
@@ -37343,6 +37350,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
37343
37350
  include_rates,
37344
37351
  pinned_ids,
37345
37352
  has_group,
37353
+ track_without_focus,
37346
37354
  cf_filter,
37347
37355
  include_custom_fields,
37348
37356
  include_calendar_integration
@@ -37444,10 +37452,20 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
37444
37452
  }
37445
37453
  //#endregion
37446
37454
  //#region ../focus-queries/dist/projects/requests.ts
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) {
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) {
37448
37456
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37449
37457
  signal,
37450
37458
  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,
37451
37469
  page,
37452
37470
  per_page,
37453
37471
  order_by,
@@ -37697,7 +37715,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
37697
37715
  }
37698
37716
  //#endregion
37699
37717
  //#region ../focus-queries/dist/tasks/requests.ts
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) {
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) {
37701
37719
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
37702
37720
  signal,
37703
37721
  searchParams: buildSearchParams$2({
@@ -37710,7 +37728,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37710
37728
  toggl_user_id,
37711
37729
  name,
37712
37730
  has_time_entries,
37713
- has_time_blocks,
37714
37731
  has_dates,
37715
37732
  private: private_,
37716
37733
  archived,
@@ -37733,10 +37750,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37733
37750
  priority,
37734
37751
  is_priority,
37735
37752
  state,
37736
- timeblock_start_from,
37737
- timeblock_start_until,
37738
- time_block_id,
37739
- time_block_completed,
37740
37753
  team_id,
37741
37754
  assignee_team_id,
37742
37755
  assignee_user_id,
@@ -37748,7 +37761,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37748
37761
  include_assignees,
37749
37762
  include_parent_matches,
37750
37763
  disable_aggregations,
37751
- cf_filter
37764
+ cf_filter,
37765
+ recurring_occurrences_after,
37766
+ max_recurring_occurrences_after,
37767
+ recurring_task_read,
37768
+ include_projected_occurrences
37752
37769
  })
37753
37770
  }).json();
37754
37771
  }
@@ -37823,16 +37840,46 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
37823
37840
  })
37824
37841
  }).json();
37825
37842
  }
37826
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
37843
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
37827
37844
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
37828
37845
  signal,
37829
37846
  searchParams: buildSearchParams$2({
37830
37847
  date_from,
37831
- date_to
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
37832
37879
  })
37833
37880
  }).json();
37834
37881
  }
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) {
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) {
37836
37883
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
37837
37884
  signal,
37838
37885
  searchParams: buildSearchParams$2({
@@ -37848,11 +37895,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
37848
37895
  assignee_team_id,
37849
37896
  assignee_user_id,
37850
37897
  tag_id,
37851
- include_assignees
37898
+ include_assignees,
37899
+ recurring_occurrences_after,
37900
+ max_recurring_occurrences_after,
37901
+ recurring_task_read,
37902
+ include_projected_occurrences
37852
37903
  })
37853
37904
  }).json();
37854
37905
  }
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) {
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) {
37856
37907
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
37857
37908
  signal,
37858
37909
  searchParams: buildSearchParams$2({
@@ -37864,7 +37915,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37864
37915
  name,
37865
37916
  include_parent_matches,
37866
37917
  has_time_entries,
37867
- has_time_blocks,
37868
37918
  has_dates,
37869
37919
  private: private_,
37870
37920
  archived,
@@ -37887,8 +37937,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37887
37937
  priority,
37888
37938
  is_priority,
37889
37939
  state,
37890
- time_block_id,
37891
- time_block_completed,
37892
37940
  team_id,
37893
37941
  assignee_team_id,
37894
37942
  assignee_user_id,
@@ -37897,7 +37945,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37897
37945
  recurring_task_ids,
37898
37946
  client_id,
37899
37947
  include_assignees,
37900
- cf_filter
37948
+ cf_filter,
37949
+ recurring_occurrences_after,
37950
+ max_recurring_occurrences_after,
37951
+ recurring_task_read,
37952
+ include_projected_occurrences
37901
37953
  })
37902
37954
  }).json();
37903
37955
  }
@@ -37952,6 +38004,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
37952
38004
  })
37953
38005
  }).json();
37954
38006
  }
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
+ }
37955
38013
  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) {
37956
38014
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
37957
38015
  signal,
@@ -37977,7 +38035,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
37977
38035
  }
37978
38036
  //#endregion
37979
38037
  //#region ../focus-queries/dist/time-entries/requests.ts
37980
- async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived, time_block_id } = {}, signal) {
38038
+ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
37981
38039
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
37982
38040
  signal,
37983
38041
  searchParams: buildSearchParams$2({
@@ -37985,21 +38043,28 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
37985
38043
  per_page,
37986
38044
  order_by,
37987
38045
  type,
37988
- archived,
37989
- time_block_id
38046
+ archived
37990
38047
  })
37991
38048
  }).json();
37992
38049
  }
37993
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
38050
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
37994
38051
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
37995
38052
  signal,
37996
- json: data
38053
+ json: data,
38054
+ searchParams: buildSearchParams$2({
38055
+ from_recurring_task_id,
38056
+ return_occurrence
38057
+ })
37997
38058
  }).json();
37998
38059
  }
37999
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
38060
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
38000
38061
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
38001
38062
  signal,
38002
- json: data
38063
+ json: data,
38064
+ searchParams: buildSearchParams$2({
38065
+ from_recurring_task_id,
38066
+ return_occurrence
38067
+ })
38003
38068
  }).json();
38004
38069
  }
38005
38070
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -38050,7 +38115,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
38050
38115
  json: data
38051
38116
  }).json();
38052
38117
  }
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) {
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) {
38054
38119
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
38055
38120
  signal,
38056
38121
  searchParams: buildSearchParams$2({
@@ -38058,6 +38123,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
38058
38123
  date_to,
38059
38124
  task_id,
38060
38125
  status_id,
38126
+ project_id,
38061
38127
  type,
38062
38128
  order_by,
38063
38129
  archived,
@@ -38072,28 +38138,36 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
38072
38138
  json: data
38073
38139
  }).json();
38074
38140
  }
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
- }
38081
38141
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
38082
38142
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
38083
38143
  }
38084
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
38144
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
38085
38145
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38086
38146
  signal,
38087
- json: data
38147
+ json: data,
38148
+ searchParams: buildSearchParams$2({
38149
+ from_recurring_task_id,
38150
+ return_occurrence
38151
+ })
38088
38152
  }).json();
38089
38153
  }
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();
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();
38092
38162
  }
38093
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
38163
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
38094
38164
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38095
38165
  signal,
38096
- json: data
38166
+ json: data,
38167
+ searchParams: buildSearchParams$2({
38168
+ from_recurring_task_id,
38169
+ return_occurrence
38170
+ })
38097
38171
  }).json();
38098
38172
  }
38099
38173
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -41919,13 +41993,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
41919
41993
  }
41920
41994
  //#endregion
41921
41995
  //#region ../focus-queries/dist/audit-log/requests.ts
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) {
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) {
41923
41997
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
41924
41998
  signal,
41925
41999
  searchParams: buildSearchParams$2({
41926
42000
  workspace_id,
41927
42001
  entity_type,
41928
42002
  entity_id,
42003
+ project_id,
42004
+ custom_field_id,
41929
42005
  action,
41930
42006
  user_id,
41931
42007
  page_size,
@@ -41934,12 +42010,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
41934
42010
  })
41935
42011
  }).json();
41936
42012
  }
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) {
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) {
41938
42014
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
41939
42015
  signal,
41940
42016
  searchParams: buildSearchParams$2({
41941
42017
  entity_type,
41942
42018
  entity_id,
42019
+ project_id,
42020
+ custom_field_id,
41943
42021
  action,
41944
42022
  user_id,
41945
42023
  page_size,
@@ -42092,13 +42170,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
42092
42170
  }
42093
42171
  //#endregion
42094
42172
  //#region ../focus-queries/dist/capacities/requests.ts
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) {
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) {
42096
42174
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
42097
42175
  signal,
42098
42176
  searchParams: buildSearchParams$2({
42099
- user_id,
42100
42177
  start_date,
42101
42178
  end_date,
42179
+ user_id,
42180
+ team_id,
42102
42181
  private: private_,
42103
42182
  task_source,
42104
42183
  unit,
@@ -42158,6 +42237,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
42158
42237
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42159
42238
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
42160
42239
  }
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
+ }
42161
42249
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
42162
42250
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
42163
42251
  signal,
@@ -42197,6 +42285,61 @@ async function patchUserCustomFieldValues(httpClient, organization_id, workspace
42197
42285
  }).json();
42198
42286
  }
42199
42287
  //#endregion
42288
+ //#region ../focus-queries/dist/designations/requests.ts
42289
+ async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { name, page, per_page, order_by } = {}, signal) {
42290
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
42291
+ signal,
42292
+ searchParams: buildSearchParams$2({
42293
+ name,
42294
+ page,
42295
+ per_page,
42296
+ order_by
42297
+ })
42298
+ }).json();
42299
+ }
42300
+ async function createWorkspaceDesignation(httpClient, organization_id, workspace_id, data, signal) {
42301
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
42302
+ signal,
42303
+ json: data
42304
+ }).json();
42305
+ }
42306
+ async function bulkCreateWorkspaceDesignations(httpClient, organization_id, workspace_id, data, signal) {
42307
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
42308
+ signal,
42309
+ json: data
42310
+ }).json();
42311
+ }
42312
+ async function bulkDeleteWorkspaceDesignations(httpClient, organization_id, workspace_id, ids, all_or_none, signal) {
42313
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
42314
+ signal,
42315
+ searchParams: buildSearchParams$2({
42316
+ ids,
42317
+ all_or_none
42318
+ })
42319
+ }).json();
42320
+ }
42321
+ async function bulkUpdateWorkspaceDesignations(httpClient, organization_id, workspace_id, data, signal) {
42322
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
42323
+ signal,
42324
+ json: data
42325
+ }).json();
42326
+ }
42327
+ async function updateWorkspaceDesignationMembers(httpClient, organization_id, workspace_id, data, signal) {
42328
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/members`, {
42329
+ signal,
42330
+ json: data
42331
+ }).json();
42332
+ }
42333
+ async function deleteWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, signal) {
42334
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, { signal }).json();
42335
+ }
42336
+ async function updateWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, data, signal) {
42337
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, {
42338
+ signal,
42339
+ json: data
42340
+ }).json();
42341
+ }
42342
+ //#endregion
42200
42343
  //#region ../focus-queries/dist/goals/requests.ts
42201
42344
  async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
42202
42345
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/goals`, {
@@ -42421,7 +42564,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
42421
42564
  }
42422
42565
  //#endregion
42423
42566
  //#region ../focus-queries/dist/project-groups/requests.ts
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) {
42567
+ 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) {
42425
42568
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
42426
42569
  signal,
42427
42570
  searchParams: buildSearchParams$2({
@@ -42447,6 +42590,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42447
42590
  user_id,
42448
42591
  only_me,
42449
42592
  include_drafts,
42593
+ include_recurring_series,
42450
42594
  cf_filter
42451
42595
  })
42452
42596
  }).json();
@@ -42465,9 +42609,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
42465
42609
  json: data
42466
42610
  }).json();
42467
42611
  }
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
- }
42471
42612
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
42472
42613
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
42473
42614
  }
@@ -42493,6 +42634,37 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
42493
42634
  }).json();
42494
42635
  }
42495
42636
  //#endregion
42637
+ //#region ../focus-queries/dist/publicsharedreports/requests.ts
42638
+ async function openPublicSharedReport(httpClient, token, signal) {
42639
+ return await httpClient.get(`shared/${token}`, { signal }).json();
42640
+ }
42641
+ async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
42642
+ return await httpClient.post(`shared/${token}/profitability`, {
42643
+ signal,
42644
+ json: data,
42645
+ searchParams: buildSearchParams$2({
42646
+ response_format,
42647
+ include_dicts
42648
+ })
42649
+ }).json();
42650
+ }
42651
+ async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
42652
+ return await httpClient.post(`shared/${token}/query`, {
42653
+ signal,
42654
+ json: data,
42655
+ searchParams: buildSearchParams$2({
42656
+ response_format,
42657
+ include_dicts
42658
+ })
42659
+ }).json();
42660
+ }
42661
+ async function workloadPublicSharedReport(httpClient, token, data, signal) {
42662
+ return await httpClient.post(`shared/${token}/workload`, {
42663
+ signal,
42664
+ json: data
42665
+ }).json();
42666
+ }
42667
+ //#endregion
42496
42668
  //#region ../focus-queries/dist/rates/requests.ts
42497
42669
  async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
42498
42670
  const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
@@ -42654,7 +42826,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
42654
42826
  }
42655
42827
  //#endregion
42656
42828
  //#region ../focus-queries/dist/search/requests.ts
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) {
42829
+ 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) {
42658
42830
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
42659
42831
  signal,
42660
42832
  searchParams: buildSearchParams$2({
@@ -42662,6 +42834,7 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
42662
42834
  per_group,
42663
42835
  assignee_user_id,
42664
42836
  assignee_team_id,
42837
+ include_unassigned,
42665
42838
  project_id,
42666
42839
  task_id,
42667
42840
  include_drafts,
@@ -42706,6 +42879,18 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
42706
42879
  async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
42707
42880
  return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
42708
42881
  }
42882
+ async function unshareSharedReport(httpClient, workspace_id, id, signal) {
42883
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
42884
+ }
42885
+ async function getSharedReportDates(httpClient, workspace_id, id, signal) {
42886
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
42887
+ }
42888
+ async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
42889
+ return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
42890
+ signal,
42891
+ json: data
42892
+ }).json();
42893
+ }
42709
42894
  async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
42710
42895
  return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
42711
42896
  signal,
@@ -42715,6 +42900,21 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
42715
42900
  async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
42716
42901
  return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
42717
42902
  }
42903
+ async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
42904
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
42905
+ signal,
42906
+ json: data
42907
+ }).json();
42908
+ }
42909
+ async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
42910
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
42911
+ }
42912
+ async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
42913
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
42914
+ signal,
42915
+ json: data
42916
+ }).json();
42917
+ }
42718
42918
  //#endregion
42719
42919
  //#region ../focus-queries/dist/subscriptions/requests.ts
42720
42920
  async function getCurrentSubscription(httpClient, organization_id, signal) {
@@ -42771,9 +42971,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
42771
42971
  }
42772
42972
  //#endregion
42773
42973
  //#region ../focus-queries/dist/task-groups/requests.ts
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) {
42974
+ 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) {
42775
42975
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
42776
42976
  signal,
42977
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
42777
42978
  searchParams: buildSearchParams$2({
42778
42979
  project_id,
42779
42980
  source,
@@ -42802,13 +43003,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
42802
43003
  min_days,
42803
43004
  include_drafts,
42804
43005
  cf_filter,
42805
- user_cf_filter
43006
+ user_cf_filter,
43007
+ recurring_occurrences_after,
43008
+ max_recurring_occurrences_after,
43009
+ recurring_task_read,
43010
+ include_projected_occurrences
42806
43011
  })
42807
43012
  }).json();
42808
43013
  }
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) {
43014
+ 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) {
42810
43015
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
42811
43016
  signal,
43017
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
42812
43018
  searchParams: buildSearchParams$2({
42813
43019
  team_id,
42814
43020
  project_id,
@@ -42837,13 +43043,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
42837
43043
  min_days,
42838
43044
  include_drafts,
42839
43045
  cf_filter,
42840
- user_cf_filter
43046
+ user_cf_filter,
43047
+ recurring_occurrences_after,
43048
+ max_recurring_occurrences_after,
43049
+ recurring_task_read,
43050
+ include_projected_occurrences
42841
43051
  })
42842
43052
  }).json();
42843
43053
  }
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) {
43054
+ 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) {
42845
43055
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
42846
43056
  signal,
43057
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
42847
43058
  searchParams: buildSearchParams$2({
42848
43059
  source,
42849
43060
  priority,
@@ -42873,6 +43084,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
42873
43084
  include_drafts,
42874
43085
  cf_filter,
42875
43086
  user_cf_filter,
43087
+ recurring_occurrences_after,
43088
+ max_recurring_occurrences_after,
43089
+ recurring_task_read,
43090
+ include_projected_occurrences,
42876
43091
  page,
42877
43092
  per_page,
42878
43093
  order_by
@@ -42900,104 +43115,6 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
42900
43115
  }).json();
42901
43116
  }
42902
43117
  //#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
43001
43118
  //#region ../focus-queries/dist/time-entry-constraints/requests.ts
43002
43119
  async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
43003
43120
  return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
@@ -43035,6 +43152,12 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
43035
43152
  })
43036
43153
  }).json();
43037
43154
  }
43155
+ async function getTimeoffCategories(httpClient, organization_id, signal) {
43156
+ return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
43157
+ }
43158
+ async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
43159
+ return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
43160
+ }
43038
43161
  async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
43039
43162
  return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
43040
43163
  signal,
@@ -43062,6 +43185,26 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
43062
43185
  json: data
43063
43186
  }).json();
43064
43187
  }
43188
+ async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
43189
+ return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
43190
+ signal,
43191
+ searchParams: buildSearchParams$2({
43192
+ category_id,
43193
+ date
43194
+ })
43195
+ }).json();
43196
+ }
43197
+ async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
43198
+ return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
43199
+ signal,
43200
+ searchParams: buildSearchParams$2({
43201
+ category_id,
43202
+ year,
43203
+ page,
43204
+ rows
43205
+ })
43206
+ }).json();
43207
+ }
43065
43208
  //#endregion
43066
43209
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
43067
43210
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -43162,6 +43305,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
43162
43305
  json: data
43163
43306
  }).json();
43164
43307
  }
43308
+ async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
43309
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
43310
+ signal,
43311
+ searchParams: buildSearchParams$2({
43312
+ date_from,
43313
+ date_to,
43314
+ setup_id,
43315
+ user_account_ids,
43316
+ approver_user_account_ids,
43317
+ team_ids
43318
+ })
43319
+ }).json();
43320
+ }
43165
43321
  async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
43166
43322
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
43167
43323
  }
@@ -43205,10 +43361,24 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
43205
43361
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
43206
43362
  }
43207
43363
  //#endregion
43208
- //#region ../focus-queries/dist/user-settings/requests.ts
43209
- async function getUserSettings(httpClient, signal) {
43210
- return await httpClient.get(`users/me/settings`, { signal }).json();
43211
- }
43364
+ //#region ../focus-queries/dist/track-team-invites/requests.ts
43365
+ async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
43366
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
43367
+ signal,
43368
+ json: data
43369
+ }).json();
43370
+ }
43371
+ //#endregion
43372
+ //#region ../focus-queries/dist/user-settings/requests.ts
43373
+ async function emailUnsubscribePage(httpClient, token, signal) {
43374
+ return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
43375
+ }
43376
+ async function emailUnsubscribe(httpClient, token, signal) {
43377
+ return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
43378
+ }
43379
+ async function getUserSettings(httpClient, signal) {
43380
+ return await httpClient.get(`users/me/settings`, { signal }).json();
43381
+ }
43212
43382
  async function partialUpdateUserSettings(httpClient, data, signal) {
43213
43383
  return await httpClient.patch(`users/me/settings`, {
43214
43384
  signal,
@@ -43233,6 +43403,12 @@ async function serviceVersion(httpClient, signal) {
43233
43403
  }
43234
43404
  //#endregion
43235
43405
  //#region ../focus-queries/dist/working-hours/requests.ts
43406
+ async function replaceWorkingHoursForUsers(httpClient, organization_id, data, signal) {
43407
+ return await httpClient.put(`organizations/${organization_id}/workinghours/users`, {
43408
+ signal,
43409
+ json: data
43410
+ }).json();
43411
+ }
43236
43412
  async function getWorkingHoursForUser(httpClient, organization_id, user_id, signal) {
43237
43413
  return await httpClient.get(`organizations/${organization_id}/workinghours/users/${user_id}`, { signal }).json();
43238
43414
  }
@@ -43445,6 +43621,7 @@ const generatedFocusOperations = [
43445
43621
  mcp: { entityTool: "audit-log" },
43446
43622
  inputSchema: /* @__PURE__ */ looseObject({
43447
43623
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43624
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43448
43625
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43449
43626
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43450
43627
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -43452,6 +43629,7 @@ const generatedFocusOperations = [
43452
43629
  from: /* @__PURE__ */ string$1(),
43453
43630
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43454
43631
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43632
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43455
43633
  to: /* @__PURE__ */ string$1(),
43456
43634
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43457
43635
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -43485,6 +43663,7 @@ const generatedFocusOperations = [
43485
43663
  mcp: { entityTool: "audit-log" },
43486
43664
  inputSchema: /* @__PURE__ */ looseObject({
43487
43665
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43666
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43488
43667
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43489
43668
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43490
43669
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -43492,6 +43671,7 @@ const generatedFocusOperations = [
43492
43671
  from: /* @__PURE__ */ string$1(),
43493
43672
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43494
43673
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43674
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43495
43675
  to: /* @__PURE__ */ string$1(),
43496
43676
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43497
43677
  }),
@@ -43531,6 +43711,7 @@ const generatedFocusOperations = [
43531
43711
  private_: /* @__PURE__ */ unknown$1(),
43532
43712
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43533
43713
  task_source: /* @__PURE__ */ unknown$1(),
43714
+ team_id: /* @__PURE__ */ number$2(),
43534
43715
  unit: /* @__PURE__ */ unknown$1(),
43535
43716
  user_id: /* @__PURE__ */ number$2()
43536
43717
  }),
@@ -43780,8 +43961,6 @@ const generatedFocusOperations = [
43780
43961
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43781
43962
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
43782
43963
  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()),
43785
43964
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43786
43965
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43787
43966
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -43815,8 +43994,6 @@ const generatedFocusOperations = [
43815
43994
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43816
43995
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
43817
43996
  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()),
43820
43997
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43821
43998
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43822
43999
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -43832,12 +44009,6 @@ const generatedFocusOperations = [
43832
44009
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43833
44010
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43834
44011
  }))),
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
- }))),
43841
44012
  time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
43842
44013
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
43843
44014
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -43847,13 +44018,6 @@ const generatedFocusOperations = [
43847
44018
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43848
44019
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43849
44020
  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()),
43857
44021
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
43858
44022
  }))
43859
44023
  }) }),
@@ -43971,6 +44135,33 @@ const generatedFocusOperations = [
43971
44135
  ]));
43972
44136
  }
43973
44137
  },
44138
+ {
44139
+ id: "focus.custom-fields.get-allowed-users",
44140
+ family: "focus",
44141
+ resource: "custom-fields",
44142
+ action: "get-allowed-users",
44143
+ title: "Get Allowed Users Custom Fields",
44144
+ description: "Get Allowed Users Custom Fields.",
44145
+ safety: "read",
44146
+ destructive: false,
44147
+ cli: {
44148
+ group: ["custom-fields"],
44149
+ command: "get-allowed-users",
44150
+ interactive: "available"
44151
+ },
44152
+ mcp: { entityTool: "custom-fields" },
44153
+ inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
44154
+ execute: (input, { client }) => {
44155
+ const data = input;
44156
+ return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
44157
+ client.httpClient,
44158
+ client.organizationId,
44159
+ client.workspaceIdNumber,
44160
+ data.custom_field_id,
44161
+ void 0
44162
+ ]));
44163
+ }
44164
+ },
43974
44165
  {
43975
44166
  id: "focus.custom-fields.list",
43976
44167
  family: "focus",
@@ -44140,6 +44331,37 @@ const generatedFocusOperations = [
44140
44331
  ]));
44141
44332
  }
44142
44333
  },
44334
+ {
44335
+ id: "focus.custom-fields.replace-custom-field-allowed-users",
44336
+ family: "focus",
44337
+ resource: "custom-fields",
44338
+ action: "replace-custom-field-allowed-users",
44339
+ title: "Replace Custom Field Allowed Users Custom Fields",
44340
+ description: "Replace Custom Field Allowed Users Custom Fields.",
44341
+ safety: "update",
44342
+ destructive: false,
44343
+ cli: {
44344
+ group: ["custom-fields"],
44345
+ command: "replace-custom-field-allowed-users",
44346
+ interactive: "default"
44347
+ },
44348
+ mcp: { entityTool: "custom-fields" },
44349
+ inputSchema: /* @__PURE__ */ looseObject({
44350
+ custom_field_id: /* @__PURE__ */ number$2(),
44351
+ payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
44352
+ }),
44353
+ execute: (input, { client }) => {
44354
+ const data = input;
44355
+ return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
44356
+ client.httpClient,
44357
+ client.organizationId,
44358
+ client.workspaceIdNumber,
44359
+ data.custom_field_id,
44360
+ data.payload ?? data.data ?? data,
44361
+ void 0
44362
+ ]));
44363
+ }
44364
+ },
44143
44365
  {
44144
44366
  id: "focus.custom-fields.update",
44145
44367
  family: "focus",
@@ -44270,6 +44492,256 @@ const generatedFocusOperations = [
44270
44492
  ]));
44271
44493
  }
44272
44494
  },
44495
+ {
44496
+ id: "focus.designations.bulk-create-workspace",
44497
+ family: "focus",
44498
+ resource: "designations",
44499
+ action: "bulk-create-workspace",
44500
+ title: "Bulk Create Workspace Designations",
44501
+ description: "Bulk Create Workspace Designations.",
44502
+ safety: "create",
44503
+ destructive: false,
44504
+ cli: {
44505
+ group: ["designations", "bulk"],
44506
+ command: "create-workspace",
44507
+ interactive: "default"
44508
+ },
44509
+ mcp: { entityTool: "designations" },
44510
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
44511
+ name: /* @__PURE__ */ string$1(),
44512
+ member_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44513
+ })) }) }),
44514
+ execute: (input, { client }) => {
44515
+ const data = input;
44516
+ return client.runGeneratedRequest("bulkCreateWorkspaceDesignations", () => callGeneratedRequest(bulkCreateWorkspaceDesignations, [
44517
+ client.httpClient,
44518
+ client.organizationId,
44519
+ client.workspaceIdNumber,
44520
+ data.payload ?? data.data ?? data,
44521
+ void 0
44522
+ ]));
44523
+ }
44524
+ },
44525
+ {
44526
+ id: "focus.designations.bulk-delete-workspace",
44527
+ family: "focus",
44528
+ resource: "designations",
44529
+ action: "bulk-delete-workspace",
44530
+ title: "Bulk Delete Workspace Designations",
44531
+ description: "Bulk Delete Workspace Designations.",
44532
+ safety: "delete",
44533
+ destructive: true,
44534
+ cli: {
44535
+ group: ["designations", "bulk"],
44536
+ command: "delete-workspace",
44537
+ interactive: "default"
44538
+ },
44539
+ mcp: { entityTool: "designations" },
44540
+ inputSchema: /* @__PURE__ */ looseObject({
44541
+ all_or_none: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44542
+ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
44543
+ }),
44544
+ execute: (input, { client }) => {
44545
+ const data = input;
44546
+ return client.runGeneratedRequest("bulkDeleteWorkspaceDesignations", () => callGeneratedRequest(bulkDeleteWorkspaceDesignations, [
44547
+ client.httpClient,
44548
+ client.organizationId,
44549
+ client.workspaceIdNumber,
44550
+ data.ids,
44551
+ data.all_or_none,
44552
+ void 0
44553
+ ]));
44554
+ }
44555
+ },
44556
+ {
44557
+ id: "focus.designations.bulk-update-workspace",
44558
+ family: "focus",
44559
+ resource: "designations",
44560
+ action: "bulk-update-workspace",
44561
+ title: "Bulk Update Workspace Designations",
44562
+ description: "Bulk Update Workspace Designations.",
44563
+ safety: "update",
44564
+ destructive: false,
44565
+ cli: {
44566
+ group: ["designations", "bulk"],
44567
+ command: "update-workspace",
44568
+ interactive: "default"
44569
+ },
44570
+ mcp: { entityTool: "designations" },
44571
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44572
+ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
44573
+ id: /* @__PURE__ */ number$2(),
44574
+ name: /* @__PURE__ */ string$1()
44575
+ })),
44576
+ all_or_none: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
44577
+ }) }),
44578
+ execute: (input, { client }) => {
44579
+ const data = input;
44580
+ return client.runGeneratedRequest("bulkUpdateWorkspaceDesignations", () => callGeneratedRequest(bulkUpdateWorkspaceDesignations, [
44581
+ client.httpClient,
44582
+ client.organizationId,
44583
+ client.workspaceIdNumber,
44584
+ data.payload ?? data.data ?? data,
44585
+ void 0
44586
+ ]));
44587
+ }
44588
+ },
44589
+ {
44590
+ id: "focus.designations.create-workspace",
44591
+ family: "focus",
44592
+ resource: "designations",
44593
+ action: "create-workspace",
44594
+ title: "Create Workspace Designations",
44595
+ description: "Create Workspace Designations.",
44596
+ safety: "create",
44597
+ destructive: false,
44598
+ cli: {
44599
+ group: ["designations"],
44600
+ command: "create-workspace",
44601
+ interactive: "default"
44602
+ },
44603
+ mcp: { entityTool: "designations" },
44604
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44605
+ name: /* @__PURE__ */ string$1(),
44606
+ member_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44607
+ }) }),
44608
+ execute: (input, { client }) => {
44609
+ const data = input;
44610
+ return client.runGeneratedRequest("createWorkspaceDesignation", () => callGeneratedRequest(createWorkspaceDesignation, [
44611
+ client.httpClient,
44612
+ client.organizationId,
44613
+ client.workspaceIdNumber,
44614
+ data.payload ?? data.data ?? data,
44615
+ void 0
44616
+ ]));
44617
+ }
44618
+ },
44619
+ {
44620
+ id: "focus.designations.delete-workspace",
44621
+ family: "focus",
44622
+ resource: "designations",
44623
+ action: "delete-workspace",
44624
+ title: "Delete Workspace Designations",
44625
+ description: "Delete Workspace Designations.",
44626
+ safety: "delete",
44627
+ destructive: true,
44628
+ cli: {
44629
+ group: ["designations"],
44630
+ command: "delete-workspace",
44631
+ interactive: "default"
44632
+ },
44633
+ mcp: { entityTool: "designations" },
44634
+ inputSchema: /* @__PURE__ */ looseObject({ designation_id: /* @__PURE__ */ number$2() }),
44635
+ execute: (input, { client }) => {
44636
+ const data = input;
44637
+ return client.runGeneratedRequest("deleteWorkspaceDesignation", () => callGeneratedRequest(deleteWorkspaceDesignation, [
44638
+ client.httpClient,
44639
+ client.organizationId,
44640
+ client.workspaceIdNumber,
44641
+ data.designation_id,
44642
+ void 0
44643
+ ]));
44644
+ }
44645
+ },
44646
+ {
44647
+ id: "focus.designations.get-workspace-designations",
44648
+ family: "focus",
44649
+ resource: "designations",
44650
+ action: "get-workspace-designations",
44651
+ title: "Get Workspace Designations Designations",
44652
+ description: "Get Workspace Designations Designations.",
44653
+ safety: "read",
44654
+ destructive: false,
44655
+ cli: {
44656
+ group: ["designations"],
44657
+ command: "get-workspace-designations",
44658
+ interactive: "hidden"
44659
+ },
44660
+ mcp: { entityTool: "designations" },
44661
+ inputSchema: /* @__PURE__ */ looseObject({
44662
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
44663
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
44664
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44665
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
44666
+ }),
44667
+ execute: (input, { client }) => {
44668
+ const data = input;
44669
+ return client.runGeneratedRequest("getWorkspaceDesignationsClassic", () => callGeneratedRequest(getWorkspaceDesignationsClassic, [
44670
+ client.httpClient,
44671
+ client.organizationId,
44672
+ client.workspaceIdNumber,
44673
+ data,
44674
+ void 0
44675
+ ]));
44676
+ }
44677
+ },
44678
+ {
44679
+ id: "focus.designations.update-workspace",
44680
+ family: "focus",
44681
+ resource: "designations",
44682
+ action: "update-workspace",
44683
+ title: "Update Workspace Designations",
44684
+ description: "Update Workspace Designations.",
44685
+ safety: "update",
44686
+ destructive: false,
44687
+ cli: {
44688
+ group: ["designations"],
44689
+ command: "update-workspace",
44690
+ interactive: "default"
44691
+ },
44692
+ mcp: { entityTool: "designations" },
44693
+ inputSchema: /* @__PURE__ */ looseObject({
44694
+ designation_id: /* @__PURE__ */ number$2(),
44695
+ payload: /* @__PURE__ */ looseObject({ name: /* @__PURE__ */ string$1() })
44696
+ }),
44697
+ execute: (input, { client }) => {
44698
+ const data = input;
44699
+ return client.runGeneratedRequest("updateWorkspaceDesignation", () => callGeneratedRequest(updateWorkspaceDesignation, [
44700
+ client.httpClient,
44701
+ client.organizationId,
44702
+ client.workspaceIdNumber,
44703
+ data.designation_id,
44704
+ data.payload ?? data.data ?? data,
44705
+ void 0
44706
+ ]));
44707
+ }
44708
+ },
44709
+ {
44710
+ id: "focus.designations.update-workspace-designation-members",
44711
+ family: "focus",
44712
+ resource: "designations",
44713
+ action: "update-workspace-designation-members",
44714
+ title: "Update Workspace Designation Members Designations",
44715
+ description: "Update Workspace Designation Members Designations.",
44716
+ safety: "update",
44717
+ destructive: false,
44718
+ cli: {
44719
+ group: ["designations"],
44720
+ command: "update-workspace-designation-members",
44721
+ interactive: "default"
44722
+ },
44723
+ mcp: { entityTool: "designations" },
44724
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44725
+ add: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
44726
+ designation_id: /* @__PURE__ */ number$2(),
44727
+ toggl_user_id: /* @__PURE__ */ number$2()
44728
+ }))),
44729
+ remove: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
44730
+ designation_id: /* @__PURE__ */ number$2(),
44731
+ toggl_user_id: /* @__PURE__ */ number$2()
44732
+ })))
44733
+ }) }),
44734
+ execute: (input, { client }) => {
44735
+ const data = input;
44736
+ return client.runGeneratedRequest("updateWorkspaceDesignationMembers", () => callGeneratedRequest(updateWorkspaceDesignationMembers, [
44737
+ client.httpClient,
44738
+ client.organizationId,
44739
+ client.workspaceIdNumber,
44740
+ data.payload ?? data.data ?? data,
44741
+ void 0
44742
+ ]));
44743
+ }
44744
+ },
44273
44745
  {
44274
44746
  id: "focus.goals.create",
44275
44747
  family: "focus",
@@ -44286,13 +44758,7 @@ const generatedFocusOperations = [
44286
44758
  },
44287
44759
  mcp: { entityTool: "goals" },
44288
44760
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44289
- billable: /* @__PURE__ */ boolean$1(),
44290
44761
  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()),
44296
44762
  recurrence: /* @__PURE__ */ picklist$1([
44297
44763
  "daily",
44298
44764
  "weekly",
@@ -44300,12 +44766,18 @@ const generatedFocusOperations = [
44300
44766
  "monthly"
44301
44767
  ]),
44302
44768
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44303
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44304
44769
  target_seconds: /* @__PURE__ */ number$2(),
44305
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44306
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44770
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44307
44771
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44308
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44772
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44773
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44774
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44775
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44776
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44777
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44778
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44779
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44780
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44309
44781
  }) }),
44310
44782
  execute: (input, { client }) => {
44311
44783
  const data = input;
@@ -44411,13 +44883,6 @@ const generatedFocusOperations = [
44411
44883
  },
44412
44884
  mcp: { entityTool: "goals" },
44413
44885
  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()),
44421
44886
  recurrence: /* @__PURE__ */ picklist$1([
44422
44887
  "daily",
44423
44888
  "weekly",
@@ -44425,12 +44890,19 @@ const generatedFocusOperations = [
44425
44890
  "monthly"
44426
44891
  ]),
44427
44892
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$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()),
44893
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44432
44894
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44433
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44895
+ comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
44896
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44897
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44898
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44899
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44900
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44901
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44902
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44903
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44904
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44905
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44434
44906
  }) }),
44435
44907
  execute: (input, { client }) => {
44436
44908
  const data = input;
@@ -45397,9 +45869,17 @@ const generatedFocusOperations = [
45397
45869
  mcp: { entityTool: "projects" },
45398
45870
  inputSchema: /* @__PURE__ */ looseObject({
45399
45871
  payload: /* @__PURE__ */ looseObject({
45872
+ auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45873
+ completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
45400
45874
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
45401
45875
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45402
45876
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45877
+ rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
45878
+ "expire",
45879
+ "carry_all",
45880
+ "carry_over"
45881
+ ])),
45882
+ rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45403
45883
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
45404
45884
  }),
45405
45885
  project_id: /* @__PURE__ */ number$2()
@@ -45843,6 +46323,7 @@ const generatedFocusOperations = [
45843
46323
  group: /* @__PURE__ */ string$1(),
45844
46324
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45845
46325
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46326
+ include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45846
46327
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45847
46328
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45848
46329
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -45946,37 +46427,14 @@ const generatedFocusOperations = [
45946
46427
  }
45947
46428
  },
45948
46429
  {
45949
- id: "focus.projects.margin-targets-clear-workspace",
46430
+ id: "focus.projects.margin-targets-get",
45950
46431
  family: "focus",
45951
46432
  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
- },
45971
- {
45972
- id: "focus.projects.margin-targets-get",
45973
- family: "focus",
45974
- resource: "projects",
45975
- action: "margin-targets-get",
45976
- title: "Margin Targets Get Projects",
45977
- description: "Margin Targets Get Projects.",
45978
- safety: "read",
45979
- destructive: false,
46433
+ action: "margin-targets-get",
46434
+ title: "Margin Targets Get Projects",
46435
+ description: "Margin Targets Get Projects.",
46436
+ safety: "read",
46437
+ destructive: false,
45980
46438
  cli: {
45981
46439
  group: ["projects", "margin-targets"],
45982
46440
  command: "get",
@@ -46412,6 +46870,130 @@ const generatedFocusOperations = [
46412
46870
  ]));
46413
46871
  }
46414
46872
  },
46873
+ {
46874
+ id: "focus.publicsharedreports.open-public-shared-report",
46875
+ family: "focus",
46876
+ resource: "publicsharedreports",
46877
+ action: "open-public-shared-report",
46878
+ title: "Open Public Shared Report Publicsharedreports",
46879
+ description: "Open Public Shared Report Publicsharedreports.",
46880
+ safety: "read",
46881
+ destructive: false,
46882
+ cli: {
46883
+ group: ["publicsharedreports"],
46884
+ command: "open-public-shared-report",
46885
+ interactive: "available"
46886
+ },
46887
+ mcp: { entityTool: "publicsharedreports" },
46888
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
46889
+ execute: (input, { client }) => {
46890
+ const data = input;
46891
+ return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
46892
+ client.httpClient,
46893
+ data.token,
46894
+ void 0
46895
+ ]));
46896
+ }
46897
+ },
46898
+ {
46899
+ id: "focus.publicsharedreports.profitability-public-shared-report",
46900
+ family: "focus",
46901
+ resource: "publicsharedreports",
46902
+ action: "profitability-public-shared-report",
46903
+ title: "Profitability Public Shared Report Publicsharedreports",
46904
+ description: "Profitability Public Shared Report Publicsharedreports.",
46905
+ safety: "update",
46906
+ destructive: false,
46907
+ cli: {
46908
+ group: ["publicsharedreports"],
46909
+ command: "profitability-public-shared-report",
46910
+ interactive: "default"
46911
+ },
46912
+ mcp: { entityTool: "publicsharedreports" },
46913
+ inputSchema: /* @__PURE__ */ looseObject({
46914
+ include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
46915
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46916
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
46917
+ token: /* @__PURE__ */ string$1()
46918
+ }),
46919
+ execute: (input, { client }) => {
46920
+ const data = input;
46921
+ return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
46922
+ client.httpClient,
46923
+ data.token,
46924
+ data.payload ?? data.data ?? data,
46925
+ data.response_format,
46926
+ data.include_dicts,
46927
+ void 0
46928
+ ]));
46929
+ }
46930
+ },
46931
+ {
46932
+ id: "focus.publicsharedreports.query-public-shared-report",
46933
+ family: "focus",
46934
+ resource: "publicsharedreports",
46935
+ action: "query-public-shared-report",
46936
+ title: "Query Public Shared Report Publicsharedreports",
46937
+ description: "Query Public Shared Report Publicsharedreports.",
46938
+ safety: "update",
46939
+ destructive: false,
46940
+ cli: {
46941
+ group: ["publicsharedreports"],
46942
+ command: "query-public-shared-report",
46943
+ interactive: "default"
46944
+ },
46945
+ mcp: { entityTool: "publicsharedreports" },
46946
+ inputSchema: /* @__PURE__ */ looseObject({
46947
+ include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
46948
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46949
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
46950
+ "json_row",
46951
+ "table",
46952
+ "hierarchical"
46953
+ ])),
46954
+ token: /* @__PURE__ */ string$1()
46955
+ }),
46956
+ execute: (input, { client }) => {
46957
+ const data = input;
46958
+ return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
46959
+ client.httpClient,
46960
+ data.token,
46961
+ data.payload ?? data.data ?? data,
46962
+ data.response_format,
46963
+ data.include_dicts,
46964
+ void 0
46965
+ ]));
46966
+ }
46967
+ },
46968
+ {
46969
+ id: "focus.publicsharedreports.workload-public-shared-report",
46970
+ family: "focus",
46971
+ resource: "publicsharedreports",
46972
+ action: "workload-public-shared-report",
46973
+ title: "Workload Public Shared Report Publicsharedreports",
46974
+ description: "Workload Public Shared Report Publicsharedreports.",
46975
+ safety: "update",
46976
+ destructive: false,
46977
+ cli: {
46978
+ group: ["publicsharedreports"],
46979
+ command: "workload-public-shared-report",
46980
+ interactive: "default"
46981
+ },
46982
+ mcp: { entityTool: "publicsharedreports" },
46983
+ inputSchema: /* @__PURE__ */ looseObject({
46984
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46985
+ token: /* @__PURE__ */ string$1()
46986
+ }),
46987
+ execute: (input, { client }) => {
46988
+ const data = input;
46989
+ return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
46990
+ client.httpClient,
46991
+ data.token,
46992
+ data.payload ?? data.data ?? data,
46993
+ void 0
46994
+ ]));
46995
+ }
46996
+ },
46415
46997
  {
46416
46998
  id: "focus.rates.billable-check-project-billable-rate-conflicts",
46417
46999
  family: "focus",
@@ -47989,51 +48571,51 @@ const generatedFocusOperations = [
47989
48571
  mcp: { entityTool: "reports" },
47990
48572
  inputSchema: /* @__PURE__ */ looseObject({
47991
48573
  payload: /* @__PURE__ */ looseObject({
47992
- aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
47993
- aggregation: /* @__PURE__ */ looseObject({
48574
+ aggregation_filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48575
+ aggregation: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
47994
48576
  function: /* @__PURE__ */ string$1(),
47995
48577
  property: /* @__PURE__ */ string$1()
47996
- }),
47997
- operator: /* @__PURE__ */ string$1(),
47998
- property: /* @__PURE__ */ string$1()
47999
- })),
48000
- aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48578
+ })),
48579
+ operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48580
+ property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48581
+ }))),
48582
+ aggregations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48001
48583
  function: /* @__PURE__ */ string$1(),
48002
48584
  property: /* @__PURE__ */ string$1()
48003
- })),
48004
- attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
48005
- currency: /* @__PURE__ */ string$1(),
48006
- filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48007
- conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
48008
- operator: /* @__PURE__ */ string$1(),
48009
- property: /* @__PURE__ */ string$1()
48010
- })),
48011
- groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48585
+ }))),
48586
+ attributes: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() }))),
48587
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48588
+ currency: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48589
+ filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48590
+ conditions: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
48591
+ operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48592
+ property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48593
+ }))),
48594
+ groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48595
+ property: /* @__PURE__ */ string$1(),
48596
+ show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
48597
+ }))),
48598
+ limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48599
+ ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48012
48600
  property: /* @__PURE__ */ string$1(),
48013
- show_empty: /* @__PURE__ */ boolean$1()
48601
+ direction: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48602
+ nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48603
+ }))),
48604
+ pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48605
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48606
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48014
48607
  })),
48015
- limit: /* @__PURE__ */ number$2(),
48016
- ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48017
- direction: /* @__PURE__ */ string$1(),
48018
- nulls: /* @__PURE__ */ string$1(),
48019
- property: /* @__PURE__ */ string$1()
48608
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48609
+ from: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48610
+ preset: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48611
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48020
48612
  })),
48021
- pagination: /* @__PURE__ */ looseObject({
48022
- page: /* @__PURE__ */ number$2(),
48023
- per_page: /* @__PURE__ */ number$2()
48024
- }),
48025
- period: /* @__PURE__ */ looseObject({
48026
- from: /* @__PURE__ */ string$1(),
48027
- preset: /* @__PURE__ */ string$1(),
48028
- to: /* @__PURE__ */ string$1()
48029
- }),
48030
- transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48613
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48614
+ transformations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48031
48615
  name: /* @__PURE__ */ string$1(),
48032
48616
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48033
- })),
48034
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48035
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48036
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48617
+ }))),
48618
+ view_in_my_timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
48037
48619
  }),
48038
48620
  response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48039
48621
  }),
@@ -48114,51 +48696,51 @@ const generatedFocusOperations = [
48114
48696
  inputSchema: /* @__PURE__ */ looseObject({
48115
48697
  include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
48116
48698
  payload: /* @__PURE__ */ looseObject({
48117
- aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48118
- aggregation: /* @__PURE__ */ looseObject({
48699
+ aggregation_filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48700
+ aggregation: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48119
48701
  function: /* @__PURE__ */ string$1(),
48120
48702
  property: /* @__PURE__ */ string$1()
48121
- }),
48122
- operator: /* @__PURE__ */ string$1(),
48123
- property: /* @__PURE__ */ string$1()
48124
- })),
48125
- aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48703
+ })),
48704
+ operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48705
+ property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48706
+ }))),
48707
+ aggregations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48126
48708
  function: /* @__PURE__ */ string$1(),
48127
48709
  property: /* @__PURE__ */ string$1()
48128
- })),
48129
- attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
48130
- currency: /* @__PURE__ */ string$1(),
48131
- filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48132
- conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
48133
- operator: /* @__PURE__ */ string$1(),
48134
- property: /* @__PURE__ */ string$1()
48135
- })),
48136
- groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48710
+ }))),
48711
+ attributes: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() }))),
48712
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48713
+ currency: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48714
+ filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48715
+ conditions: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
48716
+ operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48717
+ property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48718
+ }))),
48719
+ groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48720
+ property: /* @__PURE__ */ string$1(),
48721
+ show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
48722
+ }))),
48723
+ limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48724
+ ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48137
48725
  property: /* @__PURE__ */ string$1(),
48138
- show_empty: /* @__PURE__ */ boolean$1()
48726
+ direction: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48727
+ nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48728
+ }))),
48729
+ pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48730
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48731
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48139
48732
  })),
48140
- limit: /* @__PURE__ */ number$2(),
48141
- ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48142
- direction: /* @__PURE__ */ string$1(),
48143
- nulls: /* @__PURE__ */ string$1(),
48144
- property: /* @__PURE__ */ string$1()
48733
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48734
+ from: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48735
+ preset: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48736
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48145
48737
  })),
48146
- pagination: /* @__PURE__ */ looseObject({
48147
- page: /* @__PURE__ */ number$2(),
48148
- per_page: /* @__PURE__ */ number$2()
48149
- }),
48150
- period: /* @__PURE__ */ looseObject({
48151
- from: /* @__PURE__ */ string$1(),
48152
- preset: /* @__PURE__ */ string$1(),
48153
- to: /* @__PURE__ */ string$1()
48154
- }),
48155
- transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48738
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48739
+ transformations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48156
48740
  name: /* @__PURE__ */ string$1(),
48157
48741
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48158
- })),
48159
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48160
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48161
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48742
+ }))),
48743
+ view_in_my_timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
48162
48744
  }),
48163
48745
  response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
48164
48746
  xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -48196,51 +48778,51 @@ const generatedFocusOperations = [
48196
48778
  },
48197
48779
  mcp: { entityTool: "reports" },
48198
48780
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
48199
- aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48200
- aggregation: /* @__PURE__ */ looseObject({
48781
+ aggregation_filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48782
+ aggregation: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48201
48783
  function: /* @__PURE__ */ string$1(),
48202
48784
  property: /* @__PURE__ */ string$1()
48203
- }),
48204
- operator: /* @__PURE__ */ string$1(),
48205
- property: /* @__PURE__ */ string$1()
48206
- })),
48207
- aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48785
+ })),
48786
+ operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48787
+ property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48788
+ }))),
48789
+ aggregations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48208
48790
  function: /* @__PURE__ */ string$1(),
48209
48791
  property: /* @__PURE__ */ string$1()
48210
- })),
48211
- attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
48212
- currency: /* @__PURE__ */ string$1(),
48213
- filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48214
- conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
48215
- operator: /* @__PURE__ */ string$1(),
48216
- property: /* @__PURE__ */ string$1()
48217
- })),
48218
- groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48792
+ }))),
48793
+ attributes: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() }))),
48794
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48795
+ currency: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48796
+ filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48797
+ conditions: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
48798
+ operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48799
+ property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48800
+ }))),
48801
+ groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48802
+ property: /* @__PURE__ */ string$1(),
48803
+ show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
48804
+ }))),
48805
+ limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48806
+ ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48219
48807
  property: /* @__PURE__ */ string$1(),
48220
- show_empty: /* @__PURE__ */ boolean$1()
48808
+ direction: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48809
+ nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48810
+ }))),
48811
+ pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48812
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48813
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48221
48814
  })),
48222
- limit: /* @__PURE__ */ number$2(),
48223
- ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48224
- direction: /* @__PURE__ */ string$1(),
48225
- nulls: /* @__PURE__ */ string$1(),
48226
- property: /* @__PURE__ */ string$1()
48815
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48816
+ from: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48817
+ preset: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48818
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48227
48819
  })),
48228
- pagination: /* @__PURE__ */ looseObject({
48229
- page: /* @__PURE__ */ number$2(),
48230
- per_page: /* @__PURE__ */ number$2()
48231
- }),
48232
- period: /* @__PURE__ */ looseObject({
48233
- from: /* @__PURE__ */ string$1(),
48234
- preset: /* @__PURE__ */ string$1(),
48235
- to: /* @__PURE__ */ string$1()
48236
- }),
48237
- transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48820
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48821
+ transformations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48238
48822
  name: /* @__PURE__ */ string$1(),
48239
48823
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48240
- })),
48241
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48242
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48243
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48824
+ }))),
48825
+ view_in_my_timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
48244
48826
  }) }),
48245
48827
  execute: (input, { client }) => {
48246
48828
  const data = input;
@@ -48269,51 +48851,51 @@ const generatedFocusOperations = [
48269
48851
  mcp: { entityTool: "reports" },
48270
48852
  inputSchema: /* @__PURE__ */ looseObject({
48271
48853
  payload: /* @__PURE__ */ looseObject({
48272
- aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48273
- aggregation: /* @__PURE__ */ looseObject({
48854
+ aggregation_filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48855
+ aggregation: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48274
48856
  function: /* @__PURE__ */ string$1(),
48275
48857
  property: /* @__PURE__ */ string$1()
48276
- }),
48277
- operator: /* @__PURE__ */ string$1(),
48278
- property: /* @__PURE__ */ string$1()
48279
- })),
48280
- aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48858
+ })),
48859
+ operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48860
+ property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48861
+ }))),
48862
+ aggregations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48281
48863
  function: /* @__PURE__ */ string$1(),
48282
48864
  property: /* @__PURE__ */ string$1()
48283
- })),
48284
- attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
48285
- currency: /* @__PURE__ */ string$1(),
48286
- filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48287
- conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
48288
- operator: /* @__PURE__ */ string$1(),
48289
- property: /* @__PURE__ */ string$1()
48290
- })),
48291
- groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48865
+ }))),
48866
+ attributes: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() }))),
48867
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48868
+ currency: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48869
+ filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48870
+ conditions: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
48871
+ operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48872
+ property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48873
+ }))),
48874
+ groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48875
+ property: /* @__PURE__ */ string$1(),
48876
+ show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
48877
+ }))),
48878
+ limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48879
+ ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48292
48880
  property: /* @__PURE__ */ string$1(),
48293
- show_empty: /* @__PURE__ */ boolean$1()
48881
+ direction: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48882
+ nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48883
+ }))),
48884
+ pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48885
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48886
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48294
48887
  })),
48295
- limit: /* @__PURE__ */ number$2(),
48296
- ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48297
- direction: /* @__PURE__ */ string$1(),
48298
- nulls: /* @__PURE__ */ string$1(),
48299
- property: /* @__PURE__ */ string$1()
48888
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48889
+ from: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48890
+ preset: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48891
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48300
48892
  })),
48301
- pagination: /* @__PURE__ */ looseObject({
48302
- page: /* @__PURE__ */ number$2(),
48303
- per_page: /* @__PURE__ */ number$2()
48304
- }),
48305
- period: /* @__PURE__ */ looseObject({
48306
- from: /* @__PURE__ */ string$1(),
48307
- preset: /* @__PURE__ */ string$1(),
48308
- to: /* @__PURE__ */ string$1()
48309
- }),
48310
- transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48893
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48894
+ transformations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48311
48895
  name: /* @__PURE__ */ string$1(),
48312
48896
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48313
- })),
48314
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48315
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48316
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48897
+ }))),
48898
+ view_in_my_timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
48317
48899
  }),
48318
48900
  xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
48319
48901
  "csv",
@@ -48370,7 +48952,7 @@ const generatedFocusOperations = [
48370
48952
  cli: {
48371
48953
  group: ["reportschedules"],
48372
48954
  command: "upsert-saved-view-schedule",
48373
- interactive: "default"
48955
+ interactive: "hidden"
48374
48956
  },
48375
48957
  mcp: { entityTool: "reportschedules" },
48376
48958
  inputSchema: /* @__PURE__ */ looseObject({
@@ -48381,8 +48963,10 @@ const generatedFocusOperations = [
48381
48963
  "weekly",
48382
48964
  "monthly"
48383
48965
  ]),
48966
+ charts: /* @__PURE__ */ unknown$1(),
48384
48967
  time: /* @__PURE__ */ string$1(),
48385
48968
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48969
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48386
48970
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48387
48971
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48388
48972
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -48715,6 +49299,32 @@ const generatedFocusOperations = [
48715
49299
  ]));
48716
49300
  }
48717
49301
  },
49302
+ {
49303
+ id: "focus.sharedreports.get-shared-report-dates",
49304
+ family: "focus",
49305
+ resource: "sharedreports",
49306
+ action: "get-shared-report-dates",
49307
+ title: "Get Shared Report Dates Sharedreports",
49308
+ description: "Get Shared Report Dates Sharedreports.",
49309
+ safety: "read",
49310
+ destructive: false,
49311
+ cli: {
49312
+ group: ["sharedreports"],
49313
+ command: "get-shared-report-dates",
49314
+ interactive: "available"
49315
+ },
49316
+ mcp: { entityTool: "sharedreports" },
49317
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
49318
+ execute: (input, { client }) => {
49319
+ const data = input;
49320
+ return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
49321
+ client.httpClient,
49322
+ client.workspaceIdNumber,
49323
+ data.id,
49324
+ void 0
49325
+ ]));
49326
+ }
49327
+ },
48718
49328
  {
48719
49329
  id: "focus.sharedreports.get-shared-report-for-viewer",
48720
49330
  family: "focus",
@@ -48785,6 +49395,36 @@ const generatedFocusOperations = [
48785
49395
  void 0
48786
49396
  ]))
48787
49397
  },
49398
+ {
49399
+ id: "focus.sharedreports.mint-shared-report-link",
49400
+ family: "focus",
49401
+ resource: "sharedreports",
49402
+ action: "mint-shared-report-link",
49403
+ title: "Mint Shared Report Link Sharedreports",
49404
+ description: "Mint Shared Report Link Sharedreports.",
49405
+ safety: "update",
49406
+ destructive: false,
49407
+ cli: {
49408
+ group: ["sharedreports"],
49409
+ command: "mint-shared-report-link",
49410
+ interactive: "default"
49411
+ },
49412
+ mcp: { entityTool: "sharedreports" },
49413
+ inputSchema: /* @__PURE__ */ looseObject({
49414
+ id: /* @__PURE__ */ number$2(),
49415
+ payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
49416
+ }),
49417
+ execute: (input, { client }) => {
49418
+ const data = input;
49419
+ return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
49420
+ client.httpClient,
49421
+ client.workspaceIdNumber,
49422
+ data.id,
49423
+ data.payload ?? data.data ?? data,
49424
+ void 0
49425
+ ]));
49426
+ }
49427
+ },
48788
49428
  {
48789
49429
  id: "focus.sharedreports.revoke-shared-report-grant",
48790
49430
  family: "focus",
@@ -48816,33 +49456,53 @@ const generatedFocusOperations = [
48816
49456
  }
48817
49457
  },
48818
49458
  {
48819
- id: "focus.sharedreports.share-saved-view",
49459
+ id: "focus.sharedreports.revoke-shared-report-link",
48820
49460
  family: "focus",
48821
49461
  resource: "sharedreports",
48822
- action: "share-saved-view",
48823
- title: "Share Saved View Sharedreports",
48824
- description: "Share Saved View Sharedreports.",
49462
+ action: "revoke-shared-report-link",
49463
+ title: "Revoke Shared Report Link Sharedreports",
49464
+ description: "Revoke Shared Report Link Sharedreports.",
49465
+ safety: "delete",
49466
+ destructive: true,
49467
+ cli: {
49468
+ group: ["sharedreports"],
49469
+ command: "revoke-shared-report-link",
49470
+ interactive: "default"
49471
+ },
49472
+ mcp: { entityTool: "sharedreports" },
49473
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
49474
+ execute: (input, { client }) => {
49475
+ const data = input;
49476
+ return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
49477
+ client.httpClient,
49478
+ client.workspaceIdNumber,
49479
+ data.id,
49480
+ void 0
49481
+ ]));
49482
+ }
49483
+ },
49484
+ {
49485
+ id: "focus.sharedreports.rotate-shared-report-link",
49486
+ family: "focus",
49487
+ resource: "sharedreports",
49488
+ action: "rotate-shared-report-link",
49489
+ title: "Rotate Shared Report Link Sharedreports",
49490
+ description: "Rotate Shared Report Link Sharedreports.",
48825
49491
  safety: "update",
48826
49492
  destructive: false,
48827
49493
  cli: {
48828
49494
  group: ["sharedreports"],
48829
- command: "share-saved-view",
48830
- interactive: "hidden"
49495
+ command: "rotate-shared-report-link",
49496
+ interactive: "default"
48831
49497
  },
48832
49498
  mcp: { entityTool: "sharedreports" },
48833
49499
  inputSchema: /* @__PURE__ */ looseObject({
48834
49500
  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
- })
49501
+ payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
48842
49502
  }),
48843
49503
  execute: (input, { client }) => {
48844
49504
  const data = input;
48845
- return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
49505
+ return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
48846
49506
  client.httpClient,
48847
49507
  client.workspaceIdNumber,
48848
49508
  data.id,
@@ -48852,12 +49512,78 @@ const generatedFocusOperations = [
48852
49512
  }
48853
49513
  },
48854
49514
  {
48855
- id: "focus.sharedreports.share-saved-view-many",
49515
+ id: "focus.sharedreports.set-shared-report-dates-lock",
48856
49516
  family: "focus",
48857
49517
  resource: "sharedreports",
48858
- action: "share-saved-view-many",
48859
- title: "Share Saved View Many Sharedreports",
48860
- description: "Share Saved View Many Sharedreports.",
49518
+ action: "set-shared-report-dates-lock",
49519
+ title: "Set Shared Report Dates Lock Sharedreports",
49520
+ description: "Set Shared Report Dates Lock Sharedreports.",
49521
+ safety: "update",
49522
+ destructive: false,
49523
+ cli: {
49524
+ group: ["sharedreports"],
49525
+ command: "set-shared-report-dates-lock",
49526
+ interactive: "default"
49527
+ },
49528
+ mcp: { entityTool: "sharedreports" },
49529
+ inputSchema: /* @__PURE__ */ looseObject({
49530
+ id: /* @__PURE__ */ number$2(),
49531
+ payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
49532
+ }),
49533
+ execute: (input, { client }) => {
49534
+ const data = input;
49535
+ return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
49536
+ client.httpClient,
49537
+ client.workspaceIdNumber,
49538
+ data.id,
49539
+ data.payload ?? data.data ?? data,
49540
+ void 0
49541
+ ]));
49542
+ }
49543
+ },
49544
+ {
49545
+ id: "focus.sharedreports.share-saved-view",
49546
+ family: "focus",
49547
+ resource: "sharedreports",
49548
+ action: "share-saved-view",
49549
+ title: "Share Saved View Sharedreports",
49550
+ description: "Share Saved View Sharedreports.",
49551
+ safety: "update",
49552
+ destructive: false,
49553
+ cli: {
49554
+ group: ["sharedreports"],
49555
+ command: "share-saved-view",
49556
+ interactive: "hidden"
49557
+ },
49558
+ mcp: { entityTool: "sharedreports" },
49559
+ inputSchema: /* @__PURE__ */ looseObject({
49560
+ id: /* @__PURE__ */ number$2(),
49561
+ payload: /* @__PURE__ */ looseObject({
49562
+ charts: /* @__PURE__ */ unknown$1(),
49563
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49564
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49565
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49566
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
49567
+ })
49568
+ }),
49569
+ execute: (input, { client }) => {
49570
+ const data = input;
49571
+ return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
49572
+ client.httpClient,
49573
+ client.workspaceIdNumber,
49574
+ data.id,
49575
+ data.payload ?? data.data ?? data,
49576
+ void 0
49577
+ ]));
49578
+ }
49579
+ },
49580
+ {
49581
+ id: "focus.sharedreports.share-saved-view-many",
49582
+ family: "focus",
49583
+ resource: "sharedreports",
49584
+ action: "share-saved-view-many",
49585
+ title: "Share Saved View Many Sharedreports",
49586
+ description: "Share Saved View Many Sharedreports.",
48861
49587
  safety: "update",
48862
49588
  destructive: false,
48863
49589
  cli: {
@@ -48889,6 +49615,32 @@ const generatedFocusOperations = [
48889
49615
  ]));
48890
49616
  }
48891
49617
  },
49618
+ {
49619
+ id: "focus.sharedreports.unshare-shared-report",
49620
+ family: "focus",
49621
+ resource: "sharedreports",
49622
+ action: "unshare-shared-report",
49623
+ title: "Unshare Shared Report Sharedreports",
49624
+ description: "Unshare Shared Report Sharedreports.",
49625
+ safety: "delete",
49626
+ destructive: true,
49627
+ cli: {
49628
+ group: ["sharedreports"],
49629
+ command: "unshare-shared-report",
49630
+ interactive: "default"
49631
+ },
49632
+ mcp: { entityTool: "sharedreports" },
49633
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
49634
+ execute: (input, { client }) => {
49635
+ const data = input;
49636
+ return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
49637
+ client.httpClient,
49638
+ client.workspaceIdNumber,
49639
+ data.id,
49640
+ void 0
49641
+ ]));
49642
+ }
49643
+ },
48892
49644
  {
48893
49645
  id: "focus.statuses.create-status",
48894
49646
  family: "focus",
@@ -49931,6 +50683,37 @@ const generatedFocusOperations = [
49931
50683
  return client.createTask(data);
49932
50684
  }
49933
50685
  },
50686
+ {
50687
+ id: "focus.tasks.create-recurring-occurrence",
50688
+ family: "focus",
50689
+ resource: "tasks",
50690
+ action: "create-recurring-occurrence",
50691
+ title: "Create Recurring Occurrence Tasks",
50692
+ description: "Create Recurring Occurrence Tasks.",
50693
+ safety: "create",
50694
+ destructive: false,
50695
+ cli: {
50696
+ group: ["tasks"],
50697
+ command: "create-recurring-occurrence",
50698
+ interactive: "default"
50699
+ },
50700
+ mcp: { entityTool: "tasks" },
50701
+ inputSchema: /* @__PURE__ */ looseObject({
50702
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50703
+ task_id: /* @__PURE__ */ number$2()
50704
+ }),
50705
+ execute: (input, { client }) => {
50706
+ const data = input;
50707
+ return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
50708
+ client.httpClient,
50709
+ client.organizationId,
50710
+ client.workspaceIdNumber,
50711
+ data.task_id,
50712
+ data.return_occurrence,
50713
+ void 0
50714
+ ]));
50715
+ }
50716
+ },
49934
50717
  {
49935
50718
  id: "focus.tasks.delete",
49936
50719
  family: "focus",
@@ -50155,6 +50938,79 @@ const generatedFocusOperations = [
50155
50938
  ]));
50156
50939
  }
50157
50940
  },
50941
+ {
50942
+ id: "focus.tasks.get-picker-task-children",
50943
+ family: "focus",
50944
+ resource: "tasks",
50945
+ action: "get-picker-task-children",
50946
+ title: "Get Picker Task Children Tasks",
50947
+ description: "Get Picker Task Children Tasks.",
50948
+ safety: "read",
50949
+ destructive: false,
50950
+ cli: {
50951
+ group: ["tasks"],
50952
+ command: "get-picker-task-children",
50953
+ interactive: "hidden"
50954
+ },
50955
+ mcp: { entityTool: "tasks" },
50956
+ inputSchema: /* @__PURE__ */ looseObject({
50957
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50958
+ only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50959
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50960
+ parent_task_id: /* @__PURE__ */ number$2(),
50961
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50962
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50963
+ search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50964
+ without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50965
+ }),
50966
+ execute: (input, { client }) => {
50967
+ const data = input;
50968
+ return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
50969
+ client.httpClient,
50970
+ client.organizationId,
50971
+ client.workspaceIdNumber,
50972
+ data.parent_task_id,
50973
+ data,
50974
+ void 0
50975
+ ]));
50976
+ }
50977
+ },
50978
+ {
50979
+ id: "focus.tasks.get-picker-task-groups",
50980
+ family: "focus",
50981
+ resource: "tasks",
50982
+ action: "get-picker-task-groups",
50983
+ title: "Get Picker Task Groups Tasks",
50984
+ description: "Get Picker Task Groups Tasks.",
50985
+ safety: "read",
50986
+ destructive: false,
50987
+ cli: {
50988
+ group: ["tasks"],
50989
+ command: "get-picker-task-groups",
50990
+ interactive: "hidden"
50991
+ },
50992
+ mcp: { entityTool: "tasks" },
50993
+ inputSchema: /* @__PURE__ */ looseObject({
50994
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50995
+ only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50996
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50997
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50998
+ pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50999
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51000
+ search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51001
+ without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
51002
+ }),
51003
+ execute: (input, { client }) => {
51004
+ const data = input;
51005
+ return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
51006
+ client.httpClient,
51007
+ client.organizationId,
51008
+ client.workspaceIdNumber,
51009
+ data,
51010
+ void 0
51011
+ ]));
51012
+ }
51013
+ },
50158
51014
  {
50159
51015
  id: "focus.tasks.get-recurring-instances",
50160
51016
  family: "focus",
@@ -50178,9 +51034,13 @@ const generatedFocusOperations = [
50178
51034
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50179
51035
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50180
51036
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51037
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51038
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50181
51039
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50182
51040
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51041
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50183
51042
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51043
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50184
51044
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50185
51045
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50186
51046
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -50226,13 +51086,14 @@ const generatedFocusOperations = [
50226
51086
  estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50227
51087
  estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50228
51088
  has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50229
- has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50230
51089
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50231
51090
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50232
51091
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50233
51092
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50234
51093
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51094
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50235
51095
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51096
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50236
51097
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50237
51098
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50238
51099
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -50241,7 +51102,9 @@ const generatedFocusOperations = [
50241
51102
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50242
51103
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50243
51104
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51105
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50244
51106
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51107
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50245
51108
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50246
51109
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50247
51110
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50250,8 +51113,6 @@ const generatedFocusOperations = [
50250
51113
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50251
51114
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50252
51115
  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()),
50255
51116
  toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50256
51117
  with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50257
51118
  }),
@@ -50379,8 +51240,10 @@ const generatedFocusOperations = [
50379
51240
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50380
51241
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50381
51242
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51243
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50382
51244
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50383
51245
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51246
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50384
51247
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50385
51248
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50386
51249
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50389,6 +51252,8 @@ const generatedFocusOperations = [
50389
51252
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50390
51253
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50391
51254
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51255
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51256
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50392
51257
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50393
51258
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50394
51259
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50397,7 +51262,8 @@ const generatedFocusOperations = [
50397
51262
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50398
51263
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50399
51264
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50400
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51265
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51266
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50401
51267
  }),
50402
51268
  execute: (input, { client }) => {
50403
51269
  const data = input;
@@ -50439,13 +51305,17 @@ const generatedFocusOperations = [
50439
51305
  group_id: /* @__PURE__ */ number$2(),
50440
51306
  include_assignees: /* @__PURE__ */ unknown$1(),
50441
51307
  include_drafts: /* @__PURE__ */ unknown$1(),
51308
+ include_projected_occurrences: /* @__PURE__ */ unknown$1(),
50442
51309
  include_unassigned: /* @__PURE__ */ unknown$1(),
50443
51310
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
51311
+ max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
50444
51312
  min_days: /* @__PURE__ */ unknown$1(),
50445
51313
  name: /* @__PURE__ */ unknown$1(),
50446
51314
  priority: /* @__PURE__ */ unknown$1(),
50447
51315
  private_: /* @__PURE__ */ unknown$1(),
50448
51316
  project_id: /* @__PURE__ */ number$2(),
51317
+ recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
51318
+ recurring_task_read: /* @__PURE__ */ unknown$1(),
50449
51319
  source: /* @__PURE__ */ unknown$1(),
50450
51320
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
50451
51321
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -50454,7 +51324,8 @@ const generatedFocusOperations = [
50454
51324
  tag_id: /* @__PURE__ */ number$2(),
50455
51325
  team_id: /* @__PURE__ */ number$2(),
50456
51326
  user_cf_filter: /* @__PURE__ */ unknown$1(),
50457
- user_tag_id: /* @__PURE__ */ number$2()
51327
+ user_tag_id: /* @__PURE__ */ number$2(),
51328
+ xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
50458
51329
  }),
50459
51330
  execute: (input, { client }) => {
50460
51331
  const data = input;
@@ -50495,13 +51366,17 @@ const generatedFocusOperations = [
50495
51366
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50496
51367
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50497
51368
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51369
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50498
51370
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50499
51371
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51372
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50500
51373
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50501
51374
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50502
51375
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50503
51376
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50504
51377
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51378
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51379
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50505
51380
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50506
51381
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50507
51382
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50510,7 +51385,8 @@ const generatedFocusOperations = [
50510
51385
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50511
51386
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50512
51387
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50513
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51388
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51389
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50514
51390
  }),
50515
51391
  execute: (input, { client }) => {
50516
51392
  const data = input;
@@ -50778,484 +51654,21 @@ const generatedFocusOperations = [
50778
51654
  command: "update-calendar-range",
50779
51655
  interactive: "default"
50780
51656
  },
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, [
51216
- client.httpClient,
51217
- client.organizationId,
51218
- client.workspaceIdNumber,
51219
- data.task_id,
51220
- data.time_block_id,
51221
- void 0
51222
- ]));
51223
- }
51224
- },
51225
- {
51226
- id: "focus.time-blocks.update",
51227
- family: "focus",
51228
- resource: "time-blocks",
51229
- action: "update",
51230
- title: "Update Time Blocks",
51231
- description: "Update Time Blocks.",
51232
- safety: "update",
51233
- destructive: false,
51234
- cli: {
51235
- group: ["time-blocks"],
51236
- command: "update",
51237
- interactive: "default"
51238
- },
51239
- mcp: { entityTool: "time-blocks" },
51657
+ mcp: { entityTool: "tasks" },
51240
51658
  inputSchema: /* @__PURE__ */ looseObject({
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()
51659
+ date_from: /* @__PURE__ */ string$1(),
51660
+ date_to: /* @__PURE__ */ string$1(),
51661
+ skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51249
51662
  }),
51250
51663
  execute: (input, { client }) => {
51251
51664
  const data = input;
51252
- return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
51665
+ return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
51253
51666
  client.httpClient,
51254
51667
  client.organizationId,
51255
51668
  client.workspaceIdNumber,
51256
- data.task_id,
51257
- data.time_block_id,
51258
- data.payload ?? data.data ?? data,
51669
+ data.date_from,
51670
+ data.date_to,
51671
+ data.skip_provider_refresh,
51259
51672
  void 0
51260
51673
  ]));
51261
51674
  }
@@ -51475,7 +51888,8 @@ const generatedFocusOperations = [
51475
51888
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
51476
51889
  "project",
51477
51890
  "task",
51478
- "description"
51891
+ "description",
51892
+ "tags"
51479
51893
  ]) })),
51480
51894
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51481
51895
  }) }),
@@ -51505,6 +51919,7 @@ const generatedFocusOperations = [
51505
51919
  },
51506
51920
  mcp: { entityTool: "time-entries" },
51507
51921
  inputSchema: /* @__PURE__ */ looseObject({
51922
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51508
51923
  payload: /* @__PURE__ */ looseObject({
51509
51924
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51510
51925
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -51515,11 +51930,12 @@ const generatedFocusOperations = [
51515
51930
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51516
51931
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51517
51932
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51933
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51518
51934
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
51519
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51520
51935
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51521
51936
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51522
51937
  }),
51938
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51523
51939
  task_id: /* @__PURE__ */ number$2()
51524
51940
  }),
51525
51941
  execute: (input, { client }) => {
@@ -51530,6 +51946,8 @@ const generatedFocusOperations = [
51530
51946
  client.workspaceIdNumber,
51531
51947
  data.task_id,
51532
51948
  data.payload ?? data.data ?? data,
51949
+ data.from_recurring_task_id,
51950
+ data.return_occurrence,
51533
51951
  void 0
51534
51952
  ]));
51535
51953
  }
@@ -51549,21 +51967,25 @@ const generatedFocusOperations = [
51549
51967
  interactive: "default"
51550
51968
  },
51551
51969
  mcp: { entityTool: "time-entries" },
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
- }) }),
51970
+ inputSchema: /* @__PURE__ */ looseObject({
51971
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51972
+ payload: /* @__PURE__ */ looseObject({
51973
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51974
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51975
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51976
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51977
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51978
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51979
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51980
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51981
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51982
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51983
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
51984
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51985
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51986
+ }),
51987
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51988
+ }),
51567
51989
  execute: (input, { client }) => {
51568
51990
  const data = input;
51569
51991
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -51571,6 +51993,8 @@ const generatedFocusOperations = [
51571
51993
  client.organizationId,
51572
51994
  client.workspaceIdNumber,
51573
51995
  data.payload ?? data.data ?? data,
51996
+ data.from_recurring_task_id,
51997
+ data.return_occurrence,
51574
51998
  void 0
51575
51999
  ]));
51576
52000
  }
@@ -51590,7 +52014,11 @@ const generatedFocusOperations = [
51590
52014
  interactive: "default"
51591
52015
  },
51592
52016
  mcp: { entityTool: "time-entries" },
51593
- inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
52017
+ inputSchema: /* @__PURE__ */ looseObject({
52018
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52019
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52020
+ time_entry_id: /* @__PURE__ */ number$2()
52021
+ }),
51594
52022
  execute: (input, { client }) => {
51595
52023
  const data = input;
51596
52024
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -51598,6 +52026,8 @@ const generatedFocusOperations = [
51598
52026
  client.organizationId,
51599
52027
  client.workspaceIdNumber,
51600
52028
  data.time_entry_id,
52029
+ data.from_recurring_task_id,
52030
+ data.return_occurrence,
51601
52031
  void 0
51602
52032
  ]));
51603
52033
  }
@@ -51678,6 +52108,7 @@ const generatedFocusOperations = [
51678
52108
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
51679
52109
  include_taskless: /* @__PURE__ */ unknown$1(),
51680
52110
  order_by: /* @__PURE__ */ unknown$1(),
52111
+ project_id: /* @__PURE__ */ number$2(),
51681
52112
  status_id: /* @__PURE__ */ number$2(),
51682
52113
  task_id: /* @__PURE__ */ number$2(),
51683
52114
  type: /* @__PURE__ */ unknown$1()
@@ -51693,33 +52124,6 @@ const generatedFocusOperations = [
51693
52124
  ]));
51694
52125
  }
51695
52126
  },
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
- },
51723
52127
  {
51724
52128
  id: "focus.time-entries.get-task-time-entries",
51725
52129
  family: "focus",
@@ -51741,7 +52145,6 @@ const generatedFocusOperations = [
51741
52145
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51742
52146
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51743
52147
  task_id: /* @__PURE__ */ number$2(),
51744
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51745
52148
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
51746
52149
  }),
51747
52150
  execute: (input, { client }) => {
@@ -51854,12 +52257,14 @@ const generatedFocusOperations = [
51854
52257
  },
51855
52258
  mcp: { entityTool: "time-entries" },
51856
52259
  inputSchema: /* @__PURE__ */ looseObject({
52260
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51857
52261
  payload: /* @__PURE__ */ looseObject({
51858
52262
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51859
52263
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51860
52264
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51861
52265
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
51862
52266
  }),
52267
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51863
52268
  time_entry_id: /* @__PURE__ */ number$2()
51864
52269
  }),
51865
52270
  execute: (input, { client }) => {
@@ -51870,6 +52275,8 @@ const generatedFocusOperations = [
51870
52275
  client.workspaceIdNumber,
51871
52276
  data.time_entry_id,
51872
52277
  data.payload ?? data.data ?? data,
52278
+ data.from_recurring_task_id,
52279
+ data.return_occurrence,
51873
52280
  void 0
51874
52281
  ]));
51875
52282
  }
@@ -52127,6 +52534,7 @@ const generatedFocusOperations = [
52127
52534
  },
52128
52535
  mcp: { entityTool: "time-entries" },
52129
52536
  inputSchema: /* @__PURE__ */ looseObject({
52537
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52130
52538
  payload: /* @__PURE__ */ looseObject({
52131
52539
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
52132
52540
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -52136,9 +52544,9 @@ const generatedFocusOperations = [
52136
52544
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52137
52545
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52138
52546
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
52139
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52140
52547
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
52141
52548
  }),
52549
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52142
52550
  time_entry_id: /* @__PURE__ */ number$2()
52143
52551
  }),
52144
52552
  execute: (input, { client }) => {
@@ -52149,6 +52557,8 @@ const generatedFocusOperations = [
52149
52557
  client.workspaceIdNumber,
52150
52558
  data.time_entry_id,
52151
52559
  data.payload ?? data.data ?? data,
52560
+ data.from_recurring_task_id,
52561
+ data.return_occurrence,
52152
52562
  void 0
52153
52563
  ]));
52154
52564
  }
@@ -52213,6 +52623,118 @@ const generatedFocusOperations = [
52213
52623
  ]));
52214
52624
  }
52215
52625
  },
52626
+ {
52627
+ id: "focus.time-off.get-timeoff-balance-changes-for-user",
52628
+ family: "focus",
52629
+ resource: "time-off",
52630
+ action: "get-timeoff-balance-changes-for-user",
52631
+ title: "Get Timeoff Balance Changes For User Time Off",
52632
+ description: "Get Timeoff Balance Changes For User Time Off.",
52633
+ safety: "read",
52634
+ destructive: false,
52635
+ cli: {
52636
+ group: ["time-off"],
52637
+ command: "get-timeoff-balance-changes-for-user",
52638
+ interactive: "hidden"
52639
+ },
52640
+ mcp: { entityTool: "time-off" },
52641
+ inputSchema: /* @__PURE__ */ looseObject({
52642
+ category_id: /* @__PURE__ */ number$2(),
52643
+ page: /* @__PURE__ */ number$2(),
52644
+ rows: /* @__PURE__ */ unknown$1(),
52645
+ user_id: /* @__PURE__ */ number$2(),
52646
+ year: /* @__PURE__ */ unknown$1()
52647
+ }),
52648
+ execute: (input, { client }) => {
52649
+ const data = input;
52650
+ return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
52651
+ client.httpClient,
52652
+ client.organizationId,
52653
+ data.user_id,
52654
+ data,
52655
+ void 0
52656
+ ]));
52657
+ }
52658
+ },
52659
+ {
52660
+ id: "focus.time-off.get-timeoff-balances-for-user",
52661
+ family: "focus",
52662
+ resource: "time-off",
52663
+ action: "get-timeoff-balances-for-user",
52664
+ title: "Get Timeoff Balances For User Time Off",
52665
+ description: "Get Timeoff Balances For User Time Off.",
52666
+ safety: "read",
52667
+ destructive: false,
52668
+ cli: {
52669
+ group: ["time-off"],
52670
+ command: "get-timeoff-balances-for-user",
52671
+ interactive: "available"
52672
+ },
52673
+ mcp: { entityTool: "time-off" },
52674
+ inputSchema: /* @__PURE__ */ looseObject({
52675
+ category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52676
+ date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
52677
+ user_id: /* @__PURE__ */ number$2()
52678
+ }),
52679
+ execute: (input, { client }) => {
52680
+ const data = input;
52681
+ return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
52682
+ client.httpClient,
52683
+ client.organizationId,
52684
+ data.user_id,
52685
+ data,
52686
+ void 0
52687
+ ]));
52688
+ }
52689
+ },
52690
+ {
52691
+ id: "focus.time-off.get-timeoff-categories",
52692
+ family: "focus",
52693
+ resource: "time-off",
52694
+ action: "get-timeoff-categories",
52695
+ title: "Get Timeoff Categories Time Off",
52696
+ description: "Get Timeoff Categories Time Off.",
52697
+ safety: "read",
52698
+ destructive: false,
52699
+ cli: {
52700
+ group: ["time-off"],
52701
+ command: "get-timeoff-categories",
52702
+ interactive: "hidden"
52703
+ },
52704
+ mcp: { entityTool: "time-off" },
52705
+ inputSchema: /* @__PURE__ */ looseObject({}),
52706
+ execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
52707
+ client.httpClient,
52708
+ client.organizationId,
52709
+ void 0
52710
+ ]))
52711
+ },
52712
+ {
52713
+ id: "focus.time-off.get-timeoff-category",
52714
+ family: "focus",
52715
+ resource: "time-off",
52716
+ action: "get-timeoff-category",
52717
+ title: "Get Timeoff Category Time Off",
52718
+ description: "Get Timeoff Category Time Off.",
52719
+ safety: "read",
52720
+ destructive: false,
52721
+ cli: {
52722
+ group: ["time-off"],
52723
+ command: "get-timeoff-category",
52724
+ interactive: "available"
52725
+ },
52726
+ mcp: { entityTool: "time-off" },
52727
+ inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
52728
+ execute: (input, { client }) => {
52729
+ const data = input;
52730
+ return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
52731
+ client.httpClient,
52732
+ client.organizationId,
52733
+ data.category_id,
52734
+ void 0
52735
+ ]));
52736
+ }
52737
+ },
52216
52738
  {
52217
52739
  id: "focus.time-off.get-timeoff-for-user",
52218
52740
  family: "focus",
@@ -52664,6 +53186,40 @@ const generatedFocusOperations = [
52664
53186
  ]));
52665
53187
  }
52666
53188
  },
53189
+ {
53190
+ id: "focus.timesheets.get-status-counts",
53191
+ family: "focus",
53192
+ resource: "timesheets",
53193
+ action: "get-status-counts",
53194
+ title: "Get Status Counts Timesheets",
53195
+ description: "Get Status Counts Timesheets.",
53196
+ safety: "read",
53197
+ destructive: false,
53198
+ cli: {
53199
+ group: ["timesheets"],
53200
+ command: "get-status-counts",
53201
+ interactive: "hidden"
53202
+ },
53203
+ mcp: { entityTool: "timesheets" },
53204
+ inputSchema: /* @__PURE__ */ looseObject({
53205
+ approver_user_account_ids: /* @__PURE__ */ unknown$1(),
53206
+ date_from: /* @__PURE__ */ unknown$1(),
53207
+ date_to: /* @__PURE__ */ unknown$1(),
53208
+ setup_id: /* @__PURE__ */ number$2(),
53209
+ team_ids: /* @__PURE__ */ unknown$1(),
53210
+ user_account_ids: /* @__PURE__ */ unknown$1()
53211
+ }),
53212
+ execute: (input, { client }) => {
53213
+ const data = input;
53214
+ return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
53215
+ client.httpClient,
53216
+ client.organizationId,
53217
+ client.workspaceIdNumber,
53218
+ data,
53219
+ void 0
53220
+ ]));
53221
+ }
53222
+ },
52667
53223
  {
52668
53224
  id: "focus.timesheets.remove-timesheet-flag",
52669
53225
  family: "focus",
@@ -53213,6 +53769,33 @@ const generatedFocusOperations = [
53213
53769
  ]));
53214
53770
  }
53215
53771
  },
53772
+ {
53773
+ id: "focus.track-team-invites.post",
53774
+ family: "focus",
53775
+ resource: "track-team-invites",
53776
+ action: "post",
53777
+ title: "Post Track Team Invites",
53778
+ description: "Post Track Team Invites.",
53779
+ safety: "create",
53780
+ destructive: false,
53781
+ cli: {
53782
+ group: ["track-team-invites"],
53783
+ command: "post",
53784
+ interactive: "default"
53785
+ },
53786
+ mcp: { entityTool: "track-team-invites" },
53787
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
53788
+ execute: (input, { client }) => {
53789
+ const data = input;
53790
+ return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
53791
+ client.httpClient,
53792
+ client.organizationId,
53793
+ client.workspaceIdNumber,
53794
+ data.payload ?? data.data ?? data,
53795
+ void 0
53796
+ ]));
53797
+ }
53798
+ },
53216
53799
  {
53217
53800
  id: "focus.users.list",
53218
53801
  family: "focus",
@@ -53234,6 +53817,56 @@ const generatedFocusOperations = [
53234
53817
  return client.listOrgUsers(data);
53235
53818
  }
53236
53819
  },
53820
+ {
53821
+ id: "focus.users.settings-email-unsubscribe",
53822
+ family: "focus",
53823
+ resource: "users",
53824
+ action: "settings-email-unsubscribe",
53825
+ title: "Settings Email Unsubscribe Users",
53826
+ description: "Settings Email Unsubscribe Users.",
53827
+ safety: "update",
53828
+ destructive: false,
53829
+ cli: {
53830
+ group: ["users", "settings"],
53831
+ command: "email-unsubscribe",
53832
+ interactive: "default"
53833
+ },
53834
+ mcp: { entityTool: "users" },
53835
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53836
+ execute: (input, { client }) => {
53837
+ const data = input;
53838
+ return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
53839
+ client.httpClient,
53840
+ data.token,
53841
+ void 0
53842
+ ]));
53843
+ }
53844
+ },
53845
+ {
53846
+ id: "focus.users.settings-email-unsubscribe-page",
53847
+ family: "focus",
53848
+ resource: "users",
53849
+ action: "settings-email-unsubscribe-page",
53850
+ title: "Settings Email Unsubscribe Page Users",
53851
+ description: "Settings Email Unsubscribe Page Users.",
53852
+ safety: "read",
53853
+ destructive: false,
53854
+ cli: {
53855
+ group: ["users", "settings"],
53856
+ command: "email-unsubscribe-page",
53857
+ interactive: "available"
53858
+ },
53859
+ mcp: { entityTool: "users" },
53860
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53861
+ execute: (input, { client }) => {
53862
+ const data = input;
53863
+ return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
53864
+ client.httpClient,
53865
+ data.token,
53866
+ void 0
53867
+ ]));
53868
+ }
53869
+ },
53237
53870
  {
53238
53871
  id: "focus.users.settings-list",
53239
53872
  family: "focus",
@@ -53295,6 +53928,9 @@ const generatedFocusOperations = [
53295
53928
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53296
53929
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53297
53930
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53931
+ notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53932
+ notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53933
+ notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53298
53934
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53299
53935
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53300
53936
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -53493,6 +54129,38 @@ const generatedFocusOperations = [
53493
54129
  ]));
53494
54130
  }
53495
54131
  },
54132
+ {
54133
+ id: "focus.working-hours.replace-working-hours-for-users",
54134
+ family: "focus",
54135
+ resource: "working-hours",
54136
+ action: "replace-working-hours-for-users",
54137
+ title: "Replace Working Hours For Users Working Hours",
54138
+ description: "Replace Working Hours For Users Working Hours.",
54139
+ safety: "update",
54140
+ destructive: false,
54141
+ cli: {
54142
+ group: ["working-hours"],
54143
+ command: "replace-working-hours-for-users",
54144
+ interactive: "default"
54145
+ },
54146
+ mcp: { entityTool: "working-hours" },
54147
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
54148
+ schedule: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
54149
+ working_hours: /* @__PURE__ */ number$2(),
54150
+ weekday: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
54151
+ })),
54152
+ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
54153
+ }) }),
54154
+ execute: (input, { client }) => {
54155
+ const data = input;
54156
+ return client.runGeneratedRequest("replaceWorkingHoursForUsers", () => callGeneratedRequest(replaceWorkingHoursForUsers, [
54157
+ client.httpClient,
54158
+ client.organizationId,
54159
+ data.payload ?? data.data ?? data,
54160
+ void 0
54161
+ ]));
54162
+ }
54163
+ },
53496
54164
  {
53497
54165
  id: "focus.working-hours.update-for-user",
53498
54166
  family: "focus",
@@ -54837,7 +55505,7 @@ function registerWorkspaceTools(server) {
54837
55505
  //#region src/package-version.ts
54838
55506
  function mcpPackageVersion() {
54839
55507
  try {
54840
- return "1.11.94";
55508
+ return "1.11.95";
54841
55509
  } catch {
54842
55510
  return "unknown";
54843
55511
  }
@@ -55012,7 +55680,7 @@ import_main.default.config({
55012
55680
  quiet: true,
55013
55681
  ignore: ["MISSING_ENV_FILE"]
55014
55682
  });
55015
- const packageVersion = "1.11.94";
55683
+ const packageVersion = "1.11.95";
55016
55684
  function resolvePublicUrls() {
55017
55685
  return {
55018
55686
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -55077,4 +55745,4 @@ function bootstrapServer(options = {}) {
55077
55745
  //#endregion
55078
55746
  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 };
55079
55747
 
55080
- //# sourceMappingURL=src-CTYPIYWG.js.map
55748
+ //# sourceMappingURL=src-BWlws-dv.js.map