@togglhq/cli 1.11.46 → 1.11.48

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,18 @@ 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_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_name,
10108
10125
  page,
10109
10126
  per_page,
10110
10127
  order_by,
@@ -10354,7 +10371,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10354
10371
  }
10355
10372
  //#endregion
10356
10373
  //#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) {
10374
+ 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
10375
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10359
10376
  signal,
10360
10377
  searchParams: buildSearchParams$2({
@@ -10405,7 +10422,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10405
10422
  include_assignees,
10406
10423
  include_parent_matches,
10407
10424
  disable_aggregations,
10408
- cf_filter
10425
+ cf_filter,
10426
+ recurring_occurrences_after,
10427
+ max_recurring_occurrences_after,
10428
+ recurring_task_read,
10429
+ include_projected_occurrences
10409
10430
  })
10410
10431
  }).json();
10411
10432
  }
@@ -10480,16 +10501,17 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
10480
10501
  })
10481
10502
  }).json();
10482
10503
  }
10483
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
10504
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
10484
10505
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
10485
10506
  signal,
10486
10507
  searchParams: buildSearchParams$2({
10487
10508
  date_from,
10488
- date_to
10509
+ date_to,
10510
+ skip_provider_refresh
10489
10511
  })
10490
10512
  }).json();
10491
10513
  }
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) {
10514
+ 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
10515
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
10494
10516
  signal,
10495
10517
  searchParams: buildSearchParams$2({
@@ -10505,11 +10527,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10505
10527
  assignee_team_id,
10506
10528
  assignee_user_id,
10507
10529
  tag_id,
10508
- include_assignees
10530
+ include_assignees,
10531
+ recurring_occurrences_after,
10532
+ max_recurring_occurrences_after,
10533
+ recurring_task_read,
10534
+ include_projected_occurrences
10509
10535
  })
10510
10536
  }).json();
10511
10537
  }
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) {
10538
+ 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
10539
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10514
10540
  signal,
10515
10541
  searchParams: buildSearchParams$2({
@@ -10554,7 +10580,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10554
10580
  recurring_task_ids,
10555
10581
  client_id,
10556
10582
  include_assignees,
10557
- cf_filter
10583
+ cf_filter,
10584
+ recurring_occurrences_after,
10585
+ max_recurring_occurrences_after,
10586
+ recurring_task_read,
10587
+ include_projected_occurrences
10558
10588
  })
10559
10589
  }).json();
10560
10590
  }
@@ -10609,6 +10639,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
10609
10639
  })
10610
10640
  }).json();
10611
10641
  }
10642
+ async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
10643
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
10644
+ signal,
10645
+ searchParams: buildSearchParams$2({ return_occurrence })
10646
+ }).json();
10647
+ }
10612
10648
  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
10649
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
10614
10650
  signal,
@@ -10745,16 +10781,24 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
10745
10781
  })
10746
10782
  }).json();
10747
10783
  }
10748
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
10784
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
10749
10785
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
10750
10786
  signal,
10751
- json: data
10787
+ json: data,
10788
+ searchParams: buildSearchParams$2({
10789
+ from_recurring_task_id,
10790
+ return_occurrence
10791
+ })
10752
10792
  }).json();
10753
10793
  }
10754
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
10794
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
10755
10795
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
10756
10796
  signal,
10757
- json: data
10797
+ json: data,
10798
+ searchParams: buildSearchParams$2({
10799
+ from_recurring_task_id,
10800
+ return_occurrence
10801
+ })
10758
10802
  }).json();
10759
10803
  }
10760
10804
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -10805,7 +10849,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
10805
10849
  json: data
10806
10850
  }).json();
10807
10851
  }
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) {
10852
+ 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
10853
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
10810
10854
  signal,
10811
10855
  searchParams: buildSearchParams$2({
@@ -10813,6 +10857,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
10813
10857
  date_to,
10814
10858
  task_id,
10815
10859
  status_id,
10860
+ project_id,
10816
10861
  type,
10817
10862
  order_by,
10818
10863
  archived,
@@ -10836,19 +10881,33 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
10836
10881
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
10837
10882
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
10838
10883
  }
10839
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10884
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10840
10885
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10841
10886
  signal,
10842
- json: data
10887
+ json: data,
10888
+ searchParams: buildSearchParams$2({
10889
+ from_recurring_task_id,
10890
+ return_occurrence
10891
+ })
10843
10892
  }).json();
10844
10893
  }
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();
10894
+ async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
10895
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10896
+ signal,
10897
+ searchParams: buildSearchParams$2({
10898
+ from_recurring_task_id,
10899
+ return_occurrence
10900
+ })
10901
+ }).json();
10847
10902
  }
10848
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10903
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10849
10904
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10850
10905
  signal,
10851
- json: data
10906
+ json: data,
10907
+ searchParams: buildSearchParams$2({
10908
+ from_recurring_task_id,
10909
+ return_occurrence
10910
+ })
10852
10911
  }).json();
10853
10912
  }
10854
10913
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -10963,7 +11022,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
10963
11022
  ]))
10964
11023
  });
10965
11024
  //#endregion
10966
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
11025
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.48_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_db6cca446d82454632a13c76eb0f4f1f/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10967
11026
  async function getInvitations(httpClient, signal) {
10968
11027
  return (await httpClient.get(`invitations`, { signal })).json();
10969
11028
  }
@@ -10980,7 +11039,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
10980
11039
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
10981
11040
  }
10982
11041
  //#endregion
10983
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/org/utils/requests.mjs
11042
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.48_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_db6cca446d82454632a13c76eb0f4f1f/node_modules/@toggl/queries/dist/org/utils/requests.mjs
10984
11043
  function buildSearchParams(params, flattenArrays = false) {
10985
11044
  const searchParams = new URLSearchParams();
10986
11045
  Object.entries(params).forEach(([key, value]) => {
@@ -10992,7 +11051,7 @@ function buildSearchParams(params, flattenArrays = false) {
10992
11051
  return searchParams;
10993
11052
  }
10994
11053
  //#endregion
10995
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
11054
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.48_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_db6cca446d82454632a13c76eb0f4f1f/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
10996
11055
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
10997
11056
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
10998
11057
  }
@@ -11006,7 +11065,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
11006
11065
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
11007
11066
  }
11008
11067
  //#endregion
11009
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
11068
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.48_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_db6cca446d82454632a13c76eb0f4f1f/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
11010
11069
  async function getWorkspaces(httpClient, organization_id, signal) {
11011
11070
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
11012
11071
  }
@@ -11026,7 +11085,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
11026
11085
  });
