@togglhq/cli 1.11.62 → 1.11.63

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.
@@ -7274,6 +7274,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
7274
7274
  name: /* @__PURE__ */ string(),
7275
7275
  permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
7276
7276
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7277
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7277
7278
  client: /* @__PURE__ */ optional(ClientLiteSchema),
7278
7279
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7279
7280
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -7360,6 +7361,7 @@ const TaskSchema = /* @__PURE__ */ object({
7360
7361
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7361
7362
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7362
7363
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7364
+ 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."))),
7363
7365
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7364
7366
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7365
7367
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7421,6 +7423,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7421
7423
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7422
7424
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7423
7425
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7426
+ 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."))),
7424
7427
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7425
7428
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7426
7429
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -7603,6 +7606,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
7603
7606
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7604
7607
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7605
7608
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7609
+ 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."))),
7610
+ 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."))),
7606
7611
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7607
7612
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7608
7613
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -7688,6 +7693,7 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
7688
7693
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7689
7694
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7690
7695
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7696
+ filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7691
7697
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
7692
7698
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7693
7699
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
@@ -7767,6 +7773,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
7767
7773
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7768
7774
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7769
7775
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7776
+ 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."))),
7777
+ 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."))),
7770
7778
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7771
7779
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7772
7780
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -7939,8 +7947,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7939
7947
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7940
7948
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7941
7949
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
7942
- integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7943
- integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7944
7950
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7945
7951
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7946
7952
  pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7997,6 +8003,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7997
8003
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7998
8004
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7999
8005
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
8006
+ 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."))),
8000
8007
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
8001
8008
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
8002
8009
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -8033,6 +8040,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
8033
8040
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
8034
8041
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
8035
8042
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
8043
+ 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."))),
8036
8044
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
8037
8045
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
8038
8046
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -9979,7 +9987,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
9979
9987
  })
9980
9988
  }).json();
9981
9989
  }
9982
- 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) {
9990
+ 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) {
9983
9991
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
9984
9992
  signal,
9985
9993
  searchParams: buildSearchParams$2({
@@ -10000,6 +10008,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
10000
10008
  include_rates,
10001
10009
  pinned_ids,
10002
10010
  has_group,
10011
+ track_without_focus,
10003
10012
  cf_filter,
10004
10013
  include_custom_fields,
10005
10014
  include_calendar_integration
@@ -10101,10 +10110,19 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
10101
10110
  }
10102
10111
  //#endregion
10103
10112
  //#region ../focus-queries/dist/projects/requests.ts
10104
- 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) {
10113
+ async function getProjectsClassic(httpClient, organization_id, workspace_id, { include_task_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_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) {
10105
10114
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
10106
10115
  signal,
10107
10116
  searchParams: buildSearchParams$2({
10117
+ include_task_counts,
10118
+ task_archived,
10119
+ task_recurring,
10120
+ task_state,
10121
+ task_source,
10122
+ task_assignee_user_id,
10123
+ task_assignee_team_id,
10124
+ task_include_unassigned,
10125
+ task_name,
10108
10126
  page,
10109
10127
  per_page,
10110
10128
  order_by,
@@ -10354,7 +10372,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10354
10372
  }
10355
10373
  //#endregion
10356
10374
  //#region ../focus-queries/dist/tasks/requests.ts
10357
- 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) {
10375
+ async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
10358
10376
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10359
10377
  signal,
10360
10378
  searchParams: buildSearchParams$2({
@@ -10405,7 +10423,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10405
10423
  include_assignees,
10406
10424
  include_parent_matches,
10407
10425
  disable_aggregations,
10408
- cf_filter
10426
+ cf_filter,
10427
+ recurring_occurrences_after,
10428
+ max_recurring_occurrences_after,
10429
+ recurring_task_read,
10430
+ include_projected_occurrences
10409
10431
  })
10410
10432
  }).json();
10411
10433
  }
@@ -10480,16 +10502,17 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
10480
10502
  })
10481
10503
  }).json();
10482
10504
  }
10483
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
10505
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
10484
10506
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
10485
10507
  signal,
10486
10508
  searchParams: buildSearchParams$2({
10487
10509
  date_from,
10488
- date_to
10510
+ date_to,
10511
+ skip_provider_refresh
10489
10512
  })
10490
10513
  }).json();
10491
10514
  }
10492
- 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) {
10515
+ 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) {
10493
10516
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
10494
10517
  signal,
10495
10518
  searchParams: buildSearchParams$2({
@@ -10505,11 +10528,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10505
10528
  assignee_team_id,
10506
10529
  assignee_user_id,
10507
10530
  tag_id,
10508
- include_assignees
10531
+ include_assignees,
10532
+ recurring_occurrences_after,
10533
+ max_recurring_occurrences_after,
10534
+ recurring_task_read,
10535
+ include_projected_occurrences
10509
10536
  })
10510
10537
  }).json();
10511
10538
  }
10512
- 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) {
10539
+ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
10513
10540
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10514
10541
  signal,
10515
10542
  searchParams: buildSearchParams$2({
@@ -10554,7 +10581,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10554
10581
  recurring_task_ids,
10555
10582
  client_id,
10556
10583
  include_assignees,
10557
- cf_filter
10584
+ cf_filter,
10585
+ recurring_occurrences_after,
10586
+ max_recurring_occurrences_after,
10587
+ recurring_task_read,
10588
+ include_projected_occurrences
10558
10589
  })
10559
10590
  }).json();
10560
10591
  }
@@ -10609,6 +10640,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
10609
10640
  })
10610
10641
  }).json();
10611
10642
  }
10643
+ async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
10644
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
10645
+ signal,
10646
+ searchParams: buildSearchParams$2({ return_occurrence })
10647
+ }).json();
10648
+ }
10612
10649
  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) {
10613
10650
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
10614
10651
  signal,
@@ -10745,16 +10782,24 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
10745
10782
  })
10746
10783
  }).json();
10747
10784
  }
10748
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
10785
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
10749
10786
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
10750
10787
  signal,
10751
- json: data
10788
+ json: data,
10789
+ searchParams: buildSearchParams$2({
10790
+ from_recurring_task_id,
10791
+ return_occurrence
10792
+ })
10752
10793
  }).json();
10753
10794
  }
10754
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
10795
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
10755
10796
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
10756
10797
  signal,
10757
- json: data
10798
+ json: data,
10799
+ searchParams: buildSearchParams$2({
10800
+ from_recurring_task_id,
10801
+ return_occurrence
10802
+ })
10758
10803
  }).json();
10759
10804
  }
10760
10805
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -10805,7 +10850,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
10805
10850
  json: data
10806
10851
  }).json();
10807
10852
  }
