@togglhq/mcp 1.11.3 → 1.11.5

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.
@@ -36552,6 +36552,7 @@ const TaskSchema = /* @__PURE__ */ object({
36552
36552
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36553
36553
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
36554
36554
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36555
+ 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."))),
36555
36556
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
36556
36557
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36557
36558
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -36613,6 +36614,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
36613
36614
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36614
36615
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
36615
36616
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36617
+ 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."))),
36616
36618
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
36617
36619
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36618
36620
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -36795,6 +36797,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
36795
36797
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36796
36798
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36797
36799
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36800
+ 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."))),
36801
+ 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."))),
36798
36802
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36799
36803
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36800
36804
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -36959,6 +36963,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
36959
36963
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36960
36964
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36961
36965
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36966
+ 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."))),
36967
+ 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."))),
36962
36968
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36963
36969
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36964
36970
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -37189,6 +37195,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
37189
37195
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37190
37196
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37191
37197
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37198
+ 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."))),
37192
37199
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37193
37200
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37194
37201
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -37225,6 +37232,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
37225
37232
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37226
37233
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37227
37234
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37235
+ 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."))),
37228
37236
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37229
37237
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37230
37238
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -37763,7 +37771,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
37763
37771
  }
37764
37772
  //#endregion
37765
37773
  //#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) {
37774
+ 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
37775
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
37768
37776
  signal,
37769
37777
  searchParams: buildSearchParams$2({
@@ -37814,7 +37822,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37814
37822
  include_assignees,
37815
37823
  include_parent_matches,
37816
37824
  disable_aggregations,
37817
- cf_filter
37825
+ cf_filter,
37826
+ recurring_occurrences_after,
37827
+ max_recurring_occurrences_after,
37828
+ recurring_task_read,
37829
+ include_projected_occurrences
37818
37830
  })
37819
37831
  }).json();
37820
37832
  }
@@ -37889,16 +37901,17 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
37889
37901
  })
37890
37902
  }).json();
37891
37903
  }
37892
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
37904
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
37893
37905
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
37894
37906
  signal,
37895
37907
  searchParams: buildSearchParams$2({
37896
37908
  date_from,
37897
- date_to
37909
+ date_to,
37910
+ skip_provider_refresh
37898
37911
  })
37899
37912
  }).json();
37900
37913
  }
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) {
37914
+ 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
37915
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
37903
37916
  signal,
37904
37917
  searchParams: buildSearchParams$2({
@@ -37914,11 +37927,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
37914
37927
  assignee_team_id,
37915
37928
  assignee_user_id,
37916
37929
  tag_id,
37917
- include_assignees
37930
+ include_assignees,
37931
+ recurring_occurrences_after,
37932
+ max_recurring_occurrences_after,
37933
+ recurring_task_read,
37934
+ include_projected_occurrences
37918
37935
  })
37919
37936
  }).json();
37920
37937
  }
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) {
37938
+ 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
37939
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
37923
37940
  signal,
37924
37941
  searchParams: buildSearchParams$2({
@@ -37963,7 +37980,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37963
37980
  recurring_task_ids,
37964
37981
  client_id,
37965
37982
  include_assignees,
37966
- cf_filter
37983
+ cf_filter,
37984
+ recurring_occurrences_after,
37985
+ max_recurring_occurrences_after,
37986
+ recurring_task_read,
37987
+ include_projected_occurrences
37967
37988
  })
37968
37989
  }).json();
37969
37990
  }
@@ -38018,6 +38039,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
38018
38039
  })
38019
38040
  }).json();
38020
38041
  }
38042
+ async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
38043
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
38044
+ signal,
38045
+ searchParams: buildSearchParams$2({ return_occurrence })
38046
+ }).json();
38047
+ }
38021
38048
  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
38049
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
38023
38050
  signal,
@@ -38154,16 +38181,24 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
38154
38181
  })
38155
38182
  }).json();
38156
38183
  }
38157
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
38184
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
38158
38185
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
38159
38186
  signal,
38160
- json: data
38187
+ json: data,
38188
+ searchParams: buildSearchParams$2({
38189
+ from_recurring_task_id,
38190
+ return_occurrence
38191
+ })
38161
38192
  }).json();
38162
38193
  }
38163
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
38194
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
38164
38195
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
38165
38196
  signal,
38166
- json: data
38197
+ json: data,
38198
+ searchParams: buildSearchParams$2({
38199
+ from_recurring_task_id,
38200
+ return_occurrence
38201
+ })
38167
38202
  }).json();
38168
38203
  }
38169
38204
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -38214,7 +38249,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
38214
38249
  json: data
38215
38250
  }).json();
38216
38251
  }
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) {
38252
+ 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
38253
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
38219
38254
  signal,
38220
38255
  searchParams: buildSearchParams$2({
@@ -38222,6 +38257,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
38222
38257
  date_to,
38223
38258
  task_id,
38224
38259
  status_id,
38260
+ project_id,
38225
38261
  type,
38226
38262
  order_by,
38227
38263
  archived,
@@ -38245,19 +38281,33 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
38245
38281
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
38246
38282
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
38247
38283
  }
38248
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
38284
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
38249
38285
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38250
38286
  signal,
38251
- json: data
38287
+ json: data,
38288
+ searchParams: buildSearchParams$2({
38289
+ from_recurring_task_id,
38290
+ return_occurrence
38291
+ })
38252
38292
  }).json();
38253
38293
  }
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();
38294
+ async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
38295
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38296
+ signal,
38297
+ searchParams: buildSearchParams$2({
38298
+ from_recurring_task_id,
38299
+ return_occurrence
38300
+ })
38301
+ }).json();
38256
38302
  }
38257
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
38303
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
38258
38304
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38259
38305
  signal,
38260
- json: data
38306
+ json: data,
38307
+ searchParams: buildSearchParams$2({
38308
+ from_recurring_task_id,
38309
+ return_occurrence
38310
+ })
38261
38311
  }).json();
38262
38312
  }
38263
38313
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -38372,7 +38422,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38372
38422
  ]))
38373
38423
  });
38374
38424
  //#endregion
38375
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.19_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c274f3517e0a574f4b908b13a57913f4/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38425
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.20_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_12ff1c3d19236da2c7cdb6fd6c25fd52/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38376
38426
  async function getInvitations(httpClient, signal) {
38377
38427
  return (await httpClient.get(`invitations`, { signal })).json();
38378
38428
  }
@@ -38389,7 +38439,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38389
38439
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38390
38440
  }
38391
38441
  //#endregion
38392
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.19_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c274f3517e0a574f4b908b13a57913f4/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38442
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.20_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_12ff1c3d19236da2c7cdb6fd6c25fd52/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38393
38443
  const META_SYMBOL = Symbol.for("querygen:response:meta");
