@togglhq/cli 1.11.72 → 1.11.74

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,6 +7274,7 @@ 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()),
7277
7278
  client: /* @__PURE__ */ optional(ClientLiteSchema),
7278
7279
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7279
7280
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -7360,6 +7361,7 @@ const TaskSchema = /* @__PURE__ */ object({
7360
7361
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7361
7362
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7362
7363
  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."))),
7363
7365
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7364
7366
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7365
7367
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7421,6 +7423,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7421
7423
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7422
7424
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7423
7425
  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."))),
7424
7427
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7425
7428
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7426
7429
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -7581,6 +7584,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
7581
7584
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7582
7585
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7583
7586
  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."))),
7584
7589
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7585
7590
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7586
7591
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -7666,8 +7671,10 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
7666
7671
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7667
7672
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7668
7673
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7674
+ filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7669
7675
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
7670
7676
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7677
+ picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7671
7678
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
7672
7679
  recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7673
7680
  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)."))),
@@ -7723,6 +7730,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
7723
7730
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7724
7731
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7725
7732
  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."))),
7726
7735
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7727
7736
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7728
7737
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -7895,8 +7904,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7895
7904
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7896
7905
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7897
7906
  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()),
7900
7907
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7901
7908
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7902
7909
  pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7953,6 +7960,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7953
7960
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7954
7961
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7955
7962
  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."))),
7956
7964
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7957
7965
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7958
7966
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -7989,6 +7997,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7989
7997
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7990
7998
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7991
7999
  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."))),
7992
8001
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7993
8002
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7994
8003
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -8009,7 +8018,6 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
8009
8018
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
8010
8019
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
8011
8020
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8012
- time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8013
8021
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
8014
8022
  user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
8015
8023
  });
@@ -8038,8 +8046,7 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
8038
8046
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8039
8047
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
8040
8048
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
8041
- task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8042
- time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
8049
+ task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
8043
8050
  });
8044
8051
  const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
8045
8052
  //#endregion
@@ -9913,7 +9920,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
9913
9920
  })
9914
9921
  }).json();
9915
9922
  }
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) {
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) {
9917
9924
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
9918
9925
  signal,
9919
9926
  searchParams: buildSearchParams$2({
@@ -9934,6 +9941,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
9934
9941
  include_rates,
9935
9942
  pinned_ids,
9936
9943
  has_group,
9944
+ track_without_focus,
9937
9945
  cf_filter,
9938
9946
  include_custom_fields,
9939
9947
  include_calendar_integration
@@ -10035,10 +10043,20 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
10035
10043
  }
10036
10044
  //#endregion
10037
10045
  //#region ../focus-queries/dist/projects/requests.ts
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) {
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) {
10039
10047
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
10040
10048
  signal,
10041
10049
  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,
10042
10060
  page,
10043
10061
  per_page,
10044
10062
  order_by,
@@ -10288,7 +10306,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10288
10306
  }
10289
10307
  //#endregion
10290
10308
  //#region ../focus-queries/dist/tasks/requests.ts
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) {
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) {
10292
10310
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10293
10311
  signal,
10294
10312
  searchParams: buildSearchParams$2({
@@ -10301,7 +10319,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10301
10319
  toggl_user_id,
10302
10320
  name,
10303
10321
  has_time_entries,
10304
- has_time_blocks,
10305
10322
  has_dates,
10306
10323
  private: private_,
10307
10324
  archived,
@@ -10324,10 +10341,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10324
10341
  priority,
10325
10342
  is_priority,
10326
10343
  state,
10327
- timeblock_start_from,
10328
- timeblock_start_until,
10329
- time_block_id,
10330
- time_block_completed,
10331
10344
  team_id,
10332
10345
  assignee_team_id,
10333
10346
  assignee_user_id,
@@ -10339,7 +10352,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10339
10352
  include_assignees,
10340
10353
  include_parent_matches,
10341
10354
  disable_aggregations,
10342
- cf_filter
10355
+ cf_filter,
10356
+ recurring_occurrences_after,
10357
+ max_recurring_occurrences_after,
10358
+ recurring_task_read,
10359
+ include_projected_occurrences
10343
10360
  })
10344
10361
  }).json();
10345
10362
  }
@@ -10414,16 +10431,46 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
10414
10431
  })
10415
10432
  }).json();
10416
10433
  }
10417
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
10434
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
10418
10435
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
10419
10436
  signal,
10420
10437
  searchParams: buildSearchParams$2({
10421
10438
  date_from,
10422
- date_to
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
10423
10470
  })
10424
10471
  }).json();
10425
10472
  }
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) {
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) {
10427
10474
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
10428
10475
  signal,
10429
10476
  searchParams: buildSearchParams$2({
@@ -10439,11 +10486,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10439
10486
  assignee_team_id,
10440
10487
  assignee_user_id,
10441
10488
  tag_id,
10442
- include_assignees
10489
+ include_assignees,
10490
+ recurring_occurrences_after,
10491
+ max_recurring_occurrences_after,
10492
+ recurring_task_read,
10493
+ include_projected_occurrences
10443
10494
  })
10444
10495
  }).json();
10445
10496
  }
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) {
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) {
10447
10498
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10448
10499
  signal,
10449
10500
  searchParams: buildSearchParams$2({
@@ -10455,7 +10506,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10455
10506
  name,
10456
10507
  include_parent_matches,
10457
10508
  has_time_entries,
10458
- has_time_blocks,
10459
10509
  has_dates,
10460
10510
  private: private_,
10461
10511
  archived,
@@ -10478,8 +10528,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10478
10528
  priority,
10479
10529
  is_priority,
10480
10530
  state,
10481
- time_block_id,
10482
- time_block_completed,
10483
10531
  team_id,
10484
10532
  assignee_team_id,
10485
10533
  assignee_user_id,
@@ -10488,7 +10536,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10488
10536
  recurring_task_ids,
10489
10537
  client_id,
10490
10538
  include_assignees,
10491
- cf_filter
10539
+ cf_filter,
10540
+ recurring_occurrences_after,
10541
+ max_recurring_occurrences_after,
10542
+ recurring_task_read,
10543
+ include_projected_occurrences
10492
10544
  })
10493
10545
  }).json();
10494
10546
  }
@@ -10543,6 +10595,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
10543
10595
  })
10544
10596
  }).json();
10545
10597
  }
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
+ }
10546
10604
  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) {
10547
10605
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
10548
10606
  signal,
@@ -10568,7 +10626,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
10568
10626
  }
10569
10627
  //#endregion
10570
10628
  //#region ../focus-queries/dist/time-entries/requests.ts
10571
- async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived, time_block_id } = {}, signal) {
10629
+ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
10572
10630
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
10573
10631
  signal,
10574
10632
  searchParams: buildSearchParams$2({
@@ -10576,21 +10634,28 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
10576
10634
  per_page,
10577
10635
  order_by,
10578
10636
  type,
10579
- archived,
10580
- time_block_id
10637
+ archived
10581
10638
  })
10582
10639
  }).json();
10583
10640
  }
10584
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
10641
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
10585
10642
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
10586
10643
  signal,
10587
- json: data
10644
+ json: data,
10645
+ searchParams: buildSearchParams$2({
10646
+ from_recurring_task_id,
10647
+ return_occurrence
10648
+ })
10588
10649
  }).json();
10589
10650
  }
10590
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
10651
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
10591
10652
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
10592
10653
  signal,
10593
- json: data
10654
+ json: data,
10655
+ searchParams: buildSearchParams$2({
10656
+ from_recurring_task_id,
10657
+ return_occurrence
10658
+ })
10594
10659
  }).json();
10595
10660
  }
10596
10661
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -10641,7 +10706,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
10641
10706
  json: data
10642
10707
  }).json();
10643
10708
  }
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) {
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) {
10645
10710
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
10646
10711
  signal,
10647
10712
  searchParams: buildSearchParams$2({
@@ -10649,6 +10714,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
10649
10714
  date_to,
10650
10715
  task_id,
10651
10716
  status_id,
10717
+ project_id,
10652
10718
  type,
10653
10719
  order_by,
10654
10720
  archived,
@@ -10663,28 +10729,36 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
10663
10729
  json: data
10664
10730
  }).json();
10665
10731
  }
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
- }
10672
10732
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
10673
10733
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
10674
10734
  }
10675
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10735
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10676
10736
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10677
10737
  signal,
10678
- json: data
10738
+ json: data,
10739
+ searchParams: buildSearchParams$2({
10740
+ from_recurring_task_id,
10741
+ return_occurrence
10742
+ })
10679
10743
  }).json();
10680
10744
  }
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();
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();
10683
10753
  }
10684
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10754
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10685
10755
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10686
10756
  signal,
10687
- json: data
10757
+ json: data,
10758
+ searchParams: buildSearchParams$2({
10759
+ from_recurring_task_id,
10760
+ return_occurrence
10761
+ })
10688
10762
  }).json();
10689
10763
  }
10690
10764
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -10799,7 +10873,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
10799
10873
  ]))
10800
10874
  });
10801
10875
  //#endregion
10802
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10876
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.73_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_1431cb81daa6850462a5f4fd78cd3b0f/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10803
10877
  async function getInvitations(httpClient, signal) {
10804
10878
  return (await httpClient.get(`invitations`, { signal })).json();
10805
10879
  }
@@ -10816,7 +10890,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
10816
10890
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
10817
10891
  }
10818
10892
  //#endregion
10819
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/org/utils/requests.mjs
10893
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.73_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_1431cb81daa6850462a5f4fd78cd3b0f/node_modules/@toggl/queries/dist/org/utils/requests.mjs
10820
10894
  function buildSearchParams(params, flattenArrays = false) {
10821
10895
  const searchParams = new URLSearchParams();
10822
10896
  Object.entries(params).forEach(([key, value]) => {
@@ -10828,7 +10902,7 @@ function buildSearchParams(params, flattenArrays = false) {
10828
10902
  return searchParams;
10829
10903
  }
10830
10904
  //#endregion
10831
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
10905
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.73_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_1431cb81daa6850462a5f4fd78cd3b0f/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
10832
10906
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
10833
10907
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
10834
10908
  }
@@ -10842,7 +10916,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
10842
10916
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
10843
10917
  }
10844
10918
  //#endregion
10845
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
10919
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.73_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_1431cb81daa6850462a5f4fd78cd3b0f/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
10846
10920
  async function getWorkspaces(httpClient, organization_id, signal) {
10847
10921
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
10848
10922
  }
@@ -10862,7 +10936,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
10862
10936
  });
10863
10937
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
10864
10938
  //#endregion
10865
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
10939
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.73_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_1431cb81daa6850462a5f4fd78cd3b0f/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
10866
10940
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
10867
10941
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
10868
10942
  signal,
@@ -10873,12 +10947,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
10873
10947
  })).json();
10874
10948
  }
10875
10949
  //#endregion
10876
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
10950
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.73_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_1431cb81daa6850462a5f4fd78cd3b0f/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
10877
10951
  async function getStatus(httpClient, signal) {
10878
10952
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
10879
10953
  }
10880
10954
  //#endregion
10881
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
10955
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.73_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_1431cb81daa6850462a5f4fd78cd3b0f/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
10882
10956
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
10883
10957
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
10884
10958
  signal,
@@ -10906,7 +10980,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
10906
10980
  return response.json();
10907
10981
  }
10908
10982
  //#endregion
10909
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_290114267c23e9a1d40da78b0defee5d/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
10983
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.73_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_1431cb81daa6850462a5f4fd78cd3b0f/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
10910
10984
  async function getMyWorkingHours(httpClient, organization_id, signal) {
10911
10985
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
10912
10986
  }
@@ -14369,13 +14443,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
14369
14443
  }
14370
14444
  //#endregion
14371
14445
  //#region ../focus-queries/dist/audit-log/requests.ts
