@togglhq/mcp 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.
@@ -34683,6 +34683,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
34683
34683
  name: /* @__PURE__ */ string(),
34684
34684
  permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
34685
34685
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34686
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34686
34687
  client: /* @__PURE__ */ optional(ClientLiteSchema),
34687
34688
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34688
34689
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -34769,6 +34770,7 @@ const TaskSchema = /* @__PURE__ */ object({
34769
34770
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34770
34771
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34771
34772
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34773
+ is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
34772
34774
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34773
34775
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34774
34776
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -34830,6 +34832,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34830
34832
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34831
34833
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34832
34834
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34835
+ is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
34833
34836
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34834
34837
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34835
34838
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -35012,6 +35015,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
35012
35015
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35013
35016
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35014
35017
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35018
+ 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."))),
35019
+ 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."))),
35015
35020
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35016
35021
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35017
35022
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -35097,6 +35102,7 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
35097
35102
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35098
35103
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35099
35104
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35105
+ filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35100
35106
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
35101
35107
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35102
35108
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
@@ -35176,6 +35182,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
35176
35182
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35177
35183
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35178
35184
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35185
+ 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."))),
35186
+ 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."))),
35179
35187
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35180
35188
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35181
35189
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -35348,8 +35356,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35348
35356
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35349
35357
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35350
35358
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
35351
- integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35352
- integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35353
35359
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35354
35360
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35355
35361
  pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35406,6 +35412,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35406
35412
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35407
35413
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35408
35414
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35415
+ 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."))),
35409
35416
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35410
35417
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35411
35418
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -35442,6 +35449,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35442
35449
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35443
35450
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35444
35451
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35452
+ 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."))),
35445
35453
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35446
35454
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35447
35455
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -37388,7 +37396,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
37388
37396
  })
37389
37397
  }).json();
37390
37398
  }
37391
- 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) {
37399
+ 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) {
37392
37400
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
37393
37401
  signal,
37394
37402
  searchParams: buildSearchParams$2({
@@ -37409,6 +37417,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
37409
37417
  include_rates,
37410
37418
  pinned_ids,
37411
37419
  has_group,
37420
+ track_without_focus,
37412
37421
  cf_filter,
37413
37422
  include_custom_fields,
37414
37423
  include_calendar_integration
@@ -37510,10 +37519,18 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
37510
37519
  }
37511
37520
  //#endregion
37512
37521
  //#region ../focus-queries/dist/projects/requests.ts
37513
- 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) {
37522
+ 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) {
37514
37523
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37515
37524
  signal,
37516
37525
  searchParams: buildSearchParams$2({
37526
+ include_task_counts,
37527
+ task_archived,
37528
+ task_recurring,
37529
+ task_state,
37530
+ task_source,
37531
+ task_assignee_user_id,
37532
+ task_assignee_team_id,
37533
+ task_name,
37517
37534
  page,
37518
37535
  per_page,
37519
37536
  order_by,
@@ -37763,7 +37780,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
37763
37780
  }
37764
37781
  //#endregion
37765
37782
  //#region ../focus-queries/dist/tasks/requests.ts
37766
- 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) {
37783
+ 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) {
37767
37784
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
37768
37785
  signal,
37769
37786
  searchParams: buildSearchParams$2({
@@ -37814,7 +37831,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37814
37831
  include_assignees,
37815
37832
  include_parent_matches,
37816
37833
  disable_aggregations,
37817
- cf_filter
37834
+ cf_filter,
37835
+ recurring_occurrences_after,
37836
+ max_recurring_occurrences_after,
37837
+ recurring_task_read,
37838
+ include_projected_occurrences
37818
37839
  })
37819
37840
  }).json();
37820
37841
  }
@@ -37889,16 +37910,17 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
37889
37910
  })
37890
37911
  }).json();
37891
37912
  }
37892
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
37913
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
37893
37914
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
37894
37915
  signal,
37895
37916
  searchParams: buildSearchParams$2({
37896
37917
  date_from,
37897
- date_to
37918
+ date_to,
37919
+ skip_provider_refresh
37898
37920
  })
37899
37921
  }).json();
37900
37922
  }
37901
- 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) {
37923
+ 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) {
37902
37924
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
37903
37925
  signal,
37904
37926
  searchParams: buildSearchParams$2({
@@ -37914,11 +37936,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
37914
37936
  assignee_team_id,
37915
37937
  assignee_user_id,
37916
37938
  tag_id,
37917
- include_assignees
37939
+ include_assignees,
37940
+ recurring_occurrences_after,
37941
+ max_recurring_occurrences_after,
37942
+ recurring_task_read,
37943
+ include_projected_occurrences
37918
37944
  })
37919
37945
  }).json();
37920
37946
  }
37921
- 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) {
37947
+ 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) {
37922
37948
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
37923
37949
  signal,
37924
37950
  searchParams: buildSearchParams$2({
@@ -37963,7 +37989,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37963
37989
  recurring_task_ids,
37964
37990
  client_id,
37965
37991
  include_assignees,
37966
- cf_filter
37992
+ cf_filter,
37993
+ recurring_occurrences_after,
37994
+ max_recurring_occurrences_after,
37995
+ recurring_task_read,
37996
+ include_projected_occurrences
37967
37997
  })
37968
37998
  }).json();
37969
37999
  }
@@ -38018,6 +38048,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
38018
38048
  })
38019
38049
  }).json();
38020
38050
  }
38051
+ async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
38052
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
38053
+ signal,
38054
+ searchParams: buildSearchParams$2({ return_occurrence })
38055
+ }).json();
38056
+ }
38021
38057
  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) {
38022
38058
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
38023
38059
  signal,
@@ -38154,16 +38190,24 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
38154
38190
  })
38155
38191
  }).json();
38156
38192
  }
38157
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
38193
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
38158
38194
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
38159
38195
  signal,
38160
- json: data
38196
+ json: data,
38197
+ searchParams: buildSearchParams$2({
38198
+ from_recurring_task_id,
38199
+ return_occurrence
38200
+ })
38161
38201
  }).json();
38162
38202
  }
38163
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
38203
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
38164
38204
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
38165
38205
  signal,
38166
- json: data
38206
+ json: data,
38207
+ searchParams: buildSearchParams$2({
38208
+ from_recurring_task_id,
38209
+ return_occurrence
38210
+ })
38167
38211
  }).json();
38168
38212
  }
38169
38213
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -38214,7 +38258,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
38214
38258
  json: data
38215
38259
  }).json();
38216
38260
  }
38217
- 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) {
38261
+ 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) {
38218
38262
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
38219
38263
  signal,
38220
38264
  searchParams: buildSearchParams$2({
@@ -38222,6 +38266,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
38222
38266
  date_to,
38223
38267
  task_id,
38224
38268
  status_id,
38269
+ project_id,
38225
38270
  type,
38226
38271
  order_by,
38227
38272
  archived,
@@ -38245,19 +38290,33 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
38245
38290
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
38246
38291
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
38247
38292
  }
38248
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
38293
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
38249
38294
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38250
38295
  signal,
38251
- json: data
38296
+ json: data,
38297
+ searchParams: buildSearchParams$2({
38298
+ from_recurring_task_id,
38299
+ return_occurrence
38300
+ })
38252
38301
  }).json();
