@togglhq/mcp 1.5.71 → 1.5.72

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.
@@ -28402,31 +28402,6 @@ function getFallback(schema, dataset, config$1) {
28402
28402
  return typeof schema.fallback === "function" ? schema.fallback(dataset, config$1) : schema.fallback;
28403
28403
  }
28404
28404
  /**
28405
- * Returns a fallback value as output if the input does not match the schema.
28406
- *
28407
- * @param schema The schema to catch.
28408
- * @param fallback The fallback value.
28409
- *
28410
- * @returns The passed schema.
28411
- */
28412
- /* @__NO_SIDE_EFFECTS__ */
28413
- function fallback(schema, fallback$1) {
28414
- return {
28415
- ...schema,
28416
- fallback: fallback$1,
28417
- get "~standard"() {
28418
- return /* @__PURE__ */ _getStandardProps(this);
28419
- },
28420
- "~run"(dataset, config$1) {
28421
- const outputDataset = schema["~run"](dataset, config$1);
28422
- return outputDataset.issues ? {
28423
- typed: true,
28424
- value: /* @__PURE__ */ getFallback(this, outputDataset, config$1)
28425
- } : outputDataset;
28426
- }
28427
- };
28428
- }
28429
- /**
28430
28405
  * Returns the default value of the schema.
28431
28406
  *
28432
28407
  * @param schema The schema to get it from.
@@ -28902,14 +28877,8 @@ function pipe(...pipe$1) {
28902
28877
  }
28903
28878
  };
28904
28879
  }
28905
- const TaskAssignmentSchema = /* @__PURE__ */ object({
28906
- id: /* @__PURE__ */ number(),
28907
- type: /* @__PURE__ */ picklist([
28908
- "user",
28909
- "ghost",
28910
- "team"
28911
- ])
28912
- });
28880
+ //#endregion
28881
+ //#region ../focus-queries/dist/schemas/index.ts
28913
28882
  const ClientLiteSchema = /* @__PURE__ */ object({
28914
28883
  id: /* @__PURE__ */ number(),
28915
28884
  name: /* @__PURE__ */ string()
@@ -28952,12 +28921,18 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
28952
28921
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
28953
28922
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
28954
28923
  });
28924
+ const TaskAssignmentSchema = /* @__PURE__ */ object({
28925
+ id: /* @__PURE__ */ number(),
28926
+ type: /* @__PURE__ */ picklist([
28927
+ "user",
28928
+ "ghost",
28929
+ "team"
28930
+ ])
28931
+ });
28955
28932
  const TaskMetadataSchema = /* @__PURE__ */ object({
28956
28933
  all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
28957
28934
  calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
28958
28935
  calendar_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
28959
- extension_source: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Browser-extension provenance: the source/config that produced the task and the page URL it was tracked from. Written by the extension's start-from-description flow; ExtensionURL is queryable via FindByURL."))),
28960
- extension_url: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
28961
28936
  external_id: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
28962
28937
  ical_uid: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
28963
28938
  meeting_link: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -28997,9 +28972,7 @@ const TagLiteSchema = /* @__PURE__ */ object({
28997
28972
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string())
28998
28973
  });
28999
28974
  const TaskSchema = /* @__PURE__ */ object({
29000
- allocation_unit: /* @__PURE__ */ picklist(["percent", "flat"]),
29001
28975
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
29002
- estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
29003
28976
  id: /* @__PURE__ */ number(),
29004
28977
  is_template: /* @__PURE__ */ boolean(),
29005
28978
  name: /* @__PURE__ */ string(),
@@ -29048,9 +29021,7 @@ const TaskSchema = /* @__PURE__ */ object({
29048
29021
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
29049
29022
  });
29050
29023
  const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
29051
- allocation_unit: /* @__PURE__ */ picklist(["percent", "flat"]),
29052
29024
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
29053
- estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
29054
29025
  id: /* @__PURE__ */ number(),
29055
29026
  is_template: /* @__PURE__ */ boolean(),
29056
29027
  name: /* @__PURE__ */ string(),
@@ -29065,19 +29036,9 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
29065
29036
  private: /* @__PURE__ */ boolean(),
29066
29037
  source: /* @__PURE__ */ string(),
29067
29038
  status_id: /* @__PURE__ */ number(),
29068
- sub_task_done_count: /* @__PURE__ */ number(),
29069
- sub_task_total_count: /* @__PURE__ */ number(),
29070
29039
  tag_ids: /* @__PURE__ */ array(/* @__PURE__ */ number()),
29071
29040
  tags: /* @__PURE__ */ array(TagLiteSchema),
29072
- time_block_completed_count: /* @__PURE__ */ number(),
29073
- time_block_scheduled_completed_count: /* @__PURE__ */ number(),
29074
- time_block_scheduled_total_count: /* @__PURE__ */ number(),
29075
- time_block_total_count: /* @__PURE__ */ number(),
29076
- time_entry_total_count: /* @__PURE__ */ number(),
29077
29041
  toggl_user_id: /* @__PURE__ */ number(),
29078
- total_blocked_time: /* @__PURE__ */ number(),
29079
- total_scheduled_blocked_time: /* @__PURE__ */ number(),
29080
- total_tracked_time: /* @__PURE__ */ number(),
29081
29042
  workspace_id: /* @__PURE__ */ number(),
29082
29043
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
29083
29044
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
@@ -29107,6 +29068,16 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
29107
29068
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
29108
29069
  status: /* @__PURE__ */ optional(StatusLiteSchema),
29109
29070
  status_updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
29071
+ sub_task_done_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29072
+ sub_task_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29073
+ time_block_completed_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29074
+ time_block_scheduled_completed_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29075
+ time_block_scheduled_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29076
+ time_block_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("TODO: Set as `required` after FE adjusts things on their end"))),
29077
+ time_entry_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29078
+ total_blocked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29079
+ total_scheduled_blocked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29080
+ total_tracked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29110
29081
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
29111
29082
  });
29112
29083
  const PaginatedTasksWithMetaAndTotalSchema = /* @__PURE__ */ object({
@@ -29157,10 +29128,7 @@ const AlertRuleSchema = /* @__PURE__ */ object({
29157
29128
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
29158
29129
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
29159
29130
  });
29160
- const ClientPayloadSchema = /* @__PURE__ */ object({
29161
- name: /* @__PURE__ */ string(),
29162
- currency: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Currency is the client's optional default display currency (ISO 4217). Omitted or null means the client falls back to the workspace currency. On update (PUT) it is set directly, so send it to set/keep it or null to clear.")))
29163
- });
29131
+ const ClientPayloadSchema = /* @__PURE__ */ object({ name: /* @__PURE__ */ string() });
29164
29132
  const ProjectFixedFeePayloadSchema = /* @__PURE__ */ object({
29165
29133
  amount: /* @__PURE__ */ number(),
29166
29134
  currency: /* @__PURE__ */ string()
@@ -29256,7 +29224,6 @@ const TimeBlockSchema = /* @__PURE__ */ object({
29256
29224
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
29257
29225
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
29258
29226
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29259
- 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."))),
29260
29227
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
29261
29228
  });
29262
29229
  const BillableSourceSchema = /* @__PURE__ */ picklist(["manual", "task_default"]);
@@ -29264,7 +29231,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
29264
29231
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
29265
29232
  id: /* @__PURE__ */ number(),
29266
29233
  toggl_user_id: /* @__PURE__ */ number(),
29267
- type: /* @__PURE__ */ pipe(TimeEntryTypeSchema, /* @__PURE__ */ description("The type of time entry: either an activity or a break.")),
29234
+ type: TimeEntryTypeSchema,
29268
29235
  workspace_id: /* @__PURE__ */ number(),
29269
29236
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
29270
29237
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -29280,7 +29247,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
29280
29247
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
29281
29248
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
29282
29249
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29283
- 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."))),
29284
29250
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
29285
29251
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
29286
29252
  });
@@ -29307,7 +29273,6 @@ const ClientSchema = /* @__PURE__ */ object({
29307
29273
  id: /* @__PURE__ */ number(),
29308
29274
  name: /* @__PURE__ */ string(),
29309
29275
  workspace_id: /* @__PURE__ */ number(),
29310
- currency: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
29311
29276
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
29312
29277
  toggl_user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29313
29278
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
@@ -29390,7 +29355,6 @@ const PaginatedStatussSchema = /* @__PURE__ */ object({
29390
29355
  const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
29391
29356
  data: /* @__PURE__ */ array(/* @__PURE__ */ object({
29392
29357
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
29393
- has_time_entry: /* @__PURE__ */ boolean(),
29394
29358
  id: /* @__PURE__ */ number(),
29395
29359
  start: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
29396
29360
  task_id: /* @__PURE__ */ number(),
@@ -29402,8 +29366,8 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
29402
29366
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
29403
29367
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
29404
29368
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29369
+ has_time_entry: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
29405
29370
  task: /* @__PURE__ */ optional(TaskSchema),
29406
- 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."))),
29407
29371
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
29408
29372
  })),
29409
29373
  page: /* @__PURE__ */ number(),
@@ -29414,23 +29378,11 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
29414
29378
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
29415
29379
  id: /* @__PURE__ */ number(),
29416
29380
  toggl_user_id: /* @__PURE__ */ number(),
29417
- type: /* @__PURE__ */ pipe(TimeEntryTypeSchema, /* @__PURE__ */ description("The type of time entry: either an activity or a break.")),
29381
+ type: TimeEntryTypeSchema,
29418
29382
  workspace_id: /* @__PURE__ */ number(),
29419
29383
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
29420
29384
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
29421
29385
  billable_source: /* @__PURE__ */ optional(BillableSourceSchema),
29422
- calendar_event: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
29423
- all_day: /* @__PURE__ */ boolean(),
29424
- background_color: /* @__PURE__ */ nullable(/* @__PURE__ */ string()),
29425
- end_time: /* @__PURE__ */ string(),
29426
- foreground_color: /* @__PURE__ */ nullable(/* @__PURE__ */ string()),
29427
- html_link: /* @__PURE__ */ string(),
29428
- id: /* @__PURE__ */ number(),
29429
- meeting_link: /* @__PURE__ */ nullable(/* @__PURE__ */ string()),
29430
- provider: /* @__PURE__ */ string(),
29431
- start_time: /* @__PURE__ */ string(),
29432
- title: /* @__PURE__ */ string()
29433
- }))),
29434
29386
  calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29435
29387
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
29436
29388
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -29444,7 +29396,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
29444
29396
  task: /* @__PURE__ */ optional(TaskSchema),
29445
29397
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
29446
29398
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29447
- 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."))),
29448
29399
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
29449
29400
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
29450
29401
  })),
