@togglhq/cli 1.11.88 → 1.11.90

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.
@@ -5495,10 +5495,6 @@ function _joinExpects$1(values$1, separator) {
5495
5495
  */
5496
5496
  const ISO_DATE_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])$/u;
5497
5497
  /**
5498
- * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time regex.
5499
- */
5500
- const ISO_DATE_TIME_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])[T ](?:0\d|1\d|2[0-3]):[0-5]\d$/u;
5501
- /**
5502
5498
  * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp regex. Allows a
5503
5499
  * space as a date/time separator and an optional space before the UTC offset.
5504
5500
  */
@@ -5552,22 +5548,6 @@ function isoDate$1(message$1) {
5552
5548
  };
5553
5549
  }
5554
5550
  /* @__NO_SIDE_EFFECTS__ */
5555
- function isoDateTime$1(message$1) {
5556
- return {
5557
- kind: "validation",
5558
- type: "iso_date_time",
5559
- reference: isoDateTime$1,
5560
- async: false,
5561
- expects: null,
5562
- requirement: ISO_DATE_TIME_REGEX$1,
5563
- message: message$1,
5564
- "~run"(dataset, config$1) {
5565
- if (dataset.typed && !this.requirement.test(dataset.value)) _addIssue$1(this, "date-time", dataset, config$1);
5566
- return dataset;
5567
- }
5568
- };
5569
- }
5570
- /* @__NO_SIDE_EFFECTS__ */
5571
5551
  function isoTimestamp(message$1) {
5572
5552
  return {
5573
5553
  kind: "validation",
@@ -7236,7 +7216,11 @@ function pipe(...pipe$1) {
7236
7216
  }
7237
7217
  const TaskAssignmentSchema = /* @__PURE__ */ object({
7238
7218
  id: /* @__PURE__ */ number(),
7239
- type: /* @__PURE__ */ picklist(["user", "team"])
7219
+ type: /* @__PURE__ */ picklist([
7220
+ "user",
7221
+ "ghost",
7222
+ "team"
7223
+ ])
7240
7224
  });
7241
7225
  const ClientLiteSchema = /* @__PURE__ */ object({
7242
7226
  id: /* @__PURE__ */ number(),
@@ -7278,8 +7262,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
7278
7262
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7279
7263
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
7280
7264
  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.")))
7265
+ rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
7283
7266
  });
7284
7267
  const TaskMetadataSchema = /* @__PURE__ */ object({
7285
7268
  all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7352,7 +7335,7 @@ const TaskSchema = /* @__PURE__ */ object({
7352
7335
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7353
7336
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
7354
7337
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7355
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7338
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7356
7339
  client: /* @__PURE__ */ optional(ClientLiteSchema),
7357
7340
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7358
7341
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -7360,6 +7343,7 @@ const TaskSchema = /* @__PURE__ */ object({
7360
7343
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7361
7344
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7362
7345
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7346
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7363
7347
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7364
7348
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7365
7349
  parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7369,7 +7353,6 @@ const TaskSchema = /* @__PURE__ */ object({
7369
7353
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7370
7354
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7371
7355
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7372
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7373
7356
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7374
7357
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7375
7358
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -7413,7 +7396,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7413
7396
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7414
7397
  assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
7415
7398
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7416
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7399
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7417
7400
  client: /* @__PURE__ */ optional(ClientLiteSchema),
7418
7401
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7419
7402
  custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
@@ -7421,6 +7404,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7421
7404
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7422
7405
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7423
7406
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7407
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
7424
7408
  metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
7425
7409
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7426
7410
  parent: /* @__PURE__ */ optional(TaskSchema),
@@ -7431,7 +7415,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
7431
7415
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7432
7416
  recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7433
7417
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7434
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7435
7418
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7436
7419
  source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7437
7420
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
@@ -7590,7 +7573,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
7590
7573
  tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
7591
7574
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7592
7575
  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."))),
7576
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
7594
7577
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7595
7578
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7596
7579
  });
@@ -7734,7 +7717,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
7734
7717
  task: /* @__PURE__ */ optional(TaskSchema),
7735
7718
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7736
7719
  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."))),
7720
+ timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
7738
7721
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
7739
7722
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7740
7723
  })),
@@ -7746,15 +7729,9 @@ const TagSchema$1 = /* @__PURE__ */ object({
7746
7729
  id: /* @__PURE__ */ number(),
7747
7730
  name: /* @__PURE__ */ string(),
7748
7731
  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
7732
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7751
7733
  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.")))
7734
+ updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
7758
7735
  });
7759
7736
  const PaginatedTagsSchema = /* @__PURE__ */ object({
7760
7737
  data: /* @__PURE__ */ array(TagSchema$1),
@@ -7765,8 +7742,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
7765
7742
  const OrganizationUserResponseSchema = /* @__PURE__ */ object({
7766
7743
  "2fa_enabled": /* @__PURE__ */ boolean(),
7767
7744
  account_locked_at: /* @__PURE__ */ string(),
7768
- accounts_role_id: /* @__PURE__ */ number(),
7769
7745
  active: /* @__PURE__ */ boolean(),
7746
+ admin: /* @__PURE__ */ boolean(),
7770
7747
  can_edit_personal_details: /* @__PURE__ */ boolean(),
7771
7748
  created_at: /* @__PURE__ */ string(),
7772
7749
  deleted_at: /* @__PURE__ */ string(),
@@ -7815,9 +7792,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
7815
7792
  track_role_id: /* @__PURE__ */ number(),
7816
7793
  work_role_id: /* @__PURE__ */ number(),
7817
7794
  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.")))
7795
+ }))
7821
7796
  });
7822
7797
  const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7823
7798
  const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
@@ -7894,7 +7869,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7894
7869
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7895
7870
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7896
7871
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7897
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
7872
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7873
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7898
7874
  integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7899
7875
  integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7900
7876
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -7910,7 +7886,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7910
7886
  priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7911
7887
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7912
7888
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
7913
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7914
7889
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7915
7890
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
7916
7891
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7920,23 +7895,22 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
7920
7895
  const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7921
7896
  const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
7922
7897
  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.")))
7898
+ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
7925
7899
  });
7926
7900
  const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7927
7901
  const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
7928
7902
  const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7929
- after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7930
7903
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
7931
7904
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7932
7905
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7933
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7906
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7934
7907
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7935
7908
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
7936
7909
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7937
7910
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7938
7911
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7939
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
7912
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7913
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7940
7914
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7941
7915
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7942
7916
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7953,7 +7927,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7953
7927
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7954
7928
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7955
7929
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7956
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7957
7930
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7958
7931
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7959
7932
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -7962,17 +7935,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
7962
7935
  });
7963
7936
  const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7964
7937
  id: /* @__PURE__ */ number(),
7965
- after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7966
7938
  allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
7967
7939
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7968
7940
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7969
- billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
7941
+ billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7970
7942
  color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7971
7943
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
7972
7944
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7973
7945
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7974
7946
  estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
7975
- estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
7947
+ estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7948
+ ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
7976
7949
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7977
7950
  notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7978
7951
  outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -7989,7 +7962,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
7989
7962
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7990
7963
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7991
7964
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
7992
- rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
7993
7965
  rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7994
7966
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
7995
7967
  status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -9913,7 +9885,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
9913
9885
  })
9914
9886
  }).json();
9915
9887
  }
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) {
9888
+ async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group } = {}, signal) {
9917
9889
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
9918
9890
  signal,
9919
9891
  searchParams: buildSearchParams$2({
@@ -9933,10 +9905,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
9933
9905
  include_working_hours,
9934
9906
  include_rates,
9935
9907
  pinned_ids,
9936
- has_group,
9937
- cf_filter,
9938
- include_custom_fields,
9939
- include_calendar_integration
9908
+ has_group
9940
9909
  }, true)
9941
9910
  });
9942
9911
  return withResponseMeta(await response.json(), response.headers, response.status);
@@ -9955,7 +9924,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
9955
9924
  }
9956
9925
  //#endregion
9957
9926
  //#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) {
