@togglhq/mcp 1.11.98 → 1.11.99

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.
@@ -34625,7 +34625,11 @@ function safeParse(schema, input, config$1) {
34625
34625
  }
34626
34626
  const TaskAssignmentSchema = /* @__PURE__ */ object({
34627
34627
  id: /* @__PURE__ */ number(),
34628
- type: /* @__PURE__ */ picklist(["user", "team"])
34628
+ type: /* @__PURE__ */ picklist([
34629
+ "user",
34630
+ "ghost",
34631
+ "team"
34632
+ ])
34629
34633
  });
34630
34634
  const ClientLiteSchema = /* @__PURE__ */ object({
34631
34635
  id: /* @__PURE__ */ number(),
@@ -34667,8 +34671,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
34667
34671
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34668
34672
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
34669
34673
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34670
- rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
34671
- 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.")))
34674
+ rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
34672
34675
  });
34673
34676
  const TaskMetadataSchema = /* @__PURE__ */ object({
34674
34677
  all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -34741,7 +34744,7 @@ const TaskSchema = /* @__PURE__ */ object({
34741
34744
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
34742
34745
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
34743
34746
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34744
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
34747
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34745
34748
  client: /* @__PURE__ */ optional(ClientLiteSchema),
34746
34749
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34747
34750
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -34749,6 +34752,7 @@ const TaskSchema = /* @__PURE__ */ object({
34749
34752
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34750
34753
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34751
34754
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34755
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
34752
34756
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34753
34757
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34754
34758
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -34758,7 +34762,6 @@ const TaskSchema = /* @__PURE__ */ object({
34758
34762
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34759
34763
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34760
34764
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34761
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34762
34765
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34763
34766
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34764
34767
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -34802,7 +34805,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34802
34805
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
34803
34806
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
34804
34807
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34805
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
34808
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34806
34809
  client: /* @__PURE__ */ optional(ClientLiteSchema),
34807
34810
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34808
34811
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -34810,6 +34813,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34810
34813
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34811
34814
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34812
34815
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34816
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
34813
34817
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34814
34818
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34815
34819
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -34820,7 +34824,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34820
34824
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34821
34825
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34822
34826
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34823
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34824
34827
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34825
34828
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34826
34829
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -34979,7 +34982,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
34979
34982
  tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
34980
34983
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
34981
34984
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34982
- timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
34985
+ 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."))),
34983
34986
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34984
34987
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
34985
34988
  });
@@ -35123,7 +35126,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
35123
35126
  task: /* @__PURE__ */ optional(TaskSchema),
35124
35127
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35125
35128
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35126
- timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
35129
+ 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."))),
35127
35130
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35128
35131
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
35129
35132
  })),
@@ -35135,15 +35138,9 @@ const TagSchema$1 = /* @__PURE__ */ object({
35135
35138
  id: /* @__PURE__ */ number(),
35136
35139
  name: /* @__PURE__ */ string(),
35137
35140
  workspace_id: /* @__PURE__ */ number(),
35138
- 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."))),
35139
35141
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35140
35142
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35141
- updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35142
- usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
35143
- projects: /* @__PURE__ */ number(),
35144
- tasks: /* @__PURE__ */ number(),
35145
- time_entries: /* @__PURE__ */ number()
35146
- })), /* @__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.")))
35143
+ updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
35147
35144
  });
35148
35145
  const PaginatedTagsSchema = /* @__PURE__ */ object({
35149
35146
  data: /* @__PURE__ */ array(TagSchema$1),
@@ -35154,8 +35151,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
35154
35151
  const OrganizationUserResponseSchema = /* @__PURE__ */ object({
35155
35152
  "2fa_enabled": /* @__PURE__ */ boolean(),
35156
35153
  account_locked_at: /* @__PURE__ */ string(),
35157
- accounts_role_id: /* @__PURE__ */ number(),
35158
35154
  active: /* @__PURE__ */ boolean(),
35155
+ admin: /* @__PURE__ */ boolean(),
35159
35156
  can_edit_personal_details: /* @__PURE__ */ boolean(),
35160
35157
  created_at: /* @__PURE__ */ string(),
35161
35158
  deleted_at: /* @__PURE__ */ string(),
@@ -35204,9 +35201,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
35204
35201
  track_role_id: /* @__PURE__ */ number(),
35205
35202
  work_role_id: /* @__PURE__ */ number(),
35206
35203
  workspace_user_id: /* @__PURE__ */ number()
35207
- })),
35208
- custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
35209
- 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.")))
35204
+ }))
35210
35205
  });
35211
35206
  const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35212
35207
  const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
@@ -35283,7 +35278,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35283
35278
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35284
35279
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35285
35280
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35286
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
35281
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35282
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35287
35283
  integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35288
35284
  integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35289
35285
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -35299,7 +35295,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35299
35295
  priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35300
35296
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35301
35297
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35302
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35303
35298
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35304
35299
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35305
35300
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -35309,23 +35304,22 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35309
35304
  const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35310
35305
  const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
35311
35306
  cascade_duplicate_children: /* @__PURE__ */ boolean(),
35312
- task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)),
35313
- 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.")))
35307
+ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
35314
35308
  });
35315
35309
  const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35316
35310
  const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35317
35311
  const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35318
- after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35319
35312
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
35320
35313
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35321
35314
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35322
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35315
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35323
35316
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35324
35317
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
35325
35318
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35326
35319
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35327
35320
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35328
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
35321
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35322
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35329
35323
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35330
35324
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35331
35325
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35342,7 +35336,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35342
35336
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35343
35337
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35344
35338
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35345
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35346
35339
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35347
35340
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35348
35341
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -35351,17 +35344,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35351
35344
  });
35352
35345
  const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35353
35346
  id: /* @__PURE__ */ number(),
35354
- after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35355
35347
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
35356
35348
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35357
35349
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35358
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35350
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35359
35351
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35360
35352
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
35361
35353
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35362
35354
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35363
35355
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35364
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
35356
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35357
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35365
35358
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35366
35359
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35367
35360
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35378,7 +35371,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35378
35371
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35379
35372
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35380
35373
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35381
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35382
35374
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35383
35375
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35384
35376
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -37302,7 +37294,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
37302
37294
  })
37303
37295
  }).json();
37304
37296
  }
37305
- async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
37297
+ 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) {
37306
37298
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
37307
37299
  signal,
37308
37300
  searchParams: buildSearchParams$2({
@@ -37322,10 +37314,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
37322
37314
  include_working_hours,
37323
37315
  include_rates,
37324
37316
  pinned_ids,
37325
- has_group,
37326
- cf_filter,
37327
- include_custom_fields,
37328
- include_calendar_integration
37317
+ has_group
37329
37318
  }, true)
37330
37319
  });
37331
37320
  return withResponseMeta(await response.json(), response.headers, response.status);
@@ -37344,7 +37333,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
37344
37333
  }
37345
37334
  //#endregion
37346
37335
  //#region ../focus-queries/dist/tags/requests.ts
37347
- async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
37336
+ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
37348
37337
  return await httpClient.get(`workspaces/${workspace_id}/tags`, {
37349
37338
  signal,
37350
37339
  searchParams: buildSearchParams$2({
@@ -37352,10 +37341,7 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
37352
37341
  page,
37353
37342
  per_page,
37354
37343
  order_by,
37355
- tag_id,
37356
- include_usage,
37357
- include_archived,
37358
- archived
37344
+ tag_id
37359
37345
  })
37360
37346
  }).json();
37361
37347
  }
@@ -37365,42 +37351,6 @@ async function createTag(httpClient, workspace_id, data, signal) {
37365
37351
  json: data
37366
37352
  }).json();
37367
37353
  }
37368
- async function bulkCreateTags(httpClient, workspace_id, data, signal) {
37369
- return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
37370
- signal,
37371
- json: data
37372
- }).json();
37373
- }
37374
- async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
37375
- return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
37376
- signal,
37377
- searchParams: buildSearchParams$2({ ids })
37378
- }).json();
37379
- }
37380
- async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
37381
- return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
37382
- signal,
37383
- json: data
37384
- }).json();
37385
- }
37386
- async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
37387
- return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
37388
- signal,
37389
- json: data
37390
- }).json();
37391
- }
37392
- async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
37393
- return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
37394
- signal,
37395
- json: data
37396
- }).json();
37397
- }
37398
- async function mergeTags(httpClient, workspace_id, data, signal) {
37399
- return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
37400
- signal,
37401
- json: data
37402
- }).json();
37403
- }
37404
37354
  async function getTag(httpClient, workspace_id, tag_id, signal) {
37405
37355
  return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
37406
37356
  }
@@ -37413,18 +37363,12 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
37413
37363
  async function deleteTag(httpClient, workspace_id, tag_id, signal) {
37414
37364
  return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
37415
37365
  }
37416
- async function archiveTag(httpClient, workspace_id, tag_id, signal) {
37417
- return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
37418
- }
37419
37366
  async function restoreTag(httpClient, workspace_id, tag_id, signal) {
37420
37367
  return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
37421
37368
  }
37422
- async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
37423
- return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
37424
- }
37425
37369
  //#endregion
37426
37370
  //#region ../focus-queries/dist/projects/requests.ts
37427
- async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
37371
+ 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) {
37428
37372
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37429
37373
  signal,
37430
37374
  searchParams: buildSearchParams$2({
@@ -37446,7 +37390,6 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
37446
37390
  include_rates,
37447
37391
  include_rollover,
37448
37392
  include_idle_recurring_templates,
37449
- collapse_recurring,
37450
37393
  include_drafts,
37451
37394
  include_locked_private,
37452
37395
  start_date,
@@ -37677,7 +37620,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
37677
37620
  }
37678
37621
  //#endregion
37679
37622
  //#region ../focus-queries/dist/tasks/requests.ts
37680
- async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
37623
+ 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) {
37681
37624
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
37682
37625
  signal,
37683
37626
  searchParams: buildSearchParams$2({
@@ -37725,8 +37668,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37725
37668
  recurring_task_ids,
37726
37669
  client_id,
37727
37670
  include_rates,
37671
+ include_ghost_assignees,
37728
37672
  include_assignees,
37729
37673
  include_parent_matches,
37674
+ assignee_ghost_id,
37730
37675
  disable_aggregations,
37731
37676
  cf_filter
37732
37677
  })
@@ -37812,7 +37757,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
37812
37757
  })
37813
37758
  }).json();
37814
37759
  }
37815
- async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
37760
+ 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) {
37816
37761
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
37817
37762
  signal,
37818
37763
  searchParams: buildSearchParams$2({
@@ -37825,14 +37770,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
37825
37770
  dates_overlap_end,
37826
37771
  recurring_task_ids,
37827
37772
  team_id,
37828
- assignee_team_id,
37829
37773
  assignee_user_id,
37830
37774
  tag_id,
37775
+ include_ghost_assignees,
37831
37776
  include_assignees
37832
37777
  })
37833
37778
  }).json();
37834
37779
  }
37835
- async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
37780
+ 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) {
37836
37781
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
37837
37782
  signal,
37838
37783
  searchParams: buildSearchParams$2({
@@ -37876,15 +37821,20 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37876
37821
  recurring,
37877
37822
  recurring_task_ids,
37878
37823
  client_id,
37824
+ include_ghost_assignees,
37879
37825
  include_assignees,
37826
+ assignee_ghost_id,
37880
37827
  cf_filter
37881
37828
  })
37882
37829
  }).json();
37883
37830
  }
37884
- async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
37831
+ async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
37885
37832
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
37886
37833
  signal,
37887
- searchParams: buildSearchParams$2({ include_assignees })
37834
+ searchParams: buildSearchParams$2({
37835
+ include_ghost_assignees,
37836
+ include_assignees
37837
+ })
37888
37838
  }).json();
37889
37839
  }
37890
37840
  async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
@@ -37915,7 +37865,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
37915
37865
  searchParams: buildSearchParams$2({ from_recurring_task_id })
37916
37866
  }).json();
37917
37867
  }
