@togglhq/cli 1.11.14 → 1.11.15

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.
@@ -9019,7 +9019,11 @@ function pipe(...pipe$1) {
9019
9019
  }
9020
9020
  const TaskAssignmentSchema = /* @__PURE__ */ object({
9021
9021
  id: /* @__PURE__ */ number(),
9022
- type: /* @__PURE__ */ picklist(["user", "team"])
9022
+ type: /* @__PURE__ */ picklist([
9023
+ "user",
9024
+ "ghost",
9025
+ "team"
9026
+ ])
9023
9027
  });
9024
9028
  const ClientLiteSchema = /* @__PURE__ */ object({
9025
9029
  id: /* @__PURE__ */ number(),
@@ -9061,8 +9065,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
9061
9065
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9062
9066
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
9063
9067
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9064
- rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
9065
- 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.")))
9068
+ rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
9066
9069
  });
9067
9070
  const TaskMetadataSchema = /* @__PURE__ */ object({
9068
9071
  all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -9135,7 +9138,7 @@ const TaskSchema = /* @__PURE__ */ object({
9135
9138
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
9136
9139
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
9137
9140
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9138
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
9141
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9139
9142
  client: /* @__PURE__ */ optional(ClientLiteSchema),
9140
9143
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9141
9144
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -9143,6 +9146,7 @@ const TaskSchema = /* @__PURE__ */ object({
9143
9146
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9144
9147
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
9145
9148
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9149
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
9146
9150
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
9147
9151
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9148
9152
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -9152,7 +9156,6 @@ const TaskSchema = /* @__PURE__ */ object({
9152
9156
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9153
9157
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
9154
9158
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9155
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9156
9159
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9157
9160
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9158
9161
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -9196,7 +9199,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
9196
9199
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
9197
9200
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
9198
9201
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9199
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
9202
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9200
9203
  client: /* @__PURE__ */ optional(ClientLiteSchema),
9201
9204
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9202
9205
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -9204,6 +9207,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
9204
9207
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9205
9208
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
9206
9209
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9210
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
9207
9211
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
9208
9212
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9209
9213
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -9214,7 +9218,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
9214
9218
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9215
9219
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
9216
9220
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9217
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9218
9221
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9219
9222
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9220
9223
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -9369,7 +9372,7 @@ const TimeBlockSchema = /* @__PURE__ */ object({
9369
9372
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9370
9373
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9371
9374
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9372
- timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
9375
+ 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."))),
9373
9376
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
9374
9377
  });
9375
9378
  const BillableSourceSchema = /* @__PURE__ */ picklist(["manual", "task_default"]);
@@ -9395,7 +9398,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
9395
9398
  tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
9396
9399
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9397
9400
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9398
- timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
9401
+ 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."))),
9399
9402
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9400
9403
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
9401
9404
  });
@@ -9518,7 +9521,7 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
9518
9521
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9519
9522
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9520
9523
  task: /* @__PURE__ */ optional(TaskSchema),
9521
- timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
9524
+ 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."))),
9522
9525
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
9523
9526
  })),
9524
9527
  page: /* @__PURE__ */ number(),
@@ -9561,7 +9564,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
9561
9564
  task: /* @__PURE__ */ optional(TaskSchema),
9562
9565
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9563
9566
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9564
- timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
9567
+ 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."))),
9565
9568
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9566
9569
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
9567
9570
  })),
@@ -9573,15 +9576,9 @@ const TagSchema$1 = /* @__PURE__ */ object({
9573
9576
  id: /* @__PURE__ */ number(),
9574
9577
  name: /* @__PURE__ */ string(),
9575
9578
  workspace_id: /* @__PURE__ */ number(),
9576
- 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."))),
9577
9579
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9578
9580
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9579
- updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9580
- usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
9581
- projects: /* @__PURE__ */ number(),
9582
- tasks: /* @__PURE__ */ number(),
9583
- time_entries: /* @__PURE__ */ number()
9584
- })), /* @__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.")))
9581
+ updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
9585
9582
  });
9586
9583
  const PaginatedTagsSchema = /* @__PURE__ */ object({
9587
9584
  data: /* @__PURE__ */ array(TagSchema$1),
@@ -9592,8 +9589,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
9592
9589
  const OrganizationUserResponseSchema = /* @__PURE__ */ object({
9593
9590
  "2fa_enabled": /* @__PURE__ */ boolean(),
9594
9591
  account_locked_at: /* @__PURE__ */ string(),
9595
- accounts_role_id: /* @__PURE__ */ number(),
9596
9592
  active: /* @__PURE__ */ boolean(),
9593
+ admin: /* @__PURE__ */ boolean(),
9597
9594
  can_edit_personal_details: /* @__PURE__ */ boolean(),
9598
9595
  created_at: /* @__PURE__ */ string(),
9599
9596
  deleted_at: /* @__PURE__ */ string(),
@@ -9642,9 +9639,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
9642
9639
  track_role_id: /* @__PURE__ */ number(),
9643
9640
  work_role_id: /* @__PURE__ */ number(),
9644
9641
  workspace_user_id: /* @__PURE__ */ number()
9645
- })),
9646
- custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
9647
- 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.")))
9642
+ }))
9648
9643
  });
9649
9644
  const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
9650
9645
  const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
@@ -9721,7 +9716,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
9721
9716
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9722
9717
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
9723
9718
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
9724
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
9719
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9720
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
9725
9721
  integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9726
9722
  integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9727
9723
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -9737,7 +9733,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
9737
9733
  priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
9738
9734
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9739
9735
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9740
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9741
9736
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9742
9737
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
9743
9738
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -9747,23 +9742,22 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
9747
9742
  const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
9748
9743
  const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
9749
9744
  cascade_duplicate_children: /* @__PURE__ */ boolean(),
9750
- task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)),
9751
- 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.")))
9745
+ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
9752
9746
  });
9753
9747
  const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
9754
9748
  const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
9755
9749
  const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
9756
- after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9757
9750
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
9758
9751
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
9759
9752
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
9760
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
9753
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9761
9754
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9762
9755
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
9763
9756
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9764
9757
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
9765
9758
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
9766
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
9759
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9760
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
9767
9761
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9768
9762
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9769
9763
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -9780,7 +9774,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
9780
9774
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9781
9775
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9782
9776
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9783
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9784
9777
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9785
9778
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
9786
9779
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -9789,17 +9782,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
9789
9782
  });
9790
9783
  const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
9791
9784
  id: /* @__PURE__ */ number(),
9792
- after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9793
9785
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
9794
9786
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
9795
9787
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
9796
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
9788
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9797
9789
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9798
9790
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
9799
9791
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9800
9792
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
9801
9793
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
9802
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
9794
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9795
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
9803
9796
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9804
9797
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9805
9798
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -9816,7 +9809,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
9816
9809
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9817
9810
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9818
9811
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9819
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9820
9812
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9821
9813
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
9822
9814
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -9979,7 +9971,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
9979
9971
  })
9980
9972
  }).json();
9981
9973
  }
9982
- 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) {
9974
+ 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) {
9983
9975
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
9984
9976
  signal,
9985
9977
  searchParams: buildSearchParams$2({
@@ -9999,10 +9991,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
9999
9991
  include_working_hours,
10000
9992
  include_rates,
10001
9993
  pinned_ids,
10002
- has_group,
10003
- cf_filter,
10004
- include_custom_fields,
10005
- include_calendar_integration
9994
+ has_group
10006
9995
  }, true)
10007
9996
  });
10008
9997
  return withResponseMeta(await response.json(), response.headers, response.status);
@@ -10021,7 +10010,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
10021
10010
  }
10022
10011
  //#endregion
10023
10012
  //#region ../focus-queries/dist/tags/requests.ts
10024
- async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
10013
+ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
10025
10014
  return await httpClient.get(`workspaces/${workspace_id}/tags`, {
10026
10015
  signal,
10027
10016
  searchParams: buildSearchParams$2({
@@ -10029,10 +10018,7 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
10029
10018
  page,
10030
10019
  per_page,
10031
10020
  order_by,
10032
- tag_id,
10033
- include_usage,
10034
- include_archived,
10035
- archived
10021
+ tag_id
10036
10022
  })
10037
10023
  }).json();
10038
10024
  }
@@ -10042,42 +10028,6 @@ async function createTag(httpClient, workspace_id, data, signal) {
10042
10028
  json: data
10043
10029
  }).json();
10044
10030
  }
10045
- async function bulkCreateTags(httpClient, workspace_id, data, signal) {
10046
- return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
10047
- signal,
10048
- json: data
10049
- }).json();
10050
- }
10051
- async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
10052
- return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
10053
- signal,
10054
- searchParams: buildSearchParams$2({ ids })
10055
- }).json();
10056
- }
10057
- async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
10058
- return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
10059
- signal,
10060
- json: data
10061
- }).json();
10062
- }
10063
- async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
10064
- return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
10065
- signal,
10066
- json: data
10067
- }).json();
10068
- }
10069
- async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
10070
- return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
10071
- signal,
10072
- json: data
10073
- }).json();
10074
- }
10075
- async function mergeTags(httpClient, workspace_id, data, signal) {
10076
- return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
10077
- signal,
10078
- json: data
10079
- }).json();
10080
- }
10081
10031
  async function getTag(httpClient, workspace_id, tag_id, signal) {
10082
10032
  return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
10083
10033
  }
@@ -10090,18 +10040,12 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
10090
10040
  async function deleteTag(httpClient, workspace_id, tag_id, signal) {
10091
10041
  return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
10092
10042
  }
10093
- async function archiveTag(httpClient, workspace_id, tag_id, signal) {
10094
- return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
10095
- }
10096
10043
  async function restoreTag(httpClient, workspace_id, tag_id, signal) {
10097
10044
  return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
10098
10045
  }
10099
- async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
10100
- return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
10101
- }
10102
10046
  //#endregion
10103
10047
  //#region ../focus-queries/dist/projects/requests.ts
10104
- 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) {
10048
+ async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
10105
10049
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
10106
10050
  signal,
10107
10051
  searchParams: buildSearchParams$2({
@@ -10123,7 +10067,6 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
10123
10067
  include_rates,
10124
10068
  include_rollover,
10125
10069
  include_idle_recurring_templates,
10126
- collapse_recurring,
10127
10070
  include_drafts,
10128
10071
  include_locked_private,
10129
10072
  start_date,
@@ -10354,7 +10297,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10354
10297
  }
10355
10298
  //#endregion
10356
10299
  //#region ../focus-queries/dist/tasks/requests.ts
10357
- 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) {
10300
+ 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) {
10358
10301
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10359
10302
  signal,
10360
10303
  searchParams: buildSearchParams$2({
@@ -10402,8 +10345,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10402
10345
  recurring_task_ids,
10403
10346
  client_id,
10404
10347
  include_rates,
10348
+ include_ghost_assignees,
10405
10349
  include_assignees,
10406
10350
  include_parent_matches,
10351
+ assignee_ghost_id,
10407
10352
  disable_aggregations,
10408
10353
  cf_filter
10409
10354
  })
@@ -10489,7 +10434,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
10489
10434
  })
10490
10435
  }).json();
10491
10436
  }
10492
- 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) {
10437
+ 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) {
10493
10438
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
10494
10439
  signal,
10495
10440
  searchParams: buildSearchParams$2({
@@ -10502,14 +10447,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10502
10447
  dates_overlap_end,
10503
10448
  recurring_task_ids,
10504
10449
  team_id,
10505
- assignee_team_id,
10506
10450
  assignee_user_id,
10507
10451
  tag_id,
10452
+ include_ghost_assignees,
10508
10453
  include_assignees
10509
10454
  })
10510
10455
  }).json();
10511
10456
  }