9927
+ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
9959
9928
  return await httpClient.get(`workspaces/${workspace_id}/tags`, {
9960
9929
  signal,
9961
9930
  searchParams: buildSearchParams$2({
@@ -9963,10 +9932,7 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
9963
9932
  page,
9964
9933
  per_page,
9965
9934
  order_by,
9966
- tag_id,
9967
- include_usage,
9968
- include_archived,
9969
- archived
9935
+ tag_id
9970
9936
  })
9971
9937
  }).json();
9972
9938
  }
@@ -9976,42 +9942,6 @@ async function createTag(httpClient, workspace_id, data, signal) {
9976
9942
  json: data
9977
9943
  }).json();
9978
9944
  }
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
9945
  async function getTag(httpClient, workspace_id, tag_id, signal) {
10016
9946
  return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
10017
9947
  }
@@ -10024,18 +9954,12 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
10024
9954
  async function deleteTag(httpClient, workspace_id, tag_id, signal) {
10025
9955
  return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
10026
9956
  }
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
9957
  async function restoreTag(httpClient, workspace_id, tag_id, signal) {
10031
9958
  return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
10032
9959
  }
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
9960
  //#endregion
10037
9961
  //#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) {
9962
+ async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
10039
9963
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
10040
9964
  signal,
10041
9965
  searchParams: buildSearchParams$2({
@@ -10057,7 +9981,6 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
10057
9981
  include_rates,
10058
9982
  include_rollover,
10059
9983
  include_idle_recurring_templates,
10060
- collapse_recurring,
10061
9984
  include_drafts,
10062
9985
  include_locked_private,
10063
9986
  start_date,
@@ -10288,7 +10211,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10288
10211
  }
10289
10212
  //#endregion
10290
10213
  //#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) {
10214
+ async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_ghost_assignees, include_assignees, include_parent_matches, assignee_ghost_id, disable_aggregations, cf_filter } = {}, signal) {
10292
10215
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10293
10216
  signal,
10294
10217
  searchParams: buildSearchParams$2({
@@ -10336,8 +10259,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10336
10259
  recurring_task_ids,
10337
10260
  client_id,
10338
10261
  include_rates,
10262
+ include_ghost_assignees,
10339
10263
  include_assignees,
10340
10264
  include_parent_matches,
10265
+ assignee_ghost_id,
10341
10266
  disable_aggregations,
10342
10267
  cf_filter
10343
10268
  })
@@ -10423,7 +10348,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
10423
10348
  })
10424
10349
  }).json();
10425
10350
  }
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) {
10351
+ async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
10427
10352
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
10428
10353
  signal,
10429
10354
  searchParams: buildSearchParams$2({
@@ -10436,14 +10361,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10436
10361
  dates_overlap_end,
10437
10362
  recurring_task_ids,
10438
10363
  team_id,
10439
- assignee_team_id,
10440
10364
  assignee_user_id,
10441
10365
  tag_id,
10366
+ include_ghost_assignees,
10442
10367
  include_assignees
10443
10368
  })
10444
10369
  }).json();
10445
10370
  }
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) {
10371
+ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
10447
10372
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10448
10373
  signal,
10449
10374
  searchParams: buildSearchParams$2({
@@ -10487,15 +10412,20 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10487
10412
  recurring,
10488
10413
  recurring_task_ids,
10489
10414
  client_id,
10415
+ include_ghost_assignees,
10490
10416
  include_assignees,
10417
+ assignee_ghost_id,
10491
10418
  cf_filter
10492
10419
  })
10493
10420
  }).json();
10494
10421
  }
10495
- async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
10422
+ async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
10496
10423
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
10497
10424
  signal,
10498
- searchParams: buildSearchParams$2({ include_assignees })
10425
+ searchParams: buildSearchParams$2({
10426
+ include_ghost_assignees,
10427
+ include_assignees
10428
+ })
10499
10429
  }).json();
10500
10430
  }
10501
10431
  async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
@@ -10526,7 +10456,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
10526
10456
  searchParams: buildSearchParams$2({ from_recurring_task_id })
10527
10457
  }).json();
10528
10458
  }
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) {
10459
+ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
10530
10460
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
10531
10461
  signal,
10532
10462
  searchParams: buildSearchParams$2({
@@ -10539,11 +10469,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
10539
10469
  team_id,
10540
10470
  assignee_user_id,
10541
10471
  tag_id,
10472
+ include_ghost_assignees,
10542
10473
  include_assignees
10543
10474
  })
10544
10475
  }).json();
10545
10476
  }
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) {
10477
+ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_ghost_assignees, include_assignees } = {}, signal) {
10547
10478
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
10548
10479
  signal,
10549
10480
  searchParams: buildSearchParams$2({
@@ -10556,6 +10487,7 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
10556
10487
  team_id,
10557
10488
  assignee_user_id,
10558
10489
  tag_id,
10490
+ include_ghost_assignees,
10559
10491
  include_assignees
10560
10492
  })
10561
10493
  }).json();
@@ -10657,12 +10589,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
10657
10589
  })
10658
10590
  }).json();
10659
10591
  }
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
10592
  async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
10667
10593
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
10668
10594
  signal,
@@ -10799,7 +10725,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
10799
10725
  ]))
10800
10726
  });
10801
10727
  //#endregion
10802
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10728
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10803
10729
  async function getInvitations(httpClient, signal) {
10804
10730
  return (await httpClient.get(`invitations`, { signal })).json();
10805
10731
  }
@@ -10816,7 +10742,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
10816
10742
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
10817
10743
  }
10818
10744
  //#endregion
10819
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/org/utils/requests.mjs
10745
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/utils/requests.mjs
10820
10746
  function buildSearchParams(params, flattenArrays = false) {
10821
10747
  const searchParams = new URLSearchParams();
10822
10748
  Object.entries(params).forEach(([key, value]) => {
@@ -10828,7 +10754,7 @@ function buildSearchParams(params, flattenArrays = false) {
10828
10754
  return searchParams;
10829
10755
  }
10830
10756
  //#endregion
10831
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
10757
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
10832
10758
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
10833
10759
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
10834
10760
  }
@@ -10842,7 +10768,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
10842
10768
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
10843
10769
  }
10844
10770
  //#endregion
10845
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
10771
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
10846
10772
  async function getWorkspaces(httpClient, organization_id, signal) {
10847
10773
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
10848
10774
  }
@@ -10851,7 +10777,7 @@ async function getWorkspaceUserMeRoles(httpClient, organization_id, workspace_id
10851
10777
  }
10852
10778
  const WorkingHoursCreateInputSchema = /* @__PURE__ */ object$2({
10853
10779
  working_hours: /* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ maxValue$1(168)),
10854
- starting_hours: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ minValue$1(0), /* @__PURE__ */ maxValue$1(24))),
10780
+ starting_hours: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ maxValue$1(24))),
10855
10781
  weekday: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ minValue$1(0), /* @__PURE__ */ maxValue$1(6)))
10856
10782
  });
10857
10783
  const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
@@ -10862,7 +10788,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
10862
10788
  });
10863
10789
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
10864
10790
  //#endregion
10865
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
10791
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
10866
10792
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
10867
10793
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
10868
10794
  signal,
@@ -10873,12 +10799,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
10873
10799
  })).json();
10874
10800
  }
10875
10801
  //#endregion
10876
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
10802
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
10877
10803
  async function getStatus(httpClient, signal) {
10878
10804
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
10879
10805
  }
10880
10806
  //#endregion
10881
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
10807
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
10882
10808
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
10883
10809
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
10884
10810
  signal,
@@ -10906,7 +10832,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
10906
10832
  return response.json();
10907
10833
  }
10908
10834
  //#endregion
10909
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.90_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_a4bd5962c76e60f798635f731c30e246/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
10835
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
10910
10836
  async function getMyWorkingHours(httpClient, organization_id, signal) {
10911
10837
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
10912
10838
  }
@@ -14483,21 +14409,6 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
14483
14409
  }
14484
14410
  //#endregion
14485
14411
  //#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
14412
  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
14413
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
14503
14414
  signal,
@@ -14656,22 +14567,33 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
14656
14567
  }
14657
14568
  //#endregion
14658
14569
  //#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) {