37918
- 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) {
37868
+ 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) {
37919
37869
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
37920
37870
  signal,
37921
37871
  searchParams: buildSearchParams$2({
@@ -37928,11 +37878,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
37928
37878
  team_id,
37929
37879
  assignee_user_id,
37930
37880
  tag_id,
37881
+ include_ghost_assignees,
37931
37882
  include_assignees
37932
37883
  })
37933
37884
  }).json();
37934
37885
  }
37935
- 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) {
37886
+ 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) {
37936
37887
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
37937
37888
  signal,
37938
37889
  searchParams: buildSearchParams$2({
@@ -37945,6 +37896,7 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
37945
37896
  team_id,
37946
37897
  assignee_user_id,
37947
37898
  tag_id,
37899
+ include_ghost_assignees,
37948
37900
  include_assignees
37949
37901
  })
37950
37902
  }).json();
@@ -38046,12 +37998,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
38046
37998
  })
38047
37999
  }).json();
38048
38000
  }
38049
- async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
38050
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
38051
- signal,
38052
- json: data
38053
- }).json();
38054
- }
38055
38001
  async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
38056
38002
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
38057
38003
  signal,
@@ -38188,7 +38134,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38188
38134
  ]))
38189
38135
  });
38190
38136
  //#endregion
38191
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.94_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_68f18c971e8f60df53ae800c6addc338/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38137
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.95_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_7e7b6c8c9a072f3c296554a8aa67445d/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38192
38138
  async function getInvitations(httpClient, signal) {
38193
38139
  return (await httpClient.get(`invitations`, { signal })).json();
38194
38140
  }
@@ -38205,7 +38151,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38205
38151
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38206
38152
  }
38207
38153
  //#endregion
38208
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.94_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_68f18c971e8f60df53ae800c6addc338/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38154
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.95_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_7e7b6c8c9a072f3c296554a8aa67445d/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38209
38155
  function buildSearchParams(params, flattenArrays = false) {
38210
38156
  const searchParams = new URLSearchParams();
38211
38157
  Object.entries(params).forEach(([key, value]) => {
@@ -38217,7 +38163,7 @@ function buildSearchParams(params, flattenArrays = false) {
38217
38163
  return searchParams;
38218
38164
  }
38219
38165
  //#endregion
38220
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.94_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_68f18c971e8f60df53ae800c6addc338/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38166
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.95_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_7e7b6c8c9a072f3c296554a8aa67445d/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38221
38167
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38222
38168
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38223
38169
  }
@@ -38231,7 +38177,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38231
38177
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38232
38178
  }
38233
38179
  //#endregion
38234
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.94_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_68f18c971e8f60df53ae800c6addc338/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38180
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.95_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_7e7b6c8c9a072f3c296554a8aa67445d/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38235
38181
  async function getWorkspaces(httpClient, organization_id, signal) {
38236
38182
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38237
38183
  }
@@ -38251,7 +38197,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38251
38197
  });
38252
38198
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38253
38199
  //#endregion
38254
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.94_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_68f18c971e8f60df53ae800c6addc338/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38200
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.95_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_7e7b6c8c9a072f3c296554a8aa67445d/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38255
38201
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38256
38202
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38257
38203
  signal,
@@ -38262,12 +38208,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38262
38208
  })).json();
38263
38209
  }
38264
38210
  //#endregion
38265
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.94_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_68f18c971e8f60df53ae800c6addc338/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38211
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.95_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_7e7b6c8c9a072f3c296554a8aa67445d/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38266
38212
  async function getStatus(httpClient, signal) {
38267
38213
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38268
38214
  }
38269
38215
  //#endregion
38270
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.94_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_68f18c971e8f60df53ae800c6addc338/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38216
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.95_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_7e7b6c8c9a072f3c296554a8aa67445d/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38271
38217
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38272
38218
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38273
38219
  signal,
@@ -38295,7 +38241,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38295
38241
  return response.json();
38296
38242
  }
38297
38243
  //#endregion
38298
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.94_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_68f18c971e8f60df53ae800c6addc338/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38244
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.95_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_7e7b6c8c9a072f3c296554a8aa67445d/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38299
38245
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38300
38246
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38301
38247
  }
@@ -41899,21 +41845,6 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
41899
41845
  }
41900
41846
  //#endregion
41901
41847
  //#region ../focus-queries/dist/audit-log/requests.ts
41902
- async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
41903
- return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
41904
- signal,
41905
- searchParams: buildSearchParams$2({
41906
- workspace_id,
41907
- entity_type,
41908
- entity_id,
41909
- action,
41910
- user_id,
41911
- page_size,
41912
- page_number,
41913
- export: export_
41914
- })
41915
- }).json();
41916
- }
41917
41848
  async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
41918
41849
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
41919
41850
  signal,
@@ -42072,22 +42003,33 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
42072
42003
  }
42073
42004
  //#endregion
42074
42005
  //#region ../focus-queries/dist/capacities/requests.ts
42075
- 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) {
42006
+ 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) {
42076
42007
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
42077
42008
  signal,
42078
42009
  searchParams: buildSearchParams$2({
42079
42010
  user_id,
42080
42011
  start_date,
42081
42012
  end_date,
42013
+ ghost_id,
42082
42014
  private: private_,
42083
42015
  task_source,
42084
42016
  unit,
42085
- include_drafts,
42086
- include_task_estimates
42017
+ include_drafts
42087
42018
  })
42088
42019
  }).json();
42089
42020
  }
42090
42021
  //#endregion
42022
+ //#region ../focus-queries/dist/capacity-settings/requests.ts
42023
+ async function getCapacitySettings(httpClient, workspace_id, signal) {
42024
+ return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
42025
+ }
42026
+ async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
42027
+ return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
42028
+ signal,
42029
+ json: data
42030
+ }).json();
42031
+ }
42032
+ //#endregion
42091
42033
  //#region ../focus-queries/dist/composite/requests.ts
42092
42034
  async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
42093
42035
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
@@ -42170,12 +42112,6 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
42170
42112
  async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
42171
42113
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
42172
42114
  }
42173
- async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
42174
- return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
42175
- signal,
42176
- json: data
42177
- }).json();
42178
- }
42179
42115
  //#endregion
42180
42116
  //#region ../focus-queries/dist/goals/requests.ts
42181
42117
  async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
@@ -42401,7 +42337,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
42401
42337
  }
42402
42338
  //#endregion
42403
42339
  //#region ../focus-queries/dist/project-groups/requests.ts
42404
- 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) {
42340
+ 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) {
42405
42341
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
42406
42342
  signal,
42407
42343
  searchParams: buildSearchParams$2({
@@ -42413,7 +42349,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42413
42349
  include_group_totals,
42414
42350
  include_unassigned,
42415
42351
  archived,
42416
- completed,
42417
42352
  private: private_,
42418
42353
  name,
42419
42354
  client_id,
@@ -42425,7 +42360,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42425
42360
  start_date,
42426
42361
  end_date,
42427
42362
  user_id,
42428
- only_me,
42429
42363
  include_drafts,
42430
42364
  cf_filter
42431
42365
  })
@@ -42541,14 +42475,10 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
42541
42475
  }
42542
42476
  //#endregion
42543
42477
  //#region ../focus-queries/dist/reports/requests.ts
42544
- async function getForecastAvailability(httpClient, workspace_id, signal) {
42545
- return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
42546
- }
42547
- async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
42478
+ async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
42548
42479
  return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
42549
42480
  signal,
42550
42481
  json: data,
42551
- headers: { "X-Toggl-Report-Export": xTogglReportExport },
42552
42482
  searchParams: buildSearchParams$2({
42553
42483
  response_format,
42554
42484
  include_dicts
@@ -42572,36 +42502,12 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
42572
42502
  json: data
42573
42503
  }).json();
42574
42504
  }
42575
- async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
42576
- return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
42577
- signal,
42578
- json: data
42579
- }).json();
42580
- }
42581
- async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
42505
+ async function getWorkloadReport(httpClient, workspace_id, data, signal) {
42582
42506
  return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
42583
- signal,
42584
- json: data,
42585
- headers: { "X-Toggl-Report-Export": xTogglReportExport }
42586
- }).json();
42587
- }
42588
- //#endregion
42589
- //#region ../focus-queries/dist/reportschedules/requests.ts
42590
- async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
42591
- return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
42592
- signal,
42593
- json: data
42594
- }).json();
42595
- }
42596
- async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
42597
- return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
42598
42507
  signal,
42599
42508
  json: data
42600
42509
  }).json();
42601
42510
  }
42602
- async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
42603
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
42604
- }
42605
42511
  //#endregion
42606
42512
  //#region ../focus-queries/dist/savedviews/requests.ts
42607
42513
  async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
@@ -42634,7 +42540,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
42634
42540
  }
42635
42541
  //#endregion
42636
42542
  //#region ../focus-queries/dist/search/requests.ts
42637
- 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) {
42543
+ 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) {
42638
42544
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
42639
42545
  signal,
42640
42546
  searchParams: buildSearchParams$2({
@@ -42646,56 +42552,11 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
42646
42552
  task_id,
42647
42553
  include_drafts,
42648
42554
  exclude_calendar_events,
42649
- group_by_tags,
42650
- only_me
42651
- })
42652
- }).json();
42653
- }
42654
- async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
42655
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
42656
- signal,
42657
- searchParams: buildSearchParams$2({
42658
- keyword,
42659
- per_group
42555
+ group_by_tags
42660
42556
  })
42661
42557
  }).json();
42662
42558
  }
42663
42559
  //#endregion
42664
- //#region ../focus-queries/dist/sharedreports/requests.ts
42665
- async function shareSavedView(httpClient, workspace_id, id, data, signal) {
42666
- return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
42667
- signal,
42668
- json: data
42669
- }).json();
42670
- }
42671
- async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
42672
- return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
42673
- }
42674
- async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
42675
- return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
42676
- signal,
42677
- json: data
42678
- }).json();
42679
- }
42680
- async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
42681
- return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
42682
- }
42683
- async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
42684
- return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
42685
- }
42686
- async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
42687
- return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
42688
- }
42689
- async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
42690
- return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
42691
- signal,
42692
- json: data
42693
- }).json();
42694
- }
42695
- async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
42696
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
42697
- }
42698
- //#endregion
42699
42560
  //#region ../focus-queries/dist/subscriptions/requests.ts
42700
42561
  async function getCurrentSubscription(httpClient, organization_id, signal) {
42701
42562
  return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
@@ -42751,77 +42612,7 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
42751
42612
  }
42752
42613
  //#endregion
42753
42614
  //#region ../focus-queries/dist/task-groups/requests.ts
42754
- 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) {
42755
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
42756
- signal,
42757
- searchParams: buildSearchParams$2({
42758
- project_id,
42759
- source,
42760
- priority,
42761
- status_id,
42762
- client_id,
42763
- assignee_user_id,
42764
- tag_id,
42765
- team_id,
42766
- user_tag_id,
42767
- group_id,
42768
- creator_id,
42769
- name,
42770
- start_date,
42771
- end_date,
42772
- start_date_from,
42773
- start_date_to,
42774
- end_date_from,
42775
- end_date_to,
42776
- private: private_,
42777
- exclude_empty,
42778
- include_unassigned,
42779
- include_unmaterialized,
42780
- collapse_recurring,
42781
- include_assignees,
42782
- min_days,
42783
- include_drafts,
42784
- cf_filter,
42785
- user_cf_filter
42786
- })
42787
- }).json();
42788
- }
42789
- 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) {
42790
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
42791
- signal,
42792
- searchParams: buildSearchParams$2({
42793
- team_id,
42794
- project_id,
42795
- source,
42796
- priority,
42797
- status_id,
42798
- client_id,
42799
- assignee_user_id,
42800
- tag_id,
42801
- user_tag_id,
42802
- group_id,
42803
- creator_id,
42804
- name,
42805
- start_date,
42806
- end_date,
42807
- start_date_from,
42808
- start_date_to,
42809
- end_date_from,
42810
- end_date_to,
42811
- private: private_,
42812
- exclude_empty,
42813
- include_unassigned,
42814
- include_unmaterialized,
42815
- collapse_recurring,
42816
- include_assignees,
42817
- min_days,
42818
- include_drafts,
42819
- cf_filter,
42820
- user_cf_filter
42821
- })
42822
- }).json();
42823
- }
42824
- 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) {
42615
+ 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) {
42825
42616
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
42826
42617
  signal,
42827
42618
  searchParams: buildSearchParams$2({
@@ -42845,14 +42636,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
42845
42636
  end_date_to,
42846
42637
  private: private_,
42847
42638
  exclude_empty,
42848
- include_unassigned,
42849
- include_unmaterialized,
42850
- collapse_recurring,
42639
+ include_ghosts,
42851
42640
  include_assignees,
42852
42641
  min_days,
42853
42642
  include_drafts,
42854
42643
  cf_filter,
42855
- user_cf_filter,
42856
42644
  page,
42857
42645
  per_page,
42858
42646
  order_by
@@ -42989,18 +42777,17 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
42989
42777
  }).json();
42990
42778
  }