10512
- 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) {
10457
+ 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) {
10513
10458
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10514
10459
  signal,
10515
10460
  searchParams: buildSearchParams$2({
@@ -10553,15 +10498,20 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10553
10498
  recurring,
10554
10499
  recurring_task_ids,
10555
10500
  client_id,
10501
+ include_ghost_assignees,
10556
10502
  include_assignees,
10503
+ assignee_ghost_id,
10557
10504
  cf_filter
10558
10505
  })
10559
10506
  }).json();
10560
10507
  }
10561
- async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
10508
+ async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
10562
10509
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
10563
10510
  signal,
10564
- searchParams: buildSearchParams$2({ include_assignees })
10511
+ searchParams: buildSearchParams$2({
10512
+ include_ghost_assignees,
10513
+ include_assignees
10514
+ })
10565
10515
  }).json();
10566
10516
  }
10567
10517
  async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
@@ -10592,7 +10542,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
10592
10542
  searchParams: buildSearchParams$2({ from_recurring_task_id })
10593
10543
  }).json();
10594
10544
  }
10595
- 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) {
10545
+ 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) {
10596
10546
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
10597
10547
  signal,
10598
10548
  searchParams: buildSearchParams$2({
@@ -10605,11 +10555,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
10605
10555
  team_id,
10606
10556
  assignee_user_id,
10607
10557
  tag_id,
10558
+ include_ghost_assignees,
10608
10559
  include_assignees
10609
10560
  })
10610
10561
  }).json();
10611
10562
  }
10612
- 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) {
10563
+ 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) {
10613
10564
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
10614
10565
  signal,
10615
10566
  searchParams: buildSearchParams$2({
@@ -10622,6 +10573,7 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
10622
10573
  team_id,
10623
10574
  assignee_user_id,
10624
10575
  tag_id,
10576
+ include_ghost_assignees,
10625
10577
  include_assignees
10626
10578
  })
10627
10579
  }).json();
@@ -10821,12 +10773,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
10821
10773
  })
10822
10774
  }).json();
10823
10775
  }
10824
- async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
10825
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
10826
- signal,
10827
- json: data
10828
- }).json();
10829
- }
10830
10776
  async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
10831
10777
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
10832
10778
  signal,
@@ -14694,21 +14640,6 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
14694
14640
  }
14695
14641
  //#endregion
14696
14642
  //#region ../focus-queries/dist/audit-log/requests.ts
14697
- async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14698
- return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
14699
- signal,
14700
- searchParams: buildSearchParams$2({
14701
- workspace_id,
14702
- entity_type,
14703
- entity_id,
14704
- action,
14705
- user_id,
14706
- page_size,
14707
- page_number,
14708
- export: export_
14709
- })
14710
- }).json();
14711
- }
14712
14643
  async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14713
14644
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
14714
14645
  signal,
@@ -14867,22 +14798,33 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
14867
14798
  }
14868
14799
  //#endregion
14869
14800
  //#region ../focus-queries/dist/capacities/requests.ts
14870
- 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) {
14801
+ 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) {
14871
14802
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
14872
14803
  signal,
14873
14804
  searchParams: buildSearchParams$2({
14874
14805
  user_id,
14875
14806
  start_date,
14876
14807
  end_date,
14808
+ ghost_id,
14877
14809
  private: private_,
14878
14810
  task_source,
14879
14811
  unit,
14880
- include_drafts,
14881
- include_task_estimates
14812
+ include_drafts
14882
14813
  })
14883
14814
  }).json();
14884
14815
  }
14885
14816
  //#endregion
14817
+ //#region ../focus-queries/dist/capacity-settings/requests.ts
14818
+ async function getCapacitySettings(httpClient, workspace_id, signal) {
14819
+ return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
14820
+ }
14821
+ async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
14822
+ return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
14823
+ signal,
14824
+ json: data
14825
+ }).json();
14826
+ }
14827
+ //#endregion
14886
14828
  //#region ../focus-queries/dist/composite/requests.ts
14887
14829
  async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
14888
14830
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
@@ -14965,12 +14907,6 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
14965
14907
  async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
14966
14908
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
14967
14909
  }
14968
- async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
14969
- return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
14970
- signal,
14971
- json: data
14972
- }).json();
14973
- }
14974
14910
  //#endregion
14975
14911
  //#region ../focus-queries/dist/goals/requests.ts
14976
14912
  async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
@@ -15196,7 +15132,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
15196
15132
  }
15197
15133
  //#endregion
15198
15134
  //#region ../focus-queries/dist/project-groups/requests.ts
15199
- 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) {
15135
+ 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) {
15200
15136
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
15201
15137
  signal,
15202
15138
  searchParams: buildSearchParams$2({
@@ -15208,7 +15144,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
15208
15144
  include_group_totals,
15209
15145
  include_unassigned,
15210
15146
  archived,
15211
- completed,
15212
15147
  private: private_,
15213
15148
  name,
15214
15149
  client_id,
@@ -15220,7 +15155,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
15220
15155
  start_date,
15221
15156
  end_date,
15222
15157
  user_id,
15223
- only_me,
15224
15158
  include_drafts,
15225
15159
  cf_filter
15226
15160
  })
@@ -15336,14 +15270,10 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
15336
15270
  }
15337
15271
  //#endregion
15338
15272
  //#region ../focus-queries/dist/reports/requests.ts
15339
- async function getForecastAvailability(httpClient, workspace_id, signal) {
15340
- return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
15341
- }
15342
- async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
15273
+ async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
15343
15274
  return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
15344
15275
  signal,
15345
15276
  json: data,
15346
- headers: { "X-Toggl-Report-Export": xTogglReportExport },
15347
15277
  searchParams: buildSearchParams$2({
15348
15278
  response_format,
15349
15279
  include_dicts
@@ -15367,36 +15297,12 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
15367
15297
  json: data
15368
15298
  }).json();
15369
15299
  }
15370
- async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
15371
- return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
15372
- signal,
15373
- json: data
15374
- }).json();
15375
- }
15376
- async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
15300
+ async function getWorkloadReport(httpClient, workspace_id, data, signal) {
15377
15301
  return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
15378
- signal,
15379
- json: data,
15380
- headers: { "X-Toggl-Report-Export": xTogglReportExport }
15381
- }).json();
15382
- }
15383
- //#endregion
15384
- //#region ../focus-queries/dist/reportschedules/requests.ts
15385
- async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
15386
- return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
15387
- signal,
15388
- json: data
15389
- }).json();
15390
- }
15391
- async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
15392
- return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
15393
15302
  signal,
15394
15303
  json: data
15395
15304
  }).json();
15396
15305
  }
15397
- async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
15398
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
15399
- }
15400
15306
  //#endregion
15401
15307
  //#region ../focus-queries/dist/savedviews/requests.ts
15402
15308
  async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
@@ -15429,7 +15335,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
15429
15335
  }
15430
15336
  //#endregion
15431
15337
  //#region ../focus-queries/dist/search/requests.ts
15432
- 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) {
15338
+ 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) {
15433
15339
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
15434
15340
  signal,
15435
15341
  searchParams: buildSearchParams$2({
@@ -15441,56 +15347,11 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
15441
15347
  task_id,
15442
15348
  include_drafts,
15443
15349
  exclude_calendar_events,
15444
- group_by_tags,
15445
- only_me
15446
- })
15447
- }).json();
15448
- }
15449
- async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
15450
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
15451
- signal,
15452
- searchParams: buildSearchParams$2({
15453
- keyword,
15454
- per_group
15350
+ group_by_tags
15455
15351
  })
15456
15352
  }).json();
15457
15353
  }
15458
15354
  //#endregion
15459
- //#region ../focus-queries/dist/sharedreports/requests.ts
15460
- async function shareSavedView(httpClient, workspace_id, id, data, signal) {
15461
- return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
15462
- signal,
15463
- json: data
15464
- }).json();
15465
- }
15466
- async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
15467
- return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
15468
- }
15469
- async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
15470
- return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
15471
- signal,
15472
- json: data
15473
- }).json();
15474
- }
15475
- async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
15476
- return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
15477
- }
15478
- async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
15479
- return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
15480
- }
15481
- async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
15482
- return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
15483
- }
15484
- async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
15485
- return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
15486
- signal,
15487
- json: data
15488
- }).json();
15489
- }
15490
- async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
15491
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
15492
- }
15493
- //#endregion
15494
15355
  //#region ../focus-queries/dist/subscriptions/requests.ts
15495
15356
  async function getCurrentSubscription(httpClient, organization_id, signal) {
15496
15357
  return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
@@ -15546,77 +15407,7 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
15546
15407
  }
15547
15408
  //#endregion
15548
15409
  //#region ../focus-queries/dist/task-groups/requests.ts
15549
- 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) {
15550
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
15551
- signal,
15552
- searchParams: buildSearchParams$2({
15553
- project_id,
15554
- source,
15555
- priority,
15556
- status_id,
15557
- client_id,
15558
- assignee_user_id,
15559
- tag_id,
15560
- team_id,
15561
- user_tag_id,
15562
- group_id,
15563
- creator_id,
15564
- name,
15565
- start_date,
15566
- end_date,
15567
- start_date_from,
15568
- start_date_to,
15569
- end_date_from,
15570
- end_date_to,
15571
- private: private_,
15572
- exclude_empty,
15573
- include_unassigned,
15574
- include_unmaterialized,
15575
- collapse_recurring,
15576
- include_assignees,
15577
- min_days,
15578
- include_drafts,
15579
- cf_filter,
15580
- user_cf_filter
15581
- })
15582
- }).json();
15583
- }
15584
- 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) {
15585
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
15586
- signal,
15587
- searchParams: buildSearchParams$2({
15588
- team_id,
15589
- project_id,
15590
- source,
15591
- priority,
15592
- status_id,
15593
- client_id,
15594
- assignee_user_id,
15595
- tag_id,
15596
- user_tag_id,
15597
- group_id,
15598
- creator_id,
15599
- name,
15600
- start_date,
15601
- end_date,
15602
- start_date_from,
15603
- start_date_to,
15604
- end_date_from,
15605
- end_date_to,
15606
- private: private_,
15607
- exclude_empty,
15608
- include_unassigned,
15609
- include_unmaterialized,
15610
- collapse_recurring,
15611
- include_assignees,
15612
- min_days,
15613
- include_drafts,
15614
- cf_filter,
15615
- user_cf_filter
15616
- })
15617
- }).json();
15618
- }
15619
- 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) {
15410
+ 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) {
15620
15411
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
15621
15412
  signal,
15622
15413
  searchParams: buildSearchParams$2({
@@ -15640,14 +15431,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
15640
15431
  end_date_to,
15641
15432
  private: private_,
15642
15433
  exclude_empty,
15643
- include_unassigned,
15644
- include_unmaterialized,
15645
- collapse_recurring,
15434
+ include_ghosts,
15646
15435
  include_assignees,
15647
15436
  min_days,
15648
15437
  include_drafts,
15649
15438
  cf_filter,
15650
- user_cf_filter,
15651
15439
  page,
15652
15440
  per_page,
15653
15441
  order_by
@@ -15686,18 +15474,17 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
15686
15474
  }).json();
15687
15475
  }
15688
15476
  //#endregion
15689
- //#region ../focus-queries/dist/time-entry-groups/requests.ts
15690
- async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
15691
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
15477
+ //#region ../focus-queries/dist/time-log-suggestions/requests.ts
15478
+ async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
15479
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
15692
15480
  signal,
15693
- searchParams: buildSearchParams$2({
15694
- start_date,
15695
- end_date,
15696
- user_id,
15697
- page,
15698
- per_page,
15699
- order_by
15700
- })
15481
+ json: data
15482
+ }).json();
15483
+ }
15484
+ async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
15485
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
15486
+ signal,
15487
+ json: data
15701
15488
  }).json();
15702
15489
  }
