@togglhq/mcp 1.11.143 → 1.11.145

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()),
@@ -34678,7 +34681,6 @@ const TaskMetadataSchema = /* @__PURE__ */ object({
34678
34681
  extension_url: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34679
34682
  external_id: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34680
34683
  ical_uid: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34681
- last_asserted_track_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("LastAssertedTrackProjectID is the Track planned_task.project_id that the Focus→Track mirror last successfully wrote for this task. Track→Focus uses it to distinguish a stale echo (Track still holds this value after a Focus-side project move) from an intentional Track-side project move. Internal mirror state, written by toggl_api focus_sync_worker; not user-facing."))),
34682
34684
  meeting_link: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34683
34685
  project_assignment: /* @__PURE__ */ optional(/* @__PURE__ */ object({
34684
34686
  origin: /* @__PURE__ */ picklist([
@@ -34741,7 +34743,7 @@ const TaskSchema = /* @__PURE__ */ object({
34741
34743
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
34742
34744
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
34743
34745
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34744
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
34746
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34745
34747
  client: /* @__PURE__ */ optional(ClientLiteSchema),
34746
34748
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34747
34749
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -34749,6 +34751,7 @@ const TaskSchema = /* @__PURE__ */ object({
34749
34751
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34750
34752
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34751
34753
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34754
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
34752
34755
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34753
34756
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34754
34757
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -34758,7 +34761,6 @@ const TaskSchema = /* @__PURE__ */ object({
34758
34761
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34759
34762
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34760
34763
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34761
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34762
34764
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34763
34765
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34764
34766
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -34802,7 +34804,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34802
34804
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
34803
34805
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
34804
34806
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34805
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
34807
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34806
34808
  client: /* @__PURE__ */ optional(ClientLiteSchema),
34807
34809
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34808
34810
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -34810,6 +34812,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34810
34812
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34811
34813
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34812
34814
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34815
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
34813
34816
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34814
34817
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34815
34818
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -34820,7 +34823,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34820
34823
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34821
34824
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34822
34825
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34823
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34824
34826
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34825
34827
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34826
34828
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -34979,7 +34981,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
34979
34981
  tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
34980
34982
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
34981
34983
  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."))),
34984
+ 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
34985
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34984
34986
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
34985
34987
  });
@@ -35123,7 +35125,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
35123
35125
  task: /* @__PURE__ */ optional(TaskSchema),
35124
35126
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35125
35127
  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."))),
35128
+ 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
35129
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35128
35130
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
35129
35131
  })),
@@ -35135,15 +35137,9 @@ const TagSchema$1 = /* @__PURE__ */ object({
35135
35137
  id: /* @__PURE__ */ number(),
35136
35138
  name: /* @__PURE__ */ string(),
35137
35139
  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
35140
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35140
35141
  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.")))
35142
+ updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
35147
35143
  });
35148
35144
  const PaginatedTagsSchema = /* @__PURE__ */ object({
35149
35145
  data: /* @__PURE__ */ array(TagSchema$1),
@@ -35154,8 +35150,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
35154
35150
  const OrganizationUserResponseSchema = /* @__PURE__ */ object({
35155
35151
  "2fa_enabled": /* @__PURE__ */ boolean(),
35156
35152
  account_locked_at: /* @__PURE__ */ string(),
35157
- accounts_role_id: /* @__PURE__ */ number(),
35158
35153
  active: /* @__PURE__ */ boolean(),
35154
+ admin: /* @__PURE__ */ boolean(),
35159
35155
  can_edit_personal_details: /* @__PURE__ */ boolean(),
35160
35156
  created_at: /* @__PURE__ */ string(),
35161
35157
  deleted_at: /* @__PURE__ */ string(),
@@ -35204,9 +35200,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
35204
35200
  track_role_id: /* @__PURE__ */ number(),
35205
35201
  work_role_id: /* @__PURE__ */ number(),
35206
35202
  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.")))
35203
+ }))
35210
35204
  });
35211
35205
  const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35212
35206
  const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
@@ -35283,7 +35277,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35283
35277
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35284
35278
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35285
35279
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35286
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
35280
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35281
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35287
35282
  integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35288
35283
  integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35289
35284
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -35299,7 +35294,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35299
35294
  priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35300
35295
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35301
35296
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35302
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35303
35297
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35304
35298
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35305
35299
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -35309,23 +35303,22 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35309
35303
  const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35310
35304
  const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
35311
35305
  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.")))
35306
+ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
35314
35307
  });
35315
35308
  const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35316
35309
  const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35317
35310
  const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35318
- after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35319
35311
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
35320
35312
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35321
35313
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35322
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35314
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35323
35315
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35324
35316
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
35325
35317
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35326
35318
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35327
35319
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35328
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
35320
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35321
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35329
35322
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35330
35323
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35331
35324
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35342,7 +35335,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35342
35335
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35343
35336
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35344
35337
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35345
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35346
35338
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35347
35339
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35348
35340
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -35351,17 +35343,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35351
35343
  });
35352
35344
  const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35353
35345
  id: /* @__PURE__ */ number(),
35354
- after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35355
35346
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
35356
35347
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35357
35348
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35358
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35349
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35359
35350
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35360
35351
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
35361
35352
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35362
35353
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35363
35354
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35364
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
35355
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35356
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35365
35357
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35366
35358
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35367
35359
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35378,7 +35370,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35378
35370
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35379
35371
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35380
35372
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35381
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35382
35373
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35383
35374
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35384
35375
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -37302,7 +37293,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
37302
37293
  })
37303
37294
  }).json();
37304
37295
  }
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) {
37296
+ 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
37297
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
37307
37298
  signal,
37308
37299
  searchParams: buildSearchParams$2({
@@ -37322,10 +37313,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
37322
37313
  include_working_hours,
37323
37314
  include_rates,
37324
37315
  pinned_ids,
37325
- has_group,
37326
- cf_filter,
37327
- include_custom_fields,
37328
- include_calendar_integration
37316
+ has_group
37329
37317
  }, true)
37330
37318
  });
37331
37319
  return withResponseMeta(await response.json(), response.headers, response.status);
@@ -37344,7 +37332,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
37344
37332
  }
37345
37333
  //#endregion
37346
37334
  //#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) {
37335
+ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
37348
37336
  return await httpClient.get(`workspaces/${workspace_id}/tags`, {
37349
37337
  signal,
37350
37338
  searchParams: buildSearchParams$2({
@@ -37352,10 +37340,7 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
37352
37340
  page,
37353
37341
  per_page,
37354
37342
  order_by,
37355
- tag_id,
37356
- include_usage,
37357
- include_archived,
37358
- archived
37343
+ tag_id
37359
37344
  })
37360
37345
  }).json();
37361
37346
  }
@@ -37365,42 +37350,6 @@ async function createTag(httpClient, workspace_id, data, signal) {
37365
37350
  json: data
37366
37351
  }).json();
37367
37352
  }
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
37353
  async function getTag(httpClient, workspace_id, tag_id, signal) {
37405
37354
  return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
37406
37355
  }
