@togglhq/cli 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.
@@ -5495,10 +5495,6 @@ function _joinExpects$1(values$1, separator) {
5495
5495
  */
5496
5496
  const ISO_DATE_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])$/u;
5497
5497
  /**
5498
- * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time regex.
5499
- */
5500
- 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;
5501
- /**
5502
5498
  * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp regex. Allows a
5503
5499
  * space as a date/time separator and an optional space before the UTC offset.
5504
5500
  */
@@ -5552,22 +5548,6 @@ function isoDate$1(message$1) {
5552
5548
  };
5553
5549
  }
5554
5550
  /* @__NO_SIDE_EFFECTS__ */
5555
- function isoDateTime$1(message$1) {
5556
- return {
5557
- kind: "validation",
5558
- type: "iso_date_time",
5559
- reference: isoDateTime$1,
5560
- async: false,
5561
- expects: null,
5562
- requirement: ISO_DATE_TIME_REGEX$1,
5563
- message: message$1,
5564
- "~run"(dataset, config$1) {
5565
- if (dataset.typed && !this.requirement.test(dataset.value)) _addIssue$1(this, "date-time", dataset, config$1);
5566
- return dataset;
5567
- }
5568
- };
5569
- }
5570
- /* @__NO_SIDE_EFFECTS__ */
5571
5551
  function isoTimestamp(message$1) {
5572
5552
  return {
5573
5553
  kind: "validation",
@@ -7236,11 +7216,7 @@ function pipe(...pipe$1) {
7236
7216
  }
7237
7217
  const TaskAssignmentSchema = /* @__PURE__ */ object({
7238
7218
  id: /* @__PURE__ */ number(),
7239
- type: /* @__PURE__ */ picklist([
7240
- "user",
7241
- "ghost",
7242
- "team"
7243
- ])
7219
+ type: /* @__PURE__ */ picklist(["user", "team"])
7244
7220
  });
7245
7221
  const ClientLiteSchema = /* @__PURE__ */ object({
7246
7222
  id: /* @__PURE__ */ number(),
@@ -7282,7 +7258,8 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
7282
7258
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7283
7259
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
7284
7260
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7285
- rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
7261
+ rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
7262
+ 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.")))
7286
7263
  });
7287
7264
  const TaskMetadataSchema = /* @__PURE__ */ object({
7288
7265
  all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7355,7 +7332,7 @@ const TaskSchema = /* @__PURE__ */ object({
7355
7332
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7356
7333
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
7357
7334
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7358
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7335
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7359
7336
  client: /* @__PURE__ */ optional(ClientLiteSchema),
7360
7337
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7361
7338
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -7363,7 +7340,6 @@ const TaskSchema = /* @__PURE__ */ object({
7363
7340
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7364
7341
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7365
7342
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7366
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7367
7343
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7368
7344
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7369
7345
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7373,6 +7349,7 @@ const TaskSchema = /* @__PURE__ */ object({
7373
7349
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7374
7350
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7375
7351
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7352
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7376
7353
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7377
7354
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7378
7355
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -7416,7 +7393,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7416
7393
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7417
7394
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
7418
7395
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7419
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7396
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7420
7397
  client: /* @__PURE__ */ optional(ClientLiteSchema),
7421
7398
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7422
7399
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -7424,7 +7401,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7424
7401
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7425
7402
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7426
7403
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7427
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7428
7404
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7429
7405
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7430
7406
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -7435,6 +7411,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7435
7411
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7436
7412
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7437
7413
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7414
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7438
7415
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7439
7416
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7440
7417
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -7593,7 +7570,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
7593
7570
  tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
7594
7571
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7595
7572
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7596
- 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."))),
7573
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
7597
7574
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7598
7575
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7599
7576
  });
@@ -7737,7 +7714,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
7737
7714
  task: /* @__PURE__ */ optional(TaskSchema),
7738
7715
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7739
7716
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7740
- 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."))),
7717
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
7741
7718
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7742
7719
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7743
7720
  })),
@@ -7749,9 +7726,15 @@ const TagSchema$1 = /* @__PURE__ */ object({
7749
7726
  id: /* @__PURE__ */ number(),
7750
7727
  name: /* @__PURE__ */ string(),
7751
7728
  workspace_id: /* @__PURE__ */ number(),
7729
+ 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."))),
7752
7730
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7753
7731
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7754
- updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7732
+ updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7733
+ usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
7734
+ projects: /* @__PURE__ */ number(),
7735
+ tasks: /* @__PURE__ */ number(),
7736
+ time_entries: /* @__PURE__ */ number()
7737
+ })), /* @__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.")))
7755
7738
  });
7756
7739
  const PaginatedTagsSchema = /* @__PURE__ */ object({
7757
7740
  data: /* @__PURE__ */ array(TagSchema$1),
@@ -7762,8 +7745,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
7762
7745
  const OrganizationUserResponseSchema = /* @__PURE__ */ object({
7763
7746
  "2fa_enabled": /* @__PURE__ */ boolean(),
7764
7747
  account_locked_at: /* @__PURE__ */ string(),
7748
+ accounts_role_id: /* @__PURE__ */ number(),
7765
7749
  active: /* @__PURE__ */ boolean(),
7766
- admin: /* @__PURE__ */ boolean(),
7767
7750
  can_edit_personal_details: /* @__PURE__ */ boolean(),
7768
7751
  created_at: /* @__PURE__ */ string(),
7769
7752
  deleted_at: /* @__PURE__ */ string(),
@@ -7812,7 +7795,9 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
7812
7795
  track_role_id: /* @__PURE__ */ number(),
7813
7796
  work_role_id: /* @__PURE__ */ number(),
7814
7797
  workspace_user_id: /* @__PURE__ */ number()
7815
- }))
7798
+ })),
7799
+ custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
7800
+ 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.")))
7816
7801
  });
7817
7802
  const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7818
7803
  const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
@@ -7889,8 +7874,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7889
7874
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7890
7875
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7891
7876
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7892
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7893
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7877
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
7894
7878
  integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7895
7879
  integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7896
7880
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -7906,6 +7890,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7906
7890
  priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7907
7891
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7908
7892
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7893
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7909
7894
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7910
7895
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7911
7896
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7915,22 +7900,23 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7915
7900
  const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7916
7901
  const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
7917
7902
  cascade_duplicate_children: /* @__PURE__ */ boolean(),
7918
- task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
7903
+ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)),
7904
+ 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.")))
7919
7905
  });
7920
7906
  const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7921
7907
  const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7922
7908
  const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7909
+ after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7923
7910
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
7924
7911
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7925
7912
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7926
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7913
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7927
7914
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7928
7915
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
7929
7916
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7930
7917
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7931
7918
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7932
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7933
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7919
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
7934
7920
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7935
7921
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7936
7922
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7947,6 +7933,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7947
7933
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7948
7934
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7949
7935
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7936
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7950
7937
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7951
7938
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7952
7939
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7955,17 +7942,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7955
7942
  });
7956
7943
  const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7957
7944
  id: /* @__PURE__ */ number(),
7945
+ after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7958
7946
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
7959
7947
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7960
7948
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7961
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7949
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7962
7950
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7963
7951
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
7964
7952
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7965
7953
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7966
7954
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7967
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7968
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7955
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
7969
7956
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7970
7957
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7971
7958
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7982,6 +7969,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7982
7969
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7983
7970
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7984
7971
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7972
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7985
7973
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7986
7974
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7987
7975
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -9905,7 +9893,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
9905
9893
  })
9906
9894
  }).json();
9907
9895
  }
9908
- 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) {
9896
+ 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) {
9909
9897
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
9910
9898
  signal,
9911
9899
  searchParams: buildSearchParams$2({
@@ -9925,7 +9913,10 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
9925
9913
  include_working_hours,
9926
9914
  include_rates,
9927
9915
  pinned_ids,
9928
- has_group
9916
+ has_group,
9917
+ cf_filter,
9918
+ include_custom_fields,
9919
+ include_calendar_integration
9929
9920
  }, true)
9930
9921
  });
9931
9922
  return withResponseMeta(await response.json(), response.headers, response.status);
@@ -9944,7 +9935,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
9944
9935
  }
9945
9936
  //#endregion
9946
9937
  //#region ../focus-queries/dist/tags/requests.ts
9947
- async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
9938
+ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
9948
9939
  return await httpClient.get(`workspaces/${workspace_id}/tags`, {
9949
9940
  signal,
9950
9941
  searchParams: buildSearchParams$2({
@@ -9952,7 +9943,10 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
9952
9943
  page,
9953
9944
  per_page,
9954
9945
  order_by,
9955
- tag_id
9946
+ tag_id,
9947
+ include_usage,
9948
+ include_archived,
9949
+ archived
9956
9950
  })
9957
9951
  }).json();
9958
9952
  }
@@ -9962,6 +9956,42 @@ async function createTag(httpClient, workspace_id, data, signal) {
9962
9956
  json: data
9963
9957
  }).json();
9964
9958
  }
9959
+ async function bulkCreateTags(httpClient, workspace_id, data, signal) {
9960
+ return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
9961
+ signal,
9962
+ json: data
9963
+ }).json();
9964
+ }
9965
+ async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
9966
+ return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
9967
+ signal,
9968
+ searchParams: buildSearchParams$2({ ids })
9969
+ }).json();
9970
+ }
9971
+ async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
9972
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
9973
+ signal,
9974
+ json: data
9975
+ }).json();
9976
+ }
9977
+ async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
9978
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
9979
+ signal,
9980
+ json: data
9981
+ }).json();
9982
+ }
9983
+ async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
9984
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
9985
+ signal,
9986
+ json: data
9987
+ }).json();
9988
+ }
9989
+ async function mergeTags(httpClient, workspace_id, data, signal) {
9990
+ return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
9991
+ signal,
9992
+ json: data
9993
+ }).json();
9994
+ }
9965
9995
  async function getTag(httpClient, workspace_id, tag_id, signal) {
9966
9996
  return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
9967
9997
  }
@@ -9974,12 +10004,18 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
9974
10004
  async function deleteTag(httpClient, workspace_id, tag_id, signal) {
9975
10005
  return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
9976
10006
  }
10007
+ async function archiveTag(httpClient, workspace_id, tag_id, signal) {
10008
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
10009
+ }
9977
10010
  async function restoreTag(httpClient, workspace_id, tag_id, signal) {
9978
10011
  return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
9979
10012
  }
10013
+ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
10014
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
10015
+ }
9980
10016
  //#endregion
9981
10017
  //#region ../focus-queries/dist/projects/requests.ts
9982
- 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) {
10018
+ 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) {
9983
10019
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
9984
10020
  signal,
9985
10021
  searchParams: buildSearchParams$2({
@@ -9997,9 +10033,11 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
9997
10033
  assignee_user_id,
9998
10034
  project_id,
9999
10035
  user_id,
10036
+ only_me,
10000
10037
  include_rates,
10001
10038
  include_rollover,
10002
10039
  include_idle_recurring_templates,
10040
+ collapse_recurring,
10003
10041
  include_drafts,
10004
10042
  include_locked_private,
10005
10043
  start_date,
@@ -10230,7 +10268,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10230
10268
  }
10231
10269
  //#endregion
10232
10270
  //#region ../focus-queries/dist/tasks/requests.ts
10233
- 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) {
10271
+ 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) {
10234
10272
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10235
10273
  signal,
10236
10274
  searchParams: buildSearchParams$2({
@@ -10278,10 +10316,8 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10278
10316
  recurring_task_ids,
10279
10317
  client_id,
10280
10318
  include_rates,
10281
- include_ghost_assignees,
10282
10319
  include_assignees,
10283
10320
  include_parent_matches,
10284
- assignee_ghost_id,
10285
10321
  disable_aggregations,
10286
10322
  cf_filter
10287
10323
  })
@@ -10367,7 +10403,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
10367
10403
  })
10368
10404
  }).json();
10369
10405
  }
10370
- 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) {
10406
+ 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) {
10371
10407
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
10372
10408
  signal,
10373
10409
  searchParams: buildSearchParams$2({
@@ -10380,14 +10416,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10380
10416
  dates_overlap_end,
10381
10417
  recurring_task_ids,
10382
10418
  team_id,
10419
+ assignee_team_id,
10383
10420
  assignee_user_id,
10384
10421
  tag_id,
10385
- include_ghost_assignees,
10386
10422
  include_assignees
10387
10423
  })
10388
10424
  }).json();
10389
10425
  }
10390
- 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) {
10426
+ 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) {
10391
10427
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10392
10428
  signal,
10393
10429
  searchParams: buildSearchParams$2({
@@ -10431,20 +10467,15 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10431
10467
  recurring,
10432
10468
  recurring_task_ids,
10433
10469
  client_id,
10434
- include_ghost_assignees,
10435
10470
  include_assignees,
10436
- assignee_ghost_id,
10437
10471
  cf_filter
10438
10472
  })
10439
10473
  }).json();
10440
10474
  }