38253
38302
  }
38254
- async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
38255
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
38303
+ async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
38304
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38305
+ signal,
38306
+ searchParams: buildSearchParams$2({
38307
+ from_recurring_task_id,
38308
+ return_occurrence
38309
+ })
38310
+ }).json();
38256
38311
  }
38257
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
38312
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
38258
38313
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38259
38314
  signal,
38260
- json: data
38315
+ json: data,
38316
+ searchParams: buildSearchParams$2({
38317
+ from_recurring_task_id,
38318
+ return_occurrence
38319
+ })
38261
38320
  }).json();
38262
38321
  }
38263
38322
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -38372,7 +38431,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38372
38431
  ]))
38373
38432
  });
38374
38433
  //#endregion
38375
- //#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
38434
+ //#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
38376
38435
  async function getInvitations(httpClient, signal) {
38377
38436
  return (await httpClient.get(`invitations`, { signal })).json();
38378
38437
  }
@@ -38389,7 +38448,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38389
38448
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38390
38449
  }
38391
38450
  //#endregion
38392
- //#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
38451
+ //#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
38393
38452
  function buildSearchParams(params, flattenArrays = false) {
38394
38453
  const searchParams = new URLSearchParams();
38395
38454
  Object.entries(params).forEach(([key, value]) => {
@@ -38401,7 +38460,7 @@ function buildSearchParams(params, flattenArrays = false) {
38401
38460
  return searchParams;
38402
38461
  }
38403
38462
  //#endregion
38404
- //#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
38463
+ //#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
38405
38464
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38406
38465
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38407
38466
  }
@@ -38415,7 +38474,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38415
38474
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38416
38475
  }
38417
38476
  //#endregion
38418
- //#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
38477
+ //#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
38419
38478
  async function getWorkspaces(httpClient, organization_id, signal) {
38420
38479
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38421
38480
  }
@@ -38435,7 +38494,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38435
38494
  });
38436
38495
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38437
38496
  //#endregion
38438
- //#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
38497
+ //#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
38439
38498
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38440
38499
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38441
38500
  signal,
@@ -38446,12 +38505,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38446
38505
  })).json();
38447
38506
  }
38448
38507
  //#endregion
38449
- //#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
38508
+ //#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
38450
38509
  async function getStatus(httpClient, signal) {
38451
38510
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38452
38511
  }
38453
38512
  //#endregion
38454
- //#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
38513
+ //#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
38455
38514
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38456
38515
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38457
38516
  signal,
@@ -38479,7 +38538,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38479
38538
  return response.json();
38480
38539
  }
38481
38540
  //#endregion
38482
- //#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
38541
+ //#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
38483
38542
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38484
38543
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38485
38544
  }
@@ -42154,13 +42213,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
42154
42213
  }
42155
42214
  //#endregion
42156
42215
  //#region ../focus-queries/dist/audit-log/requests.ts
42157
- async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
42216
+ 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) {
42158
42217
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
42159
42218
  signal,
42160
42219
  searchParams: buildSearchParams$2({
42161
42220
  workspace_id,
42162
42221
  entity_type,
42163
42222
  entity_id,
42223
+ project_id,
42224
+ custom_field_id,
42164
42225
  action,
42165
42226
  user_id,
42166
42227
  page_size,
@@ -42169,12 +42230,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
42169
42230
  })
42170
42231
  }).json();
42171
42232
  }
42172
- async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
42233
+ 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) {
42173
42234
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
42174
42235
  signal,
42175
42236
  searchParams: buildSearchParams$2({
42176
42237
  entity_type,
42177
42238
  entity_id,
42239
+ project_id,
42240
+ custom_field_id,
42178
42241
  action,
42179
42242
  user_id,
42180
42243
  page_size,
@@ -42327,13 +42390,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
42327
42390
  }
42328
42391
  //#endregion
42329
42392
  //#region ../focus-queries/dist/capacities/requests.ts
42330
- 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) {
42393
+ 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) {
42331
42394
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
42332
42395
  signal,
42333
42396
  searchParams: buildSearchParams$2({
42334
- user_id,
42335
42397
  start_date,
42336
42398
  end_date,
42399
+ user_id,
42400
+ team_id,
42337
42401
  private: private_,
42338
42402
  task_source,
42339
42403
  unit,
@@ -42393,6 +42457,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
42393
42457
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42394
42458
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
42395
42459
  }
42460
+ async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42461
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
42462
+ }
42463
+ async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
42464
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
42465
+ signal,
42466
+ json: data
42467
+ }).json();
42468
+ }
42396
42469
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
42397
42470
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
42398
42471
  signal,
@@ -42656,7 +42729,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
42656
42729
  }
42657
42730
  //#endregion
42658
42731
  //#region ../focus-queries/dist/project-groups/requests.ts
42659
- 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) {
42732
+ 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) {
42660
42733
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
42661
42734
  signal,
42662
42735
  searchParams: buildSearchParams$2({
@@ -42682,6 +42755,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42682
42755
  user_id,
42683
42756
  only_me,
42684
42757
  include_drafts,
42758
+ include_recurring_series,
42685
42759
  cf_filter
42686
42760
  })
42687
42761
  }).json();
@@ -42700,9 +42774,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
42700
42774
  json: data
42701
42775
  }).json();
42702
42776
  }
42703
- async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
42704
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
42705
- }
42706
42777
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
42707
42778
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
42708
42779
  }
@@ -42728,6 +42799,37 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
42728
42799
  }).json();
42729
42800
  }
42730
42801
  //#endregion
42802
+ //#region ../focus-queries/dist/publicsharedreports/requests.ts
42803
+ async function openPublicSharedReport(httpClient, token, signal) {
42804
+ return await httpClient.get(`shared/${token}`, { signal }).json();
42805
+ }
42806
+ async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
42807
+ return await httpClient.post(`shared/${token}/profitability`, {
42808
+ signal,
42809
+ json: data,
42810
+ searchParams: buildSearchParams$2({
42811
+ response_format,
42812
+ include_dicts
42813
+ })
42814
+ }).json();
42815
+ }
42816
+ async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
42817
+ return await httpClient.post(`shared/${token}/query`, {
42818
+ signal,
42819
+ json: data,
42820
+ searchParams: buildSearchParams$2({
42821
+ response_format,
42822
+ include_dicts
42823
+ })
42824
+ }).json();
42825
+ }
42826
+ async function workloadPublicSharedReport(httpClient, token, data, signal) {
42827
+ return await httpClient.post(`shared/${token}/workload`, {
42828
+ signal,
42829
+ json: data
42830
+ }).json();
42831
+ }
42832
+ //#endregion
42731
42833
  //#region ../focus-queries/dist/rates/requests.ts
