@togglhq/mcp 1.11.75 → 1.11.76

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