@togglhq/cli 1.11.44 → 1.11.45

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-VVER3DKp.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-VVER3DKp.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())),
@@ -7939,8 +7946,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7939
7946
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7940
7947
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7941
7948
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
7942
- integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7943
- integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7944
7949
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7945
7950
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7946
7951
  pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7997,6 +8002,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7997
8002
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7998
8003
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7999
8004
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
8005
+ 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
8006
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
8001
8007
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
8002
8008
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -8033,6 +8039,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
8033
8039
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
8034
8040
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
8035
8041
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
8042
+ 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
8043
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
8037
8044
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
8038
8045
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -9979,7 +9986,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
9979
9986
  })
9980
9987
  }).json();
9981
9988
  }
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) {
9989
+ 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
9990
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
9984
9991
  signal,
9985
9992
  searchParams: buildSearchParams$2({
@@ -10000,6 +10007,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
10000
10007
  include_rates,
10001
10008
  pinned_ids,
10002
10009
  has_group,
10010
+ track_without_focus,
10003
10011
  cf_filter,
10004
10012
  include_custom_fields,
10005
10013
  include_calendar_integration
@@ -10101,10 +10109,18 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
10101
10109
  }
10102
10110
  //#endregion
10103
10111
  //#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) {
10112
+ 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
10113
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
10106
10114
  signal,
10107
10115
  searchParams: buildSearchParams$2({
10116
+ include_task_counts,
10117
+ task_archived,
10118
+ task_recurring,
10119
+ task_state,
10120
+ task_source,
10121
+ task_assignee_user_id,
10122
+ task_assignee_team_id,
10123
+ task_name,
10108
10124
  page,
10109
10125
  per_page,
10110
10126
  order_by,
@@ -10354,7 +10370,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10354
10370
  }
10355
10371
  //#endregion
10356
10372
  //#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) {
10373
+ 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
10374
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10359
10375
  signal,
10360
10376
  searchParams: buildSearchParams$2({
@@ -10405,7 +10421,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10405
10421
  include_assignees,
10406
10422
  include_parent_matches,
10407
10423
  disable_aggregations,
10408
- cf_filter
10424
+ cf_filter,
10425
+ recurring_occurrences_after,
10426
+ max_recurring_occurrences_after,
10427
+ recurring_task_read,
10428
+ include_projected_occurrences
10409
10429
  })
10410
10430
  }).json();
10411
10431
  }
@@ -10480,16 +10500,17 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
10480
10500
  })
10481
10501
  }).json();
10482
10502
  }
10483
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
10503
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
10484
10504
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
10485
10505
  signal,
10486
10506
  searchParams: buildSearchParams$2({
10487
10507
  date_from,
10488
- date_to
10508
+ date_to,
10509
+ skip_provider_refresh
10489
10510
  })
10490
10511
  }).json();
10491
10512
  }
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) {
10513
+ 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
10514
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
10494
10515
  signal,
10495
10516
  searchParams: buildSearchParams$2({
@@ -10505,11 +10526,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10505
10526
  assignee_team_id,
10506
10527
  assignee_user_id,
10507
10528
  tag_id,
10508
- include_assignees
10529
+ include_assignees,
10530
+ recurring_occurrences_after,
10531
+ max_recurring_occurrences_after,
10532
+ recurring_task_read,
10533
+ include_projected_occurrences
10509
10534
  })
10510
10535
  }).json();
10511
10536
  }
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) {
10537
+ 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
10538
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10514
10539
  signal,
10515
10540
  searchParams: buildSearchParams$2({
@@ -10554,7 +10579,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10554
10579
  recurring_task_ids,
10555
10580
  client_id,
10556
10581
  include_assignees,
10557
- cf_filter
10582
+ cf_filter,
10583
+ recurring_occurrences_after,
10584
+ max_recurring_occurrences_after,
10585
+ recurring_task_read,
10586
+ include_projected_occurrences
10558
10587
  })
10559
10588
  }).json();
10560
10589
  }
@@ -10609,6 +10638,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
10609
10638
  })
10610
10639
  }).json();
10611
10640
  }
10641
+ async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
10642
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
10643
+ signal,
10644
+ searchParams: buildSearchParams$2({ return_occurrence })
10645
+ }).json();
10646
+ }
10612
10647
  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
10648
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
10614
10649
  signal,
@@ -10745,16 +10780,24 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
10745
10780
  })
10746
10781
  }).json();
10747
10782
  }
10748
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
10783
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
10749
10784
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
10750
10785
  signal,
10751
- json: data
10786
+ json: data,
10787
+ searchParams: buildSearchParams$2({
10788
+ from_recurring_task_id,
10789
+ return_occurrence
10790
+ })
10752
10791
  }).json();
