@togglhq/mcp 1.11.115 → 1.11.117

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,10 +32773,6 @@ 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
- /**
32780
32776
  * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp regex. Allows a
32781
32777
  * space as a date/time separator and an optional space before the UTC offset.
32782
32778
  */
@@ -32830,22 +32826,6 @@ function isoDate$1(message$1) {
32830
32826
  };
32831
32827
  }
32832
32828
  /* @__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__ */
32849
32829
  function isoTimestamp(message$1) {
32850
32830
  return {
32851
32831
  kind: "validation",
@@ -34645,11 +34625,7 @@ function safeParse(schema, input, config$1) {
34645
34625
  }
34646
34626
  const TaskAssignmentSchema = /* @__PURE__ */ object({
34647
34627
  id: /* @__PURE__ */ number(),
34648
- type: /* @__PURE__ */ picklist([
34649
- "user",
34650
- "ghost",
34651
- "team"
34652
- ])
34628
+ type: /* @__PURE__ */ picklist(["user", "team"])
34653
34629
  });
34654
34630
  const ClientLiteSchema = /* @__PURE__ */ object({
34655
34631
  id: /* @__PURE__ */ number(),
@@ -34691,7 +34667,8 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
34691
34667
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34692
34668
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
34693
34669
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34694
- rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
34670
+ rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
34671
+ recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("RecurringProjectID links an instance to its recurring template, so clients can lane an entry under a collapsed series.")))
34695
34672
  });
34696
34673
  const TaskMetadataSchema = /* @__PURE__ */ object({
34697
34674
  all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -34764,7 +34741,7 @@ const TaskSchema = /* @__PURE__ */ object({
34764
34741
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
34765
34742
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
34766
34743
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34767
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34744
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
34768
34745
  client: /* @__PURE__ */ optional(ClientLiteSchema),
34769
34746
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34770
34747
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -34772,7 +34749,6 @@ const TaskSchema = /* @__PURE__ */ object({
34772
34749
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34773
34750
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34774
34751
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34775
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
34776
34752
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34777
34753
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34778
34754
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -34782,6 +34758,7 @@ const TaskSchema = /* @__PURE__ */ object({
34782
34758
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34783
34759
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34784
34760
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34761
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34785
34762
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34786
34763
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34787
34764
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -34825,7 +34802,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34825
34802
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
34826
34803
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
34827
34804
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34828
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34805
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
34829
34806
  client: /* @__PURE__ */ optional(ClientLiteSchema),
34830
34807
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34831
34808
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -34833,7 +34810,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34833
34810
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34834
34811
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34835
34812
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34836
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
34837
34813
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
34838
34814
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34839
34815
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -34844,6 +34820,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
34844
34820
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34845
34821
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
34846
34822
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34823
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34847
34824
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34848
34825
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34849
34826
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -35002,7 +34979,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
35002
34979
  tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
35003
34980
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35004
34981
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35005
- timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
34982
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
35006
34983
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35007
34984
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
35008
34985
  });
@@ -35146,7 +35123,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
35146
35123
  task: /* @__PURE__ */ optional(TaskSchema),
35147
35124
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35148
35125
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35149
- timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
35126
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
35150
35127
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35151
35128
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
35152
35129
  })),
@@ -35158,9 +35135,15 @@ const TagSchema$1 = /* @__PURE__ */ object({
35158
35135
  id: /* @__PURE__ */ number(),
35159
35136
  name: /* @__PURE__ */ string(),
35160
35137
  workspace_id: /* @__PURE__ */ number(),
35138
+ archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()), /* @__PURE__ */ description("An archived tag disappears from the apply affordance but stays attached to and readable on every existing entity. Nothing cascades."))),
35161
35139
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35162
35140
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35163
- updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
35141
+ updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
35142
+ usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
35143
+ projects: /* @__PURE__ */ number(),
35144
+ tasks: /* @__PURE__ */ number(),
35145
+ time_entries: /* @__PURE__ */ number()
35146
+ })), /* @__PURE__ */ description("Counts of the projects, tasks and time entries whose tag set directly contains this tag. Only present on the tags list, for callers with unrestricted project access.")))
35164
35147
  });
35165
35148
  const PaginatedTagsSchema = /* @__PURE__ */ object({
35166
35149
  data: /* @__PURE__ */ array(TagSchema$1),
@@ -35171,8 +35154,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
35171
35154
  const OrganizationUserResponseSchema = /* @__PURE__ */ object({
35172
35155
  "2fa_enabled": /* @__PURE__ */ boolean(),
35173
35156
  account_locked_at: /* @__PURE__ */ string(),
35157
+ accounts_role_id: /* @__PURE__ */ number(),
35174
35158
  active: /* @__PURE__ */ boolean(),
35175
- admin: /* @__PURE__ */ boolean(),
35176
35159
  can_edit_personal_details: /* @__PURE__ */ boolean(),
35177
35160
  created_at: /* @__PURE__ */ string(),
35178
35161
  deleted_at: /* @__PURE__ */ string(),
@@ -35221,7 +35204,9 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
35221
35204
  track_role_id: /* @__PURE__ */ number(),
35222
35205
  work_role_id: /* @__PURE__ */ number(),
35223
35206
  workspace_user_id: /* @__PURE__ */ number()
35224
- }))
35207
+ })),
35208
+ custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
35209
+ has_calendar_integration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("HasCalendarIntegration is true when the member has a calendar connected in Focus. The field is present only when the request sets include_calendar_integration to true and the calendar lookup succeeded. The field is absent when the lookup failed. Absent means unknown. It does not mean false. A member who connected a calendar in another product stays false here until they open the Focus calendar integrations page.")))
35225
35210
  });
35226
35211
  const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35227
35212
  const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
@@ -35298,8 +35283,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35298
35283
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35299
35284
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35300
35285
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35301
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35302
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35286
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
35303
35287
  integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35304
35288
  integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35305
35289
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -35315,6 +35299,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35315
35299
  priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35316
35300
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35317
35301
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
35302
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35318
35303
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35319
35304
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
35320
35305
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -35324,22 +35309,23 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
35324
35309
  const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35325
35310
  const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
35326
35311
  cascade_duplicate_children: /* @__PURE__ */ boolean(),
35327
- task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
35312
+ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)),
35313
+ private: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Optional privacy override applied to every duplicated task (and cascaded children). When omitted, each task keeps the source task's private flag. Used when FE must force public (plan lacks private tasks) or private (user can only create private) instead of falling back to composite create.")))
35328
35314
  });
35329
35315
  const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35330
35316
  const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
35331
35317
  const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35318
+ after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35332
35319
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
35333
35320
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35334
35321
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35335
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35322
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35336
35323
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35337
35324
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
35338
35325
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35339
35326
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35340
35327
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35341
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35342
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35328
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
35343
35329
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35344
35330
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35345
35331
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35356,6 +35342,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35356
35342
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35357
35343
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35358
35344
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35345
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35359
35346
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35360
35347
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35361
35348
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -35364,17 +35351,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
35364
35351
  });
35365
35352
  const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35366
35353
  id: /* @__PURE__ */ number(),
35354
+ after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35367
35355
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
35368
35356
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35369
35357
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35370
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35358
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
35371
35359
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35372
35360
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
35373
35361
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35374
35362
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35375
35363
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
35376
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35377
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
35364
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
35378
35365
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35379
35366
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35380
35367
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -35391,6 +35378,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
35391
35378
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35392
35379
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35393
35380
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
35381
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
35394
35382
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35395
35383
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
35396
35384
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -37314,7 +37302,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
37314
37302
  })
37315
37303
  }).json();
37316
37304
  }
37317
- async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group } = {}, signal) {
37305
+ async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
37318
37306
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
37319
37307
  signal,
37320
37308
  searchParams: buildSearchParams$2({
@@ -37334,7 +37322,10 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
37334
37322
  include_working_hours,
37335
37323
  include_rates,
37336
37324
  pinned_ids,
37337
- has_group
37325
+ has_group,
37326
+ cf_filter,
37327
+ include_custom_fields,
37328
+ include_calendar_integration
37338
37329
  }, true)
37339
37330
  });
37340
37331
  return withResponseMeta(await response.json(), response.headers, response.status);
@@ -37353,7 +37344,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
37353
37344
  }
37354
37345
  //#endregion
37355
37346
  //#region ../focus-queries/dist/tags/requests.ts
37356
- async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
37347
+ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
37357
37348
  return await httpClient.get(`workspaces/${workspace_id}/tags`, {
37358
37349
  signal,
37359
37350
  searchParams: buildSearchParams$2({
@@ -37361,7 +37352,10 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
37361
37352
  page,
37362
37353
  per_page,
37363
37354
  order_by,
37364
- tag_id
37355
+ tag_id,
37356
+ include_usage,
37357
+ include_archived,
37358
+ archived
37365
37359
  })
37366
37360
  }).json();
37367
37361
  }
@@ -37371,6 +37365,42 @@ async function createTag(httpClient, workspace_id, data, signal) {
37371
37365
  json: data
37372
37366
  }).json();
37373
37367
  }
37368
+ async function bulkCreateTags(httpClient, workspace_id, data, signal) {
37369
+ return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
37370
+ signal,
37371
+ json: data
37372
+ }).json();
37373
+ }
37374
+ async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
37375
+ return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
37376
+ signal,
37377
+ searchParams: buildSearchParams$2({ ids })
37378
+ }).json();
37379
+ }
37380
+ async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
37381
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
37382
+ signal,
37383
+ json: data
37384
+ }).json();
37385
+ }
37386
+ async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
37387
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
37388
+ signal,
37389
+ json: data
37390
+ }).json();
37391
+ }
37392
+ async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
37393
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
37394
+ signal,
37395
+ json: data
37396
+ }).json();
37397
+ }
37398
+ async function mergeTags(httpClient, workspace_id, data, signal) {
37399
+ return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
37400
+ signal,
37401
+ json: data
37402
+ }).json();
37403
+ }
37374
37404
  async function getTag(httpClient, workspace_id, tag_id, signal) {
37375
37405
  return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
37376
37406
  }
@@ -37383,12 +37413,18 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
37383
37413
  async function deleteTag(httpClient, workspace_id, tag_id, signal) {
37384
37414
  return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
37385
37415
  }
37416
+ async function archiveTag(httpClient, workspace_id, tag_id, signal) {
37417
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
37418
+ }
37386
37419
  async function restoreTag(httpClient, workspace_id, tag_id, signal) {
37387
37420
  return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
37388
37421
  }
37422
+ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
37423
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
37424
+ }
37389
37425
  //#endregion
37390
37426
  //#region ../focus-queries/dist/projects/requests.ts
37391
- async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, 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) {
37427
+ async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
37392
37428
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37393
37429
  signal,
37394
37430
  searchParams: buildSearchParams$2({
@@ -37406,9 +37442,11 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
37406
37442
  assignee_user_id,
37407
37443
  project_id,
37408
37444
  user_id,
37445
+ only_me,
37409
37446
  include_rates,
37410
37447
  include_rollover,
37411
37448
  include_idle_recurring_templates,
37449
+ collapse_recurring,
37412
37450
  include_drafts,
37413
37451
  include_locked_private,
37414
37452
  start_date,
@@ -37639,7 +37677,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
37639
37677
  }
37640
37678
  //#endregion
37641
37679
  //#region ../focus-queries/dist/tasks/requests.ts
37642
- 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) {
37680
+ async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
37643
37681
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
37644
37682
  signal,
37645
37683
  searchParams: buildSearchParams$2({
@@ -37687,10 +37725,8 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
37687
37725
  recurring_task_ids,
37688
37726
  client_id,
37689
37727
  include_rates,
37690
- include_ghost_assignees,
37691
37728
  include_assignees,
37692
37729
  include_parent_matches,
37693
- assignee_ghost_id,
37694
37730
  disable_aggregations,
37695
37731
  cf_filter
37696
37732
  })
@@ -37776,7 +37812,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
37776
37812
  })
37777
37813
  }).json();
37778
37814
  }
37779
- 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) {
37815
+ async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
37780
37816
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
37781
37817
  signal,
37782
37818
  searchParams: buildSearchParams$2({
@@ -37789,14 +37825,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
37789
37825
  dates_overlap_end,
37790
37826
  recurring_task_ids,
37791
37827
  team_id,
37828
+ assignee_team_id,
37792
37829
  assignee_user_id,
37793
37830
  tag_id,
37794
- include_ghost_assignees,
37795
37831
  include_assignees
37796
37832
  })
37797
37833
  }).json();
37798
37834
  }
37799
- 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) {
37835
+ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
37800
37836
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
37801
37837
  signal,
37802
37838
  searchParams: buildSearchParams$2({
@@ -37840,20 +37876,15 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
37840
37876
  recurring,
37841
37877
  recurring_task_ids,
37842
37878
  client_id,
37843
- include_ghost_assignees,
37844
37879
  include_assignees,
37845
- assignee_ghost_id,
37846
37880
  cf_filter
37847
37881
  })
37848
37882
  }).json();
37849
37883
  }
37850
- async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
37884
+ async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
37851
37885
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
37852
37886
  signal,
