@togglhq/mcp 1.11.74 → 1.11.75

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.
@@ -32773,10 +32773,6 @@ function _joinExpects$1(values$1, separator) {
32773
32773
  */
32774
32774
  const ISO_DATE_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])$/u;
32775
32775
  /**
32776
- * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time regex.
32777
- */
32778
- const ISO_DATE_TIME_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])[T ](?:0\d|1\d|2[0-3]):[0-5]\d$/u;
32779
- /**
32780
32776
  * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp regex. Allows a
32781
32777
  * space as a date/time separator and an optional space before the UTC offset.
32782
32778
  */
@@ -32830,22 +32826,6 @@ function isoDate$1(message$1) {
32830
32826
  };
32831
32827
  }
32832
32828
  /* @__NO_SIDE_EFFECTS__ */
32833
- function isoDateTime$1(message$1) {
32834
- return {
32835
- kind: "validation",
32836
- type: "iso_date_time",
32837
- reference: isoDateTime$1,
32838
- async: false,
32839
- expects: null,
32840
- requirement: ISO_DATE_TIME_REGEX$1,
32841
- message: message$1,
32842
- "~run"(dataset, config$1) {
32843
- if (dataset.typed && !this.requirement.test(dataset.value)) _addIssue$1(this, "date-time", dataset, config$1);
32844
- return dataset;
32845
- }
32846
- };
32847
- }
32848
- /* @__NO_SIDE_EFFECTS__ */
32849
32829
  function isoTimestamp(message$1) {
32850
32830
  return {
32851
32831
  kind: "validation",
@@ -34683,7 +34663,6 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
34683
34663
  name: /* @__PURE__ */ string(),
34684
34664
  permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
34685
34665
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34686
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34687
34666
  client: /* @__PURE__ */ optional(ClientLiteSchema),
34688
34667
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34689
34668
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -34770,7 +34749,6 @@ const TaskSchema = /* @__PURE__ */ object({
34770
34749
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34771
34750
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34772
34751
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34773
- 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."))),
34774
34752
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34775
34753
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34776
34754
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -34832,7 +34810,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34832
34810
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34833
34811
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34834
34812
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34835
- 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."))),
34836
34813
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34837
34814
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34838
34815
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -34993,8 +34970,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
34993
34970
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34994
34971
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34995
34972
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34996
- 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."))),
34997
- 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."))),
34998
34973
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34999
34974
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35000
34975
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -35080,10 +35055,8 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
35080
35055
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35081
35056
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35082
35057
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35083
- filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35084
35058
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
35085
35059
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35086
- picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35087
35060
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
35088
35061
  recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35089
35062
  rollover_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RolloverMins is the cumulative under/over budget carried into this instance from earlier instances in its recurring chain, in minutes. Positive = surplus (prior periods went under estimate, time carries forward); negative = debt (prior periods went over). Only populated for recurring instances; nil for templates and standalone projects. See service.HydrateRollover for the per-instance contribution rules driven by RolloverMode (expire / carry_over / carry_all)."))),
@@ -35139,8 +35112,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
35139
35112
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35140
35113
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35141
35114
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35142
- 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."))),
35143
- 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."))),
35144
35115
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35145
35116
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35146
35117
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -35313,6 +35284,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35313
35284
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35314
35285
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35315
35286
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
35287
+ integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35288
+ integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35316
35289
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35317
35290
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35318
35291
  pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35369,7 +35342,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35369
35342
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35370
35343
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35371
35344
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35372
- 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."))),
35373
35345
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35374
35346
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35375
35347
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -35406,7 +35378,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35406
35378
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35407
35379
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35408
35380
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35409
- 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."))),
35410
35381
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35411
35382
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35412
35383
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -35427,6 +35398,7 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
35427
35398
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35428
35399
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35429
35400
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35401
+ time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35430
35402
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35431
35403
  user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
35432
35404
  });
@@ -35455,7 +35427,8 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
35455
35427
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35456
35428
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35457
35429
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35458
- task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
35430
+ task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35431
+ time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
35459
35432
  });
35460
35433
  const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
35461
35434
  //#endregion
@@ -37329,7 +37302,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
37329
37302
  })
37330
37303
  }).json();
37331
37304
  }
37332
- 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) {
37305
+ 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) {
37333
37306
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
37334
37307
  signal,
37335
37308
  searchParams: buildSearchParams$2({
@@ -37350,7 +37323,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
37350
37323
  include_rates,
37351
37324
  pinned_ids,
37352
37325
  has_group,
37353
- track_without_focus,
37354
37326
  cf_filter,
37355
37327
  include_custom_fields,
37356
37328
  include_calendar_integration
@@ -37452,20 +37424,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
37452
37424
  }
37453
37425
  //#endregion
37454
37426
  //#region ../focus-queries/dist/projects/requests.ts
37455
- async function getProjectsClassic(httpClient, organization_id, workspace_id, { include_task_counts, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, 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) {
37427
+ 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) {
37456
37428
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37457
37429
  signal,
37458
37430
  searchParams: buildSearchParams$2({
37459
- include_task_counts,
37460
- include_picker_parent_group_counts,
37461
- task_archived,
37462
- task_recurring,
37463
- task_state,
37464
- task_source,
37465
- task_assignee_user_id,
37466
- task_assignee_team_id,
37467
- task_include_unassigned,
37468
- task_name,
37469
37431
  page,
37470
37432
  per_page,
37471
37433
  order_by,
@@ -37715,7 +37677,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
37715
37677
  }
37716
37678
  //#endregion
37717
37679
  //#region ../focus-queries/dist/tasks/requests.ts
37718
- 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_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, 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) {
37680
+ 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) {
37719
37681
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
37720
37682
  signal,
37721
37683
  searchParams: buildSearchParams$2({
@@ -37728,6 +37690,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37728
37690
  toggl_user_id,
37729
37691
  name,
37730
37692
  has_time_entries,
37693
+ has_time_blocks,
37731
37694
  has_dates,
37732
37695
  private: private_,
37733
37696
  archived,
@@ -37750,6 +37713,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37750
37713
  priority,
37751
37714
  is_priority,
37752
37715
  state,
37716
+ timeblock_start_from,
37717
+ timeblock_start_until,
37718
+ time_block_id,
37719
+ time_block_completed,
37753
37720
  team_id,
37754
37721
  assignee_team_id,
37755
37722
  assignee_user_id,
@@ -37761,11 +37728,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37761
37728
  include_assignees,
37762
37729
  include_parent_matches,
37763
37730
  disable_aggregations,
37764
- cf_filter,
37765
- recurring_occurrences_after,
37766
- max_recurring_occurrences_after,
37767
- recurring_task_read,
37768
- include_projected_occurrences
37731
+ cf_filter
37769
37732
  })
37770
37733
  }).json();
37771
37734
  }
@@ -37840,46 +37803,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
37840
37803
  })
37841
37804
  }).json();
37842
37805
  }
37843
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
37806
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
37844
37807
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
37845
37808
  signal,
37846
37809
  searchParams: buildSearchParams$2({
37847
37810
  date_from,
37848
- date_to,
37849
- skip_provider_refresh
37850
- })
37851
- }).json();
37852
- }
37853
- async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
37854
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
37855
- signal,
37856
- searchParams: buildSearchParams$2({
37857
- project_id,
37858
- without_project,
37859
- pinned_only,
37860
- include_unassigned,
37861
- search,
37862
- only_me,
37863
- page,
37864
- per_page
37865
- })
37866
- }).json();
37867
- }
37868
- async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
37869
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
37870
- signal,
37871
- searchParams: buildSearchParams$2({
37872
- project_id,
37873
- without_project,
37874
- include_unassigned,
37875
- search,
37876
- only_me,
37877
- page,
37878
- per_page
37811
+ date_to
37879
37812
  })
37880
37813
  }).json();
37881
37814
  }
37882
- 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) {
37815
+ 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) {
37883
37816
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
37884
37817
  signal,
37885
37818
  searchParams: buildSearchParams$2({
@@ -37895,15 +37828,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
37895
37828
  assignee_team_id,
37896
37829
  assignee_user_id,
37897
37830
  tag_id,
37898
- include_assignees,
37899
- recurring_occurrences_after,
37900
- max_recurring_occurrences_after,
37901
- recurring_task_read,
37902
- include_projected_occurrences
37831
+ include_assignees
37903
37832
  })
37904
37833
  }).json();
37905
37834
  }
37906
- 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_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, 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) {
37835
+ 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) {
37907
37836
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
37908
37837
  signal,
37909
37838
  searchParams: buildSearchParams$2({
@@ -37915,6 +37844,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37915
37844
  name,
37916
37845
  include_parent_matches,
37917
37846
  has_time_entries,
37847
+ has_time_blocks,
37918
37848
  has_dates,
37919
37849
  private: private_,
37920
37850
  archived,
@@ -37937,6 +37867,8 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37937
37867
  priority,
37938
37868
  is_priority,
37939
37869
  state,
37870
+ time_block_id,
37871
+ time_block_completed,
37940
37872
  team_id,
37941
37873
  assignee_team_id,
37942
37874
  assignee_user_id,
@@ -37945,11 +37877,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37945
37877
  recurring_task_ids,
37946
37878
  client_id,
37947
37879
  include_assignees,
37948
- cf_filter,
37949
- recurring_occurrences_after,
37950
- max_recurring_occurrences_after,
37951
- recurring_task_read,
37952
- include_projected_occurrences
37880
+ cf_filter
37953
37881
  })
37954
37882
  }).json();
37955
37883
  }
@@ -38004,12 +37932,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
38004
37932
  })
38005
37933
  }).json();
38006
37934
  }
38007
- async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
38008
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
38009
- signal,
38010
- searchParams: buildSearchParams$2({ return_occurrence })
38011
- }).json();
38012
- }
38013
37935
  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) {
38014
37936
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
38015
37937
  signal,
@@ -38035,7 +37957,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
38035
37957
  }
38036
37958
  //#endregion
38037
37959
  //#region ../focus-queries/dist/time-entries/requests.ts
38038
- async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
37960
+ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived, time_block_id } = {}, signal) {
38039
37961
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
38040
37962
  signal,
38041
37963
  searchParams: buildSearchParams$2({
@@ -38043,28 +37965,21 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
38043
37965
  per_page,
38044
37966
  order_by,
38045
37967
  type,
38046
- archived
37968
+ archived,
37969
+ time_block_id
38047
37970
  })
38048
37971
  }).json();
38049
37972
  }
38050
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
37973
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
38051
37974
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
38052
37975
  signal,
38053
- json: data,
38054
- searchParams: buildSearchParams$2({
38055
- from_recurring_task_id,
38056
- return_occurrence
38057
- })
37976
+ json: data
38058
37977
  }).json();
38059
37978
  }
38060
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
37979
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
38061
37980
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
38062
37981
  signal,
38063
- json: data,
38064
- searchParams: buildSearchParams$2({
38065
- from_recurring_task_id,
38066
- return_occurrence
38067
- })
37982
+ json: data
38068
37983
  }).json();
38069
37984
  }
38070
37985
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -38115,7 +38030,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
38115
38030
  json: data
38116
38031
  }).json();
38117
38032
  }
38118
- 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) {
38033
+ 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) {
38119
38034
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
38120
38035
  signal,
38121
38036
  searchParams: buildSearchParams$2({
@@ -38123,7 +38038,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
38123
38038
  date_to,
38124
38039
  task_id,
38125
38040
  status_id,
38126
- project_id,
38127
38041
  type,
38128
38042
  order_by,
38129
38043
  archived,
@@ -38138,36 +38052,28 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
38138
38052
  json: data
38139
38053
  }).json();
38140
38054
  }
38055
+ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
38056
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
38057
+ signal,
38058
+ searchParams: buildSearchParams$2({ time_block_id })
38059
+ }).json();
38060
+ }
38141
38061
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
38142
38062
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
38143
38063
  }
38144
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
38064
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
38145
38065
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38146
38066
  signal,
38147
- json: data,
38148
- searchParams: buildSearchParams$2({
38149
- from_recurring_task_id,
38150
- return_occurrence
38151
- })
38067
+ json: data
38152
38068
  }).json();
38153
38069
  }
