@togglhq/cli 1.11.99 → 1.11.100

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.
@@ -7216,11 +7216,7 @@ function pipe(...pipe$1) {
7216
7216
  }
7217
7217
  const TaskAssignmentSchema = /* @__PURE__ */ object({
7218
7218
  id: /* @__PURE__ */ number(),
7219
- type: /* @__PURE__ */ picklist([
7220
- "user",
7221
- "ghost",
7222
- "team"
7223
- ])
7219
+ type: /* @__PURE__ */ picklist(["user", "team"])
7224
7220
  });
7225
7221
  const ClientLiteSchema = /* @__PURE__ */ object({
7226
7222
  id: /* @__PURE__ */ number(),
@@ -7262,7 +7258,8 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
7262
7258
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7263
7259
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
7264
7260
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7265
- rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
7261
+ rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
7262
+ recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("RecurringProjectID links an instance to its recurring template, so clients can lane an entry under a collapsed series.")))
7266
7263
  });
7267
7264
  const TaskMetadataSchema = /* @__PURE__ */ object({
7268
7265
  all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7335,7 +7332,7 @@ const TaskSchema = /* @__PURE__ */ object({
7335
7332
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7336
7333
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
7337
7334
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7338
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7335
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7339
7336
  client: /* @__PURE__ */ optional(ClientLiteSchema),
7340
7337
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7341
7338
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -7343,7 +7340,6 @@ const TaskSchema = /* @__PURE__ */ object({
7343
7340
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7344
7341
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7345
7342
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7346
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7347
7343
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7348
7344
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7349
7345
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7353,6 +7349,7 @@ const TaskSchema = /* @__PURE__ */ object({
7353
7349
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7354
7350
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7355
7351
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7352
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7356
7353
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7357
7354
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7358
7355
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -7396,7 +7393,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7396
7393
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7397
7394
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
7398
7395
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7399
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7396
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7400
7397
  client: /* @__PURE__ */ optional(ClientLiteSchema),
7401
7398
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7402
7399
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -7404,7 +7401,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7404
7401
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7405
7402
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7406
7403
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7407
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7408
7404
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7409
7405
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7410
7406
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -7415,6 +7411,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7415
7411
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7416
7412
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7417
7413
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7414
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7418
7415
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7419
7416
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7420
7417
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -7573,7 +7570,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
7573
7570
  tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
7574
7571
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7575
7572
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7576
- timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
7573
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
7577
7574
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7578
7575
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7579
7576
  });
@@ -7717,7 +7714,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
7717
7714
  task: /* @__PURE__ */ optional(TaskSchema),
7718
7715
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7719
7716
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7720
- timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
7717
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
7721
7718
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7722
7719
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7723
7720
  })),
@@ -7729,9 +7726,15 @@ const TagSchema$1 = /* @__PURE__ */ object({
7729
7726
  id: /* @__PURE__ */ number(),
7730
7727
  name: /* @__PURE__ */ string(),
7731
7728
  workspace_id: /* @__PURE__ */ number(),
7729
+ archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()), /* @__PURE__ */ description("An archived tag disappears from the apply affordance but stays attached to and readable on every existing entity. Nothing cascades."))),
7732
7730
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7733
7731
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7734
- updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7732
+ updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7733
+ usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
7734
+ projects: /* @__PURE__ */ number(),
7735
+ tasks: /* @__PURE__ */ number(),
7736
+ time_entries: /* @__PURE__ */ number()
7737
+ })), /* @__PURE__ */ description("Counts of the projects, tasks and time entries whose tag set directly contains this tag. Only present on the tags list, for callers with unrestricted project access.")))
7735
7738
  });
7736
7739
  const PaginatedTagsSchema = /* @__PURE__ */ object({
7737
7740
  data: /* @__PURE__ */ array(TagSchema$1),
@@ -7742,8 +7745,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
7742
7745
  const OrganizationUserResponseSchema = /* @__PURE__ */ object({
7743
7746
  "2fa_enabled": /* @__PURE__ */ boolean(),
7744
7747
  account_locked_at: /* @__PURE__ */ string(),
7748
+ accounts_role_id: /* @__PURE__ */ number(),
7745
7749
  active: /* @__PURE__ */ boolean(),
7746
- admin: /* @__PURE__ */ boolean(),
7747
7750
  can_edit_personal_details: /* @__PURE__ */ boolean(),
7748
7751
  created_at: /* @__PURE__ */ string(),
7749
7752
  deleted_at: /* @__PURE__ */ string(),
@@ -7792,7 +7795,9 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
7792
7795
  track_role_id: /* @__PURE__ */ number(),
7793
7796
  work_role_id: /* @__PURE__ */ number(),
7794
7797
  workspace_user_id: /* @__PURE__ */ number()
7795
- }))
7798
+ })),
7799
+ custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
7800
+ has_calendar_integration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("HasCalendarIntegration is true when the member has a calendar connected in Focus. The field is present only when the request sets include_calendar_integration to true and the calendar lookup succeeded. The field is absent when the lookup failed. Absent means unknown. It does not mean false. A member who connected a calendar in another product stays false here until they open the Focus calendar integrations page.")))
7796
7801
  });
7797
7802
  const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7798
7803
  const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
@@ -7869,8 +7874,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7869
7874
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7870
7875
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7871
7876
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7872
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7873
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7877
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
7874
7878
  integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7875
7879
  integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7876
7880
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -7886,6 +7890,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7886
7890
  priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7887
7891
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7888
7892
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7893
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7889
7894
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7890
7895
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7891
7896
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7895,22 +7900,23 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7895
7900
  const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7896
7901
  const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
7897
7902
  cascade_duplicate_children: /* @__PURE__ */ boolean(),
7898
- task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
7903
+ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)),
7904
+ private: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Optional privacy override applied to every duplicated task (and cascaded children). When omitted, each task keeps the source task's private flag. Used when FE must force public (plan lacks private tasks) or private (user can only create private) instead of falling back to composite create.")))
7899
7905
  });
7900
7906
  const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7901
7907
  const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7902
7908
  const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7909
+ after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7903
7910
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
7904
7911
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7905
7912
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7906
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7913
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7907
7914
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7908
7915
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
7909
7916
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7910
7917
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7911
7918
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7912
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7913
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7919
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
7914
7920
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7915
7921
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7916
7922
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7927,6 +7933,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7927
7933
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7928
7934
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7929
7935
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7936
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7930
7937
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7931
7938
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7932
7939
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7935,17 +7942,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7935
7942
  });
7936
7943
  const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7937
7944
  id: /* @__PURE__ */ number(),
7945
+ after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7938
7946
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
7939
7947
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7940
7948
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7941
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7949
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7942
7950
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7943
7951
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
7944
7952
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7945
7953
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7946
7954
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7947
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7948
- ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7955
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
7949
7956
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7950
7957
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7951
7958
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7962,6 +7969,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7962
7969
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7963
7970
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7964
7971
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7972
+ rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7965
7973
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7966
7974
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7967
7975
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -9885,7 +9893,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
9885
9893
  })
9886
9894
  }).json();
9887
9895
  }
9888
- async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group } = {}, signal) {
9896
+ async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
9889
9897
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
9890
9898
  signal,
9891
9899
  searchParams: buildSearchParams$2({
@@ -9905,7 +9913,10 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
9905
9913
  include_working_hours,
9906
9914
  include_rates,
9907
9915
  pinned_ids,
9908
- has_group
9916
+ has_group,
9917
+ cf_filter,
9918
+ include_custom_fields,
9919
+ include_calendar_integration
9909
9920
  }, true)
9910
9921
  });
9911
9922
  return withResponseMeta(await response.json(), response.headers, response.status);
@@ -9924,7 +9935,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
9924
9935
  }
9925
9936
  //#endregion
9926
9937
  //#region ../focus-queries/dist/tags/requests.ts
9927
- async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
9938
+ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
9928
9939
  return await httpClient.get(`workspaces/${workspace_id}/tags`, {
9929
9940
  signal,
9930
9941
  searchParams: buildSearchParams$2({
@@ -9932,7 +9943,10 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
9932
9943
  page,
9933
9944
  per_page,
9934
9945
  order_by,
9935
- tag_id
9946
+ tag_id,
9947
+ include_usage,
9948
+ include_archived,
9949
+ archived
9936
9950
  })
9937
9951
  }).json();
9938
9952
  }
@@ -9942,6 +9956,42 @@ async function createTag(httpClient, workspace_id, data, signal) {
9942
9956
  json: data
9943
9957
  }).json();
9944
9958
  }
9959
+ async function bulkCreateTags(httpClient, workspace_id, data, signal) {
9960
+ return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
9961
+ signal,
9962
+ json: data
9963
+ }).json();
9964
+ }
9965
+ async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
9966
+ return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
9967
+ signal,
9968
+ searchParams: buildSearchParams$2({ ids })
9969
+ }).json();
9970
+ }
9971
+ async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
9972
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
9973
+ signal,
9974
+ json: data
9975
+ }).json();
9976
+ }
9977
+ async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
9978
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
9979
+ signal,
9980
+ json: data
9981
+ }).json();
9982
+ }
9983
+ async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
9984
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
9985
+ signal,
9986
+ json: data
9987
+ }).json();
9988
+ }
9989
+ async function mergeTags(httpClient, workspace_id, data, signal) {
9990
+ return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
9991
+ signal,
9992
+ json: data
9993
+ }).json();
9994
+ }
9945
9995
  async function getTag(httpClient, workspace_id, tag_id, signal) {
9946
9996
  return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
9947
9997
  }
@@ -9954,12 +10004,18 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
9954
10004
  async function deleteTag(httpClient, workspace_id, tag_id, signal) {
9955
10005
  return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
9956
10006
  }
10007
+ async function archiveTag(httpClient, workspace_id, tag_id, signal) {
10008
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
10009
+ }
9957
10010
  async function restoreTag(httpClient, workspace_id, tag_id, signal) {
9958
10011
  return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
9959
10012
  }
10013
+ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
10014
+ return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
10015
+ }
9960
10016
  //#endregion
9961
10017
  //#region ../focus-queries/dist/projects/requests.ts
9962
- 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) {
10018
+ async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
9963
10019
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
9964
10020
  signal,
9965
10021
  searchParams: buildSearchParams$2({
@@ -9981,6 +10037,7 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
9981
10037
  include_rates,
9982
10038
  include_rollover,
9983
10039
  include_idle_recurring_templates,
10040
+ collapse_recurring,
9984
10041
  include_drafts,
9985
10042
  include_locked_private,
9986
10043
  start_date,
@@ -10211,7 +10268,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10211
10268
  }
10212
10269
  //#endregion
10213
10270
  //#region ../focus-queries/dist/tasks/requests.ts
10214
- async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_ghost_assignees, include_assignees, include_parent_matches, assignee_ghost_id, disable_aggregations, cf_filter } = {}, signal) {
10271
+ async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
10215
10272
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10216
10273
  signal,
10217
10274
  searchParams: buildSearchParams$2({
@@ -10259,10 +10316,8 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10259
10316
  recurring_task_ids,
10260
10317
  client_id,
10261
10318
  include_rates,
10262
- include_ghost_assignees,
10263
10319
  include_assignees,
10264
10320
  include_parent_matches,
10265
- assignee_ghost_id,
10266
10321
  disable_aggregations,
10267
10322
  cf_filter
10268
10323
  })
@@ -10348,7 +10403,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
10348
10403
  })
10349
10404
  }).json();
10350
10405
  }
10351
- async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
10406
+ async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
10352
10407
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
10353
10408
  signal,
10354
10409
  searchParams: buildSearchParams$2({
@@ -10361,14 +10416,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10361
10416
  dates_overlap_end,
10362
10417
  recurring_task_ids,
10363
10418
  team_id,
10419
+ assignee_team_id,
10364
10420
  assignee_user_id,
10365
10421
  tag_id,
10366
- include_ghost_assignees,
10367
10422
  include_assignees
10368
10423
  })
10369
10424
  }).json();
10370
10425
  }
10371
- async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
10426
+ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
10372
10427
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10373
10428
  signal,
