@togglhq/cli 1.11.38 → 1.11.39

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.
package/build/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-C4sQRLwQ.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-CTc8Pv0t.js";
3
3
  import { readFileSync } from "node:fs";
4
4
  import { dirname, join } from "node:path";
5
5
  import { fileURLToPath } from "node:url";
package/build/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-C4sQRLwQ.js";
1
+ import { t as createProgram } from "./program-CTc8Pv0t.js";
2
2
  export { createProgram };
@@ -9143,6 +9143,7 @@ const TaskSchema = /* @__PURE__ */ object({
9143
9143
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9144
9144
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
9145
9145
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9146
+ 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."))),
9146
9147
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
9147
9148
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9148
9149
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -9204,6 +9205,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
9204
9205
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9205
9206
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
9206
9207
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9208
+ 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."))),
9207
9209
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
9208
9210
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9209
9211
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -9386,6 +9388,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
9386
9388
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9387
9389
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9388
9390
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9391
+ 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."))),
9392
+ 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."))),
9389
9393
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9390
9394
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9391
9395
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -9471,6 +9475,7 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
9471
9475
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9472
9476
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
9473
9477
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9478
+ filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9474
9479
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
9475
9480
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9476
9481
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
@@ -9550,6 +9555,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
9550
9555
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9551
9556
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9552
9557
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9558
+ 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."))),
9559
+ 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."))),
9553
9560
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9554
9561
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9555
9562
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -9780,6 +9787,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
9780
9787
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9781
9788
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9782
9789
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9790
+ 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."))),
9783
9791
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9784
9792
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9785
9793
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -9816,6 +9824,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
9816
9824
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9817
9825
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9818
9826
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9827
+ 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."))),
9819
9828
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9820
9829
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9821
9830
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -9979,7 +9988,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
9979
9988
  })
9980
9989
  }).json();
9981
9990
  }
9982
- async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
9991
+ async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
9983
9992
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
9984
9993
  signal,
9985
9994
  searchParams: buildSearchParams$2({
@@ -10000,6 +10009,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
10000
10009
  include_rates,
10001
10010
  pinned_ids,
10002
10011
  has_group,
10012
+ track_without_focus,
10003
10013
  cf_filter,
10004
10014
  include_custom_fields,
10005
10015
  include_calendar_integration
@@ -10101,10 +10111,18 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
10101
10111
  }
10102
10112
  //#endregion
10103
10113
  //#region ../focus-queries/dist/projects/requests.ts
10104
- async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
10114
+ async function getProjectsClassic(httpClient, organization_id, workspace_id, { include_task_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_name, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
10105
10115
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
10106
10116
  signal,
10107
10117
  searchParams: buildSearchParams$2({
10118
+ include_task_counts,
10119
+ task_archived,
10120
+ task_recurring,
10121
+ task_state,
10122
+ task_source,
10123
+ task_assignee_user_id,
10124
+ task_assignee_team_id,
10125
+ task_name,
10108
10126
  page,
10109
10127
  per_page,
10110
10128
  order_by,
@@ -10354,7 +10372,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10354
10372
  }
10355
10373
  //#endregion
10356
10374
  //#region ../focus-queries/dist/tasks/requests.ts
10357
- async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
10375
+ async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
10358
10376
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10359
10377
  signal,
10360
10378
  searchParams: buildSearchParams$2({
@@ -10405,7 +10423,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10405
10423
  include_assignees,
10406
10424
  include_parent_matches,
10407
10425
  disable_aggregations,
10408
- cf_filter
10426
+ cf_filter,
10427
+ recurring_occurrences_after,
10428
+ max_recurring_occurrences_after,
10429
+ recurring_task_read,
10430
+ include_projected_occurrences
10409
10431
  })
10410
10432
  }).json();
10411
10433
  }
@@ -10480,16 +10502,17 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
10480
10502
  })
10481
10503
  }).json();
10482
10504
  }
10483
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
10505
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
10484
10506
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
10485
10507
  signal,
10486
10508
  searchParams: buildSearchParams$2({
10487
10509
  date_from,
10488
- date_to
10510
+ date_to,
10511
+ skip_provider_refresh
10489
10512
  })
10490
10513
  }).json();
10491
10514
  }
10492
- async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
10515
+ async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
10493
10516
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
10494
10517
  signal,
10495
10518
  searchParams: buildSearchParams$2({
@@ -10505,11 +10528,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10505
10528
  assignee_team_id,
10506
10529
  assignee_user_id,
10507
10530
  tag_id,
10508
- include_assignees
10531
+ include_assignees,
10532
+ recurring_occurrences_after,
10533
+ max_recurring_occurrences_after,
10534
+ recurring_task_read,
10535
+ include_projected_occurrences
10509
10536
  })
10510
10537
  }).json();
10511
10538
  }
10512
- async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
10539
+ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
10513
10540
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10514
10541
  signal,
10515
10542
  searchParams: buildSearchParams$2({
@@ -10554,7 +10581,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10554
10581
  recurring_task_ids,
10555
10582
  client_id,
10556
10583
  include_assignees,
10557
- cf_filter
10584
+ cf_filter,
10585
+ recurring_occurrences_after,
10586
+ max_recurring_occurrences_after,
10587
+ recurring_task_read,
10588
+ include_projected_occurrences
10558
10589
  })
