@togglhq/mcp 1.11.145 → 1.11.147

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.
@@ -32773,6 +32773,10 @@ function _joinExpects$1(values$1, separator) {
32773
32773
  */
32774
32774
  const ISO_DATE_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])$/u;
32775
32775
  /**
32776
+ * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time regex.
32777
+ */
32778
+ const ISO_DATE_TIME_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])[T ](?:0\d|1\d|2[0-3]):[0-5]\d$/u;
32779
+ /**
32776
32780
  * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp regex. Allows a
32777
32781
  * space as a date/time separator and an optional space before the UTC offset.
32778
32782
  */
@@ -32826,6 +32830,22 @@ function isoDate$1(message$1) {
32826
32830
  };
32827
32831
  }
32828
32832
  /* @__NO_SIDE_EFFECTS__ */
32833
+ function isoDateTime$1(message$1) {
32834
+ return {
32835
+ kind: "validation",
32836
+ type: "iso_date_time",
32837
+ reference: isoDateTime$1,
32838
+ async: false,
32839
+ expects: null,
32840
+ requirement: ISO_DATE_TIME_REGEX$1,
32841
+ message: message$1,
32842
+ "~run"(dataset, config$1) {
32843
+ if (dataset.typed && !this.requirement.test(dataset.value)) _addIssue$1(this, "date-time", dataset, config$1);
32844
+ return dataset;
32845
+ }
32846
+ };
32847
+ }
32848
+ /* @__NO_SIDE_EFFECTS__ */
32829
32849
  function isoTimestamp(message$1) {
32830
32850
  return {
32831
32851
  kind: "validation",
@@ -34625,11 +34645,7 @@ function safeParse(schema, input, config$1) {
34625
34645
  }
34626
34646
  const TaskAssignmentSchema = /* @__PURE__ */ object({
34627
34647
  id: /* @__PURE__ */ number(),
34628
- type: /* @__PURE__ */ picklist([
34629
- "user",
34630
- "ghost",
34631
- "team"
34632
- ])
34648
+ type: /* @__PURE__ */ picklist(["user", "team"])
34633
34649
  });
34634
34650
  const ClientLiteSchema = /* @__PURE__ */ object({
34635
34651
  id: /* @__PURE__ */ number(),
@@ -34671,7 +34687,8 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
34671
34687
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34672
34688
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
34673
34689
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34674
- rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
34690
+ rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
34691
+ recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("RecurringProjectID links an instance to its recurring template, so clients can lane an entry under a collapsed series.")))
34675
34692
  });
34676
34693
  const TaskMetadataSchema = /* @__PURE__ */ object({
34677
34694
  all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -34681,6 +34698,7 @@ const TaskMetadataSchema = /* @__PURE__ */ object({
34681
34698
  extension_url: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34682
34699
  external_id: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34683
34700
  ical_uid: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34701
+ last_asserted_track_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("LastAssertedTrackProjectID is the Track planned_task.project_id that the Focus→Track mirror last successfully wrote for this task. Track→Focus uses it to distinguish a stale echo (Track still holds this value after a Focus-side project move) from an intentional Track-side project move. Internal mirror state, written by toggl_api focus_sync_worker; not user-facing."))),
34684
34702
  meeting_link: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34685
34703
  project_assignment: /* @__PURE__ */ optional(/* @__PURE__ */ object({
34686
34704
  origin: /* @__PURE__ */ picklist([
@@ -34743,7 +34761,7 @@ const TaskSchema = /* @__PURE__ */ object({
34743
34761
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
34744
34762
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
34745
34763
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34746
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34764
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
34747
34765
  client: /* @__PURE__ */ optional(ClientLiteSchema),
34748
34766
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34749
34767
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -34751,7 +34769,6 @@ const TaskSchema = /* @__PURE__ */ object({
34751
34769
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34752
34770
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34753
34771
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34754
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
34755
34772
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34756
34773
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34757
34774
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -34761,6 +34778,7 @@ const TaskSchema = /* @__PURE__ */ object({
34761
34778
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34762
34779
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34763
34780
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34781
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34764
34782
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34765
34783
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34766
34784
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -34804,7 +34822,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34804
34822
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
34805
34823
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
34806
34824
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34807
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34825
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
34808
34826
  client: /* @__PURE__ */ optional(ClientLiteSchema),
34809
34827
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34810
34828
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -34812,7 +34830,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34812
34830
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34813
34831
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34814
34832
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34815
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
34816
34833
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34817
34834
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34818
34835
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -34823,6 +34840,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34823
34840
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34824
34841
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34825
34842
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34843
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34826
34844
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34827
34845
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34828
34846
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -34981,7 +34999,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
34981
34999
  tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
34982
35000
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
34983
35001
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34984
- timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
35002
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
34985
35003
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
34986
35004
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
34987
35005
  });
@@ -35125,7 +35143,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
35125
35143
  task: /* @__PURE__ */ optional(TaskSchema),
35126
35144
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35127
35145
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35128
- timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
35146
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
35129
35147
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35130
35148
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
35131
35149
  })),
@@ -35137,9 +35155,15 @@ const TagSchema$1 = /* @__PURE__ */ object({
35137
35155
  id: /* @__PURE__ */ number(),
35138
35156
  name: /* @__PURE__ */ string(),
35139
35157
  workspace_id: /* @__PURE__ */ number(),
35158
+ archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()), /* @__PURE__ */ description("An archived tag disappears from the apply affordance but stays attached to and readable on every existing entity. Nothing cascades."))),
35140
35159
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35141
35160
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35142
- updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
35161
+ updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35162
+ usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
35163
+ projects: /* @__PURE__ */ number(),
35164
+ tasks: /* @__PURE__ */ number(),
35165
+ time_entries: /* @__PURE__ */ number()
35166
+ })), /* @__PURE__ */ description("Counts of the projects, tasks and time entries whose tag set directly contains this tag. Only present on the tags list, for callers with unrestricted project access.")))
35143
35167
  });
35144
35168
  const PaginatedTagsSchema = /* @__PURE__ */ object({
35145
35169
  data: /* @__PURE__ */ array(TagSchema$1),
@@ -35150,8 +35174,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
35150
35174
  const OrganizationUserResponseSchema = /* @__PURE__ */ object({
35151
35175
  "2fa_enabled": /* @__PURE__ */ boolean(),
35152
35176
  account_locked_at: /* @__PURE__ */ string(),
35177
+ accounts_role_id: /* @__PURE__ */ number(),
35153
35178
  active: /* @__PURE__ */ boolean(),
35154
- admin: /* @__PURE__ */ boolean(),
35155
35179
  can_edit_personal_details: /* @__PURE__ */ boolean(),
35156
35180
  created_at: /* @__PURE__ */ string(),
35157
35181
  deleted_at: /* @__PURE__ */ string(),
@@ -35200,7 +35224,9 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
35200
35224
  track_role_id: /* @__PURE__ */ number(),
35201
35225
  work_role_id: /* @__PURE__ */ number(),
35202
35226
  workspace_user_id: /* @__PURE__ */ number()
35203
- }))
35227
+ })),
35228
+ custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
35229
+ has_calendar_integration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("HasCalendarIntegration is true when the member has a calendar connected in Focus. The field is present only when the request sets include_calendar_integration to true and the calendar lookup succeeded. The field is absent when the lookup failed. Absent means unknown. It does not mean false. A member who connected a calendar in another product stays false here until they open the Focus calendar integrations page.")))
35204
35230
  });
35205
35231
  const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35206
35232
  const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
@@ -35277,8 +35303,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35277
35303
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35278
35304
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35279
35305
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35280
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35281
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35306
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
35282
35307
  integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35283
35308
  integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35284
35309
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -35294,6 +35319,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35294
35319
  priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35295
35320
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35296
35321
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35322
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35297
35323
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35298
35324
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35299
35325
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -35303,22 +35329,23 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35303
35329
  const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35304
35330
  const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
35305
35331
  cascade_duplicate_children: /* @__PURE__ */ boolean(),
35306
- task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
35332
+ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)),
35333
+ private: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Optional privacy override applied to every duplicated task (and cascaded children). When omitted, each task keeps the source task's private flag. Used when FE must force public (plan lacks private tasks) or private (user can only create private) instead of falling back to composite create.")))
35307
35334
  });
35308
35335
  const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35309
35336
  const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35310
35337
  const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35338
+ after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35311
35339
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
35312
35340
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35313
35341
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35314
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35342
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35315
35343
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35316
35344
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
35317
35345
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35318
35346
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35319
35347
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35320
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35321
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35348
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
35322
35349
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35323
35350
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35324
35351
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35335,6 +35362,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35335
35362
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35336
35363
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35337
35364
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35365
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35338
35366
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35339
35367
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35340
35368
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -35343,17 +35371,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35343
35371
  });
35344
35372
  const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35345
35373
  id: /* @__PURE__ */ number(),
35374
+ after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35346
35375
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
35347
35376
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35348
35377
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35349
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35378
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35350
35379
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35351
35380
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
35352
35381
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35353
35382
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35354
35383
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35355
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35356
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35384
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
35357
35385
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35358
35386
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35359
35387
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35370,6 +35398,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35370
35398
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35371
35399
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35372
35400
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35401
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35373
35402
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35374
35403
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35375
35404
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -37293,7 +37322,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
37293
37322
  })
37294
37323
  }).json();
37295
37324
  }
37296
- async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group } = {}, signal) {
37325
+ async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
37297
37326
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
37298
37327
  signal,
37299
37328
  searchParams: buildSearchParams$2({
@@ -37313,7 +37342,10 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
37313
37342
  include_working_hours,
37314
37343
  include_rates,
37315
37344
  pinned_ids,
37316
- has_group
37345
+ has_group,
37346
+ cf_filter,
37347
+ include_custom_fields,
37348
+ include_calendar_integration
37317
37349
  }, true)
37318
37350
  });
37319
37351
  return withResponseMeta(await response.json(), response.headers, response.status);
@@ -37332,7 +37364,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
37332
37364
  }
37333
37365
  //#endregion
37334
37366
  //#region ../focus-queries/dist/tags/requests.ts
37335
- async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
37367
+ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
37336
37368
  return await httpClient.get(`workspaces/${workspace_id}/tags`, {
37337
37369
  signal,
37338
37370
  searchParams: buildSearchParams$2({
@@ -37340,7 +37372,10 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
37340
37372
  page,
37341
37373
  per_page,
37342
37374
  order_by,
37343
- tag_id
37375
+ tag_id,
37376
+ include_usage,
37377
+ include_archived,
37378
+ archived
37344
37379
  })
37345
37380
  }).json();
37346
37381
  }
@@ -37350,6 +37385,42 @@ async function createTag(httpClient, workspace_id, data, signal) {
37350
37385
  json: data
37351
37386
  }).json();
37352
37387
  }
37388
+ async function bulkCreateTags(httpClient, workspace_id, data, signal) {
37389
+ return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
37390
+ signal,
37391
+ json: data
37392
+ }).json();
37393
+ }
37394
+ async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
37395
+ return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
37396
+ signal,
37397
+ searchParams: buildSearchParams$2({ ids })
37398
+ }).json();
37399
+ }
37400
+ async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
37401
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
37402
+ signal,
37403
+ json: data
37404
+ }).json();
37405
+ }
37406
+ async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
37407
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
37408
+ signal,
37409
+ json: data
37410
+ }).json();
37411
+ }
37412
+ async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
37413
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
37414
+ signal,
37415
+ json: data
37416
+ }).json();
37417
+ }
37418
+ async function mergeTags(httpClient, workspace_id, data, signal) {
37419
+ return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
37420
+ signal,
37421
+ json: data
37422
+ }).json();
37423
+ }
37353
37424
  async function getTag(httpClient, workspace_id, tag_id, signal) {
37354
37425
  return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
37355
37426
  }
@@ -37362,12 +37433,18 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
37362
37433
  async function deleteTag(httpClient, workspace_id, tag_id, signal) {
37363
37434
  return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
37364
37435
  }
37436
+ async function archiveTag(httpClient, workspace_id, tag_id, signal) {
37437
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
37438
+ }
37365
37439
  async function restoreTag(httpClient, workspace_id, tag_id, signal) {
37366
37440
  return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
37367
37441
  }
37442
+ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
37443
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
37444
+ }
37368
37445
  //#endregion
37369
37446
  //#region ../focus-queries/dist/projects/requests.ts
37370
- async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, include_rates, include_rollover, include_idle_recurring_templates, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
37447
+ async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
37371
37448
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37372
37449
  signal,
37373
37450
  searchParams: buildSearchParams$2({
@@ -37385,9 +37462,11 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
37385
37462
  assignee_user_id,
37386
37463
  project_id,
37387
37464
  user_id,
37465
+ only_me,
37388
37466
  include_rates,
37389
37467
  include_rollover,
37390
37468
  include_idle_recurring_templates,
37469
+ collapse_recurring,
37391
37470
  include_drafts,
37392
37471
  include_locked_private,
37393
37472
  start_date,
@@ -37618,7 +37697,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
37618
37697
  }
37619
37698
  //#endregion
37620
37699
  //#region ../focus-queries/dist/tasks/requests.ts
37621
- async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_ghost_assignees, include_assignees, include_parent_matches, assignee_ghost_id, disable_aggregations, cf_filter } = {}, signal) {
37700
+ async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
37622
37701
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
37623
37702
  signal,
37624
37703
  searchParams: buildSearchParams$2({
@@ -37666,10 +37745,8 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37666
37745
  recurring_task_ids,
37667
37746
  client_id,
37668
37747
  include_rates,
37669
- include_ghost_assignees,
37670
37748
  include_assignees,
37671
37749
  include_parent_matches,
37672
- assignee_ghost_id,
37673
37750
  disable_aggregations,
37674
37751
  cf_filter
37675
37752
  })
@@ -37755,7 +37832,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
37755
37832
  })
