@togglhq/cli 1.11.68 → 1.11.69

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.
@@ -7236,11 +7236,7 @@ function pipe(...pipe$1) {
7236
7236
  }
7237
7237
  const TaskAssignmentSchema = /* @__PURE__ */ object({
7238
7238
  id: /* @__PURE__ */ number(),
7239
- type: /* @__PURE__ */ picklist([
7240
- "user",
7241
- "ghost",
7242
- "team"
7243
- ])
7239
+ type: /* @__PURE__ */ picklist(["user", "team"])
7244
7240
  });
7245
7241
  const ClientLiteSchema = /* @__PURE__ */ object({
7246
7242
  id: /* @__PURE__ */ number(),
@@ -7282,7 +7278,8 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
7282
7278
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7283
7279
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
7284
7280
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7285
- rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
7281
+ rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
7282
+ 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
7283
  });
7287
7284
  const TaskMetadataSchema = /* @__PURE__ */ object({
7288
7285
  all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7355,7 +7352,7 @@ const TaskSchema = /* @__PURE__ */ object({
7355
7352
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7356
7353
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
7357
7354
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7358
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7355
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7359
7356
  client: /* @__PURE__ */ optional(ClientLiteSchema),
7360
7357
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7361
7358
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -7363,7 +7360,6 @@ const TaskSchema = /* @__PURE__ */ object({
7363
7360
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7364
7361
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7365
7362
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7366
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7367
7363
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7368
7364
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7369
7365
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7373,6 +7369,7 @@ const TaskSchema = /* @__PURE__ */ object({
7373
7369
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7374
7370
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7375
7371
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7372
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7376
7373
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7377
7374
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7378
7375
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -7416,7 +7413,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7416
7413
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7417
7414
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
7418
7415
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7419
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7416
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7420
7417
  client: /* @__PURE__ */ optional(ClientLiteSchema),
7421
7418
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7422
7419
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -7424,7 +7421,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7424
7421
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7425
7422
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7426
7423
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7427
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7428
7424
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7429
7425
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7430
7426
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -7435,6 +7431,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7435
7431
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7436
7432
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7437
7433
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7434
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7438
7435
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7439
7436
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7440
7437
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -7593,7 +7590,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
7593
7590
  tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
7594
7591
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7595
7592
  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."))),
7593
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
7597
7594
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7598
7595
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7599
7596
  });
@@ -7737,7 +7734,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
7737
7734
  task: /* @__PURE__ */ optional(TaskSchema),
7738
7735
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7739
7736
  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."))),
7737
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
7741
7738
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7742
7739
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7743
7740
  })),
@@ -7749,9 +7746,15 @@ const TagSchema$1 = /* @__PURE__ */ object({
7749
7746
  id: /* @__PURE__ */ number(),
7750
7747
  name: /* @__PURE__ */ string(),
7751
7748
  workspace_id: /* @__PURE__ */ number(),
7749
+ 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
7750
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7753
7751
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7754
- updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7752
+ updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7753
+ usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
7754
+ projects: /* @__PURE__ */ number(),
7755
+ tasks: /* @__PURE__ */ number(),
7756
+ time_entries: /* @__PURE__ */ number()
7757
+ })), /* @__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
7758
  });
7756
7759
  const PaginatedTagsSchema = /* @__PURE__ */ object({
7757
7760
  data: /* @__PURE__ */ array(TagSchema$1),
@@ -7762,8 +7765,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
7762
7765
  const OrganizationUserResponseSchema = /* @__PURE__ */ object({
7763
7766
  "2fa_enabled": /* @__PURE__ */ boolean(),
7764
7767
  account_locked_at: /* @__PURE__ */ string(),
7768
+ accounts_role_id: /* @__PURE__ */ number(),
7765
7769
  active: /* @__PURE__ */ boolean(),
7766
- admin: /* @__PURE__ */ boolean(),
7767
7770
  can_edit_personal_details: /* @__PURE__ */ boolean(),
7768
7771
  created_at: /* @__PURE__ */ string(),
7769
7772
  deleted_at: /* @__PURE__ */ string(),
@@ -7812,7 +7815,9 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
7812
7815
  track_role_id: /* @__PURE__ */ number(),
7813
7816
  work_role_id: /* @__PURE__ */ number(),
7814
7817
  workspace_user_id: /* @__PURE__ */ number()
7815
- }))
7818
+ })),
7819
+ custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
7820
+ 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
7821
  });
7817
7822
  const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7818
7823
  const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
@@ -7889,8 +7894,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7889
7894
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7890
7895
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7891
7896
  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()))),
7897
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
7894
7898
  integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7895
7899
  integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7896
7900
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -7906,6 +7910,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7906
7910
  priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7907
7911
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7908
7912
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7913
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7909
7914
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7910
7915
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7911
7916
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7915,22 +7920,23 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7915
7920
  const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7916
7921
  const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
7917
7922
  cascade_duplicate_children: /* @__PURE__ */ boolean(),
7918
- task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
7923
+ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)),
7924
+ 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
7925
  });
7920
7926
  const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7921
7927
  const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7922
7928
  const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7929
+ after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7923
7930
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
7924
7931
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7925
7932
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7926
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7933
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7927
7934
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7928
7935
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
7929
7936
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7930
7937
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7931
7938
  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()))),
7939
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
7934
7940
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7935
7941
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7936
7942
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7947,6 +7953,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7947
7953
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7948
7954
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7949
7955
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7956
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7950
7957
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7951
7958
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7952
7959
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7955,17 +7962,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7955
7962
  });
7956
7963
  const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7957
7964
  id: /* @__PURE__ */ number(),
7965
+ after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7958
7966
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
7959
7967
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7960
7968
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7961
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7969
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7962
7970
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7963
7971
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
7964
7972
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7965
7973
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7966
7974
  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()))),
7975
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
7969
7976
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7970
7977
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7971
7978
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7982,6 +7989,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7982
7989
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7983
7990
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7984
7991
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7992
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7985
7993
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7986
7994
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7987
7995
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -9905,7 +9913,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
9905
9913
  })
9906
9914
  }).json();
9907
9915
  }
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) {
9916
+ 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
9917
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
9910
9918
  signal,
9911
9919
  searchParams: buildSearchParams$2({
@@ -9925,7 +9933,10 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
9925
9933
  include_working_hours,
9926
9934
  include_rates,
9927
9935
  pinned_ids,
9928
- has_group
9936
+ has_group,
9937
+ cf_filter,
9938
+ include_custom_fields,
9939
+ include_calendar_integration
9929
9940
  }, true)
9930
9941
  });
9931
9942
  return withResponseMeta(await response.json(), response.headers, response.status);
@@ -9944,7 +9955,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
9944
9955
  }
9945
9956
  //#endregion
9946
9957
  //#region ../focus-queries/dist/tags/requests.ts
9947
- async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
9958
+ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
9948
9959
  return await httpClient.get(`workspaces/${workspace_id}/tags`, {
9949
9960
  signal,
9950
9961
  searchParams: buildSearchParams$2({
@@ -9952,7 +9963,10 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
9952
9963
  page,
9953
9964
  per_page,
9954
9965
  order_by,
9955
- tag_id
9966
+ tag_id,
9967
+ include_usage,
9968
+ include_archived,
9969
+ archived
9956
9970
  })
9957
9971
  }).json();
9958
9972
  }
@@ -9962,6 +9976,42 @@ async function createTag(httpClient, workspace_id, data, signal) {
9962
9976
  json: data
9963
9977
  }).json();
9964
9978
  }
9979
+ async function bulkCreateTags(httpClient, workspace_id, data, signal) {
9980
+ return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
9981
+ signal,
9982
+ json: data
9983
+ }).json();
9984
+ }
9985
+ async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
9986
+ return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
9987
+ signal,
9988
+ searchParams: buildSearchParams$2({ ids })
9989
+ }).json();
9990
+ }
9991
+ async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
9992
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
9993
+ signal,
9994
+ json: data
9995
+ }).json();
9996
+ }
9997
+ async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
9998
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
9999
+ signal,
10000
+ json: data
10001
+ }).json();
10002
+ }
10003
+ async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
10004
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
10005
+ signal,
10006
+ json: data
10007
+ }).json();
10008
+ }
10009
+ async function mergeTags(httpClient, workspace_id, data, signal) {
10010
+ return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
10011
+ signal,
10012
+ json: data
10013
+ }).json();
10014
+ }
9965
10015
  async function getTag(httpClient, workspace_id, tag_id, signal) {
9966
10016
  return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
9967
10017
  }
@@ -9974,12 +10024,18 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
9974
10024
  async function deleteTag(httpClient, workspace_id, tag_id, signal) {
9975
10025
  return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
9976
10026
  }
10027
+ async function archiveTag(httpClient, workspace_id, tag_id, signal) {
10028
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
10029
+ }
9977
10030
  async function restoreTag(httpClient, workspace_id, tag_id, signal) {
9978
10031
  return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
9979
10032
  }
10033
+ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
10034
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
10035
+ }
9980
10036
  //#endregion
9981
10037
  //#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, only_me, include_rates, include_rollover, include_idle_recurring_templates, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
10038
+ 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
10039
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
9984
10040
  signal,
9985
10041
  searchParams: buildSearchParams$2({
@@ -10001,6 +10057,7 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
10001
10057
  include_rates,
10002
10058
  include_rollover,
10003
10059
  include_idle_recurring_templates,
10060
+ collapse_recurring,
10004
10061
  include_drafts,
10005
10062
  include_locked_private,
10006
10063
  start_date,
@@ -10231,7 +10288,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10231
10288
  }
10232
10289
  //#endregion
10233
10290
  //#region ../focus-queries/dist/tasks/requests.ts
10234
- 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) {
10291
+ 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) {
10235
10292
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10236
10293
  signal,
10237
10294
  searchParams: buildSearchParams$2({
@@ -10279,10 +10336,8 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10279
10336
  recurring_task_ids,
10280
10337
  client_id,
10281
10338
  include_rates,
10282
- include_ghost_assignees,
10283
10339
  include_assignees,
10284
10340
  include_parent_matches,
10285
- assignee_ghost_id,
10286
10341
  disable_aggregations,
10287
10342
  cf_filter
10288
10343
  })
@@ -10368,7 +10423,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
10368
10423
  })
10369
10424
  }).json();
10370
10425
  }
10371
- 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) {
10426
+ 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) {
10372
10427
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
10373
10428
  signal,
10374
10429
  searchParams: buildSearchParams$2({
@@ -10381,14 +10436,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10381
10436
  dates_overlap_end,
10382
10437
  recurring_task_ids,
10383
10438
  team_id,
10439
+ assignee_team_id,
10384
10440
  assignee_user_id,
10385
10441
  tag_id,
10386
- include_ghost_assignees,
10387
10442
  include_assignees
10388
10443
  })
10389
10444
  }).json();
10390
10445
  }
10391
- 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) {
10446
+ 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) {
10392
10447
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10393
10448
  signal,
10394
10449
  searchParams: buildSearchParams$2({
@@ -10432,20 +10487,15 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10432
10487
  recurring,
10433
10488
  recurring_task_ids,
10434
10489
  client_id,
10435
- include_ghost_assignees,
10436
10490
  include_assignees,
10437
- assignee_ghost_id,
10438
10491
  cf_filter
10439
10492
  })
10440
10493
  }).json();
10441
10494
  }
10442
- async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
10495
+ async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
10443
10496
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
10444
10497
  signal,
10445
- searchParams: buildSearchParams$2({
10446
- include_ghost_assignees,
10447
- include_assignees
10448
- })
10498
+ searchParams: buildSearchParams$2({ include_assignees })
10449
10499
  }).json();
10450
10500
  }
10451
10501
  async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
@@ -10476,7 +10526,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
10476
10526
  searchParams: buildSearchParams$2({ from_recurring_task_id })
10477
10527
  }).json();