10441
- async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
10475
+ async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
10442
10476
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
10443
10477
  signal,
10444
- searchParams: buildSearchParams$2({
10445
- include_ghost_assignees,
10446
- include_assignees
10447
- })
10478
+ searchParams: buildSearchParams$2({ include_assignees })
10448
10479
  }).json();
10449
10480
  }
10450
10481
  async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
@@ -10475,7 +10506,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
10475
10506
  searchParams: buildSearchParams$2({ from_recurring_task_id })
10476
10507
  }).json();
10477
10508
  }
10478
- 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) {
10509
+ 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) {
10479
10510
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
10480
10511
  signal,
10481
10512
  searchParams: buildSearchParams$2({
@@ -10488,12 +10519,11 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
10488
10519
  team_id,
10489
10520
  assignee_user_id,
10490
10521
  tag_id,
10491
- include_ghost_assignees,
10492
10522
  include_assignees
10493
10523
  })
10494
10524
  }).json();
10495
10525
  }
10496
- 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) {
10526
+ 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) {
10497
10527
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
10498
10528
  signal,
10499
10529
  searchParams: buildSearchParams$2({
@@ -10506,7 +10536,6 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
10506
10536
  team_id,
10507
10537
  assignee_user_id,
10508
10538
  tag_id,
10509
- include_ghost_assignees,
10510
10539
  include_assignees
10511
10540
  })
10512
10541
  }).json();
@@ -10608,6 +10637,12 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
10608
10637
  })
10609
10638
  }).json();
10610
10639
  }
10640
+ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
10641
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
10642
+ signal,
10643
+ json: data
10644
+ }).json();
10645
+ }
10611
10646
  async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
10612
10647
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
10613
10648
  signal,
@@ -10744,7 +10779,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
10744
10779
  ]))
10745
10780
  });
10746
10781
  //#endregion
10747
- //#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
10782
+ //#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
10748
10783
  async function getInvitations(httpClient, signal) {
10749
10784
  return (await httpClient.get(`invitations`, { signal })).json();
10750
10785
  }
@@ -10761,7 +10796,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
10761
10796
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
10762
10797
  }
10763
10798
  //#endregion
10764
- //#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
10799
+ //#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
10765
10800
  function buildSearchParams(params, flattenArrays = false) {
10766
10801
  const searchParams = new URLSearchParams();
10767
10802
  Object.entries(params).forEach(([key, value]) => {
@@ -10773,7 +10808,7 @@ function buildSearchParams(params, flattenArrays = false) {
10773
10808
  return searchParams;
10774
10809
  }
10775
10810
  //#endregion
10776
- //#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
10811
+ //#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
10777
10812
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
10778
10813
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
10779
10814
  }
@@ -10787,7 +10822,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
10787
10822
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
10788
10823
  }
10789
10824
  //#endregion
10790
- //#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
10825
+ //#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
10791
10826
  async function getWorkspaces(httpClient, organization_id, signal) {
10792
10827
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
10793
10828
  }
@@ -10796,7 +10831,7 @@ async function getWorkspaceUserMeRoles(httpClient, organization_id, workspace_id
10796
10831
  }
10797
10832
  const WorkingHoursCreateInputSchema = /* @__PURE__ */ object$2({
10798
10833
  working_hours: /* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ maxValue$1(168)),
10799
- starting_hours: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ minValue$1(0), /* @__PURE__ */ maxValue$1(24))),
10834
+ starting_hours: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ maxValue$1(24))),
10800
10835
  weekday: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ minValue$1(0), /* @__PURE__ */ maxValue$1(6)))
10801
10836
  });
10802
10837
  const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
@@ -10807,7 +10842,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
10807
10842
  });
10808
10843
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
10809
10844
  //#endregion
10810
- //#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
10845
+ //#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
10811
10846
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
10812
10847
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
10813
10848
  signal,
@@ -10818,12 +10853,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
10818
10853
  })).json();
10819
10854
  }
10820
10855
  //#endregion
10821
- //#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
10856
+ //#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
10822
10857
  async function getStatus(httpClient, signal) {
10823
10858
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
10824
10859
  }
10825
10860
  //#endregion
10826
- //#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
10861
+ //#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
10827
10862
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
10828
10863
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
10829
10864
  signal,
@@ -10851,7 +10886,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
10851
10886
  return response.json();
10852
10887
  }
10853
10888
  //#endregion
10854
- //#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
10889
+ //#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
10855
10890
  async function getMyWorkingHours(httpClient, organization_id, signal) {
10856
10891
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
10857
10892
  }
@@ -14428,6 +14463,21 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
14428
14463
  }
14429
14464
  //#endregion
14430
14465
  //#region ../focus-queries/dist/audit-log/requests.ts
14466
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14467
+ return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
14468
+ signal,
14469
+ searchParams: buildSearchParams$2({
14470
+ workspace_id,
14471
+ entity_type,
14472
+ entity_id,
14473
+ action,
14474
+ user_id,
14475
+ page_size,
14476
+ page_number,
14477
+ export: export_
14478
+ })
14479
+ }).json();
14480
+ }
14431
14481
  async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14432
14482
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
14433
14483
  signal,
@@ -14586,33 +14636,22 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
14586
14636
  }
14587
14637
  //#endregion
14588
14638
  //#region ../focus-queries/dist/capacities/requests.ts
14589
- 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) {
14639
+ 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) {
14590
14640
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
14591
14641
  signal,
14592
14642
  searchParams: buildSearchParams$2({
14593
14643
  user_id,
14594
14644
  start_date,
14595
14645
  end_date,
14596
- ghost_id,
14597
14646
  private: private_,
14598
14647
  task_source,
14599
14648
  unit,
14600
- include_drafts
14649
+ include_drafts,
14650
+ include_task_estimates
14601
14651
  })
14602
14652
  }).json();
14603
14653
  }
14604
14654
  //#endregion
14605
- //#region ../focus-queries/dist/capacity-settings/requests.ts
14606
- async function getCapacitySettings(httpClient, workspace_id, signal) {
14607
- return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
14608
- }
14609
- async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
14610
- return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
14611
- signal,
14612
- json: data
14613
- }).json();
14614
- }
14615
- //#endregion
14616
14655
  //#region ../focus-queries/dist/composite/requests.ts
14617
14656
  async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
14618
14657
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
@@ -14695,6 +14734,12 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
14695
14734
  async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
14696
14735
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
14697
14736
  }
14737
+ async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
14738
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
14739
+ signal,
14740
+ json: data
14741
+ }).json();
14742
+ }
14698
14743
  //#endregion
14699
14744
  //#region ../focus-queries/dist/goals/requests.ts
14700
14745
  async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
@@ -14920,7 +14965,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
14920
14965
  }
14921
14966
  //#endregion
14922
14967
  //#region ../focus-queries/dist/project-groups/requests.ts
14923
- 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) {
14968
+ 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) {
14924
14969
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
14925
14970
  signal,
14926
14971
  searchParams: buildSearchParams$2({
@@ -14932,6 +14977,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
14932
14977
  include_group_totals,
14933
14978
  include_unassigned,
14934
14979
  archived,
14980
+ completed,
14935
14981
  private: private_,
14936
14982
  name,
14937
14983
  client_id,
@@ -14943,6 +14989,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
14943
14989
  start_date,
14944
14990
  end_date,
14945
14991
  user_id,
14992
+ only_me,
14946
14993
  include_drafts,
14947
14994
  cf_filter
14948
14995
  })
@@ -15058,10 +15105,14 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
15058
15105
  }
15059
15106
  //#endregion
15060
15107
  //#region ../focus-queries/dist/reports/requests.ts
15061
- async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
15108
+ async function getForecastAvailability(httpClient, workspace_id, signal) {
15109
+ return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
15110
+ }
15111
+ async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
15062
15112
  return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
15063
15113
  signal,
15064
15114
  json: data,
15115
+ headers: { "X-Toggl-Report-Export": xTogglReportExport },
15065
15116
  searchParams: buildSearchParams$2({
15066
15117
  response_format,
15067
15118
  include_dicts
@@ -15085,12 +15136,36 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
15085
15136
  json: data
15086
15137
  }).json();
15087
15138
  }
15088
- async function getWorkloadReport(httpClient, workspace_id, data, signal) {
15139
+ async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
15140
+ return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
15141
+ signal,
15142
+ json: data
15143
+ }).json();
15144
+ }
15145
+ async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
15089
15146
  return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
15147
+ signal,
15148
+ json: data,
15149
+ headers: { "X-Toggl-Report-Export": xTogglReportExport }
15150
+ }).json();
15151
+ }
15152
+ //#endregion
15153
+ //#region ../focus-queries/dist/reportschedules/requests.ts
15154
+ async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
15155
+ return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
15156
+ signal,
15157
+ json: data
15158
+ }).json();
15159
+ }
15160
+ async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
15161
+ return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
15090
15162
  signal,
15091
15163
  json: data
15092
15164
  }).json();
15093
15165
  }
15166
+ async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
15167
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
15168
+ }
15094
15169
  //#endregion
15095
15170
  //#region ../focus-queries/dist/savedviews/requests.ts
15096
15171
  async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
@@ -15123,7 +15198,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
15123
15198
  }
15124
15199
  //#endregion
15125
15200
  //#region ../focus-queries/dist/search/requests.ts
15126
- 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) {
15201
+ 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) {
15127
15202
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
15128
15203
  signal,
15129
15204
  searchParams: buildSearchParams$2({
@@ -15135,11 +15210,56 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
15135
15210
  task_id,
15136
15211
  include_drafts,
15137
15212
  exclude_calendar_events,
15138
- group_by_tags
15213
+ group_by_tags,
15214
+ only_me
15215
+ })
15216
+ }).json();
15217
+ }
15218
+ async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
15219
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
15220
+ signal,
15221
+ searchParams: buildSearchParams$2({
15222
+ keyword,
15223
+ per_group
15139
15224
  })
15140
15225
  }).json();
15141
15226
  }
15142
15227
  //#endregion
15228
+ //#region ../focus-queries/dist/sharedreports/requests.ts
15229
+ async function shareSavedView(httpClient, workspace_id, id, data, signal) {
15230
+ return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
15231
+ signal,
15232
+ json: data
15233
+ }).json();
15234
+ }
15235
+ async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
15236
+ return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
15237
+ }
15238
+ async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
15239
+ return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
15240
+ signal,
15241
+ json: data
15242
+ }).json();
15243
+ }
15244
+ async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
15245
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
15246
+ }
15247
+ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
15248
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
15249
+ }
15250
+ async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
15251
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
15252
+ }
15253
+ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
15254
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
15255
+ signal,
15256
+ json: data
15257
+ }).json();
15258
+ }
15259
+ async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
15260
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
15261
+ }
15262
+ //#endregion
15143
15263
  //#region ../focus-queries/dist/subscriptions/requests.ts
15144
15264
  async function getCurrentSubscription(httpClient, organization_id, signal) {
15145
15265
  return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
@@ -15195,7 +15315,77 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
15195
15315
  }
15196
15316
  //#endregion
15197
15317
  //#region ../focus-queries/dist/task-groups/requests.ts
15198
- 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) {
15318
+ 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) {
15319
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
15320
+ signal,
15321
+ searchParams: buildSearchParams$2({
15322
+ project_id,
15323
+ source,
15324
+ priority,
15325
+ status_id,
15326
+ client_id,
15327
+ assignee_user_id,
15328
+ tag_id,
15329
+ team_id,
15330
+ user_tag_id,
15331
+ group_id,
15332
+ creator_id,
15333
+ name,
15334
+ start_date,
15335
+ end_date,
15336
+ start_date_from,
15337
+ start_date_to,
15338
+ end_date_from,
15339
+ end_date_to,
15340
+ private: private_,
15341
+ exclude_empty,
15342
+ include_unassigned,
15343
+ include_unmaterialized,
15344
+ collapse_recurring,
15345
+ include_assignees,
15346
+ min_days,
15347
+ include_drafts,
15348
+ cf_filter,
15349
+ user_cf_filter
15350
+ })
15351
+ }).json();
15352
+ }
15353
+ 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) {
15354
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
15355
+ signal,
15356
+ searchParams: buildSearchParams$2({
15357
+ team_id,
15358
+ project_id,
15359
+ source,
15360
+ priority,
15361
+ status_id,
15362
+ client_id,
15363
+ assignee_user_id,
15364
+ tag_id,
15365
+ user_tag_id,
15366
+ group_id,
15367
+ creator_id,
15368
+ name,
15369
+ start_date,
15370
+ end_date,
15371
+ start_date_from,
15372
+ start_date_to,
15373
+ end_date_from,
15374
+ end_date_to,
15375
+ private: private_,
15376
+ exclude_empty,
15377
+ include_unassigned,
15378
+ include_unmaterialized,
15379
+ collapse_recurring,
15380
+ include_assignees,
15381
+ min_days,
15382
+ include_drafts,
15383
+ cf_filter,
15384
+ user_cf_filter
15385
+ })
15386
+ }).json();
15387
+ }
15388
+ 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) {
15199
15389
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
15200
15390
  signal,
15201
15391
  searchParams: buildSearchParams$2({
@@ -15219,11 +15409,14 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
15219
15409
  end_date_to,
15220
15410
  private: private_,
15221
15411
  exclude_empty,
15222
- include_ghosts,
15412
+ include_unassigned,
15413
+ include_unmaterialized,
15414
+ collapse_recurring,
15223
15415
  include_assignees,
15224
15416
  min_days,
15225
15417
  include_drafts,
15226
15418
  cf_filter,
15419
+ user_cf_filter,
15227
15420
  page,
15228
15421
  per_page,
15229
15422
  order_by
@@ -15360,17 +15553,18 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
15360
15553
  }).json();
15361
15554
  }