10559
10590
  }).json();
10560
10591
  }
@@ -10609,6 +10640,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
10609
10640
  })
10610
10641
  }).json();
10611
10642
  }
10643
+ async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
10644
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
10645
+ signal,
10646
+ searchParams: buildSearchParams$2({ return_occurrence })
10647
+ }).json();
10648
+ }
10612
10649
  async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
10613
10650
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
10614
10651
  signal,
@@ -10745,16 +10782,24 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
10745
10782
  })
10746
10783
  }).json();
10747
10784
  }
10748
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
10785
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
10749
10786
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
10750
10787
  signal,
10751
- json: data
10788
+ json: data,
10789
+ searchParams: buildSearchParams$2({
10790
+ from_recurring_task_id,
10791
+ return_occurrence
10792
+ })
10752
10793
  }).json();
10753
10794
  }
10754
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
10795
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
10755
10796
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
10756
10797
  signal,
10757
- json: data
10798
+ json: data,
10799
+ searchParams: buildSearchParams$2({
10800
+ from_recurring_task_id,
10801
+ return_occurrence
10802
+ })
10758
10803
  }).json();
10759
10804
  }
10760
10805
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -10805,7 +10850,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
10805
10850
  json: data
10806
10851
  }).json();
10807
10852
  }
10808
- async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
10853
+ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, project_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
10809
10854
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
10810
10855
  signal,
10811
10856
  searchParams: buildSearchParams$2({
@@ -10813,6 +10858,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
10813
10858
  date_to,
10814
10859
  task_id,
10815
10860
  status_id,
10861
+ project_id,
10816
10862
  type,
10817
10863
  order_by,
10818
10864
  archived,
@@ -10836,19 +10882,33 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
10836
10882
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
10837
10883
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
10838
10884
  }
10839
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10885
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10840
10886
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10841
10887
  signal,
10842
- json: data
10888
+ json: data,
10889
+ searchParams: buildSearchParams$2({
10890
+ from_recurring_task_id,
10891
+ return_occurrence
10892
+ })
10843
10893
  }).json();
10844
10894
  }
10845
- async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
10846
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
10895
+ async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
10896
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10897
+ signal,
10898
+ searchParams: buildSearchParams$2({
10899
+ from_recurring_task_id,
10900
+ return_occurrence
10901
+ })
10902
+ }).json();
10847
10903
  }
10848
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10904
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10849
10905
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10850
10906
  signal,
10851
- json: data
10907
+ json: data,
10908
+ searchParams: buildSearchParams$2({
10909
+ from_recurring_task_id,
10910
+ return_occurrence
10911
+ })
10852
10912
  }).json();
10853
10913
  }
10854
10914
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -14694,13 +14754,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
14694
14754
  }
14695
14755
  //#endregion
14696
14756
  //#region ../focus-queries/dist/audit-log/requests.ts
14697
- async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14757
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14698
14758
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
14699
14759
  signal,
14700
14760
  searchParams: buildSearchParams$2({
14701
14761
  workspace_id,
14702
14762
  entity_type,
14703
14763
  entity_id,
14764
+ project_id,
14765
+ custom_field_id,
14704
14766
  action,
14705
14767
  user_id,
14706
14768
  page_size,
@@ -14709,12 +14771,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
14709
14771
  })
14710
14772
  }).json();
14711
14773
  }
14712
- async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14774
+ async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14713
14775
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
14714
14776
  signal,
14715
14777
  searchParams: buildSearchParams$2({
14716
14778
  entity_type,
14717
14779
  entity_id,
14780
+ project_id,
14781
+ custom_field_id,
14718
14782
  action,
14719
14783
  user_id,
14720
14784
  page_size,
@@ -14867,13 +14931,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
14867
14931
  }
14868
14932
  //#endregion
14869
14933
  //#region ../focus-queries/dist/capacities/requests.ts
14870
- 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) {
14934
+ 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) {
14871
14935
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
14872
14936
  signal,
14873
14937
  searchParams: buildSearchParams$2({
14874
- user_id,
14875
14938
  start_date,
14876
14939
  end_date,
14940
+ user_id,
14941
+ team_id,
14877
14942
  private: private_,
14878
14943
  task_source,
14879
14944
  unit,
@@ -14933,6 +14998,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
14933
14998
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
14934
14999
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
14935
15000
  }
15001
+ async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
15002
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
15003
+ }
15004
+ async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
15005
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
15006
+ signal,
15007
+ json: data
15008
+ }).json();
15009
+ }
14936
15010
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
14937
15011
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
14938
15012
  signal,
@@ -15196,7 +15270,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
15196
15270
  }
15197
15271
  //#endregion
15198
15272
  //#region ../focus-queries/dist/project-groups/requests.ts