@@ -37413,18 +37362,12 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
37413
37362
  async function deleteTag(httpClient, workspace_id, tag_id, signal) {
37414
37363
  return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
37415
37364
  }
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
37365
  async function restoreTag(httpClient, workspace_id, tag_id, signal) {
37420
37366
  return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
37421
37367
  }
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
37368
  //#endregion
37426
37369
  //#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) {
37370
+ 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, 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
37371
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37429
37372
  signal,
37430
37373
  searchParams: buildSearchParams$2({
@@ -37442,11 +37385,9 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
37442
37385
  assignee_user_id,
37443
37386
  project_id,
37444
37387
  user_id,
37445
- only_me,
37446
37388
  include_rates,
37447
37389
  include_rollover,
37448
37390
  include_idle_recurring_templates,
37449
- collapse_recurring,
37450
37391
  include_drafts,
37451
37392
  include_locked_private,
37452
37393
  start_date,
@@ -37677,7 +37618,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
37677
37618
  }
37678
37619
  //#endregion
37679
37620
  //#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) {
37621
+ 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
37622
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
37682
37623
  signal,
37683
37624
  searchParams: buildSearchParams$2({
@@ -37725,8 +37666,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37725
37666
  recurring_task_ids,
37726
37667
  client_id,
37727
37668
  include_rates,
37669
+ include_ghost_assignees,
37728
37670
  include_assignees,
37729
37671
  include_parent_matches,
37672
+ assignee_ghost_id,
37730
37673
  disable_aggregations,
37731
37674
  cf_filter
37732
37675
  })
@@ -37812,7 +37755,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
37812
37755
  })
37813
37756
  }).json();
37814
37757
  }
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) {
37758
+ 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
37759
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
37817
37760
  signal,
37818
37761
  searchParams: buildSearchParams$2({
@@ -37825,14 +37768,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
37825
37768
  dates_overlap_end,
37826
37769
  recurring_task_ids,
37827
37770
  team_id,
37828
- assignee_team_id,
37829
37771
  assignee_user_id,
37830
37772
  tag_id,
37773
+ include_ghost_assignees,
37831
37774
  include_assignees
37832
37775
  })
37833
37776
  }).json();
37834
37777
  }
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) {
37778
+ 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
37779
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
37837
37780
  signal,
37838
37781
  searchParams: buildSearchParams$2({
@@ -37876,15 +37819,20 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37876
37819
  recurring,
37877
37820
  recurring_task_ids,
37878
37821
  client_id,
37822
+ include_ghost_assignees,
37879
37823
  include_assignees,
37824
+ assignee_ghost_id,
37880
37825
  cf_filter
37881
37826
  })
37882
37827
  }).json();
37883
37828
  }
37884
- async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
37829
+ async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
37885
37830
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
37886
37831
  signal,
37887
- searchParams: buildSearchParams$2({ include_assignees })
37832
+ searchParams: buildSearchParams$2({
37833
+ include_ghost_assignees,
37834
+ include_assignees
37835
+ })
37888
37836
  }).json();
37889
37837
  }
37890
37838
  async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
@@ -37915,7 +37863,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
37915
37863
  searchParams: buildSearchParams$2({ from_recurring_task_id })
37916
37864
  }).json();
37917
37865
  }
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) {
37866
+ 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
37867
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
37920
37868
  signal,
37921
37869
  searchParams: buildSearchParams$2({
@@ -37928,11 +37876,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
37928
37876
  team_id,
37929
37877
  assignee_user_id,
37930
37878
  tag_id,
37879
+ include_ghost_assignees,
37931
37880
  include_assignees
37932
37881
  })
37933
37882
  }).json();
37934
37883
  }
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) {
37884
+ 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
37885
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
37937
37886
  signal,
37938
37887
  searchParams: buildSearchParams$2({
@@ -37945,6 +37894,7 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
37945
37894
  team_id,
37946
37895
  assignee_user_id,
37947
37896
  tag_id,
37897
+ include_ghost_assignees,
37948
37898
  include_assignees
37949
37899
  })
37950
37900
  }).json();
@@ -38046,12 +37996,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
38046
37996
  })
38047
37997
  }).json();
38048
37998
  }
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
37999
  async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
38056
38000
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
38057
38001
  signal,
@@ -38188,7 +38132,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38188
38132
  ]))
38189
38133
  });
38190
38134
  //#endregion
38191
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.122_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b8d267f5151670e563fe6b27e2ff3186/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38135
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38192
38136
  async function getInvitations(httpClient, signal) {
38193
38137
  return (await httpClient.get(`invitations`, { signal })).json();
38194
38138
  }
@@ -38205,7 +38149,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38205
38149
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38206
38150
  }
38207
38151
  //#endregion
38208
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.122_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b8d267f5151670e563fe6b27e2ff3186/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38152
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38209
38153
  function buildSearchParams(params, flattenArrays = false) {
38210
38154
  const searchParams = new URLSearchParams();
38211
38155
  Object.entries(params).forEach(([key, value]) => {
@@ -38217,7 +38161,7 @@ function buildSearchParams(params, flattenArrays = false) {
38217
38161
  return searchParams;
38218
38162
  }
38219
38163
  //#endregion
38220
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.122_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b8d267f5151670e563fe6b27e2ff3186/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38164
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38221
38165
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38222
38166
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38223
38167
  }
@@ -38231,7 +38175,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38231
38175
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38232
38176
  }
38233
38177
  //#endregion
38234
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.122_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b8d267f5151670e563fe6b27e2ff3186/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38178
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38235
38179
  async function getWorkspaces(httpClient, organization_id, signal) {
38236
38180
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38237
38181
  }
@@ -38251,7 +38195,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38251
38195
  });
38252
38196
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38253
38197
  //#endregion
38254
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.122_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b8d267f5151670e563fe6b27e2ff3186/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38198
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38255
38199
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38256
38200
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38257
38201
  signal,
@@ -38262,12 +38206,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38262
38206
  })).json();
38263
38207
  }
38264
38208
  //#endregion
38265
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.122_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b8d267f5151670e563fe6b27e2ff3186/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38209
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38266
38210
  async function getStatus(httpClient, signal) {
38267
38211
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38268
38212
  }
38269
38213
  //#endregion
38270
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.122_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b8d267f5151670e563fe6b27e2ff3186/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38214
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38271
38215
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38272
38216
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38273
38217
  signal,
@@ -38295,7 +38239,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38295
38239
  return response.json();
38296
38240
  }
38297
38241
  //#endregion
38298
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.122_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b8d267f5151670e563fe6b27e2ff3186/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38242
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38299
38243
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38300
38244
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38301
38245
  }
@@ -41899,21 +41843,6 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
41899
41843
  }
41900
41844
  //#endregion
41901
41845
  //#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
41846
  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
41847
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
41919
41848
  signal,
@@ -42072,22 +42001,33 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
42072
42001
  }
42073
42002
  //#endregion
42074
42003
  //#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) {
42004
+ 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
42005
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
42077
42006
  signal,
