@togglhq/cli 1.11.86 → 1.11.88

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.
@@ -7274,7 +7274,6 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
7274
7274
  name: /* @__PURE__ */ string(),
7275
7275
  permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
7276
7276
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7277
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7278
7277
  client: /* @__PURE__ */ optional(ClientLiteSchema),
7279
7278
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7280
7279
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -7361,7 +7360,6 @@ const TaskSchema = /* @__PURE__ */ object({
7361
7360
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7362
7361
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7363
7362
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7364
- 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."))),
7365
7363
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7366
7364
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7367
7365
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7423,7 +7421,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7423
7421
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7424
7422
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7425
7423
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7426
- 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."))),
7427
7424
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7428
7425
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7429
7426
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -7584,8 +7581,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
7584
7581
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7585
7582
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7586
7583
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7587
- 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."))),
7588
- 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."))),
7589
7584
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7590
7585
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7591
7586
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -7671,10 +7666,8 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
7671
7666
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7672
7667
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7673
7668
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7674
- filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7675
7669
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
7676
7670
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7677
- picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7678
7671
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
7679
7672
  recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7680
7673
  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)."))),
@@ -7730,8 +7723,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
7730
7723
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7731
7724
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7732
7725
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7733
- 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."))),
7734
- 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."))),
7735
7726
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7736
7727
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7737
7728
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -7904,6 +7895,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7904
7895
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7905
7896
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7906
7897
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
7898
+ integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7899
+ integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7907
7900
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7908
7901
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7909
7902
  pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7960,7 +7953,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7960
7953
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7961
7954
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7962
7955
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7963
- 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."))),
7964
7956
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7965
7957
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7966
7958
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -7997,7 +7989,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7997
7989
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7998
7990
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7999
7991
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
8000
- 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."))),
8001
7992
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
8002
7993
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
8003
7994
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -8018,6 +8009,7 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
8018
8009
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
8019
8010
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
8020
8011
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8012
+ time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8021
8013
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
8022
8014
  user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
8023
8015
  });
@@ -8046,7 +8038,8 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
8046
8038
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8047
8039
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
8048
8040
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
8049
- task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
8041
+ task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8042
+ time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
8050
8043
  });
8051
8044
  const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
8052
8045
  //#endregion
@@ -9920,7 +9913,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
9920
9913
  })
9921
9914
  }).json();
9922
9915
  }
9923
- 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) {
9916
+ 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) {
9924
9917
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
9925
9918
  signal,
9926
9919
  searchParams: buildSearchParams$2({
@@ -9941,7 +9934,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
9941
9934
  include_rates,
9942
9935
  pinned_ids,
9943
9936
  has_group,
9944
- track_without_focus,
9945
9937
  cf_filter,
9946
9938
  include_custom_fields,
9947
9939
  include_calendar_integration
@@ -10043,20 +10035,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
10043
10035
  }
10044
10036
  //#endregion
10045
10037
  //#region ../focus-queries/dist/projects/requests.ts
10046
- 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) {
10038
+ 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) {
10047
10039
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
10048
10040
  signal,
10049
10041
  searchParams: buildSearchParams$2({
10050
- include_task_counts,
10051
- include_picker_parent_group_counts,
10052
- task_archived,
10053
- task_recurring,
10054
- task_state,
10055
- task_source,
10056
- task_assignee_user_id,
10057
- task_assignee_team_id,
10058
- task_include_unassigned,
10059
- task_name,
10060
10042
  page,
10061
10043
  per_page,
10062
10044
  order_by,
@@ -10306,7 +10288,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10306
10288
  }
10307
10289
  //#endregion
10308
10290
  //#region ../focus-queries/dist/tasks/requests.ts
10309
- 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) {
10291
+ 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) {
10310
10292
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10311
10293
  signal,
10312
10294
  searchParams: buildSearchParams$2({
@@ -10319,6 +10301,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10319
10301
  toggl_user_id,
10320
10302
  name,
10321
10303
  has_time_entries,
10304
+ has_time_blocks,
10322
10305
  has_dates,
10323
10306
  private: private_,
10324
10307
  archived,
@@ -10341,6 +10324,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10341
10324
  priority,
10342
10325
  is_priority,
10343
10326
  state,
10327
+ timeblock_start_from,
10328
+ timeblock_start_until,
10329
+ time_block_id,
10330
+ time_block_completed,
10344
10331
  team_id,
10345
10332
  assignee_team_id,
10346
10333
  assignee_user_id,
@@ -10352,11 +10339,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10352
10339
  include_assignees,
10353
10340
  include_parent_matches,
10354
10341
  disable_aggregations,
10355
- cf_filter,
10356
- recurring_occurrences_after,
10357
- max_recurring_occurrences_after,
10358
- recurring_task_read,
10359
- include_projected_occurrences
10342
+ cf_filter
10360
10343
  })
10361
10344
  }).json();
10362
10345
  }
@@ -10431,46 +10414,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
10431
10414
  })
10432
10415
  }).json();
10433
10416
  }
10434
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
10417
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
10435
10418
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
10436
10419
  signal,
10437
10420
  searchParams: buildSearchParams$2({
10438
10421
  date_from,
10439
- date_to,
10440
- skip_provider_refresh
10441
- })
10442
- }).json();
10443
- }
10444
- async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
10445
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
10446
- signal,
10447
- searchParams: buildSearchParams$2({
10448
- project_id,
10449
- without_project,
10450
- pinned_only,
10451
- include_unassigned,
10452
- search,
10453
- only_me,
10454
- page,
10455
- per_page
10456
- })
10457
- }).json();
10458
- }
10459
- async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
10460
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
10461
- signal,
10462
- searchParams: buildSearchParams$2({
10463
- project_id,
10464
- without_project,
10465
- include_unassigned,
10466
- search,
10467
- only_me,
10468
- page,
10469
- per_page
10422
+ date_to
10470
10423
  })
10471
10424
  }).json();
10472
10425
  }
10473
- 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) {
10426
+ 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) {
10474
10427
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
10475
10428
  signal,
10476
10429
  searchParams: buildSearchParams$2({
@@ -10486,15 +10439,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10486
10439
  assignee_team_id,
10487
10440
  assignee_user_id,
10488
10441
  tag_id,
10489
- include_assignees,
10490
- recurring_occurrences_after,
10491
- max_recurring_occurrences_after,
10492
- recurring_task_read,
10493
- include_projected_occurrences
10442
+ include_assignees
10494
10443
  })
10495
10444
  }).json();
10496
10445
  }
10497
- 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) {
10446
+ 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) {
10498
10447
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10499
10448
  signal,
10500
10449
  searchParams: buildSearchParams$2({
@@ -10506,6 +10455,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10506
10455
  name,
10507
10456
  include_parent_matches,
10508
10457
  has_time_entries,
10458
+ has_time_blocks,
10509
10459
  has_dates,
10510
10460
  private: private_,
10511
10461
  archived,
@@ -10528,6 +10478,8 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10528
10478
  priority,
10529
10479
  is_priority,
10530
10480
  state,
10481
+ time_block_id,
10482
+ time_block_completed,
10531
10483
  team_id,
10532
10484
  assignee_team_id,
10533
10485
  assignee_user_id,
@@ -10536,11 +10488,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10536
10488
  recurring_task_ids,
10537
10489
  client_id,
10538
10490
  include_assignees,
10539
- cf_filter,
10540
- recurring_occurrences_after,
10541
- max_recurring_occurrences_after,
10542
- recurring_task_read,
10543
- include_projected_occurrences
10491
+ cf_filter
10544
10492
  })
10545
10493
  }).json();
10546
10494
  }
@@ -10595,12 +10543,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
10595
10543
  })
10596
10544
  }).json();
10597
10545
  }
10598
- async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
10599
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
10600
- signal,
10601
- searchParams: buildSearchParams$2({ return_occurrence })
10602
- }).json();
10603
- }
10604
10546
  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) {
10605
10547
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
10606
10548
  signal,
@@ -10626,7 +10568,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
10626
10568
  }
10627
10569
  //#endregion
10628
10570
  //#region ../focus-queries/dist/time-entries/requests.ts
10629
- async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
10571
+ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived, time_block_id } = {}, signal) {
10630
10572
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
10631
10573
  signal,
10632
10574
  searchParams: buildSearchParams$2({
@@ -10634,28 +10576,21 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
10634
10576
  per_page,
10635
10577
  order_by,
10636
10578
  type,
10637
- archived
10579
+ archived,
10580
+ time_block_id
10638
10581
  })
10639
10582
  }).json();
10640
10583
  }
10641
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
10584
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
10642
10585
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
10643
10586
  signal,
10644
- json: data,
10645
- searchParams: buildSearchParams$2({
10646
- from_recurring_task_id,
10647
- return_occurrence
10648
- })
10587
+ json: data
10649
10588
  }).json();
10650
10589
  }
10651
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
10590
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
10652
10591
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
10653
10592
  signal,
10654
- json: data,
10655
- searchParams: buildSearchParams$2({
10656
- from_recurring_task_id,
10657
- return_occurrence
10658
- })
10593
+ json: data
10659
10594
  }).json();
10660
10595
  }
10661
10596
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -10706,7 +10641,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
10706
10641
  json: data
10707
10642
  }).json();
10708
10643
  }
10709
- 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) {
10644
+ 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) {
10710
10645
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
10711
10646
  signal,
10712
10647
  searchParams: buildSearchParams$2({
@@ -10714,7 +10649,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
10714
10649
  date_to,
10715
10650
  task_id,
10716
10651
  status_id,
10717
- project_id,
10718
10652
  type,
10719
10653
  order_by,
10720
10654
  archived,
@@ -10729,36 +10663,28 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
10729
10663
  json: data
10730
10664
  }).json();
10731
10665
  }
10666
+ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
10667
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
10668
+ signal,
10669
+ searchParams: buildSearchParams$2({ time_block_id })
10670
+ }).json();
10671
+ }
10732
10672
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
10733
10673
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
10734
10674
  }
10735
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10675
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10736
10676
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10737
10677
  signal,
10738
- json: data,
10739
- searchParams: buildSearchParams$2({
10740
- from_recurring_task_id,
10741
- return_occurrence
10742
- })
10678
+ json: data
10743
10679
  }).json();
10744
10680
  }
10745
- async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
10746
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10747
- signal,
10748
- searchParams: buildSearchParams$2({
10749
- from_recurring_task_id,
10750
- return_occurrence
10751
- })
10752
- }).json();
10681
+ async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
10682
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
10753
10683
  }
10754
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10684
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10755
10685
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10756
10686
  signal,
10757
- json: data,
10758
- searchParams: buildSearchParams$2({
10759
- from_recurring_task_id,
10760
- return_occurrence
10761
- })
10687
+ json: data
10762
10688
  }).json();
10763
10689
  }
10764
10690
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -10873,7 +10799,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
10873
10799
  ]))
10874
10800
  });
10875
10801
  //#endregion
10876
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10802
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10877
10803
  async function getInvitations(httpClient, signal) {
10878
10804
  return (await httpClient.get(`invitations`, { signal })).json();
10879
10805
  }
@@ -10890,7 +10816,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
10890
10816
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
10891
10817
  }
10892
10818
  //#endregion
10893
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/utils/requests.mjs
10819
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/org/utils/requests.mjs
10894
10820
  function buildSearchParams(params, flattenArrays = false) {
10895
10821
  const searchParams = new URLSearchParams();
10896
10822
  Object.entries(params).forEach(([key, value]) => {
@@ -10902,7 +10828,7 @@ function buildSearchParams(params, flattenArrays = false) {
10902
10828
  return searchParams;
10903
10829
  }
10904
10830
  //#endregion
10905
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
10831
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
10906
10832
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
10907
10833
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
10908
10834
  }
@@ -10916,7 +10842,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
10916
10842
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
10917
10843
  }
10918
10844
  //#endregion
10919
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
10845
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
10920
10846
  async function getWorkspaces(httpClient, organization_id, signal) {
10921
10847
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
10922
10848
  }
@@ -10936,7 +10862,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
10936
10862
  });