15199
- async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, cf_filter } = {}, signal) {
15273
+ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, include_recurring_series, cf_filter } = {}, signal) {
15200
15274
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
15201
15275
  signal,
15202
15276
  searchParams: buildSearchParams$2({
@@ -15222,6 +15296,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
15222
15296
  user_id,
15223
15297
  only_me,
15224
15298
  include_drafts,
15299
+ include_recurring_series,
15225
15300
  cf_filter
15226
15301
  })
15227
15302
  }).json();
@@ -15240,9 +15315,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
15240
15315
  json: data
15241
15316
  }).json();
15242
15317
  }
15243
- async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
15244
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
15245
- }
15246
15318
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
15247
15319
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
15248
15320
  }
@@ -15546,9 +15618,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
15546
15618
  }
15547
15619
  //#endregion
15548
15620
  //#region ../focus-queries/dist/task-groups/requests.ts
15549
- 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) {
15621
+ 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) {
15550
15622
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
15551
15623
  signal,
15624
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15552
15625
  searchParams: buildSearchParams$2({
15553
15626
  project_id,
15554
15627
  source,
@@ -15577,13 +15650,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
15577
15650
  min_days,
15578
15651
  include_drafts,
15579
15652
  cf_filter,
15580
- user_cf_filter
15653
+ user_cf_filter,
15654
+ recurring_occurrences_after,
15655
+ max_recurring_occurrences_after,
15656
+ recurring_task_read,
15657
+ include_projected_occurrences
15581
15658
  })
15582
15659
  }).json();
15583
15660
  }
15584
- 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) {
15661
+ 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) {
15585
15662
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
15586
15663
  signal,
15664
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15587
15665
  searchParams: buildSearchParams$2({
15588
15666
  team_id,
15589
15667
  project_id,
@@ -15612,13 +15690,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
15612
15690
  min_days,
15613
15691
  include_drafts,
15614
15692
  cf_filter,
15615
- user_cf_filter
15693
+ user_cf_filter,
15694
+ recurring_occurrences_after,
15695
+ max_recurring_occurrences_after,
15696
+ recurring_task_read,
15697
+ include_projected_occurrences
15616
15698
  })
15617
15699
  }).json();
15618
15700
  }
15619
- 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) {
15701
+ 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) {
15620
15702
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
15621
15703
  signal,
15704
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15622
15705
  searchParams: buildSearchParams$2({
15623
15706
  source,
15624
15707
  priority,
@@ -15648,6 +15731,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
15648
15731
  include_drafts,
15649
15732
  cf_filter,
15650
15733
  user_cf_filter,
15734
+ recurring_occurrences_after,
15735
+ max_recurring_occurrences_after,
15736
+ recurring_task_read,
15737
+ include_projected_occurrences,
15651
15738
  page,
15652
15739
  per_page,
15653
15740
  order_by
@@ -15839,6 +15926,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
15839
15926
  json: data
15840
15927
  }).json();
15841
15928
  }
15929
+ async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
15930
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
15931
+ signal,
15932
+ searchParams: buildSearchParams$2({
15933
+ date_from,
15934
+ date_to,
15935
+ setup_id,
15936
+ user_account_ids,
15937
+ approver_user_account_ids,
15938
+ team_ids
15939
+ })
15940
+ }).json();
15941
+ }
15842
15942
  async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
15843
15943
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
15844
15944
  }
@@ -15882,7 +15982,21 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
15882
15982
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
15883
15983
  }
15884
15984
  //#endregion
15985
+ //#region ../focus-queries/dist/track-team-invites/requests.ts
15986
+ async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
15987
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
15988
+ signal,
15989
+ json: data
15990
+ }).json();
15991
+ }
15992
+ //#endregion
15885
15993
  //#region ../focus-queries/dist/user-settings/requests.ts
15994
+ async function emailUnsubscribePage(httpClient, token, signal) {
15995
+ return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
15996
+ }
15997
+ async function emailUnsubscribe(httpClient, token, signal) {
15998
+ return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
15999
+ }
15886
16000
  async function getUserSettings(httpClient, signal) {
15887
16001
  return await httpClient.get(`users/me/settings`, { signal }).json();
15888
16002
  }
