@togglhq/cli 1.11.171 → 1.11.173

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7236,7 +7236,11 @@ function pipe(...pipe$1) {
7236
7236
  }
7237
7237
  const TaskAssignmentSchema = /* @__PURE__ */ object({
7238
7238
  id: /* @__PURE__ */ number(),
7239
- type: /* @__PURE__ */ picklist(["user", "team"])
7239
+ type: /* @__PURE__ */ picklist([
7240
+ "user",
7241
+ "ghost",
7242
+ "team"
7243
+ ])
7240
7244
  });
7241
7245
  const ClientLiteSchema = /* @__PURE__ */ object({
7242
7246
  id: /* @__PURE__ */ number(),
@@ -7278,8 +7282,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
7278
7282
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7279
7283
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
7280
7284
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7281
- rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
7282
- recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("RecurringProjectID links an instance to its recurring template, so clients can lane an entry under a collapsed series.")))
7285
+ rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
7283
7286
  });
7284
7287
  const TaskMetadataSchema = /* @__PURE__ */ object({
7285
7288
  all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7352,7 +7355,7 @@ const TaskSchema = /* @__PURE__ */ object({
7352
7355
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7353
7356
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
7354
7357
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7355
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7358
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7356
7359
  client: /* @__PURE__ */ optional(ClientLiteSchema),
7357
7360
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7358
7361
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -7360,6 +7363,7 @@ const TaskSchema = /* @__PURE__ */ object({
7360
7363
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7361
7364
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7362
7365
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7366
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7363
7367
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7364
7368
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7365
7369
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7369,7 +7373,6 @@ const TaskSchema = /* @__PURE__ */ object({
7369
7373
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7370
7374
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7371
7375
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7372
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7373
7376
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7374
7377
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7375
7378
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -7413,7 +7416,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7413
7416
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7414
7417
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
7415
7418
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7416
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7419
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7417
7420
  client: /* @__PURE__ */ optional(ClientLiteSchema),
7418
7421
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7419
7422
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -7421,6 +7424,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7421
7424
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7422
7425
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7423
7426
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7427
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7424
7428
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7425
7429
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7426
7430
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -7431,7 +7435,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7431
7435
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7432
7436
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7433
7437
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7434
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7435
7438
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7436
7439
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7437
7440
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -7590,7 +7593,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
7590
7593
  tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
7591
7594
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7592
7595
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7593
- timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
7596
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
7594
7597
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7595
7598
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7596
7599
  });
@@ -7734,7 +7737,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
7734
7737
  task: /* @__PURE__ */ optional(TaskSchema),
7735
7738
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7736
7739
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7737
- timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
7740
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
7738
7741
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7739
7742
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7740
7743
  })),
@@ -7746,15 +7749,9 @@ const TagSchema$1 = /* @__PURE__ */ object({
7746
7749
  id: /* @__PURE__ */ number(),
7747
7750
  name: /* @__PURE__ */ string(),
7748
7751
  workspace_id: /* @__PURE__ */ number(),
7749
- archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()), /* @__PURE__ */ description("An archived tag disappears from the apply affordance but stays attached to and readable on every existing entity. Nothing cascades."))),
7750
7752
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7751
7753
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7752
- updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7753
- usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
7754
- projects: /* @__PURE__ */ number(),
7755
- tasks: /* @__PURE__ */ number(),
7756
- time_entries: /* @__PURE__ */ number()
7757
- })), /* @__PURE__ */ description("Counts of the projects, tasks and time entries whose tag set directly contains this tag. Only present on the tags list, for callers with unrestricted project access.")))
7754
+ updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7758
7755
  });
7759
7756
  const PaginatedTagsSchema = /* @__PURE__ */ object({
7760
7757
  data: /* @__PURE__ */ array(TagSchema$1),
@@ -7765,8 +7762,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
7765
7762
  const OrganizationUserResponseSchema = /* @__PURE__ */ object({
7766
7763
  "2fa_enabled": /* @__PURE__ */ boolean(),
7767
7764
  account_locked_at: /* @__PURE__ */ string(),
7768
- accounts_role_id: /* @__PURE__ */ number(),
7769
7765
  active: /* @__PURE__ */ boolean(),
7766
+ admin: /* @__PURE__ */ boolean(),
7770
7767
  can_edit_personal_details: /* @__PURE__ */ boolean(),
7771
7768
  created_at: /* @__PURE__ */ string(),
7772
7769
  deleted_at: /* @__PURE__ */ string(),
@@ -7815,9 +7812,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
7815
7812
  track_role_id: /* @__PURE__ */ number(),
7816
7813
  work_role_id: /* @__PURE__ */ number(),
7817
7814
  workspace_user_id: /* @__PURE__ */ number()
7818
- })),
7819
- custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
7820
- has_calendar_integration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("HasCalendarIntegration is true when the member has a calendar connected in Focus. The field is present only when the request sets include_calendar_integration to true and the calendar lookup succeeded. The field is absent when the lookup failed. Absent means unknown. It does not mean false. A member who connected a calendar in another product stays false here until they open the Focus calendar integrations page.")))
7815
+ }))
7821
7816
  });
7822
7817
  const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7823
7818
  const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
@@ -7894,7 +7889,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7894
7889
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7895
7890
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7896
7891
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7897
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
7892
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7893
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7898
7894
  integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7899
7895
  integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7900
7896
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -7910,7 +7906,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7910
7906
  priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7911
7907
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7912
7908
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7913
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7914
7909
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7915
7910
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7916
7911
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7920,23 +7915,22 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7920
7915
  const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7921
7916
  const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
7922
7917
  cascade_duplicate_children: /* @__PURE__ */ boolean(),
7923
- task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)),
7924
- private: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Optional privacy override applied to every duplicated task (and cascaded children). When omitted, each task keeps the source task's private flag. Used when FE must force public (plan lacks private tasks) or private (user can only create private) instead of falling back to composite create.")))
7918
+ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
7925
7919
  });
7926
7920
  const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7927
7921
  const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7928
7922
  const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7929
- after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7930
7923
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
7931
7924
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7932
7925
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7933
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7926
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7934
7927
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7935
7928
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
7936
7929
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7937
7930
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7938
7931
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7939
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
7932
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7933
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7940
7934
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7941
7935
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7942
7936
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7953,7 +7947,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7953
7947
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7954
7948
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7955
7949
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7956
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7957
7950
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7958
7951
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7959
7952
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7962,17 +7955,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7962
7955
  });
7963
7956
  const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7964
7957
  id: /* @__PURE__ */ number(),
7965
- after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7966
7958
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
7967
7959
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7968
7960
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7969
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7961
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7970
7962
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7971
7963
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
7972
7964
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7973
7965
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7974
7966
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7975
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
7967
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7968
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7976
7969
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7977
7970
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7978
7971
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7989,7 +7982,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7989
7982
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7990
7983
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7991
7984
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7992
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7993
7985
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7994
7986
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7995
7987
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -9913,7 +9905,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
9913
9905
  })
9914
9906
  }).json();
9915
9907
  }
9916
- async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
9908
+ async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group } = {}, signal) {
9917
9909
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
9918
9910
  signal,
9919
9911
  searchParams: buildSearchParams$2({
@@ -9933,10 +9925,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
9933
9925
  include_working_hours,
9934
9926
  include_rates,
9935
9927
  pinned_ids,
9936
- has_group,
9937
- cf_filter,
9938
- include_custom_fields,
9939
- include_calendar_integration
9928
+ has_group
9940
9929
  }, true)
9941
9930
  });
9942
9931
  return withResponseMeta(await response.json(), response.headers, response.status);
@@ -9955,7 +9944,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
9955
9944
  }
9956
9945
  //#endregion