15703
15490
  //#endregion
@@ -15739,6 +15526,43 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
15739
15526
  json: data
15740
15527
  }).json();
15741
15528
  }
15529
+ async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
15530
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
15531
+ signal,
15532
+ searchParams: buildSearchParams$2({
15533
+ ghost_ids,
15534
+ start_date,
15535
+ end_date
15536
+ })
15537
+ }).json();
15538
+ }
15539
+ async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
15540
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15541
+ signal,
15542
+ searchParams: buildSearchParams$2({
15543
+ from,
15544
+ to
15545
+ })
15546
+ }).json();
15547
+ }
15548
+ async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15549
+ return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15550
+ signal,
15551
+ json: data
15552
+ }).json();
15553
+ }
15554
+ async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15555
+ return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15556
+ signal,
15557
+ json: data
15558
+ }).json();
15559
+ }
15560
+ async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15561
+ return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15562
+ signal,
15563
+ json: data
15564
+ }).json();
15565
+ }
15742
15566
  //#endregion
15743
15567
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
15744
15568
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -15931,6 +15755,27 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
15931
15755
  json: data
15932
15756
  }).json();
15933
15757
  }
15758
+ async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
15759
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
15760
+ }
15761
+ async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15762
+ return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15763
+ signal,
15764
+ json: data
15765
+ }).json();
15766
+ }
15767
+ async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15768
+ return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15769
+ signal,
15770
+ json: data
15771
+ }).json();
15772
+ }
15773
+ async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15774
+ return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15775
+ signal,
15776
+ json: data
15777
+ }).json();
15778
+ }
15934
15779
  //#endregion
15935
15780
  //#region ../focus-queries/dist/workspace/requests.ts
15936
15781
  async function getWorkspaceContext(httpClient, workspace_id, signal) {
@@ -15947,9 +15792,6 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
15947
15792
  json: data
15948
15793
  }).json();
15949
15794
  }
15950
- async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
15951
- return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
15952
- }
15953
15795
  async function getUserPermissions(httpClient, workspace_id, signal) {
15954
15796
  return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
15955
15797
  }
@@ -15962,15 +15804,6 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
15962
15804
  json: data
15963
15805
  }).json();
15964
15806
  }
15965
- async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
15966
- return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
15967
- }
15968
- async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
15969
- return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
15970
- signal,
15971
- json: data
15972
- }).json();
15973
- }
15974
15807
  //#endregion
15975
15808
  //#region ../operations/build/index.public.js
15976
15809
  function callGeneratedRequest(request, args) {
@@ -16106,17 +15939,17 @@ const generatedFocusOperations = [
16106
15939
  ]))
16107
15940
  },
16108
15941
  {
16109
- id: "focus.audit-log.get-organization",
15942
+ id: "focus.audit-log.list",
16110
15943
  family: "focus",
16111
15944
  resource: "audit-log",
16112
- action: "get-organization",
16113
- title: "Get Organization Audit Log",
16114
- description: "Get Organization Audit Log.",
15945
+ action: "list",
15946
+ title: "List Audit Log",
15947
+ description: "List Audit Log.",
16115
15948
  safety: "read",
16116
15949
  destructive: false,
16117
15950
  cli: {
16118
15951
  group: ["audit-log"],
16119
- command: "get-organization",
15952
+ command: "list",
16120
15953
  interactive: "hidden"
16121
15954
  },
16122
15955
  mcp: { entityTool: "audit-log" },
@@ -16130,14 +15963,14 @@ const generatedFocusOperations = [
16130
15963
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16131
15964
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16132
15965
  to: /* @__PURE__ */ string$1(),
16133
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16134
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
15966
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16135
15967
  }),
16136
15968
  execute: (input, { client }) => {
16137
15969
  const data = input;
16138
- return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
15970
+ return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
16139
15971
  client.httpClient,
16140
15972
  client.organizationId,
15973
+ client.workspaceIdNumber,
16141
15974
  data.from,
16142
15975
  data.to,
16143
15976
  data,
@@ -16146,79 +15979,87 @@ const generatedFocusOperations = [
16146
15979
  }
16147
15980
  },
16148
15981
  {
16149
- id: "focus.audit-log.list",
15982
+ id: "focus.capacities.get-computations",
16150
15983
  family: "focus",
16151
- resource: "audit-log",
16152
- action: "list",
16153
- title: "List Audit Log",
16154
- description: "List Audit Log.",
15984
+ resource: "capacities",
15985
+ action: "get-computations",
15986
+ title: "Get Computations Capacities",
15987
+ description: "Get Computations Capacities.",
16155
15988
  safety: "read",
16156
15989
  destructive: false,
16157
15990
  cli: {
16158
- group: ["audit-log"],
16159
- command: "list",
15991
+ group: ["capacities"],
15992
+ command: "get-computations",
16160
15993
  interactive: "hidden"
16161
15994
  },
16162
- mcp: { entityTool: "audit-log" },
15995
+ mcp: { entityTool: "capacities" },
16163
15996
  inputSchema: /* @__PURE__ */ looseObject({
16164
- action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16165
- entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16166
- entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16167
- export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16168
- export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16169
- from: /* @__PURE__ */ string$1(),
16170
- page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16171
- page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16172
- to: /* @__PURE__ */ string$1(),
16173
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
15997
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
15998
+ ghost_id: /* @__PURE__ */ number$2(),
15999
+ group: /* @__PURE__ */ picklist$1(["users"]),
16000
+ include_drafts: /* @__PURE__ */ unknown$1(),
16001
+ private_: /* @__PURE__ */ unknown$1(),
16002
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16003
+ task_source: /* @__PURE__ */ unknown$1(),
16004
+ unit: /* @__PURE__ */ unknown$1(),
16005
+ user_id: /* @__PURE__ */ number$2()
16174
16006
  }),
16175
16007
  execute: (input, { client }) => {
16176
16008
  const data = input;
16177
- return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
16009
+ return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
16178
16010
  client.httpClient,
16179
16011
  client.organizationId,
16180
16012
  client.workspaceIdNumber,
16181
- data.from,
16182
- data.to,
16013
+ data.group,
16183
16014
  data,
16184
16015
  void 0
16185
16016
  ]));
16186
16017
  }
16187
16018
  },
16188
16019
  {
16189
- id: "focus.capacities.get-computations",
16020
+ id: "focus.capacities.settings-list",
16190
16021
  family: "focus",
16191
16022
  resource: "capacities",
16192
- action: "get-computations",
16193
- title: "Get Computations Capacities",
16194
- description: "Get Computations Capacities.",
16023
+ action: "settings-list",
16024
+ title: "Settings List Capacities",
16025
+ description: "Settings List Capacities.",
16195
16026
  safety: "read",
16196
16027
  destructive: false,
16197
16028
  cli: {
16198
- group: ["capacities"],
16199
- command: "get-computations",
16029
+ group: ["capacities", "settings"],
16030
+ command: "list",
16200
16031
  interactive: "hidden"
16201
16032
  },
16202
16033
  mcp: { entityTool: "capacities" },
16203
- inputSchema: /* @__PURE__ */ looseObject({
16204
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16205
- group: /* @__PURE__ */ picklist$1(["users"]),
16206
- include_drafts: /* @__PURE__ */ unknown$1(),
16207
- include_task_estimates: /* @__PURE__ */ unknown$1(),
16208
- private_: /* @__PURE__ */ unknown$1(),
16209
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16210
- task_source: /* @__PURE__ */ unknown$1(),
16211
- unit: /* @__PURE__ */ unknown$1(),
16212
- user_id: /* @__PURE__ */ number$2()
16213
- }),
16034
+ inputSchema: /* @__PURE__ */ looseObject({}),
16035
+ execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
16036
+ client.httpClient,
16037
+ client.workspaceIdNumber,
16038
+ void 0
16039
+ ]))
16040
+ },
16041
+ {
16042
+ id: "focus.capacities.settings-update",
16043
+ family: "focus",
16044
+ resource: "capacities",
16045
+ action: "settings-update",
16046
+ title: "Settings Update Capacities",
16047
+ description: "Settings Update Capacities.",
16048
+ safety: "update",
16049
+ destructive: false,
16050
+ cli: {
16051
+ group: ["capacities", "settings"],
16052
+ command: "update",
16053
+ interactive: "default"
16054
+ },
16055
+ mcp: { entityTool: "capacities" },
16056
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
16214
16057
  execute: (input, { client }) => {
16215
16058
  const data = input;
16216
- return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
16059
+ return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
16217
16060
  client.httpClient,
16218
- client.organizationId,
16219
16061
  client.workspaceIdNumber,
16220
- data.group,
16221
- data,
16062
+ data.payload ?? data.data ?? data,
16222
16063
  void 0
16223
16064
  ]));
16224
16065
  }
@@ -16417,7 +16258,8 @@ const generatedFocusOperations = [
16417
16258
  hourly_rate: /* @__PURE__ */ number$2(),
16418
16259
  start_at: apiDateTimeString,
16419
16260
  end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
16420
- })))
16261
+ }))),
16262
+ resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16421
16263
  }) }),
16422
16264
  execute: (input, { client }) => {
16423
16265
  const data = input;
@@ -16472,7 +16314,6 @@ const generatedFocusOperations = [
16472
16314
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16473
16315
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16474
16316
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16475
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16476
16317
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16477
16318
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16478
16319
  }),
@@ -16505,7 +16346,6 @@ const generatedFocusOperations = [
16505
16346
  priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
16506
16347
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16507
16348
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16508
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16509
16349
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16510
16350
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16511
16351
  }))),
@@ -16561,11 +16401,7 @@ const generatedFocusOperations = [
16561
16401
  },
16562
16402
  mcp: { entityTool: "custom-fields" },
16563
16403
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16564
- entity_type: /* @__PURE__ */ picklist$1([
16565
- "project",
16566
- "task",
16567
- "user"
16568
- ]),
16404
+ entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
16569
16405
  field_type: /* @__PURE__ */ picklist$1([
16570
16406
  "select",
16571
16407
  "multi_select",
@@ -16898,11 +16734,7 @@ const generatedFocusOperations = [
16898
16734
  },
16899
16735
  mcp: { entityTool: "custom-fields" },
16900
16736
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16901
- entity_type: /* @__PURE__ */ picklist$1([
16902
- "project",
16903
- "task",
16904
- "user"
16905
- ]),
16737
+ entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
16906
16738
  ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
16907
16739
  }) }),
16908
16740
  execute: (input, { client }) => {
@@ -16916,37 +16748,6 @@ const generatedFocusOperations = [
16916
16748
  ]));
16917
16749
  }
16918
16750
  },
16919
- {
16920
- id: "focus.custom-fields.update-user-custom-field-values",
16921
- family: "focus",
16922
- resource: "custom-fields",
16923
- action: "update-user-custom-field-values",
16924
- title: "Update User Custom Field Values Custom Fields",
16925
- description: "Update User Custom Field Values Custom Fields.",
16926
- safety: "update",
16927
- destructive: false,
16928
- cli: {
16929
- group: ["custom-fields"],
16930
- command: "update-user-custom-field-values",
16931
- interactive: "hidden"
16932
- },
16933
- mcp: { entityTool: "custom-fields" },
16934
- inputSchema: /* @__PURE__ */ looseObject({
16935
- payload: /* @__PURE__ */ unknown$1(),
16936
- user_id: /* @__PURE__ */ number$2()
16937
- }),
16938
- execute: (input, { client }) => {
16939
- const data = input;
16940
- return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
16941
- client.httpClient,
16942
- client.organizationId,
16943
- client.workspaceIdNumber,
16944
- data.user_id,
16945
- data.payload ?? data.data ?? data,
16946
- void 0
16947
- ]));
16948
- }
16949
- },
16950
16751
  {
16951
16752
  id: "focus.goals.create",
16952
16753
  family: "focus",
@@ -17166,22 +16967,10 @@ const generatedFocusOperations = [
17166
16967
  goal_id: /* @__PURE__ */ number$2(),
17167
16968
  payload: /* @__PURE__ */ looseObject({
17168
16969
  active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17169
- client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17170
16970
  comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17171
16971
  icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17172
16972
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17173
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17174
- recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
17175
- "daily",
17176
- "weekly",
17177
- "daily_workdays",
17178
- "monthly"
17179
- ])),
17180
- start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17181
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17182
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
17183
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17184
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16973
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
17185
16974
  })