10808
- 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) {
10853
+ 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) {
10809
10854
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
10810
10855
  signal,
10811
10856
  searchParams: buildSearchParams$2({
@@ -10813,6 +10858,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
10813
10858
  date_to,
10814
10859
  task_id,
10815
10860
  status_id,
10861
+ project_id,
10816
10862
  type,
10817
10863
  order_by,
10818
10864
  archived,
@@ -10836,19 +10882,33 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
10836
10882
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
10837
10883
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
10838
10884
  }
10839
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10885
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10840
10886
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10841
10887
  signal,
10842
- json: data
10888
+ json: data,
10889
+ searchParams: buildSearchParams$2({
10890
+ from_recurring_task_id,
10891
+ return_occurrence
10892
+ })
10843
10893
  }).json();
10844
10894
  }
10845
- async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
10846
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
10895
+ async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
10896
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10897
+ signal,
10898
+ searchParams: buildSearchParams$2({
10899
+ from_recurring_task_id,
10900
+ return_occurrence
10901
+ })
10902
+ }).json();
10847
10903
  }
10848
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10904
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10849
10905
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10850
10906
  signal,
10851
- json: data
10907
+ json: data,
10908
+ searchParams: buildSearchParams$2({
10909
+ from_recurring_task_id,
10910
+ return_occurrence
10911
+ })
10852
10912
  }).json();
10853
10913
  }
10854
10914
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -14718,13 +14778,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
14718
14778
  }
14719
14779
  //#endregion
14720
14780
  //#region ../focus-queries/dist/audit-log/requests.ts
14721
- async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14781
+ 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) {
14722
14782
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
14723
14783
  signal,
14724
14784
  searchParams: buildSearchParams$2({
14725
14785
  workspace_id,
14726
14786
  entity_type,
14727
14787
  entity_id,
14788
+ project_id,
14789
+ custom_field_id,
14728
14790
  action,
14729
14791
  user_id,
14730
14792
  page_size,
@@ -14733,12 +14795,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
14733
14795
  })
14734
14796
  }).json();
14735
14797
  }
14736
- async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14798
+ 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) {
14737
14799
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
14738
14800
  signal,
14739
14801
  searchParams: buildSearchParams$2({
14740
14802
  entity_type,
14741
14803
  entity_id,
14804
+ project_id,
14805
+ custom_field_id,
14742
14806
  action,
14743
14807
  user_id,
14744
14808
  page_size,
@@ -14891,13 +14955,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
14891
14955
  }
14892
14956
  //#endregion
14893
14957
  //#region ../focus-queries/dist/capacities/requests.ts
14894
- 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) {
14958
+ 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) {
14895
14959
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
14896
14960
  signal,
14897
14961
  searchParams: buildSearchParams$2({
14898
- user_id,
14899
14962
  start_date,
14900
14963
  end_date,
14964
+ user_id,
14965
+ team_id,
14901
14966
  private: private_,
14902
14967
  task_source,
14903
14968
  unit,
@@ -14957,6 +15022,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
14957
15022
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
14958
15023
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
14959
15024
  }
15025
+ async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
15026
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
15027
+ }
15028
+ async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
15029
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
15030
+ signal,
15031
+ json: data
15032
+ }).json();
15033
+ }
14960
15034
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
14961
15035
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
14962
15036
  signal,
@@ -15220,7 +15294,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
15220
15294
  }
15221
15295
  //#endregion
15222
15296
  //#region ../focus-queries/dist/project-groups/requests.ts
15223
- 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) {
15297
+ 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) {
15224
15298
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
15225
15299
  signal,
15226
15300
  searchParams: buildSearchParams$2({
@@ -15246,6 +15320,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
15246
15320
  user_id,
15247
15321
  only_me,
15248
15322
  include_drafts,
15323
+ include_recurring_series,
15249
15324
  cf_filter
15250
15325
  })
15251
15326
  }).json();
@@ -15264,9 +15339,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
15264
15339
  json: data
15265
15340
  }).json();
15266
15341
  }
15267
- async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
15268
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
15269
- }
15270
15342
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
15271
15343
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
15272
15344
  }
@@ -15292,6 +15364,37 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
15292
15364
  }).json();
15293
15365
  }
15294
15366
  //#endregion
15367
+ //#region ../focus-queries/dist/publicsharedreports/requests.ts
15368
+ async function openPublicSharedReport(httpClient, token, signal) {
15369
+ return await httpClient.get(`shared/${token}`, { signal }).json();
15370
+ }
15371
+ async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
15372
+ return await httpClient.post(`shared/${token}/profitability`, {
15373
+ signal,
15374
+ json: data,
15375
+ searchParams: buildSearchParams$2({
15376
+ response_format,
15377
+ include_dicts
15378
+ })
15379
+ }).json();
15380
+ }
15381
+ async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
15382
+ return await httpClient.post(`shared/${token}/query`, {
15383
+ signal,
15384
+ json: data,
15385
+ searchParams: buildSearchParams$2({
15386
+ response_format,
15387
+ include_dicts
15388
+ })
15389
+ }).json();
15390
+ }
15391
+ async function workloadPublicSharedReport(httpClient, token, data, signal) {
15392
+ return await httpClient.post(`shared/${token}/workload`, {
15393
+ signal,
15394
+ json: data
15395
+ }).json();
15396
+ }
15397
+ //#endregion
15295
15398
  //#region ../focus-queries/dist/rates/requests.ts
15296
15399
  async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
15297
15400
  const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
@@ -15453,7 +15556,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
15453
15556
  }
15454
15557
  //#endregion
15455
15558
  //#region ../focus-queries/dist/search/requests.ts
15456
- 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) {
15559
+ 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) {
15457
15560
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
15458
15561
  signal,
15459
15562
  searchParams: buildSearchParams$2({
@@ -15461,6 +15564,7 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
15461
15564
  per_group,
15462
15565
  assignee_user_id,
15463
15566
  assignee_team_id,
15567
+ include_unassigned,
15464
15568
  project_id,
15465
15569
  task_id,
15466
15570
  include_drafts,
@@ -15505,6 +15609,9 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
15505
15609
  async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
15506
15610
  return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
15507
15611
  }
15612
+ async function unshareSharedReport(httpClient, workspace_id, id, signal) {
15613
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
15614
+ }
15508
15615
  async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
15509
15616
  return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
15510
15617
  signal,
@@ -15514,6 +15621,21 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
15514
15621
  async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
15515
15622
  return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
15516
15623
  }
15624
+ async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
15625
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
15626
+ signal,
15627
+ json: data
15628
+ }).json();
15629
+ }
15630
+ async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
15631
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
15632
+ }
15633
+ async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
15634
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
15635
+ signal,
15636
+ json: data
15637
+ }).json();
15638
+ }
15517
15639
  //#endregion
