@togglhq/mcp 1.11.91 → 1.11.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34663,6 +34663,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
34663
34663
  name: /* @__PURE__ */ string(),
34664
34664
  permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
34665
34665
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34666
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34666
34667
  client: /* @__PURE__ */ optional(ClientLiteSchema),
34667
34668
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34668
34669
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -34749,6 +34750,7 @@ const TaskSchema = /* @__PURE__ */ object({
34749
34750
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34750
34751
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34751
34752
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34753
+ is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
34752
34754
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34753
34755
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34754
34756
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -34810,6 +34812,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34810
34812
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34811
34813
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34812
34814
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34815
+ is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
34813
34816
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34814
34817
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34815
34818
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -34970,6 +34973,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
34970
34973
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34971
34974
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34972
34975
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34976
+ pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
34977
+ pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
34973
34978
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34974
34979
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34975
34980
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -34984,21 +34989,21 @@ const TimeEntrySchema = /* @__PURE__ */ object({
34984
34989
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
34985
34990
  });
34986
34991
  const DtoAggregationFilterRequestSchema = /* @__PURE__ */ object({
34987
- aggregation: /* @__PURE__ */ object({
34992
+ aggregation: /* @__PURE__ */ optional(/* @__PURE__ */ object({
34988
34993
  function: /* @__PURE__ */ string(),
34989
34994
  property: /* @__PURE__ */ string()
34990
- }),
34991
- conditions: /* @__PURE__ */ lazy(() => DtoAggregationsFilterRequestSchema),
34992
- operator: /* @__PURE__ */ string(),
34993
- property: /* @__PURE__ */ string(),
34994
- value: /* @__PURE__ */ unknown()
34995
+ })),
34996
+ conditions: /* @__PURE__ */ optional(/* @__PURE__ */ lazy(() => DtoAggregationsFilterRequestSchema)),
34997
+ operator: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34998
+ property: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34999
+ value: /* @__PURE__ */ optional(/* @__PURE__ */ unknown())
34995
35000
  });
34996
35001
  const DtoAggregationsFilterRequestSchema = /* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoAggregationFilterRequestSchema));
34997
35002
  const DtoFilterRequestSchema = /* @__PURE__ */ object({
34998
- conditions: /* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoFilterRequestSchema)),
34999
- operator: /* @__PURE__ */ string(),
35000
- property: /* @__PURE__ */ string(),
35001
- value: /* @__PURE__ */ unknown()
35003
+ conditions: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoFilterRequestSchema))),
35004
+ operator: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35005
+ property: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35006
+ value: /* @__PURE__ */ optional(/* @__PURE__ */ unknown())
35002
35007
  });
35003
35008
  const ClientSchema = /* @__PURE__ */ object({
35004
35009
  active: /* @__PURE__ */ boolean(),
@@ -35055,8 +35060,10 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
35055
35060
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35056
35061
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35057
35062
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35063
+ filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35058
35064
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
35059
35065
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35066
+ picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35060
35067
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
35061
35068
  recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35062
35069
  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)."))),
@@ -35112,6 +35119,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
35112
35119
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35113
35120
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35114
35121
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35122
+ pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
35123
+ pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
35115
35124
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35116
35125
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35117
35126
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -35284,8 +35293,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35284
35293
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35285
35294
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35286
35295
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
35287
- integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35288
- integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35289
35296
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35290
35297
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35291
35298
  pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35342,6 +35349,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35342
35349
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35343
35350
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35344
35351
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35352
+ repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
35345
35353
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35346
35354
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35347
35355
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -35378,6 +35386,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35378
35386
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35379
35387
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35380
35388
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35389
+ repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
35381
35390
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35382
35391
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35383
35392
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -35398,7 +35407,6 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
35398
35407
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35399
35408
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35400
35409
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35401
- time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35402
35410
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35403
35411
  user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
35404
35412
  });
@@ -35427,8 +35435,7 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
35427
35435
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35428
35436
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35429
35437
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35430
- task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35431
- time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
35438
+ task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
35432
35439
  });
35433
35440
  const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
35434
35441
  //#endregion
@@ -37302,7 +37309,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
37302
37309
  })
37303
37310
  }).json();
37304
37311
  }
37305
- async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
37312
+ async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
37306
37313
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
37307
37314
  signal,
37308
37315
  searchParams: buildSearchParams$2({
@@ -37323,6 +37330,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
37323
37330
  include_rates,
37324
37331
  pinned_ids,
37325
37332
  has_group,
37333
+ track_without_focus,
37326
37334
  cf_filter,
37327
37335
  include_custom_fields,
37328
37336
  include_calendar_integration
@@ -37424,10 +37432,20 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
37424
37432
  }
37425
37433
  //#endregion
37426
37434
  //#region ../focus-queries/dist/projects/requests.ts
37427
- async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
37435
+ async function getProjectsClassic(httpClient, organization_id, workspace_id, { include_task_counts, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
37428
37436
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37429
37437
  signal,
37430
37438
  searchParams: buildSearchParams$2({
37439
+ include_task_counts,
37440
+ include_picker_parent_group_counts,
37441
+ task_archived,
37442
+ task_recurring,
37443
+ task_state,
37444
+ task_source,
37445
+ task_assignee_user_id,
37446
+ task_assignee_team_id,
37447
+ task_include_unassigned,
37448
+ task_name,
37431
37449
  page,
37432
37450
  per_page,
37433
37451
  order_by,
@@ -37677,7 +37695,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
37677
37695
  }
37678
37696
  //#endregion
37679
37697
  //#region ../focus-queries/dist/tasks/requests.ts
37680
- async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
37698
+ async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
37681
37699
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
37682
37700
  signal,
37683
37701
  searchParams: buildSearchParams$2({
@@ -37690,7 +37708,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37690
37708
  toggl_user_id,
37691
37709
  name,
37692
37710
  has_time_entries,
37693
- has_time_blocks,
37694
37711
  has_dates,
37695
37712
  private: private_,
37696
37713
  archived,
@@ -37713,10 +37730,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37713
37730
  priority,
37714
37731
  is_priority,
37715
37732
  state,
37716
- timeblock_start_from,
37717
- timeblock_start_until,
37718
- time_block_id,
37719
- time_block_completed,
37720
37733
  team_id,
37721
37734
  assignee_team_id,
37722
37735
  assignee_user_id,
@@ -37728,7 +37741,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37728
37741
  include_assignees,
37729
37742
  include_parent_matches,
37730
37743
  disable_aggregations,
37731
- cf_filter
37744
+ cf_filter,
37745
+ recurring_occurrences_after,
37746
+ max_recurring_occurrences_after,
37747
+ recurring_task_read,
37748
+ include_projected_occurrences
37732
37749
  })
37733
37750
  }).json();
37734
37751
  }
@@ -37803,16 +37820,46 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
37803
37820
  })
37804
37821
  }).json();
37805
37822
  }
37806
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
37823
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
37807
37824
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
37808
37825
  signal,
37809
37826
  searchParams: buildSearchParams$2({
37810
37827
  date_from,
37811
- date_to
37828
+ date_to,
37829
+ skip_provider_refresh
37830
+ })
37831
+ }).json();
37832
+ }
37833
+ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
37834
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
37835
+ signal,
37836
+ searchParams: buildSearchParams$2({
37837
+ project_id,
37838
+ without_project,
37839
+ pinned_only,
37840
+ include_unassigned,
37841
+ search,
37842
+ only_me,
37843
+ page,
37844
+ per_page
37845
+ })
37846
+ }).json();
37847
+ }
37848
+ async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
37849
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
37850
+ signal,
37851
+ searchParams: buildSearchParams$2({
37852
+ project_id,
37853
+ without_project,
37854
+ include_unassigned,
37855
+ search,
37856
+ only_me,
37857
+ page,
37858
+ per_page
37812
37859
  })
37813
37860
  }).json();
37814
37861
  }
37815
- async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
37862
+ async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
37816
37863
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
37817
37864
  signal,
37818
37865
  searchParams: buildSearchParams$2({
@@ -37828,11 +37875,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
37828
37875
  assignee_team_id,
37829
37876
  assignee_user_id,
37830
37877
  tag_id,
37831
- include_assignees
37878
+ include_assignees,
37879
+ recurring_occurrences_after,
37880
+ max_recurring_occurrences_after,
37881
+ recurring_task_read,
37882
+ include_projected_occurrences
37832
37883
  })
37833
37884
  }).json();
37834
37885
  }
37835
- async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
37886
+ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
37836
37887
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
37837
37888
  signal,
37838
37889
  searchParams: buildSearchParams$2({
@@ -37844,7 +37895,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37844
37895
  name,
37845
37896
  include_parent_matches,
37846
37897
  has_time_entries,
37847
- has_time_blocks,
37848
37898
  has_dates,
37849
37899
  private: private_,
37850
37900
  archived,
@@ -37867,8 +37917,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37867
37917
  priority,
37868
37918
  is_priority,
37869
37919
  state,
37870
- time_block_id,
37871
- time_block_completed,
37872
37920
  team_id,
37873
37921
  assignee_team_id,
37874
37922
  assignee_user_id,
@@ -37877,7 +37925,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37877
37925
  recurring_task_ids,
37878
37926
  client_id,
37879
37927
  include_assignees,
37880
- cf_filter
37928
+ cf_filter,
37929
+ recurring_occurrences_after,
37930
+ max_recurring_occurrences_after,
37931
+ recurring_task_read,
37932
+ include_projected_occurrences
37881
37933
  })
37882
37934
  }).json();
37883
37935
  }
@@ -37932,6 +37984,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
37932
37984
  })
37933
37985
  }).json();
37934
37986
  }
37987
+ async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
37988
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
37989
+ signal,
37990
+ searchParams: buildSearchParams$2({ return_occurrence })
37991
+ }).json();
37992
+ }
37935
37993
  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) {
37936
37994
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
37937
37995
  signal,
@@ -37957,7 +38015,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
37957
38015
  }
37958
38016
  //#endregion
37959
38017
  //#region ../focus-queries/dist/time-entries/requests.ts
37960
- async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived, time_block_id } = {}, signal) {
38018
+ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
37961
38019
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
37962
38020
  signal,
37963
38021
  searchParams: buildSearchParams$2({
@@ -37965,21 +38023,28 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
37965
38023
  per_page,
37966
38024
  order_by,
37967
38025
  type,
37968
- archived,
37969
- time_block_id
38026
+ archived
37970
38027
  })
37971
38028
  }).json();
37972
38029
  }
37973
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
38030
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
37974
38031
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
37975
38032
  signal,
37976
- json: data
38033
+ json: data,
38034
+ searchParams: buildSearchParams$2({
38035
+ from_recurring_task_id,
38036
+ return_occurrence
38037
+ })
37977
38038
  }).json();
37978
38039
  }
37979
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
38040
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
37980
38041
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
37981
38042
  signal,
37982
- json: data
38043
+ json: data,
38044
+ searchParams: buildSearchParams$2({
38045
+ from_recurring_task_id,
38046
+ return_occurrence
38047
+ })
37983
38048
  }).json();
37984
38049
  }
37985
38050
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -38030,7 +38095,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
38030
38095
  json: data
38031
38096
  }).json();
38032
38097
  }
38033
- async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
38098
+ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, project_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
38034
38099
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
38035
38100
  signal,
38036
38101
  searchParams: buildSearchParams$2({
@@ -38038,6 +38103,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
38038
38103
  date_to,
38039
38104
  task_id,
38040
38105
  status_id,
38106
+ project_id,
38041
38107
  type,
38042
38108
  order_by,
38043
38109
  archived,
@@ -38052,28 +38118,36 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
38052
38118
  json: data
38053
38119
  }).json();
38054
38120
  }
38055
- async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
38056
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
38057
- signal,
38058
- searchParams: buildSearchParams$2({ time_block_id })
38059
- }).json();
38060
- }
38061
38121
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
38062
38122
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
38063
38123
  }
38064
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
38124
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
38065
38125
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38066
38126
  signal,
38067
- json: data
38127
+ json: data,
38128
+ searchParams: buildSearchParams$2({
38129
+ from_recurring_task_id,
38130
+ return_occurrence
38131
+ })
38068
38132
  }).json();
38069
38133
  }
38070
- async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
38071
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
38134
+ async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
38135
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38136
+ signal,
38137
+ searchParams: buildSearchParams$2({
38138
+ from_recurring_task_id,
38139
+ return_occurrence
38140
+ })
38141
+ }).json();
38072
38142
  }
38073
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
38143
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
38074
38144
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38075
38145
  signal,
38076
- json: data
38146
+ json: data,
38147
+ searchParams: buildSearchParams$2({
38148
+ from_recurring_task_id,
38149
+ return_occurrence
38150
+ })
38077
38151
  }).json();
38078
38152
  }
38079
38153
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -41899,13 +41973,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
41899
41973
  }
41900
41974
  //#endregion
41901
41975
  //#region ../focus-queries/dist/audit-log/requests.ts
41902
- async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
41976
+ 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) {
41903
41977
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
41904
41978
  signal,
41905
41979
  searchParams: buildSearchParams$2({
41906
41980
  workspace_id,
41907
41981
  entity_type,
41908
41982
  entity_id,
41983
+ project_id,
41984
+ custom_field_id,
41909
41985
  action,
41910
41986
  user_id,
41911
41987
  page_size,
@@ -41914,12 +41990,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
41914
41990
  })
41915
41991
  }).json();
41916
41992
  }
41917
- async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
41993
+ 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) {
41918
41994
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
41919
41995
  signal,
41920
41996
  searchParams: buildSearchParams$2({
41921
41997
  entity_type,
41922
41998
  entity_id,
41999
+ project_id,
42000
+ custom_field_id,
41923
42001
  action,
41924
42002
  user_id,
41925
42003
  page_size,
@@ -42072,13 +42150,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
42072
42150
  }
42073
42151
  //#endregion
42074
42152
  //#region ../focus-queries/dist/capacities/requests.ts
42075
- 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) {
42153
+ 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) {
42076
42154
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
42077
42155
  signal,
42078
42156
  searchParams: buildSearchParams$2({
42079
- user_id,
42080
42157
  start_date,
42081
42158
  end_date,
42159
+ user_id,
42160
+ team_id,
42082
42161
  private: private_,
42083
42162
  task_source,
42084
42163
  unit,
@@ -42138,6 +42217,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
42138
42217
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42139
42218
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
42140
42219
  }
42220
+ async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42221
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
42222
+ }
42223
+ async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
42224
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
42225
+ signal,
42226
+ json: data
42227
+ }).json();
42228
+ }
42141
42229
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
42142
42230
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
42143
42231
  signal,
@@ -42177,6 +42265,61 @@ async function patchUserCustomFieldValues(httpClient, organization_id, workspace
42177
42265
  }).json();