42991
42779
  //#endregion
42992
- //#region ../focus-queries/dist/time-entry-groups/requests.ts
42993
- async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
42994
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
42780
+ //#region ../focus-queries/dist/time-log-suggestions/requests.ts
42781
+ async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
42782
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
42995
42783
  signal,
42996
- searchParams: buildSearchParams$2({
42997
- start_date,
42998
- end_date,
42999
- user_id,
43000
- page,
43001
- per_page,
43002
- order_by
43003
- })
42784
+ json: data
42785
+ }).json();
42786
+ }
42787
+ async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
42788
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
42789
+ signal,
42790
+ json: data
43004
42791
  }).json();
43005
42792
  }
43006
42793
  //#endregion
@@ -43042,6 +42829,43 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
43042
42829
  json: data
43043
42830
  }).json();
43044
42831
  }
42832
+ async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
42833
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
42834
+ signal,
42835
+ searchParams: buildSearchParams$2({
42836
+ ghost_ids,
42837
+ start_date,
42838
+ end_date
42839
+ })
42840
+ }).json();
42841
+ }
42842
+ async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
42843
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42844
+ signal,
42845
+ searchParams: buildSearchParams$2({
42846
+ from,
42847
+ to
42848
+ })
42849
+ }).json();
42850
+ }
42851
+ async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
42852
+ return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42853
+ signal,
42854
+ json: data
42855
+ }).json();
42856
+ }
42857
+ async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
42858
+ return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42859
+ signal,
42860
+ json: data
42861
+ }).json();
42862
+ }
42863
+ async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
42864
+ return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42865
+ signal,
42866
+ json: data
42867
+ }).json();
42868
+ }
43045
42869
  //#endregion
43046
42870
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
43047
42871
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -43234,6 +43058,27 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
43234
43058
  json: data
43235
43059
  }).json();
43236
43060
  }
43061
+ async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
43062
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
43063
+ }
43064
+ async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
43065
+ return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
43066
+ signal,
43067
+ json: data
43068
+ }).json();
43069
+ }
43070
+ async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
43071
+ return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
43072
+ signal,
43073
+ json: data
43074
+ }).json();
43075
+ }
43076
+ async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
43077
+ return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
43078
+ signal,
43079
+ json: data
43080
+ }).json();
43081
+ }
43237
43082
  //#endregion
43238
43083
  //#region ../focus-queries/dist/workspace/requests.ts
43239
43084
  async function getWorkspaceContext(httpClient, workspace_id, signal) {
@@ -43250,9 +43095,6 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
43250
43095
  json: data
43251
43096
  }).json();
43252
43097
  }
43253
- async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
43254
- return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
43255
- }
43256
43098
  async function getUserPermissions(httpClient, workspace_id, signal) {
43257
43099
  return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
43258
43100
  }
@@ -43265,15 +43107,6 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
43265
43107
  json: data
43266
43108
  }).json();
43267
43109
  }
43268
- async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
43269
- return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
43270
- }
43271
- async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
43272
- return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
43273
- signal,
43274
- json: data
43275
- }).json();
43276
- }
43277
43110
  //#endregion
43278
43111
  //#region ../operations/build/index.public.js
43279
43112
  function callGeneratedRequest(request, args) {
@@ -43409,17 +43242,17 @@ const generatedFocusOperations = [
43409
43242
  ]))
43410
43243
  },
43411
43244
  {
43412
- id: "focus.audit-log.get-organization",
43245
+ id: "focus.audit-log.list",
43413
43246
  family: "focus",
43414
43247
  resource: "audit-log",
43415
- action: "get-organization",
43416
- title: "Get Organization Audit Log",
43417
- description: "Get Organization Audit Log.",
43248
+ action: "list",
43249
+ title: "List Audit Log",
43250
+ description: "List Audit Log.",
43418
43251
  safety: "read",
43419
43252
  destructive: false,
43420
43253
  cli: {
43421
43254
  group: ["audit-log"],
43422
- command: "get-organization",
43255
+ command: "list",
43423
43256
  interactive: "hidden"
43424
43257
  },
43425
43258
  mcp: { entityTool: "audit-log" },
@@ -43433,14 +43266,14 @@ const generatedFocusOperations = [
43433
43266
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43434
43267
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43435
43268
  to: /* @__PURE__ */ string$1(),
43436
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43437
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43269
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43438
43270
  }),
43439
43271
  execute: (input, { client }) => {
43440
43272
  const data = input;
43441
- return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
43273
+ return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
43442
43274
  client.httpClient,
43443
43275
  client.organizationId,
43276
+ client.workspaceIdNumber,
43444
43277
  data.from,
43445
43278
  data.to,
43446
43279
  data,
@@ -43449,79 +43282,87 @@ const generatedFocusOperations = [
43449
43282
  }
43450
43283
  },
43451
43284
  {
43452
- id: "focus.audit-log.list",
43285
+ id: "focus.capacities.get-computations",
43453
43286
  family: "focus",
43454
- resource: "audit-log",
43455
- action: "list",
43456
- title: "List Audit Log",
43457
- description: "List Audit Log.",
43287
+ resource: "capacities",
43288
+ action: "get-computations",
43289
+ title: "Get Computations Capacities",
43290
+ description: "Get Computations Capacities.",
43458
43291
  safety: "read",
43459
43292
  destructive: false,
43460
43293
  cli: {
43461
- group: ["audit-log"],
43462
- command: "list",
43294
+ group: ["capacities"],
43295
+ command: "get-computations",
43463
43296
  interactive: "hidden"
43464
43297
  },
43465
- mcp: { entityTool: "audit-log" },
43298
+ mcp: { entityTool: "capacities" },
43466
43299
  inputSchema: /* @__PURE__ */ looseObject({
43467
- action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43468
- entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43469
- entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43470
- export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43471
- export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43472
- from: /* @__PURE__ */ string$1(),
43473
- page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43474
- page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43475
- to: /* @__PURE__ */ string$1(),
43476
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43300
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43301
+ ghost_id: /* @__PURE__ */ number$2(),
43302
+ group: /* @__PURE__ */ picklist$1(["users"]),
43303
+ include_drafts: /* @__PURE__ */ unknown$1(),
43304
+ private_: /* @__PURE__ */ unknown$1(),
43305
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43306
+ task_source: /* @__PURE__ */ unknown$1(),
43307
+ unit: /* @__PURE__ */ unknown$1(),
43308
+ user_id: /* @__PURE__ */ number$2()
43477
43309
  }),
43478
43310
  execute: (input, { client }) => {
43479
43311
  const data = input;
43480
- return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
43312
+ return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
43481
43313
  client.httpClient,
43482
43314
  client.organizationId,
43483
43315
  client.workspaceIdNumber,
43484
- data.from,
43485
- data.to,
43316
+ data.group,
43486
43317
  data,
43487
43318
  void 0
43488
43319
  ]));
43489
43320
  }
43490
43321
  },
43491
43322
  {
43492
- id: "focus.capacities.get-computations",
43323
+ id: "focus.capacities.settings-list",
43493
43324
  family: "focus",
43494
43325
  resource: "capacities",
43495
- action: "get-computations",
43496
- title: "Get Computations Capacities",
43497
- description: "Get Computations Capacities.",
43326
+ action: "settings-list",
43327
+ title: "Settings List Capacities",
43328
+ description: "Settings List Capacities.",
43498
43329
  safety: "read",
43499
43330
  destructive: false,
43500
43331
  cli: {
43501
- group: ["capacities"],
43502
- command: "get-computations",
43332
+ group: ["capacities", "settings"],
43333
+ command: "list",
43503
43334
  interactive: "hidden"
43504
43335
  },
43505
43336
  mcp: { entityTool: "capacities" },
43506
- inputSchema: /* @__PURE__ */ looseObject({
43507
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43508
- group: /* @__PURE__ */ picklist$1(["users"]),
43509
- include_drafts: /* @__PURE__ */ unknown$1(),
43510
- include_task_estimates: /* @__PURE__ */ unknown$1(),
43511
- private_: /* @__PURE__ */ unknown$1(),
43512
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43513
- task_source: /* @__PURE__ */ unknown$1(),
43514
- unit: /* @__PURE__ */ unknown$1(),
43515
- user_id: /* @__PURE__ */ number$2()
43516
- }),
43337
+ inputSchema: /* @__PURE__ */ looseObject({}),
43338
+ execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
43339
+ client.httpClient,
43340
+ client.workspaceIdNumber,
43341
+ void 0
43342
+ ]))
43343
+ },
43344
+ {
43345
+ id: "focus.capacities.settings-update",
43346
+ family: "focus",
43347
+ resource: "capacities",
43348
+ action: "settings-update",
43349
+ title: "Settings Update Capacities",
43350
+ description: "Settings Update Capacities.",
43351
+ safety: "update",
43352
+ destructive: false,
43353
+ cli: {
43354
+ group: ["capacities", "settings"],
43355
+ command: "update",
43356
+ interactive: "default"
43357
+ },
43358
+ mcp: { entityTool: "capacities" },
43359
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
43517
43360
  execute: (input, { client }) => {
43518
43361
  const data = input;
43519
- return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
43362
+ return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
43520
43363
  client.httpClient,
43521
- client.organizationId,
43522
43364
  client.workspaceIdNumber,
43523
- data.group,
43524
- data,
43365
+ data.payload ?? data.data ?? data,
43525
43366
  void 0
43526
43367
  ]));
43527
43368
  }
@@ -43720,7 +43561,8 @@ const generatedFocusOperations = [
43720
43561
  hourly_rate: /* @__PURE__ */ number$2(),
43721
43562
  start_at: apiDateTimeString,
43722
43563
  end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
43723
- })))
43564
+ }))),
43565
+ resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
43724
43566
  }) }),
43725
43567
  execute: (input, { client }) => {
43726
43568
  const data = input;
@@ -43775,7 +43617,6 @@ const generatedFocusOperations = [
43775
43617
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43776
43618
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43777
43619
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43778
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43779
43620
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43780
43621
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43781
43622
  }),
@@ -43808,7 +43649,6 @@ const generatedFocusOperations = [
43808
43649
  priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
43809
43650
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43810
43651
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43811
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43812
43652
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43813
43653
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43814
43654
  }))),
@@ -43864,11 +43704,7 @@ const generatedFocusOperations = [
43864
43704
  },
43865
43705
  mcp: { entityTool: "custom-fields" },
43866
43706
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
43867
- entity_type: /* @__PURE__ */ picklist$1([
43868
- "project",
43869
- "task",
43870
- "user"
43871
- ]),
43707
+ entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
43872
43708
  field_type: /* @__PURE__ */ picklist$1([
43873
43709
  "select",
43874
43710
  "multi_select",
@@ -44201,11 +44037,7 @@ const generatedFocusOperations = [
44201
44037
  },
44202
44038
  mcp: { entityTool: "custom-fields" },
44203
44039
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44204
- entity_type: /* @__PURE__ */ picklist$1([
44205
- "project",
44206
- "task",
44207
- "user"
44208
- ]),
44040
+ entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
44209
44041
  ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
44210
44042
  }) }),
44211
44043
  execute: (input, { client }) => {
@@ -44219,37 +44051,6 @@ const generatedFocusOperations = [
44219
44051
  ]));
44220
44052
  }
44221
44053
  },
