@togglhq/mcp 1.11.12 → 1.11.14

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,11 +36428,7 @@ function safeParse(schema, input, config$1) {
36428
36428
  }
36429
36429
  const TaskAssignmentSchema = /* @__PURE__ */ object({
36430
36430
  id: /* @__PURE__ */ number(),
36431
- type: /* @__PURE__ */ picklist([
36432
- "user",
36433
- "ghost",
36434
- "team"
36435
- ])
36431
+ type: /* @__PURE__ */ picklist(["user", "team"])
36436
36432
  });
36437
36433
  const ClientLiteSchema = /* @__PURE__ */ object({
36438
36434
  id: /* @__PURE__ */ number(),
@@ -36474,7 +36470,8 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
36474
36470
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36475
36471
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
36476
36472
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
36477
- rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
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.")))
36478
36475
  });
36479
36476
  const TaskMetadataSchema = /* @__PURE__ */ object({
36480
36477
  all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -36547,7 +36544,7 @@ const TaskSchema = /* @__PURE__ */ object({
36547
36544
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
36548
36545
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
36549
36546
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
36550
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
36547
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
36551
36548
  client: /* @__PURE__ */ optional(ClientLiteSchema),
36552
36549
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36553
36550
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -36555,7 +36552,6 @@ const TaskSchema = /* @__PURE__ */ object({
36555
36552
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36556
36553
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
36557
36554
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36558
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
36559
36555
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
36560
36556
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36561
36557
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -36565,6 +36561,7 @@ const TaskSchema = /* @__PURE__ */ object({
36565
36561
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36566
36562
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
36567
36563
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36564
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
36568
36565
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36569
36566
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36570
36567
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -36608,7 +36605,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
36608
36605
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
36609
36606
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
36610
36607
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
36611
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
36608
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
36612
36609
  client: /* @__PURE__ */ optional(ClientLiteSchema),
36613
36610
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36614
36611
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -36616,7 +36613,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
36616
36613
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36617
36614
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
36618
36615
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36619
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
36620
36616
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
36621
36617
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36622
36618
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -36627,6 +36623,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
36627
36623
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36628
36624
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
36629
36625
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36626
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
36630
36627
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36631
36628
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36632
36629
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -36781,7 +36778,7 @@ const TimeBlockSchema = /* @__PURE__ */ object({
36781
36778
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36782
36779
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36783
36780
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
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."))),
36781
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
36785
36782
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
36786
36783
  });
36787
36784
  const BillableSourceSchema = /* @__PURE__ */ picklist(["manual", "task_default"]);
@@ -36807,7 +36804,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
36807
36804
  tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
36808
36805
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
36809
36806
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
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."))),
36807
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
36811
36808
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36812
36809
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
36813
36810
  });
@@ -36930,7 +36927,7 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
36930
36927
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36931
36928
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
36932
36929
  task: /* @__PURE__ */ optional(TaskSchema),
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."))),
36930
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
36934
36931
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
36935
36932
  })),
36936
36933
  page: /* @__PURE__ */ number(),
@@ -36973,7 +36970,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
36973
36970
  task: /* @__PURE__ */ optional(TaskSchema),
36974
36971
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
36975
36972
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
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."))),
36973
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
36977
36974
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36978
36975
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
36979
36976
  })),
@@ -36985,9 +36982,15 @@ const TagSchema$1 = /* @__PURE__ */ object({
36985
36982
  id: /* @__PURE__ */ number(),
36986
36983
  name: /* @__PURE__ */ string(),
36987
36984
  workspace_id: /* @__PURE__ */ number(),
36985
+ 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."))),
36988
36986
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
36989
36987
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36990
- updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
36988
+ updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
36989
+ usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
36990
+ projects: /* @__PURE__ */ number(),
36991
+ tasks: /* @__PURE__ */ number(),
36992
+ time_entries: /* @__PURE__ */ number()
36993
+ })), /* @__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.")))
36991
36994
  });
36992
36995
  const PaginatedTagsSchema = /* @__PURE__ */ object({
36993
36996
  data: /* @__PURE__ */ array(TagSchema$1),
@@ -36998,8 +37001,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
36998
37001
  const OrganizationUserResponseSchema = /* @__PURE__ */ object({
36999
37002
  "2fa_enabled": /* @__PURE__ */ boolean(),
37000
37003
  account_locked_at: /* @__PURE__ */ string(),
37004
+ accounts_role_id: /* @__PURE__ */ number(),
37001
37005
  active: /* @__PURE__ */ boolean(),
37002
- admin: /* @__PURE__ */ boolean(),
37003
37006
  can_edit_personal_details: /* @__PURE__ */ boolean(),
37004
37007
  created_at: /* @__PURE__ */ string(),
37005
37008
  deleted_at: /* @__PURE__ */ string(),
@@ -37048,7 +37051,9 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
37048
37051
  track_role_id: /* @__PURE__ */ number(),
37049
37052
  work_role_id: /* @__PURE__ */ number(),
37050
37053
  workspace_user_id: /* @__PURE__ */ number()
37051
- }))
37054
+ })),
37055
+ custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
37056
+ 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.")))
37052
37057
  });
37053
37058
  const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
37054
37059
  const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
@@ -37125,8 +37130,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
37125
37130
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
37126
37131
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
37127
37132
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
37128
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
37129
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
37133
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
37130
37134
  integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
37131
37135
  integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
37132
37136
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -37142,6 +37146,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
37142
37146
  priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
37143
37147
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37144
37148
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
37149
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37145
37150
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37146
37151
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
37147
37152
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -37151,22 +37156,23 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
37151
37156
  const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
37152
37157
  const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
37153
37158
  cascade_duplicate_children: /* @__PURE__ */ boolean(),
37154
- task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
37159
+ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)),
37160
+ 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.")))
37155
37161
  });
37156
37162
  const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
37157
37163
  const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
37158
37164
  const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
37165
+ after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37159
37166
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
37160
37167
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
37161
37168
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
37162
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37169
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
37163
37170
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37164
37171
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
37165
37172
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37166
37173
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
37167
37174
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
37168
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37169
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
37175
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
37170
37176
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
37171
37177
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37172
37178
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -37183,6 +37189,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
37183
37189
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37184
37190
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37185
37191
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37192
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37186
37193
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37187
37194
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
37188
37195
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -37191,17 +37198,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
37191
37198
  });
37192
37199
  const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
37193
37200
  id: /* @__PURE__ */ number(),
37201
+ after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37194
37202
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
37195
37203
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
37196
37204
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
37197
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37205
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
37198
37206
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37199
37207
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
37200
37208
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37201
37209
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
37202
37210
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
37203
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37204
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
37211
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
37205
37212
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
37206
37213
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37207
37214
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -37218,6 +37225,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
37218
37225
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37219
37226
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37220
37227
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
37228
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
37221
37229
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
37222
37230
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
37223
37231
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -37380,7 +37388,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
37380
37388
  })
37381
37389
  }).json();
37382
37390
  }
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) {
37391
+ 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) {
37384
37392
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
37385
37393
  signal,
37386
37394
  searchParams: buildSearchParams$2({
@@ -37400,7 +37408,10 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
37400
37408
  include_working_hours,
37401
37409
  include_rates,
37402
37410
  pinned_ids,
37403
- has_group
37411
+ has_group,
37412
+ cf_filter,
37413
+ include_custom_fields,
37414
+ include_calendar_integration
37404
37415
  }, true)
37405
37416
  });
37406
37417
  return withResponseMeta(await response.json(), response.headers, response.status);
@@ -37419,7 +37430,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
37419
37430
  }
37420
37431
  //#endregion
37421
37432
  //#region ../focus-queries/dist/tags/requests.ts
37422
- async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
37433
+ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
37423
37434
  return await httpClient.get(`workspaces/${workspace_id}/tags`, {
37424
37435
  signal,
37425
37436
  searchParams: buildSearchParams$2({
@@ -37427,7 +37438,10 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
37427
37438
  page,
37428
37439
  per_page,
37429
37440
  order_by,
37430
- tag_id
37441
+ tag_id,
37442
+ include_usage,
37443
+ include_archived,
37444
+ archived
37431
37445
  })
37432
37446
  }).json();
37433
37447
  }
@@ -37437,6 +37451,42 @@ async function createTag(httpClient, workspace_id, data, signal) {
37437
37451
  json: data
37438
37452
  }).json();
37439
37453
  }
37454
+ async function bulkCreateTags(httpClient, workspace_id, data, signal) {
37455
+ return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
37456
+ signal,
37457
+ json: data
37458
+ }).json();
37459
+ }
37460
+ async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
37461
+ return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
37462
+ signal,
37463
+ searchParams: buildSearchParams$2({ ids })
37464
+ }).json();
37465
+ }
37466
+ async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
37467
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
37468
+ signal,
37469
+ json: data
37470
+ }).json();
37471
+ }
37472
+ async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
37473
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
37474
+ signal,
37475
+ json: data
37476
+ }).json();
37477
+ }
37478
+ async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
37479
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
37480
+ signal,
37481
+ json: data
37482
+ }).json();
37483
+ }
37484
+ async function mergeTags(httpClient, workspace_id, data, signal) {
37485
+ return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
37486
+ signal,
37487
+ json: data
37488
+ }).json();
37489
+ }
37440
37490
  async function getTag(httpClient, workspace_id, tag_id, signal) {
37441
37491
  return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
37442
37492
  }
@@ -37449,12 +37499,18 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
37449
37499
  async function deleteTag(httpClient, workspace_id, tag_id, signal) {
37450
37500
  return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
37451
37501
  }
37502
+ async function archiveTag(httpClient, workspace_id, tag_id, signal) {
37503
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
37504
+ }
37452
37505
  async function restoreTag(httpClient, workspace_id, tag_id, signal) {
37453
37506
  return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
37454
37507
  }
37508
+ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
37509
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
37510
+ }
37455
37511
  //#endregion
37456
37512
  //#region ../focus-queries/dist/projects/requests.ts
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) {
37513
+ 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) {
37458
37514
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37459
37515
  signal,
37460
37516
  searchParams: buildSearchParams$2({
@@ -37476,6 +37532,7 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
37476
37532
  include_rates,
37477
37533
  include_rollover,
37478
37534
  include_idle_recurring_templates,
37535
+ collapse_recurring,
37479
37536
  include_drafts,
37480
37537
  include_locked_private,
37481
37538
  start_date,
@@ -37706,7 +37763,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
37706
37763
  }
37707
37764
  //#endregion
37708
37765
  //#region ../focus-queries/dist/tasks/requests.ts
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) {
37766
+ async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
37710
37767
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
37711
37768
  signal,
37712
37769
  searchParams: buildSearchParams$2({
@@ -37754,10 +37811,8 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37754
37811
  recurring_task_ids,
37755
37812
  client_id,
37756
37813
  include_rates,
37757
- include_ghost_assignees,
37758
37814
  include_assignees,
37759
37815
  include_parent_matches,
37760
- assignee_ghost_id,
37761
37816
  disable_aggregations,
37762
37817
  cf_filter
37763
37818
  })
@@ -37843,7 +37898,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
37843
37898
  })