37756
37833
  }).json();
37757
37834
  }
37758
- async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
37835
+ async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
37759
37836
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
37760
37837
  signal,
37761
37838
  searchParams: buildSearchParams$2({
@@ -37768,14 +37845,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
37768
37845
  dates_overlap_end,
37769
37846
  recurring_task_ids,
37770
37847
  team_id,
37848
+ assignee_team_id,
37771
37849
  assignee_user_id,
37772
37850
  tag_id,
37773
- include_ghost_assignees,
37774
37851
  include_assignees
37775
37852
  })
37776
37853
  }).json();
37777
37854
  }
37778
- async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
37855
+ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
37779
37856
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
37780
37857
  signal,
37781
37858
  searchParams: buildSearchParams$2({
@@ -37819,20 +37896,15 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37819
37896
  recurring,
37820
37897
  recurring_task_ids,
37821
37898
  client_id,
37822
- include_ghost_assignees,
37823
37899
  include_assignees,
37824
- assignee_ghost_id,
37825
37900
  cf_filter
37826
37901
  })
37827
37902
  }).json();
37828
37903
  }
37829
- async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
37904
+ async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
37830
37905
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
37831
37906
  signal,
37832
- searchParams: buildSearchParams$2({
37833
- include_ghost_assignees,
37834
- include_assignees
37835
- })
37907
+ searchParams: buildSearchParams$2({ include_assignees })
37836
37908
  }).json();
37837
37909
  }
37838
37910
  async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
@@ -37863,7 +37935,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
37863
37935
  searchParams: buildSearchParams$2({ from_recurring_task_id })
37864
37936
  }).json();
37865
37937
  }
37866
- async function getTaskWithChildrenClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
37938
+ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
37867
37939
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
37868
37940
  signal,
37869
37941
  searchParams: buildSearchParams$2({
@@ -37876,12 +37948,11 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
37876
37948
  team_id,
37877
37949
  assignee_user_id,
37878
37950
  tag_id,
37879
- include_ghost_assignees,
37880
37951
  include_assignees
37881
37952
  })
37882
37953
  }).json();
37883
37954
  }
37884
- async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
37955
+ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
37885
37956
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
37886
37957
  signal,
37887
37958
  searchParams: buildSearchParams$2({
@@ -37894,7 +37965,6 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
37894
37965
  team_id,
37895
37966
  assignee_user_id,
37896
37967
  tag_id,
37897
- include_ghost_assignees,
37898
37968
  include_assignees
37899
37969
  })
37900
37970
  }).json();
@@ -37996,6 +38066,12 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
37996
38066
  })
37997
38067
  }).json();
37998
38068
  }
38069
+ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
38070
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
38071
+ signal,
38072
+ json: data
38073
+ }).json();
38074
+ }
37999
38075
  async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
38000
38076
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
38001
38077
  signal,
@@ -38132,7 +38208,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38132
38208
  ]))
38133
38209
  });
38134
38210
  //#endregion
38135
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38211
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.126_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_57f6871be3f2a3e9c51349284b275558/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38136
38212
  async function getInvitations(httpClient, signal) {
38137
38213
  return (await httpClient.get(`invitations`, { signal })).json();
38138
38214
  }
@@ -38149,7 +38225,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38149
38225
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38150
38226
  }
38151
38227
  //#endregion
38152
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38228
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.126_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_57f6871be3f2a3e9c51349284b275558/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38153
38229
  function buildSearchParams(params, flattenArrays = false) {
38154
38230
  const searchParams = new URLSearchParams();
38155
38231
  Object.entries(params).forEach(([key, value]) => {
@@ -38161,7 +38237,7 @@ function buildSearchParams(params, flattenArrays = false) {
38161
38237
  return searchParams;
38162
38238
  }
38163
38239
  //#endregion
38164
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38240
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.126_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_57f6871be3f2a3e9c51349284b275558/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38165
38241
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38166
38242
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38167
38243
  }
@@ -38175,7 +38251,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38175
38251
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38176
38252
  }
38177
38253
  //#endregion
38178
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38254
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.126_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_57f6871be3f2a3e9c51349284b275558/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38179
38255
  async function getWorkspaces(httpClient, organization_id, signal) {
38180
38256
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38181
38257
  }
@@ -38195,7 +38271,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38195
38271
  });
38196
38272
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38197
38273
  //#endregion
38198
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38274
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.126_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_57f6871be3f2a3e9c51349284b275558/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38199
38275
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38200
38276
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38201
38277
  signal,
@@ -38206,12 +38282,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38206
38282
  })).json();
38207
38283
  }
38208
38284
  //#endregion
38209
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38285
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.126_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_57f6871be3f2a3e9c51349284b275558/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38210
38286
  async function getStatus(httpClient, signal) {
38211
38287
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38212
38288
  }
38213
38289
  //#endregion
38214
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38290
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.126_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_57f6871be3f2a3e9c51349284b275558/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38215
38291
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38216
38292
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38217
38293
  signal,
@@ -38239,7 +38315,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38239
38315
  return response.json();
38240
38316
  }
38241
38317
  //#endregion
38242
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.124_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_969a045e6e4f645cea4cd5f88b441655/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38318
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.126_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_57f6871be3f2a3e9c51349284b275558/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38243
38319
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38244
38320
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38245
38321
  }
@@ -41843,6 +41919,21 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
41843
41919
  }
41844
41920
  //#endregion
41845
41921
  //#region ../focus-queries/dist/audit-log/requests.ts
41922
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
41923
+ return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
41924
+ signal,
41925
+ searchParams: buildSearchParams$2({
41926
+ workspace_id,
41927
+ entity_type,
41928
+ entity_id,
41929
+ action,
41930
+ user_id,
41931
+ page_size,
41932
+ page_number,
41933
+ export: export_
41934
+ })
41935
+ }).json();
41936
+ }
41846
41937
  async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
41847
41938
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
41848
41939
  signal,
@@ -42001,33 +42092,22 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
42001
42092
  }
42002
42093
  //#endregion
42003
42094
  //#region ../focus-queries/dist/capacities/requests.ts
42004
- async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, ghost_id, private: private_, task_source, unit, include_drafts }, signal) {
42095
+ 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) {
42005
42096
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
42006
42097
  signal,
42007
42098
  searchParams: buildSearchParams$2({
42008
42099
  user_id,
42009
42100
  start_date,
42010
42101
  end_date,
42011
- ghost_id,
42012
42102
  private: private_,
42013
42103
  task_source,
42014
42104
  unit,
42015
- include_drafts
42105
+ include_drafts,
42106
+ include_task_estimates
42016
42107
  })
42017
42108
  }).json();
42018
42109
  }
42019
42110
  //#endregion
42020
- //#region ../focus-queries/dist/capacity-settings/requests.ts
42021
- async function getCapacitySettings(httpClient, workspace_id, signal) {
42022
- return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
42023
- }
42024
- async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
42025
- return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
42026
- signal,
42027
- json: data
42028
- }).json();
42029
- }
42030
- //#endregion
42031
42111
  //#region ../focus-queries/dist/composite/requests.ts
42032
42112
  async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
42033
42113
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
@@ -42110,6 +42190,12 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
42110
42190
  async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
42111
42191
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
42112
42192
  }
42193
+ async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
42194
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
42195
+ signal,
42196
+ json: data
42197
+ }).json();
42198
+ }
42113
42199
  //#endregion
42114
42200
  //#region ../focus-queries/dist/goals/requests.ts
42115
42201
  async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
@@ -42335,7 +42421,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
42335
42421
  }
42336
42422
  //#endregion
42337
42423
  //#region ../focus-queries/dist/project-groups/requests.ts
42338
- async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, include_drafts, cf_filter } = {}, signal) {
42424
+ 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) {
42339
42425
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
42340
42426
  signal,
42341
42427
  searchParams: buildSearchParams$2({
@@ -42347,6 +42433,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42347
42433
  include_group_totals,
42348
42434
  include_unassigned,
42349
42435
  archived,
42436
+ completed,
42350
42437
  private: private_,
42351
42438
  name,
42352
42439
  client_id,
@@ -42358,6 +42445,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42358
42445
  start_date,
42359
42446
  end_date,
42360
42447
  user_id,
42448
+ only_me,
42361
42449
  include_drafts,
42362
42450
  cf_filter
42363
42451
  })
@@ -42473,10 +42561,14 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
42473
42561
  }
42474
42562
  //#endregion
42475
42563
  //#region ../focus-queries/dist/reports/requests.ts
42476
- async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
42564
+ async function getForecastAvailability(httpClient, workspace_id, signal) {
42565
+ return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
42566
+ }
42567
+ async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
42477
42568
  return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
42478
42569
  signal,
42479
42570
  json: data,
42571
+ headers: { "X-Toggl-Report-Export": xTogglReportExport },
42480
42572
  searchParams: buildSearchParams$2({
42481
42573
  response_format,
42482
42574
  include_dicts
@@ -42500,12 +42592,36 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
42500
42592
  json: data
42501
42593
  }).json();
42502
42594
  }
42503
- async function getWorkloadReport(httpClient, workspace_id, data, signal) {
42595
+ async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
42596
+ return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
42597
+ signal,
42598
+ json: data
42599
+ }).json();
42600
+ }
42601
+ async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
42504
42602
  return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
42603
+ signal,
42604
+ json: data,
42605
+ headers: { "X-Toggl-Report-Export": xTogglReportExport }
42606
+ }).json();
42607
+ }
42608
+ //#endregion
42609
+ //#region ../focus-queries/dist/reportschedules/requests.ts
42610
+ async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
42611
+ return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
42612
+ signal,
42613
+ json: data
42614
+ }).json();
42615
+ }
42616
+ async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
42617
+ return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
42505
42618
  signal,
42506
42619
  json: data
42507
42620
  }).json();
42508
42621
  }
42622
+ async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
42623
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
42624
+ }
42509
42625
  //#endregion
42510
42626
  //#region ../focus-queries/dist/savedviews/requests.ts
42511
42627
  async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
@@ -42538,7 +42654,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
42538
42654
  }
42539
42655
  //#endregion
42540
42656
  //#region ../focus-queries/dist/search/requests.ts
42541
- async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags }, signal) {
42657
+ 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) {
42542
42658
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
42543
42659
  signal,
42544
42660
  searchParams: buildSearchParams$2({
@@ -42550,11 +42666,56 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
42550
42666
  task_id,
42551
42667
  include_drafts,
42552
42668
  exclude_calendar_events,
42553
- group_by_tags
42669
+ group_by_tags,
42670
+ only_me
42671
+ })
42672
+ }).json();
42673
+ }
42674
+ async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
42675
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
42676
+ signal,
42677
+ searchParams: buildSearchParams$2({
42678
+ keyword,
42679
+ per_group
42554
42680
  })
42555
42681
  }).json();
42556
42682
  }
42557
42683
  //#endregion
42684
+ //#region ../focus-queries/dist/sharedreports/requests.ts
42685
+ async function shareSavedView(httpClient, workspace_id, id, data, signal) {
42686
+ return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
42687
+ signal,
42688
+ json: data
42689
+ }).json();
42690
+ }
42691
+ async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
42692
+ return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
42693
+ }
42694
+ async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
42695
+ return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
42696
+ signal,
42697
+ json: data
42698
+ }).json();
42699
+ }
42700
+ async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
42701
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
42702
+ }
42703
+ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
42704
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
42705
+ }
42706
+ async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
42707
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
42708
+ }
42709
+ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
42710
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
42711
+ signal,
42712
+ json: data
42713
+ }).json();
42714
+ }
42715
+ async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
42716
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
42717
+ }
42718
+ //#endregion
42558
42719
  //#region ../focus-queries/dist/subscriptions/requests.ts
42559
42720
  async function getCurrentSubscription(httpClient, organization_id, signal) {
42560
42721
  return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
@@ -42610,7 +42771,77 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
42610
42771
  }
42611
42772
  //#endregion
42612
42773
  //#region ../focus-queries/dist/task-groups/requests.ts