11027
11086
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
11028
11087
  //#endregion
11029
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
11088
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.48_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_db6cca446d82454632a13c76eb0f4f1f/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
11030
11089
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
11031
11090
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
11032
11091
  signal,
@@ -11037,12 +11096,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
11037
11096
  })).json();
11038
11097
  }
11039
11098
  //#endregion
11040
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
11099
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.48_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_db6cca446d82454632a13c76eb0f4f1f/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
11041
11100
  async function getStatus(httpClient, signal) {
11042
11101
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
11043
11102
  }
11044
11103
  //#endregion
11045
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
11104
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.48_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_db6cca446d82454632a13c76eb0f4f1f/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
11046
11105
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
11047
11106
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
11048
11107
  signal,
@@ -11070,7 +11129,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
11070
11129
  return response.json();
11071
11130
  }
11072
11131
  //#endregion
11073
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
11132
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.48_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_db6cca446d82454632a13c76eb0f4f1f/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
11074
11133
  async function getMyWorkingHours(httpClient, organization_id, signal) {
11075
11134
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
11076
11135
  }
@@ -14718,13 +14777,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
14718
14777
  }
14719
14778
  //#endregion
14720
14779
  //#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) {
14780
+ 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
14781
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
14723
14782
  signal,
14724
14783
  searchParams: buildSearchParams$2({
14725
14784
  workspace_id,
14726
14785
  entity_type,
14727
14786
  entity_id,
14787
+ project_id,
14788
+ custom_field_id,
14728
14789
  action,
14729
14790
  user_id,
14730
14791
  page_size,
@@ -14733,12 +14794,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
14733
14794
  })
14734
14795
  }).json();
14735
14796
  }
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) {
14797
+ 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
14798
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
14738
14799
  signal,
14739
14800
  searchParams: buildSearchParams$2({
14740
14801
  entity_type,
14741
14802
  entity_id,
14803
+ project_id,
14804
+ custom_field_id,
14742
14805
  action,
14743
14806
  user_id,
14744
14807
  page_size,
@@ -14891,13 +14954,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
14891
14954
  }
14892
14955
  //#endregion
14893
14956
  //#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) {
14957
+ 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
14958
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
14896
14959
  signal,
14897
14960
  searchParams: buildSearchParams$2({
14898
- user_id,
14899
14961
  start_date,
14900
14962
  end_date,
14963
+ user_id,
14964
+ team_id,
14901
14965
  private: private_,
14902
14966
  task_source,
14903
14967
  unit,
@@ -14957,6 +15021,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
14957
15021
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
14958
15022
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
14959
15023
  }
15024
+ async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
15025
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
15026
+ }
15027
+ async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
15028
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
15029
+ signal,
15030
+ json: data
15031
+ }).json();
15032
+ }
14960
15033
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
14961
15034
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
14962
15035
  signal,
@@ -15220,7 +15293,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
15220
15293
  }
15221
15294
  //#endregion
15222
15295
  //#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) {
15296
+ 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
15297
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
15225
15298
  signal,
15226
15299
  searchParams: buildSearchParams$2({
@@ -15246,6 +15319,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
15246
15319
  user_id,
15247
15320
  only_me,
15248
15321
  include_drafts,
15322
+ include_recurring_series,
15249
15323
  cf_filter
15250
15324
  })
15251
15325
  }).json();
@@ -15264,9 +15338,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
15264
15338
  json: data
15265
15339
  }).json();
15266
15340
  }
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
15341
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
15271
15342
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
15272
15343
  }
@@ -15292,6 +15363,37 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
15292
15363
  }).json();
15293
15364
  }
15294
15365
  //#endregion
15366
+ //#region ../focus-queries/dist/publicsharedreports/requests.ts
15367
+ async function openPublicSharedReport(httpClient, token, signal) {
15368
+ return await httpClient.get(`shared/${token}`, { signal }).json();
15369
+ }
15370
+ async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
15371
+ return await httpClient.post(`shared/${token}/profitability`, {
15372
+ signal,
15373
+ json: data,
15374
+ searchParams: buildSearchParams$2({
15375
+ response_format,
15376
+ include_dicts
15377
+ })
15378
+ }).json();
15379
+ }
15380
+ async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
15381
+ return await httpClient.post(`shared/${token}/query`, {
15382
+ signal,
15383
+ json: data,
15384
+ searchParams: buildSearchParams$2({
15385
+ response_format,
15386
+ include_dicts
15387
+ })
15388
+ }).json();
15389
+ }
15390
+ async function workloadPublicSharedReport(httpClient, token, data, signal) {
15391
+ return await httpClient.post(`shared/${token}/workload`, {
15392
+ signal,
15393
+ json: data
15394
+ }).json();
15395
+ }
15396
+ //#endregion
15295
15397
  //#region ../focus-queries/dist/rates/requests.ts
15296
15398
  async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
15297
15399
  const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
@@ -15505,6 +15607,9 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
15505
15607
  async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
15506
15608
  return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
15507
15609
  }
15610
+ async function unshareSharedReport(httpClient, workspace_id, id, signal) {
15611
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
15612
+ }
15508
15613
  async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
15509
15614
  return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
15510
15615
  signal,
@@ -15514,6 +15619,21 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
15514
15619
  async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
15515
15620
  return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
15516
15621
  }
15622
+ async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
15623
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
15624
+ signal,
15625
+ json: data
15626
+ }).json();
15627
+ }
15628
+ async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
15629
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
15630
+ }
15631
+ async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
15632
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
15633
+ signal,
15634
+ json: data
15635
+ }).json();
15636
+ }
15517
15637
  //#endregion
15518
15638
  //#region ../focus-queries/dist/subscriptions/requests.ts
15519
15639
  async function getCurrentSubscription(httpClient, organization_id, signal) {
@@ -15570,9 +15690,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
15570
15690
  }
15571
15691
  //#endregion
15572
15692
  //#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) {
15693
+ 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
15694
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
15575
15695
  signal,
