@togglhq/cli 1.11.172 → 1.11.173

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7236,7 +7236,11 @@ function pipe(...pipe$1) {
7236
7236
  }
7237
7237
  const TaskAssignmentSchema = /* @__PURE__ */ object({
7238
7238
  id: /* @__PURE__ */ number(),
7239
- type: /* @__PURE__ */ picklist(["user", "team"])
7239
+ type: /* @__PURE__ */ picklist([
7240
+ "user",
7241
+ "ghost",
7242
+ "team"
7243
+ ])
7240
7244
  });
7241
7245
  const ClientLiteSchema = /* @__PURE__ */ object({
7242
7246
  id: /* @__PURE__ */ number(),
@@ -7278,8 +7282,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
7278
7282
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7279
7283
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
7280
7284
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7281
- rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
7282
- recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("RecurringProjectID links an instance to its recurring template, so clients can lane an entry under a collapsed series.")))
7285
+ rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
7283
7286
  });
7284
7287
  const TaskMetadataSchema = /* @__PURE__ */ object({
7285
7288
  all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7352,7 +7355,7 @@ const TaskSchema = /* @__PURE__ */ object({
7352
7355
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7353
7356
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
7354
7357
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7355
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7358
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7356
7359
  client: /* @__PURE__ */ optional(ClientLiteSchema),
7357
7360
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7358
7361
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -7360,6 +7363,7 @@ const TaskSchema = /* @__PURE__ */ object({
7360
7363
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7361
7364
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7362
7365
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7366
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7363
7367
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7364
7368
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7365
7369
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7369,7 +7373,6 @@ const TaskSchema = /* @__PURE__ */ object({
7369
7373
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7370
7374
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7371
7375
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7372
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7373
7376
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7374
7377
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7375
7378
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -7413,7 +7416,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7413
7416
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7414
7417
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
7415
7418
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7416
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7419
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7417
7420
  client: /* @__PURE__ */ optional(ClientLiteSchema),
7418
7421
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7419
7422
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -7421,6 +7424,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7421
7424
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7422
7425
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7423
7426
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7427
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7424
7428
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7425
7429
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7426
7430
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -7431,7 +7435,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7431
7435
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7432
7436
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7433
7437
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7434
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7435
7438
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7436
7439
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7437
7440
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -7590,7 +7593,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
7590
7593
  tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
7591
7594
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7592
7595
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7593
- timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
7596
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
7594
7597
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7595
7598
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7596
7599
  });
@@ -7734,7 +7737,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
7734
7737
  task: /* @__PURE__ */ optional(TaskSchema),
7735
7738
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7736
7739
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7737
- timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
7740
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
7738
7741
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7739
7742
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7740
7743
  })),
@@ -7746,15 +7749,9 @@ const TagSchema$1 = /* @__PURE__ */ object({
7746
7749
  id: /* @__PURE__ */ number(),
7747
7750
  name: /* @__PURE__ */ string(),
7748
7751
  workspace_id: /* @__PURE__ */ number(),
7749
- archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()), /* @__PURE__ */ description("An archived tag disappears from the apply affordance but stays attached to and readable on every existing entity. Nothing cascades."))),
7750
7752
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7751
7753
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7752
- updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7753
- usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
7754
- projects: /* @__PURE__ */ number(),
7755
- tasks: /* @__PURE__ */ number(),
7756
- time_entries: /* @__PURE__ */ number()
7757
- })), /* @__PURE__ */ description("Counts of the projects, tasks and time entries whose tag set directly contains this tag. Only present on the tags list, for callers with unrestricted project access.")))
7754
+ updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7758
7755
  });
7759
7756
  const PaginatedTagsSchema = /* @__PURE__ */ object({
7760
7757
  data: /* @__PURE__ */ array(TagSchema$1),
@@ -7765,8 +7762,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
7765
7762
  const OrganizationUserResponseSchema = /* @__PURE__ */ object({
7766
7763
  "2fa_enabled": /* @__PURE__ */ boolean(),
7767
7764
  account_locked_at: /* @__PURE__ */ string(),
7768
- accounts_role_id: /* @__PURE__ */ number(),
7769
7765
  active: /* @__PURE__ */ boolean(),
7766
+ admin: /* @__PURE__ */ boolean(),
7770
7767
  can_edit_personal_details: /* @__PURE__ */ boolean(),
7771
7768
  created_at: /* @__PURE__ */ string(),
7772
7769
  deleted_at: /* @__PURE__ */ string(),
@@ -7815,9 +7812,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
7815
7812
  track_role_id: /* @__PURE__ */ number(),
7816
7813
  work_role_id: /* @__PURE__ */ number(),
7817
7814
  workspace_user_id: /* @__PURE__ */ number()
7818
- })),
7819
- custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
7820
- has_calendar_integration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("HasCalendarIntegration is true when the member has a calendar connected in Focus. The field is present only when the request sets include_calendar_integration to true and the calendar lookup succeeded. The field is absent when the lookup failed. Absent means unknown. It does not mean false. A member who connected a calendar in another product stays false here until they open the Focus calendar integrations page.")))
7815
+ }))
7821
7816
  });
7822
7817
  const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7823
7818
  const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
@@ -7894,7 +7889,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7894
7889
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7895
7890
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7896
7891
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7897
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
7892
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7893
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7898
7894
  integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7899
7895
  integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7900
7896
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -7910,7 +7906,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7910
7906
  priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7911
7907
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7912
7908
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7913
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7914
7909
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7915
7910
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7916
7911
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7920,23 +7915,22 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7920
7915
  const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7921
7916
  const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
7922
7917
  cascade_duplicate_children: /* @__PURE__ */ boolean(),
7923
- task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)),
7924
- private: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Optional privacy override applied to every duplicated task (and cascaded children). When omitted, each task keeps the source task's private flag. Used when FE must force public (plan lacks private tasks) or private (user can only create private) instead of falling back to composite create.")))
7918
+ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
7925
7919
  });
7926
7920
  const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7927
7921
  const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7928
7922
  const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7929
- after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7930
7923
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
7931
7924
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7932
7925
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7933
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7926
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7934
7927
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7935
7928
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
7936
7929
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7937
7930
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7938
7931
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7939
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
7932
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7933
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7940
7934
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7941
7935
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7942
7936
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7953,7 +7947,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7953
7947
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7954
7948
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7955
7949
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7956
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7957
7950
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7958
7951
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7959
7952
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7962,17 +7955,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7962
7955
  });
7963
7956
  const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7964
7957
  id: /* @__PURE__ */ number(),
7965
- after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7966
7958
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
7967
7959
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7968
7960
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7969
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7961
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7970
7962
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7971
7963
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
7972
7964
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7973
7965
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7974
7966
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7975
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
7967
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7968
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7976
7969
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7977
7970
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7978
7971
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7989,7 +7982,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7989
7982
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7990
7983
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7991
7984
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7992
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7993
7985
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7994
7986
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7995
7987
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -9913,7 +9905,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
9913
9905
  })
9914
9906
  }).json();
9915
9907
  }
9916
- async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
9908
+ async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group } = {}, signal) {
9917
9909
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
9918
9910
  signal,
9919
9911
  searchParams: buildSearchParams$2({
@@ -9933,10 +9925,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
9933
9925
  include_working_hours,
9934
9926
  include_rates,
9935
9927
  pinned_ids,
9936
- has_group,
9937
- cf_filter,
9938
- include_custom_fields,
9939
- include_calendar_integration
9928
+ has_group
9940
9929
  }, true)
9941
9930
  });
9942
9931
  return withResponseMeta(await response.json(), response.headers, response.status);
@@ -9955,7 +9944,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
9955
9944
  }
9956
9945
  //#endregion
9957
9946
  //#region ../focus-queries/dist/tags/requests.ts
9958
- async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
9947
+ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
9959
9948
  return await httpClient.get(`workspaces/${workspace_id}/tags`, {
9960
9949
  signal,
9961
9950
  searchParams: buildSearchParams$2({
@@ -9963,10 +9952,7 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
9963
9952
  page,
9964
9953
  per_page,
9965
9954
  order_by,
9966
- tag_id,
9967
- include_usage,
9968
- include_archived,
9969
- archived
9955
+ tag_id
9970
9956
  })
9971
9957
  }).json();
9972
9958
  }
@@ -9976,42 +9962,6 @@ async function createTag(httpClient, workspace_id, data, signal) {
9976
9962
  json: data
9977
9963
  }).json();
9978
9964
  }
9979
- async function bulkCreateTags(httpClient, workspace_id, data, signal) {
9980
- return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
9981
- signal,
9982
- json: data
9983
- }).json();
9984
- }
9985
- async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
9986
- return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
9987
- signal,
9988
- searchParams: buildSearchParams$2({ ids })
9989
- }).json();
9990
- }
9991
- async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
9992
- return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
9993
- signal,
9994
- json: data
9995
- }).json();
9996
- }
9997
- async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
9998
- return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
9999
- signal,
10000
- json: data
10001
- }).json();
10002
- }
10003
- async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
10004
- return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
10005
- signal,
10006
- json: data
10007
- }).json();
10008
- }
10009
- async function mergeTags(httpClient, workspace_id, data, signal) {
10010
- return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
10011
- signal,
10012
- json: data
10013
- }).json();
10014
- }
10015
9965
  async function getTag(httpClient, workspace_id, tag_id, signal) {
10016
9966
  return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
10017
9967
  }
@@ -10024,18 +9974,12 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
10024
9974
  async function deleteTag(httpClient, workspace_id, tag_id, signal) {
10025
9975
  return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
10026
9976
  }
10027
- async function archiveTag(httpClient, workspace_id, tag_id, signal) {
10028
- return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
10029
- }
10030
9977
  async function restoreTag(httpClient, workspace_id, tag_id, signal) {
10031
9978
  return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
10032
9979
  }
10033
- async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
10034
- return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
10035
- }
10036
9980
  //#endregion
10037
9981
  //#region ../focus-queries/dist/projects/requests.ts
10038
- async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
9982
+ async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
10039
9983
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
10040
9984
  signal,
10041
9985
  searchParams: buildSearchParams$2({
@@ -10057,7 +10001,6 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
10057
10001
  include_rates,
10058
10002
  include_rollover,
10059
10003
  include_idle_recurring_templates,
10060
- collapse_recurring,
10061
10004
  include_drafts,
10062
10005
  include_locked_private,
10063
10006
  start_date,
@@ -10288,7 +10231,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10288
10231
  }
10289
10232
  //#endregion
10290
10233
  //#region ../focus-queries/dist/tasks/requests.ts
10291
- async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
10234
+ async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_ghost_assignees, include_assignees, include_parent_matches, assignee_ghost_id, disable_aggregations, cf_filter } = {}, signal) {
10292
10235
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10293
10236
  signal,
10294
10237
  searchParams: buildSearchParams$2({
@@ -10336,8 +10279,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10336
10279
  recurring_task_ids,
10337
10280
  client_id,
10338
10281
  include_rates,
10282
+ include_ghost_assignees,
10339
10283
  include_assignees,
10340
10284
  include_parent_matches,
10285
+ assignee_ghost_id,
10341
10286
  disable_aggregations,
10342
10287
  cf_filter
10343
10288
  })
@@ -10423,7 +10368,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
10423
10368
  })
10424
10369
  }).json();
10425
10370
  }
10426
- async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
10371
+ async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
10427
10372
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
10428
10373
  signal,
10429
10374
  searchParams: buildSearchParams$2({
@@ -10436,14 +10381,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10436
10381
  dates_overlap_end,
10437
10382
  recurring_task_ids,
10438
10383
  team_id,
10439
- assignee_team_id,
10440
10384
  assignee_user_id,
10441
10385
  tag_id,
10386
+ include_ghost_assignees,
10442
10387
  include_assignees
10443
10388
  })
10444
10389
  }).json();