10478
10528
  }
10479
- 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) {
10529
+ 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) {
10480
10530
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
10481
10531
  signal,
10482
10532
  searchParams: buildSearchParams$2({
@@ -10489,12 +10539,11 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
10489
10539
  team_id,
10490
10540
  assignee_user_id,
10491
10541
  tag_id,
10492
- include_ghost_assignees,
10493
10542
  include_assignees
10494
10543
  })
10495
10544
  }).json();
10496
10545
  }
10497
- 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) {
10546
+ 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) {
10498
10547
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
10499
10548
  signal,
10500
10549
  searchParams: buildSearchParams$2({
@@ -10507,7 +10556,6 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
10507
10556
  team_id,
10508
10557
  assignee_user_id,
10509
10558
  tag_id,
10510
- include_ghost_assignees,
10511
10559
  include_assignees
10512
10560
  })
10513
10561
  }).json();
@@ -10609,6 +10657,12 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
10609
10657
  })
10610
10658
  }).json();
10611
10659
  }
10660
+ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
10661
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
10662
+ signal,
10663
+ json: data
10664
+ }).json();
10665
+ }
10612
10666
  async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
10613
10667
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
10614
10668
  signal,
@@ -14315,6 +14369,21 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
14315
14369
  }
14316
14370
  //#endregion
14317
14371
  //#region ../focus-queries/dist/audit-log/requests.ts
14372
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14373
+ return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
14374
+ signal,
14375
+ searchParams: buildSearchParams$2({
14376
+ workspace_id,
14377
+ entity_type,
14378
+ entity_id,
14379
+ action,
14380
+ user_id,
14381
+ page_size,
14382
+ page_number,
14383
+ export: export_
14384
+ })
14385
+ }).json();
14386
+ }
14318
14387
  async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14319
14388
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
14320
14389
  signal,
@@ -14473,33 +14542,22 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
14473
14542
  }
14474
14543
  //#endregion
14475
14544
  //#region ../focus-queries/dist/capacities/requests.ts
14476
- 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) {
14545
+ 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) {
14477
14546
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
14478
14547
  signal,
14479
14548
  searchParams: buildSearchParams$2({
14480
14549
  user_id,
14481
14550
  start_date,
14482
14551
  end_date,
14483
- ghost_id,
14484
14552
  private: private_,
14485
14553
  task_source,
14486
14554
  unit,
14487
- include_drafts
14555
+ include_drafts,
14556
+ include_task_estimates
14488
14557
  })
14489
14558
  }).json();
14490
14559
  }
14491
14560
  //#endregion
14492
- //#region ../focus-queries/dist/capacity-settings/requests.ts
14493
- async function getCapacitySettings(httpClient, workspace_id, signal) {
14494
- return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
14495
- }
14496
- async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
14497
- return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
14498
- signal,
14499
- json: data
14500
- }).json();
14501
- }
14502
- //#endregion
14503
14561
  //#region ../focus-queries/dist/composite/requests.ts
14504
14562
  async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
14505
14563
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
@@ -14582,6 +14640,12 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
14582
14640
  async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
14583
14641
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
14584
14642
  }
14643
+ async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
14644
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
14645
+ signal,
14646
+ json: data
14647
+ }).json();
14648
+ }
14585
14649
  //#endregion
14586
14650
  //#region ../focus-queries/dist/goals/requests.ts
14587
14651
  async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
@@ -14807,7 +14871,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
14807
14871
  }
14808
14872
  //#endregion
14809
14873
  //#region ../focus-queries/dist/project-groups/requests.ts
14810
- 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) {
14874
+ 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) {
14811
14875
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
14812
14876
  signal,
14813
14877
  searchParams: buildSearchParams$2({
@@ -14819,6 +14883,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
14819
14883
  include_group_totals,
14820
14884
  include_unassigned,
14821
14885
  archived,
14886
+ completed,
14822
14887
  private: private_,
14823
14888
  name,
14824
14889
  client_id,
@@ -14830,6 +14895,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
14830
14895
  start_date,
14831
14896
  end_date,
14832
14897
  user_id,
14898
+ only_me,
14833
14899
  include_drafts,
14834
14900
  cf_filter
14835
14901
  })
@@ -14945,10 +15011,14 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
14945
15011
  }
14946
15012
  //#endregion
14947
15013
  //#region ../focus-queries/dist/reports/requests.ts
14948
- async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
15014
+ async function getForecastAvailability(httpClient, workspace_id, signal) {
15015
+ return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
15016
+ }
15017
+ async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
14949
15018
  return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
14950
15019
  signal,
14951
15020
  json: data,
15021
+ headers: { "X-Toggl-Report-Export": xTogglReportExport },
14952
15022
  searchParams: buildSearchParams$2({
14953
15023
  response_format,
14954
15024
  include_dicts
@@ -14972,12 +15042,36 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
14972
15042
  json: data
14973
15043
  }).json();
14974
15044
  }
14975
- async function getWorkloadReport(httpClient, workspace_id, data, signal) {
15045
+ async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
15046
+ return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
15047
+ signal,
15048
+ json: data
15049
+ }).json();
15050
+ }
15051
+ async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
14976
15052
  return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
15053
+ signal,
15054
+ json: data,
15055
+ headers: { "X-Toggl-Report-Export": xTogglReportExport }
15056
+ }).json();
15057
+ }
15058
+ //#endregion
15059
+ //#region ../focus-queries/dist/reportschedules/requests.ts
15060
+ async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
15061
+ return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
15062
+ signal,
15063
+ json: data
15064
+ }).json();
15065
+ }
15066
+ async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
15067
+ return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
14977
15068
  signal,
14978
15069
  json: data
14979
15070
  }).json();
14980
15071
  }
15072
+ async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
15073
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
15074
+ }
14981
15075
  //#endregion
14982
15076
  //#region ../focus-queries/dist/savedviews/requests.ts
14983
15077
  async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
@@ -15010,7 +15104,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
15010
15104
  }
15011
15105
  //#endregion
15012
15106
  //#region ../focus-queries/dist/search/requests.ts
15013
- 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) {
15107
+ 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) {
15014
15108
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
15015
15109
  signal,
15016
15110
  searchParams: buildSearchParams$2({
@@ -15022,11 +15116,56 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
15022
15116
  task_id,
15023
15117
  include_drafts,
15024
15118
  exclude_calendar_events,
15025
- group_by_tags
15119
+ group_by_tags,
15120
+ only_me
15121
+ })
15122
+ }).json();
15123
+ }
15124
+ async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
15125
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
15126
+ signal,
15127
+ searchParams: buildSearchParams$2({
15128
+ keyword,
15129
+ per_group
15026
15130
  })
15027
15131
  }).json();
15028
15132
  }
15029
15133
  //#endregion
15134
+ //#region ../focus-queries/dist/sharedreports/requests.ts
15135
+ async function shareSavedView(httpClient, workspace_id, id, data, signal) {
15136
+ return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
15137
+ signal,
15138
+ json: data
15139
+ }).json();
15140
+ }
15141
+ async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
15142
+ return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
15143
+ }
15144
+ async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
15145
+ return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
15146
+ signal,
15147
+ json: data
15148
+ }).json();
15149
+ }
15150
+ async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
15151
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
15152
+ }
15153
+ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
15154
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
15155
+ }
15156
+ async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
15157
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
15158
+ }
15159
+ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
15160
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
15161
+ signal,
15162
+ json: data
15163
+ }).json();
15164
+ }
15165
+ async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
15166
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
15167
+ }
15168
+ //#endregion
15030
15169
  //#region ../focus-queries/dist/subscriptions/requests.ts
15031
15170
  async function getCurrentSubscription(httpClient, organization_id, signal) {
15032
15171
  return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
@@ -15082,7 +15221,77 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
15082
15221
  }
15083
15222
  //#endregion
15084
15223
  //#region ../focus-queries/dist/task-groups/requests.ts
15085
- 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) {
15224
+ 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) {
15225
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
15226
+ signal,
15227
+ searchParams: buildSearchParams$2({
15228
+ project_id,
15229
+ source,
15230
+ priority,
15231
+ status_id,
15232
+ client_id,
15233
+ assignee_user_id,
15234
+ tag_id,
15235
+ team_id,
15236
+ user_tag_id,
15237
+ group_id,
15238
+ creator_id,
15239
+ name,
15240
+ start_date,
15241
+ end_date,
15242
+ start_date_from,
15243
+ start_date_to,
15244
+ end_date_from,
15245
+ end_date_to,
15246
+ private: private_,
15247
+ exclude_empty,
15248
+ include_unassigned,
15249
+ include_unmaterialized,
15250
+ collapse_recurring,
15251
+ include_assignees,
15252
+ min_days,
15253
+ include_drafts,
15254
+ cf_filter,
15255
+ user_cf_filter
15256
+ })
15257
+ }).json();
15258
+ }
15259
+ 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) {
15260
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
15261
+ signal,
15262
+ searchParams: buildSearchParams$2({
15263
+ team_id,
15264
+ project_id,
15265
+ source,
15266
+ priority,
15267
+ status_id,
15268
+ client_id,
15269
+ assignee_user_id,
15270
+ tag_id,
15271
+ user_tag_id,
15272
+ group_id,
15273
+ creator_id,
15274
+ name,
15275
+ start_date,
15276
+ end_date,
15277
+ start_date_from,
15278
+ start_date_to,
15279
+ end_date_from,
15280
+ end_date_to,
15281
+ private: private_,
15282
+ exclude_empty,
15283
+ include_unassigned,
15284
+ include_unmaterialized,
15285
+ collapse_recurring,
15286
+ include_assignees,
15287
+ min_days,
15288
+ include_drafts,
15289
+ cf_filter,
15290
+ user_cf_filter
15291
+ })
15292
+ }).json();
15293
+ }
15294
+ 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) {
15086
15295
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
15087
15296
  signal,
15088
15297
  searchParams: buildSearchParams$2({
@@ -15106,11 +15315,14 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
15106
15315
  end_date_to,
15107
15316
  private: private_,
15108
15317
  exclude_empty,
15109
- include_ghosts,
15318
+ include_unassigned,
15319
+ include_unmaterialized,
15320
+ collapse_recurring,
15110
15321
  include_assignees,
15111
15322
  min_days,
15112
15323
  include_drafts,
15113
15324
  cf_filter,
15325
+ user_cf_filter,
15114
15326
  page,
15115
15327
  per_page,
15116
15328
  order_by
@@ -15247,17 +15459,18 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
15247
15459
  }).json();
15248
15460
  }
15249
15461
  //#endregion
15250
- //#region ../focus-queries/dist/time-log-suggestions/requests.ts
15251
- async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
15252
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
15462
+ //#region ../focus-queries/dist/time-entry-groups/requests.ts
15463
+ async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
15464
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
15253
15465
  signal,
15254
- json: data
15255
- }).json();
15256
- }
15257
- async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
15258
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
15259
- signal,
15260
- json: data
15466
+ searchParams: buildSearchParams$2({
15467
+ start_date,
15468
+ end_date,
15469
+ user_id,
15470
+ page,
15471
+ per_page,
15472
+ order_by
15473
+ })
15261
15474
  }).json();
15262
15475
  }
15263
15476
  //#endregion
@@ -15299,43 +15512,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
15299
15512
  json: data
15300
15513
  }).json();
15301
15514
  }
15302
- async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
15303
- return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
15304
- signal,
15305
- searchParams: buildSearchParams$2({
15306
- ghost_ids,
15307
- start_date,
15308
- end_date
15309
- })
15310
- }).json();
15311
- }
15312
- async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
15313
- return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15314
- signal,
15315
- searchParams: buildSearchParams$2({
15316
- from,
15317
- to
15318
- })
15319
- }).json();
15320
- }
15321
- async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15322
- return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15323
- signal,
15324
- json: data
15325
- }).json();
15326
- }
15327
- async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15328
- return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15329
- signal,
15330
- json: data
15331
- }).json();
15332
- }
15333
- async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15334
- return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15335
- signal,
15336
- json: data
15337
- }).json();
15338
- }
15339
15515
  //#endregion