37853
- searchParams: buildSearchParams$2({
37854
- include_ghost_assignees,
37855
- include_assignees
37856
- })
37887
+ searchParams: buildSearchParams$2({ include_assignees })
37857
37888
  }).json();
37858
37889
  }
37859
37890
  async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
@@ -37884,7 +37915,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
37884
37915
  searchParams: buildSearchParams$2({ from_recurring_task_id })
37885
37916
  }).json();
37886
37917
  }
37887
- 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) {
37918
+ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
37888
37919
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
37889
37920
  signal,
37890
37921
  searchParams: buildSearchParams$2({
@@ -37897,12 +37928,11 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
37897
37928
  team_id,
37898
37929
  assignee_user_id,
37899
37930
  tag_id,
37900
- include_ghost_assignees,
37901
37931
  include_assignees
37902
37932
  })
37903
37933
  }).json();
37904
37934
  }
37905
- 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) {
37935
+ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
37906
37936
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
37907
37937
  signal,
37908
37938
  searchParams: buildSearchParams$2({
@@ -37915,7 +37945,6 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
37915
37945
  team_id,
37916
37946
  assignee_user_id,
37917
37947
  tag_id,
37918
- include_ghost_assignees,
37919
37948
  include_assignees
37920
37949
  })
37921
37950
  }).json();
@@ -38017,6 +38046,12 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
38017
38046
  })
38018
38047
  }).json();
38019
38048
  }
38049
+ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
38050
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
38051
+ signal,
38052
+ json: data
38053
+ }).json();
38054
+ }
38020
38055
  async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
38021
38056
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
38022
38057
  signal,
@@ -38153,7 +38188,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38153
38188
  ]))
38154
38189
  });
38155
38190
  //#endregion
38156
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.100_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_75c6d744ada0817e6bd78ac84ea8ebf2/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38191
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.102_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_dbf4e2e8080ba396a1c6be039dd72169/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38157
38192
  async function getInvitations(httpClient, signal) {
38158
38193
  return (await httpClient.get(`invitations`, { signal })).json();
38159
38194
  }
@@ -38170,7 +38205,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38170
38205
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38171
38206
  }
38172
38207
  //#endregion
38173
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.100_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_75c6d744ada0817e6bd78ac84ea8ebf2/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38208
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.102_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_dbf4e2e8080ba396a1c6be039dd72169/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38174
38209
  function buildSearchParams(params, flattenArrays = false) {
38175
38210
  const searchParams = new URLSearchParams();
38176
38211
  Object.entries(params).forEach(([key, value]) => {
@@ -38182,7 +38217,7 @@ function buildSearchParams(params, flattenArrays = false) {
38182
38217
  return searchParams;
38183
38218
  }
38184
38219
  //#endregion
38185
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.100_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_75c6d744ada0817e6bd78ac84ea8ebf2/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38220
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.102_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_dbf4e2e8080ba396a1c6be039dd72169/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38186
38221
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38187
38222
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38188
38223
  }
@@ -38196,7 +38231,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38196
38231
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38197
38232
  }
38198
38233
  //#endregion
38199
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.100_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_75c6d744ada0817e6bd78ac84ea8ebf2/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38234
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.102_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_dbf4e2e8080ba396a1c6be039dd72169/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38200
38235
  async function getWorkspaces(httpClient, organization_id, signal) {
38201
38236
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38202
38237
  }
@@ -38205,7 +38240,7 @@ async function getWorkspaceUserMeRoles(httpClient, organization_id, workspace_id
38205
38240
  }
38206
38241
  const WorkingHoursCreateInputSchema = /* @__PURE__ */ object$2({
38207
38242
  working_hours: /* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ maxValue$1(168)),
38208
- starting_hours: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ minValue$1(0), /* @__PURE__ */ maxValue$1(24))),
38243
+ starting_hours: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ maxValue$1(24))),
38209
38244
  weekday: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ minValue$1(0), /* @__PURE__ */ maxValue$1(6)))
38210
38245
  });
38211
38246
  const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
@@ -38216,7 +38251,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38216
38251
  });
38217
38252
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38218
38253
  //#endregion
38219
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.100_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_75c6d744ada0817e6bd78ac84ea8ebf2/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38254
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.102_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_dbf4e2e8080ba396a1c6be039dd72169/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38220
38255
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38221
38256
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38222
38257
  signal,
@@ -38227,12 +38262,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38227
38262
  })).json();
38228
38263
  }
38229
38264
  //#endregion
38230
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.100_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_75c6d744ada0817e6bd78ac84ea8ebf2/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38265
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.102_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_dbf4e2e8080ba396a1c6be039dd72169/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38231
38266
  async function getStatus(httpClient, signal) {
38232
38267
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38233
38268
  }
38234
38269
  //#endregion
38235
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.100_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_75c6d744ada0817e6bd78ac84ea8ebf2/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38270
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.102_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_dbf4e2e8080ba396a1c6be039dd72169/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38236
38271
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38237
38272
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38238
38273
  signal,
@@ -38260,7 +38295,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38260
38295
  return response.json();
38261
38296
  }
38262
38297
  //#endregion
38263
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.100_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_75c6d744ada0817e6bd78ac84ea8ebf2/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38298
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.102_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_dbf4e2e8080ba396a1c6be039dd72169/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38264
38299
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38265
38300
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38266
38301
  }
@@ -41864,6 +41899,21 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
41864
41899
  }
41865
41900
  //#endregion
41866
41901
  //#region ../focus-queries/dist/audit-log/requests.ts
41902
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
41903
+ return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
41904
+ signal,
41905
+ searchParams: buildSearchParams$2({
41906
+ workspace_id,
41907
+ entity_type,
41908
+ entity_id,
41909
+ action,
41910
+ user_id,
41911
+ page_size,
41912
+ page_number,
41913
+ export: export_
41914
+ })
41915
+ }).json();
41916
+ }
41867
41917
  async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
41868
41918
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
41869
41919
  signal,
@@ -42022,33 +42072,22 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
42022
42072
  }
42023
42073
  //#endregion
42024
42074
  //#region ../focus-queries/dist/capacities/requests.ts
42025
- 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) {
42075
+ async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
42026
42076
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
42027
42077
  signal,
42028
42078
  searchParams: buildSearchParams$2({
42029
42079
  user_id,
42030
42080
  start_date,
42031
42081
  end_date,
42032
- ghost_id,
42033
42082
  private: private_,
42034
42083
  task_source,
42035
42084
  unit,
42036
- include_drafts
42085
+ include_drafts,
42086
+ include_task_estimates
42037
42087
  })
42038
42088
  }).json();
42039
42089
  }
42040
42090
  //#endregion
42041
- //#region ../focus-queries/dist/capacity-settings/requests.ts
42042
- async function getCapacitySettings(httpClient, workspace_id, signal) {
42043
- return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
42044
- }
42045
- async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
42046
- return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
42047
- signal,
42048
- json: data
42049
- }).json();
42050
- }
42051
- //#endregion
42052
42091
  //#region ../focus-queries/dist/composite/requests.ts
42053
42092
  async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
42054
42093
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
@@ -42131,6 +42170,12 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
42131
42170
  async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
42132
42171
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
42133
42172
  }
42173
+ async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
42174
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
42175
+ signal,
42176
+ json: data
42177
+ }).json();
42178
+ }
42134
42179
  //#endregion
42135
42180
  //#region ../focus-queries/dist/goals/requests.ts
42136
42181
  async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
@@ -42356,7 +42401,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
42356
42401
  }
42357
42402
  //#endregion
42358
42403
  //#region ../focus-queries/dist/project-groups/requests.ts
42359
- 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) {
42404
+ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, cf_filter } = {}, signal) {
42360
42405
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
42361
42406
  signal,
42362
42407
  searchParams: buildSearchParams$2({
@@ -42368,6 +42413,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42368
42413
  include_group_totals,
42369
42414
  include_unassigned,
42370
42415
  archived,
42416
+ completed,
42371
42417
  private: private_,
42372
42418
  name,
42373
42419
  client_id,
@@ -42379,6 +42425,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
42379
42425
  start_date,
42380
42426
  end_date,
42381
42427
  user_id,
42428
+ only_me,
42382
42429
  include_drafts,
42383
42430
  cf_filter
42384
42431
  })
@@ -42494,10 +42541,14 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
42494
42541
  }
42495
42542
  //#endregion
42496
42543
  //#region ../focus-queries/dist/reports/requests.ts
42497
- async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
42544
+ async function getForecastAvailability(httpClient, workspace_id, signal) {
42545
+ return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
42546
+ }
42547
+ async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
42498
42548
  return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
42499
42549
  signal,
42500
42550
  json: data,
42551
+ headers: { "X-Toggl-Report-Export": xTogglReportExport },
42501
42552
  searchParams: buildSearchParams$2({
42502
42553
  response_format,
42503
42554
  include_dicts
@@ -42521,12 +42572,36 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
42521
42572
  json: data
42522
42573
  }).json();
42523
42574
  }
42524
- async function getWorkloadReport(httpClient, workspace_id, data, signal) {
42575
+ async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
42576
+ return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
42577
+ signal,
42578
+ json: data
42579
+ }).json();
42580
+ }
42581
+ async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
42525
42582
  return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
42583
+ signal,
42584
+ json: data,
42585
+ headers: { "X-Toggl-Report-Export": xTogglReportExport }
42586
+ }).json();
42587
+ }
42588
+ //#endregion
42589
+ //#region ../focus-queries/dist/reportschedules/requests.ts
42590
+ async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
42591
+ return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
42592
+ signal,
42593
+ json: data
42594
+ }).json();
42595
+ }
42596
+ async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
42597
+ return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
42526
42598
  signal,
42527
42599
  json: data
42528
42600
  }).json();
42529
42601
  }
42602
+ async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
42603
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
42604
+ }
42530
42605
  //#endregion
42531
42606
  //#region ../focus-queries/dist/savedviews/requests.ts
42532
42607
  async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
@@ -42559,7 +42634,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
42559
42634
  }
42560
42635
  //#endregion
42561
42636
  //#region ../focus-queries/dist/search/requests.ts
42562
- 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) {
42637
+ async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
42563
42638
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
42564
42639
  signal,
42565
42640
  searchParams: buildSearchParams$2({
@@ -42571,11 +42646,56 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
42571
42646
  task_id,
42572
42647
  include_drafts,
42573
42648
  exclude_calendar_events,
42574
- group_by_tags
42649
+ group_by_tags,
42650
+ only_me
42651
+ })
42652
+ }).json();
42653
+ }
42654
+ async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
42655
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
42656
+ signal,
42657
+ searchParams: buildSearchParams$2({
42658
+ keyword,
42659
+ per_group
42575
42660
  })
42576
42661
  }).json();
42577
42662
  }
42578
42663
  //#endregion
42664
+ //#region ../focus-queries/dist/sharedreports/requests.ts
42665
+ async function shareSavedView(httpClient, workspace_id, id, data, signal) {
42666
+ return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
42667
+ signal,
42668
+ json: data
42669
+ }).json();
42670
+ }
42671
+ async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
42672
+ return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
42673
+ }
42674
+ async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
42675
+ return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
42676
+ signal,
42677
+ json: data
42678
+ }).json();
42679
+ }
42680
+ async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
42681
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
42682
+ }
42683
+ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
42684
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
42685
+ }
42686
+ async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
42687
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
42688
+ }
42689
+ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
42690
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
42691
+ signal,
42692
+ json: data
42693
+ }).json();
42694
+ }
42695
+ async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
42696
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
42697
+ }
42698
+ //#endregion
42579
42699
  //#region ../focus-queries/dist/subscriptions/requests.ts
42580
42700
  async function getCurrentSubscription(httpClient, organization_id, signal) {
42581
42701
  return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
@@ -42631,7 +42751,77 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
42631
42751
  }
42632
42752
  //#endregion
42633
42753
  //#region ../focus-queries/dist/task-groups/requests.ts
42634
- 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) {
42754
+ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter }, signal) {
42755
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
42756
+ signal,
42757
+ searchParams: buildSearchParams$2({
42758
+ project_id,
42759
+ source,
42760
+ priority,
42761
+ status_id,
42762
+ client_id,
42763
+ assignee_user_id,
42764
+ tag_id,
42765
+ team_id,
42766
+ user_tag_id,
42767
+ group_id,
42768
+ creator_id,
42769
+ name,
42770
+ start_date,
42771
+ end_date,
42772
+ start_date_from,
42773
+ start_date_to,
42774
+ end_date_from,
42775
+ end_date_to,
42776
+ private: private_,
42777
+ exclude_empty,
42778
+ include_unassigned,
42779
+ include_unmaterialized,
42780
+ collapse_recurring,
42781
+ include_assignees,
42782
+ min_days,
42783
+ include_drafts,
42784
+ cf_filter,
42785
+ user_cf_filter
42786
+ })
42787
+ }).json();
42788
+ }
42789
+ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter } = {}, signal) {
42790
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
42791
+ signal,
42792
+ searchParams: buildSearchParams$2({
42793
+ team_id,
42794
+ project_id,
42795
+ source,
42796
+ priority,
42797
+ status_id,
42798
+ client_id,
42799
+ assignee_user_id,
42800
+ tag_id,
42801
+ user_tag_id,
42802
+ group_id,
42803
+ creator_id,
42804
+ name,
42805
+ start_date,
42806
+ end_date,
42807
+ start_date_from,
42808
+ start_date_to,
42809
+ end_date_from,
42810
+ end_date_to,
42811
+ private: private_,
42812
+ exclude_empty,
42813
+ include_unassigned,
42814
+ include_unmaterialized,
42815
+ collapse_recurring,
42816
+ include_assignees,
42817
+ min_days,
42818
+ include_drafts,
42819
+ cf_filter,
42820
+ user_cf_filter
42821
+ })
42822
+ }).json();
42823
+ }
42824
+ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, page, per_page, order_by } = {}, signal) {
42635
42825
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
42636
42826
  signal,
42637
42827
  searchParams: buildSearchParams$2({
@@ -42655,11 +42845,14 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
42655
42845
  end_date_to,
42656
42846
  private: private_,
42657
42847
  exclude_empty,
42658
- include_ghosts,
42848
+ include_unassigned,
42849
+ include_unmaterialized,
42850
+ collapse_recurring,
42659
42851
  include_assignees,
42660
42852
  min_days,
42661
42853
  include_drafts,
42662
42854
  cf_filter,
42855
+ user_cf_filter,
42663
42856
  page,
42664
42857
  per_page,
42665
42858
  order_by
@@ -42796,17 +42989,18 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
42796
42989
  }).json();
42797
42990
  }
