@togglhq/cli 1.11.42 → 1.11.43

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-2Rl61Aae.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-DkohIEM1.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-2Rl61Aae.js";
1
+ import { t as createProgram } from "./program-DkohIEM1.js";
2
2
  export { createProgram };
@@ -7360,6 +7360,7 @@ 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."))),
7363
7364
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7364
7365
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7365
7366
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7421,6 +7422,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7421
7422
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7422
7423
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7423
7424
  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."))),
7424
7426
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7425
7427
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7426
7428
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -7603,6 +7605,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
7603
7605
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7604
7606
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7605
7607
  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."))),
7606
7610
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7607
7611
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7608
7612
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -7688,6 +7692,7 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
7688
7692
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7689
7693
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7690
7694
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7695
+ filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7691
7696
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
7692
7697
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7693
7698
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
@@ -7767,6 +7772,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
7767
7772
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7768
7773
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7769
7774
  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."))),
7770
7777
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7771
7778
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7772
7779
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -7997,6 +8004,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7997
8004
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7998
8005
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7999
8006
  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."))),
8000
8008
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
8001
8009
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
8002
8010
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -8033,6 +8041,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
8033
8041
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
8034
8042
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
8035
8043
  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."))),
8036
8045
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
8037
8046
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
8038
8047
  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) {
@@ -14718,13 +14778,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
14718
14778
  }
14719
14779
  //#endregion
14720
14780
  //#region ../focus-queries/dist/audit-log/requests.ts
14721
- async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
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) {
14722
14782
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
14723
14783
  signal,
14724
14784
  searchParams: buildSearchParams$2({
14725
14785
  workspace_id,
14726
14786
  entity_type,
14727
14787
  entity_id,
14788
+ project_id,
14789
+ custom_field_id,
14728
14790
  action,
14729
14791
  user_id,
14730
14792
  page_size,
@@ -14733,12 +14795,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
14733
14795
  })
14734
14796
  }).json();
14735
14797
  }
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) {
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) {
14737
14799
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
14738
14800
  signal,
14739
14801
  searchParams: buildSearchParams$2({
14740
14802
  entity_type,
14741
14803
  entity_id,
14804
+ project_id,
14805
+ custom_field_id,
14742
14806
  action,
14743
14807
  user_id,
14744
14808
  page_size,
@@ -14891,13 +14955,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
14891
14955
  }
14892
14956
  //#endregion
14893
14957
  //#region ../focus-queries/dist/capacities/requests.ts
14894
- async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
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) {
14895
14959
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
14896
14960
  signal,
14897
14961
  searchParams: buildSearchParams$2({
14898
- user_id,
14899
14962
  start_date,
14900
14963
  end_date,
14964
+ user_id,
14965
+ team_id,
14901
14966
  private: private_,
14902
14967
  task_source,
14903
14968
  unit,
@@ -14957,6 +15022,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
14957
15022
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
14958
15023
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
14959
15024
  }
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
+ }
14960
15034
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
14961
15035
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
14962
15036
  signal,
@@ -15220,7 +15294,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
15220
15294
  }
15221
15295
  //#endregion
15222
15296
  //#region ../focus-queries/dist/project-groups/requests.ts
15223
- async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, cf_filter } = {}, signal) {
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) {
15224
15298
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
15225
15299
  signal,
15226
15300
  searchParams: buildSearchParams$2({
@@ -15246,6 +15320,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
15246
15320
  user_id,
15247
15321
  only_me,
15248
15322
  include_drafts,
15323
+ include_recurring_series,
15249
15324
  cf_filter
15250
15325
  })
15251
15326
  }).json();
@@ -15264,9 +15339,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
15264
15339
  json: data
15265
15340
  }).json();
15266
15341
  }
15267
- async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
15268
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
15269
- }
15270
15342
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
15271
15343
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
15272
15344
  }
@@ -15570,9 +15642,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
15570
15642
  }
15571
15643
  //#endregion
15572
15644
  //#region ../focus-queries/dist/task-groups/requests.ts