42613
- async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_ghosts, include_assignees, min_days, include_drafts, cf_filter, page, per_page, order_by } = {}, signal) {
42774
+ 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) {
42775
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
42776
+ signal,
42777
+ searchParams: buildSearchParams$2({
42778
+ project_id,
42779
+ source,
42780
+ priority,
42781
+ status_id,
42782
+ client_id,
42783
+ assignee_user_id,
42784
+ tag_id,
42785
+ team_id,
42786
+ user_tag_id,
42787
+ group_id,
42788
+ creator_id,
42789
+ name,
42790
+ start_date,
42791
+ end_date,
42792
+ start_date_from,
42793
+ start_date_to,
42794
+ end_date_from,
42795
+ end_date_to,
42796
+ private: private_,
42797
+ exclude_empty,
42798
+ include_unassigned,
42799
+ include_unmaterialized,
42800
+ collapse_recurring,
42801
+ include_assignees,
42802
+ min_days,
42803
+ include_drafts,
42804
+ cf_filter,
42805
+ user_cf_filter
42806
+ })
42807
+ }).json();
42808
+ }
42809
+ 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) {
42810
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
42811
+ signal,
42812
+ searchParams: buildSearchParams$2({
42813
+ team_id,
42814
+ project_id,
42815
+ source,
42816
+ priority,
42817
+ status_id,
42818
+ client_id,
42819
+ assignee_user_id,
42820
+ tag_id,
42821
+ user_tag_id,
42822
+ group_id,
42823
+ creator_id,
42824
+ name,
42825
+ start_date,
42826
+ end_date,
42827
+ start_date_from,
42828
+ start_date_to,
42829
+ end_date_from,
42830
+ end_date_to,
42831
+ private: private_,
42832
+ exclude_empty,
42833
+ include_unassigned,
42834
+ include_unmaterialized,
42835
+ collapse_recurring,
42836
+ include_assignees,
42837
+ min_days,
42838
+ include_drafts,
42839
+ cf_filter,
42840
+ user_cf_filter
42841
+ })
42842
+ }).json();
42843
+ }
42844
+ 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) {
42614
42845
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
42615
42846
  signal,
42616
42847
  searchParams: buildSearchParams$2({
@@ -42634,11 +42865,14 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
42634
42865
  end_date_to,
42635
42866
  private: private_,
42636
42867
  exclude_empty,
42637
- include_ghosts,
42868
+ include_unassigned,
42869
+ include_unmaterialized,
42870
+ collapse_recurring,
42638
42871
  include_assignees,
42639
42872
  min_days,
42640
42873
  include_drafts,
42641
42874
  cf_filter,
42875
+ user_cf_filter,
42642
42876
  page,
42643
42877
  per_page,
42644
42878
  order_by
@@ -42775,17 +43009,18 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
42775
43009
  }).json();
42776
43010
  }
42777
43011
  //#endregion
42778
- //#region ../focus-queries/dist/time-log-suggestions/requests.ts
42779
- async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
42780
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
42781
- signal,
42782
- json: data
42783
- }).json();
42784
- }
42785
- async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
42786
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
43012
+ //#region ../focus-queries/dist/time-entry-groups/requests.ts
43013
+ async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
43014
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
42787
43015
  signal,
42788
- json: data
43016
+ searchParams: buildSearchParams$2({
43017
+ start_date,
43018
+ end_date,
43019
+ user_id,
43020
+ page,
43021
+ per_page,
43022
+ order_by
43023
+ })
42789
43024
  }).json();
42790
43025
  }
42791
43026
  //#endregion
@@ -42827,43 +43062,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
42827
43062
  json: data
42828
43063
  }).json();
42829
43064
  }
42830
- async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
42831
- return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
42832
- signal,
42833
- searchParams: buildSearchParams$2({
42834
- ghost_ids,
42835
- start_date,
42836
- end_date
42837
- })
42838
- }).json();
42839
- }
42840
- async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
42841
- return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42842
- signal,
42843
- searchParams: buildSearchParams$2({
42844
- from,
42845
- to
42846
- })
42847
- }).json();
42848
- }
42849
- async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
42850
- return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42851
- signal,
42852
- json: data
42853
- }).json();
42854
- }
42855
- async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
42856
- return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42857
- signal,
42858
- json: data
42859
- }).json();
42860
- }
42861
- async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
42862
- return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42863
- signal,
42864
- json: data
42865
- }).json();
42866
- }
42867
43065
  //#endregion
42868
43066
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
42869
43067
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -43056,27 +43254,6 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
43056
43254
  json: data
43057
43255
  }).json();
43058
43256
  }
43059
- async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
43060
- return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
43061
- }
43062
- async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
43063
- return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
43064
- signal,
43065
- json: data
43066
- }).json();
43067
- }
43068
- async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
43069
- return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
43070
- signal,
43071
- json: data
43072
- }).json();
43073
- }
43074
- async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
43075
- return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
43076
- signal,
43077
- json: data
43078
- }).json();
43079
- }
43080
43257
  //#endregion
43081
43258
  //#region ../focus-queries/dist/workspace/requests.ts
43082
43259
  async function getWorkspaceContext(httpClient, workspace_id, signal) {
@@ -43093,6 +43270,9 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
43093
43270
  json: data
43094
43271
  }).json();
43095
43272
  }
43273
+ async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
43274
+ return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
43275
+ }
43096
43276
  async function getUserPermissions(httpClient, workspace_id, signal) {
43097
43277
  return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
43098
43278
  }
@@ -43105,6 +43285,15 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
43105
43285
  json: data
43106
43286
  }).json();
43107
43287
  }
43288
+ async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
43289
+ return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
43290
+ }
43291
+ async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
43292
+ return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
43293
+ signal,
43294
+ json: data
43295
+ }).json();
43296
+ }
43108
43297
  //#endregion
43109
43298
  //#region ../operations/build/index.public.js
43110
43299
  function callGeneratedRequest(request, args) {
@@ -43240,17 +43429,17 @@ const generatedFocusOperations = [
43240
43429
  ]))
43241
43430
  },
43242
43431
  {
43243
- id: "focus.audit-log.list",
43432
+ id: "focus.audit-log.get-organization",
43244
43433
  family: "focus",
43245
43434
  resource: "audit-log",
43246
- action: "list",
43247
- title: "List Audit Log",
43248
- description: "List Audit Log.",
43435
+ action: "get-organization",
43436
+ title: "Get Organization Audit Log",
43437
+ description: "Get Organization Audit Log.",
43249
43438
  safety: "read",
43250
43439
  destructive: false,
43251
43440
  cli: {
43252
43441
  group: ["audit-log"],
43253
- command: "list",
43442
+ command: "get-organization",
43254
43443
  interactive: "hidden"
43255
43444
  },
43256
43445
  mcp: { entityTool: "audit-log" },
@@ -43264,14 +43453,54 @@ const generatedFocusOperations = [
43264
43453
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43265
43454
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43266
43455
  to: /* @__PURE__ */ string$1(),
43267
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43456
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43457
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43268
43458
  }),
43269
43459
  execute: (input, { client }) => {
43270
43460
  const data = input;
43271
- return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
43461
+ return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
43272
43462
  client.httpClient,
43273
43463
  client.organizationId,
43274
- client.workspaceIdNumber,
43464
+ data.from,
43465
+ data.to,
43466
+ data,
43467
+ void 0
43468
+ ]));
43469
+ }
43470
+ },
43471
+ {
43472
+ id: "focus.audit-log.list",
43473
+ family: "focus",
43474
+ resource: "audit-log",
43475
+ action: "list",
43476
+ title: "List Audit Log",
43477
+ description: "List Audit Log.",
43478
+ safety: "read",
43479
+ destructive: false,
43480
+ cli: {
43481
+ group: ["audit-log"],
43482
+ command: "list",
43483
+ interactive: "hidden"
43484
+ },
43485
+ mcp: { entityTool: "audit-log" },
43486
+ inputSchema: /* @__PURE__ */ looseObject({
43487
+ action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43488
+ entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43489
+ entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43490
+ export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43491
+ export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43492
+ from: /* @__PURE__ */ string$1(),
43493
+ page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43494
+ page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43495
+ to: /* @__PURE__ */ string$1(),
43496
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43497
+ }),
43498
+ execute: (input, { client }) => {
43499
+ const data = input;
43500
+ return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
43501
+ client.httpClient,
43502
+ client.organizationId,
43503
+ client.workspaceIdNumber,
43275
43504
  data.from,
43276
43505
  data.to,
43277
43506
  data,
@@ -43296,9 +43525,9 @@ const generatedFocusOperations = [
43296
43525
  mcp: { entityTool: "capacities" },
43297
43526
  inputSchema: /* @__PURE__ */ looseObject({
43298
43527
  end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43299
- ghost_id: /* @__PURE__ */ number$2(),
43300
43528
  group: /* @__PURE__ */ picklist$1(["users"]),
43301
43529
  include_drafts: /* @__PURE__ */ unknown$1(),
43530
+ include_task_estimates: /* @__PURE__ */ unknown$1(),
43302
43531
  private_: /* @__PURE__ */ unknown$1(),
43303
43532
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43304
43533
  task_source: /* @__PURE__ */ unknown$1(),
@@ -43317,54 +43546,6 @@ const generatedFocusOperations = [
43317
43546
  ]));
43318
43547
  }
43319
43548
  },
43320
- {
43321
- id: "focus.capacities.settings-list",
43322
- family: "focus",
43323
- resource: "capacities",
43324
- action: "settings-list",
43325
- title: "Settings List Capacities",
43326
- description: "Settings List Capacities.",
43327
- safety: "read",
43328
- destructive: false,
43329
- cli: {
43330
- group: ["capacities", "settings"],
43331
- command: "list",
43332
- interactive: "hidden"
43333
- },
43334
- mcp: { entityTool: "capacities" },
43335
- inputSchema: /* @__PURE__ */ looseObject({}),
43336
- execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
43337
- client.httpClient,
43338
- client.workspaceIdNumber,
43339
- void 0
43340
- ]))
43341
- },
43342
- {
43343
- id: "focus.capacities.settings-update",
43344
- family: "focus",
43345
- resource: "capacities",
43346
- action: "settings-update",
43347
- title: "Settings Update Capacities",
43348
- description: "Settings Update Capacities.",
43349
- safety: "update",
43350
- destructive: false,
43351
- cli: {
43352
- group: ["capacities", "settings"],
43353
- command: "update",
43354
- interactive: "default"
43355
- },
43356
- mcp: { entityTool: "capacities" },
43357
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
43358
- execute: (input, { client }) => {
43359
- const data = input;
43360
- return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
43361
- client.httpClient,
43362
- client.workspaceIdNumber,
43363
- data.payload ?? data.data ?? data,
43364
- void 0
43365
- ]));
43366
- }
43367
- },
43368
43549
  {
43369
43550
  id: "focus.clients.create",
43370
43551
  family: "focus",
@@ -43559,8 +43740,7 @@ const generatedFocusOperations = [
43559
43740
  hourly_rate: /* @__PURE__ */ number$2(),
43560
43741
  start_at: apiDateTimeString,
43561
43742
  end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
43562
- }))),
43563
- resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
43743
+ })))
43564
43744
  }) }),
43565
43745
  execute: (input, { client }) => {
43566
43746
  const data = input;
@@ -43615,6 +43795,7 @@ const generatedFocusOperations = [
43615
43795
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43616
43796
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43617
43797
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43798
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43618
43799
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43619
43800
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43620
43801
  }),
@@ -43647,6 +43828,7 @@ const generatedFocusOperations = [
43647
43828
  priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
43648
43829
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43649
43830
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43831
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43650
43832
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43651
43833
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43652
43834
  }))),
@@ -43702,7 +43884,11 @@ const generatedFocusOperations = [
43702
43884
  },
43703
43885
  mcp: { entityTool: "custom-fields" },
43704
43886
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
43705
- entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
43887
+ entity_type: /* @__PURE__ */ picklist$1([
43888
+ "project",
43889
+ "task",
43890
+ "user"
43891
+ ]),
43706
43892
  field_type: /* @__PURE__ */ picklist$1([
43707
43893
  "select",
43708
43894
  "multi_select",
@@ -44035,7 +44221,11 @@ const generatedFocusOperations = [
44035
44221
  },
44036
44222
  mcp: { entityTool: "custom-fields" },
44037
44223
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44038
- entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
44224
+ entity_type: /* @__PURE__ */ picklist$1([
44225
+ "project",
44226
+ "task",
44227
+ "user"
44228
+ ]),
44039
44229
  ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
44040
44230
  }) }),
44041
44231
  execute: (input, { client }) => {
@@ -44049,6 +44239,37 @@ const generatedFocusOperations = [
44049
44239
  ]));
44050
44240
  }
44051
44241
  },
44242
+ {
44243
+ id: "focus.custom-fields.update-user-custom-field-values",
44244
+ family: "focus",
44245
+ resource: "custom-fields",
44246
+ action: "update-user-custom-field-values",
44247
+ title: "Update User Custom Field Values Custom Fields",
44248
+ description: "Update User Custom Field Values Custom Fields.",
44249
+ safety: "update",
44250
+ destructive: false,
44251
+ cli: {
44252
+ group: ["custom-fields"],
44253
+ command: "update-user-custom-field-values",
44254
+ interactive: "hidden"
44255
+ },
44256
+ mcp: { entityTool: "custom-fields" },
44257
+ inputSchema: /* @__PURE__ */ looseObject({
44258
+ payload: /* @__PURE__ */ unknown$1(),
44259
+ user_id: /* @__PURE__ */ number$2()
44260
+ }),
44261
+ execute: (input, { client }) => {
44262
+ const data = input;
44263
+ return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
44264
+ client.httpClient,
44265
+ client.organizationId,
44266
+ client.workspaceIdNumber,
44267
+ data.user_id,
44268
+ data.payload ?? data.data ?? data,
44269
+ void 0
44270
+ ]));
44271
+ }
44272
+ },
44052
44273
  {
44053
44274
  id: "focus.goals.create",
44054
44275
  family: "focus",
@@ -44268,10 +44489,22 @@ const generatedFocusOperations = [
44268
44489
  goal_id: /* @__PURE__ */ number$2(),
44269
44490
  payload: /* @__PURE__ */ looseObject({
44270
44491
  active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44492
+ client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44271
44493
  comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44272
44494
  icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44273
44495
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44274
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
44496
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44497
+ recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
44498
+ "daily",
44499
+ "weekly",
44500
+ "daily_workdays",
44501
+ "monthly"
44502
+ ])),
44503
+ start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44504
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44505
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44506
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44507
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44275
44508
  })
