@togglhq/cli 1.11.70 → 1.11.71

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.
@@ -7254,7 +7254,6 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
7254
7254
  name: /* @__PURE__ */ string(),
7255
7255
  permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
7256
7256
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7257
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7258
7257
  client: /* @__PURE__ */ optional(ClientLiteSchema),
7259
7258
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7260
7259
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -7341,7 +7340,6 @@ const TaskSchema = /* @__PURE__ */ object({
7341
7340
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7342
7341
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7343
7342
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7344
- 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."))),
7345
7343
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7346
7344
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7347
7345
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7403,7 +7401,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7403
7401
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7404
7402
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7405
7403
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7406
- 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."))),
7407
7404
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7408
7405
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7409
7406
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -7564,8 +7561,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
7564
7561
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7565
7562
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7566
7563
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7567
- 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."))),
7568
- 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."))),
7569
7564
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7570
7565
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7571
7566
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -7651,10 +7646,8 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
7651
7646
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7652
7647
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7653
7648
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7654
- filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7655
7649
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
7656
7650
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7657
- picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7658
7651
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
7659
7652
  recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7660
7653
  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)."))),
@@ -7710,8 +7703,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
7710
7703
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7711
7704
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7712
7705
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7713
- 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."))),
7714
- 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."))),
7715
7706
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7716
7707
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7717
7708
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -7884,6 +7875,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7884
7875
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7885
7876
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7886
7877
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
7878
+ integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7879
+ integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7887
7880
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7888
7881
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7889
7882
  pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7940,7 +7933,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7940
7933
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7941
7934
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7942
7935
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7943
- 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."))),
7944
7936
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7945
7937
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7946
7938
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -7977,7 +7969,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7977
7969
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7978
7970
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7979
7971
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7980
- 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."))),
7981
7972
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7982
7973
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7983
7974
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -7998,6 +7989,7 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
7998
7989
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7999
7990
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
8000
7991
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7992
+ time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8001
7993
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
8002
7994
  user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
8003
7995
  });
@@ -8026,7 +8018,8 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
8026
8018
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8027
8019
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
8028
8020
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
8029
- task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
8021
+ task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8022
+ time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
8030
8023
  });
8031
8024
  const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
8032
8025
  //#endregion
@@ -9900,7 +9893,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
9900
9893
  })
9901
9894
  }).json();
9902
9895
  }
9903
- 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) {
9896
+ 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) {
9904
9897
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
9905
9898
  signal,
9906
9899
  searchParams: buildSearchParams$2({
@@ -9921,7 +9914,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
9921
9914
  include_rates,
9922
9915
  pinned_ids,
9923
9916
  has_group,
9924
- track_without_focus,
9925
9917
  cf_filter,
9926
9918
  include_custom_fields,
9927
9919
  include_calendar_integration
@@ -10023,20 +10015,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
10023
10015
  }
10024
10016
  //#endregion
10025
10017
  //#region ../focus-queries/dist/projects/requests.ts
10026
- 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) {
10018
+ 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) {
10027
10019
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
10028
10020
  signal,
10029
10021
  searchParams: buildSearchParams$2({
10030
- include_task_counts,
10031
- include_picker_parent_group_counts,
10032
- task_archived,
10033
- task_recurring,
10034
- task_state,
10035
- task_source,
10036
- task_assignee_user_id,
10037
- task_assignee_team_id,
10038
- task_include_unassigned,
10039
- task_name,
10040
10022
  page,
10041
10023
  per_page,
10042
10024
  order_by,
@@ -10286,7 +10268,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10286
10268
  }
10287
10269
  //#endregion
10288
10270
  //#region ../focus-queries/dist/tasks/requests.ts
10289
- 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) {
10271
+ 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) {
10290
10272
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10291
10273
  signal,
10292
10274
  searchParams: buildSearchParams$2({
@@ -10299,6 +10281,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10299
10281
  toggl_user_id,
10300
10282
  name,
10301
10283
  has_time_entries,
10284
+ has_time_blocks,
10302
10285
  has_dates,
10303
10286
  private: private_,
10304
10287
  archived,
@@ -10321,6 +10304,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10321
10304
  priority,
10322
10305
  is_priority,
10323
10306
  state,
10307
+ timeblock_start_from,
10308
+ timeblock_start_until,
10309
+ time_block_id,
10310
+ time_block_completed,
10324
10311
  team_id,
10325
10312
  assignee_team_id,
10326
10313
  assignee_user_id,
@@ -10332,11 +10319,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10332
10319
  include_assignees,
10333
10320
  include_parent_matches,
10334
10321
  disable_aggregations,
10335
- cf_filter,
10336
- recurring_occurrences_after,
10337
- max_recurring_occurrences_after,
10338
- recurring_task_read,
10339
- include_projected_occurrences
10322
+ cf_filter
10340
10323
  })
10341
10324
  }).json();
10342
10325
  }
@@ -10411,46 +10394,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
10411
10394
  })
10412
10395
  }).json();
10413
10396
  }
10414
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
10397
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
10415
10398
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
10416
10399
  signal,
10417
10400
  searchParams: buildSearchParams$2({
10418
10401
  date_from,
10419
- date_to,
10420
- skip_provider_refresh
10421
- })
10422
- }).json();
10423
- }
10424
- async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
10425
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
10426
- signal,
10427
- searchParams: buildSearchParams$2({
10428
- project_id,
10429
- without_project,
10430
- pinned_only,
10431
- include_unassigned,
10432
- search,
10433
- only_me,
10434
- page,
10435
- per_page
10436
- })
10437
- }).json();
10438
- }
10439
- async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
10440
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
10441
- signal,
10442
- searchParams: buildSearchParams$2({
10443
- project_id,
10444
- without_project,
10445
- include_unassigned,
10446
- search,
10447
- only_me,
10448
- page,
10449
- per_page
10402
+ date_to
10450
10403
  })
10451
10404
  }).json();
10452
10405
  }
10453
- 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) {
10406
+ 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) {
10454
10407
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
10455
10408
  signal,
10456
10409
  searchParams: buildSearchParams$2({
@@ -10466,15 +10419,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10466
10419
  assignee_team_id,
10467
10420
  assignee_user_id,
10468
10421
  tag_id,
10469
- include_assignees,
10470
- recurring_occurrences_after,
10471
- max_recurring_occurrences_after,
10472
- recurring_task_read,
10473
- include_projected_occurrences
10422
+ include_assignees
10474
10423
  })
10475
10424
  }).json();
10476
10425
  }
10477
- 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) {
10426
+ 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) {
10478
10427
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10479
10428
  signal,
10480
10429
  searchParams: buildSearchParams$2({
@@ -10486,6 +10435,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10486
10435
  name,
10487
10436
  include_parent_matches,
10488
10437
  has_time_entries,
10438
+ has_time_blocks,
10489
10439
  has_dates,
10490
10440
  private: private_,
10491
10441
  archived,
@@ -10508,6 +10458,8 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10508
10458
  priority,
10509
10459
  is_priority,
10510
10460
  state,
10461
+ time_block_id,
10462
+ time_block_completed,
10511
10463
  team_id,
10512
10464
  assignee_team_id,
10513
10465
  assignee_user_id,
@@ -10516,11 +10468,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10516
10468
  recurring_task_ids,
10517
10469
  client_id,
10518
10470
  include_assignees,
10519
- cf_filter,
10520
- recurring_occurrences_after,
10521
- max_recurring_occurrences_after,
10522
- recurring_task_read,
10523
- include_projected_occurrences
10471
+ cf_filter
10524
10472
  })
10525
10473
  }).json();
10526
10474
  }
@@ -10575,12 +10523,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
10575
10523
  })
10576
10524
  }).json();
10577
10525
  }
10578
- async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
10579
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
10580
- signal,
10581
- searchParams: buildSearchParams$2({ return_occurrence })
10582
- }).json();
10583
- }
10584
10526
  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) {
10585
10527
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
10586
10528
  signal,
@@ -10606,7 +10548,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
10606
10548
  }
10607
10549
  //#endregion
10608
10550
  //#region ../focus-queries/dist/time-entries/requests.ts
10609
- async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
10551
+ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived, time_block_id } = {}, signal) {
10610
10552
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
10611
10553
  signal,
10612
10554
  searchParams: buildSearchParams$2({
@@ -10614,28 +10556,21 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
10614
10556
  per_page,
10615
10557
  order_by,
10616
10558
  type,
10617
- archived
10559
+ archived,
10560
+ time_block_id
10618
10561
  })
10619
10562
  }).json();
10620
10563
  }
10621
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
10564
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
10622
10565
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
10623
10566
  signal,
10624
- json: data,
10625
- searchParams: buildSearchParams$2({
10626
- from_recurring_task_id,
10627
- return_occurrence
10628
- })
10567
+ json: data
10629
10568
  }).json();
10630
10569
  }
10631
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
10570
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
10632
10571
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
10633
10572
  signal,
10634
- json: data,
10635
- searchParams: buildSearchParams$2({
10636
- from_recurring_task_id,
10637
- return_occurrence
10638
- })
10573
+ json: data
10639
10574
  }).json();
10640
10575
  }
10641
10576
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -10686,7 +10621,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
10686
10621
  json: data
10687
10622
  }).json();
10688
10623
  }
10689
- 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) {
10624
+ 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) {
10690
10625
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
10691
10626
  signal,
10692
10627
  searchParams: buildSearchParams$2({
@@ -10694,7 +10629,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
10694
10629
  date_to,
10695
10630
  task_id,
10696
10631
  status_id,
10697
- project_id,
10698
10632
  type,
10699
10633
  order_by,
10700
10634
  archived,
@@ -10709,36 +10643,28 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
10709
10643
  json: data
10710
10644
  }).json();
10711
10645
  }
10646
+ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
10647
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
10648
+ signal,
10649
+ searchParams: buildSearchParams$2({ time_block_id })
10650
+ }).json();
10651
+ }
10712
10652
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
10713
10653
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
10714
10654
  }
10715
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10655
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10716
10656
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10717
10657
  signal,
10718
- json: data,
10719
- searchParams: buildSearchParams$2({
10720
- from_recurring_task_id,
10721
- return_occurrence
10722
- })
10658
+ json: data
10723
10659
  }).json();
10724
10660
  }
10725
- async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
10726
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10727
- signal,
10728
- searchParams: buildSearchParams$2({
10729
- from_recurring_task_id,
10730
- return_occurrence
10731
- })
10732
- }).json();
10661
+ async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
10662
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
10733
10663
  }
10734
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10664
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10735
10665
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10736
10666
  signal,
10737
- json: data,
10738
- searchParams: buildSearchParams$2({
10739
- from_recurring_task_id,
10740
- return_occurrence
10741
- })
10667
+ json: data
10742
10668
  }).json();
10743
10669
  }
10744
10670
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -14423,15 +14349,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
14423
14349
  }
14424
14350
  //#endregion
14425
14351
  //#region ../focus-queries/dist/audit-log/requests.ts
14426
- 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) {
14352
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14427
14353
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
14428
14354
  signal,
14429
14355
  searchParams: buildSearchParams$2({
14430
14356
  workspace_id,
14431
14357
  entity_type,
14432
14358
  entity_id,
14433
- project_id,
14434
- custom_field_id,
14435
14359
  action,
14436
14360
  user_id,
14437
14361
  page_size,
@@ -14440,14 +14364,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
14440
14364
  })
14441
14365
  }).json();
14442
14366
  }
