@togglhq/mcp 1.11.45 → 1.11.46
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-B3hX0vOB.js → src-BMU8cW_L.js} +110 -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-BMU8cW_L.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.46";
|
|
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())),
|
|
@@ -35355,6 +35348,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35355
35348
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35356
35349
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35357
35350
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
35351
|
+
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35352
|
+
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35358
35353
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35359
35354
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35360
35355
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35411,7 +35406,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35411
35406
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35412
35407
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35413
35408
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35414
|
-
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."))),
|
|
35415
35409
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35416
35410
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35417
35411
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35448,7 +35442,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35448
35442
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35449
35443
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35450
35444
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35451
|
-
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."))),
|
|
35452
35445
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35453
35446
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35454
35447
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -37395,7 +37388,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37395
37388
|
})
|
|
37396
37389
|
}).json();
|
|
37397
37390
|
}
|
|
37398
|
-
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) {
|
|
37399
37392
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37400
37393
|
signal,
|
|
37401
37394
|
searchParams: buildSearchParams$2({
|
|
@@ -37416,7 +37409,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37416
37409
|
include_rates,
|
|
37417
37410
|
pinned_ids,
|
|
37418
37411
|
has_group,
|
|
37419
|
-
track_without_focus,
|
|
37420
37412
|
cf_filter,
|
|
37421
37413
|
include_custom_fields,
|
|
37422
37414
|
include_calendar_integration
|
|
@@ -37518,18 +37510,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
37518
37510
|
}
|
|
37519
37511
|
//#endregion
|
|
37520
37512
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37521
|
-
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) {
|
|
37522
37514
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37523
37515
|
signal,
|
|
37524
37516
|
searchParams: buildSearchParams$2({
|
|
37525
|
-
include_task_counts,
|
|
37526
|
-
task_archived,
|
|
37527
|
-
task_recurring,
|
|
37528
|
-
task_state,
|
|
37529
|
-
task_source,
|
|
37530
|
-
task_assignee_user_id,
|
|
37531
|
-
task_assignee_team_id,
|
|
37532
|
-
task_name,
|
|
37533
37517
|
page,
|
|
37534
37518
|
per_page,
|
|
37535
37519
|
order_by,
|
|
@@ -37779,7 +37763,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37779
37763
|
}
|
|
37780
37764
|
//#endregion
|
|
37781
37765
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37782
|
-
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) {
|
|
37783
37767
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37784
37768
|
signal,
|
|
37785
37769
|
searchParams: buildSearchParams$2({
|
|
@@ -37830,11 +37814,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37830
37814
|
include_assignees,
|
|
37831
37815
|
include_parent_matches,
|
|
37832
37816
|
disable_aggregations,
|
|
37833
|
-
cf_filter
|
|
37834
|
-
recurring_occurrences_after,
|
|
37835
|
-
max_recurring_occurrences_after,
|
|
37836
|
-
recurring_task_read,
|
|
37837
|
-
include_projected_occurrences
|
|
37817
|
+
cf_filter
|
|
37838
37818
|
})
|
|
37839
37819
|
}).json();
|
|
37840
37820
|
}
|
|
@@ -37909,17 +37889,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
37909
37889
|
})
|
|
37910
37890
|
}).json();
|
|
37911
37891
|
}
|
|
37912
|
-
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) {
|
|
37913
37893
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
37914
37894
|
signal,
|
|
37915
37895
|
searchParams: buildSearchParams$2({
|
|
37916
37896
|
date_from,
|
|
37917
|
-
date_to
|
|
37918
|
-
skip_provider_refresh
|
|
37897
|
+
date_to
|
|
37919
37898
|
})
|
|
37920
37899
|
}).json();
|
|
37921
37900
|
}
|
|
37922
|
-
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) {
|
|
37923
37902
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37924
37903
|
signal,
|
|
37925
37904
|
searchParams: buildSearchParams$2({
|
|
@@ -37935,15 +37914,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37935
37914
|
assignee_team_id,
|
|
37936
37915
|
assignee_user_id,
|
|
37937
37916
|
tag_id,
|
|
37938
|
-
include_assignees
|
|
37939
|
-
recurring_occurrences_after,
|
|
37940
|
-
max_recurring_occurrences_after,
|
|
37941
|
-
recurring_task_read,
|
|
37942
|
-
include_projected_occurrences
|
|
37917
|
+
include_assignees
|
|
37943
37918
|
})
|
|
37944
37919
|
}).json();
|
|
37945
37920
|
}
|
|
37946
|
-
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) {
|
|
37947
37922
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37948
37923
|
signal,
|
|
37949
37924
|
searchParams: buildSearchParams$2({
|
|
@@ -37988,11 +37963,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37988
37963
|
recurring_task_ids,
|
|
37989
37964
|
client_id,
|
|
37990
37965
|
include_assignees,
|
|
37991
|
-
cf_filter
|
|
37992
|
-
recurring_occurrences_after,
|
|
37993
|
-
max_recurring_occurrences_after,
|
|
37994
|
-
recurring_task_read,
|
|
37995
|
-
include_projected_occurrences
|
|
37966
|
+
cf_filter
|
|
37996
37967
|
})
|
|
37997
37968
|
}).json();
|
|
37998
37969
|
}
|
|
@@ -38047,12 +38018,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
38047
38018
|
})
|
|
38048
38019
|
}).json();
|
|
38049
38020
|
}
|
|
38050
|
-
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
38051
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
38052
|
-
signal,
|
|
38053
|
-
searchParams: buildSearchParams$2({ return_occurrence })
|
|
38054
|
-
}).json();
|
|
38055
|
-
}
|
|
38056
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) {
|
|
38057
38022
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
38058
38023
|
signal,
|
|
@@ -38189,24 +38154,16 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
38189
38154
|
})
|
|
38190
38155
|
}).json();
|
|
38191
38156
|
}
|
|
38192
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
38157
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
38193
38158
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
38194
38159
|
signal,
|
|
38195
|
-
json: data
|
|
38196
|
-
searchParams: buildSearchParams$2({
|
|
38197
|
-
from_recurring_task_id,
|
|
38198
|
-
return_occurrence
|
|
38199
|
-
})
|
|
38160
|
+
json: data
|
|
38200
38161
|
}).json();
|
|
38201
38162
|
}
|
|
38202
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
38163
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
38203
38164
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
38204
38165
|
signal,
|
|
38205
|
-
json: data
|
|
38206
|
-
searchParams: buildSearchParams$2({
|
|
38207
|
-
from_recurring_task_id,
|
|
38208
|
-
return_occurrence
|
|
38209
|
-
})
|
|
38166
|
+
json: data
|
|
38210
38167
|
}).json();
|
|
38211
38168
|
}
|
|
38212
38169
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -38257,7 +38214,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
38257
38214
|
json: data
|
|
38258
38215
|
}).json();
|
|
38259
38216
|
}
|
|
38260
|
-
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) {
|
|
38261
38218
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
38262
38219
|
signal,
|
|
38263
38220
|
searchParams: buildSearchParams$2({
|
|
@@ -38265,7 +38222,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38265
38222
|
date_to,
|
|
38266
38223
|
task_id,
|
|
38267
38224
|
status_id,
|
|
38268
|
-
project_id,
|
|
38269
38225
|
type,
|
|
38270
38226
|
order_by,
|
|
38271
38227
|
archived,
|
|
@@ -38289,33 +38245,19 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
38289
38245
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38290
38246
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38291
38247
|
}
|
|
38292
|
-
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) {
|
|
38293
38249
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38294
38250
|
signal,
|
|
38295
|
-
json: data
|
|
38296
|
-
searchParams: buildSearchParams$2({
|
|
38297
|
-
from_recurring_task_id,
|
|
38298
|
-
return_occurrence
|
|
38299
|
-
})
|
|
38251
|
+
json: data
|
|
38300
38252
|
}).json();
|
|
38301
38253
|
}
|
|
38302
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
38303
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38304
|
-
signal,
|
|
38305
|
-
searchParams: buildSearchParams$2({
|
|
38306
|
-
from_recurring_task_id,
|
|
38307
|
-
return_occurrence
|
|
38308
|
-
})
|
|
38309
|
-
}).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();
|
|
38310
38256
|
}
|
|
38311
|
-
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) {
|
|
38312
38258
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38313
38259
|
signal,
|
|
38314
|
-
json: data
|
|
38315
|
-
searchParams: buildSearchParams$2({
|
|
38316
|
-
from_recurring_task_id,
|
|
38317
|
-
return_occurrence
|
|
38318
|
-
})
|
|
38260
|
+
json: data
|
|
38319
38261
|
}).json();
|
|
38320
38262
|
}
|
|
38321
38263
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -42212,15 +42154,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
42212
42154
|
}
|
|
42213
42155
|
//#endregion
|
|
42214
42156
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
42215
|
-
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) {
|
|
42216
42158
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
42217
42159
|
signal,
|
|
42218
42160
|
searchParams: buildSearchParams$2({
|
|
42219
42161
|
workspace_id,
|
|
42220
42162
|
entity_type,
|
|
42221
42163
|
entity_id,
|
|
42222
|
-
project_id,
|
|
42223
|
-
custom_field_id,
|
|
42224
42164
|
action,
|
|
42225
42165
|
user_id,
|
|
42226
42166
|
page_size,
|
|
@@ -42229,14 +42169,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
42229
42169
|
})
|
|
42230
42170
|
}).json();
|
|
42231
42171
|
}
|
|
42232
|
-
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) {
|
|
42233
42173
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
42234
42174
|
signal,
|
|
42235
42175
|
searchParams: buildSearchParams$2({
|
|
42236
42176
|
entity_type,
|
|
42237
42177
|
entity_id,
|
|
42238
|
-
project_id,
|
|
42239
|
-
custom_field_id,
|
|
42240
42178
|
action,
|
|
42241
42179
|
user_id,
|
|
42242
42180
|
page_size,
|
|
@@ -42389,14 +42327,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42389
42327
|
}
|
|
42390
42328
|
//#endregion
|
|
42391
42329
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42392
|
-
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) {
|
|
42393
42331
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42394
42332
|
signal,
|
|
42395
42333
|
searchParams: buildSearchParams$2({
|
|
42334
|
+
user_id,
|
|
42396
42335
|
start_date,
|
|
42397
42336
|
end_date,
|
|
42398
|
-
user_id,
|
|
42399
|
-
team_id,
|
|
42400
42337
|
private: private_,
|
|
42401
42338
|
task_source,
|
|
42402
42339
|
unit,
|
|
@@ -42456,15 +42393,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
42456
42393
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42457
42394
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
42458
42395
|
}
|
|
42459
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42460
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
42461
|
-
}
|
|
42462
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
42463
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
42464
|
-
signal,
|
|
42465
|
-
json: data
|
|
42466
|
-
}).json();
|
|
42467
|
-
}
|
|
42468
42396
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42469
42397
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
42470
42398
|
signal,
|
|
@@ -42728,7 +42656,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42728
42656
|
}
|
|
42729
42657
|
//#endregion
|
|
42730
42658
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
42731
|
-
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) {
|
|
42732
42660
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42733
42661
|
signal,
|
|
42734
42662
|
searchParams: buildSearchParams$2({
|
|
@@ -42754,7 +42682,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42754
42682
|
user_id,
|
|
42755
42683
|
only_me,
|
|
42756
42684
|
include_drafts,
|
|
42757
|
-
include_recurring_series,
|
|
42758
42685
|
cf_filter
|
|
42759
42686
|
})
|
|
42760
42687
|
}).json();
|
|
@@ -42773,6 +42700,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
42773
42700
|
json: data
|
|
42774
42701
|
}).json();
|
|
42775
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
|
+
}
|
|
42776
42706
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
42777
42707
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
42778
42708
|
}
|
|
@@ -43076,10 +43006,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
43076
43006
|
}
|
|
43077
43007
|
//#endregion
|
|
43078
43008
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
43079
|
-
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) {
|
|
43080
43010
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
43081
43011
|
signal,
|
|
43082
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43083
43012
|
searchParams: buildSearchParams$2({
|
|
43084
43013
|
project_id,
|
|
43085
43014
|
source,
|
|
@@ -43108,18 +43037,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
43108
43037
|
min_days,
|
|
43109
43038
|
include_drafts,
|
|
43110
43039
|
cf_filter,
|
|
43111
|
-
user_cf_filter
|
|
43112
|
-
recurring_occurrences_after,
|
|
43113
|
-
max_recurring_occurrences_after,
|
|
43114
|
-
recurring_task_read,
|
|
43115
|
-
include_projected_occurrences
|
|
43040
|
+
user_cf_filter
|
|
43116
43041
|
})
|
|
43117
43042
|
}).json();
|
|
43118
43043
|
}
|
|
43119
|
-
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) {
|
|
43120
43045
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
43121
43046
|
signal,
|
|
43122
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43123
43047
|
searchParams: buildSearchParams$2({
|
|
43124
43048
|
team_id,
|
|
43125
43049
|
project_id,
|
|
@@ -43148,18 +43072,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
43148
43072
|
min_days,
|
|
43149
43073
|
include_drafts,
|
|
43150
43074
|
cf_filter,
|
|
43151
|
-
user_cf_filter
|
|
43152
|
-
recurring_occurrences_after,
|
|
43153
|
-
max_recurring_occurrences_after,
|
|
43154
|
-
recurring_task_read,
|
|
43155
|
-
include_projected_occurrences
|
|
43075
|
+
user_cf_filter
|
|
43156
43076
|
})
|
|
43157
43077
|
}).json();
|
|
43158
43078
|
}
|
|
43159
|
-
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) {
|
|
43160
43080
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
43161
43081
|
signal,
|
|
43162
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43163
43082
|
searchParams: buildSearchParams$2({
|
|
43164
43083
|
source,
|
|
43165
43084
|
priority,
|
|
@@ -43189,10 +43108,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
43189
43108
|
include_drafts,
|
|
43190
43109
|
cf_filter,
|
|
43191
43110
|
user_cf_filter,
|
|
43192
|
-
recurring_occurrences_after,
|
|
43193
|
-
max_recurring_occurrences_after,
|
|
43194
|
-
recurring_task_read,
|
|
43195
|
-
include_projected_occurrences,
|
|
43196
43111
|
page,
|
|
43197
43112
|
per_page,
|
|
43198
43113
|
order_by
|
|
@@ -43384,19 +43299,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
43384
43299
|
json: data
|
|
43385
43300
|
}).json();
|
|
43386
43301
|
}
|
|
43387
|
-
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
43388
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
43389
|
-
signal,
|
|
43390
|
-
searchParams: buildSearchParams$2({
|
|
43391
|
-
date_from,
|
|
43392
|
-
date_to,
|
|
43393
|
-
setup_id,
|
|
43394
|
-
user_account_ids,
|
|
43395
|
-
approver_user_account_ids,
|
|
43396
|
-
team_ids
|
|
43397
|
-
})
|
|
43398
|
-
}).json();
|
|
43399
|
-
}
|
|
43400
43302
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
43401
43303
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
43402
43304
|
}
|
|
@@ -43440,21 +43342,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
43440
43342
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
43441
43343
|
}
|
|
43442
43344
|
//#endregion
|
|
43443
|
-
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
43444
|
-
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
43445
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
43446
|
-
signal,
|
|
43447
|
-
json: data
|
|
43448
|
-
}).json();
|
|
43449
|
-
}
|
|
43450
|
-
//#endregion
|
|
43451
43345
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
43452
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
43453
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
43454
|
-
}
|
|
43455
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
43456
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
43457
|
-
}
|
|
43458
43346
|
async function getUserSettings(httpClient, signal) {
|
|
43459
43347
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
43460
43348
|
}
|
|
@@ -43694,7 +43582,6 @@ const generatedFocusOperations = [
|
|
|
43694
43582
|
mcp: { entityTool: "audit-log" },
|
|
43695
43583
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43696
43584
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43697
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43698
43585
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43699
43586
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43700
43587
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43702,7 +43589,6 @@ const generatedFocusOperations = [
|
|
|
43702
43589
|
from: /* @__PURE__ */ string$1(),
|
|
43703
43590
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43704
43591
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43705
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43706
43592
|
to: /* @__PURE__ */ string$1(),
|
|
43707
43593
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43708
43594
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -43736,7 +43622,6 @@ const generatedFocusOperations = [
|
|
|
43736
43622
|
mcp: { entityTool: "audit-log" },
|
|
43737
43623
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43738
43624
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43739
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43740
43625
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43741
43626
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43742
43627
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43744,7 +43629,6 @@ const generatedFocusOperations = [
|
|
|
43744
43629
|
from: /* @__PURE__ */ string$1(),
|
|
43745
43630
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43746
43631
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43747
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43748
43632
|
to: /* @__PURE__ */ string$1(),
|
|
43749
43633
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43750
43634
|
}),
|
|
@@ -43784,7 +43668,6 @@ const generatedFocusOperations = [
|
|
|
43784
43668
|
private_: /* @__PURE__ */ unknown$1(),
|
|
43785
43669
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43786
43670
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
43787
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
43788
43671
|
unit: /* @__PURE__ */ unknown$1(),
|
|
43789
43672
|
user_id: /* @__PURE__ */ number$2()
|
|
43790
43673
|
}),
|
|
@@ -44034,6 +43917,8 @@ const generatedFocusOperations = [
|
|
|
44034
43917
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44035
43918
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
44036
43919
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43920
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43921
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44037
43922
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44038
43923
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44039
43924
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -44067,6 +43952,8 @@ const generatedFocusOperations = [
|
|
|
44067
43952
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44068
43953
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
44069
43954
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43955
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43956
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44070
43957
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44071
43958
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44072
43959
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -44221,33 +44108,6 @@ const generatedFocusOperations = [
|
|
|
44221
44108
|
]));
|
|
44222
44109
|
}
|
|
44223
44110
|
},
|
|
44224
|
-
{
|
|
44225
|
-
id: "focus.custom-fields.get-allowed-users",
|
|
44226
|
-
family: "focus",
|
|
44227
|
-
resource: "custom-fields",
|
|
44228
|
-
action: "get-allowed-users",
|
|
44229
|
-
title: "Get Allowed Users Custom Fields",
|
|
44230
|
-
description: "Get Allowed Users Custom Fields.",
|
|
44231
|
-
safety: "read",
|
|
44232
|
-
destructive: false,
|
|
44233
|
-
cli: {
|
|
44234
|
-
group: ["custom-fields"],
|
|
44235
|
-
command: "get-allowed-users",
|
|
44236
|
-
interactive: "available"
|
|
44237
|
-
},
|
|
44238
|
-
mcp: { entityTool: "custom-fields" },
|
|
44239
|
-
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
44240
|
-
execute: (input, { client }) => {
|
|
44241
|
-
const data = input;
|
|
44242
|
-
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
44243
|
-
client.httpClient,
|
|
44244
|
-
client.organizationId,
|
|
44245
|
-
client.workspaceIdNumber,
|
|
44246
|
-
data.custom_field_id,
|
|
44247
|
-
void 0
|
|
44248
|
-
]));
|
|
44249
|
-
}
|
|
44250
|
-
},
|
|
44251
44111
|
{
|
|
44252
44112
|
id: "focus.custom-fields.list",
|
|
44253
44113
|
family: "focus",
|
|
@@ -44417,37 +44277,6 @@ const generatedFocusOperations = [
|
|
|
44417
44277
|
]));
|
|
44418
44278
|
}
|
|
44419
44279
|
},
|
|
44420
|
-
{
|
|
44421
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
44422
|
-
family: "focus",
|
|
44423
|
-
resource: "custom-fields",
|
|
44424
|
-
action: "replace-custom-field-allowed-users",
|
|
44425
|
-
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
44426
|
-
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
44427
|
-
safety: "update",
|
|
44428
|
-
destructive: false,
|
|
44429
|
-
cli: {
|
|
44430
|
-
group: ["custom-fields"],
|
|
44431
|
-
command: "replace-custom-field-allowed-users",
|
|
44432
|
-
interactive: "default"
|
|
44433
|
-
},
|
|
44434
|
-
mcp: { entityTool: "custom-fields" },
|
|
44435
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44436
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
44437
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
44438
|
-
}),
|
|
44439
|
-
execute: (input, { client }) => {
|
|
44440
|
-
const data = input;
|
|
44441
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
44442
|
-
client.httpClient,
|
|
44443
|
-
client.organizationId,
|
|
44444
|
-
client.workspaceIdNumber,
|
|
44445
|
-
data.custom_field_id,
|
|
44446
|
-
data.payload ?? data.data ?? data,
|
|
44447
|
-
void 0
|
|
44448
|
-
]));
|
|
44449
|
-
}
|
|
44450
|
-
},
|
|
44451
44280
|
{
|
|
44452
44281
|
id: "focus.custom-fields.update",
|
|
44453
44282
|
family: "focus",
|
|
@@ -44594,7 +44423,13 @@ const generatedFocusOperations = [
|
|
|
44594
44423
|
},
|
|
44595
44424
|
mcp: { entityTool: "goals" },
|
|
44596
44425
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44426
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
44597
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()),
|
|
44598
44433
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44599
44434
|
"daily",
|
|
44600
44435
|
"weekly",
|
|
@@ -44602,18 +44437,12 @@ const generatedFocusOperations = [
|
|
|
44602
44437
|
"monthly"
|
|
44603
44438
|
]),
|
|
44604
44439
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44440
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44605
44441
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
44606
|
-
|
|
44442
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44443
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44607
44444
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44608
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44609
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44610
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44611
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44612
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44613
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44614
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44615
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44616
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44445
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44617
44446
|
}) }),
|
|
44618
44447
|
execute: (input, { client }) => {
|
|
44619
44448
|
const data = input;
|
|
@@ -44719,6 +44548,13 @@ const generatedFocusOperations = [
|
|
|
44719
44548
|
},
|
|
44720
44549
|
mcp: { entityTool: "goals" },
|
|
44721
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()),
|
|
44722
44558
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44723
44559
|
"daily",
|
|
44724
44560
|
"weekly",
|
|
@@ -44726,19 +44562,12 @@ const generatedFocusOperations = [
|
|
|
44726
44562
|
"monthly"
|
|
44727
44563
|
]),
|
|
44728
44564
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44729
|
-
|
|
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()),
|
|
44730
44569
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44731
|
-
|
|
44732
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44733
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44734
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44735
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44736
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44737
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44738
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44739
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44740
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44741
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44570
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44742
44571
|
}) }),
|
|
44743
44572
|
execute: (input, { client }) => {
|
|
44744
44573
|
const data = input;
|
|
@@ -45705,17 +45534,9 @@ const generatedFocusOperations = [
|
|
|
45705
45534
|
mcp: { entityTool: "projects" },
|
|
45706
45535
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45707
45536
|
payload: /* @__PURE__ */ looseObject({
|
|
45708
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45709
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
45710
45537
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45711
45538
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45712
45539
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45713
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
45714
|
-
"expire",
|
|
45715
|
-
"carry_all",
|
|
45716
|
-
"carry_over"
|
|
45717
|
-
])),
|
|
45718
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45719
45540
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
45720
45541
|
}),
|
|
45721
45542
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -46159,7 +45980,6 @@ const generatedFocusOperations = [
|
|
|
46159
45980
|
group: /* @__PURE__ */ string$1(),
|
|
46160
45981
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46161
45982
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46162
|
-
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46163
45983
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46164
45984
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46165
45985
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -46262,6 +46082,29 @@ const generatedFocusOperations = [
|
|
|
46262
46082
|
]));
|
|
46263
46083
|
}
|
|
46264
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
|
+
},
|
|
46265
46108
|
{
|
|
46266
46109
|
id: "focus.projects.margin-targets-get",
|
|
46267
46110
|
family: "focus",
|
|
@@ -48664,7 +48507,7 @@ const generatedFocusOperations = [
|
|
|
48664
48507
|
cli: {
|
|
48665
48508
|
group: ["reportschedules"],
|
|
48666
48509
|
command: "upsert-saved-view-schedule",
|
|
48667
|
-
interactive: "
|
|
48510
|
+
interactive: "default"
|
|
48668
48511
|
},
|
|
48669
48512
|
mcp: { entityTool: "reportschedules" },
|
|
48670
48513
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -48675,10 +48518,8 @@ const generatedFocusOperations = [
|
|
|
48675
48518
|
"weekly",
|
|
48676
48519
|
"monthly"
|
|
48677
48520
|
]),
|
|
48678
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48679
48521
|
time: /* @__PURE__ */ string$1(),
|
|
48680
48522
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48681
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48682
48523
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48683
48524
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48684
48525
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -50227,37 +50068,6 @@ const generatedFocusOperations = [
|
|
|
50227
50068
|
return client.createTask(data);
|
|
50228
50069
|
}
|
|
50229
50070
|
},
|
|
50230
|
-
{
|
|
50231
|
-
id: "focus.tasks.create-recurring-occurrence",
|
|
50232
|
-
family: "focus",
|
|
50233
|
-
resource: "tasks",
|
|
50234
|
-
action: "create-recurring-occurrence",
|
|
50235
|
-
title: "Create Recurring Occurrence Tasks",
|
|
50236
|
-
description: "Create Recurring Occurrence Tasks.",
|
|
50237
|
-
safety: "create",
|
|
50238
|
-
destructive: false,
|
|
50239
|
-
cli: {
|
|
50240
|
-
group: ["tasks"],
|
|
50241
|
-
command: "create-recurring-occurrence",
|
|
50242
|
-
interactive: "default"
|
|
50243
|
-
},
|
|
50244
|
-
mcp: { entityTool: "tasks" },
|
|
50245
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50246
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50247
|
-
task_id: /* @__PURE__ */ number$2()
|
|
50248
|
-
}),
|
|
50249
|
-
execute: (input, { client }) => {
|
|
50250
|
-
const data = input;
|
|
50251
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
50252
|
-
client.httpClient,
|
|
50253
|
-
client.organizationId,
|
|
50254
|
-
client.workspaceIdNumber,
|
|
50255
|
-
data.task_id,
|
|
50256
|
-
data.return_occurrence,
|
|
50257
|
-
void 0
|
|
50258
|
-
]));
|
|
50259
|
-
}
|
|
50260
|
-
},
|
|
50261
50071
|
{
|
|
50262
50072
|
id: "focus.tasks.delete",
|
|
50263
50073
|
family: "focus",
|
|
@@ -50505,13 +50315,9 @@ const generatedFocusOperations = [
|
|
|
50505
50315
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50506
50316
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50507
50317
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50508
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50509
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50510
50318
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50511
50319
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50512
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50513
50320
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50514
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50515
50321
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50516
50322
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50517
50323
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -50563,9 +50369,7 @@ const generatedFocusOperations = [
|
|
|
50563
50369
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50564
50370
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50565
50371
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50566
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50567
50372
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50568
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50569
50373
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50570
50374
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50571
50375
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -50574,9 +50378,7 @@ const generatedFocusOperations = [
|
|
|
50574
50378
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50575
50379
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50576
50380
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50577
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50578
50381
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50579
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50580
50382
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50581
50383
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50582
50384
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50714,10 +50516,8 @@ const generatedFocusOperations = [
|
|
|
50714
50516
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50715
50517
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50716
50518
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50717
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50718
50519
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50719
50520
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50720
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50721
50521
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50722
50522
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50723
50523
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50726,8 +50526,6 @@ const generatedFocusOperations = [
|
|
|
50726
50526
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50727
50527
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50728
50528
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50729
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50730
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50731
50529
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50732
50530
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50733
50531
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50736,8 +50534,7 @@ const generatedFocusOperations = [
|
|
|
50736
50534
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50737
50535
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50738
50536
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50739
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50740
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50537
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50741
50538
|
}),
|
|
50742
50539
|
execute: (input, { client }) => {
|
|
50743
50540
|
const data = input;
|
|
@@ -50779,17 +50576,13 @@ const generatedFocusOperations = [
|
|
|
50779
50576
|
group_id: /* @__PURE__ */ number$2(),
|
|
50780
50577
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50781
50578
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
50782
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
50783
50579
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50784
50580
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
50785
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50786
50581
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
50787
50582
|
name: /* @__PURE__ */ unknown$1(),
|
|
50788
50583
|
priority: /* @__PURE__ */ unknown$1(),
|
|
50789
50584
|
private_: /* @__PURE__ */ unknown$1(),
|
|
50790
50585
|
project_id: /* @__PURE__ */ number$2(),
|
|
50791
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50792
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
50793
50586
|
source: /* @__PURE__ */ unknown$1(),
|
|
50794
50587
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50795
50588
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -50798,8 +50591,7 @@ const generatedFocusOperations = [
|
|
|
50798
50591
|
tag_id: /* @__PURE__ */ number$2(),
|
|
50799
50592
|
team_id: /* @__PURE__ */ number$2(),
|
|
50800
50593
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50801
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
50802
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
50594
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
50803
50595
|
}),
|
|
50804
50596
|
execute: (input, { client }) => {
|
|
50805
50597
|
const data = input;
|
|
@@ -50840,17 +50632,13 @@ const generatedFocusOperations = [
|
|
|
50840
50632
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50841
50633
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50842
50634
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50843
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50844
50635
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50845
50636
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50846
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50847
50637
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50848
50638
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50849
50639
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50850
50640
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50851
50641
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50852
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50853
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50854
50642
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50855
50643
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50856
50644
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50859,8 +50647,7 @@ const generatedFocusOperations = [
|
|
|
50859
50647
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50860
50648
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50861
50649
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50862
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50863
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50650
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50864
50651
|
}),
|
|
50865
50652
|
execute: (input, { client }) => {
|
|
50866
50653
|
const data = input;
|
|
@@ -51131,8 +50918,7 @@ const generatedFocusOperations = [
|
|
|
51131
50918
|
mcp: { entityTool: "tasks" },
|
|
51132
50919
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51133
50920
|
date_from: /* @__PURE__ */ string$1(),
|
|
51134
|
-
date_to: /* @__PURE__ */ string$1()
|
|
51135
|
-
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50921
|
+
date_to: /* @__PURE__ */ string$1()
|
|
51136
50922
|
}),
|
|
51137
50923
|
execute: (input, { client }) => {
|
|
51138
50924
|
const data = input;
|
|
@@ -51142,7 +50928,6 @@ const generatedFocusOperations = [
|
|
|
51142
50928
|
client.workspaceIdNumber,
|
|
51143
50929
|
data.date_from,
|
|
51144
50930
|
data.date_to,
|
|
51145
|
-
data.skip_provider_refresh,
|
|
51146
50931
|
void 0
|
|
51147
50932
|
]));
|
|
51148
50933
|
}
|
|
@@ -51729,8 +51514,7 @@ const generatedFocusOperations = [
|
|
|
51729
51514
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
51730
51515
|
"project",
|
|
51731
51516
|
"task",
|
|
51732
|
-
"description"
|
|
51733
|
-
"tags"
|
|
51517
|
+
"description"
|
|
51734
51518
|
]) })),
|
|
51735
51519
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51736
51520
|
}) }),
|
|
@@ -51760,7 +51544,6 @@ const generatedFocusOperations = [
|
|
|
51760
51544
|
},
|
|
51761
51545
|
mcp: { entityTool: "time-entries" },
|
|
51762
51546
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51763
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51764
51547
|
payload: /* @__PURE__ */ looseObject({
|
|
51765
51548
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51766
51549
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -51771,13 +51554,11 @@ const generatedFocusOperations = [
|
|
|
51771
51554
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51772
51555
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51773
51556
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51774
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51775
51557
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51776
51558
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51777
51559
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51778
51560
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51779
51561
|
}),
|
|
51780
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51781
51562
|
task_id: /* @__PURE__ */ number$2()
|
|
51782
51563
|
}),
|
|
51783
51564
|
execute: (input, { client }) => {
|
|
@@ -51788,8 +51569,6 @@ const generatedFocusOperations = [
|
|
|
51788
51569
|
client.workspaceIdNumber,
|
|
51789
51570
|
data.task_id,
|
|
51790
51571
|
data.payload ?? data.data ?? data,
|
|
51791
|
-
data.from_recurring_task_id,
|
|
51792
|
-
data.return_occurrence,
|
|
51793
51572
|
void 0
|
|
51794
51573
|
]));
|
|
51795
51574
|
}
|
|
@@ -51809,26 +51588,21 @@ const generatedFocusOperations = [
|
|
|
51809
51588
|
interactive: "default"
|
|
51810
51589
|
},
|
|
51811
51590
|
mcp: { entityTool: "time-entries" },
|
|
51812
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51813
|
-
|
|
51814
|
-
|
|
51815
|
-
|
|
51816
|
-
|
|
51817
|
-
|
|
51818
|
-
|
|
51819
|
-
|
|
51820
|
-
|
|
51821
|
-
|
|
51822
|
-
|
|
51823
|
-
|
|
51824
|
-
|
|
51825
|
-
|
|
51826
|
-
|
|
51827
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51828
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51829
|
-
}),
|
|
51830
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51831
|
-
}),
|
|
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
|
+
}) }),
|
|
51832
51606
|
execute: (input, { client }) => {
|
|
51833
51607
|
const data = input;
|
|
51834
51608
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -51836,8 +51610,6 @@ const generatedFocusOperations = [
|
|
|
51836
51610
|
client.organizationId,
|
|
51837
51611
|
client.workspaceIdNumber,
|
|
51838
51612
|
data.payload ?? data.data ?? data,
|
|
51839
|
-
data.from_recurring_task_id,
|
|
51840
|
-
data.return_occurrence,
|
|
51841
51613
|
void 0
|
|
51842
51614
|
]));
|
|
51843
51615
|
}
|
|
@@ -51857,11 +51629,7 @@ const generatedFocusOperations = [
|
|
|
51857
51629
|
interactive: "default"
|
|
51858
51630
|
},
|
|
51859
51631
|
mcp: { entityTool: "time-entries" },
|
|
51860
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51861
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51862
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51863
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
51864
|
-
}),
|
|
51632
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
51865
51633
|
execute: (input, { client }) => {
|
|
51866
51634
|
const data = input;
|
|
51867
51635
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -51869,8 +51637,6 @@ const generatedFocusOperations = [
|
|
|
51869
51637
|
client.organizationId,
|
|
51870
51638
|
client.workspaceIdNumber,
|
|
51871
51639
|
data.time_entry_id,
|
|
51872
|
-
data.from_recurring_task_id,
|
|
51873
|
-
data.return_occurrence,
|
|
51874
51640
|
void 0
|
|
51875
51641
|
]));
|
|
51876
51642
|
}
|
|
@@ -51951,7 +51717,6 @@ const generatedFocusOperations = [
|
|
|
51951
51717
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
51952
51718
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
51953
51719
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
51954
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
51955
51720
|
status_id: /* @__PURE__ */ number$2(),
|
|
51956
51721
|
task_id: /* @__PURE__ */ number$2(),
|
|
51957
51722
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -52128,14 +51893,12 @@ const generatedFocusOperations = [
|
|
|
52128
51893
|
},
|
|
52129
51894
|
mcp: { entityTool: "time-entries" },
|
|
52130
51895
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52131
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52132
51896
|
payload: /* @__PURE__ */ looseObject({
|
|
52133
51897
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52134
51898
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52135
51899
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52136
51900
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
52137
51901
|
}),
|
|
52138
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52139
51902
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52140
51903
|
}),
|
|
52141
51904
|
execute: (input, { client }) => {
|
|
@@ -52146,8 +51909,6 @@ const generatedFocusOperations = [
|
|
|
52146
51909
|
client.workspaceIdNumber,
|
|
52147
51910
|
data.time_entry_id,
|
|
52148
51911
|
data.payload ?? data.data ?? data,
|
|
52149
|
-
data.from_recurring_task_id,
|
|
52150
|
-
data.return_occurrence,
|
|
52151
51912
|
void 0
|
|
52152
51913
|
]));
|
|
52153
51914
|
}
|
|
@@ -52405,7 +52166,6 @@ const generatedFocusOperations = [
|
|
|
52405
52166
|
},
|
|
52406
52167
|
mcp: { entityTool: "time-entries" },
|
|
52407
52168
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52408
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52409
52169
|
payload: /* @__PURE__ */ looseObject({
|
|
52410
52170
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52411
52171
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -52418,7 +52178,6 @@ const generatedFocusOperations = [
|
|
|
52418
52178
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52419
52179
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52420
52180
|
}),
|
|
52421
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52422
52181
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52423
52182
|
}),
|
|
52424
52183
|
execute: (input, { client }) => {
|
|
@@ -52429,8 +52188,6 @@ const generatedFocusOperations = [
|
|
|
52429
52188
|
client.workspaceIdNumber,
|
|
52430
52189
|
data.time_entry_id,
|
|
52431
52190
|
data.payload ?? data.data ?? data,
|
|
52432
|
-
data.from_recurring_task_id,
|
|
52433
|
-
data.return_occurrence,
|
|
52434
52191
|
void 0
|
|
52435
52192
|
]));
|
|
52436
52193
|
}
|
|
@@ -52946,40 +52703,6 @@ const generatedFocusOperations = [
|
|
|
52946
52703
|
]));
|
|
52947
52704
|
}
|
|
52948
52705
|
},
|
|
52949
|
-
{
|
|
52950
|
-
id: "focus.timesheets.get-status-counts",
|
|
52951
|
-
family: "focus",
|
|
52952
|
-
resource: "timesheets",
|
|
52953
|
-
action: "get-status-counts",
|
|
52954
|
-
title: "Get Status Counts Timesheets",
|
|
52955
|
-
description: "Get Status Counts Timesheets.",
|
|
52956
|
-
safety: "read",
|
|
52957
|
-
destructive: false,
|
|
52958
|
-
cli: {
|
|
52959
|
-
group: ["timesheets"],
|
|
52960
|
-
command: "get-status-counts",
|
|
52961
|
-
interactive: "hidden"
|
|
52962
|
-
},
|
|
52963
|
-
mcp: { entityTool: "timesheets" },
|
|
52964
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52965
|
-
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
52966
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
52967
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
52968
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
52969
|
-
team_ids: /* @__PURE__ */ unknown$1(),
|
|
52970
|
-
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
52971
|
-
}),
|
|
52972
|
-
execute: (input, { client }) => {
|
|
52973
|
-
const data = input;
|
|
52974
|
-
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
52975
|
-
client.httpClient,
|
|
52976
|
-
client.organizationId,
|
|
52977
|
-
client.workspaceIdNumber,
|
|
52978
|
-
data,
|
|
52979
|
-
void 0
|
|
52980
|
-
]));
|
|
52981
|
-
}
|
|
52982
|
-
},
|
|
52983
52706
|
{
|
|
52984
52707
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
52985
52708
|
family: "focus",
|
|
@@ -53529,33 +53252,6 @@ const generatedFocusOperations = [
|
|
|
53529
53252
|
]));
|
|
53530
53253
|
}
|
|
53531
53254
|
},
|
|
53532
|
-
{
|
|
53533
|
-
id: "focus.track-team-invites.post",
|
|
53534
|
-
family: "focus",
|
|
53535
|
-
resource: "track-team-invites",
|
|
53536
|
-
action: "post",
|
|
53537
|
-
title: "Post Track Team Invites",
|
|
53538
|
-
description: "Post Track Team Invites.",
|
|
53539
|
-
safety: "create",
|
|
53540
|
-
destructive: false,
|
|
53541
|
-
cli: {
|
|
53542
|
-
group: ["track-team-invites"],
|
|
53543
|
-
command: "post",
|
|
53544
|
-
interactive: "default"
|
|
53545
|
-
},
|
|
53546
|
-
mcp: { entityTool: "track-team-invites" },
|
|
53547
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
53548
|
-
execute: (input, { client }) => {
|
|
53549
|
-
const data = input;
|
|
53550
|
-
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
53551
|
-
client.httpClient,
|
|
53552
|
-
client.organizationId,
|
|
53553
|
-
client.workspaceIdNumber,
|
|
53554
|
-
data.payload ?? data.data ?? data,
|
|
53555
|
-
void 0
|
|
53556
|
-
]));
|
|
53557
|
-
}
|
|
53558
|
-
},
|
|
53559
53255
|
{
|
|
53560
53256
|
id: "focus.users.list",
|
|
53561
53257
|
family: "focus",
|
|
@@ -53577,56 +53273,6 @@ const generatedFocusOperations = [
|
|
|
53577
53273
|
return client.listOrgUsers(data);
|
|
53578
53274
|
}
|
|
53579
53275
|
},
|
|
53580
|
-
{
|
|
53581
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
53582
|
-
family: "focus",
|
|
53583
|
-
resource: "users",
|
|
53584
|
-
action: "settings-email-unsubscribe",
|
|
53585
|
-
title: "Settings Email Unsubscribe Users",
|
|
53586
|
-
description: "Settings Email Unsubscribe Users.",
|
|
53587
|
-
safety: "update",
|
|
53588
|
-
destructive: false,
|
|
53589
|
-
cli: {
|
|
53590
|
-
group: ["users", "settings"],
|
|
53591
|
-
command: "email-unsubscribe",
|
|
53592
|
-
interactive: "default"
|
|
53593
|
-
},
|
|
53594
|
-
mcp: { entityTool: "users" },
|
|
53595
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53596
|
-
execute: (input, { client }) => {
|
|
53597
|
-
const data = input;
|
|
53598
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
53599
|
-
client.httpClient,
|
|
53600
|
-
data.token,
|
|
53601
|
-
void 0
|
|
53602
|
-
]));
|
|
53603
|
-
}
|
|
53604
|
-
},
|
|
53605
|
-
{
|
|
53606
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
53607
|
-
family: "focus",
|
|
53608
|
-
resource: "users",
|
|
53609
|
-
action: "settings-email-unsubscribe-page",
|
|
53610
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
53611
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
53612
|
-
safety: "read",
|
|
53613
|
-
destructive: false,
|
|
53614
|
-
cli: {
|
|
53615
|
-
group: ["users", "settings"],
|
|
53616
|
-
command: "email-unsubscribe-page",
|
|
53617
|
-
interactive: "available"
|
|
53618
|
-
},
|
|
53619
|
-
mcp: { entityTool: "users" },
|
|
53620
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53621
|
-
execute: (input, { client }) => {
|
|
53622
|
-
const data = input;
|
|
53623
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
53624
|
-
client.httpClient,
|
|
53625
|
-
data.token,
|
|
53626
|
-
void 0
|
|
53627
|
-
]));
|
|
53628
|
-
}
|
|
53629
|
-
},
|
|
53630
53276
|
{
|
|
53631
53277
|
id: "focus.users.settings-list",
|
|
53632
53278
|
family: "focus",
|
|
@@ -53688,9 +53334,6 @@ const generatedFocusOperations = [
|
|
|
53688
53334
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53689
53335
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53690
53336
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53691
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53692
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53693
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53694
53337
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53695
53338
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53696
53339
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -55234,7 +54877,7 @@ function registerWorkspaceTools(server) {
|
|
|
55234
54877
|
//#region src/package-version.ts
|
|
55235
54878
|
function mcpPackageVersion() {
|
|
55236
54879
|
try {
|
|
55237
|
-
return "1.11.
|
|
54880
|
+
return "1.11.46";
|
|
55238
54881
|
} catch {
|
|
55239
54882
|
return "unknown";
|
|
55240
54883
|
}
|
|
@@ -55409,7 +55052,7 @@ import_main.default.config({
|
|
|
55409
55052
|
quiet: true,
|
|
55410
55053
|
ignore: ["MISSING_ENV_FILE"]
|
|
55411
55054
|
});
|
|
55412
|
-
const packageVersion = "1.11.
|
|
55055
|
+
const packageVersion = "1.11.46";
|
|
55413
55056
|
function resolvePublicUrls() {
|
|
55414
55057
|
return {
|
|
55415
55058
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55474,4 +55117,4 @@ function bootstrapServer(options = {}) {
|
|
|
55474
55117
|
//#endregion
|
|
55475
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 };
|
|
55476
55119
|
|
|
55477
|
-
//# sourceMappingURL=src-
|
|
55120
|
+
//# sourceMappingURL=src-BMU8cW_L.js.map
|