15518
15640
  //#region ../focus-queries/dist/subscriptions/requests.ts
15519
15641
  async function getCurrentSubscription(httpClient, organization_id, signal) {
@@ -15570,9 +15692,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
15570
15692
  }
15571
15693
  //#endregion
15572
15694
  //#region ../focus-queries/dist/task-groups/requests.ts
15573
- 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) {
15695
+ 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) {
15574
15696
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
15575
15697
  signal,
15698
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15576
15699
  searchParams: buildSearchParams$2({
15577
15700
  project_id,
15578
15701
  source,
@@ -15601,13 +15724,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
15601
15724
  min_days,
15602
15725
  include_drafts,
15603
15726
  cf_filter,
15604
- user_cf_filter
15727
+ user_cf_filter,
15728
+ recurring_occurrences_after,
15729
+ max_recurring_occurrences_after,
15730
+ recurring_task_read,
15731
+ include_projected_occurrences
15605
15732
  })
15606
15733
  }).json();
15607
15734
  }
15608
- 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) {
15735
+ 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) {
15609
15736
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
15610
15737
  signal,
15738
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15611
15739
  searchParams: buildSearchParams$2({
15612
15740
  team_id,
15613
15741
  project_id,
@@ -15636,13 +15764,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
15636
15764
  min_days,
15637
15765
  include_drafts,
15638
15766
  cf_filter,
15639
- user_cf_filter
15767
+ user_cf_filter,
15768
+ recurring_occurrences_after,
15769
+ max_recurring_occurrences_after,
15770
+ recurring_task_read,
15771
+ include_projected_occurrences
15640
15772
  })
15641
15773
  }).json();
15642
15774
  }
15643
- 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) {
15775
+ 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) {
15644
15776
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
15645
15777
  signal,
15778
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15646
15779
  searchParams: buildSearchParams$2({
15647
15780
  source,
15648
15781
  priority,
@@ -15672,6 +15805,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
15672
15805
  include_drafts,
15673
15806
  cf_filter,
15674
15807
  user_cf_filter,
15808
+ recurring_occurrences_after,
15809
+ max_recurring_occurrences_after,
15810
+ recurring_task_read,
15811
+ include_projected_occurrences,
15675
15812
  page,
15676
15813
  per_page,
15677
15814
  order_by
@@ -15863,6 +16000,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
15863
16000
  json: data
15864
16001
  }).json();
15865
16002
  }
16003
+ async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
16004
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
16005
+ signal,
16006
+ searchParams: buildSearchParams$2({
16007
+ date_from,
16008
+ date_to,
16009
+ setup_id,
16010
+ user_account_ids,
16011
+ approver_user_account_ids,
16012
+ team_ids
16013
+ })
16014
+ }).json();
16015
+ }
15866
16016
  async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
15867
16017
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
15868
16018
  }
@@ -15906,7 +16056,21 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
15906
16056
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
15907
16057
  }
15908
16058
  //#endregion
16059
+ //#region ../focus-queries/dist/track-team-invites/requests.ts
16060
+ async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
16061
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
16062
+ signal,
16063
+ json: data
16064
+ }).json();
16065
+ }
16066
+ //#endregion
15909
16067
  //#region ../focus-queries/dist/user-settings/requests.ts
16068
+ async function emailUnsubscribePage(httpClient, token, signal) {
16069
+ return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
16070
+ }
16071
+ async function emailUnsubscribe(httpClient, token, signal) {
16072
+ return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
16073
+ }
15910
16074
  async function getUserSettings(httpClient, signal) {
15911
16075
  return await httpClient.get(`users/me/settings`, { signal }).json();
15912
16076
  }
@@ -16146,6 +16310,7 @@ const generatedFocusOperations = [
16146
16310
  mcp: { entityTool: "audit-log" },
16147
16311
  inputSchema: /* @__PURE__ */ looseObject({
16148
16312
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16313
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16149
16314
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16150
16315
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16151
16316
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16153,6 +16318,7 @@ const generatedFocusOperations = [
16153
16318
  from: /* @__PURE__ */ string$1(),
16154
16319
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16155
16320
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16321
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16156
16322
  to: /* @__PURE__ */ string$1(),
16157
16323
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16158
16324
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -16186,6 +16352,7 @@ const generatedFocusOperations = [
16186
16352
  mcp: { entityTool: "audit-log" },
16187
16353
  inputSchema: /* @__PURE__ */ looseObject({
16188
16354
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16355
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16189
16356
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16190
16357
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16191
16358
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16193,6 +16360,7 @@ const generatedFocusOperations = [
16193
16360
  from: /* @__PURE__ */ string$1(),
16194
16361
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16195
16362
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16363
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16196
16364
  to: /* @__PURE__ */ string$1(),
16197
16365
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16198
16366
  }),
@@ -16232,6 +16400,7 @@ const generatedFocusOperations = [
16232
16400
  private_: /* @__PURE__ */ unknown$1(),
16233
16401
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16234
16402
  task_source: /* @__PURE__ */ unknown$1(),
16403
+ team_id: /* @__PURE__ */ number$2(),
16235
16404
  unit: /* @__PURE__ */ unknown$1(),
16236
16405
  user_id: /* @__PURE__ */ number$2()
16237
16406
  }),
@@ -16481,8 +16650,6 @@ const generatedFocusOperations = [
16481
16650
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16482
16651
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
16483
16652
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16484
- integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16485
- integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16486
16653
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16487
16654
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16488
16655
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -16516,8 +16683,6 @@ const generatedFocusOperations = [
16516
16683
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16517
16684
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
16518
16685
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16519
- integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16520
- integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16521
16686
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16522
16687
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16523
16688
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -16672,6 +16837,33 @@ const generatedFocusOperations = [
16672
16837
  ]));
16673
16838
  }
16674
16839
  },
16840
+ {
16841
+ id: "focus.custom-fields.get-allowed-users",
16842
+ family: "focus",
16843
+ resource: "custom-fields",
16844
+ action: "get-allowed-users",
16845
+ title: "Get Allowed Users Custom Fields",
16846
+ description: "Get Allowed Users Custom Fields.",
16847
+ safety: "read",
16848
+ destructive: false,
16849
+ cli: {
16850
+ group: ["custom-fields"],
16851
+ command: "get-allowed-users",
16852
+ interactive: "available"
16853
+ },
16854
+ mcp: { entityTool: "custom-fields" },
16855
+ inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
16856
+ execute: (input, { client }) => {
16857
+ const data = input;
16858
+ return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
16859
+ client.httpClient,
16860
+ client.organizationId,
16861
+ client.workspaceIdNumber,
16862
+ data.custom_field_id,
16863
+ void 0
16864
+ ]));
16865
+ }
16866
+ },
16675
16867
  {
16676
16868
  id: "focus.custom-fields.list",
16677
16869
  family: "focus",
@@ -16841,6 +17033,37 @@ const generatedFocusOperations = [
16841
17033
  ]));