14443
- 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) {
14367
+ async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14444
14368
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
14445
14369
  signal,
14446
14370
  searchParams: buildSearchParams$2({
14447
14371
  entity_type,
14448
14372
  entity_id,
14449
- project_id,
14450
- custom_field_id,
14451
14373
  action,
14452
14374
  user_id,
14453
14375
  page_size,
@@ -14600,14 +14522,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
14600
14522
  }
14601
14523
  //#endregion
14602
14524
  //#region ../focus-queries/dist/capacities/requests.ts
14603
- 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) {
14525
+ 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) {
14604
14526
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
14605
14527
  signal,
14606
14528
  searchParams: buildSearchParams$2({
14529
+ user_id,
14607
14530
  start_date,
14608
14531
  end_date,
14609
- user_id,
14610
- team_id,
14611
14532
  private: private_,
14612
14533
  task_source,
14613
14534
  unit,
@@ -14667,15 +14588,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
14667
14588
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
14668
14589
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
14669
14590
  }
14670
- async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
14671
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
14672
- }
14673
- async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
14674
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
14675
- signal,
14676
- json: data
14677
- }).json();
14678
- }
14679
14591
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
14680
14592
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
14681
14593
  signal,
@@ -14939,7 +14851,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
14939
14851
  }
14940
14852
  //#endregion
14941
14853
  //#region ../focus-queries/dist/project-groups/requests.ts
14942
- 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) {
14854
+ 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) {
14943
14855
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
14944
14856
  signal,
14945
14857
  searchParams: buildSearchParams$2({
@@ -14965,7 +14877,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
14965
14877
  user_id,
14966
14878
  only_me,
14967
14879
  include_drafts,
14968
- include_recurring_series,
14969
14880
  cf_filter
14970
14881
  })
14971
14882
  }).json();
@@ -14984,6 +14895,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
14984
14895
  json: data
14985
14896
  }).json();
14986
14897
  }
14898
+ async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
14899
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
14900
+ }
14987
14901
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
14988
14902
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
14989
14903
  }
@@ -15009,37 +14923,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
15009
14923
  }).json();
15010
14924
  }
15011
14925
  //#endregion
15012
- //#region ../focus-queries/dist/publicsharedreports/requests.ts
15013
- async function openPublicSharedReport(httpClient, token, signal) {
15014
- return await httpClient.get(`shared/${token}`, { signal }).json();
15015
- }
15016
- async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
15017
- return await httpClient.post(`shared/${token}/profitability`, {
15018
- signal,
15019
- json: data,
15020
- searchParams: buildSearchParams$2({
15021
- response_format,
15022
- include_dicts
15023
- })
15024
- }).json();
15025
- }
15026
- async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
15027
- return await httpClient.post(`shared/${token}/query`, {
15028
- signal,
15029
- json: data,
15030
- searchParams: buildSearchParams$2({
15031
- response_format,
15032
- include_dicts
15033
- })
15034
- }).json();
15035
- }
15036
- async function workloadPublicSharedReport(httpClient, token, data, signal) {
15037
- return await httpClient.post(`shared/${token}/workload`, {
15038
- signal,
15039
- json: data
15040
- }).json();
15041
- }
15042
- //#endregion
15043
14926
  //#region ../focus-queries/dist/rates/requests.ts
15044
14927
  async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
15045
14928
  const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
@@ -15201,7 +15084,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
15201
15084
  }
15202
15085
  //#endregion
15203
15086
  //#region ../focus-queries/dist/search/requests.ts
15204
- 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) {
15087
+ 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) {
15205
15088
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
15206
15089
  signal,
15207
15090
  searchParams: buildSearchParams$2({
@@ -15209,7 +15092,6 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
15209
15092
  per_group,
15210
15093
  assignee_user_id,
15211
15094
  assignee_team_id,
15212
- include_unassigned,
15213
15095
  project_id,
15214
15096
  task_id,
15215
15097
  include_drafts,
@@ -15254,18 +15136,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
15254
15136
  async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
15255
15137
  return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
15256
15138
  }
15257
- async function unshareSharedReport(httpClient, workspace_id, id, signal) {
15258
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
15259
- }
15260
- async function getSharedReportDates(httpClient, workspace_id, id, signal) {
15261
- return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
15262
- }
15263
- async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
15264
- return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
15265
- signal,
15266
- json: data
15267
- }).json();
15268
- }
15269
15139
  async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
15270
15140
  return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
15271
15141
  signal,
@@ -15275,21 +15145,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
15275
15145
  async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
15276
15146
  return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
15277
15147
  }
15278
- async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
15279
- return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
15280
- signal,
15281
- json: data
15282
- }).json();
15283
- }
15284
- async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
15285
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
15286
- }
15287
- async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
15288
- return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
15289
- signal,
15290
- json: data
15291
- }).json();
15292
- }
15293
15148
  //#endregion
15294
15149
  //#region ../focus-queries/dist/subscriptions/requests.ts
15295
15150
  async function getCurrentSubscription(httpClient, organization_id, signal) {
@@ -15346,10 +15201,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
15346
15201
  }
15347
15202
  //#endregion
15348
15203
  //#region ../focus-queries/dist/task-groups/requests.ts
15349
- 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) {
15204
+ 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) {
15350
15205
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
15351
15206
  signal,
15352
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15353
15207
  searchParams: buildSearchParams$2({
15354
15208
  project_id,
15355
15209
  source,
@@ -15378,18 +15232,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
15378
15232
  min_days,
15379
15233
  include_drafts,
15380
15234
  cf_filter,
15381
- user_cf_filter,
15382
- recurring_occurrences_after,
15383
- max_recurring_occurrences_after,
15384
- recurring_task_read,
15385
- include_projected_occurrences
15235
+ user_cf_filter
15386
15236
  })
15387
15237
  }).json();
15388
15238
  }
15389
- 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) {
15239
+ 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) {
15390
15240
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
15391
15241
  signal,
15392
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15393
15242
  searchParams: buildSearchParams$2({
15394
15243
  team_id,
15395
15244
  project_id,
@@ -15418,18 +15267,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
15418
15267
  min_days,
15419
15268
  include_drafts,
15420
15269
  cf_filter,
15421
- user_cf_filter,
15422
- recurring_occurrences_after,
15423
- max_recurring_occurrences_after,
15424
- recurring_task_read,
15425
- include_projected_occurrences
15270
+ user_cf_filter
15426
15271
  })
15427
15272
  }).json();
15428
15273
  }
15429
- 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) {
15274
+ 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) {
15430
15275
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
15431
15276
  signal,
15432
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15433
15277
  searchParams: buildSearchParams$2({
15434
15278
  source,
15435
15279
  priority,
@@ -15459,10 +15303,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
15459
15303
  include_drafts,
15460
15304
  cf_filter,
15461
15305
  user_cf_filter,
15462
- recurring_occurrences_after,
15463
- max_recurring_occurrences_after,
15464
- recurring_task_read,
15465
- include_projected_occurrences,
15466
15306
  page,
15467
15307
  per_page,
15468
15308
  order_by
@@ -15490,6 +15330,104 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
15490
15330
  }).json();
15491
15331
  }
15492
15332
  //#endregion
15333
+ //#region ../focus-queries/dist/time-blocks/requests.ts
15334
+ async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
15335
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
15336
+ signal,
15337
+ searchParams: buildSearchParams$2({
15338
+ page,
15339
+ per_page,
15340
+ order_by,
15341
+ archived
15342
+ })
15343
+ }).json();
15344
+ }
15345
+ async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
15346
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
15347
+ signal,
15348
+ json: data
15349
+ }).json();
15350
+ }
15351
+ async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
15352
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
15353
+ }
15354
+ async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
15355
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
15356
+ signal,
15357
+ json: data
15358
+ }).json();
15359
+ }
15360
+ async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
15361
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
15362
+ signal,
15363
+ searchParams: buildSearchParams$2({ outbound_sync })
15364
+ }).json();
15365
+ }
15366
+ async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
15367
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
15368
+ signal,
15369
+ json: data
15370
+ }).json();
15371
+ }
15372
+ async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
15373
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
15374
+ }
15375
+ async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
15376
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
15377
+ }
15378
+ async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
15379
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
15380
+ }
15381
+ async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
15382
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
15383
+ signal,
15384
+ searchParams: buildSearchParams$2({
15385
+ date_from,
15386
+ date_to,
15387
+ task_id,
15388
+ status_id,
15389
+ page,
15390
+ per_page,
15391
+ archived,
15392
+ order_by
15393
+ })
15394
+ }).json();
15395
+ }
15396
+ async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
15397
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
15398
+ signal,
15399
+ json: data
15400
+ }).json();
15401
+ }
15402
+ async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
15403
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
15404
+ signal,
15405
+ searchParams: buildSearchParams$2({
15406
+ ids,
15407
+ outbound_sync
15408
+ })
15409
+ }).json();
15410
+ }
15411
+ async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
15412
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
15413
+ signal,
15414
+ json: data
15415
+ }).json();
15416
+ }
15417
+ async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
15418
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
15419
+ signal,
15420
+ searchParams: buildSearchParams$2({
15421
+ date_from,
15422
+ date_to,
15423
+ task_id,
15424
+ status_id,
15425
+ archived,
15426
+ order_by
15427
+ })
15428
+ }).json();
15429
+ }
15430
+ //#endregion
15493
15431
  //#region ../focus-queries/dist/time-entry-constraints/requests.ts
15494
15432
  async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
15495
15433
  return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
@@ -15527,12 +15465,6 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
15527
15465
  })
15528
15466
  }).json();
15529
15467
  }
15530
- async function getTimeoffCategories(httpClient, organization_id, signal) {
15531
- return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
15532
- }
15533
- async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
15534
- return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
15535
- }
15536
15468
  async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
15537
15469
  return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
15538
15470
  signal,
@@ -15560,26 +15492,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
15560
15492
  json: data
15561
15493
  }).json();
15562
15494
  }
15563
- async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
15564
- return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
15565
- signal,
15566
- searchParams: buildSearchParams$2({
15567
- category_id,
15568
- date
15569
- })
15570
- }).json();
15571
- }
15572
- async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
15573
- return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
15574
- signal,
15575
- searchParams: buildSearchParams$2({
15576
- category_id,
15577
- year,
15578
- page,
15579
- rows
15580
- })
15581
- }).json();
15582
- }
15583
15495
  //#endregion
15584
15496
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
15585
15497
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -15680,19 +15592,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
15680
15592
  json: data
15681
15593
  }).json();
15682
15594
  }
15683
- async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
15684
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
15685
- signal,
15686
- searchParams: buildSearchParams$2({
15687
- date_from,
15688
- date_to,
15689
- setup_id,
15690
- user_account_ids,
15691
- approver_user_account_ids,
15692
- team_ids
15693
- })
15694
- }).json();
15695
- }
15696
15595
  async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
15697
15596
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
15698
15597
  }
@@ -15736,21 +15635,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
15736
15635
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
15737
15636
  }
15738
15637
  //#endregion
15739
- //#region ../focus-queries/dist/track-team-invites/requests.ts
15740
- async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
15741
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
15742
- signal,
15743
- json: data
15744
- }).json();
15745
- }
15746
- //#endregion
15747
15638
  //#region ../focus-queries/dist/user-settings/requests.ts
15748
- async function emailUnsubscribePage(httpClient, token, signal) {
15749
- return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
15750
- }
15751
- async function emailUnsubscribe(httpClient, token, signal) {
15752
- return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
15753
- }
15754
15639
  async function getUserSettings(httpClient, signal) {
15755
15640
  return await httpClient.get(`users/me/settings`, { signal }).json();
15756
15641
  }