@@ -16122,6 +16236,7 @@ const generatedFocusOperations = [
16122
16236
  mcp: { entityTool: "audit-log" },
16123
16237
  inputSchema: /* @__PURE__ */ looseObject({
16124
16238
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16239
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16125
16240
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16126
16241
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16127
16242
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16129,6 +16244,7 @@ const generatedFocusOperations = [
16129
16244
  from: /* @__PURE__ */ string$1(),
16130
16245
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16131
16246
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16247
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16132
16248
  to: /* @__PURE__ */ string$1(),
16133
16249
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16134
16250
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -16162,6 +16278,7 @@ const generatedFocusOperations = [
16162
16278
  mcp: { entityTool: "audit-log" },
16163
16279
  inputSchema: /* @__PURE__ */ looseObject({
16164
16280
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16281
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16165
16282
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16166
16283
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16167
16284
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16169,6 +16286,7 @@ const generatedFocusOperations = [
16169
16286
  from: /* @__PURE__ */ string$1(),
16170
16287
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16171
16288
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16289
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16172
16290
  to: /* @__PURE__ */ string$1(),
16173
16291
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16174
16292
  }),
@@ -16208,6 +16326,7 @@ const generatedFocusOperations = [
16208
16326
  private_: /* @__PURE__ */ unknown$1(),
16209
16327
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16210
16328
  task_source: /* @__PURE__ */ unknown$1(),
16329
+ team_id: /* @__PURE__ */ number$2(),
16211
16330
  unit: /* @__PURE__ */ unknown$1(),
16212
16331
  user_id: /* @__PURE__ */ number$2()
16213
16332
  }),
@@ -16648,6 +16767,33 @@ const generatedFocusOperations = [
16648
16767
  ]));
16649
16768
  }
16650
16769
  },
16770
+ {
16771
+ id: "focus.custom-fields.get-allowed-users",
16772
+ family: "focus",
16773
+ resource: "custom-fields",
16774
+ action: "get-allowed-users",
16775
+ title: "Get Allowed Users Custom Fields",
16776
+ description: "Get Allowed Users Custom Fields.",
16777
+ safety: "read",
16778
+ destructive: false,
16779
+ cli: {
16780
+ group: ["custom-fields"],
16781
+ command: "get-allowed-users",
16782
+ interactive: "available"
16783
+ },
16784
+ mcp: { entityTool: "custom-fields" },
16785
+ inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
16786
+ execute: (input, { client }) => {
16787
+ const data = input;
16788
+ return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
16789
+ client.httpClient,
16790
+ client.organizationId,
16791
+ client.workspaceIdNumber,
16792
+ data.custom_field_id,
16793
+ void 0
16794
+ ]));
16795
+ }
16796
+ },
16651
16797
  {
16652
16798
  id: "focus.custom-fields.list",
16653
16799
  family: "focus",
@@ -16817,6 +16963,37 @@ const generatedFocusOperations = [
16817
16963
  ]));
16818
16964
  }
16819
16965
  },
16966
+ {
16967
+ id: "focus.custom-fields.replace-custom-field-allowed-users",
16968
+ family: "focus",
16969
+ resource: "custom-fields",
16970
+ action: "replace-custom-field-allowed-users",
16971
+ title: "Replace Custom Field Allowed Users Custom Fields",
16972
+ description: "Replace Custom Field Allowed Users Custom Fields.",
16973
+ safety: "update",
16974
+ destructive: false,
16975
+ cli: {
16976
+ group: ["custom-fields"],
16977
+ command: "replace-custom-field-allowed-users",
16978
+ interactive: "default"
16979
+ },
16980
+ mcp: { entityTool: "custom-fields" },
16981
+ inputSchema: /* @__PURE__ */ looseObject({
16982
+ custom_field_id: /* @__PURE__ */ number$2(),
16983
+ payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
16984
+ }),
16985
+ execute: (input, { client }) => {
16986
+ const data = input;
16987
+ return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
16988
+ client.httpClient,
16989
+ client.organizationId,
16990
+ client.workspaceIdNumber,
16991
+ data.custom_field_id,
16992
+ data.payload ?? data.data ?? data,
16993
+ void 0
16994
+ ]));
16995
+ }
16996
+ },
16820
16997
  {
16821
16998
  id: "focus.custom-fields.update",
16822
16999
  family: "focus",
@@ -16963,13 +17140,7 @@ const generatedFocusOperations = [
16963
17140
  },
16964
17141
  mcp: { entityTool: "goals" },
16965
17142
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16966
- billable: /* @__PURE__ */ boolean$1(),
16967
17143
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
16968
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16969
- icon: /* @__PURE__ */ string$1(),
16970
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
16971
- name: /* @__PURE__ */ string$1(),
16972
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16973
17144
  recurrence: /* @__PURE__ */ picklist$1([
16974
17145
  "daily",
16975
17146
  "weekly",
@@ -16977,12 +17148,18 @@ const generatedFocusOperations = [
16977
17148
  "monthly"
16978
17149
  ]),
16979
17150
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16980
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16981
17151
  target_seconds: /* @__PURE__ */ number$2(),
16982
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16983
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17152
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16984
17153
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16985
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
17154
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17155
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17156
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17157
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
17158
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17159
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17160
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17161
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17162
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16986
17163
  }) }),
16987
17164
  execute: (input, { client }) => {
16988
17165
  const data = input;
@@ -17088,13 +17265,6 @@ const generatedFocusOperations = [
17088
17265
  },
17089
17266
  mcp: { entityTool: "goals" },
17090
17267
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
17091
- billable: /* @__PURE__ */ boolean$1(),
17092
- comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
17093
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
17094
- icon: /* @__PURE__ */ string$1(),
17095
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
17096
- name: /* @__PURE__ */ string$1(),
17097
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17098
17268
  recurrence: /* @__PURE__ */ picklist$1([
17099
17269
  "daily",
17100
17270
  "weekly",
@@ -17102,12 +17272,19 @@ const generatedFocusOperations = [
17102
17272
  "monthly"
17103
17273
  ]),
17104
17274
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
17105
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17106
- target_seconds: /* @__PURE__ */ number$2(),
17107
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17108
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17275
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17109
17276
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17110
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
17277
+ comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
17278
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17279
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17280
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17281
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
17282
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17283
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17284
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17285
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
17286
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17287
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
17111
17288
  }) }),