16842
17034
  }
16843
17035
  },
17036
+ {
17037
+ id: "focus.custom-fields.replace-custom-field-allowed-users",
17038
+ family: "focus",
17039
+ resource: "custom-fields",
17040
+ action: "replace-custom-field-allowed-users",
17041
+ title: "Replace Custom Field Allowed Users Custom Fields",
17042
+ description: "Replace Custom Field Allowed Users Custom Fields.",
17043
+ safety: "update",
17044
+ destructive: false,
17045
+ cli: {
17046
+ group: ["custom-fields"],
17047
+ command: "replace-custom-field-allowed-users",
17048
+ interactive: "default"
17049
+ },
17050
+ mcp: { entityTool: "custom-fields" },
17051
+ inputSchema: /* @__PURE__ */ looseObject({
17052
+ custom_field_id: /* @__PURE__ */ number$2(),
17053
+ payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
17054
+ }),
17055
+ execute: (input, { client }) => {
17056
+ const data = input;
17057
+ return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
17058
+ client.httpClient,
17059
+ client.organizationId,
17060
+ client.workspaceIdNumber,
17061
+ data.custom_field_id,
17062
+ data.payload ?? data.data ?? data,
17063
+ void 0
17064
+ ]));
17065
+ }
17066
+ },
16844
17067
  {
16845
17068
  id: "focus.custom-fields.update",
16846
17069
  family: "focus",
@@ -16987,13 +17210,7 @@ const generatedFocusOperations = [
16987
17210
  },
16988
17211
  mcp: { entityTool: "goals" },
16989
17212
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16990
- billable: /* @__PURE__ */ boolean$1(),
16991
17213
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
16992
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16993
- icon: /* @__PURE__ */ string$1(),
16994
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
16995
- name: /* @__PURE__ */ string$1(),
16996
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16997
17214
  recurrence: /* @__PURE__ */ picklist$1([
16998
17215
  "daily",
16999
17216
  "weekly",
@@ -17001,12 +17218,18 @@ const generatedFocusOperations = [
17001
17218
  "monthly"
17002
17219
  ]),
17003
17220
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
17004
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17005
17221
  target_seconds: /* @__PURE__ */ number$2(),
17006
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17007
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17222
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17008
17223
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17009
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
17224
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17225
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17226
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17227
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
17228
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17229
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17230
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17231
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17232
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
17010
17233
  }) }),
17011
17234
  execute: (input, { client }) => {
17012
17235
  const data = input;
@@ -17112,13 +17335,6 @@ const generatedFocusOperations = [
17112
17335
  },
17113
17336
  mcp: { entityTool: "goals" },
17114
17337
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
17115
- billable: /* @__PURE__ */ boolean$1(),
17116
- comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
17117
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
17118
- icon: /* @__PURE__ */ string$1(),
17119
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
17120
- name: /* @__PURE__ */ string$1(),
17121
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17122
17338
  recurrence: /* @__PURE__ */ picklist$1([
17123
17339
  "daily",
17124
17340
  "weekly",
@@ -17126,12 +17342,19 @@ const generatedFocusOperations = [
17126
17342
  "monthly"
17127
17343
  ]),
17128
17344
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
17129
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17130
- target_seconds: /* @__PURE__ */ number$2(),
17131
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17132
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17345
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17133
17346
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17134
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
17347
+ comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
17348
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17349
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17350
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17351
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
17352
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17353
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17354
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17355
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
17356
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17357
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
17135
17358
  }) }),
17136
17359
  execute: (input, { client }) => {
17137
17360
  const data = input;
@@ -18098,9 +18321,17 @@ const generatedFocusOperations = [
18098
18321
  mcp: { entityTool: "projects" },
18099
18322
  inputSchema: /* @__PURE__ */ looseObject({
18100
18323
  payload: /* @__PURE__ */ looseObject({
18324
+ auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18325
+ completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
18101
18326
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
18102
18327
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18103
18328
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18329
+ rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
18330
+ "expire",
18331
+ "carry_all",
18332
+ "carry_over"
18333
+ ])),
18334
+ rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18104
18335
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
18105
18336
  }),
18106
18337
  project_id: /* @__PURE__ */ number$2()
@@ -18544,6 +18775,7 @@ const generatedFocusOperations = [
18544
18775
  group: /* @__PURE__ */ string$1(),
18545
18776
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18546
18777
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18778
+ include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18547
18779
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18548
18780
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18549
18781
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -18646,29 +18878,6 @@ const generatedFocusOperations = [
18646
18878
  ]));
18647
18879
  }
18648
18880
  },
18649
- {
18650
- id: "focus.projects.margin-targets-clear-workspace",
18651
- family: "focus",
18652
- resource: "projects",
18653
- action: "margin-targets-clear-workspace",
18654
- title: "Margin Targets Clear Workspace Projects",
18655
- description: "Margin Targets Clear Workspace Projects.",
18656
- safety: "delete",
18657
- destructive: true,
18658
- cli: {
18659
- group: ["projects", "margin-targets"],
18660
- command: "clear-workspace",
18661
- interactive: "default"
18662
- },
18663
- mcp: { entityTool: "projects" },
18664
- inputSchema: /* @__PURE__ */ looseObject({}),
18665
- execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
18666
- client.httpClient,
18667
- client.organizationId,
18668
- client.workspaceIdNumber,
18669
- void 0
18670
- ]))
18671
- },
18672
18881
  {
18673
18882
  id: "focus.projects.margin-targets-get",
18674
18883
  family: "focus",
@@ -19113,6 +19322,130 @@ const generatedFocusOperations = [
19113
19322
  ]));
19114
19323
  }
19115
19324
  },
