@togglhq/mcp 1.11.70 → 1.11.72

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,6 +32773,10 @@ 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
+ /**
32776
32780
  * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp regex. Allows a
32777
32781
  * space as a date/time separator and an optional space before the UTC offset.
32778
32782
  */
@@ -32826,6 +32830,22 @@ function isoDate$1(message$1) {
32826
32830
  };
32827
32831
  }
32828
32832
  /* @__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__ */
32829
32849
  function isoTimestamp(message$1) {
32830
32850
  return {
32831
32851
  kind: "validation",
@@ -34663,7 +34683,6 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
34663
34683
  name: /* @__PURE__ */ string(),
34664
34684
  permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
34665
34685
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34666
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34667
34686
  client: /* @__PURE__ */ optional(ClientLiteSchema),
34668
34687
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34669
34688
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -34750,7 +34769,6 @@ const TaskSchema = /* @__PURE__ */ object({
34750
34769
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34751
34770
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34752
34771
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34753
- 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."))),
34754
34772
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34755
34773
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34756
34774
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -34812,7 +34830,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34812
34830
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34813
34831
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34814
34832
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34815
- 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."))),
34816
34833
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34817
34834
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34818
34835
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -34973,8 +34990,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
34973
34990
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34974
34991
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34975
34992
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34976
- 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."))),
34977
- 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."))),
34978
34993
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34979
34994
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34980
34995
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -35060,10 +35075,8 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
35060
35075
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35061
35076
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35062
35077
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35063
- filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35064
35078
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
35065
35079
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35066
- picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35067
35080
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
35068
35081
  recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35069
35082
  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)."))),
@@ -35119,8 +35132,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
35119
35132
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35120
35133
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35121
35134
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35122
- 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."))),
35123
- 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."))),
35124
35135
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35125
35136
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35126
35137
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -35293,6 +35304,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35293
35304
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35294
35305
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35295
35306
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
35307
+ integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35308
+ integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35296
35309
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35297
35310
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35298
35311
  pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35349,7 +35362,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35349
35362
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35350
35363
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35351
35364
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35352
- 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."))),
35353
35365
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35354
35366
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35355
35367
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -35386,7 +35398,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35386
35398
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35387
35399
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35388
35400
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35389
- 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."))),
35390
35401
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35391
35402
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35392
35403
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -35407,6 +35418,7 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
35407
35418
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35408
35419
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35409
35420
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35421
+ time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35410
35422
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35411
35423
  user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
35412
35424
  });
@@ -35435,7 +35447,8 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
35435
35447
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35436
35448
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35437
35449
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35438
- task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
35450
+ task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35451
+ time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
35439
35452
  });
35440
35453
  const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
35441
35454
  //#endregion
@@ -37309,7 +37322,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
37309
37322
  })
37310
37323
  }).json();
37311
37324
  }
37312
- 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) {
37325
+ 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) {
37313
37326
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
37314
37327
  signal,
37315
37328
  searchParams: buildSearchParams$2({
@@ -37330,7 +37343,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
37330
37343
  include_rates,
37331
37344
  pinned_ids,
37332
37345
  has_group,
37333
- track_without_focus,
37334
37346
  cf_filter,
37335
37347
  include_custom_fields,
37336
37348
  include_calendar_integration
@@ -37432,20 +37444,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
37432
37444
  }
37433
37445
  //#endregion
37434
37446
  //#region ../focus-queries/dist/projects/requests.ts
37435
- 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) {
37447
+ 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) {
37436
37448
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37437
37449
  signal,
37438
37450
  searchParams: buildSearchParams$2({
37439
- include_task_counts,
37440
- include_picker_parent_group_counts,
37441
- task_archived,
37442
- task_recurring,
37443
- task_state,
37444
- task_source,
37445
- task_assignee_user_id,
37446
- task_assignee_team_id,
37447
- task_include_unassigned,
37448
- task_name,
37449
37451
  page,
37450
37452
  per_page,
37451
37453
  order_by,
@@ -37695,7 +37697,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
37695
37697
  }
37696
37698
  //#endregion
37697
37699
  //#region ../focus-queries/dist/tasks/requests.ts
37698
- 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) {
37700
+ 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) {
37699
37701
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
37700
37702
  signal,
37701
37703
  searchParams: buildSearchParams$2({
@@ -37708,6 +37710,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37708
37710
  toggl_user_id,
37709
37711
  name,
37710
37712
  has_time_entries,
37713
+ has_time_blocks,
37711
37714
  has_dates,
37712
37715
  private: private_,
37713
37716
  archived,
@@ -37730,6 +37733,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37730
37733
  priority,
37731
37734
  is_priority,
37732
37735
  state,
37736
+ timeblock_start_from,
37737
+ timeblock_start_until,
37738
+ time_block_id,
37739
+ time_block_completed,
37733
37740
  team_id,
37734
37741
  assignee_team_id,
37735
37742
  assignee_user_id,
@@ -37741,11 +37748,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37741
37748
  include_assignees,
37742
37749
  include_parent_matches,
37743
37750
  disable_aggregations,
37744
- cf_filter,
37745
- recurring_occurrences_after,
37746
- max_recurring_occurrences_after,
37747
- recurring_task_read,
37748
- include_projected_occurrences
37751
+ cf_filter
37749
37752
  })
37750
37753
  }).json();
37751
37754
  }
@@ -37820,46 +37823,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
37820
37823
  })
37821
37824
  }).json();
37822
37825
  }
37823
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
37826
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
37824
37827
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
37825
37828
  signal,
37826
37829
  searchParams: buildSearchParams$2({
37827
37830
  date_from,
37828
- date_to,
37829
- skip_provider_refresh
37830
- })
37831
- }).json();
37832
- }
37833
- async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
37834
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
37835
- signal,
37836
- searchParams: buildSearchParams$2({
37837
- project_id,
37838
- without_project,
37839
- pinned_only,
37840
- include_unassigned,
37841
- search,
37842
- only_me,
37843
- page,
37844
- per_page
37845
- })
37846
- }).json();
37847
- }
37848
- async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
37849
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
37850
- signal,
37851
- searchParams: buildSearchParams$2({
37852
- project_id,
37853
- without_project,
37854
- include_unassigned,
37855
- search,
37856
- only_me,
37857
- page,
37858
- per_page
37831
+ date_to
37859
37832
  })
37860
37833
  }).json();
37861
37834
  }
37862
- 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) {
37835
+ 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) {
37863
37836
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
37864
37837
  signal,
37865
37838
  searchParams: buildSearchParams$2({
@@ -37875,15 +37848,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
37875
37848
  assignee_team_id,
37876
37849
  assignee_user_id,
37877
37850
  tag_id,
37878
- include_assignees,
37879
- recurring_occurrences_after,
37880
- max_recurring_occurrences_after,
37881
- recurring_task_read,
37882
- include_projected_occurrences
37851
+ include_assignees
37883
37852
  })
37884
37853
  }).json();
37885
37854
  }
37886
- 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) {
37855
+ 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) {
37887
37856
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
37888
37857
  signal,
37889
37858
  searchParams: buildSearchParams$2({
@@ -37895,6 +37864,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37895
37864
  name,
37896
37865
  include_parent_matches,
37897
37866
  has_time_entries,
37867
+ has_time_blocks,
37898
37868
  has_dates,
37899
37869
  private: private_,
37900
37870
  archived,
@@ -37917,6 +37887,8 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37917
37887
  priority,
37918
37888
  is_priority,
37919
37889
  state,
37890
+ time_block_id,
37891
+ time_block_completed,
37920
37892
  team_id,
37921
37893
  assignee_team_id,
37922
37894
  assignee_user_id,
@@ -37925,11 +37897,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37925
37897
  recurring_task_ids,
37926
37898
  client_id,
37927
37899
  include_assignees,
37928
- cf_filter,
37929
- recurring_occurrences_after,
37930
- max_recurring_occurrences_after,
37931
- recurring_task_read,
37932
- include_projected_occurrences
37900
+ cf_filter
37933
37901
  })
37934
37902
  }).json();
37935
37903
  }
@@ -37984,12 +37952,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
37984
37952
  })
37985
37953
  }).json();
37986
37954
  }
37987
- async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
37988
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
37989
- signal,
37990
- searchParams: buildSearchParams$2({ return_occurrence })
37991
- }).json();
37992
- }
37993
37955
  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) {
37994
37956
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
37995
37957
  signal,
@@ -38015,7 +37977,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
38015
37977
  }
38016
37978
  //#endregion
38017
37979
  //#region ../focus-queries/dist/time-entries/requests.ts
38018
- async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
37980
+ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived, time_block_id } = {}, signal) {
38019
37981
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
38020
37982
  signal,
38021
37983
  searchParams: buildSearchParams$2({
@@ -38023,28 +37985,21 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
38023
37985
  per_page,
38024
37986
  order_by,
38025
37987
  type,
38026
- archived
37988
+ archived,
37989
+ time_block_id
38027
37990
  })
38028
37991
  }).json();
38029
37992
  }
38030
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
37993
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
38031
37994
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
38032
37995
  signal,
38033
- json: data,
38034
- searchParams: buildSearchParams$2({
38035
- from_recurring_task_id,
38036
- return_occurrence
38037
- })
37996
+ json: data
38038
37997
  }).json();
38039
37998
  }
38040
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
37999
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
38041
38000
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
38042
38001
  signal,
38043
- json: data,
38044
- searchParams: buildSearchParams$2({
38045
- from_recurring_task_id,
38046
- return_occurrence
38047
- })
38002
+ json: data
38048
38003
  }).json();
38049
38004
  }
38050
38005
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -38095,7 +38050,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
38095
38050
  json: data
38096
38051
  }).json();
38097
38052
  }
38098
- 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) {
38053
+ 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) {
38099
38054
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
38100
38055
  signal,
38101
38056
  searchParams: buildSearchParams$2({
@@ -38103,7 +38058,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
38103
38058
  date_to,
38104
38059
  task_id,
38105
38060
  status_id,
38106
- project_id,
38107
38061
  type,
38108
38062
  order_by,
38109
38063
  archived,
@@ -38118,36 +38072,28 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
38118
38072
  json: data
38119
38073
  }).json();
38120
38074
  }
38075
+ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
38076
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
38077
+ signal,
38078
+ searchParams: buildSearchParams$2({ time_block_id })
38079
+ }).json();
38080
+ }
38121
38081
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
38122
38082
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
38123
38083
  }
38124
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
38084
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
38125
38085
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38126
38086
  signal,
38127
- json: data,
38128
- searchParams: buildSearchParams$2({
38129
- from_recurring_task_id,
38130
- return_occurrence
38131
- })
38087
+ json: data
38132
38088
  }).json();
38133
38089
  }
38134
- async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
38135
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38136
- signal,
38137
- searchParams: buildSearchParams$2({
38138
- from_recurring_task_id,
38139
- return_occurrence
38140
- })
38141
- }).json();
38090
+ async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
38091
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
38142
38092
  }
38143
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
38093
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
38144
38094
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38145
38095
  signal,
38146
- json: data,
38147
- searchParams: buildSearchParams$2({
38148
- from_recurring_task_id,
38149
- return_occurrence
38150
- })
38096
+ json: data
38151
38097
  }).json();
38152
38098
  }
38153
38099
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -38262,7 +38208,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38262
38208
  ]))
38263
38209
  });
38264
38210
  //#endregion
38265
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.66_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a0ba75643a0d2637ccb8edbb16e24ff/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38211
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38266
38212
  async function getInvitations(httpClient, signal) {
38267
38213
  return (await httpClient.get(`invitations`, { signal })).json();
38268
38214
  }
@@ -38279,7 +38225,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38279
38225
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38280
38226
  }
38281
38227
  //#endregion