17112
17289
  execute: (input, { client }) => {
17113
17290
  const data = input;
@@ -18074,9 +18251,17 @@ const generatedFocusOperations = [
18074
18251
  mcp: { entityTool: "projects" },
18075
18252
  inputSchema: /* @__PURE__ */ looseObject({
18076
18253
  payload: /* @__PURE__ */ looseObject({
18254
+ auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18255
+ completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
18077
18256
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
18078
18257
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18079
18258
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18259
+ rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
18260
+ "expire",
18261
+ "carry_all",
18262
+ "carry_over"
18263
+ ])),
18264
+ rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18080
18265
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
18081
18266
  }),
18082
18267
  project_id: /* @__PURE__ */ number$2()
@@ -18520,6 +18705,7 @@ const generatedFocusOperations = [
18520
18705
  group: /* @__PURE__ */ string$1(),
18521
18706
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18522
18707
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18708
+ include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18523
18709
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18524
18710
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18525
18711
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -18622,29 +18808,6 @@ const generatedFocusOperations = [
18622
18808
  ]));
18623
18809
  }
18624
18810
  },
18625
- {
18626
- id: "focus.projects.margin-targets-clear-workspace",
18627
- family: "focus",
18628
- resource: "projects",
18629
- action: "margin-targets-clear-workspace",
18630
- title: "Margin Targets Clear Workspace Projects",
18631
- description: "Margin Targets Clear Workspace Projects.",
18632
- safety: "delete",
18633
- destructive: true,
18634
- cli: {
18635
- group: ["projects", "margin-targets"],
18636
- command: "clear-workspace",
18637
- interactive: "default"
18638
- },
18639
- mcp: { entityTool: "projects" },
18640
- inputSchema: /* @__PURE__ */ looseObject({}),
18641
- execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
18642
- client.httpClient,
18643
- client.organizationId,
18644
- client.workspaceIdNumber,
18645
- void 0
18646
- ]))
18647
- },
18648
18811
  {
18649
18812
  id: "focus.projects.margin-targets-get",
18650
18813
  family: "focus",
@@ -21047,7 +21210,7 @@ const generatedFocusOperations = [
21047
21210
  cli: {
21048
21211
  group: ["reportschedules"],
21049
21212
  command: "upsert-saved-view-schedule",
21050
- interactive: "default"
21213
+ interactive: "hidden"
21051
21214
  },
21052
21215
  mcp: { entityTool: "reportschedules" },
21053
21216
  inputSchema: /* @__PURE__ */ looseObject({
@@ -21058,8 +21221,10 @@ const generatedFocusOperations = [
21058
21221
  "weekly",
21059
21222
  "monthly"
21060
21223
  ]),
21224
+ charts: /* @__PURE__ */ unknown$1(),
21061
21225
  time: /* @__PURE__ */ string$1(),
21062
21226
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21227
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21063
21228
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21064
21229
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21065
21230
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -22608,6 +22773,37 @@ const generatedFocusOperations = [
22608
22773
  return client.createTask(data);
22609
22774
  }
22610
22775
  },
22776
+ {
22777
+ id: "focus.tasks.create-recurring-occurrence",
22778
+ family: "focus",
22779
+ resource: "tasks",
22780
+ action: "create-recurring-occurrence",
22781
+ title: "Create Recurring Occurrence Tasks",
22782
+ description: "Create Recurring Occurrence Tasks.",
22783
+ safety: "create",
22784
+ destructive: false,
22785
+ cli: {
22786
+ group: ["tasks"],
22787
+ command: "create-recurring-occurrence",
22788
+ interactive: "default"
22789
+ },
22790
+ mcp: { entityTool: "tasks" },
22791
+ inputSchema: /* @__PURE__ */ looseObject({
22792
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22793
+ task_id: /* @__PURE__ */ number$2()
22794
+ }),
22795
+ execute: (input, { client }) => {
22796
+ const data = input;
22797
+ return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
22798
+ client.httpClient,
22799
+ client.organizationId,
22800
+ client.workspaceIdNumber,
22801
+ data.task_id,
22802
+ data.return_occurrence,
22803
+ void 0
22804
+ ]));
22805
+ }
22806
+ },
22611
22807
  {
22612
22808
  id: "focus.tasks.delete",
22613
22809
  family: "focus",
@@ -22855,9 +23051,13 @@ const generatedFocusOperations = [
22855
23051
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22856
23052
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22857
23053
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23054
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23055
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22858
23056
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22859
23057
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23058
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22860
23059
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23060
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22861
23061
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22862
23062
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
22863
23063
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -22909,7 +23109,9 @@ const generatedFocusOperations = [
22909
23109
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22910
23110
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22911
23111
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23112
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22912
23113
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23114
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22913
23115
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22914
23116
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22915
23117
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -22918,7 +23120,9 @@ const generatedFocusOperations = [
22918
23120
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22919
23121
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22920
23122
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23123
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22921
23124
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23125
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22922
23126
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22923
23127
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22924
23128
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23056,8 +23260,10 @@ const generatedFocusOperations = [
23056
23260
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23057
23261
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23058
23262
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23263
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23059
23264
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23060
23265
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23266
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23061
23267
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23062
23268
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23063
23269
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23066,6 +23272,8 @@ const generatedFocusOperations = [
23066
23272
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23067
23273
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23068
23274
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23275
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23276
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23069
23277
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23070
23278
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23071
23279
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23074,7 +23282,8 @@ const generatedFocusOperations = [
23074
23282
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
23075
23283
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23076
23284
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23077
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23285
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23286
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23078
23287
  }),
23079
23288
  execute: (input, { client }) => {
23080
23289
  const data = input;
@@ -23116,13 +23325,17 @@ const generatedFocusOperations = [
23116
23325
  group_id: /* @__PURE__ */ number$2(),
23117
23326
  include_assignees: /* @__PURE__ */ unknown$1(),
23118
23327
  include_drafts: /* @__PURE__ */ unknown$1(),
23328
+ include_projected_occurrences: /* @__PURE__ */ unknown$1(),
23119
23329
  include_unassigned: /* @__PURE__ */ unknown$1(),
23120
23330
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
23331
+ max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23121
23332
  min_days: /* @__PURE__ */ unknown$1(),
23122
23333
  name: /* @__PURE__ */ unknown$1(),
23123
23334
  priority: /* @__PURE__ */ unknown$1(),
23124
23335
  private_: /* @__PURE__ */ unknown$1(),
23125
23336
  project_id: /* @__PURE__ */ number$2(),
23337
+ recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23338
+ recurring_task_read: /* @__PURE__ */ unknown$1(),
23126
23339
  source: /* @__PURE__ */ unknown$1(),
23127
23340
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23128
23341
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -23131,7 +23344,8 @@ const generatedFocusOperations = [
23131
23344
  tag_id: /* @__PURE__ */ number$2(),
23132
23345
  team_id: /* @__PURE__ */ number$2(),
23133
23346
  user_cf_filter: /* @__PURE__ */ unknown$1(),
23134
- user_tag_id: /* @__PURE__ */ number$2()
23347
+ user_tag_id: /* @__PURE__ */ number$2(),
23348
+ xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
23135
23349
  }),
23136
23350
  execute: (input, { client }) => {
23137
23351
  const data = input;
@@ -23172,13 +23386,17 @@ const generatedFocusOperations = [
23172
23386
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23173
23387
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23174
23388
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23389
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23175
23390
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23176
23391
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23392
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23177
23393
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23178
23394
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23179
23395
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23180
23396
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23181
23397
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23398
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23399
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23182
23400
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23183
23401
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23184
23402
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23187,7 +23405,8 @@ const generatedFocusOperations = [
23187
23405
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23188
23406
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23189
23407
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23190
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23408
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23409
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23191
23410
  }),
23192
23411
  execute: (input, { client }) => {
23193
23412
  const data = input;
@@ -23458,7 +23677,8 @@ const generatedFocusOperations = [
23458
23677
  mcp: { entityTool: "tasks" },
23459
23678
  inputSchema: /* @__PURE__ */ looseObject({
23460
23679
  date_from: /* @__PURE__ */ string$1(),
23461
- date_to: /* @__PURE__ */ string$1()
23680
+ date_to: /* @__PURE__ */ string$1(),
23681
+ skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23462
23682
  }),
23463
23683
  execute: (input, { client }) => {
23464
23684
  const data = input;
@@ -23468,6 +23688,7 @@ const generatedFocusOperations = [
23468
23688
  client.workspaceIdNumber,
23469
23689
  data.date_from,
23470
23690
  data.date_to,
23691
+ data.skip_provider_refresh,
23471
23692
  void 0
23472
23693
  ]));
23473
23694
  }
@@ -24054,7 +24275,8 @@ const generatedFocusOperations = [
24054
24275
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
24055
24276
  "project",
24056
24277
  "task",
24057
- "description"
24278
+ "description",
24279
+ "tags"
24058
24280
  ]) })),
24059
24281
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24060
24282
  }) }),
