@togglhq/cli 1.11.43 → 1.11.44

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-DkohIEM1.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-2Rl61Aae.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-DkohIEM1.js";
1
+ import { t as createProgram } from "./program-2Rl61Aae.js";
2
2
  export { createProgram };
@@ -7360,7 +7360,6 @@ const TaskSchema = /* @__PURE__ */ object({
7360
7360
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7361
7361
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7362
7362
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7363
- 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."))),
7364
7363
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7365
7364
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7366
7365
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7422,7 +7421,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7422
7421
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7423
7422
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7424
7423
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7425
- 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."))),
7426
7424
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7427
7425
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7428
7426
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -7605,8 +7603,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
7605
7603
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7606
7604
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7607
7605
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7608
- 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."))),
7609
- 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."))),
7610
7606
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7611
7607
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7612
7608
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -7692,7 +7688,6 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
7692
7688
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7693
7689
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7694
7690
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7695
- filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7696
7691
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
7697
7692
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7698
7693
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
@@ -7772,8 +7767,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
7772
7767
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7773
7768
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7774
7769
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7775
- 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."))),
7776
- 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."))),
7777
7770
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7778
7771
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7779
7772
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -8004,7 +7997,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
8004
7997
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
8005
7998
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
8006
7999
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
8007
- 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."))),
8008
8000
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
8009
8001
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
8010
8002
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -8041,7 +8033,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
8041
8033
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
8042
8034
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
8043
8035
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
8044
- 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."))),
8045
8036
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
8046
8037
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
8047
8038
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -9988,7 +9979,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
9988
9979
  })
9989
9980
  }).json();
9990
9981
  }
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) {
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) {
9992
9983
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
9993
9984
  signal,
9994
9985
  searchParams: buildSearchParams$2({
@@ -10009,7 +10000,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
10009
10000
  include_rates,
10010
10001
  pinned_ids,
10011
10002
  has_group,
10012
- track_without_focus,
10013
10003
  cf_filter,
10014
10004
  include_custom_fields,
10015
10005
  include_calendar_integration
@@ -10111,18 +10101,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
10111
10101
  }
10112
10102
  //#endregion
10113
10103
  //#region ../focus-queries/dist/projects/requests.ts
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) {
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) {
10115
10105
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
10116
10106
  signal,
10117
10107
  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,
10126
10108
  page,
10127
10109
  per_page,
10128
10110
  order_by,
@@ -10372,7 +10354,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10372
10354
  }
10373
10355
  //#endregion
10374
10356
  //#region ../focus-queries/dist/tasks/requests.ts
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) {
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) {
10376
10358
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10377
10359
  signal,
10378
10360
  searchParams: buildSearchParams$2({
@@ -10423,11 +10405,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10423
10405
  include_assignees,
10424
10406
  include_parent_matches,
10425
10407
  disable_aggregations,
10426
- cf_filter,
10427
- recurring_occurrences_after,
10428
- max_recurring_occurrences_after,
10429
- recurring_task_read,
10430
- include_projected_occurrences
10408
+ cf_filter
10431
10409
  })
10432
10410
  }).json();
10433
10411
  }
@@ -10502,17 +10480,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
10502
10480
  })
10503
10481
  }).json();
10504
10482
  }
10505
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
10483
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
10506
10484
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
10507
10485
  signal,
10508
10486
  searchParams: buildSearchParams$2({
10509
10487
  date_from,
10510
- date_to,
10511
- skip_provider_refresh
10488
+ date_to
10512
10489
  })
10513
10490
  }).json();
10514
10491
  }
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) {
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) {
10516
10493
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
10517
10494
  signal,
10518
10495
  searchParams: buildSearchParams$2({
@@ -10528,15 +10505,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10528
10505
  assignee_team_id,
10529
10506
  assignee_user_id,
10530
10507
  tag_id,
10531
- include_assignees,
10532
- recurring_occurrences_after,
10533
- max_recurring_occurrences_after,
10534
- recurring_task_read,
10535
- include_projected_occurrences
10508
+ include_assignees
10536
10509
  })
10537
10510
  }).json();
10538
10511
  }
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) {
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) {
10540
10513
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10541
10514
  signal,
10542
10515
  searchParams: buildSearchParams$2({
@@ -10581,11 +10554,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10581
10554
  recurring_task_ids,
10582
10555
  client_id,
10583
10556
  include_assignees,
10584
- cf_filter,
10585
- recurring_occurrences_after,
10586
- max_recurring_occurrences_after,
10587
- recurring_task_read,
10588
- include_projected_occurrences
10557
+ cf_filter
10589
10558
  })
10590
10559
  }).json();
10591
10560
  }
@@ -10640,12 +10609,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
10640
10609
  })
10641
10610
  }).json();
10642
10611
  }
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
- }
10649
10612
  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) {
10650
10613
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
10651
10614
  signal,
@@ -10782,24 +10745,16 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
10782
10745
  })