15573
- async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter }, signal) {
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) {
15574
15646
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
15575
15647
  signal,
15648
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15576
15649
  searchParams: buildSearchParams$2({
15577
15650
  project_id,
15578
15651
  source,
@@ -15601,13 +15674,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
15601
15674
  min_days,
15602
15675
  include_drafts,
15603
15676
  cf_filter,
15604
- user_cf_filter
15677
+ user_cf_filter,
15678
+ recurring_occurrences_after,
15679
+ max_recurring_occurrences_after,
15680
+ recurring_task_read,
15681
+ include_projected_occurrences
15605
15682
  })
15606
15683
  }).json();
15607
15684
  }
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) {
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) {
15609
15686
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
15610
15687
  signal,
15688
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15611
15689
  searchParams: buildSearchParams$2({
15612
15690
  team_id,
15613
15691
  project_id,
@@ -15636,13 +15714,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
15636
15714
  min_days,
15637
15715
  include_drafts,
15638
15716
  cf_filter,
15639
- user_cf_filter
15717
+ user_cf_filter,
15718
+ recurring_occurrences_after,
15719
+ max_recurring_occurrences_after,
15720
+ recurring_task_read,
15721
+ include_projected_occurrences
15640
15722
  })
15641
15723
  }).json();
15642
15724
  }
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) {
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) {
15644
15726
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
15645
15727
  signal,
15728
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15646
15729
  searchParams: buildSearchParams$2({
15647
15730
  source,
15648
15731
  priority,
@@ -15672,6 +15755,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
15672
15755
  include_drafts,
15673
15756
  cf_filter,
15674
15757
  user_cf_filter,
15758
+ recurring_occurrences_after,
15759
+ max_recurring_occurrences_after,
15760
+ recurring_task_read,
15761
+ include_projected_occurrences,
15675
15762
  page,
15676
15763
  per_page,
15677
15764
  order_by
@@ -15863,6 +15950,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
15863
15950
  json: data
15864
15951
  }).json();
15865
15952
  }
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
+ }
15866
15966
  async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
15867
15967
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
15868
15968
  }
@@ -15906,7 +16006,21 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
15906
16006
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
15907
16007
  }
15908
16008
  //#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
15909
16017
  //#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
+ }
15910
16024
  async function getUserSettings(httpClient, signal) {
15911
16025
  return await httpClient.get(`users/me/settings`, { signal }).json();
15912
16026
  }
@@ -16146,6 +16260,7 @@ const generatedFocusOperations = [
16146
16260
  mcp: { entityTool: "audit-log" },
16147
16261
  inputSchema: /* @__PURE__ */ looseObject({
16148
16262
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16263
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16149
16264
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16150
16265
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16151
16266
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16153,6 +16268,7 @@ const generatedFocusOperations = [
16153
16268
  from: /* @__PURE__ */ string$1(),
16154
16269
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16155
16270
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16271
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16156
16272
  to: /* @__PURE__ */ string$1(),
16157
16273
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16158
16274
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -16186,6 +16302,7 @@ const generatedFocusOperations = [
16186
16302
  mcp: { entityTool: "audit-log" },
16187
16303
  inputSchema: /* @__PURE__ */ looseObject({
16188
16304
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16305
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16189
16306
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16190
16307
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16191
16308
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16193,6 +16310,7 @@ const generatedFocusOperations = [
16193
16310
  from: /* @__PURE__ */ string$1(),
16194
16311
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16195
16312
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16313
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16196
16314
  to: /* @__PURE__ */ string$1(),
16197
16315
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16198
16316
  }),
@@ -16232,6 +16350,7 @@ const generatedFocusOperations = [
16232
16350
  private_: /* @__PURE__ */ unknown$1(),
16233
16351
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16234
16352
  task_source: /* @__PURE__ */ unknown$1(),
16353
+ team_id: /* @__PURE__ */ number$2(),
16235
16354
  unit: /* @__PURE__ */ unknown$1(),
16236
16355
  user_id: /* @__PURE__ */ number$2()
16237
16356
  }),
@@ -16672,6 +16791,33 @@ const generatedFocusOperations = [
16672
16791
  ]));
16673
16792
  }
16674
16793
  },
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
+ },
16675
16821
  {
16676
16822
  id: "focus.custom-fields.list",
16677
16823
  family: "focus",
@@ -16841,6 +16987,37 @@ const generatedFocusOperations = [
16841
16987
  ]));