14372
- async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14446
+ 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) {
14373
14447
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
14374
14448
  signal,
14375
14449
  searchParams: buildSearchParams$2({
14376
14450
  workspace_id,
14377
14451
  entity_type,
14378
14452
  entity_id,
14453
+ project_id,
14454
+ custom_field_id,
14379
14455
  action,
14380
14456
  user_id,
14381
14457
  page_size,
@@ -14384,12 +14460,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
14384
14460
  })
14385
14461
  }).json();
14386
14462
  }
14387
- async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14463
+ 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) {
14388
14464
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
14389
14465
  signal,
14390
14466
  searchParams: buildSearchParams$2({
14391
14467
  entity_type,
14392
14468
  entity_id,
14469
+ project_id,
14470
+ custom_field_id,
14393
14471
  action,
14394
14472
  user_id,
14395
14473
  page_size,
@@ -14542,13 +14620,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
14542
14620
  }
14543
14621
  //#endregion
14544
14622
  //#region ../focus-queries/dist/capacities/requests.ts
14545
- 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) {
14623
+ 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) {
14546
14624
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
14547
14625
  signal,
14548
14626
  searchParams: buildSearchParams$2({
14549
- user_id,
14550
14627
  start_date,
14551
14628
  end_date,
14629
+ user_id,
14630
+ team_id,
14552
14631
  private: private_,
14553
14632
  task_source,
14554
14633
  unit,
@@ -14608,6 +14687,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
14608
14687
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
14609
14688
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
14610
14689
  }
14690
+ async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
14691
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
14692
+ }
14693
+ async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
14694
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
14695
+ signal,
14696
+ json: data
14697
+ }).json();
14698
+ }
14611
14699
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
14612
14700
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
14613
14701
  signal,
@@ -14871,7 +14959,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
14871
14959
  }
14872
14960
  //#endregion
14873
14961
  //#region ../focus-queries/dist/project-groups/requests.ts
14874
- 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) {
14962
+ 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) {
14875
14963
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
14876
14964
  signal,
14877
14965
  searchParams: buildSearchParams$2({
@@ -14897,6 +14985,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
14897
14985
  user_id,
14898
14986
  only_me,
14899
14987
  include_drafts,
14988
+ include_recurring_series,
14900
14989
  cf_filter
14901
14990
  })
14902
14991
  }).json();
@@ -14915,9 +15004,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
14915
15004
  json: data
14916
15005
  }).json();
14917
15006
  }
14918
- async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
14919
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
14920
- }
14921
15007
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
14922
15008
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
14923
15009
  }
@@ -14943,6 +15029,37 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
14943
15029
  }).json();
14944
15030
  }
14945
15031
  //#endregion
15032
+ //#region ../focus-queries/dist/publicsharedreports/requests.ts
15033
+ async function openPublicSharedReport(httpClient, token, signal) {
15034
+ return await httpClient.get(`shared/${token}`, { signal }).json();
15035
+ }
15036
+ async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
15037
+ return await httpClient.post(`shared/${token}/profitability`, {
15038
+ signal,
15039
+ json: data,
15040
+ searchParams: buildSearchParams$2({
15041
+ response_format,
15042
+ include_dicts
15043
+ })
15044
+ }).json();
15045
+ }
15046
+ async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
15047
+ return await httpClient.post(`shared/${token}/query`, {
15048
+ signal,
15049
+ json: data,
15050
+ searchParams: buildSearchParams$2({
15051
+ response_format,
15052
+ include_dicts
15053
+ })
15054
+ }).json();
15055
+ }
15056
+ async function workloadPublicSharedReport(httpClient, token, data, signal) {
15057
+ return await httpClient.post(`shared/${token}/workload`, {
15058
+ signal,
15059
+ json: data
15060
+ }).json();
15061
+ }
15062
+ //#endregion
14946
15063
  //#region ../focus-queries/dist/rates/requests.ts
14947
15064
  async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
14948
15065
  const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
@@ -15104,7 +15221,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
15104
15221
  }
15105
15222
  //#endregion
15106
15223
  //#region ../focus-queries/dist/search/requests.ts
15107
- 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) {
15224
+ 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) {
15108
15225
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
15109
15226
  signal,
15110
15227
  searchParams: buildSearchParams$2({
@@ -15112,6 +15229,7 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
15112
15229
  per_group,
15113
15230
  assignee_user_id,
15114
15231
  assignee_team_id,
15232
+ include_unassigned,
15115
15233
  project_id,
15116
15234
  task_id,
15117
15235
  include_drafts,
@@ -15156,6 +15274,18 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
15156
15274
  async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
15157
15275
  return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
15158
15276
  }
15277
+ async function unshareSharedReport(httpClient, workspace_id, id, signal) {
15278
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
15279
+ }
15280
+ async function getSharedReportDates(httpClient, workspace_id, id, signal) {
15281
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
15282
+ }
15283
+ async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
15284
+ return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
15285
+ signal,
15286
+ json: data
15287
+ }).json();
15288
+ }
15159
15289
  async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
15160
15290
  return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
15161
15291
  signal,
@@ -15165,6 +15295,21 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
15165
15295
  async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
15166
15296
  return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
15167
15297
  }
15298
+ async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
15299
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
15300
+ signal,
15301
+ json: data
15302
+ }).json();
15303
+ }
15304
+ async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
15305
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
15306
+ }
15307
+ async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
15308
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
15309
+ signal,
15310
+ json: data
15311
+ }).json();
15312
+ }
15168
15313
  //#endregion
15169
15314
  //#region ../focus-queries/dist/subscriptions/requests.ts
15170
15315
  async function getCurrentSubscription(httpClient, organization_id, signal) {
@@ -15221,9 +15366,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
15221
15366
  }
15222
15367
  //#endregion
15223
15368
  //#region ../focus-queries/dist/task-groups/requests.ts
15224
- 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) {
15369
+ 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) {
15225
15370
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
15226
15371
  signal,
15372
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15227
15373
  searchParams: buildSearchParams$2({
15228
15374
  project_id,
15229
15375
  source,
@@ -15252,13 +15398,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
15252
15398
  min_days,
15253
15399
  include_drafts,
15254
15400
  cf_filter,
15255
- user_cf_filter
15401
+ user_cf_filter,
15402
+ recurring_occurrences_after,
15403
+ max_recurring_occurrences_after,
15404
+ recurring_task_read,
15405
+ include_projected_occurrences
15256
15406
  })
15257
15407
  }).json();
15258
15408
  }
15259
- 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) {
15409
+ 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) {
15260
15410
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
15261
15411
  signal,
15412
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15262
15413
  searchParams: buildSearchParams$2({
15263
15414
  team_id,
15264
15415
  project_id,
@@ -15287,13 +15438,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
15287
15438
  min_days,
15288
15439
  include_drafts,
15289
15440
  cf_filter,
15290
- user_cf_filter
15441
+ user_cf_filter,
15442
+ recurring_occurrences_after,
15443
+ max_recurring_occurrences_after,
15444
+ recurring_task_read,
15445
+ include_projected_occurrences
15291
15446
  })
15292
15447
  }).json();
15293
15448
  }
15294
- 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) {
15449
+ 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) {
15295
15450
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
15296
15451
  signal,
15452
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15297
15453
  searchParams: buildSearchParams$2({
15298
15454
  source,
15299
15455
  priority,
@@ -15323,6 +15479,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
15323
15479
  include_drafts,
15324
15480
  cf_filter,
15325
15481
  user_cf_filter,
15482
+ recurring_occurrences_after,
15483
+ max_recurring_occurrences_after,
15484
+ recurring_task_read,
15485
+ include_projected_occurrences,
15326
15486
  page,
15327
15487
  per_page,
15328
15488
  order_by
@@ -15350,104 +15510,6 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
15350
15510
  }).json();
15351
15511
  }
15352
15512
  //#endregion
15353
- //#region ../focus-queries/dist/time-blocks/requests.ts
15354
- async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
15355
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
15356
- signal,
15357
- searchParams: buildSearchParams$2({
15358
- page,
15359
- per_page,
15360
- order_by,
15361
- archived
15362
- })
15363
- }).json();
15364
- }
15365
- async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
15366
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
15367
- signal,
15368
- json: data
15369
- }).json();
15370
- }
15371
- async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
15372
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
15373
- }
15374
- async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
15375
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
15376
- signal,
15377
- json: data
15378
- }).json();
15379
- }
15380
- async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
15381
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
15382
- signal,
15383
- searchParams: buildSearchParams$2({ outbound_sync })
15384
- }).json();
15385
- }
15386
- async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
15387
- return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
15388
- signal,
15389
- json: data
15390
- }).json();
15391
- }
15392
- async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
15393
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
15394
- }
15395
- async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
15396
- return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
15397
- }
15398
- async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
15399
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
15400
- }
15401
- async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
15402
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
15403
- signal,
15404
- searchParams: buildSearchParams$2({
15405
- date_from,
15406
- date_to,
15407
- task_id,
15408
- status_id,
15409
- page,
15410
- per_page,
15411
- archived,
15412
- order_by
15413
- })
15414
- }).json();
15415
- }
15416
- async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
15417
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
15418
- signal,
15419
- json: data
15420
- }).json();
15421
- }
15422
- async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
15423
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
15424
- signal,
15425
- searchParams: buildSearchParams$2({
15426
- ids,
15427
- outbound_sync
15428
- })
15429
- }).json();
15430
- }
15431
- async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
15432
- return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
15433
- signal,
15434
- json: data
15435
- }).json();
15436
- }
15437
- async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
15438
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
15439
- signal,
15440
- searchParams: buildSearchParams$2({
15441
- date_from,
15442
- date_to,
15443
- task_id,
15444
- status_id,
15445
- archived,
15446
- order_by
15447
- })
15448
- }).json();
15449
- }
15450
- //#endregion
15451
15513
  //#region ../focus-queries/dist/time-entry-constraints/requests.ts
15452
15514
  async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
15453
15515
  return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
@@ -15485,6 +15547,12 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
15485
15547
  })
15486
15548
  }).json();
15487
15549
  }
15550
+ async function getTimeoffCategories(httpClient, organization_id, signal) {
15551
+ return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
15552
+ }
15553
+ async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
15554
+ return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
15555
+ }
15488
15556
  async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
15489
15557
  return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
15490
15558
  signal,
@@ -15512,6 +15580,26 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
15512
15580
  json: data
15513
15581
  }).json();
15514
15582
  }
15583
+ async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
15584
+ return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
15585
+ signal,
15586
+ searchParams: buildSearchParams$2({
15587
+ category_id,
15588
+ date
15589
+ })
15590
+ }).json();
15591
+ }
15592
+ async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
15593
+ return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
15594
+ signal,
15595
+ searchParams: buildSearchParams$2({
15596
+ category_id,
15597
+ year,
15598
+ page,
15599
+ rows
15600
+ })
15601
+ }).json();
15602
+ }
15515
15603
  //#endregion
15516
15604
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
15517
15605
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -15612,6 +15700,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
15612
15700
  json: data
15613
15701
  }).json();
15614
15702
  }
15703
+ async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
15704
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
15705
+ signal,
15706
+ searchParams: buildSearchParams$2({
15707
+ date_from,
15708
+ date_to,
15709
+ setup_id,
15710
+ user_account_ids,
15711
+ approver_user_account_ids,
15712
+ team_ids
15713
+ })
15714
+ }).json();
15715
+ }
15615
15716
  async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
15616
15717
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
15617
15718
  }
@@ -15655,7 +15756,21 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
15655
15756
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
15656
15757
  }
15657
15758
  //#endregion
15759
+ //#region ../focus-queries/dist/track-team-invites/requests.ts
15760
+ async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
15761
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
15762
+ signal,
15763
+ json: data
15764
+ }).json();
15765
+ }
15766
+ //#endregion
15658
15767
  //#region ../focus-queries/dist/user-settings/requests.ts
15768
+ async function emailUnsubscribePage(httpClient, token, signal) {
15769
+ return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
15770
+ }
15771
+ async function emailUnsubscribe(httpClient, token, signal) {
15772
+ return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
15773
+ }
15659
15774
  async function getUserSettings(httpClient, signal) {
15660
15775
  return await httpClient.get(`users/me/settings`, { signal }).json();
15661
15776
  }