15362
15555
  //#endregion
15363
- //#region ../focus-queries/dist/time-log-suggestions/requests.ts
15364
- async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
15365
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
15366
- signal,
15367
- json: data
15368
- }).json();
15369
- }
15370
- async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
15371
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
15556
+ //#region ../focus-queries/dist/time-entry-groups/requests.ts
15557
+ async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
15558
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
15372
15559
  signal,
15373
- json: data
15560
+ searchParams: buildSearchParams$2({
15561
+ start_date,
15562
+ end_date,
15563
+ user_id,
15564
+ page,
15565
+ per_page,
15566
+ order_by
15567
+ })
15374
15568
  }).json();
15375
15569
  }
15376
15570
  //#endregion
@@ -15412,43 +15606,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
15412
15606
  json: data
15413
15607
  }).json();
15414
15608
  }
15415
- async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
15416
- return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
15417
- signal,
15418
- searchParams: buildSearchParams$2({
15419
- ghost_ids,
15420
- start_date,
15421
- end_date
15422
- })
15423
- }).json();
15424
- }
15425
- async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
15426
- return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15427
- signal,
15428
- searchParams: buildSearchParams$2({
15429
- from,
15430
- to
15431
- })
15432
- }).json();
15433
- }
15434
- async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15435
- return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15436
- signal,
15437
- json: data
15438
- }).json();
15439
- }
15440
- async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15441
- return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15442
- signal,
15443
- json: data
15444
- }).json();
15445
- }
15446
- async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15447
- return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15448
- signal,
15449
- json: data
15450
- }).json();
15451
- }
15452
15609
  //#endregion
15453
15610
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
15454
15611
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -15641,27 +15798,6 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
15641
15798
  json: data
15642
15799
  }).json();
15643
15800
  }
15644
- async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
15645
- return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
15646
- }
15647
- async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15648
- return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15649
- signal,
15650
- json: data
15651
- }).json();
15652
- }
15653
- async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15654
- return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15655
- signal,
15656
- json: data
15657
- }).json();
15658
- }
15659
- async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15660
- return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15661
- signal,
15662
- json: data
15663
- }).json();
15664
- }
15665
15801
  //#endregion
15666
15802
  //#region ../focus-queries/dist/workspace/requests.ts
15667
15803
  async function getWorkspaceContext(httpClient, workspace_id, signal) {
@@ -15678,6 +15814,9 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
15678
15814
  json: data
15679
15815
  }).json();
15680
15816
  }
15817
+ async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
15818
+ return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
15819
+ }
15681
15820
  async function getUserPermissions(httpClient, workspace_id, signal) {
15682
15821
  return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
15683
15822
  }
@@ -15690,6 +15829,15 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
15690
15829
  json: data
15691
15830
  }).json();
15692
15831
  }
15832
+ async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
15833
+ return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
15834
+ }
15835
+ async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
15836
+ return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
15837
+ signal,
15838
+ json: data
15839
+ }).json();
15840
+ }
15693
15841
  //#endregion
15694
15842
  //#region ../operations/build/index.public.js
15695
15843
  function callGeneratedRequest(request, args) {
@@ -15825,17 +15973,17 @@ const generatedFocusOperations = [
15825
15973
  ]))
15826
15974
  },
15827
15975
  {
15828
- id: "focus.audit-log.list",
15976
+ id: "focus.audit-log.get-organization",
15829
15977
  family: "focus",
15830
15978
  resource: "audit-log",
15831
- action: "list",
15832
- title: "List Audit Log",
15833
- description: "List Audit Log.",
15979
+ action: "get-organization",
15980
+ title: "Get Organization Audit Log",
15981
+ description: "Get Organization Audit Log.",
15834
15982
  safety: "read",
15835
15983
  destructive: false,
15836
15984
  cli: {
15837
15985
  group: ["audit-log"],
15838
- command: "list",
15986
+ command: "get-organization",
15839
15987
  interactive: "hidden"
15840
15988
  },
15841
15989
  mcp: { entityTool: "audit-log" },
@@ -15849,11 +15997,51 @@ const generatedFocusOperations = [
15849
15997
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15850
15998
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15851
15999
  to: /* @__PURE__ */ string$1(),
15852
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16000
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16001
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
15853
16002
  }),
15854
16003
  execute: (input, { client }) => {
15855
16004
  const data = input;
15856
- return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
16005
+ return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
16006
+ client.httpClient,
16007
+ client.organizationId,
16008
+ data.from,
16009
+ data.to,
16010
+ data,
16011
+ void 0
16012
+ ]));
16013
+ }
16014
+ },
16015
+ {
16016
+ id: "focus.audit-log.list",
16017
+ family: "focus",
16018
+ resource: "audit-log",
16019
+ action: "list",
16020
+ title: "List Audit Log",
16021
+ description: "List Audit Log.",
16022
+ safety: "read",
16023
+ destructive: false,
16024
+ cli: {
16025
+ group: ["audit-log"],
16026
+ command: "list",
16027
+ interactive: "hidden"
16028
+ },
16029
+ mcp: { entityTool: "audit-log" },
16030
+ inputSchema: /* @__PURE__ */ looseObject({
16031
+ action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16032
+ entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16033
+ entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16034
+ export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16035
+ export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16036
+ from: /* @__PURE__ */ string$1(),
16037
+ page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16038
+ page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16039
+ to: /* @__PURE__ */ string$1(),
16040
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16041
+ }),
16042
+ execute: (input, { client }) => {
16043
+ const data = input;
16044
+ return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
15857
16045
  client.httpClient,
15858
16046
  client.organizationId,
15859
16047
  client.workspaceIdNumber,
@@ -15881,9 +16069,9 @@ const generatedFocusOperations = [
15881
16069
  mcp: { entityTool: "capacities" },
15882
16070
  inputSchema: /* @__PURE__ */ looseObject({
15883
16071
  end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
15884
- ghost_id: /* @__PURE__ */ number$2(),
15885
16072
  group: /* @__PURE__ */ picklist$1(["users"]),
15886
16073
  include_drafts: /* @__PURE__ */ unknown$1(),
16074
+ include_task_estimates: /* @__PURE__ */ unknown$1(),
15887
16075
  private_: /* @__PURE__ */ unknown$1(),
15888
16076
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
15889
16077
  task_source: /* @__PURE__ */ unknown$1(),
@@ -15902,54 +16090,6 @@ const generatedFocusOperations = [
15902
16090
  ]));
15903
16091
  }
15904
16092
  },
15905
- {
15906
- id: "focus.capacities.settings-list",
15907
- family: "focus",
15908
- resource: "capacities",
15909
- action: "settings-list",
15910
- title: "Settings List Capacities",
15911
- description: "Settings List Capacities.",
15912
- safety: "read",
15913
- destructive: false,
15914
- cli: {
15915
- group: ["capacities", "settings"],
15916
- command: "list",
15917
- interactive: "hidden"
15918
- },
15919
- mcp: { entityTool: "capacities" },
15920
- inputSchema: /* @__PURE__ */ looseObject({}),
15921
- execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
15922
- client.httpClient,
15923
- client.workspaceIdNumber,
15924
- void 0
15925
- ]))
15926
- },
15927
- {
15928
- id: "focus.capacities.settings-update",
15929
- family: "focus",
15930
- resource: "capacities",
15931
- action: "settings-update",
15932
- title: "Settings Update Capacities",
15933
- description: "Settings Update Capacities.",
15934
- safety: "update",
15935
- destructive: false,
15936
- cli: {
15937
- group: ["capacities", "settings"],
15938
- command: "update",
15939
- interactive: "default"
15940
- },
15941
- mcp: { entityTool: "capacities" },
15942
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
15943
- execute: (input, { client }) => {
15944
- const data = input;
15945
- return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
15946
- client.httpClient,
15947
- client.workspaceIdNumber,
15948
- data.payload ?? data.data ?? data,
15949
- void 0
15950
- ]));
15951
- }
15952
- },
15953
16093
  {
15954
16094
  id: "focus.clients.create",
15955
16095
  family: "focus",
@@ -16144,8 +16284,7 @@ const generatedFocusOperations = [
16144
16284
  hourly_rate: /* @__PURE__ */ number$2(),
16145
16285
  start_at: apiDateTimeString,
16146
16286
  end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
16147
- }))),
16148
- resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16287
+ })))
16149
16288
  }) }),
16150
16289
  execute: (input, { client }) => {
16151
16290
  const data = input;
@@ -16200,6 +16339,7 @@ const generatedFocusOperations = [
16200
16339
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16201
16340
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16202
16341
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16342
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16203
16343
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16204
16344
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16205
16345
  }),
@@ -16232,6 +16372,7 @@ const generatedFocusOperations = [
16232
16372
  priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
16233
16373
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16234
16374
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16375
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16235
16376
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16236
16377
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16237
16378
  }))),
@@ -16287,7 +16428,11 @@ const generatedFocusOperations = [
16287
16428
  },
16288
16429
  mcp: { entityTool: "custom-fields" },
16289
16430
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16290
- entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
16431
+ entity_type: /* @__PURE__ */ picklist$1([
16432
+ "project",
16433
+ "task",
16434
+ "user"
16435
+ ]),
16291
16436
  field_type: /* @__PURE__ */ picklist$1([
16292
16437
  "select",
16293
16438
  "multi_select",
@@ -16620,7 +16765,11 @@ const generatedFocusOperations = [
16620
16765
  },
16621
16766
  mcp: { entityTool: "custom-fields" },
16622
16767
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16623
- entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
16768
+ entity_type: /* @__PURE__ */ picklist$1([
16769
+ "project",
16770
+ "task",
16771
+ "user"
16772
+ ]),
16624
16773
  ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
16625
16774
  }) }),
16626
16775
  execute: (input, { client }) => {
@@ -16634,6 +16783,37 @@ const generatedFocusOperations = [
16634
16783
  ]));
16635
16784
  }
16636
16785
  },
16786
+ {
16787
+ id: "focus.custom-fields.update-user-custom-field-values",
16788
+ family: "focus",
16789
+ resource: "custom-fields",
16790
+ action: "update-user-custom-field-values",
16791
+ title: "Update User Custom Field Values Custom Fields",
16792
+ description: "Update User Custom Field Values Custom Fields.",
16793
+ safety: "update",
16794
+ destructive: false,
16795
+ cli: {
16796
+ group: ["custom-fields"],
16797
+ command: "update-user-custom-field-values",
16798
+ interactive: "hidden"
16799
+ },
16800
+ mcp: { entityTool: "custom-fields" },
16801
+ inputSchema: /* @__PURE__ */ looseObject({
16802
+ payload: /* @__PURE__ */ unknown$1(),
16803
+ user_id: /* @__PURE__ */ number$2()
16804
+ }),
16805
+ execute: (input, { client }) => {
16806
+ const data = input;
16807
+ return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
16808
+ client.httpClient,
16809
+ client.organizationId,
16810
+ client.workspaceIdNumber,
16811
+ data.user_id,
16812
+ data.payload ?? data.data ?? data,
16813
+ void 0
16814
+ ]));
16815
+ }
16816
+ },
16637
16817
  {
16638
16818
  id: "focus.goals.create",
16639
16819
  family: "focus",
@@ -16853,10 +17033,22 @@ const generatedFocusOperations = [
16853
17033
  goal_id: /* @__PURE__ */ number$2(),
16854
17034
  payload: /* @__PURE__ */ looseObject({
16855
17035
  active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17036
+ client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16856
17037
  comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16857
17038
  icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16858
17039
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16859
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
17040
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17041
+ recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
17042
+ "daily",
17043
+ "weekly",
17044
+ "daily_workdays",
17045
+ "monthly"
17046
+ ])),
17047
+ start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17048
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17049
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
17050
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17051
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16860
17052
  })
16861
17053
  }),