42178
42266
  }
42179
42267
  //#endregion
42268
+ //#region ../focus-queries/dist/designations/requests.ts
42269
+ async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { name, page, per_page, order_by } = {}, signal) {
42270
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
42271
+ signal,
42272
+ searchParams: buildSearchParams$2({
42273
+ name,
42274
+ page,
42275
+ per_page,
42276
+ order_by
42277
+ })
42278
+ }).json();
42279
+ }
42280
+ async function createWorkspaceDesignation(httpClient, organization_id, workspace_id, data, signal) {
42281
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
42282
+ signal,
42283
+ json: data
42284
+ }).json();
42285
+ }
42286
+ async function bulkCreateWorkspaceDesignations(httpClient, organization_id, workspace_id, data, signal) {
42287
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
42288
+ signal,
42289
+ json: data
42290
+ }).json();
42291
+ }
42292
+ async function bulkDeleteWorkspaceDesignations(httpClient, organization_id, workspace_id, ids, all_or_none, signal) {
42293
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
42294
+ signal,
42295
+ searchParams: buildSearchParams$2({
42296
+ ids,
42297
+ all_or_none
42298
+ })
42299
+ }).json();
42300
+ }
42301
+ async function bulkUpdateWorkspaceDesignations(httpClient, organization_id, workspace_id, data, signal) {
42302
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
42303
+ signal,
42304
+ json: data
42305
+ }).json();
42306
+ }
42307
+ async function updateWorkspaceDesignationMembers(httpClient, organization_id, workspace_id, data, signal) {
42308
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/members`, {
42309
+ signal,
42310
+ json: data
42311
+ }).json();
42312
+ }
42313
+ async function deleteWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, signal) {
42314
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, { signal }).json();
42315
+ }
42316
+ async function updateWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, data, signal) {
42317
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, {
42318
+ signal,
42319
+ json: data
42320
+ }).json();
42321
+ }
42322
+ //#endregion
42180
42323
  //#region ../focus-queries/dist/goals/requests.ts
42181
42324
  async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
42182
42325
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/goals`, {
@@ -42401,7 +42544,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
42401
42544
  }
42402
42545
  //#endregion
42403
42546
  //#region ../focus-queries/dist/project-groups/requests.ts
42404
- 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) {
42547
+ 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) {
42405
42548
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
42406
42549
  signal,
42407
42550
  searchParams: buildSearchParams$2({
@@ -42427,6 +42570,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42427
42570
  user_id,
42428
42571
  only_me,
42429
42572
  include_drafts,
42573
+ include_recurring_series,
42430
42574
  cf_filter
42431
42575
  })
42432
42576
  }).json();
@@ -42445,9 +42589,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
42445
42589
  json: data
42446
42590
  }).json();
42447
42591
  }
42448
- async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
42449
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
42450
- }
42451
42592
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
42452
42593
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
42453
42594
  }
@@ -42473,6 +42614,37 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
42473
42614
  }).json();
42474
42615
  }
42475
42616
  //#endregion
42617
+ //#region ../focus-queries/dist/publicsharedreports/requests.ts
42618
+ async function openPublicSharedReport(httpClient, token, signal) {
42619
+ return await httpClient.get(`shared/${token}`, { signal }).json();
42620
+ }
42621
+ async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
42622
+ return await httpClient.post(`shared/${token}/profitability`, {
42623
+ signal,
42624
+ json: data,
42625
+ searchParams: buildSearchParams$2({
42626
+ response_format,
42627
+ include_dicts
42628
+ })
42629
+ }).json();
42630
+ }
42631
+ async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
42632
+ return await httpClient.post(`shared/${token}/query`, {
42633
+ signal,
42634
+ json: data,
42635
+ searchParams: buildSearchParams$2({
42636
+ response_format,
42637
+ include_dicts
42638
+ })
42639
+ }).json();
42640
+ }
42641
+ async function workloadPublicSharedReport(httpClient, token, data, signal) {
42642
+ return await httpClient.post(`shared/${token}/workload`, {
42643
+ signal,
42644
+ json: data
42645
+ }).json();
42646
+ }
42647
+ //#endregion
42476
42648
  //#region ../focus-queries/dist/rates/requests.ts
42477
42649
  async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
42478
42650
  const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
@@ -42634,7 +42806,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
42634
42806
  }
42635
42807
  //#endregion
42636
42808
  //#region ../focus-queries/dist/search/requests.ts
42637
- 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) {
42809
+ 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) {
42638
42810
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
42639
42811
  signal,
42640
42812
  searchParams: buildSearchParams$2({
@@ -42642,6 +42814,7 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
42642
42814
  per_group,
42643
42815
  assignee_user_id,
42644
42816
  assignee_team_id,
42817
+ include_unassigned,
42645
42818
  project_id,
42646
42819
  task_id,
42647
42820
  include_drafts,
@@ -42686,6 +42859,18 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
42686
42859
  async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
42687
42860
  return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
42688
42861
  }
42862
+ async function unshareSharedReport(httpClient, workspace_id, id, signal) {
42863
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
42864
+ }
42865
+ async function getSharedReportDates(httpClient, workspace_id, id, signal) {
42866
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
42867
+ }
42868
+ async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
42869
+ return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
42870
+ signal,
42871
+ json: data
42872
+ }).json();
42873
+ }
42689
42874
  async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
42690
42875
  return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
42691
42876
  signal,
@@ -42695,6 +42880,21 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
42695
42880
  async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
42696
42881
  return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
42697
42882
  }
42883
+ async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
42884
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
42885
+ signal,
42886
+ json: data
42887
+ }).json();
42888
+ }
42889
+ async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
42890
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
42891
+ }
42892
+ async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
42893
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
42894
+ signal,
42895
+ json: data
42896
+ }).json();
42897
+ }
42698
42898
  //#endregion
42699
42899
  //#region ../focus-queries/dist/subscriptions/requests.ts
42700
42900
  async function getCurrentSubscription(httpClient, organization_id, signal) {
@@ -42751,9 +42951,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
42751
42951
  }
42752
42952
  //#endregion
42753
42953
  //#region ../focus-queries/dist/task-groups/requests.ts
42754
- 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) {
42954
+ 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) {
42755
42955
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
42756
42956
  signal,
42957
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
42757
42958
  searchParams: buildSearchParams$2({
42758
42959
  project_id,
42759
42960
  source,
@@ -42782,13 +42983,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
42782
42983
  min_days,
42783
42984
  include_drafts,
42784
42985
  cf_filter,
42785
- user_cf_filter
42986
+ user_cf_filter,
42987
+ recurring_occurrences_after,
42988
+ max_recurring_occurrences_after,
42989
+ recurring_task_read,
42990
+ include_projected_occurrences
42786
42991
  })
42787
42992
  }).json();
42788
42993
  }
42789
- 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) {
42994
+ 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) {
42790
42995
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
42791
42996
  signal,
42997
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
42792
42998
  searchParams: buildSearchParams$2({
42793
42999
  team_id,
42794
43000
  project_id,
@@ -42817,13 +43023,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
42817
43023
  min_days,
42818
43024
  include_drafts,
42819
43025
  cf_filter,
42820
- user_cf_filter
43026
+ user_cf_filter,
43027
+ recurring_occurrences_after,
43028
+ max_recurring_occurrences_after,
43029
+ recurring_task_read,
43030
+ include_projected_occurrences
42821
43031
  })
42822
43032
  }).json();
42823
43033
  }
42824
- 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) {
43034
+ 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) {
42825
43035
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
42826
43036
  signal,
43037
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
42827
43038
  searchParams: buildSearchParams$2({
42828
43039
  source,
42829
43040
  priority,
@@ -42853,6 +43064,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
42853
43064
  include_drafts,
42854
43065
  cf_filter,
42855
43066
  user_cf_filter,
43067
+ recurring_occurrences_after,
43068
+ max_recurring_occurrences_after,
43069
+ recurring_task_read,
43070
+ include_projected_occurrences,
42856
43071
  page,
42857
43072
  per_page,
42858
43073
  order_by
@@ -42880,104 +43095,6 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
42880
43095
  }).json();
42881
43096
  }
42882
43097
  //#endregion
42883
- //#region ../focus-queries/dist/time-blocks/requests.ts
42884
- async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
42885
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
42886
- signal,
42887
- searchParams: buildSearchParams$2({
42888
- page,
42889
- per_page,
42890
- order_by,
42891
- archived
42892
- })
42893
- }).json();
42894
- }
42895
- async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
42896
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
42897
- signal,
42898
- json: data
42899
- }).json();
42900
- }
42901
- async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
42902
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
42903
- }
42904
- async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
42905
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
42906
- signal,
42907
- json: data
42908
- }).json();
42909
- }
42910
- async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
42911
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
42912
- signal,
42913
- searchParams: buildSearchParams$2({ outbound_sync })
42914
- }).json();
42915
- }
42916
- async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
42917
- return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
42918
- signal,
42919
- json: data
42920
- }).json();
42921
- }
42922
- async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
42923
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
42924
- }
42925
- async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
42926
- return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
42927
- }
42928
- async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
42929
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
42930
- }
42931
- async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
42932
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
42933
- signal,
42934
- searchParams: buildSearchParams$2({
42935
- date_from,
42936
- date_to,
42937
- task_id,
42938
- status_id,
42939
- page,
42940
- per_page,
42941
- archived,
42942
- order_by
42943
- })
42944
- }).json();
42945
- }
42946
- async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
42947
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
42948
- signal,
42949
- json: data
42950
- }).json();
42951
- }
42952
- async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
42953
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
42954
- signal,
42955
- searchParams: buildSearchParams$2({
42956
- ids,
42957
- outbound_sync
42958
- })
42959
- }).json();
42960
- }
42961
- async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
42962
- return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
42963
- signal,
42964
- json: data
42965
- }).json();
42966
- }
42967
- async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
42968
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
42969
- signal,
42970
- searchParams: buildSearchParams$2({
42971
- date_from,
42972
- date_to,
42973
- task_id,
42974
- status_id,
42975
- archived,
42976
- order_by
42977
- })
42978
- }).json();
42979
- }
42980
- //#endregion
42981
43098
  //#region ../focus-queries/dist/time-entry-constraints/requests.ts
42982
43099
  async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
42983
43100
  return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
@@ -43015,6 +43132,12 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
43015
43132
  })
43016
43133
  }).json();
43017
43134
  }
43135
+ async function getTimeoffCategories(httpClient, organization_id, signal) {
43136
+ return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
43137
+ }
43138
+ async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
43139
+ return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
43140
+ }
43018
43141
  async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
43019
43142
  return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
43020
43143
  signal,
@@ -43042,6 +43165,26 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
43042
43165
  json: data
43043
43166
  }).json();
43044
43167
  }
43168
+ async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
43169
+ return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
43170
+ signal,
43171
+ searchParams: buildSearchParams$2({
43172
+ category_id,
43173
+ date
43174
+ })
43175
+ }).json();
43176
+ }
43177
+ async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
43178
+ return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
43179
+ signal,
43180
+ searchParams: buildSearchParams$2({
43181
+ category_id,
43182
+ year,
43183
+ page,
43184
+ rows
43185
+ })
43186
+ }).json();
43187
+ }
43045
43188
  //#endregion
43046
43189
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
43047
43190
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -43142,6 +43285,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
43142
43285
  json: data
43143
43286
  }).json();
43144
43287
  }
43288
+ async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
43289
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
43290
+ signal,
43291
+ searchParams: buildSearchParams$2({
43292
+ date_from,
43293
+ date_to,
43294
+ setup_id,
43295
+ user_account_ids,
43296
+ approver_user_account_ids,
43297
+ team_ids
43298
+ })
43299
+ }).json();
43300
+ }
43145
43301
  async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
43146
43302
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
43147
43303
  }
@@ -43185,10 +43341,24 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
43185
43341
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
43186
43342
  }
43187
43343
  //#endregion
43188
- //#region ../focus-queries/dist/user-settings/requests.ts
43189
- async function getUserSettings(httpClient, signal) {
43190
- return await httpClient.get(`users/me/settings`, { signal }).json();
43191
- }
43344
+ //#region ../focus-queries/dist/track-team-invites/requests.ts
43345
+ async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
43346
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
43347
+ signal,
43348
+ json: data
43349
+ }).json();
43350
+ }
43351
+ //#endregion
43352
+ //#region ../focus-queries/dist/user-settings/requests.ts
43353
+ async function emailUnsubscribePage(httpClient, token, signal) {
43354
+ return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
43355
+ }
43356
+ async function emailUnsubscribe(httpClient, token, signal) {
43357
+ return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
43358
+ }
43359
+ async function getUserSettings(httpClient, signal) {
43360
+ return await httpClient.get(`users/me/settings`, { signal }).json();
43361
+ }
43192
43362
  async function partialUpdateUserSettings(httpClient, data, signal) {
43193
43363
  return await httpClient.patch(`users/me/settings`, {
43194
43364
  signal,
@@ -43213,6 +43383,12 @@ async function serviceVersion(httpClient, signal) {
43213
43383
  }
43214
43384
  //#endregion
43215
43385
  //#region ../focus-queries/dist/working-hours/requests.ts
43386
+ async function replaceWorkingHoursForUsers(httpClient, organization_id, data, signal) {
43387
+ return await httpClient.put(`organizations/${organization_id}/workinghours/users`, {
43388
+ signal,
43389
+ json: data
43390
+ }).json();
43391
+ }
43216
43392
  async function getWorkingHoursForUser(httpClient, organization_id, user_id, signal) {
43217
43393
  return await httpClient.get(`organizations/${organization_id}/workinghours/users/${user_id}`, { signal }).json();
43218
43394
  }
@@ -43425,6 +43601,7 @@ const generatedFocusOperations = [
43425
43601
  mcp: { entityTool: "audit-log" },
43426
43602
  inputSchema: /* @__PURE__ */ looseObject({
43427
43603
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43604
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43428
43605
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43429
43606
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43430
43607
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -43432,6 +43609,7 @@ const generatedFocusOperations = [
43432
43609
  from: /* @__PURE__ */ string$1(),
43433
43610
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43434
43611
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43612
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43435
43613
  to: /* @__PURE__ */ string$1(),
43436
43614
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43437
43615
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -43465,6 +43643,7 @@ const generatedFocusOperations = [
43465
43643
  mcp: { entityTool: "audit-log" },
43466
43644
  inputSchema: /* @__PURE__ */ looseObject({
43467
43645
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43646
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43468
43647
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43469
43648
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43470
43649
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -43472,6 +43651,7 @@ const generatedFocusOperations = [
43472
43651
  from: /* @__PURE__ */ string$1(),
43473
43652
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43474
43653
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43654
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43475
43655
  to: /* @__PURE__ */ string$1(),
43476
43656
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43477
43657
  }),
@@ -43511,6 +43691,7 @@ const generatedFocusOperations = [
43511
43691
  private_: /* @__PURE__ */ unknown$1(),
43512
43692
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43513
43693
  task_source: /* @__PURE__ */ unknown$1(),
43694
+ team_id: /* @__PURE__ */ number$2(),
43514
43695
  unit: /* @__PURE__ */ unknown$1(),
43515
43696
  user_id: /* @__PURE__ */ number$2()
43516
43697
  }),
@@ -43760,8 +43941,6 @@ const generatedFocusOperations = [
43760
43941
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43761
43942
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
43762
43943
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43763
- integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43764
- integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43765
43944
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43766
43945
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43767
43946
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -43795,8 +43974,6 @@ const generatedFocusOperations = [
43795
43974
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43796
43975
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
43797
43976
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43798
- integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43799
- integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43800
43977
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43801
43978
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43802
43979
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -43812,12 +43989,6 @@ const generatedFocusOperations = [
43812
43989
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43813
43990
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43814
43991
  }))),
43815
- time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
43816
- start: apiDateTimeString,
43817
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43818
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43819
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
43820
- }))),
43821
43992
  time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
43822
43993
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
43823
43994
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -43827,13 +43998,6 @@ const generatedFocusOperations = [
43827
43998
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43828
43999
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43829
44000
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
43830
- time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
43831
- start: apiDateTimeString,
43832
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43833
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43834
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
43835
- })),
43836
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43837
44001
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
43838
44002
  }))