14570
+ async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, ghost_id, private: private_, task_source, unit, include_drafts }, signal) {
14660
14571
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
14661
14572
  signal,
14662
14573
  searchParams: buildSearchParams$2({
14663
14574
  user_id,
14664
14575
  start_date,
14665
14576
  end_date,
14577
+ ghost_id,
14666
14578
  private: private_,
14667
14579
  task_source,
14668
14580
  unit,
14669
- include_drafts,
14670
- include_task_estimates
14581
+ include_drafts
14671
14582
  })
14672
14583
  }).json();
14673
14584
  }
14674
14585
  //#endregion
14586
+ //#region ../focus-queries/dist/capacity-settings/requests.ts
14587
+ async function getCapacitySettings(httpClient, workspace_id, signal) {
14588
+ return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
14589
+ }
14590
+ async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
14591
+ return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
14592
+ signal,
14593
+ json: data
14594
+ }).json();
14595
+ }
14596
+ //#endregion
14675
14597
  //#region ../focus-queries/dist/composite/requests.ts
14676
14598
  async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
14677
14599
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
@@ -14754,12 +14676,6 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
14754
14676
  async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
14755
14677
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
14756
14678
  }
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
14679
  //#endregion
14764
14680
  //#region ../focus-queries/dist/goals/requests.ts
14765
14681
  async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
@@ -14985,7 +14901,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
14985
14901
  }
14986
14902
  //#endregion
14987
14903
  //#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) {
14904
+ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, include_drafts, cf_filter } = {}, signal) {
14989
14905
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
14990
14906
  signal,
14991
14907
  searchParams: buildSearchParams$2({
@@ -14997,7 +14913,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
14997
14913
  include_group_totals,
14998
14914
  include_unassigned,
14999
14915
  archived,
15000
- completed,
15001
14916
  private: private_,
15002
14917
  name,
15003
14918
  client_id,
@@ -15009,7 +14924,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
15009
14924
  start_date,
15010
14925
  end_date,
15011
14926
  user_id,
15012
- only_me,
15013
14927
  include_drafts,
15014
14928
  cf_filter
15015
14929
  })
@@ -15125,14 +15039,10 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
15125
15039
  }
15126
15040
  //#endregion
15127
15041
  //#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) {
15042
+ async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
15132
15043
  return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
15133
15044
  signal,
15134
15045
  json: data,
15135
- headers: { "X-Toggl-Report-Export": xTogglReportExport },
15136
15046
  searchParams: buildSearchParams$2({
15137
15047
  response_format,
15138
15048
  include_dicts
@@ -15156,36 +15066,12 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
15156
15066
  json: data
15157
15067
  }).json();
15158
15068
  }
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) {
15069
+ async function getWorkloadReport(httpClient, workspace_id, data, signal) {
15166
15070
  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
15071
  signal,
15183
15072
  json: data
15184
15073
  }).json();
15185
15074
  }
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
15075
  //#endregion
15190
15076
  //#region ../focus-queries/dist/savedviews/requests.ts
15191
15077
  async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
@@ -15218,7 +15104,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
15218
15104
  }
15219
15105
  //#endregion
15220
15106
  //#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) {
15107
+ async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags }, signal) {
15222
15108
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
15223
15109
  signal,
15224
15110
  searchParams: buildSearchParams$2({
@@ -15230,56 +15116,11 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
15230
15116
  task_id,
15231
15117
  include_drafts,
15232
15118
  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
15119
+ group_by_tags
15244
15120
  })
15245
15121
  }).json();
15246
15122
  }
15247
15123
  //#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
15124
  //#region ../focus-queries/dist/subscriptions/requests.ts
15284
15125
  async function getCurrentSubscription(httpClient, organization_id, signal) {
15285
15126
  return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
@@ -15335,77 +15176,7 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
15335
15176
  }
15336
15177
  //#endregion
15337
15178
  //#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) {
15179
+ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_ghosts, include_assignees, min_days, include_drafts, cf_filter, page, per_page, order_by } = {}, signal) {
15409
15180
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
15410
15181
  signal,
15411
15182
  searchParams: buildSearchParams$2({
@@ -15429,14 +15200,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
15429
15200
  end_date_to,
15430
15201
  private: private_,
15431
15202
  exclude_empty,
15432
- include_unassigned,
15433
- include_unmaterialized,
15434
- collapse_recurring,
15203
+ include_ghosts,
15435
15204
  include_assignees,
15436
15205
  min_days,
15437
15206
  include_drafts,
15438
15207
  cf_filter,
15439
- user_cf_filter,
15440
15208
  page,
15441
15209
  per_page,
15442
15210
  order_by
@@ -15573,18 +15341,17 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
15573
15341
  }).json();
15574
15342
  }
15575
15343
  //#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`, {
15344
+ //#region ../focus-queries/dist/time-log-suggestions/requests.ts
15345
+ async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
15346
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
15579
15347
  signal,
15580
- searchParams: buildSearchParams$2({
15581
- start_date,
15582
- end_date,
15583
- user_id,
15584
- page,
15585
- per_page,
15586
- order_by
15587
- })
15348
+ json: data
15349
+ }).json();
15350
+ }
15351
+ async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
15352
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
15353
+ signal,
15354
+ json: data
15588
15355
  }).json();
15589
15356
  }
15590
15357
  //#endregion
@@ -15626,6 +15393,43 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
15626
15393
  json: data
15627
15394
  }).json();
15628
15395
  }
15396
+ async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
15397
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
15398
+ signal,
15399
+ searchParams: buildSearchParams$2({
15400
+ ghost_ids,
15401
+ start_date,
15402
+ end_date
15403
+ })
15404
+ }).json();
15405
+ }
15406
+ async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
15407
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15408
+ signal,
15409
+ searchParams: buildSearchParams$2({
15410
+ from,
15411
+ to
15412
+ })
15413
+ }).json();
15414
+ }
15415
+ async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15416
+ return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15417
+ signal,
15418
+ json: data
15419
+ }).json();
15420
+ }
15421
+ async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15422
+ return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15423
+ signal,
15424
+ json: data
15425
+ }).json();
15426
+ }
15427
+ async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15428
+ return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
15429
+ signal,
15430
+ json: data
15431
+ }).json();
15432
+ }
15629
15433
  //#endregion
15630
15434
  //#region ../focus-queries/dist/timesheet-setups/requests.ts
15631
15435
  async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
@@ -15818,6 +15622,27 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
15818
15622
  json: data
15819
15623
  }).json();
15820
15624
  }
15625
+ async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
15626
+ return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
15627
+ }
15628
+ async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15629
+ return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15630
+ signal,
15631
+ json: data
15632
+ }).json();
15633
+ }
15634
+ async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15635
+ return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15636
+ signal,
15637
+ json: data
15638
+ }).json();
15639
+ }
15640
+ async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
15641
+ return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
15642
+ signal,
15643
+ json: data
15644
+ }).json();
15645
+ }
15821
15646
  //#endregion
15822
15647
  //#region ../focus-queries/dist/workspace/requests.ts
15823
15648
  async function getWorkspaceContext(httpClient, workspace_id, signal) {
@@ -15834,9 +15659,6 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
15834
15659
  json: data
15835
15660
  }).json();
15836
15661
  }
15837
- async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
15838
- return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
15839
- }
15840
15662
  async function getUserPermissions(httpClient, workspace_id, signal) {
15841
15663
  return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
15842
15664
  }
@@ -15849,15 +15671,6 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
15849
15671
  json: data
15850
15672
  }).json();
15851
15673
  }
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
15674
  //#endregion
15862
15675
  //#region ../operations/build/index.public.js
15863
15676
  function callGeneratedRequest(request, args) {
@@ -15993,17 +15806,17 @@ const generatedFocusOperations = [
15993
15806
  ]))
15994
15807
  },