38394
38444
  function withResponseMeta(data, headers, status) {
38395
38445
  if (!data) return data;
@@ -38416,7 +38466,7 @@ function buildSearchParams(params, flattenArrays = false) {
38416
38466
  return searchParams;
38417
38467
  }
38418
38468
  //#endregion
38419
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.19_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c274f3517e0a574f4b908b13a57913f4/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38469
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.20_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_12ff1c3d19236da2c7cdb6fd6c25fd52/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38420
38470
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38421
38471
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38422
38472
  }
@@ -38430,7 +38480,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38430
38480
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38431
38481
  }
38432
38482
  //#endregion
38433
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.19_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c274f3517e0a574f4b908b13a57913f4/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38483
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.20_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_12ff1c3d19236da2c7cdb6fd6c25fd52/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38434
38484
  async function getWorkspaces(httpClient, organization_id, signal) {
38435
38485
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38436
38486
  }
@@ -38450,7 +38500,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38450
38500
  });
38451
38501
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38452
38502
  //#endregion
38453
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.19_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c274f3517e0a574f4b908b13a57913f4/node_modules/@toggl/queries/dist/org/public-holidays/requests.mjs
38503
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.20_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_12ff1c3d19236da2c7cdb6fd6c25fd52/node_modules/@toggl/queries/dist/org/public-holidays/requests.mjs
38454
38504
  async function getPublicHolidaysHolidayDomain(httpClient, year, { country, organization_id } = {}, signal) {
38455
38505
  const response = await httpClient.get(`holidays/publicholidays/${year}`, {
38456
38506
  signal,
@@ -38462,12 +38512,12 @@ async function getPublicHolidaysHolidayDomain(httpClient, year, { country, organ
38462
38512
  return withResponseMeta(await response.json(), response.headers, response.status);
38463
38513
  }
38464
38514
  //#endregion
38465
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.19_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c274f3517e0a574f4b908b13a57913f4/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38515
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.20_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_12ff1c3d19236da2c7cdb6fd6c25fd52/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38466
38516
  async function getStatus(httpClient, signal) {
38467
38517
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38468
38518
  }
38469
38519
  //#endregion
38470
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.19_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c274f3517e0a574f4b908b13a57913f4/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38520
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.20_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_12ff1c3d19236da2c7cdb6fd6c25fd52/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38471
38521
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38472
38522
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38473
38523
  signal,
@@ -38495,7 +38545,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38495
38545
  return response.json();
38496
38546
  }
38497
38547
  //#endregion
38498
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.19_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c274f3517e0a574f4b908b13a57913f4/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38548
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.20_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_12ff1c3d19236da2c7cdb6fd6c25fd52/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38499
38549
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38500
38550
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38501
38551
  }
@@ -42142,13 +42192,14 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
42142
42192
  }
42143
42193
  //#endregion
42144
42194
  //#region ../focus-queries/dist/audit-log/requests.ts
42145
- async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
42195
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, project_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
42146
42196
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
42147
42197
  signal,
42148
42198
  searchParams: buildSearchParams$2({
42149
42199
  workspace_id,
42150
42200
  entity_type,
42151
42201
  entity_id,
42202
+ project_id,
42152
42203
  action,
42153
42204
  user_id,
42154
42205
  page_size,
@@ -42157,12 +42208,13 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
42157
42208
  })
42158
42209
  }).json();
42159
42210
  }
42160
- async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
42211
+ async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, project_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
42161
42212
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
42162
42213
  signal,
42163
42214
  searchParams: buildSearchParams$2({
42164
42215
  entity_type,
42165
42216
  entity_id,
42217
+ project_id,
42166
42218
  action,
42167
42219
  user_id,
42168
42220
  page_size,
@@ -42315,13 +42367,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
42315
42367
  }
42316
42368
  //#endregion
42317
42369
  //#region ../focus-queries/dist/capacities/requests.ts
42318
- 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) {
42370
+ 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) {
42319
42371
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
42320
42372
  signal,
42321
42373
  searchParams: buildSearchParams$2({
42322
- user_id,
42323
42374
  start_date,
42324
42375
  end_date,
42376
+ user_id,
42377
+ team_id,
42325
42378
  private: private_,
42326
42379
  task_source,
42327
42380
  unit,
@@ -42381,6 +42434,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
42381
42434
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42382
42435
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
42383
42436
  }
42437
+ async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42438
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
42439
+ }
42440
+ async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
42441
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
42442
+ signal,
42443
+ json: data
42444
+ }).json();
42445
+ }
42384
42446
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
42385
42447
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
42386
42448
  signal,
@@ -42688,9 +42750,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
42688
42750
  json: data
42689
42751
  }).json();
42690
42752
  }
42691
- async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
42692
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
42693
- }
42694
42753
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
42695
42754
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
42696
42755
  }
@@ -42994,9 +43053,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
42994
43053
  }
42995
43054
  //#endregion
42996
43055
  //#region ../focus-queries/dist/task-groups/requests.ts
42997
- 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) {
43056
+ 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) {
42998
43057
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
42999
43058
  signal,
43059
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
43000
43060
  searchParams: buildSearchParams$2({
43001
43061
  project_id,
43002
43062
  source,
@@ -43025,13 +43085,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
43025
43085
  min_days,
43026
43086
  include_drafts,
43027
43087
  cf_filter,
43028
- user_cf_filter
43088
+ user_cf_filter,
43089
+ recurring_occurrences_after,
43090
+ max_recurring_occurrences_after,
43091
+ recurring_task_read,
43092
+ include_projected_occurrences
43029
43093
  })
43030
43094
  }).json();
43031
43095
  }
43032
- 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) {
43096
+ 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) {
43033
43097
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
43034
43098
  signal,
43099
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
43035
43100
  searchParams: buildSearchParams$2({
43036
43101
  team_id,
43037
43102
  project_id,
@@ -43060,13 +43125,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
43060
43125
  min_days,
43061
43126
  include_drafts,
43062
43127
  cf_filter,
43063
- user_cf_filter
43128
+ user_cf_filter,
43129
+ recurring_occurrences_after,
43130
+ max_recurring_occurrences_after,
43131
+ recurring_task_read,
43132
+ include_projected_occurrences
43064
43133
  })
43065
43134
  }).json();
43066
43135
  }