38282
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.66_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a0ba75643a0d2637ccb8edbb16e24ff/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38228
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38283
38229
  function buildSearchParams(params, flattenArrays = false) {
38284
38230
  const searchParams = new URLSearchParams();
38285
38231
  Object.entries(params).forEach(([key, value]) => {
@@ -38291,7 +38237,7 @@ function buildSearchParams(params, flattenArrays = false) {
38291
38237
  return searchParams;
38292
38238
  }
38293
38239
  //#endregion
38294
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.66_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a0ba75643a0d2637ccb8edbb16e24ff/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38240
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38295
38241
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38296
38242
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38297
38243
  }
@@ -38305,7 +38251,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38305
38251
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38306
38252
  }
38307
38253
  //#endregion
38308
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.66_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a0ba75643a0d2637ccb8edbb16e24ff/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38254
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38309
38255
  async function getWorkspaces(httpClient, organization_id, signal) {
38310
38256
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38311
38257
  }
@@ -38325,7 +38271,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38325
38271
  });
38326
38272
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38327
38273
  //#endregion
38328
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.66_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a0ba75643a0d2637ccb8edbb16e24ff/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38274
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38329
38275
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38330
38276
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38331
38277
  signal,
@@ -38336,12 +38282,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38336
38282
  })).json();
38337
38283
  }
38338
38284
  //#endregion
38339
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.66_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a0ba75643a0d2637ccb8edbb16e24ff/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38285
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38340
38286
  async function getStatus(httpClient, signal) {
38341
38287
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38342
38288
  }
38343
38289
  //#endregion
38344
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.66_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a0ba75643a0d2637ccb8edbb16e24ff/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38290
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38345
38291
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38346
38292
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38347
38293
  signal,
@@ -38369,7 +38315,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38369
38315
  return response.json();
38370
38316
  }
38371
38317
  //#endregion
38372
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.66_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a0ba75643a0d2637ccb8edbb16e24ff/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38318
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38373
38319
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38374
38320
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38375
38321
  }
@@ -41859,15 +41805,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
41859
41805
  }
41860
41806
  //#endregion
41861
41807
  //#region ../focus-queries/dist/audit-log/requests.ts
41862
- 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) {
41808
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
41863
41809
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
41864
41810
  signal,
41865
41811
  searchParams: buildSearchParams$2({
41866
41812
  workspace_id,
41867
41813
  entity_type,
41868
41814
  entity_id,
41869
- project_id,
41870
- custom_field_id,
41871
41815
  action,
41872
41816
  user_id,
41873
41817
  page_size,
@@ -41876,14 +41820,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
41876
41820
  })
41877
41821
  }).json();
41878
41822
  }
41879
- 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) {
41823
+ async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
41880
41824
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
41881
41825
  signal,
41882
41826
  searchParams: buildSearchParams$2({
41883
41827
  entity_type,
41884
41828
  entity_id,
41885
- project_id,
41886
- custom_field_id,
41887
41829
  action,
41888
41830
  user_id,
41889
41831
  page_size,
@@ -42036,14 +41978,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
42036
41978
  }
42037
41979
  //#endregion
42038
41980
  //#region ../focus-queries/dist/capacities/requests.ts
42039
- 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) {
41981
+ 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) {
42040
41982
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
42041
41983
  signal,
42042
41984
  searchParams: buildSearchParams$2({
41985
+ user_id,
42043
41986
  start_date,
42044
41987
  end_date,
42045
- user_id,
42046
- team_id,
42047
41988
  private: private_,
42048
41989
  task_source,
42049
41990
  unit,
@@ -42103,15 +42044,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
42103
42044
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42104
42045
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
42105
42046
  }
42106
- async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42107
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
42108
- }
42109
- async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
42110
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
42111
- signal,
42112
- json: data
42113
- }).json();
42114
- }
42115
42047
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
42116
42048
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
42117
42049
  signal,
@@ -42375,7 +42307,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
42375
42307
  }
42376
42308
  //#endregion
42377
42309
  //#region ../focus-queries/dist/project-groups/requests.ts
42378
- 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) {
42310
+ 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) {
42379
42311
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
42380
42312
  signal,
42381
42313
  searchParams: buildSearchParams$2({
@@ -42401,7 +42333,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42401
42333
  user_id,
42402
42334
  only_me,
42403
42335
  include_drafts,
42404
- include_recurring_series,
42405
42336
  cf_filter
42406
42337
  })
42407
42338
  }).json();
@@ -42420,6 +42351,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
42420
42351
  json: data
42421
42352
  }).json();
42422
42353
  }
42354
+ async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
42355
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
42356
+ }
42423
42357
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
42424
42358
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
42425
42359
  }
@@ -42445,37 +42379,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
42445
42379
  }).json();
42446
42380
  }
42447
42381
  //#endregion
42448
- //#region ../focus-queries/dist/publicsharedreports/requests.ts
42449
- async function openPublicSharedReport(httpClient, token, signal) {
42450
- return await httpClient.get(`shared/${token}`, { signal }).json();
42451
- }
42452
- async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
42453
- return await httpClient.post(`shared/${token}/profitability`, {
42454
- signal,
42455
- json: data,
42456
- searchParams: buildSearchParams$2({
42457
- response_format,
42458
- include_dicts
42459
- })
42460
- }).json();
42461
- }
42462
- async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
42463
- return await httpClient.post(`shared/${token}/query`, {
42464
- signal,
42465
- json: data,
42466
- searchParams: buildSearchParams$2({
42467
- response_format,
42468
- include_dicts
42469
- })
42470
- }).json();
42471
- }
42472
- async function workloadPublicSharedReport(httpClient, token, data, signal) {
42473
- return await httpClient.post(`shared/${token}/workload`, {
42474
- signal,
42475
- json: data
42476
- }).json();
42477
- }
42478
- //#endregion
42479
42382
  //#region ../focus-queries/dist/rates/requests.ts
42480
42383
  async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
42481
42384
  const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
@@ -42637,7 +42540,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
42637
42540
  }
42638
42541
  //#endregion
42639
42542
  //#region ../focus-queries/dist/search/requests.ts
42640
- 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) {
42543
+ 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) {
42641
42544
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
42642
42545
  signal,
42643
42546
  searchParams: buildSearchParams$2({
@@ -42645,7 +42548,6 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
42645
42548
  per_group,
42646
42549
  assignee_user_id,
42647
42550
  assignee_team_id,
42648
- include_unassigned,
42649
42551
  project_id,
42650
42552
  task_id,
42651
42553
  include_drafts,
@@ -42690,18 +42592,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
42690
42592
  async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
42691
42593
  return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
42692
42594
  }
42693
- async function unshareSharedReport(httpClient, workspace_id, id, signal) {
42694
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
42695
- }
42696
- async function getSharedReportDates(httpClient, workspace_id, id, signal) {
42697
- return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
42698
- }
42699
- async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
42700
- return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
42701
- signal,
42702
- json: data
42703
- }).json();
42704
- }
42705
42595
  async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
42706
42596
  return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
42707
42597
  signal,
@@ -42711,21 +42601,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
42711
42601
  async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
42712
42602
  return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
42713
42603
  }
42714
- async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
42715
- return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
42716
- signal,
42717
- json: data
42718
- }).json();
42719
- }
42720
- async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
42721
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
42722
- }
42723
- async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
42724
- return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
42725
- signal,
42726
- json: data
42727
- }).json();
42728
- }
42729
42604
  //#endregion
42730
42605
  //#region ../focus-queries/dist/subscriptions/requests.ts
42731
42606
  async function getCurrentSubscription(httpClient, organization_id, signal) {
@@ -42782,10 +42657,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
42782
42657
  }
42783
42658
  //#endregion
42784
42659
  //#region ../focus-queries/dist/task-groups/requests.ts
42785
- 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) {
42660
+ 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) {
42786
42661
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
42787
42662
  signal,
42788
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
42789
42663
  searchParams: buildSearchParams$2({
42790
42664
  project_id,
42791
42665
  source,
@@ -42814,18 +42688,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
42814
42688
  min_days,
42815
42689
  include_drafts,
42816
42690
  cf_filter,
42817
- user_cf_filter,
42818
- recurring_occurrences_after,
42819
- max_recurring_occurrences_after,
42820
- recurring_task_read,
42821
- include_projected_occurrences
42691
+ user_cf_filter
42822
42692
  })
42823
42693
  }).json();
42824
42694
  }
42825
- 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) {
42695
+ 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) {
42826
42696
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
42827
42697
  signal,
42828
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
42829
42698
  searchParams: buildSearchParams$2({
42830
42699
  team_id,
42831
42700
  project_id,
@@ -42854,18 +42723,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
42854
42723
  min_days,
42855
42724
  include_drafts,
42856
42725
  cf_filter,
42857
- user_cf_filter,
42858
- recurring_occurrences_after,
42859
- max_recurring_occurrences_after,
42860
- recurring_task_read,
42861
- include_projected_occurrences
42726
+ user_cf_filter
42862
42727
  })
42863
42728
  }).json();
42864
42729
  }
42865
- 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) {
42730
+ 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) {
42866
42731
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
42867
42732
  signal,
42868
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
42869
42733
  searchParams: buildSearchParams$2({
42870
42734
  source,
42871
42735
  priority,
@@ -42895,10 +42759,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
42895
42759
  include_drafts,
42896
42760
  cf_filter,
42897
42761
  user_cf_filter,
42898
- recurring_occurrences_after,
42899
- max_recurring_occurrences_after,
42900
- recurring_task_read,
42901
- include_projected_occurrences,
42902
42762
  page,
42903
42763
  per_page,
42904
42764
  order_by
@@ -42926,6 +42786,104 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
42926
42786
  }).json();
42927
42787
  }
42928
42788
  //#endregion
42789
+ //#region ../focus-queries/dist/time-blocks/requests.ts
42790
+ async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
42791
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
42792
+ signal,
42793
+ searchParams: buildSearchParams$2({
42794
+ page,
42795
+ per_page,
42796
+ order_by,
42797
+ archived
42798
+ })
42799
+ }).json();
42800
+ }
42801
+ async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
42802
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
42803
+ signal,
42804
+ json: data
42805
+ }).json();
42806
+ }
42807
+ async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
42808
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
42809
+ }
42810
+ async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
42811
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
42812
+ signal,
42813
+ json: data
42814
+ }).json();
42815
+ }
42816
+ async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
42817
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
42818
+ signal,
42819
+ searchParams: buildSearchParams$2({ outbound_sync })
42820
+ }).json();
42821
+ }
42822
+ async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
42823
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
42824
+ signal,
42825
+ json: data
42826
+ }).json();
42827
+ }
42828
+ async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
42829
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
42830
+ }
42831
+ async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
42832
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
42833
+ }
42834
+ async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
42835
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
42836
+ }
42837
+ async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
42838
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
42839
+ signal,
42840
+ searchParams: buildSearchParams$2({
42841
+ date_from,
42842
+ date_to,
42843
+ task_id,
42844
+ status_id,
42845
+ page,
42846
+ per_page,
42847
+ archived,
42848
+ order_by
42849
+ })
42850
+ }).json();
42851
+ }
42852
+ async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
42853
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
42854
+ signal,
42855
+ json: data
42856
+ }).json();
42857
+ }
42858
+ async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
42859
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
42860
+ signal,
42861
+ searchParams: buildSearchParams$2({
42862
+ ids,
42863
+ outbound_sync
42864
+ })
42865
+ }).json();
42866
+ }
42867
+ async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
42868
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
42869
+ signal,
42870
+ json: data
42871
+ }).json();
42872
+ }
42873
+ async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
42874
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
42875
+ signal,
42876
+ searchParams: buildSearchParams$2({
42877
+ date_from,
42878
+ date_to,
42879
+ task_id,
42880
+ status_id,
42881
+ archived,
42882
+ order_by
42883
+ })
42884
+ }).json();
42885
+ }
42886
+ //#endregion
42929
42887
  //#region ../focus-queries/dist/time-entry-constraints/requests.ts
42930
42888
  async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
42931
42889
  return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
@@ -42963,12 +42921,6 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
42963
42921
  })
42964
42922
  }).json();
42965
42923
  }
42966
- async function getTimeoffCategories(httpClient, organization_id, signal) {
42967
- return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
42968
- }
42969
- async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
42970
- return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
42971
- }
42972
42924
  async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