9957
9946
  //#region ../focus-queries/dist/tags/requests.ts
9958
- async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
9947
+ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
9959
9948
  return await httpClient.get(`workspaces/${workspace_id}/tags`, {
9960
9949
  signal,
9961
9950
  searchParams: buildSearchParams$2({
@@ -9963,10 +9952,7 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
9963
9952
  page,
9964
9953
  per_page,
9965
9954
  order_by,
9966
- tag_id,
9967
- include_usage,
9968
- include_archived,
9969
- archived
9955
+ tag_id
9970
9956
  })
9971
9957
  }).json();
9972
9958
  }
@@ -9976,42 +9962,6 @@ async function createTag(httpClient, workspace_id, data, signal) {
9976
9962
  json: data
9977
9963
  }).json();
9978
9964
  }
9979
- async function bulkCreateTags(httpClient, workspace_id, data, signal) {
9980
- return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
9981
- signal,
9982
- json: data
9983
- }).json();
9984
- }
9985
- async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
9986
- return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
9987
- signal,
9988
- searchParams: buildSearchParams$2({ ids })
9989
- }).json();
9990
- }
9991
- async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
9992
- return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
9993
- signal,
9994
- json: data
9995
- }).json();
9996
- }
9997
- async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
9998
- return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
9999
- signal,
10000
- json: data
10001
- }).json();
10002
- }
10003
- async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
10004
- return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
10005
- signal,
10006
- json: data
10007
- }).json();
10008
- }
10009
- async function mergeTags(httpClient, workspace_id, data, signal) {
10010
- return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
10011
- signal,
10012
- json: data
10013
- }).json();
10014
- }
10015
9965
  async function getTag(httpClient, workspace_id, tag_id, signal) {
10016
9966
  return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
10017
9967
  }
@@ -10024,18 +9974,12 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
10024
9974
  async function deleteTag(httpClient, workspace_id, tag_id, signal) {
10025
9975
  return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
10026
9976
  }
10027
- async function archiveTag(httpClient, workspace_id, tag_id, signal) {
10028
- return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
10029
- }
10030
9977
  async function restoreTag(httpClient, workspace_id, tag_id, signal) {
10031
9978
  return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
10032
9979
  }
10033
- async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
10034
- return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
10035
- }
10036
9980
  //#endregion
10037
9981
  //#region ../focus-queries/dist/projects/requests.ts
10038
- async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
9982
+ async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
10039
9983
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
10040
9984
  signal,
10041
9985
  searchParams: buildSearchParams$2({
@@ -10057,7 +10001,6 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
10057
10001
  include_rates,
10058
10002
  include_rollover,
10059
10003
  include_idle_recurring_templates,
10060
- collapse_recurring,
10061
10004
  include_drafts,
10062
10005
  include_locked_private,
10063
10006
  start_date,
@@ -10288,7 +10231,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10288
10231
  }
10289
10232
  //#endregion
10290
10233
  //#region ../focus-queries/dist/tasks/requests.ts
10291
- async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
10234
+ async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_ghost_assignees, include_assignees, include_parent_matches, assignee_ghost_id, disable_aggregations, cf_filter } = {}, signal) {
10292
10235
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10293
10236
  signal,
10294
10237
  searchParams: buildSearchParams$2({
@@ -10336,8 +10279,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10336
10279
  recurring_task_ids,
10337
10280
  client_id,
10338
10281
  include_rates,
10282
+ include_ghost_assignees,
10339
10283
  include_assignees,
10340
10284
  include_parent_matches,
10285
+ assignee_ghost_id,
10341
10286
  disable_aggregations,
10342
10287
  cf_filter
10343
10288
  })
@@ -10423,7 +10368,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
10423
10368
  })
10424
10369
  }).json();
10425
10370
  }
10426
- async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
10371
+ async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
10427
10372
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
10428
10373
  signal,
10429
10374
  searchParams: buildSearchParams$2({
@@ -10436,14 +10381,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10436
10381
  dates_overlap_end,
10437
10382
  recurring_task_ids,
10438
10383
  team_id,
10439
- assignee_team_id,
10440
10384
  assignee_user_id,
10441
10385
  tag_id,
10386
+ include_ghost_assignees,
10442
10387
  include_assignees
10443
10388
  })
10444
10389
  }).json();
10445
10390
  }
10446
- async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
10391
+ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
10447
10392
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10448
10393
  signal,
10449
10394
  searchParams: buildSearchParams$2({
@@ -10487,15 +10432,20 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10487
10432
  recurring,
10488
10433
  recurring_task_ids,
10489
10434
  client_id,
10435
+ include_ghost_assignees,
10490
10436
  include_assignees,
10437
+ assignee_ghost_id,
10491
10438
  cf_filter
10492
10439
  })
10493
10440
  }).json();
10494
10441
  }
10495
- async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
10442
+ async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
10496
10443
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
10497
10444
  signal,
10498
- searchParams: buildSearchParams$2({ include_assignees })
10445
+ searchParams: buildSearchParams$2({
10446
+ include_ghost_assignees,
10447
+ include_assignees
10448
+ })
10499
10449
  }).json();
10500
10450
  }
10501
10451
  async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
@@ -10526,7 +10476,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
10526
10476
  searchParams: buildSearchParams$2({ from_recurring_task_id })
10527
10477
  }).json();
10528
10478
  }
10529
- async function getTaskWithChildrenClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
10479
+ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
10530
10480
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
10531
10481
  signal,
10532
10482
  searchParams: buildSearchParams$2({
@@ -10539,11 +10489,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
10539
10489
  team_id,
10540
10490
  assignee_user_id,
10541
10491
  tag_id,
10492
+ include_ghost_assignees,
10542
10493
  include_assignees
10543
10494
  })
10544
10495
  }).json();
10545
10496
  }
10546
- async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
10497
+ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
10547
10498
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
10548
10499
  signal,
10549
10500
  searchParams: buildSearchParams$2({
@@ -10556,6 +10507,7 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
10556
10507
  team_id,
10557
10508
  assignee_user_id,
10558
10509
  tag_id,
10510
+ include_ghost_assignees,
10559
10511
  include_assignees
10560
10512
  })
10561
10513
  }).json();
@@ -10657,12 +10609,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
10657
10609
  })
10658
10610
  }).json();
10659
10611
  }
10660
- async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
10661
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
10662
- signal,
10663
- json: data
10664
- }).json();
10665
- }
10666
10612
  async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
10667
10613
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
10668
10614
  signal,
