@togglhq/cli 1.11.85 → 1.11.86

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.
@@ -5495,6 +5495,10 @@ function _joinExpects$1(values$1, separator) {
5495
5495
  */
5496
5496
  const ISO_DATE_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])$/u;
5497
5497
  /**
5498
+ * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time regex.
5499
+ */
5500
+ 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;
5501
+ /**
5498
5502
  * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp regex. Allows a
5499
5503
  * space as a date/time separator and an optional space before the UTC offset.
5500
5504
  */
@@ -5548,6 +5552,22 @@ function isoDate$1(message$1) {
5548
5552
  };
5549
5553
  }
5550
5554
  /* @__NO_SIDE_EFFECTS__ */
5555
+ function isoDateTime$1(message$1) {
5556
+ return {
5557
+ kind: "validation",
5558
+ type: "iso_date_time",
5559
+ reference: isoDateTime$1,
5560
+ async: false,
5561
+ expects: null,
5562
+ requirement: ISO_DATE_TIME_REGEX$1,
5563
+ message: message$1,
5564
+ "~run"(dataset, config$1) {
5565
+ if (dataset.typed && !this.requirement.test(dataset.value)) _addIssue$1(this, "date-time", dataset, config$1);
5566
+ return dataset;
5567
+ }
5568
+ };
5569
+ }
5570
+ /* @__NO_SIDE_EFFECTS__ */
5551
5571
  function isoTimestamp(message$1) {
5552
5572
  return {
5553
5573
  kind: "validation",
@@ -7254,6 +7274,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
7254
7274
  name: /* @__PURE__ */ string(),
7255
7275
  permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
7256
7276
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7277
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7257
7278
  client: /* @__PURE__ */ optional(ClientLiteSchema),
7258
7279
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7259
7280
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -7340,6 +7361,7 @@ const TaskSchema = /* @__PURE__ */ object({
7340
7361
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7341
7362
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7342
7363
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7364
+ is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
7343
7365
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7344
7366
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7345
7367
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7401,6 +7423,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7401
7423
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7402
7424
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7403
7425
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7426
+ is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
7404
7427
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7405
7428
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7406
7429
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -7561,6 +7584,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
7561
7584
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7562
7585
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7563
7586
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7587
+ pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
7588
+ pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
7564
7589
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7565
7590
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7566
7591
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -7646,8 +7671,10 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
7646
7671
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7647
7672
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7648
7673
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7674
+ filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7649
7675
  fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
7650
7676
  parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7677
+ picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7651
7678
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
7652
7679
  recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7653
7680
  rollover_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RolloverMins is the cumulative under/over budget carried into this instance from earlier instances in its recurring chain, in minutes. Positive = surplus (prior periods went under estimate, time carries forward); negative = debt (prior periods went over). Only populated for recurring instances; nil for templates and standalone projects. See service.HydrateRollover for the per-instance contribution rules driven by RolloverMode (expire / carry_over / carry_all)."))),
@@ -7703,6 +7730,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
7703
7730
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7704
7731
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7705
7732
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7733
+ pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
7734
+ pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
7706
7735
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7707
7736
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7708
7737
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -7875,8 +7904,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7875
7904
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7876
7905
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7877
7906
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
7878
- integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7879
- integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7880
7907
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7881
7908
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7882
7909
  pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7933,6 +7960,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7933
7960
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7934
7961
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7935
7962
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7963
+ repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
7936
7964
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7937
7965
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7938
7966
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -7969,6 +7997,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7969
7997
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7970
7998
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7971
7999
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
8000
+ repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
7972
8001
  rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7973
8002
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7974
8003
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
@@ -7989,7 +8018,6 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
7989
8018
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7990
8019
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7991
8020
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7992
- time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7993
8021
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7994
8022
  user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
7995
8023
  });
@@ -8018,8 +8046,7 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
8018
8046
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8019
8047
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
8020
8048
  tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
8021
- task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8022
- time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
8049
+ task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
8023
8050
  });
8024
8051
  const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
8025
8052
  //#endregion
@@ -9893,7 +9920,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
9893
9920
  })
9894
9921
  }).json();
9895
9922
  }
9896
- async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
9923
+ async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
9897
9924
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
9898
9925
  signal,
9899
9926
  searchParams: buildSearchParams$2({
@@ -9914,6 +9941,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
9914
9941
  include_rates,
9915
9942
  pinned_ids,
9916
9943
  has_group,
9944
+ track_without_focus,
9917
9945
  cf_filter,
9918
9946
  include_custom_fields,
9919
9947
  include_calendar_integration
@@ -10015,10 +10043,20 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
10015
10043
  }
10016
10044
  //#endregion
10017
10045
  //#region ../focus-queries/dist/projects/requests.ts
10018
- async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
10046
+ async function getProjectsClassic(httpClient, organization_id, workspace_id, { include_task_counts, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
10019
10047
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
10020
10048
  signal,
10021
10049
  searchParams: buildSearchParams$2({
10050
+ include_task_counts,
10051
+ include_picker_parent_group_counts,
10052
+ task_archived,
10053
+ task_recurring,
10054
+ task_state,
10055
+ task_source,
10056
+ task_assignee_user_id,
10057
+ task_assignee_team_id,
10058
+ task_include_unassigned,
10059
+ task_name,
10022
10060
  page,
10023
10061
  per_page,
10024
10062
  order_by,
@@ -10268,7 +10306,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10268
10306
  }
10269
10307
  //#endregion
10270
10308
  //#region ../focus-queries/dist/tasks/requests.ts
10271
- async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
10309
+ async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
10272
10310
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10273
10311
  signal,
10274
10312
  searchParams: buildSearchParams$2({
@@ -10281,7 +10319,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10281
10319
  toggl_user_id,
10282
10320
  name,
10283
10321
  has_time_entries,
10284
- has_time_blocks,
10285
10322
  has_dates,
10286
10323
  private: private_,
10287
10324
  archived,
@@ -10304,10 +10341,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10304
10341
  priority,
10305
10342
  is_priority,
10306
10343
  state,
10307
- timeblock_start_from,
10308
- timeblock_start_until,
10309
- time_block_id,
10310
- time_block_completed,
10311
10344
  team_id,
10312
10345
  assignee_team_id,
10313
10346
  assignee_user_id,
@@ -10319,7 +10352,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10319
10352
  include_assignees,
10320
10353
  include_parent_matches,
10321
10354
  disable_aggregations,
10322
- cf_filter
10355
+ cf_filter,
10356
+ recurring_occurrences_after,
10357
+ max_recurring_occurrences_after,
10358
+ recurring_task_read,
10359
+ include_projected_occurrences
10323
10360
  })
10324
10361
  }).json();
10325
10362
  }
@@ -10394,16 +10431,46 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
10394
10431
  })
10395
10432
  }).json();
10396
10433
  }
10397
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
10434
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
10398
10435
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
10399
10436
  signal,
10400
10437
  searchParams: buildSearchParams$2({
10401
10438
  date_from,
10402
- date_to
10439
+ date_to,
10440
+ skip_provider_refresh
10441
+ })
10442
+ }).json();
10443
+ }
10444
+ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
10445
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
10446
+ signal,
10447
+ searchParams: buildSearchParams$2({
10448
+ project_id,
10449
+ without_project,
10450
+ pinned_only,
10451
+ include_unassigned,
10452
+ search,
10453
+ only_me,
10454
+ page,
10455
+ per_page
10456
+ })
10457
+ }).json();
10458
+ }
10459
+ async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
10460
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
10461
+ signal,
10462
+ searchParams: buildSearchParams$2({
10463
+ project_id,
10464
+ without_project,
10465
+ include_unassigned,
10466
+ search,
10467
+ only_me,
10468
+ page,
10469
+ per_page
10403
10470
  })
10404
10471
  }).json();
10405
10472
  }
10406
- async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
10473
+ async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
10407
10474
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
10408
10475
  signal,
10409
10476
  searchParams: buildSearchParams$2({
@@ -10419,11 +10486,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10419
10486
  assignee_team_id,
10420
10487
  assignee_user_id,
10421
10488
  tag_id,
10422
- include_assignees
10489
+ include_assignees,
10490
+ recurring_occurrences_after,
10491
+ max_recurring_occurrences_after,
10492
+ recurring_task_read,
10493
+ include_projected_occurrences
10423
10494
  })
10424
10495
  }).json();
10425
10496
  }
10426
- async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
10497
+ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
10427
10498
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10428
10499
  signal,
10429
10500
  searchParams: buildSearchParams$2({
@@ -10435,7 +10506,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10435
10506
  name,
10436
10507
  include_parent_matches,
10437
10508
  has_time_entries,
10438
- has_time_blocks,
10439
10509
  has_dates,
10440
10510
  private: private_,
10441
10511
  archived,
@@ -10458,8 +10528,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10458
10528
  priority,
10459
10529
  is_priority,
10460
10530
  state,
10461
- time_block_id,
10462
- time_block_completed,
10463
10531
  team_id,
10464
10532
  assignee_team_id,
10465
10533
  assignee_user_id,
@@ -10468,7 +10536,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10468
10536
  recurring_task_ids,
10469
10537
  client_id,
10470
10538
  include_assignees,
10471
- cf_filter
10539
+ cf_filter,
10540
+ recurring_occurrences_after,
10541
+ max_recurring_occurrences_after,
10542
+ recurring_task_read,
10543
+ include_projected_occurrences
10472
10544
  })
10473
10545
  }).json();
10474
10546
  }
@@ -10523,6 +10595,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
10523
10595
  })
10524
10596
  }).json();
10525
10597
  }
10598
+ async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
10599
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
10600
+ signal,
10601
+ searchParams: buildSearchParams$2({ return_occurrence })
10602
+ }).json();
10603
+ }
10526
10604
  async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
10527
10605
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
10528
10606
  signal,
@@ -10548,7 +10626,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
10548
10626
  }
10549
10627
  //#endregion
10550
10628
  //#region ../focus-queries/dist/time-entries/requests.ts
10551
- async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived, time_block_id } = {}, signal) {
10629
+ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
10552
10630
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
10553
10631
  signal,
10554
10632
  searchParams: buildSearchParams$2({
@@ -10556,21 +10634,28 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
10556
10634
  per_page,
10557
10635
  order_by,
10558
10636
  type,
10559
- archived,
10560
- time_block_id
10637
+ archived
10561
10638
  })
10562
10639
  }).json();
10563
10640
  }
10564
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
10641
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
10565
10642
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
10566
10643
  signal,
10567
- json: data
10644
+ json: data,
10645
+ searchParams: buildSearchParams$2({
10646
+ from_recurring_task_id,
10647
+ return_occurrence
10648
+ })
10568
10649
  }).json();
10569
10650
  }
10570
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
10651
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
10571
10652
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
10572
10653
  signal,
10573
- json: data
10654
+ json: data,
10655
+ searchParams: buildSearchParams$2({
10656
+ from_recurring_task_id,
10657
+ return_occurrence
10658
+ })
10574
10659
  }).json();
10575
10660
  }
10576
10661
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -10621,7 +10706,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
10621
10706
  json: data
10622
10707
  }).json();
10623
10708
  }
10624
- async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
10709
+ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, project_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
10625
10710
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
10626
10711
  signal,
10627
10712
  searchParams: buildSearchParams$2({
@@ -10629,6 +10714,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
10629
10714
  date_to,
10630
10715
  task_id,
10631
10716
  status_id,
10717
+ project_id,
10632
10718
  type,
10633
10719
  order_by,
10634
10720
  archived,
@@ -10643,28 +10729,36 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
10643
10729
  json: data
10644
10730
  }).json();
10645
10731
  }
10646
- async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
10647
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
10648
- signal,
10649
- searchParams: buildSearchParams$2({ time_block_id })
10650
- }).json();
10651
- }
10652
10732
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
10653
10733
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
10654
10734
  }
10655
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10735
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10656
10736
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10657
10737
  signal,
10658
- json: data
10738
+ json: data,
10739
+ searchParams: buildSearchParams$2({
10740
+ from_recurring_task_id,
10741
+ return_occurrence
10742
+ })
10659
10743
  }).json();
10660
10744
  }
10661
- async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
10662
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
10745
+ async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
10746
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10747
+ signal,
10748
+ searchParams: buildSearchParams$2({
10749
+ from_recurring_task_id,
10750
+ return_occurrence
10751
+ })
10752
+ }).json();
10663
10753
  }
10664
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
10754
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
10665
10755
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
10666
10756
  signal,
10667
- json: data
10757
+ json: data,
10758
+ searchParams: buildSearchParams$2({
10759
+ from_recurring_task_id,
10760
+ return_occurrence
10761
+ })
10668
10762
  }).json();
10669
10763
  }