10445
10390
  }
10446
- async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
10391
+ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
10447
10392
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10448
10393
  signal,
10449
10394
  searchParams: buildSearchParams$2({
@@ -10487,15 +10432,20 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10487
10432
  recurring,
10488
10433
  recurring_task_ids,
10489
10434
  client_id,
10435
+ include_ghost_assignees,
10490
10436
  include_assignees,
10437
+ assignee_ghost_id,
10491
10438
  cf_filter
10492
10439
  })
10493
10440
  }).json();
10494
10441
  }
10495
- async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
10442
+ async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
10496
10443
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
10497
10444
  signal,
10498
- searchParams: buildSearchParams$2({ include_assignees })
10445
+ searchParams: buildSearchParams$2({
10446
+ include_ghost_assignees,
10447
+ include_assignees
10448
+ })
10499
10449
  }).json();
10500
10450
  }
10501
10451
  async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
@@ -10526,7 +10476,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
10526
10476
  searchParams: buildSearchParams$2({ from_recurring_task_id })
10527
10477
  }).json();
10528
10478
  }
10529
- async function getTaskWithChildrenClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
10479
+ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
10530
10480
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
10531
10481
  signal,
10532
10482
  searchParams: buildSearchParams$2({
@@ -10539,11 +10489,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
10539
10489
  team_id,
10540
10490
  assignee_user_id,
10541
10491
  tag_id,
10492
+ include_ghost_assignees,
10542
10493
  include_assignees
10543
10494
  })
10544
10495
  }).json();
10545
10496
  }
10546
- async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
10497
+ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
10547
10498
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
10548
10499
  signal,
10549
10500
  searchParams: buildSearchParams$2({
@@ -10556,6 +10507,7 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
10556
10507
  team_id,
10557
10508
  assignee_user_id,
10558
10509
  tag_id,
10510
+ include_ghost_assignees,
10559
10511
  include_assignees
10560
10512
  })
10561
10513
  }).json();
@@ -10657,12 +10609,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
10657
10609
  })
10658
10610
  }).json();
10659
10611
  }
10660
- async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
10661
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
10662
- signal,
10663
- json: data
10664
- }).json();
10665
- }
10666
10612
  async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
10667
10613
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
10668
10614
  signal,
@@ -14484,21 +14430,6 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
14484
14430
  }
14485
14431
  //#endregion
14486
14432
  //#region ../focus-queries/dist/audit-log/requests.ts
14487
- async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14488
- return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
14489
- signal,
14490
- searchParams: buildSearchParams$2({
14491
- workspace_id,
14492
- entity_type,
14493
- entity_id,
14494
- action,
14495
- user_id,
14496
- page_size,
14497
- page_number,
14498
- export: export_
14499
- })
14500
- }).json();
14501
- }
14502
14433
  async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14503
14434
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
14504
14435
  signal,
@@ -14657,22 +14588,33 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
14657
14588
  }
14658
14589
  //#endregion
14659
14590
  //#region ../focus-queries/dist/capacities/requests.ts
14660
- 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) {
14591
+ 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) {
14661
14592
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
14662
14593
  signal,
14663
14594
  searchParams: buildSearchParams$2({
14664
14595
  user_id,
14665
14596
  start_date,
14666
14597
  end_date,
14598
+ ghost_id,
14667
14599
  private: private_,
14668
14600
  task_source,
14669
14601
  unit,
14670
- include_drafts,
14671
- include_task_estimates
14602
+ include_drafts
14672
14603
  })
14673
14604
  }).json();
14674
14605
  }
14675
14606
  //#endregion
14607
+ //#region ../focus-queries/dist/capacity-settings/requests.ts
14608
+ async function getCapacitySettings(httpClient, workspace_id, signal) {
14609
+ return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
14610
+ }
14611
+ async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
14612
+ return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
14613
+ signal,
14614
+ json: data
14615
+ }).json();
14616
+ }
14617
+ //#endregion
14676
14618
  //#region ../focus-queries/dist/composite/requests.ts
14677
14619
  async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
14678
14620
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
@@ -14755,12 +14697,6 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
14755
14697
  async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
14756
14698
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
14757
14699
  }
14758
- async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
14759
- return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
14760
- signal,
14761
- json: data
14762
- }).json();
14763
- }
14764
14700
  //#endregion
14765
14701
  //#region ../focus-queries/dist/goals/requests.ts
14766
14702
  async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
@@ -14986,7 +14922,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
14986
14922
  }
14987
14923
  //#endregion
14988
14924
  //#region ../focus-queries/dist/project-groups/requests.ts
14989
- 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) {
14925
+ 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) {
14990
14926
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
14991
14927
  signal,
14992
14928
  searchParams: buildSearchParams$2({
@@ -14998,7 +14934,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
14998
14934
  include_group_totals,
14999
14935
  include_unassigned,
15000
14936
  archived,
15001
- completed,
15002
14937
  private: private_,
15003
14938
  name,
15004
14939
  client_id,
@@ -15010,7 +14945,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
15010
14945
  start_date,
15011
14946
  end_date,
15012
14947
  user_id,
15013
- only_me,
15014
14948
  include_drafts,
15015
14949
  cf_filter
15016
14950
  })
@@ -15126,14 +15060,10 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
15126
15060
  }
15127
15061
  //#endregion
15128
15062
  //#region ../focus-queries/dist/reports/requests.ts
15129
- async function getForecastAvailability(httpClient, workspace_id, signal) {
15130
- return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
15131
- }
15132
- async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
15063
+ async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
15133
15064
  return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
15134
15065
  signal,
15135
15066
  json: data,
15136
- headers: { "X-Toggl-Report-Export": xTogglReportExport },
15137
15067
  searchParams: buildSearchParams$2({
15138
15068
  response_format,
15139
15069
  include_dicts
@@ -15157,36 +15087,12 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
15157
15087
  json: data
15158
15088
  }).json();
15159
15089
  }
15160
- async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
15161
- return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
15162
- signal,
15163
- json: data
15164
- }).json();
15165
- }
15166
- async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
15090
+ async function getWorkloadReport(httpClient, workspace_id, data, signal) {
15167
15091
  return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
15168
- signal,
15169
- json: data,
15170
- headers: { "X-Toggl-Report-Export": xTogglReportExport }
15171
- }).json();
15172
- }
15173
- //#endregion
15174
- //#region ../focus-queries/dist/reportschedules/requests.ts
15175
- async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
15176
- return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
15177
- signal,
15178
- json: data
15179
- }).json();
15180
- }
15181
- async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
15182
- return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
15183
15092
  signal,
15184
15093
  json: data
15185
15094
  }).json();
15186
15095
  }
15187
- async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
15188
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
15189
- }
15190
15096
  //#endregion
15191
15097
  //#region ../focus-queries/dist/savedviews/requests.ts
15192
15098
  async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
@@ -15219,7 +15125,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
15219
15125
  }
15220
15126
  //#endregion
15221
15127
  //#region ../focus-queries/dist/search/requests.ts
15222
- 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) {
15128
+ 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) {
15223
15129
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
15224
15130
  signal,
15225
15131
  searchParams: buildSearchParams$2({
@@ -15231,56 +15137,11 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
15231
15137
  task_id,
15232
15138
  include_drafts,
15233
15139
  exclude_calendar_events,
15234
- group_by_tags,
15235
- only_me
15236
- })
15237
- }).json();
15238
- }
15239
- async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
15240
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
15241
- signal,
15242
- searchParams: buildSearchParams$2({
15243
- keyword,
15244
- per_group
15140
+ group_by_tags
15245
15141
  })
15246
15142
  }).json();
15247
15143
  }
15248
15144
  //#endregion
15249
- //#region ../focus-queries/dist/sharedreports/requests.ts
15250
- async function shareSavedView(httpClient, workspace_id, id, data, signal) {
15251
- return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
15252
- signal,
15253
- json: data
15254
- }).json();
15255
- }
15256
- async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
15257
- return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
15258
- }
15259
- async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
15260
- return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
15261
- signal,
15262
- json: data
15263
- }).json();
15264
- }
15265
- async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
15266
- return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
15267
- }
15268
- async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
15269
- return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
15270
- }
15271
- async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
15272
- return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
15273
- }
15274
- async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
15275
- return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
15276
- signal,
15277
- json: data
15278
- }).json();
15279
- }
15280
- async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
15281
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
15282
- }
15283
- //#endregion
15284
15145
  //#region ../focus-queries/dist/subscriptions/requests.ts
15285
15146
  async function getCurrentSubscription(httpClient, organization_id, signal) {
15286
15147
  return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
@@ -15336,77 +15197,7 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
15336
15197
  }
15337
15198
  //#endregion
15338
15199
  //#region ../focus-queries/dist/task-groups/requests.ts
15339
- 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) {
15340
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
15341
- signal,
15342
- searchParams: buildSearchParams$2({
15343
- project_id,
15344
- source,
15345
- priority,
15346
- status_id,
15347
- client_id,
15348
- assignee_user_id,
15349
- tag_id,
15350
- team_id,
15351
- user_tag_id,
15352
- group_id,
15353
- creator_id,
15354
- name,
15355
- start_date,
15356
- end_date,
15357
- start_date_from,
15358
- start_date_to,
15359
- end_date_from,
15360
- end_date_to,
15361
- private: private_,
15362
- exclude_empty,
15363
- include_unassigned,
15364
- include_unmaterialized,
15365
- collapse_recurring,
15366
- include_assignees,
15367
- min_days,
15368
- include_drafts,
15369
- cf_filter,
15370
- user_cf_filter
15371
- })
15372
- }).json();
15373
- }
15374
- 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) {
15375
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
15376
- signal,
15377
- searchParams: buildSearchParams$2({
15378
- team_id,
15379
- project_id,
15380
- source,
15381
- priority,
15382
- status_id,
15383
- client_id,
15384
- assignee_user_id,
15385
- tag_id,
15386
- user_tag_id,
15387
- group_id,
15388
- creator_id,
15389
- name,
15390
- start_date,
15391
- end_date,
15392
- start_date_from,
15393
- start_date_to,
15394
- end_date_from,
15395
- end_date_to,
15396
- private: private_,
15397
- exclude_empty,
15398
- include_unassigned,
15399
- include_unmaterialized,
15400
- collapse_recurring,
15401
- include_assignees,
15402
- min_days,
15403
- include_drafts,
15404
- cf_filter,
15405
- user_cf_filter
15406
- })
15407
- }).json();
15408
- }
15409
- 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) {
15200
+ 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) {
15410
15201
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
15411
15202
  signal,
15412
15203
  searchParams: buildSearchParams$2({
@@ -15430,14 +15221,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
15430
15221
  end_date_to,
15431
15222
  private: private_,
15432
15223
  exclude_empty,
15433
- include_unassigned,
15434
- include_unmaterialized,
15435
- collapse_recurring,
15224
+ include_ghosts,
15436
15225
  include_assignees,
15437
15226
  min_days,
15438
15227
  include_drafts,
15439
15228
  cf_filter,
15440
- user_cf_filter,
15441
15229
  page,
15442
15230
  per_page,
15443
15231
  order_by
@@ -15574,18 +15362,17 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
15574
15362
  }).json();
15575
15363
  }
15576
15364
  //#endregion
15577
- //#region ../focus-queries/dist/time-entry-groups/requests.ts
15578
- async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
15579
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
15365
+ //#region ../focus-queries/dist/time-log-suggestions/requests.ts
15366
+ async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
15367
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
15580
15368
  signal,
15581
- searchParams: buildSearchParams$2({
15582
- start_date,
15583
- end_date,
15584
- user_id,
15585
- page,
15586
- per_page,
15587
- order_by
15588
- })
15369
+ json: data
15370
+ }).json();
15371
+ }
15372
+ async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
15373
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
15374
+ signal,
15375
+ json: data
15589
15376
  }).json();