@@ -10763,6 +10709,7 @@ const InvitationsRequestSchema = /* @__PURE__ */ object$2({
10763
10709
  invitations: /* @__PURE__ */ array$1(/* @__PURE__ */ object$2({
10764
10710
  accounts_role_id: /* @__PURE__ */ number$2(),
10765
10711
  admin: /* @__PURE__ */ pipe$2(/* @__PURE__ */ boolean$1(), /* @__PURE__ */ description$1("A pointer so an omitted flag does not read as admin=false.")),
10712
+ display_name: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ description$1("DisplayName is stored only when this invitation creates the account. An existing account keeps its current name. A missing, blank, control-only, or format-only value falls back to the name derived from the email. Whitespace controls become spaces. Other controls and format characters (zero-width spaces, bidi overrides) are removed. Longer than 100 characters is cut to that limit and trimmed again, which is what user_account accepts.")),
10766
10713
  email: /* @__PURE__ */ string$1(),
10767
10714
  groups: /* @__PURE__ */ array$1(/* @__PURE__ */ object$2({ group_id: /* @__PURE__ */ number$2() })),
10768
10715
  workspaces: /* @__PURE__ */ array$1(/* @__PURE__ */ object$2({
@@ -10799,7 +10746,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
10799
10746
  ]))
10800
10747
  });
10801
10748
  //#endregion
10802
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.148_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb5c9f3e646db2ae91a96c07d5e17798/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10749
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.149_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cc310c12f025c45bec91d463c917c2ae/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10803
10750
  async function getInvitations(httpClient, signal) {
10804
10751
  return (await httpClient.get(`invitations`, { signal })).json();
10805
10752
  }
@@ -10816,7 +10763,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
10816
10763
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
10817
10764
  }
10818
10765
  //#endregion
10819
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.148_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb5c9f3e646db2ae91a96c07d5e17798/node_modules/@toggl/queries/dist/org/utils/requests.mjs
10766
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.149_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cc310c12f025c45bec91d463c917c2ae/node_modules/@toggl/queries/dist/org/utils/requests.mjs
10820
10767
  function buildSearchParams(params, flattenArrays = false) {
10821
10768
  const searchParams = new URLSearchParams();
10822
10769
  Object.entries(params).forEach(([key, value]) => {
@@ -10828,7 +10775,7 @@ function buildSearchParams(params, flattenArrays = false) {
10828
10775
  return searchParams;
10829
10776
  }
10830
10777
  //#endregion
10831
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.148_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb5c9f3e646db2ae91a96c07d5e17798/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
10778
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.149_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cc310c12f025c45bec91d463c917c2ae/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
10832
10779
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
10833
10780
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
10834
10781
  }
@@ -10842,7 +10789,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
10842
10789
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
10843
10790
  }
10844
10791
  //#endregion
10845
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.148_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb5c9f3e646db2ae91a96c07d5e17798/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
10792
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.149_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cc310c12f025c45bec91d463c917c2ae/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
10846
10793
  async function getWorkspaces(httpClient, organization_id, signal) {
10847
10794
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
10848
10795
  }
@@ -10862,7 +10809,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
10862
10809
  });
10863
10810
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
10864
10811
  //#endregion
10865
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.148_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb5c9f3e646db2ae91a96c07d5e17798/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
10812
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.149_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cc310c12f025c45bec91d463c917c2ae/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
10866
10813
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
10867
10814
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
10868
10815
  signal,
@@ -10873,12 +10820,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
10873
10820
  })).json();
10874
10821
  }
10875
10822
  //#endregion
10876
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.148_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb5c9f3e646db2ae91a96c07d5e17798/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
10823
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.149_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cc310c12f025c45bec91d463c917c2ae/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
10877
10824
  async function getStatus(httpClient, signal) {
10878
10825
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
10879
10826
  }
10880
10827
  //#endregion
10881
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.148_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb5c9f3e646db2ae91a96c07d5e17798/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
10828
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.149_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cc310c12f025c45bec91d463c917c2ae/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
10882
10829
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
10883
10830
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
10884
10831
  signal,
@@ -10906,7 +10853,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
10906
10853
  return response.json();
10907
10854
  }
10908
10855
  //#endregion
10909
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.148_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_fb5c9f3e646db2ae91a96c07d5e17798/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
10856
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.149_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cc310c12f025c45bec91d463c917c2ae/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
10910
10857
  async function getMyWorkingHours(httpClient, organization_id, signal) {
10911
10858
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
10912
10859
  }
@@ -14483,21 +14430,6 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
14483
14430
  }
14484
14431
  //#endregion
14485
14432
  //#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
- }
14501
14433
  async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
14502
14434
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
14503
14435
  signal,
@@ -14656,22 +14588,33 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
14656
14588
  }
14657
14589
  //#endregion
14658
14590
  //#region ../focus-queries/dist/capacities/requests.ts
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) {
14591
+ async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, ghost_id, private: private_, task_source, unit, include_drafts }, signal) {
14660
14592
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
14661
14593
  signal,
14662
14594
  searchParams: buildSearchParams$2({
14663
14595
  user_id,
14664
14596
  start_date,
14665
14597
  end_date,
14598
+ ghost_id,
14666
14599
  private: private_,
14667
14600
  task_source,
14668
14601
  unit,
14669
- include_drafts,
14670
- include_task_estimates
14602
+ include_drafts
14671
14603
  })
14672
14604
  }).json();
14673
14605
  }
14674
14606
  //#endregion
14607
+ //#region ../focus-queries/dist/capacity-settings/requests.ts
14608
+ async function getCapacitySettings(httpClient, workspace_id, signal) {
14609
+ return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
14610
+ }
14611
+ async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
14612
+ return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
14613
+ signal,
14614
+ json: data
14615
+ }).json();
14616
+ }
14617
+ //#endregion
14675
14618
  //#region ../focus-queries/dist/composite/requests.ts
14676
14619
  async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
14677
14620
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
@@ -14754,12 +14697,6 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
14754
14697
  async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
14755
14698
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
14756
14699
  }
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
- }
14763
14700
  //#endregion
14764
14701
  //#region ../focus-queries/dist/goals/requests.ts
14765
14702
  async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
@@ -14985,7 +14922,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
14985
14922
  }
14986
14923
  //#endregion
14987
14924
  //#region ../focus-queries/dist/project-groups/requests.ts
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) {
14925
+ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, include_drafts, cf_filter } = {}, signal) {
14989
14926
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
14990
14927
  signal,
14991
14928
  searchParams: buildSearchParams$2({
@@ -14997,7 +14934,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
14997
14934
  include_group_totals,
14998
14935
  include_unassigned,
14999
14936
  archived,
15000
- completed,
15001
14937
  private: private_,
15002
14938
  name,
15003
14939
  client_id,
@@ -15009,7 +14945,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
15009
14945
  start_date,
15010
14946
  end_date,
15011
14947
  user_id,
15012
- only_me,
15013
14948
  include_drafts,
15014
14949
  cf_filter
15015
14950
  })
@@ -15125,14 +15060,10 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
15125
15060
  }
15126
15061
  //#endregion
15127
15062
  //#region ../focus-queries/dist/reports/requests.ts
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) {
15063
+ async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
15132
15064
  return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
15133
15065
  signal,
15134
15066
  json: data,
15135
- headers: { "X-Toggl-Report-Export": xTogglReportExport },
15136
15067
  searchParams: buildSearchParams$2({
15137
15068
  response_format,
15138
15069
  include_dicts
@@ -15156,36 +15087,12 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
15156
15087
  json: data
15157
15088
  }).json();
15158
15089
  }
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) {
15090
+ async function getWorkloadReport(httpClient, workspace_id, data, signal) {
15166
15091
  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`, {
15182
15092
  signal,
15183
15093
  json: data
15184
15094
  }).json();
15185
15095
  }
15186
- async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
15187
- return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
15188
- }
15189
15096
  //#endregion
15190
15097
  //#region ../focus-queries/dist/savedviews/requests.ts
15191
15098
  async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
@@ -15218,7 +15125,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
15218
15125
  }
15219
15126
  //#endregion
15220
15127
  //#region ../focus-queries/dist/search/requests.ts
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) {
15128
+ async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags }, signal) {
15222
15129
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
15223
15130
  signal,
15224
15131
  searchParams: buildSearchParams$2({
@@ -15230,56 +15137,11 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
15230
15137
  task_id,
15231
15138
  include_drafts,
15232
15139
  exclude_calendar_events,
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
15140
+ group_by_tags
15244
15141
  })
15245
15142
  }).json();
15246
15143
  }
15247
15144
  //#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
15283
15145
  //#region ../focus-queries/dist/subscriptions/requests.ts
15284
15146
  async function getCurrentSubscription(httpClient, organization_id, signal) {
15285
15147
  return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
@@ -15335,77 +15197,7 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
15335
15197
  }
15336
15198
  //#endregion
15337
15199
  //#region ../focus-queries/dist/task-groups/requests.ts
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) {
15200
+ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_ghosts, include_assignees, min_days, include_drafts, cf_filter, page, per_page, order_by } = {}, signal) {
15409
15201
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
15410
15202
  signal,
15411
15203
  searchParams: buildSearchParams$2({
@@ -15429,14 +15221,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
15429
15221
  end_date_to,
15430
15222
  private: private_,
15431
15223
  exclude_empty,
15432
- include_unassigned,
15433
- include_unmaterialized,
15434
- collapse_recurring,
15224
+ include_ghosts,
15435
15225
  include_assignees,
15436
15226
  min_days,
15437
15227
  include_drafts,
15438
15228
  cf_filter,
15439
- user_cf_filter,
15440
15229
  page,
15441
15230
  per_page,
15442
15231
  order_by
@@ -15573,18 +15362,17 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
15573
15362
  }).json();
15574
15363
  }
15575
15364
  //#endregion
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`, {
15365
+ //#region ../focus-queries/dist/time-log-suggestions/requests.ts
15366
+ async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
15367
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
15579
15368
  signal,
15580
- searchParams: buildSearchParams$2({
15581
- start_date,
15582
- end_date,
15583
- user_id,
15584
- page,
15585
- per_page,
15586
- order_by
15587
- })
15369
+ json: data
15370
+ }).json();
15371
+ }
15372
+ async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
15373
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
15374
+ signal,
15375
+ json: data
15588
15376
  }).json();