10753
10792
  }
10754
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
10793
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
10755
10794
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
10756
10795
  signal,
10757
- json: data
10796
+ json: data,
10797
+ searchParams: buildSearchParams$2({
10798
+ from_recurring_task_id,
10799
+ return_occurrence
10800
+ })
10758
10801
  }).json();
10759
10802
  }
10760
10803
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -10805,7 +10848,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
10805
10848
  json: data
10806
10849
  }).json();
10807
10850
  }
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) {
10851
+ 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
10852
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
10810
10853
  signal,
10811
10854
  searchParams: buildSearchParams$2({
@@ -10813,6 +10856,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
10813
10856
  date_to,
10814
10857
  task_id,
10815
10858
  status_id,
10859
+ project_id,
10816
10860
  type,
10817
10861
  order_by,
10818
10862
  archived,
@@ -10836,19 +10880,33 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
10836
10880
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
10837
10881
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
10838
10882
  }
10839
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10883
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10840
10884
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10841
10885
  signal,
10842
- json: data
10886
+ json: data,
10887
+ searchParams: buildSearchParams$2({
10888
+ from_recurring_task_id,
10889
+ return_occurrence
10890
+ })
10843
10891
  }).json();
10844
10892
  }
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();
10893
+ async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
10894
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10895
+ signal,
10896
+ searchParams: buildSearchParams$2({
10897
+ from_recurring_task_id,
10898
+ return_occurrence
10899
+ })
10900
+ }).json();
10847
10901
  }
10848
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10902
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10849
10903
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10850
10904
  signal,
10851
- json: data
10905
+ json: data,
10906
+ searchParams: buildSearchParams$2({
10907
+ from_recurring_task_id,
10908
+ return_occurrence
10909
+ })
10852
10910
  }).json();
10853
10911
  }
10854
10912
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -14718,13 +14776,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
14718
14776
  }
14719
14777
  //#endregion
14720
14778
  //#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) {
14779
+ 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
14780
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
14723
14781
  signal,
14724
14782
  searchParams: buildSearchParams$2({
14725
14783
  workspace_id,
14726
14784
  entity_type,
14727
14785
  entity_id,
14786
+ project_id,
14787
+ custom_field_id,
14728
14788
  action,
14729
14789
  user_id,
14730
14790
  page_size,
@@ -14733,12 +14793,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
14733
14793
  })
14734
14794
  }).json();
14735
14795
  }
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) {
14796
+ 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
14797
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
14738
14798
  signal,
14739
14799
  searchParams: buildSearchParams$2({
14740
14800
  entity_type,
14741
14801
  entity_id,
14802
+ project_id,
14803
+ custom_field_id,
14742
14804
  action,
14743
14805
  user_id,
14744
14806
  page_size,
@@ -14891,13 +14953,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
14891
14953
  }
14892
14954
  //#endregion
14893
14955
  //#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) {
14956
+ 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
14957
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
14896
14958
  signal,
14897
14959
  searchParams: buildSearchParams$2({
14898
- user_id,
14899
14960
  start_date,
14900
14961
  end_date,
14962
+ user_id,
14963
+ team_id,
14901
14964
  private: private_,
14902
14965
  task_source,
14903
14966
  unit,
@@ -14957,6 +15020,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
14957
15020
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
14958
15021
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
14959
15022
  }
15023
+ async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
15024
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
15025
+ }
15026
+ async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
15027
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
15028
+ signal,
15029
+ json: data
15030
+ }).json();
15031
+ }
14960
15032
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
14961
15033
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
14962
15034
  signal,
@@ -15220,7 +15292,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
15220
15292
  }
15221
15293
  //#endregion
15222
15294
  //#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) {
15295
+ 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
15296
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
15225
15297
  signal,
15226
15298
  searchParams: buildSearchParams$2({
@@ -15246,6 +15318,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
15246
15318
  user_id,
15247
15319
  only_me,
15248
15320
  include_drafts,
15321
+ include_recurring_series,
15249
15322
  cf_filter
15250
15323
  })
15251
15324
  }).json();
@@ -15264,9 +15337,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
15264
15337
  json: data
15265
15338
  }).json();
15266
15339
  }
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
15340
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
15271
15341
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
15272
15342
  }
@@ -15570,9 +15640,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
15570
15640
  }
15571
15641
  //#endregion
15572
15642
  //#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) {
15643
+ 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
15644
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
15575
15645
  signal,
15646
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15576
15647
  searchParams: buildSearchParams$2({
15577
15648
  project_id,
15578
15649
  source,
@@ -15601,13 +15672,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
15601
15672
  min_days,
15602
15673
  include_drafts,
15603
15674
  cf_filter,
15604
- user_cf_filter
15675
+ user_cf_filter,
15676
+ recurring_occurrences_after,
15677
+ max_recurring_occurrences_after,
15678
+ recurring_task_read,
15679
+ include_projected_occurrences
15605
15680
  })
