@togglhq/cli 1.11.115 → 1.11.116

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