@togglhq/cli 1.11.31 → 1.11.32

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-q1co2cXd.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-CgQ6s0u6.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-q1co2cXd.js";
1
+ import { t as createProgram } from "./program-CgQ6s0u6.js";
2
2
  export { createProgram };
@@ -9143,6 +9143,7 @@ const TaskSchema = /* @__PURE__ */ object({
9143
9143
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9144
9144
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
9145
9145
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9146
+ is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
9146
9147
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
9147
9148
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9148
9149
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -9204,6 +9205,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
9204
9205
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9205
9206
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
9206
9207
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9208
+ is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
9207
9209
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
9208
9210
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9209
9211
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -9386,6 +9388,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
9386
9388
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9387
9389
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9388
9390
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9391
+ pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
9392
+ pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
9389
9393
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9390
9394
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9391
9395
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -9471,6 +9475,7 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
9471
9475
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9472
9476
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
9473
9477
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9478
+ filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9474
9479
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
9475
9480
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9476
9481
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
@@ -9550,6 +9555,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
9550
9555
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9551
9556
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9552
9557
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9558
+ pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
9559
+ pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
9553
9560
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9554
9561
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9555
9562
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -9780,6 +9787,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
9780
9787
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9781
9788
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9782
9789
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9790
+ repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
9783
9791
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9784
9792
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9785
9793
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -9816,6 +9824,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
9816
9824
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9817
9825
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9818
9826
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9827
+ repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
9819
9828
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9820
9829
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9821
9830
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -10101,10 +10110,18 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
10101
10110
  }
10102
10111
  //#endregion
10103
10112
  //#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) {
10113
+ 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
10114
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
10106
10115
  signal,
10107
10116
  searchParams: buildSearchParams$2({
10117
+ include_task_counts,
10118
+ task_archived,
10119
+ task_recurring,
10120
+ task_state,
10121
+ task_source,
10122
+ task_assignee_user_id,
10123
+ task_assignee_team_id,
10124
+ task_name,
10108
10125
  page,
10109
10126
  per_page,
10110
10127
  order_by,
@@ -10354,7 +10371,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10354
10371
  }
10355
10372
  //#endregion
10356
10373
  //#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) {
10374
+ 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
10375
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10359
10376
  signal,
10360
10377
  searchParams: buildSearchParams$2({
@@ -10405,7 +10422,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10405
10422
  include_assignees,
10406
10423
  include_parent_matches,
10407
10424
  disable_aggregations,
10408
- cf_filter
10425
+ cf_filter,
10426
+ recurring_occurrences_after,
10427
+ max_recurring_occurrences_after,
10428
+ recurring_task_read,
10429
+ include_projected_occurrences
10409
10430
  })
10410
10431
  }).json();
10411
10432
  }
@@ -10480,16 +10501,17 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
10480
10501
  })
10481
10502
  }).json();
10482
10503
  }
10483
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
10504
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
10484
10505
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
10485
10506
  signal,
10486
10507
  searchParams: buildSearchParams$2({
10487
10508
  date_from,
10488
- date_to
10509
+ date_to,
10510
+ skip_provider_refresh
10489
10511
  })
10490
10512
  }).json();
10491
10513
  }
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) {
10514
+ 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
10515
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
10494
10516
  signal,
10495
10517
  searchParams: buildSearchParams$2({
@@ -10505,11 +10527,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10505
10527
  assignee_team_id,
10506
10528
  assignee_user_id,
10507
10529
  tag_id,
10508
- include_assignees
10530
+ include_assignees,
10531
+ recurring_occurrences_after,
10532
+ max_recurring_occurrences_after,
10533
+ recurring_task_read,
10534
+ include_projected_occurrences
10509
10535
  })
10510
10536
  }).json();
10511
10537
  }
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) {
10538
+ 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
10539
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10514
10540
  signal,
10515
10541
  searchParams: buildSearchParams$2({
@@ -10554,7 +10580,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10554
10580
  recurring_task_ids,
10555
10581
  client_id,
10556
10582
  include_assignees,
10557
- cf_filter
10583
+ cf_filter,
10584
+ recurring_occurrences_after,
10585
+ max_recurring_occurrences_after,
10586
+ recurring_task_read,
10587
+ include_projected_occurrences
10558
10588
  })
10559
10589
  }).json();
10560
10590
  }
@@ -10609,6 +10639,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
10609
10639
  })
10610
10640
  }).json();
10611
10641
  }