10670
10764
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -10779,7 +10873,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
10779
10873
  ]))
10780
10874
  });
10781
10875
  //#endregion
10782
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.83_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9f32da449d23be71371a14ef68f141e3/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10876
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10783
10877
  async function getInvitations(httpClient, signal) {
10784
10878
  return (await httpClient.get(`invitations`, { signal })).json();
10785
10879
  }
@@ -10796,7 +10890,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
10796
10890
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
10797
10891
  }
10798
10892
  //#endregion
10799
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.83_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9f32da449d23be71371a14ef68f141e3/node_modules/@toggl/queries/dist/org/utils/requests.mjs
10893
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/utils/requests.mjs
10800
10894
  function buildSearchParams(params, flattenArrays = false) {
10801
10895
  const searchParams = new URLSearchParams();
10802
10896
  Object.entries(params).forEach(([key, value]) => {
@@ -10808,7 +10902,7 @@ function buildSearchParams(params, flattenArrays = false) {
10808
10902
  return searchParams;
10809
10903
  }
10810
10904
  //#endregion
10811
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.83_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9f32da449d23be71371a14ef68f141e3/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
10905
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
10812
10906
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
10813
10907
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
10814
10908
  }
@@ -10822,7 +10916,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
10822
10916
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
10823
10917
  }
10824
10918
  //#endregion
10825
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.83_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9f32da449d23be71371a14ef68f141e3/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
10919
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
10826
10920
  async function getWorkspaces(httpClient, organization_id, signal) {
10827
10921
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
10828
10922
  }
@@ -10831,7 +10925,7 @@ async function getWorkspaceUserMeRoles(httpClient, organization_id, workspace_id
10831
10925
  }
10832
10926
  const WorkingHoursCreateInputSchema = /* @__PURE__ */ object$2({
10833
10927
  working_hours: /* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ maxValue$1(168)),
10834
- starting_hours: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ maxValue$1(24))),
10928
+ starting_hours: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ minValue$1(0), /* @__PURE__ */ maxValue$1(24))),
10835
10929
  weekday: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ minValue$1(0), /* @__PURE__ */ maxValue$1(6)))
10836
10930
  });
10837
10931
  const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
@@ -10842,7 +10936,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
10842
10936
  });
10843
10937
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
10844
10938
  //#endregion
10845
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.83_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9f32da449d23be71371a14ef68f141e3/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
10939
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
10846
10940
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
10847
10941
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
10848
10942
  signal,
@@ -10853,12 +10947,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
10853
10947
  })).json();
10854
10948
  }
10855
10949
  //#endregion
10856
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.83_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9f32da449d23be71371a14ef68f141e3/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
10950
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
10857
10951
  async function getStatus(httpClient, signal) {
10858
10952
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
10859
10953
  }
10860
10954
  //#endregion
10861
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.83_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9f32da449d23be71371a14ef68f141e3/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
10955
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
10862
10956
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
10863
10957
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
10864
10958
  signal,
@@ -10886,7 +10980,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
10886
10980
  return response.json();
10887
10981
  }
10888
10982
  //#endregion
10889
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.83_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9f32da449d23be71371a14ef68f141e3/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
10983
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
10890
10984
  async function getMyWorkingHours(httpClient, organization_id, signal) {
10891
10985
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
10892
10986
  }
@@ -14463,13 +14557,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
14463
14557
  }
14464
14558
  //#endregion
14465
14559
  //#region ../focus-queries/dist/audit-log/requests.ts
14466
- async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14560
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14467
14561
  return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
14468
14562
  signal,
14469
14563
  searchParams: buildSearchParams$2({
14470
14564
  workspace_id,
14471
14565
  entity_type,
14472
14566
  entity_id,
14567
+ project_id,
14568
+ custom_field_id,
14473
14569
  action,
14474
14570
  user_id,
14475
14571
  page_size,
@@ -14478,12 +14574,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
14478
14574
  })
14479
14575
  }).json();
14480
14576
  }
14481
- async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14577
+ async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14482
14578
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
14483
14579
  signal,
14484
14580
  searchParams: buildSearchParams$2({
14485
14581
  entity_type,
14486
14582
  entity_id,
14583
+ project_id,
14584
+ custom_field_id,
14487
14585
  action,
14488
14586
  user_id,
14489
14587
  page_size,
@@ -14636,13 +14734,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
14636
14734
  }
14637
14735
  //#endregion
14638
14736
  //#region ../focus-queries/dist/capacities/requests.ts
14639
- 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) {
14737
+ async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date, user_id, team_id, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
14640
14738
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
14641
14739
  signal,
14642
14740
  searchParams: buildSearchParams$2({
14643
- user_id,
14644
14741
  start_date,
14645
14742
  end_date,
14743
+ user_id,
14744
+ team_id,
14646
14745
  private: private_,
14647
14746
  task_source,
14648
14747
  unit,
@@ -14702,6 +14801,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
14702
14801
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
14703
14802
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
14704
14803
  }
14804
+ async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
14805
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
14806
+ }
14807
+ async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
14808
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
14809
+ signal,
14810
+ json: data
14811
+ }).json();
14812
+ }
14705
14813
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
14706
14814
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
14707
14815
  signal,
@@ -14965,7 +15073,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
14965
15073
  }
14966
15074
  //#endregion
14967
15075
  //#region ../focus-queries/dist/project-groups/requests.ts
14968
- 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) {
15076
+ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, include_recurring_series, cf_filter } = {}, signal) {
14969
15077
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
14970
15078
  signal,
14971
15079
  searchParams: buildSearchParams$2({
@@ -14991,6 +15099,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
14991
15099
  user_id,
14992
15100
  only_me,
14993
15101
  include_drafts,
15102
+ include_recurring_series,
14994
15103
  cf_filter
14995
15104
  })
14996
15105
  }).json();
@@ -15009,9 +15118,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
15009
15118
  json: data
15010
15119
  }).json();
15011
15120
  }
15012
- async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
15013
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
15014
- }
15015
15121
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
15016
15122
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
15017
15123
  }
@@ -15037,6 +15143,37 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
15037
15143
  }).json();
15038
15144
  }
15039
15145
  //#endregion
15146
+ //#region ../focus-queries/dist/publicsharedreports/requests.ts
15147
+ async function openPublicSharedReport(httpClient, token, signal) {
15148
+ return await httpClient.get(`shared/${token}`, { signal }).json();
15149
+ }
15150
+ async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
15151
+ return await httpClient.post(`shared/${token}/profitability`, {
15152
+ signal,
15153
+ json: data,
15154
+ searchParams: buildSearchParams$2({
15155
+ response_format,
15156
+ include_dicts
15157
+ })
15158
+ }).json();
15159
+ }
15160
+ async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
15161
+ return await httpClient.post(`shared/${token}/query`, {
15162
+ signal,
15163
+ json: data,
15164
+ searchParams: buildSearchParams$2({
15165
+ response_format,
15166
+ include_dicts
15167
+ })
15168
+ }).json();
15169
+ }
15170
+ async function workloadPublicSharedReport(httpClient, token, data, signal) {
15171
+ return await httpClient.post(`shared/${token}/workload`, {
15172
+ signal,
15173
+ json: data
15174
+ }).json();
15175
+ }
15176
+ //#endregion
15040
15177
  //#region ../focus-queries/dist/rates/requests.ts
15041
15178
  async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
15042
15179
  const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
@@ -15198,7 +15335,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
15198
15335
  }
15199
15336
  //#endregion
15200
15337
  //#region ../focus-queries/dist/search/requests.ts
15201
- 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) {
15338
+ async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, include_unassigned, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
15202
15339
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
15203
15340
  signal,
15204
15341
  searchParams: buildSearchParams$2({
@@ -15206,6 +15343,7 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
15206
15343
  per_group,
15207
15344
  assignee_user_id,
15208
15345
  assignee_team_id,
15346
+ include_unassigned,
15209
15347
  project_id,
15210
15348
  task_id,
15211
15349
  include_drafts,
@@ -15250,6 +15388,18 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
15250
15388
  async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
15251
15389
  return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
15252
15390
  }
15391
+ async function unshareSharedReport(httpClient, workspace_id, id, signal) {
15392
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
15393
+ }
15394
+ async function getSharedReportDates(httpClient, workspace_id, id, signal) {
15395
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
15396
+ }
15397
+ async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
15398
+ return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
15399
+ signal,
15400
+ json: data
15401
+ }).json();
15402
+ }
15253
15403
  async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
15254
15404
  return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
15255
15405
  signal,
@@ -15259,6 +15409,21 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
15259
15409
  async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
15260
15410
  return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
15261
15411
  }
15412
+ async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
15413
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
15414
+ signal,
15415
+ json: data
15416
+ }).json();
15417
+ }
15418
+ async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
15419
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
15420
+ }
15421
+ async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
15422
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
15423
+ signal,
15424
+ json: data
15425
+ }).json();
15426
+ }
15262
15427
  //#endregion
15263
15428
  //#region ../focus-queries/dist/subscriptions/requests.ts
15264
15429
  async function getCurrentSubscription(httpClient, organization_id, signal) {
@@ -15315,9 +15480,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
15315
15480
  }
15316
15481
  //#endregion
15317
15482
  //#region ../focus-queries/dist/task-groups/requests.ts
15318
- 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) {
15483
+ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger }, signal) {
15319
15484
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
15320
15485
  signal,
15486
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15321
15487
  searchParams: buildSearchParams$2({
15322
15488
  project_id,
15323
15489
  source,
@@ -15346,13 +15512,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
15346
15512
  min_days,
15347
15513
  include_drafts,
15348
15514
  cf_filter,
15349
- user_cf_filter
15515
+ user_cf_filter,
15516
+ recurring_occurrences_after,
15517
+ max_recurring_occurrences_after,
15518
+ recurring_task_read,
15519
+ include_projected_occurrences
15350
15520
  })
15351
15521
  }).json();
15352
15522
  }
15353
- 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) {
15523
+ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger } = {}, signal) {
15354
15524
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
15355
15525
  signal,
15526
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15356
15527
  searchParams: buildSearchParams$2({
15357
15528
  team_id,
15358
15529
  project_id,
@@ -15381,13 +15552,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
15381
15552
  min_days,
15382
15553
  include_drafts,
15383
15554
  cf_filter,
15384
- user_cf_filter
15555
+ user_cf_filter,
15556
+ recurring_occurrences_after,
15557
+ max_recurring_occurrences_after,
15558
+ recurring_task_read,
15559
+ include_projected_occurrences
15385
15560
  })
15386
15561
  }).json();
15387
15562
  }
15388
- 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) {
15563
+ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, page, per_page, order_by, xTimelineFetchTrigger } = {}, signal) {
15389
15564
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
15390
15565
  signal,
15566
+ headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
15391
15567
  searchParams: buildSearchParams$2({
15392
15568
  source,
15393
15569
  priority,
@@ -15417,6 +15593,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
15417
15593
  include_drafts,
15418
15594
  cf_filter,
15419
15595
  user_cf_filter,
15596
+ recurring_occurrences_after,
15597
+ max_recurring_occurrences_after,
15598
+ recurring_task_read,
15599
+ include_projected_occurrences,
15420
15600
  page,
15421
15601
  per_page,
15422
15602
  order_by
@@ -15444,104 +15624,6 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
15444
15624
  }).json();
15445
15625
  }
15446
15626
  //#endregion
15447
- //#region ../focus-queries/dist/time-blocks/requests.ts
15448
- async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
15449
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
15450
- signal,
15451
- searchParams: buildSearchParams$2({
15452
- page,
15453
- per_page,
15454
- order_by,
15455
- archived
15456
- })
15457
- }).json();
15458
- }
15459
- async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
15460
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
15461
- signal,
15462
- json: data
15463
- }).json();
15464
- }
15465
- async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
15466
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
15467
- }
15468
- async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
15469
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
15470
- signal,
15471
- json: data
15472
- }).json();
15473
- }
15474
- async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
15475
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
15476
- signal,
15477
- searchParams: buildSearchParams$2({ outbound_sync })
15478
- }).json();
15479
- }
15480
- async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
15481
- return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
15482
- signal,
15483
- json: data
15484
- }).json();
15485
- }
15486
- async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
15487
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
15488
- }
15489
- async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
15490
- return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
15491
- }
15492
- async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
15493
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
15494
- }
15495
- async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
15496
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
15497
- signal,
15498
- searchParams: buildSearchParams$2({
15499
- date_from,
15500
- date_to,
15501
- task_id,
15502
- status_id,
15503
- page,
15504
- per_page,
15505
- archived,
15506
- order_by
15507
- })
15508
- }).json();
15509
- }
15510
- async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
15511
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
15512
- signal,
15513
- json: data
15514
- }).json();
15515
- }
15516
- async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
15517
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
15518
- signal,
15519
- searchParams: buildSearchParams$2({
15520
- ids,
15521
- outbound_sync
15522
- })
15523
- }).json();
15524
- }
15525
- async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
15526
- return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
15527
- signal,
15528
- json: data
15529
- }).json();
15530
- }
15531
- async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
15532
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
15533
- signal,
15534
- searchParams: buildSearchParams$2({
15535
- date_from,
15536
- date_to,
15537
- task_id,
15538
- status_id,
15539
- archived,
15540
- order_by
15541
- })
15542
- }).json();
15543
- }
15544
- //#endregion
15545
15627
  //#region ../focus-queries/dist/time-entry-constraints/requests.ts