42732
42834
  async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
42733
42835
  const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
@@ -42941,6 +43043,9 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
42941
43043
  async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
42942
43044
  return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
42943
43045
  }
43046
+ async function unshareSharedReport(httpClient, workspace_id, id, signal) {
43047
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
43048
+ }
42944
43049
  async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
42945
43050
  return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
42946
43051
  signal,
@@ -42950,6 +43055,21 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
42950
43055
  async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
42951
43056
  return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
42952
43057
  }
43058
+ async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
43059
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
43060
+ signal,
43061
+ json: data
43062
+ }).json();
43063
+ }
43064
+ async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
43065
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
43066
+ }
43067
+ async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
43068
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
43069
+ signal,
43070
+ json: data
43071
+ }).json();
43072
+ }
42953
43073
  //#endregion
42954
43074
  //#region ../focus-queries/dist/subscriptions/requests.ts
42955
43075
  async function getCurrentSubscription(httpClient, organization_id, signal) {
@@ -43006,9 +43126,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
43006
43126
  }
43007
43127
  //#endregion
43008
43128
  //#region ../focus-queries/dist/task-groups/requests.ts
43009
- 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) {
43129
+ 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) {
43010
43130
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
43011
43131
  signal,
43132
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
43012
43133
  searchParams: buildSearchParams$2({
43013
43134
  project_id,
43014
43135
  source,
@@ -43037,13 +43158,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
43037
43158
  min_days,
43038
43159
  include_drafts,
43039
43160
  cf_filter,
43040
- user_cf_filter
43161
+ user_cf_filter,
43162
+ recurring_occurrences_after,
43163
+ max_recurring_occurrences_after,
43164
+ recurring_task_read,
43165
+ include_projected_occurrences
43041
43166
  })
43042
43167
  }).json();
43043
43168
  }
43044
- 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) {
43169
+ 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) {
43045
43170
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
43046
43171
  signal,
43172
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
43047
43173
  searchParams: buildSearchParams$2({
43048
43174
  team_id,
43049
43175
  project_id,
@@ -43072,13 +43198,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
43072
43198
  min_days,
43073
43199
  include_drafts,
43074
43200
  cf_filter,
43075
- user_cf_filter
43201
+ user_cf_filter,
43202
+ recurring_occurrences_after,
43203
+ max_recurring_occurrences_after,
43204
+ recurring_task_read,
43205
+ include_projected_occurrences
43076
43206
  })
43077
43207
  }).json();
43078
43208
  }
43079
- 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) {
43209
+ 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) {
43080
43210
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
43081
43211
  signal,
43212
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
43082
43213
  searchParams: buildSearchParams$2({
43083
43214
  source,
43084
43215
  priority,
@@ -43108,6 +43239,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
43108
43239
  include_drafts,
43109
43240
  cf_filter,
43110
43241
  user_cf_filter,
43242
+ recurring_occurrences_after,
43243
+ max_recurring_occurrences_after,
43244
+ recurring_task_read,
43245
+ include_projected_occurrences,
43111
43246
  page,
43112
43247
  per_page,
43113
43248
  order_by
@@ -43299,6 +43434,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
43299
43434
  json: data
43300
43435
  }).json();
43301
43436
  }
43437
+ async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
43438
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
43439
+ signal,
43440
+ searchParams: buildSearchParams$2({
43441
+ date_from,
43442
+ date_to,
43443
+ setup_id,
43444
+ user_account_ids,
43445
+ approver_user_account_ids,
43446
+ team_ids
43447
+ })
43448
+ }).json();
43449
+ }
43302
43450
  async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
43303
43451
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
43304
43452
  }
@@ -43342,7 +43490,21 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
43342
43490
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
43343
43491
  }
43344
43492
  //#endregion
43493
+ //#region ../focus-queries/dist/track-team-invites/requests.ts
43494
+ async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
43495
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
43496
+ signal,
43497
+ json: data
43498
+ }).json();
43499
+ }
43500
+ //#endregion
43345
43501
  //#region ../focus-queries/dist/user-settings/requests.ts
43502
+ async function emailUnsubscribePage(httpClient, token, signal) {
43503
+ return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
43504
+ }
43505
+ async function emailUnsubscribe(httpClient, token, signal) {
43506
+ return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
43507
+ }
43346
43508
  async function getUserSettings(httpClient, signal) {
43347
43509
  return await httpClient.get(`users/me/settings`, { signal }).json();
43348
43510
  }
@@ -43582,6 +43744,7 @@ const generatedFocusOperations = [
43582
43744
  mcp: { entityTool: "audit-log" },
43583
43745
  inputSchema: /* @__PURE__ */ looseObject({
43584
43746
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43747
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43585
43748
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43586
43749
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43587
43750
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -43589,6 +43752,7 @@ const generatedFocusOperations = [
43589
43752
  from: /* @__PURE__ */ string$1(),
43590
43753
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43591
43754
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43755
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43592
43756
  to: /* @__PURE__ */ string$1(),
43593
43757
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43594
43758
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -43622,6 +43786,7 @@ const generatedFocusOperations = [
43622
43786
  mcp: { entityTool: "audit-log" },
43623
43787
  inputSchema: /* @__PURE__ */ looseObject({
43624
43788
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43789
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43625
43790
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43626
43791
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43627
43792
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -43629,6 +43794,7 @@ const generatedFocusOperations = [
43629
43794
  from: /* @__PURE__ */ string$1(),
43630
43795
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43631
43796
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43797
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43632
43798
  to: /* @__PURE__ */ string$1(),
43633
43799
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43634
43800
  }),
@@ -43668,6 +43834,7 @@ const generatedFocusOperations = [
43668
43834
  private_: /* @__PURE__ */ unknown$1(),
43669
43835
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43670
43836
  task_source: /* @__PURE__ */ unknown$1(),
43837
+ team_id: /* @__PURE__ */ number$2(),
43671
43838
  unit: /* @__PURE__ */ unknown$1(),
43672
43839
  user_id: /* @__PURE__ */ number$2()
43673
43840
  }),
@@ -43917,8 +44084,6 @@ const generatedFocusOperations = [
43917
44084
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43918
44085
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
43919
44086
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43920
- integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43921
- integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43922
44087
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43923
44088
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43924
44089
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -43952,8 +44117,6 @@ const generatedFocusOperations = [
43952
44117
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43953
44118
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
43954
44119
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43955
- integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43956
- integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43957
44120
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43958
44121
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43959
44122
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -44108,6 +44271,33 @@ const generatedFocusOperations = [
44108
44271
  ]));
44109
44272
  }
44110
44273
  },
44274
+ {
44275
+ id: "focus.custom-fields.get-allowed-users",
44276
+ family: "focus",
44277
+ resource: "custom-fields",
44278
+ action: "get-allowed-users",
44279
+ title: "Get Allowed Users Custom Fields",
44280
+ description: "Get Allowed Users Custom Fields.",
44281
+ safety: "read",
44282
+ destructive: false,
44283
+ cli: {
44284
+ group: ["custom-fields"],
44285
+ command: "get-allowed-users",
44286
+ interactive: "available"
44287
+ },
44288
+ mcp: { entityTool: "custom-fields" },
44289
+ inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
44290
+ execute: (input, { client }) => {
44291
+ const data = input;
44292
+ return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
44293
+ client.httpClient,
44294
+ client.organizationId,
44295
+ client.workspaceIdNumber,
44296
+ data.custom_field_id,
44297
+ void 0
44298
+ ]));
44299
+ }
44300
+ },
44111
44301
  {
44112
44302
  id: "focus.custom-fields.list",
44113
44303
  family: "focus",
@@ -44277,6 +44467,37 @@ const generatedFocusOperations = [
44277
44467
  ]));