43839
44003
  }) }),
@@ -43951,6 +44115,33 @@ const generatedFocusOperations = [
43951
44115
  ]));
43952
44116
  }
43953
44117
  },
44118
+ {
44119
+ id: "focus.custom-fields.get-allowed-users",
44120
+ family: "focus",
44121
+ resource: "custom-fields",
44122
+ action: "get-allowed-users",
44123
+ title: "Get Allowed Users Custom Fields",
44124
+ description: "Get Allowed Users Custom Fields.",
44125
+ safety: "read",
44126
+ destructive: false,
44127
+ cli: {
44128
+ group: ["custom-fields"],
44129
+ command: "get-allowed-users",
44130
+ interactive: "available"
44131
+ },
44132
+ mcp: { entityTool: "custom-fields" },
44133
+ inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
44134
+ execute: (input, { client }) => {
44135
+ const data = input;
44136
+ return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
44137
+ client.httpClient,
44138
+ client.organizationId,
44139
+ client.workspaceIdNumber,
44140
+ data.custom_field_id,
44141
+ void 0
44142
+ ]));
44143
+ }
44144
+ },
43954
44145
  {
43955
44146
  id: "focus.custom-fields.list",
43956
44147
  family: "focus",
@@ -44120,6 +44311,37 @@ const generatedFocusOperations = [
44120
44311
  ]));
44121
44312
  }
44122
44313
  },
44314
+ {
44315
+ id: "focus.custom-fields.replace-custom-field-allowed-users",
44316
+ family: "focus",
44317
+ resource: "custom-fields",
44318
+ action: "replace-custom-field-allowed-users",
44319
+ title: "Replace Custom Field Allowed Users Custom Fields",
44320
+ description: "Replace Custom Field Allowed Users Custom Fields.",
44321
+ safety: "update",
44322
+ destructive: false,
44323
+ cli: {
44324
+ group: ["custom-fields"],
44325
+ command: "replace-custom-field-allowed-users",
44326
+ interactive: "default"
44327
+ },
44328
+ mcp: { entityTool: "custom-fields" },
44329
+ inputSchema: /* @__PURE__ */ looseObject({
44330
+ custom_field_id: /* @__PURE__ */ number$2(),
44331
+ payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
44332
+ }),
44333
+ execute: (input, { client }) => {
44334
+ const data = input;
44335
+ return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
44336
+ client.httpClient,
44337
+ client.organizationId,
44338
+ client.workspaceIdNumber,
44339
+ data.custom_field_id,
44340
+ data.payload ?? data.data ?? data,
44341
+ void 0
44342
+ ]));
44343
+ }
44344
+ },
44123
44345
  {
44124
44346
  id: "focus.custom-fields.update",
44125
44347
  family: "focus",
@@ -44250,6 +44472,256 @@ const generatedFocusOperations = [
44250
44472
  ]));
44251
44473
  }
44252
44474
  },
44475
+ {
44476
+ id: "focus.designations.bulk-create-workspace",
44477
+ family: "focus",
44478
+ resource: "designations",
44479
+ action: "bulk-create-workspace",
44480
+ title: "Bulk Create Workspace Designations",
44481
+ description: "Bulk Create Workspace Designations.",
44482
+ safety: "create",
44483
+ destructive: false,
44484
+ cli: {
44485
+ group: ["designations", "bulk"],
44486
+ command: "create-workspace",
44487
+ interactive: "default"
44488
+ },
44489
+ mcp: { entityTool: "designations" },
44490
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
44491
+ name: /* @__PURE__ */ string$1(),
44492
+ member_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44493
+ })) }) }),
44494
+ execute: (input, { client }) => {
44495
+ const data = input;
44496
+ return client.runGeneratedRequest("bulkCreateWorkspaceDesignations", () => callGeneratedRequest(bulkCreateWorkspaceDesignations, [
44497
+ client.httpClient,
44498
+ client.organizationId,
44499
+ client.workspaceIdNumber,
44500
+ data.payload ?? data.data ?? data,
44501
+ void 0
44502
+ ]));
44503
+ }
44504
+ },
44505
+ {
44506
+ id: "focus.designations.bulk-delete-workspace",
44507
+ family: "focus",
44508
+ resource: "designations",
44509
+ action: "bulk-delete-workspace",
44510
+ title: "Bulk Delete Workspace Designations",
44511
+ description: "Bulk Delete Workspace Designations.",
44512
+ safety: "delete",
44513
+ destructive: true,
44514
+ cli: {
44515
+ group: ["designations", "bulk"],
44516
+ command: "delete-workspace",
44517
+ interactive: "default"
44518
+ },
44519
+ mcp: { entityTool: "designations" },
44520
+ inputSchema: /* @__PURE__ */ looseObject({
44521
+ all_or_none: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44522
+ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
44523
+ }),
44524
+ execute: (input, { client }) => {
44525
+ const data = input;
44526
+ return client.runGeneratedRequest("bulkDeleteWorkspaceDesignations", () => callGeneratedRequest(bulkDeleteWorkspaceDesignations, [
44527
+ client.httpClient,
44528
+ client.organizationId,
44529
+ client.workspaceIdNumber,
44530
+ data.ids,
44531
+ data.all_or_none,
44532
+ void 0
44533
+ ]));
44534
+ }
44535
+ },
44536
+ {
44537
+ id: "focus.designations.bulk-update-workspace",
44538
+ family: "focus",
44539
+ resource: "designations",
44540
+ action: "bulk-update-workspace",
44541
+ title: "Bulk Update Workspace Designations",
44542
+ description: "Bulk Update Workspace Designations.",
44543
+ safety: "update",
44544
+ destructive: false,
44545
+ cli: {
44546
+ group: ["designations", "bulk"],
44547
+ command: "update-workspace",
44548
+ interactive: "default"
44549
+ },
44550
+ mcp: { entityTool: "designations" },
44551
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44552
+ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
44553
+ id: /* @__PURE__ */ number$2(),
44554
+ name: /* @__PURE__ */ string$1()
44555
+ })),
44556
+ all_or_none: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
44557
+ }) }),
44558
+ execute: (input, { client }) => {
44559
+ const data = input;
44560
+ return client.runGeneratedRequest("bulkUpdateWorkspaceDesignations", () => callGeneratedRequest(bulkUpdateWorkspaceDesignations, [
44561
+ client.httpClient,
44562
+ client.organizationId,
44563
+ client.workspaceIdNumber,
44564
+ data.payload ?? data.data ?? data,
44565
+ void 0
44566
+ ]));
44567
+ }
44568
+ },
44569
+ {
44570
+ id: "focus.designations.create-workspace",
44571
+ family: "focus",
44572
+ resource: "designations",
44573
+ action: "create-workspace",
44574
+ title: "Create Workspace Designations",
44575
+ description: "Create Workspace Designations.",
44576
+ safety: "create",
44577
+ destructive: false,
44578
+ cli: {
44579
+ group: ["designations"],
44580
+ command: "create-workspace",
44581
+ interactive: "default"
44582
+ },
44583
+ mcp: { entityTool: "designations" },
44584
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44585
+ name: /* @__PURE__ */ string$1(),
44586
+ member_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44587
+ }) }),
44588
+ execute: (input, { client }) => {
44589
+ const data = input;
44590
+ return client.runGeneratedRequest("createWorkspaceDesignation", () => callGeneratedRequest(createWorkspaceDesignation, [
44591
+ client.httpClient,
44592
+ client.organizationId,
44593
+ client.workspaceIdNumber,
44594
+ data.payload ?? data.data ?? data,
44595
+ void 0
44596
+ ]));
44597
+ }
44598
+ },
44599
+ {
44600
+ id: "focus.designations.delete-workspace",
44601
+ family: "focus",
44602
+ resource: "designations",
44603
+ action: "delete-workspace",
44604
+ title: "Delete Workspace Designations",
44605
+ description: "Delete Workspace Designations.",
44606
+ safety: "delete",
44607
+ destructive: true,
44608
+ cli: {
44609
+ group: ["designations"],
44610
+ command: "delete-workspace",
44611
+ interactive: "default"
44612
+ },
44613
+ mcp: { entityTool: "designations" },
44614
+ inputSchema: /* @__PURE__ */ looseObject({ designation_id: /* @__PURE__ */ number$2() }),
44615
+ execute: (input, { client }) => {
44616
+ const data = input;
44617
+ return client.runGeneratedRequest("deleteWorkspaceDesignation", () => callGeneratedRequest(deleteWorkspaceDesignation, [
44618
+ client.httpClient,
44619
+ client.organizationId,
44620
+ client.workspaceIdNumber,
44621
+ data.designation_id,
44622
+ void 0
44623
+ ]));
44624
+ }
44625
+ },
44626
+ {
44627
+ id: "focus.designations.get-workspace-designations",
44628
+ family: "focus",
44629
+ resource: "designations",
44630
+ action: "get-workspace-designations",
44631
+ title: "Get Workspace Designations Designations",
44632
+ description: "Get Workspace Designations Designations.",
44633
+ safety: "read",
44634
+ destructive: false,
44635
+ cli: {
44636
+ group: ["designations"],
44637
+ command: "get-workspace-designations",
44638
+ interactive: "hidden"
44639
+ },
44640
+ mcp: { entityTool: "designations" },
44641
+ inputSchema: /* @__PURE__ */ looseObject({
44642
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
44643
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
44644
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44645
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
44646
+ }),
44647
+ execute: (input, { client }) => {
44648
+ const data = input;
44649
+ return client.runGeneratedRequest("getWorkspaceDesignationsClassic", () => callGeneratedRequest(getWorkspaceDesignationsClassic, [
44650
+ client.httpClient,
44651
+ client.organizationId,
44652
+ client.workspaceIdNumber,
44653
+ data,
44654
+ void 0
44655
+ ]));
44656
+ }
44657
+ },
44658
+ {
44659
+ id: "focus.designations.update-workspace",
44660
+ family: "focus",
44661
+ resource: "designations",
44662
+ action: "update-workspace",
44663
+ title: "Update Workspace Designations",
44664
+ description: "Update Workspace Designations.",
44665
+ safety: "update",
44666
+ destructive: false,
44667
+ cli: {
44668
+ group: ["designations"],
44669
+ command: "update-workspace",
44670
+ interactive: "default"
44671
+ },
44672
+ mcp: { entityTool: "designations" },
44673
+ inputSchema: /* @__PURE__ */ looseObject({
44674
+ designation_id: /* @__PURE__ */ number$2(),
44675
+ payload: /* @__PURE__ */ looseObject({ name: /* @__PURE__ */ string$1() })
44676
+ }),
44677
+ execute: (input, { client }) => {
44678
+ const data = input;
44679
+ return client.runGeneratedRequest("updateWorkspaceDesignation", () => callGeneratedRequest(updateWorkspaceDesignation, [
44680
+ client.httpClient,
44681
+ client.organizationId,
44682
+ client.workspaceIdNumber,
44683
+ data.designation_id,
44684
+ data.payload ?? data.data ?? data,
44685
+ void 0
44686
+ ]));
44687
+ }
44688
+ },
44689
+ {
44690
+ id: "focus.designations.update-workspace-designation-members",
44691
+ family: "focus",
44692
+ resource: "designations",
44693
+ action: "update-workspace-designation-members",
44694
+ title: "Update Workspace Designation Members Designations",
44695
+ description: "Update Workspace Designation Members Designations.",
44696
+ safety: "update",
44697
+ destructive: false,
44698
+ cli: {
44699
+ group: ["designations"],
44700
+ command: "update-workspace-designation-members",
44701
+ interactive: "default"
44702
+ },
44703
+ mcp: { entityTool: "designations" },
44704
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44705
+ add: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
44706
+ designation_id: /* @__PURE__ */ number$2(),
44707
+ toggl_user_id: /* @__PURE__ */ number$2()
44708
+ }))),
44709
+ remove: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
44710
+ designation_id: /* @__PURE__ */ number$2(),
44711
+ toggl_user_id: /* @__PURE__ */ number$2()
44712
+ })))
44713
+ }) }),
44714
+ execute: (input, { client }) => {
44715
+ const data = input;
44716
+ return client.runGeneratedRequest("updateWorkspaceDesignationMembers", () => callGeneratedRequest(updateWorkspaceDesignationMembers, [
44717
+ client.httpClient,
44718
+ client.organizationId,
44719
+ client.workspaceIdNumber,
44720
+ data.payload ?? data.data ?? data,
44721
+ void 0
44722
+ ]));
44723
+ }
44724
+ },
44253
44725
  {
44254
44726
  id: "focus.goals.create",
44255
44727
  family: "focus",
@@ -44266,13 +44738,7 @@ const generatedFocusOperations = [
44266
44738
  },
44267
44739
  mcp: { entityTool: "goals" },
44268
44740
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44269
- billable: /* @__PURE__ */ boolean$1(),
44270
44741
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44271
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44272
- icon: /* @__PURE__ */ string$1(),
44273
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44274
- name: /* @__PURE__ */ string$1(),
44275
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44276
44742
  recurrence: /* @__PURE__ */ picklist$1([
44277
44743
  "daily",
44278
44744
  "weekly",
@@ -44280,12 +44746,18 @@ const generatedFocusOperations = [
44280
44746
  "monthly"
44281
44747
  ]),
44282
44748
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44283
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44284
44749
  target_seconds: /* @__PURE__ */ number$2(),
44285
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44286
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44750
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44287
44751
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44288
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44752
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44753
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44754
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44755
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44756
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44757
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44758
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44759
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44760
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44289
44761
  }) }),