15606
15681
  }).json();
15607
15682
  }
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) {
15683
+ 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
15684
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
15610
15685
  signal,
15686
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15611
15687
  searchParams: buildSearchParams$2({
15612
15688
  team_id,
15613
15689
  project_id,
@@ -15636,13 +15712,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
15636
15712
  min_days,
15637
15713
  include_drafts,
15638
15714
  cf_filter,
15639
- user_cf_filter
15715
+ user_cf_filter,
15716
+ recurring_occurrences_after,
15717
+ max_recurring_occurrences_after,
15718
+ recurring_task_read,
15719
+ include_projected_occurrences
15640
15720
  })
15641
15721
  }).json();
15642
15722
  }
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) {
15723
+ 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
15724
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
15645
15725
  signal,
15726
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15646
15727
  searchParams: buildSearchParams$2({
15647
15728
  source,
15648
15729
  priority,
@@ -15672,6 +15753,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
15672
15753
  include_drafts,
15673
15754
  cf_filter,
15674
15755
  user_cf_filter,
15756
+ recurring_occurrences_after,
15757
+ max_recurring_occurrences_after,
15758
+ recurring_task_read,
15759
+ include_projected_occurrences,
15675
15760
  page,
15676
15761
  per_page,
15677
15762
  order_by
@@ -15863,6 +15948,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
15863
15948
  json: data
15864
15949
  }).json();
15865
15950
  }
15951
+ async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
15952
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
15953
+ signal,
15954
+ searchParams: buildSearchParams$2({
15955
+ date_from,
15956
+ date_to,
15957
+ setup_id,
15958
+ user_account_ids,
15959
+ approver_user_account_ids,
15960
+ team_ids
15961
+ })
15962
+ }).json();
15963
+ }
15866
15964
  async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
15867
15965
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
15868
15966
  }
@@ -15906,7 +16004,21 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
15906
16004
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
15907
16005
  }
15908
16006
  //#endregion
16007
+ //#region ../focus-queries/dist/track-team-invites/requests.ts
16008
+ async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
16009
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
16010
+ signal,
16011
+ json: data
16012
+ }).json();
16013
+ }
16014
+ //#endregion
15909
16015
  //#region ../focus-queries/dist/user-settings/requests.ts
16016
+ async function emailUnsubscribePage(httpClient, token, signal) {
16017
+ return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
16018
+ }
16019
+ async function emailUnsubscribe(httpClient, token, signal) {
16020
+ return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
16021
+ }
15910
16022
  async function getUserSettings(httpClient, signal) {
15911
16023
  return await httpClient.get(`users/me/settings`, { signal }).json();
15912
16024
  }
@@ -16146,6 +16258,7 @@ const generatedFocusOperations = [
16146
16258
  mcp: { entityTool: "audit-log" },
16147
16259
  inputSchema: /* @__PURE__ */ looseObject({
16148
16260
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16261
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16149
16262
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16150
16263
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16151
16264
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16153,6 +16266,7 @@ const generatedFocusOperations = [
16153
16266
  from: /* @__PURE__ */ string$1(),
16154
16267
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16155
16268
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16269
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16156
16270
  to: /* @__PURE__ */ string$1(),
16157
16271
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16158
16272
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -16186,6 +16300,7 @@ const generatedFocusOperations = [
16186
16300
  mcp: { entityTool: "audit-log" },
16187
16301
  inputSchema: /* @__PURE__ */ looseObject({
16188
16302
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16303
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16189
16304
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16190
16305
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16191
16306
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16193,6 +16308,7 @@ const generatedFocusOperations = [
16193
16308
  from: /* @__PURE__ */ string$1(),
16194
16309
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16195
16310
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16311
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16196
16312
  to: /* @__PURE__ */ string$1(),
16197
16313
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16198
16314
  }),
@@ -16232,6 +16348,7 @@ const generatedFocusOperations = [
16232
16348
  private_: /* @__PURE__ */ unknown$1(),
16233
16349
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16234
16350
  task_source: /* @__PURE__ */ unknown$1(),
16351
+ team_id: /* @__PURE__ */ number$2(),
16235
16352
  unit: /* @__PURE__ */ unknown$1(),
16236
16353
  user_id: /* @__PURE__ */ number$2()
16237
16354
  }),
@@ -16481,8 +16598,6 @@ const generatedFocusOperations = [
16481
16598
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16482
16599
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
16483
16600
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16484
- integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16485
- integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16486
16601
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16487
16602
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16488
16603
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -16516,8 +16631,6 @@ const generatedFocusOperations = [
16516
16631
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16517
16632
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
16518
16633
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16519
- integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16520
- integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16521
16634
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16522
16635
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16523
16636
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -16672,6 +16785,33 @@ const generatedFocusOperations = [
16672
16785
  ]));
16673
16786
  }
16674
16787
  },
16788
+ {
16789
+ id: "focus.custom-fields.get-allowed-users",
16790
+ family: "focus",
16791
+ resource: "custom-fields",
16792
+ action: "get-allowed-users",
16793
+ title: "Get Allowed Users Custom Fields",
16794
+ description: "Get Allowed Users Custom Fields.",
16795
+ safety: "read",
16796
+ destructive: false,
16797
+ cli: {
16798
+ group: ["custom-fields"],
16799
+ command: "get-allowed-users",
16800
+ interactive: "available"
16801
+ },
16802
+ mcp: { entityTool: "custom-fields" },
16803
+ inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
16804
+ execute: (input, { client }) => {
16805
+ const data = input;
16806
+ return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
16807
+ client.httpClient,
16808
+ client.organizationId,
16809
+ client.workspaceIdNumber,
16810
+ data.custom_field_id,
16811
+ void 0
16812
+ ]));
16813
+ }
16814
+ },
16675
16815
  {
16676
16816
  id: "focus.custom-fields.list",
16677
16817
  family: "focus",
@@ -16841,6 +16981,37 @@ const generatedFocusOperations = [
16841
16981
  ]));