44278
44468
  }
44279
44469
  },
44470
+ {
44471
+ id: "focus.custom-fields.replace-custom-field-allowed-users",
44472
+ family: "focus",
44473
+ resource: "custom-fields",
44474
+ action: "replace-custom-field-allowed-users",
44475
+ title: "Replace Custom Field Allowed Users Custom Fields",
44476
+ description: "Replace Custom Field Allowed Users Custom Fields.",
44477
+ safety: "update",
44478
+ destructive: false,
44479
+ cli: {
44480
+ group: ["custom-fields"],
44481
+ command: "replace-custom-field-allowed-users",
44482
+ interactive: "default"
44483
+ },
44484
+ mcp: { entityTool: "custom-fields" },
44485
+ inputSchema: /* @__PURE__ */ looseObject({
44486
+ custom_field_id: /* @__PURE__ */ number$2(),
44487
+ payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
44488
+ }),
44489
+ execute: (input, { client }) => {
44490
+ const data = input;
44491
+ return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
44492
+ client.httpClient,
44493
+ client.organizationId,
44494
+ client.workspaceIdNumber,
44495
+ data.custom_field_id,
44496
+ data.payload ?? data.data ?? data,
44497
+ void 0
44498
+ ]));
44499
+ }
44500
+ },
44280
44501
  {
44281
44502
  id: "focus.custom-fields.update",
44282
44503
  family: "focus",
@@ -44423,13 +44644,7 @@ const generatedFocusOperations = [
44423
44644
  },
44424
44645
  mcp: { entityTool: "goals" },
44425
44646
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44426
- billable: /* @__PURE__ */ boolean$1(),
44427
44647
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44428
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44429
- icon: /* @__PURE__ */ string$1(),
44430
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44431
- name: /* @__PURE__ */ string$1(),
44432
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44433
44648
  recurrence: /* @__PURE__ */ picklist$1([
44434
44649
  "daily",
44435
44650
  "weekly",
@@ -44437,12 +44652,18 @@ const generatedFocusOperations = [
44437
44652
  "monthly"
44438
44653
  ]),
44439
44654
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44440
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44441
44655
  target_seconds: /* @__PURE__ */ number$2(),
44442
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44443
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44656
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44444
44657
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44445
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44658
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44659
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44660
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44661
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44662
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44663
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44664
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44665
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44666
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44446
44667
  }) }),
44447
44668
  execute: (input, { client }) => {
44448
44669
  const data = input;
@@ -44548,13 +44769,6 @@ const generatedFocusOperations = [
44548
44769
  },
44549
44770
  mcp: { entityTool: "goals" },
44550
44771
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44551
- billable: /* @__PURE__ */ boolean$1(),
44552
- comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44553
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44554
- icon: /* @__PURE__ */ string$1(),
44555
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44556
- name: /* @__PURE__ */ string$1(),
44557
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44558
44772
  recurrence: /* @__PURE__ */ picklist$1([
44559
44773
  "daily",
44560
44774
  "weekly",
@@ -44562,12 +44776,19 @@ const generatedFocusOperations = [
44562
44776
  "monthly"
44563
44777
  ]),
44564
44778
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44565
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44566
- target_seconds: /* @__PURE__ */ number$2(),
44567
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44568
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44779
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44569
44780
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44570
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44781
+ comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
44782
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44783
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44784
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44785
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44786
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44787
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44788
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44789
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44790
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44791
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44571
44792
  }) }),
44572
44793
  execute: (input, { client }) => {
44573
44794
  const data = input;
@@ -45534,9 +45755,17 @@ const generatedFocusOperations = [
45534
45755
  mcp: { entityTool: "projects" },
45535
45756
  inputSchema: /* @__PURE__ */ looseObject({
45536
45757
  payload: /* @__PURE__ */ looseObject({
45758
+ auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45759
+ completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
45537
45760
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
45538
45761
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45539
45762
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45763
+ rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
45764
+ "expire",
45765
+ "carry_all",
45766
+ "carry_over"
45767
+ ])),
45768
+ rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45540
45769
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
45541
45770
  }),
45542
45771
  project_id: /* @__PURE__ */ number$2()
@@ -45980,6 +46209,7 @@ const generatedFocusOperations = [
45980
46209
  group: /* @__PURE__ */ string$1(),
45981
46210
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45982
46211
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46212
+ include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45983
46213
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45984
46214
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45985
46215
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -46082,29 +46312,6 @@ const generatedFocusOperations = [
46082
46312
  ]));
46083
46313
  }
46084
46314
  },
46085
- {
46086
- id: "focus.projects.margin-targets-clear-workspace",
46087
- family: "focus",
46088
- resource: "projects",
46089
- action: "margin-targets-clear-workspace",
46090
- title: "Margin Targets Clear Workspace Projects",
46091
- description: "Margin Targets Clear Workspace Projects.",
46092
- safety: "delete",
46093
- destructive: true,
46094
- cli: {
46095
- group: ["projects", "margin-targets"],
46096
- command: "clear-workspace",
46097
- interactive: "default"
46098
- },
46099
- mcp: { entityTool: "projects" },
46100
- inputSchema: /* @__PURE__ */ looseObject({}),
46101
- execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
46102
- client.httpClient,
46103
- client.organizationId,
46104
- client.workspaceIdNumber,
46105
- void 0
46106
- ]))
46107
- },
46108
46315
  {
46109
46316
  id: "focus.projects.margin-targets-get",
46110
46317
  family: "focus",
@@ -46549,6 +46756,130 @@ const generatedFocusOperations = [
46549
46756
  ]));
46550
46757
  }
46551
46758
  },