15340
15516
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
15341
15517
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -15528,27 +15704,6 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
15528
15704
  json: data
15529
15705
  }).json();
15530
15706
  }
15531
- async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
15532
- return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
15533
- }
15534
- async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15535
- return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15536
- signal,
15537
- json: data
15538
- }).json();
15539
- }
15540
- async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15541
- return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15542
- signal,
15543
- json: data
15544
- }).json();
15545
- }
15546
- async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15547
- return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15548
- signal,
15549
- json: data
15550
- }).json();
15551
- }
15552
15707
  //#endregion
15553
15708
  //#region ../focus-queries/dist/workspace/requests.ts
15554
15709
  async function getWorkspaceContext(httpClient, workspace_id, signal) {
@@ -15565,6 +15720,9 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
15565
15720
  json: data
15566
15721
  }).json();
15567
15722
  }
15723
+ async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
15724
+ return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
15725
+ }
15568
15726
  async function getUserPermissions(httpClient, workspace_id, signal) {
15569
15727
  return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
15570
15728
  }
@@ -15577,6 +15735,15 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
15577
15735
  json: data
15578
15736
  }).json();
15579
15737
  }
15738
+ async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
15739
+ return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
15740
+ }
15741
+ async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
15742
+ return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
15743
+ signal,
15744
+ json: data
15745
+ }).json();
15746
+ }
15580
15747
  //#endregion
15581
15748
  //#region ../operations/build/index.public.js
15582
15749
  function callGeneratedRequest(request, args) {
@@ -15712,17 +15879,17 @@ const generatedFocusOperations = [
15712
15879
  ]))
15713
15880
  },
15714
15881
  {
15715
- id: "focus.audit-log.list",
15882
+ id: "focus.audit-log.get-organization",
15716
15883
  family: "focus",
15717
15884
  resource: "audit-log",
15718
- action: "list",
15719
- title: "List Audit Log",
15720
- description: "List Audit Log.",
15885
+ action: "get-organization",
15886
+ title: "Get Organization Audit Log",
15887
+ description: "Get Organization Audit Log.",
15721
15888
  safety: "read",
15722
15889
  destructive: false,
15723
15890
  cli: {
15724
15891
  group: ["audit-log"],
15725
- command: "list",
15892
+ command: "get-organization",
15726
15893
  interactive: "hidden"
15727
15894
  },
15728
15895
  mcp: { entityTool: "audit-log" },
@@ -15736,14 +15903,14 @@ const generatedFocusOperations = [
15736
15903
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15737
15904
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15738
15905
  to: /* @__PURE__ */ string$1(),
15739
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
15906
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15907
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
15740
15908
  }),
15741
15909
  execute: (input, { client }) => {
15742
15910
  const data = input;
15743
- return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
15911
+ return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
15744
15912
  client.httpClient,
15745
15913
  client.organizationId,
15746
- client.workspaceIdNumber,
15747
15914
  data.from,
15748
15915
  data.to,
15749
15916
  data,
@@ -15752,87 +15919,79 @@ const generatedFocusOperations = [
15752
15919
  }
15753
15920
  },
15754
15921
  {
15755
- id: "focus.capacities.get-computations",
15922
+ id: "focus.audit-log.list",
15756
15923
  family: "focus",
15757
- resource: "capacities",
15758
- action: "get-computations",
15759
- title: "Get Computations Capacities",
15760
- description: "Get Computations Capacities.",
15924
+ resource: "audit-log",
15925
+ action: "list",
15926
+ title: "List Audit Log",
15927
+ description: "List Audit Log.",
15761
15928
  safety: "read",
15762
15929
  destructive: false,
15763
15930
  cli: {
15764
- group: ["capacities"],
15765
- command: "get-computations",
15931
+ group: ["audit-log"],
15932
+ command: "list",
15766
15933
  interactive: "hidden"
15767
15934
  },
15768
- mcp: { entityTool: "capacities" },
15935
+ mcp: { entityTool: "audit-log" },
15769
15936
  inputSchema: /* @__PURE__ */ looseObject({
15770
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
15771
- ghost_id: /* @__PURE__ */ number$2(),
15772
- group: /* @__PURE__ */ picklist$1(["users"]),
15773
- include_drafts: /* @__PURE__ */ unknown$1(),
15774
- private_: /* @__PURE__ */ unknown$1(),
15775
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
15776
- task_source: /* @__PURE__ */ unknown$1(),
15777
- unit: /* @__PURE__ */ unknown$1(),
15778
- user_id: /* @__PURE__ */ number$2()
15937
+ action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15938
+ entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15939
+ entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15940
+ export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15941
+ export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15942
+ from: /* @__PURE__ */ string$1(),
15943
+ page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15944
+ page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15945
+ to: /* @__PURE__ */ string$1(),
15946
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
15779
15947
  }),
15780
15948
  execute: (input, { client }) => {
15781
15949
  const data = input;
15782
- return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
15950
+ return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
15783
15951
  client.httpClient,
15784
15952
  client.organizationId,
15785
15953
  client.workspaceIdNumber,
15786
- data.group,
15954
+ data.from,
15955
+ data.to,
15787
15956
  data,
15788
15957
  void 0
15789
15958
  ]));
15790
15959
  }
15791
15960
  },
15792
15961
  {
15793
- id: "focus.capacities.settings-list",
15962
+ id: "focus.capacities.get-computations",
15794
15963
  family: "focus",
15795
15964
  resource: "capacities",
15796
- action: "settings-list",
15797
- title: "Settings List Capacities",
15798
- description: "Settings List Capacities.",
15965
+ action: "get-computations",
15966
+ title: "Get Computations Capacities",
15967
+ description: "Get Computations Capacities.",
15799
15968
  safety: "read",
15800
15969
  destructive: false,
15801
15970
  cli: {
15802
- group: ["capacities", "settings"],
15803
- command: "list",
15971
+ group: ["capacities"],
15972
+ command: "get-computations",
15804
15973
  interactive: "hidden"
15805
15974
  },
15806
15975
  mcp: { entityTool: "capacities" },
15807
- inputSchema: /* @__PURE__ */ looseObject({}),
15808
- execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
15809
- client.httpClient,
15810
- client.workspaceIdNumber,
15811
- void 0
15812
- ]))
15813
- },
15814
- {
15815
- id: "focus.capacities.settings-update",
15816
- family: "focus",
15817
- resource: "capacities",
15818
- action: "settings-update",
15819
- title: "Settings Update Capacities",
15820
- description: "Settings Update Capacities.",
15821
- safety: "update",
15822
- destructive: false,
15823
- cli: {
15824
- group: ["capacities", "settings"],
15825
- command: "update",
15826
- interactive: "default"
15827
- },
15828
- mcp: { entityTool: "capacities" },
15829
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
15976
+ inputSchema: /* @__PURE__ */ looseObject({
15977
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
15978
+ group: /* @__PURE__ */ picklist$1(["users"]),
15979
+ include_drafts: /* @__PURE__ */ unknown$1(),
15980
+ include_task_estimates: /* @__PURE__ */ unknown$1(),
15981
+ private_: /* @__PURE__ */ unknown$1(),
15982
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
15983
+ task_source: /* @__PURE__ */ unknown$1(),
15984
+ unit: /* @__PURE__ */ unknown$1(),
15985
+ user_id: /* @__PURE__ */ number$2()
15986
+ }),
15830
15987
  execute: (input, { client }) => {
15831
15988
  const data = input;
15832
- return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
15989
+ return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
15833
15990
  client.httpClient,
15991
+ client.organizationId,
15834
15992
  client.workspaceIdNumber,
15835
- data.payload ?? data.data ?? data,
15993
+ data.group,
15994
+ data,
15836
15995
  void 0
15837
15996
  ]));
15838
15997
  }
@@ -16031,8 +16190,7 @@ const generatedFocusOperations = [
16031
16190
  hourly_rate: /* @__PURE__ */ number$2(),
16032
16191
  start_at: apiDateTimeString,
16033
16192
  end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
16034
- }))),
16035
- resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16193
+ })))
16036
16194
  }) }),
16037
16195
  execute: (input, { client }) => {
16038
16196
  const data = input;
@@ -16087,6 +16245,7 @@ const generatedFocusOperations = [
16087
16245
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16088
16246
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16089
16247
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16248
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16090
16249
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16091
16250
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16092
16251
  }),
@@ -16119,6 +16278,7 @@ const generatedFocusOperations = [
16119
16278
  priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
16120
16279
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16121
16280
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16281
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16122
16282
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16123
16283
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16124
16284
  }))),
@@ -16174,7 +16334,11 @@ const generatedFocusOperations = [
16174
16334
  },
16175
16335
  mcp: { entityTool: "custom-fields" },
16176
16336
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16177
- entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
16337
+ entity_type: /* @__PURE__ */ picklist$1([
16338
+ "project",
16339
+ "task",
16340
+ "user"
16341
+ ]),
16178
16342
  field_type: /* @__PURE__ */ picklist$1([
16179
16343
  "select",
16180
16344
  "multi_select",
@@ -16507,7 +16671,11 @@ const generatedFocusOperations = [
16507
16671
  },
16508
16672
  mcp: { entityTool: "custom-fields" },
16509
16673
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16510
- entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
16674
+ entity_type: /* @__PURE__ */ picklist$1([
16675
+ "project",
16676
+ "task",
16677
+ "user"
16678
+ ]),
16511
16679
  ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
16512
16680
  }) }),
16513
16681
  execute: (input, { client }) => {
@@ -16521,6 +16689,37 @@ const generatedFocusOperations = [
16521
16689
  ]));
16522
16690
  }
16523
16691
  },
16692
+ {
16693
+ id: "focus.custom-fields.update-user-custom-field-values",
16694
+ family: "focus",
16695
+ resource: "custom-fields",
16696
+ action: "update-user-custom-field-values",
16697
+ title: "Update User Custom Field Values Custom Fields",
16698
+ description: "Update User Custom Field Values Custom Fields.",
16699
+ safety: "update",
16700
+ destructive: false,
16701
+ cli: {
16702
+ group: ["custom-fields"],
16703
+ command: "update-user-custom-field-values",
16704
+ interactive: "hidden"
16705
+ },
16706
+ mcp: { entityTool: "custom-fields" },
16707
+ inputSchema: /* @__PURE__ */ looseObject({
16708
+ payload: /* @__PURE__ */ unknown$1(),
16709
+ user_id: /* @__PURE__ */ number$2()
16710
+ }),
16711
+ execute: (input, { client }) => {
16712
+ const data = input;
16713
+ return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
16714
+ client.httpClient,
16715
+ client.organizationId,
16716
+ client.workspaceIdNumber,
16717
+ data.user_id,
16718
+ data.payload ?? data.data ?? data,
16719
+ void 0
16720
+ ]));
16721
+ }
16722
+ },
16524
16723
  {
16525
16724
  id: "focus.goals.create",
16526
16725
  family: "focus",
@@ -16740,10 +16939,22 @@ const generatedFocusOperations = [
16740
16939
  goal_id: /* @__PURE__ */ number$2(),
16741
16940
  payload: /* @__PURE__ */ looseObject({
16742
16941
  active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16942
+ client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16743
16943
  comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16744
16944
  icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16745
16945
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16746
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16946
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16947
+ recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
16948
+ "daily",
16949
+ "weekly",
16950
+ "daily_workdays",
16951
+ "monthly"
16952
+ ])),
16953
+ start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16954
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16955
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16956
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16957
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16747
16958
  })
16748
16959
  }),