15696
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15576
15697
  searchParams: buildSearchParams$2({
15577
15698
  project_id,
15578
15699
  source,
@@ -15601,13 +15722,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
15601
15722
  min_days,
15602
15723
  include_drafts,
15603
15724
  cf_filter,
15604
- user_cf_filter
15725
+ user_cf_filter,
15726
+ recurring_occurrences_after,
15727
+ max_recurring_occurrences_after,
15728
+ recurring_task_read,
15729
+ include_projected_occurrences
15605
15730
  })
15606
15731
  }).json();
15607
15732
  }
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) {
15733
+ 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
15734
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
15610
15735
  signal,
15736
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15611
15737
  searchParams: buildSearchParams$2({
15612
15738
  team_id,
15613
15739
  project_id,
@@ -15636,13 +15762,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
15636
15762
  min_days,
15637
15763
  include_drafts,
15638
15764
  cf_filter,
15639
- user_cf_filter
15765
+ user_cf_filter,
15766
+ recurring_occurrences_after,
15767
+ max_recurring_occurrences_after,
15768
+ recurring_task_read,
15769
+ include_projected_occurrences
15640
15770
  })
15641
15771
  }).json();
15642
15772
  }
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) {
15773
+ 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
15774
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
15645
15775
  signal,
15776
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15646
15777
  searchParams: buildSearchParams$2({
15647
15778
  source,
15648
15779
  priority,
@@ -15672,6 +15803,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
15672
15803
  include_drafts,
15673
15804
  cf_filter,
15674
15805
  user_cf_filter,
15806
+ recurring_occurrences_after,
15807
+ max_recurring_occurrences_after,
15808
+ recurring_task_read,
15809
+ include_projected_occurrences,
15675
15810
  page,
15676
15811
  per_page,
15677
15812
  order_by
@@ -15863,6 +15998,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
15863
15998
  json: data
15864
15999
  }).json();
15865
16000
  }
16001
+ async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
16002
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
16003
+ signal,
16004
+ searchParams: buildSearchParams$2({
16005
+ date_from,
16006
+ date_to,
16007
+ setup_id,
16008
+ user_account_ids,
16009
+ approver_user_account_ids,
16010
+ team_ids
16011
+ })
16012
+ }).json();
16013
+ }
15866
16014
  async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
15867
16015
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
15868
16016
  }
@@ -15906,7 +16054,21 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
15906
16054
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
15907
16055
  }
15908
16056
  //#endregion
16057
+ //#region ../focus-queries/dist/track-team-invites/requests.ts
16058
+ async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
16059
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
16060
+ signal,
16061
+ json: data
16062
+ }).json();
16063
+ }
16064
+ //#endregion
15909
16065
  //#region ../focus-queries/dist/user-settings/requests.ts
16066
+ async function emailUnsubscribePage(httpClient, token, signal) {
16067
+ return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
16068
+ }
16069
+ async function emailUnsubscribe(httpClient, token, signal) {
16070
+ return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
16071
+ }
15910
16072
  async function getUserSettings(httpClient, signal) {
15911
16073
  return await httpClient.get(`users/me/settings`, { signal }).json();
15912
16074
  }
@@ -16146,6 +16308,7 @@ const generatedFocusOperations = [
16146
16308
  mcp: { entityTool: "audit-log" },
16147
16309
  inputSchema: /* @__PURE__ */ looseObject({
16148
16310
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16311
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16149
16312
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16150
16313
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16151
16314
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16153,6 +16316,7 @@ const generatedFocusOperations = [
16153
16316
  from: /* @__PURE__ */ string$1(),
16154
16317
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16155
16318
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16319
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16156
16320
  to: /* @__PURE__ */ string$1(),
16157
16321
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16158
16322
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -16186,6 +16350,7 @@ const generatedFocusOperations = [
16186
16350
  mcp: { entityTool: "audit-log" },
16187
16351
  inputSchema: /* @__PURE__ */ looseObject({
16188
16352
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16353
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16189
16354
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16190
16355
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16191
16356
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16193,6 +16358,7 @@ const generatedFocusOperations = [
16193
16358
  from: /* @__PURE__ */ string$1(),
16194
16359
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16195
16360
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16361
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16196
16362
  to: /* @__PURE__ */ string$1(),
16197
16363
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16198
16364
  }),
@@ -16232,6 +16398,7 @@ const generatedFocusOperations = [
16232
16398
  private_: /* @__PURE__ */ unknown$1(),
16233
16399
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16234
16400
  task_source: /* @__PURE__ */ unknown$1(),
16401
+ team_id: /* @__PURE__ */ number$2(),
16235
16402
  unit: /* @__PURE__ */ unknown$1(),
16236
16403
  user_id: /* @__PURE__ */ number$2()
16237
16404
  }),
@@ -16481,8 +16648,6 @@ const generatedFocusOperations = [
16481
16648
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16482
16649
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
16483
16650
  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
16651
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16487
16652
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16488
16653
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -16516,8 +16681,6 @@ const generatedFocusOperations = [
16516
16681
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16517
16682
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
16518
16683
  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
16684
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16522
16685
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16523
16686
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -16672,6 +16835,33 @@ const generatedFocusOperations = [
16672
16835
  ]));
16673
16836
  }
16674
16837
  },
16838
+ {
16839
+ id: "focus.custom-fields.get-allowed-users",
16840
+ family: "focus",
16841
+ resource: "custom-fields",
16842
+ action: "get-allowed-users",
16843
+ title: "Get Allowed Users Custom Fields",
16844
+ description: "Get Allowed Users Custom Fields.",
16845
+ safety: "read",
16846
+ destructive: false,
16847
+ cli: {
16848
+ group: ["custom-fields"],
16849
+ command: "get-allowed-users",
16850
+ interactive: "available"
16851
+ },
16852
+ mcp: { entityTool: "custom-fields" },
16853
+ inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
16854
+ execute: (input, { client }) => {
16855
+ const data = input;
16856
+ return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
16857
+ client.httpClient,
16858
+ client.organizationId,
16859
+ client.workspaceIdNumber,
16860
+ data.custom_field_id,
16861
+ void 0
16862
+ ]));
16863
+ }
16864
+ },
16675
16865
  {
16676
16866
  id: "focus.custom-fields.list",
16677
16867
  family: "focus",
@@ -16841,6 +17031,37 @@ const generatedFocusOperations = [
16841
17031
  ]));
16842
17032
  }