38154
- async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
38155
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38156
- signal,
38157
- searchParams: buildSearchParams$2({
38158
- from_recurring_task_id,
38159
- return_occurrence
38160
- })
38161
- }).json();
38070
+ async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
38071
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
38162
38072
  }
38163
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
38073
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
38164
38074
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38165
38075
  signal,
38166
- json: data,
38167
- searchParams: buildSearchParams$2({
38168
- from_recurring_task_id,
38169
- return_occurrence
38170
- })
38076
+ json: data
38171
38077
  }).json();
38172
38078
  }
38173
38079
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -38282,7 +38188,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38282
38188
  ]))
38283
38189
  });
38284
38190
  //#endregion
38285
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.73_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_1431cb81daa6850462a5f4fd78cd3b0f/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38191
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38286
38192
  async function getInvitations(httpClient, signal) {
38287
38193
  return (await httpClient.get(`invitations`, { signal })).json();
38288
38194
  }
@@ -38299,7 +38205,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38299
38205
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38300
38206
  }
38301
38207
  //#endregion
38302
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.73_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_1431cb81daa6850462a5f4fd78cd3b0f/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38208
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38303
38209
  function buildSearchParams(params, flattenArrays = false) {
38304
38210
  const searchParams = new URLSearchParams();
38305
38211
  Object.entries(params).forEach(([key, value]) => {
@@ -38311,7 +38217,7 @@ function buildSearchParams(params, flattenArrays = false) {
38311
38217
  return searchParams;
38312
38218
  }
38313
38219
  //#endregion
38314
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.73_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_1431cb81daa6850462a5f4fd78cd3b0f/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38220
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38315
38221
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38316
38222
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38317
38223
  }
@@ -38325,7 +38231,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38325
38231
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38326
38232
  }
38327
38233
  //#endregion
38328
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.73_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_1431cb81daa6850462a5f4fd78cd3b0f/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38234
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38329
38235
  async function getWorkspaces(httpClient, organization_id, signal) {
38330
38236
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38331
38237
  }
@@ -38345,7 +38251,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38345
38251
  });
38346
38252
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38347
38253
  //#endregion
38348
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.73_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_1431cb81daa6850462a5f4fd78cd3b0f/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38254
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38349
38255
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38350
38256
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38351
38257
  signal,
@@ -38356,12 +38262,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38356
38262
  })).json();
38357
38263
  }
38358
38264
  //#endregion
38359
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.73_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_1431cb81daa6850462a5f4fd78cd3b0f/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38265
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38360
38266
  async function getStatus(httpClient, signal) {
38361
38267
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38362
38268
  }
38363
38269
  //#endregion
38364
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.73_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_1431cb81daa6850462a5f4fd78cd3b0f/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38270
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38365
38271
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38366
38272
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38367
38273
  signal,
@@ -38389,7 +38295,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38389
38295
  return response.json();
38390
38296
  }
38391
38297
  //#endregion
38392
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.73_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_1431cb81daa6850462a5f4fd78cd3b0f/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38298
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.74_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_5ba30d62f94464cfb017a4cb92cd4476/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38393
38299
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38394
38300
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38395
38301
  }
@@ -41879,15 +41785,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
41879
41785
  }
41880
41786
  //#endregion
41881
41787
  //#region ../focus-queries/dist/audit-log/requests.ts
41882
- 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) {
41788
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
41883
41789
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
41884
41790
  signal,
41885
41791
  searchParams: buildSearchParams$2({
41886
41792
  workspace_id,
41887
41793
  entity_type,
41888
41794
  entity_id,
41889
- project_id,
41890
- custom_field_id,
41891
41795
  action,
41892
41796
  user_id,
41893
41797
  page_size,
@@ -41896,14 +41800,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
41896
41800
  })
41897
41801
  }).json();
41898
41802
  }
41899
- 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) {
41803
+ async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
41900
41804
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
41901
41805
  signal,
41902
41806
  searchParams: buildSearchParams$2({
41903
41807
  entity_type,
41904
41808
  entity_id,
41905
- project_id,
41906
- custom_field_id,
41907
41809
  action,
41908
41810
  user_id,
41909
41811
  page_size,
@@ -42056,14 +41958,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
42056
41958
  }
42057
41959
  //#endregion
42058
41960
  //#region ../focus-queries/dist/capacities/requests.ts
42059
- 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) {
41961
+ 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) {
42060
41962
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
42061
41963
  signal,
42062
41964
  searchParams: buildSearchParams$2({
41965
+ user_id,
42063
41966
  start_date,
42064
41967
  end_date,
42065
- user_id,
42066
- team_id,
42067
41968
  private: private_,
42068
41969
  task_source,
42069
41970
  unit,
@@ -42123,15 +42024,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
42123
42024
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42124
42025
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
42125
42026
  }
42126
- async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42127
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
42128
- }
42129
- async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
42130
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
42131
- signal,
42132
- json: data
42133
- }).json();
42134
- }
42135
42027
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
42136
42028
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
42137
42029
  signal,
@@ -42395,7 +42287,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
42395
42287
  }
42396
42288
  //#endregion
42397
42289
  //#region ../focus-queries/dist/project-groups/requests.ts
42398
- 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) {
42290
+ 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) {
42399
42291
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
42400
42292
  signal,
42401
42293
  searchParams: buildSearchParams$2({
@@ -42421,7 +42313,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42421
42313
  user_id,
42422
42314
  only_me,
42423
42315
  include_drafts,
42424
- include_recurring_series,
42425
42316
  cf_filter
42426
42317
  })
42427
42318
  }).json();
@@ -42440,6 +42331,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
42440
42331
  json: data
42441
42332
  }).json();
42442
42333
  }
42334
+ async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
42335
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
42336
+ }
42443
42337
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
42444
42338
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
42445
42339
  }
@@ -42465,37 +42359,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
42465
42359
  }).json();
42466
42360
  }
42467
42361
  //#endregion
42468
- //#region ../focus-queries/dist/publicsharedreports/requests.ts
42469
- async function openPublicSharedReport(httpClient, token, signal) {
42470
- return await httpClient.get(`shared/${token}`, { signal }).json();
42471
- }
42472
- async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
42473
- return await httpClient.post(`shared/${token}/profitability`, {
42474
- signal,
42475
- json: data,
42476
- searchParams: buildSearchParams$2({
42477
- response_format,
42478
- include_dicts
42479
- })
42480
- }).json();
42481
- }
42482
- async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
42483
- return await httpClient.post(`shared/${token}/query`, {
42484
- signal,
42485
- json: data,
42486
- searchParams: buildSearchParams$2({
42487
- response_format,
42488
- include_dicts
42489
- })
42490
- }).json();
42491
- }
42492
- async function workloadPublicSharedReport(httpClient, token, data, signal) {
42493
- return await httpClient.post(`shared/${token}/workload`, {
42494
- signal,
42495
- json: data
42496
- }).json();
42497
- }
42498
- //#endregion
42499
42362
  //#region ../focus-queries/dist/rates/requests.ts
42500
42363
  async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
42501
42364
  const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
@@ -42657,7 +42520,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
42657
42520
  }
42658
42521
  //#endregion
42659
42522
  //#region ../focus-queries/dist/search/requests.ts
42660
- async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, include_unassigned, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
42523
+ async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
42661
42524
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
42662
42525
  signal,
42663
42526
  searchParams: buildSearchParams$2({
@@ -42665,7 +42528,6 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
42665
42528
  per_group,
42666
42529
  assignee_user_id,
42667
42530
  assignee_team_id,
42668
- include_unassigned,
42669
42531
  project_id,
42670
42532
  task_id,
42671
42533
  include_drafts,
@@ -42710,18 +42572,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
42710
42572
  async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
42711
42573
  return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
42712
42574
  }
42713
- async function unshareSharedReport(httpClient, workspace_id, id, signal) {
42714
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
42715
- }
42716
- async function getSharedReportDates(httpClient, workspace_id, id, signal) {
42717
- return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
42718
- }
42719
- async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
42720
- return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
42721
- signal,
42722
- json: data
42723
- }).json();
42724
- }
42725
42575
  async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
42726
42576
  return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
42727
42577
  signal,
@@ -42731,21 +42581,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
42731
42581
  async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
42732
42582
  return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
42733
42583
  }
42734
- async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
42735
- return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
42736
- signal,
42737
- json: data
42738
- }).json();
42739
- }
42740
- async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
42741
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
42742
- }
42743
- async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
42744
- return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
42745
- signal,
42746
- json: data
42747
- }).json();
42748
- }
42749
42584
  //#endregion
42750
42585
  //#region ../focus-queries/dist/subscriptions/requests.ts
42751
42586
  async function getCurrentSubscription(httpClient, organization_id, signal) {
@@ -42802,10 +42637,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
42802
42637
  }
42803
42638
  //#endregion
42804
42639
  //#region ../focus-queries/dist/task-groups/requests.ts
42805
- 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) {
42640
+ 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) {
42806
42641
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
42807
42642
  signal,
42808
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
42809
42643
  searchParams: buildSearchParams$2({
42810
42644
  project_id,
42811
42645
  source,
@@ -42834,18 +42668,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
42834
42668
  min_days,
42835
42669
  include_drafts,
42836
42670
  cf_filter,
42837
- user_cf_filter,
42838
- recurring_occurrences_after,
42839
- max_recurring_occurrences_after,
42840
- recurring_task_read,
42841
- include_projected_occurrences
42671
+ user_cf_filter
42842
42672
  })
42843
42673
  }).json();
42844
42674
  }
42845
- 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) {
42675
+ 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) {
42846
42676
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
42847
42677
  signal,
42848
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
42849
42678
  searchParams: buildSearchParams$2({
42850
42679
  team_id,
42851
42680
  project_id,
@@ -42874,18 +42703,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
42874
42703
  min_days,
42875
42704
  include_drafts,
42876
42705
  cf_filter,
42877
- user_cf_filter,
42878
- recurring_occurrences_after,
42879
- max_recurring_occurrences_after,
42880
- recurring_task_read,
42881
- include_projected_occurrences
42706
+ user_cf_filter
42882
42707
  })
42883
42708
  }).json();
42884
42709
  }
42885
- 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) {
42710
+ 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) {
42886
42711
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
42887
42712
  signal,
42888
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
42889
42713
  searchParams: buildSearchParams$2({
42890
42714
  source,
42891
42715
  priority,
@@ -42915,10 +42739,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
42915
42739
  include_drafts,
42916
42740
  cf_filter,
42917
42741
  user_cf_filter,
42918
- recurring_occurrences_after,
42919
- max_recurring_occurrences_after,
42920
- recurring_task_read,
42921
- include_projected_occurrences,
42922
42742
  page,
42923
42743
  per_page,
42924
42744
  order_by
@@ -42946,6 +42766,104 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
42946
42766
  }).json();
42947
42767
  }
42948
42768
  //#endregion
42769
+ //#region ../focus-queries/dist/time-blocks/requests.ts
42770
+ async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
42771
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
42772
+ signal,
42773
+ searchParams: buildSearchParams$2({
42774
+ page,
42775
+ per_page,
42776
+ order_by,
42777
+ archived
42778
+ })
42779
+ }).json();
42780
+ }
42781
+ async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
42782
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
42783
+ signal,
42784
+ json: data
42785
+ }).json();
42786
+ }
42787
+ async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
42788
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
42789
+ }
42790
+ async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
42791
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
42792
+ signal,
42793
+ json: data
42794
+ }).json();
42795
+ }
42796
+ async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
42797
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
42798
+ signal,
42799
+ searchParams: buildSearchParams$2({ outbound_sync })
42800
+ }).json();
42801
+ }
42802
+ async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
42803
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
42804
+ signal,
42805
+ json: data
42806
+ }).json();
42807
+ }
42808
+ async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
42809
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
42810
+ }
42811
+ async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
42812
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
42813
+ }
42814
+ async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
42815
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
42816
+ }
42817
+ async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
42818
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
42819
+ signal,
42820
+ searchParams: buildSearchParams$2({
42821
+ date_from,
42822
+ date_to,
42823
+ task_id,
42824
+ status_id,
42825
+ page,
42826
+ per_page,
42827
+ archived,
42828
+ order_by
42829
+ })
42830
+ }).json();
42831
+ }
42832
+ async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
42833
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
42834
+ signal,
42835
+ json: data
42836
+ }).json();
42837
+ }
42838
+ async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
42839
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
42840
+ signal,
42841
+ searchParams: buildSearchParams$2({
42842
+ ids,
42843
+ outbound_sync
42844
+ })
42845
+ }).json();
42846
+ }
42847
+ async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
42848
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
42849
+ signal,
42850
+ json: data
42851
+ }).json();
42852
+ }
42853
+ async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
42854
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
42855
+ signal,
42856
+ searchParams: buildSearchParams$2({
42857
+ date_from,
42858
+ date_to,
42859
+ task_id,
42860
+ status_id,
42861
+ archived,
42862
+ order_by
42863
+ })
42864
+ }).json();
42865
+ }
42866
+ //#endregion
42949
42867
  //#region ../focus-queries/dist/time-entry-constraints/requests.ts