15589
15377
  }
15590
15378
  //#endregion
@@ -15626,6 +15414,43 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
15626
15414
  json: data
15627
15415
  }).json();
15628
15416
  }
15417
+ async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
15418
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
15419
+ signal,
15420
+ searchParams: buildSearchParams$2({
15421
+ ghost_ids,
15422
+ start_date,
15423
+ end_date
15424
+ })
15425
+ }).json();
15426
+ }
15427
+ async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
15428
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15429
+ signal,
15430
+ searchParams: buildSearchParams$2({
15431
+ from,
15432
+ to
15433
+ })
15434
+ }).json();
15435
+ }
15436
+ async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15437
+ return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15438
+ signal,
15439
+ json: data
15440
+ }).json();
15441
+ }
15442
+ async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15443
+ return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15444
+ signal,
15445
+ json: data
15446
+ }).json();
15447
+ }
15448
+ async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15449
+ return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15450
+ signal,
15451
+ json: data
15452
+ }).json();
15453
+ }
15629
15454
  //#endregion
15630
15455
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
15631
15456
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -15818,6 +15643,27 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
15818
15643
  json: data
15819
15644
  }).json();
15820
15645
  }
15646
+ async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
15647
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
15648
+ }
15649
+ async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15650
+ return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15651
+ signal,
15652
+ json: data
15653
+ }).json();
15654
+ }
15655
+ async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15656
+ return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15657
+ signal,
15658
+ json: data
15659
+ }).json();
15660
+ }
15661
+ async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15662
+ return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15663
+ signal,
15664
+ json: data
15665
+ }).json();
15666
+ }
15821
15667
  //#endregion
15822
15668
  //#region ../focus-queries/dist/workspace/requests.ts
15823
15669
  async function getWorkspaceContext(httpClient, workspace_id, signal) {
@@ -15834,9 +15680,6 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
15834
15680
  json: data
15835
15681
  }).json();
15836
15682
  }
15837
- async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
15838
- return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
15839
- }
15840
15683
  async function getUserPermissions(httpClient, workspace_id, signal) {
15841
15684
  return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
15842
15685
  }
@@ -15849,15 +15692,6 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
15849
15692
  json: data
15850
15693
  }).json();
15851
15694
  }
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
- }
15861
15695
  //#endregion
15862
15696
  //#region ../operations/build/index.public.js
15863
15697
  function callGeneratedRequest(request, args) {
@@ -15993,17 +15827,17 @@ const generatedFocusOperations = [
15993
15827
  ]))
15994
15828
  },
15995
15829
  {
15996
- id: "focus.audit-log.get-organization",
15830
+ id: "focus.audit-log.list",
15997
15831
  family: "focus",
15998
15832
  resource: "audit-log",
15999
- action: "get-organization",
16000
- title: "Get Organization Audit Log",
16001
- description: "Get Organization Audit Log.",
15833
+ action: "list",
15834
+ title: "List Audit Log",
15835
+ description: "List Audit Log.",
16002
15836
  safety: "read",
16003
15837
  destructive: false,
16004
15838
  cli: {
16005
15839
  group: ["audit-log"],
16006
- command: "get-organization",
15840
+ command: "list",
16007
15841
  interactive: "hidden"
16008
15842
  },
16009
15843
  mcp: { entityTool: "audit-log" },
@@ -16017,14 +15851,14 @@ const generatedFocusOperations = [
16017
15851
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16018
15852
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16019
15853
  to: /* @__PURE__ */ string$1(),
16020
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16021
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
15854
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16022
15855
  }),
16023
15856
  execute: (input, { client }) => {
16024
15857
  const data = input;
16025
- return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
15858
+ return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
16026
15859
  client.httpClient,
16027
15860
  client.organizationId,
15861
+ client.workspaceIdNumber,
16028
15862
  data.from,
16029
15863
  data.to,
16030
15864
  data,
@@ -16033,79 +15867,87 @@ const generatedFocusOperations = [
16033
15867
  }
16034
15868
  },
16035
15869
  {
16036
- id: "focus.audit-log.list",
15870
+ id: "focus.capacities.get-computations",
16037
15871
  family: "focus",
16038
- resource: "audit-log",
16039
- action: "list",
16040
- title: "List Audit Log",
16041
- description: "List Audit Log.",
15872
+ resource: "capacities",
15873
+ action: "get-computations",
15874
+ title: "Get Computations Capacities",
15875
+ description: "Get Computations Capacities.",
16042
15876
  safety: "read",
16043
15877
  destructive: false,
16044
15878
  cli: {
16045
- group: ["audit-log"],
16046
- command: "list",
15879
+ group: ["capacities"],
15880
+ command: "get-computations",
16047
15881
  interactive: "hidden"
16048
15882
  },
16049
- mcp: { entityTool: "audit-log" },
15883
+ mcp: { entityTool: "capacities" },
16050
15884
  inputSchema: /* @__PURE__ */ looseObject({
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())
15885
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
15886
+ ghost_id: /* @__PURE__ */ number$2(),
15887
+ group: /* @__PURE__ */ picklist$1(["users"]),
15888
+ include_drafts: /* @__PURE__ */ unknown$1(),
15889
+ private_: /* @__PURE__ */ unknown$1(),
15890
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
15891
+ task_source: /* @__PURE__ */ unknown$1(),
15892
+ unit: /* @__PURE__ */ unknown$1(),
15893
+ user_id: /* @__PURE__ */ number$2()
16061
15894
  }),
16062
15895
  execute: (input, { client }) => {
16063
15896
  const data = input;
16064
- return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
15897
+ return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
16065
15898
  client.httpClient,
16066
15899
  client.organizationId,
16067
15900
  client.workspaceIdNumber,
16068
- data.from,
16069
- data.to,
15901
+ data.group,
16070
15902
  data,
16071
15903
  void 0
16072
15904
  ]));
16073
15905
  }
16074
15906
  },