16842
16988
  }
16843
16989
  },
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
+ },
16844
17021
  {
16845
17022
  id: "focus.custom-fields.update",
16846
17023
  family: "focus",
@@ -16987,13 +17164,7 @@ const generatedFocusOperations = [
16987
17164
  },
16988
17165
  mcp: { entityTool: "goals" },
16989
17166
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16990
- billable: /* @__PURE__ */ boolean$1(),
16991
17167
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
16992
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16993
- icon: /* @__PURE__ */ string$1(),
16994
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
16995
- name: /* @__PURE__ */ string$1(),
16996
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16997
17168
  recurrence: /* @__PURE__ */ picklist$1([
16998
17169
  "daily",
16999
17170
  "weekly",
@@ -17001,12 +17172,18 @@ const generatedFocusOperations = [
17001
17172
  "monthly"
17002
17173
  ]),
17003
17174
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
17004
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17005
17175
  target_seconds: /* @__PURE__ */ number$2(),
17006
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17007
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17176
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17008
17177
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17009
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
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()))
17010
17187
  }) }),
17011
17188
  execute: (input, { client }) => {
17012
17189
  const data = input;
@@ -17112,13 +17289,6 @@ const generatedFocusOperations = [
17112
17289
  },
17113
17290
  mcp: { entityTool: "goals" },
17114
17291
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
17115
- billable: /* @__PURE__ */ boolean$1(),
17116
- comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
17117
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
17118
- icon: /* @__PURE__ */ string$1(),
17119
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
17120
- name: /* @__PURE__ */ string$1(),
17121
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17122
17292
  recurrence: /* @__PURE__ */ picklist$1([
17123
17293
  "daily",
17124
17294
  "weekly",
@@ -17126,12 +17296,19 @@ const generatedFocusOperations = [
17126
17296
  "monthly"
17127
17297
  ]),
17128
17298
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
17129
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17130
- target_seconds: /* @__PURE__ */ number$2(),
17131
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17132
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17299
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17133
17300
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17134
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
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()))
17135
17312
  }) }),
17136
17313
  execute: (input, { client }) => {
17137
17314
  const data = input;
@@ -18098,9 +18275,17 @@ const generatedFocusOperations = [
18098
18275
  mcp: { entityTool: "projects" },
18099
18276
  inputSchema: /* @__PURE__ */ looseObject({
18100
18277
  payload: /* @__PURE__ */ looseObject({
18278
+ auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18279
+ completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
18101
18280
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
18102
18281
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18103
18282
  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()),
18104
18289
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
18105
18290
  }),
18106
18291
  project_id: /* @__PURE__ */ number$2()
@@ -18544,6 +18729,7 @@ const generatedFocusOperations = [
18544
18729
  group: /* @__PURE__ */ string$1(),
18545
18730
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18546
18731
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18732
+ include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18547
18733
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18548
18734
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18549
18735
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -18646,29 +18832,6 @@ const generatedFocusOperations = [
18646
18832
  ]));
18647
18833
  }
18648
18834
  },