15590
15377
  }
15591
15378
  //#endregion
@@ -15627,6 +15414,43 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
15627
15414
  json: data
15628
15415
  }).json();
15629
15416
  }
15417
+ async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
15418
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
15419
+ signal,
15420
+ searchParams: buildSearchParams$2({
15421
+ ghost_ids,
15422
+ start_date,
15423
+ end_date
15424
+ })
15425
+ }).json();
15426
+ }
15427
+ async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
15428
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15429
+ signal,
15430
+ searchParams: buildSearchParams$2({
15431
+ from,
15432
+ to
15433
+ })
15434
+ }).json();
15435
+ }
15436
+ async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15437
+ return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15438
+ signal,
15439
+ json: data
15440
+ }).json();
15441
+ }
15442
+ async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15443
+ return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15444
+ signal,
15445
+ json: data
15446
+ }).json();
15447
+ }
15448
+ async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15449
+ return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15450
+ signal,
15451
+ json: data
15452
+ }).json();
15453
+ }
15630
15454
  //#endregion
15631
15455
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
15632
15456
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -15819,6 +15643,27 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
15819
15643
  json: data
15820
15644
  }).json();
15821
15645
  }
15646
+ async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
15647
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
15648
+ }
15649
+ async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15650
+ return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15651
+ signal,
15652
+ json: data
15653
+ }).json();
15654
+ }
15655
+ async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15656
+ return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15657
+ signal,
15658
+ json: data
15659
+ }).json();
15660
+ }
15661
+ async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15662
+ return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15663
+ signal,
15664
+ json: data
15665
+ }).json();
15666
+ }
15822
15667
  //#endregion
15823
15668
  //#region ../focus-queries/dist/workspace/requests.ts
15824
15669
  async function getWorkspaceContext(httpClient, workspace_id, signal) {
@@ -15835,9 +15680,6 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
15835
15680
  json: data
15836
15681
  }).json();
15837
15682
  }
15838
- async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
15839
- return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
15840
- }
15841
15683
  async function getUserPermissions(httpClient, workspace_id, signal) {
15842
15684
  return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
15843
15685
  }
@@ -15850,15 +15692,6 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
15850
15692
  json: data
15851
15693
  }).json();
15852
15694
  }
15853
- async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
15854
- return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
15855
- }
15856
- async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
15857
- return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
15858
- signal,
15859
- json: data
15860
- }).json();
15861
- }
15862
15695
  //#endregion
15863
15696
  //#region ../operations/build/index.public.js
15864
15697
  function callGeneratedRequest(request, args) {
@@ -15994,17 +15827,17 @@ const generatedFocusOperations = [
15994
15827
  ]))
15995
15828
  },
15996
15829
  {
15997
- id: "focus.audit-log.get-organization",
15830
+ id: "focus.audit-log.list",
15998
15831
  family: "focus",
15999
15832
  resource: "audit-log",
16000
- action: "get-organization",
16001
- title: "Get Organization Audit Log",
16002
- description: "Get Organization Audit Log.",
15833
+ action: "list",
15834
+ title: "List Audit Log",
15835
+ description: "List Audit Log.",
16003
15836
  safety: "read",
16004
15837
  destructive: false,
16005
15838
  cli: {
16006
15839
  group: ["audit-log"],
16007
- command: "get-organization",
15840
+ command: "list",
16008
15841
  interactive: "hidden"
16009
15842
  },
16010
15843
  mcp: { entityTool: "audit-log" },
@@ -16018,14 +15851,14 @@ const generatedFocusOperations = [
16018
15851
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16019
15852
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16020
15853
  to: /* @__PURE__ */ string$1(),
16021
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16022
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
15854
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16023
15855
  }),
16024
15856
  execute: (input, { client }) => {
16025
15857
  const data = input;
16026
- return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
15858
+ return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
16027
15859
  client.httpClient,
16028
15860
  client.organizationId,
15861
+ client.workspaceIdNumber,
16029
15862
  data.from,
16030
15863
  data.to,
16031
15864
  data,
@@ -16034,79 +15867,87 @@ const generatedFocusOperations = [
16034
15867
  }
16035
15868
  },
16036
15869
  {
16037
- id: "focus.audit-log.list",
15870
+ id: "focus.capacities.get-computations",
16038
15871
  family: "focus",
16039
- resource: "audit-log",
16040
- action: "list",
16041
- title: "List Audit Log",
16042
- description: "List Audit Log.",
15872
+ resource: "capacities",
15873
+ action: "get-computations",
15874
+ title: "Get Computations Capacities",
15875
+ description: "Get Computations Capacities.",
16043
15876
  safety: "read",
16044
15877
  destructive: false,
16045
15878
  cli: {
16046
- group: ["audit-log"],
16047
- command: "list",
15879
+ group: ["capacities"],
15880
+ command: "get-computations",
16048
15881
  interactive: "hidden"
16049
15882
  },
16050
- mcp: { entityTool: "audit-log" },
15883
+ mcp: { entityTool: "capacities" },
16051
15884
  inputSchema: /* @__PURE__ */ looseObject({
16052
- action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16053
- entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16054
- entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16055
- export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16056
- export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16057
- from: /* @__PURE__ */ string$1(),
16058
- page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16059
- page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16060
- to: /* @__PURE__ */ string$1(),
16061
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
15885
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
15886
+ ghost_id: /* @__PURE__ */ number$2(),
15887
+ group: /* @__PURE__ */ picklist$1(["users"]),
15888
+ include_drafts: /* @__PURE__ */ unknown$1(),
15889
+ private_: /* @__PURE__ */ unknown$1(),
15890
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
15891
+ task_source: /* @__PURE__ */ unknown$1(),
15892
+ unit: /* @__PURE__ */ unknown$1(),
15893
+ user_id: /* @__PURE__ */ number$2()
16062
15894
  }),
16063
15895
  execute: (input, { client }) => {
16064
15896
  const data = input;
16065
- return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
15897
+ return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
16066
15898
  client.httpClient,
16067
15899
  client.organizationId,
16068
15900
  client.workspaceIdNumber,
16069
- data.from,
16070
- data.to,
15901
+ data.group,
16071
15902
  data,
16072
15903
  void 0
16073
15904
  ]));
16074
15905
  }
16075
15906
  },
16076
15907
  {
16077
- id: "focus.capacities.get-computations",
15908
+ id: "focus.capacities.settings-list",
16078
15909
  family: "focus",
16079
15910
  resource: "capacities",
16080
- action: "get-computations",
16081
- title: "Get Computations Capacities",
16082
- description: "Get Computations Capacities.",
15911
+ action: "settings-list",
15912
+ title: "Settings List Capacities",
15913
+ description: "Settings List Capacities.",
16083
15914
  safety: "read",
16084
15915
  destructive: false,
16085
15916
  cli: {
16086
- group: ["capacities"],
16087
- command: "get-computations",
15917
+ group: ["capacities", "settings"],
15918
+ command: "list",
16088
15919
  interactive: "hidden"
16089
15920
  },
16090
15921
  mcp: { entityTool: "capacities" },
16091
- inputSchema: /* @__PURE__ */ looseObject({
16092
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16093
- group: /* @__PURE__ */ picklist$1(["users"]),
16094
- include_drafts: /* @__PURE__ */ unknown$1(),
16095
- include_task_estimates: /* @__PURE__ */ unknown$1(),
16096
- private_: /* @__PURE__ */ unknown$1(),
16097
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16098
- task_source: /* @__PURE__ */ unknown$1(),
16099
- unit: /* @__PURE__ */ unknown$1(),
16100
- user_id: /* @__PURE__ */ number$2()
16101
- }),
15922
+ inputSchema: /* @__PURE__ */ looseObject({}),
15923
+ execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
15924
+ client.httpClient,
15925
+ client.workspaceIdNumber,
15926
+ void 0
15927
+ ]))
15928
+ },
15929
+ {
15930
+ id: "focus.capacities.settings-update",
15931
+ family: "focus",
15932
+ resource: "capacities",
15933
+ action: "settings-update",
15934
+ title: "Settings Update Capacities",
15935
+ description: "Settings Update Capacities.",
15936
+ safety: "update",
15937
+ destructive: false,
15938
+ cli: {
15939
+ group: ["capacities", "settings"],
15940
+ command: "update",
15941
+ interactive: "default"
15942
+ },
15943
+ mcp: { entityTool: "capacities" },
15944
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
16102
15945
  execute: (input, { client }) => {
16103
15946
  const data = input;
16104
- return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
15947
+ return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
16105
15948
  client.httpClient,
16106
- client.organizationId,
16107
15949
  client.workspaceIdNumber,
16108
- data.group,
16109
- data,
15950
+ data.payload ?? data.data ?? data,
16110
15951
  void 0
16111
15952
  ]));
16112
15953
  }
@@ -16305,7 +16146,8 @@ const generatedFocusOperations = [
16305
16146
  hourly_rate: /* @__PURE__ */ number$2(),
16306
16147
  start_at: apiDateTimeString,
16307
16148
  end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
16308
- })))
16149
+ }))),
16150
+ resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16309
16151
  }) }),
16310
16152
  execute: (input, { client }) => {
16311
16153
  const data = input;
@@ -16360,7 +16202,6 @@ const generatedFocusOperations = [
16360
16202
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16361
16203
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16362
16204
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16363
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16364
16205
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16365
16206
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16366
16207
  }),
@@ -16393,7 +16234,6 @@ const generatedFocusOperations = [
16393
16234
  priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
16394
16235
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16395
16236
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16396
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16397
16237
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16398
16238
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16399
16239
  }))),
@@ -16449,11 +16289,7 @@ const generatedFocusOperations = [
16449
16289
  },
16450
16290
  mcp: { entityTool: "custom-fields" },
16451
16291
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16452
- entity_type: /* @__PURE__ */ picklist$1([
16453
- "project",
16454
- "task",
16455
- "user"
16456
- ]),
16292
+ entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
16457
16293
  field_type: /* @__PURE__ */ picklist$1([
16458
16294
  "select",
16459
16295
  "multi_select",
@@ -16786,11 +16622,7 @@ const generatedFocusOperations = [
16786
16622
  },
16787
16623
  mcp: { entityTool: "custom-fields" },
16788
16624
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16789
- entity_type: /* @__PURE__ */ picklist$1([
16790
- "project",
16791
- "task",
16792
- "user"
16793
- ]),
16625
+ entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
16794
16626
  ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
16795
16627
  }) }),
16796
16628
  execute: (input, { client }) => {
@@ -16804,37 +16636,6 @@ const generatedFocusOperations = [
16804
16636
  ]));
16805
16637
  }
16806
16638
  },
16807
- {
16808
- id: "focus.custom-fields.update-user-custom-field-values",
16809
- family: "focus",
16810
- resource: "custom-fields",
16811
- action: "update-user-custom-field-values",
16812
- title: "Update User Custom Field Values Custom Fields",
16813
- description: "Update User Custom Field Values Custom Fields.",
16814
- safety: "update",
16815
- destructive: false,
16816
- cli: {
16817
- group: ["custom-fields"],
16818
- command: "update-user-custom-field-values",
16819
- interactive: "hidden"
16820
- },
16821
- mcp: { entityTool: "custom-fields" },
16822
- inputSchema: /* @__PURE__ */ looseObject({
16823
- payload: /* @__PURE__ */ unknown$1(),
16824
- user_id: /* @__PURE__ */ number$2()
16825
- }),
16826
- execute: (input, { client }) => {
16827
- const data = input;
16828
- return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
16829
- client.httpClient,
16830
- client.organizationId,
16831
- client.workspaceIdNumber,
16832
- data.user_id,
16833
- data.payload ?? data.data ?? data,
16834
- void 0
16835
- ]));
16836
- }
16837
- },
16838
16639
  {
16839
16640
  id: "focus.goals.create",
16840
16641
  family: "focus",
@@ -17054,22 +16855,10 @@ const generatedFocusOperations = [
17054
16855
  goal_id: /* @__PURE__ */ number$2(),
17055
16856
  payload: /* @__PURE__ */ looseObject({
17056
16857
  active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17057
- client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17058
16858
  comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17059
16859
  icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17060
16860
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17061
- project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17062
- recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
17063
- "daily",
17064
- "weekly",
17065
- "daily_workdays",
17066
- "monthly"
17067
- ])),
17068
- start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
17069
- tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17070
- target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
17071
- task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17072
- weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16861
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
17073
16862
  })
