@togglhq/mcp 1.11.174 → 1.11.176

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.
@@ -34645,11 +34645,7 @@ function safeParse(schema, input, config$1) {
34645
34645
  }
34646
34646
  const TaskAssignmentSchema = /* @__PURE__ */ object({
34647
34647
  id: /* @__PURE__ */ number(),
34648
- type: /* @__PURE__ */ picklist([
34649
- "user",
34650
- "ghost",
34651
- "team"
34652
- ])
34648
+ type: /* @__PURE__ */ picklist(["user", "team"])
34653
34649
  });
34654
34650
  const ClientLiteSchema = /* @__PURE__ */ object({
34655
34651
  id: /* @__PURE__ */ number(),
@@ -34691,7 +34687,8 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
34691
34687
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34692
34688
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
34693
34689
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34694
- rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
34690
+ rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
34691
+ 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.")))
34695
34692
  });
34696
34693
  const TaskMetadataSchema = /* @__PURE__ */ object({
34697
34694
  all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -34764,7 +34761,7 @@ const TaskSchema = /* @__PURE__ */ object({
34764
34761
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
34765
34762
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
34766
34763
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34767
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34764
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
34768
34765
  client: /* @__PURE__ */ optional(ClientLiteSchema),
34769
34766
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34770
34767
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -34772,7 +34769,6 @@ const TaskSchema = /* @__PURE__ */ object({
34772
34769
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34773
34770
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34774
34771
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34775
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
34776
34772
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34777
34773
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34778
34774
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -34782,6 +34778,7 @@ const TaskSchema = /* @__PURE__ */ object({
34782
34778
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34783
34779
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34784
34780
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34781
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34785
34782
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34786
34783
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34787
34784
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -34825,7 +34822,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34825
34822
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
34826
34823
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
34827
34824
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34828
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34825
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
34829
34826
  client: /* @__PURE__ */ optional(ClientLiteSchema),
34830
34827
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34831
34828
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -34833,7 +34830,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34833
34830
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34834
34831
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34835
34832
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34836
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
34837
34833
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34838
34834
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34839
34835
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -34844,6 +34840,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34844
34840
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34845
34841
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34846
34842
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34843
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34847
34844
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34848
34845
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34849
34846
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -35002,7 +34999,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
35002
34999
  tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
35003
35000
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35004
35001
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35005
- 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."))),
35002
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
35006
35003
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35007
35004
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
35008
35005
  });
@@ -35146,7 +35143,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
35146
35143
  task: /* @__PURE__ */ optional(TaskSchema),
35147
35144
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35148
35145
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35149
- 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."))),
35146
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
35150
35147
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35151
35148
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
35152
35149
  })),
@@ -35158,9 +35155,15 @@ const TagSchema$1 = /* @__PURE__ */ object({
35158
35155
  id: /* @__PURE__ */ number(),
35159
35156
  name: /* @__PURE__ */ string(),
35160
35157
  workspace_id: /* @__PURE__ */ number(),
35158
+ 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."))),
35161
35159
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35162
35160
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35163
- updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
35161
+ updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35162
+ usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
35163
+ projects: /* @__PURE__ */ number(),
35164
+ tasks: /* @__PURE__ */ number(),
35165
+ time_entries: /* @__PURE__ */ number()
35166
+ })), /* @__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.")))
35164
35167
  });
35165
35168
  const PaginatedTagsSchema = /* @__PURE__ */ object({
35166
35169
  data: /* @__PURE__ */ array(TagSchema$1),
@@ -35171,8 +35174,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
35171
35174
  const OrganizationUserResponseSchema = /* @__PURE__ */ object({
35172
35175
  "2fa_enabled": /* @__PURE__ */ boolean(),
35173
35176
  account_locked_at: /* @__PURE__ */ string(),
35177
+ accounts_role_id: /* @__PURE__ */ number(),
35174
35178
  active: /* @__PURE__ */ boolean(),
35175
- admin: /* @__PURE__ */ boolean(),
35176
35179
  can_edit_personal_details: /* @__PURE__ */ boolean(),
35177
35180
  created_at: /* @__PURE__ */ string(),
35178
35181
  deleted_at: /* @__PURE__ */ string(),
@@ -35221,7 +35224,9 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
35221
35224
  track_role_id: /* @__PURE__ */ number(),
35222
35225
  work_role_id: /* @__PURE__ */ number(),
35223
35226
  workspace_user_id: /* @__PURE__ */ number()
35224
- }))
35227
+ })),
35228
+ custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
35229
+ 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.")))
35225
35230
  });
35226
35231
  const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35227
35232
  const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
@@ -35298,8 +35303,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35298
35303
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35299
35304
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35300
35305
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35301
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35302
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35306
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
35303
35307
  integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35304
35308
  integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35305
35309
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -35315,6 +35319,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35315
35319
  priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35316
35320
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35317
35321
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35322
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35318
35323
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35319
35324
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35320
35325
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -35324,22 +35329,23 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35324
35329
  const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35325
35330
  const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
35326
35331
  cascade_duplicate_children: /* @__PURE__ */ boolean(),
35327
- task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
35332
+ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)),
35333
+ 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.")))
35328
35334
  });
35329
35335
  const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35330
35336
  const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35331
35337
  const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35338
+ after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35332
35339
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
35333
35340
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35334
35341
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35335
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35342
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35336
35343
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35337
35344
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
35338
35345
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35339
35346
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35340
35347
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35341
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35342
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35348
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
35343
35349
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35344
35350
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35345
35351
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35356,6 +35362,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35356
35362
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35357
35363
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35358
35364
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35365
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35359
35366
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35360
35367
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35361
35368
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -35364,17 +35371,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35364
35371
  });
35365
35372
  const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35366
35373
  id: /* @__PURE__ */ number(),
35374
+ after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35367
35375
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
35368
35376
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35369
35377
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35370
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35378
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35371
35379
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35372
35380
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
35373
35381
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35374
35382
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35375
35383
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35376
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35377
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35384
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
35378
35385
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35379
35386
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35380
35387
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35391,6 +35398,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35391
35398
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35392
35399
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35393
35400
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35401
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35394
35402
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35395
35403
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35396
35404
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -37314,7 +37322,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
37314
37322
  })
37315
37323
  }).json();
37316
37324
  }
37317
- 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) {
37325
+ 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) {
37318
37326
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
37319
37327
  signal,
37320
37328
  searchParams: buildSearchParams$2({
@@ -37334,7 +37342,10 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
37334
37342
  include_working_hours,
37335
37343
  include_rates,
37336
37344
  pinned_ids,
37337
- has_group
37345
+ has_group,
37346
+ cf_filter,
37347
+ include_custom_fields,
37348
+ include_calendar_integration
37338
37349
  }, true)
37339
37350
  });
37340
37351
  return withResponseMeta(await response.json(), response.headers, response.status);
@@ -37353,7 +37364,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
37353
37364
  }
37354
37365
  //#endregion
37355
37366
  //#region ../focus-queries/dist/tags/requests.ts
37356
- async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
37367
+ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
37357
37368
  return await httpClient.get(`workspaces/${workspace_id}/tags`, {
37358
37369
  signal,
37359
37370
  searchParams: buildSearchParams$2({
@@ -37361,7 +37372,10 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
37361
37372
  page,
37362
37373
  per_page,
37363
37374
  order_by,
37364
- tag_id
37375
+ tag_id,
37376
+ include_usage,
37377
+ include_archived,
37378
+ archived
37365
37379
  })
37366
37380
  }).json();
37367
37381
  }
@@ -37371,6 +37385,42 @@ async function createTag(httpClient, workspace_id, data, signal) {
37371
37385
  json: data
37372
37386
  }).json();
37373
37387
  }
37388
+ async function bulkCreateTags(httpClient, workspace_id, data, signal) {
37389
+ return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
37390
+ signal,
37391
+ json: data
37392
+ }).json();
37393
+ }
37394
+ async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
37395
+ return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
37396
+ signal,
37397
+ searchParams: buildSearchParams$2({ ids })
37398
+ }).json();
37399
+ }
37400
+ async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
37401
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
37402
+ signal,
37403
+ json: data
37404
+ }).json();
37405
+ }
37406
+ async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
37407
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
37408
+ signal,
37409
+ json: data
37410
+ }).json();
37411
+ }
37412
+ async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
37413
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
37414
+ signal,
37415
+ json: data
37416
+ }).json();
37417
+ }
37418
+ async function mergeTags(httpClient, workspace_id, data, signal) {
37419
+ return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
37420
+ signal,
37421
+ json: data
37422
+ }).json();
37423
+ }
37374
37424
  async function getTag(httpClient, workspace_id, tag_id, signal) {
37375
37425
  return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
37376
37426
  }
@@ -37383,12 +37433,18 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
37383
37433
  async function deleteTag(httpClient, workspace_id, tag_id, signal) {
37384
37434
  return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
37385
37435
  }
37436
+ async function archiveTag(httpClient, workspace_id, tag_id, signal) {
37437
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
37438
+ }
37386
37439
  async function restoreTag(httpClient, workspace_id, tag_id, signal) {
37387
37440
  return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
37388
37441
  }
37442
+ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
37443
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
37444
+ }
37389
37445
  //#endregion
37390
37446
  //#region ../focus-queries/dist/projects/requests.ts
37391
- 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) {
37447
+ 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) {
37392
37448
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37393
37449
  signal,
37394
37450
  searchParams: buildSearchParams$2({
@@ -37410,6 +37466,7 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
37410
37466
  include_rates,
37411
37467
  include_rollover,
37412
37468
  include_idle_recurring_templates,
37469
+ collapse_recurring,
37413
37470
  include_drafts,
37414
37471
  include_locked_private,
37415
37472
  start_date,
@@ -37640,7 +37697,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
37640
37697
  }
37641
37698
  //#endregion
37642
37699
  //#region ../focus-queries/dist/tasks/requests.ts
37643
- 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) {
37700
+ 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) {
37644
37701
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
37645
37702
  signal,
37646
37703
  searchParams: buildSearchParams$2({
@@ -37688,10 +37745,8 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37688
37745
  recurring_task_ids,
37689
37746
  client_id,
37690
37747
  include_rates,
37691
- include_ghost_assignees,
37692
37748
  include_assignees,
37693
37749
  include_parent_matches,
37694
- assignee_ghost_id,
37695
37750
  disable_aggregations,
37696
37751
  cf_filter
37697
37752
  })
@@ -37777,7 +37832,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
37777
37832
  })
37778
37833
  }).json();
37779
37834
  }
37780
- 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) {
37835
+ 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) {
37781
37836
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
37782
37837
  signal,
37783
37838
  searchParams: buildSearchParams$2({
@@ -37790,14 +37845,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
37790
37845
  dates_overlap_end,
37791
37846
  recurring_task_ids,
37792
37847
  team_id,
37848
+ assignee_team_id,
37793
37849
  assignee_user_id,
37794
37850
  tag_id,
37795
- include_ghost_assignees,
37796
37851
  include_assignees
37797
37852
  })
37798
37853
  }).json();
37799
37854
  }
37800
- 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) {
37855
+ 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) {
37801
37856
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
37802
37857
  signal,
37803
37858
  searchParams: buildSearchParams$2({
@@ -37841,20 +37896,15 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37841
37896
  recurring,
37842
37897
  recurring_task_ids,
37843
37898
  client_id,
37844
- include_ghost_assignees,
37845
37899
  include_assignees,
37846
- assignee_ghost_id,
37847
37900
  cf_filter
37848
37901
  })
37849
37902
  }).json();
37850
37903
  }
37851
- async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
37904
+ async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
37852
37905
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
37853
37906
  signal,
37854
- searchParams: buildSearchParams$2({
37855
- include_ghost_assignees,
37856
- include_assignees
37857
- })
37907
+ searchParams: buildSearchParams$2({ include_assignees })
37858
37908
  }).json();
37859
37909
  }
37860
37910
  async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
@@ -37885,7 +37935,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
37885
37935
  searchParams: buildSearchParams$2({ from_recurring_task_id })
37886
37936
  }).json();
37887
37937
  }
37888
- 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) {
37938
+ 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) {
37889
37939
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
37890
37940
  signal,
37891
37941
  searchParams: buildSearchParams$2({
@@ -37898,12 +37948,11 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
37898
37948
  team_id,
37899
37949
  assignee_user_id,
37900
37950
  tag_id,
37901
- include_ghost_assignees,
37902
37951
  include_assignees
37903
37952
  })
37904
37953
  }).json();