10783
10746
  }).json();
10784
10747
  }
10785
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
10748
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
10786
10749
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
10787
10750
  signal,
10788
- json: data,
10789
- searchParams: buildSearchParams$2({
10790
- from_recurring_task_id,
10791
- return_occurrence
10792
- })
10751
+ json: data
10793
10752
  }).json();
10794
10753
  }
10795
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
10754
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
10796
10755
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
10797
10756
  signal,
10798
- json: data,
10799
- searchParams: buildSearchParams$2({
10800
- from_recurring_task_id,
10801
- return_occurrence
10802
- })
10757
+ json: data
10803
10758
  }).json();
10804
10759
  }
10805
10760
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -10850,7 +10805,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
10850
10805
  json: data
10851
10806
  }).json();
10852
10807
  }
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) {
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) {
10854
10809
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
10855
10810
  signal,
10856
10811
  searchParams: buildSearchParams$2({
@@ -10858,7 +10813,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
10858
10813
  date_to,
10859
10814
  task_id,
10860
10815
  status_id,
10861
- project_id,
10862
10816
  type,
10863
10817
  order_by,
10864
10818
  archived,
@@ -10882,33 +10836,19 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
10882
10836
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
10883
10837
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
10884
10838
  }
10885
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10839
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10886
10840
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10887
10841
  signal,
10888
- json: data,
10889
- searchParams: buildSearchParams$2({
10890
- from_recurring_task_id,
10891
- return_occurrence
10892
- })
10842
+ json: data
10893
10843
  }).json();
10894
10844
  }
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();
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();
10903
10847
  }
10904
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10848
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10905
10849
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10906
10850
  signal,
10907
- json: data,
10908
- searchParams: buildSearchParams$2({
10909
- from_recurring_task_id,
10910
- return_occurrence
10911
- })
10851
+ json: data
10912
10852
  }).json();
10913
10853
  }
10914
10854
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -14778,15 +14718,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
14778
14718
  }
14779
14719
  //#endregion
14780
14720
  //#region ../focus-queries/dist/audit-log/requests.ts
14781
- async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14721
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14782
14722
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
14783
14723
  signal,
14784
14724
  searchParams: buildSearchParams$2({
14785
14725
  workspace_id,
14786
14726
  entity_type,
14787
14727
  entity_id,
14788
- project_id,
14789
- custom_field_id,
14790
14728
  action,
14791
14729
  user_id,
14792
14730
  page_size,
@@ -14795,14 +14733,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
14795
14733
  })
14796
14734
  }).json();
14797
14735
  }
14798
- async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14736
+ async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14799
14737
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
14800
14738
  signal,
14801
14739
  searchParams: buildSearchParams$2({
14802
14740
  entity_type,
14803
14741
  entity_id,
14804
- project_id,
14805
- custom_field_id,
14806
14742
  action,
14807
14743
  user_id,
14808
14744
  page_size,
@@ -14955,14 +14891,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
14955
14891
  }
14956
14892
  //#endregion
14957
14893
  //#region ../focus-queries/dist/capacities/requests.ts
14958
- async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date, user_id, team_id, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
14894
+ async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
14959
14895
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
14960
14896
  signal,
14961
14897
  searchParams: buildSearchParams$2({
14898
+ user_id,
14962
14899
  start_date,
14963
14900
  end_date,
14964
- user_id,
14965
- team_id,
14966
14901
  private: private_,
14967
14902
  task_source,
14968
14903
  unit,
@@ -15022,15 +14957,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
15022
14957
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
15023
14958
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
15024
14959
  }
15025
- async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
15026
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
15027
- }
15028
- async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
15029
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
15030
- signal,
15031
- json: data
15032
- }).json();
15033
- }
15034
14960
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
15035
14961
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
15036
14962
  signal,
@@ -15294,7 +15220,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
15294
15220
  }
15295
15221
  //#endregion
15296
15222
  //#region ../focus-queries/dist/project-groups/requests.ts
15297
- async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, include_recurring_series, cf_filter } = {}, signal) {
15223
+ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, cf_filter } = {}, signal) {
15298
15224
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
15299
15225
  signal,
15300
15226
  searchParams: buildSearchParams$2({
@@ -15320,7 +15246,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
15320
15246
  user_id,
15321
15247
  only_me,
15322
15248
  include_drafts,
15323
- include_recurring_series,
15324
15249
  cf_filter
15325
15250
  })
15326
15251
  }).json();
@@ -15339,6 +15264,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
15339
15264
  json: data
15340
15265
  }).json();
15341
15266
  }
15267
+ async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
15268
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
15269
+ }
15342
15270
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
15343
15271
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
15344
15272
  }
@@ -15642,10 +15570,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
15642
15570
  }
15643
15571
  //#endregion
15644
15572
  //#region ../focus-queries/dist/task-groups/requests.ts