46759
+ {
46760
+ id: "focus.publicsharedreports.open-public-shared-report",
46761
+ family: "focus",
46762
+ resource: "publicsharedreports",
46763
+ action: "open-public-shared-report",
46764
+ title: "Open Public Shared Report Publicsharedreports",
46765
+ description: "Open Public Shared Report Publicsharedreports.",
46766
+ safety: "read",
46767
+ destructive: false,
46768
+ cli: {
46769
+ group: ["publicsharedreports"],
46770
+ command: "open-public-shared-report",
46771
+ interactive: "available"
46772
+ },
46773
+ mcp: { entityTool: "publicsharedreports" },
46774
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
46775
+ execute: (input, { client }) => {
46776
+ const data = input;
46777
+ return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
46778
+ client.httpClient,
46779
+ data.token,
46780
+ void 0
46781
+ ]));
46782
+ }
46783
+ },
46784
+ {
46785
+ id: "focus.publicsharedreports.profitability-public-shared-report",
46786
+ family: "focus",
46787
+ resource: "publicsharedreports",
46788
+ action: "profitability-public-shared-report",
46789
+ title: "Profitability Public Shared Report Publicsharedreports",
46790
+ description: "Profitability Public Shared Report Publicsharedreports.",
46791
+ safety: "update",
46792
+ destructive: false,
46793
+ cli: {
46794
+ group: ["publicsharedreports"],
46795
+ command: "profitability-public-shared-report",
46796
+ interactive: "default"
46797
+ },
46798
+ mcp: { entityTool: "publicsharedreports" },
46799
+ inputSchema: /* @__PURE__ */ looseObject({
46800
+ include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
46801
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46802
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
46803
+ token: /* @__PURE__ */ string$1()
46804
+ }),
46805
+ execute: (input, { client }) => {
46806
+ const data = input;
46807
+ return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
46808
+ client.httpClient,
46809
+ data.token,
46810
+ data.payload ?? data.data ?? data,
46811
+ data.response_format,
46812
+ data.include_dicts,
46813
+ void 0
46814
+ ]));
46815
+ }
46816
+ },
46817
+ {
46818
+ id: "focus.publicsharedreports.query-public-shared-report",
46819
+ family: "focus",
46820
+ resource: "publicsharedreports",
46821
+ action: "query-public-shared-report",
46822
+ title: "Query Public Shared Report Publicsharedreports",
46823
+ description: "Query Public Shared Report Publicsharedreports.",
46824
+ safety: "update",
46825
+ destructive: false,
46826
+ cli: {
46827
+ group: ["publicsharedreports"],
46828
+ command: "query-public-shared-report",
46829
+ interactive: "default"
46830
+ },
46831
+ mcp: { entityTool: "publicsharedreports" },
46832
+ inputSchema: /* @__PURE__ */ looseObject({
46833
+ include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
46834
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46835
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
46836
+ "json_row",
46837
+ "table",
46838
+ "hierarchical"
46839
+ ])),
46840
+ token: /* @__PURE__ */ string$1()
46841
+ }),
46842
+ execute: (input, { client }) => {
46843
+ const data = input;
46844
+ return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
46845
+ client.httpClient,
46846
+ data.token,
46847
+ data.payload ?? data.data ?? data,
46848
+ data.response_format,
46849
+ data.include_dicts,
46850
+ void 0
46851
+ ]));
46852
+ }
46853
+ },
46854
+ {
46855
+ id: "focus.publicsharedreports.workload-public-shared-report",
46856
+ family: "focus",
46857
+ resource: "publicsharedreports",
46858
+ action: "workload-public-shared-report",
46859
+ title: "Workload Public Shared Report Publicsharedreports",
46860
+ description: "Workload Public Shared Report Publicsharedreports.",
46861
+ safety: "update",
46862
+ destructive: false,
46863
+ cli: {
46864
+ group: ["publicsharedreports"],
46865
+ command: "workload-public-shared-report",
46866
+ interactive: "default"
46867
+ },
46868
+ mcp: { entityTool: "publicsharedreports" },
46869
+ inputSchema: /* @__PURE__ */ looseObject({
46870
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46871
+ token: /* @__PURE__ */ string$1()
46872
+ }),
46873
+ execute: (input, { client }) => {
46874
+ const data = input;
46875
+ return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
46876
+ client.httpClient,
46877
+ data.token,
46878
+ data.payload ?? data.data ?? data,
46879
+ void 0
46880
+ ]));
46881
+ }
46882
+ },
46552
46883
  {
46553
46884
  id: "focus.rates.billable-check-project-billable-rate-conflicts",
46554
46885
  family: "focus",
@@ -48507,7 +48838,7 @@ const generatedFocusOperations = [
48507
48838
  cli: {
48508
48839
  group: ["reportschedules"],
48509
48840
  command: "upsert-saved-view-schedule",
48510
- interactive: "default"
48841
+ interactive: "hidden"
48511
48842
  },
48512
48843
  mcp: { entityTool: "reportschedules" },
48513
48844
  inputSchema: /* @__PURE__ */ looseObject({
@@ -48518,8 +48849,10 @@ const generatedFocusOperations = [
48518
48849
  "weekly",
48519
48850
  "monthly"
48520
48851
  ]),
48852
+ charts: /* @__PURE__ */ unknown$1(),
48521
48853
  time: /* @__PURE__ */ string$1(),
48522
48854
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48855
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48523
48856
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48524
48857
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48525
48858
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -48922,6 +49255,36 @@ const generatedFocusOperations = [
48922
49255
  void 0
48923
49256
  ]))
48924
49257
  },
49258
+ {
49259
+ id: "focus.sharedreports.mint-shared-report-link",
49260
+ family: "focus",
49261
+ resource: "sharedreports",
49262
+ action: "mint-shared-report-link",
49263
+ title: "Mint Shared Report Link Sharedreports",
49264
+ description: "Mint Shared Report Link Sharedreports.",
49265
+ safety: "update",
49266
+ destructive: false,
49267
+ cli: {
49268
+ group: ["sharedreports"],
49269
+ command: "mint-shared-report-link",
49270
+ interactive: "default"
49271
+ },
49272
+ mcp: { entityTool: "sharedreports" },
49273
+ inputSchema: /* @__PURE__ */ looseObject({
49274
+ id: /* @__PURE__ */ number$2(),
49275
+ payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
49276
+ }),
49277
+ execute: (input, { client }) => {
49278
+ const data = input;
49279
+ return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
49280
+ client.httpClient,
49281
+ client.workspaceIdNumber,
49282
+ data.id,
49283
+ data.payload ?? data.data ?? data,
49284
+ void 0
49285
+ ]));
49286
+ }
49287
+ },
48925
49288
  {
48926
49289
  id: "focus.sharedreports.revoke-shared-report-grant",
48927
49290
  family: "focus",
@@ -48952,6 +49315,62 @@ const generatedFocusOperations = [
48952
49315
  ]));
48953
49316
  }
48954
49317
  },