15995
15808
  {
15996
- id: "focus.audit-log.get-organization",
15809
+ id: "focus.audit-log.list",
15997
15810
  family: "focus",
15998
15811
  resource: "audit-log",
15999
- action: "get-organization",
16000
- title: "Get Organization Audit Log",
16001
- description: "Get Organization Audit Log.",
15812
+ action: "list",
15813
+ title: "List Audit Log",
15814
+ description: "List Audit Log.",
16002
15815
  safety: "read",
16003
15816
  destructive: false,
16004
15817
  cli: {
16005
15818
  group: ["audit-log"],
16006
- command: "get-organization",
15819
+ command: "list",
16007
15820
  interactive: "hidden"
16008
15821
  },
16009
15822
  mcp: { entityTool: "audit-log" },
@@ -16017,47 +15830,7 @@ const generatedFocusOperations = [
16017
15830
  page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16018
15831
  page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
16019
15832
  to: /* @__PURE__ */ string$1(),
16020
- user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16021
- workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16022
- }),
16023
- execute: (input, { client }) => {
16024
- const data = input;
16025
- return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
16026
- client.httpClient,
16027
- client.organizationId,
16028
- data.from,
16029
- data.to,
16030
- data,
16031
- void 0
16032
- ]));
16033
- }
16034
- },
16035
- {
16036
- id: "focus.audit-log.list",
16037
- family: "focus",
16038
- resource: "audit-log",
16039
- action: "list",
16040
- title: "List Audit Log",
16041
- description: "List Audit Log.",
16042
- safety: "read",
16043
- destructive: false,
16044
- cli: {
16045
- group: ["audit-log"],
16046
- command: "list",
16047
- interactive: "hidden"
16048
- },
16049
- mcp: { entityTool: "audit-log" },
16050
- 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())
15833
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16061
15834
  }),
16062
15835
  execute: (input, { client }) => {
16063
15836
  const data = input;
@@ -16089,9 +15862,9 @@ const generatedFocusOperations = [
16089
15862
  mcp: { entityTool: "capacities" },
16090
15863
  inputSchema: /* @__PURE__ */ looseObject({
16091
15864
  end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
15865
+ ghost_id: /* @__PURE__ */ number$2(),
16092
15866
  group: /* @__PURE__ */ picklist$1(["users"]),
16093
15867
  include_drafts: /* @__PURE__ */ unknown$1(),
16094
- include_task_estimates: /* @__PURE__ */ unknown$1(),
16095
15868
  private_: /* @__PURE__ */ unknown$1(),
16096
15869
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16097
15870
  task_source: /* @__PURE__ */ unknown$1(),
@@ -16110,6 +15883,54 @@ const generatedFocusOperations = [
16110
15883
  ]));
16111
15884
  }
16112
15885
  },
15886
+ {
15887
+ id: "focus.capacities.settings-list",
15888
+ family: "focus",
15889
+ resource: "capacities",
15890
+ action: "settings-list",
15891
+ title: "Settings List Capacities",
15892
+ description: "Settings List Capacities.",
15893
+ safety: "read",
15894
+ destructive: false,
15895
+ cli: {
15896
+ group: ["capacities", "settings"],
15897
+ command: "list",
15898
+ interactive: "hidden"
15899
+ },
15900
+ mcp: { entityTool: "capacities" },
15901
+ inputSchema: /* @__PURE__ */ looseObject({}),
15902
+ execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
15903
+ client.httpClient,
15904
+ client.workspaceIdNumber,
15905
+ void 0
15906
+ ]))
15907
+ },
15908
+ {
15909
+ id: "focus.capacities.settings-update",
15910
+ family: "focus",
15911
+ resource: "capacities",
15912
+ action: "settings-update",
15913
+ title: "Settings Update Capacities",
15914
+ description: "Settings Update Capacities.",
15915
+ safety: "update",
15916
+ destructive: false,
15917
+ cli: {
15918
+ group: ["capacities", "settings"],
15919
+ command: "update",
15920
+ interactive: "default"
15921
+ },
15922
+ mcp: { entityTool: "capacities" },
15923
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
15924
+ execute: (input, { client }) => {
15925
+ const data = input;
15926
+ return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
15927
+ client.httpClient,
15928
+ client.workspaceIdNumber,
15929
+ data.payload ?? data.data ?? data,
15930
+ void 0
15931
+ ]));
15932
+ }
15933
+ },
16113
15934
  {
16114
15935
  id: "focus.clients.create",
16115
15936
  family: "focus",
@@ -16304,7 +16125,8 @@ const generatedFocusOperations = [
16304
16125
  hourly_rate: /* @__PURE__ */ number$2(),
16305
16126
  start_at: apiDateTimeString,
16306
16127
  end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
16307
- })))
16128
+ }))),
16129
+ resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
16308
16130
  }) }),
16309
16131
  execute: (input, { client }) => {
16310
16132
  const data = input;
@@ -16359,7 +16181,6 @@ const generatedFocusOperations = [
16359
16181
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16360
16182
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16361
16183
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16362
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16363
16184
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16364
16185
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16365
16186
  }),
@@ -16392,7 +16213,6 @@ const generatedFocusOperations = [
16392
16213
  priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
16393
16214
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16394
16215
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
16395
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
16396
16216
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
16397
16217
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
16398
16218
  }))),
@@ -16448,11 +16268,7 @@ const generatedFocusOperations = [
16448
16268
  },
16449
16269
  mcp: { entityTool: "custom-fields" },
16450
16270
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16451
- entity_type: /* @__PURE__ */ picklist$1([
16452
- "project",
16453
- "task",
16454
- "user"
16455
- ]),
16271
+ entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
16456
16272
  field_type: /* @__PURE__ */ picklist$1([
16457
16273
  "select",
16458
16274
  "multi_select",
@@ -16785,11 +16601,7 @@ const generatedFocusOperations = [
16785
16601
  },
16786
16602
  mcp: { entityTool: "custom-fields" },
16787
16603
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16788
- entity_type: /* @__PURE__ */ picklist$1([
16789
- "project",
16790
- "task",
16791
- "user"
16792
- ]),
16604
+ entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
16793
16605
  ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
16794
16606
  }) }),
16795
16607
  execute: (input, { client }) => {
@@ -16803,37 +16615,6 @@ const generatedFocusOperations = [
16803
16615
  ]));
16804
16616
  }
16805
16617
  },
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
16618
  {
16838
16619
  id: "focus.goals.create",
16839
16620
  family: "focus",
@@ -17053,22 +16834,10 @@ const generatedFocusOperations = [
17053
16834
  goal_id: /* @__PURE__ */ number$2(),
17054
16835
  payload: /* @__PURE__ */ looseObject({
17055
16836
  active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
17056
- client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
17057
16837
  comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17058
16838
  icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
17059
16839
  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()))
16840
+ target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
17072
16841
  })
17073
16842
  }),
17074
16843
  execute: (input, { client }) => {
@@ -18401,7 +18170,6 @@ const generatedFocusOperations = [
18401
18170
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18402
18171
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18403
18172
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18404
- completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18405
18173
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18406
18174
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
18407
18175
  group: /* @__PURE__ */ string$1(),
@@ -18409,7 +18177,6 @@ const generatedFocusOperations = [
18409
18177
  include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18410
18178
  include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18411
18179
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18412
- only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18413
18180
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
18414
18181
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18415
18182
  parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -20594,10 +20361,7 @@ const generatedFocusOperations = [
20594
20361
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20595
20362
  name: /* @__PURE__ */ string$1(),
20596
20363
  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())
20364
+ }))
20601
20365
  }),
20602
20366
  response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
20603
20367
  }),
@@ -20638,28 +20402,6 @@ const generatedFocusOperations = [
20638
20402
  ]));
20639
20403
  }
20640
20404
  },
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
20405
  {
20664
20406
  id: "focus.reports.get-profitability",
20665
20407
  family: "focus",
@@ -20719,17 +20461,9 @@ const generatedFocusOperations = [
20719
20461
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20720
20462
  name: /* @__PURE__ */ string$1(),
20721
20463
  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())
20464
+ }))
20726
20465
  }),
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
- ]))
20466
+ response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
20733
20467
  }),
20734
20468
  execute: (input, { client }) => {
20735
20469
  const data = input;
@@ -20739,23 +20473,22 @@ const generatedFocusOperations = [
20739
20473
  data.payload ?? data.data ?? data,
20740
20474
  data.response_format,
20741
20475
  data.include_dicts,
20742
- data.xTogglReportExport,
20743
20476
  void 0
20744
20477
  ]));
20745
20478
  }
20746
20479
  },