17186
16975
  }),
17187
16976
  execute: (input, { client }) => {
@@ -18514,7 +18303,6 @@ const generatedFocusOperations = [
18514
18303
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18515
18304
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18516
18305
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18517
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18518
18306
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18519
18307
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
18520
18308
  group: /* @__PURE__ */ string$1(),
@@ -18522,7 +18310,6 @@ const generatedFocusOperations = [
18522
18310
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18523
18311
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18524
18312
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18525
- only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18526
18313
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18527
18314
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18528
18315
  parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -20707,10 +20494,7 @@ const generatedFocusOperations = [
20707
20494
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20708
20495
  name: /* @__PURE__ */ string$1(),
20709
20496
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
20710
- })),
20711
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
20712
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20713
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
20497
+ }))
20714
20498
  }),
20715
20499
  response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
20716
20500
  }),
@@ -20751,28 +20535,6 @@ const generatedFocusOperations = [
20751
20535
  ]));
20752
20536
  }
20753
20537
  },
20754
- {
20755
- id: "focus.reports.get-forecast-availability",
20756
- family: "focus",
20757
- resource: "reports",
20758
- action: "get-forecast-availability",
20759
- title: "Get Forecast Availability Reports",
20760
- description: "Get Forecast Availability Reports.",
20761
- safety: "read",
20762
- destructive: false,
20763
- cli: {
20764
- group: ["reports"],
20765
- command: "get-forecast-availability",
20766
- interactive: "hidden"
20767
- },
20768
- mcp: { entityTool: "reports" },
20769
- inputSchema: /* @__PURE__ */ looseObject({}),
20770
- execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
20771
- client.httpClient,
20772
- client.workspaceIdNumber,
20773
- void 0
20774
- ]))
20775
- },
20776
20538
  {
20777
20539
  id: "focus.reports.get-profitability",
20778
20540
  family: "focus",
@@ -20832,17 +20594,9 @@ const generatedFocusOperations = [
20832
20594
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20833
20595
  name: /* @__PURE__ */ string$1(),
20834
20596
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
20835
- })),
20836
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
20837
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20838
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
20597
+ }))
20839
20598
  }),
20840
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
20841
- xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
20842
- "csv",
20843
- "xlsx",
20844
- "pdf"
20845
- ]))
20599
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
20846
20600
  }),
20847
20601
  execute: (input, { client }) => {
20848
20602
  const data = input;
@@ -20852,23 +20606,22 @@ const generatedFocusOperations = [
20852
20606
  data.payload ?? data.data ?? data,
20853
20607
  data.response_format,
20854
20608
  data.include_dicts,
20855
- data.xTogglReportExport,
20856
20609
  void 0
20857
20610
  ]));
20858
20611
  }
20859
20612
  },
20860
20613
  {
20861
- id: "focus.reports.get-time-accounting",
20614
+ id: "focus.reports.get-workload",
20862
20615
  family: "focus",
20863
20616
  resource: "reports",
20864
- action: "get-time-accounting",
20865
- title: "Get Time Accounting Reports",
20866
- description: "Get Time Accounting Reports.",
20617
+ action: "get-workload",
20618
+ title: "Get Workload Reports",
20619
+ description: "Get Workload Reports.",
20867
20620
  safety: "update",
20868
20621
  destructive: false,
20869
20622
  cli: {
20870
20623
  group: ["reports"],
20871
- command: "get-time-accounting",
20624
+ command: "get-workload",
20872
20625
  interactive: "hidden"
20873
20626
  },
20874
20627
  mcp: { entityTool: "reports" },
@@ -20914,205 +20667,14 @@ const generatedFocusOperations = [
20914
20667
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20915
20668
  name: /* @__PURE__ */ string$1(),
20916
20669
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
20917
- })),
20918
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
20919
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20920
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
20670
+ }))
20921
20671
  }) }),
20922
- execute: (input, { client }) => {
20923
- const data = input;
20924
- return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
20925
- client.httpClient,
20926
- client.workspaceIdNumber,
20927
- data.payload ?? data.data ?? data,
20928
- void 0
20929
- ]));
20930
- }
20931
- },
20932
- {
20933
- id: "focus.reports.get-workload",
20934
- family: "focus",
20935
- resource: "reports",
20936
- action: "get-workload",
20937
- title: "Get Workload Reports",
20938
- description: "Get Workload Reports.",
20939
- safety: "update",
20940
- destructive: false,
20941
- cli: {
20942
- group: ["reports"],
20943
- command: "get-workload",
20944
- interactive: "hidden"
20945
- },
20946
- mcp: { entityTool: "reports" },
20947
- inputSchema: /* @__PURE__ */ looseObject({
20948
- payload: /* @__PURE__ */ looseObject({
20949
- aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20950
- aggregation: /* @__PURE__ */ looseObject({
20951
- function: /* @__PURE__ */ string$1(),
20952
- property: /* @__PURE__ */ string$1()
20953
- }),
20954
- operator: /* @__PURE__ */ string$1(),
20955
- property: /* @__PURE__ */ string$1()
20956
- })),
20957
- aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20958
- function: /* @__PURE__ */ string$1(),
20959
- property: /* @__PURE__ */ string$1()
20960
- })),
20961
- attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
20962
- currency: /* @__PURE__ */ string$1(),
20963
- filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20964
- conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
20965
- operator: /* @__PURE__ */ string$1(),
20966
- property: /* @__PURE__ */ string$1()
20967
- })),
20968
- groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20969
- property: /* @__PURE__ */ string$1(),
20970
- show_empty: /* @__PURE__ */ boolean$1()
20971
- })),
20972
- limit: /* @__PURE__ */ number$2(),
20973
- ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20974
- direction: /* @__PURE__ */ string$1(),
20975
- nulls: /* @__PURE__ */ string$1(),
20976
- property: /* @__PURE__ */ string$1()
20977
- })),
20978
- pagination: /* @__PURE__ */ looseObject({
20979
- page: /* @__PURE__ */ number$2(),
20980
- per_page: /* @__PURE__ */ number$2()
20981
- }),
20982
- period: /* @__PURE__ */ looseObject({
20983
- from: /* @__PURE__ */ string$1(),
20984
- preset: /* @__PURE__ */ string$1(),
20985
- to: /* @__PURE__ */ string$1()
20986
- }),
20987
- transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20988
- name: /* @__PURE__ */ string$1(),
20989
- parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
20990
- })),
20991
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
20992
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20993
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
20994
- }),
20995
- xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
20996
- "csv",
20997
- "xlsx",
20998
- "pdf"
20999
- ]))
21000
- }),
21001
20672
  execute: (input, { client }) => {
21002
20673
  const data = input;
21003
20674
  return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
21004
20675
  client.httpClient,
21005
20676
  client.workspaceIdNumber,
21006
20677
  data.payload ?? data.data ?? data,
21007
- data.xTogglReportExport,
21008
- void 0
21009
- ]));
21010
- }
21011
- },
21012
- {
21013
- id: "focus.reportschedules.delete-shared-report-schedule",
21014
- family: "focus",
21015
- resource: "reportschedules",
21016
- action: "delete-shared-report-schedule",
21017
- title: "Delete Shared Report Schedule Reportschedules",
21018
- description: "Delete Shared Report Schedule Reportschedules.",
21019
- safety: "delete",
21020
- destructive: true,
21021
- cli: {
21022
- group: ["reportschedules"],
21023
- command: "delete-shared-report-schedule",
21024
- interactive: "default"
21025
- },
21026
- mcp: { entityTool: "reportschedules" },
21027
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21028
- execute: (input, { client }) => {
21029
- const data = input;
21030
- return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
21031
- client.httpClient,
21032
- client.workspaceIdNumber,
21033
- data.id,
21034
- void 0
21035
- ]));
21036
- }
21037
- },
21038
- {
21039
- id: "focus.reportschedules.upsert-saved-view-schedule",
21040
- family: "focus",
21041
- resource: "reportschedules",
21042
- action: "upsert-saved-view-schedule",
21043
- title: "Upsert Saved View Schedule Reportschedules",
21044
- description: "Upsert Saved View Schedule Reportschedules.",
21045
- safety: "update",
21046
- destructive: false,
21047
- cli: {
21048
- group: ["reportschedules"],
21049
- command: "upsert-saved-view-schedule",
21050
- interactive: "default"
21051
- },
21052
- mcp: { entityTool: "reportschedules" },
21053
- inputSchema: /* @__PURE__ */ looseObject({
21054
- id: /* @__PURE__ */ number$2(),
21055
- payload: /* @__PURE__ */ looseObject({
21056
- cadence: /* @__PURE__ */ picklist$1([
21057
- "daily",
21058
- "weekly",
21059
- "monthly"
21060
- ]),
21061
- time: /* @__PURE__ */ string$1(),
21062
- day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21063
- recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21064
- recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21065
- recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
21066
- })
21067
- }),
21068
- execute: (input, { client }) => {
21069
- const data = input;
21070
- return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
21071
- client.httpClient,
21072
- client.workspaceIdNumber,
21073
- data.id,
21074
- data.payload ?? data.data ?? data,
21075
- void 0
21076
- ]));
21077
- }
21078
- },
21079
- {
21080
- id: "focus.reportschedules.upsert-shared-report-schedule",
21081
- family: "focus",
21082
- resource: "reportschedules",
21083
- action: "upsert-shared-report-schedule",
21084
- title: "Upsert Shared Report Schedule Reportschedules",
21085
- description: "Upsert Shared Report Schedule Reportschedules.",
21086
- safety: "update",
21087
- destructive: false,
21088
- cli: {
21089
- group: ["reportschedules"],
21090
- command: "upsert-shared-report-schedule",
21091
- interactive: "default"
21092
- },
21093
- mcp: { entityTool: "reportschedules" },
21094
- inputSchema: /* @__PURE__ */ looseObject({
21095
- id: /* @__PURE__ */ number$2(),
21096
- payload: /* @__PURE__ */ looseObject({
21097
- cadence: /* @__PURE__ */ picklist$1([
21098
- "daily",
21099
- "weekly",
21100
- "monthly"
21101
- ]),
21102
- time: /* @__PURE__ */ string$1(),
21103
- day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21104
- recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21105
- recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
21106
- recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
21107
- })
21108
- }),
21109
- execute: (input, { client }) => {
21110
- const data = input;
21111
- return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
21112
- client.httpClient,
21113
- client.workspaceIdNumber,
21114
- data.id,
21115
- data.payload ?? data.data ?? data,
21116
20678
  void 0
21117
20679
  ]));
21118
20680
  }
@@ -21150,9 +20712,7 @@ const generatedFocusOperations = [
21150
20712
  "reports.detailed",
21151
20713
  "reports.utilization",
21152
20714
  "reports.workload",
21153
- "reports.profitability",
21154
- "reports.time-off",
21155
- "reports.time-accounting"
20715
+ "reports.profitability"
21156
20716
  ]),
21157
20717
  icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
21158
20718
  }) }),
@@ -21276,37 +20836,7 @@ const generatedFocusOperations = [
21276
20836
  }
21277
20837
  },