16843
17033
  },
17034
+ {
17035
+ id: "focus.custom-fields.replace-custom-field-allowed-users",
17036
+ family: "focus",
17037
+ resource: "custom-fields",
17038
+ action: "replace-custom-field-allowed-users",
17039
+ title: "Replace Custom Field Allowed Users Custom Fields",
17040
+ description: "Replace Custom Field Allowed Users Custom Fields.",
17041
+ safety: "update",
17042
+ destructive: false,
17043
+ cli: {
17044
+ group: ["custom-fields"],
17045
+ command: "replace-custom-field-allowed-users",
17046
+ interactive: "default"
17047
+ },
17048
+ mcp: { entityTool: "custom-fields" },
17049
+ inputSchema: /* @__PURE__ */ looseObject({
17050
+ custom_field_id: /* @__PURE__ */ number$2(),
17051
+ payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
17052
+ }),
17053
+ execute: (input, { client }) => {
17054
+ const data = input;
17055
+ return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
17056
+ client.httpClient,
17057
+ client.organizationId,
17058
+ client.workspaceIdNumber,
17059
+ data.custom_field_id,
17060
+ data.payload ?? data.data ?? data,
17061
+ void 0
17062
+ ]));
17063
+ }
17064
+ },
16844
17065
  {
16845
17066
  id: "focus.custom-fields.update",
16846
17067
  family: "focus",
@@ -16987,13 +17208,7 @@ const generatedFocusOperations = [
16987
17208
  },
16988
17209
  mcp: { entityTool: "goals" },
16989
17210
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16990
- billable: /* @__PURE__ */ boolean$1(),
16991
17211
  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
17212
  recurrence: /* @__PURE__ */ picklist$1([
16998
17213
  "daily",
16999
17214
  "weekly",
@@ -17001,12 +17216,18 @@ const generatedFocusOperations = [
17001
17216
  "monthly"
17002
17217
  ]),
17003
17218
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
17004
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17005
17219
  target_seconds: /* @__PURE__ */ number$2(),
17006
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17007
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17220
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17008
17221
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17009
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
17222
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17223
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17224
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17225
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
17226
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17227
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17228
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17229
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17230
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
17010
17231
  }) }),
17011
17232
  execute: (input, { client }) => {
17012
17233
  const data = input;
@@ -17112,13 +17333,6 @@ const generatedFocusOperations = [
17112
17333
  },
17113
17334
  mcp: { entityTool: "goals" },
17114
17335
  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
17336
  recurrence: /* @__PURE__ */ picklist$1([
17123
17337
  "daily",
17124
17338
  "weekly",
@@ -17126,12 +17340,19 @@ const generatedFocusOperations = [
17126
17340
  "monthly"
17127
17341
  ]),
17128
17342
  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()),
17343
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17133
17344
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17134
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
17345
+ comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
17346
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17347
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17348
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17349
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
17350
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17351
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17352
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17353
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
17354
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17355
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
17135
17356
  }) }),
17136
17357
  execute: (input, { client }) => {
17137
17358
  const data = input;
@@ -18098,9 +18319,17 @@ const generatedFocusOperations = [
18098
18319
  mcp: { entityTool: "projects" },
18099
18320
  inputSchema: /* @__PURE__ */ looseObject({
18100
18321
  payload: /* @__PURE__ */ looseObject({
18322
+ auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18323
+ completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
18101
18324
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
18102
18325
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18103
18326
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18327
+ rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
18328
+ "expire",
18329
+ "carry_all",
18330
+ "carry_over"
18331
+ ])),
18332
+ rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18104
18333
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
18105
18334
  }),
18106
18335
  project_id: /* @__PURE__ */ number$2()
@@ -18544,6 +18773,7 @@ const generatedFocusOperations = [
18544
18773
  group: /* @__PURE__ */ string$1(),
18545
18774
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18546
18775
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18776
+ include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18547
18777
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18548
18778
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18549
18779
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -18646,29 +18876,6 @@ const generatedFocusOperations = [
18646
18876
  ]));
18647
18877
  }
18648
18878
  },
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
18879
  {
18673
18880
  id: "focus.projects.margin-targets-get",
18674
18881
  family: "focus",
@@ -19113,6 +19320,130 @@ const generatedFocusOperations = [
19113
19320
  ]));
19114
19321
  }
19115
19322
  },