@@ -15895,6 +16010,7 @@ const generatedFocusOperations = [
15895
16010
  mcp: { entityTool: "audit-log" },
15896
16011
  inputSchema: /* @__PURE__ */ looseObject({
15897
16012
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16013
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15898
16014
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15899
16015
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15900
16016
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -15902,6 +16018,7 @@ const generatedFocusOperations = [
15902
16018
  from: /* @__PURE__ */ string$1(),
15903
16019
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15904
16020
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16021
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15905
16022
  to: /* @__PURE__ */ string$1(),
15906
16023
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15907
16024
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -15935,6 +16052,7 @@ const generatedFocusOperations = [
15935
16052
  mcp: { entityTool: "audit-log" },
15936
16053
  inputSchema: /* @__PURE__ */ looseObject({
15937
16054
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16055
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15938
16056
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15939
16057
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15940
16058
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -15942,6 +16060,7 @@ const generatedFocusOperations = [
15942
16060
  from: /* @__PURE__ */ string$1(),
15943
16061
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15944
16062
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16063
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15945
16064
  to: /* @__PURE__ */ string$1(),
15946
16065
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
15947
16066
  }),
@@ -15981,6 +16100,7 @@ const generatedFocusOperations = [
15981
16100
  private_: /* @__PURE__ */ unknown$1(),
15982
16101
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
15983
16102
  task_source: /* @__PURE__ */ unknown$1(),
16103
+ team_id: /* @__PURE__ */ number$2(),
15984
16104
  unit: /* @__PURE__ */ unknown$1(),
15985
16105
  user_id: /* @__PURE__ */ number$2()
15986
16106
  }),
@@ -16230,8 +16350,6 @@ const generatedFocusOperations = [
16230
16350
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16231
16351
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
16232
16352
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16233
- integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16234
- integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16235
16353
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16236
16354
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16237
16355
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -16265,8 +16383,6 @@ const generatedFocusOperations = [
16265
16383
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16266
16384
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
16267
16385
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16268
- integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16269
- integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16270
16386
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16271
16387
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16272
16388
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -16282,12 +16398,6 @@ const generatedFocusOperations = [
16282
16398
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16283
16399
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16284
16400
  }))),
16285
- time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
16286
- start: apiDateTimeString,
16287
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16288
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16289
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
16290
- }))),
16291
16401
  time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
16292
16402
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
16293
16403
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -16297,13 +16407,6 @@ const generatedFocusOperations = [
16297
16407
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16298
16408
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16299
16409
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
16300
- time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
16301
- start: apiDateTimeString,
16302
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16303
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16304
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
16305
- })),
16306
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16307
16410
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
16308
16411
  }))
16309
16412
  }) }),
@@ -16421,6 +16524,33 @@ const generatedFocusOperations = [
16421
16524
  ]));
16422
16525
  }
16423
16526
  },
16527
+ {
16528
+ id: "focus.custom-fields.get-allowed-users",
16529
+ family: "focus",
16530
+ resource: "custom-fields",
16531
+ action: "get-allowed-users",
16532
+ title: "Get Allowed Users Custom Fields",
16533
+ description: "Get Allowed Users Custom Fields.",
16534
+ safety: "read",
16535
+ destructive: false,
16536
+ cli: {
16537
+ group: ["custom-fields"],
16538
+ command: "get-allowed-users",
16539
+ interactive: "available"
16540
+ },
16541
+ mcp: { entityTool: "custom-fields" },
16542
+ inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
16543
+ execute: (input, { client }) => {
16544
+ const data = input;
16545
+ return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
16546
+ client.httpClient,
16547
+ client.organizationId,
16548
+ client.workspaceIdNumber,
16549
+ data.custom_field_id,
16550
+ void 0
16551
+ ]));
16552
+ }
16553
+ },
16424
16554
  {
16425
16555
  id: "focus.custom-fields.list",
16426
16556
  family: "focus",
@@ -16591,30 +16721,27 @@ const generatedFocusOperations = [
16591
16721
  }
16592
16722
  },
16593
16723
  {
16594
- id: "focus.custom-fields.update",
16724
+ id: "focus.custom-fields.replace-custom-field-allowed-users",
16595
16725
  family: "focus",
16596
16726
  resource: "custom-fields",
16597
- action: "update",
16598
- title: "Update Custom Fields",
16599
- description: "Update Custom Fields.",
16727
+ action: "replace-custom-field-allowed-users",
16728
+ title: "Replace Custom Field Allowed Users Custom Fields",
16729
+ description: "Replace Custom Field Allowed Users Custom Fields.",
16600
16730
  safety: "update",
16601
16731
  destructive: false,
16602
16732
  cli: {
16603
16733
  group: ["custom-fields"],
16604
- command: "update",
16734
+ command: "replace-custom-field-allowed-users",
16605
16735
  interactive: "default"
16606
16736
  },
16607
16737
  mcp: { entityTool: "custom-fields" },
16608
16738
  inputSchema: /* @__PURE__ */ looseObject({
16609
16739
  custom_field_id: /* @__PURE__ */ number$2(),
16610
- payload: /* @__PURE__ */ looseObject({
16611
- name: /* @__PURE__ */ string$1(),
16612
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
16613
- })
16740
+ payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
16614
16741
  }),
16615
16742
  execute: (input, { client }) => {
16616
16743
  const data = input;
16617
- return client.runGeneratedRequest("updateCustomField", () => callGeneratedRequest(updateCustomField, [
16744
+ return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
16618
16745
  client.httpClient,
16619
16746
  client.organizationId,
16620
16747
  client.workspaceIdNumber,
@@ -16625,7 +16752,41 @@ const generatedFocusOperations = [
16625
16752
  }
16626
16753
  },
16627
16754
  {
16628
- id: "focus.custom-fields.update-options-order",
16755
+ id: "focus.custom-fields.update",
16756
+ family: "focus",
16757
+ resource: "custom-fields",
16758
+ action: "update",
16759
+ title: "Update Custom Fields",
16760
+ description: "Update Custom Fields.",
16761
+ safety: "update",
16762
+ destructive: false,
16763
+ cli: {
16764
+ group: ["custom-fields"],
16765
+ command: "update",
16766
+ interactive: "default"
16767
+ },
16768
+ mcp: { entityTool: "custom-fields" },
16769
+ inputSchema: /* @__PURE__ */ looseObject({
16770
+ custom_field_id: /* @__PURE__ */ number$2(),
16771
+ payload: /* @__PURE__ */ looseObject({
16772
+ name: /* @__PURE__ */ string$1(),
16773
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
16774
+ })
16775
+ }),
16776
+ execute: (input, { client }) => {
16777
+ const data = input;
16778
+ return client.runGeneratedRequest("updateCustomField", () => callGeneratedRequest(updateCustomField, [
16779
+ client.httpClient,
16780
+ client.organizationId,
16781
+ client.workspaceIdNumber,
16782
+ data.custom_field_id,
16783
+ data.payload ?? data.data ?? data,
16784
+ void 0
16785
+ ]));
16786
+ }
16787
+ },
16788
+ {
16789
+ id: "focus.custom-fields.update-options-order",
16629
16790
  family: "focus",
16630
16791
  resource: "custom-fields",
16631
16792
  action: "update-options-order",
@@ -16736,13 +16897,7 @@ const generatedFocusOperations = [
16736
16897
  },
16737
16898
  mcp: { entityTool: "goals" },
16738
16899
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16739
- billable: /* @__PURE__ */ boolean$1(),
16740
16900
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
16741
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16742
- icon: /* @__PURE__ */ string$1(),
16743
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
16744
- name: /* @__PURE__ */ string$1(),
16745
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16746
16901
  recurrence: /* @__PURE__ */ picklist$1([
16747
16902
  "daily",
16748
16903
  "weekly",
@@ -16750,12 +16905,18 @@ const generatedFocusOperations = [
16750
16905
  "monthly"
16751
16906
  ]),
16752
16907
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16753
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16754
16908
  target_seconds: /* @__PURE__ */ number$2(),
16755
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16756
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16909
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16757
16910
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16758
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
16911
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16912
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16913
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16914
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
16915
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16916
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16917
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16918
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16919
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16759
16920
  }) }),
16760
16921
  execute: (input, { client }) => {
16761
16922
  const data = input;
@@ -16861,13 +17022,6 @@ const generatedFocusOperations = [
16861
17022
  },
16862
17023
  mcp: { entityTool: "goals" },
16863
17024
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16864
- billable: /* @__PURE__ */ boolean$1(),
16865
- comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
16866
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16867
- icon: /* @__PURE__ */ string$1(),
16868
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
16869
- name: /* @__PURE__ */ string$1(),
16870
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16871
17025
  recurrence: /* @__PURE__ */ picklist$1([
16872
17026
  "daily",
16873
17027
  "weekly",
@@ -16875,12 +17029,19 @@ const generatedFocusOperations = [
16875
17029
  "monthly"
16876
17030
  ]),
16877
17031
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16878
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16879
- target_seconds: /* @__PURE__ */ number$2(),
16880
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16881
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17032
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16882
17033
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16883
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
17034
+ comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
17035
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17036
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17037
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17038
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
17039
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17040
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17041
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17042
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
17043
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17044
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16884
17045
  }) }),
16885
17046
  execute: (input, { client }) => {
16886
17047
  const data = input;
@@ -17847,9 +18008,17 @@ const generatedFocusOperations = [
17847
18008
  mcp: { entityTool: "projects" },
17848
18009
  inputSchema: /* @__PURE__ */ looseObject({
17849
18010
  payload: /* @__PURE__ */ looseObject({
18011
+ auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18012
+ completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
17850
18013
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17851
18014
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17852
18015
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18016
+ rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
18017
+ "expire",
18018
+ "carry_all",
18019
+ "carry_over"
18020
+ ])),
18021
+ rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17853
18022
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
17854
18023
  }),
17855
18024
  project_id: /* @__PURE__ */ number$2()
@@ -18293,6 +18462,7 @@ const generatedFocusOperations = [
18293
18462
  group: /* @__PURE__ */ string$1(),
18294
18463
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18295
18464
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18465
+ include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18296
18466
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18297
18467
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18298
18468
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -18395,29 +18565,6 @@ const generatedFocusOperations = [
18395
18565
  ]));
18396
18566
  }
18397
18567
  },
18398
- {
18399
- id: "focus.projects.margin-targets-clear-workspace",
18400
- family: "focus",
18401
- resource: "projects",
18402
- action: "margin-targets-clear-workspace",
18403
- title: "Margin Targets Clear Workspace Projects",
18404
- description: "Margin Targets Clear Workspace Projects.",
18405
- safety: "delete",
18406
- destructive: true,
18407
- cli: {
18408
- group: ["projects", "margin-targets"],
18409
- command: "clear-workspace",
18410
- interactive: "default"
18411
- },
18412
- mcp: { entityTool: "projects" },
18413
- inputSchema: /* @__PURE__ */ looseObject({}),
18414
- execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
18415
- client.httpClient,
18416
- client.organizationId,
18417
- client.workspaceIdNumber,
18418
- void 0
18419
- ]))
18420
- },
18421
18568
  {
18422
18569
  id: "focus.projects.margin-targets-get",
18423
18570
  family: "focus",
@@ -18862,6 +19009,130 @@ const generatedFocusOperations = [
18862
19009
  ]));
18863
19010
  }
18864
19011
  },