44276
44509
  }),
44277
44510
  execute: (input, { client }) => {
@@ -45604,6 +45837,7 @@ const generatedFocusOperations = [
45604
45837
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45605
45838
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45606
45839
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45840
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45607
45841
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45608
45842
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
45609
45843
  group: /* @__PURE__ */ string$1(),
@@ -45611,6 +45845,7 @@ const generatedFocusOperations = [
45611
45845
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45612
45846
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45613
45847
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45848
+ only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45614
45849
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45615
45850
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45616
45851
  parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -47795,7 +48030,10 @@ const generatedFocusOperations = [
47795
48030
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
47796
48031
  name: /* @__PURE__ */ string$1(),
47797
48032
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
47798
- }))
48033
+ })),
48034
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48035
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48036
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
47799
48037
  }),
47800
48038
  response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
47801
48039
  }),
@@ -47836,6 +48074,28 @@ const generatedFocusOperations = [
47836
48074
  ]));
47837
48075
  }
47838
48076
  },
48077
+ {
48078
+ id: "focus.reports.get-forecast-availability",
48079
+ family: "focus",
48080
+ resource: "reports",
48081
+ action: "get-forecast-availability",
48082
+ title: "Get Forecast Availability Reports",
48083
+ description: "Get Forecast Availability Reports.",
48084
+ safety: "read",
48085
+ destructive: false,
48086
+ cli: {
48087
+ group: ["reports"],
48088
+ command: "get-forecast-availability",
48089
+ interactive: "hidden"
48090
+ },
48091
+ mcp: { entityTool: "reports" },
48092
+ inputSchema: /* @__PURE__ */ looseObject({}),
48093
+ execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
48094
+ client.httpClient,
48095
+ client.workspaceIdNumber,
48096
+ void 0
48097
+ ]))
48098
+ },
47839
48099
  {
47840
48100
  id: "focus.reports.get-profitability",
47841
48101
  family: "focus",
@@ -47895,9 +48155,17 @@ const generatedFocusOperations = [
47895
48155
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
47896
48156
  name: /* @__PURE__ */ string$1(),
47897
48157
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
47898
- }))
48158
+ })),
48159
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48160
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48161
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
47899
48162
  }),
47900
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
48163
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
48164
+ xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
48165
+ "csv",
48166
+ "xlsx",
48167
+ "pdf"
48168
+ ]))
47901
48169
  }),
47902
48170
  execute: (input, { client }) => {
47903
48171
  const data = input;
@@ -47907,22 +48175,23 @@ const generatedFocusOperations = [
47907
48175
  data.payload ?? data.data ?? data,
47908
48176
  data.response_format,
47909
48177
  data.include_dicts,
48178
+ data.xTogglReportExport,
47910
48179
  void 0
47911
48180
  ]));
47912
48181
  }
47913
48182
  },
47914
48183
  {
47915
- id: "focus.reports.get-workload",
48184
+ id: "focus.reports.get-time-accounting",
47916
48185
  family: "focus",
47917
48186
  resource: "reports",
47918
- action: "get-workload",
47919
- title: "Get Workload Reports",
47920
- description: "Get Workload Reports.",
48187
+ action: "get-time-accounting",
48188
+ title: "Get Time Accounting Reports",
48189
+ description: "Get Time Accounting Reports.",
47921
48190
  safety: "update",
47922
48191
  destructive: false,
47923
48192
  cli: {
47924
48193
  group: ["reports"],
47925
- command: "get-workload",
48194
+ command: "get-time-accounting",
47926
48195
  interactive: "hidden"
47927
48196
  },
47928
48197
  mcp: { entityTool: "reports" },
@@ -47968,11 +48237,14 @@ const generatedFocusOperations = [
47968
48237
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
47969
48238
  name: /* @__PURE__ */ string$1(),
47970
48239
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
47971
- }))
48240
+ })),
48241
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48242
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48243
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
47972
48244
  }) }),
47973
48245
  execute: (input, { client }) => {
47974
48246
  const data = input;
47975
- return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
48247
+ return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
47976
48248
  client.httpClient,
47977
48249
  client.workspaceIdNumber,
47978
48250
  data.payload ?? data.data ?? data,
@@ -47981,71 +48253,104 @@ const generatedFocusOperations = [
47981
48253
  }
47982
48254
  },
47983
48255
  {
47984
- id: "focus.saved-views.create",
48256
+ id: "focus.reports.get-workload",
47985
48257
  family: "focus",
47986
- resource: "saved-views",
47987
- action: "create",
47988
- title: "Create Saved Views",
47989
- description: "Create Saved Views.",
47990
- safety: "create",
48258
+ resource: "reports",
48259
+ action: "get-workload",
48260
+ title: "Get Workload Reports",
48261
+ description: "Get Workload Reports.",
48262
+ safety: "update",
47991
48263
  destructive: false,
47992
48264
  cli: {
47993
- group: ["saved-views"],
47994
- command: "create",
48265
+ group: ["reports"],
48266
+ command: "get-workload",
47995
48267
  interactive: "hidden"
47996
48268
  },
47997
- mcp: { entityTool: "saved-views" },
47998
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
47999
- name: /* @__PURE__ */ string$1(),
48000
- params: /* @__PURE__ */ unknown$1(),
48001
- pinned: /* @__PURE__ */ boolean$1(),
48002
- type: /* @__PURE__ */ picklist$1([
48003
- "inbox",
48004
- "archive",
48005
- "board",
48006
- "timeline",
48007
- "project",
48008
- "project.tasks",
48009
- "project.board",
48010
- "project.timeline",
48011
- "projects",
48012
- "reports.summary",
48013
- "reports.detailed",
48014
- "reports.utilization",
48015
- "reports.workload",
48016
- "reports.profitability"
48017
- ]),
48018
- icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48019
- }) }),
48269
+ mcp: { entityTool: "reports" },
48270
+ inputSchema: /* @__PURE__ */ looseObject({
48271
+ payload: /* @__PURE__ */ looseObject({
48272
+ aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48273
+ aggregation: /* @__PURE__ */ looseObject({
48274
+ function: /* @__PURE__ */ string$1(),
48275
+ property: /* @__PURE__ */ string$1()
48276
+ }),
48277
+ operator: /* @__PURE__ */ string$1(),
48278
+ property: /* @__PURE__ */ string$1()
48279
+ })),
48280
+ aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48281
+ function: /* @__PURE__ */ string$1(),
48282
+ property: /* @__PURE__ */ string$1()
48283
+ })),
48284
+ attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
48285
+ currency: /* @__PURE__ */ string$1(),
48286
+ filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48287
+ conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
48288
+ operator: /* @__PURE__ */ string$1(),
48289
+ property: /* @__PURE__ */ string$1()
48290
+ })),
48291
+ groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48292
+ property: /* @__PURE__ */ string$1(),
48293
+ show_empty: /* @__PURE__ */ boolean$1()
48294
+ })),
48295
+ limit: /* @__PURE__ */ number$2(),
48296
+ ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48297
+ direction: /* @__PURE__ */ string$1(),
48298
+ nulls: /* @__PURE__ */ string$1(),
48299
+ property: /* @__PURE__ */ string$1()
48300
+ })),
48301
+ pagination: /* @__PURE__ */ looseObject({
48302
+ page: /* @__PURE__ */ number$2(),
48303
+ per_page: /* @__PURE__ */ number$2()
48304
+ }),
48305
+ period: /* @__PURE__ */ looseObject({
48306
+ from: /* @__PURE__ */ string$1(),
48307
+ preset: /* @__PURE__ */ string$1(),
48308
+ to: /* @__PURE__ */ string$1()
48309
+ }),
48310
+ transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48311
+ name: /* @__PURE__ */ string$1(),
48312
+ parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48313
+ })),
48314
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48315
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48316
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48317
+ }),
48318
+ xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
48319
+ "csv",
48320
+ "xlsx",
48321
+ "pdf"
48322
+ ]))
48323
+ }),
48020
48324
  execute: (input, { client }) => {
48021
48325
  const data = input;
48022
- return client.runGeneratedRequest("createANewSavedView", () => callGeneratedRequest(createANewSavedView, [
48326
+ return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
48023
48327
  client.httpClient,
48024
48328
  client.workspaceIdNumber,
48025
48329
  data.payload ?? data.data ?? data,
48330
+ data.xTogglReportExport,
48026
48331
  void 0
48027
48332
  ]));
48028
48333
  }
48029
48334
  },
