@togglhq/cli 1.11.145 → 1.11.147
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.
- package/build/cli.js +1 -1
- package/build/index.js +1 -1
- package/build/{program-CqcSajOt.js → program-CnoK4Njy.js} +1497 -637
- package/build/program.js +1 -1
- package/package.json +2 -2
|
@@ -5495,6 +5495,10 @@ function _joinExpects$1(values$1, separator) {
|
|
|
5495
5495
|
*/
|
|
5496
5496
|
const ISO_DATE_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])$/u;
|
|
5497
5497
|
/**
|
|
5498
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time regex.
|
|
5499
|
+
*/
|
|
5500
|
+
const ISO_DATE_TIME_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])[T ](?:0\d|1\d|2[0-3]):[0-5]\d$/u;
|
|
5501
|
+
/**
|
|
5498
5502
|
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp regex. Allows a
|
|
5499
5503
|
* space as a date/time separator and an optional space before the UTC offset.
|
|
5500
5504
|
*/
|
|
@@ -5548,6 +5552,22 @@ function isoDate$1(message$1) {
|
|
|
5548
5552
|
};
|
|
5549
5553
|
}
|
|
5550
5554
|
/* @__NO_SIDE_EFFECTS__ */
|
|
5555
|
+
function isoDateTime$1(message$1) {
|
|
5556
|
+
return {
|
|
5557
|
+
kind: "validation",
|
|
5558
|
+
type: "iso_date_time",
|
|
5559
|
+
reference: isoDateTime$1,
|
|
5560
|
+
async: false,
|
|
5561
|
+
expects: null,
|
|
5562
|
+
requirement: ISO_DATE_TIME_REGEX$1,
|
|
5563
|
+
message: message$1,
|
|
5564
|
+
"~run"(dataset, config$1) {
|
|
5565
|
+
if (dataset.typed && !this.requirement.test(dataset.value)) _addIssue$1(this, "date-time", dataset, config$1);
|
|
5566
|
+
return dataset;
|
|
5567
|
+
}
|
|
5568
|
+
};
|
|
5569
|
+
}
|
|
5570
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
5551
5571
|
function isoTimestamp(message$1) {
|
|
5552
5572
|
return {
|
|
5553
5573
|
kind: "validation",
|
|
@@ -7216,11 +7236,7 @@ function pipe(...pipe$1) {
|
|
|
7216
7236
|
}
|
|
7217
7237
|
const TaskAssignmentSchema = /* @__PURE__ */ object({
|
|
7218
7238
|
id: /* @__PURE__ */ number(),
|
|
7219
|
-
type: /* @__PURE__ */ picklist([
|
|
7220
|
-
"user",
|
|
7221
|
-
"ghost",
|
|
7222
|
-
"team"
|
|
7223
|
-
])
|
|
7239
|
+
type: /* @__PURE__ */ picklist(["user", "team"])
|
|
7224
7240
|
});
|
|
7225
7241
|
const ClientLiteSchema = /* @__PURE__ */ object({
|
|
7226
7242
|
id: /* @__PURE__ */ number(),
|
|
@@ -7262,7 +7278,8 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
7262
7278
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7263
7279
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
7264
7280
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7265
|
-
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
7281
|
+
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
7282
|
+
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("RecurringProjectID links an instance to its recurring template, so clients can lane an entry under a collapsed series.")))
|
|
7266
7283
|
});
|
|
7267
7284
|
const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
7268
7285
|
all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7272,6 +7289,7 @@ const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
|
7272
7289
|
extension_url: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7273
7290
|
external_id: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7274
7291
|
ical_uid: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7292
|
+
last_asserted_track_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("LastAssertedTrackProjectID is the Track planned_task.project_id that the Focus→Track mirror last successfully wrote for this task. Track→Focus uses it to distinguish a stale echo (Track still holds this value after a Focus-side project move) from an intentional Track-side project move. Internal mirror state, written by toggl_api focus_sync_worker; not user-facing."))),
|
|
7275
7293
|
meeting_link: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7276
7294
|
project_assignment: /* @__PURE__ */ optional(/* @__PURE__ */ object({
|
|
7277
7295
|
origin: /* @__PURE__ */ picklist([
|
|
@@ -7334,7 +7352,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7334
7352
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7335
7353
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
7336
7354
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7337
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7355
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
7338
7356
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7339
7357
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7340
7358
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -7342,7 +7360,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7342
7360
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7343
7361
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7344
7362
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7345
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7346
7363
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7347
7364
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7348
7365
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7352,6 +7369,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7352
7369
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7353
7370
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7354
7371
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7372
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7355
7373
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7356
7374
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7357
7375
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -7395,7 +7413,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7395
7413
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7396
7414
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
7397
7415
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7398
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7416
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
7399
7417
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7400
7418
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7401
7419
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -7403,7 +7421,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7403
7421
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7404
7422
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7405
7423
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7406
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7407
7424
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7408
7425
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7409
7426
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -7414,6 +7431,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7414
7431
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7415
7432
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7416
7433
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7434
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7417
7435
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7418
7436
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7419
7437
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -7572,7 +7590,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7572
7590
|
tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
|
|
7573
7591
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7574
7592
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7575
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
7593
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
7576
7594
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7577
7595
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7578
7596
|
});
|
|
@@ -7716,7 +7734,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7716
7734
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
7717
7735
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7718
7736
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7719
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
7737
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
7720
7738
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7721
7739
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7722
7740
|
})),
|
|
@@ -7728,9 +7746,15 @@ const TagSchema$1 = /* @__PURE__ */ object({
|
|
|
7728
7746
|
id: /* @__PURE__ */ number(),
|
|
7729
7747
|
name: /* @__PURE__ */ string(),
|
|
7730
7748
|
workspace_id: /* @__PURE__ */ number(),
|
|
7749
|
+
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()), /* @__PURE__ */ description("An archived tag disappears from the apply affordance but stays attached to and readable on every existing entity. Nothing cascades."))),
|
|
7731
7750
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7732
7751
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7733
|
-
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7752
|
+
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7753
|
+
usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
|
|
7754
|
+
projects: /* @__PURE__ */ number(),
|
|
7755
|
+
tasks: /* @__PURE__ */ number(),
|
|
7756
|
+
time_entries: /* @__PURE__ */ number()
|
|
7757
|
+
})), /* @__PURE__ */ description("Counts of the projects, tasks and time entries whose tag set directly contains this tag. Only present on the tags list, for callers with unrestricted project access.")))
|
|
7734
7758
|
});
|
|
7735
7759
|
const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
7736
7760
|
data: /* @__PURE__ */ array(TagSchema$1),
|
|
@@ -7741,8 +7765,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
7741
7765
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
7742
7766
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
7743
7767
|
account_locked_at: /* @__PURE__ */ string(),
|
|
7768
|
+
accounts_role_id: /* @__PURE__ */ number(),
|
|
7744
7769
|
active: /* @__PURE__ */ boolean(),
|
|
7745
|
-
admin: /* @__PURE__ */ boolean(),
|
|
7746
7770
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
7747
7771
|
created_at: /* @__PURE__ */ string(),
|
|
7748
7772
|
deleted_at: /* @__PURE__ */ string(),
|
|
@@ -7791,7 +7815,9 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
7791
7815
|
track_role_id: /* @__PURE__ */ number(),
|
|
7792
7816
|
work_role_id: /* @__PURE__ */ number(),
|
|
7793
7817
|
workspace_user_id: /* @__PURE__ */ number()
|
|
7794
|
-
}))
|
|
7818
|
+
})),
|
|
7819
|
+
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
7820
|
+
has_calendar_integration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("HasCalendarIntegration is true when the member has a calendar connected in Focus. The field is present only when the request sets include_calendar_integration to true and the calendar lookup succeeded. The field is absent when the lookup failed. Absent means unknown. It does not mean false. A member who connected a calendar in another product stays false here until they open the Focus calendar integrations page.")))
|
|
7795
7821
|
});
|
|
7796
7822
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7797
7823
|
const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
@@ -7868,8 +7894,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7868
7894
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7869
7895
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7870
7896
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7871
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7872
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7897
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
7873
7898
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7874
7899
|
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7875
7900
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -7885,6 +7910,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7885
7910
|
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7886
7911
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7887
7912
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7913
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7888
7914
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7889
7915
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7890
7916
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7894,22 +7920,23 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7894
7920
|
const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7895
7921
|
const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
7896
7922
|
cascade_duplicate_children: /* @__PURE__ */ boolean(),
|
|
7897
|
-
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
7923
|
+
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)),
|
|
7924
|
+
private: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Optional privacy override applied to every duplicated task (and cascaded children). When omitted, each task keeps the source task's private flag. Used when FE must force public (plan lacks private tasks) or private (user can only create private) instead of falling back to composite create.")))
|
|
7898
7925
|
});
|
|
7899
7926
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7900
7927
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7901
7928
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
7929
|
+
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7902
7930
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
7903
7931
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7904
7932
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
7905
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7933
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
7906
7934
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7907
7935
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
7908
7936
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7909
7937
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7910
7938
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7911
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7912
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7939
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
7913
7940
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7914
7941
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7915
7942
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7926,6 +7953,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7926
7953
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7927
7954
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7928
7955
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7956
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7929
7957
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7930
7958
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7931
7959
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7934,17 +7962,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7934
7962
|
});
|
|
7935
7963
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
7936
7964
|
id: /* @__PURE__ */ number(),
|
|
7965
|
+
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7937
7966
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
7938
7967
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7939
7968
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
7940
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7969
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
7941
7970
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7942
7971
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
7943
7972
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7944
7973
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7945
7974
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7946
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7947
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7975
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
7948
7976
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7949
7977
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7950
7978
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7961,6 +7989,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
7961
7989
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7962
7990
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7963
7991
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7992
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7964
7993
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7965
7994
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7966
7995
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9884,7 +9913,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9884
9913
|
})
|
|
9885
9914
|
}).json();
|
|
9886
9915
|
}
|
|
9887
|
-
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group } = {}, signal) {
|
|
9916
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
9888
9917
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9889
9918
|
signal,
|
|
9890
9919
|
searchParams: buildSearchParams$2({
|
|
@@ -9904,7 +9933,10 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
9904
9933
|
include_working_hours,
|
|
9905
9934
|
include_rates,
|
|
9906
9935
|
pinned_ids,
|
|
9907
|
-
has_group
|
|
9936
|
+
has_group,
|
|
9937
|
+
cf_filter,
|
|
9938
|
+
include_custom_fields,
|
|
9939
|
+
include_calendar_integration
|
|
9908
9940
|
}, true)
|
|
9909
9941
|
});
|
|
9910
9942
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -9923,7 +9955,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
9923
9955
|
}
|
|
9924
9956
|
//#endregion
|
|
9925
9957
|
//#region ../focus-queries/dist/tags/requests.ts
|
|
9926
|
-
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
|
|
9958
|
+
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
|
|
9927
9959
|
return await httpClient.get(`workspaces/${workspace_id}/tags`, {
|
|
9928
9960
|
signal,
|
|
9929
9961
|
searchParams: buildSearchParams$2({
|
|
@@ -9931,7 +9963,10 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
|
|
|
9931
9963
|
page,
|
|
9932
9964
|
per_page,
|
|
9933
9965
|
order_by,
|
|
9934
|
-
tag_id
|
|
9966
|
+
tag_id,
|
|
9967
|
+
include_usage,
|
|
9968
|
+
include_archived,
|
|
9969
|
+
archived
|
|
9935
9970
|
})
|
|
9936
9971
|
}).json();
|
|
9937
9972
|
}
|
|
@@ -9941,6 +9976,42 @@ async function createTag(httpClient, workspace_id, data, signal) {
|
|
|
9941
9976
|
json: data
|
|
9942
9977
|
}).json();
|
|
9943
9978
|
}
|
|
9979
|
+
async function bulkCreateTags(httpClient, workspace_id, data, signal) {
|
|
9980
|
+
return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
|
|
9981
|
+
signal,
|
|
9982
|
+
json: data
|
|
9983
|
+
}).json();
|
|
9984
|
+
}
|
|
9985
|
+
async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
|
|
9986
|
+
return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
|
|
9987
|
+
signal,
|
|
9988
|
+
searchParams: buildSearchParams$2({ ids })
|
|
9989
|
+
}).json();
|
|
9990
|
+
}
|
|
9991
|
+
async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
|
|
9992
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
|
|
9993
|
+
signal,
|
|
9994
|
+
json: data
|
|
9995
|
+
}).json();
|
|
9996
|
+
}
|
|
9997
|
+
async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
|
|
9998
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
|
|
9999
|
+
signal,
|
|
10000
|
+
json: data
|
|
10001
|
+
}).json();
|
|
10002
|
+
}
|
|
10003
|
+
async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
|
|
10004
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
|
|
10005
|
+
signal,
|
|
10006
|
+
json: data
|
|
10007
|
+
}).json();
|
|
10008
|
+
}
|
|
10009
|
+
async function mergeTags(httpClient, workspace_id, data, signal) {
|
|
10010
|
+
return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
|
|
10011
|
+
signal,
|
|
10012
|
+
json: data
|
|
10013
|
+
}).json();
|
|
10014
|
+
}
|
|
9944
10015
|
async function getTag(httpClient, workspace_id, tag_id, signal) {
|
|
9945
10016
|
return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
9946
10017
|
}
|
|
@@ -9953,12 +10024,18 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
|
|
|
9953
10024
|
async function deleteTag(httpClient, workspace_id, tag_id, signal) {
|
|
9954
10025
|
return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
9955
10026
|
}
|
|
10027
|
+
async function archiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
10028
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
|
|
10029
|
+
}
|
|
9956
10030
|
async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
9957
10031
|
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
|
|
9958
10032
|
}
|
|
10033
|
+
async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
10034
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
|
|
10035
|
+
}
|
|
9959
10036
|
//#endregion
|
|
9960
10037
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
9961
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, include_rates, include_rollover, include_idle_recurring_templates, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
10038
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
9962
10039
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
9963
10040
|
signal,
|
|
9964
10041
|
searchParams: buildSearchParams$2({
|
|
@@ -9976,9 +10053,11 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
9976
10053
|
assignee_user_id,
|
|
9977
10054
|
project_id,
|
|
9978
10055
|
user_id,
|
|
10056
|
+
only_me,
|
|
9979
10057
|
include_rates,
|
|
9980
10058
|
include_rollover,
|
|
9981
10059
|
include_idle_recurring_templates,
|
|
10060
|
+
collapse_recurring,
|
|
9982
10061
|
include_drafts,
|
|
9983
10062
|
include_locked_private,
|
|
9984
10063
|
start_date,
|
|
@@ -10209,7 +10288,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10209
10288
|
}
|
|
10210
10289
|
//#endregion
|
|
10211
10290
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10212
|
-
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates,
|
|
10291
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
|
|
10213
10292
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10214
10293
|
signal,
|
|
10215
10294
|
searchParams: buildSearchParams$2({
|
|
@@ -10257,10 +10336,8 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10257
10336
|
recurring_task_ids,
|
|
10258
10337
|
client_id,
|
|
10259
10338
|
include_rates,
|
|
10260
|
-
include_ghost_assignees,
|
|
10261
10339
|
include_assignees,
|
|
10262
10340
|
include_parent_matches,
|
|
10263
|
-
assignee_ghost_id,
|
|
10264
10341
|
disable_aggregations,
|
|
10265
10342
|
cf_filter
|
|
10266
10343
|
})
|
|
@@ -10346,7 +10423,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
|
|
|
10346
10423
|
})
|
|
10347
10424
|
}).json();
|
|
10348
10425
|
}
|
|
10349
|
-
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_user_id, tag_id,
|
|
10426
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
10350
10427
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10351
10428
|
signal,
|
|
10352
10429
|
searchParams: buildSearchParams$2({
|
|
@@ -10359,14 +10436,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10359
10436
|
dates_overlap_end,
|
|
10360
10437
|
recurring_task_ids,
|
|
10361
10438
|
team_id,
|
|
10439
|
+
assignee_team_id,
|
|
10362
10440
|
assignee_user_id,
|
|
10363
10441
|
tag_id,
|
|
10364
|
-
include_ghost_assignees,
|
|
10365
10442
|
include_assignees
|
|
10366
10443
|
})
|
|
10367
10444
|
}).json();
|
|
10368
10445
|
}
|
|
10369
|
-
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id,
|
|
10446
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
|
|
10370
10447
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10371
10448
|
signal,
|
|
10372
10449
|
searchParams: buildSearchParams$2({
|
|
@@ -10410,20 +10487,15 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10410
10487
|
recurring,
|
|
10411
10488
|
recurring_task_ids,
|
|
10412
10489
|
client_id,
|
|
10413
|
-
include_ghost_assignees,
|
|
10414
10490
|
include_assignees,
|
|
10415
|
-
assignee_ghost_id,
|
|
10416
10491
|
cf_filter
|
|
10417
10492
|
})
|
|
10418
10493
|
}).json();
|
|
10419
10494
|
}
|
|
10420
|
-
async function getTask(httpClient, organization_id, workspace_id, task_id, {
|
|
10495
|
+
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
|
|
10421
10496
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
10422
10497
|
signal,
|
|
10423
|
-
searchParams: buildSearchParams$2({
|
|
10424
|
-
include_ghost_assignees,
|
|
10425
|
-
include_assignees
|
|
10426
|
-
})
|
|
10498
|
+
searchParams: buildSearchParams$2({ include_assignees })
|
|
10427
10499
|
}).json();
|
|
10428
10500
|
}
|
|
10429
10501
|
async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
@@ -10454,7 +10526,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
|
|
|
10454
10526
|
searchParams: buildSearchParams$2({ from_recurring_task_id })
|
|
10455
10527
|
}).json();
|
|
10456
10528
|
}
|
|
10457
|
-
async function getTaskWithChildrenClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id,
|
|
10529
|
+
async function getTaskWithChildrenClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
10458
10530
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
|
|
10459
10531
|
signal,
|
|
10460
10532
|
searchParams: buildSearchParams$2({
|
|
@@ -10467,12 +10539,11 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10467
10539
|
team_id,
|
|
10468
10540
|
assignee_user_id,
|
|
10469
10541
|
tag_id,
|
|
10470
|
-
include_ghost_assignees,
|
|
10471
10542
|
include_assignees
|
|
10472
10543
|
})
|
|
10473
10544
|
}).json();
|
|
10474
10545
|
}
|
|
10475
|
-
async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id,
|
|
10546
|
+
async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
10476
10547
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10477
10548
|
signal,
|
|
10478
10549
|
searchParams: buildSearchParams$2({
|
|
@@ -10485,7 +10556,6 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
10485
10556
|
team_id,
|
|
10486
10557
|
assignee_user_id,
|
|
10487
10558
|
tag_id,
|
|
10488
|
-
include_ghost_assignees,
|
|
10489
10559
|
include_assignees
|
|
10490
10560
|
})
|
|
10491
10561
|
}).json();
|
|
@@ -10587,6 +10657,12 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10587
10657
|
})
|
|
10588
10658
|
}).json();
|
|
10589
10659
|
}
|
|
10660
|
+
async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
|
|
10661
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
|
|
10662
|
+
signal,
|
|
10663
|
+
json: data
|
|
10664
|
+
}).json();
|
|
10665
|
+
}
|
|
10590
10666
|
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
10591
10667
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
10592
10668
|
signal,
|
|
@@ -10723,7 +10799,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10723
10799
|
]))
|
|
10724
10800
|
});
|
|
10725
10801
|
//#endregion
|
|
10726
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10802
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.126_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_57f6871be3f2a3e9c51349284b275558/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10727
10803
|
async function getInvitations(httpClient, signal) {
|
|
10728
10804
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10729
10805
|
}
|
|
@@ -10740,7 +10816,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10740
10816
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10741
10817
|
}
|
|
10742
10818
|
//#endregion
|
|
10743
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10819
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.126_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_57f6871be3f2a3e9c51349284b275558/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10744
10820
|
function buildSearchParams(params, flattenArrays = false) {
|
|
10745
10821
|
const searchParams = new URLSearchParams();
|
|
10746
10822
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10752,7 +10828,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10752
10828
|
return searchParams;
|
|
10753
10829
|
}
|
|
10754
10830
|
//#endregion
|
|
10755
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10831
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.126_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_57f6871be3f2a3e9c51349284b275558/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10756
10832
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10757
10833
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10758
10834
|
}
|
|
@@ -10766,7 +10842,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10766
10842
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10767
10843
|
}
|
|
10768
10844
|
//#endregion
|
|
10769
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10845
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.126_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_57f6871be3f2a3e9c51349284b275558/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
10770
10846
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10771
10847
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10772
10848
|
}
|
|
@@ -10786,7 +10862,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10786
10862
|
});
|
|
10787
10863
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10788
10864
|
//#endregion
|
|
10789
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10865
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.126_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_57f6871be3f2a3e9c51349284b275558/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
10790
10866
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
10791
10867
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
10792
10868
|
signal,
|
|
@@ -10797,12 +10873,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
10797
10873
|
})).json();
|
|
10798
10874
|
}
|
|
10799
10875
|
//#endregion
|
|
10800
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10876
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.126_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_57f6871be3f2a3e9c51349284b275558/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
10801
10877
|
async function getStatus(httpClient, signal) {
|
|
10802
10878
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10803
10879
|
}
|
|
10804
10880
|
//#endregion
|
|
10805
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10881
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.126_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_57f6871be3f2a3e9c51349284b275558/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
10806
10882
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10807
10883
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
10808
10884
|
signal,
|
|
@@ -10830,7 +10906,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
10830
10906
|
return response.json();
|
|
10831
10907
|
}
|
|
10832
10908
|
//#endregion
|
|
10833
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10909
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.126_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_57f6871be3f2a3e9c51349284b275558/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
10834
10910
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
10835
10911
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
10836
10912
|
}
|
|
@@ -14407,6 +14483,21 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14407
14483
|
}
|
|
14408
14484
|
//#endregion
|
|
14409
14485
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14486
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14487
|
+
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14488
|
+
signal,
|
|
14489
|
+
searchParams: buildSearchParams$2({
|
|
14490
|
+
workspace_id,
|
|
14491
|
+
entity_type,
|
|
14492
|
+
entity_id,
|
|
14493
|
+
action,
|
|
14494
|
+
user_id,
|
|
14495
|
+
page_size,
|
|
14496
|
+
page_number,
|
|
14497
|
+
export: export_
|
|
14498
|
+
})
|
|
14499
|
+
}).json();
|
|
14500
|
+
}
|
|
14410
14501
|
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14411
14502
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14412
14503
|
signal,
|
|
@@ -14565,33 +14656,22 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14565
14656
|
}
|
|
14566
14657
|
//#endregion
|
|
14567
14658
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14568
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date,
|
|
14659
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
14569
14660
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14570
14661
|
signal,
|
|
14571
14662
|
searchParams: buildSearchParams$2({
|
|
14572
14663
|
user_id,
|
|
14573
14664
|
start_date,
|
|
14574
14665
|
end_date,
|
|
14575
|
-
ghost_id,
|
|
14576
14666
|
private: private_,
|
|
14577
14667
|
task_source,
|
|
14578
14668
|
unit,
|
|
14579
|
-
include_drafts
|
|
14669
|
+
include_drafts,
|
|
14670
|
+
include_task_estimates
|
|
14580
14671
|
})
|
|
14581
14672
|
}).json();
|
|
14582
14673
|
}
|
|
14583
14674
|
//#endregion
|
|
14584
|
-
//#region ../focus-queries/dist/capacity-settings/requests.ts
|
|
14585
|
-
async function getCapacitySettings(httpClient, workspace_id, signal) {
|
|
14586
|
-
return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
|
|
14587
|
-
}
|
|
14588
|
-
async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
|
|
14589
|
-
return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
|
|
14590
|
-
signal,
|
|
14591
|
-
json: data
|
|
14592
|
-
}).json();
|
|
14593
|
-
}
|
|
14594
|
-
//#endregion
|
|
14595
14675
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
14596
14676
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
14597
14677
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -14674,6 +14754,12 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
14674
14754
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
14675
14755
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
14676
14756
|
}
|
|
14757
|
+
async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
|
|
14758
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
|
|
14759
|
+
signal,
|
|
14760
|
+
json: data
|
|
14761
|
+
}).json();
|
|
14762
|
+
}
|
|
14677
14763
|
//#endregion
|
|
14678
14764
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
14679
14765
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -14899,7 +14985,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
14899
14985
|
}
|
|
14900
14986
|
//#endregion
|
|
14901
14987
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
14902
|
-
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, include_drafts, cf_filter } = {}, signal) {
|
|
14988
|
+
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, cf_filter } = {}, signal) {
|
|
14903
14989
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
14904
14990
|
signal,
|
|
14905
14991
|
searchParams: buildSearchParams$2({
|
|
@@ -14911,6 +14997,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
14911
14997
|
include_group_totals,
|
|
14912
14998
|
include_unassigned,
|
|
14913
14999
|
archived,
|
|
15000
|
+
completed,
|
|
14914
15001
|
private: private_,
|
|
14915
15002
|
name,
|
|
14916
15003
|
client_id,
|
|
@@ -14922,6 +15009,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
14922
15009
|
start_date,
|
|
14923
15010
|
end_date,
|
|
14924
15011
|
user_id,
|
|
15012
|
+
only_me,
|
|
14925
15013
|
include_drafts,
|
|
14926
15014
|
cf_filter
|
|
14927
15015
|
})
|
|
@@ -15037,10 +15125,14 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
15037
15125
|
}
|
|
15038
15126
|
//#endregion
|
|
15039
15127
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
15040
|
-
async function
|
|
15128
|
+
async function getForecastAvailability(httpClient, workspace_id, signal) {
|
|
15129
|
+
return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
|
|
15130
|
+
}
|
|
15131
|
+
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
|
|
15041
15132
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
15042
15133
|
signal,
|
|
15043
15134
|
json: data,
|
|
15135
|
+
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
15044
15136
|
searchParams: buildSearchParams$2({
|
|
15045
15137
|
response_format,
|
|
15046
15138
|
include_dicts
|
|
@@ -15064,12 +15156,36 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
15064
15156
|
json: data
|
|
15065
15157
|
}).json();
|
|
15066
15158
|
}
|
|
15067
|
-
async function
|
|
15159
|
+
async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
|
|
15160
|
+
return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
|
|
15161
|
+
signal,
|
|
15162
|
+
json: data
|
|
15163
|
+
}).json();
|
|
15164
|
+
}
|
|
15165
|
+
async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
|
|
15068
15166
|
return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
|
|
15167
|
+
signal,
|
|
15168
|
+
json: data,
|
|
15169
|
+
headers: { "X-Toggl-Report-Export": xTogglReportExport }
|
|
15170
|
+
}).json();
|
|
15171
|
+
}
|
|
15172
|
+
//#endregion
|
|
15173
|
+
//#region ../focus-queries/dist/reportschedules/requests.ts
|
|
15174
|
+
async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
|
|
15175
|
+
return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
|
|
15176
|
+
signal,
|
|
15177
|
+
json: data
|
|
15178
|
+
}).json();
|
|
15179
|
+
}
|
|
15180
|
+
async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
|
|
15181
|
+
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
|
|
15069
15182
|
signal,
|
|
15070
15183
|
json: data
|
|
15071
15184
|
}).json();
|
|
15072
15185
|
}
|
|
15186
|
+
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
15187
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
15188
|
+
}
|
|
15073
15189
|
//#endregion
|
|
15074
15190
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
15075
15191
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -15102,7 +15218,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15102
15218
|
}
|
|
15103
15219
|
//#endregion
|
|
15104
15220
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15105
|
-
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags }, signal) {
|
|
15221
|
+
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
15106
15222
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15107
15223
|
signal,
|
|
15108
15224
|
searchParams: buildSearchParams$2({
|
|
@@ -15114,11 +15230,56 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15114
15230
|
task_id,
|
|
15115
15231
|
include_drafts,
|
|
15116
15232
|
exclude_calendar_events,
|
|
15117
|
-
group_by_tags
|
|
15233
|
+
group_by_tags,
|
|
15234
|
+
only_me
|
|
15235
|
+
})
|
|
15236
|
+
}).json();
|
|
15237
|
+
}
|
|
15238
|
+
async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
|
|
15239
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
|
|
15240
|
+
signal,
|
|
15241
|
+
searchParams: buildSearchParams$2({
|
|
15242
|
+
keyword,
|
|
15243
|
+
per_group
|
|
15118
15244
|
})
|
|
15119
15245
|
}).json();
|
|
15120
15246
|
}
|
|
15121
15247
|
//#endregion
|
|
15248
|
+
//#region ../focus-queries/dist/sharedreports/requests.ts
|
|
15249
|
+
async function shareSavedView(httpClient, workspace_id, id, data, signal) {
|
|
15250
|
+
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
|
|
15251
|
+
signal,
|
|
15252
|
+
json: data
|
|
15253
|
+
}).json();
|
|
15254
|
+
}
|
|
15255
|
+
async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
|
|
15256
|
+
return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
|
|
15257
|
+
}
|
|
15258
|
+
async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
|
|
15259
|
+
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
|
|
15260
|
+
signal,
|
|
15261
|
+
json: data
|
|
15262
|
+
}).json();
|
|
15263
|
+
}
|
|
15264
|
+
async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
|
|
15265
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
|
|
15266
|
+
}
|
|
15267
|
+
async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
15268
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
|
|
15269
|
+
}
|
|
15270
|
+
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15271
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15272
|
+
}
|
|
15273
|
+
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15274
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15275
|
+
signal,
|
|
15276
|
+
json: data
|
|
15277
|
+
}).json();
|
|
15278
|
+
}
|
|
15279
|
+
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15280
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15281
|
+
}
|
|
15282
|
+
//#endregion
|
|
15122
15283
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15123
15284
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
15124
15285
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
|
|
@@ -15174,7 +15335,77 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15174
15335
|
}
|
|
15175
15336
|
//#endregion
|
|
15176
15337
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15177
|
-
async function
|
|
15338
|
+
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter }, signal) {
|
|
15339
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15340
|
+
signal,
|
|
15341
|
+
searchParams: buildSearchParams$2({
|
|
15342
|
+
project_id,
|
|
15343
|
+
source,
|
|
15344
|
+
priority,
|
|
15345
|
+
status_id,
|
|
15346
|
+
client_id,
|
|
15347
|
+
assignee_user_id,
|
|
15348
|
+
tag_id,
|
|
15349
|
+
team_id,
|
|
15350
|
+
user_tag_id,
|
|
15351
|
+
group_id,
|
|
15352
|
+
creator_id,
|
|
15353
|
+
name,
|
|
15354
|
+
start_date,
|
|
15355
|
+
end_date,
|
|
15356
|
+
start_date_from,
|
|
15357
|
+
start_date_to,
|
|
15358
|
+
end_date_from,
|
|
15359
|
+
end_date_to,
|
|
15360
|
+
private: private_,
|
|
15361
|
+
exclude_empty,
|
|
15362
|
+
include_unassigned,
|
|
15363
|
+
include_unmaterialized,
|
|
15364
|
+
collapse_recurring,
|
|
15365
|
+
include_assignees,
|
|
15366
|
+
min_days,
|
|
15367
|
+
include_drafts,
|
|
15368
|
+
cf_filter,
|
|
15369
|
+
user_cf_filter
|
|
15370
|
+
})
|
|
15371
|
+
}).json();
|
|
15372
|
+
}
|
|
15373
|
+
async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter } = {}, signal) {
|
|
15374
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15375
|
+
signal,
|
|
15376
|
+
searchParams: buildSearchParams$2({
|
|
15377
|
+
team_id,
|
|
15378
|
+
project_id,
|
|
15379
|
+
source,
|
|
15380
|
+
priority,
|
|
15381
|
+
status_id,
|
|
15382
|
+
client_id,
|
|
15383
|
+
assignee_user_id,
|
|
15384
|
+
tag_id,
|
|
15385
|
+
user_tag_id,
|
|
15386
|
+
group_id,
|
|
15387
|
+
creator_id,
|
|
15388
|
+
name,
|
|
15389
|
+
start_date,
|
|
15390
|
+
end_date,
|
|
15391
|
+
start_date_from,
|
|
15392
|
+
start_date_to,
|
|
15393
|
+
end_date_from,
|
|
15394
|
+
end_date_to,
|
|
15395
|
+
private: private_,
|
|
15396
|
+
exclude_empty,
|
|
15397
|
+
include_unassigned,
|
|
15398
|
+
include_unmaterialized,
|
|
15399
|
+
collapse_recurring,
|
|
15400
|
+
include_assignees,
|
|
15401
|
+
min_days,
|
|
15402
|
+
include_drafts,
|
|
15403
|
+
cf_filter,
|
|
15404
|
+
user_cf_filter
|
|
15405
|
+
})
|
|
15406
|
+
}).json();
|
|
15407
|
+
}
|
|
15408
|
+
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, page, per_page, order_by } = {}, signal) {
|
|
15178
15409
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15179
15410
|
signal,
|
|
15180
15411
|
searchParams: buildSearchParams$2({
|
|
@@ -15198,11 +15429,14 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15198
15429
|
end_date_to,
|
|
15199
15430
|
private: private_,
|
|
15200
15431
|
exclude_empty,
|
|
15201
|
-
|
|
15432
|
+
include_unassigned,
|
|
15433
|
+
include_unmaterialized,
|
|
15434
|
+
collapse_recurring,
|
|
15202
15435
|
include_assignees,
|
|
15203
15436
|
min_days,
|
|
15204
15437
|
include_drafts,
|
|
15205
15438
|
cf_filter,
|
|
15439
|
+
user_cf_filter,
|
|
15206
15440
|
page,
|
|
15207
15441
|
per_page,
|
|
15208
15442
|
order_by
|
|
@@ -15339,17 +15573,18 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
15339
15573
|
}).json();
|
|
15340
15574
|
}
|
|
15341
15575
|
//#endregion
|
|
15342
|
-
//#region ../focus-queries/dist/time-
|
|
15343
|
-
async function
|
|
15344
|
-
return await httpClient.
|
|
15345
|
-
signal,
|
|
15346
|
-
json: data
|
|
15347
|
-
}).json();
|
|
15348
|
-
}
|
|
15349
|
-
async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
|
|
15350
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
|
|
15576
|
+
//#region ../focus-queries/dist/time-entry-groups/requests.ts
|
|
15577
|
+
async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
|
|
15578
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
|
|
15351
15579
|
signal,
|
|
15352
|
-
|
|
15580
|
+
searchParams: buildSearchParams$2({
|
|
15581
|
+
start_date,
|
|
15582
|
+
end_date,
|
|
15583
|
+
user_id,
|
|
15584
|
+
page,
|
|
15585
|
+
per_page,
|
|
15586
|
+
order_by
|
|
15587
|
+
})
|
|
15353
15588
|
}).json();
|
|
15354
15589
|
}
|
|
15355
15590
|
//#endregion
|
|
@@ -15391,43 +15626,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
15391
15626
|
json: data
|
|
15392
15627
|
}).json();
|
|
15393
15628
|
}
|
|
15394
|
-
async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
|
|
15395
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
|
|
15396
|
-
signal,
|
|
15397
|
-
searchParams: buildSearchParams$2({
|
|
15398
|
-
ghost_ids,
|
|
15399
|
-
start_date,
|
|
15400
|
-
end_date
|
|
15401
|
-
})
|
|
15402
|
-
}).json();
|
|
15403
|
-
}
|
|
15404
|
-
async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
|
|
15405
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15406
|
-
signal,
|
|
15407
|
-
searchParams: buildSearchParams$2({
|
|
15408
|
-
from,
|
|
15409
|
-
to
|
|
15410
|
-
})
|
|
15411
|
-
}).json();
|
|
15412
|
-
}
|
|
15413
|
-
async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15414
|
-
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15415
|
-
signal,
|
|
15416
|
-
json: data
|
|
15417
|
-
}).json();
|
|
15418
|
-
}
|
|
15419
|
-
async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15420
|
-
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15421
|
-
signal,
|
|
15422
|
-
json: data
|
|
15423
|
-
}).json();
|
|
15424
|
-
}
|
|
15425
|
-
async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15426
|
-
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
15427
|
-
signal,
|
|
15428
|
-
json: data
|
|
15429
|
-
}).json();
|
|
15430
|
-
}
|
|
15431
15629
|
//#endregion
|
|
15432
15630
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
15433
15631
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -15620,27 +15818,6 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
15620
15818
|
json: data
|
|
15621
15819
|
}).json();
|
|
15622
15820
|
}
|
|
15623
|
-
async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
|
|
15624
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
|
|
15625
|
-
}
|
|
15626
|
-
async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15627
|
-
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15628
|
-
signal,
|
|
15629
|
-
json: data
|
|
15630
|
-
}).json();
|
|
15631
|
-
}
|
|
15632
|
-
async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15633
|
-
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15634
|
-
signal,
|
|
15635
|
-
json: data
|
|
15636
|
-
}).json();
|
|
15637
|
-
}
|
|
15638
|
-
async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
15639
|
-
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
15640
|
-
signal,
|
|
15641
|
-
json: data
|
|
15642
|
-
}).json();
|
|
15643
|
-
}
|
|
15644
15821
|
//#endregion
|
|
15645
15822
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
15646
15823
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -15657,6 +15834,9 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
15657
15834
|
json: data
|
|
15658
15835
|
}).json();
|
|
15659
15836
|
}
|
|
15837
|
+
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
15838
|
+
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
15839
|
+
}
|
|
15660
15840
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
15661
15841
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
15662
15842
|
}
|
|
@@ -15669,6 +15849,15 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
15669
15849
|
json: data
|
|
15670
15850
|
}).json();
|
|
15671
15851
|
}
|
|
15852
|
+
async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
|
|
15853
|
+
return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
|
|
15854
|
+
}
|
|
15855
|
+
async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
|
|
15856
|
+
return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
|
|
15857
|
+
signal,
|
|
15858
|
+
json: data
|
|
15859
|
+
}).json();
|
|
15860
|
+
}
|
|
15672
15861
|
//#endregion
|
|
15673
15862
|
//#region ../operations/build/index.public.js
|
|
15674
15863
|
function callGeneratedRequest(request, args) {
|
|
@@ -15804,17 +15993,17 @@ const generatedFocusOperations = [
|
|
|
15804
15993
|
]))
|
|
15805
15994
|
},
|
|
15806
15995
|
{
|
|
15807
|
-
id: "focus.audit-log.
|
|
15996
|
+
id: "focus.audit-log.get-organization",
|
|
15808
15997
|
family: "focus",
|
|
15809
15998
|
resource: "audit-log",
|
|
15810
|
-
action: "
|
|
15811
|
-
title: "
|
|
15812
|
-
description: "
|
|
15999
|
+
action: "get-organization",
|
|
16000
|
+
title: "Get Organization Audit Log",
|
|
16001
|
+
description: "Get Organization Audit Log.",
|
|
15813
16002
|
safety: "read",
|
|
15814
16003
|
destructive: false,
|
|
15815
16004
|
cli: {
|
|
15816
16005
|
group: ["audit-log"],
|
|
15817
|
-
command: "
|
|
16006
|
+
command: "get-organization",
|
|
15818
16007
|
interactive: "hidden"
|
|
15819
16008
|
},
|
|
15820
16009
|
mcp: { entityTool: "audit-log" },
|
|
@@ -15828,14 +16017,54 @@ const generatedFocusOperations = [
|
|
|
15828
16017
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15829
16018
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15830
16019
|
to: /* @__PURE__ */ string$1(),
|
|
15831
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16020
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16021
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
15832
16022
|
}),
|
|
15833
16023
|
execute: (input, { client }) => {
|
|
15834
16024
|
const data = input;
|
|
15835
|
-
return client.runGeneratedRequest("
|
|
16025
|
+
return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
|
|
15836
16026
|
client.httpClient,
|
|
15837
16027
|
client.organizationId,
|
|
15838
|
-
|
|
16028
|
+
data.from,
|
|
16029
|
+
data.to,
|
|
16030
|
+
data,
|
|
16031
|
+
void 0
|
|
16032
|
+
]));
|
|
16033
|
+
}
|
|
16034
|
+
},
|
|
16035
|
+
{
|
|
16036
|
+
id: "focus.audit-log.list",
|
|
16037
|
+
family: "focus",
|
|
16038
|
+
resource: "audit-log",
|
|
16039
|
+
action: "list",
|
|
16040
|
+
title: "List Audit Log",
|
|
16041
|
+
description: "List Audit Log.",
|
|
16042
|
+
safety: "read",
|
|
16043
|
+
destructive: false,
|
|
16044
|
+
cli: {
|
|
16045
|
+
group: ["audit-log"],
|
|
16046
|
+
command: "list",
|
|
16047
|
+
interactive: "hidden"
|
|
16048
|
+
},
|
|
16049
|
+
mcp: { entityTool: "audit-log" },
|
|
16050
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
16051
|
+
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16052
|
+
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16053
|
+
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16054
|
+
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16055
|
+
export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16056
|
+
from: /* @__PURE__ */ string$1(),
|
|
16057
|
+
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16058
|
+
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16059
|
+
to: /* @__PURE__ */ string$1(),
|
|
16060
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16061
|
+
}),
|
|
16062
|
+
execute: (input, { client }) => {
|
|
16063
|
+
const data = input;
|
|
16064
|
+
return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
|
|
16065
|
+
client.httpClient,
|
|
16066
|
+
client.organizationId,
|
|
16067
|
+
client.workspaceIdNumber,
|
|
15839
16068
|
data.from,
|
|
15840
16069
|
data.to,
|
|
15841
16070
|
data,
|
|
@@ -15860,9 +16089,9 @@ const generatedFocusOperations = [
|
|
|
15860
16089
|
mcp: { entityTool: "capacities" },
|
|
15861
16090
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
15862
16091
|
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
15863
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
15864
16092
|
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
15865
16093
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
16094
|
+
include_task_estimates: /* @__PURE__ */ unknown$1(),
|
|
15866
16095
|
private_: /* @__PURE__ */ unknown$1(),
|
|
15867
16096
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
15868
16097
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
@@ -15881,54 +16110,6 @@ const generatedFocusOperations = [
|
|
|
15881
16110
|
]));
|
|
15882
16111
|
}
|
|
15883
16112
|
},
|
|
15884
|
-
{
|
|
15885
|
-
id: "focus.capacities.settings-list",
|
|
15886
|
-
family: "focus",
|
|
15887
|
-
resource: "capacities",
|
|
15888
|
-
action: "settings-list",
|
|
15889
|
-
title: "Settings List Capacities",
|
|
15890
|
-
description: "Settings List Capacities.",
|
|
15891
|
-
safety: "read",
|
|
15892
|
-
destructive: false,
|
|
15893
|
-
cli: {
|
|
15894
|
-
group: ["capacities", "settings"],
|
|
15895
|
-
command: "list",
|
|
15896
|
-
interactive: "hidden"
|
|
15897
|
-
},
|
|
15898
|
-
mcp: { entityTool: "capacities" },
|
|
15899
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
15900
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
|
|
15901
|
-
client.httpClient,
|
|
15902
|
-
client.workspaceIdNumber,
|
|
15903
|
-
void 0
|
|
15904
|
-
]))
|
|
15905
|
-
},
|
|
15906
|
-
{
|
|
15907
|
-
id: "focus.capacities.settings-update",
|
|
15908
|
-
family: "focus",
|
|
15909
|
-
resource: "capacities",
|
|
15910
|
-
action: "settings-update",
|
|
15911
|
-
title: "Settings Update Capacities",
|
|
15912
|
-
description: "Settings Update Capacities.",
|
|
15913
|
-
safety: "update",
|
|
15914
|
-
destructive: false,
|
|
15915
|
-
cli: {
|
|
15916
|
-
group: ["capacities", "settings"],
|
|
15917
|
-
command: "update",
|
|
15918
|
-
interactive: "default"
|
|
15919
|
-
},
|
|
15920
|
-
mcp: { entityTool: "capacities" },
|
|
15921
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
|
|
15922
|
-
execute: (input, { client }) => {
|
|
15923
|
-
const data = input;
|
|
15924
|
-
return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
|
|
15925
|
-
client.httpClient,
|
|
15926
|
-
client.workspaceIdNumber,
|
|
15927
|
-
data.payload ?? data.data ?? data,
|
|
15928
|
-
void 0
|
|
15929
|
-
]));
|
|
15930
|
-
}
|
|
15931
|
-
},
|
|
15932
16113
|
{
|
|
15933
16114
|
id: "focus.clients.create",
|
|
15934
16115
|
family: "focus",
|
|
@@ -16123,8 +16304,7 @@ const generatedFocusOperations = [
|
|
|
16123
16304
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
16124
16305
|
start_at: apiDateTimeString,
|
|
16125
16306
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16126
|
-
})))
|
|
16127
|
-
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16307
|
+
})))
|
|
16128
16308
|
}) }),
|
|
16129
16309
|
execute: (input, { client }) => {
|
|
16130
16310
|
const data = input;
|
|
@@ -16179,6 +16359,7 @@ const generatedFocusOperations = [
|
|
|
16179
16359
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16180
16360
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16181
16361
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16362
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16182
16363
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16183
16364
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16184
16365
|
}),
|
|
@@ -16211,6 +16392,7 @@ const generatedFocusOperations = [
|
|
|
16211
16392
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
16212
16393
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16213
16394
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16395
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16214
16396
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16215
16397
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16216
16398
|
}))),
|
|
@@ -16266,7 +16448,11 @@ const generatedFocusOperations = [
|
|
|
16266
16448
|
},
|
|
16267
16449
|
mcp: { entityTool: "custom-fields" },
|
|
16268
16450
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16269
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
16451
|
+
entity_type: /* @__PURE__ */ picklist$1([
|
|
16452
|
+
"project",
|
|
16453
|
+
"task",
|
|
16454
|
+
"user"
|
|
16455
|
+
]),
|
|
16270
16456
|
field_type: /* @__PURE__ */ picklist$1([
|
|
16271
16457
|
"select",
|
|
16272
16458
|
"multi_select",
|
|
@@ -16599,7 +16785,11 @@ const generatedFocusOperations = [
|
|
|
16599
16785
|
},
|
|
16600
16786
|
mcp: { entityTool: "custom-fields" },
|
|
16601
16787
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16602
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
16788
|
+
entity_type: /* @__PURE__ */ picklist$1([
|
|
16789
|
+
"project",
|
|
16790
|
+
"task",
|
|
16791
|
+
"user"
|
|
16792
|
+
]),
|
|
16603
16793
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
16604
16794
|
}) }),
|
|
16605
16795
|
execute: (input, { client }) => {
|
|
@@ -16613,6 +16803,37 @@ const generatedFocusOperations = [
|
|
|
16613
16803
|
]));
|
|
16614
16804
|
}
|
|
16615
16805
|
},
|
|
16806
|
+
{
|
|
16807
|
+
id: "focus.custom-fields.update-user-custom-field-values",
|
|
16808
|
+
family: "focus",
|
|
16809
|
+
resource: "custom-fields",
|
|
16810
|
+
action: "update-user-custom-field-values",
|
|
16811
|
+
title: "Update User Custom Field Values Custom Fields",
|
|
16812
|
+
description: "Update User Custom Field Values Custom Fields.",
|
|
16813
|
+
safety: "update",
|
|
16814
|
+
destructive: false,
|
|
16815
|
+
cli: {
|
|
16816
|
+
group: ["custom-fields"],
|
|
16817
|
+
command: "update-user-custom-field-values",
|
|
16818
|
+
interactive: "hidden"
|
|
16819
|
+
},
|
|
16820
|
+
mcp: { entityTool: "custom-fields" },
|
|
16821
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
16822
|
+
payload: /* @__PURE__ */ unknown$1(),
|
|
16823
|
+
user_id: /* @__PURE__ */ number$2()
|
|
16824
|
+
}),
|
|
16825
|
+
execute: (input, { client }) => {
|
|
16826
|
+
const data = input;
|
|
16827
|
+
return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
|
|
16828
|
+
client.httpClient,
|
|
16829
|
+
client.organizationId,
|
|
16830
|
+
client.workspaceIdNumber,
|
|
16831
|
+
data.user_id,
|
|
16832
|
+
data.payload ?? data.data ?? data,
|
|
16833
|
+
void 0
|
|
16834
|
+
]));
|
|
16835
|
+
}
|
|
16836
|
+
},
|
|
16616
16837
|
{
|
|
16617
16838
|
id: "focus.goals.create",
|
|
16618
16839
|
family: "focus",
|
|
@@ -16832,10 +17053,22 @@ const generatedFocusOperations = [
|
|
|
16832
17053
|
goal_id: /* @__PURE__ */ number$2(),
|
|
16833
17054
|
payload: /* @__PURE__ */ looseObject({
|
|
16834
17055
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17056
|
+
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16835
17057
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16836
17058
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16837
17059
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16838
|
-
|
|
17060
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17061
|
+
recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
17062
|
+
"daily",
|
|
17063
|
+
"weekly",
|
|
17064
|
+
"daily_workdays",
|
|
17065
|
+
"monthly"
|
|
17066
|
+
])),
|
|
17067
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17068
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17069
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17070
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17071
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16839
17072
|
})
|
|
16840
17073
|
}),
|
|
16841
17074
|
execute: (input, { client }) => {
|
|
@@ -18168,6 +18401,7 @@ const generatedFocusOperations = [
|
|
|
18168
18401
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18169
18402
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18170
18403
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18404
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18171
18405
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18172
18406
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18173
18407
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -18175,6 +18409,7 @@ const generatedFocusOperations = [
|
|
|
18175
18409
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18176
18410
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18177
18411
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18412
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18178
18413
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18179
18414
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18180
18415
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -20359,7 +20594,10 @@ const generatedFocusOperations = [
|
|
|
20359
20594
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20360
20595
|
name: /* @__PURE__ */ string$1(),
|
|
20361
20596
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20362
|
-
}))
|
|
20597
|
+
})),
|
|
20598
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20599
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20600
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20363
20601
|
}),
|
|
20364
20602
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
20365
20603
|
}),
|
|
@@ -20400,6 +20638,28 @@ const generatedFocusOperations = [
|
|
|
20400
20638
|
]));
|
|
20401
20639
|
}
|
|
20402
20640
|
},
|
|
20641
|
+
{
|
|
20642
|
+
id: "focus.reports.get-forecast-availability",
|
|
20643
|
+
family: "focus",
|
|
20644
|
+
resource: "reports",
|
|
20645
|
+
action: "get-forecast-availability",
|
|
20646
|
+
title: "Get Forecast Availability Reports",
|
|
20647
|
+
description: "Get Forecast Availability Reports.",
|
|
20648
|
+
safety: "read",
|
|
20649
|
+
destructive: false,
|
|
20650
|
+
cli: {
|
|
20651
|
+
group: ["reports"],
|
|
20652
|
+
command: "get-forecast-availability",
|
|
20653
|
+
interactive: "hidden"
|
|
20654
|
+
},
|
|
20655
|
+
mcp: { entityTool: "reports" },
|
|
20656
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
20657
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
|
|
20658
|
+
client.httpClient,
|
|
20659
|
+
client.workspaceIdNumber,
|
|
20660
|
+
void 0
|
|
20661
|
+
]))
|
|
20662
|
+
},
|
|
20403
20663
|
{
|
|
20404
20664
|
id: "focus.reports.get-profitability",
|
|
20405
20665
|
family: "focus",
|
|
@@ -20459,9 +20719,17 @@ const generatedFocusOperations = [
|
|
|
20459
20719
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20460
20720
|
name: /* @__PURE__ */ string$1(),
|
|
20461
20721
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20462
|
-
}))
|
|
20722
|
+
})),
|
|
20723
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20724
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20725
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20463
20726
|
}),
|
|
20464
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
20727
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
20728
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
20729
|
+
"csv",
|
|
20730
|
+
"xlsx",
|
|
20731
|
+
"pdf"
|
|
20732
|
+
]))
|
|
20465
20733
|
}),
|
|
20466
20734
|
execute: (input, { client }) => {
|
|
20467
20735
|
const data = input;
|
|
@@ -20471,22 +20739,23 @@ const generatedFocusOperations = [
|
|
|
20471
20739
|
data.payload ?? data.data ?? data,
|
|
20472
20740
|
data.response_format,
|
|
20473
20741
|
data.include_dicts,
|
|
20742
|
+
data.xTogglReportExport,
|
|
20474
20743
|
void 0
|
|
20475
20744
|
]));
|
|
20476
20745
|
}
|
|
20477
20746
|
},
|
|
20478
20747
|
{
|
|
20479
|
-
id: "focus.reports.get-
|
|
20748
|
+
id: "focus.reports.get-time-accounting",
|
|
20480
20749
|
family: "focus",
|
|
20481
20750
|
resource: "reports",
|
|
20482
|
-
action: "get-
|
|
20483
|
-
title: "Get
|
|
20484
|
-
description: "Get
|
|
20751
|
+
action: "get-time-accounting",
|
|
20752
|
+
title: "Get Time Accounting Reports",
|
|
20753
|
+
description: "Get Time Accounting Reports.",
|
|
20485
20754
|
safety: "update",
|
|
20486
20755
|
destructive: false,
|
|
20487
20756
|
cli: {
|
|
20488
20757
|
group: ["reports"],
|
|
20489
|
-
command: "get-
|
|
20758
|
+
command: "get-time-accounting",
|
|
20490
20759
|
interactive: "hidden"
|
|
20491
20760
|
},
|
|
20492
20761
|
mcp: { entityTool: "reports" },
|
|
@@ -20532,11 +20801,14 @@ const generatedFocusOperations = [
|
|
|
20532
20801
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20533
20802
|
name: /* @__PURE__ */ string$1(),
|
|
20534
20803
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20535
|
-
}))
|
|
20804
|
+
})),
|
|
20805
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20806
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20807
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20536
20808
|
}) }),
|
|
20537
20809
|
execute: (input, { client }) => {
|
|
20538
20810
|
const data = input;
|
|
20539
|
-
return client.runGeneratedRequest("
|
|
20811
|
+
return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
|
|
20540
20812
|
client.httpClient,
|
|
20541
20813
|
client.workspaceIdNumber,
|
|
20542
20814
|
data.payload ?? data.data ?? data,
|
|
@@ -20545,71 +20817,104 @@ const generatedFocusOperations = [
|
|
|
20545
20817
|
}
|
|
20546
20818
|
},
|
|
20547
20819
|
{
|
|
20548
|
-
id: "focus.
|
|
20820
|
+
id: "focus.reports.get-workload",
|
|
20549
20821
|
family: "focus",
|
|
20550
|
-
resource: "
|
|
20551
|
-
action: "
|
|
20552
|
-
title: "
|
|
20553
|
-
description: "
|
|
20554
|
-
safety: "
|
|
20822
|
+
resource: "reports",
|
|
20823
|
+
action: "get-workload",
|
|
20824
|
+
title: "Get Workload Reports",
|
|
20825
|
+
description: "Get Workload Reports.",
|
|
20826
|
+
safety: "update",
|
|
20555
20827
|
destructive: false,
|
|
20556
20828
|
cli: {
|
|
20557
|
-
group: ["
|
|
20558
|
-
command: "
|
|
20829
|
+
group: ["reports"],
|
|
20830
|
+
command: "get-workload",
|
|
20559
20831
|
interactive: "hidden"
|
|
20560
20832
|
},
|
|
20561
|
-
mcp: { entityTool: "
|
|
20562
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
20563
|
-
|
|
20564
|
-
|
|
20565
|
-
|
|
20566
|
-
|
|
20567
|
-
|
|
20568
|
-
|
|
20569
|
-
|
|
20570
|
-
|
|
20571
|
-
|
|
20572
|
-
|
|
20573
|
-
|
|
20574
|
-
|
|
20575
|
-
|
|
20576
|
-
|
|
20577
|
-
|
|
20578
|
-
|
|
20579
|
-
|
|
20580
|
-
|
|
20581
|
-
|
|
20582
|
-
|
|
20583
|
-
|
|
20833
|
+
mcp: { entityTool: "reports" },
|
|
20834
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
20835
|
+
payload: /* @__PURE__ */ looseObject({
|
|
20836
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20837
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
20838
|
+
function: /* @__PURE__ */ string$1(),
|
|
20839
|
+
property: /* @__PURE__ */ string$1()
|
|
20840
|
+
}),
|
|
20841
|
+
operator: /* @__PURE__ */ string$1(),
|
|
20842
|
+
property: /* @__PURE__ */ string$1()
|
|
20843
|
+
})),
|
|
20844
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20845
|
+
function: /* @__PURE__ */ string$1(),
|
|
20846
|
+
property: /* @__PURE__ */ string$1()
|
|
20847
|
+
})),
|
|
20848
|
+
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
20849
|
+
currency: /* @__PURE__ */ string$1(),
|
|
20850
|
+
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20851
|
+
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
20852
|
+
operator: /* @__PURE__ */ string$1(),
|
|
20853
|
+
property: /* @__PURE__ */ string$1()
|
|
20854
|
+
})),
|
|
20855
|
+
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20856
|
+
property: /* @__PURE__ */ string$1(),
|
|
20857
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
20858
|
+
})),
|
|
20859
|
+
limit: /* @__PURE__ */ number$2(),
|
|
20860
|
+
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20861
|
+
direction: /* @__PURE__ */ string$1(),
|
|
20862
|
+
nulls: /* @__PURE__ */ string$1(),
|
|
20863
|
+
property: /* @__PURE__ */ string$1()
|
|
20864
|
+
})),
|
|
20865
|
+
pagination: /* @__PURE__ */ looseObject({
|
|
20866
|
+
page: /* @__PURE__ */ number$2(),
|
|
20867
|
+
per_page: /* @__PURE__ */ number$2()
|
|
20868
|
+
}),
|
|
20869
|
+
period: /* @__PURE__ */ looseObject({
|
|
20870
|
+
from: /* @__PURE__ */ string$1(),
|
|
20871
|
+
preset: /* @__PURE__ */ string$1(),
|
|
20872
|
+
to: /* @__PURE__ */ string$1()
|
|
20873
|
+
}),
|
|
20874
|
+
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20875
|
+
name: /* @__PURE__ */ string$1(),
|
|
20876
|
+
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20877
|
+
})),
|
|
20878
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
20879
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20880
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20881
|
+
}),
|
|
20882
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
20883
|
+
"csv",
|
|
20884
|
+
"xlsx",
|
|
20885
|
+
"pdf"
|
|
20886
|
+
]))
|
|
20887
|
+
}),
|
|
20584
20888
|
execute: (input, { client }) => {
|
|
20585
20889
|
const data = input;
|
|
20586
|
-
return client.runGeneratedRequest("
|
|
20890
|
+
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
20587
20891
|
client.httpClient,
|
|
20588
20892
|
client.workspaceIdNumber,
|
|
20589
20893
|
data.payload ?? data.data ?? data,
|
|
20894
|
+
data.xTogglReportExport,
|
|
20590
20895
|
void 0
|
|
20591
20896
|
]));
|
|
20592
20897
|
}
|
|
20593
20898
|
},
|
|
20594
20899
|
{
|
|
20595
|
-
id: "focus.
|
|
20900
|
+
id: "focus.reportschedules.delete-shared-report-schedule",
|
|
20596
20901
|
family: "focus",
|
|
20597
|
-
resource: "
|
|
20598
|
-
action: "delete",
|
|
20599
|
-
title: "Delete
|
|
20600
|
-
description: "Delete
|
|
20902
|
+
resource: "reportschedules",
|
|
20903
|
+
action: "delete-shared-report-schedule",
|
|
20904
|
+
title: "Delete Shared Report Schedule Reportschedules",
|
|
20905
|
+
description: "Delete Shared Report Schedule Reportschedules.",
|
|
20601
20906
|
safety: "delete",
|
|
20602
20907
|
destructive: true,
|
|
20603
20908
|
cli: {
|
|
20604
|
-
group: ["
|
|
20605
|
-
command: "delete",
|
|
20909
|
+
group: ["reportschedules"],
|
|
20910
|
+
command: "delete-shared-report-schedule",
|
|
20606
20911
|
interactive: "default"
|
|
20607
20912
|
},
|
|
20608
|
-
mcp: { entityTool: "
|
|
20609
|
-
inputSchema:
|
|
20913
|
+
mcp: { entityTool: "reportschedules" },
|
|
20914
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
20610
20915
|
execute: (input, { client }) => {
|
|
20611
20916
|
const data = input;
|
|
20612
|
-
return client.runGeneratedRequest("
|
|
20917
|
+
return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
|
|
20613
20918
|
client.httpClient,
|
|
20614
20919
|
client.workspaceIdNumber,
|
|
20615
20920
|
data.id,
|
|
@@ -20618,35 +20923,192 @@ const generatedFocusOperations = [
|
|
|
20618
20923
|
}
|
|
20619
20924
|
},
|
|
20620
20925
|
{
|
|
20621
|
-
id: "focus.saved-
|
|
20926
|
+
id: "focus.reportschedules.upsert-saved-view-schedule",
|
|
20622
20927
|
family: "focus",
|
|
20623
|
-
resource: "
|
|
20624
|
-
action: "
|
|
20625
|
-
title: "
|
|
20626
|
-
description: "
|
|
20627
|
-
safety: "
|
|
20928
|
+
resource: "reportschedules",
|
|
20929
|
+
action: "upsert-saved-view-schedule",
|
|
20930
|
+
title: "Upsert Saved View Schedule Reportschedules",
|
|
20931
|
+
description: "Upsert Saved View Schedule Reportschedules.",
|
|
20932
|
+
safety: "update",
|
|
20628
20933
|
destructive: false,
|
|
20629
20934
|
cli: {
|
|
20630
|
-
group: ["
|
|
20631
|
-
command: "
|
|
20632
|
-
interactive: "
|
|
20935
|
+
group: ["reportschedules"],
|
|
20936
|
+
command: "upsert-saved-view-schedule",
|
|
20937
|
+
interactive: "default"
|
|
20633
20938
|
},
|
|
20634
|
-
mcp: { entityTool: "
|
|
20635
|
-
inputSchema:
|
|
20939
|
+
mcp: { entityTool: "reportschedules" },
|
|
20940
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
20941
|
+
id: /* @__PURE__ */ number$2(),
|
|
20942
|
+
payload: /* @__PURE__ */ looseObject({
|
|
20943
|
+
cadence: /* @__PURE__ */ picklist$1([
|
|
20944
|
+
"daily",
|
|
20945
|
+
"weekly",
|
|
20946
|
+
"monthly"
|
|
20947
|
+
]),
|
|
20948
|
+
time: /* @__PURE__ */ string$1(),
|
|
20949
|
+
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
20950
|
+
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20951
|
+
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20952
|
+
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
20953
|
+
})
|
|
20954
|
+
}),
|
|
20636
20955
|
execute: (input, { client }) => {
|
|
20637
20956
|
const data = input;
|
|
20638
|
-
return client.runGeneratedRequest("
|
|
20957
|
+
return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
|
|
20639
20958
|
client.httpClient,
|
|
20640
20959
|
client.workspaceIdNumber,
|
|
20641
20960
|
data.id,
|
|
20961
|
+
data.payload ?? data.data ?? data,
|
|
20642
20962
|
void 0
|
|
20643
20963
|
]));
|
|
20644
20964
|
}
|
|
20645
20965
|
},
|
|
20646
20966
|
{
|
|
20647
|
-
id: "focus.
|
|
20967
|
+
id: "focus.reportschedules.upsert-shared-report-schedule",
|
|
20648
20968
|
family: "focus",
|
|
20649
|
-
resource: "
|
|
20969
|
+
resource: "reportschedules",
|
|
20970
|
+
action: "upsert-shared-report-schedule",
|
|
20971
|
+
title: "Upsert Shared Report Schedule Reportschedules",
|
|
20972
|
+
description: "Upsert Shared Report Schedule Reportschedules.",
|
|
20973
|
+
safety: "update",
|
|
20974
|
+
destructive: false,
|
|
20975
|
+
cli: {
|
|
20976
|
+
group: ["reportschedules"],
|
|
20977
|
+
command: "upsert-shared-report-schedule",
|
|
20978
|
+
interactive: "default"
|
|
20979
|
+
},
|
|
20980
|
+
mcp: { entityTool: "reportschedules" },
|
|
20981
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
20982
|
+
id: /* @__PURE__ */ number$2(),
|
|
20983
|
+
payload: /* @__PURE__ */ looseObject({
|
|
20984
|
+
cadence: /* @__PURE__ */ picklist$1([
|
|
20985
|
+
"daily",
|
|
20986
|
+
"weekly",
|
|
20987
|
+
"monthly"
|
|
20988
|
+
]),
|
|
20989
|
+
time: /* @__PURE__ */ string$1(),
|
|
20990
|
+
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
20991
|
+
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20992
|
+
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20993
|
+
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
20994
|
+
})
|
|
20995
|
+
}),
|
|
20996
|
+
execute: (input, { client }) => {
|
|
20997
|
+
const data = input;
|
|
20998
|
+
return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
|
|
20999
|
+
client.httpClient,
|
|
21000
|
+
client.workspaceIdNumber,
|
|
21001
|
+
data.id,
|
|
21002
|
+
data.payload ?? data.data ?? data,
|
|
21003
|
+
void 0
|
|
21004
|
+
]));
|
|
21005
|
+
}
|
|
21006
|
+
},
|
|
21007
|
+
{
|
|
21008
|
+
id: "focus.saved-views.create",
|
|
21009
|
+
family: "focus",
|
|
21010
|
+
resource: "saved-views",
|
|
21011
|
+
action: "create",
|
|
21012
|
+
title: "Create Saved Views",
|
|
21013
|
+
description: "Create Saved Views.",
|
|
21014
|
+
safety: "create",
|
|
21015
|
+
destructive: false,
|
|
21016
|
+
cli: {
|
|
21017
|
+
group: ["saved-views"],
|
|
21018
|
+
command: "create",
|
|
21019
|
+
interactive: "hidden"
|
|
21020
|
+
},
|
|
21021
|
+
mcp: { entityTool: "saved-views" },
|
|
21022
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
21023
|
+
name: /* @__PURE__ */ string$1(),
|
|
21024
|
+
params: /* @__PURE__ */ unknown$1(),
|
|
21025
|
+
pinned: /* @__PURE__ */ boolean$1(),
|
|
21026
|
+
type: /* @__PURE__ */ picklist$1([
|
|
21027
|
+
"inbox",
|
|
21028
|
+
"archive",
|
|
21029
|
+
"board",
|
|
21030
|
+
"timeline",
|
|
21031
|
+
"project",
|
|
21032
|
+
"project.tasks",
|
|
21033
|
+
"project.board",
|
|
21034
|
+
"project.timeline",
|
|
21035
|
+
"projects",
|
|
21036
|
+
"reports.summary",
|
|
21037
|
+
"reports.detailed",
|
|
21038
|
+
"reports.utilization",
|
|
21039
|
+
"reports.workload",
|
|
21040
|
+
"reports.profitability",
|
|
21041
|
+
"reports.time-off",
|
|
21042
|
+
"reports.time-accounting"
|
|
21043
|
+
]),
|
|
21044
|
+
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21045
|
+
}) }),
|
|
21046
|
+
execute: (input, { client }) => {
|
|
21047
|
+
const data = input;
|
|
21048
|
+
return client.runGeneratedRequest("createANewSavedView", () => callGeneratedRequest(createANewSavedView, [
|
|
21049
|
+
client.httpClient,
|
|
21050
|
+
client.workspaceIdNumber,
|
|
21051
|
+
data.payload ?? data.data ?? data,
|
|
21052
|
+
void 0
|
|
21053
|
+
]));
|
|
21054
|
+
}
|
|
21055
|
+
},
|
|
21056
|
+
{
|
|
21057
|
+
id: "focus.saved-views.delete",
|
|
21058
|
+
family: "focus",
|
|
21059
|
+
resource: "saved-views",
|
|
21060
|
+
action: "delete",
|
|
21061
|
+
title: "Delete Saved Views",
|
|
21062
|
+
description: "Delete Saved Views.",
|
|
21063
|
+
safety: "delete",
|
|
21064
|
+
destructive: true,
|
|
21065
|
+
cli: {
|
|
21066
|
+
group: ["saved-views"],
|
|
21067
|
+
command: "delete",
|
|
21068
|
+
interactive: "default"
|
|
21069
|
+
},
|
|
21070
|
+
mcp: { entityTool: "saved-views" },
|
|
21071
|
+
inputSchema: savedViewIdSchema,
|
|
21072
|
+
execute: (input, { client }) => {
|
|
21073
|
+
const data = input;
|
|
21074
|
+
return client.runGeneratedRequest("deleteASavedView", () => callGeneratedRequest(deleteASavedView, [
|
|
21075
|
+
client.httpClient,
|
|
21076
|
+
client.workspaceIdNumber,
|
|
21077
|
+
data.id,
|
|
21078
|
+
void 0
|
|
21079
|
+
]));
|
|
21080
|
+
}
|
|
21081
|
+
},
|
|
21082
|
+
{
|
|
21083
|
+
id: "focus.saved-views.get",
|
|
21084
|
+
family: "focus",
|
|
21085
|
+
resource: "saved-views",
|
|
21086
|
+
action: "get",
|
|
21087
|
+
title: "Get Saved Views",
|
|
21088
|
+
description: "Get Saved Views.",
|
|
21089
|
+
safety: "read",
|
|
21090
|
+
destructive: false,
|
|
21091
|
+
cli: {
|
|
21092
|
+
group: ["saved-views"],
|
|
21093
|
+
command: "get",
|
|
21094
|
+
interactive: "available"
|
|
21095
|
+
},
|
|
21096
|
+
mcp: { entityTool: "saved-views" },
|
|
21097
|
+
inputSchema: savedViewIdSchema,
|
|
21098
|
+
execute: (input, { client }) => {
|
|
21099
|
+
const data = input;
|
|
21100
|
+
return client.runGeneratedRequest("getASavedView", () => callGeneratedRequest(getASavedView, [
|
|
21101
|
+
client.httpClient,
|
|
21102
|
+
client.workspaceIdNumber,
|
|
21103
|
+
data.id,
|
|
21104
|
+
void 0
|
|
21105
|
+
]));
|
|
21106
|
+
}
|
|
21107
|
+
},
|
|
21108
|
+
{
|
|
21109
|
+
id: "focus.saved-views.list",
|
|
21110
|
+
family: "focus",
|
|
21111
|
+
resource: "saved-views",
|
|
20650
21112
|
action: "list",
|
|
20651
21113
|
title: "List Saved Views",
|
|
20652
21114
|
description: "List Saved Views.",
|
|
@@ -20700,6 +21162,36 @@ const generatedFocusOperations = [
|
|
|
20700
21162
|
]));
|
|
20701
21163
|
}
|
|
20702
21164
|
},
|
|
21165
|
+
{
|
|
21166
|
+
id: "focus.search.mentions",
|
|
21167
|
+
family: "focus",
|
|
21168
|
+
resource: "search",
|
|
21169
|
+
action: "mentions",
|
|
21170
|
+
title: "Mentions Search",
|
|
21171
|
+
description: "Mentions Search.",
|
|
21172
|
+
safety: "read",
|
|
21173
|
+
destructive: false,
|
|
21174
|
+
cli: {
|
|
21175
|
+
group: ["search"],
|
|
21176
|
+
command: "mentions",
|
|
21177
|
+
interactive: "hidden"
|
|
21178
|
+
},
|
|
21179
|
+
mcp: { entityTool: "search" },
|
|
21180
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21181
|
+
keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21182
|
+
per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21183
|
+
}),
|
|
21184
|
+
execute: (input, { client }) => {
|
|
21185
|
+
const data = input;
|
|
21186
|
+
return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
|
|
21187
|
+
client.httpClient,
|
|
21188
|
+
client.organizationId,
|
|
21189
|
+
client.workspaceIdNumber,
|
|
21190
|
+
data,
|
|
21191
|
+
void 0
|
|
21192
|
+
]));
|
|
21193
|
+
}
|
|
21194
|
+
},
|
|
20703
21195
|
{
|
|
20704
21196
|
id: "focus.search.search",
|
|
20705
21197
|
family: "focus",
|
|
@@ -20727,6 +21219,240 @@ const generatedFocusOperations = [
|
|
|
20727
21219
|
]));
|
|
20728
21220
|
}
|
|
20729
21221
|
},
|
|
21222
|
+
{
|
|
21223
|
+
id: "focus.sharedreports.add-shared-report-grants",
|
|
21224
|
+
family: "focus",
|
|
21225
|
+
resource: "sharedreports",
|
|
21226
|
+
action: "add-shared-report-grants",
|
|
21227
|
+
title: "Add Shared Report Grants Sharedreports",
|
|
21228
|
+
description: "Add Shared Report Grants Sharedreports.",
|
|
21229
|
+
safety: "update",
|
|
21230
|
+
destructive: false,
|
|
21231
|
+
cli: {
|
|
21232
|
+
group: ["sharedreports"],
|
|
21233
|
+
command: "add-shared-report-grants",
|
|
21234
|
+
interactive: "default"
|
|
21235
|
+
},
|
|
21236
|
+
mcp: { entityTool: "sharedreports" },
|
|
21237
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21238
|
+
id: /* @__PURE__ */ number$2(),
|
|
21239
|
+
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21240
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21241
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21242
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21243
|
+
})) })
|
|
21244
|
+
}),
|
|
21245
|
+
execute: (input, { client }) => {
|
|
21246
|
+
const data = input;
|
|
21247
|
+
return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
|
|
21248
|
+
client.httpClient,
|
|
21249
|
+
client.workspaceIdNumber,
|
|
21250
|
+
data.id,
|
|
21251
|
+
data.payload ?? data.data ?? data,
|
|
21252
|
+
void 0
|
|
21253
|
+
]));
|
|
21254
|
+
}
|
|
21255
|
+
},
|
|
21256
|
+
{
|
|
21257
|
+
id: "focus.sharedreports.get-saved-view-shared-report",
|
|
21258
|
+
family: "focus",
|
|
21259
|
+
resource: "sharedreports",
|
|
21260
|
+
action: "get-saved-view-shared-report",
|
|
21261
|
+
title: "Get Saved View Shared Report Sharedreports",
|
|
21262
|
+
description: "Get Saved View Shared Report Sharedreports.",
|
|
21263
|
+
safety: "read",
|
|
21264
|
+
destructive: false,
|
|
21265
|
+
cli: {
|
|
21266
|
+
group: ["sharedreports"],
|
|
21267
|
+
command: "get-saved-view-shared-report",
|
|
21268
|
+
interactive: "available"
|
|
21269
|
+
},
|
|
21270
|
+
mcp: { entityTool: "sharedreports" },
|
|
21271
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21272
|
+
execute: (input, { client }) => {
|
|
21273
|
+
const data = input;
|
|
21274
|
+
return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
|
|
21275
|
+
client.httpClient,
|
|
21276
|
+
client.workspaceIdNumber,
|
|
21277
|
+
data.id,
|
|
21278
|
+
void 0
|
|
21279
|
+
]));
|
|
21280
|
+
}
|
|
21281
|
+
},
|
|
21282
|
+
{
|
|
21283
|
+
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
21284
|
+
family: "focus",
|
|
21285
|
+
resource: "sharedreports",
|
|
21286
|
+
action: "get-shared-report-for-viewer",
|
|
21287
|
+
title: "Get Shared Report For Viewer Sharedreports",
|
|
21288
|
+
description: "Get Shared Report For Viewer Sharedreports.",
|
|
21289
|
+
safety: "read",
|
|
21290
|
+
destructive: false,
|
|
21291
|
+
cli: {
|
|
21292
|
+
group: ["sharedreports"],
|
|
21293
|
+
command: "get-shared-report-for-viewer",
|
|
21294
|
+
interactive: "available"
|
|
21295
|
+
},
|
|
21296
|
+
mcp: { entityTool: "sharedreports" },
|
|
21297
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21298
|
+
execute: (input, { client }) => {
|
|
21299
|
+
const data = input;
|
|
21300
|
+
return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
|
|
21301
|
+
client.httpClient,
|
|
21302
|
+
client.workspaceIdNumber,
|
|
21303
|
+
data.id,
|
|
21304
|
+
void 0
|
|
21305
|
+
]));
|
|
21306
|
+
}
|
|
21307
|
+
},
|
|
21308
|
+
{
|
|
21309
|
+
id: "focus.sharedreports.get-shared-reports-shared-by-me",
|
|
21310
|
+
family: "focus",
|
|
21311
|
+
resource: "sharedreports",
|
|
21312
|
+
action: "get-shared-reports-shared-by-me",
|
|
21313
|
+
title: "Get Shared Reports Shared By Me Sharedreports",
|
|
21314
|
+
description: "Get Shared Reports Shared By Me Sharedreports.",
|
|
21315
|
+
safety: "read",
|
|
21316
|
+
destructive: false,
|
|
21317
|
+
cli: {
|
|
21318
|
+
group: ["sharedreports"],
|
|
21319
|
+
command: "get-shared-reports-shared-by-me",
|
|
21320
|
+
interactive: "hidden"
|
|
21321
|
+
},
|
|
21322
|
+
mcp: { entityTool: "sharedreports" },
|
|
21323
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21324
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
|
|
21325
|
+
client.httpClient,
|
|
21326
|
+
client.workspaceIdNumber,
|
|
21327
|
+
void 0
|
|
21328
|
+
]))
|
|
21329
|
+
},
|
|
21330
|
+
{
|
|
21331
|
+
id: "focus.sharedreports.get-shared-reports-shared-with-me",
|
|
21332
|
+
family: "focus",
|
|
21333
|
+
resource: "sharedreports",
|
|
21334
|
+
action: "get-shared-reports-shared-with-me",
|
|
21335
|
+
title: "Get Shared Reports Shared With Me Sharedreports",
|
|
21336
|
+
description: "Get Shared Reports Shared With Me Sharedreports.",
|
|
21337
|
+
safety: "read",
|
|
21338
|
+
destructive: false,
|
|
21339
|
+
cli: {
|
|
21340
|
+
group: ["sharedreports"],
|
|
21341
|
+
command: "get-shared-reports-shared-with-me",
|
|
21342
|
+
interactive: "hidden"
|
|
21343
|
+
},
|
|
21344
|
+
mcp: { entityTool: "sharedreports" },
|
|
21345
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
21346
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
|
|
21347
|
+
client.httpClient,
|
|
21348
|
+
client.workspaceIdNumber,
|
|
21349
|
+
void 0
|
|
21350
|
+
]))
|
|
21351
|
+
},
|
|
21352
|
+
{
|
|
21353
|
+
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21354
|
+
family: "focus",
|
|
21355
|
+
resource: "sharedreports",
|
|
21356
|
+
action: "revoke-shared-report-grant",
|
|
21357
|
+
title: "Revoke Shared Report Grant Sharedreports",
|
|
21358
|
+
description: "Revoke Shared Report Grant Sharedreports.",
|
|
21359
|
+
safety: "delete",
|
|
21360
|
+
destructive: true,
|
|
21361
|
+
cli: {
|
|
21362
|
+
group: ["sharedreports"],
|
|
21363
|
+
command: "revoke-shared-report-grant",
|
|
21364
|
+
interactive: "default"
|
|
21365
|
+
},
|
|
21366
|
+
mcp: { entityTool: "sharedreports" },
|
|
21367
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21368
|
+
grant_id: /* @__PURE__ */ number$2(),
|
|
21369
|
+
id: /* @__PURE__ */ number$2()
|
|
21370
|
+
}),
|
|
21371
|
+
execute: (input, { client }) => {
|
|
21372
|
+
const data = input;
|
|
21373
|
+
return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
|
|
21374
|
+
client.httpClient,
|
|
21375
|
+
client.workspaceIdNumber,
|
|
21376
|
+
data.id,
|
|
21377
|
+
data.grant_id,
|
|
21378
|
+
void 0
|
|
21379
|
+
]));
|
|
21380
|
+
}
|
|
21381
|
+
},
|
|
21382
|
+
{
|
|
21383
|
+
id: "focus.sharedreports.share-saved-view",
|
|
21384
|
+
family: "focus",
|
|
21385
|
+
resource: "sharedreports",
|
|
21386
|
+
action: "share-saved-view",
|
|
21387
|
+
title: "Share Saved View Sharedreports",
|
|
21388
|
+
description: "Share Saved View Sharedreports.",
|
|
21389
|
+
safety: "update",
|
|
21390
|
+
destructive: false,
|
|
21391
|
+
cli: {
|
|
21392
|
+
group: ["sharedreports"],
|
|
21393
|
+
command: "share-saved-view",
|
|
21394
|
+
interactive: "hidden"
|
|
21395
|
+
},
|
|
21396
|
+
mcp: { entityTool: "sharedreports" },
|
|
21397
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21398
|
+
id: /* @__PURE__ */ number$2(),
|
|
21399
|
+
payload: /* @__PURE__ */ looseObject({
|
|
21400
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
21401
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21402
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21403
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21404
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21405
|
+
})
|
|
21406
|
+
}),
|
|
21407
|
+
execute: (input, { client }) => {
|
|
21408
|
+
const data = input;
|
|
21409
|
+
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
21410
|
+
client.httpClient,
|
|
21411
|
+
client.workspaceIdNumber,
|
|
21412
|
+
data.id,
|
|
21413
|
+
data.payload ?? data.data ?? data,
|
|
21414
|
+
void 0
|
|
21415
|
+
]));
|
|
21416
|
+
}
|
|
21417
|
+
},
|
|
21418
|
+
{
|
|
21419
|
+
id: "focus.sharedreports.share-saved-view-many",
|
|
21420
|
+
family: "focus",
|
|
21421
|
+
resource: "sharedreports",
|
|
21422
|
+
action: "share-saved-view-many",
|
|
21423
|
+
title: "Share Saved View Many Sharedreports",
|
|
21424
|
+
description: "Share Saved View Many Sharedreports.",
|
|
21425
|
+
safety: "update",
|
|
21426
|
+
destructive: false,
|
|
21427
|
+
cli: {
|
|
21428
|
+
group: ["sharedreports"],
|
|
21429
|
+
command: "share-saved-view-many",
|
|
21430
|
+
interactive: "hidden"
|
|
21431
|
+
},
|
|
21432
|
+
mcp: { entityTool: "sharedreports" },
|
|
21433
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21434
|
+
id: /* @__PURE__ */ number$2(),
|
|
21435
|
+
payload: /* @__PURE__ */ looseObject({
|
|
21436
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
21437
|
+
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21438
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21439
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21440
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21441
|
+
})),
|
|
21442
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21443
|
+
})
|
|
21444
|
+
}),
|
|
21445
|
+
execute: (input, { client }) => {
|
|
21446
|
+
const data = input;
|
|
21447
|
+
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
21448
|
+
client.httpClient,
|
|
21449
|
+
client.workspaceIdNumber,
|
|
21450
|
+
data.id,
|
|
21451
|
+
data.payload ?? data.data ?? data,
|
|
21452
|
+
void 0
|
|
21453
|
+
]));
|
|
21454
|
+
}
|
|
21455
|
+
},
|
|
20730
21456
|
{
|
|
20731
21457
|
id: "focus.statuses.create-status",
|
|
20732
21458
|
family: "focus",
|
|
@@ -20992,13 +21718,172 @@ const generatedFocusOperations = [
|
|
|
20992
21718
|
command: "upsert-forced-trial",
|
|
20993
21719
|
interactive: "default"
|
|
20994
21720
|
},
|
|
20995
|
-
mcp: { entityTool: "subscriptions" },
|
|
20996
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
21721
|
+
mcp: { entityTool: "subscriptions" },
|
|
21722
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
21723
|
+
execute: (input, { client }) => {
|
|
21724
|
+
const data = input;
|
|
21725
|
+
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
21726
|
+
client.httpClient,
|
|
21727
|
+
client.organizationId,
|
|
21728
|
+
client.workspaceIdNumber,
|
|
21729
|
+
data.payload ?? data.data ?? data,
|
|
21730
|
+
void 0
|
|
21731
|
+
]));
|
|
21732
|
+
}
|
|
21733
|
+
},
|
|
21734
|
+
{
|
|
21735
|
+
id: "focus.tags.archive",
|
|
21736
|
+
family: "focus",
|
|
21737
|
+
resource: "tags",
|
|
21738
|
+
action: "archive",
|
|
21739
|
+
title: "Archive Tags",
|
|
21740
|
+
description: "Archive Tags.",
|
|
21741
|
+
safety: "update",
|
|
21742
|
+
destructive: false,
|
|
21743
|
+
cli: {
|
|
21744
|
+
group: ["tags"],
|
|
21745
|
+
command: "archive",
|
|
21746
|
+
interactive: "default"
|
|
21747
|
+
},
|
|
21748
|
+
mcp: { entityTool: "tags" },
|
|
21749
|
+
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
21750
|
+
execute: (input, { client }) => {
|
|
21751
|
+
const data = input;
|
|
21752
|
+
return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
|
|
21753
|
+
client.httpClient,
|
|
21754
|
+
client.workspaceIdNumber,
|
|
21755
|
+
data.tag_id,
|
|
21756
|
+
void 0
|
|
21757
|
+
]));
|
|
21758
|
+
}
|
|
21759
|
+
},
|
|
21760
|
+
{
|
|
21761
|
+
id: "focus.tags.bulk-archive",
|
|
21762
|
+
family: "focus",
|
|
21763
|
+
resource: "tags",
|
|
21764
|
+
action: "bulk-archive",
|
|
21765
|
+
title: "Bulk Archive Tags",
|
|
21766
|
+
description: "Bulk Archive Tags.",
|
|
21767
|
+
safety: "update",
|
|
21768
|
+
destructive: false,
|
|
21769
|
+
cli: {
|
|
21770
|
+
group: ["tags", "bulk"],
|
|
21771
|
+
command: "archive",
|
|
21772
|
+
interactive: "default"
|
|
21773
|
+
},
|
|
21774
|
+
mcp: { entityTool: "tags" },
|
|
21775
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
21776
|
+
execute: (input, { client }) => {
|
|
21777
|
+
const data = input;
|
|
21778
|
+
return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
|
|
21779
|
+
client.httpClient,
|
|
21780
|
+
client.workspaceIdNumber,
|
|
21781
|
+
data.payload ?? data.data ?? data,
|
|
21782
|
+
void 0
|
|
21783
|
+
]));
|
|
21784
|
+
}
|
|
21785
|
+
},
|
|
21786
|
+
{
|
|
21787
|
+
id: "focus.tags.bulk-create",
|
|
21788
|
+
family: "focus",
|
|
21789
|
+
resource: "tags",
|
|
21790
|
+
action: "bulk-create",
|
|
21791
|
+
title: "Bulk Create Tags",
|
|
21792
|
+
description: "Bulk Create Tags.",
|
|
21793
|
+
safety: "create",
|
|
21794
|
+
destructive: false,
|
|
21795
|
+
cli: {
|
|
21796
|
+
group: ["tags", "bulk"],
|
|
21797
|
+
command: "create",
|
|
21798
|
+
interactive: "default"
|
|
21799
|
+
},
|
|
21800
|
+
mcp: { entityTool: "tags" },
|
|
21801
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21802
|
+
color: /* @__PURE__ */ string$1(),
|
|
21803
|
+
name: /* @__PURE__ */ string$1()
|
|
21804
|
+
})) }) }),
|
|
21805
|
+
execute: (input, { client }) => {
|
|
21806
|
+
const data = input;
|
|
21807
|
+
return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
|
|
21808
|
+
client.httpClient,
|
|
21809
|
+
client.workspaceIdNumber,
|
|
21810
|
+
data.payload ?? data.data ?? data,
|
|
21811
|
+
void 0
|
|
21812
|
+
]));
|
|
21813
|
+
}
|
|
21814
|
+
},
|
|
21815
|
+
{
|
|
21816
|
+
id: "focus.tags.bulk-delete",
|
|
21817
|
+
family: "focus",
|
|
21818
|
+
resource: "tags",
|
|
21819
|
+
action: "bulk-delete",
|
|
21820
|
+
title: "Bulk Delete Tags",
|
|
21821
|
+
description: "Bulk Delete Tags.",
|
|
21822
|
+
safety: "delete",
|
|
21823
|
+
destructive: true,
|
|
21824
|
+
cli: {
|
|
21825
|
+
group: ["tags", "bulk"],
|
|
21826
|
+
command: "delete",
|
|
21827
|
+
interactive: "default"
|
|
21828
|
+
},
|
|
21829
|
+
mcp: { entityTool: "tags" },
|
|
21830
|
+
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
21831
|
+
execute: (input, { client }) => {
|
|
21832
|
+
const data = input;
|
|
21833
|
+
return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
|
|
21834
|
+
client.httpClient,
|
|
21835
|
+
client.workspaceIdNumber,
|
|
21836
|
+
data.ids,
|
|
21837
|
+
void 0
|
|
21838
|
+
]));
|
|
21839
|
+
}
|
|
21840
|
+
},
|
|
21841
|
+
{
|
|
21842
|
+
id: "focus.tags.bulk-restore",
|
|
21843
|
+
family: "focus",
|
|
21844
|
+
resource: "tags",
|
|
21845
|
+
action: "bulk-restore",
|
|
21846
|
+
title: "Bulk Restore Tags",
|
|
21847
|
+
description: "Bulk Restore Tags.",
|
|
21848
|
+
safety: "update",
|
|
21849
|
+
destructive: false,
|
|
21850
|
+
cli: {
|
|
21851
|
+
group: ["tags", "bulk"],
|
|
21852
|
+
command: "restore",
|
|
21853
|
+
interactive: "default"
|
|
21854
|
+
},
|
|
21855
|
+
mcp: { entityTool: "tags" },
|
|
21856
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
21857
|
+
execute: (input, { client }) => {
|
|
21858
|
+
const data = input;
|
|
21859
|
+
return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
|
|
21860
|
+
client.httpClient,
|
|
21861
|
+
client.workspaceIdNumber,
|
|
21862
|
+
data.payload ?? data.data ?? data,
|
|
21863
|
+
void 0
|
|
21864
|
+
]));
|
|
21865
|
+
}
|
|
21866
|
+
},
|
|
21867
|
+
{
|
|
21868
|
+
id: "focus.tags.bulk-unarchive",
|
|
21869
|
+
family: "focus",
|
|
21870
|
+
resource: "tags",
|
|
21871
|
+
action: "bulk-unarchive",
|
|
21872
|
+
title: "Bulk Unarchive Tags",
|
|
21873
|
+
description: "Bulk Unarchive Tags.",
|
|
21874
|
+
safety: "update",
|
|
21875
|
+
destructive: false,
|
|
21876
|
+
cli: {
|
|
21877
|
+
group: ["tags", "bulk"],
|
|
21878
|
+
command: "unarchive",
|
|
21879
|
+
interactive: "default"
|
|
21880
|
+
},
|
|
21881
|
+
mcp: { entityTool: "tags" },
|
|
21882
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
20997
21883
|
execute: (input, { client }) => {
|
|
20998
21884
|
const data = input;
|
|
20999
|
-
return client.runGeneratedRequest("
|
|
21885
|
+
return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
|
|
21000
21886
|
client.httpClient,
|
|
21001
|
-
client.organizationId,
|
|
21002
21887
|
client.workspaceIdNumber,
|
|
21003
21888
|
data.payload ?? data.data ?? data,
|
|
21004
21889
|
void 0
|
|
@@ -21089,6 +21974,35 @@ const generatedFocusOperations = [
|
|
|
21089
21974
|
return client.listTags(data);
|
|
21090
21975
|
}
|
|
21091
21976
|
},
|
|
21977
|
+
{
|
|
21978
|
+
id: "focus.tags.merge",
|
|
21979
|
+
family: "focus",
|
|
21980
|
+
resource: "tags",
|
|
21981
|
+
action: "merge",
|
|
21982
|
+
title: "Merge Tags",
|
|
21983
|
+
description: "Merge Tags.",
|
|
21984
|
+
safety: "update",
|
|
21985
|
+
destructive: false,
|
|
21986
|
+
cli: {
|
|
21987
|
+
group: ["tags"],
|
|
21988
|
+
command: "merge",
|
|
21989
|
+
interactive: "default"
|
|
21990
|
+
},
|
|
21991
|
+
mcp: { entityTool: "tags" },
|
|
21992
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
21993
|
+
source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
21994
|
+
target_id: /* @__PURE__ */ number$2()
|
|
21995
|
+
}) }),
|
|
21996
|
+
execute: (input, { client }) => {
|
|
21997
|
+
const data = input;
|
|
21998
|
+
return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
|
|
21999
|
+
client.httpClient,
|
|
22000
|
+
client.workspaceIdNumber,
|
|
22001
|
+
data.payload ?? data.data ?? data,
|
|
22002
|
+
void 0
|
|
22003
|
+
]));
|
|
22004
|
+
}
|
|
22005
|
+
},
|
|
21092
22006
|
{
|
|
21093
22007
|
id: "focus.tags.restore",
|
|
21094
22008
|
family: "focus",
|
|
@@ -21115,6 +22029,32 @@ const generatedFocusOperations = [
|
|
|
21115
22029
|
]));
|
|
21116
22030
|
}
|
|
21117
22031
|
},
|
|
22032
|
+
{
|
|
22033
|
+
id: "focus.tags.unarchive",
|
|
22034
|
+
family: "focus",
|
|
22035
|
+
resource: "tags",
|
|
22036
|
+
action: "unarchive",
|
|
22037
|
+
title: "Unarchive Tags",
|
|
22038
|
+
description: "Unarchive Tags.",
|
|
22039
|
+
safety: "update",
|
|
22040
|
+
destructive: false,
|
|
22041
|
+
cli: {
|
|
22042
|
+
group: ["tags"],
|
|
22043
|
+
command: "unarchive",
|
|
22044
|
+
interactive: "default"
|
|
22045
|
+
},
|
|
22046
|
+
mcp: { entityTool: "tags" },
|
|
22047
|
+
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
22048
|
+
execute: (input, { client }) => {
|
|
22049
|
+
const data = input;
|
|
22050
|
+
return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
|
|
22051
|
+
client.httpClient,
|
|
22052
|
+
client.workspaceIdNumber,
|
|
22053
|
+
data.tag_id,
|
|
22054
|
+
void 0
|
|
22055
|
+
]));
|
|
22056
|
+
}
|
|
22057
|
+
},
|
|
21118
22058
|
{
|
|
21119
22059
|
id: "focus.tags.update",
|
|
21120
22060
|
family: "focus",
|
|
@@ -21796,12 +22736,12 @@ const generatedFocusOperations = [
|
|
|
21796
22736
|
mcp: { entityTool: "tasks" },
|
|
21797
22737
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21798
22738
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22739
|
+
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21799
22740
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21800
22741
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21801
22742
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21802
22743
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
21803
22744
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21804
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21805
22745
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21806
22746
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21807
22747
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -21838,7 +22778,6 @@ const generatedFocusOperations = [
|
|
|
21838
22778
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21839
22779
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
21840
22780
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21841
|
-
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21842
22781
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21843
22782
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21844
22783
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -21855,7 +22794,6 @@ const generatedFocusOperations = [
|
|
|
21855
22794
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21856
22795
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21857
22796
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21858
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21859
22797
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21860
22798
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21861
22799
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -21911,7 +22849,6 @@ const generatedFocusOperations = [
|
|
|
21911
22849
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21912
22850
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21913
22851
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21914
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21915
22852
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21916
22853
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21917
22854
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -21952,7 +22889,6 @@ const generatedFocusOperations = [
|
|
|
21952
22889
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21953
22890
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21954
22891
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21955
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21956
22892
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21957
22893
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21958
22894
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -21993,6 +22929,7 @@ const generatedFocusOperations = [
|
|
|
21993
22929
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21994
22930
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21995
22931
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22932
|
+
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21996
22933
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21997
22934
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
21998
22935
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22006,7 +22943,8 @@ const generatedFocusOperations = [
|
|
|
22006
22943
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22007
22944
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22008
22945
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22009
|
-
|
|
22946
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22947
|
+
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22010
22948
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22011
22949
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22012
22950
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22022,6 +22960,7 @@ const generatedFocusOperations = [
|
|
|
22022
22960
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22023
22961
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22024
22962
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22963
|
+
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22025
22964
|
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
22026
22965
|
}),
|
|
22027
22966
|
execute: (input, { client }) => {
|
|
@@ -22036,6 +22975,118 @@ const generatedFocusOperations = [
|
|
|
22036
22975
|
]));
|
|
22037
22976
|
}
|
|
22038
22977
|
},
|
|
22978
|
+
{
|
|
22979
|
+
id: "focus.tasks.groups-get-user-task-groups-by-project",
|
|
22980
|
+
family: "focus",
|
|
22981
|
+
resource: "tasks",
|
|
22982
|
+
action: "groups-get-user-task-groups-by-project",
|
|
22983
|
+
title: "Groups Get User Task Groups By Project Tasks",
|
|
22984
|
+
description: "Groups Get User Task Groups By Project Tasks.",
|
|
22985
|
+
safety: "read",
|
|
22986
|
+
destructive: false,
|
|
22987
|
+
cli: {
|
|
22988
|
+
group: ["tasks", "groups"],
|
|
22989
|
+
command: "get-user-task-groups-by-project",
|
|
22990
|
+
interactive: "hidden"
|
|
22991
|
+
},
|
|
22992
|
+
mcp: { entityTool: "tasks" },
|
|
22993
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
22994
|
+
assignee_user_id: /* @__PURE__ */ number$2(),
|
|
22995
|
+
cf_filter: /* @__PURE__ */ unknown$1(),
|
|
22996
|
+
client_id: /* @__PURE__ */ number$2(),
|
|
22997
|
+
collapse_recurring: /* @__PURE__ */ unknown$1(),
|
|
22998
|
+
creator_id: /* @__PURE__ */ number$2(),
|
|
22999
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23000
|
+
end_date_from: /* @__PURE__ */ unknown$1(),
|
|
23001
|
+
end_date_to: /* @__PURE__ */ unknown$1(),
|
|
23002
|
+
exclude_empty: /* @__PURE__ */ unknown$1(),
|
|
23003
|
+
group_id: /* @__PURE__ */ number$2(),
|
|
23004
|
+
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23005
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23006
|
+
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23007
|
+
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23008
|
+
min_days: /* @__PURE__ */ unknown$1(),
|
|
23009
|
+
name: /* @__PURE__ */ unknown$1(),
|
|
23010
|
+
priority: /* @__PURE__ */ unknown$1(),
|
|
23011
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
23012
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
23013
|
+
source: /* @__PURE__ */ unknown$1(),
|
|
23014
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23015
|
+
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
23016
|
+
start_date_to: /* @__PURE__ */ unknown$1(),
|
|
23017
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
23018
|
+
tag_id: /* @__PURE__ */ number$2(),
|
|
23019
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
23020
|
+
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23021
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
23022
|
+
}),
|
|
23023
|
+
execute: (input, { client }) => {
|
|
23024
|
+
const data = input;
|
|
23025
|
+
return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
|
|
23026
|
+
client.httpClient,
|
|
23027
|
+
client.organizationId,
|
|
23028
|
+
client.workspaceIdNumber,
|
|
23029
|
+
data,
|
|
23030
|
+
void 0
|
|
23031
|
+
]));
|
|
23032
|
+
}
|
|
23033
|
+
},
|
|
23034
|
+
{
|
|
23035
|
+
id: "focus.tasks.groups-get-user-task-groups-by-team",
|
|
23036
|
+
family: "focus",
|
|
23037
|
+
resource: "tasks",
|
|
23038
|
+
action: "groups-get-user-task-groups-by-team",
|
|
23039
|
+
title: "Groups Get User Task Groups By Team Tasks",
|
|
23040
|
+
description: "Groups Get User Task Groups By Team Tasks.",
|
|
23041
|
+
safety: "read",
|
|
23042
|
+
destructive: false,
|
|
23043
|
+
cli: {
|
|
23044
|
+
group: ["tasks", "groups"],
|
|
23045
|
+
command: "get-user-task-groups-by-team",
|
|
23046
|
+
interactive: "hidden"
|
|
23047
|
+
},
|
|
23048
|
+
mcp: { entityTool: "tasks" },
|
|
23049
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23050
|
+
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23051
|
+
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23052
|
+
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23053
|
+
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23054
|
+
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23055
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23056
|
+
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23057
|
+
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23058
|
+
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23059
|
+
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23060
|
+
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23061
|
+
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23062
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23063
|
+
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23064
|
+
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23065
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23066
|
+
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23067
|
+
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23068
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23069
|
+
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23070
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23071
|
+
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23072
|
+
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23073
|
+
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23074
|
+
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23075
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23076
|
+
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23077
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23078
|
+
}),
|
|
23079
|
+
execute: (input, { client }) => {
|
|
23080
|
+
const data = input;
|
|
23081
|
+
return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
|
|
23082
|
+
client.httpClient,
|
|
23083
|
+
client.organizationId,
|
|
23084
|
+
client.workspaceIdNumber,
|
|
23085
|
+
data,
|
|
23086
|
+
void 0
|
|
23087
|
+
]));
|
|
23088
|
+
}
|
|
23089
|
+
},
|
|
22039
23090
|
{
|
|
22040
23091
|
id: "focus.tasks.groups-update",
|
|
22041
23092
|
family: "focus",
|
|
@@ -22241,7 +23292,6 @@ const generatedFocusOperations = [
|
|
|
22241
23292
|
name: /* @__PURE__ */ string$1(),
|
|
22242
23293
|
status_id: /* @__PURE__ */ number$2(),
|
|
22243
23294
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22244
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22245
23295
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
22246
23296
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22247
23297
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -22261,6 +23311,7 @@ const generatedFocusOperations = [
|
|
|
22261
23311
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22262
23312
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22263
23313
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23314
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22264
23315
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
22265
23316
|
}),
|
|
22266
23317
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -23269,6 +24320,40 @@ const generatedFocusOperations = [
|
|
|
23269
24320
|
]));
|
|
23270
24321
|
}
|
|
23271
24322
|
},
|
|
24323
|
+
{
|
|
24324
|
+
id: "focus.time-entries.groups-get-users",
|
|
24325
|
+
family: "focus",
|
|
24326
|
+
resource: "time-entries",
|
|
24327
|
+
action: "groups-get-users",
|
|
24328
|
+
title: "Groups Get Users Time Entries",
|
|
24329
|
+
description: "Groups Get Users Time Entries.",
|
|
24330
|
+
safety: "read",
|
|
24331
|
+
destructive: false,
|
|
24332
|
+
cli: {
|
|
24333
|
+
group: ["time-entries", "groups"],
|
|
24334
|
+
command: "get-users",
|
|
24335
|
+
interactive: "hidden"
|
|
24336
|
+
},
|
|
24337
|
+
mcp: { entityTool: "time-entries" },
|
|
24338
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24339
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
24340
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
24341
|
+
page: /* @__PURE__ */ number$2(),
|
|
24342
|
+
per_page: /* @__PURE__ */ unknown$1(),
|
|
24343
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
24344
|
+
user_id: /* @__PURE__ */ number$2()
|
|
24345
|
+
}),
|
|
24346
|
+
execute: (input, { client }) => {
|
|
24347
|
+
const data = input;
|
|
24348
|
+
return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
|
|
24349
|
+
client.httpClient,
|
|
24350
|
+
client.organizationId,
|
|
24351
|
+
client.workspaceIdNumber,
|
|
24352
|
+
data,
|
|
24353
|
+
void 0
|
|
24354
|
+
]));
|
|
24355
|
+
}
|
|
24356
|
+
},
|
|
23272
24357
|
{
|
|
23273
24358
|
id: "focus.time-entries.list",
|
|
23274
24359
|
family: "focus",
|
|
@@ -23453,6 +24538,42 @@ const generatedFocusOperations = [
|
|
|
23453
24538
|
inputSchema: emptySchema$1,
|
|
23454
24539
|
execute: (_input, { client }) => client.stopTracking()
|
|
23455
24540
|
},
|
|
24541
|
+
{
|
|
24542
|
+
id: "focus.time-entries.sync",
|
|
24543
|
+
family: "focus",
|
|
24544
|
+
resource: "time-entries",
|
|
24545
|
+
action: "sync",
|
|
24546
|
+
title: "Sync Time Entries",
|
|
24547
|
+
description: "Sync Time Entries.",
|
|
24548
|
+
safety: "update",
|
|
24549
|
+
destructive: false,
|
|
24550
|
+
cli: {
|
|
24551
|
+
group: ["time-entries"],
|
|
24552
|
+
command: "sync",
|
|
24553
|
+
interactive: "default"
|
|
24554
|
+
},
|
|
24555
|
+
mcp: { entityTool: "time-entries" },
|
|
24556
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24557
|
+
client_uuid: /* @__PURE__ */ string$1(),
|
|
24558
|
+
payload: /* @__PURE__ */ looseObject({
|
|
24559
|
+
billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
|
|
24560
|
+
client_updated_at: apiDateTimeString,
|
|
24561
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24562
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24563
|
+
})
|
|
24564
|
+
}),
|
|
24565
|
+
execute: (input, { client }) => {
|
|
24566
|
+
const data = input;
|
|
24567
|
+
return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
|
|
24568
|
+
client.httpClient,
|
|
24569
|
+
client.organizationId,
|
|
24570
|
+
client.workspaceIdNumber,
|
|
24571
|
+
data.client_uuid,
|
|
24572
|
+
data.payload ?? data.data ?? data,
|
|
24573
|
+
void 0
|
|
24574
|
+
]));
|
|
24575
|
+
}
|
|
24576
|
+
},
|
|
23456
24577
|
{
|
|
23457
24578
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
23458
24579
|
family: "focus",
|
|
@@ -23501,6 +24622,7 @@ const generatedFocusOperations = [
|
|
|
23501
24622
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23502
24623
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23503
24624
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24625
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23504
24626
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23505
24627
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23506
24628
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -23559,125 +24681,37 @@ const generatedFocusOperations = [
|
|
|
23559
24681
|
resource: "time-entries",
|
|
23560
24682
|
action: "update",
|
|
23561
24683
|
title: "Update Time Entries",
|
|
23562
|
-
description: "Update Time Entries.",
|
|
23563
|
-
safety: "update",
|
|
23564
|
-
destructive: false,
|
|
23565
|
-
cli: {
|
|
23566
|
-
group: ["time-entries"],
|
|
23567
|
-
command: "update",
|
|
23568
|
-
interactive: "default"
|
|
23569
|
-
},
|
|
23570
|
-
mcp: { entityTool: "time-entries" },
|
|
23571
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23572
|
-
payload: /* @__PURE__ */ looseObject({
|
|
23573
|
-
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
23574
|
-
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23575
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23576
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23577
|
-
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23578
|
-
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23579
|
-
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23580
|
-
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23581
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23582
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
23583
|
-
}),
|
|
23584
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
23585
|
-
}),
|
|
23586
|
-
execute: (input, { client }) => {
|
|
23587
|
-
const data = input;
|
|
23588
|
-
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
23589
|
-
client.httpClient,
|
|
23590
|
-
client.organizationId,
|
|
23591
|
-
client.workspaceIdNumber,
|
|
23592
|
-
data.time_entry_id,
|
|
23593
|
-
data.payload ?? data.data ?? data,
|
|
23594
|
-
void 0
|
|
23595
|
-
]));
|
|
23596
|
-
}
|
|
23597
|
-
},
|
|
23598
|
-
{
|
|
23599
|
-
id: "focus.time-log-suggestions.get-for-acalendar-event-title",
|
|
23600
|
-
family: "focus",
|
|
23601
|
-
resource: "time-log-suggestions",
|
|
23602
|
-
action: "get-for-acalendar-event-title",
|
|
23603
|
-
title: "Get For Acalendar Event Title Time Log Suggestions",
|
|
23604
|
-
description: "Get For Acalendar Event Title Time Log Suggestions.",
|
|
23605
|
-
safety: "update",
|
|
23606
|
-
destructive: false,
|
|
23607
|
-
cli: {
|
|
23608
|
-
group: ["time-log-suggestions"],
|
|
23609
|
-
command: "get-for-acalendar-event-title",
|
|
23610
|
-
interactive: "default"
|
|
23611
|
-
},
|
|
23612
|
-
mcp: { entityTool: "time-log-suggestions" },
|
|
23613
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
|
|
23614
|
-
execute: (input, { client }) => {
|
|
23615
|
-
const data = input;
|
|
23616
|
-
return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
|
|
23617
|
-
client.httpClient,
|
|
23618
|
-
client.organizationId,
|
|
23619
|
-
client.workspaceIdNumber,
|
|
23620
|
-
data.payload ?? data.data ?? data,
|
|
23621
|
-
void 0
|
|
23622
|
-
]));
|
|
23623
|
-
}
|
|
23624
|
-
},
|
|
23625
|
-
{
|
|
23626
|
-
id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
|
|
23627
|
-
family: "focus",
|
|
23628
|
-
resource: "time-log-suggestions",
|
|
23629
|
-
action: "get-for-multiple-calendar-event-titles",
|
|
23630
|
-
title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
|
|
23631
|
-
description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
|
|
23632
|
-
safety: "update",
|
|
23633
|
-
destructive: false,
|
|
23634
|
-
cli: {
|
|
23635
|
-
group: ["time-log-suggestions"],
|
|
23636
|
-
command: "get-for-multiple-calendar-event-titles",
|
|
23637
|
-
interactive: "default"
|
|
23638
|
-
},
|
|
23639
|
-
mcp: { entityTool: "time-log-suggestions" },
|
|
23640
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
23641
|
-
key: /* @__PURE__ */ string$1(),
|
|
23642
|
-
title: /* @__PURE__ */ string$1()
|
|
23643
|
-
})) }) }),
|
|
23644
|
-
execute: (input, { client }) => {
|
|
23645
|
-
const data = input;
|
|
23646
|
-
return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
|
|
23647
|
-
client.httpClient,
|
|
23648
|
-
client.organizationId,
|
|
23649
|
-
client.workspaceIdNumber,
|
|
23650
|
-
data.payload ?? data.data ?? data,
|
|
23651
|
-
void 0
|
|
23652
|
-
]));
|
|
23653
|
-
}
|
|
23654
|
-
},
|
|
23655
|
-
{
|
|
23656
|
-
id: "focus.time-off.create-timeoff-for-ghost",
|
|
23657
|
-
family: "focus",
|
|
23658
|
-
resource: "time-off",
|
|
23659
|
-
action: "create-timeoff-for-ghost",
|
|
23660
|
-
title: "Create Timeoff For Ghost Time Off",
|
|
23661
|
-
description: "Create Timeoff For Ghost Time Off.",
|
|
23662
|
-
safety: "create",
|
|
24684
|
+
description: "Update Time Entries.",
|
|
24685
|
+
safety: "update",
|
|
23663
24686
|
destructive: false,
|
|
23664
24687
|
cli: {
|
|
23665
|
-
group: ["time-
|
|
23666
|
-
command: "
|
|
23667
|
-
interactive: "
|
|
24688
|
+
group: ["time-entries"],
|
|
24689
|
+
command: "update",
|
|
24690
|
+
interactive: "default"
|
|
23668
24691
|
},
|
|
23669
|
-
mcp: { entityTool: "time-
|
|
24692
|
+
mcp: { entityTool: "time-entries" },
|
|
23670
24693
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23671
|
-
|
|
23672
|
-
|
|
24694
|
+
payload: /* @__PURE__ */ looseObject({
|
|
24695
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24696
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24697
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24698
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24699
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24700
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24701
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24702
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24703
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24704
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24705
|
+
}),
|
|
24706
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
23673
24707
|
}),
|
|
23674
24708
|
execute: (input, { client }) => {
|
|
23675
24709
|
const data = input;
|
|
23676
|
-
return client.runGeneratedRequest("
|
|
24710
|
+
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
23677
24711
|
client.httpClient,
|
|
23678
24712
|
client.organizationId,
|
|
23679
24713
|
client.workspaceIdNumber,
|
|
23680
|
-
data.
|
|
24714
|
+
data.time_entry_id,
|
|
23681
24715
|
data.payload ?? data.data ?? data,
|
|
23682
24716
|
void 0
|
|
23683
24717
|
]));
|
|
@@ -23713,37 +24747,6 @@ const generatedFocusOperations = [
|
|
|
23713
24747
|
]));
|
|
23714
24748
|
}
|
|
23715
24749
|
},
|
|
23716
|
-
{
|
|
23717
|
-
id: "focus.time-off.delete-timeoff-for-ghost",
|
|
23718
|
-
family: "focus",
|
|
23719
|
-
resource: "time-off",
|
|
23720
|
-
action: "delete-timeoff-for-ghost",
|
|
23721
|
-
title: "Delete Timeoff For Ghost Time Off",
|
|
23722
|
-
description: "Delete Timeoff For Ghost Time Off.",
|
|
23723
|
-
safety: "delete",
|
|
23724
|
-
destructive: true,
|
|
23725
|
-
cli: {
|
|
23726
|
-
group: ["time-off"],
|
|
23727
|
-
command: "delete-timeoff-for-ghost",
|
|
23728
|
-
interactive: "hidden"
|
|
23729
|
-
},
|
|
23730
|
-
mcp: { entityTool: "time-off" },
|
|
23731
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23732
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
23733
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
23734
|
-
}),
|
|
23735
|
-
execute: (input, { client }) => {
|
|
23736
|
-
const data = input;
|
|
23737
|
-
return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
|
|
23738
|
-
client.httpClient,
|
|
23739
|
-
client.organizationId,
|
|
23740
|
-
client.workspaceIdNumber,
|
|
23741
|
-
data.ghost_id,
|
|
23742
|
-
data.payload ?? data.data ?? data,
|
|
23743
|
-
void 0
|
|
23744
|
-
]));
|
|
23745
|
-
}
|
|
23746
|
-
},
|
|
23747
24750
|
{
|
|
23748
24751
|
id: "focus.time-off.delete-timeoff-for-user",
|
|
23749
24752
|
family: "focus",
|
|
@@ -23774,38 +24777,6 @@ const generatedFocusOperations = [
|
|
|
23774
24777
|
]));
|
|
23775
24778
|
}
|
|
23776
24779
|
},
|
|
23777
|
-
{
|
|
23778
|
-
id: "focus.time-off.get-timeoff-for-ghost",
|
|
23779
|
-
family: "focus",
|
|
23780
|
-
resource: "time-off",
|
|
23781
|
-
action: "get-timeoff-for-ghost",
|
|
23782
|
-
title: "Get Timeoff For Ghost Time Off",
|
|
23783
|
-
description: "Get Timeoff For Ghost Time Off.",
|
|
23784
|
-
safety: "read",
|
|
23785
|
-
destructive: false,
|
|
23786
|
-
cli: {
|
|
23787
|
-
group: ["time-off"],
|
|
23788
|
-
command: "get-timeoff-for-ghost",
|
|
23789
|
-
interactive: "hidden"
|
|
23790
|
-
},
|
|
23791
|
-
mcp: { entityTool: "time-off" },
|
|
23792
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23793
|
-
from: /* @__PURE__ */ unknown$1(),
|
|
23794
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
23795
|
-
to: /* @__PURE__ */ unknown$1()
|
|
23796
|
-
}),
|
|
23797
|
-
execute: (input, { client }) => {
|
|
23798
|
-
const data = input;
|
|
23799
|
-
return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
|
|
23800
|
-
client.httpClient,
|
|
23801
|
-
client.organizationId,
|
|
23802
|
-
client.workspaceIdNumber,
|
|
23803
|
-
data.ghost_id,
|
|
23804
|
-
data,
|
|
23805
|
-
void 0
|
|
23806
|
-
]));
|
|
23807
|
-
}
|
|
23808
|
-
},
|
|
23809
24780
|
{
|
|
23810
24781
|
id: "focus.time-off.get-timeoff-for-user",
|
|
23811
24782
|
family: "focus",
|
|
@@ -23837,37 +24808,6 @@ const generatedFocusOperations = [
|
|
|
23837
24808
|
]));
|
|
23838
24809
|
}
|
|
23839
24810
|
},
|
|
23840
|
-
{
|
|
23841
|
-
id: "focus.time-off.get-timeoffs-by-ghost-ids",
|
|
23842
|
-
family: "focus",
|
|
23843
|
-
resource: "time-off",
|
|
23844
|
-
action: "get-timeoffs-by-ghost-ids",
|
|
23845
|
-
title: "Get Timeoffs By Ghost Ids Time Off",
|
|
23846
|
-
description: "Get Timeoffs By Ghost Ids Time Off.",
|
|
23847
|
-
safety: "read",
|
|
23848
|
-
destructive: false,
|
|
23849
|
-
cli: {
|
|
23850
|
-
group: ["time-off"],
|
|
23851
|
-
command: "get-timeoffs-by-ghost-ids",
|
|
23852
|
-
interactive: "hidden"
|
|
23853
|
-
},
|
|
23854
|
-
mcp: { entityTool: "time-off" },
|
|
23855
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23856
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23857
|
-
ghost_ids: /* @__PURE__ */ unknown$1(),
|
|
23858
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
|
|
23859
|
-
}),
|
|
23860
|
-
execute: (input, { client }) => {
|
|
23861
|
-
const data = input;
|
|
23862
|
-
return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
|
|
23863
|
-
client.httpClient,
|
|
23864
|
-
client.organizationId,
|
|
23865
|
-
client.workspaceIdNumber,
|
|
23866
|
-
data,
|
|
23867
|
-
void 0
|
|
23868
|
-
]));
|
|
23869
|
-
}
|
|
23870
|
-
},
|
|
23871
24811
|
{
|
|
23872
24812
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
23873
24813
|
family: "focus",
|
|
@@ -23898,37 +24838,6 @@ const generatedFocusOperations = [
|
|
|
23898
24838
|
]));
|
|
23899
24839
|
}
|
|
23900
24840
|
},
|
|
23901
|
-
{
|
|
23902
|
-
id: "focus.time-off.update-timeoff-for-ghost",
|
|
23903
|
-
family: "focus",
|
|
23904
|
-
resource: "time-off",
|
|
23905
|
-
action: "update-timeoff-for-ghost",
|
|
23906
|
-
title: "Update Timeoff For Ghost Time Off",
|
|
23907
|
-
description: "Update Timeoff For Ghost Time Off.",
|
|
23908
|
-
safety: "update",
|
|
23909
|
-
destructive: false,
|
|
23910
|
-
cli: {
|
|
23911
|
-
group: ["time-off"],
|
|
23912
|
-
command: "update-timeoff-for-ghost",
|
|
23913
|
-
interactive: "hidden"
|
|
23914
|
-
},
|
|
23915
|
-
mcp: { entityTool: "time-off" },
|
|
23916
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23917
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
23918
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
23919
|
-
}),
|
|
23920
|
-
execute: (input, { client }) => {
|
|
23921
|
-
const data = input;
|
|
23922
|
-
return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
|
|
23923
|
-
client.httpClient,
|
|
23924
|
-
client.organizationId,
|
|
23925
|
-
client.workspaceIdNumber,
|
|
23926
|
-
data.ghost_id,
|
|
23927
|
-
data.payload ?? data.data ?? data,
|
|
23928
|
-
void 0
|
|
23929
|
-
]));
|
|
23930
|
-
}
|
|
23931
|
-
},
|
|
23932
24841
|
{
|
|
23933
24842
|
id: "focus.time-off.update-timeoff-for-user",
|
|
23934
24843
|
family: "focus",
|
|
@@ -24960,6 +25869,7 @@ const generatedFocusOperations = [
|
|
|
24960
25869
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24961
25870
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24962
25871
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25872
|
+
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24963
25873
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24964
25874
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24965
25875
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -25061,37 +25971,6 @@ const generatedFocusOperations = [
|
|
|
25061
25971
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
25062
25972
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
25063
25973
|
},
|
|
25064
|
-
{
|
|
25065
|
-
id: "focus.working-hours.create-for-ghost",
|
|
25066
|
-
family: "focus",
|
|
25067
|
-
resource: "working-hours",
|
|
25068
|
-
action: "create-for-ghost",
|
|
25069
|
-
title: "Create For Ghost Working Hours",
|
|
25070
|
-
description: "Create For Ghost Working Hours.",
|
|
25071
|
-
safety: "create",
|
|
25072
|
-
destructive: false,
|
|
25073
|
-
cli: {
|
|
25074
|
-
group: ["working-hours"],
|
|
25075
|
-
command: "create-for-ghost",
|
|
25076
|
-
interactive: "hidden"
|
|
25077
|
-
},
|
|
25078
|
-
mcp: { entityTool: "working-hours" },
|
|
25079
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25080
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
25081
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
25082
|
-
}),
|
|
25083
|
-
execute: (input, { client }) => {
|
|
25084
|
-
const data = input;
|
|
25085
|
-
return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
|
|
25086
|
-
client.httpClient,
|
|
25087
|
-
client.organizationId,
|
|
25088
|
-
client.workspaceIdNumber,
|
|
25089
|
-
data.ghost_id,
|
|
25090
|
-
data.payload ?? data.data ?? data,
|
|
25091
|
-
void 0
|
|
25092
|
-
]));
|
|
25093
|
-
}
|
|
25094
|
-
},
|
|
25095
25974
|
{
|
|
25096
25975
|
id: "focus.working-hours.create-for-user",
|
|
25097
25976
|
family: "focus",
|
|
@@ -25122,37 +26001,6 @@ const generatedFocusOperations = [
|
|
|
25122
26001
|
]));
|
|
25123
26002
|
}
|
|
25124
26003
|
},
|
|
25125
|
-
{
|
|
25126
|
-
id: "focus.working-hours.delete-for-ghost",
|
|
25127
|
-
family: "focus",
|
|
25128
|
-
resource: "working-hours",
|
|
25129
|
-
action: "delete-for-ghost",
|
|
25130
|
-
title: "Delete For Ghost Working Hours",
|
|
25131
|
-
description: "Delete For Ghost Working Hours.",
|
|
25132
|
-
safety: "delete",
|
|
25133
|
-
destructive: true,
|
|
25134
|
-
cli: {
|
|
25135
|
-
group: ["working-hours"],
|
|
25136
|
-
command: "delete-for-ghost",
|
|
25137
|
-
interactive: "hidden"
|
|
25138
|
-
},
|
|
25139
|
-
mcp: { entityTool: "working-hours" },
|
|
25140
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25141
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
25142
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
25143
|
-
}),
|
|
25144
|
-
execute: (input, { client }) => {
|
|
25145
|
-
const data = input;
|
|
25146
|
-
return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
|
|
25147
|
-
client.httpClient,
|
|
25148
|
-
client.organizationId,
|
|
25149
|
-
client.workspaceIdNumber,
|
|
25150
|
-
data.ghost_id,
|
|
25151
|
-
data.payload ?? data.data ?? data,
|
|
25152
|
-
void 0
|
|
25153
|
-
]));
|
|
25154
|
-
}
|
|
25155
|
-
},
|
|
25156
26004
|
{
|
|
25157
26005
|
id: "focus.working-hours.delete-for-user",
|
|
25158
26006
|
family: "focus",
|
|
@@ -25183,33 +26031,6 @@ const generatedFocusOperations = [
|
|
|
25183
26031
|
]));
|
|
25184
26032
|
}
|
|
25185
26033
|
},
|
|
25186
|
-
{
|
|
25187
|
-
id: "focus.working-hours.get-for-ghost",
|
|
25188
|
-
family: "focus",
|
|
25189
|
-
resource: "working-hours",
|
|
25190
|
-
action: "get-for-ghost",
|
|
25191
|
-
title: "Get For Ghost Working Hours",
|
|
25192
|
-
description: "Get For Ghost Working Hours.",
|
|
25193
|
-
safety: "read",
|
|
25194
|
-
destructive: false,
|
|
25195
|
-
cli: {
|
|
25196
|
-
group: ["working-hours"],
|
|
25197
|
-
command: "get-for-ghost",
|
|
25198
|
-
interactive: "available"
|
|
25199
|
-
},
|
|
25200
|
-
mcp: { entityTool: "working-hours" },
|
|
25201
|
-
inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
|
|
25202
|
-
execute: (input, { client }) => {
|
|
25203
|
-
const data = input;
|
|
25204
|
-
return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
|
|
25205
|
-
client.httpClient,
|
|
25206
|
-
client.organizationId,
|
|
25207
|
-
client.workspaceIdNumber,
|
|
25208
|
-
data.ghost_id,
|
|
25209
|
-
void 0
|
|
25210
|
-
]));
|
|
25211
|
-
}
|
|
25212
|
-
},
|
|
25213
26034
|
{
|
|
25214
26035
|
id: "focus.working-hours.get-for-user",
|
|
25215
26036
|
family: "focus",
|
|
@@ -25236,37 +26057,6 @@ const generatedFocusOperations = [
|
|
|
25236
26057
|
]));
|
|
25237
26058
|
}
|
|
25238
26059
|
},
|
|
25239
|
-
{
|
|
25240
|
-
id: "focus.working-hours.update-for-ghost",
|
|
25241
|
-
family: "focus",
|
|
25242
|
-
resource: "working-hours",
|
|
25243
|
-
action: "update-for-ghost",
|
|
25244
|
-
title: "Update For Ghost Working Hours",
|
|
25245
|
-
description: "Update For Ghost Working Hours.",
|
|
25246
|
-
safety: "update",
|
|
25247
|
-
destructive: false,
|
|
25248
|
-
cli: {
|
|
25249
|
-
group: ["working-hours"],
|
|
25250
|
-
command: "update-for-ghost",
|
|
25251
|
-
interactive: "hidden"
|
|
25252
|
-
},
|
|
25253
|
-
mcp: { entityTool: "working-hours" },
|
|
25254
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25255
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
25256
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
25257
|
-
}),
|
|
25258
|
-
execute: (input, { client }) => {
|
|
25259
|
-
const data = input;
|
|
25260
|
-
return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
|
|
25261
|
-
client.httpClient,
|
|
25262
|
-
client.organizationId,
|
|
25263
|
-
client.workspaceIdNumber,
|
|
25264
|
-
data.ghost_id,
|
|
25265
|
-
data.payload ?? data.data ?? data,
|
|
25266
|
-
void 0
|
|
25267
|
-
]));
|
|
25268
|
-
}
|
|
25269
|
-
},
|
|
25270
26060
|
{
|
|
25271
26061
|
id: "focus.working-hours.update-for-user",
|
|
25272
26062
|
family: "focus",
|
|
@@ -25341,6 +26131,50 @@ const generatedFocusOperations = [
|
|
|
25341
26131
|
void 0
|
|
25342
26132
|
]))
|
|
25343
26133
|
},
|
|
26134
|
+
{
|
|
26135
|
+
id: "focus.workspace-settings.get-workspace-export-branding",
|
|
26136
|
+
family: "focus",
|
|
26137
|
+
resource: "workspace-settings",
|
|
26138
|
+
action: "get-workspace-export-branding",
|
|
26139
|
+
title: "Get Workspace Export Branding Workspace Settings",
|
|
26140
|
+
description: "Get Workspace Export Branding Workspace Settings.",
|
|
26141
|
+
safety: "read",
|
|
26142
|
+
destructive: false,
|
|
26143
|
+
cli: {
|
|
26144
|
+
group: ["workspace-settings"],
|
|
26145
|
+
command: "get-workspace-export-branding",
|
|
26146
|
+
interactive: "hidden"
|
|
26147
|
+
},
|
|
26148
|
+
mcp: { entityTool: "workspace-settings" },
|
|
26149
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26150
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
|
|
26151
|
+
client.httpClient,
|
|
26152
|
+
client.workspaceIdNumber,
|
|
26153
|
+
void 0
|
|
26154
|
+
]))
|
|
26155
|
+
},
|
|
26156
|
+
{
|
|
26157
|
+
id: "focus.workspace-settings.get-workspace-watermark",
|
|
26158
|
+
family: "focus",
|
|
26159
|
+
resource: "workspace-settings",
|
|
26160
|
+
action: "get-workspace-watermark",
|
|
26161
|
+
title: "Get Workspace Watermark Workspace Settings",
|
|
26162
|
+
description: "Get Workspace Watermark Workspace Settings.",
|
|
26163
|
+
safety: "read",
|
|
26164
|
+
destructive: false,
|
|
26165
|
+
cli: {
|
|
26166
|
+
group: ["workspace-settings"],
|
|
26167
|
+
command: "get-workspace-watermark",
|
|
26168
|
+
interactive: "hidden"
|
|
26169
|
+
},
|
|
26170
|
+
mcp: { entityTool: "workspace-settings" },
|
|
26171
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
26172
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
|
|
26173
|
+
client.httpClient,
|
|
26174
|
+
client.workspaceIdNumber,
|
|
26175
|
+
void 0
|
|
26176
|
+
]))
|
|
26177
|
+
},
|
|
25344
26178
|
{
|
|
25345
26179
|
id: "focus.workspace-settings.list",
|
|
25346
26180
|
family: "focus",
|
|
@@ -25415,6 +26249,32 @@ const generatedFocusOperations = [
|
|
|
25415
26249
|
]));
|
|
25416
26250
|
}
|
|
25417
26251
|
},
|
|
26252
|
+
{
|
|
26253
|
+
id: "focus.workspace-settings.update-workspace-watermark",
|
|
26254
|
+
family: "focus",
|
|
26255
|
+
resource: "workspace-settings",
|
|
26256
|
+
action: "update-workspace-watermark",
|
|
26257
|
+
title: "Update Workspace Watermark Workspace Settings",
|
|
26258
|
+
description: "Update Workspace Watermark Workspace Settings.",
|
|
26259
|
+
safety: "update",
|
|
26260
|
+
destructive: false,
|
|
26261
|
+
cli: {
|
|
26262
|
+
group: ["workspace-settings"],
|
|
26263
|
+
command: "update-workspace-watermark",
|
|
26264
|
+
interactive: "default"
|
|
26265
|
+
},
|
|
26266
|
+
mcp: { entityTool: "workspace-settings" },
|
|
26267
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
|
|
26268
|
+
execute: (input, { client }) => {
|
|
26269
|
+
const data = input;
|
|
26270
|
+
return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
|
|
26271
|
+
client.httpClient,
|
|
26272
|
+
client.workspaceIdNumber,
|
|
26273
|
+
data.payload ?? data.data ?? data,
|
|
26274
|
+
void 0
|
|
26275
|
+
]));
|
|
26276
|
+
}
|
|
26277
|
+
},
|
|
25418
26278
|
{
|
|
25419
26279
|
id: "focus.workspace.get-context",
|
|
25420
26280
|
family: "focus",
|
|
@@ -27054,4 +27914,4 @@ Common commands:
|
|
|
27054
27914
|
//#endregion
|
|
27055
27915
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
27056
27916
|
|
|
27057
|
-
//# sourceMappingURL=program-
|
|
27917
|
+
//# sourceMappingURL=program-CnoK4Njy.js.map
|