10642
+ async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
10643
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
10644
+ signal,
10645
+ searchParams: buildSearchParams$2({ return_occurrence })
10646
+ }).json();
10647
+ }
10612
10648
  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
10649
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
10614
10650
  signal,
@@ -10745,16 +10781,24 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
10745
10781
  })
10746
10782
  }).json();
10747
10783
  }
10748
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
10784
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
10749
10785
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
10750
10786
  signal,
10751
- json: data
10787
+ json: data,
10788
+ searchParams: buildSearchParams$2({
10789
+ from_recurring_task_id,
10790
+ return_occurrence
10791
+ })
10752
10792
  }).json();
10753
10793
  }
10754
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
10794
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
10755
10795
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
10756
10796
  signal,
10757
- json: data
10797
+ json: data,
10798
+ searchParams: buildSearchParams$2({
10799
+ from_recurring_task_id,
10800
+ return_occurrence
10801
+ })
10758
10802
  }).json();
10759
10803
  }
10760
10804
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -10805,7 +10849,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
10805
10849
  json: data
10806
10850
  }).json();
10807
10851
  }
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) {
10852
+ 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
10853
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
10810
10854
  signal,
10811
10855
  searchParams: buildSearchParams$2({
@@ -10813,6 +10857,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
10813
10857
  date_to,
10814
10858
  task_id,
10815
10859
  status_id,
10860
+ project_id,
10816
10861
  type,
10817
10862
  order_by,
10818
10863
  archived,
@@ -10836,19 +10881,33 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
10836
10881
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
10837
10882
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
10838
10883
  }
10839
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10884
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10840
10885
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10841
10886
  signal,
10842
- json: data
10887
+ json: data,
10888
+ searchParams: buildSearchParams$2({
10889
+ from_recurring_task_id,
10890
+ return_occurrence
10891
+ })
10843
10892
  }).json();
10844
10893
  }
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();
10894
+ async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
10895
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10896
+ signal,
10897
+ searchParams: buildSearchParams$2({
10898
+ from_recurring_task_id,
10899
+ return_occurrence
10900
+ })
10901
+ }).json();
10847
10902
  }
10848
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10903
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10849
10904
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10850
10905
  signal,
10851
- json: data
10906
+ json: data,
10907
+ searchParams: buildSearchParams$2({
10908
+ from_recurring_task_id,
10909
+ return_occurrence
10910
+ })
10852
10911
  }).json();
10853
10912
  }
10854
10913
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -14694,13 +14753,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
14694
14753
  }
14695
14754
  //#endregion
14696
14755
  //#region ../focus-queries/dist/audit-log/requests.ts
14697
- async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14756
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14698
14757
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
14699
14758
  signal,
14700
14759
  searchParams: buildSearchParams$2({
14701
14760
  workspace_id,
14702
14761
  entity_type,
14703
14762
  entity_id,
14763
+ project_id,
14764
+ custom_field_id,
14704
14765
  action,
14705
14766
  user_id,
14706
14767
  page_size,
@@ -14709,12 +14770,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
14709
14770
  })
14710
14771
  }).json();
14711
14772
  }
14712
- async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14773
+ async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14713
14774
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
14714
14775
  signal,
14715
14776
  searchParams: buildSearchParams$2({
14716
14777
  entity_type,
14717
14778
  entity_id,
14779
+ project_id,
14780
+ custom_field_id,
14718
14781
  action,
14719
14782
  user_id,
14720
14783
  page_size,
@@ -14867,13 +14930,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
14867
14930
  }
14868
14931
  //#endregion
14869
14932
  //#region ../focus-queries/dist/capacities/requests.ts
14870
- async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
14933
+ async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date, user_id, team_id, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
14871
14934
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
14872
14935
  signal,
14873
14936
  searchParams: buildSearchParams$2({
14874
- user_id,
14875
14937
  start_date,
14876
14938
  end_date,
14939
+ user_id,
14940
+ team_id,
14877
14941
  private: private_,
14878
14942
  task_source,
14879
14943
  unit,
@@ -14933,6 +14997,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
14933
14997
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
14934
14998
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
14935
14999
  }
15000
+ async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
15001
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
15002
+ }
15003
+ async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
15004
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
15005
+ signal,
15006
+ json: data
15007
+ }).json();
15008
+ }
14936
15009
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
14937
15010
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
14938
15011
  signal,
@@ -15240,9 +15313,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
15240
15313
  json: data
15241
15314
  }).json();