49318
+ {
49319
+ id: "focus.sharedreports.revoke-shared-report-link",
49320
+ family: "focus",
49321
+ resource: "sharedreports",
49322
+ action: "revoke-shared-report-link",
49323
+ title: "Revoke Shared Report Link Sharedreports",
49324
+ description: "Revoke Shared Report Link Sharedreports.",
49325
+ safety: "delete",
49326
+ destructive: true,
49327
+ cli: {
49328
+ group: ["sharedreports"],
49329
+ command: "revoke-shared-report-link",
49330
+ interactive: "default"
49331
+ },
49332
+ mcp: { entityTool: "sharedreports" },
49333
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
49334
+ execute: (input, { client }) => {
49335
+ const data = input;
49336
+ return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
49337
+ client.httpClient,
49338
+ client.workspaceIdNumber,
49339
+ data.id,
49340
+ void 0
49341
+ ]));
49342
+ }
49343
+ },
49344
+ {
49345
+ id: "focus.sharedreports.rotate-shared-report-link",
49346
+ family: "focus",
49347
+ resource: "sharedreports",
49348
+ action: "rotate-shared-report-link",
49349
+ title: "Rotate Shared Report Link Sharedreports",
49350
+ description: "Rotate Shared Report Link Sharedreports.",
49351
+ safety: "update",
49352
+ destructive: false,
49353
+ cli: {
49354
+ group: ["sharedreports"],
49355
+ command: "rotate-shared-report-link",
49356
+ interactive: "default"
49357
+ },
49358
+ mcp: { entityTool: "sharedreports" },
49359
+ inputSchema: /* @__PURE__ */ looseObject({
49360
+ id: /* @__PURE__ */ number$2(),
49361
+ payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
49362
+ }),
49363
+ execute: (input, { client }) => {
49364
+ const data = input;
49365
+ return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
49366
+ client.httpClient,
49367
+ client.workspaceIdNumber,
49368
+ data.id,
49369
+ data.payload ?? data.data ?? data,
49370
+ void 0
49371
+ ]));
49372
+ }
49373
+ },
48955
49374
  {
48956
49375
  id: "focus.sharedreports.share-saved-view",
48957
49376
  family: "focus",
@@ -49026,6 +49445,32 @@ const generatedFocusOperations = [
49026
49445
  ]));
49027
49446
  }
49028
49447
  },
49448
+ {
49449
+ id: "focus.sharedreports.unshare-shared-report",
49450
+ family: "focus",
49451
+ resource: "sharedreports",
49452
+ action: "unshare-shared-report",
49453
+ title: "Unshare Shared Report Sharedreports",
49454
+ description: "Unshare Shared Report Sharedreports.",
49455
+ safety: "delete",
49456
+ destructive: true,
49457
+ cli: {
49458
+ group: ["sharedreports"],
49459
+ command: "unshare-shared-report",
49460
+ interactive: "default"
49461
+ },
49462
+ mcp: { entityTool: "sharedreports" },
49463
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
49464
+ execute: (input, { client }) => {
49465
+ const data = input;
49466
+ return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
49467
+ client.httpClient,
49468
+ client.workspaceIdNumber,
49469
+ data.id,
49470
+ void 0
49471
+ ]));
49472
+ }
49473
+ },
49029
49474
  {
49030
49475
  id: "focus.statuses.create-status",
49031
49476
  family: "focus",
@@ -50068,6 +50513,37 @@ const generatedFocusOperations = [
50068
50513
  return client.createTask(data);
50069
50514
  }
50070
50515
  },
50516
+ {
50517
+ id: "focus.tasks.create-recurring-occurrence",
50518
+ family: "focus",
50519
+ resource: "tasks",
50520
+ action: "create-recurring-occurrence",
50521
+ title: "Create Recurring Occurrence Tasks",
50522
+ description: "Create Recurring Occurrence Tasks.",
50523
+ safety: "create",
50524
+ destructive: false,
50525
+ cli: {
50526
+ group: ["tasks"],
50527
+ command: "create-recurring-occurrence",
50528
+ interactive: "default"
50529
+ },
50530
+ mcp: { entityTool: "tasks" },
50531
+ inputSchema: /* @__PURE__ */ looseObject({
50532
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50533
+ task_id: /* @__PURE__ */ number$2()
50534
+ }),
50535
+ execute: (input, { client }) => {
50536
+ const data = input;
50537
+ return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
50538
+ client.httpClient,
50539
+ client.organizationId,
50540
+ client.workspaceIdNumber,
50541
+ data.task_id,
50542
+ data.return_occurrence,
50543
+ void 0
50544
+ ]));
50545
+ }
50546
+ },
50071
50547
  {
50072
50548
  id: "focus.tasks.delete",
50073
50549
  family: "focus",
@@ -50315,9 +50791,13 @@ const generatedFocusOperations = [
50315
50791
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50316
50792
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50317
50793
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50794
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50795
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50318
50796
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50319
50797
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50798
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50320
50799
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50800
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50321
50801
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50322
50802
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50323
50803
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -50369,7 +50849,9 @@ const generatedFocusOperations = [
50369
50849
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50370
50850
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50371
50851
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50852
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50372
50853
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50854
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50373
50855
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50374
50856
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50375
50857
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -50378,7 +50860,9 @@ const generatedFocusOperations = [
50378
50860
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50379
50861
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50380
50862
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50863
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50381
50864
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50865
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50382
50866
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50383
50867
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50384
50868
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50516,8 +51000,10 @@ const generatedFocusOperations = [
50516
51000
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50517
51001
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50518
51002
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51003
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50519
51004
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50520
51005
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51006
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50521
51007
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50522
51008
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50523
51009
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50526,6 +51012,8 @@ const generatedFocusOperations = [
50526
51012
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50527
51013
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50528
51014
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51015
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51016
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50529
51017
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50530
51018
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50531
51019
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50534,7 +51022,8 @@ const generatedFocusOperations = [
50534
51022
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50535
51023
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50536
51024
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50537
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51025
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51026
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50538
51027
  }),
50539
51028
  execute: (input, { client }) => {
50540
51029
  const data = input;
@@ -50576,13 +51065,17 @@ const generatedFocusOperations = [
50576
51065
  group_id: /* @__PURE__ */ number$2(),
50577
51066
  include_assignees: /* @__PURE__ */ unknown$1(),
50578
51067
  include_drafts: /* @__PURE__ */ unknown$1(),
51068
+ include_projected_occurrences: /* @__PURE__ */ unknown$1(),
50579
51069
  include_unassigned: /* @__PURE__ */ unknown$1(),
50580
51070
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
51071
+ max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
50581
51072
  min_days: /* @__PURE__ */ unknown$1(),
50582
51073
  name: /* @__PURE__ */ unknown$1(),
50583
51074
  priority: /* @__PURE__ */ unknown$1(),
50584
51075
  private_: /* @__PURE__ */ unknown$1(),
50585
51076
  project_id: /* @__PURE__ */ number$2(),
51077
+ recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
51078
+ recurring_task_read: /* @__PURE__ */ unknown$1(),
50586
51079
  source: /* @__PURE__ */ unknown$1(),
50587
51080
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
50588
51081
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -50591,7 +51084,8 @@ const generatedFocusOperations = [
50591
51084
  tag_id: /* @__PURE__ */ number$2(),
50592
51085
  team_id: /* @__PURE__ */ number$2(),
50593
51086
  user_cf_filter: /* @__PURE__ */ unknown$1(),
50594
- user_tag_id: /* @__PURE__ */ number$2()
51087
+ user_tag_id: /* @__PURE__ */ number$2(),
51088
+ xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
50595
51089
  }),
50596
51090
  execute: (input, { client }) => {
50597
51091
  const data = input;
@@ -50632,13 +51126,17 @@ const generatedFocusOperations = [
50632
51126
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50633
51127
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50634
51128
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51129
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50635
51130
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50636
51131
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51132
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50637
51133
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50638
51134
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50639
51135
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50640
51136
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50641
51137
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51138
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51139
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50642
51140
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50643
51141
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50644
51142
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50647,7 +51145,8 @@ const generatedFocusOperations = [
50647
51145
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50648
51146
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50649
51147
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50650
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51148
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51149
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50651
51150
  }),
50652
51151
  execute: (input, { client }) => {
50653
51152
  const data = input;
@@ -50918,7 +51417,8 @@ const generatedFocusOperations = [
50918
51417
  mcp: { entityTool: "tasks" },
50919
51418
  inputSchema: /* @__PURE__ */ looseObject({
50920
51419
  date_from: /* @__PURE__ */ string$1(),
50921
- date_to: /* @__PURE__ */ string$1()
51420
+ date_to: /* @__PURE__ */ string$1(),
51421
+ skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
50922
51422
  }),
50923
51423
  execute: (input, { client }) => {
50924
51424
  const data = input;
@@ -50928,6 +51428,7 @@ const generatedFocusOperations = [
50928
51428
  client.workspaceIdNumber,
50929
51429
  data.date_from,
50930
51430
  data.date_to,
51431
+ data.skip_provider_refresh,
50931
51432
  void 0
50932
51433
  ]));
50933
51434
  }
@@ -51514,7 +52015,8 @@ const generatedFocusOperations = [
51514
52015
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
51515
52016
  "project",
51516
52017
  "task",
51517
- "description"
52018
+ "description",
52019
+ "tags"
51518
52020
  ]) })),
51519
52021
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51520
52022
  }) }),
