@togglhq/mcp 1.11.144 → 1.11.145
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-kfccTxGe.js → src-DM9DnITM.js} +575 -1339
- package/package.json +1 -1
|
@@ -34625,7 +34625,11 @@ function safeParse(schema, input, config$1) {
|
|
|
34625
34625
|
}
|
|
34626
34626
|
const TaskAssignmentSchema = /* @__PURE__ */ object({
|
|
34627
34627
|
id: /* @__PURE__ */ number(),
|
|
34628
|
-
type: /* @__PURE__ */ picklist([
|
|
34628
|
+
type: /* @__PURE__ */ picklist([
|
|
34629
|
+
"user",
|
|
34630
|
+
"ghost",
|
|
34631
|
+
"team"
|
|
34632
|
+
])
|
|
34629
34633
|
});
|
|
34630
34634
|
const ClientLiteSchema = /* @__PURE__ */ object({
|
|
34631
34635
|
id: /* @__PURE__ */ number(),
|
|
@@ -34667,8 +34671,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
34667
34671
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34668
34672
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
34669
34673
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
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.")))
|
|
34674
|
+
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
34672
34675
|
});
|
|
34673
34676
|
const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
34674
34677
|
all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -34678,7 +34681,6 @@ const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
|
34678
34681
|
extension_url: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34679
34682
|
external_id: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34680
34683
|
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."))),
|
|
34682
34684
|
meeting_link: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34683
34685
|
project_assignment: /* @__PURE__ */ optional(/* @__PURE__ */ object({
|
|
34684
34686
|
origin: /* @__PURE__ */ picklist([
|
|
@@ -34741,7 +34743,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34741
34743
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34742
34744
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
34743
34745
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34744
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
34746
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34745
34747
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34746
34748
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34747
34749
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34749,6 +34751,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34749
34751
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34750
34752
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34751
34753
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34754
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34752
34755
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34753
34756
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34754
34757
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -34758,7 +34761,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34758
34761
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34759
34762
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34760
34763
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34761
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34762
34764
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34763
34765
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34764
34766
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -34802,7 +34804,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34802
34804
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34803
34805
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
34804
34806
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34805
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
34807
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34806
34808
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34807
34809
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34808
34810
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34810,6 +34812,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34810
34812
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34811
34813
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34812
34814
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34815
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
34813
34816
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34814
34817
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34815
34818
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -34820,7 +34823,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34820
34823
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34821
34824
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34822
34825
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34823
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34824
34826
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34825
34827
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34826
34828
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -34979,7 +34981,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
34979
34981
|
tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
|
|
34980
34982
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
34981
34983
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34982
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
34984
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
34983
34985
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34984
34986
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
34985
34987
|
});
|
|
@@ -35123,7 +35125,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35123
35125
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
35124
35126
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35125
35127
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35126
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
35128
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
35127
35129
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35128
35130
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35129
35131
|
})),
|
|
@@ -35135,15 +35137,9 @@ const TagSchema$1 = /* @__PURE__ */ object({
|
|
|
35135
35137
|
id: /* @__PURE__ */ number(),
|
|
35136
35138
|
name: /* @__PURE__ */ string(),
|
|
35137
35139
|
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."))),
|
|
35139
35140
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35140
35141
|
deleted_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.")))
|
|
35142
|
+
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35147
35143
|
});
|
|
35148
35144
|
const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
35149
35145
|
data: /* @__PURE__ */ array(TagSchema$1),
|
|
@@ -35154,8 +35150,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
35154
35150
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
35155
35151
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
35156
35152
|
account_locked_at: /* @__PURE__ */ string(),
|
|
35157
|
-
accounts_role_id: /* @__PURE__ */ number(),
|
|
35158
35153
|
active: /* @__PURE__ */ boolean(),
|
|
35154
|
+
admin: /* @__PURE__ */ boolean(),
|
|
35159
35155
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
35160
35156
|
created_at: /* @__PURE__ */ string(),
|
|
35161
35157
|
deleted_at: /* @__PURE__ */ string(),
|
|
@@ -35204,8 +35200,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
35204
35200
|
track_role_id: /* @__PURE__ */ number(),
|
|
35205
35201
|
work_role_id: /* @__PURE__ */ number(),
|
|
35206
35202
|
workspace_user_id: /* @__PURE__ */ number()
|
|
35207
|
-
}))
|
|
35208
|
-
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema))
|
|
35203
|
+
}))
|
|
35209
35204
|
});
|
|
35210
35205
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35211
35206
|
const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
@@ -35282,7 +35277,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35282
35277
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35283
35278
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35284
35279
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35285
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
35280
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35281
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35286
35282
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35287
35283
|
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35288
35284
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -35298,7 +35294,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35298
35294
|
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35299
35295
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35300
35296
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35301
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35302
35297
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35303
35298
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35304
35299
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -35308,23 +35303,22 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35308
35303
|
const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35309
35304
|
const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
35310
35305
|
cascade_duplicate_children: /* @__PURE__ */ boolean(),
|
|
35311
|
-
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
35312
|
-
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.")))
|
|
35306
|
+
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
35313
35307
|
});
|
|
35314
35308
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35315
35309
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
35316
35310
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
35317
|
-
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35318
35311
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
35319
35312
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35320
35313
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35321
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
35314
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35322
35315
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35323
35316
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
35324
35317
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35325
35318
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35326
35319
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35327
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */
|
|
35320
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35321
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35328
35322
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35329
35323
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35330
35324
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35341,7 +35335,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35341
35335
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35342
35336
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35343
35337
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35344
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35345
35338
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35346
35339
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35347
35340
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -35350,17 +35343,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35350
35343
|
});
|
|
35351
35344
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
35352
35345
|
id: /* @__PURE__ */ number(),
|
|
35353
|
-
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35354
35346
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
35355
35347
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35356
35348
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35357
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
35349
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35358
35350
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35359
35351
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
35360
35352
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35361
35353
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35362
35354
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35363
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */
|
|
35355
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35356
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35364
35357
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35365
35358
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35366
35359
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35377,7 +35370,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35377
35370
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35378
35371
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35379
35372
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35380
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35381
35373
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35382
35374
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35383
35375
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -37301,7 +37293,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37301
37293
|
})
|
|
37302
37294
|
}).json();
|
|
37303
37295
|
}
|
|
37304
|
-
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
|
|
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
37297
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37306
37298
|
signal,
|
|
37307
37299
|
searchParams: buildSearchParams$2({
|
|
@@ -37321,9 +37313,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37321
37313
|
include_working_hours,
|
|
37322
37314
|
include_rates,
|
|
37323
37315
|
pinned_ids,
|
|
37324
|
-
has_group
|
|
37325
|
-
cf_filter,
|
|
37326
|
-
include_custom_fields
|
|
37316
|
+
has_group
|
|
37327
37317
|
}, true)
|
|
37328
37318
|
});
|
|
37329
37319
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -37342,7 +37332,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
37342
37332
|
}
|
|
37343
37333
|
//#endregion
|
|
37344
37334
|
//#region ../focus-queries/dist/tags/requests.ts
|
|
37345
|
-
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id
|
|
37335
|
+
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
|
|
37346
37336
|
return await httpClient.get(`workspaces/${workspace_id}/tags`, {
|
|
37347
37337
|
signal,
|
|
37348
37338
|
searchParams: buildSearchParams$2({
|
|
@@ -37350,10 +37340,7 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
|
|
|
37350
37340
|
page,
|
|
37351
37341
|
per_page,
|
|
37352
37342
|
order_by,
|
|
37353
|
-
tag_id
|
|
37354
|
-
include_usage,
|
|
37355
|
-
include_archived,
|
|
37356
|
-
archived
|
|
37343
|
+
tag_id
|
|
37357
37344
|
})
|
|
37358
37345
|
}).json();
|
|
37359
37346
|
}
|
|
@@ -37363,42 +37350,6 @@ async function createTag(httpClient, workspace_id, data, signal) {
|
|
|
37363
37350
|
json: data
|
|
37364
37351
|
}).json();
|
|
37365
37352
|
}
|
|
37366
|
-
async function bulkCreateTags(httpClient, workspace_id, data, signal) {
|
|
37367
|
-
return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
|
|
37368
|
-
signal,
|
|
37369
|
-
json: data
|
|
37370
|
-
}).json();
|
|
37371
|
-
}
|
|
37372
|
-
async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
|
|
37373
|
-
return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
|
|
37374
|
-
signal,
|
|
37375
|
-
searchParams: buildSearchParams$2({ ids })
|
|
37376
|
-
}).json();
|
|
37377
|
-
}
|
|
37378
|
-
async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
|
|
37379
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
|
|
37380
|
-
signal,
|
|
37381
|
-
json: data
|
|
37382
|
-
}).json();
|
|
37383
|
-
}
|
|
37384
|
-
async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
|
|
37385
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
|
|
37386
|
-
signal,
|
|
37387
|
-
json: data
|
|
37388
|
-
}).json();
|
|
37389
|
-
}
|
|
37390
|
-
async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
|
|
37391
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
|
|
37392
|
-
signal,
|
|
37393
|
-
json: data
|
|
37394
|
-
}).json();
|
|
37395
|
-
}
|
|
37396
|
-
async function mergeTags(httpClient, workspace_id, data, signal) {
|
|
37397
|
-
return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
|
|
37398
|
-
signal,
|
|
37399
|
-
json: data
|
|
37400
|
-
}).json();
|
|
37401
|
-
}
|
|
37402
37353
|
async function getTag(httpClient, workspace_id, tag_id, signal) {
|
|
37403
37354
|
return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
37404
37355
|
}
|
|
@@ -37411,18 +37362,12 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
|
|
|
37411
37362
|
async function deleteTag(httpClient, workspace_id, tag_id, signal) {
|
|
37412
37363
|
return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
37413
37364
|
}
|
|
37414
|
-
async function archiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
37415
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
|
|
37416
|
-
}
|
|
37417
37365
|
async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
37418
37366
|
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
|
|
37419
37367
|
}
|
|
37420
|
-
async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
37421
|
-
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
|
|
37422
|
-
}
|
|
37423
37368
|
//#endregion
|
|
37424
37369
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37425
|
-
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,
|
|
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) {
|
|
37426
37371
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37427
37372
|
signal,
|
|
37428
37373
|
searchParams: buildSearchParams$2({
|
|
@@ -37440,11 +37385,9 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
37440
37385
|
assignee_user_id,
|
|
37441
37386
|
project_id,
|
|
37442
37387
|
user_id,
|
|
37443
|
-
only_me,
|
|
37444
37388
|
include_rates,
|
|
37445
37389
|
include_rollover,
|
|
37446
37390
|
include_idle_recurring_templates,
|
|
37447
|
-
collapse_recurring,
|
|
37448
37391
|
include_drafts,
|
|
37449
37392
|
include_locked_private,
|
|
37450
37393
|
start_date,
|
|
@@ -37675,7 +37618,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37675
37618
|
}
|
|
37676
37619
|
//#endregion
|
|
37677
37620
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37678
|
-
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) {
|
|
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, include_ghost_assignees, include_assignees, include_parent_matches, assignee_ghost_id, disable_aggregations, cf_filter } = {}, signal) {
|
|
37679
37622
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37680
37623
|
signal,
|
|
37681
37624
|
searchParams: buildSearchParams$2({
|
|
@@ -37723,8 +37666,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37723
37666
|
recurring_task_ids,
|
|
37724
37667
|
client_id,
|
|
37725
37668
|
include_rates,
|
|
37669
|
+
include_ghost_assignees,
|
|
37726
37670
|
include_assignees,
|
|
37727
37671
|
include_parent_matches,
|
|
37672
|
+
assignee_ghost_id,
|
|
37728
37673
|
disable_aggregations,
|
|
37729
37674
|
cf_filter
|
|
37730
37675
|
})
|
|
@@ -37810,7 +37755,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
|
|
|
37810
37755
|
})
|
|
37811
37756
|
}).json();
|
|
37812
37757
|
}
|
|
37813
|
-
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,
|
|
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, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
37814
37759
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37815
37760
|
signal,
|
|
37816
37761
|
searchParams: buildSearchParams$2({
|
|
@@ -37823,14 +37768,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37823
37768
|
dates_overlap_end,
|
|
37824
37769
|
recurring_task_ids,
|
|
37825
37770
|
team_id,
|
|
37826
|
-
assignee_team_id,
|
|
37827
37771
|
assignee_user_id,
|
|
37828
37772
|
tag_id,
|
|
37773
|
+
include_ghost_assignees,
|
|
37829
37774
|
include_assignees
|
|
37830
37775
|
})
|
|
37831
37776
|
}).json();
|
|
37832
37777
|
}
|
|
37833
|
-
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) {
|
|
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, include_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
|
|
37834
37779
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37835
37780
|
signal,
|
|
37836
37781
|
searchParams: buildSearchParams$2({
|
|
@@ -37874,15 +37819,20 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37874
37819
|
recurring,
|
|
37875
37820
|
recurring_task_ids,
|
|
37876
37821
|
client_id,
|
|
37822
|
+
include_ghost_assignees,
|
|
37877
37823
|
include_assignees,
|
|
37824
|
+
assignee_ghost_id,
|
|
37878
37825
|
cf_filter
|
|
37879
37826
|
})
|
|
37880
37827
|
}).json();
|
|
37881
37828
|
}
|
|
37882
|
-
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
|
|
37829
|
+
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
|
|
37883
37830
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
37884
37831
|
signal,
|
|
37885
|
-
searchParams: buildSearchParams$2({
|
|
37832
|
+
searchParams: buildSearchParams$2({
|
|
37833
|
+
include_ghost_assignees,
|
|
37834
|
+
include_assignees
|
|
37835
|
+
})
|
|
37886
37836
|
}).json();
|
|
37887
37837
|
}
|
|
37888
37838
|
async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
@@ -37913,7 +37863,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
|
|
|
37913
37863
|
searchParams: buildSearchParams$2({ from_recurring_task_id })
|
|
37914
37864
|
}).json();
|
|
37915
37865
|
}
|
|
37916
|
-
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) {
|
|
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, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
37917
37867
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
|
|
37918
37868
|
signal,
|
|
37919
37869
|
searchParams: buildSearchParams$2({
|
|
@@ -37926,11 +37876,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
37926
37876
|
team_id,
|
|
37927
37877
|
assignee_user_id,
|
|
37928
37878
|
tag_id,
|
|
37879
|
+
include_ghost_assignees,
|
|
37929
37880
|
include_assignees
|
|
37930
37881
|
})
|
|
37931
37882
|
}).json();
|
|
37932
37883
|
}
|
|
37933
|
-
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) {
|
|
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, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
37934
37885
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
37935
37886
|
signal,
|
|
37936
37887
|
searchParams: buildSearchParams$2({
|
|
@@ -37943,6 +37894,7 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
37943
37894
|
team_id,
|
|
37944
37895
|
assignee_user_id,
|
|
37945
37896
|
tag_id,
|
|
37897
|
+
include_ghost_assignees,
|
|
37946
37898
|
include_assignees
|
|
37947
37899
|
})
|
|
37948
37900
|
}).json();
|
|
@@ -38044,12 +37996,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38044
37996
|
})
|
|
38045
37997
|
}).json();
|
|
38046
37998
|
}
|
|
38047
|
-
async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
|
|
38048
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
|
|
38049
|
-
signal,
|
|
38050
|
-
json: data
|
|
38051
|
-
}).json();
|
|
38052
|
-
}
|
|
38053
37999
|
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
38054
38000
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
38055
38001
|
signal,
|
|
@@ -41897,21 +41843,6 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
41897
41843
|
}
|
|
41898
41844
|
//#endregion
|
|
41899
41845
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
41900
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41901
|
-
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
41902
|
-
signal,
|
|
41903
|
-
searchParams: buildSearchParams$2({
|
|
41904
|
-
workspace_id,
|
|
41905
|
-
entity_type,
|
|
41906
|
-
entity_id,
|
|
41907
|
-
action,
|
|
41908
|
-
user_id,
|
|
41909
|
-
page_size,
|
|
41910
|
-
page_number,
|
|
41911
|
-
export: export_
|
|
41912
|
-
})
|
|
41913
|
-
}).json();
|
|
41914
|
-
}
|
|
41915
41846
|
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41916
41847
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
41917
41848
|
signal,
|
|
@@ -42070,22 +42001,33 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42070
42001
|
}
|
|
42071
42002
|
//#endregion
|
|
42072
42003
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42073
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts
|
|
42004
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, ghost_id, private: private_, task_source, unit, include_drafts }, signal) {
|
|
42074
42005
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42075
42006
|
signal,
|
|
42076
42007
|
searchParams: buildSearchParams$2({
|
|
42077
42008
|
user_id,
|
|
42078
42009
|
start_date,
|
|
42079
42010
|
end_date,
|
|
42011
|
+
ghost_id,
|
|
42080
42012
|
private: private_,
|
|
42081
42013
|
task_source,
|
|
42082
42014
|
unit,
|
|
42083
|
-
include_drafts
|
|
42084
|
-
include_task_estimates
|
|
42015
|
+
include_drafts
|
|
42085
42016
|
})
|
|
42086
42017
|
}).json();
|
|
42087
42018
|
}
|
|
42088
42019
|
//#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
|
|
42089
42031
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
42090
42032
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
42091
42033
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -42168,12 +42110,6 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
42168
42110
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
42169
42111
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
42170
42112
|
}
|
|
42171
|
-
async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
|
|
42172
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
|
|
42173
|
-
signal,
|
|
42174
|
-
json: data
|
|
42175
|
-
}).json();
|
|
42176
|
-
}
|
|
42177
42113
|
//#endregion
|
|
42178
42114
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
42179
42115
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -42399,7 +42335,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42399
42335
|
}
|
|
42400
42336
|
//#endregion
|
|
42401
42337
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
42402
|
-
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,
|
|
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) {
|
|
42403
42339
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42404
42340
|
signal,
|
|
42405
42341
|
searchParams: buildSearchParams$2({
|
|
@@ -42411,7 +42347,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42411
42347
|
include_group_totals,
|
|
42412
42348
|
include_unassigned,
|
|
42413
42349
|
archived,
|
|
42414
|
-
completed,
|
|
42415
42350
|
private: private_,
|
|
42416
42351
|
name,
|
|
42417
42352
|
client_id,
|
|
@@ -42423,7 +42358,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42423
42358
|
start_date,
|
|
42424
42359
|
end_date,
|
|
42425
42360
|
user_id,
|
|
42426
|
-
only_me,
|
|
42427
42361
|
include_drafts,
|
|
42428
42362
|
cf_filter
|
|
42429
42363
|
})
|
|
@@ -42539,11 +42473,10 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
42539
42473
|
}
|
|
42540
42474
|
//#endregion
|
|
42541
42475
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
42542
|
-
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts,
|
|
42476
|
+
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
|
|
42543
42477
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
42544
42478
|
signal,
|
|
42545
42479
|
json: data,
|
|
42546
|
-
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
42547
42480
|
searchParams: buildSearchParams$2({
|
|
42548
42481
|
response_format,
|
|
42549
42482
|
include_dicts
|
|
@@ -42567,36 +42500,12 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
42567
42500
|
json: data
|
|
42568
42501
|
}).json();
|
|
42569
42502
|
}
|
|
42570
|
-
async function
|
|
42571
|
-
return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
|
|
42572
|
-
signal,
|
|
42573
|
-
json: data
|
|
42574
|
-
}).json();
|
|
42575
|
-
}
|
|
42576
|
-
async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
|
|
42503
|
+
async function getWorkloadReport(httpClient, workspace_id, data, signal) {
|
|
42577
42504
|
return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
|
|
42578
|
-
signal,
|
|
42579
|
-
json: data,
|
|
42580
|
-
headers: { "X-Toggl-Report-Export": xTogglReportExport }
|
|
42581
|
-
}).json();
|
|
42582
|
-
}
|
|
42583
|
-
//#endregion
|
|
42584
|
-
//#region ../focus-queries/dist/reportschedules/requests.ts
|
|
42585
|
-
async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
|
|
42586
|
-
return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
|
|
42587
|
-
signal,
|
|
42588
|
-
json: data
|
|
42589
|
-
}).json();
|
|
42590
|
-
}
|
|
42591
|
-
async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
|
|
42592
|
-
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
|
|
42593
42505
|
signal,
|
|
42594
42506
|
json: data
|
|
42595
42507
|
}).json();
|
|
42596
42508
|
}
|
|
42597
|
-
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
42598
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
42599
|
-
}
|
|
42600
42509
|
//#endregion
|
|
42601
42510
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
42602
42511
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -42629,7 +42538,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42629
42538
|
}
|
|
42630
42539
|
//#endregion
|
|
42631
42540
|
//#region ../focus-queries/dist/search/requests.ts
|
|
42632
|
-
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
|
|
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) {
|
|
42633
42542
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42634
42543
|
signal,
|
|
42635
42544
|
searchParams: buildSearchParams$2({
|
|
@@ -42641,55 +42550,10 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
42641
42550
|
task_id,
|
|
42642
42551
|
include_drafts,
|
|
42643
42552
|
exclude_calendar_events,
|
|
42644
|
-
group_by_tags
|
|
42645
|
-
only_me
|
|
42553
|
+
group_by_tags
|
|
42646
42554
|
})
|
|
42647
42555
|
}).json();
|
|
42648
42556
|
}
|
|
42649
|
-
async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
|
|
42650
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
|
|
42651
|
-
signal,
|
|
42652
|
-
searchParams: buildSearchParams$2({
|
|
42653
|
-
keyword,
|
|
42654
|
-
per_group
|
|
42655
|
-
})
|
|
42656
|
-
}).json();
|
|
42657
|
-
}
|
|
42658
|
-
//#endregion
|
|
42659
|
-
//#region ../focus-queries/dist/sharedreports/requests.ts
|
|
42660
|
-
async function shareSavedView(httpClient, workspace_id, id, data, signal) {
|
|
42661
|
-
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
|
|
42662
|
-
signal,
|
|
42663
|
-
json: data
|
|
42664
|
-
}).json();
|
|
42665
|
-
}
|
|
42666
|
-
async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
|
|
42667
|
-
return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
|
|
42668
|
-
}
|
|
42669
|
-
async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
|
|
42670
|
-
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
|
|
42671
|
-
signal,
|
|
42672
|
-
json: data
|
|
42673
|
-
}).json();
|
|
42674
|
-
}
|
|
42675
|
-
async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
|
|
42676
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
|
|
42677
|
-
}
|
|
42678
|
-
async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
42679
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
|
|
42680
|
-
}
|
|
42681
|
-
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
42682
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42683
|
-
}
|
|
42684
|
-
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
42685
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
42686
|
-
signal,
|
|
42687
|
-
json: data
|
|
42688
|
-
}).json();
|
|
42689
|
-
}
|
|
42690
|
-
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
42691
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
42692
|
-
}
|
|
42693
42557
|
//#endregion
|
|
42694
42558
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
42695
42559
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -42746,77 +42610,7 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
42746
42610
|
}
|
|
42747
42611
|
//#endregion
|
|
42748
42612
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
42749
|
-
async function
|
|
42750
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
42751
|
-
signal,
|
|
42752
|
-
searchParams: buildSearchParams$2({
|
|
42753
|
-
project_id,
|
|
42754
|
-
source,
|
|
42755
|
-
priority,
|
|
42756
|
-
status_id,
|
|
42757
|
-
client_id,
|
|
42758
|
-
assignee_user_id,
|
|
42759
|
-
tag_id,
|
|
42760
|
-
team_id,
|
|
42761
|
-
user_tag_id,
|
|
42762
|
-
group_id,
|
|
42763
|
-
creator_id,
|
|
42764
|
-
name,
|
|
42765
|
-
start_date,
|
|
42766
|
-
end_date,
|
|
42767
|
-
start_date_from,
|
|
42768
|
-
start_date_to,
|
|
42769
|
-
end_date_from,
|
|
42770
|
-
end_date_to,
|
|
42771
|
-
private: private_,
|
|
42772
|
-
exclude_empty,
|
|
42773
|
-
include_unassigned,
|
|
42774
|
-
include_unmaterialized,
|
|
42775
|
-
collapse_recurring,
|
|
42776
|
-
include_assignees,
|
|
42777
|
-
min_days,
|
|
42778
|
-
include_drafts,
|
|
42779
|
-
cf_filter,
|
|
42780
|
-
user_cf_filter
|
|
42781
|
-
})
|
|
42782
|
-
}).json();
|
|
42783
|
-
}
|
|
42784
|
-
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) {
|
|
42785
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
42786
|
-
signal,
|
|
42787
|
-
searchParams: buildSearchParams$2({
|
|
42788
|
-
team_id,
|
|
42789
|
-
project_id,
|
|
42790
|
-
source,
|
|
42791
|
-
priority,
|
|
42792
|
-
status_id,
|
|
42793
|
-
client_id,
|
|
42794
|
-
assignee_user_id,
|
|
42795
|
-
tag_id,
|
|
42796
|
-
user_tag_id,
|
|
42797
|
-
group_id,
|
|
42798
|
-
creator_id,
|
|
42799
|
-
name,
|
|
42800
|
-
start_date,
|
|
42801
|
-
end_date,
|
|
42802
|
-
start_date_from,
|
|
42803
|
-
start_date_to,
|
|
42804
|
-
end_date_from,
|
|
42805
|
-
end_date_to,
|
|
42806
|
-
private: private_,
|
|
42807
|
-
exclude_empty,
|
|
42808
|
-
include_unassigned,
|
|
42809
|
-
include_unmaterialized,
|
|
42810
|
-
collapse_recurring,
|
|
42811
|
-
include_assignees,
|
|
42812
|
-
min_days,
|
|
42813
|
-
include_drafts,
|
|
42814
|
-
cf_filter,
|
|
42815
|
-
user_cf_filter
|
|
42816
|
-
})
|
|
42817
|
-
}).json();
|
|
42818
|
-
}
|
|
42819
|
-
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) {
|
|
42613
|
+
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_ghosts, include_assignees, min_days, include_drafts, cf_filter, page, per_page, order_by } = {}, signal) {
|
|
42820
42614
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
42821
42615
|
signal,
|
|
42822
42616
|
searchParams: buildSearchParams$2({
|
|
@@ -42840,14 +42634,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
42840
42634
|
end_date_to,
|
|
42841
42635
|
private: private_,
|
|
42842
42636
|
exclude_empty,
|
|
42843
|
-
|
|
42844
|
-
include_unmaterialized,
|
|
42845
|
-
collapse_recurring,
|
|
42637
|
+
include_ghosts,
|
|
42846
42638
|
include_assignees,
|
|
42847
42639
|
min_days,
|
|
42848
42640
|
include_drafts,
|
|
42849
42641
|
cf_filter,
|
|
42850
|
-
user_cf_filter,
|
|
42851
42642
|
page,
|
|
42852
42643
|
per_page,
|
|
42853
42644
|
order_by
|
|
@@ -42984,6 +42775,20 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
42984
42775
|
}).json();
|
|
42985
42776
|
}
|
|
42986
42777
|
//#endregion
|
|
42778
|
+
//#region ../focus-queries/dist/time-log-suggestions/requests.ts
|
|
42779
|
+
async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
|
|
42780
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
|
|
42781
|
+
signal,
|
|
42782
|
+
json: data
|
|
42783
|
+
}).json();
|
|
42784
|
+
}
|
|
42785
|
+
async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
|
|
42786
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
|
|
42787
|
+
signal,
|
|
42788
|
+
json: data
|
|
42789
|
+
}).json();
|
|
42790
|
+
}
|
|
42791
|
+
//#endregion
|
|
42987
42792
|
//#region ../focus-queries/dist/time-off/requests.ts
|
|
42988
42793
|
async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, start_date, end_date }, signal) {
|
|
42989
42794
|
return await httpClient.get(`organizations/${organization_id}/timeoff`, {
|
|
@@ -43022,6 +42827,43 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
43022
42827
|
json: data
|
|
43023
42828
|
}).json();
|
|
43024
42829
|
}
|
|
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
|
+
}
|
|
43025
42867
|
//#endregion
|
|
43026
42868
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
43027
42869
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -43214,6 +43056,27 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
43214
43056
|
json: data
|
|
43215
43057
|
}).json();
|
|
43216
43058
|
}
|
|
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
|
+
}
|
|
43217
43080
|
//#endregion
|
|
43218
43081
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
43219
43082
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -43230,9 +43093,6 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
43230
43093
|
json: data
|
|
43231
43094
|
}).json();
|
|
43232
43095
|
}
|
|
43233
|
-
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
43234
|
-
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
43235
|
-
}
|
|
43236
43096
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
43237
43097
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
43238
43098
|
}
|
|
@@ -43245,15 +43105,6 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
43245
43105
|
json: data
|
|
43246
43106
|
}).json();
|
|
43247
43107
|
}
|
|
43248
|
-
async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
|
|
43249
|
-
return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
|
|
43250
|
-
}
|
|
43251
|
-
async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
|
|
43252
|
-
return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
|
|
43253
|
-
signal,
|
|
43254
|
-
json: data
|
|
43255
|
-
}).json();
|
|
43256
|
-
}
|
|
43257
43108
|
//#endregion
|
|
43258
43109
|
//#region ../operations/build/index.public.js
|
|
43259
43110
|
function callGeneratedRequest(request, args) {
|
|
@@ -43389,17 +43240,17 @@ const generatedFocusOperations = [
|
|
|
43389
43240
|
]))
|
|
43390
43241
|
},
|
|
43391
43242
|
{
|
|
43392
|
-
id: "focus.audit-log.
|
|
43243
|
+
id: "focus.audit-log.list",
|
|
43393
43244
|
family: "focus",
|
|
43394
43245
|
resource: "audit-log",
|
|
43395
|
-
action: "
|
|
43396
|
-
title: "
|
|
43397
|
-
description: "
|
|
43246
|
+
action: "list",
|
|
43247
|
+
title: "List Audit Log",
|
|
43248
|
+
description: "List Audit Log.",
|
|
43398
43249
|
safety: "read",
|
|
43399
43250
|
destructive: false,
|
|
43400
43251
|
cli: {
|
|
43401
43252
|
group: ["audit-log"],
|
|
43402
|
-
command: "
|
|
43253
|
+
command: "list",
|
|
43403
43254
|
interactive: "hidden"
|
|
43404
43255
|
},
|
|
43405
43256
|
mcp: { entityTool: "audit-log" },
|
|
@@ -43413,14 +43264,14 @@ const generatedFocusOperations = [
|
|
|
43413
43264
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43414
43265
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43415
43266
|
to: /* @__PURE__ */ string$1(),
|
|
43416
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43417
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43267
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43418
43268
|
}),
|
|
43419
43269
|
execute: (input, { client }) => {
|
|
43420
43270
|
const data = input;
|
|
43421
|
-
return client.runGeneratedRequest("
|
|
43271
|
+
return client.runGeneratedRequest("getAuditLog", () => callGeneratedRequest(getAuditLog, [
|
|
43422
43272
|
client.httpClient,
|
|
43423
43273
|
client.organizationId,
|
|
43274
|
+
client.workspaceIdNumber,
|
|
43424
43275
|
data.from,
|
|
43425
43276
|
data.to,
|
|
43426
43277
|
data,
|
|
@@ -43429,79 +43280,87 @@ const generatedFocusOperations = [
|
|
|
43429
43280
|
}
|
|
43430
43281
|
},
|
|
43431
43282
|
{
|
|
43432
|
-
id: "focus.
|
|
43283
|
+
id: "focus.capacities.get-computations",
|
|
43433
43284
|
family: "focus",
|
|
43434
|
-
resource: "
|
|
43435
|
-
action: "
|
|
43436
|
-
title: "
|
|
43437
|
-
description: "
|
|
43285
|
+
resource: "capacities",
|
|
43286
|
+
action: "get-computations",
|
|
43287
|
+
title: "Get Computations Capacities",
|
|
43288
|
+
description: "Get Computations Capacities.",
|
|
43438
43289
|
safety: "read",
|
|
43439
43290
|
destructive: false,
|
|
43440
43291
|
cli: {
|
|
43441
|
-
group: ["
|
|
43442
|
-
command: "
|
|
43292
|
+
group: ["capacities"],
|
|
43293
|
+
command: "get-computations",
|
|
43443
43294
|
interactive: "hidden"
|
|
43444
43295
|
},
|
|
43445
|
-
mcp: { entityTool: "
|
|
43296
|
+
mcp: { entityTool: "capacities" },
|
|
43446
43297
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43447
|
-
|
|
43448
|
-
|
|
43449
|
-
|
|
43450
|
-
|
|
43451
|
-
|
|
43452
|
-
|
|
43453
|
-
|
|
43454
|
-
|
|
43455
|
-
|
|
43456
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43298
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43299
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
43300
|
+
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
43301
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
43302
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
43303
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43304
|
+
task_source: /* @__PURE__ */ unknown$1(),
|
|
43305
|
+
unit: /* @__PURE__ */ unknown$1(),
|
|
43306
|
+
user_id: /* @__PURE__ */ number$2()
|
|
43457
43307
|
}),
|
|
43458
43308
|
execute: (input, { client }) => {
|
|
43459
43309
|
const data = input;
|
|
43460
|
-
return client.runGeneratedRequest("
|
|
43310
|
+
return client.runGeneratedRequest("capacityGetComputations", () => callGeneratedRequest(capacityGetComputations, [
|
|
43461
43311
|
client.httpClient,
|
|
43462
43312
|
client.organizationId,
|
|
43463
43313
|
client.workspaceIdNumber,
|
|
43464
|
-
data.
|
|
43465
|
-
data.to,
|
|
43314
|
+
data.group,
|
|
43466
43315
|
data,
|
|
43467
43316
|
void 0
|
|
43468
43317
|
]));
|
|
43469
43318
|
}
|
|
43470
43319
|
},
|
|
43471
43320
|
{
|
|
43472
|
-
id: "focus.capacities.
|
|
43321
|
+
id: "focus.capacities.settings-list",
|
|
43473
43322
|
family: "focus",
|
|
43474
43323
|
resource: "capacities",
|
|
43475
|
-
action: "
|
|
43476
|
-
title: "
|
|
43477
|
-
description: "
|
|
43324
|
+
action: "settings-list",
|
|
43325
|
+
title: "Settings List Capacities",
|
|
43326
|
+
description: "Settings List Capacities.",
|
|
43478
43327
|
safety: "read",
|
|
43479
43328
|
destructive: false,
|
|
43480
43329
|
cli: {
|
|
43481
|
-
group: ["capacities"],
|
|
43482
|
-
command: "
|
|
43330
|
+
group: ["capacities", "settings"],
|
|
43331
|
+
command: "list",
|
|
43483
43332
|
interactive: "hidden"
|
|
43484
43333
|
},
|
|
43485
43334
|
mcp: { entityTool: "capacities" },
|
|
43486
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
43487
|
-
|
|
43488
|
-
|
|
43489
|
-
|
|
43490
|
-
|
|
43491
|
-
|
|
43492
|
-
|
|
43493
|
-
|
|
43494
|
-
|
|
43495
|
-
|
|
43496
|
-
|
|
43335
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
43336
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
|
|
43337
|
+
client.httpClient,
|
|
43338
|
+
client.workspaceIdNumber,
|
|
43339
|
+
void 0
|
|
43340
|
+
]))
|
|
43341
|
+
},
|
|
43342
|
+
{
|
|
43343
|
+
id: "focus.capacities.settings-update",
|
|
43344
|
+
family: "focus",
|
|
43345
|
+
resource: "capacities",
|
|
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() }) }),
|
|
43497
43358
|
execute: (input, { client }) => {
|
|
43498
43359
|
const data = input;
|
|
43499
|
-
return client.runGeneratedRequest("
|
|
43360
|
+
return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
|
|
43500
43361
|
client.httpClient,
|
|
43501
|
-
client.organizationId,
|
|
43502
43362
|
client.workspaceIdNumber,
|
|
43503
|
-
data.
|
|
43504
|
-
data,
|
|
43363
|
+
data.payload ?? data.data ?? data,
|
|
43505
43364
|
void 0
|
|
43506
43365
|
]));
|
|
43507
43366
|
}
|
|
@@ -43700,7 +43559,8 @@ const generatedFocusOperations = [
|
|
|
43700
43559
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
43701
43560
|
start_at: apiDateTimeString,
|
|
43702
43561
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
43703
|
-
})))
|
|
43562
|
+
}))),
|
|
43563
|
+
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
43704
43564
|
}) }),
|
|
43705
43565
|
execute: (input, { client }) => {
|
|
43706
43566
|
const data = input;
|
|
@@ -43755,7 +43615,6 @@ const generatedFocusOperations = [
|
|
|
43755
43615
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43756
43616
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43757
43617
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43758
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43759
43618
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43760
43619
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43761
43620
|
}),
|
|
@@ -43788,7 +43647,6 @@ const generatedFocusOperations = [
|
|
|
43788
43647
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
43789
43648
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43790
43649
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43791
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43792
43650
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43793
43651
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43794
43652
|
}))),
|
|
@@ -43844,11 +43702,7 @@ const generatedFocusOperations = [
|
|
|
43844
43702
|
},
|
|
43845
43703
|
mcp: { entityTool: "custom-fields" },
|
|
43846
43704
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
43847
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
43848
|
-
"project",
|
|
43849
|
-
"task",
|
|
43850
|
-
"user"
|
|
43851
|
-
]),
|
|
43705
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
43852
43706
|
field_type: /* @__PURE__ */ picklist$1([
|
|
43853
43707
|
"select",
|
|
43854
43708
|
"multi_select",
|
|
@@ -44181,11 +44035,7 @@ const generatedFocusOperations = [
|
|
|
44181
44035
|
},
|
|
44182
44036
|
mcp: { entityTool: "custom-fields" },
|
|
44183
44037
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44184
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
44185
|
-
"project",
|
|
44186
|
-
"task",
|
|
44187
|
-
"user"
|
|
44188
|
-
]),
|
|
44038
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
44189
44039
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
44190
44040
|
}) }),
|
|
44191
44041
|
execute: (input, { client }) => {
|
|
@@ -44199,37 +44049,6 @@ const generatedFocusOperations = [
|
|
|
44199
44049
|
]));
|
|
44200
44050
|
}
|
|
44201
44051
|
},
|
|
44202
|
-
{
|
|
44203
|
-
id: "focus.custom-fields.update-user-custom-field-values",
|
|
44204
|
-
family: "focus",
|
|
44205
|
-
resource: "custom-fields",
|
|
44206
|
-
action: "update-user-custom-field-values",
|
|
44207
|
-
title: "Update User Custom Field Values Custom Fields",
|
|
44208
|
-
description: "Update User Custom Field Values Custom Fields.",
|
|
44209
|
-
safety: "update",
|
|
44210
|
-
destructive: false,
|
|
44211
|
-
cli: {
|
|
44212
|
-
group: ["custom-fields"],
|
|
44213
|
-
command: "update-user-custom-field-values",
|
|
44214
|
-
interactive: "hidden"
|
|
44215
|
-
},
|
|
44216
|
-
mcp: { entityTool: "custom-fields" },
|
|
44217
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44218
|
-
payload: /* @__PURE__ */ unknown$1(),
|
|
44219
|
-
user_id: /* @__PURE__ */ number$2()
|
|
44220
|
-
}),
|
|
44221
|
-
execute: (input, { client }) => {
|
|
44222
|
-
const data = input;
|
|
44223
|
-
return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
|
|
44224
|
-
client.httpClient,
|
|
44225
|
-
client.organizationId,
|
|
44226
|
-
client.workspaceIdNumber,
|
|
44227
|
-
data.user_id,
|
|
44228
|
-
data.payload ?? data.data ?? data,
|
|
44229
|
-
void 0
|
|
44230
|
-
]));
|
|
44231
|
-
}
|
|
44232
|
-
},
|
|
44233
44052
|
{
|
|
44234
44053
|
id: "focus.goals.create",
|
|
44235
44054
|
family: "focus",
|
|
@@ -44449,22 +44268,10 @@ const generatedFocusOperations = [
|
|
|
44449
44268
|
goal_id: /* @__PURE__ */ number$2(),
|
|
44450
44269
|
payload: /* @__PURE__ */ looseObject({
|
|
44451
44270
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44452
|
-
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44453
44271
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44454
44272
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44455
44273
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44456
|
-
|
|
44457
|
-
recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
44458
|
-
"daily",
|
|
44459
|
-
"weekly",
|
|
44460
|
-
"daily_workdays",
|
|
44461
|
-
"monthly"
|
|
44462
|
-
])),
|
|
44463
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44464
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44465
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44466
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44467
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44274
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
44468
44275
|
})
|
|
44469
44276
|
}),
|
|
44470
44277
|
execute: (input, { client }) => {
|
|
@@ -45797,7 +45604,6 @@ const generatedFocusOperations = [
|
|
|
45797
45604
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45798
45605
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45799
45606
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45800
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45801
45607
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45802
45608
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45803
45609
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -45805,7 +45611,6 @@ const generatedFocusOperations = [
|
|
|
45805
45611
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45806
45612
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45807
45613
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45808
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45809
45614
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45810
45615
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45811
45616
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -47990,10 +47795,7 @@ const generatedFocusOperations = [
|
|
|
47990
47795
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
47991
47796
|
name: /* @__PURE__ */ string$1(),
|
|
47992
47797
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
47993
|
-
}))
|
|
47994
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
47995
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
47996
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
47798
|
+
}))
|
|
47997
47799
|
}),
|
|
47998
47800
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
47999
47801
|
}),
|
|
@@ -48093,17 +47895,9 @@ const generatedFocusOperations = [
|
|
|
48093
47895
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48094
47896
|
name: /* @__PURE__ */ string$1(),
|
|
48095
47897
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48096
|
-
}))
|
|
48097
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48098
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48099
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
47898
|
+
}))
|
|
48100
47899
|
}),
|
|
48101
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
48102
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
48103
|
-
"csv",
|
|
48104
|
-
"xlsx",
|
|
48105
|
-
"pdf"
|
|
48106
|
-
]))
|
|
47900
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
48107
47901
|
}),
|
|
48108
47902
|
execute: (input, { client }) => {
|
|
48109
47903
|
const data = input;
|
|
@@ -48113,23 +47907,22 @@ const generatedFocusOperations = [
|
|
|
48113
47907
|
data.payload ?? data.data ?? data,
|
|
48114
47908
|
data.response_format,
|
|
48115
47909
|
data.include_dicts,
|
|
48116
|
-
data.xTogglReportExport,
|
|
48117
47910
|
void 0
|
|
48118
47911
|
]));
|
|
48119
47912
|
}
|
|
48120
47913
|
},
|
|
48121
47914
|
{
|
|
48122
|
-
id: "focus.reports.get-
|
|
47915
|
+
id: "focus.reports.get-workload",
|
|
48123
47916
|
family: "focus",
|
|
48124
47917
|
resource: "reports",
|
|
48125
|
-
action: "get-
|
|
48126
|
-
title: "Get
|
|
48127
|
-
description: "Get
|
|
47918
|
+
action: "get-workload",
|
|
47919
|
+
title: "Get Workload Reports",
|
|
47920
|
+
description: "Get Workload Reports.",
|
|
48128
47921
|
safety: "update",
|
|
48129
47922
|
destructive: false,
|
|
48130
47923
|
cli: {
|
|
48131
47924
|
group: ["reports"],
|
|
48132
|
-
command: "get-
|
|
47925
|
+
command: "get-workload",
|
|
48133
47926
|
interactive: "hidden"
|
|
48134
47927
|
},
|
|
48135
47928
|
mcp: { entityTool: "reports" },
|
|
@@ -48175,205 +47968,14 @@ const generatedFocusOperations = [
|
|
|
48175
47968
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48176
47969
|
name: /* @__PURE__ */ string$1(),
|
|
48177
47970
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48178
|
-
}))
|
|
48179
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48180
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48181
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
47971
|
+
}))
|
|
48182
47972
|
}) }),
|
|
48183
|
-
execute: (input, { client }) => {
|
|
48184
|
-
const data = input;
|
|
48185
|
-
return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
|
|
48186
|
-
client.httpClient,
|
|
48187
|
-
client.workspaceIdNumber,
|
|
48188
|
-
data.payload ?? data.data ?? data,
|
|
48189
|
-
void 0
|
|
48190
|
-
]));
|
|
48191
|
-
}
|
|
48192
|
-
},
|
|
48193
|
-
{
|
|
48194
|
-
id: "focus.reports.get-workload",
|
|
48195
|
-
family: "focus",
|
|
48196
|
-
resource: "reports",
|
|
48197
|
-
action: "get-workload",
|
|
48198
|
-
title: "Get Workload Reports",
|
|
48199
|
-
description: "Get Workload Reports.",
|
|
48200
|
-
safety: "update",
|
|
48201
|
-
destructive: false,
|
|
48202
|
-
cli: {
|
|
48203
|
-
group: ["reports"],
|
|
48204
|
-
command: "get-workload",
|
|
48205
|
-
interactive: "hidden"
|
|
48206
|
-
},
|
|
48207
|
-
mcp: { entityTool: "reports" },
|
|
48208
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48209
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48210
|
-
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48211
|
-
aggregation: /* @__PURE__ */ looseObject({
|
|
48212
|
-
function: /* @__PURE__ */ string$1(),
|
|
48213
|
-
property: /* @__PURE__ */ string$1()
|
|
48214
|
-
}),
|
|
48215
|
-
operator: /* @__PURE__ */ string$1(),
|
|
48216
|
-
property: /* @__PURE__ */ string$1()
|
|
48217
|
-
})),
|
|
48218
|
-
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48219
|
-
function: /* @__PURE__ */ string$1(),
|
|
48220
|
-
property: /* @__PURE__ */ string$1()
|
|
48221
|
-
})),
|
|
48222
|
-
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
48223
|
-
currency: /* @__PURE__ */ string$1(),
|
|
48224
|
-
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48225
|
-
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
48226
|
-
operator: /* @__PURE__ */ string$1(),
|
|
48227
|
-
property: /* @__PURE__ */ string$1()
|
|
48228
|
-
})),
|
|
48229
|
-
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48230
|
-
property: /* @__PURE__ */ string$1(),
|
|
48231
|
-
show_empty: /* @__PURE__ */ boolean$1()
|
|
48232
|
-
})),
|
|
48233
|
-
limit: /* @__PURE__ */ number$2(),
|
|
48234
|
-
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48235
|
-
direction: /* @__PURE__ */ string$1(),
|
|
48236
|
-
nulls: /* @__PURE__ */ string$1(),
|
|
48237
|
-
property: /* @__PURE__ */ string$1()
|
|
48238
|
-
})),
|
|
48239
|
-
pagination: /* @__PURE__ */ looseObject({
|
|
48240
|
-
page: /* @__PURE__ */ number$2(),
|
|
48241
|
-
per_page: /* @__PURE__ */ number$2()
|
|
48242
|
-
}),
|
|
48243
|
-
period: /* @__PURE__ */ looseObject({
|
|
48244
|
-
from: /* @__PURE__ */ string$1(),
|
|
48245
|
-
preset: /* @__PURE__ */ string$1(),
|
|
48246
|
-
to: /* @__PURE__ */ string$1()
|
|
48247
|
-
}),
|
|
48248
|
-
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48249
|
-
name: /* @__PURE__ */ string$1(),
|
|
48250
|
-
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48251
|
-
})),
|
|
48252
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48253
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48254
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48255
|
-
}),
|
|
48256
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
48257
|
-
"csv",
|
|
48258
|
-
"xlsx",
|
|
48259
|
-
"pdf"
|
|
48260
|
-
]))
|
|
48261
|
-
}),
|
|
48262
47973
|
execute: (input, { client }) => {
|
|
48263
47974
|
const data = input;
|
|
48264
47975
|
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
48265
47976
|
client.httpClient,
|
|
48266
47977
|
client.workspaceIdNumber,
|
|
48267
47978
|
data.payload ?? data.data ?? data,
|
|
48268
|
-
data.xTogglReportExport,
|
|
48269
|
-
void 0
|
|
48270
|
-
]));
|
|
48271
|
-
}
|
|
48272
|
-
},
|
|
48273
|
-
{
|
|
48274
|
-
id: "focus.reportschedules.delete-shared-report-schedule",
|
|
48275
|
-
family: "focus",
|
|
48276
|
-
resource: "reportschedules",
|
|
48277
|
-
action: "delete-shared-report-schedule",
|
|
48278
|
-
title: "Delete Shared Report Schedule Reportschedules",
|
|
48279
|
-
description: "Delete Shared Report Schedule Reportschedules.",
|
|
48280
|
-
safety: "delete",
|
|
48281
|
-
destructive: true,
|
|
48282
|
-
cli: {
|
|
48283
|
-
group: ["reportschedules"],
|
|
48284
|
-
command: "delete-shared-report-schedule",
|
|
48285
|
-
interactive: "default"
|
|
48286
|
-
},
|
|
48287
|
-
mcp: { entityTool: "reportschedules" },
|
|
48288
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48289
|
-
execute: (input, { client }) => {
|
|
48290
|
-
const data = input;
|
|
48291
|
-
return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
|
|
48292
|
-
client.httpClient,
|
|
48293
|
-
client.workspaceIdNumber,
|
|
48294
|
-
data.id,
|
|
48295
|
-
void 0
|
|
48296
|
-
]));
|
|
48297
|
-
}
|
|
48298
|
-
},
|
|
48299
|
-
{
|
|
48300
|
-
id: "focus.reportschedules.upsert-saved-view-schedule",
|
|
48301
|
-
family: "focus",
|
|
48302
|
-
resource: "reportschedules",
|
|
48303
|
-
action: "upsert-saved-view-schedule",
|
|
48304
|
-
title: "Upsert Saved View Schedule Reportschedules",
|
|
48305
|
-
description: "Upsert Saved View Schedule Reportschedules.",
|
|
48306
|
-
safety: "update",
|
|
48307
|
-
destructive: false,
|
|
48308
|
-
cli: {
|
|
48309
|
-
group: ["reportschedules"],
|
|
48310
|
-
command: "upsert-saved-view-schedule",
|
|
48311
|
-
interactive: "default"
|
|
48312
|
-
},
|
|
48313
|
-
mcp: { entityTool: "reportschedules" },
|
|
48314
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48315
|
-
id: /* @__PURE__ */ number$2(),
|
|
48316
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48317
|
-
cadence: /* @__PURE__ */ picklist$1([
|
|
48318
|
-
"daily",
|
|
48319
|
-
"weekly",
|
|
48320
|
-
"monthly"
|
|
48321
|
-
]),
|
|
48322
|
-
time: /* @__PURE__ */ string$1(),
|
|
48323
|
-
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48324
|
-
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48325
|
-
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48326
|
-
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
48327
|
-
})
|
|
48328
|
-
}),
|
|
48329
|
-
execute: (input, { client }) => {
|
|
48330
|
-
const data = input;
|
|
48331
|
-
return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
|
|
48332
|
-
client.httpClient,
|
|
48333
|
-
client.workspaceIdNumber,
|
|
48334
|
-
data.id,
|
|
48335
|
-
data.payload ?? data.data ?? data,
|
|
48336
|
-
void 0
|
|
48337
|
-
]));
|
|
48338
|
-
}
|
|
48339
|
-
},
|
|
48340
|
-
{
|
|
48341
|
-
id: "focus.reportschedules.upsert-shared-report-schedule",
|
|
48342
|
-
family: "focus",
|
|
48343
|
-
resource: "reportschedules",
|
|
48344
|
-
action: "upsert-shared-report-schedule",
|
|
48345
|
-
title: "Upsert Shared Report Schedule Reportschedules",
|
|
48346
|
-
description: "Upsert Shared Report Schedule Reportschedules.",
|
|
48347
|
-
safety: "update",
|
|
48348
|
-
destructive: false,
|
|
48349
|
-
cli: {
|
|
48350
|
-
group: ["reportschedules"],
|
|
48351
|
-
command: "upsert-shared-report-schedule",
|
|
48352
|
-
interactive: "default"
|
|
48353
|
-
},
|
|
48354
|
-
mcp: { entityTool: "reportschedules" },
|
|
48355
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48356
|
-
id: /* @__PURE__ */ number$2(),
|
|
48357
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48358
|
-
cadence: /* @__PURE__ */ picklist$1([
|
|
48359
|
-
"daily",
|
|
48360
|
-
"weekly",
|
|
48361
|
-
"monthly"
|
|
48362
|
-
]),
|
|
48363
|
-
time: /* @__PURE__ */ string$1(),
|
|
48364
|
-
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48365
|
-
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48366
|
-
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48367
|
-
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
48368
|
-
})
|
|
48369
|
-
}),
|
|
48370
|
-
execute: (input, { client }) => {
|
|
48371
|
-
const data = input;
|
|
48372
|
-
return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
|
|
48373
|
-
client.httpClient,
|
|
48374
|
-
client.workspaceIdNumber,
|
|
48375
|
-
data.id,
|
|
48376
|
-
data.payload ?? data.data ?? data,
|
|
48377
47979
|
void 0
|
|
48378
47980
|
]));
|
|
48379
47981
|
}
|
|
@@ -48411,9 +48013,7 @@ const generatedFocusOperations = [
|
|
|
48411
48013
|
"reports.detailed",
|
|
48412
48014
|
"reports.utilization",
|
|
48413
48015
|
"reports.workload",
|
|
48414
|
-
"reports.profitability"
|
|
48415
|
-
"reports.time-off",
|
|
48416
|
-
"reports.time-accounting"
|
|
48016
|
+
"reports.profitability"
|
|
48417
48017
|
]),
|
|
48418
48018
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
48419
48019
|
}) }),
|
|
@@ -48536,36 +48136,6 @@ const generatedFocusOperations = [
|
|
|
48536
48136
|
]));
|
|
48537
48137
|
}
|
|
48538
48138
|
},
|
|
48539
|
-
{
|
|
48540
|
-
id: "focus.search.mentions",
|
|
48541
|
-
family: "focus",
|
|
48542
|
-
resource: "search",
|
|
48543
|
-
action: "mentions",
|
|
48544
|
-
title: "Mentions Search",
|
|
48545
|
-
description: "Mentions Search.",
|
|
48546
|
-
safety: "read",
|
|
48547
|
-
destructive: false,
|
|
48548
|
-
cli: {
|
|
48549
|
-
group: ["search"],
|
|
48550
|
-
command: "mentions",
|
|
48551
|
-
interactive: "hidden"
|
|
48552
|
-
},
|
|
48553
|
-
mcp: { entityTool: "search" },
|
|
48554
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48555
|
-
keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48556
|
-
per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48557
|
-
}),
|
|
48558
|
-
execute: (input, { client }) => {
|
|
48559
|
-
const data = input;
|
|
48560
|
-
return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
|
|
48561
|
-
client.httpClient,
|
|
48562
|
-
client.organizationId,
|
|
48563
|
-
client.workspaceIdNumber,
|
|
48564
|
-
data,
|
|
48565
|
-
void 0
|
|
48566
|
-
]));
|
|
48567
|
-
}
|
|
48568
|
-
},
|
|
48569
48139
|
{
|
|
48570
48140
|
id: "focus.search.search",
|
|
48571
48141
|
family: "focus",
|
|
@@ -48594,241 +48164,7 @@ const generatedFocusOperations = [
|
|
|
48594
48164
|
}
|
|
48595
48165
|
},
|
|
48596
48166
|
{
|
|
48597
|
-
id: "focus.
|
|
48598
|
-
family: "focus",
|
|
48599
|
-
resource: "sharedreports",
|
|
48600
|
-
action: "add-shared-report-grants",
|
|
48601
|
-
title: "Add Shared Report Grants Sharedreports",
|
|
48602
|
-
description: "Add Shared Report Grants Sharedreports.",
|
|
48603
|
-
safety: "update",
|
|
48604
|
-
destructive: false,
|
|
48605
|
-
cli: {
|
|
48606
|
-
group: ["sharedreports"],
|
|
48607
|
-
command: "add-shared-report-grants",
|
|
48608
|
-
interactive: "default"
|
|
48609
|
-
},
|
|
48610
|
-
mcp: { entityTool: "sharedreports" },
|
|
48611
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48612
|
-
id: /* @__PURE__ */ number$2(),
|
|
48613
|
-
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48614
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48615
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48616
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48617
|
-
})) })
|
|
48618
|
-
}),
|
|
48619
|
-
execute: (input, { client }) => {
|
|
48620
|
-
const data = input;
|
|
48621
|
-
return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
|
|
48622
|
-
client.httpClient,
|
|
48623
|
-
client.workspaceIdNumber,
|
|
48624
|
-
data.id,
|
|
48625
|
-
data.payload ?? data.data ?? data,
|
|
48626
|
-
void 0
|
|
48627
|
-
]));
|
|
48628
|
-
}
|
|
48629
|
-
},
|
|
48630
|
-
{
|
|
48631
|
-
id: "focus.sharedreports.get-saved-view-shared-report",
|
|
48632
|
-
family: "focus",
|
|
48633
|
-
resource: "sharedreports",
|
|
48634
|
-
action: "get-saved-view-shared-report",
|
|
48635
|
-
title: "Get Saved View Shared Report Sharedreports",
|
|
48636
|
-
description: "Get Saved View Shared Report Sharedreports.",
|
|
48637
|
-
safety: "read",
|
|
48638
|
-
destructive: false,
|
|
48639
|
-
cli: {
|
|
48640
|
-
group: ["sharedreports"],
|
|
48641
|
-
command: "get-saved-view-shared-report",
|
|
48642
|
-
interactive: "available"
|
|
48643
|
-
},
|
|
48644
|
-
mcp: { entityTool: "sharedreports" },
|
|
48645
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48646
|
-
execute: (input, { client }) => {
|
|
48647
|
-
const data = input;
|
|
48648
|
-
return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
|
|
48649
|
-
client.httpClient,
|
|
48650
|
-
client.workspaceIdNumber,
|
|
48651
|
-
data.id,
|
|
48652
|
-
void 0
|
|
48653
|
-
]));
|
|
48654
|
-
}
|
|
48655
|
-
},
|
|
48656
|
-
{
|
|
48657
|
-
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
48658
|
-
family: "focus",
|
|
48659
|
-
resource: "sharedreports",
|
|
48660
|
-
action: "get-shared-report-for-viewer",
|
|
48661
|
-
title: "Get Shared Report For Viewer Sharedreports",
|
|
48662
|
-
description: "Get Shared Report For Viewer Sharedreports.",
|
|
48663
|
-
safety: "read",
|
|
48664
|
-
destructive: false,
|
|
48665
|
-
cli: {
|
|
48666
|
-
group: ["sharedreports"],
|
|
48667
|
-
command: "get-shared-report-for-viewer",
|
|
48668
|
-
interactive: "available"
|
|
48669
|
-
},
|
|
48670
|
-
mcp: { entityTool: "sharedreports" },
|
|
48671
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48672
|
-
execute: (input, { client }) => {
|
|
48673
|
-
const data = input;
|
|
48674
|
-
return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
|
|
48675
|
-
client.httpClient,
|
|
48676
|
-
client.workspaceIdNumber,
|
|
48677
|
-
data.id,
|
|
48678
|
-
void 0
|
|
48679
|
-
]));
|
|
48680
|
-
}
|
|
48681
|
-
},
|
|
48682
|
-
{
|
|
48683
|
-
id: "focus.sharedreports.get-shared-reports-shared-by-me",
|
|
48684
|
-
family: "focus",
|
|
48685
|
-
resource: "sharedreports",
|
|
48686
|
-
action: "get-shared-reports-shared-by-me",
|
|
48687
|
-
title: "Get Shared Reports Shared By Me Sharedreports",
|
|
48688
|
-
description: "Get Shared Reports Shared By Me Sharedreports.",
|
|
48689
|
-
safety: "read",
|
|
48690
|
-
destructive: false,
|
|
48691
|
-
cli: {
|
|
48692
|
-
group: ["sharedreports"],
|
|
48693
|
-
command: "get-shared-reports-shared-by-me",
|
|
48694
|
-
interactive: "hidden"
|
|
48695
|
-
},
|
|
48696
|
-
mcp: { entityTool: "sharedreports" },
|
|
48697
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48698
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
|
|
48699
|
-
client.httpClient,
|
|
48700
|
-
client.workspaceIdNumber,
|
|
48701
|
-
void 0
|
|
48702
|
-
]))
|
|
48703
|
-
},
|
|
48704
|
-
{
|
|
48705
|
-
id: "focus.sharedreports.get-shared-reports-shared-with-me",
|
|
48706
|
-
family: "focus",
|
|
48707
|
-
resource: "sharedreports",
|
|
48708
|
-
action: "get-shared-reports-shared-with-me",
|
|
48709
|
-
title: "Get Shared Reports Shared With Me Sharedreports",
|
|
48710
|
-
description: "Get Shared Reports Shared With Me Sharedreports.",
|
|
48711
|
-
safety: "read",
|
|
48712
|
-
destructive: false,
|
|
48713
|
-
cli: {
|
|
48714
|
-
group: ["sharedreports"],
|
|
48715
|
-
command: "get-shared-reports-shared-with-me",
|
|
48716
|
-
interactive: "hidden"
|
|
48717
|
-
},
|
|
48718
|
-
mcp: { entityTool: "sharedreports" },
|
|
48719
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48720
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
|
|
48721
|
-
client.httpClient,
|
|
48722
|
-
client.workspaceIdNumber,
|
|
48723
|
-
void 0
|
|
48724
|
-
]))
|
|
48725
|
-
},
|
|
48726
|
-
{
|
|
48727
|
-
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
48728
|
-
family: "focus",
|
|
48729
|
-
resource: "sharedreports",
|
|
48730
|
-
action: "revoke-shared-report-grant",
|
|
48731
|
-
title: "Revoke Shared Report Grant Sharedreports",
|
|
48732
|
-
description: "Revoke Shared Report Grant Sharedreports.",
|
|
48733
|
-
safety: "delete",
|
|
48734
|
-
destructive: true,
|
|
48735
|
-
cli: {
|
|
48736
|
-
group: ["sharedreports"],
|
|
48737
|
-
command: "revoke-shared-report-grant",
|
|
48738
|
-
interactive: "default"
|
|
48739
|
-
},
|
|
48740
|
-
mcp: { entityTool: "sharedreports" },
|
|
48741
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48742
|
-
grant_id: /* @__PURE__ */ number$2(),
|
|
48743
|
-
id: /* @__PURE__ */ number$2()
|
|
48744
|
-
}),
|
|
48745
|
-
execute: (input, { client }) => {
|
|
48746
|
-
const data = input;
|
|
48747
|
-
return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
|
|
48748
|
-
client.httpClient,
|
|
48749
|
-
client.workspaceIdNumber,
|
|
48750
|
-
data.id,
|
|
48751
|
-
data.grant_id,
|
|
48752
|
-
void 0
|
|
48753
|
-
]));
|
|
48754
|
-
}
|
|
48755
|
-
},
|
|
48756
|
-
{
|
|
48757
|
-
id: "focus.sharedreports.share-saved-view",
|
|
48758
|
-
family: "focus",
|
|
48759
|
-
resource: "sharedreports",
|
|
48760
|
-
action: "share-saved-view",
|
|
48761
|
-
title: "Share Saved View Sharedreports",
|
|
48762
|
-
description: "Share Saved View Sharedreports.",
|
|
48763
|
-
safety: "update",
|
|
48764
|
-
destructive: false,
|
|
48765
|
-
cli: {
|
|
48766
|
-
group: ["sharedreports"],
|
|
48767
|
-
command: "share-saved-view",
|
|
48768
|
-
interactive: "hidden"
|
|
48769
|
-
},
|
|
48770
|
-
mcp: { entityTool: "sharedreports" },
|
|
48771
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48772
|
-
id: /* @__PURE__ */ number$2(),
|
|
48773
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48774
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48775
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48776
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48777
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48778
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48779
|
-
})
|
|
48780
|
-
}),
|
|
48781
|
-
execute: (input, { client }) => {
|
|
48782
|
-
const data = input;
|
|
48783
|
-
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
48784
|
-
client.httpClient,
|
|
48785
|
-
client.workspaceIdNumber,
|
|
48786
|
-
data.id,
|
|
48787
|
-
data.payload ?? data.data ?? data,
|
|
48788
|
-
void 0
|
|
48789
|
-
]));
|
|
48790
|
-
}
|
|
48791
|
-
},
|
|
48792
|
-
{
|
|
48793
|
-
id: "focus.sharedreports.share-saved-view-many",
|
|
48794
|
-
family: "focus",
|
|
48795
|
-
resource: "sharedreports",
|
|
48796
|
-
action: "share-saved-view-many",
|
|
48797
|
-
title: "Share Saved View Many Sharedreports",
|
|
48798
|
-
description: "Share Saved View Many Sharedreports.",
|
|
48799
|
-
safety: "update",
|
|
48800
|
-
destructive: false,
|
|
48801
|
-
cli: {
|
|
48802
|
-
group: ["sharedreports"],
|
|
48803
|
-
command: "share-saved-view-many",
|
|
48804
|
-
interactive: "hidden"
|
|
48805
|
-
},
|
|
48806
|
-
mcp: { entityTool: "sharedreports" },
|
|
48807
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48808
|
-
id: /* @__PURE__ */ number$2(),
|
|
48809
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48810
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48811
|
-
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48812
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48813
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48814
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48815
|
-
})),
|
|
48816
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48817
|
-
})
|
|
48818
|
-
}),
|
|
48819
|
-
execute: (input, { client }) => {
|
|
48820
|
-
const data = input;
|
|
48821
|
-
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
48822
|
-
client.httpClient,
|
|
48823
|
-
client.workspaceIdNumber,
|
|
48824
|
-
data.id,
|
|
48825
|
-
data.payload ?? data.data ?? data,
|
|
48826
|
-
void 0
|
|
48827
|
-
]));
|
|
48828
|
-
}
|
|
48829
|
-
},
|
|
48830
|
-
{
|
|
48831
|
-
id: "focus.statuses.create-status",
|
|
48167
|
+
id: "focus.statuses.create-status",
|
|
48832
48168
|
family: "focus",
|
|
48833
48169
|
resource: "statuses",
|
|
48834
48170
|
action: "create-status",
|
|
@@ -49105,165 +48441,6 @@ const generatedFocusOperations = [
|
|
|
49105
48441
|
]));
|
|
49106
48442
|
}
|
|
49107
48443
|
},
|
|
49108
|
-
{
|
|
49109
|
-
id: "focus.tags.archive",
|
|
49110
|
-
family: "focus",
|
|
49111
|
-
resource: "tags",
|
|
49112
|
-
action: "archive",
|
|
49113
|
-
title: "Archive Tags",
|
|
49114
|
-
description: "Archive Tags.",
|
|
49115
|
-
safety: "update",
|
|
49116
|
-
destructive: false,
|
|
49117
|
-
cli: {
|
|
49118
|
-
group: ["tags"],
|
|
49119
|
-
command: "archive",
|
|
49120
|
-
interactive: "default"
|
|
49121
|
-
},
|
|
49122
|
-
mcp: { entityTool: "tags" },
|
|
49123
|
-
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
49124
|
-
execute: (input, { client }) => {
|
|
49125
|
-
const data = input;
|
|
49126
|
-
return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
|
|
49127
|
-
client.httpClient,
|
|
49128
|
-
client.workspaceIdNumber,
|
|
49129
|
-
data.tag_id,
|
|
49130
|
-
void 0
|
|
49131
|
-
]));
|
|
49132
|
-
}
|
|
49133
|
-
},
|
|
49134
|
-
{
|
|
49135
|
-
id: "focus.tags.bulk-archive",
|
|
49136
|
-
family: "focus",
|
|
49137
|
-
resource: "tags",
|
|
49138
|
-
action: "bulk-archive",
|
|
49139
|
-
title: "Bulk Archive Tags",
|
|
49140
|
-
description: "Bulk Archive Tags.",
|
|
49141
|
-
safety: "update",
|
|
49142
|
-
destructive: false,
|
|
49143
|
-
cli: {
|
|
49144
|
-
group: ["tags", "bulk"],
|
|
49145
|
-
command: "archive",
|
|
49146
|
-
interactive: "default"
|
|
49147
|
-
},
|
|
49148
|
-
mcp: { entityTool: "tags" },
|
|
49149
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49150
|
-
execute: (input, { client }) => {
|
|
49151
|
-
const data = input;
|
|
49152
|
-
return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
|
|
49153
|
-
client.httpClient,
|
|
49154
|
-
client.workspaceIdNumber,
|
|
49155
|
-
data.payload ?? data.data ?? data,
|
|
49156
|
-
void 0
|
|
49157
|
-
]));
|
|
49158
|
-
}
|
|
49159
|
-
},
|
|
49160
|
-
{
|
|
49161
|
-
id: "focus.tags.bulk-create",
|
|
49162
|
-
family: "focus",
|
|
49163
|
-
resource: "tags",
|
|
49164
|
-
action: "bulk-create",
|
|
49165
|
-
title: "Bulk Create Tags",
|
|
49166
|
-
description: "Bulk Create Tags.",
|
|
49167
|
-
safety: "create",
|
|
49168
|
-
destructive: false,
|
|
49169
|
-
cli: {
|
|
49170
|
-
group: ["tags", "bulk"],
|
|
49171
|
-
command: "create",
|
|
49172
|
-
interactive: "default"
|
|
49173
|
-
},
|
|
49174
|
-
mcp: { entityTool: "tags" },
|
|
49175
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
49176
|
-
color: /* @__PURE__ */ string$1(),
|
|
49177
|
-
name: /* @__PURE__ */ string$1()
|
|
49178
|
-
})) }) }),
|
|
49179
|
-
execute: (input, { client }) => {
|
|
49180
|
-
const data = input;
|
|
49181
|
-
return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
|
|
49182
|
-
client.httpClient,
|
|
49183
|
-
client.workspaceIdNumber,
|
|
49184
|
-
data.payload ?? data.data ?? data,
|
|
49185
|
-
void 0
|
|
49186
|
-
]));
|
|
49187
|
-
}
|
|
49188
|
-
},
|
|
49189
|
-
{
|
|
49190
|
-
id: "focus.tags.bulk-delete",
|
|
49191
|
-
family: "focus",
|
|
49192
|
-
resource: "tags",
|
|
49193
|
-
action: "bulk-delete",
|
|
49194
|
-
title: "Bulk Delete Tags",
|
|
49195
|
-
description: "Bulk Delete Tags.",
|
|
49196
|
-
safety: "delete",
|
|
49197
|
-
destructive: true,
|
|
49198
|
-
cli: {
|
|
49199
|
-
group: ["tags", "bulk"],
|
|
49200
|
-
command: "delete",
|
|
49201
|
-
interactive: "default"
|
|
49202
|
-
},
|
|
49203
|
-
mcp: { entityTool: "tags" },
|
|
49204
|
-
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
49205
|
-
execute: (input, { client }) => {
|
|
49206
|
-
const data = input;
|
|
49207
|
-
return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
|
|
49208
|
-
client.httpClient,
|
|
49209
|
-
client.workspaceIdNumber,
|
|
49210
|
-
data.ids,
|
|
49211
|
-
void 0
|
|
49212
|
-
]));
|
|
49213
|
-
}
|
|
49214
|
-
},
|
|
49215
|
-
{
|
|
49216
|
-
id: "focus.tags.bulk-restore",
|
|
49217
|
-
family: "focus",
|
|
49218
|
-
resource: "tags",
|
|
49219
|
-
action: "bulk-restore",
|
|
49220
|
-
title: "Bulk Restore Tags",
|
|
49221
|
-
description: "Bulk Restore Tags.",
|
|
49222
|
-
safety: "update",
|
|
49223
|
-
destructive: false,
|
|
49224
|
-
cli: {
|
|
49225
|
-
group: ["tags", "bulk"],
|
|
49226
|
-
command: "restore",
|
|
49227
|
-
interactive: "default"
|
|
49228
|
-
},
|
|
49229
|
-
mcp: { entityTool: "tags" },
|
|
49230
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49231
|
-
execute: (input, { client }) => {
|
|
49232
|
-
const data = input;
|
|
49233
|
-
return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
|
|
49234
|
-
client.httpClient,
|
|
49235
|
-
client.workspaceIdNumber,
|
|
49236
|
-
data.payload ?? data.data ?? data,
|
|
49237
|
-
void 0
|
|
49238
|
-
]));
|
|
49239
|
-
}
|
|
49240
|
-
},
|
|
49241
|
-
{
|
|
49242
|
-
id: "focus.tags.bulk-unarchive",
|
|
49243
|
-
family: "focus",
|
|
49244
|
-
resource: "tags",
|
|
49245
|
-
action: "bulk-unarchive",
|
|
49246
|
-
title: "Bulk Unarchive Tags",
|
|
49247
|
-
description: "Bulk Unarchive Tags.",
|
|
49248
|
-
safety: "update",
|
|
49249
|
-
destructive: false,
|
|
49250
|
-
cli: {
|
|
49251
|
-
group: ["tags", "bulk"],
|
|
49252
|
-
command: "unarchive",
|
|
49253
|
-
interactive: "default"
|
|
49254
|
-
},
|
|
49255
|
-
mcp: { entityTool: "tags" },
|
|
49256
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49257
|
-
execute: (input, { client }) => {
|
|
49258
|
-
const data = input;
|
|
49259
|
-
return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
|
|
49260
|
-
client.httpClient,
|
|
49261
|
-
client.workspaceIdNumber,
|
|
49262
|
-
data.payload ?? data.data ?? data,
|
|
49263
|
-
void 0
|
|
49264
|
-
]));
|
|
49265
|
-
}
|
|
49266
|
-
},
|
|
49267
48444
|
{
|
|
49268
48445
|
id: "focus.tags.create",
|
|
49269
48446
|
family: "focus",
|
|
@@ -49348,35 +48525,6 @@ const generatedFocusOperations = [
|
|
|
49348
48525
|
return client.listTags(data);
|
|
49349
48526
|
}
|
|
49350
48527
|
},
|
|
49351
|
-
{
|
|
49352
|
-
id: "focus.tags.merge",
|
|
49353
|
-
family: "focus",
|
|
49354
|
-
resource: "tags",
|
|
49355
|
-
action: "merge",
|
|
49356
|
-
title: "Merge Tags",
|
|
49357
|
-
description: "Merge Tags.",
|
|
49358
|
-
safety: "update",
|
|
49359
|
-
destructive: false,
|
|
49360
|
-
cli: {
|
|
49361
|
-
group: ["tags"],
|
|
49362
|
-
command: "merge",
|
|
49363
|
-
interactive: "default"
|
|
49364
|
-
},
|
|
49365
|
-
mcp: { entityTool: "tags" },
|
|
49366
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
49367
|
-
source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
49368
|
-
target_id: /* @__PURE__ */ number$2()
|
|
49369
|
-
}) }),
|
|
49370
|
-
execute: (input, { client }) => {
|
|
49371
|
-
const data = input;
|
|
49372
|
-
return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
|
|
49373
|
-
client.httpClient,
|
|
49374
|
-
client.workspaceIdNumber,
|
|
49375
|
-
data.payload ?? data.data ?? data,
|
|
49376
|
-
void 0
|
|
49377
|
-
]));
|
|
49378
|
-
}
|
|
49379
|
-
},
|
|
49380
48528
|
{
|
|
49381
48529
|
id: "focus.tags.restore",
|
|
49382
48530
|
family: "focus",
|
|
@@ -49403,32 +48551,6 @@ const generatedFocusOperations = [
|
|
|
49403
48551
|
]));
|
|
49404
48552
|
}
|
|
49405
48553
|
},
|
|
49406
|
-
{
|
|
49407
|
-
id: "focus.tags.unarchive",
|
|
49408
|
-
family: "focus",
|
|
49409
|
-
resource: "tags",
|
|
49410
|
-
action: "unarchive",
|
|
49411
|
-
title: "Unarchive Tags",
|
|
49412
|
-
description: "Unarchive Tags.",
|
|
49413
|
-
safety: "update",
|
|
49414
|
-
destructive: false,
|
|
49415
|
-
cli: {
|
|
49416
|
-
group: ["tags"],
|
|
49417
|
-
command: "unarchive",
|
|
49418
|
-
interactive: "default"
|
|
49419
|
-
},
|
|
49420
|
-
mcp: { entityTool: "tags" },
|
|
49421
|
-
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
49422
|
-
execute: (input, { client }) => {
|
|
49423
|
-
const data = input;
|
|
49424
|
-
return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
|
|
49425
|
-
client.httpClient,
|
|
49426
|
-
client.workspaceIdNumber,
|
|
49427
|
-
data.tag_id,
|
|
49428
|
-
void 0
|
|
49429
|
-
]));
|
|
49430
|
-
}
|
|
49431
|
-
},
|
|
49432
48554
|
{
|
|
49433
48555
|
id: "focus.tags.update",
|
|
49434
48556
|
family: "focus",
|
|
@@ -50110,12 +49232,12 @@ const generatedFocusOperations = [
|
|
|
50110
49232
|
mcp: { entityTool: "tasks" },
|
|
50111
49233
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
50112
49234
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50113
|
-
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50114
49235
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50115
49236
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50116
49237
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50117
49238
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50118
49239
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49240
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50119
49241
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50120
49242
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50121
49243
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50152,6 +49274,7 @@ const generatedFocusOperations = [
|
|
|
50152
49274
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
50153
49275
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50154
49276
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49277
|
+
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50155
49278
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50156
49279
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50157
49280
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50168,6 +49291,7 @@ const generatedFocusOperations = [
|
|
|
50168
49291
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50169
49292
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50170
49293
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49294
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50171
49295
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50172
49296
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50173
49297
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50223,6 +49347,7 @@ const generatedFocusOperations = [
|
|
|
50223
49347
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50224
49348
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50225
49349
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49350
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50226
49351
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50227
49352
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50228
49353
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50263,6 +49388,7 @@ const generatedFocusOperations = [
|
|
|
50263
49388
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50264
49389
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50265
49390
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49391
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50266
49392
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50267
49393
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50268
49394
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50303,7 +49429,6 @@ const generatedFocusOperations = [
|
|
|
50303
49429
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50304
49430
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50305
49431
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50306
|
-
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50307
49432
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50308
49433
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50309
49434
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50317,8 +49442,7 @@ const generatedFocusOperations = [
|
|
|
50317
49442
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50318
49443
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50319
49444
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50320
|
-
|
|
50321
|
-
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49445
|
+
include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50322
49446
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50323
49447
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50324
49448
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50334,7 +49458,6 @@ const generatedFocusOperations = [
|
|
|
50334
49458
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50335
49459
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50336
49460
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50337
|
-
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50338
49461
|
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50339
49462
|
}),
|
|
50340
49463
|
execute: (input, { client }) => {
|
|
@@ -50349,118 +49472,6 @@ const generatedFocusOperations = [
|
|
|
50349
49472
|
]));
|
|
50350
49473
|
}
|
|
50351
49474
|
},
|
|
50352
|
-
{
|
|
50353
|
-
id: "focus.tasks.groups-get-user-task-groups-by-project",
|
|
50354
|
-
family: "focus",
|
|
50355
|
-
resource: "tasks",
|
|
50356
|
-
action: "groups-get-user-task-groups-by-project",
|
|
50357
|
-
title: "Groups Get User Task Groups By Project Tasks",
|
|
50358
|
-
description: "Groups Get User Task Groups By Project Tasks.",
|
|
50359
|
-
safety: "read",
|
|
50360
|
-
destructive: false,
|
|
50361
|
-
cli: {
|
|
50362
|
-
group: ["tasks", "groups"],
|
|
50363
|
-
command: "get-user-task-groups-by-project",
|
|
50364
|
-
interactive: "hidden"
|
|
50365
|
-
},
|
|
50366
|
-
mcp: { entityTool: "tasks" },
|
|
50367
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50368
|
-
assignee_user_id: /* @__PURE__ */ number$2(),
|
|
50369
|
-
cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50370
|
-
client_id: /* @__PURE__ */ number$2(),
|
|
50371
|
-
collapse_recurring: /* @__PURE__ */ unknown$1(),
|
|
50372
|
-
creator_id: /* @__PURE__ */ number$2(),
|
|
50373
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50374
|
-
end_date_from: /* @__PURE__ */ unknown$1(),
|
|
50375
|
-
end_date_to: /* @__PURE__ */ unknown$1(),
|
|
50376
|
-
exclude_empty: /* @__PURE__ */ unknown$1(),
|
|
50377
|
-
group_id: /* @__PURE__ */ number$2(),
|
|
50378
|
-
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50379
|
-
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
50380
|
-
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50381
|
-
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
50382
|
-
min_days: /* @__PURE__ */ unknown$1(),
|
|
50383
|
-
name: /* @__PURE__ */ unknown$1(),
|
|
50384
|
-
priority: /* @__PURE__ */ unknown$1(),
|
|
50385
|
-
private_: /* @__PURE__ */ unknown$1(),
|
|
50386
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
50387
|
-
source: /* @__PURE__ */ unknown$1(),
|
|
50388
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50389
|
-
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
50390
|
-
start_date_to: /* @__PURE__ */ unknown$1(),
|
|
50391
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
50392
|
-
tag_id: /* @__PURE__ */ number$2(),
|
|
50393
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
50394
|
-
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50395
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
50396
|
-
}),
|
|
50397
|
-
execute: (input, { client }) => {
|
|
50398
|
-
const data = input;
|
|
50399
|
-
return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
|
|
50400
|
-
client.httpClient,
|
|
50401
|
-
client.organizationId,
|
|
50402
|
-
client.workspaceIdNumber,
|
|
50403
|
-
data,
|
|
50404
|
-
void 0
|
|
50405
|
-
]));
|
|
50406
|
-
}
|
|
50407
|
-
},
|
|
50408
|
-
{
|
|
50409
|
-
id: "focus.tasks.groups-get-user-task-groups-by-team",
|
|
50410
|
-
family: "focus",
|
|
50411
|
-
resource: "tasks",
|
|
50412
|
-
action: "groups-get-user-task-groups-by-team",
|
|
50413
|
-
title: "Groups Get User Task Groups By Team Tasks",
|
|
50414
|
-
description: "Groups Get User Task Groups By Team Tasks.",
|
|
50415
|
-
safety: "read",
|
|
50416
|
-
destructive: false,
|
|
50417
|
-
cli: {
|
|
50418
|
-
group: ["tasks", "groups"],
|
|
50419
|
-
command: "get-user-task-groups-by-team",
|
|
50420
|
-
interactive: "hidden"
|
|
50421
|
-
},
|
|
50422
|
-
mcp: { entityTool: "tasks" },
|
|
50423
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50424
|
-
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50425
|
-
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50426
|
-
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50427
|
-
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50428
|
-
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50429
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50430
|
-
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50431
|
-
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50432
|
-
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50433
|
-
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50434
|
-
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50435
|
-
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50436
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50437
|
-
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50438
|
-
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50439
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50440
|
-
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50441
|
-
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50442
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50443
|
-
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50444
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50445
|
-
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50446
|
-
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50447
|
-
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50448
|
-
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50449
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50450
|
-
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50451
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50452
|
-
}),
|
|
50453
|
-
execute: (input, { client }) => {
|
|
50454
|
-
const data = input;
|
|
50455
|
-
return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
|
|
50456
|
-
client.httpClient,
|
|
50457
|
-
client.organizationId,
|
|
50458
|
-
client.workspaceIdNumber,
|
|
50459
|
-
data,
|
|
50460
|
-
void 0
|
|
50461
|
-
]));
|
|
50462
|
-
}
|
|
50463
|
-
},
|
|
50464
49475
|
{
|
|
50465
49476
|
id: "focus.tasks.groups-update",
|
|
50466
49477
|
family: "focus",
|
|
@@ -50666,6 +49677,7 @@ const generatedFocusOperations = [
|
|
|
50666
49677
|
name: /* @__PURE__ */ string$1(),
|
|
50667
49678
|
status_id: /* @__PURE__ */ number$2(),
|
|
50668
49679
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49680
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50669
49681
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
50670
49682
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50671
49683
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -50685,7 +49697,6 @@ const generatedFocusOperations = [
|
|
|
50685
49697
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50686
49698
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50687
49699
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50688
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50689
49700
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
50690
49701
|
}),
|
|
50691
49702
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -51878,42 +50889,6 @@ const generatedFocusOperations = [
|
|
|
51878
50889
|
inputSchema: emptySchema$1,
|
|
51879
50890
|
execute: (_input, { client }) => client.stopTracking()
|
|
51880
50891
|
},
|
|
51881
|
-
{
|
|
51882
|
-
id: "focus.time-entries.sync",
|
|
51883
|
-
family: "focus",
|
|
51884
|
-
resource: "time-entries",
|
|
51885
|
-
action: "sync",
|
|
51886
|
-
title: "Sync Time Entries",
|
|
51887
|
-
description: "Sync Time Entries.",
|
|
51888
|
-
safety: "update",
|
|
51889
|
-
destructive: false,
|
|
51890
|
-
cli: {
|
|
51891
|
-
group: ["time-entries"],
|
|
51892
|
-
command: "sync",
|
|
51893
|
-
interactive: "default"
|
|
51894
|
-
},
|
|
51895
|
-
mcp: { entityTool: "time-entries" },
|
|
51896
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51897
|
-
client_uuid: /* @__PURE__ */ string$1(),
|
|
51898
|
-
payload: /* @__PURE__ */ looseObject({
|
|
51899
|
-
billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
|
|
51900
|
-
client_updated_at: apiDateTimeString,
|
|
51901
|
-
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
51902
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51903
|
-
})
|
|
51904
|
-
}),
|
|
51905
|
-
execute: (input, { client }) => {
|
|
51906
|
-
const data = input;
|
|
51907
|
-
return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
|
|
51908
|
-
client.httpClient,
|
|
51909
|
-
client.organizationId,
|
|
51910
|
-
client.workspaceIdNumber,
|
|
51911
|
-
data.client_uuid,
|
|
51912
|
-
data.payload ?? data.data ?? data,
|
|
51913
|
-
void 0
|
|
51914
|
-
]));
|
|
51915
|
-
}
|
|
51916
|
-
},
|
|
51917
50892
|
{
|
|
51918
50893
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
51919
50894
|
family: "focus",
|
|
@@ -51962,7 +50937,6 @@ const generatedFocusOperations = [
|
|
|
51962
50937
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51963
50938
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51964
50939
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51965
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51966
50940
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51967
50941
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51968
50942
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -52025,33 +50999,121 @@ const generatedFocusOperations = [
|
|
|
52025
50999
|
safety: "update",
|
|
52026
51000
|
destructive: false,
|
|
52027
51001
|
cli: {
|
|
52028
|
-
group: ["time-entries"],
|
|
52029
|
-
command: "update",
|
|
52030
|
-
interactive: "default"
|
|
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",
|
|
51099
|
+
destructive: false,
|
|
51100
|
+
cli: {
|
|
51101
|
+
group: ["time-off"],
|
|
51102
|
+
command: "create-timeoff-for-ghost",
|
|
51103
|
+
interactive: "hidden"
|
|
52031
51104
|
},
|
|
52032
|
-
mcp: { entityTool: "time-
|
|
51105
|
+
mcp: { entityTool: "time-off" },
|
|
52033
51106
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52034
|
-
|
|
52035
|
-
|
|
52036
|
-
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52037
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52038
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52039
|
-
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52040
|
-
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52041
|
-
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52042
|
-
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52043
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52044
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52045
|
-
}),
|
|
52046
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
51107
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
51108
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
52047
51109
|
}),
|
|
52048
51110
|
execute: (input, { client }) => {
|
|
52049
51111
|
const data = input;
|
|
52050
|
-
return client.runGeneratedRequest("
|
|
51112
|
+
return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
|
|
52051
51113
|
client.httpClient,
|
|
52052
51114
|
client.organizationId,
|
|
52053
51115
|
client.workspaceIdNumber,
|
|
52054
|
-
data.
|
|
51116
|
+
data.ghost_id,
|
|
52055
51117
|
data.payload ?? data.data ?? data,
|
|
52056
51118
|
void 0
|
|
52057
51119
|
]));
|
|
@@ -52087,6 +51149,37 @@ const generatedFocusOperations = [
|
|
|
52087
51149
|
]));
|
|
52088
51150
|
}
|
|
52089
51151
|
},
|
|
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
|
+
},
|
|
52090
51183
|
{
|
|
52091
51184
|
id: "focus.time-off.delete-timeoff-for-user",
|
|
52092
51185
|
family: "focus",
|
|
@@ -52117,6 +51210,38 @@ const generatedFocusOperations = [
|
|
|
52117
51210
|
]));
|
|
52118
51211
|
}
|
|
52119
51212
|
},
|
|
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
|
+
},
|
|
52120
51245
|
{
|
|
52121
51246
|
id: "focus.time-off.get-timeoff-for-user",
|
|
52122
51247
|
family: "focus",
|
|
@@ -52148,6 +51273,37 @@ const generatedFocusOperations = [
|
|
|
52148
51273
|
]));
|
|
52149
51274
|
}
|
|
52150
51275
|
},
|
|
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
|
+
},
|
|
52151
51307
|
{
|
|
52152
51308
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
52153
51309
|
family: "focus",
|
|
@@ -52178,6 +51334,37 @@ const generatedFocusOperations = [
|
|
|
52178
51334
|
]));
|
|
52179
51335
|
}
|
|
52180
51336
|
},
|
|
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
|
+
},
|
|
52181
51368
|
{
|
|
52182
51369
|
id: "focus.time-off.update-timeoff-for-user",
|
|
52183
51370
|
family: "focus",
|
|
@@ -53209,7 +52396,6 @@ const generatedFocusOperations = [
|
|
|
53209
52396
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
53210
52397
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
53211
52398
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53212
|
-
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53213
52399
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53214
52400
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53215
52401
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -53311,6 +52497,37 @@ const generatedFocusOperations = [
|
|
|
53311
52497
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53312
52498
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
53313
52499
|
},
|
|
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
|
+
},
|
|
53314
52531
|
{
|
|
53315
52532
|
id: "focus.working-hours.create-for-user",
|
|
53316
52533
|
family: "focus",
|
|
@@ -53341,6 +52558,37 @@ const generatedFocusOperations = [
|
|
|
53341
52558
|
]));
|
|
53342
52559
|
}
|
|
53343
52560
|
},
|
|
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
|
+
},
|
|
53344
52592
|
{
|
|
53345
52593
|
id: "focus.working-hours.delete-for-user",
|
|
53346
52594
|
family: "focus",
|
|
@@ -53371,6 +52619,33 @@ const generatedFocusOperations = [
|
|
|
53371
52619
|
]));
|
|
53372
52620
|
}
|
|
53373
52621
|
},
|
|
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
|
+
},
|
|
53374
52649
|
{
|
|
53375
52650
|
id: "focus.working-hours.get-for-user",
|
|
53376
52651
|
family: "focus",
|
|
@@ -53397,6 +52672,37 @@ const generatedFocusOperations = [
|
|
|
53397
52672
|
]));
|
|
53398
52673
|
}
|
|
53399
52674
|
},
|
|
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
|
+
},
|
|
53400
52706
|
{
|
|
53401
52707
|
id: "focus.working-hours.update-for-user",
|
|
53402
52708
|
family: "focus",
|
|
@@ -53471,50 +52777,6 @@ const generatedFocusOperations = [
|
|
|
53471
52777
|
void 0
|
|
53472
52778
|
]))
|
|
53473
52779
|
},
|
|
53474
|
-
{
|
|
53475
|
-
id: "focus.workspace-settings.get-workspace-export-branding",
|
|
53476
|
-
family: "focus",
|
|
53477
|
-
resource: "workspace-settings",
|
|
53478
|
-
action: "get-workspace-export-branding",
|
|
53479
|
-
title: "Get Workspace Export Branding Workspace Settings",
|
|
53480
|
-
description: "Get Workspace Export Branding Workspace Settings.",
|
|
53481
|
-
safety: "read",
|
|
53482
|
-
destructive: false,
|
|
53483
|
-
cli: {
|
|
53484
|
-
group: ["workspace-settings"],
|
|
53485
|
-
command: "get-workspace-export-branding",
|
|
53486
|
-
interactive: "hidden"
|
|
53487
|
-
},
|
|
53488
|
-
mcp: { entityTool: "workspace-settings" },
|
|
53489
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53490
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
|
|
53491
|
-
client.httpClient,
|
|
53492
|
-
client.workspaceIdNumber,
|
|
53493
|
-
void 0
|
|
53494
|
-
]))
|
|
53495
|
-
},
|
|
53496
|
-
{
|
|
53497
|
-
id: "focus.workspace-settings.get-workspace-watermark",
|
|
53498
|
-
family: "focus",
|
|
53499
|
-
resource: "workspace-settings",
|
|
53500
|
-
action: "get-workspace-watermark",
|
|
53501
|
-
title: "Get Workspace Watermark Workspace Settings",
|
|
53502
|
-
description: "Get Workspace Watermark Workspace Settings.",
|
|
53503
|
-
safety: "read",
|
|
53504
|
-
destructive: false,
|
|
53505
|
-
cli: {
|
|
53506
|
-
group: ["workspace-settings"],
|
|
53507
|
-
command: "get-workspace-watermark",
|
|
53508
|
-
interactive: "hidden"
|
|
53509
|
-
},
|
|
53510
|
-
mcp: { entityTool: "workspace-settings" },
|
|
53511
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53512
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
|
|
53513
|
-
client.httpClient,
|
|
53514
|
-
client.workspaceIdNumber,
|
|
53515
|
-
void 0
|
|
53516
|
-
]))
|
|
53517
|
-
},
|
|
53518
52780
|
{
|
|
53519
52781
|
id: "focus.workspace-settings.list",
|
|
53520
52782
|
family: "focus",
|
|
@@ -53589,32 +52851,6 @@ const generatedFocusOperations = [
|
|
|
53589
52851
|
]));
|
|
53590
52852
|
}
|
|
53591
52853
|
},
|
|
53592
|
-
{
|
|
53593
|
-
id: "focus.workspace-settings.update-workspace-watermark",
|
|
53594
|
-
family: "focus",
|
|
53595
|
-
resource: "workspace-settings",
|
|
53596
|
-
action: "update-workspace-watermark",
|
|
53597
|
-
title: "Update Workspace Watermark Workspace Settings",
|
|
53598
|
-
description: "Update Workspace Watermark Workspace Settings.",
|
|
53599
|
-
safety: "update",
|
|
53600
|
-
destructive: false,
|
|
53601
|
-
cli: {
|
|
53602
|
-
group: ["workspace-settings"],
|
|
53603
|
-
command: "update-workspace-watermark",
|
|
53604
|
-
interactive: "default"
|
|
53605
|
-
},
|
|
53606
|
-
mcp: { entityTool: "workspace-settings" },
|
|
53607
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
|
|
53608
|
-
execute: (input, { client }) => {
|
|
53609
|
-
const data = input;
|
|
53610
|
-
return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
|
|
53611
|
-
client.httpClient,
|
|
53612
|
-
client.workspaceIdNumber,
|
|
53613
|
-
data.payload ?? data.data ?? data,
|
|
53614
|
-
void 0
|
|
53615
|
-
]));
|
|
53616
|
-
}
|
|
53617
|
-
},
|
|
53618
52854
|
{
|
|
53619
52855
|
id: "focus.workspace.get-context",
|
|
53620
52856
|
family: "focus",
|
|
@@ -54741,7 +53977,7 @@ function registerWorkspaceTools(server) {
|
|
|
54741
53977
|
//#region src/package-version.ts
|
|
54742
53978
|
function mcpPackageVersion() {
|
|
54743
53979
|
try {
|
|
54744
|
-
return "1.11.
|
|
53980
|
+
return "1.11.145";
|
|
54745
53981
|
} catch {
|
|
54746
53982
|
return "unknown";
|
|
54747
53983
|
}
|
|
@@ -54916,7 +54152,7 @@ import_main.default.config({
|
|
|
54916
54152
|
quiet: true,
|
|
54917
54153
|
ignore: ["MISSING_ENV_FILE"]
|
|
54918
54154
|
});
|
|
54919
|
-
const packageVersion = "1.11.
|
|
54155
|
+
const packageVersion = "1.11.145";
|
|
54920
54156
|
function resolvePublicUrls() {
|
|
54921
54157
|
return {
|
|
54922
54158
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -54981,4 +54217,4 @@ function bootstrapServer(options = {}) {
|
|
|
54981
54217
|
//#endregion
|
|
54982
54218
|
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 };
|
|
54983
54219
|
|
|
54984
|
-
//# sourceMappingURL=src-
|
|
54220
|
+
//# sourceMappingURL=src-DM9DnITM.js.map
|