15242
15315
  }
15243
- async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
15244
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
15245
- }
15246
15316
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
15247
15317
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
15248
15318
  }
@@ -15546,9 +15616,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
15546
15616
  }
15547
15617
  //#endregion
15548
15618
  //#region ../focus-queries/dist/task-groups/requests.ts
15549
- async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter }, signal) {
15619
+ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger }, signal) {
15550
15620
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
15551
15621
  signal,
15622
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15552
15623
  searchParams: buildSearchParams$2({
15553
15624
  project_id,
15554
15625
  source,
@@ -15577,13 +15648,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
15577
15648
  min_days,
15578
15649
  include_drafts,
15579
15650
  cf_filter,
15580
- user_cf_filter
15651
+ user_cf_filter,
15652
+ recurring_occurrences_after,
15653
+ max_recurring_occurrences_after,
15654
+ recurring_task_read,
15655
+ include_projected_occurrences
15581
15656
  })
15582
15657
  }).json();
15583
15658
  }
15584
- async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter } = {}, signal) {
15659
+ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger } = {}, signal) {
15585
15660
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
15586
15661
  signal,
15662
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15587
15663
  searchParams: buildSearchParams$2({
15588
15664
  team_id,
15589
15665
  project_id,
@@ -15612,13 +15688,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
15612
15688
  min_days,
15613
15689
  include_drafts,
15614
15690
  cf_filter,
15615
- user_cf_filter
15691
+ user_cf_filter,
15692
+ recurring_occurrences_after,
15693
+ max_recurring_occurrences_after,
15694
+ recurring_task_read,
15695
+ include_projected_occurrences
15616
15696
  })
15617
15697
  }).json();
15618
15698
  }
15619
- async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, page, per_page, order_by } = {}, signal) {
15699
+ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, page, per_page, order_by, xTimelineFetchTrigger } = {}, signal) {
15620
15700
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
15621
15701
  signal,
15702
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15622
15703
  searchParams: buildSearchParams$2({
15623
15704
  source,
15624
15705
  priority,
@@ -15648,6 +15729,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
15648
15729
  include_drafts,
15649
15730
  cf_filter,
15650
15731
  user_cf_filter,
15732
+ recurring_occurrences_after,
15733
+ max_recurring_occurrences_after,
15734
+ recurring_task_read,
15735
+ include_projected_occurrences,
15651
15736
  page,
15652
15737
  per_page,
15653
15738
  order_by
@@ -15883,6 +15968,12 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
15883
15968
  }
15884
15969
  //#endregion
15885
15970
  //#region ../focus-queries/dist/user-settings/requests.ts
15971
+ async function emailUnsubscribePage(httpClient, token, signal) {
15972
+ return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
15973
+ }
15974
+ async function emailUnsubscribe(httpClient, token, signal) {
15975
+ return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
15976
+ }
15886
15977
  async function getUserSettings(httpClient, signal) {
15887
15978
  return await httpClient.get(`users/me/settings`, { signal }).json();
15888
15979
  }
@@ -16122,6 +16213,7 @@ const generatedFocusOperations = [
16122
16213
  mcp: { entityTool: "audit-log" },
16123
16214
  inputSchema: /* @__PURE__ */ looseObject({
16124
16215
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16216
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16125
16217
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16126
16218
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16127
16219
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16129,6 +16221,7 @@ const generatedFocusOperations = [
16129
16221
  from: /* @__PURE__ */ string$1(),
16130
16222
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16131
16223
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16224
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16132
16225
  to: /* @__PURE__ */ string$1(),
16133
16226
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16134
16227
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -16162,6 +16255,7 @@ const generatedFocusOperations = [
16162
16255
  mcp: { entityTool: "audit-log" },
16163
16256
  inputSchema: /* @__PURE__ */ looseObject({
16164
16257
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16258
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16165
16259
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16166
16260
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16167
16261
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16169,6 +16263,7 @@ const generatedFocusOperations = [
16169
16263
  from: /* @__PURE__ */ string$1(),
16170
16264
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16171
16265
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16266
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16172
16267
  to: /* @__PURE__ */ string$1(),
16173
16268
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16174
16269
  }),
@@ -16208,6 +16303,7 @@ const generatedFocusOperations = [
16208
16303
  private_: /* @__PURE__ */ unknown$1(),
16209
16304
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16210
16305
  task_source: /* @__PURE__ */ unknown$1(),
16306
+ team_id: /* @__PURE__ */ number$2(),
16211
16307
  unit: /* @__PURE__ */ unknown$1(),
16212
16308
  user_id: /* @__PURE__ */ number$2()
16213
16309
  }),
@@ -16648,6 +16744,33 @@ const generatedFocusOperations = [
16648
16744
  ]));
16649
16745
  }
16650
16746
  },
16747
+ {
16748
+ id: "focus.custom-fields.get-allowed-users",
16749
+ family: "focus",
16750
+ resource: "custom-fields",
16751
+ action: "get-allowed-users",
16752
+ title: "Get Allowed Users Custom Fields",
16753
+ description: "Get Allowed Users Custom Fields.",
16754
+ safety: "read",
16755
+ destructive: false,
16756
+ cli: {
16757
+ group: ["custom-fields"],
16758
+ command: "get-allowed-users",
16759
+ interactive: "available"
16760
+ },
16761
+ mcp: { entityTool: "custom-fields" },
16762
+ inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
16763
+ execute: (input, { client }) => {
16764
+ const data = input;
16765
+ return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
16766
+ client.httpClient,
16767
+ client.organizationId,
16768
+ client.workspaceIdNumber,
16769
+ data.custom_field_id,
16770
+ void 0
16771
+ ]));
16772
+ }
16773
+ },
16651
16774
  {
16652
16775
  id: "focus.custom-fields.list",
16653
16776
  family: "focus",
@@ -16817,6 +16940,37 @@ const generatedFocusOperations = [
16817
16940
  ]));