42078
42007
  searchParams: buildSearchParams$2({
42079
42008
  user_id,
42080
42009
  start_date,
42081
42010
  end_date,
42011
+ ghost_id,
42082
42012
  private: private_,
42083
42013
  task_source,
42084
42014
  unit,
42085
- include_drafts,
42086
- include_task_estimates
42015
+ include_drafts
42087
42016
  })
42088
42017
  }).json();
42089
42018
  }
42090
42019
  //#endregion
42020
+ //#region ../focus-queries/dist/capacity-settings/requests.ts
42021
+ async function getCapacitySettings(httpClient, workspace_id, signal) {
42022
+ return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
42023
+ }
42024
+ async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
42025
+ return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
42026
+ signal,
42027
+ json: data
42028
+ }).json();
42029
+ }
42030
+ //#endregion
42091
42031
  //#region ../focus-queries/dist/composite/requests.ts
42092
42032
  async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
42093
42033
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
@@ -42170,12 +42110,6 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
42170
42110
  async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
42171
42111
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
42172
42112
  }
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
42113
  //#endregion
42180
42114
  //#region ../focus-queries/dist/goals/requests.ts
42181
42115
  async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
@@ -42401,7 +42335,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
42401
42335
  }
42402
42336
  //#endregion
42403
42337
  //#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) {
42338
+ 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
42339
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
42406
42340
  signal,
42407
42341
  searchParams: buildSearchParams$2({
@@ -42413,7 +42347,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42413
42347
  include_group_totals,
42414
42348
  include_unassigned,
42415
42349
  archived,
42416
- completed,
42417
42350
  private: private_,
42418
42351
  name,
42419
42352
  client_id,
@@ -42425,7 +42358,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42425
42358
  start_date,
42426
42359
  end_date,
42427
42360
  user_id,
42428
- only_me,
42429
42361
  include_drafts,
42430
42362
  cf_filter
42431
42363
  })
@@ -42541,14 +42473,10 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
42541
42473
  }
42542
42474
  //#endregion
42543
42475
  //#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) {
42476
+ async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
42548
42477
  return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
42549
42478
  signal,
42550
42479
  json: data,
42551
- headers: { "X-Toggl-Report-Export": xTogglReportExport },
42552
42480
  searchParams: buildSearchParams$2({
42553
42481
  response_format,
42554
42482
  include_dicts
@@ -42572,36 +42500,12 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
42572
42500
  json: data
42573
42501
  }).json();
42574
42502
  }
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) {
42503
+ async function getWorkloadReport(httpClient, workspace_id, data, signal) {
42582
42504
  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
42505
  signal,
42599
42506
  json: data
42600
42507
  }).json();
42601
42508
  }
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
42509
  //#endregion
42606
42510
  //#region ../focus-queries/dist/savedviews/requests.ts
42607
42511
  async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
@@ -42634,7 +42538,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
42634
42538
  }
42635
42539
  //#endregion
42636
42540
  //#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) {
42541
+ 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
42542
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
42639
42543
  signal,
42640
42544
  searchParams: buildSearchParams$2({
@@ -42646,56 +42550,11 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
42646
42550
  task_id,
42647
42551
  include_drafts,
42648
42552
  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
42553
+ group_by_tags
42660
42554
  })
42661
42555
  }).json();
42662
42556
  }
42663
42557
  //#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
42558
  //#region ../focus-queries/dist/subscriptions/requests.ts
42700
42559
  async function getCurrentSubscription(httpClient, organization_id, signal) {
42701
42560
  return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
@@ -42751,77 +42610,7 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
42751
42610
  }
42752
42611
  //#endregion
42753
42612
  //#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) {
42613
+ 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
42614
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
42826
42615
  signal,
42827
42616
  searchParams: buildSearchParams$2({
@@ -42845,14 +42634,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
42845
42634
  end_date_to,
42846
42635
  private: private_,
42847
42636
  exclude_empty,
42848
- include_unassigned,
42849
- include_unmaterialized,
42850
- collapse_recurring,
42637
+ include_ghosts,
42851
42638
  include_assignees,
42852
42639
  min_days,
42853
42640
  include_drafts,
42854
42641
  cf_filter,
42855
- user_cf_filter,
42856
42642
  page,
42857
42643
  per_page,
42858
42644
  order_by
@@ -42989,18 +42775,17 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
42989
42775
  }).json();
42990
42776
  }
42991
42777
  //#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`, {
42778
+ //#region ../focus-queries/dist/time-log-suggestions/requests.ts
42779
+ async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
42780
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
42995
42781
  signal,
42996
- searchParams: buildSearchParams$2({
42997
- start_date,
42998
- end_date,
42999
- user_id,
43000
- page,
43001
- per_page,
43002
- order_by
43003
- })
42782
+ json: data
42783
+ }).json();
42784
+ }
42785
+ async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
42786
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
42787
+ signal,
42788
+ json: data
43004
42789
  }).json();
43005
42790
  }
43006
42791
  //#endregion
@@ -43042,6 +42827,43 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
43042
42827
  json: data
43043
42828
  }).json();
43044
42829
  }
42830
+ async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
42831
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
42832
+ signal,
42833
+ searchParams: buildSearchParams$2({
42834
+ ghost_ids,
42835
+ start_date,
42836
+ end_date
42837
+ })
42838
+ }).json();
42839
+ }
42840
+ async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
42841
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42842
+ signal,
42843
+ searchParams: buildSearchParams$2({
42844
+ from,
42845
+ to
42846
+ })
42847
+ }).json();
42848
+ }
42849
+ async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
42850
+ return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42851
+ signal,
42852
+ json: data
42853
+ }).json();
42854
+ }
42855
+ async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
42856
+ return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42857
+ signal,
42858
+ json: data
42859
+ }).json();
42860
+ }
42861
+ async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
42862
+ return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42863
+ signal,
42864
+ json: data
42865
+ }).json();
42866
+ }
43045
42867
  //#endregion
43046
42868
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
43047
42869
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -43234,6 +43056,27 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
43234
43056
  json: data
43235
43057
  }).json();
43236
43058
  }
43059
+ async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
43060
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
43061
+ }
43062
+ async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
43063
+ return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
43064
+ signal,
43065
+ json: data
43066
+ }).json();
43067
+ }
43068
+ async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
43069
+ return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
43070
+ signal,
43071
+ json: data
43072
+ }).json();
43073
+ }
43074
+ async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
43075
+ return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
43076
+ signal,
43077
+ json: data
43078
+ }).json();
43079
+ }
43237
43080
  //#endregion
43238
43081
  //#region ../focus-queries/dist/workspace/requests.ts
43239
43082
  async function getWorkspaceContext(httpClient, workspace_id, signal) {
@@ -43250,9 +43093,6 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
43250
43093
  json: data
43251
43094
  }).json();
43252
43095
  }
43253
- async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
43254
- return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
43255
- }
43256
43096
  async function getUserPermissions(httpClient, workspace_id, signal) {
43257
43097
  return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
43258
43098
  }
@@ -43265,15 +43105,6 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
43265
43105
  json: data
43266
43106
  }).json();
43267
43107
  }
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
43108
  //#endregion