37905
37954
  }
37906
- 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) {
37955
+ 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) {
37907
37956
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
37908
37957
  signal,
37909
37958
  searchParams: buildSearchParams$2({
@@ -37916,7 +37965,6 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
37916
37965
  team_id,
37917
37966
  assignee_user_id,
37918
37967
  tag_id,
37919
- include_ghost_assignees,
37920
37968
  include_assignees
37921
37969
  })
37922
37970
  }).json();
@@ -38018,6 +38066,12 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
38018
38066
  })
38019
38067
  }).json();
38020
38068
  }
38069
+ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
38070
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
38071
+ signal,
38072
+ json: data
38073
+ }).json();
38074
+ }
38021
38075
  async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
38022
38076
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
38023
38077
  signal,
@@ -38155,7 +38209,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38155
38209
  ]))
38156
38210
  });
38157
38211
  //#endregion
38158
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38212
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.151_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6d8aec7f704b44730a48135b812694a/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38159
38213
  async function getInvitations(httpClient, signal) {
38160
38214
  return (await httpClient.get(`invitations`, { signal })).json();
38161
38215
  }
@@ -38172,7 +38226,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38172
38226
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38173
38227
  }
38174
38228
  //#endregion
38175
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38229
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.151_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6d8aec7f704b44730a48135b812694a/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38176
38230
  function buildSearchParams(params, flattenArrays = false) {
38177
38231
  const searchParams = new URLSearchParams();
38178
38232
  Object.entries(params).forEach(([key, value]) => {
@@ -38184,7 +38238,7 @@ function buildSearchParams(params, flattenArrays = false) {
38184
38238
  return searchParams;
38185
38239
  }
38186
38240
  //#endregion
38187
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38241
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.151_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6d8aec7f704b44730a48135b812694a/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38188
38242
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38189
38243
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38190
38244
  }
@@ -38198,7 +38252,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38198
38252
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38199
38253
  }
38200
38254
  //#endregion
38201
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38255
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.151_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6d8aec7f704b44730a48135b812694a/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38202
38256
  async function getWorkspaces(httpClient, organization_id, signal) {
38203
38257
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38204
38258
  }
@@ -38218,7 +38272,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38218
38272
  });
38219
38273
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38220
38274
  //#endregion
38221
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38275
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.151_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6d8aec7f704b44730a48135b812694a/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38222
38276
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38223
38277
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38224
38278
  signal,
@@ -38229,12 +38283,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38229
38283
  })).json();
38230
38284
  }
38231
38285
  //#endregion
38232
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38286
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.151_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6d8aec7f704b44730a48135b812694a/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38233
38287
  async function getStatus(httpClient, signal) {
38234
38288
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38235
38289
  }
38236
38290
  //#endregion
38237
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38291
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.151_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6d8aec7f704b44730a48135b812694a/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38238
38292
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38239
38293
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38240
38294
  signal,
@@ -38262,7 +38316,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38262
38316
  return response.json();
38263
38317
  }
38264
38318
  //#endregion
38265
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.150_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e31688e61487520a7a61a135da51d4a7/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38319
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.151_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6d8aec7f704b44730a48135b812694a/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38266
38320
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38267
38321
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38268
38322
  }
@@ -41866,6 +41920,21 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
41866
41920
  }
41867
41921
  //#endregion
41868
41922
  //#region ../focus-queries/dist/audit-log/requests.ts
41923
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
41924
+ return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
41925
+ signal,
41926
+ searchParams: buildSearchParams$2({
41927
+ workspace_id,
41928
+ entity_type,
41929
+ entity_id,
41930
+ action,
41931
+ user_id,
41932
+ page_size,
41933
+ page_number,
41934
+ export: export_
41935
+ })
41936
+ }).json();
41937
+ }
41869
41938
  async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
41870
41939
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
41871
41940
  signal,
@@ -42024,33 +42093,22 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
42024
42093
  }
42025
42094
  //#endregion
42026
42095
  //#region ../focus-queries/dist/capacities/requests.ts
42027
- 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) {
42096
+ 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) {
42028
42097
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
42029
42098
  signal,
42030
42099
  searchParams: buildSearchParams$2({
42031
42100
  user_id,
42032
42101
  start_date,
42033
42102
  end_date,
42034
- ghost_id,
42035
42103
  private: private_,
42036
42104
  task_source,
42037
42105
  unit,
42038
- include_drafts
42106
+ include_drafts,
42107
+ include_task_estimates
42039
42108
  })
42040
42109
  }).json();
42041
42110
  }
42042
42111
  //#endregion
42043
- //#region ../focus-queries/dist/capacity-settings/requests.ts
42044
- async function getCapacitySettings(httpClient, workspace_id, signal) {
42045
- return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
42046
- }
42047
- async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
42048
- return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
42049
- signal,
42050
- json: data
42051
- }).json();
42052
- }
42053
- //#endregion
42054
42112
  //#region ../focus-queries/dist/composite/requests.ts
42055
42113
  async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
42056
42114
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
@@ -42133,6 +42191,12 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
42133
42191
  async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
42134
42192
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
42135
42193
  }
42194
+ async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
42195
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
42196
+ signal,
42197
+ json: data
42198
+ }).json();
42199
+ }
42136
42200
  //#endregion
42137
42201
  //#region ../focus-queries/dist/goals/requests.ts
42138
42202
  async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
@@ -42358,7 +42422,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
42358
42422
  }
42359
42423
  //#endregion
42360
42424
  //#region ../focus-queries/dist/project-groups/requests.ts
42361
- 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) {
42425
+ 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) {
42362
42426
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
42363
42427
  signal,
42364
42428
  searchParams: buildSearchParams$2({
@@ -42370,6 +42434,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42370
42434
  include_group_totals,
42371
42435
  include_unassigned,
42372
42436
  archived,
42437
+ completed,
42373
42438
  private: private_,
42374
42439
  name,
42375
42440
  client_id,
@@ -42381,6 +42446,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42381
42446
  start_date,
42382
42447
  end_date,
42383
42448
  user_id,
42449
+ only_me,
42384
42450
  include_drafts,
42385
42451
  cf_filter
42386
42452
  })
@@ -42496,10 +42562,14 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
42496
42562
  }
42497
42563
  //#endregion
42498
42564
  //#region ../focus-queries/dist/reports/requests.ts
42499
- async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
42565
+ async function getForecastAvailability(httpClient, workspace_id, signal) {
42566
+ return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
42567
+ }
42568
+ async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
42500
42569
  return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
42501
42570
  signal,
42502
42571
  json: data,
42572
+ headers: { "X-Toggl-Report-Export": xTogglReportExport },
42503
42573
  searchParams: buildSearchParams$2({
42504
42574
  response_format,
42505
42575
  include_dicts
@@ -42523,12 +42593,36 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
42523
42593
  json: data
42524
42594
  }).json();
42525
42595
  }
42526
- async function getWorkloadReport(httpClient, workspace_id, data, signal) {
42596
+ async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
42597
+ return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
42598
+ signal,
42599
+ json: data
42600
+ }).json();
42601
+ }
42602
+ async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
42527
42603
  return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
42604
+ signal,
42605
+ json: data,
42606
+ headers: { "X-Toggl-Report-Export": xTogglReportExport }
42607
+ }).json();
42608
+ }
42609
+ //#endregion
42610
+ //#region ../focus-queries/dist/reportschedules/requests.ts
42611
+ async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
42612
+ return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
42613
+ signal,
42614
+ json: data
42615
+ }).json();
42616
+ }
42617
+ async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
42618
+ return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
42528
42619
  signal,
42529
42620
  json: data
42530
42621
  }).json();
42531
42622
  }
42623
+ async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
42624
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
42625
+ }
42532
42626
  //#endregion
42533
42627
  //#region ../focus-queries/dist/savedviews/requests.ts
42534
42628
  async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
@@ -42561,7 +42655,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
42561
42655
  }
42562
42656
  //#endregion
42563
42657
  //#region ../focus-queries/dist/search/requests.ts
42564
- 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) {
42658
+ 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) {
42565
42659
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
42566
42660
  signal,
42567
42661
  searchParams: buildSearchParams$2({
@@ -42573,11 +42667,56 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
42573
42667
  task_id,
42574
42668
  include_drafts,
42575
42669
  exclude_calendar_events,
42576
- group_by_tags
42670
+ group_by_tags,
42671
+ only_me
42672
+ })
42673
+ }).json();
42674
+ }
42675
+ async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
42676
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
42677
+ signal,
42678
+ searchParams: buildSearchParams$2({
42679
+ keyword,
42680
+ per_group
42577
42681
  })
42578
42682
  }).json();
42579
42683
  }
42580
42684
  //#endregion
42685
+ //#region ../focus-queries/dist/sharedreports/requests.ts
42686
+ async function shareSavedView(httpClient, workspace_id, id, data, signal) {
42687
+ return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
42688
+ signal,
42689
+ json: data
42690
+ }).json();
42691
+ }
42692
+ async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
42693
+ return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
42694
+ }
42695
+ async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
42696
+ return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
42697
+ signal,
42698
+ json: data
42699
+ }).json();
42700
+ }
42701
+ async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
42702
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
42703
+ }
42704
+ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
42705
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
42706
+ }
42707
+ async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
42708
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
42709
+ }
42710
+ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
42711
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
42712
+ signal,
42713
+ json: data
42714
+ }).json();
42715
+ }
42716
+ async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
42717
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
42718
+ }
42719
+ //#endregion
42581
42720
  //#region ../focus-queries/dist/subscriptions/requests.ts
42582
42721
  async function getCurrentSubscription(httpClient, organization_id, signal) {
42583
42722
  return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
@@ -42633,7 +42772,77 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
42633
42772
  }
42634
42773
  //#endregion
42635
42774
  //#region ../focus-queries/dist/task-groups/requests.ts
42636
- 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) {
42775
+ 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) {
42776
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
42777
+ signal,
42778
+ searchParams: buildSearchParams$2({
42779
+ project_id,
42780
+ source,
42781
+ priority,
42782
+ status_id,
42783
+ client_id,
42784
+ assignee_user_id,
42785
+ tag_id,
42786
+ team_id,
42787
+ user_tag_id,
42788
+ group_id,
42789
+ creator_id,
42790
+ name,
42791
+ start_date,
42792
+ end_date,
42793
+ start_date_from,
42794
+ start_date_to,
42795
+ end_date_from,
42796
+ end_date_to,
42797
+ private: private_,
42798
+ exclude_empty,
42799
+ include_unassigned,
42800
+ include_unmaterialized,
42801
+ collapse_recurring,
42802
+ include_assignees,
42803
+ min_days,
42804
+ include_drafts,
42805
+ cf_filter,
42806
+ user_cf_filter
42807
+ })
42808
+ }).json();
42809
+ }
42810
+ 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) {
42811
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
42812
+ signal,
42813
+ searchParams: buildSearchParams$2({
42814
+ team_id,
42815
+ project_id,
42816
+ source,
42817
+ priority,
42818
+ status_id,
42819
+ client_id,
42820
+ assignee_user_id,
42821
+ tag_id,
42822
+ user_tag_id,
42823
+ group_id,
42824
+ creator_id,
42825
+ name,
42826
+ start_date,
42827
+ end_date,
42828
+ start_date_from,
42829
+ start_date_to,
42830
+ end_date_from,
42831
+ end_date_to,
42832
+ private: private_,
42833
+ exclude_empty,
42834
+ include_unassigned,
42835
+ include_unmaterialized,
42836
+ collapse_recurring,
42837
+ include_assignees,
42838
+ min_days,
42839
+ include_drafts,
42840
+ cf_filter,
42841
+ user_cf_filter
42842
+ })
42843
+ }).json();
42844
+ }
42845
+ 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) {
42637
42846
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
42638
42847
  signal,
42639
42848
  searchParams: buildSearchParams$2({
@@ -42657,11 +42866,14 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
42657
42866
  end_date_to,
42658
42867
  private: private_,
42659
42868
  exclude_empty,
42660
- include_ghosts,
42869
+ include_unassigned,
42870
+ include_unmaterialized,
42871
+ collapse_recurring,
42661
42872
  include_assignees,
42662
42873
  min_days,
42663
42874
  include_drafts,
42664
42875
  cf_filter,
42876
+ user_cf_filter,
42665
42877
  page,
42666
42878
  per_page,
42667
42879
  order_by
@@ -42798,17 +43010,18 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
42798
43010
  }).json();
42799
43011
  }
