@togglhq/cli 1.5.71 → 1.5.73

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.
@@ -5643,6 +5643,27 @@ function regex(requirement, message$1) {
5643
5643
  };
5644
5644
  }
5645
5645
  /**
5646
+ * Creates a custom transformation action.
5647
+ *
5648
+ * @param operation The transformation operation.
5649
+ *
5650
+ * @returns A transform action.
5651
+ */
5652
+ /* @__NO_SIDE_EFFECTS__ */
5653
+ function transform(operation) {
5654
+ return {
5655
+ kind: "transformation",
5656
+ type: "transform",
5657
+ reference: transform,
5658
+ async: false,
5659
+ operation,
5660
+ "~run"(dataset) {
5661
+ dataset.value = this.operation(dataset.value);
5662
+ return dataset;
5663
+ }
5664
+ };
5665
+ }
5666
+ /**
5646
5667
  * Returns the fallback value of the schema.
5647
5668
  *
5648
5669
  * @param schema The schema to get it from.
@@ -8369,31 +8390,6 @@ function getFallback(schema, dataset, config$1) {
8369
8390
  return typeof schema.fallback === "function" ? schema.fallback(dataset, config$1) : schema.fallback;
8370
8391
  }
8371
8392
  /**
8372
- * Returns a fallback value as output if the input does not match the schema.
8373
- *
8374
- * @param schema The schema to catch.
8375
- * @param fallback The fallback value.
8376
- *
8377
- * @returns The passed schema.
8378
- */
8379
- /* @__NO_SIDE_EFFECTS__ */
8380
- function fallback(schema, fallback$1) {
8381
- return {
8382
- ...schema,
8383
- fallback: fallback$1,
8384
- get "~standard"() {
8385
- return /* @__PURE__ */ _getStandardProps(this);
8386
- },
8387
- "~run"(dataset, config$1) {
8388
- const outputDataset = schema["~run"](dataset, config$1);
8389
- return outputDataset.issues ? {
8390
- typed: true,
8391
- value: /* @__PURE__ */ getFallback(this, outputDataset, config$1)
8392
- } : outputDataset;
8393
- }
8394
- };
8395
- }
8396
- /**
8397
8393
  * Returns the default value of the schema.
8398
8394
  *
8399
8395
  * @param schema The schema to get it from.
@@ -8780,14 +8776,8 @@ function pipe(...pipe$1) {
8780
8776
  }
8781
8777
  };
8782
8778
  }
8783
- const TaskAssignmentSchema = /* @__PURE__ */ object({
8784
- id: /* @__PURE__ */ number(),
8785
- type: /* @__PURE__ */ picklist([
8786
- "user",
8787
- "ghost",
8788
- "team"
8789
- ])
8790
- });
8779
+ //#endregion
8780
+ //#region ../focus-queries/dist/schemas/index.ts
8791
8781
  const ClientLiteSchema = /* @__PURE__ */ object({
8792
8782
  id: /* @__PURE__ */ number(),
8793
8783
  name: /* @__PURE__ */ string()
@@ -8830,12 +8820,18 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
8830
8820
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
8831
8821
  rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
8832
8822
  });
8823
+ const TaskAssignmentSchema = /* @__PURE__ */ object({
8824
+ id: /* @__PURE__ */ number(),
8825
+ type: /* @__PURE__ */ picklist([
8826
+ "user",
8827
+ "ghost",
8828
+ "team"
8829
+ ])
8830
+ });
8833
8831
  const TaskMetadataSchema = /* @__PURE__ */ object({
8834
8832
  all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
8835
8833
  calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8836
8834
  calendar_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8837
- 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."))),
8838
- extension_url: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
8839
8835
  external_id: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
8840
8836
  ical_uid: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
8841
8837
  meeting_link: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -8875,9 +8871,7 @@ const TagLiteSchema = /* @__PURE__ */ object({
8875
8871
  color: /* @__PURE__ */ optional(/* @__PURE__ */ string())
8876
8872
  });
8877
8873
  const TaskSchema = /* @__PURE__ */ object({
8878
- allocation_unit: /* @__PURE__ */ picklist(["percent", "flat"]),
8879
8874
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
8880
- estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
8881
8875
  id: /* @__PURE__ */ number(),
8882
8876
  is_template: /* @__PURE__ */ boolean(),
8883
8877
  name: /* @__PURE__ */ string(),
@@ -8926,9 +8920,7 @@ const TaskSchema = /* @__PURE__ */ object({
8926
8920
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
8927
8921
  });
8928
8922
  const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
8929
- allocation_unit: /* @__PURE__ */ picklist(["percent", "flat"]),
8930
8923
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
8931
- estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
8932
8924
  id: /* @__PURE__ */ number(),
8933
8925
  is_template: /* @__PURE__ */ boolean(),
8934
8926
  name: /* @__PURE__ */ string(),
@@ -8943,19 +8935,9 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
8943
8935
  private: /* @__PURE__ */ boolean(),
8944
8936
  source: /* @__PURE__ */ string(),
8945
8937
  status_id: /* @__PURE__ */ number(),
8946
- sub_task_done_count: /* @__PURE__ */ number(),
8947
- sub_task_total_count: /* @__PURE__ */ number(),
8948
8938
  tag_ids: /* @__PURE__ */ array(/* @__PURE__ */ number()),
8949
8939
  tags: /* @__PURE__ */ array(TagLiteSchema),
8950
- time_block_completed_count: /* @__PURE__ */ number(),
8951
- time_block_scheduled_completed_count: /* @__PURE__ */ number(),
8952
- time_block_scheduled_total_count: /* @__PURE__ */ number(),
8953
- time_block_total_count: /* @__PURE__ */ number(),
8954
- time_entry_total_count: /* @__PURE__ */ number(),
8955
8940
  toggl_user_id: /* @__PURE__ */ number(),
8956
- total_blocked_time: /* @__PURE__ */ number(),
8957
- total_scheduled_blocked_time: /* @__PURE__ */ number(),
8958
- total_tracked_time: /* @__PURE__ */ number(),
8959
8941
  workspace_id: /* @__PURE__ */ number(),
8960
8942
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
8961
8943
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
@@ -8985,6 +8967,16 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
8985
8967
  start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
8986
8968
  status: /* @__PURE__ */ optional(StatusLiteSchema),
8987
8969
  status_updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
8970
+ sub_task_done_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8971
+ sub_task_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8972
+ time_block_completed_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8973
+ time_block_scheduled_completed_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8974
+ time_block_scheduled_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8975
+ time_block_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("TODO: Set as `required` after FE adjusts things on their end"))),
8976
+ time_entry_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8977
+ total_blocked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8978
+ total_scheduled_blocked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8979
+ total_tracked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
8988
8980
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
8989
8981
  });
8990
8982
  const PaginatedTasksWithMetaAndTotalSchema = /* @__PURE__ */ object({
@@ -9035,10 +9027,7 @@ const AlertRuleSchema = /* @__PURE__ */ object({
9035
9027
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
9036
9028
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
9037
9029
  });
9038
- const ClientPayloadSchema = /* @__PURE__ */ object({
9039
- name: /* @__PURE__ */ string(),
9040
- 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.")))
9041
- });
9030
+ const ClientPayloadSchema = /* @__PURE__ */ object({ name: /* @__PURE__ */ string() });
9042
9031
  const ProjectFixedFeePayloadSchema = /* @__PURE__ */ object({
9043
9032
  amount: /* @__PURE__ */ number(),
9044
9033
  currency: /* @__PURE__ */ string()
@@ -9134,7 +9123,6 @@ const TimeBlockSchema = /* @__PURE__ */ object({
9134
9123
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9135
9124
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9136
9125
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9137
- 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."))),
9138
9126
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
9139
9127
  });
9140
9128
  const BillableSourceSchema = /* @__PURE__ */ picklist(["manual", "task_default"]);
@@ -9142,7 +9130,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
9142
9130
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
9143
9131
  id: /* @__PURE__ */ number(),
9144
9132
  toggl_user_id: /* @__PURE__ */ number(),
9145
- type: /* @__PURE__ */ pipe(TimeEntryTypeSchema, /* @__PURE__ */ description("The type of time entry: either an activity or a break.")),
9133
+ type: TimeEntryTypeSchema,
9146
9134
  workspace_id: /* @__PURE__ */ number(),
9147
9135
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9148
9136
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -9158,7 +9146,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
9158
9146
  start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9159
9147
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9160
9148
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9161
- 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."))),
9162
9149
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9163
9150
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
9164
9151
  });
@@ -9185,7 +9172,6 @@ const ClientSchema = /* @__PURE__ */ object({
9185
9172
  id: /* @__PURE__ */ number(),
9186
9173
  name: /* @__PURE__ */ string(),
9187
9174
  workspace_id: /* @__PURE__ */ number(),
9188
- currency: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9189
9175
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9190
9176
  toggl_user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9191
9177
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
@@ -9268,7 +9254,6 @@ const PaginatedStatussSchema = /* @__PURE__ */ object({
9268
9254
  const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
9269
9255
  data: /* @__PURE__ */ array(/* @__PURE__ */ object({
9270
9256
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
9271
- has_time_entry: /* @__PURE__ */ boolean(),
9272
9257
  id: /* @__PURE__ */ number(),
9273
9258
  start: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
9274
9259
  task_id: /* @__PURE__ */ number(),
@@ -9280,8 +9265,8 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
9280
9265
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9281
9266
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9282
9267
  duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9268
+ has_time_entry: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9283
9269
  task: /* @__PURE__ */ optional(TaskSchema),
9284
- 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."))),
9285
9270
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
9286
9271
  })),
9287
9272
  page: /* @__PURE__ */ number(),
@@ -9292,23 +9277,11 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
9292
9277
  created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
9293
9278
  id: /* @__PURE__ */ number(),
9294
9279
  toggl_user_id: /* @__PURE__ */ number(),
9295
- type: /* @__PURE__ */ pipe(TimeEntryTypeSchema, /* @__PURE__ */ description("The type of time entry: either an activity or a break.")),
9280
+ type: TimeEntryTypeSchema,
9296
9281
  workspace_id: /* @__PURE__ */ number(),
9297
9282
  archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9298
9283
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9299
9284
  billable_source: /* @__PURE__ */ optional(BillableSourceSchema),
9300
- calendar_event: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
9301
- all_day: /* @__PURE__ */ boolean(),
9302
- background_color: /* @__PURE__ */ nullable(/* @__PURE__ */ string()),
9303
- end_time: /* @__PURE__ */ string(),
9304
- foreground_color: /* @__PURE__ */ nullable(/* @__PURE__ */ string()),
9305
- html_link: /* @__PURE__ */ string(),
9306
- id: /* @__PURE__ */ number(),
9307
- meeting_link: /* @__PURE__ */ nullable(/* @__PURE__ */ string()),
9308
- provider: /* @__PURE__ */ string(),
9309
- start_time: /* @__PURE__ */ string(),
9310
- title: /* @__PURE__ */ string()
9311
- }))),
9312
9285
  calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9313
9286
  deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9314
9287
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -9322,7 +9295,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
9322
9295
  task: /* @__PURE__ */ optional(TaskSchema),
9323
9296
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9324
9297
  time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9325
- 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."))),
9326
9298
  tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
9327
9299
  updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
9328
9300
  })),