@@ -29587,7 +29538,6 @@ const TagPayloadSchema = /* @__PURE__ */ object({
29587
29538
  const TaskBulkArchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
29588
29539
  const TaskCreatePayloadSchema = /* @__PURE__ */ object({
29589
29540
  name: /* @__PURE__ */ string(),
29590
- allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ fallback(/* @__PURE__ */ picklist(["percent", "flat"]), "flat")),
29591
29541
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
29592
29542
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
29593
29543
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -29595,7 +29545,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
29595
29545
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ unknown())),
29596
29546
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
29597
29547
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
29598
- estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
29599
29548
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29600
29549
  ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
29601
29550
  integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -29627,7 +29576,6 @@ const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
29627
29576
  const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
29628
29577
  const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
29629
29578
  const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
29630
- allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
29631
29579
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
29632
29580
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
29633
29581
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -29635,7 +29583,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
29635
29583
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
29636
29584
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
29637
29585
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
29638
- estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
29639
29586
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
29640
29587
  ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
29641
29588
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -29662,7 +29609,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
29662
29609
  });
29663
29610
  const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
29664
29611
  id: /* @__PURE__ */ number(),
29665
- allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
29666
29612
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
29667
29613
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
29668
29614
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -29670,7 +29616,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
29670
29616
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
29671
29617
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
29672
29618
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
29673
- estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
29674
29619
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
29675
29620
  ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
29676
29621
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -29718,7 +29663,7 @@ const TimeBlockPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
29718
29663
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
29719
29664
  });
29720
29665
  const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
29721
- type: /* @__PURE__ */ pipe(TimeEntryTypeSchema, /* @__PURE__ */ description("The type of time entry. This could either be an activity, or a break.")),
29666
+ type: TimeEntryTypeSchema,
29722
29667
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
29723
29668
  calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
29724
29669
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -29823,16 +29768,10 @@ async function updateOrganizationGroupUserRole(httpClient, organization_id, grou
29823
29768
  json: data
29824
29769
  }).json();
29825
29770
  }
29826
- async function getOrganizationMemberTags(httpClient, organization_id, { workspace_id }, signal) {
29827
- return await httpClient.get(`organizations/${organization_id}/member-tags`, {
29828
- signal,
29829
- searchParams: buildSearchParams$3({ workspace_id })
29830
- }).json();
29831
- }
29832
29771
  async function getOrganizationRoles(httpClient, organization_id, signal) {
29833
29772
  return await httpClient.get(`organizations/${organization_id}/roles`, { signal }).json();
29834
29773
  }
29835
- async function getOrganizationTeamsClassic(httpClient, organization_id, { workspace_id, page, per_page, sort_dir, filter, query, organization_user_id, group_ids, active_members_only }, signal) {
29774
+ async function getOrganizationTeamsClassic(httpClient, organization_id, { workspace_id, page, per_page, sort_dir, filter, organization_user_id, group_ids }, signal) {
29836
29775
  return await httpClient.get(`organizations/${organization_id}/teams`, {
29837
29776
  signal,
29838
29777
  searchParams: buildSearchParams$3({
@@ -29841,14 +29780,12 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
29841
29780
  per_page,
29842
29781
  sort_dir,
29843
29782
  filter,
29844
- query,
29845
29783
  organization_user_id,
29846
- group_ids,
29847
- active_members_only
29784
+ group_ids
29848
29785
  })
29849
29786
  }).json();
29850
29787
  }
29851
- 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) {
29788
+ 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 } = {}, signal) {
29852
29789
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
29853
29790
  signal,
29854
29791
  searchParams: buildSearchParams$3({
@@ -29867,8 +29804,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
29867
29804
  tag_ids,
29868
29805
  include_working_hours,
29869
29806
  include_rates,
29870
- pinned_ids,
29871
- has_group
29807
+ pinned_ids
29872
29808
  }, true)
29873
29809
  });
29874
29810
  return withResponseMeta$1(await response.json(), response.headers, response.status);
@@ -29922,7 +29858,7 @@ async function restoreTag(httpClient, workspace_id, tag_id, signal) {
29922
29858
  }
29923
29859
  //#endregion
29924
29860
  //#region ../focus-queries/dist/projects/requests.ts
29925
- async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, include_rates, include_rollover, include_idle_recurring_templates, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
29861
+ 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, parent_project_id, assignee_user_id, project_id, user_id, include_rates, include_rollover, include_idle_recurring_templates, include_drafts, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
29926
29862
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
29927
29863
  signal,
29928
29864
  searchParams: buildSearchParams$3({
@@ -29937,6 +29873,7 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
29937
29873
  client_id,
29938
29874
  creator_id,
29939
29875
  tag_id,
29876
+ parent_project_id,
29940
29877
  assignee_user_id,
29941
29878
  project_id,
29942
29879
  user_id,
@@ -29944,7 +29881,6 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
29944
29881
  include_rollover,
29945
29882
  include_idle_recurring_templates,
29946
29883
  include_drafts,
29947
- include_locked_private,
29948
29884
  start_date,
29949
29885
  end_date,
29950
29886
  date_overlap_start,
@@ -29995,15 +29931,14 @@ async function getBatchProjectsMembers(httpClient, organization_id, workspace_id
29995
29931
  searchParams: buildSearchParams$3({ ids })
29996
29932
  }).json();
29997
29933
  }
29998
- async function getProjectTemplatesClassic(httpClient, organization_id, workspace_id, { page, per_page, name, order_by, archived } = {}, signal) {
29934
+ async function getProjectTemplatesClassic(httpClient, organization_id, workspace_id, { page, per_page, name, order_by } = {}, signal) {
29999
29935
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/templates`, {
30000
29936
  signal,
30001
29937
  searchParams: buildSearchParams$3({
30002
29938
  page,
30003
29939
  per_page,
30004
29940
  name,
30005
- order_by,
30006
- archived
29941
+ order_by
30007
29942
  })
30008
29943
  }).json();
30009
29944
  }
@@ -30087,9 +30022,6 @@ async function createRecurringProjectInstance(httpClient, organization_id, works
30087
30022
  json: data
30088
30023
  }).json();
30089
30024
  }
30090
- async function makeProjectPublic(httpClient, organization_id, workspace_id, project_id, signal) {
30091
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/projects/${project_id}/make-public`, { signal }).json();
30092
- }
30093
30025
  async function getProjectsMembers(httpClient, organization_id, workspace_id, project_id, signal) {
30094
30026
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/${project_id}/members`, { signal }).json();
30095
30027
  }
@@ -30173,7 +30105,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
30173
30105
  }
30174
30106
  //#endregion
30175
30107
  //#region ../focus-queries/dist/tasks/requests.ts
30176
- 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_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_ghost_assignees, include_assignees, assignee_ghost_id, disable_aggregations, cf_filter } = {}, signal) {
30108
+ async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, creator_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_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_ghost_assignees, include_assignees, assignee_ghost_id, disable_aggregations, cf_filter } = {}, signal) {
30177
30109
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
30178
30110
  signal,
30179
30111
  searchParams: buildSearchParams$3({
@@ -30184,6 +30116,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
30184
30116
  order_by,
30185
30117
  status_id,
30186
30118
  toggl_user_id,
30119
+ creator_id,
30187
30120
  name,
30188
30121
  has_time_entries,
30189
30122
  has_time_blocks,
@@ -30288,23 +30221,24 @@ async function getTaskByExternalId(httpClient, organization_id, workspace_id, {
30288
30221
  })
30289
30222
  }).json();
30290
30223
  }
30291
- async function getTasksCalendarEvents(httpClient, organization_id, workspace_id, { date_from, date_to, calendar_event_id, hidden } = {}, signal) {
30224
+ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id, { date_from, date_to, time_zone, hidden }, signal) {
30292
30225
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
30293
30226
  signal,
30294
30227
  searchParams: buildSearchParams$3({
30295
30228
  date_from,
30296
30229
  date_to,
30297
- calendar_event_id,
30230
+ time_zone,
30298
30231
  hidden
30299
30232
  })
30300
30233
  }).json();
30301
30234
  }
30302
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
30235
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, timezone, signal) {
30303
30236
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
30304
30237
  signal,
30305
30238
  searchParams: buildSearchParams$3({
30306
30239
  date_from,
30307
- date_to
30240
+ date_to,
30241
+ timezone
30308
30242
  })
30309
30243
  }).json();
30310
30244
  }
@@ -30328,7 +30262,7 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
30328
30262
  })
30329
30263
  }).json();
30330
30264
  }
30331
- async function getStreamTasks(httpClient, organization_id, workspace_id, { 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, time_block_id, time_block_completed, team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
30265
+ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, creator_id, name, has_time_entries, has_time_blocks, has_dates, 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_user_id, tag_id, recurring, recurring_task_ids, client_id, include_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
30332
30266
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
30333
30267
  signal,
30334
30268
  searchParams: buildSearchParams$3({
@@ -30337,11 +30271,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
30337
30271
  order_by,
30338
30272
  status_id,
30339
30273
  toggl_user_id,
30274
+ creator_id,
30340
30275
  name,
30341
30276
  has_time_entries,
30342
30277
  has_time_blocks,
30343
30278
  has_dates,
30344
- private: private_,
30345
30279
  archived,
30346
30280
  include_project_completed,
30347
30281
  include_drafts,
@@ -30575,7 +30509,7 @@ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id,
30575
30509
  json: data
30576
30510
  }).json();
30577
30511
  }
30578
- async function getTimeEntriesRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, page, per_page, order_by, archived, time_block_id, include_taskless, expand_calendar_event }, signal) {
30512
+ async function getTimeEntriesRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, page, per_page, order_by, archived, time_block_id, include_taskless }, signal) {
30579
30513
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
30580
30514
  signal,
30581
30515
  searchParams: buildSearchParams$3({
@@ -30589,8 +30523,7 @@ async function getTimeEntriesRangeWithOrgClassic(httpClient, organization_id, wo
30589
30523
  order_by,
30590
30524
  archived,
30591
30525
  time_block_id,
30592
- include_taskless,
30593
- expand_calendar_event
30526
+ include_taskless
30594
30527
  })
30595
30528
  }).json();
30596
30529
  }
@@ -30618,12 +30551,6 @@ async function bulkPartialUpdateTimeEntryWithOrg(httpClient, organization_id, wo
30618
30551
  json: data
30619
30552
  }).json();
30620
30553
  }
30621
- async function bulkEditTimeEntriesWithOrg(httpClient, organization_id, workspace_id, data, signal) {
30622
- return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/bulk-edit`, {
30623
- signal,
30624
- json: data
30625
- }).json();
30626
- }
30627
30554
  async function bulkRestoreTimeEntryWithOrg(httpClient, organization_id, workspace_id, ids, signal) {
30628
30555
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/bulk/restore`, {
30629
30556
  signal,
@@ -30642,7 +30569,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
30642
30569
  json: data
30643
30570
  }).json();
30644
30571
  }
30645
- async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
30572
+ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless }, signal) {
30646
30573
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
30647
30574
  signal,
30648
30575
  searchParams: buildSearchParams$3({
@@ -30653,8 +30580,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
30653
30580
  type,
30654
30581
  order_by,
30655
30582
  archived,
30656
- include_taskless,
30657
- expand_calendar_event
30583
+ include_taskless
30658
30584
  })
30659
30585
  }).json();
30660
30586
  }
@@ -30790,7 +30716,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
30790
30716
  ]))
30791
30717
  });
30792
30718
  //#endregion
30793
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.8_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d53b15a49a0f47b612fb5d5b159551c2/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
30719
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.70_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_441c0f03757207fd8f9f9ad7c69ceb10/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
30794
30720
  async function getInvitations(httpClient, signal) {
30795
30721
  return (await httpClient.get(`invitations`, { signal })).json();
30796
30722
  }
@@ -30807,7 +30733,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
30807
30733
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
30808
30734
  }
30809
30735
  //#endregion
30810
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.8_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d53b15a49a0f47b612fb5d5b159551c2/node_modules/@toggl/queries/dist/org/utils/requests.mjs
30736
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.70_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_441c0f03757207fd8f9f9ad7c69ceb10/node_modules/@toggl/queries/dist/org/utils/requests.mjs
30811
30737
  function buildSearchParams$1(params, flattenArrays = false) {
30812
30738
  const searchParams = new URLSearchParams();
30813
30739
  Object.entries(params).forEach(([key, value]) => {
@@ -30819,7 +30745,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
30819
30745
  return searchParams;
30820
30746
  }
30821
30747
  //#endregion
30822
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.8_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d53b15a49a0f47b612fb5d5b159551c2/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
30748
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.70_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_441c0f03757207fd8f9f9ad7c69ceb10/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
30823
30749
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
30824
30750
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
30825
30751
  }
@@ -30833,7 +30759,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
30833
30759
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
30834
30760
  }
30835
30761
  //#endregion
30836
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.8_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d53b15a49a0f47b612fb5d5b159551c2/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
30762
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.70_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_441c0f03757207fd8f9f9ad7c69ceb10/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
30837
30763
  async function getWorkspaces(httpClient, organization_id, signal) {
30838
30764
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
30839
30765
  }
@@ -30862,7 +30788,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
30862
30788
  });
30863
30789
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
30864
30790
  //#endregion
30865
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.8_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d53b15a49a0f47b612fb5d5b159551c2/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
30791
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.70_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_441c0f03757207fd8f9f9ad7c69ceb10/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
30866
30792
  const META_SYMBOL = Symbol.for("querygen:response:meta");
30867
30793
  function withResponseMeta(data, headers, status) {
30868
30794
  if (!data) return data;
@@ -30889,7 +30815,7 @@ function buildSearchParams(params, flattenArrays = false) {
30889
30815
  return searchParams;
30890
30816
  }
30891
30817
  //#endregion
30892
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.8_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d53b15a49a0f47b612fb5d5b159551c2/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
30818
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.70_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_441c0f03757207fd8f9f9ad7c69ceb10/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
30893
30819
  async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
30894
30820
  const response = await httpClient.get(`shared_data/api/publicholidays/${year}`, {
30895
30821
  signal,
@@ -30898,12 +30824,12 @@ async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
30898
30824
  return withResponseMeta(await response.json(), response.headers, response.status);
30899
30825
  }
30900
30826
  //#endregion
30901
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.8_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d53b15a49a0f47b612fb5d5b159551c2/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
30827
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.70_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_441c0f03757207fd8f9f9ad7c69ceb10/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
30902
30828
  async function getStatus(httpClient, signal) {
30903
30829
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
30904
30830
  }
30905
30831
  //#endregion
30906
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.8_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d53b15a49a0f47b612fb5d5b159551c2/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
30832
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.70_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_441c0f03757207fd8f9f9ad7c69ceb10/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
30907
30833
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
30908
30834
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
30909
30835
  signal,
@@ -30931,7 +30857,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
30931
30857
  return response.json();
30932
30858
  }
30933
30859
  //#endregion
30934
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.8_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d53b15a49a0f47b612fb5d5b159551c2/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
30860
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.70_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_441c0f03757207fd8f9f9ad7c69ceb10/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
30935
30861
  async function getMyWorkingHours(httpClient, organization_id, signal) {
30936
30862
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
30937
30863
  }
@@ -34126,11 +34052,6 @@ function operationRequiresConfirmation(operation) {
34126
34052
  return operation.destructive || operation.safety !== "read";
34127
34053
  }
34128
34054
  //#endregion
34129
- //#region ../focus-queries/dist/attachments/requests.ts
34130
- async function getWorkspaceAttachmentStorage(httpClient, organization_id, workspace_id, signal) {
34131
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/attachments/storage`, { signal }).json();
34132
- }
34133
- //#endregion
34134
34055
  //#region ../focus-queries/dist/audit-log/requests.ts