44290
44762
  execute: (input, { client }) => {
44291
44763
  const data = input;
@@ -44391,13 +44863,6 @@ const generatedFocusOperations = [
44391
44863
  },
44392
44864
  mcp: { entityTool: "goals" },
44393
44865
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44394
- billable: /* @__PURE__ */ boolean$1(),
44395
- comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44396
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44397
- icon: /* @__PURE__ */ string$1(),
44398
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44399
- name: /* @__PURE__ */ string$1(),
44400
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44401
44866
  recurrence: /* @__PURE__ */ picklist$1([
44402
44867
  "daily",
44403
44868
  "weekly",
@@ -44405,12 +44870,19 @@ const generatedFocusOperations = [
44405
44870
  "monthly"
44406
44871
  ]),
44407
44872
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44408
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44409
- target_seconds: /* @__PURE__ */ number$2(),
44410
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44411
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44873
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44412
44874
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44413
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44875
+ comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
44876
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44877
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44878
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44879
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44880
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44881
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44882
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44883
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44884
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44885
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44414
44886
  }) }),
44415
44887
  execute: (input, { client }) => {
44416
44888
  const data = input;
@@ -45377,9 +45849,17 @@ const generatedFocusOperations = [
45377
45849
  mcp: { entityTool: "projects" },
45378
45850
  inputSchema: /* @__PURE__ */ looseObject({
45379
45851
  payload: /* @__PURE__ */ looseObject({
45852
+ auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45853
+ completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
45380
45854
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
45381
45855
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45382
45856
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45857
+ rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
45858
+ "expire",
45859
+ "carry_all",
45860
+ "carry_over"
45861
+ ])),
45862
+ rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45383
45863
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
45384
45864
  }),
45385
45865
  project_id: /* @__PURE__ */ number$2()
@@ -45823,6 +46303,7 @@ const generatedFocusOperations = [
45823
46303
  group: /* @__PURE__ */ string$1(),
45824
46304
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45825
46305
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46306
+ include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45826
46307
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45827
46308
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45828
46309
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -45926,37 +46407,14 @@ const generatedFocusOperations = [
45926
46407
  }
45927
46408
  },
45928
46409
  {
45929
- id: "focus.projects.margin-targets-clear-workspace",
46410
+ id: "focus.projects.margin-targets-get",
45930
46411
  family: "focus",
45931
46412
  resource: "projects",
45932
- action: "margin-targets-clear-workspace",
45933
- title: "Margin Targets Clear Workspace Projects",
45934
- description: "Margin Targets Clear Workspace Projects.",
45935
- safety: "delete",
45936
- destructive: true,
45937
- cli: {
45938
- group: ["projects", "margin-targets"],
45939
- command: "clear-workspace",
45940
- interactive: "default"
45941
- },
45942
- mcp: { entityTool: "projects" },
45943
- inputSchema: /* @__PURE__ */ looseObject({}),
45944
- execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
45945
- client.httpClient,
45946
- client.organizationId,
45947
- client.workspaceIdNumber,
45948
- void 0
45949
- ]))
45950
- },
45951
- {
45952
- id: "focus.projects.margin-targets-get",
45953
- family: "focus",
45954
- resource: "projects",
45955
- action: "margin-targets-get",
45956
- title: "Margin Targets Get Projects",
45957
- description: "Margin Targets Get Projects.",
45958
- safety: "read",
45959
- destructive: false,
46413
+ action: "margin-targets-get",
46414
+ title: "Margin Targets Get Projects",
46415
+ description: "Margin Targets Get Projects.",
46416
+ safety: "read",
46417
+ destructive: false,
45960
46418
  cli: {
45961
46419
  group: ["projects", "margin-targets"],
45962
46420
  command: "get",
@@ -46392,6 +46850,130 @@ const generatedFocusOperations = [
46392
46850
  ]));
46393
46851
  }
46394
46852
  },
46853
+ {
46854
+ id: "focus.publicsharedreports.open-public-shared-report",
46855
+ family: "focus",
46856
+ resource: "publicsharedreports",
46857
+ action: "open-public-shared-report",
46858
+ title: "Open Public Shared Report Publicsharedreports",
46859
+ description: "Open Public Shared Report Publicsharedreports.",
46860
+ safety: "read",
46861
+ destructive: false,
46862
+ cli: {
46863
+ group: ["publicsharedreports"],
46864
+ command: "open-public-shared-report",
46865
+ interactive: "available"
46866
+ },
46867
+ mcp: { entityTool: "publicsharedreports" },
46868
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
46869
+ execute: (input, { client }) => {
46870
+ const data = input;
46871
+ return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
46872
+ client.httpClient,
46873
+ data.token,
46874
+ void 0
46875
+ ]));
46876
+ }
46877
+ },
46878
+ {
46879
+ id: "focus.publicsharedreports.profitability-public-shared-report",
46880
+ family: "focus",
46881
+ resource: "publicsharedreports",
46882
+ action: "profitability-public-shared-report",
46883
+ title: "Profitability Public Shared Report Publicsharedreports",
46884
+ description: "Profitability Public Shared Report Publicsharedreports.",
46885
+ safety: "update",
46886
+ destructive: false,
46887
+ cli: {
46888
+ group: ["publicsharedreports"],
46889
+ command: "profitability-public-shared-report",
46890
+ interactive: "default"
46891
+ },
46892
+ mcp: { entityTool: "publicsharedreports" },
46893
+ inputSchema: /* @__PURE__ */ looseObject({
46894
+ include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
46895
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46896
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
46897
+ token: /* @__PURE__ */ string$1()
46898
+ }),
46899
+ execute: (input, { client }) => {
46900
+ const data = input;
46901
+ return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
46902
+ client.httpClient,
46903
+ data.token,
46904
+ data.payload ?? data.data ?? data,
46905
+ data.response_format,
46906
+ data.include_dicts,
46907
+ void 0
46908
+ ]));
46909
+ }
46910
+ },
46911
+ {
46912
+ id: "focus.publicsharedreports.query-public-shared-report",
46913
+ family: "focus",
46914
+ resource: "publicsharedreports",
46915
+ action: "query-public-shared-report",
46916
+ title: "Query Public Shared Report Publicsharedreports",
46917
+ description: "Query Public Shared Report Publicsharedreports.",
46918
+ safety: "update",
46919
+ destructive: false,
46920
+ cli: {
46921
+ group: ["publicsharedreports"],
46922
+ command: "query-public-shared-report",
46923
+ interactive: "default"
46924
+ },
46925
+ mcp: { entityTool: "publicsharedreports" },
46926
+ inputSchema: /* @__PURE__ */ looseObject({
46927
+ include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
46928
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46929
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
46930
+ "json_row",
46931
+ "table",
46932
+ "hierarchical"
46933
+ ])),
46934
+ token: /* @__PURE__ */ string$1()
46935
+ }),
46936
+ execute: (input, { client }) => {
46937
+ const data = input;
46938
+ return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
46939
+ client.httpClient,
46940
+ data.token,
46941
+ data.payload ?? data.data ?? data,
46942
+ data.response_format,
46943
+ data.include_dicts,
46944
+ void 0
46945
+ ]));
46946
+ }
46947
+ },
46948
+ {
46949
+ id: "focus.publicsharedreports.workload-public-shared-report",
46950
+ family: "focus",
46951
+ resource: "publicsharedreports",
46952
+ action: "workload-public-shared-report",
46953
+ title: "Workload Public Shared Report Publicsharedreports",
46954
+ description: "Workload Public Shared Report Publicsharedreports.",
46955
+ safety: "update",
46956
+ destructive: false,
46957
+ cli: {
46958
+ group: ["publicsharedreports"],
46959
+ command: "workload-public-shared-report",
46960
+ interactive: "default"
46961
+ },
46962
+ mcp: { entityTool: "publicsharedreports" },
46963
+ inputSchema: /* @__PURE__ */ looseObject({
46964
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46965
+ token: /* @__PURE__ */ string$1()
46966
+ }),
46967
+ execute: (input, { client }) => {
46968
+ const data = input;
46969
+ return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
46970
+ client.httpClient,
46971
+ data.token,
46972
+ data.payload ?? data.data ?? data,
46973
+ void 0
46974
+ ]));
46975
+ }
46976
+ },
46395
46977
  {
46396
46978
  id: "focus.rates.billable-check-project-billable-rate-conflicts",
46397
46979
  family: "focus",
@@ -47969,51 +48551,51 @@ const generatedFocusOperations = [
47969
48551
  mcp: { entityTool: "reports" },
47970
48552
  inputSchema: /* @__PURE__ */ looseObject({
47971
48553
  payload: /* @__PURE__ */ looseObject({
47972
- aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
47973
- aggregation: /* @__PURE__ */ looseObject({
48554
+ aggregation_filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48555
+ aggregation: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
47974
48556
  function: /* @__PURE__ */ string$1(),
47975
48557
  property: /* @__PURE__ */ string$1()
47976
- }),
47977
- operator: /* @__PURE__ */ string$1(),
47978
- property: /* @__PURE__ */ string$1()
47979
- })),
47980
- aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48558
+ })),
48559
+ operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48560
+ property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48561
+ }))),
48562
+ aggregations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
47981
48563
  function: /* @__PURE__ */ string$1(),
47982
48564
  property: /* @__PURE__ */ string$1()
47983
- })),
47984
- attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
47985
- currency: /* @__PURE__ */ string$1(),
47986
- filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
47987
- conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
47988
- operator: /* @__PURE__ */ string$1(),
47989
- property: /* @__PURE__ */ string$1()
47990
- })),
47991
- groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48565
+ }))),
48566
+ attributes: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() }))),
48567
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48568
+ currency: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48569
+ filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48570
+ conditions: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
48571
+ operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48572
+ property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48573
+ }))),
48574
+ groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48575
+ property: /* @__PURE__ */ string$1(),
48576
+ show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
48577
+ }))),
48578
+ limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48579
+ ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
47992
48580
  property: /* @__PURE__ */ string$1(),
47993
- show_empty: /* @__PURE__ */ boolean$1()
48581
+ direction: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48582
+ nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48583
+ }))),
48584
+ pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48585
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48586
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
47994
48587
  })),
47995
- limit: /* @__PURE__ */ number$2(),
47996
- ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
47997
- direction: /* @__PURE__ */ string$1(),
47998
- nulls: /* @__PURE__ */ string$1(),
47999
- property: /* @__PURE__ */ string$1()
48588
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48589
+ from: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48590
+ preset: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48591
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48000
48592
  })),
48001
- pagination: /* @__PURE__ */ looseObject({
48002
- page: /* @__PURE__ */ number$2(),
48003
- per_page: /* @__PURE__ */ number$2()
48004
- }),
48005
- period: /* @__PURE__ */ looseObject({
48006
- from: /* @__PURE__ */ string$1(),
48007
- preset: /* @__PURE__ */ string$1(),
48008
- to: /* @__PURE__ */ string$1()
48009
- }),
48010
- transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48593
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48594
+ transformations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48011
48595
  name: /* @__PURE__ */ string$1(),
48012
48596
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48013
- })),
48014
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48015
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48016
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48597
+ }))),
48598
+ view_in_my_timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
48017
48599
  }),
48018
48600
  response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48019
48601
  }),
@@ -48094,51 +48676,51 @@ const generatedFocusOperations = [
48094
48676
  inputSchema: /* @__PURE__ */ looseObject({
48095
48677
  include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
48096
48678
  payload: /* @__PURE__ */ looseObject({
48097
- aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48098
- aggregation: /* @__PURE__ */ looseObject({
48679
+ aggregation_filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48680
+ aggregation: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48099
48681
  function: /* @__PURE__ */ string$1(),
48100
48682
  property: /* @__PURE__ */ string$1()
48101
- }),
48102
- operator: /* @__PURE__ */ string$1(),
48103
- property: /* @__PURE__ */ string$1()
48104
- })),
48105
- aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48683
+ })),
48684
+ operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48685
+ property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48686
+ }))),
48687
+ aggregations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48106
48688
  function: /* @__PURE__ */ string$1(),
48107
48689
  property: /* @__PURE__ */ string$1()
48108
- })),
48109
- attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
48110
- currency: /* @__PURE__ */ string$1(),
48111
- filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48112
- conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
48113
- operator: /* @__PURE__ */ string$1(),
48114
- property: /* @__PURE__ */ string$1()
48115
- })),
48116
- groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48690
+ }))),
48691
+ attributes: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() }))),
48692
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48693
+ currency: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48694
+ filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48695
+ conditions: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
48696
+ operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48697
+ property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48698
+ }))),
48699
+ groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48700
+ property: /* @__PURE__ */ string$1(),
48701
+ show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
48702
+ }))),
48703
+ limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48704
+ ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48117
48705
  property: /* @__PURE__ */ string$1(),
48118
- show_empty: /* @__PURE__ */ boolean$1()
48706
+ direction: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48707
+ nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48708
+ }))),
48709
+ pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48710
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48711
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48119
48712
  })),
48120
- limit: /* @__PURE__ */ number$2(),
48121
- ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48122
- direction: /* @__PURE__ */ string$1(),
48123
- nulls: /* @__PURE__ */ string$1(),
48124
- property: /* @__PURE__ */ string$1()
48713
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48714
+ from: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48715
+ preset: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48716
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48125
48717
  })),
48126
- pagination: /* @__PURE__ */ looseObject({
48127
- page: /* @__PURE__ */ number$2(),
48128
- per_page: /* @__PURE__ */ number$2()
48129
- }),
48130
- period: /* @__PURE__ */ looseObject({
48131
- from: /* @__PURE__ */ string$1(),
48132
- preset: /* @__PURE__ */ string$1(),
48133
- to: /* @__PURE__ */ string$1()
48134
- }),
48135
- transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48718
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48719
+ transformations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48136
48720
  name: /* @__PURE__ */ string$1(),
48137
48721
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48138
- })),
48139
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48140
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48141
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48722
+ }))),
48723
+ view_in_my_timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
48142
48724
  }),
48143
48725
  response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
48144
48726
  xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -48176,51 +48758,51 @@ const generatedFocusOperations = [
48176
48758
  },
48177
48759
  mcp: { entityTool: "reports" },