16749
16960
  execute: (input, { client }) => {
@@ -18076,6 +18287,7 @@ const generatedFocusOperations = [
18076
18287
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18077
18288
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18078
18289
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18290
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18079
18291
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18080
18292
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
18081
18293
  group: /* @__PURE__ */ string$1(),
@@ -18083,6 +18295,7 @@ const generatedFocusOperations = [
18083
18295
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18084
18296
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18085
18297
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18298
+ only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18086
18299
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18087
18300
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18088
18301
  parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -20267,7 +20480,10 @@ const generatedFocusOperations = [
20267
20480
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20268
20481
  name: /* @__PURE__ */ string$1(),
20269
20482
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
20270
- }))
20483
+ })),
20484
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
20485
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20486
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
20271
20487
  }),
20272
20488
  response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
20273
20489
  }),
@@ -20308,6 +20524,28 @@ const generatedFocusOperations = [
20308
20524
  ]));
20309
20525
  }
20310
20526
  },
20527
+ {
20528
+ id: "focus.reports.get-forecast-availability",
20529
+ family: "focus",
20530
+ resource: "reports",
20531
+ action: "get-forecast-availability",
20532
+ title: "Get Forecast Availability Reports",
20533
+ description: "Get Forecast Availability Reports.",
20534
+ safety: "read",
20535
+ destructive: false,
20536
+ cli: {
20537
+ group: ["reports"],
20538
+ command: "get-forecast-availability",
20539
+ interactive: "hidden"
20540
+ },
20541
+ mcp: { entityTool: "reports" },
20542
+ inputSchema: /* @__PURE__ */ looseObject({}),
20543
+ execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
20544
+ client.httpClient,
20545
+ client.workspaceIdNumber,
20546
+ void 0
20547
+ ]))
20548
+ },
20311
20549
  {
20312
20550
  id: "focus.reports.get-profitability",
20313
20551
  family: "focus",
@@ -20367,9 +20605,17 @@ const generatedFocusOperations = [
20367
20605
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20368
20606
  name: /* @__PURE__ */ string$1(),
20369
20607
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
20370
- }))
20608
+ })),
20609
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
20610
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20611
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
20371
20612
  }),
20372
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
20613
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
20614
+ xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
20615
+ "csv",
20616
+ "xlsx",
20617
+ "pdf"
20618
+ ]))
20373
20619
  }),
20374
20620
  execute: (input, { client }) => {
20375
20621
  const data = input;
@@ -20379,22 +20625,23 @@ const generatedFocusOperations = [
20379
20625
  data.payload ?? data.data ?? data,
20380
20626
  data.response_format,
20381
20627
  data.include_dicts,
20628
+ data.xTogglReportExport,
20382
20629
  void 0
20383
20630
  ]));
20384
20631
  }
20385
20632
  },
20386
20633
  {
20387
- id: "focus.reports.get-workload",
20634
+ id: "focus.reports.get-time-accounting",
20388
20635
  family: "focus",
20389
20636
  resource: "reports",
20390
- action: "get-workload",
20391
- title: "Get Workload Reports",
20392
- description: "Get Workload Reports.",
20637
+ action: "get-time-accounting",
20638
+ title: "Get Time Accounting Reports",
20639
+ description: "Get Time Accounting Reports.",
20393
20640
  safety: "update",
20394
20641
  destructive: false,
20395
20642
  cli: {
20396
20643
  group: ["reports"],
20397
- command: "get-workload",
20644
+ command: "get-time-accounting",
20398
20645
  interactive: "hidden"
20399
20646
  },
20400
20647
  mcp: { entityTool: "reports" },
@@ -20440,14 +20687,205 @@ const generatedFocusOperations = [
20440
20687
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20441
20688
  name: /* @__PURE__ */ string$1(),
20442
20689
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
20443
- }))
20690
+ })),
20691
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
20692
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20693
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
20444
20694
  }) }),
20695
+ execute: (input, { client }) => {
20696
+ const data = input;
20697
+ return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
20698
+ client.httpClient,
20699
+ client.workspaceIdNumber,
20700
+ data.payload ?? data.data ?? data,
20701
+ void 0
20702
+ ]));
20703
+ }
20704
+ },
20705
+ {
20706
+ id: "focus.reports.get-workload",
20707
+ family: "focus",
20708
+ resource: "reports",
20709
+ action: "get-workload",
20710
+ title: "Get Workload Reports",
20711
+ description: "Get Workload Reports.",
20712
+ safety: "update",
20713
+ destructive: false,
20714
+ cli: {
20715
+ group: ["reports"],
20716
+ command: "get-workload",
20717
+ interactive: "hidden"
20718
+ },
20719
+ mcp: { entityTool: "reports" },
20720
+ inputSchema: /* @__PURE__ */ looseObject({
20721
+ payload: /* @__PURE__ */ looseObject({
20722
+ aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20723
+ aggregation: /* @__PURE__ */ looseObject({
20724
+ function: /* @__PURE__ */ string$1(),
20725
+ property: /* @__PURE__ */ string$1()
20726
+ }),
20727
+ operator: /* @__PURE__ */ string$1(),
20728
+ property: /* @__PURE__ */ string$1()
20729
+ })),
20730
+ aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20731
+ function: /* @__PURE__ */ string$1(),
20732
+ property: /* @__PURE__ */ string$1()
20733
+ })),
20734
+ attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
20735
+ currency: /* @__PURE__ */ string$1(),
20736
+ filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20737
+ conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
20738
+ operator: /* @__PURE__ */ string$1(),
20739
+ property: /* @__PURE__ */ string$1()
20740
+ })),
20741
+ groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20742
+ property: /* @__PURE__ */ string$1(),
20743
+ show_empty: /* @__PURE__ */ boolean$1()
20744
+ })),
20745
+ limit: /* @__PURE__ */ number$2(),
20746
+ ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20747
+ direction: /* @__PURE__ */ string$1(),
20748
+ nulls: /* @__PURE__ */ string$1(),
20749
+ property: /* @__PURE__ */ string$1()
20750
+ })),
20751
+ pagination: /* @__PURE__ */ looseObject({
20752
+ page: /* @__PURE__ */ number$2(),
20753
+ per_page: /* @__PURE__ */ number$2()
20754
+ }),
20755
+ period: /* @__PURE__ */ looseObject({
20756
+ from: /* @__PURE__ */ string$1(),
20757
+ preset: /* @__PURE__ */ string$1(),
20758
+ to: /* @__PURE__ */ string$1()
20759
+ }),
20760
+ transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20761
+ name: /* @__PURE__ */ string$1(),
20762
+ parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
20763
+ })),
20764
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
20765
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20766
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
20767
+ }),
20768
+ xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
20769
+ "csv",
20770
+ "xlsx",
20771
+ "pdf"
20772
+ ]))
20773
+ }),
20445
20774
  execute: (input, { client }) => {
20446
20775
  const data = input;
20447
20776
  return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
20448
20777
  client.httpClient,
20449
20778
  client.workspaceIdNumber,
20450
20779
  data.payload ?? data.data ?? data,
20780
+ data.xTogglReportExport,
20781
+ void 0
20782
+ ]));
20783
+ }
20784
+ },
20785
+ {
20786
+ id: "focus.reportschedules.delete-shared-report-schedule",
20787
+ family: "focus",
20788
+ resource: "reportschedules",
20789
+ action: "delete-shared-report-schedule",
20790
+ title: "Delete Shared Report Schedule Reportschedules",
20791
+ description: "Delete Shared Report Schedule Reportschedules.",
20792
+ safety: "delete",
20793
+ destructive: true,
20794
+ cli: {
20795
+ group: ["reportschedules"],
20796
+ command: "delete-shared-report-schedule",
20797
+ interactive: "default"
20798
+ },
20799
+ mcp: { entityTool: "reportschedules" },
20800
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
20801
+ execute: (input, { client }) => {
20802
+ const data = input;
20803
+ return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
20804
+ client.httpClient,
20805
+ client.workspaceIdNumber,
20806
+ data.id,
20807
+ void 0
20808
+ ]));
20809
+ }
20810
+ },
20811
+ {
20812
+ id: "focus.reportschedules.upsert-saved-view-schedule",
20813
+ family: "focus",
20814
+ resource: "reportschedules",
20815
+ action: "upsert-saved-view-schedule",
20816
+ title: "Upsert Saved View Schedule Reportschedules",
20817
+ description: "Upsert Saved View Schedule Reportschedules.",
20818
+ safety: "update",
20819
+ destructive: false,
20820
+ cli: {
20821
+ group: ["reportschedules"],
20822
+ command: "upsert-saved-view-schedule",
20823
+ interactive: "default"
20824
+ },
20825
+ mcp: { entityTool: "reportschedules" },
20826
+ inputSchema: /* @__PURE__ */ looseObject({
20827
+ id: /* @__PURE__ */ number$2(),
20828
+ payload: /* @__PURE__ */ looseObject({
20829
+ cadence: /* @__PURE__ */ picklist$1([
20830
+ "daily",
20831
+ "weekly",
20832
+ "monthly"
20833
+ ]),
20834
+ time: /* @__PURE__ */ string$1(),
20835
+ day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
20836
+ recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
20837
+ recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
20838
+ recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
20839
+ })
20840
+ }),
20841
+ execute: (input, { client }) => {
20842
+ const data = input;
20843
+ return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
20844
+ client.httpClient,
20845
+ client.workspaceIdNumber,
20846
+ data.id,
20847
+ data.payload ?? data.data ?? data,
20848
+ void 0
20849
+ ]));
20850
+ }
20851
+ },
20852
+ {
20853
+ id: "focus.reportschedules.upsert-shared-report-schedule",
20854
+ family: "focus",
20855
+ resource: "reportschedules",
20856
+ action: "upsert-shared-report-schedule",
20857
+ title: "Upsert Shared Report Schedule Reportschedules",
20858
+ description: "Upsert Shared Report Schedule Reportschedules.",
20859
+ safety: "update",
20860
+ destructive: false,
20861
+ cli: {
20862
+ group: ["reportschedules"],
20863
+ command: "upsert-shared-report-schedule",
20864
+ interactive: "default"
20865
+ },
20866
+ mcp: { entityTool: "reportschedules" },
20867
+ inputSchema: /* @__PURE__ */ looseObject({
20868
+ id: /* @__PURE__ */ number$2(),
20869
+ payload: /* @__PURE__ */ looseObject({
20870
+ cadence: /* @__PURE__ */ picklist$1([
20871
+ "daily",
20872
+ "weekly",
20873
+ "monthly"
20874
+ ]),
20875
+ time: /* @__PURE__ */ string$1(),
20876
+ day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
20877
+ recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
20878
+ recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
20879
+ recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
20880
+ })
20881
+ }),
20882
+ execute: (input, { client }) => {
20883
+ const data = input;
20884
+ return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
20885
+ client.httpClient,
20886
+ client.workspaceIdNumber,
20887
+ data.id,
20888
+ data.payload ?? data.data ?? data,
20451
20889
  void 0
20452
20890
  ]));
20453
20891
  }
@@ -20485,7 +20923,9 @@ const generatedFocusOperations = [
20485
20923
  "reports.detailed",
20486
20924
  "reports.utilization",
20487
20925
  "reports.workload",
20488
- "reports.profitability"
20926
+ "reports.profitability",
20927
+ "reports.time-off",
20928
+ "reports.time-accounting"
20489
20929
  ]),
20490
20930
  icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
20491
20931
  }) }),
@@ -20609,11 +21049,41 @@ const generatedFocusOperations = [
20609
21049
  }
20610
21050
  },