21278
20838
  {
21279
- id: "focus.search.mentions",
21280
- family: "focus",
21281
- resource: "search",
21282
- action: "mentions",
21283
- title: "Mentions Search",
21284
- description: "Mentions Search.",
21285
- safety: "read",
21286
- destructive: false,
21287
- cli: {
21288
- group: ["search"],
21289
- command: "mentions",
21290
- interactive: "hidden"
21291
- },
21292
- mcp: { entityTool: "search" },
21293
- inputSchema: /* @__PURE__ */ looseObject({
21294
- keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21295
- per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21296
- }),
21297
- execute: (input, { client }) => {
21298
- const data = input;
21299
- return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
21300
- client.httpClient,
21301
- client.organizationId,
21302
- client.workspaceIdNumber,
21303
- data,
21304
- void 0
21305
- ]));
21306
- }
21307
- },
21308
- {
21309
- id: "focus.search.search",
20839
+ id: "focus.search.search",
21310
20840
  family: "focus",
21311
20841
  resource: "search",
21312
20842
  action: "search",
@@ -21332,240 +20862,6 @@ const generatedFocusOperations = [
21332
20862
  ]));
21333
20863
  }
21334
20864
  },
21335
- {
21336
- id: "focus.sharedreports.add-shared-report-grants",
21337
- family: "focus",
21338
- resource: "sharedreports",
21339
- action: "add-shared-report-grants",
21340
- title: "Add Shared Report Grants Sharedreports",
21341
- description: "Add Shared Report Grants Sharedreports.",
21342
- safety: "update",
21343
- destructive: false,
21344
- cli: {
21345
- group: ["sharedreports"],
21346
- command: "add-shared-report-grants",
21347
- interactive: "default"
21348
- },
21349
- mcp: { entityTool: "sharedreports" },
21350
- inputSchema: /* @__PURE__ */ looseObject({
21351
- id: /* @__PURE__ */ number$2(),
21352
- payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21353
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21354
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21355
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21356
- })) })
21357
- }),
21358
- execute: (input, { client }) => {
21359
- const data = input;
21360
- return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
21361
- client.httpClient,
21362
- client.workspaceIdNumber,
21363
- data.id,
21364
- data.payload ?? data.data ?? data,
21365
- void 0
21366
- ]));
21367
- }
21368
- },
21369
- {
21370
- id: "focus.sharedreports.get-saved-view-shared-report",
21371
- family: "focus",
21372
- resource: "sharedreports",
21373
- action: "get-saved-view-shared-report",
21374
- title: "Get Saved View Shared Report Sharedreports",
21375
- description: "Get Saved View Shared Report Sharedreports.",
21376
- safety: "read",
21377
- destructive: false,
21378
- cli: {
21379
- group: ["sharedreports"],
21380
- command: "get-saved-view-shared-report",
21381
- interactive: "available"
21382
- },
21383
- mcp: { entityTool: "sharedreports" },
21384
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21385
- execute: (input, { client }) => {
21386
- const data = input;
21387
- return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
21388
- client.httpClient,
21389
- client.workspaceIdNumber,
21390
- data.id,
21391
- void 0
21392
- ]));
21393
- }
21394
- },
21395
- {
21396
- id: "focus.sharedreports.get-shared-report-for-viewer",
21397
- family: "focus",
21398
- resource: "sharedreports",
21399
- action: "get-shared-report-for-viewer",
21400
- title: "Get Shared Report For Viewer Sharedreports",
21401
- description: "Get Shared Report For Viewer Sharedreports.",
21402
- safety: "read",
21403
- destructive: false,
21404
- cli: {
21405
- group: ["sharedreports"],
21406
- command: "get-shared-report-for-viewer",
21407
- interactive: "available"
21408
- },
21409
- mcp: { entityTool: "sharedreports" },
21410
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21411
- execute: (input, { client }) => {
21412
- const data = input;
21413
- return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
21414
- client.httpClient,
21415
- client.workspaceIdNumber,
21416
- data.id,
21417
- void 0
21418
- ]));
21419
- }
21420
- },
21421
- {
21422
- id: "focus.sharedreports.get-shared-reports-shared-by-me",
21423
- family: "focus",
21424
- resource: "sharedreports",
21425
- action: "get-shared-reports-shared-by-me",
21426
- title: "Get Shared Reports Shared By Me Sharedreports",
21427
- description: "Get Shared Reports Shared By Me Sharedreports.",
21428
- safety: "read",
21429
- destructive: false,
21430
- cli: {
21431
- group: ["sharedreports"],
21432
- command: "get-shared-reports-shared-by-me",
21433
- interactive: "hidden"
21434
- },
21435
- mcp: { entityTool: "sharedreports" },
21436
- inputSchema: /* @__PURE__ */ looseObject({}),
21437
- execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
21438
- client.httpClient,
21439
- client.workspaceIdNumber,
21440
- void 0
21441
- ]))
21442
- },
21443
- {
21444
- id: "focus.sharedreports.get-shared-reports-shared-with-me",
21445
- family: "focus",
21446
- resource: "sharedreports",
21447
- action: "get-shared-reports-shared-with-me",
21448
- title: "Get Shared Reports Shared With Me Sharedreports",
21449
- description: "Get Shared Reports Shared With Me Sharedreports.",
21450
- safety: "read",
21451
- destructive: false,
21452
- cli: {
21453
- group: ["sharedreports"],
21454
- command: "get-shared-reports-shared-with-me",
21455
- interactive: "hidden"
21456
- },
21457
- mcp: { entityTool: "sharedreports" },
21458
- inputSchema: /* @__PURE__ */ looseObject({}),
21459
- execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
21460
- client.httpClient,
21461
- client.workspaceIdNumber,
21462
- void 0
21463
- ]))
21464
- },
21465
- {
21466
- id: "focus.sharedreports.revoke-shared-report-grant",
21467
- family: "focus",
21468
- resource: "sharedreports",
21469
- action: "revoke-shared-report-grant",
21470
- title: "Revoke Shared Report Grant Sharedreports",
21471
- description: "Revoke Shared Report Grant Sharedreports.",
21472
- safety: "delete",
21473
- destructive: true,
21474
- cli: {
21475
- group: ["sharedreports"],
21476
- command: "revoke-shared-report-grant",
21477
- interactive: "default"
21478
- },
21479
- mcp: { entityTool: "sharedreports" },
21480
- inputSchema: /* @__PURE__ */ looseObject({
21481
- grant_id: /* @__PURE__ */ number$2(),
21482
- id: /* @__PURE__ */ number$2()
21483
- }),
21484
- execute: (input, { client }) => {
21485
- const data = input;
21486
- return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
21487
- client.httpClient,
21488
- client.workspaceIdNumber,
21489
- data.id,
21490
- data.grant_id,
21491
- void 0
21492
- ]));
21493
- }
21494
- },
21495
- {
21496
- id: "focus.sharedreports.share-saved-view",
21497
- family: "focus",
21498
- resource: "sharedreports",
21499
- action: "share-saved-view",
21500
- title: "Share Saved View Sharedreports",
21501
- description: "Share Saved View Sharedreports.",
21502
- safety: "update",
21503
- destructive: false,
21504
- cli: {
21505
- group: ["sharedreports"],
21506
- command: "share-saved-view",
21507
- interactive: "hidden"
21508
- },
21509
- mcp: { entityTool: "sharedreports" },
21510
- inputSchema: /* @__PURE__ */ looseObject({
21511
- id: /* @__PURE__ */ number$2(),
21512
- payload: /* @__PURE__ */ looseObject({
21513
- charts: /* @__PURE__ */ unknown$1(),
21514
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21515
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21516
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21517
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21518
- })
21519
- }),
21520
- execute: (input, { client }) => {
21521
- const data = input;
21522
- return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
21523
- client.httpClient,
21524
- client.workspaceIdNumber,
21525
- data.id,
21526
- data.payload ?? data.data ?? data,
21527
- void 0
21528
- ]));
21529
- }
21530
- },
21531
- {
21532
- id: "focus.sharedreports.share-saved-view-many",
21533
- family: "focus",
21534
- resource: "sharedreports",
21535
- action: "share-saved-view-many",
21536
- title: "Share Saved View Many Sharedreports",
21537
- description: "Share Saved View Many Sharedreports.",
21538
- safety: "update",
21539
- destructive: false,
21540
- cli: {
21541
- group: ["sharedreports"],
21542
- command: "share-saved-view-many",
21543
- interactive: "hidden"
21544
- },
21545
- mcp: { entityTool: "sharedreports" },
21546
- inputSchema: /* @__PURE__ */ looseObject({
21547
- id: /* @__PURE__ */ number$2(),
21548
- payload: /* @__PURE__ */ looseObject({
21549
- charts: /* @__PURE__ */ unknown$1(),
21550
- grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21551
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21552
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21553
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21554
- })),
21555
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21556
- })
21557
- }),
21558
- execute: (input, { client }) => {
21559
- const data = input;
21560
- return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
21561
- client.httpClient,
21562
- client.workspaceIdNumber,
21563
- data.id,
21564
- data.payload ?? data.data ?? data,
21565
- void 0
21566
- ]));
21567
- }
21568
- },
21569
20865
  {
21570
20866
  id: "focus.statuses.create-status",
21571
20867
  family: "focus",
@@ -21822,181 +21118,22 @@ const generatedFocusOperations = [
21822
21118
  family: "focus",
21823
21119
  resource: "subscriptions",
21824
21120
  action: "upsert-forced-trial",
21825
- title: "Upsert Forced Trial Subscriptions",
21826
- description: "Upsert Forced Trial Subscriptions.",
21827
- safety: "update",
21828
- destructive: false,
21829
- cli: {
21830
- group: ["subscriptions"],
21831
- command: "upsert-forced-trial",
21832
- interactive: "default"
21833
- },
21834
- mcp: { entityTool: "subscriptions" },
21835
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
21836
- execute: (input, { client }) => {
21837
- const data = input;
21838
- return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
21839
- client.httpClient,
21840
- client.organizationId,
21841
- client.workspaceIdNumber,
21842
- data.payload ?? data.data ?? data,
21843
- void 0
21844
- ]));
21845
- }
21846
- },
21847
- {
21848
- id: "focus.tags.archive",
21849
- family: "focus",
21850
- resource: "tags",
21851
- action: "archive",
21852
- title: "Archive Tags",
21853
- description: "Archive Tags.",
21854
- safety: "update",
21855
- destructive: false,
21856
- cli: {
21857
- group: ["tags"],
21858
- command: "archive",
21859
- interactive: "default"
21860
- },
21861
- mcp: { entityTool: "tags" },
21862
- inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
21863
- execute: (input, { client }) => {
21864
- const data = input;
21865
- return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
21866
- client.httpClient,
21867
- client.workspaceIdNumber,
21868
- data.tag_id,
21869
- void 0
21870
- ]));
21871
- }
21872
- },
21873
- {
21874
- id: "focus.tags.bulk-archive",
21875
- family: "focus",
21876
- resource: "tags",
21877
- action: "bulk-archive",
21878
- title: "Bulk Archive Tags",
21879
- description: "Bulk Archive Tags.",
21880
- safety: "update",
21881
- destructive: false,
21882
- cli: {
21883
- group: ["tags", "bulk"],
21884
- command: "archive",
21885
- interactive: "default"
21886
- },
21887
- mcp: { entityTool: "tags" },
21888
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
21889
- execute: (input, { client }) => {
21890
- const data = input;
21891
- return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
21892
- client.httpClient,
21893
- client.workspaceIdNumber,
21894
- data.payload ?? data.data ?? data,
21895
- void 0
21896
- ]));
21897
- }
21898
- },
21899
- {
21900
- id: "focus.tags.bulk-create",
21901
- family: "focus",
21902
- resource: "tags",
21903
- action: "bulk-create",
21904
- title: "Bulk Create Tags",
21905
- description: "Bulk Create Tags.",
21906
- safety: "create",
21907
- destructive: false,
21908
- cli: {
21909
- group: ["tags", "bulk"],
21910
- command: "create",
21911
- interactive: "default"
21912
- },
21913
- mcp: { entityTool: "tags" },
21914
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21915
- color: /* @__PURE__ */ string$1(),
21916
- name: /* @__PURE__ */ string$1()
21917
- })) }) }),
21918
- execute: (input, { client }) => {
21919
- const data = input;
21920
- return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
21921
- client.httpClient,
21922
- client.workspaceIdNumber,
21923
- data.payload ?? data.data ?? data,
21924
- void 0
21925
- ]));
21926
- }
21927
- },
21928
- {
21929
- id: "focus.tags.bulk-delete",
21930
- family: "focus",
21931
- resource: "tags",
21932
- action: "bulk-delete",
21933
- title: "Bulk Delete Tags",
21934
- description: "Bulk Delete Tags.",
21935
- safety: "delete",
21936
- destructive: true,
21937
- cli: {
21938
- group: ["tags", "bulk"],
21939
- command: "delete",
21940
- interactive: "default"
21941
- },
21942
- mcp: { entityTool: "tags" },
21943
- inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
21944
- execute: (input, { client }) => {
21945
- const data = input;
21946
- return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
21947
- client.httpClient,
21948
- client.workspaceIdNumber,
21949
- data.ids,
21950
- void 0
21951
- ]));
21952
- }
21953
- },
21954
- {
21955
- id: "focus.tags.bulk-restore",
21956
- family: "focus",
21957
- resource: "tags",
21958
- action: "bulk-restore",
21959
- title: "Bulk Restore Tags",
21960
- description: "Bulk Restore Tags.",
21961
- safety: "update",
21962
- destructive: false,
21963
- cli: {
21964
- group: ["tags", "bulk"],
21965
- command: "restore",
21966
- interactive: "default"
21967
- },
21968
- mcp: { entityTool: "tags" },
21969
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
21970
- execute: (input, { client }) => {
21971
- const data = input;
21972
- return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
21973
- client.httpClient,
21974
- client.workspaceIdNumber,
21975
- data.payload ?? data.data ?? data,
21976
- void 0
21977
- ]));
21978
- }
21979
- },
21980
- {
21981
- id: "focus.tags.bulk-unarchive",
21982
- family: "focus",
21983
- resource: "tags",
21984
- action: "bulk-unarchive",
21985
- title: "Bulk Unarchive Tags",
21986
- description: "Bulk Unarchive Tags.",
21121
+ title: "Upsert Forced Trial Subscriptions",
21122
+ description: "Upsert Forced Trial Subscriptions.",
21987
21123
  safety: "update",
21988
21124
  destructive: false,
21989
21125
  cli: {
21990
- group: ["tags", "bulk"],
21991
- command: "unarchive",
21126
+ group: ["subscriptions"],
21127
+ command: "upsert-forced-trial",
21992
21128
  interactive: "default"
21993
21129
  },
21994
- mcp: { entityTool: "tags" },
21995
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
21130
+ mcp: { entityTool: "subscriptions" },
21131
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
21996
21132
  execute: (input, { client }) => {
21997
21133
  const data = input;
21998
- return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
21134
+ return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
21999
21135
  client.httpClient,
21136
+ client.organizationId,
22000
21137
  client.workspaceIdNumber,
22001
21138
  data.payload ?? data.data ?? data,
22002
21139
  void 0
@@ -22087,35 +21224,6 @@ const generatedFocusOperations = [
22087
21224
  return client.listTags(data);
22088
21225
  }
22089
21226
  },
22090
- {
22091
- id: "focus.tags.merge",
22092
- family: "focus",
22093
- resource: "tags",
22094
- action: "merge",
22095
- title: "Merge Tags",
22096
- description: "Merge Tags.",
22097
- safety: "update",
22098
- destructive: false,
22099
- cli: {
22100
- group: ["tags"],
22101
- command: "merge",
22102
- interactive: "default"
22103
- },
22104
- mcp: { entityTool: "tags" },
22105
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
22106
- source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
22107
- target_id: /* @__PURE__ */ number$2()
22108
- }) }),
22109
- execute: (input, { client }) => {
22110
- const data = input;
22111
- return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
22112
- client.httpClient,
22113
- client.workspaceIdNumber,
22114
- data.payload ?? data.data ?? data,
22115
- void 0
22116
- ]));
22117
- }
22118
- },
22119
21227
  {
22120
21228
  id: "focus.tags.restore",
22121
21229
  family: "focus",
@@ -22142,32 +21250,6 @@ const generatedFocusOperations = [
22142
21250
  ]));
