@togglhq/mcp 1.11.39 → 1.11.41
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-DmVgu8K8.js → src-CXYepydv.js} +112 -475
- package/package.json +1 -1
|
@@ -36552,7 +36552,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
36552
36552
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36553
36553
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
36554
36554
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36555
|
-
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."))),
|
|
36556
36555
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
36557
36556
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36558
36557
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -36614,7 +36613,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
36614
36613
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36615
36614
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
36616
36615
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36617
|
-
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."))),
|
|
36618
36616
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
36619
36617
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36620
36618
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -36797,8 +36795,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
36797
36795
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36798
36796
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36799
36797
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36800
|
-
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."))),
|
|
36801
|
-
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."))),
|
|
36802
36798
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36803
36799
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36804
36800
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -36884,7 +36880,6 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
36884
36880
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36885
36881
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
36886
36882
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36887
|
-
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36888
36883
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
36889
36884
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36890
36885
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
@@ -36964,8 +36959,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
36964
36959
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36965
36960
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36966
36961
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36967
|
-
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."))),
|
|
36968
|
-
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."))),
|
|
36969
36962
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36970
36963
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36971
36964
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -37196,7 +37189,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
37196
37189
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37197
37190
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37198
37191
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37199
|
-
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."))),
|
|
37200
37192
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37201
37193
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37202
37194
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -37233,7 +37225,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
37233
37225
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37234
37226
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37235
37227
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37236
|
-
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."))),
|
|
37237
37228
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37238
37229
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37239
37230
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -37397,7 +37388,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37397
37388
|
})
|
|
37398
37389
|
}).json();
|
|
37399
37390
|
}
|
|
37400
|
-
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) {
|
|
37401
37392
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37402
37393
|
signal,
|
|
37403
37394
|
searchParams: buildSearchParams$2({
|
|
@@ -37418,7 +37409,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37418
37409
|
include_rates,
|
|
37419
37410
|
pinned_ids,
|
|
37420
37411
|
has_group,
|
|
37421
|
-
track_without_focus,
|
|
37422
37412
|
cf_filter,
|
|
37423
37413
|
include_custom_fields,
|
|
37424
37414
|
include_calendar_integration
|
|
@@ -37520,18 +37510,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
37520
37510
|
}
|
|
37521
37511
|
//#endregion
|
|
37522
37512
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37523
|
-
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) {
|
|
37524
37514
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37525
37515
|
signal,
|
|
37526
37516
|
searchParams: buildSearchParams$2({
|
|
37527
|
-
include_task_counts,
|
|
37528
|
-
task_archived,
|
|
37529
|
-
task_recurring,
|
|
37530
|
-
task_state,
|
|
37531
|
-
task_source,
|
|
37532
|
-
task_assignee_user_id,
|
|
37533
|
-
task_assignee_team_id,
|
|
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) {
|
|
@@ -38432,7 +38372,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38432
38372
|
]))
|
|
38433
38373
|
});
|
|
38434
38374
|
//#endregion
|
|
38435
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38375
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38436
38376
|
async function getInvitations(httpClient, signal) {
|
|
38437
38377
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38438
38378
|
}
|
|
@@ -38449,7 +38389,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38449
38389
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38450
38390
|
}
|
|
38451
38391
|
//#endregion
|
|
38452
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38392
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38453
38393
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38454
38394
|
const searchParams = new URLSearchParams();
|
|
38455
38395
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38461,7 +38401,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38461
38401
|
return searchParams;
|
|
38462
38402
|
}
|
|
38463
38403
|
//#endregion
|
|
38464
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38404
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38465
38405
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38466
38406
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38467
38407
|
}
|
|
@@ -38475,7 +38415,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38475
38415
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38476
38416
|
}
|
|
38477
38417
|
//#endregion
|
|
38478
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38418
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38479
38419
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38480
38420
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38481
38421
|
}
|
|
@@ -38495,7 +38435,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38495
38435
|
});
|
|
38496
38436
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38497
38437
|
//#endregion
|
|
38498
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38438
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38499
38439
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38500
38440
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38501
38441
|
signal,
|
|
@@ -38506,12 +38446,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38506
38446
|
})).json();
|
|
38507
38447
|
}
|
|
38508
38448
|
//#endregion
|
|
38509
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38449
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38510
38450
|
async function getStatus(httpClient, signal) {
|
|
38511
38451
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38512
38452
|
}
|
|
38513
38453
|
//#endregion
|
|
38514
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38454
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38515
38455
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38516
38456
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38517
38457
|
signal,
|
|
@@ -38539,7 +38479,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38539
38479
|
return response.json();
|
|
38540
38480
|
}
|
|
38541
38481
|
//#endregion
|
|
38542
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38482
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.46_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0c74a1c25a6fb636d6d789e3556214b5/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38543
38483
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38544
38484
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38545
38485
|
}
|
|
@@ -42190,15 +42130,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
42190
42130
|
}
|
|
42191
42131
|
//#endregion
|
|
42192
42132
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
42193
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id,
|
|
42133
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
42194
42134
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
42195
42135
|
signal,
|
|
42196
42136
|
searchParams: buildSearchParams$2({
|
|
42197
42137
|
workspace_id,
|
|
42198
42138
|
entity_type,
|
|
42199
42139
|
entity_id,
|
|
42200
|
-
project_id,
|
|
42201
|
-
custom_field_id,
|
|
42202
42140
|
action,
|
|
42203
42141
|
user_id,
|
|
42204
42142
|
page_size,
|
|
@@ -42207,14 +42145,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
42207
42145
|
})
|
|
42208
42146
|
}).json();
|
|
42209
42147
|
}
|
|
42210
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id,
|
|
42148
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
42211
42149
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
42212
42150
|
signal,
|
|
42213
42151
|
searchParams: buildSearchParams$2({
|
|
42214
42152
|
entity_type,
|
|
42215
42153
|
entity_id,
|
|
42216
|
-
project_id,
|
|
42217
|
-
custom_field_id,
|
|
42218
42154
|
action,
|
|
42219
42155
|
user_id,
|
|
42220
42156
|
page_size,
|
|
@@ -42367,14 +42303,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42367
42303
|
}
|
|
42368
42304
|
//#endregion
|
|
42369
42305
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42370
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date,
|
|
42306
|
+
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) {
|
|
42371
42307
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42372
42308
|
signal,
|
|
42373
42309
|
searchParams: buildSearchParams$2({
|
|
42310
|
+
user_id,
|
|
42374
42311
|
start_date,
|
|
42375
42312
|
end_date,
|
|
42376
|
-
user_id,
|
|
42377
|
-
team_id,
|
|
42378
42313
|
private: private_,
|
|
42379
42314
|
task_source,
|
|
42380
42315
|
unit,
|
|
@@ -42434,15 +42369,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
42434
42369
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42435
42370
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
42436
42371
|
}
|
|
42437
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42438
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
42439
|
-
}
|
|
42440
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
42441
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
42442
|
-
signal,
|
|
42443
|
-
json: data
|
|
42444
|
-
}).json();
|
|
42445
|
-
}
|
|
42446
42372
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42447
42373
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
42448
42374
|
signal,
|
|
@@ -42706,7 +42632,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42706
42632
|
}
|
|
42707
42633
|
//#endregion
|
|
42708
42634
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
42709
|
-
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,
|
|
42635
|
+
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) {
|
|
42710
42636
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42711
42637
|
signal,
|
|
42712
42638
|
searchParams: buildSearchParams$2({
|
|
@@ -42732,7 +42658,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42732
42658
|
user_id,
|
|
42733
42659
|
only_me,
|
|
42734
42660
|
include_drafts,
|
|
42735
|
-
include_recurring_series,
|
|
42736
42661
|
cf_filter
|
|
42737
42662
|
})
|
|
42738
42663
|
}).json();
|
|
@@ -42751,6 +42676,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
42751
42676
|
json: data
|
|
42752
42677
|
}).json();
|
|
42753
42678
|
}
|
|
42679
|
+
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
42680
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
42681
|
+
}
|
|
42754
42682
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
42755
42683
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
42756
42684
|
}
|
|
@@ -43054,10 +42982,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
43054
42982
|
}
|
|
43055
42983
|
//#endregion
|
|
43056
42984
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
43057
|
-
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
|
|
42985
|
+
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) {
|
|
43058
42986
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
43059
42987
|
signal,
|
|
43060
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43061
42988
|
searchParams: buildSearchParams$2({
|
|
43062
42989
|
project_id,
|
|
43063
42990
|
source,
|
|
@@ -43086,18 +43013,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
43086
43013
|
min_days,
|
|
43087
43014
|
include_drafts,
|
|
43088
43015
|
cf_filter,
|
|
43089
|
-
user_cf_filter
|
|
43090
|
-
recurring_occurrences_after,
|
|
43091
|
-
max_recurring_occurrences_after,
|
|
43092
|
-
recurring_task_read,
|
|
43093
|
-
include_projected_occurrences
|
|
43016
|
+
user_cf_filter
|
|
43094
43017
|
})
|
|
43095
43018
|
}).json();
|
|
43096
43019
|
}
|
|
43097
|
-
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
|
|
43020
|
+
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) {
|
|
43098
43021
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
43099
43022
|
signal,
|
|
43100
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43101
43023
|
searchParams: buildSearchParams$2({
|
|
43102
43024
|
team_id,
|
|
43103
43025
|
project_id,
|
|
@@ -43126,18 +43048,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
43126
43048
|
min_days,
|
|
43127
43049
|
include_drafts,
|
|
43128
43050
|
cf_filter,
|
|
43129
|
-
user_cf_filter
|
|
43130
|
-
recurring_occurrences_after,
|
|
43131
|
-
max_recurring_occurrences_after,
|
|
43132
|
-
recurring_task_read,
|
|
43133
|
-
include_projected_occurrences
|
|
43051
|
+
user_cf_filter
|
|
43134
43052
|
})
|
|
43135
43053
|
}).json();
|
|
43136
43054
|
}
|
|
43137
|
-
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,
|
|
43055
|
+
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) {
|
|
43138
43056
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
43139
43057
|
signal,
|
|
43140
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43141
43058
|
searchParams: buildSearchParams$2({
|
|
43142
43059
|
source,
|
|
43143
43060
|
priority,
|
|
@@ -43167,10 +43084,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
43167
43084
|
include_drafts,
|
|
43168
43085
|
cf_filter,
|
|
43169
43086
|
user_cf_filter,
|
|
43170
|
-
recurring_occurrences_after,
|
|
43171
|
-
max_recurring_occurrences_after,
|
|
43172
|
-
recurring_task_read,
|
|
43173
|
-
include_projected_occurrences,
|
|
43174
43087
|
page,
|
|
43175
43088
|
per_page,
|
|
43176
43089
|
order_by
|
|
@@ -43362,19 +43275,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
43362
43275
|
json: data
|
|
43363
43276
|
}).json();
|
|
43364
43277
|
}
|
|
43365
|
-
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
43366
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
43367
|
-
signal,
|
|
43368
|
-
searchParams: buildSearchParams$2({
|
|
43369
|
-
date_from,
|
|
43370
|
-
date_to,
|
|
43371
|
-
setup_id,
|
|
43372
|
-
user_account_ids,
|
|
43373
|
-
approver_user_account_ids,
|
|
43374
|
-
team_ids
|
|
43375
|
-
})
|
|
43376
|
-
}).json();
|
|
43377
|
-
}
|
|
43378
43278
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
43379
43279
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
43380
43280
|
}
|
|
@@ -43418,21 +43318,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
43418
43318
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
43419
43319
|
}
|
|
43420
43320
|
//#endregion
|
|
43421
|
-
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
43422
|
-
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
43423
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
43424
|
-
signal,
|
|
43425
|
-
json: data
|
|
43426
|
-
}).json();
|
|
43427
|
-
}
|
|
43428
|
-
//#endregion
|
|
43429
43321
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
43430
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
43431
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
43432
|
-
}
|
|
43433
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
43434
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
43435
|
-
}
|
|
43436
43322
|
async function getUserSettings(httpClient, signal) {
|
|
43437
43323
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
43438
43324
|
}
|
|
@@ -43672,7 +43558,6 @@ const generatedFocusOperations = [
|
|
|
43672
43558
|
mcp: { entityTool: "audit-log" },
|
|
43673
43559
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43674
43560
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43675
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43676
43561
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43677
43562
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43678
43563
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43680,7 +43565,6 @@ const generatedFocusOperations = [
|
|
|
43680
43565
|
from: /* @__PURE__ */ string$1(),
|
|
43681
43566
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43682
43567
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43683
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43684
43568
|
to: /* @__PURE__ */ string$1(),
|
|
43685
43569
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43686
43570
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -43714,7 +43598,6 @@ const generatedFocusOperations = [
|
|
|
43714
43598
|
mcp: { entityTool: "audit-log" },
|
|
43715
43599
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43716
43600
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43717
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43718
43601
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43719
43602
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43720
43603
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43722,7 +43605,6 @@ const generatedFocusOperations = [
|
|
|
43722
43605
|
from: /* @__PURE__ */ string$1(),
|
|
43723
43606
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43724
43607
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43725
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43726
43608
|
to: /* @__PURE__ */ string$1(),
|
|
43727
43609
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43728
43610
|
}),
|
|
@@ -43762,7 +43644,6 @@ const generatedFocusOperations = [
|
|
|
43762
43644
|
private_: /* @__PURE__ */ unknown$1(),
|
|
43763
43645
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43764
43646
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
43765
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
43766
43647
|
unit: /* @__PURE__ */ unknown$1(),
|
|
43767
43648
|
user_id: /* @__PURE__ */ number$2()
|
|
43768
43649
|
}),
|
|
@@ -44203,33 +44084,6 @@ const generatedFocusOperations = [
|
|
|
44203
44084
|
]));
|
|
44204
44085
|
}
|
|
44205
44086
|
},
|
|
44206
|
-
{
|
|
44207
|
-
id: "focus.custom-fields.get-allowed-users",
|
|
44208
|
-
family: "focus",
|
|
44209
|
-
resource: "custom-fields",
|
|
44210
|
-
action: "get-allowed-users",
|
|
44211
|
-
title: "Get Allowed Users Custom Fields",
|
|
44212
|
-
description: "Get Allowed Users Custom Fields.",
|
|
44213
|
-
safety: "read",
|
|
44214
|
-
destructive: false,
|
|
44215
|
-
cli: {
|
|
44216
|
-
group: ["custom-fields"],
|
|
44217
|
-
command: "get-allowed-users",
|
|
44218
|
-
interactive: "available"
|
|
44219
|
-
},
|
|
44220
|
-
mcp: { entityTool: "custom-fields" },
|
|
44221
|
-
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
44222
|
-
execute: (input, { client }) => {
|
|
44223
|
-
const data = input;
|
|
44224
|
-
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
44225
|
-
client.httpClient,
|
|
44226
|
-
client.organizationId,
|
|
44227
|
-
client.workspaceIdNumber,
|
|
44228
|
-
data.custom_field_id,
|
|
44229
|
-
void 0
|
|
44230
|
-
]));
|
|
44231
|
-
}
|
|
44232
|
-
},
|
|
44233
44087
|
{
|
|
44234
44088
|
id: "focus.custom-fields.list",
|
|
44235
44089
|
family: "focus",
|
|
@@ -44399,37 +44253,6 @@ const generatedFocusOperations = [
|
|
|
44399
44253
|
]));
|
|
44400
44254
|
}
|
|
44401
44255
|
},
|
|
44402
|
-
{
|
|
44403
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
44404
|
-
family: "focus",
|
|
44405
|
-
resource: "custom-fields",
|
|
44406
|
-
action: "replace-custom-field-allowed-users",
|
|
44407
|
-
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
44408
|
-
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
44409
|
-
safety: "update",
|
|
44410
|
-
destructive: false,
|
|
44411
|
-
cli: {
|
|
44412
|
-
group: ["custom-fields"],
|
|
44413
|
-
command: "replace-custom-field-allowed-users",
|
|
44414
|
-
interactive: "default"
|
|
44415
|
-
},
|
|
44416
|
-
mcp: { entityTool: "custom-fields" },
|
|
44417
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44418
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
44419
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
44420
|
-
}),
|
|
44421
|
-
execute: (input, { client }) => {
|
|
44422
|
-
const data = input;
|
|
44423
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
44424
|
-
client.httpClient,
|
|
44425
|
-
client.organizationId,
|
|
44426
|
-
client.workspaceIdNumber,
|
|
44427
|
-
data.custom_field_id,
|
|
44428
|
-
data.payload ?? data.data ?? data,
|
|
44429
|
-
void 0
|
|
44430
|
-
]));
|
|
44431
|
-
}
|
|
44432
|
-
},
|
|
44433
44256
|
{
|
|
44434
44257
|
id: "focus.custom-fields.update",
|
|
44435
44258
|
family: "focus",
|
|
@@ -44576,7 +44399,13 @@ const generatedFocusOperations = [
|
|
|
44576
44399
|
},
|
|
44577
44400
|
mcp: { entityTool: "goals" },
|
|
44578
44401
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44402
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
44579
44403
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44404
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44405
|
+
icon: /* @__PURE__ */ string$1(),
|
|
44406
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44407
|
+
name: /* @__PURE__ */ string$1(),
|
|
44408
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44580
44409
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44581
44410
|
"daily",
|
|
44582
44411
|
"weekly",
|
|
@@ -44584,18 +44413,12 @@ const generatedFocusOperations = [
|
|
|
44584
44413
|
"monthly"
|
|
44585
44414
|
]),
|
|
44586
44415
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44416
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44587
44417
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
44588
|
-
|
|
44418
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44419
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44589
44420
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44590
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44591
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44592
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44593
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44594
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44595
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44596
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44597
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44598
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44421
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44599
44422
|
}) }),
|
|
44600
44423
|
execute: (input, { client }) => {
|
|
44601
44424
|
const data = input;
|
|
@@ -44701,6 +44524,13 @@ const generatedFocusOperations = [
|
|
|
44701
44524
|
},
|
|
44702
44525
|
mcp: { entityTool: "goals" },
|
|
44703
44526
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44527
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
44528
|
+
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44529
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44530
|
+
icon: /* @__PURE__ */ string$1(),
|
|
44531
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44532
|
+
name: /* @__PURE__ */ string$1(),
|
|
44533
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44704
44534
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44705
44535
|
"daily",
|
|
44706
44536
|
"weekly",
|
|
@@ -44708,19 +44538,12 @@ const generatedFocusOperations = [
|
|
|
44708
44538
|
"monthly"
|
|
44709
44539
|
]),
|
|
44710
44540
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44711
|
-
|
|
44541
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44542
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
44543
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44544
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44712
44545
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44713
|
-
|
|
44714
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44715
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44716
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44717
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44718
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44719
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44720
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44721
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44722
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44723
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44546
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44724
44547
|
}) }),
|
|
44725
44548
|
execute: (input, { client }) => {
|
|
44726
44549
|
const data = input;
|
|
@@ -45687,17 +45510,9 @@ const generatedFocusOperations = [
|
|
|
45687
45510
|
mcp: { entityTool: "projects" },
|
|
45688
45511
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45689
45512
|
payload: /* @__PURE__ */ looseObject({
|
|
45690
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45691
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
45692
45513
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45693
45514
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45694
45515
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45695
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
45696
|
-
"expire",
|
|
45697
|
-
"carry_all",
|
|
45698
|
-
"carry_over"
|
|
45699
|
-
])),
|
|
45700
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45701
45516
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
45702
45517
|
}),
|
|
45703
45518
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -46141,7 +45956,6 @@ const generatedFocusOperations = [
|
|
|
46141
45956
|
group: /* @__PURE__ */ string$1(),
|
|
46142
45957
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46143
45958
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46144
|
-
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46145
45959
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46146
45960
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46147
45961
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -46244,6 +46058,29 @@ const generatedFocusOperations = [
|
|
|
46244
46058
|
]));
|
|
46245
46059
|
}
|
|
46246
46060
|
},
|
|
46061
|
+
{
|
|
46062
|
+
id: "focus.projects.margin-targets-clear-workspace",
|
|
46063
|
+
family: "focus",
|
|
46064
|
+
resource: "projects",
|
|
46065
|
+
action: "margin-targets-clear-workspace",
|
|
46066
|
+
title: "Margin Targets Clear Workspace Projects",
|
|
46067
|
+
description: "Margin Targets Clear Workspace Projects.",
|
|
46068
|
+
safety: "delete",
|
|
46069
|
+
destructive: true,
|
|
46070
|
+
cli: {
|
|
46071
|
+
group: ["projects", "margin-targets"],
|
|
46072
|
+
command: "clear-workspace",
|
|
46073
|
+
interactive: "default"
|
|
46074
|
+
},
|
|
46075
|
+
mcp: { entityTool: "projects" },
|
|
46076
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
46077
|
+
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
46078
|
+
client.httpClient,
|
|
46079
|
+
client.organizationId,
|
|
46080
|
+
client.workspaceIdNumber,
|
|
46081
|
+
void 0
|
|
46082
|
+
]))
|
|
46083
|
+
},
|
|
46247
46084
|
{
|
|
46248
46085
|
id: "focus.projects.margin-targets-get",
|
|
46249
46086
|
family: "focus",
|
|
@@ -48646,7 +48483,7 @@ const generatedFocusOperations = [
|
|
|
48646
48483
|
cli: {
|
|
48647
48484
|
group: ["reportschedules"],
|
|
48648
48485
|
command: "upsert-saved-view-schedule",
|
|
48649
|
-
interactive: "
|
|
48486
|
+
interactive: "default"
|
|
48650
48487
|
},
|
|
48651
48488
|
mcp: { entityTool: "reportschedules" },
|
|
48652
48489
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -48657,10 +48494,8 @@ const generatedFocusOperations = [
|
|
|
48657
48494
|
"weekly",
|
|
48658
48495
|
"monthly"
|
|
48659
48496
|
]),
|
|
48660
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48661
48497
|
time: /* @__PURE__ */ string$1(),
|
|
48662
48498
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48663
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48664
48499
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48665
48500
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48666
48501
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -50209,37 +50044,6 @@ const generatedFocusOperations = [
|
|
|
50209
50044
|
return client.createTask(data);
|
|
50210
50045
|
}
|
|
50211
50046
|
},
|
|
50212
|
-
{
|
|
50213
|
-
id: "focus.tasks.create-recurring-occurrence",
|
|
50214
|
-
family: "focus",
|
|
50215
|
-
resource: "tasks",
|
|
50216
|
-
action: "create-recurring-occurrence",
|
|
50217
|
-
title: "Create Recurring Occurrence Tasks",
|
|
50218
|
-
description: "Create Recurring Occurrence Tasks.",
|
|
50219
|
-
safety: "create",
|
|
50220
|
-
destructive: false,
|
|
50221
|
-
cli: {
|
|
50222
|
-
group: ["tasks"],
|
|
50223
|
-
command: "create-recurring-occurrence",
|
|
50224
|
-
interactive: "default"
|
|
50225
|
-
},
|
|
50226
|
-
mcp: { entityTool: "tasks" },
|
|
50227
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50228
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50229
|
-
task_id: /* @__PURE__ */ number$2()
|
|
50230
|
-
}),
|
|
50231
|
-
execute: (input, { client }) => {
|
|
50232
|
-
const data = input;
|
|
50233
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
50234
|
-
client.httpClient,
|
|
50235
|
-
client.organizationId,
|
|
50236
|
-
client.workspaceIdNumber,
|
|
50237
|
-
data.task_id,
|
|
50238
|
-
data.return_occurrence,
|
|
50239
|
-
void 0
|
|
50240
|
-
]));
|
|
50241
|
-
}
|
|
50242
|
-
},
|
|
50243
50047
|
{
|
|
50244
50048
|
id: "focus.tasks.delete",
|
|
50245
50049
|
family: "focus",
|
|
@@ -50487,13 +50291,9 @@ const generatedFocusOperations = [
|
|
|
50487
50291
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50488
50292
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50489
50293
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50490
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50491
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50492
50294
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50493
50295
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50494
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50495
50296
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50496
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50497
50297
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50498
50298
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50499
50299
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -50545,9 +50345,7 @@ const generatedFocusOperations = [
|
|
|
50545
50345
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50546
50346
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50547
50347
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50548
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50549
50348
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50550
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50551
50349
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50552
50350
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50553
50351
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -50556,9 +50354,7 @@ const generatedFocusOperations = [
|
|
|
50556
50354
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50557
50355
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50558
50356
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50559
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50560
50357
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50561
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50562
50358
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50563
50359
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50564
50360
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50696,10 +50492,8 @@ const generatedFocusOperations = [
|
|
|
50696
50492
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50697
50493
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50698
50494
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50699
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50700
50495
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50701
50496
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50702
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50703
50497
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50704
50498
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50705
50499
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50708,8 +50502,6 @@ const generatedFocusOperations = [
|
|
|
50708
50502
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50709
50503
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50710
50504
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50711
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50712
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50713
50505
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50714
50506
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50715
50507
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50718,8 +50510,7 @@ const generatedFocusOperations = [
|
|
|
50718
50510
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50719
50511
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50720
50512
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50721
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50722
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50513
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50723
50514
|
}),
|
|
50724
50515
|
execute: (input, { client }) => {
|
|
50725
50516
|
const data = input;
|
|
@@ -50761,17 +50552,13 @@ const generatedFocusOperations = [
|
|
|
50761
50552
|
group_id: /* @__PURE__ */ number$2(),
|
|
50762
50553
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50763
50554
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
50764
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
50765
50555
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50766
50556
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
50767
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50768
50557
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
50769
50558
|
name: /* @__PURE__ */ unknown$1(),
|
|
50770
50559
|
priority: /* @__PURE__ */ unknown$1(),
|
|
50771
50560
|
private_: /* @__PURE__ */ unknown$1(),
|
|
50772
50561
|
project_id: /* @__PURE__ */ number$2(),
|
|
50773
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50774
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
50775
50562
|
source: /* @__PURE__ */ unknown$1(),
|
|
50776
50563
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50777
50564
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -50780,8 +50567,7 @@ const generatedFocusOperations = [
|
|
|
50780
50567
|
tag_id: /* @__PURE__ */ number$2(),
|
|
50781
50568
|
team_id: /* @__PURE__ */ number$2(),
|
|
50782
50569
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50783
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
50784
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
50570
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
50785
50571
|
}),
|
|
50786
50572
|
execute: (input, { client }) => {
|
|
50787
50573
|
const data = input;
|
|
@@ -50822,17 +50608,13 @@ const generatedFocusOperations = [
|
|
|
50822
50608
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50823
50609
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50824
50610
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50825
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50826
50611
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50827
50612
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50828
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50829
50613
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50830
50614
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50831
50615
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50832
50616
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50833
50617
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50834
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50835
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50836
50618
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50837
50619
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50838
50620
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50841,8 +50623,7 @@ const generatedFocusOperations = [
|
|
|
50841
50623
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50842
50624
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50843
50625
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50844
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50845
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50626
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50846
50627
|
}),
|
|
50847
50628
|
execute: (input, { client }) => {
|
|
50848
50629
|
const data = input;
|
|
@@ -51113,8 +50894,7 @@ const generatedFocusOperations = [
|
|
|
51113
50894
|
mcp: { entityTool: "tasks" },
|
|
51114
50895
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51115
50896
|
date_from: /* @__PURE__ */ string$1(),
|
|
51116
|
-
date_to: /* @__PURE__ */ string$1()
|
|
51117
|
-
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50897
|
+
date_to: /* @__PURE__ */ string$1()
|
|
51118
50898
|
}),
|
|
51119
50899
|
execute: (input, { client }) => {
|
|
51120
50900
|
const data = input;
|
|
@@ -51124,7 +50904,6 @@ const generatedFocusOperations = [
|
|
|
51124
50904
|
client.workspaceIdNumber,
|
|
51125
50905
|
data.date_from,
|
|
51126
50906
|
data.date_to,
|
|
51127
|
-
data.skip_provider_refresh,
|
|
51128
50907
|
void 0
|
|
51129
50908
|
]));
|
|
51130
50909
|
}
|
|
@@ -51711,8 +51490,7 @@ const generatedFocusOperations = [
|
|
|
51711
51490
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
51712
51491
|
"project",
|
|
51713
51492
|
"task",
|
|
51714
|
-
"description"
|
|
51715
|
-
"tags"
|
|
51493
|
+
"description"
|
|
51716
51494
|
]) })),
|
|
51717
51495
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51718
51496
|
}) }),
|
|
@@ -51742,7 +51520,6 @@ const generatedFocusOperations = [
|
|
|
51742
51520
|
},
|
|
51743
51521
|
mcp: { entityTool: "time-entries" },
|
|
51744
51522
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51745
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51746
51523
|
payload: /* @__PURE__ */ looseObject({
|
|
51747
51524
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51748
51525
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -51753,13 +51530,11 @@ const generatedFocusOperations = [
|
|
|
51753
51530
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51754
51531
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51755
51532
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51756
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51757
51533
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51758
51534
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51759
51535
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51760
51536
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51761
51537
|
}),
|
|
51762
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51763
51538
|
task_id: /* @__PURE__ */ number$2()
|
|
51764
51539
|
}),
|
|
51765
51540
|
execute: (input, { client }) => {
|
|
@@ -51770,8 +51545,6 @@ const generatedFocusOperations = [
|
|
|
51770
51545
|
client.workspaceIdNumber,
|
|
51771
51546
|
data.task_id,
|
|
51772
51547
|
data.payload ?? data.data ?? data,
|
|
51773
|
-
data.from_recurring_task_id,
|
|
51774
|
-
data.return_occurrence,
|
|
51775
51548
|
void 0
|
|
51776
51549
|
]));
|
|
51777
51550
|
}
|
|
@@ -51791,26 +51564,21 @@ const generatedFocusOperations = [
|
|
|
51791
51564
|
interactive: "default"
|
|
51792
51565
|
},
|
|
51793
51566
|
mcp: { entityTool: "time-entries" },
|
|
51794
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51795
|
-
|
|
51796
|
-
|
|
51797
|
-
|
|
51798
|
-
|
|
51799
|
-
|
|
51800
|
-
|
|
51801
|
-
|
|
51802
|
-
|
|
51803
|
-
|
|
51804
|
-
|
|
51805
|
-
|
|
51806
|
-
|
|
51807
|
-
|
|
51808
|
-
|
|
51809
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51810
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51811
|
-
}),
|
|
51812
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51813
|
-
}),
|
|
51567
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
51568
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51569
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51570
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51571
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51572
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51573
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51574
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51575
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51576
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51577
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51578
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51579
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51580
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51581
|
+
}) }),
|
|
51814
51582
|
execute: (input, { client }) => {
|
|
51815
51583
|
const data = input;
|
|
51816
51584
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -51818,8 +51586,6 @@ const generatedFocusOperations = [
|
|
|
51818
51586
|
client.organizationId,
|
|
51819
51587
|
client.workspaceIdNumber,
|
|
51820
51588
|
data.payload ?? data.data ?? data,
|
|
51821
|
-
data.from_recurring_task_id,
|
|
51822
|
-
data.return_occurrence,
|
|
51823
51589
|
void 0
|
|
51824
51590
|
]));
|
|
51825
51591
|
}
|
|
@@ -51839,11 +51605,7 @@ const generatedFocusOperations = [
|
|
|
51839
51605
|
interactive: "default"
|
|
51840
51606
|
},
|
|
51841
51607
|
mcp: { entityTool: "time-entries" },
|
|
51842
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51843
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51844
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51845
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
51846
|
-
}),
|
|
51608
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
51847
51609
|
execute: (input, { client }) => {
|
|
51848
51610
|
const data = input;
|
|
51849
51611
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -51851,8 +51613,6 @@ const generatedFocusOperations = [
|
|
|
51851
51613
|
client.organizationId,
|
|
51852
51614
|
client.workspaceIdNumber,
|
|
51853
51615
|
data.time_entry_id,
|
|
51854
|
-
data.from_recurring_task_id,
|
|
51855
|
-
data.return_occurrence,
|
|
51856
51616
|
void 0
|
|
51857
51617
|
]));
|
|
51858
51618
|
}
|
|
@@ -51933,7 +51693,6 @@ const generatedFocusOperations = [
|
|
|
51933
51693
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
51934
51694
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
51935
51695
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
51936
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
51937
51696
|
status_id: /* @__PURE__ */ number$2(),
|
|
51938
51697
|
task_id: /* @__PURE__ */ number$2(),
|
|
51939
51698
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -52110,14 +51869,12 @@ const generatedFocusOperations = [
|
|
|
52110
51869
|
},
|
|
52111
51870
|
mcp: { entityTool: "time-entries" },
|
|
52112
51871
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52113
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52114
51872
|
payload: /* @__PURE__ */ looseObject({
|
|
52115
51873
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52116
51874
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52117
51875
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52118
51876
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
52119
51877
|
}),
|
|
52120
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52121
51878
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52122
51879
|
}),
|
|
52123
51880
|
execute: (input, { client }) => {
|
|
@@ -52128,8 +51885,6 @@ const generatedFocusOperations = [
|
|
|
52128
51885
|
client.workspaceIdNumber,
|
|
52129
51886
|
data.time_entry_id,
|
|
52130
51887
|
data.payload ?? data.data ?? data,
|
|
52131
|
-
data.from_recurring_task_id,
|
|
52132
|
-
data.return_occurrence,
|
|
52133
51888
|
void 0
|
|
52134
51889
|
]));
|
|
52135
51890
|
}
|
|
@@ -52387,7 +52142,6 @@ const generatedFocusOperations = [
|
|
|
52387
52142
|
},
|
|
52388
52143
|
mcp: { entityTool: "time-entries" },
|
|
52389
52144
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52390
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52391
52145
|
payload: /* @__PURE__ */ looseObject({
|
|
52392
52146
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52393
52147
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -52400,7 +52154,6 @@ const generatedFocusOperations = [
|
|
|
52400
52154
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52401
52155
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52402
52156
|
}),
|
|
52403
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52404
52157
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52405
52158
|
}),
|
|
52406
52159
|
execute: (input, { client }) => {
|
|
@@ -52411,8 +52164,6 @@ const generatedFocusOperations = [
|
|
|
52411
52164
|
client.workspaceIdNumber,
|
|
52412
52165
|
data.time_entry_id,
|
|
52413
52166
|
data.payload ?? data.data ?? data,
|
|
52414
|
-
data.from_recurring_task_id,
|
|
52415
|
-
data.return_occurrence,
|
|
52416
52167
|
void 0
|
|
52417
52168
|
]));
|
|
52418
52169
|
}
|
|
@@ -52928,40 +52679,6 @@ const generatedFocusOperations = [
|
|
|
52928
52679
|
]));
|
|
52929
52680
|
}
|
|
52930
52681
|
},
|
|
52931
|
-
{
|
|
52932
|
-
id: "focus.timesheets.get-status-counts",
|
|
52933
|
-
family: "focus",
|
|
52934
|
-
resource: "timesheets",
|
|
52935
|
-
action: "get-status-counts",
|
|
52936
|
-
title: "Get Status Counts Timesheets",
|
|
52937
|
-
description: "Get Status Counts Timesheets.",
|
|
52938
|
-
safety: "read",
|
|
52939
|
-
destructive: false,
|
|
52940
|
-
cli: {
|
|
52941
|
-
group: ["timesheets"],
|
|
52942
|
-
command: "get-status-counts",
|
|
52943
|
-
interactive: "hidden"
|
|
52944
|
-
},
|
|
52945
|
-
mcp: { entityTool: "timesheets" },
|
|
52946
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52947
|
-
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
52948
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
52949
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
52950
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
52951
|
-
team_ids: /* @__PURE__ */ unknown$1(),
|
|
52952
|
-
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
52953
|
-
}),
|
|
52954
|
-
execute: (input, { client }) => {
|
|
52955
|
-
const data = input;
|
|
52956
|
-
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
52957
|
-
client.httpClient,
|
|
52958
|
-
client.organizationId,
|
|
52959
|
-
client.workspaceIdNumber,
|
|
52960
|
-
data,
|
|
52961
|
-
void 0
|
|
52962
|
-
]));
|
|
52963
|
-
}
|
|
52964
|
-
},
|
|
52965
52682
|
{
|
|
52966
52683
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
52967
52684
|
family: "focus",
|
|
@@ -53511,33 +53228,6 @@ const generatedFocusOperations = [
|
|
|
53511
53228
|
]));
|
|
53512
53229
|
}
|
|
53513
53230
|
},
|
|
53514
|
-
{
|
|
53515
|
-
id: "focus.track-team-invites.post",
|
|
53516
|
-
family: "focus",
|
|
53517
|
-
resource: "track-team-invites",
|
|
53518
|
-
action: "post",
|
|
53519
|
-
title: "Post Track Team Invites",
|
|
53520
|
-
description: "Post Track Team Invites.",
|
|
53521
|
-
safety: "create",
|
|
53522
|
-
destructive: false,
|
|
53523
|
-
cli: {
|
|
53524
|
-
group: ["track-team-invites"],
|
|
53525
|
-
command: "post",
|
|
53526
|
-
interactive: "default"
|
|
53527
|
-
},
|
|
53528
|
-
mcp: { entityTool: "track-team-invites" },
|
|
53529
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
53530
|
-
execute: (input, { client }) => {
|
|
53531
|
-
const data = input;
|
|
53532
|
-
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
53533
|
-
client.httpClient,
|
|
53534
|
-
client.organizationId,
|
|
53535
|
-
client.workspaceIdNumber,
|
|
53536
|
-
data.payload ?? data.data ?? data,
|
|
53537
|
-
void 0
|
|
53538
|
-
]));
|
|
53539
|
-
}
|
|
53540
|
-
},
|
|
53541
53231
|
{
|
|
53542
53232
|
id: "focus.users.list",
|
|
53543
53233
|
family: "focus",
|
|
@@ -53559,56 +53249,6 @@ const generatedFocusOperations = [
|
|
|
53559
53249
|
return client.listOrgUsers(data);
|
|
53560
53250
|
}
|
|
53561
53251
|
},
|
|
53562
|
-
{
|
|
53563
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
53564
|
-
family: "focus",
|
|
53565
|
-
resource: "users",
|
|
53566
|
-
action: "settings-email-unsubscribe",
|
|
53567
|
-
title: "Settings Email Unsubscribe Users",
|
|
53568
|
-
description: "Settings Email Unsubscribe Users.",
|
|
53569
|
-
safety: "update",
|
|
53570
|
-
destructive: false,
|
|
53571
|
-
cli: {
|
|
53572
|
-
group: ["users", "settings"],
|
|
53573
|
-
command: "email-unsubscribe",
|
|
53574
|
-
interactive: "default"
|
|
53575
|
-
},
|
|
53576
|
-
mcp: { entityTool: "users" },
|
|
53577
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53578
|
-
execute: (input, { client }) => {
|
|
53579
|
-
const data = input;
|
|
53580
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
53581
|
-
client.httpClient,
|
|
53582
|
-
data.token,
|
|
53583
|
-
void 0
|
|
53584
|
-
]));
|
|
53585
|
-
}
|
|
53586
|
-
},
|
|
53587
|
-
{
|
|
53588
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
53589
|
-
family: "focus",
|
|
53590
|
-
resource: "users",
|
|
53591
|
-
action: "settings-email-unsubscribe-page",
|
|
53592
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
53593
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
53594
|
-
safety: "read",
|
|
53595
|
-
destructive: false,
|
|
53596
|
-
cli: {
|
|
53597
|
-
group: ["users", "settings"],
|
|
53598
|
-
command: "email-unsubscribe-page",
|
|
53599
|
-
interactive: "available"
|
|
53600
|
-
},
|
|
53601
|
-
mcp: { entityTool: "users" },
|
|
53602
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53603
|
-
execute: (input, { client }) => {
|
|
53604
|
-
const data = input;
|
|
53605
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
53606
|
-
client.httpClient,
|
|
53607
|
-
data.token,
|
|
53608
|
-
void 0
|
|
53609
|
-
]));
|
|
53610
|
-
}
|
|
53611
|
-
},
|
|
53612
53252
|
{
|
|
53613
53253
|
id: "focus.users.settings-list",
|
|
53614
53254
|
family: "focus",
|
|
@@ -53670,9 +53310,6 @@ const generatedFocusOperations = [
|
|
|
53670
53310
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53671
53311
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53672
53312
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53673
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53674
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53675
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53676
53313
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53677
53314
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53678
53315
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -55216,7 +54853,7 @@ function registerWorkspaceTools(server) {
|
|
|
55216
54853
|
//#region src/package-version.ts
|
|
55217
54854
|
function mcpPackageVersion() {
|
|
55218
54855
|
try {
|
|
55219
|
-
return "1.11.
|
|
54856
|
+
return "1.11.41";
|
|
55220
54857
|
} catch {
|
|
55221
54858
|
return "unknown";
|
|
55222
54859
|
}
|
|
@@ -55391,7 +55028,7 @@ import_main.default.config({
|
|
|
55391
55028
|
quiet: true,
|
|
55392
55029
|
ignore: ["MISSING_ENV_FILE"]
|
|
55393
55030
|
});
|
|
55394
|
-
const packageVersion = "1.11.
|
|
55031
|
+
const packageVersion = "1.11.41";
|
|
55395
55032
|
function resolvePublicUrls() {
|
|
55396
55033
|
return {
|
|
55397
55034
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55456,4 +55093,4 @@ function bootstrapServer(options = {}) {
|
|
|
55456
55093
|
//#endregion
|
|
55457
55094
|
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 };
|
|
55458
55095
|
|
|
55459
|
-
//# sourceMappingURL=src-
|
|
55096
|
+
//# sourceMappingURL=src-CXYepydv.js.map
|