42950
42868
  async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
42951
42869
  return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
@@ -42983,12 +42901,6 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
42983
42901
  })
42984
42902
  }).json();
42985
42903
  }
42986
- async function getTimeoffCategories(httpClient, organization_id, signal) {
42987
- return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
42988
- }
42989
- async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
42990
- return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
42991
- }
42992
42904
  async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
42993
42905
  return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
42994
42906
  signal,
@@ -43016,26 +42928,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
43016
42928
  json: data
43017
42929
  }).json();
43018
42930
  }
43019
- async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
43020
- return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
43021
- signal,
43022
- searchParams: buildSearchParams$2({
43023
- category_id,
43024
- date
43025
- })
43026
- }).json();
43027
- }
43028
- async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
43029
- return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
43030
- signal,
43031
- searchParams: buildSearchParams$2({
43032
- category_id,
43033
- year,
43034
- page,
43035
- rows
43036
- })
43037
- }).json();
43038
- }
43039
42931
  //#endregion
43040
42932
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
43041
42933
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -43136,19 +43028,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
43136
43028
  json: data
43137
43029
  }).json();
43138
43030
  }
43139
- async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
43140
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
43141
- signal,
43142
- searchParams: buildSearchParams$2({
43143
- date_from,
43144
- date_to,
43145
- setup_id,
43146
- user_account_ids,
43147
- approver_user_account_ids,
43148
- team_ids
43149
- })
43150
- }).json();
43151
- }
43152
43031
  async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
43153
43032
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
43154
43033
  }
@@ -43192,21 +43071,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
43192
43071
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
43193
43072
  }
43194
43073
  //#endregion
43195
- //#region ../focus-queries/dist/track-team-invites/requests.ts
43196
- async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
43197
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
43198
- signal,
43199
- json: data
43200
- }).json();
43201
- }
43202
- //#endregion
43203
43074
  //#region ../focus-queries/dist/user-settings/requests.ts
43204
- async function emailUnsubscribePage(httpClient, token, signal) {
43205
- return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
43206
- }
43207
- async function emailUnsubscribe(httpClient, token, signal) {
43208
- return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
43209
- }
43210
43075
  async function getUserSettings(httpClient, signal) {
43211
43076
  return await httpClient.get(`users/me/settings`, { signal }).json();
43212
43077
  }
@@ -43446,7 +43311,6 @@ const generatedFocusOperations = [
43446
43311
  mcp: { entityTool: "audit-log" },
43447
43312
  inputSchema: /* @__PURE__ */ looseObject({
43448
43313
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43449
- custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43450
43314
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43451
43315
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43452
43316
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -43454,7 +43318,6 @@ const generatedFocusOperations = [
43454
43318
  from: /* @__PURE__ */ string$1(),
43455
43319
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43456
43320
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43457
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43458
43321
  to: /* @__PURE__ */ string$1(),
43459
43322
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43460
43323
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -43488,7 +43351,6 @@ const generatedFocusOperations = [
43488
43351
  mcp: { entityTool: "audit-log" },
43489
43352
  inputSchema: /* @__PURE__ */ looseObject({
43490
43353
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43491
- custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43492
43354
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43493
43355
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43494
43356
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -43496,7 +43358,6 @@ const generatedFocusOperations = [
43496
43358
  from: /* @__PURE__ */ string$1(),
43497
43359
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43498
43360
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43499
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43500
43361
  to: /* @__PURE__ */ string$1(),
43501
43362
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43502
43363
  }),
@@ -43536,7 +43397,6 @@ const generatedFocusOperations = [
43536
43397
  private_: /* @__PURE__ */ unknown$1(),
43537
43398
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43538
43399
  task_source: /* @__PURE__ */ unknown$1(),
43539
- team_id: /* @__PURE__ */ number$2(),
43540
43400
  unit: /* @__PURE__ */ unknown$1(),
43541
43401
  user_id: /* @__PURE__ */ number$2()
43542
43402
  }),
@@ -43786,6 +43646,8 @@ const generatedFocusOperations = [
43786
43646
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43787
43647
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
43788
43648
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43649
+ integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43650
+ integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43789
43651
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43790
43652
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43791
43653
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -43819,6 +43681,8 @@ const generatedFocusOperations = [
43819
43681
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43820
43682
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
43821
43683
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43684
+ integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43685
+ integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43822
43686
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43823
43687
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43824
43688
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -43834,6 +43698,12 @@ const generatedFocusOperations = [
43834
43698
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43835
43699
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43836
43700
  }))),
43701
+ time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
43702
+ start: apiDateTimeString,
43703
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43704
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43705
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
43706
+ }))),
43837
43707
  time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
43838
43708
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
43839
43709
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -43843,6 +43713,13 @@ const generatedFocusOperations = [
43843
43713
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43844
43714
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43845
43715
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
43716
+ time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
43717
+ start: apiDateTimeString,
43718
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43719
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43720
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
43721
+ })),
43722
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43846
43723
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
43847
43724
  }))
43848
43725
  }) }),
@@ -43961,60 +43838,33 @@ const generatedFocusOperations = [
43961
43838
  }
43962
43839
  },
43963
43840
  {
43964
- id: "focus.custom-fields.get-allowed-users",
43841
+ id: "focus.custom-fields.list",
43965
43842
  family: "focus",
43966
43843
  resource: "custom-fields",
43967
- action: "get-allowed-users",
43968
- title: "Get Allowed Users Custom Fields",
43969
- description: "Get Allowed Users Custom Fields.",
43844
+ action: "list",
43845
+ title: "List Custom Fields",
43846
+ description: "List Custom Fields.",
43970
43847
  safety: "read",
43971
43848
  destructive: false,
43972
43849
  cli: {
43973
43850
  group: ["custom-fields"],
43974
- command: "get-allowed-users",
43975
- interactive: "available"
43851
+ command: "list",
43852
+ interactive: "hidden"
43976
43853
  },
43977
43854
  mcp: { entityTool: "custom-fields" },
43978
- inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
43855
+ inputSchema: /* @__PURE__ */ looseObject({
43856
+ entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43857
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43858
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43859
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
43860
+ }),
43979
43861
  execute: (input, { client }) => {
43980
43862
  const data = input;
43981
- return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
43863
+ return client.runGeneratedRequest("getCustomFieldsClassic", () => callGeneratedRequest(getCustomFieldsClassic, [
43982
43864
  client.httpClient,
43983
43865
  client.organizationId,
43984
43866
  client.workspaceIdNumber,
43985
- data.custom_field_id,
43986
- void 0
43987
- ]));
43988
- }
43989
- },
43990
- {
43991
- id: "focus.custom-fields.list",
43992
- family: "focus",
43993
- resource: "custom-fields",
43994
- action: "list",
43995
- title: "List Custom Fields",
43996
- description: "List Custom Fields.",
43997
- safety: "read",
43998
- destructive: false,
43999
- cli: {
44000
- group: ["custom-fields"],
44001
- command: "list",
44002
- interactive: "hidden"
44003
- },
44004
- mcp: { entityTool: "custom-fields" },
44005
- inputSchema: /* @__PURE__ */ looseObject({
44006
- entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
44007
- order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
44008
- page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44009
- per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
44010
- }),
44011
- execute: (input, { client }) => {
44012
- const data = input;
44013
- return client.runGeneratedRequest("getCustomFieldsClassic", () => callGeneratedRequest(getCustomFieldsClassic, [
44014
- client.httpClient,
44015
- client.organizationId,
44016
- client.workspaceIdNumber,
44017
- data,
43867
+ data,
44018
43868
  void 0
44019
43869
  ]));
44020
43870
  }
@@ -44156,37 +44006,6 @@ const generatedFocusOperations = [
44156
44006
  ]));
44157
44007
  }
44158
44008
  },
44159
- {
44160
- id: "focus.custom-fields.replace-custom-field-allowed-users",
44161
- family: "focus",
44162
- resource: "custom-fields",
44163
- action: "replace-custom-field-allowed-users",
44164
- title: "Replace Custom Field Allowed Users Custom Fields",
44165
- description: "Replace Custom Field Allowed Users Custom Fields.",
44166
- safety: "update",
44167
- destructive: false,
44168
- cli: {
44169
- group: ["custom-fields"],
44170
- command: "replace-custom-field-allowed-users",
44171
- interactive: "default"
44172
- },
44173
- mcp: { entityTool: "custom-fields" },
44174
- inputSchema: /* @__PURE__ */ looseObject({
44175
- custom_field_id: /* @__PURE__ */ number$2(),
44176
- payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
44177
- }),
44178
- execute: (input, { client }) => {
44179
- const data = input;
44180
- return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
44181
- client.httpClient,
44182
- client.organizationId,
44183
- client.workspaceIdNumber,
44184
- data.custom_field_id,
44185
- data.payload ?? data.data ?? data,
44186
- void 0
44187
- ]));
44188
- }
44189
- },
44190
44009
  {
44191
44010
  id: "focus.custom-fields.update",
44192
44011
  family: "focus",
@@ -44333,7 +44152,13 @@ const generatedFocusOperations = [
44333
44152
  },
44334
44153
  mcp: { entityTool: "goals" },
44335
44154
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44155
+ billable: /* @__PURE__ */ boolean$1(),
44336
44156
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44157
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44158
+ icon: /* @__PURE__ */ string$1(),
44159
+ monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44160
+ name: /* @__PURE__ */ string$1(),
44161
+ project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44337
44162
  recurrence: /* @__PURE__ */ picklist$1([
44338
44163
  "daily",
44339
44164
  "weekly",
@@ -44341,18 +44166,12 @@ const generatedFocusOperations = [
44341
44166
  "monthly"
44342
44167
  ]),
44343
44168
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44169
+ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44344
44170
  target_seconds: /* @__PURE__ */ number$2(),
44345
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44171
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44172
+ weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44346
44173
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44347
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44348
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44349
- icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44350
- monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44351
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44352
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44353
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44354
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44355
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44174
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44356
44175
  }) }),
44357
44176
  execute: (input, { client }) => {
44358
44177
  const data = input;
@@ -44458,6 +44277,13 @@ const generatedFocusOperations = [
44458
44277
  },
44459
44278
  mcp: { entityTool: "goals" },
44460
44279
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44280
+ billable: /* @__PURE__ */ boolean$1(),
44281
+ comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44282
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44283
+ icon: /* @__PURE__ */ string$1(),
44284
+ monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44285
+ name: /* @__PURE__ */ string$1(),
44286
+ project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44461
44287
  recurrence: /* @__PURE__ */ picklist$1([
44462
44288
  "daily",
44463
44289
  "weekly",
@@ -44465,19 +44291,12 @@ const generatedFocusOperations = [
44465
44291
  "monthly"
44466
44292
  ]),
44467
44293
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44468
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44294
+ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44295
+ target_seconds: /* @__PURE__ */ number$2(),
44296
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44297
+ weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44469
44298
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44470
- comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
44471
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44472
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44473
- icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44474
- monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44475
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44476
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44477
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44478
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44479
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44480
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44299
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44481
44300
  }) }),