16818
16941
  }
16819
16942
  },
16943
+ {
16944
+ id: "focus.custom-fields.replace-custom-field-allowed-users",
16945
+ family: "focus",
16946
+ resource: "custom-fields",
16947
+ action: "replace-custom-field-allowed-users",
16948
+ title: "Replace Custom Field Allowed Users Custom Fields",
16949
+ description: "Replace Custom Field Allowed Users Custom Fields.",
16950
+ safety: "update",
16951
+ destructive: false,
16952
+ cli: {
16953
+ group: ["custom-fields"],
16954
+ command: "replace-custom-field-allowed-users",
16955
+ interactive: "default"
16956
+ },
16957
+ mcp: { entityTool: "custom-fields" },
16958
+ inputSchema: /* @__PURE__ */ looseObject({
16959
+ custom_field_id: /* @__PURE__ */ number$2(),
16960
+ payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
16961
+ }),
16962
+ execute: (input, { client }) => {
16963
+ const data = input;
16964
+ return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
16965
+ client.httpClient,
16966
+ client.organizationId,
16967
+ client.workspaceIdNumber,
16968
+ data.custom_field_id,
16969
+ data.payload ?? data.data ?? data,
16970
+ void 0
16971
+ ]));
16972
+ }
16973
+ },
16820
16974
  {
16821
16975
  id: "focus.custom-fields.update",
16822
16976
  family: "focus",
@@ -16963,13 +17117,7 @@ const generatedFocusOperations = [
16963
17117
  },
16964
17118
  mcp: { entityTool: "goals" },
16965
17119
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16966
- billable: /* @__PURE__ */ boolean$1(),
16967
17120
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
16968
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16969
- icon: /* @__PURE__ */ string$1(),
16970
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
16971
- name: /* @__PURE__ */ string$1(),
16972
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16973
17121
  recurrence: /* @__PURE__ */ picklist$1([
16974
17122
  "daily",
16975
17123
  "weekly",
@@ -16977,12 +17125,18 @@ const generatedFocusOperations = [
16977
17125
  "monthly"
16978
17126
  ]),
16979
17127
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16980
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16981
17128
  target_seconds: /* @__PURE__ */ number$2(),
16982
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16983
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17129
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16984
17130
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16985
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
17131
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17132
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17133
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17134
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
17135
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17136
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17137
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17138
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17139
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16986
17140
  }) }),
16987
17141
  execute: (input, { client }) => {
16988
17142
  const data = input;
@@ -17088,13 +17242,6 @@ const generatedFocusOperations = [
17088
17242
  },
17089
17243
  mcp: { entityTool: "goals" },
17090
17244
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
17091
- billable: /* @__PURE__ */ boolean$1(),
17092
- comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
17093
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
17094
- icon: /* @__PURE__ */ string$1(),
17095
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
17096
- name: /* @__PURE__ */ string$1(),
17097
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17098
17245
  recurrence: /* @__PURE__ */ picklist$1([
17099
17246
  "daily",
17100
17247
  "weekly",
@@ -17102,12 +17249,19 @@ const generatedFocusOperations = [
17102
17249
  "monthly"
17103
17250
  ]),
17104
17251
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
17105
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17106
- target_seconds: /* @__PURE__ */ number$2(),
17107
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17108
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17252
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17109
17253
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17110
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
17254
+ comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
17255
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17256
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17257
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17258
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
17259
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17260
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17261
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17262
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
17263
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17264
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
17111
17265
  }) }),