48030
48335
  {
48031
- id: "focus.saved-views.delete",
48336
+ id: "focus.reportschedules.delete-shared-report-schedule",
48032
48337
  family: "focus",
48033
- resource: "saved-views",
48034
- action: "delete",
48035
- title: "Delete Saved Views",
48036
- description: "Delete Saved Views.",
48338
+ resource: "reportschedules",
48339
+ action: "delete-shared-report-schedule",
48340
+ title: "Delete Shared Report Schedule Reportschedules",
48341
+ description: "Delete Shared Report Schedule Reportschedules.",
48037
48342
  safety: "delete",
48038
48343
  destructive: true,
48039
48344
  cli: {
48040
- group: ["saved-views"],
48041
- command: "delete",
48345
+ group: ["reportschedules"],
48346
+ command: "delete-shared-report-schedule",
48042
48347
  interactive: "default"
48043
48348
  },
48044
- mcp: { entityTool: "saved-views" },
48045
- inputSchema: savedViewIdSchema,
48349
+ mcp: { entityTool: "reportschedules" },
48350
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48046
48351
  execute: (input, { client }) => {
48047
48352
  const data = input;
48048
- return client.runGeneratedRequest("deleteASavedView", () => callGeneratedRequest(deleteASavedView, [
48353
+ return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
48049
48354
  client.httpClient,
48050
48355
  client.workspaceIdNumber,
48051
48356
  data.id,
@@ -48054,35 +48359,192 @@ const generatedFocusOperations = [
48054
48359
  }
48055
48360
  },
48056
48361
  {
48057
- id: "focus.saved-views.get",
48362
+ id: "focus.reportschedules.upsert-saved-view-schedule",
48058
48363
  family: "focus",
48059
- resource: "saved-views",
48060
- action: "get",
48061
- title: "Get Saved Views",
48062
- description: "Get Saved Views.",
48063
- safety: "read",
48364
+ resource: "reportschedules",
48365
+ action: "upsert-saved-view-schedule",
48366
+ title: "Upsert Saved View Schedule Reportschedules",
48367
+ description: "Upsert Saved View Schedule Reportschedules.",
48368
+ safety: "update",
48064
48369
  destructive: false,
48065
48370
  cli: {
48066
- group: ["saved-views"],
48067
- command: "get",
48068
- interactive: "available"
48371
+ group: ["reportschedules"],
48372
+ command: "upsert-saved-view-schedule",
48373
+ interactive: "default"
48069
48374
  },
48070
- mcp: { entityTool: "saved-views" },
48071
- inputSchema: savedViewIdSchema,
48375
+ mcp: { entityTool: "reportschedules" },
48376
+ inputSchema: /* @__PURE__ */ looseObject({
48377
+ id: /* @__PURE__ */ number$2(),
48378
+ payload: /* @__PURE__ */ looseObject({
48379
+ cadence: /* @__PURE__ */ picklist$1([
48380
+ "daily",
48381
+ "weekly",
48382
+ "monthly"
48383
+ ]),
48384
+ time: /* @__PURE__ */ string$1(),
48385
+ day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48386
+ recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48387
+ recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48388
+ recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
48389
+ })
48390
+ }),
48072
48391
  execute: (input, { client }) => {
48073
48392
  const data = input;
48074
- return client.runGeneratedRequest("getASavedView", () => callGeneratedRequest(getASavedView, [
48393
+ return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
48075
48394
  client.httpClient,
48076
48395
  client.workspaceIdNumber,
48077
48396
  data.id,
48397
+ data.payload ?? data.data ?? data,
48078
48398
  void 0
48079
48399
  ]));
48080
48400
  }
48081
48401
  },
48082
48402
  {
48083
- id: "focus.saved-views.list",
48403
+ id: "focus.reportschedules.upsert-shared-report-schedule",
48084
48404
  family: "focus",
48085
- resource: "saved-views",
48405
+ resource: "reportschedules",
48406
+ action: "upsert-shared-report-schedule",
48407
+ title: "Upsert Shared Report Schedule Reportschedules",
48408
+ description: "Upsert Shared Report Schedule Reportschedules.",
48409
+ safety: "update",
48410
+ destructive: false,
48411
+ cli: {
48412
+ group: ["reportschedules"],
48413
+ command: "upsert-shared-report-schedule",
48414
+ interactive: "default"
48415
+ },
48416
+ mcp: { entityTool: "reportschedules" },
48417
+ inputSchema: /* @__PURE__ */ looseObject({
48418
+ id: /* @__PURE__ */ number$2(),
48419
+ payload: /* @__PURE__ */ looseObject({
48420
+ cadence: /* @__PURE__ */ picklist$1([
48421
+ "daily",
48422
+ "weekly",
48423
+ "monthly"
48424
+ ]),
48425
+ time: /* @__PURE__ */ string$1(),
48426
+ day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48427
+ recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48428
+ recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48429
+ recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
48430
+ })
48431
+ }),
48432
+ execute: (input, { client }) => {
48433
+ const data = input;
48434
+ return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
48435
+ client.httpClient,
48436
+ client.workspaceIdNumber,
48437
+ data.id,
48438
+ data.payload ?? data.data ?? data,
48439
+ void 0
48440
+ ]));
48441
+ }
48442
+ },
48443
+ {
48444
+ id: "focus.saved-views.create",
48445
+ family: "focus",
48446
+ resource: "saved-views",
48447
+ action: "create",
48448
+ title: "Create Saved Views",
48449
+ description: "Create Saved Views.",
48450
+ safety: "create",
48451
+ destructive: false,
48452
+ cli: {
48453
+ group: ["saved-views"],
48454
+ command: "create",
48455
+ interactive: "hidden"
48456
+ },
48457
+ mcp: { entityTool: "saved-views" },
48458
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
48459
+ name: /* @__PURE__ */ string$1(),
48460
+ params: /* @__PURE__ */ unknown$1(),
48461
+ pinned: /* @__PURE__ */ boolean$1(),
48462
+ type: /* @__PURE__ */ picklist$1([
48463
+ "inbox",
48464
+ "archive",
48465
+ "board",
48466
+ "timeline",
48467
+ "project",
48468
+ "project.tasks",
48469
+ "project.board",
48470
+ "project.timeline",
48471
+ "projects",
48472
+ "reports.summary",
48473
+ "reports.detailed",
48474
+ "reports.utilization",
48475
+ "reports.workload",
48476
+ "reports.profitability",
48477
+ "reports.time-off",
48478
+ "reports.time-accounting"
48479
+ ]),
48480
+ icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48481
+ }) }),
48482
+ execute: (input, { client }) => {
48483
+ const data = input;
48484
+ return client.runGeneratedRequest("createANewSavedView", () => callGeneratedRequest(createANewSavedView, [
48485
+ client.httpClient,
48486
+ client.workspaceIdNumber,
48487
+ data.payload ?? data.data ?? data,
48488
+ void 0
48489
+ ]));
48490
+ }
48491
+ },
48492
+ {
48493
+ id: "focus.saved-views.delete",
48494
+ family: "focus",
48495
+ resource: "saved-views",
48496
+ action: "delete",
48497
+ title: "Delete Saved Views",
48498
+ description: "Delete Saved Views.",
48499
+ safety: "delete",
48500
+ destructive: true,
48501
+ cli: {
48502
+ group: ["saved-views"],
48503
+ command: "delete",
48504
+ interactive: "default"
48505
+ },
48506
+ mcp: { entityTool: "saved-views" },
48507
+ inputSchema: savedViewIdSchema,
48508
+ execute: (input, { client }) => {
48509
+ const data = input;
48510
+ return client.runGeneratedRequest("deleteASavedView", () => callGeneratedRequest(deleteASavedView, [
48511
+ client.httpClient,
48512
+ client.workspaceIdNumber,
48513
+ data.id,
48514
+ void 0
48515
+ ]));
48516
+ }
48517
+ },
48518
+ {
48519
+ id: "focus.saved-views.get",
48520
+ family: "focus",
48521
+ resource: "saved-views",
48522
+ action: "get",
48523
+ title: "Get Saved Views",
48524
+ description: "Get Saved Views.",
48525
+ safety: "read",
48526
+ destructive: false,
48527
+ cli: {
48528
+ group: ["saved-views"],
48529
+ command: "get",
48530
+ interactive: "available"
48531
+ },
48532
+ mcp: { entityTool: "saved-views" },
48533
+ inputSchema: savedViewIdSchema,
48534
+ execute: (input, { client }) => {
48535
+ const data = input;
48536
+ return client.runGeneratedRequest("getASavedView", () => callGeneratedRequest(getASavedView, [
48537
+ client.httpClient,
48538
+ client.workspaceIdNumber,
48539
+ data.id,
48540
+ void 0
48541
+ ]));
48542
+ }
48543
+ },
48544
+ {
48545
+ id: "focus.saved-views.list",
48546
+ family: "focus",
48547
+ resource: "saved-views",
48086
48548
  action: "list",
48087
48549
  title: "List Saved Views",
48088
48550
  description: "List Saved Views.",
@@ -48136,6 +48598,36 @@ const generatedFocusOperations = [
48136
48598
  ]));
48137
48599
  }
48138
48600
  },
48601
+ {
48602
+ id: "focus.search.mentions",
48603
+ family: "focus",
48604
+ resource: "search",
48605
+ action: "mentions",
48606
+ title: "Mentions Search",
48607
+ description: "Mentions Search.",
48608
+ safety: "read",
48609
+ destructive: false,
48610
+ cli: {
48611
+ group: ["search"],
48612
+ command: "mentions",
48613
+ interactive: "hidden"
48614
+ },
48615
+ mcp: { entityTool: "search" },
48616
+ inputSchema: /* @__PURE__ */ looseObject({
48617
+ keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48618
+ per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48619
+ }),
48620
+ execute: (input, { client }) => {
48621
+ const data = input;
48622
+ return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
48623
+ client.httpClient,
48624
+ client.organizationId,
48625
+ client.workspaceIdNumber,
48626
+ data,
48627
+ void 0
48628
+ ]));
48629
+ }
48630
+ },
48139
48631
  {
48140
48632
  id: "focus.search.search",
48141
48633
  family: "focus",
@@ -48163,6 +48655,240 @@ const generatedFocusOperations = [
48163
48655
  ]));
48164
48656
  }
48165
48657
  },