43278
43109
  //#region ../operations/build/index.public.js
43279
43110
  function callGeneratedRequest(request, args) {
@@ -43409,17 +43240,17 @@ const generatedFocusOperations = [
43409
43240
  ]))
43410
43241
  },
43411
43242
  {
43412
- id: "focus.audit-log.get-organization",
43243
+ id: "focus.audit-log.list",
43413
43244
  family: "focus",
43414
43245
  resource: "audit-log",
43415
- action: "get-organization",
43416
- title: "Get Organization Audit Log",
43417
- description: "Get Organization Audit Log.",
43246
+ action: "list",
43247
+ title: "List Audit Log",
43248
+ description: "List Audit Log.",
43418
43249
  safety: "read",
43419
43250
  destructive: false,
43420
43251
  cli: {
43421
43252
  group: ["audit-log"],
43422
- command: "get-organization",
43253
+ command: "list",
43423
43254
  interactive: "hidden"
43424
43255
  },
43425
43256
  mcp: { entityTool: "audit-log" },
@@ -43433,14 +43264,14 @@ const generatedFocusOperations = [
43433
43264
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43434
43265
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43435
43266
  to: /* @__PURE__ */ string$1(),
43436
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43437
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43267
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43438
43268
  }),
43439
43269
  execute: (input, { client }) => {
43440
43270
  const data = input;
43441
- return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
43271
+ return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
43442
43272
  client.httpClient,
43443
43273
  client.organizationId,
43274
+ client.workspaceIdNumber,
43444
43275
  data.from,
43445
43276
  data.to,
43446
43277
  data,
@@ -43449,79 +43280,87 @@ const generatedFocusOperations = [
43449
43280
  }
43450
43281
  },
43451
43282
  {
43452
- id: "focus.audit-log.list",
43283
+ id: "focus.capacities.get-computations",
43453
43284
  family: "focus",
43454
- resource: "audit-log",
43455
- action: "list",
43456
- title: "List Audit Log",
43457
- description: "List Audit Log.",
43285
+ resource: "capacities",
43286
+ action: "get-computations",
43287
+ title: "Get Computations Capacities",
43288
+ description: "Get Computations Capacities.",
43458
43289
  safety: "read",
43459
43290
  destructive: false,
43460
43291
  cli: {
43461
- group: ["audit-log"],
43462
- command: "list",
43292
+ group: ["capacities"],
43293
+ command: "get-computations",
43463
43294
  interactive: "hidden"
43464
43295
  },
43465
- mcp: { entityTool: "audit-log" },
43296
+ mcp: { entityTool: "capacities" },
43466
43297
  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())
43298
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43299
+ ghost_id: /* @__PURE__ */ number$2(),
43300
+ group: /* @__PURE__ */ picklist$1(["users"]),
43301
+ include_drafts: /* @__PURE__ */ unknown$1(),
43302
+ private_: /* @__PURE__ */ unknown$1(),
43303
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43304
+ task_source: /* @__PURE__ */ unknown$1(),
43305
+ unit: /* @__PURE__ */ unknown$1(),
43306
+ user_id: /* @__PURE__ */ number$2()
43477
43307
  }),
43478
43308
  execute: (input, { client }) => {
43479
43309
  const data = input;
43480
- return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
43310
+ return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
43481
43311
  client.httpClient,
43482
43312
  client.organizationId,
43483
43313
  client.workspaceIdNumber,
43484
- data.from,
43485
- data.to,
43314
+ data.group,
43486
43315
  data,
43487
43316
  void 0
43488
43317
  ]));
43489
43318
  }
43490
43319
  },
43491
43320
  {
43492
- id: "focus.capacities.get-computations",
43321
+ id: "focus.capacities.settings-list",
43493
43322
  family: "focus",
43494
43323
  resource: "capacities",
43495
- action: "get-computations",
43496
- title: "Get Computations Capacities",
43497
- description: "Get Computations Capacities.",
43324
+ action: "settings-list",
43325
+ title: "Settings List Capacities",
43326
+ description: "Settings List Capacities.",
43498
43327
  safety: "read",
43499
43328
  destructive: false,
43500
43329
  cli: {
43501
- group: ["capacities"],
43502
- command: "get-computations",
43330
+ group: ["capacities", "settings"],
43331
+ command: "list",
43503
43332
  interactive: "hidden"
43504
43333
  },
43505
43334
  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
- }),
43335
+ inputSchema: /* @__PURE__ */ looseObject({}),
43336
+ execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
43337
+ client.httpClient,
43338
+ client.workspaceIdNumber,
43339
+ void 0
43340
+ ]))
43341
+ },
43342
+ {
43343
+ id: "focus.capacities.settings-update",
43344
+ family: "focus",
43345
+ resource: "capacities",
43346
+ action: "settings-update",
43347
+ title: "Settings Update Capacities",
43348
+ description: "Settings Update Capacities.",
43349
+ safety: "update",
43350
+ destructive: false,
43351
+ cli: {
43352
+ group: ["capacities", "settings"],
43353
+ command: "update",
43354
+ interactive: "default"
43355
+ },
43356
+ mcp: { entityTool: "capacities" },
43357
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
43517
43358
  execute: (input, { client }) => {
43518
43359
  const data = input;
43519
- return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
43360
+ return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
43520
43361
  client.httpClient,
43521
- client.organizationId,
43522
43362
  client.workspaceIdNumber,
43523
- data.group,
43524
- data,
43363
+ data.payload ?? data.data ?? data,
43525
43364
  void 0
43526
43365
  ]));
43527
43366
  }
@@ -43720,7 +43559,8 @@ const generatedFocusOperations = [
43720
43559
  hourly_rate: /* @__PURE__ */ number$2(),
43721
43560
  start_at: apiDateTimeString,
43722
43561
  end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
43723
- })))
43562
+ }))),
43563
+ resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
43724
43564
  }) }),
43725
43565
  execute: (input, { client }) => {
43726
43566
  const data = input;
@@ -43775,7 +43615,6 @@ const generatedFocusOperations = [
43775
43615
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43776
43616
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43777
43617
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43778
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43779
43618
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43780
43619
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43781
43620
  }),
@@ -43808,7 +43647,6 @@ const generatedFocusOperations = [
43808
43647
  priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
43809
43648
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43810
43649
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43811
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43812
43650
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43813
43651
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43814
43652
  }))),
@@ -43864,11 +43702,7 @@ const generatedFocusOperations = [
43864
43702
  },
43865
43703
  mcp: { entityTool: "custom-fields" },
43866
43704
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
43867
- entity_type: /* @__PURE__ */ picklist$1([
43868
- "project",
43869
- "task",
43870
- "user"
43871
- ]),
43705
+ entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
43872
43706
  field_type: /* @__PURE__ */ picklist$1([
43873
43707
  "select",
43874
43708
  "multi_select",
@@ -44201,11 +44035,7 @@ const generatedFocusOperations = [
44201
44035
  },
44202
44036
  mcp: { entityTool: "custom-fields" },
44203
44037
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44204
- entity_type: /* @__PURE__ */ picklist$1([
44205
- "project",
44206
- "task",
44207
- "user"
44208
- ]),
44038
+ entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
44209
44039
  ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
44210
44040
  }) }),