42800
43012
  //#endregion
42801
- //#region ../focus-queries/dist/time-log-suggestions/requests.ts
42802
- async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
42803
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
43013
+ //#region ../focus-queries/dist/time-entry-groups/requests.ts
43014
+ async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
43015
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
42804
43016
  signal,
42805
- json: data
42806
- }).json();
42807
- }
42808
- async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
42809
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
42810
- signal,
42811
- json: data
43017
+ searchParams: buildSearchParams$2({
43018
+ start_date,
43019
+ end_date,
43020
+ user_id,
43021
+ page,
43022
+ per_page,
43023
+ order_by
43024
+ })
42812
43025
  }).json();
42813
43026
  }
42814
43027
  //#endregion
@@ -42850,43 +43063,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
42850
43063
  json: data
42851
43064
  }).json();
42852
43065
  }
42853
- async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
42854
- return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
42855
- signal,
42856
- searchParams: buildSearchParams$2({
42857
- ghost_ids,
42858
- start_date,
42859
- end_date
42860
- })
42861
- }).json();
42862
- }
42863
- async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
42864
- return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42865
- signal,
42866
- searchParams: buildSearchParams$2({
42867
- from,
42868
- to
42869
- })
42870
- }).json();
42871
- }
42872
- async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
42873
- return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42874
- signal,
42875
- json: data
42876
- }).json();
42877
- }
42878
- async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
42879
- return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42880
- signal,
42881
- json: data
42882
- }).json();
42883
- }
42884
- async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
42885
- return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42886
- signal,
42887
- json: data
42888
- }).json();
42889
- }
42890
43066
  //#endregion
42891
43067
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
42892
43068
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -43079,27 +43255,6 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
43079
43255
  json: data
43080
43256
  }).json();
43081
43257
  }
43082
- async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
43083
- return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
43084
- }
43085
- async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
43086
- return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
43087
- signal,
43088
- json: data
43089
- }).json();
43090
- }
43091
- async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
43092
- return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
43093
- signal,
43094
- json: data
43095
- }).json();
43096
- }
43097
- async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
43098
- return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
43099
- signal,
43100
- json: data
43101
- }).json();
43102
- }
43103
43258
  //#endregion
43104
43259
  //#region ../focus-queries/dist/workspace/requests.ts
43105
43260
  async function getWorkspaceContext(httpClient, workspace_id, signal) {
@@ -43116,6 +43271,9 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
43116
43271
  json: data
43117
43272
  }).json();
43118
43273
  }
43274
+ async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
43275
+ return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
43276
+ }
43119
43277
  async function getUserPermissions(httpClient, workspace_id, signal) {
43120
43278
  return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
43121
43279
  }
@@ -43128,6 +43286,15 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
43128
43286
  json: data
43129
43287
  }).json();
43130
43288
  }
43289
+ async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
43290
+ return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
43291
+ }
43292
+ async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
43293
+ return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
43294
+ signal,
43295
+ json: data
43296
+ }).json();
43297
+ }
43131
43298
  //#endregion
43132
43299
  //#region ../operations/build/index.public.js
43133
43300
  function callGeneratedRequest(request, args) {
@@ -43263,17 +43430,17 @@ const generatedFocusOperations = [
43263
43430
  ]))
43264
43431
  },
43265
43432
  {
43266
- id: "focus.audit-log.list",
43433
+ id: "focus.audit-log.get-organization",
43267
43434
  family: "focus",
43268
43435
  resource: "audit-log",
43269
- action: "list",
43270
- title: "List Audit Log",
43271
- description: "List Audit Log.",
43436
+ action: "get-organization",
43437
+ title: "Get Organization Audit Log",
43438
+ description: "Get Organization Audit Log.",
43272
43439
  safety: "read",
43273
43440
  destructive: false,
43274
43441
  cli: {
43275
43442
  group: ["audit-log"],
43276
- command: "list",
43443
+ command: "get-organization",
43277
43444
  interactive: "hidden"
43278
43445
  },
43279
43446
  mcp: { entityTool: "audit-log" },
@@ -43287,14 +43454,14 @@ const generatedFocusOperations = [
43287
43454
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43288
43455
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43289
43456
  to: /* @__PURE__ */ string$1(),
43290
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43457
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43458
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43291
43459
  }),
43292
43460
  execute: (input, { client }) => {
43293
43461
  const data = input;
43294
- return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
43462
+ return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
43295
43463
  client.httpClient,
43296
43464
  client.organizationId,
43297
- client.workspaceIdNumber,
43298
43465
  data.from,
43299
43466
  data.to,
43300
43467
  data,
@@ -43303,87 +43470,79 @@ const generatedFocusOperations = [
43303
43470
  }
43304
43471
  },
43305
43472
  {
43306
- id: "focus.capacities.get-computations",
43473
+ id: "focus.audit-log.list",
43307
43474
  family: "focus",
43308
- resource: "capacities",
43309
- action: "get-computations",
43310
- title: "Get Computations Capacities",
43311
- description: "Get Computations Capacities.",
43475
+ resource: "audit-log",
43476
+ action: "list",
43477
+ title: "List Audit Log",
43478
+ description: "List Audit Log.",
43312
43479
  safety: "read",
43313
43480
  destructive: false,
43314
43481
  cli: {
43315
- group: ["capacities"],
43316
- command: "get-computations",
43482
+ group: ["audit-log"],
43483
+ command: "list",
43317
43484
  interactive: "hidden"
43318
43485
  },
43319
- mcp: { entityTool: "capacities" },
43486
+ mcp: { entityTool: "audit-log" },
43320
43487
  inputSchema: /* @__PURE__ */ looseObject({
43321
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43322
- ghost_id: /* @__PURE__ */ number$2(),
43323
- group: /* @__PURE__ */ picklist$1(["users"]),
43324
- include_drafts: /* @__PURE__ */ unknown$1(),
43325
- private_: /* @__PURE__ */ unknown$1(),
43326
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43327
- task_source: /* @__PURE__ */ unknown$1(),
43328
- unit: /* @__PURE__ */ unknown$1(),
43329
- user_id: /* @__PURE__ */ number$2()
43488
+ action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43489
+ entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43490
+ entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43491
+ export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43492
+ export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43493
+ from: /* @__PURE__ */ string$1(),
43494
+ page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43495
+ page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43496
+ to: /* @__PURE__ */ string$1(),
43497
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43330
43498
  }),
43331
43499
  execute: (input, { client }) => {
43332
43500
  const data = input;
43333
- return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
43501
+ return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
43334
43502
  client.httpClient,
43335
43503
  client.organizationId,
43336
43504
  client.workspaceIdNumber,
43337
- data.group,
43505
+ data.from,
43506
+ data.to,
43338
43507
  data,
43339
43508
  void 0
43340
43509
  ]));
43341
43510
  }
43342
43511
  },
43343
43512
  {
43344
- id: "focus.capacities.settings-list",
43513
+ id: "focus.capacities.get-computations",
43345
43514
  family: "focus",
43346
43515
  resource: "capacities",
43347
- action: "settings-list",
43348
- title: "Settings List Capacities",
43349
- description: "Settings List Capacities.",
43516
+ action: "get-computations",
43517
+ title: "Get Computations Capacities",
43518
+ description: "Get Computations Capacities.",
43350
43519
  safety: "read",
43351
43520
  destructive: false,
43352
43521
  cli: {
43353
- group: ["capacities", "settings"],
43354
- command: "list",
43522
+ group: ["capacities"],
43523
+ command: "get-computations",
43355
43524
  interactive: "hidden"
43356
43525
  },
43357
43526
  mcp: { entityTool: "capacities" },
43358
- inputSchema: /* @__PURE__ */ looseObject({}),
43359
- execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
43360
- client.httpClient,
43361
- client.workspaceIdNumber,
43362
- void 0
43363
- ]))
43364
- },
43365
- {
43366
- id: "focus.capacities.settings-update",
43367
- family: "focus",
43368
- resource: "capacities",
43369
- action: "settings-update",
43370
- title: "Settings Update Capacities",
43371
- description: "Settings Update Capacities.",
43372
- safety: "update",
43373
- destructive: false,
43374
- cli: {
43375
- group: ["capacities", "settings"],
43376
- command: "update",
43377
- interactive: "default"
43378
- },
43379
- mcp: { entityTool: "capacities" },
43380
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
43527
+ inputSchema: /* @__PURE__ */ looseObject({
43528
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43529
+ group: /* @__PURE__ */ picklist$1(["users"]),
43530
+ include_drafts: /* @__PURE__ */ unknown$1(),
43531
+ include_task_estimates: /* @__PURE__ */ unknown$1(),
43532
+ private_: /* @__PURE__ */ unknown$1(),
43533
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43534
+ task_source: /* @__PURE__ */ unknown$1(),
43535
+ unit: /* @__PURE__ */ unknown$1(),
43536
+ user_id: /* @__PURE__ */ number$2()
43537
+ }),
43381
43538
  execute: (input, { client }) => {
43382
43539
  const data = input;
43383
- return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
43540
+ return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
43384
43541
  client.httpClient,
43542
+ client.organizationId,
43385
43543
  client.workspaceIdNumber,
43386
- data.payload ?? data.data ?? data,
43544
+ data.group,
43545
+ data,
43387
43546
  void 0
43388
43547
  ]));
43389
43548
  }
@@ -43582,8 +43741,7 @@ const generatedFocusOperations = [
43582
43741
  hourly_rate: /* @__PURE__ */ number$2(),
43583
43742
  start_at: apiDateTimeString,
43584
43743
  end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
43585
- }))),
43586
- resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
43744
+ })))
43587
43745
  }) }),
43588
43746
  execute: (input, { client }) => {
43589
43747
  const data = input;
@@ -43638,6 +43796,7 @@ const generatedFocusOperations = [
43638
43796
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43639
43797
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43640
43798
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43799
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43641
43800
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43642
43801
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43643
43802
  }),
@@ -43670,6 +43829,7 @@ const generatedFocusOperations = [
43670
43829
  priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
43671
43830
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43672
43831
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43832
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43673
43833
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43674
43834
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43675
43835
  }))),
@@ -43725,7 +43885,11 @@ const generatedFocusOperations = [
43725
43885
  },
43726
43886
  mcp: { entityTool: "custom-fields" },
43727
43887
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
43728
- entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
43888
+ entity_type: /* @__PURE__ */ picklist$1([
43889
+ "project",
43890
+ "task",
43891
+ "user"
43892
+ ]),
43729
43893
  field_type: /* @__PURE__ */ picklist$1([
43730
43894
  "select",
43731
43895
  "multi_select",
@@ -44058,7 +44222,11 @@ const generatedFocusOperations = [
44058
44222
  },
44059
44223
  mcp: { entityTool: "custom-fields" },
44060
44224
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44061
- entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
44225
+ entity_type: /* @__PURE__ */ picklist$1([
44226
+ "project",
44227
+ "task",
44228
+ "user"
44229
+ ]),
44062
44230
  ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
44063
44231
  }) }),
44064
44232
  execute: (input, { client }) => {
@@ -44072,6 +44240,37 @@ const generatedFocusOperations = [
44072
44240
  ]));
44073
44241
  }
44074
44242
  },