20611
21051
  {
20612
- id: "focus.search.search",
21052
+ id: "focus.search.mentions",
20613
21053
  family: "focus",
20614
21054
  resource: "search",
20615
- action: "search",
20616
- title: "Search Search",
21055
+ action: "mentions",
21056
+ title: "Mentions Search",
21057
+ description: "Mentions Search.",
21058
+ safety: "read",
21059
+ destructive: false,
21060
+ cli: {
21061
+ group: ["search"],
21062
+ command: "mentions",
21063
+ interactive: "hidden"
21064
+ },
21065
+ mcp: { entityTool: "search" },
21066
+ inputSchema: /* @__PURE__ */ looseObject({
21067
+ keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21068
+ per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21069
+ }),
21070
+ execute: (input, { client }) => {
21071
+ const data = input;
21072
+ return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
21073
+ client.httpClient,
21074
+ client.organizationId,
21075
+ client.workspaceIdNumber,
21076
+ data,
21077
+ void 0
21078
+ ]));
21079
+ }
21080
+ },
21081
+ {
21082
+ id: "focus.search.search",
21083
+ family: "focus",
21084
+ resource: "search",
21085
+ action: "search",
21086
+ title: "Search Search",
20617
21087
  description: "Search Search.",
20618
21088
  safety: "read",
20619
21089
  destructive: false,
@@ -20635,6 +21105,240 @@ const generatedFocusOperations = [
20635
21105
  ]));
20636
21106
  }
20637
21107
  },
21108
+ {
21109
+ id: "focus.sharedreports.add-shared-report-grants",
21110
+ family: "focus",
21111
+ resource: "sharedreports",
21112
+ action: "add-shared-report-grants",
21113
+ title: "Add Shared Report Grants Sharedreports",
21114
+ description: "Add Shared Report Grants Sharedreports.",
21115
+ safety: "update",
21116
+ destructive: false,
21117
+ cli: {
21118
+ group: ["sharedreports"],
21119
+ command: "add-shared-report-grants",
21120
+ interactive: "default"
21121
+ },
21122
+ mcp: { entityTool: "sharedreports" },
21123
+ inputSchema: /* @__PURE__ */ looseObject({
21124
+ id: /* @__PURE__ */ number$2(),
21125
+ payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21126
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21127
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21128
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21129
+ })) })
21130
+ }),
21131
+ execute: (input, { client }) => {
21132
+ const data = input;
21133
+ return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
21134
+ client.httpClient,
21135
+ client.workspaceIdNumber,
21136
+ data.id,
21137
+ data.payload ?? data.data ?? data,
21138
+ void 0
21139
+ ]));
21140
+ }
21141
+ },
21142
+ {
21143
+ id: "focus.sharedreports.get-saved-view-shared-report",
21144
+ family: "focus",
21145
+ resource: "sharedreports",
21146
+ action: "get-saved-view-shared-report",
21147
+ title: "Get Saved View Shared Report Sharedreports",
21148
+ description: "Get Saved View Shared Report Sharedreports.",
21149
+ safety: "read",
21150
+ destructive: false,
21151
+ cli: {
21152
+ group: ["sharedreports"],
21153
+ command: "get-saved-view-shared-report",
21154
+ interactive: "available"
21155
+ },
21156
+ mcp: { entityTool: "sharedreports" },
21157
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21158
+ execute: (input, { client }) => {
21159
+ const data = input;
21160
+ return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
21161
+ client.httpClient,
21162
+ client.workspaceIdNumber,
21163
+ data.id,
21164
+ void 0
21165
+ ]));
21166
+ }
21167
+ },
21168
+ {
21169
+ id: "focus.sharedreports.get-shared-report-for-viewer",
21170
+ family: "focus",
21171
+ resource: "sharedreports",
21172
+ action: "get-shared-report-for-viewer",
21173
+ title: "Get Shared Report For Viewer Sharedreports",
21174
+ description: "Get Shared Report For Viewer Sharedreports.",
21175
+ safety: "read",
21176
+ destructive: false,
21177
+ cli: {
21178
+ group: ["sharedreports"],
21179
+ command: "get-shared-report-for-viewer",
21180
+ interactive: "available"
21181
+ },
21182
+ mcp: { entityTool: "sharedreports" },
21183
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21184
+ execute: (input, { client }) => {
21185
+ const data = input;
21186
+ return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
21187
+ client.httpClient,
21188
+ client.workspaceIdNumber,
21189
+ data.id,
21190
+ void 0
21191
+ ]));
21192
+ }
21193
+ },
21194
+ {
21195
+ id: "focus.sharedreports.get-shared-reports-shared-by-me",
21196
+ family: "focus",
21197
+ resource: "sharedreports",
21198
+ action: "get-shared-reports-shared-by-me",
21199
+ title: "Get Shared Reports Shared By Me Sharedreports",
21200
+ description: "Get Shared Reports Shared By Me Sharedreports.",
21201
+ safety: "read",
21202
+ destructive: false,
21203
+ cli: {
21204
+ group: ["sharedreports"],
21205
+ command: "get-shared-reports-shared-by-me",
21206
+ interactive: "hidden"
21207
+ },
21208
+ mcp: { entityTool: "sharedreports" },
21209
+ inputSchema: /* @__PURE__ */ looseObject({}),
21210
+ execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
21211
+ client.httpClient,
21212
+ client.workspaceIdNumber,
21213
+ void 0
21214
+ ]))
21215
+ },
21216
+ {
21217
+ id: "focus.sharedreports.get-shared-reports-shared-with-me",
21218
+ family: "focus",
21219
+ resource: "sharedreports",
21220
+ action: "get-shared-reports-shared-with-me",
21221
+ title: "Get Shared Reports Shared With Me Sharedreports",
21222
+ description: "Get Shared Reports Shared With Me Sharedreports.",
21223
+ safety: "read",
21224
+ destructive: false,
21225
+ cli: {
21226
+ group: ["sharedreports"],
21227
+ command: "get-shared-reports-shared-with-me",
21228
+ interactive: "hidden"
21229
+ },
21230
+ mcp: { entityTool: "sharedreports" },
21231
+ inputSchema: /* @__PURE__ */ looseObject({}),
21232
+ execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
21233
+ client.httpClient,
21234
+ client.workspaceIdNumber,
21235
+ void 0
21236
+ ]))
21237
+ },
21238
+ {
21239
+ id: "focus.sharedreports.revoke-shared-report-grant",
21240
+ family: "focus",
21241
+ resource: "sharedreports",
21242
+ action: "revoke-shared-report-grant",
21243
+ title: "Revoke Shared Report Grant Sharedreports",
21244
+ description: "Revoke Shared Report Grant Sharedreports.",
21245
+ safety: "delete",
21246
+ destructive: true,
21247
+ cli: {
21248
+ group: ["sharedreports"],
21249
+ command: "revoke-shared-report-grant",
21250
+ interactive: "default"
21251
+ },
21252
+ mcp: { entityTool: "sharedreports" },
21253
+ inputSchema: /* @__PURE__ */ looseObject({
21254
+ grant_id: /* @__PURE__ */ number$2(),
21255
+ id: /* @__PURE__ */ number$2()
21256
+ }),
21257
+ execute: (input, { client }) => {
21258
+ const data = input;
21259
+ return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
21260
+ client.httpClient,
21261
+ client.workspaceIdNumber,
21262
+ data.id,
21263
+ data.grant_id,
21264
+ void 0
21265
+ ]));
21266
+ }
21267
+ },
21268
+ {
21269
+ id: "focus.sharedreports.share-saved-view",
21270
+ family: "focus",
21271
+ resource: "sharedreports",
21272
+ action: "share-saved-view",
21273
+ title: "Share Saved View Sharedreports",
21274
+ description: "Share Saved View Sharedreports.",
21275
+ safety: "update",
21276
+ destructive: false,
21277
+ cli: {
21278
+ group: ["sharedreports"],
21279
+ command: "share-saved-view",
21280
+ interactive: "hidden"
21281
+ },
21282
+ mcp: { entityTool: "sharedreports" },
21283
+ inputSchema: /* @__PURE__ */ looseObject({
21284
+ id: /* @__PURE__ */ number$2(),
21285
+ payload: /* @__PURE__ */ looseObject({
21286
+ charts: /* @__PURE__ */ unknown$1(),
21287
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21288
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21289
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21290
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21291
+ })
21292
+ }),
21293
+ execute: (input, { client }) => {
21294
+ const data = input;
21295
+ return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
21296
+ client.httpClient,
21297
+ client.workspaceIdNumber,
21298
+ data.id,
21299
+ data.payload ?? data.data ?? data,
21300
+ void 0
21301
+ ]));
21302
+ }
21303
+ },
21304
+ {
21305
+ id: "focus.sharedreports.share-saved-view-many",
21306
+ family: "focus",
21307
+ resource: "sharedreports",
21308
+ action: "share-saved-view-many",
21309
+ title: "Share Saved View Many Sharedreports",
21310
+ description: "Share Saved View Many Sharedreports.",
21311
+ safety: "update",
21312
+ destructive: false,
21313
+ cli: {
21314
+ group: ["sharedreports"],
21315
+ command: "share-saved-view-many",
21316
+ interactive: "hidden"
21317
+ },
21318
+ mcp: { entityTool: "sharedreports" },
21319
+ inputSchema: /* @__PURE__ */ looseObject({
21320
+ id: /* @__PURE__ */ number$2(),
21321
+ payload: /* @__PURE__ */ looseObject({
21322
+ charts: /* @__PURE__ */ unknown$1(),
21323
+ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21324
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21325
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21326
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21327
+ })),
21328
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21329
+ })
21330
+ }),
21331
+ execute: (input, { client }) => {
21332
+ const data = input;
21333
+ return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
21334
+ client.httpClient,
21335
+ client.workspaceIdNumber,
21336
+ data.id,
21337
+ data.payload ?? data.data ?? data,
21338
+ void 0
21339
+ ]));
21340
+ }
21341
+ },
20638
21342
  {
20639
21343
  id: "focus.statuses.create-status",
20640
21344
  family: "focus",
@@ -20900,13 +21604,172 @@ const generatedFocusOperations = [
20900
21604
  command: "upsert-forced-trial",
20901
21605
  interactive: "default"
20902
21606
  },
20903
- mcp: { entityTool: "subscriptions" },
20904
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
21607
+ mcp: { entityTool: "subscriptions" },
21608
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
21609
+ execute: (input, { client }) => {
21610
+ const data = input;
21611
+ return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
21612
+ client.httpClient,
21613
+ client.organizationId,
21614
+ client.workspaceIdNumber,
21615
+ data.payload ?? data.data ?? data,
21616
+ void 0
21617
+ ]));
21618
+ }
21619
+ },
21620
+ {
21621
+ id: "focus.tags.archive",
21622
+ family: "focus",
21623
+ resource: "tags",
21624
+ action: "archive",
21625
+ title: "Archive Tags",
21626
+ description: "Archive Tags.",
21627
+ safety: "update",
21628
+ destructive: false,
21629
+ cli: {
21630
+ group: ["tags"],
21631
+ command: "archive",
21632
+ interactive: "default"
21633
+ },
21634
+ mcp: { entityTool: "tags" },
21635
+ inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
21636
+ execute: (input, { client }) => {
21637
+ const data = input;
21638
+ return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
21639
+ client.httpClient,
21640
+ client.workspaceIdNumber,
21641
+ data.tag_id,
21642
+ void 0
21643
+ ]));
21644
+ }
21645
+ },
21646
+ {
21647
+ id: "focus.tags.bulk-archive",
21648
+ family: "focus",
21649
+ resource: "tags",
21650
+ action: "bulk-archive",
21651
+ title: "Bulk Archive Tags",
21652
+ description: "Bulk Archive Tags.",
21653
+ safety: "update",
21654
+ destructive: false,
21655
+ cli: {
21656
+ group: ["tags", "bulk"],
21657
+ command: "archive",
21658
+ interactive: "default"
21659
+ },
21660
+ mcp: { entityTool: "tags" },
21661
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
21662
+ execute: (input, { client }) => {
21663
+ const data = input;
21664
+ return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
21665
+ client.httpClient,
21666
+ client.workspaceIdNumber,
21667
+ data.payload ?? data.data ?? data,
21668
+ void 0
21669
+ ]));
21670
+ }
21671
+ },
21672
+ {
21673
+ id: "focus.tags.bulk-create",
21674
+ family: "focus",
21675
+ resource: "tags",
21676
+ action: "bulk-create",
21677
+ title: "Bulk Create Tags",
21678
+ description: "Bulk Create Tags.",
21679
+ safety: "create",
21680
+ destructive: false,
21681
+ cli: {
21682
+ group: ["tags", "bulk"],
21683
+ command: "create",
21684
+ interactive: "default"
21685
+ },
21686
+ mcp: { entityTool: "tags" },
21687
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21688
+ color: /* @__PURE__ */ string$1(),
21689
+ name: /* @__PURE__ */ string$1()
21690
+ })) }) }),
21691
+ execute: (input, { client }) => {
21692
+ const data = input;
21693
+ return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
21694
+ client.httpClient,
21695
+ client.workspaceIdNumber,
21696
+ data.payload ?? data.data ?? data,
21697
+ void 0
21698
+ ]));
21699
+ }
21700
+ },
21701
+ {
21702
+ id: "focus.tags.bulk-delete",
21703
+ family: "focus",
21704
+ resource: "tags",
21705
+ action: "bulk-delete",
21706
+ title: "Bulk Delete Tags",
21707
+ description: "Bulk Delete Tags.",
21708
+ safety: "delete",
21709
+ destructive: true,
21710
+ cli: {
21711
+ group: ["tags", "bulk"],
21712
+ command: "delete",
21713
+ interactive: "default"
21714
+ },
21715
+ mcp: { entityTool: "tags" },
21716
+ inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
21717
+ execute: (input, { client }) => {
21718
+ const data = input;
21719
+ return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
21720
+ client.httpClient,
21721
+ client.workspaceIdNumber,
21722
+ data.ids,
21723
+ void 0
21724
+ ]));
21725
+ }
21726
+ },
21727
+ {
21728
+ id: "focus.tags.bulk-restore",
21729
+ family: "focus",
21730
+ resource: "tags",
21731
+ action: "bulk-restore",
21732
+ title: "Bulk Restore Tags",
21733
+ description: "Bulk Restore Tags.",
21734
+ safety: "update",
21735
+ destructive: false,
21736
+ cli: {
21737
+ group: ["tags", "bulk"],
21738
+ command: "restore",
21739
+ interactive: "default"
21740
+ },
21741
+ mcp: { entityTool: "tags" },
21742
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
21743
+ execute: (input, { client }) => {
21744
+ const data = input;
21745
+ return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
21746
+ client.httpClient,
21747
+ client.workspaceIdNumber,
21748
+ data.payload ?? data.data ?? data,
21749
+ void 0
21750
+ ]));
21751
+ }
21752
+ },
21753
+ {
21754
+ id: "focus.tags.bulk-unarchive",
21755
+ family: "focus",
21756
+ resource: "tags",
21757
+ action: "bulk-unarchive",
21758
+ title: "Bulk Unarchive Tags",
21759
+ description: "Bulk Unarchive Tags.",
21760
+ safety: "update",
21761
+ destructive: false,
21762
+ cli: {
21763
+ group: ["tags", "bulk"],
21764
+ command: "unarchive",
21765
+ interactive: "default"
21766
+ },
21767
+ mcp: { entityTool: "tags" },
21768
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
20905
21769
  execute: (input, { client }) => {
20906
21770
  const data = input;
20907
- return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
21771
+ return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
20908
21772
  client.httpClient,
20909
- client.organizationId,
20910
21773
  client.workspaceIdNumber,
20911
21774
  data.payload ?? data.data ?? data,
20912
21775
  void 0
@@ -20997,6 +21860,35 @@ const generatedFocusOperations = [
20997
21860
  return client.listTags(data);
20998
21861
  }
20999
21862
  },
21863
+ {
21864
+ id: "focus.tags.merge",
21865
+ family: "focus",
21866
+ resource: "tags",
21867
+ action: "merge",
21868
+ title: "Merge Tags",
21869
+ description: "Merge Tags.",
21870
+ safety: "update",
21871
+ destructive: false,
21872
+ cli: {
21873
+ group: ["tags"],
21874
+ command: "merge",
21875
+ interactive: "default"
21876
+ },
21877
+ mcp: { entityTool: "tags" },
21878
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
21879
+ source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
21880
+ target_id: /* @__PURE__ */ number$2()
21881
+ }) }),
21882
+ execute: (input, { client }) => {
21883
+ const data = input;
21884
+ return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
21885
+ client.httpClient,
21886
+ client.workspaceIdNumber,
21887
+ data.payload ?? data.data ?? data,
21888
+ void 0
21889
+ ]));
21890
+ }
21891
+ },
21000
21892
  {
21001
21893
  id: "focus.tags.restore",
21002
21894
  family: "focus",
@@ -21023,6 +21915,32 @@ const generatedFocusOperations = [
21023
21915
  ]));
