@togglhq/mcp 1.11.145 → 1.11.146
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 +2 -2
- package/build/index.js +1 -1
- package/build/{src-DM9DnITM.js → src-BuYfRBM-.js} +1428 -588
- package/package.json +1 -1
|
@@ -34625,11 +34625,7 @@ function safeParse(schema, input, config$1) {
|
|
|
34625
34625
|
}
|
|
34626
34626
|
const TaskAssignmentSchema = /* @__PURE__ */ object({
|
|
34627
34627
|
id: /* @__PURE__ */ number(),
|
|
34628
|
-
type: /* @__PURE__ */ picklist([
|
|
34629
|
-
"user",
|
|
34630
|
-
"ghost",
|
|
34631
|
-
"team"
|
|
34632
|
-
])
|
|
34628
|
+
type: /* @__PURE__ */ picklist(["user", "team"])
|
|
34633
34629
|
});
|
|
34634
34630
|
const ClientLiteSchema = /* @__PURE__ */ object({
|
|
34635
34631
|
id: /* @__PURE__ */ number(),
|
|
@@ -34671,7 +34667,8 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
34671
34667
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34672
34668
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
34673
34669
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34674
|
-
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
34670
|
+
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
34671
|
+
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.")))
|
|
34675
34672
|
});
|
|
34676
34673
|
const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
34677
34674
|
all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -34681,6 +34678,7 @@ const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
|
34681
34678
|
extension_url: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34682
34679
|
external_id: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34683
34680
|
ical_uid: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34681
|
+
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."))),
|
|
34684
34682
|
meeting_link: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34685
34683
|
project_assignment: /* @__PURE__ */ optional(/* @__PURE__ */ object({
|
|
34686
34684
|
origin: /* @__PURE__ */ picklist([
|
|
@@ -34743,7 +34741,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34743
34741
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34744
34742
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
34745
34743
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34746
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34744
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
34747
34745
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34748
34746
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34749
34747
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34751,7 +34749,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34751
34749
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34752
34750
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34753
34751
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34754
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34755
34752
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34756
34753
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34757
34754
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -34761,6 +34758,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34761
34758
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34762
34759
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34763
34760
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34761
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34764
34762
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34765
34763
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34766
34764
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -34804,7 +34802,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34804
34802
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34805
34803
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
34806
34804
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34807
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34805
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
34808
34806
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34809
34807
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34810
34808
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34812,7 +34810,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34812
34810
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34813
34811
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34814
34812
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34815
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34816
34813
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34817
34814
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34818
34815
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -34823,6 +34820,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34823
34820
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34824
34821
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34825
34822
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34823
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34826
34824
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34827
34825
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34828
34826
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -34981,7 +34979,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
34981
34979
|
tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
|
|
34982
34980
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
34983
34981
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34984
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
34982
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
34985
34983
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34986
34984
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
34987
34985
|
});
|
|
@@ -35125,7 +35123,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35125
35123
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
35126
35124
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35127
35125
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35128
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
35126
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
35129
35127
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35130
35128
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35131
35129
|
})),
|
|
@@ -35137,9 +35135,15 @@ const TagSchema$1 = /* @__PURE__ */ object({
|
|
|
35137
35135
|
id: /* @__PURE__ */ number(),
|
|
35138
35136
|
name: /* @__PURE__ */ string(),
|
|
35139
35137
|
workspace_id: /* @__PURE__ */ number(),
|
|
35138
|
+
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."))),
|
|
35140
35139
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35141
35140
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35142
|
-
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35141
|
+
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35142
|
+
usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
|
|
35143
|
+
projects: /* @__PURE__ */ number(),
|
|
35144
|
+
tasks: /* @__PURE__ */ number(),
|
|
35145
|
+
time_entries: /* @__PURE__ */ number()
|
|
35146
|
+
})), /* @__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.")))
|
|
35143
35147
|
});
|
|
35144
35148
|
const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
35145
35149
|
data: /* @__PURE__ */ array(TagSchema$1),
|
|
@@ -35150,8 +35154,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
35150
35154
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
35151
35155
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
35152
35156
|
account_locked_at: /* @__PURE__ */ string(),
|
|
35157
|
+
accounts_role_id: /* @__PURE__ */ number(),
|
|
35153
35158
|
active: /* @__PURE__ */ boolean(),
|
|
35154
|
-
admin: /* @__PURE__ */ boolean(),
|
|
35155
35159
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
35156
35160
|
created_at: /* @__PURE__ */ string(),
|
|
35157
35161
|
deleted_at: /* @__PURE__ */ string(),
|
|
@@ -35200,7 +35204,9 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
35200
35204
|
track_role_id: /* @__PURE__ */ number(),
|
|
35201
35205
|
work_role_id: /* @__PURE__ */ number(),
|
|
35202
35206
|
workspace_user_id: /* @__PURE__ */ number()
|
|
35203
|
-
}))
|
|
35207
|
+
})),
|
|
35208
|
+
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
35209
|
+
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.")))
|
|
35204
35210
|
});
|
|
35205
35211
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35206
35212
|
const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
@@ -35277,8 +35283,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35277
35283
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35278
35284
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35279
35285
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35280
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35281
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35286
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
35282
35287
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35283
35288
|
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35284
35289
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -35294,6 +35299,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35294
35299
|
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35295
35300
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35296
35301
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35302
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35297
35303
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35298
35304
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35299
35305
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -35303,22 +35309,23 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35303
35309
|
const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35304
35310
|
const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
35305
35311
|
cascade_duplicate_children: /* @__PURE__ */ boolean(),
|
|
35306
|
-
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
35312
|
+
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)),
|
|
35313
|
+
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.")))
|
|
35307
35314
|
});
|
|
35308
35315
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35309
35316
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35310
35317
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
35318
|
+
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35311
35319
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
35312
35320
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35313
35321
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35314
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35322
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35315
35323
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35316
35324
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
35317
35325
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35318
35326
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35319
35327
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35320
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35321
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35328
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
35322
35329
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35323
35330
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35324
35331
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35335,6 +35342,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35335
35342
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35336
35343
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35337
35344
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35345
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35338
35346
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35339
35347
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35340
35348
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -35343,17 +35351,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35343
35351
|
});
|
|
35344
35352
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
35345
35353
|
id: /* @__PURE__ */ number(),
|
|
35354
|
+
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35346
35355
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
35347
35356
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35348
35357
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35349
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35358
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35350
35359
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35351
35360
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
35352
35361
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35353
35362
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35354
35363
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35355
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35356
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35364
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
35357
35365
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35358
35366
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35359
35367
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35370,6 +35378,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35370
35378
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35371
35379
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35372
35380
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35381
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35373
35382
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35374
35383
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35375
35384
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -37293,7 +37302,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37293
37302
|
})
|
|
37294
37303
|
}).json();
|
|
37295
37304
|
}
|
|
37296
|
-
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) {
|
|
37305
|
+
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) {
|
|
37297
37306
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37298
37307
|
signal,
|
|
37299
37308
|
searchParams: buildSearchParams$2({
|
|
@@ -37313,7 +37322,10 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37313
37322
|
include_working_hours,
|
|
37314
37323
|
include_rates,
|
|
37315
37324
|
pinned_ids,
|
|
37316
|
-
has_group
|
|
37325
|
+
has_group,
|
|
37326
|
+
cf_filter,
|
|
37327
|
+
include_custom_fields,
|
|
37328
|
+
include_calendar_integration
|
|
37317
37329
|
}, true)
|
|
37318
37330
|
});
|
|
37319
37331
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -37332,7 +37344,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
37332
37344
|
}
|
|
37333
37345
|
//#endregion
|
|
37334
37346
|
//#region ../focus-queries/dist/tags/requests.ts
|
|
37335
|
-
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
|
|
37347
|
+
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
|
|
37336
37348
|
return await httpClient.get(`workspaces/${workspace_id}/tags`, {
|
|
37337
37349
|
signal,
|
|
37338
37350
|
searchParams: buildSearchParams$2({
|
|
@@ -37340,7 +37352,10 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
|
|
|
37340
37352
|
page,
|
|
37341
37353
|
per_page,
|
|
37342
37354
|
order_by,
|
|
37343
|
-
tag_id
|
|
37355
|
+
tag_id,
|
|
37356
|
+
include_usage,
|
|
37357
|
+
include_archived,
|
|
37358
|
+
archived
|
|
37344
37359
|
})
|
|
37345
37360
|
}).json();
|
|
37346
37361
|
}
|
|
@@ -37350,6 +37365,42 @@ async function createTag(httpClient, workspace_id, data, signal) {
|
|
|
37350
37365
|
json: data
|
|
37351
37366
|
}).json();
|
|
37352
37367
|
}
|
|
37368
|
+
async function bulkCreateTags(httpClient, workspace_id, data, signal) {
|
|
37369
|
+
return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
|
|
37370
|
+
signal,
|
|
37371
|
+
json: data
|
|
37372
|
+
}).json();
|
|
37373
|
+
}
|
|
37374
|
+
async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
|
|
37375
|
+
return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
|
|
37376
|
+
signal,
|
|
37377
|
+
searchParams: buildSearchParams$2({ ids })
|
|
37378
|
+
}).json();
|
|
37379
|
+
}
|
|
37380
|
+
async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
|
|
37381
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
|
|
37382
|
+
signal,
|
|
37383
|
+
json: data
|
|
37384
|
+
}).json();
|
|
37385
|
+
}
|
|
37386
|
+
async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
|
|
37387
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
|
|
37388
|
+
signal,
|
|
37389
|
+
json: data
|
|
37390
|
+
}).json();
|
|
37391
|
+
}
|
|
37392
|
+
async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
|
|
37393
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
|
|
37394
|
+
signal,
|
|
37395
|
+
json: data
|
|
37396
|
+
}).json();
|
|
37397
|
+
}
|
|
37398
|
+
async function mergeTags(httpClient, workspace_id, data, signal) {
|
|
37399
|
+
return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
|
|
37400
|
+
signal,
|
|
37401
|
+
json: data
|
|
37402
|
+
}).json();
|
|
37403
|
+
}
|
|
37353
37404
|
async function getTag(httpClient, workspace_id, tag_id, signal) {
|
|
37354
37405
|
return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
37355
37406
|
}
|
|
@@ -37362,12 +37413,18 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
|
|
|
37362
37413
|
async function deleteTag(httpClient, workspace_id, tag_id, signal) {
|
|
37363
37414
|
return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
37364
37415
|
}
|
|
37416
|
+
async function archiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
37417
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
|
|
37418
|
+
}
|
|
37365
37419
|
async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
37366
37420
|
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
|
|
37367
37421
|
}
|
|
37422
|
+
async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
37423
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
|
|
37424
|
+
}
|
|
37368
37425
|
//#endregion
|
|
37369
37426
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37370
|
-
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) {
|
|
37427
|
+
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) {
|
|
37371
37428
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37372
37429
|
signal,
|
|
37373
37430
|
searchParams: buildSearchParams$2({
|
|
@@ -37385,9 +37442,11 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
37385
37442
|
assignee_user_id,
|
|
37386
37443
|
project_id,
|
|
37387
37444
|
user_id,
|
|
37445
|
+
only_me,
|
|
37388
37446
|
include_rates,
|
|
37389
37447
|
include_rollover,
|
|
37390
37448
|
include_idle_recurring_templates,
|
|
37449
|
+
collapse_recurring,
|
|
37391
37450
|
include_drafts,
|
|
37392
37451
|
include_locked_private,
|
|
37393
37452
|
start_date,
|
|
@@ -37618,7 +37677,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37618
37677
|
}
|
|
37619
37678
|
//#endregion
|
|
37620
37679
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37621
|
-
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,
|
|
37680
|
+
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) {
|
|
37622
37681
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37623
37682
|
signal,
|
|
37624
37683
|
searchParams: buildSearchParams$2({
|
|
@@ -37666,10 +37725,8 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37666
37725
|
recurring_task_ids,
|
|
37667
37726
|
client_id,
|
|
37668
37727
|
include_rates,
|
|
37669
|
-
include_ghost_assignees,
|
|
37670
37728
|
include_assignees,
|
|
37671
37729
|
include_parent_matches,
|
|
37672
|
-
assignee_ghost_id,
|
|
37673
37730
|
disable_aggregations,
|
|
37674
37731
|
cf_filter
|
|
37675
37732
|
})
|
|
@@ -37755,7 +37812,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
|
|
|
37755
37812
|
})
|
|
37756
37813
|
}).json();
|
|
37757
37814
|
}
|
|
37758
|
-
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,
|
|
37815
|
+
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) {
|
|
37759
37816
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37760
37817
|
signal,
|
|
37761
37818
|
searchParams: buildSearchParams$2({
|
|
@@ -37768,14 +37825,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37768
37825
|
dates_overlap_end,
|
|
37769
37826
|
recurring_task_ids,
|
|
37770
37827
|
team_id,
|
|
37828
|
+
assignee_team_id,
|
|
37771
37829
|
assignee_user_id,
|
|
37772
37830
|
tag_id,
|
|
37773
|
-
include_ghost_assignees,
|
|
37774
37831
|
include_assignees
|
|
37775
37832
|
})
|
|
37776
37833
|
}).json();
|
|
37777
37834
|
}
|
|
37778
|
-
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,
|
|
37835
|
+
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) {
|
|
37779
37836
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37780
37837
|
signal,
|
|
37781
37838
|
searchParams: buildSearchParams$2({
|
|
@@ -37819,20 +37876,15 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37819
37876
|
recurring,
|
|
37820
37877
|
recurring_task_ids,
|
|
37821
37878
|
client_id,
|
|
37822
|
-
include_ghost_assignees,
|
|
37823
37879
|
include_assignees,
|
|
37824
|
-
assignee_ghost_id,
|
|
37825
37880
|
cf_filter
|
|
37826
37881
|
})
|
|
37827
37882
|
}).json();
|
|
37828
37883
|
}
|
|
37829
|
-
async function getTask(httpClient, organization_id, workspace_id, task_id, {
|
|
37884
|
+
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
|
|
37830
37885
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
37831
37886
|
signal,
|
|
37832
|
-
searchParams: buildSearchParams$2({
|
|
37833
|
-
include_ghost_assignees,
|
|
37834
|
-
include_assignees
|
|
37835
|
-
})
|
|
37887
|
+
searchParams: buildSearchParams$2({ include_assignees })
|
|
37836
37888
|
}).json();
|
|
37837
37889
|
}
|
|
37838
37890
|
async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
@@ -37863,7 +37915,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
|
|
|
37863
37915
|
searchParams: buildSearchParams$2({ from_recurring_task_id })
|
|
37864
37916
|
}).json();
|
|
37865
37917
|
}
|
|
37866
|
-
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,
|
|
37918
|
+
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) {
|
|
37867
37919
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
|
|
37868
37920
|
signal,
|
|
37869
37921
|
searchParams: buildSearchParams$2({
|
|
@@ -37876,12 +37928,11 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
37876
37928
|
team_id,
|
|
37877
37929
|
assignee_user_id,
|
|
37878
37930
|
tag_id,
|
|
37879
|
-
include_ghost_assignees,
|
|
37880
37931
|
include_assignees
|
|
37881
37932
|
})
|
|
37882
37933
|
}).json();
|
|
37883
37934
|
}
|
|
37884
|
-
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,
|
|
37935
|
+
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) {
|
|
37885
37936
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
37886
37937
|
signal,
|
|
37887
37938
|
searchParams: buildSearchParams$2({
|
|
@@ -37894,7 +37945,6 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
37894
37945
|
team_id,
|
|
37895
37946
|
assignee_user_id,
|
|
37896
37947
|
tag_id,
|
|
37897
|
-
include_ghost_assignees,
|
|
37898
37948
|
include_assignees
|
|
37899
37949
|
})
|
|
37900
37950
|
}).json();
|
|
@@ -37996,6 +38046,12 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
37996
38046
|
})
|
|
37997
38047
|
}).json();
|
|
37998
38048
|
}
|
|
38049
|
+
async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
|
|
38050
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
|
|
38051
|
+
signal,
|
|
38052
|
+
json: data
|
|
38053
|
+
}).json();
|
|
38054
|
+
}
|
|
37999
38055
|
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
38000
38056
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
38001
38057
|
signal,
|
|
@@ -38132,7 +38188,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38132
38188
|
]))
|
|
38133
38189
|
});
|
|
38134
38190
|
//#endregion
|
|
38135
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38191
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.125_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_dd41a645f19849b5a4873ff5ff27ddc4/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38136
38192
|
async function getInvitations(httpClient, signal) {
|
|
38137
38193
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38138
38194
|
}
|
|
@@ -38149,7 +38205,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38149
38205
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38150
38206
|
}
|
|
38151
38207
|
//#endregion
|
|
38152
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38208
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.125_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_dd41a645f19849b5a4873ff5ff27ddc4/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38153
38209
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38154
38210
|
const searchParams = new URLSearchParams();
|
|
38155
38211
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38161,7 +38217,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38161
38217
|
return searchParams;
|
|
38162
38218
|
}
|
|
38163
38219
|
//#endregion
|
|
38164
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38220
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.125_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_dd41a645f19849b5a4873ff5ff27ddc4/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38165
38221
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38166
38222
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38167
38223
|
}
|
|
@@ -38175,7 +38231,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38175
38231
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38176
38232
|
}
|
|
38177
38233
|
//#endregion
|
|
38178
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38234
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.125_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_dd41a645f19849b5a4873ff5ff27ddc4/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38179
38235
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38180
38236
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38181
38237
|
}
|
|
@@ -38184,7 +38240,7 @@ async function getWorkspaceUserMeRoles(httpClient, organization_id, workspace_id
|
|
|
38184
38240
|
}
|
|
38185
38241
|
const WorkingHoursCreateInputSchema = /* @__PURE__ */ object$2({
|
|
38186
38242
|
working_hours: /* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ maxValue$1(168)),
|
|
38187
|
-
starting_hours: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ maxValue$1(24))),
|
|
38243
|
+
starting_hours: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ minValue$1(0), /* @__PURE__ */ maxValue$1(24))),
|
|
38188
38244
|
weekday: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ minValue$1(0), /* @__PURE__ */ maxValue$1(6)))
|
|
38189
38245
|
});
|
|
38190
38246
|
const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
@@ -38195,7 +38251,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38195
38251
|
});
|
|
38196
38252
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38197
38253
|
//#endregion
|
|
38198
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38254
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.125_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_dd41a645f19849b5a4873ff5ff27ddc4/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38199
38255
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38200
38256
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38201
38257
|
signal,
|
|
@@ -38206,12 +38262,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38206
38262
|
})).json();
|
|
38207
38263
|
}
|
|
38208
38264
|
//#endregion
|
|
38209
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38265
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.125_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_dd41a645f19849b5a4873ff5ff27ddc4/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38210
38266
|
async function getStatus(httpClient, signal) {
|
|
38211
38267
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38212
38268
|
}
|
|
38213
38269
|
//#endregion
|
|
38214
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38270
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.125_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_dd41a645f19849b5a4873ff5ff27ddc4/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38215
38271
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38216
38272
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38217
38273
|
signal,
|
|
@@ -38239,7 +38295,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38239
38295
|
return response.json();
|
|
38240
38296
|
}
|
|
38241
38297
|
//#endregion
|
|
38242
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38298
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.125_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_dd41a645f19849b5a4873ff5ff27ddc4/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38243
38299
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38244
38300
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38245
38301
|
}
|
|
@@ -41843,6 +41899,21 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
41843
41899
|
}
|
|
41844
41900
|
//#endregion
|
|
41845
41901
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
41902
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41903
|
+
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
41904
|
+
signal,
|
|
41905
|
+
searchParams: buildSearchParams$2({
|
|
41906
|
+
workspace_id,
|
|
41907
|
+
entity_type,
|
|
41908
|
+
entity_id,
|
|
41909
|
+
action,
|
|
41910
|
+
user_id,
|
|
41911
|
+
page_size,
|
|
41912
|
+
page_number,
|
|
41913
|
+
export: export_
|
|
41914
|
+
})
|
|
41915
|
+
}).json();
|
|
41916
|
+
}
|
|
41846
41917
|
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41847
41918
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
41848
41919
|
signal,
|
|
@@ -42001,33 +42072,22 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42001
42072
|
}
|
|
42002
42073
|
//#endregion
|
|
42003
42074
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42004
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date,
|
|
42075
|
+
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) {
|
|
42005
42076
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42006
42077
|
signal,
|
|
42007
42078
|
searchParams: buildSearchParams$2({
|
|
42008
42079
|
user_id,
|
|
42009
42080
|
start_date,
|
|
42010
42081
|
end_date,
|
|
42011
|
-
ghost_id,
|
|
42012
42082
|
private: private_,
|
|
42013
42083
|
task_source,
|
|
42014
42084
|
unit,
|
|
42015
|
-
include_drafts
|
|
42085
|
+
include_drafts,
|
|
42086
|
+
include_task_estimates
|
|
42016
42087
|
})
|
|
42017
42088
|
}).json();
|
|
42018
42089
|
}
|
|
42019
42090
|
//#endregion
|
|
42020
|
-
//#region ../focus-queries/dist/capacity-settings/requests.ts
|
|
42021
|
-
async function getCapacitySettings(httpClient, workspace_id, signal) {
|
|
42022
|
-
return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
|
|
42023
|
-
}
|
|
42024
|
-
async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
|
|
42025
|
-
return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
|
|
42026
|
-
signal,
|
|
42027
|
-
json: data
|
|
42028
|
-
}).json();
|
|
42029
|
-
}
|
|
42030
|
-
//#endregion
|
|
42031
42091
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
42032
42092
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
42033
42093
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -42110,6 +42170,12 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
42110
42170
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
42111
42171
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
42112
42172
|
}
|
|
42173
|
+
async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
|
|
42174
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
|
|
42175
|
+
signal,
|
|
42176
|
+
json: data
|
|
42177
|
+
}).json();
|
|
42178
|
+
}
|
|
42113
42179
|
//#endregion
|
|
42114
42180
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
42115
42181
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -42335,7 +42401,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42335
42401
|
}
|
|
42336
42402
|
//#endregion
|
|
42337
42403
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
42338
|
-
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) {
|
|
42404
|
+
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) {
|
|
42339
42405
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42340
42406
|
signal,
|
|
42341
42407
|
searchParams: buildSearchParams$2({
|
|
@@ -42347,6 +42413,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42347
42413
|
include_group_totals,
|
|
42348
42414
|
include_unassigned,
|
|
42349
42415
|
archived,
|
|
42416
|
+
completed,
|
|
42350
42417
|
private: private_,
|
|
42351
42418
|
name,
|
|
42352
42419
|
client_id,
|
|
@@ -42358,6 +42425,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42358
42425
|
start_date,
|
|
42359
42426
|
end_date,
|
|
42360
42427
|
user_id,
|
|
42428
|
+
only_me,
|
|
42361
42429
|
include_drafts,
|
|
42362
42430
|
cf_filter
|
|
42363
42431
|
})
|
|
@@ -42473,10 +42541,14 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
42473
42541
|
}
|
|
42474
42542
|
//#endregion
|
|
42475
42543
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
42476
|
-
async function
|
|
42544
|
+
async function getForecastAvailability(httpClient, workspace_id, signal) {
|
|
42545
|
+
return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
|
|
42546
|
+
}
|
|
42547
|
+
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
|
|
42477
42548
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
42478
42549
|
signal,
|
|
42479
42550
|
json: data,
|
|
42551
|
+
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
42480
42552
|
searchParams: buildSearchParams$2({
|
|
42481
42553
|
response_format,
|
|
42482
42554
|
include_dicts
|
|
@@ -42500,12 +42572,36 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
42500
42572
|
json: data
|
|
42501
42573
|
}).json();
|
|
42502
42574
|
}
|
|
42503
|
-
async function
|
|
42575
|
+
async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
|
|
42576
|
+
return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
|
|
42577
|
+
signal,
|
|
42578
|
+
json: data
|
|
42579
|
+
}).json();
|
|
42580
|
+
}
|
|
42581
|
+
async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
|
|
42504
42582
|
return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
|
|
42583
|
+
signal,
|
|
42584
|
+
json: data,
|
|
42585
|
+
headers: { "X-Toggl-Report-Export": xTogglReportExport }
|
|
42586
|
+
}).json();
|
|
42587
|
+
}
|
|
42588
|
+
//#endregion
|
|
42589
|
+
//#region ../focus-queries/dist/reportschedules/requests.ts
|
|
42590
|
+
async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
|
|
42591
|
+
return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
|
|
42592
|
+
signal,
|
|
42593
|
+
json: data
|
|
42594
|
+
}).json();
|
|
42595
|
+
}
|
|
42596
|
+
async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
|
|
42597
|
+
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
|
|
42505
42598
|
signal,
|
|
42506
42599
|
json: data
|
|
42507
42600
|
}).json();
|
|
42508
42601
|
}
|
|
42602
|
+
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
42603
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
42604
|
+
}
|
|
42509
42605
|
//#endregion
|
|
42510
42606
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
42511
42607
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -42538,7 +42634,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42538
42634
|
}
|
|
42539
42635
|
//#endregion
|
|
42540
42636
|
//#region ../focus-queries/dist/search/requests.ts
|
|
42541
|
-
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) {
|
|
42637
|
+
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) {
|
|
42542
42638
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42543
42639
|
signal,
|
|
42544
42640
|
searchParams: buildSearchParams$2({
|
|
@@ -42550,11 +42646,56 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
42550
42646
|
task_id,
|
|
42551
42647
|
include_drafts,
|
|
42552
42648
|
exclude_calendar_events,
|
|
42553
|
-
group_by_tags
|
|
42649
|
+
group_by_tags,
|
|
42650
|
+
only_me
|
|
42651
|
+
})
|
|
42652
|
+
}).json();
|
|
42653
|
+
}
|
|
42654
|
+
async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
|
|
42655
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
|
|
42656
|
+
signal,
|
|
42657
|
+
searchParams: buildSearchParams$2({
|
|
42658
|
+
keyword,
|
|
42659
|
+
per_group
|
|
42554
42660
|
})
|
|
42555
42661
|
}).json();
|
|
42556
42662
|
}
|
|
42557
42663
|
//#endregion
|
|
42664
|
+
//#region ../focus-queries/dist/sharedreports/requests.ts
|
|
42665
|
+
async function shareSavedView(httpClient, workspace_id, id, data, signal) {
|
|
42666
|
+
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
|
|
42667
|
+
signal,
|
|
42668
|
+
json: data
|
|
42669
|
+
}).json();
|
|
42670
|
+
}
|
|
42671
|
+
async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
|
|
42672
|
+
return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
|
|
42673
|
+
}
|
|
42674
|
+
async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
|
|
42675
|
+
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
|
|
42676
|
+
signal,
|
|
42677
|
+
json: data
|
|
42678
|
+
}).json();
|
|
42679
|
+
}
|
|
42680
|
+
async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
|
|
42681
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
|
|
42682
|
+
}
|
|
42683
|
+
async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
42684
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
|
|
42685
|
+
}
|
|
42686
|
+
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
42687
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42688
|
+
}
|
|
42689
|
+
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
42690
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
42691
|
+
signal,
|
|
42692
|
+
json: data
|
|
42693
|
+
}).json();
|
|
42694
|
+
}
|
|
42695
|
+
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
42696
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
42697
|
+
}
|
|
42698
|
+
//#endregion
|
|
42558
42699
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
42559
42700
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
42560
42701
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
|
|
@@ -42610,7 +42751,77 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
42610
42751
|
}
|
|
42611
42752
|
//#endregion
|
|
42612
42753
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
42613
|
-
async function
|
|
42754
|
+
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) {
|
|
42755
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
42756
|
+
signal,
|
|
42757
|
+
searchParams: buildSearchParams$2({
|
|
42758
|
+
project_id,
|
|
42759
|
+
source,
|
|
42760
|
+
priority,
|
|
42761
|
+
status_id,
|
|
42762
|
+
client_id,
|
|
42763
|
+
assignee_user_id,
|
|
42764
|
+
tag_id,
|
|
42765
|
+
team_id,
|
|
42766
|
+
user_tag_id,
|
|
42767
|
+
group_id,
|
|
42768
|
+
creator_id,
|
|
42769
|
+
name,
|
|
42770
|
+
start_date,
|
|
42771
|
+
end_date,
|
|
42772
|
+
start_date_from,
|
|
42773
|
+
start_date_to,
|
|
42774
|
+
end_date_from,
|
|
42775
|
+
end_date_to,
|
|
42776
|
+
private: private_,
|
|
42777
|
+
exclude_empty,
|
|
42778
|
+
include_unassigned,
|
|
42779
|
+
include_unmaterialized,
|
|
42780
|
+
collapse_recurring,
|
|
42781
|
+
include_assignees,
|
|
42782
|
+
min_days,
|
|
42783
|
+
include_drafts,
|
|
42784
|
+
cf_filter,
|
|
42785
|
+
user_cf_filter
|
|
42786
|
+
})
|
|
42787
|
+
}).json();
|
|
42788
|
+
}
|
|
42789
|
+
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) {
|
|
42790
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
42791
|
+
signal,
|
|
42792
|
+
searchParams: buildSearchParams$2({
|
|
42793
|
+
team_id,
|
|
42794
|
+
project_id,
|
|
42795
|
+
source,
|
|
42796
|
+
priority,
|
|
42797
|
+
status_id,
|
|
42798
|
+
client_id,
|
|
42799
|
+
assignee_user_id,
|
|
42800
|
+
tag_id,
|
|
42801
|
+
user_tag_id,
|
|
42802
|
+
group_id,
|
|
42803
|
+
creator_id,
|
|
42804
|
+
name,
|
|
42805
|
+
start_date,
|
|
42806
|
+
end_date,
|
|
42807
|
+
start_date_from,
|
|
42808
|
+
start_date_to,
|
|
42809
|
+
end_date_from,
|
|
42810
|
+
end_date_to,
|
|
42811
|
+
private: private_,
|
|
42812
|
+
exclude_empty,
|
|
42813
|
+
include_unassigned,
|
|
42814
|
+
include_unmaterialized,
|
|
42815
|
+
collapse_recurring,
|
|
42816
|
+
include_assignees,
|
|
42817
|
+
min_days,
|
|
42818
|
+
include_drafts,
|
|
42819
|
+
cf_filter,
|
|
42820
|
+
user_cf_filter
|
|
42821
|
+
})
|
|
42822
|
+
}).json();
|
|
42823
|
+
}
|
|
42824
|
+
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) {
|
|
42614
42825
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
42615
42826
|
signal,
|
|
42616
42827
|
searchParams: buildSearchParams$2({
|
|
@@ -42634,11 +42845,14 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
42634
42845
|
end_date_to,
|
|
42635
42846
|
private: private_,
|
|
42636
42847
|
exclude_empty,
|
|
42637
|
-
|
|
42848
|
+
include_unassigned,
|
|
42849
|
+
include_unmaterialized,
|
|
42850
|
+
collapse_recurring,
|
|
42638
42851
|
include_assignees,
|
|
42639
42852
|
min_days,
|
|
42640
42853
|
include_drafts,
|
|
42641
42854
|
cf_filter,
|
|
42855
|
+
user_cf_filter,
|
|
42642
42856
|
page,
|
|
42643
42857
|
per_page,
|
|
42644
42858
|
order_by
|
|
@@ -42775,17 +42989,18 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
42775
42989
|
}).json();
|
|
42776
42990
|
}
|
|
42777
42991
|
//#endregion
|
|
42778
|
-
//#region ../focus-queries/dist/time-
|
|
42779
|
-
async function
|
|
42780
|
-
return await httpClient.
|
|
42992
|
+
//#region ../focus-queries/dist/time-entry-groups/requests.ts
|
|
42993
|
+
async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
|
|
42994
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
|
|
42781
42995
|
signal,
|
|
42782
|
-
|
|
42783
|
-
|
|
42784
|
-
|
|
42785
|
-
|
|
42786
|
-
|
|
42787
|
-
|
|
42788
|
-
|
|
42996
|
+
searchParams: buildSearchParams$2({
|
|
42997
|
+
start_date,
|
|
42998
|
+
end_date,
|
|
42999
|
+
user_id,
|
|
43000
|
+
page,
|
|
43001
|
+
per_page,
|
|
43002
|
+
order_by
|
|
43003
|
+
})
|
|
42789
43004
|
}).json();
|
|
42790
43005
|
}
|
|
42791
43006
|
//#endregion
|
|
@@ -42827,43 +43042,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
42827
43042
|
json: data
|
|
42828
43043
|
}).json();
|
|
42829
43044
|
}
|
|
42830
|
-
async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
|
|
42831
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
|
|
42832
|
-
signal,
|
|
42833
|
-
searchParams: buildSearchParams$2({
|
|
42834
|
-
ghost_ids,
|
|
42835
|
-
start_date,
|
|
42836
|
-
end_date
|
|
42837
|
-
})
|
|
42838
|
-
}).json();
|
|
42839
|
-
}
|
|
42840
|
-
async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
|
|
42841
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
42842
|
-
signal,
|
|
42843
|
-
searchParams: buildSearchParams$2({
|
|
42844
|
-
from,
|
|
42845
|
-
to
|
|
42846
|
-
})
|
|
42847
|
-
}).json();
|
|
42848
|
-
}
|
|
42849
|
-
async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
42850
|
-
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
42851
|
-
signal,
|
|
42852
|
-
json: data
|
|
42853
|
-
}).json();
|
|
42854
|
-
}
|
|
42855
|
-
async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
42856
|
-
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
42857
|
-
signal,
|
|
42858
|
-
json: data
|
|
42859
|
-
}).json();
|
|
42860
|
-
}
|
|
42861
|
-
async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
42862
|
-
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
42863
|
-
signal,
|
|
42864
|
-
json: data
|
|
42865
|
-
}).json();
|
|
42866
|
-
}
|
|
42867
43045
|
//#endregion
|
|
42868
43046
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
42869
43047
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -43056,27 +43234,6 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
43056
43234
|
json: data
|
|
43057
43235
|
}).json();
|
|
43058
43236
|
}
|
|
43059
|
-
async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
|
|
43060
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
|
|
43061
|
-
}
|
|
43062
|
-
async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
43063
|
-
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
43064
|
-
signal,
|
|
43065
|
-
json: data
|
|
43066
|
-
}).json();
|
|
43067
|
-
}
|
|
43068
|
-
async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
43069
|
-
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
43070
|
-
signal,
|
|
43071
|
-
json: data
|
|
43072
|
-
}).json();
|
|
43073
|
-
}
|
|
43074
|
-
async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
43075
|
-
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
43076
|
-
signal,
|
|
43077
|
-
json: data
|
|
43078
|
-
}).json();
|
|
43079
|
-
}
|
|
43080
43237
|
//#endregion
|
|
43081
43238
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
43082
43239
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -43093,6 +43250,9 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
43093
43250
|
json: data
|
|
43094
43251
|
}).json();
|
|
43095
43252
|
}
|
|
43253
|
+
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
43254
|
+
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
43255
|
+
}
|
|
43096
43256
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
43097
43257
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
43098
43258
|
}
|
|
@@ -43105,6 +43265,15 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
43105
43265
|
json: data
|
|
43106
43266
|
}).json();
|
|
43107
43267
|
}
|
|
43268
|
+
async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
|
|
43269
|
+
return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
|
|
43270
|
+
}
|
|
43271
|
+
async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
|
|
43272
|
+
return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
|
|
43273
|
+
signal,
|
|
43274
|
+
json: data
|
|
43275
|
+
}).json();
|
|
43276
|
+
}
|
|
43108
43277
|
//#endregion
|
|
43109
43278
|
//#region ../operations/build/index.public.js
|
|
43110
43279
|
function callGeneratedRequest(request, args) {
|
|
@@ -43240,17 +43409,17 @@ const generatedFocusOperations = [
|
|
|
43240
43409
|
]))
|
|
43241
43410
|
},
|
|
43242
43411
|
{
|
|
43243
|
-
id: "focus.audit-log.
|
|
43412
|
+
id: "focus.audit-log.get-organization",
|
|
43244
43413
|
family: "focus",
|
|
43245
43414
|
resource: "audit-log",
|
|
43246
|
-
action: "
|
|
43247
|
-
title: "
|
|
43248
|
-
description: "
|
|
43415
|
+
action: "get-organization",
|
|
43416
|
+
title: "Get Organization Audit Log",
|
|
43417
|
+
description: "Get Organization Audit Log.",
|
|
43249
43418
|
safety: "read",
|
|
43250
43419
|
destructive: false,
|
|
43251
43420
|
cli: {
|
|
43252
43421
|
group: ["audit-log"],
|
|
43253
|
-
command: "
|
|
43422
|
+
command: "get-organization",
|
|
43254
43423
|
interactive: "hidden"
|
|
43255
43424
|
},
|
|
43256
43425
|
mcp: { entityTool: "audit-log" },
|
|
@@ -43264,14 +43433,14 @@ const generatedFocusOperations = [
|
|
|
43264
43433
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43265
43434
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43266
43435
|
to: /* @__PURE__ */ string$1(),
|
|
43267
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43436
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43437
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43268
43438
|
}),
|
|
43269
43439
|
execute: (input, { client }) => {
|
|
43270
43440
|
const data = input;
|
|
43271
|
-
return client.runGeneratedRequest("
|
|
43441
|
+
return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
|
|
43272
43442
|
client.httpClient,
|
|
43273
43443
|
client.organizationId,
|
|
43274
|
-
client.workspaceIdNumber,
|
|
43275
43444
|
data.from,
|
|
43276
43445
|
data.to,
|
|
43277
43446
|
data,
|
|
@@ -43280,87 +43449,79 @@ const generatedFocusOperations = [
|
|
|
43280
43449
|
}
|
|
43281
43450
|
},
|
|
43282
43451
|
{
|
|
43283
|
-
id: "focus.
|
|
43452
|
+
id: "focus.audit-log.list",
|
|
43284
43453
|
family: "focus",
|
|
43285
|
-
resource: "
|
|
43286
|
-
action: "
|
|
43287
|
-
title: "
|
|
43288
|
-
description: "
|
|
43454
|
+
resource: "audit-log",
|
|
43455
|
+
action: "list",
|
|
43456
|
+
title: "List Audit Log",
|
|
43457
|
+
description: "List Audit Log.",
|
|
43289
43458
|
safety: "read",
|
|
43290
43459
|
destructive: false,
|
|
43291
43460
|
cli: {
|
|
43292
|
-
group: ["
|
|
43293
|
-
command: "
|
|
43461
|
+
group: ["audit-log"],
|
|
43462
|
+
command: "list",
|
|
43294
43463
|
interactive: "hidden"
|
|
43295
43464
|
},
|
|
43296
|
-
mcp: { entityTool: "
|
|
43465
|
+
mcp: { entityTool: "audit-log" },
|
|
43297
43466
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43298
|
-
|
|
43299
|
-
|
|
43300
|
-
|
|
43301
|
-
|
|
43302
|
-
|
|
43303
|
-
|
|
43304
|
-
|
|
43305
|
-
|
|
43306
|
-
|
|
43467
|
+
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43468
|
+
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43469
|
+
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43470
|
+
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43471
|
+
export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43472
|
+
from: /* @__PURE__ */ string$1(),
|
|
43473
|
+
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43474
|
+
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43475
|
+
to: /* @__PURE__ */ string$1(),
|
|
43476
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43307
43477
|
}),
|
|
43308
43478
|
execute: (input, { client }) => {
|
|
43309
43479
|
const data = input;
|
|
43310
|
-
return client.runGeneratedRequest("
|
|
43480
|
+
return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
|
|
43311
43481
|
client.httpClient,
|
|
43312
43482
|
client.organizationId,
|
|
43313
43483
|
client.workspaceIdNumber,
|
|
43314
|
-
data.
|
|
43484
|
+
data.from,
|
|
43485
|
+
data.to,
|
|
43315
43486
|
data,
|
|
43316
43487
|
void 0
|
|
43317
43488
|
]));
|
|
43318
43489
|
}
|
|
43319
43490
|
},
|
|
43320
43491
|
{
|
|
43321
|
-
id: "focus.capacities.
|
|
43492
|
+
id: "focus.capacities.get-computations",
|
|
43322
43493
|
family: "focus",
|
|
43323
43494
|
resource: "capacities",
|
|
43324
|
-
action: "
|
|
43325
|
-
title: "
|
|
43326
|
-
description: "
|
|
43495
|
+
action: "get-computations",
|
|
43496
|
+
title: "Get Computations Capacities",
|
|
43497
|
+
description: "Get Computations Capacities.",
|
|
43327
43498
|
safety: "read",
|
|
43328
43499
|
destructive: false,
|
|
43329
43500
|
cli: {
|
|
43330
|
-
group: ["capacities"
|
|
43331
|
-
command: "
|
|
43501
|
+
group: ["capacities"],
|
|
43502
|
+
command: "get-computations",
|
|
43332
43503
|
interactive: "hidden"
|
|
43333
43504
|
},
|
|
43334
43505
|
mcp: { entityTool: "capacities" },
|
|
43335
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
43336
|
-
|
|
43337
|
-
|
|
43338
|
-
|
|
43339
|
-
|
|
43340
|
-
|
|
43341
|
-
|
|
43342
|
-
|
|
43343
|
-
|
|
43344
|
-
|
|
43345
|
-
|
|
43346
|
-
action: "settings-update",
|
|
43347
|
-
title: "Settings Update Capacities",
|
|
43348
|
-
description: "Settings Update Capacities.",
|
|
43349
|
-
safety: "update",
|
|
43350
|
-
destructive: false,
|
|
43351
|
-
cli: {
|
|
43352
|
-
group: ["capacities", "settings"],
|
|
43353
|
-
command: "update",
|
|
43354
|
-
interactive: "default"
|
|
43355
|
-
},
|
|
43356
|
-
mcp: { entityTool: "capacities" },
|
|
43357
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
|
|
43506
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
43507
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43508
|
+
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
43509
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
43510
|
+
include_task_estimates: /* @__PURE__ */ unknown$1(),
|
|
43511
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
43512
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43513
|
+
task_source: /* @__PURE__ */ unknown$1(),
|
|
43514
|
+
unit: /* @__PURE__ */ unknown$1(),
|
|
43515
|
+
user_id: /* @__PURE__ */ number$2()
|
|
43516
|
+
}),
|
|
43358
43517
|
execute: (input, { client }) => {
|
|
43359
43518
|
const data = input;
|
|
43360
|
-
return client.runGeneratedRequest("
|
|
43519
|
+
return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
|
|
43361
43520
|
client.httpClient,
|
|
43521
|
+
client.organizationId,
|
|
43362
43522
|
client.workspaceIdNumber,
|
|
43363
|
-
data.
|
|
43523
|
+
data.group,
|
|
43524
|
+
data,
|
|
43364
43525
|
void 0
|
|
43365
43526
|
]));
|
|
43366
43527
|
}
|
|
@@ -43559,8 +43720,7 @@ const generatedFocusOperations = [
|
|
|
43559
43720
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
43560
43721
|
start_at: apiDateTimeString,
|
|
43561
43722
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
43562
|
-
})))
|
|
43563
|
-
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
43723
|
+
})))
|
|
43564
43724
|
}) }),
|
|
43565
43725
|
execute: (input, { client }) => {
|
|
43566
43726
|
const data = input;
|
|
@@ -43615,6 +43775,7 @@ const generatedFocusOperations = [
|
|
|
43615
43775
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43616
43776
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43617
43777
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43778
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43618
43779
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43619
43780
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43620
43781
|
}),
|
|
@@ -43647,6 +43808,7 @@ const generatedFocusOperations = [
|
|
|
43647
43808
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
43648
43809
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43649
43810
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43811
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43650
43812
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43651
43813
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43652
43814
|
}))),
|
|
@@ -43702,7 +43864,11 @@ const generatedFocusOperations = [
|
|
|
43702
43864
|
},
|
|
43703
43865
|
mcp: { entityTool: "custom-fields" },
|
|
43704
43866
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
43705
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
43867
|
+
entity_type: /* @__PURE__ */ picklist$1([
|
|
43868
|
+
"project",
|
|
43869
|
+
"task",
|
|
43870
|
+
"user"
|
|
43871
|
+
]),
|
|
43706
43872
|
field_type: /* @__PURE__ */ picklist$1([
|
|
43707
43873
|
"select",
|
|
43708
43874
|
"multi_select",
|
|
@@ -44035,7 +44201,11 @@ const generatedFocusOperations = [
|
|
|
44035
44201
|
},
|
|
44036
44202
|
mcp: { entityTool: "custom-fields" },
|
|
44037
44203
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44038
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
44204
|
+
entity_type: /* @__PURE__ */ picklist$1([
|
|
44205
|
+
"project",
|
|
44206
|
+
"task",
|
|
44207
|
+
"user"
|
|
44208
|
+
]),
|
|
44039
44209
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
44040
44210
|
}) }),
|
|
44041
44211
|
execute: (input, { client }) => {
|
|
@@ -44049,6 +44219,37 @@ const generatedFocusOperations = [
|
|
|
44049
44219
|
]));
|
|
44050
44220
|
}
|
|
44051
44221
|
},
|
|
44222
|
+
{
|
|
44223
|
+
id: "focus.custom-fields.update-user-custom-field-values",
|
|
44224
|
+
family: "focus",
|
|
44225
|
+
resource: "custom-fields",
|
|
44226
|
+
action: "update-user-custom-field-values",
|
|
44227
|
+
title: "Update User Custom Field Values Custom Fields",
|
|
44228
|
+
description: "Update User Custom Field Values Custom Fields.",
|
|
44229
|
+
safety: "update",
|
|
44230
|
+
destructive: false,
|
|
44231
|
+
cli: {
|
|
44232
|
+
group: ["custom-fields"],
|
|
44233
|
+
command: "update-user-custom-field-values",
|
|
44234
|
+
interactive: "hidden"
|
|
44235
|
+
},
|
|
44236
|
+
mcp: { entityTool: "custom-fields" },
|
|
44237
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
44238
|
+
payload: /* @__PURE__ */ unknown$1(),
|
|
44239
|
+
user_id: /* @__PURE__ */ number$2()
|
|
44240
|
+
}),
|
|
44241
|
+
execute: (input, { client }) => {
|
|
44242
|
+
const data = input;
|
|
44243
|
+
return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
|
|
44244
|
+
client.httpClient,
|
|
44245
|
+
client.organizationId,
|
|
44246
|
+
client.workspaceIdNumber,
|
|
44247
|
+
data.user_id,
|
|
44248
|
+
data.payload ?? data.data ?? data,
|
|
44249
|
+
void 0
|
|
44250
|
+
]));
|
|
44251
|
+
}
|
|
44252
|
+
},
|
|
44052
44253
|
{
|
|
44053
44254
|
id: "focus.goals.create",
|
|
44054
44255
|
family: "focus",
|
|
@@ -44268,10 +44469,22 @@ const generatedFocusOperations = [
|
|
|
44268
44469
|
goal_id: /* @__PURE__ */ number$2(),
|
|
44269
44470
|
payload: /* @__PURE__ */ looseObject({
|
|
44270
44471
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44472
|
+
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44271
44473
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44272
44474
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44273
44475
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44274
|
-
|
|
44476
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44477
|
+
recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
44478
|
+
"daily",
|
|
44479
|
+
"weekly",
|
|
44480
|
+
"daily_workdays",
|
|
44481
|
+
"monthly"
|
|
44482
|
+
])),
|
|
44483
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44484
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44485
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44486
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44487
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44275
44488
|
})
|
|
44276
44489
|
}),
|
|
44277
44490
|
execute: (input, { client }) => {
|
|
@@ -45604,6 +45817,7 @@ const generatedFocusOperations = [
|
|
|
45604
45817
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45605
45818
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45606
45819
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45820
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45607
45821
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45608
45822
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45609
45823
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -45611,6 +45825,7 @@ const generatedFocusOperations = [
|
|
|
45611
45825
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45612
45826
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45613
45827
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45828
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45614
45829
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45615
45830
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45616
45831
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -47795,7 +48010,10 @@ const generatedFocusOperations = [
|
|
|
47795
48010
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
47796
48011
|
name: /* @__PURE__ */ string$1(),
|
|
47797
48012
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
47798
|
-
}))
|
|
48013
|
+
})),
|
|
48014
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48015
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48016
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
47799
48017
|
}),
|
|
47800
48018
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
47801
48019
|
}),
|
|
@@ -47836,6 +48054,28 @@ const generatedFocusOperations = [
|
|
|
47836
48054
|
]));
|
|
47837
48055
|
}
|
|
47838
48056
|
},
|
|
48057
|
+
{
|
|
48058
|
+
id: "focus.reports.get-forecast-availability",
|
|
48059
|
+
family: "focus",
|
|
48060
|
+
resource: "reports",
|
|
48061
|
+
action: "get-forecast-availability",
|
|
48062
|
+
title: "Get Forecast Availability Reports",
|
|
48063
|
+
description: "Get Forecast Availability Reports.",
|
|
48064
|
+
safety: "read",
|
|
48065
|
+
destructive: false,
|
|
48066
|
+
cli: {
|
|
48067
|
+
group: ["reports"],
|
|
48068
|
+
command: "get-forecast-availability",
|
|
48069
|
+
interactive: "hidden"
|
|
48070
|
+
},
|
|
48071
|
+
mcp: { entityTool: "reports" },
|
|
48072
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48073
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
|
|
48074
|
+
client.httpClient,
|
|
48075
|
+
client.workspaceIdNumber,
|
|
48076
|
+
void 0
|
|
48077
|
+
]))
|
|
48078
|
+
},
|
|
47839
48079
|
{
|
|
47840
48080
|
id: "focus.reports.get-profitability",
|
|
47841
48081
|
family: "focus",
|
|
@@ -47895,9 +48135,17 @@ const generatedFocusOperations = [
|
|
|
47895
48135
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
47896
48136
|
name: /* @__PURE__ */ string$1(),
|
|
47897
48137
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
47898
|
-
}))
|
|
48138
|
+
})),
|
|
48139
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48140
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48141
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
47899
48142
|
}),
|
|
47900
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
48143
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
48144
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
48145
|
+
"csv",
|
|
48146
|
+
"xlsx",
|
|
48147
|
+
"pdf"
|
|
48148
|
+
]))
|
|
47901
48149
|
}),
|
|
47902
48150
|
execute: (input, { client }) => {
|
|
47903
48151
|
const data = input;
|
|
@@ -47907,22 +48155,23 @@ const generatedFocusOperations = [
|
|
|
47907
48155
|
data.payload ?? data.data ?? data,
|
|
47908
48156
|
data.response_format,
|
|
47909
48157
|
data.include_dicts,
|
|
48158
|
+
data.xTogglReportExport,
|
|
47910
48159
|
void 0
|
|
47911
48160
|
]));
|
|
47912
48161
|
}
|
|
47913
48162
|
},
|
|
47914
48163
|
{
|
|
47915
|
-
id: "focus.reports.get-
|
|
48164
|
+
id: "focus.reports.get-time-accounting",
|
|
47916
48165
|
family: "focus",
|
|
47917
48166
|
resource: "reports",
|
|
47918
|
-
action: "get-
|
|
47919
|
-
title: "Get
|
|
47920
|
-
description: "Get
|
|
48167
|
+
action: "get-time-accounting",
|
|
48168
|
+
title: "Get Time Accounting Reports",
|
|
48169
|
+
description: "Get Time Accounting Reports.",
|
|
47921
48170
|
safety: "update",
|
|
47922
48171
|
destructive: false,
|
|
47923
48172
|
cli: {
|
|
47924
48173
|
group: ["reports"],
|
|
47925
|
-
command: "get-
|
|
48174
|
+
command: "get-time-accounting",
|
|
47926
48175
|
interactive: "hidden"
|
|
47927
48176
|
},
|
|
47928
48177
|
mcp: { entityTool: "reports" },
|
|
@@ -47968,14 +48217,205 @@ const generatedFocusOperations = [
|
|
|
47968
48217
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
47969
48218
|
name: /* @__PURE__ */ string$1(),
|
|
47970
48219
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
47971
|
-
}))
|
|
48220
|
+
})),
|
|
48221
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48222
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48223
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
47972
48224
|
}) }),
|
|
48225
|
+
execute: (input, { client }) => {
|
|
48226
|
+
const data = input;
|
|
48227
|
+
return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
|
|
48228
|
+
client.httpClient,
|
|
48229
|
+
client.workspaceIdNumber,
|
|
48230
|
+
data.payload ?? data.data ?? data,
|
|
48231
|
+
void 0
|
|
48232
|
+
]));
|
|
48233
|
+
}
|
|
48234
|
+
},
|
|
48235
|
+
{
|
|
48236
|
+
id: "focus.reports.get-workload",
|
|
48237
|
+
family: "focus",
|
|
48238
|
+
resource: "reports",
|
|
48239
|
+
action: "get-workload",
|
|
48240
|
+
title: "Get Workload Reports",
|
|
48241
|
+
description: "Get Workload Reports.",
|
|
48242
|
+
safety: "update",
|
|
48243
|
+
destructive: false,
|
|
48244
|
+
cli: {
|
|
48245
|
+
group: ["reports"],
|
|
48246
|
+
command: "get-workload",
|
|
48247
|
+
interactive: "hidden"
|
|
48248
|
+
},
|
|
48249
|
+
mcp: { entityTool: "reports" },
|
|
48250
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48251
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48252
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48253
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
48254
|
+
function: /* @__PURE__ */ string$1(),
|
|
48255
|
+
property: /* @__PURE__ */ string$1()
|
|
48256
|
+
}),
|
|
48257
|
+
operator: /* @__PURE__ */ string$1(),
|
|
48258
|
+
property: /* @__PURE__ */ string$1()
|
|
48259
|
+
})),
|
|
48260
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48261
|
+
function: /* @__PURE__ */ string$1(),
|
|
48262
|
+
property: /* @__PURE__ */ string$1()
|
|
48263
|
+
})),
|
|
48264
|
+
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
48265
|
+
currency: /* @__PURE__ */ string$1(),
|
|
48266
|
+
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48267
|
+
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
48268
|
+
operator: /* @__PURE__ */ string$1(),
|
|
48269
|
+
property: /* @__PURE__ */ string$1()
|
|
48270
|
+
})),
|
|
48271
|
+
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48272
|
+
property: /* @__PURE__ */ string$1(),
|
|
48273
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
48274
|
+
})),
|
|
48275
|
+
limit: /* @__PURE__ */ number$2(),
|
|
48276
|
+
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48277
|
+
direction: /* @__PURE__ */ string$1(),
|
|
48278
|
+
nulls: /* @__PURE__ */ string$1(),
|
|
48279
|
+
property: /* @__PURE__ */ string$1()
|
|
48280
|
+
})),
|
|
48281
|
+
pagination: /* @__PURE__ */ looseObject({
|
|
48282
|
+
page: /* @__PURE__ */ number$2(),
|
|
48283
|
+
per_page: /* @__PURE__ */ number$2()
|
|
48284
|
+
}),
|
|
48285
|
+
period: /* @__PURE__ */ looseObject({
|
|
48286
|
+
from: /* @__PURE__ */ string$1(),
|
|
48287
|
+
preset: /* @__PURE__ */ string$1(),
|
|
48288
|
+
to: /* @__PURE__ */ string$1()
|
|
48289
|
+
}),
|
|
48290
|
+
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48291
|
+
name: /* @__PURE__ */ string$1(),
|
|
48292
|
+
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48293
|
+
})),
|
|
48294
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48295
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48296
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48297
|
+
}),
|
|
48298
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
48299
|
+
"csv",
|
|
48300
|
+
"xlsx",
|
|
48301
|
+
"pdf"
|
|
48302
|
+
]))
|
|
48303
|
+
}),
|
|
47973
48304
|
execute: (input, { client }) => {
|
|
47974
48305
|
const data = input;
|
|
47975
48306
|
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
47976
48307
|
client.httpClient,
|
|
47977
48308
|
client.workspaceIdNumber,
|
|
47978
48309
|
data.payload ?? data.data ?? data,
|
|
48310
|
+
data.xTogglReportExport,
|
|
48311
|
+
void 0
|
|
48312
|
+
]));
|
|
48313
|
+
}
|
|
48314
|
+
},
|
|
48315
|
+
{
|
|
48316
|
+
id: "focus.reportschedules.delete-shared-report-schedule",
|
|
48317
|
+
family: "focus",
|
|
48318
|
+
resource: "reportschedules",
|
|
48319
|
+
action: "delete-shared-report-schedule",
|
|
48320
|
+
title: "Delete Shared Report Schedule Reportschedules",
|
|
48321
|
+
description: "Delete Shared Report Schedule Reportschedules.",
|
|
48322
|
+
safety: "delete",
|
|
48323
|
+
destructive: true,
|
|
48324
|
+
cli: {
|
|
48325
|
+
group: ["reportschedules"],
|
|
48326
|
+
command: "delete-shared-report-schedule",
|
|
48327
|
+
interactive: "default"
|
|
48328
|
+
},
|
|
48329
|
+
mcp: { entityTool: "reportschedules" },
|
|
48330
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48331
|
+
execute: (input, { client }) => {
|
|
48332
|
+
const data = input;
|
|
48333
|
+
return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
|
|
48334
|
+
client.httpClient,
|
|
48335
|
+
client.workspaceIdNumber,
|
|
48336
|
+
data.id,
|
|
48337
|
+
void 0
|
|
48338
|
+
]));
|
|
48339
|
+
}
|
|
48340
|
+
},
|
|
48341
|
+
{
|
|
48342
|
+
id: "focus.reportschedules.upsert-saved-view-schedule",
|
|
48343
|
+
family: "focus",
|
|
48344
|
+
resource: "reportschedules",
|
|
48345
|
+
action: "upsert-saved-view-schedule",
|
|
48346
|
+
title: "Upsert Saved View Schedule Reportschedules",
|
|
48347
|
+
description: "Upsert Saved View Schedule Reportschedules.",
|
|
48348
|
+
safety: "update",
|
|
48349
|
+
destructive: false,
|
|
48350
|
+
cli: {
|
|
48351
|
+
group: ["reportschedules"],
|
|
48352
|
+
command: "upsert-saved-view-schedule",
|
|
48353
|
+
interactive: "default"
|
|
48354
|
+
},
|
|
48355
|
+
mcp: { entityTool: "reportschedules" },
|
|
48356
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48357
|
+
id: /* @__PURE__ */ number$2(),
|
|
48358
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48359
|
+
cadence: /* @__PURE__ */ picklist$1([
|
|
48360
|
+
"daily",
|
|
48361
|
+
"weekly",
|
|
48362
|
+
"monthly"
|
|
48363
|
+
]),
|
|
48364
|
+
time: /* @__PURE__ */ string$1(),
|
|
48365
|
+
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48366
|
+
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48367
|
+
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48368
|
+
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
48369
|
+
})
|
|
48370
|
+
}),
|
|
48371
|
+
execute: (input, { client }) => {
|
|
48372
|
+
const data = input;
|
|
48373
|
+
return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
|
|
48374
|
+
client.httpClient,
|
|
48375
|
+
client.workspaceIdNumber,
|
|
48376
|
+
data.id,
|
|
48377
|
+
data.payload ?? data.data ?? data,
|
|
48378
|
+
void 0
|
|
48379
|
+
]));
|
|
48380
|
+
}
|
|
48381
|
+
},
|
|
48382
|
+
{
|
|
48383
|
+
id: "focus.reportschedules.upsert-shared-report-schedule",
|
|
48384
|
+
family: "focus",
|
|
48385
|
+
resource: "reportschedules",
|
|
48386
|
+
action: "upsert-shared-report-schedule",
|
|
48387
|
+
title: "Upsert Shared Report Schedule Reportschedules",
|
|
48388
|
+
description: "Upsert Shared Report Schedule Reportschedules.",
|
|
48389
|
+
safety: "update",
|
|
48390
|
+
destructive: false,
|
|
48391
|
+
cli: {
|
|
48392
|
+
group: ["reportschedules"],
|
|
48393
|
+
command: "upsert-shared-report-schedule",
|
|
48394
|
+
interactive: "default"
|
|
48395
|
+
},
|
|
48396
|
+
mcp: { entityTool: "reportschedules" },
|
|
48397
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48398
|
+
id: /* @__PURE__ */ number$2(),
|
|
48399
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48400
|
+
cadence: /* @__PURE__ */ picklist$1([
|
|
48401
|
+
"daily",
|
|
48402
|
+
"weekly",
|
|
48403
|
+
"monthly"
|
|
48404
|
+
]),
|
|
48405
|
+
time: /* @__PURE__ */ string$1(),
|
|
48406
|
+
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48407
|
+
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48408
|
+
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48409
|
+
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
48410
|
+
})
|
|
48411
|
+
}),
|
|
48412
|
+
execute: (input, { client }) => {
|
|
48413
|
+
const data = input;
|
|
48414
|
+
return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
|
|
48415
|
+
client.httpClient,
|
|
48416
|
+
client.workspaceIdNumber,
|
|
48417
|
+
data.id,
|
|
48418
|
+
data.payload ?? data.data ?? data,
|
|
47979
48419
|
void 0
|
|
47980
48420
|
]));
|
|
47981
48421
|
}
|
|
@@ -48013,7 +48453,9 @@ const generatedFocusOperations = [
|
|
|
48013
48453
|
"reports.detailed",
|
|
48014
48454
|
"reports.utilization",
|
|
48015
48455
|
"reports.workload",
|
|
48016
|
-
"reports.profitability"
|
|
48456
|
+
"reports.profitability",
|
|
48457
|
+
"reports.time-off",
|
|
48458
|
+
"reports.time-accounting"
|
|
48017
48459
|
]),
|
|
48018
48460
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
48019
48461
|
}) }),
|
|
@@ -48137,11 +48579,41 @@ const generatedFocusOperations = [
|
|
|
48137
48579
|
}
|
|
48138
48580
|
},
|
|
48139
48581
|
{
|
|
48140
|
-
id: "focus.search.
|
|
48582
|
+
id: "focus.search.mentions",
|
|
48141
48583
|
family: "focus",
|
|
48142
48584
|
resource: "search",
|
|
48143
|
-
action: "
|
|
48144
|
-
title: "
|
|
48585
|
+
action: "mentions",
|
|
48586
|
+
title: "Mentions Search",
|
|
48587
|
+
description: "Mentions Search.",
|
|
48588
|
+
safety: "read",
|
|
48589
|
+
destructive: false,
|
|
48590
|
+
cli: {
|
|
48591
|
+
group: ["search"],
|
|
48592
|
+
command: "mentions",
|
|
48593
|
+
interactive: "hidden"
|
|
48594
|
+
},
|
|
48595
|
+
mcp: { entityTool: "search" },
|
|
48596
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48597
|
+
keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48598
|
+
per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48599
|
+
}),
|
|
48600
|
+
execute: (input, { client }) => {
|
|
48601
|
+
const data = input;
|
|
48602
|
+
return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
|
|
48603
|
+
client.httpClient,
|
|
48604
|
+
client.organizationId,
|
|
48605
|
+
client.workspaceIdNumber,
|
|
48606
|
+
data,
|
|
48607
|
+
void 0
|
|
48608
|
+
]));
|
|
48609
|
+
}
|
|
48610
|
+
},
|
|
48611
|
+
{
|
|
48612
|
+
id: "focus.search.search",
|
|
48613
|
+
family: "focus",
|
|
48614
|
+
resource: "search",
|
|
48615
|
+
action: "search",
|
|
48616
|
+
title: "Search Search",
|
|
48145
48617
|
description: "Search Search.",
|
|
48146
48618
|
safety: "read",
|
|
48147
48619
|
destructive: false,
|
|
@@ -48163,6 +48635,240 @@ const generatedFocusOperations = [
|
|
|
48163
48635
|
]));
|
|
48164
48636
|
}
|
|
48165
48637
|
},
|
|
48638
|
+
{
|
|
48639
|
+
id: "focus.sharedreports.add-shared-report-grants",
|
|
48640
|
+
family: "focus",
|
|
48641
|
+
resource: "sharedreports",
|
|
48642
|
+
action: "add-shared-report-grants",
|
|
48643
|
+
title: "Add Shared Report Grants Sharedreports",
|
|
48644
|
+
description: "Add Shared Report Grants Sharedreports.",
|
|
48645
|
+
safety: "update",
|
|
48646
|
+
destructive: false,
|
|
48647
|
+
cli: {
|
|
48648
|
+
group: ["sharedreports"],
|
|
48649
|
+
command: "add-shared-report-grants",
|
|
48650
|
+
interactive: "default"
|
|
48651
|
+
},
|
|
48652
|
+
mcp: { entityTool: "sharedreports" },
|
|
48653
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48654
|
+
id: /* @__PURE__ */ number$2(),
|
|
48655
|
+
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48656
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48657
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48658
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48659
|
+
})) })
|
|
48660
|
+
}),
|
|
48661
|
+
execute: (input, { client }) => {
|
|
48662
|
+
const data = input;
|
|
48663
|
+
return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
|
|
48664
|
+
client.httpClient,
|
|
48665
|
+
client.workspaceIdNumber,
|
|
48666
|
+
data.id,
|
|
48667
|
+
data.payload ?? data.data ?? data,
|
|
48668
|
+
void 0
|
|
48669
|
+
]));
|
|
48670
|
+
}
|
|
48671
|
+
},
|
|
48672
|
+
{
|
|
48673
|
+
id: "focus.sharedreports.get-saved-view-shared-report",
|
|
48674
|
+
family: "focus",
|
|
48675
|
+
resource: "sharedreports",
|
|
48676
|
+
action: "get-saved-view-shared-report",
|
|
48677
|
+
title: "Get Saved View Shared Report Sharedreports",
|
|
48678
|
+
description: "Get Saved View Shared Report Sharedreports.",
|
|
48679
|
+
safety: "read",
|
|
48680
|
+
destructive: false,
|
|
48681
|
+
cli: {
|
|
48682
|
+
group: ["sharedreports"],
|
|
48683
|
+
command: "get-saved-view-shared-report",
|
|
48684
|
+
interactive: "available"
|
|
48685
|
+
},
|
|
48686
|
+
mcp: { entityTool: "sharedreports" },
|
|
48687
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48688
|
+
execute: (input, { client }) => {
|
|
48689
|
+
const data = input;
|
|
48690
|
+
return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
|
|
48691
|
+
client.httpClient,
|
|
48692
|
+
client.workspaceIdNumber,
|
|
48693
|
+
data.id,
|
|
48694
|
+
void 0
|
|
48695
|
+
]));
|
|
48696
|
+
}
|
|
48697
|
+
},
|
|
48698
|
+
{
|
|
48699
|
+
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
48700
|
+
family: "focus",
|
|
48701
|
+
resource: "sharedreports",
|
|
48702
|
+
action: "get-shared-report-for-viewer",
|
|
48703
|
+
title: "Get Shared Report For Viewer Sharedreports",
|
|
48704
|
+
description: "Get Shared Report For Viewer Sharedreports.",
|
|
48705
|
+
safety: "read",
|
|
48706
|
+
destructive: false,
|
|
48707
|
+
cli: {
|
|
48708
|
+
group: ["sharedreports"],
|
|
48709
|
+
command: "get-shared-report-for-viewer",
|
|
48710
|
+
interactive: "available"
|
|
48711
|
+
},
|
|
48712
|
+
mcp: { entityTool: "sharedreports" },
|
|
48713
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48714
|
+
execute: (input, { client }) => {
|
|
48715
|
+
const data = input;
|
|
48716
|
+
return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
|
|
48717
|
+
client.httpClient,
|
|
48718
|
+
client.workspaceIdNumber,
|
|
48719
|
+
data.id,
|
|
48720
|
+
void 0
|
|
48721
|
+
]));
|
|
48722
|
+
}
|
|
48723
|
+
},
|
|
48724
|
+
{
|
|
48725
|
+
id: "focus.sharedreports.get-shared-reports-shared-by-me",
|
|
48726
|
+
family: "focus",
|
|
48727
|
+
resource: "sharedreports",
|
|
48728
|
+
action: "get-shared-reports-shared-by-me",
|
|
48729
|
+
title: "Get Shared Reports Shared By Me Sharedreports",
|
|
48730
|
+
description: "Get Shared Reports Shared By Me Sharedreports.",
|
|
48731
|
+
safety: "read",
|
|
48732
|
+
destructive: false,
|
|
48733
|
+
cli: {
|
|
48734
|
+
group: ["sharedreports"],
|
|
48735
|
+
command: "get-shared-reports-shared-by-me",
|
|
48736
|
+
interactive: "hidden"
|
|
48737
|
+
},
|
|
48738
|
+
mcp: { entityTool: "sharedreports" },
|
|
48739
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48740
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
|
|
48741
|
+
client.httpClient,
|
|
48742
|
+
client.workspaceIdNumber,
|
|
48743
|
+
void 0
|
|
48744
|
+
]))
|
|
48745
|
+
},
|
|
48746
|
+
{
|
|
48747
|
+
id: "focus.sharedreports.get-shared-reports-shared-with-me",
|
|
48748
|
+
family: "focus",
|
|
48749
|
+
resource: "sharedreports",
|
|
48750
|
+
action: "get-shared-reports-shared-with-me",
|
|
48751
|
+
title: "Get Shared Reports Shared With Me Sharedreports",
|
|
48752
|
+
description: "Get Shared Reports Shared With Me Sharedreports.",
|
|
48753
|
+
safety: "read",
|
|
48754
|
+
destructive: false,
|
|
48755
|
+
cli: {
|
|
48756
|
+
group: ["sharedreports"],
|
|
48757
|
+
command: "get-shared-reports-shared-with-me",
|
|
48758
|
+
interactive: "hidden"
|
|
48759
|
+
},
|
|
48760
|
+
mcp: { entityTool: "sharedreports" },
|
|
48761
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48762
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
|
|
48763
|
+
client.httpClient,
|
|
48764
|
+
client.workspaceIdNumber,
|
|
48765
|
+
void 0
|
|
48766
|
+
]))
|
|
48767
|
+
},
|
|
48768
|
+
{
|
|
48769
|
+
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
48770
|
+
family: "focus",
|
|
48771
|
+
resource: "sharedreports",
|
|
48772
|
+
action: "revoke-shared-report-grant",
|
|
48773
|
+
title: "Revoke Shared Report Grant Sharedreports",
|
|
48774
|
+
description: "Revoke Shared Report Grant Sharedreports.",
|
|
48775
|
+
safety: "delete",
|
|
48776
|
+
destructive: true,
|
|
48777
|
+
cli: {
|
|
48778
|
+
group: ["sharedreports"],
|
|
48779
|
+
command: "revoke-shared-report-grant",
|
|
48780
|
+
interactive: "default"
|
|
48781
|
+
},
|
|
48782
|
+
mcp: { entityTool: "sharedreports" },
|
|
48783
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48784
|
+
grant_id: /* @__PURE__ */ number$2(),
|
|
48785
|
+
id: /* @__PURE__ */ number$2()
|
|
48786
|
+
}),
|
|
48787
|
+
execute: (input, { client }) => {
|
|
48788
|
+
const data = input;
|
|
48789
|
+
return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
|
|
48790
|
+
client.httpClient,
|
|
48791
|
+
client.workspaceIdNumber,
|
|
48792
|
+
data.id,
|
|
48793
|
+
data.grant_id,
|
|
48794
|
+
void 0
|
|
48795
|
+
]));
|
|
48796
|
+
}
|
|
48797
|
+
},
|
|
48798
|
+
{
|
|
48799
|
+
id: "focus.sharedreports.share-saved-view",
|
|
48800
|
+
family: "focus",
|
|
48801
|
+
resource: "sharedreports",
|
|
48802
|
+
action: "share-saved-view",
|
|
48803
|
+
title: "Share Saved View Sharedreports",
|
|
48804
|
+
description: "Share Saved View Sharedreports.",
|
|
48805
|
+
safety: "update",
|
|
48806
|
+
destructive: false,
|
|
48807
|
+
cli: {
|
|
48808
|
+
group: ["sharedreports"],
|
|
48809
|
+
command: "share-saved-view",
|
|
48810
|
+
interactive: "hidden"
|
|
48811
|
+
},
|
|
48812
|
+
mcp: { entityTool: "sharedreports" },
|
|
48813
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48814
|
+
id: /* @__PURE__ */ number$2(),
|
|
48815
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48816
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
48817
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48818
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48819
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48820
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48821
|
+
})
|
|
48822
|
+
}),
|
|
48823
|
+
execute: (input, { client }) => {
|
|
48824
|
+
const data = input;
|
|
48825
|
+
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
48826
|
+
client.httpClient,
|
|
48827
|
+
client.workspaceIdNumber,
|
|
48828
|
+
data.id,
|
|
48829
|
+
data.payload ?? data.data ?? data,
|
|
48830
|
+
void 0
|
|
48831
|
+
]));
|
|
48832
|
+
}
|
|
48833
|
+
},
|
|
48834
|
+
{
|
|
48835
|
+
id: "focus.sharedreports.share-saved-view-many",
|
|
48836
|
+
family: "focus",
|
|
48837
|
+
resource: "sharedreports",
|
|
48838
|
+
action: "share-saved-view-many",
|
|
48839
|
+
title: "Share Saved View Many Sharedreports",
|
|
48840
|
+
description: "Share Saved View Many Sharedreports.",
|
|
48841
|
+
safety: "update",
|
|
48842
|
+
destructive: false,
|
|
48843
|
+
cli: {
|
|
48844
|
+
group: ["sharedreports"],
|
|
48845
|
+
command: "share-saved-view-many",
|
|
48846
|
+
interactive: "hidden"
|
|
48847
|
+
},
|
|
48848
|
+
mcp: { entityTool: "sharedreports" },
|
|
48849
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48850
|
+
id: /* @__PURE__ */ number$2(),
|
|
48851
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48852
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
48853
|
+
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48854
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48855
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48856
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48857
|
+
})),
|
|
48858
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48859
|
+
})
|
|
48860
|
+
}),
|
|
48861
|
+
execute: (input, { client }) => {
|
|
48862
|
+
const data = input;
|
|
48863
|
+
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
48864
|
+
client.httpClient,
|
|
48865
|
+
client.workspaceIdNumber,
|
|
48866
|
+
data.id,
|
|
48867
|
+
data.payload ?? data.data ?? data,
|
|
48868
|
+
void 0
|
|
48869
|
+
]));
|
|
48870
|
+
}
|
|
48871
|
+
},
|
|
48166
48872
|
{
|
|
48167
48873
|
id: "focus.statuses.create-status",
|
|
48168
48874
|
family: "focus",
|
|
@@ -48428,13 +49134,172 @@ const generatedFocusOperations = [
|
|
|
48428
49134
|
command: "upsert-forced-trial",
|
|
48429
49135
|
interactive: "default"
|
|
48430
49136
|
},
|
|
48431
|
-
mcp: { entityTool: "subscriptions" },
|
|
48432
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
49137
|
+
mcp: { entityTool: "subscriptions" },
|
|
49138
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
49139
|
+
execute: (input, { client }) => {
|
|
49140
|
+
const data = input;
|
|
49141
|
+
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
49142
|
+
client.httpClient,
|
|
49143
|
+
client.organizationId,
|
|
49144
|
+
client.workspaceIdNumber,
|
|
49145
|
+
data.payload ?? data.data ?? data,
|
|
49146
|
+
void 0
|
|
49147
|
+
]));
|
|
49148
|
+
}
|
|
49149
|
+
},
|
|
49150
|
+
{
|
|
49151
|
+
id: "focus.tags.archive",
|
|
49152
|
+
family: "focus",
|
|
49153
|
+
resource: "tags",
|
|
49154
|
+
action: "archive",
|
|
49155
|
+
title: "Archive Tags",
|
|
49156
|
+
description: "Archive Tags.",
|
|
49157
|
+
safety: "update",
|
|
49158
|
+
destructive: false,
|
|
49159
|
+
cli: {
|
|
49160
|
+
group: ["tags"],
|
|
49161
|
+
command: "archive",
|
|
49162
|
+
interactive: "default"
|
|
49163
|
+
},
|
|
49164
|
+
mcp: { entityTool: "tags" },
|
|
49165
|
+
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
49166
|
+
execute: (input, { client }) => {
|
|
49167
|
+
const data = input;
|
|
49168
|
+
return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
|
|
49169
|
+
client.httpClient,
|
|
49170
|
+
client.workspaceIdNumber,
|
|
49171
|
+
data.tag_id,
|
|
49172
|
+
void 0
|
|
49173
|
+
]));
|
|
49174
|
+
}
|
|
49175
|
+
},
|
|
49176
|
+
{
|
|
49177
|
+
id: "focus.tags.bulk-archive",
|
|
49178
|
+
family: "focus",
|
|
49179
|
+
resource: "tags",
|
|
49180
|
+
action: "bulk-archive",
|
|
49181
|
+
title: "Bulk Archive Tags",
|
|
49182
|
+
description: "Bulk Archive Tags.",
|
|
49183
|
+
safety: "update",
|
|
49184
|
+
destructive: false,
|
|
49185
|
+
cli: {
|
|
49186
|
+
group: ["tags", "bulk"],
|
|
49187
|
+
command: "archive",
|
|
49188
|
+
interactive: "default"
|
|
49189
|
+
},
|
|
49190
|
+
mcp: { entityTool: "tags" },
|
|
49191
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49192
|
+
execute: (input, { client }) => {
|
|
49193
|
+
const data = input;
|
|
49194
|
+
return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
|
|
49195
|
+
client.httpClient,
|
|
49196
|
+
client.workspaceIdNumber,
|
|
49197
|
+
data.payload ?? data.data ?? data,
|
|
49198
|
+
void 0
|
|
49199
|
+
]));
|
|
49200
|
+
}
|
|
49201
|
+
},
|
|
49202
|
+
{
|
|
49203
|
+
id: "focus.tags.bulk-create",
|
|
49204
|
+
family: "focus",
|
|
49205
|
+
resource: "tags",
|
|
49206
|
+
action: "bulk-create",
|
|
49207
|
+
title: "Bulk Create Tags",
|
|
49208
|
+
description: "Bulk Create Tags.",
|
|
49209
|
+
safety: "create",
|
|
49210
|
+
destructive: false,
|
|
49211
|
+
cli: {
|
|
49212
|
+
group: ["tags", "bulk"],
|
|
49213
|
+
command: "create",
|
|
49214
|
+
interactive: "default"
|
|
49215
|
+
},
|
|
49216
|
+
mcp: { entityTool: "tags" },
|
|
49217
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
49218
|
+
color: /* @__PURE__ */ string$1(),
|
|
49219
|
+
name: /* @__PURE__ */ string$1()
|
|
49220
|
+
})) }) }),
|
|
49221
|
+
execute: (input, { client }) => {
|
|
49222
|
+
const data = input;
|
|
49223
|
+
return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
|
|
49224
|
+
client.httpClient,
|
|
49225
|
+
client.workspaceIdNumber,
|
|
49226
|
+
data.payload ?? data.data ?? data,
|
|
49227
|
+
void 0
|
|
49228
|
+
]));
|
|
49229
|
+
}
|
|
49230
|
+
},
|
|
49231
|
+
{
|
|
49232
|
+
id: "focus.tags.bulk-delete",
|
|
49233
|
+
family: "focus",
|
|
49234
|
+
resource: "tags",
|
|
49235
|
+
action: "bulk-delete",
|
|
49236
|
+
title: "Bulk Delete Tags",
|
|
49237
|
+
description: "Bulk Delete Tags.",
|
|
49238
|
+
safety: "delete",
|
|
49239
|
+
destructive: true,
|
|
49240
|
+
cli: {
|
|
49241
|
+
group: ["tags", "bulk"],
|
|
49242
|
+
command: "delete",
|
|
49243
|
+
interactive: "default"
|
|
49244
|
+
},
|
|
49245
|
+
mcp: { entityTool: "tags" },
|
|
49246
|
+
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
49247
|
+
execute: (input, { client }) => {
|
|
49248
|
+
const data = input;
|
|
49249
|
+
return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
|
|
49250
|
+
client.httpClient,
|
|
49251
|
+
client.workspaceIdNumber,
|
|
49252
|
+
data.ids,
|
|
49253
|
+
void 0
|
|
49254
|
+
]));
|
|
49255
|
+
}
|
|
49256
|
+
},
|
|
49257
|
+
{
|
|
49258
|
+
id: "focus.tags.bulk-restore",
|
|
49259
|
+
family: "focus",
|
|
49260
|
+
resource: "tags",
|
|
49261
|
+
action: "bulk-restore",
|
|
49262
|
+
title: "Bulk Restore Tags",
|
|
49263
|
+
description: "Bulk Restore Tags.",
|
|
49264
|
+
safety: "update",
|
|
49265
|
+
destructive: false,
|
|
49266
|
+
cli: {
|
|
49267
|
+
group: ["tags", "bulk"],
|
|
49268
|
+
command: "restore",
|
|
49269
|
+
interactive: "default"
|
|
49270
|
+
},
|
|
49271
|
+
mcp: { entityTool: "tags" },
|
|
49272
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49273
|
+
execute: (input, { client }) => {
|
|
49274
|
+
const data = input;
|
|
49275
|
+
return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
|
|
49276
|
+
client.httpClient,
|
|
49277
|
+
client.workspaceIdNumber,
|
|
49278
|
+
data.payload ?? data.data ?? data,
|
|
49279
|
+
void 0
|
|
49280
|
+
]));
|
|
49281
|
+
}
|
|
49282
|
+
},
|
|
49283
|
+
{
|
|
49284
|
+
id: "focus.tags.bulk-unarchive",
|
|
49285
|
+
family: "focus",
|
|
49286
|
+
resource: "tags",
|
|
49287
|
+
action: "bulk-unarchive",
|
|
49288
|
+
title: "Bulk Unarchive Tags",
|
|
49289
|
+
description: "Bulk Unarchive Tags.",
|
|
49290
|
+
safety: "update",
|
|
49291
|
+
destructive: false,
|
|
49292
|
+
cli: {
|
|
49293
|
+
group: ["tags", "bulk"],
|
|
49294
|
+
command: "unarchive",
|
|
49295
|
+
interactive: "default"
|
|
49296
|
+
},
|
|
49297
|
+
mcp: { entityTool: "tags" },
|
|
49298
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
48433
49299
|
execute: (input, { client }) => {
|
|
48434
49300
|
const data = input;
|
|
48435
|
-
return client.runGeneratedRequest("
|
|
49301
|
+
return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
|
|
48436
49302
|
client.httpClient,
|
|
48437
|
-
client.organizationId,
|
|
48438
49303
|
client.workspaceIdNumber,
|
|
48439
49304
|
data.payload ?? data.data ?? data,
|
|
48440
49305
|
void 0
|
|
@@ -48525,6 +49390,35 @@ const generatedFocusOperations = [
|
|
|
48525
49390
|
return client.listTags(data);
|
|
48526
49391
|
}
|
|
48527
49392
|
},
|
|
49393
|
+
{
|
|
49394
|
+
id: "focus.tags.merge",
|
|
49395
|
+
family: "focus",
|
|
49396
|
+
resource: "tags",
|
|
49397
|
+
action: "merge",
|
|
49398
|
+
title: "Merge Tags",
|
|
49399
|
+
description: "Merge Tags.",
|
|
49400
|
+
safety: "update",
|
|
49401
|
+
destructive: false,
|
|
49402
|
+
cli: {
|
|
49403
|
+
group: ["tags"],
|
|
49404
|
+
command: "merge",
|
|
49405
|
+
interactive: "default"
|
|
49406
|
+
},
|
|
49407
|
+
mcp: { entityTool: "tags" },
|
|
49408
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
49409
|
+
source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
49410
|
+
target_id: /* @__PURE__ */ number$2()
|
|
49411
|
+
}) }),
|
|
49412
|
+
execute: (input, { client }) => {
|
|
49413
|
+
const data = input;
|
|
49414
|
+
return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
|
|
49415
|
+
client.httpClient,
|
|
49416
|
+
client.workspaceIdNumber,
|
|
49417
|
+
data.payload ?? data.data ?? data,
|
|
49418
|
+
void 0
|
|
49419
|
+
]));
|
|
49420
|
+
}
|
|
49421
|
+
},
|
|
48528
49422
|
{
|
|
48529
49423
|
id: "focus.tags.restore",
|
|
48530
49424
|
family: "focus",
|
|
@@ -48551,6 +49445,32 @@ const generatedFocusOperations = [
|
|
|
48551
49445
|
]));
|
|
48552
49446
|
}
|
|
48553
49447
|
},
|
|
49448
|
+
{
|
|
49449
|
+
id: "focus.tags.unarchive",
|
|
49450
|
+
family: "focus",
|
|
49451
|
+
resource: "tags",
|
|
49452
|
+
action: "unarchive",
|
|
49453
|
+
title: "Unarchive Tags",
|
|
49454
|
+
description: "Unarchive Tags.",
|
|
49455
|
+
safety: "update",
|
|
49456
|
+
destructive: false,
|
|
49457
|
+
cli: {
|
|
49458
|
+
group: ["tags"],
|
|
49459
|
+
command: "unarchive",
|
|
49460
|
+
interactive: "default"
|
|
49461
|
+
},
|
|
49462
|
+
mcp: { entityTool: "tags" },
|
|
49463
|
+
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
49464
|
+
execute: (input, { client }) => {
|
|
49465
|
+
const data = input;
|
|
49466
|
+
return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
|
|
49467
|
+
client.httpClient,
|
|
49468
|
+
client.workspaceIdNumber,
|
|
49469
|
+
data.tag_id,
|
|
49470
|
+
void 0
|
|
49471
|
+
]));
|
|
49472
|
+
}
|
|
49473
|
+
},
|
|
48554
49474
|
{
|
|
48555
49475
|
id: "focus.tags.update",
|
|
48556
49476
|
family: "focus",
|
|
@@ -49232,12 +50152,12 @@ const generatedFocusOperations = [
|
|
|
49232
50152
|
mcp: { entityTool: "tasks" },
|
|
49233
50153
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
49234
50154
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50155
|
+
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49235
50156
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49236
50157
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49237
50158
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49238
50159
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49239
50160
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49240
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49241
50161
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49242
50162
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49243
50163
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49274,7 +50194,6 @@ const generatedFocusOperations = [
|
|
|
49274
50194
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
49275
50195
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49276
50196
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49277
|
-
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49278
50197
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49279
50198
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49280
50199
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49291,7 +50210,6 @@ const generatedFocusOperations = [
|
|
|
49291
50210
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49292
50211
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49293
50212
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49294
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49295
50213
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49296
50214
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49297
50215
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49347,7 +50265,6 @@ const generatedFocusOperations = [
|
|
|
49347
50265
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49348
50266
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49349
50267
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49350
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49351
50268
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49352
50269
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49353
50270
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49388,7 +50305,6 @@ const generatedFocusOperations = [
|
|
|
49388
50305
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49389
50306
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49390
50307
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49391
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49392
50308
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49393
50309
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49394
50310
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49429,6 +50345,7 @@ const generatedFocusOperations = [
|
|
|
49429
50345
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49430
50346
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49431
50347
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50348
|
+
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49432
50349
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49433
50350
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49434
50351
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49442,7 +50359,8 @@ const generatedFocusOperations = [
|
|
|
49442
50359
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49443
50360
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49444
50361
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49445
|
-
|
|
50362
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50363
|
+
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49446
50364
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49447
50365
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49448
50366
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49458,6 +50376,7 @@ const generatedFocusOperations = [
|
|
|
49458
50376
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49459
50377
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
49460
50378
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50379
|
+
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49461
50380
|
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
49462
50381
|
}),
|
|
49463
50382
|
execute: (input, { client }) => {
|
|
@@ -49472,6 +50391,118 @@ const generatedFocusOperations = [
|
|
|
49472
50391
|
]));
|
|
49473
50392
|
}
|
|
49474
50393
|
},
|
|
50394
|
+
{
|
|
50395
|
+
id: "focus.tasks.groups-get-user-task-groups-by-project",
|
|
50396
|
+
family: "focus",
|
|
50397
|
+
resource: "tasks",
|
|
50398
|
+
action: "groups-get-user-task-groups-by-project",
|
|
50399
|
+
title: "Groups Get User Task Groups By Project Tasks",
|
|
50400
|
+
description: "Groups Get User Task Groups By Project Tasks.",
|
|
50401
|
+
safety: "read",
|
|
50402
|
+
destructive: false,
|
|
50403
|
+
cli: {
|
|
50404
|
+
group: ["tasks", "groups"],
|
|
50405
|
+
command: "get-user-task-groups-by-project",
|
|
50406
|
+
interactive: "hidden"
|
|
50407
|
+
},
|
|
50408
|
+
mcp: { entityTool: "tasks" },
|
|
50409
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50410
|
+
assignee_user_id: /* @__PURE__ */ number$2(),
|
|
50411
|
+
cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50412
|
+
client_id: /* @__PURE__ */ number$2(),
|
|
50413
|
+
collapse_recurring: /* @__PURE__ */ unknown$1(),
|
|
50414
|
+
creator_id: /* @__PURE__ */ number$2(),
|
|
50415
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50416
|
+
end_date_from: /* @__PURE__ */ unknown$1(),
|
|
50417
|
+
end_date_to: /* @__PURE__ */ unknown$1(),
|
|
50418
|
+
exclude_empty: /* @__PURE__ */ unknown$1(),
|
|
50419
|
+
group_id: /* @__PURE__ */ number$2(),
|
|
50420
|
+
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50421
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
50422
|
+
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50423
|
+
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
50424
|
+
min_days: /* @__PURE__ */ unknown$1(),
|
|
50425
|
+
name: /* @__PURE__ */ unknown$1(),
|
|
50426
|
+
priority: /* @__PURE__ */ unknown$1(),
|
|
50427
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
50428
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
50429
|
+
source: /* @__PURE__ */ unknown$1(),
|
|
50430
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50431
|
+
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
50432
|
+
start_date_to: /* @__PURE__ */ unknown$1(),
|
|
50433
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
50434
|
+
tag_id: /* @__PURE__ */ number$2(),
|
|
50435
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
50436
|
+
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50437
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
50438
|
+
}),
|
|
50439
|
+
execute: (input, { client }) => {
|
|
50440
|
+
const data = input;
|
|
50441
|
+
return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
|
|
50442
|
+
client.httpClient,
|
|
50443
|
+
client.organizationId,
|
|
50444
|
+
client.workspaceIdNumber,
|
|
50445
|
+
data,
|
|
50446
|
+
void 0
|
|
50447
|
+
]));
|
|
50448
|
+
}
|
|
50449
|
+
},
|
|
50450
|
+
{
|
|
50451
|
+
id: "focus.tasks.groups-get-user-task-groups-by-team",
|
|
50452
|
+
family: "focus",
|
|
50453
|
+
resource: "tasks",
|
|
50454
|
+
action: "groups-get-user-task-groups-by-team",
|
|
50455
|
+
title: "Groups Get User Task Groups By Team Tasks",
|
|
50456
|
+
description: "Groups Get User Task Groups By Team Tasks.",
|
|
50457
|
+
safety: "read",
|
|
50458
|
+
destructive: false,
|
|
50459
|
+
cli: {
|
|
50460
|
+
group: ["tasks", "groups"],
|
|
50461
|
+
command: "get-user-task-groups-by-team",
|
|
50462
|
+
interactive: "hidden"
|
|
50463
|
+
},
|
|
50464
|
+
mcp: { entityTool: "tasks" },
|
|
50465
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50466
|
+
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50467
|
+
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50468
|
+
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50469
|
+
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50470
|
+
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50471
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50472
|
+
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50473
|
+
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50474
|
+
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50475
|
+
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50476
|
+
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50477
|
+
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50478
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50479
|
+
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50480
|
+
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50481
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50482
|
+
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50483
|
+
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50484
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50485
|
+
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50486
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50487
|
+
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50488
|
+
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50489
|
+
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50490
|
+
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50491
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50492
|
+
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50493
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50494
|
+
}),
|
|
50495
|
+
execute: (input, { client }) => {
|
|
50496
|
+
const data = input;
|
|
50497
|
+
return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
|
|
50498
|
+
client.httpClient,
|
|
50499
|
+
client.organizationId,
|
|
50500
|
+
client.workspaceIdNumber,
|
|
50501
|
+
data,
|
|
50502
|
+
void 0
|
|
50503
|
+
]));
|
|
50504
|
+
}
|
|
50505
|
+
},
|
|
49475
50506
|
{
|
|
49476
50507
|
id: "focus.tasks.groups-update",
|
|
49477
50508
|
family: "focus",
|
|
@@ -49677,7 +50708,6 @@ const generatedFocusOperations = [
|
|
|
49677
50708
|
name: /* @__PURE__ */ string$1(),
|
|
49678
50709
|
status_id: /* @__PURE__ */ number$2(),
|
|
49679
50710
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49680
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49681
50711
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
49682
50712
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49683
50713
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -49697,6 +50727,7 @@ const generatedFocusOperations = [
|
|
|
49697
50727
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49698
50728
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49699
50729
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50730
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49700
50731
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
49701
50732
|
}),
|
|
49702
50733
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -50705,6 +51736,40 @@ const generatedFocusOperations = [
|
|
|
50705
51736
|
]));
|
|
50706
51737
|
}
|
|
50707
51738
|
},
|
|
51739
|
+
{
|
|
51740
|
+
id: "focus.time-entries.groups-get-users",
|
|
51741
|
+
family: "focus",
|
|
51742
|
+
resource: "time-entries",
|
|
51743
|
+
action: "groups-get-users",
|
|
51744
|
+
title: "Groups Get Users Time Entries",
|
|
51745
|
+
description: "Groups Get Users Time Entries.",
|
|
51746
|
+
safety: "read",
|
|
51747
|
+
destructive: false,
|
|
51748
|
+
cli: {
|
|
51749
|
+
group: ["time-entries", "groups"],
|
|
51750
|
+
command: "get-users",
|
|
51751
|
+
interactive: "hidden"
|
|
51752
|
+
},
|
|
51753
|
+
mcp: { entityTool: "time-entries" },
|
|
51754
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51755
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51756
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
51757
|
+
page: /* @__PURE__ */ number$2(),
|
|
51758
|
+
per_page: /* @__PURE__ */ unknown$1(),
|
|
51759
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51760
|
+
user_id: /* @__PURE__ */ number$2()
|
|
51761
|
+
}),
|
|
51762
|
+
execute: (input, { client }) => {
|
|
51763
|
+
const data = input;
|
|
51764
|
+
return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
|
|
51765
|
+
client.httpClient,
|
|
51766
|
+
client.organizationId,
|
|
51767
|
+
client.workspaceIdNumber,
|
|
51768
|
+
data,
|
|
51769
|
+
void 0
|
|
51770
|
+
]));
|
|
51771
|
+
}
|
|
51772
|
+
},
|
|
50708
51773
|
{
|
|
50709
51774
|
id: "focus.time-entries.list",
|
|
50710
51775
|
family: "focus",
|
|
@@ -50889,6 +51954,42 @@ const generatedFocusOperations = [
|
|
|
50889
51954
|
inputSchema: emptySchema$1,
|
|
50890
51955
|
execute: (_input, { client }) => client.stopTracking()
|
|
50891
51956
|
},
|
|
51957
|
+
{
|
|
51958
|
+
id: "focus.time-entries.sync",
|
|
51959
|
+
family: "focus",
|
|
51960
|
+
resource: "time-entries",
|
|
51961
|
+
action: "sync",
|
|
51962
|
+
title: "Sync Time Entries",
|
|
51963
|
+
description: "Sync Time Entries.",
|
|
51964
|
+
safety: "update",
|
|
51965
|
+
destructive: false,
|
|
51966
|
+
cli: {
|
|
51967
|
+
group: ["time-entries"],
|
|
51968
|
+
command: "sync",
|
|
51969
|
+
interactive: "default"
|
|
51970
|
+
},
|
|
51971
|
+
mcp: { entityTool: "time-entries" },
|
|
51972
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51973
|
+
client_uuid: /* @__PURE__ */ string$1(),
|
|
51974
|
+
payload: /* @__PURE__ */ looseObject({
|
|
51975
|
+
billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
|
|
51976
|
+
client_updated_at: apiDateTimeString,
|
|
51977
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
51978
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51979
|
+
})
|
|
51980
|
+
}),
|
|
51981
|
+
execute: (input, { client }) => {
|
|
51982
|
+
const data = input;
|
|
51983
|
+
return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
|
|
51984
|
+
client.httpClient,
|
|
51985
|
+
client.organizationId,
|
|
51986
|
+
client.workspaceIdNumber,
|
|
51987
|
+
data.client_uuid,
|
|
51988
|
+
data.payload ?? data.data ?? data,
|
|
51989
|
+
void 0
|
|
51990
|
+
]));
|
|
51991
|
+
}
|
|
51992
|
+
},
|
|
50892
51993
|
{
|
|
50893
51994
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
50894
51995
|
family: "focus",
|
|
@@ -50937,6 +52038,7 @@ const generatedFocusOperations = [
|
|
|
50937
52038
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50938
52039
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50939
52040
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52041
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50940
52042
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50941
52043
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
50942
52044
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -50995,125 +52097,37 @@ const generatedFocusOperations = [
|
|
|
50995
52097
|
resource: "time-entries",
|
|
50996
52098
|
action: "update",
|
|
50997
52099
|
title: "Update Time Entries",
|
|
50998
|
-
description: "Update Time Entries.",
|
|
50999
|
-
safety: "update",
|
|
51000
|
-
destructive: false,
|
|
51001
|
-
cli: {
|
|
51002
|
-
group: ["time-entries"],
|
|
51003
|
-
command: "update",
|
|
51004
|
-
interactive: "default"
|
|
51005
|
-
},
|
|
51006
|
-
mcp: { entityTool: "time-entries" },
|
|
51007
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51008
|
-
payload: /* @__PURE__ */ looseObject({
|
|
51009
|
-
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
51010
|
-
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51011
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51012
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51013
|
-
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51014
|
-
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51015
|
-
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51016
|
-
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51017
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51018
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
51019
|
-
}),
|
|
51020
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
51021
|
-
}),
|
|
51022
|
-
execute: (input, { client }) => {
|
|
51023
|
-
const data = input;
|
|
51024
|
-
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
51025
|
-
client.httpClient,
|
|
51026
|
-
client.organizationId,
|
|
51027
|
-
client.workspaceIdNumber,
|
|
51028
|
-
data.time_entry_id,
|
|
51029
|
-
data.payload ?? data.data ?? data,
|
|
51030
|
-
void 0
|
|
51031
|
-
]));
|
|
51032
|
-
}
|
|
51033
|
-
},
|
|
51034
|
-
{
|
|
51035
|
-
id: "focus.time-log-suggestions.get-for-acalendar-event-title",
|
|
51036
|
-
family: "focus",
|
|
51037
|
-
resource: "time-log-suggestions",
|
|
51038
|
-
action: "get-for-acalendar-event-title",
|
|
51039
|
-
title: "Get For Acalendar Event Title Time Log Suggestions",
|
|
51040
|
-
description: "Get For Acalendar Event Title Time Log Suggestions.",
|
|
51041
|
-
safety: "update",
|
|
51042
|
-
destructive: false,
|
|
51043
|
-
cli: {
|
|
51044
|
-
group: ["time-log-suggestions"],
|
|
51045
|
-
command: "get-for-acalendar-event-title",
|
|
51046
|
-
interactive: "default"
|
|
51047
|
-
},
|
|
51048
|
-
mcp: { entityTool: "time-log-suggestions" },
|
|
51049
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
|
|
51050
|
-
execute: (input, { client }) => {
|
|
51051
|
-
const data = input;
|
|
51052
|
-
return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
|
|
51053
|
-
client.httpClient,
|
|
51054
|
-
client.organizationId,
|
|
51055
|
-
client.workspaceIdNumber,
|
|
51056
|
-
data.payload ?? data.data ?? data,
|
|
51057
|
-
void 0
|
|
51058
|
-
]));
|
|
51059
|
-
}
|
|
51060
|
-
},
|
|
51061
|
-
{
|
|
51062
|
-
id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
|
|
51063
|
-
family: "focus",
|
|
51064
|
-
resource: "time-log-suggestions",
|
|
51065
|
-
action: "get-for-multiple-calendar-event-titles",
|
|
51066
|
-
title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
|
|
51067
|
-
description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
|
|
51068
|
-
safety: "update",
|
|
51069
|
-
destructive: false,
|
|
51070
|
-
cli: {
|
|
51071
|
-
group: ["time-log-suggestions"],
|
|
51072
|
-
command: "get-for-multiple-calendar-event-titles",
|
|
51073
|
-
interactive: "default"
|
|
51074
|
-
},
|
|
51075
|
-
mcp: { entityTool: "time-log-suggestions" },
|
|
51076
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
51077
|
-
key: /* @__PURE__ */ string$1(),
|
|
51078
|
-
title: /* @__PURE__ */ string$1()
|
|
51079
|
-
})) }) }),
|
|
51080
|
-
execute: (input, { client }) => {
|
|
51081
|
-
const data = input;
|
|
51082
|
-
return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
|
|
51083
|
-
client.httpClient,
|
|
51084
|
-
client.organizationId,
|
|
51085
|
-
client.workspaceIdNumber,
|
|
51086
|
-
data.payload ?? data.data ?? data,
|
|
51087
|
-
void 0
|
|
51088
|
-
]));
|
|
51089
|
-
}
|
|
51090
|
-
},
|
|
51091
|
-
{
|
|
51092
|
-
id: "focus.time-off.create-timeoff-for-ghost",
|
|
51093
|
-
family: "focus",
|
|
51094
|
-
resource: "time-off",
|
|
51095
|
-
action: "create-timeoff-for-ghost",
|
|
51096
|
-
title: "Create Timeoff For Ghost Time Off",
|
|
51097
|
-
description: "Create Timeoff For Ghost Time Off.",
|
|
51098
|
-
safety: "create",
|
|
52100
|
+
description: "Update Time Entries.",
|
|
52101
|
+
safety: "update",
|
|
51099
52102
|
destructive: false,
|
|
51100
52103
|
cli: {
|
|
51101
|
-
group: ["time-
|
|
51102
|
-
command: "
|
|
51103
|
-
interactive: "
|
|
52104
|
+
group: ["time-entries"],
|
|
52105
|
+
command: "update",
|
|
52106
|
+
interactive: "default"
|
|
51104
52107
|
},
|
|
51105
|
-
mcp: { entityTool: "time-
|
|
52108
|
+
mcp: { entityTool: "time-entries" },
|
|
51106
52109
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51107
|
-
|
|
51108
|
-
|
|
52110
|
+
payload: /* @__PURE__ */ looseObject({
|
|
52111
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52112
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52113
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52114
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52115
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52116
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52117
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52118
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52119
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52120
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52121
|
+
}),
|
|
52122
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
51109
52123
|
}),
|
|
51110
52124
|
execute: (input, { client }) => {
|
|
51111
52125
|
const data = input;
|
|
51112
|
-
return client.runGeneratedRequest("
|
|
52126
|
+
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
51113
52127
|
client.httpClient,
|
|
51114
52128
|
client.organizationId,
|
|
51115
52129
|
client.workspaceIdNumber,
|
|
51116
|
-
data.
|
|
52130
|
+
data.time_entry_id,
|
|
51117
52131
|
data.payload ?? data.data ?? data,
|
|
51118
52132
|
void 0
|
|
51119
52133
|
]));
|
|
@@ -51149,37 +52163,6 @@ const generatedFocusOperations = [
|
|
|
51149
52163
|
]));
|
|
51150
52164
|
}
|
|
51151
52165
|
},
|
|
51152
|
-
{
|
|
51153
|
-
id: "focus.time-off.delete-timeoff-for-ghost",
|
|
51154
|
-
family: "focus",
|
|
51155
|
-
resource: "time-off",
|
|
51156
|
-
action: "delete-timeoff-for-ghost",
|
|
51157
|
-
title: "Delete Timeoff For Ghost Time Off",
|
|
51158
|
-
description: "Delete Timeoff For Ghost Time Off.",
|
|
51159
|
-
safety: "delete",
|
|
51160
|
-
destructive: true,
|
|
51161
|
-
cli: {
|
|
51162
|
-
group: ["time-off"],
|
|
51163
|
-
command: "delete-timeoff-for-ghost",
|
|
51164
|
-
interactive: "hidden"
|
|
51165
|
-
},
|
|
51166
|
-
mcp: { entityTool: "time-off" },
|
|
51167
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51168
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
51169
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
51170
|
-
}),
|
|
51171
|
-
execute: (input, { client }) => {
|
|
51172
|
-
const data = input;
|
|
51173
|
-
return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
|
|
51174
|
-
client.httpClient,
|
|
51175
|
-
client.organizationId,
|
|
51176
|
-
client.workspaceIdNumber,
|
|
51177
|
-
data.ghost_id,
|
|
51178
|
-
data.payload ?? data.data ?? data,
|
|
51179
|
-
void 0
|
|
51180
|
-
]));
|
|
51181
|
-
}
|
|
51182
|
-
},
|
|
51183
52166
|
{
|
|
51184
52167
|
id: "focus.time-off.delete-timeoff-for-user",
|
|
51185
52168
|
family: "focus",
|
|
@@ -51210,38 +52193,6 @@ const generatedFocusOperations = [
|
|
|
51210
52193
|
]));
|
|
51211
52194
|
}
|
|
51212
52195
|
},
|
|
51213
|
-
{
|
|
51214
|
-
id: "focus.time-off.get-timeoff-for-ghost",
|
|
51215
|
-
family: "focus",
|
|
51216
|
-
resource: "time-off",
|
|
51217
|
-
action: "get-timeoff-for-ghost",
|
|
51218
|
-
title: "Get Timeoff For Ghost Time Off",
|
|
51219
|
-
description: "Get Timeoff For Ghost Time Off.",
|
|
51220
|
-
safety: "read",
|
|
51221
|
-
destructive: false,
|
|
51222
|
-
cli: {
|
|
51223
|
-
group: ["time-off"],
|
|
51224
|
-
command: "get-timeoff-for-ghost",
|
|
51225
|
-
interactive: "hidden"
|
|
51226
|
-
},
|
|
51227
|
-
mcp: { entityTool: "time-off" },
|
|
51228
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51229
|
-
from: /* @__PURE__ */ unknown$1(),
|
|
51230
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
51231
|
-
to: /* @__PURE__ */ unknown$1()
|
|
51232
|
-
}),
|
|
51233
|
-
execute: (input, { client }) => {
|
|
51234
|
-
const data = input;
|
|
51235
|
-
return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
|
|
51236
|
-
client.httpClient,
|
|
51237
|
-
client.organizationId,
|
|
51238
|
-
client.workspaceIdNumber,
|
|
51239
|
-
data.ghost_id,
|
|
51240
|
-
data,
|
|
51241
|
-
void 0
|
|
51242
|
-
]));
|
|
51243
|
-
}
|
|
51244
|
-
},
|
|
51245
52196
|
{
|
|
51246
52197
|
id: "focus.time-off.get-timeoff-for-user",
|
|
51247
52198
|
family: "focus",
|
|
@@ -51273,37 +52224,6 @@ const generatedFocusOperations = [
|
|
|
51273
52224
|
]));
|
|
51274
52225
|
}
|
|
51275
52226
|
},
|
|
51276
|
-
{
|
|
51277
|
-
id: "focus.time-off.get-timeoffs-by-ghost-ids",
|
|
51278
|
-
family: "focus",
|
|
51279
|
-
resource: "time-off",
|
|
51280
|
-
action: "get-timeoffs-by-ghost-ids",
|
|
51281
|
-
title: "Get Timeoffs By Ghost Ids Time Off",
|
|
51282
|
-
description: "Get Timeoffs By Ghost Ids Time Off.",
|
|
51283
|
-
safety: "read",
|
|
51284
|
-
destructive: false,
|
|
51285
|
-
cli: {
|
|
51286
|
-
group: ["time-off"],
|
|
51287
|
-
command: "get-timeoffs-by-ghost-ids",
|
|
51288
|
-
interactive: "hidden"
|
|
51289
|
-
},
|
|
51290
|
-
mcp: { entityTool: "time-off" },
|
|
51291
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51292
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51293
|
-
ghost_ids: /* @__PURE__ */ unknown$1(),
|
|
51294
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
|
|
51295
|
-
}),
|
|
51296
|
-
execute: (input, { client }) => {
|
|
51297
|
-
const data = input;
|
|
51298
|
-
return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
|
|
51299
|
-
client.httpClient,
|
|
51300
|
-
client.organizationId,
|
|
51301
|
-
client.workspaceIdNumber,
|
|
51302
|
-
data,
|
|
51303
|
-
void 0
|
|
51304
|
-
]));
|
|
51305
|
-
}
|
|
51306
|
-
},
|
|
51307
52227
|
{
|
|
51308
52228
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
51309
52229
|
family: "focus",
|
|
@@ -51334,37 +52254,6 @@ const generatedFocusOperations = [
|
|
|
51334
52254
|
]));
|
|
51335
52255
|
}
|
|
51336
52256
|
},
|
|
51337
|
-
{
|
|
51338
|
-
id: "focus.time-off.update-timeoff-for-ghost",
|
|
51339
|
-
family: "focus",
|
|
51340
|
-
resource: "time-off",
|
|
51341
|
-
action: "update-timeoff-for-ghost",
|
|
51342
|
-
title: "Update Timeoff For Ghost Time Off",
|
|
51343
|
-
description: "Update Timeoff For Ghost Time Off.",
|
|
51344
|
-
safety: "update",
|
|
51345
|
-
destructive: false,
|
|
51346
|
-
cli: {
|
|
51347
|
-
group: ["time-off"],
|
|
51348
|
-
command: "update-timeoff-for-ghost",
|
|
51349
|
-
interactive: "hidden"
|
|
51350
|
-
},
|
|
51351
|
-
mcp: { entityTool: "time-off" },
|
|
51352
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51353
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
51354
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
51355
|
-
}),
|
|
51356
|
-
execute: (input, { client }) => {
|
|
51357
|
-
const data = input;
|
|
51358
|
-
return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
|
|
51359
|
-
client.httpClient,
|
|
51360
|
-
client.organizationId,
|
|
51361
|
-
client.workspaceIdNumber,
|
|
51362
|
-
data.ghost_id,
|
|
51363
|
-
data.payload ?? data.data ?? data,
|
|
51364
|
-
void 0
|
|
51365
|
-
]));
|
|
51366
|
-
}
|
|
51367
|
-
},
|
|
51368
52257
|
{
|
|
51369
52258
|
id: "focus.time-off.update-timeoff-for-user",
|
|
51370
52259
|
family: "focus",
|
|
@@ -52396,6 +53285,7 @@ const generatedFocusOperations = [
|
|
|
52396
53285
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52397
53286
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52398
53287
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53288
|
+
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52399
53289
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52400
53290
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52401
53291
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -52497,37 +53387,6 @@ const generatedFocusOperations = [
|
|
|
52497
53387
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
52498
53388
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
52499
53389
|
},
|
|
52500
|
-
{
|
|
52501
|
-
id: "focus.working-hours.create-for-ghost",
|
|
52502
|
-
family: "focus",
|
|
52503
|
-
resource: "working-hours",
|
|
52504
|
-
action: "create-for-ghost",
|
|
52505
|
-
title: "Create For Ghost Working Hours",
|
|
52506
|
-
description: "Create For Ghost Working Hours.",
|
|
52507
|
-
safety: "create",
|
|
52508
|
-
destructive: false,
|
|
52509
|
-
cli: {
|
|
52510
|
-
group: ["working-hours"],
|
|
52511
|
-
command: "create-for-ghost",
|
|
52512
|
-
interactive: "hidden"
|
|
52513
|
-
},
|
|
52514
|
-
mcp: { entityTool: "working-hours" },
|
|
52515
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52516
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
52517
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
52518
|
-
}),
|
|
52519
|
-
execute: (input, { client }) => {
|
|
52520
|
-
const data = input;
|
|
52521
|
-
return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
|
|
52522
|
-
client.httpClient,
|
|
52523
|
-
client.organizationId,
|
|
52524
|
-
client.workspaceIdNumber,
|
|
52525
|
-
data.ghost_id,
|
|
52526
|
-
data.payload ?? data.data ?? data,
|
|
52527
|
-
void 0
|
|
52528
|
-
]));
|
|
52529
|
-
}
|
|
52530
|
-
},
|
|
52531
53390
|
{
|
|
52532
53391
|
id: "focus.working-hours.create-for-user",
|
|
52533
53392
|
family: "focus",
|
|
@@ -52558,37 +53417,6 @@ const generatedFocusOperations = [
|
|
|
52558
53417
|
]));
|
|
52559
53418
|
}
|
|
52560
53419
|
},
|
|
52561
|
-
{
|
|
52562
|
-
id: "focus.working-hours.delete-for-ghost",
|
|
52563
|
-
family: "focus",
|
|
52564
|
-
resource: "working-hours",
|
|
52565
|
-
action: "delete-for-ghost",
|
|
52566
|
-
title: "Delete For Ghost Working Hours",
|
|
52567
|
-
description: "Delete For Ghost Working Hours.",
|
|
52568
|
-
safety: "delete",
|
|
52569
|
-
destructive: true,
|
|
52570
|
-
cli: {
|
|
52571
|
-
group: ["working-hours"],
|
|
52572
|
-
command: "delete-for-ghost",
|
|
52573
|
-
interactive: "hidden"
|
|
52574
|
-
},
|
|
52575
|
-
mcp: { entityTool: "working-hours" },
|
|
52576
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52577
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
52578
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
52579
|
-
}),
|
|
52580
|
-
execute: (input, { client }) => {
|
|
52581
|
-
const data = input;
|
|
52582
|
-
return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
|
|
52583
|
-
client.httpClient,
|
|
52584
|
-
client.organizationId,
|
|
52585
|
-
client.workspaceIdNumber,
|
|
52586
|
-
data.ghost_id,
|
|
52587
|
-
data.payload ?? data.data ?? data,
|
|
52588
|
-
void 0
|
|
52589
|
-
]));
|
|
52590
|
-
}
|
|
52591
|
-
},
|
|
52592
53420
|
{
|
|
52593
53421
|
id: "focus.working-hours.delete-for-user",
|
|
52594
53422
|
family: "focus",
|
|
@@ -52619,33 +53447,6 @@ const generatedFocusOperations = [
|
|
|
52619
53447
|
]));
|
|
52620
53448
|
}
|
|
52621
53449
|
},
|
|
52622
|
-
{
|
|
52623
|
-
id: "focus.working-hours.get-for-ghost",
|
|
52624
|
-
family: "focus",
|
|
52625
|
-
resource: "working-hours",
|
|
52626
|
-
action: "get-for-ghost",
|
|
52627
|
-
title: "Get For Ghost Working Hours",
|
|
52628
|
-
description: "Get For Ghost Working Hours.",
|
|
52629
|
-
safety: "read",
|
|
52630
|
-
destructive: false,
|
|
52631
|
-
cli: {
|
|
52632
|
-
group: ["working-hours"],
|
|
52633
|
-
command: "get-for-ghost",
|
|
52634
|
-
interactive: "available"
|
|
52635
|
-
},
|
|
52636
|
-
mcp: { entityTool: "working-hours" },
|
|
52637
|
-
inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
|
|
52638
|
-
execute: (input, { client }) => {
|
|
52639
|
-
const data = input;
|
|
52640
|
-
return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
|
|
52641
|
-
client.httpClient,
|
|
52642
|
-
client.organizationId,
|
|
52643
|
-
client.workspaceIdNumber,
|
|
52644
|
-
data.ghost_id,
|
|
52645
|
-
void 0
|
|
52646
|
-
]));
|
|
52647
|
-
}
|
|
52648
|
-
},
|
|
52649
53450
|
{
|
|
52650
53451
|
id: "focus.working-hours.get-for-user",
|
|
52651
53452
|
family: "focus",
|
|
@@ -52672,37 +53473,6 @@ const generatedFocusOperations = [
|
|
|
52672
53473
|
]));
|
|
52673
53474
|
}
|
|
52674
53475
|
},
|
|
52675
|
-
{
|
|
52676
|
-
id: "focus.working-hours.update-for-ghost",
|
|
52677
|
-
family: "focus",
|
|
52678
|
-
resource: "working-hours",
|
|
52679
|
-
action: "update-for-ghost",
|
|
52680
|
-
title: "Update For Ghost Working Hours",
|
|
52681
|
-
description: "Update For Ghost Working Hours.",
|
|
52682
|
-
safety: "update",
|
|
52683
|
-
destructive: false,
|
|
52684
|
-
cli: {
|
|
52685
|
-
group: ["working-hours"],
|
|
52686
|
-
command: "update-for-ghost",
|
|
52687
|
-
interactive: "hidden"
|
|
52688
|
-
},
|
|
52689
|
-
mcp: { entityTool: "working-hours" },
|
|
52690
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52691
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
52692
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
52693
|
-
}),
|
|
52694
|
-
execute: (input, { client }) => {
|
|
52695
|
-
const data = input;
|
|
52696
|
-
return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
|
|
52697
|
-
client.httpClient,
|
|
52698
|
-
client.organizationId,
|
|
52699
|
-
client.workspaceIdNumber,
|
|
52700
|
-
data.ghost_id,
|
|
52701
|
-
data.payload ?? data.data ?? data,
|
|
52702
|
-
void 0
|
|
52703
|
-
]));
|
|
52704
|
-
}
|
|
52705
|
-
},
|
|
52706
53476
|
{
|
|
52707
53477
|
id: "focus.working-hours.update-for-user",
|
|
52708
53478
|
family: "focus",
|
|
@@ -52777,6 +53547,50 @@ const generatedFocusOperations = [
|
|
|
52777
53547
|
void 0
|
|
52778
53548
|
]))
|
|
52779
53549
|
},
|
|
53550
|
+
{
|
|
53551
|
+
id: "focus.workspace-settings.get-workspace-export-branding",
|
|
53552
|
+
family: "focus",
|
|
53553
|
+
resource: "workspace-settings",
|
|
53554
|
+
action: "get-workspace-export-branding",
|
|
53555
|
+
title: "Get Workspace Export Branding Workspace Settings",
|
|
53556
|
+
description: "Get Workspace Export Branding Workspace Settings.",
|
|
53557
|
+
safety: "read",
|
|
53558
|
+
destructive: false,
|
|
53559
|
+
cli: {
|
|
53560
|
+
group: ["workspace-settings"],
|
|
53561
|
+
command: "get-workspace-export-branding",
|
|
53562
|
+
interactive: "hidden"
|
|
53563
|
+
},
|
|
53564
|
+
mcp: { entityTool: "workspace-settings" },
|
|
53565
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53566
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
|
|
53567
|
+
client.httpClient,
|
|
53568
|
+
client.workspaceIdNumber,
|
|
53569
|
+
void 0
|
|
53570
|
+
]))
|
|
53571
|
+
},
|
|
53572
|
+
{
|
|
53573
|
+
id: "focus.workspace-settings.get-workspace-watermark",
|
|
53574
|
+
family: "focus",
|
|
53575
|
+
resource: "workspace-settings",
|
|
53576
|
+
action: "get-workspace-watermark",
|
|
53577
|
+
title: "Get Workspace Watermark Workspace Settings",
|
|
53578
|
+
description: "Get Workspace Watermark Workspace Settings.",
|
|
53579
|
+
safety: "read",
|
|
53580
|
+
destructive: false,
|
|
53581
|
+
cli: {
|
|
53582
|
+
group: ["workspace-settings"],
|
|
53583
|
+
command: "get-workspace-watermark",
|
|
53584
|
+
interactive: "hidden"
|
|
53585
|
+
},
|
|
53586
|
+
mcp: { entityTool: "workspace-settings" },
|
|
53587
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53588
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
|
|
53589
|
+
client.httpClient,
|
|
53590
|
+
client.workspaceIdNumber,
|
|
53591
|
+
void 0
|
|
53592
|
+
]))
|
|
53593
|
+
},
|
|
52780
53594
|
{
|
|
52781
53595
|
id: "focus.workspace-settings.list",
|
|
52782
53596
|
family: "focus",
|
|
@@ -52851,6 +53665,32 @@ const generatedFocusOperations = [
|
|
|
52851
53665
|
]));
|
|
52852
53666
|
}
|
|
52853
53667
|
},
|
|
53668
|
+
{
|
|
53669
|
+
id: "focus.workspace-settings.update-workspace-watermark",
|
|
53670
|
+
family: "focus",
|
|
53671
|
+
resource: "workspace-settings",
|
|
53672
|
+
action: "update-workspace-watermark",
|
|
53673
|
+
title: "Update Workspace Watermark Workspace Settings",
|
|
53674
|
+
description: "Update Workspace Watermark Workspace Settings.",
|
|
53675
|
+
safety: "update",
|
|
53676
|
+
destructive: false,
|
|
53677
|
+
cli: {
|
|
53678
|
+
group: ["workspace-settings"],
|
|
53679
|
+
command: "update-workspace-watermark",
|
|
53680
|
+
interactive: "default"
|
|
53681
|
+
},
|
|
53682
|
+
mcp: { entityTool: "workspace-settings" },
|
|
53683
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
|
|
53684
|
+
execute: (input, { client }) => {
|
|
53685
|
+
const data = input;
|
|
53686
|
+
return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
|
|
53687
|
+
client.httpClient,
|
|
53688
|
+
client.workspaceIdNumber,
|
|
53689
|
+
data.payload ?? data.data ?? data,
|
|
53690
|
+
void 0
|
|
53691
|
+
]));
|
|
53692
|
+
}
|
|
53693
|
+
},
|
|
52854
53694
|
{
|
|
52855
53695
|
id: "focus.workspace.get-context",
|
|
52856
53696
|
family: "focus",
|
|
@@ -53977,7 +54817,7 @@ function registerWorkspaceTools(server) {
|
|
|
53977
54817
|
//#region src/package-version.ts
|
|
53978
54818
|
function mcpPackageVersion() {
|
|
53979
54819
|
try {
|
|
53980
|
-
return "1.11.
|
|
54820
|
+
return "1.11.146";
|
|
53981
54821
|
} catch {
|
|
53982
54822
|
return "unknown";
|
|
53983
54823
|
}
|
|
@@ -54152,7 +54992,7 @@ import_main.default.config({
|
|
|
54152
54992
|
quiet: true,
|
|
54153
54993
|
ignore: ["MISSING_ENV_FILE"]
|
|
54154
54994
|
});
|
|
54155
|
-
const packageVersion = "1.11.
|
|
54995
|
+
const packageVersion = "1.11.146";
|
|
54156
54996
|
function resolvePublicUrls() {
|
|
54157
54997
|
return {
|
|
54158
54998
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -54217,4 +55057,4 @@ function bootstrapServer(options = {}) {
|
|
|
54217
55057
|
//#endregion
|
|
54218
55058
|
export { getProductAnalyticsDistinctId as a, resolvePublicSentryDsn as c, captureToolInvocation as i, shutdownProductAnalytics as l, runMcpCli as n, initProductAnalytics as o, PUBLIC_SENTRY_PRIVACY_OPTIONS as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
|
|
54219
55059
|
|
|
54220
|
-
//# sourceMappingURL=src-
|
|
55060
|
+
//# sourceMappingURL=src-BuYfRBM-.js.map
|