42798
42991
  //#endregion
42799
- //#region ../focus-queries/dist/time-log-suggestions/requests.ts
42800
- async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
42801
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
42802
- signal,
42803
- json: data
42804
- }).json();
42805
- }
42806
- async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
42807
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
42992
+ //#region ../focus-queries/dist/time-entry-groups/requests.ts
42993
+ async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
42994
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
42808
42995
  signal,
42809
- json: data
42996
+ searchParams: buildSearchParams$2({
42997
+ start_date,
42998
+ end_date,
42999
+ user_id,
43000
+ page,
43001
+ per_page,
43002
+ order_by
43003
+ })
42810
43004
  }).json();
42811
43005
  }
42812
43006
  //#endregion
@@ -42848,43 +43042,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
42848
43042
  json: data
42849
43043
  }).json();
42850
43044
  }
42851
- async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
42852
- return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
42853
- signal,
42854
- searchParams: buildSearchParams$2({
42855
- ghost_ids,
42856
- start_date,
42857
- end_date
42858
- })
42859
- }).json();
42860
- }
42861
- async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
42862
- return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42863
- signal,
42864
- searchParams: buildSearchParams$2({
42865
- from,
42866
- to
42867
- })
42868
- }).json();
42869
- }
42870
- async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
42871
- return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42872
- signal,
42873
- json: data
42874
- }).json();
42875
- }
42876
- async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
42877
- return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42878
- signal,
42879
- json: data
42880
- }).json();
42881
- }
42882
- async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
42883
- return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
42884
- signal,
42885
- json: data
42886
- }).json();
42887
- }
42888
43045
  //#endregion
42889
43046
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
42890
43047
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -43077,27 +43234,6 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
43077
43234
  json: data
43078
43235
  }).json();
43079
43236
  }
43080
- async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
43081
- return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
43082
- }
43083
- async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
43084
- return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
43085
- signal,
43086
- json: data
43087
- }).json();
43088
- }
43089
- async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
43090
- return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
43091
- signal,
43092
- json: data
43093
- }).json();
43094
- }
43095
- async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
43096
- return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
43097
- signal,
43098
- json: data
43099
- }).json();
43100
- }
43101
43237
  //#endregion
43102
43238
  //#region ../focus-queries/dist/workspace/requests.ts
43103
43239
  async function getWorkspaceContext(httpClient, workspace_id, signal) {
@@ -43114,6 +43250,9 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
43114
43250
  json: data
43115
43251
  }).json();
43116
43252
  }
43253
+ async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
43254
+ return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
43255
+ }
43117
43256
  async function getUserPermissions(httpClient, workspace_id, signal) {
43118
43257
  return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
43119
43258
  }
@@ -43126,6 +43265,15 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
43126
43265
  json: data
43127
43266
  }).json();
43128
43267
  }
43268
+ async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
43269
+ return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
43270
+ }
43271
+ async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
43272
+ return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
43273
+ signal,
43274
+ json: data
43275
+ }).json();
43276
+ }
43129
43277
  //#endregion
43130
43278
  //#region ../operations/build/index.public.js
43131
43279
  function callGeneratedRequest(request, args) {
@@ -43261,17 +43409,17 @@ const generatedFocusOperations = [
43261
43409
  ]))
43262
43410
  },
43263
43411
  {
43264
- id: "focus.audit-log.list",
43412
+ id: "focus.audit-log.get-organization",
43265
43413
  family: "focus",
43266
43414
  resource: "audit-log",
43267
- action: "list",
43268
- title: "List Audit Log",
43269
- description: "List Audit Log.",
43415
+ action: "get-organization",
43416
+ title: "Get Organization Audit Log",
43417
+ description: "Get Organization Audit Log.",
43270
43418
  safety: "read",
43271
43419
  destructive: false,
43272
43420
  cli: {
43273
43421
  group: ["audit-log"],
43274
- command: "list",
43422
+ command: "get-organization",
43275
43423
  interactive: "hidden"
43276
43424
  },
43277
43425
  mcp: { entityTool: "audit-log" },
@@ -43285,11 +43433,51 @@ const generatedFocusOperations = [
43285
43433
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43286
43434
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43287
43435
  to: /* @__PURE__ */ string$1(),
43288
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43436
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43437
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43289
43438
  }),
43290
43439
  execute: (input, { client }) => {
43291
43440
  const data = input;
43292
- return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
43441
+ return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
43442
+ client.httpClient,
43443
+ client.organizationId,
43444
+ data.from,
43445
+ data.to,
43446
+ data,
43447
+ void 0
43448
+ ]));
43449
+ }
43450
+ },
43451
+ {
43452
+ id: "focus.audit-log.list",
43453
+ family: "focus",
43454
+ resource: "audit-log",
43455
+ action: "list",
43456
+ title: "List Audit Log",
43457
+ description: "List Audit Log.",
43458
+ safety: "read",
43459
+ destructive: false,
43460
+ cli: {
43461
+ group: ["audit-log"],
43462
+ command: "list",
43463
+ interactive: "hidden"
43464
+ },
43465
+ mcp: { entityTool: "audit-log" },
43466
+ inputSchema: /* @__PURE__ */ looseObject({
43467
+ action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43468
+ entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43469
+ entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43470
+ export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43471
+ export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43472
+ from: /* @__PURE__ */ string$1(),
43473
+ page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43474
+ page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
43475
+ to: /* @__PURE__ */ string$1(),
43476
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43477
+ }),
43478
+ execute: (input, { client }) => {
43479
+ const data = input;
43480
+ return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
43293
43481
  client.httpClient,
43294
43482
  client.organizationId,
43295
43483
  client.workspaceIdNumber,
@@ -43317,9 +43505,9 @@ const generatedFocusOperations = [
43317
43505
  mcp: { entityTool: "capacities" },
43318
43506
  inputSchema: /* @__PURE__ */ looseObject({
43319
43507
  end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43320
- ghost_id: /* @__PURE__ */ number$2(),
43321
43508
  group: /* @__PURE__ */ picklist$1(["users"]),
43322
43509
  include_drafts: /* @__PURE__ */ unknown$1(),
43510
+ include_task_estimates: /* @__PURE__ */ unknown$1(),
43323
43511
  private_: /* @__PURE__ */ unknown$1(),
43324
43512
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43325
43513
  task_source: /* @__PURE__ */ unknown$1(),
@@ -43338,54 +43526,6 @@ const generatedFocusOperations = [
43338
43526
  ]));
43339
43527
  }
43340
43528
  },
43341
- {
43342
- id: "focus.capacities.settings-list",
43343
- family: "focus",
43344
- resource: "capacities",
43345
- action: "settings-list",
43346
- title: "Settings List Capacities",
43347
- description: "Settings List Capacities.",
43348
- safety: "read",
43349
- destructive: false,
43350
- cli: {
43351
- group: ["capacities", "settings"],
43352
- command: "list",
43353
- interactive: "hidden"
43354
- },
43355
- mcp: { entityTool: "capacities" },
43356
- inputSchema: /* @__PURE__ */ looseObject({}),
43357
- execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
43358
- client.httpClient,
43359
- client.workspaceIdNumber,
43360
- void 0
43361
- ]))
43362
- },
43363
- {
43364
- id: "focus.capacities.settings-update",
43365
- family: "focus",
43366
- resource: "capacities",
43367
- action: "settings-update",
43368
- title: "Settings Update Capacities",
43369
- description: "Settings Update Capacities.",
43370
- safety: "update",
43371
- destructive: false,
43372
- cli: {
43373
- group: ["capacities", "settings"],
43374
- command: "update",
43375
- interactive: "default"
43376
- },
43377
- mcp: { entityTool: "capacities" },
43378
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
43379
- execute: (input, { client }) => {
43380
- const data = input;
43381
- return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
43382
- client.httpClient,
43383
- client.workspaceIdNumber,
43384
- data.payload ?? data.data ?? data,
43385
- void 0
43386
- ]));
43387
- }
43388
- },
43389
43529
  {
43390
43530
  id: "focus.clients.create",
43391
43531
  family: "focus",
@@ -43580,8 +43720,7 @@ const generatedFocusOperations = [
43580
43720
  hourly_rate: /* @__PURE__ */ number$2(),
43581
43721
  start_at: apiDateTimeString,
43582
43722
  end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
43583
- }))),
43584
- resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
43723
+ })))
43585
43724
  }) }),
43586
43725
  execute: (input, { client }) => {
43587
43726
  const data = input;
@@ -43636,6 +43775,7 @@ const generatedFocusOperations = [
43636
43775
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43637
43776
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43638
43777
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43778
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43639
43779
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43640
43780
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43641
43781
  }),
@@ -43668,6 +43808,7 @@ const generatedFocusOperations = [
43668
43808
  priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
43669
43809
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43670
43810
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
43811
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
43671
43812
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
43672
43813
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
43673
43814
  }))),
@@ -43723,7 +43864,11 @@ const generatedFocusOperations = [
43723
43864
  },
43724
43865
  mcp: { entityTool: "custom-fields" },
43725
43866
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
43726
- entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
43867
+ entity_type: /* @__PURE__ */ picklist$1([
43868
+ "project",
43869
+ "task",
43870
+ "user"
43871
+ ]),
43727
43872
  field_type: /* @__PURE__ */ picklist$1([
43728
43873
  "select",
43729
43874
  "multi_select",
@@ -44056,7 +44201,11 @@ const generatedFocusOperations = [
44056
44201
  },
44057
44202
  mcp: { entityTool: "custom-fields" },
44058
44203
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
44059
- entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
44204
+ entity_type: /* @__PURE__ */ picklist$1([
44205
+ "project",
44206
+ "task",
44207
+ "user"
44208
+ ]),
44060
44209
  ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
44061
44210
  }) }),
44062
44211
  execute: (input, { client }) => {
@@ -44070,6 +44219,37 @@ const generatedFocusOperations = [
44070
44219
  ]));
44071
44220
  }
44072
44221
  },
44222
+ {
44223
+ id: "focus.custom-fields.update-user-custom-field-values",
44224
+ family: "focus",
44225
+ resource: "custom-fields",
44226
+ action: "update-user-custom-field-values",
44227
+ title: "Update User Custom Field Values Custom Fields",
44228
+ description: "Update User Custom Field Values Custom Fields.",
44229
+ safety: "update",
44230
+ destructive: false,
44231
+ cli: {
44232
+ group: ["custom-fields"],
44233
+ command: "update-user-custom-field-values",
44234
+ interactive: "hidden"
44235
+ },
44236
+ mcp: { entityTool: "custom-fields" },
44237
+ inputSchema: /* @__PURE__ */ looseObject({
44238
+ payload: /* @__PURE__ */ unknown$1(),
44239
+ user_id: /* @__PURE__ */ number$2()
44240
+ }),
44241
+ execute: (input, { client }) => {
44242
+ const data = input;
44243
+ return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
44244
+ client.httpClient,
44245
+ client.organizationId,
44246
+ client.workspaceIdNumber,
44247
+ data.user_id,
44248
+ data.payload ?? data.data ?? data,
44249
+ void 0
44250
+ ]));
44251
+ }
44252
+ },
44073
44253
  {
44074
44254
  id: "focus.goals.create",
44075
44255
  family: "focus",
@@ -44289,10 +44469,22 @@ const generatedFocusOperations = [
44289
44469
  goal_id: /* @__PURE__ */ number$2(),
44290
44470
  payload: /* @__PURE__ */ looseObject({
44291
44471
  active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44472
+ client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44292
44473
  comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44293
44474
  icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44294
44475
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
44295
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
44476
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44477
+ recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
44478
+ "daily",
44479
+ "weekly",
44480
+ "daily_workdays",
44481
+ "monthly"
44482
+ ])),
44483
+ start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
44484
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44485
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44486
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
44487
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
44296
44488
  })
44297
44489
  }),