16862
17054
  execute: (input, { client }) => {
@@ -18189,6 +18381,7 @@ const generatedFocusOperations = [
18189
18381
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18190
18382
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18191
18383
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18384
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18192
18385
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18193
18386
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
18194
18387
  group: /* @__PURE__ */ string$1(),
@@ -18196,6 +18389,7 @@ const generatedFocusOperations = [
18196
18389
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18197
18390
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18198
18391
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18392
+ only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18199
18393
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18200
18394
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18201
18395
  parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -20380,7 +20574,10 @@ const generatedFocusOperations = [
20380
20574
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20381
20575
  name: /* @__PURE__ */ string$1(),
20382
20576
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
20383
- }))
20577
+ })),
20578
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
20579
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20580
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
20384
20581
  }),
20385
20582
  response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
20386
20583
  }),
@@ -20421,6 +20618,28 @@ const generatedFocusOperations = [
20421
20618
  ]));
20422
20619
  }
20423
20620
  },
20621
+ {
20622
+ id: "focus.reports.get-forecast-availability",
20623
+ family: "focus",
20624
+ resource: "reports",
20625
+ action: "get-forecast-availability",
20626
+ title: "Get Forecast Availability Reports",
20627
+ description: "Get Forecast Availability Reports.",
20628
+ safety: "read",
20629
+ destructive: false,
20630
+ cli: {
20631
+ group: ["reports"],
20632
+ command: "get-forecast-availability",
20633
+ interactive: "hidden"
20634
+ },
20635
+ mcp: { entityTool: "reports" },
20636
+ inputSchema: /* @__PURE__ */ looseObject({}),
20637
+ execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
20638
+ client.httpClient,
20639
+ client.workspaceIdNumber,
20640
+ void 0
20641
+ ]))
20642
+ },
20424
20643
  {
20425
20644
  id: "focus.reports.get-profitability",
20426
20645
  family: "focus",
@@ -20480,9 +20699,17 @@ const generatedFocusOperations = [
20480
20699
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20481
20700
  name: /* @__PURE__ */ string$1(),
20482
20701
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
20483
- }))
20702
+ })),
20703
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
20704
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20705
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
20484
20706
  }),
20485
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
20707
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
20708
+ xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
20709
+ "csv",
20710
+ "xlsx",
20711
+ "pdf"
20712
+ ]))
20486
20713
  }),
20487
20714
  execute: (input, { client }) => {
20488
20715
  const data = input;
@@ -20492,22 +20719,23 @@ const generatedFocusOperations = [
20492
20719
  data.payload ?? data.data ?? data,
20493
20720
  data.response_format,
20494
20721
  data.include_dicts,
20722
+ data.xTogglReportExport,
20495
20723
  void 0
20496
20724
  ]));
20497
20725
  }
20498
20726
  },
20499
20727
  {
20500
- id: "focus.reports.get-workload",
20728
+ id: "focus.reports.get-time-accounting",
20501
20729
  family: "focus",
20502
20730
  resource: "reports",
20503
- action: "get-workload",
20504
- title: "Get Workload Reports",
20505
- description: "Get Workload Reports.",
20731
+ action: "get-time-accounting",
20732
+ title: "Get Time Accounting Reports",
20733
+ description: "Get Time Accounting Reports.",
20506
20734
  safety: "update",
20507
20735
  destructive: false,
20508
20736
  cli: {
20509
20737
  group: ["reports"],
20510
- command: "get-workload",
20738
+ command: "get-time-accounting",
20511
20739
  interactive: "hidden"
20512
20740
  },
20513
20741
  mcp: { entityTool: "reports" },
@@ -20553,11 +20781,14 @@ const generatedFocusOperations = [
20553
20781
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20554
20782
  name: /* @__PURE__ */ string$1(),
20555
20783
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
20556
- }))
20784
+ })),
20785
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
20786
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20787
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
20557
20788
  }) }),
20558
20789
  execute: (input, { client }) => {
20559
20790
  const data = input;
20560
- return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
20791
+ return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
20561
20792
  client.httpClient,
20562
20793
  client.workspaceIdNumber,
20563
20794
  data.payload ?? data.data ?? data,
@@ -20566,71 +20797,104 @@ const generatedFocusOperations = [
20566
20797
  }
20567
20798
  },
20568
20799
  {
20569
- id: "focus.saved-views.create",
20800
+ id: "focus.reports.get-workload",
20570
20801
  family: "focus",
20571
- resource: "saved-views",
20572
- action: "create",
20573
- title: "Create Saved Views",
20574
- description: "Create Saved Views.",
20575
- safety: "create",
20802
+ resource: "reports",
20803
+ action: "get-workload",
20804
+ title: "Get Workload Reports",
20805
+ description: "Get Workload Reports.",
20806
+ safety: "update",
20576
20807
  destructive: false,
20577
20808
  cli: {
20578
- group: ["saved-views"],
20579
- command: "create",
20809
+ group: ["reports"],
20810
+ command: "get-workload",
20580
20811
  interactive: "hidden"
20581
20812
  },
20582
- mcp: { entityTool: "saved-views" },
20583
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
20584
- name: /* @__PURE__ */ string$1(),
20585
- params: /* @__PURE__ */ unknown$1(),
20586
- pinned: /* @__PURE__ */ boolean$1(),
20587
- type: /* @__PURE__ */ picklist$1([
20588
- "inbox",
20589
- "archive",
20590
- "board",
20591
- "timeline",
20592
- "project",
20593
- "project.tasks",
20594
- "project.board",
20595
- "project.timeline",
20596
- "projects",
20597
- "reports.summary",
20598
- "reports.detailed",
20599
- "reports.utilization",
20600
- "reports.workload",
20601
- "reports.profitability"
20602
- ]),
20603
- icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
20604
- }) }),
20813
+ mcp: { entityTool: "reports" },
20814
+ inputSchema: /* @__PURE__ */ looseObject({
20815
+ payload: /* @__PURE__ */ looseObject({
20816
+ aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20817
+ aggregation: /* @__PURE__ */ looseObject({
20818
+ function: /* @__PURE__ */ string$1(),
20819
+ property: /* @__PURE__ */ string$1()
20820
+ }),
20821
+ operator: /* @__PURE__ */ string$1(),
20822
+ property: /* @__PURE__ */ string$1()
20823
+ })),
20824
+ aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20825
+ function: /* @__PURE__ */ string$1(),
20826
+ property: /* @__PURE__ */ string$1()
20827
+ })),
20828
+ attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
20829
+ currency: /* @__PURE__ */ string$1(),
20830
+ filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20831
+ conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
20832
+ operator: /* @__PURE__ */ string$1(),
20833
+ property: /* @__PURE__ */ string$1()
20834
+ })),
20835
+ groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20836
+ property: /* @__PURE__ */ string$1(),
20837
+ show_empty: /* @__PURE__ */ boolean$1()
20838
+ })),
20839
+ limit: /* @__PURE__ */ number$2(),
20840
+ ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20841
+ direction: /* @__PURE__ */ string$1(),
20842
+ nulls: /* @__PURE__ */ string$1(),
20843
+ property: /* @__PURE__ */ string$1()
20844
+ })),
20845
+ pagination: /* @__PURE__ */ looseObject({
20846
+ page: /* @__PURE__ */ number$2(),
20847
+ per_page: /* @__PURE__ */ number$2()
20848
+ }),
20849
+ period: /* @__PURE__ */ looseObject({
20850
+ from: /* @__PURE__ */ string$1(),
20851
+ preset: /* @__PURE__ */ string$1(),
20852
+ to: /* @__PURE__ */ string$1()
20853
+ }),
20854
+ transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20855
+ name: /* @__PURE__ */ string$1(),
20856
+ parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
20857
+ })),
20858
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
20859
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20860
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
20861
+ }),
20862
+ xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
20863
+ "csv",
20864
+ "xlsx",
20865
+ "pdf"
20866
+ ]))
20867
+ }),
20605
20868
  execute: (input, { client }) => {
20606
20869
  const data = input;
20607
- return client.runGeneratedRequest("createANewSavedView", () => callGeneratedRequest(createANewSavedView, [
20870
+ return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
20608
20871
  client.httpClient,
20609
20872
  client.workspaceIdNumber,
20610
20873
  data.payload ?? data.data ?? data,
20874
+ data.xTogglReportExport,
20611
20875
  void 0
20612
20876
  ]));
20613
20877
  }
20614
20878
  },
20615
20879
  {
20616
- id: "focus.saved-views.delete",
20880
+ id: "focus.reportschedules.delete-shared-report-schedule",
20617
20881
  family: "focus",
20618
- resource: "saved-views",
20619
- action: "delete",
20620
- title: "Delete Saved Views",
20621
- description: "Delete Saved Views.",
20882
+ resource: "reportschedules",
20883
+ action: "delete-shared-report-schedule",
20884
+ title: "Delete Shared Report Schedule Reportschedules",
20885
+ description: "Delete Shared Report Schedule Reportschedules.",
20622
20886
  safety: "delete",
20623
20887
  destructive: true,
20624
20888
  cli: {
20625
- group: ["saved-views"],
20626
- command: "delete",
20889
+ group: ["reportschedules"],
20890
+ command: "delete-shared-report-schedule",
20627
20891
  interactive: "default"
20628
20892
  },
20629
- mcp: { entityTool: "saved-views" },
20630
- inputSchema: savedViewIdSchema,
20893
+ mcp: { entityTool: "reportschedules" },
20894
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
20631
20895
  execute: (input, { client }) => {
20632
20896
  const data = input;
20633
- return client.runGeneratedRequest("deleteASavedView", () => callGeneratedRequest(deleteASavedView, [
20897
+ return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
20634
20898
  client.httpClient,
20635
20899
  client.workspaceIdNumber,
20636
20900
  data.id,
@@ -20639,36 +20903,193 @@ const generatedFocusOperations = [
20639
20903
  }
20640
20904
  },
20641
20905
  {
20642
- id: "focus.saved-views.get",
20906
+ id: "focus.reportschedules.upsert-saved-view-schedule",
20643
20907
  family: "focus",
20644
- resource: "saved-views",
20645
- action: "get",
20646
- title: "Get Saved Views",
20647
- description: "Get Saved Views.",
20648
- safety: "read",
20908
+ resource: "reportschedules",
20909
+ action: "upsert-saved-view-schedule",
20910
+ title: "Upsert Saved View Schedule Reportschedules",
20911
+ description: "Upsert Saved View Schedule Reportschedules.",
20912
+ safety: "update",
20649
20913
  destructive: false,
20650
20914
  cli: {
20651
- group: ["saved-views"],
20652
- command: "get",
20653
- interactive: "available"
20915
+ group: ["reportschedules"],
20916
+ command: "upsert-saved-view-schedule",
20917
+ interactive: "default"
20654
20918
  },
20655
- mcp: { entityTool: "saved-views" },
20656
- inputSchema: savedViewIdSchema,
20919
+ mcp: { entityTool: "reportschedules" },
20920
+ inputSchema: /* @__PURE__ */ looseObject({
20921
+ id: /* @__PURE__ */ number$2(),
20922
+ payload: /* @__PURE__ */ looseObject({
20923
+ cadence: /* @__PURE__ */ picklist$1([
20924
+ "daily",
20925
+ "weekly",
20926
+ "monthly"
20927
+ ]),
20928
+ time: /* @__PURE__ */ string$1(),
20929
+ day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
20930
+ recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
20931
+ recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
20932
+ recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
20933
+ })
20934
+ }),
20657
20935
  execute: (input, { client }) => {
20658
20936
  const data = input;
20659
- return client.runGeneratedRequest("getASavedView", () => callGeneratedRequest(getASavedView, [
20937
+ return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
20660
20938
  client.httpClient,
20661
20939
  client.workspaceIdNumber,
20662
20940
  data.id,
20941
+ data.payload ?? data.data ?? data,
20663
20942
  void 0
20664
20943
  ]));
20665
20944
  }
20666
20945
  },
20667
20946
  {
20668
- id: "focus.saved-views.list",
20947
+ id: "focus.reportschedules.upsert-shared-report-schedule",
20669
20948
  family: "focus",
20670
- resource: "saved-views",
20671
- action: "list",
20949
+ resource: "reportschedules",
20950
+ action: "upsert-shared-report-schedule",
20951
+ title: "Upsert Shared Report Schedule Reportschedules",
20952
+ description: "Upsert Shared Report Schedule Reportschedules.",
20953
+ safety: "update",
20954
+ destructive: false,
20955
+ cli: {
20956
+ group: ["reportschedules"],
20957
+ command: "upsert-shared-report-schedule",
20958
+ interactive: "default"
20959
+ },
20960
+ mcp: { entityTool: "reportschedules" },
20961
+ inputSchema: /* @__PURE__ */ looseObject({
20962
+ id: /* @__PURE__ */ number$2(),
20963
+ payload: /* @__PURE__ */ looseObject({
20964
+ cadence: /* @__PURE__ */ picklist$1([
20965
+ "daily",
20966
+ "weekly",
20967
+ "monthly"
20968
+ ]),
20969
+ time: /* @__PURE__ */ string$1(),
20970
+ day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
20971
+ recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
20972
+ recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
20973
+ recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
20974
+ })
20975
+ }),
20976
+ execute: (input, { client }) => {
20977
+ const data = input;
20978
+ return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
20979
+ client.httpClient,
20980
+ client.workspaceIdNumber,
20981
+ data.id,
20982
+ data.payload ?? data.data ?? data,
20983
+ void 0
20984
+ ]));
20985
+ }
20986
+ },
20987
+ {
20988
+ id: "focus.saved-views.create",
20989
+ family: "focus",
20990
+ resource: "saved-views",
20991
+ action: "create",
20992
+ title: "Create Saved Views",
20993
+ description: "Create Saved Views.",
20994
+ safety: "create",
20995
+ destructive: false,
20996
+ cli: {
20997
+ group: ["saved-views"],
20998
+ command: "create",
20999
+ interactive: "hidden"
21000
+ },
21001
+ mcp: { entityTool: "saved-views" },
21002
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
21003
+ name: /* @__PURE__ */ string$1(),
21004
+ params: /* @__PURE__ */ unknown$1(),
21005
+ pinned: /* @__PURE__ */ boolean$1(),
21006
+ type: /* @__PURE__ */ picklist$1([
21007
+ "inbox",
21008
+ "archive",
21009
+ "board",
21010
+ "timeline",
21011
+ "project",
21012
+ "project.tasks",
21013
+ "project.board",
21014
+ "project.timeline",
21015
+ "projects",
21016
+ "reports.summary",
21017
+ "reports.detailed",
21018
+ "reports.utilization",
21019
+ "reports.workload",
21020
+ "reports.profitability",
21021
+ "reports.time-off",
21022
+ "reports.time-accounting"
21023
+ ]),
21024
+ icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
21025
+ }) }),
21026
+ execute: (input, { client }) => {
21027
+ const data = input;
21028
+ return client.runGeneratedRequest("createANewSavedView", () => callGeneratedRequest(createANewSavedView, [
21029
+ client.httpClient,
21030
+ client.workspaceIdNumber,
21031
+ data.payload ?? data.data ?? data,
21032
+ void 0
21033
+ ]));
21034
+ }
21035
+ },
21036
+ {
21037
+ id: "focus.saved-views.delete",
21038
+ family: "focus",
21039
+ resource: "saved-views",
21040
+ action: "delete",
21041
+ title: "Delete Saved Views",
21042
+ description: "Delete Saved Views.",
21043
+ safety: "delete",
21044
+ destructive: true,
21045
+ cli: {
21046
+ group: ["saved-views"],
21047
+ command: "delete",
21048
+ interactive: "default"
21049
+ },
21050
+ mcp: { entityTool: "saved-views" },
21051
+ inputSchema: savedViewIdSchema,
21052
+ execute: (input, { client }) => {
21053
+ const data = input;
21054
+ return client.runGeneratedRequest("deleteASavedView", () => callGeneratedRequest(deleteASavedView, [
21055
+ client.httpClient,
21056
+ client.workspaceIdNumber,
21057
+ data.id,
21058
+ void 0
21059
+ ]));
21060
+ }
21061
+ },
21062
+ {
21063
+ id: "focus.saved-views.get",
21064
+ family: "focus",
21065
+ resource: "saved-views",
21066
+ action: "get",
21067
+ title: "Get Saved Views",
21068
+ description: "Get Saved Views.",
21069
+ safety: "read",
21070
+ destructive: false,
21071
+ cli: {
21072
+ group: ["saved-views"],
21073
+ command: "get",
21074
+ interactive: "available"
21075
+ },
21076
+ mcp: { entityTool: "saved-views" },
21077
+ inputSchema: savedViewIdSchema,
21078
+ execute: (input, { client }) => {
21079
+ const data = input;
21080
+ return client.runGeneratedRequest("getASavedView", () => callGeneratedRequest(getASavedView, [
21081
+ client.httpClient,
21082
+ client.workspaceIdNumber,
21083
+ data.id,
21084
+ void 0
21085
+ ]));
21086
+ }
21087
+ },
21088
+ {
21089
+ id: "focus.saved-views.list",
21090
+ family: "focus",
21091
+ resource: "saved-views",
21092
+ action: "list",
20672
21093
  title: "List Saved Views",
20673
21094
  description: "List Saved Views.",
20674
21095
  safety: "read",
@@ -20721,6 +21142,36 @@ const generatedFocusOperations = [
20721
21142
  ]));