22143
21251
  }
22144
21252
  },
22145
- {
22146
- id: "focus.tags.unarchive",
22147
- family: "focus",
22148
- resource: "tags",
22149
- action: "unarchive",
22150
- title: "Unarchive Tags",
22151
- description: "Unarchive Tags.",
22152
- safety: "update",
22153
- destructive: false,
22154
- cli: {
22155
- group: ["tags"],
22156
- command: "unarchive",
22157
- interactive: "default"
22158
- },
22159
- mcp: { entityTool: "tags" },
22160
- inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
22161
- execute: (input, { client }) => {
22162
- const data = input;
22163
- return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
22164
- client.httpClient,
22165
- client.workspaceIdNumber,
22166
- data.tag_id,
22167
- void 0
22168
- ]));
22169
- }
22170
- },
22171
21253
  {
22172
21254
  id: "focus.tags.update",
22173
21255
  family: "focus",
@@ -22849,12 +21931,12 @@ const generatedFocusOperations = [
22849
21931
  mcp: { entityTool: "tasks" },
22850
21932
  inputSchema: /* @__PURE__ */ looseObject({
22851
21933
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22852
- assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22853
21934
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22854
21935
  dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22855
21936
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22856
21937
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22857
21938
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21939
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22858
21940
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22859
21941
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22860
21942
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22891,6 +21973,7 @@ const generatedFocusOperations = [
22891
21973
  inputSchema: /* @__PURE__ */ looseObject({
22892
21974
  active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22893
21975
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21976
+ assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22894
21977
  assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22895
21978
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22896
21979
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22907,6 +21990,7 @@ const generatedFocusOperations = [
22907
21990
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22908
21991
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22909
21992
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21993
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22910
21994
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22911
21995
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22912
21996
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22962,6 +22046,7 @@ const generatedFocusOperations = [
22962
22046
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22963
22047
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22964
22048
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22049
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22965
22050
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22966
22051
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22967
22052
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23002,6 +22087,7 @@ const generatedFocusOperations = [
23002
22087
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23003
22088
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23004
22089
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22090
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23005
22091
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23006
22092
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23007
22093
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23042,7 +22128,6 @@ const generatedFocusOperations = [
23042
22128
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23043
22129
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23044
22130
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23045
- collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23046
22131
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23047
22132
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23048
22133
  end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23056,8 +22141,7 @@ const generatedFocusOperations = [
23056
22141
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23057
22142
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23058
22143
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23059
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23060
- include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22144
+ include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23061
22145
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23062
22146
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23063
22147
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -23073,7 +22157,6 @@ const generatedFocusOperations = [
23073
22157
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23074
22158
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
23075
22159
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23076
- user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23077
22160
  user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23078
22161
  }),
23079
22162
  execute: (input, { client }) => {
@@ -23088,118 +22171,6 @@ const generatedFocusOperations = [
23088
22171
  ]));
23089
22172
  }
23090
22173
  },
23091
- {
23092
- id: "focus.tasks.groups-get-user-task-groups-by-project",
23093
- family: "focus",
23094
- resource: "tasks",
23095
- action: "groups-get-user-task-groups-by-project",
23096
- title: "Groups Get User Task Groups By Project Tasks",
23097
- description: "Groups Get User Task Groups By Project Tasks.",
23098
- safety: "read",
23099
- destructive: false,
23100
- cli: {
23101
- group: ["tasks", "groups"],
23102
- command: "get-user-task-groups-by-project",
23103
- interactive: "hidden"
23104
- },
23105
- mcp: { entityTool: "tasks" },
23106
- inputSchema: /* @__PURE__ */ looseObject({
23107
- assignee_user_id: /* @__PURE__ */ number$2(),
23108
- cf_filter: /* @__PURE__ */ unknown$1(),
23109
- client_id: /* @__PURE__ */ number$2(),
23110
- collapse_recurring: /* @__PURE__ */ unknown$1(),
23111
- creator_id: /* @__PURE__ */ number$2(),
23112
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23113
- end_date_from: /* @__PURE__ */ unknown$1(),
23114
- end_date_to: /* @__PURE__ */ unknown$1(),
23115
- exclude_empty: /* @__PURE__ */ unknown$1(),
23116
- group_id: /* @__PURE__ */ number$2(),
23117
- include_assignees: /* @__PURE__ */ unknown$1(),
23118
- include_drafts: /* @__PURE__ */ unknown$1(),
23119
- include_unassigned: /* @__PURE__ */ unknown$1(),
23120
- include_unmaterialized: /* @__PURE__ */ unknown$1(),
23121
- min_days: /* @__PURE__ */ unknown$1(),
23122
- name: /* @__PURE__ */ unknown$1(),
23123
- priority: /* @__PURE__ */ unknown$1(),
23124
- private_: /* @__PURE__ */ unknown$1(),
23125
- project_id: /* @__PURE__ */ number$2(),
23126
- source: /* @__PURE__ */ unknown$1(),
23127
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23128
- start_date_from: /* @__PURE__ */ unknown$1(),
23129
- start_date_to: /* @__PURE__ */ unknown$1(),
23130
- status_id: /* @__PURE__ */ number$2(),
23131
- tag_id: /* @__PURE__ */ number$2(),
23132
- team_id: /* @__PURE__ */ number$2(),
23133
- user_cf_filter: /* @__PURE__ */ unknown$1(),
23134
- user_tag_id: /* @__PURE__ */ number$2()
23135
- }),
23136
- execute: (input, { client }) => {
23137
- const data = input;
23138
- return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
23139
- client.httpClient,
23140
- client.organizationId,
23141
- client.workspaceIdNumber,
23142
- data,
23143
- void 0
23144
- ]));
23145
- }
23146
- },
23147
- {
23148
- id: "focus.tasks.groups-get-user-task-groups-by-team",
23149
- family: "focus",
23150
- resource: "tasks",
23151
- action: "groups-get-user-task-groups-by-team",
23152
- title: "Groups Get User Task Groups By Team Tasks",
23153
- description: "Groups Get User Task Groups By Team Tasks.",
23154
- safety: "read",
23155
- destructive: false,
23156
- cli: {
23157
- group: ["tasks", "groups"],
23158
- command: "get-user-task-groups-by-team",
23159
- interactive: "hidden"
23160
- },
23161
- mcp: { entityTool: "tasks" },
23162
- inputSchema: /* @__PURE__ */ looseObject({
23163
- assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23164
- cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23165
- client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23166
- collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23167
- creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23168
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23169
- end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23170
- end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23171
- exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23172
- group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23173
- include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23174
- include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23175
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23176
- include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23177
- min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23178
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23179
- priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23180
- private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23181
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23182
- source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23183
- start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23184
- start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23185
- start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23186
- status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23187
- tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23188
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23189
- user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23190
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23191
- }),
23192
- execute: (input, { client }) => {
23193
- const data = input;
23194
- return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
23195
- client.httpClient,
23196
- client.organizationId,
23197
- client.workspaceIdNumber,
23198
- data,
23199
- void 0
23200
- ]));
23201
- }
23202
- },
23203
22174
  {
23204
22175
  id: "focus.tasks.groups-update",
23205
22176
  family: "focus",
@@ -23405,6 +22376,7 @@ const generatedFocusOperations = [
23405
22376
  name: /* @__PURE__ */ string$1(),
23406
22377
  status_id: /* @__PURE__ */ number$2(),
23407
22378
  auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22379
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23408
22380
  color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23409
22381
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23410
22382
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -23424,7 +22396,6 @@ const generatedFocusOperations = [
23424
22396
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23425
22397
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23426
22398
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23427
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23428
22399
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
23429
22400
  }),
23430
22401
  task_id: /* @__PURE__ */ number$2()
@@ -24335,40 +23306,6 @@ const generatedFocusOperations = [
24335
23306
  ]));
24336
23307
  }