10937
10863
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
10938
10864
  //#endregion
10939
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
10865
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
10940
10866
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
10941
10867
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
10942
10868
  signal,
@@ -10947,12 +10873,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
10947
10873
  })).json();
10948
10874
  }
10949
10875
  //#endregion
10950
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
10876
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
10951
10877
  async function getStatus(httpClient, signal) {
10952
10878
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
10953
10879
  }
10954
10880
  //#endregion
10955
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
10881
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
10956
10882
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
10957
10883
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
10958
10884
  signal,
@@ -10980,7 +10906,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
10980
10906
  return response.json();
10981
10907
  }
10982
10908
  //#endregion
10983
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
10909
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
10984
10910
  async function getMyWorkingHours(httpClient, organization_id, signal) {
10985
10911
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
10986
10912
  }
@@ -14557,15 +14483,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
14557
14483
  }
14558
14484
  //#endregion
14559
14485
  //#region ../focus-queries/dist/audit-log/requests.ts
14560
- 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) {
14486
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14561
14487
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
14562
14488
  signal,
14563
14489
  searchParams: buildSearchParams$2({
14564
14490
  workspace_id,
14565
14491
  entity_type,
14566
14492
  entity_id,
14567
- project_id,
14568
- custom_field_id,
14569
14493
  action,
14570
14494
  user_id,
14571
14495
  page_size,
@@ -14574,14 +14498,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
14574
14498
  })
14575
14499
  }).json();
14576
14500
  }
14577
- 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) {
14501
+ async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14578
14502
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
14579
14503
  signal,
14580
14504
  searchParams: buildSearchParams$2({
14581
14505
  entity_type,
14582
14506
  entity_id,
14583
- project_id,
14584
- custom_field_id,
14585
14507
  action,
14586
14508
  user_id,
14587
14509
  page_size,
@@ -14734,14 +14656,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
14734
14656
  }
14735
14657
  //#endregion
14736
14658
  //#region ../focus-queries/dist/capacities/requests.ts
14737
- 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) {
14659
+ 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) {
14738
14660
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
14739
14661
  signal,
14740
14662
  searchParams: buildSearchParams$2({
14663
+ user_id,
14741
14664
  start_date,
14742
14665
  end_date,
14743
- user_id,
14744
- team_id,
14745
14666
  private: private_,
14746
14667
  task_source,
14747
14668
  unit,
@@ -14801,15 +14722,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
14801
14722
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
14802
14723
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
14803
14724
  }
14804
- async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
14805
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
14806
- }
14807
- async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
14808
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
14809
- signal,
14810
- json: data
14811
- }).json();
14812
- }
14813
14725
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
14814
14726
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
14815
14727
  signal,
@@ -15073,7 +14985,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
15073
14985
  }
15074
14986
  //#endregion
15075
14987
  //#region ../focus-queries/dist/project-groups/requests.ts
15076
- 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) {
14988
+ 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) {
15077
14989
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
15078
14990
  signal,
15079
14991
  searchParams: buildSearchParams$2({
@@ -15099,7 +15011,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
15099
15011
  user_id,
15100
15012
  only_me,
15101
15013
  include_drafts,
15102
- include_recurring_series,
15103
15014
  cf_filter
15104
15015
  })
15105
15016
  }).json();
@@ -15118,6 +15029,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
15118
15029
  json: data
15119
15030
  }).json();
15120
15031
  }
15032
+ async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
15033
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
15034
+ }
15121
15035
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
15122
15036
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
15123
15037
  }
@@ -15143,37 +15057,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
15143
15057
  }).json();
15144
15058
  }
15145
15059
  //#endregion
15146
- //#region ../focus-queries/dist/publicsharedreports/requests.ts
15147
- async function openPublicSharedReport(httpClient, token, signal) {
15148
- return await httpClient.get(`shared/${token}`, { signal }).json();
15149
- }
15150
- async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
15151
- return await httpClient.post(`shared/${token}/profitability`, {
15152
- signal,
15153
- json: data,
15154
- searchParams: buildSearchParams$2({
15155
- response_format,
15156
- include_dicts
15157
- })
15158
- }).json();
15159
- }
15160
- async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
15161
- return await httpClient.post(`shared/${token}/query`, {
15162
- signal,
15163
- json: data,
15164
- searchParams: buildSearchParams$2({
15165
- response_format,
15166
- include_dicts
15167
- })
15168
- }).json();
15169
- }
15170
- async function workloadPublicSharedReport(httpClient, token, data, signal) {
15171
- return await httpClient.post(`shared/${token}/workload`, {
15172
- signal,
15173
- json: data
15174
- }).json();
15175
- }
15176
- //#endregion
15177
15060
  //#region ../focus-queries/dist/rates/requests.ts
15178
15061
  async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
15179
15062
  const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
@@ -15335,7 +15218,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
15335
15218
  }
15336
15219
  //#endregion
15337
15220
  //#region ../focus-queries/dist/search/requests.ts
15338
- 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) {
15221
+ 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) {
15339
15222
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
15340
15223
  signal,
15341
15224
  searchParams: buildSearchParams$2({
@@ -15343,7 +15226,6 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
15343
15226
  per_group,
15344
15227
  assignee_user_id,
15345
15228
  assignee_team_id,
15346
- include_unassigned,
15347
15229
  project_id,
15348
15230
  task_id,
15349
15231
  include_drafts,
@@ -15388,18 +15270,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
15388
15270
  async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
15389
15271
  return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
15390
15272
  }
15391
- async function unshareSharedReport(httpClient, workspace_id, id, signal) {
15392
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
15393
- }
15394
- async function getSharedReportDates(httpClient, workspace_id, id, signal) {
15395
- return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
15396
- }
15397
- async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
15398
- return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
15399
- signal,
15400
- json: data
15401
- }).json();
15402
- }
15403
15273
  async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
15404
15274
  return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
15405
15275
  signal,
@@ -15409,21 +15279,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
15409
15279
  async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
15410
15280
  return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
15411
15281
  }
15412
- async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
15413
- return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
15414
- signal,
15415
- json: data
15416
- }).json();
15417
- }
15418
- async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
15419
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
15420
- }
15421
- async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
15422
- return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
15423
- signal,
15424
- json: data
15425
- }).json();
15426
- }
15427
15282
  //#endregion
15428
15283
  //#region ../focus-queries/dist/subscriptions/requests.ts
15429
15284
  async function getCurrentSubscription(httpClient, organization_id, signal) {
@@ -15480,10 +15335,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
15480
15335
  }
15481
15336
  //#endregion
15482
15337
  //#region ../focus-queries/dist/task-groups/requests.ts
15483
- 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) {
15338
+ 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) {
15484
15339
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
15485
15340
  signal,
15486
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15487
15341
  searchParams: buildSearchParams$2({
15488
15342
  project_id,
15489
15343
  source,
@@ -15512,18 +15366,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
15512
15366
  min_days,
15513
15367
  include_drafts,
15514
15368
  cf_filter,
15515
- user_cf_filter,
15516
- recurring_occurrences_after,
15517
- max_recurring_occurrences_after,
15518
- recurring_task_read,
15519
- include_projected_occurrences
15369
+ user_cf_filter
15520
15370
  })
15521
15371
  }).json();
15522
15372
  }
15523
- 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) {
15373
+ 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) {
15524
15374
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
15525
15375
  signal,
15526
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15527
15376
  searchParams: buildSearchParams$2({
15528
15377
  team_id,
15529
15378
  project_id,
@@ -15552,18 +15401,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
15552
15401
  min_days,
15553
15402
  include_drafts,
15554
15403
  cf_filter,
15555
- user_cf_filter,
15556
- recurring_occurrences_after,
15557
- max_recurring_occurrences_after,
15558
- recurring_task_read,
15559
- include_projected_occurrences
15404
+ user_cf_filter
15560
15405
  })
15561
15406
  }).json();
15562
15407
  }
15563
- 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) {
15408
+ 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) {
15564
15409
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
15565
15410
  signal,
15566
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15567
15411
  searchParams: buildSearchParams$2({
15568
15412
  source,
15569
15413
  priority,
@@ -15593,10 +15437,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
15593
15437
  include_drafts,
15594
15438
  cf_filter,
15595
15439
  user_cf_filter,
15596
- recurring_occurrences_after,
15597
- max_recurring_occurrences_after,
15598
- recurring_task_read,
15599
- include_projected_occurrences,
15600
15440
  page,
15601
15441
  per_page,
15602
15442
  order_by
@@ -15624,6 +15464,104 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
15624
15464
  }).json();
15625
15465
  }
15626
15466
  //#endregion
15467
+ //#region ../focus-queries/dist/time-blocks/requests.ts
15468
+ async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
15469
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
15470
+ signal,
15471
+ searchParams: buildSearchParams$2({
15472
+ page,
15473
+ per_page,
15474
+ order_by,
15475
+ archived
15476
+ })
15477
+ }).json();
15478
+ }
15479
+ async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
15480
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
15481
+ signal,
15482
+ json: data
15483
+ }).json();
15484
+ }
15485
+ async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
15486
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
15487
+ }
15488
+ async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
15489
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
15490
+ signal,
15491
+ json: data
15492
+ }).json();
15493
+ }
15494
+ async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
15495
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
15496
+ signal,
15497
+ searchParams: buildSearchParams$2({ outbound_sync })
15498
+ }).json();
15499
+ }
15500
+ async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
15501
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
15502
+ signal,
15503
+ json: data
15504
+ }).json();
15505
+ }
15506
+ async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
15507
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
15508
+ }
15509
+ async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
15510
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
15511
+ }
15512
+ async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
15513
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
15514
+ }
15515
+ async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
15516
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
15517
+ signal,
15518
+ searchParams: buildSearchParams$2({
15519
+ date_from,
15520
+ date_to,
15521
+ task_id,
15522
+ status_id,
15523
+ page,
15524
+ per_page,
15525
+ archived,
15526
+ order_by
15527
+ })
15528
+ }).json();
15529
+ }
15530
+ async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
15531
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
15532
+ signal,
15533
+ json: data
15534
+ }).json();
15535
+ }
15536
+ async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
15537
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
15538
+ signal,
15539
+ searchParams: buildSearchParams$2({
15540
+ ids,
15541
+ outbound_sync
15542
+ })
15543
+ }).json();
15544
+ }
15545
+ async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
15546
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
15547
+ signal,
15548
+ json: data
15549
+ }).json();
15550
+ }
15551
+ async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
15552
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
15553
+ signal,
15554
+ searchParams: buildSearchParams$2({
15555
+ date_from,
15556
+ date_to,
15557
+ task_id,
15558
+ status_id,
15559
+ archived,
15560
+ order_by
15561
+ })
15562
+ }).json();
15563
+ }
15564
+ //#endregion
15627
15565
  //#region ../focus-queries/dist/time-entry-constraints/requests.ts
15628
15566
  async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
15629
15567
  return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
@@ -15661,12 +15599,6 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
15661
15599
  })
15662
15600
  }).json();
15663
15601
  }
15664
- async function getTimeoffCategories(httpClient, organization_id, signal) {
15665
- return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
15666
- }
15667
- async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
15668
- return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
15669
- }
15670
15602
  async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
15671
15603
  return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
15672
15604
  signal,
@@ -15694,26 +15626,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
15694
15626
  json: data
15695
15627
  }).json();
15696
15628
  }
15697
- async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
15698
- return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
15699
- signal,
15700
- searchParams: buildSearchParams$2({
15701
- category_id,
15702
- date
15703
- })
15704
- }).json();
15705
- }
15706
- async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
15707
- return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
15708
- signal,
15709
- searchParams: buildSearchParams$2({
15710
- category_id,
15711
- year,
15712
- page,
15713
- rows
15714
- })
15715
- }).json();
15716
- }
15717
15629
  //#endregion
15718
15630
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
15719
15631
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -15814,19 +15726,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
15814
15726
  json: data
15815
15727
  }).json();
15816
15728
  }