43067
- 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) {
43136
+ 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) {
43068
43137
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
43069
43138
  signal,
43139
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
43070
43140
  searchParams: buildSearchParams$2({
43071
43141
  source,
43072
43142
  priority,
@@ -43096,6 +43166,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
43096
43166
  include_drafts,
43097
43167
  cf_filter,
43098
43168
  user_cf_filter,
43169
+ recurring_occurrences_after,
43170
+ max_recurring_occurrences_after,
43171
+ recurring_task_read,
43172
+ include_projected_occurrences,
43099
43173
  page,
43100
43174
  per_page,
43101
43175
  order_by
@@ -43331,6 +43405,12 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
43331
43405
  }
43332
43406
  //#endregion
43333
43407
  //#region ../focus-queries/dist/user-settings/requests.ts
43408
+ async function emailUnsubscribePage(httpClient, token, signal) {
43409
+ return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
43410
+ }
43411
+ async function emailUnsubscribe(httpClient, token, signal) {
43412
+ return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
43413
+ }
43334
43414
  async function getUserSettings(httpClient, signal) {
43335
43415
  return await httpClient.get(`users/me/settings`, { signal }).json();
43336
43416
  }
@@ -43574,10 +43654,11 @@ const generatedFocusOperations = [
43574
43654
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43575
43655
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43576
43656
  export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43577
- from: /* @__PURE__ */ unknown$1(),
43657
+ from: /* @__PURE__ */ string$1(),
43578
43658
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43579
43659
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43580
- to: /* @__PURE__ */ unknown$1(),
43660
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43661
+ to: /* @__PURE__ */ string$1(),
43581
43662
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43582
43663
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43583
43664
  }),
@@ -43614,10 +43695,11 @@ const generatedFocusOperations = [
43614
43695
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43615
43696
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43616
43697
  export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43617
- from: /* @__PURE__ */ unknown$1(),
43698
+ from: /* @__PURE__ */ string$1(),
43618
43699
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43619
43700
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43620
- to: /* @__PURE__ */ unknown$1(),
43701
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43702
+ to: /* @__PURE__ */ string$1(),
43621
43703
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43622
43704
  }),
43623
43705
  execute: (input, { client }) => {
@@ -43650,12 +43732,13 @@ const generatedFocusOperations = [
43650
43732
  mcp: { entityTool: "capacities" },
43651
43733
  inputSchema: /* @__PURE__ */ looseObject({
43652
43734
  end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43653
- group: /* @__PURE__ */ unknown$1(),
43735
+ group: /* @__PURE__ */ picklist$1(["users"]),
43654
43736
  include_drafts: /* @__PURE__ */ unknown$1(),
43655
43737
  include_task_estimates: /* @__PURE__ */ unknown$1(),
43656
43738
  private_: /* @__PURE__ */ unknown$1(),
43657
43739
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43658
43740
  task_source: /* @__PURE__ */ unknown$1(),
43741
+ team_id: /* @__PURE__ */ number$2(),
43659
43742
  unit: /* @__PURE__ */ unknown$1(),
43660
43743
  user_id: /* @__PURE__ */ number$2()
43661
43744
  }),
@@ -44096,6 +44179,33 @@ const generatedFocusOperations = [
44096
44179
  ]));
44097
44180
  }
44098
44181
  },
44182
+ {
44183
+ id: "focus.custom-fields.get-allowed-users",
44184
+ family: "focus",
44185
+ resource: "custom-fields",
44186
+ action: "get-allowed-users",
44187
+ title: "Get Allowed Users Custom Fields",
44188
+ description: "Get Allowed Users Custom Fields.",
44189
+ safety: "read",
44190
+ destructive: false,
44191
+ cli: {
44192
+ group: ["custom-fields"],
44193
+ command: "get-allowed-users",
44194
+ interactive: "available"
44195
+ },
44196
+ mcp: { entityTool: "custom-fields" },
44197
+ inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
44198
+ execute: (input, { client }) => {
44199
+ const data = input;
44200
+ return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
44201
+ client.httpClient,
44202
+ client.organizationId,
44203
+ client.workspaceIdNumber,
44204
+ data.custom_field_id,
44205
+ void 0
44206
+ ]));
44207
+ }
44208
+ },
44099
44209
  {
44100
44210
  id: "focus.custom-fields.list",
44101
44211
  family: "focus",
@@ -44265,6 +44375,37 @@ const generatedFocusOperations = [
44265
44375
  ]));
44266
44376
  }
44267
44377
  },
44378
+ {
44379
+ id: "focus.custom-fields.replace-custom-field-allowed-users",
44380
+ family: "focus",
44381
+ resource: "custom-fields",
44382
+ action: "replace-custom-field-allowed-users",
44383
+ title: "Replace Custom Field Allowed Users Custom Fields",
44384
+ description: "Replace Custom Field Allowed Users Custom Fields.",
44385
+ safety: "update",
44386
+ destructive: false,
44387
+ cli: {
44388
+ group: ["custom-fields"],
44389
+ command: "replace-custom-field-allowed-users",
44390
+ interactive: "default"
44391
+ },
44392
+ mcp: { entityTool: "custom-fields" },
44393
+ inputSchema: /* @__PURE__ */ looseObject({
44394
+ custom_field_id: /* @__PURE__ */ number$2(),
44395
+ payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
44396
+ }),
44397
+ execute: (input, { client }) => {
44398
+ const data = input;
44399
+ return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
44400
+ client.httpClient,
44401
+ client.organizationId,
44402
+ client.workspaceIdNumber,
44403
+ data.custom_field_id,
44404
+ data.payload ?? data.data ?? data,
44405
+ void 0
44406
+ ]));
44407
+ }
44408
+ },
44268
44409
  {
44269
44410
  id: "focus.custom-fields.update",
44270
44411
  family: "focus",
@@ -44411,13 +44552,7 @@ const generatedFocusOperations = [
44411
44552
  },
44412
44553
  mcp: { entityTool: "goals" },
44413
44554
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44414
- billable: /* @__PURE__ */ boolean$1(),
44415
44555
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44416
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44417
- icon: /* @__PURE__ */ string$1(),
44418
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44419
- name: /* @__PURE__ */ string$1(),
44420
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44421
44556
  recurrence: /* @__PURE__ */ picklist$1([
44422
44557
  "daily",
44423
44558
  "weekly",
@@ -44425,12 +44560,18 @@ const generatedFocusOperations = [
44425
44560
  "monthly"
44426
44561
  ]),
44427
44562
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44428
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44429
44563
  target_seconds: /* @__PURE__ */ number$2(),
44430
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44431
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44564
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44432
44565
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44433
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44566
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44567
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44568
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44569
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44570
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44571
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44572
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44573
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44574
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44434
44575
  }) }),
44435
44576
  execute: (input, { client }) => {
44436
44577
  const data = input;
@@ -44536,13 +44677,6 @@ const generatedFocusOperations = [
44536
44677
  },
44537
44678
  mcp: { entityTool: "goals" },
44538
44679
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44539
- billable: /* @__PURE__ */ boolean$1(),
44540
- comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44541
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44542
- icon: /* @__PURE__ */ string$1(),
44543
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44544
- name: /* @__PURE__ */ string$1(),
44545
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44546
44680
  recurrence: /* @__PURE__ */ picklist$1([
44547
44681
  "daily",
44548
44682
  "weekly",
@@ -44550,12 +44684,19 @@ const generatedFocusOperations = [
44550
44684
  "monthly"
44551
44685
  ]),
44552
44686
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44553
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44554
- target_seconds: /* @__PURE__ */ number$2(),
44555
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44556
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44687
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44557
44688
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44558
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44689
+ comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
44690
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44691
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44692
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44693
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44694
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44695
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44696
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44697
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44698
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44699
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44559
44700
  }) }),