@@ -9465,7 +9437,6 @@ const TagPayloadSchema = /* @__PURE__ */ object({
9465
9437
  const TaskBulkArchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
9466
9438
  const TaskCreatePayloadSchema = /* @__PURE__ */ object({
9467
9439
  name: /* @__PURE__ */ string(),
9468
- allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ fallback(/* @__PURE__ */ picklist(["percent", "flat"]), "flat")),
9469
9440
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
9470
9441
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9471
9442
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -9473,7 +9444,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
9473
9444
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ unknown())),
9474
9445
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
9475
9446
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
9476
- estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
9477
9447
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9478
9448
  ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
9479
9449
  integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -9505,7 +9475,6 @@ const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
9505
9475
  const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
9506
9476
  const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
9507
9477
  const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
9508
- allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
9509
9478
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
9510
9479
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
9511
9480
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -9513,7 +9482,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
9513
9482
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
9514
9483
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9515
9484
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
9516
- estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
9517
9485
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9518
9486
  ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
9519
9487
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -9540,7 +9508,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
9540
9508
  });
9541
9509
  const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
9542
9510
  id: /* @__PURE__ */ number(),
9543
- allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
9544
9511
  assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
9545
9512
  auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
9546
9513
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -9548,7 +9515,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
9548
9515
  custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
9549
9516
  description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
9550
9517
  end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
9551
- estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
9552
9518
  estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
9553
9519
  ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
9554
9520
  name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -9596,7 +9562,7 @@ const TimeBlockPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
9596
9562
  task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
9597
9563
  });
9598
9564
  const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
9599
- type: /* @__PURE__ */ pipe(TimeEntryTypeSchema, /* @__PURE__ */ description("The type of time entry. This could either be an activity, or a break.")),
9565
+ type: TimeEntryTypeSchema,
9600
9566
  billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
9601
9567
  calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
9602
9568
  description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -9701,16 +9667,10 @@ async function updateOrganizationGroupUserRole(httpClient, organization_id, grou
9701
9667
  json: data
9702
9668
  }).json();
9703
9669
  }
9704
- async function getOrganizationMemberTags(httpClient, organization_id, { workspace_id }, signal) {
9705
- return await httpClient.get(`organizations/${organization_id}/member-tags`, {
9706
- signal,
9707
- searchParams: buildSearchParams$3({ workspace_id })
9708
- }).json();
9709
- }
9710
9670
  async function getOrganizationRoles(httpClient, organization_id, signal) {
9711
9671
  return await httpClient.get(`organizations/${organization_id}/roles`, { signal }).json();
9712
9672
  }
9713
- async function getOrganizationTeamsClassic(httpClient, organization_id, { workspace_id, page, per_page, sort_dir, filter, query, organization_user_id, group_ids, active_members_only }, signal) {
9673
+ async function getOrganizationTeamsClassic(httpClient, organization_id, { workspace_id, page, per_page, sort_dir, filter, organization_user_id, group_ids }, signal) {
9714
9674
  return await httpClient.get(`organizations/${organization_id}/teams`, {
9715
9675
  signal,
9716
9676
  searchParams: buildSearchParams$3({
@@ -9719,14 +9679,12 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
9719
9679
  per_page,
9720
9680
  sort_dir,
9721
9681
  filter,
9722
- query,
9723
9682
  organization_user_id,
9724
- group_ids,
9725
- active_members_only
9683
+ group_ids
9726
9684
  })
9727
9685
  }).json();
9728
9686
  }
9729
- 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) {
9687
+ 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) {
9730
9688
  const response = await httpClient.get(`organizations/${organization_id}/users`, {
9731
9689
  signal,
9732
9690
  searchParams: buildSearchParams$3({
@@ -9745,8 +9703,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
9745
9703
  tag_ids,
9746
9704
  include_working_hours,
9747
9705
  include_rates,
9748
- pinned_ids,
9749
- has_group
9706
+ pinned_ids
9750
9707
  }, true)
9751
9708
  });
9752
9709
  return withResponseMeta$1(await response.json(), response.headers, response.status);
@@ -9800,7 +9757,7 @@ async function restoreTag(httpClient, workspace_id, tag_id, signal) {
9800
9757
  }
9801
9758
  //#endregion
9802
9759
  //#region ../focus-queries/dist/projects/requests.ts
9803
- 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) {
9760
+ 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) {
9804
9761
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
9805
9762
  signal,
9806
9763
  searchParams: buildSearchParams$3({
@@ -9815,6 +9772,7 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
9815
9772
  client_id,
9816
9773
  creator_id,
9817
9774
  tag_id,
9775
+ parent_project_id,
9818
9776
  assignee_user_id,
9819
9777
  project_id,
9820
9778
  user_id,
@@ -9822,7 +9780,6 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
9822
9780
  include_rollover,
9823
9781
  include_idle_recurring_templates,
9824
9782
  include_drafts,
9825
- include_locked_private,
9826
9783
  start_date,
9827
9784
  end_date,
9828
9785
  date_overlap_start,
@@ -9873,15 +9830,14 @@ async function getBatchProjectsMembers(httpClient, organization_id, workspace_id
9873
9830
  searchParams: buildSearchParams$3({ ids })
9874
9831
  }).json();
9875
9832
  }
9876
- async function getProjectTemplatesClassic(httpClient, organization_id, workspace_id, { page, per_page, name, order_by, archived } = {}, signal) {
9833
+ async function getProjectTemplatesClassic(httpClient, organization_id, workspace_id, { page, per_page, name, order_by } = {}, signal) {
9877
9834
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/templates`, {
9878
9835
  signal,
9879
9836
  searchParams: buildSearchParams$3({
9880
9837
  page,
9881
9838
  per_page,
9882
9839
  name,
9883
- order_by,
9884
- archived
9840
+ order_by
9885
9841
  })
9886
9842
  }).json();
9887
9843
  }
@@ -9965,9 +9921,6 @@ async function createRecurringProjectInstance(httpClient, organization_id, works
9965
9921
  json: data
9966
9922
  }).json();
9967
9923
  }
9968
- async function makeProjectPublic(httpClient, organization_id, workspace_id, project_id, signal) {
9969
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/projects/${project_id}/make-public`, { signal }).json();
9970
- }
9971
9924
  async function getProjectsMembers(httpClient, organization_id, workspace_id, project_id, signal) {
9972
9925
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/${project_id}/members`, { signal }).json();
9973
9926
  }
@@ -10051,7 +10004,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
10051
10004
  }
10052
10005
  //#endregion
10053
10006
  //#region ../focus-queries/dist/tasks/requests.ts
10054
- 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) {
10007
+ 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) {
10055
10008
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
10056
10009
  signal,
10057
10010
  searchParams: buildSearchParams$3({
@@ -10062,6 +10015,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
10062
10015
  order_by,
10063
10016
  status_id,
10064
10017
  toggl_user_id,
10018
+ creator_id,
10065
10019
  name,
10066
10020
  has_time_entries,
10067
10021
  has_time_blocks,
@@ -10166,23 +10120,24 @@ async function getTaskByExternalId(httpClient, organization_id, workspace_id, {
10166
10120
  })
10167
10121
  }).json();
10168
10122
  }
10169
- async function getTasksCalendarEvents(httpClient, organization_id, workspace_id, { date_from, date_to, calendar_event_id, hidden } = {}, signal) {
10123
+ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id, { date_from, date_to, time_zone, hidden }, signal) {
10170
10124
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
10171
10125
  signal,
10172
10126
  searchParams: buildSearchParams$3({
10173
10127
  date_from,
10174
10128
  date_to,
10175
- calendar_event_id,
10129
+ time_zone,
10176
10130
  hidden
10177
10131
  })
10178
10132
  }).json();
10179
10133
  }
10180
- async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
10134
+ async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, timezone, signal) {
10181
10135
  return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
10182
10136
  signal,
10183
10137
  searchParams: buildSearchParams$3({
10184
10138
  date_from,
10185
- date_to
10139
+ date_to,
10140
+ timezone
10186
10141
  })
10187
10142
  }).json();
10188
10143
  }
@@ -10206,7 +10161,7 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
10206
10161
  })
10207
10162
  }).json();
10208
10163
  }
10209
- 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) {
10164
+ 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) {
10210
10165
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
10211
10166
  signal,
10212
10167
  searchParams: buildSearchParams$3({
@@ -10215,11 +10170,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
10215
10170
  order_by,
10216
10171
  status_id,
10217
10172
  toggl_user_id,
10173
+ creator_id,
10218
10174
  name,
10219
10175
  has_time_entries,
10220
10176
  has_time_blocks,
10221
10177
  has_dates,
10222
- private: private_,
10223
10178
  archived,
10224
10179
  include_project_completed,
10225
10180
  include_drafts,
@@ -10453,7 +10408,7 @@ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id,
10453
10408
  json: data
10454
10409
  }).json();
10455
10410
  }
10456
- 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) {
10411
+ 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) {
10457
10412
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
10458
10413
  signal,
10459
10414
  searchParams: buildSearchParams$3({
@@ -10467,8 +10422,7 @@ async function getTimeEntriesRangeWithOrgClassic(httpClient, organization_id, wo
10467
10422
  order_by,
10468
10423
  archived,
10469
10424
  time_block_id,
10470
- include_taskless,
10471
- expand_calendar_event
10425
+ include_taskless
10472
10426
  })
10473
10427
  }).json();
10474
10428
  }
@@ -10496,12 +10450,6 @@ async function bulkPartialUpdateTimeEntryWithOrg(httpClient, organization_id, wo
10496
10450
  json: data
10497
10451
  }).json();
10498
10452
  }
10499
- async function bulkEditTimeEntriesWithOrg(httpClient, organization_id, workspace_id, data, signal) {
10500
- return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/bulk-edit`, {
10501
- signal,
10502
- json: data
10503
- }).json();
10504
- }
10505
10453
  async function bulkRestoreTimeEntryWithOrg(httpClient, organization_id, workspace_id, ids, signal) {
10506
10454
  return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/bulk/restore`, {
10507
10455
  signal,
@@ -10520,7 +10468,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
10520
10468
  json: data
10521
10469
  }).json();
10522
10470
  }
10523
- 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) {
10471
+ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless }, signal) {
10524
10472
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
10525
10473
  signal,
10526
10474
  searchParams: buildSearchParams$3({
@@ -10531,8 +10479,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
10531
10479
  type,
10532
10480
  order_by,
10533
10481
  archived,
10534
- include_taskless,
10535
- expand_calendar_event
10482
+ include_taskless
10536
10483
  })
10537
10484
  }).json();
10538
10485
  }
@@ -10668,7 +10615,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
10668
10615
  ]))
10669
10616
  });
10670
10617
  //#endregion
10671
- //#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
10618
+ //#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
10672
10619
  async function getInvitations(httpClient, signal) {
10673
10620
  return (await httpClient.get(`invitations`, { signal })).json();
10674
10621
  }
@@ -10685,7 +10632,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
10685
10632
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
10686
10633
  }
10687
10634
  //#endregion
10688
- //#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
10635
+ //#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
10689
10636
  function buildSearchParams$1(params, flattenArrays = false) {
10690
10637
  const searchParams = new URLSearchParams();
10691
10638
  Object.entries(params).forEach(([key, value]) => {
@@ -10697,7 +10644,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
10697
10644
  return searchParams;
10698
10645
  }
10699
10646
  //#endregion
10700
- //#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
10647
+ //#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
10701
10648
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
10702
10649
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
10703
10650
  }
@@ -10711,7 +10658,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
10711
10658
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
10712
10659
  }
10713
10660
  //#endregion
10714
- //#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
10661
+ //#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
10715
10662
  async function getWorkspaces(httpClient, organization_id, signal) {
10716
10663
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
10717
10664
  }
@@ -10740,7 +10687,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
10740
10687
  });
10741
10688
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
10742
10689
  //#endregion
10743
- //#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
10690
+ //#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
10744
10691
  const META_SYMBOL = Symbol.for("querygen:response:meta");
10745
10692
  function withResponseMeta(data, headers, status) {
10746
10693
  if (!data) return data;
@@ -10767,7 +10714,7 @@ function buildSearchParams(params, flattenArrays = false) {
10767
10714
  return searchParams;
10768
10715
  }
10769
10716
  //#endregion
10770
- //#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
10717
+ //#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
10771
10718
  async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
10772
10719
  const response = await httpClient.get(`shared_data/api/publicholidays/${year}`, {
10773
10720
  signal,
@@ -10776,12 +10723,12 @@ async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
10776
10723
  return withResponseMeta(await response.json(), response.headers, response.status);
10777
10724
  }
10778
10725
  //#endregion
10779
- //#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
10726
+ //#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
10780
10727
  async function getStatus(httpClient, signal) {
10781
10728
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
10782
10729
  }
10783
10730
  //#endregion
10784
- //#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
10731
+ //#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
10785
10732
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
10786
10733
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
10787
10734
  signal,
@@ -10809,7 +10756,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
10809
10756
  return response.json();
10810
10757
  }
10811
10758
  //#endregion
10812
- //#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
10759
+ //#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
10813
10760
  async function getMyWorkingHours(httpClient, organization_id, signal) {
10814
10761
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
10815
10762
  }
@@ -10963,8 +10910,8 @@ function parseOptionalInt(value) {
10963
10910
  return Number.isFinite(n) ? n : void 0;
10964
10911
  }
10965
10912
  function toNumberArray(value) {
10966
- const n = parseOptionalInt(value);
10967
- return n === void 0 ? void 0 : [n];
10913
+ const parsed = (Array.isArray(value) ? value : [value]).map(parseOptionalInt).filter((parsedValue) => parsedValue !== void 0);
10914
+ return parsed.length > 0 ? parsed : void 0;
10968
10915
  }
10969
10916
  function validationErrorMessage(issues) {
10970
10917
  return issues.map((issue) => issue.message ?? "invalid").join("; ");
@@ -11162,16 +11109,17 @@ var FocusClient = class {
11162
11109
  const page = parseOptionalInt(params.page);
11163
11110
  const per_page = parseOptionalInt(params.per_page);
11164
11111
  const project_id = toNumberArray(params.project_id);
11112
+ const tag_id = toNumberArray(params.tag_id);
11165
11113
  const status_id = toNumberArray(params.status_id);
11166
11114
  const parent_task_id = toNumberArray(params.parent_task_id);
11167
11115
  const assigneeUserId = parseOptionalInt(params.assignee_user_id);
11168
11116
  const assignee_user_id = assigneeUserId === void 0 ? void 0 : [assigneeUserId];
11169
- const priorityValue = params.priority;
11170
- const priority = priorityValue === void 0 ? void 0 : [priorityValue];
11117
+ const priority = params.priority === void 0 ? void 0 : [params.priority];
11171
11118
  const response = await this.run("listTasks", () => getTasksClassic(this.http, this.organizationIdNum, this.workspaceIdNum, {
11172
11119
  page,
11173
11120
  per_page,
11174
11121
  project_id,
11122
+ tag_id,
11175
11123
  status_id,
11176
11124
  parent_task_id,
11177
11125
  name: typeof params.name === "string" ? params.name : void 0,
@@ -12548,11 +12496,12 @@ async function runSkillSetup(options) {
12548
12496
  });
12549
12497
  }
12550
12498
  //#endregion
12551
- //#region ../operations/build/safety-CP4kPImt.js
12499
+ //#region ../operations/build/safety-PA22Wppt.js
12552
12500
  const optionalNumber = /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2());
12553
12501
  const DATE_FIELD_RE = /^\d{4}-\d{2}-\d{2}(T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2}))?$/;
12554
12502
  const dateField = (description) => /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ regex(DATE_FIELD_RE, "must be YYYY-MM-DD or RFC3339 datetime (e.g. '2025-01-01' or '2025-01-01T00:00:00Z')"), /* @__PURE__ */ description$1(description));
12555
12503
  const apiDateTimeString = /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoTimestamp());
12504
+ const tagIdFilterSchema = /* @__PURE__ */ union([/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ transform((tagId) => [tagId])), /* @__PURE__ */ pipe$2(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()), /* @__PURE__ */ minLength$1(1))]);
12556
12505
  const timeBlockListSchema = /* @__PURE__ */ object$2({
12557
12506
  date_from: dateField("Range start — date-only (e.g. '2025-01-01') or RFC3339 datetime. Date-only is expanded to T00:00:00Z."),
12558
12507
  date_to: dateField("Range end — date-only (e.g. '2025-01-07') or RFC3339 datetime. Date-only is expanded to T23:59:59Z."),
@@ -12581,6 +12530,7 @@ const taskListSchema = /* @__PURE__ */ object$2({
12581
12530
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ description$1("Filter by task name (partial match)"))),
12582
12531
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ description$1("Filter by status ID"))),
12583
12532
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ description$1("Filter by project ID"))),
12533
+ tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(tagIdFilterSchema, /* @__PURE__ */ description$1("Filter by tag IDs"))),
12584
12534
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ description$1("Filter by assignee user ID"))),
12585
12535
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ picklist$1([
12586
12536
  "none",
@@ -13982,11 +13932,6 @@ function operationRequiresExplicitAcknowledgment(operation) {
13982
13932
  return operation.destructive;
13983
13933
  }
13984
13934
  //#endregion
13985
- //#region ../focus-queries/dist/attachments/requests.ts
13986
- async function getWorkspaceAttachmentStorage(httpClient, organization_id, workspace_id, signal) {
13987
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/attachments/storage`, { signal }).json();
13988
- }
13989
- //#endregion
13990
13935
  //#region ../focus-queries/dist/audit-log/requests.ts