19012
+ {
19013
+ id: "focus.publicsharedreports.open-public-shared-report",
19014
+ family: "focus",
19015
+ resource: "publicsharedreports",
19016
+ action: "open-public-shared-report",
19017
+ title: "Open Public Shared Report Publicsharedreports",
19018
+ description: "Open Public Shared Report Publicsharedreports.",
19019
+ safety: "read",
19020
+ destructive: false,
19021
+ cli: {
19022
+ group: ["publicsharedreports"],
19023
+ command: "open-public-shared-report",
19024
+ interactive: "available"
19025
+ },
19026
+ mcp: { entityTool: "publicsharedreports" },
19027
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
19028
+ execute: (input, { client }) => {
19029
+ const data = input;
19030
+ return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
19031
+ client.httpClient,
19032
+ data.token,
19033
+ void 0
19034
+ ]));
19035
+ }
19036
+ },
19037
+ {
19038
+ id: "focus.publicsharedreports.profitability-public-shared-report",
19039
+ family: "focus",
19040
+ resource: "publicsharedreports",
19041
+ action: "profitability-public-shared-report",
19042
+ title: "Profitability Public Shared Report Publicsharedreports",
19043
+ description: "Profitability Public Shared Report Publicsharedreports.",
19044
+ safety: "update",
19045
+ destructive: false,
19046
+ cli: {
19047
+ group: ["publicsharedreports"],
19048
+ command: "profitability-public-shared-report",
19049
+ interactive: "default"
19050
+ },
19051
+ mcp: { entityTool: "publicsharedreports" },
19052
+ inputSchema: /* @__PURE__ */ looseObject({
19053
+ include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
19054
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
19055
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
19056
+ token: /* @__PURE__ */ string$1()
19057
+ }),
19058
+ execute: (input, { client }) => {
19059
+ const data = input;
19060
+ return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
19061
+ client.httpClient,
19062
+ data.token,
19063
+ data.payload ?? data.data ?? data,
19064
+ data.response_format,
19065
+ data.include_dicts,
19066
+ void 0
19067
+ ]));
19068
+ }
19069
+ },
19070
+ {
19071
+ id: "focus.publicsharedreports.query-public-shared-report",
19072
+ family: "focus",
19073
+ resource: "publicsharedreports",
19074
+ action: "query-public-shared-report",
19075
+ title: "Query Public Shared Report Publicsharedreports",
19076
+ description: "Query Public Shared Report Publicsharedreports.",
19077
+ safety: "update",
19078
+ destructive: false,
19079
+ cli: {
19080
+ group: ["publicsharedreports"],
19081
+ command: "query-public-shared-report",
19082
+ interactive: "default"
19083
+ },
19084
+ mcp: { entityTool: "publicsharedreports" },
19085
+ inputSchema: /* @__PURE__ */ looseObject({
19086
+ include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
19087
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
19088
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
19089
+ "json_row",
19090
+ "table",
19091
+ "hierarchical"
19092
+ ])),
19093
+ token: /* @__PURE__ */ string$1()
19094
+ }),
19095
+ execute: (input, { client }) => {
19096
+ const data = input;
19097
+ return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
19098
+ client.httpClient,
19099
+ data.token,
19100
+ data.payload ?? data.data ?? data,
19101
+ data.response_format,
19102
+ data.include_dicts,
19103
+ void 0
19104
+ ]));
19105
+ }
19106
+ },
19107
+ {
19108
+ id: "focus.publicsharedreports.workload-public-shared-report",
19109
+ family: "focus",
19110
+ resource: "publicsharedreports",
19111
+ action: "workload-public-shared-report",
19112
+ title: "Workload Public Shared Report Publicsharedreports",
19113
+ description: "Workload Public Shared Report Publicsharedreports.",
19114
+ safety: "update",
19115
+ destructive: false,
19116
+ cli: {
19117
+ group: ["publicsharedreports"],
19118
+ command: "workload-public-shared-report",
19119
+ interactive: "default"
19120
+ },
19121
+ mcp: { entityTool: "publicsharedreports" },
19122
+ inputSchema: /* @__PURE__ */ looseObject({
19123
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
19124
+ token: /* @__PURE__ */ string$1()
19125
+ }),
19126
+ execute: (input, { client }) => {
19127
+ const data = input;
19128
+ return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
19129
+ client.httpClient,
19130
+ data.token,
19131
+ data.payload ?? data.data ?? data,
19132
+ void 0
19133
+ ]));
19134
+ }
19135
+ },
18865
19136
  {
18866
19137
  id: "focus.rates.billable-check-project-billable-rate-conflicts",
18867
19138
  family: "focus",
@@ -20820,7 +21091,7 @@ const generatedFocusOperations = [
20820
21091
  cli: {
20821
21092
  group: ["reportschedules"],
20822
21093
  command: "upsert-saved-view-schedule",
20823
- interactive: "default"
21094
+ interactive: "hidden"
20824
21095
  },
20825
21096
  mcp: { entityTool: "reportschedules" },
20826
21097
  inputSchema: /* @__PURE__ */ looseObject({
@@ -20831,8 +21102,10 @@ const generatedFocusOperations = [
20831
21102
  "weekly",
20832
21103
  "monthly"
20833
21104
  ]),
21105
+ charts: /* @__PURE__ */ unknown$1(),
20834
21106
  time: /* @__PURE__ */ string$1(),
20835
21107
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21108
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
20836
21109
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
20837
21110
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
20838
21111
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -21165,6 +21438,32 @@ const generatedFocusOperations = [
21165
21438
  ]));
21166
21439
  }
21167
21440
  },
21441
+ {
21442
+ id: "focus.sharedreports.get-shared-report-dates",
21443
+ family: "focus",
21444
+ resource: "sharedreports",
21445
+ action: "get-shared-report-dates",
21446
+ title: "Get Shared Report Dates Sharedreports",
21447
+ description: "Get Shared Report Dates Sharedreports.",
21448
+ safety: "read",
21449
+ destructive: false,
21450
+ cli: {
21451
+ group: ["sharedreports"],
21452
+ command: "get-shared-report-dates",
21453
+ interactive: "available"
21454
+ },
21455
+ mcp: { entityTool: "sharedreports" },
21456
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21457
+ execute: (input, { client }) => {
21458
+ const data = input;
21459
+ return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
21460
+ client.httpClient,
21461
+ client.workspaceIdNumber,
21462
+ data.id,
21463
+ void 0
21464
+ ]));
21465
+ }
21466
+ },
21168
21467
  {
21169
21468
  id: "focus.sharedreports.get-shared-report-for-viewer",
21170
21469
  family: "focus",
@@ -21235,6 +21534,36 @@ const generatedFocusOperations = [
21235
21534
  void 0
21236
21535
  ]))
21237
21536
  },
21537
+ {
21538
+ id: "focus.sharedreports.mint-shared-report-link",
21539
+ family: "focus",
21540
+ resource: "sharedreports",
21541
+ action: "mint-shared-report-link",
21542
+ title: "Mint Shared Report Link Sharedreports",
21543
+ description: "Mint Shared Report Link Sharedreports.",
21544
+ safety: "update",
21545
+ destructive: false,
21546
+ cli: {
21547
+ group: ["sharedreports"],
21548
+ command: "mint-shared-report-link",
21549
+ interactive: "default"
21550
+ },
21551
+ mcp: { entityTool: "sharedreports" },
21552
+ inputSchema: /* @__PURE__ */ looseObject({
21553
+ id: /* @__PURE__ */ number$2(),
21554
+ payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
21555
+ }),
21556
+ execute: (input, { client }) => {
21557
+ const data = input;
21558
+ return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
21559
+ client.httpClient,
21560
+ client.workspaceIdNumber,
21561
+ data.id,
21562
+ data.payload ?? data.data ?? data,
21563
+ void 0
21564
+ ]));
21565
+ }
21566
+ },
21238
21567
  {
21239
21568
  id: "focus.sharedreports.revoke-shared-report-grant",
21240
21569
  family: "focus",
@@ -21266,71 +21595,53 @@ const generatedFocusOperations = [
21266
21595
  }
21267
21596
  },
21268
21597
  {
21269
- id: "focus.sharedreports.share-saved-view",
21598
+ id: "focus.sharedreports.revoke-shared-report-link",
21270
21599
  family: "focus",
21271
21600
  resource: "sharedreports",
21272
- action: "share-saved-view",
21273
- title: "Share Saved View Sharedreports",
21274
- description: "Share Saved View Sharedreports.",
21275
- safety: "update",
21276
- destructive: false,
21601
+ action: "revoke-shared-report-link",
21602
+ title: "Revoke Shared Report Link Sharedreports",
21603
+ description: "Revoke Shared Report Link Sharedreports.",
21604
+ safety: "delete",
21605
+ destructive: true,
21277
21606
  cli: {
21278
21607
  group: ["sharedreports"],
21279
- command: "share-saved-view",
21280
- interactive: "hidden"
21608
+ command: "revoke-shared-report-link",
21609
+ interactive: "default"
21281
21610
  },
21282
21611
  mcp: { entityTool: "sharedreports" },
21283
- inputSchema: /* @__PURE__ */ looseObject({
21284
- id: /* @__PURE__ */ number$2(),
21285
- payload: /* @__PURE__ */ looseObject({
21286
- charts: /* @__PURE__ */ unknown$1(),
21287
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21288
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21289
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21290
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21291
- })
21292
- }),
21612
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21293
21613
  execute: (input, { client }) => {
21294
21614
  const data = input;
21295
- return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
21615
+ return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
21296
21616
  client.httpClient,
21297
21617
  client.workspaceIdNumber,
21298
21618
  data.id,
21299
- data.payload ?? data.data ?? data,
21300
21619
  void 0
21301
21620
  ]));
21302
21621
  }
21303
21622
  },
21304
21623
  {
21305
- id: "focus.sharedreports.share-saved-view-many",
21624
+ id: "focus.sharedreports.rotate-shared-report-link",
21306
21625
  family: "focus",
21307
21626
  resource: "sharedreports",
21308
- action: "share-saved-view-many",
21309
- title: "Share Saved View Many Sharedreports",
21310
- description: "Share Saved View Many Sharedreports.",
21627
+ action: "rotate-shared-report-link",
21628
+ title: "Rotate Shared Report Link Sharedreports",
21629
+ description: "Rotate Shared Report Link Sharedreports.",
21311
21630
  safety: "update",
21312
21631
  destructive: false,
21313
21632
  cli: {
21314
21633
  group: ["sharedreports"],
21315
- command: "share-saved-view-many",
21316
- interactive: "hidden"
21634
+ command: "rotate-shared-report-link",
21635
+ interactive: "default"
21317
21636
  },
21318
21637
  mcp: { entityTool: "sharedreports" },
21319
21638
  inputSchema: /* @__PURE__ */ looseObject({
21320
21639
  id: /* @__PURE__ */ number$2(),
21321
- payload: /* @__PURE__ */ looseObject({
21322
- charts: /* @__PURE__ */ unknown$1(),
21323
- grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21324
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21325
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21326
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21327
- })),
21328
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21329
- })
21640
+ payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
21330
21641
  }),
21331
21642
  execute: (input, { client }) => {
21332
21643
  const data = input;
21333
- return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
21644
+ return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
21334
21645
  client.httpClient,
21335
21646
  client.workspaceIdNumber,
21336
21647
  data.id,
@@ -21340,25 +21651,155 @@ const generatedFocusOperations = [
21340
21651
  }
21341
21652
  },