44560
44701
  execute: (input, { client }) => {
44561
44702
  const data = input;
@@ -45311,7 +45452,7 @@ const generatedFocusOperations = [
45311
45452
  },
45312
45453
  mcp: { entityTool: "projects" },
45313
45454
  inputSchema: /* @__PURE__ */ looseObject({
45314
- attachment_id: /* @__PURE__ */ number$2(),
45455
+ attachment_id: /* @__PURE__ */ string$1(),
45315
45456
  payload: /* @__PURE__ */ looseObject({
45316
45457
  display_order: /* @__PURE__ */ number$2(),
45317
45458
  name: /* @__PURE__ */ string$1()
@@ -45522,9 +45663,17 @@ const generatedFocusOperations = [
45522
45663
  mcp: { entityTool: "projects" },
45523
45664
  inputSchema: /* @__PURE__ */ looseObject({
45524
45665
  payload: /* @__PURE__ */ looseObject({
45666
+ auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45667
+ completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
45525
45668
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
45526
45669
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45527
45670
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45671
+ rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
45672
+ "expire",
45673
+ "carry_all",
45674
+ "carry_over"
45675
+ ])),
45676
+ rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45528
45677
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
45529
45678
  }),
45530
45679
  project_id: /* @__PURE__ */ number$2()
@@ -45965,7 +46114,7 @@ const generatedFocusOperations = [
45965
46114
  completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45966
46115
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45967
46116
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
45968
- group: /* @__PURE__ */ unknown$1(),
46117
+ group: /* @__PURE__ */ string$1(),
45969
46118
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45970
46119
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45971
46120
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -46070,29 +46219,6 @@ const generatedFocusOperations = [
46070
46219
  ]));
46071
46220
  }
46072
46221
  },
46073
- {
46074
- id: "focus.projects.margin-targets-clear-workspace",
46075
- family: "focus",
46076
- resource: "projects",
46077
- action: "margin-targets-clear-workspace",
46078
- title: "Margin Targets Clear Workspace Projects",
46079
- description: "Margin Targets Clear Workspace Projects.",
46080
- safety: "delete",
46081
- destructive: true,
46082
- cli: {
46083
- group: ["projects", "margin-targets"],
46084
- command: "clear-workspace",
46085
- interactive: "default"
46086
- },
46087
- mcp: { entityTool: "projects" },
46088
- inputSchema: /* @__PURE__ */ looseObject({}),
46089
- execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
46090
- client.httpClient,
46091
- client.organizationId,
46092
- client.workspaceIdNumber,
46093
- void 0
46094
- ]))
46095
- },
46096
46222
  {
46097
46223
  id: "focus.projects.margin-targets-get",
46098
46224
  family: "focus",
@@ -46698,13 +46824,13 @@ const generatedFocusOperations = [
46698
46824
  cli: {
46699
46825
  group: ["rates", "billable"],
46700
46826
  command: "delete-project-billable-rate-range",
46701
- interactive: "hidden"
46827
+ interactive: "default"
46702
46828
  },
46703
46829
  mcp: { entityTool: "rates" },
46704
46830
  inputSchema: /* @__PURE__ */ looseObject({
46705
- from: /* @__PURE__ */ unknown$1(),
46831
+ from: /* @__PURE__ */ string$1(),
46706
46832
  project_id: /* @__PURE__ */ number$2(),
46707
- to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
46833
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
46708
46834
  }),
46709
46835
  execute: (input, { client }) => {
46710
46836
  const data = input;
@@ -46731,13 +46857,13 @@ const generatedFocusOperations = [
46731
46857
  cli: {
46732
46858
  group: ["rates", "billable"],
46733
46859
  command: "delete-project-user-billable-rate-range",
46734
- interactive: "hidden"
46860
+ interactive: "default"
46735
46861
  },
46736
46862
  mcp: { entityTool: "rates" },
46737
46863
  inputSchema: /* @__PURE__ */ looseObject({
46738
- from: /* @__PURE__ */ unknown$1(),
46864
+ from: /* @__PURE__ */ string$1(),
46739
46865
  project_id: /* @__PURE__ */ number$2(),
46740
- to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46866
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
46741
46867
  user_id: /* @__PURE__ */ number$2()
46742
46868
  }),
46743
46869
  execute: (input, { client }) => {
@@ -46766,12 +46892,12 @@ const generatedFocusOperations = [
46766
46892
  cli: {
46767
46893
  group: ["rates", "billable"],
46768
46894
  command: "delete-workspace-billable-rate-range",
46769
- interactive: "hidden"
46895
+ interactive: "default"
46770
46896
  },
46771
46897
  mcp: { entityTool: "rates" },
46772
46898
  inputSchema: /* @__PURE__ */ looseObject({
46773
- from: /* @__PURE__ */ unknown$1(),
46774
- to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
46899
+ from: /* @__PURE__ */ string$1(),
46900
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
46775
46901
  }),
46776
46902
  execute: (input, { client }) => {
46777
46903
  const data = input;
@@ -46797,12 +46923,12 @@ const generatedFocusOperations = [
46797
46923
  cli: {
46798
46924
  group: ["rates", "billable"],
46799
46925
  command: "delete-workspace-user-billable-rate-range",
46800
- interactive: "hidden"
46926
+ interactive: "default"
46801
46927
  },
46802
46928
  mcp: { entityTool: "rates" },
46803
46929
  inputSchema: /* @__PURE__ */ looseObject({
46804
- from: /* @__PURE__ */ unknown$1(),
46805
- to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46930
+ from: /* @__PURE__ */ string$1(),
46931
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
46806
46932
  user_id: /* @__PURE__ */ number$2()
46807
46933
  }),
46808
46934
  execute: (input, { client }) => {
@@ -47233,13 +47359,13 @@ const generatedFocusOperations = [
47233
47359
  cli: {
47234
47360
  group: ["rates"],
47235
47361
  command: "delete-project",
47236
- interactive: "hidden"
47362
+ interactive: "default"
47237
47363
  },
47238
47364
  mcp: { entityTool: "rates" },
47239
47365
  inputSchema: /* @__PURE__ */ looseObject({
47240
- from: /* @__PURE__ */ unknown$1(),
47366
+ from: /* @__PURE__ */ string$1(),
47241
47367
  project_id: /* @__PURE__ */ number$2(),
47242
- to: /* @__PURE__ */ unknown$1()
47368
+ to: /* @__PURE__ */ string$1()
47243
47369
  }),
47244
47370
  execute: (input, { client }) => {
47245
47371
  const data = input;
@@ -47478,13 +47604,13 @@ const generatedFocusOperations = [
47478
47604
  cli: {
47479
47605
  group: ["rates", "labor"],
47480
47606
  command: "delete-project-labor-cost-rate-range",
47481
- interactive: "hidden"
47607
+ interactive: "default"
47482
47608
  },
47483
47609
  mcp: { entityTool: "rates" },
47484
47610
  inputSchema: /* @__PURE__ */ looseObject({
47485
- from: /* @__PURE__ */ unknown$1(),
47611
+ from: /* @__PURE__ */ string$1(),
47486
47612
  project_id: /* @__PURE__ */ number$2(),
47487
- to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
47613
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
47488
47614
  }),
47489
47615
  execute: (input, { client }) => {
47490
47616
  const data = input;
@@ -47511,13 +47637,13 @@ const generatedFocusOperations = [
47511
47637
  cli: {
47512
47638
  group: ["rates", "labor"],
47513
47639
  command: "delete-project-user-labor-cost-rate-range",
47514
- interactive: "hidden"
47640
+ interactive: "default"
47515
47641
  },
47516
47642
  mcp: { entityTool: "rates" },
47517
47643
  inputSchema: /* @__PURE__ */ looseObject({
47518
- from: /* @__PURE__ */ unknown$1(),
47644
+ from: /* @__PURE__ */ string$1(),
47519
47645
  project_id: /* @__PURE__ */ number$2(),
47520
- to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
47646
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
47521
47647
  user_id: /* @__PURE__ */ number$2()
47522
47648
  }),
47523
47649
  execute: (input, { client }) => {
@@ -47573,12 +47699,12 @@ const generatedFocusOperations = [
47573
47699
  cli: {
47574
47700
  group: ["rates", "labor"],
47575
47701
  command: "delete-workspace-labor-cost-rate-range",
47576
- interactive: "hidden"
47702
+ interactive: "default"
47577
47703
  },
47578
47704
  mcp: { entityTool: "rates" },
47579
47705
  inputSchema: /* @__PURE__ */ looseObject({
47580
- from: /* @__PURE__ */ unknown$1(),
47581
- to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
47706
+ from: /* @__PURE__ */ string$1(),
47707
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
47582
47708
  }),
47583
47709
  execute: (input, { client }) => {
47584
47710
  const data = input;
@@ -47604,12 +47730,12 @@ const generatedFocusOperations = [
47604
47730
  cli: {
47605
47731
  group: ["rates", "labor"],
47606
47732
  command: "delete-workspace-user-labor-cost-rate-range",
47607
- interactive: "hidden"
47733
+ interactive: "default"
47608
47734
  },
47609
47735
  mcp: { entityTool: "rates" },
47610
47736
  inputSchema: /* @__PURE__ */ looseObject({
47611
- from: /* @__PURE__ */ unknown$1(),
47612
- to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
47737
+ from: /* @__PURE__ */ string$1(),
47738
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
47613
47739
  user_id: /* @__PURE__ */ number$2()
47614
47740
  }),
47615
47741
  execute: (input, { client }) => {
@@ -48237,7 +48363,7 @@ const generatedFocusOperations = [
48237
48363
  },
48238
48364
  mcp: { entityTool: "reports" },
48239
48365
  inputSchema: /* @__PURE__ */ looseObject({
48240
- include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48366
+ include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
48241
48367
  payload: /* @__PURE__ */ looseObject({
48242
48368
  aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48243
48369
  aggregation: /* @__PURE__ */ looseObject({
@@ -48285,8 +48411,12 @@ const generatedFocusOperations = [
48285
48411
  chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48286
48412
  shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48287
48413
  }),
48288
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48289
- xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48414
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
48415
+ xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
48416
+ "csv",
48417
+ "xlsx",
48418
+ "pdf"
48419
+ ]))
48290
48420
  }),
48291
48421
  execute: (input, { client }) => {
48292
48422
  const data = input;
@@ -48436,7 +48566,11 @@ const generatedFocusOperations = [
48436
48566
  chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48437
48567
  shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48438
48568
  }),
48439
- xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48569
+ xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
48570
+ "csv",
48571
+ "xlsx",
48572
+ "pdf"
48573
+ ]))
48440
48574
  }),
48441
48575
  execute: (input, { client }) => {
48442
48576
  const data = input;
@@ -48461,10 +48595,10 @@ const generatedFocusOperations = [
48461
48595
  cli: {
48462
48596
  group: ["reportschedules"],
48463
48597
  command: "delete-shared-report-schedule",
48464
- interactive: "hidden"
48598
+ interactive: "default"
48465
48599
  },
48466
48600
  mcp: { entityTool: "reportschedules" },
48467
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ unknown$1() }),
48601
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48468
48602
  execute: (input, { client }) => {
48469
48603
  const data = input;
48470
48604
  return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
@@ -48491,15 +48625,17 @@ const generatedFocusOperations = [
48491
48625
  },
48492
48626
  mcp: { entityTool: "reportschedules" },
48493
48627
  inputSchema: /* @__PURE__ */ looseObject({
48494
- id: /* @__PURE__ */ unknown$1(),
48628
+ id: /* @__PURE__ */ number$2(),
48495
48629
  payload: /* @__PURE__ */ looseObject({
48496
48630
  cadence: /* @__PURE__ */ picklist$1([
48497
48631
  "daily",
48498
48632
  "weekly",
48499
48633
  "monthly"
48500
48634
  ]),
48635
+ charts: /* @__PURE__ */ unknown$1(),
48501
48636
  time: /* @__PURE__ */ string$1(),
48502
48637
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48638
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48503
48639
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48504
48640
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48505
48641
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -48528,11 +48664,11 @@ const generatedFocusOperations = [
48528
48664
  cli: {
48529
48665
  group: ["reportschedules"],
48530
48666
  command: "upsert-shared-report-schedule",
48531
- interactive: "hidden"
48667
+ interactive: "default"
48532
48668
  },
48533
48669
  mcp: { entityTool: "reportschedules" },
48534
48670
  inputSchema: /* @__PURE__ */ looseObject({
48535
- id: /* @__PURE__ */ unknown$1(),
48671
+ id: /* @__PURE__ */ number$2(),
48536
48672
  payload: /* @__PURE__ */ looseObject({
48537
48673
  cadence: /* @__PURE__ */ picklist$1([
48538
48674
  "daily",
@@ -48784,11 +48920,11 @@ const generatedFocusOperations = [
48784
48920
  cli: {
48785
48921
  group: ["sharedreports"],
48786
48922
  command: "add-shared-report-grants",
48787
- interactive: "hidden"
48923
+ interactive: "default"
48788
48924
  },
48789
48925
  mcp: { entityTool: "sharedreports" },
48790
48926
  inputSchema: /* @__PURE__ */ looseObject({
48791
- id: /* @__PURE__ */ unknown$1(),
48927
+ id: /* @__PURE__ */ number$2(),
48792
48928
  payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48793
48929
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48794
48930
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -48818,10 +48954,10 @@ const generatedFocusOperations = [
48818
48954
  cli: {
48819
48955
  group: ["sharedreports"],
48820
48956
  command: "get-saved-view-shared-report",
48821
- interactive: "hidden"
48957
+ interactive: "available"
48822
48958
  },
48823
48959
  mcp: { entityTool: "sharedreports" },
48824
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ unknown$1() }),
48960
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48825
48961
  execute: (input, { client }) => {
48826
48962
  const data = input;
48827
48963
  return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
@@ -48844,10 +48980,10 @@ const generatedFocusOperations = [
48844
48980
  cli: {
48845
48981
  group: ["sharedreports"],
48846
48982
  command: "get-shared-report-for-viewer",
48847
- interactive: "hidden"
48983
+ interactive: "available"
48848
48984
  },
48849
48985
  mcp: { entityTool: "sharedreports" },
48850
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ unknown$1() }),
48986
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48851
48987
  execute: (input, { client }) => {
48852
48988
  const data = input;
48853
48989
  return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
@@ -48914,12 +49050,12 @@ const generatedFocusOperations = [
48914
49050
  cli: {
48915
49051
  group: ["sharedreports"],
48916
49052
  command: "revoke-shared-report-grant",
48917
- interactive: "hidden"
49053
+ interactive: "default"
48918
49054
  },
48919
49055
  mcp: { entityTool: "sharedreports" },
48920
49056
  inputSchema: /* @__PURE__ */ looseObject({
48921
49057
  grant_id: /* @__PURE__ */ number$2(),
48922
- id: /* @__PURE__ */ unknown$1()
49058
+ id: /* @__PURE__ */ number$2()
48923
49059
  }),
48924
49060
  execute: (input, { client }) => {
48925
49061
  const data = input;
@@ -48948,7 +49084,7 @@ const generatedFocusOperations = [
48948
49084
  },
48949
49085
  mcp: { entityTool: "sharedreports" },
48950
49086
  inputSchema: /* @__PURE__ */ looseObject({
48951
- id: /* @__PURE__ */ unknown$1(),
49087
+ id: /* @__PURE__ */ number$2(),
48952
49088
  payload: /* @__PURE__ */ looseObject({
48953
49089
  charts: /* @__PURE__ */ unknown$1(),
48954
49090
  period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -48984,7 +49120,7 @@ const generatedFocusOperations = [
48984
49120
  },
48985
49121
  mcp: { entityTool: "sharedreports" },
48986
49122
  inputSchema: /* @__PURE__ */ looseObject({
48987
- id: /* @__PURE__ */ unknown$1(),
49123
+ id: /* @__PURE__ */ number$2(),
48988
49124
  payload: /* @__PURE__ */ looseObject({
48989
49125
  charts: /* @__PURE__ */ unknown$1(),
48990
49126
  grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
@@ -49377,10 +49513,10 @@ const generatedFocusOperations = [
49377
49513
  cli: {
49378
49514
  group: ["tags", "bulk"],
49379
49515
  command: "delete",
49380
- interactive: "hidden"
49516
+ interactive: "default"
49381
49517
  },
49382
49518
  mcp: { entityTool: "tags" },
49383
- inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ unknown$1() }),
49519
+ inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
49384
49520
  execute: (input, { client }) => {
49385
49521
  const data = input;
49386
49522
  return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
@@ -49784,7 +49920,7 @@ const generatedFocusOperations = [
49784
49920
  },
49785
49921
  mcp: { entityTool: "tasks" },
49786
49922
  inputSchema: /* @__PURE__ */ looseObject({
49787
- attachment_id: /* @__PURE__ */ number$2(),
49923
+ attachment_id: /* @__PURE__ */ string$1(),
49788
49924
  payload: /* @__PURE__ */ looseObject({
49789
49925
  display_order: /* @__PURE__ */ number$2(),
49790
49926
  name: /* @__PURE__ */ string$1()
@@ -50048,6 +50184,37 @@ const generatedFocusOperations = [
50048
50184
  return client.createTask(data);
50049
50185
  }
50050
50186
  },
50187
+ {
50188
+ id: "focus.tasks.create-recurring-occurrence",
50189
+ family: "focus",
50190
+ resource: "tasks",
50191
+ action: "create-recurring-occurrence",
50192
+ title: "Create Recurring Occurrence Tasks",
50193
+ description: "Create Recurring Occurrence Tasks.",
50194
+ safety: "create",
50195
+ destructive: false,
50196
+ cli: {
50197
+ group: ["tasks"],
50198
+ command: "create-recurring-occurrence",
50199
+ interactive: "default"
50200
+ },
50201
+ mcp: { entityTool: "tasks" },
50202
+ inputSchema: /* @__PURE__ */ looseObject({
50203
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50204
+ task_id: /* @__PURE__ */ number$2()
50205
+ }),
50206
+ execute: (input, { client }) => {
50207
+ const data = input;
50208
+ return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
50209
+ client.httpClient,
50210
+ client.organizationId,
50211
+ client.workspaceIdNumber,
50212
+ data.task_id,
50213
+ data.return_occurrence,
50214
+ void 0
50215
+ ]));
50216
+ }
50217
+ },
50051
50218
  {
50052
50219
  id: "focus.tasks.delete",
50053
50220
  family: "focus",
@@ -50112,11 +50279,11 @@ const generatedFocusOperations = [
50112
50279
  cli: {
50113
50280
  group: ["tasks", "estimate-allocations"],
50114
50281
  command: "delete",
50115
- interactive: "hidden"
50282
+ interactive: "default"
50116
50283
  },
50117
50284
  mcp: { entityTool: "tasks" },
50118
50285
  inputSchema: /* @__PURE__ */ looseObject({
50119
- id: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50286
+ id: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
50120
50287
  task_id: /* @__PURE__ */ number$2()
50121
50288
  }),
50122
50289
  execute: (input, { client }) => {
@@ -50295,9 +50462,13 @@ const generatedFocusOperations = [
50295
50462
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50296
50463
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50297
50464
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50465
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50466
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50298
50467
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50299
50468
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50469
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50300
50470
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50471
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50301
50472
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50302
50473
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50303
50474
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -50349,7 +50520,9 @@ const generatedFocusOperations = [
50349
50520
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50350
50521
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50351
50522
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50523
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50352
50524
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50525
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50353
50526
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50354
50527
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50355
50528
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -50358,7 +50531,9 @@ const generatedFocusOperations = [
50358
50531
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50359
50532
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50360
50533
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50534
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50361
50535
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50536
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50362
50537
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50363
50538
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50364
50539
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50488,12 +50663,18 @@ const generatedFocusOperations = [
50488
50663
  end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50489
50664
  end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50490
50665
  exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50491
- group: /* @__PURE__ */ unknown$1(),
50666
+ group: /* @__PURE__ */ picklist$1([
50667
+ "projects",
50668
+ "users",
50669
+ "tags"
50670
+ ]),
50492
50671
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50493
50672
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50494
50673
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50674
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50495
50675
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50496
50676
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50677
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50497
50678
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50498
50679
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50499
50680
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50502,6 +50683,8 @@ const generatedFocusOperations = [
50502
50683
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50503
50684
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50504
50685
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50686
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50687
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50505
50688
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50506
50689
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50507
50690
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50510,7 +50693,8 @@ const generatedFocusOperations = [
50510
50693
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50511
50694
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50512
50695
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50513
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50696
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50697
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50514
50698
  }),
50515
50699
  execute: (input, { client }) => {
50516
50700
  const data = input;
@@ -50552,13 +50736,17 @@ const generatedFocusOperations = [
50552
50736
  group_id: /* @__PURE__ */ number$2(),
50553
50737
  include_assignees: /* @__PURE__ */ unknown$1(),
50554
50738
  include_drafts: /* @__PURE__ */ unknown$1(),
50739
+ include_projected_occurrences: /* @__PURE__ */ unknown$1(),
50555
50740
  include_unassigned: /* @__PURE__ */ unknown$1(),
50556
50741
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
50742
+ max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
50557
50743
  min_days: /* @__PURE__ */ unknown$1(),
50558
50744
  name: /* @__PURE__ */ unknown$1(),
50559
50745
  priority: /* @__PURE__ */ unknown$1(),
50560
50746
  private_: /* @__PURE__ */ unknown$1(),
50561
50747
  project_id: /* @__PURE__ */ number$2(),
50748
+ recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
50749
+ recurring_task_read: /* @__PURE__ */ unknown$1(),
50562
50750
  source: /* @__PURE__ */ unknown$1(),
50563
50751
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
50564
50752
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -50567,7 +50755,8 @@ const generatedFocusOperations = [
50567
50755
  tag_id: /* @__PURE__ */ number$2(),
50568
50756
  team_id: /* @__PURE__ */ number$2(),
50569
50757
  user_cf_filter: /* @__PURE__ */ unknown$1(),
50570
- user_tag_id: /* @__PURE__ */ number$2()
50758
+ user_tag_id: /* @__PURE__ */ number$2(),
50759
+ xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
50571
50760
  }),
50572
50761
  execute: (input, { client }) => {
50573
50762
  const data = input;
@@ -50608,13 +50797,17 @@ const generatedFocusOperations = [
50608
50797
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50609
50798
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50610
50799
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50800
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50611
50801
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50612
50802
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50803
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50613
50804
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50614
50805
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50615
50806
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50616
50807
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50617
50808
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50809
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50810
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50618
50811
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50619
50812
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50620
50813
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50623,7 +50816,8 @@ const generatedFocusOperations = [
50623
50816
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50624
50817
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50625
50818
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50626
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50819
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50820
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50627
50821
  }),
50628
50822
  execute: (input, { client }) => {
50629
50823
  const data = input;
@@ -50652,7 +50846,11 @@ const generatedFocusOperations = [
50652
50846
  },
50653
50847
  mcp: { entityTool: "tasks" },
50654
50848
  inputSchema: /* @__PURE__ */ looseObject({
50655
- group: /* @__PURE__ */ unknown$1(),
50849
+ group: /* @__PURE__ */ picklist$1([
50850
+ "projects",
50851
+ "users",
50852
+ "tags"
50853
+ ]),
50656
50854
  payload: /* @__PURE__ */ unknown$1()
50657
50855
  }),
50658
50856
  execute: (input, { client }) => {
@@ -50885,12 +51083,13 @@ const generatedFocusOperations = [
50885
51083
  cli: {
50886
51084
  group: ["tasks"],
50887
51085
  command: "update-calendar-range",
50888
- interactive: "hidden"
51086
+ interactive: "default"
50889
51087
  },
50890
51088
  mcp: { entityTool: "tasks" },
50891
51089
  inputSchema: /* @__PURE__ */ looseObject({
50892
- date_from: /* @__PURE__ */ unknown$1(),
50893
- date_to: /* @__PURE__ */ unknown$1()
51090
+ date_from: /* @__PURE__ */ string$1(),
51091
+ date_to: /* @__PURE__ */ string$1(),
51092
+ skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
50894
51093
  }),
50895
51094
  execute: (input, { client }) => {
50896
51095
  const data = input;
@@ -50900,6 +51099,7 @@ const generatedFocusOperations = [
50900
51099
  client.workspaceIdNumber,
50901
51100
  data.date_from,
50902
51101
  data.date_to,
51102
+ data.skip_provider_refresh,
50903
51103
  void 0
50904
51104
  ]));
50905
51105
  }
@@ -51486,7 +51686,8 @@ const generatedFocusOperations = [
51486
51686
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
51487
51687
  "project",
51488
51688
  "task",
51489
- "description"
51689
+ "description",
51690
+ "tags"
51490
51691
  ]) })),
51491
51692
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51492
51693
  }) }),
@@ -51516,6 +51717,7 @@ const generatedFocusOperations = [
51516
51717
  },
51517
51718
  mcp: { entityTool: "time-entries" },
51518
51719
  inputSchema: /* @__PURE__ */ looseObject({
51720
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51519
51721
  payload: /* @__PURE__ */ looseObject({
51520
51722
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51521
51723
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -51526,11 +51728,13 @@ const generatedFocusOperations = [
51526
51728
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51527
51729
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51528
51730
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51731
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51529
51732
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
51530
51733
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51531
51734
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51532
51735
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51533
51736
  }),
51737
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51534
51738
  task_id: /* @__PURE__ */ number$2()
51535
51739
  }),
51536
51740
  execute: (input, { client }) => {
@@ -51541,6 +51745,8 @@ const generatedFocusOperations = [
51541
51745
  client.workspaceIdNumber,
51542
51746
  data.task_id,
51543
51747
  data.payload ?? data.data ?? data,
51748
+ data.from_recurring_task_id,
51749
+ data.return_occurrence,
51544
51750
  void 0
51545
51751
  ]));
51546
51752
  }
@@ -51560,21 +51766,26 @@ const generatedFocusOperations = [
51560
51766
  interactive: "default"
51561
51767
  },
51562
51768
  mcp: { entityTool: "time-entries" },
51563
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
51564
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51565
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51566
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51567
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51568
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51569
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51570
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51571
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51572
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51573
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
51574
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51575
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51576
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51577
- }) }),
51769
+ inputSchema: /* @__PURE__ */ looseObject({
51770
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51771
+ payload: /* @__PURE__ */ looseObject({
51772
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51773
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51774
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51775
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51776
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51777
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51778
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51779
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51780
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51781
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51782
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
51783
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51784
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51785
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51786
+ }),
51787
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51788
+ }),
51578
51789
  execute: (input, { client }) => {
51579
51790
  const data = input;
51580
51791
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -51582,6 +51793,8 @@ const generatedFocusOperations = [
51582
51793
  client.organizationId,
51583
51794
  client.workspaceIdNumber,
51584
51795
  data.payload ?? data.data ?? data,
51796
+ data.from_recurring_task_id,
51797
+ data.return_occurrence,
51585
51798
  void 0
51586
51799
  ]));
51587
51800
  }
@@ -51601,7 +51814,11 @@ const generatedFocusOperations = [
51601
51814
  interactive: "default"
51602
51815
  },
51603
51816
  mcp: { entityTool: "time-entries" },
51604
- inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
51817
+ inputSchema: /* @__PURE__ */ looseObject({
51818
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51819
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51820
+ time_entry_id: /* @__PURE__ */ number$2()
51821
+ }),
51605
51822
  execute: (input, { client }) => {
51606
51823
  const data = input;
51607
51824
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -51609,6 +51826,8 @@ const generatedFocusOperations = [
51609
51826
  client.organizationId,
51610
51827
  client.workspaceIdNumber,
51611
51828
  data.time_entry_id,
51829
+ data.from_recurring_task_id,
51830
+ data.return_occurrence,
51612
51831
  void 0
51613
51832
  ]));
51614
51833
  }
@@ -51689,6 +51908,7 @@ const generatedFocusOperations = [
51689
51908
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
51690
51909
  include_taskless: /* @__PURE__ */ unknown$1(),
51691
51910
  order_by: /* @__PURE__ */ unknown$1(),
51911
+ project_id: /* @__PURE__ */ number$2(),
51692
51912
  status_id: /* @__PURE__ */ number$2(),
51693
51913
  task_id: /* @__PURE__ */ number$2(),
51694
51914
  type: /* @__PURE__ */ unknown$1()
@@ -51865,12 +52085,14 @@ const generatedFocusOperations = [
51865
52085
  },
51866
52086
  mcp: { entityTool: "time-entries" },
51867
52087
  inputSchema: /* @__PURE__ */ looseObject({
52088
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51868
52089
  payload: /* @__PURE__ */ looseObject({
51869
52090
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51870
52091
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51871
52092
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51872
52093
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
51873
52094
  }),
52095
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51874
52096
  time_entry_id: /* @__PURE__ */ number$2()
51875
52097
  }),
51876
52098
  execute: (input, { client }) => {
@@ -51881,6 +52103,8 @@ const generatedFocusOperations = [
51881
52103
  client.workspaceIdNumber,
51882
52104
  data.time_entry_id,
51883
52105
  data.payload ?? data.data ?? data,
52106
+ data.from_recurring_task_id,
52107
+ data.return_occurrence,
51884
52108
  void 0
51885
52109
  ]));
51886
52110
  }
@@ -51997,11 +52221,11 @@ const generatedFocusOperations = [
51997
52221
  cli: {
51998
52222
  group: ["time-entries"],
51999
52223
  command: "sync",
52000
- interactive: "hidden"
52224
+ interactive: "default"
52001
52225
  },
52002
52226
  mcp: { entityTool: "time-entries" },
52003
52227
  inputSchema: /* @__PURE__ */ looseObject({
52004
- client_uuid: /* @__PURE__ */ unknown$1(),
52228
+ client_uuid: /* @__PURE__ */ string$1(),
52005
52229
  payload: /* @__PURE__ */ looseObject({
52006
52230
  billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
52007
52231
  client_updated_at: apiDateTimeString,
@@ -52138,6 +52362,7 @@ const generatedFocusOperations = [
52138
52362
  },
52139
52363
  mcp: { entityTool: "time-entries" },
52140
52364
  inputSchema: /* @__PURE__ */ looseObject({
52365
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52141
52366
  payload: /* @__PURE__ */ looseObject({
52142
52367
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
52143
52368
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -52150,6 +52375,7 @@ const generatedFocusOperations = [
52150
52375
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52151
52376
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
52152
52377
  }),
52378
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52153
52379
  time_entry_id: /* @__PURE__ */ number$2()
52154
52380
  }),
52155
52381
  execute: (input, { client }) => {
@@ -52160,6 +52386,8 @@ const generatedFocusOperations = [
52160
52386
  client.workspaceIdNumber,
52161
52387
  data.time_entry_id,
52162
52388
  data.payload ?? data.data ?? data,
52389
+ data.from_recurring_task_id,
52390
+ data.return_occurrence,
52163
52391
  void 0
52164
52392
  ]));
52165
52393
  }
@@ -53245,6 +53473,56 @@ const generatedFocusOperations = [
53245
53473
  return client.listOrgUsers(data);
53246
53474
  }
53247
53475
  },
53476
+ {
53477
+ id: "focus.users.settings-email-unsubscribe",
53478
+ family: "focus",
53479
+ resource: "users",
53480
+ action: "settings-email-unsubscribe",
53481
+ title: "Settings Email Unsubscribe Users",
53482
+ description: "Settings Email Unsubscribe Users.",
53483
+ safety: "update",
53484
+ destructive: false,
53485
+ cli: {
53486
+ group: ["users", "settings"],
53487
+ command: "email-unsubscribe",
53488
+ interactive: "default"
53489
+ },
53490
+ mcp: { entityTool: "users" },
53491
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53492
+ execute: (input, { client }) => {
53493
+ const data = input;
53494
+ return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
53495
+ client.httpClient,
53496
+ data.token,
53497
+ void 0
53498
+ ]));
53499
+ }
53500
+ },
53501
+ {
53502
+ id: "focus.users.settings-email-unsubscribe-page",
53503
+ family: "focus",
53504
+ resource: "users",
53505
+ action: "settings-email-unsubscribe-page",
53506
+ title: "Settings Email Unsubscribe Page Users",
53507
+ description: "Settings Email Unsubscribe Page Users.",
53508
+ safety: "read",
53509
+ destructive: false,
53510
+ cli: {
53511
+ group: ["users", "settings"],
53512
+ command: "email-unsubscribe-page",
53513
+ interactive: "available"
53514
+ },
53515
+ mcp: { entityTool: "users" },
53516
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53517
+ execute: (input, { client }) => {
53518
+ const data = input;
53519
+ return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
53520
+ client.httpClient,
53521
+ data.token,
53522
+ void 0
53523
+ ]));
53524
+ }
53525
+ },
53248
53526
  {
53249
53527
  id: "focus.users.settings-list",
53250
53528
  family: "focus",
@@ -53306,6 +53584,9 @@ const generatedFocusOperations = [
53306
53584
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53307
53585
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53308
53586
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53587
+ notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53588
+ notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53589
+ notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53309
53590
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53310
53591
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53311
53592
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -54849,7 +55130,7 @@ function registerWorkspaceTools(server) {
54849
55130
  //#region src/package-version.ts
54850
55131
  function mcpPackageVersion() {
54851
55132
  try {
54852
- return "1.11.3";
55133
+ return "1.11.5";
54853
55134
  } catch {
54854
55135
  return "unknown";
54855
55136
  }
@@ -55024,7 +55305,7 @@ import_main.default.config({
55024
55305
  quiet: true,
55025
55306
  ignore: ["MISSING_ENV_FILE"]
55026
55307
  });
55027
- const packageVersion = "1.11.3";
55308
+ const packageVersion = "1.11.5";
55028
55309
  function resolvePublicUrls() {
55029
55310
  return {
55030
55311
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -55089,4 +55370,4 @@ function bootstrapServer(options = {}) {
55089
55370
  //#endregion
55090
55371
  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 };
55091
55372
 
55092
- //# sourceMappingURL=src-C07Jqh7C.js.map
55373
+ //# sourceMappingURL=src-BSADtY46.js.map