@togglhq/mcp 1.11.9 → 1.11.11

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.
@@ -36428,7 +36428,11 @@ function safeParse(schema, input, config$1) {
36428
36428
  }
36429
36429
  const TaskAssignmentSchema = /* @__PURE__ */ object({
36430
36430
  id: /* @__PURE__ */ number(),
36431
- type: /* @__PURE__ */ picklist(["user", "team"])
36431
+ type: /* @__PURE__ */ picklist([
36432
+ "user",
36433
+ "ghost",
36434
+ "team"
36435
+ ])
36432
36436
  });
36433
36437
  const ClientLiteSchema = /* @__PURE__ */ object({
36434
36438
  id: /* @__PURE__ */ number(),
@@ -36470,8 +36474,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
36470
36474
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36471
36475
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
36472
36476
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
36473
- rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
36474
- recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("RecurringProjectID links an instance to its recurring template, so clients can lane an entry under a collapsed series.")))
36477
+ rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
36475
36478
  });
36476
36479
  const TaskMetadataSchema = /* @__PURE__ */ object({
36477
36480
  all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -36544,7 +36547,7 @@ const TaskSchema = /* @__PURE__ */ object({
36544
36547
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
36545
36548
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
36546
36549
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
36547
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
36550
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
36548
36551
  client: /* @__PURE__ */ optional(ClientLiteSchema),
36549
36552
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36550
36553
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -36552,7 +36555,7 @@ const TaskSchema = /* @__PURE__ */ object({
36552
36555
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36553
36556
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
36554
36557
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36555
- 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."))),
36558
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
36556
36559
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
36557
36560
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36558
36561
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -36562,7 +36565,6 @@ const TaskSchema = /* @__PURE__ */ object({
36562
36565
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36563
36566
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
36564
36567
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36565
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
36566
36568
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36567
36569
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36568
36570
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -36606,7 +36608,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
36606
36608
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
36607
36609
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
36608
36610
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
36609
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
36611
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
36610
36612
  client: /* @__PURE__ */ optional(ClientLiteSchema),
36611
36613
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36612
36614
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -36614,7 +36616,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
36614
36616
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36615
36617
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
36616
36618
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36617
- 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."))),
36619
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
36618
36620
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
36619
36621
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36620
36622
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -36625,7 +36627,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
36625
36627
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36626
36628
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
36627
36629
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36628
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
36629
36630
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36630
36631
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36631
36632
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -36780,7 +36781,7 @@ const TimeBlockSchema = /* @__PURE__ */ object({
36780
36781
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36781
36782
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36782
36783
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36783
- timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
36784
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
36784
36785
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
36785
36786
  });
36786
36787
  const BillableSourceSchema = /* @__PURE__ */ picklist(["manual", "task_default"]);
@@ -36797,8 +36798,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
36797
36798
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36798
36799
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36799
36800
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36800
- 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."))),
36801
- 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."))),
36802
36801
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36803
36802
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36804
36803
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -36808,7 +36807,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
36808
36807
  tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
36809
36808
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
36810
36809
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36811
- timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
36810
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
36812
36811
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36813
36812
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
36814
36813
  });
@@ -36931,7 +36930,7 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
36931
36930
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36932
36931
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36933
36932
  task: /* @__PURE__ */ optional(TaskSchema),
36934
- timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
36933
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
36935
36934
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
36936
36935
  })),
36937
36936
  page: /* @__PURE__ */ number(),
@@ -36963,8 +36962,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
36963
36962
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36964
36963
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36965
36964
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36966
- 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."))),
36967
- 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."))),
36968
36965
  planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36969
36966
  planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36970
36967
  planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
@@ -36976,7 +36973,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
36976
36973
  task: /* @__PURE__ */ optional(TaskSchema),
36977
36974
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
36978
36975
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36979
- timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
36976
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
36980
36977
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36981
36978
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
36982
36979
  })),
@@ -36988,15 +36985,9 @@ const TagSchema$1 = /* @__PURE__ */ object({
36988
36985
  id: /* @__PURE__ */ number(),
36989
36986
  name: /* @__PURE__ */ string(),
36990
36987
  workspace_id: /* @__PURE__ */ number(),
36991
- archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()), /* @__PURE__ */ description("An archived tag disappears from the apply affordance but stays attached to and readable on every existing entity. Nothing cascades."))),
36992
36988
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36993
36989
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36994
- updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36995
- usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
36996
- projects: /* @__PURE__ */ number(),
36997
- tasks: /* @__PURE__ */ number(),
36998
- time_entries: /* @__PURE__ */ number()
36999
- })), /* @__PURE__ */ description("Counts of the projects, tasks and time entries whose tag set directly contains this tag. Only present on the tags list, for callers with unrestricted project access.")))
36990
+ updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
37000
36991
  });
37001
36992
  const PaginatedTagsSchema = /* @__PURE__ */ object({
37002
36993
  data: /* @__PURE__ */ array(TagSchema$1),
@@ -37007,8 +36998,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
37007
36998
  const OrganizationUserResponseSchema = /* @__PURE__ */ object({
37008
36999
  "2fa_enabled": /* @__PURE__ */ boolean(),
37009
37000
  account_locked_at: /* @__PURE__ */ string(),
37010
- accounts_role_id: /* @__PURE__ */ number(),
37011
37001
  active: /* @__PURE__ */ boolean(),
37002
+ admin: /* @__PURE__ */ boolean(),
37012
37003
  can_edit_personal_details: /* @__PURE__ */ boolean(),
37013
37004
  created_at: /* @__PURE__ */ string(),
37014
37005
  deleted_at: /* @__PURE__ */ string(),
@@ -37057,9 +37048,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
37057
37048
  track_role_id: /* @__PURE__ */ number(),
37058
37049
  work_role_id: /* @__PURE__ */ number(),
37059
37050
  workspace_user_id: /* @__PURE__ */ number()
37060
- })),
37061
- custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
37062
- has_calendar_integration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("HasCalendarIntegration is true when the member has a calendar connected in Focus. The field is present only when the request sets include_calendar_integration to true and the calendar lookup succeeded. The field is absent when the lookup failed. Absent means unknown. It does not mean false. A member who connected a calendar in another product stays false here until they open the Focus calendar integrations page.")))
37051
+ }))
37063
37052
  });
37064
37053
  const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
37065
37054
  const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
@@ -37136,7 +37125,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
37136
37125
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
37137
37126
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
37138
37127
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
37139
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
37128
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
37129
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
37140
37130
  integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
37141
37131
  integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
37142
37132
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -37152,7 +37142,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
37152
37142
  priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
37153
37143
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37154
37144
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
37155
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37156
37145
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37157
37146
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
37158
37147
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -37162,23 +37151,22 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
37162
37151
  const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
37163
37152
  const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
37164
37153
  cascade_duplicate_children: /* @__PURE__ */ boolean(),
37165
- task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)),
37166
- private: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Optional privacy override applied to every duplicated task (and cascaded children). When omitted, each task keeps the source task's private flag. Used when FE must force public (plan lacks private tasks) or private (user can only create private) instead of falling back to composite create.")))
37154
+ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
37167
37155
  });
37168
37156
  const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
37169
37157
  const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
37170
37158
  const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
37171
- after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37172
37159
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
37173
37160
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
37174
37161
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
37175
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
37162
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37176
37163
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37177
37164
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
37178
37165
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37179
37166
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
37180
37167
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
37181
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
37168
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37169
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
37182
37170
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
37183
37171
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37184
37172
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -37195,8 +37183,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
37195
37183
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37196
37184
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37197
37185
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37198
- 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."))),
37199
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37200
37186
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37201
37187
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
37202
37188
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -37205,17 +37191,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
37205
37191
  });
37206
37192
  const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
37207
37193
  id: /* @__PURE__ */ number(),
37208
- after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37209
37194
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
37210
37195
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
37211
37196
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
37212
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
37197
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37213
37198
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37214
37199
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
37215
37200
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37216
37201
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
37217
37202
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
37218
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
37203
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37204
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
37219
37205
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
37220
37206
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37221
37207
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -37232,8 +37218,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
37232
37218
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37233
37219
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37234
37220
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37235
- 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."))),
37236
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37237
37221
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37238
37222
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
37239
37223
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -37396,7 +37380,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
37396
37380
  })
37397
37381
  }).json();
37398
37382
  }
37399
- 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) {
37383
+ 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 } = {}, signal) {
37400
37384
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
37401
37385
  signal,
37402
37386
  searchParams: buildSearchParams$2({
@@ -37416,10 +37400,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
37416
37400
  include_working_hours,
37417
37401
  include_rates,
37418
37402
  pinned_ids,
37419
- has_group,
37420
- cf_filter,
37421
- include_custom_fields,
37422
- include_calendar_integration
37403
+ has_group
37423
37404
  }, true)
37424
37405
  });
37425
37406
  return withResponseMeta(await response.json(), response.headers, response.status);
@@ -37438,7 +37419,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
37438
37419
  }
37439
37420
  //#endregion
37440
37421
  //#region ../focus-queries/dist/tags/requests.ts
37441
- async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
37422
+ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
37442
37423
  return await httpClient.get(`workspaces/${workspace_id}/tags`, {
37443
37424
  signal,
37444
37425
  searchParams: buildSearchParams$2({
@@ -37446,10 +37427,7 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
37446
37427
  page,
37447
37428
  per_page,
37448
37429
  order_by,
37449
- tag_id,
37450
- include_usage,
37451
- include_archived,
37452
- archived
37430
+ tag_id
37453
37431
  })
37454
37432
  }).json();
37455
37433
  }
@@ -37459,42 +37437,6 @@ async function createTag(httpClient, workspace_id, data, signal) {
37459
37437
  json: data
37460
37438
  }).json();
37461
37439
  }
37462
- async function bulkCreateTags(httpClient, workspace_id, data, signal) {
37463
- return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
37464
- signal,
37465
- json: data
37466
- }).json();
37467
- }
37468
- async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
37469
- return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
37470
- signal,
37471
- searchParams: buildSearchParams$2({ ids })
37472
- }).json();
37473
- }
37474
- async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
37475
- return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
37476
- signal,
37477
- json: data
37478
- }).json();
37479
- }
37480
- async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
37481
- return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
37482
- signal,
37483
- json: data
37484
- }).json();
37485
- }
37486
- async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
37487
- return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
37488
- signal,
37489
- json: data
37490
- }).json();
37491
- }
37492
- async function mergeTags(httpClient, workspace_id, data, signal) {
37493
- return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
37494
- signal,
37495
- json: data
37496
- }).json();
37497
- }
37498
37440
  async function getTag(httpClient, workspace_id, tag_id, signal) {
37499
37441
  return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
37500
37442
  }
@@ -37507,18 +37449,12 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
37507
37449
  async function deleteTag(httpClient, workspace_id, tag_id, signal) {
37508
37450
  return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
37509
37451
  }
37510
- async function archiveTag(httpClient, workspace_id, tag_id, signal) {
37511
- return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
37512
- }
37513
37452
  async function restoreTag(httpClient, workspace_id, tag_id, signal) {
37514
37453
  return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
37515
37454
  }
37516
- async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
37517
- return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
37518
- }
37519
37455
  //#endregion
37520
37456
  //#region ../focus-queries/dist/projects/requests.ts
37521
- 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) {
37457
+ 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, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
37522
37458
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37523
37459
  signal,
37524
37460
  searchParams: buildSearchParams$2({
@@ -37540,7 +37476,6 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
37540
37476
  include_rates,
37541
37477
  include_rollover,
37542
37478
  include_idle_recurring_templates,
37543
- collapse_recurring,
37544
37479
  include_drafts,
37545
37480
  include_locked_private,
37546
37481
  start_date,
@@ -37771,7 +37706,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
37771
37706
  }
37772
37707
  //#endregion
37773
37708
  //#region ../focus-queries/dist/tasks/requests.ts
37774
- 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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
37709
+ 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_ghost_assignees, include_assignees, include_parent_matches, assignee_ghost_id, disable_aggregations, cf_filter } = {}, signal) {
37775
37710
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
37776
37711
  signal,
37777
37712
  searchParams: buildSearchParams$2({
@@ -37819,14 +37754,12 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37819
37754
  recurring_task_ids,
37820
37755
  client_id,
37821
37756
  include_rates,
37757
+ include_ghost_assignees,
37822
37758
  include_assignees,
37823
37759
  include_parent_matches,
37760
+ assignee_ghost_id,
37824
37761
  disable_aggregations,
37825
- cf_filter,
37826
- recurring_occurrences_after,
37827
- max_recurring_occurrences_after,
37828
- recurring_task_read,
37829
- include_projected_occurrences
37762
+ cf_filter
37830
37763
  })
37831
37764
  }).json();
37832
37765
  }
@@ -37901,17 +37834,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
37901
37834
  })
37902
37835
  }).json();
37903
37836
  }
37904
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
37837
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
37905
37838
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
37906
37839
  signal,
37907
37840
  searchParams: buildSearchParams$2({
37908
37841
  date_from,
37909
- date_to,
37910
- skip_provider_refresh
37842
+ date_to
37911
37843
  })
37912
37844
  }).json();
37913
37845
  }
37914
- 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) {
37846
+ 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_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
37915
37847
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
37916
37848
  signal,
37917
37849
  searchParams: buildSearchParams$2({
@@ -37924,18 +37856,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
37924
37856
  dates_overlap_end,
37925
37857
  recurring_task_ids,
37926
37858
  team_id,
37927
- assignee_team_id,
37928
37859
  assignee_user_id,
37929
37860
  tag_id,
37930
- include_assignees,
37931
- recurring_occurrences_after,
37932
- max_recurring_occurrences_after,
37933
- recurring_task_read,
37934
- include_projected_occurrences
37861
+ include_ghost_assignees,
37862
+ include_assignees
37935
37863
  })
37936
37864
  }).json();
37937
37865
  }
37938
- 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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
37866
+ 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_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
37939
37867
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
37940
37868
  signal,
37941
37869
  searchParams: buildSearchParams$2({
@@ -37979,19 +37907,20 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37979
37907
  recurring,
37980
37908
  recurring_task_ids,
37981
37909
  client_id,
37910
+ include_ghost_assignees,
37982
37911
  include_assignees,
37983
- cf_filter,
37984
- recurring_occurrences_after,
37985
- max_recurring_occurrences_after,
37986
- recurring_task_read,
37987
- include_projected_occurrences
37912
+ assignee_ghost_id,
37913
+ cf_filter
37988
37914
  })
37989
37915
  }).json();
37990
37916
  }
37991
- async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
37917
+ async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
37992
37918
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
37993
37919
  signal,
37994
- searchParams: buildSearchParams$2({ include_assignees })
37920
+ searchParams: buildSearchParams$2({
37921
+ include_ghost_assignees,
37922
+ include_assignees
37923
+ })
37995
37924
  }).json();
37996
37925
  }
37997
37926
  async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
@@ -38022,7 +37951,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
38022
37951
  searchParams: buildSearchParams$2({ from_recurring_task_id })
38023
37952
  }).json();
38024
37953
  }
38025
- async function getTaskWithChildrenClassic(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) {
37954
+ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
38026
37955
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
38027
37956
  signal,
38028
37957
  searchParams: buildSearchParams$2({
@@ -38035,17 +37964,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
38035
37964
  team_id,
38036
37965
  assignee_user_id,
38037
37966
  tag_id,
37967
+ include_ghost_assignees,
38038
37968
  include_assignees
38039
37969
  })
38040
37970
  }).json();
38041
37971
  }
38042
- async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
38043
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
38044
- signal,
38045
- searchParams: buildSearchParams$2({ return_occurrence })
38046
- }).json();
38047
- }
38048
- 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) {
37972
+ 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_ghost_assignees, include_assignees } = {}, signal) {
38049
37973
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
38050
37974
  signal,
38051
37975
  searchParams: buildSearchParams$2({
@@ -38058,6 +37982,7 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
38058
37982
  team_id,
38059
37983
  assignee_user_id,
38060
37984
  tag_id,
37985
+ include_ghost_assignees,
38061
37986
  include_assignees
38062
37987
  })
38063
37988
  }).json();