@@ -15990,7 +15875,6 @@ const generatedFocusOperations = [
15990
15875
  mcp: { entityTool: "audit-log" },
15991
15876
  inputSchema: /* @__PURE__ */ looseObject({
15992
15877
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15993
- custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15994
15878
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15995
15879
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15996
15880
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -15998,7 +15882,6 @@ const generatedFocusOperations = [
15998
15882
  from: /* @__PURE__ */ string$1(),
15999
15883
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16000
15884
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16001
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16002
15885
  to: /* @__PURE__ */ string$1(),
16003
15886
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16004
15887
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -16032,7 +15915,6 @@ const generatedFocusOperations = [
16032
15915
  mcp: { entityTool: "audit-log" },
16033
15916
  inputSchema: /* @__PURE__ */ looseObject({
16034
15917
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16035
- custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16036
15918
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16037
15919
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16038
15920
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16040,7 +15922,6 @@ const generatedFocusOperations = [
16040
15922
  from: /* @__PURE__ */ string$1(),
16041
15923
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16042
15924
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16043
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16044
15925
  to: /* @__PURE__ */ string$1(),
16045
15926
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16046
15927
  }),
@@ -16080,7 +15961,6 @@ const generatedFocusOperations = [
16080
15961
  private_: /* @__PURE__ */ unknown$1(),
16081
15962
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16082
15963
  task_source: /* @__PURE__ */ unknown$1(),
16083
- team_id: /* @__PURE__ */ number$2(),
16084
15964
  unit: /* @__PURE__ */ unknown$1(),
16085
15965
  user_id: /* @__PURE__ */ number$2()
16086
15966
  }),
@@ -16330,6 +16210,8 @@ const generatedFocusOperations = [
16330
16210
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16331
16211
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
16332
16212
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16213
+ integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16214
+ integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16333
16215
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16334
16216
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16335
16217
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -16363,6 +16245,8 @@ const generatedFocusOperations = [
16363
16245
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16364
16246
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
16365
16247
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16248
+ integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16249
+ integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16366
16250
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16367
16251
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16368
16252
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -16378,6 +16262,12 @@ const generatedFocusOperations = [
16378
16262
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16379
16263
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16380
16264
  }))),
16265
+ time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
16266
+ start: apiDateTimeString,
16267
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16268
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16269
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
16270
+ }))),
16381
16271
  time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
16382
16272
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
16383
16273
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -16387,6 +16277,13 @@ const generatedFocusOperations = [
16387
16277
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16388
16278
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16389
16279
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
16280
+ time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
16281
+ start: apiDateTimeString,
16282
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16283
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16284
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
16285
+ })),
16286
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16390
16287
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
16391
16288
  }))
16392
16289
  }) }),
@@ -16504,33 +16401,6 @@ const generatedFocusOperations = [
16504
16401
  ]));
16505
16402
  }
16506
16403
  },
16507
- {
16508
- id: "focus.custom-fields.get-allowed-users",
16509
- family: "focus",
16510
- resource: "custom-fields",
16511
- action: "get-allowed-users",
16512
- title: "Get Allowed Users Custom Fields",
16513
- description: "Get Allowed Users Custom Fields.",
16514
- safety: "read",
16515
- destructive: false,
16516
- cli: {
16517
- group: ["custom-fields"],
16518
- command: "get-allowed-users",
16519
- interactive: "available"
16520
- },
16521
- mcp: { entityTool: "custom-fields" },
16522
- inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
16523
- execute: (input, { client }) => {
16524
- const data = input;
16525
- return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
16526
- client.httpClient,
16527
- client.organizationId,
16528
- client.workspaceIdNumber,
16529
- data.custom_field_id,
16530
- void 0
16531
- ]));
16532
- }
16533
- },
16534
16404
  {
16535
16405
  id: "focus.custom-fields.list",
16536
16406
  family: "focus",
@@ -16701,61 +16571,30 @@ const generatedFocusOperations = [
16701
16571
  }
16702
16572
  },
16703
16573
  {
16704
- id: "focus.custom-fields.replace-custom-field-allowed-users",
16574
+ id: "focus.custom-fields.update",
16705
16575
  family: "focus",
16706
16576
  resource: "custom-fields",
16707
- action: "replace-custom-field-allowed-users",
16708
- title: "Replace Custom Field Allowed Users Custom Fields",
16709
- description: "Replace Custom Field Allowed Users Custom Fields.",
16577
+ action: "update",
16578
+ title: "Update Custom Fields",
16579
+ description: "Update Custom Fields.",
16710
16580
  safety: "update",
16711
16581
  destructive: false,
16712
16582
  cli: {
16713
16583
  group: ["custom-fields"],
16714
- command: "replace-custom-field-allowed-users",
16584
+ command: "update",
16715
16585
  interactive: "default"
16716
16586
  },
16717
16587
  mcp: { entityTool: "custom-fields" },
16718
16588
  inputSchema: /* @__PURE__ */ looseObject({
16719
16589
  custom_field_id: /* @__PURE__ */ number$2(),
16720
- payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
16590
+ payload: /* @__PURE__ */ looseObject({
16591
+ name: /* @__PURE__ */ string$1(),
16592
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
16593
+ })
16721
16594
  }),
16722
16595
  execute: (input, { client }) => {
16723
16596
  const data = input;
16724
- return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
16725
- client.httpClient,
16726
- client.organizationId,
16727
- client.workspaceIdNumber,
16728
- data.custom_field_id,
16729
- data.payload ?? data.data ?? data,
16730
- void 0
16731
- ]));
16732
- }
16733
- },
16734
- {
16735
- id: "focus.custom-fields.update",
16736
- family: "focus",
16737
- resource: "custom-fields",
16738
- action: "update",
16739
- title: "Update Custom Fields",
16740
- description: "Update Custom Fields.",
16741
- safety: "update",
16742
- destructive: false,
16743
- cli: {
16744
- group: ["custom-fields"],
16745
- command: "update",
16746
- interactive: "default"
16747
- },
16748
- mcp: { entityTool: "custom-fields" },
16749
- inputSchema: /* @__PURE__ */ looseObject({
16750
- custom_field_id: /* @__PURE__ */ number$2(),
16751
- payload: /* @__PURE__ */ looseObject({
16752
- name: /* @__PURE__ */ string$1(),
16753
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
16754
- })
16755
- }),
16756
- execute: (input, { client }) => {
16757
- const data = input;
16758
- return client.runGeneratedRequest("updateCustomField", () => callGeneratedRequest(updateCustomField, [
16597
+ return client.runGeneratedRequest("updateCustomField", () => callGeneratedRequest(updateCustomField, [
16759
16598
  client.httpClient,
16760
16599
  client.organizationId,
16761
16600
  client.workspaceIdNumber,
@@ -16877,7 +16716,13 @@ const generatedFocusOperations = [
16877
16716
  },
16878
16717
  mcp: { entityTool: "goals" },
16879
16718
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16719
+ billable: /* @__PURE__ */ boolean$1(),
16880
16720
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
16721
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16722
+ icon: /* @__PURE__ */ string$1(),
16723
+ monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
16724
+ name: /* @__PURE__ */ string$1(),
16725
+ project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16881
16726
  recurrence: /* @__PURE__ */ picklist$1([
16882
16727
  "daily",
16883
16728
  "weekly",
@@ -16885,18 +16730,12 @@ const generatedFocusOperations = [
16885
16730
  "monthly"
16886
16731
  ]),
16887
16732
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16733
+ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16888
16734
  target_seconds: /* @__PURE__ */ number$2(),
16889
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16735
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16736
+ weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16890
16737
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16891
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16892
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16893
- icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16894
- monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
16895
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16896
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16897
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16898
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16899
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16738
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
16900
16739
  }) }),
16901
16740
  execute: (input, { client }) => {
16902
16741
  const data = input;
@@ -17002,6 +16841,13 @@ const generatedFocusOperations = [
17002
16841
  },
17003
16842
  mcp: { entityTool: "goals" },
17004
16843
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16844
+ billable: /* @__PURE__ */ boolean$1(),
16845
+ comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
16846
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16847
+ icon: /* @__PURE__ */ string$1(),
16848
+ monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
16849
+ name: /* @__PURE__ */ string$1(),
16850
+ project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17005
16851
  recurrence: /* @__PURE__ */ picklist$1([
17006
16852
  "daily",
17007
16853
  "weekly",
@@ -17009,19 +16855,12 @@ const generatedFocusOperations = [
17009
16855
  "monthly"
17010
16856
  ]),
17011
16857
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
17012
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16858
+ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16859
+ target_seconds: /* @__PURE__ */ number$2(),
16860
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16861
+ weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17013
16862
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17014
- comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
17015
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17016
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17017
- icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17018
- monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
17019
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17020
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17021
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17022
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
17023
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17024
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16863
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
17025
16864
  }) }),
17026
16865
  execute: (input, { client }) => {
17027
16866
  const data = input;
@@ -17988,17 +17827,9 @@ const generatedFocusOperations = [
17988
17827
  mcp: { entityTool: "projects" },
17989
17828
  inputSchema: /* @__PURE__ */ looseObject({
17990
17829
  payload: /* @__PURE__ */ looseObject({
17991
- auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17992
- completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
17993
17830
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17994
17831
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17995
17832
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17996
- rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
17997
- "expire",
17998
- "carry_all",
17999
- "carry_over"
18000
- ])),
18001
- rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
18002
17833
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
18003
17834
  }),
18004
17835
  project_id: /* @__PURE__ */ number$2()
@@ -18442,7 +18273,6 @@ const generatedFocusOperations = [
18442
18273
  group: /* @__PURE__ */ string$1(),
18443
18274
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18444
18275
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18445
- include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18446
18276
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18447
18277
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18448
18278
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -18545,6 +18375,29 @@ const generatedFocusOperations = [
18545
18375
  ]));
18546
18376
  }
18547
18377
  },
18378
+ {
18379
+ id: "focus.projects.margin-targets-clear-workspace",
18380
+ family: "focus",
18381
+ resource: "projects",
18382
+ action: "margin-targets-clear-workspace",
18383
+ title: "Margin Targets Clear Workspace Projects",
18384
+ description: "Margin Targets Clear Workspace Projects.",
18385
+ safety: "delete",
18386
+ destructive: true,
18387
+ cli: {
18388
+ group: ["projects", "margin-targets"],
18389
+ command: "clear-workspace",
18390
+ interactive: "default"
18391
+ },
18392
+ mcp: { entityTool: "projects" },
18393
+ inputSchema: /* @__PURE__ */ looseObject({}),
18394
+ execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
18395
+ client.httpClient,
18396
+ client.organizationId,
18397
+ client.workspaceIdNumber,
18398
+ void 0
18399
+ ]))
18400
+ },
18548
18401
  {
18549
18402
  id: "focus.projects.margin-targets-get",
18550
18403
  family: "focus",
@@ -18989,130 +18842,6 @@ const generatedFocusOperations = [
18989
18842
  ]));
18990
18843
  }
18991
18844
  },