48178
48760
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
48179
- aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48180
- aggregation: /* @__PURE__ */ looseObject({
48761
+ aggregation_filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48762
+ aggregation: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48181
48763
  function: /* @__PURE__ */ string$1(),
48182
48764
  property: /* @__PURE__ */ string$1()
48183
- }),
48184
- operator: /* @__PURE__ */ string$1(),
48185
- property: /* @__PURE__ */ string$1()
48186
- })),
48187
- aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48765
+ })),
48766
+ operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48767
+ property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48768
+ }))),
48769
+ aggregations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48188
48770
  function: /* @__PURE__ */ string$1(),
48189
48771
  property: /* @__PURE__ */ string$1()
48190
- })),
48191
- attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
48192
- currency: /* @__PURE__ */ string$1(),
48193
- filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48194
- conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
48195
- operator: /* @__PURE__ */ string$1(),
48196
- property: /* @__PURE__ */ string$1()
48197
- })),
48198
- groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48772
+ }))),
48773
+ attributes: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() }))),
48774
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48775
+ currency: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48776
+ filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48777
+ conditions: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
48778
+ operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48779
+ property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48780
+ }))),
48781
+ groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48782
+ property: /* @__PURE__ */ string$1(),
48783
+ show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
48784
+ }))),
48785
+ limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48786
+ ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48199
48787
  property: /* @__PURE__ */ string$1(),
48200
- show_empty: /* @__PURE__ */ boolean$1()
48788
+ direction: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48789
+ nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48790
+ }))),
48791
+ pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48792
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48793
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48201
48794
  })),
48202
- limit: /* @__PURE__ */ number$2(),
48203
- ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48204
- direction: /* @__PURE__ */ string$1(),
48205
- nulls: /* @__PURE__ */ string$1(),
48206
- property: /* @__PURE__ */ string$1()
48795
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48796
+ from: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48797
+ preset: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48798
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48207
48799
  })),
48208
- pagination: /* @__PURE__ */ looseObject({
48209
- page: /* @__PURE__ */ number$2(),
48210
- per_page: /* @__PURE__ */ number$2()
48211
- }),
48212
- period: /* @__PURE__ */ looseObject({
48213
- from: /* @__PURE__ */ string$1(),
48214
- preset: /* @__PURE__ */ string$1(),
48215
- to: /* @__PURE__ */ string$1()
48216
- }),
48217
- transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48800
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48801
+ transformations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48218
48802
  name: /* @__PURE__ */ string$1(),
48219
48803
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48220
- })),
48221
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48222
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48223
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48804
+ }))),
48805
+ view_in_my_timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
48224
48806
  }) }),
48225
48807
  execute: (input, { client }) => {
48226
48808
  const data = input;
@@ -48249,51 +48831,51 @@ const generatedFocusOperations = [
48249
48831
  mcp: { entityTool: "reports" },
48250
48832
  inputSchema: /* @__PURE__ */ looseObject({
48251
48833
  payload: /* @__PURE__ */ looseObject({
48252
- aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48253
- aggregation: /* @__PURE__ */ looseObject({
48834
+ aggregation_filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48835
+ aggregation: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48254
48836
  function: /* @__PURE__ */ string$1(),
48255
48837
  property: /* @__PURE__ */ string$1()
48256
- }),
48257
- operator: /* @__PURE__ */ string$1(),
48258
- property: /* @__PURE__ */ string$1()
48259
- })),
48260
- aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48838
+ })),
48839
+ operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48840
+ property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48841
+ }))),
48842
+ aggregations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48261
48843
  function: /* @__PURE__ */ string$1(),
48262
48844
  property: /* @__PURE__ */ string$1()
48263
- })),
48264
- attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
48265
- currency: /* @__PURE__ */ string$1(),
48266
- filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48267
- conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
48268
- operator: /* @__PURE__ */ string$1(),
48269
- property: /* @__PURE__ */ string$1()
48270
- })),
48271
- groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48845
+ }))),
48846
+ attributes: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() }))),
48847
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48848
+ currency: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48849
+ filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48850
+ conditions: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
48851
+ operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48852
+ property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48853
+ }))),
48854
+ groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48855
+ property: /* @__PURE__ */ string$1(),
48856
+ show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
48857
+ }))),
48858
+ limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48859
+ ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48272
48860
  property: /* @__PURE__ */ string$1(),
48273
- show_empty: /* @__PURE__ */ boolean$1()
48861
+ direction: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48862
+ nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48863
+ }))),
48864
+ pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48865
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48866
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48274
48867
  })),
48275
- limit: /* @__PURE__ */ number$2(),
48276
- ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48277
- direction: /* @__PURE__ */ string$1(),
48278
- nulls: /* @__PURE__ */ string$1(),
48279
- property: /* @__PURE__ */ string$1()
48868
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
48869
+ from: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48870
+ preset: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48871
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48280
48872
  })),
48281
- pagination: /* @__PURE__ */ looseObject({
48282
- page: /* @__PURE__ */ number$2(),
48283
- per_page: /* @__PURE__ */ number$2()
48284
- }),
48285
- period: /* @__PURE__ */ looseObject({
48286
- from: /* @__PURE__ */ string$1(),
48287
- preset: /* @__PURE__ */ string$1(),
48288
- to: /* @__PURE__ */ string$1()
48289
- }),
48290
- transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48873
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48874
+ transformations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48291
48875
  name: /* @__PURE__ */ string$1(),
48292
48876
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48293
- })),
48294
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48295
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48296
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48877
+ }))),
48878
+ view_in_my_timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
48297
48879
  }),
48298
48880
  xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
48299
48881
  "csv",
@@ -48350,7 +48932,7 @@ const generatedFocusOperations = [
48350
48932
  cli: {
48351
48933
  group: ["reportschedules"],
48352
48934
  command: "upsert-saved-view-schedule",
48353
- interactive: "default"
48935
+ interactive: "hidden"
48354
48936
  },
48355
48937
  mcp: { entityTool: "reportschedules" },
48356
48938
  inputSchema: /* @__PURE__ */ looseObject({
@@ -48361,8 +48943,10 @@ const generatedFocusOperations = [
48361
48943
  "weekly",
48362
48944
  "monthly"
48363
48945
  ]),
48946
+ charts: /* @__PURE__ */ unknown$1(),
48364
48947
  time: /* @__PURE__ */ string$1(),
48365
48948
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48949
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48366
48950
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48367
48951
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48368
48952
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -48695,6 +49279,32 @@ const generatedFocusOperations = [
48695
49279
  ]));
48696
49280
  }
48697
49281
  },
49282
+ {
49283
+ id: "focus.sharedreports.get-shared-report-dates",
49284
+ family: "focus",
49285
+ resource: "sharedreports",
49286
+ action: "get-shared-report-dates",
49287
+ title: "Get Shared Report Dates Sharedreports",
49288
+ description: "Get Shared Report Dates Sharedreports.",
49289
+ safety: "read",
49290
+ destructive: false,
49291
+ cli: {
49292
+ group: ["sharedreports"],
49293
+ command: "get-shared-report-dates",
49294
+ interactive: "available"
49295
+ },
49296
+ mcp: { entityTool: "sharedreports" },
49297
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
49298
+ execute: (input, { client }) => {
49299
+ const data = input;
49300
+ return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
49301
+ client.httpClient,
49302
+ client.workspaceIdNumber,
49303
+ data.id,
49304
+ void 0
49305
+ ]));
49306
+ }
49307
+ },
48698
49308
  {
48699
49309
  id: "focus.sharedreports.get-shared-report-for-viewer",
48700
49310
  family: "focus",
@@ -48765,6 +49375,36 @@ const generatedFocusOperations = [
48765
49375
  void 0
48766
49376
  ]))
48767
49377
  },
49378
+ {
49379
+ id: "focus.sharedreports.mint-shared-report-link",
49380
+ family: "focus",
49381
+ resource: "sharedreports",
49382
+ action: "mint-shared-report-link",
49383
+ title: "Mint Shared Report Link Sharedreports",
49384
+ description: "Mint Shared Report Link Sharedreports.",
49385
+ safety: "update",
49386
+ destructive: false,
49387
+ cli: {
49388
+ group: ["sharedreports"],
49389
+ command: "mint-shared-report-link",
49390
+ interactive: "default"
49391
+ },
49392
+ mcp: { entityTool: "sharedreports" },
49393
+ inputSchema: /* @__PURE__ */ looseObject({
49394
+ id: /* @__PURE__ */ number$2(),
49395
+ payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
49396
+ }),
49397
+ execute: (input, { client }) => {
49398
+ const data = input;
49399
+ return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
49400
+ client.httpClient,
49401
+ client.workspaceIdNumber,
49402
+ data.id,
49403
+ data.payload ?? data.data ?? data,
49404
+ void 0
49405
+ ]));
49406
+ }
49407
+ },
48768
49408
  {
48769
49409
  id: "focus.sharedreports.revoke-shared-report-grant",
48770
49410
  family: "focus",
@@ -48796,33 +49436,53 @@ const generatedFocusOperations = [
48796
49436
  }
48797
49437
  },
48798
49438
  {
48799
- id: "focus.sharedreports.share-saved-view",
49439
+ id: "focus.sharedreports.revoke-shared-report-link",
48800
49440
  family: "focus",
48801
49441
  resource: "sharedreports",
48802
- action: "share-saved-view",
48803
- title: "Share Saved View Sharedreports",
48804
- description: "Share Saved View Sharedreports.",
49442
+ action: "revoke-shared-report-link",
49443
+ title: "Revoke Shared Report Link Sharedreports",
49444
+ description: "Revoke Shared Report Link Sharedreports.",
49445
+ safety: "delete",
49446
+ destructive: true,
49447
+ cli: {
49448
+ group: ["sharedreports"],
49449
+ command: "revoke-shared-report-link",
49450
+ interactive: "default"
49451
+ },
49452
+ mcp: { entityTool: "sharedreports" },
49453
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
49454
+ execute: (input, { client }) => {
49455
+ const data = input;
49456
+ return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
49457
+ client.httpClient,
49458
+ client.workspaceIdNumber,
49459
+ data.id,
49460
+ void 0
49461
+ ]));
49462
+ }
49463
+ },
49464
+ {
49465
+ id: "focus.sharedreports.rotate-shared-report-link",
49466
+ family: "focus",
49467
+ resource: "sharedreports",
49468
+ action: "rotate-shared-report-link",
49469
+ title: "Rotate Shared Report Link Sharedreports",
49470
+ description: "Rotate Shared Report Link Sharedreports.",
48805
49471
  safety: "update",
48806
49472
  destructive: false,
48807
49473
  cli: {
48808
49474
  group: ["sharedreports"],
48809
- command: "share-saved-view",
48810
- interactive: "hidden"
49475
+ command: "rotate-shared-report-link",
49476
+ interactive: "default"
48811
49477
  },
48812
49478
  mcp: { entityTool: "sharedreports" },
48813
49479
  inputSchema: /* @__PURE__ */ looseObject({
48814
49480
  id: /* @__PURE__ */ number$2(),
48815
- payload: /* @__PURE__ */ looseObject({
48816
- charts: /* @__PURE__ */ unknown$1(),
48817
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48818
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48819
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48820
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48821
- })
49481
+ payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
48822
49482
  }),
48823
49483
  execute: (input, { client }) => {
48824
49484
  const data = input;
48825
- return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
49485
+ return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
48826
49486
  client.httpClient,
48827
49487
  client.workspaceIdNumber,
48828
49488
  data.id,
@@ -48832,12 +49492,78 @@ const generatedFocusOperations = [
48832
49492
  }
48833
49493
  },
48834
49494
  {
48835
- id: "focus.sharedreports.share-saved-view-many",
49495
+ id: "focus.sharedreports.set-shared-report-dates-lock",
48836
49496
  family: "focus",
48837
49497
  resource: "sharedreports",
48838
- action: "share-saved-view-many",
48839
- title: "Share Saved View Many Sharedreports",
48840
- description: "Share Saved View Many Sharedreports.",
49498
+ action: "set-shared-report-dates-lock",
49499
+ title: "Set Shared Report Dates Lock Sharedreports",
49500
+ description: "Set Shared Report Dates Lock Sharedreports.",
49501
+ safety: "update",
49502
+ destructive: false,
49503
+ cli: {
49504
+ group: ["sharedreports"],
49505
+ command: "set-shared-report-dates-lock",
49506
+ interactive: "default"
49507
+ },
49508
+ mcp: { entityTool: "sharedreports" },
49509
+ inputSchema: /* @__PURE__ */ looseObject({
49510
+ id: /* @__PURE__ */ number$2(),
49511
+ payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
49512
+ }),
49513
+ execute: (input, { client }) => {
49514
+ const data = input;
49515
+ return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
49516
+ client.httpClient,
49517
+ client.workspaceIdNumber,
49518
+ data.id,
49519
+ data.payload ?? data.data ?? data,
49520
+ void 0
49521
+ ]));
49522
+ }
49523
+ },
49524
+ {
49525
+ id: "focus.sharedreports.share-saved-view",
49526
+ family: "focus",
49527
+ resource: "sharedreports",
49528
+ action: "share-saved-view",
49529
+ title: "Share Saved View Sharedreports",
49530
+ description: "Share Saved View Sharedreports.",
49531
+ safety: "update",
49532
+ destructive: false,
49533
+ cli: {
49534
+ group: ["sharedreports"],
49535
+ command: "share-saved-view",
49536
+ interactive: "hidden"
49537
+ },
49538
+ mcp: { entityTool: "sharedreports" },
49539
+ inputSchema: /* @__PURE__ */ looseObject({
49540
+ id: /* @__PURE__ */ number$2(),
49541
+ payload: /* @__PURE__ */ looseObject({
49542
+ charts: /* @__PURE__ */ unknown$1(),
49543
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49544
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49545
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49546
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
49547
+ })
49548
+ }),
49549
+ execute: (input, { client }) => {
49550
+ const data = input;
49551
+ return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
49552
+ client.httpClient,
49553
+ client.workspaceIdNumber,
49554
+ data.id,
49555
+ data.payload ?? data.data ?? data,
49556
+ void 0
49557
+ ]));
49558
+ }
49559
+ },
49560
+ {
49561
+ id: "focus.sharedreports.share-saved-view-many",
49562
+ family: "focus",
49563
+ resource: "sharedreports",
49564
+ action: "share-saved-view-many",
49565
+ title: "Share Saved View Many Sharedreports",
49566
+ description: "Share Saved View Many Sharedreports.",
48841
49567
  safety: "update",
48842
49568
  destructive: false,
48843
49569
  cli: {
@@ -48869,6 +49595,32 @@ const generatedFocusOperations = [
48869
49595
  ]));
48870
49596
  }
48871
49597
  },