44298
44490
  execute: (input, { client }) => {
@@ -45625,6 +45817,7 @@ const generatedFocusOperations = [
45625
45817
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45626
45818
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45627
45819
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45820
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45628
45821
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45629
45822
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
45630
45823
  group: /* @__PURE__ */ string$1(),
@@ -45632,6 +45825,7 @@ const generatedFocusOperations = [
45632
45825
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45633
45826
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45634
45827
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45828
+ only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45635
45829
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
45636
45830
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
45637
45831
  parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -47816,7 +48010,10 @@ const generatedFocusOperations = [
47816
48010
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
47817
48011
  name: /* @__PURE__ */ string$1(),
47818
48012
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
47819
- }))
48013
+ })),
48014
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48015
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48016
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
47820
48017
  }),
47821
48018
  response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
47822
48019
  }),
@@ -47857,6 +48054,28 @@ const generatedFocusOperations = [
47857
48054
  ]));
47858
48055
  }
47859
48056
  },
48057
+ {
48058
+ id: "focus.reports.get-forecast-availability",
48059
+ family: "focus",
48060
+ resource: "reports",
48061
+ action: "get-forecast-availability",
48062
+ title: "Get Forecast Availability Reports",
48063
+ description: "Get Forecast Availability Reports.",
48064
+ safety: "read",
48065
+ destructive: false,
48066
+ cli: {
48067
+ group: ["reports"],
48068
+ command: "get-forecast-availability",
48069
+ interactive: "hidden"
48070
+ },
48071
+ mcp: { entityTool: "reports" },
48072
+ inputSchema: /* @__PURE__ */ looseObject({}),
48073
+ execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
48074
+ client.httpClient,
48075
+ client.workspaceIdNumber,
48076
+ void 0
48077
+ ]))
48078
+ },
47860
48079
  {
47861
48080
  id: "focus.reports.get-profitability",
47862
48081
  family: "focus",
@@ -47916,9 +48135,17 @@ const generatedFocusOperations = [
47916
48135
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
47917
48136
  name: /* @__PURE__ */ string$1(),
47918
48137
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
47919
- }))
48138
+ })),
48139
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48140
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48141
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
47920
48142
  }),
47921
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
48143
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
48144
+ xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
48145
+ "csv",
48146
+ "xlsx",
48147
+ "pdf"
48148
+ ]))
47922
48149
  }),
47923
48150
  execute: (input, { client }) => {
47924
48151
  const data = input;
@@ -47928,22 +48155,23 @@ const generatedFocusOperations = [
47928
48155
  data.payload ?? data.data ?? data,
47929
48156
  data.response_format,
47930
48157
  data.include_dicts,
48158
+ data.xTogglReportExport,
47931
48159
  void 0
47932
48160
  ]));
47933
48161
  }
47934
48162
  },
47935
48163
  {
47936
- id: "focus.reports.get-workload",
48164
+ id: "focus.reports.get-time-accounting",
47937
48165
  family: "focus",
47938
48166
  resource: "reports",
47939
- action: "get-workload",
47940
- title: "Get Workload Reports",
47941
- description: "Get Workload Reports.",
48167
+ action: "get-time-accounting",
48168
+ title: "Get Time Accounting Reports",
48169
+ description: "Get Time Accounting Reports.",
47942
48170
  safety: "update",
47943
48171
  destructive: false,
47944
48172
  cli: {
47945
48173
  group: ["reports"],
47946
- command: "get-workload",
48174
+ command: "get-time-accounting",
47947
48175
  interactive: "hidden"
47948
48176
  },
47949
48177
  mcp: { entityTool: "reports" },
@@ -47989,11 +48217,14 @@ const generatedFocusOperations = [
47989
48217
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
47990
48218
  name: /* @__PURE__ */ string$1(),
47991
48219
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
47992
- }))
48220
+ })),
48221
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48222
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48223
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
47993
48224
  }) }),
47994
48225
  execute: (input, { client }) => {
47995
48226
  const data = input;
47996
- return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
48227
+ return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
47997
48228
  client.httpClient,
47998
48229
  client.workspaceIdNumber,
47999
48230
  data.payload ?? data.data ?? data,
@@ -48002,71 +48233,104 @@ const generatedFocusOperations = [
48002
48233
  }
48003
48234
  },
48004
48235
  {
48005
- id: "focus.saved-views.create",
48236
+ id: "focus.reports.get-workload",
48006
48237
  family: "focus",
48007
- resource: "saved-views",
48008
- action: "create",
48009
- title: "Create Saved Views",
48010
- description: "Create Saved Views.",
48011
- safety: "create",
48238
+ resource: "reports",
48239
+ action: "get-workload",
48240
+ title: "Get Workload Reports",
48241
+ description: "Get Workload Reports.",
48242
+ safety: "update",
48012
48243
  destructive: false,
48013
48244
  cli: {
48014
- group: ["saved-views"],
48015
- command: "create",
48245
+ group: ["reports"],
48246
+ command: "get-workload",
48016
48247
  interactive: "hidden"
48017
48248
  },
48018
- mcp: { entityTool: "saved-views" },
48019
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
48020
- name: /* @__PURE__ */ string$1(),
48021
- params: /* @__PURE__ */ unknown$1(),
48022
- pinned: /* @__PURE__ */ boolean$1(),
48023
- type: /* @__PURE__ */ picklist$1([
48024
- "inbox",
48025
- "archive",
48026
- "board",
48027
- "timeline",
48028
- "project",
48029
- "project.tasks",
48030
- "project.board",
48031
- "project.timeline",
48032
- "projects",
48033
- "reports.summary",
48034
- "reports.detailed",
48035
- "reports.utilization",
48036
- "reports.workload",
48037
- "reports.profitability"
48038
- ]),
48039
- icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48040
- }) }),
48249
+ mcp: { entityTool: "reports" },
48250
+ inputSchema: /* @__PURE__ */ looseObject({
48251
+ payload: /* @__PURE__ */ looseObject({
48252
+ aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48253
+ aggregation: /* @__PURE__ */ looseObject({
48254
+ function: /* @__PURE__ */ string$1(),
48255
+ property: /* @__PURE__ */ string$1()
48256
+ }),
48257
+ operator: /* @__PURE__ */ string$1(),
48258
+ property: /* @__PURE__ */ string$1()
48259
+ })),
48260
+ aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48261
+ function: /* @__PURE__ */ string$1(),
48262
+ property: /* @__PURE__ */ string$1()
48263
+ })),
48264
+ attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
48265
+ currency: /* @__PURE__ */ string$1(),
48266
+ filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48267
+ conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
48268
+ operator: /* @__PURE__ */ string$1(),
48269
+ property: /* @__PURE__ */ string$1()
48270
+ })),
48271
+ groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48272
+ property: /* @__PURE__ */ string$1(),
48273
+ show_empty: /* @__PURE__ */ boolean$1()
48274
+ })),
48275
+ limit: /* @__PURE__ */ number$2(),
48276
+ ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48277
+ direction: /* @__PURE__ */ string$1(),
48278
+ nulls: /* @__PURE__ */ string$1(),
48279
+ property: /* @__PURE__ */ string$1()
48280
+ })),
48281
+ pagination: /* @__PURE__ */ looseObject({
48282
+ page: /* @__PURE__ */ number$2(),
48283
+ per_page: /* @__PURE__ */ number$2()
48284
+ }),
48285
+ period: /* @__PURE__ */ looseObject({
48286
+ from: /* @__PURE__ */ string$1(),
48287
+ preset: /* @__PURE__ */ string$1(),
48288
+ to: /* @__PURE__ */ string$1()
48289
+ }),
48290
+ transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48291
+ name: /* @__PURE__ */ string$1(),
48292
+ parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
48293
+ })),
48294
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
48295
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
48296
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48297
+ }),
48298
+ xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
48299
+ "csv",
48300
+ "xlsx",
48301
+ "pdf"
48302
+ ]))
48303
+ }),
48041
48304
  execute: (input, { client }) => {
48042
48305
  const data = input;
48043
- return client.runGeneratedRequest("createANewSavedView", () => callGeneratedRequest(createANewSavedView, [
48306
+ return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
48044
48307
  client.httpClient,
48045
48308
  client.workspaceIdNumber,
48046
48309
  data.payload ?? data.data ?? data,
48310
+ data.xTogglReportExport,
48047
48311
  void 0
48048
48312
  ]));
48049
48313
  }
48050
48314
  },
48051
48315
  {
48052
- id: "focus.saved-views.delete",
48316
+ id: "focus.reportschedules.delete-shared-report-schedule",
48053
48317
  family: "focus",
48054
- resource: "saved-views",
48055
- action: "delete",
48056
- title: "Delete Saved Views",
48057
- description: "Delete Saved Views.",
48318
+ resource: "reportschedules",
48319
+ action: "delete-shared-report-schedule",
48320
+ title: "Delete Shared Report Schedule Reportschedules",
48321
+ description: "Delete Shared Report Schedule Reportschedules.",
48058
48322
  safety: "delete",
48059
48323
  destructive: true,
48060
48324
  cli: {
48061
- group: ["saved-views"],
48062
- command: "delete",
48325
+ group: ["reportschedules"],
48326
+ command: "delete-shared-report-schedule",
48063
48327
  interactive: "default"
48064
48328
  },
48065
- mcp: { entityTool: "saved-views" },
48066
- inputSchema: savedViewIdSchema,
48329
+ mcp: { entityTool: "reportschedules" },
48330
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48067
48331
  execute: (input, { client }) => {
48068
48332
  const data = input;
48069
- return client.runGeneratedRequest("deleteASavedView", () => callGeneratedRequest(deleteASavedView, [
48333
+ return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
48070
48334
  client.httpClient,
48071
48335
  client.workspaceIdNumber,
48072
48336
  data.id,
@@ -48075,36 +48339,193 @@ const generatedFocusOperations = [
48075
48339
  }
48076
48340
  },
48077
48341
  {
48078
- id: "focus.saved-views.get",
48342
+ id: "focus.reportschedules.upsert-saved-view-schedule",
48079
48343
  family: "focus",
48080
- resource: "saved-views",
48081
- action: "get",
48082
- title: "Get Saved Views",
48083
- description: "Get Saved Views.",
48084
- safety: "read",
48344
+ resource: "reportschedules",
48345
+ action: "upsert-saved-view-schedule",
48346
+ title: "Upsert Saved View Schedule Reportschedules",
48347
+ description: "Upsert Saved View Schedule Reportschedules.",
48348
+ safety: "update",
48085
48349
  destructive: false,
48086
48350
  cli: {
48087
- group: ["saved-views"],
48088
- command: "get",
48089
- interactive: "available"
48351
+ group: ["reportschedules"],
48352
+ command: "upsert-saved-view-schedule",
48353
+ interactive: "default"
48090
48354
  },
48091
- mcp: { entityTool: "saved-views" },
48092
- inputSchema: savedViewIdSchema,
48355
+ mcp: { entityTool: "reportschedules" },
48356
+ inputSchema: /* @__PURE__ */ looseObject({
48357
+ id: /* @__PURE__ */ number$2(),
48358
+ payload: /* @__PURE__ */ looseObject({
48359
+ cadence: /* @__PURE__ */ picklist$1([
48360
+ "daily",
48361
+ "weekly",
48362
+ "monthly"
48363
+ ]),
48364
+ time: /* @__PURE__ */ string$1(),
48365
+ day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48366
+ recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48367
+ recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48368
+ recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
48369
+ })
48370
+ }),
48093
48371
  execute: (input, { client }) => {
48094
48372
  const data = input;
48095
- return client.runGeneratedRequest("getASavedView", () => callGeneratedRequest(getASavedView, [
48373
+ return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
48096
48374
  client.httpClient,
48097
48375
  client.workspaceIdNumber,
48098
48376
  data.id,
48377
+ data.payload ?? data.data ?? data,
48099
48378
  void 0
48100
48379
  ]));
48101
48380
  }
48102
48381
  },
48103
48382
  {
48104
- id: "focus.saved-views.list",
48383
+ id: "focus.reportschedules.upsert-shared-report-schedule",
48105
48384
  family: "focus",
48106
- resource: "saved-views",
48107
- action: "list",
48385
+ resource: "reportschedules",
48386
+ action: "upsert-shared-report-schedule",
48387
+ title: "Upsert Shared Report Schedule Reportschedules",
48388
+ description: "Upsert Shared Report Schedule Reportschedules.",
48389
+ safety: "update",
48390
+ destructive: false,
48391
+ cli: {
48392
+ group: ["reportschedules"],
48393
+ command: "upsert-shared-report-schedule",
48394
+ interactive: "default"
48395
+ },
48396
+ mcp: { entityTool: "reportschedules" },
48397
+ inputSchema: /* @__PURE__ */ looseObject({
48398
+ id: /* @__PURE__ */ number$2(),
48399
+ payload: /* @__PURE__ */ looseObject({
48400
+ cadence: /* @__PURE__ */ picklist$1([
48401
+ "daily",
48402
+ "weekly",
48403
+ "monthly"
48404
+ ]),
48405
+ time: /* @__PURE__ */ string$1(),
48406
+ day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48407
+ recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48408
+ recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
48409
+ recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
48410
+ })
48411
+ }),
48412
+ execute: (input, { client }) => {
48413
+ const data = input;
48414
+ return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
48415
+ client.httpClient,
48416
+ client.workspaceIdNumber,
48417
+ data.id,
48418
+ data.payload ?? data.data ?? data,
48419
+ void 0
48420
+ ]));
48421
+ }
48422
+ },
48423
+ {
48424
+ id: "focus.saved-views.create",
48425
+ family: "focus",
48426
+ resource: "saved-views",
48427
+ action: "create",
48428
+ title: "Create Saved Views",
48429
+ description: "Create Saved Views.",
48430
+ safety: "create",
48431
+ destructive: false,
48432
+ cli: {
48433
+ group: ["saved-views"],
48434
+ command: "create",
48435
+ interactive: "hidden"
48436
+ },
48437
+ mcp: { entityTool: "saved-views" },
48438
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
48439
+ name: /* @__PURE__ */ string$1(),
48440
+ params: /* @__PURE__ */ unknown$1(),
48441
+ pinned: /* @__PURE__ */ boolean$1(),
48442
+ type: /* @__PURE__ */ picklist$1([
48443
+ "inbox",
48444
+ "archive",
48445
+ "board",
48446
+ "timeline",
48447
+ "project",
48448
+ "project.tasks",
48449
+ "project.board",
48450
+ "project.timeline",
48451
+ "projects",
48452
+ "reports.summary",
48453
+ "reports.detailed",
48454
+ "reports.utilization",
48455
+ "reports.workload",
48456
+ "reports.profitability",
48457
+ "reports.time-off",
48458
+ "reports.time-accounting"
48459
+ ]),
48460
+ icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
48461
+ }) }),
48462
+ execute: (input, { client }) => {
48463
+ const data = input;
48464
+ return client.runGeneratedRequest("createANewSavedView", () => callGeneratedRequest(createANewSavedView, [
48465
+ client.httpClient,
48466
+ client.workspaceIdNumber,
48467
+ data.payload ?? data.data ?? data,
48468
+ void 0
48469
+ ]));
48470
+ }
48471
+ },
48472
+ {
48473
+ id: "focus.saved-views.delete",
48474
+ family: "focus",
48475
+ resource: "saved-views",
48476
+ action: "delete",
48477
+ title: "Delete Saved Views",
48478
+ description: "Delete Saved Views.",
48479
+ safety: "delete",
48480
+ destructive: true,
48481
+ cli: {
48482
+ group: ["saved-views"],
48483
+ command: "delete",
48484
+ interactive: "default"
48485
+ },
48486
+ mcp: { entityTool: "saved-views" },
48487
+ inputSchema: savedViewIdSchema,
48488
+ execute: (input, { client }) => {
48489
+ const data = input;
48490
+ return client.runGeneratedRequest("deleteASavedView", () => callGeneratedRequest(deleteASavedView, [
48491
+ client.httpClient,
48492
+ client.workspaceIdNumber,
48493
+ data.id,
48494
+ void 0
48495
+ ]));
48496
+ }
48497
+ },
48498
+ {
48499
+ id: "focus.saved-views.get",
48500
+ family: "focus",
48501
+ resource: "saved-views",
48502
+ action: "get",
48503
+ title: "Get Saved Views",
48504
+ description: "Get Saved Views.",
48505
+ safety: "read",
48506
+ destructive: false,
48507
+ cli: {
48508
+ group: ["saved-views"],
48509
+ command: "get",
48510
+ interactive: "available"
48511
+ },
48512
+ mcp: { entityTool: "saved-views" },
48513
+ inputSchema: savedViewIdSchema,
48514
+ execute: (input, { client }) => {
48515
+ const data = input;
48516
+ return client.runGeneratedRequest("getASavedView", () => callGeneratedRequest(getASavedView, [
48517
+ client.httpClient,
48518
+ client.workspaceIdNumber,
48519
+ data.id,
48520
+ void 0
48521
+ ]));
48522
+ }
48523
+ },
48524
+ {
48525
+ id: "focus.saved-views.list",
48526
+ family: "focus",
48527
+ resource: "saved-views",
48528
+ action: "list",
48108
48529
  title: "List Saved Views",
48109
48530
  description: "List Saved Views.",
48110
48531
  safety: "read",
@@ -48157,6 +48578,36 @@ const generatedFocusOperations = [
48157
48578
  ]));