16842
16982
  }
16843
16983
  },
16984
+ {
16985
+ id: "focus.custom-fields.replace-custom-field-allowed-users",
16986
+ family: "focus",
16987
+ resource: "custom-fields",
16988
+ action: "replace-custom-field-allowed-users",
16989
+ title: "Replace Custom Field Allowed Users Custom Fields",
16990
+ description: "Replace Custom Field Allowed Users Custom Fields.",
16991
+ safety: "update",
16992
+ destructive: false,
16993
+ cli: {
16994
+ group: ["custom-fields"],
16995
+ command: "replace-custom-field-allowed-users",
16996
+ interactive: "default"
16997
+ },
16998
+ mcp: { entityTool: "custom-fields" },
16999
+ inputSchema: /* @__PURE__ */ looseObject({
17000
+ custom_field_id: /* @__PURE__ */ number$2(),
17001
+ payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
17002
+ }),
17003
+ execute: (input, { client }) => {
17004
+ const data = input;
17005
+ return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
17006
+ client.httpClient,
17007
+ client.organizationId,
17008
+ client.workspaceIdNumber,
17009
+ data.custom_field_id,
17010
+ data.payload ?? data.data ?? data,
17011
+ void 0
17012
+ ]));
17013
+ }
17014
+ },
16844
17015
  {
16845
17016
  id: "focus.custom-fields.update",
16846
17017
  family: "focus",
@@ -16987,13 +17158,7 @@ const generatedFocusOperations = [
16987
17158
  },
16988
17159
  mcp: { entityTool: "goals" },
16989
17160
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16990
- billable: /* @__PURE__ */ boolean$1(),
16991
17161
  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
17162
  recurrence: /* @__PURE__ */ picklist$1([
16998
17163
  "daily",
16999
17164
  "weekly",
@@ -17001,12 +17166,18 @@ const generatedFocusOperations = [
17001
17166
  "monthly"
17002
17167
  ]),
17003
17168
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
17004
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17005
17169
  target_seconds: /* @__PURE__ */ number$2(),
17006
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17007
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17170
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17008
17171
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17009
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
17172
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17173
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17174
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17175
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
17176
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17177
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17178
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17179
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17180
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
17010
17181
  }) }),
17011
17182
  execute: (input, { client }) => {
17012
17183
  const data = input;
@@ -17112,13 +17283,6 @@ const generatedFocusOperations = [
17112
17283
  },
17113
17284
  mcp: { entityTool: "goals" },
17114
17285
  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
17286
  recurrence: /* @__PURE__ */ picklist$1([
17123
17287
  "daily",
17124
17288
  "weekly",
@@ -17126,12 +17290,19 @@ const generatedFocusOperations = [
17126
17290
  "monthly"
17127
17291
  ]),
17128
17292
  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()),
17293
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17133
17294
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17134
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
17295
+ comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
17296
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17297
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17298
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17299
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
17300
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17301
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17302
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17303
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
17304
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17305
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
17135
17306
  }) }),