10374
10429
  searchParams: buildSearchParams$2({
@@ -10412,20 +10467,15 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10412
10467
  recurring,
10413
10468
  recurring_task_ids,
10414
10469
  client_id,
10415
- include_ghost_assignees,
10416
10470
  include_assignees,
10417
- assignee_ghost_id,
10418
10471
  cf_filter
10419
10472
  })
10420
10473
  }).json();
10421
10474
  }
10422
- async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
10475
+ async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
10423
10476
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
10424
10477
  signal,
10425
- searchParams: buildSearchParams$2({
10426
- include_ghost_assignees,
10427
- include_assignees
10428
- })
10478
+ searchParams: buildSearchParams$2({ include_assignees })
10429
10479
  }).json();
10430
10480
  }
10431
10481
  async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
@@ -10456,7 +10506,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
10456
10506
  searchParams: buildSearchParams$2({ from_recurring_task_id })
10457
10507
  }).json();
10458
10508
  }
10459
- async function getTaskWithChildrenClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
10509
+ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
10460
10510
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
10461
10511
  signal,
10462
10512
  searchParams: buildSearchParams$2({
@@ -10469,12 +10519,11 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
10469
10519
  team_id,
10470
10520
  assignee_user_id,
10471
10521
  tag_id,
10472
- include_ghost_assignees,
10473
10522
  include_assignees
10474
10523
  })
10475
10524
  }).json();
10476
10525
  }
10477
- async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
10526
+ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
10478
10527
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
10479
10528
  signal,
10480
10529
  searchParams: buildSearchParams$2({
@@ -10487,7 +10536,6 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
10487
10536
  team_id,
10488
10537
  assignee_user_id,
10489
10538
  tag_id,
10490
- include_ghost_assignees,
10491
10539
  include_assignees
10492
10540
  })
10493
10541
  }).json();
@@ -10589,6 +10637,12 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
10589
10637
  })
10590
10638
  }).json();
10591
10639
  }
10640
+ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
10641
+ return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
10642
+ signal,
10643
+ json: data
10644
+ }).json();
10645
+ }
10592
10646
  async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
10593
10647
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
10594
10648
  signal,
@@ -14409,6 +14463,21 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
14409
14463
  }
14410
14464
  //#endregion
14411
14465
  //#region ../focus-queries/dist/audit-log/requests.ts
14466
+ async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14467
+ return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
14468
+ signal,
14469
+ searchParams: buildSearchParams$2({
14470
+ workspace_id,
14471
+ entity_type,
14472
+ entity_id,
14473
+ action,
14474
+ user_id,
14475
+ page_size,
14476
+ page_number,
14477
+ export: export_
14478
+ })
14479
+ }).json();
14480
+ }
14412
14481
  async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14413
14482
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
14414
14483
  signal,
@@ -14567,33 +14636,22 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
14567
14636
  }
14568
14637
  //#endregion
14569
14638
  //#region ../focus-queries/dist/capacities/requests.ts
14570
- async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, ghost_id, private: private_, task_source, unit, include_drafts }, signal) {
14639
+ async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
14571
14640
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
14572
14641
  signal,
14573
14642
  searchParams: buildSearchParams$2({
14574
14643
  user_id,
14575
14644
  start_date,
14576
14645
  end_date,
14577
- ghost_id,
14578
14646
  private: private_,
14579
14647
  task_source,
14580
14648
  unit,
14581
- include_drafts
14649
+ include_drafts,
14650
+ include_task_estimates
14582
14651
  })
14583
14652
  }).json();
14584
14653
  }
14585
14654
  //#endregion
14586
- //#region ../focus-queries/dist/capacity-settings/requests.ts
14587
- async function getCapacitySettings(httpClient, workspace_id, signal) {
14588
- return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
14589
- }
14590
- async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
14591
- return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
14592
- signal,
14593
- json: data
14594
- }).json();
14595
- }
14596
- //#endregion
14597
14655
  //#region ../focus-queries/dist/composite/requests.ts
14598
14656
  async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
14599
14657
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
@@ -14676,6 +14734,12 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
14676
14734
  async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
14677
14735
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
14678
14736
  }
14737
+ async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
14738
+ return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
14739
+ signal,
14740
+ json: data
14741
+ }).json();
14742
+ }
14679
14743
  //#endregion
14680
14744
  //#region ../focus-queries/dist/goals/requests.ts
14681
14745
  async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
@@ -14901,7 +14965,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
14901
14965
  }
14902
14966
  //#endregion
14903
14967
  //#region ../focus-queries/dist/project-groups/requests.ts
14904
- async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, include_drafts, cf_filter } = {}, signal) {
14968
+ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, cf_filter } = {}, signal) {
14905
14969
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
14906
14970
  signal,
14907
14971
  searchParams: buildSearchParams$2({
@@ -14913,6 +14977,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
14913
14977
  include_group_totals,
14914
14978
  include_unassigned,
14915
14979
  archived,
14980
+ completed,
14916
14981
  private: private_,
14917
14982
  name,
14918
14983
  client_id,
@@ -14924,6 +14989,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
14924
14989
  start_date,
14925
14990
  end_date,
14926
14991
  user_id,
14992
+ only_me,
14927
14993
  include_drafts,
14928
14994
  cf_filter
14929
14995
  })
@@ -15039,10 +15105,14 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
15039
15105
  }
15040
15106
  //#endregion
15041
15107
  //#region ../focus-queries/dist/reports/requests.ts
15042
- async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
15108
+ async function getForecastAvailability(httpClient, workspace_id, signal) {
15109
+ return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
15110
+ }
15111
+ async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
15043
15112
  return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
15044
15113
  signal,
15045
15114
  json: data,
15115
+ headers: { "X-Toggl-Report-Export": xTogglReportExport },
15046
15116
  searchParams: buildSearchParams$2({
15047
15117
  response_format,
15048
15118
  include_dicts
@@ -15066,12 +15136,36 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
15066
15136
  json: data
15067
15137
  }).json();
15068
15138
  }
15069
- async function getWorkloadReport(httpClient, workspace_id, data, signal) {
15139
+ async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
15140
+ return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
15141
+ signal,
15142
+ json: data
15143
+ }).json();
15144
+ }
15145
+ async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
15070
15146
  return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
15147
+ signal,
15148
+ json: data,
15149
+ headers: { "X-Toggl-Report-Export": xTogglReportExport }
15150
+ }).json();
15151
+ }
15152
+ //#endregion
15153
+ //#region ../focus-queries/dist/reportschedules/requests.ts
15154
+ async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
15155
+ return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
15156
+ signal,
15157
+ json: data
15158
+ }).json();
15159
+ }
15160
+ async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
15161
+ return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
15071
15162
  signal,
15072
15163
  json: data
15073
15164
  }).json();
15074
15165
  }
15166
+ async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
15167
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
15168
+ }
15075
15169
  //#endregion
15076
15170
  //#region ../focus-queries/dist/savedviews/requests.ts
15077
15171
  async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
@@ -15104,7 +15198,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
15104
15198
  }
15105
15199
  //#endregion
15106
15200
  //#region ../focus-queries/dist/search/requests.ts
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 }, signal) {
15201
+ async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
15108
15202
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
15109
15203
  signal,
15110
15204
  searchParams: buildSearchParams$2({
@@ -15116,11 +15210,56 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
15116
15210
  task_id,
15117
15211
  include_drafts,
15118
15212
  exclude_calendar_events,
15119
- group_by_tags
15213
+ group_by_tags,
15214
+ only_me
15215
+ })
15216
+ }).json();
15217
+ }
15218
+ async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
15219
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
15220
+ signal,
15221
+ searchParams: buildSearchParams$2({
15222
+ keyword,
15223
+ per_group
15120
15224
  })
15121
15225
  }).json();
15122
15226
  }
15123
15227
  //#endregion
15228
+ //#region ../focus-queries/dist/sharedreports/requests.ts
15229
+ async function shareSavedView(httpClient, workspace_id, id, data, signal) {
15230
+ return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
15231
+ signal,
15232
+ json: data
15233
+ }).json();
15234
+ }
15235
+ async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
15236
+ return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
15237
+ }
15238
+ async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
15239
+ return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
15240
+ signal,
15241
+ json: data
15242
+ }).json();
15243
+ }
15244
+ async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
15245
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
15246
+ }
15247
+ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
15248
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
15249
+ }
15250
+ async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
15251
+ return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
15252
+ }
15253
+ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
15254
+ return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
15255
+ signal,
15256
+ json: data
15257
+ }).json();
15258
+ }
15259
+ async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
15260
+ return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
15261
+ }
15262
+ //#endregion
15124
15263
  //#region ../focus-queries/dist/subscriptions/requests.ts
15125
15264
  async function getCurrentSubscription(httpClient, organization_id, signal) {
15126
15265
  return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
@@ -15176,7 +15315,77 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
15176
15315
  }
15177
15316
  //#endregion
15178
15317
  //#region ../focus-queries/dist/task-groups/requests.ts
15179
- async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_ghosts, include_assignees, min_days, include_drafts, cf_filter, page, per_page, order_by } = {}, signal) {
15318
+ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter }, signal) {
15319
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
15320
+ signal,
15321
+ searchParams: buildSearchParams$2({
15322
+ project_id,
15323
+ source,
15324
+ priority,
15325
+ status_id,
15326
+ client_id,
15327
+ assignee_user_id,
15328
+ tag_id,
15329
+ team_id,
15330
+ user_tag_id,
15331
+ group_id,
15332
+ creator_id,
15333
+ name,
15334
+ start_date,
15335
+ end_date,
15336
+ start_date_from,
15337
+ start_date_to,
15338
+ end_date_from,
15339
+ end_date_to,
15340
+ private: private_,
15341
+ exclude_empty,
15342
+ include_unassigned,
15343
+ include_unmaterialized,
15344
+ collapse_recurring,
15345
+ include_assignees,
15346
+ min_days,
15347
+ include_drafts,
15348
+ cf_filter,
15349
+ user_cf_filter
15350
+ })
15351
+ }).json();
15352
+ }
15353
+ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter } = {}, signal) {
15354
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
15355
+ signal,
15356
+ searchParams: buildSearchParams$2({
15357
+ team_id,
15358
+ project_id,
15359
+ source,
15360
+ priority,
15361
+ status_id,
15362
+ client_id,
15363
+ assignee_user_id,
15364
+ tag_id,
15365
+ user_tag_id,
15366
+ group_id,
15367
+ creator_id,
15368
+ name,
15369
+ start_date,
15370
+ end_date,
15371
+ start_date_from,
15372
+ start_date_to,
15373
+ end_date_from,
15374
+ end_date_to,
15375
+ private: private_,
15376
+ exclude_empty,
15377
+ include_unassigned,
15378
+ include_unmaterialized,
15379
+ collapse_recurring,
15380
+ include_assignees,
15381
+ min_days,
15382
+ include_drafts,
15383
+ cf_filter,
15384
+ user_cf_filter
15385
+ })
15386
+ }).json();
15387
+ }
15388
+ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, page, per_page, order_by } = {}, signal) {
15180
15389
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
15181
15390
  signal,
15182
15391
  searchParams: buildSearchParams$2({
@@ -15200,11 +15409,14 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
15200
15409
  end_date_to,
15201
15410
  private: private_,
15202
15411
  exclude_empty,
15203
- include_ghosts,
15412
+ include_unassigned,
15413
+ include_unmaterialized,
15414
+ collapse_recurring,
15204
15415
  include_assignees,
15205
15416
  min_days,
15206
15417
  include_drafts,
15207
15418
  cf_filter,
15419
+ user_cf_filter,
15208
15420
  page,
15209
15421
  per_page,
15210
15422
  order_by
@@ -15341,17 +15553,18 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
15341
15553
  }).json();
15342
15554
  }
15343
15555
  //#endregion
15344
- //#region ../focus-queries/dist/time-log-suggestions/requests.ts
15345
- async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
15346
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
15556
+ //#region ../focus-queries/dist/time-entry-groups/requests.ts
15557
+ async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
15558
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
15347
15559
  signal,