44222
- {
44223
- id: "focus.custom-fields.update-user-custom-field-values",
44224
- family: "focus",
44225
- resource: "custom-fields",
44226
- action: "update-user-custom-field-values",
44227
- title: "Update User Custom Field Values Custom Fields",
44228
- description: "Update User Custom Field Values Custom Fields.",
44229
- safety: "update",
44230
- destructive: false,
44231
- cli: {
44232
- group: ["custom-fields"],
44233
- command: "update-user-custom-field-values",
44234
- interactive: "hidden"
44235
- },
44236
- mcp: { entityTool: "custom-fields" },
44237
- inputSchema: /* @__PURE__ */ looseObject({
44238
- payload: /* @__PURE__ */ unknown$1(),
44239
- user_id: /* @__PURE__ */ number$2()
44240
- }),
44241
- execute: (input, { client }) => {
44242
- const data = input;
44243
- return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
44244
- client.httpClient,
44245
- client.organizationId,
44246
- client.workspaceIdNumber,
44247
- data.user_id,
44248
- data.payload ?? data.data ?? data,
44249
- void 0
44250
- ]));
44251
- }
44252
- },
44253
44054
  {
44254
44055
  id: "focus.goals.create",
44255
44056
  family: "focus",
@@ -44469,22 +44270,10 @@ const generatedFocusOperations = [
44469
44270
  goal_id: /* @__PURE__ */ number$2(),
44470
44271
  payload: /* @__PURE__ */ looseObject({
44471
44272
  active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44472
- client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44473
44273
  comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44474
44274
  icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44475
44275
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44476
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44477
- recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
44478
- "daily",
44479
- "weekly",
44480
- "daily_workdays",
44481
- "monthly"
44482
- ])),
44483
- start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44484
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44485
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44486
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44487
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44276
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
44488
44277
  })
44489
44278
  }),
44490
44279
  execute: (input, { client }) => {
@@ -45817,7 +45606,6 @@ const generatedFocusOperations = [
45817
45606
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45818
45607
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45819
45608
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45820
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45821
45609
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45822
45610
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
45823
45611
  group: /* @__PURE__ */ string$1(),
@@ -45825,7 +45613,6 @@ const generatedFocusOperations = [
45825
45613
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45826
45614
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45827
45615
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45828
- only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45829
45616
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45830
45617
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45831
45618
  parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -48010,10 +47797,7 @@ const generatedFocusOperations = [
48010
47797
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48011
47798
  name: /* @__PURE__ */ string$1(),
48012
47799
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48013
- })),
48014
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48015
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48016
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
47800
+ }))
48017
47801
  }),
48018
47802
  response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48019
47803
  }),
@@ -48054,28 +47838,6 @@ const generatedFocusOperations = [
48054
47838
  ]));
48055
47839
  }
48056
47840
  },
48057
- {
48058
- id: "focus.reports.get-forecast-availability",
48059
- family: "focus",
48060
- resource: "reports",
48061
- action: "get-forecast-availability",
48062
- title: "Get Forecast Availability Reports",
48063
- description: "Get Forecast Availability Reports.",
48064
- safety: "read",
48065
- destructive: false,
48066
- cli: {
48067
- group: ["reports"],
48068
- command: "get-forecast-availability",
48069
- interactive: "hidden"
48070
- },
48071
- mcp: { entityTool: "reports" },
48072
- inputSchema: /* @__PURE__ */ looseObject({}),
48073
- execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
48074
- client.httpClient,
48075
- client.workspaceIdNumber,
48076
- void 0
48077
- ]))
48078
- },
48079
47841
  {
48080
47842
  id: "focus.reports.get-profitability",
48081
47843
  family: "focus",
@@ -48135,17 +47897,9 @@ const generatedFocusOperations = [
48135
47897
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48136
47898
  name: /* @__PURE__ */ string$1(),
48137
47899
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48138
- })),
48139
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48140
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48141
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
47900
+ }))
48142
47901
  }),
48143
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
48144
- xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
48145
- "csv",
48146
- "xlsx",
48147
- "pdf"
48148
- ]))
47902
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
48149
47903
  }),
48150
47904
  execute: (input, { client }) => {
48151
47905
  const data = input;
@@ -48155,23 +47909,22 @@ const generatedFocusOperations = [
48155
47909
  data.payload ?? data.data ?? data,
48156
47910
  data.response_format,
48157
47911
  data.include_dicts,
48158
- data.xTogglReportExport,
48159
47912
  void 0
48160
47913
  ]));
48161
47914
  }
48162
47915
  },
48163
47916
  {
48164
- id: "focus.reports.get-time-accounting",
47917
+ id: "focus.reports.get-workload",
48165
47918
  family: "focus",
48166
47919
  resource: "reports",
48167
- action: "get-time-accounting",
48168
- title: "Get Time Accounting Reports",
48169
- description: "Get Time Accounting Reports.",
47920
+ action: "get-workload",
47921
+ title: "Get Workload Reports",
47922
+ description: "Get Workload Reports.",
48170
47923
  safety: "update",
48171
47924
  destructive: false,
48172
47925
  cli: {
48173
47926
  group: ["reports"],
48174
- command: "get-time-accounting",
47927
+ command: "get-workload",
48175
47928
  interactive: "hidden"
48176
47929
  },
48177
47930
  mcp: { entityTool: "reports" },
@@ -48217,205 +47970,14 @@ const generatedFocusOperations = [
48217
47970
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48218
47971
  name: /* @__PURE__ */ string$1(),
48219
47972
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48220
- })),
48221
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48222
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48223
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
47973
+ }))
48224
47974
  }) }),
48225
- execute: (input, { client }) => {
48226
- const data = input;
48227
- return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
48228
- client.httpClient,
48229
- client.workspaceIdNumber,
48230
- data.payload ?? data.data ?? data,
48231
- void 0
48232
- ]));
48233
- }
48234
- },
48235
- {
48236
- id: "focus.reports.get-workload",
48237
- family: "focus",
48238
- resource: "reports",
48239
- action: "get-workload",
48240
- title: "Get Workload Reports",
48241
- description: "Get Workload Reports.",
48242
- safety: "update",
48243
- destructive: false,
48244
- cli: {
48245
- group: ["reports"],
48246
- command: "get-workload",
48247
- interactive: "hidden"
48248
- },
48249
- mcp: { entityTool: "reports" },
48250
- inputSchema: /* @__PURE__ */ looseObject({
48251
- payload: /* @__PURE__ */ looseObject({
48252
- aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48253
- aggregation: /* @__PURE__ */ looseObject({
48254
- function: /* @__PURE__ */ string$1(),
48255
- property: /* @__PURE__ */ string$1()
48256
- }),
48257
- operator: /* @__PURE__ */ string$1(),
48258
- property: /* @__PURE__ */ string$1()
48259
- })),
48260
- aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48261
- function: /* @__PURE__ */ string$1(),
48262
- property: /* @__PURE__ */ string$1()
48263
- })),
48264
- attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
48265
- currency: /* @__PURE__ */ string$1(),
48266
- filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48267
- conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
48268
- operator: /* @__PURE__ */ string$1(),
48269
- property: /* @__PURE__ */ string$1()
48270
- })),
48271
- groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48272
- property: /* @__PURE__ */ string$1(),
48273
- show_empty: /* @__PURE__ */ boolean$1()
48274
- })),
48275
- limit: /* @__PURE__ */ number$2(),
48276
- ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48277
- direction: /* @__PURE__ */ string$1(),
48278
- nulls: /* @__PURE__ */ string$1(),
48279
- property: /* @__PURE__ */ string$1()
48280
- })),
48281
- pagination: /* @__PURE__ */ looseObject({
48282
- page: /* @__PURE__ */ number$2(),
48283
- per_page: /* @__PURE__ */ number$2()
48284
- }),
48285
- period: /* @__PURE__ */ looseObject({
48286
- from: /* @__PURE__ */ string$1(),
48287
- preset: /* @__PURE__ */ string$1(),
48288
- to: /* @__PURE__ */ string$1()
48289
- }),
48290
- transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48291
- name: /* @__PURE__ */ string$1(),
48292
- parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48293
- })),
48294
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48295
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48296
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48297
- }),
48298
- xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
48299
- "csv",
48300
- "xlsx",
48301
- "pdf"
48302
- ]))
48303
- }),
48304
47975
  execute: (input, { client }) => {
48305
47976
  const data = input;
48306
47977
  return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
48307
47978
  client.httpClient,
48308
47979
  client.workspaceIdNumber,
48309
47980
  data.payload ?? data.data ?? data,
48310
- data.xTogglReportExport,
48311
- void 0
48312
- ]));
48313
- }
48314
- },
48315
- {
48316
- id: "focus.reportschedules.delete-shared-report-schedule",
48317
- family: "focus",
48318
- resource: "reportschedules",
48319
- action: "delete-shared-report-schedule",
48320
- title: "Delete Shared Report Schedule Reportschedules",
48321
- description: "Delete Shared Report Schedule Reportschedules.",
48322
- safety: "delete",
48323
- destructive: true,
48324
- cli: {
48325
- group: ["reportschedules"],
48326
- command: "delete-shared-report-schedule",
48327
- interactive: "default"
48328
- },
48329
- mcp: { entityTool: "reportschedules" },
48330
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48331
- execute: (input, { client }) => {
48332
- const data = input;
48333
- return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
48334
- client.httpClient,
48335
- client.workspaceIdNumber,
48336
- data.id,
48337
- void 0
48338
- ]));
48339
- }
48340
- },
48341
- {
48342
- id: "focus.reportschedules.upsert-saved-view-schedule",
48343
- family: "focus",
48344
- resource: "reportschedules",
48345
- action: "upsert-saved-view-schedule",
48346
- title: "Upsert Saved View Schedule Reportschedules",
48347
- description: "Upsert Saved View Schedule Reportschedules.",
48348
- safety: "update",
48349
- destructive: false,
48350
- cli: {
48351
- group: ["reportschedules"],
48352
- command: "upsert-saved-view-schedule",
48353
- interactive: "default"
48354
- },
48355
- mcp: { entityTool: "reportschedules" },
48356
- inputSchema: /* @__PURE__ */ looseObject({
48357
- id: /* @__PURE__ */ number$2(),
48358
- payload: /* @__PURE__ */ looseObject({
48359
- cadence: /* @__PURE__ */ picklist$1([
48360
- "daily",
48361
- "weekly",
48362
- "monthly"
48363
- ]),
48364
- time: /* @__PURE__ */ string$1(),
48365
- day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48366
- recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48367
- recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48368
- recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
48369
- })
48370
- }),
48371
- execute: (input, { client }) => {
48372
- const data = input;
48373
- return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
48374
- client.httpClient,
48375
- client.workspaceIdNumber,
48376
- data.id,
48377
- data.payload ?? data.data ?? data,
48378
- void 0
48379
- ]));
48380
- }
48381
- },
48382
- {
48383
- id: "focus.reportschedules.upsert-shared-report-schedule",
48384
- family: "focus",
48385
- resource: "reportschedules",
48386
- action: "upsert-shared-report-schedule",
48387
- title: "Upsert Shared Report Schedule Reportschedules",
48388
- description: "Upsert Shared Report Schedule Reportschedules.",
48389
- safety: "update",
48390
- destructive: false,
48391
- cli: {
48392
- group: ["reportschedules"],
48393
- command: "upsert-shared-report-schedule",
48394
- interactive: "default"
48395
- },
48396
- mcp: { entityTool: "reportschedules" },
48397
- inputSchema: /* @__PURE__ */ looseObject({
48398
- id: /* @__PURE__ */ number$2(),
48399
- payload: /* @__PURE__ */ looseObject({
48400
- cadence: /* @__PURE__ */ picklist$1([
48401
- "daily",
48402
- "weekly",
48403
- "monthly"
48404
- ]),
48405
- time: /* @__PURE__ */ string$1(),
48406
- day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48407
- recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48408
- recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48409
- recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
48410
- })
48411
- }),
48412
- execute: (input, { client }) => {
48413
- const data = input;
48414
- return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
48415
- client.httpClient,
48416
- client.workspaceIdNumber,
48417
- data.id,
48418
- data.payload ?? data.data ?? data,
48419
47981
  void 0
48420
47982
  ]));