17136
17307
  execute: (input, { client }) => {
17137
17308
  const data = input;
@@ -18098,9 +18269,17 @@ const generatedFocusOperations = [
18098
18269
  mcp: { entityTool: "projects" },
18099
18270
  inputSchema: /* @__PURE__ */ looseObject({
18100
18271
  payload: /* @__PURE__ */ looseObject({
18272
+ auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18273
+ completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
18101
18274
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
18102
18275
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18103
18276
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18277
+ rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
18278
+ "expire",
18279
+ "carry_all",
18280
+ "carry_over"
18281
+ ])),
18282
+ rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18104
18283
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
18105
18284
  }),
18106
18285
  project_id: /* @__PURE__ */ number$2()
@@ -18544,6 +18723,7 @@ const generatedFocusOperations = [
18544
18723
  group: /* @__PURE__ */ string$1(),
18545
18724
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18546
18725
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18726
+ include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18547
18727
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18548
18728
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18549
18729
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -18646,29 +18826,6 @@ const generatedFocusOperations = [
18646
18826
  ]));
18647
18827
  }
18648
18828
  },
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
18829
  {
18673
18830
  id: "focus.projects.margin-targets-get",
18674
18831
  family: "focus",
@@ -21071,7 +21228,7 @@ const generatedFocusOperations = [
21071
21228
  cli: {
21072
21229
  group: ["reportschedules"],
21073
21230
  command: "upsert-saved-view-schedule",
21074
- interactive: "default"
21231
+ interactive: "hidden"
21075
21232
  },
21076
21233
  mcp: { entityTool: "reportschedules" },
21077
21234
  inputSchema: /* @__PURE__ */ looseObject({
@@ -21082,8 +21239,10 @@ const generatedFocusOperations = [
21082
21239
  "weekly",
21083
21240
  "monthly"
21084
21241
  ]),
21242
+ charts: /* @__PURE__ */ unknown$1(),
21085
21243
  time: /* @__PURE__ */ string$1(),
21086
21244
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21245
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21087
21246
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21088
21247
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21089
21248
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -22632,6 +22791,37 @@ const generatedFocusOperations = [
22632
22791
  return client.createTask(data);
22633
22792
  }
22634
22793
  },
22794
+ {
22795
+ id: "focus.tasks.create-recurring-occurrence",
22796
+ family: "focus",
22797
+ resource: "tasks",
22798
+ action: "create-recurring-occurrence",
22799
+ title: "Create Recurring Occurrence Tasks",
22800
+ description: "Create Recurring Occurrence Tasks.",
22801
+ safety: "create",
22802
+ destructive: false,
22803
+ cli: {
22804
+ group: ["tasks"],
22805
+ command: "create-recurring-occurrence",
22806
+ interactive: "default"
22807
+ },
22808
+ mcp: { entityTool: "tasks" },
22809
+ inputSchema: /* @__PURE__ */ looseObject({
22810
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22811
+ task_id: /* @__PURE__ */ number$2()
22812
+ }),
22813
+ execute: (input, { client }) => {
22814
+ const data = input;
22815
+ return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
22816
+ client.httpClient,
22817
+ client.organizationId,
22818
+ client.workspaceIdNumber,
22819
+ data.task_id,
22820
+ data.return_occurrence,
22821
+ void 0
22822
+ ]));
22823
+ }
22824
+ },
22635
22825
  {
22636
22826
  id: "focus.tasks.delete",
22637
22827
  family: "focus",
@@ -22879,9 +23069,13 @@ const generatedFocusOperations = [
22879
23069
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22880
23070
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22881
23071
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23072
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23073
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22882
23074
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22883
23075
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23076
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22884
23077
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23078
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22885
23079
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22886
23080
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
22887
23081
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -22933,7 +23127,9 @@ const generatedFocusOperations = [
22933
23127
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22934
23128
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22935
23129
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23130
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22936
23131
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23132
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22937
23133
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22938
23134
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22939
23135
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -22942,7 +23138,9 @@ const generatedFocusOperations = [
22942
23138
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22943
23139
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22944
23140
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23141
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22945
23142
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23143
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22946
23144
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22947
23145
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22948
23146
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23080,8 +23278,10 @@ const generatedFocusOperations = [
23080
23278
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23081
23279
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23082
23280
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23281
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23083
23282
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23084
23283
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23284
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23085
23285
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23086
23286
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23087
23287
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23090,6 +23290,8 @@ const generatedFocusOperations = [
23090
23290
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23091
23291
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23092
23292
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23293
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23294
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23093
23295
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23094
23296
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23095
23297
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23098,7 +23300,8 @@ const generatedFocusOperations = [
23098
23300
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
23099
23301
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23100
23302
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23101
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23303
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23304
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23102
23305
  }),
23103
23306
  execute: (input, { client }) => {
23104
23307
  const data = input;
@@ -23140,13 +23343,17 @@ const generatedFocusOperations = [
23140
23343
  group_id: /* @__PURE__ */ number$2(),
23141
23344
  include_assignees: /* @__PURE__ */ unknown$1(),
23142
23345
  include_drafts: /* @__PURE__ */ unknown$1(),
23346
+ include_projected_occurrences: /* @__PURE__ */ unknown$1(),
23143
23347
  include_unassigned: /* @__PURE__ */ unknown$1(),
23144
23348
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
23349
+ max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23145
23350
  min_days: /* @__PURE__ */ unknown$1(),
23146
23351
  name: /* @__PURE__ */ unknown$1(),
23147
23352
  priority: /* @__PURE__ */ unknown$1(),
23148
23353
  private_: /* @__PURE__ */ unknown$1(),
23149
23354
  project_id: /* @__PURE__ */ number$2(),
23355
+ recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23356
+ recurring_task_read: /* @__PURE__ */ unknown$1(),
23150
23357
  source: /* @__PURE__ */ unknown$1(),
23151
23358
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23152
23359
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -23155,7 +23362,8 @@ const generatedFocusOperations = [
23155
23362
  tag_id: /* @__PURE__ */ number$2(),
23156
23363
  team_id: /* @__PURE__ */ number$2(),
23157
23364
  user_cf_filter: /* @__PURE__ */ unknown$1(),
23158
- user_tag_id: /* @__PURE__ */ number$2()
23365
+ user_tag_id: /* @__PURE__ */ number$2(),
23366
+ xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
23159
23367
  }),
23160
23368
  execute: (input, { client }) => {
23161
23369
  const data = input;
@@ -23196,13 +23404,17 @@ const generatedFocusOperations = [
23196
23404
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23197
23405
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23198
23406
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23407
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23199
23408
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23200
23409
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23410
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23201
23411
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23202
23412
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23203
23413
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23204
23414
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23205
23415
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23416
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23417
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23206
23418
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23207
23419
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23208
23420
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23211,7 +23423,8 @@ const generatedFocusOperations = [
23211
23423
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23212
23424
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23213
23425
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23214
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23426
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23427
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23215
23428
  }),
23216
23429
  execute: (input, { client }) => {
23217
23430
  const data = input;
@@ -23482,7 +23695,8 @@ const generatedFocusOperations = [
23482
23695
  mcp: { entityTool: "tasks" },
23483
23696
  inputSchema: /* @__PURE__ */ looseObject({
23484
23697
  date_from: /* @__PURE__ */ string$1(),
23485
- date_to: /* @__PURE__ */ string$1()
23698
+ date_to: /* @__PURE__ */ string$1(),
23699
+ skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23486
23700
  }),
23487
23701
  execute: (input, { client }) => {
23488
23702
  const data = input;
@@ -23492,6 +23706,7 @@ const generatedFocusOperations = [
23492
23706
  client.workspaceIdNumber,
23493
23707
  data.date_from,
23494
23708
  data.date_to,
23709
+ data.skip_provider_refresh,
23495
23710
  void 0
23496
23711
  ]));
23497
23712
  }
@@ -24078,7 +24293,8 @@ const generatedFocusOperations = [
24078
24293
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
24079
24294
  "project",
24080
24295
  "task",
24081
- "description"
24296
+ "description",
24297
+ "tags"
24082
24298
  ]) })),
24083
24299
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24084
24300
  }) }),