15348
- json: data
15349
- }).json();
15350
- }
15351
- async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
15352
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
15353
- signal,
15354
- json: data
15560
+ searchParams: buildSearchParams$2({
15561
+ start_date,
15562
+ end_date,
15563
+ user_id,
15564
+ page,
15565
+ per_page,
15566
+ order_by
15567
+ })
15355
15568
  }).json();
15356
15569
  }
15357
15570
  //#endregion
@@ -15393,43 +15606,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
15393
15606
  json: data
15394
15607
  }).json();
15395
15608
  }
15396
- async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
15397
- return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
15398
- signal,
15399
- searchParams: buildSearchParams$2({
15400
- ghost_ids,
15401
- start_date,
15402
- end_date
15403
- })
15404
- }).json();
15405
- }
15406
- async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
15407
- return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15408
- signal,
15409
- searchParams: buildSearchParams$2({
15410
- from,
15411
- to
15412
- })
15413
- }).json();
15414
- }
15415
- async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15416
- return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15417
- signal,
15418
- json: data
15419
- }).json();
15420
- }
15421
- async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15422
- return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15423
- signal,
15424
- json: data
15425
- }).json();
15426
- }
15427
- async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15428
- return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15429
- signal,
15430
- json: data
15431
- }).json();
15432
- }
15433
15609
  //#endregion
15434
15610
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
15435
15611
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -15622,27 +15798,6 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
15622
15798
  json: data
15623
15799
  }).json();
15624
15800
  }
15625
- async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
15626
- return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
15627
- }
15628
- async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15629
- return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15630
- signal,
15631
- json: data
15632
- }).json();
15633
- }
15634
- async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15635
- return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15636
- signal,
15637
- json: data
15638
- }).json();
15639
- }
15640
- async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15641
- return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15642
- signal,
15643
- json: data
15644
- }).json();
15645
- }
15646
15801
  //#endregion
15647
15802
  //#region ../focus-queries/dist/workspace/requests.ts
15648
15803
  async function getWorkspaceContext(httpClient, workspace_id, signal) {
@@ -15659,6 +15814,9 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
15659
15814
  json: data
15660
15815
  }).json();
15661
15816
  }
15817
+ async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
15818
+ return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
15819
+ }
15662
15820
  async function getUserPermissions(httpClient, workspace_id, signal) {
15663
15821
  return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
15664
15822
  }
@@ -15671,6 +15829,15 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
15671
15829
  json: data
15672
15830
  }).json();
15673
15831
  }
15832
+ async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
15833
+ return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
15834
+ }
15835
+ async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
15836
+ return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
15837
+ signal,
15838
+ json: data
15839
+ }).json();
15840
+ }
15674
15841
  //#endregion
15675
15842
  //#region ../operations/build/index.public.js
15676
15843
  function callGeneratedRequest(request, args) {
@@ -15806,17 +15973,17 @@ const generatedFocusOperations = [
15806
15973
  ]))
15807
15974
  },
15808
15975
  {
15809
- id: "focus.audit-log.list",
15976
+ id: "focus.audit-log.get-organization",
15810
15977
  family: "focus",
15811
15978
  resource: "audit-log",
15812
- action: "list",
15813
- title: "List Audit Log",
15814
- description: "List Audit Log.",
15979
+ action: "get-organization",
15980
+ title: "Get Organization Audit Log",
15981
+ description: "Get Organization Audit Log.",
15815
15982
  safety: "read",
15816
15983
  destructive: false,
15817
15984
  cli: {
15818
15985
  group: ["audit-log"],
15819
- command: "list",
15986
+ command: "get-organization",
15820
15987
  interactive: "hidden"
15821
15988
  },
15822
15989
  mcp: { entityTool: "audit-log" },
@@ -15830,14 +15997,14 @@ const generatedFocusOperations = [
15830
15997
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15831
15998
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15832
15999
  to: /* @__PURE__ */ string$1(),
15833
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16000
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16001
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
15834
16002
  }),
15835
16003
  execute: (input, { client }) => {
15836
16004
  const data = input;
15837
- return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
16005
+ return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
15838
16006
  client.httpClient,
15839
16007
  client.organizationId,
15840
- client.workspaceIdNumber,
15841
16008
  data.from,
15842
16009
  data.to,
15843
16010
  data,
@@ -15846,87 +16013,79 @@ const generatedFocusOperations = [
15846
16013
  }
15847
16014
  },
15848
16015
  {
15849
- id: "focus.capacities.get-computations",
16016
+ id: "focus.audit-log.list",
15850
16017
  family: "focus",
15851
- resource: "capacities",
15852
- action: "get-computations",
15853
- title: "Get Computations Capacities",
15854
- description: "Get Computations Capacities.",
16018
+ resource: "audit-log",
16019
+ action: "list",
16020
+ title: "List Audit Log",
16021
+ description: "List Audit Log.",
15855
16022
  safety: "read",
15856
16023
  destructive: false,
15857
16024
  cli: {
15858
- group: ["capacities"],
15859
- command: "get-computations",
16025
+ group: ["audit-log"],
16026
+ command: "list",
15860
16027
  interactive: "hidden"
15861
16028
  },
15862
- mcp: { entityTool: "capacities" },
16029
+ mcp: { entityTool: "audit-log" },
15863
16030
  inputSchema: /* @__PURE__ */ looseObject({
15864
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
15865
- ghost_id: /* @__PURE__ */ number$2(),
15866
- group: /* @__PURE__ */ picklist$1(["users"]),
15867
- include_drafts: /* @__PURE__ */ unknown$1(),
15868
- private_: /* @__PURE__ */ unknown$1(),
15869
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
15870
- task_source: /* @__PURE__ */ unknown$1(),
15871
- unit: /* @__PURE__ */ unknown$1(),
15872
- user_id: /* @__PURE__ */ number$2()
16031
+ action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16032
+ entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16033
+ entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16034
+ export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16035
+ export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16036
+ from: /* @__PURE__ */ string$1(),
16037
+ page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16038
+ page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16039
+ to: /* @__PURE__ */ string$1(),
16040
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
15873
16041
  }),
15874
16042
  execute: (input, { client }) => {
15875
16043
  const data = input;
15876
- return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
16044
+ return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
15877
16045
  client.httpClient,
15878
16046
  client.organizationId,
15879
16047
  client.workspaceIdNumber,
15880
- data.group,
16048
+ data.from,
16049
+ data.to,
15881
16050
  data,
15882
16051
  void 0
15883
16052
  ]));
15884
16053
  }
15885
16054
  },
15886
16055
  {
15887
- id: "focus.capacities.settings-list",
16056
+ id: "focus.capacities.get-computations",
15888
16057
  family: "focus",
15889
16058
  resource: "capacities",
15890
- action: "settings-list",
15891
- title: "Settings List Capacities",
15892
- description: "Settings List Capacities.",
16059
+ action: "get-computations",
16060
+ title: "Get Computations Capacities",
16061
+ description: "Get Computations Capacities.",
15893
16062
  safety: "read",
15894
16063
  destructive: false,
15895
16064
  cli: {
15896
- group: ["capacities", "settings"],
15897
- command: "list",
16065
+ group: ["capacities"],
16066
+ command: "get-computations",
15898
16067
  interactive: "hidden"
15899
16068
  },
15900
16069
  mcp: { entityTool: "capacities" },
15901
- inputSchema: /* @__PURE__ */ looseObject({}),
15902
- execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
15903
- client.httpClient,
15904
- client.workspaceIdNumber,
15905
- void 0
15906
- ]))
15907
- },
15908
- {
15909
- id: "focus.capacities.settings-update",
15910
- family: "focus",
15911
- resource: "capacities",
15912
- action: "settings-update",
15913
- title: "Settings Update Capacities",
15914
- description: "Settings Update Capacities.",
15915
- safety: "update",
15916
- destructive: false,
15917
- cli: {
15918
- group: ["capacities", "settings"],
15919
- command: "update",
15920
- interactive: "default"
15921
- },
15922
- mcp: { entityTool: "capacities" },
15923
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
16070
+ inputSchema: /* @__PURE__ */ looseObject({
16071
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16072
+ group: /* @__PURE__ */ picklist$1(["users"]),
16073
+ include_drafts: /* @__PURE__ */ unknown$1(),
16074
+ include_task_estimates: /* @__PURE__ */ unknown$1(),
16075
+ private_: /* @__PURE__ */ unknown$1(),
16076
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16077
+ task_source: /* @__PURE__ */ unknown$1(),
16078
+ unit: /* @__PURE__ */ unknown$1(),
16079
+ user_id: /* @__PURE__ */ number$2()
16080
+ }),
15924
16081
  execute: (input, { client }) => {
15925
16082
  const data = input;
15926
- return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
16083
+ return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
15927
16084
  client.httpClient,
16085
+ client.organizationId,
15928
16086
  client.workspaceIdNumber,
15929
- data.payload ?? data.data ?? data,
16087
+ data.group,
16088
+ data,
15930
16089
  void 0
15931
16090
  ]));
15932
16091
  }
@@ -16125,8 +16284,7 @@ const generatedFocusOperations = [
16125
16284
  hourly_rate: /* @__PURE__ */ number$2(),
16126
16285
  start_at: apiDateTimeString,
16127
16286
  end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
16128
- }))),
16129
- resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16287
+ })))
16130
16288
  }) }),
16131
16289
  execute: (input, { client }) => {
16132
16290
  const data = input;
@@ -16181,6 +16339,7 @@ const generatedFocusOperations = [
16181
16339
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16182
16340
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16183
16341
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16342
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16184
16343
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16185
16344
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16186
16345
  }),
@@ -16213,6 +16372,7 @@ const generatedFocusOperations = [
16213
16372
  priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
16214
16373
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16215
16374
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16375
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16216
16376
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16217
16377
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16218
16378
  }))),
@@ -16268,7 +16428,11 @@ const generatedFocusOperations = [
16268
16428
  },
16269
16429
  mcp: { entityTool: "custom-fields" },
16270
16430
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16271
- entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
16431
+ entity_type: /* @__PURE__ */ picklist$1([
16432
+ "project",
16433
+ "task",
16434
+ "user"
16435
+ ]),
16272
16436
  field_type: /* @__PURE__ */ picklist$1([
16273
16437
  "select",
16274
16438
  "multi_select",
@@ -16601,7 +16765,11 @@ const generatedFocusOperations = [
16601
16765
  },
16602
16766
  mcp: { entityTool: "custom-fields" },
16603
16767
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16604
- entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
16768
+ entity_type: /* @__PURE__ */ picklist$1([
16769
+ "project",
16770
+ "task",
16771
+ "user"
16772
+ ]),
16605
16773
  ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
16606
16774
  }) }),
16607
16775
  execute: (input, { client }) => {
@@ -16615,6 +16783,37 @@ const generatedFocusOperations = [
16615
16783
  ]));
16616
16784
  }
16617
16785
  },
16786
+ {
16787
+ id: "focus.custom-fields.update-user-custom-field-values",
16788
+ family: "focus",
16789
+ resource: "custom-fields",
16790
+ action: "update-user-custom-field-values",
16791
+ title: "Update User Custom Field Values Custom Fields",
16792
+ description: "Update User Custom Field Values Custom Fields.",
16793
+ safety: "update",
16794
+ destructive: false,
16795
+ cli: {
16796
+ group: ["custom-fields"],
16797
+ command: "update-user-custom-field-values",
16798
+ interactive: "hidden"
16799
+ },
16800
+ mcp: { entityTool: "custom-fields" },
16801
+ inputSchema: /* @__PURE__ */ looseObject({
16802
+ payload: /* @__PURE__ */ unknown$1(),
16803
+ user_id: /* @__PURE__ */ number$2()
16804
+ }),
16805
+ execute: (input, { client }) => {
16806
+ const data = input;
16807
+ return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
16808
+ client.httpClient,
16809
+ client.organizationId,
16810
+ client.workspaceIdNumber,
16811
+ data.user_id,
16812
+ data.payload ?? data.data ?? data,
16813
+ void 0
16814
+ ]));
16815
+ }
16816
+ },
16618
16817
  {
16619
16818
  id: "focus.goals.create",
16620
16819
  family: "focus",
@@ -16834,10 +17033,22 @@ const generatedFocusOperations = [
16834
17033
  goal_id: /* @__PURE__ */ number$2(),
16835
17034
  payload: /* @__PURE__ */ looseObject({
16836
17035
  active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17036
+ client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16837
17037
  comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16838
17038
  icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16839
17039
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
16840
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
17040
+ project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17041
+ recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
17042
+ "daily",
17043
+ "weekly",
17044
+ "daily_workdays",
17045
+ "monthly"
17046
+ ])),
17047
+ start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17048
+ tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17049
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
17050
+ task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17051
+ weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16841
17052
  })