15817
- async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
15818
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
15819
- signal,
15820
- searchParams: buildSearchParams$2({
15821
- date_from,
15822
- date_to,
15823
- setup_id,
15824
- user_account_ids,
15825
- approver_user_account_ids,
15826
- team_ids
15827
- })
15828
- }).json();
15829
- }
15830
15729
  async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
15831
15730
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
15832
15731
  }
@@ -15870,21 +15769,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
15870
15769
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
15871
15770
  }
15872
15771
  //#endregion
15873
- //#region ../focus-queries/dist/track-team-invites/requests.ts
15874
- async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
15875
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
15876
- signal,
15877
- json: data
15878
- }).json();
15879
- }
15880
- //#endregion
15881
15772
  //#region ../focus-queries/dist/user-settings/requests.ts
15882
- async function emailUnsubscribePage(httpClient, token, signal) {
15883
- return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
15884
- }
15885
- async function emailUnsubscribe(httpClient, token, signal) {
15886
- return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
15887
- }
15888
15773
  async function getUserSettings(httpClient, signal) {
15889
15774
  return await httpClient.get(`users/me/settings`, { signal }).json();
15890
15775
  }
@@ -16124,7 +16009,6 @@ const generatedFocusOperations = [
16124
16009
  mcp: { entityTool: "audit-log" },
16125
16010
  inputSchema: /* @__PURE__ */ looseObject({
16126
16011
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16127
- custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16128
16012
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16129
16013
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16130
16014
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16132,7 +16016,6 @@ const generatedFocusOperations = [
16132
16016
  from: /* @__PURE__ */ string$1(),
16133
16017
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16134
16018
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16135
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16136
16019
  to: /* @__PURE__ */ string$1(),
16137
16020
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16138
16021
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -16166,7 +16049,6 @@ const generatedFocusOperations = [
16166
16049
  mcp: { entityTool: "audit-log" },
16167
16050
  inputSchema: /* @__PURE__ */ looseObject({
16168
16051
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16169
- custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16170
16052
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16171
16053
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16172
16054
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16174,7 +16056,6 @@ const generatedFocusOperations = [
16174
16056
  from: /* @__PURE__ */ string$1(),
16175
16057
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16176
16058
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16177
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16178
16059
  to: /* @__PURE__ */ string$1(),
16179
16060
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16180
16061
  }),
@@ -16214,7 +16095,6 @@ const generatedFocusOperations = [
16214
16095
  private_: /* @__PURE__ */ unknown$1(),
16215
16096
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16216
16097
  task_source: /* @__PURE__ */ unknown$1(),
16217
- team_id: /* @__PURE__ */ number$2(),
16218
16098
  unit: /* @__PURE__ */ unknown$1(),
16219
16099
  user_id: /* @__PURE__ */ number$2()
16220
16100
  }),
@@ -16464,6 +16344,8 @@ const generatedFocusOperations = [
16464
16344
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16465
16345
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
16466
16346
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16347
+ integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16348
+ integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16467
16349
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16468
16350
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16469
16351
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -16497,6 +16379,8 @@ const generatedFocusOperations = [
16497
16379
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16498
16380
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
16499
16381
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16382
+ integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16383
+ integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16500
16384
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16501
16385
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16502
16386
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -16512,6 +16396,12 @@ const generatedFocusOperations = [
16512
16396
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16513
16397
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16514
16398
  }))),
16399
+ time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
16400
+ start: apiDateTimeString,
16401
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16402
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16403
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
16404
+ }))),
16515
16405
  time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
16516
16406
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
16517
16407
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -16521,6 +16411,13 @@ const generatedFocusOperations = [
16521
16411
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16522
16412
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16523
16413
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
16414
+ time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
16415
+ start: apiDateTimeString,
16416
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16417
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16418
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
16419
+ })),
16420
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16524
16421
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
16525
16422
  }))
16526
16423
  }) }),
@@ -16638,33 +16535,6 @@ const generatedFocusOperations = [
16638
16535
  ]));
16639
16536
  }
16640
16537
  },
16641
- {
16642
- id: "focus.custom-fields.get-allowed-users",
16643
- family: "focus",
16644
- resource: "custom-fields",
16645
- action: "get-allowed-users",
16646
- title: "Get Allowed Users Custom Fields",
16647
- description: "Get Allowed Users Custom Fields.",
16648
- safety: "read",
16649
- destructive: false,
16650
- cli: {
16651
- group: ["custom-fields"],
16652
- command: "get-allowed-users",
16653
- interactive: "available"
16654
- },
16655
- mcp: { entityTool: "custom-fields" },
16656
- inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
16657
- execute: (input, { client }) => {
16658
- const data = input;
16659
- return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
16660
- client.httpClient,
16661
- client.organizationId,
16662
- client.workspaceIdNumber,
16663
- data.custom_field_id,
16664
- void 0
16665
- ]));
16666
- }
16667
- },
16668
16538
  {
16669
16539
  id: "focus.custom-fields.list",
16670
16540
  family: "focus",
@@ -16835,61 +16705,30 @@ const generatedFocusOperations = [
16835
16705
  }
16836
16706
  },
16837
16707
  {
16838
- id: "focus.custom-fields.replace-custom-field-allowed-users",
16708
+ id: "focus.custom-fields.update",
16839
16709
  family: "focus",
16840
16710
  resource: "custom-fields",
16841
- action: "replace-custom-field-allowed-users",
16842
- title: "Replace Custom Field Allowed Users Custom Fields",
16843
- description: "Replace Custom Field Allowed Users Custom Fields.",
16711
+ action: "update",
16712
+ title: "Update Custom Fields",
16713
+ description: "Update Custom Fields.",
16844
16714
  safety: "update",
16845
16715
  destructive: false,
16846
16716
  cli: {
16847
16717
  group: ["custom-fields"],
16848
- command: "replace-custom-field-allowed-users",
16718
+ command: "update",
16849
16719
  interactive: "default"
16850
16720
  },
16851
16721
  mcp: { entityTool: "custom-fields" },
16852
16722
  inputSchema: /* @__PURE__ */ looseObject({
16853
16723
  custom_field_id: /* @__PURE__ */ number$2(),
16854
- payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
16724
+ payload: /* @__PURE__ */ looseObject({
16725
+ name: /* @__PURE__ */ string$1(),
16726
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
16727
+ })
16855
16728
  }),
16856
16729
  execute: (input, { client }) => {
16857
16730
  const data = input;
16858
- return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
16859
- client.httpClient,
16860
- client.organizationId,
16861
- client.workspaceIdNumber,
16862
- data.custom_field_id,
16863
- data.payload ?? data.data ?? data,
16864
- void 0
16865
- ]));
16866
- }
16867
- },
16868
- {
16869
- id: "focus.custom-fields.update",
16870
- family: "focus",
16871
- resource: "custom-fields",
16872
- action: "update",
16873
- title: "Update Custom Fields",
16874
- description: "Update Custom Fields.",
16875
- safety: "update",
16876
- destructive: false,
16877
- cli: {
16878
- group: ["custom-fields"],
16879
- command: "update",
16880
- interactive: "default"
16881
- },
16882
- mcp: { entityTool: "custom-fields" },
16883
- inputSchema: /* @__PURE__ */ looseObject({
16884
- custom_field_id: /* @__PURE__ */ number$2(),
16885
- payload: /* @__PURE__ */ looseObject({
16886
- name: /* @__PURE__ */ string$1(),
16887
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
16888
- })
16889
- }),
16890
- execute: (input, { client }) => {
16891
- const data = input;
16892
- return client.runGeneratedRequest("updateCustomField", () => callGeneratedRequest(updateCustomField, [
16731
+ return client.runGeneratedRequest("updateCustomField", () => callGeneratedRequest(updateCustomField, [
16893
16732
  client.httpClient,
16894
16733
  client.organizationId,
16895
16734
  client.workspaceIdNumber,
@@ -17011,7 +16850,13 @@ const generatedFocusOperations = [
17011
16850
  },
17012
16851
  mcp: { entityTool: "goals" },
17013
16852
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16853
+ billable: /* @__PURE__ */ boolean$1(),
17014
16854
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
16855
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16856
+ icon: /* @__PURE__ */ string$1(),
16857
+ monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
16858
+ name: /* @__PURE__ */ string$1(),
16859
+ project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17015
16860
  recurrence: /* @__PURE__ */ picklist$1([
17016
16861
  "daily",
17017
16862
  "weekly",
@@ -17019,18 +16864,12 @@ const generatedFocusOperations = [
17019
16864
  "monthly"
17020
16865
  ]),
17021
16866
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16867
+ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17022
16868
  target_seconds: /* @__PURE__ */ number$2(),
17023
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16869
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16870
+ weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17024
16871
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17025
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17026
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17027
- icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17028
- monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
17029
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17030
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17031
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17032
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17033
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16872
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
17034
16873
  }) }),
17035
16874
  execute: (input, { client }) => {
17036
16875
  const data = input;
@@ -17136,6 +16975,13 @@ const generatedFocusOperations = [
17136
16975
  },
17137
16976
  mcp: { entityTool: "goals" },
17138
16977
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16978
+ billable: /* @__PURE__ */ boolean$1(),
16979
+ comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
16980
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16981
+ icon: /* @__PURE__ */ string$1(),
16982
+ monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
16983
+ name: /* @__PURE__ */ string$1(),
16984
+ project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17139
16985
  recurrence: /* @__PURE__ */ picklist$1([
17140
16986
  "daily",
17141
16987
  "weekly",
@@ -17143,19 +16989,12 @@ const generatedFocusOperations = [
17143
16989
  "monthly"
17144
16990
  ]),
17145
16991
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
17146
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16992
+ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16993
+ target_seconds: /* @__PURE__ */ number$2(),
16994
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16995
+ weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17147
16996
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17148
- comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
17149
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17150
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17151
- icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17152
- monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
17153
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17154
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17155
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17156
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
17157
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17158
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16997
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
17159
16998
  }) }),
17160
16999
  execute: (input, { client }) => {
17161
17000
  const data = input;
@@ -18122,17 +17961,9 @@ const generatedFocusOperations = [
18122
17961
  mcp: { entityTool: "projects" },
18123
17962
  inputSchema: /* @__PURE__ */ looseObject({
18124
17963
  payload: /* @__PURE__ */ looseObject({
18125
- auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18126
- completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
18127
17964
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
18128
17965
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18129
17966
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18130
- rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
18131
- "expire",
18132
- "carry_all",
18133
- "carry_over"
18134
- ])),
18135
- rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18136
17967
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
18137
17968
  }),
18138
17969
  project_id: /* @__PURE__ */ number$2()
@@ -18576,7 +18407,6 @@ const generatedFocusOperations = [
18576
18407
  group: /* @__PURE__ */ string$1(),
18577
18408
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18578
18409
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18579
- include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18580
18410
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18581
18411
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18582
18412
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -18679,6 +18509,29 @@ const generatedFocusOperations = [
18679
18509
  ]));
18680
18510
  }
18681
18511
  },
18512
+ {
18513
+ id: "focus.projects.margin-targets-clear-workspace",
18514
+ family: "focus",
18515
+ resource: "projects",
18516
+ action: "margin-targets-clear-workspace",
18517
+ title: "Margin Targets Clear Workspace Projects",
18518
+ description: "Margin Targets Clear Workspace Projects.",
18519
+ safety: "delete",
18520
+ destructive: true,
18521
+ cli: {
18522
+ group: ["projects", "margin-targets"],
18523
+ command: "clear-workspace",
18524
+ interactive: "default"
18525
+ },
18526
+ mcp: { entityTool: "projects" },
18527
+ inputSchema: /* @__PURE__ */ looseObject({}),
18528
+ execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
18529
+ client.httpClient,
18530
+ client.organizationId,
18531
+ client.workspaceIdNumber,
18532
+ void 0
18533
+ ]))
18534
+ },
18682
18535
  {
18683
18536
  id: "focus.projects.margin-targets-get",
18684
18537
  family: "focus",
@@ -19123,130 +18976,6 @@ const generatedFocusOperations = [
19123
18976
  ]));