17074
16863
  }),
17075
16864
  execute: (input, { client }) => {
@@ -18402,7 +18191,6 @@ const generatedFocusOperations = [
18402
18191
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18403
18192
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18404
18193
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18405
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18406
18194
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18407
18195
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
18408
18196
  group: /* @__PURE__ */ string$1(),
@@ -18410,7 +18198,6 @@ const generatedFocusOperations = [
18410
18198
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18411
18199
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18412
18200
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18413
- only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18414
18201
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18415
18202
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18416
18203
  parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -20595,10 +20382,7 @@ const generatedFocusOperations = [
20595
20382
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20596
20383
  name: /* @__PURE__ */ string$1(),
20597
20384
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
20598
- })),
20599
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
20600
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20601
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
20385
+ }))
20602
20386
  }),
20603
20387
  response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
20604
20388
  }),
@@ -20639,28 +20423,6 @@ const generatedFocusOperations = [
20639
20423
  ]));
20640
20424
  }
20641
20425
  },
20642
- {
20643
- id: "focus.reports.get-forecast-availability",
20644
- family: "focus",
20645
- resource: "reports",
20646
- action: "get-forecast-availability",
20647
- title: "Get Forecast Availability Reports",
20648
- description: "Get Forecast Availability Reports.",
20649
- safety: "read",
20650
- destructive: false,
20651
- cli: {
20652
- group: ["reports"],
20653
- command: "get-forecast-availability",
20654
- interactive: "hidden"
20655
- },
20656
- mcp: { entityTool: "reports" },
20657
- inputSchema: /* @__PURE__ */ looseObject({}),
20658
- execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
20659
- client.httpClient,
20660
- client.workspaceIdNumber,
20661
- void 0
20662
- ]))
20663
- },
20664
20426
  {
20665
20427
  id: "focus.reports.get-profitability",
20666
20428
  family: "focus",
@@ -20720,17 +20482,9 @@ const generatedFocusOperations = [
20720
20482
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20721
20483
  name: /* @__PURE__ */ string$1(),
20722
20484
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
20723
- })),
20724
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
20725
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20726
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
20485
+ }))
20727
20486
  }),
20728
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
20729
- xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
20730
- "csv",
20731
- "xlsx",
20732
- "pdf"
20733
- ]))
20487
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
20734
20488
  }),
20735
20489
  execute: (input, { client }) => {
20736
20490
  const data = input;
@@ -20740,23 +20494,22 @@ const generatedFocusOperations = [
20740
20494
  data.payload ?? data.data ?? data,
20741
20495
  data.response_format,
20742
20496
  data.include_dicts,
20743
- data.xTogglReportExport,
20744
20497
  void 0
20745
20498
  ]));
20746
20499
  }
20747
20500
  },
20748
20501
  {
20749
- id: "focus.reports.get-time-accounting",
20502
+ id: "focus.reports.get-workload",
20750
20503
  family: "focus",
20751
20504
  resource: "reports",
20752
- action: "get-time-accounting",
20753
- title: "Get Time Accounting Reports",
20754
- description: "Get Time Accounting Reports.",
20505
+ action: "get-workload",
20506
+ title: "Get Workload Reports",
20507
+ description: "Get Workload Reports.",
20755
20508
  safety: "update",
20756
20509
  destructive: false,
20757
20510
  cli: {
20758
20511
  group: ["reports"],
20759
- command: "get-time-accounting",
20512
+ command: "get-workload",
20760
20513
  interactive: "hidden"
20761
20514
  },
20762
20515
  mcp: { entityTool: "reports" },
@@ -20802,205 +20555,14 @@ const generatedFocusOperations = [
20802
20555
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20803
20556
  name: /* @__PURE__ */ string$1(),
20804
20557
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
20805
- })),
20806
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
20807
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20808
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
20558
+ }))
20809
20559
  }) }),
20810
- execute: (input, { client }) => {
20811
- const data = input;
20812
- return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
20813
- client.httpClient,
20814
- client.workspaceIdNumber,
20815
- data.payload ?? data.data ?? data,
20816
- void 0
20817
- ]));
20818
- }
20819
- },
20820
- {
20821
- id: "focus.reports.get-workload",
20822
- family: "focus",
20823
- resource: "reports",
20824
- action: "get-workload",
20825
- title: "Get Workload Reports",
20826
- description: "Get Workload Reports.",
20827
- safety: "update",
20828
- destructive: false,
20829
- cli: {
20830
- group: ["reports"],
20831
- command: "get-workload",
20832
- interactive: "hidden"
20833
- },
20834
- mcp: { entityTool: "reports" },
20835
- inputSchema: /* @__PURE__ */ looseObject({
20836
- payload: /* @__PURE__ */ looseObject({
20837
- aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20838
- aggregation: /* @__PURE__ */ looseObject({
20839
- function: /* @__PURE__ */ string$1(),
20840
- property: /* @__PURE__ */ string$1()
20841
- }),
20842
- operator: /* @__PURE__ */ string$1(),
20843
- property: /* @__PURE__ */ string$1()
20844
- })),
20845
- aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20846
- function: /* @__PURE__ */ string$1(),
20847
- property: /* @__PURE__ */ string$1()
20848
- })),
20849
- attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
20850
- currency: /* @__PURE__ */ string$1(),
20851
- filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20852
- conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
20853
- operator: /* @__PURE__ */ string$1(),
20854
- property: /* @__PURE__ */ string$1()
20855
- })),
20856
- groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20857
- property: /* @__PURE__ */ string$1(),
20858
- show_empty: /* @__PURE__ */ boolean$1()
20859
- })),
20860
- limit: /* @__PURE__ */ number$2(),
20861
- ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20862
- direction: /* @__PURE__ */ string$1(),
20863
- nulls: /* @__PURE__ */ string$1(),
20864
- property: /* @__PURE__ */ string$1()
20865
- })),
20866
- pagination: /* @__PURE__ */ looseObject({
20867
- page: /* @__PURE__ */ number$2(),
20868
- per_page: /* @__PURE__ */ number$2()
20869
- }),
20870
- period: /* @__PURE__ */ looseObject({
20871
- from: /* @__PURE__ */ string$1(),
20872
- preset: /* @__PURE__ */ string$1(),
20873
- to: /* @__PURE__ */ string$1()
20874
- }),
20875
- transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20876
- name: /* @__PURE__ */ string$1(),
20877
- parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
20878
- })),
20879
- view_in_my_timezone: /* @__PURE__ */ boolean$1(),
20880
- chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
20881
- shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
20882
- }),
20883
- xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
20884
- "csv",
20885
- "xlsx",
20886
- "pdf"
20887
- ]))
20888
- }),
20889
20560
  execute: (input, { client }) => {
20890
20561
  const data = input;
20891
20562
  return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
20892
20563
  client.httpClient,
20893
20564
  client.workspaceIdNumber,
20894
20565
  data.payload ?? data.data ?? data,
20895
- data.xTogglReportExport,
20896
- void 0
20897
- ]));
20898
- }
20899
- },
20900
- {
20901
- id: "focus.reportschedules.delete-shared-report-schedule",
20902
- family: "focus",
20903
- resource: "reportschedules",
20904
- action: "delete-shared-report-schedule",
20905
- title: "Delete Shared Report Schedule Reportschedules",
20906
- description: "Delete Shared Report Schedule Reportschedules.",
20907
- safety: "delete",
20908
- destructive: true,
20909
- cli: {
20910
- group: ["reportschedules"],
20911
- command: "delete-shared-report-schedule",
20912
- interactive: "default"
20913
- },
20914
- mcp: { entityTool: "reportschedules" },
20915
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
20916
- execute: (input, { client }) => {
20917
- const data = input;
20918
- return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
20919
- client.httpClient,
20920
- client.workspaceIdNumber,
20921
- data.id,
20922
- void 0
20923
- ]));
20924
- }
20925
- },
20926
- {
20927
- id: "focus.reportschedules.upsert-saved-view-schedule",
20928
- family: "focus",
20929
- resource: "reportschedules",
20930
- action: "upsert-saved-view-schedule",
20931
- title: "Upsert Saved View Schedule Reportschedules",
20932
- description: "Upsert Saved View Schedule Reportschedules.",
20933
- safety: "update",
20934
- destructive: false,
20935
- cli: {
20936
- group: ["reportschedules"],
20937
- command: "upsert-saved-view-schedule",
20938
- interactive: "default"
20939
- },
20940
- mcp: { entityTool: "reportschedules" },
20941
- inputSchema: /* @__PURE__ */ looseObject({
20942
- id: /* @__PURE__ */ number$2(),
20943
- payload: /* @__PURE__ */ looseObject({
20944
- cadence: /* @__PURE__ */ picklist$1([
20945
- "daily",
20946
- "weekly",
20947
- "monthly"
20948
- ]),
20949
- time: /* @__PURE__ */ string$1(),
20950
- day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
20951
- recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
20952
- recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
20953
- recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
20954
- })
20955
- }),
20956
- execute: (input, { client }) => {
20957
- const data = input;
20958
- return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
20959
- client.httpClient,
20960
- client.workspaceIdNumber,
20961
- data.id,
20962
- data.payload ?? data.data ?? data,
20963
- void 0
20964
- ]));
20965
- }
20966
- },
20967
- {
20968
- id: "focus.reportschedules.upsert-shared-report-schedule",
20969
- family: "focus",
20970
- resource: "reportschedules",
20971
- action: "upsert-shared-report-schedule",
20972
- title: "Upsert Shared Report Schedule Reportschedules",
20973
- description: "Upsert Shared Report Schedule Reportschedules.",
20974
- safety: "update",
20975
- destructive: false,
20976
- cli: {
20977
- group: ["reportschedules"],
20978
- command: "upsert-shared-report-schedule",
20979
- interactive: "default"
20980
- },
20981
- mcp: { entityTool: "reportschedules" },
20982
- inputSchema: /* @__PURE__ */ looseObject({
20983
- id: /* @__PURE__ */ number$2(),
20984
- payload: /* @__PURE__ */ looseObject({
20985
- cadence: /* @__PURE__ */ picklist$1([
20986
- "daily",
20987
- "weekly",
20988
- "monthly"
20989
- ]),
20990
- time: /* @__PURE__ */ string$1(),
20991
- day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
20992
- recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
20993
- recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
20994
- recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
20995
- })
20996
- }),
20997
- execute: (input, { client }) => {
20998
- const data = input;
20999
- return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
21000
- client.httpClient,
21001
- client.workspaceIdNumber,
21002
- data.id,
21003
- data.payload ?? data.data ?? data,
21004
20566
  void 0
21005
20567
  ]));
21006
20568
  }
@@ -21038,9 +20600,7 @@ const generatedFocusOperations = [
21038
20600
  "reports.detailed",
21039
20601
  "reports.utilization",
21040
20602
  "reports.workload",
21041
- "reports.profitability",
21042
- "reports.time-off",
21043
- "reports.time-accounting"
20603
+ "reports.profitability"
21044
20604
  ]),
21045
20605
  icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
21046
20606
  }) }),
@@ -21164,37 +20724,7 @@ const generatedFocusOperations = [
21164
20724
  }
21165
20725
  },