42973
42925
  return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
42974
42926
  signal,
@@ -42996,26 +42948,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
42996
42948
  json: data
42997
42949
  }).json();
42998
42950
  }
42999
- async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
43000
- return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
43001
- signal,
43002
- searchParams: buildSearchParams$2({
43003
- category_id,
43004
- date
43005
- })
43006
- }).json();
43007
- }
43008
- async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
43009
- return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
43010
- signal,
43011
- searchParams: buildSearchParams$2({
43012
- category_id,
43013
- year,
43014
- page,
43015
- rows
43016
- })
43017
- }).json();
43018
- }
43019
42951
  //#endregion
43020
42952
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
43021
42953
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -43116,19 +43048,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
43116
43048
  json: data
43117
43049
  }).json();
43118
43050
  }
43119
- async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
43120
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
43121
- signal,
43122
- searchParams: buildSearchParams$2({
43123
- date_from,
43124
- date_to,
43125
- setup_id,
43126
- user_account_ids,
43127
- approver_user_account_ids,
43128
- team_ids
43129
- })
43130
- }).json();
43131
- }
43132
43051
  async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
43133
43052
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
43134
43053
  }
@@ -43172,21 +43091,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
43172
43091
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
43173
43092
  }
43174
43093
  //#endregion
43175
- //#region ../focus-queries/dist/track-team-invites/requests.ts
43176
- async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
43177
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
43178
- signal,
43179
- json: data
43180
- }).json();
43181
- }
43182
- //#endregion
43183
43094
  //#region ../focus-queries/dist/user-settings/requests.ts
43184
- async function emailUnsubscribePage(httpClient, token, signal) {
43185
- return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
43186
- }
43187
- async function emailUnsubscribe(httpClient, token, signal) {
43188
- return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
43189
- }
43190
43095
  async function getUserSettings(httpClient, signal) {
43191
43096
  return await httpClient.get(`users/me/settings`, { signal }).json();
43192
43097
  }
@@ -43426,7 +43331,6 @@ const generatedFocusOperations = [
43426
43331
  mcp: { entityTool: "audit-log" },
43427
43332
  inputSchema: /* @__PURE__ */ looseObject({
43428
43333
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43429
- custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43430
43334
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43431
43335
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43432
43336
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -43434,7 +43338,6 @@ const generatedFocusOperations = [
43434
43338
  from: /* @__PURE__ */ string$1(),
43435
43339
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43436
43340
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43437
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43438
43341
  to: /* @__PURE__ */ string$1(),
43439
43342
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43440
43343
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -43468,7 +43371,6 @@ const generatedFocusOperations = [
43468
43371
  mcp: { entityTool: "audit-log" },
43469
43372
  inputSchema: /* @__PURE__ */ looseObject({
43470
43373
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43471
- custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43472
43374
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43473
43375
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43474
43376
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -43476,7 +43378,6 @@ const generatedFocusOperations = [
43476
43378
  from: /* @__PURE__ */ string$1(),
43477
43379
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43478
43380
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43479
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43480
43381
  to: /* @__PURE__ */ string$1(),
43481
43382
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43482
43383
  }),
@@ -43516,7 +43417,6 @@ const generatedFocusOperations = [
43516
43417
  private_: /* @__PURE__ */ unknown$1(),
43517
43418
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43518
43419
  task_source: /* @__PURE__ */ unknown$1(),
43519
- team_id: /* @__PURE__ */ number$2(),
43520
43420
  unit: /* @__PURE__ */ unknown$1(),
43521
43421
  user_id: /* @__PURE__ */ number$2()
43522
43422
  }),
@@ -43766,6 +43666,8 @@ const generatedFocusOperations = [
43766
43666
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43767
43667
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
43768
43668
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43669
+ integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43670
+ integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43769
43671
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43770
43672
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43771
43673
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -43799,6 +43701,8 @@ const generatedFocusOperations = [
43799
43701
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43800
43702
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
43801
43703
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43704
+ integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43705
+ integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43802
43706
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43803
43707
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43804
43708
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -43814,6 +43718,12 @@ const generatedFocusOperations = [
43814
43718
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43815
43719
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43816
43720
  }))),
43721
+ time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
43722
+ start: apiDateTimeString,
43723
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43724
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43725
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
43726
+ }))),
43817
43727
  time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
43818
43728
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
43819
43729
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -43823,6 +43733,13 @@ const generatedFocusOperations = [
43823
43733
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43824
43734
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
43825
43735
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
43736
+ time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
43737
+ start: apiDateTimeString,
43738
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43739
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43740
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
43741
+ })),
43742
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43826
43743
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
43827
43744
  }))
43828
43745
  }) }),
@@ -43941,60 +43858,33 @@ const generatedFocusOperations = [
43941
43858
  }
43942
43859
  },
43943
43860
  {
43944
- id: "focus.custom-fields.get-allowed-users",
43861
+ id: "focus.custom-fields.list",
43945
43862
  family: "focus",
43946
43863
  resource: "custom-fields",
43947
- action: "get-allowed-users",
43948
- title: "Get Allowed Users Custom Fields",
43949
- description: "Get Allowed Users Custom Fields.",
43864
+ action: "list",
43865
+ title: "List Custom Fields",
43866
+ description: "List Custom Fields.",
43950
43867
  safety: "read",
43951
43868
  destructive: false,
43952
43869
  cli: {
43953
43870
  group: ["custom-fields"],
43954
- command: "get-allowed-users",
43955
- interactive: "available"
43871
+ command: "list",
43872
+ interactive: "hidden"
43956
43873
  },
43957
43874
  mcp: { entityTool: "custom-fields" },
43958
- inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
43875
+ inputSchema: /* @__PURE__ */ looseObject({
43876
+ entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43877
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43878
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43879
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
43880
+ }),
43959
43881
  execute: (input, { client }) => {
43960
43882
  const data = input;
43961
- return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
43883
+ return client.runGeneratedRequest("getCustomFieldsClassic", () => callGeneratedRequest(getCustomFieldsClassic, [
43962
43884
  client.httpClient,
43963
43885
  client.organizationId,
43964
43886
  client.workspaceIdNumber,
43965
- data.custom_field_id,
43966
- void 0
43967
- ]));
43968
- }
43969
- },
43970
- {
43971
- id: "focus.custom-fields.list",
43972
- family: "focus",
43973
- resource: "custom-fields",
43974
- action: "list",
43975
- title: "List Custom Fields",
43976
- description: "List Custom Fields.",
43977
- safety: "read",
43978
- destructive: false,
43979
- cli: {
43980
- group: ["custom-fields"],
43981
- command: "list",
43982
- interactive: "hidden"
43983
- },
43984
- mcp: { entityTool: "custom-fields" },
43985
- inputSchema: /* @__PURE__ */ looseObject({
43986
- entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43987
- order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43988
- page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43989
- per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
43990
- }),
43991
- execute: (input, { client }) => {
43992
- const data = input;
43993
- return client.runGeneratedRequest("getCustomFieldsClassic", () => callGeneratedRequest(getCustomFieldsClassic, [
43994
- client.httpClient,
43995
- client.organizationId,
43996
- client.workspaceIdNumber,
43997
- data,
43887
+ data,
43998
43888
  void 0
43999
43889
  ]));
44000
43890
  }
@@ -44136,37 +44026,6 @@ const generatedFocusOperations = [
44136
44026
  ]));
44137
44027
  }
44138
44028
  },
44139
- {
44140
- id: "focus.custom-fields.replace-custom-field-allowed-users",
44141
- family: "focus",
44142
- resource: "custom-fields",
44143
- action: "replace-custom-field-allowed-users",
44144
- title: "Replace Custom Field Allowed Users Custom Fields",
44145
- description: "Replace Custom Field Allowed Users Custom Fields.",
44146
- safety: "update",
44147
- destructive: false,
44148
- cli: {
44149
- group: ["custom-fields"],
44150
- command: "replace-custom-field-allowed-users",
44151
- interactive: "default"
44152
- },
44153
- mcp: { entityTool: "custom-fields" },
44154
- inputSchema: /* @__PURE__ */ looseObject({
44155
- custom_field_id: /* @__PURE__ */ number$2(),
44156
- payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
44157
- }),
44158
- execute: (input, { client }) => {
44159
- const data = input;
44160
- return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
44161
- client.httpClient,
44162
- client.organizationId,
44163
- client.workspaceIdNumber,
44164
- data.custom_field_id,
44165
- data.payload ?? data.data ?? data,
44166
- void 0
44167
- ]));
44168
- }
44169
- },
44170
44029
  {
44171
44030
  id: "focus.custom-fields.update",
44172
44031
  family: "focus",
@@ -44313,7 +44172,13 @@ const generatedFocusOperations = [
44313
44172
  },
44314
44173
  mcp: { entityTool: "goals" },
44315
44174
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44175
+ billable: /* @__PURE__ */ boolean$1(),
44316
44176
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44177
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44178
+ icon: /* @__PURE__ */ string$1(),
44179
+ monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44180
+ name: /* @__PURE__ */ string$1(),
44181
+ project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44317
44182
  recurrence: /* @__PURE__ */ picklist$1([
44318
44183
  "daily",
44319
44184
  "weekly",
@@ -44321,18 +44186,12 @@ const generatedFocusOperations = [
44321
44186
  "monthly"
44322
44187
  ]),
44323
44188
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44189
+ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44324
44190
  target_seconds: /* @__PURE__ */ number$2(),
44325
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44191
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44192
+ weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44326
44193
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44327
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44328
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44329
- icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44330
- monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44331
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44332
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44333
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44334
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44335
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44194
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44336
44195
  }) }),
44337
44196
  execute: (input, { client }) => {
44338
44197
  const data = input;
@@ -44438,6 +44297,13 @@ const generatedFocusOperations = [
44438
44297
  },
44439
44298
  mcp: { entityTool: "goals" },
44440
44299
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44300
+ billable: /* @__PURE__ */ boolean$1(),
44301
+ comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44302
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44303
+ icon: /* @__PURE__ */ string$1(),
44304
+ monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44305
+ name: /* @__PURE__ */ string$1(),
44306
+ project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44441
44307
  recurrence: /* @__PURE__ */ picklist$1([
44442
44308
  "daily",
44443
44309
  "weekly",
@@ -44445,19 +44311,12 @@ const generatedFocusOperations = [
44445
44311
  "monthly"
44446
44312
  ]),
44447
44313
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44448
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44314
+ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44315
+ target_seconds: /* @__PURE__ */ number$2(),
44316
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44317
+ weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44449
44318
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44450
- comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
44451
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44452
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44453
- icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44454
- monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44455
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44456
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44457
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44458
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44459
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44460
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44319
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44461
44320
  }) }),
44462
44321
  execute: (input, { client }) => {
44463
44322
  const data = input;
@@ -45424,17 +45283,9 @@ const generatedFocusOperations = [
45424
45283
  mcp: { entityTool: "projects" },
45425
45284
  inputSchema: /* @__PURE__ */ looseObject({
45426
45285
  payload: /* @__PURE__ */ looseObject({
45427
- auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45428
- completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
45429
45286
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
45430
45287
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45431
45288
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45432
- rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
45433
- "expire",
45434
- "carry_all",
45435
- "carry_over"
45436
- ])),
45437
- rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45438
45289
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
45439
45290
  }),
45440
45291
  project_id: /* @__PURE__ */ number$2()
@@ -45878,7 +45729,6 @@ const generatedFocusOperations = [
45878
45729
  group: /* @__PURE__ */ string$1(),
45879
45730
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45880
45731
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45881
- include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45882
45732
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45883
45733
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45884
45734
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -45981,6 +45831,29 @@ const generatedFocusOperations = [
45981
45831
  ]));
45982
45832
  }
45983
45833
  },