15645
- 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) {
15573
+ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter }, signal) {
15646
15574
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
15647
15575
  signal,
15648
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15649
15576
  searchParams: buildSearchParams$2({
15650
15577
  project_id,
15651
15578
  source,
@@ -15674,18 +15601,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
15674
15601
  min_days,
15675
15602
  include_drafts,
15676
15603
  cf_filter,
15677
- user_cf_filter,
15678
- recurring_occurrences_after,
15679
- max_recurring_occurrences_after,
15680
- recurring_task_read,
15681
- include_projected_occurrences
15604
+ user_cf_filter
15682
15605
  })
15683
15606
  }).json();
15684
15607
  }
15685
- 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) {
15608
+ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter } = {}, signal) {
15686
15609
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
15687
15610
  signal,
15688
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15689
15611
  searchParams: buildSearchParams$2({
15690
15612
  team_id,
15691
15613
  project_id,
@@ -15714,18 +15636,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
15714
15636
  min_days,
15715
15637
  include_drafts,
15716
15638
  cf_filter,
15717
- user_cf_filter,
15718
- recurring_occurrences_after,
15719
- max_recurring_occurrences_after,
15720
- recurring_task_read,
15721
- include_projected_occurrences
15639
+ user_cf_filter
15722
15640
  })
15723
15641
  }).json();
15724
15642
  }
15725
- 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) {
15643
+ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, page, per_page, order_by } = {}, signal) {
15726
15644
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
15727
15645
  signal,
15728
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15729
15646
  searchParams: buildSearchParams$2({
15730
15647
  source,
15731
15648
  priority,
@@ -15755,10 +15672,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
15755
15672
  include_drafts,
15756
15673
  cf_filter,
15757
15674
  user_cf_filter,
15758
- recurring_occurrences_after,
15759
- max_recurring_occurrences_after,
15760
- recurring_task_read,
15761
- include_projected_occurrences,
15762
15675
  page,
15763
15676
  per_page,
15764
15677
  order_by
@@ -15950,19 +15863,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
15950
15863
  json: data
15951
15864
  }).json();
15952
15865
  }
15953
- async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
15954
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
15955
- signal,
15956
- searchParams: buildSearchParams$2({
15957
- date_from,
15958
- date_to,
15959
- setup_id,
15960
- user_account_ids,
15961
- approver_user_account_ids,
15962
- team_ids
15963
- })
15964
- }).json();
15965
- }
15966
15866
  async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
15967
15867
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
15968
15868
  }
@@ -16006,21 +15906,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
16006
15906
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
16007
15907
  }
16008
15908
  //#endregion
16009
- //#region ../focus-queries/dist/track-team-invites/requests.ts
16010
- async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
16011
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
16012
- signal,
16013
- json: data
16014
- }).json();
16015
- }
16016
- //#endregion
16017
15909
  //#region ../focus-queries/dist/user-settings/requests.ts
16018
- async function emailUnsubscribePage(httpClient, token, signal) {
16019
- return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
16020
- }
16021
- async function emailUnsubscribe(httpClient, token, signal) {
16022
- return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
16023
- }
16024
15910
  async function getUserSettings(httpClient, signal) {
16025
15911
  return await httpClient.get(`users/me/settings`, { signal }).json();
16026
15912
  }
@@ -16260,7 +16146,6 @@ const generatedFocusOperations = [
16260
16146
  mcp: { entityTool: "audit-log" },
16261
16147
  inputSchema: /* @__PURE__ */ looseObject({
16262
16148
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16263
- custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16264
16149
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16265
16150
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16266
16151
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16268,7 +16153,6 @@ const generatedFocusOperations = [
16268
16153
  from: /* @__PURE__ */ string$1(),
16269
16154
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16270
16155
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16271
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16272
16156
  to: /* @__PURE__ */ string$1(),
16273
16157
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16274
16158
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -16302,7 +16186,6 @@ const generatedFocusOperations = [
16302
16186
  mcp: { entityTool: "audit-log" },
16303
16187
  inputSchema: /* @__PURE__ */ looseObject({
16304
16188
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16305
- custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16306
16189
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16307
16190
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16308
16191
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16310,7 +16193,6 @@ const generatedFocusOperations = [
16310
16193
  from: /* @__PURE__ */ string$1(),
16311
16194
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16312
16195
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16313
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16314
16196
  to: /* @__PURE__ */ string$1(),
16315
16197
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16316
16198
  }),
@@ -16350,7 +16232,6 @@ const generatedFocusOperations = [
16350
16232
  private_: /* @__PURE__ */ unknown$1(),
16351
16233
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16352
16234
  task_source: /* @__PURE__ */ unknown$1(),
16353
- team_id: /* @__PURE__ */ number$2(),
16354
16235
  unit: /* @__PURE__ */ unknown$1(),
16355
16236
  user_id: /* @__PURE__ */ number$2()
16356
16237
  }),
@@ -16791,33 +16672,6 @@ const generatedFocusOperations = [
16791
16672
  ]));
16792
16673
  }
16793
16674
  },
16794
- {
16795
- id: "focus.custom-fields.get-allowed-users",
16796
- family: "focus",
16797
- resource: "custom-fields",
16798
- action: "get-allowed-users",
16799
- title: "Get Allowed Users Custom Fields",
16800
- description: "Get Allowed Users Custom Fields.",
16801
- safety: "read",
16802
- destructive: false,
16803
- cli: {
16804
- group: ["custom-fields"],
16805
- command: "get-allowed-users",
16806
- interactive: "available"
16807
- },
16808
- mcp: { entityTool: "custom-fields" },
16809
- inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
16810
- execute: (input, { client }) => {
16811
- const data = input;
16812
- return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
16813
- client.httpClient,
16814
- client.organizationId,
16815
- client.workspaceIdNumber,
16816
- data.custom_field_id,
16817
- void 0
16818
- ]));
16819
- }
16820
- },
16821
16675
  {
16822
16676
  id: "focus.custom-fields.list",
16823
16677
  family: "focus",
@@ -16987,37 +16841,6 @@ const generatedFocusOperations = [
16987
16841
  ]));