18649
- {
18650
- id: "focus.projects.margin-targets-clear-workspace",
18651
- family: "focus",
18652
- resource: "projects",
18653
- action: "margin-targets-clear-workspace",
18654
- title: "Margin Targets Clear Workspace Projects",
18655
- description: "Margin Targets Clear Workspace Projects.",
18656
- safety: "delete",
18657
- destructive: true,
18658
- cli: {
18659
- group: ["projects", "margin-targets"],
18660
- command: "clear-workspace",
18661
- interactive: "default"
18662
- },
18663
- mcp: { entityTool: "projects" },
18664
- inputSchema: /* @__PURE__ */ looseObject({}),
18665
- execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
18666
- client.httpClient,
18667
- client.organizationId,
18668
- client.workspaceIdNumber,
18669
- void 0
18670
- ]))
18671
- },
18672
18835
  {
18673
18836
  id: "focus.projects.margin-targets-get",
18674
18837
  family: "focus",
@@ -21071,7 +21234,7 @@ const generatedFocusOperations = [
21071
21234
  cli: {
21072
21235
  group: ["reportschedules"],
21073
21236
  command: "upsert-saved-view-schedule",
21074
- interactive: "default"
21237
+ interactive: "hidden"
21075
21238
  },
21076
21239
  mcp: { entityTool: "reportschedules" },
21077
21240
  inputSchema: /* @__PURE__ */ looseObject({
@@ -21082,8 +21245,10 @@ const generatedFocusOperations = [
21082
21245
  "weekly",
21083
21246
  "monthly"
21084
21247
  ]),
21248
+ charts: /* @__PURE__ */ unknown$1(),
21085
21249
  time: /* @__PURE__ */ string$1(),
21086
21250
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21251
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21087
21252
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21088
21253
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21089
21254
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -22632,6 +22797,37 @@ const generatedFocusOperations = [
22632
22797
  return client.createTask(data);
22633
22798
  }
22634
22799
  },
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
+ },
22635
22831
  {
22636
22832
  id: "focus.tasks.delete",
22637
22833
  family: "focus",
@@ -22879,9 +23075,13 @@ const generatedFocusOperations = [
22879
23075
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22880
23076
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22881
23077
  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()),
22882
23080
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22883
23081
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23082
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22884
23083
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23084
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22885
23085
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22886
23086
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
22887
23087
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -22933,7 +23133,9 @@ const generatedFocusOperations = [
22933
23133
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22934
23134
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22935
23135
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23136
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22936
23137
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23138
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22937
23139
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22938
23140
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22939
23141
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -22942,7 +23144,9 @@ const generatedFocusOperations = [
22942
23144
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22943
23145
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22944
23146
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23147
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22945
23148
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23149
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22946
23150
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22947
23151
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22948
23152
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23080,8 +23284,10 @@ const generatedFocusOperations = [
23080
23284
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23081
23285
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23082
23286
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23287
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23083
23288
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23084
23289
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23290
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23085
23291
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23086
23292
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23087
23293
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23090,6 +23296,8 @@ const generatedFocusOperations = [
23090
23296
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23091
23297
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23092
23298
  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()),
23093
23301
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23094
23302
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23095
23303
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23098,7 +23306,8 @@ const generatedFocusOperations = [
23098
23306
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
23099
23307
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23100
23308
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23101
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23309
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23310
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23102
23311
  }),
23103
23312
  execute: (input, { client }) => {
23104
23313
  const data = input;
@@ -23140,13 +23349,17 @@ const generatedFocusOperations = [
23140
23349
  group_id: /* @__PURE__ */ number$2(),
23141
23350
  include_assignees: /* @__PURE__ */ unknown$1(),
23142
23351
  include_drafts: /* @__PURE__ */ unknown$1(),
23352
+ include_projected_occurrences: /* @__PURE__ */ unknown$1(),
23143
23353
  include_unassigned: /* @__PURE__ */ unknown$1(),
23144
23354
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
23355
+ max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23145
23356
  min_days: /* @__PURE__ */ unknown$1(),
23146
23357
  name: /* @__PURE__ */ unknown$1(),
23147
23358
  priority: /* @__PURE__ */ unknown$1(),
23148
23359
  private_: /* @__PURE__ */ unknown$1(),
23149
23360
  project_id: /* @__PURE__ */ number$2(),
23361
+ recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23362
+ recurring_task_read: /* @__PURE__ */ unknown$1(),
23150
23363
  source: /* @__PURE__ */ unknown$1(),
23151
23364
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23152
23365
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -23155,7 +23368,8 @@ const generatedFocusOperations = [
23155
23368
  tag_id: /* @__PURE__ */ number$2(),
23156
23369
  team_id: /* @__PURE__ */ number$2(),
23157
23370
  user_cf_filter: /* @__PURE__ */ unknown$1(),
23158
- user_tag_id: /* @__PURE__ */ number$2()
23371
+ user_tag_id: /* @__PURE__ */ number$2(),
23372
+ xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
23159
23373
  }),
23160
23374
  execute: (input, { client }) => {
23161
23375
  const data = input;
@@ -23196,13 +23410,17 @@ const generatedFocusOperations = [
23196
23410
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23197
23411
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23198
23412
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23413
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23199
23414
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23200
23415
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23416
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23201
23417
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23202
23418
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23203
23419
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23204
23420
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23205
23421
  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()),
23206
23424
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23207
23425
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23208
23426
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23211,7 +23429,8 @@ const generatedFocusOperations = [
23211
23429
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23212
23430
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23213
23431
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23214
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23432
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23433
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23215
23434
  }),
23216
23435
  execute: (input, { client }) => {
23217
23436
  const data = input;
@@ -23482,7 +23701,8 @@ const generatedFocusOperations = [
23482
23701
  mcp: { entityTool: "tasks" },
23483
23702
  inputSchema: /* @__PURE__ */ looseObject({
23484
23703
  date_from: /* @__PURE__ */ string$1(),
23485
- date_to: /* @__PURE__ */ string$1()
23704
+ date_to: /* @__PURE__ */ string$1(),
23705
+ skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23486
23706
  }),
23487
23707
  execute: (input, { client }) => {
23488
23708
  const data = input;
@@ -23492,6 +23712,7 @@ const generatedFocusOperations = [
23492
23712
  client.workspaceIdNumber,
23493
23713
  data.date_from,
23494
23714
  data.date_to,
23715
+ data.skip_provider_refresh,
23495
23716
  void 0
23496
23717
  ]));
23497
23718
  }
@@ -24078,7 +24299,8 @@ const generatedFocusOperations = [
24078
24299
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
24079
24300
  "project",
24080
24301
  "task",
24081
- "description"
24302
+ "description",
24303
+ "tags"
24082
24304
  ]) })),
24083
24305
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24084
24306
  }) }),