44482
44301
  execute: (input, { client }) => {
44483
44302
  const data = input;
@@ -45444,17 +45263,9 @@ const generatedFocusOperations = [
45444
45263
  mcp: { entityTool: "projects" },
45445
45264
  inputSchema: /* @__PURE__ */ looseObject({
45446
45265
  payload: /* @__PURE__ */ looseObject({
45447
- auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45448
- completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
45449
45266
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
45450
45267
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45451
45268
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45452
- rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
45453
- "expire",
45454
- "carry_all",
45455
- "carry_over"
45456
- ])),
45457
- rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45458
45269
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
45459
45270
  }),
45460
45271
  project_id: /* @__PURE__ */ number$2()
@@ -45898,7 +45709,6 @@ const generatedFocusOperations = [
45898
45709
  group: /* @__PURE__ */ string$1(),
45899
45710
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45900
45711
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45901
- include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45902
45712
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45903
45713
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45904
45714
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -46001,6 +45811,29 @@ const generatedFocusOperations = [
46001
45811
  ]));
46002
45812
  }
46003
45813
  },
45814
+ {
45815
+ id: "focus.projects.margin-targets-clear-workspace",
45816
+ family: "focus",
45817
+ resource: "projects",
45818
+ action: "margin-targets-clear-workspace",
45819
+ title: "Margin Targets Clear Workspace Projects",
45820
+ description: "Margin Targets Clear Workspace Projects.",
45821
+ safety: "delete",
45822
+ destructive: true,
45823
+ cli: {
45824
+ group: ["projects", "margin-targets"],
45825
+ command: "clear-workspace",
45826
+ interactive: "default"
45827
+ },
45828
+ mcp: { entityTool: "projects" },
45829
+ inputSchema: /* @__PURE__ */ looseObject({}),
45830
+ execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
45831
+ client.httpClient,
45832
+ client.organizationId,
45833
+ client.workspaceIdNumber,
45834
+ void 0
45835
+ ]))
45836
+ },
46004
45837
  {
46005
45838
  id: "focus.projects.margin-targets-get",
46006
45839
  family: "focus",
@@ -46445,130 +46278,6 @@ const generatedFocusOperations = [
46445
46278
  ]));
46446
46279
  }
46447
46280
  },
46448
- {
46449
- id: "focus.publicsharedreports.open-public-shared-report",
46450
- family: "focus",
46451
- resource: "publicsharedreports",
46452
- action: "open-public-shared-report",
46453
- title: "Open Public Shared Report Publicsharedreports",
46454
- description: "Open Public Shared Report Publicsharedreports.",
46455
- safety: "read",
46456
- destructive: false,
46457
- cli: {
46458
- group: ["publicsharedreports"],
46459
- command: "open-public-shared-report",
46460
- interactive: "available"
46461
- },
46462
- mcp: { entityTool: "publicsharedreports" },
46463
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
46464
- execute: (input, { client }) => {
46465
- const data = input;
46466
- return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
46467
- client.httpClient,
46468
- data.token,
46469
- void 0
46470
- ]));
46471
- }
46472
- },
46473
- {
46474
- id: "focus.publicsharedreports.profitability-public-shared-report",
46475
- family: "focus",
46476
- resource: "publicsharedreports",
46477
- action: "profitability-public-shared-report",
46478
- title: "Profitability Public Shared Report Publicsharedreports",
46479
- description: "Profitability Public Shared Report Publicsharedreports.",
46480
- safety: "update",
46481
- destructive: false,
46482
- cli: {
46483
- group: ["publicsharedreports"],
46484
- command: "profitability-public-shared-report",
46485
- interactive: "default"
46486
- },
46487
- mcp: { entityTool: "publicsharedreports" },
46488
- inputSchema: /* @__PURE__ */ looseObject({
46489
- include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
46490
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46491
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
46492
- token: /* @__PURE__ */ string$1()
46493
- }),
46494
- execute: (input, { client }) => {
46495
- const data = input;
46496
- return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
46497
- client.httpClient,
46498
- data.token,
46499
- data.payload ?? data.data ?? data,
46500
- data.response_format,
46501
- data.include_dicts,
46502
- void 0
46503
- ]));
46504
- }
46505
- },
46506
- {
46507
- id: "focus.publicsharedreports.query-public-shared-report",
46508
- family: "focus",
46509
- resource: "publicsharedreports",
46510
- action: "query-public-shared-report",
46511
- title: "Query Public Shared Report Publicsharedreports",
46512
- description: "Query Public Shared Report Publicsharedreports.",
46513
- safety: "update",
46514
- destructive: false,
46515
- cli: {
46516
- group: ["publicsharedreports"],
46517
- command: "query-public-shared-report",
46518
- interactive: "default"
46519
- },
46520
- mcp: { entityTool: "publicsharedreports" },
46521
- inputSchema: /* @__PURE__ */ looseObject({
46522
- include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
46523
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46524
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
46525
- "json_row",
46526
- "table",
46527
- "hierarchical"
46528
- ])),
46529
- token: /* @__PURE__ */ string$1()
46530
- }),
46531
- execute: (input, { client }) => {
46532
- const data = input;
46533
- return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
46534
- client.httpClient,
46535
- data.token,
46536
- data.payload ?? data.data ?? data,
46537
- data.response_format,
46538
- data.include_dicts,
46539
- void 0
46540
- ]));
46541
- }
46542
- },
46543
- {
46544
- id: "focus.publicsharedreports.workload-public-shared-report",
46545
- family: "focus",
46546
- resource: "publicsharedreports",
46547
- action: "workload-public-shared-report",
46548
- title: "Workload Public Shared Report Publicsharedreports",
46549
- description: "Workload Public Shared Report Publicsharedreports.",
46550
- safety: "update",
46551
- destructive: false,
46552
- cli: {
46553
- group: ["publicsharedreports"],
46554
- command: "workload-public-shared-report",
46555
- interactive: "default"
46556
- },
46557
- mcp: { entityTool: "publicsharedreports" },
46558
- inputSchema: /* @__PURE__ */ looseObject({
46559
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46560
- token: /* @__PURE__ */ string$1()
46561
- }),
46562
- execute: (input, { client }) => {
46563
- const data = input;
46564
- return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
46565
- client.httpClient,
46566
- data.token,
46567
- data.payload ?? data.data ?? data,
46568
- void 0
46569
- ]));
46570
- }
46571
- },
46572
46281
  {
46573
46282
  id: "focus.rates.billable-check-project-billable-rate-conflicts",
46574
46283
  family: "focus",
@@ -48527,7 +48236,7 @@ const generatedFocusOperations = [
48527
48236
  cli: {
48528
48237
  group: ["reportschedules"],
48529
48238
  command: "upsert-saved-view-schedule",
48530
- interactive: "hidden"
48239
+ interactive: "default"
48531
48240
  },
48532
48241
  mcp: { entityTool: "reportschedules" },
48533
48242
  inputSchema: /* @__PURE__ */ looseObject({
@@ -48538,10 +48247,8 @@ const generatedFocusOperations = [
48538
48247
  "weekly",
48539
48248
  "monthly"
48540
48249
  ]),
48541
- charts: /* @__PURE__ */ unknown$1(),
48542
48250
  time: /* @__PURE__ */ string$1(),
48543
48251
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48544
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48545
48252
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48546
48253
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48547
48254
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -48874,32 +48581,6 @@ const generatedFocusOperations = [
48874
48581
  ]));
48875
48582
  }
48876
48583
  },
48877
- {
48878
- id: "focus.sharedreports.get-shared-report-dates",
48879
- family: "focus",
48880
- resource: "sharedreports",
48881
- action: "get-shared-report-dates",
48882
- title: "Get Shared Report Dates Sharedreports",
48883
- description: "Get Shared Report Dates Sharedreports.",
48884
- safety: "read",
48885
- destructive: false,
48886
- cli: {
48887
- group: ["sharedreports"],
48888
- command: "get-shared-report-dates",
48889
- interactive: "available"
48890
- },
48891
- mcp: { entityTool: "sharedreports" },
48892
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48893
- execute: (input, { client }) => {
48894
- const data = input;
48895
- return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
48896
- client.httpClient,
48897
- client.workspaceIdNumber,
48898
- data.id,
48899
- void 0
48900
- ]));
48901
- }
48902
- },
48903
48584
  {
48904
48585
  id: "focus.sharedreports.get-shared-report-for-viewer",
48905
48586
  family: "focus",
@@ -48970,36 +48651,6 @@ const generatedFocusOperations = [
48970
48651
  void 0
48971
48652
  ]))
48972
48653
  },
48973
- {
48974
- id: "focus.sharedreports.mint-shared-report-link",
48975
- family: "focus",
48976
- resource: "sharedreports",
48977
- action: "mint-shared-report-link",
48978
- title: "Mint Shared Report Link Sharedreports",
48979
- description: "Mint Shared Report Link Sharedreports.",
48980
- safety: "update",
48981
- destructive: false,
48982
- cli: {
48983
- group: ["sharedreports"],
48984
- command: "mint-shared-report-link",
48985
- interactive: "default"
48986
- },
48987
- mcp: { entityTool: "sharedreports" },
48988
- inputSchema: /* @__PURE__ */ looseObject({
48989
- id: /* @__PURE__ */ number$2(),
48990
- payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
48991
- }),
48992
- execute: (input, { client }) => {
48993
- const data = input;
48994
- return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
48995
- client.httpClient,
48996
- client.workspaceIdNumber,
48997
- data.id,
48998
- data.payload ?? data.data ?? data,
48999
- void 0
49000
- ]));
49001
- }
49002
- },
49003
48654
  {
49004
48655
  id: "focus.sharedreports.revoke-shared-report-grant",
49005
48656
  family: "focus",
@@ -49031,53 +48682,71 @@ const generatedFocusOperations = [
49031
48682
  }
49032
48683
  },
49033
48684
  {
49034
- id: "focus.sharedreports.revoke-shared-report-link",
48685
+ id: "focus.sharedreports.share-saved-view",
49035
48686
  family: "focus",
49036
48687
  resource: "sharedreports",
49037
- action: "revoke-shared-report-link",
49038
- title: "Revoke Shared Report Link Sharedreports",
49039
- description: "Revoke Shared Report Link Sharedreports.",
49040
- safety: "delete",
49041
- destructive: true,
48688
+ action: "share-saved-view",
48689
+ title: "Share Saved View Sharedreports",
48690
+ description: "Share Saved View Sharedreports.",
48691
+ safety: "update",
48692
+ destructive: false,
49042
48693
  cli: {
49043
48694
  group: ["sharedreports"],
49044
- command: "revoke-shared-report-link",
49045
- interactive: "default"
48695
+ command: "share-saved-view",
48696
+ interactive: "hidden"
49046
48697
  },
49047
48698
  mcp: { entityTool: "sharedreports" },
49048
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48699
+ inputSchema: /* @__PURE__ */ looseObject({
48700
+ id: /* @__PURE__ */ number$2(),
48701
+ payload: /* @__PURE__ */ looseObject({
48702
+ charts: /* @__PURE__ */ unknown$1(),
48703
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48704
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48705
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48706
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48707
+ })
48708
+ }),
49049
48709
  execute: (input, { client }) => {
49050
48710
  const data = input;
49051
- return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
48711
+ return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
49052
48712
  client.httpClient,
49053
48713
  client.workspaceIdNumber,
49054
48714
  data.id,
48715
+ data.payload ?? data.data ?? data,
49055
48716
  void 0
49056
48717
  ]));
49057
48718
  }
49058
48719
  },
49059
48720
  {
49060
- id: "focus.sharedreports.rotate-shared-report-link",
48721
+ id: "focus.sharedreports.share-saved-view-many",
49061
48722
  family: "focus",
49062
48723
  resource: "sharedreports",
49063
- action: "rotate-shared-report-link",
49064
- title: "Rotate Shared Report Link Sharedreports",
49065
- description: "Rotate Shared Report Link Sharedreports.",
48724
+ action: "share-saved-view-many",
48725
+ title: "Share Saved View Many Sharedreports",
48726
+ description: "Share Saved View Many Sharedreports.",
49066
48727
  safety: "update",
49067
48728
  destructive: false,
49068
48729
  cli: {
49069
48730
  group: ["sharedreports"],
49070
- command: "rotate-shared-report-link",
49071
- interactive: "default"
48731
+ command: "share-saved-view-many",
48732
+ interactive: "hidden"
49072
48733
  },
49073
48734
  mcp: { entityTool: "sharedreports" },
49074
48735
  inputSchema: /* @__PURE__ */ looseObject({
49075
48736
  id: /* @__PURE__ */ number$2(),
49076
- payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
48737
+ payload: /* @__PURE__ */ looseObject({
48738
+ charts: /* @__PURE__ */ unknown$1(),
48739
+ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48740
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48741
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48742
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48743
+ })),
48744
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48745
+ })
49077
48746
  }),