21342
21653
  {
21343
- id: "focus.statuses.create-status",
21654
+ id: "focus.sharedreports.set-shared-report-dates-lock",
21344
21655
  family: "focus",
21345
- resource: "statuses",
21346
- action: "create-status",
21347
- title: "Create Status Statuses",
21348
- description: "Create Status Statuses.",
21349
- safety: "create",
21656
+ resource: "sharedreports",
21657
+ action: "set-shared-report-dates-lock",
21658
+ title: "Set Shared Report Dates Lock Sharedreports",
21659
+ description: "Set Shared Report Dates Lock Sharedreports.",
21660
+ safety: "update",
21350
21661
  destructive: false,
21351
21662
  cli: {
21352
- group: ["statuses"],
21353
- command: "create-status",
21663
+ group: ["sharedreports"],
21664
+ command: "set-shared-report-dates-lock",
21354
21665
  interactive: "default"
21355
21666
  },
21356
- mcp: { entityTool: "statuses" },
21357
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
21358
- emoji: /* @__PURE__ */ string$1(),
21359
- name: /* @__PURE__ */ string$1(),
21360
- position: /* @__PURE__ */ number$2()
21361
- }) }),
21667
+ mcp: { entityTool: "sharedreports" },
21668
+ inputSchema: /* @__PURE__ */ looseObject({
21669
+ id: /* @__PURE__ */ number$2(),
21670
+ payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
21671
+ }),
21672
+ execute: (input, { client }) => {
21673
+ const data = input;
21674
+ return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
21675
+ client.httpClient,
21676
+ client.workspaceIdNumber,
21677
+ data.id,
21678
+ data.payload ?? data.data ?? data,
21679
+ void 0
21680
+ ]));
21681
+ }
21682
+ },
21683
+ {
21684
+ id: "focus.sharedreports.share-saved-view",
21685
+ family: "focus",
21686
+ resource: "sharedreports",
21687
+ action: "share-saved-view",
21688
+ title: "Share Saved View Sharedreports",
21689
+ description: "Share Saved View Sharedreports.",
21690
+ safety: "update",
21691
+ destructive: false,
21692
+ cli: {
21693
+ group: ["sharedreports"],
21694
+ command: "share-saved-view",
21695
+ interactive: "hidden"
21696
+ },
21697
+ mcp: { entityTool: "sharedreports" },
21698
+ inputSchema: /* @__PURE__ */ looseObject({
21699
+ id: /* @__PURE__ */ number$2(),
21700
+ payload: /* @__PURE__ */ looseObject({
21701
+ charts: /* @__PURE__ */ unknown$1(),
21702
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21703
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21704
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21705
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21706
+ })
21707
+ }),
21708
+ execute: (input, { client }) => {
21709
+ const data = input;
21710
+ return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
21711
+ client.httpClient,
21712
+ client.workspaceIdNumber,
21713
+ data.id,
21714
+ data.payload ?? data.data ?? data,
21715
+ void 0
21716
+ ]));
21717
+ }
21718
+ },
21719
+ {
21720
+ id: "focus.sharedreports.share-saved-view-many",
21721
+ family: "focus",
21722
+ resource: "sharedreports",
21723
+ action: "share-saved-view-many",
21724
+ title: "Share Saved View Many Sharedreports",
21725
+ description: "Share Saved View Many Sharedreports.",
21726
+ safety: "update",
21727
+ destructive: false,
21728
+ cli: {
21729
+ group: ["sharedreports"],
21730
+ command: "share-saved-view-many",
21731
+ interactive: "hidden"
21732
+ },
21733
+ mcp: { entityTool: "sharedreports" },
21734
+ inputSchema: /* @__PURE__ */ looseObject({
21735
+ id: /* @__PURE__ */ number$2(),
21736
+ payload: /* @__PURE__ */ looseObject({
21737
+ charts: /* @__PURE__ */ unknown$1(),
21738
+ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21739
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21740
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21741
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21742
+ })),
21743
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21744
+ })
21745
+ }),
21746
+ execute: (input, { client }) => {
21747
+ const data = input;
21748
+ return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
21749
+ client.httpClient,
21750
+ client.workspaceIdNumber,
21751
+ data.id,
21752
+ data.payload ?? data.data ?? data,
21753
+ void 0
21754
+ ]));
21755
+ }
21756
+ },
21757
+ {
21758
+ id: "focus.sharedreports.unshare-shared-report",
21759
+ family: "focus",
21760
+ resource: "sharedreports",
21761
+ action: "unshare-shared-report",
21762
+ title: "Unshare Shared Report Sharedreports",
21763
+ description: "Unshare Shared Report Sharedreports.",
21764
+ safety: "delete",
21765
+ destructive: true,
21766
+ cli: {
21767
+ group: ["sharedreports"],
21768
+ command: "unshare-shared-report",
21769
+ interactive: "default"
21770
+ },
21771
+ mcp: { entityTool: "sharedreports" },
21772
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21773
+ execute: (input, { client }) => {
21774
+ const data = input;
21775
+ return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
21776
+ client.httpClient,
21777
+ client.workspaceIdNumber,
21778
+ data.id,
21779
+ void 0
21780
+ ]));
21781
+ }
21782
+ },
21783
+ {
21784
+ id: "focus.statuses.create-status",
21785
+ family: "focus",
21786
+ resource: "statuses",
21787
+ action: "create-status",
21788
+ title: "Create Status Statuses",
21789
+ description: "Create Status Statuses.",
21790
+ safety: "create",
21791
+ destructive: false,
21792
+ cli: {
21793
+ group: ["statuses"],
21794
+ command: "create-status",
21795
+ interactive: "default"
21796
+ },
21797
+ mcp: { entityTool: "statuses" },
21798
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
21799
+ emoji: /* @__PURE__ */ string$1(),
21800
+ name: /* @__PURE__ */ string$1(),
21801
+ position: /* @__PURE__ */ number$2()
21802
+ }) }),
21362
21803
  execute: (input, { client }) => {
21363
21804
  const data = input;
21364
21805
  return client.runGeneratedRequest("createStatus", () => callGeneratedRequest(createStatus, [
@@ -22381,6 +22822,37 @@ const generatedFocusOperations = [
22381
22822
  return client.createTask(data);
22382
22823
  }
22383
22824
  },
22825
+ {
22826
+ id: "focus.tasks.create-recurring-occurrence",
22827
+ family: "focus",
22828
+ resource: "tasks",
22829
+ action: "create-recurring-occurrence",
22830
+ title: "Create Recurring Occurrence Tasks",
22831
+ description: "Create Recurring Occurrence Tasks.",
22832
+ safety: "create",
22833
+ destructive: false,
22834
+ cli: {
22835
+ group: ["tasks"],
22836
+ command: "create-recurring-occurrence",
22837
+ interactive: "default"
22838
+ },
22839
+ mcp: { entityTool: "tasks" },
22840
+ inputSchema: /* @__PURE__ */ looseObject({
22841
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22842
+ task_id: /* @__PURE__ */ number$2()
22843
+ }),
22844
+ execute: (input, { client }) => {
22845
+ const data = input;
22846
+ return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
22847
+ client.httpClient,
22848
+ client.organizationId,
22849
+ client.workspaceIdNumber,
22850
+ data.task_id,
22851
+ data.return_occurrence,
22852
+ void 0
22853
+ ]));
22854
+ }
22855
+ },
22384
22856
  {
22385
22857
  id: "focus.tasks.delete",
22386
22858
  family: "focus",
@@ -22605,6 +23077,79 @@ const generatedFocusOperations = [
22605
23077
  ]));
22606
23078
  }
22607
23079
  },