13991
13936
  async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
13992
13937
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
@@ -14162,17 +14107,6 @@ async function capacityGetComputations(httpClient, organization_id, workspace_id
14162
14107
  }).json();
14163
14108
  }
14164
14109
  //#endregion
14165
- //#region ../focus-queries/dist/capacity-settings/requests.ts
14166
- async function getCapacitySettings(httpClient, workspace_id, signal) {
14167
- return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
14168
- }
14169
- async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
14170
- return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
14171
- signal,
14172
- json: data
14173
- }).json();
14174
- }
14175
- //#endregion
14176
14110
  //#region ../focus-queries/dist/composite/requests.ts
14177
14111
  async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
14178
14112
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
@@ -14257,18 +14191,6 @@ async function createGoal(httpClient, organization_id, workspace_id, data, signa
14257
14191
  json: data
14258
14192
  }).json();
14259
14193
  }
14260
- async function reorderGoals(httpClient, organization_id, workspace_id, data, signal) {
14261
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/goals/positions`, {
14262
- signal,
14263
- json: data
14264
- }).json();
14265
- }
14266
- async function previewGoalTrackedTime(httpClient, organization_id, workspace_id, data, signal) {
14267
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/goals/preview`, {
14268
- signal,
14269
- json: data
14270
- }).json();
14271
- }
14272
14194
  async function getGoal(httpClient, organization_id, workspace_id, goal_id, signal) {
14273
14195
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/goals/${goal_id}`, { signal }).json();
14274
14196
  }
@@ -14507,18 +14429,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
14507
14429
  async function getProjectMarginTargets(httpClient, organization_id, workspace_id, signal) {
14508
14430
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets`, { signal }).json();
14509
14431
  }
14510
- async function getWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
14511
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
14512
- }
14513
- async function setWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, data, signal) {
14514
- return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, {
14515
- signal,
14516
- json: data
14517
- }).json();
14518
- }
14519
- async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
14520
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
14521
- }
14522
14432
  async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
14523
14433
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
14524
14434
  }
@@ -14588,49 +14498,12 @@ async function createTaskRate(httpClient, organization_id, workspace_id, task_id
14588
14498
  }).json();
14589
14499
  }
14590
14500
  //#endregion
14591
- //#region ../focus-queries/dist/recurring-budget-suggestions/requests.ts
14592
- async function getRecurringProjectBudgetSuggestion(httpClient, organization_id, workspace_id, project_id, { target_period_start }, signal) {
14593
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/recurring-budget-suggestions/${project_id}`, {
14594
- signal,
14595
- searchParams: buildSearchParams$3({ target_period_start })
14596
- }).json();
14597
- }
14598
- async function acceptARecurringProjectBudgetSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
14599
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/recurring-budget-suggestions/${project_id}/accept`, { signal }).json();
14600
- }
14601
- async function dismissARecurringProjectBudgetSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
14602
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/recurring-budget-suggestions/${project_id}/dismiss`, { signal }).json();
14603
- }
14604
- async function getTemplateEstimateSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
14605
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/template-estimate-suggestions/${project_id}`, { signal }).json();
14606
- }
14607
- async function acceptATemplateEstimateSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
14608
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/template-estimate-suggestions/${project_id}/accept`, { signal }).json();
14609
- }
14610
- async function dismissATemplateEstimateSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
14611
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/template-estimate-suggestions/${project_id}/dismiss`, { signal }).json();
14612
- }
14613
- //#endregion
14614
14501
  //#region ../focus-queries/dist/reports/requests.ts