19124
18977
  }
19125
18978
  },
19126
- {
19127
- id: "focus.publicsharedreports.open-public-shared-report",
19128
- family: "focus",
19129
- resource: "publicsharedreports",
19130
- action: "open-public-shared-report",
19131
- title: "Open Public Shared Report Publicsharedreports",
19132
- description: "Open Public Shared Report Publicsharedreports.",
19133
- safety: "read",
19134
- destructive: false,
19135
- cli: {
19136
- group: ["publicsharedreports"],
19137
- command: "open-public-shared-report",
19138
- interactive: "available"
19139
- },
19140
- mcp: { entityTool: "publicsharedreports" },
19141
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
19142
- execute: (input, { client }) => {
19143
- const data = input;
19144
- return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
19145
- client.httpClient,
19146
- data.token,
19147
- void 0
19148
- ]));
19149
- }
19150
- },
19151
- {
19152
- id: "focus.publicsharedreports.profitability-public-shared-report",
19153
- family: "focus",
19154
- resource: "publicsharedreports",
19155
- action: "profitability-public-shared-report",
19156
- title: "Profitability Public Shared Report Publicsharedreports",
19157
- description: "Profitability Public Shared Report Publicsharedreports.",
19158
- safety: "update",
19159
- destructive: false,
19160
- cli: {
19161
- group: ["publicsharedreports"],
19162
- command: "profitability-public-shared-report",
19163
- interactive: "default"
19164
- },
19165
- mcp: { entityTool: "publicsharedreports" },
19166
- inputSchema: /* @__PURE__ */ looseObject({
19167
- include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
19168
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
19169
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
19170
- token: /* @__PURE__ */ string$1()
19171
- }),
19172
- execute: (input, { client }) => {
19173
- const data = input;
19174
- return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
19175
- client.httpClient,
19176
- data.token,
19177
- data.payload ?? data.data ?? data,
19178
- data.response_format,
19179
- data.include_dicts,
19180
- void 0
19181
- ]));
19182
- }
19183
- },
19184
- {
19185
- id: "focus.publicsharedreports.query-public-shared-report",
19186
- family: "focus",
19187
- resource: "publicsharedreports",
19188
- action: "query-public-shared-report",
19189
- title: "Query Public Shared Report Publicsharedreports",
19190
- description: "Query Public Shared Report Publicsharedreports.",
19191
- safety: "update",
19192
- destructive: false,
19193
- cli: {
19194
- group: ["publicsharedreports"],
19195
- command: "query-public-shared-report",
19196
- interactive: "default"
19197
- },
19198
- mcp: { entityTool: "publicsharedreports" },
19199
- inputSchema: /* @__PURE__ */ looseObject({
19200
- include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
19201
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
19202
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
19203
- "json_row",
19204
- "table",
19205
- "hierarchical"
19206
- ])),
19207
- token: /* @__PURE__ */ string$1()
19208
- }),
19209
- execute: (input, { client }) => {
19210
- const data = input;
19211
- return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
19212
- client.httpClient,
19213
- data.token,
19214
- data.payload ?? data.data ?? data,
19215
- data.response_format,
19216
- data.include_dicts,
19217
- void 0
19218
- ]));
19219
- }
19220
- },
19221
- {
19222
- id: "focus.publicsharedreports.workload-public-shared-report",
19223
- family: "focus",
19224
- resource: "publicsharedreports",
19225
- action: "workload-public-shared-report",
19226
- title: "Workload Public Shared Report Publicsharedreports",
19227
- description: "Workload Public Shared Report Publicsharedreports.",
19228
- safety: "update",
19229
- destructive: false,
19230
- cli: {
19231
- group: ["publicsharedreports"],
19232
- command: "workload-public-shared-report",
19233
- interactive: "default"
19234
- },
19235
- mcp: { entityTool: "publicsharedreports" },
19236
- inputSchema: /* @__PURE__ */ looseObject({
19237
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
19238
- token: /* @__PURE__ */ string$1()
19239
- }),
19240
- execute: (input, { client }) => {
19241
- const data = input;
19242
- return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
19243
- client.httpClient,
19244
- data.token,
19245
- data.payload ?? data.data ?? data,
19246
- void 0
19247
- ]));
19248
- }
19249
- },
19250
18979
  {
19251
18980
  id: "focus.rates.billable-check-project-billable-rate-conflicts",
19252
18981
  family: "focus",
@@ -21205,7 +20934,7 @@ const generatedFocusOperations = [
21205
20934
  cli: {
21206
20935
  group: ["reportschedules"],
21207
20936
  command: "upsert-saved-view-schedule",
21208
- interactive: "hidden"
20937
+ interactive: "default"
21209
20938
  },
21210
20939
  mcp: { entityTool: "reportschedules" },
21211
20940
  inputSchema: /* @__PURE__ */ looseObject({
@@ -21216,10 +20945,8 @@ const generatedFocusOperations = [
21216
20945
  "weekly",
21217
20946
  "monthly"
21218
20947
  ]),
21219
- charts: /* @__PURE__ */ unknown$1(),
21220
20948
  time: /* @__PURE__ */ string$1(),
21221
20949
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21222
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21223
20950
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21224
20951
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21225
20952
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -21552,32 +21279,6 @@ const generatedFocusOperations = [
21552
21279
  ]));
21553
21280
  }
21554
21281
  },
21555
- {
21556
- id: "focus.sharedreports.get-shared-report-dates",
21557
- family: "focus",
21558
- resource: "sharedreports",
21559
- action: "get-shared-report-dates",
21560
- title: "Get Shared Report Dates Sharedreports",
21561
- description: "Get Shared Report Dates Sharedreports.",
21562
- safety: "read",
21563
- destructive: false,
21564
- cli: {
21565
- group: ["sharedreports"],
21566
- command: "get-shared-report-dates",
21567
- interactive: "available"
21568
- },
21569
- mcp: { entityTool: "sharedreports" },
21570
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21571
- execute: (input, { client }) => {
21572
- const data = input;
21573
- return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
21574
- client.httpClient,
21575
- client.workspaceIdNumber,
21576
- data.id,
21577
- void 0
21578
- ]));
21579
- }
21580
- },
21581
21282
  {
21582
21283
  id: "focus.sharedreports.get-shared-report-for-viewer",
21583
21284
  family: "focus",
@@ -21648,36 +21349,6 @@ const generatedFocusOperations = [
21648
21349
  void 0
21649
21350
  ]))
21650
21351
  },
21651
- {
21652
- id: "focus.sharedreports.mint-shared-report-link",
21653
- family: "focus",
21654
- resource: "sharedreports",
21655
- action: "mint-shared-report-link",
21656
- title: "Mint Shared Report Link Sharedreports",
21657
- description: "Mint Shared Report Link Sharedreports.",
21658
- safety: "update",
21659
- destructive: false,
21660
- cli: {
21661
- group: ["sharedreports"],
21662
- command: "mint-shared-report-link",
21663
- interactive: "default"
21664
- },
21665
- mcp: { entityTool: "sharedreports" },
21666
- inputSchema: /* @__PURE__ */ looseObject({
21667
- id: /* @__PURE__ */ number$2(),
21668
- payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
21669
- }),
21670
- execute: (input, { client }) => {
21671
- const data = input;
21672
- return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
21673
- client.httpClient,
21674
- client.workspaceIdNumber,
21675
- data.id,
21676
- data.payload ?? data.data ?? data,
21677
- void 0
21678
- ]));
21679
- }
21680
- },
21681
21352
  {
21682
21353
  id: "focus.sharedreports.revoke-shared-report-grant",
21683
21354
  family: "focus",
@@ -21709,53 +21380,71 @@ const generatedFocusOperations = [
21709
21380
  }
21710
21381
  },
21711
21382
  {
21712
- id: "focus.sharedreports.revoke-shared-report-link",
21383
+ id: "focus.sharedreports.share-saved-view",
21713
21384
  family: "focus",
21714
21385
  resource: "sharedreports",
21715
- action: "revoke-shared-report-link",
21716
- title: "Revoke Shared Report Link Sharedreports",
21717
- description: "Revoke Shared Report Link Sharedreports.",
21718
- safety: "delete",
21719
- destructive: true,
21386
+ action: "share-saved-view",
21387
+ title: "Share Saved View Sharedreports",
21388
+ description: "Share Saved View Sharedreports.",
21389
+ safety: "update",
21390
+ destructive: false,
21720
21391
  cli: {
21721
21392
  group: ["sharedreports"],
21722
- command: "revoke-shared-report-link",
21723
- interactive: "default"
21393
+ command: "share-saved-view",
21394
+ interactive: "hidden"
21724
21395
  },
21725
21396
  mcp: { entityTool: "sharedreports" },
21726
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21397
+ inputSchema: /* @__PURE__ */ looseObject({
21398
+ id: /* @__PURE__ */ number$2(),
21399
+ payload: /* @__PURE__ */ looseObject({
21400
+ charts: /* @__PURE__ */ unknown$1(),
21401
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21402
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21403
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21404
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21405
+ })
21406
+ }),
21727
21407
  execute: (input, { client }) => {
21728
21408
  const data = input;
21729
- return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
21409
+ return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
21730
21410
  client.httpClient,
21731
21411
  client.workspaceIdNumber,
21732
21412
  data.id,
21413
+ data.payload ?? data.data ?? data,
21733
21414
  void 0
21734
21415
  ]));
21735
21416
  }
21736
21417
  },
21737
21418
  {
21738
- id: "focus.sharedreports.rotate-shared-report-link",
21419
+ id: "focus.sharedreports.share-saved-view-many",
21739
21420
  family: "focus",
21740
21421
  resource: "sharedreports",
21741
- action: "rotate-shared-report-link",
21742
- title: "Rotate Shared Report Link Sharedreports",
21743
- description: "Rotate Shared Report Link Sharedreports.",
21422
+ action: "share-saved-view-many",
21423
+ title: "Share Saved View Many Sharedreports",
21424
+ description: "Share Saved View Many Sharedreports.",
21744
21425
  safety: "update",
21745
21426
  destructive: false,
21746
21427
  cli: {
21747
21428
  group: ["sharedreports"],
21748
- command: "rotate-shared-report-link",
21749
- interactive: "default"
21429
+ command: "share-saved-view-many",
21430
+ interactive: "hidden"
21750
21431
  },
21751
21432
  mcp: { entityTool: "sharedreports" },
21752
21433
  inputSchema: /* @__PURE__ */ looseObject({
21753
21434
  id: /* @__PURE__ */ number$2(),
21754
- payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
21435
+ payload: /* @__PURE__ */ looseObject({
21436
+ charts: /* @__PURE__ */ unknown$1(),
21437
+ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21438
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21439
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21440
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21441
+ })),
21442
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21443
+ })
21755
21444
  }),
21756
21445
  execute: (input, { client }) => {
21757
21446
  const data = input;
21758
- return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
21447
+ return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
21759
21448
  client.httpClient,
21760
21449
  client.workspaceIdNumber,
21761
21450
  data.id,
@@ -21765,158 +21454,28 @@ const generatedFocusOperations = [
21765
21454
  }
21766
21455
  },