48658
+ {
48659
+ id: "focus.sharedreports.add-shared-report-grants",
48660
+ family: "focus",
48661
+ resource: "sharedreports",
48662
+ action: "add-shared-report-grants",
48663
+ title: "Add Shared Report Grants Sharedreports",
48664
+ description: "Add Shared Report Grants Sharedreports.",
48665
+ safety: "update",
48666
+ destructive: false,
48667
+ cli: {
48668
+ group: ["sharedreports"],
48669
+ command: "add-shared-report-grants",
48670
+ interactive: "default"
48671
+ },
48672
+ mcp: { entityTool: "sharedreports" },
48673
+ inputSchema: /* @__PURE__ */ looseObject({
48674
+ id: /* @__PURE__ */ number$2(),
48675
+ payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48676
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48677
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48678
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48679
+ })) })
48680
+ }),
48681
+ execute: (input, { client }) => {
48682
+ const data = input;
48683
+ return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
48684
+ client.httpClient,
48685
+ client.workspaceIdNumber,
48686
+ data.id,
48687
+ data.payload ?? data.data ?? data,
48688
+ void 0
48689
+ ]));
48690
+ }
48691
+ },
48692
+ {
48693
+ id: "focus.sharedreports.get-saved-view-shared-report",
48694
+ family: "focus",
48695
+ resource: "sharedreports",
48696
+ action: "get-saved-view-shared-report",
48697
+ title: "Get Saved View Shared Report Sharedreports",
48698
+ description: "Get Saved View Shared Report Sharedreports.",
48699
+ safety: "read",
48700
+ destructive: false,
48701
+ cli: {
48702
+ group: ["sharedreports"],
48703
+ command: "get-saved-view-shared-report",
48704
+ interactive: "available"
48705
+ },
48706
+ mcp: { entityTool: "sharedreports" },
48707
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48708
+ execute: (input, { client }) => {
48709
+ const data = input;
48710
+ return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
48711
+ client.httpClient,
48712
+ client.workspaceIdNumber,
48713
+ data.id,
48714
+ void 0
48715
+ ]));
48716
+ }
48717
+ },
48718
+ {
48719
+ id: "focus.sharedreports.get-shared-report-for-viewer",
48720
+ family: "focus",
48721
+ resource: "sharedreports",
48722
+ action: "get-shared-report-for-viewer",
48723
+ title: "Get Shared Report For Viewer Sharedreports",
48724
+ description: "Get Shared Report For Viewer Sharedreports.",
48725
+ safety: "read",
48726
+ destructive: false,
48727
+ cli: {
48728
+ group: ["sharedreports"],
48729
+ command: "get-shared-report-for-viewer",
48730
+ interactive: "available"
48731
+ },
48732
+ mcp: { entityTool: "sharedreports" },
48733
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48734
+ execute: (input, { client }) => {
48735
+ const data = input;
48736
+ return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
48737
+ client.httpClient,
48738
+ client.workspaceIdNumber,
48739
+ data.id,
48740
+ void 0
48741
+ ]));
48742
+ }
48743
+ },
48744
+ {
48745
+ id: "focus.sharedreports.get-shared-reports-shared-by-me",
48746
+ family: "focus",
48747
+ resource: "sharedreports",
48748
+ action: "get-shared-reports-shared-by-me",
48749
+ title: "Get Shared Reports Shared By Me Sharedreports",
48750
+ description: "Get Shared Reports Shared By Me Sharedreports.",
48751
+ safety: "read",
48752
+ destructive: false,
48753
+ cli: {
48754
+ group: ["sharedreports"],
48755
+ command: "get-shared-reports-shared-by-me",
48756
+ interactive: "hidden"
48757
+ },
48758
+ mcp: { entityTool: "sharedreports" },
48759
+ inputSchema: /* @__PURE__ */ looseObject({}),
48760
+ execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
48761
+ client.httpClient,
48762
+ client.workspaceIdNumber,
48763
+ void 0
48764
+ ]))
48765
+ },
48766
+ {
48767
+ id: "focus.sharedreports.get-shared-reports-shared-with-me",
48768
+ family: "focus",
48769
+ resource: "sharedreports",
48770
+ action: "get-shared-reports-shared-with-me",
48771
+ title: "Get Shared Reports Shared With Me Sharedreports",
48772
+ description: "Get Shared Reports Shared With Me Sharedreports.",
48773
+ safety: "read",
48774
+ destructive: false,
48775
+ cli: {
48776
+ group: ["sharedreports"],
48777
+ command: "get-shared-reports-shared-with-me",
48778
+ interactive: "hidden"
48779
+ },
48780
+ mcp: { entityTool: "sharedreports" },
48781
+ inputSchema: /* @__PURE__ */ looseObject({}),
48782
+ execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
48783
+ client.httpClient,
48784
+ client.workspaceIdNumber,
48785
+ void 0
48786
+ ]))
48787
+ },
48788
+ {
48789
+ id: "focus.sharedreports.revoke-shared-report-grant",
48790
+ family: "focus",
48791
+ resource: "sharedreports",
48792
+ action: "revoke-shared-report-grant",
48793
+ title: "Revoke Shared Report Grant Sharedreports",
48794
+ description: "Revoke Shared Report Grant Sharedreports.",
48795
+ safety: "delete",
48796
+ destructive: true,
48797
+ cli: {
48798
+ group: ["sharedreports"],
48799
+ command: "revoke-shared-report-grant",
48800
+ interactive: "default"
48801
+ },
48802
+ mcp: { entityTool: "sharedreports" },
48803
+ inputSchema: /* @__PURE__ */ looseObject({
48804
+ grant_id: /* @__PURE__ */ number$2(),
48805
+ id: /* @__PURE__ */ number$2()
48806
+ }),
48807
+ execute: (input, { client }) => {
48808
+ const data = input;
48809
+ return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
48810
+ client.httpClient,
48811
+ client.workspaceIdNumber,
48812
+ data.id,
48813
+ data.grant_id,
48814
+ void 0
48815
+ ]));
48816
+ }
48817
+ },
48818
+ {
48819
+ id: "focus.sharedreports.share-saved-view",
48820
+ family: "focus",
48821
+ resource: "sharedreports",
48822
+ action: "share-saved-view",
48823
+ title: "Share Saved View Sharedreports",
48824
+ description: "Share Saved View Sharedreports.",
48825
+ safety: "update",
48826
+ destructive: false,
48827
+ cli: {
48828
+ group: ["sharedreports"],
48829
+ command: "share-saved-view",
48830
+ interactive: "hidden"
48831
+ },
48832
+ mcp: { entityTool: "sharedreports" },
48833
+ inputSchema: /* @__PURE__ */ looseObject({
48834
+ id: /* @__PURE__ */ number$2(),
48835
+ payload: /* @__PURE__ */ looseObject({
48836
+ charts: /* @__PURE__ */ unknown$1(),
48837
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48838
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48839
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48840
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48841
+ })
48842
+ }),
48843
+ execute: (input, { client }) => {
48844
+ const data = input;
48845
+ return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
48846
+ client.httpClient,
48847
+ client.workspaceIdNumber,
48848
+ data.id,
48849
+ data.payload ?? data.data ?? data,
48850
+ void 0
48851
+ ]));
48852
+ }
48853
+ },
48854
+ {
48855
+ id: "focus.sharedreports.share-saved-view-many",
48856
+ family: "focus",
48857
+ resource: "sharedreports",
48858
+ action: "share-saved-view-many",
48859
+ title: "Share Saved View Many Sharedreports",
48860
+ description: "Share Saved View Many Sharedreports.",
48861
+ safety: "update",
48862
+ destructive: false,
48863
+ cli: {
48864
+ group: ["sharedreports"],
48865
+ command: "share-saved-view-many",
48866
+ interactive: "hidden"
48867
+ },
48868
+ mcp: { entityTool: "sharedreports" },
48869
+ inputSchema: /* @__PURE__ */ looseObject({
48870
+ id: /* @__PURE__ */ number$2(),
48871
+ payload: /* @__PURE__ */ looseObject({
48872
+ charts: /* @__PURE__ */ unknown$1(),
48873
+ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48874
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48875
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48876
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48877
+ })),
48878
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48879
+ })
48880
+ }),
48881
+ execute: (input, { client }) => {
48882
+ const data = input;
48883
+ return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
48884
+ client.httpClient,
48885
+ client.workspaceIdNumber,
48886
+ data.id,
48887
+ data.payload ?? data.data ?? data,
48888
+ void 0
48889
+ ]));
48890
+ }
48891
+ },
48166
48892
  {
48167
48893
  id: "focus.statuses.create-status",
48168
48894
  family: "focus",
@@ -48428,13 +49154,172 @@ const generatedFocusOperations = [
48428
49154
  command: "upsert-forced-trial",
48429
49155
  interactive: "default"
48430
49156
  },
48431
- mcp: { entityTool: "subscriptions" },
48432
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
49157
+ mcp: { entityTool: "subscriptions" },
49158
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
49159
+ execute: (input, { client }) => {
49160
+ const data = input;
49161
+ return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
49162
+ client.httpClient,
49163
+ client.organizationId,
49164
+ client.workspaceIdNumber,
49165
+ data.payload ?? data.data ?? data,
49166
+ void 0
49167
+ ]));
49168
+ }
49169
+ },
49170
+ {
49171
+ id: "focus.tags.archive",
49172
+ family: "focus",
49173
+ resource: "tags",
49174
+ action: "archive",
49175
+ title: "Archive Tags",
49176
+ description: "Archive Tags.",
49177
+ safety: "update",
49178
+ destructive: false,
49179
+ cli: {
49180
+ group: ["tags"],
49181
+ command: "archive",
49182
+ interactive: "default"
49183
+ },
49184
+ mcp: { entityTool: "tags" },
49185
+ inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
49186
+ execute: (input, { client }) => {
49187
+ const data = input;
49188
+ return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
49189
+ client.httpClient,
49190
+ client.workspaceIdNumber,
49191
+ data.tag_id,
49192
+ void 0
49193
+ ]));
49194
+ }
49195
+ },
49196
+ {
49197
+ id: "focus.tags.bulk-archive",
49198
+ family: "focus",
49199
+ resource: "tags",
49200
+ action: "bulk-archive",
49201
+ title: "Bulk Archive Tags",
49202
+ description: "Bulk Archive Tags.",
49203
+ safety: "update",
49204
+ destructive: false,
49205
+ cli: {
49206
+ group: ["tags", "bulk"],
49207
+ command: "archive",
49208
+ interactive: "default"
49209
+ },
49210
+ mcp: { entityTool: "tags" },
49211
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
49212
+ execute: (input, { client }) => {
49213
+ const data = input;
49214
+ return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
49215
+ client.httpClient,
49216
+ client.workspaceIdNumber,
49217
+ data.payload ?? data.data ?? data,
49218
+ void 0
49219
+ ]));
49220
+ }
49221
+ },
49222
+ {
49223
+ id: "focus.tags.bulk-create",
49224
+ family: "focus",
49225
+ resource: "tags",
49226
+ action: "bulk-create",
49227
+ title: "Bulk Create Tags",
49228
+ description: "Bulk Create Tags.",
49229
+ safety: "create",
49230
+ destructive: false,
49231
+ cli: {
49232
+ group: ["tags", "bulk"],
49233
+ command: "create",
49234
+ interactive: "default"
49235
+ },
49236
+ mcp: { entityTool: "tags" },
49237
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
49238
+ color: /* @__PURE__ */ string$1(),
49239
+ name: /* @__PURE__ */ string$1()
49240
+ })) }) }),
49241
+ execute: (input, { client }) => {
49242
+ const data = input;
49243
+ return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
49244
+ client.httpClient,
49245
+ client.workspaceIdNumber,
49246
+ data.payload ?? data.data ?? data,
49247
+ void 0
49248
+ ]));
49249
+ }
49250
+ },
49251
+ {
49252
+ id: "focus.tags.bulk-delete",
49253
+ family: "focus",
49254
+ resource: "tags",
49255
+ action: "bulk-delete",
49256
+ title: "Bulk Delete Tags",
49257
+ description: "Bulk Delete Tags.",
49258
+ safety: "delete",
49259
+ destructive: true,
49260
+ cli: {
49261
+ group: ["tags", "bulk"],
49262
+ command: "delete",
49263
+ interactive: "default"
49264
+ },
49265
+ mcp: { entityTool: "tags" },
49266
+ inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
49267
+ execute: (input, { client }) => {
49268
+ const data = input;
49269
+ return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
49270
+ client.httpClient,
49271
+ client.workspaceIdNumber,
49272
+ data.ids,
49273
+ void 0
49274
+ ]));
49275
+ }
49276
+ },
49277
+ {
49278
+ id: "focus.tags.bulk-restore",
49279
+ family: "focus",
49280
+ resource: "tags",
49281
+ action: "bulk-restore",
49282
+ title: "Bulk Restore Tags",
49283
+ description: "Bulk Restore Tags.",
49284
+ safety: "update",
49285
+ destructive: false,
49286
+ cli: {
49287
+ group: ["tags", "bulk"],
49288
+ command: "restore",
49289
+ interactive: "default"
49290
+ },
49291
+ mcp: { entityTool: "tags" },
49292
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
49293
+ execute: (input, { client }) => {
49294
+ const data = input;
49295
+ return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
49296
+ client.httpClient,
49297
+ client.workspaceIdNumber,
49298
+ data.payload ?? data.data ?? data,
49299
+ void 0
49300
+ ]));
49301
+ }
49302
+ },
49303
+ {
49304
+ id: "focus.tags.bulk-unarchive",
49305
+ family: "focus",
49306
+ resource: "tags",
49307
+ action: "bulk-unarchive",
49308
+ title: "Bulk Unarchive Tags",
49309
+ description: "Bulk Unarchive Tags.",
49310
+ safety: "update",
49311
+ destructive: false,
49312
+ cli: {
49313
+ group: ["tags", "bulk"],
49314
+ command: "unarchive",
49315
+ interactive: "default"
49316
+ },
49317
+ mcp: { entityTool: "tags" },
49318
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
48433
49319
  execute: (input, { client }) => {
48434
49320
  const data = input;
48435
- return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
49321
+ return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
48436
49322
  client.httpClient,
48437
- client.organizationId,
48438
49323
  client.workspaceIdNumber,
48439
49324
  data.payload ?? data.data ?? data,
48440
49325
  void 0
@@ -48525,6 +49410,35 @@ const generatedFocusOperations = [
48525
49410
  return client.listTags(data);
48526
49411
  }
48527
49412
  },
49413
+ {
49414
+ id: "focus.tags.merge",
49415
+ family: "focus",
49416
+ resource: "tags",
49417
+ action: "merge",
49418
+ title: "Merge Tags",
49419
+ description: "Merge Tags.",
49420
+ safety: "update",
49421
+ destructive: false,
49422
+ cli: {
49423
+ group: ["tags"],
49424
+ command: "merge",
49425
+ interactive: "default"
49426
+ },
49427
+ mcp: { entityTool: "tags" },
49428
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
49429
+ source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
49430
+ target_id: /* @__PURE__ */ number$2()
49431
+ }) }),
49432
+ execute: (input, { client }) => {
49433
+ const data = input;
49434
+ return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
49435
+ client.httpClient,
49436
+ client.workspaceIdNumber,
49437
+ data.payload ?? data.data ?? data,
49438
+ void 0
49439
+ ]));
49440
+ }
49441
+ },
48528
49442
  {
48529
49443
  id: "focus.tags.restore",
48530
49444
  family: "focus",
@@ -48551,6 +49465,32 @@ const generatedFocusOperations = [
48551
49465
  ]));
48552
49466
  }
48553
49467
  },
49468
+ {
49469
+ id: "focus.tags.unarchive",
49470
+ family: "focus",
49471
+ resource: "tags",
49472
+ action: "unarchive",
49473
+ title: "Unarchive Tags",
49474
+ description: "Unarchive Tags.",
49475
+ safety: "update",
49476
+ destructive: false,
49477
+ cli: {
49478
+ group: ["tags"],
49479
+ command: "unarchive",
49480
+ interactive: "default"
49481
+ },
49482
+ mcp: { entityTool: "tags" },
49483
+ inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
49484
+ execute: (input, { client }) => {
49485
+ const data = input;
49486
+ return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
49487
+ client.httpClient,
49488
+ client.workspaceIdNumber,
49489
+ data.tag_id,
49490
+ void 0
49491
+ ]));
49492
+ }
49493
+ },
48554
49494
  {
48555
49495
  id: "focus.tags.update",
48556
49496
  family: "focus",
@@ -49232,12 +50172,12 @@ const generatedFocusOperations = [
49232
50172
  mcp: { entityTool: "tasks" },
49233
50173
  inputSchema: /* @__PURE__ */ looseObject({
49234
50174
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50175
+ assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49235
50176
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49236
50177
  dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49237
50178
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49238
50179
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
49239
50180
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49240
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49241
50181
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49242
50182
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49243
50183
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49274,7 +50214,6 @@ const generatedFocusOperations = [
49274
50214
  inputSchema: /* @__PURE__ */ looseObject({
49275
50215
  active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
49276
50216
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49277
- assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49278
50217
  assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49279
50218
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49280
50219
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49291,7 +50230,6 @@ const generatedFocusOperations = [
49291
50230
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49292
50231
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49293
50232
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49294
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49295
50233
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49296
50234
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49297
50235
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49347,7 +50285,6 @@ const generatedFocusOperations = [
49347
50285
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49348
50286
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49349
50287
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49350
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49351
50288
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49352
50289
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49353
50290
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49388,7 +50325,6 @@ const generatedFocusOperations = [
49388
50325
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49389
50326
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49390
50327
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49391
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49392
50328
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49393
50329
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49394
50330
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49429,6 +50365,7 @@ const generatedFocusOperations = [
49429
50365
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49430
50366
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49431
50367
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50368
+ collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49432
50369
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49433
50370
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
49434
50371
  end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49442,7 +50379,8 @@ const generatedFocusOperations = [
49442
50379
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49443
50380
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49444
50381
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49445
- include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50382
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50383
+ include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49446
50384
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49447
50385
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49448
50386
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49458,6 +50396,7 @@ const generatedFocusOperations = [
49458
50396
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49459
50397
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
49460
50398
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50399
+ user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49461
50400
  user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
49462
50401
  }),
49463
50402
  execute: (input, { client }) => {
@@ -49472,6 +50411,118 @@ const generatedFocusOperations = [
49472
50411
  ]));
49473
50412
  }
49474
50413
  },
50414
+ {
50415
+ id: "focus.tasks.groups-get-user-task-groups-by-project",
50416
+ family: "focus",
50417
+ resource: "tasks",
50418
+ action: "groups-get-user-task-groups-by-project",
50419
+ title: "Groups Get User Task Groups By Project Tasks",
50420
+ description: "Groups Get User Task Groups By Project Tasks.",
50421
+ safety: "read",
50422
+ destructive: false,
50423
+ cli: {
50424
+ group: ["tasks", "groups"],
50425
+ command: "get-user-task-groups-by-project",
50426
+ interactive: "hidden"
50427
+ },
50428
+ mcp: { entityTool: "tasks" },
50429
+ inputSchema: /* @__PURE__ */ looseObject({
50430
+ assignee_user_id: /* @__PURE__ */ number$2(),
50431
+ cf_filter: /* @__PURE__ */ unknown$1(),
50432
+ client_id: /* @__PURE__ */ number$2(),
50433
+ collapse_recurring: /* @__PURE__ */ unknown$1(),
50434
+ creator_id: /* @__PURE__ */ number$2(),
50435
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
50436
+ end_date_from: /* @__PURE__ */ unknown$1(),
50437
+ end_date_to: /* @__PURE__ */ unknown$1(),
50438
+ exclude_empty: /* @__PURE__ */ unknown$1(),
50439
+ group_id: /* @__PURE__ */ number$2(),
50440
+ include_assignees: /* @__PURE__ */ unknown$1(),
50441
+ include_drafts: /* @__PURE__ */ unknown$1(),
50442
+ include_unassigned: /* @__PURE__ */ unknown$1(),
50443
+ include_unmaterialized: /* @__PURE__ */ unknown$1(),
50444
+ min_days: /* @__PURE__ */ unknown$1(),
50445
+ name: /* @__PURE__ */ unknown$1(),
50446
+ priority: /* @__PURE__ */ unknown$1(),
50447
+ private_: /* @__PURE__ */ unknown$1(),
50448
+ project_id: /* @__PURE__ */ number$2(),
50449
+ source: /* @__PURE__ */ unknown$1(),
50450
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
50451
+ start_date_from: /* @__PURE__ */ unknown$1(),
50452
+ start_date_to: /* @__PURE__ */ unknown$1(),
50453
+ status_id: /* @__PURE__ */ number$2(),
50454
+ tag_id: /* @__PURE__ */ number$2(),
50455
+ team_id: /* @__PURE__ */ number$2(),
50456
+ user_cf_filter: /* @__PURE__ */ unknown$1(),
50457
+ user_tag_id: /* @__PURE__ */ number$2()
50458
+ }),
50459
+ execute: (input, { client }) => {
50460
+ const data = input;
50461
+ return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
50462
+ client.httpClient,
50463
+ client.organizationId,
50464
+ client.workspaceIdNumber,
50465
+ data,
50466
+ void 0
50467
+ ]));
50468
+ }
50469
+ },
50470
+ {
50471
+ id: "focus.tasks.groups-get-user-task-groups-by-team",
50472
+ family: "focus",
50473
+ resource: "tasks",
50474
+ action: "groups-get-user-task-groups-by-team",
50475
+ title: "Groups Get User Task Groups By Team Tasks",
50476
+ description: "Groups Get User Task Groups By Team Tasks.",
50477
+ safety: "read",
50478
+ destructive: false,
50479
+ cli: {
50480
+ group: ["tasks", "groups"],
50481
+ command: "get-user-task-groups-by-team",
50482
+ interactive: "hidden"
50483
+ },
50484
+ mcp: { entityTool: "tasks" },
50485
+ inputSchema: /* @__PURE__ */ looseObject({
50486
+ assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50487
+ cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50488
+ client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50489
+ collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50490
+ creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50491
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50492
+ end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50493
+ end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50494
+ exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50495
+ group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50496
+ include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50497
+ include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50498
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50499
+ include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50500
+ min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50501
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50502
+ priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50503
+ private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50504
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50505
+ source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50506
+ start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50507
+ start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50508
+ start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50509
+ status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50510
+ tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50511
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50512
+ user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50513
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50514
+ }),
50515
+ execute: (input, { client }) => {
50516
+ const data = input;
50517
+ return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
50518
+ client.httpClient,
50519
+ client.organizationId,
50520
+ client.workspaceIdNumber,
50521
+ data,
50522
+ void 0
50523
+ ]));
50524
+ }
50525
+ },
49475
50526
  {
49476
50527
  id: "focus.tasks.groups-update",
49477
50528
  family: "focus",
@@ -49677,7 +50728,6 @@ const generatedFocusOperations = [
49677
50728
  name: /* @__PURE__ */ string$1(),
49678
50729
  status_id: /* @__PURE__ */ number$2(),
49679
50730
  auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
49680
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
49681
50731
  color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
49682
50732
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49683
50733
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -49697,6 +50747,7 @@ const generatedFocusOperations = [
49697
50747
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
49698
50748
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49699
50749
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50750
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
49700
50751
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
49701
50752
  }),
49702
50753
  task_id: /* @__PURE__ */ number$2()
@@ -50705,6 +51756,40 @@ const generatedFocusOperations = [
50705
51756
  ]));
50706
51757
  }