49598
+ {
49599
+ id: "focus.sharedreports.unshare-shared-report",
49600
+ family: "focus",
49601
+ resource: "sharedreports",
49602
+ action: "unshare-shared-report",
49603
+ title: "Unshare Shared Report Sharedreports",
49604
+ description: "Unshare Shared Report Sharedreports.",
49605
+ safety: "delete",
49606
+ destructive: true,
49607
+ cli: {
49608
+ group: ["sharedreports"],
49609
+ command: "unshare-shared-report",
49610
+ interactive: "default"
49611
+ },
49612
+ mcp: { entityTool: "sharedreports" },
49613
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
49614
+ execute: (input, { client }) => {
49615
+ const data = input;
49616
+ return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
49617
+ client.httpClient,
49618
+ client.workspaceIdNumber,
49619
+ data.id,
49620
+ void 0
49621
+ ]));
49622
+ }
49623
+ },
48872
49624
  {
48873
49625
  id: "focus.statuses.create-status",
48874
49626
  family: "focus",
@@ -49911,6 +50663,37 @@ const generatedFocusOperations = [
49911
50663
  return client.createTask(data);
49912
50664
  }
49913
50665
  },
50666
+ {
50667
+ id: "focus.tasks.create-recurring-occurrence",
50668
+ family: "focus",
50669
+ resource: "tasks",
50670
+ action: "create-recurring-occurrence",
50671
+ title: "Create Recurring Occurrence Tasks",
50672
+ description: "Create Recurring Occurrence Tasks.",
50673
+ safety: "create",
50674
+ destructive: false,
50675
+ cli: {
50676
+ group: ["tasks"],
50677
+ command: "create-recurring-occurrence",
50678
+ interactive: "default"
50679
+ },
50680
+ mcp: { entityTool: "tasks" },
50681
+ inputSchema: /* @__PURE__ */ looseObject({
50682
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50683
+ task_id: /* @__PURE__ */ number$2()
50684
+ }),
50685
+ execute: (input, { client }) => {
50686
+ const data = input;
50687
+ return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
50688
+ client.httpClient,
50689
+ client.organizationId,
50690
+ client.workspaceIdNumber,
50691
+ data.task_id,
50692
+ data.return_occurrence,
50693
+ void 0
50694
+ ]));
50695
+ }
50696
+ },
49914
50697
  {
49915
50698
  id: "focus.tasks.delete",
49916
50699
  family: "focus",
@@ -50135,6 +50918,79 @@ const generatedFocusOperations = [
50135
50918
  ]));
50136
50919
  }
50137
50920
  },
50921
+ {
50922
+ id: "focus.tasks.get-picker-task-children",
50923
+ family: "focus",
50924
+ resource: "tasks",
50925
+ action: "get-picker-task-children",
50926
+ title: "Get Picker Task Children Tasks",
50927
+ description: "Get Picker Task Children Tasks.",
50928
+ safety: "read",
50929
+ destructive: false,
50930
+ cli: {
50931
+ group: ["tasks"],
50932
+ command: "get-picker-task-children",
50933
+ interactive: "hidden"
50934
+ },
50935
+ mcp: { entityTool: "tasks" },
50936
+ inputSchema: /* @__PURE__ */ looseObject({
50937
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50938
+ only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50939
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50940
+ parent_task_id: /* @__PURE__ */ number$2(),
50941
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50942
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50943
+ search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50944
+ without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50945
+ }),
50946
+ execute: (input, { client }) => {
50947
+ const data = input;
50948
+ return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
50949
+ client.httpClient,
50950
+ client.organizationId,
50951
+ client.workspaceIdNumber,
50952
+ data.parent_task_id,
50953
+ data,
50954
+ void 0
50955
+ ]));
50956
+ }
50957
+ },
50958
+ {
50959
+ id: "focus.tasks.get-picker-task-groups",
50960
+ family: "focus",
50961
+ resource: "tasks",
50962
+ action: "get-picker-task-groups",
50963
+ title: "Get Picker Task Groups Tasks",
50964
+ description: "Get Picker Task Groups Tasks.",
50965
+ safety: "read",
50966
+ destructive: false,
50967
+ cli: {
50968
+ group: ["tasks"],
50969
+ command: "get-picker-task-groups",
50970
+ interactive: "hidden"
50971
+ },
50972
+ mcp: { entityTool: "tasks" },
50973
+ inputSchema: /* @__PURE__ */ looseObject({
50974
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50975
+ only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50976
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50977
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50978
+ pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50979
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50980
+ search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50981
+ without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50982
+ }),
50983
+ execute: (input, { client }) => {
50984
+ const data = input;
50985
+ return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
50986
+ client.httpClient,
50987
+ client.organizationId,
50988
+ client.workspaceIdNumber,
50989
+ data,
50990
+ void 0
50991
+ ]));
50992
+ }
50993
+ },
50138
50994
  {
50139
50995
  id: "focus.tasks.get-recurring-instances",
50140
50996
  family: "focus",
@@ -50158,9 +51014,13 @@ const generatedFocusOperations = [
50158
51014
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50159
51015
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50160
51016
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51017
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51018
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50161
51019
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50162
51020
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51021
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50163
51022
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51023
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50164
51024
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50165
51025
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50166
51026
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -50206,13 +51066,14 @@ const generatedFocusOperations = [
50206
51066
  estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50207
51067
  estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50208
51068
  has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50209
- has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50210
51069
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50211
51070
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50212
51071
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50213
51072
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50214
51073
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51074
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50215
51075
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51076
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50216
51077
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50217
51078
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50218
51079
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -50221,7 +51082,9 @@ const generatedFocusOperations = [
50221
51082
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50222
51083
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50223
51084
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51085
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50224
51086
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51087
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50225
51088
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50226
51089
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50227
51090
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50230,8 +51093,6 @@ const generatedFocusOperations = [
50230
51093
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50231
51094
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50232
51095
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50233
- time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50234
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50235
51096
  toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50236
51097
  with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50237
51098
  }),
@@ -50359,8 +51220,10 @@ const generatedFocusOperations = [
50359
51220
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50360
51221
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50361
51222
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51223
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50362
51224
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50363
51225
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51226
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50364
51227
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50365
51228
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50366
51229
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50369,6 +51232,8 @@ const generatedFocusOperations = [
50369
51232
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50370
51233
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50371
51234
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51235
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51236
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50372
51237
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50373
51238
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50374
51239
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50377,7 +51242,8 @@ const generatedFocusOperations = [
50377
51242
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50378
51243
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50379
51244
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50380
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51245
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51246
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50381
51247
  }),
50382
51248
  execute: (input, { client }) => {
50383
51249
  const data = input;
@@ -50419,13 +51285,17 @@ const generatedFocusOperations = [
50419
51285
  group_id: /* @__PURE__ */ number$2(),
50420
51286
  include_assignees: /* @__PURE__ */ unknown$1(),
50421
51287
  include_drafts: /* @__PURE__ */ unknown$1(),
51288
+ include_projected_occurrences: /* @__PURE__ */ unknown$1(),
50422
51289
  include_unassigned: /* @__PURE__ */ unknown$1(),
50423
51290
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
51291
+ max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
50424
51292
  min_days: /* @__PURE__ */ unknown$1(),
50425
51293
  name: /* @__PURE__ */ unknown$1(),
50426
51294
  priority: /* @__PURE__ */ unknown$1(),
50427
51295
  private_: /* @__PURE__ */ unknown$1(),
50428
51296
  project_id: /* @__PURE__ */ number$2(),
51297
+ recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
51298
+ recurring_task_read: /* @__PURE__ */ unknown$1(),
50429
51299
  source: /* @__PURE__ */ unknown$1(),
50430
51300
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
50431
51301
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -50434,7 +51304,8 @@ const generatedFocusOperations = [
50434
51304
  tag_id: /* @__PURE__ */ number$2(),
50435
51305
  team_id: /* @__PURE__ */ number$2(),
50436
51306
  user_cf_filter: /* @__PURE__ */ unknown$1(),
50437
- user_tag_id: /* @__PURE__ */ number$2()
51307
+ user_tag_id: /* @__PURE__ */ number$2(),
51308
+ xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
50438
51309
  }),
50439
51310
  execute: (input, { client }) => {
50440
51311
  const data = input;
@@ -50475,13 +51346,17 @@ const generatedFocusOperations = [
50475
51346
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50476
51347
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50477
51348
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51349
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50478
51350
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50479
51351
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51352
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50480
51353
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50481
51354
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50482
51355
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50483
51356
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50484
51357
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51358
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51359
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50485
51360
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50486
51361
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50487
51362
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50490,7 +51365,8 @@ const generatedFocusOperations = [
50490
51365
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50491
51366
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50492
51367
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50493
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51368
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51369
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50494
51370
  }),
50495
51371
  execute: (input, { client }) => {
50496
51372
  const data = input;
@@ -50758,484 +51634,21 @@ const generatedFocusOperations = [
50758
51634
  command: "update-calendar-range",
50759
51635
  interactive: "default"
50760
51636
  },
50761
- mcp: { entityTool: "tasks" },
50762
- inputSchema: /* @__PURE__ */ looseObject({
50763
- date_from: /* @__PURE__ */ string$1(),
50764
- date_to: /* @__PURE__ */ string$1()
50765
- }),
50766
- execute: (input, { client }) => {
50767
- const data = input;
50768
- return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
50769
- client.httpClient,
50770
- client.organizationId,
50771
- client.workspaceIdNumber,
50772
- data.date_from,
50773
- data.date_to,
50774
- void 0
50775
- ]));
50776
- }
50777
- },
50778
- {
50779
- id: "focus.time-blocks.archive",
50780
- family: "focus",
50781
- resource: "time-blocks",
50782
- action: "archive",
50783
- title: "Archive Time Blocks",
50784
- description: "Archive Time Blocks.",
50785
- safety: "update",
50786
- destructive: false,
50787
- cli: {
50788
- group: ["time-blocks"],
50789
- command: "archive",
50790
- interactive: "default"
50791
- },
50792
- mcp: { entityTool: "time-blocks" },
50793
- inputSchema: /* @__PURE__ */ looseObject({
50794
- task_id: /* @__PURE__ */ number$2(),
50795
- time_block_id: /* @__PURE__ */ number$2()
50796
- }),
50797
- execute: (input, { client }) => {
50798
- const data = input;
50799
- return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
50800
- client.httpClient,
50801
- client.organizationId,
50802
- client.workspaceIdNumber,
50803
- data.task_id,
50804
- data.time_block_id,
50805
- void 0
50806
- ]));
50807
- }
50808
- },
50809
- {
50810
- id: "focus.time-blocks.bulk-create",
50811
- family: "focus",
50812
- resource: "time-blocks",
50813
- action: "bulk-create",
50814
- title: "Bulk Create Time Blocks",
50815
- description: "Bulk Create Time Blocks.",
50816
- safety: "create",
50817
- destructive: false,
50818
- cli: {
50819
- group: ["time-blocks", "bulk"],
50820
- command: "create",
50821
- interactive: "default"
50822
- },
50823
- mcp: { entityTool: "time-blocks" },
50824
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
50825
- start: apiDateTimeString,
50826
- task_id: /* @__PURE__ */ number$2(),
50827
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50828
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50829
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
50830
- })) }) }),
50831
- execute: (input, { client }) => {
50832
- const data = input;
50833
- return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
50834
- client.httpClient,
50835
- client.organizationId,
50836
- client.workspaceIdNumber,
50837
- data.payload ?? data.data ?? data,
50838
- void 0
50839
- ]));
50840
- }
50841
- },
50842
- {
50843
- id: "focus.time-blocks.bulk-delete",
50844
- family: "focus",
50845
- resource: "time-blocks",
50846
- action: "bulk-delete",
50847
- title: "Bulk Delete Time Blocks",
50848
- description: "Bulk Delete Time Blocks.",
50849
- safety: "delete",
50850
- destructive: true,
50851
- cli: {
50852
- group: ["time-blocks", "bulk"],
50853
- command: "delete",
50854
- interactive: "default"
50855
- },
50856
- mcp: { entityTool: "time-blocks" },
50857
- inputSchema: /* @__PURE__ */ looseObject({
50858
- ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
50859
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
50860
- }),
50861
- execute: (input, { client }) => {
50862
- const data = input;
50863
- return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
50864
- client.httpClient,
50865
- client.organizationId,
50866
- client.workspaceIdNumber,
50867
- data.ids,
50868
- data.outbound_sync,
50869
- void 0
50870
- ]));
50871
- }
50872
- },
50873
- {
50874
- id: "focus.time-blocks.bulk-partial-update",
50875
- family: "focus",
50876
- resource: "time-blocks",
50877
- action: "bulk-partial-update",
50878
- title: "Bulk Partial Update Time Blocks",
50879
- description: "Bulk Partial Update Time Blocks.",
50880
- safety: "update",
50881
- destructive: false,
50882
- cli: {
50883
- group: ["time-blocks", "bulk"],
50884
- command: "partial-update",
50885
- interactive: "hidden"
50886
- },
50887
- mcp: { entityTool: "time-blocks" },
50888
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
50889
- execute: (input, { client }) => {
50890
- const data = input;
50891
- return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
50892
- client.httpClient,
50893
- client.organizationId,
50894
- client.workspaceIdNumber,
50895
- data.payload ?? data.data ?? data,
50896
- void 0
50897
- ]));
50898
- }
50899
- },
50900
- {
50901
- id: "focus.time-blocks.create",
50902
- family: "focus",
50903
- resource: "time-blocks",
50904
- action: "create",
50905
- title: "Create Time Blocks",
50906
- description: "Create Time Blocks.",
50907
- safety: "create",
50908
- destructive: false,
50909
- cli: {
50910
- group: ["time-blocks"],
50911
- command: "create",
50912
- interactive: "default"
50913
- },
50914
- mcp: { entityTool: "time-blocks" },
50915
- inputSchema: /* @__PURE__ */ looseObject({
50916
- payload: /* @__PURE__ */ looseObject({
50917
- start: apiDateTimeString,
50918
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50919
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50920
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
50921
- }),
50922
- task_id: /* @__PURE__ */ number$2()
50923
- }),
50924
- execute: (input, { client }) => {
50925
- const data = input;
50926
- return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
50927
- client.httpClient,
50928
- client.organizationId,
50929
- client.workspaceIdNumber,
50930
- data.task_id,
50931
- data.payload ?? data.data ?? data,
50932
- void 0
50933
- ]));
50934
- }
50935
- },
50936
- {
50937
- id: "focus.time-blocks.delete",
50938
- family: "focus",
50939
- resource: "time-blocks",
50940
- action: "delete",
50941
- title: "Delete Time Blocks",
50942
- description: "Delete Time Blocks.",
50943
- safety: "delete",
50944
- destructive: true,
50945
- cli: {
50946
- group: ["time-blocks"],
50947
- command: "delete",
50948
- interactive: "default"
50949
- },
50950
- mcp: { entityTool: "time-blocks" },
50951
- inputSchema: /* @__PURE__ */ looseObject({
50952
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50953
- task_id: /* @__PURE__ */ number$2(),
50954
- time_block_id: /* @__PURE__ */ number$2()
50955
- }),
50956
- execute: (input, { client }) => {
50957
- const data = input;
50958
- return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
50959
- client.httpClient,
50960
- client.organizationId,
50961
- client.workspaceIdNumber,
50962
- data.task_id,
50963
- data.time_block_id,
50964
- data.outbound_sync,
50965
- void 0
50966
- ]));
50967
- }
50968
- },
50969
- {
50970
- id: "focus.time-blocks.get",
50971
- family: "focus",
50972
- resource: "time-blocks",
50973
- action: "get",
50974
- title: "Get Time Blocks",
50975
- description: "Get Time Blocks.",
50976
- safety: "read",
50977
- destructive: false,
50978
- cli: {
50979
- group: ["time-blocks"],
50980
- command: "get",
50981
- interactive: "available"
50982
- },
50983
- mcp: { entityTool: "time-blocks" },
50984
- inputSchema: /* @__PURE__ */ looseObject({
50985
- task_id: /* @__PURE__ */ number$2(),
50986
- time_block_id: /* @__PURE__ */ number$2()
50987
- }),
50988
- execute: (input, { client }) => {
50989
- const data = input;
50990
- return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
50991
- client.httpClient,
50992
- client.organizationId,
50993
- client.workspaceIdNumber,
50994
- data.task_id,
50995
- data.time_block_id,
50996
- void 0
50997
- ]));
50998
- }
50999
- },
51000
- {
51001
- id: "focus.time-blocks.get-range",
51002
- family: "focus",
51003
- resource: "time-blocks",
51004
- action: "get-range",
51005
- title: "Get Range Time Blocks",
51006
- description: "Get Range Time Blocks.",
51007
- safety: "read",
51008
- destructive: false,
51009
- cli: {
51010
- group: ["time-blocks"],
51011
- command: "get-range",
51012
- interactive: "hidden"
51013
- },
51014
- mcp: { entityTool: "time-blocks" },
51015
- inputSchema: /* @__PURE__ */ looseObject({
51016
- archived: /* @__PURE__ */ unknown$1(),
51017
- date_from: /* @__PURE__ */ unknown$1(),
51018
- date_to: /* @__PURE__ */ unknown$1(),
51019
- order_by: /* @__PURE__ */ unknown$1(),
51020
- page: /* @__PURE__ */ number$2(),
51021
- per_page: /* @__PURE__ */ unknown$1(),
51022
- status_id: /* @__PURE__ */ number$2(),
51023
- task_id: /* @__PURE__ */ number$2()
51024
- }),
51025
- execute: (input, { client }) => {
51026
- const data = input;
51027
- return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
51028
- client.httpClient,
51029
- client.organizationId,
51030
- client.workspaceIdNumber,
51031
- data,
51032
- void 0
51033
- ]));
51034
- }
51035
- },
51036
- {
51037
- id: "focus.time-blocks.get-range-stream",
51038
- family: "focus",
51039
- resource: "time-blocks",
51040
- action: "get-range-stream",
51041
- title: "Get Range Stream Time Blocks",
51042
- description: "Get Range Stream Time Blocks.",
51043
- safety: "read",
51044
- destructive: false,
51045
- cli: {
51046
- group: ["time-blocks"],
51047
- command: "get-range-stream",
51048
- interactive: "hidden"
51049
- },
51050
- mcp: { entityTool: "time-blocks" },
51051
- inputSchema: /* @__PURE__ */ looseObject({
51052
- archived: /* @__PURE__ */ unknown$1(),
51053
- date_from: /* @__PURE__ */ unknown$1(),
51054
- date_to: /* @__PURE__ */ unknown$1(),
51055
- order_by: /* @__PURE__ */ unknown$1(),
51056
- status_id: /* @__PURE__ */ number$2(),
51057
- task_id: /* @__PURE__ */ number$2()
51058
- }),
51059
- execute: (input, { client }) => {
51060
- const data = input;
51061
- return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
51062
- client.httpClient,
51063
- client.organizationId,
51064
- client.workspaceIdNumber,
51065
- data,
51066
- void 0
51067
- ]));
51068
- }
51069
- },
51070
- {
51071
- id: "focus.time-blocks.get-task-time-blocks",
51072
- family: "focus",
51073
- resource: "time-blocks",
51074
- action: "get-task-time-blocks",
51075
- title: "Get Task Time Blocks Time Blocks",
51076
- description: "Get Task Time Blocks Time Blocks.",
51077
- safety: "read",
51078
- destructive: false,
51079
- cli: {
51080
- group: ["time-blocks"],
51081
- command: "get-task-time-blocks",
51082
- interactive: "hidden"
51083
- },
51084
- mcp: { entityTool: "time-blocks" },
51085
- inputSchema: /* @__PURE__ */ looseObject({
51086
- archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51087
- order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51088
- page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51089
- per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51090
- task_id: /* @__PURE__ */ number$2()
51091
- }),
51092
- execute: (input, { client }) => {
51093
- const data = input;
51094
- return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
51095
- client.httpClient,
51096
- client.organizationId,
51097
- client.workspaceIdNumber,
51098
- data.task_id,
51099
- data,
51100
- void 0
51101
- ]));
51102
- }
51103
- },
51104
- {
51105
- id: "focus.time-blocks.partial-update",
51106
- family: "focus",
51107
- resource: "time-blocks",
51108
- action: "partial-update",
51109
- title: "Partial Update Time Blocks",
51110
- description: "Partial Update Time Blocks.",
51111
- safety: "update",
51112
- destructive: false,
51113
- cli: {
51114
- group: ["time-blocks"],
51115
- command: "partial-update",
51116
- interactive: "default"
51117
- },
51118
- mcp: { entityTool: "time-blocks" },
51119
- inputSchema: /* @__PURE__ */ looseObject({
51120
- payload: /* @__PURE__ */ looseObject({
51121
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51122
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51123
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51124
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
51125
- task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51126
- }),
51127
- task_id: /* @__PURE__ */ number$2(),
51128
- time_block_id: /* @__PURE__ */ number$2()
51129
- }),
51130
- execute: (input, { client }) => {
51131
- const data = input;
51132
- return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
51133
- client.httpClient,
51134
- client.organizationId,
51135
- client.workspaceIdNumber,
51136
- data.task_id,
51137
- data.time_block_id,
51138
- data.payload ?? data.data ?? data,
51139
- void 0
51140
- ]));
51141
- }
51142
- },
51143
- {
51144
- id: "focus.time-blocks.restore",
51145
- family: "focus",
51146
- resource: "time-blocks",
51147
- action: "restore",
51148
- title: "Restore Time Blocks",
51149
- description: "Restore Time Blocks.",
51150
- safety: "update",
51151
- destructive: false,
51152
- cli: {
51153
- group: ["time-blocks"],
51154
- command: "restore",
51155
- interactive: "default"
51156
- },
51157
- mcp: { entityTool: "time-blocks" },
51158
- inputSchema: /* @__PURE__ */ looseObject({
51159
- task_id: /* @__PURE__ */ number$2(),
51160
- time_block_id: /* @__PURE__ */ number$2()
51161
- }),
51162
- execute: (input, { client }) => {
51163
- const data = input;
51164
- return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
51165
- client.httpClient,
51166
- client.organizationId,
51167
- client.workspaceIdNumber,
51168
- data.task_id,
51169
- data.time_block_id,
51170
- void 0
51171
- ]));
51172
- }
51173
- },
51174
- {
51175
- id: "focus.time-blocks.unarchive",
51176
- family: "focus",
51177
- resource: "time-blocks",
51178
- action: "unarchive",
51179
- title: "Unarchive Time Blocks",
51180
- description: "Unarchive Time Blocks.",
51181
- safety: "update",
51182
- destructive: false,
51183
- cli: {
51184
- group: ["time-blocks"],
51185
- command: "unarchive",
51186
- interactive: "default"
51187
- },
51188
- mcp: { entityTool: "time-blocks" },
51189
- inputSchema: /* @__PURE__ */ looseObject({
51190
- task_id: /* @__PURE__ */ number$2(),
51191
- time_block_id: /* @__PURE__ */ number$2()
51192
- }),
51193
- execute: (input, { client }) => {
51194
- const data = input;
51195
- return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
51196
- client.httpClient,
51197
- client.organizationId,
51198
- client.workspaceIdNumber,
51199
- data.task_id,
51200
- data.time_block_id,
51201
- void 0
51202
- ]));
51203
- }
51204
- },
51205
- {
51206
- id: "focus.time-blocks.update",
51207
- family: "focus",
51208
- resource: "time-blocks",
51209
- action: "update",
51210
- title: "Update Time Blocks",
51211
- description: "Update Time Blocks.",
51212
- safety: "update",
51213
- destructive: false,
51214
- cli: {
51215
- group: ["time-blocks"],
51216
- command: "update",
51217
- interactive: "default"
51218
- },
51219
- mcp: { entityTool: "time-blocks" },
51637
+ mcp: { entityTool: "tasks" },
51220
51638
  inputSchema: /* @__PURE__ */ looseObject({
51221
- payload: /* @__PURE__ */ looseObject({
51222
- start: apiDateTimeString,
51223
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51224
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51225
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51226
- }),
51227
- task_id: /* @__PURE__ */ number$2(),
51228
- time_block_id: /* @__PURE__ */ number$2()
51639
+ date_from: /* @__PURE__ */ string$1(),
51640
+ date_to: /* @__PURE__ */ string$1(),
51641
+ skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51229
51642
  }),
51230
51643
  execute: (input, { client }) => {
51231
51644
  const data = input;
51232
- return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
51645
+ return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
51233
51646
  client.httpClient,
51234
51647
  client.organizationId,
51235
51648
  client.workspaceIdNumber,
51236
- data.task_id,
51237
- data.time_block_id,
51238
- data.payload ?? data.data ?? data,
51649
+ data.date_from,
51650
+ data.date_to,
51651
+ data.skip_provider_refresh,
51239
51652
  void 0
51240
51653
  ]));