48158
48579
  }
48159
48580
  },
48581
+ {
48582
+ id: "focus.search.mentions",
48583
+ family: "focus",
48584
+ resource: "search",
48585
+ action: "mentions",
48586
+ title: "Mentions Search",
48587
+ description: "Mentions Search.",
48588
+ safety: "read",
48589
+ destructive: false,
48590
+ cli: {
48591
+ group: ["search"],
48592
+ command: "mentions",
48593
+ interactive: "hidden"
48594
+ },
48595
+ mcp: { entityTool: "search" },
48596
+ inputSchema: /* @__PURE__ */ looseObject({
48597
+ keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48598
+ per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48599
+ }),
48600
+ execute: (input, { client }) => {
48601
+ const data = input;
48602
+ return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
48603
+ client.httpClient,
48604
+ client.organizationId,
48605
+ client.workspaceIdNumber,
48606
+ data,
48607
+ void 0
48608
+ ]));
48609
+ }
48610
+ },
48160
48611
  {
48161
48612
  id: "focus.search.search",
48162
48613
  family: "focus",
@@ -48184,6 +48635,240 @@ const generatedFocusOperations = [
48184
48635
  ]));
48185
48636
  }
48186
48637
  },
48638
+ {
48639
+ id: "focus.sharedreports.add-shared-report-grants",
48640
+ family: "focus",
48641
+ resource: "sharedreports",
48642
+ action: "add-shared-report-grants",
48643
+ title: "Add Shared Report Grants Sharedreports",
48644
+ description: "Add Shared Report Grants Sharedreports.",
48645
+ safety: "update",
48646
+ destructive: false,
48647
+ cli: {
48648
+ group: ["sharedreports"],
48649
+ command: "add-shared-report-grants",
48650
+ interactive: "default"
48651
+ },
48652
+ mcp: { entityTool: "sharedreports" },
48653
+ inputSchema: /* @__PURE__ */ looseObject({
48654
+ id: /* @__PURE__ */ number$2(),
48655
+ payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48656
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48657
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48658
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48659
+ })) })
48660
+ }),
48661
+ execute: (input, { client }) => {
48662
+ const data = input;
48663
+ return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
48664
+ client.httpClient,
48665
+ client.workspaceIdNumber,
48666
+ data.id,
48667
+ data.payload ?? data.data ?? data,
48668
+ void 0
48669
+ ]));
48670
+ }
48671
+ },
48672
+ {
48673
+ id: "focus.sharedreports.get-saved-view-shared-report",
48674
+ family: "focus",
48675
+ resource: "sharedreports",
48676
+ action: "get-saved-view-shared-report",
48677
+ title: "Get Saved View Shared Report Sharedreports",
48678
+ description: "Get Saved View Shared Report Sharedreports.",
48679
+ safety: "read",
48680
+ destructive: false,
48681
+ cli: {
48682
+ group: ["sharedreports"],
48683
+ command: "get-saved-view-shared-report",
48684
+ interactive: "available"
48685
+ },
48686
+ mcp: { entityTool: "sharedreports" },
48687
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48688
+ execute: (input, { client }) => {
48689
+ const data = input;
48690
+ return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
48691
+ client.httpClient,
48692
+ client.workspaceIdNumber,
48693
+ data.id,
48694
+ void 0
48695
+ ]));
48696
+ }
48697
+ },
48698
+ {
48699
+ id: "focus.sharedreports.get-shared-report-for-viewer",
48700
+ family: "focus",
48701
+ resource: "sharedreports",
48702
+ action: "get-shared-report-for-viewer",
48703
+ title: "Get Shared Report For Viewer Sharedreports",
48704
+ description: "Get Shared Report For Viewer Sharedreports.",
48705
+ safety: "read",
48706
+ destructive: false,
48707
+ cli: {
48708
+ group: ["sharedreports"],
48709
+ command: "get-shared-report-for-viewer",
48710
+ interactive: "available"
48711
+ },
48712
+ mcp: { entityTool: "sharedreports" },
48713
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
48714
+ execute: (input, { client }) => {
48715
+ const data = input;
48716
+ return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
48717
+ client.httpClient,
48718
+ client.workspaceIdNumber,
48719
+ data.id,
48720
+ void 0
48721
+ ]));
48722
+ }
48723
+ },
48724
+ {
48725
+ id: "focus.sharedreports.get-shared-reports-shared-by-me",
48726
+ family: "focus",
48727
+ resource: "sharedreports",
48728
+ action: "get-shared-reports-shared-by-me",
48729
+ title: "Get Shared Reports Shared By Me Sharedreports",
48730
+ description: "Get Shared Reports Shared By Me Sharedreports.",
48731
+ safety: "read",
48732
+ destructive: false,
48733
+ cli: {
48734
+ group: ["sharedreports"],
48735
+ command: "get-shared-reports-shared-by-me",
48736
+ interactive: "hidden"
48737
+ },
48738
+ mcp: { entityTool: "sharedreports" },
48739
+ inputSchema: /* @__PURE__ */ looseObject({}),
48740
+ execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
48741
+ client.httpClient,
48742
+ client.workspaceIdNumber,
48743
+ void 0
48744
+ ]))
48745
+ },
48746
+ {
48747
+ id: "focus.sharedreports.get-shared-reports-shared-with-me",
48748
+ family: "focus",
48749
+ resource: "sharedreports",
48750
+ action: "get-shared-reports-shared-with-me",
48751
+ title: "Get Shared Reports Shared With Me Sharedreports",
48752
+ description: "Get Shared Reports Shared With Me Sharedreports.",
48753
+ safety: "read",
48754
+ destructive: false,
48755
+ cli: {
48756
+ group: ["sharedreports"],
48757
+ command: "get-shared-reports-shared-with-me",
48758
+ interactive: "hidden"
48759
+ },
48760
+ mcp: { entityTool: "sharedreports" },
48761
+ inputSchema: /* @__PURE__ */ looseObject({}),
48762
+ execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
48763
+ client.httpClient,
48764
+ client.workspaceIdNumber,
48765
+ void 0
48766
+ ]))
48767
+ },
48768
+ {
48769
+ id: "focus.sharedreports.revoke-shared-report-grant",
48770
+ family: "focus",
48771
+ resource: "sharedreports",
48772
+ action: "revoke-shared-report-grant",
48773
+ title: "Revoke Shared Report Grant Sharedreports",
48774
+ description: "Revoke Shared Report Grant Sharedreports.",
48775
+ safety: "delete",
48776
+ destructive: true,
48777
+ cli: {
48778
+ group: ["sharedreports"],
48779
+ command: "revoke-shared-report-grant",
48780
+ interactive: "default"
48781
+ },
48782
+ mcp: { entityTool: "sharedreports" },
48783
+ inputSchema: /* @__PURE__ */ looseObject({
48784
+ grant_id: /* @__PURE__ */ number$2(),
48785
+ id: /* @__PURE__ */ number$2()
48786
+ }),
48787
+ execute: (input, { client }) => {
48788
+ const data = input;
48789
+ return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
48790
+ client.httpClient,
48791
+ client.workspaceIdNumber,
48792
+ data.id,
48793
+ data.grant_id,
48794
+ void 0
48795
+ ]));
48796
+ }
48797
+ },
48798
+ {
48799
+ id: "focus.sharedreports.share-saved-view",
48800
+ family: "focus",
48801
+ resource: "sharedreports",
48802
+ action: "share-saved-view",
48803
+ title: "Share Saved View Sharedreports",
48804
+ description: "Share Saved View Sharedreports.",
48805
+ safety: "update",
48806
+ destructive: false,
48807
+ cli: {
48808
+ group: ["sharedreports"],
48809
+ command: "share-saved-view",
48810
+ interactive: "hidden"
48811
+ },
48812
+ mcp: { entityTool: "sharedreports" },
48813
+ inputSchema: /* @__PURE__ */ looseObject({
48814
+ id: /* @__PURE__ */ number$2(),
48815
+ payload: /* @__PURE__ */ looseObject({
48816
+ charts: /* @__PURE__ */ unknown$1(),
48817
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
48818
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48819
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48820
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48821
+ })
48822
+ }),
48823
+ execute: (input, { client }) => {
48824
+ const data = input;
48825
+ return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
48826
+ client.httpClient,
48827
+ client.workspaceIdNumber,
48828
+ data.id,
48829
+ data.payload ?? data.data ?? data,
48830
+ void 0
48831
+ ]));
48832
+ }
48833
+ },
48834
+ {
48835
+ id: "focus.sharedreports.share-saved-view-many",
48836
+ family: "focus",
48837
+ resource: "sharedreports",
48838
+ action: "share-saved-view-many",
48839
+ title: "Share Saved View Many Sharedreports",
48840
+ description: "Share Saved View Many Sharedreports.",
48841
+ safety: "update",
48842
+ destructive: false,
48843
+ cli: {
48844
+ group: ["sharedreports"],
48845
+ command: "share-saved-view-many",
48846
+ interactive: "hidden"
48847
+ },
48848
+ mcp: { entityTool: "sharedreports" },
48849
+ inputSchema: /* @__PURE__ */ looseObject({
48850
+ id: /* @__PURE__ */ number$2(),
48851
+ payload: /* @__PURE__ */ looseObject({
48852
+ charts: /* @__PURE__ */ unknown$1(),
48853
+ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
48854
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48855
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
48856
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
48857
+ })),
48858
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
48859
+ })
48860
+ }),
48861
+ execute: (input, { client }) => {
48862
+ const data = input;
48863
+ return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
48864
+ client.httpClient,
48865
+ client.workspaceIdNumber,
48866
+ data.id,
48867
+ data.payload ?? data.data ?? data,
48868
+ void 0
48869
+ ]));
48870
+ }
48871
+ },
48187
48872
  {
48188
48873
  id: "focus.statuses.create-status",
48189
48874
  family: "focus",
@@ -48449,13 +49134,172 @@ const generatedFocusOperations = [
48449
49134
  command: "upsert-forced-trial",
48450
49135
  interactive: "default"
48451
49136
  },
48452
- mcp: { entityTool: "subscriptions" },
48453
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
49137
+ mcp: { entityTool: "subscriptions" },
49138
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
49139
+ execute: (input, { client }) => {
49140
+ const data = input;
49141
+ return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
49142
+ client.httpClient,
49143
+ client.organizationId,
49144
+ client.workspaceIdNumber,
49145
+ data.payload ?? data.data ?? data,
49146
+ void 0
49147
+ ]));
49148
+ }
49149
+ },
49150
+ {
49151
+ id: "focus.tags.archive",
49152
+ family: "focus",
49153
+ resource: "tags",
49154
+ action: "archive",
49155
+ title: "Archive Tags",
49156
+ description: "Archive Tags.",
49157
+ safety: "update",
49158
+ destructive: false,
49159
+ cli: {
49160
+ group: ["tags"],
49161
+ command: "archive",
49162
+ interactive: "default"
49163
+ },
49164
+ mcp: { entityTool: "tags" },
49165
+ inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
49166
+ execute: (input, { client }) => {
49167
+ const data = input;
49168
+ return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
49169
+ client.httpClient,
49170
+ client.workspaceIdNumber,
49171
+ data.tag_id,
49172
+ void 0
49173
+ ]));
49174
+ }
49175
+ },
49176
+ {
49177
+ id: "focus.tags.bulk-archive",
49178
+ family: "focus",
49179
+ resource: "tags",
49180
+ action: "bulk-archive",
49181
+ title: "Bulk Archive Tags",
49182
+ description: "Bulk Archive Tags.",
49183
+ safety: "update",
49184
+ destructive: false,
49185
+ cli: {
49186
+ group: ["tags", "bulk"],
49187
+ command: "archive",
49188
+ interactive: "default"
49189
+ },
49190
+ mcp: { entityTool: "tags" },
49191
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
49192
+ execute: (input, { client }) => {
49193
+ const data = input;
49194
+ return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
49195
+ client.httpClient,
49196
+ client.workspaceIdNumber,
49197
+ data.payload ?? data.data ?? data,
49198
+ void 0
49199
+ ]));
49200
+ }
49201
+ },
49202
+ {
49203
+ id: "focus.tags.bulk-create",
49204
+ family: "focus",
49205
+ resource: "tags",
49206
+ action: "bulk-create",
49207
+ title: "Bulk Create Tags",
49208
+ description: "Bulk Create Tags.",
49209
+ safety: "create",
49210
+ destructive: false,
49211
+ cli: {
49212
+ group: ["tags", "bulk"],
49213
+ command: "create",
49214
+ interactive: "default"
49215
+ },
49216
+ mcp: { entityTool: "tags" },
49217
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
49218
+ color: /* @__PURE__ */ string$1(),
49219
+ name: /* @__PURE__ */ string$1()
49220
+ })) }) }),
49221
+ execute: (input, { client }) => {
49222
+ const data = input;
49223
+ return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
49224
+ client.httpClient,
49225
+ client.workspaceIdNumber,
49226
+ data.payload ?? data.data ?? data,
49227
+ void 0
49228
+ ]));
49229
+ }
49230
+ },
49231
+ {
49232
+ id: "focus.tags.bulk-delete",
49233
+ family: "focus",
49234
+ resource: "tags",
49235
+ action: "bulk-delete",
49236
+ title: "Bulk Delete Tags",
49237
+ description: "Bulk Delete Tags.",
49238
+ safety: "delete",
49239
+ destructive: true,
49240
+ cli: {
49241
+ group: ["tags", "bulk"],
49242
+ command: "delete",
49243
+ interactive: "default"
49244
+ },
49245
+ mcp: { entityTool: "tags" },
49246
+ inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
49247
+ execute: (input, { client }) => {
49248
+ const data = input;
49249
+ return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
49250
+ client.httpClient,
49251
+ client.workspaceIdNumber,
49252
+ data.ids,
49253
+ void 0
49254
+ ]));
49255
+ }
49256
+ },
49257
+ {
49258
+ id: "focus.tags.bulk-restore",
49259
+ family: "focus",
49260
+ resource: "tags",
49261
+ action: "bulk-restore",
49262
+ title: "Bulk Restore Tags",
49263
+ description: "Bulk Restore Tags.",
49264
+ safety: "update",
49265
+ destructive: false,
49266
+ cli: {
49267
+ group: ["tags", "bulk"],
49268
+ command: "restore",
49269
+ interactive: "default"
49270
+ },
49271
+ mcp: { entityTool: "tags" },
49272
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
49273
+ execute: (input, { client }) => {
49274
+ const data = input;
49275
+ return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
49276
+ client.httpClient,
49277
+ client.workspaceIdNumber,
49278
+ data.payload ?? data.data ?? data,
49279
+ void 0
49280
+ ]));
49281
+ }
49282
+ },
49283
+ {
49284
+ id: "focus.tags.bulk-unarchive",
49285
+ family: "focus",
49286
+ resource: "tags",
49287
+ action: "bulk-unarchive",
49288
+ title: "Bulk Unarchive Tags",
49289
+ description: "Bulk Unarchive Tags.",
49290
+ safety: "update",
49291
+ destructive: false,
49292
+ cli: {
49293
+ group: ["tags", "bulk"],
49294
+ command: "unarchive",
49295
+ interactive: "default"
49296
+ },
49297
+ mcp: { entityTool: "tags" },
49298
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
48454
49299
  execute: (input, { client }) => {
48455
49300
  const data = input;
48456
- return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
49301
+ return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
48457
49302
  client.httpClient,
48458
- client.organizationId,
48459
49303
  client.workspaceIdNumber,
48460
49304
  data.payload ?? data.data ?? data,
48461
49305
  void 0
@@ -48546,6 +49390,35 @@ const generatedFocusOperations = [
48546
49390
  return client.listTags(data);
48547
49391
  }
48548
49392
  },
49393
+ {
49394
+ id: "focus.tags.merge",
49395
+ family: "focus",
49396
+ resource: "tags",
49397
+ action: "merge",
49398
+ title: "Merge Tags",
49399
+ description: "Merge Tags.",
49400
+ safety: "update",
49401
+ destructive: false,
49402
+ cli: {
49403
+ group: ["tags"],
49404
+ command: "merge",
49405
+ interactive: "default"
49406
+ },
49407
+ mcp: { entityTool: "tags" },
49408
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
49409
+ source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
49410
+ target_id: /* @__PURE__ */ number$2()
49411
+ }) }),
49412
+ execute: (input, { client }) => {
49413
+ const data = input;
49414
+ return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
49415
+ client.httpClient,
49416
+ client.workspaceIdNumber,
49417
+ data.payload ?? data.data ?? data,
49418
+ void 0
49419
+ ]));
49420
+ }
49421
+ },
48549
49422
  {
48550
49423
  id: "focus.tags.restore",
48551
49424
  family: "focus",
@@ -48572,6 +49445,32 @@ const generatedFocusOperations = [
48572
49445
  ]));