21166
20726
  {
21167
- id: "focus.search.mentions",
21168
- family: "focus",
21169
- resource: "search",
21170
- action: "mentions",
21171
- title: "Mentions Search",
21172
- description: "Mentions Search.",
21173
- safety: "read",
21174
- destructive: false,
21175
- cli: {
21176
- group: ["search"],
21177
- command: "mentions",
21178
- interactive: "hidden"
21179
- },
21180
- mcp: { entityTool: "search" },
21181
- inputSchema: /* @__PURE__ */ looseObject({
21182
- keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21183
- per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21184
- }),
21185
- execute: (input, { client }) => {
21186
- const data = input;
21187
- return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
21188
- client.httpClient,
21189
- client.organizationId,
21190
- client.workspaceIdNumber,
21191
- data,
21192
- void 0
21193
- ]));
21194
- }
21195
- },
21196
- {
21197
- id: "focus.search.search",
20727
+ id: "focus.search.search",
21198
20728
  family: "focus",
21199
20729
  resource: "search",
21200
20730
  action: "search",
@@ -21220,240 +20750,6 @@ const generatedFocusOperations = [
21220
20750
  ]));
21221
20751
  }
21222
20752
  },
21223
- {
21224
- id: "focus.sharedreports.add-shared-report-grants",
21225
- family: "focus",
21226
- resource: "sharedreports",
21227
- action: "add-shared-report-grants",
21228
- title: "Add Shared Report Grants Sharedreports",
21229
- description: "Add Shared Report Grants Sharedreports.",
21230
- safety: "update",
21231
- destructive: false,
21232
- cli: {
21233
- group: ["sharedreports"],
21234
- command: "add-shared-report-grants",
21235
- interactive: "default"
21236
- },
21237
- mcp: { entityTool: "sharedreports" },
21238
- inputSchema: /* @__PURE__ */ looseObject({
21239
- id: /* @__PURE__ */ number$2(),
21240
- payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21241
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21242
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21243
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21244
- })) })
21245
- }),
21246
- execute: (input, { client }) => {
21247
- const data = input;
21248
- return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
21249
- client.httpClient,
21250
- client.workspaceIdNumber,
21251
- data.id,
21252
- data.payload ?? data.data ?? data,
21253
- void 0
21254
- ]));
21255
- }
21256
- },
21257
- {
21258
- id: "focus.sharedreports.get-saved-view-shared-report",
21259
- family: "focus",
21260
- resource: "sharedreports",
21261
- action: "get-saved-view-shared-report",
21262
- title: "Get Saved View Shared Report Sharedreports",
21263
- description: "Get Saved View Shared Report Sharedreports.",
21264
- safety: "read",
21265
- destructive: false,
21266
- cli: {
21267
- group: ["sharedreports"],
21268
- command: "get-saved-view-shared-report",
21269
- interactive: "available"
21270
- },
21271
- mcp: { entityTool: "sharedreports" },
21272
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21273
- execute: (input, { client }) => {
21274
- const data = input;
21275
- return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
21276
- client.httpClient,
21277
- client.workspaceIdNumber,
21278
- data.id,
21279
- void 0
21280
- ]));
21281
- }
21282
- },
21283
- {
21284
- id: "focus.sharedreports.get-shared-report-for-viewer",
21285
- family: "focus",
21286
- resource: "sharedreports",
21287
- action: "get-shared-report-for-viewer",
21288
- title: "Get Shared Report For Viewer Sharedreports",
21289
- description: "Get Shared Report For Viewer Sharedreports.",
21290
- safety: "read",
21291
- destructive: false,
21292
- cli: {
21293
- group: ["sharedreports"],
21294
- command: "get-shared-report-for-viewer",
21295
- interactive: "available"
21296
- },
21297
- mcp: { entityTool: "sharedreports" },
21298
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
21299
- execute: (input, { client }) => {
21300
- const data = input;
21301
- return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
21302
- client.httpClient,
21303
- client.workspaceIdNumber,
21304
- data.id,
21305
- void 0
21306
- ]));
21307
- }
21308
- },
21309
- {
21310
- id: "focus.sharedreports.get-shared-reports-shared-by-me",
21311
- family: "focus",
21312
- resource: "sharedreports",
21313
- action: "get-shared-reports-shared-by-me",
21314
- title: "Get Shared Reports Shared By Me Sharedreports",
21315
- description: "Get Shared Reports Shared By Me Sharedreports.",
21316
- safety: "read",
21317
- destructive: false,
21318
- cli: {
21319
- group: ["sharedreports"],
21320
- command: "get-shared-reports-shared-by-me",
21321
- interactive: "hidden"
21322
- },
21323
- mcp: { entityTool: "sharedreports" },
21324
- inputSchema: /* @__PURE__ */ looseObject({}),
21325
- execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
21326
- client.httpClient,
21327
- client.workspaceIdNumber,
21328
- void 0
21329
- ]))
21330
- },
21331
- {
21332
- id: "focus.sharedreports.get-shared-reports-shared-with-me",
21333
- family: "focus",
21334
- resource: "sharedreports",
21335
- action: "get-shared-reports-shared-with-me",
21336
- title: "Get Shared Reports Shared With Me Sharedreports",
21337
- description: "Get Shared Reports Shared With Me Sharedreports.",
21338
- safety: "read",
21339
- destructive: false,
21340
- cli: {
21341
- group: ["sharedreports"],
21342
- command: "get-shared-reports-shared-with-me",
21343
- interactive: "hidden"
21344
- },
21345
- mcp: { entityTool: "sharedreports" },
21346
- inputSchema: /* @__PURE__ */ looseObject({}),
21347
- execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
21348
- client.httpClient,
21349
- client.workspaceIdNumber,
21350
- void 0
21351
- ]))
21352
- },
21353
- {
21354
- id: "focus.sharedreports.revoke-shared-report-grant",
21355
- family: "focus",
21356
- resource: "sharedreports",
21357
- action: "revoke-shared-report-grant",
21358
- title: "Revoke Shared Report Grant Sharedreports",
21359
- description: "Revoke Shared Report Grant Sharedreports.",
21360
- safety: "delete",
21361
- destructive: true,
21362
- cli: {
21363
- group: ["sharedreports"],
21364
- command: "revoke-shared-report-grant",
21365
- interactive: "default"
21366
- },
21367
- mcp: { entityTool: "sharedreports" },
21368
- inputSchema: /* @__PURE__ */ looseObject({
21369
- grant_id: /* @__PURE__ */ number$2(),
21370
- id: /* @__PURE__ */ number$2()
21371
- }),
21372
- execute: (input, { client }) => {
21373
- const data = input;
21374
- return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
21375
- client.httpClient,
21376
- client.workspaceIdNumber,
21377
- data.id,
21378
- data.grant_id,
21379
- void 0
21380
- ]));
21381
- }
21382
- },
21383
- {
21384
- id: "focus.sharedreports.share-saved-view",
21385
- family: "focus",
21386
- resource: "sharedreports",
21387
- action: "share-saved-view",
21388
- title: "Share Saved View Sharedreports",
21389
- description: "Share Saved View Sharedreports.",
21390
- safety: "update",
21391
- destructive: false,
21392
- cli: {
21393
- group: ["sharedreports"],
21394
- command: "share-saved-view",
21395
- interactive: "hidden"
21396
- },
21397
- mcp: { entityTool: "sharedreports" },
21398
- inputSchema: /* @__PURE__ */ looseObject({
21399
- id: /* @__PURE__ */ number$2(),
21400
- payload: /* @__PURE__ */ looseObject({
21401
- charts: /* @__PURE__ */ unknown$1(),
21402
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21403
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21404
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21405
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21406
- })
21407
- }),
21408
- execute: (input, { client }) => {
21409
- const data = input;
21410
- return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
21411
- client.httpClient,
21412
- client.workspaceIdNumber,
21413
- data.id,
21414
- data.payload ?? data.data ?? data,
21415
- void 0
21416
- ]));
21417
- }
21418
- },
21419
- {
21420
- id: "focus.sharedreports.share-saved-view-many",
21421
- family: "focus",
21422
- resource: "sharedreports",
21423
- action: "share-saved-view-many",
21424
- title: "Share Saved View Many Sharedreports",
21425
- description: "Share Saved View Many Sharedreports.",
21426
- safety: "update",
21427
- destructive: false,
21428
- cli: {
21429
- group: ["sharedreports"],
21430
- command: "share-saved-view-many",
21431
- interactive: "hidden"
21432
- },
21433
- mcp: { entityTool: "sharedreports" },
21434
- inputSchema: /* @__PURE__ */ looseObject({
21435
- id: /* @__PURE__ */ number$2(),
21436
- payload: /* @__PURE__ */ looseObject({
21437
- charts: /* @__PURE__ */ unknown$1(),
21438
- grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21439
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21440
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21441
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21442
- })),
21443
- period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21444
- })
21445
- }),
21446
- execute: (input, { client }) => {
21447
- const data = input;
21448
- return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
21449
- client.httpClient,
21450
- client.workspaceIdNumber,
21451
- data.id,
21452
- data.payload ?? data.data ?? data,
21453
- void 0
21454
- ]));
21455
- }
21456
- },
21457
20753
  {
21458
20754
  id: "focus.statuses.create-status",
21459
20755
  family: "focus",
@@ -21710,181 +21006,22 @@ const generatedFocusOperations = [
21710
21006
  family: "focus",
21711
21007
  resource: "subscriptions",
21712
21008
  action: "upsert-forced-trial",
21713
- title: "Upsert Forced Trial Subscriptions",
21714
- description: "Upsert Forced Trial Subscriptions.",
21715
- safety: "update",
21716
- destructive: false,
21717
- cli: {
21718
- group: ["subscriptions"],
21719
- command: "upsert-forced-trial",
21720
- interactive: "default"
21721
- },
21722
- mcp: { entityTool: "subscriptions" },
21723
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
21724
- execute: (input, { client }) => {
21725
- const data = input;
21726
- return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
21727
- client.httpClient,
21728
- client.organizationId,
21729
- client.workspaceIdNumber,
21730
- data.payload ?? data.data ?? data,
21731
- void 0
21732
- ]));
21733
- }
21734
- },
21735
- {
21736
- id: "focus.tags.archive",
21737
- family: "focus",
21738
- resource: "tags",
21739
- action: "archive",
21740
- title: "Archive Tags",
21741
- description: "Archive Tags.",
21742
- safety: "update",
21743
- destructive: false,
21744
- cli: {
21745
- group: ["tags"],
21746
- command: "archive",
21747
- interactive: "default"
21748
- },
21749
- mcp: { entityTool: "tags" },
21750
- inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
21751
- execute: (input, { client }) => {
21752
- const data = input;
21753
- return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
21754
- client.httpClient,
21755
- client.workspaceIdNumber,
21756
- data.tag_id,
21757
- void 0
21758
- ]));
21759
- }
21760
- },
21761
- {
21762
- id: "focus.tags.bulk-archive",
21763
- family: "focus",
21764
- resource: "tags",
21765
- action: "bulk-archive",
21766
- title: "Bulk Archive Tags",
21767
- description: "Bulk Archive Tags.",
21768
- safety: "update",
21769
- destructive: false,
21770
- cli: {
21771
- group: ["tags", "bulk"],
21772
- command: "archive",
21773
- interactive: "default"
21774
- },
21775
- mcp: { entityTool: "tags" },
21776
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
21777
- execute: (input, { client }) => {
21778
- const data = input;
21779
- return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
21780
- client.httpClient,
21781
- client.workspaceIdNumber,
21782
- data.payload ?? data.data ?? data,
21783
- void 0
21784
- ]));
21785
- }
21786
- },
21787
- {
21788
- id: "focus.tags.bulk-create",
21789
- family: "focus",
21790
- resource: "tags",
21791
- action: "bulk-create",
21792
- title: "Bulk Create Tags",
21793
- description: "Bulk Create Tags.",
21794
- safety: "create",
21795
- destructive: false,
21796
- cli: {
21797
- group: ["tags", "bulk"],
21798
- command: "create",
21799
- interactive: "default"
21800
- },
21801
- mcp: { entityTool: "tags" },
21802
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
21803
- color: /* @__PURE__ */ string$1(),
21804
- name: /* @__PURE__ */ string$1()
21805
- })) }) }),
21806
- execute: (input, { client }) => {
21807
- const data = input;
21808
- return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
21809
- client.httpClient,
21810
- client.workspaceIdNumber,
21811
- data.payload ?? data.data ?? data,
21812
- void 0
21813
- ]));
21814
- }
21815
- },
21816
- {
21817
- id: "focus.tags.bulk-delete",
21818
- family: "focus",
21819
- resource: "tags",
21820
- action: "bulk-delete",
21821
- title: "Bulk Delete Tags",
21822
- description: "Bulk Delete Tags.",
21823
- safety: "delete",
21824
- destructive: true,
21825
- cli: {
21826
- group: ["tags", "bulk"],
21827
- command: "delete",
21828
- interactive: "default"
21829
- },
21830
- mcp: { entityTool: "tags" },
21831
- inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
21832
- execute: (input, { client }) => {
21833
- const data = input;
21834
- return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
21835
- client.httpClient,
21836
- client.workspaceIdNumber,
21837
- data.ids,
21838
- void 0
21839
- ]));
21840
- }
21841
- },
21842
- {
21843
- id: "focus.tags.bulk-restore",
21844
- family: "focus",
21845
- resource: "tags",
21846
- action: "bulk-restore",
21847
- title: "Bulk Restore Tags",
21848
- description: "Bulk Restore Tags.",
21849
- safety: "update",
21850
- destructive: false,
21851
- cli: {
21852
- group: ["tags", "bulk"],
21853
- command: "restore",
21854
- interactive: "default"
21855
- },
21856
- mcp: { entityTool: "tags" },
21857
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
21858
- execute: (input, { client }) => {
21859
- const data = input;
21860
- return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
21861
- client.httpClient,
21862
- client.workspaceIdNumber,
21863
- data.payload ?? data.data ?? data,
21864
- void 0
21865
- ]));
21866
- }
21867
- },
21868
- {
21869
- id: "focus.tags.bulk-unarchive",
21870
- family: "focus",
21871
- resource: "tags",
21872
- action: "bulk-unarchive",
21873
- title: "Bulk Unarchive Tags",
21874
- description: "Bulk Unarchive Tags.",
21009
+ title: "Upsert Forced Trial Subscriptions",
21010
+ description: "Upsert Forced Trial Subscriptions.",
21875
21011
  safety: "update",
21876
21012
  destructive: false,
21877
21013
  cli: {
21878
- group: ["tags", "bulk"],
21879
- command: "unarchive",
21014
+ group: ["subscriptions"],
21015
+ command: "upsert-forced-trial",
21880
21016
  interactive: "default"
21881
21017
  },
21882
- mcp: { entityTool: "tags" },
21883
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
21018
+ mcp: { entityTool: "subscriptions" },
21019
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
21884
21020
  execute: (input, { client }) => {
21885
21021
  const data = input;
21886
- return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
21022
+ return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
21887
21023
  client.httpClient,
21024
+ client.organizationId,
21888
21025
  client.workspaceIdNumber,
21889
21026
  data.payload ?? data.data ?? data,
21890
21027
  void 0
@@ -21975,35 +21112,6 @@ const generatedFocusOperations = [
21975
21112
  return client.listTags(data);
21976
21113
  }
21977
21114
  },
21978
- {
21979
- id: "focus.tags.merge",
21980
- family: "focus",
21981
- resource: "tags",
21982
- action: "merge",
21983
- title: "Merge Tags",
21984
- description: "Merge Tags.",
21985
- safety: "update",
21986
- destructive: false,
21987
- cli: {
21988
- group: ["tags"],
21989
- command: "merge",
21990
- interactive: "default"
21991
- },
21992
- mcp: { entityTool: "tags" },
21993
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
21994
- source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
21995
- target_id: /* @__PURE__ */ number$2()
21996
- }) }),
21997
- execute: (input, { client }) => {
21998
- const data = input;
21999
- return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
22000
- client.httpClient,
22001
- client.workspaceIdNumber,
22002
- data.payload ?? data.data ?? data,
22003
- void 0
22004
- ]));
22005
- }
22006
- },
22007
21115
  {
22008
21116
  id: "focus.tags.restore",
22009
21117
  family: "focus",
@@ -22030,32 +21138,6 @@ const generatedFocusOperations = [
22030
21138
  ]));