@@ -24084,6 +24306,7 @@ const generatedFocusOperations = [
24084
24306
  },
24085
24307
  mcp: { entityTool: "time-entries" },
24086
24308
  inputSchema: /* @__PURE__ */ looseObject({
24309
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24087
24310
  payload: /* @__PURE__ */ looseObject({
24088
24311
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24089
24312
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -24094,11 +24317,13 @@ const generatedFocusOperations = [
24094
24317
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24095
24318
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24096
24319
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24320
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24097
24321
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
24098
24322
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24099
24323
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24100
24324
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24101
24325
  }),
24326
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24102
24327
  task_id: /* @__PURE__ */ number$2()
24103
24328
  }),
24104
24329
  execute: (input, { client }) => {
@@ -24109,6 +24334,8 @@ const generatedFocusOperations = [
24109
24334
  client.workspaceIdNumber,
24110
24335
  data.task_id,
24111
24336
  data.payload ?? data.data ?? data,
24337
+ data.from_recurring_task_id,
24338
+ data.return_occurrence,
24112
24339
  void 0
24113
24340
  ]));
24114
24341
  }
@@ -24128,21 +24355,26 @@ const generatedFocusOperations = [
24128
24355
  interactive: "default"
24129
24356
  },
24130
24357
  mcp: { entityTool: "time-entries" },