15546
15628
  async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
15547
15629
  return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
@@ -15579,6 +15661,12 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
15579
15661
  })
15580
15662
  }).json();
15581
15663
  }
15664
+ async function getTimeoffCategories(httpClient, organization_id, signal) {
15665
+ return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
15666
+ }
15667
+ async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
15668
+ return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
15669
+ }
15582
15670
  async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
15583
15671
  return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
15584
15672
  signal,
@@ -15606,6 +15694,26 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
15606
15694
  json: data
15607
15695
  }).json();
15608
15696
  }
15697
+ async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
15698
+ return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
15699
+ signal,
15700
+ searchParams: buildSearchParams$2({
15701
+ category_id,
15702
+ date
15703
+ })
15704
+ }).json();
15705
+ }
15706
+ async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
15707
+ return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
15708
+ signal,
15709
+ searchParams: buildSearchParams$2({
15710
+ category_id,
15711
+ year,
15712
+ page,
15713
+ rows
15714
+ })
15715
+ }).json();
15716
+ }
15609
15717
  //#endregion
15610
15718
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
15611
15719
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -15706,6 +15814,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
15706
15814
  json: data
15707
15815
  }).json();
15708
15816
  }
15817
+ async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
15818
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
15819
+ signal,
15820
+ searchParams: buildSearchParams$2({
15821
+ date_from,
15822
+ date_to,
15823
+ setup_id,
15824
+ user_account_ids,
15825
+ approver_user_account_ids,
15826
+ team_ids
15827
+ })
15828
+ }).json();
15829
+ }
15709
15830
  async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
15710
15831
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
15711
15832
  }
@@ -15749,7 +15870,21 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
15749
15870
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
15750
15871
  }
15751
15872
  //#endregion
15873
+ //#region ../focus-queries/dist/track-team-invites/requests.ts
15874
+ async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
15875
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
15876
+ signal,
15877
+ json: data
15878
+ }).json();
15879
+ }
15880
+ //#endregion
15752
15881
  //#region ../focus-queries/dist/user-settings/requests.ts
15882
+ async function emailUnsubscribePage(httpClient, token, signal) {
15883
+ return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
15884
+ }
15885
+ async function emailUnsubscribe(httpClient, token, signal) {
15886
+ return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
15887
+ }
15753
15888
  async function getUserSettings(httpClient, signal) {
15754
15889
  return await httpClient.get(`users/me/settings`, { signal }).json();
15755
15890
  }
@@ -15989,6 +16124,7 @@ const generatedFocusOperations = [
15989
16124
  mcp: { entityTool: "audit-log" },
15990
16125
  inputSchema: /* @__PURE__ */ looseObject({
15991
16126
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16127
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15992
16128
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15993
16129
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15994
16130
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -15996,6 +16132,7 @@ const generatedFocusOperations = [
15996
16132
  from: /* @__PURE__ */ string$1(),
15997
16133
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15998
16134
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16135
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15999
16136
  to: /* @__PURE__ */ string$1(),
16000
16137
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16001
16138
  workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -16029,6 +16166,7 @@ const generatedFocusOperations = [
16029
16166
  mcp: { entityTool: "audit-log" },
16030
16167
  inputSchema: /* @__PURE__ */ looseObject({
16031
16168
  action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16169
+ custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16032
16170
  entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16033
16171
  entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16034
16172
  export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -16036,6 +16174,7 @@ const generatedFocusOperations = [
16036
16174
  from: /* @__PURE__ */ string$1(),
16037
16175
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16038
16176
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16177
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16039
16178
  to: /* @__PURE__ */ string$1(),
16040
16179
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16041
16180
  }),
@@ -16075,6 +16214,7 @@ const generatedFocusOperations = [
16075
16214
  private_: /* @__PURE__ */ unknown$1(),
16076
16215
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16077
16216
  task_source: /* @__PURE__ */ unknown$1(),
16217
+ team_id: /* @__PURE__ */ number$2(),
16078
16218
  unit: /* @__PURE__ */ unknown$1(),
16079
16219
  user_id: /* @__PURE__ */ number$2()
16080
16220
  }),
@@ -16324,8 +16464,6 @@ const generatedFocusOperations = [
16324
16464
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16325
16465
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
16326
16466
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16327
- integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16328
- integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16329
16467
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16330
16468
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16331
16469
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -16359,8 +16497,6 @@ const generatedFocusOperations = [
16359
16497
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16360
16498
  estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
16361
16499
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16362
- integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16363
- integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16364
16500
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16365
16501
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16366
16502
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
@@ -16376,12 +16512,6 @@ const generatedFocusOperations = [
16376
16512
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16377
16513
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16378
16514
  }))),
16379
- time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
16380
- start: apiDateTimeString,
16381
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16382
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16383
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
16384
- }))),
16385
16515
  time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
16386
16516
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
16387
16517
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -16391,13 +16521,6 @@ const generatedFocusOperations = [
16391
16521
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16392
16522
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16393
16523
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
16394
- time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
16395
- start: apiDateTimeString,
16396
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16397
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16398
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
16399
- })),
16400
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16401
16524
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
16402
16525
  }))
16403
16526
  }) }),
@@ -16516,33 +16639,60 @@ const generatedFocusOperations = [
16516
16639
  }
16517
16640
  },
16518
16641
  {
16519
- id: "focus.custom-fields.list",
16642
+ id: "focus.custom-fields.get-allowed-users",
16520
16643
  family: "focus",
16521
16644
  resource: "custom-fields",
16522
- action: "list",
16523
- title: "List Custom Fields",
16524
- description: "List Custom Fields.",
16645
+ action: "get-allowed-users",
16646
+ title: "Get Allowed Users Custom Fields",
16647
+ description: "Get Allowed Users Custom Fields.",
16525
16648
  safety: "read",
16526
16649
  destructive: false,
16527
16650
  cli: {
16528
16651
  group: ["custom-fields"],
16529
- command: "list",
16530
- interactive: "hidden"
16652
+ command: "get-allowed-users",
16653
+ interactive: "available"
16531
16654
  },
16532
16655
  mcp: { entityTool: "custom-fields" },
16533
- inputSchema: /* @__PURE__ */ looseObject({
16534
- entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16535
- order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16536
- page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16537
- per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
16538
- }),
16656
+ inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
16539
16657
  execute: (input, { client }) => {
16540
16658
  const data = input;
16541
- return client.runGeneratedRequest("getCustomFieldsClassic", () => callGeneratedRequest(getCustomFieldsClassic, [
16659
+ return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
16542
16660
  client.httpClient,
16543
16661
  client.organizationId,
16544
16662
  client.workspaceIdNumber,
16545
- data,
16663
+ data.custom_field_id,
16664
+ void 0
16665
+ ]));
16666
+ }
16667
+ },
16668
+ {
16669
+ id: "focus.custom-fields.list",
16670
+ family: "focus",
16671
+ resource: "custom-fields",
16672
+ action: "list",
16673
+ title: "List Custom Fields",
16674
+ description: "List Custom Fields.",
16675
+ safety: "read",
16676
+ destructive: false,
16677
+ cli: {
16678
+ group: ["custom-fields"],
16679
+ command: "list",
16680
+ interactive: "hidden"
16681
+ },
16682
+ mcp: { entityTool: "custom-fields" },
16683
+ inputSchema: /* @__PURE__ */ looseObject({
16684
+ entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16685
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16686
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16687
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
16688
+ }),
16689
+ execute: (input, { client }) => {
16690
+ const data = input;
16691
+ return client.runGeneratedRequest("getCustomFieldsClassic", () => callGeneratedRequest(getCustomFieldsClassic, [
16692
+ client.httpClient,
16693
+ client.organizationId,
16694
+ client.workspaceIdNumber,
16695
+ data,
16546
16696
  void 0
16547
16697
  ]));
16548
16698
  }
@@ -16684,6 +16834,37 @@ const generatedFocusOperations = [
16684
16834
  ]));
16685
16835
  }
16686
16836
  },
16837
+ {
16838
+ id: "focus.custom-fields.replace-custom-field-allowed-users",
16839
+ family: "focus",
16840
+ resource: "custom-fields",
16841
+ action: "replace-custom-field-allowed-users",
16842
+ title: "Replace Custom Field Allowed Users Custom Fields",
16843
+ description: "Replace Custom Field Allowed Users Custom Fields.",
16844
+ safety: "update",
16845
+ destructive: false,
16846
+ cli: {
16847
+ group: ["custom-fields"],
16848
+ command: "replace-custom-field-allowed-users",
16849
+ interactive: "default"
16850
+ },
16851
+ mcp: { entityTool: "custom-fields" },
16852
+ inputSchema: /* @__PURE__ */ looseObject({
16853
+ custom_field_id: /* @__PURE__ */ number$2(),
16854
+ payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
16855
+ }),
16856
+ execute: (input, { client }) => {
16857
+ const data = input;
16858
+ return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
16859
+ client.httpClient,
16860
+ client.organizationId,
16861
+ client.workspaceIdNumber,
16862
+ data.custom_field_id,
16863
+ data.payload ?? data.data ?? data,
16864
+ void 0
16865
+ ]));
16866
+ }
16867
+ },
16687
16868
  {
16688
16869
  id: "focus.custom-fields.update",
16689
16870
  family: "focus",
@@ -16830,13 +17011,7 @@ const generatedFocusOperations = [
16830
17011
  },
16831
17012
  mcp: { entityTool: "goals" },
16832
17013
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16833
- billable: /* @__PURE__ */ boolean$1(),
16834
17014
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
16835
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16836
- icon: /* @__PURE__ */ string$1(),
16837
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
16838
- name: /* @__PURE__ */ string$1(),
16839
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16840
17015
  recurrence: /* @__PURE__ */ picklist$1([
16841
17016
  "daily",
16842
17017
  "weekly",
@@ -16844,12 +17019,18 @@ const generatedFocusOperations = [
16844
17019
  "monthly"
16845
17020
  ]),
16846
17021
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16847
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16848
17022
  target_seconds: /* @__PURE__ */ number$2(),
16849
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16850
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17023
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16851
17024
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16852
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
17025
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17026
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17027
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17028
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
17029
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17030
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17031
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17032
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17033
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16853
17034
  }) }),
16854
17035
  execute: (input, { client }) => {
16855
17036
  const data = input;
@@ -16955,13 +17136,6 @@ const generatedFocusOperations = [
16955
17136
  },
16956
17137
  mcp: { entityTool: "goals" },
16957
17138
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16958
- billable: /* @__PURE__ */ boolean$1(),
16959
- comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
16960
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16961
- icon: /* @__PURE__ */ string$1(),
16962
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
16963
- name: /* @__PURE__ */ string$1(),
16964
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16965
17139
  recurrence: /* @__PURE__ */ picklist$1([
16966
17140
  "daily",
16967
17141
  "weekly",
@@ -16969,12 +17143,19 @@ const generatedFocusOperations = [
16969
17143
  "monthly"
16970
17144
  ]),
16971
17145
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16972
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16973
- target_seconds: /* @__PURE__ */ number$2(),
16974
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16975
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
17146
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16976
17147
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16977
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
17148
+ comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
17149
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17150
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17151
+ icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17152
+ monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
17153
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17154
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17155
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17156
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
17157
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17158
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16978
17159
  }) }),
16979
17160
  execute: (input, { client }) => {
16980
17161
  const data = input;
@@ -17941,9 +18122,17 @@ const generatedFocusOperations = [
17941
18122
  mcp: { entityTool: "projects" },
17942
18123
  inputSchema: /* @__PURE__ */ looseObject({
17943
18124
  payload: /* @__PURE__ */ looseObject({
18125
+ auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18126
+ completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
17944
18127
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17945
18128
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17946
18129
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
18130
+ rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
18131
+ "expire",
18132
+ "carry_all",
18133
+ "carry_over"
18134
+ ])),
18135
+ rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17947
18136
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
17948
18137
  }),
17949
18138
  project_id: /* @__PURE__ */ number$2()
@@ -18387,6 +18576,7 @@ const generatedFocusOperations = [
18387
18576
  group: /* @__PURE__ */ string$1(),
18388
18577
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18389
18578
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18579
+ include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18390
18580
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18391
18581
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18392
18582
  only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -18489,29 +18679,6 @@ const generatedFocusOperations = [
18489
18679
  ]));