48573
49446
  }
48574
49447
  },
49448
+ {
49449
+ id: "focus.tags.unarchive",
49450
+ family: "focus",
49451
+ resource: "tags",
49452
+ action: "unarchive",
49453
+ title: "Unarchive Tags",
49454
+ description: "Unarchive Tags.",
49455
+ safety: "update",
49456
+ destructive: false,
49457
+ cli: {
49458
+ group: ["tags"],
49459
+ command: "unarchive",
49460
+ interactive: "default"
49461
+ },
49462
+ mcp: { entityTool: "tags" },
49463
+ inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
49464
+ execute: (input, { client }) => {
49465
+ const data = input;
49466
+ return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
49467
+ client.httpClient,
49468
+ client.workspaceIdNumber,
49469
+ data.tag_id,
49470
+ void 0
49471
+ ]));
49472
+ }
49473
+ },
48575
49474
  {
48576
49475
  id: "focus.tags.update",
48577
49476
  family: "focus",
@@ -49253,12 +50152,12 @@ const generatedFocusOperations = [
49253
50152
  mcp: { entityTool: "tasks" },
49254
50153
  inputSchema: /* @__PURE__ */ looseObject({
49255
50154
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50155
+ assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49256
50156
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49257
50157
  dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49258
50158
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49259
50159
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
49260
50160
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49261
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49262
50161
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49263
50162
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49264
50163
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49295,7 +50194,6 @@ const generatedFocusOperations = [
49295
50194
  inputSchema: /* @__PURE__ */ looseObject({
49296
50195
  active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
49297
50196
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49298
- assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49299
50197
  assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49300
50198
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49301
50199
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49312,7 +50210,6 @@ const generatedFocusOperations = [
49312
50210
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49313
50211
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49314
50212
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49315
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49316
50213
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49317
50214
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49318
50215
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49368,7 +50265,6 @@ const generatedFocusOperations = [
49368
50265
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49369
50266
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49370
50267
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49371
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49372
50268
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49373
50269
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49374
50270
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49409,7 +50305,6 @@ const generatedFocusOperations = [
49409
50305
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49410
50306
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49411
50307
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49412
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49413
50308
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49414
50309
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49415
50310
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49450,6 +50345,7 @@ const generatedFocusOperations = [
49450
50345
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49451
50346
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49452
50347
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50348
+ collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49453
50349
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49454
50350
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
49455
50351
  end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49463,7 +50359,8 @@ const generatedFocusOperations = [
49463
50359
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49464
50360
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49465
50361
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49466
- include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50362
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50363
+ include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49467
50364
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49468
50365
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49469
50366
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -49479,6 +50376,7 @@ const generatedFocusOperations = [
49479
50376
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49480
50377
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
49481
50378
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50379
+ user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49482
50380
  user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
49483
50381
  }),
49484
50382
  execute: (input, { client }) => {
@@ -49493,6 +50391,118 @@ const generatedFocusOperations = [
49493
50391
  ]));
49494
50392
  }
49495
50393
  },
50394
+ {
50395
+ id: "focus.tasks.groups-get-user-task-groups-by-project",
50396
+ family: "focus",
50397
+ resource: "tasks",
50398
+ action: "groups-get-user-task-groups-by-project",
50399
+ title: "Groups Get User Task Groups By Project Tasks",
50400
+ description: "Groups Get User Task Groups By Project Tasks.",
50401
+ safety: "read",
50402
+ destructive: false,
50403
+ cli: {
50404
+ group: ["tasks", "groups"],
50405
+ command: "get-user-task-groups-by-project",
50406
+ interactive: "hidden"
50407
+ },
50408
+ mcp: { entityTool: "tasks" },
50409
+ inputSchema: /* @__PURE__ */ looseObject({
50410
+ assignee_user_id: /* @__PURE__ */ number$2(),
50411
+ cf_filter: /* @__PURE__ */ unknown$1(),
50412
+ client_id: /* @__PURE__ */ number$2(),
50413
+ collapse_recurring: /* @__PURE__ */ unknown$1(),
50414
+ creator_id: /* @__PURE__ */ number$2(),
50415
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
50416
+ end_date_from: /* @__PURE__ */ unknown$1(),
50417
+ end_date_to: /* @__PURE__ */ unknown$1(),
50418
+ exclude_empty: /* @__PURE__ */ unknown$1(),
50419
+ group_id: /* @__PURE__ */ number$2(),
50420
+ include_assignees: /* @__PURE__ */ unknown$1(),
50421
+ include_drafts: /* @__PURE__ */ unknown$1(),
50422
+ include_unassigned: /* @__PURE__ */ unknown$1(),
50423
+ include_unmaterialized: /* @__PURE__ */ unknown$1(),
50424
+ min_days: /* @__PURE__ */ unknown$1(),
50425
+ name: /* @__PURE__ */ unknown$1(),
50426
+ priority: /* @__PURE__ */ unknown$1(),
50427
+ private_: /* @__PURE__ */ unknown$1(),
50428
+ project_id: /* @__PURE__ */ number$2(),
50429
+ source: /* @__PURE__ */ unknown$1(),
50430
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
50431
+ start_date_from: /* @__PURE__ */ unknown$1(),
50432
+ start_date_to: /* @__PURE__ */ unknown$1(),
50433
+ status_id: /* @__PURE__ */ number$2(),
50434
+ tag_id: /* @__PURE__ */ number$2(),
50435
+ team_id: /* @__PURE__ */ number$2(),
50436
+ user_cf_filter: /* @__PURE__ */ unknown$1(),
50437
+ user_tag_id: /* @__PURE__ */ number$2()
50438
+ }),
50439
+ execute: (input, { client }) => {
50440
+ const data = input;
50441
+ return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
50442
+ client.httpClient,
50443
+ client.organizationId,
50444
+ client.workspaceIdNumber,
50445
+ data,
50446
+ void 0
50447
+ ]));
50448
+ }
50449
+ },
50450
+ {
50451
+ id: "focus.tasks.groups-get-user-task-groups-by-team",
50452
+ family: "focus",
50453
+ resource: "tasks",
50454
+ action: "groups-get-user-task-groups-by-team",
50455
+ title: "Groups Get User Task Groups By Team Tasks",
50456
+ description: "Groups Get User Task Groups By Team Tasks.",
50457
+ safety: "read",
50458
+ destructive: false,
50459
+ cli: {
50460
+ group: ["tasks", "groups"],
50461
+ command: "get-user-task-groups-by-team",
50462
+ interactive: "hidden"
50463
+ },
50464
+ mcp: { entityTool: "tasks" },
50465
+ inputSchema: /* @__PURE__ */ looseObject({
50466
+ assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50467
+ cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50468
+ client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50469
+ collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50470
+ creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50471
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50472
+ end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50473
+ end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50474
+ exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50475
+ group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50476
+ include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50477
+ include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50478
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50479
+ include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50480
+ min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50481
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50482
+ priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50483
+ private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50484
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50485
+ source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50486
+ start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
50487
+ start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50488
+ start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50489
+ status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50490
+ tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50491
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50492
+ user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50493
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
50494
+ }),
50495
+ execute: (input, { client }) => {
50496
+ const data = input;
50497
+ return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
50498
+ client.httpClient,
50499
+ client.organizationId,
50500
+ client.workspaceIdNumber,
50501
+ data,
50502
+ void 0
50503
+ ]));
50504
+ }
50505
+ },
49496
50506
  {
49497
50507
  id: "focus.tasks.groups-update",
49498
50508
  family: "focus",
@@ -49698,7 +50708,6 @@ const generatedFocusOperations = [
49698
50708
  name: /* @__PURE__ */ string$1(),
49699
50709
  status_id: /* @__PURE__ */ number$2(),
49700
50710
  auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
49701
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
49702
50711
  color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
49703
50712
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
49704
50713
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -49718,6 +50727,7 @@ const generatedFocusOperations = [
49718
50727
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
49719
50728
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
49720
50729
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50730
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
49721
50731
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
49722
50732
  }),
49723
50733
  task_id: /* @__PURE__ */ number$2()
@@ -50726,6 +51736,40 @@ const generatedFocusOperations = [
50726
51736
  ]));
50727
51737
  }