19323
+ {
19324
+ id: "focus.publicsharedreports.open-public-shared-report",
19325
+ family: "focus",
19326
+ resource: "publicsharedreports",
19327
+ action: "open-public-shared-report",
19328
+ title: "Open Public Shared Report Publicsharedreports",
19329
+ description: "Open Public Shared Report Publicsharedreports.",
19330
+ safety: "read",
19331
+ destructive: false,
19332
+ cli: {
19333
+ group: ["publicsharedreports"],
19334
+ command: "open-public-shared-report",
19335
+ interactive: "available"
19336
+ },
19337
+ mcp: { entityTool: "publicsharedreports" },
19338
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
19339
+ execute: (input, { client }) => {
19340
+ const data = input;
19341
+ return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
19342
+ client.httpClient,
19343
+ data.token,
19344
+ void 0
19345
+ ]));
19346
+ }
19347
+ },
19348
+ {
19349
+ id: "focus.publicsharedreports.profitability-public-shared-report",
19350
+ family: "focus",
19351
+ resource: "publicsharedreports",
19352
+ action: "profitability-public-shared-report",
19353
+ title: "Profitability Public Shared Report Publicsharedreports",
19354
+ description: "Profitability Public Shared Report Publicsharedreports.",
19355
+ safety: "update",
19356
+ destructive: false,
19357
+ cli: {
19358
+ group: ["publicsharedreports"],
19359
+ command: "profitability-public-shared-report",
19360
+ interactive: "default"
19361
+ },
19362
+ mcp: { entityTool: "publicsharedreports" },
19363
+ inputSchema: /* @__PURE__ */ looseObject({
19364
+ include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
19365
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
19366
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
19367
+ token: /* @__PURE__ */ string$1()
19368
+ }),
19369
+ execute: (input, { client }) => {
19370
+ const data = input;
19371
+ return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
19372
+ client.httpClient,
19373
+ data.token,
19374
+ data.payload ?? data.data ?? data,
19375
+ data.response_format,
19376
+ data.include_dicts,
19377
+ void 0
19378
+ ]));
19379
+ }
19380
+ },
19381
+ {
19382
+ id: "focus.publicsharedreports.query-public-shared-report",
19383
+ family: "focus",
19384
+ resource: "publicsharedreports",
19385
+ action: "query-public-shared-report",
19386
+ title: "Query Public Shared Report Publicsharedreports",
19387
+ description: "Query Public Shared Report Publicsharedreports.",
19388
+ safety: "update",
19389
+ destructive: false,
19390
+ cli: {
19391
+ group: ["publicsharedreports"],
19392
+ command: "query-public-shared-report",
19393
+ interactive: "default"
19394
+ },
19395
+ mcp: { entityTool: "publicsharedreports" },
19396
+ inputSchema: /* @__PURE__ */ looseObject({
19397
+ include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
19398
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
19399
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
19400
+ "json_row",
19401
+ "table",
19402
+ "hierarchical"
19403
+ ])),
19404
+ token: /* @__PURE__ */ string$1()
19405
+ }),
19406
+ execute: (input, { client }) => {
19407
+ const data = input;
19408
+ return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
19409
+ client.httpClient,
19410
+ data.token,
19411
+ data.payload ?? data.data ?? data,
19412
+ data.response_format,
19413
+ data.include_dicts,
19414
+ void 0
19415
+ ]));
19416
+ }
19417
+ },
19418
+ {
19419
+ id: "focus.publicsharedreports.workload-public-shared-report",
19420
+ family: "focus",
19421
+ resource: "publicsharedreports",
19422
+ action: "workload-public-shared-report",
19423
+ title: "Workload Public Shared Report Publicsharedreports",
19424
+ description: "Workload Public Shared Report Publicsharedreports.",
19425
+ safety: "update",
19426
+ destructive: false,
19427
+ cli: {
19428
+ group: ["publicsharedreports"],
19429
+ command: "workload-public-shared-report",
19430
+ interactive: "default"
19431
+ },
19432
+ mcp: { entityTool: "publicsharedreports" },
19433
+ inputSchema: /* @__PURE__ */ looseObject({
19434
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
19435
+ token: /* @__PURE__ */ string$1()
19436
+ }),
19437
+ execute: (input, { client }) => {
19438
+ const data = input;
19439
+ return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
19440
+ client.httpClient,
19441
+ data.token,
19442
+ data.payload ?? data.data ?? data,
19443
+ void 0
19444
+ ]));
19445
+ }
19446
+ },
19116
19447
  {
19117
19448
  id: "focus.rates.billable-check-project-billable-rate-conflicts",
19118
19449
  family: "focus",
@@ -21071,7 +21402,7 @@ const generatedFocusOperations = [
21071
21402
  cli: {
21072
21403
  group: ["reportschedules"],
21073
21404
  command: "upsert-saved-view-schedule",
21074
- interactive: "default"
21405
+ interactive: "hidden"
21075
21406
  },
21076
21407
  mcp: { entityTool: "reportschedules" },
21077
21408
  inputSchema: /* @__PURE__ */ looseObject({
@@ -21082,8 +21413,10 @@ const generatedFocusOperations = [
21082
21413
  "weekly",
21083
21414
  "monthly"
21084
21415
  ]),
21416
+ charts: /* @__PURE__ */ unknown$1(),
21085
21417
  time: /* @__PURE__ */ string$1(),
21086
21418
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21419
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21087
21420
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21088
21421
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21089
21422
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -21486,6 +21819,36 @@ const generatedFocusOperations = [
21486
21819
  void 0
21487
21820
  ]))
21488
21821
  },
21822
+ {
21823
+ id: "focus.sharedreports.mint-shared-report-link",
21824
+ family: "focus",
21825
+ resource: "sharedreports",
21826
+ action: "mint-shared-report-link",
21827
+ title: "Mint Shared Report Link Sharedreports",
21828
+ description: "Mint Shared Report Link Sharedreports.",
21829
+ safety: "update",
21830
+ destructive: false,
21831
+ cli: {
21832
+ group: ["sharedreports"],
21833
+ command: "mint-shared-report-link",
21834
+ interactive: "default"
21835
+ },
21836
+ mcp: { entityTool: "sharedreports" },
21837
+ inputSchema: /* @__PURE__ */ looseObject({
21838
+ id: /* @__PURE__ */ number$2(),
21839
+ payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
21840
+ }),
21841
+ execute: (input, { client }) => {
21842
+ const data = input;
21843
+ return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
21844
+ client.httpClient,
21845
+ client.workspaceIdNumber,
21846
+ data.id,
21847
+ data.payload ?? data.data ?? data,
21848
+ void 0
21849
+ ]));
21850
+ }
21851
+ },
21489
21852
  {
21490
21853
  id: "focus.sharedreports.revoke-shared-report-grant",
21491
21854
  family: "focus",
@@ -21516,6 +21879,62 @@ const generatedFocusOperations = [
21516
21879
  ]));
21517
21880
  }
21518
21881
  },
21882
+ {
21883
+ id: "focus.sharedreports.revoke-shared-report-link",
21884
+ family: "focus",
21885
+ resource: "sharedreports",
21886
+ action: "revoke-shared-report-link",
21887
+ title: "Revoke Shared Report Link Sharedreports",
21888
+ description: "Revoke Shared Report Link Sharedreports.",
21889
+ safety: "delete",
21890
+ destructive: true,
21891
+ cli: {
21892
+ group: ["sharedreports"],
21893
+ command: "revoke-shared-report-link",
21894
+ interactive: "default"
21895
+ },
21896
+ mcp: { entityTool: "sharedreports" },
21897
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21898
+ execute: (input, { client }) => {
21899
+ const data = input;
21900
+ return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
21901
+ client.httpClient,
21902
+ client.workspaceIdNumber,
21903
+ data.id,
21904
+ void 0
21905
+ ]));
21906
+ }
21907
+ },
21908
+ {
21909
+ id: "focus.sharedreports.rotate-shared-report-link",
21910
+ family: "focus",
21911
+ resource: "sharedreports",
21912
+ action: "rotate-shared-report-link",
21913
+ title: "Rotate Shared Report Link Sharedreports",
21914
+ description: "Rotate Shared Report Link Sharedreports.",
21915
+ safety: "update",
21916
+ destructive: false,
21917
+ cli: {
21918
+ group: ["sharedreports"],
21919
+ command: "rotate-shared-report-link",
21920
+ interactive: "default"
21921
+ },
21922
+ mcp: { entityTool: "sharedreports" },
21923
+ inputSchema: /* @__PURE__ */ looseObject({
21924
+ id: /* @__PURE__ */ number$2(),
21925
+ payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
21926
+ }),
21927
+ execute: (input, { client }) => {
21928
+ const data = input;
21929
+ return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
21930
+ client.httpClient,
21931
+ client.workspaceIdNumber,
21932
+ data.id,
21933
+ data.payload ?? data.data ?? data,
21934
+ void 0
21935
+ ]));
21936
+ }
21937
+ },
21519
21938
  {
21520
21939
  id: "focus.sharedreports.share-saved-view",
21521
21940
  family: "focus",
@@ -21590,6 +22009,32 @@ const generatedFocusOperations = [
21590
22009
  ]));