51241
51654
  }
@@ -51455,7 +51868,8 @@ const generatedFocusOperations = [
51455
51868
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
51456
51869
  "project",
51457
51870
  "task",
51458
- "description"
51871
+ "description",
51872
+ "tags"
51459
51873
  ]) })),
51460
51874
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51461
51875
  }) }),
@@ -51485,6 +51899,7 @@ const generatedFocusOperations = [
51485
51899
  },
51486
51900
  mcp: { entityTool: "time-entries" },
51487
51901
  inputSchema: /* @__PURE__ */ looseObject({
51902
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51488
51903
  payload: /* @__PURE__ */ looseObject({
51489
51904
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51490
51905
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -51495,11 +51910,12 @@ const generatedFocusOperations = [
51495
51910
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51496
51911
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51497
51912
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51913
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51498
51914
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
51499
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51500
51915
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51501
51916
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51502
51917
  }),
51918
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51503
51919
  task_id: /* @__PURE__ */ number$2()
51504
51920
  }),
51505
51921
  execute: (input, { client }) => {
@@ -51510,6 +51926,8 @@ const generatedFocusOperations = [
51510
51926
  client.workspaceIdNumber,
51511
51927
  data.task_id,
51512
51928
  data.payload ?? data.data ?? data,
51929
+ data.from_recurring_task_id,
51930
+ data.return_occurrence,
51513
51931
  void 0
51514
51932
  ]));
51515
51933
  }
@@ -51529,21 +51947,25 @@ const generatedFocusOperations = [
51529
51947
  interactive: "default"
51530
51948
  },
51531
51949
  mcp: { entityTool: "time-entries" },
51532
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
51533
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51534
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51535
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51536
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51537
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51538
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51539
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51540
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51541
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51542
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
51543
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51544
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51545
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51546
- }) }),
51950
+ inputSchema: /* @__PURE__ */ looseObject({
51951
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51952
+ payload: /* @__PURE__ */ looseObject({
51953
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51954
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51955
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51956
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51957
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51958
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51959
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51960
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51961
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51962
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51963
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
51964
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51965
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51966
+ }),
51967
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51968
+ }),
51547
51969
  execute: (input, { client }) => {
51548
51970
  const data = input;
51549
51971
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -51551,6 +51973,8 @@ const generatedFocusOperations = [
51551
51973
  client.organizationId,
51552
51974
  client.workspaceIdNumber,
51553
51975
  data.payload ?? data.data ?? data,
51976
+ data.from_recurring_task_id,
51977
+ data.return_occurrence,
51554
51978
  void 0
51555
51979
  ]));
51556
51980
  }
@@ -51570,7 +51994,11 @@ const generatedFocusOperations = [
51570
51994
  interactive: "default"
51571
51995
  },
51572
51996
  mcp: { entityTool: "time-entries" },
51573
- inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
51997
+ inputSchema: /* @__PURE__ */ looseObject({
51998
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51999
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52000
+ time_entry_id: /* @__PURE__ */ number$2()
52001
+ }),
51574
52002
  execute: (input, { client }) => {
51575
52003
  const data = input;
51576
52004
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -51578,6 +52006,8 @@ const generatedFocusOperations = [
51578
52006
  client.organizationId,
51579
52007
  client.workspaceIdNumber,
51580
52008
  data.time_entry_id,
52009
+ data.from_recurring_task_id,
52010
+ data.return_occurrence,
51581
52011
  void 0
51582
52012
  ]));
51583
52013
  }
@@ -51658,6 +52088,7 @@ const generatedFocusOperations = [
51658
52088
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
51659
52089
  include_taskless: /* @__PURE__ */ unknown$1(),
51660
52090
  order_by: /* @__PURE__ */ unknown$1(),
52091
+ project_id: /* @__PURE__ */ number$2(),
51661
52092
  status_id: /* @__PURE__ */ number$2(),
51662
52093
  task_id: /* @__PURE__ */ number$2(),
51663
52094
  type: /* @__PURE__ */ unknown$1()
@@ -51673,33 +52104,6 @@ const generatedFocusOperations = [
51673
52104
  ]));
51674
52105
  }
51675
52106
  },