@@ -51544,6 +52046,7 @@ const generatedFocusOperations = [
51544
52046
  },
51545
52047
  mcp: { entityTool: "time-entries" },
51546
52048
  inputSchema: /* @__PURE__ */ looseObject({
52049
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51547
52050
  payload: /* @__PURE__ */ looseObject({
51548
52051
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51549
52052
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -51554,11 +52057,13 @@ const generatedFocusOperations = [
51554
52057
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51555
52058
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51556
52059
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52060
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51557
52061
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
51558
52062
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51559
52063
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51560
52064
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51561
52065
  }),
52066
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51562
52067
  task_id: /* @__PURE__ */ number$2()
51563
52068
  }),
51564
52069
  execute: (input, { client }) => {
@@ -51569,6 +52074,8 @@ const generatedFocusOperations = [
51569
52074
  client.workspaceIdNumber,
51570
52075
  data.task_id,
51571
52076
  data.payload ?? data.data ?? data,
52077
+ data.from_recurring_task_id,
52078
+ data.return_occurrence,
51572
52079
  void 0
51573
52080
  ]));
51574
52081
  }
@@ -51588,21 +52095,26 @@ const generatedFocusOperations = [
51588
52095
  interactive: "default"
51589
52096
  },
51590
52097
  mcp: { entityTool: "time-entries" },
51591
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
51592
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51593
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51594
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51595
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51596
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51597
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51598
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51599
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51600
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51601
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
51602
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51603
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51604
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51605
- }) }),
52098
+ inputSchema: /* @__PURE__ */ looseObject({
52099
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52100
+ payload: /* @__PURE__ */ looseObject({
52101
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
52102
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52103
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52104
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52105
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52106
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
52107
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52108
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52109
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52110
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52111
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
52112
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52113
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
52114
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
52115
+ }),
52116
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
52117
+ }),
51606
52118
  execute: (input, { client }) => {
51607
52119
  const data = input;
51608
52120
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -51610,6 +52122,8 @@ const generatedFocusOperations = [
51610
52122
  client.organizationId,
51611
52123
  client.workspaceIdNumber,
51612
52124
  data.payload ?? data.data ?? data,
52125
+ data.from_recurring_task_id,
52126
+ data.return_occurrence,
51613
52127
  void 0
51614
52128
  ]));
51615
52129
  }
@@ -51629,7 +52143,11 @@ const generatedFocusOperations = [
51629
52143
  interactive: "default"
51630
52144
  },
51631
52145
  mcp: { entityTool: "time-entries" },
51632
- inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
52146
+ inputSchema: /* @__PURE__ */ looseObject({
52147
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52148
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52149
+ time_entry_id: /* @__PURE__ */ number$2()
52150
+ }),
51633
52151
  execute: (input, { client }) => {
51634
52152
  const data = input;
51635
52153
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -51637,6 +52155,8 @@ const generatedFocusOperations = [
51637
52155
  client.organizationId,
51638
52156
  client.workspaceIdNumber,
51639
52157
  data.time_entry_id,
52158
+ data.from_recurring_task_id,
52159
+ data.return_occurrence,
51640
52160
  void 0
51641
52161
  ]));
51642
52162
  }
@@ -51717,6 +52237,7 @@ const generatedFocusOperations = [
51717
52237
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
51718
52238
  include_taskless: /* @__PURE__ */ unknown$1(),
51719
52239
  order_by: /* @__PURE__ */ unknown$1(),
52240
+ project_id: /* @__PURE__ */ number$2(),
51720
52241
  status_id: /* @__PURE__ */ number$2(),
51721
52242
  task_id: /* @__PURE__ */ number$2(),
51722
52243
  type: /* @__PURE__ */ unknown$1()
@@ -51893,12 +52414,14 @@ const generatedFocusOperations = [
51893
52414
  },
51894
52415
  mcp: { entityTool: "time-entries" },
51895
52416
  inputSchema: /* @__PURE__ */ looseObject({
52417
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51896
52418
  payload: /* @__PURE__ */ looseObject({
51897
52419
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51898
52420
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51899
52421
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51900
52422
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
51901
52423
  }),
52424
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51902
52425
  time_entry_id: /* @__PURE__ */ number$2()
51903
52426
  }),
51904
52427
  execute: (input, { client }) => {
@@ -51909,6 +52432,8 @@ const generatedFocusOperations = [
51909
52432
  client.workspaceIdNumber,
51910
52433
  data.time_entry_id,
51911
52434
  data.payload ?? data.data ?? data,
52435
+ data.from_recurring_task_id,
52436
+ data.return_occurrence,
51912
52437
  void 0
51913
52438
  ]));
51914
52439
  }
@@ -52166,6 +52691,7 @@ const generatedFocusOperations = [
52166
52691
  },
52167
52692
  mcp: { entityTool: "time-entries" },