37844
37899
  }).json();
37845
37900
  }
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) {
37901
+ async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
37847
37902
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
37848
37903
  signal,
37849
37904
  searchParams: buildSearchParams$2({
@@ -37856,14 +37911,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
37856
37911
  dates_overlap_end,
37857
37912
  recurring_task_ids,
37858
37913
  team_id,
37914
+ assignee_team_id,
37859
37915
  assignee_user_id,
37860
37916
  tag_id,
37861
- include_ghost_assignees,
37862
37917
  include_assignees
37863
37918
  })
37864
37919
  }).json();
37865
37920
  }
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) {
37921
+ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
37867
37922
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
37868
37923
  signal,
37869
37924
  searchParams: buildSearchParams$2({
@@ -37907,20 +37962,15 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37907
37962
  recurring,
37908
37963
  recurring_task_ids,
37909
37964
  client_id,
37910
- include_ghost_assignees,
37911
37965
  include_assignees,
37912
- assignee_ghost_id,
37913
37966
  cf_filter
37914
37967
  })
37915
37968
  }).json();
37916
37969
  }
37917
- async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
37970
+ async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
37918
37971
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
37919
37972
  signal,
37920
- searchParams: buildSearchParams$2({
37921
- include_ghost_assignees,
37922
- include_assignees
37923
- })
37973
+ searchParams: buildSearchParams$2({ include_assignees })
37924
37974
  }).json();
37925
37975
  }
37926
37976
  async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
@@ -37951,7 +38001,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
37951
38001
  searchParams: buildSearchParams$2({ from_recurring_task_id })
37952
38002
  }).json();
37953
38003
  }
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) {
38004
+ 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) {
37955
38005
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
37956
38006
  signal,
37957
38007
  searchParams: buildSearchParams$2({
@@ -37964,12 +38014,11 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
37964
38014
  team_id,
37965
38015
  assignee_user_id,
37966
38016
  tag_id,
37967
- include_ghost_assignees,
37968
38017
  include_assignees
37969
38018
  })
37970
38019
  }).json();
37971
38020
  }
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) {
38021
+ 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) {
37973
38022
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
37974
38023
  signal,
37975
38024
  searchParams: buildSearchParams$2({
@@ -37982,7 +38031,6 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
37982
38031
  team_id,
37983
38032
  assignee_user_id,
37984
38033
  tag_id,
37985
- include_ghost_assignees,
37986
38034
  include_assignees
37987
38035
  })
37988
38036
  }).json();
@@ -38182,6 +38230,12 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
38182
38230
  })
38183
38231
  }).json();
38184
38232
  }
38233
+ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
38234
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
38235
+ signal,
38236
+ json: data
38237
+ }).json();
38238
+ }
38185
38239
  async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
38186
38240
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
38187
38241
  signal,
@@ -42076,6 +42130,21 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
42076
42130
  }
42077
42131
  //#endregion
42078
42132
  //#region ../focus-queries/dist/audit-log/requests.ts
42133
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
42134
+ return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
42135
+ signal,
42136
+ searchParams: buildSearchParams$2({
42137
+ workspace_id,
42138
+ entity_type,
42139
+ entity_id,
42140
+ action,
42141
+ user_id,
42142
+ page_size,
42143
+ page_number,
42144
+ export: export_
42145
+ })
42146
+ }).json();
42147
+ }
42079
42148
  async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
42080
42149
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
42081
42150
  signal,
@@ -42234,33 +42303,22 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
42234
42303
  }
42235
42304
  //#endregion
42236
42305
  //#region ../focus-queries/dist/capacities/requests.ts
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) {
42306
+ async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
42238
42307
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
42239
42308
  signal,
42240
42309
  searchParams: buildSearchParams$2({
42241
42310
  user_id,
42242
42311
  start_date,
42243
42312
  end_date,
42244
- ghost_id,
42245
42313
  private: private_,
42246
42314
  task_source,
42247
42315
  unit,
42248
- include_drafts
42316
+ include_drafts,
42317
+ include_task_estimates
42249
42318
  })
42250
42319
  }).json();
42251
42320
  }
42252
42321
  //#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
42264
42322
  //#region ../focus-queries/dist/composite/requests.ts
42265
42323
  async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
42266
42324
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
@@ -42343,6 +42401,12 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
42343
42401
  async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
42344
42402
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
42345
42403
  }
42404
+ async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
42405
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
42406
+ signal,
42407
+ json: data
42408
+ }).json();
42409
+ }
42346
42410
  //#endregion
42347
42411
  //#region ../focus-queries/dist/goals/requests.ts
42348
42412
  async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
@@ -42568,7 +42632,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
42568
42632
  }
42569
42633
  //#endregion
42570
42634
  //#region ../focus-queries/dist/project-groups/requests.ts
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) {
42635
+ 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) {
42572
42636
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
42573
42637
  signal,
42574
42638
  searchParams: buildSearchParams$2({
@@ -42580,6 +42644,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42580
42644
  include_group_totals,
42581
42645
  include_unassigned,
42582
42646
  archived,
42647
+ completed,
42583
42648
  private: private_,
42584
42649
  name,
42585
42650
  client_id,
@@ -42591,6 +42656,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42591
42656
  start_date,
42592
42657
  end_date,
42593
42658
  user_id,
42659
+ only_me,
42594
42660
  include_drafts,
42595
42661
  cf_filter
42596
42662
  })
@@ -42706,10 +42772,14 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
42706
42772
  }
42707
42773
  //#endregion
42708
42774
  //#region ../focus-queries/dist/reports/requests.ts
42709
- async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
42775
+ async function getForecastAvailability(httpClient, workspace_id, signal) {
42776
+ return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
42777
+ }
42778
+ async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
42710
42779
  return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
42711
42780
  signal,
42712
42781
  json: data,
42782
+ headers: { "X-Toggl-Report-Export": xTogglReportExport },
42713
42783
  searchParams: buildSearchParams$2({
42714
42784
  response_format,
42715
42785
  include_dicts
@@ -42733,12 +42803,36 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
42733
42803
  json: data
42734
42804
  }).json();
42735
42805
  }
42736
- async function getWorkloadReport(httpClient, workspace_id, data, signal) {
42806
+ async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
42807
+ return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
42808
+ signal,
42809
+ json: data
42810
+ }).json();
42811
+ }
42812
+ async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
42737
42813
  return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
42814
+ signal,
42815
+ json: data,
42816
+ headers: { "X-Toggl-Report-Export": xTogglReportExport }
42817
+ }).json();
42818
+ }
42819
+ //#endregion
42820
+ //#region ../focus-queries/dist/reportschedules/requests.ts
42821
+ async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
42822
+ return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
42823
+ signal,
42824
+ json: data
42825
+ }).json();
42826
+ }
42827
+ async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
42828
+ return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
42738
42829
  signal,
42739
42830
  json: data
42740
42831
  }).json();
42741
42832
  }
42833
+ async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
42834
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
42835
+ }
42742
42836
  //#endregion
42743
42837
  //#region ../focus-queries/dist/savedviews/requests.ts
42744
42838
  async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
@@ -42771,7 +42865,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
42771
42865
  }
42772
42866
  //#endregion
42773
42867
  //#region ../focus-queries/dist/search/requests.ts
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) {
42868
+ 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) {
42775
42869
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
42776
42870
  signal,
42777
42871
  searchParams: buildSearchParams$2({
@@ -42783,11 +42877,56 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
42783
42877
  task_id,
42784
42878
  include_drafts,
42785
42879
  exclude_calendar_events,
42786
- group_by_tags
42880
+ group_by_tags,
42881
+ only_me
42882
+ })
42883
+ }).json();
42884
+ }
42885
+ async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
42886
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
42887
+ signal,
42888
+ searchParams: buildSearchParams$2({
42889
+ keyword,
42890
+ per_group
42787
42891
  })
42788
42892
  }).json();
42789
42893
  }
42790
42894
  //#endregion
42895
+ //#region ../focus-queries/dist/sharedreports/requests.ts
42896
+ async function shareSavedView(httpClient, workspace_id, id, data, signal) {
42897
+ return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
42898
+ signal,
42899
+ json: data
42900
+ }).json();
42901
+ }
42902
+ async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
42903
+ return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
42904
+ }
42905
+ async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
42906
+ return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
42907
+ signal,
42908
+ json: data
42909
+ }).json();
42910
+ }
42911
+ async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
42912
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
42913
+ }
42914
+ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
42915
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
42916
+ }
42917
+ async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
42918
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
42919
+ }
42920
+ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
42921
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
42922
+ signal,
42923
+ json: data
42924
+ }).json();
42925
+ }
42926
+ async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
42927
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
42928
+ }
42929
+ //#endregion
42791
42930
  //#region ../focus-queries/dist/subscriptions/requests.ts
42792
42931
  async function getCurrentSubscription(httpClient, organization_id, signal) {
42793
42932
  return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
@@ -42843,7 +42982,77 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
42843
42982
  }
42844
42983
  //#endregion