18992
- {
18993
- id: "focus.publicsharedreports.open-public-shared-report",
18994
- family: "focus",
18995
- resource: "publicsharedreports",
18996
- action: "open-public-shared-report",
18997
- title: "Open Public Shared Report Publicsharedreports",
18998
- description: "Open Public Shared Report Publicsharedreports.",
18999
- safety: "read",
19000
- destructive: false,
19001
- cli: {
19002
- group: ["publicsharedreports"],
19003
- command: "open-public-shared-report",
19004
- interactive: "available"
19005
- },
19006
- mcp: { entityTool: "publicsharedreports" },
19007
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
19008
- execute: (input, { client }) => {
19009
- const data = input;
19010
- return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
19011
- client.httpClient,
19012
- data.token,
19013
- void 0
19014
- ]));
19015
- }
19016
- },
19017
- {
19018
- id: "focus.publicsharedreports.profitability-public-shared-report",
19019
- family: "focus",
19020
- resource: "publicsharedreports",
19021
- action: "profitability-public-shared-report",
19022
- title: "Profitability Public Shared Report Publicsharedreports",
19023
- description: "Profitability Public Shared Report Publicsharedreports.",
19024
- safety: "update",
19025
- destructive: false,
19026
- cli: {
19027
- group: ["publicsharedreports"],
19028
- command: "profitability-public-shared-report",
19029
- interactive: "default"
19030
- },
19031
- mcp: { entityTool: "publicsharedreports" },
19032
- inputSchema: /* @__PURE__ */ looseObject({
19033
- include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
19034
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
19035
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
19036
- token: /* @__PURE__ */ string$1()
19037
- }),
19038
- execute: (input, { client }) => {
19039
- const data = input;
19040
- return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
19041
- client.httpClient,
19042
- data.token,
19043
- data.payload ?? data.data ?? data,
19044
- data.response_format,
19045
- data.include_dicts,
19046
- void 0
19047
- ]));
19048
- }
19049
- },
19050
- {
19051
- id: "focus.publicsharedreports.query-public-shared-report",
19052
- family: "focus",
19053
- resource: "publicsharedreports",
19054
- action: "query-public-shared-report",
19055
- title: "Query Public Shared Report Publicsharedreports",
19056
- description: "Query Public Shared Report Publicsharedreports.",
19057
- safety: "update",
19058
- destructive: false,
19059
- cli: {
19060
- group: ["publicsharedreports"],
19061
- command: "query-public-shared-report",
19062
- interactive: "default"
19063
- },
19064
- mcp: { entityTool: "publicsharedreports" },
19065
- inputSchema: /* @__PURE__ */ looseObject({
19066
- include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
19067
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
19068
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
19069
- "json_row",
19070
- "table",
19071
- "hierarchical"
19072
- ])),
19073
- token: /* @__PURE__ */ string$1()
19074
- }),
19075
- execute: (input, { client }) => {
19076
- const data = input;
19077
- return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
19078
- client.httpClient,
19079
- data.token,
19080
- data.payload ?? data.data ?? data,
19081
- data.response_format,
19082
- data.include_dicts,
19083
- void 0
19084
- ]));
19085
- }
19086
- },
19087
- {
19088
- id: "focus.publicsharedreports.workload-public-shared-report",
19089
- family: "focus",
19090
- resource: "publicsharedreports",
19091
- action: "workload-public-shared-report",
19092
- title: "Workload Public Shared Report Publicsharedreports",
19093
- description: "Workload Public Shared Report Publicsharedreports.",
19094
- safety: "update",
19095
- destructive: false,
19096
- cli: {
19097
- group: ["publicsharedreports"],
19098
- command: "workload-public-shared-report",
19099
- interactive: "default"
19100
- },
19101
- mcp: { entityTool: "publicsharedreports" },
19102
- inputSchema: /* @__PURE__ */ looseObject({
19103
- payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
19104
- token: /* @__PURE__ */ string$1()
19105
- }),
19106
- execute: (input, { client }) => {
19107
- const data = input;
19108
- return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
19109
- client.httpClient,
19110
- data.token,
19111
- data.payload ?? data.data ?? data,
19112
- void 0
19113
- ]));
19114
- }
19115
- },
19116
18845
  {
19117
18846
  id: "focus.rates.billable-check-project-billable-rate-conflicts",
19118
18847
  family: "focus",
@@ -21071,7 +20800,7 @@ const generatedFocusOperations = [
21071
20800
  cli: {
21072
20801
  group: ["reportschedules"],
21073
20802
  command: "upsert-saved-view-schedule",
21074
- interactive: "hidden"
20803
+ interactive: "default"
21075
20804
  },
21076
20805
  mcp: { entityTool: "reportschedules" },
21077
20806
  inputSchema: /* @__PURE__ */ looseObject({
@@ -21082,10 +20811,8 @@ const generatedFocusOperations = [
21082
20811
  "weekly",
21083
20812
  "monthly"
21084
20813
  ]),
21085
- charts: /* @__PURE__ */ unknown$1(),
21086
20814
  time: /* @__PURE__ */ string$1(),
21087
20815
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21088
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21089
20816
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21090
20817
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21091
20818
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -21418,32 +21145,6 @@ const generatedFocusOperations = [
21418
21145
  ]));
21419
21146
  }
21420
21147
  },
21421
- {
21422
- id: "focus.sharedreports.get-shared-report-dates",
21423
- family: "focus",
21424
- resource: "sharedreports",
21425
- action: "get-shared-report-dates",
21426
- title: "Get Shared Report Dates Sharedreports",
21427
- description: "Get Shared Report Dates Sharedreports.",
21428
- safety: "read",
21429
- destructive: false,
21430
- cli: {
21431
- group: ["sharedreports"],
21432
- command: "get-shared-report-dates",
21433
- interactive: "available"
21434
- },
21435
- mcp: { entityTool: "sharedreports" },
21436
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21437
- execute: (input, { client }) => {
21438
- const data = input;
21439
- return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
21440
- client.httpClient,
21441
- client.workspaceIdNumber,
21442
- data.id,
21443
- void 0
21444
- ]));
21445
- }
21446
- },
21447
21148
  {
21448
21149
  id: "focus.sharedreports.get-shared-report-for-viewer",
21449
21150
  family: "focus",
@@ -21514,36 +21215,6 @@ const generatedFocusOperations = [
21514
21215
  void 0
21515
21216
  ]))
21516
21217
  },
21517
- {
21518
- id: "focus.sharedreports.mint-shared-report-link",
21519
- family: "focus",
21520
- resource: "sharedreports",
21521
- action: "mint-shared-report-link",
21522
- title: "Mint Shared Report Link Sharedreports",
21523
- description: "Mint Shared Report Link Sharedreports.",
21524
- safety: "update",
21525
- destructive: false,
21526
- cli: {
21527
- group: ["sharedreports"],
21528
- command: "mint-shared-report-link",
21529
- interactive: "default"
21530
- },
21531
- mcp: { entityTool: "sharedreports" },
21532
- inputSchema: /* @__PURE__ */ looseObject({
21533
- id: /* @__PURE__ */ number$2(),
21534
- payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
21535
- }),
21536
- execute: (input, { client }) => {
21537
- const data = input;
21538
- return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
21539
- client.httpClient,
21540
- client.workspaceIdNumber,
21541
- data.id,
21542
- data.payload ?? data.data ?? data,
21543
- void 0
21544
- ]));
21545
- }
21546
- },
21547
21218
  {
21548
21219
  id: "focus.sharedreports.revoke-shared-report-grant",
21549
21220
  family: "focus",
@@ -21575,53 +21246,71 @@ const generatedFocusOperations = [
21575
21246
  }
21576
21247
  },
21577
21248
  {
21578
- id: "focus.sharedreports.revoke-shared-report-link",
21249
+ id: "focus.sharedreports.share-saved-view",
21579
21250
  family: "focus",
21580
21251
  resource: "sharedreports",
21581
- action: "revoke-shared-report-link",
21582
- title: "Revoke Shared Report Link Sharedreports",
21583
- description: "Revoke Shared Report Link Sharedreports.",
21584
- safety: "delete",
21585
- destructive: true,
21252
+ action: "share-saved-view",
21253
+ title: "Share Saved View Sharedreports",
21254
+ description: "Share Saved View Sharedreports.",
21255
+ safety: "update",
21256
+ destructive: false,
21586
21257
  cli: {
21587
21258
  group: ["sharedreports"],
21588
- command: "revoke-shared-report-link",
21589
- interactive: "default"
21259
+ command: "share-saved-view",
21260
+ interactive: "hidden"
21590
21261
  },
21591
21262
  mcp: { entityTool: "sharedreports" },
21592
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21263
+ inputSchema: /* @__PURE__ */ looseObject({
21264
+ id: /* @__PURE__ */ number$2(),
21265
+ payload: /* @__PURE__ */ looseObject({
21266
+ charts: /* @__PURE__ */ unknown$1(),
21267
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21268
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21269
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21270
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21271
+ })
21272
+ }),
21593
21273
  execute: (input, { client }) => {
21594
21274
  const data = input;
21595
- return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
21275
+ return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
21596
21276
  client.httpClient,
21597
21277
  client.workspaceIdNumber,
21598
21278
  data.id,
21279
+ data.payload ?? data.data ?? data,
21599
21280
  void 0
21600
21281
  ]));
21601
21282
  }
21602
21283
  },
21603
21284
  {
21604
- id: "focus.sharedreports.rotate-shared-report-link",
21285
+ id: "focus.sharedreports.share-saved-view-many",
21605
21286
  family: "focus",
21606
21287
  resource: "sharedreports",
21607
- action: "rotate-shared-report-link",
21608
- title: "Rotate Shared Report Link Sharedreports",
21609
- description: "Rotate Shared Report Link Sharedreports.",
21288
+ action: "share-saved-view-many",
21289
+ title: "Share Saved View Many Sharedreports",
21290
+ description: "Share Saved View Many Sharedreports.",
21610
21291
  safety: "update",
21611
21292
  destructive: false,
21612
21293
  cli: {
21613
21294
  group: ["sharedreports"],
21614
- command: "rotate-shared-report-link",
21615
- interactive: "default"
21295
+ command: "share-saved-view-many",
21296
+ interactive: "hidden"
21616
21297
  },
21617
21298
  mcp: { entityTool: "sharedreports" },
21618
21299
  inputSchema: /* @__PURE__ */ looseObject({
21619
21300
  id: /* @__PURE__ */ number$2(),
21620
- payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
21301
+ payload: /* @__PURE__ */ looseObject({
21302
+ charts: /* @__PURE__ */ unknown$1(),
21303
+ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21304
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21305
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21306
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21307
+ })),
21308
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21309
+ })
21621
21310
  }),
21622
21311
  execute: (input, { client }) => {
21623
21312
  const data = input;
21624
- return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
21313
+ return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
21625
21314
  client.httpClient,
21626
21315
  client.workspaceIdNumber,
21627
21316
  data.id,
@@ -21631,158 +21320,28 @@ const generatedFocusOperations = [
21631
21320
  }
21632
21321
  },