24337
23308
  },
24338
- {
24339
- id: "focus.time-entries.groups-get-users",
24340
- family: "focus",
24341
- resource: "time-entries",
24342
- action: "groups-get-users",
24343
- title: "Groups Get Users Time Entries",
24344
- description: "Groups Get Users Time Entries.",
24345
- safety: "read",
24346
- destructive: false,
24347
- cli: {
24348
- group: ["time-entries", "groups"],
24349
- command: "get-users",
24350
- interactive: "hidden"
24351
- },
24352
- mcp: { entityTool: "time-entries" },
24353
- inputSchema: /* @__PURE__ */ looseObject({
24354
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
24355
- order_by: /* @__PURE__ */ unknown$1(),
24356
- page: /* @__PURE__ */ number$2(),
24357
- per_page: /* @__PURE__ */ unknown$1(),
24358
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
24359
- user_id: /* @__PURE__ */ number$2()
24360
- }),
24361
- execute: (input, { client }) => {
24362
- const data = input;
24363
- return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
24364
- client.httpClient,
24365
- client.organizationId,
24366
- client.workspaceIdNumber,
24367
- data,
24368
- void 0
24369
- ]));
24370
- }
24371
- },
24372
23309
  {
24373
23310
  id: "focus.time-entries.list",
24374
23311
  family: "focus",
@@ -24553,42 +23490,6 @@ const generatedFocusOperations = [
24553
23490
  inputSchema: emptySchema$1,
24554
23491
  execute: (_input, { client }) => client.stopTracking()
24555
23492
  },
24556
- {
24557
- id: "focus.time-entries.sync",
24558
- family: "focus",
24559
- resource: "time-entries",
24560
- action: "sync",
24561
- title: "Sync Time Entries",
24562
- description: "Sync Time Entries.",
24563
- safety: "update",
24564
- destructive: false,
24565
- cli: {
24566
- group: ["time-entries"],
24567
- command: "sync",
24568
- interactive: "default"
24569
- },
24570
- mcp: { entityTool: "time-entries" },
24571
- inputSchema: /* @__PURE__ */ looseObject({
24572
- client_uuid: /* @__PURE__ */ string$1(),
24573
- payload: /* @__PURE__ */ looseObject({
24574
- billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
24575
- client_updated_at: apiDateTimeString,
24576
- type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24577
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24578
- })
24579
- }),
24580
- execute: (input, { client }) => {
24581
- const data = input;
24582
- return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
24583
- client.httpClient,
24584
- client.organizationId,
24585
- client.workspaceIdNumber,
24586
- data.client_uuid,
24587
- data.payload ?? data.data ?? data,
24588
- void 0
24589
- ]));
24590
- }
24591
- },
24592
23493
  {
24593
23494
  id: "focus.time-entries.tracking-get-tracked-time-entry",
24594
23495
  family: "focus",
@@ -24637,7 +23538,6 @@ const generatedFocusOperations = [
24637
23538
  create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24638
23539
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24639
23540
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24640
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24641
23541
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24642
23542
  extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24643
23543
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -24700,33 +23600,121 @@ const generatedFocusOperations = [
24700
23600
  safety: "update",
24701
23601
  destructive: false,
24702
23602
  cli: {
24703
- group: ["time-entries"],
24704
- command: "update",
24705
- interactive: "default"
23603
+ group: ["time-entries"],
23604
+ command: "update",
23605
+ interactive: "default"
23606
+ },
23607
+ mcp: { entityTool: "time-entries" },
23608
+ inputSchema: /* @__PURE__ */ looseObject({
23609
+ payload: /* @__PURE__ */ looseObject({
23610
+ type: /* @__PURE__ */ picklist$1(["activity", "break"]),
23611
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23612
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23613
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23614
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
23615
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23616
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23617
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
23618
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23619
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
23620
+ }),
23621
+ time_entry_id: /* @__PURE__ */ number$2()
23622
+ }),
23623
+ execute: (input, { client }) => {
23624
+ const data = input;
23625
+ return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
23626
+ client.httpClient,
23627
+ client.organizationId,
23628
+ client.workspaceIdNumber,
23629
+ data.time_entry_id,
23630
+ data.payload ?? data.data ?? data,
23631
+ void 0
23632
+ ]));
23633
+ }
23634
+ },
23635
+ {
23636
+ id: "focus.time-log-suggestions.get-for-acalendar-event-title",
23637
+ family: "focus",
23638
+ resource: "time-log-suggestions",
23639
+ action: "get-for-acalendar-event-title",
23640
+ title: "Get For Acalendar Event Title Time Log Suggestions",
23641
+ description: "Get For Acalendar Event Title Time Log Suggestions.",
23642
+ safety: "update",
23643
+ destructive: false,
23644
+ cli: {
23645
+ group: ["time-log-suggestions"],
23646
+ command: "get-for-acalendar-event-title",
23647
+ interactive: "default"
23648
+ },
23649
+ mcp: { entityTool: "time-log-suggestions" },
23650
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
23651
+ execute: (input, { client }) => {
23652
+ const data = input;
23653
+ return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
23654
+ client.httpClient,
23655
+ client.organizationId,
23656
+ client.workspaceIdNumber,
23657
+ data.payload ?? data.data ?? data,
23658
+ void 0
23659
+ ]));
23660
+ }
23661
+ },
23662
+ {
23663
+ id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
23664
+ family: "focus",
23665
+ resource: "time-log-suggestions",
23666
+ action: "get-for-multiple-calendar-event-titles",
23667
+ title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
23668
+ description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
23669
+ safety: "update",
23670
+ destructive: false,
23671
+ cli: {
23672
+ group: ["time-log-suggestions"],
23673
+ command: "get-for-multiple-calendar-event-titles",
23674
+ interactive: "default"
23675
+ },
23676
+ mcp: { entityTool: "time-log-suggestions" },
23677
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
23678
+ key: /* @__PURE__ */ string$1(),
23679
+ title: /* @__PURE__ */ string$1()
23680
+ })) }) }),
23681
+ execute: (input, { client }) => {
23682
+ const data = input;
23683
+ return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
23684
+ client.httpClient,
23685
+ client.organizationId,
23686
+ client.workspaceIdNumber,
23687
+ data.payload ?? data.data ?? data,
23688
+ void 0
23689
+ ]));
23690
+ }
23691
+ },
23692
+ {
23693
+ id: "focus.time-off.create-timeoff-for-ghost",
23694
+ family: "focus",
23695
+ resource: "time-off",
23696
+ action: "create-timeoff-for-ghost",
23697
+ title: "Create Timeoff For Ghost Time Off",
23698
+ description: "Create Timeoff For Ghost Time Off.",
23699
+ safety: "create",
23700
+ destructive: false,
23701
+ cli: {
23702
+ group: ["time-off"],
23703
+ command: "create-timeoff-for-ghost",
23704
+ interactive: "hidden"
24706
23705
  },
24707
- mcp: { entityTool: "time-entries" },
23706
+ mcp: { entityTool: "time-off" },
24708
23707
  inputSchema: /* @__PURE__ */ looseObject({
24709
- payload: /* @__PURE__ */ looseObject({
24710
- type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24711
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24712
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24713
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24714
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24715
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24716
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24717
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
24718
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24719
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
24720
- }),
24721
- time_entry_id: /* @__PURE__ */ number$2()
23708
+ ghost_id: /* @__PURE__ */ number$2(),
23709
+ payload: /* @__PURE__ */ unknown$1()
24722
23710
  }),
24723
23711
  execute: (input, { client }) => {
24724
23712
  const data = input;
24725
- return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
23713
+ return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
24726
23714
  client.httpClient,
24727
23715
  client.organizationId,
24728
23716
  client.workspaceIdNumber,
24729
- data.time_entry_id,
23717
+ data.ghost_id,
24730
23718
  data.payload ?? data.data ?? data,
24731
23719
  void 0
24732
23720
  ]));
@@ -24762,6 +23750,37 @@ const generatedFocusOperations = [
24762
23750
  ]));
24763
23751
  }
24764
23752
  },
23753
+ {
23754
+ id: "focus.time-off.delete-timeoff-for-ghost",
23755
+ family: "focus",
23756
+ resource: "time-off",
23757
+ action: "delete-timeoff-for-ghost",
23758
+ title: "Delete Timeoff For Ghost Time Off",
23759
+ description: "Delete Timeoff For Ghost Time Off.",
23760
+ safety: "delete",
23761
+ destructive: true,
23762
+ cli: {
23763
+ group: ["time-off"],
23764
+ command: "delete-timeoff-for-ghost",
23765
+ interactive: "hidden"
23766
+ },
23767
+ mcp: { entityTool: "time-off" },
23768
+ inputSchema: /* @__PURE__ */ looseObject({
23769
+ ghost_id: /* @__PURE__ */ number$2(),
23770
+ payload: /* @__PURE__ */ unknown$1()
23771
+ }),
23772
+ execute: (input, { client }) => {
23773
+ const data = input;
23774
+ return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
23775
+ client.httpClient,
23776
+ client.organizationId,
23777
+ client.workspaceIdNumber,
23778
+ data.ghost_id,
23779
+ data.payload ?? data.data ?? data,
23780
+ void 0
23781
+ ]));
23782
+ }
23783
+ },
24765
23784
  {
24766
23785
  id: "focus.time-off.delete-timeoff-for-user",
24767
23786
  family: "focus",
@@ -24792,6 +23811,38 @@ const generatedFocusOperations = [
24792
23811
  ]));
24793
23812
  }
24794
23813
  },
23814
+ {
23815
+ id: "focus.time-off.get-timeoff-for-ghost",
23816
+ family: "focus",
23817
+ resource: "time-off",
23818
+ action: "get-timeoff-for-ghost",
23819
+ title: "Get Timeoff For Ghost Time Off",
23820
+ description: "Get Timeoff For Ghost Time Off.",
23821
+ safety: "read",
23822
+ destructive: false,
23823
+ cli: {
23824
+ group: ["time-off"],
23825
+ command: "get-timeoff-for-ghost",
23826
+ interactive: "hidden"
23827
+ },
23828
+ mcp: { entityTool: "time-off" },
23829
+ inputSchema: /* @__PURE__ */ looseObject({
23830
+ from: /* @__PURE__ */ unknown$1(),
23831
+ ghost_id: /* @__PURE__ */ number$2(),
23832
+ to: /* @__PURE__ */ unknown$1()
23833
+ }),
23834
+ execute: (input, { client }) => {
23835
+ const data = input;
23836
+ return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
23837
+ client.httpClient,
23838
+ client.organizationId,
23839
+ client.workspaceIdNumber,
23840
+ data.ghost_id,
23841
+ data,
23842
+ void 0
23843
+ ]));
23844
+ }
23845
+ },
24795
23846
  {
24796
23847
  id: "focus.time-off.get-timeoff-for-user",
24797
23848
  family: "focus",
@@ -24823,6 +23874,37 @@ const generatedFocusOperations = [
24823
23874
  ]));
24824
23875
  }
24825
23876
  },