49078
48747
  execute: (input, { client }) => {
49079
48748
  const data = input;
49080
- return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
48749
+ return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
49081
48750
  client.httpClient,
49082
48751
  client.workspaceIdNumber,
49083
48752
  data.id,
@@ -49086,136 +48755,6 @@ const generatedFocusOperations = [
49086
48755
  ]));
49087
48756
  }
49088
48757
  },
49089
- {
49090
- id: "focus.sharedreports.set-shared-report-dates-lock",
49091
- family: "focus",
49092
- resource: "sharedreports",
49093
- action: "set-shared-report-dates-lock",
49094
- title: "Set Shared Report Dates Lock Sharedreports",
49095
- description: "Set Shared Report Dates Lock Sharedreports.",
49096
- safety: "update",
49097
- destructive: false,
49098
- cli: {
49099
- group: ["sharedreports"],
49100
- command: "set-shared-report-dates-lock",
49101
- interactive: "default"
49102
- },
49103
- mcp: { entityTool: "sharedreports" },
49104
- inputSchema: /* @__PURE__ */ looseObject({
49105
- id: /* @__PURE__ */ number$2(),
49106
- payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
49107
- }),
49108
- execute: (input, { client }) => {
49109
- const data = input;
49110
- return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
49111
- client.httpClient,
49112
- client.workspaceIdNumber,
49113
- data.id,
49114
- data.payload ?? data.data ?? data,
49115
- void 0
49116
- ]));
49117
- }
49118
- },
49119
- {
49120
- id: "focus.sharedreports.share-saved-view",
49121
- family: "focus",
49122
- resource: "sharedreports",
49123
- action: "share-saved-view",
49124
- title: "Share Saved View Sharedreports",
49125
- description: "Share Saved View Sharedreports.",
49126
- safety: "update",
49127
- destructive: false,
49128
- cli: {
49129
- group: ["sharedreports"],
49130
- command: "share-saved-view",
49131
- interactive: "hidden"
49132
- },
49133
- mcp: { entityTool: "sharedreports" },
49134
- inputSchema: /* @__PURE__ */ looseObject({
49135
- id: /* @__PURE__ */ number$2(),
49136
- payload: /* @__PURE__ */ looseObject({
49137
- charts: /* @__PURE__ */ unknown$1(),
49138
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49139
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49140
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49141
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
49142
- })
49143
- }),
49144
- execute: (input, { client }) => {
49145
- const data = input;
49146
- return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
49147
- client.httpClient,
49148
- client.workspaceIdNumber,
49149
- data.id,
49150
- data.payload ?? data.data ?? data,
49151
- void 0
49152
- ]));
49153
- }
49154
- },
49155
- {
49156
- id: "focus.sharedreports.share-saved-view-many",
49157
- family: "focus",
49158
- resource: "sharedreports",
49159
- action: "share-saved-view-many",
49160
- title: "Share Saved View Many Sharedreports",
49161
- description: "Share Saved View Many Sharedreports.",
49162
- safety: "update",
49163
- destructive: false,
49164
- cli: {
49165
- group: ["sharedreports"],
49166
- command: "share-saved-view-many",
49167
- interactive: "hidden"
49168
- },
49169
- mcp: { entityTool: "sharedreports" },
49170
- inputSchema: /* @__PURE__ */ looseObject({
49171
- id: /* @__PURE__ */ number$2(),
49172
- payload: /* @__PURE__ */ looseObject({
49173
- charts: /* @__PURE__ */ unknown$1(),
49174
- grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
49175
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49176
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49177
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
49178
- })),
49179
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
49180
- })
49181
- }),
49182
- execute: (input, { client }) => {
49183
- const data = input;
49184
- return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
49185
- client.httpClient,
49186
- client.workspaceIdNumber,
49187
- data.id,
49188
- data.payload ?? data.data ?? data,
49189
- void 0
49190
- ]));
49191
- }
49192
- },
49193
- {
49194
- id: "focus.sharedreports.unshare-shared-report",
49195
- family: "focus",
49196
- resource: "sharedreports",
49197
- action: "unshare-shared-report",
49198
- title: "Unshare Shared Report Sharedreports",
49199
- description: "Unshare Shared Report Sharedreports.",
49200
- safety: "delete",
49201
- destructive: true,
49202
- cli: {
49203
- group: ["sharedreports"],
49204
- command: "unshare-shared-report",
49205
- interactive: "default"
49206
- },
49207
- mcp: { entityTool: "sharedreports" },
49208
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
49209
- execute: (input, { client }) => {
49210
- const data = input;
49211
- return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
49212
- client.httpClient,
49213
- client.workspaceIdNumber,
49214
- data.id,
49215
- void 0
49216
- ]));
49217
- }
49218
- },
49219
48758
  {
49220
48759
  id: "focus.statuses.create-status",
49221
48760
  family: "focus",
@@ -50258,37 +49797,6 @@ const generatedFocusOperations = [
50258
49797
  return client.createTask(data);
50259
49798
  }
50260
49799
  },
50261
- {
50262
- id: "focus.tasks.create-recurring-occurrence",
50263
- family: "focus",
50264
- resource: "tasks",
50265
- action: "create-recurring-occurrence",
50266
- title: "Create Recurring Occurrence Tasks",
50267
- description: "Create Recurring Occurrence Tasks.",
50268
- safety: "create",
50269
- destructive: false,
50270
- cli: {
50271
- group: ["tasks"],
50272
- command: "create-recurring-occurrence",
50273
- interactive: "default"
50274
- },
50275
- mcp: { entityTool: "tasks" },
50276
- inputSchema: /* @__PURE__ */ looseObject({
50277
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50278
- task_id: /* @__PURE__ */ number$2()
50279
- }),
50280
- execute: (input, { client }) => {
50281
- const data = input;
50282
- return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
50283
- client.httpClient,
50284
- client.organizationId,
50285
- client.workspaceIdNumber,
50286
- data.task_id,
50287
- data.return_occurrence,
50288
- void 0
50289
- ]));
50290
- }
50291
- },
50292
49800
  {
50293
49801
  id: "focus.tasks.delete",
50294
49802
  family: "focus",
@@ -50513,79 +50021,6 @@ const generatedFocusOperations = [
50513
50021
  ]));
50514
50022
  }
50515
50023
  },