16988
16842
  }
16989
16843
  },
16990
- {
16991
- id: "focus.custom-fields.replace-custom-field-allowed-users",
16992
- family: "focus",
16993
- resource: "custom-fields",
16994
- action: "replace-custom-field-allowed-users",
16995
- title: "Replace Custom Field Allowed Users Custom Fields",
16996
- description: "Replace Custom Field Allowed Users Custom Fields.",
16997
- safety: "update",
16998
- destructive: false,
16999
- cli: {
17000
- group: ["custom-fields"],
17001
- command: "replace-custom-field-allowed-users",
17002
- interactive: "default"
17003
- },
17004
- mcp: { entityTool: "custom-fields" },
17005
- inputSchema: /* @__PURE__ */ looseObject({
17006
- custom_field_id: /* @__PURE__ */ number$2(),
17007
- payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
17008
- }),
17009
- execute: (input, { client }) => {
17010
- const data = input;
17011
- return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
17012
- client.httpClient,
17013
- client.organizationId,
17014
- client.workspaceIdNumber,
17015
- data.custom_field_id,
17016
- data.payload ?? data.data ?? data,
17017
- void 0
17018
- ]));
17019
- }
17020
- },
17021
16844
  {
17022
16845
  id: "focus.custom-fields.update",
17023
16846
  family: "focus",
@@ -17164,7 +16987,13 @@ const generatedFocusOperations = [
17164
16987
  },
17165
16988
  mcp: { entityTool: "goals" },
17166
16989
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16990
+ billable: /* @__PURE__ */ boolean$1(),
17167
16991
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
16992
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16993
+ icon: /* @__PURE__ */ string$1(),
16994
+ monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
16995
+ name: /* @__PURE__ */ string$1(),
16996
+ project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17168
16997
  recurrence: /* @__PURE__ */ picklist$1([
17169
16998
  "daily",
17170
16999
  "weekly",
@@ -17172,18 +17001,12 @@ const generatedFocusOperations = [
17172
17001
  "monthly"
17173
17002
  ]),
17174
17003
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
17004
+ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17175
17005
  target_seconds: /* @__PURE__ */ number$2(),
17176
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17006
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17007
+ weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17177
17008
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17178
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17179
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17180
- icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17181
- monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
17182
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17183
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17184
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17185
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17186
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
17009
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
17187
17010
  }) }),
17188
17011
  execute: (input, { client }) => {
17189
17012
  const data = input;
@@ -17289,6 +17112,13 @@ const generatedFocusOperations = [
17289
17112
  },
17290
17113
  mcp: { entityTool: "goals" },
17291
17114
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
17115
+ billable: /* @__PURE__ */ boolean$1(),
17116
+ comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
17117
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
17118
+ icon: /* @__PURE__ */ string$1(),
17119
+ monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
17120
+ name: /* @__PURE__ */ string$1(),
17121
+ project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17292
17122
  recurrence: /* @__PURE__ */ picklist$1([
17293
17123
  "daily",
17294
17124
  "weekly",
@@ -17296,19 +17126,12 @@ const generatedFocusOperations = [
17296
17126
  "monthly"
17297
17127
  ]),
17298
17128
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
17299
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17129
+ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17130
+ target_seconds: /* @__PURE__ */ number$2(),
17131
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17132
+ weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17300
17133
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17301
- comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
17302
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17303
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17304
- icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17305
- monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
17306
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17307
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17308
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17309
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
17310
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17311
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
17134
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
17312
17135
  }) }),
