@togglhq/mcp 1.11.52 → 1.11.53
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-CHyj992d.js → src-oWBWH77K.js} +159 -869
- package/package.json +1 -1
|
@@ -34683,7 +34683,6 @@ 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()),
|
|
34687
34686
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34688
34687
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34689
34688
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34770,7 +34769,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34770
34769
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34771
34770
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34772
34771
|
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."))),
|
|
34774
34772
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34775
34773
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34776
34774
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -34832,7 +34830,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34832
34830
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34833
34831
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34834
34832
|
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."))),
|
|
34836
34833
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34837
34834
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34838
34835
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -35015,8 +35012,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
35015
35012
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35016
35013
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35017
35014
|
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."))),
|
|
35020
35015
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35021
35016
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35022
35017
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35102,7 +35097,6 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
35102
35097
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35103
35098
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35104
35099
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35105
|
-
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35106
35100
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
35107
35101
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35108
35102
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
@@ -35182,8 +35176,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35182
35176
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35183
35177
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35184
35178
|
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."))),
|
|
35187
35179
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35188
35180
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35189
35181
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35356,6 +35348,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35356
35348
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35357
35349
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35358
35350
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
35351
|
+
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35352
|
+
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35359
35353
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35360
35354
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35361
35355
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35412,7 +35406,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35412
35406
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35413
35407
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35414
35408
|
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."))),
|
|
35416
35409
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35417
35410
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35418
35411
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35449,7 +35442,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35449
35442
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35450
35443
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35451
35444
|
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."))),
|
|
35453
35445
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35454
35446
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35455
35447
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -37396,7 +37388,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37396
37388
|
})
|
|
37397
37389
|
}).json();
|
|
37398
37390
|
}
|
|
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,
|
|
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) {
|
|
37400
37392
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37401
37393
|
signal,
|
|
37402
37394
|
searchParams: buildSearchParams$2({
|
|
@@ -37417,7 +37409,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37417
37409
|
include_rates,
|
|
37418
37410
|
pinned_ids,
|
|
37419
37411
|
has_group,
|
|
37420
|
-
track_without_focus,
|
|
37421
37412
|
cf_filter,
|
|
37422
37413
|
include_custom_fields,
|
|
37423
37414
|
include_calendar_integration
|
|
@@ -37519,19 +37510,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
37519
37510
|
}
|
|
37520
37511
|
//#endregion
|
|
37521
37512
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37522
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, {
|
|
37513
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
37523
37514
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37524
37515
|
signal,
|
|
37525
37516
|
searchParams: buildSearchParams$2({
|
|
37526
|
-
include_task_counts,
|
|
37527
|
-
task_archived,
|
|
37528
|
-
task_recurring,
|
|
37529
|
-
task_state,
|
|
37530
|
-
task_source,
|
|
37531
|
-
task_assignee_user_id,
|
|
37532
|
-
task_assignee_team_id,
|
|
37533
|
-
task_include_unassigned,
|
|
37534
|
-
task_name,
|
|
37535
37517
|
page,
|
|
37536
37518
|
per_page,
|
|
37537
37519
|
order_by,
|
|
@@ -37781,7 +37763,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37781
37763
|
}
|
|
37782
37764
|
//#endregion
|
|
37783
37765
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
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
|
|
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) {
|
|
37785
37767
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37786
37768
|
signal,
|
|
37787
37769
|
searchParams: buildSearchParams$2({
|
|
@@ -37832,11 +37814,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37832
37814
|
include_assignees,
|
|
37833
37815
|
include_parent_matches,
|
|
37834
37816
|
disable_aggregations,
|
|
37835
|
-
cf_filter
|
|
37836
|
-
recurring_occurrences_after,
|
|
37837
|
-
max_recurring_occurrences_after,
|
|
37838
|
-
recurring_task_read,
|
|
37839
|
-
include_projected_occurrences
|
|
37817
|
+
cf_filter
|
|
37840
37818
|
})
|
|
37841
37819
|
}).json();
|
|
37842
37820
|
}
|
|
@@ -37911,17 +37889,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
37911
37889
|
})
|
|
37912
37890
|
}).json();
|
|
37913
37891
|
}
|
|
37914
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to,
|
|
37892
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
37915
37893
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
37916
37894
|
signal,
|
|
37917
37895
|
searchParams: buildSearchParams$2({
|
|
37918
37896
|
date_from,
|
|
37919
|
-
date_to
|
|
37920
|
-
skip_provider_refresh
|
|
37897
|
+
date_to
|
|
37921
37898
|
})
|
|
37922
37899
|
}).json();
|
|
37923
37900
|
}
|
|
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
|
|
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) {
|
|
37925
37902
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37926
37903
|
signal,
|
|
37927
37904
|
searchParams: buildSearchParams$2({
|
|
@@ -37937,15 +37914,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37937
37914
|
assignee_team_id,
|
|
37938
37915
|
assignee_user_id,
|
|
37939
37916
|
tag_id,
|
|
37940
|
-
include_assignees
|
|
37941
|
-
recurring_occurrences_after,
|
|
37942
|
-
max_recurring_occurrences_after,
|
|
37943
|
-
recurring_task_read,
|
|
37944
|
-
include_projected_occurrences
|
|
37917
|
+
include_assignees
|
|
37945
37918
|
})
|
|
37946
37919
|
}).json();
|
|
37947
37920
|
}
|
|
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
|
|
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) {
|
|
37949
37922
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37950
37923
|
signal,
|
|
37951
37924
|
searchParams: buildSearchParams$2({
|
|
@@ -37990,11 +37963,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37990
37963
|
recurring_task_ids,
|
|
37991
37964
|
client_id,
|
|
37992
37965
|
include_assignees,
|
|
37993
|
-
cf_filter
|
|
37994
|
-
recurring_occurrences_after,
|
|
37995
|
-
max_recurring_occurrences_after,
|
|
37996
|
-
recurring_task_read,
|
|
37997
|
-
include_projected_occurrences
|
|
37966
|
+
cf_filter
|
|
37998
37967
|
})
|
|
37999
37968
|
}).json();
|
|
38000
37969
|
}
|
|
@@ -38049,12 +38018,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
38049
38018
|
})
|
|
38050
38019
|
}).json();
|
|
38051
38020
|
}
|
|
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
|
-
}
|
|
38058
38021
|
async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
38059
38022
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
38060
38023
|
signal,
|
|
@@ -38191,24 +38154,16 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
38191
38154
|
})
|
|
38192
38155
|
}).json();
|
|
38193
38156
|
}
|
|
38194
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
38157
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
38195
38158
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
38196
38159
|
signal,
|
|
38197
|
-
json: data
|
|
38198
|
-
searchParams: buildSearchParams$2({
|
|
38199
|
-
from_recurring_task_id,
|
|
38200
|
-
return_occurrence
|
|
38201
|
-
})
|
|
38160
|
+
json: data
|
|
38202
38161
|
}).json();
|
|
38203
38162
|
}
|
|
38204
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
38163
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
38205
38164
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
38206
38165
|
signal,
|
|
38207
|
-
json: data
|
|
38208
|
-
searchParams: buildSearchParams$2({
|
|
38209
|
-
from_recurring_task_id,
|
|
38210
|
-
return_occurrence
|
|
38211
|
-
})
|
|
38166
|
+
json: data
|
|
38212
38167
|
}).json();
|
|
38213
38168
|
}
|
|
38214
38169
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -38259,7 +38214,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
38259
38214
|
json: data
|
|
38260
38215
|
}).json();
|
|
38261
38216
|
}
|
|
38262
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id,
|
|
38217
|
+
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
|
|
38263
38218
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
38264
38219
|
signal,
|
|
38265
38220
|
searchParams: buildSearchParams$2({
|
|
@@ -38267,7 +38222,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38267
38222
|
date_to,
|
|
38268
38223
|
task_id,
|
|
38269
38224
|
status_id,
|
|
38270
|
-
project_id,
|
|
38271
38225
|
type,
|
|
38272
38226
|
order_by,
|
|
38273
38227
|
archived,
|
|
@@ -38291,33 +38245,19 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
38291
38245
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38292
38246
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38293
38247
|
}
|
|
38294
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
38248
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38295
38249
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38296
38250
|
signal,
|
|
38297
|
-
json: data
|
|
38298
|
-
searchParams: buildSearchParams$2({
|
|
38299
|
-
from_recurring_task_id,
|
|
38300
|
-
return_occurrence
|
|
38301
|
-
})
|
|
38251
|
+
json: data
|
|
38302
38252
|
}).json();
|
|
38303
38253
|
}
|
|
38304
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
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();
|
|
38254
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38255
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38312
38256
|
}
|
|
38313
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
38257
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38314
38258
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38315
38259
|
signal,
|
|
38316
|
-
json: data
|
|
38317
|
-
searchParams: buildSearchParams$2({
|
|
38318
|
-
from_recurring_task_id,
|
|
38319
|
-
return_occurrence
|
|
38320
|
-
})
|
|
38260
|
+
json: data
|
|
38321
38261
|
}).json();
|
|
38322
38262
|
}
|
|
38323
38263
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -42214,15 +42154,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
42214
42154
|
}
|
|
42215
42155
|
//#endregion
|
|
42216
42156
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
42217
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id,
|
|
42157
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
42218
42158
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
42219
42159
|
signal,
|
|
42220
42160
|
searchParams: buildSearchParams$2({
|
|
42221
42161
|
workspace_id,
|
|
42222
42162
|
entity_type,
|
|
42223
42163
|
entity_id,
|
|
42224
|
-
project_id,
|
|
42225
|
-
custom_field_id,
|
|
42226
42164
|
action,
|
|
42227
42165
|
user_id,
|
|
42228
42166
|
page_size,
|
|
@@ -42231,14 +42169,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
42231
42169
|
})
|
|
42232
42170
|
}).json();
|
|
42233
42171
|
}
|
|
42234
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id,
|
|
42172
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
42235
42173
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
42236
42174
|
signal,
|
|
42237
42175
|
searchParams: buildSearchParams$2({
|
|
42238
42176
|
entity_type,
|
|
42239
42177
|
entity_id,
|
|
42240
|
-
project_id,
|
|
42241
|
-
custom_field_id,
|
|
42242
42178
|
action,
|
|
42243
42179
|
user_id,
|
|
42244
42180
|
page_size,
|
|
@@ -42391,14 +42327,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42391
42327
|
}
|
|
42392
42328
|
//#endregion
|
|
42393
42329
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42394
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date,
|
|
42330
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
42395
42331
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42396
42332
|
signal,
|
|
42397
42333
|
searchParams: buildSearchParams$2({
|
|
42334
|
+
user_id,
|
|
42398
42335
|
start_date,
|
|
42399
42336
|
end_date,
|
|
42400
|
-
user_id,
|
|
42401
|
-
team_id,
|
|
42402
42337
|
private: private_,
|
|
42403
42338
|
task_source,
|
|
42404
42339
|
unit,
|
|
@@ -42458,15 +42393,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
42458
42393
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42459
42394
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
42460
42395
|
}
|
|
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
|
-
}
|
|
42470
42396
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42471
42397
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
42472
42398
|
signal,
|
|
@@ -42730,7 +42656,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42730
42656
|
}
|
|
42731
42657
|
//#endregion
|
|
42732
42658
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
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,
|
|
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) {
|
|
42734
42660
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42735
42661
|
signal,
|
|
42736
42662
|
searchParams: buildSearchParams$2({
|
|
@@ -42756,7 +42682,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42756
42682
|
user_id,
|
|
42757
42683
|
only_me,
|
|
42758
42684
|
include_drafts,
|
|
42759
|
-
include_recurring_series,
|
|
42760
42685
|
cf_filter
|
|
42761
42686
|
})
|
|
42762
42687
|
}).json();
|
|
@@ -42775,6 +42700,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
42775
42700
|
json: data
|
|
42776
42701
|
}).json();
|
|
42777
42702
|
}
|
|
42703
|
+
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
42704
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
42705
|
+
}
|
|
42778
42706
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
42779
42707
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
42780
42708
|
}
|
|
@@ -42800,37 +42728,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
42800
42728
|
}).json();
|
|
42801
42729
|
}
|
|
42802
42730
|
//#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
|
|
42834
42731
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
42835
42732
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
42836
42733
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -42992,7 +42889,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42992
42889
|
}
|
|
42993
42890
|
//#endregion
|
|
42994
42891
|
//#region ../focus-queries/dist/search/requests.ts
|
|
42995
|
-
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id,
|
|
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) {
|
|
42996
42893
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42997
42894
|
signal,
|
|
42998
42895
|
searchParams: buildSearchParams$2({
|
|
@@ -43000,7 +42897,6 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
43000
42897
|
per_group,
|
|
43001
42898
|
assignee_user_id,
|
|
43002
42899
|
assignee_team_id,
|
|
43003
|
-
include_unassigned,
|
|
43004
42900
|
project_id,
|
|
43005
42901
|
task_id,
|
|
43006
42902
|
include_drafts,
|
|
@@ -43045,18 +42941,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
43045
42941
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
43046
42942
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
43047
42943
|
}
|
|
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
|
-
}
|
|
43060
42944
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
43061
42945
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
43062
42946
|
signal,
|
|
@@ -43066,21 +42950,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
43066
42950
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
43067
42951
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
43068
42952
|
}
|
|
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
|
-
}
|
|
43084
42953
|
//#endregion
|
|
43085
42954
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
43086
42955
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -43137,10 +43006,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
43137
43006
|
}
|
|
43138
43007
|
//#endregion
|
|
43139
43008
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
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
|
|
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) {
|
|
43141
43010
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
43142
43011
|
signal,
|
|
43143
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43144
43012
|
searchParams: buildSearchParams$2({
|
|
43145
43013
|
project_id,
|
|
43146
43014
|
source,
|
|
@@ -43169,18 +43037,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
43169
43037
|
min_days,
|
|
43170
43038
|
include_drafts,
|
|
43171
43039
|
cf_filter,
|
|
43172
|
-
user_cf_filter
|
|
43173
|
-
recurring_occurrences_after,
|
|
43174
|
-
max_recurring_occurrences_after,
|
|
43175
|
-
recurring_task_read,
|
|
43176
|
-
include_projected_occurrences
|
|
43040
|
+
user_cf_filter
|
|
43177
43041
|
})
|
|
43178
43042
|
}).json();
|
|
43179
43043
|
}
|
|
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
|
|
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) {
|
|
43181
43045
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
43182
43046
|
signal,
|
|
43183
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43184
43047
|
searchParams: buildSearchParams$2({
|
|
43185
43048
|
team_id,
|
|
43186
43049
|
project_id,
|
|
@@ -43209,18 +43072,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
43209
43072
|
min_days,
|
|
43210
43073
|
include_drafts,
|
|
43211
43074
|
cf_filter,
|
|
43212
|
-
user_cf_filter
|
|
43213
|
-
recurring_occurrences_after,
|
|
43214
|
-
max_recurring_occurrences_after,
|
|
43215
|
-
recurring_task_read,
|
|
43216
|
-
include_projected_occurrences
|
|
43075
|
+
user_cf_filter
|
|
43217
43076
|
})
|
|
43218
43077
|
}).json();
|
|
43219
43078
|
}
|
|
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,
|
|
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) {
|
|
43221
43080
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
43222
43081
|
signal,
|
|
43223
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43224
43082
|
searchParams: buildSearchParams$2({
|
|
43225
43083
|
source,
|
|
43226
43084
|
priority,
|
|
@@ -43250,10 +43108,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
43250
43108
|
include_drafts,
|
|
43251
43109
|
cf_filter,
|
|
43252
43110
|
user_cf_filter,
|
|
43253
|
-
recurring_occurrences_after,
|
|
43254
|
-
max_recurring_occurrences_after,
|
|
43255
|
-
recurring_task_read,
|
|
43256
|
-
include_projected_occurrences,
|
|
43257
43111
|
page,
|
|
43258
43112
|
per_page,
|
|
43259
43113
|
order_by
|
|
@@ -43445,19 +43299,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
43445
43299
|
json: data
|
|
43446
43300
|
}).json();
|
|
43447
43301
|
}
|
|
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
|
-
}
|
|
43461
43302
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
43462
43303
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
43463
43304
|
}
|
|
@@ -43501,21 +43342,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
43501
43342
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
43502
43343
|
}
|
|
43503
43344
|
//#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
|
|
43512
43345
|
//#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
|
-
}
|
|
43519
43346
|
async function getUserSettings(httpClient, signal) {
|
|
43520
43347
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
43521
43348
|
}
|
|
@@ -43755,7 +43582,6 @@ const generatedFocusOperations = [
|
|
|
43755
43582
|
mcp: { entityTool: "audit-log" },
|
|
43756
43583
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43757
43584
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43758
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43759
43585
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43760
43586
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43761
43587
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43763,7 +43589,6 @@ const generatedFocusOperations = [
|
|
|
43763
43589
|
from: /* @__PURE__ */ string$1(),
|
|
43764
43590
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43765
43591
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43766
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43767
43592
|
to: /* @__PURE__ */ string$1(),
|
|
43768
43593
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43769
43594
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -43797,7 +43622,6 @@ const generatedFocusOperations = [
|
|
|
43797
43622
|
mcp: { entityTool: "audit-log" },
|
|
43798
43623
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43799
43624
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43800
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43801
43625
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43802
43626
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43803
43627
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43805,7 +43629,6 @@ const generatedFocusOperations = [
|
|
|
43805
43629
|
from: /* @__PURE__ */ string$1(),
|
|
43806
43630
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43807
43631
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43808
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43809
43632
|
to: /* @__PURE__ */ string$1(),
|
|
43810
43633
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43811
43634
|
}),
|
|
@@ -43845,7 +43668,6 @@ const generatedFocusOperations = [
|
|
|
43845
43668
|
private_: /* @__PURE__ */ unknown$1(),
|
|
43846
43669
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43847
43670
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
43848
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
43849
43671
|
unit: /* @__PURE__ */ unknown$1(),
|
|
43850
43672
|
user_id: /* @__PURE__ */ number$2()
|
|
43851
43673
|
}),
|
|
@@ -44095,6 +43917,8 @@ const generatedFocusOperations = [
|
|
|
44095
43917
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44096
43918
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
44097
43919
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43920
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43921
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44098
43922
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44099
43923
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44100
43924
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -44128,6 +43952,8 @@ const generatedFocusOperations = [
|
|
|
44128
43952
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44129
43953
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
44130
43954
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43955
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43956
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44131
43957
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44132
43958
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44133
43959
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -44282,33 +44108,6 @@ const generatedFocusOperations = [
|
|
|
44282
44108
|
]));
|
|
44283
44109
|
}
|
|
44284
44110
|
},
|
|
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
|
-
},
|
|
44312
44111
|
{
|
|
44313
44112
|
id: "focus.custom-fields.list",
|
|
44314
44113
|
family: "focus",
|
|
@@ -44478,37 +44277,6 @@ const generatedFocusOperations = [
|
|
|
44478
44277
|
]));
|
|
44479
44278
|
}
|
|
44480
44279
|
},
|
|
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
|
-
},
|
|
44512
44280
|
{
|
|
44513
44281
|
id: "focus.custom-fields.update",
|
|
44514
44282
|
family: "focus",
|
|
@@ -44655,7 +44423,13 @@ const generatedFocusOperations = [
|
|
|
44655
44423
|
},
|
|
44656
44424
|
mcp: { entityTool: "goals" },
|
|
44657
44425
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44426
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
44658
44427
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44428
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44429
|
+
icon: /* @__PURE__ */ string$1(),
|
|
44430
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44431
|
+
name: /* @__PURE__ */ string$1(),
|
|
44432
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44659
44433
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44660
44434
|
"daily",
|
|
44661
44435
|
"weekly",
|
|
@@ -44663,18 +44437,12 @@ const generatedFocusOperations = [
|
|
|
44663
44437
|
"monthly"
|
|
44664
44438
|
]),
|
|
44665
44439
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44440
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44666
44441
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
44667
|
-
|
|
44442
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44443
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44668
44444
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
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()))
|
|
44445
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44678
44446
|
}) }),
|
|
44679
44447
|
execute: (input, { client }) => {
|
|
44680
44448
|
const data = input;
|
|
@@ -44780,6 +44548,13 @@ const generatedFocusOperations = [
|
|
|
44780
44548
|
},
|
|
44781
44549
|
mcp: { entityTool: "goals" },
|
|
44782
44550
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44551
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
44552
|
+
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44553
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44554
|
+
icon: /* @__PURE__ */ string$1(),
|
|
44555
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44556
|
+
name: /* @__PURE__ */ string$1(),
|
|
44557
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44783
44558
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44784
44559
|
"daily",
|
|
44785
44560
|
"weekly",
|
|
@@ -44787,19 +44562,12 @@ const generatedFocusOperations = [
|
|
|
44787
44562
|
"monthly"
|
|
44788
44563
|
]),
|
|
44789
44564
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44790
|
-
|
|
44565
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44566
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
44567
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44568
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44791
44569
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44792
|
-
|
|
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()))
|
|
44570
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44803
44571
|
}) }),
|
|
44804
44572
|
execute: (input, { client }) => {
|
|
44805
44573
|
const data = input;
|
|
@@ -45766,17 +45534,9 @@ const generatedFocusOperations = [
|
|
|
45766
45534
|
mcp: { entityTool: "projects" },
|
|
45767
45535
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45768
45536
|
payload: /* @__PURE__ */ looseObject({
|
|
45769
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45770
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
45771
45537
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45772
45538
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45773
45539
|
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()),
|
|
45780
45540
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
45781
45541
|
}),
|
|
45782
45542
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -46220,7 +45980,6 @@ const generatedFocusOperations = [
|
|
|
46220
45980
|
group: /* @__PURE__ */ string$1(),
|
|
46221
45981
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46222
45982
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46223
|
-
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46224
45983
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46225
45984
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46226
45985
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -46323,6 +46082,29 @@ const generatedFocusOperations = [
|
|
|
46323
46082
|
]));
|
|
46324
46083
|
}
|
|
46325
46084
|
},
|
|
46085
|
+
{
|
|
46086
|
+
id: "focus.projects.margin-targets-clear-workspace",
|
|
46087
|
+
family: "focus",
|
|
46088
|
+
resource: "projects",
|
|
46089
|
+
action: "margin-targets-clear-workspace",
|
|
46090
|
+
title: "Margin Targets Clear Workspace Projects",
|
|
46091
|
+
description: "Margin Targets Clear Workspace Projects.",
|
|
46092
|
+
safety: "delete",
|
|
46093
|
+
destructive: true,
|
|
46094
|
+
cli: {
|
|
46095
|
+
group: ["projects", "margin-targets"],
|
|
46096
|
+
command: "clear-workspace",
|
|
46097
|
+
interactive: "default"
|
|
46098
|
+
},
|
|
46099
|
+
mcp: { entityTool: "projects" },
|
|
46100
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
46101
|
+
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
46102
|
+
client.httpClient,
|
|
46103
|
+
client.organizationId,
|
|
46104
|
+
client.workspaceIdNumber,
|
|
46105
|
+
void 0
|
|
46106
|
+
]))
|
|
46107
|
+
},
|
|
46326
46108
|
{
|
|
46327
46109
|
id: "focus.projects.margin-targets-get",
|
|
46328
46110
|
family: "focus",
|
|
@@ -46768,222 +46550,98 @@ const generatedFocusOperations = [
|
|
|
46768
46550
|
}
|
|
46769
46551
|
},
|
|
46770
46552
|
{
|
|
46771
|
-
id: "focus.
|
|
46553
|
+
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
46772
46554
|
family: "focus",
|
|
46773
|
-
resource: "
|
|
46774
|
-
action: "
|
|
46775
|
-
title: "
|
|
46776
|
-
description: "
|
|
46777
|
-
safety: "
|
|
46555
|
+
resource: "rates",
|
|
46556
|
+
action: "billable-check-project-billable-rate-conflicts",
|
|
46557
|
+
title: "Billable Check Project Billable Rate Conflicts Rates",
|
|
46558
|
+
description: "Billable Check Project Billable Rate Conflicts Rates.",
|
|
46559
|
+
safety: "update",
|
|
46778
46560
|
destructive: false,
|
|
46779
46561
|
cli: {
|
|
46780
|
-
group: ["
|
|
46781
|
-
command: "
|
|
46782
|
-
interactive: "
|
|
46562
|
+
group: ["rates", "billable"],
|
|
46563
|
+
command: "check-project-billable-rate-conflicts",
|
|
46564
|
+
interactive: "default"
|
|
46783
46565
|
},
|
|
46784
|
-
mcp: { entityTool: "
|
|
46785
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
46566
|
+
mcp: { entityTool: "rates" },
|
|
46567
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46568
|
+
payload: rateSchedulePayloadSchema,
|
|
46569
|
+
project_id: /* @__PURE__ */ number$2()
|
|
46570
|
+
}),
|
|
46786
46571
|
execute: (input, { client }) => {
|
|
46787
46572
|
const data = input;
|
|
46788
|
-
return client.runGeneratedRequest("
|
|
46573
|
+
return client.runGeneratedRequest("checkProjectBillableRateConflicts", () => callGeneratedRequest(checkProjectBillableRateConflicts, [
|
|
46789
46574
|
client.httpClient,
|
|
46790
|
-
|
|
46575
|
+
client.organizationId,
|
|
46576
|
+
client.workspaceIdNumber,
|
|
46577
|
+
data.project_id,
|
|
46578
|
+
data.payload ?? data.data ?? data,
|
|
46791
46579
|
void 0
|
|
46792
46580
|
]));
|
|
46793
46581
|
}
|
|
46794
46582
|
},
|
|
46795
46583
|
{
|
|
46796
|
-
id: "focus.
|
|
46584
|
+
id: "focus.rates.billable-check-project-user-billable-rate-conflicts",
|
|
46797
46585
|
family: "focus",
|
|
46798
|
-
resource: "
|
|
46799
|
-
action: "
|
|
46800
|
-
title: "
|
|
46801
|
-
description: "
|
|
46586
|
+
resource: "rates",
|
|
46587
|
+
action: "billable-check-project-user-billable-rate-conflicts",
|
|
46588
|
+
title: "Billable Check Project User Billable Rate Conflicts Rates",
|
|
46589
|
+
description: "Billable Check Project User Billable Rate Conflicts Rates.",
|
|
46802
46590
|
safety: "update",
|
|
46803
46591
|
destructive: false,
|
|
46804
46592
|
cli: {
|
|
46805
|
-
group: ["
|
|
46806
|
-
command: "
|
|
46593
|
+
group: ["rates", "billable"],
|
|
46594
|
+
command: "check-project-user-billable-rate-conflicts",
|
|
46807
46595
|
interactive: "default"
|
|
46808
46596
|
},
|
|
46809
|
-
mcp: { entityTool: "
|
|
46597
|
+
mcp: { entityTool: "rates" },
|
|
46810
46598
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
46811
|
-
|
|
46812
|
-
|
|
46813
|
-
|
|
46814
|
-
token: /* @__PURE__ */ string$1()
|
|
46599
|
+
payload: rateSchedulePayloadSchema,
|
|
46600
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
46601
|
+
user_id: /* @__PURE__ */ number$2()
|
|
46815
46602
|
}),
|
|
46816
46603
|
execute: (input, { client }) => {
|
|
46817
46604
|
const data = input;
|
|
46818
|
-
return client.runGeneratedRequest("
|
|
46605
|
+
return client.runGeneratedRequest("checkProjectUserBillableRateConflicts", () => callGeneratedRequest(checkProjectUserBillableRateConflicts, [
|
|
46819
46606
|
client.httpClient,
|
|
46820
|
-
|
|
46607
|
+
client.organizationId,
|
|
46608
|
+
client.workspaceIdNumber,
|
|
46609
|
+
data.project_id,
|
|
46610
|
+
data.user_id,
|
|
46821
46611
|
data.payload ?? data.data ?? data,
|
|
46822
|
-
data.response_format,
|
|
46823
|
-
data.include_dicts,
|
|
46824
46612
|
void 0
|
|
46825
46613
|
]));
|
|
46826
46614
|
}
|
|
46827
46615
|
},
|
|
46828
46616
|
{
|
|
46829
|
-
id: "focus.
|
|
46617
|
+
id: "focus.rates.billable-check-workspace-billable-rate-conflicts",
|
|
46830
46618
|
family: "focus",
|
|
46831
|
-
resource: "
|
|
46832
|
-
action: "
|
|
46833
|
-
title: "
|
|
46834
|
-
description: "
|
|
46619
|
+
resource: "rates",
|
|
46620
|
+
action: "billable-check-workspace-billable-rate-conflicts",
|
|
46621
|
+
title: "Billable Check Workspace Billable Rate Conflicts Rates",
|
|
46622
|
+
description: "Billable Check Workspace Billable Rate Conflicts Rates.",
|
|
46835
46623
|
safety: "update",
|
|
46836
46624
|
destructive: false,
|
|
46837
46625
|
cli: {
|
|
46838
|
-
group: ["
|
|
46839
|
-
command: "
|
|
46626
|
+
group: ["rates", "billable"],
|
|
46627
|
+
command: "check-workspace-billable-rate-conflicts",
|
|
46840
46628
|
interactive: "default"
|
|
46841
46629
|
},
|
|
46842
|
-
mcp: { entityTool: "
|
|
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
|
-
}),
|
|
46630
|
+
mcp: { entityTool: "rates" },
|
|
46631
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: rateSchedulePayloadSchema }),
|
|
46853
46632
|
execute: (input, { client }) => {
|
|
46854
46633
|
const data = input;
|
|
46855
|
-
return client.runGeneratedRequest("
|
|
46634
|
+
return client.runGeneratedRequest("checkWorkspaceBillableRateConflicts", () => callGeneratedRequest(checkWorkspaceBillableRateConflicts, [
|
|
46856
46635
|
client.httpClient,
|
|
46857
|
-
|
|
46636
|
+
client.organizationId,
|
|
46637
|
+
client.workspaceIdNumber,
|
|
46858
46638
|
data.payload ?? data.data ?? data,
|
|
46859
|
-
data.response_format,
|
|
46860
|
-
data.include_dicts,
|
|
46861
46639
|
void 0
|
|
46862
46640
|
]));
|
|
46863
46641
|
}
|
|
46864
46642
|
},
|
|
46865
46643
|
{
|
|
46866
|
-
id: "focus.
|
|
46867
|
-
family: "focus",
|
|
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",
|
|
46644
|
+
id: "focus.rates.billable-check-workspace-user-billable-rate-conflicts",
|
|
46987
46645
|
family: "focus",
|
|
46988
46646
|
resource: "rates",
|
|
46989
46647
|
action: "billable-check-workspace-user-billable-rate-conflicts",
|
|
@@ -48849,7 +48507,7 @@ const generatedFocusOperations = [
|
|
|
48849
48507
|
cli: {
|
|
48850
48508
|
group: ["reportschedules"],
|
|
48851
48509
|
command: "upsert-saved-view-schedule",
|
|
48852
|
-
interactive: "
|
|
48510
|
+
interactive: "default"
|
|
48853
48511
|
},
|
|
48854
48512
|
mcp: { entityTool: "reportschedules" },
|
|
48855
48513
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -48860,10 +48518,8 @@ const generatedFocusOperations = [
|
|
|
48860
48518
|
"weekly",
|
|
48861
48519
|
"monthly"
|
|
48862
48520
|
]),
|
|
48863
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48864
48521
|
time: /* @__PURE__ */ string$1(),
|
|
48865
48522
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48866
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48867
48523
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48868
48524
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48869
48525
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -49196,32 +48852,6 @@ const generatedFocusOperations = [
|
|
|
49196
48852
|
]));
|
|
49197
48853
|
}
|
|
49198
48854
|
},
|
|
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
|
-
},
|
|
49225
48855
|
{
|
|
49226
48856
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
49227
48857
|
family: "focus",
|
|
@@ -49292,36 +48922,6 @@ const generatedFocusOperations = [
|
|
|
49292
48922
|
void 0
|
|
49293
48923
|
]))
|
|
49294
48924
|
},
|
|
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
|
-
},
|
|
49325
48925
|
{
|
|
49326
48926
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
49327
48927
|
family: "focus",
|
|
@@ -49352,92 +48952,6 @@ const generatedFocusOperations = [
|
|
|
49352
48952
|
]));
|
|
49353
48953
|
}
|
|
49354
48954
|
},
|
|
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
|
-
},
|
|
49441
48955
|
{
|
|
49442
48956
|
id: "focus.sharedreports.share-saved-view",
|
|
49443
48957
|
family: "focus",
|
|
@@ -49512,32 +49026,6 @@ const generatedFocusOperations = [
|
|
|
49512
49026
|
]));
|
|
49513
49027
|
}
|
|
49514
49028
|
},
|
|
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
|
-
},
|
|
49541
49029
|
{
|
|
49542
49030
|
id: "focus.statuses.create-status",
|
|
49543
49031
|
family: "focus",
|
|
@@ -50580,37 +50068,6 @@ const generatedFocusOperations = [
|
|
|
50580
50068
|
return client.createTask(data);
|
|
50581
50069
|
}
|
|
50582
50070
|
},
|
|
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
|
-
},
|
|
50614
50071
|
{
|
|
50615
50072
|
id: "focus.tasks.delete",
|
|
50616
50073
|
family: "focus",
|
|
@@ -50858,13 +50315,9 @@ const generatedFocusOperations = [
|
|
|
50858
50315
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50859
50316
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50860
50317
|
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()),
|
|
50863
50318
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50864
50319
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50865
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50866
50320
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50867
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50868
50321
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50869
50322
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50870
50323
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -50916,9 +50369,7 @@ const generatedFocusOperations = [
|
|
|
50916
50369
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50917
50370
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50918
50371
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50919
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50920
50372
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50921
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50922
50373
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50923
50374
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50924
50375
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -50927,9 +50378,7 @@ const generatedFocusOperations = [
|
|
|
50927
50378
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50928
50379
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50929
50380
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50930
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50931
50381
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50932
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50933
50382
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50934
50383
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50935
50384
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51067,10 +50516,8 @@ const generatedFocusOperations = [
|
|
|
51067
50516
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51068
50517
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51069
50518
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51070
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51071
50519
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51072
50520
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51073
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51074
50521
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51075
50522
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51076
50523
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51079,8 +50526,6 @@ const generatedFocusOperations = [
|
|
|
51079
50526
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51080
50527
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51081
50528
|
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()),
|
|
51084
50529
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51085
50530
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51086
50531
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51089,8 +50534,7 @@ const generatedFocusOperations = [
|
|
|
51089
50534
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
51090
50535
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51091
50536
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51092
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51093
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50537
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51094
50538
|
}),
|
|
51095
50539
|
execute: (input, { client }) => {
|
|
51096
50540
|
const data = input;
|
|
@@ -51132,17 +50576,13 @@ const generatedFocusOperations = [
|
|
|
51132
50576
|
group_id: /* @__PURE__ */ number$2(),
|
|
51133
50577
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
51134
50578
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
51135
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
51136
50579
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
51137
50580
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
51138
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
51139
50581
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
51140
50582
|
name: /* @__PURE__ */ unknown$1(),
|
|
51141
50583
|
priority: /* @__PURE__ */ unknown$1(),
|
|
51142
50584
|
private_: /* @__PURE__ */ unknown$1(),
|
|
51143
50585
|
project_id: /* @__PURE__ */ number$2(),
|
|
51144
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
51145
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
51146
50586
|
source: /* @__PURE__ */ unknown$1(),
|
|
51147
50587
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51148
50588
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -51151,8 +50591,7 @@ const generatedFocusOperations = [
|
|
|
51151
50591
|
tag_id: /* @__PURE__ */ number$2(),
|
|
51152
50592
|
team_id: /* @__PURE__ */ number$2(),
|
|
51153
50593
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
51154
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
51155
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
50594
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
51156
50595
|
}),
|
|
51157
50596
|
execute: (input, { client }) => {
|
|
51158
50597
|
const data = input;
|
|
@@ -51193,17 +50632,13 @@ const generatedFocusOperations = [
|
|
|
51193
50632
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51194
50633
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51195
50634
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51196
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51197
50635
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51198
50636
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51199
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51200
50637
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51201
50638
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51202
50639
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51203
50640
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51204
50641
|
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()),
|
|
51207
50642
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51208
50643
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51209
50644
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51212,8 +50647,7 @@ const generatedFocusOperations = [
|
|
|
51212
50647
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51213
50648
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51214
50649
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51215
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51216
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50650
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51217
50651
|
}),
|
|
51218
50652
|
execute: (input, { client }) => {
|
|
51219
50653
|
const data = input;
|
|
@@ -51484,8 +50918,7 @@ const generatedFocusOperations = [
|
|
|
51484
50918
|
mcp: { entityTool: "tasks" },
|
|
51485
50919
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51486
50920
|
date_from: /* @__PURE__ */ string$1(),
|
|
51487
|
-
date_to: /* @__PURE__ */ string$1()
|
|
51488
|
-
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50921
|
+
date_to: /* @__PURE__ */ string$1()
|
|
51489
50922
|
}),
|
|
51490
50923
|
execute: (input, { client }) => {
|
|
51491
50924
|
const data = input;
|
|
@@ -51495,7 +50928,6 @@ const generatedFocusOperations = [
|
|
|
51495
50928
|
client.workspaceIdNumber,
|
|
51496
50929
|
data.date_from,
|
|
51497
50930
|
data.date_to,
|
|
51498
|
-
data.skip_provider_refresh,
|
|
51499
50931
|
void 0
|
|
51500
50932
|
]));
|
|
51501
50933
|
}
|
|
@@ -52082,8 +51514,7 @@ const generatedFocusOperations = [
|
|
|
52082
51514
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
52083
51515
|
"project",
|
|
52084
51516
|
"task",
|
|
52085
|
-
"description"
|
|
52086
|
-
"tags"
|
|
51517
|
+
"description"
|
|
52087
51518
|
]) })),
|
|
52088
51519
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
52089
51520
|
}) }),
|
|
@@ -52113,7 +51544,6 @@ const generatedFocusOperations = [
|
|
|
52113
51544
|
},
|
|
52114
51545
|
mcp: { entityTool: "time-entries" },
|
|
52115
51546
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52116
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52117
51547
|
payload: /* @__PURE__ */ looseObject({
|
|
52118
51548
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
52119
51549
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -52124,13 +51554,11 @@ const generatedFocusOperations = [
|
|
|
52124
51554
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52125
51555
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52126
51556
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52127
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52128
51557
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52129
51558
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52130
51559
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52131
51560
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
52132
51561
|
}),
|
|
52133
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52134
51562
|
task_id: /* @__PURE__ */ number$2()
|
|
52135
51563
|
}),
|
|
52136
51564
|
execute: (input, { client }) => {
|
|
@@ -52141,8 +51569,6 @@ const generatedFocusOperations = [
|
|
|
52141
51569
|
client.workspaceIdNumber,
|
|
52142
51570
|
data.task_id,
|
|
52143
51571
|
data.payload ?? data.data ?? data,
|
|
52144
|
-
data.from_recurring_task_id,
|
|
52145
|
-
data.return_occurrence,
|
|
52146
51572
|
void 0
|
|
52147
51573
|
]));
|
|
52148
51574
|
}
|
|
@@ -52162,26 +51588,21 @@ const generatedFocusOperations = [
|
|
|
52162
51588
|
interactive: "default"
|
|
52163
51589
|
},
|
|
52164
51590
|
mcp: { entityTool: "time-entries" },
|
|
52165
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52166
|
-
|
|
52167
|
-
|
|
52168
|
-
|
|
52169
|
-
|
|
52170
|
-
|
|
52171
|
-
|
|
52172
|
-
|
|
52173
|
-
|
|
52174
|
-
|
|
52175
|
-
|
|
52176
|
-
|
|
52177
|
-
|
|
52178
|
-
|
|
52179
|
-
|
|
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
|
-
}),
|
|
51591
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
51592
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51593
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51594
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51595
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51596
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51597
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51598
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51599
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51600
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51601
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51602
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51603
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51604
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51605
|
+
}) }),
|
|
52185
51606
|
execute: (input, { client }) => {
|
|
52186
51607
|
const data = input;
|
|
52187
51608
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -52189,8 +51610,6 @@ const generatedFocusOperations = [
|
|
|
52189
51610
|
client.organizationId,
|
|
52190
51611
|
client.workspaceIdNumber,
|
|
52191
51612
|
data.payload ?? data.data ?? data,
|
|
52192
|
-
data.from_recurring_task_id,
|
|
52193
|
-
data.return_occurrence,
|
|
52194
51613
|
void 0
|
|
52195
51614
|
]));
|
|
52196
51615
|
}
|
|
@@ -52210,11 +51629,7 @@ const generatedFocusOperations = [
|
|
|
52210
51629
|
interactive: "default"
|
|
52211
51630
|
},
|
|
52212
51631
|
mcp: { entityTool: "time-entries" },
|
|
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
|
-
}),
|
|
51632
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
52218
51633
|
execute: (input, { client }) => {
|
|
52219
51634
|
const data = input;
|
|
52220
51635
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -52222,8 +51637,6 @@ const generatedFocusOperations = [
|
|
|
52222
51637
|
client.organizationId,
|
|
52223
51638
|
client.workspaceIdNumber,
|
|
52224
51639
|
data.time_entry_id,
|
|
52225
|
-
data.from_recurring_task_id,
|
|
52226
|
-
data.return_occurrence,
|
|
52227
51640
|
void 0
|
|
52228
51641
|
]));
|
|
52229
51642
|
}
|
|
@@ -52304,7 +51717,6 @@ const generatedFocusOperations = [
|
|
|
52304
51717
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
52305
51718
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
52306
51719
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
52307
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
52308
51720
|
status_id: /* @__PURE__ */ number$2(),
|
|
52309
51721
|
task_id: /* @__PURE__ */ number$2(),
|
|
52310
51722
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -52481,14 +51893,12 @@ const generatedFocusOperations = [
|
|
|
52481
51893
|
},
|
|
52482
51894
|
mcp: { entityTool: "time-entries" },
|
|
52483
51895
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52484
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52485
51896
|
payload: /* @__PURE__ */ looseObject({
|
|
52486
51897
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52487
51898
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52488
51899
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52489
51900
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
52490
51901
|
}),
|
|
52491
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52492
51902
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52493
51903
|
}),
|
|
52494
51904
|
execute: (input, { client }) => {
|
|
@@ -52499,8 +51909,6 @@ const generatedFocusOperations = [
|
|
|
52499
51909
|
client.workspaceIdNumber,
|
|
52500
51910
|
data.time_entry_id,
|
|
52501
51911
|
data.payload ?? data.data ?? data,
|
|
52502
|
-
data.from_recurring_task_id,
|
|
52503
|
-
data.return_occurrence,
|
|
52504
51912
|
void 0
|
|
52505
51913
|
]));
|
|
52506
51914
|
}
|
|
@@ -52758,7 +52166,6 @@ const generatedFocusOperations = [
|
|
|
52758
52166
|
},
|
|
52759
52167
|
mcp: { entityTool: "time-entries" },
|
|
52760
52168
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52761
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52762
52169
|
payload: /* @__PURE__ */ looseObject({
|
|
52763
52170
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52764
52171
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -52771,7 +52178,6 @@ const generatedFocusOperations = [
|
|
|
52771
52178
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52772
52179
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52773
52180
|
}),
|
|
52774
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52775
52181
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52776
52182
|
}),
|
|
52777
52183
|
execute: (input, { client }) => {
|
|
@@ -52782,8 +52188,6 @@ const generatedFocusOperations = [
|
|
|
52782
52188
|
client.workspaceIdNumber,
|
|
52783
52189
|
data.time_entry_id,
|
|
52784
52190
|
data.payload ?? data.data ?? data,
|
|
52785
|
-
data.from_recurring_task_id,
|
|
52786
|
-
data.return_occurrence,
|
|
52787
52191
|
void 0
|
|
52788
52192
|
]));
|
|
52789
52193
|
}
|
|
@@ -53299,40 +52703,6 @@ const generatedFocusOperations = [
|
|
|
53299
52703
|
]));
|
|
53300
52704
|
}
|
|
53301
52705
|
},
|
|
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
|
-
},
|
|
53336
52706
|
{
|
|
53337
52707
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
53338
52708
|
family: "focus",
|
|
@@ -53882,33 +53252,6 @@ const generatedFocusOperations = [
|
|
|
53882
53252
|
]));
|
|
53883
53253
|
}
|
|
53884
53254
|
},
|
|
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
|
-
},
|
|
53912
53255
|
{
|
|
53913
53256
|
id: "focus.users.list",
|
|
53914
53257
|
family: "focus",
|
|
@@ -53930,56 +53273,6 @@ const generatedFocusOperations = [
|
|
|
53930
53273
|
return client.listOrgUsers(data);
|
|
53931
53274
|
}
|
|
53932
53275
|
},
|
|
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
|
-
},
|
|
53983
53276
|
{
|
|
53984
53277
|
id: "focus.users.settings-list",
|
|
53985
53278
|
family: "focus",
|
|
@@ -54041,9 +53334,6 @@ const generatedFocusOperations = [
|
|
|
54041
53334
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54042
53335
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54043
53336
|
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()),
|
|
54047
53337
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54048
53338
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54049
53339
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -55587,7 +54877,7 @@ function registerWorkspaceTools(server) {
|
|
|
55587
54877
|
//#region src/package-version.ts
|
|
55588
54878
|
function mcpPackageVersion() {
|
|
55589
54879
|
try {
|
|
55590
|
-
return "1.11.
|
|
54880
|
+
return "1.11.53";
|
|
55591
54881
|
} catch {
|
|
55592
54882
|
return "unknown";
|
|
55593
54883
|
}
|
|
@@ -55762,7 +55052,7 @@ import_main.default.config({
|
|
|
55762
55052
|
quiet: true,
|
|
55763
55053
|
ignore: ["MISSING_ENV_FILE"]
|
|
55764
55054
|
});
|
|
55765
|
-
const packageVersion = "1.11.
|
|
55055
|
+
const packageVersion = "1.11.53";
|
|
55766
55056
|
function resolvePublicUrls() {
|
|
55767
55057
|
return {
|
|
55768
55058
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55827,4 +55117,4 @@ function bootstrapServer(options = {}) {
|
|
|
55827
55117
|
//#endregion
|
|
55828
55118
|
export { initProductAnalytics as a, shutdownProductAnalytics as c, getProductAnalyticsDistinctId as i, runMcpCli as n, redactUnsafeSentryMessages as o, captureToolInvocation as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
|
|
55829
55119
|
|
|
55830
|
-
//# sourceMappingURL=src-
|
|
55120
|
+
//# sourceMappingURL=src-oWBWH77K.js.map
|