18490
18680
  }
18491
18681
  },
18492
- {
18493
- id: "focus.projects.margin-targets-clear-workspace",
18494
- family: "focus",
18495
- resource: "projects",
18496
- action: "margin-targets-clear-workspace",
18497
- title: "Margin Targets Clear Workspace Projects",
18498
- description: "Margin Targets Clear Workspace Projects.",
18499
- safety: "delete",
18500
- destructive: true,
18501
- cli: {
18502
- group: ["projects", "margin-targets"],
18503
- command: "clear-workspace",
18504
- interactive: "default"
18505
- },
18506
- mcp: { entityTool: "projects" },
18507
- inputSchema: /* @__PURE__ */ looseObject({}),
18508
- execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
18509
- client.httpClient,
18510
- client.organizationId,
18511
- client.workspaceIdNumber,
18512
- void 0
18513
- ]))
18514
- },
18515
18682
  {
18516
18683
  id: "focus.projects.margin-targets-get",
18517
18684
  family: "focus",
@@ -18956,6 +19123,130 @@ const generatedFocusOperations = [
18956
19123
  ]));
18957
19124
  }
18958
19125
  },
19126
+ {
19127
+ id: "focus.publicsharedreports.open-public-shared-report",
19128
+ family: "focus",
19129
+ resource: "publicsharedreports",
19130
+ action: "open-public-shared-report",
19131
+ title: "Open Public Shared Report Publicsharedreports",
19132
+ description: "Open Public Shared Report Publicsharedreports.",
19133
+ safety: "read",
19134
+ destructive: false,
19135
+ cli: {
19136
+ group: ["publicsharedreports"],
19137
+ command: "open-public-shared-report",
19138
+ interactive: "available"
19139
+ },
19140
+ mcp: { entityTool: "publicsharedreports" },
19141
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
19142
+ execute: (input, { client }) => {
19143
+ const data = input;
19144
+ return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
19145
+ client.httpClient,
19146
+ data.token,
19147
+ void 0
19148
+ ]));
19149
+ }
19150
+ },
19151
+ {
19152
+ id: "focus.publicsharedreports.profitability-public-shared-report",
19153
+ family: "focus",
19154
+ resource: "publicsharedreports",
19155
+ action: "profitability-public-shared-report",
19156
+ title: "Profitability Public Shared Report Publicsharedreports",
19157
+ description: "Profitability Public Shared Report Publicsharedreports.",
19158
+ safety: "update",
19159
+ destructive: false,
19160
+ cli: {
19161
+ group: ["publicsharedreports"],
19162
+ command: "profitability-public-shared-report",
19163
+ interactive: "default"
19164
+ },
19165
+ mcp: { entityTool: "publicsharedreports" },
19166
+ inputSchema: /* @__PURE__ */ looseObject({
19167
+ include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
19168
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
19169
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
19170
+ token: /* @__PURE__ */ string$1()
19171
+ }),
19172
+ execute: (input, { client }) => {
19173
+ const data = input;
19174
+ return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
19175
+ client.httpClient,
19176
+ data.token,
19177
+ data.payload ?? data.data ?? data,
19178
+ data.response_format,
19179
+ data.include_dicts,
19180
+ void 0
19181
+ ]));
19182
+ }
19183
+ },
19184
+ {
19185
+ id: "focus.publicsharedreports.query-public-shared-report",
19186
+ family: "focus",
19187
+ resource: "publicsharedreports",
19188
+ action: "query-public-shared-report",
19189
+ title: "Query Public Shared Report Publicsharedreports",
19190
+ description: "Query Public Shared Report Publicsharedreports.",
19191
+ safety: "update",
19192
+ destructive: false,
19193
+ cli: {
19194
+ group: ["publicsharedreports"],
19195
+ command: "query-public-shared-report",
19196
+ interactive: "default"
19197
+ },
19198
+ mcp: { entityTool: "publicsharedreports" },
19199
+ inputSchema: /* @__PURE__ */ looseObject({
19200
+ include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
19201
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
19202
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
19203
+ "json_row",
19204
+ "table",
19205
+ "hierarchical"
19206
+ ])),
19207
+ token: /* @__PURE__ */ string$1()
19208
+ }),
19209
+ execute: (input, { client }) => {
19210
+ const data = input;
19211
+ return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
19212
+ client.httpClient,
19213
+ data.token,
19214
+ data.payload ?? data.data ?? data,
19215
+ data.response_format,
19216
+ data.include_dicts,
19217
+ void 0
19218
+ ]));
19219
+ }
19220
+ },
19221
+ {
19222
+ id: "focus.publicsharedreports.workload-public-shared-report",
19223
+ family: "focus",
19224
+ resource: "publicsharedreports",
19225
+ action: "workload-public-shared-report",
19226
+ title: "Workload Public Shared Report Publicsharedreports",
19227
+ description: "Workload Public Shared Report Publicsharedreports.",
19228
+ safety: "update",
19229
+ destructive: false,
19230
+ cli: {
19231
+ group: ["publicsharedreports"],
19232
+ command: "workload-public-shared-report",
19233
+ interactive: "default"
19234
+ },
19235
+ mcp: { entityTool: "publicsharedreports" },
19236
+ inputSchema: /* @__PURE__ */ looseObject({
19237
+ payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
19238
+ token: /* @__PURE__ */ string$1()
19239
+ }),
19240
+ execute: (input, { client }) => {
19241
+ const data = input;
19242
+ return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
19243
+ client.httpClient,
19244
+ data.token,
19245
+ data.payload ?? data.data ?? data,
19246
+ void 0
19247
+ ]));
19248
+ }
19249
+ },
18959
19250
  {
18960
19251
  id: "focus.rates.billable-check-project-billable-rate-conflicts",
18961
19252
  family: "focus",
@@ -20914,7 +21205,7 @@ const generatedFocusOperations = [
20914
21205
  cli: {
20915
21206
  group: ["reportschedules"],
20916
21207
  command: "upsert-saved-view-schedule",
20917
- interactive: "default"
21208
+ interactive: "hidden"
20918
21209
  },
20919
21210
  mcp: { entityTool: "reportschedules" },
20920
21211
  inputSchema: /* @__PURE__ */ looseObject({
@@ -20925,8 +21216,10 @@ const generatedFocusOperations = [
20925
21216
  "weekly",
20926
21217
  "monthly"
20927
21218
  ]),
21219
+ charts: /* @__PURE__ */ unknown$1(),
20928
21220
  time: /* @__PURE__ */ string$1(),
20929
21221
  day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21222
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
20930
21223
  recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
20931
21224
  recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
20932
21225
  recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
@@ -21259,6 +21552,32 @@ const generatedFocusOperations = [
21259
21552
  ]));
21260
21553
  }
21261
21554
  },
21555
+ {
21556
+ id: "focus.sharedreports.get-shared-report-dates",
21557
+ family: "focus",
21558
+ resource: "sharedreports",
21559
+ action: "get-shared-report-dates",
21560
+ title: "Get Shared Report Dates Sharedreports",
21561
+ description: "Get Shared Report Dates Sharedreports.",
21562
+ safety: "read",
21563
+ destructive: false,
21564
+ cli: {
21565
+ group: ["sharedreports"],
21566
+ command: "get-shared-report-dates",
21567
+ interactive: "available"
21568
+ },
21569
+ mcp: { entityTool: "sharedreports" },
21570
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21571
+ execute: (input, { client }) => {
21572
+ const data = input;
21573
+ return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
21574
+ client.httpClient,
21575
+ client.workspaceIdNumber,
21576
+ data.id,
21577
+ void 0
21578
+ ]));
21579
+ }
21580
+ },
21262
21581
  {
21263
21582
  id: "focus.sharedreports.get-shared-report-for-viewer",
21264
21583
  family: "focus",
@@ -21329,6 +21648,36 @@ const generatedFocusOperations = [
21329
21648
  void 0
21330
21649
  ]))
21331
21650
  },
21651
+ {
21652
+ id: "focus.sharedreports.mint-shared-report-link",
21653
+ family: "focus",
21654
+ resource: "sharedreports",
21655
+ action: "mint-shared-report-link",
21656
+ title: "Mint Shared Report Link Sharedreports",
21657
+ description: "Mint Shared Report Link Sharedreports.",
21658
+ safety: "update",
21659
+ destructive: false,
21660
+ cli: {
21661
+ group: ["sharedreports"],
21662
+ command: "mint-shared-report-link",
21663
+ interactive: "default"
21664
+ },
21665
+ mcp: { entityTool: "sharedreports" },
21666
+ inputSchema: /* @__PURE__ */ looseObject({
21667
+ id: /* @__PURE__ */ number$2(),
21668
+ payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
21669
+ }),
21670
+ execute: (input, { client }) => {
21671
+ const data = input;
21672
+ return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
21673
+ client.httpClient,
21674
+ client.workspaceIdNumber,
21675
+ data.id,
21676
+ data.payload ?? data.data ?? data,
21677
+ void 0
21678
+ ]));
21679
+ }
21680
+ },
21332
21681
  {
21333
21682
  id: "focus.sharedreports.revoke-shared-report-grant",
21334
21683
  family: "focus",
@@ -21360,67 +21709,153 @@ const generatedFocusOperations = [
21360
21709
  }
21361
21710
  },
21362
21711
  {
21363
- id: "focus.sharedreports.share-saved-view",
21712
+ id: "focus.sharedreports.revoke-shared-report-link",
21364
21713
  family: "focus",
21365
21714
  resource: "sharedreports",
21366
- action: "share-saved-view",
21367
- title: "Share Saved View Sharedreports",
21368
- description: "Share Saved View Sharedreports.",
21369
- safety: "update",
21370
- destructive: false,
21715
+ action: "revoke-shared-report-link",
21716
+ title: "Revoke Shared Report Link Sharedreports",
21717
+ description: "Revoke Shared Report Link Sharedreports.",
21718
+ safety: "delete",
21719
+ destructive: true,
21371
21720
  cli: {
21372
21721
  group: ["sharedreports"],
21373
- command: "share-saved-view",
21374
- interactive: "hidden"
21722
+ command: "revoke-shared-report-link",
21723
+ interactive: "default"
21375
21724
  },
21376
21725
  mcp: { entityTool: "sharedreports" },
21377
- inputSchema: /* @__PURE__ */ looseObject({
21378
- id: /* @__PURE__ */ number$2(),
21379
- payload: /* @__PURE__ */ looseObject({
21380
- charts: /* @__PURE__ */ unknown$1(),
21381
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21382
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21383
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21384
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21385
- })
21386
- }),
21726
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21387
21727
  execute: (input, { client }) => {
21388
21728
  const data = input;
21389
- return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
21729
+ return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
21390
21730
  client.httpClient,
21391
21731
  client.workspaceIdNumber,
21392
21732
  data.id,
21393
- data.payload ?? data.data ?? data,
21394
21733
  void 0
21395
21734
  ]));
21396
21735
  }
21397
21736
  },