21591
22010
  }
21592
22011
  },
22012
+ {
22013
+ id: "focus.sharedreports.unshare-shared-report",
22014
+ family: "focus",
22015
+ resource: "sharedreports",
22016
+ action: "unshare-shared-report",
22017
+ title: "Unshare Shared Report Sharedreports",
22018
+ description: "Unshare Shared Report Sharedreports.",
22019
+ safety: "delete",
22020
+ destructive: true,
22021
+ cli: {
22022
+ group: ["sharedreports"],
22023
+ command: "unshare-shared-report",
22024
+ interactive: "default"
22025
+ },
22026
+ mcp: { entityTool: "sharedreports" },
22027
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
22028
+ execute: (input, { client }) => {
22029
+ const data = input;
22030
+ return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
22031
+ client.httpClient,
22032
+ client.workspaceIdNumber,
22033
+ data.id,
22034
+ void 0
22035
+ ]));
22036
+ }
22037
+ },
21593
22038
  {
21594
22039
  id: "focus.statuses.create-status",
21595
22040
  family: "focus",
@@ -22632,6 +23077,37 @@ const generatedFocusOperations = [
22632
23077
  return client.createTask(data);
22633
23078
  }
22634
23079
  },
23080
+ {
23081
+ id: "focus.tasks.create-recurring-occurrence",
23082
+ family: "focus",
23083
+ resource: "tasks",
23084
+ action: "create-recurring-occurrence",
23085
+ title: "Create Recurring Occurrence Tasks",
23086
+ description: "Create Recurring Occurrence Tasks.",
23087
+ safety: "create",
23088
+ destructive: false,
23089
+ cli: {
23090
+ group: ["tasks"],
23091
+ command: "create-recurring-occurrence",
23092
+ interactive: "default"
23093
+ },
23094
+ mcp: { entityTool: "tasks" },
23095
+ inputSchema: /* @__PURE__ */ looseObject({
23096
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23097
+ task_id: /* @__PURE__ */ number$2()
23098
+ }),
23099
+ execute: (input, { client }) => {
23100
+ const data = input;
23101
+ return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
23102
+ client.httpClient,
23103
+ client.organizationId,
23104
+ client.workspaceIdNumber,
23105
+ data.task_id,
23106
+ data.return_occurrence,
23107
+ void 0
23108
+ ]));
23109
+ }
23110
+ },
22635
23111
  {
22636
23112
  id: "focus.tasks.delete",
22637
23113
  family: "focus",
@@ -22879,9 +23355,13 @@ const generatedFocusOperations = [
22879
23355
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22880
23356
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22881
23357
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23358
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23359
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22882
23360
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22883
23361
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23362
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22884
23363
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23364
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22885
23365
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22886
23366
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
22887
23367
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -22933,7 +23413,9 @@ const generatedFocusOperations = [
22933
23413
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22934
23414
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22935
23415
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23416
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22936
23417
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23418
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22937
23419
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22938
23420
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22939
23421
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -22942,7 +23424,9 @@ const generatedFocusOperations = [
22942
23424
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22943
23425
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22944
23426
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23427
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22945
23428
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23429
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22946
23430
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22947
23431
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22948
23432
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23080,8 +23564,10 @@ const generatedFocusOperations = [
23080
23564
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23081
23565
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23082
23566
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23567
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23083
23568
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23084
23569
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23570
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23085
23571
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23086
23572
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23087
23573
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23090,6 +23576,8 @@ const generatedFocusOperations = [
23090
23576
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23091
23577
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23092
23578
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23579
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23580
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23093
23581
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23094
23582
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23095
23583
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23098,7 +23586,8 @@ const generatedFocusOperations = [
23098
23586
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
23099
23587
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23100
23588
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23101
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23589
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23590
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23102
23591
  }),
23103
23592
  execute: (input, { client }) => {
23104
23593
  const data = input;
@@ -23140,13 +23629,17 @@ const generatedFocusOperations = [
23140
23629
  group_id: /* @__PURE__ */ number$2(),
23141
23630
  include_assignees: /* @__PURE__ */ unknown$1(),
23142
23631
  include_drafts: /* @__PURE__ */ unknown$1(),
23632
+ include_projected_occurrences: /* @__PURE__ */ unknown$1(),
23143
23633
  include_unassigned: /* @__PURE__ */ unknown$1(),
23144
23634
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
23635
+ max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23145
23636
  min_days: /* @__PURE__ */ unknown$1(),
23146
23637
  name: /* @__PURE__ */ unknown$1(),
23147
23638
  priority: /* @__PURE__ */ unknown$1(),
23148
23639
  private_: /* @__PURE__ */ unknown$1(),
23149
23640
  project_id: /* @__PURE__ */ number$2(),
23641
+ recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23642
+ recurring_task_read: /* @__PURE__ */ unknown$1(),
23150
23643
  source: /* @__PURE__ */ unknown$1(),
23151
23644
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23152
23645
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -23155,7 +23648,8 @@ const generatedFocusOperations = [
23155
23648
  tag_id: /* @__PURE__ */ number$2(),
23156
23649
  team_id: /* @__PURE__ */ number$2(),
23157
23650
  user_cf_filter: /* @__PURE__ */ unknown$1(),
23158
- user_tag_id: /* @__PURE__ */ number$2()
23651
+ user_tag_id: /* @__PURE__ */ number$2(),
23652
+ xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
23159
23653
  }),
23160
23654
  execute: (input, { client }) => {
23161
23655
  const data = input;
@@ -23196,13 +23690,17 @@ const generatedFocusOperations = [
23196
23690
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23197
23691
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23198
23692
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23693
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23199
23694
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23200
23695
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23696
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23201
23697
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23202
23698
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23203
23699
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23204
23700
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23205
23701
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23702
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23703
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23206
23704
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23207
23705
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23208
23706
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23211,7 +23709,8 @@ const generatedFocusOperations = [
23211
23709
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23212
23710
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23213
23711
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23214
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23712
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23713
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23215
23714
  }),
23216
23715
  execute: (input, { client }) => {
23217
23716
  const data = input;
@@ -23482,7 +23981,8 @@ const generatedFocusOperations = [
23482
23981
  mcp: { entityTool: "tasks" },
23483
23982
  inputSchema: /* @__PURE__ */ looseObject({
23484
23983
  date_from: /* @__PURE__ */ string$1(),
23485
- date_to: /* @__PURE__ */ string$1()
23984
+ date_to: /* @__PURE__ */ string$1(),
23985
+ skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23486
23986
  }),
23487
23987
  execute: (input, { client }) => {
23488
23988
  const data = input;
@@ -23492,6 +23992,7 @@ const generatedFocusOperations = [
23492
23992
  client.workspaceIdNumber,
23493
23993
  data.date_from,
23494
23994
  data.date_to,
23995
+ data.skip_provider_refresh,
23495
23996
  void 0
23496
23997
  ]));
23497
23998
  }
@@ -24078,7 +24579,8 @@ const generatedFocusOperations = [
24078
24579
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
24079
24580
  "project",
24080
24581
  "task",
24081
- "description"
24582
+ "description",
24583
+ "tags"
24082
24584
  ]) })),
24083
24585
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24084
24586
  }) }),