21767
21456
  {
21768
- id: "focus.sharedreports.set-shared-report-dates-lock",
21457
+ id: "focus.statuses.create-status",
21769
21458
  family: "focus",
21770
- resource: "sharedreports",
21771
- action: "set-shared-report-dates-lock",
21772
- title: "Set Shared Report Dates Lock Sharedreports",
21773
- description: "Set Shared Report Dates Lock Sharedreports.",
21774
- safety: "update",
21459
+ resource: "statuses",
21460
+ action: "create-status",
21461
+ title: "Create Status Statuses",
21462
+ description: "Create Status Statuses.",
21463
+ safety: "create",
21775
21464
  destructive: false,
21776
21465
  cli: {
21777
- group: ["sharedreports"],
21778
- command: "set-shared-report-dates-lock",
21466
+ group: ["statuses"],
21467
+ command: "create-status",
21779
21468
  interactive: "default"
21780
21469
  },
21781
- mcp: { entityTool: "sharedreports" },
21782
- inputSchema: /* @__PURE__ */ looseObject({
21783
- id: /* @__PURE__ */ number$2(),
21784
- payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
21785
- }),
21470
+ mcp: { entityTool: "statuses" },
21471
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
21472
+ emoji: /* @__PURE__ */ string$1(),
21473
+ name: /* @__PURE__ */ string$1(),
21474
+ position: /* @__PURE__ */ number$2()
21475
+ }) }),
21786
21476
  execute: (input, { client }) => {
21787
21477
  const data = input;
21788
- return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
21789
- client.httpClient,
21790
- client.workspaceIdNumber,
21791
- data.id,
21792
- data.payload ?? data.data ?? data,
21793
- void 0
21794
- ]));
21795
- }
21796
- },
21797
- {
21798
- id: "focus.sharedreports.share-saved-view",
21799
- family: "focus",
21800
- resource: "sharedreports",
21801
- action: "share-saved-view",
21802
- title: "Share Saved View Sharedreports",
21803
- description: "Share Saved View Sharedreports.",
21804
- safety: "update",
21805
- destructive: false,
21806
- cli: {
21807
- group: ["sharedreports"],
21808
- command: "share-saved-view",
21809
- interactive: "hidden"
21810
- },
21811
- mcp: { entityTool: "sharedreports" },
21812
- inputSchema: /* @__PURE__ */ looseObject({
21813
- id: /* @__PURE__ */ number$2(),
21814
- payload: /* @__PURE__ */ looseObject({
21815
- charts: /* @__PURE__ */ unknown$1(),
21816
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21817
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21818
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21819
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21820
- })
21821
- }),
21822
- execute: (input, { client }) => {
21823
- const data = input;
21824
- return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
21825
- client.httpClient,
21826
- client.workspaceIdNumber,
21827
- data.id,
21828
- data.payload ?? data.data ?? data,
21829
- void 0
21830
- ]));
21831
- }
21832
- },
21833
- {
21834
- id: "focus.sharedreports.share-saved-view-many",
21835
- family: "focus",
21836
- resource: "sharedreports",
21837
- action: "share-saved-view-many",
21838
- title: "Share Saved View Many Sharedreports",
21839
- description: "Share Saved View Many Sharedreports.",
21840
- safety: "update",
21841
- destructive: false,
21842
- cli: {
21843
- group: ["sharedreports"],
21844
- command: "share-saved-view-many",
21845
- interactive: "hidden"
21846
- },
21847
- mcp: { entityTool: "sharedreports" },
21848
- inputSchema: /* @__PURE__ */ looseObject({
21849
- id: /* @__PURE__ */ number$2(),
21850
- payload: /* @__PURE__ */ looseObject({
21851
- charts: /* @__PURE__ */ unknown$1(),
21852
- grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21853
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21854
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21855
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21856
- })),
21857
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21858
- })
21859
- }),
21860
- execute: (input, { client }) => {
21861
- const data = input;
21862
- return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
21863
- client.httpClient,
21864
- client.workspaceIdNumber,
21865
- data.id,
21866
- data.payload ?? data.data ?? data,
21867
- void 0
21868
- ]));
21869
- }
21870
- },
21871
- {
21872
- id: "focus.sharedreports.unshare-shared-report",
21873
- family: "focus",
21874
- resource: "sharedreports",
21875
- action: "unshare-shared-report",
21876
- title: "Unshare Shared Report Sharedreports",
21877
- description: "Unshare Shared Report Sharedreports.",
21878
- safety: "delete",
21879
- destructive: true,
21880
- cli: {
21881
- group: ["sharedreports"],
21882
- command: "unshare-shared-report",
21883
- interactive: "default"
21884
- },
21885
- mcp: { entityTool: "sharedreports" },
21886
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21887
- execute: (input, { client }) => {
21888
- const data = input;
21889
- return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
21890
- client.httpClient,
21891
- client.workspaceIdNumber,
21892
- data.id,
21893
- void 0
21894
- ]));
21895
- }
21896
- },
21897
- {
21898
- id: "focus.statuses.create-status",
21899
- family: "focus",
21900
- resource: "statuses",
21901
- action: "create-status",
21902
- title: "Create Status Statuses",
21903
- description: "Create Status Statuses.",
21904
- safety: "create",
21905
- destructive: false,
21906
- cli: {
21907
- group: ["statuses"],
21908
- command: "create-status",
21909
- interactive: "default"
21910
- },
21911
- mcp: { entityTool: "statuses" },
21912
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
21913
- emoji: /* @__PURE__ */ string$1(),
21914
- name: /* @__PURE__ */ string$1(),
21915
- position: /* @__PURE__ */ number$2()
21916
- }) }),
21917
- execute: (input, { client }) => {
21918
- const data = input;
21919
- return client.runGeneratedRequest("createStatus", () => callGeneratedRequest(createStatus, [
21478
+ return client.runGeneratedRequest("createStatus", () => callGeneratedRequest(createStatus, [
21920
21479
  client.httpClient,
21921
21480
  client.workspaceIdNumber,
21922
21481
  data.payload ?? data.data ?? data,
@@ -22936,37 +22495,6 @@ const generatedFocusOperations = [
22936
22495
  return client.createTask(data);
22937
22496
  }
22938
22497
  },
22939
- {
22940
- id: "focus.tasks.create-recurring-occurrence",
22941
- family: "focus",
22942
- resource: "tasks",
22943
- action: "create-recurring-occurrence",
22944
- title: "Create Recurring Occurrence Tasks",
22945
- description: "Create Recurring Occurrence Tasks.",
22946
- safety: "create",
22947
- destructive: false,
22948
- cli: {
22949
- group: ["tasks"],
22950
- command: "create-recurring-occurrence",
22951
- interactive: "default"
22952
- },
22953
- mcp: { entityTool: "tasks" },
22954
- inputSchema: /* @__PURE__ */ looseObject({
22955
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22956
- task_id: /* @__PURE__ */ number$2()
22957
- }),
22958
- execute: (input, { client }) => {
22959
- const data = input;
22960
- return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
22961
- client.httpClient,
22962
- client.organizationId,
22963
- client.workspaceIdNumber,
22964
- data.task_id,
22965
- data.return_occurrence,
22966
- void 0
22967
- ]));
22968
- }
22969
- },
22970
22498
  {
22971
22499
  id: "focus.tasks.delete",
22972
22500
  family: "focus",
@@ -23191,79 +22719,6 @@ const generatedFocusOperations = [
23191
22719
  ]));
23192
22720
  }
23193
22721
  },