21024
21916
  }
21025
21917
  },
21918
+ {
21919
+ id: "focus.tags.unarchive",
21920
+ family: "focus",
21921
+ resource: "tags",
21922
+ action: "unarchive",
21923
+ title: "Unarchive Tags",
21924
+ description: "Unarchive Tags.",
21925
+ safety: "update",
21926
+ destructive: false,
21927
+ cli: {
21928
+ group: ["tags"],
21929
+ command: "unarchive",
21930
+ interactive: "default"
21931
+ },
21932
+ mcp: { entityTool: "tags" },
21933
+ inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
21934
+ execute: (input, { client }) => {
21935
+ const data = input;
21936
+ return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
21937
+ client.httpClient,
21938
+ client.workspaceIdNumber,
21939
+ data.tag_id,
21940
+ void 0
21941
+ ]));
21942
+ }
21943
+ },
21026
21944
  {
21027
21945
  id: "focus.tags.update",
21028
21946
  family: "focus",
@@ -21704,12 +22622,12 @@ const generatedFocusOperations = [
21704
22622
  mcp: { entityTool: "tasks" },
21705
22623
  inputSchema: /* @__PURE__ */ looseObject({
21706
22624
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22625
+ assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21707
22626
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21708
22627
  dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21709
22628
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21710
22629
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
21711
22630
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21712
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21713
22631
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21714
22632
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21715
22633
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21746,7 +22664,6 @@ const generatedFocusOperations = [
21746
22664
  inputSchema: /* @__PURE__ */ looseObject({
21747
22665
  active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
21748
22666
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21749
- assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21750
22667
  assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21751
22668
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21752
22669
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21763,7 +22680,6 @@ const generatedFocusOperations = [
21763
22680
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21764
22681
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21765
22682
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21766
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21767
22683
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21768
22684
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21769
22685
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21819,7 +22735,6 @@ const generatedFocusOperations = [
21819
22735
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21820
22736
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21821
22737
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21822
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21823
22738
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21824
22739
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21825
22740
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21860,7 +22775,6 @@ const generatedFocusOperations = [
21860
22775
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21861
22776
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21862
22777
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21863
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21864
22778
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21865
22779
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21866
22780
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21901,6 +22815,7 @@ const generatedFocusOperations = [
21901
22815
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21902
22816
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21903
22817
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22818
+ collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21904
22819
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21905
22820
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
21906
22821
  end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21914,7 +22829,8 @@ const generatedFocusOperations = [
21914
22829
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21915
22830
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21916
22831
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21917
- include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22832
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22833
+ include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21918
22834
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21919
22835
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21920
22836
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21930,6 +22846,7 @@ const generatedFocusOperations = [
21930
22846
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21931
22847
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
21932
22848
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22849
+ user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21933
22850
  user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21934
22851
  }),
21935
22852
  execute: (input, { client }) => {
@@ -21944,6 +22861,118 @@ const generatedFocusOperations = [
21944
22861
  ]));
21945
22862
  }
21946
22863
  },
22864
+ {
22865
+ id: "focus.tasks.groups-get-user-task-groups-by-project",
22866
+ family: "focus",
22867
+ resource: "tasks",
22868
+ action: "groups-get-user-task-groups-by-project",
22869
+ title: "Groups Get User Task Groups By Project Tasks",
22870
+ description: "Groups Get User Task Groups By Project Tasks.",
22871
+ safety: "read",
22872
+ destructive: false,
22873
+ cli: {
22874
+ group: ["tasks", "groups"],
22875
+ command: "get-user-task-groups-by-project",
22876
+ interactive: "hidden"
22877
+ },
22878
+ mcp: { entityTool: "tasks" },
22879
+ inputSchema: /* @__PURE__ */ looseObject({
22880
+ assignee_user_id: /* @__PURE__ */ number$2(),
22881
+ cf_filter: /* @__PURE__ */ unknown$1(),
22882
+ client_id: /* @__PURE__ */ number$2(),
22883
+ collapse_recurring: /* @__PURE__ */ unknown$1(),
22884
+ creator_id: /* @__PURE__ */ number$2(),
22885
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
22886
+ end_date_from: /* @__PURE__ */ unknown$1(),
22887
+ end_date_to: /* @__PURE__ */ unknown$1(),
22888
+ exclude_empty: /* @__PURE__ */ unknown$1(),
22889
+ group_id: /* @__PURE__ */ number$2(),
22890
+ include_assignees: /* @__PURE__ */ unknown$1(),
22891
+ include_drafts: /* @__PURE__ */ unknown$1(),
22892
+ include_unassigned: /* @__PURE__ */ unknown$1(),
22893
+ include_unmaterialized: /* @__PURE__ */ unknown$1(),
22894
+ min_days: /* @__PURE__ */ unknown$1(),
22895
+ name: /* @__PURE__ */ unknown$1(),
22896
+ priority: /* @__PURE__ */ unknown$1(),
22897
+ private_: /* @__PURE__ */ unknown$1(),
22898
+ project_id: /* @__PURE__ */ number$2(),
22899
+ source: /* @__PURE__ */ unknown$1(),
22900
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
22901
+ start_date_from: /* @__PURE__ */ unknown$1(),
22902
+ start_date_to: /* @__PURE__ */ unknown$1(),
22903
+ status_id: /* @__PURE__ */ number$2(),
22904
+ tag_id: /* @__PURE__ */ number$2(),
22905
+ team_id: /* @__PURE__ */ number$2(),
22906
+ user_cf_filter: /* @__PURE__ */ unknown$1(),
22907
+ user_tag_id: /* @__PURE__ */ number$2()
22908
+ }),
22909
+ execute: (input, { client }) => {
22910
+ const data = input;
22911
+ return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
22912
+ client.httpClient,
22913
+ client.organizationId,
22914
+ client.workspaceIdNumber,
22915
+ data,
22916
+ void 0
22917
+ ]));
22918
+ }
22919
+ },
22920
+ {
22921
+ id: "focus.tasks.groups-get-user-task-groups-by-team",
22922
+ family: "focus",
22923
+ resource: "tasks",
22924
+ action: "groups-get-user-task-groups-by-team",
22925
+ title: "Groups Get User Task Groups By Team Tasks",
22926
+ description: "Groups Get User Task Groups By Team Tasks.",
22927
+ safety: "read",
22928
+ destructive: false,
22929
+ cli: {
22930
+ group: ["tasks", "groups"],
22931
+ command: "get-user-task-groups-by-team",
22932
+ interactive: "hidden"
22933
+ },
22934
+ mcp: { entityTool: "tasks" },
22935
+ inputSchema: /* @__PURE__ */ looseObject({
22936
+ assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22937
+ cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22938
+ client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22939
+ collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22940
+ creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22941
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22942
+ end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22943
+ end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22944
+ exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22945
+ group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22946
+ include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22947
+ include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22948
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22949
+ include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22950
+ min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22951
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22952
+ priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22953
+ private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22954
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22955
+ source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22956
+ start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22957
+ start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22958
+ start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22959
+ status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22960
+ tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22961
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22962
+ user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22963
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
22964
+ }),
22965
+ execute: (input, { client }) => {
22966
+ const data = input;
22967
+ return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
22968
+ client.httpClient,
22969
+ client.organizationId,
22970
+ client.workspaceIdNumber,
22971
+ data,
22972
+ void 0
22973
+ ]));
22974
+ }
22975
+ },
21947
22976
  {
21948
22977
  id: "focus.tasks.groups-update",
21949
22978
  family: "focus",
@@ -22149,7 +23178,6 @@ const generatedFocusOperations = [
22149
23178
  name: /* @__PURE__ */ string$1(),
22150
23179
  status_id: /* @__PURE__ */ number$2(),
22151
23180
  auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22152
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22153
23181
  color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
22154
23182
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22155
23183
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -22169,6 +23197,7 @@ const generatedFocusOperations = [
22169
23197
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22170
23198
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22171
23199
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23200
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22172
23201
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
22173
23202
  }),
22174
23203
  task_id: /* @__PURE__ */ number$2()
@@ -23177,6 +24206,40 @@ const generatedFocusOperations = [
23177
24206
  ]));
23178
24207
  }