42845
42984
  //#region ../focus-queries/dist/task-groups/requests.ts
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) {
42985
+ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter }, signal) {
42986
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
42987
+ signal,
42988
+ searchParams: buildSearchParams$2({
42989
+ project_id,
42990
+ source,
42991
+ priority,
42992
+ status_id,
42993
+ client_id,
42994
+ assignee_user_id,
42995
+ tag_id,
42996
+ team_id,
42997
+ user_tag_id,
42998
+ group_id,
42999
+ creator_id,
43000
+ name,
43001
+ start_date,
43002
+ end_date,
43003
+ start_date_from,
43004
+ start_date_to,
43005
+ end_date_from,
43006
+ end_date_to,
43007
+ private: private_,
43008
+ exclude_empty,
43009
+ include_unassigned,
43010
+ include_unmaterialized,
43011
+ collapse_recurring,
43012
+ include_assignees,
43013
+ min_days,
43014
+ include_drafts,
43015
+ cf_filter,
43016
+ user_cf_filter
43017
+ })
43018
+ }).json();
43019
+ }
43020
+ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter } = {}, signal) {
43021
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
43022
+ signal,
43023
+ searchParams: buildSearchParams$2({
43024
+ team_id,
43025
+ project_id,
43026
+ source,
43027
+ priority,
43028
+ status_id,
43029
+ client_id,
43030
+ assignee_user_id,
43031
+ tag_id,
43032
+ user_tag_id,
43033
+ group_id,
43034
+ creator_id,
43035
+ name,
43036
+ start_date,
43037
+ end_date,
43038
+ start_date_from,
43039
+ start_date_to,
43040
+ end_date_from,
43041
+ end_date_to,
43042
+ private: private_,
43043
+ exclude_empty,
43044
+ include_unassigned,
43045
+ include_unmaterialized,
43046
+ collapse_recurring,
43047
+ include_assignees,
43048
+ min_days,
43049
+ include_drafts,
43050
+ cf_filter,
43051
+ user_cf_filter
43052
+ })
43053
+ }).json();
43054
+ }
43055
+ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, page, per_page, order_by } = {}, signal) {
42847
43056
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
42848
43057
  signal,
42849
43058
  searchParams: buildSearchParams$2({
@@ -42867,11 +43076,14 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
42867
43076
  end_date_to,
42868
43077
  private: private_,
42869
43078
  exclude_empty,
42870
- include_ghosts,
43079
+ include_unassigned,
43080
+ include_unmaterialized,
43081
+ collapse_recurring,
42871
43082
  include_assignees,
42872
43083
  min_days,
42873
43084
  include_drafts,
42874
43085
  cf_filter,
43086
+ user_cf_filter,
42875
43087
  page,
42876
43088
  per_page,
42877
43089
  order_by
@@ -42910,17 +43122,18 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
42910
43122
  }).json();
42911
43123
  }