20747
20480
  {
20748
- id: "focus.reports.get-time-accounting",
20481
+ id: "focus.reports.get-workload",
20749
20482
  family: "focus",
20750
20483
  resource: "reports",
20751
- action: "get-time-accounting",
20752
- title: "Get Time Accounting Reports",
20753
- description: "Get Time Accounting Reports.",
20484
+ action: "get-workload",
20485
+ title: "Get Workload Reports",
20486
+ description: "Get Workload Reports.",
20754
20487
  safety: "update",
20755
20488
  destructive: false,
20756
20489
  cli: {
20757
20490
  group: ["reports"],
20758
- command: "get-time-accounting",
20491
+ command: "get-workload",
20759
20492
  interactive: "hidden"
20760
20493
  },
20761
20494
  mcp: { entityTool: "reports" },
@@ -20801,14 +20534,11 @@ const generatedFocusOperations = [
20801
20534
  transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20802
20535
  name: /* @__PURE__ */ string$1(),
20803
20536
  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())
20537
+ }))
20808
20538
  }) }),
20809
20539
  execute: (input, { client }) => {
20810
20540
  const data = input;
20811
- return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
20541
+ return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
20812
20542
  client.httpClient,
20813
20543
  client.workspaceIdNumber,
20814
20544
  data.payload ?? data.data ?? data,
@@ -20817,104 +20547,71 @@ const generatedFocusOperations = [
20817
20547
  }
20818
20548
  },
20819
20549
  {
20820
- id: "focus.reports.get-workload",
20550
+ id: "focus.saved-views.create",
20821
20551
  family: "focus",
20822
- resource: "reports",
20823
- action: "get-workload",
20824
- title: "Get Workload Reports",
20825
- description: "Get Workload Reports.",
20826
- safety: "update",
20552
+ resource: "saved-views",
20553
+ action: "create",
20554
+ title: "Create Saved Views",
20555
+ description: "Create Saved Views.",
20556
+ safety: "create",
20827
20557
  destructive: false,
20828
20558
  cli: {
20829
- group: ["reports"],
20830
- command: "get-workload",
20559
+ group: ["saved-views"],
20560
+ command: "create",
20831
20561
  interactive: "hidden"
20832
20562
  },
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
- }),
20563
+ mcp: { entityTool: "saved-views" },
20564
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
20565
+ name: /* @__PURE__ */ string$1(),
20566
+ params: /* @__PURE__ */ unknown$1(),
20567
+ pinned: /* @__PURE__ */ boolean$1(),
20568
+ type: /* @__PURE__ */ picklist$1([
20569
+ "inbox",
20570
+ "archive",
20571
+ "board",
20572
+ "timeline",
20573
+ "project",
20574
+ "project.tasks",
20575
+ "project.board",
20576
+ "project.timeline",
20577
+ "projects",
20578
+ "reports.summary",
20579
+ "reports.detailed",
20580
+ "reports.utilization",
20581
+ "reports.workload",
20582
+ "reports.profitability"
20583
+ ]),
20584
+ icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
20585
+ }) }),
20888
20586
  execute: (input, { client }) => {
20889
20587
  const data = input;
20890
- return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
20588
+ return client.runGeneratedRequest("createANewSavedView", () => callGeneratedRequest(createANewSavedView, [
20891
20589
  client.httpClient,
20892
20590
  client.workspaceIdNumber,
20893
20591
  data.payload ?? data.data ?? data,
20894
- data.xTogglReportExport,
20895
20592
  void 0
20896
20593
  ]));
20897
20594
  }
20898
20595
  },
20899
20596
  {
20900
- id: "focus.reportschedules.delete-shared-report-schedule",
20597
+ id: "focus.saved-views.delete",
20901
20598
  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.",
20599
+ resource: "saved-views",
20600
+ action: "delete",
20601
+ title: "Delete Saved Views",
20602
+ description: "Delete Saved Views.",
20906
20603
  safety: "delete",
20907
20604
  destructive: true,
20908
20605
  cli: {
20909
- group: ["reportschedules"],
20910
- command: "delete-shared-report-schedule",
20606
+ group: ["saved-views"],
20607
+ command: "delete",
20911
20608
  interactive: "default"
20912
20609
  },
20913
- mcp: { entityTool: "reportschedules" },
20914
- inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
20610
+ mcp: { entityTool: "saved-views" },
20611
+ inputSchema: savedViewIdSchema,
20915
20612
  execute: (input, { client }) => {
20916
20613
  const data = input;
20917
- return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
20614
+ return client.runGeneratedRequest("deleteASavedView", () => callGeneratedRequest(deleteASavedView, [
20918
20615
  client.httpClient,
20919
20616
  client.workspaceIdNumber,
20920
20617
  data.id,
@@ -20923,190 +20620,33 @@ const generatedFocusOperations = [
20923
20620
  }
20924
20621
  },
20925
20622
  {
20926
- id: "focus.reportschedules.upsert-saved-view-schedule",
20623
+ id: "focus.saved-views.get",
20927
20624
  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",
20625
+ resource: "saved-views",
20626
+ action: "get",
20627
+ title: "Get Saved Views",
20628
+ description: "Get Saved Views.",
20629
+ safety: "read",
20933
20630
  destructive: false,
20934
20631
  cli: {
20935
- group: ["reportschedules"],
20936
- command: "upsert-saved-view-schedule",
20937
- interactive: "default"
20632
+ group: ["saved-views"],
20633
+ command: "get",
20634
+ interactive: "available"
20938
20635
  },
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
- }),
20636
+ mcp: { entityTool: "saved-views" },
20637
+ inputSchema: savedViewIdSchema,
20955
20638
  execute: (input, { client }) => {
20956
20639
  const data = input;
20957
- return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
20640
+ return client.runGeneratedRequest("getASavedView", () => callGeneratedRequest(getASavedView, [
20958
20641
  client.httpClient,
20959
20642
  client.workspaceIdNumber,
20960
20643
  data.id,
20961
- data.payload ?? data.data ?? data,
20962
20644
  void 0
20963
20645
  ]));
20964
20646
  }
20965
20647
  },
20966
20648
  {
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
- void 0
21004
- ]));
21005
- }
21006
- },
21007
- {
21008
- id: "focus.saved-views.create",
21009
- family: "focus",
21010
- resource: "saved-views",
21011
- action: "create",
21012
- title: "Create Saved Views",
21013
- description: "Create Saved Views.",
21014
- safety: "create",
21015
- destructive: false,
21016
- cli: {
21017
- group: ["saved-views"],
21018
- command: "create",
21019
- interactive: "hidden"
21020
- },
21021
- mcp: { entityTool: "saved-views" },
21022
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
21023
- name: /* @__PURE__ */ string$1(),
21024
- params: /* @__PURE__ */ unknown$1(),
21025
- pinned: /* @__PURE__ */ boolean$1(),
21026
- type: /* @__PURE__ */ picklist$1([
21027
- "inbox",
21028
- "archive",
21029
- "board",
21030
- "timeline",
21031
- "project",
21032
- "project.tasks",
21033
- "project.board",
21034
- "project.timeline",
21035
- "projects",
21036
- "reports.summary",
21037
- "reports.detailed",
21038
- "reports.utilization",
21039
- "reports.workload",
21040
- "reports.profitability",
21041
- "reports.time-off",
21042
- "reports.time-accounting"
21043
- ]),
21044
- icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
21045
- }) }),
21046
- execute: (input, { client }) => {
21047
- const data = input;
21048
- return client.runGeneratedRequest("createANewSavedView", () => callGeneratedRequest(createANewSavedView, [
21049
- client.httpClient,
21050
- client.workspaceIdNumber,
21051
- data.payload ?? data.data ?? data,
21052
- void 0
21053
- ]));
21054
- }
21055
- },
21056
- {
21057
- id: "focus.saved-views.delete",
21058
- family: "focus",
21059
- resource: "saved-views",
21060
- action: "delete",
21061
- title: "Delete Saved Views",
21062
- description: "Delete Saved Views.",
21063
- safety: "delete",
21064
- destructive: true,
21065
- cli: {
21066
- group: ["saved-views"],
21067
- command: "delete",
21068
- interactive: "default"
21069
- },
21070
- mcp: { entityTool: "saved-views" },
21071
- inputSchema: savedViewIdSchema,
21072
- execute: (input, { client }) => {
21073
- const data = input;
21074
- return client.runGeneratedRequest("deleteASavedView", () => callGeneratedRequest(deleteASavedView, [
21075
- client.httpClient,
21076
- client.workspaceIdNumber,
21077
- data.id,
21078
- void 0
21079
- ]));
21080
- }
21081
- },
21082
- {
21083
- id: "focus.saved-views.get",
21084
- family: "focus",
21085
- resource: "saved-views",
21086
- action: "get",
21087
- title: "Get Saved Views",
21088
- description: "Get Saved Views.",
21089
- safety: "read",
21090
- destructive: false,
21091
- cli: {
21092
- group: ["saved-views"],
21093
- command: "get",
21094
- interactive: "available"
21095
- },
21096
- mcp: { entityTool: "saved-views" },
21097
- inputSchema: savedViewIdSchema,
21098
- execute: (input, { client }) => {
21099
- const data = input;
21100
- return client.runGeneratedRequest("getASavedView", () => callGeneratedRequest(getASavedView, [
21101
- client.httpClient,
21102
- client.workspaceIdNumber,
21103
- data.id,
21104
- void 0
21105
- ]));
21106
- }
21107
- },
21108
- {
21109
- id: "focus.saved-views.list",
20649
+ id: "focus.saved-views.list",
21110
20650
  family: "focus",
21111
20651
  resource: "saved-views",
21112
20652
  action: "list",
@@ -21162,36 +20702,6 @@ const generatedFocusOperations = [
21162
20702
  ]));