@@ -24108,6 +24330,7 @@ const generatedFocusOperations = [
24108
24330
  },
24109
24331
  mcp: { entityTool: "time-entries" },
24110
24332
  inputSchema: /* @__PURE__ */ looseObject({
24333
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24111
24334
  payload: /* @__PURE__ */ looseObject({
24112
24335
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24113
24336
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -24118,11 +24341,13 @@ const generatedFocusOperations = [
24118
24341
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24119
24342
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24120
24343
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24344
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24121
24345
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
24122
24346
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24123
24347
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24124
24348
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24125
24349
  }),
24350
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24126
24351
  task_id: /* @__PURE__ */ number$2()
24127
24352
  }),
24128
24353
  execute: (input, { client }) => {
@@ -24133,6 +24358,8 @@ const generatedFocusOperations = [
24133
24358
  client.workspaceIdNumber,
24134
24359
  data.task_id,
24135
24360
  data.payload ?? data.data ?? data,
24361
+ data.from_recurring_task_id,
24362
+ data.return_occurrence,
24136
24363
  void 0
24137
24364
  ]));
24138
24365
  }
@@ -24152,21 +24379,26 @@ const generatedFocusOperations = [
24152
24379
  interactive: "default"
24153
24380
  },
24154
24381
  mcp: { entityTool: "time-entries" },
24155
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
24156
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24157
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24158
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24159
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24160
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24161
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24162
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24163
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24164
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24165
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
24166
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24167
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24168
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24169
- }) }),
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
+ }),
24170
24402
  execute: (input, { client }) => {
24171
24403
  const data = input;
24172
24404
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -24174,6 +24406,8 @@ const generatedFocusOperations = [
24174
24406
  client.organizationId,
24175
24407
  client.workspaceIdNumber,
24176
24408
  data.payload ?? data.data ?? data,
24409
+ data.from_recurring_task_id,
24410
+ data.return_occurrence,
24177
24411
  void 0
24178
24412
  ]));
24179
24413
  }
@@ -24193,7 +24427,11 @@ const generatedFocusOperations = [
24193
24427
  interactive: "default"
24194
24428
  },
24195
24429
  mcp: { entityTool: "time-entries" },
24196
- inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
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
+ }),
24197
24435
  execute: (input, { client }) => {
24198
24436
  const data = input;
24199
24437
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -24201,6 +24439,8 @@ const generatedFocusOperations = [
24201
24439
  client.organizationId,
24202
24440
  client.workspaceIdNumber,
24203
24441
  data.time_entry_id,
24442
+ data.from_recurring_task_id,
24443
+ data.return_occurrence,
24204
24444
  void 0
24205
24445
  ]));