23194
- {
23195
- id: "focus.tasks.get-picker-task-children",
23196
- family: "focus",
23197
- resource: "tasks",
23198
- action: "get-picker-task-children",
23199
- title: "Get Picker Task Children Tasks",
23200
- description: "Get Picker Task Children Tasks.",
23201
- safety: "read",
23202
- destructive: false,
23203
- cli: {
23204
- group: ["tasks"],
23205
- command: "get-picker-task-children",
23206
- interactive: "hidden"
23207
- },
23208
- mcp: { entityTool: "tasks" },
23209
- inputSchema: /* @__PURE__ */ looseObject({
23210
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23211
- only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23212
- page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23213
- parent_task_id: /* @__PURE__ */ number$2(),
23214
- per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23215
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23216
- search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23217
- without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23218
- }),
23219
- execute: (input, { client }) => {
23220
- const data = input;
23221
- return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
23222
- client.httpClient,
23223
- client.organizationId,
23224
- client.workspaceIdNumber,
23225
- data.parent_task_id,
23226
- data,
23227
- void 0
23228
- ]));
23229
- }
23230
- },
23231
- {
23232
- id: "focus.tasks.get-picker-task-groups",
23233
- family: "focus",
23234
- resource: "tasks",
23235
- action: "get-picker-task-groups",
23236
- title: "Get Picker Task Groups Tasks",
23237
- description: "Get Picker Task Groups Tasks.",
23238
- safety: "read",
23239
- destructive: false,
23240
- cli: {
23241
- group: ["tasks"],
23242
- command: "get-picker-task-groups",
23243
- interactive: "hidden"
23244
- },
23245
- mcp: { entityTool: "tasks" },
23246
- inputSchema: /* @__PURE__ */ looseObject({
23247
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23248
- only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23249
- page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23250
- per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23251
- pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23252
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23253
- search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23254
- without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23255
- }),
23256
- execute: (input, { client }) => {
23257
- const data = input;
23258
- return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
23259
- client.httpClient,
23260
- client.organizationId,
23261
- client.workspaceIdNumber,
23262
- data,
23263
- void 0
23264
- ]));
23265
- }
23266
- },
23267
22722
  {
23268
22723
  id: "focus.tasks.get-recurring-instances",
23269
22724
  family: "focus",
@@ -23287,13 +22742,9 @@ const generatedFocusOperations = [
23287
22742
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23288
22743
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23289
22744
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23290
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23291
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23292
22745
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23293
22746
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23294
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23295
22747
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23296
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23297
22748
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23298
22749
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
23299
22750
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -23339,14 +22790,13 @@ const generatedFocusOperations = [
23339
22790
  estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23340
22791
  estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23341
22792
  has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22793
+ has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23342
22794
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23343
22795
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23344
22796
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23345
22797
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23346
22798
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23347
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23348
22799
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23349
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23350
22800
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23351
22801
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23352
22802
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -23355,9 +22805,7 @@ const generatedFocusOperations = [
23355
22805
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23356
22806
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23357
22807
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23358
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23359
22808
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23360
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23361
22809
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23362
22810
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23363
22811
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23366,6 +22814,8 @@ const generatedFocusOperations = [
23366
22814
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23367
22815
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
23368
22816
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22817
+ time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22818
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23369
22819
  toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23370
22820
  with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23371
22821
  }),
@@ -23493,10 +22943,8 @@ const generatedFocusOperations = [
23493
22943
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23494
22944
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23495
22945
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23496
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23497
22946
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23498
22947
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23499
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23500
22948
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23501
22949
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23502
22950
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23505,8 +22953,6 @@ const generatedFocusOperations = [
23505
22953
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23506
22954
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23507
22955
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23508
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23509
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23510
22956
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23511
22957
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23512
22958
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23515,8 +22961,7 @@ const generatedFocusOperations = [
23515
22961
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
23516
22962
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23517
22963
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23518
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23519
- xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
22964
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23520
22965
  }),
23521
22966
  execute: (input, { client }) => {
23522
22967
  const data = input;
@@ -23558,17 +23003,13 @@ const generatedFocusOperations = [
23558
23003
  group_id: /* @__PURE__ */ number$2(),
23559
23004
  include_assignees: /* @__PURE__ */ unknown$1(),
23560
23005
  include_drafts: /* @__PURE__ */ unknown$1(),
23561
- include_projected_occurrences: /* @__PURE__ */ unknown$1(),
23562
23006
  include_unassigned: /* @__PURE__ */ unknown$1(),
23563
23007
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
23564
- max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23565
23008
  min_days: /* @__PURE__ */ unknown$1(),
23566
23009
  name: /* @__PURE__ */ unknown$1(),
23567
23010
  priority: /* @__PURE__ */ unknown$1(),
23568
23011
  private_: /* @__PURE__ */ unknown$1(),
23569
23012
  project_id: /* @__PURE__ */ number$2(),
23570
- recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23571
- recurring_task_read: /* @__PURE__ */ unknown$1(),
23572
23013
  source: /* @__PURE__ */ unknown$1(),
23573
23014
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23574
23015
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -23577,8 +23018,7 @@ const generatedFocusOperations = [
23577
23018
  tag_id: /* @__PURE__ */ number$2(),
23578
23019
  team_id: /* @__PURE__ */ number$2(),
23579
23020
  user_cf_filter: /* @__PURE__ */ unknown$1(),
23580
- user_tag_id: /* @__PURE__ */ number$2(),
23581
- xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
23021
+ user_tag_id: /* @__PURE__ */ number$2()
23582
23022
  }),
23583
23023
  execute: (input, { client }) => {
23584
23024
  const data = input;
@@ -23619,17 +23059,13 @@ const generatedFocusOperations = [
23619
23059
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23620
23060
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23621
23061
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23622
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23623
23062
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23624
23063
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23625
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23626
23064
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23627
23065
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23628
23066
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23629
23067
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23630
23068
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23631
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23632
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23633
23069
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23634
23070
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23635
23071
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23638,8 +23074,7 @@ const generatedFocusOperations = [
23638
23074
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23639
23075
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23640
23076
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23641
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23642
- xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23077
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23643
23078
  }),
23644
23079
  execute: (input, { client }) => {
23645
23080
  const data = input;
@@ -23883,45 +23318,508 @@ const generatedFocusOperations = [
23883
23318
  }),
23884
23319
  execute: (input, { client }) => {
23885
23320
  const data = input;
23886
- return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
23321
+ return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
23322
+ client.httpClient,
23323
+ client.organizationId,
23324
+ client.workspaceIdNumber,
23325
+ data.task_id,
23326
+ data.payload ?? data.data ?? data,
23327
+ void 0
23328
+ ]));
23329
+ }
23330
+ },
23331
+ {
23332
+ id: "focus.tasks.update-calendar-range",
23333
+ family: "focus",
23334
+ resource: "tasks",
23335
+ action: "update-calendar-range",
23336
+ title: "Update Calendar Range Tasks",
23337
+ description: "Update Calendar Range Tasks.",
23338
+ safety: "update",
23339
+ destructive: false,
23340
+ cli: {
23341
+ group: ["tasks"],
23342
+ command: "update-calendar-range",
23343
+ interactive: "default"
23344
+ },
23345
+ mcp: { entityTool: "tasks" },
23346
+ inputSchema: /* @__PURE__ */ looseObject({
23347
+ date_from: /* @__PURE__ */ string$1(),
23348
+ date_to: /* @__PURE__ */ string$1()
23349
+ }),
23350
+ execute: (input, { client }) => {
23351
+ const data = input;
23352
+ return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
23353
+ client.httpClient,
23354
+ client.organizationId,
23355
+ client.workspaceIdNumber,
23356
+ data.date_from,
23357
+ data.date_to,
23358
+ void 0
23359
+ ]));
23360
+ }
23361
+ },
23362
+ {
23363
+ id: "focus.time-blocks.archive",
23364
+ family: "focus",
23365
+ resource: "time-blocks",
23366
+ action: "archive",
23367
+ title: "Archive Time Blocks",
23368
+ description: "Archive Time Blocks.",
23369
+ safety: "update",
23370
+ destructive: false,
23371
+ cli: {
23372
+ group: ["time-blocks"],
23373
+ command: "archive",
23374
+ interactive: "default"
23375
+ },
23376
+ mcp: { entityTool: "time-blocks" },
23377
+ inputSchema: /* @__PURE__ */ looseObject({
23378
+ task_id: /* @__PURE__ */ number$2(),
23379
+ time_block_id: /* @__PURE__ */ number$2()
23380
+ }),
23381
+ execute: (input, { client }) => {
23382
+ const data = input;
23383
+ return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
23384
+ client.httpClient,
23385
+ client.organizationId,
23386
+ client.workspaceIdNumber,
23387
+ data.task_id,
23388
+ data.time_block_id,
23389
+ void 0
23390
+ ]));
23391
+ }
23392
+ },
23393
+ {
23394
+ id: "focus.time-blocks.bulk-create",
23395
+ family: "focus",
23396
+ resource: "time-blocks",
23397
+ action: "bulk-create",
23398
+ title: "Bulk Create Time Blocks",
23399
+ description: "Bulk Create Time Blocks.",
23400
+ safety: "create",
23401
+ destructive: false,
23402
+ cli: {
23403
+ group: ["time-blocks", "bulk"],
23404
+ command: "create",
23405
+ interactive: "default"
23406
+ },
23407
+ mcp: { entityTool: "time-blocks" },
23408
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
23409
+ start: apiDateTimeString,
23410
+ task_id: /* @__PURE__ */ number$2(),
23411
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23412
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23413
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23414
+ })) }) }),
23415
+ execute: (input, { client }) => {
23416
+ const data = input;
23417
+ return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
23418
+ client.httpClient,
23419
+ client.organizationId,
23420
+ client.workspaceIdNumber,
23421
+ data.payload ?? data.data ?? data,
23422
+ void 0
23423
+ ]));
23424
+ }
23425
+ },
23426
+ {
23427
+ id: "focus.time-blocks.bulk-delete",
23428
+ family: "focus",
23429
+ resource: "time-blocks",
23430
+ action: "bulk-delete",
23431
+ title: "Bulk Delete Time Blocks",
23432
+ description: "Bulk Delete Time Blocks.",
23433
+ safety: "delete",
23434
+ destructive: true,
23435
+ cli: {
23436
+ group: ["time-blocks", "bulk"],
23437
+ command: "delete",
23438
+ interactive: "default"
23439
+ },
23440
+ mcp: { entityTool: "time-blocks" },
23441
+ inputSchema: /* @__PURE__ */ looseObject({
23442
+ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
23443
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23444
+ }),
23445
+ execute: (input, { client }) => {
23446
+ const data = input;
23447
+ return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
23448
+ client.httpClient,
23449
+ client.organizationId,
23450
+ client.workspaceIdNumber,
23451
+ data.ids,
23452
+ data.outbound_sync,
23453
+ void 0
23454
+ ]));
23455
+ }
23456
+ },
23457
+ {
23458
+ id: "focus.time-blocks.bulk-partial-update",
23459
+ family: "focus",
23460
+ resource: "time-blocks",
23461
+ action: "bulk-partial-update",
23462
+ title: "Bulk Partial Update Time Blocks",
23463
+ description: "Bulk Partial Update Time Blocks.",
23464
+ safety: "update",
23465
+ destructive: false,
23466
+ cli: {
23467
+ group: ["time-blocks", "bulk"],
23468
+ command: "partial-update",
23469
+ interactive: "hidden"
23470
+ },
23471
+ mcp: { entityTool: "time-blocks" },
23472
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
23473
+ execute: (input, { client }) => {
23474
+ const data = input;
23475
+ return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
23476
+ client.httpClient,
23477
+ client.organizationId,
23478
+ client.workspaceIdNumber,
23479
+ data.payload ?? data.data ?? data,
23480
+ void 0
23481
+ ]));
23482
+ }
23483
+ },
23484
+ {
23485
+ id: "focus.time-blocks.create",
23486
+ family: "focus",
23487
+ resource: "time-blocks",
23488
+ action: "create",
23489
+ title: "Create Time Blocks",
23490
+ description: "Create Time Blocks.",
23491
+ safety: "create",
23492
+ destructive: false,
23493
+ cli: {
23494
+ group: ["time-blocks"],
23495
+ command: "create",
23496
+ interactive: "default"
23497
+ },
23498
+ mcp: { entityTool: "time-blocks" },
23499
+ inputSchema: /* @__PURE__ */ looseObject({
23500
+ payload: /* @__PURE__ */ looseObject({
23501
+ start: apiDateTimeString,
23502
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23503
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23504
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23505
+ }),
23506
+ task_id: /* @__PURE__ */ number$2()
23507
+ }),
23508
+ execute: (input, { client }) => {
23509
+ const data = input;
23510
+ return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
23511
+ client.httpClient,
23512
+ client.organizationId,
23513
+ client.workspaceIdNumber,
23514
+ data.task_id,
23515
+ data.payload ?? data.data ?? data,
23516
+ void 0
23517
+ ]));
23518
+ }
23519
+ },
23520
+ {
23521
+ id: "focus.time-blocks.delete",
23522
+ family: "focus",
23523
+ resource: "time-blocks",
23524
+ action: "delete",
23525
+ title: "Delete Time Blocks",
23526
+ description: "Delete Time Blocks.",
23527
+ safety: "delete",
23528
+ destructive: true,
23529
+ cli: {
23530
+ group: ["time-blocks"],
23531
+ command: "delete",
23532
+ interactive: "default"
23533
+ },
23534
+ mcp: { entityTool: "time-blocks" },
23535
+ inputSchema: /* @__PURE__ */ looseObject({
23536
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23537
+ task_id: /* @__PURE__ */ number$2(),
23538
+ time_block_id: /* @__PURE__ */ number$2()
23539
+ }),
23540
+ execute: (input, { client }) => {
23541
+ const data = input;
23542
+ return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
23543
+ client.httpClient,
23544
+ client.organizationId,
23545
+ client.workspaceIdNumber,
23546
+ data.task_id,
23547
+ data.time_block_id,
23548
+ data.outbound_sync,
23549
+ void 0
23550
+ ]));
23551
+ }
23552
+ },
23553
+ {
23554
+ id: "focus.time-blocks.get",
23555
+ family: "focus",
23556
+ resource: "time-blocks",
23557
+ action: "get",
23558
+ title: "Get Time Blocks",
23559
+ description: "Get Time Blocks.",
23560
+ safety: "read",
23561
+ destructive: false,
23562
+ cli: {
23563
+ group: ["time-blocks"],
23564
+ command: "get",
23565
+ interactive: "available"
23566
+ },
23567
+ mcp: { entityTool: "time-blocks" },
23568
+ inputSchema: /* @__PURE__ */ looseObject({
23569
+ task_id: /* @__PURE__ */ number$2(),
23570
+ time_block_id: /* @__PURE__ */ number$2()
23571
+ }),
23572
+ execute: (input, { client }) => {
23573
+ const data = input;
23574
+ return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
23575
+ client.httpClient,
23576
+ client.organizationId,
23577
+ client.workspaceIdNumber,
23578
+ data.task_id,
23579
+ data.time_block_id,
23580
+ void 0
23581
+ ]));
23582
+ }
23583
+ },
23584
+ {
23585
+ id: "focus.time-blocks.get-range",
23586
+ family: "focus",
23587
+ resource: "time-blocks",
23588
+ action: "get-range",
23589
+ title: "Get Range Time Blocks",
23590
+ description: "Get Range Time Blocks.",
23591
+ safety: "read",
23592
+ destructive: false,
23593
+ cli: {
23594
+ group: ["time-blocks"],
23595
+ command: "get-range",
23596
+ interactive: "hidden"
23597
+ },
23598
+ mcp: { entityTool: "time-blocks" },
23599
+ inputSchema: /* @__PURE__ */ looseObject({
23600
+ archived: /* @__PURE__ */ unknown$1(),
23601
+ date_from: /* @__PURE__ */ unknown$1(),
23602
+ date_to: /* @__PURE__ */ unknown$1(),
23603
+ order_by: /* @__PURE__ */ unknown$1(),
23604
+ page: /* @__PURE__ */ number$2(),
23605
+ per_page: /* @__PURE__ */ unknown$1(),
23606
+ status_id: /* @__PURE__ */ number$2(),
23607
+ task_id: /* @__PURE__ */ number$2()
23608
+ }),
23609
+ execute: (input, { client }) => {
23610
+ const data = input;
23611
+ return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
23612
+ client.httpClient,
23613
+ client.organizationId,
23614
+ client.workspaceIdNumber,
23615
+ data,
23616
+ void 0
23617
+ ]));
23618
+ }
23619
+ },
23620
+ {
23621
+ id: "focus.time-blocks.get-range-stream",
23622
+ family: "focus",
23623
+ resource: "time-blocks",
23624
+ action: "get-range-stream",
23625
+ title: "Get Range Stream Time Blocks",
23626
+ description: "Get Range Stream Time Blocks.",
23627
+ safety: "read",
23628
+ destructive: false,
23629
+ cli: {
23630
+ group: ["time-blocks"],
23631
+ command: "get-range-stream",
23632
+ interactive: "hidden"
23633
+ },
23634
+ mcp: { entityTool: "time-blocks" },
23635
+ inputSchema: /* @__PURE__ */ looseObject({
23636
+ archived: /* @__PURE__ */ unknown$1(),
23637
+ date_from: /* @__PURE__ */ unknown$1(),
23638
+ date_to: /* @__PURE__ */ unknown$1(),
23639
+ order_by: /* @__PURE__ */ unknown$1(),
23640
+ status_id: /* @__PURE__ */ number$2(),
23641
+ task_id: /* @__PURE__ */ number$2()
23642
+ }),
23643
+ execute: (input, { client }) => {
23644
+ const data = input;
23645
+ return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
23646
+ client.httpClient,
23647
+ client.organizationId,
23648
+ client.workspaceIdNumber,
23649
+ data,
23650
+ void 0
23651
+ ]));
23652
+ }
23653
+ },
23654
+ {
23655
+ id: "focus.time-blocks.get-task-time-blocks",
23656
+ family: "focus",
23657
+ resource: "time-blocks",
23658
+ action: "get-task-time-blocks",
23659
+ title: "Get Task Time Blocks Time Blocks",
23660
+ description: "Get Task Time Blocks Time Blocks.",
23661
+ safety: "read",
23662
+ destructive: false,
23663
+ cli: {
23664
+ group: ["time-blocks"],
23665
+ command: "get-task-time-blocks",
23666
+ interactive: "hidden"
23667
+ },
23668
+ mcp: { entityTool: "time-blocks" },
23669
+ inputSchema: /* @__PURE__ */ looseObject({
23670
+ archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23671
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23672
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23673
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23674
+ task_id: /* @__PURE__ */ number$2()
23675
+ }),
23676
+ execute: (input, { client }) => {
23677
+ const data = input;
23678
+ return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
23679
+ client.httpClient,
23680
+ client.organizationId,
23681
+ client.workspaceIdNumber,
23682
+ data.task_id,
23683
+ data,
23684
+ void 0
23685
+ ]));
23686
+ }
23687
+ },
23688
+ {
23689
+ id: "focus.time-blocks.partial-update",
23690
+ family: "focus",
23691
+ resource: "time-blocks",
23692
+ action: "partial-update",
23693
+ title: "Partial Update Time Blocks",
23694
+ description: "Partial Update Time Blocks.",
23695
+ safety: "update",
23696
+ destructive: false,
23697
+ cli: {
23698
+ group: ["time-blocks"],
23699
+ command: "partial-update",
23700
+ interactive: "default"
23701
+ },
23702
+ mcp: { entityTool: "time-blocks" },
23703
+ inputSchema: /* @__PURE__ */ looseObject({
23704
+ payload: /* @__PURE__ */ looseObject({
23705
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23706
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23707
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23708
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
23709
+ task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23710
+ }),
23711
+ task_id: /* @__PURE__ */ number$2(),
23712
+ time_block_id: /* @__PURE__ */ number$2()
23713
+ }),
23714
+ execute: (input, { client }) => {
23715
+ const data = input;
23716
+ return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
23717
+ client.httpClient,
23718
+ client.organizationId,
23719
+ client.workspaceIdNumber,
23720
+ data.task_id,
23721
+ data.time_block_id,
23722
+ data.payload ?? data.data ?? data,
23723
+ void 0
23724
+ ]));
23725
+ }
23726
+ },
23727
+ {
23728
+ id: "focus.time-blocks.restore",
23729
+ family: "focus",
23730
+ resource: "time-blocks",
23731
+ action: "restore",
23732
+ title: "Restore Time Blocks",
23733
+ description: "Restore Time Blocks.",
23734
+ safety: "update",
23735
+ destructive: false,
23736
+ cli: {
23737
+ group: ["time-blocks"],
23738
+ command: "restore",
23739
+ interactive: "default"
23740
+ },
23741
+ mcp: { entityTool: "time-blocks" },
23742
+ inputSchema: /* @__PURE__ */ looseObject({
23743
+ task_id: /* @__PURE__ */ number$2(),
23744
+ time_block_id: /* @__PURE__ */ number$2()
23745
+ }),
23746
+ execute: (input, { client }) => {
23747
+ const data = input;
23748
+ return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
23749
+ client.httpClient,
23750
+ client.organizationId,
23751
+ client.workspaceIdNumber,
23752
+ data.task_id,
23753
+ data.time_block_id,
23754
+ void 0
23755
+ ]));
23756
+ }
23757
+ },
23758
+ {
23759
+ id: "focus.time-blocks.unarchive",
23760
+ family: "focus",
23761
+ resource: "time-blocks",
23762
+ action: "unarchive",
23763
+ title: "Unarchive Time Blocks",
23764
+ description: "Unarchive Time Blocks.",
23765
+ safety: "update",
23766
+ destructive: false,
23767
+ cli: {
23768
+ group: ["time-blocks"],
23769
+ command: "unarchive",
23770
+ interactive: "default"
23771
+ },
23772
+ mcp: { entityTool: "time-blocks" },
23773
+ inputSchema: /* @__PURE__ */ looseObject({
23774
+ task_id: /* @__PURE__ */ number$2(),
23775
+ time_block_id: /* @__PURE__ */ number$2()
23776
+ }),
23777
+ execute: (input, { client }) => {
23778
+ const data = input;
23779
+ return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
23887
23780
  client.httpClient,
23888
23781
  client.organizationId,
23889
23782
  client.workspaceIdNumber,
23890
23783
  data.task_id,
23891
- data.payload ?? data.data ?? data,
23784
+ data.time_block_id,
23892
23785
  void 0
23893
23786
  ]));