44243
+ {
44244
+ id: "focus.custom-fields.update-user-custom-field-values",
44245
+ family: "focus",
44246
+ resource: "custom-fields",
44247
+ action: "update-user-custom-field-values",
44248
+ title: "Update User Custom Field Values Custom Fields",
44249
+ description: "Update User Custom Field Values Custom Fields.",
44250
+ safety: "update",
44251
+ destructive: false,
44252
+ cli: {
44253
+ group: ["custom-fields"],
44254
+ command: "update-user-custom-field-values",
44255
+ interactive: "hidden"
44256
+ },
44257
+ mcp: { entityTool: "custom-fields" },
44258
+ inputSchema: /* @__PURE__ */ looseObject({
44259
+ payload: /* @__PURE__ */ unknown$1(),
44260
+ user_id: /* @__PURE__ */ number$2()
44261
+ }),
44262
+ execute: (input, { client }) => {
44263
+ const data = input;
44264
+ return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
44265
+ client.httpClient,
44266
+ client.organizationId,
44267
+ client.workspaceIdNumber,
44268
+ data.user_id,
44269
+ data.payload ?? data.data ?? data,
44270
+ void 0
44271
+ ]));
44272
+ }
44273
+ },
44075
44274
  {
44076
44275
  id: "focus.goals.create",
44077
44276
  family: "focus",
@@ -44291,10 +44490,22 @@ const generatedFocusOperations = [
44291
44490
  goal_id: /* @__PURE__ */ number$2(),
44292
44491
  payload: /* @__PURE__ */ looseObject({
44293
44492
  active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44493
+ client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44294
44494
  comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44295
44495
  icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44296
44496
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44297
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
44497
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44498
+ recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
44499
+ "daily",
44500
+ "weekly",
44501
+ "daily_workdays",
44502
+ "monthly"
44503
+ ])),
44504
+ start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44505
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44506
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44507
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44508
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44298
44509
  })
44299
44510
  }),
44300
44511
  execute: (input, { client }) => {
@@ -45627,6 +45838,7 @@ const generatedFocusOperations = [
45627
45838
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45628
45839
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45629
45840
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45841
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45630
45842
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45631
45843
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
45632
45844
  group: /* @__PURE__ */ string$1(),
@@ -45634,6 +45846,7 @@ const generatedFocusOperations = [
45634
45846
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45635
45847
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45636
45848
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45849
+ only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45637
45850
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45638
45851
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45639
45852
  parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -47818,7 +48031,10 @@ const generatedFocusOperations = [
47818
48031
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
47819
48032
  name: /* @__PURE__ */ string$1(),
47820
48033
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
47821
- }))
48034
+ })),
48035
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48036
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48037
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
47822
48038
  }),
47823
48039
  response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
47824
48040
  }),
@@ -47859,6 +48075,28 @@ const generatedFocusOperations = [
47859
48075
  ]));
47860
48076
  }
47861
48077
  },
48078
+ {
48079
+ id: "focus.reports.get-forecast-availability",
48080
+ family: "focus",
48081
+ resource: "reports",
48082
+ action: "get-forecast-availability",
48083
+ title: "Get Forecast Availability Reports",
48084
+ description: "Get Forecast Availability Reports.",
48085
+ safety: "read",
48086
+ destructive: false,
48087
+ cli: {
48088
+ group: ["reports"],
48089
+ command: "get-forecast-availability",
48090
+ interactive: "hidden"
48091
+ },
48092
+ mcp: { entityTool: "reports" },
48093
+ inputSchema: /* @__PURE__ */ looseObject({}),
48094
+ execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
48095
+ client.httpClient,
48096
+ client.workspaceIdNumber,
48097
+ void 0
48098
+ ]))
48099
+ },
47862
48100
  {
47863
48101
  id: "focus.reports.get-profitability",
47864
48102
  family: "focus",
@@ -47918,9 +48156,17 @@ const generatedFocusOperations = [
47918
48156
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
47919
48157
  name: /* @__PURE__ */ string$1(),
47920
48158
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
47921
- }))
48159
+ })),
48160
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48161
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48162
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
47922
48163
  }),
47923
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
48164
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
48165
+ xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
48166
+ "csv",
48167
+ "xlsx",
48168
+ "pdf"
48169
+ ]))
47924
48170
  }),
47925
48171
  execute: (input, { client }) => {
47926
48172
  const data = input;
@@ -47930,22 +48176,23 @@ const generatedFocusOperations = [
47930
48176
  data.payload ?? data.data ?? data,
47931
48177
  data.response_format,
47932
48178
  data.include_dicts,
48179
+ data.xTogglReportExport,
47933
48180
  void 0
47934
48181
  ]));
47935
48182
  }
47936
48183
  },
47937
48184
  {
47938
- id: "focus.reports.get-workload",
48185
+ id: "focus.reports.get-time-accounting",
47939
48186
  family: "focus",
47940
48187
  resource: "reports",
47941
- action: "get-workload",
47942
- title: "Get Workload Reports",
47943
- description: "Get Workload Reports.",
48188
+ action: "get-time-accounting",
48189
+ title: "Get Time Accounting Reports",
48190
+ description: "Get Time Accounting Reports.",
47944
48191
  safety: "update",
47945
48192
  destructive: false,
47946
48193
  cli: {
47947
48194
  group: ["reports"],
47948
- command: "get-workload",
48195
+ command: "get-time-accounting",
47949
48196
  interactive: "hidden"
47950
48197
  },
47951
48198
  mcp: { entityTool: "reports" },
@@ -47991,14 +48238,205 @@ const generatedFocusOperations = [
47991
48238
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
47992
48239
  name: /* @__PURE__ */ string$1(),
47993
48240
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
47994
- }))
48241
+ })),
48242
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48243
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48244
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
47995
48245
  }) }),
48246
+ execute: (input, { client }) => {
48247
+ const data = input;
48248
+ return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
48249
+ client.httpClient,
48250
+ client.workspaceIdNumber,
48251
+ data.payload ?? data.data ?? data,
48252
+ void 0
48253
+ ]));
48254
+ }
48255
+ },
48256
+ {
48257
+ id: "focus.reports.get-workload",
48258
+ family: "focus",
48259
+ resource: "reports",
48260
+ action: "get-workload",
48261
+ title: "Get Workload Reports",
48262
+ description: "Get Workload Reports.",
48263
+ safety: "update",
48264
+ destructive: false,
48265
+ cli: {
48266
+ group: ["reports"],
48267
+ command: "get-workload",
48268
+ interactive: "hidden"
48269
+ },
48270
+ mcp: { entityTool: "reports" },
48271
+ inputSchema: /* @__PURE__ */ looseObject({
48272
+ payload: /* @__PURE__ */ looseObject({
48273
+ aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48274
+ aggregation: /* @__PURE__ */ looseObject({
48275
+ function: /* @__PURE__ */ string$1(),
48276
+ property: /* @__PURE__ */ string$1()
48277
+ }),
48278
+ operator: /* @__PURE__ */ string$1(),
48279
+ property: /* @__PURE__ */ string$1()
48280
+ })),
48281
+ aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48282
+ function: /* @__PURE__ */ string$1(),
48283
+ property: /* @__PURE__ */ string$1()
48284
+ })),
48285
+ attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
48286
+ currency: /* @__PURE__ */ string$1(),
48287
+ filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48288
+ conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
48289
+ operator: /* @__PURE__ */ string$1(),
48290
+ property: /* @__PURE__ */ string$1()
48291
+ })),
48292
+ groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48293
+ property: /* @__PURE__ */ string$1(),
48294
+ show_empty: /* @__PURE__ */ boolean$1()
48295
+ })),
48296
+ limit: /* @__PURE__ */ number$2(),
48297
+ ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48298
+ direction: /* @__PURE__ */ string$1(),
48299
+ nulls: /* @__PURE__ */ string$1(),
48300
+ property: /* @__PURE__ */ string$1()
48301
+ })),
48302
+ pagination: /* @__PURE__ */ looseObject({
48303
+ page: /* @__PURE__ */ number$2(),
48304
+ per_page: /* @__PURE__ */ number$2()
48305
+ }),
48306
+ period: /* @__PURE__ */ looseObject({
48307
+ from: /* @__PURE__ */ string$1(),
48308
+ preset: /* @__PURE__ */ string$1(),
48309
+ to: /* @__PURE__ */ string$1()
48310
+ }),
48311
+ transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48312
+ name: /* @__PURE__ */ string$1(),
48313
+ parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48314
+ })),
48315
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48316
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48317
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48318
+ }),
48319
+ xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
48320
+ "csv",
48321
+ "xlsx",
48322
+ "pdf"
48323
+ ]))
48324
+ }),
47996
48325
  execute: (input, { client }) => {
47997
48326
  const data = input;
47998
48327
  return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
47999
48328
  client.httpClient,
48000
48329
  client.workspaceIdNumber,
48001
48330
  data.payload ?? data.data ?? data,
48331
+ data.xTogglReportExport,
48332
+ void 0
48333
+ ]));
48334
+ }
48335
+ },
48336
+ {
48337
+ id: "focus.reportschedules.delete-shared-report-schedule",
48338
+ family: "focus",
48339
+ resource: "reportschedules",
48340
+ action: "delete-shared-report-schedule",
48341
+ title: "Delete Shared Report Schedule Reportschedules",
48342
+ description: "Delete Shared Report Schedule Reportschedules.",
48343
+ safety: "delete",
48344
+ destructive: true,
48345
+ cli: {
48346
+ group: ["reportschedules"],
48347
+ command: "delete-shared-report-schedule",
48348
+ interactive: "default"
48349
+ },
48350
+ mcp: { entityTool: "reportschedules" },
48351
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48352
+ execute: (input, { client }) => {
48353
+ const data = input;
48354
+ return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
48355
+ client.httpClient,
48356
+ client.workspaceIdNumber,
48357
+ data.id,
48358
+ void 0
48359
+ ]));
48360
+ }
48361
+ },
48362
+ {
48363
+ id: "focus.reportschedules.upsert-saved-view-schedule",
48364
+ family: "focus",
48365
+ resource: "reportschedules",
48366
+ action: "upsert-saved-view-schedule",
48367
+ title: "Upsert Saved View Schedule Reportschedules",
48368
+ description: "Upsert Saved View Schedule Reportschedules.",
48369
+ safety: "update",
48370
+ destructive: false,
48371
+ cli: {
48372
+ group: ["reportschedules"],
48373
+ command: "upsert-saved-view-schedule",
48374
+ interactive: "default"
48375
+ },
48376
+ mcp: { entityTool: "reportschedules" },
48377
+ inputSchema: /* @__PURE__ */ looseObject({
48378
+ id: /* @__PURE__ */ number$2(),
48379
+ payload: /* @__PURE__ */ looseObject({
48380
+ cadence: /* @__PURE__ */ picklist$1([
48381
+ "daily",
48382
+ "weekly",
48383
+ "monthly"
48384
+ ]),
48385
+ time: /* @__PURE__ */ string$1(),
48386
+ day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48387
+ recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48388
+ recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48389
+ recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
48390
+ })
48391
+ }),
48392
+ execute: (input, { client }) => {
48393
+ const data = input;
48394
+ return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
48395
+ client.httpClient,
48396
+ client.workspaceIdNumber,
48397
+ data.id,
48398
+ data.payload ?? data.data ?? data,
48399
+ void 0
48400
+ ]));
48401
+ }
48402
+ },
48403
+ {
48404
+ id: "focus.reportschedules.upsert-shared-report-schedule",
48405
+ family: "focus",
48406
+ resource: "reportschedules",
48407
+ action: "upsert-shared-report-schedule",
48408
+ title: "Upsert Shared Report Schedule Reportschedules",
48409
+ description: "Upsert Shared Report Schedule Reportschedules.",
48410
+ safety: "update",
48411
+ destructive: false,
48412
+ cli: {
48413
+ group: ["reportschedules"],
48414
+ command: "upsert-shared-report-schedule",
48415
+ interactive: "default"
48416
+ },
48417
+ mcp: { entityTool: "reportschedules" },
48418
+ inputSchema: /* @__PURE__ */ looseObject({
48419
+ id: /* @__PURE__ */ number$2(),
48420
+ payload: /* @__PURE__ */ looseObject({
48421
+ cadence: /* @__PURE__ */ picklist$1([
48422
+ "daily",
48423
+ "weekly",
48424
+ "monthly"
48425
+ ]),
48426
+ time: /* @__PURE__ */ string$1(),
48427
+ day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48428
+ recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48429
+ recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48430
+ recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
48431
+ })
48432
+ }),
48433
+ execute: (input, { client }) => {
48434
+ const data = input;
48435
+ return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
48436
+ client.httpClient,
48437
+ client.workspaceIdNumber,
48438
+ data.id,
48439
+ data.payload ?? data.data ?? data,
48002
48440
  void 0
48003
48441
  ]));
48004
48442
  }
@@ -48036,7 +48474,9 @@ const generatedFocusOperations = [
48036
48474
  "reports.detailed",
48037
48475
  "reports.utilization",
48038
48476
  "reports.workload",
48039
- "reports.profitability"
48477
+ "reports.profitability",
48478
+ "reports.time-off",
48479
+ "reports.time-accounting"
48040
48480
  ]),