@@ -24108,6 +24324,7 @@ const generatedFocusOperations = [
24108
24324
  },
24109
24325
  mcp: { entityTool: "time-entries" },
24110
24326
  inputSchema: /* @__PURE__ */ looseObject({
24327
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24111
24328
  payload: /* @__PURE__ */ looseObject({
24112
24329
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24113
24330
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -24118,11 +24335,13 @@ const generatedFocusOperations = [
24118
24335
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24119
24336
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24120
24337
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24338
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24121
24339
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
24122
24340
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24123
24341
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24124
24342
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24125
24343
  }),
24344
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24126
24345
  task_id: /* @__PURE__ */ number$2()
24127
24346
  }),
24128
24347
  execute: (input, { client }) => {
@@ -24133,6 +24352,8 @@ const generatedFocusOperations = [
24133
24352
  client.workspaceIdNumber,
24134
24353
  data.task_id,
24135
24354
  data.payload ?? data.data ?? data,
24355
+ data.from_recurring_task_id,
24356
+ data.return_occurrence,
24136
24357
  void 0
24137
24358
  ]));
24138
24359
  }
@@ -24152,21 +24373,26 @@ const generatedFocusOperations = [
24152
24373
  interactive: "default"
24153
24374
  },
24154
24375
  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
- }) }),
24376
+ inputSchema: /* @__PURE__ */ looseObject({
24377
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24378
+ payload: /* @__PURE__ */ looseObject({
24379
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24380
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24381
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24382
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24383
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24384
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24385
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24386
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24387
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24388
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24389
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
24390
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24391
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24392
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24393
+ }),
24394
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24395
+ }),
24170
24396
  execute: (input, { client }) => {
24171
24397
  const data = input;
24172
24398
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -24174,6 +24400,8 @@ const generatedFocusOperations = [
24174
24400
  client.organizationId,
24175
24401
  client.workspaceIdNumber,
24176
24402
  data.payload ?? data.data ?? data,
24403
+ data.from_recurring_task_id,
24404
+ data.return_occurrence,
24177
24405
  void 0
24178
24406
  ]));