17112
17266
  execute: (input, { client }) => {
17113
17267
  const data = input;
@@ -18074,9 +18228,17 @@ const generatedFocusOperations = [
18074
18228
  mcp: { entityTool: "projects" },
18075
18229
  inputSchema: /* @__PURE__ */ looseObject({
18076
18230
  payload: /* @__PURE__ */ looseObject({
18231
+ auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18232
+ completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
18077
18233
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
18078
18234
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18079
18235
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18236
+ rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
18237
+ "expire",
18238
+ "carry_all",
18239
+ "carry_over"
18240
+ ])),
18241
+ rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18080
18242
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
18081
18243
  }),
18082
18244
  project_id: /* @__PURE__ */ number$2()
@@ -18622,29 +18784,6 @@ const generatedFocusOperations = [
18622
18784
  ]));
18623
18785
  }
18624
18786
  },
18625
- {
18626
- id: "focus.projects.margin-targets-clear-workspace",
18627
- family: "focus",
18628
- resource: "projects",
18629
- action: "margin-targets-clear-workspace",
18630
- title: "Margin Targets Clear Workspace Projects",
18631
- description: "Margin Targets Clear Workspace Projects.",
18632
- safety: "delete",
18633
- destructive: true,
18634
- cli: {
18635
- group: ["projects", "margin-targets"],
18636
- command: "clear-workspace",
18637
- interactive: "default"
18638
- },
18639
- mcp: { entityTool: "projects" },
18640
- inputSchema: /* @__PURE__ */ looseObject({}),
18641
- execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
18642
- client.httpClient,
18643
- client.organizationId,
18644
- client.workspaceIdNumber,
18645
- void 0
18646
- ]))
18647
- },
18648
18787
  {
18649
18788
  id: "focus.projects.margin-targets-get",
18650
18789
  family: "focus",
@@ -21047,7 +21186,7 @@ const generatedFocusOperations = [
21047
21186
  cli: {
21048
21187
  group: ["reportschedules"],
21049
21188
  command: "upsert-saved-view-schedule",
21050
- interactive: "default"
21189
+ interactive: "hidden"
21051
21190
  },
21052
21191
  mcp: { entityTool: "reportschedules" },
21053
21192
  inputSchema: /* @__PURE__ */ looseObject({
@@ -21058,8 +21197,10 @@ const generatedFocusOperations = [
21058
21197
  "weekly",
21059
21198
  "monthly"
21060
21199
  ]),
21200
+ charts: /* @__PURE__ */ unknown$1(),
21061
21201
  time: /* @__PURE__ */ string$1(),
21062
21202
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21203
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21063
21204
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21064
21205
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21065
21206
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -22608,6 +22749,37 @@ const generatedFocusOperations = [
22608
22749
  return client.createTask(data);
22609
22750
  }
22610
22751
  },
22752
+ {
22753
+ id: "focus.tasks.create-recurring-occurrence",
22754
+ family: "focus",
22755
+ resource: "tasks",
22756
+ action: "create-recurring-occurrence",
22757
+ title: "Create Recurring Occurrence Tasks",
22758
+ description: "Create Recurring Occurrence Tasks.",
22759
+ safety: "create",
22760
+ destructive: false,
22761
+ cli: {
22762
+ group: ["tasks"],
22763
+ command: "create-recurring-occurrence",
22764
+ interactive: "default"
22765
+ },
22766
+ mcp: { entityTool: "tasks" },
22767
+ inputSchema: /* @__PURE__ */ looseObject({
22768
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22769
+ task_id: /* @__PURE__ */ number$2()
22770
+ }),
22771
+ execute: (input, { client }) => {
22772
+ const data = input;
22773
+ return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
22774
+ client.httpClient,
22775
+ client.organizationId,
22776
+ client.workspaceIdNumber,
22777
+ data.task_id,
22778
+ data.return_occurrence,
22779
+ void 0
22780
+ ]));
22781
+ }
22782
+ },
22611
22783
  {
22612
22784
  id: "focus.tasks.delete",
22613
22785
  family: "focus",
@@ -22855,9 +23027,13 @@ const generatedFocusOperations = [
22855
23027
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22856
23028
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22857
23029
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23030
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23031
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22858
23032
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22859
23033
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23034
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22860
23035
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23036
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22861
23037
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22862
23038
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
22863
23039
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -22909,7 +23085,9 @@ const generatedFocusOperations = [
22909
23085
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22910
23086
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22911
23087
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23088
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22912
23089
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23090
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22913
23091
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22914
23092
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22915
23093
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -22918,7 +23096,9 @@ const generatedFocusOperations = [
22918
23096
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22919
23097
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22920
23098
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23099
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22921
23100
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23101
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22922
23102
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22923
23103
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22924
23104
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23056,8 +23236,10 @@ const generatedFocusOperations = [
23056
23236
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23057
23237
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23058
23238
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23239
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23059
23240
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23060
23241
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23242
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23061
23243
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23062
23244
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23063
23245
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23066,6 +23248,8 @@ const generatedFocusOperations = [
23066
23248
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23067
23249
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23068
23250
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23251
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23252
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23069
23253
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23070
23254
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23071
23255
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23074,7 +23258,8 @@ const generatedFocusOperations = [
23074
23258
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
23075
23259
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23076
23260
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23077
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23261
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23262
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23078
23263
  }),
23079
23264
  execute: (input, { client }) => {
23080
23265
  const data = input;
@@ -23116,13 +23301,17 @@ const generatedFocusOperations = [
23116
23301
  group_id: /* @__PURE__ */ number$2(),
23117
23302
  include_assignees: /* @__PURE__ */ unknown$1(),
23118
23303
  include_drafts: /* @__PURE__ */ unknown$1(),
23304
+ include_projected_occurrences: /* @__PURE__ */ unknown$1(),
23119
23305
  include_unassigned: /* @__PURE__ */ unknown$1(),
23120
23306
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
23307
+ max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23121
23308
  min_days: /* @__PURE__ */ unknown$1(),
23122
23309
  name: /* @__PURE__ */ unknown$1(),
23123
23310
  priority: /* @__PURE__ */ unknown$1(),
23124
23311
  private_: /* @__PURE__ */ unknown$1(),
23125
23312
  project_id: /* @__PURE__ */ number$2(),
23313
+ recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23314
+ recurring_task_read: /* @__PURE__ */ unknown$1(),
23126
23315
  source: /* @__PURE__ */ unknown$1(),
23127
23316
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23128
23317
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -23131,7 +23320,8 @@ const generatedFocusOperations = [
23131
23320
  tag_id: /* @__PURE__ */ number$2(),
23132
23321
  team_id: /* @__PURE__ */ number$2(),
23133
23322
  user_cf_filter: /* @__PURE__ */ unknown$1(),
23134
- user_tag_id: /* @__PURE__ */ number$2()
23323
+ user_tag_id: /* @__PURE__ */ number$2(),
23324
+ xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
23135
23325
  }),
23136
23326
  execute: (input, { client }) => {
23137
23327
  const data = input;
@@ -23172,13 +23362,17 @@ const generatedFocusOperations = [
23172
23362
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23173
23363
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23174
23364
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23365
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23175
23366
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23176
23367
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23368
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23177
23369
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23178
23370
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23179
23371
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23180
23372
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23181
23373
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23374
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23375
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23182
23376
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23183
23377
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23184
23378
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23187,7 +23381,8 @@ const generatedFocusOperations = [
23187
23381
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23188
23382
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23189
23383
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23190
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23384
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23385
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23191
23386
  }),
23192
23387
  execute: (input, { client }) => {
23193
23388
  const data = input;
@@ -23458,7 +23653,8 @@ const generatedFocusOperations = [
23458
23653
  mcp: { entityTool: "tasks" },
23459
23654
  inputSchema: /* @__PURE__ */ looseObject({
23460
23655
  date_from: /* @__PURE__ */ string$1(),
23461
- date_to: /* @__PURE__ */ string$1()
23656
+ date_to: /* @__PURE__ */ string$1(),
23657
+ skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23462
23658
  }),
23463
23659
  execute: (input, { client }) => {
23464
23660
  const data = input;
@@ -23468,6 +23664,7 @@ const generatedFocusOperations = [
23468
23664
  client.workspaceIdNumber,
23469
23665
  data.date_from,
23470
23666
  data.date_to,
23667
+ data.skip_provider_refresh,
23471
23668
  void 0
23472
23669
  ]));
23473
23670
  }
@@ -24054,7 +24251,8 @@ const generatedFocusOperations = [
24054
24251
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
24055
24252
  "project",
24056
24253
  "task",
24057
- "description"
24254
+ "description",
24255
+ "tags"
24058
24256
  ]) })),
24059
24257
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24060
24258
  }) }),