14615
- async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
14616
- return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
14617
- signal,
14618
- json: data,
14619
- searchParams: buildSearchParams$3({
14620
- response_format,
14621
- include_dicts
14622
- })
14623
- }).json();
14624
- }
14625
- async function getFlexqData(httpClient, workspace_id, data, { response_format, include_dicts = false, xTogglReportExport } = {}, signal) {
14502
+ async function getFlexqData(httpClient, workspace_id, data, { include_dicts = false } = {}, signal) {
14626
14503
  return await httpClient.post(`reports/workspaces/${workspace_id}/query`, {
14627
14504
  signal,
14628
14505
  json: data,
14629
- headers: { "X-Toggl-Report-Export": xTogglReportExport },
14630
- searchParams: buildSearchParams$3({
14631
- response_format,
14632
- include_dicts
14633
- })
14506
+ searchParams: buildSearchParams$3({ include_dicts })
14634
14507
  }).json();
14635
14508
  }
14636
14509
  async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
@@ -14699,9 +14572,6 @@ async function getCurrentSubscription(httpClient, organization_id, signal) {
14699
14572
  async function getFeaturesUpsell(httpClient, organization_id, signal) {
14700
14573
  return await httpClient.get(`organizations/${organization_id}/subscriptions/features-upsell`, { signal }).json();
14701
14574
  }
14702
- async function getSubscriptionPlans(httpClient, organization_id, signal) {
14703
- return await httpClient.get(`organizations/${organization_id}/subscriptions/plans`, { signal }).json();
14704
- }
14705
14575
  async function getCurrentTrial(httpClient, organization_id, signal) {
14706
14576
  return await httpClient.get(`organizations/${organization_id}/subscriptions/trials/current`, { signal }).json();
14707
14577
  }
@@ -14724,7 +14594,7 @@ async function upsertTaskConstraints(httpClient, workspace_id, data, signal) {
14724
14594
  }
14725
14595
  //#endregion
14726
14596
  //#region ../focus-queries/dist/task-groups/requests.ts
14727
- 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) {
14597
+ 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) {
14728
14598
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
14729
14599
  signal,
14730
14600
  searchParams: buildSearchParams$3({
@@ -14748,10 +14618,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
14748
14618
  private: private_,
14749
14619
  exclude_empty,
14750
14620
  include_ghosts,
14751
- include_assignees,
14752
14621
  min_days,
14622
+ tasks_per_group,
14623
+ include_group_totals,
14624
+ include_unassigned,
14753
14625
  include_drafts,
14754
- cf_filter,
14755
14626
  page,
14756
14627
  per_page,
14757
14628
  order_by
@@ -14918,26 +14789,8 @@ async function discontinueTimesheetSetup(httpClient, organization_id, workspace_
14918
14789
  json: data
14919
14790
  }).json();
14920
14791
  }
14921
- async function getTimesheetSetupMembers(httpClient, organization_id, workspace_id, setup_id, { include_discontinued } = {}, signal) {
14922
- return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members`, {
14923
- signal,
14924
- searchParams: buildSearchParams$3({ include_discontinued })
14925
- }).json();
14926
- }
14927
- async function addTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
14928
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}`, { signal }).json();
14929
- }
14930
- async function deleteTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
14931
- return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}`, { signal }).json();
14932
- }
14933
- async function discontinueTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, data, signal) {
14934
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}/discontinue`, {
14935
- signal,
14936
- json: data
14937
- }).json();
14938
- }
14939
- async function reactivateTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
14940
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}/reactivate`, { signal }).json();
14792
+ async function getTimesheetSetupMembers(httpClient, organization_id, workspace_id, setup_id, signal) {
14793
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members`, { signal }).json();
14941
14794
  }
14942
14795
  //#endregion
14943
14796
  //#region ../focus-queries/dist/timesheets/requests.ts
@@ -14972,12 +14825,6 @@ async function bulkRequestChangesTimesheets(httpClient, organization_id, workspa
14972
14825
  json: data
14973
14826
  }).json();
14974
14827
  }