23080
+ {
23081
+ id: "focus.tasks.get-picker-task-children",
23082
+ family: "focus",
23083
+ resource: "tasks",
23084
+ action: "get-picker-task-children",
23085
+ title: "Get Picker Task Children Tasks",
23086
+ description: "Get Picker Task Children Tasks.",
23087
+ safety: "read",
23088
+ destructive: false,
23089
+ cli: {
23090
+ group: ["tasks"],
23091
+ command: "get-picker-task-children",
23092
+ interactive: "hidden"
23093
+ },
23094
+ mcp: { entityTool: "tasks" },
23095
+ inputSchema: /* @__PURE__ */ looseObject({
23096
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23097
+ only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23098
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23099
+ parent_task_id: /* @__PURE__ */ number$2(),
23100
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23101
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23102
+ search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23103
+ without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23104
+ }),
23105
+ execute: (input, { client }) => {
23106
+ const data = input;
23107
+ return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
23108
+ client.httpClient,
23109
+ client.organizationId,
23110
+ client.workspaceIdNumber,
23111
+ data.parent_task_id,
23112
+ data,
23113
+ void 0
23114
+ ]));
23115
+ }
23116
+ },
23117
+ {
23118
+ id: "focus.tasks.get-picker-task-groups",
23119
+ family: "focus",
23120
+ resource: "tasks",
23121
+ action: "get-picker-task-groups",
23122
+ title: "Get Picker Task Groups Tasks",
23123
+ description: "Get Picker Task Groups Tasks.",
23124
+ safety: "read",
23125
+ destructive: false,
23126
+ cli: {
23127
+ group: ["tasks"],
23128
+ command: "get-picker-task-groups",
23129
+ interactive: "hidden"
23130
+ },
23131
+ mcp: { entityTool: "tasks" },
23132
+ inputSchema: /* @__PURE__ */ looseObject({
23133
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23134
+ only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23135
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23136
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23137
+ pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23138
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23139
+ search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23140
+ without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23141
+ }),
23142
+ execute: (input, { client }) => {
23143
+ const data = input;
23144
+ return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
23145
+ client.httpClient,
23146
+ client.organizationId,
23147
+ client.workspaceIdNumber,
23148
+ data,
23149
+ void 0
23150
+ ]));
23151
+ }
23152
+ },
22608
23153
  {
22609
23154
  id: "focus.tasks.get-recurring-instances",
22610
23155
  family: "focus",
@@ -22628,9 +23173,13 @@ const generatedFocusOperations = [
22628
23173
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22629
23174
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22630
23175
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23176
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23177
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22631
23178
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22632
23179
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23180
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22633
23181
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23182
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22634
23183
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22635
23184
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
22636
23185
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -22676,13 +23225,14 @@ const generatedFocusOperations = [
22676
23225
  estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22677
23226
  estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22678
23227
  has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22679
- has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22680
23228
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22681
23229
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22682
23230
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22683
23231
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22684
23232
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23233
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22685
23234
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23235
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22686
23236
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22687
23237
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22688
23238
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -22691,7 +23241,9 @@ const generatedFocusOperations = [
22691
23241
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22692
23242
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22693
23243
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23244
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22694
23245
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23246
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22695
23247
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22696
23248
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22697
23249
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22700,8 +23252,6 @@ const generatedFocusOperations = [
22700
23252
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22701
23253
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
22702
23254
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22703
- time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22704
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22705
23255
  toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22706
23256
  with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
22707
23257
  }),
@@ -22829,8 +23379,10 @@ const generatedFocusOperations = [
22829
23379
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22830
23380
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22831
23381
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23382
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22832
23383
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22833
23384
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23385
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22834
23386
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22835
23387
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22836
23388
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22839,6 +23391,8 @@ const generatedFocusOperations = [
22839
23391
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22840
23392
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22841
23393
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23394
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23395
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22842
23396
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22843
23397
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22844
23398
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22847,7 +23401,8 @@ const generatedFocusOperations = [
22847
23401
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
22848
23402
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22849
23403
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22850
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23404
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23405
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
22851
23406
  }),
22852
23407
  execute: (input, { client }) => {
22853
23408
  const data = input;
@@ -22889,13 +23444,17 @@ const generatedFocusOperations = [
22889
23444
  group_id: /* @__PURE__ */ number$2(),
22890
23445
  include_assignees: /* @__PURE__ */ unknown$1(),
22891
23446
  include_drafts: /* @__PURE__ */ unknown$1(),
23447
+ include_projected_occurrences: /* @__PURE__ */ unknown$1(),
22892
23448
  include_unassigned: /* @__PURE__ */ unknown$1(),
22893
23449
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
23450
+ max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
22894
23451
  min_days: /* @__PURE__ */ unknown$1(),
22895
23452
  name: /* @__PURE__ */ unknown$1(),
22896
23453
  priority: /* @__PURE__ */ unknown$1(),
22897
23454
  private_: /* @__PURE__ */ unknown$1(),
22898
23455
  project_id: /* @__PURE__ */ number$2(),
23456
+ recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23457
+ recurring_task_read: /* @__PURE__ */ unknown$1(),
22899
23458
  source: /* @__PURE__ */ unknown$1(),
22900
23459
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
22901
23460
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -22904,7 +23463,8 @@ const generatedFocusOperations = [
22904
23463
  tag_id: /* @__PURE__ */ number$2(),
22905
23464
  team_id: /* @__PURE__ */ number$2(),
22906
23465
  user_cf_filter: /* @__PURE__ */ unknown$1(),
22907
- user_tag_id: /* @__PURE__ */ number$2()
23466
+ user_tag_id: /* @__PURE__ */ number$2(),
23467
+ xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
22908
23468
  }),
22909
23469
  execute: (input, { client }) => {
22910
23470
  const data = input;
@@ -22945,13 +23505,17 @@ const generatedFocusOperations = [
22945
23505
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22946
23506
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22947
23507
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23508
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22948
23509
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22949
23510
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23511
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22950
23512
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22951
23513
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22952
23514
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22953
23515
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22954
23516
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23517
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23518
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22955
23519
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22956
23520
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22957
23521
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22960,7 +23524,8 @@ const generatedFocusOperations = [
22960
23524
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22961
23525
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22962
23526
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22963
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23527
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23528
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
22964
23529
  }),
22965
23530
  execute: (input, { client }) => {
22966
23531
  const data = input;
@@ -23190,522 +23755,59 @@ const generatedFocusOperations = [
23190
23755
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23191
23756
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
23192
23757
  "none",
23193
- "low",
23194
- "medium",
23195
- "high"
23196
- ])),
23197
- private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23198
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23199
- recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23200
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23201
- start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
23202
- }),
23203
- task_id: /* @__PURE__ */ number$2()
23204
- }),
23205
- execute: (input, { client }) => {
23206
- const data = input;
23207
- return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
23208
- client.httpClient,
23209
- client.organizationId,
23210
- client.workspaceIdNumber,
23211
- data.task_id,
23212
- data.payload ?? data.data ?? data,
23213
- void 0
23214
- ]));
23215
- }
23216
- },
23217
- {
23218
- id: "focus.tasks.update-calendar-range",
23219
- family: "focus",
23220
- resource: "tasks",
23221
- action: "update-calendar-range",
23222
- title: "Update Calendar Range Tasks",
23223
- description: "Update Calendar Range Tasks.",
23224
- safety: "update",
23225
- destructive: false,
23226
- cli: {
23227
- group: ["tasks"],
23228
- command: "update-calendar-range",
23229
- interactive: "default"
23230
- },
23231
- mcp: { entityTool: "tasks" },
23232
- inputSchema: /* @__PURE__ */ looseObject({
23233
- date_from: /* @__PURE__ */ string$1(),
23234
- date_to: /* @__PURE__ */ string$1()
23235
- }),
23236
- execute: (input, { client }) => {
23237
- const data = input;
23238
- return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
23239
- client.httpClient,
23240
- client.organizationId,
23241
- client.workspaceIdNumber,
23242
- data.date_from,
23243
- data.date_to,
23244
- void 0
23245
- ]));
23246
- }
23247
- },
23248
- {
23249
- id: "focus.time-blocks.archive",
23250
- family: "focus",
23251
- resource: "time-blocks",
23252
- action: "archive",
23253
- title: "Archive Time Blocks",
23254
- description: "Archive Time Blocks.",
23255
- safety: "update",
23256
- destructive: false,
23257
- cli: {
23258
- group: ["time-blocks"],
23259
- command: "archive",
23260
- interactive: "default"
23261
- },
23262
- mcp: { entityTool: "time-blocks" },
23263
- inputSchema: /* @__PURE__ */ looseObject({
23264
- task_id: /* @__PURE__ */ number$2(),
23265
- time_block_id: /* @__PURE__ */ number$2()
23266
- }),
23267
- execute: (input, { client }) => {
23268
- const data = input;
23269
- return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
23270
- client.httpClient,
23271
- client.organizationId,
23272
- client.workspaceIdNumber,
23273
- data.task_id,
23274
- data.time_block_id,
23275
- void 0
23276
- ]));
23277
- }
23278
- },
23279
- {
23280
- id: "focus.time-blocks.bulk-create",
23281
- family: "focus",
23282
- resource: "time-blocks",
23283
- action: "bulk-create",
23284
- title: "Bulk Create Time Blocks",
23285
- description: "Bulk Create Time Blocks.",
23286
- safety: "create",
23287
- destructive: false,
23288
- cli: {
23289
- group: ["time-blocks", "bulk"],
23290
- command: "create",
23291
- interactive: "default"
23292
- },
23293
- mcp: { entityTool: "time-blocks" },
23294
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
23295
- start: apiDateTimeString,
23296
- task_id: /* @__PURE__ */ number$2(),
23297
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23298
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23299
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23300
- })) }) }),
23301
- execute: (input, { client }) => {
23302
- const data = input;
23303
- return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
23304
- client.httpClient,
23305
- client.organizationId,
23306
- client.workspaceIdNumber,
23307
- data.payload ?? data.data ?? data,
23308
- void 0
23309
- ]));
23310
- }
23311
- },
23312
- {
23313
- id: "focus.time-blocks.bulk-delete",
23314
- family: "focus",
23315
- resource: "time-blocks",
23316
- action: "bulk-delete",
23317
- title: "Bulk Delete Time Blocks",
23318
- description: "Bulk Delete Time Blocks.",
23319
- safety: "delete",
23320
- destructive: true,
23321
- cli: {
23322
- group: ["time-blocks", "bulk"],
23323
- command: "delete",
23324
- interactive: "default"
23325
- },
23326
- mcp: { entityTool: "time-blocks" },
23327
- inputSchema: /* @__PURE__ */ looseObject({
23328
- ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
23329
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23330
- }),
23331
- execute: (input, { client }) => {
23332
- const data = input;
23333
- return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
23334
- client.httpClient,
23335
- client.organizationId,
23336
- client.workspaceIdNumber,
23337
- data.ids,
23338
- data.outbound_sync,
23339
- void 0
23340
- ]));
23341
- }
23342
- },
23343
- {
23344
- id: "focus.time-blocks.bulk-partial-update",
23345
- family: "focus",
23346
- resource: "time-blocks",
23347
- action: "bulk-partial-update",
23348
- title: "Bulk Partial Update Time Blocks",
23349
- description: "Bulk Partial Update Time Blocks.",
23350
- safety: "update",
23351
- destructive: false,
23352
- cli: {
23353
- group: ["time-blocks", "bulk"],
23354
- command: "partial-update",
23355
- interactive: "hidden"
23356
- },
23357
- mcp: { entityTool: "time-blocks" },
23358
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
23359
- execute: (input, { client }) => {
23360
- const data = input;
23361
- return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
23362
- client.httpClient,
23363
- client.organizationId,
23364
- client.workspaceIdNumber,
23365
- data.payload ?? data.data ?? data,
23366
- void 0
23367
- ]));
23368
- }
23369
- },
23370
- {
23371
- id: "focus.time-blocks.create",
23372
- family: "focus",
23373
- resource: "time-blocks",
23374
- action: "create",
23375
- title: "Create Time Blocks",
23376
- description: "Create Time Blocks.",
23377
- safety: "create",
23378
- destructive: false,
23379
- cli: {
23380
- group: ["time-blocks"],
23381
- command: "create",
23382
- interactive: "default"
23383
- },
23384
- mcp: { entityTool: "time-blocks" },
23385
- inputSchema: /* @__PURE__ */ looseObject({
23386
- payload: /* @__PURE__ */ looseObject({
23387
- start: apiDateTimeString,
23388
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23389
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23390
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23391
- }),
23392
- task_id: /* @__PURE__ */ number$2()
23393
- }),
23394
- execute: (input, { client }) => {
23395
- const data = input;
23396
- return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
23397
- client.httpClient,
23398
- client.organizationId,
23399
- client.workspaceIdNumber,
23400
- data.task_id,
23401
- data.payload ?? data.data ?? data,
23402
- void 0
23403
- ]));
23404
- }
23405
- },
23406
- {
23407
- id: "focus.time-blocks.delete",
23408
- family: "focus",
23409
- resource: "time-blocks",
23410
- action: "delete",
23411
- title: "Delete Time Blocks",
23412
- description: "Delete Time Blocks.",
23413
- safety: "delete",
23414
- destructive: true,
23415
- cli: {
23416
- group: ["time-blocks"],
23417
- command: "delete",
23418
- interactive: "default"
23419
- },
23420
- mcp: { entityTool: "time-blocks" },
23421
- inputSchema: /* @__PURE__ */ looseObject({
23422
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23423
- task_id: /* @__PURE__ */ number$2(),
23424
- time_block_id: /* @__PURE__ */ number$2()
23425
- }),
23426
- execute: (input, { client }) => {
23427
- const data = input;
23428
- return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
23429
- client.httpClient,
23430
- client.organizationId,
23431
- client.workspaceIdNumber,
23432
- data.task_id,
23433
- data.time_block_id,
23434
- data.outbound_sync,
23435
- void 0
23436
- ]));
23437
- }
23438
- },
23439
- {
23440
- id: "focus.time-blocks.get",
23441
- family: "focus",
23442
- resource: "time-blocks",
23443
- action: "get",
23444
- title: "Get Time Blocks",
23445
- description: "Get Time Blocks.",
23446
- safety: "read",
23447
- destructive: false,
23448
- cli: {
23449
- group: ["time-blocks"],
23450
- command: "get",
23451
- interactive: "available"
23452
- },
23453
- mcp: { entityTool: "time-blocks" },
23454
- inputSchema: /* @__PURE__ */ looseObject({
23455
- task_id: /* @__PURE__ */ number$2(),
23456
- time_block_id: /* @__PURE__ */ number$2()
23457
- }),
23458
- execute: (input, { client }) => {
23459
- const data = input;
23460
- return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
23461
- client.httpClient,
23462
- client.organizationId,
23463
- client.workspaceIdNumber,
23464
- data.task_id,
23465
- data.time_block_id,
23466
- void 0
23467
- ]));
23468
- }
23469
- },
23470
- {
23471
- id: "focus.time-blocks.get-range",
23472
- family: "focus",
23473
- resource: "time-blocks",
23474
- action: "get-range",
23475
- title: "Get Range Time Blocks",
23476
- description: "Get Range Time Blocks.",
23477
- safety: "read",
23478
- destructive: false,
23479
- cli: {
23480
- group: ["time-blocks"],
23481
- command: "get-range",
23482
- interactive: "hidden"
23483
- },
23484
- mcp: { entityTool: "time-blocks" },
23485
- inputSchema: /* @__PURE__ */ looseObject({
23486
- archived: /* @__PURE__ */ unknown$1(),
23487
- date_from: /* @__PURE__ */ unknown$1(),
23488
- date_to: /* @__PURE__ */ unknown$1(),
23489
- order_by: /* @__PURE__ */ unknown$1(),
23490
- page: /* @__PURE__ */ number$2(),
23491
- per_page: /* @__PURE__ */ unknown$1(),
23492
- status_id: /* @__PURE__ */ number$2(),
23493
- task_id: /* @__PURE__ */ number$2()
23494
- }),
23495
- execute: (input, { client }) => {
23496
- const data = input;
23497
- return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
23498
- client.httpClient,
23499
- client.organizationId,
23500
- client.workspaceIdNumber,
23501
- data,
23502
- void 0
23503
- ]));
23504
- }
23505
- },
23506
- {
23507
- id: "focus.time-blocks.get-range-stream",
23508
- family: "focus",
23509
- resource: "time-blocks",
23510
- action: "get-range-stream",
23511
- title: "Get Range Stream Time Blocks",
23512
- description: "Get Range Stream Time Blocks.",
23513
- safety: "read",
23514
- destructive: false,
23515
- cli: {
23516
- group: ["time-blocks"],
23517
- command: "get-range-stream",
23518
- interactive: "hidden"
23519
- },
23520
- mcp: { entityTool: "time-blocks" },
23521
- inputSchema: /* @__PURE__ */ looseObject({
23522
- archived: /* @__PURE__ */ unknown$1(),
23523
- date_from: /* @__PURE__ */ unknown$1(),
23524
- date_to: /* @__PURE__ */ unknown$1(),
23525
- order_by: /* @__PURE__ */ unknown$1(),
23526
- status_id: /* @__PURE__ */ number$2(),
23527
- task_id: /* @__PURE__ */ number$2()
23528
- }),
23529
- execute: (input, { client }) => {
23530
- const data = input;
23531
- return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
23532
- client.httpClient,
23533
- client.organizationId,
23534
- client.workspaceIdNumber,
23535
- data,
23536
- void 0
23537
- ]));
23538
- }
23539
- },
23540
- {
23541
- id: "focus.time-blocks.get-task-time-blocks",
23542
- family: "focus",
23543
- resource: "time-blocks",
23544
- action: "get-task-time-blocks",
23545
- title: "Get Task Time Blocks Time Blocks",
23546
- description: "Get Task Time Blocks Time Blocks.",
23547
- safety: "read",
23548
- destructive: false,
23549
- cli: {
23550
- group: ["time-blocks"],
23551
- command: "get-task-time-blocks",
23552
- interactive: "hidden"
23553
- },
23554
- mcp: { entityTool: "time-blocks" },
23555
- inputSchema: /* @__PURE__ */ looseObject({
23556
- archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23557
- order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23558
- page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23559
- per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23560
- task_id: /* @__PURE__ */ number$2()
23561
- }),
23562
- execute: (input, { client }) => {
23563
- const data = input;
23564
- return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
23565
- client.httpClient,
23566
- client.organizationId,
23567
- client.workspaceIdNumber,
23568
- data.task_id,
23569
- data,
23570
- void 0
23571
- ]));
23572
- }
23573
- },
23574
- {
23575
- id: "focus.time-blocks.partial-update",
23576
- family: "focus",
23577
- resource: "time-blocks",
23578
- action: "partial-update",
23579
- title: "Partial Update Time Blocks",
23580
- description: "Partial Update Time Blocks.",
23581
- safety: "update",
23582
- destructive: false,
23583
- cli: {
23584
- group: ["time-blocks"],
23585
- command: "partial-update",
23586
- interactive: "default"
23587
- },
23588
- mcp: { entityTool: "time-blocks" },
23589
- inputSchema: /* @__PURE__ */ looseObject({
23590
- payload: /* @__PURE__ */ looseObject({
23591
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23592
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23593
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23594
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
23595
- task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23596
- }),
23597
- task_id: /* @__PURE__ */ number$2(),
23598
- time_block_id: /* @__PURE__ */ number$2()
23599
- }),
23600
- execute: (input, { client }) => {
23601
- const data = input;
23602
- return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
23603
- client.httpClient,
23604
- client.organizationId,
23605
- client.workspaceIdNumber,
23606
- data.task_id,
23607
- data.time_block_id,
23608
- data.payload ?? data.data ?? data,
23609
- void 0
23610
- ]));
23611
- }
23612
- },
23613
- {
23614
- id: "focus.time-blocks.restore",
23615
- family: "focus",
23616
- resource: "time-blocks",
23617
- action: "restore",
23618
- title: "Restore Time Blocks",
23619
- description: "Restore Time Blocks.",
23620
- safety: "update",
23621
- destructive: false,
23622
- cli: {
23623
- group: ["time-blocks"],
23624
- command: "restore",
23625
- interactive: "default"
23626
- },
23627
- mcp: { entityTool: "time-blocks" },
23628
- inputSchema: /* @__PURE__ */ looseObject({
23629
- task_id: /* @__PURE__ */ number$2(),
23630
- time_block_id: /* @__PURE__ */ number$2()
23631
- }),
23632
- execute: (input, { client }) => {
23633
- const data = input;
23634
- return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
23635
- client.httpClient,
23636
- client.organizationId,
23637
- client.workspaceIdNumber,
23638
- data.task_id,
23639
- data.time_block_id,
23640
- void 0
23641
- ]));
23642
- }
23643
- },
23644
- {
23645
- id: "focus.time-blocks.unarchive",
23646
- family: "focus",
23647
- resource: "time-blocks",
23648
- action: "unarchive",
23649
- title: "Unarchive Time Blocks",
23650
- description: "Unarchive Time Blocks.",
23651
- safety: "update",
23652
- destructive: false,
23653
- cli: {
23654
- group: ["time-blocks"],
23655
- command: "unarchive",
23656
- interactive: "default"
23657
- },
23658
- mcp: { entityTool: "time-blocks" },
23659
- inputSchema: /* @__PURE__ */ looseObject({
23660
- task_id: /* @__PURE__ */ number$2(),
23661
- time_block_id: /* @__PURE__ */ number$2()
23758
+ "low",
23759
+ "medium",
23760
+ "high"
23761
+ ])),
23762
+ private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23763
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23764
+ recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23765
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23766
+ start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
23767
+ }),
23768
+ task_id: /* @__PURE__ */ number$2()
23662
23769
  }),