24131
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
24132
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24133
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24134
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24135
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24136
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24137
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24138
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24139
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24140
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24141
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
24142
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24143
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24144
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24145
- }) }),
24358
+ inputSchema: /* @__PURE__ */ looseObject({
24359
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24360
+ payload: /* @__PURE__ */ looseObject({
24361
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24362
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24363
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24364
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24365
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24366
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24367
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24368
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24369
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24370
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24371
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
24372
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24373
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24374
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24375
+ }),
24376
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24377
+ }),
24146
24378
  execute: (input, { client }) => {
24147
24379
  const data = input;
24148
24380
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -24150,6 +24382,8 @@ const generatedFocusOperations = [
24150
24382
  client.organizationId,
24151
24383
  client.workspaceIdNumber,
24152
24384
  data.payload ?? data.data ?? data,
24385
+ data.from_recurring_task_id,
24386
+ data.return_occurrence,
24153
24387
  void 0
24154
24388
  ]));
24155
24389
  }
@@ -24169,7 +24403,11 @@ const generatedFocusOperations = [
24169
24403
  interactive: "default"
24170
24404
  },
24171
24405
  mcp: { entityTool: "time-entries" },
24172
- inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
24406
+ inputSchema: /* @__PURE__ */ looseObject({
24407
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24408
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24409
+ time_entry_id: /* @__PURE__ */ number$2()
24410
+ }),
24173
24411
  execute: (input, { client }) => {
24174
24412
  const data = input;
24175
24413
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -24177,6 +24415,8 @@ const generatedFocusOperations = [
24177
24415
  client.organizationId,
24178
24416
  client.workspaceIdNumber,
24179
24417
  data.time_entry_id,
24418
+ data.from_recurring_task_id,
24419
+ data.return_occurrence,
24180
24420
  void 0
24181
24421
  ]));
24182
24422
  }
@@ -24257,6 +24497,7 @@ const generatedFocusOperations = [
24257
24497
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
24258
24498
  include_taskless: /* @__PURE__ */ unknown$1(),
24259
24499
  order_by: /* @__PURE__ */ unknown$1(),
24500
+ project_id: /* @__PURE__ */ number$2(),
24260
24501
  status_id: /* @__PURE__ */ number$2(),
24261
24502
  task_id: /* @__PURE__ */ number$2(),
24262
24503
  type: /* @__PURE__ */ unknown$1()
@@ -24433,12 +24674,14 @@ const generatedFocusOperations = [
24433
24674
  },
24434
24675
  mcp: { entityTool: "time-entries" },
24435
24676
  inputSchema: /* @__PURE__ */ looseObject({
24677
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24436
24678
  payload: /* @__PURE__ */ looseObject({
24437
24679
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24438
24680
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24439
24681
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24440
24682
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
24441
24683
  }),
24684
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24442
24685
  time_entry_id: /* @__PURE__ */ number$2()
24443
24686
  }),
24444
24687
  execute: (input, { client }) => {
@@ -24449,6 +24692,8 @@ const generatedFocusOperations = [
24449
24692
  client.workspaceIdNumber,
24450
24693
  data.time_entry_id,
24451
24694
  data.payload ?? data.data ?? data,
24695
+ data.from_recurring_task_id,
24696
+ data.return_occurrence,
24452
24697
  void 0
24453
24698
  ]));
24454
24699
  }
@@ -24706,6 +24951,7 @@ const generatedFocusOperations = [
24706
24951
  },
24707
24952
  mcp: { entityTool: "time-entries" },
24708
24953
  inputSchema: /* @__PURE__ */ looseObject({
24954
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24709
24955
  payload: /* @__PURE__ */ looseObject({
24710
24956
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24711
24957
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -24718,6 +24964,7 @@ const generatedFocusOperations = [
24718
24964
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24719
24965
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
24720
24966
  }),
24967
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24721
24968
  time_entry_id: /* @__PURE__ */ number$2()
24722
24969
  }),
24723
24970
  execute: (input, { client }) => {
@@ -24728,6 +24975,8 @@ const generatedFocusOperations = [
24728
24975
  client.workspaceIdNumber,
24729
24976
  data.time_entry_id,
24730
24977
  data.payload ?? data.data ?? data,
24978
+ data.from_recurring_task_id,
24979
+ data.return_occurrence,
24731
24980
  void 0
24732
24981
  ]));
24733
24982
  }
@@ -25243,6 +25492,40 @@ const generatedFocusOperations = [
25243
25492
  ]));
25244
25493
  }
25245
25494
  },