48041
48481
  icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48042
48482
  }) }),
@@ -48160,11 +48600,41 @@ const generatedFocusOperations = [
48160
48600
  }
48161
48601
  },
48162
48602
  {
48163
- id: "focus.search.search",
48603
+ id: "focus.search.mentions",
48164
48604
  family: "focus",
48165
48605
  resource: "search",
48166
- action: "search",
48167
- title: "Search Search",
48606
+ action: "mentions",
48607
+ title: "Mentions Search",
48608
+ description: "Mentions Search.",
48609
+ safety: "read",
48610
+ destructive: false,
48611
+ cli: {
48612
+ group: ["search"],
48613
+ command: "mentions",
48614
+ interactive: "hidden"
48615
+ },
48616
+ mcp: { entityTool: "search" },
48617
+ inputSchema: /* @__PURE__ */ looseObject({
48618
+ keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48619
+ per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48620
+ }),
48621
+ execute: (input, { client }) => {
48622
+ const data = input;
48623
+ return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
48624
+ client.httpClient,
48625
+ client.organizationId,
48626
+ client.workspaceIdNumber,
48627
+ data,
48628
+ void 0
48629
+ ]));
48630
+ }
48631
+ },
48632
+ {
48633
+ id: "focus.search.search",
48634
+ family: "focus",
48635
+ resource: "search",
48636
+ action: "search",
48637
+ title: "Search Search",
48168
48638
  description: "Search Search.",
48169
48639
  safety: "read",
48170
48640
  destructive: false,
@@ -48186,6 +48656,240 @@ const generatedFocusOperations = [
48186
48656
  ]));
48187
48657
  }
48188
48658
  },
48659
+ {
48660
+ id: "focus.sharedreports.add-shared-report-grants",
48661
+ family: "focus",
48662
+ resource: "sharedreports",
48663
+ action: "add-shared-report-grants",
48664
+ title: "Add Shared Report Grants Sharedreports",
48665
+ description: "Add Shared Report Grants Sharedreports.",
48666
+ safety: "update",
48667
+ destructive: false,
48668
+ cli: {
48669
+ group: ["sharedreports"],
48670
+ command: "add-shared-report-grants",
48671
+ interactive: "default"
48672
+ },
48673
+ mcp: { entityTool: "sharedreports" },
48674
+ inputSchema: /* @__PURE__ */ looseObject({
48675
+ id: /* @__PURE__ */ number$2(),
48676
+ payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48677
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48678
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48679
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48680
+ })) })
48681
+ }),
48682
+ execute: (input, { client }) => {
48683
+ const data = input;
48684
+ return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
48685
+ client.httpClient,
48686
+ client.workspaceIdNumber,
48687
+ data.id,
48688
+ data.payload ?? data.data ?? data,
48689
+ void 0
48690
+ ]));
48691
+ }
48692
+ },
48693
+ {
48694
+ id: "focus.sharedreports.get-saved-view-shared-report",
48695
+ family: "focus",
48696
+ resource: "sharedreports",
48697
+ action: "get-saved-view-shared-report",
48698
+ title: "Get Saved View Shared Report Sharedreports",
48699
+ description: "Get Saved View Shared Report Sharedreports.",
48700
+ safety: "read",
48701
+ destructive: false,
48702
+ cli: {
48703
+ group: ["sharedreports"],
48704
+ command: "get-saved-view-shared-report",
48705
+ interactive: "available"
48706
+ },
48707
+ mcp: { entityTool: "sharedreports" },
48708
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48709
+ execute: (input, { client }) => {
48710
+ const data = input;
48711
+ return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
48712
+ client.httpClient,
48713
+ client.workspaceIdNumber,
48714
+ data.id,
48715
+ void 0
48716
+ ]));
48717
+ }
48718
+ },
48719
+ {
48720
+ id: "focus.sharedreports.get-shared-report-for-viewer",
48721
+ family: "focus",
48722
+ resource: "sharedreports",
48723
+ action: "get-shared-report-for-viewer",
48724
+ title: "Get Shared Report For Viewer Sharedreports",
48725
+ description: "Get Shared Report For Viewer Sharedreports.",
48726
+ safety: "read",
48727
+ destructive: false,
48728
+ cli: {
48729
+ group: ["sharedreports"],
48730
+ command: "get-shared-report-for-viewer",
48731
+ interactive: "available"
48732
+ },
48733
+ mcp: { entityTool: "sharedreports" },
48734
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48735
+ execute: (input, { client }) => {
48736
+ const data = input;
48737
+ return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
48738
+ client.httpClient,
48739
+ client.workspaceIdNumber,
48740
+ data.id,
48741
+ void 0
48742
+ ]));
48743
+ }
48744
+ },
48745
+ {
48746
+ id: "focus.sharedreports.get-shared-reports-shared-by-me",
48747
+ family: "focus",
48748
+ resource: "sharedreports",
48749
+ action: "get-shared-reports-shared-by-me",
48750
+ title: "Get Shared Reports Shared By Me Sharedreports",
48751
+ description: "Get Shared Reports Shared By Me Sharedreports.",
48752
+ safety: "read",
48753
+ destructive: false,
48754
+ cli: {
48755
+ group: ["sharedreports"],
48756
+ command: "get-shared-reports-shared-by-me",
48757
+ interactive: "hidden"
48758
+ },
48759
+ mcp: { entityTool: "sharedreports" },
48760
+ inputSchema: /* @__PURE__ */ looseObject({}),
48761
+ execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
48762
+ client.httpClient,
48763
+ client.workspaceIdNumber,
48764
+ void 0
48765
+ ]))
48766
+ },
48767
+ {
48768
+ id: "focus.sharedreports.get-shared-reports-shared-with-me",
48769
+ family: "focus",
48770
+ resource: "sharedreports",
48771
+ action: "get-shared-reports-shared-with-me",
48772
+ title: "Get Shared Reports Shared With Me Sharedreports",
48773
+ description: "Get Shared Reports Shared With Me Sharedreports.",
48774
+ safety: "read",
48775
+ destructive: false,
48776
+ cli: {
48777
+ group: ["sharedreports"],
48778
+ command: "get-shared-reports-shared-with-me",
48779
+ interactive: "hidden"
48780
+ },
48781
+ mcp: { entityTool: "sharedreports" },
48782
+ inputSchema: /* @__PURE__ */ looseObject({}),
48783
+ execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
48784
+ client.httpClient,
48785
+ client.workspaceIdNumber,
48786
+ void 0
48787
+ ]))
48788
+ },
48789
+ {
48790
+ id: "focus.sharedreports.revoke-shared-report-grant",
48791
+ family: "focus",
48792
+ resource: "sharedreports",
48793
+ action: "revoke-shared-report-grant",
48794
+ title: "Revoke Shared Report Grant Sharedreports",
48795
+ description: "Revoke Shared Report Grant Sharedreports.",
48796
+ safety: "delete",
48797
+ destructive: true,
48798
+ cli: {
48799
+ group: ["sharedreports"],
48800
+ command: "revoke-shared-report-grant",
48801
+ interactive: "default"
48802
+ },
48803
+ mcp: { entityTool: "sharedreports" },
48804
+ inputSchema: /* @__PURE__ */ looseObject({
48805
+ grant_id: /* @__PURE__ */ number$2(),
48806
+ id: /* @__PURE__ */ number$2()
48807
+ }),
48808
+ execute: (input, { client }) => {
48809
+ const data = input;
48810
+ return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
48811
+ client.httpClient,
48812
+ client.workspaceIdNumber,
48813
+ data.id,
48814
+ data.grant_id,
48815
+ void 0
48816
+ ]));
48817
+ }
48818
+ },
48819
+ {
48820
+ id: "focus.sharedreports.share-saved-view",
48821
+ family: "focus",
48822
+ resource: "sharedreports",
48823
+ action: "share-saved-view",
48824
+ title: "Share Saved View Sharedreports",
48825
+ description: "Share Saved View Sharedreports.",
48826
+ safety: "update",
48827
+ destructive: false,
48828
+ cli: {
48829
+ group: ["sharedreports"],
48830
+ command: "share-saved-view",
48831
+ interactive: "hidden"
48832
+ },
48833
+ mcp: { entityTool: "sharedreports" },
48834
+ inputSchema: /* @__PURE__ */ looseObject({
48835
+ id: /* @__PURE__ */ number$2(),
48836
+ payload: /* @__PURE__ */ looseObject({
48837
+ charts: /* @__PURE__ */ unknown$1(),
48838
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48839
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48840
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48841
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48842
+ })
48843
+ }),
48844
+ execute: (input, { client }) => {
48845
+ const data = input;
48846
+ return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
48847
+ client.httpClient,
48848
+ client.workspaceIdNumber,
48849
+ data.id,
48850
+ data.payload ?? data.data ?? data,
48851
+ void 0
48852
+ ]));
48853
+ }
48854
+ },
48855
+ {
48856
+ id: "focus.sharedreports.share-saved-view-many",
48857
+ family: "focus",
48858
+ resource: "sharedreports",
48859
+ action: "share-saved-view-many",
48860
+ title: "Share Saved View Many Sharedreports",
48861
+ description: "Share Saved View Many Sharedreports.",
48862
+ safety: "update",
48863
+ destructive: false,
48864
+ cli: {
48865
+ group: ["sharedreports"],
48866
+ command: "share-saved-view-many",
48867
+ interactive: "hidden"
48868
+ },
48869
+ mcp: { entityTool: "sharedreports" },
48870
+ inputSchema: /* @__PURE__ */ looseObject({
48871
+ id: /* @__PURE__ */ number$2(),
48872
+ payload: /* @__PURE__ */ looseObject({
48873
+ charts: /* @__PURE__ */ unknown$1(),
48874
+ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48875
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48876
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48877
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48878
+ })),
48879
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48880
+ })
48881
+ }),
48882
+ execute: (input, { client }) => {
48883
+ const data = input;
48884
+ return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
48885
+ client.httpClient,
48886
+ client.workspaceIdNumber,
48887
+ data.id,
48888
+ data.payload ?? data.data ?? data,
48889
+ void 0
48890
+ ]));
48891
+ }
48892
+ },
48189
48893
  {
48190
48894
  id: "focus.statuses.create-status",
48191
48895
  family: "focus",
@@ -48451,13 +49155,172 @@ const generatedFocusOperations = [
48451
49155
  command: "upsert-forced-trial",
48452
49156
  interactive: "default"
48453
49157
  },
48454
- mcp: { entityTool: "subscriptions" },
48455
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
49158
+ mcp: { entityTool: "subscriptions" },
49159
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
49160
+ execute: (input, { client }) => {
49161
+ const data = input;
49162
+ return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
49163
+ client.httpClient,
49164
+ client.organizationId,
49165
+ client.workspaceIdNumber,
49166
+ data.payload ?? data.data ?? data,
49167
+ void 0
49168
+ ]));
49169
+ }
49170
+ },
49171
+ {
49172
+ id: "focus.tags.archive",
49173
+ family: "focus",
49174
+ resource: "tags",
49175
+ action: "archive",
49176
+ title: "Archive Tags",
49177
+ description: "Archive Tags.",
49178
+ safety: "update",
49179
+ destructive: false,
49180
+ cli: {
49181
+ group: ["tags"],
49182
+ command: "archive",
49183
+ interactive: "default"
49184
+ },
49185
+ mcp: { entityTool: "tags" },
49186
+ inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
49187
+ execute: (input, { client }) => {
49188
+ const data = input;
49189
+ return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
49190
+ client.httpClient,
49191
+ client.workspaceIdNumber,
49192
+ data.tag_id,
49193
+ void 0
49194
+ ]));
49195
+ }
49196
+ },
49197
+ {
49198
+ id: "focus.tags.bulk-archive",
49199
+ family: "focus",
49200
+ resource: "tags",
49201
+ action: "bulk-archive",
49202
+ title: "Bulk Archive Tags",
49203
+ description: "Bulk Archive Tags.",
49204
+ safety: "update",
49205
+ destructive: false,
49206
+ cli: {
49207
+ group: ["tags", "bulk"],
49208
+ command: "archive",
49209
+ interactive: "default"
49210
+ },
49211
+ mcp: { entityTool: "tags" },
49212
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
49213
+ execute: (input, { client }) => {
49214
+ const data = input;
49215
+ return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
49216
+ client.httpClient,
49217
+ client.workspaceIdNumber,
49218
+ data.payload ?? data.data ?? data,
49219
+ void 0
49220
+ ]));
49221
+ }
49222
+ },
49223
+ {
49224
+ id: "focus.tags.bulk-create",
49225
+ family: "focus",
49226
+ resource: "tags",
49227
+ action: "bulk-create",
49228
+ title: "Bulk Create Tags",
49229
+ description: "Bulk Create Tags.",
49230
+ safety: "create",
49231
+ destructive: false,
49232
+ cli: {
49233
+ group: ["tags", "bulk"],
49234
+ command: "create",
49235
+ interactive: "default"
49236
+ },
49237
+ mcp: { entityTool: "tags" },
49238
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
49239
+ color: /* @__PURE__ */ string$1(),
49240
+ name: /* @__PURE__ */ string$1()
49241
+ })) }) }),
49242
+ execute: (input, { client }) => {
49243
+ const data = input;
49244
+ return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
49245
+ client.httpClient,
49246
+ client.workspaceIdNumber,
49247
+ data.payload ?? data.data ?? data,
49248
+ void 0
49249
+ ]));
49250
+ }
49251
+ },
49252
+ {
49253
+ id: "focus.tags.bulk-delete",
49254
+ family: "focus",
49255
+ resource: "tags",
49256
+ action: "bulk-delete",
49257
+ title: "Bulk Delete Tags",
49258
+ description: "Bulk Delete Tags.",
49259
+ safety: "delete",
49260
+ destructive: true,
49261
+ cli: {
49262
+ group: ["tags", "bulk"],
49263
+ command: "delete",
49264
+ interactive: "default"
49265
+ },
49266
+ mcp: { entityTool: "tags" },
49267
+ inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
49268
+ execute: (input, { client }) => {
49269
+ const data = input;
49270
+ return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
49271
+ client.httpClient,
49272
+ client.workspaceIdNumber,
49273
+ data.ids,
49274
+ void 0
49275
+ ]));
49276
+ }
49277
+ },
49278
+ {
49279
+ id: "focus.tags.bulk-restore",
49280
+ family: "focus",
49281
+ resource: "tags",
49282
+ action: "bulk-restore",
49283
+ title: "Bulk Restore Tags",
49284
+ description: "Bulk Restore Tags.",
49285
+ safety: "update",
49286
+ destructive: false,
49287
+ cli: {
49288
+ group: ["tags", "bulk"],
49289
+ command: "restore",
49290
+ interactive: "default"
49291
+ },
49292
+ mcp: { entityTool: "tags" },
49293
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
49294
+ execute: (input, { client }) => {
49295
+ const data = input;
49296
+ return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
49297
+ client.httpClient,
49298
+ client.workspaceIdNumber,
49299
+ data.payload ?? data.data ?? data,
49300
+ void 0
49301
+ ]));
49302
+ }
49303
+ },
49304
+ {
49305
+ id: "focus.tags.bulk-unarchive",
49306
+ family: "focus",
49307
+ resource: "tags",
49308
+ action: "bulk-unarchive",
49309
+ title: "Bulk Unarchive Tags",
49310
+ description: "Bulk Unarchive Tags.",
49311
+ safety: "update",
49312
+ destructive: false,
49313
+ cli: {
49314
+ group: ["tags", "bulk"],
49315
+ command: "unarchive",
49316
+ interactive: "default"
49317
+ },
49318
+ mcp: { entityTool: "tags" },
49319
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
48456
49320
  execute: (input, { client }) => {
48457
49321
  const data = input;
48458
- return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
49322
+ return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
48459
49323
  client.httpClient,
48460
- client.organizationId,
48461
49324
  client.workspaceIdNumber,
48462
49325
  data.payload ?? data.data ?? data,
48463
49326
  void 0
@@ -48548,6 +49411,35 @@ const generatedFocusOperations = [
48548
49411
  return client.listTags(data);
48549
49412
  }
48550
49413
  },
49414
+ {
49415
+ id: "focus.tags.merge",
49416
+ family: "focus",
49417
+ resource: "tags",
49418
+ action: "merge",
49419
+ title: "Merge Tags",
49420
+ description: "Merge Tags.",
49421
+ safety: "update",
49422
+ destructive: false,
49423
+ cli: {
49424
+ group: ["tags"],
49425
+ command: "merge",
49426
+ interactive: "default"
49427
+ },
49428
+ mcp: { entityTool: "tags" },
49429
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
49430
+ source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
49431
+ target_id: /* @__PURE__ */ number$2()
49432
+ }) }),
49433
+ execute: (input, { client }) => {
49434
+ const data = input;
49435
+ return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
49436
+ client.httpClient,
49437
+ client.workspaceIdNumber,
49438
+ data.payload ?? data.data ?? data,
49439
+ void 0
49440
+ ]));
49441
+ }
49442
+ },
48551
49443
  {
48552
49444
  id: "focus.tags.restore",
48553
49445
  family: "focus",
@@ -48574,6 +49466,32 @@ const generatedFocusOperations = [
48574
49466
  ]));