19325
+ {
19326
+ id: "focus.publicsharedreports.open-public-shared-report",
19327
+ family: "focus",
19328
+ resource: "publicsharedreports",
19329
+ action: "open-public-shared-report",
19330
+ title: "Open Public Shared Report Publicsharedreports",
19331
+ description: "Open Public Shared Report Publicsharedreports.",
19332
+ safety: "read",
19333
+ destructive: false,
19334
+ cli: {
19335
+ group: ["publicsharedreports"],
19336
+ command: "open-public-shared-report",
19337
+ interactive: "available"
19338
+ },
19339
+ mcp: { entityTool: "publicsharedreports" },
19340
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
19341
+ execute: (input, { client }) => {
19342
+ const data = input;
19343
+ return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
19344
+ client.httpClient,
19345
+ data.token,
19346
+ void 0
19347
+ ]));
19348
+ }
19349
+ },
19350
+ {
19351
+ id: "focus.publicsharedreports.profitability-public-shared-report",
19352
+ family: "focus",
19353
+ resource: "publicsharedreports",
19354
+ action: "profitability-public-shared-report",
19355
+ title: "Profitability Public Shared Report Publicsharedreports",
19356
+ description: "Profitability Public Shared Report Publicsharedreports.",
19357
+ safety: "update",
19358
+ destructive: false,
19359
+ cli: {
19360
+ group: ["publicsharedreports"],
19361
+ command: "profitability-public-shared-report",
19362
+ interactive: "default"
19363
+ },
19364
+ mcp: { entityTool: "publicsharedreports" },
19365
+ inputSchema: /* @__PURE__ */ looseObject({
19366
+ include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
19367
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
19368
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
19369
+ token: /* @__PURE__ */ string$1()
19370
+ }),
19371
+ execute: (input, { client }) => {
19372
+ const data = input;
19373
+ return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
19374
+ client.httpClient,
19375
+ data.token,
19376
+ data.payload ?? data.data ?? data,
19377
+ data.response_format,
19378
+ data.include_dicts,
19379
+ void 0
19380
+ ]));
19381
+ }
19382
+ },
19383
+ {
19384
+ id: "focus.publicsharedreports.query-public-shared-report",
19385
+ family: "focus",
19386
+ resource: "publicsharedreports",
19387
+ action: "query-public-shared-report",
19388
+ title: "Query Public Shared Report Publicsharedreports",
19389
+ description: "Query Public Shared Report Publicsharedreports.",
19390
+ safety: "update",
19391
+ destructive: false,
19392
+ cli: {
19393
+ group: ["publicsharedreports"],
19394
+ command: "query-public-shared-report",
19395
+ interactive: "default"
19396
+ },
19397
+ mcp: { entityTool: "publicsharedreports" },
19398
+ inputSchema: /* @__PURE__ */ looseObject({
19399
+ include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
19400
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
19401
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
19402
+ "json_row",
19403
+ "table",
19404
+ "hierarchical"
19405
+ ])),
19406
+ token: /* @__PURE__ */ string$1()
19407
+ }),
19408
+ execute: (input, { client }) => {
19409
+ const data = input;
19410
+ return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
19411
+ client.httpClient,
19412
+ data.token,
19413
+ data.payload ?? data.data ?? data,
19414
+ data.response_format,
19415
+ data.include_dicts,
19416
+ void 0
19417
+ ]));
19418
+ }
19419
+ },
19420
+ {
19421
+ id: "focus.publicsharedreports.workload-public-shared-report",
19422
+ family: "focus",
19423
+ resource: "publicsharedreports",
19424
+ action: "workload-public-shared-report",
19425
+ title: "Workload Public Shared Report Publicsharedreports",
19426
+ description: "Workload Public Shared Report Publicsharedreports.",
19427
+ safety: "update",
19428
+ destructive: false,
19429
+ cli: {
19430
+ group: ["publicsharedreports"],
19431
+ command: "workload-public-shared-report",
19432
+ interactive: "default"
19433
+ },
19434
+ mcp: { entityTool: "publicsharedreports" },
19435
+ inputSchema: /* @__PURE__ */ looseObject({
19436
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
19437
+ token: /* @__PURE__ */ string$1()
19438
+ }),
19439
+ execute: (input, { client }) => {
19440
+ const data = input;
19441
+ return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
19442
+ client.httpClient,
19443
+ data.token,
19444
+ data.payload ?? data.data ?? data,
19445
+ void 0
19446
+ ]));
19447
+ }
19448
+ },
19116
19449
  {
19117
19450
  id: "focus.rates.billable-check-project-billable-rate-conflicts",
19118
19451
  family: "focus",
@@ -21071,7 +21404,7 @@ const generatedFocusOperations = [
21071
21404
  cli: {
21072
21405
  group: ["reportschedules"],
21073
21406
  command: "upsert-saved-view-schedule",
21074
- interactive: "default"
21407
+ interactive: "hidden"
21075
21408
  },
21076
21409
  mcp: { entityTool: "reportschedules" },
21077
21410
  inputSchema: /* @__PURE__ */ looseObject({
@@ -21082,8 +21415,10 @@ const generatedFocusOperations = [
21082
21415
  "weekly",
21083
21416
  "monthly"
21084
21417
  ]),
21418
+ charts: /* @__PURE__ */ unknown$1(),
21085
21419
  time: /* @__PURE__ */ string$1(),
21086
21420
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21421
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21087
21422
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21088
21423
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21089
21424
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -21486,6 +21821,36 @@ const generatedFocusOperations = [
21486
21821
  void 0
21487
21822
  ]))
21488
21823
  },
21824
+ {
21825
+ id: "focus.sharedreports.mint-shared-report-link",
21826
+ family: "focus",
21827
+ resource: "sharedreports",
21828
+ action: "mint-shared-report-link",
21829
+ title: "Mint Shared Report Link Sharedreports",
21830
+ description: "Mint Shared Report Link Sharedreports.",
21831
+ safety: "update",
21832
+ destructive: false,
21833
+ cli: {
21834
+ group: ["sharedreports"],
21835
+ command: "mint-shared-report-link",
21836
+ interactive: "default"
21837
+ },
21838
+ mcp: { entityTool: "sharedreports" },
21839
+ inputSchema: /* @__PURE__ */ looseObject({
21840
+ id: /* @__PURE__ */ number$2(),
21841
+ payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
21842
+ }),
21843
+ execute: (input, { client }) => {
21844
+ const data = input;
21845
+ return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
21846
+ client.httpClient,
21847
+ client.workspaceIdNumber,
21848
+ data.id,
21849
+ data.payload ?? data.data ?? data,
21850
+ void 0
21851
+ ]));
21852
+ }
21853
+ },
21489
21854
  {
21490
21855
  id: "focus.sharedreports.revoke-shared-report-grant",
21491
21856
  family: "focus",
@@ -21516,6 +21881,62 @@ const generatedFocusOperations = [
21516
21881
  ]));
21517
21882
  }
21518
21883
  },