50516
- {
50517
- id: "focus.tasks.get-picker-task-children",
50518
- family: "focus",
50519
- resource: "tasks",
50520
- action: "get-picker-task-children",
50521
- title: "Get Picker Task Children Tasks",
50522
- description: "Get Picker Task Children Tasks.",
50523
- safety: "read",
50524
- destructive: false,
50525
- cli: {
50526
- group: ["tasks"],
50527
- command: "get-picker-task-children",
50528
- interactive: "hidden"
50529
- },
50530
- mcp: { entityTool: "tasks" },
50531
- inputSchema: /* @__PURE__ */ looseObject({
50532
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50533
- only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50534
- page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50535
- parent_task_id: /* @__PURE__ */ number$2(),
50536
- per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50537
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50538
- search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50539
- without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50540
- }),
50541
- execute: (input, { client }) => {
50542
- const data = input;
50543
- return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
50544
- client.httpClient,
50545
- client.organizationId,
50546
- client.workspaceIdNumber,
50547
- data.parent_task_id,
50548
- data,
50549
- void 0
50550
- ]));
50551
- }
50552
- },
50553
- {
50554
- id: "focus.tasks.get-picker-task-groups",
50555
- family: "focus",
50556
- resource: "tasks",
50557
- action: "get-picker-task-groups",
50558
- title: "Get Picker Task Groups Tasks",
50559
- description: "Get Picker Task Groups Tasks.",
50560
- safety: "read",
50561
- destructive: false,
50562
- cli: {
50563
- group: ["tasks"],
50564
- command: "get-picker-task-groups",
50565
- interactive: "hidden"
50566
- },
50567
- mcp: { entityTool: "tasks" },
50568
- inputSchema: /* @__PURE__ */ looseObject({
50569
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50570
- only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50571
- page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50572
- per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50573
- pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50574
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50575
- search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50576
- without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50577
- }),
50578
- execute: (input, { client }) => {
50579
- const data = input;
50580
- return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
50581
- client.httpClient,
50582
- client.organizationId,
50583
- client.workspaceIdNumber,
50584
- data,
50585
- void 0
50586
- ]));
50587
- }
50588
- },
50589
50024
  {
50590
50025
  id: "focus.tasks.get-recurring-instances",
50591
50026
  family: "focus",
@@ -50609,13 +50044,9 @@ const generatedFocusOperations = [
50609
50044
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50610
50045
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50611
50046
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50612
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50613
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50614
50047
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50615
50048
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50616
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50617
50049
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50618
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50619
50050
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50620
50051
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50621
50052
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -50661,14 +50092,13 @@ const generatedFocusOperations = [
50661
50092
  estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50662
50093
  estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50663
50094
  has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50095
+ has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50664
50096
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50665
50097
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50666
50098
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50667
50099
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50668
50100
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50669
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50670
50101
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50671
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50672
50102
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50673
50103
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50674
50104
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -50677,9 +50107,7 @@ const generatedFocusOperations = [
50677
50107
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50678
50108
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50679
50109
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50680
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50681
50110
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50682
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50683
50111
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50684
50112
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50685
50113
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50688,6 +50116,8 @@ const generatedFocusOperations = [
50688
50116
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50689
50117
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50690
50118
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50119
+ time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50120
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50691
50121
  toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50692
50122
  with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50693
50123
  }),
@@ -50815,10 +50245,8 @@ const generatedFocusOperations = [
50815
50245
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50816
50246
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50817
50247
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50818
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50819
50248
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50820
50249
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50821
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50822
50250
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50823
50251
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50824
50252
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50827,8 +50255,6 @@ const generatedFocusOperations = [
50827
50255
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50828
50256
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50829
50257
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50830
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50831
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50832
50258
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50833
50259
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50834
50260
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50837,8 +50263,7 @@ const generatedFocusOperations = [
50837
50263
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50838
50264
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50839
50265
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50840
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50841
- xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50266
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50842
50267
  }),
50843
50268
  execute: (input, { client }) => {
50844
50269
  const data = input;
@@ -50880,17 +50305,13 @@ const generatedFocusOperations = [
50880
50305
  group_id: /* @__PURE__ */ number$2(),
50881
50306
  include_assignees: /* @__PURE__ */ unknown$1(),
50882
50307
  include_drafts: /* @__PURE__ */ unknown$1(),
50883
- include_projected_occurrences: /* @__PURE__ */ unknown$1(),
50884
50308
  include_unassigned: /* @__PURE__ */ unknown$1(),
50885
50309
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
50886
- max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
50887
50310
  min_days: /* @__PURE__ */ unknown$1(),
50888
50311
  name: /* @__PURE__ */ unknown$1(),
50889
50312
  priority: /* @__PURE__ */ unknown$1(),
50890
50313
  private_: /* @__PURE__ */ unknown$1(),
50891
50314
  project_id: /* @__PURE__ */ number$2(),
50892
- recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
50893
- recurring_task_read: /* @__PURE__ */ unknown$1(),
50894
50315
  source: /* @__PURE__ */ unknown$1(),
50895
50316
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
50896
50317
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -50899,8 +50320,7 @@ const generatedFocusOperations = [
50899
50320
  tag_id: /* @__PURE__ */ number$2(),
50900
50321
  team_id: /* @__PURE__ */ number$2(),
50901
50322
  user_cf_filter: /* @__PURE__ */ unknown$1(),
50902
- user_tag_id: /* @__PURE__ */ number$2(),
50903
- xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
50323
+ user_tag_id: /* @__PURE__ */ number$2()
50904
50324
  }),
50905
50325
  execute: (input, { client }) => {
50906
50326
  const data = input;
@@ -50941,17 +50361,13 @@ const generatedFocusOperations = [
50941
50361
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50942
50362
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50943
50363
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50944
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50945
50364
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50946
50365
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50947
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50948
50366
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50949
50367
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50950
50368
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50951
50369
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50952
50370
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50953
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50954
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50955
50371
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50956
50372
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50957
50373
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50960,8 +50376,7 @@ const generatedFocusOperations = [
50960
50376
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50961
50377
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50962
50378
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50963
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50964
- xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50379
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50965
50380
  }),
50966
50381
  execute: (input, { client }) => {
50967
50382
  const data = input;
@@ -51205,45 +50620,508 @@ const generatedFocusOperations = [
51205
50620
  }),
51206
50621
  execute: (input, { client }) => {
51207
50622
  const data = input;
51208
- return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
50623
+ return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
50624
+ client.httpClient,
50625
+ client.organizationId,
50626
+ client.workspaceIdNumber,
50627
+ data.task_id,
50628
+ data.payload ?? data.data ?? data,
50629
+ void 0
50630
+ ]));
50631
+ }
50632
+ },
50633
+ {
50634
+ id: "focus.tasks.update-calendar-range",
50635
+ family: "focus",
50636
+ resource: "tasks",
50637
+ action: "update-calendar-range",
50638
+ title: "Update Calendar Range Tasks",
50639
+ description: "Update Calendar Range Tasks.",
50640
+ safety: "update",
50641
+ destructive: false,
50642
+ cli: {
50643
+ group: ["tasks"],
50644
+ command: "update-calendar-range",
50645
+ interactive: "default"
50646
+ },
50647
+ mcp: { entityTool: "tasks" },
50648
+ inputSchema: /* @__PURE__ */ looseObject({
50649
+ date_from: /* @__PURE__ */ string$1(),
50650
+ date_to: /* @__PURE__ */ string$1()
50651
+ }),
50652
+ execute: (input, { client }) => {
50653
+ const data = input;
50654
+ return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
50655
+ client.httpClient,
50656
+ client.organizationId,
50657
+ client.workspaceIdNumber,
50658
+ data.date_from,
50659
+ data.date_to,
50660
+ void 0
50661
+ ]));
50662
+ }
50663
+ },
50664
+ {
50665
+ id: "focus.time-blocks.archive",
50666
+ family: "focus",
50667
+ resource: "time-blocks",
50668
+ action: "archive",
50669
+ title: "Archive Time Blocks",
50670
+ description: "Archive Time Blocks.",
50671
+ safety: "update",
50672
+ destructive: false,
50673
+ cli: {
50674
+ group: ["time-blocks"],
50675
+ command: "archive",
50676
+ interactive: "default"
50677
+ },
50678
+ mcp: { entityTool: "time-blocks" },
50679
+ inputSchema: /* @__PURE__ */ looseObject({
50680
+ task_id: /* @__PURE__ */ number$2(),
50681
+ time_block_id: /* @__PURE__ */ number$2()
50682
+ }),
50683
+ execute: (input, { client }) => {
50684
+ const data = input;
50685
+ return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
50686
+ client.httpClient,
50687
+ client.organizationId,
50688
+ client.workspaceIdNumber,
50689
+ data.task_id,
50690
+ data.time_block_id,
50691
+ void 0
50692
+ ]));
50693
+ }
50694
+ },
50695
+ {
50696
+ id: "focus.time-blocks.bulk-create",
50697
+ family: "focus",
50698
+ resource: "time-blocks",
50699
+ action: "bulk-create",
50700
+ title: "Bulk Create Time Blocks",
50701
+ description: "Bulk Create Time Blocks.",
50702
+ safety: "create",
50703
+ destructive: false,
50704
+ cli: {
50705
+ group: ["time-blocks", "bulk"],
50706
+ command: "create",
50707
+ interactive: "default"
50708
+ },
50709
+ mcp: { entityTool: "time-blocks" },
50710
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
50711
+ start: apiDateTimeString,
50712
+ task_id: /* @__PURE__ */ number$2(),
50713
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50714
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50715
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
50716
+ })) }) }),
50717
+ execute: (input, { client }) => {
50718
+ const data = input;
50719
+ return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
50720
+ client.httpClient,
50721
+ client.organizationId,
50722
+ client.workspaceIdNumber,
50723
+ data.payload ?? data.data ?? data,
50724
+ void 0
50725
+ ]));
50726
+ }
50727
+ },
50728
+ {
50729
+ id: "focus.time-blocks.bulk-delete",
50730
+ family: "focus",
50731
+ resource: "time-blocks",
50732
+ action: "bulk-delete",
50733
+ title: "Bulk Delete Time Blocks",
50734
+ description: "Bulk Delete Time Blocks.",
50735
+ safety: "delete",
50736
+ destructive: true,
50737
+ cli: {
50738
+ group: ["time-blocks", "bulk"],
50739
+ command: "delete",
50740
+ interactive: "default"
50741
+ },
50742
+ mcp: { entityTool: "time-blocks" },
50743
+ inputSchema: /* @__PURE__ */ looseObject({
50744
+ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
50745
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
50746
+ }),
50747
+ execute: (input, { client }) => {
50748
+ const data = input;
50749
+ return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
50750
+ client.httpClient,
50751
+ client.organizationId,
50752
+ client.workspaceIdNumber,
50753
+ data.ids,
50754
+ data.outbound_sync,
50755
+ void 0
50756
+ ]));
50757
+ }
50758
+ },
50759
+ {
50760
+ id: "focus.time-blocks.bulk-partial-update",
50761
+ family: "focus",
50762
+ resource: "time-blocks",
50763
+ action: "bulk-partial-update",
50764
+ title: "Bulk Partial Update Time Blocks",
50765
+ description: "Bulk Partial Update Time Blocks.",
50766
+ safety: "update",
50767
+ destructive: false,
50768
+ cli: {
50769
+ group: ["time-blocks", "bulk"],
50770
+ command: "partial-update",
50771
+ interactive: "hidden"
50772
+ },
50773
+ mcp: { entityTool: "time-blocks" },
50774
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
50775
+ execute: (input, { client }) => {
50776
+ const data = input;
50777
+ return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
50778
+ client.httpClient,
50779
+ client.organizationId,
50780
+ client.workspaceIdNumber,
50781
+ data.payload ?? data.data ?? data,
50782
+ void 0
50783
+ ]));
50784
+ }
50785
+ },
50786
+ {
50787
+ id: "focus.time-blocks.create",
50788
+ family: "focus",
50789
+ resource: "time-blocks",
50790
+ action: "create",
50791
+ title: "Create Time Blocks",
50792
+ description: "Create Time Blocks.",
50793
+ safety: "create",
50794
+ destructive: false,
50795
+ cli: {
50796
+ group: ["time-blocks"],
50797
+ command: "create",
50798
+ interactive: "default"
50799
+ },
50800
+ mcp: { entityTool: "time-blocks" },
50801
+ inputSchema: /* @__PURE__ */ looseObject({
50802
+ payload: /* @__PURE__ */ looseObject({
50803
+ start: apiDateTimeString,
50804
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50805
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50806
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
50807
+ }),
50808
+ task_id: /* @__PURE__ */ number$2()
50809
+ }),
50810
+ execute: (input, { client }) => {
50811
+ const data = input;
50812
+ return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
50813
+ client.httpClient,
50814
+ client.organizationId,
50815
+ client.workspaceIdNumber,
50816
+ data.task_id,
50817
+ data.payload ?? data.data ?? data,
50818
+ void 0
50819
+ ]));
50820
+ }
50821
+ },
50822
+ {
50823
+ id: "focus.time-blocks.delete",
50824
+ family: "focus",
50825
+ resource: "time-blocks",
50826
+ action: "delete",
50827
+ title: "Delete Time Blocks",
50828
+ description: "Delete Time Blocks.",
50829
+ safety: "delete",
50830
+ destructive: true,
50831
+ cli: {
50832
+ group: ["time-blocks"],
50833
+ command: "delete",
50834
+ interactive: "default"
50835
+ },
50836
+ mcp: { entityTool: "time-blocks" },
50837
+ inputSchema: /* @__PURE__ */ looseObject({
50838
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50839
+ task_id: /* @__PURE__ */ number$2(),
50840
+ time_block_id: /* @__PURE__ */ number$2()
50841
+ }),
50842
+ execute: (input, { client }) => {
50843
+ const data = input;
50844
+ return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
50845
+ client.httpClient,
50846
+ client.organizationId,
50847
+ client.workspaceIdNumber,
50848
+ data.task_id,
50849
+ data.time_block_id,
50850
+ data.outbound_sync,
50851
+ void 0
50852
+ ]));
50853
+ }
50854
+ },
50855
+ {
50856
+ id: "focus.time-blocks.get",
50857
+ family: "focus",
50858
+ resource: "time-blocks",
50859
+ action: "get",
50860
+ title: "Get Time Blocks",
50861
+ description: "Get Time Blocks.",
50862
+ safety: "read",
50863
+ destructive: false,
50864
+ cli: {
50865
+ group: ["time-blocks"],
50866
+ command: "get",
50867
+ interactive: "available"
50868
+ },
50869
+ mcp: { entityTool: "time-blocks" },
50870
+ inputSchema: /* @__PURE__ */ looseObject({
50871
+ task_id: /* @__PURE__ */ number$2(),
50872
+ time_block_id: /* @__PURE__ */ number$2()
50873
+ }),
50874
+ execute: (input, { client }) => {
50875
+ const data = input;
50876
+ return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
50877
+ client.httpClient,
50878
+ client.organizationId,
50879
+ client.workspaceIdNumber,
50880
+ data.task_id,
50881
+ data.time_block_id,
50882
+ void 0
50883
+ ]));
50884
+ }
50885
+ },
50886
+ {
50887
+ id: "focus.time-blocks.get-range",
50888
+ family: "focus",
50889
+ resource: "time-blocks",
50890
+ action: "get-range",
50891
+ title: "Get Range Time Blocks",
50892
+ description: "Get Range Time Blocks.",
50893
+ safety: "read",
50894
+ destructive: false,
50895
+ cli: {
50896
+ group: ["time-blocks"],
50897
+ command: "get-range",
50898
+ interactive: "hidden"
50899
+ },
50900
+ mcp: { entityTool: "time-blocks" },
50901
+ inputSchema: /* @__PURE__ */ looseObject({
50902
+ archived: /* @__PURE__ */ unknown$1(),
50903
+ date_from: /* @__PURE__ */ unknown$1(),
50904
+ date_to: /* @__PURE__ */ unknown$1(),
50905
+ order_by: /* @__PURE__ */ unknown$1(),
50906
+ page: /* @__PURE__ */ number$2(),
50907
+ per_page: /* @__PURE__ */ unknown$1(),
50908
+ status_id: /* @__PURE__ */ number$2(),
50909
+ task_id: /* @__PURE__ */ number$2()
50910
+ }),
50911
+ execute: (input, { client }) => {
50912
+ const data = input;
50913
+ return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
50914
+ client.httpClient,
50915
+ client.organizationId,
50916
+ client.workspaceIdNumber,
50917
+ data,
50918
+ void 0
50919
+ ]));
50920
+ }
50921
+ },
50922
+ {
50923
+ id: "focus.time-blocks.get-range-stream",
50924
+ family: "focus",
50925
+ resource: "time-blocks",
50926
+ action: "get-range-stream",
50927
+ title: "Get Range Stream Time Blocks",
50928
+ description: "Get Range Stream Time Blocks.",
50929
+ safety: "read",
50930
+ destructive: false,
50931
+ cli: {
50932
+ group: ["time-blocks"],
50933
+ command: "get-range-stream",
50934
+ interactive: "hidden"
50935
+ },
50936
+ mcp: { entityTool: "time-blocks" },
50937
+ inputSchema: /* @__PURE__ */ looseObject({
50938
+ archived: /* @__PURE__ */ unknown$1(),
50939
+ date_from: /* @__PURE__ */ unknown$1(),
50940
+ date_to: /* @__PURE__ */ unknown$1(),
50941
+ order_by: /* @__PURE__ */ unknown$1(),
50942
+ status_id: /* @__PURE__ */ number$2(),
50943
+ task_id: /* @__PURE__ */ number$2()
50944
+ }),
50945
+ execute: (input, { client }) => {
50946
+ const data = input;
50947
+ return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
50948
+ client.httpClient,
50949
+ client.organizationId,
50950
+ client.workspaceIdNumber,
50951
+ data,
50952
+ void 0
50953
+ ]));
50954
+ }
50955
+ },
50956
+ {
50957
+ id: "focus.time-blocks.get-task-time-blocks",
50958
+ family: "focus",
50959
+ resource: "time-blocks",
50960
+ action: "get-task-time-blocks",
50961
+ title: "Get Task Time Blocks Time Blocks",
50962
+ description: "Get Task Time Blocks Time Blocks.",
50963
+ safety: "read",
50964
+ destructive: false,
50965
+ cli: {
50966
+ group: ["time-blocks"],
50967
+ command: "get-task-time-blocks",
50968
+ interactive: "hidden"
50969
+ },
50970
+ mcp: { entityTool: "time-blocks" },
50971
+ inputSchema: /* @__PURE__ */ looseObject({
50972
+ archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50973
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50974
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50975
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50976
+ task_id: /* @__PURE__ */ number$2()
50977
+ }),
50978
+ execute: (input, { client }) => {
50979
+ const data = input;
50980
+ return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
50981
+ client.httpClient,
50982
+ client.organizationId,
50983
+ client.workspaceIdNumber,
50984
+ data.task_id,
50985
+ data,
50986
+ void 0
50987
+ ]));
50988
+ }
50989
+ },
50990
+ {
50991
+ id: "focus.time-blocks.partial-update",
50992
+ family: "focus",
50993
+ resource: "time-blocks",
50994
+ action: "partial-update",
50995
+ title: "Partial Update Time Blocks",
50996
+ description: "Partial Update Time Blocks.",
50997
+ safety: "update",
50998
+ destructive: false,
50999
+ cli: {
51000
+ group: ["time-blocks"],
51001
+ command: "partial-update",
51002
+ interactive: "default"
51003
+ },
51004
+ mcp: { entityTool: "time-blocks" },
51005
+ inputSchema: /* @__PURE__ */ looseObject({
51006
+ payload: /* @__PURE__ */ looseObject({
51007
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51008
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51009
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51010
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
51011
+ task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51012
+ }),
51013
+ task_id: /* @__PURE__ */ number$2(),
51014
+ time_block_id: /* @__PURE__ */ number$2()
51015
+ }),
51016
+ execute: (input, { client }) => {
51017
+ const data = input;
51018
+ return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
51019
+ client.httpClient,
51020
+ client.organizationId,
51021
+ client.workspaceIdNumber,
51022
+ data.task_id,
51023
+ data.time_block_id,
51024
+ data.payload ?? data.data ?? data,
51025
+ void 0
51026
+ ]));
51027
+ }
51028
+ },
51029
+ {
51030
+ id: "focus.time-blocks.restore",
51031
+ family: "focus",
51032
+ resource: "time-blocks",
51033
+ action: "restore",
51034
+ title: "Restore Time Blocks",
51035
+ description: "Restore Time Blocks.",
51036
+ safety: "update",
51037
+ destructive: false,
51038
+ cli: {
51039
+ group: ["time-blocks"],
51040
+ command: "restore",
51041
+ interactive: "default"
51042
+ },
51043
+ mcp: { entityTool: "time-blocks" },
51044
+ inputSchema: /* @__PURE__ */ looseObject({
51045
+ task_id: /* @__PURE__ */ number$2(),
51046
+ time_block_id: /* @__PURE__ */ number$2()
51047
+ }),
51048
+ execute: (input, { client }) => {
51049
+ const data = input;
51050
+ return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
51051
+ client.httpClient,
51052
+ client.organizationId,
51053
+ client.workspaceIdNumber,
51054
+ data.task_id,
51055
+ data.time_block_id,
51056
+ void 0
51057
+ ]));
51058
+ }
51059
+ },
51060
+ {
51061
+ id: "focus.time-blocks.unarchive",
51062
+ family: "focus",
51063
+ resource: "time-blocks",
51064
+ action: "unarchive",
51065
+ title: "Unarchive Time Blocks",
51066
+ description: "Unarchive Time Blocks.",
51067
+ safety: "update",
51068
+ destructive: false,
51069
+ cli: {
51070
+ group: ["time-blocks"],
51071
+ command: "unarchive",
51072
+ interactive: "default"
51073
+ },
51074
+ mcp: { entityTool: "time-blocks" },
51075
+ inputSchema: /* @__PURE__ */ looseObject({
51076
+ task_id: /* @__PURE__ */ number$2(),
51077
+ time_block_id: /* @__PURE__ */ number$2()
51078
+ }),
51079
+ execute: (input, { client }) => {
51080
+ const data = input;
51081
+ return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
51209
51082
  client.httpClient,
51210
51083
  client.organizationId,
51211
51084
  client.workspaceIdNumber,
51212
51085
  data.task_id,
51213
- data.payload ?? data.data ?? data,
51086
+ data.time_block_id,
51214
51087
  void 0
51215
51088
  ]));