34135
34056
  async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
34136
34057
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
@@ -34306,17 +34227,6 @@ async function capacityGetComputations(httpClient, organization_id, workspace_id
34306
34227
  }).json();
34307
34228
  }
34308
34229
  //#endregion
34309
- //#region ../focus-queries/dist/capacity-settings/requests.ts
34310
- async function getCapacitySettings(httpClient, workspace_id, signal) {
34311
- return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
34312
- }
34313
- async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
34314
- return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
34315
- signal,
34316
- json: data
34317
- }).json();
34318
- }
34319
- //#endregion
34320
34230
  //#region ../focus-queries/dist/composite/requests.ts
34321
34231
  async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
34322
34232
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
@@ -34401,18 +34311,6 @@ async function createGoal(httpClient, organization_id, workspace_id, data, signa
34401
34311
  json: data
34402
34312
  }).json();
34403
34313
  }
34404
- async function reorderGoals(httpClient, organization_id, workspace_id, data, signal) {
34405
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/goals/positions`, {
34406
- signal,
34407
- json: data
34408
- }).json();
34409
- }
34410
- async function previewGoalTrackedTime(httpClient, organization_id, workspace_id, data, signal) {
34411
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/goals/preview`, {
34412
- signal,
34413
- json: data
34414
- }).json();
34415
- }
34416
34314
  async function getGoal(httpClient, organization_id, workspace_id, goal_id, signal) {
34417
34315
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/goals/${goal_id}`, { signal }).json();
34418
34316
  }
@@ -34651,18 +34549,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
34651
34549
  async function getProjectMarginTargets(httpClient, organization_id, workspace_id, signal) {
34652
34550
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets`, { signal }).json();
34653
34551
  }
34654
- async function getWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
34655
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
34656
- }
34657
- async function setWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, data, signal) {
34658
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, {
34659
- signal,
34660
- json: data
34661
- }).json();
34662
- }
34663
- async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
34664
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
34665
- }
34666
34552
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
34667
34553
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
34668
34554
  }
@@ -34732,49 +34618,12 @@ async function createTaskRate(httpClient, organization_id, workspace_id, task_id
34732
34618
  }).json();
34733
34619
  }
34734
34620
  //#endregion
34735
- //#region ../focus-queries/dist/recurring-budget-suggestions/requests.ts
34736
- async function getRecurringProjectBudgetSuggestion(httpClient, organization_id, workspace_id, project_id, { target_period_start }, signal) {
34737
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/recurring-budget-suggestions/${project_id}`, {
34738
- signal,
34739
- searchParams: buildSearchParams$3({ target_period_start })
34740
- }).json();
34741
- }
34742
- async function acceptARecurringProjectBudgetSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
34743
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/recurring-budget-suggestions/${project_id}/accept`, { signal }).json();
34744
- }
34745
- async function dismissARecurringProjectBudgetSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
34746
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/recurring-budget-suggestions/${project_id}/dismiss`, { signal }).json();
34747
- }
34748
- async function getTemplateEstimateSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
34749
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/template-estimate-suggestions/${project_id}`, { signal }).json();
34750
- }
34751
- async function acceptATemplateEstimateSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
34752
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/template-estimate-suggestions/${project_id}/accept`, { signal }).json();
34753
- }
34754
- async function dismissATemplateEstimateSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
34755
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/template-estimate-suggestions/${project_id}/dismiss`, { signal }).json();
34756
- }
34757
- //#endregion
34758
34621
  //#region ../focus-queries/dist/reports/requests.ts
34759
- async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
34760
- return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
34761
- signal,
34762
- json: data,
34763
- searchParams: buildSearchParams$3({
34764
- response_format,
34765
- include_dicts
34766
- })
34767
- }).json();
34768
- }
34769
- async function getFlexqData(httpClient, workspace_id, data, { response_format, include_dicts = false, xTogglReportExport } = {}, signal) {
34622
+ async function getFlexqData(httpClient, workspace_id, data, { include_dicts = false } = {}, signal) {
34770
34623
  return await httpClient.post(`reports/workspaces/${workspace_id}/query`, {
34771
34624
  signal,
34772
34625
  json: data,
34773
- headers: { "X-Toggl-Report-Export": xTogglReportExport },
34774
- searchParams: buildSearchParams$3({
34775
- response_format,
34776
- include_dicts
34777
- })
34626
+ searchParams: buildSearchParams$3({ include_dicts })
34778
34627
  }).json();
34779
34628
  }
34780
34629
  async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
@@ -34843,9 +34692,6 @@ async function getCurrentSubscription(httpClient, organization_id, signal) {
34843
34692
  async function getFeaturesUpsell(httpClient, organization_id, signal) {
34844
34693
  return await httpClient.get(`organizations/${organization_id}/subscriptions/features-upsell`, { signal }).json();
34845
34694
  }
34846
- async function getSubscriptionPlans(httpClient, organization_id, signal) {
34847
- return await httpClient.get(`organizations/${organization_id}/subscriptions/plans`, { signal }).json();
34848
- }
34849
34695
  async function getCurrentTrial(httpClient, organization_id, signal) {
34850
34696
  return await httpClient.get(`organizations/${organization_id}/subscriptions/trials/current`, { signal }).json();
34851
34697
  }
@@ -34868,7 +34714,7 @@ async function upsertTaskConstraints(httpClient, workspace_id, data, signal) {
34868
34714
  }
34869
34715
  //#endregion
34870
34716
  //#region ../focus-queries/dist/task-groups/requests.ts
34871
- async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_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) {
34717
+ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_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, min_days, tasks_per_group, include_group_totals, include_unassigned, include_drafts, page, per_page, order_by } = {}, signal) {
34872
34718
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
34873
34719
  signal,
34874
34720
  searchParams: buildSearchParams$3({
@@ -34892,10 +34738,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
34892
34738
  private: private_,
34893
34739
  exclude_empty,
34894
34740
  include_ghosts,
34895
- include_assignees,
34896
34741
  min_days,
34742
+ tasks_per_group,
34743
+ include_group_totals,
34744
+ include_unassigned,
34897
34745
  include_drafts,
34898
- cf_filter,
34899
34746
  page,
34900
34747
  per_page,
34901
34748
  order_by
@@ -35062,26 +34909,8 @@ async function discontinueTimesheetSetup(httpClient, organization_id, workspace_
35062
34909
  json: data
35063
34910
  }).json();
35064
34911
  }
35065
- async function getTimesheetSetupMembers(httpClient, organization_id, workspace_id, setup_id, { include_discontinued } = {}, signal) {
35066
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members`, {
35067
- signal,
35068
- searchParams: buildSearchParams$3({ include_discontinued })
35069
- }).json();
35070
- }
35071
- async function addTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
35072
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}`, { signal }).json();
35073
- }
35074
- async function deleteTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
35075
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}`, { signal }).json();
35076
- }
35077
- async function discontinueTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, data, signal) {
35078
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}/discontinue`, {
35079
- signal,
35080
- json: data
35081
- }).json();
35082
- }
35083
- async function reactivateTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
35084
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}/reactivate`, { signal }).json();
34912
+ async function getTimesheetSetupMembers(httpClient, organization_id, workspace_id, setup_id, signal) {
34913
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members`, { signal }).json();
35085
34914
  }