17313
17136
  execute: (input, { client }) => {
17314
17137
  const data = input;
@@ -18275,17 +18098,9 @@ const generatedFocusOperations = [
18275
18098
  mcp: { entityTool: "projects" },
18276
18099
  inputSchema: /* @__PURE__ */ looseObject({
18277
18100
  payload: /* @__PURE__ */ looseObject({
18278
- auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18279
- completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
18280
18101
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
18281
18102
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18282
18103
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18283
- rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
18284
- "expire",
18285
- "carry_all",
18286
- "carry_over"
18287
- ])),
18288
- rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18289
18104
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
18290
18105
  }),
18291
18106
  project_id: /* @__PURE__ */ number$2()
@@ -18729,7 +18544,6 @@ const generatedFocusOperations = [
18729
18544
  group: /* @__PURE__ */ string$1(),
18730
18545
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18731
18546
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18732
- include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18733
18547
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18734
18548
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18735
18549
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -18832,6 +18646,29 @@ const generatedFocusOperations = [
18832
18646
  ]));
18833
18647
  }
18834
18648
  },
18649
+ {
18650
+ id: "focus.projects.margin-targets-clear-workspace",
18651
+ family: "focus",
18652
+ resource: "projects",
18653
+ action: "margin-targets-clear-workspace",
18654
+ title: "Margin Targets Clear Workspace Projects",
18655
+ description: "Margin Targets Clear Workspace Projects.",
18656
+ safety: "delete",
18657
+ destructive: true,
18658
+ cli: {
18659
+ group: ["projects", "margin-targets"],
18660
+ command: "clear-workspace",
18661
+ interactive: "default"
18662
+ },
18663
+ mcp: { entityTool: "projects" },
18664
+ inputSchema: /* @__PURE__ */ looseObject({}),
18665
+ execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
18666
+ client.httpClient,
18667
+ client.organizationId,
18668
+ client.workspaceIdNumber,
18669
+ void 0
18670
+ ]))
18671
+ },
18835
18672
  {
18836
18673
  id: "focus.projects.margin-targets-get",
18837
18674
  family: "focus",
@@ -21234,7 +21071,7 @@ const generatedFocusOperations = [
21234
21071
  cli: {
21235
21072
  group: ["reportschedules"],
21236
21073
  command: "upsert-saved-view-schedule",
21237
- interactive: "hidden"
21074
+ interactive: "default"
21238
21075
  },
21239
21076
  mcp: { entityTool: "reportschedules" },
21240
21077
  inputSchema: /* @__PURE__ */ looseObject({
@@ -21245,10 +21082,8 @@ const generatedFocusOperations = [
21245
21082
  "weekly",
21246
21083
  "monthly"
21247
21084
  ]),
21248
- charts: /* @__PURE__ */ unknown$1(),
21249
21085
  time: /* @__PURE__ */ string$1(),
21250
21086
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21251
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21252
21087
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21253
21088
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21254
21089
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -22797,37 +22632,6 @@ const generatedFocusOperations = [
22797
22632
  return client.createTask(data);
22798
22633
  }
22799
22634
  },
22800
- {
22801
- id: "focus.tasks.create-recurring-occurrence",
22802
- family: "focus",
22803
- resource: "tasks",
22804
- action: "create-recurring-occurrence",
22805
- title: "Create Recurring Occurrence Tasks",
22806
- description: "Create Recurring Occurrence Tasks.",
22807
- safety: "create",
22808
- destructive: false,
22809
- cli: {
22810
- group: ["tasks"],
22811
- command: "create-recurring-occurrence",
22812
- interactive: "default"
22813
- },
22814
- mcp: { entityTool: "tasks" },
22815
- inputSchema: /* @__PURE__ */ looseObject({
22816
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22817
- task_id: /* @__PURE__ */ number$2()
22818
- }),
22819
- execute: (input, { client }) => {
22820
- const data = input;
22821
- return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
22822
- client.httpClient,
22823
- client.organizationId,
22824
- client.workspaceIdNumber,
22825
- data.task_id,
22826
- data.return_occurrence,
22827
- void 0
22828
- ]));
22829
- }
22830
- },
22831
22635
  {
22832
22636
  id: "focus.tasks.delete",
22833
22637
  family: "focus",
@@ -23075,13 +22879,9 @@ const generatedFocusOperations = [
23075
22879
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23076
22880
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23077
22881
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23078
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23079
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23080
22882
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23081
22883
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23082
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23083
22884
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23084
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23085
22885
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23086
22886
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
23087
22887
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -23133,9 +22933,7 @@ const generatedFocusOperations = [
23133
22933
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23134
22934
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23135
22935
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23136
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23137
22936
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23138
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23139
22937
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23140
22938
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23141
22939
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -23144,9 +22942,7 @@ const generatedFocusOperations = [
23144
22942
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23145
22943
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23146
22944
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23147
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23148
22945
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23149
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23150
22946
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23151
22947
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23152
22948
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23284,10 +23080,8 @@ const generatedFocusOperations = [
23284
23080
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23285
23081
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23286
23082
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23287
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23288
23083
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23289
23084
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23290
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23291
23085
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23292
23086
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23293
23087
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23296,8 +23090,6 @@ const generatedFocusOperations = [
23296
23090
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23297
23091
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23298
23092
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23299
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23300
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23301
23093
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23302
23094
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23303
23095
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23306,8 +23098,7 @@ const generatedFocusOperations = [
23306
23098
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
23307
23099
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23308
23100
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23309
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23310
- xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23101
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23311
23102
  }),
23312
23103
  execute: (input, { client }) => {
23313
23104
  const data = input;
@@ -23349,17 +23140,13 @@ const generatedFocusOperations = [
23349
23140
  group_id: /* @__PURE__ */ number$2(),
23350
23141
  include_assignees: /* @__PURE__ */ unknown$1(),
23351
23142
  include_drafts: /* @__PURE__ */ unknown$1(),
23352
- include_projected_occurrences: /* @__PURE__ */ unknown$1(),
23353
23143
  include_unassigned: /* @__PURE__ */ unknown$1(),
23354
23144
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
23355
- max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23356
23145
  min_days: /* @__PURE__ */ unknown$1(),
23357
23146
  name: /* @__PURE__ */ unknown$1(),
23358
23147
  priority: /* @__PURE__ */ unknown$1(),
23359
23148
  private_: /* @__PURE__ */ unknown$1(),
23360
23149
  project_id: /* @__PURE__ */ number$2(),
23361
- recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23362
- recurring_task_read: /* @__PURE__ */ unknown$1(),
23363
23150
  source: /* @__PURE__ */ unknown$1(),
23364
23151
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23365
23152
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -23368,8 +23155,7 @@ const generatedFocusOperations = [
23368
23155
  tag_id: /* @__PURE__ */ number$2(),
23369
23156
  team_id: /* @__PURE__ */ number$2(),
23370
23157
  user_cf_filter: /* @__PURE__ */ unknown$1(),
23371
- user_tag_id: /* @__PURE__ */ number$2(),
23372
- xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
23158
+ user_tag_id: /* @__PURE__ */ number$2()
23373
23159
  }),
23374
23160
  execute: (input, { client }) => {
23375
23161
  const data = input;
@@ -23410,17 +23196,13 @@ const generatedFocusOperations = [
23410
23196
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23411
23197
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23412
23198
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23413
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23414
23199
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23415
23200
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23416
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23417
23201
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23418
23202
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23419
23203
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23420
23204
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23421
23205
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23422
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23423
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23424
23206
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23425
23207
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23426
23208
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23429,8 +23211,7 @@ const generatedFocusOperations = [
23429
23211
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23430
23212
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23431
23213
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23432
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23433
- xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23214
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23434
23215
  }),
23435
23216
  execute: (input, { client }) => {
23436
23217
  const data = input;
@@ -23701,8 +23482,7 @@ const generatedFocusOperations = [
23701
23482
  mcp: { entityTool: "tasks" },
23702
23483
  inputSchema: /* @__PURE__ */ looseObject({
23703
23484
  date_from: /* @__PURE__ */ string$1(),
23704
- date_to: /* @__PURE__ */ string$1(),
23705
- skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23485
+ date_to: /* @__PURE__ */ string$1()
23706
23486
  }),
23707
23487
  execute: (input, { client }) => {
23708
23488
  const data = input;
@@ -23712,7 +23492,6 @@ const generatedFocusOperations = [
23712
23492
  client.workspaceIdNumber,
23713
23493
  data.date_from,
23714
23494
  data.date_to,
23715
- data.skip_provider_refresh,
23716
23495
  void 0
23717
23496
  ]));
23718
23497
  }
@@ -24299,8 +24078,7 @@ const generatedFocusOperations = [
24299
24078
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
24300
24079
  "project",
24301
24080
  "task",
24302
- "description",
24303
- "tags"
24081
+ "description"
24304
24082
  ]) })),
24305
24083
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24306
24084
  }) }),