44211
44041
  execute: (input, { client }) => {
@@ -44219,37 +44049,6 @@ const generatedFocusOperations = [
44219
44049
  ]));
44220
44050
  }
44221
44051
  },
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
44052
  {
44254
44053
  id: "focus.goals.create",
44255
44054
  family: "focus",
@@ -44469,22 +44268,10 @@ const generatedFocusOperations = [
44469
44268
  goal_id: /* @__PURE__ */ number$2(),
44470
44269
  payload: /* @__PURE__ */ looseObject({
44471
44270
  active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44472
- client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44473
44271
  comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44474
44272
  icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44475
44273
  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()))
44274
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
44488
44275
  })
44489
44276
  }),
44490
44277
  execute: (input, { client }) => {
@@ -45817,7 +45604,6 @@ const generatedFocusOperations = [
45817
45604
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45818
45605
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45819
45606
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45820
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45821
45607
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45822
45608
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
45823
45609
  group: /* @__PURE__ */ string$1(),
@@ -45825,7 +45611,6 @@ const generatedFocusOperations = [
45825
45611
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45826
45612
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45827
45613
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45828
- only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45829
45614
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45830
45615
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45831
45616
  parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -48010,10 +47795,7 @@ const generatedFocusOperations = [
48010
47795
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48011
47796
  name: /* @__PURE__ */ string$1(),
48012
47797
  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())
47798
+ }))
48017
47799
  }),
48018
47800
  response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48019
47801
  }),
@@ -48054,28 +47836,6 @@ const generatedFocusOperations = [
48054
47836
  ]));
48055
47837
  }
48056
47838
  },
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
47839
  {
48080
47840
  id: "focus.reports.get-profitability",
48081
47841
  family: "focus",
@@ -48135,17 +47895,9 @@ const generatedFocusOperations = [
48135
47895
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48136
47896
  name: /* @__PURE__ */ string$1(),
48137
47897
  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())
47898
+ }))
48142
47899
  }),
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
- ]))
47900
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
48149
47901
  }),
48150
47902
  execute: (input, { client }) => {
48151
47903
  const data = input;
@@ -48155,23 +47907,22 @@ const generatedFocusOperations = [
48155
47907
  data.payload ?? data.data ?? data,
48156
47908
  data.response_format,
48157
47909
  data.include_dicts,
48158
- data.xTogglReportExport,
48159
47910
  void 0
48160
47911
  ]));
48161
47912
  }
48162
47913
  },
48163
47914
  {
48164
- id: "focus.reports.get-time-accounting",
47915
+ id: "focus.reports.get-workload",
48165
47916
  family: "focus",
48166
47917
  resource: "reports",
48167
- action: "get-time-accounting",
48168
- title: "Get Time Accounting Reports",
48169
- description: "Get Time Accounting Reports.",
47918
+ action: "get-workload",
47919
+ title: "Get Workload Reports",
47920
+ description: "Get Workload Reports.",
48170
47921
  safety: "update",
48171
47922
  destructive: false,
48172
47923
  cli: {
48173
47924
  group: ["reports"],
48174
- command: "get-time-accounting",
47925
+ command: "get-workload",
48175
47926
  interactive: "hidden"
48176
47927
  },
48177
47928
  mcp: { entityTool: "reports" },
@@ -48217,205 +47968,14 @@ const generatedFocusOperations = [
48217
47968
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48218
47969
  name: /* @__PURE__ */ string$1(),
48219
47970
  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())
47971
+ }))
48224
47972
  }) }),
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
47973
  execute: (input, { client }) => {
48305
47974
  const data = input;
48306
47975
  return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
48307
47976
  client.httpClient,
48308
47977
  client.workspaceIdNumber,
48309
47978
  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
47979
  void 0
48420
47980
  ]));
48421
47981
  }
@@ -48453,9 +48013,7 @@ const generatedFocusOperations = [
48453
48013
  "reports.detailed",
48454
48014
  "reports.utilization",
48455
48015
  "reports.workload",
48456
- "reports.profitability",
48457
- "reports.time-off",
48458
- "reports.time-accounting"
48016
+ "reports.profitability"
48459
48017
  ]),
48460
48018
  icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48461
48019
  }) }),
@@ -48579,42 +48137,12 @@ const generatedFocusOperations = [
48579
48137
  }
48580
48138
  },
48581
48139
  {
48582
- id: "focus.search.mentions",
48140
+ id: "focus.search.search",
48583
48141
  family: "focus",
48584
48142
  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",
48613
- family: "focus",
48614
- resource: "search",
48615
- action: "search",
48616
- title: "Search Search",
48617
- description: "Search Search.",
48143
+ action: "search",
48144
+ title: "Search Search",
48145
+ description: "Search Search.",
48618
48146
  safety: "read",
48619
48147
  destructive: false,
48620
48148
  cli: {
@@ -48635,240 +48163,6 @@ const generatedFocusOperations = [
48635
48163
  ]));
48636
48164
  }
48637
48165
  },
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
48166
  {
48873
48167
  id: "focus.statuses.create-status",
48874
48168
  family: "focus",
@@ -49125,181 +48419,22 @@ const generatedFocusOperations = [
49125
48419
  family: "focus",
49126
48420
  resource: "subscriptions",
49127
48421
  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.",
48422
+ title: "Upsert Forced Trial Subscriptions",
48423
+ description: "Upsert Forced Trial Subscriptions.",
49290
48424
  safety: "update",
49291
48425
  destructive: false,
49292
48426
  cli: {
49293
- group: ["tags", "bulk"],
49294
- command: "unarchive",
48427
+ group: ["subscriptions"],
48428
+ command: "upsert-forced-trial",
49295
48429
  interactive: "default"
49296
48430
  },
49297
- mcp: { entityTool: "tags" },
49298
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
48431
+ mcp: { entityTool: "subscriptions" },
48432
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
49299
48433
  execute: (input, { client }) => {
49300
48434
  const data = input;
49301
- return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
48435
+ return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
49302
48436
  client.httpClient,
48437
+ client.organizationId,
49303
48438
  client.workspaceIdNumber,
49304
48439
  data.payload ?? data.data ?? data,
49305
48440
  void 0
@@ -49390,35 +48525,6 @@ const generatedFocusOperations = [
49390
48525
  return client.listTags(data);
49391
48526
  }
49392
48527
  },
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
48528
  {
49423
48529
  id: "focus.tags.restore",
49424
48530
  family: "focus",
@@ -49445,32 +48551,6 @@ const generatedFocusOperations = [
49445
48551
  ]));
49446
48552
  }