21884
+ {
21885
+ id: "focus.sharedreports.revoke-shared-report-link",
21886
+ family: "focus",
21887
+ resource: "sharedreports",
21888
+ action: "revoke-shared-report-link",
21889
+ title: "Revoke Shared Report Link Sharedreports",
21890
+ description: "Revoke Shared Report Link Sharedreports.",
21891
+ safety: "delete",
21892
+ destructive: true,
21893
+ cli: {
21894
+ group: ["sharedreports"],
21895
+ command: "revoke-shared-report-link",
21896
+ interactive: "default"
21897
+ },
21898
+ mcp: { entityTool: "sharedreports" },
21899
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21900
+ execute: (input, { client }) => {
21901
+ const data = input;
21902
+ return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
21903
+ client.httpClient,
21904
+ client.workspaceIdNumber,
21905
+ data.id,
21906
+ void 0
21907
+ ]));
21908
+ }
21909
+ },
21910
+ {
21911
+ id: "focus.sharedreports.rotate-shared-report-link",
21912
+ family: "focus",
21913
+ resource: "sharedreports",
21914
+ action: "rotate-shared-report-link",
21915
+ title: "Rotate Shared Report Link Sharedreports",
21916
+ description: "Rotate Shared Report Link Sharedreports.",
21917
+ safety: "update",
21918
+ destructive: false,
21919
+ cli: {
21920
+ group: ["sharedreports"],
21921
+ command: "rotate-shared-report-link",
21922
+ interactive: "default"
21923
+ },
21924
+ mcp: { entityTool: "sharedreports" },
21925
+ inputSchema: /* @__PURE__ */ looseObject({
21926
+ id: /* @__PURE__ */ number$2(),
21927
+ payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
21928
+ }),
21929
+ execute: (input, { client }) => {
21930
+ const data = input;
21931
+ return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
21932
+ client.httpClient,
21933
+ client.workspaceIdNumber,
21934
+ data.id,
21935
+ data.payload ?? data.data ?? data,
21936
+ void 0
21937
+ ]));
21938
+ }
21939
+ },
21519
21940
  {
21520
21941
  id: "focus.sharedreports.share-saved-view",
21521
21942
  family: "focus",
@@ -21590,6 +22011,32 @@ const generatedFocusOperations = [
21590
22011
  ]));
21591
22012
  }
21592
22013
  },
22014
+ {
22015
+ id: "focus.sharedreports.unshare-shared-report",
22016
+ family: "focus",
22017
+ resource: "sharedreports",
22018
+ action: "unshare-shared-report",
22019
+ title: "Unshare Shared Report Sharedreports",
22020
+ description: "Unshare Shared Report Sharedreports.",
22021
+ safety: "delete",
22022
+ destructive: true,
22023
+ cli: {
22024
+ group: ["sharedreports"],
22025
+ command: "unshare-shared-report",
22026
+ interactive: "default"
22027
+ },
22028
+ mcp: { entityTool: "sharedreports" },
22029
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
22030
+ execute: (input, { client }) => {
22031
+ const data = input;
22032
+ return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
22033
+ client.httpClient,
22034
+ client.workspaceIdNumber,
22035
+ data.id,
22036
+ void 0
22037
+ ]));
22038
+ }
22039
+ },
21593
22040
  {
21594
22041
  id: "focus.statuses.create-status",
21595
22042
  family: "focus",
@@ -22632,6 +23079,37 @@ const generatedFocusOperations = [
22632
23079
  return client.createTask(data);
22633
23080
  }
22634
23081
  },
23082
+ {
23083
+ id: "focus.tasks.create-recurring-occurrence",
23084
+ family: "focus",
23085
+ resource: "tasks",
23086
+ action: "create-recurring-occurrence",
23087
+ title: "Create Recurring Occurrence Tasks",
23088
+ description: "Create Recurring Occurrence Tasks.",
23089
+ safety: "create",
23090
+ destructive: false,
23091
+ cli: {
23092
+ group: ["tasks"],
23093
+ command: "create-recurring-occurrence",
23094
+ interactive: "default"
23095
+ },
23096
+ mcp: { entityTool: "tasks" },
23097
+ inputSchema: /* @__PURE__ */ looseObject({
23098
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23099
+ task_id: /* @__PURE__ */ number$2()
23100
+ }),
23101
+ execute: (input, { client }) => {
23102
+ const data = input;
23103
+ return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
23104
+ client.httpClient,
23105
+ client.organizationId,
23106
+ client.workspaceIdNumber,
23107
+ data.task_id,
23108
+ data.return_occurrence,
23109
+ void 0
23110
+ ]));
23111
+ }
23112
+ },
22635
23113
  {
22636
23114
  id: "focus.tasks.delete",
22637
23115
  family: "focus",
@@ -22879,9 +23357,13 @@ const generatedFocusOperations = [
22879
23357
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22880
23358
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22881
23359
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23360
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23361
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22882
23362
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22883
23363
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23364
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22884
23365
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23366
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22885
23367
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22886
23368
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
22887
23369
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -22933,7 +23415,9 @@ const generatedFocusOperations = [
22933
23415
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22934
23416
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22935
23417
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23418
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22936
23419
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23420
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22937
23421
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22938
23422
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22939
23423
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -22942,7 +23426,9 @@ const generatedFocusOperations = [
22942
23426
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22943
23427
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22944
23428
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23429
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22945
23430
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23431
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22946
23432
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22947
23433
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22948
23434
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23080,8 +23566,10 @@ const generatedFocusOperations = [
23080
23566
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23081
23567
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23082
23568
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23569
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23083
23570
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23084
23571
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23572
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23085
23573
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23086
23574
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23087
23575
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23090,6 +23578,8 @@ const generatedFocusOperations = [
23090
23578
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23091
23579
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23092
23580
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23581
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23582
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23093
23583
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23094
23584
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23095
23585
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23098,7 +23588,8 @@ const generatedFocusOperations = [
23098
23588
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
23099
23589
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23100
23590
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23101
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23591
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23592
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23102
23593
  }),
23103
23594
  execute: (input, { client }) => {
23104
23595
  const data = input;
@@ -23140,13 +23631,17 @@ const generatedFocusOperations = [
23140
23631
  group_id: /* @__PURE__ */ number$2(),
23141
23632
  include_assignees: /* @__PURE__ */ unknown$1(),
23142
23633
  include_drafts: /* @__PURE__ */ unknown$1(),
23634
+ include_projected_occurrences: /* @__PURE__ */ unknown$1(),
23143
23635
  include_unassigned: /* @__PURE__ */ unknown$1(),
23144
23636
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
23637
+ max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23145
23638
  min_days: /* @__PURE__ */ unknown$1(),
23146
23639
  name: /* @__PURE__ */ unknown$1(),
23147
23640
  priority: /* @__PURE__ */ unknown$1(),
23148
23641
  private_: /* @__PURE__ */ unknown$1(),
23149
23642
  project_id: /* @__PURE__ */ number$2(),
23643
+ recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23644
+ recurring_task_read: /* @__PURE__ */ unknown$1(),
23150
23645
  source: /* @__PURE__ */ unknown$1(),
23151
23646
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23152
23647
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -23155,7 +23650,8 @@ const generatedFocusOperations = [
23155
23650
  tag_id: /* @__PURE__ */ number$2(),
23156
23651
  team_id: /* @__PURE__ */ number$2(),
23157
23652
  user_cf_filter: /* @__PURE__ */ unknown$1(),
23158
- user_tag_id: /* @__PURE__ */ number$2()
23653
+ user_tag_id: /* @__PURE__ */ number$2(),
23654
+ xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
23159
23655
  }),
23160
23656
  execute: (input, { client }) => {
23161
23657
  const data = input;
@@ -23196,13 +23692,17 @@ const generatedFocusOperations = [
23196
23692
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23197
23693
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23198
23694
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23695
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23199
23696
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23200
23697
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23698
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23201
23699
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23202
23700
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23203
23701
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23204
23702
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23205
23703
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23704
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23705
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23206
23706
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23207
23707
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23208
23708
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23211,7 +23711,8 @@ const generatedFocusOperations = [
23211
23711
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23212
23712
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23213
23713
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23214
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23714
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23715
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23215
23716
  }),
23216
23717
  execute: (input, { client }) => {
23217
23718
  const data = input;
@@ -23482,7 +23983,8 @@ const generatedFocusOperations = [
23482
23983
  mcp: { entityTool: "tasks" },
23483
23984
  inputSchema: /* @__PURE__ */ looseObject({
23484
23985
  date_from: /* @__PURE__ */ string$1(),
23485
- date_to: /* @__PURE__ */ string$1()
23986
+ date_to: /* @__PURE__ */ string$1(),
23987
+ skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23486
23988
  }),
23487
23989
  execute: (input, { client }) => {
23488
23990
  const data = input;
@@ -23492,6 +23994,7 @@ const generatedFocusOperations = [
23492
23994
  client.workspaceIdNumber,
23493
23995
  data.date_from,
23494
23996
  data.date_to,
23997
+ data.skip_provider_refresh,
23495
23998
  void 0
23496
23999
  ]));
23497
24000
  }
@@ -24078,7 +24581,8 @@ const generatedFocusOperations = [
24078
24581
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
24079
24582
  "project",
24080
24583
  "task",
24081
- "description"
24584
+ "description",
24585
+ "tags"
24082
24586
  ]) })),
24083
24587
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24084
24588
  }) }),