24206
24446
  }
@@ -24281,6 +24521,7 @@ const generatedFocusOperations = [
24281
24521
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
24282
24522
  include_taskless: /* @__PURE__ */ unknown$1(),
24283
24523
  order_by: /* @__PURE__ */ unknown$1(),
24524
+ project_id: /* @__PURE__ */ number$2(),
24284
24525
  status_id: /* @__PURE__ */ number$2(),
24285
24526
  task_id: /* @__PURE__ */ number$2(),
24286
24527
  type: /* @__PURE__ */ unknown$1()
@@ -24457,12 +24698,14 @@ const generatedFocusOperations = [
24457
24698
  },
24458
24699
  mcp: { entityTool: "time-entries" },
24459
24700
  inputSchema: /* @__PURE__ */ looseObject({
24701
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24460
24702
  payload: /* @__PURE__ */ looseObject({
24461
24703
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24462
24704
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24463
24705
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24464
24706
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
24465
24707
  }),
24708
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24466
24709
  time_entry_id: /* @__PURE__ */ number$2()
24467
24710
  }),
24468
24711
  execute: (input, { client }) => {
@@ -24473,6 +24716,8 @@ const generatedFocusOperations = [
24473
24716
  client.workspaceIdNumber,
24474
24717
  data.time_entry_id,
24475
24718
  data.payload ?? data.data ?? data,
24719
+ data.from_recurring_task_id,
24720
+ data.return_occurrence,
24476
24721
  void 0
24477
24722
  ]));
24478
24723
  }
@@ -24730,6 +24975,7 @@ const generatedFocusOperations = [
24730
24975
  },
24731
24976
  mcp: { entityTool: "time-entries" },
24732
24977
  inputSchema: /* @__PURE__ */ looseObject({
24978
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24733
24979
  payload: /* @__PURE__ */ looseObject({
24734
24980
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24735
24981
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -24742,6 +24988,7 @@ const generatedFocusOperations = [
24742
24988
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24743
24989
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
24744
24990
  }),
24991
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24745
24992
  time_entry_id: /* @__PURE__ */ number$2()
24746
24993
  }),
24747
24994
  execute: (input, { client }) => {
@@ -24752,6 +24999,8 @@ const generatedFocusOperations = [
24752
24999
  client.workspaceIdNumber,
24753
25000
  data.time_entry_id,
24754
25001
  data.payload ?? data.data ?? data,
25002
+ data.from_recurring_task_id,
25003
+ data.return_occurrence,
24755
25004
  void 0
24756
25005
  ]));
24757
25006
  }
@@ -25267,6 +25516,40 @@ const generatedFocusOperations = [
25267
25516
  ]));
25268
25517
  }
25269
25518
  },
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
+ },
25270
25553
  {
25271
25554
  id: "focus.timesheets.remove-timesheet-flag",
25272
25555
  family: "focus",
@@ -25816,6 +26099,33 @@ const generatedFocusOperations = [
25816
26099
  ]));
25817
26100
  }
25818
26101
  },
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
+ },
25819
26129
  {
25820
26130
  id: "focus.users.list",
25821
26131
  family: "focus",
@@ -25837,6 +26147,56 @@ const generatedFocusOperations = [
25837
26147
  return client.listOrgUsers(data);
25838
26148
  }
25839
26149
  },
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
+ },
25840
26200
  {
25841
26201
  id: "focus.users.settings-list",
25842
26202
  family: "focus",
@@ -25898,6 +26258,9 @@ const generatedFocusOperations = [
25898
26258
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25899
26259
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25900
26260
  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()),
25901
26264
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25902
26265
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25903
26266
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -27960,4 +28323,4 @@ Common commands:
27960
28323
  //#endregion
27961
28324
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
27962
28325
 
27963
- //# sourceMappingURL=program-2Rl61Aae.js.map
28326
+ //# sourceMappingURL=program-DkohIEM1.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-2Rl61Aae.js";
1
+ import { t as createProgram } from "./program-DkohIEM1.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.11.42",
3
+ "version": "1.11.43",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",