35086
34915
  //#endregion
35087
34916
  //#region ../focus-queries/dist/timesheets/requests.ts
@@ -35116,12 +34945,6 @@ async function bulkRequestChangesTimesheets(httpClient, organization_id, workspa
35116
34945
  json: data
35117
34946
  }).json();
35118
34947
  }
35119
- async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id, data, signal) {
35120
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/bulk/withdraw`, {
35121
- signal,
35122
- json: data
35123
- }).json();
35124
- }
35125
34948
  async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
35126
34949
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
35127
34950
  }
@@ -35237,15 +35060,6 @@ async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace
35237
35060
  }
35238
35061
  //#endregion
35239
35062
  //#region ../focus-queries/dist/workspace-settings/requests.ts
35240
- async function getWorkspaceCurrency(httpClient, workspace_id, signal) {
35241
- return await httpClient.get(`workspaces/${workspace_id}/currency`, { signal }).json();
35242
- }
35243
- async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
35244
- return await httpClient.patch(`workspaces/${workspace_id}/currency`, {
35245
- signal,
35246
- json: data
35247
- }).json();
35248
- }
35249
35063
  async function getUserPermissions(httpClient, workspace_id, signal) {
35250
35064
  return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
35251
35065
  }
@@ -35369,29 +35183,6 @@ const generatedFocusOperations = [
35369
35183
  return client.partialUpdateAlert(data.alert_id, data.payload ?? data.data ?? data);
35370
35184
  }
35371
35185
  },
35372
- {
35373
- id: "focus.attachments.get-workspace-attachment-storage",
35374
- family: "focus",
35375
- resource: "attachments",
35376
- action: "get-workspace-attachment-storage",
35377
- title: "Get Workspace Attachment Storage Attachments",
35378
- description: "Get Workspace Attachment Storage Attachments.",
35379
- safety: "read",
35380
- destructive: false,
35381
- cli: {
35382
- group: ["attachments"],
35383
- command: "get-workspace-attachment-storage",
35384
- interactive: "hidden"
35385
- },
35386
- mcp: { entityTool: "attachments" },
35387
- inputSchema: /* @__PURE__ */ looseObject({}),
35388
- execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceAttachmentStorage", () => callGeneratedRequest(getWorkspaceAttachmentStorage, [
35389
- client.httpClient,
35390
- client.organizationId,
35391
- client.workspaceIdNumber,
35392
- void 0
35393
- ]))
35394
- },
35395
35186
  {
35396
35187
  id: "focus.audit-log.list",
35397
35188
  family: "focus",
@@ -35470,54 +35261,6 @@ const generatedFocusOperations = [
35470
35261
  ]));
35471
35262
  }
35472
35263
  },
35473
- {
35474
- id: "focus.capacities.settings-list",
35475
- family: "focus",
35476
- resource: "capacities",
35477
- action: "settings-list",
35478
- title: "Settings List Capacities",
35479
- description: "Settings List Capacities.",
35480
- safety: "read",
35481
- destructive: false,
35482
- cli: {
35483
- group: ["capacities", "settings"],
35484
- command: "list",
35485
- interactive: "hidden"
35486
- },
35487
- mcp: { entityTool: "capacities" },
35488
- inputSchema: /* @__PURE__ */ looseObject({}),
35489
- execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
35490
- client.httpClient,
35491
- client.workspaceIdNumber,
35492
- void 0
35493
- ]))
35494
- },
35495
- {
35496
- id: "focus.capacities.settings-update",
35497
- family: "focus",
35498
- resource: "capacities",
35499
- action: "settings-update",
35500
- title: "Settings Update Capacities",
35501
- description: "Settings Update Capacities.",
35502
- safety: "update",
35503
- destructive: false,
35504
- cli: {
35505
- group: ["capacities", "settings"],
35506
- command: "update",
35507
- interactive: "default"
35508
- },
35509
- mcp: { entityTool: "capacities" },
35510
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
35511
- execute: (input, { client }) => {
35512
- const data = input;
35513
- return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
35514
- client.httpClient,
35515
- client.workspaceIdNumber,
35516
- data.payload ?? data.data ?? data,
35517
- void 0
35518
- ]));
35519
- }
35520
- },
35521
35264
  {
35522
35265
  id: "focus.clients.create",
35523
35266
  family: "focus",
@@ -35749,14 +35492,12 @@ const generatedFocusOperations = [
35749
35492
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
35750
35493
  task: /* @__PURE__ */ looseObject({
35751
35494
  name: /* @__PURE__ */ string$1(),
35752
- allocation_unit: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["percent", "flat"])),
35753
35495
  auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
35754
35496
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
35755
35497
  color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
35756
35498
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
35757
35499
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
35758
35500
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
35759
- estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
35760
35501
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
35761
35502
  integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
35762
35503
  integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -35778,14 +35519,12 @@ const generatedFocusOperations = [
35778
35519
  }),
35779
35520
  subtasks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
35780
35521
  name: /* @__PURE__ */ string$1(),
35781
- allocation_unit: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["percent", "flat"])),
35782
35522
  auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
35783
35523
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
35784
35524
  color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
35785
35525
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
35786
35526
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
35787
35527
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
35788
- estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
35789
35528
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
35790
35529
  integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
35791
35530
  integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -36190,7 +35929,11 @@ const generatedFocusOperations = [
36190
35929
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
36191
35930
  end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
36192
35931
  icon: /* @__PURE__ */ string$1(),
36193
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
35932
+ monthly_anchor: /* @__PURE__ */ picklist$1([
35933
+ "calendar",
35934
+ "month_end",
35935
+ "first_workday"
35936
+ ]),
36194
35937
  name: /* @__PURE__ */ string$1(),
36195
35938
  project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
36196
35939
  recurrence: /* @__PURE__ */ picklist$1([
@@ -36202,10 +35945,7 @@ const generatedFocusOperations = [
36202
35945
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
36203
35946
  tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
36204
35947
  target_seconds: /* @__PURE__ */ number$2(),
36205
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
36206
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
36207
- client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
36208
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
35948
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
36209
35949
  }) }),
36210
35950
  execute: (input, { client }) => {
36211
35951
  const data = input;
@@ -36295,81 +36035,6 @@ const generatedFocusOperations = [
36295
36035
  void 0
36296
36036
  ]))
36297
36037
  },
36298
- {
36299
- id: "focus.goals.preview-goal-tracked-time",
36300
- family: "focus",
36301
- resource: "goals",
36302
- action: "preview-goal-tracked-time",
36303
- title: "Preview Goal Tracked Time Goals",
36304
- description: "Preview Goal Tracked Time Goals.",
36305
- safety: "read",
36306
- destructive: false,
36307
- cli: {
36308
- group: ["goals"],
36309
- command: "preview-goal-tracked-time",
36310
- interactive: "available"
36311
- },
36312
- mcp: { entityTool: "goals" },
36313
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
36314
- billable: /* @__PURE__ */ boolean$1(),
36315
- comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
36316
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
36317
- icon: /* @__PURE__ */ string$1(),
36318
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
36319
- name: /* @__PURE__ */ string$1(),
36320
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
36321
- recurrence: /* @__PURE__ */ picklist$1([
36322
- "daily",
36323
- "weekly",
36324
- "daily_workdays",
36325
- "monthly"
36326
- ]),
36327
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
36328
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
36329
- target_seconds: /* @__PURE__ */ number$2(),
36330
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
36331
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
36332
- client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
36333
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
36334
- }) }),
36335
- execute: (input, { client }) => {
36336
- const data = input;
36337
- return client.runGeneratedRequest("previewGoalTrackedTime", () => callGeneratedRequest(previewGoalTrackedTime, [
36338
- client.httpClient,
36339
- client.organizationId,
36340
- client.workspaceIdNumber,
36341
- data.payload ?? data.data ?? data,
36342
- void 0
36343
- ]));
36344
- }
36345
- },
36346
- {
36347
- id: "focus.goals.reorder",
36348
- family: "focus",
36349
- resource: "goals",
36350
- action: "reorder",
36351
- title: "Reorder Goals",
36352
- description: "Reorder Goals.",
36353
- safety: "read",
36354
- destructive: false,
36355
- cli: {
36356
- group: ["goals"],
36357
- command: "reorder",
36358
- interactive: "available"
36359
- },
36360
- mcp: { entityTool: "goals" },
36361
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ goal_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
36362
- execute: (input, { client }) => {
36363
- const data = input;
36364
- return client.runGeneratedRequest("reorderGoals", () => callGeneratedRequest(reorderGoals, [
36365
- client.httpClient,
36366
- client.organizationId,
36367
- client.workspaceIdNumber,
36368
- data.payload ?? data.data ?? data,
36369
- void 0
36370
- ]));
36371
- }
36372
- },
36373
36038
  {
36374
36039
  id: "focus.goals.update",
36375
36040
  family: "focus",
@@ -36714,32 +36379,6 @@ const generatedFocusOperations = [
36714
36379
  ]));
36715
36380
  }
36716
36381
  },
36717
- {
36718
- id: "focus.organization.get-member-tags",
36719
- family: "focus",
36720
- resource: "organization",
36721
- action: "get-member-tags",
36722
- title: "Get Member Tags Organization",
36723
- description: "Get Member Tags Organization.",
36724
- safety: "read",
36725
- destructive: false,
36726
- cli: {
36727
- group: ["organization"],
36728
- command: "get-member-tags",
36729
- interactive: "available"
36730
- },
36731
- mcp: { entityTool: "organization" },
36732
- inputSchema: /* @__PURE__ */ looseObject({ workspace_id: /* @__PURE__ */ number$2() }),
36733
- execute: (input, { client }) => {
36734
- const data = input;
36735
- return client.runGeneratedRequest("getOrganizationMemberTags", () => callGeneratedRequest(getOrganizationMemberTags, [
36736
- client.httpClient,
36737
- client.organizationId,
36738
- data,
36739
- void 0
36740
- ]));
36741
- }
36742
- },
36743
36382
  {
36744
36383
  id: "focus.organization.get-my-groups",
36745
36384
  family: "focus",
@@ -36800,13 +36439,11 @@ const generatedFocusOperations = [
36800
36439
  },
36801
36440
  mcp: { entityTool: "organization" },
36802
36441
  inputSchema: /* @__PURE__ */ looseObject({
36803
- active_members_only: /* @__PURE__ */ unknown$1(),
36804
36442
  filter: /* @__PURE__ */ unknown$1(),
36805
36443
  group_ids: /* @__PURE__ */ unknown$1(),
36806
36444
  organization_user_id: /* @__PURE__ */ number$2(),
36807
36445
  page: /* @__PURE__ */ number$2(),
36808
36446
  per_page: /* @__PURE__ */ unknown$1(),
36809
- query: /* @__PURE__ */ unknown$1(),
36810
36447
  sort_dir: /* @__PURE__ */ unknown$1(),
36811
36448
  workspace_id: /* @__PURE__ */ number$2()
36812
36449
  }),
@@ -37622,7 +37259,6 @@ const generatedFocusOperations = [
37622
37259
  },
37623
37260
  mcp: { entityTool: "projects" },
37624
37261
  inputSchema: /* @__PURE__ */ looseObject({
37625
- archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
37626
37262
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
37627
37263
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
37628
37264
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -37778,24 +37414,24 @@ const generatedFocusOperations = [
37778
37414
  }
37779
37415
  },
37780
37416
  {
37781
- id: "focus.projects.make-project-public",
37417
+ id: "focus.projects.margin-targets-clear",
37782
37418
  family: "focus",
37783
37419
  resource: "projects",
37784
- action: "make-project-public",
37785
- title: "Make Project Public Projects",
37786
- description: "Make Project Public Projects.",
37787
- safety: "read",
37788
- destructive: false,
37420
+ action: "margin-targets-clear",
37421
+ title: "Margin Targets Clear Projects",
37422
+ description: "Margin Targets Clear Projects.",
37423
+ safety: "delete",
37424
+ destructive: true,
37789
37425
  cli: {
37790
- group: ["projects"],
37791
- command: "make-project-public",
37792
- interactive: "available"
37426
+ group: ["projects", "margin-targets"],
37427
+ command: "clear",
37428
+ interactive: "default"
37793
37429
  },
37794
37430
  mcp: { entityTool: "projects" },
37795
37431
  inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
37796
37432
  execute: (input, { client }) => {
37797
37433
  const data = input;
37798
- return client.runGeneratedRequest("makeProjectPublic", () => callGeneratedRequest(makeProjectPublic, [
37434
+ return client.runGeneratedRequest("clearProjectMarginTarget", () => callGeneratedRequest(clearProjectMarginTarget, [
37799
37435
  client.httpClient,
37800
37436
  client.organizationId,
37801
37437
  client.workspaceIdNumber,
@@ -37804,56 +37440,6 @@ const generatedFocusOperations = [
37804
37440
  ]));
37805
37441
  }
37806
37442
  },
37807
- {
37808
- id: "focus.projects.margin-targets-clear",
37809
- family: "focus",
37810
- resource: "projects",
37811
- action: "margin-targets-clear",
37812
- title: "Margin Targets Clear Projects",
37813
- description: "Margin Targets Clear Projects.",
37814
- safety: "delete",
37815
- destructive: true,
37816
- cli: {
37817
- group: ["projects", "margin-targets"],
37818
- command: "clear",
37819
- interactive: "default"
37820
- },
37821
- mcp: { entityTool: "projects" },
37822
- inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
37823
- execute: (input, { client }) => {
37824
- const data = input;
37825
- return client.runGeneratedRequest("clearProjectMarginTarget", () => callGeneratedRequest(clearProjectMarginTarget, [
37826
- client.httpClient,
37827
- client.organizationId,
37828
- client.workspaceIdNumber,
37829
- data.project_id,
37830
- void 0
37831
- ]));
37832
- }
37833
- },
37834
- {
37835
- id: "focus.projects.margin-targets-clear-workspace",
37836
- family: "focus",
37837
- resource: "projects",
37838
- action: "margin-targets-clear-workspace",
37839
- title: "Margin Targets Clear Workspace Projects",
37840
- description: "Margin Targets Clear Workspace Projects.",
37841
- safety: "delete",
37842
- destructive: true,
37843
- cli: {
37844
- group: ["projects", "margin-targets"],
37845
- command: "clear-workspace",
37846
- interactive: "default"
37847
- },
37848
- mcp: { entityTool: "projects" },
37849
- inputSchema: /* @__PURE__ */ looseObject({}),
37850
- execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
37851
- client.httpClient,
37852
- client.organizationId,
37853
- client.workspaceIdNumber,
37854
- void 0
37855
- ]))
37856
- },
37857
37443
  {
37858
37444
  id: "focus.projects.margin-targets-get",
37859
37445
  family: "focus",
@@ -37881,29 +37467,6 @@ const generatedFocusOperations = [
37881
37467
  ]));
37882
37468
  }
37883
37469
  },
37884
- {
37885
- id: "focus.projects.margin-targets-get-workspace",
37886
- family: "focus",
37887
- resource: "projects",
37888
- action: "margin-targets-get-workspace",
37889
- title: "Margin Targets Get Workspace Projects",
37890
- description: "Margin Targets Get Workspace Projects.",
37891
- safety: "read",
37892
- destructive: false,
37893
- cli: {
37894
- group: ["projects", "margin-targets"],
37895
- command: "get-workspace",
37896
- interactive: "hidden"
37897
- },
37898
- mcp: { entityTool: "projects" },
37899
- inputSchema: /* @__PURE__ */ looseObject({}),
37900
- execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceProjectMarginTarget", () => callGeneratedRequest(getWorkspaceProjectMarginTarget, [
37901
- client.httpClient,
37902
- client.organizationId,
37903
- client.workspaceIdNumber,
37904
- void 0
37905
- ]))
37906
- },
37907
37470
  {
37908
37471
  id: "focus.projects.margin-targets-list",
37909
37472
  family: "focus",
@@ -37958,33 +37521,6 @@ const generatedFocusOperations = [
37958
37521
  ]));
37959
37522
  }
37960
37523
  },
37961
- {
37962
- id: "focus.projects.margin-targets-set-workspace",
37963
- family: "focus",
37964
- resource: "projects",
37965
- action: "margin-targets-set-workspace",
37966
- title: "Margin Targets Set Workspace Projects",
37967
- description: "Margin Targets Set Workspace Projects.",
37968
- safety: "read",
37969
- destructive: false,
37970
- cli: {
37971
- group: ["projects", "margin-targets"],
37972
- command: "set-workspace",
37973
- interactive: "available"
37974
- },
37975
- mcp: { entityTool: "projects" },
37976
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ target_percent: /* @__PURE__ */ number$2() }) }),
37977
- execute: (input, { client }) => {
37978
- const data = input;
37979
- return client.runGeneratedRequest("setWorkspaceProjectMarginTarget", () => callGeneratedRequest(setWorkspaceProjectMarginTarget, [
37980
- client.httpClient,
37981
- client.organizationId,
37982
- client.workspaceIdNumber,
37983
- data.payload ?? data.data ?? data,
37984
- void 0
37985
- ]));
37986
- }
37987
- },
37988
37524
  {
37989
37525
  id: "focus.projects.pin",
37990
37526
  family: "focus",
@@ -39772,172 +39308,6 @@ const generatedFocusOperations = [
39772
39308
  ]));
39773
39309
  }
39774
39310
  },
39775
- {
39776
- id: "focus.recurring-budget-suggestions.accept-arecurring-project-budget-suggestion",
39777
- family: "focus",
39778
- resource: "recurring-budget-suggestions",
39779
- action: "accept-arecurring-project-budget-suggestion",
39780
- title: "Accept Arecurring Project Budget Suggestion Recurring Budget Suggestions",
39781
- description: "Accept Arecurring Project Budget Suggestion Recurring Budget Suggestions.",
39782
- safety: "read",
39783
- destructive: false,
39784
- cli: {
39785
- group: ["recurring-budget-suggestions"],
39786
- command: "accept-arecurring-project-budget-suggestion",
39787
- interactive: "available"
39788
- },
39789
- mcp: { entityTool: "recurring-budget-suggestions" },
39790
- inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
39791
- execute: (input, { client }) => {
39792
- const data = input;
39793
- return client.runGeneratedRequest("acceptARecurringProjectBudgetSuggestion", () => callGeneratedRequest(acceptARecurringProjectBudgetSuggestion, [
39794
- client.httpClient,
39795
- client.organizationId,
39796
- client.workspaceIdNumber,
39797
- data.project_id,
39798
- void 0
39799
- ]));
39800
- }
39801
- },
39802
- {
39803
- id: "focus.recurring-budget-suggestions.accept-atemplate-estimate-suggestion",
39804
- family: "focus",
39805
- resource: "recurring-budget-suggestions",
39806
- action: "accept-atemplate-estimate-suggestion",
39807
- title: "Accept Atemplate Estimate Suggestion Recurring Budget Suggestions",
39808
- description: "Accept Atemplate Estimate Suggestion Recurring Budget Suggestions.",
39809
- safety: "read",
39810
- destructive: false,
39811
- cli: {
39812
- group: ["recurring-budget-suggestions"],
39813
- command: "accept-atemplate-estimate-suggestion",
39814
- interactive: "available"
39815
- },
39816
- mcp: { entityTool: "recurring-budget-suggestions" },
39817
- inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
39818
- execute: (input, { client }) => {
39819
- const data = input;
39820
- return client.runGeneratedRequest("acceptATemplateEstimateSuggestion", () => callGeneratedRequest(acceptATemplateEstimateSuggestion, [
39821
- client.httpClient,
39822
- client.organizationId,
39823
- client.workspaceIdNumber,
39824
- data.project_id,
39825
- void 0
39826
- ]));
39827
- }
39828
- },
39829
- {
39830
- id: "focus.recurring-budget-suggestions.dismiss-arecurring-project-budget-suggestion",
39831
- family: "focus",
39832
- resource: "recurring-budget-suggestions",
39833
- action: "dismiss-arecurring-project-budget-suggestion",
39834
- title: "Dismiss Arecurring Project Budget Suggestion Recurring Budget Suggestions",
39835
- description: "Dismiss Arecurring Project Budget Suggestion Recurring Budget Suggestions.",
39836
- safety: "read",
39837
- destructive: false,
39838
- cli: {
39839
- group: ["recurring-budget-suggestions"],
39840
- command: "dismiss-arecurring-project-budget-suggestion",
39841
- interactive: "available"
39842
- },
39843
- mcp: { entityTool: "recurring-budget-suggestions" },
39844
- inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
39845
- execute: (input, { client }) => {
39846
- const data = input;
39847
- return client.runGeneratedRequest("dismissARecurringProjectBudgetSuggestion", () => callGeneratedRequest(dismissARecurringProjectBudgetSuggestion, [
39848
- client.httpClient,
39849
- client.organizationId,
39850
- client.workspaceIdNumber,
39851
- data.project_id,
39852
- void 0
39853
- ]));
39854
- }
39855
- },
39856
- {
39857
- id: "focus.recurring-budget-suggestions.dismiss-atemplate-estimate-suggestion",
39858
- family: "focus",
39859
- resource: "recurring-budget-suggestions",
39860
- action: "dismiss-atemplate-estimate-suggestion",
39861
- title: "Dismiss Atemplate Estimate Suggestion Recurring Budget Suggestions",
39862
- description: "Dismiss Atemplate Estimate Suggestion Recurring Budget Suggestions.",
39863
- safety: "read",
39864
- destructive: false,
39865
- cli: {
39866
- group: ["recurring-budget-suggestions"],
39867
- command: "dismiss-atemplate-estimate-suggestion",
39868
- interactive: "available"
39869
- },
39870
- mcp: { entityTool: "recurring-budget-suggestions" },
39871
- inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
39872
- execute: (input, { client }) => {
39873
- const data = input;
39874
- return client.runGeneratedRequest("dismissATemplateEstimateSuggestion", () => callGeneratedRequest(dismissATemplateEstimateSuggestion, [
39875
- client.httpClient,
39876
- client.organizationId,
39877
- client.workspaceIdNumber,
39878
- data.project_id,
39879
- void 0
39880
- ]));
39881
- }
39882
- },
39883
- {
39884
- id: "focus.recurring-budget-suggestions.get-recurring-project-budget-suggestion",
39885
- family: "focus",
39886
- resource: "recurring-budget-suggestions",
39887
- action: "get-recurring-project-budget-suggestion",
39888
- title: "Get Recurring Project Budget Suggestion Recurring Budget Suggestions",
39889
- description: "Get Recurring Project Budget Suggestion Recurring Budget Suggestions.",
39890
- safety: "read",
39891
- destructive: false,
39892
- cli: {
39893
- group: ["recurring-budget-suggestions"],
39894
- command: "get-recurring-project-budget-suggestion",
39895
- interactive: "hidden"
39896
- },
39897
- mcp: { entityTool: "recurring-budget-suggestions" },
39898
- inputSchema: /* @__PURE__ */ looseObject({
39899
- project_id: /* @__PURE__ */ number$2(),
39900
- target_period_start: /* @__PURE__ */ unknown$1()
39901
- }),
39902
- execute: (input, { client }) => {
39903
- const data = input;
39904
- return client.runGeneratedRequest("getRecurringProjectBudgetSuggestion", () => callGeneratedRequest(getRecurringProjectBudgetSuggestion, [
39905
- client.httpClient,
39906
- client.organizationId,
39907
- client.workspaceIdNumber,
39908
- data.project_id,
39909
- data,
39910
- void 0
39911
- ]));
39912
- }
39913
- },
39914
- {
39915
- id: "focus.recurring-budget-suggestions.get-template-estimate-suggestion",
39916
- family: "focus",
39917
- resource: "recurring-budget-suggestions",
39918
- action: "get-template-estimate-suggestion",
39919
- title: "Get Template Estimate Suggestion Recurring Budget Suggestions",
39920
- description: "Get Template Estimate Suggestion Recurring Budget Suggestions.",
39921
- safety: "read",
39922
- destructive: false,
39923
- cli: {
39924
- group: ["recurring-budget-suggestions"],
39925
- command: "get-template-estimate-suggestion",
39926
- interactive: "available"
39927
- },
39928
- mcp: { entityTool: "recurring-budget-suggestions" },
39929
- inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
39930
- execute: (input, { client }) => {
39931
- const data = input;
39932
- return client.runGeneratedRequest("getTemplateEstimateSuggestion", () => callGeneratedRequest(getTemplateEstimateSuggestion, [
39933
- client.httpClient,
39934
- client.organizationId,
39935
- client.workspaceIdNumber,
39936
- data.project_id,
39937
- void 0
39938
- ]));
39939
- }
39940
- },
39941
39311
  {
39942
39312
  id: "focus.reports.get-flexq-data",
39943
39313
  family: "focus",
@@ -39953,53 +39323,49 @@ const generatedFocusOperations = [
39953
39323
  interactive: "hidden"
39954
39324
  },
39955
39325
  mcp: { entityTool: "reports" },
39956
- inputSchema: /* @__PURE__ */ looseObject({
39957
- payload: /* @__PURE__ */ looseObject({
39958
- aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
39959
- aggregation: /* @__PURE__ */ looseObject({
39960
- function: /* @__PURE__ */ string$1(),
39961
- property: /* @__PURE__ */ string$1()
39962
- }),
39963
- operator: /* @__PURE__ */ string$1(),
39964
- property: /* @__PURE__ */ string$1()
39965
- })),
39966
- aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
39326
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
39327
+ aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
39328
+ aggregation: /* @__PURE__ */ looseObject({
39967
39329
  function: /* @__PURE__ */ string$1(),
39968
39330
  property: /* @__PURE__ */ string$1()
39969
- })),
39970
- attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
39971
- currency: /* @__PURE__ */ string$1(),
39972
- filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
39973
- conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
39974
- operator: /* @__PURE__ */ string$1(),
39975
- property: /* @__PURE__ */ string$1()
39976
- })),
39977
- groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
39978
- property: /* @__PURE__ */ string$1(),
39979
- show_empty: /* @__PURE__ */ boolean$1()
39980
- })),
39981
- limit: /* @__PURE__ */ number$2(),
39982
- ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
39983
- direction: /* @__PURE__ */ string$1(),
39984
- nulls: /* @__PURE__ */ string$1(),
39985
- property: /* @__PURE__ */ string$1()
39986
- })),
39987
- pagination: /* @__PURE__ */ looseObject({
39988
- page: /* @__PURE__ */ number$2(),
39989
- per_page: /* @__PURE__ */ number$2()
39990
39331
  }),
39991
- period: /* @__PURE__ */ looseObject({
39992
- from: /* @__PURE__ */ string$1(),
39993
- preset: /* @__PURE__ */ string$1(),
39994
- to: /* @__PURE__ */ string$1()
39995
- }),
39996
- transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
39997
- name: /* @__PURE__ */ string$1(),
39998
- parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
39999
- }))
39332
+ operator: /* @__PURE__ */ string$1(),
39333
+ property: /* @__PURE__ */ string$1()
39334
+ })),
39335
+ aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
39336
+ function: /* @__PURE__ */ string$1(),
39337
+ property: /* @__PURE__ */ string$1()
39338
+ })),
39339
+ attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
39340
+ filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
39341
+ conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
39342
+ operator: /* @__PURE__ */ string$1(),
39343
+ property: /* @__PURE__ */ string$1()
39344
+ })),
39345
+ groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
39346
+ property: /* @__PURE__ */ string$1(),
39347
+ show_empty: /* @__PURE__ */ boolean$1()
39348
+ })),
39349
+ limit: /* @__PURE__ */ number$2(),
39350
+ ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
39351
+ direction: /* @__PURE__ */ string$1(),
39352
+ nulls: /* @__PURE__ */ string$1(),
39353
+ property: /* @__PURE__ */ string$1()
39354
+ })),
39355
+ pagination: /* @__PURE__ */ looseObject({
39356
+ page: /* @__PURE__ */ number$2(),
39357
+ per_page: /* @__PURE__ */ number$2()
40000
39358
  }),
40001
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
40002
- }),
39359
+ period: /* @__PURE__ */ looseObject({
39360
+ from: /* @__PURE__ */ string$1(),
39361
+ preset: /* @__PURE__ */ string$1(),
39362
+ to: /* @__PURE__ */ string$1()
39363
+ }),
39364
+ transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
39365
+ name: /* @__PURE__ */ string$1(),
39366
+ parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
39367
+ }))
39368
+ }) }),
40003
39369
  execute: (input, { client }) => {
40004
39370
  const data = input;
40005
39371
  return client.runGeneratedRequest("getFlexqData", () => callGeneratedRequest(getFlexqData, [
@@ -40012,102 +39378,27 @@ const generatedFocusOperations = [
40012
39378
  }
40013
39379
  },
40014
39380
  {
40015
- id: "focus.reports.get-flexq-dictionary",
40016
- family: "focus",
40017
- resource: "reports",
40018
- action: "get-flexq-dictionary",
40019
- title: "Get Flexq Dictionary Reports",
40020
- description: "Get Flexq Dictionary Reports.",
40021
- safety: "read",
40022
- destructive: false,
40023
- cli: {
40024
- group: ["reports"],
40025
- command: "get-flexq-dictionary",
40026
- interactive: "hidden"
40027
- },
40028
- mcp: { entityTool: "reports" },
40029
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
40030
- execute: (input, { client }) => {
40031
- const data = input;
40032
- return client.runGeneratedRequest("getFlexqDictionary", () => callGeneratedRequest(getFlexqDictionary, [
40033
- client.httpClient,
40034
- client.workspaceIdNumber,
40035
- data.payload ?? data.data ?? data,
40036
- void 0
40037
- ]));
40038
- }
40039
- },
40040
- {
40041
- id: "focus.reports.get-profitability",
39381
+ id: "focus.reports.get-flexq-dictionary",
40042
39382
  family: "focus",
40043
39383
  resource: "reports",
40044
- action: "get-profitability",
40045
- title: "Get Profitability Reports",
40046
- description: "Get Profitability Reports.",
39384
+ action: "get-flexq-dictionary",
39385
+ title: "Get Flexq Dictionary Reports",
39386
+ description: "Get Flexq Dictionary Reports.",
40047
39387
  safety: "read",
40048
39388
  destructive: false,
40049
39389
  cli: {
40050
39390
  group: ["reports"],
40051
- command: "get-profitability",
39391
+ command: "get-flexq-dictionary",
40052
39392
  interactive: "hidden"
40053
39393
  },
40054
39394
  mcp: { entityTool: "reports" },
40055
- inputSchema: /* @__PURE__ */ looseObject({
40056
- include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
40057
- payload: /* @__PURE__ */ looseObject({
40058
- aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
40059
- aggregation: /* @__PURE__ */ looseObject({
40060
- function: /* @__PURE__ */ string$1(),
40061
- property: /* @__PURE__ */ string$1()
40062
- }),
40063
- operator: /* @__PURE__ */ string$1(),
40064
- property: /* @__PURE__ */ string$1()
40065
- })),
40066
- aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
40067
- function: /* @__PURE__ */ string$1(),
40068
- property: /* @__PURE__ */ string$1()
40069
- })),
40070
- attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
40071
- currency: /* @__PURE__ */ string$1(),
40072
- filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
40073
- conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
40074
- operator: /* @__PURE__ */ string$1(),
40075
- property: /* @__PURE__ */ string$1()
40076
- })),
40077
- groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
40078
- property: /* @__PURE__ */ string$1(),
40079
- show_empty: /* @__PURE__ */ boolean$1()
40080
- })),
40081
- limit: /* @__PURE__ */ number$2(),
40082
- ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
40083
- direction: /* @__PURE__ */ string$1(),
40084
- nulls: /* @__PURE__ */ string$1(),
40085
- property: /* @__PURE__ */ string$1()
40086
- })),
40087
- pagination: /* @__PURE__ */ looseObject({
40088
- page: /* @__PURE__ */ number$2(),
40089
- per_page: /* @__PURE__ */ number$2()
40090
- }),
40091
- period: /* @__PURE__ */ looseObject({
40092
- from: /* @__PURE__ */ string$1(),
40093
- preset: /* @__PURE__ */ string$1(),
40094
- to: /* @__PURE__ */ string$1()
40095
- }),
40096
- transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
40097
- name: /* @__PURE__ */ string$1(),
40098
- parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
40099
- }))
40100
- }),
40101
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
40102
- }),
39395
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
40103
39396
  execute: (input, { client }) => {
40104
39397
  const data = input;
40105
- return client.runGeneratedRequest("getProfitabilityReport", () => callGeneratedRequest(getProfitabilityReport, [
39398
+ return client.runGeneratedRequest("getFlexqDictionary", () => callGeneratedRequest(getFlexqDictionary, [
40106
39399
  client.httpClient,
40107
39400
  client.workspaceIdNumber,
40108
39401
  data.payload ?? data.data ?? data,
40109
- data.response_format,
40110
- data.include_dicts,
40111
39402
  void 0
40112
39403
  ]));
40113
39404
  }
@@ -40141,7 +39432,6 @@ const generatedFocusOperations = [
40141
39432
  property: /* @__PURE__ */ string$1()
40142
39433
  })),
40143
39434
  attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
40144
- currency: /* @__PURE__ */ string$1(),
40145
39435
  filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
40146
39436
  conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
40147
39437
  operator: /* @__PURE__ */ string$1(),
@@ -40209,12 +39499,7 @@ const generatedFocusOperations = [
40209
39499
  "project.tasks",
40210
39500
  "project.board",
40211
39501
  "project.timeline",
40212
- "projects",
40213
- "reports.summary",
40214
- "reports.detailed",
40215
- "reports.utilization",
40216
- "reports.workload",
40217
- "reports.profitability"
39502
+ "projects"
40218
39503
  ]),
40219
39504
  icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
40220
39505
  }) }),
@@ -40601,28 +39886,6 @@ const generatedFocusOperations = [
40601
39886
  void 0
40602
39887
  ]))
40603
39888
  },
40604
- {
40605
- id: "focus.subscriptions.get-plans",
40606
- family: "focus",
40607
- resource: "subscriptions",
40608
- action: "get-plans",
40609
- title: "Get Plans Subscriptions",
40610
- description: "Get Plans Subscriptions.",
40611
- safety: "read",
40612
- destructive: false,
40613
- cli: {
40614
- group: ["subscriptions"],
40615
- command: "get-plans",
40616
- interactive: "hidden"
40617
- },
40618
- mcp: { entityTool: "subscriptions" },
40619
- inputSchema: /* @__PURE__ */ looseObject({}),
40620
- execute: (_input, { client }) => client.runGeneratedRequest("getSubscriptionPlans", () => callGeneratedRequest(getSubscriptionPlans, [
40621
- client.httpClient,
40622
- client.organizationId,
40623
- void 0
40624
- ]))
40625
- },
40626
39889
  {
40627
39890
  id: "focus.subscriptions.upsert-forced-trial",
40628
39891
  family: "focus",
@@ -41284,10 +40547,10 @@ const generatedFocusOperations = [
41284
40547
  },
41285
40548
  mcp: { entityTool: "tasks" },
41286
40549
  inputSchema: /* @__PURE__ */ looseObject({
41287
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
41288
- date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41289
- date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41290
- hidden: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
40550
+ date_from: /* @__PURE__ */ unknown$1(),
40551
+ date_to: /* @__PURE__ */ unknown$1(),
40552
+ hidden: /* @__PURE__ */ unknown$1(),
40553
+ time_zone: /* @__PURE__ */ unknown$1()
41291
40554
  }),
41292
40555
  execute: (input, { client }) => {
41293
40556
  const data = input;
@@ -41363,6 +40626,7 @@ const generatedFocusOperations = [
41363
40626
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
41364
40627
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41365
40628
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
40629
+ creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
41366
40630
  dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41367
40631
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41368
40632
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
@@ -41383,7 +40647,6 @@ const generatedFocusOperations = [
41383
40647
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
41384
40648
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41385
40649
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41386
- private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41387
40650
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
41388
40651
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41389
40652
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -41510,7 +40773,6 @@ const generatedFocusOperations = [
41510
40773
  mcp: { entityTool: "tasks" },
41511
40774
  inputSchema: /* @__PURE__ */ looseObject({
41512
40775
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
41513
- cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41514
40776
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
41515
40777
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
41516
40778
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
@@ -41519,9 +40781,10 @@ const generatedFocusOperations = [
41519
40781
  exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41520
40782
  group: /* @__PURE__ */ unknown$1(),
41521
40783
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
41522
- include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41523
40784
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41524
40785
  include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
40786
+ include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
40787
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41525
40788
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41526
40789
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41527
40790
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -41536,6 +40799,7 @@ const generatedFocusOperations = [
41536
40799
  start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41537
40800
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
41538
40801
  tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
40802
+ tasks_per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41539
40803
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
41540
40804
  }),
41541
40805
  execute: (input, { client }) => {
@@ -41756,7 +41020,6 @@ const generatedFocusOperations = [
41756
41020
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
41757
41021
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
41758
41022
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
41759
- estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
41760
41023
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
41761
41024
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
41762
41025
  outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -41804,7 +41067,8 @@ const generatedFocusOperations = [
41804
41067
  mcp: { entityTool: "tasks" },
41805
41068
  inputSchema: /* @__PURE__ */ looseObject({
41806
41069
  date_from: /* @__PURE__ */ unknown$1(),
41807
- date_to: /* @__PURE__ */ unknown$1()
41070
+ date_to: /* @__PURE__ */ unknown$1(),
41071
+ timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
41808
41072
  }),
41809
41073
  execute: (input, { client }) => {
41810
41074
  const data = input;
@@ -41814,6 +41078,7 @@ const generatedFocusOperations = [
41814
41078
  client.workspaceIdNumber,
41815
41079
  data.date_from,
41816
41080
  data.date_to,
41081
+ data.timezone,
41817
41082
  void 0
41818
41083
  ]));
41819
41084
  }
@@ -42254,41 +41519,6 @@ const generatedFocusOperations = [
42254
41519
  return client.bulkDeleteTimeEntries(data.ids);
42255
41520
  }
42256
41521
  },
42257
- {
42258
- id: "focus.time-entries.bulk-edit",
42259
- family: "focus",
42260
- resource: "time-entries",
42261
- action: "bulk-edit",
42262
- title: "Bulk Edit Time Entries",
42263
- description: "Bulk Edit Time Entries.",
42264
- safety: "read",
42265
- destructive: false,
42266
- cli: {
42267
- group: ["time-entries", "bulk"],
42268
- command: "edit",
42269
- interactive: "available"
42270
- },
42271
- mcp: { entityTool: "time-entries" },
42272
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
42273
- changes: /* @__PURE__ */ looseObject({
42274
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
42275
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
42276
- reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
42277
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
42278
- }),
42279
- ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
42280
- }) }),
42281
- execute: (input, { client }) => {
42282
- const data = input;
42283
- return client.runGeneratedRequest("bulkEditTimeEntriesWithOrg", () => callGeneratedRequest(bulkEditTimeEntriesWithOrg, [
42284
- client.httpClient,
42285
- client.organizationId,
42286
- client.workspaceIdNumber,
42287
- data.payload ?? data.data ?? data,
42288
- void 0
42289
- ]));
42290
- }
42291
- },
42292
41522
  {
42293
41523
  id: "focus.time-entries.bulk-patch",
42294
41524
  family: "focus",
@@ -42567,7 +41797,6 @@ const generatedFocusOperations = [
42567
41797
  archived: /* @__PURE__ */ unknown$1(),
42568
41798
  date_from: /* @__PURE__ */ unknown$1(),
42569
41799
  date_to: /* @__PURE__ */ unknown$1(),
42570
- expand_calendar_event: /* @__PURE__ */ unknown$1(),
42571
41800
  include_taskless: /* @__PURE__ */ unknown$1(),
42572
41801
  order_by: /* @__PURE__ */ unknown$1(),
42573
41802
  status_id: /* @__PURE__ */ number$2(),
@@ -42840,29 +42069,18 @@ const generatedFocusOperations = [
42840
42069
  cli: {
42841
42070
  group: ["time-entries", "tracking"],
42842
42071
  command: "start-tracking-from-description",
42843
- interactive: "hidden"
42072
+ interactive: "available"
42844
42073
  },
42845
42074
  mcp: { entityTool: "time-entries" },
42846
42075
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
42847
- extension_source: /* @__PURE__ */ string$1(),
42076
+ integration_source: /* @__PURE__ */ string$1(),
42848
42077
  name: /* @__PURE__ */ string$1(),
42849
42078
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
42850
- create_project_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
42851
- create_tags_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
42852
- create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
42853
- custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
42854
42079
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
42855
42080
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
42856
- extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
42857
42081
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
42858
42082
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
42859
42083
  project_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
42860
- resolution_strategy: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
42861
- "uri",
42862
- "name",
42863
- "name_project",
42864
- "name_project_tags"
42865
- ])),
42866
42084
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
42867
42085
  tag_names: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ string$1()))
42868
42086
  }) }),
@@ -43427,12 +42645,12 @@ const generatedFocusOperations = [
43427
42645
  },
43428
42646
  mcp: { entityTool: "timesheets" },
43429
42647
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
42648
+ comment: /* @__PURE__ */ string$1(),
43430
42649
  keys: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
43431
42650
  setup_id: /* @__PURE__ */ number$2(),
43432
42651
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43433
42652
  user_account_id: /* @__PURE__ */ number$2()
43434
- })),
43435
- comment: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
42653
+ }))
43436
42654
  }) }),
43437
42655
  execute: (input, { client }) => {
43438
42656
  const data = input;
@@ -43445,37 +42663,6 @@ const generatedFocusOperations = [
43445
42663
  ]));
43446
42664
  }
43447
42665
  },
43448
- {
43449
- id: "focus.timesheets.bulk-withdraw",
43450
- family: "focus",
43451
- resource: "timesheets",
43452
- action: "bulk-withdraw",
43453
- title: "Bulk Withdraw Timesheets",
43454
- description: "Bulk Withdraw Timesheets.",
43455
- safety: "read",
43456
- destructive: false,
43457
- cli: {
43458
- group: ["timesheets", "bulk"],
43459
- command: "withdraw",
43460
- interactive: "available"
43461
- },
43462
- mcp: { entityTool: "timesheets" },
43463
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ keys: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
43464
- setup_id: /* @__PURE__ */ number$2(),
43465
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
43466
- user_account_id: /* @__PURE__ */ number$2()
43467
- })) }) }),
43468
- execute: (input, { client }) => {
43469
- const data = input;
43470
- return client.runGeneratedRequest("bulkWithdrawTimesheets", () => callGeneratedRequest(bulkWithdrawTimesheets, [
43471
- client.httpClient,
43472
- client.organizationId,
43473
- client.workspaceIdNumber,
43474
- data.payload ?? data.data ?? data,
43475
- void 0
43476
- ]));
43477
- }
43478
- },
43479
42666
  {
43480
42667
  id: "focus.timesheets.get",
43481
42668
  family: "focus",
@@ -43765,37 +42952,6 @@ const generatedFocusOperations = [
43765
42952
  ]));
43766
42953
  }
43767
42954
  },
43768
- {
43769
- id: "focus.timesheets.setups-add-timesheet-setup-member",
43770
- family: "focus",
43771
- resource: "timesheets",
43772
- action: "setups-add-timesheet-setup-member",
43773
- title: "Setups Add Timesheet Setup Member Timesheets",
43774
- description: "Setups Add Timesheet Setup Member Timesheets.",
43775
- safety: "read",
43776
- destructive: false,
43777
- cli: {
43778
- group: ["timesheets", "setups"],
43779
- command: "add-timesheet-setup-member",
43780
- interactive: "available"
43781
- },
43782
- mcp: { entityTool: "timesheets" },
43783
- inputSchema: /* @__PURE__ */ looseObject({
43784
- setup_id: /* @__PURE__ */ number$2(),
43785
- user_account_id: /* @__PURE__ */ number$2()
43786
- }),
43787
- execute: (input, { client }) => {
43788
- const data = input;
43789
- return client.runGeneratedRequest("addTimesheetSetupMember", () => callGeneratedRequest(addTimesheetSetupMember, [
43790
- client.httpClient,
43791
- client.organizationId,
43792
- client.workspaceIdNumber,
43793
- data.setup_id,
43794
- data.user_account_id,
43795
- void 0
43796
- ]));
43797
- }
43798
- },
43799
42955
  {
43800
42956
  id: "focus.timesheets.setups-create",
43801
42957
  family: "focus",
@@ -43861,37 +43017,6 @@ const generatedFocusOperations = [
43861
43017
  ]));
43862
43018
  }
43863
43019
  },
43864
- {
43865
- id: "focus.timesheets.setups-delete-member",
43866
- family: "focus",
43867
- resource: "timesheets",
43868
- action: "setups-delete-member",
43869
- title: "Setups Delete Member Timesheets",
43870
- description: "Setups Delete Member Timesheets.",
43871
- safety: "delete",
43872
- destructive: true,
43873
- cli: {
43874
- group: ["timesheets", "setups"],
43875
- command: "delete-member",
43876
- interactive: "default"
43877
- },
43878
- mcp: { entityTool: "timesheets" },
43879
- inputSchema: /* @__PURE__ */ looseObject({
43880
- setup_id: /* @__PURE__ */ number$2(),
43881
- user_account_id: /* @__PURE__ */ number$2()
43882
- }),
43883
- execute: (input, { client }) => {
43884
- const data = input;
43885
- return client.runGeneratedRequest("deleteTimesheetSetupMember", () => callGeneratedRequest(deleteTimesheetSetupMember, [
43886
- client.httpClient,
43887
- client.organizationId,
43888
- client.workspaceIdNumber,
43889
- data.setup_id,
43890
- data.user_account_id,
43891
- void 0
43892
- ]));
43893
- }
43894
- },
43895
43020
  {
43896
43021
  id: "focus.timesheets.setups-discontinue",
43897
43022
  family: "focus",
@@ -43923,39 +43048,6 @@ const generatedFocusOperations = [
43923
43048
  ]));
43924
43049
  }
43925
43050
  },
43926
- {
43927
- id: "focus.timesheets.setups-discontinue-timesheet-setup-member",
43928
- family: "focus",
43929
- resource: "timesheets",
43930
- action: "setups-discontinue-timesheet-setup-member",
43931
- title: "Setups Discontinue Timesheet Setup Member Timesheets",
43932
- description: "Setups Discontinue Timesheet Setup Member Timesheets.",
43933
- safety: "read",
43934
- destructive: false,
43935
- cli: {
43936
- group: ["timesheets", "setups"],
43937
- command: "discontinue-timesheet-setup-member",
43938
- interactive: "available"
43939
- },
43940
- mcp: { entityTool: "timesheets" },
43941
- inputSchema: /* @__PURE__ */ looseObject({
43942
- payload: /* @__PURE__ */ looseObject({ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())) }),
43943
- setup_id: /* @__PURE__ */ number$2(),
43944
- user_account_id: /* @__PURE__ */ number$2()
43945
- }),
43946
- execute: (input, { client }) => {
43947
- const data = input;
43948
- return client.runGeneratedRequest("discontinueTimesheetSetupMember", () => callGeneratedRequest(discontinueTimesheetSetupMember, [
43949
- client.httpClient,
43950
- client.organizationId,
43951
- client.workspaceIdNumber,
43952
- data.setup_id,
43953
- data.user_account_id,
43954
- data.payload ?? data.data ?? data,
43955
- void 0
43956
- ]));
43957
- }
43958
- },
43959
43051
  {
43960
43052
  id: "focus.timesheets.setups-get",
43961
43053
  family: "focus",
@@ -44022,13 +43114,10 @@ const generatedFocusOperations = [
44022
43114
  cli: {
44023
43115
  group: ["timesheets", "setups"],
44024
43116
  command: "get-members",
44025
- interactive: "hidden"
43117
+ interactive: "available"
44026
43118
  },
44027
43119
  mcp: { entityTool: "timesheets" },
44028
- inputSchema: /* @__PURE__ */ looseObject({
44029
- include_discontinued: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
44030
- setup_id: /* @__PURE__ */ number$2()
44031
- }),
43120
+ inputSchema: /* @__PURE__ */ looseObject({ setup_id: /* @__PURE__ */ number$2() }),
44032
43121
  execute: (input, { client }) => {
44033
43122
  const data = input;
44034
43123
  return client.runGeneratedRequest("getTimesheetSetupMembers", () => callGeneratedRequest(getTimesheetSetupMembers, [
@@ -44036,7 +43125,6 @@ const generatedFocusOperations = [
44036
43125
  client.organizationId,
44037
43126
  client.workspaceIdNumber,
44038
43127
  data.setup_id,
44039
- data,
44040
43128
  void 0
44041
43129
  ]));
44042
43130
  }
@@ -44072,37 +43160,6 @@ const generatedFocusOperations = [
44072
43160
  ]));
44073
43161
  }
44074
43162
  },
44075
- {
44076
- id: "focus.timesheets.setups-reactivate-timesheet-setup-member",
44077
- family: "focus",
44078
- resource: "timesheets",
44079
- action: "setups-reactivate-timesheet-setup-member",
44080
- title: "Setups Reactivate Timesheet Setup Member Timesheets",
44081
- description: "Setups Reactivate Timesheet Setup Member Timesheets.",
44082
- safety: "read",
44083
- destructive: false,
44084
- cli: {
44085
- group: ["timesheets", "setups"],
44086
- command: "reactivate-timesheet-setup-member",
44087
- interactive: "available"
44088
- },
44089
- mcp: { entityTool: "timesheets" },
44090
- inputSchema: /* @__PURE__ */ looseObject({
44091
- setup_id: /* @__PURE__ */ number$2(),
44092
- user_account_id: /* @__PURE__ */ number$2()
44093
- }),
44094
- execute: (input, { client }) => {
44095
- const data = input;
44096
- return client.runGeneratedRequest("reactivateTimesheetSetupMember", () => callGeneratedRequest(reactivateTimesheetSetupMember, [
44097
- client.httpClient,
44098
- client.organizationId,
44099
- client.workspaceIdNumber,
44100
- data.setup_id,
44101
- data.user_account_id,
44102
- void 0
44103
- ]));
44104
- }
44105
- },
44106
43163
  {
44107
43164
  id: "focus.timesheets.setups-update",
44108
43165
  family: "focus",
@@ -44263,7 +43320,7 @@ const generatedFocusOperations = [
44263
43320
  cli: {
44264
43321
  group: ["users", "settings"],
44265
43322
  command: "partial-update",
44266
- interactive: "hidden"
43323
+ interactive: "default"
44267
43324
  },
44268
43325
  mcp: { entityTool: "users" },
44269
43326
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
@@ -44299,7 +43356,6 @@ const generatedFocusOperations = [
44299
43356
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44300
43357
  onboarding_task_dragged: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44301
43358
  plan_tour_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44302
- platform_nudges: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
44303
43359
  pomodoro_mode_auto_start_break: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44304
43360
  pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44305
43361
  pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -44324,8 +43380,6 @@ const generatedFocusOperations = [
44324
43380
  time_tracking_mode_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44325
43381
  time_tracking_mode_fullscreen: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44326
43382
  tooltip_onboarding_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44327
- tos_ack_decoupled_licenses: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
44328
- trial_ended_modal_seen: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
44329
43383
  welcome_modal_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44330
43384
  whats_new_may_2026_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
44331
43385
  whats_new_tasks_tour_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
@@ -44663,28 +43717,6 @@ const generatedFocusOperations = [
44663
43717
  void 0
44664
43718
  ]))
44665
43719
  },
44666
- {
44667
- id: "focus.workspace-settings.get-workspace-currency",
44668
- family: "focus",
44669
- resource: "workspace-settings",
44670
- action: "get-workspace-currency",
44671
- title: "Get Workspace Currency Workspace Settings",
44672
- description: "Get Workspace Currency Workspace Settings.",
44673
- safety: "read",
44674
- destructive: false,
44675
- cli: {
44676
- group: ["workspace-settings"],
44677
- command: "get-workspace-currency",
44678
- interactive: "hidden"
44679
- },
44680
- mcp: { entityTool: "workspace-settings" },
44681
- inputSchema: /* @__PURE__ */ looseObject({}),
44682
- execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceCurrency", () => callGeneratedRequest(getWorkspaceCurrency, [
44683
- client.httpClient,
44684
- client.workspaceIdNumber,
44685
- void 0
44686
- ]))
44687
- },
44688
43720
  {
44689
43721
  id: "focus.workspace-settings.list",
44690
43722
  family: "focus",
@@ -44732,32 +43764,6 @@ const generatedFocusOperations = [
44732
43764
  void 0
44733
43765
  ]));
44734
43766
  }
44735
- },
44736
- {
44737
- id: "focus.workspace-settings.update-workspace-currency",
44738
- family: "focus",
44739
- resource: "workspace-settings",
44740
- action: "update-workspace-currency",
44741
- title: "Update Workspace Currency Workspace Settings",
44742
- description: "Update Workspace Currency Workspace Settings.",
44743
- safety: "update",
44744
- destructive: false,
44745
- cli: {
44746
- group: ["workspace-settings"],
44747
- command: "update-workspace-currency",
44748
- interactive: "default"
44749
- },
44750
- mcp: { entityTool: "workspace-settings" },
44751
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ currency: /* @__PURE__ */ string$1() }) }),
44752
- execute: (input, { client }) => {
44753
- const data = input;
44754
- return client.runGeneratedRequest("updateWorkspaceCurrency", () => callGeneratedRequest(updateWorkspaceCurrency, [
44755
- client.httpClient,
44756
- client.workspaceIdNumber,
44757
- data.payload ?? data.data ?? data,
44758
- void 0
44759
- ]));
44760
- }
44761
43767
  }
44762
43768
  ];
44763
43769
  const focusOperationOverrides = {
@@ -45984,7 +44990,7 @@ import_main.default.config({
45984
44990
  quiet: true,
45985
44991
  ignore: ["MISSING_ENV_FILE"]
45986
44992
  });
45987
- const packageVersion = "1.5.71";
44993
+ const packageVersion = "1.5.72";
45988
44994
  function resolvePublicUrls() {
45989
44995
  return {
45990
44996
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -46049,4 +45055,4 @@ function bootstrapServer(options = {}) {
46049
45055
  //#endregion
46050
45056
  export { runMcpCli as n, bootstrapServer as t };
46051
45057
 
46052
- //# sourceMappingURL=src-GasZftzb.js.map
45058
+ //# sourceMappingURL=src-CW6BCRCE.js.map