21163
20703
  }
21164
20704
  },
21165
- {
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
20705
  {
21196
20706
  id: "focus.search.search",
21197
20707
  family: "focus",
@@ -21219,240 +20729,6 @@ const generatedFocusOperations = [
21219
20729
  ]));
21220
20730
  }
21221
20731
  },
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
20732
  {
21457
20733
  id: "focus.statuses.create-status",
21458
20734
  family: "focus",
@@ -21709,181 +20985,22 @@ const generatedFocusOperations = [
21709
20985
  family: "focus",
21710
20986
  resource: "subscriptions",
21711
20987
  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.",
20988
+ title: "Upsert Forced Trial Subscriptions",
20989
+ description: "Upsert Forced Trial Subscriptions.",
21874
20990
  safety: "update",
21875
20991
  destructive: false,
21876
20992
  cli: {
21877
- group: ["tags", "bulk"],
21878
- command: "unarchive",
20993
+ group: ["subscriptions"],
20994
+ command: "upsert-forced-trial",
21879
20995
  interactive: "default"
21880
20996
  },
21881
- mcp: { entityTool: "tags" },
21882
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
20997
+ mcp: { entityTool: "subscriptions" },
20998
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
21883
20999
  execute: (input, { client }) => {
21884
21000
  const data = input;
21885
- return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
21001
+ return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
21886
21002
  client.httpClient,
21003
+ client.organizationId,
21887
21004
  client.workspaceIdNumber,
21888
21005
  data.payload ?? data.data ?? data,
21889
21006
  void 0
@@ -21974,35 +21091,6 @@ const generatedFocusOperations = [
21974
21091
  return client.listTags(data);
21975
21092
  }
21976
21093
  },
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
21094
  {
22007
21095
  id: "focus.tags.restore",
22008
21096
  family: "focus",
@@ -22029,32 +21117,6 @@ const generatedFocusOperations = [
22029
21117
  ]));
22030
21118
  }
22031
21119
  },
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
21120
  {
22059
21121
  id: "focus.tags.update",
22060
21122
  family: "focus",
@@ -22736,12 +21798,12 @@ const generatedFocusOperations = [
22736
21798
  mcp: { entityTool: "tasks" },
22737
21799
  inputSchema: /* @__PURE__ */ looseObject({
22738
21800
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22739
- assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22740
21801
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22741
21802
  dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22742
21803
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22743
21804
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22744
21805
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21806
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22745
21807
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22746
21808
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22747
21809
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22778,6 +21840,7 @@ const generatedFocusOperations = [
22778
21840
  inputSchema: /* @__PURE__ */ looseObject({
22779
21841
  active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22780
21842
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21843
+ assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22781
21844
  assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22782
21845
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22783
21846
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22794,6 +21857,7 @@ const generatedFocusOperations = [
22794
21857
  has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22795
21858
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22796
21859
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21860
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22797
21861
  include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22798
21862
  include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22799
21863
  is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22849,6 +21913,7 @@ const generatedFocusOperations = [
22849
21913
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22850
21914
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22851
21915
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21916
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22852
21917
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22853
21918
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22854
21919
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22889,6 +21954,7 @@ const generatedFocusOperations = [
22889
21954
  archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22890
21955
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22891
21956
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21957
+ include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22892
21958
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22893
21959
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22894
21960
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22929,7 +21995,6 @@ const generatedFocusOperations = [
22929
21995
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22930
21996
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22931
21997
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22932
- collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22933
21998
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22934
21999
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
22935
22000
  end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22943,8 +22008,7 @@ const generatedFocusOperations = [
22943
22008
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22944
22009
  include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22945
22010
  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()),
22011
+ include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22948
22012
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22949
22013
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22950
22014
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -22960,7 +22024,6 @@ const generatedFocusOperations = [
22960
22024
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22961
22025
  tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
22962
22026
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22963
- user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22964
22027
  user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
22965
22028
  }),
22966
22029
  execute: (input, { client }) => {
@@ -22975,118 +22038,6 @@ const generatedFocusOperations = [
22975
22038
  ]));
22976
22039
  }
22977
22040
  },
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
22041
  {
23091
22042
  id: "focus.tasks.groups-update",
23092
22043
  family: "focus",
@@ -23292,6 +22243,7 @@ const generatedFocusOperations = [
23292
22243
  name: /* @__PURE__ */ string$1(),
23293
22244
  status_id: /* @__PURE__ */ number$2(),
23294
22245
  auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22246
+ billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23295
22247
  color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23296
22248
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23297
22249
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -23311,7 +22263,6 @@ const generatedFocusOperations = [
23311
22263
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23312
22264
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23313
22265
  recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23314
- rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
23315
22266
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
23316
22267
  }),
23317
22268
  task_id: /* @__PURE__ */ number$2()
@@ -24320,40 +23271,6 @@ const generatedFocusOperations = [
24320
23271
  ]));
24321
23272
  }
24322
23273
  },
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
23274
  {
24358
23275
  id: "focus.time-entries.list",
24359
23276
  family: "focus",
@@ -24538,42 +23455,6 @@ const generatedFocusOperations = [
24538
23455
  inputSchema: emptySchema$1,
24539
23456
  execute: (_input, { client }) => client.stopTracking()
24540
23457
  },
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
23458
  {
24578
23459
  id: "focus.time-entries.tracking-get-tracked-time-entry",
24579
23460
  family: "focus",
@@ -24622,7 +23503,6 @@ const generatedFocusOperations = [
24622
23503
  create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24623
23504
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24624
23505
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24625
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24626
23506
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24627
23507
  extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
24628
23508
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -24685,33 +23565,121 @@ const generatedFocusOperations = [
24685
23565
  safety: "update",
24686
23566
  destructive: false,
24687
23567
  cli: {
24688
- group: ["time-entries"],
24689
- command: "update",
24690
- interactive: "default"
23568
+ group: ["time-entries"],
23569
+ command: "update",
23570
+ interactive: "default"
23571
+ },
23572
+ mcp: { entityTool: "time-entries" },
23573
+ inputSchema: /* @__PURE__ */ looseObject({
23574
+ payload: /* @__PURE__ */ looseObject({
23575
+ type: /* @__PURE__ */ picklist$1(["activity", "break"]),
23576
+ calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23577
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23578
+ duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23579
+ planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
23580
+ planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23581
+ planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
23582
+ start: /* @__PURE__ */ optional$1(apiDateTimeString),
23583
+ time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
23584
+ tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
23585
+ }),
23586
+ time_entry_id: /* @__PURE__ */ number$2()
23587
+ }),
23588
+ execute: (input, { client }) => {
23589
+ const data = input;
23590
+ return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
23591
+ client.httpClient,
23592
+ client.organizationId,
23593
+ client.workspaceIdNumber,
23594
+ data.time_entry_id,
23595
+ data.payload ?? data.data ?? data,
23596
+ void 0
23597
+ ]));
23598
+ }
23599
+ },
23600
+ {
23601
+ id: "focus.time-log-suggestions.get-for-acalendar-event-title",
23602
+ family: "focus",
23603
+ resource: "time-log-suggestions",
23604
+ action: "get-for-acalendar-event-title",
23605
+ title: "Get For Acalendar Event Title Time Log Suggestions",
23606
+ description: "Get For Acalendar Event Title Time Log Suggestions.",
23607
+ safety: "update",
23608
+ destructive: false,
23609
+ cli: {
23610
+ group: ["time-log-suggestions"],
23611
+ command: "get-for-acalendar-event-title",
23612
+ interactive: "default"
23613
+ },
23614
+ mcp: { entityTool: "time-log-suggestions" },
23615
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
23616
+ execute: (input, { client }) => {
23617
+ const data = input;
23618
+ return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
23619
+ client.httpClient,
23620
+ client.organizationId,
23621
+ client.workspaceIdNumber,
23622
+ data.payload ?? data.data ?? data,
23623
+ void 0
23624
+ ]));
23625
+ }
23626
+ },
23627
+ {
23628
+ id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
23629
+ family: "focus",
23630
+ resource: "time-log-suggestions",
23631
+ action: "get-for-multiple-calendar-event-titles",
23632
+ title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
23633
+ description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
23634
+ safety: "update",
23635
+ destructive: false,
23636
+ cli: {
23637
+ group: ["time-log-suggestions"],
23638
+ command: "get-for-multiple-calendar-event-titles",
23639
+ interactive: "default"
23640
+ },
23641
+ mcp: { entityTool: "time-log-suggestions" },
23642
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
23643
+ key: /* @__PURE__ */ string$1(),
23644
+ title: /* @__PURE__ */ string$1()
23645
+ })) }) }),
23646
+ execute: (input, { client }) => {
23647
+ const data = input;
23648
+ return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
23649
+ client.httpClient,
23650
+ client.organizationId,
23651
+ client.workspaceIdNumber,
23652
+ data.payload ?? data.data ?? data,
23653
+ void 0
23654
+ ]));
23655
+ }
23656
+ },
23657
+ {
23658
+ id: "focus.time-off.create-timeoff-for-ghost",
23659
+ family: "focus",
23660
+ resource: "time-off",
23661
+ action: "create-timeoff-for-ghost",
23662
+ title: "Create Timeoff For Ghost Time Off",
23663
+ description: "Create Timeoff For Ghost Time Off.",
23664
+ safety: "create",
23665
+ destructive: false,
23666
+ cli: {
23667
+ group: ["time-off"],
23668
+ command: "create-timeoff-for-ghost",
23669
+ interactive: "hidden"
24691
23670
  },
24692
- mcp: { entityTool: "time-entries" },
23671
+ mcp: { entityTool: "time-off" },
24693
23672
  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()
23673
+ ghost_id: /* @__PURE__ */ number$2(),
23674
+ payload: /* @__PURE__ */ unknown$1()
24707
23675
  }),