21398
21737
  {
21399
- id: "focus.sharedreports.share-saved-view-many",
21738
+ id: "focus.sharedreports.rotate-shared-report-link",
21400
21739
  family: "focus",
21401
21740
  resource: "sharedreports",
21402
- action: "share-saved-view-many",
21403
- title: "Share Saved View Many Sharedreports",
21404
- description: "Share Saved View Many Sharedreports.",
21741
+ action: "rotate-shared-report-link",
21742
+ title: "Rotate Shared Report Link Sharedreports",
21743
+ description: "Rotate Shared Report Link Sharedreports.",
21405
21744
  safety: "update",
21406
21745
  destructive: false,
21407
21746
  cli: {
21408
21747
  group: ["sharedreports"],
21409
- command: "share-saved-view-many",
21410
- interactive: "hidden"
21748
+ command: "rotate-shared-report-link",
21749
+ interactive: "default"
21411
21750
  },
21412
21751
  mcp: { entityTool: "sharedreports" },
21413
21752
  inputSchema: /* @__PURE__ */ looseObject({
21414
21753
  id: /* @__PURE__ */ number$2(),
21415
- payload: /* @__PURE__ */ looseObject({
21416
- charts: /* @__PURE__ */ unknown$1(),
21417
- grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21418
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21419
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21420
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21421
- })),
21422
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21423
- })
21754
+ payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
21755
+ }),
21756
+ execute: (input, { client }) => {
21757
+ const data = input;
21758
+ return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
21759
+ client.httpClient,
21760
+ client.workspaceIdNumber,
21761
+ data.id,
21762
+ data.payload ?? data.data ?? data,
21763
+ void 0
21764
+ ]));
21765
+ }
21766
+ },
21767
+ {
21768
+ id: "focus.sharedreports.set-shared-report-dates-lock",
21769
+ family: "focus",
21770
+ resource: "sharedreports",
21771
+ action: "set-shared-report-dates-lock",
21772
+ title: "Set Shared Report Dates Lock Sharedreports",
21773
+ description: "Set Shared Report Dates Lock Sharedreports.",
21774
+ safety: "update",
21775
+ destructive: false,
21776
+ cli: {
21777
+ group: ["sharedreports"],
21778
+ command: "set-shared-report-dates-lock",
21779
+ interactive: "default"
21780
+ },
21781
+ mcp: { entityTool: "sharedreports" },
21782
+ inputSchema: /* @__PURE__ */ looseObject({
21783
+ id: /* @__PURE__ */ number$2(),
21784
+ payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
21785
+ }),
21786
+ execute: (input, { client }) => {
21787
+ const data = input;
21788
+ return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
21789
+ client.httpClient,
21790
+ client.workspaceIdNumber,
21791
+ data.id,
21792
+ data.payload ?? data.data ?? data,
21793
+ void 0
21794
+ ]));
21795
+ }
21796
+ },
21797
+ {
21798
+ id: "focus.sharedreports.share-saved-view",
21799
+ family: "focus",
21800
+ resource: "sharedreports",
21801
+ action: "share-saved-view",
21802
+ title: "Share Saved View Sharedreports",
21803
+ description: "Share Saved View Sharedreports.",
21804
+ safety: "update",
21805
+ destructive: false,
21806
+ cli: {
21807
+ group: ["sharedreports"],
21808
+ command: "share-saved-view",
21809
+ interactive: "hidden"
21810
+ },
21811
+ mcp: { entityTool: "sharedreports" },
21812
+ inputSchema: /* @__PURE__ */ looseObject({
21813
+ id: /* @__PURE__ */ number$2(),
21814
+ payload: /* @__PURE__ */ looseObject({
21815
+ charts: /* @__PURE__ */ unknown$1(),
21816
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21817
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21818
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21819
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21820
+ })
21821
+ }),
21822
+ execute: (input, { client }) => {
21823
+ const data = input;
21824
+ return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
21825
+ client.httpClient,
21826
+ client.workspaceIdNumber,
21827
+ data.id,
21828
+ data.payload ?? data.data ?? data,
21829
+ void 0
21830
+ ]));
21831
+ }
21832
+ },
21833
+ {
21834
+ id: "focus.sharedreports.share-saved-view-many",
21835
+ family: "focus",
21836
+ resource: "sharedreports",
21837
+ action: "share-saved-view-many",
21838
+ title: "Share Saved View Many Sharedreports",
21839
+ description: "Share Saved View Many Sharedreports.",
21840
+ safety: "update",
21841
+ destructive: false,
21842
+ cli: {
21843
+ group: ["sharedreports"],
21844
+ command: "share-saved-view-many",
21845
+ interactive: "hidden"
21846
+ },
21847
+ mcp: { entityTool: "sharedreports" },
21848
+ inputSchema: /* @__PURE__ */ looseObject({
21849
+ id: /* @__PURE__ */ number$2(),
21850
+ payload: /* @__PURE__ */ looseObject({
21851
+ charts: /* @__PURE__ */ unknown$1(),
21852
+ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21853
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21854
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21855
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21856
+ })),
21857
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21858
+ })
21424
21859
  }),
21425
21860
  execute: (input, { client }) => {
21426
21861
  const data = input;
@@ -21433,6 +21868,32 @@ const generatedFocusOperations = [
21433
21868
  ]));
21434
21869
  }
21435
21870
  },
21871
+ {
21872
+ id: "focus.sharedreports.unshare-shared-report",
21873
+ family: "focus",
21874
+ resource: "sharedreports",
21875
+ action: "unshare-shared-report",
21876
+ title: "Unshare Shared Report Sharedreports",
21877
+ description: "Unshare Shared Report Sharedreports.",
21878
+ safety: "delete",
21879
+ destructive: true,
21880
+ cli: {
21881
+ group: ["sharedreports"],
21882
+ command: "unshare-shared-report",
21883
+ interactive: "default"
21884
+ },
21885
+ mcp: { entityTool: "sharedreports" },
21886
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21887
+ execute: (input, { client }) => {
21888
+ const data = input;
21889
+ return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
21890
+ client.httpClient,
21891
+ client.workspaceIdNumber,
21892
+ data.id,
21893
+ void 0
21894
+ ]));
21895
+ }
21896
+ },
21436
21897
  {
21437
21898
  id: "focus.statuses.create-status",
21438
21899
  family: "focus",
@@ -22475,6 +22936,37 @@ const generatedFocusOperations = [
22475
22936
  return client.createTask(data);
22476
22937
  }
22477
22938
  },
22939
+ {
22940
+ id: "focus.tasks.create-recurring-occurrence",
22941
+ family: "focus",
22942
+ resource: "tasks",
22943
+ action: "create-recurring-occurrence",
22944
+ title: "Create Recurring Occurrence Tasks",
22945
+ description: "Create Recurring Occurrence Tasks.",
22946
+ safety: "create",
22947
+ destructive: false,
22948
+ cli: {
22949
+ group: ["tasks"],
22950
+ command: "create-recurring-occurrence",
22951
+ interactive: "default"
22952
+ },
22953
+ mcp: { entityTool: "tasks" },
22954
+ inputSchema: /* @__PURE__ */ looseObject({
22955
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22956
+ task_id: /* @__PURE__ */ number$2()
22957
+ }),
22958
+ execute: (input, { client }) => {
22959
+ const data = input;
22960
+ return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
22961
+ client.httpClient,
22962
+ client.organizationId,
22963
+ client.workspaceIdNumber,
22964
+ data.task_id,
22965
+ data.return_occurrence,
22966
+ void 0
22967
+ ]));
22968
+ }
22969
+ },
22478
22970
  {
22479
22971
  id: "focus.tasks.delete",
22480
22972
  family: "focus",
@@ -22699,6 +23191,79 @@ const generatedFocusOperations = [
22699
23191
  ]));
22700
23192
  }
22701
23193
  },
23194
+ {
23195
+ id: "focus.tasks.get-picker-task-children",
23196
+ family: "focus",
23197
+ resource: "tasks",
23198
+ action: "get-picker-task-children",
23199
+ title: "Get Picker Task Children Tasks",
23200
+ description: "Get Picker Task Children Tasks.",
23201
+ safety: "read",
23202
+ destructive: false,
23203
+ cli: {
23204
+ group: ["tasks"],
23205
+ command: "get-picker-task-children",
23206
+ interactive: "hidden"
23207
+ },
23208
+ mcp: { entityTool: "tasks" },
23209
+ inputSchema: /* @__PURE__ */ looseObject({
23210
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23211
+ only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23212
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23213
+ parent_task_id: /* @__PURE__ */ number$2(),
23214
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23215
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23216
+ search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23217
+ without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23218
+ }),
23219
+ execute: (input, { client }) => {
23220
+ const data = input;
23221
+ return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
23222
+ client.httpClient,
23223
+ client.organizationId,
23224
+ client.workspaceIdNumber,
23225
+ data.parent_task_id,
23226
+ data,
23227
+ void 0
23228
+ ]));
23229
+ }
23230
+ },
23231
+ {
23232
+ id: "focus.tasks.get-picker-task-groups",
23233
+ family: "focus",
23234
+ resource: "tasks",
23235
+ action: "get-picker-task-groups",
23236
+ title: "Get Picker Task Groups Tasks",
23237
+ description: "Get Picker Task Groups Tasks.",
23238
+ safety: "read",
23239
+ destructive: false,
23240
+ cli: {
23241
+ group: ["tasks"],
23242
+ command: "get-picker-task-groups",
23243
+ interactive: "hidden"
23244
+ },
23245
+ mcp: { entityTool: "tasks" },
23246
+ inputSchema: /* @__PURE__ */ looseObject({
23247
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23248
+ only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23249
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23250
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23251
+ pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23252
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23253
+ search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23254
+ without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23255
+ }),
23256
+ execute: (input, { client }) => {
23257
+ const data = input;
23258
+ return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
23259
+ client.httpClient,
23260
+ client.organizationId,
23261
+ client.workspaceIdNumber,
23262
+ data,
23263
+ void 0
23264
+ ]));
23265
+ }
23266
+ },
22702
23267
  {
22703
23268
  id: "focus.tasks.get-recurring-instances",
22704
23269
  family: "focus",
@@ -22722,9 +23287,13 @@ const generatedFocusOperations = [
22722
23287
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22723
23288
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22724
23289
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23290
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23291
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22725
23292
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22726
23293
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23294
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22727
23295
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23296
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22728
23297
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22729
23298
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
22730
23299
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -22770,13 +23339,14 @@ const generatedFocusOperations = [
22770
23339
  estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22771
23340
  estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22772
23341
  has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22773
- has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22774
23342
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22775
23343
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22776
23344
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22777
23345
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22778
23346
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23347
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22779
23348
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23349
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22780
23350
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22781
23351
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22782
23352
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -22785,7 +23355,9 @@ const generatedFocusOperations = [
22785
23355
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22786
23356
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22787
23357
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23358
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22788
23359
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23360
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22789
23361
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22790
23362
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22791
23363
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22794,8 +23366,6 @@ const generatedFocusOperations = [
22794
23366
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22795
23367
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
22796
23368
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22797
- time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22798
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22799
23369
  toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22800
23370
  with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
22801
23371
  }),
@@ -22923,8 +23493,10 @@ const generatedFocusOperations = [
22923
23493
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22924
23494
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22925
23495
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23496
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22926
23497
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22927
23498
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23499
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22928
23500
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22929
23501
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22930
23502
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22933,6 +23505,8 @@ const generatedFocusOperations = [
22933
23505
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22934
23506
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22935
23507
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23508
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23509
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22936
23510
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22937
23511
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22938
23512
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22941,7 +23515,8 @@ const generatedFocusOperations = [
22941
23515
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
22942
23516
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22943
23517
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22944
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23518
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23519
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
22945
23520
  }),
22946
23521
  execute: (input, { client }) => {
22947
23522
  const data = input;
@@ -22983,13 +23558,17 @@ const generatedFocusOperations = [
22983
23558
  group_id: /* @__PURE__ */ number$2(),
22984
23559
  include_assignees: /* @__PURE__ */ unknown$1(),
22985
23560
  include_drafts: /* @__PURE__ */ unknown$1(),
23561
+ include_projected_occurrences: /* @__PURE__ */ unknown$1(),
22986
23562
  include_unassigned: /* @__PURE__ */ unknown$1(),
22987
23563
  include_unmaterialized: /* @__PURE__ */ unknown$1(),
23564
+ max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
22988
23565
  min_days: /* @__PURE__ */ unknown$1(),
22989
23566
  name: /* @__PURE__ */ unknown$1(),
22990
23567
  priority: /* @__PURE__ */ unknown$1(),
22991
23568
  private_: /* @__PURE__ */ unknown$1(),
22992
23569
  project_id: /* @__PURE__ */ number$2(),
23570
+ recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
23571
+ recurring_task_read: /* @__PURE__ */ unknown$1(),
22993
23572
  source: /* @__PURE__ */ unknown$1(),
22994
23573
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
22995
23574
  start_date_from: /* @__PURE__ */ unknown$1(),
@@ -22998,7 +23577,8 @@ const generatedFocusOperations = [
22998
23577
  tag_id: /* @__PURE__ */ number$2(),
22999
23578
  team_id: /* @__PURE__ */ number$2(),
23000
23579
  user_cf_filter: /* @__PURE__ */ unknown$1(),
23001
- user_tag_id: /* @__PURE__ */ number$2()
23580
+ user_tag_id: /* @__PURE__ */ number$2(),
23581
+ xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
23002
23582
  }),
23003
23583
  execute: (input, { client }) => {
23004
23584
  const data = input;
@@ -23039,13 +23619,17 @@ const generatedFocusOperations = [
23039
23619
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23040
23620
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23041
23621
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23622
+ include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23042
23623
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23043
23624
  include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23625
+ max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23044
23626
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23045
23627
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23046
23628
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23047
23629
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23048
23630
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23631
+ recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23632
+ recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23049
23633
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23050
23634
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23051
23635
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23054,7 +23638,8 @@ const generatedFocusOperations = [
23054
23638
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23055
23639
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23056
23640
  user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23057
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23641
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23642
+ xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
23058
23643
  }),
23059
23644
  execute: (input, { client }) => {
23060
23645
  const data = input;
@@ -23325,7 +23910,8 @@ const generatedFocusOperations = [
23325
23910
  mcp: { entityTool: "tasks" },
23326
23911
  inputSchema: /* @__PURE__ */ looseObject({
23327
23912
  date_from: /* @__PURE__ */ string$1(),
23328
- date_to: /* @__PURE__ */ string$1()
23913
+ date_to: /* @__PURE__ */ string$1(),
23914
+ skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23329
23915
  }),
23330
23916
  execute: (input, { client }) => {
23331
23917
  const data = input;
@@ -23335,557 +23921,93 @@ const generatedFocusOperations = [
23335
23921
  client.workspaceIdNumber,
23336
23922
  data.date_from,
23337
23923
  data.date_to,
23924
+ data.skip_provider_refresh,
23338
23925
  void 0
23339
23926
  ]));
23340
23927
  }
23341
23928
  },
23342
23929
  {
23343
- id: "focus.time-blocks.archive",
23930
+ id: "focus.time-entries.archive",
23344
23931
  family: "focus",
23345
- resource: "time-blocks",
23932
+ resource: "time-entries",
23346
23933
  action: "archive",
23347
- title: "Archive Time Blocks",
23348
- description: "Archive Time Blocks.",
23934
+ title: "Archive Time Entries",
23935
+ description: "Archive Time Entries.",
23349
23936
  safety: "update",
23350
23937
  destructive: false,
23351
23938
  cli: {
23352
- group: ["time-blocks"],
23939
+ group: ["time-entries"],
23353
23940
  command: "archive",
23354
23941
  interactive: "default"
23355
23942
  },
23356
- mcp: { entityTool: "time-blocks" },
23357
- inputSchema: /* @__PURE__ */ looseObject({
23358
- task_id: /* @__PURE__ */ number$2(),
23359
- time_block_id: /* @__PURE__ */ number$2()
23360
- }),
23943
+ mcp: { entityTool: "time-entries" },
23944
+ inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
23361
23945
  execute: (input, { client }) => {
23362
23946
  const data = input;
23363
- return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
23947
+ return client.runGeneratedRequest("archiveTimeEntryWithOrg", () => callGeneratedRequest(archiveTimeEntryWithOrg, [
23364
23948
  client.httpClient,
23365
23949
  client.organizationId,
23366
23950
  client.workspaceIdNumber,
23367
- data.task_id,
23368
- data.time_block_id,
23951
+ data.time_entry_id,
23369
23952
  void 0
23370
23953
  ]));
23371
23954
  }
23372
23955
  },
23373
23956
  {
23374
- id: "focus.time-blocks.bulk-create",
23957
+ id: "focus.time-entries.bulk-create",
23375
23958
  family: "focus",
23376
- resource: "time-blocks",
23959
+ resource: "time-entries",
23377
23960
  action: "bulk-create",
23378
- title: "Bulk Create Time Blocks",
23379
- description: "Bulk Create Time Blocks.",
23961
+ title: "Bulk Create Time Entries",
23962
+ description: "Bulk Create Time Entries.",
23380
23963
  safety: "create",
23381
23964
  destructive: false,
23382
23965
  cli: {
23383
- group: ["time-blocks", "bulk"],
23966
+ group: ["time-entries", "bulk"],
23384
23967
  command: "create",
23385
23968
  interactive: "default"
23386
23969
  },
23387
- mcp: { entityTool: "time-blocks" },
23388
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
23389
- start: apiDateTimeString,
23390
- task_id: /* @__PURE__ */ number$2(),
23391
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23392
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23393
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23394
- })) }) }),
23970
+ mcp: { entityTool: "time-entries" },
23971
+ inputSchema: bulkTimeEntryCreateBodySchema,
23395
23972
  execute: (input, { client }) => {
23396
23973
  const data = input;
23397
- return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
23398
- client.httpClient,
23399
- client.organizationId,
23400
- client.workspaceIdNumber,
23401
- data.payload ?? data.data ?? data,
23402
- void 0
23403
- ]));
23974
+ return client.bulkCreateTimeEntries(data);
23404
23975
  }