21633
21322
  {
21634
- id: "focus.sharedreports.set-shared-report-dates-lock",
21323
+ id: "focus.statuses.create-status",
21635
21324
  family: "focus",
21636
- resource: "sharedreports",
21637
- action: "set-shared-report-dates-lock",
21638
- title: "Set Shared Report Dates Lock Sharedreports",
21639
- description: "Set Shared Report Dates Lock Sharedreports.",
21640
- safety: "update",
21325
+ resource: "statuses",
21326
+ action: "create-status",
21327
+ title: "Create Status Statuses",
21328
+ description: "Create Status Statuses.",
21329
+ safety: "create",
21641
21330
  destructive: false,
21642
21331
  cli: {
21643
- group: ["sharedreports"],
21644
- command: "set-shared-report-dates-lock",
21332
+ group: ["statuses"],
21333
+ command: "create-status",
21645
21334
  interactive: "default"
21646
21335
  },
21647
- mcp: { entityTool: "sharedreports" },
21648
- inputSchema: /* @__PURE__ */ looseObject({
21649
- id: /* @__PURE__ */ number$2(),
21650
- payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
21651
- }),
21336
+ mcp: { entityTool: "statuses" },
21337
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
21338
+ emoji: /* @__PURE__ */ string$1(),
21339
+ name: /* @__PURE__ */ string$1(),
21340
+ position: /* @__PURE__ */ number$2()
21341
+ }) }),
21652
21342
  execute: (input, { client }) => {
21653
21343
  const data = input;
21654
- return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
21655
- client.httpClient,
21656
- client.workspaceIdNumber,
21657
- data.id,
21658
- data.payload ?? data.data ?? data,
21659
- void 0
21660
- ]));
21661
- }
21662
- },
21663
- {
21664
- id: "focus.sharedreports.share-saved-view",
21665
- family: "focus",
21666
- resource: "sharedreports",
21667
- action: "share-saved-view",
21668
- title: "Share Saved View Sharedreports",
21669
- description: "Share Saved View Sharedreports.",
21670
- safety: "update",
21671
- destructive: false,
21672
- cli: {
21673
- group: ["sharedreports"],
21674
- command: "share-saved-view",
21675
- interactive: "hidden"
21676
- },
21677
- mcp: { entityTool: "sharedreports" },
21678
- inputSchema: /* @__PURE__ */ looseObject({
21679
- id: /* @__PURE__ */ number$2(),
21680
- payload: /* @__PURE__ */ looseObject({
21681
- charts: /* @__PURE__ */ unknown$1(),
21682
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21683
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21684
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21685
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21686
- })
21687
- }),
21688
- execute: (input, { client }) => {
21689
- const data = input;
21690
- return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
21691
- client.httpClient,
21692
- client.workspaceIdNumber,
21693
- data.id,
21694
- data.payload ?? data.data ?? data,
21695
- void 0
21696
- ]));
21697
- }
21698
- },
21699
- {
21700
- id: "focus.sharedreports.share-saved-view-many",
21701
- family: "focus",
21702
- resource: "sharedreports",
21703
- action: "share-saved-view-many",
21704
- title: "Share Saved View Many Sharedreports",
21705
- description: "Share Saved View Many Sharedreports.",
21706
- safety: "update",
21707
- destructive: false,
21708
- cli: {
21709
- group: ["sharedreports"],
21710
- command: "share-saved-view-many",
21711
- interactive: "hidden"
21712
- },
21713
- mcp: { entityTool: "sharedreports" },
21714
- inputSchema: /* @__PURE__ */ looseObject({
21715
- id: /* @__PURE__ */ number$2(),
21716
- payload: /* @__PURE__ */ looseObject({
21717
- charts: /* @__PURE__ */ unknown$1(),
21718
- grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21719
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21720
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21721
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21722
- })),
21723
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21724
- })
21725
- }),
21726
- execute: (input, { client }) => {
21727
- const data = input;
21728
- return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
21729
- client.httpClient,
21730
- client.workspaceIdNumber,
21731
- data.id,
21732
- data.payload ?? data.data ?? data,
21733
- void 0
21734
- ]));
21735
- }
21736
- },
21737
- {
21738
- id: "focus.sharedreports.unshare-shared-report",
21739
- family: "focus",
21740
- resource: "sharedreports",
21741
- action: "unshare-shared-report",
21742
- title: "Unshare Shared Report Sharedreports",
21743
- description: "Unshare Shared Report Sharedreports.",
21744
- safety: "delete",
21745
- destructive: true,
21746
- cli: {
21747
- group: ["sharedreports"],
21748
- command: "unshare-shared-report",
21749
- interactive: "default"
21750
- },
21751
- mcp: { entityTool: "sharedreports" },
21752
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21753
- execute: (input, { client }) => {
21754
- const data = input;
21755
- return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
21756
- client.httpClient,
21757
- client.workspaceIdNumber,
21758
- data.id,
21759
- void 0
21760
- ]));
21761
- }
21762
- },
21763
- {
21764
- id: "focus.statuses.create-status",
21765
- family: "focus",
21766
- resource: "statuses",
21767
- action: "create-status",
21768
- title: "Create Status Statuses",
21769
- description: "Create Status Statuses.",
21770
- safety: "create",
21771
- destructive: false,
21772
- cli: {
21773
- group: ["statuses"],
21774
- command: "create-status",
21775
- interactive: "default"
21776
- },
21777
- mcp: { entityTool: "statuses" },
21778
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
21779
- emoji: /* @__PURE__ */ string$1(),
21780
- name: /* @__PURE__ */ string$1(),
21781
- position: /* @__PURE__ */ number$2()
21782
- }) }),
21783
- execute: (input, { client }) => {
21784
- const data = input;
21785
- return client.runGeneratedRequest("createStatus", () => callGeneratedRequest(createStatus, [
21344
+ return client.runGeneratedRequest("createStatus", () => callGeneratedRequest(createStatus, [
21786
21345
  client.httpClient,
21787
21346
  client.workspaceIdNumber,
21788
21347
  data.payload ?? data.data ?? data,
@@ -22802,37 +22361,6 @@ const generatedFocusOperations = [
22802
22361
  return client.createTask(data);
22803
22362
  }
22804
22363
  },
22805
- {
22806
- id: "focus.tasks.create-recurring-occurrence",
22807
- family: "focus",
22808
- resource: "tasks",
22809
- action: "create-recurring-occurrence",
22810
- title: "Create Recurring Occurrence Tasks",
22811
- description: "Create Recurring Occurrence Tasks.",
22812
- safety: "create",
22813
- destructive: false,
22814
- cli: {
22815
- group: ["tasks"],
22816
- command: "create-recurring-occurrence",
22817
- interactive: "default"
22818
- },
22819
- mcp: { entityTool: "tasks" },
22820
- inputSchema: /* @__PURE__ */ looseObject({
22821
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22822
- task_id: /* @__PURE__ */ number$2()
22823
- }),
22824
- execute: (input, { client }) => {
22825
- const data = input;
22826
- return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
22827
- client.httpClient,
22828
- client.organizationId,
22829
- client.workspaceIdNumber,
22830
- data.task_id,
22831
- data.return_occurrence,
22832
- void 0
22833
- ]));
22834
- }
22835
- },
22836
22364
  {
22837
22365
  id: "focus.tasks.delete",
22838
22366
  family: "focus",
@@ -23057,79 +22585,6 @@ const generatedFocusOperations = [
23057
22585
  ]));
23058
22586
  }
23059
22587
  },