48421
47983
  }
@@ -48453,9 +48015,7 @@ const generatedFocusOperations = [
48453
48015
  "reports.detailed",
48454
48016
  "reports.utilization",
48455
48017
  "reports.workload",
48456
- "reports.profitability",
48457
- "reports.time-off",
48458
- "reports.time-accounting"
48018
+ "reports.profitability"
48459
48019
  ]),
48460
48020
  icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48461
48021
  }) }),
@@ -48579,37 +48139,7 @@ const generatedFocusOperations = [
48579
48139
  }
48580
48140
  },
48581
48141
  {
48582
- id: "focus.search.mentions",
48583
- family: "focus",
48584
- resource: "search",
48585
- action: "mentions",
48586
- title: "Mentions Search",
48587
- description: "Mentions Search.",
48588
- safety: "read",
48589
- destructive: false,
48590
- cli: {
48591
- group: ["search"],
48592
- command: "mentions",
48593
- interactive: "hidden"
48594
- },
48595
- mcp: { entityTool: "search" },
48596
- inputSchema: /* @__PURE__ */ looseObject({
48597
- keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48598
- per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48599
- }),
48600
- execute: (input, { client }) => {
48601
- const data = input;
48602
- return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
48603
- client.httpClient,
48604
- client.organizationId,
48605
- client.workspaceIdNumber,
48606
- data,
48607
- void 0
48608
- ]));
48609
- }
48610
- },
48611
- {
48612
- id: "focus.search.search",
48142
+ id: "focus.search.search",
48613
48143
  family: "focus",
48614
48144
  resource: "search",
48615
48145
  action: "search",
@@ -48635,240 +48165,6 @@ const generatedFocusOperations = [
48635
48165
  ]));
48636
48166
  }
48637
48167
  },
48638
- {
48639
- id: "focus.sharedreports.add-shared-report-grants",
48640
- family: "focus",
48641
- resource: "sharedreports",
48642
- action: "add-shared-report-grants",
48643
- title: "Add Shared Report Grants Sharedreports",
48644
- description: "Add Shared Report Grants Sharedreports.",
48645
- safety: "update",
48646
- destructive: false,
48647
- cli: {
48648
- group: ["sharedreports"],
48649
- command: "add-shared-report-grants",
48650
- interactive: "default"
48651
- },
48652
- mcp: { entityTool: "sharedreports" },
48653
- inputSchema: /* @__PURE__ */ looseObject({
48654
- id: /* @__PURE__ */ number$2(),
48655
- payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48656
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48657
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48658
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48659
- })) })
48660
- }),
48661
- execute: (input, { client }) => {
48662
- const data = input;
48663
- return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
48664
- client.httpClient,
48665
- client.workspaceIdNumber,
48666
- data.id,
48667
- data.payload ?? data.data ?? data,
48668
- void 0
48669
- ]));
48670
- }
48671
- },
48672
- {
48673
- id: "focus.sharedreports.get-saved-view-shared-report",
48674
- family: "focus",
48675
- resource: "sharedreports",
48676
- action: "get-saved-view-shared-report",
48677
- title: "Get Saved View Shared Report Sharedreports",
48678
- description: "Get Saved View Shared Report Sharedreports.",
48679
- safety: "read",
48680
- destructive: false,
48681
- cli: {
48682
- group: ["sharedreports"],
48683
- command: "get-saved-view-shared-report",
48684
- interactive: "available"
48685
- },
48686
- mcp: { entityTool: "sharedreports" },
48687
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48688
- execute: (input, { client }) => {
48689
- const data = input;
48690
- return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
48691
- client.httpClient,
48692
- client.workspaceIdNumber,
48693
- data.id,
48694
- void 0
48695
- ]));
48696
- }
48697
- },
48698
- {
48699
- id: "focus.sharedreports.get-shared-report-for-viewer",
48700
- family: "focus",
48701
- resource: "sharedreports",
48702
- action: "get-shared-report-for-viewer",
48703
- title: "Get Shared Report For Viewer Sharedreports",
48704
- description: "Get Shared Report For Viewer Sharedreports.",
48705
- safety: "read",
48706
- destructive: false,
48707
- cli: {
48708
- group: ["sharedreports"],
48709
- command: "get-shared-report-for-viewer",
48710
- interactive: "available"
48711
- },
48712
- mcp: { entityTool: "sharedreports" },
48713
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48714
- execute: (input, { client }) => {
48715
- const data = input;
48716
- return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
48717
- client.httpClient,
48718
- client.workspaceIdNumber,
48719
- data.id,
48720
- void 0
48721
- ]));
48722
- }
48723
- },
48724
- {
48725
- id: "focus.sharedreports.get-shared-reports-shared-by-me",
48726
- family: "focus",
48727
- resource: "sharedreports",
48728
- action: "get-shared-reports-shared-by-me",
48729
- title: "Get Shared Reports Shared By Me Sharedreports",
48730
- description: "Get Shared Reports Shared By Me Sharedreports.",
48731
- safety: "read",
48732
- destructive: false,
48733
- cli: {
48734
- group: ["sharedreports"],
48735
- command: "get-shared-reports-shared-by-me",
48736
- interactive: "hidden"
48737
- },
48738
- mcp: { entityTool: "sharedreports" },
48739
- inputSchema: /* @__PURE__ */ looseObject({}),
48740
- execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
48741
- client.httpClient,
48742
- client.workspaceIdNumber,
48743
- void 0
48744
- ]))
48745
- },
48746
- {
48747
- id: "focus.sharedreports.get-shared-reports-shared-with-me",
48748
- family: "focus",
48749
- resource: "sharedreports",
48750
- action: "get-shared-reports-shared-with-me",
48751
- title: "Get Shared Reports Shared With Me Sharedreports",
48752
- description: "Get Shared Reports Shared With Me Sharedreports.",
48753
- safety: "read",
48754
- destructive: false,
48755
- cli: {
48756
- group: ["sharedreports"],
48757
- command: "get-shared-reports-shared-with-me",
48758
- interactive: "hidden"
48759
- },
48760
- mcp: { entityTool: "sharedreports" },
48761
- inputSchema: /* @__PURE__ */ looseObject({}),
48762
- execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
48763
- client.httpClient,
48764
- client.workspaceIdNumber,
48765
- void 0
48766
- ]))
48767
- },
48768
- {
48769
- id: "focus.sharedreports.revoke-shared-report-grant",
48770
- family: "focus",
48771
- resource: "sharedreports",
48772
- action: "revoke-shared-report-grant",
48773
- title: "Revoke Shared Report Grant Sharedreports",
48774
- description: "Revoke Shared Report Grant Sharedreports.",
48775
- safety: "delete",
48776
- destructive: true,
48777
- cli: {
48778
- group: ["sharedreports"],
48779
- command: "revoke-shared-report-grant",
48780
- interactive: "default"
48781
- },
48782
- mcp: { entityTool: "sharedreports" },
48783
- inputSchema: /* @__PURE__ */ looseObject({
48784
- grant_id: /* @__PURE__ */ number$2(),
48785
- id: /* @__PURE__ */ number$2()
48786
- }),
48787
- execute: (input, { client }) => {
48788
- const data = input;
48789
- return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
48790
- client.httpClient,
48791
- client.workspaceIdNumber,
48792
- data.id,
48793
- data.grant_id,
48794
- void 0
48795
- ]));
48796
- }
48797
- },
48798
- {
48799
- id: "focus.sharedreports.share-saved-view",
48800
- family: "focus",
48801
- resource: "sharedreports",
48802
- action: "share-saved-view",
48803
- title: "Share Saved View Sharedreports",
48804
- description: "Share Saved View Sharedreports.",
48805
- safety: "update",
48806
- destructive: false,
48807
- cli: {
48808
- group: ["sharedreports"],
48809
- command: "share-saved-view",
48810
- interactive: "hidden"
48811
- },
48812
- mcp: { entityTool: "sharedreports" },
48813
- inputSchema: /* @__PURE__ */ looseObject({
48814
- id: /* @__PURE__ */ number$2(),
48815
- payload: /* @__PURE__ */ looseObject({
48816
- charts: /* @__PURE__ */ unknown$1(),
48817
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48818
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48819
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48820
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48821
- })
48822
- }),
48823
- execute: (input, { client }) => {
48824
- const data = input;
48825
- return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
48826
- client.httpClient,
48827
- client.workspaceIdNumber,
48828
- data.id,
48829
- data.payload ?? data.data ?? data,
48830
- void 0
48831
- ]));
48832
- }
48833
- },
48834
- {
48835
- id: "focus.sharedreports.share-saved-view-many",
48836
- family: "focus",
48837
- resource: "sharedreports",
48838
- action: "share-saved-view-many",
48839
- title: "Share Saved View Many Sharedreports",
48840
- description: "Share Saved View Many Sharedreports.",
48841
- safety: "update",
48842
- destructive: false,
48843
- cli: {
48844
- group: ["sharedreports"],
48845
- command: "share-saved-view-many",
48846
- interactive: "hidden"
48847
- },
48848
- mcp: { entityTool: "sharedreports" },
48849
- inputSchema: /* @__PURE__ */ looseObject({
48850
- id: /* @__PURE__ */ number$2(),
48851
- payload: /* @__PURE__ */ looseObject({
48852
- charts: /* @__PURE__ */ unknown$1(),
48853
- grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48854
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48855
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48856
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48857
- })),
48858
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48859
- })
48860
- }),
48861
- execute: (input, { client }) => {
48862
- const data = input;
48863
- return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
48864
- client.httpClient,
48865
- client.workspaceIdNumber,
48866
- data.id,
48867
- data.payload ?? data.data ?? data,
48868
- void 0
48869
- ]));
48870
- }
48871
- },
48872
48168
  {
48873
48169
  id: "focus.statuses.create-status",
48874
48170
  family: "focus",
@@ -49125,181 +48421,22 @@ const generatedFocusOperations = [
49125
48421
  family: "focus",
49126
48422
  resource: "subscriptions",
49127
48423
  action: "upsert-forced-trial",
49128
- title: "Upsert Forced Trial Subscriptions",
49129
- description: "Upsert Forced Trial Subscriptions.",
49130
- safety: "update",
49131
- destructive: false,
49132
- cli: {
49133
- group: ["subscriptions"],
49134
- command: "upsert-forced-trial",
49135
- interactive: "default"
49136
- },
49137
- mcp: { entityTool: "subscriptions" },
49138
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
49139
- execute: (input, { client }) => {
49140
- const data = input;
49141
- return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
49142
- client.httpClient,
49143
- client.organizationId,
49144
- client.workspaceIdNumber,
49145
- data.payload ?? data.data ?? data,
49146
- void 0
49147
- ]));
49148
- }
49149
- },
49150
- {
49151
- id: "focus.tags.archive",
49152
- family: "focus",
49153
- resource: "tags",
49154
- action: "archive",
49155
- title: "Archive Tags",
49156
- description: "Archive Tags.",
49157
- safety: "update",
49158
- destructive: false,
49159
- cli: {
49160
- group: ["tags"],
49161
- command: "archive",
49162
- interactive: "default"
49163
- },
49164
- mcp: { entityTool: "tags" },
49165
- inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
49166
- execute: (input, { client }) => {
49167
- const data = input;
49168
- return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
49169
- client.httpClient,
49170
- client.workspaceIdNumber,
49171
- data.tag_id,
49172
- void 0
49173
- ]));
49174
- }
49175
- },
49176
- {
49177
- id: "focus.tags.bulk-archive",
49178
- family: "focus",
49179
- resource: "tags",
49180
- action: "bulk-archive",
49181
- title: "Bulk Archive Tags",
49182
- description: "Bulk Archive Tags.",
49183
- safety: "update",
49184
- destructive: false,
49185
- cli: {
49186
- group: ["tags", "bulk"],
49187
- command: "archive",
49188
- interactive: "default"
49189
- },
49190
- mcp: { entityTool: "tags" },
49191
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
49192
- execute: (input, { client }) => {
49193
- const data = input;
49194
- return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
49195
- client.httpClient,
49196
- client.workspaceIdNumber,
49197
- data.payload ?? data.data ?? data,
49198
- void 0
49199
- ]));
49200
- }
49201
- },
49202
- {
49203
- id: "focus.tags.bulk-create",
49204
- family: "focus",
49205
- resource: "tags",
49206
- action: "bulk-create",
49207
- title: "Bulk Create Tags",
49208
- description: "Bulk Create Tags.",
49209
- safety: "create",
49210
- destructive: false,
49211
- cli: {
49212
- group: ["tags", "bulk"],
49213
- command: "create",
49214
- interactive: "default"
49215
- },
49216
- mcp: { entityTool: "tags" },
49217
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
49218
- color: /* @__PURE__ */ string$1(),
49219
- name: /* @__PURE__ */ string$1()
49220
- })) }) }),
49221
- execute: (input, { client }) => {
49222
- const data = input;
49223
- return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
49224
- client.httpClient,
49225
- client.workspaceIdNumber,
49226
- data.payload ?? data.data ?? data,
49227
- void 0
49228
- ]));
49229
- }
49230
- },
49231
- {
49232
- id: "focus.tags.bulk-delete",
49233
- family: "focus",
49234
- resource: "tags",
49235
- action: "bulk-delete",
49236
- title: "Bulk Delete Tags",
49237
- description: "Bulk Delete Tags.",
49238
- safety: "delete",
49239
- destructive: true,
49240
- cli: {
49241
- group: ["tags", "bulk"],
49242
- command: "delete",
49243
- interactive: "default"
49244
- },
49245
- mcp: { entityTool: "tags" },
49246
- inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
49247
- execute: (input, { client }) => {
49248
- const data = input;
49249
- return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
49250
- client.httpClient,
49251
- client.workspaceIdNumber,
49252
- data.ids,
49253
- void 0
49254
- ]));
49255
- }
49256
- },
49257
- {
49258
- id: "focus.tags.bulk-restore",
49259
- family: "focus",
49260
- resource: "tags",
49261
- action: "bulk-restore",
49262
- title: "Bulk Restore Tags",
49263
- description: "Bulk Restore Tags.",
49264
- safety: "update",
49265
- destructive: false,
49266
- cli: {
49267
- group: ["tags", "bulk"],
49268
- command: "restore",
49269
- interactive: "default"
49270
- },
49271
- mcp: { entityTool: "tags" },
49272
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
49273
- execute: (input, { client }) => {
49274
- const data = input;
49275
- return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
49276
- client.httpClient,
49277
- client.workspaceIdNumber,
49278
- data.payload ?? data.data ?? data,
49279
- void 0
49280
- ]));
49281
- }
49282
- },
49283
- {
49284
- id: "focus.tags.bulk-unarchive",
49285
- family: "focus",
49286
- resource: "tags",
49287
- action: "bulk-unarchive",
49288
- title: "Bulk Unarchive Tags",
49289
- description: "Bulk Unarchive Tags.",
48424
+ title: "Upsert Forced Trial Subscriptions",
48425
+ description: "Upsert Forced Trial Subscriptions.",
49290
48426
  safety: "update",
49291
48427
  destructive: false,
49292
48428
  cli: {
49293
- group: ["tags", "bulk"],
49294
- command: "unarchive",
48429
+ group: ["subscriptions"],
48430
+ command: "upsert-forced-trial",
49295
48431
  interactive: "default"
49296
48432
  },
49297
- mcp: { entityTool: "tags" },
49298
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
48433
+ mcp: { entityTool: "subscriptions" },
48434
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
49299
48435
  execute: (input, { client }) => {
49300
48436
  const data = input;
49301
- return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
48437
+ return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
49302
48438
  client.httpClient,
48439
+ client.organizationId,
49303
48440
  client.workspaceIdNumber,
49304
48441
  data.payload ?? data.data ?? data,
49305
48442
  void 0
@@ -49390,35 +48527,6 @@ const generatedFocusOperations = [
49390
48527
  return client.listTags(data);
49391
48528
  }
49392
48529
  },
49393
- {
49394
- id: "focus.tags.merge",
49395
- family: "focus",
49396
- resource: "tags",
49397
- action: "merge",
49398
- title: "Merge Tags",
49399
- description: "Merge Tags.",
49400
- safety: "update",
49401
- destructive: false,
49402
- cli: {
49403
- group: ["tags"],
49404
- command: "merge",
49405
- interactive: "default"
49406
- },
49407
- mcp: { entityTool: "tags" },
49408
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
49409
- source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
49410
- target_id: /* @__PURE__ */ number$2()
49411
- }) }),
49412
- execute: (input, { client }) => {
49413
- const data = input;
49414
- return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
49415
- client.httpClient,
49416
- client.workspaceIdNumber,
49417
- data.payload ?? data.data ?? data,
49418
- void 0
49419
- ]));
49420
- }
49421
- },
49422
48530
  {
49423
48531
  id: "focus.tags.restore",
49424
48532
  family: "focus",
@@ -49445,32 +48553,6 @@ const generatedFocusOperations = [
49445
48553
  ]));