22031
21139
  }
22032
21140
  },
22033
- {
22034
- id: "focus.tags.unarchive",
22035
- family: "focus",
22036
- resource: "tags",
22037
- action: "unarchive",
22038
- title: "Unarchive Tags",
22039
- description: "Unarchive Tags.",
22040
- safety: "update",
22041
- destructive: false,
22042
- cli: {
22043
- group: ["tags"],
22044
- command: "unarchive",
22045
- interactive: "default"
22046
- },
22047
- mcp: { entityTool: "tags" },
22048
- inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
22049
- execute: (input, { client }) => {
22050
- const data = input;
22051
- return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
22052
- client.httpClient,
22053
- client.workspaceIdNumber,
22054
- data.tag_id,
22055
- void 0
22056
- ]));
22057
- }
22058
- },
22059
21141
  {
22060
21142
  id: "focus.tags.update",
22061
21143
  family: "focus",
@@ -22737,12 +21819,12 @@ const generatedFocusOperations = [
22737
21819
  mcp: { entityTool: "tasks" },
22738
21820
  inputSchema: /* @__PURE__ */ looseObject({
22739
21821
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22740
- assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22741
21822
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22742
21823
  dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22743
21824
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22744
21825
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22745
21826
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21827
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22746
21828
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22747
21829
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22748
21830
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22779,6 +21861,7 @@ const generatedFocusOperations = [
22779
21861
  inputSchema: /* @__PURE__ */ looseObject({
22780
21862
  active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22781
21863
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21864
+ assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22782
21865
  assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22783
21866
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22784
21867
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22795,6 +21878,7 @@ const generatedFocusOperations = [
22795
21878
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22796
21879
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22797
21880
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21881
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22798
21882
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22799
21883
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22800
21884
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22850,6 +21934,7 @@ const generatedFocusOperations = [
22850
21934
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22851
21935
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22852
21936
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21937
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22853
21938
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22854
21939
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22855
21940
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22890,6 +21975,7 @@ const generatedFocusOperations = [
22890
21975
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22891
21976
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22892
21977
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21978
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22893
21979
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22894
21980
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22895
21981
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22930,7 +22016,6 @@ const generatedFocusOperations = [
22930
22016
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22931
22017
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22932
22018
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22933
- collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22934
22019
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22935
22020
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22936
22021
  end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22944,8 +22029,7 @@ const generatedFocusOperations = [
22944
22029
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22945
22030
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22946
22031
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22947
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22948
- include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22032
+ include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22949
22033
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22950
22034
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22951
22035
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22961,7 +22045,6 @@ const generatedFocusOperations = [
22961
22045
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22962
22046
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
22963
22047
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22964
- user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22965
22048
  user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
22966
22049
  }),
22967
22050
  execute: (input, { client }) => {
@@ -22976,118 +22059,6 @@ const generatedFocusOperations = [
22976
22059
  ]));
22977
22060
  }
22978
22061
  },
22979
- {
22980
- id: "focus.tasks.groups-get-user-task-groups-by-project",
22981
- family: "focus",
22982
- resource: "tasks",
22983
- action: "groups-get-user-task-groups-by-project",
22984
- title: "Groups Get User Task Groups By Project Tasks",
22985
- description: "Groups Get User Task Groups By Project Tasks.",
22986
- safety: "read",
22987
- destructive: false,
22988
- cli: {
22989
- group: ["tasks", "groups"],
22990
- command: "get-user-task-groups-by-project",
22991
- interactive: "hidden"
22992
- },
22993
- mcp: { entityTool: "tasks" },
22994
- inputSchema: /* @__PURE__ */ looseObject({
22995
- assignee_user_id: /* @__PURE__ */ number$2(),
22996
- cf_filter: /* @__PURE__ */ unknown$1(),
22997
- client_id: /* @__PURE__ */ number$2(),
22998
- collapse_recurring: /* @__PURE__ */ unknown$1(),
22999
- creator_id: /* @__PURE__ */ number$2(),
23000
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23001
- end_date_from: /* @__PURE__ */ unknown$1(),
23002
- end_date_to: /* @__PURE__ */ unknown$1(),
23003
- exclude_empty: /* @__PURE__ */ unknown$1(),
23004
- group_id: /* @__PURE__ */ number$2(),
23005
- include_assignees: /* @__PURE__ */ unknown$1(),
23006
- include_drafts: /* @__PURE__ */ unknown$1(),
23007
- include_unassigned: /* @__PURE__ */ unknown$1(),
23008
- include_unmaterialized: /* @__PURE__ */ unknown$1(),
23009
- min_days: /* @__PURE__ */ unknown$1(),
23010
- name: /* @__PURE__ */ unknown$1(),
23011
- priority: /* @__PURE__ */ unknown$1(),
23012
- private_: /* @__PURE__ */ unknown$1(),
23013
- project_id: /* @__PURE__ */ number$2(),
23014
- source: /* @__PURE__ */ unknown$1(),
23015
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23016
- start_date_from: /* @__PURE__ */ unknown$1(),
23017
- start_date_to: /* @__PURE__ */ unknown$1(),
23018
- status_id: /* @__PURE__ */ number$2(),
23019
- tag_id: /* @__PURE__ */ number$2(),
23020
- team_id: /* @__PURE__ */ number$2(),
23021
- user_cf_filter: /* @__PURE__ */ unknown$1(),
23022
- user_tag_id: /* @__PURE__ */ number$2()
23023
- }),
23024
- execute: (input, { client }) => {
23025
- const data = input;
23026
- return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
23027
- client.httpClient,
23028
- client.organizationId,
23029
- client.workspaceIdNumber,
23030
- data,
23031
- void 0
23032
- ]));
23033
- }
23034
- },
23035
- {
23036
- id: "focus.tasks.groups-get-user-task-groups-by-team",
23037
- family: "focus",
23038
- resource: "tasks",
23039
- action: "groups-get-user-task-groups-by-team",
23040
- title: "Groups Get User Task Groups By Team Tasks",
23041
- description: "Groups Get User Task Groups By Team Tasks.",
23042
- safety: "read",
23043
- destructive: false,
23044
- cli: {
23045
- group: ["tasks", "groups"],
23046
- command: "get-user-task-groups-by-team",
23047
- interactive: "hidden"
23048
- },
23049
- mcp: { entityTool: "tasks" },
23050
- inputSchema: /* @__PURE__ */ looseObject({
23051
- assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23052
- cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23053
- client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23054
- collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23055
- creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23056
- end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23057
- end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23058
- end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23059
- exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23060
- group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23061
- include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23062
- include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23063
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23064
- include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23065
- min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23066
- name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23067
- priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23068
- private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23069
- project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23070
- source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23071
- start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
23072
- start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23073
- start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23074
- status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23075
- tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23076
- team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23077
- user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23078
- user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
23079
- }),
23080
- execute: (input, { client }) => {
23081
- const data = input;
23082
- return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
23083
- client.httpClient,
23084
- client.organizationId,
23085
- client.workspaceIdNumber,
23086
- data,
23087
- void 0
23088
- ]));
23089
- }
23090
- },
23091
22062
  {
23092
22063
  id: "focus.tasks.groups-update",
23093
22064
  family: "focus",
@@ -23293,6 +22264,7 @@ const generatedFocusOperations = [
23293
22264
  name: /* @__PURE__ */ string$1(),
23294
22265
  status_id: /* @__PURE__ */ number$2(),
23295
22266
  auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22267
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23296
22268
  color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23297
22269
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23298
22270
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -23312,7 +22284,6 @@ const generatedFocusOperations = [
23312
22284
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23313
22285
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23314
22286
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23315
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23316
22287
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
23317
22288
  }),
23318
22289
  task_id: /* @__PURE__ */ number$2()
@@ -24321,40 +23292,6 @@ const generatedFocusOperations = [
24321
23292
  ]));
24322
23293
  }