@@ -24330,7 +24108,6 @@ const generatedFocusOperations = [
24330
24108
  },
24331
24109
  mcp: { entityTool: "time-entries" },
24332
24110
  inputSchema: /* @__PURE__ */ looseObject({
24333
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24334
24111
  payload: /* @__PURE__ */ looseObject({
24335
24112
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24336
24113
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -24341,13 +24118,11 @@ const generatedFocusOperations = [
24341
24118
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24342
24119
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24343
24120
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24344
- repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24345
24121
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
24346
24122
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24347
24123
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24348
24124
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24349
24125
  }),
24350
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24351
24126
  task_id: /* @__PURE__ */ number$2()
24352
24127
  }),
24353
24128
  execute: (input, { client }) => {
@@ -24358,8 +24133,6 @@ const generatedFocusOperations = [
24358
24133
  client.workspaceIdNumber,
24359
24134
  data.task_id,
24360
24135
  data.payload ?? data.data ?? data,
24361
- data.from_recurring_task_id,
24362
- data.return_occurrence,
24363
24136
  void 0
24364
24137
  ]));
24365
24138
  }
@@ -24379,26 +24152,21 @@ const generatedFocusOperations = [
24379
24152
  interactive: "default"
24380
24153
  },
24381
24154
  mcp: { entityTool: "time-entries" },