49446
48554
  }
49447
48555
  },
49448
- {
49449
- id: "focus.tags.unarchive",
49450
- family: "focus",
49451
- resource: "tags",
49452
- action: "unarchive",
49453
- title: "Unarchive Tags",
49454
- description: "Unarchive Tags.",
49455
- safety: "update",
49456
- destructive: false,
49457
- cli: {
49458
- group: ["tags"],
49459
- command: "unarchive",
49460
- interactive: "default"
49461
- },
49462
- mcp: { entityTool: "tags" },
49463
- inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
49464
- execute: (input, { client }) => {
49465
- const data = input;
49466
- return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
49467
- client.httpClient,
49468
- client.workspaceIdNumber,
49469
- data.tag_id,
49470
- void 0
49471
- ]));
49472
- }
49473
- },
49474
48556
  {
49475
48557
  id: "focus.tags.update",
49476
48558
  family: "focus",
@@ -50152,12 +49234,12 @@ const generatedFocusOperations = [
50152
49234
  mcp: { entityTool: "tasks" },
50153
49235
  inputSchema: /* @__PURE__ */ looseObject({
50154
49236
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50155
- assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50156
49237
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50157
49238
  dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50158
49239
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50159
49240
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50160
49241
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49242
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50161
49243
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50162
49244
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50163
49245
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50194,6 +49276,7 @@ const generatedFocusOperations = [
50194
49276
  inputSchema: /* @__PURE__ */ looseObject({
50195
49277
  active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50196
49278
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49279
+ assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50197
49280
  assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50198
49281
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50199
49282
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50210,6 +49293,7 @@ const generatedFocusOperations = [
50210
49293
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50211
49294
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50212
49295
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49296
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50213
49297
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50214
49298
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50215
49299
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50265,6 +49349,7 @@ const generatedFocusOperations = [
50265
49349
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50266
49350
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50267
49351
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49352
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50268
49353
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50269
49354
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50270
49355
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50305,6 +49390,7 @@ const generatedFocusOperations = [
50305
49390
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50306
49391
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50307
49392
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49393
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50308
49394
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50309
49395
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50310
49396
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50345,7 +49431,6 @@ const generatedFocusOperations = [
50345
49431
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50346
49432
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50347
49433
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50348
- collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50349
49434
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50350
49435
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50351
49436
  end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50359,8 +49444,7 @@ const generatedFocusOperations = [
50359
49444
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50360
49445
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50361
49446
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50362
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50363
- include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49447
+ include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50364
49448
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50365
49449
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50366
49450
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50376,7 +49460,6 @@ const generatedFocusOperations = [
50376
49460
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50377
49461
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50378
49462
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50379
- user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50380
49463
  user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50381
49464
  }),
50382
49465
  execute: (input, { client }) => {
@@ -50391,118 +49474,6 @@ const generatedFocusOperations = [
50391
49474
  ]));
50392
49475
  }
50393
49476
  },
50394
- {
50395
- id: "focus.tasks.groups-get-user-task-groups-by-project",
50396
- family: "focus",
50397
- resource: "tasks",
50398
- action: "groups-get-user-task-groups-by-project",
50399
- title: "Groups Get User Task Groups By Project Tasks",
50400
- description: "Groups Get User Task Groups By Project Tasks.",
50401
- safety: "read",
50402
- destructive: false,
50403
- cli: {
50404
- group: ["tasks", "groups"],
50405
- command: "get-user-task-groups-by-project",
50406
- interactive: "hidden"
50407
- },
50408
- mcp: { entityTool: "tasks" },
50409
- inputSchema: /* @__PURE__ */ looseObject({
50410
- assignee_user_id: /* @__PURE__ */ number$2(),
50411
- cf_filter: /* @__PURE__ */ unknown$1(),
50412
- client_id: /* @__PURE__ */ number$2(),
50413
- collapse_recurring: /* @__PURE__ */ unknown$1(),
50414
- creator_id: /* @__PURE__ */ number$2(),
50415
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
50416
- end_date_from: /* @__PURE__ */ unknown$1(),
50417
- end_date_to: /* @__PURE__ */ unknown$1(),
50418
- exclude_empty: /* @__PURE__ */ unknown$1(),
50419
- group_id: /* @__PURE__ */ number$2(),
50420
- include_assignees: /* @__PURE__ */ unknown$1(),
50421
- include_drafts: /* @__PURE__ */ unknown$1(),
50422
- include_unassigned: /* @__PURE__ */ unknown$1(),
50423
- include_unmaterialized: /* @__PURE__ */ unknown$1(),
50424
- min_days: /* @__PURE__ */ unknown$1(),
50425
- name: /* @__PURE__ */ unknown$1(),
50426
- priority: /* @__PURE__ */ unknown$1(),
50427
- private_: /* @__PURE__ */ unknown$1(),
50428
- project_id: /* @__PURE__ */ number$2(),
50429
- source: /* @__PURE__ */ unknown$1(),
50430
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
50431
- start_date_from: /* @__PURE__ */ unknown$1(),
50432
- start_date_to: /* @__PURE__ */ unknown$1(),
50433
- status_id: /* @__PURE__ */ number$2(),
50434
- tag_id: /* @__PURE__ */ number$2(),
50435
- team_id: /* @__PURE__ */ number$2(),
50436
- user_cf_filter: /* @__PURE__ */ unknown$1(),
50437
- user_tag_id: /* @__PURE__ */ number$2()
50438
- }),
50439
- execute: (input, { client }) => {
50440
- const data = input;
50441
- return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
50442
- client.httpClient,
50443
- client.organizationId,
50444
- client.workspaceIdNumber,
50445
- data,
50446
- void 0
50447
- ]));
50448
- }
50449
- },
50450
- {
50451
- id: "focus.tasks.groups-get-user-task-groups-by-team",
50452
- family: "focus",
50453
- resource: "tasks",
50454
- action: "groups-get-user-task-groups-by-team",
50455
- title: "Groups Get User Task Groups By Team Tasks",
50456
- description: "Groups Get User Task Groups By Team Tasks.",
50457
- safety: "read",
50458
- destructive: false,
50459
- cli: {
50460
- group: ["tasks", "groups"],
50461
- command: "get-user-task-groups-by-team",
50462
- interactive: "hidden"
50463
- },
50464
- mcp: { entityTool: "tasks" },
50465
- inputSchema: /* @__PURE__ */ looseObject({
50466
- assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50467
- cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50468
- client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50469
- collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50470
- creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50471
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50472
- end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50473
- end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50474
- exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50475
- group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50476
- include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50477
- include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50478
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50479
- include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50480
- min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50481
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50482
- priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50483
- private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50484
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50485
- source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50486
- start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50487
- start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50488
- start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50489
- status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50490
- tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50491
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50492
- user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50493
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50494
- }),
50495
- execute: (input, { client }) => {
50496
- const data = input;
50497
- return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
50498
- client.httpClient,
50499
- client.organizationId,
50500
- client.workspaceIdNumber,
50501
- data,
50502
- void 0
50503
- ]));
50504
- }
50505
- },
50506
49477
  {
50507
49478
  id: "focus.tasks.groups-update",
50508
49479
  family: "focus",
@@ -50708,6 +49679,7 @@ const generatedFocusOperations = [
50708
49679
  name: /* @__PURE__ */ string$1(),
50709
49680
  status_id: /* @__PURE__ */ number$2(),
50710
49681
  auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
49682
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50711
49683
  color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
50712
49684
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50713
49685
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -50727,7 +49699,6 @@ const generatedFocusOperations = [
50727
49699
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50728
49700
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50729
49701
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50730
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50731
49702
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
50732
49703
  }),
50733
49704
  task_id: /* @__PURE__ */ number$2()
@@ -51736,40 +50707,6 @@ const generatedFocusOperations = [
51736
50707
  ]));
51737
50708
  }