51676
- {
51677
- id: "focus.time-entries.get-stream-time-entries-time-block-ids",
51678
- family: "focus",
51679
- resource: "time-entries",
51680
- action: "get-stream-time-entries-time-block-ids",
51681
- title: "Get Stream Time Entries Time Block Ids Time Entries",
51682
- description: "Get Stream Time Entries Time Block Ids Time Entries.",
51683
- safety: "read",
51684
- destructive: false,
51685
- cli: {
51686
- group: ["time-entries"],
51687
- command: "get-stream-time-entries-time-block-ids",
51688
- interactive: "available"
51689
- },
51690
- mcp: { entityTool: "time-entries" },
51691
- inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
51692
- execute: (input, { client }) => {
51693
- const data = input;
51694
- return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
51695
- client.httpClient,
51696
- client.organizationId,
51697
- client.workspaceIdNumber,
51698
- data,
51699
- void 0
51700
- ]));
51701
- }
51702
- },
51703
52107
  {
51704
52108
  id: "focus.time-entries.get-task-time-entries",
51705
52109
  family: "focus",
@@ -51721,7 +52125,6 @@ const generatedFocusOperations = [
51721
52125
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51722
52126
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51723
52127
  task_id: /* @__PURE__ */ number$2(),
51724
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51725
52128
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
51726
52129
  }),
51727
52130
  execute: (input, { client }) => {
@@ -51834,12 +52237,14 @@ const generatedFocusOperations = [
51834
52237
  },
51835
52238
  mcp: { entityTool: "time-entries" },
51836
52239
  inputSchema: /* @__PURE__ */ looseObject({
52240
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51837
52241
  payload: /* @__PURE__ */ looseObject({
51838
52242
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51839
52243
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51840
52244
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51841
52245
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
51842
52246
  }),
52247
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51843
52248
  time_entry_id: /* @__PURE__ */ number$2()
51844
52249
  }),
51845
52250
  execute: (input, { client }) => {
@@ -51850,6 +52255,8 @@ const generatedFocusOperations = [
51850
52255
  client.workspaceIdNumber,
51851
52256
  data.time_entry_id,
51852
52257
  data.payload ?? data.data ?? data,
52258
+ data.from_recurring_task_id,
52259
+ data.return_occurrence,
51853
52260
  void 0
51854
52261
  ]));
51855
52262
  }
@@ -52107,6 +52514,7 @@ const generatedFocusOperations = [
52107
52514
  },
52108
52515
  mcp: { entityTool: "time-entries" },
52109
52516
  inputSchema: /* @__PURE__ */ looseObject({
52517
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52110
52518
  payload: /* @__PURE__ */ looseObject({
52111
52519
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
52112
52520
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -52116,9 +52524,9 @@ const generatedFocusOperations = [
52116
52524
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52117
52525
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52118
52526
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
52119
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52120
52527
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
52121
52528
  }),
52529
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52122
52530
  time_entry_id: /* @__PURE__ */ number$2()
52123
52531
  }),
52124
52532
  execute: (input, { client }) => {
@@ -52129,6 +52537,8 @@ const generatedFocusOperations = [
52129
52537
  client.workspaceIdNumber,
52130
52538
  data.time_entry_id,
52131
52539
  data.payload ?? data.data ?? data,
52540
+ data.from_recurring_task_id,
52541
+ data.return_occurrence,
52132
52542
  void 0
52133
52543
  ]));
52134
52544
  }
@@ -52193,6 +52603,118 @@ const generatedFocusOperations = [
52193
52603
  ]));
52194
52604
  }
52195
52605
  },
52606
+ {
52607
+ id: "focus.time-off.get-timeoff-balance-changes-for-user",
52608
+ family: "focus",
52609
+ resource: "time-off",
52610
+ action: "get-timeoff-balance-changes-for-user",
52611
+ title: "Get Timeoff Balance Changes For User Time Off",
52612
+ description: "Get Timeoff Balance Changes For User Time Off.",
52613
+ safety: "read",
52614
+ destructive: false,
52615
+ cli: {
52616
+ group: ["time-off"],
52617
+ command: "get-timeoff-balance-changes-for-user",
52618
+ interactive: "hidden"
52619
+ },
52620
+ mcp: { entityTool: "time-off" },
52621
+ inputSchema: /* @__PURE__ */ looseObject({
52622
+ category_id: /* @__PURE__ */ number$2(),
52623
+ page: /* @__PURE__ */ number$2(),
52624
+ rows: /* @__PURE__ */ unknown$1(),
52625
+ user_id: /* @__PURE__ */ number$2(),
52626
+ year: /* @__PURE__ */ unknown$1()
52627
+ }),
52628
+ execute: (input, { client }) => {
52629
+ const data = input;
52630
+ return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
52631
+ client.httpClient,
52632
+ client.organizationId,
52633
+ data.user_id,
52634
+ data,
52635
+ void 0
52636
+ ]));
52637
+ }
52638
+ },
52639
+ {
52640
+ id: "focus.time-off.get-timeoff-balances-for-user",
52641
+ family: "focus",
52642
+ resource: "time-off",
52643
+ action: "get-timeoff-balances-for-user",
52644
+ title: "Get Timeoff Balances For User Time Off",
52645
+ description: "Get Timeoff Balances For User Time Off.",
52646
+ safety: "read",
52647
+ destructive: false,
52648
+ cli: {
52649
+ group: ["time-off"],
52650
+ command: "get-timeoff-balances-for-user",
52651
+ interactive: "available"
52652
+ },
52653
+ mcp: { entityTool: "time-off" },
52654
+ inputSchema: /* @__PURE__ */ looseObject({
52655
+ category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52656
+ date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
52657
+ user_id: /* @__PURE__ */ number$2()
52658
+ }),
52659
+ execute: (input, { client }) => {
52660
+ const data = input;
52661
+ return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
52662
+ client.httpClient,
52663
+ client.organizationId,
52664
+ data.user_id,
52665
+ data,
52666
+ void 0
52667
+ ]));
52668
+ }
52669
+ },
52670
+ {
52671
+ id: "focus.time-off.get-timeoff-categories",
52672
+ family: "focus",
52673
+ resource: "time-off",
52674
+ action: "get-timeoff-categories",
52675
+ title: "Get Timeoff Categories Time Off",
52676
+ description: "Get Timeoff Categories Time Off.",
52677
+ safety: "read",
52678
+ destructive: false,
52679
+ cli: {
52680
+ group: ["time-off"],
52681
+ command: "get-timeoff-categories",
52682
+ interactive: "hidden"
52683
+ },
52684
+ mcp: { entityTool: "time-off" },
52685
+ inputSchema: /* @__PURE__ */ looseObject({}),
52686
+ execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
52687
+ client.httpClient,
52688
+ client.organizationId,
52689
+ void 0
52690
+ ]))
52691
+ },
52692
+ {
52693
+ id: "focus.time-off.get-timeoff-category",
52694
+ family: "focus",
52695
+ resource: "time-off",
52696
+ action: "get-timeoff-category",
52697
+ title: "Get Timeoff Category Time Off",
52698
+ description: "Get Timeoff Category Time Off.",
52699
+ safety: "read",
52700
+ destructive: false,
52701
+ cli: {
52702
+ group: ["time-off"],
52703
+ command: "get-timeoff-category",
52704
+ interactive: "available"
52705
+ },
52706
+ mcp: { entityTool: "time-off" },
52707
+ inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
52708
+ execute: (input, { client }) => {
52709
+ const data = input;
52710
+ return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
52711
+ client.httpClient,
52712
+ client.organizationId,
52713
+ data.category_id,
52714
+ void 0
52715
+ ]));
52716
+ }
52717
+ },
52196
52718
  {
52197
52719
  id: "focus.time-off.get-timeoff-for-user",
52198
52720
  family: "focus",
@@ -52644,6 +53166,40 @@ const generatedFocusOperations = [
52644
53166
  ]));
52645
53167
  }
52646
53168
  },
53169
+ {
53170
+ id: "focus.timesheets.get-status-counts",
53171
+ family: "focus",
53172
+ resource: "timesheets",
53173
+ action: "get-status-counts",
53174
+ title: "Get Status Counts Timesheets",
53175
+ description: "Get Status Counts Timesheets.",
53176
+ safety: "read",
53177
+ destructive: false,
53178
+ cli: {
53179
+ group: ["timesheets"],
53180
+ command: "get-status-counts",
53181
+ interactive: "hidden"
53182
+ },
53183
+ mcp: { entityTool: "timesheets" },
53184
+ inputSchema: /* @__PURE__ */ looseObject({
53185
+ approver_user_account_ids: /* @__PURE__ */ unknown$1(),
53186
+ date_from: /* @__PURE__ */ unknown$1(),
53187
+ date_to: /* @__PURE__ */ unknown$1(),
53188
+ setup_id: /* @__PURE__ */ number$2(),
53189
+ team_ids: /* @__PURE__ */ unknown$1(),
53190
+ user_account_ids: /* @__PURE__ */ unknown$1()
53191
+ }),
53192
+ execute: (input, { client }) => {
53193
+ const data = input;
53194
+ return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
53195
+ client.httpClient,
53196
+ client.organizationId,
53197
+ client.workspaceIdNumber,
53198
+ data,
53199
+ void 0
53200
+ ]));
53201
+ }
53202
+ },
52647
53203
  {
52648
53204
  id: "focus.timesheets.remove-timesheet-flag",
52649
53205
  family: "focus",
@@ -53193,6 +53749,33 @@ const generatedFocusOperations = [
53193
53749
  ]));
53194
53750
  }
53195
53751
  },
53752
+ {
53753
+ id: "focus.track-team-invites.post",
53754
+ family: "focus",
53755
+ resource: "track-team-invites",
53756
+ action: "post",
53757
+ title: "Post Track Team Invites",
53758
+ description: "Post Track Team Invites.",
53759
+ safety: "create",
53760
+ destructive: false,
53761
+ cli: {
53762
+ group: ["track-team-invites"],
53763
+ command: "post",
53764
+ interactive: "default"
53765
+ },
53766
+ mcp: { entityTool: "track-team-invites" },
53767
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
53768
+ execute: (input, { client }) => {
53769
+ const data = input;
53770
+ return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
53771
+ client.httpClient,
53772
+ client.organizationId,
53773
+ client.workspaceIdNumber,
53774
+ data.payload ?? data.data ?? data,
53775
+ void 0
53776
+ ]));
53777
+ }
53778
+ },
53196
53779
  {
53197
53780
  id: "focus.users.list",
53198
53781
  family: "focus",
@@ -53214,6 +53797,56 @@ const generatedFocusOperations = [
53214
53797
  return client.listOrgUsers(data);
53215
53798
  }
53216
53799
  },
53800
+ {
53801
+ id: "focus.users.settings-email-unsubscribe",
53802
+ family: "focus",
53803
+ resource: "users",
53804
+ action: "settings-email-unsubscribe",
53805
+ title: "Settings Email Unsubscribe Users",
53806
+ description: "Settings Email Unsubscribe Users.",
53807
+ safety: "update",
53808
+ destructive: false,
53809
+ cli: {
53810
+ group: ["users", "settings"],
53811
+ command: "email-unsubscribe",
53812
+ interactive: "default"
53813
+ },
53814
+ mcp: { entityTool: "users" },
53815
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53816
+ execute: (input, { client }) => {
53817
+ const data = input;
53818
+ return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
53819
+ client.httpClient,
53820
+ data.token,
53821
+ void 0
53822
+ ]));
53823
+ }
53824
+ },
53825
+ {
53826
+ id: "focus.users.settings-email-unsubscribe-page",
53827
+ family: "focus",
53828
+ resource: "users",
53829
+ action: "settings-email-unsubscribe-page",
53830
+ title: "Settings Email Unsubscribe Page Users",
53831
+ description: "Settings Email Unsubscribe Page Users.",
53832
+ safety: "read",
53833
+ destructive: false,
53834
+ cli: {
53835
+ group: ["users", "settings"],
53836
+ command: "email-unsubscribe-page",
53837
+ interactive: "available"
53838
+ },
53839
+ mcp: { entityTool: "users" },
53840
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53841
+ execute: (input, { client }) => {
53842
+ const data = input;
53843
+ return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
53844
+ client.httpClient,
53845
+ data.token,
53846
+ void 0
53847
+ ]));
53848
+ }
53849
+ },
53217
53850
  {
53218
53851
  id: "focus.users.settings-list",
53219
53852
  family: "focus",
@@ -53275,6 +53908,9 @@ const generatedFocusOperations = [
53275
53908
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53276
53909
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53277
53910
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53911
+ notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53912
+ notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53913
+ notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53278
53914
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53279
53915
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53280
53916
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -53473,6 +54109,38 @@ const generatedFocusOperations = [
53473
54109
  ]));
53474
54110
  }
53475
54111
  },
54112
+ {
54113
+ id: "focus.working-hours.replace-working-hours-for-users",
54114
+ family: "focus",
54115
+ resource: "working-hours",
54116
+ action: "replace-working-hours-for-users",
54117
+ title: "Replace Working Hours For Users Working Hours",
54118
+ description: "Replace Working Hours For Users Working Hours.",
54119
+ safety: "update",
54120
+ destructive: false,
54121
+ cli: {
54122
+ group: ["working-hours"],
54123
+ command: "replace-working-hours-for-users",
54124
+ interactive: "default"
54125
+ },
54126
+ mcp: { entityTool: "working-hours" },
54127
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
54128
+ schedule: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
54129
+ working_hours: /* @__PURE__ */ number$2(),
54130
+ weekday: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
54131
+ })),
54132
+ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
54133
+ }) }),
54134
+ execute: (input, { client }) => {
54135
+ const data = input;
54136
+ return client.runGeneratedRequest("replaceWorkingHoursForUsers", () => callGeneratedRequest(replaceWorkingHoursForUsers, [
54137
+ client.httpClient,
54138
+ client.organizationId,
54139
+ data.payload ?? data.data ?? data,
54140
+ void 0
54141
+ ]));
54142
+ }
54143
+ },
53476
54144
  {
53477
54145
  id: "focus.working-hours.update-for-user",
53478
54146
  family: "focus",
@@ -54817,7 +55485,7 @@ function registerWorkspaceTools(server) {
54817
55485
  //#region src/package-version.ts
54818
55486
  function mcpPackageVersion() {
54819
55487
  try {
54820
- return "1.11.91";
55488
+ return "1.11.92";
54821
55489
  } catch {
54822
55490
  return "unknown";
54823
55491
  }
@@ -54992,7 +55660,7 @@ import_main.default.config({
54992
55660
  quiet: true,
54993
55661
  ignore: ["MISSING_ENV_FILE"]
54994
55662
  });
54995
- const packageVersion = "1.11.91";
55663
+ const packageVersion = "1.11.92";
54996
55664
  function resolvePublicUrls() {
54997
55665
  return {
54998
55666
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -55057,4 +55725,4 @@ function bootstrapServer(options = {}) {
55057
55725
  //#endregion
55058
55726
  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 };
55059
55727
 
55060
- //# sourceMappingURL=src-gPsWhdmd.js.map
55728
+ //# sourceMappingURL=src-C_xyRO0u.js.map