50707
51758
  },
51759
+ {
51760
+ id: "focus.time-entries.groups-get-users",
51761
+ family: "focus",
51762
+ resource: "time-entries",
51763
+ action: "groups-get-users",
51764
+ title: "Groups Get Users Time Entries",
51765
+ description: "Groups Get Users Time Entries.",
51766
+ safety: "read",
51767
+ destructive: false,
51768
+ cli: {
51769
+ group: ["time-entries", "groups"],
51770
+ command: "get-users",
51771
+ interactive: "hidden"
51772
+ },
51773
+ mcp: { entityTool: "time-entries" },
51774
+ inputSchema: /* @__PURE__ */ looseObject({
51775
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51776
+ order_by: /* @__PURE__ */ unknown$1(),
51777
+ page: /* @__PURE__ */ number$2(),
51778
+ per_page: /* @__PURE__ */ unknown$1(),
51779
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51780
+ user_id: /* @__PURE__ */ number$2()
51781
+ }),
51782
+ execute: (input, { client }) => {
51783
+ const data = input;
51784
+ return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
51785
+ client.httpClient,
51786
+ client.organizationId,
51787
+ client.workspaceIdNumber,
51788
+ data,
51789
+ void 0
51790
+ ]));
51791
+ }
51792
+ },
50708
51793
  {
50709
51794
  id: "focus.time-entries.list",
50710
51795
  family: "focus",
@@ -50889,6 +51974,42 @@ const generatedFocusOperations = [
50889
51974
  inputSchema: emptySchema$1,
50890
51975
  execute: (_input, { client }) => client.stopTracking()
50891
51976
  },
51977
+ {
51978
+ id: "focus.time-entries.sync",
51979
+ family: "focus",
51980
+ resource: "time-entries",
51981
+ action: "sync",
51982
+ title: "Sync Time Entries",
51983
+ description: "Sync Time Entries.",
51984
+ safety: "update",
51985
+ destructive: false,
51986
+ cli: {
51987
+ group: ["time-entries"],
51988
+ command: "sync",
51989
+ interactive: "default"
51990
+ },
51991
+ mcp: { entityTool: "time-entries" },
51992
+ inputSchema: /* @__PURE__ */ looseObject({
51993
+ client_uuid: /* @__PURE__ */ string$1(),
51994
+ payload: /* @__PURE__ */ looseObject({
51995
+ billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
51996
+ client_updated_at: apiDateTimeString,
51997
+ type: /* @__PURE__ */ picklist$1(["activity", "break"]),
51998
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51999
+ })
52000
+ }),
52001
+ execute: (input, { client }) => {
52002
+ const data = input;
52003
+ return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
52004
+ client.httpClient,
52005
+ client.organizationId,
52006
+ client.workspaceIdNumber,
52007
+ data.client_uuid,
52008
+ data.payload ?? data.data ?? data,
52009
+ void 0
52010
+ ]));
52011
+ }
52012
+ },
50892
52013
  {
50893
52014
  id: "focus.time-entries.tracking-get-tracked-time-entry",
50894
52015
  family: "focus",
@@ -50937,6 +52058,7 @@ const generatedFocusOperations = [
50937
52058
  create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50938
52059
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50939
52060
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52061
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50940
52062
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50941
52063
  extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
50942
52064
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -50995,125 +52117,37 @@ const generatedFocusOperations = [
50995
52117
  resource: "time-entries",
50996
52118
  action: "update",
50997
52119
  title: "Update Time Entries",
50998
- description: "Update Time Entries.",
50999
- safety: "update",
51000
- destructive: false,
51001
- cli: {
51002
- group: ["time-entries"],
51003
- command: "update",
51004
- interactive: "default"
51005
- },
51006
- mcp: { entityTool: "time-entries" },
51007
- inputSchema: /* @__PURE__ */ looseObject({
51008
- payload: /* @__PURE__ */ looseObject({
51009
- type: /* @__PURE__ */ picklist$1(["activity", "break"]),
51010
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51011
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51012
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51013
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51014
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51015
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51016
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
51017
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51018
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
51019
- }),
51020
- time_entry_id: /* @__PURE__ */ number$2()
51021
- }),
51022
- execute: (input, { client }) => {
51023
- const data = input;
51024
- return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
51025
- client.httpClient,
51026
- client.organizationId,
51027
- client.workspaceIdNumber,
51028
- data.time_entry_id,
51029
- data.payload ?? data.data ?? data,
51030
- void 0
51031
- ]));
51032
- }
51033
- },
51034
- {
51035
- id: "focus.time-log-suggestions.get-for-acalendar-event-title",
51036
- family: "focus",
51037
- resource: "time-log-suggestions",
51038
- action: "get-for-acalendar-event-title",
51039
- title: "Get For Acalendar Event Title Time Log Suggestions",
51040
- description: "Get For Acalendar Event Title Time Log Suggestions.",
51041
- safety: "update",
51042
- destructive: false,
51043
- cli: {
51044
- group: ["time-log-suggestions"],
51045
- command: "get-for-acalendar-event-title",
51046
- interactive: "default"
51047
- },
51048
- mcp: { entityTool: "time-log-suggestions" },
51049
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
51050
- execute: (input, { client }) => {
51051
- const data = input;
51052
- return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
51053
- client.httpClient,
51054
- client.organizationId,
51055
- client.workspaceIdNumber,
51056
- data.payload ?? data.data ?? data,
51057
- void 0
51058
- ]));
51059
- }
51060
- },
51061
- {
51062
- id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
51063
- family: "focus",
51064
- resource: "time-log-suggestions",
51065
- action: "get-for-multiple-calendar-event-titles",
51066
- title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
51067
- description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
51068
- safety: "update",
51069
- destructive: false,
51070
- cli: {
51071
- group: ["time-log-suggestions"],
51072
- command: "get-for-multiple-calendar-event-titles",
51073
- interactive: "default"
51074
- },
51075
- mcp: { entityTool: "time-log-suggestions" },
51076
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
51077
- key: /* @__PURE__ */ string$1(),
51078
- title: /* @__PURE__ */ string$1()
51079
- })) }) }),
51080
- execute: (input, { client }) => {
51081
- const data = input;
51082
- return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
51083
- client.httpClient,
51084
- client.organizationId,
51085
- client.workspaceIdNumber,
51086
- data.payload ?? data.data ?? data,
51087
- void 0
51088
- ]));
51089
- }
51090
- },
51091
- {
51092
- id: "focus.time-off.create-timeoff-for-ghost",
51093
- family: "focus",
51094
- resource: "time-off",
51095
- action: "create-timeoff-for-ghost",
51096
- title: "Create Timeoff For Ghost Time Off",
51097
- description: "Create Timeoff For Ghost Time Off.",
51098
- safety: "create",
52120
+ description: "Update Time Entries.",
52121
+ safety: "update",
51099
52122
  destructive: false,
51100
52123
  cli: {
51101
- group: ["time-off"],
51102
- command: "create-timeoff-for-ghost",
51103
- interactive: "hidden"
52124
+ group: ["time-entries"],
52125
+ command: "update",
52126
+ interactive: "default"
51104
52127
  },
51105
- mcp: { entityTool: "time-off" },
52128
+ mcp: { entityTool: "time-entries" },
51106
52129
  inputSchema: /* @__PURE__ */ looseObject({
51107
- ghost_id: /* @__PURE__ */ number$2(),
51108
- payload: /* @__PURE__ */ unknown$1()
52130
+ payload: /* @__PURE__ */ looseObject({
52131
+ type: /* @__PURE__ */ picklist$1(["activity", "break"]),
52132
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52133
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52134
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52135
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
52136
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52137
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52138
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
52139
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52140
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
52141
+ }),
52142
+ time_entry_id: /* @__PURE__ */ number$2()
51109
52143
  }),
51110
52144
  execute: (input, { client }) => {
51111
52145
  const data = input;
51112
- return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
52146
+ return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
51113
52147
  client.httpClient,
51114
52148
  client.organizationId,
51115
52149
  client.workspaceIdNumber,
51116
- data.ghost_id,
52150
+ data.time_entry_id,
51117
52151
  data.payload ?? data.data ?? data,
51118
52152
  void 0
51119
52153
  ]));
@@ -51149,37 +52183,6 @@ const generatedFocusOperations = [
51149
52183
  ]));
51150
52184
  }
51151
52185
  },
51152
- {
51153
- id: "focus.time-off.delete-timeoff-for-ghost",
51154
- family: "focus",
51155
- resource: "time-off",
51156
- action: "delete-timeoff-for-ghost",
51157
- title: "Delete Timeoff For Ghost Time Off",
51158
- description: "Delete Timeoff For Ghost Time Off.",
51159
- safety: "delete",
51160
- destructive: true,
51161
- cli: {
51162
- group: ["time-off"],
51163
- command: "delete-timeoff-for-ghost",
51164
- interactive: "hidden"
51165
- },
51166
- mcp: { entityTool: "time-off" },
51167
- inputSchema: /* @__PURE__ */ looseObject({
51168
- ghost_id: /* @__PURE__ */ number$2(),
51169
- payload: /* @__PURE__ */ unknown$1()
51170
- }),
51171
- execute: (input, { client }) => {
51172
- const data = input;
51173
- return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
51174
- client.httpClient,
51175
- client.organizationId,
51176
- client.workspaceIdNumber,
51177
- data.ghost_id,
51178
- data.payload ?? data.data ?? data,
51179
- void 0
51180
- ]));
51181
- }
51182
- },
51183
52186
  {
51184
52187
  id: "focus.time-off.delete-timeoff-for-user",
51185
52188
  family: "focus",
@@ -51210,38 +52213,6 @@ const generatedFocusOperations = [
51210
52213
  ]));
51211
52214
  }
51212
52215
  },