23663
23770
  execute: (input, { client }) => {
23664
23771
  const data = input;
23665
- return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
23772
+ return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
23666
23773
  client.httpClient,
23667
23774
  client.organizationId,
23668
23775
  client.workspaceIdNumber,
23669
23776
  data.task_id,
23670
- data.time_block_id,
23777
+ data.payload ?? data.data ?? data,
23671
23778
  void 0
23672
23779
  ]));
23673
23780
  }
23674
23781
  },
23675
23782
  {
23676
- id: "focus.time-blocks.update",
23783
+ id: "focus.tasks.update-calendar-range",
23677
23784
  family: "focus",
23678
- resource: "time-blocks",
23679
- action: "update",
23680
- title: "Update Time Blocks",
23681
- description: "Update Time Blocks.",
23785
+ resource: "tasks",
23786
+ action: "update-calendar-range",
23787
+ title: "Update Calendar Range Tasks",
23788
+ description: "Update Calendar Range Tasks.",
23682
23789
  safety: "update",
23683
23790
  destructive: false,
23684
23791
  cli: {
23685
- group: ["time-blocks"],
23686
- command: "update",
23792
+ group: ["tasks"],
23793
+ command: "update-calendar-range",
23687
23794
  interactive: "default"
23688
23795
  },
23689
- mcp: { entityTool: "time-blocks" },
23796
+ mcp: { entityTool: "tasks" },
23690
23797
  inputSchema: /* @__PURE__ */ looseObject({
23691
- payload: /* @__PURE__ */ looseObject({
23692
- start: apiDateTimeString,
23693
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23694
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23695
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23696
- }),
23697
- task_id: /* @__PURE__ */ number$2(),
23698
- time_block_id: /* @__PURE__ */ number$2()
23798
+ date_from: /* @__PURE__ */ string$1(),
23799
+ date_to: /* @__PURE__ */ string$1(),
23800
+ skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23699
23801
  }),
23700
23802
  execute: (input, { client }) => {
23701
23803
  const data = input;
23702
- return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
23804
+ return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
23703
23805
  client.httpClient,
23704
23806
  client.organizationId,
23705
23807
  client.workspaceIdNumber,
23706
- data.task_id,
23707
- data.time_block_id,
23708
- data.payload ?? data.data ?? data,
23808
+ data.date_from,
23809
+ data.date_to,
23810
+ data.skip_provider_refresh,
23709
23811
  void 0
23710
23812
  ]));
23711
23813
  }
@@ -23925,7 +24027,8 @@ const generatedFocusOperations = [
23925
24027
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
23926
24028
  "project",
23927
24029
  "task",
23928
- "description"
24030
+ "description",
24031
+ "tags"
23929
24032
  ]) })),
23930
24033
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23931
24034
  }) }),
@@ -23955,6 +24058,7 @@ const generatedFocusOperations = [
23955
24058
  },
23956
24059
  mcp: { entityTool: "time-entries" },
23957
24060
  inputSchema: /* @__PURE__ */ looseObject({
24061
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23958
24062
  payload: /* @__PURE__ */ looseObject({
23959
24063
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
23960
24064
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -23965,11 +24069,12 @@ const generatedFocusOperations = [
23965
24069
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23966
24070
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23967
24071
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24072
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23968
24073
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
23969
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23970
24074
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
23971
24075
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23972
24076
  }),
24077
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23973
24078
  task_id: /* @__PURE__ */ number$2()
23974
24079
  }),
23975
24080
  execute: (input, { client }) => {
@@ -23980,6 +24085,8 @@ const generatedFocusOperations = [
23980
24085
  client.workspaceIdNumber,
23981
24086
  data.task_id,
23982
24087
  data.payload ?? data.data ?? data,
24088
+ data.from_recurring_task_id,
24089
+ data.return_occurrence,
23983
24090
  void 0
23984
24091
  ]));
23985
24092
  }
@@ -23999,21 +24106,25 @@ const generatedFocusOperations = [
23999
24106
  interactive: "default"
24000
24107
  },
24001
24108
  mcp: { entityTool: "time-entries" },
24002
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
24003
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24004
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24005
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24006
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24007
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24008
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24009
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24010
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24011
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24012
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
24013
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24014
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24015
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24016
- }) }),
24109
+ inputSchema: /* @__PURE__ */ looseObject({
24110
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24111
+ payload: /* @__PURE__ */ looseObject({
24112
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24113
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24114
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24115
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24116
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24117
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24118
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24119
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24120
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24121
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24122
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
24123
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24124
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24125
+ }),
24126
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24127
+ }),
24017
24128
  execute: (input, { client }) => {
24018
24129
  const data = input;
24019
24130
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -24021,6 +24132,8 @@ const generatedFocusOperations = [
24021
24132
  client.organizationId,
24022
24133
  client.workspaceIdNumber,
24023
24134
  data.payload ?? data.data ?? data,
24135
+ data.from_recurring_task_id,
24136
+ data.return_occurrence,
24024
24137
  void 0
24025
24138
  ]));
24026
24139
  }
@@ -24040,7 +24153,11 @@ const generatedFocusOperations = [
24040
24153
  interactive: "default"
24041
24154
  },
24042
24155
  mcp: { entityTool: "time-entries" },
24043
- inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
24156
+ inputSchema: /* @__PURE__ */ looseObject({
24157
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24158
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24159
+ time_entry_id: /* @__PURE__ */ number$2()
24160
+ }),
24044
24161
  execute: (input, { client }) => {
24045
24162
  const data = input;
24046
24163
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -24048,6 +24165,8 @@ const generatedFocusOperations = [
24048
24165
  client.organizationId,
24049
24166
  client.workspaceIdNumber,
24050
24167
  data.time_entry_id,
24168
+ data.from_recurring_task_id,
24169
+ data.return_occurrence,
24051
24170
  void 0
24052
24171
  ]));
24053
24172
  }
@@ -24128,6 +24247,7 @@ const generatedFocusOperations = [
24128
24247
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
24129
24248
  include_taskless: /* @__PURE__ */ unknown$1(),
24130
24249
  order_by: /* @__PURE__ */ unknown$1(),
24250
+ project_id: /* @__PURE__ */ number$2(),
24131
24251
  status_id: /* @__PURE__ */ number$2(),
24132
24252
  task_id: /* @__PURE__ */ number$2(),
24133
24253
  type: /* @__PURE__ */ unknown$1()
@@ -24143,33 +24263,6 @@ const generatedFocusOperations = [
24143
24263
  ]));
24144
24264
  }
24145
24265
  },
24146
- {
24147
- id: "focus.time-entries.get-stream-time-entries-time-block-ids",
24148
- family: "focus",
24149
- resource: "time-entries",
24150
- action: "get-stream-time-entries-time-block-ids",
24151
- title: "Get Stream Time Entries Time Block Ids Time Entries",
24152
- description: "Get Stream Time Entries Time Block Ids Time Entries.",
24153
- safety: "read",
24154
- destructive: false,
24155
- cli: {
24156
- group: ["time-entries"],
24157
- command: "get-stream-time-entries-time-block-ids",
24158
- interactive: "available"
24159
- },
24160
- mcp: { entityTool: "time-entries" },
24161
- inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
24162
- execute: (input, { client }) => {
24163
- const data = input;
24164
- return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
24165
- client.httpClient,
24166
- client.organizationId,
24167
- client.workspaceIdNumber,
24168
- data,
24169
- void 0
24170
- ]));
24171
- }
24172
- },
24173
24266
  {
24174
24267
  id: "focus.time-entries.get-task-time-entries",
24175
24268
  family: "focus",
@@ -24191,7 +24284,6 @@ const generatedFocusOperations = [
24191
24284
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24192
24285
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24193
24286
  task_id: /* @__PURE__ */ number$2(),
24194
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24195
24287
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
24196
24288
  }),