16075
15907
  {
16076
- id: "focus.capacities.get-computations",
15908
+ id: "focus.capacities.settings-list",
16077
15909
  family: "focus",
16078
15910
  resource: "capacities",
16079
- action: "get-computations",
16080
- title: "Get Computations Capacities",
16081
- description: "Get Computations Capacities.",
15911
+ action: "settings-list",
15912
+ title: "Settings List Capacities",
15913
+ description: "Settings List Capacities.",
16082
15914
  safety: "read",
16083
15915
  destructive: false,
16084
15916
  cli: {
16085
- group: ["capacities"],
16086
- command: "get-computations",
15917
+ group: ["capacities", "settings"],
15918
+ command: "list",
16087
15919
  interactive: "hidden"
16088
15920
  },
16089
15921
  mcp: { entityTool: "capacities" },
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
- }),
15922
+ inputSchema: /* @__PURE__ */ looseObject({}),
15923
+ execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
15924
+ client.httpClient,
15925
+ client.workspaceIdNumber,
15926
+ void 0
15927
+ ]))
15928
+ },
15929
+ {
15930
+ id: "focus.capacities.settings-update",
15931
+ family: "focus",
15932
+ resource: "capacities",
15933
+ action: "settings-update",
15934
+ title: "Settings Update Capacities",
15935
+ description: "Settings Update Capacities.",
15936
+ safety: "update",
15937
+ destructive: false,
15938
+ cli: {
15939
+ group: ["capacities", "settings"],
15940
+ command: "update",
15941
+ interactive: "default"
15942
+ },
15943
+ mcp: { entityTool: "capacities" },
15944
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
16101
15945
  execute: (input, { client }) => {
16102
15946
  const data = input;
16103
- return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
15947
+ return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
16104
15948
  client.httpClient,
16105
- client.organizationId,
16106
15949
  client.workspaceIdNumber,
16107
- data.group,
16108
- data,
15950
+ data.payload ?? data.data ?? data,
16109
15951
  void 0
16110
15952
  ]));
16111
15953
  }
@@ -16304,7 +16146,8 @@ const generatedFocusOperations = [
16304
16146
  hourly_rate: /* @__PURE__ */ number$2(),
16305
16147
  start_at: apiDateTimeString,
16306
16148
  end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
16307
- })))
16149
+ }))),
16150
+ resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16308
16151
  }) }),
16309
16152
  execute: (input, { client }) => {
16310
16153
  const data = input;
@@ -16359,7 +16202,6 @@ const generatedFocusOperations = [
16359
16202
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16360
16203
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16361
16204
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16362
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16363
16205
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16364
16206
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16365
16207
  }),
@@ -16392,7 +16234,6 @@ const generatedFocusOperations = [
16392
16234
  priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
16393
16235
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16394
16236
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16395
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16396
16237
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16397
16238
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16398
16239
  }))),
@@ -16448,11 +16289,7 @@ const generatedFocusOperations = [
16448
16289
  },
16449
16290
  mcp: { entityTool: "custom-fields" },
16450
16291
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16451
- entity_type: /* @__PURE__ */ picklist$1([
16452
- "project",
16453
- "task",
16454
- "user"
16455
- ]),
16292
+ entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
16456
16293
  field_type: /* @__PURE__ */ picklist$1([
16457
16294
  "select",
16458
16295
  "multi_select",
@@ -16785,11 +16622,7 @@ const generatedFocusOperations = [
16785
16622
  },
16786
16623
  mcp: { entityTool: "custom-fields" },
16787
16624
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16788
- entity_type: /* @__PURE__ */ picklist$1([
16789
- "project",
16790
- "task",
16791
- "user"
16792
- ]),
16625
+ entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
16793
16626
  ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
16794
16627
  }) }),
16795
16628
  execute: (input, { client }) => {
@@ -16803,37 +16636,6 @@ const generatedFocusOperations = [
16803
16636
  ]));
16804
16637
  }
16805
16638
  },
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
- },
16837
16639
  {
16838
16640
  id: "focus.goals.create",
16839
16641
  family: "focus",
@@ -17053,22 +16855,10 @@ const generatedFocusOperations = [
17053
16855
  goal_id: /* @__PURE__ */ number$2(),
17054
16856
  payload: /* @__PURE__ */ looseObject({
17055
16857
  active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17056
- client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17057
16858
  comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17058
16859
  icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17059
16860
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
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()))
16861
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
17072
16862
  })
17073
16863
  }),
17074
16864
  execute: (input, { client }) => {
@@ -18401,7 +18191,6 @@ const generatedFocusOperations = [
18401
18191
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18402
18192
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18403
18193
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18404
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18405
18194
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18406
18195
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
18407
18196
  group: /* @__PURE__ */ string$1(),
@@ -18409,7 +18198,6 @@ const generatedFocusOperations = [
18409
18198
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18410
18199
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18411
18200
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18412
- only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18413
18201
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18414
18202
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18415
18203
  parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -20594,10 +20382,7 @@ const generatedFocusOperations = [
20594
20382
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20595
20383
  name: /* @__PURE__ */ string$1(),
20596
20384
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
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())
20385
+ }))
20601
20386
  }),
20602
20387
  response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
20603
20388
  }),
@@ -20638,28 +20423,6 @@ const generatedFocusOperations = [
20638
20423
  ]));
20639
20424
  }
20640
20425
  },
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
- },
20663
20426
  {
20664
20427
  id: "focus.reports.get-profitability",
20665
20428
  family: "focus",
@@ -20719,17 +20482,9 @@ const generatedFocusOperations = [
20719
20482
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20720
20483
  name: /* @__PURE__ */ string$1(),
20721
20484
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
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())
20485
+ }))
20726
20486
  }),
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
- ]))
20487
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
20733
20488
  }),
20734
20489
  execute: (input, { client }) => {
20735
20490
  const data = input;
@@ -20739,23 +20494,22 @@ const generatedFocusOperations = [
20739
20494
  data.payload ?? data.data ?? data,
20740
20495
  data.response_format,
20741
20496
  data.include_dicts,
20742
- data.xTogglReportExport,
20743
20497
  void 0
20744
20498
  ]));
20745
20499
  }
20746
20500
  },
20747
20501
  {
20748
- id: "focus.reports.get-time-accounting",
20502
+ id: "focus.reports.get-workload",
20749
20503
  family: "focus",
20750
20504
  resource: "reports",
20751
- action: "get-time-accounting",
20752
- title: "Get Time Accounting Reports",
20753
- description: "Get Time Accounting Reports.",
20505
+ action: "get-workload",
20506
+ title: "Get Workload Reports",
20507
+ description: "Get Workload Reports.",
20754
20508
  safety: "update",
20755
20509
  destructive: false,
20756
20510
  cli: {
20757
20511
  group: ["reports"],
20758
- command: "get-time-accounting",
20512
+ command: "get-workload",
20759
20513
  interactive: "hidden"
20760
20514
  },
20761
20515
  mcp: { entityTool: "reports" },
@@ -20801,205 +20555,14 @@ const generatedFocusOperations = [
20801
20555
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20802
20556
  name: /* @__PURE__ */ string$1(),
20803
20557
  parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
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())
20558
+ }))
20808
20559
  }) }),
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
- }),
20888
20560
  execute: (input, { client }) => {
20889
20561
  const data = input;
20890
20562
  return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
20891
20563
  client.httpClient,
20892
20564
  client.workspaceIdNumber,
20893
20565
  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,
21003
20566
  void 0
21004
20567
  ]));
21005
20568
  }
@@ -21037,9 +20600,7 @@ const generatedFocusOperations = [
21037
20600
  "reports.detailed",
21038
20601
  "reports.utilization",
21039
20602
  "reports.workload",
21040
- "reports.profitability",
21041
- "reports.time-off",
21042
- "reports.time-accounting"
20603
+ "reports.profitability"
21043
20604
  ]),
21044
20605
  icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
21045
20606
  }) }),
@@ -21163,37 +20724,7 @@ const generatedFocusOperations = [
21163
20724
  }
21164
20725
  },
