@togglhq/mcp 1.11.51 → 1.11.52
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-C9UA1WKs.js → src-CHyj992d.js} +872 -162
- package/package.json +1 -1
|
@@ -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,19 @@ 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_include_unassigned, 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_include_unassigned,
|
|
37534
|
+
task_name,
|
|
37517
37535
|
page,
|
|
37518
37536
|
per_page,
|
|
37519
37537
|
order_by,
|
|
@@ -37763,7 +37781,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37763
37781
|
}
|
|
37764
37782
|
//#endregion
|
|
37765
37783
|
//#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) {
|
|
37784
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37767
37785
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37768
37786
|
signal,
|
|
37769
37787
|
searchParams: buildSearchParams$2({
|
|
@@ -37814,7 +37832,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37814
37832
|
include_assignees,
|
|
37815
37833
|
include_parent_matches,
|
|
37816
37834
|
disable_aggregations,
|
|
37817
|
-
cf_filter
|
|
37835
|
+
cf_filter,
|
|
37836
|
+
recurring_occurrences_after,
|
|
37837
|
+
max_recurring_occurrences_after,
|
|
37838
|
+
recurring_task_read,
|
|
37839
|
+
include_projected_occurrences
|
|
37818
37840
|
})
|
|
37819
37841
|
}).json();
|
|
37820
37842
|
}
|
|
@@ -37889,16 +37911,17 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
37889
37911
|
})
|
|
37890
37912
|
}).json();
|
|
37891
37913
|
}
|
|
37892
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
37914
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
|
|
37893
37915
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
37894
37916
|
signal,
|
|
37895
37917
|
searchParams: buildSearchParams$2({
|
|
37896
37918
|
date_from,
|
|
37897
|
-
date_to
|
|
37919
|
+
date_to,
|
|
37920
|
+
skip_provider_refresh
|
|
37898
37921
|
})
|
|
37899
37922
|
}).json();
|
|
37900
37923
|
}
|
|
37901
|
-
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
37924
|
+
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
37925
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37903
37926
|
signal,
|
|
37904
37927
|
searchParams: buildSearchParams$2({
|
|
@@ -37914,11 +37937,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37914
37937
|
assignee_team_id,
|
|
37915
37938
|
assignee_user_id,
|
|
37916
37939
|
tag_id,
|
|
37917
|
-
include_assignees
|
|
37940
|
+
include_assignees,
|
|
37941
|
+
recurring_occurrences_after,
|
|
37942
|
+
max_recurring_occurrences_after,
|
|
37943
|
+
recurring_task_read,
|
|
37944
|
+
include_projected_occurrences
|
|
37918
37945
|
})
|
|
37919
37946
|
}).json();
|
|
37920
37947
|
}
|
|
37921
|
-
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
|
|
37948
|
+
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
37949
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37923
37950
|
signal,
|
|
37924
37951
|
searchParams: buildSearchParams$2({
|
|
@@ -37963,7 +37990,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37963
37990
|
recurring_task_ids,
|
|
37964
37991
|
client_id,
|
|
37965
37992
|
include_assignees,
|
|
37966
|
-
cf_filter
|
|
37993
|
+
cf_filter,
|
|
37994
|
+
recurring_occurrences_after,
|
|
37995
|
+
max_recurring_occurrences_after,
|
|
37996
|
+
recurring_task_read,
|
|
37997
|
+
include_projected_occurrences
|
|
37967
37998
|
})
|
|
37968
37999
|
}).json();
|
|
37969
38000
|
}
|
|
@@ -38018,6 +38049,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
38018
38049
|
})
|
|
38019
38050
|
}).json();
|
|
38020
38051
|
}
|
|
38052
|
+
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
38053
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
38054
|
+
signal,
|
|
38055
|
+
searchParams: buildSearchParams$2({ return_occurrence })
|
|
38056
|
+
}).json();
|
|
38057
|
+
}
|
|
38021
38058
|
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
38059
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
38023
38060
|
signal,
|
|
@@ -38154,16 +38191,24 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
38154
38191
|
})
|
|
38155
38192
|
}).json();
|
|
38156
38193
|
}
|
|
38157
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
38194
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38158
38195
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
38159
38196
|
signal,
|
|
38160
|
-
json: data
|
|
38197
|
+
json: data,
|
|
38198
|
+
searchParams: buildSearchParams$2({
|
|
38199
|
+
from_recurring_task_id,
|
|
38200
|
+
return_occurrence
|
|
38201
|
+
})
|
|
38161
38202
|
}).json();
|
|
38162
38203
|
}
|
|
38163
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
38204
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38164
38205
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
38165
38206
|
signal,
|
|
38166
|
-
json: data
|
|
38207
|
+
json: data,
|
|
38208
|
+
searchParams: buildSearchParams$2({
|
|
38209
|
+
from_recurring_task_id,
|
|
38210
|
+
return_occurrence
|
|
38211
|
+
})
|
|
38167
38212
|
}).json();
|
|
38168
38213
|
}
|
|
38169
38214
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -38214,7 +38259,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
38214
38259
|
json: data
|
|
38215
38260
|
}).json();
|
|
38216
38261
|
}
|
|
38217
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
|
|
38262
|
+
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
38263
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
38219
38264
|
signal,
|
|
38220
38265
|
searchParams: buildSearchParams$2({
|
|
@@ -38222,6 +38267,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38222
38267
|
date_to,
|
|
38223
38268
|
task_id,
|
|
38224
38269
|
status_id,
|
|
38270
|
+
project_id,
|
|
38225
38271
|
type,
|
|
38226
38272
|
order_by,
|
|
38227
38273
|
archived,
|
|
@@ -38245,19 +38291,33 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
38245
38291
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38246
38292
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38247
38293
|
}
|
|
38248
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38294
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38249
38295
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38250
38296
|
signal,
|
|
38251
|
-
json: data
|
|
38297
|
+
json: data,
|
|
38298
|
+
searchParams: buildSearchParams$2({
|
|
38299
|
+
from_recurring_task_id,
|
|
38300
|
+
return_occurrence
|
|
38301
|
+
})
|
|
38252
38302
|
}).json();
|
|
38253
38303
|
}
|
|
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}`, {
|
|
38304
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
|
|
38305
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38306
|
+
signal,
|
|
38307
|
+
searchParams: buildSearchParams$2({
|
|
38308
|
+
from_recurring_task_id,
|
|
38309
|
+
return_occurrence
|
|
38310
|
+
})
|
|
38311
|
+
}).json();
|
|
38256
38312
|
}
|
|
38257
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38313
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38258
38314
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38259
38315
|
signal,
|
|
38260
|
-
json: data
|
|
38316
|
+
json: data,
|
|
38317
|
+
searchParams: buildSearchParams$2({
|
|
38318
|
+
from_recurring_task_id,
|
|
38319
|
+
return_occurrence
|
|
38320
|
+
})
|
|
38261
38321
|
}).json();
|
|
38262
38322
|
}
|
|
38263
38323
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -42154,13 +42214,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
42154
42214
|
}
|
|
42155
42215
|
//#endregion
|
|
42156
42216
|
//#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) {
|
|
42217
|
+
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
42218
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
42159
42219
|
signal,
|
|
42160
42220
|
searchParams: buildSearchParams$2({
|
|
42161
42221
|
workspace_id,
|
|
42162
42222
|
entity_type,
|
|
42163
42223
|
entity_id,
|
|
42224
|
+
project_id,
|
|
42225
|
+
custom_field_id,
|
|
42164
42226
|
action,
|
|
42165
42227
|
user_id,
|
|
42166
42228
|
page_size,
|
|
@@ -42169,12 +42231,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
42169
42231
|
})
|
|
42170
42232
|
}).json();
|
|
42171
42233
|
}
|
|
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) {
|
|
42234
|
+
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
42235
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
42174
42236
|
signal,
|
|
42175
42237
|
searchParams: buildSearchParams$2({
|
|
42176
42238
|
entity_type,
|
|
42177
42239
|
entity_id,
|
|
42240
|
+
project_id,
|
|
42241
|
+
custom_field_id,
|
|
42178
42242
|
action,
|
|
42179
42243
|
user_id,
|
|
42180
42244
|
page_size,
|
|
@@ -42327,13 +42391,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42327
42391
|
}
|
|
42328
42392
|
//#endregion
|
|
42329
42393
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42330
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, {
|
|
42394
|
+
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
42395
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42332
42396
|
signal,
|
|
42333
42397
|
searchParams: buildSearchParams$2({
|
|
42334
|
-
user_id,
|
|
42335
42398
|
start_date,
|
|
42336
42399
|
end_date,
|
|
42400
|
+
user_id,
|
|
42401
|
+
team_id,
|
|
42337
42402
|
private: private_,
|
|
42338
42403
|
task_source,
|
|
42339
42404
|
unit,
|
|
@@ -42393,6 +42458,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
42393
42458
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42394
42459
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
42395
42460
|
}
|
|
42461
|
+
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42462
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
42463
|
+
}
|
|
42464
|
+
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
42465
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
42466
|
+
signal,
|
|
42467
|
+
json: data
|
|
42468
|
+
}).json();
|
|
42469
|
+
}
|
|
42396
42470
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42397
42471
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
42398
42472
|
signal,
|
|
@@ -42656,7 +42730,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42656
42730
|
}
|
|
42657
42731
|
//#endregion
|
|
42658
42732
|
//#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) {
|
|
42733
|
+
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, include_recurring_series, cf_filter } = {}, signal) {
|
|
42660
42734
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42661
42735
|
signal,
|
|
42662
42736
|
searchParams: buildSearchParams$2({
|
|
@@ -42682,6 +42756,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42682
42756
|
user_id,
|
|
42683
42757
|
only_me,
|
|
42684
42758
|
include_drafts,
|
|
42759
|
+
include_recurring_series,
|
|
42685
42760
|
cf_filter
|
|
42686
42761
|
})
|
|
42687
42762
|
}).json();
|
|
@@ -42700,9 +42775,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
42700
42775
|
json: data
|
|
42701
42776
|
}).json();
|
|
42702
42777
|
}
|
|
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
42778
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
42707
42779
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
42708
42780
|
}
|
|
@@ -42728,6 +42800,37 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
42728
42800
|
}).json();
|
|
42729
42801
|
}
|
|
42730
42802
|
//#endregion
|
|
42803
|
+
//#region ../focus-queries/dist/publicsharedreports/requests.ts
|
|
42804
|
+
async function openPublicSharedReport(httpClient, token, signal) {
|
|
42805
|
+
return await httpClient.get(`shared/${token}`, { signal }).json();
|
|
42806
|
+
}
|
|
42807
|
+
async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
42808
|
+
return await httpClient.post(`shared/${token}/profitability`, {
|
|
42809
|
+
signal,
|
|
42810
|
+
json: data,
|
|
42811
|
+
searchParams: buildSearchParams$2({
|
|
42812
|
+
response_format,
|
|
42813
|
+
include_dicts
|
|
42814
|
+
})
|
|
42815
|
+
}).json();
|
|
42816
|
+
}
|
|
42817
|
+
async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
42818
|
+
return await httpClient.post(`shared/${token}/query`, {
|
|
42819
|
+
signal,
|
|
42820
|
+
json: data,
|
|
42821
|
+
searchParams: buildSearchParams$2({
|
|
42822
|
+
response_format,
|
|
42823
|
+
include_dicts
|
|
42824
|
+
})
|
|
42825
|
+
}).json();
|
|
42826
|
+
}
|
|
42827
|
+
async function workloadPublicSharedReport(httpClient, token, data, signal) {
|
|
42828
|
+
return await httpClient.post(`shared/${token}/workload`, {
|
|
42829
|
+
signal,
|
|
42830
|
+
json: data
|
|
42831
|
+
}).json();
|
|
42832
|
+
}
|
|
42833
|
+
//#endregion
|
|
42731
42834
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
42732
42835
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
42733
42836
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -42889,7 +42992,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42889
42992
|
}
|
|
42890
42993
|
//#endregion
|
|
42891
42994
|
//#region ../focus-queries/dist/search/requests.ts
|
|
42892
|
-
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
42995
|
+
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, include_unassigned, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
42893
42996
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42894
42997
|
signal,
|
|
42895
42998
|
searchParams: buildSearchParams$2({
|
|
@@ -42897,6 +43000,7 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
42897
43000
|
per_group,
|
|
42898
43001
|
assignee_user_id,
|
|
42899
43002
|
assignee_team_id,
|
|
43003
|
+
include_unassigned,
|
|
42900
43004
|
project_id,
|
|
42901
43005
|
task_id,
|
|
42902
43006
|
include_drafts,
|
|
@@ -42941,6 +43045,18 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
42941
43045
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
42942
43046
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42943
43047
|
}
|
|
43048
|
+
async function unshareSharedReport(httpClient, workspace_id, id, signal) {
|
|
43049
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
43050
|
+
}
|
|
43051
|
+
async function getSharedReportDates(httpClient, workspace_id, id, signal) {
|
|
43052
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
|
|
43053
|
+
}
|
|
43054
|
+
async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
|
|
43055
|
+
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
|
|
43056
|
+
signal,
|
|
43057
|
+
json: data
|
|
43058
|
+
}).json();
|
|
43059
|
+
}
|
|
42944
43060
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
42945
43061
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
42946
43062
|
signal,
|
|
@@ -42950,6 +43066,21 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
42950
43066
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
42951
43067
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
42952
43068
|
}
|
|
43069
|
+
async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
43070
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
|
|
43071
|
+
signal,
|
|
43072
|
+
json: data
|
|
43073
|
+
}).json();
|
|
43074
|
+
}
|
|
43075
|
+
async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
|
|
43076
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
|
|
43077
|
+
}
|
|
43078
|
+
async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
43079
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
|
|
43080
|
+
signal,
|
|
43081
|
+
json: data
|
|
43082
|
+
}).json();
|
|
43083
|
+
}
|
|
42953
43084
|
//#endregion
|
|
42954
43085
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
42955
43086
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -43006,9 +43137,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
43006
43137
|
}
|
|
43007
43138
|
//#endregion
|
|
43008
43139
|
//#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) {
|
|
43140
|
+
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
43141
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
43011
43142
|
signal,
|
|
43143
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43012
43144
|
searchParams: buildSearchParams$2({
|
|
43013
43145
|
project_id,
|
|
43014
43146
|
source,
|
|
@@ -43037,13 +43169,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
43037
43169
|
min_days,
|
|
43038
43170
|
include_drafts,
|
|
43039
43171
|
cf_filter,
|
|
43040
|
-
user_cf_filter
|
|
43172
|
+
user_cf_filter,
|
|
43173
|
+
recurring_occurrences_after,
|
|
43174
|
+
max_recurring_occurrences_after,
|
|
43175
|
+
recurring_task_read,
|
|
43176
|
+
include_projected_occurrences
|
|
43041
43177
|
})
|
|
43042
43178
|
}).json();
|
|
43043
43179
|
}
|
|
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) {
|
|
43180
|
+
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
43181
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
43046
43182
|
signal,
|
|
43183
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43047
43184
|
searchParams: buildSearchParams$2({
|
|
43048
43185
|
team_id,
|
|
43049
43186
|
project_id,
|
|
@@ -43072,13 +43209,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
43072
43209
|
min_days,
|
|
43073
43210
|
include_drafts,
|
|
43074
43211
|
cf_filter,
|
|
43075
|
-
user_cf_filter
|
|
43212
|
+
user_cf_filter,
|
|
43213
|
+
recurring_occurrences_after,
|
|
43214
|
+
max_recurring_occurrences_after,
|
|
43215
|
+
recurring_task_read,
|
|
43216
|
+
include_projected_occurrences
|
|
43076
43217
|
})
|
|
43077
43218
|
}).json();
|
|
43078
43219
|
}
|
|
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) {
|
|
43220
|
+
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
43221
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
43081
43222
|
signal,
|
|
43223
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43082
43224
|
searchParams: buildSearchParams$2({
|
|
43083
43225
|
source,
|
|
43084
43226
|
priority,
|
|
@@ -43108,6 +43250,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
43108
43250
|
include_drafts,
|
|
43109
43251
|
cf_filter,
|
|
43110
43252
|
user_cf_filter,
|
|
43253
|
+
recurring_occurrences_after,
|
|
43254
|
+
max_recurring_occurrences_after,
|
|
43255
|
+
recurring_task_read,
|
|
43256
|
+
include_projected_occurrences,
|
|
43111
43257
|
page,
|
|
43112
43258
|
per_page,
|
|
43113
43259
|
order_by
|
|
@@ -43299,6 +43445,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
43299
43445
|
json: data
|
|
43300
43446
|
}).json();
|
|
43301
43447
|
}
|
|
43448
|
+
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
43449
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
43450
|
+
signal,
|
|
43451
|
+
searchParams: buildSearchParams$2({
|
|
43452
|
+
date_from,
|
|
43453
|
+
date_to,
|
|
43454
|
+
setup_id,
|
|
43455
|
+
user_account_ids,
|
|
43456
|
+
approver_user_account_ids,
|
|
43457
|
+
team_ids
|
|
43458
|
+
})
|
|
43459
|
+
}).json();
|
|
43460
|
+
}
|
|
43302
43461
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
43303
43462
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
43304
43463
|
}
|
|
@@ -43342,7 +43501,21 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
43342
43501
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
43343
43502
|
}
|
|
43344
43503
|
//#endregion
|
|
43504
|
+
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
43505
|
+
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
43506
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
43507
|
+
signal,
|
|
43508
|
+
json: data
|
|
43509
|
+
}).json();
|
|
43510
|
+
}
|
|
43511
|
+
//#endregion
|
|
43345
43512
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
43513
|
+
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
43514
|
+
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
43515
|
+
}
|
|
43516
|
+
async function emailUnsubscribe(httpClient, token, signal) {
|
|
43517
|
+
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
43518
|
+
}
|
|
43346
43519
|
async function getUserSettings(httpClient, signal) {
|
|
43347
43520
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
43348
43521
|
}
|
|
@@ -43582,6 +43755,7 @@ const generatedFocusOperations = [
|
|
|
43582
43755
|
mcp: { entityTool: "audit-log" },
|
|
43583
43756
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43584
43757
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43758
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43585
43759
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43586
43760
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43587
43761
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43589,6 +43763,7 @@ const generatedFocusOperations = [
|
|
|
43589
43763
|
from: /* @__PURE__ */ string$1(),
|
|
43590
43764
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43591
43765
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43766
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43592
43767
|
to: /* @__PURE__ */ string$1(),
|
|
43593
43768
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43594
43769
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -43622,6 +43797,7 @@ const generatedFocusOperations = [
|
|
|
43622
43797
|
mcp: { entityTool: "audit-log" },
|
|
43623
43798
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43624
43799
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43800
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43625
43801
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43626
43802
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43627
43803
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43629,6 +43805,7 @@ const generatedFocusOperations = [
|
|
|
43629
43805
|
from: /* @__PURE__ */ string$1(),
|
|
43630
43806
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43631
43807
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43808
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43632
43809
|
to: /* @__PURE__ */ string$1(),
|
|
43633
43810
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43634
43811
|
}),
|
|
@@ -43668,6 +43845,7 @@ const generatedFocusOperations = [
|
|
|
43668
43845
|
private_: /* @__PURE__ */ unknown$1(),
|
|
43669
43846
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43670
43847
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
43848
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
43671
43849
|
unit: /* @__PURE__ */ unknown$1(),
|
|
43672
43850
|
user_id: /* @__PURE__ */ number$2()
|
|
43673
43851
|
}),
|
|
@@ -43917,8 +44095,6 @@ const generatedFocusOperations = [
|
|
|
43917
44095
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43918
44096
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43919
44097
|
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
44098
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43923
44099
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43924
44100
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -43952,8 +44128,6 @@ const generatedFocusOperations = [
|
|
|
43952
44128
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43953
44129
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43954
44130
|
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
44131
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43958
44132
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43959
44133
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -44108,6 +44282,33 @@ const generatedFocusOperations = [
|
|
|
44108
44282
|
]));
|
|
44109
44283
|
}
|
|
44110
44284
|
},
|
|
44285
|
+
{
|
|
44286
|
+
id: "focus.custom-fields.get-allowed-users",
|
|
44287
|
+
family: "focus",
|
|
44288
|
+
resource: "custom-fields",
|
|
44289
|
+
action: "get-allowed-users",
|
|
44290
|
+
title: "Get Allowed Users Custom Fields",
|
|
44291
|
+
description: "Get Allowed Users Custom Fields.",
|
|
44292
|
+
safety: "read",
|
|
44293
|
+
destructive: false,
|
|
44294
|
+
cli: {
|
|
44295
|
+
group: ["custom-fields"],
|
|
44296
|
+
command: "get-allowed-users",
|
|
44297
|
+
interactive: "available"
|
|
44298
|
+
},
|
|
44299
|
+
mcp: { entityTool: "custom-fields" },
|
|
44300
|
+
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
44301
|
+
execute: (input, { client }) => {
|
|
44302
|
+
const data = input;
|
|
44303
|
+
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
44304
|
+
client.httpClient,
|
|
44305
|
+
client.organizationId,
|
|
44306
|
+
client.workspaceIdNumber,
|
|
44307
|
+
data.custom_field_id,
|
|
44308
|
+
void 0
|
|
44309
|
+
]));
|
|
44310
|
+
}
|
|
44311
|
+
},
|
|
44111
44312
|
{
|
|
44112
44313
|
id: "focus.custom-fields.list",
|
|
44113
44314
|
family: "focus",
|
|
@@ -44277,6 +44478,37 @@ const generatedFocusOperations = [
|
|
|
44277
44478
|
]));
|
|
44278
44479
|
}
|
|
44279
44480
|
},
|
|
44481
|
+
{
|
|
44482
|
+
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
44483
|
+
family: "focus",
|
|
44484
|
+
resource: "custom-fields",
|
|
44485
|
+
action: "replace-custom-field-allowed-users",
|
|
44486
|
+
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
44487
|
+
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
44488
|
+
safety: "update",
|
|
44489
|
+
destructive: false,
|
|
44490
|
+
cli: {
|
|
44491
|
+
group: ["custom-fields"],
|
|
44492
|
+
command: "replace-custom-field-allowed-users",
|
|
44493
|
+
interactive: "default"
|
|
44494
|
+
},
|
|
44495
|
+
mcp: { entityTool: "custom-fields" },
|
|
44496
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
44497
|
+
custom_field_id: /* @__PURE__ */ number$2(),
|
|
44498
|
+
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
44499
|
+
}),
|
|
44500
|
+
execute: (input, { client }) => {
|
|
44501
|
+
const data = input;
|
|
44502
|
+
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
44503
|
+
client.httpClient,
|
|
44504
|
+
client.organizationId,
|
|
44505
|
+
client.workspaceIdNumber,
|
|
44506
|
+
data.custom_field_id,
|
|
44507
|
+
data.payload ?? data.data ?? data,
|
|
44508
|
+
void 0
|
|
44509
|
+
]));
|
|
44510
|
+
}
|
|
44511
|
+
},
|
|
44280
44512
|
{
|
|
44281
44513
|
id: "focus.custom-fields.update",
|
|
44282
44514
|
family: "focus",
|
|
@@ -44423,13 +44655,7 @@ const generatedFocusOperations = [
|
|
|
44423
44655
|
},
|
|
44424
44656
|
mcp: { entityTool: "goals" },
|
|
44425
44657
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44426
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
44427
44658
|
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
44659
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44434
44660
|
"daily",
|
|
44435
44661
|
"weekly",
|
|
@@ -44437,12 +44663,18 @@ const generatedFocusOperations = [
|
|
|
44437
44663
|
"monthly"
|
|
44438
44664
|
]),
|
|
44439
44665
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44440
|
-
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44441
44666
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
44442
|
-
|
|
44443
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44667
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44444
44668
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44445
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44669
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44670
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44671
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44672
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44673
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44674
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44675
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44676
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44677
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44446
44678
|
}) }),
|
|
44447
44679
|
execute: (input, { client }) => {
|
|
44448
44680
|
const data = input;
|
|
@@ -44548,13 +44780,6 @@ const generatedFocusOperations = [
|
|
|
44548
44780
|
},
|
|
44549
44781
|
mcp: { entityTool: "goals" },
|
|
44550
44782
|
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
44783
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44559
44784
|
"daily",
|
|
44560
44785
|
"weekly",
|
|
@@ -44562,12 +44787,19 @@ const generatedFocusOperations = [
|
|
|
44562
44787
|
"monthly"
|
|
44563
44788
|
]),
|
|
44564
44789
|
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()),
|
|
44790
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44569
44791
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44570
|
-
|
|
44792
|
+
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
|
|
44793
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44794
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44795
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44796
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44797
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44798
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44799
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44800
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44801
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44802
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44571
44803
|
}) }),
|
|
44572
44804
|
execute: (input, { client }) => {
|
|
44573
44805
|
const data = input;
|
|
@@ -45534,9 +45766,17 @@ const generatedFocusOperations = [
|
|
|
45534
45766
|
mcp: { entityTool: "projects" },
|
|
45535
45767
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45536
45768
|
payload: /* @__PURE__ */ looseObject({
|
|
45769
|
+
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45770
|
+
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
45537
45771
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45538
45772
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45539
45773
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45774
|
+
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
45775
|
+
"expire",
|
|
45776
|
+
"carry_all",
|
|
45777
|
+
"carry_over"
|
|
45778
|
+
])),
|
|
45779
|
+
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45540
45780
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
45541
45781
|
}),
|
|
45542
45782
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -45980,6 +46220,7 @@ const generatedFocusOperations = [
|
|
|
45980
46220
|
group: /* @__PURE__ */ string$1(),
|
|
45981
46221
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45982
46222
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46223
|
+
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45983
46224
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45984
46225
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45985
46226
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -46082,29 +46323,6 @@ const generatedFocusOperations = [
|
|
|
46082
46323
|
]));
|
|
46083
46324
|
}
|
|
46084
46325
|
},
|
|
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
46326
|
{
|
|
46109
46327
|
id: "focus.projects.margin-targets-get",
|
|
46110
46328
|
family: "focus",
|
|
@@ -46550,102 +46768,226 @@ const generatedFocusOperations = [
|
|
|
46550
46768
|
}
|
|
46551
46769
|
},
|
|
46552
46770
|
{
|
|
46553
|
-
id: "focus.
|
|
46771
|
+
id: "focus.publicsharedreports.open-public-shared-report",
|
|
46554
46772
|
family: "focus",
|
|
46555
|
-
resource: "
|
|
46556
|
-
action: "
|
|
46557
|
-
title: "
|
|
46558
|
-
description: "
|
|
46559
|
-
safety: "
|
|
46773
|
+
resource: "publicsharedreports",
|
|
46774
|
+
action: "open-public-shared-report",
|
|
46775
|
+
title: "Open Public Shared Report Publicsharedreports",
|
|
46776
|
+
description: "Open Public Shared Report Publicsharedreports.",
|
|
46777
|
+
safety: "read",
|
|
46560
46778
|
destructive: false,
|
|
46561
46779
|
cli: {
|
|
46562
|
-
group: ["
|
|
46563
|
-
command: "
|
|
46564
|
-
interactive: "
|
|
46780
|
+
group: ["publicsharedreports"],
|
|
46781
|
+
command: "open-public-shared-report",
|
|
46782
|
+
interactive: "available"
|
|
46565
46783
|
},
|
|
46566
|
-
mcp: { entityTool: "
|
|
46567
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
46568
|
-
payload: rateSchedulePayloadSchema,
|
|
46569
|
-
project_id: /* @__PURE__ */ number$2()
|
|
46570
|
-
}),
|
|
46784
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
46785
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
46571
46786
|
execute: (input, { client }) => {
|
|
46572
46787
|
const data = input;
|
|
46573
|
-
return client.runGeneratedRequest("
|
|
46788
|
+
return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
|
|
46574
46789
|
client.httpClient,
|
|
46575
|
-
|
|
46576
|
-
client.workspaceIdNumber,
|
|
46577
|
-
data.project_id,
|
|
46578
|
-
data.payload ?? data.data ?? data,
|
|
46790
|
+
data.token,
|
|
46579
46791
|
void 0
|
|
46580
46792
|
]));
|
|
46581
46793
|
}
|
|
46582
46794
|
},
|
|
46583
46795
|
{
|
|
46584
|
-
id: "focus.
|
|
46796
|
+
id: "focus.publicsharedreports.profitability-public-shared-report",
|
|
46585
46797
|
family: "focus",
|
|
46586
|
-
resource: "
|
|
46587
|
-
action: "
|
|
46588
|
-
title: "
|
|
46589
|
-
description: "
|
|
46798
|
+
resource: "publicsharedreports",
|
|
46799
|
+
action: "profitability-public-shared-report",
|
|
46800
|
+
title: "Profitability Public Shared Report Publicsharedreports",
|
|
46801
|
+
description: "Profitability Public Shared Report Publicsharedreports.",
|
|
46590
46802
|
safety: "update",
|
|
46591
46803
|
destructive: false,
|
|
46592
46804
|
cli: {
|
|
46593
|
-
group: ["
|
|
46594
|
-
command: "
|
|
46805
|
+
group: ["publicsharedreports"],
|
|
46806
|
+
command: "profitability-public-shared-report",
|
|
46595
46807
|
interactive: "default"
|
|
46596
46808
|
},
|
|
46597
|
-
mcp: { entityTool: "
|
|
46809
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
46598
46810
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
46599
|
-
|
|
46600
|
-
|
|
46601
|
-
|
|
46811
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
46812
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46813
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
46814
|
+
token: /* @__PURE__ */ string$1()
|
|
46602
46815
|
}),
|
|
46603
46816
|
execute: (input, { client }) => {
|
|
46604
46817
|
const data = input;
|
|
46605
|
-
return client.runGeneratedRequest("
|
|
46818
|
+
return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
|
|
46606
46819
|
client.httpClient,
|
|
46607
|
-
|
|
46608
|
-
client.workspaceIdNumber,
|
|
46609
|
-
data.project_id,
|
|
46610
|
-
data.user_id,
|
|
46820
|
+
data.token,
|
|
46611
46821
|
data.payload ?? data.data ?? data,
|
|
46822
|
+
data.response_format,
|
|
46823
|
+
data.include_dicts,
|
|
46612
46824
|
void 0
|
|
46613
46825
|
]));
|
|
46614
46826
|
}
|
|
46615
46827
|
},
|
|
46616
46828
|
{
|
|
46617
|
-
id: "focus.
|
|
46829
|
+
id: "focus.publicsharedreports.query-public-shared-report",
|
|
46618
46830
|
family: "focus",
|
|
46619
|
-
resource: "
|
|
46620
|
-
action: "
|
|
46621
|
-
title: "
|
|
46622
|
-
description: "
|
|
46831
|
+
resource: "publicsharedreports",
|
|
46832
|
+
action: "query-public-shared-report",
|
|
46833
|
+
title: "Query Public Shared Report Publicsharedreports",
|
|
46834
|
+
description: "Query Public Shared Report Publicsharedreports.",
|
|
46623
46835
|
safety: "update",
|
|
46624
46836
|
destructive: false,
|
|
46625
46837
|
cli: {
|
|
46626
|
-
group: ["
|
|
46627
|
-
command: "
|
|
46838
|
+
group: ["publicsharedreports"],
|
|
46839
|
+
command: "query-public-shared-report",
|
|
46628
46840
|
interactive: "default"
|
|
46629
46841
|
},
|
|
46630
|
-
mcp: { entityTool: "
|
|
46631
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
46842
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
46843
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46844
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
46845
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46846
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
46847
|
+
"json_row",
|
|
46848
|
+
"table",
|
|
46849
|
+
"hierarchical"
|
|
46850
|
+
])),
|
|
46851
|
+
token: /* @__PURE__ */ string$1()
|
|
46852
|
+
}),
|
|
46632
46853
|
execute: (input, { client }) => {
|
|
46633
46854
|
const data = input;
|
|
46634
|
-
return client.runGeneratedRequest("
|
|
46855
|
+
return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
|
|
46635
46856
|
client.httpClient,
|
|
46636
|
-
|
|
46637
|
-
client.workspaceIdNumber,
|
|
46857
|
+
data.token,
|
|
46638
46858
|
data.payload ?? data.data ?? data,
|
|
46859
|
+
data.response_format,
|
|
46860
|
+
data.include_dicts,
|
|
46639
46861
|
void 0
|
|
46640
46862
|
]));
|
|
46641
46863
|
}
|
|
46642
46864
|
},
|
|
46643
46865
|
{
|
|
46644
|
-
id: "focus.
|
|
46866
|
+
id: "focus.publicsharedreports.workload-public-shared-report",
|
|
46645
46867
|
family: "focus",
|
|
46646
|
-
resource: "
|
|
46647
|
-
action: "
|
|
46648
|
-
title: "
|
|
46868
|
+
resource: "publicsharedreports",
|
|
46869
|
+
action: "workload-public-shared-report",
|
|
46870
|
+
title: "Workload Public Shared Report Publicsharedreports",
|
|
46871
|
+
description: "Workload Public Shared Report Publicsharedreports.",
|
|
46872
|
+
safety: "update",
|
|
46873
|
+
destructive: false,
|
|
46874
|
+
cli: {
|
|
46875
|
+
group: ["publicsharedreports"],
|
|
46876
|
+
command: "workload-public-shared-report",
|
|
46877
|
+
interactive: "default"
|
|
46878
|
+
},
|
|
46879
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
46880
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46881
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46882
|
+
token: /* @__PURE__ */ string$1()
|
|
46883
|
+
}),
|
|
46884
|
+
execute: (input, { client }) => {
|
|
46885
|
+
const data = input;
|
|
46886
|
+
return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
|
|
46887
|
+
client.httpClient,
|
|
46888
|
+
data.token,
|
|
46889
|
+
data.payload ?? data.data ?? data,
|
|
46890
|
+
void 0
|
|
46891
|
+
]));
|
|
46892
|
+
}
|
|
46893
|
+
},
|
|
46894
|
+
{
|
|
46895
|
+
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
46896
|
+
family: "focus",
|
|
46897
|
+
resource: "rates",
|
|
46898
|
+
action: "billable-check-project-billable-rate-conflicts",
|
|
46899
|
+
title: "Billable Check Project Billable Rate Conflicts Rates",
|
|
46900
|
+
description: "Billable Check Project Billable Rate Conflicts Rates.",
|
|
46901
|
+
safety: "update",
|
|
46902
|
+
destructive: false,
|
|
46903
|
+
cli: {
|
|
46904
|
+
group: ["rates", "billable"],
|
|
46905
|
+
command: "check-project-billable-rate-conflicts",
|
|
46906
|
+
interactive: "default"
|
|
46907
|
+
},
|
|
46908
|
+
mcp: { entityTool: "rates" },
|
|
46909
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46910
|
+
payload: rateSchedulePayloadSchema,
|
|
46911
|
+
project_id: /* @__PURE__ */ number$2()
|
|
46912
|
+
}),
|
|
46913
|
+
execute: (input, { client }) => {
|
|
46914
|
+
const data = input;
|
|
46915
|
+
return client.runGeneratedRequest("checkProjectBillableRateConflicts", () => callGeneratedRequest(checkProjectBillableRateConflicts, [
|
|
46916
|
+
client.httpClient,
|
|
46917
|
+
client.organizationId,
|
|
46918
|
+
client.workspaceIdNumber,
|
|
46919
|
+
data.project_id,
|
|
46920
|
+
data.payload ?? data.data ?? data,
|
|
46921
|
+
void 0
|
|
46922
|
+
]));
|
|
46923
|
+
}
|
|
46924
|
+
},
|
|
46925
|
+
{
|
|
46926
|
+
id: "focus.rates.billable-check-project-user-billable-rate-conflicts",
|
|
46927
|
+
family: "focus",
|
|
46928
|
+
resource: "rates",
|
|
46929
|
+
action: "billable-check-project-user-billable-rate-conflicts",
|
|
46930
|
+
title: "Billable Check Project User Billable Rate Conflicts Rates",
|
|
46931
|
+
description: "Billable Check Project User Billable Rate Conflicts Rates.",
|
|
46932
|
+
safety: "update",
|
|
46933
|
+
destructive: false,
|
|
46934
|
+
cli: {
|
|
46935
|
+
group: ["rates", "billable"],
|
|
46936
|
+
command: "check-project-user-billable-rate-conflicts",
|
|
46937
|
+
interactive: "default"
|
|
46938
|
+
},
|
|
46939
|
+
mcp: { entityTool: "rates" },
|
|
46940
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46941
|
+
payload: rateSchedulePayloadSchema,
|
|
46942
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
46943
|
+
user_id: /* @__PURE__ */ number$2()
|
|
46944
|
+
}),
|
|
46945
|
+
execute: (input, { client }) => {
|
|
46946
|
+
const data = input;
|
|
46947
|
+
return client.runGeneratedRequest("checkProjectUserBillableRateConflicts", () => callGeneratedRequest(checkProjectUserBillableRateConflicts, [
|
|
46948
|
+
client.httpClient,
|
|
46949
|
+
client.organizationId,
|
|
46950
|
+
client.workspaceIdNumber,
|
|
46951
|
+
data.project_id,
|
|
46952
|
+
data.user_id,
|
|
46953
|
+
data.payload ?? data.data ?? data,
|
|
46954
|
+
void 0
|
|
46955
|
+
]));
|
|
46956
|
+
}
|
|
46957
|
+
},
|
|
46958
|
+
{
|
|
46959
|
+
id: "focus.rates.billable-check-workspace-billable-rate-conflicts",
|
|
46960
|
+
family: "focus",
|
|
46961
|
+
resource: "rates",
|
|
46962
|
+
action: "billable-check-workspace-billable-rate-conflicts",
|
|
46963
|
+
title: "Billable Check Workspace Billable Rate Conflicts Rates",
|
|
46964
|
+
description: "Billable Check Workspace Billable Rate Conflicts Rates.",
|
|
46965
|
+
safety: "update",
|
|
46966
|
+
destructive: false,
|
|
46967
|
+
cli: {
|
|
46968
|
+
group: ["rates", "billable"],
|
|
46969
|
+
command: "check-workspace-billable-rate-conflicts",
|
|
46970
|
+
interactive: "default"
|
|
46971
|
+
},
|
|
46972
|
+
mcp: { entityTool: "rates" },
|
|
46973
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: rateSchedulePayloadSchema }),
|
|
46974
|
+
execute: (input, { client }) => {
|
|
46975
|
+
const data = input;
|
|
46976
|
+
return client.runGeneratedRequest("checkWorkspaceBillableRateConflicts", () => callGeneratedRequest(checkWorkspaceBillableRateConflicts, [
|
|
46977
|
+
client.httpClient,
|
|
46978
|
+
client.organizationId,
|
|
46979
|
+
client.workspaceIdNumber,
|
|
46980
|
+
data.payload ?? data.data ?? data,
|
|
46981
|
+
void 0
|
|
46982
|
+
]));
|
|
46983
|
+
}
|
|
46984
|
+
},
|
|
46985
|
+
{
|
|
46986
|
+
id: "focus.rates.billable-check-workspace-user-billable-rate-conflicts",
|
|
46987
|
+
family: "focus",
|
|
46988
|
+
resource: "rates",
|
|
46989
|
+
action: "billable-check-workspace-user-billable-rate-conflicts",
|
|
46990
|
+
title: "Billable Check Workspace User Billable Rate Conflicts Rates",
|
|
46649
46991
|
description: "Billable Check Workspace User Billable Rate Conflicts Rates.",
|
|
46650
46992
|
safety: "update",
|
|
46651
46993
|
destructive: false,
|
|
@@ -48507,7 +48849,7 @@ const generatedFocusOperations = [
|
|
|
48507
48849
|
cli: {
|
|
48508
48850
|
group: ["reportschedules"],
|
|
48509
48851
|
command: "upsert-saved-view-schedule",
|
|
48510
|
-
interactive: "
|
|
48852
|
+
interactive: "hidden"
|
|
48511
48853
|
},
|
|
48512
48854
|
mcp: { entityTool: "reportschedules" },
|
|
48513
48855
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -48518,8 +48860,10 @@ const generatedFocusOperations = [
|
|
|
48518
48860
|
"weekly",
|
|
48519
48861
|
"monthly"
|
|
48520
48862
|
]),
|
|
48863
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
48521
48864
|
time: /* @__PURE__ */ string$1(),
|
|
48522
48865
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48866
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48523
48867
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48524
48868
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48525
48869
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -48852,6 +49196,32 @@ const generatedFocusOperations = [
|
|
|
48852
49196
|
]));
|
|
48853
49197
|
}
|
|
48854
49198
|
},
|
|
49199
|
+
{
|
|
49200
|
+
id: "focus.sharedreports.get-shared-report-dates",
|
|
49201
|
+
family: "focus",
|
|
49202
|
+
resource: "sharedreports",
|
|
49203
|
+
action: "get-shared-report-dates",
|
|
49204
|
+
title: "Get Shared Report Dates Sharedreports",
|
|
49205
|
+
description: "Get Shared Report Dates Sharedreports.",
|
|
49206
|
+
safety: "read",
|
|
49207
|
+
destructive: false,
|
|
49208
|
+
cli: {
|
|
49209
|
+
group: ["sharedreports"],
|
|
49210
|
+
command: "get-shared-report-dates",
|
|
49211
|
+
interactive: "available"
|
|
49212
|
+
},
|
|
49213
|
+
mcp: { entityTool: "sharedreports" },
|
|
49214
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
49215
|
+
execute: (input, { client }) => {
|
|
49216
|
+
const data = input;
|
|
49217
|
+
return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
|
|
49218
|
+
client.httpClient,
|
|
49219
|
+
client.workspaceIdNumber,
|
|
49220
|
+
data.id,
|
|
49221
|
+
void 0
|
|
49222
|
+
]));
|
|
49223
|
+
}
|
|
49224
|
+
},
|
|
48855
49225
|
{
|
|
48856
49226
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
48857
49227
|
family: "focus",
|
|
@@ -48922,6 +49292,36 @@ const generatedFocusOperations = [
|
|
|
48922
49292
|
void 0
|
|
48923
49293
|
]))
|
|
48924
49294
|
},
|
|
49295
|
+
{
|
|
49296
|
+
id: "focus.sharedreports.mint-shared-report-link",
|
|
49297
|
+
family: "focus",
|
|
49298
|
+
resource: "sharedreports",
|
|
49299
|
+
action: "mint-shared-report-link",
|
|
49300
|
+
title: "Mint Shared Report Link Sharedreports",
|
|
49301
|
+
description: "Mint Shared Report Link Sharedreports.",
|
|
49302
|
+
safety: "update",
|
|
49303
|
+
destructive: false,
|
|
49304
|
+
cli: {
|
|
49305
|
+
group: ["sharedreports"],
|
|
49306
|
+
command: "mint-shared-report-link",
|
|
49307
|
+
interactive: "default"
|
|
49308
|
+
},
|
|
49309
|
+
mcp: { entityTool: "sharedreports" },
|
|
49310
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
49311
|
+
id: /* @__PURE__ */ number$2(),
|
|
49312
|
+
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
49313
|
+
}),
|
|
49314
|
+
execute: (input, { client }) => {
|
|
49315
|
+
const data = input;
|
|
49316
|
+
return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
|
|
49317
|
+
client.httpClient,
|
|
49318
|
+
client.workspaceIdNumber,
|
|
49319
|
+
data.id,
|
|
49320
|
+
data.payload ?? data.data ?? data,
|
|
49321
|
+
void 0
|
|
49322
|
+
]));
|
|
49323
|
+
}
|
|
49324
|
+
},
|
|
48925
49325
|
{
|
|
48926
49326
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
48927
49327
|
family: "focus",
|
|
@@ -48952,6 +49352,92 @@ const generatedFocusOperations = [
|
|
|
48952
49352
|
]));
|
|
48953
49353
|
}
|
|
48954
49354
|
},
|
|
49355
|
+
{
|
|
49356
|
+
id: "focus.sharedreports.revoke-shared-report-link",
|
|
49357
|
+
family: "focus",
|
|
49358
|
+
resource: "sharedreports",
|
|
49359
|
+
action: "revoke-shared-report-link",
|
|
49360
|
+
title: "Revoke Shared Report Link Sharedreports",
|
|
49361
|
+
description: "Revoke Shared Report Link Sharedreports.",
|
|
49362
|
+
safety: "delete",
|
|
49363
|
+
destructive: true,
|
|
49364
|
+
cli: {
|
|
49365
|
+
group: ["sharedreports"],
|
|
49366
|
+
command: "revoke-shared-report-link",
|
|
49367
|
+
interactive: "default"
|
|
49368
|
+
},
|
|
49369
|
+
mcp: { entityTool: "sharedreports" },
|
|
49370
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
49371
|
+
execute: (input, { client }) => {
|
|
49372
|
+
const data = input;
|
|
49373
|
+
return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
|
|
49374
|
+
client.httpClient,
|
|
49375
|
+
client.workspaceIdNumber,
|
|
49376
|
+
data.id,
|
|
49377
|
+
void 0
|
|
49378
|
+
]));
|
|
49379
|
+
}
|
|
49380
|
+
},
|
|
49381
|
+
{
|
|
49382
|
+
id: "focus.sharedreports.rotate-shared-report-link",
|
|
49383
|
+
family: "focus",
|
|
49384
|
+
resource: "sharedreports",
|
|
49385
|
+
action: "rotate-shared-report-link",
|
|
49386
|
+
title: "Rotate Shared Report Link Sharedreports",
|
|
49387
|
+
description: "Rotate Shared Report Link Sharedreports.",
|
|
49388
|
+
safety: "update",
|
|
49389
|
+
destructive: false,
|
|
49390
|
+
cli: {
|
|
49391
|
+
group: ["sharedreports"],
|
|
49392
|
+
command: "rotate-shared-report-link",
|
|
49393
|
+
interactive: "default"
|
|
49394
|
+
},
|
|
49395
|
+
mcp: { entityTool: "sharedreports" },
|
|
49396
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
49397
|
+
id: /* @__PURE__ */ number$2(),
|
|
49398
|
+
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
49399
|
+
}),
|
|
49400
|
+
execute: (input, { client }) => {
|
|
49401
|
+
const data = input;
|
|
49402
|
+
return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
|
|
49403
|
+
client.httpClient,
|
|
49404
|
+
client.workspaceIdNumber,
|
|
49405
|
+
data.id,
|
|
49406
|
+
data.payload ?? data.data ?? data,
|
|
49407
|
+
void 0
|
|
49408
|
+
]));
|
|
49409
|
+
}
|
|
49410
|
+
},
|
|
49411
|
+
{
|
|
49412
|
+
id: "focus.sharedreports.set-shared-report-dates-lock",
|
|
49413
|
+
family: "focus",
|
|
49414
|
+
resource: "sharedreports",
|
|
49415
|
+
action: "set-shared-report-dates-lock",
|
|
49416
|
+
title: "Set Shared Report Dates Lock Sharedreports",
|
|
49417
|
+
description: "Set Shared Report Dates Lock Sharedreports.",
|
|
49418
|
+
safety: "update",
|
|
49419
|
+
destructive: false,
|
|
49420
|
+
cli: {
|
|
49421
|
+
group: ["sharedreports"],
|
|
49422
|
+
command: "set-shared-report-dates-lock",
|
|
49423
|
+
interactive: "default"
|
|
49424
|
+
},
|
|
49425
|
+
mcp: { entityTool: "sharedreports" },
|
|
49426
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
49427
|
+
id: /* @__PURE__ */ number$2(),
|
|
49428
|
+
payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
|
|
49429
|
+
}),
|
|
49430
|
+
execute: (input, { client }) => {
|
|
49431
|
+
const data = input;
|
|
49432
|
+
return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
|
|
49433
|
+
client.httpClient,
|
|
49434
|
+
client.workspaceIdNumber,
|
|
49435
|
+
data.id,
|
|
49436
|
+
data.payload ?? data.data ?? data,
|
|
49437
|
+
void 0
|
|
49438
|
+
]));
|
|
49439
|
+
}
|
|
49440
|
+
},
|
|
48955
49441
|
{
|
|
48956
49442
|
id: "focus.sharedreports.share-saved-view",
|
|
48957
49443
|
family: "focus",
|
|
@@ -49026,6 +49512,32 @@ const generatedFocusOperations = [
|
|
|
49026
49512
|
]));
|
|
49027
49513
|
}
|
|
49028
49514
|
},
|
|
49515
|
+
{
|
|
49516
|
+
id: "focus.sharedreports.unshare-shared-report",
|
|
49517
|
+
family: "focus",
|
|
49518
|
+
resource: "sharedreports",
|
|
49519
|
+
action: "unshare-shared-report",
|
|
49520
|
+
title: "Unshare Shared Report Sharedreports",
|
|
49521
|
+
description: "Unshare Shared Report Sharedreports.",
|
|
49522
|
+
safety: "delete",
|
|
49523
|
+
destructive: true,
|
|
49524
|
+
cli: {
|
|
49525
|
+
group: ["sharedreports"],
|
|
49526
|
+
command: "unshare-shared-report",
|
|
49527
|
+
interactive: "default"
|
|
49528
|
+
},
|
|
49529
|
+
mcp: { entityTool: "sharedreports" },
|
|
49530
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
49531
|
+
execute: (input, { client }) => {
|
|
49532
|
+
const data = input;
|
|
49533
|
+
return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
|
|
49534
|
+
client.httpClient,
|
|
49535
|
+
client.workspaceIdNumber,
|
|
49536
|
+
data.id,
|
|
49537
|
+
void 0
|
|
49538
|
+
]));
|
|
49539
|
+
}
|
|
49540
|
+
},
|
|
49029
49541
|
{
|
|
49030
49542
|
id: "focus.statuses.create-status",
|
|
49031
49543
|
family: "focus",
|
|
@@ -50068,6 +50580,37 @@ const generatedFocusOperations = [
|
|
|
50068
50580
|
return client.createTask(data);
|
|
50069
50581
|
}
|
|
50070
50582
|
},
|
|
50583
|
+
{
|
|
50584
|
+
id: "focus.tasks.create-recurring-occurrence",
|
|
50585
|
+
family: "focus",
|
|
50586
|
+
resource: "tasks",
|
|
50587
|
+
action: "create-recurring-occurrence",
|
|
50588
|
+
title: "Create Recurring Occurrence Tasks",
|
|
50589
|
+
description: "Create Recurring Occurrence Tasks.",
|
|
50590
|
+
safety: "create",
|
|
50591
|
+
destructive: false,
|
|
50592
|
+
cli: {
|
|
50593
|
+
group: ["tasks"],
|
|
50594
|
+
command: "create-recurring-occurrence",
|
|
50595
|
+
interactive: "default"
|
|
50596
|
+
},
|
|
50597
|
+
mcp: { entityTool: "tasks" },
|
|
50598
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50599
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50600
|
+
task_id: /* @__PURE__ */ number$2()
|
|
50601
|
+
}),
|
|
50602
|
+
execute: (input, { client }) => {
|
|
50603
|
+
const data = input;
|
|
50604
|
+
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
50605
|
+
client.httpClient,
|
|
50606
|
+
client.organizationId,
|
|
50607
|
+
client.workspaceIdNumber,
|
|
50608
|
+
data.task_id,
|
|
50609
|
+
data.return_occurrence,
|
|
50610
|
+
void 0
|
|
50611
|
+
]));
|
|
50612
|
+
}
|
|
50613
|
+
},
|
|
50071
50614
|
{
|
|
50072
50615
|
id: "focus.tasks.delete",
|
|
50073
50616
|
family: "focus",
|
|
@@ -50315,9 +50858,13 @@ const generatedFocusOperations = [
|
|
|
50315
50858
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50316
50859
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50317
50860
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50861
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50862
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50318
50863
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50319
50864
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50865
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50320
50866
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50867
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50321
50868
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50322
50869
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50323
50870
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -50369,7 +50916,9 @@ const generatedFocusOperations = [
|
|
|
50369
50916
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50370
50917
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50371
50918
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50919
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50372
50920
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50921
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50373
50922
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50374
50923
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50375
50924
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -50378,7 +50927,9 @@ const generatedFocusOperations = [
|
|
|
50378
50927
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50379
50928
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50380
50929
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50930
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50381
50931
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50932
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50382
50933
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50383
50934
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50384
50935
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50516,8 +51067,10 @@ const generatedFocusOperations = [
|
|
|
50516
51067
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50517
51068
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50518
51069
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51070
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50519
51071
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50520
51072
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51073
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50521
51074
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50522
51075
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50523
51076
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50526,6 +51079,8 @@ const generatedFocusOperations = [
|
|
|
50526
51079
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50527
51080
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50528
51081
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51082
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51083
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50529
51084
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50530
51085
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50531
51086
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50534,7 +51089,8 @@ const generatedFocusOperations = [
|
|
|
50534
51089
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50535
51090
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50536
51091
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50537
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51092
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51093
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50538
51094
|
}),
|
|
50539
51095
|
execute: (input, { client }) => {
|
|
50540
51096
|
const data = input;
|
|
@@ -50576,13 +51132,17 @@ const generatedFocusOperations = [
|
|
|
50576
51132
|
group_id: /* @__PURE__ */ number$2(),
|
|
50577
51133
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50578
51134
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
51135
|
+
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
50579
51136
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50580
51137
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
51138
|
+
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50581
51139
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
50582
51140
|
name: /* @__PURE__ */ unknown$1(),
|
|
50583
51141
|
priority: /* @__PURE__ */ unknown$1(),
|
|
50584
51142
|
private_: /* @__PURE__ */ unknown$1(),
|
|
50585
51143
|
project_id: /* @__PURE__ */ number$2(),
|
|
51144
|
+
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
51145
|
+
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
50586
51146
|
source: /* @__PURE__ */ unknown$1(),
|
|
50587
51147
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50588
51148
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -50591,7 +51151,8 @@ const generatedFocusOperations = [
|
|
|
50591
51151
|
tag_id: /* @__PURE__ */ number$2(),
|
|
50592
51152
|
team_id: /* @__PURE__ */ number$2(),
|
|
50593
51153
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50594
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
51154
|
+
user_tag_id: /* @__PURE__ */ number$2(),
|
|
51155
|
+
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
50595
51156
|
}),
|
|
50596
51157
|
execute: (input, { client }) => {
|
|
50597
51158
|
const data = input;
|
|
@@ -50632,13 +51193,17 @@ const generatedFocusOperations = [
|
|
|
50632
51193
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50633
51194
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50634
51195
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51196
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50635
51197
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50636
51198
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51199
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50637
51200
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50638
51201
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50639
51202
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50640
51203
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50641
51204
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51205
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51206
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50642
51207
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50643
51208
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50644
51209
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50647,7 +51212,8 @@ const generatedFocusOperations = [
|
|
|
50647
51212
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50648
51213
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50649
51214
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50650
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51215
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51216
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50651
51217
|
}),
|
|
50652
51218
|
execute: (input, { client }) => {
|
|
50653
51219
|
const data = input;
|
|
@@ -50918,7 +51484,8 @@ const generatedFocusOperations = [
|
|
|
50918
51484
|
mcp: { entityTool: "tasks" },
|
|
50919
51485
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
50920
51486
|
date_from: /* @__PURE__ */ string$1(),
|
|
50921
|
-
date_to: /* @__PURE__ */ string$1()
|
|
51487
|
+
date_to: /* @__PURE__ */ string$1(),
|
|
51488
|
+
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50922
51489
|
}),
|
|
50923
51490
|
execute: (input, { client }) => {
|
|
50924
51491
|
const data = input;
|
|
@@ -50928,6 +51495,7 @@ const generatedFocusOperations = [
|
|
|
50928
51495
|
client.workspaceIdNumber,
|
|
50929
51496
|
data.date_from,
|
|
50930
51497
|
data.date_to,
|
|
51498
|
+
data.skip_provider_refresh,
|
|
50931
51499
|
void 0
|
|
50932
51500
|
]));
|
|
50933
51501
|
}
|
|
@@ -51514,7 +52082,8 @@ const generatedFocusOperations = [
|
|
|
51514
52082
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
51515
52083
|
"project",
|
|
51516
52084
|
"task",
|
|
51517
|
-
"description"
|
|
52085
|
+
"description",
|
|
52086
|
+
"tags"
|
|
51518
52087
|
]) })),
|
|
51519
52088
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51520
52089
|
}) }),
|
|
@@ -51544,6 +52113,7 @@ const generatedFocusOperations = [
|
|
|
51544
52113
|
},
|
|
51545
52114
|
mcp: { entityTool: "time-entries" },
|
|
51546
52115
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52116
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51547
52117
|
payload: /* @__PURE__ */ looseObject({
|
|
51548
52118
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51549
52119
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -51554,11 +52124,13 @@ const generatedFocusOperations = [
|
|
|
51554
52124
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51555
52125
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51556
52126
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52127
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51557
52128
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51558
52129
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51559
52130
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51560
52131
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51561
52132
|
}),
|
|
52133
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51562
52134
|
task_id: /* @__PURE__ */ number$2()
|
|
51563
52135
|
}),
|
|
51564
52136
|
execute: (input, { client }) => {
|
|
@@ -51569,6 +52141,8 @@ const generatedFocusOperations = [
|
|
|
51569
52141
|
client.workspaceIdNumber,
|
|
51570
52142
|
data.task_id,
|
|
51571
52143
|
data.payload ?? data.data ?? data,
|
|
52144
|
+
data.from_recurring_task_id,
|
|
52145
|
+
data.return_occurrence,
|
|
51572
52146
|
void 0
|
|
51573
52147
|
]));
|
|
51574
52148
|
}
|
|
@@ -51588,21 +52162,26 @@ const generatedFocusOperations = [
|
|
|
51588
52162
|
interactive: "default"
|
|
51589
52163
|
},
|
|
51590
52164
|
mcp: { entityTool: "time-entries" },
|
|
51591
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51592
|
-
|
|
51593
|
-
|
|
51594
|
-
|
|
51595
|
-
|
|
51596
|
-
|
|
51597
|
-
|
|
51598
|
-
|
|
51599
|
-
|
|
51600
|
-
|
|
51601
|
-
|
|
51602
|
-
|
|
51603
|
-
|
|
51604
|
-
|
|
51605
|
-
|
|
52165
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
52166
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52167
|
+
payload: /* @__PURE__ */ looseObject({
|
|
52168
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
52169
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52170
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52171
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52172
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52173
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52174
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52175
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52176
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52177
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52178
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52179
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52180
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52181
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
52182
|
+
}),
|
|
52183
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
52184
|
+
}),
|
|
51606
52185
|
execute: (input, { client }) => {
|
|
51607
52186
|
const data = input;
|
|
51608
52187
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -51610,6 +52189,8 @@ const generatedFocusOperations = [
|
|
|
51610
52189
|
client.organizationId,
|
|
51611
52190
|
client.workspaceIdNumber,
|
|
51612
52191
|
data.payload ?? data.data ?? data,
|
|
52192
|
+
data.from_recurring_task_id,
|
|
52193
|
+
data.return_occurrence,
|
|
51613
52194
|
void 0
|
|
51614
52195
|
]));
|
|
51615
52196
|
}
|
|
@@ -51629,7 +52210,11 @@ const generatedFocusOperations = [
|
|
|
51629
52210
|
interactive: "default"
|
|
51630
52211
|
},
|
|
51631
52212
|
mcp: { entityTool: "time-entries" },
|
|
51632
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52213
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
52214
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52215
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52216
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
52217
|
+
}),
|
|
51633
52218
|
execute: (input, { client }) => {
|
|
51634
52219
|
const data = input;
|
|
51635
52220
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -51637,6 +52222,8 @@ const generatedFocusOperations = [
|
|
|
51637
52222
|
client.organizationId,
|
|
51638
52223
|
client.workspaceIdNumber,
|
|
51639
52224
|
data.time_entry_id,
|
|
52225
|
+
data.from_recurring_task_id,
|
|
52226
|
+
data.return_occurrence,
|
|
51640
52227
|
void 0
|
|
51641
52228
|
]));
|
|
51642
52229
|
}
|
|
@@ -51717,6 +52304,7 @@ const generatedFocusOperations = [
|
|
|
51717
52304
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
51718
52305
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
51719
52306
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
52307
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
51720
52308
|
status_id: /* @__PURE__ */ number$2(),
|
|
51721
52309
|
task_id: /* @__PURE__ */ number$2(),
|
|
51722
52310
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -51893,12 +52481,14 @@ const generatedFocusOperations = [
|
|
|
51893
52481
|
},
|
|
51894
52482
|
mcp: { entityTool: "time-entries" },
|
|
51895
52483
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52484
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51896
52485
|
payload: /* @__PURE__ */ looseObject({
|
|
51897
52486
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51898
52487
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51899
52488
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51900
52489
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
51901
52490
|
}),
|
|
52491
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51902
52492
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
51903
52493
|
}),
|
|
51904
52494
|
execute: (input, { client }) => {
|
|
@@ -51909,6 +52499,8 @@ const generatedFocusOperations = [
|
|
|
51909
52499
|
client.workspaceIdNumber,
|
|
51910
52500
|
data.time_entry_id,
|
|
51911
52501
|
data.payload ?? data.data ?? data,
|
|
52502
|
+
data.from_recurring_task_id,
|
|
52503
|
+
data.return_occurrence,
|
|
51912
52504
|
void 0
|
|
51913
52505
|
]));
|
|
51914
52506
|
}
|
|
@@ -52166,6 +52758,7 @@ const generatedFocusOperations = [
|
|
|
52166
52758
|
},
|
|
52167
52759
|
mcp: { entityTool: "time-entries" },
|
|
52168
52760
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52761
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52169
52762
|
payload: /* @__PURE__ */ looseObject({
|
|
52170
52763
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52171
52764
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -52178,6 +52771,7 @@ const generatedFocusOperations = [
|
|
|
52178
52771
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52179
52772
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52180
52773
|
}),
|
|
52774
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52181
52775
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52182
52776
|
}),
|
|
52183
52777
|
execute: (input, { client }) => {
|
|
@@ -52188,6 +52782,8 @@ const generatedFocusOperations = [
|
|
|
52188
52782
|
client.workspaceIdNumber,
|
|
52189
52783
|
data.time_entry_id,
|
|
52190
52784
|
data.payload ?? data.data ?? data,
|
|
52785
|
+
data.from_recurring_task_id,
|
|
52786
|
+
data.return_occurrence,
|
|
52191
52787
|
void 0
|
|
52192
52788
|
]));
|
|
52193
52789
|
}
|
|
@@ -52703,6 +53299,40 @@ const generatedFocusOperations = [
|
|
|
52703
53299
|
]));
|
|
52704
53300
|
}
|
|
52705
53301
|
},
|
|
53302
|
+
{
|
|
53303
|
+
id: "focus.timesheets.get-status-counts",
|
|
53304
|
+
family: "focus",
|
|
53305
|
+
resource: "timesheets",
|
|
53306
|
+
action: "get-status-counts",
|
|
53307
|
+
title: "Get Status Counts Timesheets",
|
|
53308
|
+
description: "Get Status Counts Timesheets.",
|
|
53309
|
+
safety: "read",
|
|
53310
|
+
destructive: false,
|
|
53311
|
+
cli: {
|
|
53312
|
+
group: ["timesheets"],
|
|
53313
|
+
command: "get-status-counts",
|
|
53314
|
+
interactive: "hidden"
|
|
53315
|
+
},
|
|
53316
|
+
mcp: { entityTool: "timesheets" },
|
|
53317
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
53318
|
+
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
53319
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
53320
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
53321
|
+
setup_id: /* @__PURE__ */ number$2(),
|
|
53322
|
+
team_ids: /* @__PURE__ */ unknown$1(),
|
|
53323
|
+
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
53324
|
+
}),
|
|
53325
|
+
execute: (input, { client }) => {
|
|
53326
|
+
const data = input;
|
|
53327
|
+
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
53328
|
+
client.httpClient,
|
|
53329
|
+
client.organizationId,
|
|
53330
|
+
client.workspaceIdNumber,
|
|
53331
|
+
data,
|
|
53332
|
+
void 0
|
|
53333
|
+
]));
|
|
53334
|
+
}
|
|
53335
|
+
},
|
|
52706
53336
|
{
|
|
52707
53337
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
52708
53338
|
family: "focus",
|
|
@@ -53252,6 +53882,33 @@ const generatedFocusOperations = [
|
|
|
53252
53882
|
]));
|
|
53253
53883
|
}
|
|
53254
53884
|
},
|
|
53885
|
+
{
|
|
53886
|
+
id: "focus.track-team-invites.post",
|
|
53887
|
+
family: "focus",
|
|
53888
|
+
resource: "track-team-invites",
|
|
53889
|
+
action: "post",
|
|
53890
|
+
title: "Post Track Team Invites",
|
|
53891
|
+
description: "Post Track Team Invites.",
|
|
53892
|
+
safety: "create",
|
|
53893
|
+
destructive: false,
|
|
53894
|
+
cli: {
|
|
53895
|
+
group: ["track-team-invites"],
|
|
53896
|
+
command: "post",
|
|
53897
|
+
interactive: "default"
|
|
53898
|
+
},
|
|
53899
|
+
mcp: { entityTool: "track-team-invites" },
|
|
53900
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
53901
|
+
execute: (input, { client }) => {
|
|
53902
|
+
const data = input;
|
|
53903
|
+
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
53904
|
+
client.httpClient,
|
|
53905
|
+
client.organizationId,
|
|
53906
|
+
client.workspaceIdNumber,
|
|
53907
|
+
data.payload ?? data.data ?? data,
|
|
53908
|
+
void 0
|
|
53909
|
+
]));
|
|
53910
|
+
}
|
|
53911
|
+
},
|
|
53255
53912
|
{
|
|
53256
53913
|
id: "focus.users.list",
|
|
53257
53914
|
family: "focus",
|
|
@@ -53273,6 +53930,56 @@ const generatedFocusOperations = [
|
|
|
53273
53930
|
return client.listOrgUsers(data);
|
|
53274
53931
|
}
|
|
53275
53932
|
},
|
|
53933
|
+
{
|
|
53934
|
+
id: "focus.users.settings-email-unsubscribe",
|
|
53935
|
+
family: "focus",
|
|
53936
|
+
resource: "users",
|
|
53937
|
+
action: "settings-email-unsubscribe",
|
|
53938
|
+
title: "Settings Email Unsubscribe Users",
|
|
53939
|
+
description: "Settings Email Unsubscribe Users.",
|
|
53940
|
+
safety: "update",
|
|
53941
|
+
destructive: false,
|
|
53942
|
+
cli: {
|
|
53943
|
+
group: ["users", "settings"],
|
|
53944
|
+
command: "email-unsubscribe",
|
|
53945
|
+
interactive: "default"
|
|
53946
|
+
},
|
|
53947
|
+
mcp: { entityTool: "users" },
|
|
53948
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53949
|
+
execute: (input, { client }) => {
|
|
53950
|
+
const data = input;
|
|
53951
|
+
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
53952
|
+
client.httpClient,
|
|
53953
|
+
data.token,
|
|
53954
|
+
void 0
|
|
53955
|
+
]));
|
|
53956
|
+
}
|
|
53957
|
+
},
|
|
53958
|
+
{
|
|
53959
|
+
id: "focus.users.settings-email-unsubscribe-page",
|
|
53960
|
+
family: "focus",
|
|
53961
|
+
resource: "users",
|
|
53962
|
+
action: "settings-email-unsubscribe-page",
|
|
53963
|
+
title: "Settings Email Unsubscribe Page Users",
|
|
53964
|
+
description: "Settings Email Unsubscribe Page Users.",
|
|
53965
|
+
safety: "read",
|
|
53966
|
+
destructive: false,
|
|
53967
|
+
cli: {
|
|
53968
|
+
group: ["users", "settings"],
|
|
53969
|
+
command: "email-unsubscribe-page",
|
|
53970
|
+
interactive: "available"
|
|
53971
|
+
},
|
|
53972
|
+
mcp: { entityTool: "users" },
|
|
53973
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53974
|
+
execute: (input, { client }) => {
|
|
53975
|
+
const data = input;
|
|
53976
|
+
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
53977
|
+
client.httpClient,
|
|
53978
|
+
data.token,
|
|
53979
|
+
void 0
|
|
53980
|
+
]));
|
|
53981
|
+
}
|
|
53982
|
+
},
|
|
53276
53983
|
{
|
|
53277
53984
|
id: "focus.users.settings-list",
|
|
53278
53985
|
family: "focus",
|
|
@@ -53334,6 +54041,9 @@ const generatedFocusOperations = [
|
|
|
53334
54041
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53335
54042
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53336
54043
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54044
|
+
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54045
|
+
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54046
|
+
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53337
54047
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53338
54048
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53339
54049
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -54877,7 +55587,7 @@ function registerWorkspaceTools(server) {
|
|
|
54877
55587
|
//#region src/package-version.ts
|
|
54878
55588
|
function mcpPackageVersion() {
|
|
54879
55589
|
try {
|
|
54880
|
-
return "1.11.
|
|
55590
|
+
return "1.11.52";
|
|
54881
55591
|
} catch {
|
|
54882
55592
|
return "unknown";
|
|
54883
55593
|
}
|
|
@@ -55052,7 +55762,7 @@ import_main.default.config({
|
|
|
55052
55762
|
quiet: true,
|
|
55053
55763
|
ignore: ["MISSING_ENV_FILE"]
|
|
55054
55764
|
});
|
|
55055
|
-
const packageVersion = "1.11.
|
|
55765
|
+
const packageVersion = "1.11.52";
|
|
55056
55766
|
function resolvePublicUrls() {
|
|
55057
55767
|
return {
|
|
55058
55768
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55117,4 +55827,4 @@ function bootstrapServer(options = {}) {
|
|
|
55117
55827
|
//#endregion
|
|
55118
55828
|
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
55829
|
|
|
55120
|
-
//# sourceMappingURL=src-
|
|
55830
|
+
//# sourceMappingURL=src-CHyj992d.js.map
|