42912
43124
  //#endregion
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`, {
43125
+ //#region ../focus-queries/dist/time-entry-groups/requests.ts
43126
+ async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
43127
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
42916
43128
  signal,
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
43129
+ searchParams: buildSearchParams$2({
43130
+ start_date,
43131
+ end_date,
43132
+ user_id,
43133
+ page,
43134
+ per_page,
43135
+ order_by
43136
+ })
42924
43137
  }).json();
42925
43138
  }
42926
43139
  //#endregion
@@ -42962,43 +43175,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
42962
43175
  json: data
42963
43176
  }).json();
42964
43177
  }
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`, {
42967
- signal,
42968
- searchParams: buildSearchParams$2({
42969
- ghost_ids,
42970
- start_date,
42971
- end_date
42972
- })
42973
- }).json();
42974
- }
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}`, {
42986
- signal,
42987
- json: data
42988
- }).json();
42989
- }
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
43178
  //#endregion
43003
43179
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
43004
43180
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -43191,27 +43367,6 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
43191
43367
  json: data
43192
43368
  }).json();
43193
43369
  }
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
- }
43215
43370
  //#endregion
43216
43371
  //#region ../focus-queries/dist/workspace/requests.ts
43217
43372
  async function getWorkspaceContext(httpClient, workspace_id, signal) {
@@ -43228,6 +43383,9 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
43228
43383
  json: data
43229
43384
  }).json();
43230
43385
  }
43386
+ async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
43387
+ return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
43388
+ }
43231
43389
  async function getUserPermissions(httpClient, workspace_id, signal) {
43232
43390
  return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
43233
43391
  }
@@ -43240,6 +43398,15 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
43240
43398
  json: data
43241
43399
  }).json();
43242
43400
  }
43401
+ async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
43402
+ return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
43403
+ }
43404
+ async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
43405
+ return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
43406
+ signal,
43407
+ json: data
43408
+ }).json();
43409
+ }
43243
43410
  //#endregion
43244
43411
  //#region ../operations/build/index.public.js
43245
43412
  function callGeneratedRequest(request, args) {
@@ -43375,17 +43542,17 @@ const generatedFocusOperations = [
43375
43542
  ]))
43376
43543
  },
43377
43544
  {
43378
- id: "focus.audit-log.list",
43545
+ id: "focus.audit-log.get-organization",
43379
43546
  family: "focus",
43380
43547
  resource: "audit-log",
43381
- action: "list",
43382
- title: "List Audit Log",
43383
- description: "List Audit Log.",
43548
+ action: "get-organization",
43549
+ title: "Get Organization Audit Log",
43550
+ description: "Get Organization Audit Log.",
43384
43551
  safety: "read",
43385
43552
  destructive: false,
43386
43553
  cli: {
43387
43554
  group: ["audit-log"],
43388
- command: "list",
43555
+ command: "get-organization",
43389
43556
  interactive: "hidden"
43390
43557
  },
43391
43558
  mcp: { entityTool: "audit-log" },
@@ -43399,14 +43566,14 @@ const generatedFocusOperations = [
43399
43566
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43400
43567
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43401
43568
  to: /* @__PURE__ */ string$1(),
43402
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43569
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43570
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43403
43571
  }),
43404
43572
  execute: (input, { client }) => {
43405
43573
  const data = input;
43406
- return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
43574
+ return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
43407
43575
  client.httpClient,
43408
43576
  client.organizationId,
43409
- client.workspaceIdNumber,
43410
43577
  data.from,
43411
43578
  data.to,
43412
43579
  data,
@@ -43415,87 +43582,79 @@ const generatedFocusOperations = [
43415
43582
  }
43416
43583
  },
43417
43584
  {
43418
- id: "focus.capacities.get-computations",
43585
+ id: "focus.audit-log.list",
43419
43586
  family: "focus",
43420
- resource: "capacities",
43421
- action: "get-computations",
43422
- title: "Get Computations Capacities",
43423
- description: "Get Computations Capacities.",
43587
+ resource: "audit-log",
43588
+ action: "list",
43589
+ title: "List Audit Log",
43590
+ description: "List Audit Log.",
43424
43591
  safety: "read",
43425
43592
  destructive: false,
43426
43593
  cli: {
43427
- group: ["capacities"],
43428
- command: "get-computations",
43594
+ group: ["audit-log"],
43595
+ command: "list",
43429
43596
  interactive: "hidden"
43430
43597
  },
43431
- mcp: { entityTool: "capacities" },
43598
+ mcp: { entityTool: "audit-log" },
43432
43599
  inputSchema: /* @__PURE__ */ looseObject({
43433
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43434
- ghost_id: /* @__PURE__ */ number$2(),
43435
- group: /* @__PURE__ */ picklist$1(["users"]),
43436
- include_drafts: /* @__PURE__ */ unknown$1(),
43437
- private_: /* @__PURE__ */ unknown$1(),
43438
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43439
- task_source: /* @__PURE__ */ unknown$1(),
43440
- unit: /* @__PURE__ */ unknown$1(),
43441
- user_id: /* @__PURE__ */ number$2()
43600
+ action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43601
+ entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43602
+ entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43603
+ export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43604
+ export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43605
+ from: /* @__PURE__ */ string$1(),
43606
+ page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43607
+ page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43608
+ to: /* @__PURE__ */ string$1(),
43609
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43442
43610
  }),
43443
43611
  execute: (input, { client }) => {
43444
43612
  const data = input;
43445
- return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
43613
+ return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
43446
43614
  client.httpClient,
43447
43615
  client.organizationId,
43448
43616
  client.workspaceIdNumber,
43449
- data.group,
43617
+ data.from,
43618
+ data.to,
43450
43619
  data,
43451
43620
  void 0
43452
43621
  ]));
43453
43622
  }
43454
43623
  },
43455
43624
  {
43456
- id: "focus.capacities.settings-list",
43625
+ id: "focus.capacities.get-computations",
43457
43626
  family: "focus",
43458
43627
  resource: "capacities",
43459
- action: "settings-list",
43460
- title: "Settings List Capacities",
43461
- description: "Settings List Capacities.",
43628
+ action: "get-computations",
43629
+ title: "Get Computations Capacities",
43630
+ description: "Get Computations Capacities.",
43462
43631
  safety: "read",
43463
43632
  destructive: false,
43464
43633
  cli: {
43465
- group: ["capacities", "settings"],
43466
- command: "list",
43634
+ group: ["capacities"],
43635
+ command: "get-computations",
43467
43636
  interactive: "hidden"
43468
43637
  },
43469
43638
  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() }) }),
43639
+ inputSchema: /* @__PURE__ */ looseObject({
43640
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43641
+ group: /* @__PURE__ */ picklist$1(["users"]),
43642
+ include_drafts: /* @__PURE__ */ unknown$1(),
43643
+ include_task_estimates: /* @__PURE__ */ unknown$1(),
43644
+ private_: /* @__PURE__ */ unknown$1(),
43645
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43646
+ task_source: /* @__PURE__ */ unknown$1(),
43647
+ unit: /* @__PURE__ */ unknown$1(),
43648
+ user_id: /* @__PURE__ */ number$2()
43649
+ }),
43493
43650
  execute: (input, { client }) => {
43494
43651
  const data = input;
43495
- return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
43652
+ return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
43496
43653
  client.httpClient,
43654
+ client.organizationId,
43497
43655
  client.workspaceIdNumber,
43498
- data.payload ?? data.data ?? data,
43656
+ data.group,
43657
+ data,
43499
43658
  void 0
43500
43659
  ]));
43501
43660
  }
@@ -43694,8 +43853,7 @@ const generatedFocusOperations = [
43694
43853
  hourly_rate: /* @__PURE__ */ number$2(),
43695
43854
  start_at: apiDateTimeString,
43696
43855
  end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
43697
- }))),
43698
- resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
43856
+ })))
43699
43857
  }) }),
43700
43858
  execute: (input, { client }) => {
43701
43859
  const data = input;
@@ -43750,6 +43908,7 @@ const generatedFocusOperations = [
43750
43908
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43751
43909
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43752
43910
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43911
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43753
43912
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43754
43913
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43755
43914
  }),
@@ -43782,6 +43941,7 @@ const generatedFocusOperations = [
43782
43941
  priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
43783
43942
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43784
43943
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43944
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43785
43945
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43786
43946
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43787
43947
  }))),
@@ -43837,7 +43997,11 @@ const generatedFocusOperations = [
43837
43997
  },
43838
43998
  mcp: { entityTool: "custom-fields" },
43839
43999
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
43840
- entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
44000
+ entity_type: /* @__PURE__ */ picklist$1([
44001
+ "project",
44002
+ "task",
44003
+ "user"
44004
+ ]),
43841
44005
  field_type: /* @__PURE__ */ picklist$1([
43842
44006
  "select",
43843
44007
  "multi_select",
@@ -44170,7 +44334,11 @@ const generatedFocusOperations = [
44170
44334
  },
44171
44335
  mcp: { entityTool: "custom-fields" },
44172
44336
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44173
- entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
44337
+ entity_type: /* @__PURE__ */ picklist$1([
44338
+ "project",
44339
+ "task",
44340
+ "user"
44341
+ ]),
44174
44342
  ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
44175
44343
  }) }),
44176
44344
  execute: (input, { client }) => {
@@ -44184,6 +44352,37 @@ const generatedFocusOperations = [
44184
44352
  ]));
44185
44353
  }
44186
44354
  },
44355
+ {
44356
+ id: "focus.custom-fields.update-user-custom-field-values",
44357
+ family: "focus",
44358
+ resource: "custom-fields",
44359
+ action: "update-user-custom-field-values",
44360
+ title: "Update User Custom Field Values Custom Fields",
44361
+ description: "Update User Custom Field Values Custom Fields.",
44362
+ safety: "update",
44363
+ destructive: false,
44364
+ cli: {
44365
+ group: ["custom-fields"],
44366
+ command: "update-user-custom-field-values",
44367
+ interactive: "hidden"
44368
+ },
44369
+ mcp: { entityTool: "custom-fields" },
44370
+ inputSchema: /* @__PURE__ */ looseObject({
44371
+ payload: /* @__PURE__ */ unknown$1(),
44372
+ user_id: /* @__PURE__ */ number$2()
44373
+ }),
44374
+ execute: (input, { client }) => {
44375
+ const data = input;
44376
+ return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
44377
+ client.httpClient,
44378
+ client.organizationId,
44379
+ client.workspaceIdNumber,
44380
+ data.user_id,
44381
+ data.payload ?? data.data ?? data,
44382
+ void 0
44383
+ ]));
44384
+ }
44385
+ },
44187
44386
  {
44188
44387
  id: "focus.goals.create",
44189
44388
  family: "focus",
@@ -44403,10 +44602,22 @@ const generatedFocusOperations = [
44403
44602
  goal_id: /* @__PURE__ */ number$2(),
44404
44603
  payload: /* @__PURE__ */ looseObject({
44405
44604
  active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44605
+ client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44406
44606
  comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44407
44607
  icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44408
44608
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44409
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
44609
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44610
+ recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
44611
+ "daily",
44612
+ "weekly",
44613
+ "daily_workdays",
44614
+ "monthly"
44615
+ ])),
44616
+ start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44617
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44618
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44619
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44620
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44410
44621
  })
44411
44622
  }),
44412
44623
  execute: (input, { client }) => {
@@ -45739,6 +45950,7 @@ const generatedFocusOperations = [
45739
45950
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45740
45951
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45741
45952
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45953
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45742
45954
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45743
45955
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
45744
45956
  group: /* @__PURE__ */ string$1(),
@@ -45746,6 +45958,7 @@ const generatedFocusOperations = [
45746
45958
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45747
45959
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45748
45960
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45961
+ only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45749
45962
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45750
45963
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45751
45964
  parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -47930,7 +48143,10 @@ const generatedFocusOperations = [
47930
48143
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
47931
48144
  name: /* @__PURE__ */ string$1(),
47932
48145
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
47933
- }))
48146
+ })),
48147
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48148
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48149
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
47934
48150
  }),
47935
48151
  response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
47936
48152
  }),
@@ -47971,6 +48187,28 @@ const generatedFocusOperations = [
47971
48187
  ]));
47972
48188
  }
47973
48189
  },
48190
+ {
48191
+ id: "focus.reports.get-forecast-availability",
48192
+ family: "focus",
48193
+ resource: "reports",
48194
+ action: "get-forecast-availability",
48195
+ title: "Get Forecast Availability Reports",
48196
+ description: "Get Forecast Availability Reports.",
48197
+ safety: "read",
48198
+ destructive: false,
48199
+ cli: {
48200
+ group: ["reports"],
48201
+ command: "get-forecast-availability",
48202
+ interactive: "hidden"
48203
+ },
48204
+ mcp: { entityTool: "reports" },
48205
+ inputSchema: /* @__PURE__ */ looseObject({}),
48206
+ execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
48207
+ client.httpClient,
48208
+ client.workspaceIdNumber,
48209
+ void 0
48210
+ ]))
48211
+ },
47974
48212
  {
47975
48213
  id: "focus.reports.get-profitability",
47976
48214
  family: "focus",
@@ -48030,9 +48268,17 @@ const generatedFocusOperations = [
48030
48268
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48031
48269
  name: /* @__PURE__ */ string$1(),
48032
48270
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48033
- }))
48271
+ })),
48272
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48273
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48274
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48034
48275
  }),
48035
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
48276
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
48277
+ xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
48278
+ "csv",
48279
+ "xlsx",
48280
+ "pdf"
48281
+ ]))
48036
48282
  }),
48037
48283
  execute: (input, { client }) => {
48038
48284
  const data = input;
@@ -48042,22 +48288,23 @@ const generatedFocusOperations = [
48042
48288
  data.payload ?? data.data ?? data,
48043
48289
  data.response_format,
48044
48290
  data.include_dicts,
48291
+ data.xTogglReportExport,
48045
48292
  void 0
48046
48293
  ]));
48047
48294
  }
48048
48295
  },
48049
48296
  {
48050
- id: "focus.reports.get-workload",
48297
+ id: "focus.reports.get-time-accounting",
48051
48298
  family: "focus",
48052
48299
  resource: "reports",
48053
- action: "get-workload",
48054
- title: "Get Workload Reports",
48055
- description: "Get Workload Reports.",
48300
+ action: "get-time-accounting",
48301
+ title: "Get Time Accounting Reports",
48302
+ description: "Get Time Accounting Reports.",
48056
48303
  safety: "update",
48057
48304
  destructive: false,
48058
48305
  cli: {
48059
48306
  group: ["reports"],
48060
- command: "get-workload",
48307
+ command: "get-time-accounting",
48061
48308
  interactive: "hidden"
48062
48309
  },
48063
48310
  mcp: { entityTool: "reports" },
@@ -48103,14 +48350,205 @@ const generatedFocusOperations = [
48103
48350
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48104
48351
  name: /* @__PURE__ */ string$1(),
48105
48352
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48106
- }))
48353
+ })),
48354
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48355
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48356
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48107
48357
  }) }),
48358
+ execute: (input, { client }) => {
48359
+ const data = input;
48360
+ return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
48361
+ client.httpClient,
48362
+ client.workspaceIdNumber,
48363
+ data.payload ?? data.data ?? data,
48364
+ void 0
48365
+ ]));
48366
+ }
48367
+ },
48368
+ {
48369
+ id: "focus.reports.get-workload",
48370
+ family: "focus",
48371
+ resource: "reports",
48372
+ action: "get-workload",
48373
+ title: "Get Workload Reports",
48374
+ description: "Get Workload Reports.",
48375
+ safety: "update",
48376
+ destructive: false,
48377
+ cli: {
48378
+ group: ["reports"],
48379
+ command: "get-workload",
48380
+ interactive: "hidden"
48381
+ },
48382
+ mcp: { entityTool: "reports" },
48383
+ inputSchema: /* @__PURE__ */ looseObject({
48384
+ payload: /* @__PURE__ */ looseObject({
48385
+ aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48386
+ aggregation: /* @__PURE__ */ looseObject({
48387
+ function: /* @__PURE__ */ string$1(),
48388
+ property: /* @__PURE__ */ string$1()
48389
+ }),
48390
+ operator: /* @__PURE__ */ string$1(),
48391
+ property: /* @__PURE__ */ string$1()
48392
+ })),
48393
+ aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48394
+ function: /* @__PURE__ */ string$1(),
48395
+ property: /* @__PURE__ */ string$1()
48396
+ })),
48397
+ attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
48398
+ currency: /* @__PURE__ */ string$1(),
48399
+ filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48400
+ conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
48401
+ operator: /* @__PURE__ */ string$1(),
48402
+ property: /* @__PURE__ */ string$1()
48403
+ })),
48404
+ groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48405
+ property: /* @__PURE__ */ string$1(),
48406
+ show_empty: /* @__PURE__ */ boolean$1()
48407
+ })),
48408
+ limit: /* @__PURE__ */ number$2(),
48409
+ ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48410
+ direction: /* @__PURE__ */ string$1(),
48411
+ nulls: /* @__PURE__ */ string$1(),
48412
+ property: /* @__PURE__ */ string$1()
48413
+ })),
48414
+ pagination: /* @__PURE__ */ looseObject({
48415
+ page: /* @__PURE__ */ number$2(),
48416
+ per_page: /* @__PURE__ */ number$2()
48417
+ }),
48418
+ period: /* @__PURE__ */ looseObject({
48419
+ from: /* @__PURE__ */ string$1(),
48420
+ preset: /* @__PURE__ */ string$1(),
48421
+ to: /* @__PURE__ */ string$1()
48422
+ }),
48423
+ transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48424
+ name: /* @__PURE__ */ string$1(),
48425
+ parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48426
+ })),
48427
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48428
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48429
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48430
+ }),
48431
+ xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
48432
+ "csv",
48433
+ "xlsx",
48434
+ "pdf"
48435
+ ]))
48436
+ }),
48108
48437
  execute: (input, { client }) => {
48109
48438
  const data = input;
48110
48439
  return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
48111
48440
  client.httpClient,
48112
48441
  client.workspaceIdNumber,
48113
48442
  data.payload ?? data.data ?? data,
48443
+ data.xTogglReportExport,
48444
+ void 0
48445
+ ]));
48446
+ }
48447
+ },
48448
+ {
48449
+ id: "focus.reportschedules.delete-shared-report-schedule",
48450
+ family: "focus",
48451
+ resource: "reportschedules",
48452
+ action: "delete-shared-report-schedule",
48453
+ title: "Delete Shared Report Schedule Reportschedules",
48454
+ description: "Delete Shared Report Schedule Reportschedules.",
48455
+ safety: "delete",
48456
+ destructive: true,
48457
+ cli: {
48458
+ group: ["reportschedules"],
48459
+ command: "delete-shared-report-schedule",
48460
+ interactive: "default"
48461
+ },
48462
+ mcp: { entityTool: "reportschedules" },
48463
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48464
+ execute: (input, { client }) => {
48465
+ const data = input;
48466
+ return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
48467
+ client.httpClient,
48468
+ client.workspaceIdNumber,
48469
+ data.id,
48470
+ void 0
48471
+ ]));
48472
+ }
48473
+ },
48474
+ {
48475
+ id: "focus.reportschedules.upsert-saved-view-schedule",
48476
+ family: "focus",
48477
+ resource: "reportschedules",
48478
+ action: "upsert-saved-view-schedule",
48479
+ title: "Upsert Saved View Schedule Reportschedules",
48480
+ description: "Upsert Saved View Schedule Reportschedules.",
48481
+ safety: "update",
48482
+ destructive: false,
48483
+ cli: {
48484
+ group: ["reportschedules"],
48485
+ command: "upsert-saved-view-schedule",
48486
+ interactive: "default"
48487
+ },
48488
+ mcp: { entityTool: "reportschedules" },
48489
+ inputSchema: /* @__PURE__ */ looseObject({
48490
+ id: /* @__PURE__ */ number$2(),
48491
+ payload: /* @__PURE__ */ looseObject({
48492
+ cadence: /* @__PURE__ */ picklist$1([
48493
+ "daily",
48494
+ "weekly",
48495
+ "monthly"
48496
+ ]),
48497
+ time: /* @__PURE__ */ string$1(),
48498
+ day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48499
+ recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48500
+ recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48501
+ recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
48502
+ })
48503
+ }),
48504
+ execute: (input, { client }) => {
48505
+ const data = input;
48506
+ return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
48507
+ client.httpClient,
48508
+ client.workspaceIdNumber,
48509
+ data.id,
48510
+ data.payload ?? data.data ?? data,
48511
+ void 0
48512
+ ]));
48513
+ }
48514
+ },
48515
+ {
48516
+ id: "focus.reportschedules.upsert-shared-report-schedule",
48517
+ family: "focus",
48518
+ resource: "reportschedules",
48519
+ action: "upsert-shared-report-schedule",
48520
+ title: "Upsert Shared Report Schedule Reportschedules",
48521
+ description: "Upsert Shared Report Schedule Reportschedules.",
48522
+ safety: "update",
48523
+ destructive: false,
48524
+ cli: {
48525
+ group: ["reportschedules"],
48526
+ command: "upsert-shared-report-schedule",
48527
+ interactive: "default"
48528
+ },
48529
+ mcp: { entityTool: "reportschedules" },
48530
+ inputSchema: /* @__PURE__ */ looseObject({
48531
+ id: /* @__PURE__ */ number$2(),
48532
+ payload: /* @__PURE__ */ looseObject({
48533
+ cadence: /* @__PURE__ */ picklist$1([
48534
+ "daily",
48535
+ "weekly",
48536
+ "monthly"
48537
+ ]),
48538
+ time: /* @__PURE__ */ string$1(),
48539
+ day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48540
+ recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48541
+ recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48542
+ recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
48543
+ })
48544
+ }),
48545
+ execute: (input, { client }) => {
48546
+ const data = input;
48547
+ return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
48548
+ client.httpClient,
48549
+ client.workspaceIdNumber,
48550
+ data.id,
48551
+ data.payload ?? data.data ?? data,
48114
48552
  void 0
48115
48553
  ]));
48116
48554
  }
@@ -48148,7 +48586,9 @@ const generatedFocusOperations = [
48148
48586
  "reports.detailed",
48149
48587
  "reports.utilization",
48150
48588
  "reports.workload",
48151
- "reports.profitability"
48589
+ "reports.profitability",
48590
+ "reports.time-off",
48591
+ "reports.time-accounting"
48152
48592
  ]),
48153
48593
  icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48154
48594
  }) }),
@@ -48272,11 +48712,41 @@ const generatedFocusOperations = [
48272
48712
  }
48273
48713
  },
48274
48714
  {
48275
- id: "focus.search.search",
48715
+ id: "focus.search.mentions",
48276
48716
  family: "focus",
48277
48717
  resource: "search",
48278
- action: "search",
48279
- title: "Search Search",
48718
+ action: "mentions",
48719
+ title: "Mentions Search",
48720
+ description: "Mentions Search.",
48721
+ safety: "read",
48722
+ destructive: false,
48723
+ cli: {
48724
+ group: ["search"],
48725
+ command: "mentions",
48726
+ interactive: "hidden"
48727
+ },
48728
+ mcp: { entityTool: "search" },
48729
+ inputSchema: /* @__PURE__ */ looseObject({
48730
+ keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48731
+ per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48732
+ }),
48733
+ execute: (input, { client }) => {
48734
+ const data = input;
48735
+ return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
48736
+ client.httpClient,
48737
+ client.organizationId,
48738
+ client.workspaceIdNumber,
48739
+ data,
48740
+ void 0
48741
+ ]));
48742
+ }
48743
+ },
48744
+ {
48745
+ id: "focus.search.search",
48746
+ family: "focus",
48747
+ resource: "search",
48748
+ action: "search",
48749
+ title: "Search Search",
48280
48750
  description: "Search Search.",
48281
48751
  safety: "read",
48282
48752
  destructive: false,
@@ -48298,6 +48768,240 @@ const generatedFocusOperations = [
48298
48768
  ]));
48299
48769
  }
48300
48770
  },
48771
+ {
48772
+ id: "focus.sharedreports.add-shared-report-grants",
48773
+ family: "focus",
48774
+ resource: "sharedreports",
48775
+ action: "add-shared-report-grants",
48776
+ title: "Add Shared Report Grants Sharedreports",
48777
+ description: "Add Shared Report Grants Sharedreports.",
48778
+ safety: "update",
48779
+ destructive: false,
48780
+ cli: {
48781
+ group: ["sharedreports"],
48782
+ command: "add-shared-report-grants",
48783
+ interactive: "default"
48784
+ },
48785
+ mcp: { entityTool: "sharedreports" },
48786
+ inputSchema: /* @__PURE__ */ looseObject({
48787
+ id: /* @__PURE__ */ number$2(),
48788
+ payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48789
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48790
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48791
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48792
+ })) })
48793
+ }),
48794
+ execute: (input, { client }) => {
48795
+ const data = input;
48796
+ return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
48797
+ client.httpClient,
48798
+ client.workspaceIdNumber,
48799
+ data.id,
48800
+ data.payload ?? data.data ?? data,
48801
+ void 0
48802
+ ]));
48803
+ }
48804
+ },
48805
+ {
48806
+ id: "focus.sharedreports.get-saved-view-shared-report",
48807
+ family: "focus",
48808
+ resource: "sharedreports",
48809
+ action: "get-saved-view-shared-report",
48810
+ title: "Get Saved View Shared Report Sharedreports",
48811
+ description: "Get Saved View Shared Report Sharedreports.",
48812
+ safety: "read",
48813
+ destructive: false,
48814
+ cli: {
48815
+ group: ["sharedreports"],
48816
+ command: "get-saved-view-shared-report",
48817
+ interactive: "available"
48818
+ },
48819
+ mcp: { entityTool: "sharedreports" },
48820
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48821
+ execute: (input, { client }) => {
48822
+ const data = input;
48823
+ return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
48824
+ client.httpClient,
48825
+ client.workspaceIdNumber,
48826
+ data.id,
48827
+ void 0
48828
+ ]));
48829
+ }
48830
+ },
48831
+ {
48832
+ id: "focus.sharedreports.get-shared-report-for-viewer",
48833
+ family: "focus",
48834
+ resource: "sharedreports",
48835
+ action: "get-shared-report-for-viewer",
48836
+ title: "Get Shared Report For Viewer Sharedreports",
48837
+ description: "Get Shared Report For Viewer Sharedreports.",
48838
+ safety: "read",
48839
+ destructive: false,
48840
+ cli: {
48841
+ group: ["sharedreports"],
48842
+ command: "get-shared-report-for-viewer",
48843
+ interactive: "available"
48844
+ },
48845
+ mcp: { entityTool: "sharedreports" },
48846
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48847
+ execute: (input, { client }) => {
48848
+ const data = input;
48849
+ return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
48850
+ client.httpClient,
48851
+ client.workspaceIdNumber,
48852
+ data.id,
48853
+ void 0
48854
+ ]));
48855
+ }
48856
+ },
48857
+ {
48858
+ id: "focus.sharedreports.get-shared-reports-shared-by-me",
48859
+ family: "focus",
48860
+ resource: "sharedreports",
48861
+ action: "get-shared-reports-shared-by-me",
48862
+ title: "Get Shared Reports Shared By Me Sharedreports",
48863
+ description: "Get Shared Reports Shared By Me Sharedreports.",
48864
+ safety: "read",
48865
+ destructive: false,
48866
+ cli: {
48867
+ group: ["sharedreports"],
48868
+ command: "get-shared-reports-shared-by-me",
48869
+ interactive: "hidden"
48870
+ },
48871
+ mcp: { entityTool: "sharedreports" },
48872
+ inputSchema: /* @__PURE__ */ looseObject({}),
48873
+ execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
48874
+ client.httpClient,
48875
+ client.workspaceIdNumber,
48876
+ void 0
48877
+ ]))
48878
+ },
48879
+ {
48880
+ id: "focus.sharedreports.get-shared-reports-shared-with-me",
48881
+ family: "focus",
48882
+ resource: "sharedreports",
48883
+ action: "get-shared-reports-shared-with-me",
48884
+ title: "Get Shared Reports Shared With Me Sharedreports",
48885
+ description: "Get Shared Reports Shared With Me Sharedreports.",
48886
+ safety: "read",
48887
+ destructive: false,
48888
+ cli: {
48889
+ group: ["sharedreports"],
48890
+ command: "get-shared-reports-shared-with-me",
48891
+ interactive: "hidden"
48892
+ },
48893
+ mcp: { entityTool: "sharedreports" },
48894
+ inputSchema: /* @__PURE__ */ looseObject({}),
48895
+ execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
48896
+ client.httpClient,
48897
+ client.workspaceIdNumber,
48898
+ void 0
48899
+ ]))
48900
+ },
48901
+ {
48902
+ id: "focus.sharedreports.revoke-shared-report-grant",
48903
+ family: "focus",
48904
+ resource: "sharedreports",
48905
+ action: "revoke-shared-report-grant",
48906
+ title: "Revoke Shared Report Grant Sharedreports",
48907
+ description: "Revoke Shared Report Grant Sharedreports.",
48908
+ safety: "delete",
48909
+ destructive: true,
48910
+ cli: {
48911
+ group: ["sharedreports"],
48912
+ command: "revoke-shared-report-grant",
48913
+ interactive: "default"
48914
+ },
48915
+ mcp: { entityTool: "sharedreports" },
48916
+ inputSchema: /* @__PURE__ */ looseObject({
48917
+ grant_id: /* @__PURE__ */ number$2(),
48918
+ id: /* @__PURE__ */ number$2()
48919
+ }),
48920
+ execute: (input, { client }) => {
48921
+ const data = input;
48922
+ return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
48923
+ client.httpClient,
48924
+ client.workspaceIdNumber,
48925
+ data.id,
48926
+ data.grant_id,
48927
+ void 0
48928
+ ]));
48929
+ }
48930
+ },
48931
+ {
48932
+ id: "focus.sharedreports.share-saved-view",
48933
+ family: "focus",
48934
+ resource: "sharedreports",
48935
+ action: "share-saved-view",
48936
+ title: "Share Saved View Sharedreports",
48937
+ description: "Share Saved View Sharedreports.",
48938
+ safety: "update",
48939
+ destructive: false,
48940
+ cli: {
48941
+ group: ["sharedreports"],
48942
+ command: "share-saved-view",
48943
+ interactive: "hidden"
48944
+ },
48945
+ mcp: { entityTool: "sharedreports" },
48946
+ inputSchema: /* @__PURE__ */ looseObject({
48947
+ id: /* @__PURE__ */ number$2(),
48948
+ payload: /* @__PURE__ */ looseObject({
48949
+ charts: /* @__PURE__ */ unknown$1(),
48950
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48951
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48952
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48953
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48954
+ })
48955
+ }),
48956
+ execute: (input, { client }) => {
48957
+ const data = input;
48958
+ return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
48959
+ client.httpClient,
48960
+ client.workspaceIdNumber,
48961
+ data.id,
48962
+ data.payload ?? data.data ?? data,
48963
+ void 0
48964
+ ]));
48965
+ }
48966
+ },
48967
+ {
48968
+ id: "focus.sharedreports.share-saved-view-many",
48969
+ family: "focus",
48970
+ resource: "sharedreports",
48971
+ action: "share-saved-view-many",
48972
+ title: "Share Saved View Many Sharedreports",
48973
+ description: "Share Saved View Many Sharedreports.",
48974
+ safety: "update",
48975
+ destructive: false,
48976
+ cli: {
48977
+ group: ["sharedreports"],
48978
+ command: "share-saved-view-many",
48979
+ interactive: "hidden"
48980
+ },
48981
+ mcp: { entityTool: "sharedreports" },
48982
+ inputSchema: /* @__PURE__ */ looseObject({
48983
+ id: /* @__PURE__ */ number$2(),
48984
+ payload: /* @__PURE__ */ looseObject({
48985
+ charts: /* @__PURE__ */ unknown$1(),
48986
+ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48987
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48988
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48989
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48990
+ })),
48991
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48992
+ })
48993
+ }),
48994
+ execute: (input, { client }) => {
48995
+ const data = input;
48996
+ return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
48997
+ client.httpClient,
48998
+ client.workspaceIdNumber,
48999
+ data.id,
49000
+ data.payload ?? data.data ?? data,
49001
+ void 0
49002
+ ]));
49003
+ }
49004
+ },
48301
49005
  {
48302
49006
  id: "focus.statuses.create-status",
48303
49007
  family: "focus",
@@ -48563,13 +49267,172 @@ const generatedFocusOperations = [
48563
49267
  command: "upsert-forced-trial",
48564
49268
  interactive: "default"
48565
49269
  },
48566
- mcp: { entityTool: "subscriptions" },
48567
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
49270
+ mcp: { entityTool: "subscriptions" },
49271
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
49272
+ execute: (input, { client }) => {
49273
+ const data = input;
49274
+ return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
49275
+ client.httpClient,
49276
+ client.organizationId,
49277
+ client.workspaceIdNumber,
49278
+ data.payload ?? data.data ?? data,
49279
+ void 0
49280
+ ]));
49281
+ }
49282
+ },
49283
+ {
49284
+ id: "focus.tags.archive",
49285
+ family: "focus",
49286
+ resource: "tags",
49287
+ action: "archive",
49288
+ title: "Archive Tags",
49289
+ description: "Archive Tags.",
49290
+ safety: "update",
49291
+ destructive: false,
49292
+ cli: {
49293
+ group: ["tags"],
49294
+ command: "archive",
49295
+ interactive: "default"
49296
+ },
49297
+ mcp: { entityTool: "tags" },
49298
+ inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
49299
+ execute: (input, { client }) => {
49300
+ const data = input;
49301
+ return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
49302
+ client.httpClient,
49303
+ client.workspaceIdNumber,
49304
+ data.tag_id,
49305
+ void 0
49306
+ ]));
49307
+ }
49308
+ },
49309
+ {
49310
+ id: "focus.tags.bulk-archive",
49311
+ family: "focus",
49312
+ resource: "tags",
49313
+ action: "bulk-archive",
49314
+ title: "Bulk Archive Tags",
49315
+ description: "Bulk Archive Tags.",
49316
+ safety: "update",
49317
+ destructive: false,
49318
+ cli: {
49319
+ group: ["tags", "bulk"],
49320
+ command: "archive",
49321
+ interactive: "default"
49322
+ },
49323
+ mcp: { entityTool: "tags" },
49324
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
49325
+ execute: (input, { client }) => {
49326
+ const data = input;
49327
+ return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
49328
+ client.httpClient,
49329
+ client.workspaceIdNumber,
49330
+ data.payload ?? data.data ?? data,
49331
+ void 0
49332
+ ]));
49333
+ }
49334
+ },
49335
+ {
49336
+ id: "focus.tags.bulk-create",
49337
+ family: "focus",
49338
+ resource: "tags",
49339
+ action: "bulk-create",
49340
+ title: "Bulk Create Tags",
49341
+ description: "Bulk Create Tags.",
49342
+ safety: "create",
49343
+ destructive: false,
49344
+ cli: {
49345
+ group: ["tags", "bulk"],
49346
+ command: "create",
49347
+ interactive: "default"
49348
+ },
49349
+ mcp: { entityTool: "tags" },
49350
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
49351
+ color: /* @__PURE__ */ string$1(),
49352
+ name: /* @__PURE__ */ string$1()
49353
+ })) }) }),
49354
+ execute: (input, { client }) => {
49355
+ const data = input;
49356
+ return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
49357
+ client.httpClient,
49358
+ client.workspaceIdNumber,
49359
+ data.payload ?? data.data ?? data,
49360
+ void 0
49361
+ ]));
49362
+ }
49363
+ },
49364
+ {
49365
+ id: "focus.tags.bulk-delete",
49366
+ family: "focus",
49367
+ resource: "tags",
49368
+ action: "bulk-delete",
49369
+ title: "Bulk Delete Tags",
49370
+ description: "Bulk Delete Tags.",
49371
+ safety: "delete",
49372
+ destructive: true,
49373
+ cli: {
49374
+ group: ["tags", "bulk"],
49375
+ command: "delete",
49376
+ interactive: "default"
49377
+ },
49378
+ mcp: { entityTool: "tags" },
49379
+ inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
49380
+ execute: (input, { client }) => {
49381
+ const data = input;
49382
+ return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
49383
+ client.httpClient,
49384
+ client.workspaceIdNumber,
49385
+ data.ids,
49386
+ void 0
49387
+ ]));
49388
+ }
49389
+ },
49390
+ {
49391
+ id: "focus.tags.bulk-restore",
49392
+ family: "focus",
49393
+ resource: "tags",
49394
+ action: "bulk-restore",
49395
+ title: "Bulk Restore Tags",
49396
+ description: "Bulk Restore Tags.",
49397
+ safety: "update",
49398
+ destructive: false,
49399
+ cli: {
49400
+ group: ["tags", "bulk"],
49401
+ command: "restore",
49402
+ interactive: "default"
49403
+ },
49404
+ mcp: { entityTool: "tags" },
49405
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
49406
+ execute: (input, { client }) => {
49407
+ const data = input;
49408
+ return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
49409
+ client.httpClient,
49410
+ client.workspaceIdNumber,
49411
+ data.payload ?? data.data ?? data,
49412
+ void 0
49413
+ ]));
49414
+ }
49415
+ },
49416
+ {
49417
+ id: "focus.tags.bulk-unarchive",
49418
+ family: "focus",
49419
+ resource: "tags",
49420
+ action: "bulk-unarchive",
49421
+ title: "Bulk Unarchive Tags",
49422
+ description: "Bulk Unarchive Tags.",
49423
+ safety: "update",
49424
+ destructive: false,
49425
+ cli: {
49426
+ group: ["tags", "bulk"],
49427
+ command: "unarchive",
49428
+ interactive: "default"
49429
+ },
49430
+ mcp: { entityTool: "tags" },
49431
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
48568
49432
  execute: (input, { client }) => {
48569
49433
  const data = input;
48570
- return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
49434
+ return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
48571
49435
  client.httpClient,
48572
- client.organizationId,
48573
49436
  client.workspaceIdNumber,
48574
49437
  data.payload ?? data.data ?? data,
48575
49438
  void 0
@@ -48660,6 +49523,35 @@ const generatedFocusOperations = [
48660
49523
  return client.listTags(data);
48661
49524
  }
48662
49525
  },
49526
+ {
49527
+ id: "focus.tags.merge",
49528
+ family: "focus",
49529
+ resource: "tags",
49530
+ action: "merge",
49531
+ title: "Merge Tags",
49532
+ description: "Merge Tags.",
49533
+ safety: "update",
49534
+ destructive: false,
49535
+ cli: {
49536
+ group: ["tags"],
49537
+ command: "merge",
49538
+ interactive: "default"
49539
+ },
49540
+ mcp: { entityTool: "tags" },
49541
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
49542
+ source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
49543
+ target_id: /* @__PURE__ */ number$2()
49544
+ }) }),
49545
+ execute: (input, { client }) => {
49546
+ const data = input;
49547
+ return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
49548
+ client.httpClient,
49549
+ client.workspaceIdNumber,
49550
+ data.payload ?? data.data ?? data,
49551
+ void 0
49552
+ ]));
49553
+ }
49554
+ },
48663
49555
  {
48664
49556
  id: "focus.tags.restore",
48665
49557
  family: "focus",
@@ -48686,6 +49578,32 @@ const generatedFocusOperations = [
48686
49578
  ]));
48687
49579
  }
48688
49580
  },
49581
+ {
49582
+ id: "focus.tags.unarchive",
49583
+ family: "focus",
49584
+ resource: "tags",
49585
+ action: "unarchive",
49586
+ title: "Unarchive Tags",
49587
+ description: "Unarchive Tags.",
49588
+ safety: "update",
49589
+ destructive: false,
49590
+ cli: {
49591
+ group: ["tags"],
49592
+ command: "unarchive",
49593
+ interactive: "default"
49594
+ },
49595
+ mcp: { entityTool: "tags" },
49596
+ inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
49597
+ execute: (input, { client }) => {
49598
+ const data = input;
49599
+ return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
49600
+ client.httpClient,
49601
+ client.workspaceIdNumber,
49602
+ data.tag_id,
49603
+ void 0
49604
+ ]));
49605
+ }
49606
+ },
48689
49607
  {
48690
49608
  id: "focus.tags.update",
48691
49609
  family: "focus",
@@ -49367,12 +50285,12 @@ const generatedFocusOperations = [
49367
50285
  mcp: { entityTool: "tasks" },
49368
50286
  inputSchema: /* @__PURE__ */ looseObject({
49369
50287
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50288
+ assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49370
50289
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49371
50290
  dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49372
50291
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49373
50292
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
49374
50293
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49375
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49376
50294
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49377
50295
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49378
50296
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49409,7 +50327,6 @@ const generatedFocusOperations = [
49409
50327
  inputSchema: /* @__PURE__ */ looseObject({
49410
50328
  active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
49411
50329
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49412
- assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49413
50330
  assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49414
50331
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49415
50332
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49426,7 +50343,6 @@ const generatedFocusOperations = [
49426
50343
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49427
50344
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49428
50345
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49429
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49430
50346
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49431
50347
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49432
50348
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49482,7 +50398,6 @@ const generatedFocusOperations = [
49482
50398
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49483
50399
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49484
50400
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49485
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49486
50401
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49487
50402
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49488
50403
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49523,7 +50438,6 @@ const generatedFocusOperations = [
49523
50438
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49524
50439
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49525
50440
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49526
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49527
50441
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49528
50442
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49529
50443
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49564,6 +50478,7 @@ const generatedFocusOperations = [
49564
50478
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49565
50479
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49566
50480
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50481
+ collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49567
50482
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49568
50483
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
49569
50484
  end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49577,7 +50492,8 @@ const generatedFocusOperations = [
49577
50492
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49578
50493
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49579
50494
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49580
- include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50495
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50496
+ include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49581
50497
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49582
50498
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49583
50499
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49593,6 +50509,7 @@ const generatedFocusOperations = [
49593
50509
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49594
50510
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
49595
50511
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50512
+ user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49596
50513
  user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
49597
50514
  }),
49598
50515
  execute: (input, { client }) => {
@@ -49607,6 +50524,118 @@ const generatedFocusOperations = [
49607
50524
  ]));
49608
50525
  }
49609
50526
  },
50527
+ {
50528
+ id: "focus.tasks.groups-get-user-task-groups-by-project",
50529
+ family: "focus",
50530
+ resource: "tasks",
50531
+ action: "groups-get-user-task-groups-by-project",
50532
+ title: "Groups Get User Task Groups By Project Tasks",
50533
+ description: "Groups Get User Task Groups By Project Tasks.",
50534
+ safety: "read",
50535
+ destructive: false,
50536
+ cli: {
50537
+ group: ["tasks", "groups"],
50538
+ command: "get-user-task-groups-by-project",
50539
+ interactive: "hidden"
50540
+ },
50541
+ mcp: { entityTool: "tasks" },
50542
+ inputSchema: /* @__PURE__ */ looseObject({
50543
+ assignee_user_id: /* @__PURE__ */ number$2(),
50544
+ cf_filter: /* @__PURE__ */ unknown$1(),
50545
+ client_id: /* @__PURE__ */ number$2(),
50546
+ collapse_recurring: /* @__PURE__ */ unknown$1(),
50547
+ creator_id: /* @__PURE__ */ number$2(),
50548
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
50549
+ end_date_from: /* @__PURE__ */ unknown$1(),
50550
+ end_date_to: /* @__PURE__ */ unknown$1(),
50551
+ exclude_empty: /* @__PURE__ */ unknown$1(),
50552
+ group_id: /* @__PURE__ */ number$2(),
50553
+ include_assignees: /* @__PURE__ */ unknown$1(),
50554
+ include_drafts: /* @__PURE__ */ unknown$1(),
50555
+ include_unassigned: /* @__PURE__ */ unknown$1(),
50556
+ include_unmaterialized: /* @__PURE__ */ unknown$1(),
50557
+ min_days: /* @__PURE__ */ unknown$1(),
50558
+ name: /* @__PURE__ */ unknown$1(),
50559
+ priority: /* @__PURE__ */ unknown$1(),
50560
+ private_: /* @__PURE__ */ unknown$1(),
50561
+ project_id: /* @__PURE__ */ number$2(),
50562
+ source: /* @__PURE__ */ unknown$1(),
50563
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
50564
+ start_date_from: /* @__PURE__ */ unknown$1(),
50565
+ start_date_to: /* @__PURE__ */ unknown$1(),
50566
+ status_id: /* @__PURE__ */ number$2(),
50567
+ tag_id: /* @__PURE__ */ number$2(),
50568
+ team_id: /* @__PURE__ */ number$2(),
50569
+ user_cf_filter: /* @__PURE__ */ unknown$1(),
50570
+ user_tag_id: /* @__PURE__ */ number$2()
50571
+ }),
50572
+ execute: (input, { client }) => {
50573
+ const data = input;
50574
+ return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
50575
+ client.httpClient,
50576
+ client.organizationId,
50577
+ client.workspaceIdNumber,
50578
+ data,
50579
+ void 0
50580
+ ]));
50581
+ }
50582
+ },
50583
+ {
50584
+ id: "focus.tasks.groups-get-user-task-groups-by-team",
50585
+ family: "focus",
50586
+ resource: "tasks",
50587
+ action: "groups-get-user-task-groups-by-team",
50588
+ title: "Groups Get User Task Groups By Team Tasks",
50589
+ description: "Groups Get User Task Groups By Team Tasks.",
50590
+ safety: "read",
50591
+ destructive: false,
50592
+ cli: {
50593
+ group: ["tasks", "groups"],
50594
+ command: "get-user-task-groups-by-team",
50595
+ interactive: "hidden"
50596
+ },
50597
+ mcp: { entityTool: "tasks" },
50598
+ inputSchema: /* @__PURE__ */ looseObject({
50599
+ assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50600
+ cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50601
+ client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50602
+ collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50603
+ creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50604
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50605
+ end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50606
+ end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50607
+ exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50608
+ group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50609
+ include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50610
+ include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50611
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50612
+ include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50613
+ min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50614
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50615
+ priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50616
+ private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50617
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50618
+ source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50619
+ start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50620
+ start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50621
+ start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50622
+ status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50623
+ tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50624
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50625
+ user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50626
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50627
+ }),
50628
+ execute: (input, { client }) => {
50629
+ const data = input;
50630
+ return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
50631
+ client.httpClient,
50632
+ client.organizationId,
50633
+ client.workspaceIdNumber,
50634
+ data,
50635
+ void 0
50636
+ ]));
50637
+ }
50638
+ },
49610
50639
  {
49611
50640
  id: "focus.tasks.groups-update",
49612
50641
  family: "focus",
@@ -49812,7 +50841,6 @@ const generatedFocusOperations = [
49812
50841
  name: /* @__PURE__ */ string$1(),
49813
50842
  status_id: /* @__PURE__ */ number$2(),
49814
50843
  auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
49815
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
49816
50844
  color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
49817
50845
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49818
50846
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -49832,6 +50860,7 @@ const generatedFocusOperations = [
49832
50860
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
49833
50861
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49834
50862
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50863
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
49835
50864
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
49836
50865
  }),
49837
50866
  task_id: /* @__PURE__ */ number$2()
@@ -50742,6 +51771,40 @@ const generatedFocusOperations = [
50742
51771
  ]));
50743
51772
  }
50744
51773
  },
51774
+ {
51775
+ id: "focus.time-entries.groups-get-users",
51776
+ family: "focus",
51777
+ resource: "time-entries",
51778
+ action: "groups-get-users",
51779
+ title: "Groups Get Users Time Entries",
51780
+ description: "Groups Get Users Time Entries.",
51781
+ safety: "read",
51782
+ destructive: false,
51783
+ cli: {
51784
+ group: ["time-entries", "groups"],
51785
+ command: "get-users",
51786
+ interactive: "hidden"
51787
+ },
51788
+ mcp: { entityTool: "time-entries" },
51789
+ inputSchema: /* @__PURE__ */ looseObject({
51790
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51791
+ order_by: /* @__PURE__ */ unknown$1(),
51792
+ page: /* @__PURE__ */ number$2(),
51793
+ per_page: /* @__PURE__ */ unknown$1(),
51794
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51795
+ user_id: /* @__PURE__ */ number$2()
51796
+ }),
51797
+ execute: (input, { client }) => {
51798
+ const data = input;
51799
+ return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
51800
+ client.httpClient,
51801
+ client.organizationId,
51802
+ client.workspaceIdNumber,
51803
+ data,
51804
+ void 0
51805
+ ]));
51806
+ }
51807
+ },
50745
51808
  {
50746
51809
  id: "focus.time-entries.list",
50747
51810
  family: "focus",
@@ -50926,6 +51989,42 @@ const generatedFocusOperations = [
50926
51989
  inputSchema: emptySchema$1,
50927
51990
  execute: (_input, { client }) => client.stopTracking()
50928
51991
  },
51992
+ {
51993
+ id: "focus.time-entries.sync",
51994
+ family: "focus",
51995
+ resource: "time-entries",
51996
+ action: "sync",
51997
+ title: "Sync Time Entries",
51998
+ description: "Sync Time Entries.",
51999
+ safety: "update",
52000
+ destructive: false,
52001
+ cli: {
52002
+ group: ["time-entries"],
52003
+ command: "sync",
52004
+ interactive: "default"
52005
+ },
52006
+ mcp: { entityTool: "time-entries" },
52007
+ inputSchema: /* @__PURE__ */ looseObject({
52008
+ client_uuid: /* @__PURE__ */ string$1(),
52009
+ payload: /* @__PURE__ */ looseObject({
52010
+ billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
52011
+ client_updated_at: apiDateTimeString,
52012
+ type: /* @__PURE__ */ picklist$1(["activity", "break"]),
52013
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
52014
+ })
52015
+ }),
52016
+ execute: (input, { client }) => {
52017
+ const data = input;
52018
+ return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
52019
+ client.httpClient,
52020
+ client.organizationId,
52021
+ client.workspaceIdNumber,
52022
+ data.client_uuid,
52023
+ data.payload ?? data.data ?? data,
52024
+ void 0
52025
+ ]));
52026
+ }
52027
+ },
50929
52028
  {
50930
52029
  id: "focus.time-entries.tracking-get-tracked-time-entry",
50931
52030
  family: "focus",
@@ -50974,6 +52073,7 @@ const generatedFocusOperations = [
50974
52073
  create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50975
52074
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50976
52075
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52076
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50977
52077
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50978
52078
  extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
50979
52079
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -51032,125 +52132,37 @@ const generatedFocusOperations = [
51032
52132
  resource: "time-entries",
51033
52133
  action: "update",
51034
52134
  title: "Update Time Entries",
51035
- description: "Update Time Entries.",
51036
- safety: "update",
51037
- destructive: false,
51038
- cli: {
51039
- group: ["time-entries"],
51040
- command: "update",
51041
- interactive: "default"
51042
- },
51043
- mcp: { entityTool: "time-entries" },
51044
- inputSchema: /* @__PURE__ */ looseObject({
51045
- payload: /* @__PURE__ */ looseObject({
51046
- type: /* @__PURE__ */ picklist$1(["activity", "break"]),
51047
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51048
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51049
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51050
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51051
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51052
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51053
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
51054
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51055
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
51056
- }),
51057
- time_entry_id: /* @__PURE__ */ number$2()
51058
- }),
51059
- execute: (input, { client }) => {
51060
- const data = input;
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",
52135
+ description: "Update Time Entries.",
52136
+ safety: "update",
51136
52137
  destructive: false,
51137
52138
  cli: {
51138
- group: ["time-off"],
51139
- command: "create-timeoff-for-ghost",
51140
- interactive: "hidden"
52139
+ group: ["time-entries"],
52140
+ command: "update",
52141
+ interactive: "default"
51141
52142
  },
51142
- mcp: { entityTool: "time-off" },
52143
+ mcp: { entityTool: "time-entries" },
51143
52144
  inputSchema: /* @__PURE__ */ looseObject({
51144
- ghost_id: /* @__PURE__ */ number$2(),
51145
- payload: /* @__PURE__ */ unknown$1()
52145
+ payload: /* @__PURE__ */ looseObject({
52146
+ type: /* @__PURE__ */ picklist$1(["activity", "break"]),
52147
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52148
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52149
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52150
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
52151
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52152
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52153
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
52154
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52155
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
52156
+ }),
52157
+ time_entry_id: /* @__PURE__ */ number$2()
51146
52158
  }),
51147
52159
  execute: (input, { client }) => {
51148
52160
  const data = input;
51149
- return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
52161
+ return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
51150
52162
  client.httpClient,
51151
52163
  client.organizationId,
51152
52164
  client.workspaceIdNumber,
51153
- data.ghost_id,
52165
+ data.time_entry_id,
51154
52166
  data.payload ?? data.data ?? data,
51155
52167
  void 0
51156
52168
  ]));
@@ -51186,37 +52198,6 @@ const generatedFocusOperations = [
51186
52198
  ]));
51187
52199
  }
51188
52200
  },
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, [
51211
- client.httpClient,
51212
- client.organizationId,
51213
- client.workspaceIdNumber,
51214
- data.ghost_id,
51215
- data.payload ?? data.data ?? data,
51216
- void 0
51217
- ]));
51218
- }
51219
- },
51220
52201
  {
51221
52202
  id: "focus.time-off.delete-timeoff-for-user",
51222
52203
  family: "focus",
@@ -51247,38 +52228,6 @@ const generatedFocusOperations = [
51247
52228
  ]));
51248
52229
  }
51249
52230
  },
51250
- {
51251
- id: "focus.time-off.get-timeoff-for-ghost",
51252
- family: "focus",
51253
- resource: "time-off",
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,
51259
- cli: {
51260
- group: ["time-off"],
51261
- command: "get-timeoff-for-ghost",
51262
- interactive: "hidden"
51263
- },
51264
- mcp: { entityTool: "time-off" },
51265
- inputSchema: /* @__PURE__ */ looseObject({
51266
- from: /* @__PURE__ */ unknown$1(),
51267
- ghost_id: /* @__PURE__ */ number$2(),
51268
- to: /* @__PURE__ */ unknown$1()
51269
- }),
51270
- execute: (input, { client }) => {
51271
- const data = input;
51272
- return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
51273
- client.httpClient,
51274
- client.organizationId,
51275
- client.workspaceIdNumber,
51276
- data.ghost_id,
51277
- data,
51278
- void 0
51279
- ]));
51280
- }
51281
- },
51282
52231
  {
51283
52232
  id: "focus.time-off.get-timeoff-for-user",
51284
52233
  family: "focus",
@@ -51310,37 +52259,6 @@ const generatedFocusOperations = [
51310
52259
  ]));
51311
52260
  }
51312
52261
  },
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
- },
51344
52262
  {
51345
52263
  id: "focus.time-off.get-timeoffs-by-user-ids",
51346
52264
  family: "focus",
@@ -51371,37 +52289,6 @@ const generatedFocusOperations = [
51371
52289
  ]));
51372
52290
  }
51373
52291
  },
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
- },
51405
52292
  {
51406
52293
  id: "focus.time-off.update-timeoff-for-user",
51407
52294
  family: "focus",
@@ -52433,6 +53320,7 @@ const generatedFocusOperations = [
52433
53320
  pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52434
53321
  pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52435
53322
  pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53323
+ send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52436
53324
  send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52437
53325
  shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52438
53326
  show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -52534,37 +53422,6 @@ const generatedFocusOperations = [
52534
53422
  inputSchema: /* @__PURE__ */ looseObject({}),
52535
53423
  execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
52536
53424
  },
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
- },
52568
53425
  {
52569
53426
  id: "focus.working-hours.create-for-user",
52570
53427
  family: "focus",
@@ -52595,37 +53452,6 @@ const generatedFocusOperations = [
52595
53452
  ]));
52596
53453
  }
52597
53454
  },
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
- },
52629
53455
  {
52630
53456
  id: "focus.working-hours.delete-for-user",
52631
53457
  family: "focus",
@@ -52656,33 +53482,6 @@ const generatedFocusOperations = [
52656
53482
  ]));
52657
53483
  }
52658
53484
  },
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
- },
52686
53485
  {
52687
53486
  id: "focus.working-hours.get-for-user",
52688
53487
  family: "focus",
@@ -52709,37 +53508,6 @@ const generatedFocusOperations = [
52709
53508
  ]));
52710
53509
  }
52711
53510
  },
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
- },
52743
53511
  {
52744
53512
  id: "focus.working-hours.update-for-user",
52745
53513
  family: "focus",
@@ -52814,6 +53582,50 @@ const generatedFocusOperations = [
52814
53582
  void 0
52815
53583
  ]))
52816
53584
  },
53585
+ {
53586
+ id: "focus.workspace-settings.get-workspace-export-branding",
53587
+ family: "focus",
53588
+ resource: "workspace-settings",
53589
+ action: "get-workspace-export-branding",
53590
+ title: "Get Workspace Export Branding Workspace Settings",
53591
+ description: "Get Workspace Export Branding Workspace Settings.",
53592
+ safety: "read",
53593
+ destructive: false,
53594
+ cli: {
53595
+ group: ["workspace-settings"],
53596
+ command: "get-workspace-export-branding",
53597
+ interactive: "hidden"
53598
+ },
53599
+ mcp: { entityTool: "workspace-settings" },
53600
+ inputSchema: /* @__PURE__ */ looseObject({}),
53601
+ execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
53602
+ client.httpClient,
53603
+ client.workspaceIdNumber,
53604
+ void 0
53605
+ ]))
53606
+ },
53607
+ {
53608
+ id: "focus.workspace-settings.get-workspace-watermark",
53609
+ family: "focus",
53610
+ resource: "workspace-settings",
53611
+ action: "get-workspace-watermark",
53612
+ title: "Get Workspace Watermark Workspace Settings",
53613
+ description: "Get Workspace Watermark Workspace Settings.",
53614
+ safety: "read",
53615
+ destructive: false,
53616
+ cli: {
53617
+ group: ["workspace-settings"],
53618
+ command: "get-workspace-watermark",
53619
+ interactive: "hidden"
53620
+ },
53621
+ mcp: { entityTool: "workspace-settings" },
53622
+ inputSchema: /* @__PURE__ */ looseObject({}),
53623
+ execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
53624
+ client.httpClient,
53625
+ client.workspaceIdNumber,
53626
+ void 0
53627
+ ]))
53628
+ },
52817
53629
  {
52818
53630
  id: "focus.workspace-settings.list",
52819
53631
  family: "focus",
@@ -52888,6 +53700,32 @@ const generatedFocusOperations = [
52888
53700
  ]));
52889
53701
  }
52890
53702
  },
53703
+ {
53704
+ id: "focus.workspace-settings.update-workspace-watermark",
53705
+ family: "focus",
53706
+ resource: "workspace-settings",
53707
+ action: "update-workspace-watermark",
53708
+ title: "Update Workspace Watermark Workspace Settings",
53709
+ description: "Update Workspace Watermark Workspace Settings.",
53710
+ safety: "update",
53711
+ destructive: false,
53712
+ cli: {
53713
+ group: ["workspace-settings"],
53714
+ command: "update-workspace-watermark",
53715
+ interactive: "default"
53716
+ },
53717
+ mcp: { entityTool: "workspace-settings" },
53718
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
53719
+ execute: (input, { client }) => {
53720
+ const data = input;
53721
+ return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
53722
+ client.httpClient,
53723
+ client.workspaceIdNumber,
53724
+ data.payload ?? data.data ?? data,
53725
+ void 0
53726
+ ]));
53727
+ }
53728
+ },
52891
53729
  {
52892
53730
  id: "focus.workspace.get-context",
52893
53731
  family: "focus",
@@ -54015,7 +54853,7 @@ function registerWorkspaceTools(server) {
54015
54853
  //#region src/package-version.ts
54016
54854
  function mcpPackageVersion() {
54017
54855
  try {
54018
- return "1.11.12";
54856
+ return "1.11.14";
54019
54857
  } catch {
54020
54858
  return "unknown";
54021
54859
  }
@@ -54190,7 +55028,7 @@ import_main.default.config({
54190
55028
  quiet: true,
54191
55029
  ignore: ["MISSING_ENV_FILE"]
54192
55030
  });
54193
- const packageVersion = "1.11.12";
55031
+ const packageVersion = "1.11.14";
54194
55032
  function resolvePublicUrls() {
54195
55033
  return {
54196
55034
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -54255,4 +55093,4 @@ function bootstrapServer(options = {}) {
54255
55093
  //#endregion
54256
55094
  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 };
54257
55095
 
54258
- //# sourceMappingURL=src-DNTw3ng1.js.map
55096
+ //# sourceMappingURL=src-CTbhHWeZ.js.map