16842
17053
  }),
16843
17054
  execute: (input, { client }) => {
@@ -18170,6 +18381,7 @@ const generatedFocusOperations = [
18170
18381
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18171
18382
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18172
18383
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18384
+ completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18173
18385
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18174
18386
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
18175
18387
  group: /* @__PURE__ */ string$1(),
@@ -18177,6 +18389,7 @@ const generatedFocusOperations = [
18177
18389
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18178
18390
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18179
18391
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18392
+ only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18180
18393
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18181
18394
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18182
18395
  parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -20361,7 +20574,10 @@ const generatedFocusOperations = [
20361
20574
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20362
20575
  name: /* @__PURE__ */ string$1(),
20363
20576
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
20364
- }))
20577
+ })),
20578
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
20579
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20580
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
20365
20581
  }),
20366
20582
  response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
20367
20583
  }),
@@ -20402,6 +20618,28 @@ const generatedFocusOperations = [
20402
20618
  ]));
20403
20619
  }
20404
20620
  },
20621
+ {
20622
+ id: "focus.reports.get-forecast-availability",
20623
+ family: "focus",
20624
+ resource: "reports",
20625
+ action: "get-forecast-availability",
20626
+ title: "Get Forecast Availability Reports",
20627
+ description: "Get Forecast Availability Reports.",
20628
+ safety: "read",
20629
+ destructive: false,
20630
+ cli: {
20631
+ group: ["reports"],
20632
+ command: "get-forecast-availability",
20633
+ interactive: "hidden"
20634
+ },
20635
+ mcp: { entityTool: "reports" },
20636
+ inputSchema: /* @__PURE__ */ looseObject({}),
20637
+ execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
20638
+ client.httpClient,
20639
+ client.workspaceIdNumber,
20640
+ void 0
20641
+ ]))
20642
+ },
20405
20643
  {
20406
20644
  id: "focus.reports.get-profitability",
20407
20645
  family: "focus",
@@ -20461,9 +20699,17 @@ const generatedFocusOperations = [
20461
20699
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20462
20700
  name: /* @__PURE__ */ string$1(),
20463
20701
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
20464
- }))
20702
+ })),
20703
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
20704
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20705
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
20465
20706
  }),
20466
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
20707
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
20708
+ xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
20709
+ "csv",
20710
+ "xlsx",
20711
+ "pdf"
20712
+ ]))
20467
20713
  }),
20468
20714
  execute: (input, { client }) => {
20469
20715
  const data = input;
@@ -20473,22 +20719,23 @@ const generatedFocusOperations = [
20473
20719
  data.payload ?? data.data ?? data,
20474
20720
  data.response_format,
20475
20721
  data.include_dicts,
20722
+ data.xTogglReportExport,
20476
20723
  void 0
20477
20724
  ]));
20478
20725
  }
20479
20726
  },
20480
20727
  {
20481
- id: "focus.reports.get-workload",
20728
+ id: "focus.reports.get-time-accounting",
20482
20729
  family: "focus",
20483
20730
  resource: "reports",
20484
- action: "get-workload",
20485
- title: "Get Workload Reports",
20486
- description: "Get Workload Reports.",
20731
+ action: "get-time-accounting",
20732
+ title: "Get Time Accounting Reports",
20733
+ description: "Get Time Accounting Reports.",
20487
20734
  safety: "update",
20488
20735
  destructive: false,
20489
20736
  cli: {
20490
20737
  group: ["reports"],
20491
- command: "get-workload",
20738
+ command: "get-time-accounting",
20492
20739
  interactive: "hidden"
20493
20740
  },
20494
20741
  mcp: { entityTool: "reports" },
@@ -20534,14 +20781,205 @@ const generatedFocusOperations = [
20534
20781
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20535
20782
  name: /* @__PURE__ */ string$1(),
20536
20783
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
20537
- }))
20784
+ })),
20785
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
20786
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20787
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
20538
20788
  }) }),
20789
+ execute: (input, { client }) => {
20790
+ const data = input;
20791
+ return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
20792
+ client.httpClient,
20793
+ client.workspaceIdNumber,
20794
+ data.payload ?? data.data ?? data,
20795
+ void 0
20796
+ ]));
20797
+ }
20798
+ },
20799
+ {
20800
+ id: "focus.reports.get-workload",
20801
+ family: "focus",
20802
+ resource: "reports",
20803
+ action: "get-workload",
20804
+ title: "Get Workload Reports",
20805
+ description: "Get Workload Reports.",
20806
+ safety: "update",
20807
+ destructive: false,
20808
+ cli: {
20809
+ group: ["reports"],
20810
+ command: "get-workload",
20811
+ interactive: "hidden"
20812
+ },
20813
+ mcp: { entityTool: "reports" },
20814
+ inputSchema: /* @__PURE__ */ looseObject({
20815
+ payload: /* @__PURE__ */ looseObject({
20816
+ aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20817
+ aggregation: /* @__PURE__ */ looseObject({
20818
+ function: /* @__PURE__ */ string$1(),
20819
+ property: /* @__PURE__ */ string$1()
20820
+ }),
20821
+ operator: /* @__PURE__ */ string$1(),
20822
+ property: /* @__PURE__ */ string$1()
20823
+ })),
20824
+ aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20825
+ function: /* @__PURE__ */ string$1(),
20826
+ property: /* @__PURE__ */ string$1()
20827
+ })),
20828
+ attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
20829
+ currency: /* @__PURE__ */ string$1(),
20830
+ filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20831
+ conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
20832
+ operator: /* @__PURE__ */ string$1(),
20833
+ property: /* @__PURE__ */ string$1()
20834
+ })),
20835
+ groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20836
+ property: /* @__PURE__ */ string$1(),
20837
+ show_empty: /* @__PURE__ */ boolean$1()
20838
+ })),
20839
+ limit: /* @__PURE__ */ number$2(),
20840
+ ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20841
+ direction: /* @__PURE__ */ string$1(),
20842
+ nulls: /* @__PURE__ */ string$1(),
20843
+ property: /* @__PURE__ */ string$1()
20844
+ })),
20845
+ pagination: /* @__PURE__ */ looseObject({
20846
+ page: /* @__PURE__ */ number$2(),
20847
+ per_page: /* @__PURE__ */ number$2()
20848
+ }),
20849
+ period: /* @__PURE__ */ looseObject({
20850
+ from: /* @__PURE__ */ string$1(),
20851
+ preset: /* @__PURE__ */ string$1(),
20852
+ to: /* @__PURE__ */ string$1()
20853
+ }),
20854
+ transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20855
+ name: /* @__PURE__ */ string$1(),
20856
+ parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
20857
+ })),
20858
+ view_in_my_timezone: /* @__PURE__ */ boolean$1(),
20859
+ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20860
+ shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
20861
+ }),
20862
+ xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
20863
+ "csv",
20864
+ "xlsx",
20865
+ "pdf"
20866
+ ]))
20867
+ }),
20539
20868
  execute: (input, { client }) => {
20540
20869
  const data = input;
20541
20870
  return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
20542
20871
  client.httpClient,
20543
20872
  client.workspaceIdNumber,
20544
20873
  data.payload ?? data.data ?? data,
20874
+ data.xTogglReportExport,
20875
+ void 0
20876
+ ]));
20877
+ }
20878
+ },
20879
+ {
20880
+ id: "focus.reportschedules.delete-shared-report-schedule",
20881
+ family: "focus",
20882
+ resource: "reportschedules",
20883
+ action: "delete-shared-report-schedule",
20884
+ title: "Delete Shared Report Schedule Reportschedules",
20885
+ description: "Delete Shared Report Schedule Reportschedules.",
20886
+ safety: "delete",
20887
+ destructive: true,
20888
+ cli: {
20889
+ group: ["reportschedules"],
20890
+ command: "delete-shared-report-schedule",
20891
+ interactive: "default"
20892
+ },
20893
+ mcp: { entityTool: "reportschedules" },
20894
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
20895
+ execute: (input, { client }) => {
20896
+ const data = input;
20897
+ return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
20898
+ client.httpClient,
20899
+ client.workspaceIdNumber,
20900
+ data.id,
20901
+ void 0
20902
+ ]));
20903
+ }
20904
+ },
20905
+ {
20906
+ id: "focus.reportschedules.upsert-saved-view-schedule",
20907
+ family: "focus",
20908
+ resource: "reportschedules",
20909
+ action: "upsert-saved-view-schedule",
20910
+ title: "Upsert Saved View Schedule Reportschedules",
20911
+ description: "Upsert Saved View Schedule Reportschedules.",
20912
+ safety: "update",
20913
+ destructive: false,
20914
+ cli: {
20915
+ group: ["reportschedules"],
20916
+ command: "upsert-saved-view-schedule",
20917
+ interactive: "default"
20918
+ },
20919
+ mcp: { entityTool: "reportschedules" },
20920
+ inputSchema: /* @__PURE__ */ looseObject({
20921
+ id: /* @__PURE__ */ number$2(),
20922
+ payload: /* @__PURE__ */ looseObject({
20923
+ cadence: /* @__PURE__ */ picklist$1([
20924
+ "daily",
20925
+ "weekly",
20926
+ "monthly"
20927
+ ]),
20928
+ time: /* @__PURE__ */ string$1(),
20929
+ day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
20930
+ recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
20931
+ recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
20932
+ recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
20933
+ })
20934
+ }),
20935
+ execute: (input, { client }) => {
20936
+ const data = input;
20937
+ return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
20938
+ client.httpClient,
20939
+ client.workspaceIdNumber,
20940
+ data.id,
20941
+ data.payload ?? data.data ?? data,
20942
+ void 0
20943
+ ]));
20944
+ }
20945
+ },
20946
+ {
20947
+ id: "focus.reportschedules.upsert-shared-report-schedule",
20948
+ family: "focus",
20949
+ resource: "reportschedules",
20950
+ action: "upsert-shared-report-schedule",
20951
+ title: "Upsert Shared Report Schedule Reportschedules",
20952
+ description: "Upsert Shared Report Schedule Reportschedules.",
20953
+ safety: "update",
20954
+ destructive: false,
20955
+ cli: {
20956
+ group: ["reportschedules"],
20957
+ command: "upsert-shared-report-schedule",
20958
+ interactive: "default"
20959
+ },
20960
+ mcp: { entityTool: "reportschedules" },
20961
+ inputSchema: /* @__PURE__ */ looseObject({
20962
+ id: /* @__PURE__ */ number$2(),
20963
+ payload: /* @__PURE__ */ looseObject({
20964
+ cadence: /* @__PURE__ */ picklist$1([
20965
+ "daily",
20966
+ "weekly",
20967
+ "monthly"
20968
+ ]),
20969
+ time: /* @__PURE__ */ string$1(),
20970
+ day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
20971
+ recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
20972
+ recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
20973
+ recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
20974
+ })
20975
+ }),
20976
+ execute: (input, { client }) => {
20977
+ const data = input;
20978
+ return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
20979
+ client.httpClient,
20980
+ client.workspaceIdNumber,
20981
+ data.id,
20982
+ data.payload ?? data.data ?? data,
20545
20983
  void 0
20546
20984
  ]));
20547
20985
  }