23877
+ {
23878
+ id: "focus.time-off.get-timeoffs-by-ghost-ids",
23879
+ family: "focus",
23880
+ resource: "time-off",
23881
+ action: "get-timeoffs-by-ghost-ids",
23882
+ title: "Get Timeoffs By Ghost Ids Time Off",
23883
+ description: "Get Timeoffs By Ghost Ids Time Off.",
23884
+ safety: "read",
23885
+ destructive: false,
23886
+ cli: {
23887
+ group: ["time-off"],
23888
+ command: "get-timeoffs-by-ghost-ids",
23889
+ interactive: "hidden"
23890
+ },
23891
+ mcp: { entityTool: "time-off" },
23892
+ inputSchema: /* @__PURE__ */ looseObject({
23893
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23894
+ ghost_ids: /* @__PURE__ */ unknown$1(),
23895
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
23896
+ }),
23897
+ execute: (input, { client }) => {
23898
+ const data = input;
23899
+ return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
23900
+ client.httpClient,
23901
+ client.organizationId,
23902
+ client.workspaceIdNumber,
23903
+ data,
23904
+ void 0
23905
+ ]));
23906
+ }
23907
+ },
24826
23908
  {
24827
23909
  id: "focus.time-off.get-timeoffs-by-user-ids",
24828
23910
  family: "focus",
@@ -24853,6 +23935,37 @@ const generatedFocusOperations = [
24853
23935
  ]));
24854
23936
  }
24855
23937
  },
23938
+ {
23939
+ id: "focus.time-off.update-timeoff-for-ghost",
23940
+ family: "focus",
23941
+ resource: "time-off",
23942
+ action: "update-timeoff-for-ghost",
23943
+ title: "Update Timeoff For Ghost Time Off",
23944
+ description: "Update Timeoff For Ghost Time Off.",
23945
+ safety: "update",
23946
+ destructive: false,
23947
+ cli: {
23948
+ group: ["time-off"],
23949
+ command: "update-timeoff-for-ghost",
23950
+ interactive: "hidden"
23951
+ },
23952
+ mcp: { entityTool: "time-off" },
23953
+ inputSchema: /* @__PURE__ */ looseObject({
23954
+ ghost_id: /* @__PURE__ */ number$2(),
23955
+ payload: /* @__PURE__ */ unknown$1()
23956
+ }),
23957
+ execute: (input, { client }) => {
23958
+ const data = input;
23959
+ return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
23960
+ client.httpClient,
23961
+ client.organizationId,
23962
+ client.workspaceIdNumber,
23963
+ data.ghost_id,
23964
+ data.payload ?? data.data ?? data,
23965
+ void 0
23966
+ ]));
23967
+ }
23968
+ },
24856
23969
  {
24857
23970
  id: "focus.time-off.update-timeoff-for-user",
24858
23971
  family: "focus",
@@ -25884,7 +24997,6 @@ const generatedFocusOperations = [
25884
24997
  pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
25885
24998
  pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
25886
24999
  pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25887
- send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25888
25000
  send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25889
25001
  shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25890
25002
  show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -25986,6 +25098,37 @@ const generatedFocusOperations = [
25986
25098
  inputSchema: /* @__PURE__ */ looseObject({}),
25987
25099
  execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
25988
25100
  },
25101
+ {
25102
+ id: "focus.working-hours.create-for-ghost",
25103
+ family: "focus",
25104
+ resource: "working-hours",
25105
+ action: "create-for-ghost",
25106
+ title: "Create For Ghost Working Hours",
25107
+ description: "Create For Ghost Working Hours.",
25108
+ safety: "create",
25109
+ destructive: false,
25110
+ cli: {
25111
+ group: ["working-hours"],
25112
+ command: "create-for-ghost",
25113
+ interactive: "hidden"
25114
+ },
25115
+ mcp: { entityTool: "working-hours" },
25116
+ inputSchema: /* @__PURE__ */ looseObject({
25117
+ ghost_id: /* @__PURE__ */ number$2(),
25118
+ payload: /* @__PURE__ */ unknown$1()
25119
+ }),
25120
+ execute: (input, { client }) => {
25121
+ const data = input;
25122
+ return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
25123
+ client.httpClient,
25124
+ client.organizationId,
25125
+ client.workspaceIdNumber,
25126
+ data.ghost_id,
25127
+ data.payload ?? data.data ?? data,
25128
+ void 0
25129
+ ]));
25130
+ }
25131
+ },
25989
25132
  {
25990
25133
  id: "focus.working-hours.create-for-user",
25991
25134
  family: "focus",
@@ -26016,6 +25159,37 @@ const generatedFocusOperations = [
26016
25159
  ]));
26017
25160
  }
26018
25161
  },
25162
+ {
25163
+ id: "focus.working-hours.delete-for-ghost",
25164
+ family: "focus",
25165
+ resource: "working-hours",
25166
+ action: "delete-for-ghost",
25167
+ title: "Delete For Ghost Working Hours",
25168
+ description: "Delete For Ghost Working Hours.",
25169
+ safety: "delete",
25170
+ destructive: true,
25171
+ cli: {
25172
+ group: ["working-hours"],
25173
+ command: "delete-for-ghost",
25174
+ interactive: "hidden"
25175
+ },
25176
+ mcp: { entityTool: "working-hours" },
25177
+ inputSchema: /* @__PURE__ */ looseObject({
25178
+ ghost_id: /* @__PURE__ */ number$2(),
25179
+ payload: /* @__PURE__ */ unknown$1()
25180
+ }),
25181
+ execute: (input, { client }) => {
25182
+ const data = input;
25183
+ return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
25184
+ client.httpClient,
25185
+ client.organizationId,
25186
+ client.workspaceIdNumber,
25187
+ data.ghost_id,
25188
+ data.payload ?? data.data ?? data,
25189
+ void 0
25190
+ ]));
25191
+ }
25192
+ },
26019
25193
  {
26020
25194
  id: "focus.working-hours.delete-for-user",
26021
25195
  family: "focus",
@@ -26046,6 +25220,33 @@ const generatedFocusOperations = [
26046
25220
  ]));
26047
25221
  }
26048
25222
  },
25223
+ {
25224
+ id: "focus.working-hours.get-for-ghost",
25225
+ family: "focus",
25226
+ resource: "working-hours",
25227
+ action: "get-for-ghost",
25228
+ title: "Get For Ghost Working Hours",
25229
+ description: "Get For Ghost Working Hours.",
25230
+ safety: "read",
25231
+ destructive: false,
25232
+ cli: {
25233
+ group: ["working-hours"],
25234
+ command: "get-for-ghost",
25235
+ interactive: "available"
25236
+ },
25237
+ mcp: { entityTool: "working-hours" },
25238
+ inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
25239
+ execute: (input, { client }) => {
25240
+ const data = input;
25241
+ return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
25242
+ client.httpClient,
25243
+ client.organizationId,
25244
+ client.workspaceIdNumber,
25245
+ data.ghost_id,
25246
+ void 0
25247
+ ]));
25248
+ }
25249
+ },
26049
25250
  {
26050
25251
  id: "focus.working-hours.get-for-user",
26051
25252
  family: "focus",
@@ -26072,6 +25273,37 @@ const generatedFocusOperations = [
26072
25273
  ]));
26073
25274
  }
26074
25275
  },
25276
+ {
25277
+ id: "focus.working-hours.update-for-ghost",
25278
+ family: "focus",
25279
+ resource: "working-hours",
25280
+ action: "update-for-ghost",
25281
+ title: "Update For Ghost Working Hours",
25282
+ description: "Update For Ghost Working Hours.",
25283
+ safety: "update",
25284
+ destructive: false,
25285
+ cli: {
25286
+ group: ["working-hours"],
25287
+ command: "update-for-ghost",
25288
+ interactive: "hidden"
25289
+ },
25290
+ mcp: { entityTool: "working-hours" },
25291
+ inputSchema: /* @__PURE__ */ looseObject({
25292
+ ghost_id: /* @__PURE__ */ number$2(),
25293
+ payload: /* @__PURE__ */ unknown$1()
25294
+ }),
25295
+ execute: (input, { client }) => {
25296
+ const data = input;
25297
+ return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
25298
+ client.httpClient,
25299
+ client.organizationId,
25300
+ client.workspaceIdNumber,
25301
+ data.ghost_id,
25302
+ data.payload ?? data.data ?? data,
25303
+ void 0
25304
+ ]));
25305
+ }
25306
+ },
26075
25307
  {
26076
25308
  id: "focus.working-hours.update-for-user",
26077
25309
  family: "focus",
@@ -26146,50 +25378,6 @@ const generatedFocusOperations = [
26146
25378
  void 0
26147
25379
  ]))
26148
25380
  },
26149
- {
26150
- id: "focus.workspace-settings.get-workspace-export-branding",
26151
- family: "focus",
26152
- resource: "workspace-settings",
26153
- action: "get-workspace-export-branding",
26154
- title: "Get Workspace Export Branding Workspace Settings",
26155
- description: "Get Workspace Export Branding Workspace Settings.",
26156
- safety: "read",
26157
- destructive: false,
26158
- cli: {
26159
- group: ["workspace-settings"],
26160
- command: "get-workspace-export-branding",
26161
- interactive: "hidden"
26162
- },
26163
- mcp: { entityTool: "workspace-settings" },
26164
- inputSchema: /* @__PURE__ */ looseObject({}),
26165
- execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
26166
- client.httpClient,
26167
- client.workspaceIdNumber,
26168
- void 0
26169
- ]))
26170
- },
26171
- {
26172
- id: "focus.workspace-settings.get-workspace-watermark",
26173
- family: "focus",
26174
- resource: "workspace-settings",
26175
- action: "get-workspace-watermark",
26176
- title: "Get Workspace Watermark Workspace Settings",
26177
- description: "Get Workspace Watermark Workspace Settings.",
26178
- safety: "read",
26179
- destructive: false,
26180
- cli: {
26181
- group: ["workspace-settings"],
26182
- command: "get-workspace-watermark",
26183
- interactive: "hidden"
26184
- },
26185
- mcp: { entityTool: "workspace-settings" },
26186
- inputSchema: /* @__PURE__ */ looseObject({}),
26187
- execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
26188
- client.httpClient,
26189
- client.workspaceIdNumber,
26190
- void 0
26191
- ]))
26192
- },
26193
25381
  {
26194
25382
  id: "focus.workspace-settings.list",
26195
25383
  family: "focus",
@@ -26264,32 +25452,6 @@ const generatedFocusOperations = [
26264
25452
  ]));
26265
25453
  }
26266
25454
  },
26267
- {
26268
- id: "focus.workspace-settings.update-workspace-watermark",
26269
- family: "focus",
26270
- resource: "workspace-settings",
26271
- action: "update-workspace-watermark",
26272
- title: "Update Workspace Watermark Workspace Settings",
26273
- description: "Update Workspace Watermark Workspace Settings.",
26274
- safety: "update",
26275
- destructive: false,
26276
- cli: {
26277
- group: ["workspace-settings"],
26278
- command: "update-workspace-watermark",
26279
- interactive: "default"
26280
- },
26281
- mcp: { entityTool: "workspace-settings" },
26282
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
26283
- execute: (input, { client }) => {
26284
- const data = input;
26285
- return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
26286
- client.httpClient,
26287
- client.workspaceIdNumber,
26288
- data.payload ?? data.data ?? data,
26289
- void 0
26290
- ]));
26291
- }
26292
- },
26293
25455
  {
26294
25456
  id: "focus.workspace.get-context",
26295
25457
  family: "focus",
@@ -27920,4 +27082,4 @@ Common commands:
27920
27082
  //#endregion
27921
27083
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
27922
27084
 
27923
- //# sourceMappingURL=program-Ctq7SFIk.js.map
27085
+ //# sourceMappingURL=program-CUaGcD4e.js.map