24323
23294
  },
24324
- {
24325
- id: "focus.time-entries.groups-get-users",
24326
- family: "focus",
24327
- resource: "time-entries",
24328
- action: "groups-get-users",
24329
- title: "Groups Get Users Time Entries",
24330
- description: "Groups Get Users Time Entries.",
24331
- safety: "read",
24332
- destructive: false,
24333
- cli: {
24334
- group: ["time-entries", "groups"],
24335
- command: "get-users",
24336
- interactive: "hidden"
24337
- },
24338
- mcp: { entityTool: "time-entries" },
24339
- inputSchema: /* @__PURE__ */ looseObject({
24340
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
24341
- order_by: /* @__PURE__ */ unknown$1(),
24342
- page: /* @__PURE__ */ number$2(),
24343
- per_page: /* @__PURE__ */ unknown$1(),
24344
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
24345
- user_id: /* @__PURE__ */ number$2()
24346
- }),
24347
- execute: (input, { client }) => {
24348
- const data = input;
24349
- return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
24350
- client.httpClient,
24351
- client.organizationId,
24352
- client.workspaceIdNumber,
24353
- data,
24354
- void 0
24355
- ]));
24356
- }
24357
- },
24358
23295
  {
24359
23296
  id: "focus.time-entries.list",
24360
23297
  family: "focus",
@@ -24539,42 +23476,6 @@ const generatedFocusOperations = [
24539
23476
  inputSchema: emptySchema$1,
24540
23477
  execute: (_input, { client }) => client.stopTracking()
24541
23478
  },
24542
- {
24543
- id: "focus.time-entries.sync",
24544
- family: "focus",
24545
- resource: "time-entries",
24546
- action: "sync",
24547
- title: "Sync Time Entries",
24548
- description: "Sync Time Entries.",
24549
- safety: "update",
24550
- destructive: false,
24551
- cli: {
24552
- group: ["time-entries"],
24553
- command: "sync",
24554
- interactive: "default"
24555
- },
24556
- mcp: { entityTool: "time-entries" },
24557
- inputSchema: /* @__PURE__ */ looseObject({
24558
- client_uuid: /* @__PURE__ */ string$1(),
24559
- payload: /* @__PURE__ */ looseObject({
24560
- billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
24561
- client_updated_at: apiDateTimeString,
24562
- type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24563
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
24564
- })
24565
- }),
24566
- execute: (input, { client }) => {
24567
- const data = input;
24568
- return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
24569
- client.httpClient,
24570
- client.organizationId,
24571
- client.workspaceIdNumber,
24572
- data.client_uuid,
24573
- data.payload ?? data.data ?? data,
24574
- void 0
24575
- ]));
24576
- }
24577
- },
24578
23479
  {
24579
23480
  id: "focus.time-entries.tracking-get-tracked-time-entry",
24580
23481
  family: "focus",
@@ -24623,7 +23524,6 @@ const generatedFocusOperations = [
24623
23524
  create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24624
23525
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24625
23526
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24626
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24627
23527
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24628
23528
  extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24629
23529
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -24686,33 +23586,121 @@ const generatedFocusOperations = [
24686
23586
  safety: "update",
24687
23587
  destructive: false,
24688
23588
  cli: {
24689
- group: ["time-entries"],
24690
- command: "update",
24691
- interactive: "default"
23589
+ group: ["time-entries"],
23590
+ command: "update",
23591
+ interactive: "default"
23592
+ },
23593
+ mcp: { entityTool: "time-entries" },
23594
+ inputSchema: /* @__PURE__ */ looseObject({
23595
+ payload: /* @__PURE__ */ looseObject({
23596
+ type: /* @__PURE__ */ picklist$1(["activity", "break"]),
23597
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23598
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23599
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23600
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
23601
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23602
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23603
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
23604
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23605
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
23606
+ }),
23607
+ time_entry_id: /* @__PURE__ */ number$2()
23608
+ }),
23609
+ execute: (input, { client }) => {
23610
+ const data = input;
23611
+ return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
23612
+ client.httpClient,
23613
+ client.organizationId,
23614
+ client.workspaceIdNumber,
23615
+ data.time_entry_id,
23616
+ data.payload ?? data.data ?? data,
23617
+ void 0
23618
+ ]));
23619
+ }
23620
+ },
23621
+ {
23622
+ id: "focus.time-log-suggestions.get-for-acalendar-event-title",
23623
+ family: "focus",
23624
+ resource: "time-log-suggestions",
23625
+ action: "get-for-acalendar-event-title",
23626
+ title: "Get For Acalendar Event Title Time Log Suggestions",
23627
+ description: "Get For Acalendar Event Title Time Log Suggestions.",
23628
+ safety: "update",
23629
+ destructive: false,
23630
+ cli: {
23631
+ group: ["time-log-suggestions"],
23632
+ command: "get-for-acalendar-event-title",
23633
+ interactive: "default"
23634
+ },
23635
+ mcp: { entityTool: "time-log-suggestions" },
23636
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
23637
+ execute: (input, { client }) => {
23638
+ const data = input;
23639
+ return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
23640
+ client.httpClient,
23641
+ client.organizationId,
23642
+ client.workspaceIdNumber,
23643
+ data.payload ?? data.data ?? data,
23644
+ void 0
23645
+ ]));
23646
+ }
23647
+ },
23648
+ {
23649
+ id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
23650
+ family: "focus",
23651
+ resource: "time-log-suggestions",
23652
+ action: "get-for-multiple-calendar-event-titles",
23653
+ title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
23654
+ description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
23655
+ safety: "update",
23656
+ destructive: false,
23657
+ cli: {
23658
+ group: ["time-log-suggestions"],
23659
+ command: "get-for-multiple-calendar-event-titles",
23660
+ interactive: "default"
23661
+ },
23662
+ mcp: { entityTool: "time-log-suggestions" },
23663
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
23664
+ key: /* @__PURE__ */ string$1(),
23665
+ title: /* @__PURE__ */ string$1()
23666
+ })) }) }),
23667
+ execute: (input, { client }) => {
23668
+ const data = input;
23669
+ return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
23670
+ client.httpClient,
23671
+ client.organizationId,
23672
+ client.workspaceIdNumber,
23673
+ data.payload ?? data.data ?? data,
23674
+ void 0
23675
+ ]));
23676
+ }
23677
+ },
23678
+ {
23679
+ id: "focus.time-off.create-timeoff-for-ghost",
23680
+ family: "focus",
23681
+ resource: "time-off",
23682
+ action: "create-timeoff-for-ghost",
23683
+ title: "Create Timeoff For Ghost Time Off",
23684
+ description: "Create Timeoff For Ghost Time Off.",
23685
+ safety: "create",
23686
+ destructive: false,
23687
+ cli: {
23688
+ group: ["time-off"],
23689
+ command: "create-timeoff-for-ghost",
23690
+ interactive: "hidden"
24692
23691
  },
24693
- mcp: { entityTool: "time-entries" },
23692
+ mcp: { entityTool: "time-off" },
24694
23693
  inputSchema: /* @__PURE__ */ looseObject({
24695
- payload: /* @__PURE__ */ looseObject({
24696
- type: /* @__PURE__ */ picklist$1(["activity", "break"]),
24697
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24698
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24699
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24700
- planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
24701
- planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24702
- planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24703
- start: /* @__PURE__ */ optional$1(apiDateTimeString),
24704
- time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24705
- tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
24706
- }),
24707
- time_entry_id: /* @__PURE__ */ number$2()
23694
+ ghost_id: /* @__PURE__ */ number$2(),
23695
+ payload: /* @__PURE__ */ unknown$1()
24708
23696
  }),
24709
23697
  execute: (input, { client }) => {
24710
23698
  const data = input;
24711
- return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
23699
+ return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
24712
23700
  client.httpClient,
24713
23701
  client.organizationId,
24714
23702
  client.workspaceIdNumber,
24715
- data.time_entry_id,
23703
+ data.ghost_id,
24716
23704
  data.payload ?? data.data ?? data,
24717
23705
  void 0
24718
23706
  ]));
@@ -24748,6 +23736,37 @@ const generatedFocusOperations = [
24748
23736
  ]));
24749
23737
  }
24750
23738
  },
23739
+ {
23740
+ id: "focus.time-off.delete-timeoff-for-ghost",
23741
+ family: "focus",
23742
+ resource: "time-off",
23743
+ action: "delete-timeoff-for-ghost",
23744
+ title: "Delete Timeoff For Ghost Time Off",
23745
+ description: "Delete Timeoff For Ghost Time Off.",
23746
+ safety: "delete",
23747
+ destructive: true,
23748
+ cli: {
23749
+ group: ["time-off"],
23750
+ command: "delete-timeoff-for-ghost",
23751
+ interactive: "hidden"
23752
+ },
23753
+ mcp: { entityTool: "time-off" },
23754
+ inputSchema: /* @__PURE__ */ looseObject({
23755
+ ghost_id: /* @__PURE__ */ number$2(),
23756
+ payload: /* @__PURE__ */ unknown$1()
23757
+ }),
23758
+ execute: (input, { client }) => {
23759
+ const data = input;
23760
+ return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
23761
+ client.httpClient,
23762
+ client.organizationId,
23763
+ client.workspaceIdNumber,
23764
+ data.ghost_id,
23765
+ data.payload ?? data.data ?? data,
23766
+ void 0
23767
+ ]));
23768
+ }
23769
+ },
24751
23770
  {
24752
23771
  id: "focus.time-off.delete-timeoff-for-user",
24753
23772
  family: "focus",
@@ -24778,6 +23797,38 @@ const generatedFocusOperations = [
24778
23797
  ]));
24779
23798
  }
24780
23799
  },
23800
+ {
23801
+ id: "focus.time-off.get-timeoff-for-ghost",
23802
+ family: "focus",
23803
+ resource: "time-off",
23804
+ action: "get-timeoff-for-ghost",
23805
+ title: "Get Timeoff For Ghost Time Off",
23806
+ description: "Get Timeoff For Ghost Time Off.",
23807
+ safety: "read",
23808
+ destructive: false,
23809
+ cli: {
23810
+ group: ["time-off"],
23811
+ command: "get-timeoff-for-ghost",
23812
+ interactive: "hidden"
23813
+ },
23814
+ mcp: { entityTool: "time-off" },
23815
+ inputSchema: /* @__PURE__ */ looseObject({
23816
+ from: /* @__PURE__ */ unknown$1(),
23817
+ ghost_id: /* @__PURE__ */ number$2(),
23818
+ to: /* @__PURE__ */ unknown$1()
23819
+ }),
23820
+ execute: (input, { client }) => {
23821
+ const data = input;
23822
+ return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
23823
+ client.httpClient,
23824
+ client.organizationId,
23825
+ client.workspaceIdNumber,
23826
+ data.ghost_id,
23827
+ data,
23828
+ void 0
23829
+ ]));
23830
+ }
23831
+ },
24781
23832
  {
24782
23833
  id: "focus.time-off.get-timeoff-for-user",
24783
23834
  family: "focus",
@@ -24809,6 +23860,37 @@ const generatedFocusOperations = [
24809
23860
  ]));
24810
23861
  }
24811
23862
  },