@@ -24084,6 +24282,7 @@ const generatedFocusOperations = [
24084
24282
  },
24085
24283
  mcp: { entityTool: "time-entries" },
24086
24284
  inputSchema: /* @__PURE__ */ looseObject({
24285
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24087
24286
  payload: /* @__PURE__ */ looseObject({
24088
24287
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24089
24288
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -24094,11 +24293,13 @@ const generatedFocusOperations = [
24094
24293
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24095
24294
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24096
24295
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24296
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24097
24297
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
24098
24298
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24099
24299
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24100
24300
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24101
24301
  }),
24302
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24102
24303
  task_id: /* @__PURE__ */ number$2()
24103
24304
  }),
24104
24305
  execute: (input, { client }) => {
@@ -24109,6 +24310,8 @@ const generatedFocusOperations = [
24109
24310
  client.workspaceIdNumber,
24110
24311
  data.task_id,
24111
24312
  data.payload ?? data.data ?? data,
24313
+ data.from_recurring_task_id,
24314
+ data.return_occurrence,
24112
24315
  void 0
24113
24316
  ]));
24114
24317
  }
@@ -24128,21 +24331,26 @@ const generatedFocusOperations = [
24128
24331
  interactive: "default"
24129
24332
  },
24130
24333
  mcp: { entityTool: "time-entries" },