20722
21143
  }
20723
21144
  },
21145
+ {
21146
+ id: "focus.search.mentions",
21147
+ family: "focus",
21148
+ resource: "search",
21149
+ action: "mentions",
21150
+ title: "Mentions Search",
21151
+ description: "Mentions Search.",
21152
+ safety: "read",
21153
+ destructive: false,
21154
+ cli: {
21155
+ group: ["search"],
21156
+ command: "mentions",
21157
+ interactive: "hidden"
21158
+ },
21159
+ mcp: { entityTool: "search" },
21160
+ inputSchema: /* @__PURE__ */ looseObject({
21161
+ keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21162
+ per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21163
+ }),
21164
+ execute: (input, { client }) => {
21165
+ const data = input;
21166
+ return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
21167
+ client.httpClient,
21168
+ client.organizationId,
21169
+ client.workspaceIdNumber,
21170
+ data,
21171
+ void 0
21172
+ ]));
21173
+ }
21174
+ },
20724
21175
  {
20725
21176
  id: "focus.search.search",
20726
21177
  family: "focus",
@@ -20748,6 +21199,240 @@ const generatedFocusOperations = [
20748
21199
  ]));
20749
21200
  }
20750
21201
  },
21202
+ {
21203
+ id: "focus.sharedreports.add-shared-report-grants",
21204
+ family: "focus",
21205
+ resource: "sharedreports",
21206
+ action: "add-shared-report-grants",
21207
+ title: "Add Shared Report Grants Sharedreports",
21208
+ description: "Add Shared Report Grants Sharedreports.",
21209
+ safety: "update",
21210
+ destructive: false,
21211
+ cli: {
21212
+ group: ["sharedreports"],
21213
+ command: "add-shared-report-grants",
21214
+ interactive: "default"
21215
+ },
21216
+ mcp: { entityTool: "sharedreports" },
21217
+ inputSchema: /* @__PURE__ */ looseObject({
21218
+ id: /* @__PURE__ */ number$2(),
21219
+ payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21220
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21221
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21222
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21223
+ })) })
21224
+ }),
21225
+ execute: (input, { client }) => {
21226
+ const data = input;
21227
+ return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
21228
+ client.httpClient,
21229
+ client.workspaceIdNumber,
21230
+ data.id,
21231
+ data.payload ?? data.data ?? data,
21232
+ void 0
21233
+ ]));
21234
+ }
21235
+ },
21236
+ {
21237
+ id: "focus.sharedreports.get-saved-view-shared-report",
21238
+ family: "focus",
21239
+ resource: "sharedreports",
21240
+ action: "get-saved-view-shared-report",
21241
+ title: "Get Saved View Shared Report Sharedreports",
21242
+ description: "Get Saved View Shared Report Sharedreports.",
21243
+ safety: "read",
21244
+ destructive: false,
21245
+ cli: {
21246
+ group: ["sharedreports"],
21247
+ command: "get-saved-view-shared-report",
21248
+ interactive: "available"
21249
+ },
21250
+ mcp: { entityTool: "sharedreports" },
21251
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21252
+ execute: (input, { client }) => {
21253
+ const data = input;
21254
+ return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
21255
+ client.httpClient,
21256
+ client.workspaceIdNumber,
21257
+ data.id,
21258
+ void 0
21259
+ ]));
21260
+ }
21261
+ },
21262
+ {
21263
+ id: "focus.sharedreports.get-shared-report-for-viewer",
21264
+ family: "focus",
21265
+ resource: "sharedreports",
21266
+ action: "get-shared-report-for-viewer",
21267
+ title: "Get Shared Report For Viewer Sharedreports",
21268
+ description: "Get Shared Report For Viewer Sharedreports.",
21269
+ safety: "read",
21270
+ destructive: false,
21271
+ cli: {
21272
+ group: ["sharedreports"],
21273
+ command: "get-shared-report-for-viewer",
21274
+ interactive: "available"
21275
+ },
21276
+ mcp: { entityTool: "sharedreports" },
21277
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21278
+ execute: (input, { client }) => {
21279
+ const data = input;
21280
+ return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
21281
+ client.httpClient,
21282
+ client.workspaceIdNumber,
21283
+ data.id,
21284
+ void 0
21285
+ ]));
21286
+ }
21287
+ },
21288
+ {
21289
+ id: "focus.sharedreports.get-shared-reports-shared-by-me",
21290
+ family: "focus",
21291
+ resource: "sharedreports",
21292
+ action: "get-shared-reports-shared-by-me",
21293
+ title: "Get Shared Reports Shared By Me Sharedreports",
21294
+ description: "Get Shared Reports Shared By Me Sharedreports.",
21295
+ safety: "read",
21296
+ destructive: false,
21297
+ cli: {
21298
+ group: ["sharedreports"],
21299
+ command: "get-shared-reports-shared-by-me",
21300
+ interactive: "hidden"
21301
+ },
21302
+ mcp: { entityTool: "sharedreports" },
21303
+ inputSchema: /* @__PURE__ */ looseObject({}),
21304
+ execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
21305
+ client.httpClient,
21306
+ client.workspaceIdNumber,
21307
+ void 0
21308
+ ]))
21309
+ },
21310
+ {
21311
+ id: "focus.sharedreports.get-shared-reports-shared-with-me",
21312
+ family: "focus",
21313
+ resource: "sharedreports",
21314
+ action: "get-shared-reports-shared-with-me",
21315
+ title: "Get Shared Reports Shared With Me Sharedreports",
21316
+ description: "Get Shared Reports Shared With Me Sharedreports.",
21317
+ safety: "read",
21318
+ destructive: false,
21319
+ cli: {
21320
+ group: ["sharedreports"],
21321
+ command: "get-shared-reports-shared-with-me",
21322
+ interactive: "hidden"
21323
+ },
21324
+ mcp: { entityTool: "sharedreports" },
21325
+ inputSchema: /* @__PURE__ */ looseObject({}),
21326
+ execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
21327
+ client.httpClient,
21328
+ client.workspaceIdNumber,
21329
+ void 0
21330
+ ]))
21331
+ },
21332
+ {
21333
+ id: "focus.sharedreports.revoke-shared-report-grant",
21334
+ family: "focus",
21335
+ resource: "sharedreports",
21336
+ action: "revoke-shared-report-grant",
21337
+ title: "Revoke Shared Report Grant Sharedreports",
21338
+ description: "Revoke Shared Report Grant Sharedreports.",
21339
+ safety: "delete",
21340
+ destructive: true,
21341
+ cli: {
21342
+ group: ["sharedreports"],
21343
+ command: "revoke-shared-report-grant",
21344
+ interactive: "default"
21345
+ },
21346
+ mcp: { entityTool: "sharedreports" },
21347
+ inputSchema: /* @__PURE__ */ looseObject({
21348
+ grant_id: /* @__PURE__ */ number$2(),
21349
+ id: /* @__PURE__ */ number$2()
21350
+ }),
21351
+ execute: (input, { client }) => {
21352
+ const data = input;
21353
+ return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
21354
+ client.httpClient,
21355
+ client.workspaceIdNumber,
21356
+ data.id,
21357
+ data.grant_id,
21358
+ void 0
21359
+ ]));
21360
+ }
21361
+ },
21362
+ {
21363
+ id: "focus.sharedreports.share-saved-view",
21364
+ family: "focus",
21365
+ resource: "sharedreports",
21366
+ action: "share-saved-view",
21367
+ title: "Share Saved View Sharedreports",
21368
+ description: "Share Saved View Sharedreports.",
21369
+ safety: "update",
21370
+ destructive: false,
21371
+ cli: {
21372
+ group: ["sharedreports"],
21373
+ command: "share-saved-view",
21374
+ interactive: "hidden"
21375
+ },
21376
+ mcp: { entityTool: "sharedreports" },
21377
+ inputSchema: /* @__PURE__ */ looseObject({
21378
+ id: /* @__PURE__ */ number$2(),
21379
+ payload: /* @__PURE__ */ looseObject({
21380
+ charts: /* @__PURE__ */ unknown$1(),
21381
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21382
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21383
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21384
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21385
+ })
21386
+ }),
21387
+ execute: (input, { client }) => {
21388
+ const data = input;
21389
+ return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
21390
+ client.httpClient,
21391
+ client.workspaceIdNumber,
21392
+ data.id,
21393
+ data.payload ?? data.data ?? data,
21394
+ void 0
21395
+ ]));
21396
+ }
21397
+ },
21398
+ {
21399
+ id: "focus.sharedreports.share-saved-view-many",
21400
+ family: "focus",
21401
+ resource: "sharedreports",
21402
+ action: "share-saved-view-many",
21403
+ title: "Share Saved View Many Sharedreports",
21404
+ description: "Share Saved View Many Sharedreports.",
21405
+ safety: "update",
21406
+ destructive: false,
21407
+ cli: {
21408
+ group: ["sharedreports"],
21409
+ command: "share-saved-view-many",
21410
+ interactive: "hidden"
21411
+ },
21412
+ mcp: { entityTool: "sharedreports" },
21413
+ inputSchema: /* @__PURE__ */ looseObject({
21414
+ id: /* @__PURE__ */ number$2(),
21415
+ payload: /* @__PURE__ */ looseObject({
21416
+ charts: /* @__PURE__ */ unknown$1(),
21417
+ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21418
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21419
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21420
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21421
+ })),
21422
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21423
+ })
21424
+ }),
21425
+ execute: (input, { client }) => {
21426
+ const data = input;
21427
+ return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
21428
+ client.httpClient,
21429
+ client.workspaceIdNumber,
21430
+ data.id,
21431
+ data.payload ?? data.data ?? data,
21432
+ void 0
21433
+ ]));
21434
+ }
21435
+ },
20751
21436
  {
20752
21437
  id: "focus.statuses.create-status",
20753
21438
  family: "focus",
@@ -21013,13 +21698,172 @@ const generatedFocusOperations = [
21013
21698
  command: "upsert-forced-trial",
21014
21699
  interactive: "default"
21015
21700
  },
21016
- mcp: { entityTool: "subscriptions" },
21017
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
21701
+ mcp: { entityTool: "subscriptions" },
21702
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
21703
+ execute: (input, { client }) => {
21704
+ const data = input;
21705
+ return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
21706
+ client.httpClient,
21707
+ client.organizationId,
21708
+ client.workspaceIdNumber,
21709
+ data.payload ?? data.data ?? data,
21710
+ void 0
21711
+ ]));
21712
+ }
21713
+ },
21714
+ {
21715
+ id: "focus.tags.archive",
21716
+ family: "focus",
21717
+ resource: "tags",
21718
+ action: "archive",
21719
+ title: "Archive Tags",
21720
+ description: "Archive Tags.",
21721
+ safety: "update",
21722
+ destructive: false,
21723
+ cli: {
21724
+ group: ["tags"],
21725
+ command: "archive",
21726
+ interactive: "default"
21727
+ },
21728
+ mcp: { entityTool: "tags" },
21729
+ inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
21730
+ execute: (input, { client }) => {
21731
+ const data = input;
21732
+ return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
21733
+ client.httpClient,
21734
+ client.workspaceIdNumber,
21735
+ data.tag_id,
21736
+ void 0
21737
+ ]));
21738
+ }
21739
+ },
21740
+ {
21741
+ id: "focus.tags.bulk-archive",
21742
+ family: "focus",
21743
+ resource: "tags",
21744
+ action: "bulk-archive",
21745
+ title: "Bulk Archive Tags",
21746
+ description: "Bulk Archive Tags.",
21747
+ safety: "update",
21748
+ destructive: false,
21749
+ cli: {
21750
+ group: ["tags", "bulk"],
21751
+ command: "archive",
21752
+ interactive: "default"
21753
+ },
21754
+ mcp: { entityTool: "tags" },
21755
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
21756
+ execute: (input, { client }) => {
21757
+ const data = input;
21758
+ return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
21759
+ client.httpClient,
21760
+ client.workspaceIdNumber,
21761
+ data.payload ?? data.data ?? data,
21762
+ void 0
21763
+ ]));
21764
+ }
21765
+ },
21766
+ {
21767
+ id: "focus.tags.bulk-create",
21768
+ family: "focus",
21769
+ resource: "tags",
21770
+ action: "bulk-create",
21771
+ title: "Bulk Create Tags",
21772
+ description: "Bulk Create Tags.",
21773
+ safety: "create",
21774
+ destructive: false,
21775
+ cli: {
21776
+ group: ["tags", "bulk"],
21777
+ command: "create",
21778
+ interactive: "default"
21779
+ },
21780
+ mcp: { entityTool: "tags" },
21781
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21782
+ color: /* @__PURE__ */ string$1(),
21783
+ name: /* @__PURE__ */ string$1()
21784
+ })) }) }),
21785
+ execute: (input, { client }) => {
21786
+ const data = input;
21787
+ return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
21788
+ client.httpClient,
21789
+ client.workspaceIdNumber,
21790
+ data.payload ?? data.data ?? data,
21791
+ void 0
21792
+ ]));
21793
+ }
21794
+ },
21795
+ {
21796
+ id: "focus.tags.bulk-delete",
21797
+ family: "focus",
21798
+ resource: "tags",
21799
+ action: "bulk-delete",
21800
+ title: "Bulk Delete Tags",
21801
+ description: "Bulk Delete Tags.",
21802
+ safety: "delete",
21803
+ destructive: true,
21804
+ cli: {
21805
+ group: ["tags", "bulk"],
21806
+ command: "delete",
21807
+ interactive: "default"
21808
+ },
21809
+ mcp: { entityTool: "tags" },
21810
+ inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
21811
+ execute: (input, { client }) => {
21812
+ const data = input;
21813
+ return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
21814
+ client.httpClient,
21815
+ client.workspaceIdNumber,
21816
+ data.ids,
21817
+ void 0
21818
+ ]));
21819
+ }
21820
+ },
21821
+ {
21822
+ id: "focus.tags.bulk-restore",
21823
+ family: "focus",
21824
+ resource: "tags",
21825
+ action: "bulk-restore",
21826
+ title: "Bulk Restore Tags",
21827
+ description: "Bulk Restore Tags.",
21828
+ safety: "update",
21829
+ destructive: false,
21830
+ cli: {
21831
+ group: ["tags", "bulk"],
21832
+ command: "restore",
21833
+ interactive: "default"
21834
+ },
21835
+ mcp: { entityTool: "tags" },
21836
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
21837
+ execute: (input, { client }) => {
21838
+ const data = input;
21839
+ return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
21840
+ client.httpClient,
21841
+ client.workspaceIdNumber,
21842
+ data.payload ?? data.data ?? data,
21843
+ void 0
21844
+ ]));
21845
+ }
21846
+ },
21847
+ {
21848
+ id: "focus.tags.bulk-unarchive",
21849
+ family: "focus",
21850
+ resource: "tags",
21851
+ action: "bulk-unarchive",
21852
+ title: "Bulk Unarchive Tags",
21853
+ description: "Bulk Unarchive Tags.",
21854
+ safety: "update",
21855
+ destructive: false,
21856
+ cli: {
21857
+ group: ["tags", "bulk"],
21858
+ command: "unarchive",
21859
+ interactive: "default"
21860
+ },
21861
+ mcp: { entityTool: "tags" },
21862
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
21018
21863
  execute: (input, { client }) => {
21019
21864
  const data = input;
21020
- return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
21865
+ return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
21021
21866
  client.httpClient,
21022
- client.organizationId,
21023
21867
  client.workspaceIdNumber,
21024
21868
  data.payload ?? data.data ?? data,
21025
21869
  void 0
@@ -21110,6 +21954,35 @@ const generatedFocusOperations = [
21110
21954
  return client.listTags(data);
21111
21955
  }
21112
21956
  },
21957
+ {
21958
+ id: "focus.tags.merge",
21959
+ family: "focus",
21960
+ resource: "tags",
21961
+ action: "merge",
21962
+ title: "Merge Tags",
21963
+ description: "Merge Tags.",
21964
+ safety: "update",
21965
+ destructive: false,
21966
+ cli: {
21967
+ group: ["tags"],
21968
+ command: "merge",
21969
+ interactive: "default"
21970
+ },
21971
+ mcp: { entityTool: "tags" },
21972
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
21973
+ source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
21974
+ target_id: /* @__PURE__ */ number$2()
21975
+ }) }),
21976
+ execute: (input, { client }) => {
21977
+ const data = input;
21978
+ return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
21979
+ client.httpClient,
21980
+ client.workspaceIdNumber,
21981
+ data.payload ?? data.data ?? data,
21982
+ void 0
21983
+ ]));
21984
+ }
21985
+ },
21113
21986
  {
21114
21987
  id: "focus.tags.restore",
21115
21988
  family: "focus",
@@ -21136,6 +22009,32 @@ const generatedFocusOperations = [
21136
22009
  ]));