51216
51089
  }
51217
51090
  },
51218
51091
  {
51219
- id: "focus.tasks.update-calendar-range",
51092
+ id: "focus.time-blocks.update",
51220
51093
  family: "focus",
51221
- resource: "tasks",
51222
- action: "update-calendar-range",
51223
- title: "Update Calendar Range Tasks",
51224
- description: "Update Calendar Range Tasks.",
51094
+ resource: "time-blocks",
51095
+ action: "update",
51096
+ title: "Update Time Blocks",
51097
+ description: "Update Time Blocks.",
51225
51098
  safety: "update",
51226
51099
  destructive: false,
51227
51100
  cli: {
51228
- group: ["tasks"],
51229
- command: "update-calendar-range",
51101
+ group: ["time-blocks"],
51102
+ command: "update",
51230
51103
  interactive: "default"
51231
51104
  },
51232
- mcp: { entityTool: "tasks" },
51105
+ mcp: { entityTool: "time-blocks" },
51233
51106
  inputSchema: /* @__PURE__ */ looseObject({
51234
- date_from: /* @__PURE__ */ string$1(),
51235
- date_to: /* @__PURE__ */ string$1(),
51236
- skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51107
+ payload: /* @__PURE__ */ looseObject({
51108
+ start: apiDateTimeString,
51109
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51110
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51111
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51112
+ }),
51113
+ task_id: /* @__PURE__ */ number$2(),
51114
+ time_block_id: /* @__PURE__ */ number$2()
51237
51115
  }),
51238
51116
  execute: (input, { client }) => {
51239
51117
  const data = input;
51240
- return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
51118
+ return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
51241
51119
  client.httpClient,
51242
51120
  client.organizationId,
51243
51121
  client.workspaceIdNumber,
51244
- data.date_from,
51245
- data.date_to,
51246
- data.skip_provider_refresh,
51122
+ data.task_id,
51123
+ data.time_block_id,
51124
+ data.payload ?? data.data ?? data,
51247
51125
  void 0
51248
51126
  ]));
51249
51127
  }
@@ -51463,8 +51341,7 @@ const generatedFocusOperations = [
51463
51341
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
51464
51342
  "project",
51465
51343
  "task",
51466
- "description",
51467
- "tags"
51344
+ "description"
51468
51345
  ]) })),
51469
51346
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51470
51347
  }) }),
@@ -51494,7 +51371,6 @@ const generatedFocusOperations = [
51494
51371
  },
51495
51372
  mcp: { entityTool: "time-entries" },
51496
51373
  inputSchema: /* @__PURE__ */ looseObject({
51497
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51498
51374
  payload: /* @__PURE__ */ looseObject({
51499
51375
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51500
51376
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -51505,12 +51381,11 @@ const generatedFocusOperations = [
51505
51381
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51506
51382
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51507
51383
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51508
- repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51509
51384
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
51385
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51510
51386
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51511
51387
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51512
51388
  }),
51513
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51514
51389
  task_id: /* @__PURE__ */ number$2()
51515
51390
  }),
51516
51391
  execute: (input, { client }) => {
@@ -51521,8 +51396,6 @@ const generatedFocusOperations = [
51521
51396
  client.workspaceIdNumber,
51522
51397
  data.task_id,
51523
51398
  data.payload ?? data.data ?? data,
51524
- data.from_recurring_task_id,
51525
- data.return_occurrence,
51526
51399
  void 0
51527
51400
  ]));
51528
51401
  }
@@ -51542,25 +51415,21 @@ const generatedFocusOperations = [
51542
51415
  interactive: "default"
51543
51416
  },
51544
51417
  mcp: { entityTool: "time-entries" },
51545
- inputSchema: /* @__PURE__ */ looseObject({
51546
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51547
- payload: /* @__PURE__ */ looseObject({
51548
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51549
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51550
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51551
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51552
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51553
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51554
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51555
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51556
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51557
- repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51558
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
51559
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51560
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51561
- }),
51562
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51563
- }),
51418
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
51419
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51420
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51421
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51422
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51423
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51424
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51425
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51426
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51427
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51428
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
51429
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51430
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51431
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51432
+ }) }),
51564
51433
  execute: (input, { client }) => {
51565
51434
  const data = input;
51566
51435
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -51568,8 +51437,6 @@ const generatedFocusOperations = [
51568
51437
  client.organizationId,
51569
51438
  client.workspaceIdNumber,
51570
51439
  data.payload ?? data.data ?? data,
51571
- data.from_recurring_task_id,
51572
- data.return_occurrence,
51573
51440
  void 0
51574
51441
  ]));
51575
51442
  }
@@ -51589,11 +51456,7 @@ const generatedFocusOperations = [
51589
51456
  interactive: "default"
51590
51457
  },
51591
51458
  mcp: { entityTool: "time-entries" },
51592
- inputSchema: /* @__PURE__ */ looseObject({
51593
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51594
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51595
- time_entry_id: /* @__PURE__ */ number$2()
51596
- }),
51459
+ inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
51597
51460
  execute: (input, { client }) => {
51598
51461
  const data = input;
51599
51462
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -51601,8 +51464,6 @@ const generatedFocusOperations = [
51601
51464
  client.organizationId,
51602
51465
  client.workspaceIdNumber,
51603
51466
  data.time_entry_id,
51604
- data.from_recurring_task_id,
51605
- data.return_occurrence,
51606
51467
  void 0
51607
51468
  ]));
51608
51469
  }
@@ -51683,7 +51544,6 @@ const generatedFocusOperations = [
51683
51544
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
51684
51545
  include_taskless: /* @__PURE__ */ unknown$1(),
51685
51546
  order_by: /* @__PURE__ */ unknown$1(),
51686
- project_id: /* @__PURE__ */ number$2(),
51687
51547
  status_id: /* @__PURE__ */ number$2(),
51688
51548
  task_id: /* @__PURE__ */ number$2(),
51689
51549
  type: /* @__PURE__ */ unknown$1()
@@ -51699,6 +51559,33 @@ const generatedFocusOperations = [
51699
51559
  ]));
51700
51560
  }
51701
51561
  },
51562
+ {
51563
+ id: "focus.time-entries.get-stream-time-entries-time-block-ids",
51564
+ family: "focus",
51565
+ resource: "time-entries",
51566
+ action: "get-stream-time-entries-time-block-ids",
51567
+ title: "Get Stream Time Entries Time Block Ids Time Entries",
51568
+ description: "Get Stream Time Entries Time Block Ids Time Entries.",
51569
+ safety: "read",
51570
+ destructive: false,
51571
+ cli: {
51572
+ group: ["time-entries"],
51573
+ command: "get-stream-time-entries-time-block-ids",
51574
+ interactive: "available"
51575
+ },
51576
+ mcp: { entityTool: "time-entries" },
51577
+ inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
51578
+ execute: (input, { client }) => {
51579
+ const data = input;
51580
+ return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
51581
+ client.httpClient,
51582
+ client.organizationId,
51583
+ client.workspaceIdNumber,
51584
+ data,
51585
+ void 0
51586
+ ]));
51587
+ }
51588
+ },
51702
51589
  {
51703
51590
  id: "focus.time-entries.get-task-time-entries",
51704
51591
  family: "focus",
@@ -51720,6 +51607,7 @@ const generatedFocusOperations = [
51720
51607
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51721
51608
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51722
51609
  task_id: /* @__PURE__ */ number$2(),
51610
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51723
51611
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
51724
51612
  }),