@@ -24108,6 +24610,7 @@ const generatedFocusOperations = [
24108
24610
  },
24109
24611
  mcp: { entityTool: "time-entries" },
24110
24612
  inputSchema: /* @__PURE__ */ looseObject({
24613
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24111
24614
  payload: /* @__PURE__ */ looseObject({
24112
24615
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24113
24616
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -24118,11 +24621,13 @@ const generatedFocusOperations = [
24118
24621
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24119
24622
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24120
24623
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24624
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24121
24625
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
24122
24626
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24123
24627
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24124
24628
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24125
24629
  }),
24630
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24126
24631
  task_id: /* @__PURE__ */ number$2()
24127
24632
  }),
24128
24633
  execute: (input, { client }) => {
@@ -24133,6 +24638,8 @@ const generatedFocusOperations = [
24133
24638
  client.workspaceIdNumber,
24134
24639
  data.task_id,
24135
24640
  data.payload ?? data.data ?? data,
24641
+ data.from_recurring_task_id,
24642
+ data.return_occurrence,
24136
24643
  void 0
24137
24644
  ]));
24138
24645
  }
@@ -24152,21 +24659,26 @@ const generatedFocusOperations = [
24152
24659
  interactive: "default"
24153
24660
  },
24154
24661
  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
- }) }),
24662
+ inputSchema: /* @__PURE__ */ looseObject({
24663
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24664
+ payload: /* @__PURE__ */ looseObject({
24665
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24666
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24667
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24668
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24669
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24670
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24671
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24672
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24673
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24674
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24675
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
24676
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24677
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24678
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24679
+ }),
24680
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24681
+ }),
24170
24682
  execute: (input, { client }) => {
24171
24683
  const data = input;
24172
24684
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -24174,6 +24686,8 @@ const generatedFocusOperations = [
24174
24686
  client.organizationId,
24175
24687
  client.workspaceIdNumber,
24176
24688
  data.payload ?? data.data ?? data,
24689
+ data.from_recurring_task_id,
24690
+ data.return_occurrence,
24177
24691
  void 0
24178
24692
  ]));
24179
24693
  }
@@ -24193,7 +24707,11 @@ const generatedFocusOperations = [
24193
24707
  interactive: "default"
24194
24708
  },
24195
24709
  mcp: { entityTool: "time-entries" },
24196
- inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
24710
+ inputSchema: /* @__PURE__ */ looseObject({
24711
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24712
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24713
+ time_entry_id: /* @__PURE__ */ number$2()
24714
+ }),
24197
24715
  execute: (input, { client }) => {
24198
24716
  const data = input;
24199
24717
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -24201,6 +24719,8 @@ const generatedFocusOperations = [
24201
24719
  client.organizationId,
24202
24720
  client.workspaceIdNumber,
24203
24721
  data.time_entry_id,
24722
+ data.from_recurring_task_id,
24723
+ data.return_occurrence,
24204
24724
  void 0
24205
24725
  ]));
24206
24726
  }
@@ -24281,6 +24801,7 @@ const generatedFocusOperations = [
24281
24801
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
24282
24802
  include_taskless: /* @__PURE__ */ unknown$1(),
24283
24803
  order_by: /* @__PURE__ */ unknown$1(),
24804
+ project_id: /* @__PURE__ */ number$2(),
24284
24805
  status_id: /* @__PURE__ */ number$2(),
24285
24806
  task_id: /* @__PURE__ */ number$2(),
24286
24807
  type: /* @__PURE__ */ unknown$1()
@@ -24457,12 +24978,14 @@ const generatedFocusOperations = [
24457
24978
  },
24458
24979
  mcp: { entityTool: "time-entries" },
24459
24980
  inputSchema: /* @__PURE__ */ looseObject({
24981
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24460
24982
  payload: /* @__PURE__ */ looseObject({
24461
24983
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24462
24984
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24463
24985
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24464
24986
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
24465
24987
  }),
24988
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24466
24989
  time_entry_id: /* @__PURE__ */ number$2()
24467
24990
  }),
24468
24991
  execute: (input, { client }) => {
@@ -24473,6 +24996,8 @@ const generatedFocusOperations = [
24473
24996
  client.workspaceIdNumber,
24474
24997
  data.time_entry_id,
24475
24998
  data.payload ?? data.data ?? data,
24999
+ data.from_recurring_task_id,
25000
+ data.return_occurrence,
24476
25001
  void 0
24477
25002
  ]));
24478
25003
  }