21137
22010
  }
21138
22011
  },
22012
+ {
22013
+ id: "focus.tags.unarchive",
22014
+ family: "focus",
22015
+ resource: "tags",
22016
+ action: "unarchive",
22017
+ title: "Unarchive Tags",
22018
+ description: "Unarchive Tags.",
22019
+ safety: "update",
22020
+ destructive: false,
22021
+ cli: {
22022
+ group: ["tags"],
22023
+ command: "unarchive",
22024
+ interactive: "default"
22025
+ },
22026
+ mcp: { entityTool: "tags" },
22027
+ inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
22028
+ execute: (input, { client }) => {
22029
+ const data = input;
22030
+ return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
22031
+ client.httpClient,
22032
+ client.workspaceIdNumber,
22033
+ data.tag_id,
22034
+ void 0
22035
+ ]));
22036
+ }
22037
+ },
21139
22038
  {
21140
22039
  id: "focus.tags.update",
21141
22040
  family: "focus",
@@ -21817,12 +22716,12 @@ const generatedFocusOperations = [
21817
22716
  mcp: { entityTool: "tasks" },
21818
22717
  inputSchema: /* @__PURE__ */ looseObject({
21819
22718
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22719
+ assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21820
22720
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21821
22721
  dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21822
22722
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21823
22723
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
21824
22724
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21825
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21826
22725
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21827
22726
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21828
22727
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21859,7 +22758,6 @@ const generatedFocusOperations = [
21859
22758
  inputSchema: /* @__PURE__ */ looseObject({
21860
22759
  active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
21861
22760
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21862
- assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21863
22761
  assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21864
22762
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21865
22763
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21876,7 +22774,6 @@ const generatedFocusOperations = [
21876
22774
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21877
22775
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21878
22776
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21879
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21880
22777
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21881
22778
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21882
22779
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21932,7 +22829,6 @@ const generatedFocusOperations = [
21932
22829
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21933
22830
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21934
22831
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21935
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21936
22832
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21937
22833
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21938
22834
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21973,7 +22869,6 @@ const generatedFocusOperations = [
21973
22869
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21974
22870
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21975
22871
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21976
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21977
22872
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21978
22873
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21979
22874
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22014,6 +22909,7 @@ const generatedFocusOperations = [
22014
22909
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22015
22910
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22016
22911
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22912
+ collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22017
22913
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22018
22914
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22019
22915
  end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22027,7 +22923,8 @@ const generatedFocusOperations = [
22027
22923
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22028
22924
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22029
22925
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22030
- include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22926
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22927
+ include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22031
22928
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22032
22929
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22033
22930
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22043,6 +22940,7 @@ const generatedFocusOperations = [
22043
22940
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22044
22941
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
22045
22942
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22943
+ user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22046
22944
  user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
22047
22945
  }),
22048
22946
  execute: (input, { client }) => {
@@ -22057,6 +22955,118 @@ const generatedFocusOperations = [
22057
22955
  ]));
22058
22956
  }
22059
22957
  },
22958
+ {
22959
+ id: "focus.tasks.groups-get-user-task-groups-by-project",
22960
+ family: "focus",
22961
+ resource: "tasks",
22962
+ action: "groups-get-user-task-groups-by-project",
22963
+ title: "Groups Get User Task Groups By Project Tasks",
22964
+ description: "Groups Get User Task Groups By Project Tasks.",
22965
+ safety: "read",
22966
+ destructive: false,
22967
+ cli: {
22968
+ group: ["tasks", "groups"],
22969
+ command: "get-user-task-groups-by-project",
22970
+ interactive: "hidden"
22971
+ },
22972
+ mcp: { entityTool: "tasks" },
22973
+ inputSchema: /* @__PURE__ */ looseObject({
22974
+ assignee_user_id: /* @__PURE__ */ number$2(),
22975
+ cf_filter: /* @__PURE__ */ unknown$1(),
22976
+ client_id: /* @__PURE__ */ number$2(),
22977
+ collapse_recurring: /* @__PURE__ */ unknown$1(),
22978
+ creator_id: /* @__PURE__ */ number$2(),
22979
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
22980
+ end_date_from: /* @__PURE__ */ unknown$1(),
22981
+ end_date_to: /* @__PURE__ */ unknown$1(),
22982
+ exclude_empty: /* @__PURE__ */ unknown$1(),
22983
+ group_id: /* @__PURE__ */ number$2(),
22984
+ include_assignees: /* @__PURE__ */ unknown$1(),
22985
+ include_drafts: /* @__PURE__ */ unknown$1(),
22986
+ include_unassigned: /* @__PURE__ */ unknown$1(),
22987
+ include_unmaterialized: /* @__PURE__ */ unknown$1(),
22988
+ min_days: /* @__PURE__ */ unknown$1(),
22989
+ name: /* @__PURE__ */ unknown$1(),
22990
+ priority: /* @__PURE__ */ unknown$1(),
22991
+ private_: /* @__PURE__ */ unknown$1(),
22992
+ project_id: /* @__PURE__ */ number$2(),
22993
+ source: /* @__PURE__ */ unknown$1(),
22994
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
22995
+ start_date_from: /* @__PURE__ */ unknown$1(),
22996
+ start_date_to: /* @__PURE__ */ unknown$1(),
22997
+ status_id: /* @__PURE__ */ number$2(),
22998
+ tag_id: /* @__PURE__ */ number$2(),
22999
+ team_id: /* @__PURE__ */ number$2(),
23000
+ user_cf_filter: /* @__PURE__ */ unknown$1(),
23001
+ user_tag_id: /* @__PURE__ */ number$2()
23002
+ }),
23003
+ execute: (input, { client }) => {
23004
+ const data = input;
23005
+ return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
23006
+ client.httpClient,
23007
+ client.organizationId,
23008
+ client.workspaceIdNumber,
23009
+ data,
23010
+ void 0
23011
+ ]));
23012
+ }
23013
+ },
23014
+ {
23015
+ id: "focus.tasks.groups-get-user-task-groups-by-team",
23016
+ family: "focus",
23017
+ resource: "tasks",
23018
+ action: "groups-get-user-task-groups-by-team",
23019
+ title: "Groups Get User Task Groups By Team Tasks",
23020
+ description: "Groups Get User Task Groups By Team Tasks.",
23021
+ safety: "read",
23022
+ destructive: false,
23023
+ cli: {
23024
+ group: ["tasks", "groups"],
23025
+ command: "get-user-task-groups-by-team",
23026
+ interactive: "hidden"
23027
+ },
23028
+ mcp: { entityTool: "tasks" },
23029
+ inputSchema: /* @__PURE__ */ looseObject({
23030
+ assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23031
+ cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23032
+ client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23033
+ collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23034
+ creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23035
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23036
+ end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23037
+ end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23038
+ exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23039
+ group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23040
+ include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23041
+ include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23042
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23043
+ include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23044
+ min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23045
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23046
+ priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23047
+ private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23048
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23049
+ source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23050
+ start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23051
+ start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23052
+ start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23053
+ status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23054
+ tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23055
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23056
+ user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23057
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23058
+ }),
23059
+ execute: (input, { client }) => {
23060
+ const data = input;
23061
+ return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
23062
+ client.httpClient,
23063
+ client.organizationId,
23064
+ client.workspaceIdNumber,
23065
+ data,
23066
+ void 0
23067
+ ]));
23068
+ }
23069
+ },
22060
23070
  {
22061
23071
  id: "focus.tasks.groups-update",
22062
23072
  family: "focus",
@@ -22262,7 +23272,6 @@ const generatedFocusOperations = [
22262
23272
  name: /* @__PURE__ */ string$1(),
22263
23273
  status_id: /* @__PURE__ */ number$2(),
22264
23274
  auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22265
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22266
23275
  color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
22267
23276
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22268
23277
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -22282,6 +23291,7 @@ const generatedFocusOperations = [
22282
23291
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22283
23292
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22284
23293
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23294
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22285
23295
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
22286
23296
  }),
22287
23297
  task_id: /* @__PURE__ */ number$2()
@@ -23290,6 +24300,40 @@ const generatedFocusOperations = [
23290
24300
  ]));
23291
24301
  }