21165
20726
  {
21166
- id: "focus.search.mentions",
21167
- family: "focus",
21168
- resource: "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",
20727
+ id: "focus.search.search",
21197
20728
  family: "focus",
21198
20729
  resource: "search",
21199
20730
  action: "search",
@@ -21219,240 +20750,6 @@ const generatedFocusOperations = [
21219
20750
  ]));
21220
20751
  }
21221
20752
  },
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
- },
21456
20753
  {
21457
20754
  id: "focus.statuses.create-status",
21458
20755
  family: "focus",
@@ -21709,181 +21006,22 @@ const generatedFocusOperations = [
21709
21006
  family: "focus",
21710
21007
  resource: "subscriptions",
21711
21008
  action: "upsert-forced-trial",
21712
- title: "Upsert Forced Trial Subscriptions",
21713
- description: "Upsert Forced Trial Subscriptions.",
21714
- safety: "update",
21715
- destructive: false,
21716
- cli: {
21717
- group: ["subscriptions"],
21718
- command: "upsert-forced-trial",
21719
- interactive: "default"
21720
- },
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.",
21009
+ title: "Upsert Forced Trial Subscriptions",
21010
+ description: "Upsert Forced Trial Subscriptions.",
21874
21011
  safety: "update",
21875
21012
  destructive: false,
21876
21013
  cli: {
21877
- group: ["tags", "bulk"],
21878
- command: "unarchive",
21014
+ group: ["subscriptions"],
21015
+ command: "upsert-forced-trial",
21879
21016
  interactive: "default"
21880
21017
  },
21881
- mcp: { entityTool: "tags" },
21882
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
21018
+ mcp: { entityTool: "subscriptions" },
21019
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
21883
21020
  execute: (input, { client }) => {
21884
21021
  const data = input;
21885
- return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
21022
+ return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
21886
21023
  client.httpClient,
21024
+ client.organizationId,
21887
21025
  client.workspaceIdNumber,
21888
21026
  data.payload ?? data.data ?? data,
21889
21027
  void 0
@@ -21974,35 +21112,6 @@ const generatedFocusOperations = [
21974
21112
  return client.listTags(data);
21975
21113
  }
21976
21114
  },
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
- },
22006
21115
  {
22007
21116
  id: "focus.tags.restore",
22008
21117
  family: "focus",
@@ -22029,32 +21138,6 @@ const generatedFocusOperations = [
22029
21138
  ]));
22030
21139
  }
22031
21140
  },
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
- },
22058
21141
  {
22059
21142
  id: "focus.tags.update",
22060
21143
  family: "focus",
@@ -22736,12 +21819,12 @@ const generatedFocusOperations = [
22736
21819
  mcp: { entityTool: "tasks" },
22737
21820
  inputSchema: /* @__PURE__ */ looseObject({
22738
21821
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22739
- assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22740
21822
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22741
21823
  dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22742
21824
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22743
21825
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22744
21826
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21827
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22745
21828
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22746
21829
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22747
21830
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22778,6 +21861,7 @@ const generatedFocusOperations = [
22778
21861
  inputSchema: /* @__PURE__ */ looseObject({
22779
21862
  active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22780
21863
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21864
+ assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22781
21865
  assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22782
21866
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22783
21867
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22794,6 +21878,7 @@ const generatedFocusOperations = [
22794
21878
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22795
21879
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22796
21880
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21881
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22797
21882
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22798
21883
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22799
21884
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22849,6 +21934,7 @@ const generatedFocusOperations = [
22849
21934
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22850
21935
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22851
21936
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21937
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22852
21938
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22853
21939
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22854
21940
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22889,6 +21975,7 @@ const generatedFocusOperations = [
22889
21975
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22890
21976
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22891
21977
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21978
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22892
21979
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22893
21980
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22894
21981
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22929,7 +22016,6 @@ const generatedFocusOperations = [
22929
22016
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22930
22017
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22931
22018
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22932
- collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22933
22019
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22934
22020
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22935
22021
  end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22943,8 +22029,7 @@ const generatedFocusOperations = [
22943
22029
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22944
22030
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22945
22031
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22946
- include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22947
- include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22032
+ include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22948
22033
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22949
22034
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22950
22035
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22960,7 +22045,6 @@ const generatedFocusOperations = [
22960
22045
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22961
22046
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
22962
22047
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22963
- user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22964
22048
  user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
22965
22049
  }),
22966
22050
  execute: (input, { client }) => {
@@ -22975,118 +22059,6 @@ const generatedFocusOperations = [
22975
22059
  ]));
22976
22060
  }
22977
22061
  },
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
- },
23090
22062
  {
23091
22063
  id: "focus.tasks.groups-update",
23092
22064
  family: "focus",
@@ -23292,6 +22264,7 @@ const generatedFocusOperations = [
23292
22264
  name: /* @__PURE__ */ string$1(),
23293
22265
  status_id: /* @__PURE__ */ number$2(),
23294
22266
  auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22267
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23295
22268
  color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23296
22269
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23297
22270
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -23311,7 +22284,6 @@ const generatedFocusOperations = [
23311
22284
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23312
22285
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23313
22286
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23314
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23315
22287
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
23316
22288
  }),
23317
22289
  task_id: /* @__PURE__ */ number$2()
@@ -24320,40 +23292,6 @@ const generatedFocusOperations = [
24320
23292
  ]));
24321
23293
  }
24322
23294
  },
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
- },
24357
23295
  {
24358
23296
  id: "focus.time-entries.list",
24359
23297
  family: "focus",
@@ -24538,42 +23476,6 @@ const generatedFocusOperations = [
24538
23476
  inputSchema: emptySchema$1,
24539
23477
  execute: (_input, { client }) => client.stopTracking()
24540
23478
  },
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
- },
24577
23479
  {
24578
23480
  id: "focus.time-entries.tracking-get-tracked-time-entry",
24579
23481
  family: "focus",
@@ -24622,7 +23524,6 @@ const generatedFocusOperations = [
24622
23524
  create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24623
23525
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24624
23526
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24625
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24626
23527
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24627
23528
  extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24628
23529
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -24685,33 +23586,121 @@ const generatedFocusOperations = [
24685
23586
  safety: "update",
24686
23587
  destructive: false,
24687
23588
  cli: {
24688
- group: ["time-entries"],
24689
- command: "update",
24690
- interactive: "default"
23589
+ group: ["time-entries"],
23590
+ command: "update",
23591
+ interactive: "default"
23592
+ },
23593
+ mcp: { entityTool: "time-entries" },
23594
+ inputSchema: /* @__PURE__ */ looseObject({
23595
+ payload: /* @__PURE__ */ looseObject({
23596
+ type: /* @__PURE__ */ picklist$1(["activity", "break"]),
23597
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23598
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23599
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23600
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
23601
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23602
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23603
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
23604
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23605
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
23606
+ }),
23607
+ time_entry_id: /* @__PURE__ */ number$2()
23608
+ }),
23609
+ execute: (input, { client }) => {
23610
+ const data = input;
23611
+ return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
23612
+ client.httpClient,
23613
+ client.organizationId,
23614
+ client.workspaceIdNumber,
23615
+ data.time_entry_id,
23616
+ data.payload ?? data.data ?? data,
23617
+ void 0
23618
+ ]));
23619
+ }
23620
+ },
23621
+ {
23622
+ id: "focus.time-log-suggestions.get-for-acalendar-event-title",
23623
+ family: "focus",
23624
+ resource: "time-log-suggestions",
23625
+ action: "get-for-acalendar-event-title",
23626
+ title: "Get For Acalendar Event Title Time Log Suggestions",
23627
+ description: "Get For Acalendar Event Title Time Log Suggestions.",
23628
+ safety: "update",
23629
+ destructive: false,
23630
+ cli: {
23631
+ group: ["time-log-suggestions"],
23632
+ command: "get-for-acalendar-event-title",
23633
+ interactive: "default"
23634
+ },
23635
+ mcp: { entityTool: "time-log-suggestions" },
23636
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
23637
+ execute: (input, { client }) => {
23638
+ const data = input;
23639
+ return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
23640
+ client.httpClient,
23641
+ client.organizationId,
23642
+ client.workspaceIdNumber,
23643
+ data.payload ?? data.data ?? data,
23644
+ void 0
23645
+ ]));
23646
+ }
23647
+ },
23648
+ {
23649
+ id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
23650
+ family: "focus",
23651
+ resource: "time-log-suggestions",
23652
+ action: "get-for-multiple-calendar-event-titles",
23653
+ title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
23654
+ description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
23655
+ safety: "update",
23656
+ destructive: false,
23657
+ cli: {
23658
+ group: ["time-log-suggestions"],
23659
+ command: "get-for-multiple-calendar-event-titles",
23660
+ interactive: "default"
23661
+ },
23662
+ mcp: { entityTool: "time-log-suggestions" },
23663
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
23664
+ key: /* @__PURE__ */ string$1(),
23665
+ title: /* @__PURE__ */ string$1()
23666
+ })) }) }),
23667
+ execute: (input, { client }) => {
23668
+ const data = input;
23669
+ return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
23670
+ client.httpClient,
23671
+ client.organizationId,
23672
+ client.workspaceIdNumber,
23673
+ data.payload ?? data.data ?? data,
23674
+ void 0
23675
+ ]));
23676
+ }
23677
+ },
23678
+ {
23679
+ id: "focus.time-off.create-timeoff-for-ghost",
23680
+ family: "focus",
23681
+ resource: "time-off",
23682
+ action: "create-timeoff-for-ghost",
23683
+ title: "Create Timeoff For Ghost Time Off",
23684
+ description: "Create Timeoff For Ghost Time Off.",
23685
+ safety: "create",
23686
+ destructive: false,
23687
+ cli: {
23688
+ group: ["time-off"],
23689
+ command: "create-timeoff-for-ghost",
23690
+ interactive: "hidden"
24691
23691
  },
24692
- mcp: { entityTool: "time-entries" },
23692
+ mcp: { entityTool: "time-off" },
24693
23693
  inputSchema: /* @__PURE__ */ looseObject({
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
+ ghost_id: /* @__PURE__ */ number$2(),
23695
+ payload: /* @__PURE__ */ unknown$1()
24707
23696
  }),
24708
23697
  execute: (input, { client }) => {
24709
23698
  const data = input;
24710
- return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
23699
+ return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
24711
23700
  client.httpClient,
24712
23701
  client.organizationId,
24713
23702
  client.workspaceIdNumber,
24714
- data.time_entry_id,
23703
+ data.ghost_id,
24715
23704
  data.payload ?? data.data ?? data,
24716
23705
  void 0
24717
23706
  ]));