@@ -24730,6 +25255,7 @@ const generatedFocusOperations = [
24730
25255
  },
24731
25256
  mcp: { entityTool: "time-entries" },
24732
25257
  inputSchema: /* @__PURE__ */ looseObject({
25258
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24733
25259
  payload: /* @__PURE__ */ looseObject({
24734
25260
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24735
25261
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -24742,6 +25268,7 @@ const generatedFocusOperations = [
24742
25268
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24743
25269
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
24744
25270
  }),
25271
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24745
25272
  time_entry_id: /* @__PURE__ */ number$2()
24746
25273
  }),
24747
25274
  execute: (input, { client }) => {
@@ -24752,6 +25279,8 @@ const generatedFocusOperations = [
24752
25279
  client.workspaceIdNumber,
24753
25280
  data.time_entry_id,
24754
25281
  data.payload ?? data.data ?? data,
25282
+ data.from_recurring_task_id,
25283
+ data.return_occurrence,
24755
25284
  void 0
24756
25285
  ]));
24757
25286
  }
@@ -25267,6 +25796,40 @@ const generatedFocusOperations = [
25267
25796
  ]));
25268
25797
  }
25269
25798
  },
25799
+ {
25800
+ id: "focus.timesheets.get-status-counts",
25801
+ family: "focus",
25802
+ resource: "timesheets",
25803
+ action: "get-status-counts",
25804
+ title: "Get Status Counts Timesheets",
25805
+ description: "Get Status Counts Timesheets.",
25806
+ safety: "read",
25807
+ destructive: false,
25808
+ cli: {
25809
+ group: ["timesheets"],
25810
+ command: "get-status-counts",
25811
+ interactive: "hidden"
25812
+ },
25813
+ mcp: { entityTool: "timesheets" },
25814
+ inputSchema: /* @__PURE__ */ looseObject({
25815
+ approver_user_account_ids: /* @__PURE__ */ unknown$1(),
25816
+ date_from: /* @__PURE__ */ unknown$1(),
25817
+ date_to: /* @__PURE__ */ unknown$1(),
25818
+ setup_id: /* @__PURE__ */ number$2(),
25819
+ team_ids: /* @__PURE__ */ unknown$1(),
25820
+ user_account_ids: /* @__PURE__ */ unknown$1()
25821
+ }),
25822
+ execute: (input, { client }) => {
25823
+ const data = input;
25824
+ return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
25825
+ client.httpClient,
25826
+ client.organizationId,
25827
+ client.workspaceIdNumber,
25828
+ data,
25829
+ void 0
25830
+ ]));
25831
+ }
25832
+ },
25270
25833
  {
25271
25834
  id: "focus.timesheets.remove-timesheet-flag",
25272
25835
  family: "focus",
@@ -25816,6 +26379,33 @@ const generatedFocusOperations = [
25816
26379
  ]));
25817
26380
  }
25818
26381
  },
26382
+ {
26383
+ id: "focus.track-team-invites.post",
26384
+ family: "focus",
26385
+ resource: "track-team-invites",
26386
+ action: "post",
26387
+ title: "Post Track Team Invites",
26388
+ description: "Post Track Team Invites.",
26389
+ safety: "create",
26390
+ destructive: false,
26391
+ cli: {
26392
+ group: ["track-team-invites"],
26393
+ command: "post",
26394
+ interactive: "default"
26395
+ },
26396
+ mcp: { entityTool: "track-team-invites" },
26397
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
26398
+ execute: (input, { client }) => {
26399
+ const data = input;
26400
+ return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
26401
+ client.httpClient,
26402
+ client.organizationId,
26403
+ client.workspaceIdNumber,
26404
+ data.payload ?? data.data ?? data,
26405
+ void 0
26406
+ ]));
26407
+ }
26408
+ },
25819
26409
  {
25820
26410
  id: "focus.users.list",
25821
26411
  family: "focus",
@@ -25837,6 +26427,56 @@ const generatedFocusOperations = [
25837
26427
  return client.listOrgUsers(data);
25838
26428
  }
25839
26429
  },
26430
+ {
26431
+ id: "focus.users.settings-email-unsubscribe",
26432
+ family: "focus",
26433
+ resource: "users",
26434
+ action: "settings-email-unsubscribe",
26435
+ title: "Settings Email Unsubscribe Users",
26436
+ description: "Settings Email Unsubscribe Users.",
26437
+ safety: "update",
26438
+ destructive: false,
26439
+ cli: {
26440
+ group: ["users", "settings"],
26441
+ command: "email-unsubscribe",
26442
+ interactive: "default"
26443
+ },
26444
+ mcp: { entityTool: "users" },
26445
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
26446
+ execute: (input, { client }) => {
26447
+ const data = input;
26448
+ return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
26449
+ client.httpClient,
26450
+ data.token,
26451
+ void 0
26452
+ ]));
26453
+ }
26454
+ },
26455
+ {
26456
+ id: "focus.users.settings-email-unsubscribe-page",
26457
+ family: "focus",
26458
+ resource: "users",
26459
+ action: "settings-email-unsubscribe-page",
26460
+ title: "Settings Email Unsubscribe Page Users",
26461
+ description: "Settings Email Unsubscribe Page Users.",
26462
+ safety: "read",
26463
+ destructive: false,
26464
+ cli: {
26465
+ group: ["users", "settings"],
26466
+ command: "email-unsubscribe-page",
26467
+ interactive: "available"
26468
+ },
26469
+ mcp: { entityTool: "users" },
26470
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
26471
+ execute: (input, { client }) => {
26472
+ const data = input;
26473
+ return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
26474
+ client.httpClient,
26475
+ data.token,
26476
+ void 0
26477
+ ]));
26478
+ }
26479
+ },
25840
26480
  {
25841
26481
  id: "focus.users.settings-list",
25842
26482
  family: "focus",
@@ -25898,6 +26538,9 @@ const generatedFocusOperations = [
25898
26538
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25899
26539
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25900
26540
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26541
+ notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26542
+ notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26543
+ notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25901
26544
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25902
26545
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25903
26546
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -27960,4 +28603,4 @@ Common commands:
27960
28603
  //#endregion
27961
28604
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
27962
28605
 
27963
- //# sourceMappingURL=program-2Rl61Aae.js.map
28606
+ //# sourceMappingURL=program-v8RF5swW.js.map