52168
52693
  inputSchema: /* @__PURE__ */ looseObject({
52694
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52169
52695
  payload: /* @__PURE__ */ looseObject({
52170
52696
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
52171
52697
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -52178,6 +52704,7 @@ const generatedFocusOperations = [
52178
52704
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52179
52705
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
52180
52706
  }),
52707
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52181
52708
  time_entry_id: /* @__PURE__ */ number$2()
52182
52709
  }),
52183
52710
  execute: (input, { client }) => {
@@ -52188,6 +52715,8 @@ const generatedFocusOperations = [
52188
52715
  client.workspaceIdNumber,
52189
52716
  data.time_entry_id,
52190
52717
  data.payload ?? data.data ?? data,
52718
+ data.from_recurring_task_id,
52719
+ data.return_occurrence,
52191
52720
  void 0
52192
52721
  ]));
52193
52722
  }
@@ -52703,6 +53232,40 @@ const generatedFocusOperations = [
52703
53232
  ]));
52704
53233
  }
52705
53234
  },
53235
+ {
53236
+ id: "focus.timesheets.get-status-counts",
53237
+ family: "focus",
53238
+ resource: "timesheets",
53239
+ action: "get-status-counts",
53240
+ title: "Get Status Counts Timesheets",
53241
+ description: "Get Status Counts Timesheets.",
53242
+ safety: "read",
53243
+ destructive: false,
53244
+ cli: {
53245
+ group: ["timesheets"],
53246
+ command: "get-status-counts",
53247
+ interactive: "hidden"
53248
+ },
53249
+ mcp: { entityTool: "timesheets" },
53250
+ inputSchema: /* @__PURE__ */ looseObject({
53251
+ approver_user_account_ids: /* @__PURE__ */ unknown$1(),
53252
+ date_from: /* @__PURE__ */ unknown$1(),
53253
+ date_to: /* @__PURE__ */ unknown$1(),
53254
+ setup_id: /* @__PURE__ */ number$2(),
53255
+ team_ids: /* @__PURE__ */ unknown$1(),
53256
+ user_account_ids: /* @__PURE__ */ unknown$1()
53257
+ }),
53258
+ execute: (input, { client }) => {
53259
+ const data = input;
53260
+ return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
53261
+ client.httpClient,
53262
+ client.organizationId,
53263
+ client.workspaceIdNumber,
53264
+ data,
53265
+ void 0
53266
+ ]));
53267
+ }
53268
+ },
52706
53269
  {
52707
53270
  id: "focus.timesheets.remove-timesheet-flag",
52708
53271
  family: "focus",
@@ -53252,6 +53815,33 @@ const generatedFocusOperations = [
53252
53815
  ]));
53253
53816
  }
53254
53817
  },
53818
+ {
53819
+ id: "focus.track-team-invites.post",
53820
+ family: "focus",
53821
+ resource: "track-team-invites",
53822
+ action: "post",
53823
+ title: "Post Track Team Invites",
53824
+ description: "Post Track Team Invites.",
53825
+ safety: "create",
53826
+ destructive: false,
53827
+ cli: {
53828
+ group: ["track-team-invites"],
53829
+ command: "post",
53830
+ interactive: "default"
53831
+ },
53832
+ mcp: { entityTool: "track-team-invites" },
53833
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
53834
+ execute: (input, { client }) => {
53835
+ const data = input;
53836
+ return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
53837
+ client.httpClient,
53838
+ client.organizationId,
53839
+ client.workspaceIdNumber,
53840
+ data.payload ?? data.data ?? data,
53841
+ void 0
53842
+ ]));
53843
+ }
53844
+ },
53255
53845
  {
53256
53846
  id: "focus.users.list",
53257
53847
  family: "focus",
@@ -53273,6 +53863,56 @@ const generatedFocusOperations = [
53273
53863
  return client.listOrgUsers(data);
53274
53864
  }
53275
53865
  },
53866
+ {
53867
+ id: "focus.users.settings-email-unsubscribe",
53868
+ family: "focus",
53869
+ resource: "users",
53870
+ action: "settings-email-unsubscribe",
53871
+ title: "Settings Email Unsubscribe Users",
53872
+ description: "Settings Email Unsubscribe Users.",
53873
+ safety: "update",
53874
+ destructive: false,
53875
+ cli: {
53876
+ group: ["users", "settings"],
53877
+ command: "email-unsubscribe",
53878
+ interactive: "default"
53879
+ },
53880
+ mcp: { entityTool: "users" },
53881
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53882
+ execute: (input, { client }) => {
53883
+ const data = input;
53884
+ return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
53885
+ client.httpClient,
53886
+ data.token,
53887
+ void 0
53888
+ ]));
53889
+ }
53890
+ },
53891
+ {
53892
+ id: "focus.users.settings-email-unsubscribe-page",
53893
+ family: "focus",
53894
+ resource: "users",
53895
+ action: "settings-email-unsubscribe-page",
53896
+ title: "Settings Email Unsubscribe Page Users",
53897
+ description: "Settings Email Unsubscribe Page Users.",
53898
+ safety: "read",
53899
+ destructive: false,
53900
+ cli: {
53901
+ group: ["users", "settings"],
53902
+ command: "email-unsubscribe-page",
53903
+ interactive: "available"
53904
+ },
53905
+ mcp: { entityTool: "users" },
53906
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53907
+ execute: (input, { client }) => {
53908
+ const data = input;
53909
+ return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
53910
+ client.httpClient,
53911
+ data.token,
53912
+ void 0
53913
+ ]));
53914
+ }
53915
+ },
53276
53916
  {
53277
53917
  id: "focus.users.settings-list",
53278
53918
  family: "focus",
@@ -53334,6 +53974,9 @@ const generatedFocusOperations = [
53334
53974
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53335
53975
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53336
53976
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53977
+ notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53978
+ notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53979
+ notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53337
53980
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53338
53981
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53339
53982
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -54877,7 +55520,7 @@ function registerWorkspaceTools(server) {
54877
55520
  //#region src/package-version.ts
54878
55521
  function mcpPackageVersion() {
54879
55522
  try {
54880
- return "1.11.46";
55523
+ return "1.11.48";
54881
55524
  } catch {
54882
55525
  return "unknown";
54883
55526
  }
@@ -55052,7 +55695,7 @@ import_main.default.config({
55052
55695
  quiet: true,
55053
55696
  ignore: ["MISSING_ENV_FILE"]
55054
55697
  });
55055
- const packageVersion = "1.11.46";
55698
+ const packageVersion = "1.11.48";
55056
55699
  function resolvePublicUrls() {
55057
55700
  return {
55058
55701
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -55117,4 +55760,4 @@ function bootstrapServer(options = {}) {
55117
55760
  //#endregion
55118
55761
  export { initProductAnalytics as a, shutdownProductAnalytics as c, getProductAnalyticsDistinctId as i, runMcpCli as n, redactUnsafeSentryMessages as o, captureToolInvocation as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
55119
55762
 
55120
- //# sourceMappingURL=src-BMU8cW_L.js.map
55763
+ //# sourceMappingURL=src-CQEl4Mnr.js.map