51738
50709
  },
51739
- {
51740
- id: "focus.time-entries.groups-get-users",
51741
- family: "focus",
51742
- resource: "time-entries",
51743
- action: "groups-get-users",
51744
- title: "Groups Get Users Time Entries",
51745
- description: "Groups Get Users Time Entries.",
51746
- safety: "read",
51747
- destructive: false,
51748
- cli: {
51749
- group: ["time-entries", "groups"],
51750
- command: "get-users",
51751
- interactive: "hidden"
51752
- },
51753
- mcp: { entityTool: "time-entries" },
51754
- inputSchema: /* @__PURE__ */ looseObject({
51755
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51756
- order_by: /* @__PURE__ */ unknown$1(),
51757
- page: /* @__PURE__ */ number$2(),
51758
- per_page: /* @__PURE__ */ unknown$1(),
51759
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51760
- user_id: /* @__PURE__ */ number$2()
51761
- }),
51762
- execute: (input, { client }) => {
51763
- const data = input;
51764
- return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
51765
- client.httpClient,
51766
- client.organizationId,
51767
- client.workspaceIdNumber,
51768
- data,
51769
- void 0
51770
- ]));
51771
- }
51772
- },
51773
50710
  {
51774
50711
  id: "focus.time-entries.list",
51775
50712
  family: "focus",
@@ -51954,42 +50891,6 @@ const generatedFocusOperations = [
51954
50891
  inputSchema: emptySchema$1,
51955
50892
  execute: (_input, { client }) => client.stopTracking()
51956
50893
  },
51957
- {
51958
- id: "focus.time-entries.sync",
51959
- family: "focus",
51960
- resource: "time-entries",
51961
- action: "sync",
51962
- title: "Sync Time Entries",
51963
- description: "Sync Time Entries.",
51964
- safety: "update",
51965
- destructive: false,
51966
- cli: {
51967
- group: ["time-entries"],
51968
- command: "sync",
51969
- interactive: "default"
51970
- },
51971
- mcp: { entityTool: "time-entries" },
51972
- inputSchema: /* @__PURE__ */ looseObject({
51973
- client_uuid: /* @__PURE__ */ string$1(),
51974
- payload: /* @__PURE__ */ looseObject({
51975
- billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
51976
- client_updated_at: apiDateTimeString,
51977
- type: /* @__PURE__ */ picklist$1(["activity", "break"]),
51978
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51979
- })
51980
- }),
51981
- execute: (input, { client }) => {
51982
- const data = input;
51983
- return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
51984
- client.httpClient,
51985
- client.organizationId,
51986
- client.workspaceIdNumber,
51987
- data.client_uuid,
51988
- data.payload ?? data.data ?? data,
51989
- void 0
51990
- ]));
51991
- }
51992
- },
51993
50894
  {
51994
50895
  id: "focus.time-entries.tracking-get-tracked-time-entry",
51995
50896
  family: "focus",
@@ -52038,7 +50939,6 @@ const generatedFocusOperations = [
52038
50939
  create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52039
50940
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
52040
50941
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52041
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52042
50942
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52043
50943
  extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52044
50944
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -52101,33 +51001,121 @@ const generatedFocusOperations = [
52101
51001
  safety: "update",
52102
51002
  destructive: false,
52103
51003
  cli: {
52104
- group: ["time-entries"],
52105
- command: "update",
52106
- interactive: "default"
51004
+ group: ["time-entries"],
51005
+ command: "update",
51006
+ interactive: "default"
51007
+ },
51008
+ mcp: { entityTool: "time-entries" },
51009
+ inputSchema: /* @__PURE__ */ looseObject({
51010
+ payload: /* @__PURE__ */ looseObject({
51011
+ type: /* @__PURE__ */ picklist$1(["activity", "break"]),
51012
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51013
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51014
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51015
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51016
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51017
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51018
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
51019
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51020
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
51021
+ }),
51022
+ time_entry_id: /* @__PURE__ */ number$2()
51023
+ }),
51024
+ execute: (input, { client }) => {
51025
+ const data = input;
51026
+ return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
51027
+ client.httpClient,
51028
+ client.organizationId,
51029
+ client.workspaceIdNumber,
51030
+ data.time_entry_id,
51031
+ data.payload ?? data.data ?? data,
51032
+ void 0
51033
+ ]));
51034
+ }
51035
+ },
51036
+ {
51037
+ id: "focus.time-log-suggestions.get-for-acalendar-event-title",
51038
+ family: "focus",
51039
+ resource: "time-log-suggestions",
51040
+ action: "get-for-acalendar-event-title",
51041
+ title: "Get For Acalendar Event Title Time Log Suggestions",
51042
+ description: "Get For Acalendar Event Title Time Log Suggestions.",
51043
+ safety: "update",
51044
+ destructive: false,
51045
+ cli: {
51046
+ group: ["time-log-suggestions"],
51047
+ command: "get-for-acalendar-event-title",
51048
+ interactive: "default"
51049
+ },
51050
+ mcp: { entityTool: "time-log-suggestions" },
51051
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
51052
+ execute: (input, { client }) => {
51053
+ const data = input;
51054
+ return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
51055
+ client.httpClient,
51056
+ client.organizationId,
51057
+ client.workspaceIdNumber,
51058
+ data.payload ?? data.data ?? data,
51059
+ void 0
51060
+ ]));
51061
+ }
51062
+ },
51063
+ {
51064
+ id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
51065
+ family: "focus",
51066
+ resource: "time-log-suggestions",
51067
+ action: "get-for-multiple-calendar-event-titles",
51068
+ title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
51069
+ description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
51070
+ safety: "update",
51071
+ destructive: false,
51072
+ cli: {
51073
+ group: ["time-log-suggestions"],
51074
+ command: "get-for-multiple-calendar-event-titles",
51075
+ interactive: "default"
51076
+ },
51077
+ mcp: { entityTool: "time-log-suggestions" },
51078
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
51079
+ key: /* @__PURE__ */ string$1(),
51080
+ title: /* @__PURE__ */ string$1()
51081
+ })) }) }),
51082
+ execute: (input, { client }) => {
51083
+ const data = input;
51084
+ return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
51085
+ client.httpClient,
51086
+ client.organizationId,
51087
+ client.workspaceIdNumber,
51088
+ data.payload ?? data.data ?? data,
51089
+ void 0
51090
+ ]));
51091
+ }
51092
+ },
51093
+ {
51094
+ id: "focus.time-off.create-timeoff-for-ghost",
51095
+ family: "focus",
51096
+ resource: "time-off",
51097
+ action: "create-timeoff-for-ghost",
51098
+ title: "Create Timeoff For Ghost Time Off",
51099
+ description: "Create Timeoff For Ghost Time Off.",
51100
+ safety: "create",
51101
+ destructive: false,
51102
+ cli: {
51103
+ group: ["time-off"],
51104
+ command: "create-timeoff-for-ghost",
51105
+ interactive: "hidden"
52107
51106
  },
52108
- mcp: { entityTool: "time-entries" },
51107
+ mcp: { entityTool: "time-off" },
52109
51108
  inputSchema: /* @__PURE__ */ looseObject({
52110
- payload: /* @__PURE__ */ looseObject({
52111
- type: /* @__PURE__ */ picklist$1(["activity", "break"]),
52112
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52113
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52114
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52115
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
52116
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52117
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52118
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
52119
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52120
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
52121
- }),
52122
- time_entry_id: /* @__PURE__ */ number$2()
51109
+ ghost_id: /* @__PURE__ */ number$2(),
51110
+ payload: /* @__PURE__ */ unknown$1()
52123
51111
  }),
52124
51112
  execute: (input, { client }) => {
52125
51113
  const data = input;
52126
- return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
51114
+ return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
52127
51115
  client.httpClient,
52128
51116
  client.organizationId,
52129
51117
  client.workspaceIdNumber,
52130
- data.time_entry_id,
51118
+ data.ghost_id,
52131
51119
  data.payload ?? data.data ?? data,
52132
51120
  void 0
52133
51121
  ]));
@@ -52163,6 +51151,37 @@ const generatedFocusOperations = [
52163
51151
  ]));
52164
51152
  }
52165
51153
  },
51154
+ {
51155
+ id: "focus.time-off.delete-timeoff-for-ghost",
51156
+ family: "focus",
51157
+ resource: "time-off",
51158
+ action: "delete-timeoff-for-ghost",
51159
+ title: "Delete Timeoff For Ghost Time Off",
51160
+ description: "Delete Timeoff For Ghost Time Off.",
51161
+ safety: "delete",
51162
+ destructive: true,
51163
+ cli: {
51164
+ group: ["time-off"],
51165
+ command: "delete-timeoff-for-ghost",
51166
+ interactive: "hidden"
51167
+ },
51168
+ mcp: { entityTool: "time-off" },
51169
+ inputSchema: /* @__PURE__ */ looseObject({
51170
+ ghost_id: /* @__PURE__ */ number$2(),
51171
+ payload: /* @__PURE__ */ unknown$1()
51172
+ }),
51173
+ execute: (input, { client }) => {
51174
+ const data = input;
51175
+ return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
51176
+ client.httpClient,
51177
+ client.organizationId,
51178
+ client.workspaceIdNumber,
51179
+ data.ghost_id,
51180
+ data.payload ?? data.data ?? data,
51181
+ void 0
51182
+ ]));
51183
+ }
51184
+ },
52166
51185
  {
52167
51186
  id: "focus.time-off.delete-timeoff-for-user",
52168
51187
  family: "focus",
@@ -52193,6 +51212,38 @@ const generatedFocusOperations = [
52193
51212
  ]));
52194
51213
  }
52195
51214
  },
51215
+ {
51216
+ id: "focus.time-off.get-timeoff-for-ghost",
51217
+ family: "focus",
51218
+ resource: "time-off",
51219
+ action: "get-timeoff-for-ghost",
51220
+ title: "Get Timeoff For Ghost Time Off",
51221
+ description: "Get Timeoff For Ghost Time Off.",
51222
+ safety: "read",
51223
+ destructive: false,
51224
+ cli: {
51225
+ group: ["time-off"],
51226
+ command: "get-timeoff-for-ghost",
51227
+ interactive: "hidden"
51228
+ },
51229
+ mcp: { entityTool: "time-off" },
51230
+ inputSchema: /* @__PURE__ */ looseObject({
51231
+ from: /* @__PURE__ */ unknown$1(),
51232
+ ghost_id: /* @__PURE__ */ number$2(),
51233
+ to: /* @__PURE__ */ unknown$1()
51234
+ }),
51235
+ execute: (input, { client }) => {
51236
+ const data = input;
51237
+ return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
51238
+ client.httpClient,
51239
+ client.organizationId,
51240
+ client.workspaceIdNumber,
51241
+ data.ghost_id,
51242
+ data,
51243
+ void 0
51244
+ ]));
51245
+ }
51246
+ },
52196
51247
  {
52197
51248
  id: "focus.time-off.get-timeoff-for-user",
52198
51249
  family: "focus",
@@ -52224,6 +51275,37 @@ const generatedFocusOperations = [
52224
51275
  ]));
52225
51276
  }
52226
51277
  },