@@ -24747,6 +23736,37 @@ const generatedFocusOperations = [
24747
23736
  ]));
24748
23737
  }
24749
23738
  },
23739
+ {
23740
+ id: "focus.time-off.delete-timeoff-for-ghost",
23741
+ family: "focus",
23742
+ resource: "time-off",
23743
+ action: "delete-timeoff-for-ghost",
23744
+ title: "Delete Timeoff For Ghost Time Off",
23745
+ description: "Delete Timeoff For Ghost Time Off.",
23746
+ safety: "delete",
23747
+ destructive: true,
23748
+ cli: {
23749
+ group: ["time-off"],
23750
+ command: "delete-timeoff-for-ghost",
23751
+ interactive: "hidden"
23752
+ },
23753
+ mcp: { entityTool: "time-off" },
23754
+ inputSchema: /* @__PURE__ */ looseObject({
23755
+ ghost_id: /* @__PURE__ */ number$2(),
23756
+ payload: /* @__PURE__ */ unknown$1()
23757
+ }),
23758
+ execute: (input, { client }) => {
23759
+ const data = input;
23760
+ return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
23761
+ client.httpClient,
23762
+ client.organizationId,
23763
+ client.workspaceIdNumber,
23764
+ data.ghost_id,
23765
+ data.payload ?? data.data ?? data,
23766
+ void 0
23767
+ ]));
23768
+ }
23769
+ },
24750
23770
  {
24751
23771
  id: "focus.time-off.delete-timeoff-for-user",
24752
23772
  family: "focus",
@@ -24777,6 +23797,38 @@ const generatedFocusOperations = [
24777
23797
  ]));
24778
23798
  }
24779
23799
  },
23800
+ {
23801
+ id: "focus.time-off.get-timeoff-for-ghost",
23802
+ family: "focus",
23803
+ resource: "time-off",
23804
+ action: "get-timeoff-for-ghost",
23805
+ title: "Get Timeoff For Ghost Time Off",
23806
+ description: "Get Timeoff For Ghost Time Off.",
23807
+ safety: "read",
23808
+ destructive: false,
23809
+ cli: {
23810
+ group: ["time-off"],
23811
+ command: "get-timeoff-for-ghost",
23812
+ interactive: "hidden"
23813
+ },
23814
+ mcp: { entityTool: "time-off" },
23815
+ inputSchema: /* @__PURE__ */ looseObject({
23816
+ from: /* @__PURE__ */ unknown$1(),
23817
+ ghost_id: /* @__PURE__ */ number$2(),
23818
+ to: /* @__PURE__ */ unknown$1()
23819
+ }),
23820
+ execute: (input, { client }) => {
23821
+ const data = input;
23822
+ return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
23823
+ client.httpClient,
23824
+ client.organizationId,
23825
+ client.workspaceIdNumber,
23826
+ data.ghost_id,
23827
+ data,
23828
+ void 0
23829
+ ]));
23830
+ }
23831
+ },
24780
23832
  {
24781
23833
  id: "focus.time-off.get-timeoff-for-user",
24782
23834
  family: "focus",
@@ -24808,6 +23860,37 @@ const generatedFocusOperations = [
24808
23860
  ]));
24809
23861
  }
24810
23862
  },
23863
+ {
23864
+ id: "focus.time-off.get-timeoffs-by-ghost-ids",
23865
+ family: "focus",
23866
+ resource: "time-off",
23867
+ action: "get-timeoffs-by-ghost-ids",
23868
+ title: "Get Timeoffs By Ghost Ids Time Off",
23869
+ description: "Get Timeoffs By Ghost Ids Time Off.",
23870
+ safety: "read",
23871
+ destructive: false,
23872
+ cli: {
23873
+ group: ["time-off"],
23874
+ command: "get-timeoffs-by-ghost-ids",
23875
+ interactive: "hidden"
23876
+ },
23877
+ mcp: { entityTool: "time-off" },
23878
+ inputSchema: /* @__PURE__ */ looseObject({
23879
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23880
+ ghost_ids: /* @__PURE__ */ unknown$1(),
23881
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
23882
+ }),
23883
+ execute: (input, { client }) => {
23884
+ const data = input;
23885
+ return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
23886
+ client.httpClient,
23887
+ client.organizationId,
23888
+ client.workspaceIdNumber,
23889
+ data,
23890
+ void 0
23891
+ ]));
23892
+ }
23893
+ },
24811
23894
  {
24812
23895
  id: "focus.time-off.get-timeoffs-by-user-ids",
24813
23896
  family: "focus",
@@ -24838,6 +23921,37 @@ const generatedFocusOperations = [
24838
23921
  ]));
24839
23922
  }
24840
23923
  },