24708
23676
  execute: (input, { client }) => {
24709
23677
  const data = input;
24710
- return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
23678
+ return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
24711
23679
  client.httpClient,
24712
23680
  client.organizationId,
24713
23681
  client.workspaceIdNumber,
24714
- data.time_entry_id,
23682
+ data.ghost_id,
24715
23683
  data.payload ?? data.data ?? data,
24716
23684
  void 0
24717
23685
  ]));
@@ -24747,6 +23715,37 @@ const generatedFocusOperations = [
24747
23715
  ]));
24748
23716
  }
24749
23717
  },
23718
+ {
23719
+ id: "focus.time-off.delete-timeoff-for-ghost",
23720
+ family: "focus",
23721
+ resource: "time-off",
23722
+ action: "delete-timeoff-for-ghost",
23723
+ title: "Delete Timeoff For Ghost Time Off",
23724
+ description: "Delete Timeoff For Ghost Time Off.",
23725
+ safety: "delete",
23726
+ destructive: true,
23727
+ cli: {
23728
+ group: ["time-off"],
23729
+ command: "delete-timeoff-for-ghost",
23730
+ interactive: "hidden"
23731
+ },
23732
+ mcp: { entityTool: "time-off" },
23733
+ inputSchema: /* @__PURE__ */ looseObject({
23734
+ ghost_id: /* @__PURE__ */ number$2(),
23735
+ payload: /* @__PURE__ */ unknown$1()
23736
+ }),
23737
+ execute: (input, { client }) => {
23738
+ const data = input;
23739
+ return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
23740
+ client.httpClient,
23741
+ client.organizationId,
23742
+ client.workspaceIdNumber,
23743
+ data.ghost_id,
23744
+ data.payload ?? data.data ?? data,
23745
+ void 0
23746
+ ]));
23747
+ }
23748
+ },
24750
23749
  {
24751
23750
  id: "focus.time-off.delete-timeoff-for-user",
24752
23751
  family: "focus",
@@ -24777,6 +23776,38 @@ const generatedFocusOperations = [
24777
23776
  ]));
24778
23777
  }
24779
23778
  },
23779
+ {
23780
+ id: "focus.time-off.get-timeoff-for-ghost",
23781
+ family: "focus",
23782
+ resource: "time-off",
23783
+ action: "get-timeoff-for-ghost",
23784
+ title: "Get Timeoff For Ghost Time Off",
23785
+ description: "Get Timeoff For Ghost Time Off.",
23786
+ safety: "read",
23787
+ destructive: false,
23788
+ cli: {
23789
+ group: ["time-off"],
23790
+ command: "get-timeoff-for-ghost",
23791
+ interactive: "hidden"
23792
+ },
23793
+ mcp: { entityTool: "time-off" },
23794
+ inputSchema: /* @__PURE__ */ looseObject({
23795
+ from: /* @__PURE__ */ unknown$1(),
23796
+ ghost_id: /* @__PURE__ */ number$2(),
23797
+ to: /* @__PURE__ */ unknown$1()
23798
+ }),
23799
+ execute: (input, { client }) => {
23800
+ const data = input;
23801
+ return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
23802
+ client.httpClient,
23803
+ client.organizationId,
23804
+ client.workspaceIdNumber,
23805
+ data.ghost_id,
23806
+ data,
23807
+ void 0
23808
+ ]));
23809
+ }
23810
+ },
24780
23811
  {
24781
23812
  id: "focus.time-off.get-timeoff-for-user",
24782
23813
  family: "focus",
@@ -24808,6 +23839,37 @@ const generatedFocusOperations = [
24808
23839
  ]));
24809
23840
  }
24810
23841
  },
23842
+ {
23843
+ id: "focus.time-off.get-timeoffs-by-ghost-ids",
23844
+ family: "focus",
23845
+ resource: "time-off",
23846
+ action: "get-timeoffs-by-ghost-ids",
23847
+ title: "Get Timeoffs By Ghost Ids Time Off",
23848
+ description: "Get Timeoffs By Ghost Ids Time Off.",
23849
+ safety: "read",
23850
+ destructive: false,
23851
+ cli: {
23852
+ group: ["time-off"],
23853
+ command: "get-timeoffs-by-ghost-ids",
23854
+ interactive: "hidden"
23855
+ },
23856
+ mcp: { entityTool: "time-off" },
23857
+ inputSchema: /* @__PURE__ */ looseObject({
23858
+ end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23859
+ ghost_ids: /* @__PURE__ */ unknown$1(),
23860
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
23861
+ }),
23862
+ execute: (input, { client }) => {
23863
+ const data = input;
23864
+ return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
23865
+ client.httpClient,
23866
+ client.organizationId,
23867
+ client.workspaceIdNumber,
23868
+ data,
23869
+ void 0
23870
+ ]));
23871
+ }
23872
+ },
24811
23873
  {
24812
23874
  id: "focus.time-off.get-timeoffs-by-user-ids",
24813
23875
  family: "focus",
@@ -24838,6 +23900,37 @@ const generatedFocusOperations = [
24838
23900
  ]));