24197
24289
  execute: (input, { client }) => {
@@ -24304,12 +24396,14 @@ const generatedFocusOperations = [
24304
24396
  },
24305
24397
  mcp: { entityTool: "time-entries" },
24306
24398
  inputSchema: /* @__PURE__ */ looseObject({
24399
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24307
24400
  payload: /* @__PURE__ */ looseObject({
24308
24401
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24309
24402
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24310
24403
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24311
24404
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
24312
24405
  }),
24406
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24313
24407
  time_entry_id: /* @__PURE__ */ number$2()
24314
24408
  }),
24315
24409
  execute: (input, { client }) => {
@@ -24320,6 +24414,8 @@ const generatedFocusOperations = [
24320
24414
  client.workspaceIdNumber,
24321
24415
  data.time_entry_id,
24322
24416
  data.payload ?? data.data ?? data,
24417
+ data.from_recurring_task_id,
24418
+ data.return_occurrence,
24323
24419
  void 0
24324
24420
  ]));
24325
24421
  }
@@ -24577,6 +24673,7 @@ const generatedFocusOperations = [
24577
24673
  },
24578
24674
  mcp: { entityTool: "time-entries" },
24579
24675
  inputSchema: /* @__PURE__ */ looseObject({
24676
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24580
24677
  payload: /* @__PURE__ */ looseObject({
24581
24678
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24582
24679
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -24586,9 +24683,9 @@ const generatedFocusOperations = [
24586
24683
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24587
24684
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24588
24685
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
24589
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24590
24686
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
24591
24687
  }),
24688
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24592
24689
  time_entry_id: /* @__PURE__ */ number$2()
24593
24690
  }),
24594
24691
  execute: (input, { client }) => {
@@ -24599,6 +24696,8 @@ const generatedFocusOperations = [
24599
24696
  client.workspaceIdNumber,
24600
24697
  data.time_entry_id,
24601
24698
  data.payload ?? data.data ?? data,
24699
+ data.from_recurring_task_id,
24700
+ data.return_occurrence,
24602
24701
  void 0
24603
24702
  ]));
24604
24703
  }
@@ -24663,6 +24762,118 @@ const generatedFocusOperations = [
24663
24762
  ]));
24664
24763
  }
24665
24764
  },
24765
+ {
24766
+ id: "focus.time-off.get-timeoff-balance-changes-for-user",
24767
+ family: "focus",
24768
+ resource: "time-off",
24769
+ action: "get-timeoff-balance-changes-for-user",
24770
+ title: "Get Timeoff Balance Changes For User Time Off",
24771
+ description: "Get Timeoff Balance Changes For User Time Off.",
24772
+ safety: "read",
24773
+ destructive: false,
24774
+ cli: {
24775
+ group: ["time-off"],
24776
+ command: "get-timeoff-balance-changes-for-user",
24777
+ interactive: "hidden"
24778
+ },
24779
+ mcp: { entityTool: "time-off" },
24780
+ inputSchema: /* @__PURE__ */ looseObject({
24781
+ category_id: /* @__PURE__ */ number$2(),
24782
+ page: /* @__PURE__ */ number$2(),
24783
+ rows: /* @__PURE__ */ unknown$1(),
24784
+ user_id: /* @__PURE__ */ number$2(),
24785
+ year: /* @__PURE__ */ unknown$1()
24786
+ }),
24787
+ execute: (input, { client }) => {
24788
+ const data = input;
24789
+ return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
24790
+ client.httpClient,
24791
+ client.organizationId,
24792
+ data.user_id,
24793
+ data,
24794
+ void 0
24795
+ ]));
24796
+ }
24797
+ },
24798
+ {
24799
+ id: "focus.time-off.get-timeoff-balances-for-user",
24800
+ family: "focus",
24801
+ resource: "time-off",
24802
+ action: "get-timeoff-balances-for-user",
24803
+ title: "Get Timeoff Balances For User Time Off",
24804
+ description: "Get Timeoff Balances For User Time Off.",
24805
+ safety: "read",
24806
+ destructive: false,
24807
+ cli: {
24808
+ group: ["time-off"],
24809
+ command: "get-timeoff-balances-for-user",
24810
+ interactive: "available"
24811
+ },
24812
+ mcp: { entityTool: "time-off" },
24813
+ inputSchema: /* @__PURE__ */ looseObject({
24814
+ category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24815
+ date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
24816
+ user_id: /* @__PURE__ */ number$2()
24817
+ }),
24818
+ execute: (input, { client }) => {
24819
+ const data = input;
24820
+ return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
24821
+ client.httpClient,
24822
+ client.organizationId,
24823
+ data.user_id,
24824
+ data,
24825
+ void 0
24826
+ ]));
24827
+ }
24828
+ },
24829
+ {
24830
+ id: "focus.time-off.get-timeoff-categories",
24831
+ family: "focus",
24832
+ resource: "time-off",
24833
+ action: "get-timeoff-categories",
24834
+ title: "Get Timeoff Categories Time Off",
24835
+ description: "Get Timeoff Categories Time Off.",
24836
+ safety: "read",
24837
+ destructive: false,
24838
+ cli: {
24839
+ group: ["time-off"],
24840
+ command: "get-timeoff-categories",
24841
+ interactive: "hidden"
24842
+ },
24843
+ mcp: { entityTool: "time-off" },
24844
+ inputSchema: /* @__PURE__ */ looseObject({}),
24845
+ execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
24846
+ client.httpClient,
24847
+ client.organizationId,
24848
+ void 0
24849
+ ]))
24850
+ },
24851
+ {
24852
+ id: "focus.time-off.get-timeoff-category",
24853
+ family: "focus",
24854
+ resource: "time-off",
24855
+ action: "get-timeoff-category",
24856
+ title: "Get Timeoff Category Time Off",
24857
+ description: "Get Timeoff Category Time Off.",
24858
+ safety: "read",
24859
+ destructive: false,
24860
+ cli: {
24861
+ group: ["time-off"],
24862
+ command: "get-timeoff-category",
24863
+ interactive: "available"
24864
+ },
24865
+ mcp: { entityTool: "time-off" },
24866
+ inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
24867
+ execute: (input, { client }) => {
24868
+ const data = input;
24869
+ return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
24870
+ client.httpClient,
24871
+ client.organizationId,
24872
+ data.category_id,
24873
+ void 0
24874
+ ]));
24875
+ }
24876
+ },
24666
24877
  {
24667
24878
  id: "focus.time-off.get-timeoff-for-user",
24668
24879
  family: "focus",
@@ -25114,6 +25325,40 @@ const generatedFocusOperations = [
25114
25325
  ]));
25115
25326
  }
25116
25327
  },
25328
+ {
25329
+ id: "focus.timesheets.get-status-counts",
25330
+ family: "focus",
25331
+ resource: "timesheets",
25332
+ action: "get-status-counts",
25333
+ title: "Get Status Counts Timesheets",
25334
+ description: "Get Status Counts Timesheets.",
25335
+ safety: "read",
25336
+ destructive: false,
25337
+ cli: {
25338
+ group: ["timesheets"],
25339
+ command: "get-status-counts",
25340
+ interactive: "hidden"
25341
+ },
25342
+ mcp: { entityTool: "timesheets" },
25343
+ inputSchema: /* @__PURE__ */ looseObject({
25344
+ approver_user_account_ids: /* @__PURE__ */ unknown$1(),
25345
+ date_from: /* @__PURE__ */ unknown$1(),
25346
+ date_to: /* @__PURE__ */ unknown$1(),
25347
+ setup_id: /* @__PURE__ */ number$2(),
25348
+ team_ids: /* @__PURE__ */ unknown$1(),
25349
+ user_account_ids: /* @__PURE__ */ unknown$1()
25350
+ }),
25351
+ execute: (input, { client }) => {
25352
+ const data = input;
25353
+ return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
25354
+ client.httpClient,
25355
+ client.organizationId,
25356
+ client.workspaceIdNumber,
25357
+ data,
25358
+ void 0
25359
+ ]));
25360
+ }
25361
+ },
25117
25362
  {
25118
25363
  id: "focus.timesheets.remove-timesheet-flag",
25119
25364
  family: "focus",
@@ -25663,6 +25908,33 @@ const generatedFocusOperations = [
25663
25908
  ]));
25664
25909
  }
25665
25910
  },
25911
+ {
25912
+ id: "focus.track-team-invites.post",
25913
+ family: "focus",
25914
+ resource: "track-team-invites",
25915
+ action: "post",
25916
+ title: "Post Track Team Invites",
25917
+ description: "Post Track Team Invites.",
25918
+ safety: "create",
25919
+ destructive: false,
25920
+ cli: {
25921
+ group: ["track-team-invites"],
25922
+ command: "post",
25923
+ interactive: "default"
25924
+ },
25925
+ mcp: { entityTool: "track-team-invites" },
25926
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
25927
+ execute: (input, { client }) => {
25928
+ const data = input;
25929
+ return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
25930
+ client.httpClient,
25931
+ client.organizationId,
25932
+ client.workspaceIdNumber,
25933
+ data.payload ?? data.data ?? data,
25934
+ void 0
25935
+ ]));
25936
+ }
25937
+ },
25666
25938
  {
25667
25939
  id: "focus.users.list",
25668
25940
  family: "focus",
@@ -25684,6 +25956,56 @@ const generatedFocusOperations = [
25684
25956
  return client.listOrgUsers(data);
25685
25957
  }
25686
25958
  },
25959
+ {
25960
+ id: "focus.users.settings-email-unsubscribe",
25961
+ family: "focus",
25962
+ resource: "users",
25963
+ action: "settings-email-unsubscribe",
25964
+ title: "Settings Email Unsubscribe Users",
25965
+ description: "Settings Email Unsubscribe Users.",
25966
+ safety: "update",
25967
+ destructive: false,
25968
+ cli: {
25969
+ group: ["users", "settings"],
25970
+ command: "email-unsubscribe",
25971
+ interactive: "default"
25972
+ },
25973
+ mcp: { entityTool: "users" },
25974
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
25975
+ execute: (input, { client }) => {
25976
+ const data = input;
25977
+ return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
25978
+ client.httpClient,
25979
+ data.token,
25980
+ void 0
25981
+ ]));
25982
+ }
25983
+ },
25984
+ {
25985
+ id: "focus.users.settings-email-unsubscribe-page",
25986
+ family: "focus",
25987
+ resource: "users",
25988
+ action: "settings-email-unsubscribe-page",
25989
+ title: "Settings Email Unsubscribe Page Users",
25990
+ description: "Settings Email Unsubscribe Page Users.",
25991
+ safety: "read",
25992
+ destructive: false,
25993
+ cli: {
25994
+ group: ["users", "settings"],
25995
+ command: "email-unsubscribe-page",
25996
+ interactive: "available"
25997
+ },
25998
+ mcp: { entityTool: "users" },
25999
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
26000
+ execute: (input, { client }) => {
26001
+ const data = input;
26002
+ return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
26003
+ client.httpClient,
26004
+ data.token,
26005
+ void 0
26006
+ ]));
26007
+ }
26008
+ },
25687
26009
  {
25688
26010
  id: "focus.users.settings-list",
25689
26011
  family: "focus",
@@ -25745,6 +26067,9 @@ const generatedFocusOperations = [
25745
26067
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25746
26068
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25747
26069
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26070
+ notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26071
+ notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26072
+ notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25748
26073
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25749
26074
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25750
26075
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -27804,4 +28129,4 @@ Common commands:
27804
28129
  //#endregion
27805
28130
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
27806
28131
 
27807
- //# sourceMappingURL=program-DwleEZW_.js.map
28132
+ //# sourceMappingURL=program-1aIaHDui.js.map