14975
- async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id, data, signal) {
14976
- return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/bulk/withdraw`, {
14977
- signal,
14978
- json: data
14979
- }).json();
14980
- }
14981
14828
  async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
14982
14829
  return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
14983
14830
  }
@@ -15093,15 +14940,6 @@ async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace
15093
14940
  }
15094
14941
  //#endregion
15095
14942
  //#region ../focus-queries/dist/workspace-settings/requests.ts
15096
- async function getWorkspaceCurrency(httpClient, workspace_id, signal) {
15097
- return await httpClient.get(`workspaces/${workspace_id}/currency`, { signal }).json();
15098
- }
15099
- async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
15100
- return await httpClient.patch(`workspaces/${workspace_id}/currency`, {
15101
- signal,
15102
- json: data
15103
- }).json();
15104
- }
15105
14943
  async function getUserPermissions(httpClient, workspace_id, signal) {
15106
14944
  return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
15107
14945
  }
@@ -15225,29 +15063,6 @@ const generatedFocusOperations = [
15225
15063
  return client.partialUpdateAlert(data.alert_id, data.payload ?? data.data ?? data);
15226
15064
  }
15227
15065
  },
15228
- {
15229
- id: "focus.attachments.get-workspace-attachment-storage",
15230
- family: "focus",
15231
- resource: "attachments",
15232
- action: "get-workspace-attachment-storage",
15233
- title: "Get Workspace Attachment Storage Attachments",
15234
- description: "Get Workspace Attachment Storage Attachments.",
15235
- safety: "read",
15236
- destructive: false,
15237
- cli: {
15238
- group: ["attachments"],
15239
- command: "get-workspace-attachment-storage",
15240
- interactive: "hidden"
15241
- },
15242
- mcp: { entityTool: "attachments" },
15243
- inputSchema: /* @__PURE__ */ looseObject({}),
15244
- execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceAttachmentStorage", () => callGeneratedRequest(getWorkspaceAttachmentStorage, [
15245
- client.httpClient,
15246
- client.organizationId,
15247
- client.workspaceIdNumber,
15248
- void 0
15249
- ]))
15250
- },
15251
15066
  {
15252
15067
  id: "focus.audit-log.list",
15253
15068
  family: "focus",
@@ -15326,54 +15141,6 @@ const generatedFocusOperations = [
15326
15141
  ]));
15327
15142
  }
15328
15143
  },
15329
- {
15330
- id: "focus.capacities.settings-list",
15331
- family: "focus",
15332
- resource: "capacities",
15333
- action: "settings-list",
15334
- title: "Settings List Capacities",
15335
- description: "Settings List Capacities.",
15336
- safety: "read",
15337
- destructive: false,
15338
- cli: {
15339
- group: ["capacities", "settings"],
15340
- command: "list",
15341
- interactive: "hidden"
15342
- },
15343
- mcp: { entityTool: "capacities" },
15344
- inputSchema: /* @__PURE__ */ looseObject({}),
15345
- execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
15346
- client.httpClient,
15347
- client.workspaceIdNumber,
15348
- void 0
15349
- ]))
15350
- },
15351
- {
15352
- id: "focus.capacities.settings-update",
15353
- family: "focus",
15354
- resource: "capacities",
15355
- action: "settings-update",
15356
- title: "Settings Update Capacities",
15357
- description: "Settings Update Capacities.",
15358
- safety: "update",
15359
- destructive: false,
15360
- cli: {
15361
- group: ["capacities", "settings"],
15362
- command: "update",
15363
- interactive: "default"
15364
- },
15365
- mcp: { entityTool: "capacities" },
15366
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
15367
- execute: (input, { client }) => {
15368
- const data = input;
15369
- return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
15370
- client.httpClient,
15371
- client.workspaceIdNumber,
15372
- data.payload ?? data.data ?? data,
15373
- void 0
15374
- ]));
15375
- }
15376
- },
15377
15144
  {
15378
15145
  id: "focus.clients.create",
15379
15146
  family: "focus",
@@ -15605,14 +15372,12 @@ const generatedFocusOperations = [
15605
15372
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
15606
15373
  task: /* @__PURE__ */ looseObject({
15607
15374
  name: /* @__PURE__ */ string$1(),
15608
- allocation_unit: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["percent", "flat"])),
15609
15375
  auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
15610
15376
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
15611
15377
  color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
15612
15378
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15613
15379
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
15614
15380
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
15615
- estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
15616
15381
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15617
15382
  integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15618
15383
  integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -15634,14 +15399,12 @@ const generatedFocusOperations = [
15634
15399
  }),
15635
15400
  subtasks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
15636
15401
  name: /* @__PURE__ */ string$1(),
15637
- allocation_unit: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["percent", "flat"])),
15638
15402
  auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
15639
15403
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
15640
15404
  color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
15641
15405
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
15642
15406
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
15643
15407
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
15644
- estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
15645
15408
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15646
15409
  integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
15647
15410
  integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
@@ -16046,7 +15809,11 @@ const generatedFocusOperations = [
16046
15809
  comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
16047
15810
  end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16048
15811
  icon: /* @__PURE__ */ string$1(),
16049
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
15812
+ monthly_anchor: /* @__PURE__ */ picklist$1([
15813
+ "calendar",
15814
+ "month_end",
15815
+ "first_workday"
15816
+ ]),
16050
15817
  name: /* @__PURE__ */ string$1(),
16051
15818
  project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16052
15819
  recurrence: /* @__PURE__ */ picklist$1([
@@ -16058,10 +15825,7 @@ const generatedFocusOperations = [
16058
15825
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16059
15826
  tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16060
15827
  target_seconds: /* @__PURE__ */ number$2(),
16061
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16062
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16063
- client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16064
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
15828
+ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
16065
15829
  }) }),
16066
15830
  execute: (input, { client }) => {
16067
15831
  const data = input;
@@ -16151,81 +15915,6 @@ const generatedFocusOperations = [
16151
15915
  void 0
16152
15916
  ]))
16153
15917
  },
16154
- {
16155
- id: "focus.goals.preview-goal-tracked-time",
16156
- family: "focus",
16157
- resource: "goals",
16158
- action: "preview-goal-tracked-time",
16159
- title: "Preview Goal Tracked Time Goals",
16160
- description: "Preview Goal Tracked Time Goals.",
16161
- safety: "read",
16162
- destructive: false,
16163
- cli: {
16164
- group: ["goals"],
16165
- command: "preview-goal-tracked-time",
16166
- interactive: "available"
16167
- },
16168
- mcp: { entityTool: "goals" },
16169
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
16170
- billable: /* @__PURE__ */ boolean$1(),
16171
- comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
16172
- end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16173
- icon: /* @__PURE__ */ string$1(),
16174
- monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
16175
- name: /* @__PURE__ */ string$1(),
16176
- project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16177
- recurrence: /* @__PURE__ */ picklist$1([
16178
- "daily",
16179
- "weekly",
16180
- "daily_workdays",
16181
- "monthly"
16182
- ]),
16183
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
16184
- tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16185
- target_seconds: /* @__PURE__ */ number$2(),
16186
- task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16187
- weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
16188
- client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
16189
- description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
16190
- }) }),
16191
- execute: (input, { client }) => {
16192
- const data = input;
16193
- return client.runGeneratedRequest("previewGoalTrackedTime", () => callGeneratedRequest(previewGoalTrackedTime, [
16194
- client.httpClient,
16195
- client.organizationId,
16196
- client.workspaceIdNumber,
16197
- data.payload ?? data.data ?? data,
16198
- void 0
16199
- ]));
16200
- }
16201
- },
16202
- {
16203
- id: "focus.goals.reorder",
16204
- family: "focus",
16205
- resource: "goals",
16206
- action: "reorder",
16207
- title: "Reorder Goals",
16208
- description: "Reorder Goals.",
16209
- safety: "read",
16210
- destructive: false,
16211
- cli: {
16212
- group: ["goals"],
16213
- command: "reorder",
16214
- interactive: "available"
16215
- },
16216
- mcp: { entityTool: "goals" },
16217
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ goal_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
16218
- execute: (input, { client }) => {
16219
- const data = input;
16220
- return client.runGeneratedRequest("reorderGoals", () => callGeneratedRequest(reorderGoals, [
16221
- client.httpClient,
16222
- client.organizationId,
16223
- client.workspaceIdNumber,
16224
- data.payload ?? data.data ?? data,
16225
- void 0
16226
- ]));
16227
- }
16228
- },
16229
15918
  {
16230
15919
  id: "focus.goals.update",
16231
15920
  family: "focus",
@@ -16570,32 +16259,6 @@ const generatedFocusOperations = [
16570
16259
  ]));
16571
16260
  }
16572
16261
  },
16573
- {
16574
- id: "focus.organization.get-member-tags",
16575
- family: "focus",
16576
- resource: "organization",
16577
- action: "get-member-tags",
16578
- title: "Get Member Tags Organization",
16579
- description: "Get Member Tags Organization.",
16580
- safety: "read",
16581
- destructive: false,
16582
- cli: {
16583
- group: ["organization"],
16584
- command: "get-member-tags",
16585
- interactive: "available"
16586
- },
16587
- mcp: { entityTool: "organization" },
16588
- inputSchema: /* @__PURE__ */ looseObject({ workspace_id: /* @__PURE__ */ number$2() }),
16589
- execute: (input, { client }) => {
16590
- const data = input;
16591
- return client.runGeneratedRequest("getOrganizationMemberTags", () => callGeneratedRequest(getOrganizationMemberTags, [
16592
- client.httpClient,
16593
- client.organizationId,
16594
- data,
16595
- void 0
16596
- ]));
16597
- }
16598
- },
16599
16262
  {
16600
16263
  id: "focus.organization.get-my-groups",
16601
16264
  family: "focus",
@@ -16656,13 +16319,11 @@ const generatedFocusOperations = [
16656
16319
  },
16657
16320
  mcp: { entityTool: "organization" },
16658
16321
  inputSchema: /* @__PURE__ */ looseObject({
16659
- active_members_only: /* @__PURE__ */ unknown$1(),
16660
16322
  filter: /* @__PURE__ */ unknown$1(),
16661
16323
  group_ids: /* @__PURE__ */ unknown$1(),
16662
16324
  organization_user_id: /* @__PURE__ */ number$2(),
16663
16325
  page: /* @__PURE__ */ number$2(),
16664
16326
  per_page: /* @__PURE__ */ unknown$1(),
16665
- query: /* @__PURE__ */ unknown$1(),
16666
16327
  sort_dir: /* @__PURE__ */ unknown$1(),
16667
16328
  workspace_id: /* @__PURE__ */ number$2()
16668
16329
  }),
@@ -17478,7 +17139,6 @@ const generatedFocusOperations = [
17478
17139
  },
17479
17140
  mcp: { entityTool: "projects" },
17480
17141
  inputSchema: /* @__PURE__ */ looseObject({
17481
- archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
17482
17142
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
17483
17143
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
17484
17144
  page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -17634,34 +17294,7 @@ const generatedFocusOperations = [
17634
17294
  }
17635
17295
  },
17636
17296
  {
17637
- id: "focus.projects.make-project-public",
17638
- family: "focus",
17639
- resource: "projects",
17640
- action: "make-project-public",
17641
- title: "Make Project Public Projects",
17642
- description: "Make Project Public Projects.",
17643
- safety: "read",
17644
- destructive: false,
17645
- cli: {
17646
- group: ["projects"],
17647
- command: "make-project-public",
17648
- interactive: "available"
17649
- },
17650
- mcp: { entityTool: "projects" },
17651
- inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
17652
- execute: (input, { client }) => {
17653
- const data = input;
17654
- return client.runGeneratedRequest("makeProjectPublic", () => callGeneratedRequest(makeProjectPublic, [
17655
- client.httpClient,
17656
- client.organizationId,
17657
- client.workspaceIdNumber,
17658
- data.project_id,
17659
- void 0
17660
- ]));
17661
- }
17662
- },
17663
- {
17664
- id: "focus.projects.margin-targets-clear",
17297
+ id: "focus.projects.margin-targets-clear",
17665
17298
  family: "focus",
17666
17299
  resource: "projects",
17667
17300
  action: "margin-targets-clear",
@@ -17687,29 +17320,6 @@ const generatedFocusOperations = [
17687
17320
  ]));
17688
17321
  }
17689
17322
  },
17690
- {
17691
- id: "focus.projects.margin-targets-clear-workspace",
17692
- family: "focus",
17693
- resource: "projects",
17694
- action: "margin-targets-clear-workspace",
17695
- title: "Margin Targets Clear Workspace Projects",
17696
- description: "Margin Targets Clear Workspace Projects.",
17697
- safety: "delete",
17698
- destructive: true,
17699
- cli: {
17700
- group: ["projects", "margin-targets"],
17701
- command: "clear-workspace",
17702
- interactive: "default"
17703
- },
17704
- mcp: { entityTool: "projects" },
17705
- inputSchema: /* @__PURE__ */ looseObject({}),
17706
- execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
17707
- client.httpClient,
17708
- client.organizationId,
17709
- client.workspaceIdNumber,
17710
- void 0
17711
- ]))
17712
- },
17713
17323
  {
17714
17324
  id: "focus.projects.margin-targets-get",
17715
17325
  family: "focus",
@@ -17737,29 +17347,6 @@ const generatedFocusOperations = [
17737
17347
  ]));
17738
17348
  }
17739
17349
  },
17740
- {
17741
- id: "focus.projects.margin-targets-get-workspace",
17742
- family: "focus",
17743
- resource: "projects",
17744
- action: "margin-targets-get-workspace",
17745
- title: "Margin Targets Get Workspace Projects",
17746
- description: "Margin Targets Get Workspace Projects.",
17747
- safety: "read",
17748
- destructive: false,
17749
- cli: {
17750
- group: ["projects", "margin-targets"],
17751
- command: "get-workspace",
17752
- interactive: "hidden"
17753
- },
17754
- mcp: { entityTool: "projects" },
17755
- inputSchema: /* @__PURE__ */ looseObject({}),
17756
- execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceProjectMarginTarget", () => callGeneratedRequest(getWorkspaceProjectMarginTarget, [
17757
- client.httpClient,
17758
- client.organizationId,
17759
- client.workspaceIdNumber,
17760
- void 0
17761
- ]))
17762
- },
17763
17350
  {
17764
17351
  id: "focus.projects.margin-targets-list",
17765
17352
  family: "focus",
@@ -17814,33 +17401,6 @@ const generatedFocusOperations = [
17814
17401
  ]));
17815
17402
  }
17816
17403
  },
17817
- {
17818
- id: "focus.projects.margin-targets-set-workspace",
17819
- family: "focus",
17820
- resource: "projects",
17821
- action: "margin-targets-set-workspace",
17822
- title: "Margin Targets Set Workspace Projects",
17823
- description: "Margin Targets Set Workspace Projects.",
17824
- safety: "read",
17825
- destructive: false,
17826
- cli: {
17827
- group: ["projects", "margin-targets"],
17828
- command: "set-workspace",
17829
- interactive: "available"
17830
- },
17831
- mcp: { entityTool: "projects" },
17832
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ target_percent: /* @__PURE__ */ number$2() }) }),
17833
- execute: (input, { client }) => {
17834
- const data = input;
17835
- return client.runGeneratedRequest("setWorkspaceProjectMarginTarget", () => callGeneratedRequest(setWorkspaceProjectMarginTarget, [
17836
- client.httpClient,
17837
- client.organizationId,
17838
- client.workspaceIdNumber,
17839
- data.payload ?? data.data ?? data,
17840
- void 0
17841
- ]));
17842
- }
17843
- },
17844
17404
  {
17845
17405
  id: "focus.projects.pin",
17846
17406
  family: "focus",
@@ -19628,172 +19188,6 @@ const generatedFocusOperations = [
19628
19188
  ]));
19629
19189
  }
19630
19190
  },
19631
- {
19632
- id: "focus.recurring-budget-suggestions.accept-arecurring-project-budget-suggestion",
19633
- family: "focus",
19634
- resource: "recurring-budget-suggestions",
19635
- action: "accept-arecurring-project-budget-suggestion",
19636
- title: "Accept Arecurring Project Budget Suggestion Recurring Budget Suggestions",
19637
- description: "Accept Arecurring Project Budget Suggestion Recurring Budget Suggestions.",
19638
- safety: "read",
19639
- destructive: false,
19640
- cli: {
19641
- group: ["recurring-budget-suggestions"],
19642
- command: "accept-arecurring-project-budget-suggestion",
19643
- interactive: "available"
19644
- },
19645
- mcp: { entityTool: "recurring-budget-suggestions" },
19646
- inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
19647
- execute: (input, { client }) => {
19648
- const data = input;
19649
- return client.runGeneratedRequest("acceptARecurringProjectBudgetSuggestion", () => callGeneratedRequest(acceptARecurringProjectBudgetSuggestion, [
19650
- client.httpClient,
19651
- client.organizationId,
19652
- client.workspaceIdNumber,
19653
- data.project_id,
19654
- void 0
19655
- ]));
19656
- }
19657
- },
19658
- {
19659
- id: "focus.recurring-budget-suggestions.accept-atemplate-estimate-suggestion",
19660
- family: "focus",
19661
- resource: "recurring-budget-suggestions",
19662
- action: "accept-atemplate-estimate-suggestion",
19663
- title: "Accept Atemplate Estimate Suggestion Recurring Budget Suggestions",
19664
- description: "Accept Atemplate Estimate Suggestion Recurring Budget Suggestions.",
19665
- safety: "read",
19666
- destructive: false,
19667
- cli: {
19668
- group: ["recurring-budget-suggestions"],
19669
- command: "accept-atemplate-estimate-suggestion",
19670
- interactive: "available"
19671
- },
19672
- mcp: { entityTool: "recurring-budget-suggestions" },
19673
- inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
19674
- execute: (input, { client }) => {
19675
- const data = input;
19676
- return client.runGeneratedRequest("acceptATemplateEstimateSuggestion", () => callGeneratedRequest(acceptATemplateEstimateSuggestion, [
19677
- client.httpClient,
19678
- client.organizationId,
19679
- client.workspaceIdNumber,
19680
- data.project_id,
19681
- void 0
19682
- ]));
19683
- }
19684
- },
19685
- {
19686
- id: "focus.recurring-budget-suggestions.dismiss-arecurring-project-budget-suggestion",
19687
- family: "focus",
19688
- resource: "recurring-budget-suggestions",
19689
- action: "dismiss-arecurring-project-budget-suggestion",
19690
- title: "Dismiss Arecurring Project Budget Suggestion Recurring Budget Suggestions",
19691
- description: "Dismiss Arecurring Project Budget Suggestion Recurring Budget Suggestions.",
19692
- safety: "read",
19693
- destructive: false,
19694
- cli: {
19695
- group: ["recurring-budget-suggestions"],
19696
- command: "dismiss-arecurring-project-budget-suggestion",
19697
- interactive: "available"
19698
- },
19699
- mcp: { entityTool: "recurring-budget-suggestions" },
19700
- inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
19701
- execute: (input, { client }) => {
19702
- const data = input;
19703
- return client.runGeneratedRequest("dismissARecurringProjectBudgetSuggestion", () => callGeneratedRequest(dismissARecurringProjectBudgetSuggestion, [
19704
- client.httpClient,
19705
- client.organizationId,
19706
- client.workspaceIdNumber,
19707
- data.project_id,
19708
- void 0
19709
- ]));
19710
- }
19711
- },
19712
- {
19713
- id: "focus.recurring-budget-suggestions.dismiss-atemplate-estimate-suggestion",
19714
- family: "focus",
19715
- resource: "recurring-budget-suggestions",
19716
- action: "dismiss-atemplate-estimate-suggestion",
19717
- title: "Dismiss Atemplate Estimate Suggestion Recurring Budget Suggestions",
19718
- description: "Dismiss Atemplate Estimate Suggestion Recurring Budget Suggestions.",
19719
- safety: "read",
19720
- destructive: false,
19721
- cli: {
19722
- group: ["recurring-budget-suggestions"],
19723
- command: "dismiss-atemplate-estimate-suggestion",
19724
- interactive: "available"
19725
- },
19726
- mcp: { entityTool: "recurring-budget-suggestions" },
19727
- inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
19728
- execute: (input, { client }) => {
19729
- const data = input;
19730
- return client.runGeneratedRequest("dismissATemplateEstimateSuggestion", () => callGeneratedRequest(dismissATemplateEstimateSuggestion, [
19731
- client.httpClient,
19732
- client.organizationId,
19733
- client.workspaceIdNumber,
19734
- data.project_id,
19735
- void 0
19736
- ]));
19737
- }
19738
- },
19739
- {
19740
- id: "focus.recurring-budget-suggestions.get-recurring-project-budget-suggestion",
19741
- family: "focus",
19742
- resource: "recurring-budget-suggestions",
19743
- action: "get-recurring-project-budget-suggestion",
19744
- title: "Get Recurring Project Budget Suggestion Recurring Budget Suggestions",
19745
- description: "Get Recurring Project Budget Suggestion Recurring Budget Suggestions.",
19746
- safety: "read",
19747
- destructive: false,
19748
- cli: {
19749
- group: ["recurring-budget-suggestions"],
19750
- command: "get-recurring-project-budget-suggestion",
19751
- interactive: "hidden"
19752
- },
19753
- mcp: { entityTool: "recurring-budget-suggestions" },
19754
- inputSchema: /* @__PURE__ */ looseObject({
19755
- project_id: /* @__PURE__ */ number$2(),
19756
- target_period_start: /* @__PURE__ */ unknown$1()
19757
- }),
19758
- execute: (input, { client }) => {
19759
- const data = input;
19760
- return client.runGeneratedRequest("getRecurringProjectBudgetSuggestion", () => callGeneratedRequest(getRecurringProjectBudgetSuggestion, [
19761
- client.httpClient,
19762
- client.organizationId,
19763
- client.workspaceIdNumber,
19764
- data.project_id,
19765
- data,
19766
- void 0
19767
- ]));
19768
- }
19769
- },
19770
- {
19771
- id: "focus.recurring-budget-suggestions.get-template-estimate-suggestion",
19772
- family: "focus",
19773
- resource: "recurring-budget-suggestions",
19774
- action: "get-template-estimate-suggestion",
19775
- title: "Get Template Estimate Suggestion Recurring Budget Suggestions",
19776
- description: "Get Template Estimate Suggestion Recurring Budget Suggestions.",
19777
- safety: "read",
19778
- destructive: false,
19779
- cli: {
19780
- group: ["recurring-budget-suggestions"],
19781
- command: "get-template-estimate-suggestion",
19782
- interactive: "available"
19783
- },
19784
- mcp: { entityTool: "recurring-budget-suggestions" },
19785
- inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
19786
- execute: (input, { client }) => {
19787
- const data = input;
19788
- return client.runGeneratedRequest("getTemplateEstimateSuggestion", () => callGeneratedRequest(getTemplateEstimateSuggestion, [
19789
- client.httpClient,
19790
- client.organizationId,
19791
- client.workspaceIdNumber,
19792
- data.project_id,
19793
- void 0
19794
- ]));
19795
- }
19796
- },
19797
19191
  {
19798
19192
  id: "focus.reports.get-flexq-data",
19799
19193
  family: "focus",
@@ -19809,53 +19203,49 @@ const generatedFocusOperations = [
19809
19203
  interactive: "hidden"
19810
19204
  },
19811
19205
  mcp: { entityTool: "reports" },
19812
- inputSchema: /* @__PURE__ */ looseObject({
19813
- payload: /* @__PURE__ */ looseObject({
19814
- aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
19815
- aggregation: /* @__PURE__ */ looseObject({
19816
- function: /* @__PURE__ */ string$1(),
19817
- property: /* @__PURE__ */ string$1()
19818
- }),
19819
- operator: /* @__PURE__ */ string$1(),
19820
- property: /* @__PURE__ */ string$1()
19821
- })),
19822
- aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
19206
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
19207
+ aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
19208
+ aggregation: /* @__PURE__ */ looseObject({
19823
19209
  function: /* @__PURE__ */ string$1(),
19824
19210
  property: /* @__PURE__ */ string$1()
19825
- })),
19826
- attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
19827
- currency: /* @__PURE__ */ string$1(),
19828
- filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
19829
- conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
19830
- operator: /* @__PURE__ */ string$1(),
19831
- property: /* @__PURE__ */ string$1()
19832
- })),
19833
- groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
19834
- property: /* @__PURE__ */ string$1(),
19835
- show_empty: /* @__PURE__ */ boolean$1()
19836
- })),
19837
- limit: /* @__PURE__ */ number$2(),
19838
- ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
19839
- direction: /* @__PURE__ */ string$1(),
19840
- nulls: /* @__PURE__ */ string$1(),
19841
- property: /* @__PURE__ */ string$1()
19842
- })),
19843
- pagination: /* @__PURE__ */ looseObject({
19844
- page: /* @__PURE__ */ number$2(),
19845
- per_page: /* @__PURE__ */ number$2()
19846
- }),
19847
- period: /* @__PURE__ */ looseObject({
19848
- from: /* @__PURE__ */ string$1(),
19849
- preset: /* @__PURE__ */ string$1(),
19850
- to: /* @__PURE__ */ string$1()
19851
19211
  }),
19852
- transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
19853
- name: /* @__PURE__ */ string$1(),
19854
- parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
19855
- }))
19212
+ operator: /* @__PURE__ */ string$1(),
19213
+ property: /* @__PURE__ */ string$1()
19214
+ })),
19215
+ aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
19216
+ function: /* @__PURE__ */ string$1(),
19217
+ property: /* @__PURE__ */ string$1()
19218
+ })),
19219
+ attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
19220
+ filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
19221
+ conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
19222
+ operator: /* @__PURE__ */ string$1(),
19223
+ property: /* @__PURE__ */ string$1()
19224
+ })),
19225
+ groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
19226
+ property: /* @__PURE__ */ string$1(),
19227
+ show_empty: /* @__PURE__ */ boolean$1()
19228
+ })),
19229
+ limit: /* @__PURE__ */ number$2(),
19230
+ ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
19231
+ direction: /* @__PURE__ */ string$1(),
19232
+ nulls: /* @__PURE__ */ string$1(),
19233
+ property: /* @__PURE__ */ string$1()
19234
+ })),
19235
+ pagination: /* @__PURE__ */ looseObject({
19236
+ page: /* @__PURE__ */ number$2(),
19237
+ per_page: /* @__PURE__ */ number$2()
19856
19238
  }),
19857
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
19858
- }),
19239
+ period: /* @__PURE__ */ looseObject({
19240
+ from: /* @__PURE__ */ string$1(),
19241
+ preset: /* @__PURE__ */ string$1(),
19242
+ to: /* @__PURE__ */ string$1()
19243
+ }),
19244
+ transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
19245
+ name: /* @__PURE__ */ string$1(),
19246
+ parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
19247
+ }))
19248
+ }) }),
19859
19249
  execute: (input, { client }) => {
19860
19250
  const data = input;
19861
19251
  return client.runGeneratedRequest("getFlexqData", () => callGeneratedRequest(getFlexqData, [
@@ -19882,88 +19272,13 @@ const generatedFocusOperations = [
19882
19272
  interactive: "hidden"
19883
19273
  },
19884
19274
  mcp: { entityTool: "reports" },
19885
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
19886
- execute: (input, { client }) => {
19887
- const data = input;
19888
- return client.runGeneratedRequest("getFlexqDictionary", () => callGeneratedRequest(getFlexqDictionary, [
19889
- client.httpClient,
19890
- client.workspaceIdNumber,
19891
- data.payload ?? data.data ?? data,
19892
- void 0
19893
- ]));
19894
- }
19895
- },
19896
- {
19897
- id: "focus.reports.get-profitability",
19898
- family: "focus",
19899
- resource: "reports",
19900
- action: "get-profitability",
19901
- title: "Get Profitability Reports",
19902
- description: "Get Profitability Reports.",
19903
- safety: "read",
19904
- destructive: false,
19905
- cli: {
19906
- group: ["reports"],
19907
- command: "get-profitability",
19908
- interactive: "hidden"
19909
- },
19910
- mcp: { entityTool: "reports" },
19911
- inputSchema: /* @__PURE__ */ looseObject({
19912
- include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
19913
- payload: /* @__PURE__ */ looseObject({
19914
- aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
19915
- aggregation: /* @__PURE__ */ looseObject({
19916
- function: /* @__PURE__ */ string$1(),
19917
- property: /* @__PURE__ */ string$1()
19918
- }),
19919
- operator: /* @__PURE__ */ string$1(),
19920
- property: /* @__PURE__ */ string$1()
19921
- })),
19922
- aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
19923
- function: /* @__PURE__ */ string$1(),
19924
- property: /* @__PURE__ */ string$1()
19925
- })),
19926
- attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
19927
- currency: /* @__PURE__ */ string$1(),
19928
- filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
19929
- conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
19930
- operator: /* @__PURE__ */ string$1(),
19931
- property: /* @__PURE__ */ string$1()
19932
- })),
19933
- groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
19934
- property: /* @__PURE__ */ string$1(),
19935
- show_empty: /* @__PURE__ */ boolean$1()
19936
- })),
19937
- limit: /* @__PURE__ */ number$2(),
19938
- ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
19939
- direction: /* @__PURE__ */ string$1(),
19940
- nulls: /* @__PURE__ */ string$1(),
19941
- property: /* @__PURE__ */ string$1()
19942
- })),
19943
- pagination: /* @__PURE__ */ looseObject({
19944
- page: /* @__PURE__ */ number$2(),
19945
- per_page: /* @__PURE__ */ number$2()
19946
- }),
19947
- period: /* @__PURE__ */ looseObject({
19948
- from: /* @__PURE__ */ string$1(),
19949
- preset: /* @__PURE__ */ string$1(),
19950
- to: /* @__PURE__ */ string$1()
19951
- }),
19952
- transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
19953
- name: /* @__PURE__ */ string$1(),
19954
- parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
19955
- }))
19956
- }),
19957
- response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
19958
- }),
19275
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
19959
19276
  execute: (input, { client }) => {
19960
19277
  const data = input;
19961
- return client.runGeneratedRequest("getProfitabilityReport", () => callGeneratedRequest(getProfitabilityReport, [
19278
+ return client.runGeneratedRequest("getFlexqDictionary", () => callGeneratedRequest(getFlexqDictionary, [
19962
19279
  client.httpClient,
19963
19280
  client.workspaceIdNumber,
19964
19281
  data.payload ?? data.data ?? data,
19965
- data.response_format,
19966
- data.include_dicts,
19967
19282
  void 0
19968
19283
  ]));
19969
19284
  }
@@ -19997,7 +19312,6 @@ const generatedFocusOperations = [
19997
19312
  property: /* @__PURE__ */ string$1()
19998
19313
  })),
19999
19314
  attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
20000
- currency: /* @__PURE__ */ string$1(),
20001
19315
  filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
20002
19316
  conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
20003
19317
  operator: /* @__PURE__ */ string$1(),
@@ -20065,12 +19379,7 @@ const generatedFocusOperations = [
20065
19379
  "project.tasks",
20066
19380
  "project.board",
20067
19381
  "project.timeline",
20068
- "projects",
20069
- "reports.summary",
20070
- "reports.detailed",
20071
- "reports.utilization",
20072
- "reports.workload",
20073
- "reports.profitability"
19382
+ "projects"
20074
19383
  ]),
20075
19384
  icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
20076
19385
  }) }),
@@ -20457,28 +19766,6 @@ const generatedFocusOperations = [
20457
19766
  void 0
20458
19767
  ]))
20459
19768
  },
20460
- {
20461
- id: "focus.subscriptions.get-plans",
20462
- family: "focus",
20463
- resource: "subscriptions",
20464
- action: "get-plans",
20465
- title: "Get Plans Subscriptions",
20466
- description: "Get Plans Subscriptions.",
20467
- safety: "read",
20468
- destructive: false,
20469
- cli: {
20470
- group: ["subscriptions"],
20471
- command: "get-plans",
20472
- interactive: "hidden"
20473
- },
20474
- mcp: { entityTool: "subscriptions" },
20475
- inputSchema: /* @__PURE__ */ looseObject({}),
20476
- execute: (_input, { client }) => client.runGeneratedRequest("getSubscriptionPlans", () => callGeneratedRequest(getSubscriptionPlans, [
20477
- client.httpClient,
20478
- client.organizationId,
20479
- void 0
20480
- ]))
20481
- },
20482
19769
  {
20483
19770
  id: "focus.subscriptions.upsert-forced-trial",
20484
19771
  family: "focus",
@@ -21140,10 +20427,10 @@ const generatedFocusOperations = [
21140
20427
  },
21141
20428
  mcp: { entityTool: "tasks" },
21142
20429
  inputSchema: /* @__PURE__ */ looseObject({
21143
- calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21144
- date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21145
- date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21146
- hidden: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
20430
+ date_from: /* @__PURE__ */ unknown$1(),
20431
+ date_to: /* @__PURE__ */ unknown$1(),
20432
+ hidden: /* @__PURE__ */ unknown$1(),
20433
+ time_zone: /* @__PURE__ */ unknown$1()
21147
20434
  }),
21148
20435
  execute: (input, { client }) => {
21149
20436
  const data = input;
@@ -21183,7 +20470,7 @@ const generatedFocusOperations = [
21183
20470
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21184
20471
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21185
20472
  start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
21186
- tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
20473
+ tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
21187
20474
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21188
20475
  }),
21189
20476
  execute: (input, { client }) => {
@@ -21219,6 +20506,7 @@ const generatedFocusOperations = [
21219
20506
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21220
20507
  cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21221
20508
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
20509
+ creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21222
20510
  dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21223
20511
  dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21224
20512
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
@@ -21239,7 +20527,6 @@ const generatedFocusOperations = [
21239
20527
  parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21240
20528
  pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21241
20529
  priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21242
- private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21243
20530
  project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21244
20531
  recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21245
20532
  recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21249,7 +20536,7 @@ const generatedFocusOperations = [
21249
20536
  start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21250
20537
  state: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21251
20538
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21252
- tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
20539
+ tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
21253
20540
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21254
20541
  time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21255
20542
  time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -21292,7 +20579,7 @@ const generatedFocusOperations = [
21292
20579
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21293
20580
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21294
20581
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21295
- tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
20582
+ tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
21296
20583
  task_id: /* @__PURE__ */ number$2(),
21297
20584
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21298
20585
  }),
@@ -21333,7 +20620,7 @@ const generatedFocusOperations = [
21333
20620
  per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21334
20621
  source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21335
20622
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21336
- tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
20623
+ tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
21337
20624
  task_id: /* @__PURE__ */ number$2(),
21338
20625
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21339
20626
  }),
@@ -21366,7 +20653,6 @@ const generatedFocusOperations = [
21366
20653
  mcp: { entityTool: "tasks" },
21367
20654
  inputSchema: /* @__PURE__ */ looseObject({
21368
20655
  assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21369
- cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21370
20656
  client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21371
20657
  creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21372
20658
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
@@ -21375,9 +20661,10 @@ const generatedFocusOperations = [
21375
20661
  exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21376
20662
  group: /* @__PURE__ */ unknown$1(),
21377
20663
  group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21378
- include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21379
20664
  include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21380
20665
  include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
20666
+ include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
20667
+ include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21381
20668
  min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21382
20669
  name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21383
20670
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
@@ -21391,7 +20678,8 @@ const generatedFocusOperations = [
21391
20678
  start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21392
20679
  start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21393
20680
  status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21394
- tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
20681
+ tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
20682
+ tasks_per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21395
20683
  team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
21396
20684
  }),
21397
20685
  execute: (input, { client }) => {
@@ -21612,7 +20900,6 @@ const generatedFocusOperations = [
21612
20900
  custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
21613
20901
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
21614
20902
  end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
21615
- estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
21616
20903
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
21617
20904
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
21618
20905
  outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -21660,7 +20947,8 @@ const generatedFocusOperations = [
21660
20947
  mcp: { entityTool: "tasks" },
21661
20948
  inputSchema: /* @__PURE__ */ looseObject({
21662
20949
  date_from: /* @__PURE__ */ unknown$1(),
21663
- date_to: /* @__PURE__ */ unknown$1()
20950
+ date_to: /* @__PURE__ */ unknown$1(),
20951
+ timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
21664
20952
  }),
21665
20953
  execute: (input, { client }) => {
21666
20954
  const data = input;
@@ -21670,6 +20958,7 @@ const generatedFocusOperations = [
21670
20958
  client.workspaceIdNumber,
21671
20959
  data.date_from,
21672
20960
  data.date_to,
20961
+ data.timezone,
21673
20962
  void 0
21674
20963
  ]));
21675
20964
  }
@@ -22110,41 +21399,6 @@ const generatedFocusOperations = [
22110
21399
  return client.bulkDeleteTimeEntries(data.ids);
22111
21400
  }
22112
21401
  },
22113
- {
22114
- id: "focus.time-entries.bulk-edit",
22115
- family: "focus",
22116
- resource: "time-entries",
22117
- action: "bulk-edit",
22118
- title: "Bulk Edit Time Entries",
22119
- description: "Bulk Edit Time Entries.",
22120
- safety: "read",
22121
- destructive: false,
22122
- cli: {
22123
- group: ["time-entries", "bulk"],
22124
- command: "edit",
22125
- interactive: "available"
22126
- },
22127
- mcp: { entityTool: "time-entries" },
22128
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
22129
- changes: /* @__PURE__ */ looseObject({
22130
- billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22131
- duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22132
- reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22133
- type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
22134
- }),
22135
- ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
22136
- }) }),
22137
- execute: (input, { client }) => {
22138
- const data = input;
22139
- return client.runGeneratedRequest("bulkEditTimeEntriesWithOrg", () => callGeneratedRequest(bulkEditTimeEntriesWithOrg, [
22140
- client.httpClient,
22141
- client.organizationId,
22142
- client.workspaceIdNumber,
22143
- data.payload ?? data.data ?? data,
22144
- void 0
22145
- ]));
22146
- }
22147
- },
22148
21402
  {
22149
21403
  id: "focus.time-entries.bulk-patch",
22150
21404
  family: "focus",
@@ -22423,7 +21677,6 @@ const generatedFocusOperations = [
22423
21677
  archived: /* @__PURE__ */ unknown$1(),
22424
21678
  date_from: /* @__PURE__ */ unknown$1(),
22425
21679
  date_to: /* @__PURE__ */ unknown$1(),
22426
- expand_calendar_event: /* @__PURE__ */ unknown$1(),
22427
21680
  include_taskless: /* @__PURE__ */ unknown$1(),
22428
21681
  order_by: /* @__PURE__ */ unknown$1(),
22429
21682
  status_id: /* @__PURE__ */ number$2(),
@@ -22696,29 +21949,18 @@ const generatedFocusOperations = [
22696
21949
  cli: {
22697
21950
  group: ["time-entries", "tracking"],
22698
21951
  command: "start-tracking-from-description",
22699
- interactive: "hidden"
21952
+ interactive: "available"
22700
21953
  },
22701
21954
  mcp: { entityTool: "time-entries" },
22702
21955
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
22703
- extension_source: /* @__PURE__ */ string$1(),
21956
+ integration_source: /* @__PURE__ */ string$1(),
22704
21957
  name: /* @__PURE__ */ string$1(),
22705
21958
  billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22706
- create_project_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22707
- create_tags_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22708
- create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22709
- custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
22710
21959
  description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
22711
21960
  estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
22712
- extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
22713
21961
  notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
22714
21962
  private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
22715
21963
  project_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
22716
- resolution_strategy: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
22717
- "uri",
22718
- "name",
22719
- "name_project",
22720
- "name_project_tags"
22721
- ])),
22722
21964
  start: /* @__PURE__ */ optional$1(apiDateTimeString),
22723
21965
  tag_names: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ string$1()))
22724
21966
  }) }),
@@ -23283,12 +22525,12 @@ const generatedFocusOperations = [
23283
22525
  },
23284
22526
  mcp: { entityTool: "timesheets" },
23285
22527
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
22528
+ comment: /* @__PURE__ */ string$1(),
23286
22529
  keys: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
23287
22530
  setup_id: /* @__PURE__ */ number$2(),
23288
22531
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23289
22532
  user_account_id: /* @__PURE__ */ number$2()
23290
- })),
23291
- comment: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
22533
+ }))
23292
22534
  }) }),
23293
22535
  execute: (input, { client }) => {
23294
22536
  const data = input;
@@ -23301,37 +22543,6 @@ const generatedFocusOperations = [
23301
22543
  ]));
23302
22544
  }
23303
22545
  },
23304
- {
23305
- id: "focus.timesheets.bulk-withdraw",
23306
- family: "focus",
23307
- resource: "timesheets",
23308
- action: "bulk-withdraw",
23309
- title: "Bulk Withdraw Timesheets",
23310
- description: "Bulk Withdraw Timesheets.",
23311
- safety: "read",
23312
- destructive: false,
23313
- cli: {
23314
- group: ["timesheets", "bulk"],
23315
- command: "withdraw",
23316
- interactive: "available"
23317
- },
23318
- mcp: { entityTool: "timesheets" },
23319
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ keys: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
23320
- setup_id: /* @__PURE__ */ number$2(),
23321
- start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
23322
- user_account_id: /* @__PURE__ */ number$2()
23323
- })) }) }),
23324
- execute: (input, { client }) => {
23325
- const data = input;
23326
- return client.runGeneratedRequest("bulkWithdrawTimesheets", () => callGeneratedRequest(bulkWithdrawTimesheets, [
23327
- client.httpClient,
23328
- client.organizationId,
23329
- client.workspaceIdNumber,
23330
- data.payload ?? data.data ?? data,
23331
- void 0
23332
- ]));
23333
- }
23334
- },
23335
22546
  {
23336
22547
  id: "focus.timesheets.get",
23337
22548
  family: "focus",
@@ -23621,37 +22832,6 @@ const generatedFocusOperations = [
23621
22832
  ]));
23622
22833
  }
23623
22834
  },
23624
- {
23625
- id: "focus.timesheets.setups-add-timesheet-setup-member",
23626
- family: "focus",
23627
- resource: "timesheets",
23628
- action: "setups-add-timesheet-setup-member",
23629
- title: "Setups Add Timesheet Setup Member Timesheets",
23630
- description: "Setups Add Timesheet Setup Member Timesheets.",
23631
- safety: "read",
23632
- destructive: false,
23633
- cli: {
23634
- group: ["timesheets", "setups"],
23635
- command: "add-timesheet-setup-member",
23636
- interactive: "available"
23637
- },
23638
- mcp: { entityTool: "timesheets" },
23639
- inputSchema: /* @__PURE__ */ looseObject({
23640
- setup_id: /* @__PURE__ */ number$2(),
23641
- user_account_id: /* @__PURE__ */ number$2()
23642
- }),
23643
- execute: (input, { client }) => {
23644
- const data = input;
23645
- return client.runGeneratedRequest("addTimesheetSetupMember", () => callGeneratedRequest(addTimesheetSetupMember, [
23646
- client.httpClient,
23647
- client.organizationId,
23648
- client.workspaceIdNumber,
23649
- data.setup_id,
23650
- data.user_account_id,
23651
- void 0
23652
- ]));
23653
- }
23654
- },
23655
22835
  {
23656
22836
  id: "focus.timesheets.setups-create",
23657
22837
  family: "focus",
@@ -23717,37 +22897,6 @@ const generatedFocusOperations = [
23717
22897
  ]));
23718
22898
  }
23719
22899
  },
23720
- {
23721
- id: "focus.timesheets.setups-delete-member",
23722
- family: "focus",
23723
- resource: "timesheets",
23724
- action: "setups-delete-member",
23725
- title: "Setups Delete Member Timesheets",
23726
- description: "Setups Delete Member Timesheets.",
23727
- safety: "delete",
23728
- destructive: true,
23729
- cli: {
23730
- group: ["timesheets", "setups"],
23731
- command: "delete-member",
23732
- interactive: "default"
23733
- },
23734
- mcp: { entityTool: "timesheets" },
23735
- inputSchema: /* @__PURE__ */ looseObject({
23736
- setup_id: /* @__PURE__ */ number$2(),
23737
- user_account_id: /* @__PURE__ */ number$2()
23738
- }),
23739
- execute: (input, { client }) => {
23740
- const data = input;
23741
- return client.runGeneratedRequest("deleteTimesheetSetupMember", () => callGeneratedRequest(deleteTimesheetSetupMember, [
23742
- client.httpClient,
23743
- client.organizationId,
23744
- client.workspaceIdNumber,
23745
- data.setup_id,
23746
- data.user_account_id,
23747
- void 0
23748
- ]));
23749
- }
23750
- },
23751
22900
  {
23752
22901
  id: "focus.timesheets.setups-discontinue",
23753
22902
  family: "focus",
@@ -23779,39 +22928,6 @@ const generatedFocusOperations = [
23779
22928
  ]));
23780
22929
  }
23781
22930
  },
23782
- {
23783
- id: "focus.timesheets.setups-discontinue-timesheet-setup-member",
23784
- family: "focus",
23785
- resource: "timesheets",
23786
- action: "setups-discontinue-timesheet-setup-member",
23787
- title: "Setups Discontinue Timesheet Setup Member Timesheets",
23788
- description: "Setups Discontinue Timesheet Setup Member Timesheets.",
23789
- safety: "read",
23790
- destructive: false,
23791
- cli: {
23792
- group: ["timesheets", "setups"],
23793
- command: "discontinue-timesheet-setup-member",
23794
- interactive: "available"
23795
- },
23796
- mcp: { entityTool: "timesheets" },
23797
- inputSchema: /* @__PURE__ */ looseObject({
23798
- payload: /* @__PURE__ */ looseObject({ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())) }),
23799
- setup_id: /* @__PURE__ */ number$2(),
23800
- user_account_id: /* @__PURE__ */ number$2()
23801
- }),
23802
- execute: (input, { client }) => {
23803
- const data = input;
23804
- return client.runGeneratedRequest("discontinueTimesheetSetupMember", () => callGeneratedRequest(discontinueTimesheetSetupMember, [
23805
- client.httpClient,
23806
- client.organizationId,
23807
- client.workspaceIdNumber,
23808
- data.setup_id,
23809
- data.user_account_id,
23810
- data.payload ?? data.data ?? data,
23811
- void 0
23812
- ]));
23813
- }
23814
- },
23815
22931
  {
23816
22932
  id: "focus.timesheets.setups-get",
23817
22933
  family: "focus",
@@ -23878,13 +22994,10 @@ const generatedFocusOperations = [
23878
22994
  cli: {
23879
22995
  group: ["timesheets", "setups"],
23880
22996
  command: "get-members",
23881
- interactive: "hidden"
22997
+ interactive: "available"
23882
22998
  },
23883
22999
  mcp: { entityTool: "timesheets" },
23884
- inputSchema: /* @__PURE__ */ looseObject({
23885
- include_discontinued: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
23886
- setup_id: /* @__PURE__ */ number$2()
23887
- }),
23000
+ inputSchema: /* @__PURE__ */ looseObject({ setup_id: /* @__PURE__ */ number$2() }),
23888
23001
  execute: (input, { client }) => {
23889
23002
  const data = input;
23890
23003
  return client.runGeneratedRequest("getTimesheetSetupMembers", () => callGeneratedRequest(getTimesheetSetupMembers, [
@@ -23892,7 +23005,6 @@ const generatedFocusOperations = [
23892
23005
  client.organizationId,
23893
23006
  client.workspaceIdNumber,
23894
23007
  data.setup_id,
23895
- data,
23896
23008
  void 0
23897
23009
  ]));
23898
23010
  }
@@ -23928,37 +23040,6 @@ const generatedFocusOperations = [
23928
23040
  ]));
23929
23041
  }
23930
23042
  },
23931
- {
23932
- id: "focus.timesheets.setups-reactivate-timesheet-setup-member",
23933
- family: "focus",
23934
- resource: "timesheets",
23935
- action: "setups-reactivate-timesheet-setup-member",
23936
- title: "Setups Reactivate Timesheet Setup Member Timesheets",
23937
- description: "Setups Reactivate Timesheet Setup Member Timesheets.",
23938
- safety: "read",
23939
- destructive: false,
23940
- cli: {
23941
- group: ["timesheets", "setups"],
23942
- command: "reactivate-timesheet-setup-member",
23943
- interactive: "available"
23944
- },
23945
- mcp: { entityTool: "timesheets" },
23946
- inputSchema: /* @__PURE__ */ looseObject({
23947
- setup_id: /* @__PURE__ */ number$2(),
23948
- user_account_id: /* @__PURE__ */ number$2()
23949
- }),
23950
- execute: (input, { client }) => {
23951
- const data = input;
23952
- return client.runGeneratedRequest("reactivateTimesheetSetupMember", () => callGeneratedRequest(reactivateTimesheetSetupMember, [
23953
- client.httpClient,
23954
- client.organizationId,
23955
- client.workspaceIdNumber,
23956
- data.setup_id,
23957
- data.user_account_id,
23958
- void 0
23959
- ]));
23960
- }
23961
- },
23962
23043
  {
23963
23044
  id: "focus.timesheets.setups-update",
23964
23045
  family: "focus",
@@ -24119,7 +23200,7 @@ const generatedFocusOperations = [
24119
23200
  cli: {
24120
23201
  group: ["users", "settings"],
24121
23202
  command: "partial-update",
24122
- interactive: "hidden"
23203
+ interactive: "default"
24123
23204
  },
24124
23205
  mcp: { entityTool: "users" },
24125
23206
  inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
@@ -24155,7 +23236,6 @@ const generatedFocusOperations = [
24155
23236
  onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24156
23237
  onboarding_task_dragged: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24157
23238
  plan_tour_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24158
- platform_nudges: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24159
23239
  pomodoro_mode_auto_start_break: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24160
23240
  pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
24161
23241
  pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
@@ -24180,8 +23260,6 @@ const generatedFocusOperations = [
24180
23260
  time_tracking_mode_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24181
23261
  time_tracking_mode_fullscreen: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24182
23262
  tooltip_onboarding_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24183
- tos_ack_decoupled_licenses: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24184
- trial_ended_modal_seen: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
24185
23263
  welcome_modal_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24186
23264
  whats_new_may_2026_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
24187
23265
  whats_new_tasks_tour_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
@@ -24519,28 +23597,6 @@ const generatedFocusOperations = [
24519
23597
  void 0
24520
23598
  ]))
24521
23599
  },
24522
- {
24523
- id: "focus.workspace-settings.get-workspace-currency",
24524
- family: "focus",
24525
- resource: "workspace-settings",
24526
- action: "get-workspace-currency",
24527
- title: "Get Workspace Currency Workspace Settings",
24528
- description: "Get Workspace Currency Workspace Settings.",
24529
- safety: "read",
24530
- destructive: false,
24531
- cli: {
24532
- group: ["workspace-settings"],
24533
- command: "get-workspace-currency",
24534
- interactive: "hidden"
24535
- },
24536
- mcp: { entityTool: "workspace-settings" },
24537
- inputSchema: /* @__PURE__ */ looseObject({}),
24538
- execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceCurrency", () => callGeneratedRequest(getWorkspaceCurrency, [
24539
- client.httpClient,
24540
- client.workspaceIdNumber,
24541
- void 0
24542
- ]))
24543
- },
24544
23600
  {
24545
23601
  id: "focus.workspace-settings.list",
24546
23602
  family: "focus",
@@ -24588,32 +23644,6 @@ const generatedFocusOperations = [
24588
23644
  void 0
24589
23645
  ]));
24590
23646
  }
24591
- },
24592
- {
24593
- id: "focus.workspace-settings.update-workspace-currency",
24594
- family: "focus",
24595
- resource: "workspace-settings",
24596
- action: "update-workspace-currency",
24597
- title: "Update Workspace Currency Workspace Settings",
24598
- description: "Update Workspace Currency Workspace Settings.",
24599
- safety: "update",
24600
- destructive: false,
24601
- cli: {
24602
- group: ["workspace-settings"],
24603
- command: "update-workspace-currency",
24604
- interactive: "default"
24605
- },
24606
- mcp: { entityTool: "workspace-settings" },
24607
- inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ currency: /* @__PURE__ */ string$1() }) }),
24608
- execute: (input, { client }) => {
24609
- const data = input;
24610
- return client.runGeneratedRequest("updateWorkspaceCurrency", () => callGeneratedRequest(updateWorkspaceCurrency, [
24611
- client.httpClient,
24612
- client.workspaceIdNumber,
24613
- data.payload ?? data.data ?? data,
24614
- void 0
24615
- ]));
24616
- }
24617
23647
  }
24618
23648
  ];
24619
23649
  const focusOperationOverrides = {
@@ -26113,4 +25143,4 @@ Common commands:
26113
25143
  //#endregion
26114
25144
  export { CommanderError as n, createProgram as t };
26115
25145
 
26116
- //# sourceMappingURL=program-DdzpW3vh.js.map
25146
+ //# sourceMappingURL=program-CdCJcMAD.js.map