49447
48553
  },
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
48554
  {
49475
48555
  id: "focus.tags.update",
49476
48556
  family: "focus",
@@ -50152,12 +49232,12 @@ const generatedFocusOperations = [
50152
49232
  mcp: { entityTool: "tasks" },
50153
49233
  inputSchema: /* @__PURE__ */ looseObject({
50154
49234
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50155
- assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50156
49235
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50157
49236
  dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50158
49237
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50159
49238
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50160
49239
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49240
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50161
49241
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50162
49242
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50163
49243
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50194,6 +49274,7 @@ const generatedFocusOperations = [
50194
49274
  inputSchema: /* @__PURE__ */ looseObject({
50195
49275
  active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50196
49276
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49277
+ assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50197
49278
  assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50198
49279
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50199
49280
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50210,6 +49291,7 @@ const generatedFocusOperations = [
50210
49291
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50211
49292
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50212
49293
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49294
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50213
49295
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50214
49296
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50215
49297
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50265,6 +49347,7 @@ const generatedFocusOperations = [
50265
49347
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50266
49348
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50267
49349
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49350
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50268
49351
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50269
49352
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50270
49353
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50305,6 +49388,7 @@ const generatedFocusOperations = [
50305
49388
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50306
49389
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50307
49390
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49391
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50308
49392
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50309
49393
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50310
49394
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50345,7 +49429,6 @@ const generatedFocusOperations = [
50345
49429
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50346
49430
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50347
49431
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50348
- collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50349
49432
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50350
49433
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50351
49434
  end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50359,8 +49442,7 @@ const generatedFocusOperations = [
50359
49442
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50360
49443
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50361
49444
  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()),
49445
+ include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50364
49446
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50365
49447
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50366
49448
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -50376,7 +49458,6 @@ const generatedFocusOperations = [
50376
49458
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50377
49459
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
50378
49460
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50379
- user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50380
49461
  user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50381
49462
  }),
50382
49463
  execute: (input, { client }) => {
@@ -50391,118 +49472,6 @@ const generatedFocusOperations = [
50391
49472
  ]));
50392
49473
  }
50393
49474
  },
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
49475
  {
50507
49476
  id: "focus.tasks.groups-update",
50508
49477
  family: "focus",
@@ -50708,6 +49677,7 @@ const generatedFocusOperations = [
50708
49677
  name: /* @__PURE__ */ string$1(),
50709
49678
  status_id: /* @__PURE__ */ number$2(),
50710
49679
  auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
49680
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50711
49681
  color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
50712
49682
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50713
49683
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -50727,7 +49697,6 @@ const generatedFocusOperations = [
50727
49697
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50728
49698
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50729
49699
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50730
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50731
49700
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
50732
49701
  }),
50733
49702
  task_id: /* @__PURE__ */ number$2()
@@ -51736,40 +50705,6 @@ const generatedFocusOperations = [
51736
50705
  ]));
51737
50706
  }
51738
50707
  },
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
50708
  {
51774
50709
  id: "focus.time-entries.list",
51775
50710
  family: "focus",
@@ -51954,42 +50889,6 @@ const generatedFocusOperations = [
51954
50889
  inputSchema: emptySchema$1,
51955
50890
  execute: (_input, { client }) => client.stopTracking()
51956
50891
  },
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
50892
  {
51994
50893
  id: "focus.time-entries.tracking-get-tracked-time-entry",
51995
50894
  family: "focus",
@@ -52038,7 +50937,6 @@ const generatedFocusOperations = [
52038
50937
  create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52039
50938
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
52040
50939
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52041
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52042
50940
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52043
50941
  extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52044
50942
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -52101,33 +50999,121 @@ const generatedFocusOperations = [
52101
50999
  safety: "update",
52102
51000
  destructive: false,
52103
51001
  cli: {
52104
- group: ["time-entries"],
52105
- command: "update",
52106
- interactive: "default"
51002
+ group: ["time-entries"],
51003
+ command: "update",
51004
+ interactive: "default"
51005
+ },
51006
+ mcp: { entityTool: "time-entries" },
51007
+ inputSchema: /* @__PURE__ */ looseObject({
51008
+ payload: /* @__PURE__ */ looseObject({
51009
+ type: /* @__PURE__ */ picklist$1(["activity", "break"]),
51010
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51011
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51012
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51013
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51014
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51015
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51016
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
51017
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51018
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
51019
+ }),
51020
+ time_entry_id: /* @__PURE__ */ number$2()
51021
+ }),
51022
+ execute: (input, { client }) => {
51023
+ const data = input;
51024
+ return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
51025
+ client.httpClient,
51026
+ client.organizationId,
51027
+ client.workspaceIdNumber,
51028
+ data.time_entry_id,
51029
+ data.payload ?? data.data ?? data,
51030
+ void 0
51031
+ ]));
51032
+ }
51033
+ },
51034
+ {
51035
+ id: "focus.time-log-suggestions.get-for-acalendar-event-title",
51036
+ family: "focus",
51037
+ resource: "time-log-suggestions",
51038
+ action: "get-for-acalendar-event-title",
51039
+ title: "Get For Acalendar Event Title Time Log Suggestions",
51040
+ description: "Get For Acalendar Event Title Time Log Suggestions.",
51041
+ safety: "update",
51042
+ destructive: false,
51043
+ cli: {
51044
+ group: ["time-log-suggestions"],
51045
+ command: "get-for-acalendar-event-title",
51046
+ interactive: "default"
51047
+ },
51048
+ mcp: { entityTool: "time-log-suggestions" },
51049
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
51050
+ execute: (input, { client }) => {
51051
+ const data = input;
51052
+ return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
51053
+ client.httpClient,
51054
+ client.organizationId,
51055
+ client.workspaceIdNumber,
51056
+ data.payload ?? data.data ?? data,
51057
+ void 0
51058
+ ]));
51059
+ }
51060
+ },
51061
+ {
51062
+ id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
51063
+ family: "focus",
51064
+ resource: "time-log-suggestions",
51065
+ action: "get-for-multiple-calendar-event-titles",
51066
+ title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
51067
+ description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
51068
+ safety: "update",
51069
+ destructive: false,
51070
+ cli: {
51071
+ group: ["time-log-suggestions"],
51072
+ command: "get-for-multiple-calendar-event-titles",
51073
+ interactive: "default"
51074
+ },
51075
+ mcp: { entityTool: "time-log-suggestions" },
51076
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
51077
+ key: /* @__PURE__ */ string$1(),
51078
+ title: /* @__PURE__ */ string$1()
51079
+ })) }) }),
51080
+ execute: (input, { client }) => {
51081
+ const data = input;
51082
+ return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
51083
+ client.httpClient,
51084
+ client.organizationId,
51085
+ client.workspaceIdNumber,
51086
+ data.payload ?? data.data ?? data,
51087
+ void 0
51088
+ ]));
51089
+ }
51090
+ },
51091
+ {
51092
+ id: "focus.time-off.create-timeoff-for-ghost",
51093
+ family: "focus",
51094
+ resource: "time-off",
51095
+ action: "create-timeoff-for-ghost",
51096
+ title: "Create Timeoff For Ghost Time Off",
51097
+ description: "Create Timeoff For Ghost Time Off.",
51098
+ safety: "create",
51099
+ destructive: false,
51100
+ cli: {
51101
+ group: ["time-off"],
51102
+ command: "create-timeoff-for-ghost",
51103
+ interactive: "hidden"
52107
51104
  },
52108
- mcp: { entityTool: "time-entries" },
51105
+ mcp: { entityTool: "time-off" },
52109
51106
  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()
51107
+ ghost_id: /* @__PURE__ */ number$2(),
51108
+ payload: /* @__PURE__ */ unknown$1()
52123
51109
  }),