23292
24302
  },
24303
+ {
24304
+ id: "focus.time-entries.groups-get-users",
24305
+ family: "focus",
24306
+ resource: "time-entries",
24307
+ action: "groups-get-users",
24308
+ title: "Groups Get Users Time Entries",
24309
+ description: "Groups Get Users Time Entries.",
24310
+ safety: "read",
24311
+ destructive: false,
24312
+ cli: {
24313
+ group: ["time-entries", "groups"],
24314
+ command: "get-users",
24315
+ interactive: "hidden"
24316
+ },
24317
+ mcp: { entityTool: "time-entries" },
24318
+ inputSchema: /* @__PURE__ */ looseObject({
24319
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
24320
+ order_by: /* @__PURE__ */ unknown$1(),
24321
+ page: /* @__PURE__ */ number$2(),
24322
+ per_page: /* @__PURE__ */ unknown$1(),
24323
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
24324
+ user_id: /* @__PURE__ */ number$2()
24325
+ }),
24326
+ execute: (input, { client }) => {
24327
+ const data = input;
24328
+ return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
24329
+ client.httpClient,
24330
+ client.organizationId,
24331
+ client.workspaceIdNumber,
24332
+ data,
24333
+ void 0
24334
+ ]));
24335
+ }
24336
+ },
23293
24337
  {
23294
24338
  id: "focus.time-entries.list",
23295
24339
  family: "focus",
@@ -23474,6 +24518,42 @@ const generatedFocusOperations = [
23474
24518
  inputSchema: emptySchema$1,
23475
24519
  execute: (_input, { client }) => client.stopTracking()
23476
24520
  },
24521
+ {
24522
+ id: "focus.time-entries.sync",
24523
+ family: "focus",
24524
+ resource: "time-entries",
24525
+ action: "sync",
24526
+ title: "Sync Time Entries",
24527
+ description: "Sync Time Entries.",
24528
+ safety: "update",
24529
+ destructive: false,
24530
+ cli: {
24531
+ group: ["time-entries"],
24532
+ command: "sync",
24533
+ interactive: "default"
24534
+ },
24535
+ mcp: { entityTool: "time-entries" },
24536
+ inputSchema: /* @__PURE__ */ looseObject({
24537
+ client_uuid: /* @__PURE__ */ string$1(),
24538
+ payload: /* @__PURE__ */ looseObject({
24539
+ billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
24540
+ client_updated_at: apiDateTimeString,
24541
+ type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24542
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24543
+ })
24544
+ }),
24545
+ execute: (input, { client }) => {
24546
+ const data = input;
24547
+ return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
24548
+ client.httpClient,
24549
+ client.organizationId,
24550
+ client.workspaceIdNumber,
24551
+ data.client_uuid,
24552
+ data.payload ?? data.data ?? data,
24553
+ void 0
24554
+ ]));
24555
+ }
24556
+ },
23477
24557
  {
23478
24558
  id: "focus.time-entries.tracking-get-tracked-time-entry",
23479
24559
  family: "focus",
@@ -23522,6 +24602,7 @@ const generatedFocusOperations = [
23522
24602
  create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23523
24603
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23524
24604
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24605
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23525
24606
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23526
24607
  extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23527
24608
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -23580,125 +24661,37 @@ const generatedFocusOperations = [
23580
24661
  resource: "time-entries",
23581
24662
  action: "update",
23582
24663
  title: "Update Time Entries",
23583
- description: "Update Time Entries.",
23584
- safety: "update",
23585
- destructive: false,
23586
- cli: {
23587
- group: ["time-entries"],
23588
- command: "update",
23589
- interactive: "default"
23590
- },
23591
- mcp: { entityTool: "time-entries" },
23592
- inputSchema: /* @__PURE__ */ looseObject({
23593
- payload: /* @__PURE__ */ looseObject({
23594
- type: /* @__PURE__ */ picklist$1(["activity", "break"]),
23595
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23596
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23597
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23598
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
23599
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23600
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23601
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
23602
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23603
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
23604
- }),
23605
- time_entry_id: /* @__PURE__ */ number$2()
23606
- }),
23607
- execute: (input, { client }) => {
23608
- const data = input;
23609
- return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
23610
- client.httpClient,
23611
- client.organizationId,
23612
- client.workspaceIdNumber,
23613
- data.time_entry_id,
23614
- data.payload ?? data.data ?? data,
23615
- void 0
23616
- ]));
23617
- }
23618
- },
23619
- {
23620
- id: "focus.time-log-suggestions.get-for-acalendar-event-title",
23621
- family: "focus",
23622
- resource: "time-log-suggestions",
23623
- action: "get-for-acalendar-event-title",
23624
- title: "Get For Acalendar Event Title Time Log Suggestions",
23625
- description: "Get For Acalendar Event Title Time Log Suggestions.",
23626
- safety: "update",
23627
- destructive: false,
23628
- cli: {
23629
- group: ["time-log-suggestions"],
23630
- command: "get-for-acalendar-event-title",
23631
- interactive: "default"
23632
- },
23633
- mcp: { entityTool: "time-log-suggestions" },
23634
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
23635
- execute: (input, { client }) => {
23636
- const data = input;
23637
- return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
23638
- client.httpClient,
23639
- client.organizationId,
23640
- client.workspaceIdNumber,
23641
- data.payload ?? data.data ?? data,
23642
- void 0
23643
- ]));
23644
- }
23645
- },
23646
- {
23647
- id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
23648
- family: "focus",
23649
- resource: "time-log-suggestions",
23650
- action: "get-for-multiple-calendar-event-titles",
23651
- title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
23652
- description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
23653
- safety: "update",
23654
- destructive: false,
23655
- cli: {
23656
- group: ["time-log-suggestions"],
23657
- command: "get-for-multiple-calendar-event-titles",
23658
- interactive: "default"
23659
- },
23660
- mcp: { entityTool: "time-log-suggestions" },
23661
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
23662
- key: /* @__PURE__ */ string$1(),
23663
- title: /* @__PURE__ */ string$1()
23664
- })) }) }),
23665
- execute: (input, { client }) => {
23666
- const data = input;
23667
- return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
23668
- client.httpClient,
23669
- client.organizationId,
23670
- client.workspaceIdNumber,
23671
- data.payload ?? data.data ?? data,
23672
- void 0
23673
- ]));
23674
- }
23675
- },
23676
- {
23677
- id: "focus.time-off.create-timeoff-for-ghost",
23678
- family: "focus",
23679
- resource: "time-off",
23680
- action: "create-timeoff-for-ghost",
23681
- title: "Create Timeoff For Ghost Time Off",
23682
- description: "Create Timeoff For Ghost Time Off.",
23683
- safety: "create",
24664
+ description: "Update Time Entries.",
24665
+ safety: "update",
23684
24666
  destructive: false,
23685
24667
  cli: {
23686
- group: ["time-off"],
23687
- command: "create-timeoff-for-ghost",
23688
- interactive: "hidden"
24668
+ group: ["time-entries"],
24669
+ command: "update",
24670
+ interactive: "default"
23689
24671
  },
23690
- mcp: { entityTool: "time-off" },
24672
+ mcp: { entityTool: "time-entries" },
23691
24673
  inputSchema: /* @__PURE__ */ looseObject({
23692
- ghost_id: /* @__PURE__ */ number$2(),
23693
- payload: /* @__PURE__ */ unknown$1()
24674
+ payload: /* @__PURE__ */ looseObject({
24675
+ type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24676
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24677
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24678
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24679
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24680
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24681
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24682
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
24683
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24684
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
24685
+ }),
24686
+ time_entry_id: /* @__PURE__ */ number$2()
23694
24687
  }),
23695
24688
  execute: (input, { client }) => {
23696
24689
  const data = input;
23697
- return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
24690
+ return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
23698
24691
  client.httpClient,
23699
24692
  client.organizationId,
23700
24693
  client.workspaceIdNumber,
23701
- data.ghost_id,
24694
+ data.time_entry_id,
23702
24695
  data.payload ?? data.data ?? data,
23703
24696
  void 0
23704
24697
  ]));
@@ -23734,37 +24727,6 @@ const generatedFocusOperations = [
23734
24727
  ]));
23735
24728
  }
23736
24729
  },
23737
- {
23738
- id: "focus.time-off.delete-timeoff-for-ghost",
23739
- family: "focus",
23740
- resource: "time-off",
23741
- action: "delete-timeoff-for-ghost",
23742
- title: "Delete Timeoff For Ghost Time Off",
23743
- description: "Delete Timeoff For Ghost Time Off.",
23744
- safety: "delete",
23745
- destructive: true,
23746
- cli: {
23747
- group: ["time-off"],
23748
- command: "delete-timeoff-for-ghost",
23749
- interactive: "hidden"
23750
- },
23751
- mcp: { entityTool: "time-off" },
23752
- inputSchema: /* @__PURE__ */ looseObject({
23753
- ghost_id: /* @__PURE__ */ number$2(),
23754
- payload: /* @__PURE__ */ unknown$1()
23755
- }),
23756
- execute: (input, { client }) => {
23757
- const data = input;
23758
- return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
23759
- client.httpClient,
23760
- client.organizationId,
23761
- client.workspaceIdNumber,
23762
- data.ghost_id,
23763
- data.payload ?? data.data ?? data,
23764
- void 0
23765
- ]));
23766
- }
23767
- },
23768
24730
  {
23769
24731
  id: "focus.time-off.delete-timeoff-for-user",
23770
24732
  family: "focus",
@@ -23795,38 +24757,6 @@ const generatedFocusOperations = [
23795
24757
  ]));
23796
24758
  }
23797
24759
  },