@@ -20579,7 +21017,9 @@ const generatedFocusOperations = [
20579
21017
  "reports.detailed",
20580
21018
  "reports.utilization",
20581
21019
  "reports.workload",
20582
- "reports.profitability"
21020
+ "reports.profitability",
21021
+ "reports.time-off",
21022
+ "reports.time-accounting"
20583
21023
  ]),
20584
21024
  icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
20585
21025
  }) }),
@@ -20703,11 +21143,41 @@ const generatedFocusOperations = [
20703
21143
  }
20704
21144
  },
20705
21145
  {
20706
- id: "focus.search.search",
21146
+ id: "focus.search.mentions",
20707
21147
  family: "focus",
20708
21148
  resource: "search",
20709
- action: "search",
20710
- title: "Search Search",
21149
+ action: "mentions",
21150
+ title: "Mentions Search",
21151
+ description: "Mentions Search.",
21152
+ safety: "read",
21153
+ destructive: false,
21154
+ cli: {
21155
+ group: ["search"],
21156
+ command: "mentions",
21157
+ interactive: "hidden"
21158
+ },
21159
+ mcp: { entityTool: "search" },
21160
+ inputSchema: /* @__PURE__ */ looseObject({
21161
+ keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21162
+ per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21163
+ }),
21164
+ execute: (input, { client }) => {
21165
+ const data = input;
21166
+ return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
21167
+ client.httpClient,
21168
+ client.organizationId,
21169
+ client.workspaceIdNumber,
21170
+ data,
21171
+ void 0
21172
+ ]));
21173
+ }
21174
+ },
21175
+ {
21176
+ id: "focus.search.search",
21177
+ family: "focus",
21178
+ resource: "search",
21179
+ action: "search",
21180
+ title: "Search Search",
20711
21181
  description: "Search Search.",
20712
21182
  safety: "read",
20713
21183
  destructive: false,
@@ -20729,6 +21199,240 @@ const generatedFocusOperations = [
20729
21199
  ]));
20730
21200
  }
20731
21201
  },
21202
+ {
21203
+ id: "focus.sharedreports.add-shared-report-grants",
21204
+ family: "focus",
21205
+ resource: "sharedreports",
21206
+ action: "add-shared-report-grants",
21207
+ title: "Add Shared Report Grants Sharedreports",
21208
+ description: "Add Shared Report Grants Sharedreports.",
21209
+ safety: "update",
21210
+ destructive: false,
21211
+ cli: {
21212
+ group: ["sharedreports"],
21213
+ command: "add-shared-report-grants",
21214
+ interactive: "default"
21215
+ },
21216
+ mcp: { entityTool: "sharedreports" },
21217
+ inputSchema: /* @__PURE__ */ looseObject({
21218
+ id: /* @__PURE__ */ number$2(),
21219
+ payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21220
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21221
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21222
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21223
+ })) })
21224
+ }),
21225
+ execute: (input, { client }) => {
21226
+ const data = input;
21227
+ return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
21228
+ client.httpClient,
21229
+ client.workspaceIdNumber,
21230
+ data.id,
21231
+ data.payload ?? data.data ?? data,
21232
+ void 0
21233
+ ]));
21234
+ }
21235
+ },
21236
+ {
21237
+ id: "focus.sharedreports.get-saved-view-shared-report",
21238
+ family: "focus",
21239
+ resource: "sharedreports",
21240
+ action: "get-saved-view-shared-report",
21241
+ title: "Get Saved View Shared Report Sharedreports",
21242
+ description: "Get Saved View Shared Report Sharedreports.",
21243
+ safety: "read",
21244
+ destructive: false,
21245
+ cli: {
21246
+ group: ["sharedreports"],
21247
+ command: "get-saved-view-shared-report",
21248
+ interactive: "available"
21249
+ },
21250
+ mcp: { entityTool: "sharedreports" },
21251
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21252
+ execute: (input, { client }) => {
21253
+ const data = input;
21254
+ return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
21255
+ client.httpClient,
21256
+ client.workspaceIdNumber,
21257
+ data.id,
21258
+ void 0
21259
+ ]));
21260
+ }
21261
+ },
21262
+ {
21263
+ id: "focus.sharedreports.get-shared-report-for-viewer",
21264
+ family: "focus",
21265
+ resource: "sharedreports",
21266
+ action: "get-shared-report-for-viewer",
21267
+ title: "Get Shared Report For Viewer Sharedreports",
21268
+ description: "Get Shared Report For Viewer Sharedreports.",
21269
+ safety: "read",
21270
+ destructive: false,
21271
+ cli: {
21272
+ group: ["sharedreports"],
21273
+ command: "get-shared-report-for-viewer",
21274
+ interactive: "available"
21275
+ },
21276
+ mcp: { entityTool: "sharedreports" },
21277
+ inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21278
+ execute: (input, { client }) => {
21279
+ const data = input;
21280
+ return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
21281
+ client.httpClient,
21282
+ client.workspaceIdNumber,
21283
+ data.id,
21284
+ void 0
21285
+ ]));
21286
+ }
21287
+ },
21288
+ {
21289
+ id: "focus.sharedreports.get-shared-reports-shared-by-me",
21290
+ family: "focus",
21291
+ resource: "sharedreports",
21292
+ action: "get-shared-reports-shared-by-me",
21293
+ title: "Get Shared Reports Shared By Me Sharedreports",
21294
+ description: "Get Shared Reports Shared By Me Sharedreports.",
21295
+ safety: "read",
21296
+ destructive: false,
21297
+ cli: {
21298
+ group: ["sharedreports"],
21299
+ command: "get-shared-reports-shared-by-me",
21300
+ interactive: "hidden"
21301
+ },
21302
+ mcp: { entityTool: "sharedreports" },
21303
+ inputSchema: /* @__PURE__ */ looseObject({}),
21304
+ execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
21305
+ client.httpClient,
21306
+ client.workspaceIdNumber,
21307
+ void 0
21308
+ ]))
21309
+ },
21310
+ {
21311
+ id: "focus.sharedreports.get-shared-reports-shared-with-me",
21312
+ family: "focus",
21313
+ resource: "sharedreports",
21314
+ action: "get-shared-reports-shared-with-me",
21315
+ title: "Get Shared Reports Shared With Me Sharedreports",
21316
+ description: "Get Shared Reports Shared With Me Sharedreports.",
21317
+ safety: "read",
21318
+ destructive: false,
21319
+ cli: {
21320
+ group: ["sharedreports"],
21321
+ command: "get-shared-reports-shared-with-me",
21322
+ interactive: "hidden"
21323
+ },
21324
+ mcp: { entityTool: "sharedreports" },
21325
+ inputSchema: /* @__PURE__ */ looseObject({}),
21326
+ execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
21327
+ client.httpClient,
21328
+ client.workspaceIdNumber,
21329
+ void 0
21330
+ ]))
21331
+ },
21332
+ {
21333
+ id: "focus.sharedreports.revoke-shared-report-grant",
21334
+ family: "focus",
21335
+ resource: "sharedreports",
21336
+ action: "revoke-shared-report-grant",
21337
+ title: "Revoke Shared Report Grant Sharedreports",
21338
+ description: "Revoke Shared Report Grant Sharedreports.",
21339
+ safety: "delete",
21340
+ destructive: true,
21341
+ cli: {
21342
+ group: ["sharedreports"],
21343
+ command: "revoke-shared-report-grant",
21344
+ interactive: "default"
21345
+ },
21346
+ mcp: { entityTool: "sharedreports" },
21347
+ inputSchema: /* @__PURE__ */ looseObject({
21348
+ grant_id: /* @__PURE__ */ number$2(),
21349
+ id: /* @__PURE__ */ number$2()
21350
+ }),
21351
+ execute: (input, { client }) => {
21352
+ const data = input;
21353
+ return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
21354
+ client.httpClient,
21355
+ client.workspaceIdNumber,
21356
+ data.id,
21357
+ data.grant_id,
21358
+ void 0
21359
+ ]));
21360
+ }
21361
+ },
21362
+ {
21363
+ id: "focus.sharedreports.share-saved-view",
21364
+ family: "focus",
21365
+ resource: "sharedreports",
21366
+ action: "share-saved-view",
21367
+ title: "Share Saved View Sharedreports",
21368
+ description: "Share Saved View Sharedreports.",
21369
+ safety: "update",
21370
+ destructive: false,
21371
+ cli: {
21372
+ group: ["sharedreports"],
21373
+ command: "share-saved-view",
21374
+ interactive: "hidden"
21375
+ },
21376
+ mcp: { entityTool: "sharedreports" },
21377
+ inputSchema: /* @__PURE__ */ looseObject({
21378
+ id: /* @__PURE__ */ number$2(),
21379
+ payload: /* @__PURE__ */ looseObject({
21380
+ charts: /* @__PURE__ */ unknown$1(),
21381
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21382
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21383
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21384
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21385
+ })
21386
+ }),
21387
+ execute: (input, { client }) => {
21388
+ const data = input;
21389
+ return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
21390
+ client.httpClient,
21391
+ client.workspaceIdNumber,
21392
+ data.id,
21393
+ data.payload ?? data.data ?? data,
21394
+ void 0
21395
+ ]));
21396
+ }
21397
+ },
21398
+ {
21399
+ id: "focus.sharedreports.share-saved-view-many",
21400
+ family: "focus",
21401
+ resource: "sharedreports",
21402
+ action: "share-saved-view-many",
21403
+ title: "Share Saved View Many Sharedreports",
21404
+ description: "Share Saved View Many Sharedreports.",
21405
+ safety: "update",
21406
+ destructive: false,
21407
+ cli: {
21408
+ group: ["sharedreports"],
21409
+ command: "share-saved-view-many",
21410
+ interactive: "hidden"
21411
+ },
21412
+ mcp: { entityTool: "sharedreports" },
21413
+ inputSchema: /* @__PURE__ */ looseObject({
21414
+ id: /* @__PURE__ */ number$2(),
21415
+ payload: /* @__PURE__ */ looseObject({
21416
+ charts: /* @__PURE__ */ unknown$1(),
21417
+ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21418
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21419
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21420
+ workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21421
+ })),
21422
+ period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21423
+ })
21424
+ }),
21425
+ execute: (input, { client }) => {
21426
+ const data = input;
21427
+ return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
21428
+ client.httpClient,
21429
+ client.workspaceIdNumber,
21430
+ data.id,
21431
+ data.payload ?? data.data ?? data,
21432
+ void 0
21433
+ ]));
21434
+ }
21435
+ },
20732
21436
  {
20733
21437
  id: "focus.statuses.create-status",
20734
21438
  family: "focus",
@@ -20994,13 +21698,172 @@ const generatedFocusOperations = [
20994
21698
  command: "upsert-forced-trial",
20995
21699
  interactive: "default"
20996
21700
  },
20997
- mcp: { entityTool: "subscriptions" },
20998
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
21701
+ mcp: { entityTool: "subscriptions" },
21702
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
21703
+ execute: (input, { client }) => {
21704
+ const data = input;
21705
+ return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
21706
+ client.httpClient,
21707
+ client.organizationId,
21708
+ client.workspaceIdNumber,
21709
+ data.payload ?? data.data ?? data,
21710
+ void 0
21711
+ ]));
21712
+ }
21713
+ },
21714
+ {
21715
+ id: "focus.tags.archive",
21716
+ family: "focus",
21717
+ resource: "tags",
21718
+ action: "archive",
21719
+ title: "Archive Tags",
21720
+ description: "Archive Tags.",
21721
+ safety: "update",
21722
+ destructive: false,
21723
+ cli: {
21724
+ group: ["tags"],
21725
+ command: "archive",
21726
+ interactive: "default"
21727
+ },
21728
+ mcp: { entityTool: "tags" },
21729
+ inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
21730
+ execute: (input, { client }) => {
21731
+ const data = input;
21732
+ return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
21733
+ client.httpClient,
21734
+ client.workspaceIdNumber,
21735
+ data.tag_id,
21736
+ void 0
21737
+ ]));
21738
+ }
21739
+ },
21740
+ {
21741
+ id: "focus.tags.bulk-archive",
21742
+ family: "focus",
21743
+ resource: "tags",
21744
+ action: "bulk-archive",
21745
+ title: "Bulk Archive Tags",
21746
+ description: "Bulk Archive Tags.",
21747
+ safety: "update",
21748
+ destructive: false,
21749
+ cli: {
21750
+ group: ["tags", "bulk"],
21751
+ command: "archive",
21752
+ interactive: "default"
21753
+ },
21754
+ mcp: { entityTool: "tags" },
21755
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
21756
+ execute: (input, { client }) => {
21757
+ const data = input;
21758
+ return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
21759
+ client.httpClient,
21760
+ client.workspaceIdNumber,
21761
+ data.payload ?? data.data ?? data,
21762
+ void 0
21763
+ ]));
21764
+ }
21765
+ },
21766
+ {
21767
+ id: "focus.tags.bulk-create",
21768
+ family: "focus",
21769
+ resource: "tags",
21770
+ action: "bulk-create",
21771
+ title: "Bulk Create Tags",
21772
+ description: "Bulk Create Tags.",
21773
+ safety: "create",
21774
+ destructive: false,
21775
+ cli: {
21776
+ group: ["tags", "bulk"],
21777
+ command: "create",
21778
+ interactive: "default"
21779
+ },
21780
+ mcp: { entityTool: "tags" },
21781
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21782
+ color: /* @__PURE__ */ string$1(),
21783
+ name: /* @__PURE__ */ string$1()
21784
+ })) }) }),
21785
+ execute: (input, { client }) => {
21786
+ const data = input;
21787
+ return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
21788
+ client.httpClient,
21789
+ client.workspaceIdNumber,
21790
+ data.payload ?? data.data ?? data,
21791
+ void 0
21792
+ ]));
21793
+ }
21794
+ },
21795
+ {
21796
+ id: "focus.tags.bulk-delete",
21797
+ family: "focus",
21798
+ resource: "tags",
21799
+ action: "bulk-delete",
21800
+ title: "Bulk Delete Tags",
21801
+ description: "Bulk Delete Tags.",
21802
+ safety: "delete",
21803
+ destructive: true,
21804
+ cli: {
21805
+ group: ["tags", "bulk"],
21806
+ command: "delete",
21807
+ interactive: "default"
21808
+ },
21809
+ mcp: { entityTool: "tags" },
21810
+ inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
21811
+ execute: (input, { client }) => {
21812
+ const data = input;
21813
+ return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
21814
+ client.httpClient,
21815
+ client.workspaceIdNumber,
21816
+ data.ids,
21817
+ void 0
21818
+ ]));
21819
+ }
21820
+ },
21821
+ {
21822
+ id: "focus.tags.bulk-restore",
21823
+ family: "focus",
21824
+ resource: "tags",
21825
+ action: "bulk-restore",
21826
+ title: "Bulk Restore Tags",
21827
+ description: "Bulk Restore Tags.",
21828
+ safety: "update",
21829
+ destructive: false,
21830
+ cli: {
21831
+ group: ["tags", "bulk"],
21832
+ command: "restore",
21833
+ interactive: "default"
21834
+ },
21835
+ mcp: { entityTool: "tags" },
21836
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
21837
+ execute: (input, { client }) => {
21838
+ const data = input;
21839
+ return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
21840
+ client.httpClient,
21841
+ client.workspaceIdNumber,
21842
+ data.payload ?? data.data ?? data,
21843
+ void 0
21844
+ ]));
21845
+ }
21846
+ },
21847
+ {
21848
+ id: "focus.tags.bulk-unarchive",
21849
+ family: "focus",
21850
+ resource: "tags",
21851
+ action: "bulk-unarchive",
21852
+ title: "Bulk Unarchive Tags",
21853
+ description: "Bulk Unarchive Tags.",
21854
+ safety: "update",
21855
+ destructive: false,
21856
+ cli: {
21857
+ group: ["tags", "bulk"],
21858
+ command: "unarchive",
21859
+ interactive: "default"
21860
+ },
21861
+ mcp: { entityTool: "tags" },
21862
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
20999
21863
  execute: (input, { client }) => {
21000
21864
  const data = input;
21001
- return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
21865
+ return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
21002
21866
  client.httpClient,
21003
- client.organizationId,
21004
21867
  client.workspaceIdNumber,
21005
21868
  data.payload ?? data.data ?? data,
21006
21869
  void 0
@@ -21091,6 +21954,35 @@ const generatedFocusOperations = [
21091
21954
  return client.listTags(data);
21092
21955
  }
21093
21956
  },
21957
+ {
21958
+ id: "focus.tags.merge",
21959
+ family: "focus",
21960
+ resource: "tags",
21961
+ action: "merge",
21962
+ title: "Merge Tags",
21963
+ description: "Merge Tags.",
21964
+ safety: "update",
21965
+ destructive: false,
21966
+ cli: {
21967
+ group: ["tags"],
21968
+ command: "merge",
21969
+ interactive: "default"
21970
+ },
21971
+ mcp: { entityTool: "tags" },
21972
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
21973
+ source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
21974
+ target_id: /* @__PURE__ */ number$2()
21975
+ }) }),
21976
+ execute: (input, { client }) => {
21977
+ const data = input;
21978
+ return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
21979
+ client.httpClient,
21980
+ client.workspaceIdNumber,
21981
+ data.payload ?? data.data ?? data,
21982
+ void 0
21983
+ ]));
21984
+ }
21985
+ },
21094
21986
  {
21095
21987
  id: "focus.tags.restore",
21096
21988
  family: "focus",
@@ -21117,6 +22009,32 @@ const generatedFocusOperations = [
21117
22009
  ]));