48575
49467
  }
48576
49468
  },
49469
+ {
49470
+ id: "focus.tags.unarchive",
49471
+ family: "focus",
49472
+ resource: "tags",
49473
+ action: "unarchive",
49474
+ title: "Unarchive Tags",
49475
+ description: "Unarchive Tags.",
49476
+ safety: "update",
49477
+ destructive: false,
49478
+ cli: {
49479
+ group: ["tags"],
49480
+ command: "unarchive",
49481
+ interactive: "default"
49482
+ },
49483
+ mcp: { entityTool: "tags" },
49484
+ inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
49485
+ execute: (input, { client }) => {
49486
+ const data = input;
49487
+ return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
49488
+ client.httpClient,
49489
+ client.workspaceIdNumber,
49490
+ data.tag_id,
49491
+ void 0
49492
+ ]));
49493
+ }
49494
+ },
48577
49495
  {
48578
49496
  id: "focus.tags.update",
48579
49497
  family: "focus",
@@ -49255,12 +50173,12 @@ const generatedFocusOperations = [
49255
50173
  mcp: { entityTool: "tasks" },
49256
50174
  inputSchema: /* @__PURE__ */ looseObject({
49257
50175
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50176
+ assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49258
50177
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49259
50178
  dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49260
50179
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49261
50180
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
49262
50181
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49263
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49264
50182
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49265
50183
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49266
50184
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49297,7 +50215,6 @@ const generatedFocusOperations = [
49297
50215
  inputSchema: /* @__PURE__ */ looseObject({
49298
50216
  active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
49299
50217
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49300
- assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49301
50218
  assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49302
50219
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49303
50220
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49314,7 +50231,6 @@ const generatedFocusOperations = [
49314
50231
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49315
50232
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49316
50233
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49317
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49318
50234
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49319
50235
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49320
50236
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49370,7 +50286,6 @@ const generatedFocusOperations = [
49370
50286
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49371
50287
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49372
50288
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49373
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49374
50289
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49375
50290
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49376
50291
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49411,7 +50326,6 @@ const generatedFocusOperations = [
49411
50326
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49412
50327
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49413
50328
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49414
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49415
50329
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49416
50330
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49417
50331
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49452,6 +50366,7 @@ const generatedFocusOperations = [
49452
50366
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49453
50367
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49454
50368
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50369
+ collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49455
50370
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49456
50371
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
49457
50372
  end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49465,7 +50380,8 @@ const generatedFocusOperations = [
49465
50380
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49466
50381
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49467
50382
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49468
- include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50383
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50384
+ include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49469
50385
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49470
50386
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49471
50387
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49481,6 +50397,7 @@ const generatedFocusOperations = [
49481
50397
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49482
50398
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
49483
50399
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50400
+ user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49484
50401
  user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
49485
50402
  }),
49486
50403
  execute: (input, { client }) => {
@@ -49495,6 +50412,118 @@ const generatedFocusOperations = [
49495
50412
  ]));
49496
50413
  }
49497
50414
  },
50415
+ {
50416
+ id: "focus.tasks.groups-get-user-task-groups-by-project",
50417
+ family: "focus",
50418
+ resource: "tasks",
50419
+ action: "groups-get-user-task-groups-by-project",
50420
+ title: "Groups Get User Task Groups By Project Tasks",
50421
+ description: "Groups Get User Task Groups By Project Tasks.",
50422
+ safety: "read",
50423
+ destructive: false,
50424
+ cli: {
50425
+ group: ["tasks", "groups"],
50426
+ command: "get-user-task-groups-by-project",
50427
+ interactive: "hidden"
50428
+ },
50429
+ mcp: { entityTool: "tasks" },
50430
+ inputSchema: /* @__PURE__ */ looseObject({
50431
+ assignee_user_id: /* @__PURE__ */ number$2(),
50432
+ cf_filter: /* @__PURE__ */ unknown$1(),
50433
+ client_id: /* @__PURE__ */ number$2(),
50434
+ collapse_recurring: /* @__PURE__ */ unknown$1(),
50435
+ creator_id: /* @__PURE__ */ number$2(),
50436
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
50437
+ end_date_from: /* @__PURE__ */ unknown$1(),
50438
+ end_date_to: /* @__PURE__ */ unknown$1(),
50439
+ exclude_empty: /* @__PURE__ */ unknown$1(),
50440
+ group_id: /* @__PURE__ */ number$2(),
50441
+ include_assignees: /* @__PURE__ */ unknown$1(),
50442
+ include_drafts: /* @__PURE__ */ unknown$1(),
50443
+ include_unassigned: /* @__PURE__ */ unknown$1(),
50444
+ include_unmaterialized: /* @__PURE__ */ unknown$1(),
50445
+ min_days: /* @__PURE__ */ unknown$1(),
50446
+ name: /* @__PURE__ */ unknown$1(),
50447
+ priority: /* @__PURE__ */ unknown$1(),
50448
+ private_: /* @__PURE__ */ unknown$1(),
50449
+ project_id: /* @__PURE__ */ number$2(),
50450
+ source: /* @__PURE__ */ unknown$1(),
50451
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
50452
+ start_date_from: /* @__PURE__ */ unknown$1(),
50453
+ start_date_to: /* @__PURE__ */ unknown$1(),
50454
+ status_id: /* @__PURE__ */ number$2(),
50455
+ tag_id: /* @__PURE__ */ number$2(),
50456
+ team_id: /* @__PURE__ */ number$2(),
50457
+ user_cf_filter: /* @__PURE__ */ unknown$1(),
50458
+ user_tag_id: /* @__PURE__ */ number$2()
50459
+ }),
50460
+ execute: (input, { client }) => {
50461
+ const data = input;
50462
+ return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
50463
+ client.httpClient,
50464
+ client.organizationId,
50465
+ client.workspaceIdNumber,
50466
+ data,
50467
+ void 0
50468
+ ]));
50469
+ }
50470
+ },
50471
+ {
50472
+ id: "focus.tasks.groups-get-user-task-groups-by-team",
50473
+ family: "focus",
50474
+ resource: "tasks",
50475
+ action: "groups-get-user-task-groups-by-team",
50476
+ title: "Groups Get User Task Groups By Team Tasks",
50477
+ description: "Groups Get User Task Groups By Team Tasks.",
50478
+ safety: "read",
50479
+ destructive: false,
50480
+ cli: {
50481
+ group: ["tasks", "groups"],
50482
+ command: "get-user-task-groups-by-team",
50483
+ interactive: "hidden"
50484
+ },
50485
+ mcp: { entityTool: "tasks" },
50486
+ inputSchema: /* @__PURE__ */ looseObject({
50487
+ assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50488
+ cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50489
+ client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50490
+ collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50491
+ creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50492
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50493
+ end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50494
+ end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50495
+ exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50496
+ group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50497
+ include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50498
+ include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50499
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50500
+ include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50501
+ min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50502
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50503
+ priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50504
+ private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50505
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50506
+ source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50507
+ start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50508
+ start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50509
+ start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50510
+ status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50511
+ tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50512
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50513
+ user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50514
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50515
+ }),
50516
+ execute: (input, { client }) => {
50517
+ const data = input;
50518
+ return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
50519
+ client.httpClient,
50520
+ client.organizationId,
50521
+ client.workspaceIdNumber,
50522
+ data,
50523
+ void 0
50524
+ ]));
50525
+ }
50526
+ },
49498
50527
  {
49499
50528
  id: "focus.tasks.groups-update",
49500
50529
  family: "focus",
@@ -49700,7 +50729,6 @@ const generatedFocusOperations = [
49700
50729
  name: /* @__PURE__ */ string$1(),
49701
50730
  status_id: /* @__PURE__ */ number$2(),
49702
50731
  auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
49703
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
49704
50732
  color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
49705
50733
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49706
50734
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -49720,6 +50748,7 @@ const generatedFocusOperations = [
49720
50748
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
49721
50749
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49722
50750
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50751
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
49723
50752
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
49724
50753
  }),
49725
50754
  task_id: /* @__PURE__ */ number$2()
@@ -50728,6 +51757,40 @@ const generatedFocusOperations = [
50728
51757
  ]));
50729
51758
  }