23894
23787
  }
23895
23788
  },
23896
23789
  {
23897
- id: "focus.tasks.update-calendar-range",
23790
+ id: "focus.time-blocks.update",
23898
23791
  family: "focus",
23899
- resource: "tasks",
23900
- action: "update-calendar-range",
23901
- title: "Update Calendar Range Tasks",
23902
- description: "Update Calendar Range Tasks.",
23792
+ resource: "time-blocks",
23793
+ action: "update",
23794
+ title: "Update Time Blocks",
23795
+ description: "Update Time Blocks.",
23903
23796
  safety: "update",
23904
23797
  destructive: false,
23905
23798
  cli: {
23906
- group: ["tasks"],
23907
- command: "update-calendar-range",
23799
+ group: ["time-blocks"],
23800
+ command: "update",
23908
23801
  interactive: "default"
23909
23802
  },
23910
- mcp: { entityTool: "tasks" },
23803
+ mcp: { entityTool: "time-blocks" },
23911
23804
  inputSchema: /* @__PURE__ */ looseObject({
23912
- date_from: /* @__PURE__ */ string$1(),
23913
- date_to: /* @__PURE__ */ string$1(),
23914
- skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23805
+ payload: /* @__PURE__ */ looseObject({
23806
+ start: apiDateTimeString,
23807
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23808
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23809
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23810
+ }),
23811
+ task_id: /* @__PURE__ */ number$2(),
23812
+ time_block_id: /* @__PURE__ */ number$2()
23915
23813
  }),
23916
23814
  execute: (input, { client }) => {
23917
23815
  const data = input;
23918
- return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
23816
+ return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
23919
23817
  client.httpClient,
23920
23818
  client.organizationId,
23921
23819
  client.workspaceIdNumber,
23922
- data.date_from,
23923
- data.date_to,
23924
- data.skip_provider_refresh,
23820
+ data.task_id,
23821
+ data.time_block_id,
23822
+ data.payload ?? data.data ?? data,
23925
23823
  void 0
23926
23824
  ]));
23927
23825
  }
@@ -24141,8 +24039,7 @@ const generatedFocusOperations = [
24141
24039
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
24142
24040
  "project",
24143
24041
  "task",
24144
- "description",
24145
- "tags"
24042
+ "description"
24146
24043
  ]) })),
24147
24044
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24148
24045
  }) }),
@@ -24172,7 +24069,6 @@ const generatedFocusOperations = [
24172
24069
  },
24173
24070
  mcp: { entityTool: "time-entries" },
24174
24071
  inputSchema: /* @__PURE__ */ looseObject({
24175
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24176
24072
  payload: /* @__PURE__ */ looseObject({
24177
24073
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24178
24074
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -24183,12 +24079,11 @@ const generatedFocusOperations = [
24183
24079
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24184
24080
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24185
24081
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24186
- repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24187
24082
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
24083
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24188
24084
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24189
24085
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24190
24086
  }),
24191
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24192
24087
  task_id: /* @__PURE__ */ number$2()
24193
24088
  }),
24194
24089
  execute: (input, { client }) => {
@@ -24199,8 +24094,6 @@ const generatedFocusOperations = [
24199
24094
  client.workspaceIdNumber,
24200
24095
  data.task_id,
24201
24096
  data.payload ?? data.data ?? data,
24202
- data.from_recurring_task_id,
24203
- data.return_occurrence,
24204
24097
  void 0
24205
24098
  ]));
24206
24099
  }
@@ -24220,25 +24113,21 @@ const generatedFocusOperations = [
24220
24113
  interactive: "default"
24221
24114
  },
24222
24115
  mcp: { entityTool: "time-entries" },
24223
- inputSchema: /* @__PURE__ */ looseObject({
24224
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24225
- payload: /* @__PURE__ */ looseObject({
24226
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24227
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24228
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24229
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24230
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24231
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24232
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24233
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24234
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24235
- repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24236
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
24237
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24238
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24239
- }),
24240
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24241
- }),
24116
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
24117
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24118
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24119
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24120
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24121
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24122
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24123
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24124
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24125
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24126
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
24127
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24128
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24129
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24130
+ }) }),
24242
24131
  execute: (input, { client }) => {
24243
24132
  const data = input;
24244
24133
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -24246,8 +24135,6 @@ const generatedFocusOperations = [
24246
24135
  client.organizationId,
24247
24136
  client.workspaceIdNumber,
24248
24137
  data.payload ?? data.data ?? data,
24249
- data.from_recurring_task_id,
24250
- data.return_occurrence,
24251
24138
  void 0
24252
24139
  ]));
24253
24140
  }
@@ -24267,11 +24154,7 @@ const generatedFocusOperations = [
24267
24154
  interactive: "default"
24268
24155
  },
24269
24156
  mcp: { entityTool: "time-entries" },
24270
- inputSchema: /* @__PURE__ */ looseObject({
24271
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24272
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24273
- time_entry_id: /* @__PURE__ */ number$2()
24274
- }),
24157
+ inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
24275
24158
  execute: (input, { client }) => {
24276
24159
  const data = input;
24277
24160
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -24279,8 +24162,6 @@ const generatedFocusOperations = [
24279
24162
  client.organizationId,
24280
24163
  client.workspaceIdNumber,
24281
24164
  data.time_entry_id,
24282
- data.from_recurring_task_id,
24283
- data.return_occurrence,
24284
24165
  void 0
24285
24166
  ]));
24286
24167
  }
@@ -24361,7 +24242,6 @@ const generatedFocusOperations = [
24361
24242
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
24362
24243
  include_taskless: /* @__PURE__ */ unknown$1(),
24363
24244
  order_by: /* @__PURE__ */ unknown$1(),
24364
- project_id: /* @__PURE__ */ number$2(),
24365
24245
  status_id: /* @__PURE__ */ number$2(),
24366
24246
  task_id: /* @__PURE__ */ number$2(),
24367
24247
  type: /* @__PURE__ */ unknown$1()
@@ -24377,6 +24257,33 @@ const generatedFocusOperations = [
24377
24257
  ]));
24378
24258
  }
24379
24259
  },