23798
- {
23799
- id: "focus.time-off.get-timeoff-for-ghost",
23800
- family: "focus",
23801
- resource: "time-off",
23802
- action: "get-timeoff-for-ghost",
23803
- title: "Get Timeoff For Ghost Time Off",
23804
- description: "Get Timeoff For Ghost Time Off.",
23805
- safety: "read",
23806
- destructive: false,
23807
- cli: {
23808
- group: ["time-off"],
23809
- command: "get-timeoff-for-ghost",
23810
- interactive: "hidden"
23811
- },
23812
- mcp: { entityTool: "time-off" },
23813
- inputSchema: /* @__PURE__ */ looseObject({
23814
- from: /* @__PURE__ */ unknown$1(),
23815
- ghost_id: /* @__PURE__ */ number$2(),
23816
- to: /* @__PURE__ */ unknown$1()
23817
- }),
23818
- execute: (input, { client }) => {
23819
- const data = input;
23820
- return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
23821
- client.httpClient,
23822
- client.organizationId,
23823
- client.workspaceIdNumber,
23824
- data.ghost_id,
23825
- data,
23826
- void 0
23827
- ]));
23828
- }
23829
- },
23830
24760
  {
23831
24761
  id: "focus.time-off.get-timeoff-for-user",
23832
24762
  family: "focus",
@@ -23858,37 +24788,6 @@ const generatedFocusOperations = [
23858
24788
  ]));
23859
24789
  }
23860
24790
  },
23861
- {
23862
- id: "focus.time-off.get-timeoffs-by-ghost-ids",
23863
- family: "focus",
23864
- resource: "time-off",
23865
- action: "get-timeoffs-by-ghost-ids",
23866
- title: "Get Timeoffs By Ghost Ids Time Off",
23867
- description: "Get Timeoffs By Ghost Ids Time Off.",
23868
- safety: "read",
23869
- destructive: false,
23870
- cli: {
23871
- group: ["time-off"],
23872
- command: "get-timeoffs-by-ghost-ids",
23873
- interactive: "hidden"
23874
- },
23875
- mcp: { entityTool: "time-off" },
23876
- inputSchema: /* @__PURE__ */ looseObject({
23877
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23878
- ghost_ids: /* @__PURE__ */ unknown$1(),
23879
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
23880
- }),
23881
- execute: (input, { client }) => {
23882
- const data = input;
23883
- return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
23884
- client.httpClient,
23885
- client.organizationId,
23886
- client.workspaceIdNumber,
23887
- data,
23888
- void 0
23889
- ]));
23890
- }
23891
- },
23892
24791
  {
23893
24792
  id: "focus.time-off.get-timeoffs-by-user-ids",
23894
24793
  family: "focus",
@@ -23919,37 +24818,6 @@ const generatedFocusOperations = [
23919
24818
  ]));
23920
24819
  }
23921
24820
  },
23922
- {
23923
- id: "focus.time-off.update-timeoff-for-ghost",
23924
- family: "focus",
23925
- resource: "time-off",
23926
- action: "update-timeoff-for-ghost",
23927
- title: "Update Timeoff For Ghost Time Off",
23928
- description: "Update Timeoff For Ghost Time Off.",
23929
- safety: "update",
23930
- destructive: false,
23931
- cli: {
23932
- group: ["time-off"],
23933
- command: "update-timeoff-for-ghost",
23934
- interactive: "hidden"
23935
- },
23936
- mcp: { entityTool: "time-off" },
23937
- inputSchema: /* @__PURE__ */ looseObject({
23938
- ghost_id: /* @__PURE__ */ number$2(),
23939
- payload: /* @__PURE__ */ unknown$1()
23940
- }),
23941
- execute: (input, { client }) => {
23942
- const data = input;
23943
- return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
23944
- client.httpClient,
23945
- client.organizationId,
23946
- client.workspaceIdNumber,
23947
- data.ghost_id,
23948
- data.payload ?? data.data ?? data,
23949
- void 0
23950
- ]));
23951
- }
23952
- },
23953
24821
  {
23954
24822
  id: "focus.time-off.update-timeoff-for-user",
23955
24823
  family: "focus",
@@ -24981,6 +25849,7 @@ const generatedFocusOperations = [
24981
25849
  pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24982
25850
  pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24983
25851
  pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25852
+ send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24984
25853
  send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24985
25854
  shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24986
25855
  show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -25082,37 +25951,6 @@ const generatedFocusOperations = [
25082
25951
  inputSchema: /* @__PURE__ */ looseObject({}),
25083
25952
  execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
25084
25953
  },
25085
- {
25086
- id: "focus.working-hours.create-for-ghost",
25087
- family: "focus",
25088
- resource: "working-hours",
25089
- action: "create-for-ghost",
25090
- title: "Create For Ghost Working Hours",
25091
- description: "Create For Ghost Working Hours.",
25092
- safety: "create",
25093
- destructive: false,
25094
- cli: {
25095
- group: ["working-hours"],
25096
- command: "create-for-ghost",
25097
- interactive: "hidden"
25098
- },
25099
- mcp: { entityTool: "working-hours" },
25100
- inputSchema: /* @__PURE__ */ looseObject({
25101
- ghost_id: /* @__PURE__ */ number$2(),
25102
- payload: /* @__PURE__ */ unknown$1()
25103
- }),
25104
- execute: (input, { client }) => {
25105
- const data = input;
25106
- return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
25107
- client.httpClient,
25108
- client.organizationId,
25109
- client.workspaceIdNumber,
25110
- data.ghost_id,
25111
- data.payload ?? data.data ?? data,
25112
- void 0
25113
- ]));
25114
- }
25115
- },
25116
25954
  {
25117
25955
  id: "focus.working-hours.create-for-user",
25118
25956
  family: "focus",
@@ -25143,37 +25981,6 @@ const generatedFocusOperations = [
25143
25981
  ]));
25144
25982
  }
25145
25983
  },
25146
- {
25147
- id: "focus.working-hours.delete-for-ghost",
25148
- family: "focus",
25149
- resource: "working-hours",
25150
- action: "delete-for-ghost",
25151
- title: "Delete For Ghost Working Hours",
25152
- description: "Delete For Ghost Working Hours.",
25153
- safety: "delete",
25154
- destructive: true,
25155
- cli: {
25156
- group: ["working-hours"],
25157
- command: "delete-for-ghost",
25158
- interactive: "hidden"
25159
- },
25160
- mcp: { entityTool: "working-hours" },
25161
- inputSchema: /* @__PURE__ */ looseObject({
25162
- ghost_id: /* @__PURE__ */ number$2(),
25163
- payload: /* @__PURE__ */ unknown$1()
25164
- }),
25165
- execute: (input, { client }) => {
25166
- const data = input;
25167
- return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
25168
- client.httpClient,
25169
- client.organizationId,
25170
- client.workspaceIdNumber,
25171
- data.ghost_id,
25172
- data.payload ?? data.data ?? data,
25173
- void 0
25174
- ]));
25175
- }
25176
- },
25177
25984
  {
25178
25985
  id: "focus.working-hours.delete-for-user",
25179
25986
  family: "focus",
@@ -25204,33 +26011,6 @@ const generatedFocusOperations = [
25204
26011
  ]));
25205
26012
  }
25206
26013
  },
25207
- {
25208
- id: "focus.working-hours.get-for-ghost",
25209
- family: "focus",
25210
- resource: "working-hours",
25211
- action: "get-for-ghost",
25212
- title: "Get For Ghost Working Hours",
25213
- description: "Get For Ghost Working Hours.",
25214
- safety: "read",
25215
- destructive: false,
25216
- cli: {
25217
- group: ["working-hours"],
25218
- command: "get-for-ghost",
25219
- interactive: "available"
25220
- },
25221
- mcp: { entityTool: "working-hours" },
25222
- inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
25223
- execute: (input, { client }) => {
25224
- const data = input;
25225
- return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
25226
- client.httpClient,
25227
- client.organizationId,
25228
- client.workspaceIdNumber,
25229
- data.ghost_id,
25230
- void 0
25231
- ]));
25232
- }
25233
- },
25234
26014
  {
25235
26015
  id: "focus.working-hours.get-for-user",
25236
26016
  family: "focus",
@@ -25257,37 +26037,6 @@ const generatedFocusOperations = [
25257
26037
  ]));
25258
26038
  }
25259
26039
  },
25260
- {
25261
- id: "focus.working-hours.update-for-ghost",
25262
- family: "focus",
25263
- resource: "working-hours",
25264
- action: "update-for-ghost",
25265
- title: "Update For Ghost Working Hours",
25266
- description: "Update For Ghost Working Hours.",
25267
- safety: "update",
25268
- destructive: false,
25269
- cli: {
25270
- group: ["working-hours"],
25271
- command: "update-for-ghost",
25272
- interactive: "hidden"
25273
- },
25274
- mcp: { entityTool: "working-hours" },
25275
- inputSchema: /* @__PURE__ */ looseObject({
25276
- ghost_id: /* @__PURE__ */ number$2(),
25277
- payload: /* @__PURE__ */ unknown$1()
25278
- }),
25279
- execute: (input, { client }) => {
25280
- const data = input;
25281
- return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
25282
- client.httpClient,
25283
- client.organizationId,
25284
- client.workspaceIdNumber,
25285
- data.ghost_id,
25286
- data.payload ?? data.data ?? data,
25287
- void 0
25288
- ]));
25289
- }
25290
- },
25291
26040
  {
25292
26041
  id: "focus.working-hours.update-for-user",
25293
26042
  family: "focus",
@@ -25362,6 +26111,50 @@ const generatedFocusOperations = [
25362
26111
  void 0
25363
26112
  ]))
25364
26113
  },
26114
+ {
26115
+ id: "focus.workspace-settings.get-workspace-export-branding",
26116
+ family: "focus",
26117
+ resource: "workspace-settings",
26118
+ action: "get-workspace-export-branding",
26119
+ title: "Get Workspace Export Branding Workspace Settings",
26120
+ description: "Get Workspace Export Branding Workspace Settings.",
26121
+ safety: "read",
26122
+ destructive: false,
26123
+ cli: {
26124
+ group: ["workspace-settings"],
26125
+ command: "get-workspace-export-branding",
26126
+ interactive: "hidden"
26127
+ },
26128
+ mcp: { entityTool: "workspace-settings" },
26129
+ inputSchema: /* @__PURE__ */ looseObject({}),
26130
+ execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
26131
+ client.httpClient,
26132
+ client.workspaceIdNumber,
26133
+ void 0
26134
+ ]))
26135
+ },
26136
+ {
26137
+ id: "focus.workspace-settings.get-workspace-watermark",
26138
+ family: "focus",
26139
+ resource: "workspace-settings",
26140
+ action: "get-workspace-watermark",
26141
+ title: "Get Workspace Watermark Workspace Settings",
26142
+ description: "Get Workspace Watermark Workspace Settings.",
26143
+ safety: "read",
26144
+ destructive: false,
26145
+ cli: {
26146
+ group: ["workspace-settings"],
26147
+ command: "get-workspace-watermark",
26148
+ interactive: "hidden"
26149
+ },
26150
+ mcp: { entityTool: "workspace-settings" },
26151
+ inputSchema: /* @__PURE__ */ looseObject({}),
26152
+ execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
26153
+ client.httpClient,
26154
+ client.workspaceIdNumber,
26155
+ void 0
26156
+ ]))
26157
+ },
25365
26158
  {
25366
26159
  id: "focus.workspace-settings.list",
25367
26160
  family: "focus",
@@ -25436,6 +26229,32 @@ const generatedFocusOperations = [
25436
26229
  ]));
25437
26230
  }
25438
26231
  },
26232
+ {
26233
+ id: "focus.workspace-settings.update-workspace-watermark",
26234
+ family: "focus",
26235
+ resource: "workspace-settings",
26236
+ action: "update-workspace-watermark",
26237
+ title: "Update Workspace Watermark Workspace Settings",
26238
+ description: "Update Workspace Watermark Workspace Settings.",
26239
+ safety: "update",
26240
+ destructive: false,
26241
+ cli: {
26242
+ group: ["workspace-settings"],
26243
+ command: "update-workspace-watermark",
26244
+ interactive: "default"
26245
+ },
26246
+ mcp: { entityTool: "workspace-settings" },
26247
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
26248
+ execute: (input, { client }) => {
26249
+ const data = input;
26250
+ return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
26251
+ client.httpClient,
26252
+ client.workspaceIdNumber,
26253
+ data.payload ?? data.data ?? data,
26254
+ void 0
26255
+ ]));
26256
+ }
26257
+ },
25439
26258
  {
25440
26259
  id: "focus.workspace.get-context",
25441
26260
  family: "focus",
@@ -27075,4 +27894,4 @@ Common commands:
27075
27894
  //#endregion
27076
27895
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
27077
27896
 
27078
- //# sourceMappingURL=program-Bu_yHxG7.js.map
27897
+ //# sourceMappingURL=program-BIuppTAR.js.map