23405
23976
  },
23406
23977
  {
23407
- id: "focus.time-blocks.bulk-delete",
23978
+ id: "focus.time-entries.bulk-delete",
23408
23979
  family: "focus",
23409
- resource: "time-blocks",
23980
+ resource: "time-entries",
23410
23981
  action: "bulk-delete",
23411
- title: "Bulk Delete Time Blocks",
23412
- description: "Bulk Delete Time Blocks.",
23982
+ title: "Bulk Delete Time Entries",
23983
+ description: "Bulk Delete Time Entries.",
23413
23984
  safety: "delete",
23414
23985
  destructive: true,
23415
23986
  cli: {
23416
- group: ["time-blocks", "bulk"],
23987
+ group: ["time-entries", "bulk"],
23417
23988
  command: "delete",
23418
23989
  interactive: "default"
23419
23990
  },
23420
- mcp: { entityTool: "time-blocks" },
23421
- inputSchema: /* @__PURE__ */ looseObject({
23422
- ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
23423
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23424
- }),
23991
+ mcp: { entityTool: "time-entries" },
23992
+ inputSchema: bulkTimeEntryIdsSchema,
23425
23993
  execute: (input, { client }) => {
23426
23994
  const data = input;
23427
- return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
23428
- client.httpClient,
23429
- client.organizationId,
23430
- client.workspaceIdNumber,
23431
- data.ids,
23432
- data.outbound_sync,
23433
- void 0
23434
- ]));
23995
+ return client.bulkDeleteTimeEntries(data.ids);
23435
23996
  }
23436
23997
  },