24382
- inputSchema: /* @__PURE__ */ looseObject({
24383
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24384
- payload: /* @__PURE__ */ looseObject({
24385
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24386
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24387
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24388
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24389
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24390
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24391
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24392
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24393
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24394
- repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24395
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
24396
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24397
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24398
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24399
- }),
24400
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24401
- }),
24155
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
24156
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24157
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24158
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24159
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24160
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24161
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24162
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24163
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24164
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24165
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
24166
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24167
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24168
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24169
+ }) }),
24402
24170
  execute: (input, { client }) => {
24403
24171
  const data = input;
24404
24172
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -24406,8 +24174,6 @@ const generatedFocusOperations = [
24406
24174
  client.organizationId,
24407
24175
  client.workspaceIdNumber,
24408
24176
  data.payload ?? data.data ?? data,
24409
- data.from_recurring_task_id,
24410
- data.return_occurrence,
24411
24177
  void 0
24412
24178
  ]));
24413
24179
  }
@@ -24427,11 +24193,7 @@ const generatedFocusOperations = [
24427
24193
  interactive: "default"
24428
24194
  },
24429
24195
  mcp: { entityTool: "time-entries" },
24430
- inputSchema: /* @__PURE__ */ looseObject({
24431
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24432
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24433
- time_entry_id: /* @__PURE__ */ number$2()
24434
- }),
24196
+ inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
24435
24197
  execute: (input, { client }) => {
24436
24198
  const data = input;
24437
24199
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -24439,8 +24201,6 @@ const generatedFocusOperations = [
24439
24201
  client.organizationId,
24440
24202
  client.workspaceIdNumber,
24441
24203
  data.time_entry_id,
24442
- data.from_recurring_task_id,
24443
- data.return_occurrence,
24444
24204
  void 0
24445
24205
  ]));
24446
24206
  }
@@ -24521,7 +24281,6 @@ const generatedFocusOperations = [
24521
24281
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
24522
24282
  include_taskless: /* @__PURE__ */ unknown$1(),
24523
24283
  order_by: /* @__PURE__ */ unknown$1(),
24524
- project_id: /* @__PURE__ */ number$2(),
24525
24284
  status_id: /* @__PURE__ */ number$2(),
24526
24285
  task_id: /* @__PURE__ */ number$2(),
24527
24286
  type: /* @__PURE__ */ unknown$1()
@@ -24698,14 +24457,12 @@ const generatedFocusOperations = [
24698
24457
  },
24699
24458
  mcp: { entityTool: "time-entries" },
24700
24459
  inputSchema: /* @__PURE__ */ looseObject({
24701
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24702
24460
  payload: /* @__PURE__ */ looseObject({
24703
24461
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24704
24462
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24705
24463
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24706
24464
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
24707
24465
  }),
24708
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24709
24466
  time_entry_id: /* @__PURE__ */ number$2()
24710
24467
  }),
24711
24468
  execute: (input, { client }) => {
@@ -24716,8 +24473,6 @@ const generatedFocusOperations = [
24716
24473
  client.workspaceIdNumber,
24717
24474
  data.time_entry_id,
24718
24475
  data.payload ?? data.data ?? data,
24719
- data.from_recurring_task_id,
24720
- data.return_occurrence,
24721
24476
  void 0
24722
24477
  ]));
24723
24478
  }
@@ -24975,7 +24730,6 @@ const generatedFocusOperations = [
24975
24730
  },
24976
24731
  mcp: { entityTool: "time-entries" },
24977
24732
  inputSchema: /* @__PURE__ */ looseObject({
24978
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24979
24733
  payload: /* @__PURE__ */ looseObject({
24980
24734
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24981
24735
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -24988,7 +24742,6 @@ const generatedFocusOperations = [
24988
24742
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24989
24743
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
24990
24744
  }),
24991
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24992
24745
  time_entry_id: /* @__PURE__ */ number$2()
24993
24746
  }),
24994
24747
  execute: (input, { client }) => {
@@ -24999,8 +24752,6 @@ const generatedFocusOperations = [
24999
24752
  client.workspaceIdNumber,
25000
24753
  data.time_entry_id,
25001
24754
  data.payload ?? data.data ?? data,
25002
- data.from_recurring_task_id,
25003
- data.return_occurrence,
25004
24755
  void 0
25005
24756
  ]));
25006
24757
  }
@@ -25516,40 +25267,6 @@ const generatedFocusOperations = [
25516
25267
  ]));
25517
25268
  }
25518
25269
  },