51213
- {
51214
- id: "focus.time-off.get-timeoff-for-ghost",
51215
- family: "focus",
51216
- resource: "time-off",
51217
- action: "get-timeoff-for-ghost",
51218
- title: "Get Timeoff For Ghost Time Off",
51219
- description: "Get Timeoff For Ghost Time Off.",
51220
- safety: "read",
51221
- destructive: false,
51222
- cli: {
51223
- group: ["time-off"],
51224
- command: "get-timeoff-for-ghost",
51225
- interactive: "hidden"
51226
- },
51227
- mcp: { entityTool: "time-off" },
51228
- inputSchema: /* @__PURE__ */ looseObject({
51229
- from: /* @__PURE__ */ unknown$1(),
51230
- ghost_id: /* @__PURE__ */ number$2(),
51231
- to: /* @__PURE__ */ unknown$1()
51232
- }),
51233
- execute: (input, { client }) => {
51234
- const data = input;
51235
- return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
51236
- client.httpClient,
51237
- client.organizationId,
51238
- client.workspaceIdNumber,
51239
- data.ghost_id,
51240
- data,
51241
- void 0
51242
- ]));
51243
- }
51244
- },
51245
52216
  {
51246
52217
  id: "focus.time-off.get-timeoff-for-user",
51247
52218
  family: "focus",
@@ -51273,37 +52244,6 @@ const generatedFocusOperations = [
51273
52244
  ]));
51274
52245
  }
51275
52246
  },
51276
- {
51277
- id: "focus.time-off.get-timeoffs-by-ghost-ids",
51278
- family: "focus",
51279
- resource: "time-off",
51280
- action: "get-timeoffs-by-ghost-ids",
51281
- title: "Get Timeoffs By Ghost Ids Time Off",
51282
- description: "Get Timeoffs By Ghost Ids Time Off.",
51283
- safety: "read",
51284
- destructive: false,
51285
- cli: {
51286
- group: ["time-off"],
51287
- command: "get-timeoffs-by-ghost-ids",
51288
- interactive: "hidden"
51289
- },
51290
- mcp: { entityTool: "time-off" },
51291
- inputSchema: /* @__PURE__ */ looseObject({
51292
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51293
- ghost_ids: /* @__PURE__ */ unknown$1(),
51294
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
51295
- }),
51296
- execute: (input, { client }) => {
51297
- const data = input;
51298
- return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
51299
- client.httpClient,
51300
- client.organizationId,
51301
- client.workspaceIdNumber,
51302
- data,
51303
- void 0
51304
- ]));
51305
- }
51306
- },
51307
52247
  {
51308
52248
  id: "focus.time-off.get-timeoffs-by-user-ids",
51309
52249
  family: "focus",
@@ -51334,37 +52274,6 @@ const generatedFocusOperations = [
51334
52274
  ]));
51335
52275
  }
51336
52276
  },
51337
- {
51338
- id: "focus.time-off.update-timeoff-for-ghost",
51339
- family: "focus",
51340
- resource: "time-off",
51341
- action: "update-timeoff-for-ghost",
51342
- title: "Update Timeoff For Ghost Time Off",
51343
- description: "Update Timeoff For Ghost Time Off.",
51344
- safety: "update",
51345
- destructive: false,
51346
- cli: {
51347
- group: ["time-off"],
51348
- command: "update-timeoff-for-ghost",
51349
- interactive: "hidden"
51350
- },
51351
- mcp: { entityTool: "time-off" },
51352
- inputSchema: /* @__PURE__ */ looseObject({
51353
- ghost_id: /* @__PURE__ */ number$2(),
51354
- payload: /* @__PURE__ */ unknown$1()
51355
- }),
51356
- execute: (input, { client }) => {
51357
- const data = input;
51358
- return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
51359
- client.httpClient,
51360
- client.organizationId,
51361
- client.workspaceIdNumber,
51362
- data.ghost_id,
51363
- data.payload ?? data.data ?? data,
51364
- void 0
51365
- ]));
51366
- }
51367
- },
51368
52277
  {
51369
52278
  id: "focus.time-off.update-timeoff-for-user",
51370
52279
  family: "focus",
@@ -52396,6 +53305,7 @@ const generatedFocusOperations = [
52396
53305
  pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52397
53306
  pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52398
53307
  pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53308
+ send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52399
53309
  send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52400
53310
  shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52401
53311
  show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -52497,37 +53407,6 @@ const generatedFocusOperations = [
52497
53407
  inputSchema: /* @__PURE__ */ looseObject({}),
52498
53408
  execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
52499
53409
  },
52500
- {
52501
- id: "focus.working-hours.create-for-ghost",
52502
- family: "focus",
52503
- resource: "working-hours",
52504
- action: "create-for-ghost",
52505
- title: "Create For Ghost Working Hours",
52506
- description: "Create For Ghost Working Hours.",
52507
- safety: "create",
52508
- destructive: false,
52509
- cli: {
52510
- group: ["working-hours"],
52511
- command: "create-for-ghost",
52512
- interactive: "hidden"
52513
- },
52514
- mcp: { entityTool: "working-hours" },
52515
- inputSchema: /* @__PURE__ */ looseObject({
52516
- ghost_id: /* @__PURE__ */ number$2(),
52517
- payload: /* @__PURE__ */ unknown$1()
52518
- }),
52519
- execute: (input, { client }) => {
52520
- const data = input;
52521
- return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
52522
- client.httpClient,
52523
- client.organizationId,
52524
- client.workspaceIdNumber,
52525
- data.ghost_id,
52526
- data.payload ?? data.data ?? data,
52527
- void 0
52528
- ]));
52529
- }
52530
- },
52531
53410
  {
52532
53411
  id: "focus.working-hours.create-for-user",
52533
53412
  family: "focus",
@@ -52558,37 +53437,6 @@ const generatedFocusOperations = [
52558
53437
  ]));
52559
53438
  }
52560
53439
  },
52561
- {
52562
- id: "focus.working-hours.delete-for-ghost",
52563
- family: "focus",
52564
- resource: "working-hours",
52565
- action: "delete-for-ghost",
52566
- title: "Delete For Ghost Working Hours",
52567
- description: "Delete For Ghost Working Hours.",
52568
- safety: "delete",
52569
- destructive: true,
52570
- cli: {
52571
- group: ["working-hours"],
52572
- command: "delete-for-ghost",
52573
- interactive: "hidden"
52574
- },
52575
- mcp: { entityTool: "working-hours" },
52576
- inputSchema: /* @__PURE__ */ looseObject({
52577
- ghost_id: /* @__PURE__ */ number$2(),
52578
- payload: /* @__PURE__ */ unknown$1()
52579
- }),
52580
- execute: (input, { client }) => {
52581
- const data = input;
52582
- return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
52583
- client.httpClient,
52584
- client.organizationId,
52585
- client.workspaceIdNumber,
52586
- data.ghost_id,
52587
- data.payload ?? data.data ?? data,
52588
- void 0
52589
- ]));
52590
- }
52591
- },
52592
53440
  {
52593
53441
  id: "focus.working-hours.delete-for-user",
52594
53442
  family: "focus",
@@ -52619,33 +53467,6 @@ const generatedFocusOperations = [
52619
53467
  ]));
52620
53468
  }
52621
53469
  },
52622
- {
52623
- id: "focus.working-hours.get-for-ghost",
52624
- family: "focus",
52625
- resource: "working-hours",
52626
- action: "get-for-ghost",
52627
- title: "Get For Ghost Working Hours",
52628
- description: "Get For Ghost Working Hours.",
52629
- safety: "read",
52630
- destructive: false,
52631
- cli: {
52632
- group: ["working-hours"],
52633
- command: "get-for-ghost",
52634
- interactive: "available"
52635
- },
52636
- mcp: { entityTool: "working-hours" },
52637
- inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
52638
- execute: (input, { client }) => {
52639
- const data = input;
52640
- return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
52641
- client.httpClient,
52642
- client.organizationId,
52643
- client.workspaceIdNumber,
52644
- data.ghost_id,
52645
- void 0
52646
- ]));
52647
- }
52648
- },
52649
53470
  {
52650
53471
  id: "focus.working-hours.get-for-user",
52651
53472
  family: "focus",
@@ -52672,37 +53493,6 @@ const generatedFocusOperations = [
52672
53493
  ]));
52673
53494
  }
52674
53495
  },
52675
- {
52676
- id: "focus.working-hours.update-for-ghost",
52677
- family: "focus",
52678
- resource: "working-hours",
52679
- action: "update-for-ghost",
52680
- title: "Update For Ghost Working Hours",
52681
- description: "Update For Ghost Working Hours.",
52682
- safety: "update",
52683
- destructive: false,
52684
- cli: {
52685
- group: ["working-hours"],
52686
- command: "update-for-ghost",
52687
- interactive: "hidden"
52688
- },
52689
- mcp: { entityTool: "working-hours" },
52690
- inputSchema: /* @__PURE__ */ looseObject({
52691
- ghost_id: /* @__PURE__ */ number$2(),
52692
- payload: /* @__PURE__ */ unknown$1()
52693
- }),
52694
- execute: (input, { client }) => {
52695
- const data = input;
52696
- return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
52697
- client.httpClient,
52698
- client.organizationId,
52699
- client.workspaceIdNumber,
52700
- data.ghost_id,
52701
- data.payload ?? data.data ?? data,
52702
- void 0
52703
- ]));
52704
- }
52705
- },
52706
53496
  {
52707
53497
  id: "focus.working-hours.update-for-user",
52708
53498
  family: "focus",
@@ -52777,6 +53567,50 @@ const generatedFocusOperations = [
52777
53567
  void 0
52778
53568
  ]))
52779
53569
  },
53570
+ {
53571
+ id: "focus.workspace-settings.get-workspace-export-branding",
53572
+ family: "focus",
53573
+ resource: "workspace-settings",
53574
+ action: "get-workspace-export-branding",
53575
+ title: "Get Workspace Export Branding Workspace Settings",
53576
+ description: "Get Workspace Export Branding Workspace Settings.",
53577
+ safety: "read",
53578
+ destructive: false,
53579
+ cli: {
53580
+ group: ["workspace-settings"],
53581
+ command: "get-workspace-export-branding",
53582
+ interactive: "hidden"
53583
+ },
53584
+ mcp: { entityTool: "workspace-settings" },
53585
+ inputSchema: /* @__PURE__ */ looseObject({}),
53586
+ execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
53587
+ client.httpClient,
53588
+ client.workspaceIdNumber,
53589
+ void 0
53590
+ ]))
53591
+ },
53592
+ {
53593
+ id: "focus.workspace-settings.get-workspace-watermark",
53594
+ family: "focus",
53595
+ resource: "workspace-settings",
53596
+ action: "get-workspace-watermark",
53597
+ title: "Get Workspace Watermark Workspace Settings",
53598
+ description: "Get Workspace Watermark Workspace Settings.",
53599
+ safety: "read",
53600
+ destructive: false,
53601
+ cli: {
53602
+ group: ["workspace-settings"],
53603
+ command: "get-workspace-watermark",
53604
+ interactive: "hidden"
53605
+ },
53606
+ mcp: { entityTool: "workspace-settings" },
53607
+ inputSchema: /* @__PURE__ */ looseObject({}),
53608
+ execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
53609
+ client.httpClient,
53610
+ client.workspaceIdNumber,
53611
+ void 0
53612
+ ]))
53613
+ },
52780
53614
  {
52781
53615
  id: "focus.workspace-settings.list",
52782
53616
  family: "focus",
@@ -52851,6 +53685,32 @@ const generatedFocusOperations = [
52851
53685
  ]));
52852
53686
  }
52853
53687
  },
53688
+ {
53689
+ id: "focus.workspace-settings.update-workspace-watermark",
53690
+ family: "focus",
53691
+ resource: "workspace-settings",
53692
+ action: "update-workspace-watermark",
53693
+ title: "Update Workspace Watermark Workspace Settings",
53694
+ description: "Update Workspace Watermark Workspace Settings.",
53695
+ safety: "update",
53696
+ destructive: false,
53697
+ cli: {
53698
+ group: ["workspace-settings"],
53699
+ command: "update-workspace-watermark",
53700
+ interactive: "default"
53701
+ },
53702
+ mcp: { entityTool: "workspace-settings" },
53703
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
53704
+ execute: (input, { client }) => {
53705
+ const data = input;
53706
+ return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
53707
+ client.httpClient,
53708
+ client.workspaceIdNumber,
53709
+ data.payload ?? data.data ?? data,
53710
+ void 0
53711
+ ]));
53712
+ }
53713
+ },
52854
53714
  {
52855
53715
  id: "focus.workspace.get-context",
52856
53716
  family: "focus",
@@ -53977,7 +54837,7 @@ function registerWorkspaceTools(server) {
53977
54837
  //#region src/package-version.ts
53978
54838
  function mcpPackageVersion() {
53979
54839
  try {
53980
- return "1.11.145";
54840
+ return "1.11.147";
53981
54841
  } catch {
53982
54842
  return "unknown";
53983
54843
  }
@@ -54152,7 +55012,7 @@ import_main.default.config({
54152
55012
  quiet: true,
54153
55013
  ignore: ["MISSING_ENV_FILE"]
54154
55014
  });
54155
- const packageVersion = "1.11.145";
55015
+ const packageVersion = "1.11.147";
54156
55016
  function resolvePublicUrls() {
54157
55017
  return {
54158
55018
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -54217,4 +55077,4 @@ function bootstrapServer(options = {}) {
54217
55077
  //#endregion
54218
55078
  export { getProductAnalyticsDistinctId as a, resolvePublicSentryDsn as c, captureToolInvocation as i, shutdownProductAnalytics as l, runMcpCli as n, initProductAnalytics as o, PUBLIC_SENTRY_PRIVACY_OPTIONS as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
54219
55079
 
54220
- //# sourceMappingURL=src-DM9DnITM.js.map
55080
+ //# sourceMappingURL=src-D6Bmw5zP.js.map