24131
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
24132
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24133
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24134
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24135
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24136
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24137
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24138
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24139
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24140
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24141
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
24142
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24143
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24144
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24145
- }) }),
24334
+ inputSchema: /* @__PURE__ */ looseObject({
24335
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24336
+ payload: /* @__PURE__ */ looseObject({
24337
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24338
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24339
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24340
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24341
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24342
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24343
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24344
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24345
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24346
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24347
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
24348
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24349
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24350
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24351
+ }),
24352
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24353
+ }),
24146
24354
  execute: (input, { client }) => {
24147
24355
  const data = input;
24148
24356
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -24150,6 +24358,8 @@ const generatedFocusOperations = [
24150
24358
  client.organizationId,
24151
24359
  client.workspaceIdNumber,
24152
24360
  data.payload ?? data.data ?? data,
24361
+ data.from_recurring_task_id,
24362
+ data.return_occurrence,
24153
24363
  void 0
24154
24364
  ]));
24155
24365
  }
@@ -24169,7 +24379,11 @@ const generatedFocusOperations = [
24169
24379
  interactive: "default"
24170
24380
  },
24171
24381
  mcp: { entityTool: "time-entries" },
24172
- inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
24382
+ inputSchema: /* @__PURE__ */ looseObject({
24383
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24384
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24385
+ time_entry_id: /* @__PURE__ */ number$2()
24386
+ }),
24173
24387
  execute: (input, { client }) => {
24174
24388
  const data = input;
24175
24389
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -24177,6 +24391,8 @@ const generatedFocusOperations = [
24177
24391
  client.organizationId,
24178
24392
  client.workspaceIdNumber,
24179
24393
  data.time_entry_id,
24394
+ data.from_recurring_task_id,
24395
+ data.return_occurrence,
24180
24396
  void 0
24181
24397
  ]));
24182
24398
  }
@@ -24257,6 +24473,7 @@ const generatedFocusOperations = [
24257
24473
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
24258
24474
  include_taskless: /* @__PURE__ */ unknown$1(),
24259
24475
  order_by: /* @__PURE__ */ unknown$1(),
24476
+ project_id: /* @__PURE__ */ number$2(),
24260
24477
  status_id: /* @__PURE__ */ number$2(),
24261
24478
  task_id: /* @__PURE__ */ number$2(),
24262
24479
  type: /* @__PURE__ */ unknown$1()
@@ -24433,12 +24650,14 @@ const generatedFocusOperations = [
24433
24650
  },
24434
24651
  mcp: { entityTool: "time-entries" },
24435
24652
  inputSchema: /* @__PURE__ */ looseObject({
24653
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24436
24654
  payload: /* @__PURE__ */ looseObject({
24437
24655
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24438
24656
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24439
24657
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24440
24658
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
24441
24659
  }),
24660
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24442
24661
  time_entry_id: /* @__PURE__ */ number$2()
24443
24662
  }),
24444
24663
  execute: (input, { client }) => {
@@ -24449,6 +24668,8 @@ const generatedFocusOperations = [
24449
24668
  client.workspaceIdNumber,
24450
24669
  data.time_entry_id,
24451
24670
  data.payload ?? data.data ?? data,
24671
+ data.from_recurring_task_id,
24672
+ data.return_occurrence,
24452
24673
  void 0
24453
24674
  ]));