50730
51759
  },
51760
+ {
51761
+ id: "focus.time-entries.groups-get-users",
51762
+ family: "focus",
51763
+ resource: "time-entries",
51764
+ action: "groups-get-users",
51765
+ title: "Groups Get Users Time Entries",
51766
+ description: "Groups Get Users Time Entries.",
51767
+ safety: "read",
51768
+ destructive: false,
51769
+ cli: {
51770
+ group: ["time-entries", "groups"],
51771
+ command: "get-users",
51772
+ interactive: "hidden"
51773
+ },
51774
+ mcp: { entityTool: "time-entries" },
51775
+ inputSchema: /* @__PURE__ */ looseObject({
51776
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51777
+ order_by: /* @__PURE__ */ unknown$1(),
51778
+ page: /* @__PURE__ */ number$2(),
51779
+ per_page: /* @__PURE__ */ unknown$1(),
51780
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51781
+ user_id: /* @__PURE__ */ number$2()
51782
+ }),
51783
+ execute: (input, { client }) => {
51784
+ const data = input;
51785
+ return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
51786
+ client.httpClient,
51787
+ client.organizationId,
51788
+ client.workspaceIdNumber,
51789
+ data,
51790
+ void 0
51791
+ ]));
51792
+ }
51793
+ },
50731
51794
  {
50732
51795
  id: "focus.time-entries.list",
50733
51796
  family: "focus",
@@ -50912,6 +51975,42 @@ const generatedFocusOperations = [
50912
51975
  inputSchema: emptySchema$1,
50913
51976
  execute: (_input, { client }) => client.stopTracking()
50914
51977
  },
51978
+ {
51979
+ id: "focus.time-entries.sync",
51980
+ family: "focus",
51981
+ resource: "time-entries",
51982
+ action: "sync",
51983
+ title: "Sync Time Entries",
51984
+ description: "Sync Time Entries.",
51985
+ safety: "update",
51986
+ destructive: false,
51987
+ cli: {
51988
+ group: ["time-entries"],
51989
+ command: "sync",
51990
+ interactive: "default"
51991
+ },
51992
+ mcp: { entityTool: "time-entries" },
51993
+ inputSchema: /* @__PURE__ */ looseObject({
51994
+ client_uuid: /* @__PURE__ */ string$1(),
51995
+ payload: /* @__PURE__ */ looseObject({
51996
+ billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
51997
+ client_updated_at: apiDateTimeString,
51998
+ type: /* @__PURE__ */ picklist$1(["activity", "break"]),
51999
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
52000
+ })
52001
+ }),
52002
+ execute: (input, { client }) => {
52003
+ const data = input;
52004
+ return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
52005
+ client.httpClient,
52006
+ client.organizationId,
52007
+ client.workspaceIdNumber,
52008
+ data.client_uuid,
52009
+ data.payload ?? data.data ?? data,
52010
+ void 0
52011
+ ]));
52012
+ }
52013
+ },
50915
52014
  {
50916
52015
  id: "focus.time-entries.tracking-get-tracked-time-entry",
50917
52016
  family: "focus",
@@ -50960,6 +52059,7 @@ const generatedFocusOperations = [
50960
52059
  create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50961
52060
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50962
52061
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52062
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50963
52063
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50964
52064
  extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
50965
52065
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -51018,125 +52118,37 @@ const generatedFocusOperations = [
51018
52118
  resource: "time-entries",
51019
52119
  action: "update",
51020
52120
  title: "Update Time Entries",
51021
- description: "Update Time Entries.",
51022
- safety: "update",
51023
- destructive: false,
51024
- cli: {
51025
- group: ["time-entries"],
51026
- command: "update",
51027
- interactive: "default"
51028
- },
51029
- mcp: { entityTool: "time-entries" },
51030
- inputSchema: /* @__PURE__ */ looseObject({
51031
- payload: /* @__PURE__ */ looseObject({
51032
- type: /* @__PURE__ */ picklist$1(["activity", "break"]),
51033
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51034
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51035
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51036
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51037
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51038
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51039
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
51040
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51041
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
51042
- }),
51043
- time_entry_id: /* @__PURE__ */ number$2()
51044
- }),
51045
- execute: (input, { client }) => {
51046
- const data = input;
51047
- return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
51048
- client.httpClient,
51049
- client.organizationId,
51050
- client.workspaceIdNumber,
51051
- data.time_entry_id,
51052
- data.payload ?? data.data ?? data,
51053
- void 0
51054
- ]));
51055
- }
51056
- },
51057
- {
51058
- id: "focus.time-log-suggestions.get-for-acalendar-event-title",
51059
- family: "focus",
51060
- resource: "time-log-suggestions",
51061
- action: "get-for-acalendar-event-title",
51062
- title: "Get For Acalendar Event Title Time Log Suggestions",
51063
- description: "Get For Acalendar Event Title Time Log Suggestions.",
51064
- safety: "update",
51065
- destructive: false,
51066
- cli: {
51067
- group: ["time-log-suggestions"],
51068
- command: "get-for-acalendar-event-title",
51069
- interactive: "default"
51070
- },
51071
- mcp: { entityTool: "time-log-suggestions" },
51072
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
51073
- execute: (input, { client }) => {
51074
- const data = input;
51075
- return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
51076
- client.httpClient,
51077
- client.organizationId,
51078
- client.workspaceIdNumber,
51079
- data.payload ?? data.data ?? data,
51080
- void 0
51081
- ]));
51082
- }
51083
- },
51084
- {
51085
- id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
51086
- family: "focus",
51087
- resource: "time-log-suggestions",
51088
- action: "get-for-multiple-calendar-event-titles",
51089
- title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
51090
- description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
51091
- safety: "update",
51092
- destructive: false,
51093
- cli: {
51094
- group: ["time-log-suggestions"],
51095
- command: "get-for-multiple-calendar-event-titles",
51096
- interactive: "default"
51097
- },
51098
- mcp: { entityTool: "time-log-suggestions" },
51099
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
51100
- key: /* @__PURE__ */ string$1(),
51101
- title: /* @__PURE__ */ string$1()
51102
- })) }) }),
51103
- execute: (input, { client }) => {
51104
- const data = input;
51105
- return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
51106
- client.httpClient,
51107
- client.organizationId,
51108
- client.workspaceIdNumber,
51109
- data.payload ?? data.data ?? data,
51110
- void 0
51111
- ]));
51112
- }
51113
- },
51114
- {
51115
- id: "focus.time-off.create-timeoff-for-ghost",
51116
- family: "focus",
51117
- resource: "time-off",
51118
- action: "create-timeoff-for-ghost",
51119
- title: "Create Timeoff For Ghost Time Off",
51120
- description: "Create Timeoff For Ghost Time Off.",
51121
- safety: "create",
52121
+ description: "Update Time Entries.",
52122
+ safety: "update",
51122
52123
  destructive: false,
51123
52124
  cli: {
51124
- group: ["time-off"],
51125
- command: "create-timeoff-for-ghost",
51126
- interactive: "hidden"
52125
+ group: ["time-entries"],
52126
+ command: "update",
52127
+ interactive: "default"
51127
52128
  },
51128
- mcp: { entityTool: "time-off" },
52129
+ mcp: { entityTool: "time-entries" },
51129
52130
  inputSchema: /* @__PURE__ */ looseObject({
51130
- ghost_id: /* @__PURE__ */ number$2(),
51131
- payload: /* @__PURE__ */ unknown$1()
52131
+ payload: /* @__PURE__ */ looseObject({
52132
+ type: /* @__PURE__ */ picklist$1(["activity", "break"]),
52133
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52134
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52135
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52136
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
52137
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52138
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52139
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
52140
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52141
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
52142
+ }),
52143
+ time_entry_id: /* @__PURE__ */ number$2()
51132
52144
  }),
51133
52145
  execute: (input, { client }) => {
51134
52146
  const data = input;
51135
- return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
52147
+ return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
51136
52148
  client.httpClient,
51137
52149
  client.organizationId,
51138
52150
  client.workspaceIdNumber,
51139
- data.ghost_id,
52151
+ data.time_entry_id,
51140
52152
  data.payload ?? data.data ?? data,
51141
52153
  void 0
51142
52154
  ]));
@@ -51172,37 +52184,6 @@ const generatedFocusOperations = [
51172
52184
  ]));
51173
52185
  }
51174
52186
  },
51175
- {
51176
- id: "focus.time-off.delete-timeoff-for-ghost",
51177
- family: "focus",
51178
- resource: "time-off",
51179
- action: "delete-timeoff-for-ghost",
51180
- title: "Delete Timeoff For Ghost Time Off",
51181
- description: "Delete Timeoff For Ghost Time Off.",
51182
- safety: "delete",
51183
- destructive: true,
51184
- cli: {
51185
- group: ["time-off"],
51186
- command: "delete-timeoff-for-ghost",
51187
- interactive: "hidden"
51188
- },
51189
- mcp: { entityTool: "time-off" },
51190
- inputSchema: /* @__PURE__ */ looseObject({
51191
- ghost_id: /* @__PURE__ */ number$2(),
51192
- payload: /* @__PURE__ */ unknown$1()
51193
- }),
51194
- execute: (input, { client }) => {
51195
- const data = input;
51196
- return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
51197
- client.httpClient,
51198
- client.organizationId,
51199
- client.workspaceIdNumber,
51200
- data.ghost_id,
51201
- data.payload ?? data.data ?? data,
51202
- void 0
51203
- ]));
51204
- }
51205
- },
51206
52187
  {
51207
52188
  id: "focus.time-off.delete-timeoff-for-user",
51208
52189
  family: "focus",
@@ -51233,38 +52214,6 @@ const generatedFocusOperations = [
51233
52214
  ]));
51234
52215
  }
51235
52216
  },
51236
- {
51237
- id: "focus.time-off.get-timeoff-for-ghost",
51238
- family: "focus",
51239
- resource: "time-off",
51240
- action: "get-timeoff-for-ghost",
51241
- title: "Get Timeoff For Ghost Time Off",
51242
- description: "Get Timeoff For Ghost Time Off.",
51243
- safety: "read",
51244
- destructive: false,
51245
- cli: {
51246
- group: ["time-off"],
51247
- command: "get-timeoff-for-ghost",
51248
- interactive: "hidden"
51249
- },
51250
- mcp: { entityTool: "time-off" },
51251
- inputSchema: /* @__PURE__ */ looseObject({
51252
- from: /* @__PURE__ */ unknown$1(),
51253
- ghost_id: /* @__PURE__ */ number$2(),
51254
- to: /* @__PURE__ */ unknown$1()
51255
- }),
51256
- execute: (input, { client }) => {
51257
- const data = input;
51258
- return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
51259
- client.httpClient,
51260
- client.organizationId,
51261
- client.workspaceIdNumber,
51262
- data.ghost_id,
51263
- data,
51264
- void 0
51265
- ]));
51266
- }
51267
- },
51268
52217
  {
51269
52218
  id: "focus.time-off.get-timeoff-for-user",
51270
52219
  family: "focus",
@@ -51296,37 +52245,6 @@ const generatedFocusOperations = [
51296
52245
  ]));
51297
52246
  }
51298
52247
  },