@@ -24108,6 +24612,7 @@ const generatedFocusOperations = [
24108
24612
  },
24109
24613
  mcp: { entityTool: "time-entries" },
24110
24614
  inputSchema: /* @__PURE__ */ looseObject({
24615
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24111
24616
  payload: /* @__PURE__ */ looseObject({
24112
24617
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24113
24618
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -24118,11 +24623,13 @@ const generatedFocusOperations = [
24118
24623
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24119
24624
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24120
24625
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24626
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24121
24627
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
24122
24628
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24123
24629
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24124
24630
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24125
24631
  }),
24632
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24126
24633
  task_id: /* @__PURE__ */ number$2()
24127
24634
  }),
24128
24635
  execute: (input, { client }) => {
@@ -24133,6 +24640,8 @@ const generatedFocusOperations = [
24133
24640
  client.workspaceIdNumber,
24134
24641
  data.task_id,
24135
24642
  data.payload ?? data.data ?? data,
24643
+ data.from_recurring_task_id,
24644
+ data.return_occurrence,
24136
24645
  void 0
24137
24646
  ]));
24138
24647
  }
@@ -24152,21 +24661,26 @@ const generatedFocusOperations = [
24152
24661
  interactive: "default"
24153
24662
  },
24154
24663
  mcp: { entityTool: "time-entries" },
24155
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
24156
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24157
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24158
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24159
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24160
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24161
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24162
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24163
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24164
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24165
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
24166
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24167
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24168
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24169
- }) }),
24664
+ inputSchema: /* @__PURE__ */ looseObject({
24665
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24666
+ payload: /* @__PURE__ */ looseObject({
24667
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24668
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24669
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24670
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24671
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24672
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24673
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24674
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24675
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24676
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24677
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
24678
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24679
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24680
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24681
+ }),
24682
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24683
+ }),
24170
24684
  execute: (input, { client }) => {
24171
24685
  const data = input;
24172
24686
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -24174,6 +24688,8 @@ const generatedFocusOperations = [
24174
24688
  client.organizationId,
24175
24689
  client.workspaceIdNumber,
24176
24690
  data.payload ?? data.data ?? data,
24691
+ data.from_recurring_task_id,
24692
+ data.return_occurrence,
24177
24693
  void 0
24178
24694
  ]));
24179
24695
  }
@@ -24193,7 +24709,11 @@ const generatedFocusOperations = [
24193
24709
  interactive: "default"
24194
24710
  },
24195
24711
  mcp: { entityTool: "time-entries" },
24196
- inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
24712
+ inputSchema: /* @__PURE__ */ looseObject({
24713
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24714
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24715
+ time_entry_id: /* @__PURE__ */ number$2()
24716
+ }),
24197
24717
  execute: (input, { client }) => {
24198
24718
  const data = input;
24199
24719
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -24201,6 +24721,8 @@ const generatedFocusOperations = [
24201
24721
  client.organizationId,
24202
24722
  client.workspaceIdNumber,
24203
24723
  data.time_entry_id,
24724
+ data.from_recurring_task_id,
24725
+ data.return_occurrence,
24204
24726
  void 0
24205
24727
  ]));
24206
24728
  }
@@ -24281,6 +24803,7 @@ const generatedFocusOperations = [
24281
24803
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
24282
24804
  include_taskless: /* @__PURE__ */ unknown$1(),
24283
24805
  order_by: /* @__PURE__ */ unknown$1(),
24806
+ project_id: /* @__PURE__ */ number$2(),
24284
24807
  status_id: /* @__PURE__ */ number$2(),
24285
24808
  task_id: /* @__PURE__ */ number$2(),
24286
24809
  type: /* @__PURE__ */ unknown$1()
@@ -24457,12 +24980,14 @@ const generatedFocusOperations = [
24457
24980
  },
24458
24981
  mcp: { entityTool: "time-entries" },
24459
24982
  inputSchema: /* @__PURE__ */ looseObject({
24983
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24460
24984
  payload: /* @__PURE__ */ looseObject({
24461
24985
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24462
24986
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24463
24987
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24464
24988
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
24465
24989
  }),
24990
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24466
24991
  time_entry_id: /* @__PURE__ */ number$2()
24467
24992
  }),
24468
24993
  execute: (input, { client }) => {
@@ -24473,6 +24998,8 @@ const generatedFocusOperations = [
24473
24998
  client.workspaceIdNumber,
24474
24999
  data.time_entry_id,
24475
25000
  data.payload ?? data.data ?? data,
25001
+ data.from_recurring_task_id,
25002
+ data.return_occurrence,
24476
25003
  void 0
24477
25004
  ]));