23060
- {
23061
- id: "focus.tasks.get-picker-task-children",
23062
- family: "focus",
23063
- resource: "tasks",
23064
- action: "get-picker-task-children",
23065
- title: "Get Picker Task Children Tasks",
23066
- description: "Get Picker Task Children Tasks.",
23067
- safety: "read",
23068
- destructive: false,
23069
- cli: {
23070
- group: ["tasks"],
23071
- command: "get-picker-task-children",
23072
- interactive: "hidden"
23073
- },
23074
- mcp: { entityTool: "tasks" },
23075
- inputSchema: /* @__PURE__ */ looseObject({
23076
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23077
- only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23078
- page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23079
- parent_task_id: /* @__PURE__ */ number$2(),
23080
- per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23081
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23082
- search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23083
- without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23084
- }),
23085
- execute: (input, { client }) => {
23086
- const data = input;
23087
- return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
23088
- client.httpClient,
23089
- client.organizationId,
23090
- client.workspaceIdNumber,
23091
- data.parent_task_id,
23092
- data,
23093
- void 0
23094
- ]));
23095
- }
23096
- },
23097
- {
23098
- id: "focus.tasks.get-picker-task-groups",
23099
- family: "focus",
23100
- resource: "tasks",
23101
- action: "get-picker-task-groups",
23102
- title: "Get Picker Task Groups Tasks",
23103
- description: "Get Picker Task Groups Tasks.",
23104
- safety: "read",
23105
- destructive: false,
23106
- cli: {
23107
- group: ["tasks"],
23108
- command: "get-picker-task-groups",
23109
- interactive: "hidden"
23110
- },
23111
- mcp: { entityTool: "tasks" },
23112
- inputSchema: /* @__PURE__ */ looseObject({
23113
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23114
- only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23115
- page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23116
- per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23117
- pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23118
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23119
- search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23120
- without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23121
- }),
23122
- execute: (input, { client }) => {
23123
- const data = input;
23124
- return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
23125
- client.httpClient,
23126
- client.organizationId,
23127
- client.workspaceIdNumber,
23128
- data,
23129
- void 0
23130
- ]));
23131
- }
23132
- },
23133
22588
  {
23134
22589
  id: "focus.tasks.get-recurring-instances",
23135
22590
  family: "focus",
@@ -23153,13 +22608,9 @@ const generatedFocusOperations = [
23153
22608
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23154
22609
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23155
22610
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23156
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23157
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23158
22611
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23159
22612
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23160
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23161
22613
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23162
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23163
22614
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23164
22615
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
23165
22616
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -23205,14 +22656,13 @@ const generatedFocusOperations = [
23205
22656
  estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23206
22657
  estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23207
22658
  has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22659
+ has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23208
22660
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23209
22661
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23210
22662
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23211
22663
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23212
22664
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23213
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23214
22665
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23215
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23216
22666
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23217
22667
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23218
22668
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -23221,9 +22671,7 @@ const generatedFocusOperations = [
23221
22671
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23222
22672
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23223
22673
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23224
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23225
22674
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23226
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23227
22675
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23228
22676
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23229
22677
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23232,6 +22680,8 @@ const generatedFocusOperations = [
23232
22680
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23233
22681
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
23234
22682
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22683
+ time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22684
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23235
22685
  toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23236
22686
  with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23237
22687
  }),
@@ -23359,10 +22809,8 @@ const generatedFocusOperations = [
23359
22809
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23360
22810
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23361
22811
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23362
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23363
22812
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23364
22813
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23365
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23366
22814
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23367
22815
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23368
22816
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23371,8 +22819,6 @@ const generatedFocusOperations = [
23371
22819
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23372
22820
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23373
22821
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23374
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23375
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23376
22822
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23377
22823
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23378
22824
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23381,8 +22827,7 @@ const generatedFocusOperations = [
23381
22827
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
23382
22828
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23383
22829
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23384
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23385
- xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
22830
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23386
22831
  }),
23387
22832
  execute: (input, { client }) => {
23388
22833
  const data = input;
@@ -23424,17 +22869,13 @@ const generatedFocusOperations = [
23424
22869
  group_id: /* @__PURE__ */ number$2(),
23425
22870
  include_assignees: /* @__PURE__ */ unknown$1(),
23426
22871
  include_drafts: /* @__PURE__ */ unknown$1(),
23427
- include_projected_occurrences: /* @__PURE__ */ unknown$1(),
23428
22872
  include_unassigned: /* @__PURE__ */ unknown$1(),
23429
22873
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
23430
- max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23431
22874
  min_days: /* @__PURE__ */ unknown$1(),
23432
22875
  name: /* @__PURE__ */ unknown$1(),
23433
22876
  priority: /* @__PURE__ */ unknown$1(),
23434
22877
  private_: /* @__PURE__ */ unknown$1(),
23435
22878
  project_id: /* @__PURE__ */ number$2(),
23436
- recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23437
- recurring_task_read: /* @__PURE__ */ unknown$1(),
23438
22879
  source: /* @__PURE__ */ unknown$1(),
23439
22880
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23440
22881
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -23443,8 +22884,7 @@ const generatedFocusOperations = [
23443
22884
  tag_id: /* @__PURE__ */ number$2(),
23444
22885
  team_id: /* @__PURE__ */ number$2(),
23445
22886
  user_cf_filter: /* @__PURE__ */ unknown$1(),
23446
- user_tag_id: /* @__PURE__ */ number$2(),
23447
- xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
22887
+ user_tag_id: /* @__PURE__ */ number$2()
23448
22888
  }),
23449
22889
  execute: (input, { client }) => {
23450
22890
  const data = input;
@@ -23485,17 +22925,13 @@ const generatedFocusOperations = [
23485
22925
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23486
22926
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23487
22927
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23488
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23489
22928
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23490
22929
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23491
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23492
22930
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23493
22931
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23494
22932
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23495
22933
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23496
22934
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23497
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23498
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23499
22935
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23500
22936
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23501
22937
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23504,8 +22940,7 @@ const generatedFocusOperations = [
23504
22940
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23505
22941
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23506
22942
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23507
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23508
- xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
22943
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23509
22944
  }),
23510
22945
  execute: (input, { client }) => {
23511
22946
  const data = input;
@@ -23749,45 +23184,508 @@ const generatedFocusOperations = [
23749
23184
  }),
23750
23185
  execute: (input, { client }) => {
23751
23186
  const data = input;
23752
- return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
23187
+ return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
23188
+ client.httpClient,
23189
+ client.organizationId,
23190
+ client.workspaceIdNumber,
23191
+ data.task_id,
23192
+ data.payload ?? data.data ?? data,
23193
+ void 0
23194
+ ]));
23195
+ }
23196
+ },
23197
+ {
23198
+ id: "focus.tasks.update-calendar-range",
23199
+ family: "focus",
23200
+ resource: "tasks",
23201
+ action: "update-calendar-range",
23202
+ title: "Update Calendar Range Tasks",
23203
+ description: "Update Calendar Range Tasks.",
23204
+ safety: "update",
23205
+ destructive: false,
23206
+ cli: {
23207
+ group: ["tasks"],
23208
+ command: "update-calendar-range",
23209
+ interactive: "default"
23210
+ },
23211
+ mcp: { entityTool: "tasks" },
23212
+ inputSchema: /* @__PURE__ */ looseObject({
23213
+ date_from: /* @__PURE__ */ string$1(),
23214
+ date_to: /* @__PURE__ */ string$1()
23215
+ }),
23216
+ execute: (input, { client }) => {
23217
+ const data = input;
23218
+ return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
23219
+ client.httpClient,
23220
+ client.organizationId,
23221
+ client.workspaceIdNumber,
23222
+ data.date_from,
23223
+ data.date_to,
23224
+ void 0
23225
+ ]));
23226
+ }
23227
+ },
23228
+ {
23229
+ id: "focus.time-blocks.archive",
23230
+ family: "focus",
23231
+ resource: "time-blocks",
23232
+ action: "archive",
23233
+ title: "Archive Time Blocks",
23234
+ description: "Archive Time Blocks.",
23235
+ safety: "update",
23236
+ destructive: false,
23237
+ cli: {
23238
+ group: ["time-blocks"],
23239
+ command: "archive",
23240
+ interactive: "default"
23241
+ },
23242
+ mcp: { entityTool: "time-blocks" },
23243
+ inputSchema: /* @__PURE__ */ looseObject({
23244
+ task_id: /* @__PURE__ */ number$2(),
23245
+ time_block_id: /* @__PURE__ */ number$2()
23246
+ }),
23247
+ execute: (input, { client }) => {
23248
+ const data = input;
23249
+ return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
23250
+ client.httpClient,
23251
+ client.organizationId,
23252
+ client.workspaceIdNumber,
23253
+ data.task_id,
23254
+ data.time_block_id,
23255
+ void 0
23256
+ ]));
23257
+ }
23258
+ },
23259
+ {
23260
+ id: "focus.time-blocks.bulk-create",
23261
+ family: "focus",
23262
+ resource: "time-blocks",
23263
+ action: "bulk-create",
23264
+ title: "Bulk Create Time Blocks",
23265
+ description: "Bulk Create Time Blocks.",
23266
+ safety: "create",
23267
+ destructive: false,
23268
+ cli: {
23269
+ group: ["time-blocks", "bulk"],
23270
+ command: "create",
23271
+ interactive: "default"
23272
+ },
23273
+ mcp: { entityTool: "time-blocks" },
23274
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
23275
+ start: apiDateTimeString,
23276
+ task_id: /* @__PURE__ */ number$2(),
23277
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23278
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23279
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23280
+ })) }) }),
23281
+ execute: (input, { client }) => {
23282
+ const data = input;
23283
+ return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
23284
+ client.httpClient,
23285
+ client.organizationId,
23286
+ client.workspaceIdNumber,
23287
+ data.payload ?? data.data ?? data,
23288
+ void 0
23289
+ ]));
23290
+ }
23291
+ },
23292
+ {
23293
+ id: "focus.time-blocks.bulk-delete",
23294
+ family: "focus",
23295
+ resource: "time-blocks",
23296
+ action: "bulk-delete",
23297
+ title: "Bulk Delete Time Blocks",
23298
+ description: "Bulk Delete Time Blocks.",
23299
+ safety: "delete",
23300
+ destructive: true,
23301
+ cli: {
23302
+ group: ["time-blocks", "bulk"],
23303
+ command: "delete",
23304
+ interactive: "default"
23305
+ },
23306
+ mcp: { entityTool: "time-blocks" },
23307
+ inputSchema: /* @__PURE__ */ looseObject({
23308
+ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
23309
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23310
+ }),
23311
+ execute: (input, { client }) => {
23312
+ const data = input;
23313
+ return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
23314
+ client.httpClient,
23315
+ client.organizationId,
23316
+ client.workspaceIdNumber,
23317
+ data.ids,
23318
+ data.outbound_sync,
23319
+ void 0
23320
+ ]));
23321
+ }
23322
+ },
23323
+ {
23324
+ id: "focus.time-blocks.bulk-partial-update",
23325
+ family: "focus",
23326
+ resource: "time-blocks",
23327
+ action: "bulk-partial-update",
23328
+ title: "Bulk Partial Update Time Blocks",
23329
+ description: "Bulk Partial Update Time Blocks.",
23330
+ safety: "update",
23331
+ destructive: false,
23332
+ cli: {
23333
+ group: ["time-blocks", "bulk"],
23334
+ command: "partial-update",
23335
+ interactive: "hidden"
23336
+ },
23337
+ mcp: { entityTool: "time-blocks" },
23338
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
23339
+ execute: (input, { client }) => {
23340
+ const data = input;
23341
+ return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
23342
+ client.httpClient,
23343
+ client.organizationId,
23344
+ client.workspaceIdNumber,
23345
+ data.payload ?? data.data ?? data,
23346
+ void 0
23347
+ ]));
23348
+ }
23349
+ },
23350
+ {
23351
+ id: "focus.time-blocks.create",
23352
+ family: "focus",
23353
+ resource: "time-blocks",
23354
+ action: "create",
23355
+ title: "Create Time Blocks",
23356
+ description: "Create Time Blocks.",
23357
+ safety: "create",
23358
+ destructive: false,
23359
+ cli: {
23360
+ group: ["time-blocks"],
23361
+ command: "create",
23362
+ interactive: "default"
23363
+ },
23364
+ mcp: { entityTool: "time-blocks" },
23365
+ inputSchema: /* @__PURE__ */ looseObject({
23366
+ payload: /* @__PURE__ */ looseObject({
23367
+ start: apiDateTimeString,
23368
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23369
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23370
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23371
+ }),
23372
+ task_id: /* @__PURE__ */ number$2()
23373
+ }),
23374
+ execute: (input, { client }) => {
23375
+ const data = input;
23376
+ return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
23377
+ client.httpClient,
23378
+ client.organizationId,
23379
+ client.workspaceIdNumber,
23380
+ data.task_id,
23381
+ data.payload ?? data.data ?? data,
23382
+ void 0
23383
+ ]));
23384
+ }
23385
+ },
23386
+ {
23387
+ id: "focus.time-blocks.delete",
23388
+ family: "focus",
23389
+ resource: "time-blocks",
23390
+ action: "delete",
23391
+ title: "Delete Time Blocks",
23392
+ description: "Delete Time Blocks.",
23393
+ safety: "delete",
23394
+ destructive: true,
23395
+ cli: {
23396
+ group: ["time-blocks"],
23397
+ command: "delete",
23398
+ interactive: "default"
23399
+ },
23400
+ mcp: { entityTool: "time-blocks" },
23401
+ inputSchema: /* @__PURE__ */ looseObject({
23402
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23403
+ task_id: /* @__PURE__ */ number$2(),
23404
+ time_block_id: /* @__PURE__ */ number$2()
23405
+ }),
23406
+ execute: (input, { client }) => {
23407
+ const data = input;
23408
+ return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
23409
+ client.httpClient,
23410
+ client.organizationId,
23411
+ client.workspaceIdNumber,
23412
+ data.task_id,
23413
+ data.time_block_id,
23414
+ data.outbound_sync,
23415
+ void 0
23416
+ ]));
23417
+ }
23418
+ },
23419
+ {
23420
+ id: "focus.time-blocks.get",
23421
+ family: "focus",
23422
+ resource: "time-blocks",
23423
+ action: "get",
23424
+ title: "Get Time Blocks",
23425
+ description: "Get Time Blocks.",
23426
+ safety: "read",
23427
+ destructive: false,
23428
+ cli: {
23429
+ group: ["time-blocks"],
23430
+ command: "get",
23431
+ interactive: "available"
23432
+ },
23433
+ mcp: { entityTool: "time-blocks" },
23434
+ inputSchema: /* @__PURE__ */ looseObject({
23435
+ task_id: /* @__PURE__ */ number$2(),
23436
+ time_block_id: /* @__PURE__ */ number$2()
23437
+ }),
23438
+ execute: (input, { client }) => {
23439
+ const data = input;
23440
+ return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
23441
+ client.httpClient,
23442
+ client.organizationId,
23443
+ client.workspaceIdNumber,
23444
+ data.task_id,
23445
+ data.time_block_id,
23446
+ void 0
23447
+ ]));
23448
+ }
23449
+ },
23450
+ {
23451
+ id: "focus.time-blocks.get-range",
23452
+ family: "focus",
23453
+ resource: "time-blocks",
23454
+ action: "get-range",
23455
+ title: "Get Range Time Blocks",
23456
+ description: "Get Range Time Blocks.",
23457
+ safety: "read",
23458
+ destructive: false,
23459
+ cli: {
23460
+ group: ["time-blocks"],
23461
+ command: "get-range",
23462
+ interactive: "hidden"
23463
+ },
23464
+ mcp: { entityTool: "time-blocks" },
23465
+ inputSchema: /* @__PURE__ */ looseObject({
23466
+ archived: /* @__PURE__ */ unknown$1(),
23467
+ date_from: /* @__PURE__ */ unknown$1(),
23468
+ date_to: /* @__PURE__ */ unknown$1(),
23469
+ order_by: /* @__PURE__ */ unknown$1(),
23470
+ page: /* @__PURE__ */ number$2(),
23471
+ per_page: /* @__PURE__ */ unknown$1(),
23472
+ status_id: /* @__PURE__ */ number$2(),
23473
+ task_id: /* @__PURE__ */ number$2()
23474
+ }),
23475
+ execute: (input, { client }) => {
23476
+ const data = input;
23477
+ return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
23478
+ client.httpClient,
23479
+ client.organizationId,
23480
+ client.workspaceIdNumber,
23481
+ data,
23482
+ void 0
23483
+ ]));
23484
+ }
23485
+ },
23486
+ {
23487
+ id: "focus.time-blocks.get-range-stream",
23488
+ family: "focus",
23489
+ resource: "time-blocks",
23490
+ action: "get-range-stream",
23491
+ title: "Get Range Stream Time Blocks",
23492
+ description: "Get Range Stream Time Blocks.",
23493
+ safety: "read",
23494
+ destructive: false,
23495
+ cli: {
23496
+ group: ["time-blocks"],
23497
+ command: "get-range-stream",
23498
+ interactive: "hidden"
23499
+ },
23500
+ mcp: { entityTool: "time-blocks" },
23501
+ inputSchema: /* @__PURE__ */ looseObject({
23502
+ archived: /* @__PURE__ */ unknown$1(),
23503
+ date_from: /* @__PURE__ */ unknown$1(),
23504
+ date_to: /* @__PURE__ */ unknown$1(),
23505
+ order_by: /* @__PURE__ */ unknown$1(),
23506
+ status_id: /* @__PURE__ */ number$2(),
23507
+ task_id: /* @__PURE__ */ number$2()
23508
+ }),
23509
+ execute: (input, { client }) => {
23510
+ const data = input;
23511
+ return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
23512
+ client.httpClient,
23513
+ client.organizationId,
23514
+ client.workspaceIdNumber,
23515
+ data,
23516
+ void 0
23517
+ ]));
23518
+ }
23519
+ },
23520
+ {
23521
+ id: "focus.time-blocks.get-task-time-blocks",
23522
+ family: "focus",
23523
+ resource: "time-blocks",
23524
+ action: "get-task-time-blocks",
23525
+ title: "Get Task Time Blocks Time Blocks",
23526
+ description: "Get Task Time Blocks Time Blocks.",
23527
+ safety: "read",
23528
+ destructive: false,
23529
+ cli: {
23530
+ group: ["time-blocks"],
23531
+ command: "get-task-time-blocks",
23532
+ interactive: "hidden"
23533
+ },
23534
+ mcp: { entityTool: "time-blocks" },
23535
+ inputSchema: /* @__PURE__ */ looseObject({
23536
+ archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23537
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23538
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23539
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23540
+ task_id: /* @__PURE__ */ number$2()
23541
+ }),
23542
+ execute: (input, { client }) => {
23543
+ const data = input;
23544
+ return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
23545
+ client.httpClient,
23546
+ client.organizationId,
23547
+ client.workspaceIdNumber,
23548
+ data.task_id,
23549
+ data,
23550
+ void 0
23551
+ ]));
23552
+ }
23553
+ },
23554
+ {
23555
+ id: "focus.time-blocks.partial-update",
23556
+ family: "focus",
23557
+ resource: "time-blocks",
23558
+ action: "partial-update",
23559
+ title: "Partial Update Time Blocks",
23560
+ description: "Partial Update Time Blocks.",
23561
+ safety: "update",
23562
+ destructive: false,
23563
+ cli: {
23564
+ group: ["time-blocks"],
23565
+ command: "partial-update",
23566
+ interactive: "default"
23567
+ },
23568
+ mcp: { entityTool: "time-blocks" },
23569
+ inputSchema: /* @__PURE__ */ looseObject({
23570
+ payload: /* @__PURE__ */ looseObject({
23571
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23572
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23573
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23574
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
23575
+ task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23576
+ }),
23577
+ task_id: /* @__PURE__ */ number$2(),
23578
+ time_block_id: /* @__PURE__ */ number$2()
23579
+ }),
23580
+ execute: (input, { client }) => {
23581
+ const data = input;
23582
+ return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
23583
+ client.httpClient,
23584
+ client.organizationId,
23585
+ client.workspaceIdNumber,
23586
+ data.task_id,
23587
+ data.time_block_id,
23588
+ data.payload ?? data.data ?? data,
23589
+ void 0
23590
+ ]));
23591
+ }
23592
+ },
23593
+ {
23594
+ id: "focus.time-blocks.restore",
23595
+ family: "focus",
23596
+ resource: "time-blocks",
23597
+ action: "restore",
23598
+ title: "Restore Time Blocks",
23599
+ description: "Restore Time Blocks.",
23600
+ safety: "update",
23601
+ destructive: false,
23602
+ cli: {
23603
+ group: ["time-blocks"],
23604
+ command: "restore",
23605
+ interactive: "default"
23606
+ },
23607
+ mcp: { entityTool: "time-blocks" },
23608
+ inputSchema: /* @__PURE__ */ looseObject({
23609
+ task_id: /* @__PURE__ */ number$2(),
23610
+ time_block_id: /* @__PURE__ */ number$2()
23611
+ }),
23612
+ execute: (input, { client }) => {
23613
+ const data = input;
23614
+ return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
23615
+ client.httpClient,
23616
+ client.organizationId,
23617
+ client.workspaceIdNumber,
23618
+ data.task_id,
23619
+ data.time_block_id,
23620
+ void 0
23621
+ ]));
23622
+ }
23623
+ },
23624
+ {
23625
+ id: "focus.time-blocks.unarchive",
23626
+ family: "focus",
23627
+ resource: "time-blocks",
23628
+ action: "unarchive",
23629
+ title: "Unarchive Time Blocks",
23630
+ description: "Unarchive Time Blocks.",
23631
+ safety: "update",
23632
+ destructive: false,
23633
+ cli: {
23634
+ group: ["time-blocks"],
23635
+ command: "unarchive",
23636
+ interactive: "default"
23637
+ },
23638
+ mcp: { entityTool: "time-blocks" },
23639
+ inputSchema: /* @__PURE__ */ looseObject({
23640
+ task_id: /* @__PURE__ */ number$2(),
23641
+ time_block_id: /* @__PURE__ */ number$2()
23642
+ }),
23643
+ execute: (input, { client }) => {
23644
+ const data = input;
23645
+ return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
23753
23646
  client.httpClient,
23754
23647
  client.organizationId,
23755
23648
  client.workspaceIdNumber,
23756
23649
  data.task_id,
23757
- data.payload ?? data.data ?? data,
23650
+ data.time_block_id,
23758
23651
  void 0
23759
23652
  ]));