45834
+ {
45835
+ id: "focus.projects.margin-targets-clear-workspace",
45836
+ family: "focus",
45837
+ resource: "projects",
45838
+ action: "margin-targets-clear-workspace",
45839
+ title: "Margin Targets Clear Workspace Projects",
45840
+ description: "Margin Targets Clear Workspace Projects.",
45841
+ safety: "delete",
45842
+ destructive: true,
45843
+ cli: {
45844
+ group: ["projects", "margin-targets"],
45845
+ command: "clear-workspace",
45846
+ interactive: "default"
45847
+ },
45848
+ mcp: { entityTool: "projects" },
45849
+ inputSchema: /* @__PURE__ */ looseObject({}),
45850
+ execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
45851
+ client.httpClient,
45852
+ client.organizationId,
45853
+ client.workspaceIdNumber,
45854
+ void 0
45855
+ ]))
45856
+ },
45984
45857
  {
45985
45858
  id: "focus.projects.margin-targets-get",
45986
45859
  family: "focus",
@@ -46425,130 +46298,6 @@ const generatedFocusOperations = [
46425
46298
  ]));
46426
46299
  }
46427
46300
  },
46428
- {
46429
- id: "focus.publicsharedreports.open-public-shared-report",
46430
- family: "focus",
46431
- resource: "publicsharedreports",
46432
- action: "open-public-shared-report",
46433
- title: "Open Public Shared Report Publicsharedreports",
46434
- description: "Open Public Shared Report Publicsharedreports.",
46435
- safety: "read",
46436
- destructive: false,
46437
- cli: {
46438
- group: ["publicsharedreports"],
46439
- command: "open-public-shared-report",
46440
- interactive: "available"
46441
- },
46442
- mcp: { entityTool: "publicsharedreports" },
46443
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
46444
- execute: (input, { client }) => {
46445
- const data = input;
46446
- return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
46447
- client.httpClient,
46448
- data.token,
46449
- void 0
46450
- ]));
46451
- }
46452
- },
46453
- {
46454
- id: "focus.publicsharedreports.profitability-public-shared-report",
46455
- family: "focus",
46456
- resource: "publicsharedreports",
46457
- action: "profitability-public-shared-report",
46458
- title: "Profitability Public Shared Report Publicsharedreports",
46459
- description: "Profitability Public Shared Report Publicsharedreports.",
46460
- safety: "update",
46461
- destructive: false,
46462
- cli: {
46463
- group: ["publicsharedreports"],
46464
- command: "profitability-public-shared-report",
46465
- interactive: "default"
46466
- },
46467
- mcp: { entityTool: "publicsharedreports" },
46468
- inputSchema: /* @__PURE__ */ looseObject({
46469
- include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
46470
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46471
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
46472
- token: /* @__PURE__ */ string$1()
46473
- }),
46474
- execute: (input, { client }) => {
46475
- const data = input;
46476
- return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
46477
- client.httpClient,
46478
- data.token,
46479
- data.payload ?? data.data ?? data,
46480
- data.response_format,
46481
- data.include_dicts,
46482
- void 0
46483
- ]));
46484
- }
46485
- },
46486
- {
46487
- id: "focus.publicsharedreports.query-public-shared-report",
46488
- family: "focus",
46489
- resource: "publicsharedreports",
46490
- action: "query-public-shared-report",
46491
- title: "Query Public Shared Report Publicsharedreports",
46492
- description: "Query Public Shared Report Publicsharedreports.",
46493
- safety: "update",
46494
- destructive: false,
46495
- cli: {
46496
- group: ["publicsharedreports"],
46497
- command: "query-public-shared-report",
46498
- interactive: "default"
46499
- },
46500
- mcp: { entityTool: "publicsharedreports" },
46501
- inputSchema: /* @__PURE__ */ looseObject({
46502
- include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
46503
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46504
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
46505
- "json_row",
46506
- "table",
46507
- "hierarchical"
46508
- ])),
46509
- token: /* @__PURE__ */ string$1()
46510
- }),
46511
- execute: (input, { client }) => {
46512
- const data = input;
46513
- return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
46514
- client.httpClient,
46515
- data.token,
46516
- data.payload ?? data.data ?? data,
46517
- data.response_format,
46518
- data.include_dicts,
46519
- void 0
46520
- ]));
46521
- }
46522
- },
46523
- {
46524
- id: "focus.publicsharedreports.workload-public-shared-report",
46525
- family: "focus",
46526
- resource: "publicsharedreports",
46527
- action: "workload-public-shared-report",
46528
- title: "Workload Public Shared Report Publicsharedreports",
46529
- description: "Workload Public Shared Report Publicsharedreports.",
46530
- safety: "update",
46531
- destructive: false,
46532
- cli: {
46533
- group: ["publicsharedreports"],
46534
- command: "workload-public-shared-report",
46535
- interactive: "default"
46536
- },
46537
- mcp: { entityTool: "publicsharedreports" },
46538
- inputSchema: /* @__PURE__ */ looseObject({
46539
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
46540
- token: /* @__PURE__ */ string$1()
46541
- }),
46542
- execute: (input, { client }) => {
46543
- const data = input;
46544
- return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
46545
- client.httpClient,
46546
- data.token,
46547
- data.payload ?? data.data ?? data,
46548
- void 0
46549
- ]));
46550
- }
46551
- },
46552
46301
  {
46553
46302
  id: "focus.rates.billable-check-project-billable-rate-conflicts",
46554
46303
  family: "focus",
@@ -48507,7 +48256,7 @@ const generatedFocusOperations = [
48507
48256
  cli: {
48508
48257
  group: ["reportschedules"],
48509
48258
  command: "upsert-saved-view-schedule",
48510
- interactive: "hidden"
48259
+ interactive: "default"
48511
48260
  },
48512
48261
  mcp: { entityTool: "reportschedules" },
48513
48262
  inputSchema: /* @__PURE__ */ looseObject({
@@ -48518,10 +48267,8 @@ const generatedFocusOperations = [
48518
48267
  "weekly",
48519
48268
  "monthly"
48520
48269
  ]),
48521
- charts: /* @__PURE__ */ unknown$1(),
48522
48270
  time: /* @__PURE__ */ string$1(),
48523
48271
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48524
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48525
48272
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48526
48273
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48527
48274
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -48854,32 +48601,6 @@ const generatedFocusOperations = [
48854
48601
  ]));
48855
48602
  }
48856
48603
  },
48857
- {
48858
- id: "focus.sharedreports.get-shared-report-dates",
48859
- family: "focus",
48860
- resource: "sharedreports",
48861
- action: "get-shared-report-dates",
48862
- title: "Get Shared Report Dates Sharedreports",
48863
- description: "Get Shared Report Dates Sharedreports.",
48864
- safety: "read",
48865
- destructive: false,
48866
- cli: {
48867
- group: ["sharedreports"],
48868
- command: "get-shared-report-dates",
48869
- interactive: "available"
48870
- },
48871
- mcp: { entityTool: "sharedreports" },
48872
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48873
- execute: (input, { client }) => {
48874
- const data = input;
48875
- return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
48876
- client.httpClient,
48877
- client.workspaceIdNumber,
48878
- data.id,
48879
- void 0
48880
- ]));
48881
- }
48882
- },
48883
48604
  {
48884
48605
  id: "focus.sharedreports.get-shared-report-for-viewer",
48885
48606
  family: "focus",
@@ -48950,36 +48671,6 @@ const generatedFocusOperations = [
48950
48671
  void 0
48951
48672
  ]))
48952
48673
  },
48953
- {
48954
- id: "focus.sharedreports.mint-shared-report-link",
48955
- family: "focus",
48956
- resource: "sharedreports",
48957
- action: "mint-shared-report-link",
48958
- title: "Mint Shared Report Link Sharedreports",
48959
- description: "Mint Shared Report Link Sharedreports.",
48960
- safety: "update",
48961
- destructive: false,
48962
- cli: {
48963
- group: ["sharedreports"],
48964
- command: "mint-shared-report-link",
48965
- interactive: "default"
48966
- },
48967
- mcp: { entityTool: "sharedreports" },
48968
- inputSchema: /* @__PURE__ */ looseObject({
48969
- id: /* @__PURE__ */ number$2(),
48970
- payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
48971
- }),
48972
- execute: (input, { client }) => {
48973
- const data = input;
48974
- return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
48975
- client.httpClient,
48976
- client.workspaceIdNumber,
48977
- data.id,
48978
- data.payload ?? data.data ?? data,
48979
- void 0
48980
- ]));
48981
- }
48982
- },
48983
48674
  {
48984
48675
  id: "focus.sharedreports.revoke-shared-report-grant",
48985
48676
  family: "focus",
@@ -49011,53 +48702,71 @@ const generatedFocusOperations = [
49011
48702
  }
49012
48703
  },
49013
48704
  {
49014
- id: "focus.sharedreports.revoke-shared-report-link",
48705
+ id: "focus.sharedreports.share-saved-view",
49015
48706
  family: "focus",
49016
48707
  resource: "sharedreports",
49017
- action: "revoke-shared-report-link",
49018
- title: "Revoke Shared Report Link Sharedreports",
49019
- description: "Revoke Shared Report Link Sharedreports.",
49020
- safety: "delete",
49021
- destructive: true,
48708
+ action: "share-saved-view",
48709
+ title: "Share Saved View Sharedreports",
48710
+ description: "Share Saved View Sharedreports.",
48711
+ safety: "update",
48712
+ destructive: false,
49022
48713
  cli: {
49023
48714
  group: ["sharedreports"],
49024
- command: "revoke-shared-report-link",
49025
- interactive: "default"
48715
+ command: "share-saved-view",
48716
+ interactive: "hidden"
49026
48717
  },
49027
48718
  mcp: { entityTool: "sharedreports" },
49028
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48719
+ inputSchema: /* @__PURE__ */ looseObject({
48720
+ id: /* @__PURE__ */ number$2(),
48721
+ payload: /* @__PURE__ */ looseObject({
48722
+ charts: /* @__PURE__ */ unknown$1(),
48723
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48724
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48725
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48726
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48727
+ })
48728
+ }),
49029
48729
  execute: (input, { client }) => {
49030
48730
  const data = input;
49031
- return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
48731
+ return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
49032
48732
  client.httpClient,
49033
48733
  client.workspaceIdNumber,
49034
48734
  data.id,
48735
+ data.payload ?? data.data ?? data,
49035
48736
  void 0
49036
48737
  ]));
49037
48738
  }
49038
48739
  },
49039
48740
  {
49040
- id: "focus.sharedreports.rotate-shared-report-link",
48741
+ id: "focus.sharedreports.share-saved-view-many",
49041
48742
  family: "focus",
49042
48743
  resource: "sharedreports",
49043
- action: "rotate-shared-report-link",
49044
- title: "Rotate Shared Report Link Sharedreports",
49045
- description: "Rotate Shared Report Link Sharedreports.",
48744
+ action: "share-saved-view-many",
48745
+ title: "Share Saved View Many Sharedreports",
48746
+ description: "Share Saved View Many Sharedreports.",
49046
48747
  safety: "update",
49047
48748
  destructive: false,
49048
48749
  cli: {
49049
48750
  group: ["sharedreports"],
49050
- command: "rotate-shared-report-link",
49051
- interactive: "default"
48751
+ command: "share-saved-view-many",
48752
+ interactive: "hidden"
49052
48753
  },
49053
48754
  mcp: { entityTool: "sharedreports" },
49054
48755
  inputSchema: /* @__PURE__ */ looseObject({
49055
48756
  id: /* @__PURE__ */ number$2(),
49056
- payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
48757
+ payload: /* @__PURE__ */ looseObject({
48758
+ charts: /* @__PURE__ */ unknown$1(),
48759
+ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48760
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48761
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48762
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48763
+ })),
48764
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48765
+ })
49057
48766
  }),
49058
48767
  execute: (input, { client }) => {
49059
48768
  const data = input;
49060
- return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
48769
+ return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
49061
48770
  client.httpClient,
49062
48771
  client.workspaceIdNumber,
49063
48772
  data.id,
@@ -49066,136 +48775,6 @@ const generatedFocusOperations = [
49066
48775
  ]));