50728
51738
  },
51739
+ {
51740
+ id: "focus.time-entries.groups-get-users",
51741
+ family: "focus",
51742
+ resource: "time-entries",
51743
+ action: "groups-get-users",
51744
+ title: "Groups Get Users Time Entries",
51745
+ description: "Groups Get Users Time Entries.",
51746
+ safety: "read",
51747
+ destructive: false,
51748
+ cli: {
51749
+ group: ["time-entries", "groups"],
51750
+ command: "get-users",
51751
+ interactive: "hidden"
51752
+ },
51753
+ mcp: { entityTool: "time-entries" },
51754
+ inputSchema: /* @__PURE__ */ looseObject({
51755
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51756
+ order_by: /* @__PURE__ */ unknown$1(),
51757
+ page: /* @__PURE__ */ number$2(),
51758
+ per_page: /* @__PURE__ */ unknown$1(),
51759
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51760
+ user_id: /* @__PURE__ */ number$2()
51761
+ }),
51762
+ execute: (input, { client }) => {
51763
+ const data = input;
51764
+ return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
51765
+ client.httpClient,
51766
+ client.organizationId,
51767
+ client.workspaceIdNumber,
51768
+ data,
51769
+ void 0
51770
+ ]));
51771
+ }
51772
+ },
50729
51773
  {
50730
51774
  id: "focus.time-entries.list",
50731
51775
  family: "focus",
@@ -50910,6 +51954,42 @@ const generatedFocusOperations = [
50910
51954
  inputSchema: emptySchema$1,
50911
51955
  execute: (_input, { client }) => client.stopTracking()
50912
51956
  },
51957
+ {
51958
+ id: "focus.time-entries.sync",
51959
+ family: "focus",
51960
+ resource: "time-entries",
51961
+ action: "sync",
51962
+ title: "Sync Time Entries",
51963
+ description: "Sync Time Entries.",
51964
+ safety: "update",
51965
+ destructive: false,
51966
+ cli: {
51967
+ group: ["time-entries"],
51968
+ command: "sync",
51969
+ interactive: "default"
51970
+ },
51971
+ mcp: { entityTool: "time-entries" },
51972
+ inputSchema: /* @__PURE__ */ looseObject({
51973
+ client_uuid: /* @__PURE__ */ string$1(),
51974
+ payload: /* @__PURE__ */ looseObject({
51975
+ billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
51976
+ client_updated_at: apiDateTimeString,
51977
+ type: /* @__PURE__ */ picklist$1(["activity", "break"]),
51978
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
51979
+ })
51980
+ }),
51981
+ execute: (input, { client }) => {
51982
+ const data = input;
51983
+ return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
51984
+ client.httpClient,
51985
+ client.organizationId,
51986
+ client.workspaceIdNumber,
51987
+ data.client_uuid,
51988
+ data.payload ?? data.data ?? data,
51989
+ void 0
51990
+ ]));
51991
+ }
51992
+ },
50913
51993
  {
50914
51994
  id: "focus.time-entries.tracking-get-tracked-time-entry",
50915
51995
  family: "focus",
@@ -50958,6 +52038,7 @@ const generatedFocusOperations = [
50958
52038
  create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
50959
52039
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
50960
52040
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52041
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50961
52042
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50962
52043
  extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
50963
52044
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -51016,125 +52097,37 @@ const generatedFocusOperations = [
51016
52097
  resource: "time-entries",
51017
52098
  action: "update",
51018
52099
  title: "Update Time Entries",
51019
- description: "Update Time Entries.",
51020
- safety: "update",
51021
- destructive: false,
51022
- cli: {
51023
- group: ["time-entries"],
51024
- command: "update",
51025
- interactive: "default"
51026
- },
51027
- mcp: { entityTool: "time-entries" },
51028
- inputSchema: /* @__PURE__ */ looseObject({
51029
- payload: /* @__PURE__ */ looseObject({
51030
- type: /* @__PURE__ */ picklist$1(["activity", "break"]),
51031
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51032
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51033
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51034
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
51035
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51036
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51037
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
51038
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51039
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
51040
- }),
51041
- time_entry_id: /* @__PURE__ */ number$2()
51042
- }),
51043
- execute: (input, { client }) => {
51044
- const data = input;
51045
- return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
51046
- client.httpClient,
51047
- client.organizationId,
51048
- client.workspaceIdNumber,
51049
- data.time_entry_id,
51050
- data.payload ?? data.data ?? data,
51051
- void 0
51052
- ]));
51053
- }
51054
- },
51055
- {
51056
- id: "focus.time-log-suggestions.get-for-acalendar-event-title",
51057
- family: "focus",
51058
- resource: "time-log-suggestions",
51059
- action: "get-for-acalendar-event-title",
51060
- title: "Get For Acalendar Event Title Time Log Suggestions",
51061
- description: "Get For Acalendar Event Title Time Log Suggestions.",
51062
- safety: "update",
51063
- destructive: false,
51064
- cli: {
51065
- group: ["time-log-suggestions"],
51066
- command: "get-for-acalendar-event-title",
51067
- interactive: "default"
51068
- },
51069
- mcp: { entityTool: "time-log-suggestions" },
51070
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
51071
- execute: (input, { client }) => {
51072
- const data = input;
51073
- return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
51074
- client.httpClient,
51075
- client.organizationId,
51076
- client.workspaceIdNumber,
51077
- data.payload ?? data.data ?? data,
51078
- void 0
51079
- ]));
51080
- }
51081
- },
51082
- {
51083
- id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
51084
- family: "focus",
51085
- resource: "time-log-suggestions",
51086
- action: "get-for-multiple-calendar-event-titles",
51087
- title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
51088
- description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
51089
- safety: "update",
51090
- destructive: false,
51091
- cli: {
51092
- group: ["time-log-suggestions"],
51093
- command: "get-for-multiple-calendar-event-titles",
51094
- interactive: "default"
51095
- },
51096
- mcp: { entityTool: "time-log-suggestions" },
51097
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
51098
- key: /* @__PURE__ */ string$1(),
51099
- title: /* @__PURE__ */ string$1()
51100
- })) }) }),
51101
- execute: (input, { client }) => {
51102
- const data = input;
51103
- return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
51104
- client.httpClient,
51105
- client.organizationId,
51106
- client.workspaceIdNumber,
51107
- data.payload ?? data.data ?? data,
51108
- void 0
51109
- ]));
51110
- }
51111
- },
51112
- {
51113
- id: "focus.time-off.create-timeoff-for-ghost",
51114
- family: "focus",
51115
- resource: "time-off",
51116
- action: "create-timeoff-for-ghost",
51117
- title: "Create Timeoff For Ghost Time Off",
51118
- description: "Create Timeoff For Ghost Time Off.",
51119
- safety: "create",
52100
+ description: "Update Time Entries.",
52101
+ safety: "update",
51120
52102
  destructive: false,
51121
52103
  cli: {
51122
- group: ["time-off"],
51123
- command: "create-timeoff-for-ghost",
51124
- interactive: "hidden"
52104
+ group: ["time-entries"],
52105
+ command: "update",
52106
+ interactive: "default"
51125
52107
  },
51126
- mcp: { entityTool: "time-off" },
52108
+ mcp: { entityTool: "time-entries" },
51127
52109
  inputSchema: /* @__PURE__ */ looseObject({
51128
- ghost_id: /* @__PURE__ */ number$2(),
51129
- payload: /* @__PURE__ */ unknown$1()
52110
+ payload: /* @__PURE__ */ looseObject({
52111
+ type: /* @__PURE__ */ picklist$1(["activity", "break"]),
52112
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52113
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52114
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52115
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
52116
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52117
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
52118
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
52119
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52120
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
52121
+ }),
52122
+ time_entry_id: /* @__PURE__ */ number$2()
51130
52123
  }),
51131
52124
  execute: (input, { client }) => {
51132
52125
  const data = input;
51133
- return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
52126
+ return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
51134
52127
  client.httpClient,
51135
52128
  client.organizationId,
51136
52129
  client.workspaceIdNumber,
51137
- data.ghost_id,
52130
+ data.time_entry_id,
51138
52131
  data.payload ?? data.data ?? data,
51139
52132
  void 0
51140
52133
  ]));
@@ -51170,37 +52163,6 @@ const generatedFocusOperations = [
51170
52163
  ]));
51171
52164
  }
51172
52165
  },
51173
- {
51174
- id: "focus.time-off.delete-timeoff-for-ghost",
51175
- family: "focus",
51176
- resource: "time-off",
51177
- action: "delete-timeoff-for-ghost",
51178
- title: "Delete Timeoff For Ghost Time Off",
51179
- description: "Delete Timeoff For Ghost Time Off.",
51180
- safety: "delete",
51181
- destructive: true,
51182
- cli: {
51183
- group: ["time-off"],
51184
- command: "delete-timeoff-for-ghost",
51185
- interactive: "hidden"
51186
- },
51187
- mcp: { entityTool: "time-off" },
51188
- inputSchema: /* @__PURE__ */ looseObject({
51189
- ghost_id: /* @__PURE__ */ number$2(),
51190
- payload: /* @__PURE__ */ unknown$1()
51191
- }),
51192
- execute: (input, { client }) => {
51193
- const data = input;
51194
- return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
51195
- client.httpClient,
51196
- client.organizationId,
51197
- client.workspaceIdNumber,
51198
- data.ghost_id,
51199
- data.payload ?? data.data ?? data,
51200
- void 0
51201
- ]));
51202
- }
51203
- },
51204
52166
  {
51205
52167
  id: "focus.time-off.delete-timeoff-for-user",
51206
52168
  family: "focus",
@@ -51231,38 +52193,6 @@ const generatedFocusOperations = [
51231
52193
  ]));
51232
52194
  }
51233
52195
  },