21118
22010
  }
21119
22011
  },
22012
+ {
22013
+ id: "focus.tags.unarchive",
22014
+ family: "focus",
22015
+ resource: "tags",
22016
+ action: "unarchive",
22017
+ title: "Unarchive Tags",
22018
+ description: "Unarchive Tags.",
22019
+ safety: "update",
22020
+ destructive: false,
22021
+ cli: {
22022
+ group: ["tags"],
22023
+ command: "unarchive",
22024
+ interactive: "default"
22025
+ },
22026
+ mcp: { entityTool: "tags" },
22027
+ inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
22028
+ execute: (input, { client }) => {
22029
+ const data = input;
22030
+ return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
22031
+ client.httpClient,
22032
+ client.workspaceIdNumber,
22033
+ data.tag_id,
22034
+ void 0
22035
+ ]));
22036
+ }
22037
+ },
21120
22038
  {
21121
22039
  id: "focus.tags.update",
21122
22040
  family: "focus",
@@ -21798,12 +22716,12 @@ const generatedFocusOperations = [
21798
22716
  mcp: { entityTool: "tasks" },
21799
22717
  inputSchema: /* @__PURE__ */ looseObject({
21800
22718
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22719
+ assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21801
22720
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21802
22721
  dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21803
22722
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21804
22723
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
21805
22724
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21806
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21807
22725
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21808
22726
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21809
22727
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21840,7 +22758,6 @@ const generatedFocusOperations = [
21840
22758
  inputSchema: /* @__PURE__ */ looseObject({
21841
22759
  active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
21842
22760
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21843
- assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21844
22761
  assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21845
22762
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21846
22763
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21857,7 +22774,6 @@ const generatedFocusOperations = [
21857
22774
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21858
22775
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21859
22776
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21860
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21861
22777
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21862
22778
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21863
22779
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21913,7 +22829,6 @@ const generatedFocusOperations = [
21913
22829
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21914
22830
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21915
22831
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21916
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21917
22832
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21918
22833
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21919
22834
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21954,7 +22869,6 @@ const generatedFocusOperations = [
21954
22869
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21955
22870
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21956
22871
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21957
- include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21958
22872
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21959
22873
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21960
22874
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21995,6 +22909,7 @@ const generatedFocusOperations = [
21995
22909
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21996
22910
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21997
22911
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22912
+ collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21998
22913
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21999
22914
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22000
22915
  end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22008,7 +22923,8 @@ const generatedFocusOperations = [
22008
22923
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22009
22924
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22010
22925
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22011
- include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22926
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22927
+ include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22012
22928
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22013
22929
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22014
22930
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22024,6 +22940,7 @@ const generatedFocusOperations = [
22024
22940
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22025
22941
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
22026
22942
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22943
+ user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22027
22944
  user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
22028
22945
  }),
22029
22946
  execute: (input, { client }) => {
@@ -22038,6 +22955,118 @@ const generatedFocusOperations = [
22038
22955
  ]));
22039
22956
  }
22040
22957
  },
22958
+ {
22959
+ id: "focus.tasks.groups-get-user-task-groups-by-project",
22960
+ family: "focus",
22961
+ resource: "tasks",
22962
+ action: "groups-get-user-task-groups-by-project",
22963
+ title: "Groups Get User Task Groups By Project Tasks",
22964
+ description: "Groups Get User Task Groups By Project Tasks.",
22965
+ safety: "read",
22966
+ destructive: false,
22967
+ cli: {
22968
+ group: ["tasks", "groups"],
22969
+ command: "get-user-task-groups-by-project",
22970
+ interactive: "hidden"
22971
+ },
22972
+ mcp: { entityTool: "tasks" },
22973
+ inputSchema: /* @__PURE__ */ looseObject({
22974
+ assignee_user_id: /* @__PURE__ */ number$2(),
22975
+ cf_filter: /* @__PURE__ */ unknown$1(),
22976
+ client_id: /* @__PURE__ */ number$2(),
22977
+ collapse_recurring: /* @__PURE__ */ unknown$1(),
22978
+ creator_id: /* @__PURE__ */ number$2(),
22979
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
22980
+ end_date_from: /* @__PURE__ */ unknown$1(),
22981
+ end_date_to: /* @__PURE__ */ unknown$1(),
22982
+ exclude_empty: /* @__PURE__ */ unknown$1(),
22983
+ group_id: /* @__PURE__ */ number$2(),
22984
+ include_assignees: /* @__PURE__ */ unknown$1(),
22985
+ include_drafts: /* @__PURE__ */ unknown$1(),
22986
+ include_unassigned: /* @__PURE__ */ unknown$1(),
22987
+ include_unmaterialized: /* @__PURE__ */ unknown$1(),
22988
+ min_days: /* @__PURE__ */ unknown$1(),
22989
+ name: /* @__PURE__ */ unknown$1(),
22990
+ priority: /* @__PURE__ */ unknown$1(),
22991
+ private_: /* @__PURE__ */ unknown$1(),
22992
+ project_id: /* @__PURE__ */ number$2(),
22993
+ source: /* @__PURE__ */ unknown$1(),
22994
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
22995
+ start_date_from: /* @__PURE__ */ unknown$1(),
22996
+ start_date_to: /* @__PURE__ */ unknown$1(),
22997
+ status_id: /* @__PURE__ */ number$2(),
22998
+ tag_id: /* @__PURE__ */ number$2(),
22999
+ team_id: /* @__PURE__ */ number$2(),
23000
+ user_cf_filter: /* @__PURE__ */ unknown$1(),
23001
+ user_tag_id: /* @__PURE__ */ number$2()
23002
+ }),
23003
+ execute: (input, { client }) => {
23004
+ const data = input;
23005
+ return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
23006
+ client.httpClient,
23007
+ client.organizationId,
23008
+ client.workspaceIdNumber,
23009
+ data,
23010
+ void 0
23011
+ ]));
23012
+ }
23013
+ },
23014
+ {
23015
+ id: "focus.tasks.groups-get-user-task-groups-by-team",
23016
+ family: "focus",
23017
+ resource: "tasks",
23018
+ action: "groups-get-user-task-groups-by-team",
23019
+ title: "Groups Get User Task Groups By Team Tasks",
23020
+ description: "Groups Get User Task Groups By Team Tasks.",
23021
+ safety: "read",
23022
+ destructive: false,
23023
+ cli: {
23024
+ group: ["tasks", "groups"],
23025
+ command: "get-user-task-groups-by-team",
23026
+ interactive: "hidden"
23027
+ },
23028
+ mcp: { entityTool: "tasks" },
23029
+ inputSchema: /* @__PURE__ */ looseObject({
23030
+ assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23031
+ cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23032
+ client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23033
+ collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23034
+ creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23035
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23036
+ end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23037
+ end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23038
+ exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23039
+ group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23040
+ include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23041
+ include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23042
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23043
+ include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23044
+ min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23045
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23046
+ priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23047
+ private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23048
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23049
+ source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23050
+ start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23051
+ start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23052
+ start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23053
+ status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23054
+ tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23055
+ team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23056
+ user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23057
+ user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23058
+ }),
23059
+ execute: (input, { client }) => {
23060
+ const data = input;
23061
+ return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
23062
+ client.httpClient,
23063
+ client.organizationId,
23064
+ client.workspaceIdNumber,
23065
+ data,
23066
+ void 0
23067
+ ]));
23068
+ }
23069
+ },
22041
23070
  {
22042
23071
  id: "focus.tasks.groups-update",
22043
23072
  family: "focus",
@@ -22243,7 +23272,6 @@ const generatedFocusOperations = [
22243
23272
  name: /* @__PURE__ */ string$1(),
22244
23273
  status_id: /* @__PURE__ */ number$2(),
22245
23274
  auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22246
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22247
23275
  color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
22248
23276
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22249
23277
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -22263,6 +23291,7 @@ const generatedFocusOperations = [
22263
23291
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22264
23292
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22265
23293
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23294
+ rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22266
23295
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
22267
23296
  }),
22268
23297
  task_id: /* @__PURE__ */ number$2()
@@ -23271,6 +24300,40 @@ const generatedFocusOperations = [
23271
24300
  ]));
23272
24301
  }