23863
+ {
23864
+ id: "focus.time-off.get-timeoffs-by-ghost-ids",
23865
+ family: "focus",
23866
+ resource: "time-off",
23867
+ action: "get-timeoffs-by-ghost-ids",
23868
+ title: "Get Timeoffs By Ghost Ids Time Off",
23869
+ description: "Get Timeoffs By Ghost Ids Time Off.",
23870
+ safety: "read",
23871
+ destructive: false,
23872
+ cli: {
23873
+ group: ["time-off"],
23874
+ command: "get-timeoffs-by-ghost-ids",
23875
+ interactive: "hidden"
23876
+ },
23877
+ mcp: { entityTool: "time-off" },
23878
+ inputSchema: /* @__PURE__ */ looseObject({
23879
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23880
+ ghost_ids: /* @__PURE__ */ unknown$1(),
23881
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
23882
+ }),
23883
+ execute: (input, { client }) => {
23884
+ const data = input;
23885
+ return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
23886
+ client.httpClient,
23887
+ client.organizationId,
23888
+ client.workspaceIdNumber,
23889
+ data,
23890
+ void 0
23891
+ ]));
23892
+ }
23893
+ },
24812
23894
  {
24813
23895
  id: "focus.time-off.get-timeoffs-by-user-ids",
24814
23896
  family: "focus",
@@ -24839,6 +23921,37 @@ const generatedFocusOperations = [
24839
23921
  ]));
24840
23922
  }
24841
23923
  },
23924
+ {
23925
+ id: "focus.time-off.update-timeoff-for-ghost",
23926
+ family: "focus",
23927
+ resource: "time-off",
23928
+ action: "update-timeoff-for-ghost",
23929
+ title: "Update Timeoff For Ghost Time Off",
23930
+ description: "Update Timeoff For Ghost Time Off.",
23931
+ safety: "update",
23932
+ destructive: false,
23933
+ cli: {
23934
+ group: ["time-off"],
23935
+ command: "update-timeoff-for-ghost",
23936
+ interactive: "hidden"
23937
+ },
23938
+ mcp: { entityTool: "time-off" },
23939
+ inputSchema: /* @__PURE__ */ looseObject({
23940
+ ghost_id: /* @__PURE__ */ number$2(),
23941
+ payload: /* @__PURE__ */ unknown$1()
23942
+ }),
23943
+ execute: (input, { client }) => {
23944
+ const data = input;
23945
+ return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
23946
+ client.httpClient,
23947
+ client.organizationId,
23948
+ client.workspaceIdNumber,
23949
+ data.ghost_id,
23950
+ data.payload ?? data.data ?? data,
23951
+ void 0
23952
+ ]));
23953
+ }
23954
+ },
24842
23955
  {
24843
23956
  id: "focus.time-off.update-timeoff-for-user",
24844
23957
  family: "focus",
@@ -25870,7 +24983,6 @@ const generatedFocusOperations = [
25870
24983
  pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
25871
24984
  pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
25872
24985
  pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25873
- send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25874
24986
  send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25875
24987
  shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25876
24988
  show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -25972,6 +25084,37 @@ const generatedFocusOperations = [
25972
25084
  inputSchema: /* @__PURE__ */ looseObject({}),
25973
25085
  execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
25974
25086
  },
25087
+ {
25088
+ id: "focus.working-hours.create-for-ghost",
25089
+ family: "focus",
25090
+ resource: "working-hours",
25091
+ action: "create-for-ghost",
25092
+ title: "Create For Ghost Working Hours",
25093
+ description: "Create For Ghost Working Hours.",
25094
+ safety: "create",
25095
+ destructive: false,
25096
+ cli: {
25097
+ group: ["working-hours"],
25098
+ command: "create-for-ghost",
25099
+ interactive: "hidden"
25100
+ },
25101
+ mcp: { entityTool: "working-hours" },
25102
+ inputSchema: /* @__PURE__ */ looseObject({
25103
+ ghost_id: /* @__PURE__ */ number$2(),
25104
+ payload: /* @__PURE__ */ unknown$1()
25105
+ }),
25106
+ execute: (input, { client }) => {
25107
+ const data = input;
25108
+ return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
25109
+ client.httpClient,
25110
+ client.organizationId,
25111
+ client.workspaceIdNumber,
25112
+ data.ghost_id,
25113
+ data.payload ?? data.data ?? data,
25114
+ void 0
25115
+ ]));
25116
+ }
25117
+ },
25975
25118
  {
25976
25119
  id: "focus.working-hours.create-for-user",
25977
25120
  family: "focus",
@@ -26002,6 +25145,37 @@ const generatedFocusOperations = [
26002
25145
  ]));
26003
25146
  }
26004
25147
  },
25148
+ {
25149
+ id: "focus.working-hours.delete-for-ghost",
25150
+ family: "focus",
25151
+ resource: "working-hours",
25152
+ action: "delete-for-ghost",
25153
+ title: "Delete For Ghost Working Hours",
25154
+ description: "Delete For Ghost Working Hours.",
25155
+ safety: "delete",
25156
+ destructive: true,
25157
+ cli: {
25158
+ group: ["working-hours"],
25159
+ command: "delete-for-ghost",
25160
+ interactive: "hidden"
25161
+ },
25162
+ mcp: { entityTool: "working-hours" },
25163
+ inputSchema: /* @__PURE__ */ looseObject({
25164
+ ghost_id: /* @__PURE__ */ number$2(),
25165
+ payload: /* @__PURE__ */ unknown$1()
25166
+ }),
25167
+ execute: (input, { client }) => {
25168
+ const data = input;
25169
+ return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
25170
+ client.httpClient,
25171
+ client.organizationId,
25172
+ client.workspaceIdNumber,
25173
+ data.ghost_id,
25174
+ data.payload ?? data.data ?? data,
25175
+ void 0
25176
+ ]));
25177
+ }
25178
+ },
26005
25179
  {
26006
25180
  id: "focus.working-hours.delete-for-user",
26007
25181
  family: "focus",
@@ -26032,6 +25206,33 @@ const generatedFocusOperations = [
26032
25206
  ]));
26033
25207
  }
26034
25208
  },
25209
+ {
25210
+ id: "focus.working-hours.get-for-ghost",
25211
+ family: "focus",
25212
+ resource: "working-hours",
25213
+ action: "get-for-ghost",
25214
+ title: "Get For Ghost Working Hours",
25215
+ description: "Get For Ghost Working Hours.",
25216
+ safety: "read",
25217
+ destructive: false,
25218
+ cli: {
25219
+ group: ["working-hours"],
25220
+ command: "get-for-ghost",
25221
+ interactive: "available"
25222
+ },
25223
+ mcp: { entityTool: "working-hours" },
25224
+ inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
25225
+ execute: (input, { client }) => {
25226
+ const data = input;
25227
+ return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
25228
+ client.httpClient,
25229
+ client.organizationId,
25230
+ client.workspaceIdNumber,
25231
+ data.ghost_id,
25232
+ void 0
25233
+ ]));
25234
+ }
25235
+ },
26035
25236
  {
26036
25237
  id: "focus.working-hours.get-for-user",
26037
25238
  family: "focus",
@@ -26058,6 +25259,37 @@ const generatedFocusOperations = [
26058
25259
  ]));
26059
25260
  }
26060
25261
  },
25262
+ {
25263
+ id: "focus.working-hours.update-for-ghost",
25264
+ family: "focus",
25265
+ resource: "working-hours",
25266
+ action: "update-for-ghost",
25267
+ title: "Update For Ghost Working Hours",
25268
+ description: "Update For Ghost Working Hours.",
25269
+ safety: "update",
25270
+ destructive: false,
25271
+ cli: {
25272
+ group: ["working-hours"],
25273
+ command: "update-for-ghost",
25274
+ interactive: "hidden"
25275
+ },
25276
+ mcp: { entityTool: "working-hours" },
25277
+ inputSchema: /* @__PURE__ */ looseObject({
25278
+ ghost_id: /* @__PURE__ */ number$2(),
25279
+ payload: /* @__PURE__ */ unknown$1()
25280
+ }),
25281
+ execute: (input, { client }) => {
25282
+ const data = input;
25283
+ return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
25284
+ client.httpClient,
25285
+ client.organizationId,
25286
+ client.workspaceIdNumber,
25287
+ data.ghost_id,
25288
+ data.payload ?? data.data ?? data,
25289
+ void 0
25290
+ ]));
25291
+ }
25292
+ },
26061
25293
  {
26062
25294
  id: "focus.working-hours.update-for-user",
26063
25295
  family: "focus",
@@ -26132,50 +25364,6 @@ const generatedFocusOperations = [
26132
25364
  void 0
26133
25365
  ]))
26134
25366
  },
26135
- {
26136
- id: "focus.workspace-settings.get-workspace-export-branding",
26137
- family: "focus",
26138
- resource: "workspace-settings",
26139
- action: "get-workspace-export-branding",
26140
- title: "Get Workspace Export Branding Workspace Settings",
26141
- description: "Get Workspace Export Branding Workspace Settings.",
26142
- safety: "read",
26143
- destructive: false,
26144
- cli: {
26145
- group: ["workspace-settings"],
26146
- command: "get-workspace-export-branding",
26147
- interactive: "hidden"
26148
- },
26149
- mcp: { entityTool: "workspace-settings" },
26150
- inputSchema: /* @__PURE__ */ looseObject({}),
26151
- execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
26152
- client.httpClient,
26153
- client.workspaceIdNumber,
26154
- void 0
26155
- ]))
26156
- },
26157
- {
26158
- id: "focus.workspace-settings.get-workspace-watermark",
26159
- family: "focus",
26160
- resource: "workspace-settings",
26161
- action: "get-workspace-watermark",
26162
- title: "Get Workspace Watermark Workspace Settings",
26163
- description: "Get Workspace Watermark Workspace Settings.",
26164
- safety: "read",
26165
- destructive: false,
26166
- cli: {
26167
- group: ["workspace-settings"],
26168
- command: "get-workspace-watermark",
26169
- interactive: "hidden"
26170
- },
26171
- mcp: { entityTool: "workspace-settings" },
26172
- inputSchema: /* @__PURE__ */ looseObject({}),
26173
- execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
26174
- client.httpClient,
26175
- client.workspaceIdNumber,
26176
- void 0
26177
- ]))
26178
- },
26179
25367
  {
26180
25368
  id: "focus.workspace-settings.list",
26181
25369
  family: "focus",
@@ -26250,32 +25438,6 @@ const generatedFocusOperations = [
26250
25438
  ]));
26251
25439
  }
26252
25440
  },
26253
- {
26254
- id: "focus.workspace-settings.update-workspace-watermark",
26255
- family: "focus",
26256
- resource: "workspace-settings",
26257
- action: "update-workspace-watermark",
26258
- title: "Update Workspace Watermark Workspace Settings",
26259
- description: "Update Workspace Watermark Workspace Settings.",
26260
- safety: "update",
26261
- destructive: false,
26262
- cli: {
26263
- group: ["workspace-settings"],
26264
- command: "update-workspace-watermark",
26265
- interactive: "default"
26266
- },
26267
- mcp: { entityTool: "workspace-settings" },
26268
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
26269
- execute: (input, { client }) => {
26270
- const data = input;
26271
- return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
26272
- client.httpClient,
26273
- client.workspaceIdNumber,
26274
- data.payload ?? data.data ?? data,
26275
- void 0
26276
- ]));
26277
- }
26278
- },
26279
25441
  {
26280
25442
  id: "focus.workspace.get-context",
26281
25443
  family: "focus",
@@ -27915,4 +27077,4 @@ Common commands:
27915
27077
  //#endregion
27916
27078
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
27917
27079
 
27918
- //# sourceMappingURL=program-D3kHbKiG.js.map
27080
+ //# sourceMappingURL=program-BTcLDXnP.js.map