49067
48776
  }
49068
48777
  },
49069
- {
49070
- id: "focus.sharedreports.set-shared-report-dates-lock",
49071
- family: "focus",
49072
- resource: "sharedreports",
49073
- action: "set-shared-report-dates-lock",
49074
- title: "Set Shared Report Dates Lock Sharedreports",
49075
- description: "Set Shared Report Dates Lock Sharedreports.",
49076
- safety: "update",
49077
- destructive: false,
49078
- cli: {
49079
- group: ["sharedreports"],
49080
- command: "set-shared-report-dates-lock",
49081
- interactive: "default"
49082
- },
49083
- mcp: { entityTool: "sharedreports" },
49084
- inputSchema: /* @__PURE__ */ looseObject({
49085
- id: /* @__PURE__ */ number$2(),
49086
- payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
49087
- }),
49088
- execute: (input, { client }) => {
49089
- const data = input;
49090
- return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
49091
- client.httpClient,
49092
- client.workspaceIdNumber,
49093
- data.id,
49094
- data.payload ?? data.data ?? data,
49095
- void 0
49096
- ]));
49097
- }
49098
- },
49099
- {
49100
- id: "focus.sharedreports.share-saved-view",
49101
- family: "focus",
49102
- resource: "sharedreports",
49103
- action: "share-saved-view",
49104
- title: "Share Saved View Sharedreports",
49105
- description: "Share Saved View Sharedreports.",
49106
- safety: "update",
49107
- destructive: false,
49108
- cli: {
49109
- group: ["sharedreports"],
49110
- command: "share-saved-view",
49111
- interactive: "hidden"
49112
- },
49113
- mcp: { entityTool: "sharedreports" },
49114
- inputSchema: /* @__PURE__ */ looseObject({
49115
- id: /* @__PURE__ */ number$2(),
49116
- payload: /* @__PURE__ */ looseObject({
49117
- charts: /* @__PURE__ */ unknown$1(),
49118
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49119
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49120
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49121
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
49122
- })
49123
- }),
49124
- execute: (input, { client }) => {
49125
- const data = input;
49126
- return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
49127
- client.httpClient,
49128
- client.workspaceIdNumber,
49129
- data.id,
49130
- data.payload ?? data.data ?? data,
49131
- void 0
49132
- ]));
49133
- }
49134
- },
49135
- {
49136
- id: "focus.sharedreports.share-saved-view-many",
49137
- family: "focus",
49138
- resource: "sharedreports",
49139
- action: "share-saved-view-many",
49140
- title: "Share Saved View Many Sharedreports",
49141
- description: "Share Saved View Many Sharedreports.",
49142
- safety: "update",
49143
- destructive: false,
49144
- cli: {
49145
- group: ["sharedreports"],
49146
- command: "share-saved-view-many",
49147
- interactive: "hidden"
49148
- },
49149
- mcp: { entityTool: "sharedreports" },
49150
- inputSchema: /* @__PURE__ */ looseObject({
49151
- id: /* @__PURE__ */ number$2(),
49152
- payload: /* @__PURE__ */ looseObject({
49153
- charts: /* @__PURE__ */ unknown$1(),
49154
- grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
49155
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49156
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49157
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
49158
- })),
49159
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
49160
- })
49161
- }),
49162
- execute: (input, { client }) => {
49163
- const data = input;
49164
- return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
49165
- client.httpClient,
49166
- client.workspaceIdNumber,
49167
- data.id,
49168
- data.payload ?? data.data ?? data,
49169
- void 0
49170
- ]));
49171
- }
49172
- },
49173
- {
49174
- id: "focus.sharedreports.unshare-shared-report",
49175
- family: "focus",
49176
- resource: "sharedreports",
49177
- action: "unshare-shared-report",
49178
- title: "Unshare Shared Report Sharedreports",
49179
- description: "Unshare Shared Report Sharedreports.",
49180
- safety: "delete",
49181
- destructive: true,
49182
- cli: {
49183
- group: ["sharedreports"],
49184
- command: "unshare-shared-report",
49185
- interactive: "default"
49186
- },
49187
- mcp: { entityTool: "sharedreports" },
49188
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
49189
- execute: (input, { client }) => {
49190
- const data = input;
49191
- return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
49192
- client.httpClient,
49193
- client.workspaceIdNumber,
49194
- data.id,
49195
- void 0
49196
- ]));
49197
- }
49198
- },
49199
48778
  {
49200
48779
  id: "focus.statuses.create-status",
49201
48780
  family: "focus",
@@ -50238,37 +49817,6 @@ const generatedFocusOperations = [
50238
49817
  return client.createTask(data);
50239
49818
  }
50240
49819
  },
50241
- {
50242
- id: "focus.tasks.create-recurring-occurrence",
50243
- family: "focus",
50244
- resource: "tasks",
50245
- action: "create-recurring-occurrence",
50246
- title: "Create Recurring Occurrence Tasks",
50247
- description: "Create Recurring Occurrence Tasks.",
50248
- safety: "create",
50249
- destructive: false,
50250
- cli: {
50251
- group: ["tasks"],
50252
- command: "create-recurring-occurrence",
50253
- interactive: "default"
50254
- },
50255
- mcp: { entityTool: "tasks" },
50256
- inputSchema: /* @__PURE__ */ looseObject({
50257
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50258
- task_id: /* @__PURE__ */ number$2()
50259
- }),
50260
- execute: (input, { client }) => {
50261
- const data = input;
50262
- return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
50263
- client.httpClient,
50264
- client.organizationId,
50265
- client.workspaceIdNumber,
50266
- data.task_id,
50267
- data.return_occurrence,
50268
- void 0
50269
- ]));
50270
- }
50271
- },
50272
49820
  {
50273
49821
  id: "focus.tasks.delete",
50274
49822
  family: "focus",
@@ -50493,79 +50041,6 @@ const generatedFocusOperations = [
50493
50041
  ]));
50494
50042
  }
50495
50043
  },
