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