24478
25005
  }
@@ -24730,6 +25257,7 @@ const generatedFocusOperations = [
24730
25257
  },
24731
25258
  mcp: { entityTool: "time-entries" },
24732
25259
  inputSchema: /* @__PURE__ */ looseObject({
25260
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24733
25261
  payload: /* @__PURE__ */ looseObject({
24734
25262
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24735
25263
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -24742,6 +25270,7 @@ const generatedFocusOperations = [
24742
25270
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24743
25271
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
24744
25272
  }),
25273
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24745
25274
  time_entry_id: /* @__PURE__ */ number$2()
24746
25275
  }),
24747
25276
  execute: (input, { client }) => {
@@ -24752,6 +25281,8 @@ const generatedFocusOperations = [
24752
25281
  client.workspaceIdNumber,
24753
25282
  data.time_entry_id,
24754
25283
  data.payload ?? data.data ?? data,
25284
+ data.from_recurring_task_id,
25285
+ data.return_occurrence,
24755
25286
  void 0
24756
25287
  ]));
24757
25288
  }
@@ -25267,6 +25798,40 @@ const generatedFocusOperations = [
25267
25798
  ]));
25268
25799
  }
25269
25800
  },
25801
+ {
25802
+ id: "focus.timesheets.get-status-counts",
25803
+ family: "focus",
25804
+ resource: "timesheets",
25805
+ action: "get-status-counts",
25806
+ title: "Get Status Counts Timesheets",
25807
+ description: "Get Status Counts Timesheets.",
25808
+ safety: "read",
25809
+ destructive: false,
25810
+ cli: {
25811
+ group: ["timesheets"],
25812
+ command: "get-status-counts",
25813
+ interactive: "hidden"
25814
+ },
25815
+ mcp: { entityTool: "timesheets" },
25816
+ inputSchema: /* @__PURE__ */ looseObject({
25817
+ approver_user_account_ids: /* @__PURE__ */ unknown$1(),
25818
+ date_from: /* @__PURE__ */ unknown$1(),
25819
+ date_to: /* @__PURE__ */ unknown$1(),
25820
+ setup_id: /* @__PURE__ */ number$2(),
25821
+ team_ids: /* @__PURE__ */ unknown$1(),
25822
+ user_account_ids: /* @__PURE__ */ unknown$1()
25823
+ }),
25824
+ execute: (input, { client }) => {
25825
+ const data = input;
25826
+ return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
25827
+ client.httpClient,
25828
+ client.organizationId,
25829
+ client.workspaceIdNumber,
25830
+ data,
25831
+ void 0
25832
+ ]));
25833
+ }
25834
+ },
25270
25835
  {
25271
25836
  id: "focus.timesheets.remove-timesheet-flag",
25272
25837
  family: "focus",
@@ -25816,6 +26381,33 @@ const generatedFocusOperations = [
25816
26381
  ]));
25817
26382
  }
25818
26383
  },
26384
+ {
26385
+ id: "focus.track-team-invites.post",
26386
+ family: "focus",
26387
+ resource: "track-team-invites",
26388
+ action: "post",
26389
+ title: "Post Track Team Invites",
26390
+ description: "Post Track Team Invites.",
26391
+ safety: "create",
26392
+ destructive: false,
26393
+ cli: {
26394
+ group: ["track-team-invites"],
26395
+ command: "post",
26396
+ interactive: "default"
26397
+ },
26398
+ mcp: { entityTool: "track-team-invites" },
26399
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
26400
+ execute: (input, { client }) => {
26401
+ const data = input;
26402
+ return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
26403
+ client.httpClient,
26404
+ client.organizationId,
26405
+ client.workspaceIdNumber,
26406
+ data.payload ?? data.data ?? data,
26407
+ void 0
26408
+ ]));
26409
+ }
26410
+ },
25819
26411
  {
25820
26412
  id: "focus.users.list",
25821
26413
  family: "focus",
@@ -25837,6 +26429,56 @@ const generatedFocusOperations = [
25837
26429
  return client.listOrgUsers(data);
25838
26430
  }
25839
26431
  },
26432
+ {
26433
+ id: "focus.users.settings-email-unsubscribe",
26434
+ family: "focus",
26435
+ resource: "users",
26436
+ action: "settings-email-unsubscribe",
26437
+ title: "Settings Email Unsubscribe Users",
26438
+ description: "Settings Email Unsubscribe Users.",
26439
+ safety: "update",
26440
+ destructive: false,
26441
+ cli: {
26442
+ group: ["users", "settings"],
26443
+ command: "email-unsubscribe",
26444
+ interactive: "default"
26445
+ },
26446
+ mcp: { entityTool: "users" },
26447
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
26448
+ execute: (input, { client }) => {
26449
+ const data = input;
26450
+ return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
26451
+ client.httpClient,
26452
+ data.token,
26453
+ void 0
26454
+ ]));
26455
+ }
26456
+ },
26457
+ {
26458
+ id: "focus.users.settings-email-unsubscribe-page",
26459
+ family: "focus",
26460
+ resource: "users",
26461
+ action: "settings-email-unsubscribe-page",
26462
+ title: "Settings Email Unsubscribe Page Users",
26463
+ description: "Settings Email Unsubscribe Page Users.",
26464
+ safety: "read",
26465
+ destructive: false,
26466
+ cli: {
26467
+ group: ["users", "settings"],
26468
+ command: "email-unsubscribe-page",
26469
+ interactive: "available"
26470
+ },
26471
+ mcp: { entityTool: "users" },
26472
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
26473
+ execute: (input, { client }) => {
26474
+ const data = input;
26475
+ return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
26476
+ client.httpClient,
26477
+ data.token,
26478
+ void 0
26479
+ ]));
26480
+ }
26481
+ },
25840
26482
  {
25841
26483
  id: "focus.users.settings-list",
25842
26484
  family: "focus",
@@ -25898,6 +26540,9 @@ const generatedFocusOperations = [
25898
26540
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25899
26541
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25900
26542
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26543
+ notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26544
+ notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26545
+ notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25901
26546
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25902
26547
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25903
26548
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -27960,4 +28605,4 @@ Common commands:
27960
28605
  //#endregion
27961
28606
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
27962
28607
 
27963
- //# sourceMappingURL=program-BH4LUeUT.js.map
28608
+ //# sourceMappingURL=program-BGUyOeun.js.map