23437
23998
  {
23438
- id: "focus.time-blocks.bulk-partial-update",
23999
+ id: "focus.time-entries.bulk-edit",
23439
24000
  family: "focus",
23440
- resource: "time-blocks",
23441
- action: "bulk-partial-update",
23442
- title: "Bulk Partial Update Time Blocks",
23443
- description: "Bulk Partial Update Time Blocks.",
24001
+ resource: "time-entries",
24002
+ action: "bulk-edit",
24003
+ title: "Bulk Edit Time Entries",
24004
+ description: "Bulk Edit Time Entries.",
23444
24005
  safety: "update",
23445
24006
  destructive: false,
23446
24007
  cli: {
23447
- group: ["time-blocks", "bulk"],
23448
- command: "partial-update",
23449
- interactive: "hidden"
23450
- },
23451
- mcp: { entityTool: "time-blocks" },
23452
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
23453
- execute: (input, { client }) => {
23454
- const data = input;
23455
- return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
23456
- client.httpClient,
23457
- client.organizationId,
23458
- client.workspaceIdNumber,
23459
- data.payload ?? data.data ?? data,
23460
- void 0
23461
- ]));
23462
- }
23463
- },
23464
- {
23465
- id: "focus.time-blocks.create",
23466
- family: "focus",
23467
- resource: "time-blocks",
23468
- action: "create",
23469
- title: "Create Time Blocks",
23470
- description: "Create Time Blocks.",
23471
- safety: "create",
23472
- destructive: false,
23473
- cli: {
23474
- group: ["time-blocks"],
23475
- command: "create",
23476
- interactive: "default"
23477
- },
23478
- mcp: { entityTool: "time-blocks" },
23479
- inputSchema: /* @__PURE__ */ looseObject({
23480
- payload: /* @__PURE__ */ looseObject({
23481
- start: apiDateTimeString,
23482
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23483
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23484
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23485
- }),
23486
- task_id: /* @__PURE__ */ number$2()
23487
- }),
23488
- execute: (input, { client }) => {
23489
- const data = input;
23490
- return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
23491
- client.httpClient,
23492
- client.organizationId,
23493
- client.workspaceIdNumber,
23494
- data.task_id,
23495
- data.payload ?? data.data ?? data,
23496
- void 0
23497
- ]));
23498
- }
23499
- },
23500
- {
23501
- id: "focus.time-blocks.delete",
23502
- family: "focus",
23503
- resource: "time-blocks",
23504
- action: "delete",
23505
- title: "Delete Time Blocks",
23506
- description: "Delete Time Blocks.",
23507
- safety: "delete",
23508
- destructive: true,
23509
- cli: {
23510
- group: ["time-blocks"],
23511
- command: "delete",
23512
- interactive: "default"
23513
- },
23514
- mcp: { entityTool: "time-blocks" },
23515
- inputSchema: /* @__PURE__ */ looseObject({
23516
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23517
- task_id: /* @__PURE__ */ number$2(),
23518
- time_block_id: /* @__PURE__ */ number$2()
23519
- }),
23520
- execute: (input, { client }) => {
23521
- const data = input;
23522
- return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
23523
- client.httpClient,
23524
- client.organizationId,
23525
- client.workspaceIdNumber,
23526
- data.task_id,
23527
- data.time_block_id,
23528
- data.outbound_sync,
23529
- void 0
23530
- ]));
23531
- }
23532
- },
23533
- {
23534
- id: "focus.time-blocks.get",
23535
- family: "focus",
23536
- resource: "time-blocks",
23537
- action: "get",
23538
- title: "Get Time Blocks",
23539
- description: "Get Time Blocks.",
23540
- safety: "read",
23541
- destructive: false,
23542
- cli: {
23543
- group: ["time-blocks"],
23544
- command: "get",
23545
- interactive: "available"
23546
- },
23547
- mcp: { entityTool: "time-blocks" },
23548
- inputSchema: /* @__PURE__ */ looseObject({
23549
- task_id: /* @__PURE__ */ number$2(),
23550
- time_block_id: /* @__PURE__ */ number$2()
23551
- }),
23552
- execute: (input, { client }) => {
23553
- const data = input;
23554
- return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
23555
- client.httpClient,
23556
- client.organizationId,
23557
- client.workspaceIdNumber,
23558
- data.task_id,
23559
- data.time_block_id,
23560
- void 0
23561
- ]));
23562
- }
23563
- },
23564
- {
23565
- id: "focus.time-blocks.get-range",
23566
- family: "focus",
23567
- resource: "time-blocks",
23568
- action: "get-range",
23569
- title: "Get Range Time Blocks",
23570
- description: "Get Range Time Blocks.",
23571
- safety: "read",
23572
- destructive: false,
23573
- cli: {
23574
- group: ["time-blocks"],
23575
- command: "get-range",
23576
- interactive: "hidden"
23577
- },
23578
- mcp: { entityTool: "time-blocks" },
23579
- inputSchema: /* @__PURE__ */ looseObject({
23580
- archived: /* @__PURE__ */ unknown$1(),
23581
- date_from: /* @__PURE__ */ unknown$1(),
23582
- date_to: /* @__PURE__ */ unknown$1(),
23583
- order_by: /* @__PURE__ */ unknown$1(),
23584
- page: /* @__PURE__ */ number$2(),
23585
- per_page: /* @__PURE__ */ unknown$1(),
23586
- status_id: /* @__PURE__ */ number$2(),
23587
- task_id: /* @__PURE__ */ number$2()
23588
- }),
23589
- execute: (input, { client }) => {
23590
- const data = input;
23591
- return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
23592
- client.httpClient,
23593
- client.organizationId,
23594
- client.workspaceIdNumber,
23595
- data,
23596
- void 0
23597
- ]));
23598
- }
23599
- },
23600
- {
23601
- id: "focus.time-blocks.get-range-stream",
23602
- family: "focus",
23603
- resource: "time-blocks",
23604
- action: "get-range-stream",
23605
- title: "Get Range Stream Time Blocks",
23606
- description: "Get Range Stream Time Blocks.",
23607
- safety: "read",
23608
- destructive: false,
23609
- cli: {
23610
- group: ["time-blocks"],
23611
- command: "get-range-stream",
23612
- interactive: "hidden"
23613
- },
23614
- mcp: { entityTool: "time-blocks" },
23615
- inputSchema: /* @__PURE__ */ looseObject({
23616
- archived: /* @__PURE__ */ unknown$1(),
23617
- date_from: /* @__PURE__ */ unknown$1(),
23618
- date_to: /* @__PURE__ */ unknown$1(),
23619
- order_by: /* @__PURE__ */ unknown$1(),
23620
- status_id: /* @__PURE__ */ number$2(),
23621
- task_id: /* @__PURE__ */ number$2()
23622
- }),
23623
- execute: (input, { client }) => {
23624
- const data = input;
23625
- return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
23626
- client.httpClient,
23627
- client.organizationId,
23628
- client.workspaceIdNumber,
23629
- data,
23630
- void 0
23631
- ]));
23632
- }
23633
- },
23634
- {
23635
- id: "focus.time-blocks.get-task-time-blocks",
23636
- family: "focus",
23637
- resource: "time-blocks",
23638
- action: "get-task-time-blocks",
23639
- title: "Get Task Time Blocks Time Blocks",
23640
- description: "Get Task Time Blocks Time Blocks.",
23641
- safety: "read",
23642
- destructive: false,
23643
- cli: {
23644
- group: ["time-blocks"],
23645
- command: "get-task-time-blocks",
23646
- interactive: "hidden"
23647
- },
23648
- mcp: { entityTool: "time-blocks" },
23649
- inputSchema: /* @__PURE__ */ looseObject({
23650
- archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23651
- order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23652
- page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23653
- per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23654
- task_id: /* @__PURE__ */ number$2()
23655
- }),
23656
- execute: (input, { client }) => {
23657
- const data = input;
23658
- return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
23659
- client.httpClient,
23660
- client.organizationId,
23661
- client.workspaceIdNumber,
23662
- data.task_id,
23663
- data,
23664
- void 0
23665
- ]));
23666
- }
23667
- },
23668
- {
23669
- id: "focus.time-blocks.partial-update",
23670
- family: "focus",
23671
- resource: "time-blocks",
23672
- action: "partial-update",
23673
- title: "Partial Update Time Blocks",
23674
- description: "Partial Update Time Blocks.",
23675
- safety: "update",
23676
- destructive: false,
23677
- cli: {
23678
- group: ["time-blocks"],
23679
- command: "partial-update",
23680
- interactive: "default"
23681
- },
23682
- mcp: { entityTool: "time-blocks" },
23683
- inputSchema: /* @__PURE__ */ looseObject({
23684
- payload: /* @__PURE__ */ looseObject({
23685
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23686
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23687
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23688
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
23689
- task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23690
- }),
23691
- task_id: /* @__PURE__ */ number$2(),
23692
- time_block_id: /* @__PURE__ */ number$2()
23693
- }),
23694
- execute: (input, { client }) => {
23695
- const data = input;
23696
- return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
23697
- client.httpClient,
23698
- client.organizationId,
23699
- client.workspaceIdNumber,
23700
- data.task_id,
23701
- data.time_block_id,
23702
- data.payload ?? data.data ?? data,
23703
- void 0
23704
- ]));
23705
- }
23706
- },
23707
- {
23708
- id: "focus.time-blocks.restore",
23709
- family: "focus",
23710
- resource: "time-blocks",
23711
- action: "restore",
23712
- title: "Restore Time Blocks",
23713
- description: "Restore Time Blocks.",
23714
- safety: "update",
23715
- destructive: false,
23716
- cli: {
23717
- group: ["time-blocks"],
23718
- command: "restore",
23719
- interactive: "default"
23720
- },
23721
- mcp: { entityTool: "time-blocks" },
23722
- inputSchema: /* @__PURE__ */ looseObject({
23723
- task_id: /* @__PURE__ */ number$2(),
23724
- time_block_id: /* @__PURE__ */ number$2()
23725
- }),
23726
- execute: (input, { client }) => {
23727
- const data = input;
23728
- return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
23729
- client.httpClient,
23730
- client.organizationId,
23731
- client.workspaceIdNumber,
23732
- data.task_id,
23733
- data.time_block_id,
23734
- void 0
23735
- ]));
23736
- }
23737
- },
23738
- {
23739
- id: "focus.time-blocks.unarchive",
23740
- family: "focus",
23741
- resource: "time-blocks",
23742
- action: "unarchive",
23743
- title: "Unarchive Time Blocks",
23744
- description: "Unarchive Time Blocks.",
23745
- safety: "update",
23746
- destructive: false,
23747
- cli: {
23748
- group: ["time-blocks"],
23749
- command: "unarchive",
23750
- interactive: "default"
23751
- },
23752
- mcp: { entityTool: "time-blocks" },
23753
- inputSchema: /* @__PURE__ */ looseObject({
23754
- task_id: /* @__PURE__ */ number$2(),
23755
- time_block_id: /* @__PURE__ */ number$2()
23756
- }),
23757
- execute: (input, { client }) => {
23758
- const data = input;
23759
- return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
23760
- client.httpClient,
23761
- client.organizationId,
23762
- client.workspaceIdNumber,
23763
- data.task_id,
23764
- data.time_block_id,
23765
- void 0
23766
- ]));
23767
- }
23768
- },
23769
- {
23770
- id: "focus.time-blocks.update",
23771
- family: "focus",
23772
- resource: "time-blocks",
23773
- action: "update",
23774
- title: "Update Time Blocks",
23775
- description: "Update Time Blocks.",
23776
- safety: "update",
23777
- destructive: false,
23778
- cli: {
23779
- group: ["time-blocks"],
23780
- command: "update",
23781
- interactive: "default"
23782
- },
23783
- mcp: { entityTool: "time-blocks" },
23784
- inputSchema: /* @__PURE__ */ looseObject({
23785
- payload: /* @__PURE__ */ looseObject({
23786
- start: apiDateTimeString,
23787
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23788
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23789
- outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
23790
- }),
23791
- task_id: /* @__PURE__ */ number$2(),
23792
- time_block_id: /* @__PURE__ */ number$2()
23793
- }),
23794
- execute: (input, { client }) => {
23795
- const data = input;
23796
- return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
23797
- client.httpClient,
23798
- client.organizationId,
23799
- client.workspaceIdNumber,
23800
- data.task_id,
23801
- data.time_block_id,
23802
- data.payload ?? data.data ?? data,
23803
- void 0
23804
- ]));
23805
- }
23806
- },
23807
- {
23808
- id: "focus.time-entries.archive",
23809
- family: "focus",
23810
- resource: "time-entries",
23811
- action: "archive",
23812
- title: "Archive Time Entries",
23813
- description: "Archive Time Entries.",
23814
- safety: "update",
23815
- destructive: false,
23816
- cli: {
23817
- group: ["time-entries"],
23818
- command: "archive",
23819
- interactive: "default"
23820
- },
23821
- mcp: { entityTool: "time-entries" },
23822
- inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
23823
- execute: (input, { client }) => {
23824
- const data = input;
23825
- return client.runGeneratedRequest("archiveTimeEntryWithOrg", () => callGeneratedRequest(archiveTimeEntryWithOrg, [
23826
- client.httpClient,
23827
- client.organizationId,
23828
- client.workspaceIdNumber,
23829
- data.time_entry_id,
23830
- void 0
23831
- ]));
23832
- }
23833
- },
23834
- {
23835
- id: "focus.time-entries.bulk-create",
23836
- family: "focus",
23837
- resource: "time-entries",
23838
- action: "bulk-create",
23839
- title: "Bulk Create Time Entries",
23840
- description: "Bulk Create Time Entries.",
23841
- safety: "create",
23842
- destructive: false,
23843
- cli: {
23844
- group: ["time-entries", "bulk"],
23845
- command: "create",
23846
- interactive: "default"
23847
- },
23848
- mcp: { entityTool: "time-entries" },
23849
- inputSchema: bulkTimeEntryCreateBodySchema,
23850
- execute: (input, { client }) => {
23851
- const data = input;
23852
- return client.bulkCreateTimeEntries(data);
23853
- }
23854
- },
23855
- {
23856
- id: "focus.time-entries.bulk-delete",
23857
- family: "focus",
23858
- resource: "time-entries",
23859
- action: "bulk-delete",
23860
- title: "Bulk Delete Time Entries",
23861
- description: "Bulk Delete Time Entries.",
23862
- safety: "delete",
23863
- destructive: true,
23864
- cli: {
23865
- group: ["time-entries", "bulk"],
23866
- command: "delete",
23867
- interactive: "default"
23868
- },
23869
- mcp: { entityTool: "time-entries" },
23870
- inputSchema: bulkTimeEntryIdsSchema,
23871
- execute: (input, { client }) => {
23872
- const data = input;
23873
- return client.bulkDeleteTimeEntries(data.ids);
23874
- }
23875
- },
23876
- {
23877
- id: "focus.time-entries.bulk-edit",
23878
- family: "focus",
23879
- resource: "time-entries",
23880
- action: "bulk-edit",
23881
- title: "Bulk Edit Time Entries",
23882
- description: "Bulk Edit Time Entries.",
23883
- safety: "update",
23884
- destructive: false,
23885
- cli: {
23886
- group: ["time-entries", "bulk"],
23887
- command: "edit",
23888
- interactive: "default"
24008
+ group: ["time-entries", "bulk"],
24009
+ command: "edit",
24010
+ interactive: "default"
23889
24011
  },
23890
24012
  mcp: { entityTool: "time-entries" },
23891
24013
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
@@ -24019,7 +24141,8 @@ const generatedFocusOperations = [
24019
24141
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
24020
24142
  "project",
24021
24143
  "task",
24022
- "description"
24144
+ "description",
24145
+ "tags"
24023
24146
  ]) })),
24024
24147
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24025
24148
  }) }),
@@ -24049,6 +24172,7 @@ const generatedFocusOperations = [
24049
24172
  },
24050
24173
  mcp: { entityTool: "time-entries" },
24051
24174
  inputSchema: /* @__PURE__ */ looseObject({
24175
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24052
24176
  payload: /* @__PURE__ */ looseObject({
24053
24177
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24054
24178
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -24059,11 +24183,12 @@ const generatedFocusOperations = [
24059
24183
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24060
24184
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24061
24185
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24186
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24062
24187
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
24063
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24064
24188
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24065
24189
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24066
24190
  }),
24191
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24067
24192
  task_id: /* @__PURE__ */ number$2()
24068
24193
  }),
24069
24194
  execute: (input, { client }) => {
@@ -24074,6 +24199,8 @@ const generatedFocusOperations = [
24074
24199
  client.workspaceIdNumber,
24075
24200
  data.task_id,
24076
24201
  data.payload ?? data.data ?? data,
24202
+ data.from_recurring_task_id,
24203
+ data.return_occurrence,
24077
24204
  void 0
24078
24205
  ]));
24079
24206
  }
@@ -24093,21 +24220,25 @@ const generatedFocusOperations = [
24093
24220
  interactive: "default"
24094
24221
  },
24095
24222
  mcp: { entityTool: "time-entries" },
24096
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
24097
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24098
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24099
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24100
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24101
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24102
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24103
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24104
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24105
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24106
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
24107
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24108
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24109
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24110
- }) }),
24223
+ inputSchema: /* @__PURE__ */ looseObject({
24224
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24225
+ payload: /* @__PURE__ */ looseObject({
24226
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
24227
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24228
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24229
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24230
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24231
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24232
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24233
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24234
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24235
+ repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24236
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
24237
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24238
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
24239
+ }),
24240
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24241
+ }),
24111
24242
  execute: (input, { client }) => {
24112
24243
  const data = input;
24113
24244
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -24115,6 +24246,8 @@ const generatedFocusOperations = [
24115
24246
  client.organizationId,
24116
24247
  client.workspaceIdNumber,
24117
24248
  data.payload ?? data.data ?? data,
24249
+ data.from_recurring_task_id,
24250
+ data.return_occurrence,
24118
24251
  void 0
24119
24252
  ]));
24120
24253
  }
@@ -24134,7 +24267,11 @@ const generatedFocusOperations = [
24134
24267
  interactive: "default"
24135
24268
  },
24136
24269
  mcp: { entityTool: "time-entries" },
24137
- inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
24270
+ inputSchema: /* @__PURE__ */ looseObject({
24271
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24272
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24273
+ time_entry_id: /* @__PURE__ */ number$2()
24274
+ }),
24138
24275
  execute: (input, { client }) => {
24139
24276
  const data = input;
24140
24277
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -24142,6 +24279,8 @@ const generatedFocusOperations = [
24142
24279
  client.organizationId,
24143
24280
  client.workspaceIdNumber,
24144
24281
  data.time_entry_id,
24282
+ data.from_recurring_task_id,
24283
+ data.return_occurrence,
24145
24284
  void 0
24146
24285
  ]));
24147
24286
  }
@@ -24222,6 +24361,7 @@ const generatedFocusOperations = [
24222
24361
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
24223
24362
  include_taskless: /* @__PURE__ */ unknown$1(),
24224
24363
  order_by: /* @__PURE__ */ unknown$1(),
24364
+ project_id: /* @__PURE__ */ number$2(),
24225
24365
  status_id: /* @__PURE__ */ number$2(),
24226
24366
  task_id: /* @__PURE__ */ number$2(),
24227
24367
  type: /* @__PURE__ */ unknown$1()
@@ -24237,33 +24377,6 @@ const generatedFocusOperations = [
24237
24377
  ]));
24238
24378
  }
24239
24379
  },