51234
- {
51235
- id: "focus.time-off.get-timeoff-for-ghost",
51236
- family: "focus",
51237
- resource: "time-off",
51238
- action: "get-timeoff-for-ghost",
51239
- title: "Get Timeoff For Ghost Time Off",
51240
- description: "Get Timeoff For Ghost Time Off.",
51241
- safety: "read",
51242
- destructive: false,
51243
- cli: {
51244
- group: ["time-off"],
51245
- command: "get-timeoff-for-ghost",
51246
- interactive: "hidden"
51247
- },
51248
- mcp: { entityTool: "time-off" },
51249
- inputSchema: /* @__PURE__ */ looseObject({
51250
- from: /* @__PURE__ */ unknown$1(),
51251
- ghost_id: /* @__PURE__ */ number$2(),
51252
- to: /* @__PURE__ */ unknown$1()
51253
- }),
51254
- execute: (input, { client }) => {
51255
- const data = input;
51256
- return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
51257
- client.httpClient,
51258
- client.organizationId,
51259
- client.workspaceIdNumber,
51260
- data.ghost_id,
51261
- data,
51262
- void 0
51263
- ]));
51264
- }
51265
- },
51266
52196
  {
51267
52197
  id: "focus.time-off.get-timeoff-for-user",
51268
52198
  family: "focus",
@@ -51294,37 +52224,6 @@ const generatedFocusOperations = [
51294
52224
  ]));
51295
52225
  }
51296
52226
  },
51297
- {
51298
- id: "focus.time-off.get-timeoffs-by-ghost-ids",
51299
- family: "focus",
51300
- resource: "time-off",
51301
- action: "get-timeoffs-by-ghost-ids",
51302
- title: "Get Timeoffs By Ghost Ids Time Off",
51303
- description: "Get Timeoffs By Ghost Ids Time Off.",
51304
- safety: "read",
51305
- destructive: false,
51306
- cli: {
51307
- group: ["time-off"],
51308
- command: "get-timeoffs-by-ghost-ids",
51309
- interactive: "hidden"
51310
- },
51311
- mcp: { entityTool: "time-off" },
51312
- inputSchema: /* @__PURE__ */ looseObject({
51313
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51314
- ghost_ids: /* @__PURE__ */ unknown$1(),
51315
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
51316
- }),
51317
- execute: (input, { client }) => {
51318
- const data = input;
51319
- return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
51320
- client.httpClient,
51321
- client.organizationId,
51322
- client.workspaceIdNumber,
51323
- data,
51324
- void 0
51325
- ]));
51326
- }
51327
- },
51328
52227
  {
51329
52228
  id: "focus.time-off.get-timeoffs-by-user-ids",
51330
52229
  family: "focus",
@@ -51355,37 +52254,6 @@ const generatedFocusOperations = [
51355
52254
  ]));
51356
52255
  }
51357
52256
  },
51358
- {
51359
- id: "focus.time-off.update-timeoff-for-ghost",
51360
- family: "focus",
51361
- resource: "time-off",
51362
- action: "update-timeoff-for-ghost",
51363
- title: "Update Timeoff For Ghost Time Off",
51364
- description: "Update Timeoff For Ghost Time Off.",
51365
- safety: "update",
51366
- destructive: false,
51367
- cli: {
51368
- group: ["time-off"],
51369
- command: "update-timeoff-for-ghost",
51370
- interactive: "hidden"
51371
- },
51372
- mcp: { entityTool: "time-off" },
51373
- inputSchema: /* @__PURE__ */ looseObject({
51374
- ghost_id: /* @__PURE__ */ number$2(),
51375
- payload: /* @__PURE__ */ unknown$1()
51376
- }),
51377
- execute: (input, { client }) => {
51378
- const data = input;
51379
- return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
51380
- client.httpClient,
51381
- client.organizationId,
51382
- client.workspaceIdNumber,
51383
- data.ghost_id,
51384
- data.payload ?? data.data ?? data,
51385
- void 0
51386
- ]));
51387
- }
51388
- },
51389
52257
  {
51390
52258
  id: "focus.time-off.update-timeoff-for-user",
51391
52259
  family: "focus",
@@ -52417,6 +53285,7 @@ const generatedFocusOperations = [
52417
53285
  pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52418
53286
  pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52419
53287
  pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
53288
+ send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52420
53289
  send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52421
53290
  shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
52422
53291
  show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -52518,37 +53387,6 @@ const generatedFocusOperations = [
52518
53387
  inputSchema: /* @__PURE__ */ looseObject({}),
52519
53388
  execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
52520
53389
  },
52521
- {
52522
- id: "focus.working-hours.create-for-ghost",
52523
- family: "focus",
52524
- resource: "working-hours",
52525
- action: "create-for-ghost",
52526
- title: "Create For Ghost Working Hours",
52527
- description: "Create For Ghost Working Hours.",
52528
- safety: "create",
52529
- destructive: false,
52530
- cli: {
52531
- group: ["working-hours"],
52532
- command: "create-for-ghost",
52533
- interactive: "hidden"
52534
- },
52535
- mcp: { entityTool: "working-hours" },
52536
- inputSchema: /* @__PURE__ */ looseObject({
52537
- ghost_id: /* @__PURE__ */ number$2(),
52538
- payload: /* @__PURE__ */ unknown$1()
52539
- }),
52540
- execute: (input, { client }) => {
52541
- const data = input;
52542
- return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
52543
- client.httpClient,
52544
- client.organizationId,
52545
- client.workspaceIdNumber,
52546
- data.ghost_id,
52547
- data.payload ?? data.data ?? data,
52548
- void 0
52549
- ]));
52550
- }
52551
- },
52552
53390
  {
52553
53391
  id: "focus.working-hours.create-for-user",
52554
53392
  family: "focus",
@@ -52579,37 +53417,6 @@ const generatedFocusOperations = [
52579
53417
  ]));
52580
53418
  }
52581
53419
  },
52582
- {
52583
- id: "focus.working-hours.delete-for-ghost",
52584
- family: "focus",
52585
- resource: "working-hours",
52586
- action: "delete-for-ghost",
52587
- title: "Delete For Ghost Working Hours",
52588
- description: "Delete For Ghost Working Hours.",
52589
- safety: "delete",
52590
- destructive: true,
52591
- cli: {
52592
- group: ["working-hours"],
52593
- command: "delete-for-ghost",
52594
- interactive: "hidden"
52595
- },
52596
- mcp: { entityTool: "working-hours" },
52597
- inputSchema: /* @__PURE__ */ looseObject({
52598
- ghost_id: /* @__PURE__ */ number$2(),
52599
- payload: /* @__PURE__ */ unknown$1()
52600
- }),
52601
- execute: (input, { client }) => {
52602
- const data = input;
52603
- return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
52604
- client.httpClient,
52605
- client.organizationId,
52606
- client.workspaceIdNumber,
52607
- data.ghost_id,
52608
- data.payload ?? data.data ?? data,
52609
- void 0
52610
- ]));
52611
- }
52612
- },
52613
53420
  {
52614
53421
  id: "focus.working-hours.delete-for-user",
52615
53422
  family: "focus",
@@ -52640,33 +53447,6 @@ const generatedFocusOperations = [
52640
53447
  ]));
52641
53448
  }
52642
53449
  },
52643
- {
52644
- id: "focus.working-hours.get-for-ghost",
52645
- family: "focus",
52646
- resource: "working-hours",
52647
- action: "get-for-ghost",
52648
- title: "Get For Ghost Working Hours",
52649
- description: "Get For Ghost Working Hours.",
52650
- safety: "read",
52651
- destructive: false,
52652
- cli: {
52653
- group: ["working-hours"],
52654
- command: "get-for-ghost",
52655
- interactive: "available"
52656
- },
52657
- mcp: { entityTool: "working-hours" },
52658
- inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
52659
- execute: (input, { client }) => {
52660
- const data = input;
52661
- return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
52662
- client.httpClient,
52663
- client.organizationId,
52664
- client.workspaceIdNumber,
52665
- data.ghost_id,
52666
- void 0
52667
- ]));
52668
- }
52669
- },
52670
53450
  {
52671
53451
  id: "focus.working-hours.get-for-user",
52672
53452
  family: "focus",
@@ -52693,37 +53473,6 @@ const generatedFocusOperations = [
52693
53473
  ]));
52694
53474
  }
52695
53475
  },
52696
- {
52697
- id: "focus.working-hours.update-for-ghost",
52698
- family: "focus",
52699
- resource: "working-hours",
52700
- action: "update-for-ghost",
52701
- title: "Update For Ghost Working Hours",
52702
- description: "Update For Ghost Working Hours.",
52703
- safety: "update",
52704
- destructive: false,
52705
- cli: {
52706
- group: ["working-hours"],
52707
- command: "update-for-ghost",
52708
- interactive: "hidden"
52709
- },
52710
- mcp: { entityTool: "working-hours" },
52711
- inputSchema: /* @__PURE__ */ looseObject({
52712
- ghost_id: /* @__PURE__ */ number$2(),
52713
- payload: /* @__PURE__ */ unknown$1()
52714
- }),
52715
- execute: (input, { client }) => {
52716
- const data = input;
52717
- return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
52718
- client.httpClient,
52719
- client.organizationId,
52720
- client.workspaceIdNumber,
52721
- data.ghost_id,
52722
- data.payload ?? data.data ?? data,
52723
- void 0
52724
- ]));
52725
- }
52726
- },
52727
53476
  {
52728
53477
  id: "focus.working-hours.update-for-user",
52729
53478
  family: "focus",
@@ -52798,6 +53547,50 @@ const generatedFocusOperations = [
52798
53547
  void 0
52799
53548
  ]))
52800
53549
  },
53550
+ {
53551
+ id: "focus.workspace-settings.get-workspace-export-branding",
53552
+ family: "focus",
53553
+ resource: "workspace-settings",
53554
+ action: "get-workspace-export-branding",
53555
+ title: "Get Workspace Export Branding Workspace Settings",
53556
+ description: "Get Workspace Export Branding Workspace Settings.",
53557
+ safety: "read",
53558
+ destructive: false,
53559
+ cli: {
53560
+ group: ["workspace-settings"],
53561
+ command: "get-workspace-export-branding",
53562
+ interactive: "hidden"
53563
+ },
53564
+ mcp: { entityTool: "workspace-settings" },
53565
+ inputSchema: /* @__PURE__ */ looseObject({}),
53566
+ execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
53567
+ client.httpClient,
53568
+ client.workspaceIdNumber,
53569
+ void 0
53570
+ ]))
53571
+ },
53572
+ {
53573
+ id: "focus.workspace-settings.get-workspace-watermark",
53574
+ family: "focus",
53575
+ resource: "workspace-settings",
53576
+ action: "get-workspace-watermark",
53577
+ title: "Get Workspace Watermark Workspace Settings",
53578
+ description: "Get Workspace Watermark Workspace Settings.",
53579
+ safety: "read",
53580
+ destructive: false,
53581
+ cli: {
53582
+ group: ["workspace-settings"],
53583
+ command: "get-workspace-watermark",
53584
+ interactive: "hidden"
53585
+ },
53586
+ mcp: { entityTool: "workspace-settings" },
53587
+ inputSchema: /* @__PURE__ */ looseObject({}),
53588
+ execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
53589
+ client.httpClient,
53590
+ client.workspaceIdNumber,
53591
+ void 0
53592
+ ]))
53593
+ },
52801
53594
  {
52802
53595
  id: "focus.workspace-settings.list",
52803
53596
  family: "focus",
@@ -52872,6 +53665,32 @@ const generatedFocusOperations = [
52872
53665
  ]));
52873
53666
  }
52874
53667
  },
53668
+ {
53669
+ id: "focus.workspace-settings.update-workspace-watermark",
53670
+ family: "focus",
53671
+ resource: "workspace-settings",
53672
+ action: "update-workspace-watermark",
53673
+ title: "Update Workspace Watermark Workspace Settings",
53674
+ description: "Update Workspace Watermark Workspace Settings.",
53675
+ safety: "update",
53676
+ destructive: false,
53677
+ cli: {
53678
+ group: ["workspace-settings"],
53679
+ command: "update-workspace-watermark",
53680
+ interactive: "default"
53681
+ },
53682
+ mcp: { entityTool: "workspace-settings" },
53683
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
53684
+ execute: (input, { client }) => {
53685
+ const data = input;
53686
+ return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
53687
+ client.httpClient,
53688
+ client.workspaceIdNumber,
53689
+ data.payload ?? data.data ?? data,
53690
+ void 0
53691
+ ]));
53692
+ }
53693
+ },
52875
53694
  {
52876
53695
  id: "focus.workspace.get-context",
52877
53696
  family: "focus",
@@ -53998,7 +54817,7 @@ function registerWorkspaceTools(server) {
53998
54817
  //#region src/package-version.ts
53999
54818
  function mcpPackageVersion() {
54000
54819
  try {
54001
- return "1.11.115";
54820
+ return "1.11.117";
54002
54821
  } catch {
54003
54822
  return "unknown";
54004
54823
  }
@@ -54173,7 +54992,7 @@ import_main.default.config({
54173
54992
  quiet: true,
54174
54993
  ignore: ["MISSING_ENV_FILE"]
54175
54994
  });
54176
- const packageVersion = "1.11.115";
54995
+ const packageVersion = "1.11.117";
54177
54996
  function resolvePublicUrls() {
54178
54997
  return {
54179
54998
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -54238,4 +55057,4 @@ function bootstrapServer(options = {}) {
54238
55057
  //#endregion
54239
55058
  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 };
54240
55059
 
54241
- //# sourceMappingURL=src-ZpTA1Ynx.js.map
55060
+ //# sourceMappingURL=src-DKXUYqgo.js.map