23273
24302
  },
24303
+ {
24304
+ id: "focus.time-entries.groups-get-users",
24305
+ family: "focus",
24306
+ resource: "time-entries",
24307
+ action: "groups-get-users",
24308
+ title: "Groups Get Users Time Entries",
24309
+ description: "Groups Get Users Time Entries.",
24310
+ safety: "read",
24311
+ destructive: false,
24312
+ cli: {
24313
+ group: ["time-entries", "groups"],
24314
+ command: "get-users",
24315
+ interactive: "hidden"
24316
+ },
24317
+ mcp: { entityTool: "time-entries" },
24318
+ inputSchema: /* @__PURE__ */ looseObject({
24319
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
24320
+ order_by: /* @__PURE__ */ unknown$1(),
24321
+ page: /* @__PURE__ */ number$2(),
24322
+ per_page: /* @__PURE__ */ unknown$1(),
24323
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
24324
+ user_id: /* @__PURE__ */ number$2()
24325
+ }),
24326
+ execute: (input, { client }) => {
24327
+ const data = input;
24328
+ return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
24329
+ client.httpClient,
24330
+ client.organizationId,
24331
+ client.workspaceIdNumber,
24332
+ data,
24333
+ void 0
24334
+ ]));
24335
+ }
24336
+ },
23274
24337
  {
23275
24338
  id: "focus.time-entries.list",
23276
24339
  family: "focus",
@@ -23455,6 +24518,42 @@ const generatedFocusOperations = [
23455
24518
  inputSchema: emptySchema$1,
23456
24519
  execute: (_input, { client }) => client.stopTracking()
23457
24520
  },
24521
+ {
24522
+ id: "focus.time-entries.sync",
24523
+ family: "focus",
24524
+ resource: "time-entries",
24525
+ action: "sync",
24526
+ title: "Sync Time Entries",
24527
+ description: "Sync Time Entries.",
24528
+ safety: "update",
24529
+ destructive: false,
24530
+ cli: {
24531
+ group: ["time-entries"],
24532
+ command: "sync",
24533
+ interactive: "default"
24534
+ },
24535
+ mcp: { entityTool: "time-entries" },
24536
+ inputSchema: /* @__PURE__ */ looseObject({
24537
+ client_uuid: /* @__PURE__ */ string$1(),
24538
+ payload: /* @__PURE__ */ looseObject({
24539
+ billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
24540
+ client_updated_at: apiDateTimeString,
24541
+ type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24542
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24543
+ })
24544
+ }),
24545
+ execute: (input, { client }) => {
24546
+ const data = input;
24547
+ return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
24548
+ client.httpClient,
24549
+ client.organizationId,
24550
+ client.workspaceIdNumber,
24551
+ data.client_uuid,
24552
+ data.payload ?? data.data ?? data,
24553
+ void 0
24554
+ ]));
24555
+ }
24556
+ },
23458
24557
  {
23459
24558
  id: "focus.time-entries.tracking-get-tracked-time-entry",
23460
24559
  family: "focus",
@@ -23503,6 +24602,7 @@ const generatedFocusOperations = [
23503
24602
  create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23504
24603
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23505
24604
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24605
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23506
24606
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23507
24607
  extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23508
24608
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -23561,125 +24661,37 @@ const generatedFocusOperations = [
23561
24661
  resource: "time-entries",
23562
24662
  action: "update",
23563
24663
  title: "Update Time Entries",
23564
- description: "Update Time Entries.",
23565
- safety: "update",
23566
- destructive: false,
23567
- cli: {
23568
- group: ["time-entries"],
23569
- command: "update",
23570
- interactive: "default"
23571
- },
23572
- mcp: { entityTool: "time-entries" },
23573
- inputSchema: /* @__PURE__ */ looseObject({
23574
- payload: /* @__PURE__ */ looseObject({
23575
- type: /* @__PURE__ */ picklist$1(["activity", "break"]),
23576
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23577
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23578
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23579
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
23580
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23581
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23582
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
23583
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23584
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
23585
- }),
23586
- time_entry_id: /* @__PURE__ */ number$2()
23587
- }),
23588
- execute: (input, { client }) => {
23589
- const data = input;
23590
- return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
23591
- client.httpClient,
23592
- client.organizationId,
23593
- client.workspaceIdNumber,
23594
- data.time_entry_id,
23595
- data.payload ?? data.data ?? data,
23596
- void 0
23597
- ]));
23598
- }
23599
- },
23600
- {
23601
- id: "focus.time-log-suggestions.get-for-acalendar-event-title",
23602
- family: "focus",
23603
- resource: "time-log-suggestions",
23604
- action: "get-for-acalendar-event-title",
23605
- title: "Get For Acalendar Event Title Time Log Suggestions",
23606
- description: "Get For Acalendar Event Title Time Log Suggestions.",
23607
- safety: "update",
23608
- destructive: false,
23609
- cli: {
23610
- group: ["time-log-suggestions"],
23611
- command: "get-for-acalendar-event-title",
23612
- interactive: "default"
23613
- },
23614
- mcp: { entityTool: "time-log-suggestions" },
23615
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
23616
- execute: (input, { client }) => {
23617
- const data = input;
23618
- return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
23619
- client.httpClient,
23620
- client.organizationId,
23621
- client.workspaceIdNumber,
23622
- data.payload ?? data.data ?? data,
23623
- void 0
23624
- ]));
23625
- }
23626
- },
23627
- {
23628
- id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
23629
- family: "focus",
23630
- resource: "time-log-suggestions",
23631
- action: "get-for-multiple-calendar-event-titles",
23632
- title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
23633
- description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
23634
- safety: "update",
23635
- destructive: false,
23636
- cli: {
23637
- group: ["time-log-suggestions"],
23638
- command: "get-for-multiple-calendar-event-titles",
23639
- interactive: "default"
23640
- },
23641
- mcp: { entityTool: "time-log-suggestions" },
23642
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
23643
- key: /* @__PURE__ */ string$1(),
23644
- title: /* @__PURE__ */ string$1()
23645
- })) }) }),
23646
- execute: (input, { client }) => {
23647
- const data = input;
23648
- return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
23649
- client.httpClient,
23650
- client.organizationId,
23651
- client.workspaceIdNumber,
23652
- data.payload ?? data.data ?? data,
23653
- void 0
23654
- ]));
23655
- }
23656
- },
23657
- {
23658
- id: "focus.time-off.create-timeoff-for-ghost",
23659
- family: "focus",
23660
- resource: "time-off",
23661
- action: "create-timeoff-for-ghost",
23662
- title: "Create Timeoff For Ghost Time Off",
23663
- description: "Create Timeoff For Ghost Time Off.",
23664
- safety: "create",
24664
+ description: "Update Time Entries.",
24665
+ safety: "update",
23665
24666
  destructive: false,
23666
24667
  cli: {
23667
- group: ["time-off"],
23668
- command: "create-timeoff-for-ghost",
23669
- interactive: "hidden"
24668
+ group: ["time-entries"],
24669
+ command: "update",
24670
+ interactive: "default"
23670
24671
  },
23671
- mcp: { entityTool: "time-off" },
24672
+ mcp: { entityTool: "time-entries" },
23672
24673
  inputSchema: /* @__PURE__ */ looseObject({
23673
- ghost_id: /* @__PURE__ */ number$2(),
23674
- payload: /* @__PURE__ */ unknown$1()
24674
+ payload: /* @__PURE__ */ looseObject({
24675
+ type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24676
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24677
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24678
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24679
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24680
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24681
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24682
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
24683
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24684
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
24685
+ }),
24686
+ time_entry_id: /* @__PURE__ */ number$2()
23675
24687
  }),
23676
24688
  execute: (input, { client }) => {
23677
24689
  const data = input;
23678
- return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
24690
+ return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
23679
24691
  client.httpClient,
23680
24692
  client.organizationId,
23681
24693
  client.workspaceIdNumber,
23682
- data.ghost_id,
24694
+ data.time_entry_id,
23683
24695
  data.payload ?? data.data ?? data,
23684
24696
  void 0
23685
24697
  ]));
@@ -23715,37 +24727,6 @@ const generatedFocusOperations = [
23715
24727
  ]));
23716
24728
  }
23717
24729
  },
23718
- {
23719
- id: "focus.time-off.delete-timeoff-for-ghost",
23720
- family: "focus",
23721
- resource: "time-off",
23722
- action: "delete-timeoff-for-ghost",
23723
- title: "Delete Timeoff For Ghost Time Off",
23724
- description: "Delete Timeoff For Ghost Time Off.",
23725
- safety: "delete",
23726
- destructive: true,
23727
- cli: {
23728
- group: ["time-off"],
23729
- command: "delete-timeoff-for-ghost",
23730
- interactive: "hidden"
23731
- },
23732
- mcp: { entityTool: "time-off" },
23733
- inputSchema: /* @__PURE__ */ looseObject({
23734
- ghost_id: /* @__PURE__ */ number$2(),
23735
- payload: /* @__PURE__ */ unknown$1()
23736
- }),
23737
- execute: (input, { client }) => {
23738
- const data = input;
23739
- return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
23740
- client.httpClient,
23741
- client.organizationId,
23742
- client.workspaceIdNumber,
23743
- data.ghost_id,
23744
- data.payload ?? data.data ?? data,
23745
- void 0
23746
- ]));
23747
- }
23748
- },
23749
24730
  {
23750
24731
  id: "focus.time-off.delete-timeoff-for-user",
23751
24732
  family: "focus",
@@ -23776,38 +24757,6 @@ const generatedFocusOperations = [
23776
24757
  ]));
23777
24758
  }
23778
24759
  },
23779
- {
23780
- id: "focus.time-off.get-timeoff-for-ghost",
23781
- family: "focus",
23782
- resource: "time-off",
23783
- action: "get-timeoff-for-ghost",
23784
- title: "Get Timeoff For Ghost Time Off",
23785
- description: "Get Timeoff For Ghost Time Off.",
23786
- safety: "read",
23787
- destructive: false,
23788
- cli: {
23789
- group: ["time-off"],
23790
- command: "get-timeoff-for-ghost",
23791
- interactive: "hidden"
23792
- },
23793
- mcp: { entityTool: "time-off" },
23794
- inputSchema: /* @__PURE__ */ looseObject({
23795
- from: /* @__PURE__ */ unknown$1(),
23796
- ghost_id: /* @__PURE__ */ number$2(),
23797
- to: /* @__PURE__ */ unknown$1()
23798
- }),
23799
- execute: (input, { client }) => {
23800
- const data = input;
23801
- return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
23802
- client.httpClient,
23803
- client.organizationId,
23804
- client.workspaceIdNumber,
23805
- data.ghost_id,
23806
- data,
23807
- void 0
23808
- ]));
23809
- }
23810
- },
23811
24760
  {
23812
24761
  id: "focus.time-off.get-timeoff-for-user",
23813
24762
  family: "focus",
@@ -23839,37 +24788,6 @@ const generatedFocusOperations = [
23839
24788
  ]));