23924
+ {
23925
+ id: "focus.time-off.update-timeoff-for-ghost",
23926
+ family: "focus",
23927
+ resource: "time-off",
23928
+ action: "update-timeoff-for-ghost",
23929
+ title: "Update Timeoff For Ghost Time Off",
23930
+ description: "Update Timeoff For Ghost Time Off.",
23931
+ safety: "update",
23932
+ destructive: false,
23933
+ cli: {
23934
+ group: ["time-off"],
23935
+ command: "update-timeoff-for-ghost",
23936
+ interactive: "hidden"
23937
+ },
23938
+ mcp: { entityTool: "time-off" },
23939
+ inputSchema: /* @__PURE__ */ looseObject({
23940
+ ghost_id: /* @__PURE__ */ number$2(),
23941
+ payload: /* @__PURE__ */ unknown$1()
23942
+ }),
23943
+ execute: (input, { client }) => {
23944
+ const data = input;
23945
+ return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
23946
+ client.httpClient,
23947
+ client.organizationId,
23948
+ client.workspaceIdNumber,
23949
+ data.ghost_id,
23950
+ data.payload ?? data.data ?? data,
23951
+ void 0
23952
+ ]));
23953
+ }
23954
+ },
24841
23955
  {
24842
23956
  id: "focus.time-off.update-timeoff-for-user",
24843
23957
  family: "focus",
@@ -25869,7 +24983,6 @@ const generatedFocusOperations = [
25869
24983
  pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
25870
24984
  pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
25871
24985
  pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25872
- send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25873
24986
  send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25874
24987
  shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25875
24988
  show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -25971,6 +25084,37 @@ const generatedFocusOperations = [
25971
25084
  inputSchema: /* @__PURE__ */ looseObject({}),
25972
25085
  execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
25973
25086
  },
25087
+ {
25088
+ id: "focus.working-hours.create-for-ghost",
25089
+ family: "focus",
25090
+ resource: "working-hours",
25091
+ action: "create-for-ghost",
25092
+ title: "Create For Ghost Working Hours",
25093
+ description: "Create For Ghost Working Hours.",
25094
+ safety: "create",
25095
+ destructive: false,
25096
+ cli: {
25097
+ group: ["working-hours"],
25098
+ command: "create-for-ghost",
25099
+ interactive: "hidden"
25100
+ },
25101
+ mcp: { entityTool: "working-hours" },
25102
+ inputSchema: /* @__PURE__ */ looseObject({
25103
+ ghost_id: /* @__PURE__ */ number$2(),
25104
+ payload: /* @__PURE__ */ unknown$1()
25105
+ }),
25106
+ execute: (input, { client }) => {
25107
+ const data = input;
25108
+ return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
25109
+ client.httpClient,
25110
+ client.organizationId,
25111
+ client.workspaceIdNumber,
25112
+ data.ghost_id,
25113
+ data.payload ?? data.data ?? data,
25114
+ void 0
25115
+ ]));
25116
+ }
25117
+ },
25974
25118
  {
25975
25119
  id: "focus.working-hours.create-for-user",
25976
25120
  family: "focus",
@@ -26001,6 +25145,37 @@ const generatedFocusOperations = [
26001
25145
  ]));
26002
25146
  }
26003
25147
  },
25148
+ {
25149
+ id: "focus.working-hours.delete-for-ghost",
25150
+ family: "focus",
25151
+ resource: "working-hours",
25152
+ action: "delete-for-ghost",
25153
+ title: "Delete For Ghost Working Hours",
25154
+ description: "Delete For Ghost Working Hours.",
25155
+ safety: "delete",
25156
+ destructive: true,
25157
+ cli: {
25158
+ group: ["working-hours"],
25159
+ command: "delete-for-ghost",
25160
+ interactive: "hidden"
25161
+ },
25162
+ mcp: { entityTool: "working-hours" },
25163
+ inputSchema: /* @__PURE__ */ looseObject({
25164
+ ghost_id: /* @__PURE__ */ number$2(),
25165
+ payload: /* @__PURE__ */ unknown$1()
25166
+ }),
25167
+ execute: (input, { client }) => {
25168
+ const data = input;
25169
+ return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
25170
+ client.httpClient,
25171
+ client.organizationId,
25172
+ client.workspaceIdNumber,
25173
+ data.ghost_id,
25174
+ data.payload ?? data.data ?? data,
25175
+ void 0
25176
+ ]));
25177
+ }
25178
+ },
26004
25179
  {
26005
25180
  id: "focus.working-hours.delete-for-user",
26006
25181
  family: "focus",
@@ -26031,6 +25206,33 @@ const generatedFocusOperations = [
26031
25206
  ]));
26032
25207
  }
26033
25208
  },
25209
+ {
25210
+ id: "focus.working-hours.get-for-ghost",
25211
+ family: "focus",
25212
+ resource: "working-hours",
25213
+ action: "get-for-ghost",
25214
+ title: "Get For Ghost Working Hours",
25215
+ description: "Get For Ghost Working Hours.",
25216
+ safety: "read",
25217
+ destructive: false,
25218
+ cli: {
25219
+ group: ["working-hours"],
25220
+ command: "get-for-ghost",
25221
+ interactive: "available"
25222
+ },
25223
+ mcp: { entityTool: "working-hours" },
25224
+ inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
25225
+ execute: (input, { client }) => {
25226
+ const data = input;
25227
+ return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
25228
+ client.httpClient,
25229
+ client.organizationId,
25230
+ client.workspaceIdNumber,
25231
+ data.ghost_id,
25232
+ void 0
25233
+ ]));
25234
+ }
25235
+ },
26034
25236
  {
26035
25237
  id: "focus.working-hours.get-for-user",
26036
25238
  family: "focus",
@@ -26057,6 +25259,37 @@ const generatedFocusOperations = [
26057
25259
  ]));
26058
25260
  }
26059
25261
  },
25262
+ {
25263
+ id: "focus.working-hours.update-for-ghost",
25264
+ family: "focus",
25265
+ resource: "working-hours",
25266
+ action: "update-for-ghost",
25267
+ title: "Update For Ghost Working Hours",
25268
+ description: "Update For Ghost Working Hours.",
25269
+ safety: "update",
25270
+ destructive: false,
25271
+ cli: {
25272
+ group: ["working-hours"],
25273
+ command: "update-for-ghost",
25274
+ interactive: "hidden"
25275
+ },
25276
+ mcp: { entityTool: "working-hours" },
25277
+ inputSchema: /* @__PURE__ */ looseObject({
25278
+ ghost_id: /* @__PURE__ */ number$2(),
25279
+ payload: /* @__PURE__ */ unknown$1()
25280
+ }),
25281
+ execute: (input, { client }) => {
25282
+ const data = input;
25283
+ return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
25284
+ client.httpClient,
25285
+ client.organizationId,
25286
+ client.workspaceIdNumber,
25287
+ data.ghost_id,
25288
+ data.payload ?? data.data ?? data,
25289
+ void 0
25290
+ ]));
25291
+ }
25292
+ },
26060
25293
  {
26061
25294
  id: "focus.working-hours.update-for-user",
26062
25295
  family: "focus",
@@ -26131,50 +25364,6 @@ const generatedFocusOperations = [
26131
25364
  void 0
26132
25365
  ]))
26133
25366
  },
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
- },
26178
25367
  {
26179
25368
  id: "focus.workspace-settings.list",
26180
25369
  family: "focus",
@@ -26249,32 +25438,6 @@ const generatedFocusOperations = [
26249
25438
  ]));
26250
25439
  }
26251
25440
  },
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
- },
26278
25441
  {
26279
25442
  id: "focus.workspace.get-context",
26280
25443
  family: "focus",
@@ -27914,4 +27077,4 @@ Common commands:
27914
27077
  //#endregion
27915
27078
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
27916
27079
 
27917
- //# sourceMappingURL=program-DxID0k3K.js.map
27080
+ //# sourceMappingURL=program-BTcLDXnP.js.map