@togglhq/mcp 1.11.25 → 1.11.27
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-D5d4Pijz.js → src-CuXxZWE_.js} +110 -388
- 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-CuXxZWE_.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.27";
|
|
169
169
|
let sentryEnabled = false;
|
|
170
170
|
let productAnalyticsEnabled = false;
|
|
171
171
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -36552,7 +36552,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
36552
36552
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36553
36553
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
36554
36554
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36555
|
-
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."))),
|
|
36556
36555
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
36557
36556
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36558
36557
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -36614,7 +36613,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
36614
36613
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36615
36614
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
36616
36615
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36617
|
-
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."))),
|
|
36618
36616
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
36619
36617
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36620
36618
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -36797,8 +36795,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
36797
36795
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36798
36796
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36799
36797
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36800
|
-
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."))),
|
|
36801
|
-
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."))),
|
|
36802
36798
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36803
36799
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36804
36800
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -36884,7 +36880,6 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
36884
36880
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36885
36881
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
36886
36882
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36887
|
-
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36888
36883
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
36889
36884
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36890
36885
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
@@ -36964,8 +36959,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
36964
36959
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36965
36960
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36966
36961
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36967
|
-
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."))),
|
|
36968
|
-
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."))),
|
|
36969
36962
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36970
36963
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36971
36964
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -37196,7 +37189,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
37196
37189
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37197
37190
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37198
37191
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37199
|
-
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."))),
|
|
37200
37192
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37201
37193
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37202
37194
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -37233,7 +37225,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
37233
37225
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37234
37226
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37235
37227
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37236
|
-
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."))),
|
|
37237
37228
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37238
37229
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37239
37230
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -37519,18 +37510,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
37519
37510
|
}
|
|
37520
37511
|
//#endregion
|
|
37521
37512
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37522
|
-
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) {
|
|
37523
37514
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37524
37515
|
signal,
|
|
37525
37516
|
searchParams: buildSearchParams$2({
|
|
37526
|
-
include_task_counts,
|
|
37527
|
-
task_archived,
|
|
37528
|
-
task_recurring,
|
|
37529
|
-
task_state,
|
|
37530
|
-
task_source,
|
|
37531
|
-
task_assignee_user_id,
|
|
37532
|
-
task_assignee_team_id,
|
|
37533
|
-
task_name,
|
|
37534
37517
|
page,
|
|
37535
37518
|
per_page,
|
|
37536
37519
|
order_by,
|
|
@@ -37780,7 +37763,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37780
37763
|
}
|
|
37781
37764
|
//#endregion
|
|
37782
37765
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37783
|
-
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) {
|
|
37784
37767
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37785
37768
|
signal,
|
|
37786
37769
|
searchParams: buildSearchParams$2({
|
|
@@ -37831,11 +37814,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37831
37814
|
include_assignees,
|
|
37832
37815
|
include_parent_matches,
|
|
37833
37816
|
disable_aggregations,
|
|
37834
|
-
cf_filter
|
|
37835
|
-
recurring_occurrences_after,
|
|
37836
|
-
max_recurring_occurrences_after,
|
|
37837
|
-
recurring_task_read,
|
|
37838
|
-
include_projected_occurrences
|
|
37817
|
+
cf_filter
|
|
37839
37818
|
})
|
|
37840
37819
|
}).json();
|
|
37841
37820
|
}
|
|
@@ -37910,17 +37889,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
37910
37889
|
})
|
|
37911
37890
|
}).json();
|
|
37912
37891
|
}
|
|
37913
|
-
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) {
|
|
37914
37893
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
37915
37894
|
signal,
|
|
37916
37895
|
searchParams: buildSearchParams$2({
|
|
37917
37896
|
date_from,
|
|
37918
|
-
date_to
|
|
37919
|
-
skip_provider_refresh
|
|
37897
|
+
date_to
|
|
37920
37898
|
})
|
|
37921
37899
|
}).json();
|
|
37922
37900
|
}
|
|
37923
|
-
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) {
|
|
37924
37902
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37925
37903
|
signal,
|
|
37926
37904
|
searchParams: buildSearchParams$2({
|
|
@@ -37936,15 +37914,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37936
37914
|
assignee_team_id,
|
|
37937
37915
|
assignee_user_id,
|
|
37938
37916
|
tag_id,
|
|
37939
|
-
include_assignees
|
|
37940
|
-
recurring_occurrences_after,
|
|
37941
|
-
max_recurring_occurrences_after,
|
|
37942
|
-
recurring_task_read,
|
|
37943
|
-
include_projected_occurrences
|
|
37917
|
+
include_assignees
|
|
37944
37918
|
})
|
|
37945
37919
|
}).json();
|
|
37946
37920
|
}
|
|
37947
|
-
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) {
|
|
37948
37922
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37949
37923
|
signal,
|
|
37950
37924
|
searchParams: buildSearchParams$2({
|
|
@@ -37989,11 +37963,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37989
37963
|
recurring_task_ids,
|
|
37990
37964
|
client_id,
|
|
37991
37965
|
include_assignees,
|
|
37992
|
-
cf_filter
|
|
37993
|
-
recurring_occurrences_after,
|
|
37994
|
-
max_recurring_occurrences_after,
|
|
37995
|
-
recurring_task_read,
|
|
37996
|
-
include_projected_occurrences
|
|
37966
|
+
cf_filter
|
|
37997
37967
|
})
|
|
37998
37968
|
}).json();
|
|
37999
37969
|
}
|
|
@@ -38048,12 +38018,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
38048
38018
|
})
|
|
38049
38019
|
}).json();
|
|
38050
38020
|
}
|
|
38051
|
-
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
38052
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
38053
|
-
signal,
|
|
38054
|
-
searchParams: buildSearchParams$2({ return_occurrence })
|
|
38055
|
-
}).json();
|
|
38056
|
-
}
|
|
38057
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) {
|
|
38058
38022
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
38059
38023
|
signal,
|
|
@@ -38190,24 +38154,16 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
38190
38154
|
})
|
|
38191
38155
|
}).json();
|
|
38192
38156
|
}
|
|
38193
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
38157
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
38194
38158
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
38195
38159
|
signal,
|
|
38196
|
-
json: data
|
|
38197
|
-
searchParams: buildSearchParams$2({
|
|
38198
|
-
from_recurring_task_id,
|
|
38199
|
-
return_occurrence
|
|
38200
|
-
})
|
|
38160
|
+
json: data
|
|
38201
38161
|
}).json();
|
|
38202
38162
|
}
|
|
38203
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
38163
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
38204
38164
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
38205
38165
|
signal,
|
|
38206
|
-
json: data
|
|
38207
|
-
searchParams: buildSearchParams$2({
|
|
38208
|
-
from_recurring_task_id,
|
|
38209
|
-
return_occurrence
|
|
38210
|
-
})
|
|
38166
|
+
json: data
|
|
38211
38167
|
}).json();
|
|
38212
38168
|
}
|
|
38213
38169
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -38258,7 +38214,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
38258
38214
|
json: data
|
|
38259
38215
|
}).json();
|
|
38260
38216
|
}
|
|
38261
|
-
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) {
|
|
38262
38218
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
38263
38219
|
signal,
|
|
38264
38220
|
searchParams: buildSearchParams$2({
|
|
@@ -38266,7 +38222,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38266
38222
|
date_to,
|
|
38267
38223
|
task_id,
|
|
38268
38224
|
status_id,
|
|
38269
|
-
project_id,
|
|
38270
38225
|
type,
|
|
38271
38226
|
order_by,
|
|
38272
38227
|
archived,
|
|
@@ -38290,33 +38245,19 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
38290
38245
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38291
38246
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38292
38247
|
}
|
|
38293
|
-
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) {
|
|
38294
38249
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38295
38250
|
signal,
|
|
38296
|
-
json: data
|
|
38297
|
-
searchParams: buildSearchParams$2({
|
|
38298
|
-
from_recurring_task_id,
|
|
38299
|
-
return_occurrence
|
|
38300
|
-
})
|
|
38251
|
+
json: data
|
|
38301
38252
|
}).json();
|
|
38302
38253
|
}
|
|
38303
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
38304
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38305
|
-
signal,
|
|
38306
|
-
searchParams: buildSearchParams$2({
|
|
38307
|
-
from_recurring_task_id,
|
|
38308
|
-
return_occurrence
|
|
38309
|
-
})
|
|
38310
|
-
}).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();
|
|
38311
38256
|
}
|
|
38312
|
-
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) {
|
|
38313
38258
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38314
38259
|
signal,
|
|
38315
|
-
json: data
|
|
38316
|
-
searchParams: buildSearchParams$2({
|
|
38317
|
-
from_recurring_task_id,
|
|
38318
|
-
return_occurrence
|
|
38319
|
-
})
|
|
38260
|
+
json: data
|
|
38320
38261
|
}).json();
|
|
38321
38262
|
}
|
|
38322
38263
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -38431,7 +38372,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38431
38372
|
]))
|
|
38432
38373
|
});
|
|
38433
38374
|
//#endregion
|
|
38434
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38375
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.39_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_60e9ea7b26106374bb9319309dc72bc8/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38435
38376
|
async function getInvitations(httpClient, signal) {
|
|
38436
38377
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38437
38378
|
}
|
|
@@ -38448,7 +38389,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38448
38389
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38449
38390
|
}
|
|
38450
38391
|
//#endregion
|
|
38451
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38392
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.39_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_60e9ea7b26106374bb9319309dc72bc8/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38452
38393
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38453
38394
|
const searchParams = new URLSearchParams();
|
|
38454
38395
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38460,7 +38401,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38460
38401
|
return searchParams;
|
|
38461
38402
|
}
|
|
38462
38403
|
//#endregion
|
|
38463
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38404
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.39_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_60e9ea7b26106374bb9319309dc72bc8/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38464
38405
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38465
38406
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38466
38407
|
}
|
|
@@ -38474,7 +38415,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38474
38415
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38475
38416
|
}
|
|
38476
38417
|
//#endregion
|
|
38477
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38418
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.39_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_60e9ea7b26106374bb9319309dc72bc8/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38478
38419
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38479
38420
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38480
38421
|
}
|
|
@@ -38494,7 +38435,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38494
38435
|
});
|
|
38495
38436
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38496
38437
|
//#endregion
|
|
38497
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38438
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.39_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_60e9ea7b26106374bb9319309dc72bc8/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38498
38439
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38499
38440
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38500
38441
|
signal,
|
|
@@ -38505,12 +38446,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38505
38446
|
})).json();
|
|
38506
38447
|
}
|
|
38507
38448
|
//#endregion
|
|
38508
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38449
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.39_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_60e9ea7b26106374bb9319309dc72bc8/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38509
38450
|
async function getStatus(httpClient, signal) {
|
|
38510
38451
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38511
38452
|
}
|
|
38512
38453
|
//#endregion
|
|
38513
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38454
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.39_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_60e9ea7b26106374bb9319309dc72bc8/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38514
38455
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38515
38456
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38516
38457
|
signal,
|
|
@@ -38538,7 +38479,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38538
38479
|
return response.json();
|
|
38539
38480
|
}
|
|
38540
38481
|
//#endregion
|
|
38541
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38482
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.39_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_60e9ea7b26106374bb9319309dc72bc8/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38542
38483
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38543
38484
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38544
38485
|
}
|
|
@@ -42189,15 +42130,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
42189
42130
|
}
|
|
42190
42131
|
//#endregion
|
|
42191
42132
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
42192
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id,
|
|
42133
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
42193
42134
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
42194
42135
|
signal,
|
|
42195
42136
|
searchParams: buildSearchParams$2({
|
|
42196
42137
|
workspace_id,
|
|
42197
42138
|
entity_type,
|
|
42198
42139
|
entity_id,
|
|
42199
|
-
project_id,
|
|
42200
|
-
custom_field_id,
|
|
42201
42140
|
action,
|
|
42202
42141
|
user_id,
|
|
42203
42142
|
page_size,
|
|
@@ -42206,14 +42145,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
42206
42145
|
})
|
|
42207
42146
|
}).json();
|
|
42208
42147
|
}
|
|
42209
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id,
|
|
42148
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
42210
42149
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
42211
42150
|
signal,
|
|
42212
42151
|
searchParams: buildSearchParams$2({
|
|
42213
42152
|
entity_type,
|
|
42214
42153
|
entity_id,
|
|
42215
|
-
project_id,
|
|
42216
|
-
custom_field_id,
|
|
42217
42154
|
action,
|
|
42218
42155
|
user_id,
|
|
42219
42156
|
page_size,
|
|
@@ -42366,14 +42303,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42366
42303
|
}
|
|
42367
42304
|
//#endregion
|
|
42368
42305
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42369
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date,
|
|
42306
|
+
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) {
|
|
42370
42307
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42371
42308
|
signal,
|
|
42372
42309
|
searchParams: buildSearchParams$2({
|
|
42310
|
+
user_id,
|
|
42373
42311
|
start_date,
|
|
42374
42312
|
end_date,
|
|
42375
|
-
user_id,
|
|
42376
|
-
team_id,
|
|
42377
42313
|
private: private_,
|
|
42378
42314
|
task_source,
|
|
42379
42315
|
unit,
|
|
@@ -42433,15 +42369,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
42433
42369
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42434
42370
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
42435
42371
|
}
|
|
42436
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42437
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
42438
|
-
}
|
|
42439
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
42440
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
42441
|
-
signal,
|
|
42442
|
-
json: data
|
|
42443
|
-
}).json();
|
|
42444
|
-
}
|
|
42445
42372
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42446
42373
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
42447
42374
|
signal,
|
|
@@ -42749,6 +42676,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
42749
42676
|
json: data
|
|
42750
42677
|
}).json();
|
|
42751
42678
|
}
|
|
42679
|
+
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
42680
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
42681
|
+
}
|
|
42752
42682
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
42753
42683
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
42754
42684
|
}
|
|
@@ -43052,10 +42982,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
43052
42982
|
}
|
|
43053
42983
|
//#endregion
|
|
43054
42984
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
43055
|
-
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
|
|
42985
|
+
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) {
|
|
43056
42986
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
43057
42987
|
signal,
|
|
43058
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43059
42988
|
searchParams: buildSearchParams$2({
|
|
43060
42989
|
project_id,
|
|
43061
42990
|
source,
|
|
@@ -43084,18 +43013,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
43084
43013
|
min_days,
|
|
43085
43014
|
include_drafts,
|
|
43086
43015
|
cf_filter,
|
|
43087
|
-
user_cf_filter
|
|
43088
|
-
recurring_occurrences_after,
|
|
43089
|
-
max_recurring_occurrences_after,
|
|
43090
|
-
recurring_task_read,
|
|
43091
|
-
include_projected_occurrences
|
|
43016
|
+
user_cf_filter
|
|
43092
43017
|
})
|
|
43093
43018
|
}).json();
|
|
43094
43019
|
}
|
|
43095
|
-
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
|
|
43020
|
+
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) {
|
|
43096
43021
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
43097
43022
|
signal,
|
|
43098
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43099
43023
|
searchParams: buildSearchParams$2({
|
|
43100
43024
|
team_id,
|
|
43101
43025
|
project_id,
|
|
@@ -43124,18 +43048,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
43124
43048
|
min_days,
|
|
43125
43049
|
include_drafts,
|
|
43126
43050
|
cf_filter,
|
|
43127
|
-
user_cf_filter
|
|
43128
|
-
recurring_occurrences_after,
|
|
43129
|
-
max_recurring_occurrences_after,
|
|
43130
|
-
recurring_task_read,
|
|
43131
|
-
include_projected_occurrences
|
|
43051
|
+
user_cf_filter
|
|
43132
43052
|
})
|
|
43133
43053
|
}).json();
|
|
43134
43054
|
}
|
|
43135
|
-
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,
|
|
43055
|
+
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) {
|
|
43136
43056
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
43137
43057
|
signal,
|
|
43138
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43139
43058
|
searchParams: buildSearchParams$2({
|
|
43140
43059
|
source,
|
|
43141
43060
|
priority,
|
|
@@ -43165,10 +43084,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
43165
43084
|
include_drafts,
|
|
43166
43085
|
cf_filter,
|
|
43167
43086
|
user_cf_filter,
|
|
43168
|
-
recurring_occurrences_after,
|
|
43169
|
-
max_recurring_occurrences_after,
|
|
43170
|
-
recurring_task_read,
|
|
43171
|
-
include_projected_occurrences,
|
|
43172
43087
|
page,
|
|
43173
43088
|
per_page,
|
|
43174
43089
|
order_by
|
|
@@ -43404,12 +43319,6 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
43404
43319
|
}
|
|
43405
43320
|
//#endregion
|
|
43406
43321
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
43407
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
43408
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
43409
|
-
}
|
|
43410
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
43411
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
43412
|
-
}
|
|
43413
43322
|
async function getUserSettings(httpClient, signal) {
|
|
43414
43323
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
43415
43324
|
}
|
|
@@ -43649,7 +43558,6 @@ const generatedFocusOperations = [
|
|
|
43649
43558
|
mcp: { entityTool: "audit-log" },
|
|
43650
43559
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43651
43560
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43652
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43653
43561
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43654
43562
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43655
43563
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43657,7 +43565,6 @@ const generatedFocusOperations = [
|
|
|
43657
43565
|
from: /* @__PURE__ */ string$1(),
|
|
43658
43566
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43659
43567
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43660
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43661
43568
|
to: /* @__PURE__ */ string$1(),
|
|
43662
43569
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43663
43570
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -43691,7 +43598,6 @@ const generatedFocusOperations = [
|
|
|
43691
43598
|
mcp: { entityTool: "audit-log" },
|
|
43692
43599
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43693
43600
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43694
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43695
43601
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43696
43602
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43697
43603
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43699,7 +43605,6 @@ const generatedFocusOperations = [
|
|
|
43699
43605
|
from: /* @__PURE__ */ string$1(),
|
|
43700
43606
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43701
43607
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43702
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43703
43608
|
to: /* @__PURE__ */ string$1(),
|
|
43704
43609
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43705
43610
|
}),
|
|
@@ -43739,7 +43644,6 @@ const generatedFocusOperations = [
|
|
|
43739
43644
|
private_: /* @__PURE__ */ unknown$1(),
|
|
43740
43645
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43741
43646
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
43742
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
43743
43647
|
unit: /* @__PURE__ */ unknown$1(),
|
|
43744
43648
|
user_id: /* @__PURE__ */ number$2()
|
|
43745
43649
|
}),
|
|
@@ -44180,33 +44084,6 @@ const generatedFocusOperations = [
|
|
|
44180
44084
|
]));
|
|
44181
44085
|
}
|
|
44182
44086
|
},
|
|
44183
|
-
{
|
|
44184
|
-
id: "focus.custom-fields.get-allowed-users",
|
|
44185
|
-
family: "focus",
|
|
44186
|
-
resource: "custom-fields",
|
|
44187
|
-
action: "get-allowed-users",
|
|
44188
|
-
title: "Get Allowed Users Custom Fields",
|
|
44189
|
-
description: "Get Allowed Users Custom Fields.",
|
|
44190
|
-
safety: "read",
|
|
44191
|
-
destructive: false,
|
|
44192
|
-
cli: {
|
|
44193
|
-
group: ["custom-fields"],
|
|
44194
|
-
command: "get-allowed-users",
|
|
44195
|
-
interactive: "available"
|
|
44196
|
-
},
|
|
44197
|
-
mcp: { entityTool: "custom-fields" },
|
|
44198
|
-
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
44199
|
-
execute: (input, { client }) => {
|
|
44200
|
-
const data = input;
|
|
44201
|
-
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
44202
|
-
client.httpClient,
|
|
44203
|
-
client.organizationId,
|
|
44204
|
-
client.workspaceIdNumber,
|
|
44205
|
-
data.custom_field_id,
|
|
44206
|
-
void 0
|
|
44207
|
-
]));
|
|
44208
|
-
}
|
|
44209
|
-
},
|
|
44210
44087
|
{
|
|
44211
44088
|
id: "focus.custom-fields.list",
|
|
44212
44089
|
family: "focus",
|
|
@@ -44376,37 +44253,6 @@ const generatedFocusOperations = [
|
|
|
44376
44253
|
]));
|
|
44377
44254
|
}
|
|
44378
44255
|
},
|
|
44379
|
-
{
|
|
44380
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
44381
|
-
family: "focus",
|
|
44382
|
-
resource: "custom-fields",
|
|
44383
|
-
action: "replace-custom-field-allowed-users",
|
|
44384
|
-
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
44385
|
-
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
44386
|
-
safety: "update",
|
|
44387
|
-
destructive: false,
|
|
44388
|
-
cli: {
|
|
44389
|
-
group: ["custom-fields"],
|
|
44390
|
-
command: "replace-custom-field-allowed-users",
|
|
44391
|
-
interactive: "default"
|
|
44392
|
-
},
|
|
44393
|
-
mcp: { entityTool: "custom-fields" },
|
|
44394
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44395
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
44396
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
44397
|
-
}),
|
|
44398
|
-
execute: (input, { client }) => {
|
|
44399
|
-
const data = input;
|
|
44400
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
44401
|
-
client.httpClient,
|
|
44402
|
-
client.organizationId,
|
|
44403
|
-
client.workspaceIdNumber,
|
|
44404
|
-
data.custom_field_id,
|
|
44405
|
-
data.payload ?? data.data ?? data,
|
|
44406
|
-
void 0
|
|
44407
|
-
]));
|
|
44408
|
-
}
|
|
44409
|
-
},
|
|
44410
44256
|
{
|
|
44411
44257
|
id: "focus.custom-fields.update",
|
|
44412
44258
|
family: "focus",
|
|
@@ -44553,7 +44399,13 @@ const generatedFocusOperations = [
|
|
|
44553
44399
|
},
|
|
44554
44400
|
mcp: { entityTool: "goals" },
|
|
44555
44401
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44402
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
44556
44403
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44404
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44405
|
+
icon: /* @__PURE__ */ string$1(),
|
|
44406
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44407
|
+
name: /* @__PURE__ */ string$1(),
|
|
44408
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44557
44409
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44558
44410
|
"daily",
|
|
44559
44411
|
"weekly",
|
|
@@ -44561,18 +44413,12 @@ const generatedFocusOperations = [
|
|
|
44561
44413
|
"monthly"
|
|
44562
44414
|
]),
|
|
44563
44415
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44416
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44564
44417
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
44565
|
-
|
|
44418
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44419
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44566
44420
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44567
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44568
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44569
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44570
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44571
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44572
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44573
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44574
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44575
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44421
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44576
44422
|
}) }),
|
|
44577
44423
|
execute: (input, { client }) => {
|
|
44578
44424
|
const data = input;
|
|
@@ -44678,6 +44524,13 @@ const generatedFocusOperations = [
|
|
|
44678
44524
|
},
|
|
44679
44525
|
mcp: { entityTool: "goals" },
|
|
44680
44526
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44527
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
44528
|
+
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44529
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44530
|
+
icon: /* @__PURE__ */ string$1(),
|
|
44531
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44532
|
+
name: /* @__PURE__ */ string$1(),
|
|
44533
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44681
44534
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44682
44535
|
"daily",
|
|
44683
44536
|
"weekly",
|
|
@@ -44685,19 +44538,12 @@ const generatedFocusOperations = [
|
|
|
44685
44538
|
"monthly"
|
|
44686
44539
|
]),
|
|
44687
44540
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44688
|
-
|
|
44541
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44542
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
44543
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44544
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44689
44545
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44690
|
-
|
|
44691
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44692
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44693
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44694
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44695
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44696
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44697
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44698
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44699
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44700
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44546
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44701
44547
|
}) }),
|
|
44702
44548
|
execute: (input, { client }) => {
|
|
44703
44549
|
const data = input;
|
|
@@ -45664,17 +45510,9 @@ const generatedFocusOperations = [
|
|
|
45664
45510
|
mcp: { entityTool: "projects" },
|
|
45665
45511
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45666
45512
|
payload: /* @__PURE__ */ looseObject({
|
|
45667
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45668
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
45669
45513
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45670
45514
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45671
45515
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45672
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
45673
|
-
"expire",
|
|
45674
|
-
"carry_all",
|
|
45675
|
-
"carry_over"
|
|
45676
|
-
])),
|
|
45677
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45678
45516
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
45679
45517
|
}),
|
|
45680
45518
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -46220,6 +46058,29 @@ const generatedFocusOperations = [
|
|
|
46220
46058
|
]));
|
|
46221
46059
|
}
|
|
46222
46060
|
},
|
|
46061
|
+
{
|
|
46062
|
+
id: "focus.projects.margin-targets-clear-workspace",
|
|
46063
|
+
family: "focus",
|
|
46064
|
+
resource: "projects",
|
|
46065
|
+
action: "margin-targets-clear-workspace",
|
|
46066
|
+
title: "Margin Targets Clear Workspace Projects",
|
|
46067
|
+
description: "Margin Targets Clear Workspace Projects.",
|
|
46068
|
+
safety: "delete",
|
|
46069
|
+
destructive: true,
|
|
46070
|
+
cli: {
|
|
46071
|
+
group: ["projects", "margin-targets"],
|
|
46072
|
+
command: "clear-workspace",
|
|
46073
|
+
interactive: "default"
|
|
46074
|
+
},
|
|
46075
|
+
mcp: { entityTool: "projects" },
|
|
46076
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
46077
|
+
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
46078
|
+
client.httpClient,
|
|
46079
|
+
client.organizationId,
|
|
46080
|
+
client.workspaceIdNumber,
|
|
46081
|
+
void 0
|
|
46082
|
+
]))
|
|
46083
|
+
},
|
|
46223
46084
|
{
|
|
46224
46085
|
id: "focus.projects.margin-targets-get",
|
|
46225
46086
|
family: "focus",
|
|
@@ -48622,7 +48483,7 @@ const generatedFocusOperations = [
|
|
|
48622
48483
|
cli: {
|
|
48623
48484
|
group: ["reportschedules"],
|
|
48624
48485
|
command: "upsert-saved-view-schedule",
|
|
48625
|
-
interactive: "
|
|
48486
|
+
interactive: "default"
|
|
48626
48487
|
},
|
|
48627
48488
|
mcp: { entityTool: "reportschedules" },
|
|
48628
48489
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -48633,10 +48494,8 @@ const generatedFocusOperations = [
|
|
|
48633
48494
|
"weekly",
|
|
48634
48495
|
"monthly"
|
|
48635
48496
|
]),
|
|
48636
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48637
48497
|
time: /* @__PURE__ */ string$1(),
|
|
48638
48498
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48639
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48640
48499
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48641
48500
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48642
48501
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -50185,37 +50044,6 @@ const generatedFocusOperations = [
|
|
|
50185
50044
|
return client.createTask(data);
|
|
50186
50045
|
}
|
|
50187
50046
|
},
|
|
50188
|
-
{
|
|
50189
|
-
id: "focus.tasks.create-recurring-occurrence",
|
|
50190
|
-
family: "focus",
|
|
50191
|
-
resource: "tasks",
|
|
50192
|
-
action: "create-recurring-occurrence",
|
|
50193
|
-
title: "Create Recurring Occurrence Tasks",
|
|
50194
|
-
description: "Create Recurring Occurrence Tasks.",
|
|
50195
|
-
safety: "create",
|
|
50196
|
-
destructive: false,
|
|
50197
|
-
cli: {
|
|
50198
|
-
group: ["tasks"],
|
|
50199
|
-
command: "create-recurring-occurrence",
|
|
50200
|
-
interactive: "default"
|
|
50201
|
-
},
|
|
50202
|
-
mcp: { entityTool: "tasks" },
|
|
50203
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50204
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50205
|
-
task_id: /* @__PURE__ */ number$2()
|
|
50206
|
-
}),
|
|
50207
|
-
execute: (input, { client }) => {
|
|
50208
|
-
const data = input;
|
|
50209
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
50210
|
-
client.httpClient,
|
|
50211
|
-
client.organizationId,
|
|
50212
|
-
client.workspaceIdNumber,
|
|
50213
|
-
data.task_id,
|
|
50214
|
-
data.return_occurrence,
|
|
50215
|
-
void 0
|
|
50216
|
-
]));
|
|
50217
|
-
}
|
|
50218
|
-
},
|
|
50219
50047
|
{
|
|
50220
50048
|
id: "focus.tasks.delete",
|
|
50221
50049
|
family: "focus",
|
|
@@ -50463,13 +50291,9 @@ const generatedFocusOperations = [
|
|
|
50463
50291
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50464
50292
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50465
50293
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50466
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50467
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50468
50294
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50469
50295
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50470
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50471
50296
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50472
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50473
50297
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50474
50298
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50475
50299
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -50521,9 +50345,7 @@ const generatedFocusOperations = [
|
|
|
50521
50345
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50522
50346
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50523
50347
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50524
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50525
50348
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50526
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50527
50349
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50528
50350
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50529
50351
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -50532,9 +50354,7 @@ const generatedFocusOperations = [
|
|
|
50532
50354
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50533
50355
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50534
50356
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50535
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50536
50357
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50537
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50538
50358
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50539
50359
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50540
50360
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50672,10 +50492,8 @@ const generatedFocusOperations = [
|
|
|
50672
50492
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50673
50493
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50674
50494
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50675
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50676
50495
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50677
50496
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50678
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50679
50497
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50680
50498
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50681
50499
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50684,8 +50502,6 @@ const generatedFocusOperations = [
|
|
|
50684
50502
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50685
50503
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50686
50504
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50687
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50688
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50689
50505
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50690
50506
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50691
50507
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50694,8 +50510,7 @@ const generatedFocusOperations = [
|
|
|
50694
50510
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50695
50511
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50696
50512
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50697
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50698
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50513
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50699
50514
|
}),
|
|
50700
50515
|
execute: (input, { client }) => {
|
|
50701
50516
|
const data = input;
|
|
@@ -50737,17 +50552,13 @@ const generatedFocusOperations = [
|
|
|
50737
50552
|
group_id: /* @__PURE__ */ number$2(),
|
|
50738
50553
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50739
50554
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
50740
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
50741
50555
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50742
50556
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
50743
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50744
50557
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
50745
50558
|
name: /* @__PURE__ */ unknown$1(),
|
|
50746
50559
|
priority: /* @__PURE__ */ unknown$1(),
|
|
50747
50560
|
private_: /* @__PURE__ */ unknown$1(),
|
|
50748
50561
|
project_id: /* @__PURE__ */ number$2(),
|
|
50749
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50750
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
50751
50562
|
source: /* @__PURE__ */ unknown$1(),
|
|
50752
50563
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50753
50564
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -50756,8 +50567,7 @@ const generatedFocusOperations = [
|
|
|
50756
50567
|
tag_id: /* @__PURE__ */ number$2(),
|
|
50757
50568
|
team_id: /* @__PURE__ */ number$2(),
|
|
50758
50569
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50759
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
50760
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
50570
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
50761
50571
|
}),
|
|
50762
50572
|
execute: (input, { client }) => {
|
|
50763
50573
|
const data = input;
|
|
@@ -50798,17 +50608,13 @@ const generatedFocusOperations = [
|
|
|
50798
50608
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50799
50609
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50800
50610
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50801
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50802
50611
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50803
50612
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50804
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50805
50613
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50806
50614
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50807
50615
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50808
50616
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50809
50617
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50810
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50811
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50812
50618
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50813
50619
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50814
50620
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50817,8 +50623,7 @@ const generatedFocusOperations = [
|
|
|
50817
50623
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50818
50624
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50819
50625
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50820
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50821
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50626
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50822
50627
|
}),
|
|
50823
50628
|
execute: (input, { client }) => {
|
|
50824
50629
|
const data = input;
|
|
@@ -51089,8 +50894,7 @@ const generatedFocusOperations = [
|
|
|
51089
50894
|
mcp: { entityTool: "tasks" },
|
|
51090
50895
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51091
50896
|
date_from: /* @__PURE__ */ string$1(),
|
|
51092
|
-
date_to: /* @__PURE__ */ string$1()
|
|
51093
|
-
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50897
|
+
date_to: /* @__PURE__ */ string$1()
|
|
51094
50898
|
}),
|
|
51095
50899
|
execute: (input, { client }) => {
|
|
51096
50900
|
const data = input;
|
|
@@ -51100,7 +50904,6 @@ const generatedFocusOperations = [
|
|
|
51100
50904
|
client.workspaceIdNumber,
|
|
51101
50905
|
data.date_from,
|
|
51102
50906
|
data.date_to,
|
|
51103
|
-
data.skip_provider_refresh,
|
|
51104
50907
|
void 0
|
|
51105
50908
|
]));
|
|
51106
50909
|
}
|
|
@@ -51687,8 +51490,7 @@ const generatedFocusOperations = [
|
|
|
51687
51490
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
51688
51491
|
"project",
|
|
51689
51492
|
"task",
|
|
51690
|
-
"description"
|
|
51691
|
-
"tags"
|
|
51493
|
+
"description"
|
|
51692
51494
|
]) })),
|
|
51693
51495
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51694
51496
|
}) }),
|
|
@@ -51718,7 +51520,6 @@ const generatedFocusOperations = [
|
|
|
51718
51520
|
},
|
|
51719
51521
|
mcp: { entityTool: "time-entries" },
|
|
51720
51522
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51721
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51722
51523
|
payload: /* @__PURE__ */ looseObject({
|
|
51723
51524
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51724
51525
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -51729,13 +51530,11 @@ const generatedFocusOperations = [
|
|
|
51729
51530
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51730
51531
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51731
51532
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51732
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51733
51533
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51734
51534
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51735
51535
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51736
51536
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51737
51537
|
}),
|
|
51738
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51739
51538
|
task_id: /* @__PURE__ */ number$2()
|
|
51740
51539
|
}),
|
|
51741
51540
|
execute: (input, { client }) => {
|
|
@@ -51746,8 +51545,6 @@ const generatedFocusOperations = [
|
|
|
51746
51545
|
client.workspaceIdNumber,
|
|
51747
51546
|
data.task_id,
|
|
51748
51547
|
data.payload ?? data.data ?? data,
|
|
51749
|
-
data.from_recurring_task_id,
|
|
51750
|
-
data.return_occurrence,
|
|
51751
51548
|
void 0
|
|
51752
51549
|
]));
|
|
51753
51550
|
}
|
|
@@ -51767,26 +51564,21 @@ const generatedFocusOperations = [
|
|
|
51767
51564
|
interactive: "default"
|
|
51768
51565
|
},
|
|
51769
51566
|
mcp: { entityTool: "time-entries" },
|
|
51770
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51771
|
-
|
|
51772
|
-
|
|
51773
|
-
|
|
51774
|
-
|
|
51775
|
-
|
|
51776
|
-
|
|
51777
|
-
|
|
51778
|
-
|
|
51779
|
-
|
|
51780
|
-
|
|
51781
|
-
|
|
51782
|
-
|
|
51783
|
-
|
|
51784
|
-
|
|
51785
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51786
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51787
|
-
}),
|
|
51788
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51789
|
-
}),
|
|
51567
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
51568
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51569
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51570
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51571
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51572
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51573
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51574
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51575
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51576
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51577
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51578
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51579
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51580
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51581
|
+
}) }),
|
|
51790
51582
|
execute: (input, { client }) => {
|
|
51791
51583
|
const data = input;
|
|
51792
51584
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -51794,8 +51586,6 @@ const generatedFocusOperations = [
|
|
|
51794
51586
|
client.organizationId,
|
|
51795
51587
|
client.workspaceIdNumber,
|
|
51796
51588
|
data.payload ?? data.data ?? data,
|
|
51797
|
-
data.from_recurring_task_id,
|
|
51798
|
-
data.return_occurrence,
|
|
51799
51589
|
void 0
|
|
51800
51590
|
]));
|
|
51801
51591
|
}
|
|
@@ -51815,11 +51605,7 @@ const generatedFocusOperations = [
|
|
|
51815
51605
|
interactive: "default"
|
|
51816
51606
|
},
|
|
51817
51607
|
mcp: { entityTool: "time-entries" },
|
|
51818
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51819
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51820
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51821
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
51822
|
-
}),
|
|
51608
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
51823
51609
|
execute: (input, { client }) => {
|
|
51824
51610
|
const data = input;
|
|
51825
51611
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -51827,8 +51613,6 @@ const generatedFocusOperations = [
|
|
|
51827
51613
|
client.organizationId,
|
|
51828
51614
|
client.workspaceIdNumber,
|
|
51829
51615
|
data.time_entry_id,
|
|
51830
|
-
data.from_recurring_task_id,
|
|
51831
|
-
data.return_occurrence,
|
|
51832
51616
|
void 0
|
|
51833
51617
|
]));
|
|
51834
51618
|
}
|
|
@@ -51909,7 +51693,6 @@ const generatedFocusOperations = [
|
|
|
51909
51693
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
51910
51694
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
51911
51695
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
51912
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
51913
51696
|
status_id: /* @__PURE__ */ number$2(),
|
|
51914
51697
|
task_id: /* @__PURE__ */ number$2(),
|
|
51915
51698
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -52086,14 +51869,12 @@ const generatedFocusOperations = [
|
|
|
52086
51869
|
},
|
|
52087
51870
|
mcp: { entityTool: "time-entries" },
|
|
52088
51871
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52089
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52090
51872
|
payload: /* @__PURE__ */ looseObject({
|
|
52091
51873
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52092
51874
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52093
51875
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52094
51876
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
52095
51877
|
}),
|
|
52096
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52097
51878
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52098
51879
|
}),
|
|
52099
51880
|
execute: (input, { client }) => {
|
|
@@ -52104,8 +51885,6 @@ const generatedFocusOperations = [
|
|
|
52104
51885
|
client.workspaceIdNumber,
|
|
52105
51886
|
data.time_entry_id,
|
|
52106
51887
|
data.payload ?? data.data ?? data,
|
|
52107
|
-
data.from_recurring_task_id,
|
|
52108
|
-
data.return_occurrence,
|
|
52109
51888
|
void 0
|
|
52110
51889
|
]));
|
|
52111
51890
|
}
|
|
@@ -52363,7 +52142,6 @@ const generatedFocusOperations = [
|
|
|
52363
52142
|
},
|
|
52364
52143
|
mcp: { entityTool: "time-entries" },
|
|
52365
52144
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52366
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52367
52145
|
payload: /* @__PURE__ */ looseObject({
|
|
52368
52146
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52369
52147
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -52376,7 +52154,6 @@ const generatedFocusOperations = [
|
|
|
52376
52154
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52377
52155
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52378
52156
|
}),
|
|
52379
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52380
52157
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52381
52158
|
}),
|
|
52382
52159
|
execute: (input, { client }) => {
|
|
@@ -52387,8 +52164,6 @@ const generatedFocusOperations = [
|
|
|
52387
52164
|
client.workspaceIdNumber,
|
|
52388
52165
|
data.time_entry_id,
|
|
52389
52166
|
data.payload ?? data.data ?? data,
|
|
52390
|
-
data.from_recurring_task_id,
|
|
52391
|
-
data.return_occurrence,
|
|
52392
52167
|
void 0
|
|
52393
52168
|
]));
|
|
52394
52169
|
}
|
|
@@ -53474,56 +53249,6 @@ const generatedFocusOperations = [
|
|
|
53474
53249
|
return client.listOrgUsers(data);
|
|
53475
53250
|
}
|
|
53476
53251
|
},
|
|
53477
|
-
{
|
|
53478
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
53479
|
-
family: "focus",
|
|
53480
|
-
resource: "users",
|
|
53481
|
-
action: "settings-email-unsubscribe",
|
|
53482
|
-
title: "Settings Email Unsubscribe Users",
|
|
53483
|
-
description: "Settings Email Unsubscribe Users.",
|
|
53484
|
-
safety: "update",
|
|
53485
|
-
destructive: false,
|
|
53486
|
-
cli: {
|
|
53487
|
-
group: ["users", "settings"],
|
|
53488
|
-
command: "email-unsubscribe",
|
|
53489
|
-
interactive: "default"
|
|
53490
|
-
},
|
|
53491
|
-
mcp: { entityTool: "users" },
|
|
53492
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53493
|
-
execute: (input, { client }) => {
|
|
53494
|
-
const data = input;
|
|
53495
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
53496
|
-
client.httpClient,
|
|
53497
|
-
data.token,
|
|
53498
|
-
void 0
|
|
53499
|
-
]));
|
|
53500
|
-
}
|
|
53501
|
-
},
|
|
53502
|
-
{
|
|
53503
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
53504
|
-
family: "focus",
|
|
53505
|
-
resource: "users",
|
|
53506
|
-
action: "settings-email-unsubscribe-page",
|
|
53507
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
53508
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
53509
|
-
safety: "read",
|
|
53510
|
-
destructive: false,
|
|
53511
|
-
cli: {
|
|
53512
|
-
group: ["users", "settings"],
|
|
53513
|
-
command: "email-unsubscribe-page",
|
|
53514
|
-
interactive: "available"
|
|
53515
|
-
},
|
|
53516
|
-
mcp: { entityTool: "users" },
|
|
53517
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53518
|
-
execute: (input, { client }) => {
|
|
53519
|
-
const data = input;
|
|
53520
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
53521
|
-
client.httpClient,
|
|
53522
|
-
data.token,
|
|
53523
|
-
void 0
|
|
53524
|
-
]));
|
|
53525
|
-
}
|
|
53526
|
-
},
|
|
53527
53252
|
{
|
|
53528
53253
|
id: "focus.users.settings-list",
|
|
53529
53254
|
family: "focus",
|
|
@@ -53585,9 +53310,6 @@ const generatedFocusOperations = [
|
|
|
53585
53310
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53586
53311
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53587
53312
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53588
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53589
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53590
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53591
53313
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53592
53314
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53593
53315
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -55131,7 +54853,7 @@ function registerWorkspaceTools(server) {
|
|
|
55131
54853
|
//#region src/package-version.ts
|
|
55132
54854
|
function mcpPackageVersion() {
|
|
55133
54855
|
try {
|
|
55134
|
-
return "1.11.
|
|
54856
|
+
return "1.11.27";
|
|
55135
54857
|
} catch {
|
|
55136
54858
|
return "unknown";
|
|
55137
54859
|
}
|
|
@@ -55306,7 +55028,7 @@ import_main.default.config({
|
|
|
55306
55028
|
quiet: true,
|
|
55307
55029
|
ignore: ["MISSING_ENV_FILE"]
|
|
55308
55030
|
});
|
|
55309
|
-
const packageVersion = "1.11.
|
|
55031
|
+
const packageVersion = "1.11.27";
|
|
55310
55032
|
function resolvePublicUrls() {
|
|
55311
55033
|
return {
|
|
55312
55034
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55371,4 +55093,4 @@ function bootstrapServer(options = {}) {
|
|
|
55371
55093
|
//#endregion
|
|
55372
55094
|
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 };
|
|
55373
55095
|
|
|
55374
|
-
//# sourceMappingURL=src-
|
|
55096
|
+
//# sourceMappingURL=src-CuXxZWE_.js.map
|