23760
23653
  }
23761
23654
  },
23762
23655
  {
23763
- id: "focus.tasks.update-calendar-range",
23656
+ id: "focus.time-blocks.update",
23764
23657
  family: "focus",
23765
- resource: "tasks",
23766
- action: "update-calendar-range",
23767
- title: "Update Calendar Range Tasks",
23768
- description: "Update Calendar Range Tasks.",
23658
+ resource: "time-blocks",
23659
+ action: "update",
23660
+ title: "Update Time Blocks",
23661
+ description: "Update Time Blocks.",
23769
23662
  safety: "update",
23770
23663
  destructive: false,
23771
23664
  cli: {
23772
- group: ["tasks"],
23773
- command: "update-calendar-range",
23665
+ group: ["time-blocks"],
23666
+ command: "update",
23774
23667
  interactive: "default"
23775
23668
  },
23776
- mcp: { entityTool: "tasks" },
23669
+ mcp: { entityTool: "time-blocks" },
23777
23670
  inputSchema: /* @__PURE__ */ looseObject({
23778
- date_from: /* @__PURE__ */ string$1(),
23779
- date_to: /* @__PURE__ */ string$1(),
23780
- skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23671
+ payload: /* @__PURE__ */ looseObject({
23672
+ start: apiDateTimeString,
23673
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23674
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23675
+ outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23676
+ }),
23677
+ task_id: /* @__PURE__ */ number$2(),
23678
+ time_block_id: /* @__PURE__ */ number$2()
23781
23679
  }),
23782
23680
  execute: (input, { client }) => {
23783
23681
  const data = input;
23784
- return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
23682
+ return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
23785
23683
  client.httpClient,
23786
23684
  client.organizationId,
23787
23685
  client.workspaceIdNumber,
23788
- data.date_from,
23789
- data.date_to,
23790
- data.skip_provider_refresh,
23686
+ data.task_id,
23687
+ data.time_block_id,
23688
+ data.payload ?? data.data ?? data,
23791
23689
  void 0
23792
23690
  ]));
23793
23691
  }
@@ -24007,8 +23905,7 @@ const generatedFocusOperations = [
24007
23905
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
24008
23906
  "project",
24009
23907
  "task",
24010
- "description",
24011
- "tags"
23908
+ "description"
24012
23909
  ]) })),
24013
23910
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24014
23911
  }) }),
@@ -24038,7 +23935,6 @@ const generatedFocusOperations = [
24038
23935
  },
24039
23936
  mcp: { entityTool: "time-entries" },
24040
23937
  inputSchema: /* @__PURE__ */ looseObject({
24041
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24042
23938
  payload: /* @__PURE__ */ looseObject({
24043
23939
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24044
23940
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -24049,12 +23945,11 @@ const generatedFocusOperations = [
24049
23945
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24050
23946
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24051
23947
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24052
- repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24053
23948
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
23949
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24054
23950
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24055
23951
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24056
23952
  }),
24057
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24058
23953
  task_id: /* @__PURE__ */ number$2()
24059
23954
  }),
24060
23955
  execute: (input, { client }) => {
@@ -24065,8 +23960,6 @@ const generatedFocusOperations = [
24065
23960
  client.workspaceIdNumber,
24066
23961
  data.task_id,
24067
23962
  data.payload ?? data.data ?? data,
24068
- data.from_recurring_task_id,
24069
- data.return_occurrence,
24070
23963
  void 0
24071
23964
  ]));
24072
23965
  }
@@ -24086,25 +23979,21 @@ const generatedFocusOperations = [
24086
23979
  interactive: "default"
24087
23980
  },
24088
23981
  mcp: { entityTool: "time-entries" },
24089
- inputSchema: /* @__PURE__ */ looseObject({
24090
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24091
- payload: /* @__PURE__ */ looseObject({
24092
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24093
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24094
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24095
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24096
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24097
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24098
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24099
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24100
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24101
- repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24102
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
24103
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24104
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24105
- }),
24106
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24107
- }),
23982
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
23983
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
23984
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23985
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23986
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23987
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23988
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
23989
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23990
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23991
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23992
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
23993
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23994
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
23995
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23996
+ }) }),
24108
23997
  execute: (input, { client }) => {
24109
23998
  const data = input;
24110
23999
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -24112,8 +24001,6 @@ const generatedFocusOperations = [
24112
24001
  client.organizationId,
24113
24002
  client.workspaceIdNumber,
24114
24003
  data.payload ?? data.data ?? data,
24115
- data.from_recurring_task_id,
24116
- data.return_occurrence,
24117
24004
  void 0
24118
24005
  ]));
24119
24006
  }
@@ -24133,11 +24020,7 @@ const generatedFocusOperations = [
24133
24020
  interactive: "default"
24134
24021
  },
24135
24022
  mcp: { entityTool: "time-entries" },
24136
- inputSchema: /* @__PURE__ */ looseObject({
24137
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24138
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24139
- time_entry_id: /* @__PURE__ */ number$2()
24140
- }),
24023
+ inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
24141
24024
  execute: (input, { client }) => {
24142
24025
  const data = input;
24143
24026
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -24145,8 +24028,6 @@ const generatedFocusOperations = [
24145
24028
  client.organizationId,
24146
24029
  client.workspaceIdNumber,
24147
24030
  data.time_entry_id,
24148
- data.from_recurring_task_id,
24149
- data.return_occurrence,
24150
24031
  void 0
24151
24032
  ]));
24152
24033
  }
@@ -24227,7 +24108,6 @@ const generatedFocusOperations = [
24227
24108
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
24228
24109
  include_taskless: /* @__PURE__ */ unknown$1(),
24229
24110
  order_by: /* @__PURE__ */ unknown$1(),
24230
- project_id: /* @__PURE__ */ number$2(),
24231
24111
  status_id: /* @__PURE__ */ number$2(),
24232
24112
  task_id: /* @__PURE__ */ number$2(),
24233
24113
  type: /* @__PURE__ */ unknown$1()
@@ -24243,6 +24123,33 @@ const generatedFocusOperations = [
24243
24123
  ]));
24244
24124
  }
24245
24125
  },
24126
+ {
24127
+ id: "focus.time-entries.get-stream-time-entries-time-block-ids",
24128
+ family: "focus",
24129
+ resource: "time-entries",
24130
+ action: "get-stream-time-entries-time-block-ids",
24131
+ title: "Get Stream Time Entries Time Block Ids Time Entries",
24132
+ description: "Get Stream Time Entries Time Block Ids Time Entries.",
24133
+ safety: "read",
24134
+ destructive: false,
24135
+ cli: {
24136
+ group: ["time-entries"],
24137
+ command: "get-stream-time-entries-time-block-ids",
24138
+ interactive: "available"
24139
+ },
24140
+ mcp: { entityTool: "time-entries" },
24141
+ inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
24142
+ execute: (input, { client }) => {
24143
+ const data = input;
24144
+ return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
24145
+ client.httpClient,
24146
+ client.organizationId,
24147
+ client.workspaceIdNumber,
24148
+ data,
24149
+ void 0
24150
+ ]));
24151
+ }
24152
+ },
24246
24153
  {
24247
24154
  id: "focus.time-entries.get-task-time-entries",
24248
24155
  family: "focus",
@@ -24264,6 +24171,7 @@ const generatedFocusOperations = [
24264
24171
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24265
24172
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24266
24173
  task_id: /* @__PURE__ */ number$2(),
24174
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24267
24175
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
24268
24176
  }),