23179
24208
  },
24209
+ {
24210
+ id: "focus.time-entries.groups-get-users",
24211
+ family: "focus",
24212
+ resource: "time-entries",
24213
+ action: "groups-get-users",
24214
+ title: "Groups Get Users Time Entries",
24215
+ description: "Groups Get Users Time Entries.",
24216
+ safety: "read",
24217
+ destructive: false,
24218
+ cli: {
24219
+ group: ["time-entries", "groups"],
24220
+ command: "get-users",
24221
+ interactive: "hidden"
24222
+ },
24223
+ mcp: { entityTool: "time-entries" },
24224
+ inputSchema: /* @__PURE__ */ looseObject({
24225
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
24226
+ order_by: /* @__PURE__ */ unknown$1(),
24227
+ page: /* @__PURE__ */ number$2(),
24228
+ per_page: /* @__PURE__ */ unknown$1(),
24229
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
24230
+ user_id: /* @__PURE__ */ number$2()
24231
+ }),
24232
+ execute: (input, { client }) => {
24233
+ const data = input;
24234
+ return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
24235
+ client.httpClient,
24236
+ client.organizationId,
24237
+ client.workspaceIdNumber,
24238
+ data,
24239
+ void 0
24240
+ ]));
24241
+ }
24242
+ },
23180
24243
  {
23181
24244
  id: "focus.time-entries.list",
23182
24245
  family: "focus",
@@ -23361,6 +24424,42 @@ const generatedFocusOperations = [
23361
24424
  inputSchema: emptySchema$1,
23362
24425
  execute: (_input, { client }) => client.stopTracking()
23363
24426
  },
24427
+ {
24428
+ id: "focus.time-entries.sync",
24429
+ family: "focus",
24430
+ resource: "time-entries",
24431
+ action: "sync",
24432
+ title: "Sync Time Entries",
24433
+ description: "Sync Time Entries.",
24434
+ safety: "update",
24435
+ destructive: false,
24436
+ cli: {
24437
+ group: ["time-entries"],
24438
+ command: "sync",
24439
+ interactive: "default"
24440
+ },
24441
+ mcp: { entityTool: "time-entries" },
24442
+ inputSchema: /* @__PURE__ */ looseObject({
24443
+ client_uuid: /* @__PURE__ */ string$1(),
24444
+ payload: /* @__PURE__ */ looseObject({
24445
+ billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
24446
+ client_updated_at: apiDateTimeString,
24447
+ type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24448
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24449
+ })
24450
+ }),
24451
+ execute: (input, { client }) => {
24452
+ const data = input;
24453
+ return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
24454
+ client.httpClient,
24455
+ client.organizationId,
24456
+ client.workspaceIdNumber,
24457
+ data.client_uuid,
24458
+ data.payload ?? data.data ?? data,
24459
+ void 0
24460
+ ]));
24461
+ }
24462
+ },
23364
24463
  {
23365
24464
  id: "focus.time-entries.tracking-get-tracked-time-entry",
23366
24465
  family: "focus",
@@ -23409,6 +24508,7 @@ const generatedFocusOperations = [
23409
24508
  create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23410
24509
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23411
24510
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24511
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23412
24512
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23413
24513
  extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23414
24514
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -23467,125 +24567,37 @@ const generatedFocusOperations = [
23467
24567
  resource: "time-entries",
23468
24568
  action: "update",
23469
24569
  title: "Update Time Entries",
23470
- description: "Update Time Entries.",
23471
- safety: "update",
23472
- destructive: false,
23473
- cli: {
23474
- group: ["time-entries"],
23475
- command: "update",
23476
- interactive: "default"
23477
- },
23478
- mcp: { entityTool: "time-entries" },
23479
- inputSchema: /* @__PURE__ */ looseObject({
23480
- payload: /* @__PURE__ */ looseObject({
23481
- type: /* @__PURE__ */ picklist$1(["activity", "break"]),
23482
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23483
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23484
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23485
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
23486
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23487
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23488
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
23489
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23490
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
23491
- }),
23492
- time_entry_id: /* @__PURE__ */ number$2()
23493
- }),
23494
- execute: (input, { client }) => {
23495
- const data = input;
23496
- return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
23497
- client.httpClient,
23498
- client.organizationId,
23499
- client.workspaceIdNumber,
23500
- data.time_entry_id,
23501
- data.payload ?? data.data ?? data,
23502
- void 0
23503
- ]));
23504
- }
23505
- },
23506
- {
23507
- id: "focus.time-log-suggestions.get-for-acalendar-event-title",
23508
- family: "focus",
23509
- resource: "time-log-suggestions",
23510
- action: "get-for-acalendar-event-title",
23511
- title: "Get For Acalendar Event Title Time Log Suggestions",
23512
- description: "Get For Acalendar Event Title Time Log Suggestions.",
23513
- safety: "update",
23514
- destructive: false,
23515
- cli: {
23516
- group: ["time-log-suggestions"],
23517
- command: "get-for-acalendar-event-title",
23518
- interactive: "default"
23519
- },
23520
- mcp: { entityTool: "time-log-suggestions" },
23521
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
23522
- execute: (input, { client }) => {
23523
- const data = input;
23524
- return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
23525
- client.httpClient,
23526
- client.organizationId,
23527
- client.workspaceIdNumber,
23528
- data.payload ?? data.data ?? data,
23529
- void 0
23530
- ]));
23531
- }
23532
- },
23533
- {
23534
- id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
23535
- family: "focus",
23536
- resource: "time-log-suggestions",
23537
- action: "get-for-multiple-calendar-event-titles",
23538
- title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
23539
- description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
23540
- safety: "update",
23541
- destructive: false,
23542
- cli: {
23543
- group: ["time-log-suggestions"],
23544
- command: "get-for-multiple-calendar-event-titles",
23545
- interactive: "default"
23546
- },
23547
- mcp: { entityTool: "time-log-suggestions" },
23548
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
23549
- key: /* @__PURE__ */ string$1(),
23550
- title: /* @__PURE__ */ string$1()
23551
- })) }) }),
23552
- execute: (input, { client }) => {
23553
- const data = input;
23554
- return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
23555
- client.httpClient,
23556
- client.organizationId,
23557
- client.workspaceIdNumber,
23558
- data.payload ?? data.data ?? data,
23559
- void 0
23560
- ]));
23561
- }
23562
- },
23563
- {
23564
- id: "focus.time-off.create-timeoff-for-ghost",
23565
- family: "focus",
23566
- resource: "time-off",
23567
- action: "create-timeoff-for-ghost",
23568
- title: "Create Timeoff For Ghost Time Off",
23569
- description: "Create Timeoff For Ghost Time Off.",
23570
- safety: "create",
24570
+ description: "Update Time Entries.",
24571
+ safety: "update",
23571
24572
  destructive: false,
23572
24573
  cli: {
23573
- group: ["time-off"],
23574
- command: "create-timeoff-for-ghost",
23575
- interactive: "hidden"
24574
+ group: ["time-entries"],
24575
+ command: "update",
24576
+ interactive: "default"
23576
24577
  },
23577
- mcp: { entityTool: "time-off" },
24578
+ mcp: { entityTool: "time-entries" },
23578
24579
  inputSchema: /* @__PURE__ */ looseObject({
23579
- ghost_id: /* @__PURE__ */ number$2(),
23580
- payload: /* @__PURE__ */ unknown$1()
24580
+ payload: /* @__PURE__ */ looseObject({
24581
+ type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24582
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24583
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24584
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24585
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24586
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24587
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24588
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
24589
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24590
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
24591
+ }),
24592
+ time_entry_id: /* @__PURE__ */ number$2()
23581
24593
  }),
23582
24594
  execute: (input, { client }) => {
23583
24595
  const data = input;
23584
- return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
24596
+ return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
23585
24597
  client.httpClient,
23586
24598
  client.organizationId,
23587
24599
  client.workspaceIdNumber,
23588
- data.ghost_id,
24600
+ data.time_entry_id,
23589
24601
  data.payload ?? data.data ?? data,
23590
24602
  void 0
23591
24603
  ]));
@@ -23621,37 +24633,6 @@ const generatedFocusOperations = [
23621
24633
  ]));
23622
24634
  }
23623
24635
  },
23624
- {
23625
- id: "focus.time-off.delete-timeoff-for-ghost",
23626
- family: "focus",
23627
- resource: "time-off",
23628
- action: "delete-timeoff-for-ghost",
23629
- title: "Delete Timeoff For Ghost Time Off",
23630
- description: "Delete Timeoff For Ghost Time Off.",
23631
- safety: "delete",
23632
- destructive: true,
23633
- cli: {
23634
- group: ["time-off"],
23635
- command: "delete-timeoff-for-ghost",
23636
- interactive: "hidden"
23637
- },
23638
- mcp: { entityTool: "time-off" },
23639
- inputSchema: /* @__PURE__ */ looseObject({
23640
- ghost_id: /* @__PURE__ */ number$2(),
23641
- payload: /* @__PURE__ */ unknown$1()
23642
- }),
23643
- execute: (input, { client }) => {
23644
- const data = input;
23645
- return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
23646
- client.httpClient,
23647
- client.organizationId,
23648
- client.workspaceIdNumber,
23649
- data.ghost_id,
23650
- data.payload ?? data.data ?? data,
23651
- void 0
23652
- ]));
23653
- }
23654
- },
23655
24636
  {
23656
24637
  id: "focus.time-off.delete-timeoff-for-user",
23657
24638
  family: "focus",
@@ -23682,38 +24663,6 @@ const generatedFocusOperations = [
23682
24663
  ]));
23683
24664
  }
23684
24665
  },
23685
- {
23686
- id: "focus.time-off.get-timeoff-for-ghost",
23687
- family: "focus",
23688
- resource: "time-off",
23689
- action: "get-timeoff-for-ghost",
23690
- title: "Get Timeoff For Ghost Time Off",
23691
- description: "Get Timeoff For Ghost Time Off.",
23692
- safety: "read",
23693
- destructive: false,
23694
- cli: {
23695
- group: ["time-off"],
23696
- command: "get-timeoff-for-ghost",
23697
- interactive: "hidden"
23698
- },
23699
- mcp: { entityTool: "time-off" },
23700
- inputSchema: /* @__PURE__ */ looseObject({
23701
- from: /* @__PURE__ */ unknown$1(),
23702
- ghost_id: /* @__PURE__ */ number$2(),
23703
- to: /* @__PURE__ */ unknown$1()
23704
- }),
23705
- execute: (input, { client }) => {
23706
- const data = input;
23707
- return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
23708
- client.httpClient,
23709
- client.organizationId,
23710
- client.workspaceIdNumber,
23711
- data.ghost_id,
23712
- data,
23713
- void 0
23714
- ]));
23715
- }
23716
- },
23717
24666
  {
23718
24667
  id: "focus.time-off.get-timeoff-for-user",
23719
24668
  family: "focus",
@@ -23745,37 +24694,6 @@ const generatedFocusOperations = [
23745
24694
  ]));