24179
24407
  }
@@ -24193,7 +24421,11 @@ const generatedFocusOperations = [
24193
24421
  interactive: "default"
24194
24422
  },
24195
24423
  mcp: { entityTool: "time-entries" },
24196
- inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
24424
+ inputSchema: /* @__PURE__ */ looseObject({
24425
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24426
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24427
+ time_entry_id: /* @__PURE__ */ number$2()
24428
+ }),
24197
24429
  execute: (input, { client }) => {
24198
24430
  const data = input;
24199
24431
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -24201,6 +24433,8 @@ const generatedFocusOperations = [
24201
24433
  client.organizationId,
24202
24434
  client.workspaceIdNumber,
24203
24435
  data.time_entry_id,
24436
+ data.from_recurring_task_id,
24437
+ data.return_occurrence,
24204
24438
  void 0
24205
24439
  ]));
24206
24440
  }
@@ -24281,6 +24515,7 @@ const generatedFocusOperations = [
24281
24515
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
24282
24516
  include_taskless: /* @__PURE__ */ unknown$1(),
24283
24517
  order_by: /* @__PURE__ */ unknown$1(),
24518
+ project_id: /* @__PURE__ */ number$2(),
24284
24519
  status_id: /* @__PURE__ */ number$2(),
24285
24520
  task_id: /* @__PURE__ */ number$2(),
24286
24521
  type: /* @__PURE__ */ unknown$1()
@@ -24457,12 +24692,14 @@ const generatedFocusOperations = [
24457
24692
  },
24458
24693
  mcp: { entityTool: "time-entries" },
24459
24694
  inputSchema: /* @__PURE__ */ looseObject({
24695
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24460
24696
  payload: /* @__PURE__ */ looseObject({
24461
24697
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24462
24698
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24463
24699
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24464
24700
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
24465
24701
  }),
24702
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24466
24703
  time_entry_id: /* @__PURE__ */ number$2()
24467
24704
  }),
24468
24705
  execute: (input, { client }) => {
@@ -24473,6 +24710,8 @@ const generatedFocusOperations = [
24473
24710
  client.workspaceIdNumber,
24474
24711
  data.time_entry_id,
24475
24712
  data.payload ?? data.data ?? data,
24713
+ data.from_recurring_task_id,
24714
+ data.return_occurrence,
24476
24715
  void 0
24477
24716
  ]));
24478
24717
  }
@@ -24730,6 +24969,7 @@ const generatedFocusOperations = [
24730
24969
  },
24731
24970
  mcp: { entityTool: "time-entries" },
24732
24971
  inputSchema: /* @__PURE__ */ looseObject({
24972
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24733
24973
  payload: /* @__PURE__ */ looseObject({
24734
24974
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24735
24975
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -24742,6 +24982,7 @@ const generatedFocusOperations = [
24742
24982
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24743
24983
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
24744
24984
  }),
24985
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24745
24986
  time_entry_id: /* @__PURE__ */ number$2()
24746
24987
  }),
24747
24988
  execute: (input, { client }) => {
@@ -24752,6 +24993,8 @@ const generatedFocusOperations = [
24752
24993
  client.workspaceIdNumber,
24753
24994
  data.time_entry_id,
24754
24995
  data.payload ?? data.data ?? data,
24996
+ data.from_recurring_task_id,
24997
+ data.return_occurrence,
24755
24998
  void 0
24756
24999
  ]));
24757
25000
  }
@@ -25267,6 +25510,40 @@ const generatedFocusOperations = [
25267
25510
  ]));
25268
25511
  }
25269
25512
  },