50496
- {
50497
- id: "focus.tasks.get-picker-task-children",
50498
- family: "focus",
50499
- resource: "tasks",
50500
- action: "get-picker-task-children",
50501
- title: "Get Picker Task Children Tasks",
50502
- description: "Get Picker Task Children Tasks.",
50503
- safety: "read",
50504
- destructive: false,
50505
- cli: {
50506
- group: ["tasks"],
50507
- command: "get-picker-task-children",
50508
- interactive: "hidden"
50509
- },
50510
- mcp: { entityTool: "tasks" },
50511
- inputSchema: /* @__PURE__ */ looseObject({
50512
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50513
- only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50514
- page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50515
- parent_task_id: /* @__PURE__ */ number$2(),
50516
- per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50517
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50518
- search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50519
- without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50520
- }),
50521
- execute: (input, { client }) => {
50522
- const data = input;
50523
- return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
50524
- client.httpClient,
50525
- client.organizationId,
50526
- client.workspaceIdNumber,
50527
- data.parent_task_id,
50528
- data,
50529
- void 0
50530
- ]));
50531
- }
50532
- },
50533
- {
50534
- id: "focus.tasks.get-picker-task-groups",
50535
- family: "focus",
50536
- resource: "tasks",
50537
- action: "get-picker-task-groups",
50538
- title: "Get Picker Task Groups Tasks",
50539
- description: "Get Picker Task Groups Tasks.",
50540
- safety: "read",
50541
- destructive: false,
50542
- cli: {
50543
- group: ["tasks"],
50544
- command: "get-picker-task-groups",
50545
- interactive: "hidden"
50546
- },
50547
- mcp: { entityTool: "tasks" },
50548
- inputSchema: /* @__PURE__ */ looseObject({
50549
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50550
- only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50551
- page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50552
- per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50553
- pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50554
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50555
- search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50556
- without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50557
- }),
50558
- execute: (input, { client }) => {
50559
- const data = input;
50560
- return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
50561
- client.httpClient,
50562
- client.organizationId,
50563
- client.workspaceIdNumber,
50564
- data,
50565
- void 0
50566
- ]));
50567
- }
50568
- },
50569
50044
  {
50570
50045
  id: "focus.tasks.get-recurring-instances",
50571
50046
  family: "focus",
@@ -50589,13 +50064,9 @@ const generatedFocusOperations = [
50589
50064
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50590
50065
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50591
50066
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50592
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50593
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50594
50067
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50595
50068
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50596
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50597
50069
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50598
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50599
50070
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50600
50071
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50601
50072
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -50641,14 +50112,13 @@ const generatedFocusOperations = [
50641
50112
  estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50642
50113
  estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50643
50114
  has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50115
+ has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50644
50116
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50645
50117
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50646
50118
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50647
50119
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50648
50120
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50649
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50650
50121
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50651
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50652
50122
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50653
50123
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50654
50124
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -50657,9 +50127,7 @@ const generatedFocusOperations = [
50657
50127
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50658
50128
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50659
50129
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50660
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50661
50130
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50662
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50663
50131
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50664
50132
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50665
50133
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50668,6 +50136,8 @@ const generatedFocusOperations = [
50668
50136
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50669
50137
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50670
50138
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50139
+ time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50140
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50671
50141
  toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50672
50142
  with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50673
50143
  }),
@@ -50795,10 +50265,8 @@ const generatedFocusOperations = [
50795
50265
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50796
50266
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50797
50267
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50798
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50799
50268
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50800
50269
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50801
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50802
50270
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50803
50271
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50804
50272
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50807,8 +50275,6 @@ const generatedFocusOperations = [
50807
50275
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50808
50276
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50809
50277
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50810
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50811
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50812
50278
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50813
50279
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50814
50280
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50817,8 +50283,7 @@ const generatedFocusOperations = [
50817
50283
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50818
50284
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50819
50285
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50820
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50821
- xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50286
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50822
50287
  }),
50823
50288
  execute: (input, { client }) => {
50824
50289
  const data = input;
@@ -50860,17 +50325,13 @@ const generatedFocusOperations = [
50860
50325
  group_id: /* @__PURE__ */ number$2(),
50861
50326
  include_assignees: /* @__PURE__ */ unknown$1(),
50862
50327
  include_drafts: /* @__PURE__ */ unknown$1(),
50863
- include_projected_occurrences: /* @__PURE__ */ unknown$1(),
50864
50328
  include_unassigned: /* @__PURE__ */ unknown$1(),
50865
50329
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
50866
- max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
50867
50330
  min_days: /* @__PURE__ */ unknown$1(),
50868
50331
  name: /* @__PURE__ */ unknown$1(),
50869
50332
  priority: /* @__PURE__ */ unknown$1(),
50870
50333
  private_: /* @__PURE__ */ unknown$1(),
50871
50334
  project_id: /* @__PURE__ */ number$2(),
50872
- recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
50873
- recurring_task_read: /* @__PURE__ */ unknown$1(),
50874
50335
  source: /* @__PURE__ */ unknown$1(),
50875
50336
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
50876
50337
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -50879,8 +50340,7 @@ const generatedFocusOperations = [
50879
50340
  tag_id: /* @__PURE__ */ number$2(),
50880
50341
  team_id: /* @__PURE__ */ number$2(),
50881
50342
  user_cf_filter: /* @__PURE__ */ unknown$1(),
50882
- user_tag_id: /* @__PURE__ */ number$2(),
50883
- xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
50343
+ user_tag_id: /* @__PURE__ */ number$2()
50884
50344
  }),
50885
50345
  execute: (input, { client }) => {
50886
50346
  const data = input;
@@ -50921,17 +50381,13 @@ const generatedFocusOperations = [
50921
50381
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50922
50382
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50923
50383
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50924
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50925
50384
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50926
50385
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50927
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50928
50386
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50929
50387
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50930
50388
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50931
50389
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50932
50390
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50933
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50934
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50935
50391
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50936
50392
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50937
50393
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50940,8 +50396,7 @@ const generatedFocusOperations = [
50940
50396
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50941
50397
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50942
50398
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50943
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50944
- xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50399
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50945
50400
  }),
50946
50401
  execute: (input, { client }) => {
50947
50402
  const data = input;
@@ -51185,45 +50640,508 @@ const generatedFocusOperations = [
51185
50640
  }),
51186
50641
  execute: (input, { client }) => {
51187
50642
  const data = input;
51188
- return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
50643
+ return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
50644
+ client.httpClient,
50645
+ client.organizationId,
50646
+ client.workspaceIdNumber,
50647
+ data.task_id,
50648
+ data.payload ?? data.data ?? data,
50649
+ void 0
50650
+ ]));
50651
+ }
50652
+ },
50653
+ {
50654
+ id: "focus.tasks.update-calendar-range",
50655
+ family: "focus",
50656
+ resource: "tasks",
50657
+ action: "update-calendar-range",
50658
+ title: "Update Calendar Range Tasks",
50659
+ description: "Update Calendar Range Tasks.",
50660
+ safety: "update",
50661
+ destructive: false,
50662
+ cli: {
50663
+ group: ["tasks"],
50664
+ command: "update-calendar-range",
50665
+ interactive: "default"
50666
+ },
50667
+ mcp: { entityTool: "tasks" },
50668
+ inputSchema: /* @__PURE__ */ looseObject({
50669
+ date_from: /* @__PURE__ */ string$1(),
50670
+ date_to: /* @__PURE__ */ string$1()
50671
+ }),
50672
+ execute: (input, { client }) => {
50673
+ const data = input;
50674
+ return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
50675
+ client.httpClient,
50676
+ client.organizationId,
50677
+ client.workspaceIdNumber,
50678
+ data.date_from,
50679
+ data.date_to,
50680
+ void 0
50681
+ ]));
50682
+ }
50683
+ },
50684
+ {
50685
+ id: "focus.time-blocks.archive",
50686
+ family: "focus",
50687
+ resource: "time-blocks",
50688
+ action: "archive",
50689
+ title: "Archive Time Blocks",
50690
+ description: "Archive Time Blocks.",
50691
+ safety: "update",
50692
+ destructive: false,
50693
+ cli: {
50694
+ group: ["time-blocks"],
50695
+ command: "archive",
50696
+ interactive: "default"
50697
+ },
50698
+ mcp: { entityTool: "time-blocks" },
50699
+ inputSchema: /* @__PURE__ */ looseObject({
50700
+ task_id: /* @__PURE__ */ number$2(),
50701
+ time_block_id: /* @__PURE__ */ number$2()
50702
+ }),
50703
+ execute: (input, { client }) => {
50704
+ const data = input;
50705
+ return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
50706
+ client.httpClient,
50707
+ client.organizationId,
50708
+ client.workspaceIdNumber,
50709
+ data.task_id,
50710
+ data.time_block_id,
50711
+ void 0
50712
+ ]));
50713
+ }
50714
+ },
50715
+ {
50716
+ id: "focus.time-blocks.bulk-create",
50717
+ family: "focus",
50718
+ resource: "time-blocks",
50719
+ action: "bulk-create",
50720
+ title: "Bulk Create Time Blocks",
50721
+ description: "Bulk Create Time Blocks.",
50722
+ safety: "create",
50723
+ destructive: false,
50724
+ cli: {
50725
+ group: ["time-blocks", "bulk"],
50726
+ command: "create",
50727
+ interactive: "default"
50728
+ },
50729
+ mcp: { entityTool: "time-blocks" },
50730
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
50731
+ start: apiDateTimeString,
50732
+ task_id: /* @__PURE__ */ number$2(),
50733
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50734
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50735
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
50736
+ })) }) }),
50737
+ execute: (input, { client }) => {
50738
+ const data = input;
50739
+ return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
50740
+ client.httpClient,
50741
+ client.organizationId,
50742
+ client.workspaceIdNumber,
50743
+ data.payload ?? data.data ?? data,
50744
+ void 0
50745
+ ]));
50746
+ }
50747
+ },
50748
+ {
50749
+ id: "focus.time-blocks.bulk-delete",
50750
+ family: "focus",
50751
+ resource: "time-blocks",
50752
+ action: "bulk-delete",
50753
+ title: "Bulk Delete Time Blocks",
50754
+ description: "Bulk Delete Time Blocks.",
50755
+ safety: "delete",
50756
+ destructive: true,
50757
+ cli: {
50758
+ group: ["time-blocks", "bulk"],
50759
+ command: "delete",
50760
+ interactive: "default"
50761
+ },
50762
+ mcp: { entityTool: "time-blocks" },
50763
+ inputSchema: /* @__PURE__ */ looseObject({
50764
+ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
50765
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
50766
+ }),
50767
+ execute: (input, { client }) => {
50768
+ const data = input;
50769
+ return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
50770
+ client.httpClient,
50771
+ client.organizationId,
50772
+ client.workspaceIdNumber,
50773
+ data.ids,
50774
+ data.outbound_sync,
50775
+ void 0
50776
+ ]));
50777
+ }
50778
+ },
50779
+ {
50780
+ id: "focus.time-blocks.bulk-partial-update",
50781
+ family: "focus",
50782
+ resource: "time-blocks",
50783
+ action: "bulk-partial-update",
50784
+ title: "Bulk Partial Update Time Blocks",
50785
+ description: "Bulk Partial Update Time Blocks.",
50786
+ safety: "update",
50787
+ destructive: false,
50788
+ cli: {
50789
+ group: ["time-blocks", "bulk"],
50790
+ command: "partial-update",
50791
+ interactive: "hidden"
50792
+ },
50793
+ mcp: { entityTool: "time-blocks" },
50794
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
50795
+ execute: (input, { client }) => {
50796
+ const data = input;
50797
+ return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
50798
+ client.httpClient,
50799
+ client.organizationId,
50800
+ client.workspaceIdNumber,
50801
+ data.payload ?? data.data ?? data,
50802
+ void 0
50803
+ ]));
50804
+ }
50805
+ },
50806
+ {
50807
+ id: "focus.time-blocks.create",
50808
+ family: "focus",
50809
+ resource: "time-blocks",
50810
+ action: "create",
50811
+ title: "Create Time Blocks",
50812
+ description: "Create Time Blocks.",
50813
+ safety: "create",
50814
+ destructive: false,
50815
+ cli: {
50816
+ group: ["time-blocks"],
50817
+ command: "create",
50818
+ interactive: "default"
50819
+ },
50820
+ mcp: { entityTool: "time-blocks" },
50821
+ inputSchema: /* @__PURE__ */ looseObject({
50822
+ payload: /* @__PURE__ */ looseObject({
50823
+ start: apiDateTimeString,
50824
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50825
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50826
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
50827
+ }),
50828
+ task_id: /* @__PURE__ */ number$2()
50829
+ }),
50830
+ execute: (input, { client }) => {
50831
+ const data = input;
50832
+ return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
50833
+ client.httpClient,
50834
+ client.organizationId,
50835
+ client.workspaceIdNumber,
50836
+ data.task_id,
50837
+ data.payload ?? data.data ?? data,
50838
+ void 0
50839
+ ]));
50840
+ }
50841
+ },
50842
+ {
50843
+ id: "focus.time-blocks.delete",
50844
+ family: "focus",
50845
+ resource: "time-blocks",
50846
+ action: "delete",
50847
+ title: "Delete Time Blocks",
50848
+ description: "Delete Time Blocks.",
50849
+ safety: "delete",
50850
+ destructive: true,
50851
+ cli: {
50852
+ group: ["time-blocks"],
50853
+ command: "delete",
50854
+ interactive: "default"
50855
+ },
50856
+ mcp: { entityTool: "time-blocks" },
50857
+ inputSchema: /* @__PURE__ */ looseObject({
50858
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50859
+ task_id: /* @__PURE__ */ number$2(),
50860
+ time_block_id: /* @__PURE__ */ number$2()
50861
+ }),
50862
+ execute: (input, { client }) => {
50863
+ const data = input;
50864
+ return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
50865
+ client.httpClient,
50866
+ client.organizationId,
50867
+ client.workspaceIdNumber,
50868
+ data.task_id,
50869
+ data.time_block_id,
50870
+ data.outbound_sync,
50871
+ void 0
50872
+ ]));
50873
+ }
50874
+ },
50875
+ {
50876
+ id: "focus.time-blocks.get",
50877
+ family: "focus",
50878
+ resource: "time-blocks",
50879
+ action: "get",
50880
+ title: "Get Time Blocks",
50881
+ description: "Get Time Blocks.",
50882
+ safety: "read",
50883
+ destructive: false,
50884
+ cli: {
50885
+ group: ["time-blocks"],
50886
+ command: "get",
50887
+ interactive: "available"
50888
+ },
50889
+ mcp: { entityTool: "time-blocks" },
50890
+ inputSchema: /* @__PURE__ */ looseObject({
50891
+ task_id: /* @__PURE__ */ number$2(),
50892
+ time_block_id: /* @__PURE__ */ number$2()
50893
+ }),
50894
+ execute: (input, { client }) => {
50895
+ const data = input;
50896
+ return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
50897
+ client.httpClient,
50898
+ client.organizationId,
50899
+ client.workspaceIdNumber,
50900
+ data.task_id,
50901
+ data.time_block_id,
50902
+ void 0
50903
+ ]));
50904
+ }
50905
+ },
50906
+ {
50907
+ id: "focus.time-blocks.get-range",
50908
+ family: "focus",
50909
+ resource: "time-blocks",
50910
+ action: "get-range",
50911
+ title: "Get Range Time Blocks",
50912
+ description: "Get Range Time Blocks.",
50913
+ safety: "read",
50914
+ destructive: false,
50915
+ cli: {
50916
+ group: ["time-blocks"],
50917
+ command: "get-range",
50918
+ interactive: "hidden"
50919
+ },
50920
+ mcp: { entityTool: "time-blocks" },
50921
+ inputSchema: /* @__PURE__ */ looseObject({
50922
+ archived: /* @__PURE__ */ unknown$1(),
50923
+ date_from: /* @__PURE__ */ unknown$1(),
50924
+ date_to: /* @__PURE__ */ unknown$1(),
50925
+ order_by: /* @__PURE__ */ unknown$1(),
50926
+ page: /* @__PURE__ */ number$2(),
50927
+ per_page: /* @__PURE__ */ unknown$1(),
50928
+ status_id: /* @__PURE__ */ number$2(),
50929
+ task_id: /* @__PURE__ */ number$2()
50930
+ }),
50931
+ execute: (input, { client }) => {
50932
+ const data = input;
50933
+ return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
50934
+ client.httpClient,
50935
+ client.organizationId,
50936
+ client.workspaceIdNumber,
50937
+ data,
50938
+ void 0
50939
+ ]));
50940
+ }
50941
+ },
50942
+ {
50943
+ id: "focus.time-blocks.get-range-stream",
50944
+ family: "focus",
50945
+ resource: "time-blocks",
50946
+ action: "get-range-stream",
50947
+ title: "Get Range Stream Time Blocks",
50948
+ description: "Get Range Stream Time Blocks.",
50949
+ safety: "read",
50950
+ destructive: false,
50951
+ cli: {
50952
+ group: ["time-blocks"],
50953
+ command: "get-range-stream",
50954
+ interactive: "hidden"
50955
+ },
50956
+ mcp: { entityTool: "time-blocks" },
50957
+ inputSchema: /* @__PURE__ */ looseObject({
50958
+ archived: /* @__PURE__ */ unknown$1(),
50959
+ date_from: /* @__PURE__ */ unknown$1(),
50960
+ date_to: /* @__PURE__ */ unknown$1(),
50961
+ order_by: /* @__PURE__ */ unknown$1(),
50962
+ status_id: /* @__PURE__ */ number$2(),
50963
+ task_id: /* @__PURE__ */ number$2()
50964
+ }),
50965
+ execute: (input, { client }) => {
50966
+ const data = input;
50967
+ return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
50968
+ client.httpClient,
50969
+ client.organizationId,
50970
+ client.workspaceIdNumber,
50971
+ data,
50972
+ void 0
50973
+ ]));
50974
+ }
50975
+ },
50976
+ {
50977
+ id: "focus.time-blocks.get-task-time-blocks",
50978
+ family: "focus",
50979
+ resource: "time-blocks",
50980
+ action: "get-task-time-blocks",
50981
+ title: "Get Task Time Blocks Time Blocks",
50982
+ description: "Get Task Time Blocks Time Blocks.",
50983
+ safety: "read",
50984
+ destructive: false,
50985
+ cli: {
50986
+ group: ["time-blocks"],
50987
+ command: "get-task-time-blocks",
50988
+ interactive: "hidden"
50989
+ },
50990
+ mcp: { entityTool: "time-blocks" },
50991
+ inputSchema: /* @__PURE__ */ looseObject({
50992
+ archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50993
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50994
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50995
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50996
+ task_id: /* @__PURE__ */ number$2()
50997
+ }),
50998
+ execute: (input, { client }) => {
50999
+ const data = input;
51000
+ return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
51001
+ client.httpClient,
51002
+ client.organizationId,
51003
+ client.workspaceIdNumber,
51004
+ data.task_id,
51005
+ data,
51006
+ void 0
51007
+ ]));
51008
+ }
51009
+ },
51010
+ {
51011
+ id: "focus.time-blocks.partial-update",
51012
+ family: "focus",
51013
+ resource: "time-blocks",
51014
+ action: "partial-update",
51015
+ title: "Partial Update Time Blocks",
51016
+ description: "Partial Update Time Blocks.",
51017
+ safety: "update",
51018
+ destructive: false,
51019
+ cli: {
51020
+ group: ["time-blocks"],
51021
+ command: "partial-update",
51022
+ interactive: "default"
51023
+ },
51024
+ mcp: { entityTool: "time-blocks" },
51025
+ inputSchema: /* @__PURE__ */ looseObject({
51026
+ payload: /* @__PURE__ */ looseObject({
51027
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51028
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51029
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51030
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
51031
+ task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51032
+ }),
51033
+ task_id: /* @__PURE__ */ number$2(),
51034
+ time_block_id: /* @__PURE__ */ number$2()
51035
+ }),
51036
+ execute: (input, { client }) => {
51037
+ const data = input;
51038
+ return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
51039
+ client.httpClient,
51040
+ client.organizationId,
51041
+ client.workspaceIdNumber,
51042
+ data.task_id,
51043
+ data.time_block_id,
51044
+ data.payload ?? data.data ?? data,
51045
+ void 0
51046
+ ]));
51047
+ }
51048
+ },
51049
+ {
51050
+ id: "focus.time-blocks.restore",
51051
+ family: "focus",
51052
+ resource: "time-blocks",
51053
+ action: "restore",
51054
+ title: "Restore Time Blocks",
51055
+ description: "Restore Time Blocks.",
51056
+ safety: "update",
51057
+ destructive: false,
51058
+ cli: {
51059
+ group: ["time-blocks"],
51060
+ command: "restore",
51061
+ interactive: "default"
51062
+ },
51063
+ mcp: { entityTool: "time-blocks" },
51064
+ inputSchema: /* @__PURE__ */ looseObject({
51065
+ task_id: /* @__PURE__ */ number$2(),
51066
+ time_block_id: /* @__PURE__ */ number$2()
51067
+ }),
51068
+ execute: (input, { client }) => {
51069
+ const data = input;
51070
+ return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
51071
+ client.httpClient,
51072
+ client.organizationId,
51073
+ client.workspaceIdNumber,
51074
+ data.task_id,
51075
+ data.time_block_id,
51076
+ void 0
51077
+ ]));
51078
+ }
51079
+ },
51080
+ {
51081
+ id: "focus.time-blocks.unarchive",
51082
+ family: "focus",
51083
+ resource: "time-blocks",
51084
+ action: "unarchive",
51085
+ title: "Unarchive Time Blocks",
51086
+ description: "Unarchive Time Blocks.",
51087
+ safety: "update",
51088
+ destructive: false,
51089
+ cli: {
51090
+ group: ["time-blocks"],
51091
+ command: "unarchive",
51092
+ interactive: "default"
51093
+ },
51094
+ mcp: { entityTool: "time-blocks" },
51095
+ inputSchema: /* @__PURE__ */ looseObject({
51096
+ task_id: /* @__PURE__ */ number$2(),
51097
+ time_block_id: /* @__PURE__ */ number$2()
51098
+ }),
51099
+ execute: (input, { client }) => {
51100
+ const data = input;
51101
+ return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
51189
51102
  client.httpClient,
51190
51103
  client.organizationId,
51191
51104
  client.workspaceIdNumber,
51192
51105
  data.task_id,
51193
- data.payload ?? data.data ?? data,
51106
+ data.time_block_id,
51194
51107
  void 0
51195
51108
  ]));