@@ -38181,24 +38106,16 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
38181
38106
  })
38182
38107
  }).json();
38183
38108
  }
38184
- async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
38109
+ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
38185
38110
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
38186
38111
  signal,
38187
- json: data,
38188
- searchParams: buildSearchParams$2({
38189
- from_recurring_task_id,
38190
- return_occurrence
38191
- })
38112
+ json: data
38192
38113
  }).json();
38193
38114
  }
38194
- async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
38115
+ async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
38195
38116
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
38196
38117
  signal,
38197
- json: data,
38198
- searchParams: buildSearchParams$2({
38199
- from_recurring_task_id,
38200
- return_occurrence
38201
- })
38118
+ json: data
38202
38119
  }).json();
38203
38120
  }
38204
38121
  async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
@@ -38249,7 +38166,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
38249
38166
  json: data
38250
38167
  }).json();
38251
38168
  }
38252
- 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) {
38169
+ 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) {
38253
38170
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
38254
38171
  signal,
38255
38172
  searchParams: buildSearchParams$2({
@@ -38257,7 +38174,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
38257
38174
  date_to,
38258
38175
  task_id,
38259
38176
  status_id,
38260
- project_id,
38261
38177
  type,
38262
38178
  order_by,
38263
38179
  archived,
@@ -38266,12 +38182,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
38266
38182
  })
38267
38183
  }).json();
38268
38184
  }
38269
- async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
38270
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
38271
- signal,
38272
- json: data
38273
- }).json();
38274
- }
38275
38185
  async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
38276
38186
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
38277
38187
  signal,
@@ -38281,33 +38191,19 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
38281
38191
  async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
38282
38192
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
38283
38193
  }
38284
- async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
38194
+ async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
38285
38195
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38286
38196
  signal,
38287
- json: data,
38288
- searchParams: buildSearchParams$2({
38289
- from_recurring_task_id,
38290
- return_occurrence
38291
- })
38197
+ json: data
38292
38198
  }).json();
38293
38199
  }
38294
- async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
38295
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38296
- signal,
38297
- searchParams: buildSearchParams$2({
38298
- from_recurring_task_id,
38299
- return_occurrence
38300
- })
38301
- }).json();
38200
+ async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
38201
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
38302
38202
  }
38303
- async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
38203
+ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
38304
38204
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
38305
38205
  signal,
38306
- json: data,
38307
- searchParams: buildSearchParams$2({
38308
- from_recurring_task_id,
38309
- return_occurrence
38310
- })
38206
+ json: data
38311
38207
  }).json();
38312
38208
  }
38313
38209
  async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
@@ -42180,29 +42076,12 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
42180
42076
  }
42181
42077
  //#endregion
42182
42078
  //#region ../focus-queries/dist/audit-log/requests.ts
42183
- async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, project_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
42184
- return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
42185
- signal,
42186
- searchParams: buildSearchParams$2({
42187
- workspace_id,
42188
- entity_type,
42189
- entity_id,
42190
- project_id,
42191
- action,
42192
- user_id,
42193
- page_size,
42194
- page_number,
42195
- export: export_
42196
- })
42197
- }).json();
42198
- }
42199
- async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, project_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
42079
+ async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
42200
42080
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
42201
42081
  signal,
42202
42082
  searchParams: buildSearchParams$2({
42203
42083
  entity_type,
42204
42084
  entity_id,
42205
- project_id,
42206
42085
  action,
42207
42086
  user_id,
42208
42087
  page_size,
@@ -42355,23 +42234,33 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
42355
42234
  }
42356
42235
  //#endregion
42357
42236
  //#region ../focus-queries/dist/capacities/requests.ts
42358
- 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) {
42237
+ async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, ghost_id, private: private_, task_source, unit, include_drafts }, signal) {
42359
42238
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
42360
42239
  signal,
42361
42240
  searchParams: buildSearchParams$2({
42241
+ user_id,
42362
42242
  start_date,
42363
42243
  end_date,
42364
- user_id,
42365
- team_id,
42244
+ ghost_id,
42366
42245
  private: private_,
42367
42246
  task_source,
42368
42247
  unit,
42369
- include_drafts,
42370
- include_task_estimates
42248
+ include_drafts
42371
42249
  })
42372
42250
  }).json();
42373
42251
  }
42374
42252
  //#endregion
42253
+ //#region ../focus-queries/dist/capacity-settings/requests.ts
42254
+ async function getCapacitySettings(httpClient, workspace_id, signal) {
42255
+ return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
42256
+ }
42257
+ async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
42258
+ return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
42259
+ signal,
42260
+ json: data
42261
+ }).json();
42262
+ }
42263
+ //#endregion
42375
42264
  //#region ../focus-queries/dist/composite/requests.ts
42376
42265
  async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
42377
42266
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
@@ -42422,15 +42311,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
42422
42311
  async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42423
42312
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
42424
42313
  }
42425
- async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
42426
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
42427
- }
42428
- async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
42429
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
42430
- signal,
42431
- json: data
42432
- }).json();
42433
- }
42434
42314
  async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
42435
42315
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
42436
42316
  signal,
@@ -42463,12 +42343,6 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
42463
42343
  async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
42464
42344
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
42465
42345
  }
42466
- async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
42467
- return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
42468
- signal,
42469
- json: data
42470
- }).json();
42471
- }
42472
42346
  //#endregion
42473
42347
  //#region ../focus-queries/dist/goals/requests.ts
42474
42348
  async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
@@ -42694,7 +42568,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
42694
42568
  }
42695
42569
  //#endregion
42696
42570
  //#region ../focus-queries/dist/project-groups/requests.ts
42697
- 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) {
42571
+ 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, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, include_drafts, cf_filter } = {}, signal) {
42698
42572
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
42699
42573
  signal,
42700
42574
  searchParams: buildSearchParams$2({
@@ -42706,7 +42580,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42706
42580
  include_group_totals,
42707
42581
  include_unassigned,
42708
42582
  archived,
42709
- completed,
42710
42583
  private: private_,
42711
42584
  name,
42712
42585
  client_id,
@@ -42718,7 +42591,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42718
42591
  start_date,
42719
42592
  end_date,
42720
42593
  user_id,
42721
- only_me,
42722
42594
  include_drafts,
42723
42595
  cf_filter
42724
42596
  })
@@ -42738,6 +42610,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
42738
42610
  json: data
42739
42611
  }).json();
42740
42612
  }
42613
+ async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
42614
+ return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
42615
+ }
42741
42616
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
42742
42617
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
42743
42618
  }
@@ -42831,14 +42706,10 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
42831
42706
  }
42832
42707
  //#endregion
42833
42708
  //#region ../focus-queries/dist/reports/requests.ts
42834
- async function getForecastAvailability(httpClient, workspace_id, signal) {
42835
- return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
42836
- }
42837
- async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
42709
+ async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
42838
42710
  return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
42839
42711
  signal,
42840
42712
  json: data,
42841
- headers: { "X-Toggl-Report-Export": xTogglReportExport },
42842
42713
  searchParams: buildSearchParams$2({
42843
42714
  response_format,
42844
42715
  include_dicts
@@ -42862,36 +42733,12 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
42862
42733
  json: data
42863
42734
  }).json();
42864
42735
  }
42865
- async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
42866
- return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
42867
- signal,
42868
- json: data
42869
- }).json();
42870
- }
42871
- async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
42736
+ async function getWorkloadReport(httpClient, workspace_id, data, signal) {
42872
42737
  return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
42873
- signal,
42874
- json: data,
42875
- headers: { "X-Toggl-Report-Export": xTogglReportExport }
42876
- }).json();
42877
- }
42878
- //#endregion
42879
- //#region ../focus-queries/dist/reportschedules/requests.ts
42880
- async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
42881
- return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
42882
- signal,
42883
- json: data
42884
- }).json();
42885
- }
42886
- async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
42887
- return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
42888
42738
  signal,
42889
42739
  json: data
42890
42740
  }).json();
42891
42741
  }
42892
- async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
42893
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
42894
- }
42895
42742
  //#endregion
42896
42743
  //#region ../focus-queries/dist/savedviews/requests.ts
42897
42744
  async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
@@ -42924,7 +42771,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
42924
42771
  }
42925
42772
  //#endregion
42926
42773
  //#region ../focus-queries/dist/search/requests.ts
42927
- 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) {
42774
+ 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 }, signal) {
42928
42775
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
42929
42776
  signal,
42930
42777
  searchParams: buildSearchParams$2({
@@ -42936,56 +42783,11 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
42936
42783
  task_id,
42937
42784
  include_drafts,
42938
42785
  exclude_calendar_events,
42939
- group_by_tags,
42940
- only_me
42941
- })
42942
- }).json();
42943
- }
42944
- async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
42945
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
42946
- signal,
42947
- searchParams: buildSearchParams$2({
42948
- keyword,
42949
- per_group
42786
+ group_by_tags
42950
42787
  })
42951
42788
  }).json();
42952
42789
  }
42953
42790
  //#endregion
42954
- //#region ../focus-queries/dist/sharedreports/requests.ts
42955
- async function shareSavedView(httpClient, workspace_id, id, data, signal) {
42956
- return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
42957
- signal,
42958
- json: data
42959
- }).json();
42960
- }
42961
- async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
42962
- return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
42963
- }
42964
- async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
42965
- return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
42966
- signal,
42967
- json: data
42968
- }).json();
42969
- }
42970
- async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
42971
- return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
42972
- }
42973
- async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
42974
- return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
42975
- }
42976
- async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
42977
- return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
42978
- }
42979
- async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
42980
- return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
42981
- signal,
42982
- json: data
42983
- }).json();
42984
- }
42985
- async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
42986
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
42987
- }
42988
- //#endregion
42989
42791
  //#region ../focus-queries/dist/subscriptions/requests.ts
42990
42792
  async function getCurrentSubscription(httpClient, organization_id, signal) {
42991
42793
  return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
@@ -43041,90 +42843,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
43041
42843
  }
43042
42844
  //#endregion
43043
42845
  //#region ../focus-queries/dist/task-groups/requests.ts
43044
- 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) {
43045
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
43046
- signal,
43047
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
43048
- searchParams: buildSearchParams$2({
43049
- project_id,
43050
- source,
43051
- priority,
43052
- status_id,
43053
- client_id,
43054
- assignee_user_id,
43055
- tag_id,
43056
- team_id,
43057
- user_tag_id,
43058
- group_id,
43059
- creator_id,
43060
- name,
43061
- start_date,
43062
- end_date,
43063
- start_date_from,
43064
- start_date_to,
43065
- end_date_from,
43066
- end_date_to,
43067
- private: private_,
43068
- exclude_empty,
43069
- include_unassigned,
43070
- include_unmaterialized,
43071
- collapse_recurring,
43072
- include_assignees,
43073
- min_days,
43074
- include_drafts,
43075
- cf_filter,
43076
- user_cf_filter,
43077
- recurring_occurrences_after,
43078
- max_recurring_occurrences_after,
43079
- recurring_task_read,
43080
- include_projected_occurrences
43081
- })
43082
- }).json();
43083
- }
43084
- 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) {
43085
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
43086
- signal,
43087
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
43088
- searchParams: buildSearchParams$2({
43089
- team_id,
43090
- project_id,
43091
- source,
43092
- priority,
43093
- status_id,
43094
- client_id,
43095
- assignee_user_id,
43096
- tag_id,
43097
- user_tag_id,
43098
- group_id,
43099
- creator_id,
43100
- name,
43101
- start_date,
43102
- end_date,
43103
- start_date_from,
43104
- start_date_to,
43105
- end_date_from,
43106
- end_date_to,
43107
- private: private_,
43108
- exclude_empty,
43109
- include_unassigned,
43110
- include_unmaterialized,
43111
- collapse_recurring,
43112
- include_assignees,
43113
- min_days,
43114
- include_drafts,
43115
- cf_filter,
43116
- user_cf_filter,
43117
- recurring_occurrences_after,
43118
- max_recurring_occurrences_after,
43119
- recurring_task_read,
43120
- include_projected_occurrences
43121
- })
43122
- }).json();
43123
- }
43124
- 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) {
42846
+ 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_ghosts, include_assignees, min_days, include_drafts, cf_filter, page, per_page, order_by } = {}, signal) {
43125
42847
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
43126
42848
  signal,
43127
- headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
43128
42849
  searchParams: buildSearchParams$2({
43129
42850
  source,
43130
42851
  priority,
@@ -43146,18 +42867,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
43146
42867
  end_date_to,
43147
42868
  private: private_,
43148
42869
  exclude_empty,
43149
- include_unassigned,
43150
- include_unmaterialized,
43151
- collapse_recurring,
42870
+ include_ghosts,
43152
42871
  include_assignees,
43153
42872
  min_days,
43154
42873
  include_drafts,
43155
42874
  cf_filter,
43156
- user_cf_filter,
43157
- recurring_occurrences_after,
43158
- max_recurring_occurrences_after,
43159
- recurring_task_read,
43160
- include_projected_occurrences,
43161
42875
  page,
43162
42876
  per_page,
43163
42877
  order_by
@@ -43196,18 +42910,17 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
43196
42910
  }).json();
43197
42911
  }
43198
42912
  //#endregion
43199
- //#region ../focus-queries/dist/time-entry-groups/requests.ts
43200
- async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
43201
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
42913
+ //#region ../focus-queries/dist/time-log-suggestions/requests.ts
42914
+ async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
42915
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
43202
42916
  signal,
43203
- searchParams: buildSearchParams$2({
43204
- start_date,
43205
- end_date,
43206
- user_id,
43207
- page,
43208
- per_page,
43209
- order_by
43210
- })
42917
+ json: data
42918
+ }).json();
42919
+ }
42920
+ async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
42921
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
42922
+ signal,
42923
+ json: data
43211
42924
  }).json();
43212
42925
  }
43213
42926
  //#endregion
@@ -43249,26 +42962,63 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
43249
42962
  json: data
43250
42963
  }).json();
43251
42964
  }
43252
- //#endregion
43253
- //#region ../focus-queries/dist/timesheet-setups/requests.ts
43254
- async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
43255
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups`, {
42965
+ async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
42966
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
43256
42967
  signal,
43257
42968
  searchParams: buildSearchParams$2({
43258
- include_discontinued,
43259
- user_account_id,
43260
- approver_user_account_id
42969
+ ghost_ids,
42970
+ start_date,
42971
+ end_date
43261
42972
  })
43262
42973
  }).json();
43263
42974
  }
43264
- async function createTimesheetSetup(httpClient, organization_id, workspace_id, data, signal) {
43265
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups`, {
42975
+ async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
42976
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42977
+ signal,
42978
+ searchParams: buildSearchParams$2({
42979
+ from,
42980
+ to
42981
+ })
42982
+ }).json();
42983
+ }
42984
+ async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
42985
+ return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
43266
42986
  signal,
43267
42987
  json: data
43268
42988
  }).json();
43269
42989
  }
43270
- async function getTimesheetSetup(httpClient, organization_id, workspace_id, setup_id, signal) {
43271
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}`, { signal }).json();
42990
+ async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
42991
+ return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42992
+ signal,
42993
+ json: data
42994
+ }).json();
42995
+ }
42996
+ async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
42997
+ return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42998
+ signal,
42999
+ json: data
43000
+ }).json();
43001
+ }
43002
+ //#endregion
43003
+ //#region ../focus-queries/dist/timesheet-setups/requests.ts
43004
+ async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
43005
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups`, {
43006
+ signal,
43007
+ searchParams: buildSearchParams$2({
43008
+ include_discontinued,
43009
+ user_account_id,
43010
+ approver_user_account_id
43011
+ })
43012
+ }).json();
43013
+ }
43014
+ async function createTimesheetSetup(httpClient, organization_id, workspace_id, data, signal) {
43015
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups`, {
43016
+ signal,
43017
+ json: data
43018
+ }).json();
43019
+ }
43020
+ async function getTimesheetSetup(httpClient, organization_id, workspace_id, setup_id, signal) {
43021
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}`, { signal }).json();
43272
43022
  }