25495
+ {
25496
+ id: "focus.timesheets.get-status-counts",
25497
+ family: "focus",
25498
+ resource: "timesheets",
25499
+ action: "get-status-counts",
25500
+ title: "Get Status Counts Timesheets",
25501
+ description: "Get Status Counts Timesheets.",
25502
+ safety: "read",
25503
+ destructive: false,
25504
+ cli: {
25505
+ group: ["timesheets"],
25506
+ command: "get-status-counts",
25507
+ interactive: "hidden"
25508
+ },
25509
+ mcp: { entityTool: "timesheets" },
25510
+ inputSchema: /* @__PURE__ */ looseObject({
25511
+ approver_user_account_ids: /* @__PURE__ */ unknown$1(),
25512
+ date_from: /* @__PURE__ */ unknown$1(),
25513
+ date_to: /* @__PURE__ */ unknown$1(),
25514
+ setup_id: /* @__PURE__ */ number$2(),
25515
+ team_ids: /* @__PURE__ */ unknown$1(),
25516
+ user_account_ids: /* @__PURE__ */ unknown$1()
25517
+ }),
25518
+ execute: (input, { client }) => {
25519
+ const data = input;
25520
+ return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
25521
+ client.httpClient,
25522
+ client.organizationId,
25523
+ client.workspaceIdNumber,
25524
+ data,
25525
+ void 0
25526
+ ]));
25527
+ }
25528
+ },
25246
25529
  {
25247
25530
  id: "focus.timesheets.remove-timesheet-flag",
25248
25531
  family: "focus",
@@ -25792,6 +26075,33 @@ const generatedFocusOperations = [
25792
26075
  ]));
25793
26076
  }
25794
26077
  },
26078
+ {
26079
+ id: "focus.track-team-invites.post",
26080
+ family: "focus",
26081
+ resource: "track-team-invites",
26082
+ action: "post",
26083
+ title: "Post Track Team Invites",
26084
+ description: "Post Track Team Invites.",
26085
+ safety: "create",
26086
+ destructive: false,
26087
+ cli: {
26088
+ group: ["track-team-invites"],
26089
+ command: "post",
26090
+ interactive: "default"
26091
+ },
26092
+ mcp: { entityTool: "track-team-invites" },
26093
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
26094
+ execute: (input, { client }) => {
26095
+ const data = input;
26096
+ return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
26097
+ client.httpClient,
26098
+ client.organizationId,
26099
+ client.workspaceIdNumber,
26100
+ data.payload ?? data.data ?? data,
26101
+ void 0
26102
+ ]));
26103
+ }
26104
+ },
25795
26105
  {
25796
26106
  id: "focus.users.list",
25797
26107
  family: "focus",
@@ -25813,6 +26123,56 @@ const generatedFocusOperations = [
25813
26123
  return client.listOrgUsers(data);
25814
26124
  }
25815
26125
  },
26126
+ {
26127
+ id: "focus.users.settings-email-unsubscribe",
26128
+ family: "focus",
26129
+ resource: "users",
26130
+ action: "settings-email-unsubscribe",
26131
+ title: "Settings Email Unsubscribe Users",
26132
+ description: "Settings Email Unsubscribe Users.",
26133
+ safety: "update",
26134
+ destructive: false,
26135
+ cli: {
26136
+ group: ["users", "settings"],
26137
+ command: "email-unsubscribe",
26138
+ interactive: "default"
26139
+ },
26140
+ mcp: { entityTool: "users" },
26141
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
26142
+ execute: (input, { client }) => {
26143
+ const data = input;
26144
+ return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
26145
+ client.httpClient,
26146
+ data.token,
26147
+ void 0
26148
+ ]));
26149
+ }
26150
+ },
26151
+ {
26152
+ id: "focus.users.settings-email-unsubscribe-page",
26153
+ family: "focus",
26154
+ resource: "users",
26155
+ action: "settings-email-unsubscribe-page",
26156
+ title: "Settings Email Unsubscribe Page Users",
26157
+ description: "Settings Email Unsubscribe Page Users.",
26158
+ safety: "read",
26159
+ destructive: false,
26160
+ cli: {
26161
+ group: ["users", "settings"],
26162
+ command: "email-unsubscribe-page",
26163
+ interactive: "available"
26164
+ },
26165
+ mcp: { entityTool: "users" },
26166
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
26167
+ execute: (input, { client }) => {
26168
+ const data = input;
26169
+ return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
26170
+ client.httpClient,
26171
+ data.token,
26172
+ void 0
26173
+ ]));
26174
+ }
26175
+ },
25816
26176
  {
25817
26177
  id: "focus.users.settings-list",
25818
26178
  family: "focus",
@@ -25874,6 +26234,9 @@ const generatedFocusOperations = [
25874
26234
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25875
26235
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25876
26236
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26237
+ notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26238
+ notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26239
+ notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25877
26240
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25878
26241
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25879
26242
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -27920,4 +28283,4 @@ Common commands:
27920
28283
  //#endregion
27921
28284
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
27922
28285
 
27923
- //# sourceMappingURL=program-C4sQRLwQ.js.map
28286
+ //# sourceMappingURL=program-CTc8Pv0t.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-C4sQRLwQ.js";
1
+ import { t as createProgram } from "./program-CTc8Pv0t.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.11.38",
3
+ "version": "1.11.39",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",