51196
51109
  }
51197
51110
  },
51198
51111
  {
51199
- id: "focus.tasks.update-calendar-range",
51112
+ id: "focus.time-blocks.update",
51200
51113
  family: "focus",
51201
- resource: "tasks",
51202
- action: "update-calendar-range",
51203
- title: "Update Calendar Range Tasks",
51204
- description: "Update Calendar Range Tasks.",
51114
+ resource: "time-blocks",
51115
+ action: "update",
51116
+ title: "Update Time Blocks",
51117
+ description: "Update Time Blocks.",
51205
51118
  safety: "update",
51206
51119
  destructive: false,
51207
51120
  cli: {
51208
- group: ["tasks"],
51209
- command: "update-calendar-range",
51121
+ group: ["time-blocks"],
51122
+ command: "update",
51210
51123
  interactive: "default"
51211
51124
  },
51212
- mcp: { entityTool: "tasks" },
51125
+ mcp: { entityTool: "time-blocks" },
51213
51126
  inputSchema: /* @__PURE__ */ looseObject({
51214
- date_from: /* @__PURE__ */ string$1(),
51215
- date_to: /* @__PURE__ */ string$1(),
51216
- skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51127
+ payload: /* @__PURE__ */ looseObject({
51128
+ start: apiDateTimeString,
51129
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51130
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51131
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51132
+ }),
51133
+ task_id: /* @__PURE__ */ number$2(),
51134
+ time_block_id: /* @__PURE__ */ number$2()
51217
51135
  }),
51218
51136
  execute: (input, { client }) => {
51219
51137
  const data = input;
51220
- return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
51138
+ return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
51221
51139
  client.httpClient,
51222
51140
  client.organizationId,
51223
51141
  client.workspaceIdNumber,
51224
- data.date_from,
51225
- data.date_to,
51226
- data.skip_provider_refresh,
51142
+ data.task_id,
51143
+ data.time_block_id,
51144
+ data.payload ?? data.data ?? data,
51227
51145
  void 0
51228
51146
  ]));
51229
51147
  }
@@ -51443,8 +51361,7 @@ const generatedFocusOperations = [
51443
51361
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
51444
51362
  "project",
51445
51363
  "task",
51446
- "description",
51447
- "tags"
51364
+ "description"
51448
51365
  ]) })),
51449
51366
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51450
51367
  }) }),
@@ -51474,7 +51391,6 @@ const generatedFocusOperations = [
51474
51391
  },
51475
51392
  mcp: { entityTool: "time-entries" },
51476
51393
  inputSchema: /* @__PURE__ */ looseObject({
51477
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51478
51394
  payload: /* @__PURE__ */ looseObject({
51479
51395
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51480
51396
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -51485,12 +51401,11 @@ const generatedFocusOperations = [
51485
51401
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51486
51402
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51487
51403
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51488
- repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51489
51404
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
51405
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51490
51406
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51491
51407
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51492
51408
  }),
51493
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51494
51409
  task_id: /* @__PURE__ */ number$2()
51495
51410
  }),
51496
51411
  execute: (input, { client }) => {
@@ -51501,8 +51416,6 @@ const generatedFocusOperations = [
51501
51416
  client.workspaceIdNumber,
51502
51417
  data.task_id,
51503
51418
  data.payload ?? data.data ?? data,
51504
- data.from_recurring_task_id,
51505
- data.return_occurrence,
51506
51419
  void 0
51507
51420
  ]));
51508
51421
  }
@@ -51522,25 +51435,21 @@ const generatedFocusOperations = [
51522
51435
  interactive: "default"
51523
51436
  },
51524
51437
  mcp: { entityTool: "time-entries" },
51525
- inputSchema: /* @__PURE__ */ looseObject({
51526
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51527
- payload: /* @__PURE__ */ looseObject({
51528
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51529
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51530
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51531
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51532
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51533
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51534
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51535
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51536
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51537
- repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51538
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
51539
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51540
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51541
- }),
51542
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51543
- }),
51438
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
51439
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51440
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51441
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51442
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51443
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51444
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51445
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51446
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51447
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51448
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
51449
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51450
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51451
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51452
+ }) }),
51544
51453
  execute: (input, { client }) => {
51545
51454
  const data = input;
51546
51455
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -51548,8 +51457,6 @@ const generatedFocusOperations = [
51548
51457
  client.organizationId,
51549
51458
  client.workspaceIdNumber,
51550
51459
  data.payload ?? data.data ?? data,
51551
- data.from_recurring_task_id,
51552
- data.return_occurrence,
51553
51460
  void 0
51554
51461
  ]));
51555
51462
  }
@@ -51569,11 +51476,7 @@ const generatedFocusOperations = [
51569
51476
  interactive: "default"
51570
51477
  },
51571
51478
  mcp: { entityTool: "time-entries" },
51572
- inputSchema: /* @__PURE__ */ looseObject({
51573
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51574
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51575
- time_entry_id: /* @__PURE__ */ number$2()
51576
- }),
51479
+ inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
51577
51480
  execute: (input, { client }) => {
51578
51481
  const data = input;
51579
51482
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -51581,8 +51484,6 @@ const generatedFocusOperations = [
51581
51484
  client.organizationId,
51582
51485
  client.workspaceIdNumber,
51583
51486
  data.time_entry_id,
51584
- data.from_recurring_task_id,
51585
- data.return_occurrence,
51586
51487
  void 0
51587
51488
  ]));
51588
51489
  }
@@ -51663,7 +51564,6 @@ const generatedFocusOperations = [
51663
51564
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
51664
51565
  include_taskless: /* @__PURE__ */ unknown$1(),
51665
51566
  order_by: /* @__PURE__ */ unknown$1(),
51666
- project_id: /* @__PURE__ */ number$2(),
51667
51567
  status_id: /* @__PURE__ */ number$2(),
51668
51568
  task_id: /* @__PURE__ */ number$2(),
51669
51569
  type: /* @__PURE__ */ unknown$1()
@@ -51679,6 +51579,33 @@ const generatedFocusOperations = [
51679
51579
  ]));
51680
51580
  }
51681
51581
  },
51582
+ {
51583
+ id: "focus.time-entries.get-stream-time-entries-time-block-ids",
51584
+ family: "focus",
51585
+ resource: "time-entries",
51586
+ action: "get-stream-time-entries-time-block-ids",
51587
+ title: "Get Stream Time Entries Time Block Ids Time Entries",
51588
+ description: "Get Stream Time Entries Time Block Ids Time Entries.",
51589
+ safety: "read",
51590
+ destructive: false,
51591
+ cli: {
51592
+ group: ["time-entries"],
51593
+ command: "get-stream-time-entries-time-block-ids",
51594
+ interactive: "available"
51595
+ },
51596
+ mcp: { entityTool: "time-entries" },
51597
+ inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
51598
+ execute: (input, { client }) => {
51599
+ const data = input;
51600
+ return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
51601
+ client.httpClient,
51602
+ client.organizationId,
51603
+ client.workspaceIdNumber,
51604
+ data,
51605
+ void 0
51606
+ ]));
51607
+ }
51608
+ },
51682
51609
  {
51683
51610
  id: "focus.time-entries.get-task-time-entries",
51684
51611
  family: "focus",
@@ -51700,6 +51627,7 @@ const generatedFocusOperations = [
51700
51627
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51701
51628
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51702
51629
  task_id: /* @__PURE__ */ number$2(),
51630
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51703
51631
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
51704
51632
  }),