52124
51110
  execute: (input, { client }) => {
52125
51111
  const data = input;
52126
- return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
51112
+ return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
52127
51113
  client.httpClient,
52128
51114
  client.organizationId,
52129
51115
  client.workspaceIdNumber,
52130
- data.time_entry_id,
51116
+ data.ghost_id,
52131
51117
  data.payload ?? data.data ?? data,
52132
51118
  void 0
52133
51119
  ]));
@@ -52163,6 +51149,37 @@ const generatedFocusOperations = [
52163
51149
  ]));
52164
51150
  }
52165
51151
  },
51152
+ {
51153
+ id: "focus.time-off.delete-timeoff-for-ghost",
51154
+ family: "focus",
51155
+ resource: "time-off",
51156
+ action: "delete-timeoff-for-ghost",
51157
+ title: "Delete Timeoff For Ghost Time Off",
51158
+ description: "Delete Timeoff For Ghost Time Off.",
51159
+ safety: "delete",
51160
+ destructive: true,
51161
+ cli: {
51162
+ group: ["time-off"],
51163
+ command: "delete-timeoff-for-ghost",
51164
+ interactive: "hidden"
51165
+ },
51166
+ mcp: { entityTool: "time-off" },
51167
+ inputSchema: /* @__PURE__ */ looseObject({
51168
+ ghost_id: /* @__PURE__ */ number$2(),
51169
+ payload: /* @__PURE__ */ unknown$1()
51170
+ }),
51171
+ execute: (input, { client }) => {
51172
+ const data = input;
51173
+ return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
51174
+ client.httpClient,
51175
+ client.organizationId,
51176
+ client.workspaceIdNumber,
51177
+ data.ghost_id,
51178
+ data.payload ?? data.data ?? data,
51179
+ void 0
51180
+ ]));
51181
+ }
51182
+ },
52166
51183
  {
52167
51184
  id: "focus.time-off.delete-timeoff-for-user",
52168
51185
  family: "focus",
@@ -52193,6 +51210,38 @@ const generatedFocusOperations = [
52193
51210
  ]));
52194
51211
  }
52195
51212
  },
51213
+ {
51214
+ id: "focus.time-off.get-timeoff-for-ghost",
51215
+ family: "focus",
51216
+ resource: "time-off",
51217
+ action: "get-timeoff-for-ghost",
51218
+ title: "Get Timeoff For Ghost Time Off",
51219
+ description: "Get Timeoff For Ghost Time Off.",
51220
+ safety: "read",
51221
+ destructive: false,
51222
+ cli: {
51223
+ group: ["time-off"],
51224
+ command: "get-timeoff-for-ghost",
51225
+ interactive: "hidden"
51226
+ },
51227
+ mcp: { entityTool: "time-off" },
51228
+ inputSchema: /* @__PURE__ */ looseObject({
51229
+ from: /* @__PURE__ */ unknown$1(),
51230
+ ghost_id: /* @__PURE__ */ number$2(),
51231
+ to: /* @__PURE__ */ unknown$1()
51232
+ }),
51233
+ execute: (input, { client }) => {
51234
+ const data = input;
51235
+ return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
51236
+ client.httpClient,
51237
+ client.organizationId,
51238
+ client.workspaceIdNumber,
51239
+ data.ghost_id,
51240
+ data,
51241
+ void 0
51242
+ ]));
51243
+ }
51244
+ },
52196
51245
  {
52197
51246
  id: "focus.time-off.get-timeoff-for-user",
52198
51247
  family: "focus",
@@ -52224,6 +51273,37 @@ const generatedFocusOperations = [
52224
51273
  ]));
52225
51274
  }
52226
51275
  },
51276
+ {
51277
+ id: "focus.time-off.get-timeoffs-by-ghost-ids",
51278
+ family: "focus",
51279
+ resource: "time-off",
51280
+ action: "get-timeoffs-by-ghost-ids",
51281
+ title: "Get Timeoffs By Ghost Ids Time Off",
51282
+ description: "Get Timeoffs By Ghost Ids Time Off.",
51283
+ safety: "read",
51284
+ destructive: false,
51285
+ cli: {
51286
+ group: ["time-off"],
51287
+ command: "get-timeoffs-by-ghost-ids",
51288
+ interactive: "hidden"
51289
+ },
51290
+ mcp: { entityTool: "time-off" },
51291
+ inputSchema: /* @__PURE__ */ looseObject({
51292
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51293
+ ghost_ids: /* @__PURE__ */ unknown$1(),
51294
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
51295
+ }),
51296
+ execute: (input, { client }) => {
51297
+ const data = input;
51298
+ return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
51299
+ client.httpClient,
51300
+ client.organizationId,
51301
+ client.workspaceIdNumber,
51302
+ data,
51303
+ void 0
51304
+ ]));
51305
+ }
51306
+ },
52227
51307
  {
52228
51308
  id: "focus.time-off.get-timeoffs-by-user-ids",
52229
51309
  family: "focus",
@@ -52254,6 +51334,37 @@ const generatedFocusOperations = [
52254
51334
  ]));
52255
51335
  }
52256
51336
  },
51337
+ {
51338
+ id: "focus.time-off.update-timeoff-for-ghost",
51339
+ family: "focus",
51340
+ resource: "time-off",
51341
+ action: "update-timeoff-for-ghost",
51342
+ title: "Update Timeoff For Ghost Time Off",
51343
+ description: "Update Timeoff For Ghost Time Off.",
51344
+ safety: "update",
51345
+ destructive: false,
51346
+ cli: {
51347
+ group: ["time-off"],
51348
+ command: "update-timeoff-for-ghost",
51349
+ interactive: "hidden"
51350
+ },
51351
+ mcp: { entityTool: "time-off" },
51352
+ inputSchema: /* @__PURE__ */ looseObject({
51353
+ ghost_id: /* @__PURE__ */ number$2(),
51354
+ payload: /* @__PURE__ */ unknown$1()
51355
+ }),
51356
+ execute: (input, { client }) => {
51357
+ const data = input;
51358
+ return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
51359
+ client.httpClient,
51360
+ client.organizationId,
51361
+ client.workspaceIdNumber,
51362
+ data.ghost_id,
51363
+ data.payload ?? data.data ?? data,
51364
+ void 0
51365
+ ]));
51366
+ }
51367
+ },
52257
51368
  {
52258
51369
  id: "focus.time-off.update-timeoff-for-user",
52259
51370
  family: "focus",
@@ -53285,7 +52396,6 @@ const generatedFocusOperations = [
53285
52396
  pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
53286
52397
  pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
53287
52398
  pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53288
- send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53289
52399
  send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53290
52400
  shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53291
52401
  show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -53387,6 +52497,37 @@ const generatedFocusOperations = [
53387
52497
  inputSchema: /* @__PURE__ */ looseObject({}),
53388
52498
  execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
53389
52499
  },
52500
+ {
52501
+ id: "focus.working-hours.create-for-ghost",
52502
+ family: "focus",
52503
+ resource: "working-hours",
52504
+ action: "create-for-ghost",
52505
+ title: "Create For Ghost Working Hours",
52506
+ description: "Create For Ghost Working Hours.",
52507
+ safety: "create",
52508
+ destructive: false,
52509
+ cli: {
52510
+ group: ["working-hours"],
52511
+ command: "create-for-ghost",
52512
+ interactive: "hidden"
52513
+ },
52514
+ mcp: { entityTool: "working-hours" },
52515
+ inputSchema: /* @__PURE__ */ looseObject({
52516
+ ghost_id: /* @__PURE__ */ number$2(),
52517
+ payload: /* @__PURE__ */ unknown$1()
52518
+ }),
52519
+ execute: (input, { client }) => {
52520
+ const data = input;
52521
+ return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
52522
+ client.httpClient,
52523
+ client.organizationId,
52524
+ client.workspaceIdNumber,
52525
+ data.ghost_id,
52526
+ data.payload ?? data.data ?? data,
52527
+ void 0
52528
+ ]));
52529
+ }
52530
+ },
53390
52531
  {
53391
52532
  id: "focus.working-hours.create-for-user",
53392
52533
  family: "focus",
@@ -53417,6 +52558,37 @@ const generatedFocusOperations = [
53417
52558
  ]));