51278
+ {
51279
+ id: "focus.time-off.get-timeoffs-by-ghost-ids",
51280
+ family: "focus",
51281
+ resource: "time-off",
51282
+ action: "get-timeoffs-by-ghost-ids",
51283
+ title: "Get Timeoffs By Ghost Ids Time Off",
51284
+ description: "Get Timeoffs By Ghost Ids Time Off.",
51285
+ safety: "read",
51286
+ destructive: false,
51287
+ cli: {
51288
+ group: ["time-off"],
51289
+ command: "get-timeoffs-by-ghost-ids",
51290
+ interactive: "hidden"
51291
+ },
51292
+ mcp: { entityTool: "time-off" },
51293
+ inputSchema: /* @__PURE__ */ looseObject({
51294
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51295
+ ghost_ids: /* @__PURE__ */ unknown$1(),
51296
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
51297
+ }),
51298
+ execute: (input, { client }) => {
51299
+ const data = input;
51300
+ return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
51301
+ client.httpClient,
51302
+ client.organizationId,
51303
+ client.workspaceIdNumber,
51304
+ data,
51305
+ void 0
51306
+ ]));
51307
+ }
51308
+ },
52227
51309
  {
52228
51310
  id: "focus.time-off.get-timeoffs-by-user-ids",
52229
51311
  family: "focus",
@@ -52254,6 +51336,37 @@ const generatedFocusOperations = [
52254
51336
  ]));
52255
51337
  }
52256
51338
  },
51339
+ {
51340
+ id: "focus.time-off.update-timeoff-for-ghost",
51341
+ family: "focus",
51342
+ resource: "time-off",
51343
+ action: "update-timeoff-for-ghost",
51344
+ title: "Update Timeoff For Ghost Time Off",
51345
+ description: "Update Timeoff For Ghost Time Off.",
51346
+ safety: "update",
51347
+ destructive: false,
51348
+ cli: {
51349
+ group: ["time-off"],
51350
+ command: "update-timeoff-for-ghost",
51351
+ interactive: "hidden"
51352
+ },
51353
+ mcp: { entityTool: "time-off" },
51354
+ inputSchema: /* @__PURE__ */ looseObject({
51355
+ ghost_id: /* @__PURE__ */ number$2(),
51356
+ payload: /* @__PURE__ */ unknown$1()
51357
+ }),
51358
+ execute: (input, { client }) => {
51359
+ const data = input;
51360
+ return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
51361
+ client.httpClient,
51362
+ client.organizationId,
51363
+ client.workspaceIdNumber,
51364
+ data.ghost_id,
51365
+ data.payload ?? data.data ?? data,
51366
+ void 0
51367
+ ]));
51368
+ }
51369
+ },
52257
51370
  {
52258
51371
  id: "focus.time-off.update-timeoff-for-user",
52259
51372
  family: "focus",
@@ -53285,7 +52398,6 @@ const generatedFocusOperations = [
53285
52398
  pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
53286
52399
  pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
53287
52400
  pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53288
- send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53289
52401
  send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53290
52402
  shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53291
52403
  show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -53387,6 +52499,37 @@ const generatedFocusOperations = [
53387
52499
  inputSchema: /* @__PURE__ */ looseObject({}),
53388
52500
  execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
53389
52501
  },
52502
+ {
52503
+ id: "focus.working-hours.create-for-ghost",
52504
+ family: "focus",
52505
+ resource: "working-hours",
52506
+ action: "create-for-ghost",
52507
+ title: "Create For Ghost Working Hours",
52508
+ description: "Create For Ghost Working Hours.",
52509
+ safety: "create",
52510
+ destructive: false,
52511
+ cli: {
52512
+ group: ["working-hours"],
52513
+ command: "create-for-ghost",
52514
+ interactive: "hidden"
52515
+ },
52516
+ mcp: { entityTool: "working-hours" },
52517
+ inputSchema: /* @__PURE__ */ looseObject({
52518
+ ghost_id: /* @__PURE__ */ number$2(),
52519
+ payload: /* @__PURE__ */ unknown$1()
52520
+ }),
52521
+ execute: (input, { client }) => {
52522
+ const data = input;
52523
+ return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
52524
+ client.httpClient,
52525
+ client.organizationId,
52526
+ client.workspaceIdNumber,
52527
+ data.ghost_id,
52528
+ data.payload ?? data.data ?? data,
52529
+ void 0
52530
+ ]));
52531
+ }
52532
+ },
53390
52533
  {
53391
52534
  id: "focus.working-hours.create-for-user",
53392
52535
  family: "focus",
@@ -53417,6 +52560,37 @@ const generatedFocusOperations = [
53417
52560
  ]));
53418
52561
  }
53419
52562
  },
52563
+ {
52564
+ id: "focus.working-hours.delete-for-ghost",
52565
+ family: "focus",
52566
+ resource: "working-hours",
52567
+ action: "delete-for-ghost",
52568
+ title: "Delete For Ghost Working Hours",
52569
+ description: "Delete For Ghost Working Hours.",
52570
+ safety: "delete",
52571
+ destructive: true,
52572
+ cli: {
52573
+ group: ["working-hours"],
52574
+ command: "delete-for-ghost",
52575
+ interactive: "hidden"
52576
+ },
52577
+ mcp: { entityTool: "working-hours" },
52578
+ inputSchema: /* @__PURE__ */ looseObject({
52579
+ ghost_id: /* @__PURE__ */ number$2(),
52580
+ payload: /* @__PURE__ */ unknown$1()
52581
+ }),
52582
+ execute: (input, { client }) => {
52583
+ const data = input;
52584
+ return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
52585
+ client.httpClient,
52586
+ client.organizationId,
52587
+ client.workspaceIdNumber,
52588
+ data.ghost_id,
52589
+ data.payload ?? data.data ?? data,
52590
+ void 0
52591
+ ]));
52592
+ }
52593
+ },
53420
52594
  {
53421
52595
  id: "focus.working-hours.delete-for-user",
53422
52596
  family: "focus",
@@ -53447,6 +52621,33 @@ const generatedFocusOperations = [
53447
52621
  ]));
53448
52622
  }
53449
52623
  },
52624
+ {
52625
+ id: "focus.working-hours.get-for-ghost",
52626
+ family: "focus",
52627
+ resource: "working-hours",
52628
+ action: "get-for-ghost",
52629
+ title: "Get For Ghost Working Hours",
52630
+ description: "Get For Ghost Working Hours.",
52631
+ safety: "read",
52632
+ destructive: false,
52633
+ cli: {
52634
+ group: ["working-hours"],
52635
+ command: "get-for-ghost",
52636
+ interactive: "available"
52637
+ },
52638
+ mcp: { entityTool: "working-hours" },
52639
+ inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
52640
+ execute: (input, { client }) => {
52641
+ const data = input;
52642
+ return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
52643
+ client.httpClient,
52644
+ client.organizationId,
52645
+ client.workspaceIdNumber,
52646
+ data.ghost_id,
52647
+ void 0
52648
+ ]));
52649
+ }
52650
+ },
53450
52651
  {
53451
52652
  id: "focus.working-hours.get-for-user",
53452
52653
  family: "focus",
@@ -53473,6 +52674,37 @@ const generatedFocusOperations = [
53473
52674
  ]));
53474
52675
  }
53475
52676
  },
52677
+ {
52678
+ id: "focus.working-hours.update-for-ghost",
52679
+ family: "focus",
52680
+ resource: "working-hours",
52681
+ action: "update-for-ghost",
52682
+ title: "Update For Ghost Working Hours",
52683
+ description: "Update For Ghost Working Hours.",
52684
+ safety: "update",
52685
+ destructive: false,
52686
+ cli: {
52687
+ group: ["working-hours"],
52688
+ command: "update-for-ghost",
52689
+ interactive: "hidden"
52690
+ },
52691
+ mcp: { entityTool: "working-hours" },
52692
+ inputSchema: /* @__PURE__ */ looseObject({
52693
+ ghost_id: /* @__PURE__ */ number$2(),
52694
+ payload: /* @__PURE__ */ unknown$1()
52695
+ }),
52696
+ execute: (input, { client }) => {
52697
+ const data = input;
52698
+ return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
52699
+ client.httpClient,
52700
+ client.organizationId,
52701
+ client.workspaceIdNumber,
52702
+ data.ghost_id,
52703
+ data.payload ?? data.data ?? data,
52704
+ void 0
52705
+ ]));
52706
+ }
52707
+ },
53476
52708
  {
53477
52709
  id: "focus.working-hours.update-for-user",
53478
52710
  family: "focus",
@@ -53547,50 +52779,6 @@ const generatedFocusOperations = [
53547
52779
  void 0
53548
52780
  ]))
53549
52781
  },
53550
- {
53551
- id: "focus.workspace-settings.get-workspace-export-branding",
53552
- family: "focus",
53553
- resource: "workspace-settings",
53554
- action: "get-workspace-export-branding",
53555
- title: "Get Workspace Export Branding Workspace Settings",
53556
- description: "Get Workspace Export Branding Workspace Settings.",
53557
- safety: "read",
53558
- destructive: false,
53559
- cli: {
53560
- group: ["workspace-settings"],
53561
- command: "get-workspace-export-branding",
53562
- interactive: "hidden"
53563
- },
53564
- mcp: { entityTool: "workspace-settings" },
53565
- inputSchema: /* @__PURE__ */ looseObject({}),
53566
- execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
53567
- client.httpClient,
53568
- client.workspaceIdNumber,
53569
- void 0
53570
- ]))
53571
- },
53572
- {
53573
- id: "focus.workspace-settings.get-workspace-watermark",
53574
- family: "focus",
53575
- resource: "workspace-settings",
53576
- action: "get-workspace-watermark",
53577
- title: "Get Workspace Watermark Workspace Settings",
53578
- description: "Get Workspace Watermark Workspace Settings.",
53579
- safety: "read",
53580
- destructive: false,
53581
- cli: {
53582
- group: ["workspace-settings"],
53583
- command: "get-workspace-watermark",
53584
- interactive: "hidden"
53585
- },
53586
- mcp: { entityTool: "workspace-settings" },
53587
- inputSchema: /* @__PURE__ */ looseObject({}),
53588
- execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
53589
- client.httpClient,
53590
- client.workspaceIdNumber,
53591
- void 0
53592
- ]))
53593
- },
53594
52782
  {
53595
52783
  id: "focus.workspace-settings.list",
53596
52784
  family: "focus",
@@ -53665,32 +52853,6 @@ const generatedFocusOperations = [
53665
52853
  ]));
53666
52854
  }
53667
52855
  },
53668
- {
53669
- id: "focus.workspace-settings.update-workspace-watermark",
53670
- family: "focus",
53671
- resource: "workspace-settings",
53672
- action: "update-workspace-watermark",
53673
- title: "Update Workspace Watermark Workspace Settings",
53674
- description: "Update Workspace Watermark Workspace Settings.",
53675
- safety: "update",
53676
- destructive: false,
53677
- cli: {
53678
- group: ["workspace-settings"],
53679
- command: "update-workspace-watermark",
53680
- interactive: "default"
53681
- },
53682
- mcp: { entityTool: "workspace-settings" },
53683
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
53684
- execute: (input, { client }) => {
53685
- const data = input;
53686
- return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
53687
- client.httpClient,
53688
- client.workspaceIdNumber,
53689
- data.payload ?? data.data ?? data,
53690
- void 0
53691
- ]));
53692
- }
53693
- },
53694
52856
  {
53695
52857
  id: "focus.workspace.get-context",
53696
52858
  family: "focus",
@@ -54817,7 +53979,7 @@ function registerWorkspaceTools(server) {
54817
53979
  //#region src/package-version.ts
54818
53980
  function mcpPackageVersion() {
54819
53981
  try {
54820
- return "1.11.98";
53982
+ return "1.11.99";
54821
53983
  } catch {
54822
53984
  return "unknown";
54823
53985
  }
@@ -54992,7 +54154,7 @@ import_main.default.config({
54992
54154
  quiet: true,
54993
54155
  ignore: ["MISSING_ENV_FILE"]
54994
54156
  });
54995
- const packageVersion = "1.11.98";
54157
+ const packageVersion = "1.11.99";
54996
54158
  function resolvePublicUrls() {
54997
54159
  return {
54998
54160
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -55057,4 +54219,4 @@ function bootstrapServer(options = {}) {
55057
54219
  //#endregion
55058
54220
  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 };
55059
54221
 
55060
- //# sourceMappingURL=src-BS7O69vn.js.map
54222
+ //# sourceMappingURL=src-DDCgSIbA.js.map