@togglhq/mcp 1.11.43 → 1.11.44
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-DhKcyQiT.js → src-CpNVfYSs.js} +104 -467
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as initProductAnalytics, c as shutdownProductAnalytics, i as getProductAnalyticsDistinctId, n as runMcpCli, o as redactUnsafeSentryMessages, r as captureToolInvocation, s as resolveProductAnalyticsDistinctId } from "./src-
|
|
2
|
+
import { a as initProductAnalytics, c as shutdownProductAnalytics, i as getProductAnalyticsDistinctId, n as runMcpCli, o as redactUnsafeSentryMessages, r as captureToolInvocation, s as resolveProductAnalyticsDistinctId } from "./src-CpNVfYSs.js";
|
|
3
3
|
import * as Sentry from "@sentry/node";
|
|
4
4
|
//#region src/analytics-tool-metadata.ts
|
|
5
5
|
/**
|
|
@@ -165,7 +165,7 @@ function wrapServerWithProductAnalytics(server) {
|
|
|
165
165
|
}
|
|
166
166
|
//#endregion
|
|
167
167
|
//#region src/cli.ts
|
|
168
|
-
const packageVersion = "1.11.
|
|
168
|
+
const packageVersion = "1.11.44";
|
|
169
169
|
let sentryEnabled = false;
|
|
170
170
|
let productAnalyticsEnabled = false;
|
|
171
171
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -34769,7 +34769,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34769
34769
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34770
34770
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34771
34771
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34772
|
-
is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
|
|
34773
34772
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34774
34773
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34775
34774
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -34831,7 +34830,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34831
34830
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34832
34831
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34833
34832
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34834
|
-
is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
|
|
34835
34833
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34836
34834
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34837
34835
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -35014,8 +35012,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
35014
35012
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35015
35013
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35016
35014
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35017
|
-
pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
|
|
35018
|
-
pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
|
|
35019
35015
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35020
35016
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35021
35017
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35101,7 +35097,6 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
35101
35097
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35102
35098
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35103
35099
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35104
|
-
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35105
35100
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
35106
35101
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35107
35102
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
@@ -35181,8 +35176,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35181
35176
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35182
35177
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35183
35178
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35184
|
-
pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
|
|
35185
|
-
pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
|
|
35186
35179
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35187
35180
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35188
35181
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35413,7 +35406,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35413
35406
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35414
35407
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35415
35408
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35416
|
-
repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
|
|
35417
35409
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35418
35410
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35419
35411
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35450,7 +35442,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35450
35442
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35451
35443
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35452
35444
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35453
|
-
repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
|
|
35454
35445
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35455
35446
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35456
35447
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -37397,7 +37388,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37397
37388
|
})
|
|
37398
37389
|
}).json();
|
|
37399
37390
|
}
|
|
37400
|
-
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,
|
|
37391
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
37401
37392
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37402
37393
|
signal,
|
|
37403
37394
|
searchParams: buildSearchParams$2({
|
|
@@ -37418,7 +37409,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37418
37409
|
include_rates,
|
|
37419
37410
|
pinned_ids,
|
|
37420
37411
|
has_group,
|
|
37421
|
-
track_without_focus,
|
|
37422
37412
|
cf_filter,
|
|
37423
37413
|
include_custom_fields,
|
|
37424
37414
|
include_calendar_integration
|
|
@@ -37520,18 +37510,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
37520
37510
|
}
|
|
37521
37511
|
//#endregion
|
|
37522
37512
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37523
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, {
|
|
37513
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
37524
37514
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37525
37515
|
signal,
|
|
37526
37516
|
searchParams: buildSearchParams$2({
|
|
37527
|
-
include_task_counts,
|
|
37528
|
-
task_archived,
|
|
37529
|
-
task_recurring,
|
|
37530
|
-
task_state,
|
|
37531
|
-
task_source,
|
|
37532
|
-
task_assignee_user_id,
|
|
37533
|
-
task_assignee_team_id,
|
|
37534
|
-
task_name,
|
|
37535
37517
|
page,
|
|
37536
37518
|
per_page,
|
|
37537
37519
|
order_by,
|
|
@@ -37781,7 +37763,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37781
37763
|
}
|
|
37782
37764
|
//#endregion
|
|
37783
37765
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37784
|
-
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
|
|
37766
|
+
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) {
|
|
37785
37767
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37786
37768
|
signal,
|
|
37787
37769
|
searchParams: buildSearchParams$2({
|
|
@@ -37832,11 +37814,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37832
37814
|
include_assignees,
|
|
37833
37815
|
include_parent_matches,
|
|
37834
37816
|
disable_aggregations,
|
|
37835
|
-
cf_filter
|
|
37836
|
-
recurring_occurrences_after,
|
|
37837
|
-
max_recurring_occurrences_after,
|
|
37838
|
-
recurring_task_read,
|
|
37839
|
-
include_projected_occurrences
|
|
37817
|
+
cf_filter
|
|
37840
37818
|
})
|
|
37841
37819
|
}).json();
|
|
37842
37820
|
}
|
|
@@ -37911,17 +37889,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
37911
37889
|
})
|
|
37912
37890
|
}).json();
|
|
37913
37891
|
}
|
|
37914
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to,
|
|
37892
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
37915
37893
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
37916
37894
|
signal,
|
|
37917
37895
|
searchParams: buildSearchParams$2({
|
|
37918
37896
|
date_from,
|
|
37919
|
-
date_to
|
|
37920
|
-
skip_provider_refresh
|
|
37897
|
+
date_to
|
|
37921
37898
|
})
|
|
37922
37899
|
}).json();
|
|
37923
37900
|
}
|
|
37924
|
-
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees
|
|
37901
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
37925
37902
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37926
37903
|
signal,
|
|
37927
37904
|
searchParams: buildSearchParams$2({
|
|
@@ -37937,15 +37914,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37937
37914
|
assignee_team_id,
|
|
37938
37915
|
assignee_user_id,
|
|
37939
37916
|
tag_id,
|
|
37940
|
-
include_assignees
|
|
37941
|
-
recurring_occurrences_after,
|
|
37942
|
-
max_recurring_occurrences_after,
|
|
37943
|
-
recurring_task_read,
|
|
37944
|
-
include_projected_occurrences
|
|
37917
|
+
include_assignees
|
|
37945
37918
|
})
|
|
37946
37919
|
}).json();
|
|
37947
37920
|
}
|
|
37948
|
-
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
|
|
37921
|
+
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) {
|
|
37949
37922
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37950
37923
|
signal,
|
|
37951
37924
|
searchParams: buildSearchParams$2({
|
|
@@ -37990,11 +37963,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37990
37963
|
recurring_task_ids,
|
|
37991
37964
|
client_id,
|
|
37992
37965
|
include_assignees,
|
|
37993
|
-
cf_filter
|
|
37994
|
-
recurring_occurrences_after,
|
|
37995
|
-
max_recurring_occurrences_after,
|
|
37996
|
-
recurring_task_read,
|
|
37997
|
-
include_projected_occurrences
|
|
37966
|
+
cf_filter
|
|
37998
37967
|
})
|
|
37999
37968
|
}).json();
|
|
38000
37969
|
}
|
|
@@ -38049,12 +38018,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
38049
38018
|
})
|
|
38050
38019
|
}).json();
|
|
38051
38020
|
}
|
|
38052
|
-
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
38053
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
38054
|
-
signal,
|
|
38055
|
-
searchParams: buildSearchParams$2({ return_occurrence })
|
|
38056
|
-
}).json();
|
|
38057
|
-
}
|
|
38058
38021
|
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) {
|
|
38059
38022
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
38060
38023
|
signal,
|
|
@@ -38191,24 +38154,16 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
38191
38154
|
})
|
|
38192
38155
|
}).json();
|
|
38193
38156
|
}
|
|
38194
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
38157
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
38195
38158
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
38196
38159
|
signal,
|
|
38197
|
-
json: data
|
|
38198
|
-
searchParams: buildSearchParams$2({
|
|
38199
|
-
from_recurring_task_id,
|
|
38200
|
-
return_occurrence
|
|
38201
|
-
})
|
|
38160
|
+
json: data
|
|
38202
38161
|
}).json();
|
|
38203
38162
|
}
|
|
38204
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
38163
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
38205
38164
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
38206
38165
|
signal,
|
|
38207
|
-
json: data
|
|
38208
|
-
searchParams: buildSearchParams$2({
|
|
38209
|
-
from_recurring_task_id,
|
|
38210
|
-
return_occurrence
|
|
38211
|
-
})
|
|
38166
|
+
json: data
|
|
38212
38167
|
}).json();
|
|
38213
38168
|
}
|
|
38214
38169
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -38259,7 +38214,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
38259
38214
|
json: data
|
|
38260
38215
|
}).json();
|
|
38261
38216
|
}
|
|
38262
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id,
|
|
38217
|
+
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
|
|
38263
38218
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
38264
38219
|
signal,
|
|
38265
38220
|
searchParams: buildSearchParams$2({
|
|
@@ -38267,7 +38222,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38267
38222
|
date_to,
|
|
38268
38223
|
task_id,
|
|
38269
38224
|
status_id,
|
|
38270
|
-
project_id,
|
|
38271
38225
|
type,
|
|
38272
38226
|
order_by,
|
|
38273
38227
|
archived,
|
|
@@ -38291,33 +38245,19 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
38291
38245
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38292
38246
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38293
38247
|
}
|
|
38294
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
38248
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38295
38249
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38296
38250
|
signal,
|
|
38297
|
-
json: data
|
|
38298
|
-
searchParams: buildSearchParams$2({
|
|
38299
|
-
from_recurring_task_id,
|
|
38300
|
-
return_occurrence
|
|
38301
|
-
})
|
|
38251
|
+
json: data
|
|
38302
38252
|
}).json();
|
|
38303
38253
|
}
|
|
38304
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
38305
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38306
|
-
signal,
|
|
38307
|
-
searchParams: buildSearchParams$2({
|
|
38308
|
-
from_recurring_task_id,
|
|
38309
|
-
return_occurrence
|
|
38310
|
-
})
|
|
38311
|
-
}).json();
|
|
38254
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38255
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38312
38256
|
}
|
|
38313
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
38257
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38314
38258
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38315
38259
|
signal,
|
|
38316
|
-
json: data
|
|
38317
|
-
searchParams: buildSearchParams$2({
|
|
38318
|
-
from_recurring_task_id,
|
|
38319
|
-
return_occurrence
|
|
38320
|
-
})
|
|
38260
|
+
json: data
|
|
38321
38261
|
}).json();
|
|
38322
38262
|
}
|
|
38323
38263
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -42214,15 +42154,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
42214
42154
|
}
|
|
42215
42155
|
//#endregion
|
|
42216
42156
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
42217
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id,
|
|
42157
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
42218
42158
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
42219
42159
|
signal,
|
|
42220
42160
|
searchParams: buildSearchParams$2({
|
|
42221
42161
|
workspace_id,
|
|
42222
42162
|
entity_type,
|
|
42223
42163
|
entity_id,
|
|
42224
|
-
project_id,
|
|
42225
|
-
custom_field_id,
|
|
42226
42164
|
action,
|
|
42227
42165
|
user_id,
|
|
42228
42166
|
page_size,
|
|
@@ -42231,14 +42169,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
42231
42169
|
})
|
|
42232
42170
|
}).json();
|
|
42233
42171
|
}
|
|
42234
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id,
|
|
42172
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
42235
42173
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
42236
42174
|
signal,
|
|
42237
42175
|
searchParams: buildSearchParams$2({
|
|
42238
42176
|
entity_type,
|
|
42239
42177
|
entity_id,
|
|
42240
|
-
project_id,
|
|
42241
|
-
custom_field_id,
|
|
42242
42178
|
action,
|
|
42243
42179
|
user_id,
|
|
42244
42180
|
page_size,
|
|
@@ -42391,14 +42327,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42391
42327
|
}
|
|
42392
42328
|
//#endregion
|
|
42393
42329
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42394
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date,
|
|
42330
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
42395
42331
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42396
42332
|
signal,
|
|
42397
42333
|
searchParams: buildSearchParams$2({
|
|
42334
|
+
user_id,
|
|
42398
42335
|
start_date,
|
|
42399
42336
|
end_date,
|
|
42400
|
-
user_id,
|
|
42401
|
-
team_id,
|
|
42402
42337
|
private: private_,
|
|
42403
42338
|
task_source,
|
|
42404
42339
|
unit,
|
|
@@ -42458,15 +42393,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
42458
42393
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42459
42394
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
42460
42395
|
}
|
|
42461
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42462
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
42463
|
-
}
|
|
42464
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
42465
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
42466
|
-
signal,
|
|
42467
|
-
json: data
|
|
42468
|
-
}).json();
|
|
42469
|
-
}
|
|
42470
42396
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42471
42397
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
42472
42398
|
signal,
|
|
@@ -42730,7 +42656,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42730
42656
|
}
|
|
42731
42657
|
//#endregion
|
|
42732
42658
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
42733
|
-
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts,
|
|
42659
|
+
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, cf_filter } = {}, signal) {
|
|
42734
42660
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42735
42661
|
signal,
|
|
42736
42662
|
searchParams: buildSearchParams$2({
|
|
@@ -42756,7 +42682,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42756
42682
|
user_id,
|
|
42757
42683
|
only_me,
|
|
42758
42684
|
include_drafts,
|
|
42759
|
-
include_recurring_series,
|
|
42760
42685
|
cf_filter
|
|
42761
42686
|
})
|
|
42762
42687
|
}).json();
|
|
@@ -42775,6 +42700,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
42775
42700
|
json: data
|
|
42776
42701
|
}).json();
|
|
42777
42702
|
}
|
|
42703
|
+
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
42704
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
42705
|
+
}
|
|
42778
42706
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
42779
42707
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
42780
42708
|
}
|
|
@@ -43078,10 +43006,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
43078
43006
|
}
|
|
43079
43007
|
//#endregion
|
|
43080
43008
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
43081
|
-
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter
|
|
43009
|
+
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter }, signal) {
|
|
43082
43010
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
43083
43011
|
signal,
|
|
43084
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43085
43012
|
searchParams: buildSearchParams$2({
|
|
43086
43013
|
project_id,
|
|
43087
43014
|
source,
|
|
@@ -43110,18 +43037,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
43110
43037
|
min_days,
|
|
43111
43038
|
include_drafts,
|
|
43112
43039
|
cf_filter,
|
|
43113
|
-
user_cf_filter
|
|
43114
|
-
recurring_occurrences_after,
|
|
43115
|
-
max_recurring_occurrences_after,
|
|
43116
|
-
recurring_task_read,
|
|
43117
|
-
include_projected_occurrences
|
|
43040
|
+
user_cf_filter
|
|
43118
43041
|
})
|
|
43119
43042
|
}).json();
|
|
43120
43043
|
}
|
|
43121
|
-
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
|
|
43044
|
+
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) {
|
|
43122
43045
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
43123
43046
|
signal,
|
|
43124
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43125
43047
|
searchParams: buildSearchParams$2({
|
|
43126
43048
|
team_id,
|
|
43127
43049
|
project_id,
|
|
@@ -43150,18 +43072,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
43150
43072
|
min_days,
|
|
43151
43073
|
include_drafts,
|
|
43152
43074
|
cf_filter,
|
|
43153
|
-
user_cf_filter
|
|
43154
|
-
recurring_occurrences_after,
|
|
43155
|
-
max_recurring_occurrences_after,
|
|
43156
|
-
recurring_task_read,
|
|
43157
|
-
include_projected_occurrences
|
|
43075
|
+
user_cf_filter
|
|
43158
43076
|
})
|
|
43159
43077
|
}).json();
|
|
43160
43078
|
}
|
|
43161
|
-
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,
|
|
43079
|
+
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) {
|
|
43162
43080
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
43163
43081
|
signal,
|
|
43164
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43165
43082
|
searchParams: buildSearchParams$2({
|
|
43166
43083
|
source,
|
|
43167
43084
|
priority,
|
|
@@ -43191,10 +43108,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
43191
43108
|
include_drafts,
|
|
43192
43109
|
cf_filter,
|
|
43193
43110
|
user_cf_filter,
|
|
43194
|
-
recurring_occurrences_after,
|
|
43195
|
-
max_recurring_occurrences_after,
|
|
43196
|
-
recurring_task_read,
|
|
43197
|
-
include_projected_occurrences,
|
|
43198
43111
|
page,
|
|
43199
43112
|
per_page,
|
|
43200
43113
|
order_by
|
|
@@ -43386,19 +43299,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
43386
43299
|
json: data
|
|
43387
43300
|
}).json();
|
|
43388
43301
|
}
|
|
43389
|
-
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
43390
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
43391
|
-
signal,
|
|
43392
|
-
searchParams: buildSearchParams$2({
|
|
43393
|
-
date_from,
|
|
43394
|
-
date_to,
|
|
43395
|
-
setup_id,
|
|
43396
|
-
user_account_ids,
|
|
43397
|
-
approver_user_account_ids,
|
|
43398
|
-
team_ids
|
|
43399
|
-
})
|
|
43400
|
-
}).json();
|
|
43401
|
-
}
|
|
43402
43302
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
43403
43303
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
43404
43304
|
}
|
|
@@ -43442,21 +43342,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
43442
43342
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
43443
43343
|
}
|
|
43444
43344
|
//#endregion
|
|
43445
|
-
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
43446
|
-
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
43447
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
43448
|
-
signal,
|
|
43449
|
-
json: data
|
|
43450
|
-
}).json();
|
|
43451
|
-
}
|
|
43452
|
-
//#endregion
|
|
43453
43345
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
43454
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
43455
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
43456
|
-
}
|
|
43457
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
43458
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
43459
|
-
}
|
|
43460
43346
|
async function getUserSettings(httpClient, signal) {
|
|
43461
43347
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
43462
43348
|
}
|
|
@@ -43696,7 +43582,6 @@ const generatedFocusOperations = [
|
|
|
43696
43582
|
mcp: { entityTool: "audit-log" },
|
|
43697
43583
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43698
43584
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43699
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43700
43585
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43701
43586
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43702
43587
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43704,7 +43589,6 @@ const generatedFocusOperations = [
|
|
|
43704
43589
|
from: /* @__PURE__ */ string$1(),
|
|
43705
43590
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43706
43591
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43707
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43708
43592
|
to: /* @__PURE__ */ string$1(),
|
|
43709
43593
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43710
43594
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -43738,7 +43622,6 @@ const generatedFocusOperations = [
|
|
|
43738
43622
|
mcp: { entityTool: "audit-log" },
|
|
43739
43623
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43740
43624
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43741
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43742
43625
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43743
43626
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43744
43627
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43746,7 +43629,6 @@ const generatedFocusOperations = [
|
|
|
43746
43629
|
from: /* @__PURE__ */ string$1(),
|
|
43747
43630
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43748
43631
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43749
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43750
43632
|
to: /* @__PURE__ */ string$1(),
|
|
43751
43633
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43752
43634
|
}),
|
|
@@ -43786,7 +43668,6 @@ const generatedFocusOperations = [
|
|
|
43786
43668
|
private_: /* @__PURE__ */ unknown$1(),
|
|
43787
43669
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43788
43670
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
43789
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
43790
43671
|
unit: /* @__PURE__ */ unknown$1(),
|
|
43791
43672
|
user_id: /* @__PURE__ */ number$2()
|
|
43792
43673
|
}),
|
|
@@ -44227,33 +44108,6 @@ const generatedFocusOperations = [
|
|
|
44227
44108
|
]));
|
|
44228
44109
|
}
|
|
44229
44110
|
},
|
|
44230
|
-
{
|
|
44231
|
-
id: "focus.custom-fields.get-allowed-users",
|
|
44232
|
-
family: "focus",
|
|
44233
|
-
resource: "custom-fields",
|
|
44234
|
-
action: "get-allowed-users",
|
|
44235
|
-
title: "Get Allowed Users Custom Fields",
|
|
44236
|
-
description: "Get Allowed Users Custom Fields.",
|
|
44237
|
-
safety: "read",
|
|
44238
|
-
destructive: false,
|
|
44239
|
-
cli: {
|
|
44240
|
-
group: ["custom-fields"],
|
|
44241
|
-
command: "get-allowed-users",
|
|
44242
|
-
interactive: "available"
|
|
44243
|
-
},
|
|
44244
|
-
mcp: { entityTool: "custom-fields" },
|
|
44245
|
-
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
44246
|
-
execute: (input, { client }) => {
|
|
44247
|
-
const data = input;
|
|
44248
|
-
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
44249
|
-
client.httpClient,
|
|
44250
|
-
client.organizationId,
|
|
44251
|
-
client.workspaceIdNumber,
|
|
44252
|
-
data.custom_field_id,
|
|
44253
|
-
void 0
|
|
44254
|
-
]));
|
|
44255
|
-
}
|
|
44256
|
-
},
|
|
44257
44111
|
{
|
|
44258
44112
|
id: "focus.custom-fields.list",
|
|
44259
44113
|
family: "focus",
|
|
@@ -44423,37 +44277,6 @@ const generatedFocusOperations = [
|
|
|
44423
44277
|
]));
|
|
44424
44278
|
}
|
|
44425
44279
|
},
|
|
44426
|
-
{
|
|
44427
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
44428
|
-
family: "focus",
|
|
44429
|
-
resource: "custom-fields",
|
|
44430
|
-
action: "replace-custom-field-allowed-users",
|
|
44431
|
-
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
44432
|
-
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
44433
|
-
safety: "update",
|
|
44434
|
-
destructive: false,
|
|
44435
|
-
cli: {
|
|
44436
|
-
group: ["custom-fields"],
|
|
44437
|
-
command: "replace-custom-field-allowed-users",
|
|
44438
|
-
interactive: "default"
|
|
44439
|
-
},
|
|
44440
|
-
mcp: { entityTool: "custom-fields" },
|
|
44441
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44442
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
44443
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
44444
|
-
}),
|
|
44445
|
-
execute: (input, { client }) => {
|
|
44446
|
-
const data = input;
|
|
44447
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
44448
|
-
client.httpClient,
|
|
44449
|
-
client.organizationId,
|
|
44450
|
-
client.workspaceIdNumber,
|
|
44451
|
-
data.custom_field_id,
|
|
44452
|
-
data.payload ?? data.data ?? data,
|
|
44453
|
-
void 0
|
|
44454
|
-
]));
|
|
44455
|
-
}
|
|
44456
|
-
},
|
|
44457
44280
|
{
|
|
44458
44281
|
id: "focus.custom-fields.update",
|
|
44459
44282
|
family: "focus",
|
|
@@ -44600,7 +44423,13 @@ const generatedFocusOperations = [
|
|
|
44600
44423
|
},
|
|
44601
44424
|
mcp: { entityTool: "goals" },
|
|
44602
44425
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44426
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
44603
44427
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44428
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44429
|
+
icon: /* @__PURE__ */ string$1(),
|
|
44430
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44431
|
+
name: /* @__PURE__ */ string$1(),
|
|
44432
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44604
44433
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44605
44434
|
"daily",
|
|
44606
44435
|
"weekly",
|
|
@@ -44608,18 +44437,12 @@ const generatedFocusOperations = [
|
|
|
44608
44437
|
"monthly"
|
|
44609
44438
|
]),
|
|
44610
44439
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44440
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44611
44441
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
44612
|
-
|
|
44442
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44443
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44613
44444
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44614
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44615
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44616
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44617
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44618
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44619
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44620
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44621
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44622
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44445
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44623
44446
|
}) }),
|
|
44624
44447
|
execute: (input, { client }) => {
|
|
44625
44448
|
const data = input;
|
|
@@ -44725,6 +44548,13 @@ const generatedFocusOperations = [
|
|
|
44725
44548
|
},
|
|
44726
44549
|
mcp: { entityTool: "goals" },
|
|
44727
44550
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44551
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
44552
|
+
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44553
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44554
|
+
icon: /* @__PURE__ */ string$1(),
|
|
44555
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44556
|
+
name: /* @__PURE__ */ string$1(),
|
|
44557
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44728
44558
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44729
44559
|
"daily",
|
|
44730
44560
|
"weekly",
|
|
@@ -44732,19 +44562,12 @@ const generatedFocusOperations = [
|
|
|
44732
44562
|
"monthly"
|
|
44733
44563
|
]),
|
|
44734
44564
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44735
|
-
|
|
44565
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44566
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
44567
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44568
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44736
44569
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44737
|
-
|
|
44738
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44739
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44740
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44741
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44742
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44743
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44744
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44745
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44746
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44747
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44570
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44748
44571
|
}) }),
|
|
44749
44572
|
execute: (input, { client }) => {
|
|
44750
44573
|
const data = input;
|
|
@@ -45711,17 +45534,9 @@ const generatedFocusOperations = [
|
|
|
45711
45534
|
mcp: { entityTool: "projects" },
|
|
45712
45535
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45713
45536
|
payload: /* @__PURE__ */ looseObject({
|
|
45714
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45715
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
45716
45537
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45717
45538
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45718
45539
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45719
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
45720
|
-
"expire",
|
|
45721
|
-
"carry_all",
|
|
45722
|
-
"carry_over"
|
|
45723
|
-
])),
|
|
45724
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45725
45540
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
45726
45541
|
}),
|
|
45727
45542
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -46165,7 +45980,6 @@ const generatedFocusOperations = [
|
|
|
46165
45980
|
group: /* @__PURE__ */ string$1(),
|
|
46166
45981
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46167
45982
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46168
|
-
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46169
45983
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46170
45984
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46171
45985
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -46268,6 +46082,29 @@ const generatedFocusOperations = [
|
|
|
46268
46082
|
]));
|
|
46269
46083
|
}
|
|
46270
46084
|
},
|
|
46085
|
+
{
|
|
46086
|
+
id: "focus.projects.margin-targets-clear-workspace",
|
|
46087
|
+
family: "focus",
|
|
46088
|
+
resource: "projects",
|
|
46089
|
+
action: "margin-targets-clear-workspace",
|
|
46090
|
+
title: "Margin Targets Clear Workspace Projects",
|
|
46091
|
+
description: "Margin Targets Clear Workspace Projects.",
|
|
46092
|
+
safety: "delete",
|
|
46093
|
+
destructive: true,
|
|
46094
|
+
cli: {
|
|
46095
|
+
group: ["projects", "margin-targets"],
|
|
46096
|
+
command: "clear-workspace",
|
|
46097
|
+
interactive: "default"
|
|
46098
|
+
},
|
|
46099
|
+
mcp: { entityTool: "projects" },
|
|
46100
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
46101
|
+
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
46102
|
+
client.httpClient,
|
|
46103
|
+
client.organizationId,
|
|
46104
|
+
client.workspaceIdNumber,
|
|
46105
|
+
void 0
|
|
46106
|
+
]))
|
|
46107
|
+
},
|
|
46271
46108
|
{
|
|
46272
46109
|
id: "focus.projects.margin-targets-get",
|
|
46273
46110
|
family: "focus",
|
|
@@ -48670,7 +48507,7 @@ const generatedFocusOperations = [
|
|
|
48670
48507
|
cli: {
|
|
48671
48508
|
group: ["reportschedules"],
|
|
48672
48509
|
command: "upsert-saved-view-schedule",
|
|
48673
|
-
interactive: "
|
|
48510
|
+
interactive: "default"
|
|
48674
48511
|
},
|
|
48675
48512
|
mcp: { entityTool: "reportschedules" },
|
|
48676
48513
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -48681,10 +48518,8 @@ const generatedFocusOperations = [
|
|
|
48681
48518
|
"weekly",
|
|
48682
48519
|
"monthly"
|
|
48683
48520
|
]),
|
|
48684
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48685
48521
|
time: /* @__PURE__ */ string$1(),
|
|
48686
48522
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48687
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48688
48523
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48689
48524
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48690
48525
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -50233,37 +50068,6 @@ const generatedFocusOperations = [
|
|
|
50233
50068
|
return client.createTask(data);
|
|
50234
50069
|
}
|
|
50235
50070
|
},
|
|
50236
|
-
{
|
|
50237
|
-
id: "focus.tasks.create-recurring-occurrence",
|
|
50238
|
-
family: "focus",
|
|
50239
|
-
resource: "tasks",
|
|
50240
|
-
action: "create-recurring-occurrence",
|
|
50241
|
-
title: "Create Recurring Occurrence Tasks",
|
|
50242
|
-
description: "Create Recurring Occurrence Tasks.",
|
|
50243
|
-
safety: "create",
|
|
50244
|
-
destructive: false,
|
|
50245
|
-
cli: {
|
|
50246
|
-
group: ["tasks"],
|
|
50247
|
-
command: "create-recurring-occurrence",
|
|
50248
|
-
interactive: "default"
|
|
50249
|
-
},
|
|
50250
|
-
mcp: { entityTool: "tasks" },
|
|
50251
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50252
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50253
|
-
task_id: /* @__PURE__ */ number$2()
|
|
50254
|
-
}),
|
|
50255
|
-
execute: (input, { client }) => {
|
|
50256
|
-
const data = input;
|
|
50257
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
50258
|
-
client.httpClient,
|
|
50259
|
-
client.organizationId,
|
|
50260
|
-
client.workspaceIdNumber,
|
|
50261
|
-
data.task_id,
|
|
50262
|
-
data.return_occurrence,
|
|
50263
|
-
void 0
|
|
50264
|
-
]));
|
|
50265
|
-
}
|
|
50266
|
-
},
|
|
50267
50071
|
{
|
|
50268
50072
|
id: "focus.tasks.delete",
|
|
50269
50073
|
family: "focus",
|
|
@@ -50511,13 +50315,9 @@ const generatedFocusOperations = [
|
|
|
50511
50315
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50512
50316
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50513
50317
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50514
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50515
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50516
50318
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50517
50319
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50518
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50519
50320
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50520
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50521
50321
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50522
50322
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50523
50323
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -50569,9 +50369,7 @@ const generatedFocusOperations = [
|
|
|
50569
50369
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50570
50370
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50571
50371
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50572
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50573
50372
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50574
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50575
50373
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50576
50374
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50577
50375
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -50580,9 +50378,7 @@ const generatedFocusOperations = [
|
|
|
50580
50378
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50581
50379
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50582
50380
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50583
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50584
50381
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50585
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50586
50382
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50587
50383
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50588
50384
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50720,10 +50516,8 @@ const generatedFocusOperations = [
|
|
|
50720
50516
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50721
50517
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50722
50518
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50723
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50724
50519
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50725
50520
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50726
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50727
50521
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50728
50522
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50729
50523
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50732,8 +50526,6 @@ const generatedFocusOperations = [
|
|
|
50732
50526
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50733
50527
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50734
50528
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50735
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50736
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50737
50529
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50738
50530
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50739
50531
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50742,8 +50534,7 @@ const generatedFocusOperations = [
|
|
|
50742
50534
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50743
50535
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50744
50536
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50745
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50746
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50537
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50747
50538
|
}),
|
|
50748
50539
|
execute: (input, { client }) => {
|
|
50749
50540
|
const data = input;
|
|
@@ -50785,17 +50576,13 @@ const generatedFocusOperations = [
|
|
|
50785
50576
|
group_id: /* @__PURE__ */ number$2(),
|
|
50786
50577
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50787
50578
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
50788
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
50789
50579
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50790
50580
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
50791
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50792
50581
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
50793
50582
|
name: /* @__PURE__ */ unknown$1(),
|
|
50794
50583
|
priority: /* @__PURE__ */ unknown$1(),
|
|
50795
50584
|
private_: /* @__PURE__ */ unknown$1(),
|
|
50796
50585
|
project_id: /* @__PURE__ */ number$2(),
|
|
50797
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50798
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
50799
50586
|
source: /* @__PURE__ */ unknown$1(),
|
|
50800
50587
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50801
50588
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -50804,8 +50591,7 @@ const generatedFocusOperations = [
|
|
|
50804
50591
|
tag_id: /* @__PURE__ */ number$2(),
|
|
50805
50592
|
team_id: /* @__PURE__ */ number$2(),
|
|
50806
50593
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50807
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
50808
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
50594
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
50809
50595
|
}),
|
|
50810
50596
|
execute: (input, { client }) => {
|
|
50811
50597
|
const data = input;
|
|
@@ -50846,17 +50632,13 @@ const generatedFocusOperations = [
|
|
|
50846
50632
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50847
50633
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50848
50634
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50849
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50850
50635
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50851
50636
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50852
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50853
50637
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50854
50638
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50855
50639
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50856
50640
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50857
50641
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50858
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50859
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50860
50642
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50861
50643
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50862
50644
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50865,8 +50647,7 @@ const generatedFocusOperations = [
|
|
|
50865
50647
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50866
50648
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50867
50649
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50868
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50869
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50650
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50870
50651
|
}),
|
|
50871
50652
|
execute: (input, { client }) => {
|
|
50872
50653
|
const data = input;
|
|
@@ -51137,8 +50918,7 @@ const generatedFocusOperations = [
|
|
|
51137
50918
|
mcp: { entityTool: "tasks" },
|
|
51138
50919
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51139
50920
|
date_from: /* @__PURE__ */ string$1(),
|
|
51140
|
-
date_to: /* @__PURE__ */ string$1()
|
|
51141
|
-
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50921
|
+
date_to: /* @__PURE__ */ string$1()
|
|
51142
50922
|
}),
|
|
51143
50923
|
execute: (input, { client }) => {
|
|
51144
50924
|
const data = input;
|
|
@@ -51148,7 +50928,6 @@ const generatedFocusOperations = [
|
|
|
51148
50928
|
client.workspaceIdNumber,
|
|
51149
50929
|
data.date_from,
|
|
51150
50930
|
data.date_to,
|
|
51151
|
-
data.skip_provider_refresh,
|
|
51152
50931
|
void 0
|
|
51153
50932
|
]));
|
|
51154
50933
|
}
|
|
@@ -51735,8 +51514,7 @@ const generatedFocusOperations = [
|
|
|
51735
51514
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
51736
51515
|
"project",
|
|
51737
51516
|
"task",
|
|
51738
|
-
"description"
|
|
51739
|
-
"tags"
|
|
51517
|
+
"description"
|
|
51740
51518
|
]) })),
|
|
51741
51519
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51742
51520
|
}) }),
|
|
@@ -51766,7 +51544,6 @@ const generatedFocusOperations = [
|
|
|
51766
51544
|
},
|
|
51767
51545
|
mcp: { entityTool: "time-entries" },
|
|
51768
51546
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51769
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51770
51547
|
payload: /* @__PURE__ */ looseObject({
|
|
51771
51548
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51772
51549
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -51777,13 +51554,11 @@ const generatedFocusOperations = [
|
|
|
51777
51554
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51778
51555
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51779
51556
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51780
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51781
51557
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51782
51558
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51783
51559
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51784
51560
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51785
51561
|
}),
|
|
51786
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51787
51562
|
task_id: /* @__PURE__ */ number$2()
|
|
51788
51563
|
}),
|
|
51789
51564
|
execute: (input, { client }) => {
|
|
@@ -51794,8 +51569,6 @@ const generatedFocusOperations = [
|
|
|
51794
51569
|
client.workspaceIdNumber,
|
|
51795
51570
|
data.task_id,
|
|
51796
51571
|
data.payload ?? data.data ?? data,
|
|
51797
|
-
data.from_recurring_task_id,
|
|
51798
|
-
data.return_occurrence,
|
|
51799
51572
|
void 0
|
|
51800
51573
|
]));
|
|
51801
51574
|
}
|
|
@@ -51815,26 +51588,21 @@ const generatedFocusOperations = [
|
|
|
51815
51588
|
interactive: "default"
|
|
51816
51589
|
},
|
|
51817
51590
|
mcp: { entityTool: "time-entries" },
|
|
51818
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51819
|
-
|
|
51820
|
-
|
|
51821
|
-
|
|
51822
|
-
|
|
51823
|
-
|
|
51824
|
-
|
|
51825
|
-
|
|
51826
|
-
|
|
51827
|
-
|
|
51828
|
-
|
|
51829
|
-
|
|
51830
|
-
|
|
51831
|
-
|
|
51832
|
-
|
|
51833
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51834
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51835
|
-
}),
|
|
51836
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51837
|
-
}),
|
|
51591
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
51592
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51593
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51594
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51595
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51596
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51597
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51598
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51599
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51600
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51601
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51602
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51603
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51604
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51605
|
+
}) }),
|
|
51838
51606
|
execute: (input, { client }) => {
|
|
51839
51607
|
const data = input;
|
|
51840
51608
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -51842,8 +51610,6 @@ const generatedFocusOperations = [
|
|
|
51842
51610
|
client.organizationId,
|
|
51843
51611
|
client.workspaceIdNumber,
|
|
51844
51612
|
data.payload ?? data.data ?? data,
|
|
51845
|
-
data.from_recurring_task_id,
|
|
51846
|
-
data.return_occurrence,
|
|
51847
51613
|
void 0
|
|
51848
51614
|
]));
|
|
51849
51615
|
}
|
|
@@ -51863,11 +51629,7 @@ const generatedFocusOperations = [
|
|
|
51863
51629
|
interactive: "default"
|
|
51864
51630
|
},
|
|
51865
51631
|
mcp: { entityTool: "time-entries" },
|
|
51866
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51867
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51868
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51869
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
51870
|
-
}),
|
|
51632
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
51871
51633
|
execute: (input, { client }) => {
|
|
51872
51634
|
const data = input;
|
|
51873
51635
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -51875,8 +51637,6 @@ const generatedFocusOperations = [
|
|
|
51875
51637
|
client.organizationId,
|
|
51876
51638
|
client.workspaceIdNumber,
|
|
51877
51639
|
data.time_entry_id,
|
|
51878
|
-
data.from_recurring_task_id,
|
|
51879
|
-
data.return_occurrence,
|
|
51880
51640
|
void 0
|
|
51881
51641
|
]));
|
|
51882
51642
|
}
|
|
@@ -51957,7 +51717,6 @@ const generatedFocusOperations = [
|
|
|
51957
51717
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
51958
51718
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
51959
51719
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
51960
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
51961
51720
|
status_id: /* @__PURE__ */ number$2(),
|
|
51962
51721
|
task_id: /* @__PURE__ */ number$2(),
|
|
51963
51722
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -52134,14 +51893,12 @@ const generatedFocusOperations = [
|
|
|
52134
51893
|
},
|
|
52135
51894
|
mcp: { entityTool: "time-entries" },
|
|
52136
51895
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52137
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52138
51896
|
payload: /* @__PURE__ */ looseObject({
|
|
52139
51897
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52140
51898
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52141
51899
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52142
51900
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
52143
51901
|
}),
|
|
52144
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52145
51902
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52146
51903
|
}),
|
|
52147
51904
|
execute: (input, { client }) => {
|
|
@@ -52152,8 +51909,6 @@ const generatedFocusOperations = [
|
|
|
52152
51909
|
client.workspaceIdNumber,
|
|
52153
51910
|
data.time_entry_id,
|
|
52154
51911
|
data.payload ?? data.data ?? data,
|
|
52155
|
-
data.from_recurring_task_id,
|
|
52156
|
-
data.return_occurrence,
|
|
52157
51912
|
void 0
|
|
52158
51913
|
]));
|
|
52159
51914
|
}
|
|
@@ -52411,7 +52166,6 @@ const generatedFocusOperations = [
|
|
|
52411
52166
|
},
|
|
52412
52167
|
mcp: { entityTool: "time-entries" },
|
|
52413
52168
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52414
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52415
52169
|
payload: /* @__PURE__ */ looseObject({
|
|
52416
52170
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52417
52171
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -52424,7 +52178,6 @@ const generatedFocusOperations = [
|
|
|
52424
52178
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52425
52179
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52426
52180
|
}),
|
|
52427
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52428
52181
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52429
52182
|
}),
|
|
52430
52183
|
execute: (input, { client }) => {
|
|
@@ -52435,8 +52188,6 @@ const generatedFocusOperations = [
|
|
|
52435
52188
|
client.workspaceIdNumber,
|
|
52436
52189
|
data.time_entry_id,
|
|
52437
52190
|
data.payload ?? data.data ?? data,
|
|
52438
|
-
data.from_recurring_task_id,
|
|
52439
|
-
data.return_occurrence,
|
|
52440
52191
|
void 0
|
|
52441
52192
|
]));
|
|
52442
52193
|
}
|
|
@@ -52952,40 +52703,6 @@ const generatedFocusOperations = [
|
|
|
52952
52703
|
]));
|
|
52953
52704
|
}
|
|
52954
52705
|
},
|
|
52955
|
-
{
|
|
52956
|
-
id: "focus.timesheets.get-status-counts",
|
|
52957
|
-
family: "focus",
|
|
52958
|
-
resource: "timesheets",
|
|
52959
|
-
action: "get-status-counts",
|
|
52960
|
-
title: "Get Status Counts Timesheets",
|
|
52961
|
-
description: "Get Status Counts Timesheets.",
|
|
52962
|
-
safety: "read",
|
|
52963
|
-
destructive: false,
|
|
52964
|
-
cli: {
|
|
52965
|
-
group: ["timesheets"],
|
|
52966
|
-
command: "get-status-counts",
|
|
52967
|
-
interactive: "hidden"
|
|
52968
|
-
},
|
|
52969
|
-
mcp: { entityTool: "timesheets" },
|
|
52970
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52971
|
-
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
52972
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
52973
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
52974
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
52975
|
-
team_ids: /* @__PURE__ */ unknown$1(),
|
|
52976
|
-
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
52977
|
-
}),
|
|
52978
|
-
execute: (input, { client }) => {
|
|
52979
|
-
const data = input;
|
|
52980
|
-
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
52981
|
-
client.httpClient,
|
|
52982
|
-
client.organizationId,
|
|
52983
|
-
client.workspaceIdNumber,
|
|
52984
|
-
data,
|
|
52985
|
-
void 0
|
|
52986
|
-
]));
|
|
52987
|
-
}
|
|
52988
|
-
},
|
|
52989
52706
|
{
|
|
52990
52707
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
52991
52708
|
family: "focus",
|
|
@@ -53535,33 +53252,6 @@ const generatedFocusOperations = [
|
|
|
53535
53252
|
]));
|
|
53536
53253
|
}
|
|
53537
53254
|
},
|
|
53538
|
-
{
|
|
53539
|
-
id: "focus.track-team-invites.post",
|
|
53540
|
-
family: "focus",
|
|
53541
|
-
resource: "track-team-invites",
|
|
53542
|
-
action: "post",
|
|
53543
|
-
title: "Post Track Team Invites",
|
|
53544
|
-
description: "Post Track Team Invites.",
|
|
53545
|
-
safety: "create",
|
|
53546
|
-
destructive: false,
|
|
53547
|
-
cli: {
|
|
53548
|
-
group: ["track-team-invites"],
|
|
53549
|
-
command: "post",
|
|
53550
|
-
interactive: "default"
|
|
53551
|
-
},
|
|
53552
|
-
mcp: { entityTool: "track-team-invites" },
|
|
53553
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
53554
|
-
execute: (input, { client }) => {
|
|
53555
|
-
const data = input;
|
|
53556
|
-
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
53557
|
-
client.httpClient,
|
|
53558
|
-
client.organizationId,
|
|
53559
|
-
client.workspaceIdNumber,
|
|
53560
|
-
data.payload ?? data.data ?? data,
|
|
53561
|
-
void 0
|
|
53562
|
-
]));
|
|
53563
|
-
}
|
|
53564
|
-
},
|
|
53565
53255
|
{
|
|
53566
53256
|
id: "focus.users.list",
|
|
53567
53257
|
family: "focus",
|
|
@@ -53583,56 +53273,6 @@ const generatedFocusOperations = [
|
|
|
53583
53273
|
return client.listOrgUsers(data);
|
|
53584
53274
|
}
|
|
53585
53275
|
},
|
|
53586
|
-
{
|
|
53587
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
53588
|
-
family: "focus",
|
|
53589
|
-
resource: "users",
|
|
53590
|
-
action: "settings-email-unsubscribe",
|
|
53591
|
-
title: "Settings Email Unsubscribe Users",
|
|
53592
|
-
description: "Settings Email Unsubscribe Users.",
|
|
53593
|
-
safety: "update",
|
|
53594
|
-
destructive: false,
|
|
53595
|
-
cli: {
|
|
53596
|
-
group: ["users", "settings"],
|
|
53597
|
-
command: "email-unsubscribe",
|
|
53598
|
-
interactive: "default"
|
|
53599
|
-
},
|
|
53600
|
-
mcp: { entityTool: "users" },
|
|
53601
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53602
|
-
execute: (input, { client }) => {
|
|
53603
|
-
const data = input;
|
|
53604
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
53605
|
-
client.httpClient,
|
|
53606
|
-
data.token,
|
|
53607
|
-
void 0
|
|
53608
|
-
]));
|
|
53609
|
-
}
|
|
53610
|
-
},
|
|
53611
|
-
{
|
|
53612
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
53613
|
-
family: "focus",
|
|
53614
|
-
resource: "users",
|
|
53615
|
-
action: "settings-email-unsubscribe-page",
|
|
53616
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
53617
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
53618
|
-
safety: "read",
|
|
53619
|
-
destructive: false,
|
|
53620
|
-
cli: {
|
|
53621
|
-
group: ["users", "settings"],
|
|
53622
|
-
command: "email-unsubscribe-page",
|
|
53623
|
-
interactive: "available"
|
|
53624
|
-
},
|
|
53625
|
-
mcp: { entityTool: "users" },
|
|
53626
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53627
|
-
execute: (input, { client }) => {
|
|
53628
|
-
const data = input;
|
|
53629
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
53630
|
-
client.httpClient,
|
|
53631
|
-
data.token,
|
|
53632
|
-
void 0
|
|
53633
|
-
]));
|
|
53634
|
-
}
|
|
53635
|
-
},
|
|
53636
53276
|
{
|
|
53637
53277
|
id: "focus.users.settings-list",
|
|
53638
53278
|
family: "focus",
|
|
@@ -53694,9 +53334,6 @@ const generatedFocusOperations = [
|
|
|
53694
53334
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53695
53335
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53696
53336
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53697
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53698
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53699
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53700
53337
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53701
53338
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53702
53339
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -55240,7 +54877,7 @@ function registerWorkspaceTools(server) {
|
|
|
55240
54877
|
//#region src/package-version.ts
|
|
55241
54878
|
function mcpPackageVersion() {
|
|
55242
54879
|
try {
|
|
55243
|
-
return "1.11.
|
|
54880
|
+
return "1.11.44";
|
|
55244
54881
|
} catch {
|
|
55245
54882
|
return "unknown";
|
|
55246
54883
|
}
|
|
@@ -55415,7 +55052,7 @@ import_main.default.config({
|
|
|
55415
55052
|
quiet: true,
|
|
55416
55053
|
ignore: ["MISSING_ENV_FILE"]
|
|
55417
55054
|
});
|
|
55418
|
-
const packageVersion = "1.11.
|
|
55055
|
+
const packageVersion = "1.11.44";
|
|
55419
55056
|
function resolvePublicUrls() {
|
|
55420
55057
|
return {
|
|
55421
55058
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55480,4 +55117,4 @@ function bootstrapServer(options = {}) {
|
|
|
55480
55117
|
//#endregion
|
|
55481
55118
|
export { initProductAnalytics as a, shutdownProductAnalytics as c, getProductAnalyticsDistinctId as i, runMcpCli as n, redactUnsafeSentryMessages as o, captureToolInvocation as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
|
|
55482
55119
|
|
|
55483
|
-
//# sourceMappingURL=src-
|
|
55120
|
+
//# sourceMappingURL=src-CpNVfYSs.js.map
|