24240
- {
24241
- id: "focus.time-entries.get-stream-time-entries-time-block-ids",
24242
- family: "focus",
24243
- resource: "time-entries",
24244
- action: "get-stream-time-entries-time-block-ids",
24245
- title: "Get Stream Time Entries Time Block Ids Time Entries",
24246
- description: "Get Stream Time Entries Time Block Ids Time Entries.",
24247
- safety: "read",
24248
- destructive: false,
24249
- cli: {
24250
- group: ["time-entries"],
24251
- command: "get-stream-time-entries-time-block-ids",
24252
- interactive: "available"
24253
- },
24254
- mcp: { entityTool: "time-entries" },
24255
- inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
24256
- execute: (input, { client }) => {
24257
- const data = input;
24258
- return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
24259
- client.httpClient,
24260
- client.organizationId,
24261
- client.workspaceIdNumber,
24262
- data,
24263
- void 0
24264
- ]));
24265
- }
24266
- },
24267
24380
  {
24268
24381
  id: "focus.time-entries.get-task-time-entries",
24269
24382
  family: "focus",
@@ -24285,7 +24398,6 @@ const generatedFocusOperations = [
24285
24398
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24286
24399
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24287
24400
  task_id: /* @__PURE__ */ number$2(),
24288
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24289
24401
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
24290
24402
  }),
24291
24403
  execute: (input, { client }) => {
@@ -24398,12 +24510,14 @@ const generatedFocusOperations = [
24398
24510
  },
24399
24511
  mcp: { entityTool: "time-entries" },
24400
24512
  inputSchema: /* @__PURE__ */ looseObject({
24513
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24401
24514
  payload: /* @__PURE__ */ looseObject({
24402
24515
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24403
24516
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24404
24517
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24405
24518
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
24406
24519
  }),
24520
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24407
24521
  time_entry_id: /* @__PURE__ */ number$2()
24408
24522
  }),
24409
24523
  execute: (input, { client }) => {
@@ -24414,6 +24528,8 @@ const generatedFocusOperations = [
24414
24528
  client.workspaceIdNumber,
24415
24529
  data.time_entry_id,
24416
24530
  data.payload ?? data.data ?? data,
24531
+ data.from_recurring_task_id,
24532
+ data.return_occurrence,
24417
24533
  void 0
24418
24534
  ]));
24419
24535
  }
@@ -24671,6 +24787,7 @@ const generatedFocusOperations = [
24671
24787
  },
24672
24788
  mcp: { entityTool: "time-entries" },
24673
24789
  inputSchema: /* @__PURE__ */ looseObject({
24790
+ from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24674
24791
  payload: /* @__PURE__ */ looseObject({
24675
24792
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24676
24793
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -24680,9 +24797,9 @@ const generatedFocusOperations = [
24680
24797
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24681
24798
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24682
24799
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
24683
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24684
24800
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
24685
24801
  }),
24802
+ return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24686
24803
  time_entry_id: /* @__PURE__ */ number$2()
24687
24804
  }),
24688
24805
  execute: (input, { client }) => {
@@ -24693,6 +24810,8 @@ const generatedFocusOperations = [
24693
24810
  client.workspaceIdNumber,
24694
24811
  data.time_entry_id,
24695
24812
  data.payload ?? data.data ?? data,
24813
+ data.from_recurring_task_id,
24814
+ data.return_occurrence,
24696
24815
  void 0
24697
24816
  ]));
24698
24817
  }
@@ -24757,6 +24876,118 @@ const generatedFocusOperations = [
24757
24876
  ]));
24758
24877
  }
24759
24878
  },
24879
+ {
24880
+ id: "focus.time-off.get-timeoff-balance-changes-for-user",
24881
+ family: "focus",
24882
+ resource: "time-off",
24883
+ action: "get-timeoff-balance-changes-for-user",
24884
+ title: "Get Timeoff Balance Changes For User Time Off",
24885
+ description: "Get Timeoff Balance Changes For User Time Off.",
24886
+ safety: "read",
24887
+ destructive: false,
24888
+ cli: {
24889
+ group: ["time-off"],
24890
+ command: "get-timeoff-balance-changes-for-user",
24891
+ interactive: "hidden"
24892
+ },
24893
+ mcp: { entityTool: "time-off" },
24894
+ inputSchema: /* @__PURE__ */ looseObject({
24895
+ category_id: /* @__PURE__ */ number$2(),
24896
+ page: /* @__PURE__ */ number$2(),
24897
+ rows: /* @__PURE__ */ unknown$1(),
24898
+ user_id: /* @__PURE__ */ number$2(),
24899
+ year: /* @__PURE__ */ unknown$1()
24900
+ }),
24901
+ execute: (input, { client }) => {
24902
+ const data = input;
24903
+ return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
24904
+ client.httpClient,
24905
+ client.organizationId,
24906
+ data.user_id,
24907
+ data,
24908
+ void 0
24909
+ ]));
24910
+ }
24911
+ },
24912
+ {
24913
+ id: "focus.time-off.get-timeoff-balances-for-user",
24914
+ family: "focus",
24915
+ resource: "time-off",
24916
+ action: "get-timeoff-balances-for-user",
24917
+ title: "Get Timeoff Balances For User Time Off",
24918
+ description: "Get Timeoff Balances For User Time Off.",
24919
+ safety: "read",
24920
+ destructive: false,
24921
+ cli: {
24922
+ group: ["time-off"],
24923
+ command: "get-timeoff-balances-for-user",
24924
+ interactive: "available"
24925
+ },
24926
+ mcp: { entityTool: "time-off" },
24927
+ inputSchema: /* @__PURE__ */ looseObject({
24928
+ category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24929
+ date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
24930
+ user_id: /* @__PURE__ */ number$2()
24931
+ }),
24932
+ execute: (input, { client }) => {
24933
+ const data = input;
24934
+ return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
24935
+ client.httpClient,
24936
+ client.organizationId,
24937
+ data.user_id,
24938
+ data,
24939
+ void 0
24940
+ ]));
24941
+ }
24942
+ },
24943
+ {
24944
+ id: "focus.time-off.get-timeoff-categories",
24945
+ family: "focus",
24946
+ resource: "time-off",
24947
+ action: "get-timeoff-categories",
24948
+ title: "Get Timeoff Categories Time Off",
24949
+ description: "Get Timeoff Categories Time Off.",
24950
+ safety: "read",
24951
+ destructive: false,
24952
+ cli: {
24953
+ group: ["time-off"],
24954
+ command: "get-timeoff-categories",
24955
+ interactive: "hidden"
24956
+ },
24957
+ mcp: { entityTool: "time-off" },
24958
+ inputSchema: /* @__PURE__ */ looseObject({}),
24959
+ execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
24960
+ client.httpClient,
24961
+ client.organizationId,
24962
+ void 0
24963
+ ]))
24964
+ },
24965
+ {
24966
+ id: "focus.time-off.get-timeoff-category",
24967
+ family: "focus",
24968
+ resource: "time-off",
24969
+ action: "get-timeoff-category",
24970
+ title: "Get Timeoff Category Time Off",
24971
+ description: "Get Timeoff Category Time Off.",
24972
+ safety: "read",
24973
+ destructive: false,
24974
+ cli: {
24975
+ group: ["time-off"],
24976
+ command: "get-timeoff-category",
24977
+ interactive: "available"
24978
+ },
24979
+ mcp: { entityTool: "time-off" },
24980
+ inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
24981
+ execute: (input, { client }) => {
24982
+ const data = input;
24983
+ return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
24984
+ client.httpClient,
24985
+ client.organizationId,
24986
+ data.category_id,
24987
+ void 0
24988
+ ]));
24989
+ }
24990
+ },
24760
24991
  {
24761
24992
  id: "focus.time-off.get-timeoff-for-user",
24762
24993
  family: "focus",
@@ -25208,6 +25439,40 @@ const generatedFocusOperations = [
25208
25439
  ]));
25209
25440
  }
25210
25441
  },
25442
+ {
25443
+ id: "focus.timesheets.get-status-counts",
25444
+ family: "focus",
25445
+ resource: "timesheets",
25446
+ action: "get-status-counts",
25447
+ title: "Get Status Counts Timesheets",
25448
+ description: "Get Status Counts Timesheets.",
25449
+ safety: "read",
25450
+ destructive: false,
25451
+ cli: {
25452
+ group: ["timesheets"],
25453
+ command: "get-status-counts",
25454
+ interactive: "hidden"
25455
+ },
25456
+ mcp: { entityTool: "timesheets" },
25457
+ inputSchema: /* @__PURE__ */ looseObject({
25458
+ approver_user_account_ids: /* @__PURE__ */ unknown$1(),
25459
+ date_from: /* @__PURE__ */ unknown$1(),
25460
+ date_to: /* @__PURE__ */ unknown$1(),
25461
+ setup_id: /* @__PURE__ */ number$2(),
25462
+ team_ids: /* @__PURE__ */ unknown$1(),
25463
+ user_account_ids: /* @__PURE__ */ unknown$1()
25464
+ }),
25465
+ execute: (input, { client }) => {
25466
+ const data = input;
25467
+ return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
25468
+ client.httpClient,
25469
+ client.organizationId,
25470
+ client.workspaceIdNumber,
25471
+ data,
25472
+ void 0
25473
+ ]));
25474
+ }
25475
+ },
25211
25476
  {
25212
25477
  id: "focus.timesheets.remove-timesheet-flag",
25213
25478
  family: "focus",
@@ -25757,6 +26022,33 @@ const generatedFocusOperations = [
25757
26022
  ]));
25758
26023
  }
25759
26024
  },
26025
+ {
26026
+ id: "focus.track-team-invites.post",
26027
+ family: "focus",
26028
+ resource: "track-team-invites",
26029
+ action: "post",
26030
+ title: "Post Track Team Invites",
26031
+ description: "Post Track Team Invites.",
26032
+ safety: "create",
26033
+ destructive: false,
26034
+ cli: {
26035
+ group: ["track-team-invites"],
26036
+ command: "post",
26037
+ interactive: "default"
26038
+ },
26039
+ mcp: { entityTool: "track-team-invites" },
26040
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
26041
+ execute: (input, { client }) => {
26042
+ const data = input;
26043
+ return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
26044
+ client.httpClient,
26045
+ client.organizationId,
26046
+ client.workspaceIdNumber,
26047
+ data.payload ?? data.data ?? data,
26048
+ void 0
26049
+ ]));
26050
+ }
26051
+ },
25760
26052
  {
25761
26053
  id: "focus.users.list",
25762
26054
  family: "focus",
@@ -25778,6 +26070,56 @@ const generatedFocusOperations = [
25778
26070
  return client.listOrgUsers(data);
25779
26071
  }
25780
26072
  },
26073
+ {
26074
+ id: "focus.users.settings-email-unsubscribe",
26075
+ family: "focus",
26076
+ resource: "users",
26077
+ action: "settings-email-unsubscribe",
26078
+ title: "Settings Email Unsubscribe Users",
26079
+ description: "Settings Email Unsubscribe Users.",
26080
+ safety: "update",
26081
+ destructive: false,
26082
+ cli: {
26083
+ group: ["users", "settings"],
26084
+ command: "email-unsubscribe",
26085
+ interactive: "default"
26086
+ },
26087
+ mcp: { entityTool: "users" },
26088
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
26089
+ execute: (input, { client }) => {
26090
+ const data = input;
26091
+ return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
26092
+ client.httpClient,
26093
+ data.token,
26094
+ void 0
26095
+ ]));
26096
+ }
26097
+ },
26098
+ {
26099
+ id: "focus.users.settings-email-unsubscribe-page",
26100
+ family: "focus",
26101
+ resource: "users",
26102
+ action: "settings-email-unsubscribe-page",
26103
+ title: "Settings Email Unsubscribe Page Users",
26104
+ description: "Settings Email Unsubscribe Page Users.",
26105
+ safety: "read",
26106
+ destructive: false,
26107
+ cli: {
26108
+ group: ["users", "settings"],
26109
+ command: "email-unsubscribe-page",
26110
+ interactive: "available"
26111
+ },
26112
+ mcp: { entityTool: "users" },
26113
+ inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
26114
+ execute: (input, { client }) => {
26115
+ const data = input;
26116
+ return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
26117
+ client.httpClient,
26118
+ data.token,
26119
+ void 0
26120
+ ]));
26121
+ }
26122
+ },
25781
26123
  {
25782
26124
  id: "focus.users.settings-list",
25783
26125
  family: "focus",
@@ -25839,6 +26181,9 @@ const generatedFocusOperations = [
25839
26181
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25840
26182
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25841
26183
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26184
+ notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26185
+ notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
26186
+ notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25842
26187
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25843
26188
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25844
26189
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -27894,4 +28239,4 @@ Common commands:
27894
28239
  //#endregion
27895
28240
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
27896
28241
 
27897
- //# sourceMappingURL=program-BBNYLATY.js.map
28242
+ //# sourceMappingURL=program-C2DB7NCd.js.map