25513
+ {
25514
+ id: "focus.timesheets.get-status-counts",
25515
+ family: "focus",
25516
+ resource: "timesheets",
25517
+ action: "get-status-counts",
25518
+ title: "Get Status Counts Timesheets",
25519
+ description: "Get Status Counts Timesheets.",
25520
+ safety: "read",
25521
+ destructive: false,
25522
+ cli: {
25523
+ group: ["timesheets"],
25524
+ command: "get-status-counts",
25525
+ interactive: "hidden"
25526
+ },
25527
+ mcp: { entityTool: "timesheets" },
25528
+ inputSchema: /* @__PURE__ */ looseObject({
25529
+ approver_user_account_ids: /* @__PURE__ */ unknown$1(),
25530
+ date_from: /* @__PURE__ */ unknown$1(),
25531
+ date_to: /* @__PURE__ */ unknown$1(),
25532
+ setup_id: /* @__PURE__ */ number$2(),
25533
+ team_ids: /* @__PURE__ */ unknown$1(),
25534
+ user_account_ids: /* @__PURE__ */ unknown$1()
25535
+ }),
25536
+ execute: (input, { client }) => {
25537
+ const data = input;
25538
+ return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
25539
+ client.httpClient,
25540
+ client.organizationId,
25541
+ client.workspaceIdNumber,
25542
+ data,
25543
+ void 0
25544
+ ]));
25545
+ }
25546
+ },
25270
25547
  {
25271
25548
  id: "focus.timesheets.remove-timesheet-flag",
25272
25549
  family: "focus",
@@ -25816,6 +26093,33 @@ const generatedFocusOperations = [
25816
26093
  ]));
25817
26094
  }
25818
26095
  },
26096
+ {
26097
+ id: "focus.track-team-invites.post",
26098
+ family: "focus",
26099
+ resource: "track-team-invites",
26100
+ action: "post",
26101
+ title: "Post Track Team Invites",
26102
+ description: "Post Track Team Invites.",
26103
+ safety: "create",
26104
+ destructive: false,
26105
+ cli: {
26106
+ group: ["track-team-invites"],
26107
+ command: "post",
26108
+ interactive: "default"
26109
+ },
26110
+ mcp: { entityTool: "track-team-invites" },
26111
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
26112
+ execute: (input, { client }) => {
26113
+ const data = input;
26114
+ return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
26115
+ client.httpClient,
26116
+ client.organizationId,
26117
+ client.workspaceIdNumber,
26118
+ data.payload ?? data.data ?? data,
26119
+ void 0
26120
+ ]));
26121
+ }
26122
+ },
25819
26123
  {
25820
26124
  id: "focus.users.list",
25821
26125
  family: "focus",
@@ -25837,6 +26141,56 @@ const generatedFocusOperations = [
25837
26141
  return client.listOrgUsers(data);
25838
26142
  }
25839
26143
  },
26144
+ {
26145
+ id: "focus.users.settings-email-unsubscribe",
26146
+ family: "focus",
26147
+ resource: "users",
26148
+ action: "settings-email-unsubscribe",
26149
+ title: "Settings Email Unsubscribe Users",
26150
+ description: "Settings Email Unsubscribe Users.",
26151
+ safety: "update",
26152
+ destructive: false,
26153
+ cli: {
26154
+ group: ["users", "settings"],
26155
+ command: "email-unsubscribe",
26156
+ interactive: "default"
26157
+ },
26158
+ mcp: { entityTool: "users" },
26159
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
26160
+ execute: (input, { client }) => {
26161
+ const data = input;
26162
+ return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
26163
+ client.httpClient,
26164
+ data.token,
26165
+ void 0
26166
+ ]));
26167
+ }
26168
+ },
26169
+ {
26170
+ id: "focus.users.settings-email-unsubscribe-page",
26171
+ family: "focus",
26172
+ resource: "users",
26173
+ action: "settings-email-unsubscribe-page",
26174
+ title: "Settings Email Unsubscribe Page Users",
26175
+ description: "Settings Email Unsubscribe Page Users.",
26176
+ safety: "read",
26177
+ destructive: false,
26178
+ cli: {
26179
+ group: ["users", "settings"],
26180
+ command: "email-unsubscribe-page",
26181
+ interactive: "available"
26182
+ },
26183
+ mcp: { entityTool: "users" },
26184
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
26185
+ execute: (input, { client }) => {
26186
+ const data = input;
26187
+ return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
26188
+ client.httpClient,
26189
+ data.token,
26190
+ void 0
26191
+ ]));
26192
+ }
26193
+ },
25840
26194
  {
25841
26195
  id: "focus.users.settings-list",
25842
26196
  family: "focus",
@@ -25898,6 +26252,9 @@ const generatedFocusOperations = [
25898
26252
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25899
26253
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25900
26254
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26255
+ notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26256
+ notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26257
+ notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25901
26258
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25902
26259
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25903
26260
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -27960,4 +28317,4 @@ Common commands:
27960
28317
  //#endregion
27961
28318
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
27962
28319
 
27963
- //# sourceMappingURL=program-2Rl61Aae.js.map
28320
+ //# sourceMappingURL=program-VVER3DKp.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-VVER3DKp.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.11.44",
3
+ "version": "1.11.45",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",