51299
- {
51300
- id: "focus.time-off.get-timeoffs-by-ghost-ids",
51301
- family: "focus",
51302
- resource: "time-off",
51303
- action: "get-timeoffs-by-ghost-ids",
51304
- title: "Get Timeoffs By Ghost Ids Time Off",
51305
- description: "Get Timeoffs By Ghost Ids Time Off.",
51306
- safety: "read",
51307
- destructive: false,
51308
- cli: {
51309
- group: ["time-off"],
51310
- command: "get-timeoffs-by-ghost-ids",
51311
- interactive: "hidden"
51312
- },
51313
- mcp: { entityTool: "time-off" },
51314
- inputSchema: /* @__PURE__ */ looseObject({
51315
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51316
- ghost_ids: /* @__PURE__ */ unknown$1(),
51317
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
51318
- }),
51319
- execute: (input, { client }) => {
51320
- const data = input;
51321
- return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
51322
- client.httpClient,
51323
- client.organizationId,
51324
- client.workspaceIdNumber,
51325
- data,
51326
- void 0
51327
- ]));
51328
- }
51329
- },
51330
52248
  {
51331
52249
  id: "focus.time-off.get-timeoffs-by-user-ids",
51332
52250
  family: "focus",
@@ -51357,37 +52275,6 @@ const generatedFocusOperations = [
51357
52275
  ]));
51358
52276
  }
51359
52277
  },
51360
- {
51361
- id: "focus.time-off.update-timeoff-for-ghost",
51362
- family: "focus",
51363
- resource: "time-off",
51364
- action: "update-timeoff-for-ghost",
51365
- title: "Update Timeoff For Ghost Time Off",
51366
- description: "Update Timeoff For Ghost Time Off.",
51367
- safety: "update",
51368
- destructive: false,
51369
- cli: {
51370
- group: ["time-off"],
51371
- command: "update-timeoff-for-ghost",
51372
- interactive: "hidden"
51373
- },
51374
- mcp: { entityTool: "time-off" },
51375
- inputSchema: /* @__PURE__ */ looseObject({
51376
- ghost_id: /* @__PURE__ */ number$2(),
51377
- payload: /* @__PURE__ */ unknown$1()
51378
- }),
51379
- execute: (input, { client }) => {
51380
- const data = input;
51381
- return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
51382
- client.httpClient,
51383
- client.organizationId,
51384
- client.workspaceIdNumber,
51385
- data.ghost_id,
51386
- data.payload ?? data.data ?? data,
51387
- void 0
51388
- ]));
51389
- }
51390
- },
51391
52278
  {
51392
52279
  id: "focus.time-off.update-timeoff-for-user",
51393
52280
  family: "focus",
@@ -52419,6 +53306,7 @@ const generatedFocusOperations = [
52419
53306
  pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52420
53307
  pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52421
53308
  pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53309
+ send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52422
53310
  send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52423
53311
  shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52424
53312
  show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -52520,37 +53408,6 @@ const generatedFocusOperations = [
52520
53408
  inputSchema: /* @__PURE__ */ looseObject({}),
52521
53409
  execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
52522
53410
  },
52523
- {
52524
- id: "focus.working-hours.create-for-ghost",
52525
- family: "focus",
52526
- resource: "working-hours",
52527
- action: "create-for-ghost",
52528
- title: "Create For Ghost Working Hours",
52529
- description: "Create For Ghost Working Hours.",
52530
- safety: "create",
52531
- destructive: false,
52532
- cli: {
52533
- group: ["working-hours"],
52534
- command: "create-for-ghost",
52535
- interactive: "hidden"
52536
- },
52537
- mcp: { entityTool: "working-hours" },
52538
- inputSchema: /* @__PURE__ */ looseObject({
52539
- ghost_id: /* @__PURE__ */ number$2(),
52540
- payload: /* @__PURE__ */ unknown$1()
52541
- }),
52542
- execute: (input, { client }) => {
52543
- const data = input;
52544
- return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
52545
- client.httpClient,
52546
- client.organizationId,
52547
- client.workspaceIdNumber,
52548
- data.ghost_id,
52549
- data.payload ?? data.data ?? data,
52550
- void 0
52551
- ]));
52552
- }
52553
- },
52554
53411
  {
52555
53412
  id: "focus.working-hours.create-for-user",
52556
53413
  family: "focus",
@@ -52581,37 +53438,6 @@ const generatedFocusOperations = [
52581
53438
  ]));
52582
53439
  }
52583
53440
  },
52584
- {
52585
- id: "focus.working-hours.delete-for-ghost",
52586
- family: "focus",
52587
- resource: "working-hours",
52588
- action: "delete-for-ghost",
52589
- title: "Delete For Ghost Working Hours",
52590
- description: "Delete For Ghost Working Hours.",
52591
- safety: "delete",
52592
- destructive: true,
52593
- cli: {
52594
- group: ["working-hours"],
52595
- command: "delete-for-ghost",
52596
- interactive: "hidden"
52597
- },
52598
- mcp: { entityTool: "working-hours" },
52599
- inputSchema: /* @__PURE__ */ looseObject({
52600
- ghost_id: /* @__PURE__ */ number$2(),
52601
- payload: /* @__PURE__ */ unknown$1()
52602
- }),
52603
- execute: (input, { client }) => {
52604
- const data = input;
52605
- return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
52606
- client.httpClient,
52607
- client.organizationId,
52608
- client.workspaceIdNumber,
52609
- data.ghost_id,
52610
- data.payload ?? data.data ?? data,
52611
- void 0
52612
- ]));
52613
- }
52614
- },
52615
53441
  {
52616
53442
  id: "focus.working-hours.delete-for-user",
52617
53443
  family: "focus",
@@ -52642,33 +53468,6 @@ const generatedFocusOperations = [
52642
53468
  ]));
52643
53469
  }
52644
53470
  },
52645
- {
52646
- id: "focus.working-hours.get-for-ghost",
52647
- family: "focus",
52648
- resource: "working-hours",
52649
- action: "get-for-ghost",
52650
- title: "Get For Ghost Working Hours",
52651
- description: "Get For Ghost Working Hours.",
52652
- safety: "read",
52653
- destructive: false,
52654
- cli: {
52655
- group: ["working-hours"],
52656
- command: "get-for-ghost",
52657
- interactive: "available"
52658
- },
52659
- mcp: { entityTool: "working-hours" },
52660
- inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
52661
- execute: (input, { client }) => {
52662
- const data = input;
52663
- return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
52664
- client.httpClient,
52665
- client.organizationId,
52666
- client.workspaceIdNumber,
52667
- data.ghost_id,
52668
- void 0
52669
- ]));
52670
- }
52671
- },
52672
53471
  {
52673
53472
  id: "focus.working-hours.get-for-user",
52674
53473
  family: "focus",
@@ -52695,37 +53494,6 @@ const generatedFocusOperations = [
52695
53494
  ]));
52696
53495
  }
52697
53496
  },
52698
- {
52699
- id: "focus.working-hours.update-for-ghost",
52700
- family: "focus",
52701
- resource: "working-hours",
52702
- action: "update-for-ghost",
52703
- title: "Update For Ghost Working Hours",
52704
- description: "Update For Ghost Working Hours.",
52705
- safety: "update",
52706
- destructive: false,
52707
- cli: {
52708
- group: ["working-hours"],
52709
- command: "update-for-ghost",
52710
- interactive: "hidden"
52711
- },
52712
- mcp: { entityTool: "working-hours" },
52713
- inputSchema: /* @__PURE__ */ looseObject({
52714
- ghost_id: /* @__PURE__ */ number$2(),
52715
- payload: /* @__PURE__ */ unknown$1()
52716
- }),
52717
- execute: (input, { client }) => {
52718
- const data = input;
52719
- return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
52720
- client.httpClient,
52721
- client.organizationId,
52722
- client.workspaceIdNumber,
52723
- data.ghost_id,
52724
- data.payload ?? data.data ?? data,
52725
- void 0
52726
- ]));
52727
- }
52728
- },
52729
53497
  {
52730
53498
  id: "focus.working-hours.update-for-user",
52731
53499
  family: "focus",
@@ -52800,6 +53568,50 @@ const generatedFocusOperations = [
52800
53568
  void 0
52801
53569
  ]))
52802
53570
  },
53571
+ {
53572
+ id: "focus.workspace-settings.get-workspace-export-branding",
53573
+ family: "focus",
53574
+ resource: "workspace-settings",
53575
+ action: "get-workspace-export-branding",
53576
+ title: "Get Workspace Export Branding Workspace Settings",
53577
+ description: "Get Workspace Export Branding Workspace Settings.",
53578
+ safety: "read",
53579
+ destructive: false,
53580
+ cli: {
53581
+ group: ["workspace-settings"],
53582
+ command: "get-workspace-export-branding",
53583
+ interactive: "hidden"
53584
+ },
53585
+ mcp: { entityTool: "workspace-settings" },
53586
+ inputSchema: /* @__PURE__ */ looseObject({}),
53587
+ execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
53588
+ client.httpClient,
53589
+ client.workspaceIdNumber,
53590
+ void 0
53591
+ ]))
53592
+ },
53593
+ {
53594
+ id: "focus.workspace-settings.get-workspace-watermark",
53595
+ family: "focus",
53596
+ resource: "workspace-settings",
53597
+ action: "get-workspace-watermark",
53598
+ title: "Get Workspace Watermark Workspace Settings",
53599
+ description: "Get Workspace Watermark Workspace Settings.",
53600
+ safety: "read",
53601
+ destructive: false,
53602
+ cli: {
53603
+ group: ["workspace-settings"],
53604
+ command: "get-workspace-watermark",
53605
+ interactive: "hidden"
53606
+ },
53607
+ mcp: { entityTool: "workspace-settings" },
53608
+ inputSchema: /* @__PURE__ */ looseObject({}),
53609
+ execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
53610
+ client.httpClient,
53611
+ client.workspaceIdNumber,
53612
+ void 0
53613
+ ]))
53614
+ },
52803
53615
  {
52804
53616
  id: "focus.workspace-settings.list",
52805
53617
  family: "focus",
@@ -52874,6 +53686,32 @@ const generatedFocusOperations = [
52874
53686
  ]));
52875
53687
  }
52876
53688
  },
53689
+ {
53690
+ id: "focus.workspace-settings.update-workspace-watermark",
53691
+ family: "focus",
53692
+ resource: "workspace-settings",
53693
+ action: "update-workspace-watermark",
53694
+ title: "Update Workspace Watermark Workspace Settings",
53695
+ description: "Update Workspace Watermark Workspace Settings.",
53696
+ safety: "update",
53697
+ destructive: false,
53698
+ cli: {
53699
+ group: ["workspace-settings"],
53700
+ command: "update-workspace-watermark",
53701
+ interactive: "default"
53702
+ },
53703
+ mcp: { entityTool: "workspace-settings" },
53704
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
53705
+ execute: (input, { client }) => {
53706
+ const data = input;
53707
+ return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
53708
+ client.httpClient,
53709
+ client.workspaceIdNumber,
53710
+ data.payload ?? data.data ?? data,
53711
+ void 0
53712
+ ]));
53713
+ }
53714
+ },
52877
53715
  {
52878
53716
  id: "focus.workspace.get-context",
52879
53717
  family: "focus",
@@ -54000,7 +54838,7 @@ function registerWorkspaceTools(server) {
54000
54838
  //#region src/package-version.ts
54001
54839
  function mcpPackageVersion() {
54002
54840
  try {
54003
- return "1.11.174";
54841
+ return "1.11.176";
54004
54842
  } catch {
54005
54843
  return "unknown";
54006
54844
  }
@@ -54175,7 +55013,7 @@ import_main.default.config({
54175
55013
  quiet: true,
54176
55014
  ignore: ["MISSING_ENV_FILE"]
54177
55015
  });
54178
- const packageVersion = "1.11.174";
55016
+ const packageVersion = "1.11.176";
54179
55017
  function resolvePublicUrls() {
54180
55018
  return {
54181
55019
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -54240,4 +55078,4 @@ function bootstrapServer(options = {}) {
54240
55078
  //#endregion
54241
55079
  export { getProductAnalyticsDistinctId as a, resolvePublicSentryDsn as c, captureToolInvocation as i, shutdownProductAnalytics as l, runMcpCli as n, initProductAnalytics as o, PUBLIC_SENTRY_PRIVACY_OPTIONS as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
54242
55080
 
54243
- //# sourceMappingURL=src-CxBQLOJY.js.map
55081
+ //# sourceMappingURL=src-AEU8Urnm.js.map