24454
24675
  }
@@ -24706,6 +24927,7 @@ const generatedFocusOperations = [
24706
24927
  },
24707
24928
  mcp: { entityTool: "time-entries" },
24708
24929
  inputSchema: /* @__PURE__ */ looseObject({
24930
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24709
24931
  payload: /* @__PURE__ */ looseObject({
24710
24932
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24711
24933
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -24718,6 +24940,7 @@ const generatedFocusOperations = [
24718
24940
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24719
24941
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
24720
24942
  }),
24943
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24721
24944
  time_entry_id: /* @__PURE__ */ number$2()
24722
24945
  }),
24723
24946
  execute: (input, { client }) => {
@@ -24728,6 +24951,8 @@ const generatedFocusOperations = [
24728
24951
  client.workspaceIdNumber,
24729
24952
  data.time_entry_id,
24730
24953
  data.payload ?? data.data ?? data,
24954
+ data.from_recurring_task_id,
24955
+ data.return_occurrence,
24731
24956
  void 0
24732
24957
  ]));
24733
24958
  }
@@ -25813,6 +26038,56 @@ const generatedFocusOperations = [
25813
26038
  return client.listOrgUsers(data);
25814
26039
  }
25815
26040
  },
26041
+ {
26042
+ id: "focus.users.settings-email-unsubscribe",
26043
+ family: "focus",
26044
+ resource: "users",
26045
+ action: "settings-email-unsubscribe",
26046
+ title: "Settings Email Unsubscribe Users",
26047
+ description: "Settings Email Unsubscribe Users.",
26048
+ safety: "update",
26049
+ destructive: false,
26050
+ cli: {
26051
+ group: ["users", "settings"],
26052
+ command: "email-unsubscribe",
26053
+ interactive: "default"
26054
+ },
26055
+ mcp: { entityTool: "users" },
26056
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
26057
+ execute: (input, { client }) => {
26058
+ const data = input;
26059
+ return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
26060
+ client.httpClient,
26061
+ data.token,
26062
+ void 0
26063
+ ]));
26064
+ }
26065
+ },
26066
+ {
26067
+ id: "focus.users.settings-email-unsubscribe-page",
26068
+ family: "focus",
26069
+ resource: "users",
26070
+ action: "settings-email-unsubscribe-page",
26071
+ title: "Settings Email Unsubscribe Page Users",
26072
+ description: "Settings Email Unsubscribe Page Users.",
26073
+ safety: "read",
26074
+ destructive: false,
26075
+ cli: {
26076
+ group: ["users", "settings"],
26077
+ command: "email-unsubscribe-page",
26078
+ interactive: "available"
26079
+ },
26080
+ mcp: { entityTool: "users" },
26081
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
26082
+ execute: (input, { client }) => {
26083
+ const data = input;
26084
+ return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
26085
+ client.httpClient,
26086
+ data.token,
26087
+ void 0
26088
+ ]));
26089
+ }
26090
+ },
25816
26091
  {
25817
26092
  id: "focus.users.settings-list",
25818
26093
  family: "focus",
@@ -25874,6 +26149,9 @@ const generatedFocusOperations = [
25874
26149
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25875
26150
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25876
26151
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26152
+ notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26153
+ notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26154
+ notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25877
26155
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25878
26156
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25879
26157
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -27920,4 +28198,4 @@ Common commands:
27920
28198
  //#endregion
27921
28199
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
27922
28200
 
27923
- //# sourceMappingURL=program-q1co2cXd.js.map
28201
+ //# sourceMappingURL=program-CgQ6s0u6.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-q1co2cXd.js";
1
+ import { t as createProgram } from "./program-CgQ6s0u6.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.11.31",
3
+ "version": "1.11.32",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",