24269
24177
  execute: (input, { client }) => {
@@ -24376,14 +24284,12 @@ const generatedFocusOperations = [
24376
24284
  },
24377
24285
  mcp: { entityTool: "time-entries" },
24378
24286
  inputSchema: /* @__PURE__ */ looseObject({
24379
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24380
24287
  payload: /* @__PURE__ */ looseObject({
24381
24288
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24382
24289
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24383
24290
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24384
24291
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
24385
24292
  }),
24386
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24387
24293
  time_entry_id: /* @__PURE__ */ number$2()
24388
24294
  }),
24389
24295
  execute: (input, { client }) => {
@@ -24394,8 +24300,6 @@ const generatedFocusOperations = [
24394
24300
  client.workspaceIdNumber,
24395
24301
  data.time_entry_id,
24396
24302
  data.payload ?? data.data ?? data,
24397
- data.from_recurring_task_id,
24398
- data.return_occurrence,
24399
24303
  void 0
24400
24304
  ]));
24401
24305
  }
@@ -24653,7 +24557,6 @@ const generatedFocusOperations = [
24653
24557
  },
24654
24558
  mcp: { entityTool: "time-entries" },
24655
24559
  inputSchema: /* @__PURE__ */ looseObject({
24656
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24657
24560
  payload: /* @__PURE__ */ looseObject({
24658
24561
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24659
24562
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -24663,9 +24566,9 @@ const generatedFocusOperations = [
24663
24566
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24664
24567
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24665
24568
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
24569
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24666
24570
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
24667
24571
  }),
24668
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24669
24572
  time_entry_id: /* @__PURE__ */ number$2()
24670
24573
  }),
24671
24574
  execute: (input, { client }) => {
@@ -24676,8 +24579,6 @@ const generatedFocusOperations = [
24676
24579
  client.workspaceIdNumber,
24677
24580
  data.time_entry_id,
24678
24581
  data.payload ?? data.data ?? data,
24679
- data.from_recurring_task_id,
24680
- data.return_occurrence,
24681
24582
  void 0
24682
24583
  ]));
24683
24584
  }
@@ -24742,118 +24643,6 @@ const generatedFocusOperations = [
24742
24643
  ]));
24743
24644
  }
24744
24645
  },
24745
- {
24746
- id: "focus.time-off.get-timeoff-balance-changes-for-user",
24747
- family: "focus",
24748
- resource: "time-off",
24749
- action: "get-timeoff-balance-changes-for-user",
24750
- title: "Get Timeoff Balance Changes For User Time Off",
24751
- description: "Get Timeoff Balance Changes For User Time Off.",
24752
- safety: "read",
24753
- destructive: false,
24754
- cli: {
24755
- group: ["time-off"],
24756
- command: "get-timeoff-balance-changes-for-user",
24757
- interactive: "hidden"
24758
- },
24759
- mcp: { entityTool: "time-off" },
24760
- inputSchema: /* @__PURE__ */ looseObject({
24761
- category_id: /* @__PURE__ */ number$2(),
24762
- page: /* @__PURE__ */ number$2(),
24763
- rows: /* @__PURE__ */ unknown$1(),
24764
- user_id: /* @__PURE__ */ number$2(),
24765
- year: /* @__PURE__ */ unknown$1()
24766
- }),
24767
- execute: (input, { client }) => {
24768
- const data = input;
24769
- return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
24770
- client.httpClient,
24771
- client.organizationId,
24772
- data.user_id,
24773
- data,
24774
- void 0
24775
- ]));
24776
- }
24777
- },
24778
- {
24779
- id: "focus.time-off.get-timeoff-balances-for-user",
24780
- family: "focus",
24781
- resource: "time-off",
24782
- action: "get-timeoff-balances-for-user",
24783
- title: "Get Timeoff Balances For User Time Off",
24784
- description: "Get Timeoff Balances For User Time Off.",
24785
- safety: "read",
24786
- destructive: false,
24787
- cli: {
24788
- group: ["time-off"],
24789
- command: "get-timeoff-balances-for-user",
24790
- interactive: "available"
24791
- },
24792
- mcp: { entityTool: "time-off" },
24793
- inputSchema: /* @__PURE__ */ looseObject({
24794
- category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24795
- date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
24796
- user_id: /* @__PURE__ */ number$2()
24797
- }),
24798
- execute: (input, { client }) => {
24799
- const data = input;
24800
- return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
24801
- client.httpClient,
24802
- client.organizationId,
24803
- data.user_id,
24804
- data,
24805
- void 0
24806
- ]));
24807
- }
24808
- },
24809
- {
24810
- id: "focus.time-off.get-timeoff-categories",
24811
- family: "focus",
24812
- resource: "time-off",
24813
- action: "get-timeoff-categories",
24814
- title: "Get Timeoff Categories Time Off",
24815
- description: "Get Timeoff Categories Time Off.",
24816
- safety: "read",
24817
- destructive: false,
24818
- cli: {
24819
- group: ["time-off"],
24820
- command: "get-timeoff-categories",
24821
- interactive: "hidden"
24822
- },
24823
- mcp: { entityTool: "time-off" },
24824
- inputSchema: /* @__PURE__ */ looseObject({}),
24825
- execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
24826
- client.httpClient,
24827
- client.organizationId,
24828
- void 0
24829
- ]))
24830
- },
24831
- {
24832
- id: "focus.time-off.get-timeoff-category",
24833
- family: "focus",
24834
- resource: "time-off",
24835
- action: "get-timeoff-category",
24836
- title: "Get Timeoff Category Time Off",
24837
- description: "Get Timeoff Category Time Off.",
24838
- safety: "read",
24839
- destructive: false,
24840
- cli: {
24841
- group: ["time-off"],
24842
- command: "get-timeoff-category",
24843
- interactive: "available"
24844
- },
24845
- mcp: { entityTool: "time-off" },
24846
- inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
24847
- execute: (input, { client }) => {
24848
- const data = input;
24849
- return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
24850
- client.httpClient,
24851
- client.organizationId,
24852
- data.category_id,
24853
- void 0
24854
- ]));
24855
- }
24856
- },
24857
24646
  {
24858
24647
  id: "focus.time-off.get-timeoff-for-user",
24859
24648
  family: "focus",
@@ -25305,40 +25094,6 @@ const generatedFocusOperations = [
25305
25094
  ]));
25306
25095
  }
25307
25096
  },
25308
- {
25309
- id: "focus.timesheets.get-status-counts",
25310
- family: "focus",
25311
- resource: "timesheets",
25312
- action: "get-status-counts",
25313
- title: "Get Status Counts Timesheets",
25314
- description: "Get Status Counts Timesheets.",
25315
- safety: "read",
25316
- destructive: false,
25317
- cli: {
25318
- group: ["timesheets"],
25319
- command: "get-status-counts",
25320
- interactive: "hidden"
25321
- },
25322
- mcp: { entityTool: "timesheets" },
25323
- inputSchema: /* @__PURE__ */ looseObject({
25324
- approver_user_account_ids: /* @__PURE__ */ unknown$1(),
25325
- date_from: /* @__PURE__ */ unknown$1(),
25326
- date_to: /* @__PURE__ */ unknown$1(),
25327
- setup_id: /* @__PURE__ */ number$2(),
25328
- team_ids: /* @__PURE__ */ unknown$1(),
25329
- user_account_ids: /* @__PURE__ */ unknown$1()
25330
- }),
25331
- execute: (input, { client }) => {
25332
- const data = input;
25333
- return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
25334
- client.httpClient,
25335
- client.organizationId,
25336
- client.workspaceIdNumber,
25337
- data,
25338
- void 0
25339
- ]));
25340
- }
25341
- },
25342
25097
  {
25343
25098
  id: "focus.timesheets.remove-timesheet-flag",
25344
25099
  family: "focus",
@@ -25888,33 +25643,6 @@ const generatedFocusOperations = [
25888
25643
  ]));
25889
25644
  }
25890
25645
  },
25891
- {
25892
- id: "focus.track-team-invites.post",
25893
- family: "focus",
25894
- resource: "track-team-invites",
25895
- action: "post",
25896
- title: "Post Track Team Invites",
25897
- description: "Post Track Team Invites.",
25898
- safety: "create",
25899
- destructive: false,
25900
- cli: {
25901
- group: ["track-team-invites"],
25902
- command: "post",
25903
- interactive: "default"
25904
- },
25905
- mcp: { entityTool: "track-team-invites" },
25906
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
25907
- execute: (input, { client }) => {
25908
- const data = input;
25909
- return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
25910
- client.httpClient,
25911
- client.organizationId,
25912
- client.workspaceIdNumber,
25913
- data.payload ?? data.data ?? data,
25914
- void 0
25915
- ]));
25916
- }
25917
- },
25918
25646
  {
25919
25647
  id: "focus.users.list",
25920
25648
  family: "focus",
@@ -25936,56 +25664,6 @@ const generatedFocusOperations = [
25936
25664
  return client.listOrgUsers(data);
25937
25665
  }
25938
25666
  },
25939
- {
25940
- id: "focus.users.settings-email-unsubscribe",
25941
- family: "focus",
25942
- resource: "users",
25943
- action: "settings-email-unsubscribe",
25944
- title: "Settings Email Unsubscribe Users",
25945
- description: "Settings Email Unsubscribe Users.",
25946
- safety: "update",
25947
- destructive: false,
25948
- cli: {
25949
- group: ["users", "settings"],
25950
- command: "email-unsubscribe",
25951
- interactive: "default"
25952
- },
25953
- mcp: { entityTool: "users" },
25954
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
25955
- execute: (input, { client }) => {
25956
- const data = input;
25957
- return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
25958
- client.httpClient,
25959
- data.token,
25960
- void 0
25961
- ]));
25962
- }
25963
- },
25964
- {
25965
- id: "focus.users.settings-email-unsubscribe-page",
25966
- family: "focus",
25967
- resource: "users",
25968
- action: "settings-email-unsubscribe-page",
25969
- title: "Settings Email Unsubscribe Page Users",
25970
- description: "Settings Email Unsubscribe Page Users.",
25971
- safety: "read",
25972
- destructive: false,
25973
- cli: {
25974
- group: ["users", "settings"],
25975
- command: "email-unsubscribe-page",
25976
- interactive: "available"
25977
- },
25978
- mcp: { entityTool: "users" },
25979
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
25980
- execute: (input, { client }) => {
25981
- const data = input;
25982
- return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
25983
- client.httpClient,
25984
- data.token,
25985
- void 0
25986
- ]));
25987
- }
25988
- },
25989
25667
  {
25990
25668
  id: "focus.users.settings-list",
25991
25669
  family: "focus",
@@ -26047,9 +25725,6 @@ const generatedFocusOperations = [
26047
25725
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26048
25726
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26049
25727
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26050
- notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26051
- notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26052
- notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26053
25728
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26054
25729
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26055
25730
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -28109,4 +27784,4 @@ Common commands:
28109
27784
  //#endregion
28110
27785
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
28111
27786
 
28112
- //# sourceMappingURL=program-CZFebxH9.js.map
27787
+ //# sourceMappingURL=program-DUwIJOUU.js.map