24839
23901
  }
24840
23902
  },
23903
+ {
23904
+ id: "focus.time-off.update-timeoff-for-ghost",
23905
+ family: "focus",
23906
+ resource: "time-off",
23907
+ action: "update-timeoff-for-ghost",
23908
+ title: "Update Timeoff For Ghost Time Off",
23909
+ description: "Update Timeoff For Ghost Time Off.",
23910
+ safety: "update",
23911
+ destructive: false,
23912
+ cli: {
23913
+ group: ["time-off"],
23914
+ command: "update-timeoff-for-ghost",
23915
+ interactive: "hidden"
23916
+ },
23917
+ mcp: { entityTool: "time-off" },
23918
+ inputSchema: /* @__PURE__ */ looseObject({
23919
+ ghost_id: /* @__PURE__ */ number$2(),
23920
+ payload: /* @__PURE__ */ unknown$1()
23921
+ }),
23922
+ execute: (input, { client }) => {
23923
+ const data = input;
23924
+ return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
23925
+ client.httpClient,
23926
+ client.organizationId,
23927
+ client.workspaceIdNumber,
23928
+ data.ghost_id,
23929
+ data.payload ?? data.data ?? data,
23930
+ void 0
23931
+ ]));
23932
+ }
23933
+ },
24841
23934
  {
24842
23935
  id: "focus.time-off.update-timeoff-for-user",
24843
23936
  family: "focus",
@@ -25869,7 +24962,6 @@ const generatedFocusOperations = [
25869
24962
  pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
25870
24963
  pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
25871
24964
  pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25872
- send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25873
24965
  send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25874
24966
  shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
25875
24967
  show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -25971,6 +25063,37 @@ const generatedFocusOperations = [
25971
25063
  inputSchema: /* @__PURE__ */ looseObject({}),
25972
25064
  execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
25973
25065
  },
25066
+ {
25067
+ id: "focus.working-hours.create-for-ghost",
25068
+ family: "focus",
25069
+ resource: "working-hours",
25070
+ action: "create-for-ghost",
25071
+ title: "Create For Ghost Working Hours",
25072
+ description: "Create For Ghost Working Hours.",
25073
+ safety: "create",
25074
+ destructive: false,
25075
+ cli: {
25076
+ group: ["working-hours"],
25077
+ command: "create-for-ghost",
25078
+ interactive: "hidden"
25079
+ },
25080
+ mcp: { entityTool: "working-hours" },
25081
+ inputSchema: /* @__PURE__ */ looseObject({
25082
+ ghost_id: /* @__PURE__ */ number$2(),
25083
+ payload: /* @__PURE__ */ unknown$1()
25084
+ }),
25085
+ execute: (input, { client }) => {
25086
+ const data = input;
25087
+ return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
25088
+ client.httpClient,
25089
+ client.organizationId,
25090
+ client.workspaceIdNumber,
25091
+ data.ghost_id,
25092
+ data.payload ?? data.data ?? data,
25093
+ void 0
25094
+ ]));
25095
+ }
25096
+ },
25974
25097
  {
25975
25098
  id: "focus.working-hours.create-for-user",
25976
25099
  family: "focus",
@@ -26001,6 +25124,37 @@ const generatedFocusOperations = [
26001
25124
  ]));
26002
25125
  }
26003
25126
  },
25127
+ {
25128
+ id: "focus.working-hours.delete-for-ghost",
25129
+ family: "focus",
25130
+ resource: "working-hours",
25131
+ action: "delete-for-ghost",
25132
+ title: "Delete For Ghost Working Hours",
25133
+ description: "Delete For Ghost Working Hours.",
25134
+ safety: "delete",
25135
+ destructive: true,
25136
+ cli: {
25137
+ group: ["working-hours"],
25138
+ command: "delete-for-ghost",
25139
+ interactive: "hidden"
25140
+ },
25141
+ mcp: { entityTool: "working-hours" },
25142
+ inputSchema: /* @__PURE__ */ looseObject({
25143
+ ghost_id: /* @__PURE__ */ number$2(),
25144
+ payload: /* @__PURE__ */ unknown$1()
25145
+ }),
25146
+ execute: (input, { client }) => {
25147
+ const data = input;
25148
+ return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
25149
+ client.httpClient,
25150
+ client.organizationId,
25151
+ client.workspaceIdNumber,
25152
+ data.ghost_id,
25153
+ data.payload ?? data.data ?? data,
25154
+ void 0
25155
+ ]));
25156
+ }
25157
+ },
26004
25158
  {
26005
25159
  id: "focus.working-hours.delete-for-user",
26006
25160
  family: "focus",
@@ -26031,6 +25185,33 @@ const generatedFocusOperations = [
26031
25185
  ]));
26032
25186
  }
26033
25187
  },
25188
+ {
25189
+ id: "focus.working-hours.get-for-ghost",
25190
+ family: "focus",
25191
+ resource: "working-hours",
25192
+ action: "get-for-ghost",
25193
+ title: "Get For Ghost Working Hours",
25194
+ description: "Get For Ghost Working Hours.",
25195
+ safety: "read",
25196
+ destructive: false,
25197
+ cli: {
25198
+ group: ["working-hours"],
25199
+ command: "get-for-ghost",
25200
+ interactive: "available"
25201
+ },
25202
+ mcp: { entityTool: "working-hours" },
25203
+ inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
25204
+ execute: (input, { client }) => {
25205
+ const data = input;
25206
+ return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
25207
+ client.httpClient,
25208
+ client.organizationId,
25209
+ client.workspaceIdNumber,
25210
+ data.ghost_id,
25211
+ void 0
25212
+ ]));
25213
+ }
25214
+ },
26034
25215
  {
26035
25216
  id: "focus.working-hours.get-for-user",
26036
25217
  family: "focus",
@@ -26057,6 +25238,37 @@ const generatedFocusOperations = [
26057
25238
  ]));
26058
25239
  }
26059
25240
  },
25241
+ {
25242
+ id: "focus.working-hours.update-for-ghost",
25243
+ family: "focus",
25244
+ resource: "working-hours",
25245
+ action: "update-for-ghost",
25246
+ title: "Update For Ghost Working Hours",
25247
+ description: "Update For Ghost Working Hours.",
25248
+ safety: "update",
25249
+ destructive: false,
25250
+ cli: {
25251
+ group: ["working-hours"],
25252
+ command: "update-for-ghost",
25253
+ interactive: "hidden"
25254
+ },
25255
+ mcp: { entityTool: "working-hours" },
25256
+ inputSchema: /* @__PURE__ */ looseObject({
25257
+ ghost_id: /* @__PURE__ */ number$2(),
25258
+ payload: /* @__PURE__ */ unknown$1()
25259
+ }),
25260
+ execute: (input, { client }) => {
25261
+ const data = input;
25262
+ return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
25263
+ client.httpClient,
25264
+ client.organizationId,
25265
+ client.workspaceIdNumber,
25266
+ data.ghost_id,
25267
+ data.payload ?? data.data ?? data,
25268
+ void 0
25269
+ ]));
25270
+ }
25271
+ },
26060
25272
  {
26061
25273
  id: "focus.working-hours.update-for-user",
26062
25274
  family: "focus",
@@ -26131,50 +25343,6 @@ const generatedFocusOperations = [
26131
25343
  void 0
26132
25344
  ]))
26133
25345
  },
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
25346
  {
26179
25347
  id: "focus.workspace-settings.list",
26180
25348
  family: "focus",
@@ -26249,32 +25417,6 @@ const generatedFocusOperations = [
26249
25417
  ]));
26250
25418
  }
26251
25419
  },
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
25420
  {
26279
25421
  id: "focus.workspace.get-context",
26280
25422
  family: "focus",
@@ -27914,4 +27056,4 @@ Common commands:
27914
27056
  //#endregion
27915
27057
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
27916
27058
 
27917
- //# sourceMappingURL=program-BafxB0r1.js.map
27059
+ //# sourceMappingURL=program-BinN7Nnp.js.map