53418
52559
  }
53419
52560
  },
52561
+ {
52562
+ id: "focus.working-hours.delete-for-ghost",
52563
+ family: "focus",
52564
+ resource: "working-hours",
52565
+ action: "delete-for-ghost",
52566
+ title: "Delete For Ghost Working Hours",
52567
+ description: "Delete For Ghost Working Hours.",
52568
+ safety: "delete",
52569
+ destructive: true,
52570
+ cli: {
52571
+ group: ["working-hours"],
52572
+ command: "delete-for-ghost",
52573
+ interactive: "hidden"
52574
+ },
52575
+ mcp: { entityTool: "working-hours" },
52576
+ inputSchema: /* @__PURE__ */ looseObject({
52577
+ ghost_id: /* @__PURE__ */ number$2(),
52578
+ payload: /* @__PURE__ */ unknown$1()
52579
+ }),
52580
+ execute: (input, { client }) => {
52581
+ const data = input;
52582
+ return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
52583
+ client.httpClient,
52584
+ client.organizationId,
52585
+ client.workspaceIdNumber,
52586
+ data.ghost_id,
52587
+ data.payload ?? data.data ?? data,
52588
+ void 0
52589
+ ]));
52590
+ }
52591
+ },
53420
52592
  {
53421
52593
  id: "focus.working-hours.delete-for-user",
53422
52594
  family: "focus",
@@ -53447,6 +52619,33 @@ const generatedFocusOperations = [
53447
52619
  ]));
53448
52620
  }
53449
52621
  },
52622
+ {
52623
+ id: "focus.working-hours.get-for-ghost",
52624
+ family: "focus",
52625
+ resource: "working-hours",
52626
+ action: "get-for-ghost",
52627
+ title: "Get For Ghost Working Hours",
52628
+ description: "Get For Ghost Working Hours.",
52629
+ safety: "read",
52630
+ destructive: false,
52631
+ cli: {
52632
+ group: ["working-hours"],
52633
+ command: "get-for-ghost",
52634
+ interactive: "available"
52635
+ },
52636
+ mcp: { entityTool: "working-hours" },
52637
+ inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
52638
+ execute: (input, { client }) => {
52639
+ const data = input;
52640
+ return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
52641
+ client.httpClient,
52642
+ client.organizationId,
52643
+ client.workspaceIdNumber,
52644
+ data.ghost_id,
52645
+ void 0
52646
+ ]));
52647
+ }
52648
+ },
53450
52649
  {
53451
52650
  id: "focus.working-hours.get-for-user",
53452
52651
  family: "focus",
@@ -53473,6 +52672,37 @@ const generatedFocusOperations = [
53473
52672
  ]));
53474
52673
  }
53475
52674
  },
52675
+ {
52676
+ id: "focus.working-hours.update-for-ghost",
52677
+ family: "focus",
52678
+ resource: "working-hours",
52679
+ action: "update-for-ghost",
52680
+ title: "Update For Ghost Working Hours",
52681
+ description: "Update For Ghost Working Hours.",
52682
+ safety: "update",
52683
+ destructive: false,
52684
+ cli: {
52685
+ group: ["working-hours"],
52686
+ command: "update-for-ghost",
52687
+ interactive: "hidden"
52688
+ },
52689
+ mcp: { entityTool: "working-hours" },
52690
+ inputSchema: /* @__PURE__ */ looseObject({
52691
+ ghost_id: /* @__PURE__ */ number$2(),
52692
+ payload: /* @__PURE__ */ unknown$1()
52693
+ }),
52694
+ execute: (input, { client }) => {
52695
+ const data = input;
52696
+ return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
52697
+ client.httpClient,
52698
+ client.organizationId,
52699
+ client.workspaceIdNumber,
52700
+ data.ghost_id,
52701
+ data.payload ?? data.data ?? data,
52702
+ void 0
52703
+ ]));
52704
+ }
52705
+ },
53476
52706
  {
53477
52707
  id: "focus.working-hours.update-for-user",
53478
52708
  family: "focus",
@@ -53547,50 +52777,6 @@ const generatedFocusOperations = [
53547
52777
  void 0
53548
52778
  ]))
53549
52779
  },
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
52780
  {
53595
52781
  id: "focus.workspace-settings.list",
53596
52782
  family: "focus",
@@ -53665,32 +52851,6 @@ const generatedFocusOperations = [
53665
52851
  ]));
53666
52852
  }
53667
52853
  },
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
52854
  {
53695
52855
  id: "focus.workspace.get-context",
53696
52856
  family: "focus",
@@ -54817,7 +53977,7 @@ function registerWorkspaceTools(server) {
54817
53977
  //#region src/package-version.ts
54818
53978
  function mcpPackageVersion() {
54819
53979
  try {
54820
- return "1.11.143";
53980
+ return "1.11.145";
54821
53981
  } catch {
54822
53982
  return "unknown";
54823
53983
  }
@@ -54992,7 +54152,7 @@ import_main.default.config({
54992
54152
  quiet: true,
54993
54153
  ignore: ["MISSING_ENV_FILE"]
54994
54154
  });
54995
- const packageVersion = "1.11.143";
54155
+ const packageVersion = "1.11.145";
54996
54156
  function resolvePublicUrls() {
54997
54157
  return {
54998
54158
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -55057,4 +54217,4 @@ function bootstrapServer(options = {}) {
55057
54217
  //#endregion
55058
54218
  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
54219
 
55060
- //# sourceMappingURL=src-DUgMWV-7.js.map
54220
+ //# sourceMappingURL=src-DM9DnITM.js.map