@togglhq/mcp 1.11.44 → 1.11.45
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-CpNVfYSs.js → src-B3hX0vOB.js} +467 -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-B3hX0vOB.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.45";
|
|
169
169
|
let sentryEnabled = false;
|
|
170
170
|
let productAnalyticsEnabled = false;
|
|
171
171
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -34769,6 +34769,7 @@ 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."))),
|
|
34772
34773
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34773
34774
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34774
34775
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -34830,6 +34831,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34830
34831
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34831
34832
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34832
34833
|
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."))),
|
|
34833
34835
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34834
34836
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34835
34837
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -35012,6 +35014,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
35012
35014
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35013
35015
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35014
35016
|
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."))),
|
|
35015
35019
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35016
35020
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35017
35021
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35097,6 +35101,7 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
35097
35101
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35098
35102
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35099
35103
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35104
|
+
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35100
35105
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
35101
35106
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35102
35107
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
@@ -35176,6 +35181,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35176
35181
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35177
35182
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35178
35183
|
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."))),
|
|
35179
35186
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35180
35187
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35181
35188
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35348,8 +35355,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35348
35355
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35349
35356
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35350
35357
|
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
35358
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35354
35359
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35355
35360
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35406,6 +35411,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35406
35411
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35407
35412
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35408
35413
|
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."))),
|
|
35409
35415
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35410
35416
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35411
35417
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35442,6 +35448,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35442
35448
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35443
35449
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35444
35450
|
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."))),
|
|
35445
35452
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35446
35453
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35447
35454
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -37388,7 +37395,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37388
37395
|
})
|
|
37389
37396
|
}).json();
|
|
37390
37397
|
}
|
|
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) {
|
|
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, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
37392
37399
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37393
37400
|
signal,
|
|
37394
37401
|
searchParams: buildSearchParams$2({
|
|
@@ -37409,6 +37416,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37409
37416
|
include_rates,
|
|
37410
37417
|
pinned_ids,
|
|
37411
37418
|
has_group,
|
|
37419
|
+
track_without_focus,
|
|
37412
37420
|
cf_filter,
|
|
37413
37421
|
include_custom_fields,
|
|
37414
37422
|
include_calendar_integration
|
|
@@ -37510,10 +37518,18 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
37510
37518
|
}
|
|
37511
37519
|
//#endregion
|
|
37512
37520
|
//#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) {
|
|
37521
|
+
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
37522
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37515
37523
|
signal,
|
|
37516
37524
|
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,
|
|
37517
37533
|
page,
|
|
37518
37534
|
per_page,
|
|
37519
37535
|
order_by,
|
|
@@ -37763,7 +37779,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37763
37779
|
}
|
|
37764
37780
|
//#endregion
|
|
37765
37781
|
//#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) {
|
|
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37767
37783
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37768
37784
|
signal,
|
|
37769
37785
|
searchParams: buildSearchParams$2({
|
|
@@ -37814,7 +37830,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37814
37830
|
include_assignees,
|
|
37815
37831
|
include_parent_matches,
|
|
37816
37832
|
disable_aggregations,
|
|
37817
|
-
cf_filter
|
|
37833
|
+
cf_filter,
|
|
37834
|
+
recurring_occurrences_after,
|
|
37835
|
+
max_recurring_occurrences_after,
|
|
37836
|
+
recurring_task_read,
|
|
37837
|
+
include_projected_occurrences
|
|
37818
37838
|
})
|
|
37819
37839
|
}).json();
|
|
37820
37840
|
}
|
|
@@ -37889,16 +37909,17 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
37889
37909
|
})
|
|
37890
37910
|
}).json();
|
|
37891
37911
|
}
|
|
37892
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
37912
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
|
|
37893
37913
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
37894
37914
|
signal,
|
|
37895
37915
|
searchParams: buildSearchParams$2({
|
|
37896
37916
|
date_from,
|
|
37897
|
-
date_to
|
|
37917
|
+
date_to,
|
|
37918
|
+
skip_provider_refresh
|
|
37898
37919
|
})
|
|
37899
37920
|
}).json();
|
|
37900
37921
|
}
|
|
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) {
|
|
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37902
37923
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37903
37924
|
signal,
|
|
37904
37925
|
searchParams: buildSearchParams$2({
|
|
@@ -37914,11 +37935,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37914
37935
|
assignee_team_id,
|
|
37915
37936
|
assignee_user_id,
|
|
37916
37937
|
tag_id,
|
|
37917
|
-
include_assignees
|
|
37938
|
+
include_assignees,
|
|
37939
|
+
recurring_occurrences_after,
|
|
37940
|
+
max_recurring_occurrences_after,
|
|
37941
|
+
recurring_task_read,
|
|
37942
|
+
include_projected_occurrences
|
|
37918
37943
|
})
|
|
37919
37944
|
}).json();
|
|
37920
37945
|
}
|
|
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) {
|
|
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37922
37947
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37923
37948
|
signal,
|
|
37924
37949
|
searchParams: buildSearchParams$2({
|
|
@@ -37963,7 +37988,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37963
37988
|
recurring_task_ids,
|
|
37964
37989
|
client_id,
|
|
37965
37990
|
include_assignees,
|
|
37966
|
-
cf_filter
|
|
37991
|
+
cf_filter,
|
|
37992
|
+
recurring_occurrences_after,
|
|
37993
|
+
max_recurring_occurrences_after,
|
|
37994
|
+
recurring_task_read,
|
|
37995
|
+
include_projected_occurrences
|
|
37967
37996
|
})
|
|
37968
37997
|
}).json();
|
|
37969
37998
|
}
|
|
@@ -38018,6 +38047,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
38018
38047
|
})
|
|
38019
38048
|
}).json();
|
|
38020
38049
|
}
|
|
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
|
+
}
|
|
38021
38056
|
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
38057
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
38023
38058
|
signal,
|
|
@@ -38154,16 +38189,24 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
38154
38189
|
})
|
|
38155
38190
|
}).json();
|
|
38156
38191
|
}
|
|
38157
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
38192
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38158
38193
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
38159
38194
|
signal,
|
|
38160
|
-
json: data
|
|
38195
|
+
json: data,
|
|
38196
|
+
searchParams: buildSearchParams$2({
|
|
38197
|
+
from_recurring_task_id,
|
|
38198
|
+
return_occurrence
|
|
38199
|
+
})
|
|
38161
38200
|
}).json();
|
|
38162
38201
|
}
|
|
38163
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
38202
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38164
38203
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
38165
38204
|
signal,
|
|
38166
|
-
json: data
|
|
38205
|
+
json: data,
|
|
38206
|
+
searchParams: buildSearchParams$2({
|
|
38207
|
+
from_recurring_task_id,
|
|
38208
|
+
return_occurrence
|
|
38209
|
+
})
|
|
38167
38210
|
}).json();
|
|
38168
38211
|
}
|
|
38169
38212
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -38214,7 +38257,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
38214
38257
|
json: data
|
|
38215
38258
|
}).json();
|
|
38216
38259
|
}
|
|
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) {
|
|
38260
|
+
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
38261
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
38219
38262
|
signal,
|
|
38220
38263
|
searchParams: buildSearchParams$2({
|
|
@@ -38222,6 +38265,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38222
38265
|
date_to,
|
|
38223
38266
|
task_id,
|
|
38224
38267
|
status_id,
|
|
38268
|
+
project_id,
|
|
38225
38269
|
type,
|
|
38226
38270
|
order_by,
|
|
38227
38271
|
archived,
|
|
@@ -38245,19 +38289,33 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
38245
38289
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38246
38290
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38247
38291
|
}
|
|
38248
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38292
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38249
38293
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38250
38294
|
signal,
|
|
38251
|
-
json: data
|
|
38295
|
+
json: data,
|
|
38296
|
+
searchParams: buildSearchParams$2({
|
|
38297
|
+
from_recurring_task_id,
|
|
38298
|
+
return_occurrence
|
|
38299
|
+
})
|
|
38252
38300
|
}).json();
|
|
38253
38301
|
}
|
|
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}`, {
|
|
38302
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
|
|
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();
|
|
38256
38310
|
}
|
|
38257
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38311
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38258
38312
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38259
38313
|
signal,
|
|
38260
|
-
json: data
|
|
38314
|
+
json: data,
|
|
38315
|
+
searchParams: buildSearchParams$2({
|
|
38316
|
+
from_recurring_task_id,
|
|
38317
|
+
return_occurrence
|
|
38318
|
+
})
|
|
38261
38319
|
}).json();
|
|
38262
38320
|
}
|
|
38263
38321
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -42154,13 +42212,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
42154
42212
|
}
|
|
42155
42213
|
//#endregion
|
|
42156
42214
|
//#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) {
|
|
42215
|
+
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
42216
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
42159
42217
|
signal,
|
|
42160
42218
|
searchParams: buildSearchParams$2({
|
|
42161
42219
|
workspace_id,
|
|
42162
42220
|
entity_type,
|
|
42163
42221
|
entity_id,
|
|
42222
|
+
project_id,
|
|
42223
|
+
custom_field_id,
|
|
42164
42224
|
action,
|
|
42165
42225
|
user_id,
|
|
42166
42226
|
page_size,
|
|
@@ -42169,12 +42229,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
42169
42229
|
})
|
|
42170
42230
|
}).json();
|
|
42171
42231
|
}
|
|
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) {
|
|
42232
|
+
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
42233
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
42174
42234
|
signal,
|
|
42175
42235
|
searchParams: buildSearchParams$2({
|
|
42176
42236
|
entity_type,
|
|
42177
42237
|
entity_id,
|
|
42238
|
+
project_id,
|
|
42239
|
+
custom_field_id,
|
|
42178
42240
|
action,
|
|
42179
42241
|
user_id,
|
|
42180
42242
|
page_size,
|
|
@@ -42327,13 +42389,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42327
42389
|
}
|
|
42328
42390
|
//#endregion
|
|
42329
42391
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42330
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, {
|
|
42392
|
+
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
42393
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42332
42394
|
signal,
|
|
42333
42395
|
searchParams: buildSearchParams$2({
|
|
42334
|
-
user_id,
|
|
42335
42396
|
start_date,
|
|
42336
42397
|
end_date,
|
|
42398
|
+
user_id,
|
|
42399
|
+
team_id,
|
|
42337
42400
|
private: private_,
|
|
42338
42401
|
task_source,
|
|
42339
42402
|
unit,
|
|
@@ -42393,6 +42456,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
42393
42456
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42394
42457
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
42395
42458
|
}
|
|
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
|
+
}
|
|
42396
42468
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42397
42469
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
42398
42470
|
signal,
|
|
@@ -42656,7 +42728,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42656
42728
|
}
|
|
42657
42729
|
//#endregion
|
|
42658
42730
|
//#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) {
|
|
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, include_recurring_series, cf_filter } = {}, signal) {
|
|
42660
42732
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42661
42733
|
signal,
|
|
42662
42734
|
searchParams: buildSearchParams$2({
|
|
@@ -42682,6 +42754,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42682
42754
|
user_id,
|
|
42683
42755
|
only_me,
|
|
42684
42756
|
include_drafts,
|
|
42757
|
+
include_recurring_series,
|
|
42685
42758
|
cf_filter
|
|
42686
42759
|
})
|
|
42687
42760
|
}).json();
|
|
@@ -42700,9 +42773,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
42700
42773
|
json: data
|
|
42701
42774
|
}).json();
|
|
42702
42775
|
}
|
|
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
42776
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
42707
42777
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
42708
42778
|
}
|
|
@@ -43006,9 +43076,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
43006
43076
|
}
|
|
43007
43077
|
//#endregion
|
|
43008
43078
|
//#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) {
|
|
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger }, signal) {
|
|
43010
43080
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
43011
43081
|
signal,
|
|
43082
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43012
43083
|
searchParams: buildSearchParams$2({
|
|
43013
43084
|
project_id,
|
|
43014
43085
|
source,
|
|
@@ -43037,13 +43108,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
43037
43108
|
min_days,
|
|
43038
43109
|
include_drafts,
|
|
43039
43110
|
cf_filter,
|
|
43040
|
-
user_cf_filter
|
|
43111
|
+
user_cf_filter,
|
|
43112
|
+
recurring_occurrences_after,
|
|
43113
|
+
max_recurring_occurrences_after,
|
|
43114
|
+
recurring_task_read,
|
|
43115
|
+
include_projected_occurrences
|
|
43041
43116
|
})
|
|
43042
43117
|
}).json();
|
|
43043
43118
|
}
|
|
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) {
|
|
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger } = {}, signal) {
|
|
43045
43120
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
43046
43121
|
signal,
|
|
43122
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43047
43123
|
searchParams: buildSearchParams$2({
|
|
43048
43124
|
team_id,
|
|
43049
43125
|
project_id,
|
|
@@ -43072,13 +43148,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
43072
43148
|
min_days,
|
|
43073
43149
|
include_drafts,
|
|
43074
43150
|
cf_filter,
|
|
43075
|
-
user_cf_filter
|
|
43151
|
+
user_cf_filter,
|
|
43152
|
+
recurring_occurrences_after,
|
|
43153
|
+
max_recurring_occurrences_after,
|
|
43154
|
+
recurring_task_read,
|
|
43155
|
+
include_projected_occurrences
|
|
43076
43156
|
})
|
|
43077
43157
|
}).json();
|
|
43078
43158
|
}
|
|
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) {
|
|
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, page, per_page, order_by, xTimelineFetchTrigger } = {}, signal) {
|
|
43080
43160
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
43081
43161
|
signal,
|
|
43162
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43082
43163
|
searchParams: buildSearchParams$2({
|
|
43083
43164
|
source,
|
|
43084
43165
|
priority,
|
|
@@ -43108,6 +43189,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
43108
43189
|
include_drafts,
|
|
43109
43190
|
cf_filter,
|
|
43110
43191
|
user_cf_filter,
|
|
43192
|
+
recurring_occurrences_after,
|
|
43193
|
+
max_recurring_occurrences_after,
|
|
43194
|
+
recurring_task_read,
|
|
43195
|
+
include_projected_occurrences,
|
|
43111
43196
|
page,
|
|
43112
43197
|
per_page,
|
|
43113
43198
|
order_by
|
|
@@ -43299,6 +43384,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
43299
43384
|
json: data
|
|
43300
43385
|
}).json();
|
|
43301
43386
|
}
|
|
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
|
+
}
|
|
43302
43400
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
43303
43401
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
43304
43402
|
}
|
|
@@ -43342,7 +43440,21 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
43342
43440
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
43343
43441
|
}
|
|
43344
43442
|
//#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
|
|
43345
43451
|
//#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
|
+
}
|
|
43346
43458
|
async function getUserSettings(httpClient, signal) {
|
|
43347
43459
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
43348
43460
|
}
|
|
@@ -43582,6 +43694,7 @@ const generatedFocusOperations = [
|
|
|
43582
43694
|
mcp: { entityTool: "audit-log" },
|
|
43583
43695
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43584
43696
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43697
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43585
43698
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43586
43699
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43587
43700
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43589,6 +43702,7 @@ const generatedFocusOperations = [
|
|
|
43589
43702
|
from: /* @__PURE__ */ string$1(),
|
|
43590
43703
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43591
43704
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43705
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43592
43706
|
to: /* @__PURE__ */ string$1(),
|
|
43593
43707
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43594
43708
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -43622,6 +43736,7 @@ const generatedFocusOperations = [
|
|
|
43622
43736
|
mcp: { entityTool: "audit-log" },
|
|
43623
43737
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43624
43738
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43739
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43625
43740
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43626
43741
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43627
43742
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43629,6 +43744,7 @@ const generatedFocusOperations = [
|
|
|
43629
43744
|
from: /* @__PURE__ */ string$1(),
|
|
43630
43745
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43631
43746
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43747
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43632
43748
|
to: /* @__PURE__ */ string$1(),
|
|
43633
43749
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43634
43750
|
}),
|
|
@@ -43668,6 +43784,7 @@ const generatedFocusOperations = [
|
|
|
43668
43784
|
private_: /* @__PURE__ */ unknown$1(),
|
|
43669
43785
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43670
43786
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
43787
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
43671
43788
|
unit: /* @__PURE__ */ unknown$1(),
|
|
43672
43789
|
user_id: /* @__PURE__ */ number$2()
|
|
43673
43790
|
}),
|
|
@@ -43917,8 +44034,6 @@ const generatedFocusOperations = [
|
|
|
43917
44034
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43918
44035
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43919
44036
|
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
44037
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43923
44038
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43924
44039
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -43952,8 +44067,6 @@ const generatedFocusOperations = [
|
|
|
43952
44067
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43953
44068
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43954
44069
|
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
44070
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43958
44071
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43959
44072
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -44108,6 +44221,33 @@ const generatedFocusOperations = [
|
|
|
44108
44221
|
]));
|
|
44109
44222
|
}
|
|
44110
44223
|
},
|
|
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
|
+
},
|
|
44111
44251
|
{
|
|
44112
44252
|
id: "focus.custom-fields.list",
|
|
44113
44253
|
family: "focus",
|
|
@@ -44277,6 +44417,37 @@ const generatedFocusOperations = [
|
|
|
44277
44417
|
]));
|
|
44278
44418
|
}
|
|
44279
44419
|
},
|
|
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
|
+
},
|
|
44280
44451
|
{
|
|
44281
44452
|
id: "focus.custom-fields.update",
|
|
44282
44453
|
family: "focus",
|
|
@@ -44423,13 +44594,7 @@ const generatedFocusOperations = [
|
|
|
44423
44594
|
},
|
|
44424
44595
|
mcp: { entityTool: "goals" },
|
|
44425
44596
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44426
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
44427
44597
|
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
44598
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44434
44599
|
"daily",
|
|
44435
44600
|
"weekly",
|
|
@@ -44437,12 +44602,18 @@ const generatedFocusOperations = [
|
|
|
44437
44602
|
"monthly"
|
|
44438
44603
|
]),
|
|
44439
44604
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44440
|
-
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44441
44605
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
44442
|
-
|
|
44443
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44606
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44444
44607
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44445
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
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()))
|
|
44446
44617
|
}) }),
|
|
44447
44618
|
execute: (input, { client }) => {
|
|
44448
44619
|
const data = input;
|
|
@@ -44548,13 +44719,6 @@ const generatedFocusOperations = [
|
|
|
44548
44719
|
},
|
|
44549
44720
|
mcp: { entityTool: "goals" },
|
|
44550
44721
|
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
44722
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44559
44723
|
"daily",
|
|
44560
44724
|
"weekly",
|
|
@@ -44562,12 +44726,19 @@ const generatedFocusOperations = [
|
|
|
44562
44726
|
"monthly"
|
|
44563
44727
|
]),
|
|
44564
44728
|
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()),
|
|
44729
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44569
44730
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44570
|
-
|
|
44731
|
+
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
|
|
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()))
|
|
44571
44742
|
}) }),
|
|
44572
44743
|
execute: (input, { client }) => {
|
|
44573
44744
|
const data = input;
|
|
@@ -45534,9 +45705,17 @@ const generatedFocusOperations = [
|
|
|
45534
45705
|
mcp: { entityTool: "projects" },
|
|
45535
45706
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45536
45707
|
payload: /* @__PURE__ */ looseObject({
|
|
45708
|
+
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45709
|
+
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
45537
45710
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45538
45711
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45539
45712
|
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()),
|
|
45540
45719
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
45541
45720
|
}),
|
|
45542
45721
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -45980,6 +46159,7 @@ const generatedFocusOperations = [
|
|
|
45980
46159
|
group: /* @__PURE__ */ string$1(),
|
|
45981
46160
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45982
46161
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46162
|
+
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45983
46163
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45984
46164
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45985
46165
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -46082,29 +46262,6 @@ const generatedFocusOperations = [
|
|
|
46082
46262
|
]));
|
|
46083
46263
|
}
|
|
46084
46264
|
},
|
|
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
46265
|
{
|
|
46109
46266
|
id: "focus.projects.margin-targets-get",
|
|
46110
46267
|
family: "focus",
|
|
@@ -48507,7 +48664,7 @@ const generatedFocusOperations = [
|
|
|
48507
48664
|
cli: {
|
|
48508
48665
|
group: ["reportschedules"],
|
|
48509
48666
|
command: "upsert-saved-view-schedule",
|
|
48510
|
-
interactive: "
|
|
48667
|
+
interactive: "hidden"
|
|
48511
48668
|
},
|
|
48512
48669
|
mcp: { entityTool: "reportschedules" },
|
|
48513
48670
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -48518,8 +48675,10 @@ const generatedFocusOperations = [
|
|
|
48518
48675
|
"weekly",
|
|
48519
48676
|
"monthly"
|
|
48520
48677
|
]),
|
|
48678
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
48521
48679
|
time: /* @__PURE__ */ string$1(),
|
|
48522
48680
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48681
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48523
48682
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48524
48683
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48525
48684
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -50068,6 +50227,37 @@ const generatedFocusOperations = [
|
|
|
50068
50227
|
return client.createTask(data);
|
|
50069
50228
|
}
|
|
50070
50229
|
},
|
|
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
|
+
},
|
|
50071
50261
|
{
|
|
50072
50262
|
id: "focus.tasks.delete",
|
|
50073
50263
|
family: "focus",
|
|
@@ -50315,9 +50505,13 @@ const generatedFocusOperations = [
|
|
|
50315
50505
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50316
50506
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50317
50507
|
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()),
|
|
50318
50510
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50319
50511
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50512
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50320
50513
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50514
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50321
50515
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50322
50516
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50323
50517
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -50369,7 +50563,9 @@ const generatedFocusOperations = [
|
|
|
50369
50563
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50370
50564
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50371
50565
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50566
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50372
50567
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50568
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50373
50569
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50374
50570
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50375
50571
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -50378,7 +50574,9 @@ const generatedFocusOperations = [
|
|
|
50378
50574
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50379
50575
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50380
50576
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50577
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50381
50578
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50579
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50382
50580
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50383
50581
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50384
50582
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50516,8 +50714,10 @@ const generatedFocusOperations = [
|
|
|
50516
50714
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50517
50715
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50518
50716
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50717
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50519
50718
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50520
50719
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50720
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50521
50721
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50522
50722
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50523
50723
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50526,6 +50726,8 @@ const generatedFocusOperations = [
|
|
|
50526
50726
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50527
50727
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50528
50728
|
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()),
|
|
50529
50731
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50530
50732
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50531
50733
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50534,7 +50736,8 @@ const generatedFocusOperations = [
|
|
|
50534
50736
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50535
50737
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50536
50738
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50537
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50739
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50740
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50538
50741
|
}),
|
|
50539
50742
|
execute: (input, { client }) => {
|
|
50540
50743
|
const data = input;
|
|
@@ -50576,13 +50779,17 @@ const generatedFocusOperations = [
|
|
|
50576
50779
|
group_id: /* @__PURE__ */ number$2(),
|
|
50577
50780
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50578
50781
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
50782
|
+
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
50579
50783
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50580
50784
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
50785
|
+
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50581
50786
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
50582
50787
|
name: /* @__PURE__ */ unknown$1(),
|
|
50583
50788
|
priority: /* @__PURE__ */ unknown$1(),
|
|
50584
50789
|
private_: /* @__PURE__ */ unknown$1(),
|
|
50585
50790
|
project_id: /* @__PURE__ */ number$2(),
|
|
50791
|
+
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50792
|
+
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
50586
50793
|
source: /* @__PURE__ */ unknown$1(),
|
|
50587
50794
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50588
50795
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -50591,7 +50798,8 @@ const generatedFocusOperations = [
|
|
|
50591
50798
|
tag_id: /* @__PURE__ */ number$2(),
|
|
50592
50799
|
team_id: /* @__PURE__ */ number$2(),
|
|
50593
50800
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50594
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
50801
|
+
user_tag_id: /* @__PURE__ */ number$2(),
|
|
50802
|
+
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
50595
50803
|
}),
|
|
50596
50804
|
execute: (input, { client }) => {
|
|
50597
50805
|
const data = input;
|
|
@@ -50632,13 +50840,17 @@ const generatedFocusOperations = [
|
|
|
50632
50840
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50633
50841
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50634
50842
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50843
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50635
50844
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50636
50845
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50846
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50637
50847
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50638
50848
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50639
50849
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50640
50850
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50641
50851
|
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()),
|
|
50642
50854
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50643
50855
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50644
50856
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50647,7 +50859,8 @@ const generatedFocusOperations = [
|
|
|
50647
50859
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50648
50860
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50649
50861
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50650
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50862
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50863
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50651
50864
|
}),
|
|
50652
50865
|
execute: (input, { client }) => {
|
|
50653
50866
|
const data = input;
|
|
@@ -50918,7 +51131,8 @@ const generatedFocusOperations = [
|
|
|
50918
51131
|
mcp: { entityTool: "tasks" },
|
|
50919
51132
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
50920
51133
|
date_from: /* @__PURE__ */ string$1(),
|
|
50921
|
-
date_to: /* @__PURE__ */ string$1()
|
|
51134
|
+
date_to: /* @__PURE__ */ string$1(),
|
|
51135
|
+
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50922
51136
|
}),
|
|
50923
51137
|
execute: (input, { client }) => {
|
|
50924
51138
|
const data = input;
|
|
@@ -50928,6 +51142,7 @@ const generatedFocusOperations = [
|
|
|
50928
51142
|
client.workspaceIdNumber,
|
|
50929
51143
|
data.date_from,
|
|
50930
51144
|
data.date_to,
|
|
51145
|
+
data.skip_provider_refresh,
|
|
50931
51146
|
void 0
|
|
50932
51147
|
]));
|
|
50933
51148
|
}
|
|
@@ -51514,7 +51729,8 @@ const generatedFocusOperations = [
|
|
|
51514
51729
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
51515
51730
|
"project",
|
|
51516
51731
|
"task",
|
|
51517
|
-
"description"
|
|
51732
|
+
"description",
|
|
51733
|
+
"tags"
|
|
51518
51734
|
]) })),
|
|
51519
51735
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51520
51736
|
}) }),
|
|
@@ -51544,6 +51760,7 @@ const generatedFocusOperations = [
|
|
|
51544
51760
|
},
|
|
51545
51761
|
mcp: { entityTool: "time-entries" },
|
|
51546
51762
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51763
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51547
51764
|
payload: /* @__PURE__ */ looseObject({
|
|
51548
51765
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51549
51766
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -51554,11 +51771,13 @@ const generatedFocusOperations = [
|
|
|
51554
51771
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51555
51772
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51556
51773
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51774
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51557
51775
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51558
51776
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51559
51777
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51560
51778
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51561
51779
|
}),
|
|
51780
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51562
51781
|
task_id: /* @__PURE__ */ number$2()
|
|
51563
51782
|
}),
|
|
51564
51783
|
execute: (input, { client }) => {
|
|
@@ -51569,6 +51788,8 @@ const generatedFocusOperations = [
|
|
|
51569
51788
|
client.workspaceIdNumber,
|
|
51570
51789
|
data.task_id,
|
|
51571
51790
|
data.payload ?? data.data ?? data,
|
|
51791
|
+
data.from_recurring_task_id,
|
|
51792
|
+
data.return_occurrence,
|
|
51572
51793
|
void 0
|
|
51573
51794
|
]));
|
|
51574
51795
|
}
|
|
@@ -51588,21 +51809,26 @@ const generatedFocusOperations = [
|
|
|
51588
51809
|
interactive: "default"
|
|
51589
51810
|
},
|
|
51590
51811
|
mcp: { entityTool: "time-entries" },
|
|
51591
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51592
|
-
|
|
51593
|
-
|
|
51594
|
-
|
|
51595
|
-
|
|
51596
|
-
|
|
51597
|
-
|
|
51598
|
-
|
|
51599
|
-
|
|
51600
|
-
|
|
51601
|
-
|
|
51602
|
-
|
|
51603
|
-
|
|
51604
|
-
|
|
51605
|
-
|
|
51812
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51813
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51814
|
+
payload: /* @__PURE__ */ looseObject({
|
|
51815
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51816
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51817
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51818
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51819
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51820
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51821
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51822
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51823
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51824
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51825
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51826
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
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
|
+
}),
|
|
51606
51832
|
execute: (input, { client }) => {
|
|
51607
51833
|
const data = input;
|
|
51608
51834
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -51610,6 +51836,8 @@ const generatedFocusOperations = [
|
|
|
51610
51836
|
client.organizationId,
|
|
51611
51837
|
client.workspaceIdNumber,
|
|
51612
51838
|
data.payload ?? data.data ?? data,
|
|
51839
|
+
data.from_recurring_task_id,
|
|
51840
|
+
data.return_occurrence,
|
|
51613
51841
|
void 0
|
|
51614
51842
|
]));
|
|
51615
51843
|
}
|
|
@@ -51629,7 +51857,11 @@ const generatedFocusOperations = [
|
|
|
51629
51857
|
interactive: "default"
|
|
51630
51858
|
},
|
|
51631
51859
|
mcp: { entityTool: "time-entries" },
|
|
51632
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
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
|
+
}),
|
|
51633
51865
|
execute: (input, { client }) => {
|
|
51634
51866
|
const data = input;
|
|
51635
51867
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -51637,6 +51869,8 @@ const generatedFocusOperations = [
|
|
|
51637
51869
|
client.organizationId,
|
|
51638
51870
|
client.workspaceIdNumber,
|
|
51639
51871
|
data.time_entry_id,
|
|
51872
|
+
data.from_recurring_task_id,
|
|
51873
|
+
data.return_occurrence,
|
|
51640
51874
|
void 0
|
|
51641
51875
|
]));
|
|
51642
51876
|
}
|
|
@@ -51717,6 +51951,7 @@ const generatedFocusOperations = [
|
|
|
51717
51951
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
51718
51952
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
51719
51953
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
51954
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
51720
51955
|
status_id: /* @__PURE__ */ number$2(),
|
|
51721
51956
|
task_id: /* @__PURE__ */ number$2(),
|
|
51722
51957
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -51893,12 +52128,14 @@ const generatedFocusOperations = [
|
|
|
51893
52128
|
},
|
|
51894
52129
|
mcp: { entityTool: "time-entries" },
|
|
51895
52130
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52131
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51896
52132
|
payload: /* @__PURE__ */ looseObject({
|
|
51897
52133
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51898
52134
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51899
52135
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51900
52136
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
51901
52137
|
}),
|
|
52138
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51902
52139
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
51903
52140
|
}),
|
|
51904
52141
|
execute: (input, { client }) => {
|
|
@@ -51909,6 +52146,8 @@ const generatedFocusOperations = [
|
|
|
51909
52146
|
client.workspaceIdNumber,
|
|
51910
52147
|
data.time_entry_id,
|
|
51911
52148
|
data.payload ?? data.data ?? data,
|
|
52149
|
+
data.from_recurring_task_id,
|
|
52150
|
+
data.return_occurrence,
|
|
51912
52151
|
void 0
|
|
51913
52152
|
]));
|
|
51914
52153
|
}
|
|
@@ -52166,6 +52405,7 @@ const generatedFocusOperations = [
|
|
|
52166
52405
|
},
|
|
52167
52406
|
mcp: { entityTool: "time-entries" },
|
|
52168
52407
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52408
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52169
52409
|
payload: /* @__PURE__ */ looseObject({
|
|
52170
52410
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52171
52411
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -52178,6 +52418,7 @@ const generatedFocusOperations = [
|
|
|
52178
52418
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52179
52419
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52180
52420
|
}),
|
|
52421
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52181
52422
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52182
52423
|
}),
|
|
52183
52424
|
execute: (input, { client }) => {
|
|
@@ -52188,6 +52429,8 @@ const generatedFocusOperations = [
|
|
|
52188
52429
|
client.workspaceIdNumber,
|
|
52189
52430
|
data.time_entry_id,
|
|
52190
52431
|
data.payload ?? data.data ?? data,
|
|
52432
|
+
data.from_recurring_task_id,
|
|
52433
|
+
data.return_occurrence,
|
|
52191
52434
|
void 0
|
|
52192
52435
|
]));
|
|
52193
52436
|
}
|
|
@@ -52703,6 +52946,40 @@ const generatedFocusOperations = [
|
|
|
52703
52946
|
]));
|
|
52704
52947
|
}
|
|
52705
52948
|
},
|
|
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
|
+
},
|
|
52706
52983
|
{
|
|
52707
52984
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
52708
52985
|
family: "focus",
|
|
@@ -53252,6 +53529,33 @@ const generatedFocusOperations = [
|
|
|
53252
53529
|
]));
|
|
53253
53530
|
}
|
|
53254
53531
|
},
|
|
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
|
+
},
|
|
53255
53559
|
{
|
|
53256
53560
|
id: "focus.users.list",
|
|
53257
53561
|
family: "focus",
|
|
@@ -53273,6 +53577,56 @@ const generatedFocusOperations = [
|
|
|
53273
53577
|
return client.listOrgUsers(data);
|
|
53274
53578
|
}
|
|
53275
53579
|
},
|
|
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
|
+
},
|
|
53276
53630
|
{
|
|
53277
53631
|
id: "focus.users.settings-list",
|
|
53278
53632
|
family: "focus",
|
|
@@ -53334,6 +53688,9 @@ const generatedFocusOperations = [
|
|
|
53334
53688
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53335
53689
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53336
53690
|
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()),
|
|
53337
53694
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53338
53695
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53339
53696
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -54877,7 +55234,7 @@ function registerWorkspaceTools(server) {
|
|
|
54877
55234
|
//#region src/package-version.ts
|
|
54878
55235
|
function mcpPackageVersion() {
|
|
54879
55236
|
try {
|
|
54880
|
-
return "1.11.
|
|
55237
|
+
return "1.11.45";
|
|
54881
55238
|
} catch {
|
|
54882
55239
|
return "unknown";
|
|
54883
55240
|
}
|
|
@@ -55052,7 +55409,7 @@ import_main.default.config({
|
|
|
55052
55409
|
quiet: true,
|
|
55053
55410
|
ignore: ["MISSING_ENV_FILE"]
|
|
55054
55411
|
});
|
|
55055
|
-
const packageVersion = "1.11.
|
|
55412
|
+
const packageVersion = "1.11.45";
|
|
55056
55413
|
function resolvePublicUrls() {
|
|
55057
55414
|
return {
|
|
55058
55415
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55117,4 +55474,4 @@ function bootstrapServer(options = {}) {
|
|
|
55117
55474
|
//#endregion
|
|
55118
55475
|
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
55476
|
|
|
55120
|
-
//# sourceMappingURL=src-
|
|
55477
|
+
//# sourceMappingURL=src-B3hX0vOB.js.map
|