43273
43023
  async function updateTimesheetSetup(httpClient, organization_id, workspace_id, setup_id, data, signal) {
43274
43024
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}`, {
@@ -43393,12 +43143,6 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
43393
43143
  }
43394
43144
  //#endregion
43395
43145
  //#region ../focus-queries/dist/user-settings/requests.ts
43396
- async function emailUnsubscribePage(httpClient, token, signal) {
43397
- return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
43398
- }
43399
- async function emailUnsubscribe(httpClient, token, signal) {
43400
- return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
43401
- }
43402
43146
  async function getUserSettings(httpClient, signal) {
43403
43147
  return await httpClient.get(`users/me/settings`, { signal }).json();
43404
43148
  }
@@ -43447,6 +43191,27 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
43447
43191
  json: data
43448
43192
  }).json();
43449
43193
  }
43194
+ async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
43195
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
43196
+ }
43197
+ async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
43198
+ return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
43199
+ signal,
43200
+ json: data
43201
+ }).json();
43202
+ }
43203
+ async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
43204
+ return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
43205
+ signal,
43206
+ json: data
43207
+ }).json();
43208
+ }
43209
+ async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
43210
+ return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
43211
+ signal,
43212
+ json: data
43213
+ }).json();
43214
+ }
43450
43215
  //#endregion
43451
43216
  //#region ../focus-queries/dist/workspace/requests.ts
43452
43217
  async function getWorkspaceContext(httpClient, workspace_id, signal) {
@@ -43463,9 +43228,6 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
43463
43228
  json: data
43464
43229
  }).json();
43465
43230
  }
43466
- async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
43467
- return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
43468
- }
43469
43231
  async function getUserPermissions(httpClient, workspace_id, signal) {
43470
43232
  return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
43471
43233
  }
@@ -43478,15 +43240,6 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
43478
43240
  json: data
43479
43241
  }).json();
43480
43242
  }
43481
- async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
43482
- return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
43483
- }
43484
- async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
43485
- return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
43486
- signal,
43487
- json: data
43488
- }).json();
43489
- }
43490
43243
  //#endregion
43491
43244
  //#region ../operations/build/index.public.js
43492
43245
  function callGeneratedRequest(request, args) {
@@ -43621,47 +43374,6 @@ const generatedFocusOperations = [
43621
43374
  void 0
43622
43375
  ]))
43623
43376
  },
43624
- {
43625
- id: "focus.audit-log.get-organization",
43626
- family: "focus",
43627
- resource: "audit-log",
43628
- action: "get-organization",
43629
- title: "Get Organization Audit Log",
43630
- description: "Get Organization Audit Log.",
43631
- safety: "read",
43632
- destructive: false,
43633
- cli: {
43634
- group: ["audit-log"],
43635
- command: "get-organization",
43636
- interactive: "hidden"
43637
- },
43638
- mcp: { entityTool: "audit-log" },
43639
- inputSchema: /* @__PURE__ */ looseObject({
43640
- action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43641
- entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43642
- entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43643
- export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43644
- export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43645
- from: /* @__PURE__ */ string$1(),
43646
- page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43647
- page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43648
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43649
- to: /* @__PURE__ */ string$1(),
43650
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43651
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43652
- }),
43653
- execute: (input, { client }) => {
43654
- const data = input;
43655
- return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
43656
- client.httpClient,
43657
- client.organizationId,
43658
- data.from,
43659
- data.to,
43660
- data,
43661
- void 0
43662
- ]));
43663
- }
43664
- },
43665
43377
  {
43666
43378
  id: "focus.audit-log.list",
43667
43379
  family: "focus",
@@ -43686,7 +43398,6 @@ const generatedFocusOperations = [
43686
43398
  from: /* @__PURE__ */ string$1(),
43687
43399
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43688
43400
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43689
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43690
43401
  to: /* @__PURE__ */ string$1(),
43691
43402
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43692
43403
  }),
@@ -43720,13 +43431,12 @@ const generatedFocusOperations = [
43720
43431
  mcp: { entityTool: "capacities" },
43721
43432
  inputSchema: /* @__PURE__ */ looseObject({
43722
43433
  end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43434
+ ghost_id: /* @__PURE__ */ number$2(),
43723
43435
  group: /* @__PURE__ */ picklist$1(["users"]),
43724
43436
  include_drafts: /* @__PURE__ */ unknown$1(),
43725
- include_task_estimates: /* @__PURE__ */ unknown$1(),
43726
43437
  private_: /* @__PURE__ */ unknown$1(),
43727
43438
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43728
43439
  task_source: /* @__PURE__ */ unknown$1(),
43729
- team_id: /* @__PURE__ */ number$2(),
43730
43440
  unit: /* @__PURE__ */ unknown$1(),
43731
43441
  user_id: /* @__PURE__ */ number$2()
43732
43442
  }),
@@ -43742,6 +43452,54 @@ const generatedFocusOperations = [
43742
43452
  ]));
43743
43453
  }
43744
43454
  },
43455
+ {
43456
+ id: "focus.capacities.settings-list",
43457
+ family: "focus",
43458
+ resource: "capacities",
43459
+ action: "settings-list",
43460
+ title: "Settings List Capacities",
43461
+ description: "Settings List Capacities.",
43462
+ safety: "read",
43463
+ destructive: false,
43464
+ cli: {
43465
+ group: ["capacities", "settings"],
43466
+ command: "list",
43467
+ interactive: "hidden"
43468
+ },
43469
+ mcp: { entityTool: "capacities" },
43470
+ inputSchema: /* @__PURE__ */ looseObject({}),
43471
+ execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
43472
+ client.httpClient,
43473
+ client.workspaceIdNumber,
43474
+ void 0
43475
+ ]))
43476
+ },
43477
+ {
43478
+ id: "focus.capacities.settings-update",
43479
+ family: "focus",
43480
+ resource: "capacities",
43481
+ action: "settings-update",
43482
+ title: "Settings Update Capacities",
43483
+ description: "Settings Update Capacities.",
43484
+ safety: "update",
43485
+ destructive: false,
43486
+ cli: {
43487
+ group: ["capacities", "settings"],
43488
+ command: "update",
43489
+ interactive: "default"
43490
+ },
43491
+ mcp: { entityTool: "capacities" },
43492
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
43493
+ execute: (input, { client }) => {
43494
+ const data = input;
43495
+ return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
43496
+ client.httpClient,
43497
+ client.workspaceIdNumber,
43498
+ data.payload ?? data.data ?? data,
43499
+ void 0
43500
+ ]));
43501
+ }
43502
+ },
43745
43503
  {
43746
43504
  id: "focus.clients.create",
43747
43505
  family: "focus",
@@ -43936,7 +43694,8 @@ const generatedFocusOperations = [
43936
43694
  hourly_rate: /* @__PURE__ */ number$2(),
43937
43695
  start_at: apiDateTimeString,
43938
43696
  end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
43939
- })))
43697
+ }))),
43698
+ resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
43940
43699
  }) }),
43941
43700
  execute: (input, { client }) => {
43942
43701
  const data = input;
@@ -43991,7 +43750,6 @@ const generatedFocusOperations = [
43991
43750
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43992
43751
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43993
43752
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43994
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43995
43753
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43996
43754
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43997
43755
  }),
@@ -44024,7 +43782,6 @@ const generatedFocusOperations = [
44024
43782
  priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
44025
43783
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44026
43784
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44027
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44028
43785
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44029
43786
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
44030
43787
  }))),
@@ -44080,11 +43837,7 @@ const generatedFocusOperations = [
44080
43837
  },
44081
43838
  mcp: { entityTool: "custom-fields" },
44082
43839
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44083
- entity_type: /* @__PURE__ */ picklist$1([
44084
- "project",
44085
- "task",
44086
- "user"
44087
- ]),
43840
+ entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
44088
43841
  field_type: /* @__PURE__ */ picklist$1([
44089
43842
  "select",
44090
43843
  "multi_select",
@@ -44167,33 +43920,6 @@ const generatedFocusOperations = [
44167
43920
  ]));
44168
43921
  }
44169
43922
  },
44170
- {
44171
- id: "focus.custom-fields.get-allowed-users",
44172
- family: "focus",
44173
- resource: "custom-fields",
44174
- action: "get-allowed-users",
44175
- title: "Get Allowed Users Custom Fields",
44176
- description: "Get Allowed Users Custom Fields.",
44177
- safety: "read",
44178
- destructive: false,
44179
- cli: {
44180
- group: ["custom-fields"],
44181
- command: "get-allowed-users",
44182
- interactive: "available"
44183
- },
44184
- mcp: { entityTool: "custom-fields" },
44185
- inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
44186
- execute: (input, { client }) => {
44187
- const data = input;
44188
- return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
44189
- client.httpClient,
44190
- client.organizationId,
44191
- client.workspaceIdNumber,
44192
- data.custom_field_id,
44193
- void 0
44194
- ]));
44195
- }
44196
- },
44197
43923
  {
44198
43924
  id: "focus.custom-fields.list",
44199
43925
  family: "focus",
@@ -44363,37 +44089,6 @@ const generatedFocusOperations = [
44363
44089
  ]));
44364
44090
  }
44365
44091
  },
44366
- {
44367
- id: "focus.custom-fields.replace-custom-field-allowed-users",
44368
- family: "focus",
44369
- resource: "custom-fields",
44370
- action: "replace-custom-field-allowed-users",
44371
- title: "Replace Custom Field Allowed Users Custom Fields",
44372
- description: "Replace Custom Field Allowed Users Custom Fields.",
44373
- safety: "update",
44374
- destructive: false,
44375
- cli: {
44376
- group: ["custom-fields"],
44377
- command: "replace-custom-field-allowed-users",
44378
- interactive: "default"
44379
- },
44380
- mcp: { entityTool: "custom-fields" },
44381
- inputSchema: /* @__PURE__ */ looseObject({
44382
- custom_field_id: /* @__PURE__ */ number$2(),
44383
- payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
44384
- }),
44385
- execute: (input, { client }) => {
44386
- const data = input;
44387
- return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
44388
- client.httpClient,
44389
- client.organizationId,
44390
- client.workspaceIdNumber,
44391
- data.custom_field_id,
44392
- data.payload ?? data.data ?? data,
44393
- void 0
44394
- ]));
44395
- }
44396
- },
44397
44092
  {
44398
44093
  id: "focus.custom-fields.update",
44399
44094
  family: "focus",
@@ -44475,11 +44170,7 @@ const generatedFocusOperations = [
44475
44170
  },
44476
44171
  mcp: { entityTool: "custom-fields" },
44477
44172
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44478
- entity_type: /* @__PURE__ */ picklist$1([
44479
- "project",
44480
- "task",
44481
- "user"
44482
- ]),
44173
+ entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
44483
44174
  ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
44484
44175
  }) }),
44485
44176
  execute: (input, { client }) => {
@@ -44493,37 +44184,6 @@ const generatedFocusOperations = [
44493
44184
  ]));
44494
44185
  }
44495
44186
  },
44496
- {
44497
- id: "focus.custom-fields.update-user-custom-field-values",
44498
- family: "focus",
44499
- resource: "custom-fields",
44500
- action: "update-user-custom-field-values",
44501
- title: "Update User Custom Field Values Custom Fields",
44502
- description: "Update User Custom Field Values Custom Fields.",
44503
- safety: "update",
44504
- destructive: false,
44505
- cli: {
44506
- group: ["custom-fields"],
44507
- command: "update-user-custom-field-values",
44508
- interactive: "hidden"
44509
- },
44510
- mcp: { entityTool: "custom-fields" },
44511
- inputSchema: /* @__PURE__ */ looseObject({
44512
- payload: /* @__PURE__ */ unknown$1(),
44513
- user_id: /* @__PURE__ */ number$2()
44514
- }),
44515
- execute: (input, { client }) => {
44516
- const data = input;
44517
- return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
44518
- client.httpClient,
44519
- client.organizationId,
44520
- client.workspaceIdNumber,
44521
- data.user_id,
44522
- data.payload ?? data.data ?? data,
44523
- void 0
44524
- ]));
44525
- }
44526
- },
44527
44187
  {
44528
44188
  id: "focus.goals.create",
44529
44189
  family: "focus",
@@ -44540,7 +44200,13 @@ const generatedFocusOperations = [
44540
44200
  },
44541
44201
  mcp: { entityTool: "goals" },
44542
44202
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44203
+ billable: /* @__PURE__ */ boolean$1(),
44543
44204
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44205
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44206
+ icon: /* @__PURE__ */ string$1(),
44207
+ monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44208
+ name: /* @__PURE__ */ string$1(),
44209
+ project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44544
44210
  recurrence: /* @__PURE__ */ picklist$1([
44545
44211
  "daily",
44546
44212
  "weekly",
@@ -44548,18 +44214,12 @@ const generatedFocusOperations = [
44548
44214
  "monthly"
44549
44215
  ]),
44550
44216
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44217
+ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44551
44218
  target_seconds: /* @__PURE__ */ number$2(),
44552
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44219
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44220
+ weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44553
44221
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44554
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44555
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44556
- icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44557
- monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44558
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44559
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44560
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44561
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44562
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44222
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44563
44223
  }) }),
44564
44224
  execute: (input, { client }) => {
44565
44225
  const data = input;
@@ -44665,6 +44325,13 @@ const generatedFocusOperations = [
44665
44325
  },
44666
44326
  mcp: { entityTool: "goals" },
44667
44327
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44328
+ billable: /* @__PURE__ */ boolean$1(),
44329
+ comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
44330
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44331
+ icon: /* @__PURE__ */ string$1(),
44332
+ monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
44333
+ name: /* @__PURE__ */ string$1(),
44334
+ project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44668
44335
  recurrence: /* @__PURE__ */ picklist$1([
44669
44336
  "daily",
44670
44337
  "weekly",
@@ -44672,19 +44339,12 @@ const generatedFocusOperations = [
44672
44339
  "monthly"
44673
44340
  ]),
44674
44341
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
44675
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44342
+ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44343
+ target_seconds: /* @__PURE__ */ number$2(),
44344
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44345
+ weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
44676
44346
  client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44677
- comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
44678
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44679
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44680
- icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44681
- monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
44682
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44683
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44684
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44685
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44686
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44687
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44347
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
44688
44348
  }) }),
44689
44349
  execute: (input, { client }) => {
44690
44350
  const data = input;
@@ -44743,22 +44403,10 @@ const generatedFocusOperations = [
44743
44403
  goal_id: /* @__PURE__ */ number$2(),
44744
44404
  payload: /* @__PURE__ */ looseObject({
44745
44405
  active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44746
- client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44747
44406
  comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44748
44407
  icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44749
44408
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44750
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44751
- recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
44752
- "daily",
44753
- "weekly",
44754
- "daily_workdays",
44755
- "monthly"
44756
- ])),
44757
- start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44758
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44759
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44760
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44761
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44409
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
44762
44410
  })
44763
44411
  }),
44764
44412
  execute: (input, { client }) => {
@@ -45651,17 +45299,9 @@ const generatedFocusOperations = [
45651
45299
  mcp: { entityTool: "projects" },
45652
45300
  inputSchema: /* @__PURE__ */ looseObject({
45653
45301
  payload: /* @__PURE__ */ looseObject({
45654
- auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45655
- completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
45656
45302
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
45657
45303
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45658
45304
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
45659
- rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
45660
- "expire",
45661
- "carry_all",
45662
- "carry_over"
45663
- ])),
45664
- rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
45665
45305
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
45666
45306
  }),
45667
45307
  project_id: /* @__PURE__ */ number$2()
@@ -46099,7 +45739,6 @@ const generatedFocusOperations = [
46099
45739
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
46100
45740
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46101
45741
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
46102
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46103
45742
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
46104
45743
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
46105
45744
  group: /* @__PURE__ */ string$1(),
@@ -46107,7 +45746,6 @@ const generatedFocusOperations = [
46107
45746
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46108
45747
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46109
45748
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46110
- only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46111
45749
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
46112
45750
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
46113
45751
  parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -46207,6 +45845,29 @@ const generatedFocusOperations = [
46207
45845
  ]));
46208
45846
  }
46209
45847
  },
45848
+ {
45849
+ id: "focus.projects.margin-targets-clear-workspace",
45850
+ family: "focus",
45851
+ resource: "projects",
45852
+ action: "margin-targets-clear-workspace",
45853
+ title: "Margin Targets Clear Workspace Projects",
45854
+ description: "Margin Targets Clear Workspace Projects.",
45855
+ safety: "delete",
45856
+ destructive: true,
45857
+ cli: {
45858
+ group: ["projects", "margin-targets"],
45859
+ command: "clear-workspace",
45860
+ interactive: "default"
45861
+ },
45862
+ mcp: { entityTool: "projects" },
45863
+ inputSchema: /* @__PURE__ */ looseObject({}),
45864
+ execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
45865
+ client.httpClient,
45866
+ client.organizationId,
45867
+ client.workspaceIdNumber,
45868
+ void 0
45869
+ ]))
45870
+ },
46210
45871
  {
46211
45872
  id: "focus.projects.margin-targets-get",
46212
45873
  family: "focus",
@@ -48269,10 +47930,7 @@ const generatedFocusOperations = [
48269
47930
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48270
47931
  name: /* @__PURE__ */ string$1(),
48271
47932
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48272
- })),
48273
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48274
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48275
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
47933
+ }))
48276
47934
  }),
48277
47935
  response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48278
47936
  }),
@@ -48313,28 +47971,6 @@ const generatedFocusOperations = [
48313
47971
  ]));
48314
47972
  }
48315
47973
  },
48316
- {
48317
- id: "focus.reports.get-forecast-availability",
48318
- family: "focus",
48319
- resource: "reports",
48320
- action: "get-forecast-availability",
48321
- title: "Get Forecast Availability Reports",
48322
- description: "Get Forecast Availability Reports.",
48323
- safety: "read",
48324
- destructive: false,
48325
- cli: {
48326
- group: ["reports"],
48327
- command: "get-forecast-availability",
48328
- interactive: "hidden"
48329
- },
48330
- mcp: { entityTool: "reports" },
48331
- inputSchema: /* @__PURE__ */ looseObject({}),
48332
- execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
48333
- client.httpClient,
48334
- client.workspaceIdNumber,
48335
- void 0
48336
- ]))
48337
- },
48338
47974
  {
48339
47975
  id: "focus.reports.get-profitability",
48340
47976
  family: "focus",
@@ -48394,17 +48030,9 @@ const generatedFocusOperations = [
48394
48030
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48395
48031
  name: /* @__PURE__ */ string$1(),
48396
48032
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48397
- })),
48398
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48399
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48400
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48033
+ }))
48401
48034
  }),
48402
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
48403
- xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
48404
- "csv",
48405
- "xlsx",
48406
- "pdf"
48407
- ]))
48035
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
48408
48036
  }),
48409
48037
  execute: (input, { client }) => {
48410
48038
  const data = input;
@@ -48414,23 +48042,22 @@ const generatedFocusOperations = [
48414
48042
  data.payload ?? data.data ?? data,
48415
48043
  data.response_format,
48416
48044
  data.include_dicts,
48417
- data.xTogglReportExport,
48418
48045
  void 0
48419
48046
  ]));
48420
48047
  }
48421
48048
  },
48422
48049
  {
48423
- id: "focus.reports.get-time-accounting",
48050
+ id: "focus.reports.get-workload",
48424
48051
  family: "focus",
48425
48052
  resource: "reports",
48426
- action: "get-time-accounting",
48427
- title: "Get Time Accounting Reports",
48428
- description: "Get Time Accounting Reports.",
48053
+ action: "get-workload",
48054
+ title: "Get Workload Reports",
48055
+ description: "Get Workload Reports.",
48429
48056
  safety: "update",
48430
48057
  destructive: false,
48431
48058
  cli: {
48432
48059
  group: ["reports"],
48433
- command: "get-time-accounting",
48060
+ command: "get-workload",
48434
48061
  interactive: "hidden"
48435
48062
  },
48436
48063
  mcp: { entityTool: "reports" },
@@ -48476,207 +48103,14 @@ const generatedFocusOperations = [
48476
48103
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48477
48104
  name: /* @__PURE__ */ string$1(),
48478
48105
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48479
- })),
48480
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48481
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48482
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48106
+ }))
48483
48107
  }) }),
48484
- execute: (input, { client }) => {
48485
- const data = input;
48486
- return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
48487
- client.httpClient,
48488
- client.workspaceIdNumber,
48489
- data.payload ?? data.data ?? data,
48490
- void 0
48491
- ]));
48492
- }
48493
- },
48494
- {
48495
- id: "focus.reports.get-workload",
48496
- family: "focus",
48497
- resource: "reports",
48498
- action: "get-workload",
48499
- title: "Get Workload Reports",
48500
- description: "Get Workload Reports.",
48501
- safety: "update",
48502
- destructive: false,
48503
- cli: {
48504
- group: ["reports"],
48505
- command: "get-workload",
48506
- interactive: "hidden"
48507
- },
48508
- mcp: { entityTool: "reports" },
48509
- inputSchema: /* @__PURE__ */ looseObject({
48510
- payload: /* @__PURE__ */ looseObject({
48511
- aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48512
- aggregation: /* @__PURE__ */ looseObject({
48513
- function: /* @__PURE__ */ string$1(),
48514
- property: /* @__PURE__ */ string$1()
48515
- }),
48516
- operator: /* @__PURE__ */ string$1(),
48517
- property: /* @__PURE__ */ string$1()
48518
- })),
48519
- aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48520
- function: /* @__PURE__ */ string$1(),
48521
- property: /* @__PURE__ */ string$1()
48522
- })),
48523
- attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
48524
- currency: /* @__PURE__ */ string$1(),
48525
- filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48526
- conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
48527
- operator: /* @__PURE__ */ string$1(),
48528
- property: /* @__PURE__ */ string$1()
48529
- })),
48530
- groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48531
- property: /* @__PURE__ */ string$1(),
48532
- show_empty: /* @__PURE__ */ boolean$1()
48533
- })),
48534
- limit: /* @__PURE__ */ number$2(),
48535
- ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48536
- direction: /* @__PURE__ */ string$1(),
48537
- nulls: /* @__PURE__ */ string$1(),
48538
- property: /* @__PURE__ */ string$1()
48539
- })),
48540
- pagination: /* @__PURE__ */ looseObject({
48541
- page: /* @__PURE__ */ number$2(),
48542
- per_page: /* @__PURE__ */ number$2()
48543
- }),
48544
- period: /* @__PURE__ */ looseObject({
48545
- from: /* @__PURE__ */ string$1(),
48546
- preset: /* @__PURE__ */ string$1(),
48547
- to: /* @__PURE__ */ string$1()
48548
- }),
48549
- transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48550
- name: /* @__PURE__ */ string$1(),
48551
- parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48552
- })),
48553
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48554
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48555
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48556
- }),
48557
- xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
48558
- "csv",
48559
- "xlsx",
48560
- "pdf"
48561
- ]))
48562
- }),
48563
48108
  execute: (input, { client }) => {
48564
48109
  const data = input;
48565
48110
  return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
48566
48111
  client.httpClient,
48567
48112
  client.workspaceIdNumber,
48568
48113
  data.payload ?? data.data ?? data,
48569
- data.xTogglReportExport,
48570
- void 0
48571
- ]));
48572
- }
48573
- },
48574
- {
48575
- id: "focus.reportschedules.delete-shared-report-schedule",
48576
- family: "focus",
48577
- resource: "reportschedules",
48578
- action: "delete-shared-report-schedule",
48579
- title: "Delete Shared Report Schedule Reportschedules",
48580
- description: "Delete Shared Report Schedule Reportschedules.",
48581
- safety: "delete",
48582
- destructive: true,
48583
- cli: {
48584
- group: ["reportschedules"],
48585
- command: "delete-shared-report-schedule",
48586
- interactive: "default"
48587
- },
48588
- mcp: { entityTool: "reportschedules" },
48589
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48590
- execute: (input, { client }) => {
48591
- const data = input;
48592
- return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
48593
- client.httpClient,
48594
- client.workspaceIdNumber,
48595
- data.id,
48596
- void 0
48597
- ]));
48598
- }
48599
- },
48600
- {
48601
- id: "focus.reportschedules.upsert-saved-view-schedule",
48602
- family: "focus",
48603
- resource: "reportschedules",
48604
- action: "upsert-saved-view-schedule",
48605
- title: "Upsert Saved View Schedule Reportschedules",
48606
- description: "Upsert Saved View Schedule Reportschedules.",
48607
- safety: "update",
48608
- destructive: false,
48609
- cli: {
48610
- group: ["reportschedules"],
48611
- command: "upsert-saved-view-schedule",
48612
- interactive: "hidden"
48613
- },
48614
- mcp: { entityTool: "reportschedules" },
48615
- inputSchema: /* @__PURE__ */ looseObject({
48616
- id: /* @__PURE__ */ number$2(),
48617
- payload: /* @__PURE__ */ looseObject({
48618
- cadence: /* @__PURE__ */ picklist$1([
48619
- "daily",
48620
- "weekly",
48621
- "monthly"
48622
- ]),
48623
- charts: /* @__PURE__ */ unknown$1(),
48624
- time: /* @__PURE__ */ string$1(),
48625
- day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48626
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48627
- recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48628
- recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48629
- recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
48630
- })
48631
- }),
48632
- execute: (input, { client }) => {
48633
- const data = input;
48634
- return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
48635
- client.httpClient,
48636
- client.workspaceIdNumber,
48637
- data.id,
48638
- data.payload ?? data.data ?? data,
48639
- void 0
48640
- ]));
48641
- }
48642
- },
48643
- {
48644
- id: "focus.reportschedules.upsert-shared-report-schedule",
48645
- family: "focus",
48646
- resource: "reportschedules",
48647
- action: "upsert-shared-report-schedule",
48648
- title: "Upsert Shared Report Schedule Reportschedules",
48649
- description: "Upsert Shared Report Schedule Reportschedules.",
48650
- safety: "update",
48651
- destructive: false,
48652
- cli: {
48653
- group: ["reportschedules"],
48654
- command: "upsert-shared-report-schedule",
48655
- interactive: "default"
48656
- },
48657
- mcp: { entityTool: "reportschedules" },
48658
- inputSchema: /* @__PURE__ */ looseObject({
48659
- id: /* @__PURE__ */ number$2(),
48660
- payload: /* @__PURE__ */ looseObject({
48661
- cadence: /* @__PURE__ */ picklist$1([
48662
- "daily",
48663
- "weekly",
48664
- "monthly"
48665
- ]),
48666
- time: /* @__PURE__ */ string$1(),
48667
- day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48668
- recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48669
- recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48670
- recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
48671
- })
48672
- }),
48673
- execute: (input, { client }) => {
48674
- const data = input;
48675
- return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
48676
- client.httpClient,
48677
- client.workspaceIdNumber,
48678
- data.id,
48679
- data.payload ?? data.data ?? data,
48680
48114
  void 0
48681
48115
  ]));
48682
48116
  }
@@ -48714,9 +48148,7 @@ const generatedFocusOperations = [
48714
48148
  "reports.detailed",
48715
48149
  "reports.utilization",
48716
48150
  "reports.workload",
48717
- "reports.profitability",
48718
- "reports.time-off",
48719
- "reports.time-accounting"
48151
+ "reports.profitability"
48720
48152
  ]),
48721
48153
  icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48722
48154
  }) }),
@@ -48839,36 +48271,6 @@ const generatedFocusOperations = [
48839
48271
  ]));
48840
48272
  }
48841
48273
  },
48842
- {
48843
- id: "focus.search.mentions",
48844
- family: "focus",
48845
- resource: "search",
48846
- action: "mentions",
48847
- title: "Mentions Search",
48848
- description: "Mentions Search.",
48849
- safety: "read",
48850
- destructive: false,
48851
- cli: {
48852
- group: ["search"],
48853
- command: "mentions",
48854
- interactive: "hidden"
48855
- },
48856
- mcp: { entityTool: "search" },
48857
- inputSchema: /* @__PURE__ */ looseObject({
48858
- keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48859
- per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48860
- }),
48861
- execute: (input, { client }) => {
48862
- const data = input;
48863
- return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
48864
- client.httpClient,
48865
- client.organizationId,
48866
- client.workspaceIdNumber,
48867
- data,
48868
- void 0
48869
- ]));
48870
- }
48871
- },
48872
48274
  {
48873
48275
  id: "focus.search.search",
48874
48276
  family: "focus",
@@ -48896,240 +48298,6 @@ const generatedFocusOperations = [
48896
48298
  ]));
48897
48299
  }
48898
48300
  },
48899
- {
48900
- id: "focus.sharedreports.add-shared-report-grants",
48901
- family: "focus",
48902
- resource: "sharedreports",
48903
- action: "add-shared-report-grants",
48904
- title: "Add Shared Report Grants Sharedreports",
48905
- description: "Add Shared Report Grants Sharedreports.",
48906
- safety: "update",
48907
- destructive: false,
48908
- cli: {
48909
- group: ["sharedreports"],
48910
- command: "add-shared-report-grants",
48911
- interactive: "default"
48912
- },
48913
- mcp: { entityTool: "sharedreports" },
48914
- inputSchema: /* @__PURE__ */ looseObject({
48915
- id: /* @__PURE__ */ number$2(),
48916
- payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48917
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48918
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48919
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48920
- })) })
48921
- }),
48922
- execute: (input, { client }) => {
48923
- const data = input;
48924
- return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
48925
- client.httpClient,
48926
- client.workspaceIdNumber,
48927
- data.id,
48928
- data.payload ?? data.data ?? data,
48929
- void 0
48930
- ]));
48931
- }
48932
- },
48933
- {
48934
- id: "focus.sharedreports.get-saved-view-shared-report",
48935
- family: "focus",
48936
- resource: "sharedreports",
48937
- action: "get-saved-view-shared-report",
48938
- title: "Get Saved View Shared Report Sharedreports",
48939
- description: "Get Saved View Shared Report Sharedreports.",
48940
- safety: "read",
48941
- destructive: false,
48942
- cli: {
48943
- group: ["sharedreports"],
48944
- command: "get-saved-view-shared-report",
48945
- interactive: "available"
48946
- },
48947
- mcp: { entityTool: "sharedreports" },
48948
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48949
- execute: (input, { client }) => {
48950
- const data = input;
48951
- return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
48952
- client.httpClient,
48953
- client.workspaceIdNumber,
48954
- data.id,
48955
- void 0
48956
- ]));
48957
- }
48958
- },
48959
- {
48960
- id: "focus.sharedreports.get-shared-report-for-viewer",
48961
- family: "focus",
48962
- resource: "sharedreports",
48963
- action: "get-shared-report-for-viewer",
48964
- title: "Get Shared Report For Viewer Sharedreports",
48965
- description: "Get Shared Report For Viewer Sharedreports.",
48966
- safety: "read",
48967
- destructive: false,
48968
- cli: {
48969
- group: ["sharedreports"],
48970
- command: "get-shared-report-for-viewer",
48971
- interactive: "available"
48972
- },
48973
- mcp: { entityTool: "sharedreports" },
48974
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48975
- execute: (input, { client }) => {
48976
- const data = input;
48977
- return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
48978
- client.httpClient,
48979
- client.workspaceIdNumber,
48980
- data.id,
48981
- void 0
48982
- ]));
48983
- }
48984
- },
48985
- {
48986
- id: "focus.sharedreports.get-shared-reports-shared-by-me",
48987
- family: "focus",
48988
- resource: "sharedreports",
48989
- action: "get-shared-reports-shared-by-me",
48990
- title: "Get Shared Reports Shared By Me Sharedreports",
48991
- description: "Get Shared Reports Shared By Me Sharedreports.",
48992
- safety: "read",
48993
- destructive: false,
48994
- cli: {
48995
- group: ["sharedreports"],
48996
- command: "get-shared-reports-shared-by-me",
48997
- interactive: "hidden"
48998
- },
48999
- mcp: { entityTool: "sharedreports" },
49000
- inputSchema: /* @__PURE__ */ looseObject({}),
49001
- execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
49002
- client.httpClient,
49003
- client.workspaceIdNumber,
49004
- void 0
49005
- ]))
49006
- },
49007
- {
49008
- id: "focus.sharedreports.get-shared-reports-shared-with-me",
49009
- family: "focus",
49010
- resource: "sharedreports",
49011
- action: "get-shared-reports-shared-with-me",
49012
- title: "Get Shared Reports Shared With Me Sharedreports",
49013
- description: "Get Shared Reports Shared With Me Sharedreports.",
49014
- safety: "read",
49015
- destructive: false,
49016
- cli: {
49017
- group: ["sharedreports"],
49018
- command: "get-shared-reports-shared-with-me",
49019
- interactive: "hidden"
49020
- },
49021
- mcp: { entityTool: "sharedreports" },
49022
- inputSchema: /* @__PURE__ */ looseObject({}),
49023
- execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
49024
- client.httpClient,
49025
- client.workspaceIdNumber,
49026
- void 0
49027
- ]))
49028
- },
49029
- {
49030
- id: "focus.sharedreports.revoke-shared-report-grant",
49031
- family: "focus",
49032
- resource: "sharedreports",
49033
- action: "revoke-shared-report-grant",
49034
- title: "Revoke Shared Report Grant Sharedreports",
49035
- description: "Revoke Shared Report Grant Sharedreports.",
49036
- safety: "delete",
49037
- destructive: true,
49038
- cli: {
49039
- group: ["sharedreports"],
49040
- command: "revoke-shared-report-grant",
49041
- interactive: "default"
49042
- },
49043
- mcp: { entityTool: "sharedreports" },
49044
- inputSchema: /* @__PURE__ */ looseObject({
49045
- grant_id: /* @__PURE__ */ number$2(),
49046
- id: /* @__PURE__ */ number$2()
49047
- }),
49048
- execute: (input, { client }) => {
49049
- const data = input;
49050
- return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
49051
- client.httpClient,
49052
- client.workspaceIdNumber,
49053
- data.id,
49054
- data.grant_id,
49055
- void 0
49056
- ]));
49057
- }
49058
- },
49059
- {
49060
- id: "focus.sharedreports.share-saved-view",
49061
- family: "focus",
49062
- resource: "sharedreports",
49063
- action: "share-saved-view",
49064
- title: "Share Saved View Sharedreports",
49065
- description: "Share Saved View Sharedreports.",
49066
- safety: "update",
49067
- destructive: false,
49068
- cli: {
49069
- group: ["sharedreports"],
49070
- command: "share-saved-view",
49071
- interactive: "hidden"
49072
- },
49073
- mcp: { entityTool: "sharedreports" },
49074
- inputSchema: /* @__PURE__ */ looseObject({
49075
- id: /* @__PURE__ */ number$2(),
49076
- payload: /* @__PURE__ */ looseObject({
49077
- charts: /* @__PURE__ */ unknown$1(),
49078
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49079
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49080
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49081
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
49082
- })
49083
- }),
49084
- execute: (input, { client }) => {
49085
- const data = input;
49086
- return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
49087
- client.httpClient,
49088
- client.workspaceIdNumber,
49089
- data.id,
49090
- data.payload ?? data.data ?? data,
49091
- void 0
49092
- ]));
49093
- }
49094
- },
49095
- {
49096
- id: "focus.sharedreports.share-saved-view-many",
49097
- family: "focus",
49098
- resource: "sharedreports",
49099
- action: "share-saved-view-many",
49100
- title: "Share Saved View Many Sharedreports",
49101
- description: "Share Saved View Many Sharedreports.",
49102
- safety: "update",
49103
- destructive: false,
49104
- cli: {
49105
- group: ["sharedreports"],
49106
- command: "share-saved-view-many",
49107
- interactive: "hidden"
49108
- },
49109
- mcp: { entityTool: "sharedreports" },
49110
- inputSchema: /* @__PURE__ */ looseObject({
49111
- id: /* @__PURE__ */ number$2(),
49112
- payload: /* @__PURE__ */ looseObject({
49113
- charts: /* @__PURE__ */ unknown$1(),
49114
- grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
49115
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49116
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49117
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
49118
- })),
49119
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
49120
- })
49121
- }),
49122
- execute: (input, { client }) => {
49123
- const data = input;
49124
- return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
49125
- client.httpClient,
49126
- client.workspaceIdNumber,
49127
- data.id,
49128
- data.payload ?? data.data ?? data,
49129
- void 0
49130
- ]));
49131
- }
49132
- },
49133
48301
  {
49134
48302
  id: "focus.statuses.create-status",
49135
48303
  family: "focus",
@@ -49325,242 +48493,83 @@ const generatedFocusOperations = [
49325
48493
  safety: "read",
49326
48494
  destructive: false,
49327
48495
  cli: {
49328
- group: ["subscriptions"],
49329
- command: "get-current-trial",
49330
- interactive: "hidden"
49331
- },
49332
- mcp: { entityTool: "subscriptions" },
49333
- inputSchema: /* @__PURE__ */ looseObject({}),
49334
- execute: (_input, { client }) => client.runGeneratedRequest("getCurrentTrial", () => callGeneratedRequest(getCurrentTrial, [
49335
- client.httpClient,
49336
- client.organizationId,
49337
- void 0
49338
- ]))
49339
- },
49340
- {
49341
- id: "focus.subscriptions.get-features-upsell",
49342
- family: "focus",
49343
- resource: "subscriptions",
49344
- action: "get-features-upsell",
49345
- title: "Get Features Upsell Subscriptions",
49346
- description: "Get Features Upsell Subscriptions.",
49347
- safety: "read",
49348
- destructive: false,
49349
- cli: {
49350
- group: ["subscriptions"],
49351
- command: "get-features-upsell",
49352
- interactive: "hidden"
49353
- },
49354
- mcp: { entityTool: "subscriptions" },
49355
- inputSchema: /* @__PURE__ */ looseObject({}),
49356
- execute: (_input, { client }) => client.runGeneratedRequest("getFeaturesUpsell", () => callGeneratedRequest(getFeaturesUpsell, [
49357
- client.httpClient,
49358
- client.organizationId,
49359
- void 0
49360
- ]))
49361
- },
49362
- {
49363
- id: "focus.subscriptions.get-plans",
49364
- family: "focus",
49365
- resource: "subscriptions",
49366
- action: "get-plans",
49367
- title: "Get Plans Subscriptions",
49368
- description: "Get Plans Subscriptions.",
49369
- safety: "read",
49370
- destructive: false,
49371
- cli: {
49372
- group: ["subscriptions"],
49373
- command: "get-plans",
49374
- interactive: "hidden"
49375
- },
49376
- mcp: { entityTool: "subscriptions" },
49377
- inputSchema: /* @__PURE__ */ looseObject({}),
49378
- execute: (_input, { client }) => client.runGeneratedRequest("getSubscriptionPlans", () => callGeneratedRequest(getSubscriptionPlans, [
49379
- client.httpClient,
49380
- client.organizationId,
49381
- void 0
49382
- ]))
49383
- },
49384
- {
49385
- id: "focus.subscriptions.upsert-forced-trial",
49386
- family: "focus",
49387
- resource: "subscriptions",
49388
- action: "upsert-forced-trial",
49389
- title: "Upsert Forced Trial Subscriptions",
49390
- description: "Upsert Forced Trial Subscriptions.",
49391
- safety: "update",
49392
- destructive: false,
49393
- cli: {
49394
- group: ["subscriptions"],
49395
- command: "upsert-forced-trial",
49396
- interactive: "default"
49397
- },
49398
- mcp: { entityTool: "subscriptions" },
49399
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
49400
- execute: (input, { client }) => {
49401
- const data = input;
49402
- return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
49403
- client.httpClient,
49404
- client.organizationId,
49405
- client.workspaceIdNumber,
49406
- data.payload ?? data.data ?? data,
49407
- void 0
49408
- ]));
49409
- }
49410
- },
49411
- {
49412
- id: "focus.tags.archive",
49413
- family: "focus",
49414
- resource: "tags",
49415
- action: "archive",
49416
- title: "Archive Tags",
49417
- description: "Archive Tags.",
49418
- safety: "update",
49419
- destructive: false,
49420
- cli: {
49421
- group: ["tags"],
49422
- command: "archive",
49423
- interactive: "default"
49424
- },
49425
- mcp: { entityTool: "tags" },
49426
- inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
49427
- execute: (input, { client }) => {
49428
- const data = input;
49429
- return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
49430
- client.httpClient,
49431
- client.workspaceIdNumber,
49432
- data.tag_id,
49433
- void 0
49434
- ]));
49435
- }
49436
- },
49437
- {
49438
- id: "focus.tags.bulk-archive",
49439
- family: "focus",
49440
- resource: "tags",
49441
- action: "bulk-archive",
49442
- title: "Bulk Archive Tags",
49443
- description: "Bulk Archive Tags.",
49444
- safety: "update",
49445
- destructive: false,
49446
- cli: {
49447
- group: ["tags", "bulk"],
49448
- command: "archive",
49449
- interactive: "default"
49450
- },
49451
- mcp: { entityTool: "tags" },
49452
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
49453
- execute: (input, { client }) => {
49454
- const data = input;
49455
- return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
49456
- client.httpClient,
49457
- client.workspaceIdNumber,
49458
- data.payload ?? data.data ?? data,
49459
- void 0
49460
- ]));
49461
- }
49462
- },
49463
- {
49464
- id: "focus.tags.bulk-create",
49465
- family: "focus",
49466
- resource: "tags",
49467
- action: "bulk-create",
49468
- title: "Bulk Create Tags",
49469
- description: "Bulk Create Tags.",
49470
- safety: "create",
49471
- destructive: false,
49472
- cli: {
49473
- group: ["tags", "bulk"],
49474
- command: "create",
49475
- interactive: "default"
49476
- },
49477
- mcp: { entityTool: "tags" },
49478
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
49479
- color: /* @__PURE__ */ string$1(),
49480
- name: /* @__PURE__ */ string$1()
49481
- })) }) }),
49482
- execute: (input, { client }) => {
49483
- const data = input;
49484
- return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
49485
- client.httpClient,
49486
- client.workspaceIdNumber,
49487
- data.payload ?? data.data ?? data,
49488
- void 0
49489
- ]));
49490
- }
48496
+ group: ["subscriptions"],
48497
+ command: "get-current-trial",
48498
+ interactive: "hidden"
48499
+ },
48500
+ mcp: { entityTool: "subscriptions" },
48501
+ inputSchema: /* @__PURE__ */ looseObject({}),
48502
+ execute: (_input, { client }) => client.runGeneratedRequest("getCurrentTrial", () => callGeneratedRequest(getCurrentTrial, [
48503
+ client.httpClient,
48504
+ client.organizationId,
48505
+ void 0
48506
+ ]))
49491
48507
  },
49492
48508
  {
49493
- id: "focus.tags.bulk-delete",
48509
+ id: "focus.subscriptions.get-features-upsell",
49494
48510
  family: "focus",
49495
- resource: "tags",
49496
- action: "bulk-delete",
49497
- title: "Bulk Delete Tags",
49498
- description: "Bulk Delete Tags.",
49499
- safety: "delete",
49500
- destructive: true,
48511
+ resource: "subscriptions",
48512
+ action: "get-features-upsell",
48513
+ title: "Get Features Upsell Subscriptions",
48514
+ description: "Get Features Upsell Subscriptions.",
48515
+ safety: "read",
48516
+ destructive: false,
49501
48517
  cli: {
49502
- group: ["tags", "bulk"],
49503
- command: "delete",
49504
- interactive: "default"
48518
+ group: ["subscriptions"],
48519
+ command: "get-features-upsell",
48520
+ interactive: "hidden"
49505
48521
  },
49506
- mcp: { entityTool: "tags" },
49507
- inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
49508
- execute: (input, { client }) => {
49509
- const data = input;
49510
- return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
49511
- client.httpClient,
49512
- client.workspaceIdNumber,
49513
- data.ids,
49514
- void 0
49515
- ]));
49516
- }
48522
+ mcp: { entityTool: "subscriptions" },
48523
+ inputSchema: /* @__PURE__ */ looseObject({}),
48524
+ execute: (_input, { client }) => client.runGeneratedRequest("getFeaturesUpsell", () => callGeneratedRequest(getFeaturesUpsell, [
48525
+ client.httpClient,
48526
+ client.organizationId,
48527
+ void 0
48528
+ ]))
49517
48529
  },
49518
48530
  {
49519
- id: "focus.tags.bulk-restore",
48531
+ id: "focus.subscriptions.get-plans",
49520
48532
  family: "focus",
49521
- resource: "tags",
49522
- action: "bulk-restore",
49523
- title: "Bulk Restore Tags",
49524
- description: "Bulk Restore Tags.",
49525
- safety: "update",
48533
+ resource: "subscriptions",
48534
+ action: "get-plans",
48535
+ title: "Get Plans Subscriptions",
48536
+ description: "Get Plans Subscriptions.",
48537
+ safety: "read",
49526
48538
  destructive: false,
49527
48539
  cli: {
49528
- group: ["tags", "bulk"],
49529
- command: "restore",
49530
- interactive: "default"
48540
+ group: ["subscriptions"],
48541
+ command: "get-plans",
48542
+ interactive: "hidden"
49531
48543
  },
49532
- mcp: { entityTool: "tags" },
49533
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
49534
- execute: (input, { client }) => {
49535
- const data = input;
49536
- return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
49537
- client.httpClient,
49538
- client.workspaceIdNumber,
49539
- data.payload ?? data.data ?? data,
49540
- void 0
49541
- ]));
49542
- }
48544
+ mcp: { entityTool: "subscriptions" },
48545
+ inputSchema: /* @__PURE__ */ looseObject({}),
48546
+ execute: (_input, { client }) => client.runGeneratedRequest("getSubscriptionPlans", () => callGeneratedRequest(getSubscriptionPlans, [
48547
+ client.httpClient,
48548
+ client.organizationId,
48549
+ void 0
48550
+ ]))
49543
48551
  },
49544
48552
  {
49545
- id: "focus.tags.bulk-unarchive",
48553
+ id: "focus.subscriptions.upsert-forced-trial",
49546
48554
  family: "focus",
49547
- resource: "tags",
49548
- action: "bulk-unarchive",
49549
- title: "Bulk Unarchive Tags",
49550
- description: "Bulk Unarchive Tags.",
48555
+ resource: "subscriptions",
48556
+ action: "upsert-forced-trial",
48557
+ title: "Upsert Forced Trial Subscriptions",
48558
+ description: "Upsert Forced Trial Subscriptions.",
49551
48559
  safety: "update",
49552
48560
  destructive: false,
49553
48561
  cli: {
49554
- group: ["tags", "bulk"],
49555
- command: "unarchive",
48562
+ group: ["subscriptions"],
48563
+ command: "upsert-forced-trial",
49556
48564
  interactive: "default"
49557
48565
  },
49558
- mcp: { entityTool: "tags" },
49559
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
48566
+ mcp: { entityTool: "subscriptions" },
48567
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
49560
48568
  execute: (input, { client }) => {
49561
48569
  const data = input;
49562
- return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
48570
+ return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
49563
48571
  client.httpClient,
48572
+ client.organizationId,
49564
48573
  client.workspaceIdNumber,
49565
48574
  data.payload ?? data.data ?? data,
49566
48575
  void 0
@@ -49651,35 +48660,6 @@ const generatedFocusOperations = [
49651
48660
  return client.listTags(data);
49652
48661
  }
49653
48662
  },
49654
- {
49655
- id: "focus.tags.merge",
49656
- family: "focus",
49657
- resource: "tags",
49658
- action: "merge",
49659
- title: "Merge Tags",
49660
- description: "Merge Tags.",
49661
- safety: "update",
49662
- destructive: false,
49663
- cli: {
49664
- group: ["tags"],
49665
- command: "merge",
49666
- interactive: "default"
49667
- },
49668
- mcp: { entityTool: "tags" },
49669
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
49670
- source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
49671
- target_id: /* @__PURE__ */ number$2()
49672
- }) }),
49673
- execute: (input, { client }) => {
49674
- const data = input;
49675
- return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
49676
- client.httpClient,
49677
- client.workspaceIdNumber,
49678
- data.payload ?? data.data ?? data,
49679
- void 0
49680
- ]));
49681
- }
49682
- },
49683
48663
  {
49684
48664
  id: "focus.tags.restore",
49685
48665
  family: "focus",
@@ -49706,32 +48686,6 @@ const generatedFocusOperations = [
49706
48686
  ]));
49707
48687
  }
49708
48688
  },
49709
- {
49710
- id: "focus.tags.unarchive",
49711
- family: "focus",
49712
- resource: "tags",
49713
- action: "unarchive",
49714
- title: "Unarchive Tags",
49715
- description: "Unarchive Tags.",
49716
- safety: "update",
49717
- destructive: false,
49718
- cli: {
49719
- group: ["tags"],
49720
- command: "unarchive",
49721
- interactive: "default"
49722
- },
49723
- mcp: { entityTool: "tags" },
49724
- inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
49725
- execute: (input, { client }) => {
49726
- const data = input;
49727
- return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
49728
- client.httpClient,
49729
- client.workspaceIdNumber,
49730
- data.tag_id,
49731
- void 0
49732
- ]));
49733
- }
49734
- },
49735
48689
  {
49736
48690
  id: "focus.tags.update",
49737
48691
  family: "focus",
@@ -50172,37 +49126,6 @@ const generatedFocusOperations = [
50172
49126
  return client.createTask(data);
50173
49127
  }
50174
49128
  },
50175
- {
50176
- id: "focus.tasks.create-recurring-occurrence",
50177
- family: "focus",
50178
- resource: "tasks",
50179
- action: "create-recurring-occurrence",
50180
- title: "Create Recurring Occurrence Tasks",
50181
- description: "Create Recurring Occurrence Tasks.",
50182
- safety: "create",
50183
- destructive: false,
50184
- cli: {
50185
- group: ["tasks"],
50186
- command: "create-recurring-occurrence",
50187
- interactive: "default"
50188
- },
50189
- mcp: { entityTool: "tasks" },
50190
- inputSchema: /* @__PURE__ */ looseObject({
50191
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50192
- task_id: /* @__PURE__ */ number$2()
50193
- }),
50194
- execute: (input, { client }) => {
50195
- const data = input;
50196
- return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
50197
- client.httpClient,
50198
- client.organizationId,
50199
- client.workspaceIdNumber,
50200
- data.task_id,
50201
- data.return_occurrence,
50202
- void 0
50203
- ]));
50204
- }
50205
- },
50206
49129
  {
50207
49130
  id: "focus.tasks.delete",
50208
49131
  family: "focus",
@@ -50444,19 +49367,15 @@ const generatedFocusOperations = [
50444
49367
  mcp: { entityTool: "tasks" },
50445
49368
  inputSchema: /* @__PURE__ */ looseObject({
50446
49369
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50447
- assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50448
49370
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50449
49371
  dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50450
49372
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50451
49373
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50452
49374
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50453
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50454
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49375
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50455
49376
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50456
49377
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50457
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50458
49378
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50459
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50460
49379
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50461
49380
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50462
49381
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
@@ -50490,6 +49409,7 @@ const generatedFocusOperations = [
50490
49409
  inputSchema: /* @__PURE__ */ looseObject({
50491
49410
  active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50492
49411
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49412
+ assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50493
49413
  assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50494
49414
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50495
49415
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50506,11 +49426,10 @@ const generatedFocusOperations = [
50506
49426
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50507
49427
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50508
49428
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49429
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50509
49430
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50510
49431
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50511
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50512
49432
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50513
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50514
49433
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50515
49434
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50516
49435
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -50519,9 +49438,7 @@ const generatedFocusOperations = [
50519
49438
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50520
49439
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50521
49440
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50522
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50523
49441
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50524
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50525
49442
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50526
49443
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50527
49444
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50565,6 +49482,7 @@ const generatedFocusOperations = [
50565
49482
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50566
49483
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50567
49484
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49485
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50568
49486
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50569
49487
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50570
49488
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50580,195 +49498,65 @@ const generatedFocusOperations = [
50580
49498
  client.httpClient,
50581
49499
  client.organizationId,
50582
49500
  client.workspaceIdNumber,
50583
- data.task_id,
50584
- data,
50585
- void 0
50586
- ]));
50587
- }
50588
- },
50589
- {
50590
- id: "focus.tasks.get-with-parents",
50591
- family: "focus",
50592
- resource: "tasks",
50593
- action: "get-with-parents",
50594
- title: "Get With Parents Tasks",
50595
- description: "Get With Parents Tasks.",
50596
- safety: "read",
50597
- destructive: false,
50598
- cli: {
50599
- group: ["tasks"],
50600
- command: "get-with-parents",
50601
- interactive: "hidden"
50602
- },
50603
- mcp: { entityTool: "tasks" },
50604
- inputSchema: /* @__PURE__ */ looseObject({
50605
- archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50606
- assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50607
- include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50608
- order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50609
- page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50610
- per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50611
- source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50612
- status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50613
- tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50614
- task_id: /* @__PURE__ */ number$2(),
50615
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50616
- }),
50617
- execute: (input, { client }) => {
50618
- const data = input;
50619
- return client.runGeneratedRequest("getTaskWithParentsClassic", () => callGeneratedRequest(getTaskWithParentsClassic, [
50620
- client.httpClient,
50621
- client.organizationId,
50622
- client.workspaceIdNumber,
50623
- data.task_id,
50624
- data,
50625
- void 0
50626
- ]));
50627
- }
50628
- },
50629
- {
50630
- id: "focus.tasks.groups-get",
50631
- family: "focus",
50632
- resource: "tasks",
50633
- action: "groups-get",
50634
- title: "Groups Get Tasks",
50635
- description: "Groups Get Tasks.",
50636
- safety: "read",
50637
- destructive: false,
50638
- cli: {
50639
- group: ["tasks", "groups"],
50640
- command: "get",
50641
- interactive: "hidden"
50642
- },
50643
- mcp: { entityTool: "tasks" },
50644
- inputSchema: /* @__PURE__ */ looseObject({
50645
- assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50646
- cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50647
- client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50648
- collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50649
- creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50650
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50651
- end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50652
- end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50653
- exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50654
- group: /* @__PURE__ */ picklist$1([
50655
- "projects",
50656
- "users",
50657
- "tags"
50658
- ]),
50659
- group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50660
- include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50661
- include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50662
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50663
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50664
- include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50665
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50666
- min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50667
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50668
- order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50669
- page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50670
- per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50671
- priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50672
- private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50673
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50674
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50675
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50676
- source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50677
- start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50678
- start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50679
- start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50680
- status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50681
- tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50682
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50683
- user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50684
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50685
- xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50686
- }),
50687
- execute: (input, { client }) => {
50688
- const data = input;
50689
- return client.runGeneratedRequest("getTaskGroupsClassic", () => callGeneratedRequest(getTaskGroupsClassic, [
50690
- client.httpClient,
50691
- client.organizationId,
50692
- client.workspaceIdNumber,
50693
- data.group,
49501
+ data.task_id,
50694
49502
  data,
50695
49503
  void 0
50696
49504
  ]));
50697
49505
  }
50698
49506
  },
50699
49507
  {
50700
- id: "focus.tasks.groups-get-user-task-groups-by-project",
49508
+ id: "focus.tasks.get-with-parents",
50701
49509
  family: "focus",
50702
49510
  resource: "tasks",
50703
- action: "groups-get-user-task-groups-by-project",
50704
- title: "Groups Get User Task Groups By Project Tasks",
50705
- description: "Groups Get User Task Groups By Project Tasks.",
49511
+ action: "get-with-parents",
49512
+ title: "Get With Parents Tasks",
49513
+ description: "Get With Parents Tasks.",
50706
49514
  safety: "read",
50707
49515
  destructive: false,
50708
49516
  cli: {
50709
- group: ["tasks", "groups"],
50710
- command: "get-user-task-groups-by-project",
49517
+ group: ["tasks"],
49518
+ command: "get-with-parents",
50711
49519
  interactive: "hidden"
50712
49520
  },
50713
49521
  mcp: { entityTool: "tasks" },
50714
49522
  inputSchema: /* @__PURE__ */ looseObject({
50715
- assignee_user_id: /* @__PURE__ */ number$2(),
50716
- cf_filter: /* @__PURE__ */ unknown$1(),
50717
- client_id: /* @__PURE__ */ number$2(),
50718
- collapse_recurring: /* @__PURE__ */ unknown$1(),
50719
- creator_id: /* @__PURE__ */ number$2(),
50720
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
50721
- end_date_from: /* @__PURE__ */ unknown$1(),
50722
- end_date_to: /* @__PURE__ */ unknown$1(),
50723
- exclude_empty: /* @__PURE__ */ unknown$1(),
50724
- group_id: /* @__PURE__ */ number$2(),
50725
- include_assignees: /* @__PURE__ */ unknown$1(),
50726
- include_drafts: /* @__PURE__ */ unknown$1(),
50727
- include_projected_occurrences: /* @__PURE__ */ unknown$1(),
50728
- include_unassigned: /* @__PURE__ */ unknown$1(),
50729
- include_unmaterialized: /* @__PURE__ */ unknown$1(),
50730
- max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
50731
- min_days: /* @__PURE__ */ unknown$1(),
50732
- name: /* @__PURE__ */ unknown$1(),
50733
- priority: /* @__PURE__ */ unknown$1(),
50734
- private_: /* @__PURE__ */ unknown$1(),
50735
- project_id: /* @__PURE__ */ number$2(),
50736
- recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
50737
- recurring_task_read: /* @__PURE__ */ unknown$1(),
50738
- source: /* @__PURE__ */ unknown$1(),
50739
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
50740
- start_date_from: /* @__PURE__ */ unknown$1(),
50741
- start_date_to: /* @__PURE__ */ unknown$1(),
50742
- status_id: /* @__PURE__ */ number$2(),
50743
- tag_id: /* @__PURE__ */ number$2(),
50744
- team_id: /* @__PURE__ */ number$2(),
50745
- user_cf_filter: /* @__PURE__ */ unknown$1(),
50746
- user_tag_id: /* @__PURE__ */ number$2(),
50747
- xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
49523
+ archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49524
+ assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49525
+ include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49526
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49527
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49528
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49529
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49530
+ source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49531
+ status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49532
+ tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
49533
+ task_id: /* @__PURE__ */ number$2(),
49534
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50748
49535
  }),
50749
49536
  execute: (input, { client }) => {
50750
49537
  const data = input;
50751
- return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
49538
+ return client.runGeneratedRequest("getTaskWithParentsClassic", () => callGeneratedRequest(getTaskWithParentsClassic, [
50752
49539
  client.httpClient,
50753
49540
  client.organizationId,
50754
49541
  client.workspaceIdNumber,
49542
+ data.task_id,
50755
49543
  data,
50756
49544
  void 0
50757
49545
  ]));
50758
49546
  }
50759
49547
  },
50760
49548
  {
50761
- id: "focus.tasks.groups-get-user-task-groups-by-team",
49549
+ id: "focus.tasks.groups-get",
50762
49550
  family: "focus",
50763
49551
  resource: "tasks",
50764
- action: "groups-get-user-task-groups-by-team",
50765
- title: "Groups Get User Task Groups By Team Tasks",
50766
- description: "Groups Get User Task Groups By Team Tasks.",
49552
+ action: "groups-get",
49553
+ title: "Groups Get Tasks",
49554
+ description: "Groups Get Tasks.",
50767
49555
  safety: "read",
50768
49556
  destructive: false,
50769
49557
  cli: {
50770
49558
  group: ["tasks", "groups"],
50771
- command: "get-user-task-groups-by-team",
49559
+ command: "get",
50772
49560
  interactive: "hidden"
50773
49561
  },
50774
49562
  mcp: { entityTool: "tasks" },
@@ -50776,43 +49564,44 @@ const generatedFocusOperations = [
50776
49564
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50777
49565
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50778
49566
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50779
- collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50780
49567
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50781
49568
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50782
49569
  end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50783
49570
  end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50784
49571
  exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49572
+ group: /* @__PURE__ */ picklist$1([
49573
+ "projects",
49574
+ "users",
49575
+ "tags"
49576
+ ]),
50785
49577
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50786
49578
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50787
49579
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50788
- include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50789
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50790
- include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50791
- max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49580
+ include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50792
49581
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50793
49582
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49583
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49584
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49585
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50794
49586
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50795
49587
  private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50796
49588
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50797
- recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50798
- recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50799
49589
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50800
49590
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50801
49591
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50802
49592
  start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50803
49593
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50804
- tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49594
+ tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50805
49595
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50806
- user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50807
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50808
- xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
49596
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50809
49597
  }),
50810
49598
  execute: (input, { client }) => {
50811
49599
  const data = input;
50812
- return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
49600
+ return client.runGeneratedRequest("getTaskGroupsClassic", () => callGeneratedRequest(getTaskGroupsClassic, [
50813
49601
  client.httpClient,
50814
49602
  client.organizationId,
50815
49603
  client.workspaceIdNumber,
49604
+ data.group,
50816
49605
  data,
50817
49606
  void 0
50818
49607
  ]));
@@ -51023,6 +49812,7 @@ const generatedFocusOperations = [
51023
49812
  name: /* @__PURE__ */ string$1(),
51024
49813
  status_id: /* @__PURE__ */ number$2(),
51025
49814
  auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
49815
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51026
49816
  color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51027
49817
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51028
49818
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -51042,7 +49832,6 @@ const generatedFocusOperations = [
51042
49832
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51043
49833
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51044
49834
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51045
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51046
49835
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
51047
49836
  }),
51048
49837
  task_id: /* @__PURE__ */ number$2()
@@ -51076,8 +49865,7 @@ const generatedFocusOperations = [
51076
49865
  mcp: { entityTool: "tasks" },
51077
49866
  inputSchema: /* @__PURE__ */ looseObject({
51078
49867
  date_from: /* @__PURE__ */ string$1(),
51079
- date_to: /* @__PURE__ */ string$1(),
51080
- skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
49868
+ date_to: /* @__PURE__ */ string$1()
51081
49869
  }),
51082
49870
  execute: (input, { client }) => {
51083
49871
  const data = input;
@@ -51087,7 +49875,6 @@ const generatedFocusOperations = [
51087
49875
  client.workspaceIdNumber,
51088
49876
  data.date_from,
51089
49877
  data.date_to,
51090
- data.skip_provider_refresh,
51091
49878
  void 0
51092
49879
  ]));
51093
49880
  }
@@ -51674,8 +50461,7 @@ const generatedFocusOperations = [
51674
50461
  required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
51675
50462
  "project",
51676
50463
  "task",
51677
- "description",
51678
- "tags"
50464
+ "description"
51679
50465
  ]) })),
51680
50466
  disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51681
50467
  }) }),
@@ -51705,7 +50491,6 @@ const generatedFocusOperations = [
51705
50491
  },
51706
50492
  mcp: { entityTool: "time-entries" },
51707
50493
  inputSchema: /* @__PURE__ */ looseObject({
51708
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51709
50494
  payload: /* @__PURE__ */ looseObject({
51710
50495
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51711
50496
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -51716,13 +50501,11 @@ const generatedFocusOperations = [
51716
50501
  planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51717
50502
  planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51718
50503
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51719
- repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51720
50504
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
51721
50505
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51722
50506
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51723
50507
  user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51724
50508
  }),
51725
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51726
50509
  task_id: /* @__PURE__ */ number$2()
51727
50510
  }),
51728
50511
  execute: (input, { client }) => {
@@ -51733,8 +50516,6 @@ const generatedFocusOperations = [
51733
50516
  client.workspaceIdNumber,
51734
50517
  data.task_id,
51735
50518
  data.payload ?? data.data ?? data,
51736
- data.from_recurring_task_id,
51737
- data.return_occurrence,
51738
50519
  void 0
51739
50520
  ]));
51740
50521
  }
@@ -51754,26 +50535,21 @@ const generatedFocusOperations = [
51754
50535
  interactive: "default"
51755
50536
  },
51756
50537
  mcp: { entityTool: "time-entries" },
51757
- inputSchema: /* @__PURE__ */ looseObject({
51758
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51759
- payload: /* @__PURE__ */ looseObject({
51760
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
51761
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51762
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51763
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51764
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51765
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51766
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51767
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51768
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51769
- repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51770
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
51771
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51772
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51773
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51774
- }),
51775
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51776
- }),
50538
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
50539
+ type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
50540
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50541
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50542
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
50543
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50544
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
50545
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50546
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
50547
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50548
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
50549
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50550
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
50551
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50552
+ }) }),
51777
50553
  execute: (input, { client }) => {
51778
50554
  const data = input;
51779
50555
  return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
@@ -51781,8 +50557,6 @@ const generatedFocusOperations = [
51781
50557
  client.organizationId,
51782
50558
  client.workspaceIdNumber,
51783
50559
  data.payload ?? data.data ?? data,
51784
- data.from_recurring_task_id,
51785
- data.return_occurrence,
51786
50560
  void 0
51787
50561
  ]));
51788
50562
  }
@@ -51802,11 +50576,7 @@ const generatedFocusOperations = [
51802
50576
  interactive: "default"
51803
50577
  },
51804
50578
  mcp: { entityTool: "time-entries" },
51805
- inputSchema: /* @__PURE__ */ looseObject({
51806
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51807
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
51808
- time_entry_id: /* @__PURE__ */ number$2()
51809
- }),
50579
+ inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
51810
50580
  execute: (input, { client }) => {
51811
50581
  const data = input;
51812
50582
  return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
@@ -51814,8 +50584,6 @@ const generatedFocusOperations = [
51814
50584
  client.organizationId,
51815
50585
  client.workspaceIdNumber,
51816
50586
  data.time_entry_id,
51817
- data.from_recurring_task_id,
51818
- data.return_occurrence,
51819
50587
  void 0
51820
50588
  ]));
51821
50589
  }
@@ -51896,7 +50664,6 @@ const generatedFocusOperations = [
51896
50664
  expand_calendar_event: /* @__PURE__ */ unknown$1(),
51897
50665
  include_taskless: /* @__PURE__ */ unknown$1(),
51898
50666
  order_by: /* @__PURE__ */ unknown$1(),
51899
- project_id: /* @__PURE__ */ number$2(),
51900
50667
  status_id: /* @__PURE__ */ number$2(),
51901
50668
  task_id: /* @__PURE__ */ number$2(),
51902
50669
  type: /* @__PURE__ */ unknown$1()
@@ -51975,40 +50742,6 @@ const generatedFocusOperations = [
51975
50742
  ]));
51976
50743
  }
51977
50744
  },
51978
- {
51979
- id: "focus.time-entries.groups-get-users",
51980
- family: "focus",
51981
- resource: "time-entries",
51982
- action: "groups-get-users",
51983
- title: "Groups Get Users Time Entries",
51984
- description: "Groups Get Users Time Entries.",
51985
- safety: "read",
51986
- destructive: false,
51987
- cli: {
51988
- group: ["time-entries", "groups"],
51989
- command: "get-users",
51990
- interactive: "hidden"
51991
- },
51992
- mcp: { entityTool: "time-entries" },
51993
- inputSchema: /* @__PURE__ */ looseObject({
51994
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51995
- order_by: /* @__PURE__ */ unknown$1(),
51996
- page: /* @__PURE__ */ number$2(),
51997
- per_page: /* @__PURE__ */ unknown$1(),
51998
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51999
- user_id: /* @__PURE__ */ number$2()
52000
- }),
52001
- execute: (input, { client }) => {
52002
- const data = input;
52003
- return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
52004
- client.httpClient,
52005
- client.organizationId,
52006
- client.workspaceIdNumber,
52007
- data,
52008
- void 0
52009
- ]));
52010
- }
52011
- },
52012
50745
  {
52013
50746
  id: "focus.time-entries.list",
52014
50747
  family: "focus",
@@ -52073,14 +50806,12 @@ const generatedFocusOperations = [
52073
50806
  },
52074
50807
  mcp: { entityTool: "time-entries" },
52075
50808
  inputSchema: /* @__PURE__ */ looseObject({
52076
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52077
50809
  payload: /* @__PURE__ */ looseObject({
52078
50810
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52079
50811
  duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52080
50812
  reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52081
50813
  type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
52082
50814
  }),
52083
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52084
50815
  time_entry_id: /* @__PURE__ */ number$2()
52085
50816
  }),
52086
50817
  execute: (input, { client }) => {
@@ -52091,8 +50822,6 @@ const generatedFocusOperations = [
52091
50822
  client.workspaceIdNumber,
52092
50823
  data.time_entry_id,
52093
50824
  data.payload ?? data.data ?? data,
52094
- data.from_recurring_task_id,
52095
- data.return_occurrence,
52096
50825
  void 0
52097
50826
  ]));
52098
50827
  }
@@ -52197,42 +50926,6 @@ const generatedFocusOperations = [
52197
50926
  inputSchema: emptySchema$1,
52198
50927
  execute: (_input, { client }) => client.stopTracking()
52199
50928
  },
52200
- {
52201
- id: "focus.time-entries.sync",
52202
- family: "focus",
52203
- resource: "time-entries",
52204
- action: "sync",
52205
- title: "Sync Time Entries",
52206
- description: "Sync Time Entries.",
52207
- safety: "update",
52208
- destructive: false,
52209
- cli: {
52210
- group: ["time-entries"],
52211
- command: "sync",
52212
- interactive: "default"
52213
- },
52214
- mcp: { entityTool: "time-entries" },
52215
- inputSchema: /* @__PURE__ */ looseObject({
52216
- client_uuid: /* @__PURE__ */ string$1(),
52217
- payload: /* @__PURE__ */ looseObject({
52218
- billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
52219
- client_updated_at: apiDateTimeString,
52220
- type: /* @__PURE__ */ picklist$1(["activity", "break"]),
52221
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
52222
- })
52223
- }),
52224
- execute: (input, { client }) => {
52225
- const data = input;
52226
- return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
52227
- client.httpClient,
52228
- client.organizationId,
52229
- client.workspaceIdNumber,
52230
- data.client_uuid,
52231
- data.payload ?? data.data ?? data,
52232
- void 0
52233
- ]));
52234
- }
52235
- },
52236
50929
  {
52237
50930
  id: "focus.time-entries.tracking-get-tracked-time-entry",
52238
50931
  family: "focus",
@@ -52281,7 +50974,6 @@ const generatedFocusOperations = [
52281
50974
  create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52282
50975
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
52283
50976
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52284
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52285
50977
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52286
50978
  extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52287
50979
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -52350,7 +51042,6 @@ const generatedFocusOperations = [
52350
51042
  },
52351
51043
  mcp: { entityTool: "time-entries" },
52352
51044
  inputSchema: /* @__PURE__ */ looseObject({
52353
- from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52354
51045
  payload: /* @__PURE__ */ looseObject({
52355
51046
  type: /* @__PURE__ */ picklist$1(["activity", "break"]),
52356
51047
  calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -52363,35 +51054,181 @@ const generatedFocusOperations = [
52363
51054
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52364
51055
  tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
52365
51056
  }),
52366
- return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52367
51057
  time_entry_id: /* @__PURE__ */ number$2()
52368
51058
  }),
52369
51059
  execute: (input, { client }) => {
52370
51060
  const data = input;
52371
- return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
51061
+ return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
51062
+ client.httpClient,
51063
+ client.organizationId,
51064
+ client.workspaceIdNumber,
51065
+ data.time_entry_id,
51066
+ data.payload ?? data.data ?? data,
51067
+ void 0
51068
+ ]));
51069
+ }
51070
+ },
51071
+ {
51072
+ id: "focus.time-log-suggestions.get-for-acalendar-event-title",
51073
+ family: "focus",
51074
+ resource: "time-log-suggestions",
51075
+ action: "get-for-acalendar-event-title",
51076
+ title: "Get For Acalendar Event Title Time Log Suggestions",
51077
+ description: "Get For Acalendar Event Title Time Log Suggestions.",
51078
+ safety: "update",
51079
+ destructive: false,
51080
+ cli: {
51081
+ group: ["time-log-suggestions"],
51082
+ command: "get-for-acalendar-event-title",
51083
+ interactive: "default"
51084
+ },
51085
+ mcp: { entityTool: "time-log-suggestions" },
51086
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
51087
+ execute: (input, { client }) => {
51088
+ const data = input;
51089
+ return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
51090
+ client.httpClient,
51091
+ client.organizationId,
51092
+ client.workspaceIdNumber,
51093
+ data.payload ?? data.data ?? data,
51094
+ void 0
51095
+ ]));
51096
+ }
51097
+ },
51098
+ {
51099
+ id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
51100
+ family: "focus",
51101
+ resource: "time-log-suggestions",
51102
+ action: "get-for-multiple-calendar-event-titles",
51103
+ title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
51104
+ description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
51105
+ safety: "update",
51106
+ destructive: false,
51107
+ cli: {
51108
+ group: ["time-log-suggestions"],
51109
+ command: "get-for-multiple-calendar-event-titles",
51110
+ interactive: "default"
51111
+ },
51112
+ mcp: { entityTool: "time-log-suggestions" },
51113
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
51114
+ key: /* @__PURE__ */ string$1(),
51115
+ title: /* @__PURE__ */ string$1()
51116
+ })) }) }),
51117
+ execute: (input, { client }) => {
51118
+ const data = input;
51119
+ return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
51120
+ client.httpClient,
51121
+ client.organizationId,
51122
+ client.workspaceIdNumber,
51123
+ data.payload ?? data.data ?? data,
51124
+ void 0
51125
+ ]));
51126
+ }
51127
+ },
51128
+ {
51129
+ id: "focus.time-off.create-timeoff-for-ghost",
51130
+ family: "focus",
51131
+ resource: "time-off",
51132
+ action: "create-timeoff-for-ghost",
51133
+ title: "Create Timeoff For Ghost Time Off",
51134
+ description: "Create Timeoff For Ghost Time Off.",
51135
+ safety: "create",
51136
+ destructive: false,
51137
+ cli: {
51138
+ group: ["time-off"],
51139
+ command: "create-timeoff-for-ghost",
51140
+ interactive: "hidden"
51141
+ },
51142
+ mcp: { entityTool: "time-off" },
51143
+ inputSchema: /* @__PURE__ */ looseObject({
51144
+ ghost_id: /* @__PURE__ */ number$2(),
51145
+ payload: /* @__PURE__ */ unknown$1()
51146
+ }),
51147
+ execute: (input, { client }) => {
51148
+ const data = input;
51149
+ return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
51150
+ client.httpClient,
51151
+ client.organizationId,
51152
+ client.workspaceIdNumber,
51153
+ data.ghost_id,
51154
+ data.payload ?? data.data ?? data,
51155
+ void 0
51156
+ ]));
51157
+ }
51158
+ },
51159
+ {
51160
+ id: "focus.time-off.create-timeoff-for-user",
51161
+ family: "focus",
51162
+ resource: "time-off",
51163
+ action: "create-timeoff-for-user",
51164
+ title: "Create Timeoff For User Time Off",
51165
+ description: "Create Timeoff For User Time Off.",
51166
+ safety: "create",
51167
+ destructive: false,
51168
+ cli: {
51169
+ group: ["time-off"],
51170
+ command: "create-timeoff-for-user",
51171
+ interactive: "hidden"
51172
+ },
51173
+ mcp: { entityTool: "time-off" },
51174
+ inputSchema: /* @__PURE__ */ looseObject({
51175
+ payload: /* @__PURE__ */ unknown$1(),
51176
+ user_id: /* @__PURE__ */ number$2()
51177
+ }),
51178
+ execute: (input, { client }) => {
51179
+ const data = input;
51180
+ return client.runGeneratedRequest("createTimeoffForUser", () => callGeneratedRequest(createTimeoffForUser, [
51181
+ client.httpClient,
51182
+ client.organizationId,
51183
+ data.user_id,
51184
+ data.payload ?? data.data ?? data,
51185
+ void 0
51186
+ ]));
51187
+ }
51188
+ },
51189
+ {
51190
+ id: "focus.time-off.delete-timeoff-for-ghost",
51191
+ family: "focus",
51192
+ resource: "time-off",
51193
+ action: "delete-timeoff-for-ghost",
51194
+ title: "Delete Timeoff For Ghost Time Off",
51195
+ description: "Delete Timeoff For Ghost Time Off.",
51196
+ safety: "delete",
51197
+ destructive: true,
51198
+ cli: {
51199
+ group: ["time-off"],
51200
+ command: "delete-timeoff-for-ghost",
51201
+ interactive: "hidden"
51202
+ },
51203
+ mcp: { entityTool: "time-off" },
51204
+ inputSchema: /* @__PURE__ */ looseObject({
51205
+ ghost_id: /* @__PURE__ */ number$2(),
51206
+ payload: /* @__PURE__ */ unknown$1()
51207
+ }),
51208
+ execute: (input, { client }) => {
51209
+ const data = input;
51210
+ return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
52372
51211
  client.httpClient,
52373
51212
  client.organizationId,
52374
51213
  client.workspaceIdNumber,
52375
- data.time_entry_id,
51214
+ data.ghost_id,
52376
51215
  data.payload ?? data.data ?? data,
52377
- data.from_recurring_task_id,
52378
- data.return_occurrence,
52379
51216
  void 0
52380
51217
  ]));
52381
51218
  }
52382
51219
  },
52383
51220
  {
52384
- id: "focus.time-off.create-timeoff-for-user",
51221
+ id: "focus.time-off.delete-timeoff-for-user",
52385
51222
  family: "focus",
52386
51223
  resource: "time-off",
52387
- action: "create-timeoff-for-user",
52388
- title: "Create Timeoff For User Time Off",
52389
- description: "Create Timeoff For User Time Off.",
52390
- safety: "create",
52391
- destructive: false,
51224
+ action: "delete-timeoff-for-user",
51225
+ title: "Delete Timeoff For User Time Off",
51226
+ description: "Delete Timeoff For User Time Off.",
51227
+ safety: "delete",
51228
+ destructive: true,
52392
51229
  cli: {
52393
51230
  group: ["time-off"],
52394
- command: "create-timeoff-for-user",
51231
+ command: "delete-timeoff-for-user",
52395
51232
  interactive: "hidden"
52396
51233
  },
52397
51234
  mcp: { entityTool: "time-off" },
@@ -52401,7 +51238,7 @@ const generatedFocusOperations = [
52401
51238
  }),
52402
51239
  execute: (input, { client }) => {
52403
51240
  const data = input;
52404
- return client.runGeneratedRequest("createTimeoffForUser", () => callGeneratedRequest(createTimeoffForUser, [
51241
+ return client.runGeneratedRequest("deleteTimeoffForUser", () => callGeneratedRequest(deleteTimeoffForUser, [
52405
51242
  client.httpClient,
52406
51243
  client.organizationId,
52407
51244
  data.user_id,
@@ -52411,31 +51248,33 @@ const generatedFocusOperations = [
52411
51248
  }
52412
51249
  },
52413
51250
  {
52414
- id: "focus.time-off.delete-timeoff-for-user",
51251
+ id: "focus.time-off.get-timeoff-for-ghost",
52415
51252
  family: "focus",
52416
51253
  resource: "time-off",
52417
- action: "delete-timeoff-for-user",
52418
- title: "Delete Timeoff For User Time Off",
52419
- description: "Delete Timeoff For User Time Off.",
52420
- safety: "delete",
52421
- destructive: true,
51254
+ action: "get-timeoff-for-ghost",
51255
+ title: "Get Timeoff For Ghost Time Off",
51256
+ description: "Get Timeoff For Ghost Time Off.",
51257
+ safety: "read",
51258
+ destructive: false,
52422
51259
  cli: {
52423
51260
  group: ["time-off"],
52424
- command: "delete-timeoff-for-user",
51261
+ command: "get-timeoff-for-ghost",
52425
51262
  interactive: "hidden"
52426
51263
  },
52427
51264
  mcp: { entityTool: "time-off" },
52428
51265
  inputSchema: /* @__PURE__ */ looseObject({
52429
- payload: /* @__PURE__ */ unknown$1(),
52430
- user_id: /* @__PURE__ */ number$2()
51266
+ from: /* @__PURE__ */ unknown$1(),
51267
+ ghost_id: /* @__PURE__ */ number$2(),
51268
+ to: /* @__PURE__ */ unknown$1()
52431
51269
  }),
52432
51270
  execute: (input, { client }) => {
52433
51271
  const data = input;
52434
- return client.runGeneratedRequest("deleteTimeoffForUser", () => callGeneratedRequest(deleteTimeoffForUser, [
51272
+ return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
52435
51273
  client.httpClient,
52436
51274
  client.organizationId,
52437
- data.user_id,
52438
- data.payload ?? data.data ?? data,
51275
+ client.workspaceIdNumber,
51276
+ data.ghost_id,
51277
+ data,
52439
51278
  void 0
52440
51279
  ]));
52441
51280
  }
@@ -52471,6 +51310,37 @@ const generatedFocusOperations = [
52471
51310
  ]));
52472
51311
  }
52473
51312
  },
51313
+ {
51314
+ id: "focus.time-off.get-timeoffs-by-ghost-ids",
51315
+ family: "focus",
51316
+ resource: "time-off",
51317
+ action: "get-timeoffs-by-ghost-ids",
51318
+ title: "Get Timeoffs By Ghost Ids Time Off",
51319
+ description: "Get Timeoffs By Ghost Ids Time Off.",
51320
+ safety: "read",
51321
+ destructive: false,
51322
+ cli: {
51323
+ group: ["time-off"],
51324
+ command: "get-timeoffs-by-ghost-ids",
51325
+ interactive: "hidden"
51326
+ },
51327
+ mcp: { entityTool: "time-off" },
51328
+ inputSchema: /* @__PURE__ */ looseObject({
51329
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51330
+ ghost_ids: /* @__PURE__ */ unknown$1(),
51331
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
51332
+ }),
51333
+ execute: (input, { client }) => {
51334
+ const data = input;
51335
+ return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
51336
+ client.httpClient,
51337
+ client.organizationId,
51338
+ client.workspaceIdNumber,
51339
+ data,
51340
+ void 0
51341
+ ]));
51342
+ }
51343
+ },
52474
51344
  {
52475
51345
  id: "focus.time-off.get-timeoffs-by-user-ids",
52476
51346
  family: "focus",
@@ -52501,6 +51371,37 @@ const generatedFocusOperations = [
52501
51371
  ]));
52502
51372
  }
52503
51373
  },
51374
+ {
51375
+ id: "focus.time-off.update-timeoff-for-ghost",
51376
+ family: "focus",
51377
+ resource: "time-off",
51378
+ action: "update-timeoff-for-ghost",
51379
+ title: "Update Timeoff For Ghost Time Off",
51380
+ description: "Update Timeoff For Ghost Time Off.",
51381
+ safety: "update",
51382
+ destructive: false,
51383
+ cli: {
51384
+ group: ["time-off"],
51385
+ command: "update-timeoff-for-ghost",
51386
+ interactive: "hidden"
51387
+ },
51388
+ mcp: { entityTool: "time-off" },
51389
+ inputSchema: /* @__PURE__ */ looseObject({
51390
+ ghost_id: /* @__PURE__ */ number$2(),
51391
+ payload: /* @__PURE__ */ unknown$1()
51392
+ }),
51393
+ execute: (input, { client }) => {
51394
+ const data = input;
51395
+ return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
51396
+ client.httpClient,
51397
+ client.organizationId,
51398
+ client.workspaceIdNumber,
51399
+ data.ghost_id,
51400
+ data.payload ?? data.data ?? data,
51401
+ void 0
51402
+ ]));
51403
+ }
51404
+ },
52504
51405
  {
52505
51406
  id: "focus.time-off.update-timeoff-for-user",
52506
51407
  family: "focus",
@@ -53461,56 +52362,6 @@ const generatedFocusOperations = [
53461
52362
  return client.listOrgUsers(data);
53462
52363
  }
53463
52364
  },
53464
- {
53465
- id: "focus.users.settings-email-unsubscribe",
53466
- family: "focus",
53467
- resource: "users",
53468
- action: "settings-email-unsubscribe",
53469
- title: "Settings Email Unsubscribe Users",
53470
- description: "Settings Email Unsubscribe Users.",
53471
- safety: "update",
53472
- destructive: false,
53473
- cli: {
53474
- group: ["users", "settings"],
53475
- command: "email-unsubscribe",
53476
- interactive: "default"
53477
- },
53478
- mcp: { entityTool: "users" },
53479
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53480
- execute: (input, { client }) => {
53481
- const data = input;
53482
- return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
53483
- client.httpClient,
53484
- data.token,
53485
- void 0
53486
- ]));
53487
- }
53488
- },
53489
- {
53490
- id: "focus.users.settings-email-unsubscribe-page",
53491
- family: "focus",
53492
- resource: "users",
53493
- action: "settings-email-unsubscribe-page",
53494
- title: "Settings Email Unsubscribe Page Users",
53495
- description: "Settings Email Unsubscribe Page Users.",
53496
- safety: "read",
53497
- destructive: false,
53498
- cli: {
53499
- group: ["users", "settings"],
53500
- command: "email-unsubscribe-page",
53501
- interactive: "available"
53502
- },
53503
- mcp: { entityTool: "users" },
53504
- inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
53505
- execute: (input, { client }) => {
53506
- const data = input;
53507
- return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
53508
- client.httpClient,
53509
- data.token,
53510
- void 0
53511
- ]));
53512
- }
53513
- },
53514
52365
  {
53515
52366
  id: "focus.users.settings-list",
53516
52367
  family: "focus",
@@ -53572,9 +52423,6 @@ const generatedFocusOperations = [
53572
52423
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53573
52424
  import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53574
52425
  new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53575
- notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53576
- notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53577
- notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53578
52426
  onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53579
52427
  onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53580
52428
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -53585,7 +52433,6 @@ const generatedFocusOperations = [
53585
52433
  pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
53586
52434
  pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
53587
52435
  pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53588
- send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53589
52436
  send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53590
52437
  shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53591
52438
  show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -53687,6 +52534,37 @@ const generatedFocusOperations = [
53687
52534
  inputSchema: /* @__PURE__ */ looseObject({}),
53688
52535
  execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
53689
52536
  },
52537
+ {
52538
+ id: "focus.working-hours.create-for-ghost",
52539
+ family: "focus",
52540
+ resource: "working-hours",
52541
+ action: "create-for-ghost",
52542
+ title: "Create For Ghost Working Hours",
52543
+ description: "Create For Ghost Working Hours.",
52544
+ safety: "create",
52545
+ destructive: false,
52546
+ cli: {
52547
+ group: ["working-hours"],
52548
+ command: "create-for-ghost",
52549
+ interactive: "hidden"
52550
+ },
52551
+ mcp: { entityTool: "working-hours" },
52552
+ inputSchema: /* @__PURE__ */ looseObject({
52553
+ ghost_id: /* @__PURE__ */ number$2(),
52554
+ payload: /* @__PURE__ */ unknown$1()
52555
+ }),
52556
+ execute: (input, { client }) => {
52557
+ const data = input;
52558
+ return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
52559
+ client.httpClient,
52560
+ client.organizationId,
52561
+ client.workspaceIdNumber,
52562
+ data.ghost_id,
52563
+ data.payload ?? data.data ?? data,
52564
+ void 0
52565
+ ]));
52566
+ }
52567
+ },
53690
52568
  {
53691
52569
  id: "focus.working-hours.create-for-user",
53692
52570
  family: "focus",
@@ -53717,6 +52595,37 @@ const generatedFocusOperations = [
53717
52595
  ]));
53718
52596
  }
53719
52597
  },
52598
+ {
52599
+ id: "focus.working-hours.delete-for-ghost",
52600
+ family: "focus",
52601
+ resource: "working-hours",
52602
+ action: "delete-for-ghost",
52603
+ title: "Delete For Ghost Working Hours",
52604
+ description: "Delete For Ghost Working Hours.",
52605
+ safety: "delete",
52606
+ destructive: true,
52607
+ cli: {
52608
+ group: ["working-hours"],
52609
+ command: "delete-for-ghost",
52610
+ interactive: "hidden"
52611
+ },
52612
+ mcp: { entityTool: "working-hours" },
52613
+ inputSchema: /* @__PURE__ */ looseObject({
52614
+ ghost_id: /* @__PURE__ */ number$2(),
52615
+ payload: /* @__PURE__ */ unknown$1()
52616
+ }),
52617
+ execute: (input, { client }) => {
52618
+ const data = input;
52619
+ return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
52620
+ client.httpClient,
52621
+ client.organizationId,
52622
+ client.workspaceIdNumber,
52623
+ data.ghost_id,
52624
+ data.payload ?? data.data ?? data,
52625
+ void 0
52626
+ ]));
52627
+ }
52628
+ },
53720
52629
  {
53721
52630
  id: "focus.working-hours.delete-for-user",
53722
52631
  family: "focus",
@@ -53747,6 +52656,33 @@ const generatedFocusOperations = [
53747
52656
  ]));
53748
52657
  }
53749
52658
  },
52659
+ {
52660
+ id: "focus.working-hours.get-for-ghost",
52661
+ family: "focus",
52662
+ resource: "working-hours",
52663
+ action: "get-for-ghost",
52664
+ title: "Get For Ghost Working Hours",
52665
+ description: "Get For Ghost Working Hours.",
52666
+ safety: "read",
52667
+ destructive: false,
52668
+ cli: {
52669
+ group: ["working-hours"],
52670
+ command: "get-for-ghost",
52671
+ interactive: "available"
52672
+ },
52673
+ mcp: { entityTool: "working-hours" },
52674
+ inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
52675
+ execute: (input, { client }) => {
52676
+ const data = input;
52677
+ return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
52678
+ client.httpClient,
52679
+ client.organizationId,
52680
+ client.workspaceIdNumber,
52681
+ data.ghost_id,
52682
+ void 0
52683
+ ]));
52684
+ }
52685
+ },
53750
52686
  {
53751
52687
  id: "focus.working-hours.get-for-user",
53752
52688
  family: "focus",
@@ -53773,6 +52709,37 @@ const generatedFocusOperations = [
53773
52709
  ]));
53774
52710
  }
53775
52711
  },
52712
+ {
52713
+ id: "focus.working-hours.update-for-ghost",
52714
+ family: "focus",
52715
+ resource: "working-hours",
52716
+ action: "update-for-ghost",
52717
+ title: "Update For Ghost Working Hours",
52718
+ description: "Update For Ghost Working Hours.",
52719
+ safety: "update",
52720
+ destructive: false,
52721
+ cli: {
52722
+ group: ["working-hours"],
52723
+ command: "update-for-ghost",
52724
+ interactive: "hidden"
52725
+ },
52726
+ mcp: { entityTool: "working-hours" },
52727
+ inputSchema: /* @__PURE__ */ looseObject({
52728
+ ghost_id: /* @__PURE__ */ number$2(),
52729
+ payload: /* @__PURE__ */ unknown$1()
52730
+ }),
52731
+ execute: (input, { client }) => {
52732
+ const data = input;
52733
+ return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
52734
+ client.httpClient,
52735
+ client.organizationId,
52736
+ client.workspaceIdNumber,
52737
+ data.ghost_id,
52738
+ data.payload ?? data.data ?? data,
52739
+ void 0
52740
+ ]));
52741
+ }
52742
+ },
53776
52743
  {
53777
52744
  id: "focus.working-hours.update-for-user",
53778
52745
  family: "focus",
@@ -53847,50 +52814,6 @@ const generatedFocusOperations = [
53847
52814
  void 0
53848
52815
  ]))
53849
52816
  },
53850
- {
53851
- id: "focus.workspace-settings.get-workspace-export-branding",
53852
- family: "focus",
53853
- resource: "workspace-settings",
53854
- action: "get-workspace-export-branding",
53855
- title: "Get Workspace Export Branding Workspace Settings",
53856
- description: "Get Workspace Export Branding Workspace Settings.",
53857
- safety: "read",
53858
- destructive: false,
53859
- cli: {
53860
- group: ["workspace-settings"],
53861
- command: "get-workspace-export-branding",
53862
- interactive: "hidden"
53863
- },
53864
- mcp: { entityTool: "workspace-settings" },
53865
- inputSchema: /* @__PURE__ */ looseObject({}),
53866
- execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
53867
- client.httpClient,
53868
- client.workspaceIdNumber,
53869
- void 0
53870
- ]))
53871
- },
53872
- {
53873
- id: "focus.workspace-settings.get-workspace-watermark",
53874
- family: "focus",
53875
- resource: "workspace-settings",
53876
- action: "get-workspace-watermark",
53877
- title: "Get Workspace Watermark Workspace Settings",
53878
- description: "Get Workspace Watermark Workspace Settings.",
53879
- safety: "read",
53880
- destructive: false,
53881
- cli: {
53882
- group: ["workspace-settings"],
53883
- command: "get-workspace-watermark",
53884
- interactive: "hidden"
53885
- },
53886
- mcp: { entityTool: "workspace-settings" },
53887
- inputSchema: /* @__PURE__ */ looseObject({}),
53888
- execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
53889
- client.httpClient,
53890
- client.workspaceIdNumber,
53891
- void 0
53892
- ]))
53893
- },
53894
52817
  {
53895
52818
  id: "focus.workspace-settings.list",
53896
52819
  family: "focus",
@@ -53965,32 +52888,6 @@ const generatedFocusOperations = [
53965
52888
  ]));
53966
52889
  }
53967
52890
  },
53968
- {
53969
- id: "focus.workspace-settings.update-workspace-watermark",
53970
- family: "focus",
53971
- resource: "workspace-settings",
53972
- action: "update-workspace-watermark",
53973
- title: "Update Workspace Watermark Workspace Settings",
53974
- description: "Update Workspace Watermark Workspace Settings.",
53975
- safety: "update",
53976
- destructive: false,
53977
- cli: {
53978
- group: ["workspace-settings"],
53979
- command: "update-workspace-watermark",
53980
- interactive: "default"
53981
- },
53982
- mcp: { entityTool: "workspace-settings" },
53983
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
53984
- execute: (input, { client }) => {
53985
- const data = input;
53986
- return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
53987
- client.httpClient,
53988
- client.workspaceIdNumber,
53989
- data.payload ?? data.data ?? data,
53990
- void 0
53991
- ]));
53992
- }
53993
- },
53994
52891
  {
53995
52892
  id: "focus.workspace.get-context",
53996
52893
  family: "focus",
@@ -55118,7 +54015,7 @@ function registerWorkspaceTools(server) {
55118
54015
  //#region src/package-version.ts
55119
54016
  function mcpPackageVersion() {
55120
54017
  try {
55121
- return "1.11.9";
54018
+ return "1.11.11";
55122
54019
  } catch {
55123
54020
  return "unknown";
55124
54021
  }
@@ -55293,7 +54190,7 @@ import_main.default.config({
55293
54190
  quiet: true,
55294
54191
  ignore: ["MISSING_ENV_FILE"]
55295
54192
  });
55296
- const packageVersion = "1.11.9";
54193
+ const packageVersion = "1.11.11";
55297
54194
  function resolvePublicUrls() {
55298
54195
  return {
55299
54196
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -55358,4 +54255,4 @@ function bootstrapServer(options = {}) {
55358
54255
  //#endregion
55359
54256
  export { initProductAnalytics as a, shutdownProductAnalytics as c, getProductAnalyticsDistinctId as i, runMcpCli as n, redactUnsafeSentryMessages as o, captureToolInvocation as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
55360
54257
 
55361
- //# sourceMappingURL=src-BzHE50Km.js.map
54258
+ //# sourceMappingURL=src-cTdPb5Mv.js.map