51705
51633
  execute: (input, { client }) => {
@@ -51812,14 +51740,12 @@ const generatedFocusOperations = [
51812
51740
  },
51813
51741
  mcp: { entityTool: "time-entries" },
51814
51742
  inputSchema: /* @__PURE__ */ looseObject({
51815
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51816
51743
  payload: /* @__PURE__ */ looseObject({
51817
51744
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51818
51745
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51819
51746
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51820
51747
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
51821
51748
  }),
51822
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51823
51749
  time_entry_id: /* @__PURE__ */ number$2()
51824
51750
  }),
51825
51751
  execute: (input, { client }) => {
@@ -51830,8 +51756,6 @@ const generatedFocusOperations = [
51830
51756
  client.workspaceIdNumber,
51831
51757
  data.time_entry_id,
51832
51758
  data.payload ?? data.data ?? data,
51833
- data.from_recurring_task_id,
51834
- data.return_occurrence,
51835
51759
  void 0
51836
51760
  ]));
51837
51761
  }
@@ -52089,7 +52013,6 @@ const generatedFocusOperations = [
52089
52013
  },
52090
52014
  mcp: { entityTool: "time-entries" },
52091
52015
  inputSchema: /* @__PURE__ */ looseObject({
52092
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52093
52016
  payload: /* @__PURE__ */ looseObject({
52094
52017
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
52095
52018
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -52099,9 +52022,9 @@ const generatedFocusOperations = [
52099
52022
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52100
52023
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52101
52024
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
52025
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52102
52026
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
52103
52027
  }),
52104
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52105
52028
  time_entry_id: /* @__PURE__ */ number$2()
52106
52029
  }),
52107
52030
  execute: (input, { client }) => {
@@ -52112,8 +52035,6 @@ const generatedFocusOperations = [
52112
52035
  client.workspaceIdNumber,
52113
52036
  data.time_entry_id,
52114
52037
  data.payload ?? data.data ?? data,
52115
- data.from_recurring_task_id,
52116
- data.return_occurrence,
52117
52038
  void 0
52118
52039
  ]));
52119
52040
  }
@@ -52178,118 +52099,6 @@ const generatedFocusOperations = [
52178
52099
  ]));
52179
52100
  }
52180
52101
  },
52181
- {
52182
- id: "focus.time-off.get-timeoff-balance-changes-for-user",
52183
- family: "focus",
52184
- resource: "time-off",
52185
- action: "get-timeoff-balance-changes-for-user",
52186
- title: "Get Timeoff Balance Changes For User Time Off",
52187
- description: "Get Timeoff Balance Changes For User Time Off.",
52188
- safety: "read",
52189
- destructive: false,
52190
- cli: {
52191
- group: ["time-off"],
52192
- command: "get-timeoff-balance-changes-for-user",
52193
- interactive: "hidden"
52194
- },
52195
- mcp: { entityTool: "time-off" },
52196
- inputSchema: /* @__PURE__ */ looseObject({
52197
- category_id: /* @__PURE__ */ number$2(),
52198
- page: /* @__PURE__ */ number$2(),
52199
- rows: /* @__PURE__ */ unknown$1(),
52200
- user_id: /* @__PURE__ */ number$2(),
52201
- year: /* @__PURE__ */ unknown$1()
52202
- }),
52203
- execute: (input, { client }) => {
52204
- const data = input;
52205
- return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
52206
- client.httpClient,
52207
- client.organizationId,
52208
- data.user_id,
52209
- data,
52210
- void 0
52211
- ]));
52212
- }
52213
- },
52214
- {
52215
- id: "focus.time-off.get-timeoff-balances-for-user",
52216
- family: "focus",
52217
- resource: "time-off",
52218
- action: "get-timeoff-balances-for-user",
52219
- title: "Get Timeoff Balances For User Time Off",
52220
- description: "Get Timeoff Balances For User Time Off.",
52221
- safety: "read",
52222
- destructive: false,
52223
- cli: {
52224
- group: ["time-off"],
52225
- command: "get-timeoff-balances-for-user",
52226
- interactive: "available"
52227
- },
52228
- mcp: { entityTool: "time-off" },
52229
- inputSchema: /* @__PURE__ */ looseObject({
52230
- category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52231
- date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
52232
- user_id: /* @__PURE__ */ number$2()
52233
- }),
52234
- execute: (input, { client }) => {
52235
- const data = input;
52236
- return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
52237
- client.httpClient,
52238
- client.organizationId,
52239
- data.user_id,
52240
- data,
52241
- void 0
52242
- ]));
52243
- }
52244
- },
52245
- {
52246
- id: "focus.time-off.get-timeoff-categories",
52247
- family: "focus",
52248
- resource: "time-off",
52249
- action: "get-timeoff-categories",
52250
- title: "Get Timeoff Categories Time Off",
52251
- description: "Get Timeoff Categories Time Off.",
52252
- safety: "read",
52253
- destructive: false,
52254
- cli: {
52255
- group: ["time-off"],
52256
- command: "get-timeoff-categories",
52257
- interactive: "hidden"
52258
- },
52259
- mcp: { entityTool: "time-off" },
52260
- inputSchema: /* @__PURE__ */ looseObject({}),
52261
- execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
52262
- client.httpClient,
52263
- client.organizationId,
52264
- void 0
52265
- ]))
52266
- },
52267
- {
52268
- id: "focus.time-off.get-timeoff-category",
52269
- family: "focus",
52270
- resource: "time-off",
52271
- action: "get-timeoff-category",
52272
- title: "Get Timeoff Category Time Off",
52273
- description: "Get Timeoff Category Time Off.",
52274
- safety: "read",
52275
- destructive: false,
52276
- cli: {
52277
- group: ["time-off"],
52278
- command: "get-timeoff-category",
52279
- interactive: "available"
52280
- },
52281
- mcp: { entityTool: "time-off" },
52282
- inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
52283
- execute: (input, { client }) => {
52284
- const data = input;
52285
- return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
52286
- client.httpClient,
52287
- client.organizationId,
52288
- data.category_id,
52289
- void 0
52290
- ]));
52291
- }
52292
- },
52293
52102
  {
52294
52103
  id: "focus.time-off.get-timeoff-for-user",
52295
52104
  family: "focus",
@@ -52741,40 +52550,6 @@ const generatedFocusOperations = [
52741
52550
  ]));
52742
52551
  }
52743
52552
  },
52744
- {
52745
- id: "focus.timesheets.get-status-counts",
52746
- family: "focus",
52747
- resource: "timesheets",
52748
- action: "get-status-counts",
52749
- title: "Get Status Counts Timesheets",
52750
- description: "Get Status Counts Timesheets.",
52751
- safety: "read",
52752
- destructive: false,
52753
- cli: {
52754
- group: ["timesheets"],
52755
- command: "get-status-counts",
52756
- interactive: "hidden"
52757
- },
52758
- mcp: { entityTool: "timesheets" },
52759
- inputSchema: /* @__PURE__ */ looseObject({
52760
- approver_user_account_ids: /* @__PURE__ */ unknown$1(),
52761
- date_from: /* @__PURE__ */ unknown$1(),
52762
- date_to: /* @__PURE__ */ unknown$1(),
52763
- setup_id: /* @__PURE__ */ number$2(),
52764
- team_ids: /* @__PURE__ */ unknown$1(),
52765
- user_account_ids: /* @__PURE__ */ unknown$1()
52766
- }),
52767
- execute: (input, { client }) => {
52768
- const data = input;
52769
- return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
52770
- client.httpClient,
52771
- client.organizationId,
52772
- client.workspaceIdNumber,
52773
- data,
52774
- void 0
52775
- ]));
52776
- }
52777
- },
52778
52553
  {
52779
52554
  id: "focus.timesheets.remove-timesheet-flag",
52780
52555
  family: "focus",
@@ -53324,33 +53099,6 @@ const generatedFocusOperations = [
53324
53099
  ]));
53325
53100
  }
53326
53101
  },
53327
- {
53328
- id: "focus.track-team-invites.post",
53329
- family: "focus",
53330
- resource: "track-team-invites",
53331
- action: "post",
53332
- title: "Post Track Team Invites",
53333
- description: "Post Track Team Invites.",
53334
- safety: "create",
53335
- destructive: false,
53336
- cli: {
53337
- group: ["track-team-invites"],
53338
- command: "post",
53339
- interactive: "default"
53340
- },
53341
- mcp: { entityTool: "track-team-invites" },
53342
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
53343
- execute: (input, { client }) => {
53344
- const data = input;
53345
- return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
53346
- client.httpClient,
53347
- client.organizationId,
53348
- client.workspaceIdNumber,
53349
- data.payload ?? data.data ?? data,
53350
- void 0
53351
- ]));
53352
- }
53353
- },
53354
53102
  {
53355
53103
  id: "focus.users.list",
53356
53104
  family: "focus",
@@ -53372,56 +53120,6 @@ const generatedFocusOperations = [
53372
53120
  return client.listOrgUsers(data);
53373
53121
  }
53374
53122
  },
53375
- {
53376
- id: "focus.users.settings-email-unsubscribe",
53377
- family: "focus",
53378
- resource: "users",
53379
- action: "settings-email-unsubscribe",
53380
- title: "Settings Email Unsubscribe Users",
53381
- description: "Settings Email Unsubscribe Users.",
53382
- safety: "update",
53383
- destructive: false,
53384
- cli: {
53385
- group: ["users", "settings"],
53386
- command: "email-unsubscribe",
53387
- interactive: "default"
53388
- },
53389
- mcp: { entityTool: "users" },
53390
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53391
- execute: (input, { client }) => {
53392
- const data = input;
53393
- return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
53394
- client.httpClient,
53395
- data.token,
53396
- void 0
53397
- ]));
53398
- }
53399
- },
53400
- {
53401
- id: "focus.users.settings-email-unsubscribe-page",
53402
- family: "focus",
53403
- resource: "users",
53404
- action: "settings-email-unsubscribe-page",
53405
- title: "Settings Email Unsubscribe Page Users",
53406
- description: "Settings Email Unsubscribe Page Users.",
53407
- safety: "read",
53408
- destructive: false,
53409
- cli: {
53410
- group: ["users", "settings"],
53411
- command: "email-unsubscribe-page",
53412
- interactive: "available"
53413
- },
53414
- mcp: { entityTool: "users" },
53415
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53416
- execute: (input, { client }) => {
53417
- const data = input;
53418
- return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
53419
- client.httpClient,
53420
- data.token,
53421
- void 0
53422
- ]));
53423
- }
53424
- },
53425
53123
  {
53426
53124
  id: "focus.users.settings-list",
53427
53125
  family: "focus",
@@ -53483,9 +53181,6 @@ const generatedFocusOperations = [
53483
53181
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53484
53182
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53485
53183
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53486
- notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53487
- notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53488
- notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53489
53184
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53490
53185
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53491
53186
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -55028,7 +54723,7 @@ function registerWorkspaceTools(server) {
55028
54723
  //#region src/package-version.ts
55029
54724
  function mcpPackageVersion() {
55030
54725
  try {
55031
- return "1.11.70";
54726
+ return "1.11.72";
55032
54727
  } catch {
55033
54728
  return "unknown";
55034
54729
  }
@@ -55203,7 +54898,7 @@ import_main.default.config({
55203
54898
  quiet: true,
55204
54899
  ignore: ["MISSING_ENV_FILE"]
55205
54900
  });
55206
- const packageVersion = "1.11.70";
54901
+ const packageVersion = "1.11.72";
55207
54902
  function resolvePublicUrls() {
55208
54903
  return {
55209
54904
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -55268,4 +54963,4 @@ function bootstrapServer(options = {}) {
55268
54963
  //#endregion
55269
54964
  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 };
55270
54965
 
55271
- //# sourceMappingURL=src-BAnNc8Xd.js.map
54966
+ //# sourceMappingURL=src-Nze05BoB.js.map