24260
+ {
24261
+ id: "focus.time-entries.get-stream-time-entries-time-block-ids",
24262
+ family: "focus",
24263
+ resource: "time-entries",
24264
+ action: "get-stream-time-entries-time-block-ids",
24265
+ title: "Get Stream Time Entries Time Block Ids Time Entries",
24266
+ description: "Get Stream Time Entries Time Block Ids Time Entries.",
24267
+ safety: "read",
24268
+ destructive: false,
24269
+ cli: {
24270
+ group: ["time-entries"],
24271
+ command: "get-stream-time-entries-time-block-ids",
24272
+ interactive: "available"
24273
+ },
24274
+ mcp: { entityTool: "time-entries" },
24275
+ inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
24276
+ execute: (input, { client }) => {
24277
+ const data = input;
24278
+ return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
24279
+ client.httpClient,
24280
+ client.organizationId,
24281
+ client.workspaceIdNumber,
24282
+ data,
24283
+ void 0
24284
+ ]));
24285
+ }
24286
+ },
24380
24287
  {
24381
24288
  id: "focus.time-entries.get-task-time-entries",
24382
24289
  family: "focus",
@@ -24398,6 +24305,7 @@ const generatedFocusOperations = [
24398
24305
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24399
24306
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24400
24307
  task_id: /* @__PURE__ */ number$2(),
24308
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24401
24309
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
24402
24310
  }),
24403
24311
  execute: (input, { client }) => {
@@ -24510,14 +24418,12 @@ const generatedFocusOperations = [
24510
24418
  },
24511
24419
  mcp: { entityTool: "time-entries" },
24512
24420
  inputSchema: /* @__PURE__ */ looseObject({
24513
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24514
24421
  payload: /* @__PURE__ */ looseObject({
24515
24422
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24516
24423
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24517
24424
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24518
24425
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
24519
24426
  }),
24520
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24521
24427
  time_entry_id: /* @__PURE__ */ number$2()
24522
24428
  }),
24523
24429
  execute: (input, { client }) => {
@@ -24528,8 +24434,6 @@ const generatedFocusOperations = [
24528
24434
  client.workspaceIdNumber,
24529
24435
  data.time_entry_id,
24530
24436
  data.payload ?? data.data ?? data,
24531
- data.from_recurring_task_id,
24532
- data.return_occurrence,
24533
24437
  void 0
24534
24438
  ]));
24535
24439
  }
@@ -24787,7 +24691,6 @@ const generatedFocusOperations = [
24787
24691
  },
24788
24692
  mcp: { entityTool: "time-entries" },
24789
24693
  inputSchema: /* @__PURE__ */ looseObject({
24790
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24791
24694
  payload: /* @__PURE__ */ looseObject({
24792
24695
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24793
24696
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -24797,9 +24700,9 @@ const generatedFocusOperations = [
24797
24700
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24798
24701
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24799
24702
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
24703
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24800
24704
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
24801
24705
  }),
24802
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24803
24706
  time_entry_id: /* @__PURE__ */ number$2()
24804
24707
  }),
24805
24708
  execute: (input, { client }) => {
@@ -24810,8 +24713,6 @@ const generatedFocusOperations = [
24810
24713
  client.workspaceIdNumber,
24811
24714
  data.time_entry_id,
24812
24715
  data.payload ?? data.data ?? data,
24813
- data.from_recurring_task_id,
24814
- data.return_occurrence,
24815
24716
  void 0
24816
24717
  ]));
24817
24718
  }
@@ -24876,118 +24777,6 @@ const generatedFocusOperations = [
24876
24777
  ]));
24877
24778
  }
24878
24779
  },
24879
- {
24880
- id: "focus.time-off.get-timeoff-balance-changes-for-user",
24881
- family: "focus",
24882
- resource: "time-off",
24883
- action: "get-timeoff-balance-changes-for-user",
24884
- title: "Get Timeoff Balance Changes For User Time Off",
24885
- description: "Get Timeoff Balance Changes For User Time Off.",
24886
- safety: "read",
24887
- destructive: false,
24888
- cli: {
24889
- group: ["time-off"],
24890
- command: "get-timeoff-balance-changes-for-user",
24891
- interactive: "hidden"
24892
- },
24893
- mcp: { entityTool: "time-off" },
24894
- inputSchema: /* @__PURE__ */ looseObject({
24895
- category_id: /* @__PURE__ */ number$2(),
24896
- page: /* @__PURE__ */ number$2(),
24897
- rows: /* @__PURE__ */ unknown$1(),
24898
- user_id: /* @__PURE__ */ number$2(),
24899
- year: /* @__PURE__ */ unknown$1()
24900
- }),
24901
- execute: (input, { client }) => {
24902
- const data = input;
24903
- return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
24904
- client.httpClient,
24905
- client.organizationId,
24906
- data.user_id,
24907
- data,
24908
- void 0
24909
- ]));
24910
- }
24911
- },
24912
- {
24913
- id: "focus.time-off.get-timeoff-balances-for-user",
24914
- family: "focus",
24915
- resource: "time-off",
24916
- action: "get-timeoff-balances-for-user",
24917
- title: "Get Timeoff Balances For User Time Off",
24918
- description: "Get Timeoff Balances For User Time Off.",
24919
- safety: "read",
24920
- destructive: false,
24921
- cli: {
24922
- group: ["time-off"],
24923
- command: "get-timeoff-balances-for-user",
24924
- interactive: "available"
24925
- },
24926
- mcp: { entityTool: "time-off" },
24927
- inputSchema: /* @__PURE__ */ looseObject({
24928
- category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24929
- date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
24930
- user_id: /* @__PURE__ */ number$2()
24931
- }),
24932
- execute: (input, { client }) => {
24933
- const data = input;
24934
- return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
24935
- client.httpClient,
24936
- client.organizationId,
24937
- data.user_id,
24938
- data,
24939
- void 0
24940
- ]));
24941
- }
24942
- },
24943
- {
24944
- id: "focus.time-off.get-timeoff-categories",
24945
- family: "focus",
24946
- resource: "time-off",
24947
- action: "get-timeoff-categories",
24948
- title: "Get Timeoff Categories Time Off",
24949
- description: "Get Timeoff Categories Time Off.",
24950
- safety: "read",
24951
- destructive: false,
24952
- cli: {
24953
- group: ["time-off"],
24954
- command: "get-timeoff-categories",
24955
- interactive: "hidden"
24956
- },
24957
- mcp: { entityTool: "time-off" },
24958
- inputSchema: /* @__PURE__ */ looseObject({}),
24959
- execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
24960
- client.httpClient,
24961
- client.organizationId,
24962
- void 0
24963
- ]))
24964
- },
24965
- {
24966
- id: "focus.time-off.get-timeoff-category",
24967
- family: "focus",
24968
- resource: "time-off",
24969
- action: "get-timeoff-category",
24970
- title: "Get Timeoff Category Time Off",
24971
- description: "Get Timeoff Category Time Off.",
24972
- safety: "read",
24973
- destructive: false,
24974
- cli: {
24975
- group: ["time-off"],
24976
- command: "get-timeoff-category",
24977
- interactive: "available"
24978
- },
24979
- mcp: { entityTool: "time-off" },
24980
- inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
24981
- execute: (input, { client }) => {
24982
- const data = input;
24983
- return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
24984
- client.httpClient,
24985
- client.organizationId,
24986
- data.category_id,
24987
- void 0
24988
- ]));
24989
- }
24990
- },
24991
24780
  {
24992
24781
  id: "focus.time-off.get-timeoff-for-user",
24993
24782
  family: "focus",
@@ -25439,40 +25228,6 @@ const generatedFocusOperations = [
25439
25228
  ]));
25440
25229
  }
25441
25230
  },
25442
- {
25443
- id: "focus.timesheets.get-status-counts",
25444
- family: "focus",
25445
- resource: "timesheets",
25446
- action: "get-status-counts",
25447
- title: "Get Status Counts Timesheets",
25448
- description: "Get Status Counts Timesheets.",
25449
- safety: "read",
25450
- destructive: false,
25451
- cli: {
25452
- group: ["timesheets"],
25453
- command: "get-status-counts",
25454
- interactive: "hidden"
25455
- },
25456
- mcp: { entityTool: "timesheets" },
25457
- inputSchema: /* @__PURE__ */ looseObject({
25458
- approver_user_account_ids: /* @__PURE__ */ unknown$1(),
25459
- date_from: /* @__PURE__ */ unknown$1(),
25460
- date_to: /* @__PURE__ */ unknown$1(),
25461
- setup_id: /* @__PURE__ */ number$2(),
25462
- team_ids: /* @__PURE__ */ unknown$1(),
25463
- user_account_ids: /* @__PURE__ */ unknown$1()
25464
- }),
25465
- execute: (input, { client }) => {
25466
- const data = input;
25467
- return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
25468
- client.httpClient,
25469
- client.organizationId,
25470
- client.workspaceIdNumber,
25471
- data,
25472
- void 0
25473
- ]));
25474
- }
25475
- },
25476
25231
  {
25477
25232
  id: "focus.timesheets.remove-timesheet-flag",
25478
25233
  family: "focus",
@@ -26022,33 +25777,6 @@ const generatedFocusOperations = [
26022
25777
  ]));
26023
25778
  }
26024
25779
  },
26025
- {
26026
- id: "focus.track-team-invites.post",
26027
- family: "focus",
26028
- resource: "track-team-invites",
26029
- action: "post",
26030
- title: "Post Track Team Invites",
26031
- description: "Post Track Team Invites.",
26032
- safety: "create",
26033
- destructive: false,
26034
- cli: {
26035
- group: ["track-team-invites"],
26036
- command: "post",
26037
- interactive: "default"
26038
- },
26039
- mcp: { entityTool: "track-team-invites" },
26040
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
26041
- execute: (input, { client }) => {
26042
- const data = input;
26043
- return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
26044
- client.httpClient,
26045
- client.organizationId,
26046
- client.workspaceIdNumber,
26047
- data.payload ?? data.data ?? data,
26048
- void 0
26049
- ]));
26050
- }
26051
- },
26052
25780
  {
26053
25781
  id: "focus.users.list",
26054
25782
  family: "focus",
@@ -26070,56 +25798,6 @@ const generatedFocusOperations = [
26070
25798
  return client.listOrgUsers(data);
26071
25799
  }
26072
25800
  },
26073
- {
26074
- id: "focus.users.settings-email-unsubscribe",
26075
- family: "focus",
26076
- resource: "users",
26077
- action: "settings-email-unsubscribe",
26078
- title: "Settings Email Unsubscribe Users",
26079
- description: "Settings Email Unsubscribe Users.",
26080
- safety: "update",
26081
- destructive: false,
26082
- cli: {
26083
- group: ["users", "settings"],
26084
- command: "email-unsubscribe",
26085
- interactive: "default"
26086
- },
26087
- mcp: { entityTool: "users" },
26088
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
26089
- execute: (input, { client }) => {
26090
- const data = input;
26091
- return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
26092
- client.httpClient,
26093
- data.token,
26094
- void 0
26095
- ]));
26096
- }
26097
- },
26098
- {
26099
- id: "focus.users.settings-email-unsubscribe-page",
26100
- family: "focus",
26101
- resource: "users",
26102
- action: "settings-email-unsubscribe-page",
26103
- title: "Settings Email Unsubscribe Page Users",
26104
- description: "Settings Email Unsubscribe Page Users.",
26105
- safety: "read",
26106
- destructive: false,
26107
- cli: {
26108
- group: ["users", "settings"],
26109
- command: "email-unsubscribe-page",
26110
- interactive: "available"
26111
- },
26112
- mcp: { entityTool: "users" },
26113
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
26114
- execute: (input, { client }) => {
26115
- const data = input;
26116
- return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
26117
- client.httpClient,
26118
- data.token,
26119
- void 0
26120
- ]));
26121
- }
26122
- },
26123
25801
  {
26124
25802
  id: "focus.users.settings-list",
26125
25803
  family: "focus",
@@ -26181,9 +25859,6 @@ const generatedFocusOperations = [
26181
25859
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26182
25860
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26183
25861
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26184
- notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26185
- notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26186
- notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26187
25862
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26188
25863
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26189
25864
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -28239,4 +27914,4 @@ Common commands:
28239
27914
  //#endregion
28240
27915
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
28241
27916
 
28242
- //# sourceMappingURL=program-C2DB7NCd.js.map
27917
+ //# sourceMappingURL=program-BafxB0r1.js.map