23746
24695
  }
23747
24696
  },
23748
- {
23749
- id: "focus.time-off.get-timeoffs-by-ghost-ids",
23750
- family: "focus",
23751
- resource: "time-off",
23752
- action: "get-timeoffs-by-ghost-ids",
23753
- title: "Get Timeoffs By Ghost Ids Time Off",
23754
- description: "Get Timeoffs By Ghost Ids Time Off.",
23755
- safety: "read",
23756
- destructive: false,
23757
- cli: {
23758
- group: ["time-off"],
23759
- command: "get-timeoffs-by-ghost-ids",
23760
- interactive: "hidden"
23761
- },
23762
- mcp: { entityTool: "time-off" },
23763
- inputSchema: /* @__PURE__ */ looseObject({
23764
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23765
- ghost_ids: /* @__PURE__ */ unknown$1(),
23766
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
23767
- }),
23768
- execute: (input, { client }) => {
23769
- const data = input;
23770
- return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
23771
- client.httpClient,
23772
- client.organizationId,
23773
- client.workspaceIdNumber,
23774
- data,
23775
- void 0
23776
- ]));
23777
- }
23778
- },
23779
24697
  {
23780
24698
  id: "focus.time-off.get-timeoffs-by-user-ids",
23781
24699
  family: "focus",
@@ -23806,37 +24724,6 @@ const generatedFocusOperations = [
23806
24724
  ]));
23807
24725
  }
23808
24726
  },
23809
- {
23810
- id: "focus.time-off.update-timeoff-for-ghost",
23811
- family: "focus",
23812
- resource: "time-off",
23813
- action: "update-timeoff-for-ghost",
23814
- title: "Update Timeoff For Ghost Time Off",
23815
- description: "Update Timeoff For Ghost Time Off.",
23816
- safety: "update",
23817
- destructive: false,
23818
- cli: {
23819
- group: ["time-off"],
23820
- command: "update-timeoff-for-ghost",
23821
- interactive: "hidden"
23822
- },
23823
- mcp: { entityTool: "time-off" },
23824
- inputSchema: /* @__PURE__ */ looseObject({
23825
- ghost_id: /* @__PURE__ */ number$2(),
23826
- payload: /* @__PURE__ */ unknown$1()
23827
- }),
23828
- execute: (input, { client }) => {
23829
- const data = input;
23830
- return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
23831
- client.httpClient,
23832
- client.organizationId,
23833
- client.workspaceIdNumber,
23834
- data.ghost_id,
23835
- data.payload ?? data.data ?? data,
23836
- void 0
23837
- ]));
23838
- }
23839
- },
23840
24727
  {
23841
24728
  id: "focus.time-off.update-timeoff-for-user",
23842
24729
  family: "focus",
@@ -24868,6 +25755,7 @@ const generatedFocusOperations = [
24868
25755
  pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24869
25756
  pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24870
25757
  pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25758
+ send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24871
25759
  send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24872
25760
  shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24873
25761
  show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -24969,37 +25857,6 @@ const generatedFocusOperations = [
24969
25857
  inputSchema: /* @__PURE__ */ looseObject({}),
24970
25858
  execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
24971
25859
  },
24972
- {
24973
- id: "focus.working-hours.create-for-ghost",
24974
- family: "focus",
24975
- resource: "working-hours",
24976
- action: "create-for-ghost",
24977
- title: "Create For Ghost Working Hours",
24978
- description: "Create For Ghost Working Hours.",
24979
- safety: "create",
24980
- destructive: false,
24981
- cli: {
24982
- group: ["working-hours"],
24983
- command: "create-for-ghost",
24984
- interactive: "hidden"
24985
- },
24986
- mcp: { entityTool: "working-hours" },
24987
- inputSchema: /* @__PURE__ */ looseObject({
24988
- ghost_id: /* @__PURE__ */ number$2(),
24989
- payload: /* @__PURE__ */ unknown$1()
24990
- }),
24991
- execute: (input, { client }) => {
24992
- const data = input;
24993
- return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
24994
- client.httpClient,
24995
- client.organizationId,
24996
- client.workspaceIdNumber,
24997
- data.ghost_id,
24998
- data.payload ?? data.data ?? data,
24999
- void 0
25000
- ]));
25001
- }
25002
- },
25003
25860
  {
25004
25861
  id: "focus.working-hours.create-for-user",
25005
25862
  family: "focus",
@@ -25030,37 +25887,6 @@ const generatedFocusOperations = [
25030
25887
  ]));
25031
25888
  }
25032
25889
  },
25033
- {
25034
- id: "focus.working-hours.delete-for-ghost",
25035
- family: "focus",
25036
- resource: "working-hours",
25037
- action: "delete-for-ghost",
25038
- title: "Delete For Ghost Working Hours",
25039
- description: "Delete For Ghost Working Hours.",
25040
- safety: "delete",
25041
- destructive: true,
25042
- cli: {
25043
- group: ["working-hours"],
25044
- command: "delete-for-ghost",
25045
- interactive: "hidden"
25046
- },
25047
- mcp: { entityTool: "working-hours" },
25048
- inputSchema: /* @__PURE__ */ looseObject({
25049
- ghost_id: /* @__PURE__ */ number$2(),
25050
- payload: /* @__PURE__ */ unknown$1()
25051
- }),
25052
- execute: (input, { client }) => {
25053
- const data = input;
25054
- return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
25055
- client.httpClient,
25056
- client.organizationId,
25057
- client.workspaceIdNumber,
25058
- data.ghost_id,
25059
- data.payload ?? data.data ?? data,
25060
- void 0
25061
- ]));
25062
- }
25063
- },
25064
25890
  {
25065
25891
  id: "focus.working-hours.delete-for-user",
25066
25892
  family: "focus",
@@ -25091,33 +25917,6 @@ const generatedFocusOperations = [
25091
25917
  ]));
25092
25918
  }
25093
25919
  },
25094
- {
25095
- id: "focus.working-hours.get-for-ghost",
25096
- family: "focus",
25097
- resource: "working-hours",
25098
- action: "get-for-ghost",
25099
- title: "Get For Ghost Working Hours",
25100
- description: "Get For Ghost Working Hours.",
25101
- safety: "read",
25102
- destructive: false,
25103
- cli: {
25104
- group: ["working-hours"],
25105
- command: "get-for-ghost",
25106
- interactive: "available"
25107
- },
25108
- mcp: { entityTool: "working-hours" },
25109
- inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
25110
- execute: (input, { client }) => {
25111
- const data = input;
25112
- return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
25113
- client.httpClient,
25114
- client.organizationId,
25115
- client.workspaceIdNumber,
25116
- data.ghost_id,
25117
- void 0
25118
- ]));
25119
- }
25120
- },
25121
25920
  {
25122
25921
  id: "focus.working-hours.get-for-user",
25123
25922
  family: "focus",
@@ -25144,37 +25943,6 @@ const generatedFocusOperations = [
25144
25943
  ]));
25145
25944
  }
25146
25945
  },
25147
- {
25148
- id: "focus.working-hours.update-for-ghost",
25149
- family: "focus",
25150
- resource: "working-hours",
25151
- action: "update-for-ghost",
25152
- title: "Update For Ghost Working Hours",
25153
- description: "Update For Ghost Working Hours.",
25154
- safety: "update",
25155
- destructive: false,
25156
- cli: {
25157
- group: ["working-hours"],
25158
- command: "update-for-ghost",
25159
- interactive: "hidden"
25160
- },
25161
- mcp: { entityTool: "working-hours" },
25162
- inputSchema: /* @__PURE__ */ looseObject({
25163
- ghost_id: /* @__PURE__ */ number$2(),
25164
- payload: /* @__PURE__ */ unknown$1()
25165
- }),
25166
- execute: (input, { client }) => {
25167
- const data = input;
25168
- return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
25169
- client.httpClient,
25170
- client.organizationId,
25171
- client.workspaceIdNumber,
25172
- data.ghost_id,
25173
- data.payload ?? data.data ?? data,
25174
- void 0
25175
- ]));
25176
- }
25177
- },
25178
25946
  {
25179
25947
  id: "focus.working-hours.update-for-user",
25180
25948
  family: "focus",
@@ -25249,6 +26017,50 @@ const generatedFocusOperations = [
25249
26017
  void 0
25250
26018
  ]))
25251
26019
  },
26020
+ {
26021
+ id: "focus.workspace-settings.get-workspace-export-branding",
26022
+ family: "focus",
26023
+ resource: "workspace-settings",
26024
+ action: "get-workspace-export-branding",
26025
+ title: "Get Workspace Export Branding Workspace Settings",
26026
+ description: "Get Workspace Export Branding Workspace Settings.",
26027
+ safety: "read",
26028
+ destructive: false,
26029
+ cli: {
26030
+ group: ["workspace-settings"],
26031
+ command: "get-workspace-export-branding",
26032
+ interactive: "hidden"
26033
+ },
26034
+ mcp: { entityTool: "workspace-settings" },
26035
+ inputSchema: /* @__PURE__ */ looseObject({}),
26036
+ execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
26037
+ client.httpClient,
26038
+ client.workspaceIdNumber,
26039
+ void 0
26040
+ ]))
26041
+ },
26042
+ {
26043
+ id: "focus.workspace-settings.get-workspace-watermark",
26044
+ family: "focus",
26045
+ resource: "workspace-settings",
26046
+ action: "get-workspace-watermark",
26047
+ title: "Get Workspace Watermark Workspace Settings",
26048
+ description: "Get Workspace Watermark Workspace Settings.",
26049
+ safety: "read",
26050
+ destructive: false,
26051
+ cli: {
26052
+ group: ["workspace-settings"],
26053
+ command: "get-workspace-watermark",
26054
+ interactive: "hidden"
26055
+ },
26056
+ mcp: { entityTool: "workspace-settings" },
26057
+ inputSchema: /* @__PURE__ */ looseObject({}),
26058
+ execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
26059
+ client.httpClient,
26060
+ client.workspaceIdNumber,
26061
+ void 0
26062
+ ]))
26063
+ },
25252
26064
  {
25253
26065
  id: "focus.workspace-settings.list",
25254
26066
  family: "focus",
@@ -25323,6 +26135,32 @@ const generatedFocusOperations = [
25323
26135
  ]));
25324
26136
  }
25325
26137
  },
26138
+ {
26139
+ id: "focus.workspace-settings.update-workspace-watermark",
26140
+ family: "focus",
26141
+ resource: "workspace-settings",
26142
+ action: "update-workspace-watermark",
26143
+ title: "Update Workspace Watermark Workspace Settings",
26144
+ description: "Update Workspace Watermark Workspace Settings.",
26145
+ safety: "update",
26146
+ destructive: false,
26147
+ cli: {
26148
+ group: ["workspace-settings"],
26149
+ command: "update-workspace-watermark",
26150
+ interactive: "default"
26151
+ },
26152
+ mcp: { entityTool: "workspace-settings" },
26153
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
26154
+ execute: (input, { client }) => {
26155
+ const data = input;
26156
+ return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
26157
+ client.httpClient,
26158
+ client.workspaceIdNumber,
26159
+ data.payload ?? data.data ?? data,
26160
+ void 0
26161
+ ]));
26162
+ }
26163
+ },
25326
26164
  {
25327
26165
  id: "focus.workspace.get-context",
25328
26166
  family: "focus",
@@ -26966,4 +27804,4 @@ Common commands:
26966
27804
  //#endregion
26967
27805
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
26968
27806
 
26969
- //# sourceMappingURL=program-C-9XYyqg.js.map
27807
+ //# sourceMappingURL=program-BKqvFSl8.js.map