51725
51613
  execute: (input, { client }) => {
@@ -51832,14 +51720,12 @@ const generatedFocusOperations = [
51832
51720
  },
51833
51721
  mcp: { entityTool: "time-entries" },
51834
51722
  inputSchema: /* @__PURE__ */ looseObject({
51835
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51836
51723
  payload: /* @__PURE__ */ looseObject({
51837
51724
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51838
51725
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51839
51726
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51840
51727
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
51841
51728
  }),
51842
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51843
51729
  time_entry_id: /* @__PURE__ */ number$2()
51844
51730
  }),
51845
51731
  execute: (input, { client }) => {
@@ -51850,8 +51736,6 @@ const generatedFocusOperations = [
51850
51736
  client.workspaceIdNumber,
51851
51737
  data.time_entry_id,
51852
51738
  data.payload ?? data.data ?? data,
51853
- data.from_recurring_task_id,
51854
- data.return_occurrence,
51855
51739
  void 0
51856
51740
  ]));
51857
51741
  }
@@ -52109,7 +51993,6 @@ const generatedFocusOperations = [
52109
51993
  },
52110
51994
  mcp: { entityTool: "time-entries" },
52111
51995
  inputSchema: /* @__PURE__ */ looseObject({
52112
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52113
51996
  payload: /* @__PURE__ */ looseObject({
52114
51997
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
52115
51998
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -52119,9 +52002,9 @@ const generatedFocusOperations = [
52119
52002
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52120
52003
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52121
52004
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
52005
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52122
52006
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
52123
52007
  }),
52124
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52125
52008
  time_entry_id: /* @__PURE__ */ number$2()
52126
52009
  }),
52127
52010
  execute: (input, { client }) => {
@@ -52132,8 +52015,6 @@ const generatedFocusOperations = [
52132
52015
  client.workspaceIdNumber,
52133
52016
  data.time_entry_id,
52134
52017
  data.payload ?? data.data ?? data,
52135
- data.from_recurring_task_id,
52136
- data.return_occurrence,
52137
52018
  void 0
52138
52019
  ]));
52139
52020
  }
@@ -52198,118 +52079,6 @@ const generatedFocusOperations = [
52198
52079
  ]));
52199
52080
  }
52200
52081
  },
52201
- {
52202
- id: "focus.time-off.get-timeoff-balance-changes-for-user",
52203
- family: "focus",
52204
- resource: "time-off",
52205
- action: "get-timeoff-balance-changes-for-user",
52206
- title: "Get Timeoff Balance Changes For User Time Off",
52207
- description: "Get Timeoff Balance Changes For User Time Off.",
52208
- safety: "read",
52209
- destructive: false,
52210
- cli: {
52211
- group: ["time-off"],
52212
- command: "get-timeoff-balance-changes-for-user",
52213
- interactive: "hidden"
52214
- },
52215
- mcp: { entityTool: "time-off" },
52216
- inputSchema: /* @__PURE__ */ looseObject({
52217
- category_id: /* @__PURE__ */ number$2(),
52218
- page: /* @__PURE__ */ number$2(),
52219
- rows: /* @__PURE__ */ unknown$1(),
52220
- user_id: /* @__PURE__ */ number$2(),
52221
- year: /* @__PURE__ */ unknown$1()
52222
- }),
52223
- execute: (input, { client }) => {
52224
- const data = input;
52225
- return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
52226
- client.httpClient,
52227
- client.organizationId,
52228
- data.user_id,
52229
- data,
52230
- void 0
52231
- ]));
52232
- }
52233
- },
52234
- {
52235
- id: "focus.time-off.get-timeoff-balances-for-user",
52236
- family: "focus",
52237
- resource: "time-off",
52238
- action: "get-timeoff-balances-for-user",
52239
- title: "Get Timeoff Balances For User Time Off",
52240
- description: "Get Timeoff Balances For User Time Off.",
52241
- safety: "read",
52242
- destructive: false,
52243
- cli: {
52244
- group: ["time-off"],
52245
- command: "get-timeoff-balances-for-user",
52246
- interactive: "available"
52247
- },
52248
- mcp: { entityTool: "time-off" },
52249
- inputSchema: /* @__PURE__ */ looseObject({
52250
- category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52251
- date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
52252
- user_id: /* @__PURE__ */ number$2()
52253
- }),
52254
- execute: (input, { client }) => {
52255
- const data = input;
52256
- return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
52257
- client.httpClient,
52258
- client.organizationId,
52259
- data.user_id,
52260
- data,
52261
- void 0
52262
- ]));
52263
- }
52264
- },
52265
- {
52266
- id: "focus.time-off.get-timeoff-categories",
52267
- family: "focus",
52268
- resource: "time-off",
52269
- action: "get-timeoff-categories",
52270
- title: "Get Timeoff Categories Time Off",
52271
- description: "Get Timeoff Categories Time Off.",
52272
- safety: "read",
52273
- destructive: false,
52274
- cli: {
52275
- group: ["time-off"],
52276
- command: "get-timeoff-categories",
52277
- interactive: "hidden"
52278
- },
52279
- mcp: { entityTool: "time-off" },
52280
- inputSchema: /* @__PURE__ */ looseObject({}),
52281
- execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
52282
- client.httpClient,
52283
- client.organizationId,
52284
- void 0
52285
- ]))
52286
- },
52287
- {
52288
- id: "focus.time-off.get-timeoff-category",
52289
- family: "focus",
52290
- resource: "time-off",
52291
- action: "get-timeoff-category",
52292
- title: "Get Timeoff Category Time Off",
52293
- description: "Get Timeoff Category Time Off.",
52294
- safety: "read",
52295
- destructive: false,
52296
- cli: {
52297
- group: ["time-off"],
52298
- command: "get-timeoff-category",
52299
- interactive: "available"
52300
- },
52301
- mcp: { entityTool: "time-off" },
52302
- inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
52303
- execute: (input, { client }) => {
52304
- const data = input;
52305
- return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
52306
- client.httpClient,
52307
- client.organizationId,
52308
- data.category_id,
52309
- void 0
52310
- ]));
52311
- }
52312
- },
52313
52082
  {
52314
52083
  id: "focus.time-off.get-timeoff-for-user",
52315
52084
  family: "focus",
@@ -52761,40 +52530,6 @@ const generatedFocusOperations = [
52761
52530
  ]));
52762
52531
  }
52763
52532
  },
52764
- {
52765
- id: "focus.timesheets.get-status-counts",
52766
- family: "focus",
52767
- resource: "timesheets",
52768
- action: "get-status-counts",
52769
- title: "Get Status Counts Timesheets",
52770
- description: "Get Status Counts Timesheets.",
52771
- safety: "read",
52772
- destructive: false,
52773
- cli: {
52774
- group: ["timesheets"],
52775
- command: "get-status-counts",
52776
- interactive: "hidden"
52777
- },
52778
- mcp: { entityTool: "timesheets" },
52779
- inputSchema: /* @__PURE__ */ looseObject({
52780
- approver_user_account_ids: /* @__PURE__ */ unknown$1(),
52781
- date_from: /* @__PURE__ */ unknown$1(),
52782
- date_to: /* @__PURE__ */ unknown$1(),
52783
- setup_id: /* @__PURE__ */ number$2(),
52784
- team_ids: /* @__PURE__ */ unknown$1(),
52785
- user_account_ids: /* @__PURE__ */ unknown$1()
52786
- }),
52787
- execute: (input, { client }) => {
52788
- const data = input;
52789
- return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
52790
- client.httpClient,
52791
- client.organizationId,
52792
- client.workspaceIdNumber,
52793
- data,
52794
- void 0
52795
- ]));
52796
- }
52797
- },
52798
52533
  {
52799
52534
  id: "focus.timesheets.remove-timesheet-flag",
52800
52535
  family: "focus",
@@ -53344,33 +53079,6 @@ const generatedFocusOperations = [
53344
53079
  ]));
53345
53080
  }
53346
53081
  },
53347
- {
53348
- id: "focus.track-team-invites.post",
53349
- family: "focus",
53350
- resource: "track-team-invites",
53351
- action: "post",
53352
- title: "Post Track Team Invites",
53353
- description: "Post Track Team Invites.",
53354
- safety: "create",
53355
- destructive: false,
53356
- cli: {
53357
- group: ["track-team-invites"],
53358
- command: "post",
53359
- interactive: "default"
53360
- },
53361
- mcp: { entityTool: "track-team-invites" },
53362
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
53363
- execute: (input, { client }) => {
53364
- const data = input;
53365
- return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
53366
- client.httpClient,
53367
- client.organizationId,
53368
- client.workspaceIdNumber,
53369
- data.payload ?? data.data ?? data,
53370
- void 0
53371
- ]));
53372
- }
53373
- },
53374
53082
  {
53375
53083
  id: "focus.users.list",
53376
53084
  family: "focus",
@@ -53392,56 +53100,6 @@ const generatedFocusOperations = [
53392
53100
  return client.listOrgUsers(data);
53393
53101
  }
53394
53102
  },
53395
- {
53396
- id: "focus.users.settings-email-unsubscribe",
53397
- family: "focus",
53398
- resource: "users",
53399
- action: "settings-email-unsubscribe",
53400
- title: "Settings Email Unsubscribe Users",
53401
- description: "Settings Email Unsubscribe Users.",
53402
- safety: "update",
53403
- destructive: false,
53404
- cli: {
53405
- group: ["users", "settings"],
53406
- command: "email-unsubscribe",
53407
- interactive: "default"
53408
- },
53409
- mcp: { entityTool: "users" },
53410
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53411
- execute: (input, { client }) => {
53412
- const data = input;
53413
- return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
53414
- client.httpClient,
53415
- data.token,
53416
- void 0
53417
- ]));
53418
- }
53419
- },
53420
- {
53421
- id: "focus.users.settings-email-unsubscribe-page",
53422
- family: "focus",
53423
- resource: "users",
53424
- action: "settings-email-unsubscribe-page",
53425
- title: "Settings Email Unsubscribe Page Users",
53426
- description: "Settings Email Unsubscribe Page Users.",
53427
- safety: "read",
53428
- destructive: false,
53429
- cli: {
53430
- group: ["users", "settings"],
53431
- command: "email-unsubscribe-page",
53432
- interactive: "available"
53433
- },
53434
- mcp: { entityTool: "users" },
53435
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53436
- execute: (input, { client }) => {
53437
- const data = input;
53438
- return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
53439
- client.httpClient,
53440
- data.token,
53441
- void 0
53442
- ]));
53443
- }
53444
- },
53445
53103
  {
53446
53104
  id: "focus.users.settings-list",
53447
53105
  family: "focus",
@@ -53503,9 +53161,6 @@ const generatedFocusOperations = [
53503
53161
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53504
53162
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53505
53163
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53506
- notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53507
- notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53508
- notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53509
53164
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53510
53165
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53511
53166
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -55048,7 +54703,7 @@ function registerWorkspaceTools(server) {
55048
54703
  //#region src/package-version.ts
55049
54704
  function mcpPackageVersion() {
55050
54705
  try {
55051
- return "1.11.74";
54706
+ return "1.11.75";
55052
54707
  } catch {
55053
54708
  return "unknown";
55054
54709
  }
@@ -55223,7 +54878,7 @@ import_main.default.config({
55223
54878
  quiet: true,
55224
54879
  ignore: ["MISSING_ENV_FILE"]
55225
54880
  });
55226
- const packageVersion = "1.11.74";
54881
+ const packageVersion = "1.11.75";
55227
54882
  function resolvePublicUrls() {
55228
54883
  return {
55229
54884
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -55288,4 +54943,4 @@ function bootstrapServer(options = {}) {
55288
54943
  //#endregion
55289
54944
  export { initProductAnalytics as a, shutdownProductAnalytics as c, getProductAnalyticsDistinctId as i, runMcpCli as n, redactUnsafeSentryMessages as o, captureToolInvocation as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
55290
54945
 
55291
- //# sourceMappingURL=src-H6EJgsiC.js.map
54946
+ //# sourceMappingURL=src-DqNdwFc7.js.map