25519
- {
25520
- id: "focus.timesheets.get-status-counts",
25521
- family: "focus",
25522
- resource: "timesheets",
25523
- action: "get-status-counts",
25524
- title: "Get Status Counts Timesheets",
25525
- description: "Get Status Counts Timesheets.",
25526
- safety: "read",
25527
- destructive: false,
25528
- cli: {
25529
- group: ["timesheets"],
25530
- command: "get-status-counts",
25531
- interactive: "hidden"
25532
- },
25533
- mcp: { entityTool: "timesheets" },
25534
- inputSchema: /* @__PURE__ */ looseObject({
25535
- approver_user_account_ids: /* @__PURE__ */ unknown$1(),
25536
- date_from: /* @__PURE__ */ unknown$1(),
25537
- date_to: /* @__PURE__ */ unknown$1(),
25538
- setup_id: /* @__PURE__ */ number$2(),
25539
- team_ids: /* @__PURE__ */ unknown$1(),
25540
- user_account_ids: /* @__PURE__ */ unknown$1()
25541
- }),
25542
- execute: (input, { client }) => {
25543
- const data = input;
25544
- return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
25545
- client.httpClient,
25546
- client.organizationId,
25547
- client.workspaceIdNumber,
25548
- data,
25549
- void 0
25550
- ]));
25551
- }
25552
- },
25553
25270
  {
25554
25271
  id: "focus.timesheets.remove-timesheet-flag",
25555
25272
  family: "focus",
@@ -26099,33 +25816,6 @@ const generatedFocusOperations = [
26099
25816
  ]));
26100
25817
  }
26101
25818
  },
26102
- {
26103
- id: "focus.track-team-invites.post",
26104
- family: "focus",
26105
- resource: "track-team-invites",
26106
- action: "post",
26107
- title: "Post Track Team Invites",
26108
- description: "Post Track Team Invites.",
26109
- safety: "create",
26110
- destructive: false,
26111
- cli: {
26112
- group: ["track-team-invites"],
26113
- command: "post",
26114
- interactive: "default"
26115
- },
26116
- mcp: { entityTool: "track-team-invites" },
26117
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
26118
- execute: (input, { client }) => {
26119
- const data = input;
26120
- return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
26121
- client.httpClient,
26122
- client.organizationId,
26123
- client.workspaceIdNumber,
26124
- data.payload ?? data.data ?? data,
26125
- void 0
26126
- ]));
26127
- }
26128
- },
26129
25819
  {
26130
25820
  id: "focus.users.list",
26131
25821
  family: "focus",
@@ -26147,56 +25837,6 @@ const generatedFocusOperations = [
26147
25837
  return client.listOrgUsers(data);
26148
25838
  }
26149
25839
  },
26150
- {
26151
- id: "focus.users.settings-email-unsubscribe",
26152
- family: "focus",
26153
- resource: "users",
26154
- action: "settings-email-unsubscribe",
26155
- title: "Settings Email Unsubscribe Users",
26156
- description: "Settings Email Unsubscribe Users.",
26157
- safety: "update",
26158
- destructive: false,
26159
- cli: {
26160
- group: ["users", "settings"],
26161
- command: "email-unsubscribe",
26162
- interactive: "default"
26163
- },
26164
- mcp: { entityTool: "users" },
26165
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
26166
- execute: (input, { client }) => {
26167
- const data = input;
26168
- return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
26169
- client.httpClient,
26170
- data.token,
26171
- void 0
26172
- ]));
26173
- }
26174
- },
26175
- {
26176
- id: "focus.users.settings-email-unsubscribe-page",
26177
- family: "focus",
26178
- resource: "users",
26179
- action: "settings-email-unsubscribe-page",
26180
- title: "Settings Email Unsubscribe Page Users",
26181
- description: "Settings Email Unsubscribe Page Users.",
26182
- safety: "read",
26183
- destructive: false,
26184
- cli: {
26185
- group: ["users", "settings"],
26186
- command: "email-unsubscribe-page",
26187
- interactive: "available"
26188
- },
26189
- mcp: { entityTool: "users" },
26190
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
26191
- execute: (input, { client }) => {
26192
- const data = input;
26193
- return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
26194
- client.httpClient,
26195
- data.token,
26196
- void 0
26197
- ]));
26198
- }
26199
- },
26200
25840
  {
26201
25841
  id: "focus.users.settings-list",
26202
25842
  family: "focus",
@@ -26258,9 +25898,6 @@ const generatedFocusOperations = [
26258
25898
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26259
25899
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26260
25900
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26261
- notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26262
- notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26263
- notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26264
25901
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26265
25902
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26266
25903
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -28323,4 +27960,4 @@ Common commands:
28323
27960
  //#endregion
28324
27961
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
28325
27962
 
28326
- //# sourceMappingURL=program-DkohIEM1.js.map
27963
+ //# sourceMappingURL=program-2Rl61Aae.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-DkohIEM1.js";
1
+ import { t as createProgram } from "./program-2Rl61Aae.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.11.43",
3
+ "version": "1.11.44",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",