23840
24789
  }
23841
24790
  },
23842
- {
23843
- id: "focus.time-off.get-timeoffs-by-ghost-ids",
23844
- family: "focus",
23845
- resource: "time-off",
23846
- action: "get-timeoffs-by-ghost-ids",
23847
- title: "Get Timeoffs By Ghost Ids Time Off",
23848
- description: "Get Timeoffs By Ghost Ids Time Off.",
23849
- safety: "read",
23850
- destructive: false,
23851
- cli: {
23852
- group: ["time-off"],
23853
- command: "get-timeoffs-by-ghost-ids",
23854
- interactive: "hidden"
23855
- },
23856
- mcp: { entityTool: "time-off" },
23857
- inputSchema: /* @__PURE__ */ looseObject({
23858
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23859
- ghost_ids: /* @__PURE__ */ unknown$1(),
23860
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
23861
- }),
23862
- execute: (input, { client }) => {
23863
- const data = input;
23864
- return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
23865
- client.httpClient,
23866
- client.organizationId,
23867
- client.workspaceIdNumber,
23868
- data,
23869
- void 0
23870
- ]));
23871
- }
23872
- },
23873
24791
  {
23874
24792
  id: "focus.time-off.get-timeoffs-by-user-ids",
23875
24793
  family: "focus",
@@ -23900,37 +24818,6 @@ const generatedFocusOperations = [
23900
24818
  ]));
23901
24819
  }
23902
24820
  },
23903
- {
23904
- id: "focus.time-off.update-timeoff-for-ghost",
23905
- family: "focus",
23906
- resource: "time-off",
23907
- action: "update-timeoff-for-ghost",
23908
- title: "Update Timeoff For Ghost Time Off",
23909
- description: "Update Timeoff For Ghost Time Off.",
23910
- safety: "update",
23911
- destructive: false,
23912
- cli: {
23913
- group: ["time-off"],
23914
- command: "update-timeoff-for-ghost",
23915
- interactive: "hidden"
23916
- },
23917
- mcp: { entityTool: "time-off" },
23918
- inputSchema: /* @__PURE__ */ looseObject({
23919
- ghost_id: /* @__PURE__ */ number$2(),
23920
- payload: /* @__PURE__ */ unknown$1()
23921
- }),
23922
- execute: (input, { client }) => {
23923
- const data = input;
23924
- return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
23925
- client.httpClient,
23926
- client.organizationId,
23927
- client.workspaceIdNumber,
23928
- data.ghost_id,
23929
- data.payload ?? data.data ?? data,
23930
- void 0
23931
- ]));
23932
- }
23933
- },
23934
24821
  {
23935
24822
  id: "focus.time-off.update-timeoff-for-user",
23936
24823
  family: "focus",
@@ -24962,6 +25849,7 @@ const generatedFocusOperations = [
24962
25849
  pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24963
25850
  pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24964
25851
  pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25852
+ send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24965
25853
  send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24966
25854
  shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24967
25855
  show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -25063,37 +25951,6 @@ const generatedFocusOperations = [
25063
25951
  inputSchema: /* @__PURE__ */ looseObject({}),
25064
25952
  execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
25065
25953
  },
25066
- {
25067
- id: "focus.working-hours.create-for-ghost",
25068
- family: "focus",
25069
- resource: "working-hours",
25070
- action: "create-for-ghost",
25071
- title: "Create For Ghost Working Hours",
25072
- description: "Create For Ghost Working Hours.",
25073
- safety: "create",
25074
- destructive: false,
25075
- cli: {
25076
- group: ["working-hours"],
25077
- command: "create-for-ghost",
25078
- interactive: "hidden"
25079
- },
25080
- mcp: { entityTool: "working-hours" },
25081
- inputSchema: /* @__PURE__ */ looseObject({
25082
- ghost_id: /* @__PURE__ */ number$2(),
25083
- payload: /* @__PURE__ */ unknown$1()
25084
- }),
25085
- execute: (input, { client }) => {
25086
- const data = input;
25087
- return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
25088
- client.httpClient,
25089
- client.organizationId,
25090
- client.workspaceIdNumber,
25091
- data.ghost_id,
25092
- data.payload ?? data.data ?? data,
25093
- void 0
25094
- ]));
25095
- }
25096
- },
25097
25954
  {
25098
25955
  id: "focus.working-hours.create-for-user",
25099
25956
  family: "focus",
@@ -25124,37 +25981,6 @@ const generatedFocusOperations = [
25124
25981
  ]));
25125
25982
  }
25126
25983
  },
25127
- {
25128
- id: "focus.working-hours.delete-for-ghost",
25129
- family: "focus",
25130
- resource: "working-hours",
25131
- action: "delete-for-ghost",
25132
- title: "Delete For Ghost Working Hours",
25133
- description: "Delete For Ghost Working Hours.",
25134
- safety: "delete",
25135
- destructive: true,
25136
- cli: {
25137
- group: ["working-hours"],
25138
- command: "delete-for-ghost",
25139
- interactive: "hidden"
25140
- },
25141
- mcp: { entityTool: "working-hours" },
25142
- inputSchema: /* @__PURE__ */ looseObject({
25143
- ghost_id: /* @__PURE__ */ number$2(),
25144
- payload: /* @__PURE__ */ unknown$1()
25145
- }),
25146
- execute: (input, { client }) => {
25147
- const data = input;
25148
- return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
25149
- client.httpClient,
25150
- client.organizationId,
25151
- client.workspaceIdNumber,
25152
- data.ghost_id,
25153
- data.payload ?? data.data ?? data,
25154
- void 0
25155
- ]));
25156
- }
25157
- },
25158
25984
  {
25159
25985
  id: "focus.working-hours.delete-for-user",
25160
25986
  family: "focus",
@@ -25185,33 +26011,6 @@ const generatedFocusOperations = [
25185
26011
  ]));
25186
26012
  }
25187
26013
  },
25188
- {
25189
- id: "focus.working-hours.get-for-ghost",
25190
- family: "focus",
25191
- resource: "working-hours",
25192
- action: "get-for-ghost",
25193
- title: "Get For Ghost Working Hours",
25194
- description: "Get For Ghost Working Hours.",
25195
- safety: "read",
25196
- destructive: false,
25197
- cli: {
25198
- group: ["working-hours"],
25199
- command: "get-for-ghost",
25200
- interactive: "available"
25201
- },
25202
- mcp: { entityTool: "working-hours" },
25203
- inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
25204
- execute: (input, { client }) => {
25205
- const data = input;
25206
- return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
25207
- client.httpClient,
25208
- client.organizationId,
25209
- client.workspaceIdNumber,
25210
- data.ghost_id,
25211
- void 0
25212
- ]));
25213
- }
25214
- },
25215
26014
  {
25216
26015
  id: "focus.working-hours.get-for-user",
25217
26016
  family: "focus",
@@ -25238,37 +26037,6 @@ const generatedFocusOperations = [
25238
26037
  ]));
25239
26038
  }
25240
26039
  },
25241
- {
25242
- id: "focus.working-hours.update-for-ghost",
25243
- family: "focus",
25244
- resource: "working-hours",
25245
- action: "update-for-ghost",
25246
- title: "Update For Ghost Working Hours",
25247
- description: "Update For Ghost Working Hours.",
25248
- safety: "update",
25249
- destructive: false,
25250
- cli: {
25251
- group: ["working-hours"],
25252
- command: "update-for-ghost",
25253
- interactive: "hidden"
25254
- },
25255
- mcp: { entityTool: "working-hours" },
25256
- inputSchema: /* @__PURE__ */ looseObject({
25257
- ghost_id: /* @__PURE__ */ number$2(),
25258
- payload: /* @__PURE__ */ unknown$1()
25259
- }),
25260
- execute: (input, { client }) => {
25261
- const data = input;
25262
- return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
25263
- client.httpClient,
25264
- client.organizationId,
25265
- client.workspaceIdNumber,
25266
- data.ghost_id,
25267
- data.payload ?? data.data ?? data,
25268
- void 0
25269
- ]));
25270
- }
25271
- },
25272
26040
  {
25273
26041
  id: "focus.working-hours.update-for-user",
25274
26042
  family: "focus",
@@ -25343,6 +26111,50 @@ const generatedFocusOperations = [
25343
26111
  void 0
25344
26112
  ]))
25345
26113
  },
26114
+ {
26115
+ id: "focus.workspace-settings.get-workspace-export-branding",
26116
+ family: "focus",
26117
+ resource: "workspace-settings",
26118
+ action: "get-workspace-export-branding",
26119
+ title: "Get Workspace Export Branding Workspace Settings",
26120
+ description: "Get Workspace Export Branding Workspace Settings.",
26121
+ safety: "read",
26122
+ destructive: false,
26123
+ cli: {
26124
+ group: ["workspace-settings"],
26125
+ command: "get-workspace-export-branding",
26126
+ interactive: "hidden"
26127
+ },
26128
+ mcp: { entityTool: "workspace-settings" },
26129
+ inputSchema: /* @__PURE__ */ looseObject({}),
26130
+ execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
26131
+ client.httpClient,
26132
+ client.workspaceIdNumber,
26133
+ void 0
26134
+ ]))
26135
+ },
26136
+ {
26137
+ id: "focus.workspace-settings.get-workspace-watermark",
26138
+ family: "focus",
26139
+ resource: "workspace-settings",
26140
+ action: "get-workspace-watermark",
26141
+ title: "Get Workspace Watermark Workspace Settings",
26142
+ description: "Get Workspace Watermark Workspace Settings.",
26143
+ safety: "read",
26144
+ destructive: false,
26145
+ cli: {
26146
+ group: ["workspace-settings"],
26147
+ command: "get-workspace-watermark",
26148
+ interactive: "hidden"
26149
+ },
26150
+ mcp: { entityTool: "workspace-settings" },
26151
+ inputSchema: /* @__PURE__ */ looseObject({}),
26152
+ execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
26153
+ client.httpClient,
26154
+ client.workspaceIdNumber,
26155
+ void 0
26156
+ ]))
26157
+ },
25346
26158
  {
25347
26159
  id: "focus.workspace-settings.list",
25348
26160
  family: "focus",
@@ -25417,6 +26229,32 @@ const generatedFocusOperations = [
25417
26229
  ]));
25418
26230
  }
25419
26231
  },
26232
+ {
26233
+ id: "focus.workspace-settings.update-workspace-watermark",
26234
+ family: "focus",
26235
+ resource: "workspace-settings",
26236
+ action: "update-workspace-watermark",
26237
+ title: "Update Workspace Watermark Workspace Settings",
26238
+ description: "Update Workspace Watermark Workspace Settings.",
26239
+ safety: "update",
26240
+ destructive: false,
26241
+ cli: {
26242
+ group: ["workspace-settings"],
26243
+ command: "update-workspace-watermark",
26244
+ interactive: "default"
26245
+ },
26246
+ mcp: { entityTool: "workspace-settings" },
26247
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
26248
+ execute: (input, { client }) => {
26249
+ const data = input;
26250
+ return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
26251
+ client.httpClient,
26252
+ client.workspaceIdNumber,
26253
+ data.payload ?? data.data ?? data,
26254
+ void 0
26255
+ ]));
26256
+ }
26257
+ },
25420
26258
  {
25421
26259
  id: "focus.workspace.get-context",
25422
26260
  family: "focus",
@@ -27056,4 +27894,4 @@ Common commands:
27056
27894
  //#endregion
27057
27895
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
27058
27896
 
27059
- //# sourceMappingURL=program-NMZmZyeI.js.map
27897
+ //# sourceMappingURL=program-DMSIq87N.js.map